Commit Graph

3117 Commits

Author SHA1 Message Date
WerWolv
40b604c6e4 fix: ImGui-internal shortcuts not working correctly with native macOS menu bar enabled
(cherry picked from commit f0f6a22391)
2025-12-29 19:32:25 +01:00
WerWolv
53153ca3e0 fix: Merge messup 2025-12-29 13:27:25 +01:00
WerWolv
a496b14a0f impr: Add setting for task-finish notifications 2025-12-28 18:17:38 +01:00
WerWolv
da6e7240d6 fix: Race condition causing old patterns to stick around in the pattern drawer 2025-12-28 17:46:22 +01:00
WerWolv
3e1a797ea7 impr: Replace Patreon links with Ko-Fi 2025-12-27 17:36:26 +01:00
WerWolv
b23ce7ba18 impr: Replace achievement icons with font icons 2025-12-27 12:00:58 +01:00
paxcut
64cbd5fc8d Make the syntax highlighter more thread safety aware (#2585)
By creating copies of the required inputs on the main thread just before
the task is spawned. A;so if task is still running when new data can be
copied then the task is interrupted thus avoiding concurrency without
mutexes. Atomics are used to signal state information used to determine
what and when to spawn.

Also includes update to pattern editor library and some fixes to syntax
highlighting error when custom types defined inside namespaces were used
inside the namespaces without the full qualified name and other small
changes mostly to improve the current style.
2025-12-26 20:21:19 -07:00
WerWolv
ba7e789a80 feat: Add support for executing patterns using MCP 2025-12-26 22:33:05 +01:00
WerWolv
59b4f4efce impr: Add abstraction for common variable-saved-as-setting code pattern 2025-12-26 22:33:05 +01:00
WerWolv
bf461abfec fix: Invalid toolbar items appearing in the toolbar 2025-12-25 20:12:31 +01:00
WerWolv
33c4dc3347 impr: Use settings icon as everywhere else for hex editor settings 2025-12-25 20:00:17 +01:00
WerWolv
6d976fb785 fix: Pattern Editor content getting reset to default comment when opening new data source 2025-12-25 20:00:17 +01:00
iTrooz
39b43cec2d fix: correctly compute nameSpace in TextHighlighter::getVariableTypeName() 2025-12-25 18:48:00 +01:00
WerWolv
691b56b4ac impr: Show OS toast popup when a task finishes while ImHex is not focused 2025-12-25 15:34:56 +01:00
WerWolv
f760b1ba83 impr: Add help text to MCP server setting 2025-12-24 14:00:26 +01:00
WerWolv
ebc1b531ff fix: Pattern children not getting sorted properly 2025-12-23 23:29:35 +01:00
WerWolv
5ecf122686 fix: Hidden patterns getting used for pattern parent highlighting 2025-12-23 22:38:00 +01:00
WerWolv
86c555d053 fix: Theme view not being scrollable anymore 2025-12-23 15:56:54 +01:00
WerWolv
8e7bd4b98a fix: File provider not erroring out correctly when selecting a folder to open 2025-12-23 10:51:52 +01:00
WerWolv
646ebcdd00 feat: Add create and open options to macOS dock icon context menu 2025-12-22 16:20:23 +01:00
WerWolv
bff78704cc fix: Use of non-atomic variables 2025-12-22 11:12:22 +01:00
iTrooz
e5d9d9ec9e chore: apply more complicated lints (#2576)
<!--
Please provide as much information as possible about what your PR aims
to do.
PRs with no description will most likely be closed until more
information is provided.
If you're planing on changing fundamental behaviour or add big new
features, please open a GitHub Issue first before starting to work on
it.
If it's not something big and you still want to contact us about it,
feel free to do so !
-->

### Problem description
<!-- Describe the bug that you fixed/feature request that you
implemented, or link to an existing issue describing it -->

### Implementation description
<!-- Explain what you did to correct the problem -->

### Screenshots
<!-- If your change is visual, take a screenshot showing it. Ideally,
make before/after sceenshots -->

### Additional things
<!-- Anything else you would like to say -->
2025-12-21 20:55:50 +01:00
WerWolv
018bedb2bd patterns: Update pattern language 2025-12-21 20:52:46 +01:00
iTrooz
17c2dfcbd0 chore: apply more light lints (#2575)
<!--
Please provide as much information as possible about what your PR aims
to do.
PRs with no description will most likely be closed until more
information is provided.
If you're planing on changing fundamental behaviour or add big new
features, please open a GitHub Issue first before starting to work on
it.
If it's not something big and you still want to contact us about it,
feel free to do so !
-->

### Problem description
<!-- Describe the bug that you fixed/feature request that you
implemented, or link to an existing issue describing it -->

### Implementation description
<!-- Explain what you did to correct the problem -->

### Screenshots
<!-- If your change is visual, take a screenshot showing it. Ideally,
make before/after sceenshots -->

### Additional things
<!-- Anything else you would like to say -->
2025-12-20 15:59:48 +01:00
WerWolv
a1711ccfa6 impr: Added icons to all menu items on macOS 2025-12-20 14:07:31 +01:00
iTrooz
261610dcf1 chore: apply light lints (#2570) 2025-12-19 23:49:37 +01:00
iTrooz
1c17f3ee43 fix: DiskProvider::open() default result on Windows (#2573)
<!--
Please provide as much information as possible about what your PR aims
to do.
PRs with no description will most likely be closed until more
information is provided.
If you're planing on changing fundamental behaviour or add big new
features, please open a GitHub Issue first before starting to work on
it.
If it's not something big and you still want to contact us about it,
feel free to do so !
-->

### Problem description
<!-- Describe the bug that you fixed/feature request that you
implemented, or link to an existing issue describing it -->

### Implementation description
<!-- Explain what you did to correct the problem -->

### Screenshots
<!-- If your change is visual, take a screenshot showing it. Ideally,
make before/after sceenshots -->

### Additional things
<!-- Anything else you would like to say -->
2025-12-19 11:12:08 +00:00
WerWolv
f97be02087 impr: Added proper cancel buttons to tutorial popups and tutorial selector
Closes #2571
2025-12-19 10:13:48 +01:00
WerWolv
2d82776e62 fix: Disk provider still using old open() api on windows 2025-12-17 23:42:13 +01:00
WerWolv
d775b80a44 feat: Add initial MCP commands to query, open select and read data 2025-12-17 16:04:07 +01:00
WerWolv
5500faa57e fix: Inverted logic when opening files from the command line 2025-12-17 13:50:57 +01:00
WerWolv
89004574d3 impr: Handle provider opening more centrally, switch to existing provider if same file is being opened again 2025-12-17 12:55:34 +01:00
WerWolv
baa3329e7f fix: Make sure providers returned by createProvider don't get deleted unexpectedly 2025-12-16 23:36:05 +01:00
WerWolv
e696d384c2 feat: Add initial MCP Server support 2025-12-16 20:25:46 +01:00
WerWolv
932c281223 fix: Pattern files not getting truncated correctly when saving
Fixes #2566
2025-12-16 10:02:10 +01:00
WerWolv
858fe0384e impr: Make most windows non-scrolling by default 2025-12-15 21:06:44 +01:00
WerWolv
e904cd749f fix: Inverted sorting of find view table
Fixes #2564
2025-12-15 20:13:19 +01:00
WerWolv
6b16f39be4 impr: Allow tutorials to use markdown formatted text 2025-12-15 20:07:43 +01:00
WerWolv
c161a5c71b fix: Typo in crash popup 2025-12-15 11:31:41 +01:00
WerWolv
553ee89787 fix: Only enable widgets in pattern data view when there's actually any patterns available 2025-12-15 10:00:29 +01:00
WerWolv
cb6247b16e fix: Crash when using @ command palette command
Fixes #2563
2025-12-15 09:52:44 +01:00
WerWolv
cfac7ff0ba impr: Unionize exception and assertion handling 2025-12-15 09:52:13 +01:00
paxcut
1676342e28 Various fixes for pattern editor (#2561)
- Fix for vertical scroll bar being too far to the left.
- Fix constructor not initializing from const char pointer properly
- maxcolumn not being set for console text lines causing crashes on
empty pattern evaluation
- A replacement using replace all is now undone in one step.
- Find/replace no longer need to have enter or return key to accept
text. You can use arrows or shortcuts.
- More efficient search replace implementation with plans to add even
faster.
- Tooltips added to find/replace window
- Providers now save both horizontal and vertical scroll positions when
switching to another one and restore them when switching back. This is
independent to the cursor position which is also saved.
- Pattern editor no longer takes focus when changing providers via a tab
click. This has the effect that menus won't change by just clicking on a
tab.
- Small fixes and code refactoring.
2025-12-13 05:23:16 -07:00
WerWolv
62732de227 fix: Gaps in-between hex editor highlighting on specific scalings 2025-12-12 22:04:15 +01:00
WerWolv
ab95cdf3e5 fix: Minimap not allowing scrolling as far as the scroll bar 2025-12-12 17:19:57 +01:00
paxcut
bfa9788099 impr: Various fixes and improvements to the pattern editor (#2559)
- fixed crash when utf8 chars were present in text editor
- fixed unable to scroll when cursor at line 1
- removed dependencies on thext editor that were not being used.

I had to go back to the old code (old for me) and fit in the changes
that were applied to the new code.That was only possible by
incorporating some of the new structural differences to the text editor.
This created new bugs and crashes that I ve have fixed but there may be
ones that I couldn't find in the very small amount of time I could spend
testing so that this commit wouldn't be delayed. If more crashes are
found due to the mixing of old and new code they should be resolved when
the new code is brought in.
2025-12-12 16:27:26 +01:00
WerWolv
de25ce7fbb feat: Add support for custom inspector edit widgets 2025-12-12 13:15:16 +01:00
WerWolv
21e61bfce6 fix: Extended ASCII display being enabled by default 2025-12-12 13:14:49 +01:00
WerWolv
6a28ce9e4b fix: Wrong variable access 2025-12-11 21:32:18 +01:00
WerWolv
1db79f6117 feat: Add command line arguments to process tooltips, exclude kthreads on Linux
Fixes #2558
2025-12-11 17:09:26 +01:00