Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2021-01-15Remove i386 and ppc code from os.h. Add comments from STRUCT_SIZE_LIMITmac_arm64Lakshmi Shanmugam1-13/+5
Change-Id: Ibbd2e5a4da6fb67ed3161fb9653c613b0a9b0ba2 Signed-off-by: Lakshmi Shanmugam <lshanmug@in.ibm.com>
2021-01-14Check MODEL for arm64 and x86_64 in build.shLakshmi Shanmugam1-8/+15
Change-Id: I995d433283fbbaa87b00bb7c960220d736bf3ce7
2021-01-07Build for mac arm64 architectureLakshmi Shanmugam2-11/+15
Specify arch arm64. objc_msgSend_stret and objc_msgSendSuper_stret are not available on arm64, replace with objc_msgSend and objc_msgSendSuper respectively. Change-Id: I71238926d0196c2bcd3d1f60c38f69f29c30d4ab
2021-01-07Revert "Build for arm64 architecture"I20210108-0220Lakshmi Shanmugam2-15/+11
This reverts commit 370002af4d3b84489a60e8b61197c1ef6db92959. Change-Id: If21835bdf25ae00b3bc6207c47dfe9466003f688 Signed-off-by: Lakshmi Shanmugam <lshanmug@in.ibm.com>
2021-01-07Build for arm64 architectureLakshmi Shanmugam2-11/+15
Specify arch arm64. objc_msgSend_stret and objc_msgSendSuper_stret are not available on arm64, replace with objc_msgSend and objc_msgSendSuper respectively. Change-Id: I71238926d0196c2bcd3d1f60c38f69f29c30d4ab
2021-01-05v4942r9v4942r9dS4_19_0_M1I20210106-1800I20210106-0600I20210105-1800Eclipse Releng Bot1-1/+1
2021-01-05Bug 569752 - don't record stacks for ColorsAndrey Loskutov1-1/+1
Avoids some unneeded overhead, since Color's aren't tracked. Change-Id: I54565a1603f830643471cbdb11b1b36fbb9f5a09 Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
2021-01-04v4942r9v4942r9cY20210105-1200I20210105-0600I20210104-1800I20210104-0600Eclipse Releng Bot1-1/+1
2021-01-04Use String.join() in SWT toolsCarsten Hammer6-17/+6
Change-Id: Ib8245fb17ae64483f818d38021f13b93be186d83 Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de>
2021-01-01v4942r9v4942r9bI20210103-1800I20210103-0600I20210102-1800I20210102-0600I20210101-1800Eclipse Releng Bot1-1/+1
2021-01-01Bug 569707 - [GTK] JVM terminates with SIGTRAP on display.post(SWT.KeyDown)Alexandr Miloslavskiy2-26/+123
Fixed multiple problems: 1) If a focused window was not found, reference was not added to the result of 'gdk_get_default_root_window()' which caused it to lose its last reference and cause JVM to die on SIGTRAP. 2) If a focused window was not found, root window was returned. To my understanding, sending events to this window is pointless. It also rendered 'if (gdkWindow == 0)' condition to be dead. 3) Focused window was searched and a reference was added even if the event is a mouse event, which uses its own logic for finding the window. This caused a memory leak due to an incorrectly added reference. It could also cause mouse event to be skipped if there is no focused window. Change-Id: I8efd0166bda4f884a021e37eb285a3a696ade901 Signed-off-by: Alexandr Miloslavskiy <alexandr.miloslavskiy@syntevo.com>
2021-01-01Bug 569647 - [GTK] Memory leak related to GesturesAlexandr Miloslavskiy2-0/+72
Change-Id: I019a3b4a4a45b777285824f232feef86907adb1a Signed-off-by: Alexandr Miloslavskiy <alexandr.miloslavskiy@syntevo.com>
2021-01-01Bug 569752 - Fix Font leak in CTabFolder.setFont()Alexandr Miloslavskiy2-2/+9
Change-Id: I4b6e99f1f1c1dc302e220064d29430f74799c096 Signed-off-by: Alexandr Miloslavskiy <alexandr.miloslavskiy@syntevo.com>
2021-01-01v4942r9v4942r9aY20210101-1200I20210101-0720Eclipse Releng Bot1-1/+1
2021-01-01Bug 569752 - Detect non disposed OS resources via Object.finalize()Alexandr Miloslavskiy11-5/+228
New "org.eclipse.swt.graphics.Resource.reportNonDisposed" system property is added that can be used to track not disposed resources: - if set to "true", SWT will report not disposed SWT resource without allocating exception at SWT resource creation time. - if set to "stacks", SWT will aditionally report the stack recorded at resource creation time. A custom NonDisposedReporter can be added to customize how not disposed SWT resources should be reported. Note: Fonts created from native handle are ignored because they don't own the handle and can't be disposed. Same for Region on macOS. Change-Id: I3bfdc9d5b41eba2cac5f187ea1fe771f9ff36750 Signed-off-by: Alexandr Miloslavskiy <alexandr.miloslavskiy@syntevo.com>
2020-12-26v4942r9v4942r9Y20201229-1200Y20201229-0040I20201231-1800I20201230-2150I20201230-1800I20201229-1800I20201228-1800I20201227-1800I20201226-1800Eclipse Releng Bot1-1/+1
2020-12-26v4942r9Eclipse Releng Bot3-4/+4
2020-12-26Bug 569646 - [GTK4] Clean up GTK4 compile warnings - GtkWindowPaul D'Pong2-12/+30
Change-Id: Ibf8c349b9b81eb8330e6d9f9694ddbae46b4c3c5 Signed-off-by: Paul D'Pong <sdamrong@redhat.com>
2020-12-26Bug 568185 - [GTK4] Port SWT Tree snippetsPaul D'Pong2-37/+51
- Fixed crashes related to createRenderers Change-Id: Icdaa6d8a392677919c7b214e6223576112f62e2e Signed-off-by: Paul D'Pong <sdamrong@redhat.com>
2020-12-24v4942r8v4942r8Y20201225-1200I20201226-0940I20201225-1800I20201225-0450I20201225-0130I20201224-1800Eclipse Releng Bot1-1/+1
2020-12-24v4942r8Eclipse Releng Bot3-4/+4
2020-12-24Bug 569636 - [GTK4] Correctly get the surface cursor positionPaul D'Pong5-41/+41
- Change getSurfacePointerPosition to getPointerPosition as it is no longer surface dependent - getPointerPosition now correctly gets the pointer position, before would return (-1, -1) Change-Id: Ic614e63767f5017c97fa67c37269713b8ad32b86 Signed-off-by: Paul D'Pong <sdamrong@redhat.com>
2020-12-24Bug 569646 - [GTK4] Clean up GTK4 compile warningsPaul D'Pong16-130/+190
Change-Id: I1cd6fa9f0eb16476657c79aa64617ee7f85d2325 Signed-off-by: Paul D'Pong <sdamrong@redhat.com>
2020-12-23v4942r7v4942r7I20201223-1800Eclipse Releng Bot1-1/+1
2020-12-23v4942r7Eclipse Releng Bot3-4/+4
2020-12-23Bug 569793 - [GTK4] Upgrade GTK4 version to 4.0Paul D'Pong8-9/+71
- Updated to GTK 4.0 official major release - Added new GTK4 major/minor/macro constants - Added gtk_window_set_default_size & gtk_window_get_default_size to replace gtk_window_get_size & gtk_window_resize Change-Id: Idf1252d487a3b89c4fafb0527498145afe382761 Signed-off-by: Paul D'Pong <sdamrong@redhat.com>
2020-12-22v4942r6v4942r6Y20201222-1200I20201222-1800Eclipse Releng Bot1-1/+1
2020-12-22v4942r6Eclipse Releng Bot3-4/+4
2020-12-22Bug 569872 - [GTK] compilation error using DEBUG_CALL_PRINTSSravan Kumar Lakkimsetti1-1/+2
Change-Id: I7320e17fa8591c970cca0e144f04f55e4ebec003 Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
2020-12-22Bug 569750 - Terminate button doesn't change state for process that isChristoph Läubrich1-6/+13
terminated at breakpoint - Set gtk_widget_set_sensitive before updating the image - If a disabledImage is set or the image itself changes the default generated disabled image must be disposed Change-Id: I5fc8b3ce0e57264746861589ca2f3631a238d60b Signed-off-by: Christoph Läubrich <laeubi@laeubi-soft.de>
2020-12-22Bug 569853 - reverted build file change causing crash on native dialogAndrey Loskutov1-1/+1
Change on the build script was required to compile callback.c with #define DEBUG_CALL_PRINTS for debug output. Turned out, this change compiles something that GTK code can't understand & so it crashes with SIGSEGV on opening native file dialog. # Problematic frame: # C [libglib-2.0.so.0+0x39757] g_path_is_absolute+0x7 Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) j org.eclipse.swt.internal.gtk.GTK.gtk_file_chooser_set_current_folder(JJ)V+0 j org.eclipse.swt.widgets.FileDialog.presetChooserDialog()V+599 j org.eclipse.swt.widgets.FileDialog.openNativeChooserDialog()Ljava/lang/String;+104 j org.eclipse.swt.widgets.FileDialog.open()Ljava/lang/String;+1 j org.eclipse.ui.internal.ide.actions.OpenLocalFileAction.run()V+35 j org.eclipse.ui.internal.ide.actions.OpenLocalFileAction.run(Lorg/eclipse/jface/action/IAction;)V+1 Change-Id: I225525d41c41ae90e9f8e30eb53baae18f527634 Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
2020-12-21v4942r5v4942r5I20201221-1800Eclipse Releng Bot1-1/+1
2020-12-21v4942r5Eclipse Releng Bot3-4/+4
2020-12-21Bug 569853 - jstack crashes Eclipse when running on Java 11Simeon Andreev4-24/+13
1) Always call DetachCurrentThread if AttachCurrentThreadAsDaemon was called before, see https://docs.oracle.com/javase/8/docs/technotes/guides/jni/spec/invocation.html#detaching_from_the_vm. 2) Specify JNI 1.4 version in JNI_OnLoad, see https://docs.oracle.com/en/java/javase/11/docs/specs/jni/invocation.html#jni_onload 3) Added printf around attach/detach for easier debugging. 4) Fixed build.sh to allow c99 standard for the for loop defined in DEBUG_CALL_PRINTS and resolve compilation error below if DEBUG_CALL_PRINTS is enabled: callback.c:1252:3: error: 'for' loop initial declarations are only allowed in C99 mode Main change is 1), it is a workaround for jstack / JVM bug described in https://bugzilla.redhat.com/show_bug.cgi?id=1897150 Change-Id: I3ba32d9bef217e5ffc76b8802e7e59de503a2161
2020-12-18v4942r4v4942r4eY20201218-1200I20201220-1800I20201219-1800I20201218-1800Eclipse Releng Bot1-1/+1
2020-12-17v4942r4v4942r4dI20201217-1800Eclipse Releng Bot1-1/+1
2020-12-17Bug 550958 - [Cocoa] Table loses header after .setParent() to invisible ↵Alexandr Miloslavskiy12-0/+2367
Composite The new QuartzCore.bridgesupport file was generated on macOS 10.11 to match Bug 514191 Change-Id: I02b2f542f0cd41127eff6d725414ddcdc95e6807 Signed-off-by: Alexandr Miloslavskiy <alexandr.miloslavskiy@syntevo.com>
2020-12-11v4942r4v4942r4cY20201215-1200I20201216-2110I20201215-1800I20201214-1800I20201213-1800I20201212-1800I20201211-1800Eclipse Releng Bot1-1/+1
2020-12-11Bug 569550 - Rendering vert.indent keeps caret position unchangedMickael Istria2-7/+46
Fix case when the vertical indent happens on some non-visible line. Change-Id: Iaf3780a7b9fcb5750410137cb7d3bcadff64d046 Signed-off-by: Mickael Istria <mistria@redhat.com>
2020-12-10v4942r4v4942r4bY20201211-1200I20201210-1800Eclipse Releng Bot1-1/+1
2020-12-10Bug 569550 - Rendering vert.indent keeps caret position unchangedMickael Istria2-12/+44
When adding some vertical spacing, try to 1. keep the current visible line with caret unmoved, and, 2. if caret not visible, move either line above or below the spacing, picking the least amount of lines moved. Change-Id: I97a48293fd92d219706bb20268c6964e198bae3c Signed-off-by: Mickael Istria <mistria@redhat.com>
2020-12-10Bug 569626 - [StyledText] variable line height moves visible areaMickael Istria3-12/+22
Maintain the topIndexY value also in fixed line height mode so it's properly set later when variable height is triggered. Change-Id: Ie1ac29afbe85efb404665e63761f916081fe00e0 Signed-off-by: Mickael Istria <mistria@redhat.com>
2020-12-10Bump SWT tests version + Move to Java 11Mickael Istria4-11/+26
Change-Id: Id41dd4c0a0a9e562368b3d83284ec4317f845d7b Signed-off-by: Mickael Istria <mistria@redhat.com>
2020-12-10Bug 569593 - [Cocoa] rename 'Manual Tests' folderAlexandr Miloslavskiy2-1/+1
Change-Id: I5014ea8d96d14e7994add06f688aeffd84d2657c Signed-off-by: Alexandr Miloslavskiy <alexandr.miloslavskiy@syntevo.com>
2020-12-10Bug 569529 - [Cocoa] Link and multi-line Text hog CPU in dark themeAlexandr Miloslavskiy3-42/+249
The key change is to use 'lastAppAppearance' to avoid endless redraws. Tests for 'APPEARANCE.Dark' were removed in anticipation of fixing 'OS.setTheme()' to be able to switch theme dynamically. I understand that colors need to be updated again when switching fro mDark to Light. Colors are updated *before* calling 'super', because it's only reasonable to do the drawing with new colors already. 'Text.drawBackground()' is called from 'Text.drawRect()', so it doesn't need a color adjustment of its own. Change-Id: If504c4dd5da1a0984f75829e81efa507d41763d4 Signed-off-by: Alexandr Miloslavskiy <alexandr.miloslavskiy@syntevo.com>
2020-12-08v4942r4v4942r4aY20201209-0750Y20201208-1200I20201209-1800I20201208-2310I20201208-1800I20201208-0300Eclipse Releng Bot1-1/+1
2020-12-08Bug 568641 - [GTK] IAE in GC.drawImage when switching screen DPIPaul D'Pong1-36/+52
- Image.getBounds now takes into account if we are using cairo auto scaling - Image.init(ImageData) & Image.initNative now scale the width and height of the Image object to user coordinate (100% scale factor). Note that the cairo surface is still being initalized to the full dimensions given and the device_scale is set appropriately to reflect that as well. Change-Id: Ia8724098e7711772919dba49c25e27ffe3e09d5f Signed-off-by: Paul D'Pong <sdamrong@redhat.com>
2020-12-04v4942r4v4942r4I20201207-1800I20201206-1800I20201205-1800I20201204-1800Eclipse Releng Bot1-1/+1
2020-12-04v4942r4Eclipse Releng Bot3-4/+4
2020-12-04Bug 567138 - [GTK4] Get ToolBar/ToolItem snippets to runPaul D'Pong5-22/+83
Change-Id: I4b164e168907b73c2de24f8dfbb7eb7647bb5326 Signed-off-by: Paul D'Pong <sdamrong@redhat.com>

Back to the top