Commit Graph

6244 Commits

Author SHA1 Message Date
Nik
1018aea395 git: Update vcpkg committish for MSVC builds 2026-03-01 09:32:20 +01:00
paxcut
d20d6736b3 feat: main views retain focus on ui interactions (#2650)
Currently, interactions with the user interface, like changing providers, opening menus or even resizing windows, take the focus away from the main views. This PR resets focus to the child  (if view has no children then the view's window itself is used)  of the view that had focus before the interaction took place. 

It was tested by interacting with menus,  changing providers, using toolbar icons, using command palette, resizing windows or widgets of the view itself that are not children windows of the main view (e.g.  running a pattern and having focus return to the pattern editor when evaluation ends. or using the icons in the hex editor)  and also by selecting the main view itself. To clarify this last item, if you click on the view tab (not the provider tab but the view tab itself) the focus will be restored to the child that had focused before the tab was clicked 

There is no attempt to recover the active status of widgets within the window but it can be easily recovered by clicking the Tab key once. Some views, like the pattern data view, can set other views to focus depending on where they are clicked.

The implementation saves the the child sub-window in a pointer of the view and is only changed if another child is given focus. Then various UI interactions are detected with care not to change focus while the interaction occurs. The end of the interaction is detected by checking if undesired items are the ones that have focus (these undesired values only occur when the UI interaction ends) and if they are, then the focus is restored to the window that is stored in the view pointer.
2026-02-27 23:46:31 -07:00
WerWolv
5333a33775 fix: Why Ubuntu... 2026-02-12 22:07:27 +01:00
WerWolv
0d9ea8a1d1 fix: Project file saving not working corectly when paths contains non-ascii characters
Fixes #2654
2026-02-12 22:02:41 +01:00
WerWolv
b6a90aa89d fix: libbacktrace implementation 2026-02-12 21:57:37 +01:00
WerWolv
060f0e6e56 web: Move over to contrib.glfw3 2026-02-12 21:57:20 +01:00
paxcut
800a24b42e fix: Dirty projects on load. (#2649)
When a project is loaded it is set to dirty without any changes so that
it goes through the steps that patterns with changes go through. The fix
uses a different starting step that doesn't set the dirty flags when
changing providers or loading projects.
2026-02-09 20:21:51 -07:00
WerWolv
a5008722aa fix: Font scaling on Windows / macOS 2026-02-08 22:11:10 +01:00
WerWolv
a0b0082d98 git: Make sure WiX 6 gets installed 2026-02-08 22:10:50 +01:00
WerWolv
f476842008 impr: Make fonts look less blurry with Wayland fractional scaling 2026-02-06 22:12:40 +01:00
WerWolv
d39d107de4 fix: Copy As -> C# Array producing invalid syntax
Fixes #2648
2026-02-06 21:44:42 +01:00
WerWolv
7f889a75bb build: Update libwolv 2026-02-06 21:27:12 +01:00
Nemoumbra
70fdbd4a48 feat: Add request restart option to debug menu (#2636)
<!--
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 -->
Hopefully this will help us debug the bugs that appear once ImHex
restarts a little easier.

### Screenshots
<!-- If your change is visual, take a screenshot showing it. Ideally,
make before/after sceenshots -->
<img width="372" height="182" alt="image"
src="https://github.com/user-attachments/assets/1f27443e-9eaa-465a-b545-c2bbf0b56ca4"
/>
2026-01-29 21:16:55 +01:00
WerWolv
71c71c5bbf fix: Merge error 2026-01-29 20:18:17 +01:00
WerWolv
ade8c8f68d feat: Add Open Source File option to custom data inspector rows 2026-01-29 19:54:53 +01:00
WerWolv
16b02caf7a fix: Clicking on data inspector row clearing data inspector window if required size is zero 2026-01-29 19:54:36 +01:00
WerWolv
dc1c205fb1 fix: Inverted logic for custom inspector row evaluation 2026-01-29 19:53:48 +01:00
WerWolv
b974533f96 lang: Remove duplicate entry 2026-01-29 19:53:09 +01:00
WerWolv
81e561d47b fix: Scrolling view open state not getting saved anymore 2026-01-29 19:43:57 +01:00
WerWolv
b9e0a9f0e6 fix: Code indentation 2026-01-29 19:43:37 +01:00
WerWolv
954bcadd75 impr: Remove unused pattern drawer table flags 2026-01-29 19:43:28 +01:00
paxcut
d6781e7f93 fix: issue 2631 (#2633)
problem occurs because there is no check for duplicate entries in the
paths vector.

The fix is implemented using the combination of two containers; a vector
to ensure the insertion order and a set to ensure the uniqueness the
entries. The set first attempts to insert the new path and uses the
return of insertion to decide if the vector needs to be updated.
2026-01-28 16:12:36 -07:00
WerWolv
fc38c27769 fix: Heap buffer read overflow when inserting bytes 2026-01-24 22:59:30 +01:00
WerWolv
96a5a5d34c build: Output error message if capstone version is too low 2026-01-22 21:22:42 +01:00
WerWolv
928e0f227a fix: Banner tooltip text not being visible properly 2026-01-19 22:25:51 +01:00
WerWolv
93fc6f2de1 patterns: Update pattern language 2026-01-19 22:25:51 +01:00
iTrooz
cdc260b45c doc: add instructions to use ImHex on macOS without a GPU 2026-01-19 18:00:34 +01:00
WerWolv
0e41813cfc fix: [[format_write]] attribute not working as expected on integer and floating point types 2026-01-18 21:56:09 +01:00
WerWolv
a7e94e31c9 build: Update libwolv 2026-01-18 14:31:21 +01:00
WerWolv
2903a97941 build: Make people Acknowledge the GPLv2 in the Windows installer instead of accepting it 2026-01-18 11:32:35 +01:00
WerWolv
753e1ceff6 build: Allow MSI installer to downgrade installations 2026-01-17 21:47:11 +01:00
WerWolvTranslationBot
06f4d12f10 lang: Translations update from Weblate (#2621)
Translations update from [Weblate](https://weblate.werwolv.net) for
[ImHex/Builtin](https://weblate.werwolv.net/projects/imhex/builtin/).


It also includes following components:

* [ImHex/Diffing](https://weblate.werwolv.net/projects/imhex/diffing/)

* [ImHex/UI](https://weblate.werwolv.net/projects/imhex/ui/)

* [ImHex/Fonts](https://weblate.werwolv.net/projects/imhex/fonts/)

*
[ImHex/Disassembler](https://weblate.werwolv.net/projects/imhex/disassembler/)

* [ImHex/Hashes](https://weblate.werwolv.net/projects/imhex/hashes/)

* [ImHex/Remote](https://weblate.werwolv.net/projects/imhex/remote/)

* [ImHex/Script
Loader](https://weblate.werwolv.net/projects/imhex/script-loader/)

*
[ImHex/Visualizers](https://weblate.werwolv.net/projects/imhex/visualizers/)

* [ImHex/Yara
Rules](https://weblate.werwolv.net/projects/imhex/yara-rules/)

* [ImHex/Windows](https://weblate.werwolv.net/projects/imhex/windows/)



Current translation status:

![Weblate translation
status](https://weblate.werwolv.net/widgets/imhex/-/builtin/horizontal-auto.svg)

Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: Rutar Andriy <RutarAndriy@gmail.com>
Co-authored-by: Yaroslav <mrikso821@gmail.com>
2026-01-17 21:45:41 +01:00
WerWolv
684c2e66fb fix: Ranges are still not available everywhere 2026-01-17 21:13:04 +01:00
WerWolv
4a311ed69f fix: Multiple issues with undo/redo stack handling 2026-01-17 21:03:36 +01:00
WerWolv
220b5f9772 patterns: Update pattern language 2026-01-15 20:47:29 +01:00
WerWolv
42fd5b0fef patterns: Update pattern language 2026-01-15 20:39:04 +01:00
WerWolv
c28492e51d fix: GLFW version check 2026-01-13 18:22:06 +01:00
WerWolv
d8ff84672c fix: Gate Wayland check to good distros that update their dependencies 2026-01-13 18:09:21 +01:00
WerWolv
2af967d788 fix: Window auto-maximizing on Wayland 2026-01-13 18:02:48 +01:00
WerWolv
8cb23e8200 build: Don't build test engine if it's disabled 2026-01-13 18:02:27 +01:00
WerWolvTranslationBot
9a058efc79 lang: Translations update from Weblate (#2553)
Translations update from [Weblate](https://weblate.werwolv.net) for
[ImHex/Builtin](https://weblate.werwolv.net/projects/imhex/builtin/).


It also includes following components:

* [ImHex/Diffing](https://weblate.werwolv.net/projects/imhex/diffing/)

* [ImHex/UI](https://weblate.werwolv.net/projects/imhex/ui/)

*
[ImHex/Disassembler](https://weblate.werwolv.net/projects/imhex/disassembler/)

* [ImHex/Yara
Rules](https://weblate.werwolv.net/projects/imhex/yara-rules/)

* [ImHex/Fonts](https://weblate.werwolv.net/projects/imhex/fonts/)

* [ImHex/Hashes](https://weblate.werwolv.net/projects/imhex/hashes/)

* [ImHex/Remote](https://weblate.werwolv.net/projects/imhex/remote/)

* [ImHex/Script
Loader](https://weblate.werwolv.net/projects/imhex/script-loader/)

*
[ImHex/Visualizers](https://weblate.werwolv.net/projects/imhex/visualizers/)

* [ImHex/Windows](https://weblate.werwolv.net/projects/imhex/windows/)



Current translation status:

![Weblate translation
status](https://weblate.werwolv.net/widgets/imhex/-/builtin/horizontal-auto.svg)

Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: MrClock <mrclock8163@gmail.com>
2026-01-12 23:26:15 +01:00
WerWolv
06c8cb51e3 web: Handle partial page resizes better 2026-01-12 22:59:18 +01:00
WerWolv
01e8ae1b5c ci: Don't upload docker build record as artifact 2026-01-12 22:59:18 +01:00
WerWolv
b052cb001c web: Make sure canvas gets resized after the first frame 2026-01-12 22:59:18 +01:00
WerWolv
d004eb3048 fix: Occasional crash on Linux when closing task manager 2026-01-12 20:43:01 +01:00
WerWolv
dccd74667e fix: Texture ids not getting reset correctly in destructor 2026-01-12 20:42:23 +01:00
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