SparkyTD
3c91cb09e3
fix: Crash caused by missing ImGui::BeginDisabled() ( #1667 )
...
### Problem description
Merging my previous PRs, #1660 and #1658 has resulted in a conflict
causing an application crash due to a missing `ImGui::BeginDisabled();`
in the `PopupSelect` class. Specifically, none of the code related to
offset validation made it into the final merge. This PR fixes the crash
by reintroducing the deleted lines.
### Additional things
The nightly release build seems to be unaffected by the crash, most
likely because ImGui's `DisabledStack` assertions are only enforced in
Debug mode. The offset validation was still missing before this fix.
2024-05-11 00:52:43 +02:00
WerWolv
881a379fb4
fix: Compile error due to un-unpacked expected value
2024-05-10 23:02:39 +02:00
WerWolv
90a67af887
impr: Added better error messages to intel hex and motorola srec providers
2024-05-10 23:01:36 +02:00
WerWolv
d727100304
impr: Added tooltips for section view and export buttons
2024-05-10 22:54:55 +02:00
WerWolv
543fcf5447
impr: Make in variable values persistent between parser runs again
2024-05-10 22:51:53 +02:00
WerWolv
e9b140b75c
impr: Make out variable values selectable and copyable in pattern editor
2024-05-10 22:41:12 +02:00
WerWolv
12528d6e6e
fix: Edit -> Jump To -> Current Pattern not always resetting request correctly
2024-05-10 22:18:21 +02:00
WerWolv
8fae55487a
fix: Closing providers not clearing selection correctly
2024-05-10 22:10:59 +02:00
SparkyTD
973af4650c
impr: Convert all hex editor popups to floating, movable windows ( #1658 )
...
### Problem description
In previous versions of ImHex, all tool windows were implemented as
static popups fixed in the upper left position of the hex view. This PR
refactors all tool popups to use floating windows that can be dragged
around by the user, or closed with a dedicated close button on the title
bar. These popup also support a stylable transparency when the user is
not hovering their mouse over the window.
### Implementation description
I rewrote the logic in `ViewHexEditor::drawPopup()` to use a custom
`ImGuiExt::BeginHoveringPopup` function for rendering the popup windows.
This new function is an almost exact replica of the built-in
`ImGui::BeginPopupModal`, except it does also displays the default
window title bar with a close button.
A second custom function, `ImGuiExt::PopupTitleBarButton` was also added
for rendering small icon-based buttons into the title bar of the parent
popup window. This new function was used to implement an optional
"Pinning" feature that individual popup implementations can specify. If
a window is pinned, it won't close automatically when its main action is
executed. For example, the "Select" button on the Select dialog will
close the popup by default, unless the window is pinned.
### Screenshots
Popup dialogs before:
![image](https://github.com/WerWolv/ImHex/assets/45818400/7c253181-8284-4076-a066-089403554f0f )
Popup dialogs after:
https://github.com/WerWolv/ImHex/assets/45818400/99d1a628-8ac1-40ac-9146-9062091bb0db
### Additional things
- When the user stops hovering their mouse over a popup window, it
becomes semi-transparent, making it easier to see the content behind it
- This PR also introduces the `styles.imhex.popup-alpha` style, making
the transparency effect configurable, including the ability to disable
the effect completely by setting `popup-alpha` to `1.0`.
- Fixed a bug that caused some popup windows to ignore the Enter and the
KeypadEnter keys. With this PR, all tool windows will execute their main
action when the user presses either one of the two Enter keys, and will
also close automatically unless the window is pinned.
### Possible changes and improvements
- Should the transparency effect be disabled if a window is pinned?
- Should the transparency factor be modifiable on the Settings/Interface
page?
- A keyboard shortcut could be added for quickly pinning / unpinning the
current window.
- Can the pin icon stay on the left, or should it be moved next to the
close button, with a similar circular background?
---------
Co-authored-by: WerWolv <werwolv98@gmail.com>
2024-05-10 21:21:19 +02:00
SparkyTD
5f192d5dc7
impr: Don't move hex editor scroll position when jumping to address that's on-screen ( #1660 )
...
### Problem description
This PR offers two improvements:
1) When selecting / jumping to an offset that falls within the current
viewport of the scroll view, the scroll offset will no longer force the
selected byte to the top of the view. Instead, the scroll offset will
only be changed if the selected byte is outside the current view.
2) In case a wrong offset is entered into the Select or Goto dialog
(e.g. and offset beyond EoF), the dialog's button will be disabled.
### Implementation description
For the first change, I modified the logic that recalculates the
`m_scrollPosition ` based on the current byte offset.
For the second change, I added validation logic to both popups to ensure
that the entered offsets are valid (using `provider->getActualSize()`).
In case of the Select popup, I wrapped the button into an
`ImGui::Begin/EndDisabled` to enforce the validation check.
2024-05-10 21:20:10 +02:00
WerWolv
978fa17932
impr: Make accept pattern popup open faster and close correctly
2024-05-08 23:54:09 +02:00
WerWolv
8a3739ee1c
impr: Display background scripts in about page
2024-05-08 22:30:53 +02:00
WerWolv
19c02be673
impr: Only store paths with forward slashes in project files
...
Fixes #1657
2024-05-08 21:30:20 +02:00
SparkyTD
adbcc48de7
fix: Multiple file reload popups stacking on top of each other ( #1654 )
...
<!--
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
This PR aims to address #1645 that caused the built in file provider's
change monitor to trigger the notification popup dialog multiple times
in a row after multiple external file changes.
### Implementation description
I added an additional boolean field
`m_changeEventAcknowledgementPending` that tracks whether there are any
pending or unacknowledged change notification dialogs to prevent further
dialogs from being opened. The flag is only reset to its initial value
once the user has acknowledged the first `PopupQuestion` dialog.
Since the file is reloaded only after the user clicks 'Yes', it is
unnecessary to ensure that only the latest popup is acknowledged.
2024-05-07 23:43:20 +02:00
WerWolv
a5eb031401
fix: Pattern data view rendering of bitfields within bitfields being broken
2024-05-07 23:32:51 +02:00
WerWolv
32a659a477
fix: Command palette losing focus when pressing Alt
...
Fixes #1651
2024-05-04 21:30:21 +02:00
WerWolv
40c4dbc20e
impr: Make main menu bar not collapse completely when there's not enough space
2024-05-04 21:23:18 +02:00
WerWolv
f2b4e49ff3
fix: Crash when loading oobe screen
2024-05-04 19:54:57 +02:00
WerWolv
49987b8793
impr: Indent license information in about page slightly
2024-05-03 21:38:35 +02:00
WerWolv
761bc941a8
impr: Make right click menus open faster
2024-05-01 20:50:35 +02:00
xtex
aa5a3ed080
lang: Refactored langtool, updated chinese translation ( #1623 )
...
- Better argument parsing
- Allow processing all language folders at the same time
- Allow an optional reference language when translating
- Save translations on KeyboardInterrupt
- Fixes a ooold input issues by importing readline
(https://github.com/kovidgoyal/kitty/issues/6560 )
- Add untranslate mode to remove translations by a key regex
---------
Co-authored-by: Nik <werwolv98@gmail.com>
2024-05-01 20:49:55 +02:00
WerWolv
1df0eea6c6
impr: Added support for SVG loading, improved texture loading API
2024-05-01 20:36:10 +02:00
WerWolv
a685d2e97d
impr: Make integer node accept math expressions
2024-04-29 21:20:38 +02:00
WerWolv
df04acc1b9
impr: Allow specifying buffer size in integer to buffer cast node
2024-04-29 21:20:22 +02:00
WerWolv
f510faa1da
impr: Make integer, float and buffer visualizers selectable, added more radixes to integer node
2024-04-29 21:19:54 +02:00
WerWolv
3ad2c74519
impr: Make right click menu in data processor feel less sluggish
2024-04-29 20:43:25 +02:00
WerWolv
f847807df5
fix: Buffer display data processor node being way too wide
...
#1644
2024-04-29 19:48:02 +02:00
WerWolv
3794aa425d
feat: Display destination address in goto popup
2024-04-23 23:26:58 +02:00
WerWolv
79e1df1af2
fix: Exporting selection doesn't export last byte
2024-04-23 21:02:16 +02:00
WerWolv
fd61e757f0
impr: Make unsaved changes popup behave more like in other applications
2024-04-23 21:02:16 +02:00
WerWolv
f913cd742f
impr: Added new ImHex Banners
2024-04-23 21:02:16 +02:00
WerWolv
4b1b52caf0
fix: Cell highlighting in hex editor view overlapping at non-integer scale factors
2024-04-13 15:34:12 +02:00
WerWolv
e9ebfe36b0
build: Updated ImGui to v1.90.5
2024-04-12 22:56:10 +02:00
WerWolv
43149498cf
fix: Main window being hard to resize when bytes are selected in the hex editor view
2024-04-12 22:55:54 +02:00
FireNX70
43070a1f5b
fix: Diff table in diffing view displaying incorrect end address ( #1627 )
...
Trivial fix for #1617 .
2024-04-11 23:49:58 +02:00
WerWolv
0bd8c5d115
fix: Color vector in 3D visualizer not getting assigned the correct size
2024-04-10 22:53:51 +02:00
WerWolv
9de10df90d
fix: Store hanging when updating all entries in some cases
2024-04-10 22:52:21 +02:00
WerWolv
5d08499d20
impr: Use sidebar for settings categories instead of tabs
2024-04-10 19:55:37 +02:00
WerWolv
e6a14977b9
fix: Highlight and tooltip flickering when hovering over highlighted patterns
2024-04-05 18:49:19 +02:00
WerWolv
696612385a
fix: Use std::ranges::find
instead of std::ranges::contains
for now
2024-03-29 16:34:01 +01:00
WerWolv
edf047dde8
impr: Cleanup bookmark UI
2024-03-29 15:40:15 +01:00
WerWolv
51010096bb
feat: Added provider information to search bar hover tooltip
2024-03-29 15:38:03 +01:00
WerWolv
4e5a7ba483
fix: Closing providers still appearing in the provider list
2024-03-29 15:37:34 +01:00
WerWolv
92803c1536
feat: Added simple insert mode to hex editor
2024-03-29 13:22:28 +01:00
RoboSchmied
cc593fb6c4
fix: Misspelling of Endianness ( #1609 )
...
### Problem description
fix 40 typos
### Implementation description
`endianess` => `endianness`
Signed-off-by: RoboSchmied <github@roboschmie.de>
2024-03-28 22:25:28 +01:00
York Waugh
aeabc0c436
lang: Updated Simplified Chinese translation ( #1610 )
...
Thank you for an outstanding program! I have updated the Simplified
Chinese translation. Hope you can adopt it.
2024-03-28 22:24:51 +01:00
WerWolv
f084bc4147
fix: View registers causing crashes when being deleted
2024-03-28 22:21:00 +01:00
WerWolv
cb1dcc2c9f
impr: Disable achievement popups if tutorial is skipped
2024-03-28 22:15:48 +01:00
WerWolv
8030de7af2
fix: Icons not being fractionally scaled anymore
2024-03-28 22:15:30 +01:00
WerWolv
8d08ab20ec
fix: Added missing ImHex paths to about page
2024-03-26 19:18:34 +01:00
WerWolv
966a780432
impr: Updated contributors list
2024-03-25 21:02:55 +01:00
WerWolv
99abc4e78a
fix: Unifont characters being scaled wrongly
...
Fixes #1616
2024-03-25 20:41:39 +01:00
WerWolv
ce1d581c3f
fix: Settings values being uninitialized by default
2024-03-25 20:41:05 +01:00
WerWolv
e984fde966
fix: Crash on some platforms due to empty main menu bar
...
#1600
2024-03-23 12:26:23 +01:00
WerWolv
ac8ec2b622
fix: Icons not being scaled correctly anymore
2024-03-22 17:52:00 +01:00
WerWolv
9b9f7e2a1d
fix: Decompress functions not extracting full data
...
Thanks a lot to tocklime
2024-03-22 17:34:49 +01:00
WerWolv
c8ca84ede9
fix: Prevent view providers from pointing to themselves and being saved as recent provider
...
#1607
2024-03-22 00:16:28 +01:00
WerWolv
ed2939c39e
impr: Better UI and UX for the hex editor footer
2024-03-21 23:50:34 +01:00
WerWolv
d36bd253e8
feat: Allow shift-selecting multiple find view occurrences
2024-03-21 23:50:13 +01:00
WerWolv
7ce8aa3638
impr: Added better error logging in script loader init
2024-03-21 21:39:29 +01:00
Nobutaka Mantani
05ffcab911
build: Added support patches for FreeBSD ( #1584 )
...
This pull request fixes build on FreeBSD. The changes are conditioned
with `#if defined(__FreeBSD__)` preprocessor macro and they should not
affect build for other operating systems.
---------
Co-authored-by: Nik <werwolv98@gmail.com>
Co-authored-by: iTrooz <hey@itrooz.fr>
2024-03-21 21:31:17 +01:00
WerWolv
61b9c0970b
impr: Load unifont at correct size
...
Fixes #1604
2024-03-21 21:27:50 +01:00
paxcut
3b3701135f
impr: Various fixes and an enhancement for the pattern editor ( #1528 )
...
Fixed console error messages using doc comment syntax highlights. Fixed
results of find not updating when march case was toggled. Fixed syntax
highlights of nested ifdefs. Fixed editor cursor blinks if OS focus goes
to another window. Fixed Highlights of "\\\"" was incorrectly handled.
---------
Co-authored-by: Nik <werwolv98@gmail.com>
2024-03-21 12:58:20 +00:00
WerWolv
86a0693081
fix: Crash when trying to open unopenable file
2024-03-17 13:20:02 +01:00
WerWolv
6295c1d0c3
feat: Added table pattern visualizer
2024-03-17 13:19:37 +01:00
WerWolv
f276409cde
patterns: Updated pattern language
2024-03-16 10:03:23 +01:00
WerWolv
6eb9c750a7
fix: File open achievement not triggering when dropping a file onto ImHex
2024-03-15 21:07:45 +01:00
WerWolv
31c93c8c5c
impr: Properly clear pattern editor when closing last provider
2024-03-15 21:07:21 +01:00
WerWolv
0f4504476a
fix: File changed popup showing up when saving memory mapped file
2024-03-15 17:57:12 +01:00
WerWolv
6012f20fb3
fix: Remove unused member variable in script loader provider wrapper
2024-03-14 20:56:08 +01:00
WerWolv
642722bdb1
build: Enable cimgui on web builds again
2024-03-14 18:58:39 +01:00
WerWolv
cbc31f3c18
feat: Added short forms for commonly used commands
2024-03-14 18:24:31 +01:00
WerWolv
f2309ba079
impr: Make export selection task cancelable
2024-03-14 18:24:01 +01:00
WerWolv
246ed15d6d
fix: Infinite loop when exporting selection to file
2024-03-14 17:52:44 +01:00
WerWolv
88756c83c7
fix: Right clicking reverse selected regions deselecting it
2024-03-14 17:49:46 +01:00
WerWolv
cf320266df
fix: Linux build issues
2024-03-14 17:49:04 +01:00
WerWolv
47e7e80afe
fix: Various issues with the virtual file system
2024-03-14 13:26:53 +01:00
WerWolv
0d880babfb
fix: Advanced data information not showing up correctly
2024-03-13 22:39:21 +01:00
WerWolv
28ba34f1bf
fix: Diffing option popup flickering when opening
2024-03-13 22:39:00 +01:00
WerWolv
e786cb8180
feat: Added option to create menu items from scripts
2024-03-13 19:50:05 +01:00
WerWolv
458584d778
feat: Added logger module to script loader
2024-03-13 19:49:48 +01:00
WerWolv
7b25be51a5
fix: Base address issues with the data inspector and copy as array option
...
Fixes #1595
2024-03-13 16:38:44 +01:00
WerWolv
45b05a4846
fix: Denying server contact leaving crash upload option enabled
...
Fixes #1594
2024-03-13 09:41:04 +01:00
WerWolv
6972736abf
fix: Remaining build issues
2024-03-13 09:40:37 +01:00
WerWolv
3798654f92
fix: Unix build issues with dladdr
2024-03-13 08:38:40 +01:00
WerWolv
fdf01dfb50
impr: Get rid of cimgui shared library by hooking pinvoke handler
2024-03-12 23:17:49 +01:00
WerWolv
fbfc319ac1
build: Make dotnet script loader initialize properly with newer SDK version
2024-03-12 19:08:14 +01:00
WerWolv
c727762940
impr: Added AxCut to the about page
2024-03-11 21:26:03 +01:00
WerWolv
e3565d5bcb
feat: Added support for creating views and drawing ImGui elemts from C#
2024-03-11 21:09:56 +01:00
WerWolv
a3f550c585
fix: Toasts not printing their message to the console correctly
2024-03-11 21:09:56 +01:00
WerWolv
3d592dbc79
fix: Highlighting not updating correctly when changing bookmark region
...
Fixes #1591
2024-03-11 14:00:52 +01:00
WerWolv
0186f2f456
feat: Added support for adding custom providers through C#
2024-03-10 22:05:26 +01:00
WerWolv
d817a813b0
fix: Update all task progress not increasing correctly
2024-03-10 18:59:35 +01:00
WerWolv
285afb6d4b
build: Updated libwolv
2024-03-10 15:58:57 +01:00
WerWolv
ca3708df71
fix: std::bind_front
not supporting member functions everywhere
2024-03-10 15:40:32 +01:00
WerWolv
c2aafb14c2
fix: View provider not saving top-level data to project file
2024-03-10 15:32:01 +01:00
WerWolv
d4d1acb555
feat: Added --verbose
command line option to enable debug logs
2024-03-10 15:22:14 +01:00
WerWolv
d1a59f8c1b
fix: View provider not correctly saving its state to a project file
2024-03-10 15:17:15 +01:00
WerWolv
45a3bdffe0
impr: Load small files into memory, open larger files as read-only by default
...
#841 , #1585
2024-03-10 14:31:39 +01:00
iTrooz
f050c69ccd
fix: fix ui plugin linking to pl when libimhex already does it ( #1583 )
2024-03-03 15:31:40 +00:00
WerWolv
54266bf63b
fix: Remove debug popup function in release mode to avoid build errors
2024-03-02 14:23:52 +01:00
WerWolv
ba12f7aec9
impr: Added testers to About screen
2024-03-02 11:57:30 +01:00
WerWolv
bbbf836374
fix: Race condition when downloading multiple elements from the content store
2024-03-02 10:57:37 +01:00
WerWolv
f1b91ef360
fix: MIME based auto loading not working correctly
2024-03-02 10:57:13 +01:00
WerWolv
f6c59b456f
impr: Move selection information to the top of the hex editor footer
2024-03-02 09:52:40 +01:00
WerWolv
e561f49e80
impr: Make welcome screen background look more interesting
2024-03-01 20:57:07 +01:00
WerWolv
2ff884fd11
feat: Replaced debug button functions with full debug menu
2024-03-01 20:56:46 +01:00
WerWolv
8e94acc98f
fix: Compile error
2024-03-01 18:37:28 +01:00
iTrooz
97f5175c84
impr: Better recovery from exceptions thrown in main thread ( #1577 )
...
This PR improves many things which can be seen by the commit name, but
the most important thing is the addition of a popup telling the user
when an exception is thrown
![image](https://github.com/WerWolv/ImHex/assets/42669835/db796416-9cce-4aa5-ad60-c22f05b5fc73 )
2024-03-01 18:21:15 +01:00
WerWolv
78f8e5055e
impr: Show hint if advanced data information section doesn't yield any result
2024-03-01 16:51:02 +01:00
WerWolv
dd62bee264
build: Added precompiled headers
2024-02-29 19:57:20 +01:00
WerWolv
623079ca40
fix: Pressing buttons while window is unfocused not working
2024-02-28 23:52:07 +01:00
WerWolv
ce9bd796d6
fix: Inserting bytes and resizing files not working correctly
2024-02-28 22:21:14 +01:00
WerWolv
d5f323a2cd
feat: Allow workspaces to be deleted the same way as layouts
...
Fixed #1576
2024-02-28 22:10:48 +01:00
WerWolv
40592a93ac
fix: MIME-based pattern loading not working correctly
...
Fixes #1574
2024-02-28 20:54:51 +01:00
WerWolv
eaa4688182
fix: Crash when using CRC hashes
2024-02-27 22:39:18 +01:00
WerWolv
72645aa800
fix: Read-only file toast showing up for all providers
2024-02-27 20:20:28 +01:00
WerWolv
7044fc8004
fix: Import menu being disabled with read-only providers
...
Fixes #1573
2024-02-27 19:41:33 +01:00
Justus Garbe
9e8c780d66
fix: Use explicit string argument according to -Wformat-security on clang ( #1572 )
2024-02-27 19:07:44 +01:00
WerWolv
607f7cba8d
fix: Yara rules not being read correctly in data information section
2024-02-27 18:01:30 +01:00
WerWolv
2572e23928
impr: Add better error handling when loading projects
2024-02-26 21:48:56 +01:00
WerWolv
60921031bd
fix: Opening project files through the command line opening them as regular files
2024-02-26 21:43:28 +01:00
WerWolv
77550d902c
feat: Added option to disable annotations in byte type graph
2024-02-26 21:41:43 +01:00
WerWolv
41935781fb
fix: Build error due to use of localized strings
2024-02-26 21:13:57 +01:00
iTrooz
47362559ef
tests: Add infrastructure for testing plugins ( #1538 )
...
This PR adds a test architecture to be able to test plugins
Main infrastructure done by @WerWolv
---------
Co-authored-by: WerWolv <werwolv98@gmail.com>
2024-02-26 20:51:08 +01:00
WerWolv
6e32f03a6b
feat: Added plain text and similar bytes regions to byte types diagram
2024-02-26 20:49:35 +01:00
WerWolv
5731dcf135
impr: Make hex editor minimap rows stay a fixed height
2024-02-26 20:49:15 +01:00
WerWolv
491e2dfe56
fix: Parent hover setting name being wrong
2024-02-25 14:38:26 +01:00
WerWolv
29c7b342eb
impr: Make file chooser filter bar be focused by default
2024-02-25 14:34:09 +01:00
WerWolv
ea601a7d03
feat: Added option to highlight pattern parents in the hex editor when hovering
2024-02-25 14:30:56 +01:00
WerWolv
4f72c60eb0
fix: Text editors highlighting doc comments when they shouldn't
2024-02-25 12:35:01 +01:00
WerWolv
7434fdec6f
impr: Move advanced analysis yara rules to the patterns repo
2024-02-25 11:32:05 +01:00
WerWolv
c4f3ea901a
feat: Added more yara detection rules for languages, compilers and envs
2024-02-25 11:20:35 +01:00
WerWolv
58ad9f2ca8
impr: Small code layout improvements for diagrams
2024-02-25 11:20:04 +01:00
WerWolv
afede0ff9c
fix: Yara rule matching not working properly with non-zero base addresses
2024-02-25 00:16:14 +01:00
WerWolv
d51b065723
fix: Yara information task not being interruptable
2024-02-25 00:09:06 +01:00
WerWolv
859574c014
impr: .0f -> .0F
2024-02-24 23:34:29 +01:00
WerWolv
0505b123a0
impr: Remove weird spinner from data information view
2024-02-24 23:34:18 +01:00
WerWolv
00b3d7809c
fix: Various issues with the digram and layered distribution diagrams
2024-02-24 23:23:53 +01:00
Nik
ec69849749
feat: Added font picker to the settings ( #1570 )
2024-02-24 22:46:52 +01:00
WerWolv
ca0b6f2c6d
fix: Digram sample size being too low and filter options inverted
2024-02-24 19:04:58 +01:00
WerWolv
5182a61fcc
fix: Interacting with popups that extend past the edge of the window
2024-02-24 18:59:01 +01:00
WerWolv
2f7b949bd1
impr: Split out digram and layered distribution in their own section
2024-02-24 18:54:35 +01:00
WerWolv
4100e48fe2
impr: Render digram and layered distribution to texture to improve frame rate
2024-02-24 18:07:20 +01:00
WerWolv
132b211796
impr: Add interactive tutorials button to the welcome screen
2024-02-24 16:10:05 +01:00
WerWolv
9d02379583
impr: Don't allow opening the same file twice
...
Fixes #1569
2024-02-24 12:06:06 +01:00
WerWolv
2049852a80
impr: More consistent naming for information sections
2024-02-24 10:06:56 +01:00
WerWolv
cdde0dedc8
impr: Make crash restore popup not show up if there's nothing to restore
2024-02-24 00:37:17 +01:00
WerWolv
6b14facd29
impr: Cleanup task progress handling
2024-02-23 22:09:57 +01:00
WerWolv
2173707925
fix: Building with older libyara versions
2024-02-23 20:20:27 +01:00
WerWolv
85ec807417
fix: Localization issue with script loader
2024-02-23 18:57:29 +01:00
WerWolv
e7df0d201f
fix: Byte type distribution and entropy slider not updating
2024-02-23 18:44:41 +01:00
WerWolv
d19d62b1fc
impr: Remember find popup input per provider
...
Closes #1567
2024-02-23 18:31:58 +01:00
WerWolv
1f9d0181c9
impr: Allow opening multiple files at once
...
Closes #1566
2024-02-23 18:03:37 +01:00
WerWolv
4d91e7f347
impr: Handle read-only files more gracefully
2024-02-23 17:59:37 +01:00
WerWolv
9bfdfa149e
feat: Added search bar to file chooser popup, allow for custom naming functions
2024-02-23 17:52:42 +01:00
WerWolv
214e542da4
impr: Make sure lots of yara matches doesn't lag out the editor
2024-02-23 17:49:20 +01:00
WerWolv
daf74347a3
fix: Try to make menu bar always appear
2024-02-23 17:48:56 +01:00
WerWolv
61fd327aa1
fix: Focus restoring not working correctly
2024-02-23 17:48:37 +01:00
WerWolv
1ede41c778
fix: Compile issues using GCC
2024-02-22 23:11:59 +01:00
WerWolv
e28b72e356
feat: Added a basic C++ and MSVC detector yara signature
2024-02-22 21:31:53 +01:00
WerWolv
daf007fae7
fix: Added missing translations
2024-02-22 21:31:26 +01:00
WerWolv
3a44b840be
impr: Restructure yara rule handling again
2024-02-22 20:49:21 +01:00
WerWolv
0a9dca5be7
impr: Save data information view settings to projects
2024-02-21 23:21:24 +01:00
WerWolv
5ccb7a7b9a
feat: Added simple yara data analyzer
2024-02-21 23:17:12 +01:00
WerWolv
4bd24a4ffe
impr: Refactor Yara view
2024-02-21 22:08:26 +01:00
WerWolv
56e7c15064
impr: Refactor and modularize data information view
2024-02-21 00:06:52 +01:00
WerWolv
ca35c90cbb
fix: Main menu not appearing for the first 200ms
2024-02-19 22:23:17 +01:00
WerWolv
74d59705ad
fix: Issues where files are only being partially overwritten instead of truncated
2024-02-19 22:22:59 +01:00
WerWolv
218946d5de
fix: Crash when opening the interface settings tab
2024-02-18 22:45:54 +01:00
WerWolv
016d47b9d7
web: Make sure settings are loaded correctly
2024-02-18 14:02:21 +01:00
WerWolv
1bf1a56b01
git: Add more visible download banners to readme
2024-02-18 13:52:07 +01:00
WerWolv
0413302470
feat: Added setting to disable command palette button
2024-02-18 11:38:22 +01:00
WerWolv
01c934f53a
impr: Rework setting change listeners
2024-02-18 11:29:18 +01:00
WerWolv
c1aac6c85e
fix: Data inspector showing double negative signs sometimes
...
Fixes #1534
2024-02-18 10:06:51 +01:00
WerWolv
61b164a183
feat: Added option to export table in find view
2024-02-17 21:42:41 +01:00
WerWolv
d196169bea
fix: Additional folder paths not being loaded from config correctly
2024-02-17 21:30:23 +01:00
WerWolv
a2284a5143
fix: Crash when specifying invalid hash parameters
...
Fixes #1555
2024-02-17 21:28:30 +01:00
WerWolv
7486468537
fix: Localization issue with custom CRCs
2024-02-17 21:26:31 +01:00
WerWolv
510ed25509
fix: Crash when saving a new file to disk
2024-02-15 22:09:58 +01:00
WerWolv
9f2f01c17d
fix: Modification highlighting not working correctly when provider data was moved
2024-02-15 22:09:37 +01:00
WerWolv
12ba05385b
fix: Saving not removing red highlighting
2024-02-15 21:54:41 +01:00
WerWolv
2f88994c37
fix: Data inspector not updating correctly when data has changed
...
Fixes #1545
2024-02-15 13:01:34 +01:00
WerWolv
e016c8a702
fix: Double clicking pattern data row not selecting the editing textbox
...
Fixes #1546
2024-02-15 13:01:03 +01:00
reggie
56b2e09b01
build: Fix zstd not being linked in correctly ( #1544 )
...
Prior to this, at least on Linux/MacOS/etc, I guess it was not possible
to compile with Zstd included for `hex::dec::zstd_decompress()`:
![image](https://github.com/WerWolv/ImHex/assets/56618074/008dbb3d-eeaf-4f49-a918-4751ec69f00c )
Every other target lib for the decompression plugin would compile,
**except for** Zstd. Additionally, the target name `zstd` caused CMake
to not be able to find `Find(ZSTD).cmake` due to case-sensitivity
differences between Windows and Unix-based file paths, of course.
With that said, I'm not too sure if this will break building w/ Zstd on
Windows... Hopefully not 😄
2024-02-13 20:22:28 +01:00
WerWolv
ee3d6ec24b
feat: Made sum hash calculation more useful
2024-02-13 20:20:48 +01:00
WerWolv
03beca1099
fix: Broken editing view column rendering in pattern drawer
2024-02-12 19:40:21 +01:00
WerWolv
588f8af966
impr: Remove separator line in view menu if fullscreen and always on top are disabled
2024-02-11 23:02:34 +01:00
WerWolv
eee5e9cd7f
fix: Missing translation string in pattern drawer
2024-02-11 23:00:17 +01:00
WerWolv
27a78a00fd
patterns: Updated pattern language
2024-02-11 20:44:21 +01:00
WerWolv
0aae605ac4
fix: Processing and drawing of diffs
2024-02-11 19:29:02 +01:00
WerWolv
5cfcca0bc4
feat: Allow switching off borderless window mode
2024-02-11 14:12:14 +01:00
WerWolv
daf4e5cad6
refactor: More cleanup of the main file
2024-02-11 13:46:06 +01:00
WerWolv
27b5d13733
impr: Store default setting when setting couldn't be loaded
2024-02-11 11:44:58 +01:00
WerWolv
4519e24297
impr: Make corner icon stick out a bit less
2024-02-11 11:21:06 +01:00
WerWolv
2fd81c7ffd
impr: Better UI for the main about screen page
2024-02-11 00:35:10 +01:00
WerWolv
106c35344b
fix: Fade in and out of language text in oobe screen being broken
2024-02-11 00:18:20 +01:00
WerWolv
12f64e5fde
build: Updated ImGui to the latest release
2024-02-11 00:11:56 +01:00
Nik
bcbcb1f23c
impr: Various web build improvements, API cleanup ( #1541 )
2024-02-10 23:31:05 +01:00
WerWolv
ebe0276141
impr: Add small gap between window frame and title bar buttons
2024-02-09 19:39:26 +01:00
WerWolv
9d47ba9031
impr: Cleanup pattern drawer, added comment column
2024-02-09 18:37:05 +01:00
WerWolv
77baf6f522
fix: Native error message formatting on Windows
2024-02-04 20:21:16 +01:00
WerWolv
16adacb722
fix: Footer height being wrong
2024-02-04 14:18:20 +01:00
Nik
5e5714baeb
patterns: Merged in new pattern language refactor ( #1533 )
2024-02-04 14:03:42 +01:00
WerWolv
f60986de8e
fix: Window title bar not looking correct on Windows
2024-02-04 13:55:15 +01:00
WerWolv
a6f4d0cdec
impr: Unfocus ImGui windows when main window loses focus
2024-02-03 23:56:08 +01:00
WerWolv
64d147bf96
fix: Window footer being way too narrow
2024-02-03 22:43:06 +01:00
WerWolv
fe3facfc95
impr: Implement borderless window mode for macOS
2024-02-03 22:39:31 +01:00
WerWolv
a03e8dd879
impr: Harden settings system to not crash ImHex when having outdated configs
...
Fixes #1514
2024-02-03 12:16:36 +01:00
WerWolv
7709f4e307
feat: Allow setting language through the command line
2024-02-01 10:58:45 +01:00
WerWolv
f0a44e54d0
feat: Add export selection to file option
2024-01-31 22:07:08 +01:00
WerWolv
7a6ee756b8
patterns: Updated pattern language
2024-01-31 15:40:29 +01:00
WerWolv
80953a2286
feat: Allow jumping from hex editor to patterns and from patterns to source line
2024-01-31 11:26:22 +01:00
WerWolv
6b86ef3015
fix: Missing include
2024-01-30 21:20:53 +01:00
WerWolv
10f6aa3e4e
fix: Default magic database not being bundled correctly
2024-01-30 21:19:43 +01:00
WerWolv
79834b9566
impr: Added language selection to oobe screen
2024-01-30 14:57:36 +01:00
WerWolv
62978e5d34
feat: Added setting to always show provider tabs
2024-01-30 00:11:45 +01:00
WerWolv
3ea32212d7
feat: Added ASCII count minimap visualizer
2024-01-30 00:00:51 +01:00
WerWolv
ba6373daa4
fix: Moving Hex Editor cursor downwards jumping entire page at once
2024-01-29 23:29:18 +01:00
WerWolv
18b717594f
fix: Rendering issues with Hex Editor Minimap
2024-01-29 23:28:53 +01:00
WerWolv
76e304c34e
build: Fix various issues with linking, clang and unity builds
2024-01-29 22:57:39 +01:00
WerWolv
2e74a78f46
build: Improve unity builds
2024-01-29 21:18:32 +01:00
WerWolv
cecb8b8d31
fix: Linking issues and menu bar not appearing sometimes
2024-01-29 15:44:18 +01:00
Nik
339541a56f
impr: Restructure various components much better ( #1520 )
2024-01-28 22:14:59 +01:00
WerWolv
069544eb93
feat: Added Minimap to Hex Editor
2024-01-28 15:28:55 +01:00
WerWolv
ba20790ed2
build: Make libpl not being linked twice
2024-01-28 01:09:26 +01:00
WerWolv
cb3bace15e
lang: Update German translation
2024-01-27 22:16:50 +01:00
WerWolv
7c6f4d7bff
feat: Added many new Hash algorithms
2024-01-27 20:24:53 +01:00
WerWolv
f0a56b4201
fix: Pattern code not being parsed when loaded from project
2024-01-27 17:33:15 +01:00
WerWolv
61048757e6
impr: Allow custom encodings with only single-byte characters to be displayed immediately
2024-01-27 16:49:31 +01:00
WerWolv
25b4745997
impr: Make zlib decompress function take in a windowSize parameter
2024-01-27 16:12:02 +01:00
paxcut
1957d6f432
feat: Added find-replace to pattern editor ( #1465 )
2024-01-27 14:52:20 +01:00
WerWolv
823881f7f1
fix: Invalid parameters passed to task progress bar formatter
2024-01-27 14:15:08 +01:00
PerikiyoXD
11f75f72ee
feat: Add search options for string encoding and endianness ( #1490 )
...
Added search options for string encoding (UTF-8, UTF-16, UTF-32) and
endianness (Little, Big) in the hex editor. This enhancement allows
users to customize the search process based on different string
encodings and byte orders.
Affected files:
- `plugins/builtin/romfs/lang/de_DE.json`
- `plugins/builtin/romfs/lang/en_US.json`
- `plugins/builtin/romfs/lang/es_ES.json`
- `plugins/builtin/romfs/lang/it_IT.json`
- `plugins/builtin/romfs/lang/ja_JP.json`
- `plugins/builtin/romfs/lang/ko_KR.json`
- `plugins/builtin/romfs/lang/pt_BR.json`
- `plugins/builtin/romfs/lang/zh_CN.json`
- `plugins/builtin/romfs/lang/zh_TW.json`
- `plugins/builtin/source/content/views/view_hex_editor.cpp`
Resolves : #1325
---------
Co-authored-by: Nik <werwolv98@gmail.com>
2024-01-27 14:13:41 +01:00
WerWolv
5747b72a41
fix: Exit hex editor editing mode when right clicking
...
Fixes #1499
2024-01-27 13:41:38 +01:00
WerWolv
44510b5b64
impr: Make task progress not display -100% when in no progress state
2024-01-27 11:02:14 +01:00
WerWolv
6a1a991c08
fix: Pattern settings resetting at re-evaluation
2024-01-27 10:49:40 +01:00
WerWolv
33637e92b5
impr: Make changing pattern settings re-evaluate the code
2024-01-26 22:08:46 +01:00
iTrooz
a4d6932ed8
fix: remove TODO + show error message when reading/write in process provider ( #1516 )
2024-01-26 18:44:52 +00:00
WerWolv
d23d382038
impr: Disable the initial oobe screen in the web version
2024-01-26 16:54:27 +01:00
Nik
6ae86ce906
build: Get rid of pkgconfig as much as possible ( #1517 )
2024-01-26 12:13:22 +01:00
WerWolv
919110b024
impr: Make data information view have per-provider state
2024-01-25 22:49:56 +01:00
WerWolv
9c25a1609e
feat: Add more magic information to the information view
2024-01-25 22:49:22 +01:00
iTrooz
d86bf44e39
git: Add script to check localized texts occurrences in code ( #1511 )
...
This script will be executed on every CI run as part of tests, and will
ensure no unlocalised strings are present in the code
Note that texts without the `_lang` suffix will not be checked, e.g.
96fe608d60/plugins/builtin/source/content/views/view_provider_settings.cpp (L10)
2024-01-25 21:23:03 +01:00
iTrooz
82b56613e9
fix: fix build with edlib ( #1513 )
2024-01-25 19:25:51 +00:00
WerWolv
b605c463a1
impr: Further improve interfacing with external plugins
2024-01-22 23:35:00 +01:00
WerWolv
00491c8d90
git: Put libimhex and the ui plugin library under LGPLv2.1
2024-01-22 19:05:04 +01:00
WerWolv
60e7362f4e
feat: Allow extra plugin folders to be specified with the --plugins
cli option
2024-01-22 12:53:07 +01:00
WerWolv
f2bab005d0
fix: Make screenshots on initial launch screen behave better in web version
2024-01-22 08:25:29 +01:00
WerWolv
7068a883ed
feat: Added basic byte sum hash
2024-01-21 23:31:53 +01:00