1231 Commits

Author SHA1 Message Date
Jan
eece5bb91d
Leave in token joining operator but do stringize forward lookup instead 2023-12-30 18:47:32 +01:00
Jan
edb88273e7
Fix not correct adding input suffix when expanding nested macro 2023-12-30 16:45:06 +01:00
Jan
70d4d77266
Identify token joining operators 2023-12-30 16:41:17 +01:00
Jan
729b72c1d9
Consider triple number sign in macro value combination of ## and # 2023-12-30 14:39:08 +01:00
Jan
799fa37c44
Fix not ignoring whitespace after macro parameter comma 2023-12-30 14:16:49 +01:00
Jan
d3519c2f62
Do not expand macros in strings 2023-12-30 14:01:59 +01:00
Jan
2af58e5cac
Fix broken stringization resolution 2023-12-30 13:52:05 +01:00
Jan
3901ea2d3c
Make DefinesProxy expand nested macros independently to avoid recursion 2023-12-30 11:06:27 +01:00
Jan
37b1f7fe87
Add more DefinesStreamProxy tests to harden expected behavior 2023-12-28 17:20:44 +01:00
Jan
e8d029d846
Implement stringization operator 2023-12-27 15:20:15 +01:00
Jan
b151c37dc0
Add unit tests for preprocessor operators 2023-12-27 15:20:03 +01:00
Jan
44e501e8b6
Merge pull request #72 from Laupetin/fix/static-expressions-for-menu-properties
Allow static expressions on all menu item properties
v0.3.2
2023-12-26 13:54:24 +01:00
Jan
0bcadc1abe
Add test to ensure menu simple color properties can be static
expressions
2023-12-26 13:11:59 +01:00
Jan
851baa5931
Add test to ensure menu simple floating point properties can be static
expressions
2023-12-26 13:09:20 +01:00
Jan
749f44b2c4
Add tests to ensure menu simple int properties can be static expressions 2023-12-26 13:06:48 +01:00
Jan
7820390dd8
Support static expressions for menu simple string properties 2023-12-25 22:59:56 +01:00
Jan
1b5d6f7439
Add unit test for menu item origin 2023-12-25 19:52:20 +01:00
Jan
f5c987ce59
Add unit tests for menu item rect 2023-12-25 19:52:05 +01:00
Jan
eb8ce86245
Add assertions to dvarStrList test to make sure the state is correct 2023-12-25 17:48:32 +01:00
Jan
3e18f74a1a
Merge pull request #69 from Laupetin/fix/column-expressions
Accept expressions as part of the column sequence
2023-12-25 11:45:35 +01:00
Jan
7fff36dab2
Accept expressions as part of the column sequence 2023-12-25 11:34:49 +01:00
Jan
f6b5dcae39
Merge pull request #68 from Laupetin/fix/empty-value-menu-mismatch
Accept setLocalVar scripts without value as default value expression
2023-12-25 10:01:29 +01:00
Jan
69cd172879
Accept setLocalVar scripts without value as default value expression 2023-12-25 09:50:24 +01:00
Jan
846a9d36e8
Merge pull request #57 from Laupetin/fix/macro-expansion-multiple-lines
Fix macro expansion and definition over multiple lines
v0.3.1
2023-12-24 01:11:22 +01:00
Jan
4ba33f03a0
Support comma in brackets and braces in preprocessor args 2023-12-24 01:01:17 +01:00
Jan
067f1a854e
Add unit tests for properly parsing comma in square brackets and curly
braces in macro usages
2023-12-24 00:44:27 +01:00
Jan
381aaccdf4
Fix unused variables 2023-12-24 00:29:31 +01:00
Jan
3ad2414754
Fix not being able to use two multi-line macros after another 2023-12-24 00:21:36 +01:00
Jan
9c80332147
Update macro expansion logic to accept parameters over multiple lines 2023-12-24 00:05:27 +01:00
Jan
3bb9f5bc9d
Fix broken link syntax in README 2023-12-23 16:55:34 +01:00
Jan
20e3712d95
Fix broken link in README and link to docs repo 2023-12-23 16:54:43 +01:00
Jan
b1d4176b6e
Ensure not closing macro definition parameters throws an error 2023-12-23 13:54:57 +01:00
Jan
c1c5378b08
Fix example line formatting in DefinesStreamProxy Test 2023-12-23 13:54:53 +01:00
Jan
12bb974324
Make DefinesProxy use ContinueDefine method instead of duplicated code 2023-12-23 13:54:45 +01:00
Jan
8d0147d6cf
Make sure all tests need to pass for ci to pass, not just last 2023-12-23 13:53:48 +01:00
Jan
74154653aa
Fix macro parameters not being able to be specified over multiple lines when defining 2023-12-23 13:53:45 +01:00
Jan
b7022291a8
Add unit tests for expected behaviour for DefinesStreamProxy 2023-12-23 13:53:42 +01:00
Jan
6ca9485b55
Merge pull request #61 from Laupetin/dependabot/submodules/thirdparty/catch2-3acb8b3
Bump thirdparty/catch2 from `dacbf4f` to `3acb8b3`
2023-12-16 01:41:34 +01:00
Jan
5e2c6ff9ab
Merge pull request #62 from Laupetin/dependabot/submodules/thirdparty/json-a259ecc
Bump thirdparty/json from `3780b41` to `a259ecc`
2023-12-16 01:41:22 +01:00
Jan
1b0f21eeb7
Merge pull request #64 from Laupetin/dependabot/github_actions/actions/download-artifact-4
Bump actions/download-artifact from 3 to 4
2023-12-16 01:41:09 +01:00
Jan
2c49fbc76c
Merge pull request #63 from Laupetin/dependabot/github_actions/actions/upload-artifact-4
Bump actions/upload-artifact from 3 to 4
2023-12-16 01:40:58 +01:00
dependabot[bot]
0405a2654b
Bump actions/download-artifact from 3 to 4
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-15 22:58:37 +00:00
dependabot[bot]
3b79652f1a
Bump actions/upload-artifact from 3 to 4
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-15 22:58:33 +00:00
dependabot[bot]
daf0e30bf3
Bump thirdparty/json from 3780b41 to a259ecc
Bumps [thirdparty/json](https://github.com/nlohmann/json) from `3780b41` to `a259ecc`.
- [Release notes](https://github.com/nlohmann/json/releases)
- [Commits](3780b41dd0...a259ecc51e)

---
updated-dependencies:
- dependency-name: thirdparty/json
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-15 22:53:53 +00:00
dependabot[bot]
e458a7b2a9
Bump thirdparty/catch2 from dacbf4f to 3acb8b3
Bumps [thirdparty/catch2](https://github.com/catchorg/Catch2) from `dacbf4f` to `3acb8b3`.
- [Release notes](https://github.com/catchorg/Catch2/releases)
- [Commits](dacbf4fd6c...3acb8b30f1)

---
updated-dependencies:
- dependency-name: thirdparty/catch2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-15 22:53:50 +00:00
Jan
9e275f37d2
Merge pull request #59 from JezuzLizard/t6-animtree-decompression-compression
T6 animtree decompression compression
v0.3.0
2023-12-15 00:23:34 +01:00
JezuzLizard
8b62bc0bc0 Address review comments. 2023-12-14 13:48:44 -08:00
JezuzLizard
96e67dc1fa Use clang-format. 2023-12-14 13:28:16 -08:00
JezuzLizard
bcf9956da2 Fix warning. 2023-12-14 13:28:16 -08:00
JezuzLizard
76a98e65fd Replace magic numbers with macros from zutil.h. Compress animtrees when linking. 2023-12-14 13:28:16 -08:00