WerWolv
9b316795fc
tests: Refactor to add support for other types of tests
2021-10-12 21:32:33 +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
140234aef3
patterns: Fixed using declaration parsing
2021-10-10 15:38:58 +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
WerWolv
76391edad6
git: Renamed codeql and unit tests workflow
2021-10-09 23:30:35 +02:00
WerWolv
9b3822a8bd
git: CodeQL doesn't need to run every commit. And also not only at 00:21 every thursday...
2021-10-09 23:15:08 +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
Anton Älgmyr
21769886fc
Fix crash on pattern load ( #319 )
2021-10-09 17:08:45 +02:00
WerWolv
2dc1886ee9
patterns: Fixed wrong offsets when passing custom types to functions
2021-10-08 21:39:30 +02:00
WerWolv
a29e3789d2
patterns: If a main function exists, automatically call it
2021-10-08 18:47:05 +02:00
xtex
17db605b17
i18n: Chinese(Simplified) ( #316 )
...
* i18n: Chinese(Simplified)
* i18n: Chinese(Simplified)
fix: half-width symbol
* i18n: Chinese(Simplified)
2021-10-08 13:26:14 +02:00
WerWolv
4e520938c9
sys: Fixed Project load/save and Save as command
2021-10-07 22:51:16 +02:00
WerWolv
7498a72f70
patterns: Fixed null bytes being included in read strings
2021-10-07 21:47:39 +02:00
WerWolv
241bbd80bc
ui: Fixed pattern data view lang name overlap
2021-10-07 20:34:18 +02:00
WerWolv
2e05845410
ui: Improved command palette
2021-10-07 16:25:59 +02:00
WerWolv
a67263fa27
patterns: Added basic file i/o functions
2021-10-07 14:49:49 +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
7eb4b40dc7
patterns: Fixed multi-variable decl crash
2021-10-05 22:08:05 +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
044e65eb20
sys: Fixed non-existing files being created in Read mode
2021-10-05 18:47:10 +02:00
WerWolv
545604da63
sys: Fixed reading empty file as string crashing
2021-10-05 18:46:57 +02:00
WerWolv
4b9aff5b29
patterns: Allow str to be used in function bodies
2021-10-04 20:26:34 +02:00
WerWolv
a93049056a
tests: Run all tests multiple times
...
Tests are all done pretty quickly anyways and this should detect use-after-frees and co
2021-10-03 23:10:08 +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
aef959854f
patterns: Correctly reset data offset each evaluation
...
Fixes a bug mentioned in #313
2021-10-02 13:41:56 +02:00
WerWolv
066161f397
build: Bump version to 1.10.1
2021-09-30 12:52:12 +02:00
WerWolv
d3e3de3fa2
ux: Improved dropped file loading; Added magic db loading
2021-09-30 12:29:03 +02:00
WerWolv
194bc3e5be
settings: Add option for auto-loading patterns
2021-09-30 12:00:11 +02:00
WerWolv
a9e3db0464
patterns: Fixed inlined variable drawing
2021-09-29 20:51:57 +02:00
WerWolv
334ba3ede2
hex-editor: Fixed open file shortcut, improved find/goto popup position
2021-09-28 12:34:55 +02:00
WerWolv
7978964995
ui: Centered "No bookmarks" text
2021-09-27 23:19:41 +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
2f6e91cd9e
fix: Open Popup crash
2021-09-27 15:04:30 +02:00
WerWolv
888976873a
patterns: Added [[inline]] attribute
2021-09-27 13:31:10 +02:00
WerWolv
5db608c3fc
ui: Fixed automatic pattern loading, added better pattern browse popup
2021-09-26 21:18:25 +02:00
WerWolv
e46807c600
ux: Open dropped pattern files in pattern editor
2021-09-26 21:17:46 +02:00
WerWolv
7799bbb57a
ui: Improved borderless window resizing and moving
2021-09-26 21:16:49 +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
e3dd5900e2
patterns: Added parse_int and parse_float functions
2021-09-26 02:23:10 +02:00
WerWolv
aab865fe25
patterns: Fix member access inside if body
2021-09-26 02:22:50 +02:00
WerWolv
62656f4c51
tests: Added pointer test
2021-09-25 23:31:37 +02:00
WerWolv
b323d711cf
patterns: Respect endianess when accessing rvalues
2021-09-25 22:46:16 +02:00