WerWolv
b9034523b5
patterns: Allow [[format]] attribute to work with custom types
2022-01-11 19:35:28 +01:00
WerWolv
e204ef629f
patterns: Fixed passing structs to functions as argument
...
Fixes #385
2022-01-10 20:02:18 +01:00
WerWolv
d2704242f2
patterns: Fixed pointer_base
attribute
...
Hopefully takes care of #367
2022-01-10 00:40:34 +01:00
WerWolv
f45cc3fc73
patterns: Potentially fix issues with nested pointers with custom base addresses
...
Closes #367
2021-12-31 11:05:02 +01:00
WerWolv
490eaef5c1
patterns: Fixed color attribute not working correctly for arrays and structs
...
Fixes #388
2021-12-31 11:01:22 +01:00
WerWolv
077bc45b7d
fix: Many format string warnings on MacOS and some Linux distros
2021-12-31 01:10:06 +01:00
WerWolv
0884025b82
patterns: Added continue and break statements to arrays of structs
2021-12-30 18:31:24 +01:00
WerWolv
3ce0f8f4a8
patterns: Added break and continue statements for loops
2021-12-30 14:44:46 +01:00
WerWolv
ad223a4e5c
sys: Refactor pattern language api functions a bit
2021-12-20 20:40:28 +01:00
WerWolv
376cb01a16
patterns: Disallow calling of dangerous functions by default
...
Closes #330
2021-12-19 12:32:15 +01:00
WerWolv
ea92e17ca0
patterns: Added basic support for in/out variables
2021-12-18 22:56:36 +01:00
WerWolv
bc53109a1f
sys: Added timeout setting to curl code. Make splash screen not hang as long
2021-12-17 09:52:58 +01:00
WerWolv
2e90abd2c5
patterns: Fix indexing of static arrays
2021-12-10 18:53:19 +01:00
WerWolv
8f2e382c8a
patterns: Added std::env and ability to pass parameters to patterns from the UI
2021-12-10 11:55:27 +01:00
WerWolv
c2d1589e74
patterns: Fixed variable access inside pointer pattern yielding invalid results
2021-12-05 21:54:09 +01:00
WerWolv
e720b61df6
patterns: Fix casts unexpectedly increasing cursor position
2021-12-03 16:06:40 +01:00
WerWolv
9340c8aae3
patterns: Fixed placed signed integers not being sign extended correctly
2021-11-27 14:34:59 +01:00
WerWolv
9158d79126
patterns: Don't display strings with zero length. Fixes crash
2021-11-27 14:02:14 +01:00
WerWolv
ded452fdfc
patterns: Allow functions to be called inside structs
2021-11-27 12:57:59 +01:00
qdlmcfresh
2e3c43ad9e
Fix buffer sizes of PatternDataString16 ( #339 )
2021-11-11 13:24:01 +01:00
WerWolv
594a6c1c0f
patterns: Remove null bytes before displaying/printing string patterns
2021-11-10 14:45:26 +01:00
WerWolv
1c1396bf4b
patterns: Added ability to format patterns as strings.
...
This adds support for printing char16 strings
2021-11-04 20:41:56 +01:00
WerWolv
1f250e87a3
patterns: Added support for changing pointer endian
2021-10-31 15:20:19 +01:00
WerWolv
cd89b55f5b
patterns: ASTNode and LogConsole cleanup
2021-10-31 15:06:48 +01:00
WerWolv
d6f9ec3f8f
tests: Improved pattern unit tests
2021-10-20 11:06:24 +02:00
WerWolv
1b66c84303
patterns: Fixed [[name]] attribute setting variable name instead of display name
2021-10-18 09:57:26 +02:00
WerWolv
9b1c09818c
patterns: Fixed accessing global scope items through the parent keyword
2021-10-17 21:49:33 +02:00
WerWolv
3e5d6cf88c
patterns: Added padding expressions in bitfields.
...
Closes #326
2021-10-14 20:28:21 +02:00
WerWolv
b12cd66679
patterns: Make global scope available for use in custom types
2021-10-11 22:01:15 +02:00
WerWolv
aac1a37a3f
patterns: Limit number of characters displayed in a string pattern
2021-10-11 20:59:14 +02:00
WerWolv
ec9715f326
patterns: Added for loops
2021-10-10 13:47:48 +02:00
WerWolv
69ca14bf46
patterns: Allow function variables to be assigned immediately
2021-10-10 13:05:32 +02:00
WerWolv
0226f3d047
patterns: Fixed color
attribute taking BGR instead of RGB
2021-10-09 23:38:00 +02:00
Kuruyia
72ec6baf79
sys: Fix macOS compilation (as of 2dc1886
) ( #317 )
...
* sys: Updated curl to latest version
* sys: Fix macOS compilation
* ui: Fix splash screen OpenGL init for macOS
* sys: Fix std::min compile errors
* git: Re-enabled macos workflow
* sys: Remove includes of the range library
* build: Find OpenGL using CMake
* sys/build: Fix bundled plugins on macOS
* build: Copy plugins to bundle when creating a bundle
* build: Fixup bundled plugins
* sys: Search for plugins in the bundle instead of in Application Support
* sys: Allow resources to be placed in multiple directories on macOS
* build: Output built plugins to the plugins/ directory when not creating a bundle on macOS
* sys: Fix Application Support paths on macOS
* sys: Define ftruncate64 on macOS
* sys: Fix absolute value computation for std::string::at on macOS
Co-authored-by: WerWolv <werwolv98@gmail.com>
2021-10-09 23:07:58 +02:00
WerWolv
2dc1886ee9
patterns: Fixed wrong offsets when passing custom types to functions
2021-10-08 21:39:30 +02:00
WerWolv
7498a72f70
patterns: Fixed null bytes being included in read strings
2021-10-07 21:47:39 +02:00
WerWolv
6d8b7bef09
patterns: Added button to abort evaluation
2021-10-07 11:34:46 +02:00
WerWolv
3e30f75e7b
patterns: Fixed endian pragma not working
2021-10-06 15:19:32 +02:00
WerWolv
e3a6ac548b
pattern: Make current data offset in attributes point to start address of pattern
2021-10-05 21:55:30 +02:00
WerWolv
4b9aff5b29
patterns: Allow str to be used in function bodies
2021-10-04 20:26:34 +02:00
WerWolv
3543fa4caa
patterns: Fixed pattern limitting dangling pointer
2021-10-03 23:07:33 +02:00
WerWolv
51a98736e8
tests: Fixed compile errors
2021-10-03 12:32:58 +02:00
WerWolv
12a8cadcfe
patterns: Limit max number of patterns
...
Can be overriden with the pattern_limit pragma
Further improves situation with #313
2021-10-02 15:22:38 +02:00
WerWolv
a9e3db0464
patterns: Fixed inlined variable drawing
2021-09-29 20:51:57 +02:00
WerWolv
d5ca4c4f28
patterns: Fixed pointer name displaying
2021-09-27 20:16:23 +02:00
WerWolv
08c2e1cd4e
patterns: Added [[transform]] and [[pointer_base]] attributes
2021-09-27 18:32:48 +02:00
WerWolv
888976873a
patterns: Added [[inline]] attribute
2021-09-27 13:31:10 +02:00
WerWolv
7da8a5b1d8
patterns: Unified expression body parsing
2021-09-26 18:27:18 +02:00
WerWolv
ae9f4fa876
patterns: Increased highlighting performance
2021-09-26 02:23:27 +02:00
WerWolv
aab865fe25
patterns: Fix member access inside if body
2021-09-26 02:22:50 +02:00