WerWolv
b84b82c416
fix: Properly get auto backup file creation time
2023-12-11 21:17:40 +01:00
WerWolv
91230ba438
feat: Added workspaces
2023-12-11 15:54:22 +01:00
WerWolv
7a4358a5ec
feat: Added automatic backups
2023-12-11 11:42:33 +01:00
WerWolv
1ba34c233e
fix: Various scaling issues
2023-12-10 22:37:26 +01:00
WerWolv
ef7898ea8d
impr: Add support for specifying filtering mode when loading textures
2023-12-09 22:00:35 +01:00
WerWolv
c58c3dd311
impr: Make banner not as obnoxiously big
2023-12-09 16:20:58 +01:00
WerWolv
7738f8c831
impr: Highlight border of information banner when hovered
2023-12-09 15:56:26 +01:00
WerWolv
09a148b8a5
impr: Add hint text about font size when no custom font is selected
2023-12-09 12:14:45 +01:00
WerWolv
878f45dd80
fix: Various build errors
2023-12-08 16:22:36 +01:00
WerWolv
48bc0985d9
impr: Make info banner open a web page
2023-12-08 14:46:32 +01:00
WerWolv
e9bca123c2
impr: Allow per-OS info banners
2023-12-08 14:43:59 +01:00
WerWolv
6df3a9243f
fix: Rename scaling setting to avoid old values being interpreted wrongly
2023-12-08 14:36:42 +01:00
WerWolv
411884966b
fix: Crash when making pattern editor window too small
2023-12-08 11:15:32 +01:00
WerWolv
b4813660b5
refactor: Better interface for the event system
2023-12-08 10:29:44 +01:00
WerWolv
f08d1e265c
impr: Make extra providers window wider
2023-12-07 23:51:11 +01:00
Truman Kilen
5c84ef5f72
feat: Added Linux support to the Process Memory Provider ( #1331 )
...
<!--
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 -->
Implement a Linux backend for the ProcessMemoryProvider plugin.
### Implementation description
<!-- Explain what you did to correct the problem -->
Most of the provider code is the same between Windows and Linux. The
primary differences are:
- enumerate PIDs in `/proc/` to get the process list
- use `/proc/<PID>/cmdline` as the process name
- parse `/proc/<PID>/maps` to get the module list
- reading/writing from memory is done using
`process_vm_readv`/`process_vm_writev`
NOTE: `sudo setcap CAP_SYS_PTRACE=+eip build/imhex` must be run to give
the binary permission to read another process' memory. Running as root
user should also work but I would not recommend it.
### Additional things
The existing translations keys no longer match since I moved the plugin
from `windows` to `builtin`.
I'm not well versed in C++ so I attempted to keep my changes rather
simple. Feedback is very welcome.
---------
Co-authored-by: WerWolv <werwolv98@gmail.com>
2023-12-07 23:33:15 +01:00
WerWolv
8ab85a2af1
feat: Added unit converter to command palette
2023-12-07 16:15:00 +01:00
WerWolv
7f69f8bcdb
impr: More size_t -> u64
2023-12-07 13:02:12 +01:00
WerWolv
3a016da549
impr: Make providers return a 64 bit size on all platforms
2023-12-07 12:06:26 +01:00
WerWolv
7b3e13c748
fix: Add missing localizations
2023-12-07 11:53:31 +01:00
WerWolv
5f8c813aa7
impr: Only show provider selector bar when more than one is open
2023-12-07 11:21:13 +01:00
WerWolv
9ba6d7ee1e
impr: Added simplified welcome screen
2023-12-07 11:18:49 +01:00
WerWolv
5d24f1b691
impr: Fix input field selection in command palette
2023-12-06 16:20:06 +01:00
WerWolv
370ca740e3
feat: Allow layouts to be locked
2023-12-06 13:49:58 +01:00
WerWolv
ba8430d9e7
impr: Code style
2023-12-06 11:05:13 +01:00
WerWolv
37ac1b66dd
refactor: Task Manager related code
2023-12-06 11:04:35 +01:00
WerWolv
c6b9b947fb
fix: Binding shortcuts to already existing shortcuts behaving weirdly
2023-12-06 09:09:32 +01:00
WerWolv
2b22a15e8c
feat: Added --hexdump subcommand
2023-12-05 16:45:35 +01:00
WerWolv
760b8c7a88
impr: Make long running tasks not freeze ImHex, fix saving non-continuous providers
...
Fixes #1454
2023-12-05 14:32:43 +01:00
Nik
f9a9ed4846
impr: Vastly improved 3D Visualizer ( #1456 )
...
Based entirely on @paxcut's amazing PR #1443
---------
Co-authored-by: paxcut <paxcut@outlook.com>
Co-authored-by: paxcut <53811119+paxcut@users.noreply.github.com>
2023-12-05 10:49:51 +01:00
WerWolv
08fd09064a
fix: Settings view still using old system and not opening properly
2023-12-04 22:17:43 +01:00
WerWolv
9afbfec64e
impr: Allow bookmark addresses to be changed, better comment editor
2023-12-02 23:11:31 +01:00
WerWolv
ec7e89b5cf
feat: Added simple context menu to pattern editor
2023-12-02 20:37:28 +01:00
WerWolv
e6ad54b53b
fix: Overlays not being applied properly
2023-12-02 18:42:57 +01:00
WerWolv
4fd3167bb3
feat: Added minimal layout
2023-12-02 14:35:44 +01:00
WerWolv
866cb5706d
feat: Added highlighting rules
2023-12-02 11:09:32 +01:00
WerWolv
2cf642a2a4
build: Updated libwolv
2023-12-01 14:07:10 +01:00
WerWolv
519d965a36
refactor: Move tools to correct namespace, move data processor nodes
2023-12-01 13:53:51 +01:00
WerWolv
a50bb39978
impr: Further improve compile times
2023-11-30 14:40:07 +01:00
WerWolv
8ee234e5a6
impr: Optimize api includes
2023-11-30 11:23:12 +01:00
WerWolv
e370fdb0fc
build: Add support for unity builds
2023-11-30 10:22:15 +01:00
WerWolv
09904b77eb
feat: Add support for bold and italic fonts
2023-11-29 23:47:37 +01:00
WerWolv
cceac20197
fix: Codicon icons being too far down
2023-11-29 11:02:14 +01:00
WerWolv
540e8458a5
impr: Improve font loading speed
2023-11-29 09:50:57 +01:00
WerWolv
56064df8d5
impr: Properly center icon fonts
2023-11-28 14:21:48 +01:00
WerWolv
df7cc1fefd
impr: Make "Load all glyphs" setting require a restart
2023-11-28 13:53:08 +01:00
WerWolv
23fc232c47
impr: Try to align additional fonts automatically
2023-11-28 13:52:26 +01:00
WerWolv
37ce37862a
fix: Properly clear font name before loading
2023-11-28 11:11:13 +01:00
WerWolv
e75fcadd8f
fix: More strncpy and include issues
2023-11-28 10:56:56 +01:00
WerWolv
2483c421d2
fix: Missing <cstring> include
2023-11-28 10:51:06 +01:00
WerWolv
abf6e37938
impr: More efficiently pack glyphs on font atlas
2023-11-28 10:37:38 +01:00
WerWolv
eae73b3113
fix: Font size not resetting back to default properly
2023-11-28 10:28:06 +01:00
WerWolv
cbf82d7476
impr: Force tables to never collapse to zero height
2023-11-28 10:21:54 +01:00
WerWolv
813a95d283
fix: Various font loading issues
2023-11-28 09:49:38 +01:00
WerWolv
c02c27b63d
refactor: Moved over to more flexible font loader
2023-11-28 01:55:41 +01:00
WerWolv
f6d4d5ab22
refactor: More init sequence refactors
2023-11-28 00:47:03 +01:00
WerWolv
284f8534ab
refactor: Move the builtin plugin specific init tasks to the plugin
2023-11-28 00:19:42 +01:00
WerWolv
8e7716ebcc
fix: Zero-sized patches being created
2023-11-27 15:48:56 +01:00
WerWolv
1b665fa1b3
fix: Loading files into memory
2023-11-27 15:48:46 +01:00
WerWolv
9cbfaed5fe
fix: Empty popup opening when right clicking some provider tabs
2023-11-27 15:37:22 +01:00
WerWolv
494223fff6
fix: Provider load interface not opening
2023-11-27 15:34:05 +01:00
WerWolv
af77b8dfc4
fix: Numeric search tool not displaying values in correct endianess
2023-11-25 19:40:29 +01:00
WerWolv
64be4e692c
impr: More UI adjustments
2023-11-25 19:11:29 +01:00
WerWolv
8e8a926ad9
impr: Better look of footer items
2023-11-25 19:11:29 +01:00
WerWolv
671b032125
impr: Add syntax highlighting to the demangler
2023-11-25 15:36:50 +01:00
WerWolv
8d20277a62
feat: Added setting to enable colored pattern row backgrounds
2023-11-25 13:42:51 +01:00
WerWolv
88032a85cd
impr: Even more about page UI improvements
2023-11-25 13:15:21 +01:00
WerWolv
c821967633
impr: More about page UI improvements
2023-11-25 12:44:20 +01:00
Nik
7e660450ed
feat: Implement better and more complete undo/redo stack ( #1433 )
...
This PR aims to implement a more complete undo/redo stack that, unlike
the old one, also supports undoing insertions, deletions and resize
operations
2023-11-25 12:43:48 +01:00
WerWolv
e5f36ca08d
impr: Greatly improve UI of about page
2023-11-25 00:43:03 +01:00
WerWolv
d8249b3a7c
impr: Make plugins table not get clipped
2023-11-24 21:04:04 +01:00
WerWolv
3c36ef2c69
impr: Disable some more menu items when they're not useful
2023-11-24 20:57:37 +01:00
WerWolv
b050039e35
fix: Duplicate shortcuts not highlighting correctly
2023-11-24 20:17:01 +01:00
WerWolv
fb00f688a8
impr: Update ImGui to use new shadows branch
2023-11-24 15:31:33 +01:00
WerWolv
d6d379108b
fix: ImHex not closing when trying to exit with unsaved changes
2023-11-24 11:42:27 +01:00
WerWolv
d34ad33c3c
feat: Added setting for font bold, italic and antialiasing
2023-11-24 11:29:05 +01:00
WerWolv
59b363d9b2
impr: Move custom font setting behind a enable checkbox
2023-11-23 23:15:42 +01:00
WerWolv
eafeac4e7b
feat: Display task progress percentage in footer
2023-11-23 13:19:50 +01:00
WerWolv
5a58ed5114
fix: Make sure store and about page are opened correctly
2023-11-23 13:08:45 +01:00
WerWolv
b619744093
fix: Command palette not appearing on Linux
2023-11-23 09:33:47 +01:00
Nik
095da62250
feat: Add Markdown Report export option ( #1441 )
2023-11-22 07:26:31 +00:00
WerWolv
909f4b7fe8
refactor: Rename and update localization system
2023-11-21 14:38:01 +01:00
WerWolv
c89a870fe9
refactor: Streamline entire view system
2023-11-21 13:47:50 +01:00
WerWolv
fc23efdb25
impr: Move OpenGL loaders into header to avoid issues in the future
2023-11-20 23:58:49 +01:00
WerWolv
4b13cd666b
fix: Resetting shortcuts not saving change to settings
2023-11-19 19:08:31 +01:00
WerWolv
f9073ee8ee
impr: Prettier data inspector edit button
2023-11-19 16:08:21 +01:00
WerWolv
bd59bcda2c
fix: Hiding data inspector rows graying out row above it
2023-11-19 15:55:05 +01:00
WerWolv
0e9302ff08
fix: Hiding custom data inspector rows hiding all defined in the same file
2023-11-19 15:50:13 +01:00
WerWolv
69bdebeb98
fix: 3D Visualizer mirroring model
2023-11-19 15:14:47 +01:00
WerWolv
3b01dcf230
feat: Allow hiding data inspector rows
2023-11-18 17:23:15 +01:00
WerWolv
331716dd48
impr: Don't draw recents window if there are none
2023-11-18 15:11:19 +01:00
WerWolv
14f728ab76
refactor: Give API files more consistent names
2023-11-18 14:50:43 +01:00
WerWolv
1249eb3261
impr: Optimize includes in often used header files
2023-11-18 14:34:33 +01:00
WerWolv
e7bfa483f8
impr: Make settings tab bar always stick to top of window
2023-11-17 16:05:45 +01:00
WerWolv
36a352b096
feat: Draw info banner on welcome screen if one exists
2023-11-17 15:54:38 +01:00
WerWolv
1f05deddc8
fix: Potential error when parsing Intel Hex and Motorola SREC files
2023-11-17 15:01:57 +01:00
WerWolv
cec925bcdc
feat: Add shortcut editor to settings
2023-11-17 14:46:21 +01:00
WerWolv
3bd779a607
fix: URL Decoding not working correctly
2023-11-17 13:13:17 +01:00
qux-bbb
2036dc91e6
impr: Make CRC-32 use reflected version by default ( #1406 )
...
<!--
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 -->
Before this PR, the CRC-32 value of ImHex is not like most of others.
### Implementation description
<!-- Explain what you did to correct the problem -->
Just set m_reflectIn and m_reflectOut of CRC-32 true by default.
2023-11-16 22:24:55 +01:00
iTrooz
39252dfe48
refactor: Move custom ImGui functions to ImGuiExt namespace ( #1427 )
...
Co-authored-by: Nik <werwolv98@gmail.com>
2023-11-16 22:24:06 +01:00
Nemoumbra
1f7e2f5ed3
fix: IPS Patch Achievement not being obtainable ( #1429 )
...
It turned out that the achievement "ROM hacks" wasn't actually
unlockable.
I'm not sure if the IPS32 patch also has to trigger this achievement,
but it seemed logical to me so I added the call to both methods.
2023-11-16 21:38:20 +01:00
WerWolv
0bace013a1
fix: Unary operators not working correctly in math evaluator
2023-11-16 21:23:58 +01:00
WerWolv
1df8d19399
impr: Display math evaluator errors again
2023-11-16 21:23:38 +01:00
WerWolv
1136556a0d
fix: Don't treat unlocked achievements as invisible anymore
2023-11-16 13:24:09 +01:00
WerWolv
1331b0691f
impr: Better highlighting color when hovering over colors in the theme manager
2023-11-16 13:23:47 +01:00
WerWolv
21057d51e1
impr: More Welcome Screen UI improvements
2023-11-16 13:23:28 +01:00
WerWolv
22eee94436
impr: Better UI for the Welcome screen
2023-11-16 09:32:24 +01:00
WerWolv
dd2ecb3dd9
impr: Replace old headers with new ones in UNIX permission calculator
2023-11-15 22:23:17 +01:00
WerWolv
a51f9fd90c
impr: Better UI for the settings view
2023-11-15 22:22:57 +01:00
WerWolv
e32def409a
build: Upgraded ImGui to v1.90
2023-11-15 20:22:56 +01:00
WerWolv
73454905e8
fix: Theme color flashing amount being off
2023-11-14 22:36:48 +01:00
WerWolv
8e58f469b0
impr: Display latest log at the top of the log console table
2023-11-14 22:30:13 +01:00
WerWolv
5ec7826273
feat: Highlight color when hovering over it in the theme manager
2023-11-14 22:27:29 +01:00
WerWolv
43f1cc7bd0
fix: Highlight color of bookmark not changing with bookmark
2023-11-14 16:50:38 +01:00
WerWolv
b78435c881
feat: Turn provider settings into sidebar
2023-11-14 15:55:34 +01:00
WerWolv
46d3402705
impr: Better UI for the command palette
2023-11-14 12:15:37 +01:00
WerWolv
1ff4d76ae7
feat: Add color names to color picker view
2023-11-14 01:40:54 +01:00
WerWolv
273573ce68
impr: Remove unused includes in tools files
2023-11-14 01:40:43 +01:00
WerWolv
d3ed34d5eb
impr: Display folder names of files in subfolders in file chooser popup
2023-11-14 00:37:07 +01:00
WerWolv
375c74abe5
impr: Add command palette button to the title bar
2023-11-14 00:03:22 +01:00
iTrooz
e0264a3459
refactor: Split data processor nodes in several files ( #1419 )
...
I'm really not sure about how I grouped the nodes, but that's a start.
In need of review
---------
Co-authored-by: Nik <werwolv98@gmail.com>
2023-11-13 23:36:39 +01:00
WerWolv
1f73a87327
fix: Multi-byte hex editor data visualizers behaving incorrectly
2023-11-13 09:28:57 +01:00
iTrooz
b04cb7648e
refactor: refactor tools_entries.cpp into several smaller files ( #1418 )
2023-11-12 00:22:01 +00:00
WerWolv
46b1b0ba17
impr: Use ImGui::SeparatorText to draw headers
2023-11-12 00:57:29 +01:00
WerWolv
60e3a657f0
fix: Prevent exporting of zero-sized files to language arrays
2023-11-12 00:25:37 +01:00
WerWolv
9fb60a8ab0
fix: Docking two detached tools to each other causing them to vanish
2023-11-12 00:10:16 +01:00
WerWolv
af77819913
fix: Crash when choosing File -> Select without an active selection
2023-11-11 23:43:32 +01:00
WerWolv
1c8af096de
fix: Out of bounds read with a zero-size file
2023-11-11 23:11:34 +01:00
WerWolv
26f873a364
impr: Improve UI/UX of color picker and regex replacer tool
2023-11-11 22:43:27 +01:00
WerWolv
b101d11821
fix: Separate calculator and graphing calculator input
2023-11-11 21:22:28 +01:00
WerWolv
50a1956d92
fix: Unary operators in math evaluator not working correctly
2023-11-11 21:22:11 +01:00
WerWolv
5a4f31bfa5
feat: Make color picker tool much more useful
2023-11-11 20:56:50 +01:00
WerWolv
7d53636e10
feat: Added simple graphing calculator
2023-11-11 00:54:16 +01:00
WerWolv
ec4942174b
fix: Proxy not being disabled correctly when disabling it in the settings
2023-11-10 21:59:20 +01:00
WerWolv
498d8c1d65
impr: General code cleanup
2023-11-10 20:47:08 +01:00
WerWolv
d12f5016e4
fix: PageUp/PageDown being slightly weird
2023-11-09 16:07:14 +01:00
WerWolv
f1e0960a26
feat: Allow exporting bytes as text to a file
2023-11-09 14:57:58 +01:00
WerWolv
0f5d659ce2
impr: Fade out zero bytes in HTML formatted data
2023-11-09 14:42:29 +01:00
WerWolv
a64aa6941d
fix: Force achievement popup to front
2023-11-08 21:57:19 +01:00
WerWolv
66cac8350e
fix: Kaboom achievement not triggering
2023-11-08 21:40:27 +01:00
WerWolv
384c2a7701
fix: Format string issue
2023-11-08 12:51:39 +01:00
WerWolv
ad4e7c3355
impr: Don't check for overflow every frame
2023-11-08 12:46:47 +01:00
WerWolv
ea5d4ca3ae
impr: Detect overflow in Euclidean algorithm tool
2023-11-08 12:40:33 +01:00
WerWolv
87e7f817c1
feat: Added extended Euclidean algorithm to tools
2023-11-08 11:54:57 +01:00
WerWolv
3af1840c6a
fix: Typo and formatting
2023-11-08 11:54:21 +01:00
WerWolv
da851c3c10
fix: Average and Median nodes using wrong output types
2023-11-08 11:53:46 +01:00
WerWolv
1ca71ec30d
impr: Make sidebar look better
2023-11-07 16:40:41 +01:00
WerWolv
ef320b74b0
impr: Handle showing popups when closing unsaved providers better
2023-11-07 15:31:54 +01:00
WerWolv
669e1921a4
feat: Added Euclidean Algorithms tools
2023-11-07 00:47:10 +01:00
WerWolv
924b4a9436
impr: Replace various fixed-size boxes with dynamic ones
2023-11-07 00:46:44 +01:00
WerWolv
f49b5efac4
fix: UI issues in the data information view
2023-11-07 00:46:17 +01:00
WerWolv
8581ab9eb3
feat: Added simple data access graph to pattern editor
2023-11-06 15:15:35 +01:00
WerWolv
7efe9acefb
fix: Warnings about missing theme/style handlers being printed on launch
2023-11-06 15:15:18 +01:00
WerWolv
94f3664dbc
impr: Make TCP Client/Server table visible when detaching tool
2023-11-05 21:52:12 +01:00
WerWolv
d1f8053fbb
fix: Format string vulnerability
2023-11-05 21:51:49 +01:00
WerWolv
7efdcfd888
fix: Properly align welcome screen again
2023-11-05 21:17:37 +01:00
WerWolv
4e4cdcdf61
feat: Added release notes and commits to about page
2023-11-05 19:57:29 +01:00
WerWolv
d6ba41c2d9
fix: Disable IP and Port fields when TCP Client/Server are connected
2023-11-05 00:10:59 +01:00
WerWolv
4c2fe8e03c
impr: Various TCP Client/Server tool improvements
2023-11-05 00:00:32 +01:00
WerWolv
ec95c260bb
fix: Only register event shutting down the network interface once
2023-11-04 23:41:52 +01:00
WerWolv
055e18058f
fix: Network interface not shutting down correctly
2023-11-04 22:20:22 +01:00
WerWolv
fa5e32496c
fix: Make sure main window stays within the window at all times
2023-11-04 22:10:34 +01:00
WerWolv
cd6a62dd27
fix: Welcome screen having a weird header
2023-11-02 09:34:03 +01:00
WerWolv
4e6af607e8
fix: Crash when clicking on the welcome screen
2023-11-02 08:54:02 +01:00
WerWolv
f14f77b4f0
git: Updated Mary's profile link
2023-11-01 10:43:59 +01:00
WerWolv
9617212ef1
impr: Allow visualizers to have optional parameters
2023-10-31 10:56:20 +01:00
WerWolv
c7cee59a77
impr: Added build date and time to about page
2023-10-30 23:24:00 +01:00
WerWolv
c37c53369b
impr: Dock newly opened windows by default
2023-10-30 21:53:44 +01:00
WerWolv
c444ad9280
impr: Bundle default magic file with application
2023-10-29 19:43:45 +01:00
WerWolv
f94c23d64d
fix: Copy As -> Go Array producing syntactically invalid code
...
Fixes #1391
2023-10-26 17:13:59 +02:00
iTrooz
bffc229fa8
feat: handle content store entries managed by the system (in a read-only folder) ( #1389 )
2023-10-24 20:00:49 +02:00
WerWolv
aae5586b5c
fix: Provider tab bar arrow buttons not working
...
Fixes #1374
2023-10-24 19:29:22 +02:00
WerWolv
215e1ffdc8
fix: Weird indentation
2023-10-22 23:06:35 +02:00
WerWolv
cb2aee0ed7
fix: Various TCP tool issues
2023-10-22 21:52:55 +02:00
WerWolv
8cd0561e71
fix: Binary Pattern search being broken with alignments > 1
2023-10-22 20:59:32 +02:00
WerWolv
c3825fff65
fix: Actually fix dropdown default values
2023-10-22 17:51:00 +02:00
WerWolv
c51db87c34
fix: Language setting not defaulting to English anymore
2023-10-22 17:31:53 +02:00
Nik
72f2f0877d
feat: Added TCP Client/Server tool ( #1379 )
2023-10-21 22:46:45 +00:00
Nik
7fe9a768d4
impr: Rewrote entire settings API and UI ( #1378 )
2023-10-21 21:07:33 +00:00
Nik
f114239f51
feat: Added Auto Updater for Windows, macOS and Ubuntu ( #1377 )
2023-10-21 18:40:24 +00:00
WerWolv
c46e445a04
impr: Store achievement progress immediately when unlocking one
2023-10-20 13:34:45 +02:00
WerWolv
5227887dbf
impr: Added more fine-grained colors to themes
2023-10-20 12:30:21 +02:00
WerWolv
d07d36f784
fix: Loading of data processor workspaces not working correctly
2023-10-19 23:53:20 +02:00
Nik
b4ee02b725
fix: Shift right data processor node displaying shift left in its header
2023-10-19 22:48:11 +02:00
WerWolv
79e25b0889
feat: Added bitwise shift left/right data processor nodes
2023-10-19 22:08:39 +02:00
WerWolv
58870f3057
fix: File load achievement triggering every time a file was opened through the cli
2023-10-17 13:45:12 +02:00
WerWolv
8821f75e6b
impr: Display friendly disk name as the tab title of the disk provider
2023-10-17 10:22:56 +02:00
WerWolv
c49aad6cd3
impr: List all physical drives on windows in the raw disk provider
2023-10-16 23:45:46 +02:00
WerWolv
afceb34729
fix: Crash when opening invalid files through the CLI
2023-10-16 10:59:49 +02:00
paxcut
93c8a45de0
fix: Fixed spacing in bit labels so it works for any font and any size. ( #1365 )
...
Testing various fonts and sizes I realized there were still problems
with the layout of the bit labels. Also I reorganized the code so that
lambdas are defined just before they are used. Comments needed
punctuation too.
Part of the problem was that I had been assuming all along that the
check boxes were ImGui's originals which are always square. In actuality
the width is determined by the width of the character for '0'. Also
ImGui table was adding spacing to separate cells which made the boxes
not start at same place as column. Also for some reason using indent of
zero didn't work as expected but using 0.1 pixels worked. With those
problems fixed it is fairly easy to make sure the labels are centered at
the box except when the first mantissa checkbox gets a label which is
wider that the box width. Before and after show results for different
fonts.
Before:
![image](https://github.com/WerWolv/ImHex/assets/53811119/3778e6d5-6fbd-48e1-ac51-39a6636daea5 )
After:
![image](https://github.com/WerWolv/ImHex/assets/53811119/79c0f027-3119-4762-a4e3-315e84505f3b )
2023-10-15 20:07:51 +00:00
WerWolv
da1b53420f
feat: Added debug variables to aid with development
2023-10-13 23:46:48 +02:00
WerWolv
5a71cc2d61
fix: Wikipedia explainer tool randomly resetting input
2023-10-12 20:35:44 +02:00
WerWolv
b98b60a126
fix: Provider hover tooltip always showing information about current provider
2023-10-12 20:28:02 +02:00
WerWolv
929e0e64a5
fix: Achievement hovering popups showing up even when they are covered by another window
2023-10-12 20:24:02 +02:00
WerWolv
48a1e93cfe
fix: Tool windows drawing on top of the welcome screen
...
Fixes #1364
2023-10-12 15:15:05 +02:00
paxcut
081c581b8c
fix: Layout of large font labels in IEEE 745 floating point tool ( #1337 )
...
### Problem description
The issue seems to only affect the web version of ImHex but it is not
clear why. The labels of the checkboxes that represent bits in the IEEE
745 floating point tool were lay out incorrectly.
### Implementation description
The new code ensures that the bit labels are centered and located in the
middle of the checkbox regardless of the font size and the dear imgui
sized checkboxes.
2023-10-04 22:10:06 +02:00
iTrooz
d15bd4771d
feat: Support for building ImHex for the web ( #1328 )
...
Co-authored-by: WerWolv <werwolv98@gmail.com>
Co-authored-by: AnnsAnn <git@annsann.eu>
2023-10-04 12:00:32 +02:00
WerWolv
89bffbd1bc
fix: Crash when exceptions are thrown in data processor nodes
2023-09-27 14:19:08 +02:00
WerWolv
b3ef615158
feat: Allow Edit -> Jump to
to jump to little and big endian addresses
...
Closes #1324
2023-09-26 14:01:28 +02:00
WerWolv
89abc8557f
feat: Added shortcuts for the pattern debugger
2023-09-24 18:26:42 +02:00
WerWolv
181a7c5b3d
feat: Added evaluate pattern shortcut
2023-09-24 18:17:58 +02:00
WerWolv
f79e2df11a
feat: Added shortcut to switch between providers
2023-09-24 18:11:17 +02:00
paxcut
c577a42f62
impr: Refactoring of floating point tool to decrease code complexity. ( #1275 )
...
I noticed the bad score on code factor so I reorganized it to make it
more readable and maintainable. In order to break down the big function
into it much smaller parts I encapsulated all the variables that the
functions need to access in two classes, one for the imgui related
statics and the other for non-static variables.
When writing the smaller functions I was noticed that there was room to
simplify the existing algorithms by writing functions that could be
called by parts that previously shared no code. I tested the changes the
same way I tested the original and it seems to work the same way but
maybe a bit faster. Although it may be possible to further optimize the
present code code factor no longer flags the function at all.
2023-09-20 10:48:44 +02:00
Lennard Fonteijn
ad69ac84b1
feat: Added hex::group attribute and various fixes ( #1302 )
...
As discussed (many times) on Discord, does the same as the new favorite
tag, but instead allows you to add multiple groups.
Initially, this would cause some insane issues with draw/reset
(apparantly) fighting eachother in the pattern drawer. After a lot of
trial and error, I decided to rewrite the flow that is responsible for
calling reset. Now evaluating patterns is the one to decide when the
reset happens, not the core "game"-loop.
To make sure that draw and reset can never happen at the same time, the
mutex originally used for the favorites has been repurposed. Due to the
restructuring, the mutex in the favorite-task is no longer needed, as
that will only ever kick-off after reset is called and if there are
actually patterns, which can never line up to be accessed on different
threads at the same time.
Last but not least, I noticed that hard crashes could result in your
config file getting overridden. I added a check to prevent that.
Last I issue I can see is that if you use an excessive amount of
favorites/groups, a crash can still happen, but it only happens when you
close the program (occasionally, but unpredictable). Before, this would
happen if you ran the evaluation a second time. I boiled the cause of
the crash down to these lines of code in evaluator.cpp >
patternDestroyed:
```cpp
if (pattern->isPatternLocal()) {
if (auto it = this->m_patternLocalStorage.find(pattern->getHeapAddress()); it != this->m_patternLocalStorage.end()) {
auto &[key, data] = *it;
data.referenceCount--;
if (data.referenceCount == 0)
this->m_patternLocalStorage.erase(it);
} else if (!this->m_evaluated) {
err::E0001.throwError(fmt::format("Double free of variable named '{}'.", pattern->getVariableName()));
}
}
```
Specifically, trying to access the `*it` is the reason for the crash
(this was also the cause of the crashes before my fixes, but then during
evaluation).
I'm suspecting the root cause is somewhere in the `.clone` methods of
the patterns. I'd say that for now a crash when closing the program is
more acceptable than during evaluation (which can even happen if you use
favorites).
2023-09-16 13:09:59 +02:00
Imron jehleh
64a30a45d5
fix: Error popup now showing up immediately after click ( #1272 )
...
From #1265 , Looks like Error Popup doesn't handle properly in some
circumstances.
---------
Co-authored-by: iTrooz <hey@itrooz.fr>
Co-authored-by: WerWolv <werwolv98@gmail.com>
2023-09-16 13:09:24 +02:00
WerWolv
1a2a926b77
fix: "About ... that much" achievement not triggering correctly
2023-09-12 22:24:12 +02:00
WerWolv
da18428f27
fix: Highlighting not being cleared correctly in some cases
2023-09-12 22:23:47 +02:00
iTrooz
5e86f62a98
fix: Handle exceptions thrown by providers on loadSettings() ( #1307 )
2023-09-12 12:00:00 +02:00
WerWolv
1bb0a72bed
fix: Issues with various float nodes
2023-09-04 19:59:09 +02:00
WerWolv
7685a22c5f
fix: Crash when pressing delete twice when data processor nodes are selected
2023-09-04 19:58:55 +02:00
WerWolv
4ff25819c2
fix: Pasting not working correctly on non-zero pages
...
Fixes #1291
2023-09-03 16:25:51 +02:00
WerWolv
563ff5a774
fix: Future proof the previous fix
2023-09-03 16:18:29 +02:00
WerWolv
b042b8327a
fix: Crash when re-opening a custom section window while having a selection in it
2023-09-03 16:09:06 +02:00
WerWolv
971c8739ca
fix: Potential crash when preprocessing invalid pattern file when loading a file
2023-09-03 15:49:27 +02:00
WerWolv
26f4aa0d9f
fix: Buffer to integer node not working correctly
2023-09-03 15:41:00 +02:00
WerWolv
b2d1568abb
fix: First overlay being assigned to all end nodes
2023-09-03 13:44:13 +02:00
WerWolv
632f388ece
impr: Make --pl subcommand automatically register ImHex's include dirs
2023-09-03 12:25:00 +02:00
WerWolv
0bbd21f25a
fix: Build issues with older standard libraries
2023-09-03 11:44:48 +02:00
WerWolv
367c4ec9c8
impr: More view comments and refactoring
2023-09-03 10:27:03 +02:00
WerWolv
5538307838
impr: Make achievement popups stay up for longer
2023-09-03 10:26:40 +02:00
iTrooz
fc1ad592cb
feat: Adapt content store view for new API contents ( #1268 )
2023-09-02 18:36:34 +02:00
iTrooz
c2fe9f0966
fix: verify that file names queried from the store do not allow path traversal ( #1277 )
2023-09-02 17:51:21 +02:00
WerWolv
4288f876e2
impr: Added lots of comments and cleaned up many views
2023-08-29 12:14:12 +02:00
iTrooz
10ad239fb9
fix: add _lang suffix to "Load into memory" localization string ( #1267 )
2023-08-28 02:21:41 +02:00
WerWolv
550392c8d6
fix: Texture loading from romfs
2023-08-26 23:43:35 +02:00
WerWolv
ba66005585
impr: Various code cleanup
2023-08-26 12:54:52 +02:00
Justus Garbe
bfc835fc54
fix: add new capstone options and fixed overextending name array
2023-08-26 12:21:44 +02:00
iTrooz
32d6ac2241
feat: move PerProvider data to new provider when saving memory provider into file provider ( #1264 )
2023-08-26 01:47:44 +02:00
iTrooz
175e66a60e
feat: Do not save memory providers as recent entries ( #1259 )
2023-08-25 15:35:15 +02:00
WerWolv
d50fb8d17b
fix: Crash when deleting items from file combiner in some cases
2023-08-19 19:18:57 +02:00
WerWolv
e70ec10b0e
impr: Allow the file combiner tool to select multiple files at once
2023-08-19 19:11:38 +02:00
WerWolv
b4401b7df1
fix: Rest in peace, Anonfiles
2023-08-17 09:27:14 +02:00
lorsanta
84ceb45129
impr: Update timestamp when saving a file in windows ( #1248 )
...
### Problem description
Ref #1210
### Implementation description
Call
[`SetFileTime()`](https://learn.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-setfiletime )
everytime `FileProvider::save()` is called.
### Additional things
I moved the call to `File::close()` from `FileProvider::open()` to
`FileProvider::close()` because `SetFileTime()` requires a file handler
as input, so I need `File::m_file` to be valid.
2023-08-16 23:18:16 +02:00
WerWolv
8a2afd1c05
fix: Crashes when having pattern auto evaluation enabled
2023-08-16 22:26:05 +02:00
Justus Garbe
2059ad82c3
fix: Update title on project save
2023-08-13 23:36:50 +02:00
Lennard Fonteijn
c25aad552d
feat: Selectable demangler ( #1250 )
...
Supersedes #1240 - depends on #1249 and
https://github.com/WerWolv/libwolv/pull/8 to work.
2023-08-13 21:51:05 +02:00
WerWolv
65c56a887c
feat: Added option to load files into memory
2023-08-09 20:04:12 +02:00
WerWolv
882849e73c
fix: Highlighting of found elements not being cleared correctly
2023-08-09 20:01:57 +02:00
WerWolv
a6aafa8cd6
feat: Allow memory files to be renamed
2023-08-08 19:04:00 +02:00
WerWolv
ba9227c1e0
feat: Properly save memory provider data
2023-08-06 21:48:08 +02:00
Nik
e77f138514
feat: Added Achievements ( #1230 )
...
This PR adds Achievements to ImHex that serve as both a guide and a fun
way to learn more about ImHex and reverse engineering
2023-08-06 21:33:15 +02:00
WerWolv
2082781cf5
fix: Correct endianess of CRC hashes
...
Fixes #1225
2023-08-04 16:05:21 +02:00
WerWolv
79eb53eb0d
fix: --pl command line interface not working correctly
2023-08-02 20:30:13 +02:00
WerWolv
05ca498343
feat: Added Fill option to hex editor
2023-08-02 13:09:21 +02:00
WerWolv
fbd4bc337b
fix: Crash when trying to format invalid timestamps
2023-08-02 12:52:10 +02:00
WerWolv
89115bcdde
impr: Added better data processor workspace close button
2023-08-02 12:51:58 +02:00
WerWolv
bf8924ae0c
feat: Added support for string in/out variables
2023-08-02 12:51:02 +02:00
WerWolv
106e669512
feat: Added setting to remember and restore window position and size
...
Closes #1215
#944
2023-07-31 11:17:37 +02:00
WerWolv
b469e68ddb
fix: Pattern console not updating correctly
2023-07-30 21:35:31 +02:00
WerWolv
2e5a51bb05
patterns: Updated pattern language
2023-07-30 00:44:09 +02:00
WerWolv
33f0d59545
fix: Bad formatting of project open error popup
2023-07-28 00:01:49 +02:00
WerWolv
e829c407e3
fix: Writing behaving weirdly when using a custom base address
2023-07-27 02:05:35 +02:00
WerWolv
4792a29fac
fix: Crash when passing invalid parameters to sound visualizer
...
Fixes #1208
2023-07-26 22:13:39 +02:00
WerWolv
d0a5c144e6
patterns: Updated pattern language
2023-07-26 00:23:09 +02:00
WerWolv
4d4f223357
impr: Improve frame rate when lots of bytes are highlighted
2023-07-24 23:24:31 +02:00
WerWolv
a032bfa0f5
feat: Added support for hashing arbitrary strings using the string view
2023-07-24 16:58:52 +02:00
WerWolv
b8d5e1e9c5
feat: Added built-in logging console
2023-07-23 23:37:47 +02:00
WerWolv
564ae6dd8c
fix: Crash when loading bad font
2023-07-22 19:35:58 +02:00
WerWolv
8aec382440
fix: Loading of plugins and localizations after restart
2023-07-22 18:38:14 +02:00
WerWolv
a99f8f78d0
fix: Crash when trying to paste invalid data
2023-07-22 18:21:58 +02:00
WerWolv
f6bbfd7283
impr: Properly print new line characters in cli
2023-07-21 15:17:21 +02:00
WerWolv
bd8868d2c8
impr: Added better help output for cli
2023-07-21 14:28:15 +02:00
WerWolv
18dd754b31
impr: Better handling of hex editor selections
2023-07-20 20:58:28 +02:00
WerWolv
3c97759aa7
fix: Crash when trying to load files with invalid paths
2023-07-19 22:35:55 +02:00
WerWolv
b9c2955b88
fix: Use ANSI escape codes for --plugins
2023-07-17 11:59:21 +02:00
WerWolv
6d7f217e2a
patterns: Updated pattern language
2023-07-17 11:20:17 +02:00
WerWolv
a83ca3c228
feat: Added --pl and --magic command
2023-07-17 10:43:29 +02:00
WerWolv
b9ec1a150d
fix: Wrong libfmt header being included
2023-07-17 09:12:22 +02:00
WerWolv
e9450b490f
feat: Added --plugin, --calc, --hash, --encode and --decode subcommands
2023-07-16 23:46:41 +02:00
WerWolv
52c517d38d
fix: Potential crash when loading incorrect data processor node files
2023-07-16 20:41:06 +02:00
WerWolv
aac9bf3896
fix: Crash when using "Open in new View" button in bookmarks
2023-07-16 20:35:10 +02:00
Justus Garbe
1a3debd6c9
fix: Raw Disk Provider not working correctly on Linux and macOS ( #1195 )
...
<!--
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
- Fixed disk provider not working for linux
### Implementation description
- Used ioctl instead of fstat
- Fixed buffer issues
---------
Co-authored-by: WerWolv <werwolv98@gmail.com>
2023-07-16 18:18:41 +02:00
WerWolv
893b06c78b
feat: Allow hex editor editing mode to be entered when pressing Enter
2023-07-16 18:14:48 +02:00
WerWolv
c1cdab72ef
fix: Weird behaviour when trying to open a non-existing file through the command line
2023-07-15 00:12:09 +02:00
WerWolv
272b4b0cf8
feat: Added "Update All" button to content store
2023-07-11 09:19:52 +02:00
WerWolv
ce9ce42c1c
impr: Only reload localization when necessary
2023-07-09 20:24:56 +02:00
WerWolv
6343cb092b
build: Fixed include issues
2023-07-09 12:53:31 +02:00
WerWolv
2449b08f64
fix: Crash when trying to remove chunks larger than the whole file
2023-07-06 21:14:50 +02:00
WerWolv
c9c6f3aadb
fix: New visualizers behaving weirdly with large font sizes
2023-07-06 10:08:47 +02:00
WerWolv
924c816dbd
fix: Chunk size setting in information view being reset the first time
2023-07-06 00:00:56 +02:00
WerWolv
695e11477e
feat: Added single stepping feature to pattern debugger
2023-07-05 21:32:11 +02:00
iTrooz
e3ae169833
impr: Separate the behaviour of being savable and being dumpable for provider ( #1183 )
...
### Problem description
Currently, the providers use the method `isSavable()` to determine both
if they can use "Save" or "Save as".
This behaviour is problematic because some providers may need to be
saveable but not saveable as: for example the view provider. The
original provider may not allow to be saved.
### Implementation description
I separate these two behaviour by creating another function:
`isDumpable()`, that return true by default but can be overridden by the
provider to return false, if the provider should not be dumped in any
way.
### Additional things
While I was at it, I also marked "export" operations as needing the
"dumpable" flag. That way, we can't accidentally export the whole
address space of a process as base64.
I also added documentation for these some functions in Provider
2023-07-05 20:49:57 +02:00
WerWolv
b6881d2362
feat: Added timestamp visualizer
2023-07-05 19:54:18 +02:00
WerWolv
8e0349e2ac
fix: Projects failing to be loaded when another project is being unloaded
2023-07-04 23:30:37 +02:00
WerWolv
86c4c8fa96
feat: Added new pattern inline visualizers
2023-07-04 22:18:06 +02:00
WerWolv
33566137c2
impr: Allow bitmap visualizers to be zoomed
2023-07-04 22:17:51 +02:00
WerWolv
f16bbfb469
feat: Added coordinates visualizer
2023-07-04 09:40:05 +02:00
WerWolv
b265d8e54a
build: Restructure romfs assets
2023-07-04 08:42:33 +02:00
WerWolv
6a667d9493
impr: Allow image visualizer image to be scaled
2023-07-03 21:24:36 +02:00
WerWolv
d297b2d1cc
impr: Hide sections with an empty name
2023-07-03 12:04:20 +02:00
WerWolv
39e74c627e
impr: Handle unidentifiable data in the data information view better
2023-07-02 10:27:56 +02:00
WerWolv
a0c89858ed
patterns: Don't re-evaluate format functions during highlighting
2023-07-01 14:06:15 +02:00
iTrooz
c6c3ca4d26
fix: Reset terminate handler directly when being called + some other crashes to crash handling ( #1174 )
...
This PR fixes some things about crash handling:
- when the terminate handler is called, immediately set it back to the
original one, so can't make a recursion if the crash-handling code fails
- Only save projects if the crash occured after Imhex finished startup
- do not update the project location when saving the crash backup file:
this will remove problems when `EventAbnormalTermination` is called
before `crashCallback()`
I also added a bit more documentation
2023-07-01 12:32:28 +02:00
WerWolv
301418c728
fix: Bookmarks not being loaded correctly when multiple providers are in project
2023-07-01 12:27:59 +02:00
iTrooz
aec38328d0
impr: Added "Hold SHIFT for more info" text to provider tooltip ( #1171 )
...
As discussed on discord
2023-06-30 22:28:37 +02:00
WerWolv
050a71913a
impr: Improved construction of language settings dropdown
2023-06-30 14:00:10 +02:00
WerWolv
8cc6994dd0
fix: Properly apply UI scaling on launch
2023-06-30 13:40:39 +02:00
WerWolv
bc98556897
impr: Automatically scroll pattern console to the bottom when new lines are added
2023-06-30 00:11:48 +02:00
WerWolv
4f08ba3590
patterns: Fixed race condition when evaluating patterns
2023-06-30 00:11:26 +02:00
WerWolv
d527675bda
build: Make sure changing commit hash doesn't trigger a full rebuild
...
Closes #1137
2023-06-26 14:01:45 +02:00
WerWolv
15cd2b693c
fix: Crash when using paste without a valid selection
2023-06-26 11:14:10 +02:00
WerWolv
e03c91b888
impr: Better UI for all data information diagrams
2023-06-26 10:51:37 +02:00
WerWolv
9282f1fe75
fix: Multiwindow support not being disabled by default on Linux
2023-06-26 09:02:23 +02:00
WerWolv
af147b4f54
fix: Titlebar button localization keys still being inside the windows plugin
2023-06-26 08:54:30 +02:00
WerWolv
c280b16787
fix: Make disassembler view not clear selection when typing in region
2023-06-24 20:53:36 +02:00
WerWolv
c1babc2a55
fix: Prevent data inspector table from being scrollable
2023-06-24 15:39:19 +02:00
WerWolv
ade05f8e12
impr: Only load a limited subset of unicode characters by default
2023-06-24 10:58:42 +02:00
WerWolv
1e9cc97263
feat: Added scope selector dropdown to pattern debugger
2023-06-24 00:49:43 +02:00
WerWolv
a7ecefb5a0
fix: Don't load constants files that start with a _
2023-06-23 21:39:39 +02:00
iTrooz
b7d8e46288
feat: Display detailed error message when loading of project fails ( #1135 )
...
In order to do this I add to make some other additions :
- Add a warning popup (TODO, maybe add some icons to differentiate
error/warning popups in a future PR ?)
- create showError() and showWarning() functions, as helpers to show a
message both to the logs and as a popup
2023-06-21 20:07:36 +02:00
WerWolv
9cd19063da
fix: Occasional crashes when evaluating patterns
2023-06-21 10:30:00 +02:00
WerWolv
0da87cdb68
patterns: Updated pattern language
2023-06-21 09:29:40 +02:00
Nik
f703b15165
feat: Added statistics and crash log uploading ( #1149 )
...
Co-authored-by: Justus Garbe <gihihoh@gmail.com>
2023-06-20 11:55:56 +02:00
WerWolv
5f6bc2507c
impr: Make ImHex not use lots of CPU when waiting for conditions
2023-06-18 10:18:58 +02:00
WerWolv
c2e023f567
fix: Pattern editor console scrolling back to the top constantly
2023-06-16 22:17:01 +02:00
WerWolv
90a576c3c7
fix: Highlighting and updating of the new console not working well
2023-06-14 10:35:23 +02:00
WerWolv
0e5371b298
fix: Properly handle multithreading for new pattern console
2023-06-14 06:57:43 +02:00
WerWolv
dd832bfa7e
ui: Make pattern editor console use another text editor
2023-06-13 22:58:57 +02:00
WerWolv
3b514003f8
fix: Pattern editor drag bar not always getting dragged correctly
2023-06-12 08:55:30 +02:00
WerWolv
7de367a944
impr: Properly allow multi-threaded logging without messing up output
2023-06-12 08:24:36 +02:00
WerWolv
ef1d831158
impr: Better UI/UX of the new debugger
2023-06-11 22:00:49 +02:00
WerWolv
da137b3e3b
feat: Allow pattern editor console to be resized
2023-06-11 21:41:24 +02:00
WerWolv
03673b5846
feat: Added basic Pattern Language debugger
2023-06-11 21:41:11 +02:00
WerWolv
34732a1ee7
fix: Corrected some memory leaks
2023-06-11 10:47:17 +02:00
WerWolv
ef9cb31204
patterns: Updated pattern language
2023-06-11 00:08:34 +02:00
WerWolv
e90e414d5a
impr: Show infinity icon in pattern editor view when pattern limit is disabled
2023-06-10 15:09:20 +02:00
WerWolv
a485a0bc3a
fix: Crash when loading files in some cases
2023-06-08 17:02:28 +02:00
WerWolv
903d1fb555
impr: Analyze file content of newly loaded files only when they are selected
2023-06-08 17:02:16 +02:00
WerWolv
99831a66a7
feat: Added file handlers for .hexlyt and .hexproj files
2023-06-06 21:35:13 +02:00
WerWolv
1e2cf87532
fix: Properly clear pattern editor when all providers are closed
2023-06-06 10:36:02 +02:00
Sergei Rebrov
b4ac46f719
impr: Set currently selected address in selection popup ( #1125 )
...
Set the Begin field to the current selected address
2023-06-06 08:22:10 +02:00
WerWolv
44bbbb03af
fix: Various pattern visualizer issues
...
Closes #1119
2023-06-06 08:20:58 +02:00
WerWolv
c690f7627f
fix: Bad sentence wrapping in advanced provider information popup
2023-06-05 15:36:47 +02:00
WerWolv
849e4ea370
feat: Make paths in about page clickable
2023-06-05 13:50:55 +02:00
WerWolv
9712329924
feat: Added pattern export option to pattern data view
2023-06-05 11:57:26 +02:00
WerWolv
59aa52e744
patterns: Allow console log to be printed immediately and from format functions
2023-06-05 09:45:25 +02:00
WerWolv
7c23b215ba
impr: Allow detached tools to always be rendered
2023-06-05 09:08:41 +02:00
WerWolv
ae48ae659b
impr: Move various settings from settings window to hex editor and pattern data view
2023-06-05 09:07:58 +02:00
WerWolv
e78c21cbfb
impr: Use better icons for favorites and filter text boxes
2023-06-04 22:52:36 +02:00
WerWolv
07aabe8efa
impr: Improved types used in provider functions
2023-06-04 10:42:11 +02:00
iTrooz
25476d4e1e
build: Update ImGui and its dependencies ( #1122 )
...
This PR updates imgui and its dependencies from the last time, ~1 year
ago
(deabacbd50
)
Commits will be refactored before merging
Things you might ask :
- why did you remove `ImGui_ImplGlfw_SetBorderlessWindowMode()` ?
-> Where is it used ? The only usage of it I see is commented
(cb9a3b1f55/lib/external/imgui/source/imgui_impl_glfw.cpp (L757)
)
- why did you remove the implot anti aliasing flag ?
-> They.. seem to have removed it altogether ?
https://github.com/epezent/implot/issues/479
2023-06-04 00:09:45 +02:00
WerWolv
de76c37ffb
fix: Multiple file provider resize issues
2023-06-03 23:57:41 +02:00
WerWolv
6d19b33e32
fix: Don't require providers to be writable to save a project
2023-06-03 23:18:43 +02:00
WerWolv
aca949175d
impr: Disable advanced provider information popup if there are none
2023-06-03 15:57:47 +02:00
WerWolv
d2e455c4cb
fix: Intel hex provider not displaying data correctly
2023-06-03 15:53:55 +02:00
WerWolv
09dda0bc5e
feat: Added provider information to advanced provider tab tooltip
2023-06-02 14:44:19 +02:00
WerWolv
62ecfb0e0e
fix: Make sure crash backup doesn't end up in recents list
2023-06-02 11:03:44 +02:00
WerWolv
504c022f01
patterns: Added hex_viewer visualizer
2023-06-02 10:47:23 +02:00
WerWolv
8d8a5a70f3
fix: Find view replace and hex editor paste logic being wrong
2023-05-28 14:30:33 +02:00
WerWolv
c8c3f5e753
feat: Added primitive replace feature to find view
2023-05-28 11:50:10 +02:00
iTrooz
ea756e620e
fix: Explicitely convert std::fs::path to std::string ( #1116 )
...
This should fix the current crash when opening a project on Windows
2023-05-28 11:36:08 +02:00
iTrooz
e599d31625
fix: Properly Check if crash.json has valid json, remove it otherwise ( #1117 )
2023-05-28 11:35:51 +02:00
iTrooz
e578127f67
feat: Save opened projects as recent entries ( #1105 )
...
This PR does two things :
- save opened projects as recent entries
- refactor stuff about recent entries in a separate file. The reason is
that I felt like welcome_screen.cpp was really big ( 685 lines before
this, 500 now). What do you think ?
---------
Co-authored-by: Nik <werwolv98@gmail.com>
2023-05-27 16:59:30 +02:00
paxcut
950760691c
fix: 3D Visualizer calculating normals incorrectly ( #1108 )
2023-05-26 09:01:16 +02:00
iTrooz
ee94870e83
fix: Do not loop over 'END' ImHexPath ( #1098 )
...
Really small issue, in Help->About->Imhex directories, there would be an
extra entry at the end because you seemed to loop over the
fs::ImHexPath::END entry
2023-05-25 09:27:10 +02:00
iTrooz
d2638c4f27
feat: Display titlebar buttons when not running borderless ( #1099 )
...
Tested on Linux (non-borderless) and Windows (borderless)
You may want to also test it just to be sure
2023-05-25 09:26:40 +02:00
WerWolv
26eac61ddf
feat: Allow themes to set the background blur color
2023-05-24 21:05:14 +02:00
WerWolv
0e3da22c76
feat: Added support for changing the page size
2023-05-23 11:34:30 +02:00
WerWolv
e32fc639c2
fix: Turning off blur again not working
2023-05-22 13:25:11 +02:00
iTrooz
7ce0613977
impr: Added better crash backup and restore mechanism ( #1094 )
...
- Add a new file 'crash.json' to store metadata about the crash, like
the log file or project opened
- show the log file of the session that caused the crash to the user
- Correctly restore the project path
2023-05-22 13:24:48 +02:00
iTrooz
91635346be
feat: Allow to remove recent providers with right click ( #1085 )
...
![image](https://github.com/WerWolv/ImHex/assets/42669835/648d2c8f-6518-4989-bc92-808898cb0f87 )
2023-05-22 13:22:18 +02:00
WerWolv
f81276f7e3
feat: Added support for transparent and blurry window styles
2023-05-22 12:00:35 +02:00
WerWolv
6b28828174
fix: Prevent horizontal scroll on welcome screen
2023-05-22 10:37:30 +02:00
WerWolv
2191eb14ae
impr: Cleanup hashes view a bit
2023-05-22 09:58:56 +02:00
WerWolv
e7b51a56a5
feat: Added support for automatically loading patterns using binary pattern magic
2023-05-22 00:01:58 +02:00
iTrooz
5666a5c5fb
feat: Added context menu with right-clicking on file provider ( #1084 )
...
Co-authored-by: Nik <werwolv98@gmail.com>
2023-05-21 13:21:53 +02:00
WerWolv
1b88b3704d
feat: Allow layouts to be deleted again
2023-05-21 10:43:35 +02:00
WerWolv
6dbaac4283
impr: Make sure hex editor popups have their input focused
2023-05-21 10:35:14 +02:00
WerWolv
87621e9337
impr: Disable some Import...
options when the provider isn't writable
2023-05-20 21:23:15 +02:00
WerWolv
3219ba68de
impr: Better layout of ImHex subtitle on welcome screen
2023-05-20 21:20:32 +02:00
WerWolv
5d608603cb
fix: Selection in diff view being retained
2023-05-20 21:13:40 +02:00
WerWolv
11f55a7561
fix: File handles not being closed correctly
2023-05-20 18:07:15 +02:00
KOLANICH
608c9e2e7a
fix: WASM disassembler not being available in Capstone < 5 ( #1086 )
...
This fixes build on Debian with Capstone from packages.
2023-05-20 13:37:45 +02:00
WerWolv
3cb8e37182
fix: Broken file open logic
...
Closes #1090
2023-05-20 11:52:24 +02:00
paxcut
3e4c4430d5
feat: Greatly improved the IEEE754 tool ( #1047 )
...
I just realized one feature request existed about this tool and have
added a comment to it referring this pr. Errors and additions are
described in the fork commit already. I'm not sure if I should repeat
them here again. I have tested the changes thoroughly, but it is always
possible some fringe case was not tested and is incorrect. The tests
were done using the many similar online calculators for IEEE 754
floating point formats.
IEEE 745 floating point tool redesign modeled after 'float toy' web app
(http://evanw.github.io/float-toy/ )
Streamlined output using colors and compact layout which can be further
simplified.
Chosen display mode (detailed or simplified) is automatically saved and
set on new sessions.
Edit the binary bits, the integer hexadecimal or the floating point
decimal values and the entire app will update with the change.
Supports the main IEEE745 standard formats (half, single and double
precision) together with custom formats of size <= 64 bits.
Each format choice uses and displays the number of significant decimal
digits defined by the mantissa size.
Added labels to identify the location of each bit box inside the binary
representation.
Satisfies round trip / idempotent (reproducing) conversion property
Added theme colors, radio buttons for display mode and a clear button
that resets the tool.
Removed previously and incorrectly added locale translation to various
labels and languages
Attempted to adhere to code style formatting using existing code as
example.
An effort was made to use preferred variable types and functions from
std namespace when appropriate.
Attempted to document code using comments.
Not implemented / left to complete at an later time
Arbitrary width and precision formats.
Extended precision formats.
Shortest string property.
hexadecimal floating point display and conversions.
2023-05-19 21:18:38 +02:00
WerWolv
4ad66365d0
fix: Crash when saving patches
...
Fixes #1077
2023-05-19 20:01:42 +02:00
WerWolv
0f9434740f
fix: Crash when deleting last environment variable in pattern editor
2023-05-19 17:15:37 +02:00
Justus Garbe
5ef58cdf76
feat: Added bit and byte reverse and bit display data processor nodes ( #1082 )
...
#1081
2023-05-18 10:25:59 +02:00
WerWolv
a5b0a8614a
impr: Automatically re-evaluate pattern when changing provider and code sync is on
...
Closes #1078
2023-05-16 14:45:04 +02:00
WerWolv
e28f2dfea1
fix: Only 5 patterns per byte being highlighted
...
Fixes #1076
2023-05-16 14:41:02 +02:00
WerWolv
0dcfeaefb3
fix: Build when git commit hash or branch is not available
2023-05-16 12:02:17 +02:00
WerWolv
3bd4a3ba8b
impr: Better JSON error handling in many places
2023-05-16 11:33:00 +02:00
WerWolv
7e9b23de7d
impr: Improve network interface error handling
2023-05-16 11:20:46 +02:00
WerWolv
a758676b0d
fix: Change network interface port to 31337
2023-05-16 11:01:59 +02:00
WerWolv
636ed0095d
feat: Added new imhex/capabilities
network interface
2023-05-16 11:01:40 +02:00
WerWolv
c006062540
feat: Added basic network interface support
2023-05-15 11:30:24 +02:00
WerWolv
e685d65be8
fix: Scrolling not working correctly on welcome screen
...
Fixes #1071
2023-05-15 08:33:35 +02:00
WerWolv
c50d52d0a6
fix: Crash when reading from modified bytes
2023-05-14 22:46:19 +02:00
WerWolv
2b765617ce
impr: Disallow saving pattern files if they're empty
2023-05-14 22:24:16 +02:00
WerWolv
d96fc6d41b
fix: Compilation on macOS
2023-05-14 21:50:58 +02:00
WerWolv
f40b5d9811
fix: Search button in numeric find option being active by default
2023-05-13 17:51:16 +02:00
WerWolv
d00fae03a9
fix: Diff table not being cleared when closing providers
2023-05-13 17:50:33 +02:00
WerWolv
3c4e1b2f27
impr: Various cleanup
2023-05-13 17:50:16 +02:00
WerWolv
6709baa710
patterns: Updated pattern language
2023-05-13 15:43:37 +02:00
WerWolv
aa1bf0b764
impr: Make about page resizable
2023-05-13 12:26:13 +02:00
WerWolv
a7327290ea
fix: Only save custom encoding to project file when necessary
2023-05-13 11:17:27 +02:00
WerWolv
857e90a37b
fix: ImHex freezing when evaluating patterns
2023-05-13 11:12:38 +02:00
WerWolv
aaeebd3fe9
fix: Various pattern execution race conditions
2023-05-12 15:46:13 +02:00
WerWolv
21d922113d
impr: Make sure to clear selections when all providers are deleted
2023-05-12 08:38:52 +02:00
WerWolv
b0876e1c35
impr: Move some options into a new Extras menu
2023-05-12 08:38:32 +02:00
WerWolv
18bc5de169
fix: Copy-as options not being disabled correctly
2023-05-12 08:38:07 +02:00
WerWolv
0649e0dcd3
impr: Clean up old layout stuff
2023-05-11 23:21:52 +02:00
WerWolv
ceeaca1a4b
feat: Added layout manager to save and restore custom layouts
2023-05-11 18:44:50 +02:00
WerWolv
2da89f4b9b
fix: Position of restore layout button being wrong with different scalings
2023-05-11 18:44:33 +02:00
iTrooz
2e73d74cea
impr: Open .hexproj files as projects when opened though the Open File option ( #1061 )
2023-05-11 12:38:22 +02:00
WerWolv
8f07f0f8ae
impr: Better look and feel of the welcome screen close button
2023-05-11 12:00:45 +02:00
iTrooz
b0ab8698ec
fix: Loading data processor nodes from project thowing errors ( #1065 )
...
This will correct the errors `cannot use operator[] with a string
argument with string[..]` when loading a project
2023-05-11 09:57:29 +02:00
WerWolv
50c3cf8272
build: Replace old interval tree in favour of custom libwolv one
2023-05-11 09:27:23 +02:00
WerWolv
5a6e5d2255
build: Switch to better interval tree implementation
2023-05-07 23:27:43 +02:00
classabbyamp
82f5900759
build: Added option to disable update checking ( #1036 )
...
This is aimed at use by linux distros, where package updates come from a
central location, and users shouldn't need to worry about updating ImHex
on their own. This disables parts of the ImHex UI that would not be
useful in that case.
Tested and confirmed that this works in both states of the of the
`-DIMHEX_DISABLE_UPDATE_CHECK` switch.
2023-05-05 22:03:45 +02:00
iTrooz
e44eb2aa8e
impr: Added more documentation to libimhex ( #1052 )
...
This PR adds some documentation. It's actually pretty random, I followed
the function calls I was curious about and commented whenever I wasn't
sure/I thought it needed clarification
You might want to make sure to squash them, because the commits are kind
of a mess, I didn't went through the effort of interactive rebase
2023-05-05 22:02:18 +02:00
iTrooz
34e12e2515
feat: Added a button to restore default layout when there are no views open ( #1053 )
...
Co-authored-by: Nik <werwolv98@gmail.com>
2023-05-05 22:00:17 +02:00
WerWolv
5680b90549
fix: Project files failing to save when no custom encoding is loaded
2023-05-04 23:23:44 +02:00
WerWolv
bec655a8c6
impr: Added event logging in debug mode
2023-05-02 20:35:30 +02:00
WerWolv
0c8b3e31e7
fix: Dangerous function call popup not showing up
2023-05-02 20:34:37 +02:00
iTrooz
13a3942f8f
impr: Show an error message when ImHex can't open a file ( #1050 )
...
This PR does two correlated things:
- Show a generic error message (Failed to open provider) rather than a
file-specific message (Failed to open file) when a provider fails to
open
- Set the error to something more specific when opening a file fails
2023-04-30 18:37:22 +02:00
WerWolv
1e39f4354f
fix: Provider reader being broken
2023-04-20 13:46:44 +02:00
WerWolv
8245f3d4c9
build: Updated libwolv
2023-04-19 21:56:34 +02:00
WerWolv
6c122e5fbe
patterns: Updated to new API
2023-04-18 10:06:47 +02:00
WerWolv
7ae814f7fb
fix: Various localization issues
2023-04-17 22:18:50 +02:00
WerWolv
04a5efc7a3
fix: Crash when evaluating patterns to quickly
2023-04-17 17:02:10 +02:00
WerWolv
99a736df27
impr: Replace horrible pattern extra data class with a more modular system
2023-04-17 16:18:48 +02:00
WerWolv
c32515bc44
impr: Clean up some more clang-tidy issues
2023-04-16 22:12:35 +02:00
WerWolv
1690cd2740
fix: Various issues with the new popup system
2023-04-16 21:34:29 +02:00
WerWolv
52925c99e8
impr: Default to monitor synchronized FPS limit
2023-04-13 17:12:40 +02:00
WerWolv
18d5fd5d3e
fix: Commit link in about page not working correctly
2023-04-13 16:10:55 +02:00
WerWolv
2829bf2640
fix: New lines appearing in pattern editor when switching provider
2023-04-13 15:03:50 +02:00
WerWolv
ffafb05d3d
fix: Providers with the same name not being selectable in diff view
...
Fixes #1034
2023-04-13 15:03:14 +02:00
WerWolv
cf72b5ec5c
fix: Some shortcuts triggering twice
2023-04-12 19:50:03 +02:00
WerWolv
803b99f2a9
impr: Immensely improve provider read speeds
2023-04-12 19:21:48 +02:00
WerWolv
aa7c5422c0
fix: Make sure provider data is properly cleared when deleting provider
2023-04-11 15:26:18 +02:00
WerWolv
349b5da810
fix: Prevent constants view from growing past the size of the screen
...
Fixes #1025
2023-04-10 21:30:27 +02:00
WerWolv
e7494be5e7
fix: Last line of patterns going missing in projects with multiple files
...
Fixes #1012
2023-04-10 16:50:23 +02:00
WerWolv
87d0aae608
feat: Added selection range radio button to various views
...
Closes #1024
2023-04-10 14:08:21 +02:00
WerWolv
dc77d81e1b
feat: Added documentation helper AI
2023-04-10 01:42:53 +02:00
WerWolv
00c9a92977
fix: Localization being broken in the content store
2023-04-10 01:42:28 +02:00
WerWolv
f9a08f5c11
feat: Allow custom alignment to be used in binary sequence search
2023-04-09 15:28:31 +02:00
WerWolv
70f3014390
fix: Some more popup rendering issues
2023-04-08 23:34:46 +02:00
WerWolv
cb5d197700
impr: Added tooltips to icon buttons in bookmarks view
2023-04-08 21:07:41 +02:00
WerWolv
78e66f8959
feat: Added non-ranged and aligned search to sequence and value finder
2023-04-08 20:59:33 +02:00
WerWolv
f562260e42
fix: Build error again
2023-04-08 12:30:38 +02:00
WerWolv
21f38974a8
impr: Use smart pointers to allocate Views
2023-04-08 12:08:45 +02:00
WerWolv
6913598de4
fix: Build error
2023-04-08 11:58:12 +02:00
WerWolv
80edaea392
impr: Update all of ImHex to the new popup system
2023-04-08 00:58:53 +02:00
WerWolv
51e615095e
fix: Make sure placing a type through the Edit menu re-evaluates the pattern
2023-04-06 23:01:45 +02:00
WerWolv
248b93f41a
patterns: Updated pattern language
2023-04-06 19:23:16 +02:00
WerWolv
c73f33aac2
impr: Added various new events
2023-04-06 17:36:28 +02:00
WerWolv
5f713882d4
fix: Occasional crash when loading project files
2023-04-06 12:44:25 +02:00
WerWolv
1698f1599b
impr: Allow file chooser to open files using double click
2023-04-05 18:33:05 +02:00
WerWolv
24e584c77b
fix: Crash when trying to place pattern language variable through the Edit menu
...
Fixes #1013
2023-04-05 18:29:30 +02:00