Update jna monorepo to v5#10
Draft
renovate-xelians[bot] wants to merge 1 commit into
Draft
Conversation
14c403d to
e9d2e13
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.3.0→5.19.0Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
java-native-access/jna (net.java.dev.jna:jna)
v5.19.0Compare Source
==============
Features
LARGE_INTEGER.ByValuetoLARGE_INTEGERinWinNT.java- @baier233.Cupstoc.s.j.p.unixproviding CUPS printing system bindings for destinations, jobs, options, and server configuration - @dbwiddis.groupCountandgroupMasksfields toCACHE_RELATIONSHIPinc.s.j.p.win32.WinNT, matching the updated Windows struct layout - @dbwiddis.CoreGraphicstoc.s.j.p.macwith Quartz Window Services and Display Services bindings; implementgetAllWindows()inMacWindowUtils- @dbwiddis.ProcFdInfo,InSockInfo,TcpSockInfo,proc_pidfdinfo,statfs64, andvm_deallocatetoc.s.j.p.mac.SystemB- @dbwiddis.BluetoothApistoc.s.j.p.win32providing Bluetooth device and radio enumeration viaBluetoothFindFirstRadio,BluetoothFindFirstDevice, and related functions - @dbwiddis.Bug Fixes
UdevDevice.getSysname()callingudev_device_get_syspathinstead ofudev_device_get_sysname- @dbwiddis.serverName/domainNamearguments inNetapi32Util#getDCName- @dbwiddis.Advapi32#RegisterServiceCtrlHandlerusing wrongHandlertype - @dbwiddis.host_page_sizeinc.s.j.p.mac.SystemBandgetxattr/setxattr/listxattrinc.s.j.p.mac.XAttrusinglonginstead of pointer-sized types forsize_t/ssize_tparameters - @dbwiddis.NativeLibraryversioned library resolution, libc special-case loading, and 64-bit search paths - @dbwiddis.v5.18.1Compare Source
==============
Bug Fixes
sortFieldsrace condition while getting fields - @bendk.v5.18.0Compare Source
==============
Features
isRISCVtoc.s.j.Platform- @Glavo.CFLocale,CFLocaleCopyCurrent,CFCFDateFormatter,CFDateFormatterStyle,CFDateFormatterCreateandCFDateFormatterGetFormattoc.s.j.p.mac.CoreFoundation- @dbwiddis.Bug Fixes
v5.17.0Compare Source
==============
Features
Bug Fixes
v5.16.0Compare Source
==============
Features
Structurealong with more efficient reentrant read-write locking instead of synchronized() blocks - @BrettWooldridge.Bug Fixes
v5.15.0Compare Source
==============
Features
IsProcessorFeaturePresenttoc.s.j.p.win32.Kernel32- @dbwiddis.XMoveWindow,XResizeWindow,XMoveResizeWindow,XRaiseWindow,XLowerWindowX11 calls toc.s.j.p.unix.X11- @vinceh121.Bug Fixes
v5.14.0Compare Source
==============
Features
SetJob,SetPrintertoc.s.j.p.w.Winspool- @tresf.GetMethod,Put,SpawnInstancetoc.s.j.p.win32.COM.WbemCli#IWbemClassObjectandExecMethodtoc.s.j.p.win32.COM.WbemCli#IWbemServices- @faddom.GetPriorityClass,SetPriorityClass,GetThreadPriority,SetThreadPriorityand associated constants toc.s.j.p.win32.Kernel32- @dEajL3kA.c.s.j.p.mac.XAttr public- @matthiasblaesing.c.s.j.p.bsd.ExtAttrandc.s.j.p.bsd.ExtAttrUtilto wrap BSD <sys/extattr.h> system calls. @rednoah.O_*(e.g.O_APPEND,O_SYNC,O_DIRECT, ...) toc.s.j.p.linux.Fcntl- @matthiasblaesing.Bug Fixes
Library.OPTION_STRING_ENCODINGis ignore for string arguments function calls - @matthiasblaesing.c.s.j.p.win32.Kerne32Utilandc.s.j.p.win32.DBT- @matthiasblaesing.Important Changes
libjnidispatchmust be rebuilt to be compatible with this release.
update to use this version.
v5.13.0Compare Source
==============
Features
c.s.j.p.win32.Psapi.QueryWorkingSetExand associated Types - @crain-32.VirtualLockandVirtualUnlockinc.s.j.p.win32.Kernel32- @matthiasblaesing.c.s.j.p.win32.Advapi32Util#isCurrentProcessElevatedand associated Types - @dbwiddis.c.s.j.p.win32.WbemCli#IWbemClassObject.IWbemQualifierSet,IWbemServices.GetObject,IWbemContext.SetValueand associated methods - @rchateauneu.Kernel32Util.formatMessage- @overpathz.SymbolProviderinNativeLibrary&Library- @soywiz.Bug Fixes
dispatch.c) - @matthiasblaesing.c.s.j.Pointer#createConstant(int)- @dbwiddis.OpenGL32Util#wglGetProcAddress, instead of parameterprocNamethe hardcoded valuewglEnumGpusNVwas used - @soywiz.v5.12.1Compare Source
==============
Bug Fixes
c.s.j.Memory#close- @dbwiddis.v5.12.0Compare Source
==============
Features
CFEqual,CFDictionaryRef.ByReference,CFStringRef.ByReferencetoc.s.j.p.mac.CoreFoundation- @shalupovMemory,CallbackReferenceandNativeLibrary- @matthiasblaesing.1f14b3fand rebuild native libraries - @matthiasblaesing.Bug Fixes
c.s.j.p.win32.PdhUtil#PdhEnumObjectItems- @dbwiddis.Important Changes
Memory#dispose,CallbackReference#disposeandNativeLibrary#disposewere called by the
Object#finalizeoverride. These calls were replaced bythe use of a cleaner. It is not guaranteed anymore, that
disposeis calledon subclasses on finalization.
v5.11.0Compare Source
==============
Features
c.s.j.p.win32.Sspi#MAX_TOKEN_SIZEon Windows 8/Server 2012 and later - @dbwiddis.CFDictionaryGetCounttoc.s.j.p.mac.CoreFoundation- @shalupovCertOpenStoretoc.s.j.p.win32.Crypt32- @shalupovBug Fixes
Win32Exceptionon success for empty section inKernel32Util#getPrivateProfileSection- @mkarg.c.s.j.p.unix.X11.XK_Shift_R- @matthiasblaesing.sun.boot.library.pathsystem on unix OSes - @matthiasblaesing.v5.10.0Compare Source
==============
Features
RegLoadAppKeytoc.s.j.p.win32.Advapi32andregistryLoadAppKeytoc.s.j.p.win32.Advapi32Util- @mfilippov.OpenFileMappingtoc.s.j.p.win32.Kernel32- @lmitusinski.zarch_64as reported by SAPJVM8 tos390x- @MBaesken.file.encodingnow defaults toUTF-8) - @matthiasblaesing.Bug Fixes
ffi_closure_alloc- @davecturner.v5.9.0Compare Source
=============
Features
HKEY_CURRENT_USER_LOCAL_SETTINGStoc.s.j.p.win32.WinReg- @Dani-Hub.REG_NOTIFY_THREAD_AGNOSTICtoc.s.j.p.win32.WinNetand updateREG_LEGAL_CHANGE_FILTER- @Dani-Hub.RegNotifyChangeKeyValuetoc.s.j.p.win32.Advapi32- @Dani-Hub.CM_Get_DevNode_Registry_Propertytoc.s.j.p.win32.Cfgmgr32and corresponding util inc.s.j.p.win32.Cfgmgr32Util- @dbwiddis.BringWindowToToptoc.s.j.p.win32.User32- @kahgoh.GetParenttoc.s.j.p.win32.User32- @kahgoh.CommandLineToArgvWtoc.s.j.p.win32.Shell32and corresponding util inc.s.j.p.win32.Shell32Util- @dbwiddis.NUMA_NODE_RELATIONSHIPinc.s.j.p.win32.WinNTto new version of the structure and improve support for future values ofc.s.j.p.win32.WinNT.LOGICAL_PROCESSOR_RELATIONSHIP- @dbwiddis.Bug Fixes
c.s.j.p.mac.CoreFoundation.CFStringRef#stringValuebuffer needs space for a null byte - @dbwiddis.c.s.j.p.unix.size_t.ByReferenceand fix macOS sysctlsize_t *parameters - @dbwiddis.c.s.j.p.win32.Crypt32Util#cryptProtectDataand#cryptUnprotectData- @dmytro-sheyko.c.s.j.p.win32.Crypt32Util#cryptProtectDataand#cryptUnprotectDataproperly handle 0-length array as input - @dmytro-sheyko.v5.8.0Compare Source
=============
Features
RESOURCE_PREFIXfor darwin todarwin-$archand split jnidispatch library per architecture - @matthiasblaesing.c.s.j.p.win32.WinNT.LOGICAL_PROCESSOR_RELATIONSHIPenum present in Windows Insider builds - @dbwiddis.Bug Fixes
jpmsto custom artifact idsjna-jpmsandjna-platform-jpms- @matthiasblaesing.c.s.j.p.win32.Advapi32Util#getAccountBySid- @dbwiddis.Important Changes
The maven coordinates of the experimental JPMS (java module system) artifacts
were moved from using the classifier
jpmsto custom artifact idsjna-jpmsand
jna-platform-jpms, without an classifier. The reason for this is, thatthe platform artifacts depend on the jna artifacts and need to pull in the
right variant. This is not possible if the classifier is used.
RESOURCE_PREFIXfor darwin (mac OS) was changed fromdarwintodarwin-$archas the fat binaries on mac OS causes various problems:It was reported, that binaries were rejected from the appstore because x86
binaries were found in the application (jnidispatch for mac OS x86) and that
builds needed to be special cased so that the native library can be
assembled. The latter is also true for JNA.
While the prefix is changed, the old prefix is still searched as a fallback
location, so if only a fat binary is present, it can still be loaded.
v5.7.0Compare Source
=============
Features
FindFirstPrinterChangeNotification,FindNextPrinterChangeNotification) inc.s.j.p.w.Winspool- @ianjoneill.aarch64architecture to universaldarwintarget. Cherry pick libffi/libffi#577. - @fkistner, @Vzor-, @tresf.aarch64target. - @tresf.RegisterApplicationRestart,UnregisterApplicationRestartandGetApplicationRestartSettingsinc.s.j.p.w.Kernel32- @matthiasblaesing.Perfstatlibrary toc.s.j.p.unix.aix- @dbwiddis.-Dw32.ascii=true/falseto ant. Previously, UNICODE was always used. - @T-Svenssonmodule-info.class). The new artifacts are namedjna-jpms.jarandjna-platform-jpms.jar- @matthiasblaesing.c.s.j.Memoryobjects - @joerg1985.c.s.j.Structure#readandc.s.j.Structure#write- @joerg1985.c.s.j.p.win32.IPHlpApi#GetExtendedTcpTable,c.s.j.p.win32.IPHlpApi#GetExtendedUdpTable, and supporting structures. - @dbwiddis.Bug Fixes
c.s.j.p.win32.DBT- @matthiasblaesing.CTL_ENTRY#getRgAttribute,CTL_INFO#getRgCTLEntry,CTL_INFO#getRgExtension,CERT_EXTENSIONS#getRgExtension,CERT_INFO#getRgExtension,CRL_INFO#getRgCRLEntry,CRL_INFO#getRgExtension,CRL_ENTRY#getRgExtension. Add bindings forCertEnumCertificatesInStore,CertEnumCTLsInStore,CertEnumCRLsInStoreandCryptQueryObjectinc.s.j.p.win32.Crypt32.WARNING: The signatures for
CTL_INFO#getRgCTLEntryandCTL_INFO#getRgExtensionwere changed - as the original signatures were obviously wrong and read the wrong attributes, it is not considered an API break - @matthiasblaesing.CFStringRef#stringValuefor empty Strings - @dyorgio.DLLCallbackimport fromCallbackReference- @dyorgio.c.s.j.p.WindowUtils#getProcessFilePathand fix unittests for windows 32bit intel - @matthiasblaesing.c.s.j.p.win32.WTypes.BSTRString constructor andsetValuemethod, asBSTRallocation should be managed by COM, Automation, and Interop functions - @dbwiddis.Breaking Changes
v5.6.0Compare Source
=============
Features
c.s.j.p.win32.Kernel32#GetProcessAffinityMask- @dbwiddis.c.s.j.p.win32.Kernel32#SetProcessAffinityMask- @dbwiddis.c.s.j.p.win32.IPHlpAPI#GetTcpStatistics,c.s.j.p.win32.IPHlpAPI#GetUdpStatistics,c.s.j.p.win32.IPHlpAPI#GetTcpStatisticsExandc.s.j.p.win32.IPHlpAPI#GetUdpStatisticsEx- @dbwiddis.toStringto classes extendingc.s.j.ptr.ByReference- @dbwiddis.c.s.j.p.win32.Advapi32Util#getTokenPrimaryGroup- @dbwiddis.GetConsoleScreenBufferInfo,ReadConsoleInputandWriteConsolewith associated structures toc.s.j.p.win32.Wincon- @rednoah.NetSessionEnumtoc.s.j.p.win32.Netapi32andWTSEnumerateSessions,WTSQuerySessionInformation, andWTSFreeMemorytoc.s.j.p.win32.Wtsapi32- @dbwiddis.libudevtoc.s.j.p.linux.Udev- @dbwiddis.c.s.j.p.unix.LibCAPItypessize_tandssize_t,c.s.j.p.linux.LibCmethodsmunmap(),msync(), andclose(),c.s.j.p.unix.LibCUtilmappingmmap()andftruncate(), andc.s.j.p.linux.LibRTmethodsshm_open()andshm_unlink()- @dbwiddis.Thread32FirstandThread32Nexttoc.s.j.p.win32.Kernel32- @dbwiddis.c.s.j.p.win32.Psapiandc.s.j.p.win32.PsapiUtil- @T-Svensson.Bug Fixes
c.s.j.p.win32.WinDef.CHARByReference#getValueshould only read one byte - @dbwiddis.c.s.j.p.win32.WinDef.ULONGLONGshould always be 8 bytes - @dbwiddis.c.s.j.p.win32.WinNT.LARGE_INTEGERneeds to populate both union fields - @dbwiddis.v5.5.0Compare Source
=============
Features
c.s.j.p.mac. @dbwiddis.c.s.j.p.mac.SystemBnow extendsc.s.j.p.unix.LibCAPI. @dbwiddis.c.s.j.p.win32.com.utilandc.s.j.p.win32.com.annotation) in OSGI bundle @dbwiddis.Bug Fixes
c.s.j.p.win32.Kernel32#CreateRemoteThreadand bindVirtualAllocEx,VirtualFreeEx,GetExitCodeThreadinc.s.j.p.win32.Kernel32- @apangin, @matthiasblaesing.c.s.j.p.win32.COM.IShellFolder#ParseDisplayName- @dbwiddis.c.s.j.p.win32.WinNT.java- @trevormaggs.Info-ZIP Unicode Pathextra info - @matthiasblaesing.WinBase.SYSTEM_INFO.processorArchitectureunion - @dbwiddis.v5.4.0Compare Source
=============
Features
c.s.j.p.win32.Advapi32Util.EventLogRecord#getEventIdin favor of#getInstanceId- @dbwiddis..ocxas extension of native libraries on windows - @dmigowski.c.s.j.Structure#newInstanceby iteration available constructors instead of exception handling @bjorndarri.Bug Fixes
Structure#toArrayinc.s.j.p.win32.Netapi32Util- @trevormagg, @matthiasblaesing.v5.3.1Compare Source
=============
Bug Fixes
c.s.j.internal.ReflectionUtilsaccessesjava.lang.invoke.MethodTypewithout reflection, causingjava.lang.NoClassDefFoundErroron android API level < 26 - @matthiasblaesing.v5.3.0Compare Source
=============
Features
c.s.j.p.win32.VersionHelpersand supporting functions - @dbwiddis.c.s.j.p.win32.Kernel32.GetLogicalProcessorInformationExfunction, convenience Util method and supporting structures - @dbwiddis.c.s.j.p.win32.PowrProf#CallNTPowerInformationand supporting structures - @dbwiddis.c.s.j.p.win32.User32and associated classes to support keyboard related functionality. - @kevemueller.c.s.j.p.win32.Advapi32Util.getAccountBySid(String systemName, PSID sid)ignored parameter instead of passing it to the native function - @nirud.c.s.j.p.win32.COM.util.ProxyObject- @matthiasblaesing.c.s.j.p.win32.COM.WbemcliUtil#enumeratePropertiesand bindc.s.j.p.win32.COM.Wbemcli.IWbemClassObject.GetNames- @matthiasblaesing.Bug Fixes
c.s.j.p.win32.PdhUtil- @dbwiddis.c.s.j.p.linuxin OSGi bundle. - @dbwiddis.libjnidispatch.a, OpenJDK maps tolibjnidispatch.so, which causes the native library extractor to fail. AIX is now hard-coded tolibjnidispatch.a- @matthiasblaesing.v5.2.0Compare Source
=============
Features
System.outandSystem.errin favor of regular logging - @matthiasblaesing.c.s.j.p.win32.Kernel32#OpenEvent- @matthiasblaesing.Bug Fixes
Advapi32Util.registryValueExistscalled on non existing key raises exception instead of returningfalse- @matthiasblaesing.System#loadLibrarymechanism, defaultingjna.nosystotruedisabled that code path - @matthiasblaesing.c.s.j.p.WindowUtils.W32WindowUtils.getProcessFilePath(HWND)does not close process handle - @matthiasblaesing.c.s.j.p.unix.X11.XResizeRequestEvent- @matthiasblaesing.v5.1.0Compare Source
=============
Features
statvfstoc.s.j.platform.linux.LibC- @dbwiddis.c.s.j.platform.win32.COM.util.annotation.ComEventCallbackin favour ofc.s.j.platform.win32.COM.util.annotation.ComMethod- @matthiasblaesing.com.sun.jna.platform.linux.XAttrandcom.sun.jna.platform.linux.XAttrUtilJNA wrapper for<sys/xattr.h>for Linux - @wilx.c.s.j.p.win32.Secur32#CompleteAuthToken- @matthiasblaesing.Bug Fixes
v5.0.0Compare Source
=============
Features
HRESULTinc.s.j.p.win32.COM.COMException, introducec.s.j.p.win32.COM.COMInvokeExceptionas subclass ofCOMExceptionfor exception as the result of aIDispatch#Invoke. TheEXECPINFOis unwrapped into fields in theCOMInvokeExceptionand correctly freed. - @matthiasblaesing.Native#loadLibraryrequires that the interface class passed in is an instance of Library. The runtime check can be enhanced by using a constraint generic. This breaks binary compatibility (see notes below) - @d-noll.In a followup, the original
loadLibrarymethods were deprecated andNative#loadmethods were introduced, that hold the new generic definitions. So this change is now binary compatible.Structure#newInstancereceive the target type as a parameter. This adds a limited generic type, so that the return type ist the target type and not a generic structure, removing the necessity to do an explizit cast - @matthiasblaesing.@ComInterfaceannotation tocom.sun.jna.platform.win32.COM.util.IConnectionPointto make it possible to retrieve it viaIUnknown#queryInterface- @matthiasblaesing.Advapi32#EnumDependendServices,Advapi32#EnumServicesStatusExandAdvapi32#QueryServiceStatus.W32Service#stopServicewas modified to be more resilent when stopping service - @matthiasblaesing.com.sun.jna.platform.win32.Kernel32.ExpandEnvironmentStringsand add helper method for it asKernel32Util#expandEnvironmentStrings- @matthiasblaesing.ACEsfromcom.sun.jna.platform.win32.WinNT.ACLeven if the containedACEis not currently supported - @jrobhoward.c.s.j.Structure.FieldOrderannotation to define the field order of a structures without implementingStructure#getFieldOrder()- @idosu.GetProcessTimesandGetProcessIoCounterstocom.sun.jna.platform.win32.Kernel32- @dbwiddis.CreateMutex,OpenMutexandReleaseMutextocom.sun.jna.platform.win32.Kernel32- @matthiasblaesing.PdhLookupPerfNameByIndex,PdhLookupPerfIndexByName, andPdhEnumObjectItemstoc.s.j.platform.win32.Pdhand ac.s.j.platform.win32.PdhUtilclass to access them - @dbwiddis.PERF_OBJECT_TYPE,PERF_COUNTER_BLOCK, andPERF_COUNTER_DEFINITIONtoc.s.j.platform.win32.WinPerfand addedPointerconstructors to ``PERF_INSTANCE_DEFINITIONandPERF_DATA_BLOCK` - @dbwiddis.WTS_PROCESS_INFO_EX,WTSEnumerateProcessesEx, andWTSFreeMemoryExto `c.s.j.platform.win32.Wtsapi3Configuration
📅 Schedule: (in timezone Europe/Paris)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate.