SuccessChanges

Summary

  1. Bug 1214: Fix Deadlock in screenPositionChanged(..); Use (details)
  2. Bug 1188: Fix setMaximized(..) isReconfigureMaskSupported(..) query (details)
  3. Bug 1223 OSX: GLWindow loses focus after maximizing - Analysis (details)
  4. Adapt Test NApplet HTML Pages to NEWTDemoListener (all key-actions) (details)
  5. NEWTDemoListener: Fix 'v' modifier collision of ctrl, use shift. (details)
  6. Bug 1222 - NEWT OSX: setAlwaysOnTop() and setAlwaysOnBottom() not (details)
Commit 10ad1270e7b8f821ef9bb3612669342c7dc56586 by Sven Gothel
Bug 1214: Fix Deadlock in screenPositionChanged(..); Use
screenPositionChanged(..) in size[Screen]PosInsetsChanged(..) on OSX;
Cleanup OSX Code
- Fix Deadlock in screenPositionChanged(..)
Defer requires to spawn whole child-window action to another thread
since we may come from native 'NewtWindow::windowDidMove()' on
MainThread.
- Use screenPositionChanged(..) in size[Screen]PosInsetsChanged(..) on
OSX
Move callback WindowImpl::sizePosInsetsChanged(..)
to OSX's WindowDriver::sizeScreenPosInsetsChanged(..),
since we need to use screenPositionChanged(..) to calculate
child window relative position to parent.
I.e. we receive the location on screen.
- Cleanup OSX Code
- Native JNI entries shall handle NULL windowHandle -> return
  - Clarify usage of 'getWindowHandle()' and use 'isNativeValid()'
   if appropriate.
  - Don't re-use cached getWindowHandle()
   for non-blocking off-thread actions, since handle may become invalid.
  - Clarify getLocationOnScreen*(..) implementation code,
   i.e. separate getLocationOnScreenByParent(..) semantics.
The file was modifiedsrc/newt/native/NewtMacWindow.m (diff)
The file was modifiedsrc/newt/classes/jogamp/newt/driver/macosx/WindowDriver.java (diff)
The file was modifiedmake/scripts/tests.sh (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/newt/parenting/TestParenting02NEWT.java (diff)
The file was modifiedsrc/newt/native/MacWindow.m (diff)
The file was modifiedsrc/newt/classes/jogamp/newt/WindowImpl.java (diff)
Commit fa3c55b8176b284752ed14a5a24f7fee36e588a3 by Sven Gothel
Bug 1188: Fix setMaximized(..) isReconfigureMaskSupported(..) query
setMaximized(..) isReconfigureMaskSupported(..) was using the state
bit-number instead of the state bit-mask!
Fixed.
The file was modifiedmake/scripts/tests.sh (diff)
The file was modifiedsrc/newt/classes/jogamp/newt/WindowImpl.java (diff)
Commit fbf14fd09bcc8eccaf819e953a82b3619e6de796 by Sven Gothel
Bug 1223 OSX: GLWindow loses focus after maximizing - Analysis
TestGearsES2NEWT reacts on key-press 'n', opening another GLWindow.
Procedure:
[1] Pressing 'n' (2nd GLWindow) and manual re-focus 1st GLWindow
[2] Pressing 'm' (single, alt, shift) on 1st GLWindow maximizes it
   Focus is still on 1st GLWindow!
[3] Pressing ctrl-m un-maximizes ..
   Focus is still on 1st GLWindow!
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/jogl/demos/es2/newt/TestGearsES2NEWT.java (diff)
Commit fe3d6f6b78cc0c5c2bf7e5454a115102313b650f by Sven Gothel
Adapt Test NApplet HTML Pages to NEWTDemoListener (all key-actions)
The file was modifiedjnlp-files/jogl-applet-runner-newt-ElektronenMultiplizierer-napplet.html (diff)
The file was modifiedjnlp-files/jogl-applet-runner-newt-gears-normal-napplet2.html (diff)
The file was modifiedjnlp-files/jogl-applet-runner-newt-gears-gl3-napplet.html (diff)
The file was modifiedjnlp-files/jogl-applet-runner-newt-gears-special.html (diff)
The file was modifiedjnlp-files/jogl-applet-runner-newt-gears-applet3-special-napplet.html (diff)
The file was modifiedjnlp-files/jogl-applet-runner-newt-GraphUISceneDemo04-napplet.html (diff)
The file was modifiedjnlp-files/jogl-applet-runner-newt-MovieCube-napplet.html (diff)
The file was modifiedjnlp-files/jogl-applet-runner-newt-MovieCube.html (diff)
The file was modifiedjnlp-files/jogl-applet-runner-newt-gears-normal.html (diff)
The file was modifiedjnlp-files/jogl-applet-runner-newt-ElektronenMultiplizierer.html (diff)
The file was modifiedjnlp-files/jogl-applet-runner-newt-MovieCube-applet3-napplet.html (diff)
The file was modifiedjnlp-files/jogl-applet-runner-newt-gears-normal-napplet.html (diff)
The file was modifiedjnlp-files/jogl-applet-runner-newt-gears-applet3-napplet.html (diff)
The file was modifiedjnlp-files/jogl-applet-runner-newt-GraphUISceneDemo02-napplet.html (diff)
The file was modifiedjnlp-files/jogl-applet-runner-newt-gears-special-napplet.html (diff)
The file was modifiedjnlp-files/jogl-applet-runner-newt-GraphUISceneDemo03-napplet.html (diff)
The file was modifiedjnlp-files/jogl-applet-runner-newt-GraphUISceneDemo01-napplet.html (diff)
The file was modifiedjnlp-files/jogl-applet-runner-newt-GraphUISceneDemo01.html (diff)
The file was modifiedjnlp-files/jogl-applet-runner-newt-GraphUISceneDemo01-applet3-napplet.html (diff)
Commit 5270971814c27e4a7019a9e3c15fcad42fedb9c3 by Sven Gothel
NEWTDemoListener: Fix 'v' modifier collision of ctrl, use shift.
The file was modifiedsrc/newt/classes/com/jogamp/newt/opengl/util/NEWTDemoListener.java (diff)
Commit 3d2765f0bb752debd7784f717eeac4c9eb500d5a by Sven Gothel
Bug 1222 - NEWT OSX: setAlwaysOnTop() and setAlwaysOnBottom() not
working
- The NSWindow level must be set at window creation
- Levels are
- aontop: kCGMaximumWindowLevel
- aonbottom: kCGDesktopIconWindowLevel (w/ input)
- normal: NSNormalWindowLevel
- Hence we need to recreate the NSWindow if toggling the state,
similar to opaque .. etc.
The file was modifiedsrc/newt/native/NewtMacWindow.m (diff)
The file was modifiedmake/scripts/tests.sh (diff)
The file was modifiedsrc/newt/classes/jogamp/newt/driver/macosx/WindowDriver.java (diff)
The file was modifiedsrc/newt/native/MacWindow.m (diff)
The file was modifiedsrc/newt/native/NewtMacWindow.h (diff)