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

Changes

Summary

  1. Adds a unit test and a fix for the bug 697 (details)
  2. Adds the missing file (details)
  3. LinuxEventDeviceTracker: shift-modifier (details)
  4. LinuxEventDeviceTracker: 4 space indentation (details)
  5. LinuxEventDeviceTracker: ALT, ALT_GRAPH & CTRL modifiers. (details)
  6. Debug Messages: Unify getThreadName() usage and 'Catched Exception' (details)
  7. GLDrawable: Refine API doc; GLDrawableImpl: Balance (details)
  8. GLContextImpl.destroy(): Fail fast in case of invalid dawable [null, (details)
  9. jogl: remove executable bit from some java files and a png (details)
  10. NEWT KeyEvent: Use UTF-16 UniCode for key-code and key-symbol exposing (details)
  11. LinuxEventDeviceTracker: Reapply changes from commit (details)
  12. NEWT/WindowsWindow.c: Simplify pointerVisible branch for calling (details)
  13. Bug 697: Fix commit 4db745e84fac610f85ab085e5c147e571e82e008 - Not (details)
Commit c2e02b9964860dc59af92187ae124695e1e2f1dc by gouessej
Adds a unit test and a fix for the bug 697
The file was addedsrc/test/com/jogamp/opengl/test/junit/newt/TestGLWindowInvisiblePointer01NEWT.java (diff)
Commit 4db745e84fac610f85ab085e5c147e571e82e008 by gouessej
Adds the missing file
The file was modified src/newt/native/WindowsWindow.c (diff)
Commit e9467722e50b3db835228e6d91d7087b39e9d164 by xerxes
LinuxEventDeviceTracker: shift-modifier

Signed-off-by: Xerxes Rånby <xerxes@zafena.se>
The file was modified src/newt/classes/jogamp/newt/driver/linux/LinuxEventDeviceTracker.java (diff)
Commit dc049d5ab60c856576ee7dd58d3cc36da9f9780b by xerxes
LinuxEventDeviceTracker: 4 space indentation

Signed-off-by: Xerxes Rånby <xerxes@zafena.se>
The file was modified src/newt/classes/jogamp/newt/driver/linux/LinuxEventDeviceTracker.java (diff)
Commit 578011822abb973800f96a21138c497862cba800 by xerxes
LinuxEventDeviceTracker: ALT, ALT_GRAPH & CTRL modifiers.

Signed-off-by: Xerxes Rånby <xerxes@zafena.se>
The file was modified src/newt/classes/jogamp/newt/driver/linux/LinuxEventDeviceTracker.java (diff)
Commit eff09c3545f32f1f481198d57de71a5bf564e797 by Sven Gothel
Debug Messages: Unify getThreadName() usage and 'Catched Exception' messages
The file was modified src/jogl/classes/jogamp/opengl/GLFBODrawableImpl.java (diff)
The file was modified src/jogl/classes/jogamp/opengl/SharedResourceRunner.java (diff)
The file was modified src/jogl/classes/javax/media/opengl/awt/GLCanvas.java (diff)
The file was modified src/jogl/classes/com/jogamp/opengl/util/FPSAnimator.java (diff)
The file was modified src/jogl/classes/javax/media/opengl/GLDrawableFactory.java (diff)
The file was modified src/jogl/classes/jogamp/opengl/GLDrawableHelper.java (diff)
The file was modified src/jogl/classes/jogamp/opengl/GLWorkerThread.java (diff)
The file was modified src/jogl/classes/javax/media/opengl/GLContext.java (diff)
The file was modified src/jogl/classes/com/jogamp/opengl/util/AnimatorBase.java (diff)
The file was modified src/jogl/classes/jogamp/opengl/x11/glx/X11GLXDrawableFactory.java (diff)
The file was modified src/jogl/classes/jogamp/opengl/ExtensionAvailabilityCache.java (diff)
The file was modified src/jogl/classes/jogamp/opengl/GLAutoDrawableBase.java (diff)
The file was modified src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXCGLContext.java (diff)
The file was modified src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXCGLDrawableFactory.java (diff)
The file was modified src/jogl/classes/jogamp/opengl/windows/wgl/WindowsWGLDrawableFactory.java (diff)
The file was modified src/jogl/classes/com/jogamp/opengl/util/Animator.java (diff)
The file was modified src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXCGLDrawable.java (diff)
The file was modified src/jogl/classes/javax/media/opengl/awt/GLJPanel.java (diff)
The file was modified src/jogl/classes/jogamp/opengl/egl/EGLDrawableFactory.java (diff)
The file was modified src/jogl/classes/com/jogamp/opengl/util/glsl/ShaderUtil.java (diff)
Commit 7978096bdaac4c4bd14187382bb1f8ab9d082ebe by Sven Gothel
GLDrawable: Refine API doc; GLDrawableImpl: Balance createHandle()/destroyHandle(); Handle LOCK_SURFACE_CHANGED in lockSurface() ; GLContextImpl.makeCurrent(): Fix drawable handle validation.

GLDrawable: Refine API doc (realized/handle)
  - Lifecycle of the drawable handle was not clear
  - Ephasizing handle's dependency on NativeSurface's lock state and drawable's realization

GLDrawableImpl: Balance createHandle()/destroyHandle()
  - updateHandle() -> createHandle()
  - ensure both are balance, see below

GLDrawableImpl: Handle LOCK_SURFACE_CHANGED in GLDrawableImpl's lockSurface()
  - call destroyHandle() and createHandle()

GLContextImpl.makeCurrent(): Validate drawable handle if realized only.
  - it is valid to have an invalid drawable handle if not realized (see above)
The file was modified src/jogl/classes/javax/media/opengl/GLDrawable.java (diff)
The file was modified src/jogl/classes/jogamp/opengl/egl/EGLDrawable.java (diff)
The file was modified src/jogl/classes/jogamp/opengl/x11/glx/X11OnscreenGLXDrawable.java (diff)
The file was modified src/jogl/classes/jogamp/opengl/GLContextImpl.java (diff)
The file was modified src/jogl/classes/jogamp/opengl/GLDrawableImpl.java (diff)
Commit f3e0f109ac7f03ef803523af8e965d713b6044db by Sven Gothel
GLContextImpl.destroy(): Fail fast in case of invalid dawable [null, !realized] and makeCurrent() failure.
The file was modified src/jogl/classes/jogamp/opengl/GLContextImpl.java (diff)
Commit 4bea90974190baa2110c8398b4fe2dccb61e0daa by Harvey Harrison
jogl: remove executable bit from some java files and a png

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
The file was modified src/test/com/jogamp/opengl/test/junit/jogl/glu/TestGluUnprojectFloatNOUI.java (diff)
The file was modified src/jogl/classes/jogamp/graph/curve/opengl/RegionRendererImpl01.java (diff)
The file was modified src/test/com/jogamp/opengl/test/junit/jogl/glu/TestGluUnprojectDoubleNOUI.java (diff)
The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/av/MovieSimple.java (diff)
The file was modified src/test/com/jogamp/opengl/test/junit/jogl/caps/TestMultisampleES1NEWT.java (diff)
The file was modified src/test/com/jogamp/opengl/test/junit/jogl/util/texture/grayscale_texture.png (diff)
The file was modified src/test/com/jogamp/opengl/test/junit/jogl/caps/TestMultisampleES1AWT.java (diff)
The file was modified src/jogl/classes/com/jogamp/gluegen/opengl/nativesig/NativeSignatureJavaMethodBindingEmitter.java (diff)
The file was modified src/jogl/classes/com/jogamp/gluegen/opengl/GLConfiguration.java (diff)
The file was modified src/jogl/classes/com/jogamp/gluegen/opengl/GLJavaMethodBindingEmitter.java (diff)
The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPURegionNewtDemo01.java (diff)
The file was modified src/jogl/classes/jogamp/graph/curve/opengl/RegionFactory.java (diff)
The file was modified src/jogl/classes/com/jogamp/gluegen/opengl/nativesig/NativeSignatureEmitter.java (diff)
The file was modified src/newt/classes/com/jogamp/newt/awt/applet/JOGLNewtApplet1Run.java (diff)
The file was modified src/jogl/classes/com/jogamp/graph/curve/opengl/GLRegion.java (diff)
The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/av/MovieCube.java (diff)
The file was modified src/test/com/jogamp/opengl/test/junit/jogl/acore/TestFloatUtil01MatrixMatrixMultNOUI.java (diff)
The file was modified src/newt/classes/com/jogamp/newt/awt/applet/JOGLNewtAppletBase.java (diff)
The file was modified src/jogl/classes/com/jogamp/opengl/math/Quaternion.java (diff)
The file was modified src/jogl/classes/com/jogamp/opengl/math/VectorUtil.java (diff)
The file was modified src/test/com/jogamp/opengl/test/junit/graph/TestTextRendererNEWT01.java (diff)
The file was modified src/jogl/classes/com/jogamp/graph/curve/OutlineShape.java (diff)
Commit b13868b612689307ebf4e46ee4ede2fd0560e504 by Sven Gothel
NEWT KeyEvent: Use UTF-16 UniCode for key-code and key-symbol exposing well defined key encoding and simplify usage.

Note, we use one collision to reduce key-code range:
  [0x61 .. 0x78] keyCodes [F1..F24] collide w/ ['a'..'x']

  Since keyCode/Sym won't use lower capital a-z, this is a no isssue.

KeyEvent:
  - 'printable' type is being determined by a nonPrintableKeys table,
    while 'action' type is set in case !printable and !modifier.

  - public ctor hidden, use create(..) method instead.
    This allows us to ensure modifier bit are properly set (incl. the keySym one) w/o performance loss.
  - ctor validates that only one of the type flags is set, printable, modifyable or action.

WindowImpl:
  - Using IntBitfield of 255 bits to track pressed state,
    while removing the repeat state tracking since it is redundant.
    The Windows impl. uses a single field to validate whether a key
    was already repeated or not.
  - Properly cast keyCode short values to int for tracking!

AWTNewtEventFactory, SWTNewtEventFactory:
  - Add translation of keyCode/Sym from and to NEWT
  - All tested via:
    - Newt -> Awt for AWTRobot
    - OSX CALayer: AWT -> NEWT
    - SWT tests

X11:
  - Add VK_CONTEXT_MENU mapping (XK_Menu)

LinuxEventDeviceTracker:
  - Fix apostrophe and grave mapping, i.e. to VK_QUOTE and VK_BACK_QUOTE.

Adapted all unit tests, especially:
  - TestNewtKeyCodesAWT: More fine grained keyCode ranges to test
    using proper keyCode symbols.
The file was modified src/newt/classes/jogamp/newt/WindowImpl.java (diff)
The file was modified src/newt/classes/jogamp/newt/driver/windows/WindowDriver.java (diff)
The file was modified make/scripts/tests-x64.bat (diff)
The file was modified make/scripts/tests.sh (diff)
The file was modified src/newt/classes/jogamp/newt/awt/event/AWTNewtEventFactory.java (diff)
The file was modified src/newt/classes/jogamp/newt/driver/awt/DisplayDriver.java (diff)
The file was modified src/test/com/jogamp/opengl/test/junit/util/NEWTKeyUtil.java (diff)
The file was modified src/newt/classes/com/jogamp/newt/event/KeyEvent.java (diff)
The file was modified src/newt/native/KeyEvent.h (diff)
The file was modified src/test/com/jogamp/opengl/test/junit/newt/event/TestNewtKeyCodesAWT.java (diff)
The file was modified src/newt/classes/jogamp/newt/swt/event/SWTNewtEventFactory.java (diff)
The file was modified src/test/com/jogamp/opengl/test/junit/util/AWTRobotUtil.java (diff)
The file was modified src/newt/classes/jogamp/newt/driver/android/event/AndroidNewtEventFactory.java (diff)
The file was removedsrc/newt/classes/com/jogamp/newt/event/UTFKeyUtil.java (diff)
The file was modified src/test/com/jogamp/opengl/test/junit/newt/event/TestNewtKeyCodeModifiersAWT.java (diff)
The file was modified src/newt/classes/jogamp/newt/driver/linux/LinuxEventDeviceTracker.java (diff)
The file was modified src/newt/classes/jogamp/newt/driver/macosx/WindowDriver.java (diff)
The file was modified src/newt/native/X11Display.c (diff)
The file was modified src/test/com/jogamp/opengl/test/junit/jogl/swt/TestNewtCanvasSWTBug628ResizeDeadlockAWT.java (diff)
Commit 294294c2317d1a22406f471c74235315afed86e4 by Sven Gothel
LinuxEventDeviceTracker: Reapply changes from commit b13868b612689307ebf4e46ee4ede2fd0560e504, which got lost via my merge conflict resolution (duh).
The file was modified src/newt/classes/jogamp/newt/driver/linux/LinuxEventDeviceTracker.java (diff)
Commit 214794419b2e736d581bb57bf9b5838b09e28f1c by Sven Gothel
NEWT/WindowsWindow.c: Simplify pointerVisible branch for calling SafeShowCursor(..)
The file was modified src/newt/native/WindowsWindow.c (diff)
Commit dc898f14eeebf524726c820e25ffefb166a6c7f3 by Sven Gothel
Bug 697: Fix commit 4db745e84fac610f85ab085e5c147e571e82e008 - Not compile clean! Also brought back my safe showCursor logic.

The code was not compile clean:
  - declaration after use w/o prototype!
  - missing var declaration 'success'!
  - 'pointerVisible=0', instead of 'wud->pointerVisible=0' var. not found!

Used my old safe show cursor logic, while removing the max count,
which was redundant, since we can check whether the counter moves
in the right direction.
The file was modified make/scripts/tests-x64.bat (diff)
The file was modified src/newt/native/WindowsWindow.c (diff)
The file was modified make/scripts/tests.sh (diff)