JNativeHook Changelog

What's new in JNativeHook 1.1.4

Mar 18, 2013
  • Added no-strict-aliasing compiler option that is enabled by default for all platforms.
  • Fixed 100% CPU utilization on Linux when using asynchronous XRecord API.
  • Fixed a crash when re-registering the native hook on all platforms.
  • Fixed the dead key interpretation for key typed events on Windows.
  • Improved language support for multiple locals on Windows.
  • Improved the memory utilization for the demo application.
  • Updated the demo application to allow unregistering and re-registering of the global hook.
  • Various cleanups throughout the native code base.

New in JNativeHook 1.1.3 (Jan 11, 2013)

  • Fixed a JVM memory leak due to NativeInputEvent objects not being garbage collected.
  • Fixed exception for assistive devices on OS X.
  • Fixed JNLP and custom class loading issues in native code.
  • Fixed mouse click events on Windows.
  • Fixed key typed events for OS X, Again. This should prevent the TSMProcessRawKeyCode failed (-192) errors from popping up.
  • Fixed key typed events for tab, enter and number pad keys on X11 platforms.
  • Improved key char lookup for OSX.
  • Updated the author and license of the code used in WinUnicodeHelper.

New in JNativeHook 1.1.2 (Nov 6, 2012)

  • Added asynchronous XRecord build option and enabled it by default for Unix.
  • Fixed the click count for OS X.
  • Fixed key character lookup including support for dead keys on OS X.
  • Improved stability for synchronous XRecord on Unix.
  • Improved thread startup and shutdown across all platforms.
  • Improved thread safety for Unix and OS X.
  • Various cleanups throughout the native code base.

New in JNativeHook 1.1.1 (Oct 19, 2012)

  • Added an explicit exception if the native library was not found.
  • Added safety checks to the Windows unicode helper function.
  • Changed to a listen only tap for OS X.
  • Fixed a few small memory leaks for OS X.
  • Fixed click count for OS X.
  • Fixed free() on static memory pointer for Unix and OS X.
  • Fixed potential sscanf overflow on Unix.
  • Fixed potential use of a null pointer in rare circumstances for Unix and OS X.
  • Fixed several invalid unicode conversions for Unix.
  • Fixed ant run target java library path.
  • Improved ant platform compatibility.
  • Removed unneeded ActionListener from the NativeHookDemo.
  • Various cleanups throughout the native code base.

New in JNativeHook 1.1.0 (Sep 11, 2012)

  • Total rewrite and restructuring of the native code base.
  • Added support for key typed events.
  • Added support for action key checks.
  • Added support for mouse click events.
  • Added support for mouse drag events.
  • Added support for mouse wheel events.
  • Improved both native and Java thread safety.
  • Improved unpacking of the native library from the Jar.
  • Improved operating system compatibility.
  • Optimized native code for all platforms.
  • Removed Make dependency.
  • Workaround for Java web start shortfalls.

New in JNativeHook 1.1.0 RC 3 (Jul 26, 2012)

  • The current version should address all known bugs with the exception of a possible crash on OS X. If you experience a crash please file a bug report and attach the jnh-error.txt or equivalent error log.