UnstableChanges

Summary

  1. SWTAccessor: Cleanup disable debug messages (details)
  2. Removing also all the double quotes (details)
  3. Bug 1254: Fix viewport height in BCM VC IV ScreenDriver (details)
  4. Improved layout of last paragraph in class javadoc (details)
  5. Typo in javadoc of GLDrawable#isRealized (details)
  6. add touch event support for x11 server (details)
  7. Fix mouse button reporting in X11UnderlayTracker (details)
  8. Fix overlay/underlay position mismatch in X11UnderlayTracker with (details)
  9. Update GLContextImpl.java (details)
  10. osx test scripts using latest Java (details)
  11. OSX/Newt: Catch NSRangeException on closing a window (details)
  12. Eclipse: Move android.jar to classpath end, avoid junit override (details)
  13. JavaFX: Adding JavaFX Support for NEWT utilizing native Window parenting (details)
  14. JavaFX: Fix API doc of JFXAccessor (details)
  15. JavaFX: Remove JFXAccessor redundancy (details)
  16. JavaFX: Add proper class doc for implementation and unit test (details)
  17. JavaFX: Preliminary testing on Windows (details)
  18. NewtCanvasJFX: Clarify [dispose() -> destroy()] operation (details)
  19. NewtCanvasJFX: Implement WindowClosingProtocol.WindowClosingMode (details)
  20. NewtCanvasSWT: Fix NOP WindowClosingProtocol.WindowClosingMode Behavior (details)
  21. Adding NativeWindowHolder extends NativeSurfaceHolder; API Doc for (details)
  22. Tests: Adding API Doc for test utilizing NEWTDemoListener and (details)
  23. TestNewtCanvasJFXGLn: Adding NEWTDemoListener and (details)
  24. NewtCanvasJFX.NativeWindow: Delegate required child window canvas (details)
  25. NewtCanvasJFX: Utilize JFXEDTUtil per default, supporting the Windows (details)
  26. Bug 1357 Related: GLRendererQuirks NoSetSwapIntervalPostRetarget and (details)
  27. Bug 1283: Remove shader include filename quotes if exists at start and (details)
  28. ShaderCode: Fixed constant usage (GL3 -> GL3ES3) (details)
  29. Bug 1288: GLBufferStateTracker needs to support ARB_indirect_parameters (details)
  30. Bug 1348: X11 XI Multitouch: Fixes of previous commit (details)
  31. Bug 1348: X11 XI Multitouch: Refine commit (details)
  32. Update HowToBuild.html (details)
  33. Bug 1348: Fix X11 XI Multitouch (details)
  34. Bug 1316: MacOSX: Keep *.dylib (Don't move to *.jnilib) (details)
  35. Bug 1366 - Use String.format((Locale)null, "..." ..) avoiding Locale (details)
  36. Bug 1367: Adapt to TempFileCache & TempJarCache Changes (details)
  37. Bug 1367: Adapt to TempFileCache & TempJarCache Changes (details)
  38. Windows scripts: Use JDK/JRE 1.8.0_121 (details)
  39. TestVersionSemanticsNOUI: Adapt to upcoming NON_BACKWARD_COMPATIBLE (details)
  40. Bug 1370: Call from Main-Thread: NW's OSXUtil.CreateNSWindow0(..) and (details)
  41. Bug 1362: Enhancing SWT/GTK Support for GTK 2.90, SWT > 4.8 (?) (details)
  42. Bug 1362: Replace SWT 4.3.0 -> 4.11.0 (details)
  43. Bug 1362: build/test: Use new SWT 4.10 swt.jar (instead of (details)
  44. Bug 1362: SWTAccessor: c -> cGTK for readability (details)
  45. Bug 1362: Test against SWT 4.3 and 4.11 (details)
  46. Bug 1362: Wrong 'fake' swt.jar config for isLinuxARM64, isLinuxARMv6 and (details)
Commit ca4515d20186b3b4e74acee7c1dad72566913bae by packet0.git
SWTAccessor: Cleanup disable debug messages
The file was modifiedsrc/nativewindow/classes/com/jogamp/nativewindow/swt/SWTAccessor.java (diff)
Commit 7e4c32ba709346ce4009d50e506ebc4c079d7c1e by elect86
Removing also all the double quotes
https://jogamp.org/bugzilla/show_bug.cgi?id=1283
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/util/glsl/ShaderCode.java (diff)
Commit 57b519c3788bec2fa3c3575db6deadeb153352f7 by gottfried.haider
Bug 1254: Fix viewport height in BCM VC IV ScreenDriver
This should fix https://jogamp.org/bugzilla/show_bug.cgi?id=1254, which
leads to windowed sketches not being centered in Processing.
The file was modifiedsrc/newt/classes/jogamp/newt/driver/bcm/vc/iv/ScreenDriver.java (diff)
Commit d08b1c988422668d52e5df7fdb4f50c0788e781d by stevensro
Improved layout of last paragraph in class javadoc
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/awt/GLCanvas.java (diff)
Commit 23b6a8dc92521f762248011b74f4d5028472583d by stevensro
Typo in javadoc of GLDrawable#isRealized
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/GLDrawable.java (diff)
Commit ec6d2ca98674804c9e9162dddefda2962b91bf12 by danny.koernig
add touch event support for x11 server
The file was modifiedsrc/newt/native/X11Window.c (diff)
The file was modifiedsrc/newt/classes/jogamp/newt/driver/x11/WindowDriver.java (diff)
The file was modifiedsrc/newt/native/X11Display.c (diff)
The file was modifiedsrc/newt/native/X11Common.h (diff)
Commit 60fadc1e723eaae471d68e9b0b939dfe2ba6abfe by gottfried.haider
Fix mouse button reporting in X11UnderlayTracker
The file was modifiedsrc/newt/classes/jogamp/newt/driver/x11/X11UnderlayTracker.java (diff)
Commit 51d301875a65f511b6a9846fc3bf661e50a48a68 by gottfried.haider
Fix overlay/underlay position mismatch in X11UnderlayTracker with
overscan enabled
With the overscan enabled by the Raspberry Pi firmware, which seems to
be the default for some attached displays, the underlayWindow size will
be e.g. 1888x1048 (retrieved from X11), whereas the overlayWindow size
remains at 1920x1080 (retrieved from the Broadcom VC IV implementation).
This causes the overlay window to be visually offset by a few pixels.
Correct this by applying an offset when the two don't match. (Both
displays are assumed to have the same center.)
The file was modifiedsrc/newt/classes/jogamp/newt/driver/x11/X11UnderlayTracker.java (diff)
Commit 84e6b142469e7d6acc3ec41fe2096853d5a880b2 by noreply
Update GLContextImpl.java
The file was modifiedsrc/jogl/classes/jogamp/opengl/GLContextImpl.java (diff)
Commit cc157b6a7dfbdefbbfc31085b4013e395cfecd13 by Sven Gothel
osx test scripts using latest Java
The file was modifiedmake/scripts/tests-osx-x64.sh (diff)
The file was modifiedmake/scripts/make.jogl.all.macosx.sh (diff)
Commit 025e4548e982954528a461637a02d07dc509530e by Sven Gothel
OSX/Newt: Catch NSRangeException on closing a window
rarely occurs on terminating or killing the process
The file was modifiedsrc/nativewindow/native/macosx/OSXmisc.m (diff)
Commit a98ef342cc03a92692584a35291724d7b05c3370 by Sven Gothel
Eclipse: Move android.jar to classpath end, avoid junit override
The file was modified.classpath (diff)
Commit a4ec6556f9ef3a409cceb9bfdb0d19dfc7d98d4a by Sven Gothel
JavaFX: Adding JavaFX Support for NEWT utilizing native Window parenting
via NewtCanvasJFX
NewtCanvasJFX, a JavaFX Canvas Node, allows attaching a native NEWT
Window to the JavaFX Node's native Window (if attached).
The mechanism is similar to NewtCanvasAWT.
Current implementation supports placing the NEWT Window into the JavaFX
scene of the native window correctly, as well as the following different
lifecycles
- attach NewtCanvasJFX to already visible group->scene->window
- attach NewtCanvasJFX to not yet visible or attached
group->scene->window
- attach NEWT Window before or after NewtCanvasJFX's visibility
The above is covered by unit test: TestNewtCanvasJFXGLn
This is the initial commit for JavaFX support and has been tested on
- OpenJDK 8 + OpenJFX 8
- GNU/Linux X11
The file was modifiedmake/build-common.xml (diff)
The file was modifiedmake/build-newt.xml (diff)
The file was addedsrc/test/com/jogamp/opengl/test/junit/jogl/javafx/TestNewtCanvasJFXGLn.java
The file was addedsrc/nativewindow/classes/com/jogamp/nativewindow/javafx/JFXAccessor.java
The file was addedsrc/test/com/jogamp/opengl/test/junit/jogl/javafx/PureJFXApp01.java
The file was addedsrc/newt/classes/com/jogamp/newt/javafx/NewtCanvasJFX.java
The file was modifiedmake/build-nativewindow.xml (diff)
The file was modifiedmake/scripts/tests.sh (diff)
The file was modifiedsrc/nativewindow/classes/com/jogamp/nativewindow/NativeWindowFactory.java (diff)
The file was modifiedsrc/nativewindow/classes/com/jogamp/nativewindow/util/Point.java (diff)
The file was addedsrc/newt/classes/jogamp/newt/javafx/JFXEDTUtil.java
Commit 46e0b6d774301056ff1691ddd92552f7972751e1 by Sven Gothel
JavaFX: Fix API doc of JFXAccessor
The file was modifiedsrc/nativewindow/classes/com/jogamp/nativewindow/javafx/JFXAccessor.java (diff)
Commit 992432a0e2b5e1c510bee246bf4c3990f388c5ea by Sven Gothel
JavaFX: Remove JFXAccessor redundancy
The file was modifiedsrc/nativewindow/classes/com/jogamp/nativewindow/javafx/JFXAccessor.java (diff)
Commit f4b4716975148111335b9b9e6b2576bbadff160f by Sven Gothel
JavaFX: Add proper class doc for implementation and unit test
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/jogl/javafx/TestNewtCanvasJFXGLn.java (diff)
The file was modifiedsrc/newt/classes/com/jogamp/newt/javafx/NewtCanvasJFX.java (diff)
Commit c5979a9a4690eec57c1192c9cd5c842ced92fd21 by Sven Gothel
JavaFX: Preliminary testing on Windows
The file was modifiedmake/scripts/tests-x64-dbg.bat (diff)
The file was modifiedmake/scripts/tests-win.bat (diff)
Commit ec329b2b7ec5459e47fc3ea562a9c80c904515dc by Sven Gothel
NewtCanvasJFX: Clarify [dispose() -> destroy()] operation
This is automatically issued when receiving the
javafx.stage.WindowEvent#WINDOW_CLOSE_REQUEST from the attached
top-level JavaFX Window
The file was modifiedsrc/newt/classes/com/jogamp/newt/javafx/NewtCanvasJFX.java (diff)
Commit de1ad5939dd22a3d5381789ae4d5d9fad2881071 by Sven Gothel
NewtCanvasJFX: Implement WindowClosingProtocol.WindowClosingMode
Behavior
The file was modifiedsrc/newt/classes/com/jogamp/newt/javafx/NewtCanvasJFX.java (diff)
The file was modifiedsrc/newt/classes/com/jogamp/newt/awt/NewtCanvasAWT.java (diff)
Commit 5ec31d7293b5cce83dcddbaead6c852f6b45d6d7 by Sven Gothel
NewtCanvasSWT: Fix NOP WindowClosingProtocol.WindowClosingMode Behavior
The file was modifiedsrc/newt/classes/com/jogamp/newt/swt/NewtCanvasSWT.java (diff)
Commit 5ebd08709bceee1a7bee45cb042c60e299140fdf by Sven Gothel
Adding NativeWindowHolder extends NativeSurfaceHolder; API Doc for
NEWTDemoListener
NativeWindowHolder abstracts access to is-a or has-a parent component's
NativeWindow like NewtCanvasAWT, NewtCanvasJFX and NewtCanvasSWT
Adding API Doc for NEWTDemoListener.
The file was modifiedsrc/newt/classes/com/jogamp/newt/opengl/util/NEWTDemoListener.java (diff)
The file was addedsrc/test/com/jogamp/opengl/test/junit/newt/parenting/NewtReparentingKeyAdapter.java
The file was addedsrc/nativewindow/classes/com/jogamp/nativewindow/NativeWindowHolder.java
The file was addedsrc/test/com/jogamp/opengl/test/junit/newt/parenting/NewtJFXReparentingKeyAdapter.java
The file was modifiedsrc/newt/classes/com/jogamp/newt/javafx/NewtCanvasJFX.java (diff)
The file was modifiedsrc/newt/classes/com/jogamp/newt/swt/NewtCanvasSWT.java (diff)
The file was modifiedsrc/newt/classes/com/jogamp/newt/awt/NewtCanvasAWT.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/newt/parenting/NewtAWTReparentingKeyAdapter.java (diff)
Commit 76805f82460fdeef40a4562a954802537d554c6d by Sven Gothel
Tests: Adding API Doc for test utilizing NEWTDemoListener and
derivations
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/jogl/demos/es2/newt/TestGearsES2NEWT.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/jogl/demos/es2/newt/TestGearsES2SimpleNEWT.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/newt/parenting/TestParenting03AWT.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/jogl/acore/TestOffscreenLayer02NewtCanvasAWT.java (diff)
The file was modifiedsrc/newt/classes/com/jogamp/newt/util/applet/JOGLNewtAppletBase.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/jogl/demos/gl2/newt/TestGearsNEWT.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/jogl/demos/es2/newt/TestGearsES2NewtCanvasAWT.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/jogl/demos/es2/newt/TestLandscapeES2NewtCanvasAWT.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/newt/event/TestParentingFocus03KeyTraversalAWT.java (diff)
Commit c4cebae730496f95308ad7a9d01cabe2061d916e by Sven Gothel
TestNewtCanvasJFXGLn: Adding NEWTDemoListener and
NewtJFXReparentingKeyAdapter functionality
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/jogl/javafx/TestNewtCanvasJFXGLn.java (diff)
Commit 5ae0eeca1a7031931d10c0db56539bf565ee9591 by Sven Gothel
NewtCanvasJFX.NativeWindow: Delegate required child window canvas
position
NewtCanvasJFX.NativeWindow shall pass through NewtCanvasJFX's Canvas
position to properly position the NEWT child window inside the top level
Window.
NewtJFXReparentingKeyAdapter demonstrating manual reparenting
demonstrates this case.
TestGearsES2NewtCanvasAWT's default behavior is to use a surrounding
border for the NEWTCanvasAWT child, similar to TestNewtCanvasJFXGLn.
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/jogl/demos/es2/newt/TestGearsES2NewtCanvasAWT.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/newt/parenting/NewtAWTReparentingKeyAdapter.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/newt/parenting/NewtJFXReparentingKeyAdapter.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/newt/parenting/NewtReparentingKeyAdapter.java (diff)
The file was modifiedsrc/newt/classes/com/jogamp/newt/javafx/NewtCanvasJFX.java (diff)
Commit 8a66defd3c2c96b05c8868d5edb604e3564ff66d by Sven Gothel
NewtCanvasJFX: Utilize JFXEDTUtil per default, supporting the Windows
Platform
On [GNU/Linux] X11 JFXEDTUtil is not required, since X11 can handle
multi-threaded native parenting, however, the Windows platform does
require JFXEDTUtil.
Currently the default is to use JFXEDTUtil, which operates solely on the
JavaFX thread for windowing lifecycle and even-dispatch operations.
This behavior can be toggled via the boolean property
'jogamp.newt.javafx.UseJFXEDT', which currently defaults to 'true'
This behavior might be analyzed in more detail for a fine grained
EDTUtil decision.
The file was modifiedsrc/newt/classes/com/jogamp/newt/javafx/NewtCanvasJFX.java (diff)
The file was modifiedmake/scripts/tests.sh (diff)
Commit e6298fa34539fc5bb636fe10e0d4f083719dee64 by Sven Gothel
Bug 1357 Related: GLRendererQuirks NoSetSwapIntervalPostRetarget and
NoDoubleBufferedPBuffer no more required for Mesa >= 18.2.2
The file was modifiedsrc/jogl/classes/jogamp/opengl/GLContextImpl.java (diff)
Commit 2319a207873cf88da4ce0dadc5e7a2e5479d4254 by Sven Gothel
Bug 1283: Remove shader include filename quotes if exists at start and
end only
The file was modifiedsrc/jogl/classes/jogamp/opengl/util/glsl/fixedfunc/shaders/FixedFuncColor.fp (diff)
The file was modifiedsrc/jogl/classes/jogamp/opengl/util/glsl/fixedfunc/shaders/FixedFuncColorTexture.fp (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/util/glsl/ShaderCode.java (diff)
The file was modifiedmake/scripts/tests.sh (diff)
Commit a77ac6290977db3b7f15097e7c21c7cca8427929 by Sven Gothel
ShaderCode: Fixed constant usage (GL3 -> GL3ES3)
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/util/glsl/ShaderCode.java (diff)
Commit ddf2640e5088c105352b032bea076c569685c99a by Sven Gothel
Bug 1288: GLBufferStateTracker needs to support ARB_indirect_parameters
GLBufferStateTracker needs to support ARB_indirect_parameters, i.e.
checkTargetName(target) and getQueryName(target) need to recognize
GL4.GL_PARAMETER_BUFFER_ARB.
The file was modifiedsrc/jogl/classes/jogamp/opengl/GLBufferStateTracker.java (diff)
Commit 746383476aa449e9cab4a25df27be85b61aa074b by Sven Gothel
Bug 1348: X11 XI Multitouch: Fixes of previous commit
92006e4baef57f1f3fb647dd307aed5989fd4c8d
Previous commit 92006e4baef57f1f3fb647dd307aed5989fd4c8d
(Note to Danny: I cannot test this now - please re-test and/or review)
X11Common::JavaWindow
- Owns XI extension's xiOpcode, selected xiTouchDeviceId and tracked
XITouchPosition array
X11Window::CreateWindow
- Query XI extension only once @ window creation and earmark xiOpcode in
JavaWindow instance
- Fix: Device selection code was "class->type != XITouchClass",
but shouldn't it be 'XITouchClass == class->type' (as patched here)
- Fix: Free XIQueryDevice returned XIDeviceInfo array via
XIFreeDeviceInfo
- Earmark deviceid in JavaWindow instance
X11Display
- Moved global static touch_coordinates to JavaWindow::xiTouchCoords
instance
X11Display::DispatchMessage
- Changed event handling structure similar to
https://keithp.com/blogs/Cursor_tracking/
- Fix: Free XGetEventData's optional memory allocation via
XFreeEventData
- Reuse JavaWindow's queried xiOpcode
- Fix: Don't overrise windowPointer, instead validate and require a
match. JavaWindow must match!
- Fix: Also validate chosen deviceid with JavaWindow's registered device
Newt Build:
- Added libXi in build recipe and doc
The file was modifieddoc/HowToBuild.html (diff)
The file was modifiedsrc/newt/native/X11Display.c (diff)
The file was modifiedsrc/newt/native/X11Window.c (diff)
The file was modifiedmake/scripts/tests.sh (diff)
The file was modifiedmake/build-newt.xml (diff)
The file was modifiedsrc/newt/native/X11Common.h (diff)
Commit b32541efc1bef773c4f1bbd06d0885ee79821865 by Sven Gothel
Bug 1348: X11 XI Multitouch: Refine commit
746383476aa449e9cab4a25df27be85b61aa074b
Add more verbose DBG_PRINT
- @ CreateWindow: extension, scanning device/class, registered deviceid
- @ DispatchMessage: XI_TouchBegin, XI_TouchUpdate and XI_TouchEnd
On my test machine w/o a touchscreen I correctly:
- detected extension
- detected no XITouchClass device, hence no deviceid registered
X11: [CreateWindow]: XI: Window 0x6600016, Extension 131 X11:
[CreateWindow]: XI: Scan Window 0x6600016, device[1/13].class[1/7]: type
1 (is XITouchClass 0) X11: [CreateWindow]: XI: Scan Window 0x6600016,
device[1/13].class[2/7]: type 2 (is XITouchClass 0) X11: [CreateWindow]:
XI: Scan Window 0x6600016, device[1/13].class[3/7]: type 2 (is
XITouchClass 0) X11: [CreateWindow]: XI: Scan Window 0x6600016,
device[1/13].class[4/7]: type 2 (is XITouchClass 0) X11: [CreateWindow]:
XI: Scan Window 0x6600016, device[1/13].class[5/7]: type 2 (is
XITouchClass 0) X11: [CreateWindow]: XI: Scan Window 0x6600016,
device[1/13].class[6/7]: type 3 (is XITouchClass 0) X11: [CreateWindow]:
XI: Scan Window 0x6600016, device[1/13].class[7/7]: type 3 (is
XITouchClass 0) X11: [CreateWindow]: XI: Scan Window 0x6600016,
device[2/13].class[1/1]: type 0 (is XITouchClass 0) X11: [CreateWindow]:
XI: Scan Window 0x6600016, device[3/13].class[1/3]: type 1 (is
XITouchClass 0) X11: [CreateWindow]: XI: Scan Window 0x6600016,
device[3/13].class[2/3]: type 2 (is XITouchClass 0) X11: [CreateWindow]:
XI: Scan Window 0x6600016, device[3/13].class[3/3]: type 2 (is
XITouchClass 0) X11: [CreateWindow]: XI: Scan Window 0x6600016,
device[4/13].class[1/1]: type 0 (is XITouchClass 0) X11: [CreateWindow]:
XI: Scan Window 0x6600016, device[5/13].class[1/1]: type 0 (is
XITouchClass 0) X11: [CreateWindow]: XI: Scan Window 0x6600016,
device[6/13].class[1/1]: type 0 (is XITouchClass 0) X11: [CreateWindow]:
XI: Scan Window 0x6600016, device[7/13].class[1/1]: type 0 (is
XITouchClass 0) X11: [CreateWindow]: XI: Scan Window 0x6600016,
device[8/13].class[1/7]: type 1 (is XITouchClass 0) X11: [CreateWindow]:
XI: Scan Window 0x6600016, device[8/13].class[2/7]: type 2 (is
XITouchClass 0) X11: [CreateWindow]: XI: Scan Window 0x6600016,
device[8/13].class[3/7]: type 2 (is XITouchClass 0) X11: [CreateWindow]:
XI: Scan Window 0x6600016, device[8/13].class[4/7]: type 2 (is
XITouchClass 0) X11: [CreateWindow]: XI: Scan Window 0x6600016,
device[8/13].class[5/7]: type 2 (is XITouchClass 0) X11: [CreateWindow]:
XI: Scan Window 0x6600016, device[8/13].class[6/7]: type 3 (is
XITouchClass 0) X11: [CreateWindow]: XI: Scan Window 0x6600016,
device[8/13].class[7/7]: type 3 (is XITouchClass 0) X11: [CreateWindow]:
XI: Scan Window 0x6600016, device[9/13].class[1/7]: type 1 (is
XITouchClass 0) X11: [CreateWindow]: XI: Scan Window 0x6600016,
device[9/13].class[2/7]: type 2 (is XITouchClass 0) X11: [CreateWindow]:
XI: Scan Window 0x6600016, device[9/13].class[3/7]: type 2 (is
XITouchClass 0) X11: [CreateWindow]: XI: Scan Window 0x6600016,
device[9/13].class[4/7]: type 2 (is XITouchClass 0) X11: [CreateWindow]:
XI: Scan Window 0x6600016, device[9/13].class[5/7]: type 2 (is
XITouchClass 0) X11: [CreateWindow]: XI: Scan Window 0x6600016,
device[9/13].class[6/7]: type 3 (is XITouchClass 0) X11: [CreateWindow]:
XI: Scan Window 0x6600016, device[9/13].class[7/7]: type 3 (is
XITouchClass 0) X11: [CreateWindow]: XI: Scan Window 0x6600016,
device[10/13].class[1/1]: type 0 (is XITouchClass 0) X11:
[CreateWindow]: XI: Scan Window 0x6600016, device[11/13].class[1/1]:
type 0 (is XITouchClass 0) X11: [CreateWindow]: XI: Scan Window
0x6600016, device[12/13].class[1/7]: type 1 (is XITouchClass 0) X11:
[CreateWindow]: XI: Scan Window 0x6600016, device[12/13].class[2/7]:
type 2 (is XITouchClass 0) X11: [CreateWindow]: XI: Scan Window
0x6600016, device[12/13].class[3/7]: type 2 (is XITouchClass 0) X11:
[CreateWindow]: XI: Scan Window 0x6600016, device[12/13].class[4/7]:
type 2 (is XITouchClass 0) X11: [CreateWindow]: XI: Scan Window
0x6600016, device[12/13].class[5/7]: type 2 (is XITouchClass 0) X11:
[CreateWindow]: XI: Scan Window 0x6600016, device[12/13].class[6/7]:
type 3 (is XITouchClass 0) X11: [CreateWindow]: XI: Scan Window
0x6600016, device[12/13].class[7/7]: type 3 (is XITouchClass 0) X11:
[CreateWindow]: XI: Scan Window 0x6600016, device[13/13].class[1/1]:
type 0 (is XITouchClass 0)
The file was modifiedsrc/newt/native/X11Display.c (diff)
The file was modifiedsrc/newt/native/X11Window.c (diff)
Commit 9e06adb30c8bf01e074e82cde1ebded74b62a805 by Sven Gothel
Update HowToBuild.html
Minimum supported Debian version is now Debian 9 or Stretch to minimize
maintenance. Note: No other GNU/Linux version has been validated so far.
The file was modifieddoc/HowToBuild.html (diff)
Commit ec4721c5b81ca39355f660294bf45edc0a1584da by Sven Gothel
Bug 1348: Fix X11 XI Multitouch
I got access to a touchscreen laptop w/ Debian 9, hence I could fix and
test the implementation.
X11 DisplayDriver.java:
- Store and pass through xi_opcode of XI extension, queried at
initialization stage
X11Window.c Fixes:
- Initialize JavaWindow's xiTouchCoords[].id w/ -1, as required to track
the pointer
- Pass through xi_opcode as stored in X11 DisplayDriver
X11Display.c Fixes:
- sendTouchScreenEvent: Throw RuntimeException if 0 > actionId (Internal
Error: based on xiTouchCoords[].id tracking)
- DispatchMessages's windowPointer determination:
-- Query potenial XI Event first: IF XI Event, must use XIDeviceEvent's
event Window
-- Only IF not an XI Event, we can use evt.xany.window as the event
window
- DispatchMessages's XI Event Handling:
-- Always break deviceid search loop if id found, preserving index and
time spend
Works on my Debian 9 device, tested w/
com.jogamp.opengl.test.junit.jogl.demos.es2.newt.TestGearsES2NEWT:
- One pointer (finger) press, drag and release (click)
- PinchToZoomGesture works
- DoubleTabScrollGesture works
+++
Potential Issues:
JavaWindow's xiTouchCoords[].id accuracy is crucial to pointer tracking
during XI_TouchBegin -> XI_TouchUpdate -> XI_TouchEnd.
In the normal course of action:
- XI_TouchBegin sets the id, assuming it is yet set
- XI_TouchUpdate assumes it is set
- XI_TouchEnd clears the id, assuming it is set
This field in the JavaWindow array only gets reset to -1 once at native
window creation. We may need to figure out when to reset this field to
-1.
If the XI_TouchEnd events would get lost for whatever reason, the above
tracking state would be broken.
The file was modifiedsrc/newt/classes/jogamp/newt/driver/x11/WindowDriver.java (diff)
The file was modifiedsrc/newt/native/X11Common.h (diff)
The file was modifiedsrc/newt/classes/jogamp/newt/driver/x11/DisplayDriver.java (diff)
The file was modifiedmake/scripts/tests.sh (diff)
The file was modifiedsrc/newt/native/X11Window.c (diff)
The file was modifiedsrc/newt/classes/jogamp/newt/WindowImpl.java (diff)
The file was modifiedsrc/newt/native/X11Display.c (diff)
Commit b83a912f19685e81b71c950914f0f82cc0e534bf by Sven Gothel
Bug 1316: MacOSX: Keep *.dylib (Don't move to *.jnilib)
Since Java8 (or even earlier), JRE on OSX uses *.dylib native library
suffix instead of *.jnilib when automatically searching and loading
them.
This is not easily being recognized by JogAmp, since we explicitly name
the native libraries with full path when testing with our TempJarCache.
The file was modifiedmake/build-nativewindow.xml (diff)
The file was modifiedmake/build-jogl.xml (diff)
The file was modifiedmake/build-oculusvr.xml (diff)
The file was modifiedmake/build-newt.xml (diff)
Commit 31869130c3580a1a1c9e2f57e48d5712a3eebda1 by Sven Gothel
Bug 1366 - Use String.format((Locale)null, "..." ..) avoiding Locale
output for System related Operations
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/math/FloatUtil.java (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/util/AnimatorBase.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/TestTextRendererNEWT00.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/TestTextRendererNEWT10.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/jogl/tile/TiledPrintingAWTBase.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/TestTextRendererNEWTBugXXXX.java (diff)
The file was modifiedsrc/jogl/classes/jogamp/opengl/awt/AWTTilePainter.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/jogl/acore/TestGLReadBuffer01GLWindowNEWT.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/util/UITestCase.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/demos/GPUUISceneGLListener0A.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/jogl/acore/GLReadBuffer00BaseAWT.java (diff)
Commit 1fe5a5dc1b164789253406286a05d1332b9467b9 by Sven Gothel
Bug 1367: Adapt to TempFileCache & TempJarCache Changes
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/GLProfile.java (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/cg/CgDynamicLibraryBundleInfo.java (diff)
The file was modifiedsrc/jogl/classes/jogamp/graph/font/UbuntuFontLoader.java (diff)
The file was modifiedsrc/newt/classes/jogamp/newt/NEWTJNILibLoader.java (diff)
The file was modifiedsrc/nativewindow/classes/jogamp/nativewindow/NWJNILibLoader.java (diff)
Commit bbee6f5a71e643b0130f4c89fb8b137e116be029 by Sven Gothel
Bug 1367: Adapt to TempFileCache & TempJarCache Changes
The file was modifiedsrc/oculusvr/classes/com/jogamp/oculusvr/OVRDynamicLibraryBundleInfo.java (diff)
Commit 8f6ffa4e3f158509f3ed8c74c88a3e46723a6e0f by Sven Gothel
Windows scripts: Use JDK/JRE 1.8.0_121
The file was modifiedmake/scripts/make.jogl.all.win64.bat (diff)
The file was modifiedmake/scripts/tests-x64-dbg.bat (diff)
The file was modifiedmake/scripts/tests-javaws-x64.bat (diff)
The file was modifiedmake/scripts/tests.sh (diff)
The file was modifiedmake/scripts/tests-x32.bat (diff)
The file was modifiedmake/scripts/make.jogl.all.win32.bat (diff)
The file was modifiedmake/scripts/tests-x32-dbg.bat (diff)
The file was modifiedmake/scripts/tests-x64.bat (diff)
The file was modifiedmake/scripts/test-win32-smb_share.bat (diff)
Commit 38cb6fa11f00fb358b8bbe40dc79443a5f30269f by Sven Gothel
TestVersionSemanticsNOUI: Adapt to upcoming NON_BACKWARD_COMPATIBLE
version 2.4.0
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/jogl/acore/TestVersionSemanticsNOUI.java (diff)
The file was modifiedmake/scripts/tests.sh (diff)
Commit 1c697274a3c1e976bd9c9b089d6583edf4f346ae by Sven Gothel
Bug 1370: Call from Main-Thread: NW's OSXUtil.CreateNSWindow0(..) and
NEWT's WindowDriver.createWindow0(..)
OSX 10.14.3 Mojave issues a WARNING: NSWindow drag regions should only
be invalidated on the Main Thread! This will throw an exception in the
future.
The complaint about NativeWindow (NW)'s OSXUtil.CreateNSWindow0(..)
might be valid, which does create a NS Window instance w/ NSView and
framebuffer initialized.
However, the complaint about NEWT's WindowDriver.createWindow0(..) is
not, since the initialization incl framebuffer happened later on the
main thread.
Regardless, encapsulated both construction fully to run on the
Main-Thread.
+++
Originally the Main-Thread design spec was like: Must run on Main-Thread
when or after making visible.
Oh well.
The file was modifiedmake/scripts/tests-osx-x64.sh (diff)
The file was modifiedsrc/nativewindow/classes/jogamp/nativewindow/macosx/OSXUtil.java (diff)
The file was modifiedsrc/newt/classes/jogamp/newt/driver/macosx/WindowDriver.java (diff)
The file was modifiedmake/scripts/tests.sh (diff)
Commit ebca35f9a09898b3499ec9fa0e346f2e0c932133 by Sven Gothel
Bug 1362: Enhancing SWT/GTK Support for GTK 2.90, SWT > 4.8 (?)
The file was modifiedsrc/nativewindow/classes/com/jogamp/nativewindow/swt/SWTAccessor.java (diff)
Commit 4cc7d45ad7e7e35b73afe7ddeb9dcf06893e7cb9 by Sven Gothel
Bug 1362: Replace SWT 4.3.0 -> 4.11.0
https://download.eclipse.org/eclipse/downloads/drops4/R-4.11-201903070500/
This binary make/lib drop is only required for build and unit tests.
The file was addedmake/lib/swt/cocoa-macosx-x86_64/.classpath
The file was addedmake/lib/swt/win32-win32-x86_64/.project
The file was removedmake/lib/swt/gtk-solaris-sparc/swt-debug.jar
The file was removedmake/lib/swt/cocoa-macosx/swt-debug.jar
The file was removedmake/lib/swt/gtk-linux-x86_64/swt-debug.jar
The file was modifiedmake/lib/swt/cocoa-macosx-x86_64/about.html (diff)
The file was removedmake/lib/swt/gtk-solaris-x86/about.html
The file was removedmake/lib/swt/win32-win32-x86/about_files/IJG_README
The file was removedmake/lib/swt/cocoa-macosx/about_files/IJG_README
The file was addedmake/lib/swt/gtk-linux-x86_64/.classpath
The file was addedmake/lib/swt/cocoa-macosx-x86_64/about_files/mpl-v20.txt
The file was removedmake/lib/swt/cocoa-macosx-x86_64/swt-debug.jar
The file was removedmake/lib/swt/gtk-linux-x86/about_files/webkit-bsd.txt
The file was addedmake/lib/swt/gtk-linux-x86_64/src.zip
The file was removedmake/lib/swt/gtk-solaris-sparc/about.html
The file was removedmake/lib/swt/gtk-linux-x86/about_files/lgpl-v21.txt
The file was removedmake/lib/swt/gtk-solaris-sparc/about_files/mpl-v11.txt
The file was removedmake/lib/swt/win32-win32-x86/about_files/mpl-v11.txt
The file was addedmake/lib/swt/win32-win32-x86_64/.classpath
The file was removedmake/lib/swt/cocoa-macosx/about.html
The file was modifiedmake/lib/swt/README.txt (diff)
The file was removedmake/lib/swt/gtk-linux-x86/about.html
The file was addedmake/lib/swt/cocoa-macosx-x86_64/swt.jar
The file was removedmake/lib/swt/gtk-freebsd-x86_64/swt.jar
The file was removedmake/lib/swt/win32-win32-x86/about.html
The file was removedmake/lib/swt/win32-win32-x86_64/swt-debug.jar
The file was addedmake/lib/swt/gtk-linux-x86_64/swt.jar
The file was addedmake/lib/swt/gtk-linux-x86_64/.project
The file was modifiedmake/lib/swt/gtk-linux-x86_64/about.html (diff)
The file was removedmake/lib/swt/gtk-linux-x86/swt-debug.jar
The file was removedmake/lib/swt/gtk-solaris-sparc/about_files/IJG_README
The file was removedmake/lib/swt/win32-win32-x86/swt-debug.jar
The file was removedmake/lib/swt/cocoa-macosx/about_files/mpl-v11.txt
The file was modifiedmake/lib/swt/win32-win32-x86_64/about.html (diff)
The file was removedmake/lib/swt/gtk-linux-x86/about_files/IJG_README
The file was removedmake/lib/swt/gtk-solaris-x86/about_files/IJG_README
The file was removedmake/lib/swt/gtk-solaris-x86/about_files/mpl-v11.txt
The file was addedmake/lib/swt/cocoa-macosx-x86_64/.project
The file was removedmake/lib/swt/gtk-solaris-x86/about_files/lgpl-v21.txt
The file was removedmake/lib/swt/gtk-solaris-x86/swt-debug.jar
The file was removedmake/lib/swt/gtk-freebsd-x86_64/README.txt
The file was removedmake/lib/swt/gtk-linux-x86/about_files/mpl-v11.txt
The file was removedmake/lib/swt/gtk-solaris-sparc/about_files/lgpl-v21.txt
The file was addedmake/lib/swt/win32-win32-x86_64/swt.jar
The file was addedmake/lib/swt/gtk-linux-x86_64/about_files/mpl-v20.txt
The file was removedmake/lib/swt/gtk-solaris-x86/README.txt
Commit b52335c4c550aa8a9fd0007563f89dd8a04dc81c by Sven Gothel
Bug 1362: build/test: Use new SWT 4.10 swt.jar (instead of
swt-debug.jar)
The file was modifiedmake/scripts/tests-osx-x64.sh (diff)
The file was modifiedmake/scripts/tests-x32.bat (diff)
The file was modifiedmake/scripts/tests-osx-x64-custom.sh (diff)
The file was modifiedmake/scripts/test-win32-smb_share.bat (diff)
The file was modifiedmake/scripts/tests-x64.sh (diff)
The file was modifiedmake/scripts/tests-osx-x64-mainthread.sh (diff)
The file was modifiedmake/scripts/tests-x32.sh (diff)
The file was modifiedmake/scripts/tests-x32-dbg.bat (diff)
The file was modifiedmake/scripts/tests-x64-dbg.bat (diff)
The file was modifiedmake/scripts/tests.sh (diff)
The file was modifiedmake/build-common.xml (diff)
The file was modifiedmake/scripts/tests-x64.bat (diff)
Commit 56a3ea2077483925cb7da7729fe3afa4da498929 by Sven Gothel
Bug 1362: SWTAccessor: c -> cGTK for readability
The file was modifiedsrc/nativewindow/classes/com/jogamp/nativewindow/swt/SWTAccessor.java (diff)
Commit 2280e821ea5f8e02fb99cf3f12e10115d6d4f13a by Sven Gothel
Bug 1362: Test against SWT 4.3 and 4.11
4.3 is still working w/ GTK2 4.11 is not working as described by Wade
The file was modifiedmake/scripts/tests.sh (diff)
The file was modifiedmake/scripts/tests-x64.sh (diff)
Commit ab10b11a9c94d9597f788e218fe45ede49c67f33 by Sven Gothel
Bug 1362: Wrong 'fake' swt.jar config for isLinuxARM64, isLinuxARMv6 and
isAndroid
We intend to attach a non-matching swt.jar for these build nodes, to at
least pass the javac pass w/o testing on those platforms.
The file was modifiedmake/scripts/tests-x64.sh (diff)
The file was modifiedmake/scripts/tests.sh (diff)
The file was modifiedmake/build-common.xml (diff)