SpaiR
4e884a1a17
build(deps): bump Gradle from 7.4.2 to 8.9
2024-08-08 14:46:23 +03:00
SpaiR
8a8cd22ed6
feat: introduce binding generator
...
A squash of hundreds of commits with a binding API generator.
The API generator works with a hybrid model:
1. We define methods and fields in the code.
2. Mark them with API annotations.
3. For specific use cases, we use the old approach with JNI generation comments.
There is also an API to generate an AST tree, which is saved to JSON.
This JSON can be used for full API generation by declaring only field/method names.
Currently, it is used to generate constants.
By eyeballing, 95% of the API has been converted to the new approach.
This is sufficient for the current moment. Only edge cases with specific API calls are left.
fix: ambiguous call for ImGui::GetColorU32
build: disable checkstyle for imgui-binding module
Since the module is heavily generated, checkstyle for it doesn't make sense.
build: make buildSrc to use JDK 11
build: make generateApi optional when compiling project
Initially generated module was not included to the project VCS.
Since it's now in the separate src folder, we don't need to call generator every time.
Only when a new generation result is required.
2024-08-08 14:46:23 +03:00
SpaiR
e64df5a433
doc: revamp available commit type names
...
- Remove excessive commit types
- Add `ci` scope
2024-08-07 16:14:58 +03:00
SpaiR
4ad5032c1c
doc: fix maven link in README
2024-08-07 16:03:12 +03:00
SpaiR
d00f7b5a12
v1.86.12
2024-08-07 11:54:43 +03:00
SpaiR
46c008eb02
build(binding): add universal macOS ARM64 dylib and static FreeType compilation
...
- Static FreeType linking flow for all OS
- Flow to build universal binaries for macOS (x86_64, aarch64)
- Simplified CI workflow by removing FreeType branches from the build matrix
Added 2 new scripts:
1. `buildSrc/scripts/vendor_freetype.sh`
2. `buildSrc/scripts/build.sh`
The first script prepares FreeType for usage in the build process.
The result of this script is used in the `GenerateLibs` task.
Other ways of building with FreeType are removed.
If it's impossible to build with FreeType, it is recommended to set `freetype=false`.
The second script aggregates commands to build native binaries.
It includes specific steps, such as creating a universal library for macOS and copying the result to the specific folder `/tmp/imgui/dst`.
Script 1 can be used for local builds. Script 2 is primarily intended for use in CI.
2024-08-07 09:41:09 +03:00
SpaiR
e2222f45d3
doc: add conventional commits naming and move to MIT License
...
- Add conventional commits naming.
- Move imgui-java to a more straightforward MIT License.
Apache license is ok, yet MIT license is easier to read and understand.
2023-10-01 20:57:31 +03:00
SpaiR
1288f119a8
build: add signing key password
2023-09-29 12:47:09 +03:00
SpaiR
2cef96d993
v1.86.11
2023-09-29 11:35:13 +03:00
SpaiR
f683e6c595
build(deps): bump org.lwjgl:lwjgl from 3.3.2 to 3.3.3 ( #205 )
...
fixes #201
2023-09-29 11:03:58 +03:00
SpaiR
49fffaf02d
tweak(api): simplify version get from imgui-java.properties file ( #204 )
...
Instead of generating `properties` file we make it always.
To provide version value we replace specific token.
Also, small tweaks in code which gets the version
2023-09-29 10:02:21 +03:00
SpaiR
3f2532a478
tweak(build): move LICENSE into META-INF folder ( #203 )
2023-09-29 09:59:37 +03:00
SpaiR
bca843e51b
[Build] Remove submodule update
2023-03-29 21:13:27 +03:00
SpaiR
05ba6f90eb
[Build] Create .github/dependabot.yml
2023-03-14 09:32:26 +02:00
SpaiR
9ddf875745
[Build] Add binding hash sort
2023-03-10 09:02:05 +02:00
SpaiR
f99f052602
v1.86.10
2023-03-10 08:34:48 +02:00
SpaiR
fd7d2f77d4
v1.86.9
2023-03-02 16:31:22 +02:00
SpaiR
4a5c587ffd
[API] Add ability to set inputBuffer in ImGuiTextFilter
...
Useful to have a custom inputText field, but to filter using ImGuiTextFilter
resolves #160
2023-03-02 11:44:23 +02:00
SpaiR
618f687f19
v1.86.8
2023-03-01 11:19:31 +02:00
SpaiR
bf92f04c21
[API] Fix inputText with resizable ImString crashes if the ImGuiInputTextCallback is null
...
fixes #158
2023-03-01 11:01:09 +02:00
SpaiR
d8f8f41a76
[API] Make classes from imgui.type which are represent numbers to extend Number class
...
- ImDouble
- ImFloat
- ImInt
- ImLong
- ImShort
2023-02-28 19:08:25 +02:00
SpaiR
25fc8bae8f
[API] Make all imgui.type classes to implement Comparable<> interface
2023-02-28 19:02:41 +02:00
SpaiR
ae6765ad34
v1.86.7
2023-02-08 08:59:44 +02:00
SpaiR
a1690409c1
[Build] Tweak Update Binaries job
2023-02-07 17:18:23 +02:00
SpaiR
4f06b4e0de
[Doc] Tweak readme
2022-12-28 09:55:54 +02:00
SpaiR
0f4df89e2b
v1.86.6
2022-12-27 13:11:19 +02:00
SpaiR
09da8c4aae
[Build] Fix maOS deploy
2022-12-27 13:08:09 +02:00
SpaiR
e2cfbdcf3f
[Build] Change comparison for binary libraries
...
Instead of size we will compare hash of the `imgui-binding/src/main` folder.
2022-12-27 12:30:06 +02:00
SpaiR
cb381e9521
[Build] Fix missing windows natives in deployment
2022-12-25 12:21:10 +02:00
SpaiR
88f98d84ec
[Doc] Tweak readme about release page files
2022-12-21 12:03:52 +02:00
SpaiR
87b1004674
[Build] Fix publish.gradle script
2022-12-19 13:40:05 +02:00
SpaiR
e913e19982
[Build] Add gradle cache
2022-12-19 11:41:14 +02:00
SpaiR
d760b2b9ef
[API] Tweak ImString tests
2022-12-19 11:36:10 +02:00
SpaiR
47baed3b42
[API] Add arithmetic ops to ImVec2 and ImVec4
...
- plus
- minus
- times
2022-12-19 11:30:51 +02:00
SpaiR
a2bacb292e
[Build] Update artifacts only when needed ( #150 )
2022-12-15 12:36:35 +02:00
SpaiR
8a560ca439
[API] Fix dependency tree issue for imgui-java-app
...
resolve #75
resolve #127
Removed shadowing for `imgui-java-app.jar` which is published to Maven Central.
Shadow Jar now has a prefix `-all` - for those one who prefer to use raw jars instead dependencies in maven/gradle.
2022-12-14 12:01:50 +02:00
SpaiR
23b3f4f123
[Doc] Remove redundant header
2022-12-13 14:48:53 +02:00
SpaiR
2957cb4b88
[Build] CI refactor ( #149 )
...
* [Build] CI refactor
* [Build] Fix GenerateLibs
* [Build] Up actions/checkout@v3
* [Build] Remove actions/gradle-build-action
* [Build] Uncomment publish/release jobs
* [Build] Delete obsolete jobs
* [Build] Add more info to the jar manifest
* [Build] Make checkout to fetch tags
* [Build] Return job to update binaries
* [Doc] Update README
2022-12-12 21:45:50 +02:00
SpaiR
f4214c29dc
[Build] ⬆ freetype v2.12.1
2022-11-24 21:55:49 +02:00
SpaiR
56165905b3
[Doc] Move README back to the root
2022-11-24 21:46:47 +02:00
SpaiR
ff9b88ddbb
[API] Add convenient methods to ImColor helper
2022-09-02 12:18:29 +03:00
SpaiR
142e312971
[API] Fix invalid setNextPlotFormatY
...
fixes #129
2022-05-12 13:15:11 +03:00
SpaiR
5b0e867bfe
[Doc] Simplify PR template
2022-04-29 17:45:44 +03:00
SpaiR
c127b46d27
[Build] Add pull_request CI trigger
2022-04-29 17:44:00 +03:00
SpaiR
cf091adcc9
[Doc] Move documentation to docs folder
2022-04-17 23:01:56 +03:00
SpaiR
3317536d25
[Build] Gradle v7.4.2
2022-04-17 23:00:51 +03:00
SpaiR
f01a5a573d
[Build] Tweak build classes
2022-04-17 22:57:06 +03:00
SpaiR
67b23ddf5f
[Doc] Update README about automatic module names
2022-03-11 22:56:50 +02:00
SpaiR
d04527996b
Support links ( #121 )
2022-03-07 13:10:25 +02:00
SpaiR
cca6c47d4a
[Doc] Repository documentation ( #117 )
2022-03-03 13:33:21 +02:00
SpaiR
a6ca631506
[Build] Add more logs to the release script
2022-02-02 20:45:09 +02:00
SpaiR
a780cec724
[Doc] Change link to the memory editor example
2022-02-02 20:27:34 +02:00
SpaiR
0c37ac6dfd
[API] Up GLFW impl
2021-12-27 11:30:16 +02:00
SpaiR
384e24a6c5
[API] Up OpenGL impl
2021-12-26 17:19:04 +02:00
SpaiR
e972af840e
[API] Dear ImGui v1.86 ( #102 )
2021-12-26 16:00:21 +02:00
SpaiR
dcf0dea9f3
[Build] Gradle 7.3.3 ( #101 )
2021-12-26 15:52:53 +02:00
SpaiR
adf9d5fe4e
[Build] Update publish scripts
2021-12-18 10:49:09 +02:00
SpaiR
8e1b6ba784
[Build] Gradle 7.3
2021-12-01 10:44:12 +02:00
SpaiR
f172bd6e13
[API] Dear ImGui v1.85
2021-12-01 10:38:46 +02:00
SpaiR
aaaa5bc9d3
[Doc] Tweak Readme about the repository cloning
2021-12-01 10:20:11 +02:00
SpaiR
e529c610fa
[API] Fix dragInt3 only shows 2 boxes
...
fixes #68
2021-09-12 11:29:01 +03:00
SpaiR
9026dcd4ad
[API] Dear ImGui v1.84.1
2021-08-29 11:17:15 +03:00
SpaiR
babb8ed313
[Build] Gradle 7.2
2021-08-29 10:35:40 +03:00
SpaiR
255f2e2286
[Build] Move sourceCompatibility option to the root build file
2021-08-29 10:29:54 +03:00
SpaiR
a4dd33e421
[Build] Remove useless release changelog line
2021-08-29 10:29:54 +03:00
SpaiR
44a1a18907
[Build] Gradle 7.1.1
2021-07-10 14:15:45 +03:00
SpaiR
1544682cc4
[Build] Add workflows for automatic releases
2021-07-10 14:15:45 +03:00
SpaiR
cbdf36f09e
v1.83.1
2021-06-21 16:19:39 +03:00
SpaiR
b1ea4cedb9
[Doc] Fix javadoc
2021-06-21 16:19:39 +03:00
SpaiR
68b36de553
[Doc] Add info about ImPlot
2021-06-21 16:17:29 +03:00
SpaiR
2c6f52a73f
v1.83.0
2021-06-04 15:30:53 +03:00
SpaiR
86ebdfcd82
[ci skip] Update README
2021-06-04 15:29:41 +03:00
SpaiR
0cdef0271c
[ci skip] Add Update Natives workflow
2021-05-30 22:39:27 +03:00
SpaiR
84960311e4
[Build] Rename workflow
2021-05-30 22:21:44 +03:00
SpaiR
983003613d
[Build] Tweak CI
2021-05-30 21:25:31 +03:00
SpaiR
5a8692248a
[Example] Tweak fonts
2021-05-30 21:17:17 +03:00
SpaiR
d54e674f51
Merge branch 'ci-update-bins'
2021-05-30 21:10:27 +03:00
SpaiR
de4012c5b4
[Build] CI job to update natives
2021-05-30 21:10:04 +03:00
SpaiR
3d212c75b3
[Build] CI job to update natives
2021-05-30 16:48:02 +03:00
SpaiR
e5a2a21a91
Merge branch 'ci-freetype'
2021-05-30 16:12:32 +03:00
SpaiR
37bc815a06
[Build] Add FreeType support for CI
2021-05-30 16:11:54 +03:00
SpaiR
39a86991f2
[Build] Drop 32bit support
2021-05-30 14:30:00 +03:00
SpaiR
b4df8d8611
[API] Dear ImGui v1.83
2021-05-29 13:09:00 +03:00
SpaiR
e5a30ab6be
[Build] Fix passing local natives to the example
...
resolves #48
2021-05-29 12:48:39 +03:00
SpaiR
7a98fb7ba9
[Build] Add shadowJar plugin to collect all deps into one jar
...
resolves #52
2021-05-29 12:28:27 +03:00
SpaiR
2730c93469
[Example] Fix example
2021-05-29 12:20:45 +03:00
SpaiR
6b0bf55ecd
[Build] Update gradle to 7.0.2
2021-05-29 12:15:48 +03:00
SpaiR
93f8a11aac
[Build] Remove lomok from imgui-app
2021-05-29 12:15:36 +03:00
SpaiR
423612cdc4
[API] Fix #43
2021-05-29 12:09:01 +03:00
SpaiR
8070e9668d
[Example] Minor styling
2021-04-29 09:03:34 +03:00
SpaiR
87fa05d3c1
v1.82.2
2021-04-12 13:36:38 +03:00
SpaiR
44c5ca18ca
[Build] Make imgui-app to use a freetype version of library for Windows
...
It's absolutely safe to use FreeType for Windows, since dll's are compiled fully statically.
2021-04-12 13:09:38 +03:00
SpaiR
d80850104c
[Build] Fix build script for jar with native freetype binaries
...
Natives were packed in 'io/imgui/java/native-bin/freetype', not in 'io/imgui/java/native-bin/'.
2021-04-12 12:55:45 +03:00
SpaiR
f1556009a9
[Build] Gradle v7.0
2021-04-10 21:31:16 +03:00
SpaiR
3725ddf2f9
[Build] Add a "one include" header files
2021-04-10 15:30:00 +03:00
SpaiR
abb00aafb4
[Build] Fix wording for imgui-java-natives
2021-04-10 14:33:49 +03:00
SpaiR
ad24d65c86
[Build] QOL for build scripts
2021-04-10 14:24:52 +03:00
SpaiR
e8ef911787
[Doc] Fix typo
2021-04-05 10:31:58 +03:00
SpaiR
e42ac49514
[Doc] Tweak readme
2021-04-05 09:31:25 +03:00
SpaiR
cfab913f6c
v1.82.1
2021-04-04 12:48:51 +03:00