Commit Graph

6168 Commits

Author SHA1 Message Date
iTrooz
08aa03bab6 chore: remove unused steps from nightly release CI 2026-01-06 21:05:52 +01:00
iTrooz
62bc953d53 ci: remove unused permissions to webassembly-build job 2026-01-06 09:28:20 +01:00
iTrooz
5263f81487 ci: do not give pages write permission to webassembly-build job 2026-01-06 09:23:30 +01:00
iTrooz
8272ebf68f ci: use gh CLI to download artifact instead of third party action 2026-01-06 09:13:47 +01:00
paxcut
90d8e03f2c Fixes by @AkiSakurai for bug thats caused crashing ImHex when creating recursive inheritances. (#2612)
The previous code I approved was wrong and caused ImHex to grow until
computer froze. This PR is a copy of the original fix in PR #2546 by
@AkiSakurai
2026-01-05 16:57:04 -07:00
iTrooz
0d34edc7f6 ci: replace artifact deletion action with custom script 2026-01-05 16:36:30 +01:00
Aki Sakurai
63fd61e245 Fix crash in Pattern Language syntax highlighting for self-inheriting structs (#2546)
``` rust
struct Rec : Rec {
};
```

Prevent infinite recursion in appendInheritances by erasing processed
inheritance entries during traversal, and safely iterate over
m_inheritances in appendInheritances to avoid
modification-during-iteration issues.

Co-authored-by: paxcut <53811119+paxcut@users.noreply.github.com>
2026-01-05 03:11:21 -07:00
iTrooz
58fe8a22a9 ci: use hendrikmuhs/ccache-action@v1, not @main 2026-01-05 08:21:21 +01:00
WerWolv
03dd20c263 web: Fix canvas size issues when zooming page 2026-01-04 11:07:17 +01:00
WerWolv
712a125be7 fix: listxattrs signature being different between Linux and macOS 2026-01-03 23:52:42 +01:00
WerWolv
49e14e6e7c build: Update dependencies 2026-01-03 22:44:46 +01:00
WerWolv
e8a6e102c3 feat: Add xatts to file info display 2026-01-03 22:43:34 +01:00
WerWolv
b2cc09852d fix: Weirdly worded pattern editor help message 2026-01-03 22:40:45 +01:00
WerWolv
60627b8325 impr: Only add pattern editor help text to first opened data source 2026-01-03 22:38:36 +01:00
WerWolv
8fc2d6b225 impr: Disable exception wrapping as it causes a lot of slowdowns 2026-01-03 20:41:17 +01:00
WerWolv
051cdfa305 fix: Error message rendering of visualizers 2026-01-03 13:27:52 +01:00
WerWolv
bfa807ca8b feat: Add data inspector option to reverse bit order 2026-01-03 12:04:51 +01:00
WerWolv
598914a67a fix: Windows notifications filling up tray area 2026-01-03 11:04:33 +01:00
WerWolv
3274649b77 fix: Task finished notification showing up regardless of focus state on Windows 2026-01-03 10:48:46 +01:00
paxcut
5756105347 fix: Text highlighter crash (#2595)
The assumption that the number of lines of colors will be equal to the
number of lines in the input signal is incorrect. As issue #2594 shows,
erroneous input can cause the lexer to end processing the input file
prematurely thus being unable to create tokens past the line where the
error occurred which in turn implies that no colors can be found beyond
those lines.

To fix the crash (the underlying problem is user caused and can't be
fixed) is to use the size of the vectors containing the first token
index of each line since that size must be equal to the number of lines
stored in token sequence.

Fixes #2594
2026-01-02 16:04:35 +01:00
paxcut
ed583d8bd1 fix: Division by zero in sound visualizer. (#2593)
Can happen if input is less than 2400*channels number of points. The fix
is detecting it and throwing an error.
2026-01-02 16:03:52 +01:00
WerWolv
731cf10207 fix: Goto setting hex editor scroll position to imprecise value for large addresses
#2599
2026-01-02 15:36:32 +01:00
iTrooz
cb898ce8cf ci: remove Fedora 41, 42 builds and AlmaLinux 9 2026-01-01 18:27:34 +01:00
iTrooz
892334e31a ci: update workflow to manually download cache key 2026-01-01 16:34:52 +01:00
iTrooz
a16e16853f ci: add workflow to manually download cache key 2026-01-01 02:08:52 +01:00
WerWolv
5cec83b3ef web: Render at higher resolution 2025-12-30 19:38:38 +01:00
WerWolv
a628784c6d fix: Empty entry showing up in main menu bar 2025-12-30 19:12:17 +01:00
WerWolv
fd8b70fb12 fix: Settings not always applying correctly 2025-12-30 19:12:00 +01:00
WerWolv
3dad5a43a1 web: Resize canvas right away 2025-12-30 19:11:33 +01:00
WerWolv
89dea86b3b web: Fix canvas being too big 2025-12-30 18:28:26 +01:00
WerWolv
42da24e31d patterns: Update pattern language
Fixes #2589
2025-12-30 14:51:10 +01:00
WerWolv
5b9b5d4f1f fix: Another use of ssize_t 2025-12-30 14:35:56 +01:00
paxcut
5332a26294 fixing isEmpty again. (#2591)
hopefully the last time.
2025-12-30 06:08:18 -07:00
WerWolv
54d9f8ec5c fix: Build on MSVC, properly handle empty files 2025-12-30 10:30:14 +01:00
WerWolv
73a17308cc feat: Allow opening special files with no specific size 2025-12-30 09:34:45 +01:00
paxcut
b835c48a0c fix: Unable to delete empty lines in text editor (#2588)
fixes for issue #2587
2025-12-29 20:01:26 +01:00
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
1fd3580f97 web: Let ImHex Web run more standalone
(cherry picked from commit f76ea2a677)
2025-12-29 19:32:25 +01:00
WerWolv
e28f3b75a4 fix: Make sure updater properly exists after launching update process 2025-12-29 13:35:44 +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
89981c6994 git: Add x86_64 to the remaining builds that don't have that specification 2025-12-28 12:52:09 +01:00
WerWolv
fe22a43e09 git: Remove Ubuntu 25.04, add Ubuntu 25.10 and Debian 13 2025-12-28 12:33:53 +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
WerWolv
6165f891ca fix: Get rid of std::common_type in settings API 2025-12-27 10:31:28 +01:00
WerWolv
7df4b1157c impr: Make sure all data is received by MCP bridge 2025-12-27 10:21:38 +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