You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added jnacontrib.x11.api.X.Window.getSubwindows and fixed jnacontrib.x11.api.X.Window.getXXXProperty, returns null if the window property is not found.
Copy file name to clipboardExpand all lines: CHANGES.md
+18-16
Original file line number
Diff line number
Diff line change
@@ -11,17 +11,19 @@ Features
11
11
*[#290](https://github.com/twall/jna/pull/290): Improved the stacktrace for the exceptions thrown by `com.sun.jna.Structure` - [@ebourg](https://github.com/ebourg).
12
12
*[#332](https://github.com/twall/jna/pull/332): Added Win32 Monitor Configuration API in `com.sun.jna.platform.win32.Dxva2` - [@msteiger](https://github.com/msteiger).
* Added Some minor changes to MS Office samples Test and small changes to the MS Office samples Bug Fixes - [@wolftobias](https://github.com/wolftobias).
15
14
*[#333](https://github.com/twall/jna/pull/333): Added `CoTaskMemAlloc`, `CoTaskMemRealloc` and `CoTaskMemFree` to `com.sun.jna.platform.win32.Ole32` - [@msteiger](https://github.com/msteiger).
16
15
*[#334](https://github.com/twall/jna/pull/334): Added `com.sun.jna.platform.win32.Shell32.SHGetKnownFolderPath` and `KnownFolders` GUID constants - [@msteiger](https://github.com/msteiger).
17
16
*[#338](https://github.com/twall/jna/pull/338): Added `com.sun.jna.platform.mac.XAttr` and `com.sun.jna.platform.mac.XAttrUtil` JNA wrapper for `<sys/xattr.h>` for Mac OS X - [@rednoah](https://github.com/rednoah).
18
17
*[#339](https://github.com/twall/jna/pull/339): Added `GetWindowPlacement`, `SetWindowPlacement`, `AdjustWindowRect`, `AdjustWindowRectEx`, `ExitWindowsEx`, and `LockWorkstation` to `com.sun.jna.platform.win32.User32` - [@Timeroot](https://github.com/Timeroot).
19
18
*[#286](https://github.com/twall/jna/pull/286): Added in com.sun.jna.platform.win32.Kernel32: CreateRemoteThread, WritePocessMemory and ReadProcessMemory - [@sstokic-tgm](https://github.com/sstokic-tgm).
*[#319](https://github.com/twall/jna/pull/319): Fix direct-mapping type-mapped pointer result types - [@marco2357](https://github.com/marco2357).
24
-
* Added Variant and TlbImp Fixes - [@wolftobias](https://github.com/wolftobias).
25
+
*[#350](https://github.com/twall/jna/pull/350): Fix `jnacontrib.x11.api.X.Window.getXXXProperty`, returns `null` if the window property is not found - [@rm5248](https://github.com/rm5248).
26
+
* Fixed `com.sun.jna.platform.win32.Variant` and `TlbImp` - [@wolftobias](https://github.com/wolftobias).
25
27
26
28
Release 4.1
27
29
===========
@@ -182,7 +184,7 @@ Bug Fixes
182
184
* Fix runtime error in some instances where Structure.setFieldOrder is used (never return self when sharing AutoAllocated memory).
183
185
*[#107](https://github.com/twall/jna/issues/107): `Structure.clear()` always calls `ensureAllocated()` to avoid NPE.
184
186
* Ensure internal memory pointer is *always* allocated when calling `Structure.useMemory()`, even if layout is not yet determined.
185
-
187
+
186
188
Release 3.4.1
187
189
=============
188
190
@@ -218,7 +220,7 @@ threads.
218
220
* linux/arm 32-bit support (hardware provided by Alex Lam).
219
221
* linux/ppc 32-bit support (hardware provided by Fritiof Hedman).
220
222
* Preliminary linux/ia64, linux/ppc64 support (thanks to Laurent Guerby and the GCC compile farm).
221
-
* Windows CE/Mobile support (w32ce-arm) (resources provided by andrea antonello and Hydrologis SRL).
223
+
* Windows CE/Mobile support (w32ce-arm) (resources provided by andrea antonello and Hydrologis SRL).
222
224
* linux multi-arch support (kohsuke).
223
225
* Added REG_QWORD registry type support
224
226
* Add to `platform.unix.x11`: `XGrabKey`, `XUngrabKey`, `XSetErrorHandler`.
@@ -367,7 +369,7 @@ Bug Fixes
367
369
368
370
* Fix WindowUtils exception on mouse over TrayIcon.
369
371
* Fix bug toggling windows transparent/opaque (win32/OSX).
370
-
* Avoid overwriting unchanged Pointer values in arrays (function calls with Pointer[] and Structure.read).
372
+
* Avoid overwriting unchanged Pointer values in arrays (function calls with Pointer[] and Structure.read).
371
373
* Ensure Structure fields marked `final` are never written.
372
374
* Fix bug preventing proper population Structure.ByReference fields on Structure read.
373
375
* Ensure double buffering is disabled in components added to a transparent window.
@@ -387,7 +389,7 @@ Bug Fixes
387
389
---------
388
390
389
391
* Fix crash with direct mapping if NULL struct* used (Issue 125).
390
-
* Fix case where null-valued Structure fields would get non-null values on write.
392
+
* Fix case where null-valued Structure fields would get non-null values on write.
391
393
* Synch callback Structure/Structure[] arguments on callback return.
392
394
* Fix NPE when mapping an interface to the current process.
393
395
* Automatically load proper C library version from current process on Linux (avoids crashing bug on Ubuntu with libc-i686 packages active).
@@ -417,7 +419,7 @@ Features
417
419
418
420
* Handle String, Structure, Callback, Buffer, and primitive arrays in direct mappings. Handle NativeMapped and TypeMapper, with optimized paths for IntegerType and PointerType.
419
421
* Optionally throw errno/GetLastError as an exception. This is preferred to (and more efficient than) calling Native.getLastError().
420
-
* Unload/delete native library unpacked from jna.jar if Native class is garbage collected. Only install shutdown hook if using the system class loader.
422
+
* Unload/delete native library unpacked from jna.jar if Native class is garbage collected. Only install shutdown hook if using the system class loader.
421
423
* Auto-write contiguous Structure arrays when first element is written.
422
424
* Support NativeMapped[] as function arguments for interface-mapped libraries (Issue 90).
423
425
* Enable function lookup within current process on Windows.
@@ -435,7 +437,7 @@ Release 3.1.0
435
437
Features
436
438
--------
437
439
438
-
* Add raw JNI mapping of static Java methods. Performance is about 10X that of traditional JNA interface mapping, although with less type conversion functionality.
440
+
* Add raw JNI mapping of static Java methods. Performance is about 10X that of traditional JNA interface mapping, although with less type conversion functionality.
439
441
* Add library option to allow passing/return of Java Objects.
440
442
* Allow handling of uncaught callback exceptions (Issue 63).
441
443
* Object oriented interface to X server (see contrib/x11)
@@ -449,7 +451,7 @@ Features
449
451
Bug Fixes
450
452
---------
451
453
452
-
* Run tests with libjsig.so, if available, which fixes some crashes when running tests on 64-bit platforms.
454
+
* Run tests with libjsig.so, if available, which fixes some crashes when running tests on 64-bit platforms.
453
455
* Fix Issue 104.
454
456
* Fix Issue 94 (Java 1.6 update 10 regression).
455
457
* Fix Issue 51 (Java 1.6 update 10 regression).
@@ -510,7 +512,7 @@ Bug Fixes
510
512
* Avoid overwriting unchanged Structure fields of type Pointer.
511
513
* Avoid more content dragging on OSX or warn if it's too late.
512
514
* Fix UnsatisfiedLinkError using transparent window on Win2K.
513
-
* Fix memory leak with callbacks called from native threads with no Java context (johnwallace).
515
+
* Fix memory leak with callbacks called from native threads with no Java context (johnwallace).
514
516
* Defer structure size calculation if type mapper not yet set, allowing type mapper to be set in derived constructors (colinwalters).
515
517
* Ensure structure memory is allocated in Structure.read/writeField.
516
518
@@ -567,7 +569,7 @@ Features
567
569
568
570
* Enable build/run using IBM's J9 VM (leonardo).
569
571
* Make StdCallFunctionMapper attempt a leading underscore if the simpler mapping doesn't work.
570
-
* Allow Structure.read to overwrite final fields (may not work on some 1.4 VMs).
572
+
* Allow Structure.read to overwrite final fields (may not work on some 1.4 VMs).
571
573
572
574
Bug Fixes
573
575
---------
@@ -581,7 +583,7 @@ Bug Fixes
581
583
* Fix callback allocation code on w32, solaris, freebsd, darwin (libffi was misconfigured).
582
584
* Fix bug when NativeMapped fields are used in a Structure.ByValue instance.
583
585
* Fix NPE calling Structure.read() before memory is initialized.
584
-
* Fix NPE calling Structure.read/write with uninitialized NativeMapped fields.
586
+
* Fix NPE calling Structure.read/write with uninitialized NativeMapped fields.
585
587
586
588
Release 3.0.2
587
589
=============
@@ -628,7 +630,7 @@ Features
628
630
* More supported platforms, via GCC's libffi (wmeissner)
629
631
* Support struct by value as parameter and return value (duncan)
630
632
* Support struct by reference within structures
631
-
* Provide access to native peer for java.awt.Component
633
+
* Provide access to native peer for java.awt.Component
632
634
* Provide access to native peer on OS X.
633
635
* Support MINGW32 builds (fullung)
634
636
* Allow per-field Structure read/write by field name
@@ -643,7 +645,7 @@ Features
643
645
* Support lookup of OSX framework libraries by name
644
646
* Explicit access to shared library global data
645
647
* Invocation interception to facilitate translation of C preprocessor macros and inline functions
646
-
* Provide utility to determine Web Start native library cache location; auto-include this path if jnidispatch is included as a <nativelib> (robertengels)
648
+
* Provide utility to determine Web Start native library cache location; auto-include this path if jnidispatch is included as a <nativelib> (robertengels)
647
649
* Provide access to aligned memory
648
650
* Versioning information embedded in jna.jar and native library
649
651
@@ -676,7 +678,7 @@ Features
676
678
* Optimized shaped windows (chris deckers & olivier chafik); instantiation time improved by about 2-3 orders of magnitude for large, mostly contiguous shapes
677
679
* Provide type mapping in callback arguments/results
678
680
* Provide access to ByteBuffer direct address as a Pointer
679
-
* Provide customization of native string encoding with jna.encoding system property
681
+
* Provide customization of native string encoding with jna.encoding system property
680
682
681
683
Bug Fixes
682
684
---------
@@ -702,7 +704,7 @@ Features
702
704
* Automatic handling of w32 UNICODE/ASCII variants
703
705
* Automatic mapping of decorated w32 stdcall function names
704
706
* Customizable, automatic type conversion of arguments and results (wmeissner)
0 commit comments