Skip to content

Commit 792f210

Browse files
authored
Merge branch 'master' into tcpudp
2 parents f6bddfe + 81a18de commit 792f210

File tree

382 files changed

+33187
-29173
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

382 files changed

+33187
-29173
lines changed

CHANGES.md

+7
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ Next Release (5.7.0)
77

88
Features
99
--------
10+
* [#1238](https://github.com/java-native-access/jna/pull/1238): Add macOS `aarch64` architecture to universal `darwin` target. Cherry pick [libffi/libffi#577](https://github.com/libffi/libffi/pull/577). - [@fkistner](https://github.com/fkistner), [@Vzor-](https://github.com/Vzor-), [@tresf](https://github.com/tresf).
11+
* [#1264](https://github.com/java-native-access/jna/pull/1264): Update libffi to v3.3; Add Windows `aarch64` target. - [@tresf](https://github.com/tresf).
12+
* [#1293](https://github.com/java-native-access/jna/issues/1293): Bind part of Windows Application Recovery and Restart API: `RegisterApplicationRestart`, `UnregisterApplicationRestart` and `GetApplicationRestartSettings` in `c.s.j.p.w.Kernel32` - [@matthiasblaesing](https://github.com/matthiasblaesing).
1013
* [#1217](https://github.com/java-native-access/jna/pull/1217): Add mappings for AIX `Perfstat` library to `c.s.j.p.unix.aix` - [@dbwiddis](https://github.com/dbwiddis).
1114
* [#1231](https://github.com/java-native-access/jna/pull/1231): The test suite can now be executed on Windows using either ANSI or UNICODE win32 API by passing `-Dw32.ascii=true/false` to ant. Previously, UNICODE was always used. - [@T-Svensson](https://github.com/T-Svensson/)
1215
* [#1237](https://github.com/java-native-access/jna/pull/1237): *Experimental:* Add artifacts that make jna and jna-platform named modules (provide `module-info.class`). The new artifacts are named `jna-jpms.jar` and `jna-platform-jpms.jar` - [@matthiasblaesing](https://github.com/matthiasblaesing).
@@ -29,6 +32,10 @@ Bug Fixes
2932
* [#1278](https://github.com/java-native-access/jna/pull/1278): Improve compatibility of `c.s.j.p.WindowUtils#getProcessFilePath` and fix unittests for windows 32bit intel - [@matthiasblaesing](https://github.com/matthiasblaesing).
3033
* [#1284](https://github.com/java-native-access/jna/pull/1284): Fix illegal access exceptions, when retrieving options for private library interfaces with an instance field - [@fkistner](https://github.com/fkistner).
3134

35+
Breaking Changes
36+
----------------
37+
* Prebuild native library for darwin x86 (32bit java on mac OS) was removed
38+
3239
Release 5.6.0
3340
=============
3441

appveyor.yml

+67-15
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,72 @@
11
version: 1.0.{build}
2-
image: Visual Studio 2015
2+
3+
# speed up cloning
4+
shallow_clone: true
5+
clone_depth: 10
6+
7+
environment:
8+
matrix:
9+
- TARGET_ARCH: x86_64
10+
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
11+
CYGWIN_PACKAGES: git,make,automake,libtool,mingw64-x86_64-gcc-g++,mingw64-x86_64-gcc-core
12+
CHOCO_PACKAGES: ant cygwin
13+
CYGWIN_SETUP: cygwinsetup.exe # from choco
14+
JAVA_HOME: C:\Program Files\Java\jdk1.8.0
15+
16+
- TARGET_ARCH: x86
17+
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
18+
CYGWIN_PACKAGES: git,make,automake,libtool,mingw64-i686-gcc-g++,mingw64-i686-gcc-core
19+
CHOCO_PACKAGES: ant cygwin
20+
CYGWIN_SETUP: cygwinsetup.exe # from choco
21+
JAVA_HOME: C:\Program Files (x86)\Java\jdk1.8.0 # 32-bit
22+
23+
- TARGET_ARCH: aarch64
24+
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 # provides cygwin, mingw
25+
CYGWIN_PACKAGES: make,automake,libtool
26+
CHOCO_PACKAGES: ant
27+
CYGWIN_SETUP: setup-x86_64.exe # from appveyor
28+
JAVA_HOME: C:\Program Files\Java\jdk1.8.0
329

430
install:
5-
- cmd: set PATH=%PATH%;c:\cygwin64;c:\cygwin64\bin
6-
- cmd: choco install -y -f -i ant
7-
- cmd: choco install -y -f -i cygwin
8-
- cmd: C:\cygwin64\cygwinsetup.exe --root C:\cygwin64 --local-package-dir C:\cygwin64\packages --quiet-mode --no-desktop --no-startmenu --packages git,make,automake,automake1.15,libtool,mingw64-x86_64-gcc-g++,mingw64-x86_64-gcc-core,gcc-g++
9-
- cmd: set JAVA_HOME=C:\Program Files\Java\jdk1.8.0
10-
- cmd: set PATH=%JAVA_HOME%\bin;%PATH%
11-
- cmd: set PATH=c:\cygwin64;c:\cygwin64\bin;%PATH%
12-
- cmd: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x64'
31+
# Must prepend cygwin PATH to avoid "cygheap base mismatch" from Git\usr\bin\sed
32+
- cmd: set PATH=C:\cygwin64;C:\cygwin64\bin;%JAVA_HOME%\bin;%PATH%;
33+
- cmd: choco install -y -f -i %CHOCO_PACKAGES%
34+
- cmd: '%CYGWIN_SETUP% --root C:\cygwin64 --local-package-dir C:\cygwin64\packages --quiet-mode --no-desktop --no-startmenu --packages %CYGWIN_PACKAGES%'
1335

14-
build_script:
15-
- cmd: ant dist
36+
# Setup msvc environment
37+
for:
38+
- # VS 2015: x64
39+
matrix:
40+
only:
41+
- TARGET_ARCH: x86_64
42+
before_build:
43+
- cmd: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x64'
44+
before_test:
45+
- cmd: net start spooler
46+
test_script:
47+
- cmd: ant test
48+
- cmd: ant test-platform
49+
50+
- # VS 2015: x86
51+
matrix:
52+
only:
53+
- TARGET_ARCH: x86
54+
before_build:
55+
- cmd: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86'
56+
before_test:
57+
- cmd: net start spooler
58+
test_script:
59+
- cmd: ant test
60+
- cmd: ant test-platform
1661

17-
test_script:
18-
- cmd: net start spooler
19-
- cmd: ant test
20-
- cmd: ant test-platform
62+
- # VS 2019: aarch64
63+
matrix:
64+
only:
65+
- TARGET_ARCH: aarch64
66+
before_build:
67+
- cmd: '"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" x64_arm64'
68+
test_script:
69+
- cmd: echo Skipping tests
70+
71+
build_script:
72+
- cmd: ant -Dos.prefix=win32-%TARGET_ARCH% dist

0 commit comments

Comments
 (0)