Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-09-13v4922r1v4922r1aY20180912-2200I20180912-2240Eclipse Platform RelEng Bot1-1/+1
2018-09-13Bug 538526: Configure SWT build scripts for 4.10Lakshmi Shanmugam2-1/+2
corrected library version Change-Id: I5fa343fc5b9471f0efa5ba940a8b00af6d4e0689
2018-09-13v4922r1v4922r1Eclipse Platform RelEng Bot1-1/+1
2018-09-13v4922r1Eclipse Platform RelEng Bot2-2/+2
2018-09-13Bug 538526: Configure SWT build scripts for 4.10Lakshmi Shanmugam8-24/+61
Added revision info to SWT version to avoid incrementing minor version with every native build and delay incrementing major version. The revision will be incremented when there is a native change/build The minor version will be incremented by 1 for maintenance stream fixes The minor version will be incremented by 2 for every quarterly release Updated the make files to include the revision info in the native library names as {maj_ver}{min_ver}r{rev} On windows, the rc files and dlls will use {maj_ver},{min_ver},{rev},0 for file version. Change-Id: I8ea6ef8f72837800ad40d4fbf44745b99c349ecd
2018-09-12Bug 464228 - [Gtk3] Combo box styling differencesXi Yan2-4/+110
Button on non-readonly Combo is not styled, so the background color of the button on combo is dependent on OS theme. GtkEntry and GtkToggleButton in Combo needs to be themed separately using different css providers. Added provider instance for button to load the background CSS to both entry and button instead of the entry only. Tested in child Eclipse in dark theme. On Ubuntu, Combo button is now dark instead of white. On Fedora, Combo button now has same background as entry. Change-Id: I77fbe01361c84309aadc9ab187ebaf80f560850c Signed-off-by: Xi Yan <xixiyan@redhat.com>
2018-09-12Bug 530841: [GTK2] Remove GTK 2.x supportEric Williams7-337/+118
Remove GTK2 menu logic. Change-Id: I3ee93644131bd75f80e796ea811ca9dc5991eb82 Signed-off-by: Eric Williams <ericwill@redhat.com>
2018-09-12Bug 517671 - [GTK3] flickering for no reason under LinuxXi Yan1-0/+14
Added checks for GTK_IM_MODULE=xim, prints warning when module is detected. Change-Id: Ifc1d801bbeaf8fc3e354b04761067d823b513714 Signed-off-by: Xi Yan <xixiyan@redhat.com>
2018-09-12Bug 530841: [GTK2] Remove GTK 2.x supportAlexander Kurtakov15-1149/+48
Drop GTK2 support in accessibility implementation. Change-Id: If0d87cf4a0a25cc03983f356c5f47a27214eaa2f Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-09-12Bug 529534 - View content not fully updated after closing CTabFolder tabSimeon Andreev2-0/+109
Whenever an inactive tab is closed in a CTabFolder with a wrapped top right control, the tab area is not fully updated. This can result in an empty grey line, until the tab folder is resized. This change adds a layout request whenever an item of the CTabFolder is closed, ensuring correct layout of the current tab's client area. The change also adds a snippet show-casing the SWT bug. Change-Id: I0763b4e1a7c2e9aac08d030127e00f91e1087571 Signed-off-by: Simeon Andreev <simeon.danailov.andreev@gmail.com>
2018-09-12Bug 530841: [GTK2] Remove GTK 2.x supportAlexander Kurtakov2-13/+2
Fix warnings in the nightly build. Change-Id: I0bcc192d1647fe1e31852a621e405ee0bcb259f4 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-09-12v4922v4922I20180912-0225Eclipse Platform RelEng Bot1-1/+1
2018-09-12v4922Eclipse Platform RelEng Bot3-4/+4
2018-09-11Bug 530841: [GTK2] Remove GTK 2.x supportI20180912-0210Eric Williams51-3182/+569
Remove GTK2 color logic/machinery. Change-Id: Icb9e076904420a80053ed556aa73fd831deaa964 Signed-off-by: Eric Williams <ericwill@redhat.com>
2018-09-11v4921v4921I20180911-1400Eclipse Platform RelEng Bot1-1/+1
2018-09-11v4921Eclipse Platform RelEng Bot3-4/+4
2018-09-11Bug 530841 - [GTK2] Remove GTK 2.x supportAlexander Kurtakov5-18/+2
Remove no longer used cairo binding and remove no longer needed version guards. Change-Id: I72b7c1841a8e830b4419ae5d73a4cb843145e11d Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-09-11Bug 530841 - [GTK2] Remove GTK 2.x supportAlexander Kurtakov1-17/+3
Check for min GTK 3.0.0 and remove Cairo 1.9.4+ check because GTK 3.0.0 has a min requirement of Cairo 1.10.0. Change-Id: I9a05c8ee4975ec7c407ca54a7db8ba0aad2f3bbf Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-09-11Bug 530841 - [GTK2] Remove GTK 2.x supportAlexander Kurtakov1-15/+1
Do not try to load swt-pi so file, only swt-pi3 (aka gtk3) exists now. Change-Id: I4c0addd6861f52e31c714980b6952cc1592cfcf9 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-09-11Bug 538813 - [cocoa] re-fix "Two-finger tap to simulate right-clickTill Brychcy5-1/+8
results in multiple click events" Change-Id: Ia09505855662c96369df67b12071d540753bd082 Signed-off-by: Till Brychcy <register.eclipse@brychcy.de>
2018-09-11v4920v4920aEclipse Platform RelEng Bot1-1/+1
2018-09-11Bug 530841 - [GTK2] Remove GTK 2.x supportAlexander Kurtakov1-1/+1
Adjust total number of native libs compiled. Change-Id: Ic6b4b3d06b533d3b1382c7d3b70b3ecdd4db7eac Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-09-11v4920v4920Eclipse Platform RelEng Bot1-1/+1
2018-09-11v4920Eclipse Platform RelEng Bot3-4/+4
2018-09-11Bug 530841 - [GTK2] Remove GTK 2.x supportAlexander Kurtakov7-240/+21
Drop build support for GTK 2. Change-Id: I9c1c359d4635a9e28cd46ac042acdf07f2fbbbe6 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-09-10Bug 499850 - SWT hangs on Linux when removing all items from virtualXi Yan1-0/+10
table that uses SWT.MULTI On GTK3, call to gtk_list_store_clear with GtkSelectionMode set to GTK_SELECTION_MULTIPLE takes exponential time, removing all items from large virtual table that uses SWT.MULTI is very slow. Temporarily change the selection mode to GTK_SELECTION_BROWSE before making the gtk call fixes performance hang. Tested with snippet Bug499850_VirtualTableHang, for 100K items takes around 5000ms with/without SWT.MULTI. Change-Id: I30b9b9cc83ddf42f9fb7772babd811d80fd1f08d Signed-off-by: Xi Yan <xixiyan@redhat.com>
2018-09-10Bug 538612 - DateTime Spinner increment button trimmedXi Yan1-9/+63
When the initial text is not the longest length possible for SWT.DATE or SWT.TIME entry, the spinner buttons gets trimmed when the text is changed to have longer length. Changed default date/time format constants to the correct pattern. Implemented computeMaxTextSize method to get the native text entry size corresponding to the longest possible formatted text. Used the longest text size as the preferred width. Tested on GTK3.22 with ControlExample->DateTime with SWT.DATE and SWT.TIME on all styles (SHORT, MEDIUM, LONG). No cutoff with buttons or warnings when incrementing values. Change-Id: I1e62375f4af223d7ee1893d9789321a4805c5ff8 Signed-off-by: Xi Yan <xixiyan@redhat.com>
2018-09-10Bug 33659: Display.getClientArea() includes toolbar on LinuxEric Williams1-0/+14
Query the window manager to get the _NET_WORKAREA dimensions. This relies on Xorg being used (not x11 on Wayland). Otherwise, return Display.getBounds() as the current implementation has been doing. Tested on GTK3.22 with X11 - Wayland behaviour is unaffected. Snippet42 now returns the correct bounds (taking into account the size of the taskbar). Multi-monitor cases work as well -- the dimensions returned will account for orientation of various monitors. Change-Id: I390ebd8b70b8444f305701eb2cc9c2f0a9489e45 Signed-off-by: Eric Williams <ericwill@redhat.com>
2018-09-10Bug 536974: Orca and flat review problemsEric Williams1-0/+3
The bug here was that not all SwtFixedAccessible instances had gtk_accessible_set_widget() called on them -- this was only done for SwtFixedAccessible instances with a matching Java accessible. The fix is to call gtk_accessible_set_widget() for ALL SwtFixedAccessible instances, so that the "intermediate" accessibles in the widget tree still function as expected. Tested using Orca flat review mode and Accerciser. Change-Id: I3dbcde58cc7ed744b2ec5fed6fb59d2790c88f4d Signed-off-by: Eric Williams <ericwill@redhat.com>
2018-09-10v4919v4919kI20180910-0310Eclipse Platform RelEng Bot1-1/+1
2018-09-07Bug 538648 - DateTime SWT.DATE | SWT.LONG Spinner wrong incrementXi Yan1-0/+7
SWT.DATE with SWT.LONG style have month in text in the first field, adj_value and new_value is not comparable, resulting in incorrect ARROW direction being returned in getArrow. The adj_value alone gives the arrow direction for SWT.DATE | SWT.LONG since the spinner always starts at 0. Modified getArrow to return the correct arrow direction for SWT.DATE | SWT.LONG style. Tested with ControlExample->DateTime with SWT.DATE | SWT.LONG style. Change-Id: Icbac068dca432ba3db24f02839d4f3c3cc96bcbe Signed-off-by: Xi Yan <xixiyan@redhat.com>
2018-09-07Bug 533469 - [GTK3] Ghost button since upgrade to GTK 3.22Xi Yan2-0/+56
On GTK3.19+, widget are forced to be allocated the default minimum size regardless of the size of the fixed container, introduced after GTK commit 3e069428. This causes widgets with 0x0 size to be visible but unusable. The fix is to make 0x0 widgets invisible to the user explicitly using gtk_widget_hide. Resizing widget to a non-zero size later on shows the widget in setBounds. Tested with snippet, empty shell when size of Control were not set. No ghost button on Papyrus Property dialog. Change-Id: I6e47d838c3a4679e5b8f2140601b23ca57e13ee7 Signed-off-by: Xi Yan <xixiyan@redhat.com>
2018-09-06v4919v4919jI20180907-0855I20180907-0715I20180907-0650I20180907-0400I20180906-1400Eclipse Platform RelEng Bot1-4/+2
2018-09-064.10 version bump for org.eclipse.swtLars Vogel2-3/+5
Due to Fix for Bug 535068 Change-Id: I2fea4dcd415b06fcea3e97189cb0a0962d02e26f Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2018-09-05Bug 535068: [Dark Theme] CTabFolder Chevron looks badMatthias Becker1-9/+4
The chevron icon had light transparency artifacts because white was used as the one transparent color. But not all pixels are either white (transparent) or have the icons foreground color. This "almost white" pixels caused these ugly transparency artifacts and a very visible as they are light in the dark theme. The solution taken now is to use the background color or the parent control as transparency color. This background color is not exactly the same color as the chevron icon has but it's dark in the dark theme and light in the light theme. As still transparency is used there are still transparency artifacts but they less visible as the are no longer light in the dark theme but also dark. Change-Id: I085dc4108ee68daa94f9eb1ae902ed0c429cfb05 Signed-off-by: Matthias Becker <ma.becker@sap.com> Signed-off-by: Wim Jongman <wim.jongman@remainsoftware.com>
2018-09-05v4919v4919iY20180905-2200I20180906-0005I20180905-1305I20180905-0410Eclipse Platform RelEng Bot1-1/+1
2018-09-05Bug 538531 - POM version change for 4.10 releaseSravan Kumar Lakkimsetti18-19/+19
Change-Id: I22a7fa1170509c771d1284173aa708bf8ca6bee6 Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
2018-09-04Bug 538590: [GTK3] Breakpoint condition text editor has no cursorEric Williams2-8/+11
Only draw in the parent Composite on the first draw event of the child Combo -- no need to chain up draw events continuously, as it disturbs caret rendering in StyledText. Tested with bug snippets from bug 535323, and in the breakpoint editor. No AllNonBrowser JUnit tests fail. Change-Id: Iad207c6c7aa87f3cc6687da09596a494a65a4f25 Signed-off-by: Eric Williams <ericwill@redhat.com>
2018-09-04Bug 538579 - DateTime SWT.DATE and SWT.Time styles do not allow to setXi Yan2-0/+49
value SWT.DATE & SWT.TIME need handle to be registered in widgetTable in order to function correctly. Added additional checks to register/deregister handle. Tested with attached snippet, no additional test breaks in AllNonBrowserTests. Change-Id: I928aa7122abba427af29242504c3a5feeacf141b Signed-off-by: Xi Yan <xixiyan@redhat.com>
2018-09-04Bug 536588: [Cocoa][GTK] GC.copyArea() doesn't work for StyledTextLakshmi Shanmugam1-8/+7
Though the paint event sent by GC.copyArea() is unexpected, we can't ignore it. It is required for GC.copyArea to work with custom controls. The fix is to prevent recursive calls to cacheDisplayInRect_toBitmapImageRep. Change-Id: I7ee99d3dd6a2824010ea3a1fbc4c36c2a09e1763
2018-08-31Bug 538345 - Do the Javadoc bash for 4.9Lakshmi Shanmugam3-10/+11
Change-Id: Ib07c5fcf7009a6ac79afca8e53173c1a472a5fba
2018-08-30v4919v4919eS4_9_0_RC1I20180830-1030Eclipse Platform RelEng Bot1-1/+1
2018-08-30Bug 537491 - Photon@MacOS - Wrong context menu in Project/PackageSravan Kumar Lakkimsetti1-37/+6
Explorer due to outdated selection Revert "Bug 538003: cocoa: Fix context menu not closing on left mouse click" This reverts commit e352f348c21c994af3ec8aeea61baa2466d79984. Revert "Bug 378202 - Two-finger tap to simulate right-click results in multiple click events" This reverts commit e385fcbbec9141cfa9f82f55c4d03c505943c11e. Change-Id: Ic8233cceb29931ba883c4dff2bd2bd09a9665227 Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
2018-08-28v4919v4919dY20180829-2200I20180829-2000I20180829-0800I20180828-2000I20180828-0800Eclipse Platform RelEng Bot1-1/+1
2018-08-28Bug 517003 - [Win32] Table/Tree header need improvements under darkNiraj Modi2-17/+20
theme. Change-Id: Id389c291dfd2d1061d5aa1ec7fce255efc52c0a5 Signed-off-by: Niraj Modi <niraj.modi@in.ibm.com>
2018-08-27v4919v4919cI20180827-2000Eclipse Platform RelEng Bot1-1/+1
2018-08-27Bug 538114 - [GTK3] Tree in ExpandBar has no content until resized orXi Yan2-0/+91
collapsed/expanded Internal widgets inside ExpandBar's control don't get sized properly when first created. The fix is to always show the control before setting any bounds. Change-Id: Id247d69efad52801813453e0ce9715c8a2ce2d7e Signed-off-by: Xi Yan <xixiyan@redhat.com>
2018-08-24v4919v4919bI20180827-0800I20180826-2000I20180825-1500I20180824-2000Eclipse Platform RelEng Bot1-1/+1
2018-08-24Revert "Revert "Bug 518414 - [gtk] Package explorer double click opens ↵Alexander Kurtakov4-25/+74
currently selected (highlighted) resource"" This reverts commit c6e37ef2ef76ca1acb81b99cc5b292749901055b. Change-Id: Ib47c7b77433cad1b10ecaf537d7aded9cc6b17f1
2018-08-23Bug 538003: cocoa: Fix context menu not closing on left mouse clickThomas Wolf1-14/+24
Commit e385fcb changed the way context menus are created. This caused context menus to appear twice (once on right click and a second time on left click). Change-Id: I830d1f1f0c353162b7e7daea868b3a152e4fb0d1 Signed-off-by: Matthias Becker <ma.becker@sap.com> Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>

Back to the top