Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-06-15v4905v4905aEclipse Platform RelEng Bot1-1/+1
2018-06-15Bug 209975 - On GTK PopupList throws an exception while open if theXi Yan2-0/+67
parent window closes. PopupList also fails to gain focus on open. Allow PopupList to take focus when it is opened in the FocusListener of a different widget. Change-Id: I44b297e091527b8439e867be5150e1572900421d Signed-off-by: Xi Yan <xixiyan@redhat.com>
2018-06-15v4905v4905I20180615-0655I20180615-0300Eclipse Platform RelEng Bot1-1/+1
2018-06-15v4905Eclipse Platform RelEng Bot3-4/+4
2018-06-15Bug 535064 - [HiDPI][GTK3] Device#getDPI method returns an incorrectSravan Kumar Lakkimsetti5-8/+130
value on x2 scaled screen Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
2018-06-14v4904v4904I20180614-2045I20180614-2000Eclipse Platform RelEng Bot1-1/+1
2018-06-14v4904Eclipse Platform RelEng Bot3-4/+4
2018-06-14Bug 535392 [Webkit2] Browser.getText() returns wrong decoding whenLeo Ufimtsev5-18/+497
setText() contains utf (code point >127) characters Problem: - Webkit sometimes returns ASCII encoding and sometimes UTF-16LE - ASCII is returned when all characters are ascii, UFT-16LE is returned if at least one character is non-ascii. - At the binary level, it is not possible to tell encodings apart - webkit2 currently (v2.20) doesn't have api to get encoding of data. - Byte order mark is not provided with return value. Solution: - I wrote a in-house-made SWT heuristic to try and figure out encoding. This works well for strings that are 2+ characters and OK for most single characters. - Hopefully this is a temporary solution until Webkit2gtk developers give us access to encoding api. (I will request in 535392). Testing: - Added testing suite for converter. - Tested via snippet. - Tested via given SWT bot project that sets/gets text of 'find' man page. - All SWT jUnit tests work fine. - Child eclipse seems to work fine. Considerations & potential issues with this patch: - This patch contains a lot of double/triple byte UTF characters, if some of our build tools have issues with special UTF characters, then they may have issues. Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=535392 Change-Id: I9be1f679676dfacf6415d0ae702cea41aa30cf7b Signed-off-by: Leo Ufimtsev <lufimtse@redhat.com>
2018-06-14Bug 393834 - Don't strip debug symbols from SWTMatthias Mailänder2-2/+3
by adhering to CFLAGS set by distributions. Change-Id: I15b734079675b5f18821c712160abc9d3d2c555b Signed-off-by: Matthias Mailänder <matthias@mailaender.name>
2018-06-13v4903v4903aEclipse Platform RelEng Bot1-1/+1
2018-06-13Bug 138909 - GTK - Vertical line in Tree with text that spans columnsXi Yan1-1/+1
Used gtk_tree_view_get_background_area instead of gtk_tree_view_get_cell_area in RendererRender method of Tree to prevent vertical border being rendered between columns. Change-Id: I480e9e7f7e63021e8ff00e2989fc25a95db931be Signed-off-by: Xi Yan <xixiyan@redhat.com>
2018-06-12v4903v4903I20180613-0440I20180613-0300Eclipse Platform RelEng Bot1-1/+1
2018-06-12v4903Eclipse Platform RelEng Bot3-4/+4
2018-06-12Bug 535323: [GTK3] Combo sizing problemsEric Williams4-43/+212
This is a two part fix: 1) Override resizeCalculationsGTK3 in Combo to use the GtkEntry for non-READ_ONLY Combos. This prevents us from using the GtkComboBoxText's preferred size which is usually way too large on GTK3.20+. 2) Update the patch from bug 500703 to support the case where one Composite has multiple Combo widgets inside of it. We support this case by setting fixClipHandle in the parent Composite, and then using a HashMap to keep track of the individual Controls, and their respective children who need to have their clips adjusted. Tested on GTK3.22 on X11 and Wayland -- no ill effects. No AllNonBrowser JUnit tests fail. Change-Id: I1d262c9d321dc314c7f66966bd58fbd8e25ba77e Signed-off-by: Eric Williams <ericwill@redhat.com>
2018-06-12Bug 305864 - [GTK] getItemHeight method of org.eclipse.swt.widgets.ListXi Yan8-6/+199
returns a wrong Item height Added padding of cell when calculating item height in getItemHeight method of List, Table, and Tree for GTK3. Change-Id: I59c7163f46e2df3a31958ba9235038de7e58280f Signed-off-by: Xi Yan <xixiyan@redhat.com>
2018-06-11v4902v4902dEclipse Platform RelEng Bot1-1/+1
2018-06-11Bug 267981 - SWT.Border Checkbox not working in ControlExample for theXi Yan7-23/+45
DateTime Widget Disabled DROP_DOWN for TIME/CALENDAR styles, disabled BORDER check button for inapplicable widgets. Change-Id: Ia9695bb6a74c886cffaa01540e45e84e732e804b Signed-off-by: Xi Yan <xixiyan@redhat.com>
2018-06-11v4902v4902cEclipse Platform RelEng Bot1-1/+1
2018-06-11Bug 535123 - [HiDPI][GTK3] Black bands visible in Eclipse UI on x2Sravan Kumar Lakkimsetti1-6/+14
display Fixes black band issues in snippet 365 and tool bars and CTabFolder. this uses setting of scale factor to surface. rather than manipulating the co-ordinates. Revert "Revert "Bug 534817 - screenshots do not change"" This reverts commit 742c1cbd39bb33d4c9827db948582faef531b1ba. This revert fixes SWTBot problem in capturing screenshots Conflicts: bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/GC.java Change-Id: Ibd8dc7ae70befe6db98d89e9d76f7ce68e7ffc8f
2018-06-08v4902v4902bEclipse Platform RelEng Bot1-1/+1
2018-06-08Bug 535123 - [HiDPI][GTK3] Black bands visible in Eclipse UI on x2Sravan Kumar Lakkimsetti3-9/+17
display Fixes black band issues in snippet 365 and tool bars and CTabFolder. Revert "Revert "Bug 534817 - screenshots do not change"" This reverts commit 742c1cbd39bb33d4c9827db948582faef531b1ba. This revert fixes SWTBot problem in capturing screenshots Change-Id: Ibd8dc7ae70befe6db98d89e9d76f7ce68e7ffc8f Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
2018-06-07v4902v4902aI20180607-2000Eclipse Platform RelEng Bot1-1/+1
2018-06-07Revert "Bug 534817 - screenshots do not change"Sravan Kumar Lakkimsetti2-12/+9
This reverts commit 809b38a9c2e5537b4a532a4680f7fc06d8c7dbb2. Change-Id: I093d48e222bc9b93ee23f7619e64e7c8aa3676e3
2018-06-07Bug 396175 - Link widget needs an escape character for < and >Xi Yan4-12/+69
Added escape character for angle bracket in link widget. Change-Id: I44675a5a18c4319421c9b37af16d4d345ec8b55d Signed-off-by: Xi Yan <xixiyan@redhat.com>
2018-06-06Bug 319612: [Gtk] Shell.getSize() returns wrong value when created withEric Williams2-7/+35
style SWT.RESIZE | SWT.ON_TOP Ignore hardcoded trim when calculating sizes for shells with SWT.ON_TOP and SWT.RESIZE set (i.e. "custom resize" shells). These shells already use border as set by gtk_container_set_border_width() -- subtracting the trimming in Shell.setBounds() is unnecessary. Tested on GTK3.22 on X11 and Wayland. A JUnit test case to reproduce the issue is attached. No AllNonBrowser JUnit tests fail. Change-Id: I81ebd319b623dfb3b98c533996a43e6435e80d2f Signed-off-by: Eric Williams <ericwill@redhat.com>
2018-06-06v4902v4902I20180606-1020Eclipse Platform RelEng Bot1-1/+1
2018-06-06v4902Eclipse Platform RelEng Bot3-4/+4
2018-06-06Bug 535588 - Remove build support for aix,hpux and solarisAlexander Kurtakov2-170/+0
Change-Id: I5faee04a9b09db75554726b070c267f0cf03cc3b Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-06-06v4901v4901Eclipse Platform RelEng Bot1-1/+1
2018-06-06v4901Eclipse Platform RelEng Bot3-4/+4
2018-06-06Bug 518669 - Drop support for Linux ppc64 in 4.9Alexander Kurtakov1-1/+1
Reduce the library count by the number of ppc64 libs no longer built. Change-Id: I33b2ed1e0c4dc009bd7251b58de39cc1f979323e Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-06-06Bug 518669 - Drop support for Linux ppc64 in 4.9Alexander Kurtakov1-2/+2
Do not glob ppc64* but be explicit only ppc64le are to be considered. Change-Id: I65973e24a45eb13be93a8c89c1dfdec471d3279c Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-06-06Bug 518669 - Drop support for Linux ppc64 in 4.9Alexander Kurtakov6-95/+29
Remove build support and tests running setup for ppc64 in swt. Change-Id: I488a6ce9398baca50a7fe1fdd4fa1163868fbf3d Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-06-05v4900v4900aEclipse Platform RelEng Bot1-1/+1
2018-06-05Bug 535318 - Update license to EPL-2.0 for platform.swt in about.htmlLars Vogel12-312/+296
Change-Id: I4526c5c3c2967d58e0e83f4d3eccfeabc268cff3 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2018-06-04v4900v4900Eclipse Platform RelEng Bot1-1/+1
2018-06-04v4900Eclipse Platform RelEng Bot3-4/+4
2018-06-01v4881v4881bI20180601-0915Eclipse Platform RelEng Bot1-1/+1
2018-06-01Version 4.9 update in plaform.set as prep for the EPL 2.0 updateI20180601-0900Lars Vogel26-26/+26
Change-Id: I3ad44261dffe9d6d9097eb2c66a49ed31a57df25 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2018-06-01Fixes Method invokes inefficient Number constructor inLars Vogel1-1/+1
Bug144120_GLCanvasMouseEvents Change-Id: I8548076b97b97dc6bd73f518876e201294e22431 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2018-06-01v4881v4881aI20180531-2125Eclipse Platform RelEng Bot1-1/+1
2018-05-31Bug 489640 [GTK3] setting a lot of items to combobox is extremely slowI20180531-2000Leo Ufimtsev1-1/+0
(on gtk_combo_box_text_insert) Fix warning in test. Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=4896403 Change-Id: I59d06552c3fb3d4ce479fd411cdcf403432ce530 Signed-off-by: Leo Ufimtsev <lufimtse@redhat.com>
2018-05-31v4881v4881I20180531-1245I20180531-0910Eclipse Platform RelEng Bot1-1/+1
2018-05-31v4881Eclipse Platform RelEng Bot3-4/+4
2018-05-29Bug 489640 [GTK3] setting a lot of items to combobox is extremely slowLeo Ufimtsev6-51/+189
(Bug fix). Setting wrap causes O(n^2) performance regression because after every insert the drop-down list size is re-computed. Solution: 1) Turn off wrap during insert (to fix bulk insert, e.g setItems(...)) 2) Delay enabling (so that multiple single-insert calls [e.g add(.)] are not delayed if called in a loop. Tests: - Attached snippets: Before fix: Gtk3: 1000ms After fix: Gtk3: 10ms (event faster than gtk2's 23ms). - Child eclipse works well. - All SWT jUnits pass. - Combo box looks same as before. Patchset 4: - Implemented similar logic for removing items to fix performance. Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=4896403 Change-Id: Ibf14b35712277e068bc719d073a482ab5c04fb7f Signed-off-by: Leo Ufimtsev <lufimtse@redhat.com>
2018-05-29Bug 258196: [GTK] Virtual Tree does not resize correctly horizontallyEric Williams9-8/+130
Using the patch from bugzilla, add updated flags to Tree and TreeItem which are triggered when changes are made that would affect the layout of the Tree. These changes will trigger the proper scrolling width to be set. Tested on GTK2 and GTK3, no ill effects seen. No AllNonBrowser JUnit tests fail, and the snippet from bug 490203 doesn't show any reduction in performance either. Bumped versions for first 4.9 commit. Change-Id: If8d435248db5bc4ba5448f803bafd4eef1165167 Signed-off-by: Eric Williams <ericwill@redhat.com>
2018-05-29Bug 535191 - POM version change for 4.9 releaseAlexander Kurtakov18-19/+19
Change-Id: Icf2788319e154102ecb1002b3e9783824e709266 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-05-25Bug 498217 [GTK3][DnD] Dragging parts does not show rectangle (fix)Leo Ufimtsev1-48/+128
As of Gtk 3.9.1, Commit a60ccd3672467efb454b121993febc36f33cbc79, off-screen GDK windows are not processed. Because of this gtk doesn't send move events to SWT. Platform.UI uses an off-screen tracker for SWT.MOVE events to draw custom rectangles on a transparent shell for it's part-drag-preview. Drawing/updates for these broke because tracker is off screen and no longer sent mouse move events. Solution: If a tracker is to move off-screen, then instead draw it 1x1 and make it transparent. Tests: - Child eclipse. Now part-preview works when dragging editor/views around. - Snippet 31/23 (tracker) work as before. Note, this fix is only for X11. On Wayland part-preview is still broken due to bug 535083. This bugfix seems to make part-preview more fluent on wayland, but there's still a black shell over eclipse. https://bugs.eclipse.org/bugs/show_bug.cgi?id=498217 Change-Id: Ia69c494d3d08b9565e6647073bbfd4870f20ade3 Signed-off-by: Leo Ufimtsev <lufimtse@redhat.com>
2018-05-23v4880v4880kS4_8_0_RC2I20180528-0800I20180527-2250I20180527-2000I20180527-0800I20180526-1500I20180526-0800I20180525-2000I20180524-0900I20180523-2000Eclipse Platform RelEng Bot1-1/+1
2018-05-23Bug 534646 - Do the annual Javadoc bash for 4.8Niraj Modi16-5/+73
Change-Id: I0d6933e70c2c3f94b775aba903c2795824f12da9 Signed-off-by: Niraj Modi <niraj.modi@in.ibm.com>

Back to the top