Commit Graph

6198 Commits

Author SHA1 Message Date
WerWolv
6b6470850f ci: Make sure folder exists before copying files 2026-01-11 10:12:28 +01:00
WerWolv
f09b1aae23 ci: Fix artifact names 2026-01-11 09:52:34 +01:00
WerWolv
68487bc903 web: Fix meta tags and social preview image 2026-01-10 21:43:45 +01:00
WerWolv
ebd78e1526 ci: Update github pages deployment name 2026-01-10 14:28:07 +01:00
WerWolv
6d0dfcfe2e fix: Does WebGL use GLES2 after all? 2026-01-10 14:15:56 +01:00
WerWolv
5b01d23ed7 ci: Make docker image deploy only run after build 2026-01-10 14:12:02 +01:00
WerWolv
d9eb01b526 build: Deploy ImHex-Web as a docker image 2026-01-10 14:09:58 +01:00
WerWolv
9e165ac4a1 impr: Add more broader support for GLES3
Closes #2608
2026-01-10 11:49:58 +01:00
Nik
25ab371a81 git: Fix macOS packaging job name 2026-01-09 21:04:27 +01:00
Nik
d62abaed8d build: Add support for x86 macOS 10.15 and ARM64 macOS 11.0 (#2607)
This PR drops the use of brew for dependency management in favor of
macports so we can support lower macOS versions instead of just the
lowest one supported by Apple

Closes #2586
2026-01-09 17:42:51 +01:00
iTrooz
1fb7a318ed chore: remove jthread added inadvertently 2026-01-09 16:49:43 +01:00
iTrooz
e29ae631fc ci: always take artifacts from master branch in nightly release 2026-01-09 16:43:18 +01:00
WerWolv
3cc0b9294e web: Fix flickering on resize 2026-01-08 21:45:36 +01:00
WerWolv
e80f7fa14f git: Properly define env var for dispatch key 2026-01-08 20:37:35 +01:00
WerWolv
9261fd7190 git: Fix dispatch never running 2026-01-08 20:29:20 +01:00
WerWolv
58c714b350 git: Switch to repository dispatch for updating website 2026-01-08 20:05:41 +01:00
WerWolv
5cd3f5c255 git: Fix permissions again 2026-01-08 19:42:47 +01:00
WerWolv
0d443d7d00 git: Fix permissions on nightly CI 2026-01-08 19:20:13 +01:00
WerWolv
38fecca489 git: Fix nightly CI 2026-01-08 17:53:44 +01:00
WerWolv
f655ea59a8 git: Update new ImHex website during nightly 2026-01-07 23:18:06 +01:00
WerWolv
aa7daa5c54 web: Disable splash screen 2026-01-07 23:09:07 +01:00
WerWolv
f4b2be9334 chore: Cleanup logs slightly 2026-01-07 21:27:41 +01:00
WerWolv
edbd8a811e fix: Just detach stdin/stdout redirect threads as the program will exit immediately afterwards
(cherry picked from commit aeb58b5e9c3eef9f26fde104a2adc2684423b8ac)
2026-01-07 18:32:16 +01:00
Alex
ea9b197d36 build: improve FindMagic.cmake module (#2610)
Now it properly fails if libmagic is not installed in the system.

The error message would look like:

```
CMake Error at cmake/modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find Magic (missing: LIBMAGIC_LIBRARY LIBMAGIC_INCLUDE_DIR)
  (Required is at least version "5.39")
Call Stack (most recent call first):
  cmake/modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
  cmake/modules/FindMagic.cmake:5 (find_package_handle_standard_args)
  cmake/build_helpers.cmake:971 (find_package)
  CMakeLists.txt:81 (addBundledLibraries)
```

### Problem description

The current `FindMagic.cmake` module doesn't properly report failure
about absent libmagic libs and #includes. This behavior leads to the
compile errors on the build stage (possibly after some time, which will
be simply wasted). This Find module should set the `Magic_FOUND`
variable and handle all required variables( LIBMAGIC_INCLUDE_DIR and
LIBMAGIC_LIBRARY) to present.
But the current module sets the `libmagic_FOUND` variable, so the CMake
assumes that it is found something. This behaviour should also be
handled by `find_package_handle_standard_args()` ("FPHSA"), and it is
actually handled, but as we requested the `Magic` package to be
required, the former function ("FPHSA") didn't stop the configure
process.

### Implementation description
 - Clean up the unused ifs, as "FPHSA" already done it better.
- Use the proper name for "FPHSA" so it could set the proper
`Magic_FOUND` and could make sure that the requested package is
`REQUIRED`.

### Screenshots
Before:
```
-- Could NOT find libmagic (missing: LIBMAGIC_LIBRARY LIBMAGIC_INCLUDE_DIR)
```

<img width="1005" height="24" alt="изображение"
src="https://github.com/user-attachments/assets/082e2842-ff94-4418-8f86-86021c7dd23d"
/>

After:

```
CMake Error at cmake/modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find Magic (missing: LIBMAGIC_LIBRARY LIBMAGIC_INCLUDE_DIR)
  (Required is at least version "5.39")
Call Stack (most recent call first):
  cmake/modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
  cmake/modules/FindMagic.cmake:5 (find_package_handle_standard_args)
  cmake/build_helpers.cmake:971 (find_package)
  CMakeLists.txt:81 (addBundledLibraries)
```

### Additional things

Closes #2244 .
2026-01-07 17:13:41 +01:00
WerWolv
a0a049a920 fix: ImHex not always exiting when forwarder is killed 2026-01-07 17:12:58 +01:00
WerWolv
550fe8e4aa impr: Add MCP Client information to footer icon tooltip 2026-01-07 17:12:40 +01:00
WerWolv
2064aea3b6 fix: ImHex processes getting stuck in the background
Fixes #2611
2026-01-07 17:12:17 +01:00
WerWolv
3411bc4577 fix: Unused variable 2026-01-07 11:13:52 +01:00
WerWolv
6eedb469e9 fix: Notifications on Web build causing exceptions 2026-01-07 09:45:30 +01:00
WerWolv
684373b88b fix: Properly forward stdin to main process from forwarder
(cherry picked from commit 1fc857cf7d2a9a525dec5fcda0727a39046b6c86)
2026-01-07 09:45:30 +01:00
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