Skip to main content
AgeCommit message (Collapse)AuthorFilesLines
4 hoursBug 466511: Replace dropdown menu custom drawing with pngHEADmasterMatthias Becker1-2/+13
View dropdown uses grey as foreground color so the min max icons need to use the same color Change-Id: If6d5b618658787ea0f83423c8c817e00fd359f0d Signed-off-by: Matthias Becker <>
6 hoursVersion 4.12 update for org.eclipse.swt.examplesLars Vogel2-3/+3
Required for Bug 475833. Change-Id: Ib8a07acdb6096f04b6814996a560e558cb4bea38 Signed-off-by: Lars Vogel <>
8 hoursBug 462665 - Remove references to Carbon in SWT Java code and commentsLars Vogel7-10/+8
Change-Id: I5f6a558564239e64db2aae3c504df604ebb884bb Signed-off-by: Lars Vogel <>
18 hoursv4926r14v4926r14bI20190422-1800genie.releng1-1/+1
34 hoursBug 536021 - [Win32] Table: right-aligned column header with own background ↵Thomas Singer1-1/+1
color lacks margin Change-Id: Ieecfc0d5fa13bfbd99e87cc7616e5cbf97ce285c Signed-off-by: Thomas Singer <>
4 daysv4926r14v4926r14aI20190421-1800I20190420-1800I20190419-1800genie.releng1-1/+1
4 daysBug 493148 - [Win32] Non-editable StyledText can be changed by typing ↵Thomas Singer1-0/+8
Chinese using IME Change-Id: I0a67a1b576abae0c02e4cbcdc469bb786a8a9ecd Signed-off-by: Thomas Singer <>
4 daysBug 546585 - [Cocoa] Don't use objc_msgSend to call variadic functionsNikita Nemkin7-93/+7
JNIGen generates wrong C code for calling variadic ObjC methods, remove all such methods from SWT codebase. Change-Id: Icee75b71c4035a331a4b52ddcaf65e0d59c8793c Signed-off-by: Nikita Nemkin <>
5 daysv4926r14v4926r14I20190418-1800genie.releng1-1/+1
5 daysv4926r14genie.releng2-3/+3
5 daysBug 540903 - [GTK4] Adapt to GtkClipboard changesXi Yan6-2/+45
1) ifdef gdk_display_get_*_clipboard on GTK4 2) Replace gtk_clipboard_clear with gdk_clipboard_set_content(null) Change-Id: I139b8606f01961c31adc56c08ad35c4abd1fb0bc Signed-off-by: Xi Yan <>
6 daysv4926r13v4926r13aI20190417-1800genie.releng1-1/+1
6 daysBug 546493: [GTK4] Button click coordinates are incorrect for some casesEric Williams5-3/+42
This is a two-part fix: 1) Adjust the sendMouseDown() function in Control, as event coordinates on GTK4 are already parent relative. 2) Table/Tree have headers built into the GtkTreeview's surface, meaning the y-coordinates will include the height of the header. This throws off any geometry-item querying code in Table/Tree. The fix is to adjust the coordinates to account for the size of the header. GTK3 doesn't have this problem because the header has its own GdkWindow which is separate from the rest of the Table/Tree. Tested using Snippet3 on GTK4. Change-Id: Ia68a6edb376a823dc3beb57e4db084075e42138b Signed-off-by: Eric Williams <>
7 daysv4926r13v4926r13I20190416-1800genie.releng1-1/+1
7 daysv4926r13genie.releng2-3/+3
7 daysBug 546489 - [GTK4] Replace GtkClipboard with GdkClipboardXi Yan6-5/+57
Replace GtkClipboard with GdkClipboard Change-Id: Iad0c8bff10ab325cf53bde1711bddf0e3842ee9d Signed-off-by: Xi Yan <>
7 daysBug 545943 - [GTK4] Scrolling with the mouse wheel not workingXi Yan1-1/+1
Fix GdkEventControllerScroll flags so that scrolling with mouse works on GTK4. Tested with Snippet 7, 8, 52, 53, 59, 61, 90. Change-Id: I5a4b344e1b7ec0eef75733bdbe04649d15645b77 Signed-off-by: Xi Yan <>
7 daysBug 546488: [GTK4] Cursor never reverts back to normalEric Williams7-6/+31
Use gtk_widget_set_cursor() in certain instances in order to make sure the cursor is set/unset properly. Change-Id: Iad680c4ab71aae79faf6ac7e61513b793dd5380a Signed-off-by: Eric Williams <>
7 daysBug 546481: [GTK4] Fix Snippet4Eric Williams1-2/+5
Allocate to shellHandle so that drawing works properly -- otherwise the snapshot will stop at the child GtkWindow and nothing will be passed on to any of the children. This means the Shell would not draw. Change-Id: I62e7b845fdab99acb864aea86de7916e88829f3e Signed-off-by: Eric Williams <>
7 daysBug 546252 - [GTK] Cleanup for tooltip color fixesAlexandr Miloslavskiy7-76/+528
Fix: ---- All layers are rendered when background color is estimated. This solves the problem for themes that utilize semi-transparent labels in tooltips, such as 'HighContrast'. NOTE: 'gtk_style_context_get_parent' requires 3.4. However, for Eclipse 4.12 requires at least GTK 3.10, so this can be ignored. Code cleaning: -------------- Deleted tooltip-related CSS parsing code that is now dead. Tests: ------ Added snippets I developed during investigation. Change-Id: Ic4504be60df58f32e32b90a487e28af68853977d Signed-off-by: Alexandr Miloslavskiy <>
7 daysBug 545884 - [Win32] Remove TCHAR string wrapper (Part 1)Nikita Nemkin34-324/+246
Replace TCHARs that are used as fixed-size buffers with plain char[] arrays of the same size. Change-Id: Ic54bafb4e865dff62de67a0efefc6020aa5349f3 Signed-off-by: Nikita Nemkin <>
8 daysv4926r12v4926r12aI20190415-1800genie.releng1-1/+1
8 daysBug 545645 - [GTK] Table/Tree header must not keep focusXi Yan3-0/+222
Address issue with updating SWT.VIRTUAL table making header being focused on click. Tested with 2 attached snippets and Snippet38. Change-Id: If02802c01bab05db3b7c241e90dc4a4ed4176608 Signed-off-by: Xi Yan <>
8 daysRevert "Bug 466511: Replace dropdown menu custom drawing with png"Eric Williams1-13/+2
This reverts commit a5d8b38bcb1b0702f9e164aacfd92f5edc1df87b. Change-Id: I519b1f7f74771bdd10a85ab12dca30e37b977982
8 daysBug 546420 - [Win32] Don't guard against GDI+ loading failureNikita Nemkin3-33/+19
GDI+ presence is guaranteed on WinXP and later. Change-Id: Iee3c46ce8a2ac61170a51b06d7986340051ca1c8 Signed-off-by: Nikita Nemkin <>
11 daysv4926r12v4926r12I20190415-0300I20190414-1800I20190414-0210I20190413-1800I20190412-1800genie.releng1-1/+1
11 daysv4926r12genie.releng2-3/+3
11 daysBug 546110 - FileDialog Cancel/OK not localized on LinuxXi Yan2-2/+2
Set labels for GtkFileChooserNative to null to get default localized buttons. Issue fixed for GTK3.20+. Tested with Snippet72. Change-Id: Iaa7a777a12a84b52af634dfc4c64249372d6d81b Signed-off-by: Xi Yan <>
11 daysBug 466511: Replace dropdown menu custom drawing with pngMatthias Becker1-2/+13
View dropdown uses grey as foreground color so the min max icons need to use the same color Change-Id: I4a0c16f8a61faf4ac7d98deb35123d02a4e5ffeb Signed-off-by: Matthias Becker <>
11 daysBug 545854 - [Win32] Drop custom JNI code for GDI+ interopNikita Nemkin8-452/+302
Custom code for point and color conversion is unnecessary, because Color/Point/PointF are binary compatible with primitive arrays. GDI+ Color is a thin wrapper around DWORD, use plain int for interop. Change-Id: If586f3772c4409e4f7583e497552ca6b54d71138 Signed-off-by: Nikita Nemkin <>
11 daysv4926r11v4926r11aI20190412-0520genie.releng1-1/+1
11 daysRemove natures.Alexander Kurtakov7-7/+4
Locking the possible shell script editor to single one doesn't make much sense. Additionally there are better editors like ShellWax either way. Change-Id: I5e08fa8105cd56b8d2c5b278eca6091df5ccc258 Signed-off-by: Alexander Kurtakov <>
14 daysv4926r11v4926r11S4_12_0_M1I20190411-0625I20190410-1800I20190410-0600I20190409-1800genie.releng1-1/+1
14 daysv4926r11genie.releng2-3/+3
2019-04-09Bug 545923 - [regression][GTK] Tooltip foreground is wrongAlexandr Miloslavskiy5-246/+79
Fix 1: ------ The problem with previous approach taken in Bug 545587 was: 'Clearlooks-Phenix' does not define 'color' property for 'tooltip *' CSS selector. Instead, it's expected to be inherited from 'tooltip' CSS selector. However, 'gtk_style_context_set_path' is flawed: it will use parent for searching CSS selector, but it will *not* use parent for inheritance. I'm not sure whether this is GTK bug, GTK design bug, GTK documentation bug, or something else. One thing for sure, 'GtkWidgetPath' approach proved fragile. Also, it requires to set various components carefully, and GTK guys love to change these. Also, 'GtkWidgetPath' seems to be abandoned (even though not deprecated yet), for example GTK commit 101df329 mentions '... applications that still use widget paths ...' So I decided to take another approach: actually create the tooltip and let it handle all the magic itself, then request its GtkStyleContext. This seems to work much more reliably. Since this no longer requires anything from GTK higher then 3.0, I also removed all fallback code paths. Fix 2: ------ Added a quick workaround for 'HighContrast' theme. Change-Id: Icbb0b315bdfed2a1668e622240026a942148ac66 Signed-off-by: Alexandr Miloslavskiy <>
2019-04-09Bug 546211 - [GTK3] Disposing TableItem should not scroll tableXi Yan2-3/+4
Apply same fix as bug 545994 for disposing TableItem. Change-Id: Iaeeadaf8c2752b1a4fef1dcbeb87190c577f98d4 Signed-off-by: Xi Yan <>
2019-04-08Bug 297510 - Disable failing testRolf Theunissen4-0/+46
Change-Id: I4bde2171f42dda790d4c566545b5b13dd93d0c5b Signed-off-by: Rolf Theunissen <>
2019-04-08Bug 546192 - Test failure in test_setForegroundAfterBackground on MacLakshmi Priya Shanmugam1-1/+2
The default Text foreground color on Mac uses SWT.COLOR_LIST_FOREGROUND not SWT.COLOR_WIDGET_FOREGROUND. Updated test for Mac. Change-Id: I14beb8ffa47caa1a9943ab5acdf6b7076311994d
2019-04-07Bug 297510 - Wait for the shell to become active in focus test casesRolf Theunissen4-22/+17
Fix failing tests in Cocoa, on GTK it replaces forceActivate of the shell Change-Id: Ifd27c4885f65a8aa2576977283a9b63a10d7abc2 Signed-off-by: Rolf Theunissen <>
2019-04-05Bug 545073 - [GTK] MouseNavigation pastes text on middle clickLaurent CARON2-16/+38
Change-Id: I7fa01f6520c43acd5dd39e5ba1ead6d5e2de9b0e Signed-off-by: Laurent CARON <>
2019-04-05Bug 297510 - Rework focus tests to make them pass on all platformsRolf Theunissen5-7/+54
- Use Text instead of Button for focus child - Drain event queue in tearDown on Cocoa to close shells properly - Force focus on shell only on GTK - Disable focus test for some custom widgets Change-Id: I876f625fa5d00e8c1c0485efb675743540f02bee Signed-off-by: Rolf Theunissen <>
2019-04-04Bug 182598 - adjusted patch to deal with nested tree elementsSimeon Andreev2-29/+38
The previous patch for bug 182598 did not take tree items with parent tree items into account. This led to throwing exceptions in cases which were not broken. With this change, the tree elements that are being removed are correctly iterated. Change-Id: I8632202d13995f0cc2203a52027b0deb7006085a Signed-off-by: Simeon Andreev <> Signed-off-by: Andrey Loskutov <>
2019-04-03Bug 546096 - [GTK3] TextEditor toolbar icon wrong transparencyXi Yan1-4/+22
Add additional means of getting transparencyMask from alphaData. We should not get mask from transparentPixel if we already have alphaData. Change-Id: I546a4a120babbfe28e7e7d9dfee2c2b75569d3dc Signed-off-by: Xi Yan <>
2019-04-03Bug 546089 - [GTK3] Jagged edges in some iconsXi Yan1-2/+0
Revert Better solution found in Change-Id: I1ea0d07d9450dc52b09f87784d8b673779831d53 Signed-off-by: Xi Yan <>

Back to the top