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

Changes

Summary

  1. NEWT: Use accessors to read/write postion and size, allowing better (details)
  2. NEWT/X11: Fix Insets determination for undecorated / child window. (details)
  3. UI Test / AWTRobotUtil: Relax and fix focus tests (details)
  4. UI Test AWTRobotUtil's toFront*(): retry requestFocus() within loop. (details)
  5. NativeWindow/OSX: Fix Offscreen CALayer SIGSEGV @ Shutdown (Cleanup (details)
  6. NEWT/OSX: Window close (release) on main thread, ensuring no 'main (details)
  7. test scripts (details)
Commit 319fdccb670743daa6c27e247591baf1f254e5ac by Sven Gothel
NEWT: Use accessors to read/write postion and size, allowing better trace and controlling autoPosition; Restrict more fields to private where possible.

WindowImpl's position and size is made private and accessed
by it's getter and setter (definePosition/defineSize).

This allows better tracing of value changes and ensures autoPosition is set to false.
The file was modified src/newt/classes/jogamp/newt/driver/kd/KDWindow.java (diff)
The file was modified src/newt/classes/jogamp/newt/driver/windows/WindowsWindow.java (diff)
The file was modified src/newt/classes/jogamp/newt/driver/awt/AWTWindow.java (diff)
The file was modified src/newt/classes/jogamp/newt/driver/android/AndroidWindow.java (diff)
The file was modified src/newt/classes/jogamp/newt/driver/intel/gdl/Window.java (diff)
The file was modified src/newt/classes/jogamp/newt/driver/macosx/MacWindow.java (diff)
The file was modified src/newt/classes/jogamp/newt/WindowImpl.java (diff)
The file was modified src/newt/classes/jogamp/newt/driver/x11/X11Window.java (diff)
The file was modified src/newt/classes/jogamp/newt/driver/broadcom/egl/Window.java (diff)
Commit ab3c5678527ba2e4f092b7426527b8053d12e790 by Sven Gothel
NEWT/X11: Fix Insets determination for undecorated / child window.

Due to latest changes, a bug is disposed where the native 'updateInsets'
attempts to determine the window insets by it's parent window (fall-back).
The latter works only in case of a top-level window.

Adding query to the WM whether the window is decorated (top-level) or not.
Attempt to use the fall-back parent window method in case of a decorated window.

This whole inset code based on the parent window is probably completly redundant,
nevertheless we keep it alive until further notice.
The file was modified src/newt/native/X11Window.c (diff)
Commit 60d91b002fa941ab971ff9ed5ad6002f72c92af1 by Sven Gothel
UI Test / AWTRobotUtil: Relax and fix focus tests

- toFront*(..) uses the AWT Window focus state, instead of our AWTWindowFocusAdapter,
  which removes false negatives.
  Often the focus is already hold on the Window where no focus change
  will be recognized by our AWTWindowFocusAdapter.

- assertRequestFocusAndWait(..) recovers from lack of focus-lost event
  (if received focus-gained) and only dumps the case - returns success.

- Since assertRequestFocusAndWait(..) implicitly tests the passed
  FocusAdapter and relaxes the constraints (see above)
  no more post-call assertions on the FocusAdapter is being performed (removed).

- assertRequestFocusAndWait(..) is no more used on AWT Window or Frame,
  see 1st note above!
The file was modified make/scripts/tests-x64.bat (diff)
The file was modified src/test/com/jogamp/opengl/test/junit/newt/parenting/TestParentingFocusTraversal01AWT.java (diff)
The file was modified make/scripts/tests.sh (diff)
The file was modified src/test/com/jogamp/opengl/test/junit/jogl/newt/TestSwingAWTRobotUsageBeforeJOGLInitBug411.java (diff)
The file was modified src/test/com/jogamp/opengl/test/junit/util/AWTRobotUtil.java (diff)
The file was modified src/test/com/jogamp/opengl/test/junit/newt/TestFocus01SwingAWTRobot.java (diff)
The file was modified src/test/com/jogamp/opengl/test/junit/newt/TestFocus02SwingAWTRobot.java (diff)
The file was modified make/scripts/java-win64-dbg.bat (diff)
Commit 249351d96e22999db2ac83ad60eaa5c5c6120bd7 by Sven Gothel
UI Test AWTRobotUtil's toFront*(): retry requestFocus() within loop.
The file was modified src/test/com/jogamp/opengl/test/junit/util/AWTRobotUtil.java (diff)
Commit 8a2c18cf210ee6465e00f88cecd3ef109421ff1d by Sven Gothel
NativeWindow/OSX: Fix Offscreen CALayer SIGSEGV @ Shutdown (Cleanup referencing)

- allocate CALayer w/ invoking init:
     [[CALayer alloc] init]

- attach CALayer to JAWTSurfaceLayer w/o autorelease:
     surfaceLayers.layer = layer; // already incr. retain count

- destroy CALayer @ JAWTWindow destroy
The file was modified src/nativewindow/classes/jogamp/nativewindow/jawt/JAWTWindow.java (diff)
The file was modified src/nativewindow/native/macosx/OSXmisc.m (diff)
The file was modified src/nativewindow/classes/jogamp/nativewindow/jawt/macosx/MacOSXJAWTWindow.java (diff)
The file was modified src/test/com/jogamp/opengl/test/junit/newt/parenting/TestParentingFocusTraversal01AWT.java (diff)
Commit 5d437df5dc6f73f8a5aad760e9aeba5b5319b436 by Sven Gothel
NEWT/OSX: Window close (release) on main thread, ensuring no 'main thread' event is pending
The file was modified src/newt/native/MacWindow.m (diff)
The file was modified make/scripts/tests-x64.bat (diff)
The file was modified make/scripts/tests.sh (diff)