Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | HowToBuild: Add back multiarch i386 on amd64 section for Debian 11 | Sven Gothel | 2023-01-24 | 1 | -0/+19 |
| | |||||
* | TestDisplayLifecycle01NEWT: Invisible window might have been moved away ↵ | Sven Gothel | 2023-01-23 | 4 | -9/+26 |
| | | | | (Windows 10) | ||||
* | tests-x64.bat: Use absolute path for LIB_DIR (commented out, using jars) | Sven Gothel | 2023-01-23 | 1 | -1/+1 |
| | |||||
* | Remove Windows dll-rename, adopting to cpptasks.jar change | Sven Gothel | 2023-01-23 | 4 | -44/+0 |
| | |||||
* | Execute AWT's Frame.setTitle() on AWT-EDT if already visible (avoid rare ↵ | Sven Gothel | 2023-01-22 | 5 | -15/+44 |
| | | | | deadlock) | ||||
* | TestSharedContextVBOES2SWT3: Remove unused import | Sven Gothel | 2023-01-22 | 1 | -1/+0 |
| | |||||
* | SWTAccessor.invokeOnOSTKThread(): Fix comment .. | Sven Gothel | 2023-01-22 | 1 | -2/+1 |
| | |||||
* | build-test.xml junit.run.swt.awt: Add missing 'jvmarg.generic' | Sven Gothel | 2023-01-22 | 1 | -0/+1 |
| | |||||
* | MacOSXCGLContext: Fix typo in DEBUG output | Sven Gothel | 2023-01-22 | 1 | -10/+10 |
| | |||||
* | MacOSXCGLContext: Enable DEBUG1398 explicitly w/o debugAll() | Sven Gothel | 2023-01-22 | 1 | -1/+1 |
| | |||||
* | jogl's Debug.class: Add explicit debugNotAll(..) variant to skip debugAll() | Sven Gothel | 2023-01-22 | 1 | -1/+5 |
| | |||||
* | Workaround MacOS + SWT 4.26: java.lang.NullPointerException: Cannot invoke ↵ | Sven Gothel | 2023-01-22 | 5 | -70/+151 |
| | | | | | | | | | | | | | | | | | | | | | | | | | "org.eclipse.swt.internal.cocoa.NSGraphicsContext.saveGraphicsState()" because "context" is null On MacOS 12+ and SWT 4.26 while not using AWT (-Djava.awt.headless=true, -XstartOnFirstThread), we recently get the following Exception from SWT (suppressed): java.lang.NullPointerException: Cannot invoke "org.eclipse.swt.internal.cocoa.NSGraphicsContext.saveGraphicsState()" because "context" is null at org.eclipse.swt.widgets.Widget.drawRect(Widget.java:764) at org.eclipse.swt.widgets.Canvas.drawRect(Canvas.java:170) at org.eclipse.swt.widgets.Display.windowProc(Display.java:6287) at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method) at org.eclipse.swt.widgets.Display.applicationNextEventMatchingMask(Display.java:5565) at org.eclipse.swt.widgets.Display.applicationProc(Display.java:5965) at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method) at org.eclipse.swt.internal.cocoa.NSApplication.nextEventMatchingMask(NSApplication.java:92) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3983) at com.jogamp.opengl.test.junit.util.SWTTestUtil$WaitAction$1.run(SWTTestUtil.java:52) at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:183) at org.eclipse.swt.widgets.Display.syncExec(Display.java:5250) at com.jogamp.opengl.test.junit.util.SWTTestUtil$WaitAction.run(SWTTestUtil.java:63) at com.jogamp.opengl.test.junit.jogl.acore.TestSharedContextVBOES2SWT3.test02AsyncEachAnimator(TestSharedContextVBOES2SWT3.java:376) This is not observed if running using AWT (-Djava.awt.headless=false). | ||||
* | Add scripts/run-test-until-crash.sh: Used to stress test one unit test (for ↵ | Sven Gothel | 2023-01-22 | 1 | -0/+54 |
| | | | | sporadic crashes) | ||||
* | scripts/tests*.sh: Put 'ulimit -c unlimited' in root script | Sven Gothel | 2023-01-22 | 3 | -6/+5 |
| | |||||
* | AWTRobot.getClickTimeout(): NEWT Case: Return maximum(AWT, NEWT), otherwise ↵ | Sven Gothel | 2023-01-22 | 2 | -18/+43 |
| | | | | we see click-count 2 on MacOS 12 | ||||
* | Test MouseAdapter: Use volatile qualifier to avoid reading too old values | Sven Gothel | 2023-01-22 | 2 | -6/+6 |
| | |||||
* | Minor auto formatting: @Override, .. | Sven Gothel | 2023-01-22 | 4 | -5/+38 |
| | |||||
* | MacOS: JAWTWindow: Complete MacOS 12+ SIGSEGV JAW Crash Fix; This: Destroy ↵ | Sven Gothel | 2023-01-22 | 1 | -5/+12 |
| | | | | | | | | | | | | | | | NSWindow on MacOS main-thread Destroy NSWindow on MacOS main-thread, avoiding spurious more rare SIGSEGV on MacOS 13/aarch64 This closes the MacOS 12+ SIGSEGV JAWT (CALayer) crash fix, see commits: - 4009198e34b50bba9582be24f33eaf83b94a2cb8 - 3c4cf1f37dc27d8d527804d195361a2287575147 - d969f473fdc72c6ca95f1796ff5af3f0c8bd51b6 - 81f395975c06a66183ad36cc43e8dc9bc7f4545b - b8977465b2fb8452c2560a5d2561b2561472edf0 - 470a0ff3a2efbe43404d5f80a403efb38005598a - 9829550f5bcb586f94f98f6d3c39f4d78fd78f3b | ||||
* | MacOS: JAWTWindow.invalidateNative(): Use copied references in off-thread ↵ | Sven Gothel | 2023-01-22 | 1 | -10/+12 |
| | | | | | | operations and zero source references upfront. Have user being aware of disposal then triggered and not later when performed on MacOS main-thread | ||||
* | MacOS: JAWTWindow's OffscreeLayer: Show semantics in argument names and ↵ | Sven Gothel | 2023-01-22 | 2 | -17/+19 |
| | | | | complete null checks in detachSurfaceLayerImpl(), setSurfaceScale() | ||||
* | MacOS: JAWTWindow.layoutSurfaceLayerImpl(): Perform ↵ | Sven Gothel | 2023-01-22 | 2 | -6/+14 |
| | | | | OSXUtil.FixCALayerLayout() on main thread and hence fetch and validate getAttachedSurfaceLayer() when needed | ||||
* | OSXMisc.m: Show semantics: caLayer -> rootCALayer | Sven Gothel | 2023-01-22 | 1 | -15/+14 |
| | |||||
* | MacOSXCGLContext.AttachGLLayerCmd: Allow DetachGLLayerCmd to revoke the ↵ | Sven Gothel | 2023-01-21 | 1 | -5/+11 |
| | | | | | | | | attach command, essential if attach hasn't been done yet @ detach Otherwise a pending attach would still pass through after DetachGLLayerCmd releases the sync-lock from AttachGLCmd. DetachGLCmd also tests 0 != nsOpenGLLayer | ||||
* | JAWTWindow.ctor: Initialize offscreenSurfaceLayer before use | Sven Gothel | 2023-01-21 | 1 | -1/+1 |
| | |||||
* | JAWTWindow.invalidateNative() and .detachSurfaceLayerImpl(): Pass copy of ↵ | Sven Gothel | 2023-01-21 | 4 | -15/+17 |
| | | | | offscreenSurfaceLayer for pending off-thread operation and immediately zero reference marking its future destruction. | ||||
* | TestSharedContextVBOES2NEWT5: Try harder having the objects destroyed and ↵ | Sven Gothel | 2023-01-21 | 2 | -7/+17 |
| | | | | | | taken from the GLContextShareSet map The objects were more sticky on my MacOS 12 x86_64 machine, this double GC w/ sleep 100ms resolved it. | ||||
* | Isolate SWT from core nativewindow; Android apk shall only include core ↵ | Sven Gothel | 2023-01-20 | 4 | -7/+19 |
| | | | | nativewindow and the android specific jogl parts (make d8 'dex'ing' happy) | ||||
* | Don't import conditional platform specific 'static' code but fully qualify ↵ | Sven Gothel | 2023-01-20 | 2 | -43/+23 |
| | | | | names when in use, make Android d8 (Dex'ing) happy | ||||
* | check-java-major-version.sh: Use unique output to validate one class version ↵ | Sven Gothel | 2023-01-20 | 1 | -3/+4 |
| | | | | used (52 for Java8) | ||||
* | Test: Linux: Disable automatic tests (TBD, WIP) | Sven Gothel | 2023-01-18 | 1 | -17/+31 |
| | |||||
* | Test: MacOS: Disable automatic tests (TBD, WIP) | Sven Gothel | 2023-01-18 | 3 | -0/+47 |
| | |||||
* | MacOSXCGLDrawableFactory.canCreateGLPbuffer(): Disabled for MacOS >= 12, ↵ | Sven Gothel | 2023-01-18 | 1 | -2/+5 |
| | | | | here > 10.14.0 (Mojave) | ||||
* | MacOSXCGLContext: Avoid data race on lastSetNSViewCmd, use local copy like ↵ | Sven Gothel | 2023-01-18 | 1 | -3/+4 |
| | | | | in madeCurrent | ||||
* | Disable oculusvr-sdk for MacOS aarch64, fails to build | Sven Gothel | 2023-01-18 | 1 | -2/+2 |
| | |||||
* | JAWTWindow: Constrain AppContextInfo creation where offscreen layer is ↵ | Sven Gothel | 2023-01-18 | 2 | -2/+13 |
| | | | | supported (MacOS only) | ||||
* | JAWTWindow: Remove java.applet.Applet detection .. it's gone :-( | Sven Gothel | 2023-01-18 | 1 | -8/+12 |
| | |||||
* | NewtCanvasSWT: Drop all newtChild.getDelegatedWindow() debug output due to: ↵ | Sven Gothel | 2023-01-17 | 1 | -10/+10 |
| | | | | null com.jogamp.newt.swt.NewtCanvasSWT.access$200(com.jogamp.newt.swt.NewtCanvasSWT) | ||||
* | Test*NewtEventModifiers*: Ensure SWT is initialized before AWT | Sven Gothel | 2023-01-17 | 5 | -25/+66 |
| | |||||
* | build-test: Add jvmarg.modules for jvm [11..17) and jvm>=17 | Sven Gothel | 2023-01-17 | 1 | -0/+30 |
| | | | | | jvm11: --illegal-access=warn jvm17: --add-opens java.desktop/sun.awt=ALL-UNNAMED --add-opens java.desktop/sun.java2d=ALL-UNNAMED | ||||
* | MacOS build-oculusvr: Add arm64 | Sven Gothel | 2023-01-17 | 1 | -0/+2 |
| | |||||
* | Realign HowToBuild w/ GlueGen (Debian 11, Windows) | Sven Gothel | 2023-01-17 | 1 | -51/+15 |
| | |||||
* | Bump oculusvs-sdk, fixed warning | Sven Gothel | 2023-01-17 | 1 | -0/+0 |
| | |||||
* | JAR: Add Jar module parameter 'Add-Opens: java.desktop/sun.awt ↵ | Sven Gothel | 2023-01-17 | 9 | -0/+9 |
| | | | | java.desktop/sun.java2d', preparation for potential future Java17+ Jar Module | ||||
* | Update test scripts: Use Java17 module jvm args: --add-opens ↵ | Sven Gothel | 2023-01-17 | 15 | -176/+37 |
| | | | | java.desktop/sun.awt=ALL-UNNAMED --add-opens java.desktop/sun.java2d=ALL-UNNAMED | ||||
* | Build: Add swt.jar definition for MacOS aarch64 | Sven Gothel | 2023-01-17 | 1 | -8/+3 |
| | |||||
* | SWTTestUtil: Add WaitAction2, using the EDTUtil to dispatch the ↵ | Sven Gothel | 2023-01-16 | 2 | -6/+43 |
| | | | | display.readAndDispatch() wait action (experimental) | ||||
* | SWT+AWT: Ensure SWTAccessor gets called before AWT initialization on GTK/X11 ↵ | Sven Gothel | 2023-01-16 | 2 | -8/+63 |
| | | | | to avoid "cannot register existing type 'GdkDisplayManager'" and subsequent SIGSEGV | ||||
* | SWT tests on MacOS (w/o AWT) require '-XstartOnFirstThread' JVM argument, ↵ | Sven Gothel | 2023-01-16 | 2 | -1/+9 |
| | | | | else they crash. | ||||
* | TestNewtCanvasSWTGLn: Only dispose canvas1 at end of test, if not yet ↵ | Sven Gothel | 2023-01-16 | 1 | -16/+29 |
| | | | | disposed (manual test case) | ||||
* | NewtCanvasSWT: Remove certain DEBUG output causing an exception | Sven Gothel | 2023-01-16 | 1 | -2/+4 |
| | | | | Cannot invoke "com.jogamp.newt.Window.getDelegatedWindow()" because the return value of "com.jogamp.newt.swt.NewtCanvasSWT.access$200(com.jogamp.newt.swt.NewtCanvasSWT)" is null |