Skip to main content
AgeCommit message (Collapse)AuthorFilesLines
2018-12-03Bug 540801: [GTK4] Build SWT on GTK4Eric Williams1-5/+5
Make GTK3 default for now until GTK4 is stable. Change-Id: I4449fcf496d599dd9cd4f76696e8ca364b4b3cd9 Signed-off-by: Eric Williams <>
2018-12-03Bug 541631 - Do the Javadoc bash for 4.10Niraj Modi19-55/+68
Change-Id: I5d5db7dfba13e9c79193c705b3936a3631682e33 Signed-off-by: Niraj Modi <>
2018-11-30Bug 541720 - [Gtk3] Regression: TableColumn.pack() clears header in 4.9Xi Yan1-1/+4
Previous patch ( )fixes table appearing as thin line by always showing the table before getting the preferred size, and hiding it afterwards. This caused a regression that when the second time pack() is called, it always hides the header. This patch fixes this by only hiding the header when it is not suppose to be visible. Change-Id: I7cbe06cb36a7ae7b18a52010361f5c575d88ff0b Signed-off-by: Xi Yan <>
2018-11-26Bug 518080 - Use GtkSearchEntry instead of gtkEntry + iconXi Yan1-0/+11
Add padding for GtkSearchEntry Change-Id: Ic27f154bd505ac49df2451ffa67b94f513f868e6 Signed-off-by: Xi Yan <>
2018-11-26Bug 541185 - [Wayland] Help popup close after a clickXi Yan1-0/+1
Reset ignorFocusOutAfterGrab flag, missed by previous patch. Change-Id: I67a206ce08716bc859f1976ddd0ff4bfe269f5e5 Signed-off-by: Xi Yan <>
2018-11-26Bug 541185 - [Wayland] Help popup close after a clickXi Yan2-11/+26
1) Wayland sends an extra focus out event when clicking into the popup after grabbing keyboard focus, which causes popup to be closed. Workaround is to ignore this extra focus out event to fix the issue with javadoc close after a click. 2) Current workaround that hides shell before grabbing focus is not necessary for normal popups without a child. Deal with the case a popup has a popup child separately in bringToTop(). This patch fixes the issue with clicking into Javadoc links, and highlighting text in Javadoc popups. However, there is still some remaining issues (perhaps unrelated) with auto-completion: use Tab to switch focus to the completion details page, clicking works but highlighting the text closes the popup. (but this issue doesn't happen if we use mouse to switch focus to completion details page) Change-Id: Ic095b64c2eaafdeeca65b6e61937c7d31256c97f Signed-off-by: Xi Yan <>
2018-11-24Bug 540841: [GTK4] Rename GdkWindow to GdkSurfaceAlexander Kurtakov1-1/+0
Fix compile warning. Change-Id: I4602a98d98c31437791eb7aace8d77548a3a26c7 Signed-off-by: Alexander Kurtakov <>
2018-11-23Bug 541107: [GTK4] Port native SwtFixed code to GTK4Eric Williams2-2/+11
Disable swt_fatal_warnings on GTK4 as it relies on gtk_parse_args() which does not exist on GTK4. Change-Id: I0f3027ea60221242f7b2d5c97e666f48de8952d2 Signed-off-by: Eric Williams <>
2018-11-23Bug 518080 - Use GtkSearchEntry instead of gtkEntry + iconXi Yan5-21/+80
Use GtkSearchEntry, removed code to handle "clear" icon press events, workaround default look to support search entry without icons. Change-Id: Id29044f5b1f362841048cb4ada2c4c4854f26953 Signed-off-by: Xi Yan <>
2018-11-23Bug 540841: [GTK4] Rename GdkWindow to GdkSurfaceEric Williams33-206/+908
Start porting simple wrapper functions in GtkWidget, and various GdkWindow related methods in Control. Change-Id: Iacbd302327b2898c9ff245aaa30127e253c575d3 Signed-off-by: Eric Williams <>
2018-11-22Bug 541173: [GTK4] Get Snippet1 to work on GTK4 as proof of conceptEric Williams13-158/+745
Show Snippet1 running on GTK4 as a proof of concept. Note that clicking the "x" button on the Shell does not kill the SWT process -- this is a bug that will be fixed later. Manually terminate the process from the console instead. Change-Id: I489cbe966031a5a1ba02ddd1882e1ff1ab005b3b Signed-off-by: Eric Williams <>
2018-11-22Bug 540118 - Oomph target platform Platform/SWT fails to resolveRolf Theunissen1-12/+0
required items Remove override of the Platform targlet Change-Id: I6b5db8dffb21a379a6836aad83bf1de8bdf4021d Signed-off-by: Rolf Theunissen <>
2018-11-20Bug 540163 - [Wayland] Markeplace dialog misrenderedXi Yan1-0/+14
When Marketplace dialog is opened for the first time, it somehow does not open before Shell#forceResize is called on Wayland, and GTK gives an incorrect allocation to the box container. The fix is to use the calculated box size if bounds have previously been set, so that Composite#getClientArea called from Layout#layout returns the right area. Change-Id: I12851f5e2f8965246e94c64cef5711895df1e5ca Signed-off-by: Xi Yan <>
2018-11-20Bug 541335: [10.14] CTabfolder has black bordersLakshmi Shanmugam1-2/+12
Hard coded the colors for COLOR_WIDGET_NORMAL_SHADOW and COLOR_WIDGET_LIGHT_SHADOW on Mac 10.14 Change-Id: Iaccb29c3c8dd48c5340b174fd831a9773b207a6f Signed-off-by: Lakshmi Shanmugam <>
2018-11-20Some more version updatesLakshmi Priya Shanmugam1-1/+1
Updated version in build.xml and in tests plugin Change-Id: I72ba210d8095f6db3b337a290e9266a9ee013d5e
2018-11-19Bug 541293 - Bundle version warning for SWTAndrey Loskutov7-14/+14
- Incremented minor segment from 108 to 109 because new API was added. - made LineStyleEvent.verticalIndent package protected to avoid breaking existing API (adding public field to a class). Change-Id: I4fbb39b9c8bce16f574f9d249d7ee2e12d7f5d67 Signed-off-by: Andrey Loskutov <>
2018-11-18Bug 538377 - Java crash afterTill Brychcy1-3/+15
org.eclipse.swt.internal.cocoa.NSApplication.setDelegate on macos 10.14 mojave with touch bar Change-Id: I1581bad23de972009bf5308bf66a8ebeef03c040
2018-11-16Bug 540809 - [GTK4] Replace gdk_test_* functionsXi Yan11-195/+221
- Replaced gdk_test_* functions to simulate mouse/key events with manually constructed gdkEvents in - Get the currently focused gdkWindow for keyboard events with gdk_get_default_root_window and gdk_window_get_children instead of using GdkScreen. - Rewrote logic for accumulating keyboard state and keyval. Rewrote caching mechanism for modifier states. - Fixed several type cast discrepancies with native methods. Moved OS.gdk_keymap_translate_keyboard_state to Side effects: - Key events can be posted on Wayland as well due to new method for getting focused gdkWindow - Also partially fixed bug 521506, button pressed signal can be emitted (but not menu items). Maybe also made bug 540441 better. - Known limitation: mouse events cannot be simulated on Wayland because: 1) gdk_device_warp does not have an implementation on wayland, cursor cannot be moved. 2) gdk_device_get_window_at_position returns null on Wayland because pointer device is not known to GDK. Tested with Bug302171_AltGr (x11/Wayland), Bug537025_SendKeyEvent(x11/Wayland), Bug521506_FakeClick(x11 only) Change-Id: I5e294810b44f9f3778d43dc6bc2fda4c86fc305b Signed-off-by: Xi Yan <>
2018-11-16Bug 541107: [GTK4] Port native SwtFixed code to GTK4Eric Williams1-0/+4
Add chain-up calls to the "realize" and "map" virtual methods, as gtk_widget_set_realized() and gtk_widget_set_mapped() are gone now. Change-Id: Ie2b6698e8c0fbdbfbada37ca08777bb68cb5c7ae Signed-off-by: Eric Williams <>
2018-11-16Bug 539618 - [StyledText] Allow to define a top margin for a given lineangelozerr8-16/+284
or range Change-Id: Ia3febd7de810c8fed7b75794d43c6e120523c87d Signed-off-by: angelozerr <>
2018-11-15Bug 541107: [GTK4] Port native SwtFixed code to GTK4Eric Williams1-4/+424
Remove GdkWindow references, some unnecessary functions relating to allocation/realization, and implement GtkWidgetClass->measure(). Change-Id: I776f83224c8b83f0da2040578325223617395981 Signed-off-by: Eric Williams <>
2018-11-15Bug 538425 - Image#getImageData(zoom) implementation does notSebastian Ratz2-4/+4
auto-scale correctly on win32 and gtk Signed-off-by: Sebastian Ratz <> Change-Id: I6d26e261d0c7d532ad72bd2814a5a659d31807c4
2018-11-15Bug 508634 - [Win32] READ_ONLY Combobox does not allow changing background ↵Alexandr Miloslavskiy1-1/+69
or foreground color Change internal undocumented state of combobox to draw in a better way Change-Id: I012a8a8fb4761ed9942d347780b0b9c7e1aca95d Signed-off-by: Alexandr Miloslavskiy <>
2018-11-14Bug 541157: [GTK4] Clean up X11 functionsI20181114-1325Eric Williams6-13/+112
Handle certain X11 functions that have changed name on GTK4, or were removed. Change-Id: Ibff445ebf735d0251d7280404954911574cbe441 Signed-off-by: Eric Williams <>
2018-11-14Bug 540908 - [GTK3] Poor performance in GC#setClipping on GTK3Simeon Andreev1-2/+41
Due to poor performance of[]), changes for bug 531667 lead to poor performance of Wire Sketcher. In particular, applying a transformation and then specifying clipping can be very slow. This is the case, since client clipping is limited by Cairo clipping, to avoid overwriting the global Cairo clipping (see bug 531667). This change adds a special case when client clipping is limited, in case the client transformation matrix has no rotation. In this case, its possible to use which is much more efficient. Note that[]) allows adding a polygon to a Cairo region. A Cairo region however is defined by rectangles only. So client clipping rectangles which are no longer rectangles after their client transformation will be expensive. Change-Id: I9c8b2becf545d785d3b36b3773db090013937737 Signed-off-by: Simeon Andreev <>
2018-11-14Revert "Bug 541132 - Stop renaming old native libraries with the new version"Sravan Kumar Lakkimsetti1-8/+0
This reverts commit 380f8512ad87788420eb5378148ea2a1a14fb32a.
2018-11-14Bug 541132 - Stop renaming old native libraries with the new versionSravan Kumar Lakkimsetti1-0/+8
Change-Id: Iac761e997a6cf5224e64a278b784ff046136eaf4 Signed-off-by: Sravan Kumar Lakkimsetti <>

Back to the top