Commit Graph

6153 Commits

Author SHA1 Message Date
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
WerWolv
d6d70ca076 impr: Don't show crash popup when sending ^C to command line 2025-12-26 22:33:05 +01:00
WerWolv
88c37bb7d9 impr: Handle MCP error when no instance of ImHex is running better 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
Jacques Pienaar
ed1f120b0b build: Remove --no-lock flag from macOS build instructions (#2584)
### Problem description
-no-lock CLI options has been removed
https://github.com/Homebrew/homebrew-bundle/pull/1509.

### Implementation description
Remove flag from invocation.
2025-12-25 21:24:49 +01:00
WerWolv
bf461abfec fix: Invalid toolbar items appearing in the toolbar 2025-12-25 20:12:31 +01:00
WerWolv
d42665db88 fix: Crash on exit 2025-12-25 20:00:17 +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
bf1f613052 patterns: Update pattern language 2025-12-24 20:20:30 +01:00
WerWolv
721ed9f2a2 patterns: Update pattern language 2025-12-24 17:00:37 +01:00
WerWolv
f760b1ba83 impr: Add help text to MCP server setting 2025-12-24 14:00:26 +01:00
WerWolv
1dba144fca fix: Various warnings related to AutoReset variables 2025-12-23 23:29:59 +01:00
WerWolv
ebc1b531ff fix: Pattern children not getting sorted properly 2025-12-23 23:29:35 +01:00