1
0
mirror of synced 2025-02-08 23:09:36 +01:00

4406 Commits

Author SHA1 Message Date
WerWolv
cfbc6e085a fix: Wrong start/end offset and size for static array entries in pattern data view 2024-07-09 07:18:49 +02:00
WerWolv
a45d30edca impr: Added tooltips to toolbar buttons 2024-07-09 07:18:20 +02:00
Bernard Teo
5a053aa146 build: Update nativefiledialog and keep dialogs on top (#1771)
This PR updates the nativefiledialog submodule and uses its new feature
to set the ImHex main window as the parent of the dialog window. This
ensures that the dialog stays on top of the main window. This is
currently supported by NFDe on Windows, macOS, and Linux/X11.
Linux/Wayland behaves as it did previously due to limitations in NFDe.

Note that macOS file dialogs have already been parented properly as NFDe
previously used the key window (the window currently receiving keyboard
events) on macOS. However, it's probably better to do the correct thing
and pass the main window to NFDe even on macOS.

### Problem description
The file dialog go behind the main window if the main window is clicked
while the file dialog is open.

### Implementation description
Update nativefiledialog and pass the `GLFWwindow*` of the main window to
the library function.

### Screenshots
Before:


https://github.com/WerWolv/ImHex/assets/6948096/589c3401-702a-4b0a-99ed-02d3e4d9080e

After:


https://github.com/WerWolv/ImHex/assets/6948096/8fef4900-eedc-48d5-8a4e-7bd81e37e3c0

### Additional things
I have tested this on Windows and Linux/X11, but did not test this on
macOS. It would be ideal if someone can help with this. (But as far as
NFDe is concerned, macOS `NSWindow*` handles have been tested (with
SDL2) and works.)

Co-authored-by: Nik <werwolv98@gmail.com>
2024-07-09 07:17:59 +02:00
WerWolv
d5a69d9201 fix: Remove interactive help debug code 2024-07-09 07:17:50 +02:00
WerWolv
dd0204f31d impr: Added nicer console warning when .NET runtime isn't installed 2024-07-09 07:17:37 +02:00
WerWolv
3b799388c2 web: Improved canvas webgl creation logic 2024-07-09 07:17:33 +02:00
WerWolv
c7c4ecad6d impr: Improved size display in pattern data view 2024-07-09 07:17:28 +02:00
WerWolv
6784678ff0 impr: Disable tab overlines 2024-07-09 07:17:21 +02:00
WerWolv
dd8e7025d0 fix: Potential race condition with sorting in the pattern drawer 2024-07-09 07:17:17 +02:00
WerWolv
c2f661f021 patterns: Updated pattern language 2024-07-09 07:17:12 +02:00
WerWolv
c6fc26e2e7 impr: Added Boost.Regex to about page 2024-07-09 07:17:01 +02:00
WerWolv
3a99d53ba5 build: Updated ImGui, libfmt and libyara 2024-07-09 07:16:49 +02:00
WerWolv
5fced6bb63 impr: Completely eradicate Window resize flickering on Windows 2024-07-09 07:16:44 +02:00
WerWolv
67930cf65d web: Fix ImHex logo and progress bar default fill 2024-07-09 07:16:26 +02:00
WerWolv
b305adb286 impr: Prevent canvas flickering in web build 2024-07-09 07:16:19 +02:00
WerWolv
cbcf7b78e9 build: Properly look for boost and libimhex library in sdk again 2024-07-09 07:15:40 +02:00
WerWolv
c922d9ceec fix: Updater executable not being launched correctly when path had spaces in it
Fixes #1780
2024-07-09 07:12:25 +02:00
WerWolv
ad235fad25 impr: Further try to improve window resize flickering on Windows 2024-06-29 23:17:59 +02:00
WerWolv
dffb7e95e3 build: Bumped version to 1.35.3 v1.35.3 2024-06-29 21:33:34 +02:00
WerWolv
916c1b7d4b fix: ImHex hanging at startup in certain cases 2024-06-29 21:33:12 +02:00
WerWolv
2743b04f50 fix: Don't delete font atlas after passing it to ImGui 2024-06-29 21:33:07 +02:00
WerWolv
dbe8bfd75f fix: Standard magic file not getting bundled into executable correctly v1.35.2 2024-06-29 19:43:40 +02:00
WerWolv
c6c599c75b build: Bumped version to 1.35.2 2024-06-29 19:26:00 +02:00
WerWolv
c2b7b4a11e fix: Default folders still not being created correctly on Linux 2024-06-29 19:25:20 +02:00
WerWolv
495255484e build: Bumped version to 1.35.1 v1.35.1 2024-06-29 18:50:10 +02:00
WerWolv
b92b0922d5 fix: Default folders not being created correctly anymore 2024-06-29 18:50:01 +02:00
WerWolv
ac1a28311c build: Bumped version to 1.35.0 v1.35.0 2024-06-29 11:27:24 +02:00
WerWolv
01d1938fea git: Update macOS version requirement in readme
#1647
2024-06-29 10:34:41 +02:00
WerWolv
802694ec68 build: Silence macOS CI build warnings 2024-06-28 22:29:38 +02:00
WerWolv
2aef5e4eef build: Lock install path in rpath behind an option 2024-06-28 22:21:10 +02:00
WerWolv
9a0a4d47dc build: Disable source_date_epoch_from_changelog 2024-06-28 21:53:34 +02:00
WerWolv
96b7366d53 build: Try fixing fedora build spec again 2024-06-28 21:29:49 +02:00
WerWolv
90ac96298a impr: Only re-render frame once during window resize or move operations 2024-06-28 21:27:35 +02:00
WerWolv
a6e5040e8f fix: Build issues on Fedora due to missing Changelog value 2024-06-28 18:29:24 +02:00
WerWolv
19e5aafc85 fix: String truncating being completely borken 2024-06-28 18:29:10 +02:00
WerWolv
77301fd018 impr: Swap some items between File and Edit menu to fit better 2024-06-28 11:13:03 +02:00
WerWolv
ed56b3dd12 impr: Limit string length by cutting out part of the middle instead 2024-06-28 11:12:41 +02:00
WerWolv
91f6aae9ef impr: Make Win32 API properly use unicode support 2024-06-28 11:12:17 +02:00
WerWolv
b642c493d7 fix: Opening files with unicode paths in external program/explorer not working 2024-06-27 23:12:20 +02:00
WerWolv
a950796306 fix: Recent file entry name encoding being broken 2024-06-27 22:40:19 +02:00
WerWolv
8672a2cfe0 fix: Content store downloads getting stuck sometimes 2024-06-27 19:54:45 +02:00
WerWolv
301e8c5a96 impr: Improve contrast of text in pattern data table when hovering 2024-06-27 19:45:49 +02:00
WerWolv
699a91c46b fix: Path in pattern tooltip wrapping too quickly 2024-06-27 19:27:54 +02:00
WerWolv
e43016735d fix: Open file in containing folder not working 2024-06-27 19:25:02 +02:00
WerWolv
d9cecbbb5f impr: Don't flash bang people when the ImHex main window appears 2024-06-27 17:11:28 +02:00
WerWolv
6e186e7d6a impr: Clean up .NET script loader error messages 2024-06-27 17:11:28 +02:00
WerWolv
af3680649c patterns: Updated pattern language 2024-06-27 17:10:48 +02:00
WerWolv
82f1d08dd7 fix: Race condition when loading projects while other providers are loaded already 2024-06-27 17:10:42 +02:00
WerWolv
b1b54a5fe7 impr: Drastically optimize event handler 2024-06-27 17:10:01 +02:00
WerWolv
ced3af3935 fix: Revert pattern include path back to the original paths 2024-06-27 17:09:48 +02:00