Skip to content
The Jenkins Controller is preparing for shutdown. No new builds can be started.
Success

Changes

Summary

  1. Fix regression of commit 4dd44b985fe0541be3a3bcd9045d201ed3ca2cc5: (details)
  2. etc/profile.jogl: Fix OpenIndiana ARCH i86pc -> x86 (used currently for (details)
  3. Complete commit 541bcc1eecc50656392e1fec1a27b08ab78eceff (SWT version (details)
  4. Fix etc/test_dbg.sh: Missing jogl.all.jar -> jogl-all.jar (details)
  5. SWT Solaris x86 files: Use version 4.2, 4.3.0-M3 fails, see README.txt (details)
  6. SWTAccessor: Add SWT 4.3's X11-GTK version adaption (2.14, 2.24, 3.0) (details)
  7. TestSWTJOGLGLCanvas01GLn: Use display.syncExec(..) where possible, add (details)
  8. SWT GLCanvas: Fix dispose bug, check for isDisposed() and add (details)
  9. NewtCanvasSWT: Add DisposeListener (details)
  10. Bug628: Adding unit-test 'TestNewtCanvasSWTBug628ResizeDeadlock' (details)
  11. Simplify NEWT EDTUtil invoke: To start EDT Runnable maybe null - start (details)
  12. Fix NewtCanvasSWT's newtChild usage: Only use set newtChild if it's (details)
  13. NEWT WindowImpl: Don't issue native resize if invisible, simply use (details)
  14. NEWT WindowImpl fixes: surfaceLockCount-- if native lock fails; (details)
  15. Fix Bug 643: SWT 'display.asyncExec(Runnable runnable)' runnable not (details)
  16. NEWT EDTUtil: Simplify running state (default is running @ (details)
  17. SWT GLCanvas/NewtCanvasSWT: Check isVisible() @ validation; (details)
  18. Fix GLDrawableHelper invokeGLImpl(..): Only attempt to release context (details)
Commit 2542e21e3c0276f82aba0010220fc9c58fb51202 by Sven Gothel
Fix regression of commit 4dd44b985fe0541be3a3bcd9045d201ed3ca2cc5: Setting 'sendReshape' for onscreen drawables as well.
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/swt/GLCanvas.java (diff)
Commit c5abdedc7944dd9eff39800a8fd4e4f0dadd8b9a by Sven Gothel
etc/profile.jogl: Fix OpenIndiana ARCH i86pc -> x86 (used currently for SWT tests only)
The file was modifiedetc/profile.jogl (diff)
Commit c2425664dd28479483a6c761f52ad709a6e25977 by Sven Gothel
Complete commit 541bcc1eecc50656392e1fec1a27b08ab78eceff (SWT version bump 3.7.1 -> 4.3.0-M3): gtk-freebsd-x86_64 is still on 3.7.1
The file was addedmake/lib/swt/gtk-freebsd-x86_64/README.txt (diff)
Commit 90b59f265a227ab36d307195628f25356b5ce731 by Sven Gothel
Fix etc/test_dbg.sh: Missing jogl.all.jar -> jogl-all.jar
The file was modifiedetc/test_dbg.sh (diff)
Commit c89255427102a3b71cdc82ed4b7284931b00dfa9 by Sven Gothel
SWT Solaris x86 files: Use version 4.2, 4.3.0-M3 fails, see README.txt
The file was modifiedmake/lib/swt/gtk-solaris-x86/swt-debug.jar (diff)
The file was addedmake/lib/swt/gtk-solaris-x86/README.txt (diff)
Commit 6497cfa578b3ea5222678de930bb335e30794c7b by Sven Gothel
SWTAccessor: Add SWT 4.3's X11-GTK version adaption (2.14, 2.24, 3.0)
The file was modifiedsrc/nativewindow/classes/com/jogamp/nativewindow/swt/SWTAccessor.java (diff)
Commit beb11947fb16dd5549b2e1b1383f95e30178bf0a by Sven Gothel
TestSWTJOGLGLCanvas01GLn: Use display.syncExec(..) where possible, add Animator
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/jogl/swt/TestSWTJOGLGLCanvas01GLn.java (diff)
Commit 601d6c46df61853fb61df087327a055550316b1d by Sven Gothel
SWT GLCanvas: Fix dispose bug, check for isDisposed() and add DisposeListener; Run GL tasks on current thread w/o restrictions

Fix dispose bug, check for isDisposed() and add DisposeListener
  - Don't issue SWTAccessor.setRealized(..), since it's called implicit via super.dispose()
  - Check isDisposed() ..
  - add DisposeListener to act on parent's disposal (Shell, Composition, ..)

Run GL tasks on current thread w/o restrictions
+    * The current thread seems to be valid for all platforms,
+    * since no SWT lifecycle tasks are being performed w/ this call.
+    * Only GL task, which are independent from the SWT threading model.
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/swt/GLCanvas.java (diff)
The file was modifiedmake/scripts/tests-x64.bat (diff)
The file was modifiedmake/scripts/tests.sh (diff)
Commit 03d74338497130f8100272803cae475043d8ceee by Sven Gothel
NewtCanvasSWT: Add DisposeListener
The file was modifiedsrc/newt/classes/com/jogamp/newt/swt/NewtCanvasSWT.java (diff)
Commit 0bb202f2883e1eb82256140f13310046f7b13c62 by Sven Gothel
Bug628: Adding unit-test 'TestNewtCanvasSWTBug628ResizeDeadlock' exposing NewtCanvasSWT asyncExec(..) bug w/ native parenting

The unit test shows, that while using JOGL's SWT GLCanvas Display's asyncExec(..) works properly,
but w/ NewtCanvasSWT on Windows does not.

NewtCanvasSWT differs w/:
  - Using native parenting [Newt GLWindow to SWT Canvas]
  - Processing native events in own NEWT EDT, w/ own Windows dispatch hook [For the child GLWindow only]
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/jogl/swt/TestNewtCanvasSWTBug628ResizeDeadlock.java (diff)
The file was addedsrc/test/com/jogamp/opengl/test/junit/jogl/swt/TestSWTBug643AsyncExec.java (diff)
The file was modifiedmake/scripts/tests.sh (diff)
The file was modifiedmake/scripts/tests-x64.bat (diff)
Commit 9ddbfb35882aa4c361d161ab8aca91ed670a97c8 by Sven Gothel
Simplify NEWT EDTUtil invoke: To start EDT Runnable maybe null - start EDT even if on EDT thread.

DEBUG: Name EDTUtil impl, e.g. Default, AWT and SWT
The file was modifiedsrc/newt/classes/com/jogamp/newt/swt/SWTEDTUtil.java (diff)
The file was modifiedsrc/newt/classes/com/jogamp/newt/Display.java (diff)
The file was modifiedsrc/newt/classes/jogamp/newt/DefaultEDTUtil.java (diff)
The file was modifiedsrc/newt/classes/jogamp/newt/driver/awt/AWTEDTUtil.java (diff)
The file was modifiedsrc/newt/classes/com/jogamp/newt/util/EDTUtil.java (diff)
Commit 4d9f7514ccea1669405a511d054b0fca8eae7550 by Sven Gothel
Fix NewtCanvasSWT's newtChild usage: Only use set newtChild if it's ready, i.e. SWTEDTUtil set and parented; Recognize pending resize.
The file was modifiedsrc/newt/classes/com/jogamp/newt/swt/NewtCanvasSWT.java (diff)
Commit 1f360ff73901b0a48f9ee310d8f2e5c4aad1e101 by Sven Gothel
NEWT WindowImpl: Don't issue native resize if invisible, simply use defineSize(..); Don't set persitent undecorated flag if child window at creation; Use local 'screen' directly.

- Don't issue native resize if invisible, simply use defineSize(..)
  Invisible windows may not promote size change natively,
  hence simply setting the size via defineSize(..) is appropriate.
  Latter setVisible(true) will take size into account.

- Don't set persitent undecorated flag if child window at creation
  Even if a window is a child at creation, it maybe reparented to top-level
  where the default behavior is to be expected.
  Undecorated top-level window shall require explicit setUndecorated(true).

- Use local 'screen' directly.
  No need to make code more complicate ..
The file was modifiedsrc/newt/classes/jogamp/newt/WindowImpl.java (diff)
Commit b6f54d1714597ba2799160569b56139277db9e07 by Sven Gothel
NEWT WindowImpl fixes: surfaceLockCount-- if native lock fails; waitForVisible(.., fastFail:=false); waitForSize(..) @ setSize; reparent definePosition(..);

- surfaceLockCount-- if native lock fails
  In case native lock fails, not only remove the windowLock but also decr. surfaceLockCount (proper roll back) - was a BUG!

- waitForVisible(.., fastFail:=false)
  Don't fail fast if visibility wasn't reached.

- waitForSize(..) @ setSize
  Wait for size change - otherwise an SWT child won't reach desired size.

- reparent definePosition(..);
  Position might not get updated by WM events (SWT parent apparently)

- Windows WindowDriver: Cleanup code a bit.
The file was modifiedsrc/newt/classes/jogamp/newt/WindowImpl.java (diff)
The file was modifiedsrc/newt/classes/jogamp/newt/driver/windows/WindowDriver.java (diff)
Commit f0f58e120817b57ed3fb70c238001579a68e4064 by Sven Gothel
Fix Bug 643: SWT 'display.asyncExec(Runnable runnable)' runnable not executed on Windows

Turns out that the NEWT Windows impl. didn't properly validated the client region @ WM_PAINT
and hence 'exhausted' the message pipeline, i.e. never reached an IDLE state.

The latter caused SWT to never reach a point where deferred asyncExec(..) Runnables
got processed.

Besides this SWT effect, this also caused a NEWT window on Windows to always repaint itself (?).
The file was modifiedsrc/newt/native/WindowsWindow.c (diff)
Commit aa4b8c9abbf9529fdbb3c4982895c01f2698451f by Sven Gothel
NEWT EDTUtil: Simplify running state (default is running @ setEDTUtil()); Simplify DefaultEDTUtil impl. and fix concurrency leak w/ 'shouldStop'
The file was modifiedsrc/newt/classes/jogamp/newt/DisplayImpl.java (diff)
The file was modifiedsrc/newt/classes/com/jogamp/newt/swt/SWTEDTUtil.java (diff)
The file was modifiedsrc/newt/classes/jogamp/newt/DefaultEDTUtil.java (diff)
The file was modifiedsrc/newt/classes/com/jogamp/newt/Display.java (diff)
The file was modifiedsrc/newt/classes/jogamp/newt/driver/awt/AWTEDTUtil.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/newt/TestDisplayLifecycle01NEWT.java (diff)
The file was modifiedsrc/newt/classes/com/jogamp/newt/util/EDTUtil.java (diff)
Commit 571c21df9310d043b08a4a72064617cbe6eee0fa by Sven Gothel
SWT GLCanvas/NewtCanvasSWT: Check isVisible() @ validation; NewtCanvasSWT remove just introduced setVisible(false) and adapt to setEDTUtil() changes. ; Enhance Bug 643 unit test: Also test NEWT EDT and pre-visible GLWindow.

- SWT GLCanvas/NewtCanvasSWT: Check isVisible() @ validation

- NewtCanvasSWT remove just introduced setVisible(false) and adapt to setEDTUtil() changes

- Enhance Bug 643 unit test: Also test NEWT EDT and pre-visible GLWindow.
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/jogl/swt/TestSWTBug643AsyncExec.java (diff)
The file was modifiedsrc/newt/classes/com/jogamp/newt/swt/NewtCanvasSWT.java (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/swt/GLCanvas.java (diff)
The file was modifiedmake/scripts/java-win64-dbg.bat (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/jogl/swt/TestNewtCanvasSWTBug628ResizeDeadlock.java (diff)
Commit ceadea1c11cfeecfcafe3dfa76aafd8e915c0076 by Sven Gothel
Fix GLDrawableHelper invokeGLImpl(..): Only attempt to release context after successfull claim; Also fix intendations of block.
The file was modifiedsrc/jogl/classes/jogamp/opengl/GLDrawableHelper.java (diff)