Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2021-09-06v4946r21v4946r21cY20210914-1140Y20210914-1110Y20210914-0800Y20210913-0800Y20210912-0800Y20210911-0800Y20210910-0800Y20210909-0800Y20210908-0800Y20210907-0830Y20210907-0800Y20210906-0920S4_21_0_RC2aR4_21I20210906-0500R4_21_maintenanceEclipse Releng Bot1-1/+1
2021-09-06Bug 575778 - Using Alpha transparency and Pattern leads to ↵Nikita Nemkin1-0/+3
EXCEPTION_ACCESS_VIOLATION The fix for Bug 121220 assumes that all patterns are Image-based, leading to crashes when a gradient or solid color brush is passed to TextureBrush_GetImage. Change-Id: I2bd25e15ec29cbedda6f532414c30ea5b17abd93 Reviewed-on: https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/184471 Reviewed-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com> Reviewed-by: Niraj Modi <niraj.modi@in.ibm.com> Tested-by: Niraj Modi <niraj.modi@in.ibm.com>
2021-08-30v4946r21v4946r21bY20210904-0800Y20210902-0850Y20210902-0350Y20210901-0420Y20210831-0840S4_21_0_RC2I20210901-1800I20210901-0600I20210831-1800I20210831-0600I20210830-1800Eclipse Releng Bot1-1/+1
2021-08-30Bug 575713 - Fix 'JNIGeneratorApp all' to not search for missing stuffAlexandr Miloslavskiy1-3/+1
Signed-off-by: Alexandr Miloslavskiy <alexandr.miloslavskiy@syntevo.com> Change-Id: I838d75417a6283c4b0873e168e4b0e83ee77c4bd Reviewed-on: https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/184783
2021-08-27v4946r21v4946r21aS4_21_0_RC1aI20210830-0600I20210829-1800I20210829-0600I20210828-1800I20210828-0600I20210827-1800Eclipse Releng Bot1-1/+1
2021-08-27Bug 575563 - Close button disappears on empty Project ExplorerLars Vogel1-2/+6
Resets the color after the focus draw operation and restores the foreground and background color after the close drawing operation to avoid side effects in following drawing operations. Change-Id: I90fb506120e52ca60816abe4dc2199b840eda5cc Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com> Reviewed-on: https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/184446 Tested-by: Niraj Modi <niraj.modi@in.ibm.com> Reviewed-by: Niraj Modi <niraj.modi@in.ibm.com> Reviewed-by: Rolf Theunissen <rolf.theunissen@gmail.com> Reviewed-by: Thomas Wolf <thomas.wolf@paranor.ch>
2021-08-24v4946r21v4946r21Y20210826-0800Y20210824-0940Y20210824-0840S4_21_0_RC1I20210825-1800I20210825-0600I20210824-1800I20210824-0600Eclipse Releng Bot1-1/+1
2021-08-24v4946r21Eclipse Releng Bot3-4/+4
2021-08-24Revert "Bug 571401 - Make Transform lightweight and platform-independent"Nikita Nemkin18-186/+1250
This reverts commit b50f25cf21afe45c8699f4c4ed1878792d69bb8f and commit efd2de2d2141bd3a6e808f4a5a670499721c0af0. Change-Id: I5bcbaf5ce85e6e14446a5fadf166f98dedd70566 Reviewed-on: https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/184342 Tested-by: Niraj Modi <niraj.modi@in.ibm.com> Reviewed-by: Niraj Modi <niraj.modi@in.ibm.com>
2021-08-24Bug 575553 - [performance] cache CTabFolder backgroundImage boundsJoerg Kubitz1-11/+26
Change-Id: I22cf8b50da0af7a594f7a07430121f5d6b3de0ff Signed-off-by: Joerg Kubitz <jkubitz-eclipse@gmx.de> Reviewed-on: https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/184288 Tested-by: Niraj Modi <niraj.modi@in.ibm.com> Reviewed-by: Niraj Modi <niraj.modi@in.ibm.com>
2021-08-24Bug 575563 - Close button disappears on empty Project ExplorerRolf Theunissen1-0/+2
Sometimes the gc foreground is white, same as the tab background, then the close icon is not visible. Do not depend on the color of the gc, but use the system button border instead. Change-Id: I9e5892f7900c5c1e8498e0157cd8030d57a7b477 Signed-off-by: Rolf Theunissen <rolf.theunissen@gmail.com> Reviewed-on: https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/184322 Tested-by: Niraj Modi <niraj.modi@in.ibm.com> Reviewed-by: Niraj Modi <niraj.modi@in.ibm.com>
2021-08-23v4946r20v4946r20eI20210823-1800Eclipse Releng Bot1-1/+1
2021-08-23Bug 574639 - [performance] speed up Program.getPrograms()Joerg Kubitz1-6/+16
Call getProgram() in parallel to speed up eclipse start. Execute IEditorRegistryTest.testFindExternalEditor() for measurement. Parallel execution is more then twice as fast. Change-Id: I64b6470aca326e5008d6fc33d920812da1907528 Signed-off-by: Joerg Kubitz <jkubitz-eclipse@gmx.de> Reviewed-on: https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/184284 Tested-by: Niraj Modi <niraj.modi@in.ibm.com> Reviewed-by: Niraj Modi <niraj.modi@in.ibm.com>
2021-08-17v4946r20v4946r20dY20210822-0440Y20210820-0230Y20210819-0800Y20210819-0340Y20210818-0520Y20210817-1030S4_21_0_M3I20210823-0600I20210822-1800I20210822-0600I20210821-1800I20210821-0600I20210820-1800I20210818-1800I20210818-1250I20210818-0600I20210817-1840Eclipse Releng Bot1-1/+1
2021-08-17Bug 574685 part3 - [Table|Tree|CTabFolder|ToolBar|MenuItem] Dark themeNiraj Modi3-9/+10
Tool-Tips for MenuItem - Added Dark-theme Tool-Tip support for MenuItem Change-Id: I195dd15fe44e2beaebb1df034a19f3700ed9dced Signed-off-by: Niraj Modi <niraj.modi@in.ibm.com> Reviewed-on: https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/184134
2021-08-16v4946r20v4946r20cY20210817-0500I20210817-0600I20210816-1800Eclipse Releng Bot1-1/+1
2021-08-16Bug 575398 - CTabFolderRenderer: fix drawing the cross on Win32Thomas Wolf1-0/+9
Drawing without anti-aliasing on Win32 makes the red cross of the close button lopsided on non-HiDPI displays. With anti-aliasing turned on, Win32 manages to produce a nice looking symmetric cross. Change-Id: Ib61d54231e08321d9689ff66df565487b670c400 Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch> Reviewed-on: https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/184032 Tested-by: Andrey Loskutov <loskutov@gmx.de> Reviewed-by: Andrey Loskutov <loskutov@gmx.de>
2021-08-16Bug 575425 - [GTK] Cursor has reversed source and mask imagesAndrey Loskutov1-1/+1
Change-Id: Ifba491e0ff9d3630cd7b0a8a6220e96845f8a538 Signed-off-by: Andrey Loskutov <loskutov@gmx.de> Reviewed-on: https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/184068
2021-08-16v4946r20v4946r20bI20210816-0600Eclipse Releng Bot1-1/+1
2021-08-16Bug 574685 part2- [Table|Tree|CTabFolder|ToolBar] Tooltips on dark modeNiraj Modi2-3/+8
are hard to read - Improved ToolBar level tool-tip for dark theme - Minor refactoring in Table.java class Change-Id: Icaa52ac0aadd8cfd311546414ba5bf0ea782524c Signed-off-by: Niraj Modi <niraj.modi@in.ibm.com> Reviewed-on: https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/184058
2021-08-16Bug 574685 - [Table|Tree|CTabFolder] Tooltips on dark mode are hard toRolf Theunissen3-3/+13
read - Make tooltip backgrounds dark by marking all windows with AllowDarkModeForWindow and SetWindowTheme. Change-Id: Ia1920a4b238cc7ededfc3d3cd1884924e742716c Signed-off-by: Rolf Theunissen <rolf.theunissen@gmail.com> Also-by: Niraj Modi <niraj.modi@in.ibm.com> Reviewed-on: https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/183810 Tested-by: Niraj Modi <niraj.modi@in.ibm.com> Reviewed-by: Niraj Modi <niraj.modi@in.ibm.com>
2021-08-15v4946r20v4946r20aI20210815-1800Eclipse Releng Bot1-1/+1
2021-08-15Bug 575421 - [GTK] Button Image is not displayed with SWT.TOGGLE styleAndrey Loskutov1-1/+1
Fixed copy/paste issue from previous patch. In Button, we don't want to set images for SWT.ARROW flags, in ToolItem for SWT.SEPARATOR. Change-Id: I72266ce565a7059050d3158835979b8e2ca85362 Signed-off-by: Andrey Loskutov <loskutov@gmx.de> Reviewed-on: https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/184030
2021-08-13v4946r20v4946r20I20210815-0600I20210814-1800I20210814-0600I20210813-1800Eclipse Releng Bot1-1/+1
2021-08-13v4946r20Eclipse Releng Bot3-4/+4
2021-08-13Revert "Bug 568859 - [GTK] Avoid Cairo XCB surfaces to make ImageAndrey Loskutov7-13/+13
thread-agnostic" The original change caused regression, see bug 575402. This reverts commit 94219602a3ecaf70f0d9c72c94302c7e3ce79ad7. Change-Id: Iffcfb030bda6e750161cebd469e09961ac4906d7 Reviewed-on: https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/183997 Tested-by: Andrey Loskutov <loskutov@gmx.de> Tested-by: Platform Bot <platform-bot@eclipse.org> Reviewed-by: Andrey Loskutov <loskutov@gmx.de>
2021-08-13Bug 501491 - [Graphics] Replace custom drawing on close buttonLars Vogel1-31/+19
Eclipse's close button in non-hot mode looks should look close enough to whatever is used normally on the corresponding platform to not stick out. The current close button of CTabFolder fails by this measure, on all three platforms. Native look on Mac for closeable tabs appears to be a plain cross, as can be seen in the Finder's tabs. As hover effect, the background is made (in light mode) a darker gray. (Darker gray rectangle with rounded corners). Native look on Windows is also a plain cross, with the same hover effect. See for instance tabs in Microsoft Edge. Other web browsers seem to have converged on this same UI across platforms. On Windows 10, the shell close button is also such a thin plain cross, as hover effect, the button gets a glaringly red background. The tab close button's cross is smaller, but appears to use also in non-hot mode a slightly thicker lines. Native look on GTK/Adwaita on CentOS 7 for tabs appears to be also a plain cross, but with thicker lines, as can be seen for instance in gedit with multiple files open. As hover effect, the background becomes a brighter shade of gray. The shell close icon uses the same cross. Firefox uses the same cross and hover effect (darker gray) as on other platforms. This change updates the drawing of the close icon to look similar to the platform icons. It also moves closer to popular tools like the Chrome browser or development tools like VScode. Change-Id: Iddbb709c5f291a1e7a52b3e77c46da605d4ad8a8 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com> Reviewed-on: https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/183887 Tested-by: Platform Bot <platform-bot@eclipse.org>
2021-08-13v4946r19v4946r19aY20210813-0710Eclipse Releng Bot1-1/+1
2021-08-13Bug 566280 - [Win32][Dark theme] Table and Tree selection has differentRolf Theunissen1-1/+1
background color Windows Explorer Darkmode Theme uses different selections for the TreeView and the ListView, this causes the difference in selection color. Solution is to use the same class in boths cases. Change-Id: Iaab2f2324c57e4534ea90e89d2f2bdadf41f24dd Signed-off-by: Rolf Theunissen <rolf.theunissen@gmail.com> Reviewed-on: https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/183880 Tested-by: Platform Bot <platform-bot@eclipse.org> Tested-by: Lars Vogel <Lars.Vogel@vogella.com> Reviewed-by: Lars Vogel <Lars.Vogel@vogella.com>
2021-08-12v4946r19v4946r19I20210812-1800Eclipse Releng Bot1-1/+1
2021-08-12v4946r19Eclipse Releng Bot3-4/+4
2021-08-12Bug 575044 - [GTK4] Separate GTK3 & GTK4 native functions with sharedPaul D'Pong26-526/+401
Java class parameters - Final move - Moved the rest of the GTK3 & GTK4 functions to their respective files - Compilation works properly due to inclusion of os_structs in gtk3/gtk4.c files - Fixed type on gtk_widget_set_focusable parameter casting Change-Id: I1cdc2abda826c24e2a457c3472efd3acdd277a85 Signed-off-by: Paul D'Pong <sdamrong@redhat.com> Reviewed-on: https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/183906 Tested-by: Platform Bot <platform-bot@eclipse.org> Reviewed-by: Alexander Kurtakov <akurtako@redhat.com>
2021-08-12Bug 539524 - [GTK4] Port event handling to GtkEventControllerPaul D'Pong1-27/+30
- Limited gesture press/release & mouse motion events to the target widget (as in GTK3) - Removed coordinate conversion using mapInPixels, instead just using the given callback coordinates to sendMouseEvent(more testing required to see if this is required at all) - Fixed GTK4 gtk_widget_compute_point error every time mouse is moving - fixed by removing the mapInPixels function call Change-Id: I2dc34fbcd11dacf76d4255e7301eedf46f0f8dbf Signed-off-by: Paul D'Pong <sdamrong@redhat.com> Reviewed-on: https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/183706 Tested-by: Platform Bot <platform-bot@eclipse.org> Reviewed-by: Alexander Kurtakov <akurtako@redhat.com>
2021-08-12Bug 539524 - [GTK4] Port event handling to GtkEventControllerPaul D'Pong9-170/+216
- Added Javadoc on GTK4 callbacks in Widget.java - Added gtk4_enter_event, gtk4_leave_event, gtk4_scroll_event - Dedicated scrollProc as the "scroll" signal returns a boolean - Removed SCROLL signal handling from enterMotionScrollProc (and renamed to enterMotionProc) - Consolidated Callback binding in Display for GTK4 - With the introduction of the new GTK4 callbacks, transfer and removed old GTK4 event handling code to new callbacks Change-Id: Ica2eb0fd98c9bb1635a1f48ffbebaf2faba908ea Signed-off-by: Paul D'Pong <sdamrong@redhat.com> Reviewed-on: https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/183457 Tested-by: Platform Bot <platform-bot@eclipse.org> Reviewed-by: Alexander Kurtakov <akurtako@redhat.com>
2021-08-12[NO BUG] Spelling fix in test method namesThomas Wolf1-4/+4
"triple" = three times "tripple" = a horse's gait Change-Id: I3c8cf914903af8a26ff6bdd8b0d844dff047a439 Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch> Reviewed-on: https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/183891 Tested-by: Platform Bot <platform-bot@eclipse.org> Reviewed-by: Alexander Kurtakov <akurtako@redhat.com>
2021-08-12Bug 568859 - [GTK] Avoid Cairo XCB surfaces to make Image thread-agnosticNikita Nemkin7-13/+13
SWT Image and image GC are supposed to be thread-agnostic. gdk_window_create_similar_surface() creates Cairo surfaces backed by XCB surfaces. Operations on these surfaces require serializing all X11 display access. In the past this was accomplished by locking around GTK, GDK and Cairo functions, but this lock has been removed. Now, the only reasonable option is to avoid XCB surfaces altogether and use display-intependent Cairo image surfaces exclusively. Change-Id: Id3c600fdceab9925dffe9ab1b7747022e569b826 Signed-off-by: Nikita Nemkin <nikita@nemkin.ru> Reviewed-on: https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/172497 Tested-by: Platform Bot <platform-bot@eclipse.org> Reviewed-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
2021-08-12Bug 575375 - Update scm links in pom files to use https protocolSravan Kumar Lakkimsetti1-1/+1
Change-Id: I723e3418416d7526f5bd3bb0359b9578fb58d693 Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com> Reviewed-on: https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/183945
2021-08-12v4946r18v4946r18Y20210812-0800Eclipse Releng Bot1-1/+1
2021-08-12v4946r18Eclipse Releng Bot3-4/+4
2021-08-12Bug 574830 - [GTK4] Port DateTime widgetPaul D'Pong1-52/+103
- Added gtk4_key_press to allow for date & time traversal and increments with keyboard - Removed the commitData call (in the GTK4 key press callback) as it seems to be a redundant check on top of increment call - Introduced GTK4 only field, editableHandle to hold the handle of the GtkWidget which interfaces with GtkEditable (required in the DateTime widgets which allow for editing) - Some clean up & comments Change-Id: I086512f86d305b4d6d602908b165454d0404b68b Signed-off-by: Paul D'Pong <sdamrong@redhat.com> Reviewed-on: https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/183745 Tested-by: Platform Bot <platform-bot@eclipse.org> Reviewed-by: Alexander Kurtakov <akurtako@redhat.com>
2021-08-12Bug 575044 - [GTK4] Separate GTK3 & GTK4 native functions with sharedPaul D'Pong37-1163/+1110
Java class parameters - Moved GTK3 only structs to org.eclipse.swt.internal.gtk3 package - Moved related functions to GTK3.java in order to compile successfully - Removed #ifndef guards in os.h related to these functions Change-Id: Ia8093c5475c1f0b3f9f21179f4659dfe97f2dab8 Signed-off-by: Paul D'Pong <sdamrong@redhat.com> Reviewed-on: https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/183409 Tested-by: Platform Bot <platform-bot@eclipse.org> Reviewed-by: Alexander Kurtakov <akurtako@redhat.com>
2021-08-11v4946r17v4946r17aI20210811-1800Eclipse Releng Bot1-1/+1
2021-08-11Bug 571401 - Fix DPI scaling in pure Java Transform implementationNikita Nemkin1-11/+18
Change-Id: I395a9021f5e3974b4b4dfc4c87e77c10e0fa5f18 Reviewed-on: https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/183886 Tested-by: Platform Bot <platform-bot@eclipse.org> Reviewed-by: Nikita Nemkin <nikita@nemkin.ru>
2021-08-10v4946r17v4946r17I20210810-1800Eclipse Releng Bot1-1/+1
2021-08-10v4946r17Eclipse Releng Bot3-4/+4
2021-08-10Bug 575044 - [GTK4] Separate GTK3 & GTK4 native functions with sharedPaul D'Pong11-31/+33
Java class parameters - Changed NativesGeneration to only add os_structs.h when generating gtk3 or gtk4 (before it would generate in the atk file which is incorrect) - This patch include the added include in the gtk3.c & gtk4.c file - Moved gtk_menu_popup_at_rect to test if building works correctly with this new change Change-Id: I5d57e45a3eef681559be59d7527d1cd394a9bfb4 Signed-off-by: Paul D'Pong <sdamrong@redhat.com> Reviewed-on: https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/183855 Tested-by: Platform Bot <platform-bot@eclipse.org> Reviewed-by: Alexander Kurtakov <akurtako@redhat.com>
2021-08-10v4946r16v4946r16lY20210810-0820Eclipse Releng Bot1-1/+1
2021-08-10Bug 575044 - [GTK4] Separate GTK3 & GTK4 native functions with sharedPaul D'Pong1-0/+6
Java class parameters - Added check & #include in NativesGenerator which account for generation of GTK version dependent natives that need common structures such as GdkRectangle, GtkBorder, etc which are stored in os_struct.h Change-Id: Iff60b7b98f0be3e1b1af2a666e9740fdd5f372e6 Signed-off-by: Paul D'Pong <sdamrong@redhat.com> Reviewed-on: https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/183385 Tested-by: Platform Bot <platform-bot@eclipse.org> Reviewed-by: Alexander Kurtakov <akurtako@redhat.com>
2021-08-10[Minor] Updating Snippet245 to use var for local variablesLars Vogel1-2/+2
This shortens the code a little bit and removes SonarLint warnings. Change-Id: Ib85fd27decf56799fe94706ffc02f3ae014ff39e Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2021-08-10v4946r16v4946r16kY20210810-0500Eclipse Releng Bot1-1/+1

Back to the top