Skip to content

Commit dd033a7

Browse files
committed
Updating compiling doc and changelog
1 parent d825ef4 commit dd033a7

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

ChangeLog.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,24 @@
11
## ChangeLog
22

3+
**JNativeHook 2.2.0 (Pending, 2021)**
4+
* Complete CI/CD overhaul using GitHub Actions.
5+
* Dropping Ant support in favor of CMake and Maven.
6+
* Changed Maven group id to com.github.kwhat.
7+
* Namespace migration due to Maven group id change.
8+
* Added support for Arm 64 on OS X.
9+
* Added support for multi-release jars.
10+
* Added wiki docs to the project.
11+
* Added VoidDispatcher class.
12+
* Fixed logging to be less verbose by default.
13+
* Fixed native library extraction location.
14+
* Fixed issue with unregistering the hook.
15+
* Fixed could not find keyboard map for locale on Windows.
16+
* Fixed issue with setEventDispatcher being overridden on hook registration.
17+
* Fixed issue with dead keys not working in some situations.
18+
* Deprecated all adaptor classes.
19+
* Deprecated NativeInputEvent.setModifiers() and NativeInputEvent.setReserved().
20+
* Removed support for Java 1.5.
21+
322
**JNativeHook 2.1.0 (Jan 25, 2015)**
423
* All events now use the native time source instead of the Unix epoch.
524
* Added adapter classes.

doc/Compiling.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,13 @@ Alternatively, [OpenJDK](https://jdk.java.net/) maybe used. You will also need
99
or MSVC), [CMake](https://cmake.org/download/) and [Maven](https://maven.apache.org/download.cgi).
1010

1111
## Building
12+
Compile Java classes and generate JNI headers.
1213
```
1314
mvn compile
15+
```
1416

17+
Compile libuiohook external dependency.
18+
```
1519
mkdir -p target/build/libuiohook/
1620
cmake -B target/build/libuiohook/ -S src/external/libuiohook/ \
1721
-D CMAKE_INSTALL_PREFIX=target/ \
@@ -23,7 +27,10 @@ cmake --build target/build/libuiohook/ \
2327
--clean-first
2428
2529
cmake --install target/build/libuiohook/
30+
```
2631

32+
Compile JNI source files.
33+
```
2734
mkdir -p target/build/jni/
2835
cmake -B target/build/jni/ \
2936
-D CMAKE_PREFIX_PATH=target/ \
@@ -34,6 +41,9 @@ cmake --build target/build/jni/ \
3441
--clean-first
3542
3643
cmake --install target/build/jni/
44+
```
3745

46+
Create the JAR file.
47+
```
3848
mvn package
3949
```

0 commit comments

Comments
 (0)