Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-02-22v4924r25v4924r25Y20190225-0415I20190225-0200I20190224-1800I20190224-0930I20190224-0600I20190223-1800I20190223-0600I20190222-1800genie.releng1-1/+1
2019-02-22v4924r25genie.releng2-3/+3
2019-02-22Bug 411997: [Text] Ctrl-Z does not work on LinuxEric Williams3-0/+9
Update Text Javadocs to explain that some actions like Undo are not available on all platforms. Change-Id: I8ba43b619e335eb85227df3fba050d4ffc07b71c Signed-off-by: Eric Williams <ericwill@redhat.com>
2019-02-20Bug 436085: setTabs method in Text widget is ignored when style includesEric Williams7-3/+67
SWT.SINGLE Enable setTabs() to work with Text widgets of style SWT.SINGLE. Previously this was not implemented, and SWT was just retuning for all SWT.SINGLE Text widgets. Additionally, the automated JUnit tests for such functionality were limited to Win32 only -- I have now enabled them to run on Linux as well. A reproducer snippet is also attached to this commit. Change-Id: I259a4226475296ff2514c016590668e4d90be1c2 Signed-off-by: Eric Williams <ericwill@redhat.com>
2019-02-18v4924r24v4924r24eY20190222-0110Y20190220-2200S4_11_0_M3I20190222-0645I20190222-0440I20190220-1800I20190220-0600I20190219-1800I20190219-0600I20190218-1800genie.releng1-1/+1
2019-02-18Bug 543933 - Build javadocs with Java 11Alexander Kurtakov42-100/+100
After fixing majority of Xdoclint:html issues there are warnings even with Xdoclint:none. Change-Id: I93e8aa5987631364f7183252f52d80d98f7fc5d1 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-02-16v4924r24v4924r24dI20190218-0600I20190217-1800I20190217-0600I20190216-1800genie.releng1-1/+1
2019-02-16Bug 543933 - Build javadocs with Java 11Alexander Kurtakov51-95/+94
Fix javadoc warnings catched by Java 11 tool with XDoclint:html. Change-Id: If1a13c413a4734eb5ee5a28d87f327c34494c30b Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-02-16Bug 543933 - Build javadocs with Java 11Alexander Kurtakov10-44/+37
Fix javadoc warnings catched by Java 11 tool with XDoclint:html. Change-Id: I629f93157dbd7fed59d6a42b3b793c151f8f4ed0 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-02-16v4924r24v4924r24cI20190216-0600genie.releng1-1/+1
2019-02-16Bug 543933 - Build javadocs with Java 11Alexander Kurtakov10-260/+355
Fix javadoc warnings catched by Java 11 tool with XDoclint:html. Change-Id: I7a1b335048c0fe9f9c8f186bee93151f47585ecf Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-02-15v4924r24v4924r24bI20190215-1800genie.releng1-1/+1
2019-02-15Bug 543933 - Build javadocs with Java 11Alexander Kurtakov12-9/+15
Fix javadoc warnings catched by Java 11 tool with XDoclint:html. Change-Id: I77b68f3cd57852e88350235f8e60fb95cee60f4c Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-02-15v4924r24v4924r24aI20190215-0630genie.releng1-1/+1
2019-02-15Bug 543933 - Build javadocs with Java 11Alexander Kurtakov96-214/+224
Fix warnings as catched by Java 11 tool. (take 2) Change-Id: Icdfdf28ef7e593373f813a16285ebd3a97e808ce Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-02-14v4924r24v4924r24I20190215-0055I20190214-1800genie.releng1-1/+1
2019-02-14v4924r24genie.releng2-3/+3
2019-02-14Bug 542777 - Mouse Navigation for Styled TextLaurent Caron3-1/+453
Change-Id: I5d232eb60ef05ec5337f586a6bd0ffbb13a69805 Signed-off-by: Laurent CARON <laurent.caron@gmail.com>
2019-02-14Bug 544114 - [GTK4] Replace 2BUTTON and 3BUTTON eventsXi Yan5-27/+0
Removing useless native gtk_gesture_multi_press_set_area binding. Change-Id: Iab750cb8ca0e024efff3d46526d3ea2379aa5f8f Signed-off-by: Xi Yan <xixiyan@redhat.com>
2019-02-14Prefer usage of Boolean.parseBooleanLars Vogel1-1/+1
Change-Id: I907cf999e2f2daeab8f0d5ae86ac521b93b0adcd Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2019-02-14Bug 541256 - Warnings: Gtk-WARNING **: Allocating size to SwtFixedSimeon Andreev2-0/+12
With changes for bug 533469 we started to observe new GTK+ warnings on the standard error. In particular, widget allocation was set without retrieving preferred widget size. To GTK+, this is a potential programming error and so GTK+ emits a warning. For SWT, this warning is not relevant, since SWT must control widget sizes at all times. This change adds calls to gtk_widget_get_preferred_size(), which have previously been used to prevent the GTK+ warnings. Since the code which sets widget allocation now also asks the widget preferred size (which is very often irrelevant for SWT), the GTK+ warnings are gone. Change-Id: Ie91ccb26dd8d86646d0e30819e6a240244d1d7fe Signed-off-by: Simeon Andreev <simeon.danailov.andreev@gmail.com>
2019-02-13v4924r23v4924r23Y20190213-2200I20190213-1800genie.releng1-1/+1
2019-02-13v4924r23genie.releng2-3/+3
2019-02-13Bug 543949: Orca's flat review mode can not be usedEric Williams3-132/+91
Not all SwtFixedAccessible instances have corresponding AccessibleObjects, meaning the implementation of ATK API is SwtFixedAccessible's responsibility to handle natively. Most ATK API like AtkEditableText or AtkAction doesn't need to worry about this since those API's are specialized for certain functions. However AtkComponent covers geometry which is pretty important information for a container accessibility implementation. The fix: if no AccessibleObject exists, calculate the extents/size/position manually. We can do this even with scaling by using JNI to call Java level methods like toDisplay. Change-Id: Ib54821fc006eedc039dc9dc4b3dc83ddc5cc58ab Signed-off-by: Eric Williams <ericwill@redhat.com>
2019-02-13Bug 543933 - Build javadocs with Java 11Alexander Kurtakov67-112/+75
Fix warnings as catched by Java 11 tool. Change-Id: Ia736e7de2e575c01de9fda2ef514d2c25d664a88 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-02-13Bug 544114 - [GTK4] Replace 2BUTTON and 3BUTTON eventsXi Yan13-1/+231
- 2BUTTON used to signal double click events, this is replaced by GtkGestureMultiPress controller for handling double click events whenever n_press equals 2. - 3BUTTON constants in GTK3 used for early return of button_click handlers, this is ignored by default on GTK4. Tested GTK3 with Mouse Listeners in ControlExample, Bug543984_GTK4EventTypeConstants on GTK4, ButtonTab double click BG/FG dialog in ControlExample on GTK4. Change-Id: I63bdb1a205bb40e478dea74dd99de97ddb66716f Signed-off-by: Xi Yan <xixiyan@redhat.com>
2019-02-12v4924r22v4924r22aY20190213-0305I20190212-1800genie.releng1-1/+1
2019-02-12Bug 544365 - [Mac] Native dialogs should use dark appearance in EclipseLakshmi Priya Shanmugam2-5/+11
Set the dark/light appearance to the NSApplication directly so that we don't have to set the appearance to each NSPanel for the SWT dialogs such as FileDialog, Color/Font Dialogs, etc. Change-Id: I7cb65292b226971a68c41d9f649b978b4b8ed6fc
2019-02-11v4924r22v4924r22I20190211-1800genie.releng1-1/+1
2019-02-11v4924r22genie.releng2-3/+3
2019-02-11Bug 544198: atk_text_get_text() seems brokenEric Williams1-1/+0
Remove bad return statement from swt_fixed_accessible_text_get_text(). Change-Id: Iaa9997a14b26c95013169b5f53e1e0307655eb35 Signed-off-by: Eric Williams <ericwill@redhat.com>
2019-02-11Bug 544296: [Gtk] Regression: KeyEvent keyCode no longer setEric Williams1-8/+9
Check if ptr is also non-zero as it will hold the result of gtk_get_current_event() in the event that the initial event is 0. Change-Id: Idf477d48868919d4aa21ae1eec12525ca316856e Signed-off-by: Eric Williams <ericwill@redhat.com>
2019-02-11Bug 538487 - [HiDPI] GC.copyArea() and Image.getImageData() behaveSravan Kumar Lakkimsetti1-10/+47
differently (and buggy) MacOS 10.13.6. Change-Id: I3e4ef6b3672dc44ec401a9e139ba3081170a23c1 Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
2019-02-09v4924r21v4924r21cI20190210-2135I20190210-1800I20190209-1800genie.releng1-3/+2
2019-02-09Remove empty lines from o.e.swt pom.xml.Alexander Kurtakov1-80/+3
Change-Id: I20f79df4b97f3b0b9cf5f26a89cbd4fd38233979 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-02-08v4924r21v4924r21bI20190208-1800genie.releng1-1/+1
2019-02-08Bug 544282 - [GTK3] apply the optimization for Tree.setItemCount(0) tooAndrey Loskutov3-2/+61
Also added some more tests. Change-Id: Ic14ff6e0f7f694c8a1756e34a7b17986301213d4 Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
2019-02-08Bug 515849: Enable Device.DEBUG via SWT_DEBUG=1 env variableEric Williams2-0/+14
Enable Device.DEBUG via SWT_DEBUG=1. Change-Id: Ie3e4064484cd8546072b348380e05830cb31b6c5 Signed-off-by: Eric Williams <ericwill@redhat.com>
2019-02-08Bug 544282 - [GTK3] org.eclipse.swt.widgets.Table.remove(int, int) isAndrey Loskutov1-1/+5
extremely slow In case we set table items count to zero, it is way faster to use GTK.gtk_list_store_clear() instead of iterating over every element via GTK.gtk_list_store_remove(). Change-Id: I0ae296b40b05fcdfcecc1d2d8a3fb4885d9c9b64 Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
2019-02-08v4924r21v4924r21aY20190208-0505genie.releng1-1/+1
2019-02-08Bug 472417 - Typo in examples_texteditor.propertiesAlexander Kurtakov3-4/+4
Fix typo. Change-Id: I45160685a2197f112adb99d426dad67f58538f23 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-02-07v4924r21v4924r21I20190207-1800genie.releng1-1/+1
2019-02-07v4924r21genie.releng2-3/+3
2019-02-07Bug 543908: GTK4] Get ControlExample to launch and run on GTK4Eric Williams17-38/+155
Add proper GtkCssProvider API for GTK4 and adjust SwtFixed->measure to produce properly sized containers. Also make some small adjustments so that the DateTime tab works properly. Change-Id: I3dea2ec74788f11131187056a63e7e1505e9c2a5 Signed-off-by: Eric Williams <ericwill@redhat.com>
2019-02-06v4924r20v4924r20aY20190206-2200I20190206-1800genie.releng1-1/+1
2019-02-06Bug 542940 - Method setEditor of class TreeEditor raises javaXi Yan1-5/+0
nullException Stop hiding Text widget in gtk_draw. Change-Id: I1f2cd9260b65bcab03a27c4431822059f2e238c5 Signed-off-by: Xi Yan <xixiyan@redhat.com>
2019-02-05v4924r20v4924r20I20190205-1800genie.releng1-1/+1
2019-02-05v4924r20genie.releng2-3/+3
2019-02-05Bug 543908: [GTK4] Get ControlExample to launch and run on GTK4Eric Williams7-8/+38
Fix TabFolder display issue, as well as pixbuf crashes due to cairo_image_surface_create() being fed incorrect parameters. Snippet76 no works as expected on GTK4 just as it does on GTK3. Change-Id: Ie1d3504eca532fdb9e33763c98434e33ca53be01 Signed-off-by: Eric Williams <ericwill@redhat.com>
2019-02-05Bug 544140: Endless calls to Tree.rendererGetPreferredWidthProc afterEric Williams3-8/+51
clicking on editable PropertySheetPage tree cell Only re-draw the headers of a Table/Tree widget when a scroll event has occurred. This narrows the use of gtk_widget_queue_draw() to the specific case that needs it. It also avoids triggering native callbacks as the enter Table/Tree does not need to be re-drawn. Tested using the Bug535978_TableEditorHeader snippet as well as the snippet attached to this bug report. A cursory check in the IDE yields no regressions. Change-Id: Ia1d4bdf9a55f83658b13cc8c64219efbd1175097 Signed-off-by: Eric Williams <ericwill@redhat.com>

Back to the top