Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-08-06v4916v4916bI20180807-2000I20180807-1425I20180807-0350I20180806-2000Eclipse Platform RelEng Bot1-1/+1
2018-08-06Bug 537614 - [Win32][CustomHiDPI] Gap between Checkbox/Radio and TextNiraj Modi1-1/+5
not getting scaled Change-Id: I67eda8932305288e3f72c94a205f118508e71f4e Signed-off-by: Niraj Modi <niraj.modi@in.ibm.com>
2018-08-05v4916v4916aI20180806-0300I20180805-2000Eclipse Platform RelEng Bot1-1/+1
2018-08-04Bug 476608 - Sluggishness reported in gdk_flushAlexander Kurtakov1-1/+0
Remove call from setDarkThemePreferred. Change-Id: Ia70b1b705b0bef7bbae1c5c3d7a0a7034e64ba38 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-08-04v4916v4916I20180804-1500Eclipse Platform RelEng Bot1-1/+1
2018-08-04v4916Eclipse Platform RelEng Bot3-4/+4
2018-08-04Bug 532941 - [Wayland] Error output about "a temporary window withoutXi Yan7-4/+125
parent" 1) Attached snippet was broken on GTK3 with both x11 and Wayland. The column width is 0 and the table appears as a thin line. See bug 509503. This was fixed by always showing the table before getting preferred size on GTK3. 2) The warnings on Wayland occurs due to having a popup window without a parent. Shells with SWT.ON_TOP style was always created as a GTK_WINDOW_POPUP, this causes issues when the shell has no parent on Wayland due to lack of global coordinates. The fix is to never create a popup window without a parent. 3) Fixed the issue with the open editor dialog (CTRL+E) having a title bar above, by preventing decorations for shells without SHELL_TRIM style set. Tested with attached snippet and open editor (Ctrl + E) in child Eclipse with GTK3.22 on X11 and Wayland. Change-Id: I6d33c2e9bb00a55f84a79303f7326d0c8cd0a3ec Signed-off-by: Xi Yan <xixiyan@redhat.com>
2018-08-04Fix compiation without XTest.Alexander Kurtakov1-7/+2
No longer used for anything. Change-Id: I869f3ad59f28e0f374fde770f08880e324072f12 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-08-04Bug 537025 - SWT + GTK3 + Sending key events programmaticallyXi Yan2-6/+256
Fixed regression from Bug 302171 where sending modifier as a separate key event does not work. Sending GDK_KEY_PRESS event using gdk_test_simulate_key will not hold key down infinitely until a GDK_KEY_RELEASE event is sent. The modifier is cached in case modifiers are sent in separate event to Display.post(). Tested using attached snippet and Snippet146. Change-Id: I2c9b617345b3f92c3a32299e64ce7f1ce5ef7992 Signed-off-by: Xi Yan <xixiyan@redhat.com>
2018-08-04Bug 530577 - [Wayland] Popup menus sometimes emit GDK warningsXi Yan2-29/+35
1) On Wayland, clicking Show In button in Open Resource dialog causes menu.setVisible to be called twice, once due to MouseDown and once due to ButtonClicked. This causes two duplicate menus (with different handles) to popup at the same time. The second one does not have a top-most parent which emits a GDK warning, and the menu cannot be closed. The same issue also happens on both X11 and Wayland with toggle buttons. See bug 528998. The fix is to avoid adding two identical popup menus in the queue. 2) Implemented Menu#setLocation() on Wayland by passing the window of the relative parent shell of menu to gtk_menu_popup_at_rect to position the menu. Used hasLocation flag for Wayland (see Bug 530204). Tested on Wayland and X11 with GTK3.22. Clicking "Show In" button in Open Resource Dialog, and the "Run As..." triangle now opens popup menu under the button rather than by the mouse. Right click on perspective button and clicking anywhere now able to close the context menu, whereas before requires two clicks. Change-Id: I89110e5d095ca896fa0b0d775e617889ea75912d Signed-off-by: Xi Yan <xixiyan@redhat.com>
2018-08-04Bug 336238 - Shell.setBounds sometimes fails to set the right locationXi Yan2-1/+66
Calling gtk_widget_show for the first time before gtk_widget_resize assumes the initial default size for any subsequent calls to gtk_widget_move. This causes issue with shell.setBounds where the location can only be moved to a limited bound on the screen corresponding to the default size by the window manager, even when the new resized shell is smaller and is able to move to further x, y position without being cutoff by the screen. The fix is to set the default size to the smallest possible (1, 1) before gtk_widget_show. Tested with attached JUnit test. Change-Id: I3f20a6aaed5972bfda3775816aab96202bae7e5d Signed-off-by: Xi Yan <xixiyan@redhat.com>
2018-08-01Bug 530138 - [Wayland] Completion details are far away from theXi Yan1-1/+14
completion list Wayland does not have support for absolute coordinates. When a GTK_WINDOW_POPUP is attached to another GTK_WINDOW_POPUP parent, it gets positioned relatively to its parent, causing it to be far away from the screen when its position in absolute coordinates. The fix is to use gtk_window_set_transient_for to attach the GTK_WINDOW_POPUP to a GTK_WINDOW_TOPLEVEL parent already mapped on screen. Tested with completion list in child Eclipse on Wayland, GTK3.22. Change-Id: Ic9d0b4f785a12c6a659546fc362fcc8c9b0ddc4c Signed-off-by: Xi Yan <xixiyan@redhat.com>
2018-08-01v4915v4915Y20180801-2200S4_9_0_M2I20180803-2000I20180801-2000I20180801-0820Eclipse Platform RelEng Bot1-1/+1
2018-08-01v4915Eclipse Platform RelEng Bot3-4/+4
2018-08-01Bug 520134: Mac generator removes space incorrectly in OS.javaI20180801-0800Lakshmi Shanmugam2-2/+2
The updated Mac generator removes the struct from struct FSRef. Source code changes with the updated Mac Generator. Change-Id: I75597419ac93dcca8c0db0851e2e7c02361bb690
2018-07-30v4914v4914bI20180801-0550I20180731-2000I20180731-1305I20180731-1250I20180731-1025I20180731-0800I20180731-0340I20180730-2240I20180730-2000I20180730-0800Eclipse Platform RelEng Bot1-1/+1
2018-07-30Bug 514191 - [Cocoa] [10.11] Bridge support files should be updated to ↵Gunnar Wagenknecht1-0/+3
latest macOS supported version 'struct FSRef*' should be 'FSRef*' Change-Id: I8d8d23c1d805a6feac325300abb0249dc39013e5 Signed-off-by: Gunnar Wagenknecht <gunnar@wagenknecht.org>
2018-07-29v4914v4914aI20180729-2000I20180729-0800Eclipse Platform RelEng Bot1-1/+1
2018-07-28Bug 532632 - added guard for disposed shell in BusyIndicatorAndrey Loskutov1-43/+53
This is a paranoia check, see comment 20 for an attempt to explain it. Change-Id: I573410c898470bc725ea820252b4da36ac4bc092 Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
2018-07-28v4914v4914I20180728-1500Eclipse Platform RelEng Bot1-1/+1
2018-07-28v4914Eclipse Platform RelEng Bot3-4/+4
2018-07-28Bug 514191 - [Cocoa] [10.11] Bridge support files should be updated to ↵Gunnar Wagenknecht1-0/+4
latest macOS supported version Catch-all replace for common generic types Change-Id: I76df6b0cd570debb9bfb165c0f46b93f1464da80 Signed-off-by: Gunnar Wagenknecht <gunnar@wagenknecht.org>
2018-07-28Bug 514191 - [Cocoa] [10.11] Bridge support files should be updated to ↵Gunnar Wagenknecht1-0/+3
latest macOS supported version Remove __kindof keyword. This is also a new objective c feature that should be ignored for now. It's like a super/extends in Java generics but we need more details in order to support it. Change-Id: Ife60c4ffc83f39acdb7a8eceb305b2a0d6307d34 Signed-off-by: Gunnar Wagenknecht <gunnar@wagenknecht.org>
2018-07-28Bug 514191 - Bridge support files should be updated to latest macOSLakshmi Shanmugam28-83/+101
supported version (10.11) Updated Cocoa classes and extras file after changes to bridgesupport files. Change-Id: I3e60736d1452ac9e062650193a6a3f258e353f55 Signed-off-by: Lakshmi Shanmugam <lshanmug@in.ibm.com>
2018-07-28Bug 514191 - Bridge support files should be updated to latest macOSLakshmi Shanmugam1-0/+3
supported version (10.11) strip greater-than sign Change-Id: I094a2ff75645bfad5d8d1633a8360ee496c60531
2018-07-28Bug 514191 - Bridge support files should be updated to latest macOSLakshmi Shanmugam5-15671/+18927
supported version (10.11) Change-Id: I6acae0343ae5abbd59ef18838d21c1d23fc99ab3 Signed-off-by: Lakshmi Shanmugam <lshanmug@in.ibm.com>
2018-07-27v4913v4913gI20180728-0805I20180727-2000Eclipse Platform RelEng Bot1-1/+1
2018-07-27Bug 532632 - enable "fast" widgetTable checks by defaultAndrey Loskutov2-10/+6
Change-Id: Ib06c96cc501fa717dcf757bb7d36224bedd14354 Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
2018-07-27Bug 532632 - fixed NPE on error reporting for new leak checksAndrey Loskutov1-4/+4
Change-Id: I827c3e2de8f924fe741ea18f99fc09c54ffa19ce Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
2018-07-27Bug 537364 - restrict widgetTable leak tests to Linux onlyAndrey Loskutov1-2/+2
Change-Id: Ib989a8aec54874922e8cd1ba53ed128b509334e0 Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
2018-07-26v4913v4913fI20180726-2000Eclipse Platform RelEng Bot1-1/+1
2018-07-26Bug 532632 - Display.getShells() should not return disposed shellsAndrey Loskutov2-16/+36
Added check to guarantee that the returned array contain only not disposed Shell objects. Log an error to System.error if disposed Shell was found in the widgetTable. Clean up all occurrencies of the found disposed Shell objects from the table (to avoid repeating errors). Reverted workaround in BusyIndicator from commit b72ec4ee4a25b3b62b1cea617c5fcc5fd2549359, which is superceeded by this one. Change-Id: I4bf4a800271c3c0703534d7f1ac53709a51dfe2c Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
2018-07-26Bug 532632 - add runtime checks for Display.widgetTable consistencyAndrey Loskutov4-7/+87
SWT unit tests will run now with -Dorg.eclipse.swt.internal.gtk.enableStrictChecks which will check Display.widgetTable consistency during add/removeWidget operations. Change-Id: I09b7ef178561fac4861be579f4f15ee329f99248 Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
2018-07-26Bug 537364 - [GTK] DateTime instances leaks in the widgetTable afterAndrey Loskutov2-5/+36
disposal Only register/deregister handles if they are not already registered/deregistered. The test checks leaking widget handle in the widgetTable: after disposal, no traces of a widget should be found there. Change-Id: I678996b5004d348d6f1e24c9e8e5708e8c46bd9d Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
2018-07-26Bug 537170 - [Win] Table/Tree custom header: sort indicator should useNiraj Modi2-2/+2
header foreground Color. - Windows behavior now similar to GTK. Change-Id: I44965cadb946c463aac5830da0e71a2ac62b5cb0 Signed-off-by: Niraj Modi <niraj.modi@in.ibm.com>
2018-07-26Bug 536542 - [HiDPI][GTK] Eclipse Photon is unusable on Plasma with aSravan Kumar Lakkimsetti5-34/+94
display scale factor of 2 Change-Id: Ic21754f504be992c2dbde759975e2d9c856cbcf7 Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
2018-07-25v4913v4913eY20180725-2200I20180725-2000Eclipse Platform RelEng Bot1-1/+1
2018-07-25Bug 536542 - [HiDPI][GTK] Eclipse Photon is unusable on Plasma with aSravan Kumar Lakkimsetti5-23/+43
display scale factor of 2 - Fixes issue on KDT on i3wm. - checks whether the cairo scaling factor is same as the GTK scaling factor if equal uses cairo scaling algorithm other wise the code follows custom scaling mechanism used till 4.7. Change-Id: If9a62d7e18d27a03b2ba2c3482c6e9e06976bbd7 Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
2018-07-23v4913v4913dY20180723-0635I20180724-2000I20180723-2000Eclipse Platform RelEng Bot1-1/+1
2018-07-23Bug 536768: NullPointerException in ColorDialog.open()Y20180723-0615Lakshmi Shanmugam2-3/+9
Added null checks for handle Change-Id: I4793514e3e929bf702fd9b10b45d59493377f72a
2018-07-23Bug 537273 - [HiDPI][Win32] SWT on start to pick OS zoom updated withoutNiraj Modi1-1/+17
logoff - SWT now picks primary monitor zoom level. Change-Id: Id3942f95559a3177aa857be4a13568b8cafd8be0 Signed-off-by: Niraj Modi <niraj.modi@in.ibm.com>
2018-07-20v4913v4913cI20180722-2000I20180721-1500I20180720-2000Eclipse Platform RelEng Bot1-1/+1
2018-07-20Bug 536934 - [GTK3] Tree does not allow painting the full itemXi Yan2-2/+82
Changes made to custom drawn trees which updates event.x from Cairo context causes paint to "jump" when scrolling horizontally and not scrolling to the end of the text on GTK3.16 and above. Checks for GTK versions >3.9 and <3.14.8 when making updating event.x from Cairo context. See bug 535124, and bug 465309. Tested on GTK3.22 with snippet attached to this patch, sample project in bug 535124, and the open type dialog, package explorer in a child Eclipse. Change-Id: Iaf464c6fee1d5ef288346abbd0ab5a60f20f1a95 Signed-off-by: Xi Yan <xixiyan@redhat.com>
2018-07-19v4913v4913bY20180720-0300I20180719-2000Eclipse Platform RelEng Bot1-1/+1
2018-07-19Bug 537097 - [Win][HiDPI] Table/Tree custom header: sort indicator tooNiraj Modi2-4/+12
small at HiDPI with set header colors Change-Id: I1a490aab14bad950b005c6384f66fbd10da8361f Signed-off-by: Niraj Modi <niraj.modi@in.ibm.com>
2018-07-18v4913v4913aY20180718-2200I20180718-2000Eclipse Platform RelEng Bot1-1/+1
2018-07-18Bug 536862: DateTime DROPDOWN behavior on Mac is not consistent withLakshmi Shanmugam2-2/+2
other platforms Removed HINT from javadoc for Windows and GTK Change-Id: I1b3441ebd3492dfc5126c533e6636e7bfe89907e
2018-07-18Bug 536024 [Win32][GTK] Show calendar week in SWT.CALENDAR AddedChristoph Luder7-11/+60
SWT.CALENDAR_WEEKNUMBERS constant ControlExample-DateTime: added checkbox to enable week numbers Snippet250: Adapted to show week numbers [GTK] DateTime - set GTK_CALENDAR_SHOW_WEEK_NUMBERS, if SWT.CALENDAR_WEEKNUMBERS is set [win32] DateTime - set MCS_WEEKNUMBERS style, if SWT.CALENDAR_WEEKNUMBERS is set - added OS.DTM_SETMCSTYLE (sets the style of the date and time picker) Change-Id: I5c35de0df3706d0fedae7374d67d6e7fe2f10c94 Signed-off-by: Christoph Luder <christoph.luder@gmail.com>
2018-07-18v4913v4913I20180718-0130Eclipse Platform RelEng Bot1-76/+157
2018-07-18v4913Eclipse Platform RelEng Bot3-4/+4

Back to the top