SuccessChanges

Summary

  1. Bug 1188: OSX: Add maximize horz/vert, implemented manually (details)
  2. NEWY WindowImpl appendStateBits(..): Refine maximized; Refine (details)
  3. NEWT OSX WindowDriver: Must wait for resize on main-thread (Related to (details)
  4. NEWT WindowImpl + WindowDriver: Remove updateInsetsImpl(Insets insets) (details)
  5. Bug 1188: Refine Maximized on X11 / Impl. Maximized and Iconify on (details)
  6. Bug 1188: Windows: Implement unresizable using appropriate windows (details)
Commit 3ac9eca843d119902a65fdeee5456d204fbabfa4 by Sven Gothel
Bug 1188: OSX: Add maximize horz/vert, implemented manually
The file was modifiedsrc/newt/classes/jogamp/newt/driver/macosx/WindowDriver.java (diff)
The file was modifiedmake/scripts/tests.sh (diff)
Commit 858ea4570f124aae2d302a78161c72f7ac41e5b3 by Sven Gothel
NEWY WindowImpl appendStateBits(..): Refine maximized; Refine WindowDriver's reconfig DEBUG
The file was modifiedsrc/newt/classes/jogamp/newt/driver/macosx/WindowDriver.java (diff)
The file was modifiedsrc/newt/classes/jogamp/newt/WindowImpl.java (diff)
The file was modifiedsrc/newt/classes/jogamp/newt/driver/windows/WindowDriver.java (diff)
The file was modifiedsrc/newt/classes/jogamp/newt/driver/x11/WindowDriver.java (diff)
Commit bb4e7c5d3e13d91810a7530d6ffa0a909fdfc233 by Sven Gothel
NEWT OSX WindowDriver: Must wait for resize on main-thread (Related to Bug 1188)

If not waiting for resize on main-thread,
corruption may happen at continued rendering.
This has been experienced w/ maximize-horizontally (Bug 1188).
The file was modifiedsrc/newt/classes/jogamp/newt/driver/macosx/WindowDriver.java (diff)
Commit 8df37534138e15061e66e6460391dcdc413b521f by Sven Gothel
NEWT WindowImpl + WindowDriver: Remove updateInsetsImpl(Insets insets) and rely solely on insetsChanged(..) (event driven)

Only affected WindowDriver is AWT, which now updates the insets when setVisible(true).
The file was modifiedsrc/newt/classes/jogamp/newt/driver/x11/WindowDriver.java (diff)
The file was modifiedsrc/newt/classes/jogamp/newt/OffscreenWindow.java (diff)
The file was modifiedsrc/newt/classes/jogamp/newt/driver/intel/gdl/WindowDriver.java (diff)
The file was modifiedsrc/newt/classes/jogamp/newt/driver/android/WindowDriver.java (diff)
The file was modifiedsrc/newt/classes/jogamp/newt/driver/awt/WindowDriver.java (diff)
The file was modifiedsrc/newt/classes/jogamp/newt/WindowImpl.java (diff)
The file was modifiedsrc/newt/classes/jogamp/newt/driver/kd/WindowDriver.java (diff)
The file was modifiedsrc/newt/classes/jogamp/newt/driver/macosx/WindowDriver.java (diff)
The file was modifiedsrc/newt/classes/jogamp/newt/driver/windows/WindowDriver.java (diff)
The file was modifiedsrc/newt/classes/jogamp/newt/driver/bcm/egl/WindowDriver.java (diff)
The file was modifiedsrc/newt/classes/jogamp/newt/driver/bcm/vc/iv/WindowDriver.java (diff)
Commit 2c23b1cb343a008621e3fe642c5b8abacca48b1a by Sven Gothel
Bug 1188: Refine Maximized on X11 / Impl. Maximized and Iconify on Windows

WindowImpl
  - remove updateMinMaxSize(..) - unused info
  - fix appendStateToString: show all maximized state changes if reconfig

  - add sizePosMaxInsetsChanged(..) and sendMouseEventRequestFocus(..)
    accumulating multiple callbacks from impl.

  - add: maximizedChanged(..) notification from native impl.

  - refine manual maximized mode
    used for OSX and Windows (single extent)
    - reconfigMaximizedManual(..)
    - resetMaximizedManual(..)

X11 WindowDriver:
  - Update maximized at xreconfig, read from _NET_WM_STATE
  - Use less Java callbacks from JNI

Windows WindowDriver:
  - Use native maximized, if HORZ && VERT,
    otherwise use manual maximized for single extent.

  - Invisible of top-window -> MINIMIZED/ICONIFY
    showing the app in task-bar.
The file was modifiedsrc/newt/native/WindowsWindow.c (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/util/NEWTDemoListener.java (diff)
The file was modifiedsrc/newt/classes/jogamp/newt/driver/macosx/WindowDriver.java (diff)
The file was modifiedsrc/newt/native/X11Common.h (diff)
The file was modifiedmake/scripts/tests-x64-dbg.bat (diff)
The file was modifiedsrc/newt/native/X11Display.c (diff)
The file was modifiedsrc/newt/classes/jogamp/newt/driver/windows/WindowDriver.java (diff)
The file was modifiedsrc/newt/native/X11Window.c (diff)
The file was modifiedmake/scripts/tests-win.bat (diff)
The file was modifiedsrc/newt/classes/jogamp/newt/WindowImpl.java (diff)
Commit 23d8cbd413ac6aca737d7a7d062c8bb6f5ac1ca5 by Sven Gothel
Bug 1188: Windows: Implement unresizable using appropriate windows styles

- to avoid resizing when toggling resizable (change of window border)
  we maintain 'RECT insets' in our WindowUserData struct
  and fix the client -> top position late in NewtWindow_setVisiblePosSize(..)
  after any style change.
The file was modifiedsrc/newt/classes/jogamp/newt/driver/windows/WindowDriver.java (diff)
The file was modifiedsrc/newt/native/WindowsWindow.c (diff)