WerWolv
4ad66365d0
fix: Crash when saving patches
...
Fixes #1077
2023-05-19 20:01:42 +02:00
WerWolv
3bd4a3ba8b
impr: Better JSON error handling in many places
2023-05-16 11:33:00 +02:00
WerWolv
c50d52d0a6
fix: Crash when reading from modified bytes
2023-05-14 22:46:19 +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
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
8245f3d4c9
build: Updated libwolv
2023-04-19 21:56:34 +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
c73f33aac2
impr: Added various new events
2023-04-06 17:36:28 +02:00
Thomas
af18ca011b
fix: Modified bytes visually reverting back after saving ( #1003 )
...
Fix #988
Co-authored-by: Nik <werwolv98@gmail.com>
2023-04-01 11:18:03 +02:00
WerWolv
d6cda43618
fix: Modified bytes visually reverting back after saving
2023-03-31 19:18:31 +02:00
WerWolv
6a9f79628e
impr: Don't try to apply patches if there are none
2023-03-26 12:48:22 +02:00
WerWolv
15be24db62
sys: Updated to use the new HttpRequest helper instead of Net
2023-03-23 11:23:07 +01:00
WerWolv
be16b66ac0
fix: Make sure files don't get truncated when using Save As on itself
...
Fixes #987
2023-03-21 15:42:10 +01:00
Thomas
8731b7582b
impr: Display a more detailed errors when opening a raw disk provider failed ( #970 )
...
PR title is self explaining
I may modify other providers implementations to display a detailed error
message later
I'm not sure how to deal with other locales because the format changed.
Before, I had to add and comment the key in all locale files, now I'm
not so sure.
2023-03-21 10:33:00 +01:00
WerWolv
060ff56f9d
impr: Improve file reading performance if opening of files is slow
2023-03-21 09:47:42 +01:00
WerWolv
1f8645fd43
fix: Occasional crash when multiple threads are reading data from a file provider
2023-03-17 11:43:50 +01:00
WerWolv
f10fb56042
impr: Drastically improve file reading performance
2023-03-17 11:31:50 +01:00
WerWolv
5097a223e3
impr: Added default saveAs implementation for all providers
2023-03-17 08:15:43 +01:00
WerWolv
7cdba75bef
fix: Crash when not making a valid selection in provider load interfaces
2023-03-16 16:48:15 +01:00
WerWolv
fb2e668589
sys: Moved more functions to libwolv
2023-03-12 18:43:05 +01:00
WerWolv
0dafb3d230
sys: Replaced many helper functions with libwolv
2023-03-12 18:27:33 +01:00
WerWolv
f661f4d1d6
fix: GDB provider not working nicely anymore
2023-03-07 16:04:04 +01:00
WerWolv
bf8089dc7e
impr: Don't memory map files, never keep a write handle open for long
...
Closes #592
2023-02-17 10:26:09 +01:00
WerWolv
6b645192d4
fix: Diff view highlighting issues
2023-01-30 10:26:37 +01:00
WerWolv
d928325fdf
fix: Loading of Intel Hex and Motorola SREC files with new lines inbetween
...
Fixes #906
2023-01-26 11:06:00 +01:00
WerWolv
cf9df6e36d
feat: Added ability to query provider information from pattern language
2023-01-24 09:07:11 +01:00
WerWolv
c5d2739a39
fix: File provider sometimes not saving path to project file
2023-01-19 11:09:24 +01:00
WerWolv
25ede7ad18
fix: List all intel hex and motorola srec file extensions manually
...
Fixes #871
2023-01-12 08:20:15 +01:00
WerWolv
03d216f116
feat: Allow most resources to be loaded relative to the current project
2023-01-11 23:31:25 +01:00
WerWolv
c194588118
fix: File Provider adding zero bytes at the end of the data when saving
...
Fixes #835
2022-11-25 10:02:55 +01:00
WerWolv
5bbc2fd94c
feat: Added basic UI for the new pl section system
2022-11-07 00:04:47 +01:00
WerWolv
6a8611d98d
ux: Make New File command create a new file in memory
...
Closes #792
2022-10-21 12:01:28 +02:00
WerWolv
5d979da3e2
fix: Modified bytes on pages after the first one always displaying 0x00
...
Fixed #782
2022-10-13 21:23:26 +02:00
WerWolv
b80517ab15
sys: Improved UTF-8 path handling in various places
...
Fixes #768
2022-10-04 09:10:58 +02:00
WerWolv
accd554600
sys: Reduce compile time on Windows a bit
2022-10-02 20:35:38 +02:00
WerWolv
d021e2b362
fix: Make sure correct close function gets called
2022-09-28 15:02:55 +02:00
WerWolv
ceaf80a186
sys: Don't keep files open in File Provider
...
Closes #752
2022-09-26 11:49:35 +02:00
WerWolv
4e5d56e2c0
fix: Files opened by the file provider appearing locked for other applications
2022-09-19 23:07:44 +02:00
WerWolv
3a1c0f8d66
fix: Disk provider slowing down loading of ImHex
2022-09-11 21:06:15 +02:00
WerWolv
d9a47fe815
fix: Crashes when resizing file
...
Fixes #721
2022-09-04 11:16:24 +02:00
WerWolv
7ef11f566b
fix: Crash when resizing a non-writable provider
...
Fixes #704
2022-09-03 23:08:40 +02:00
WerWolv
55b877d5e0
fix: Region validity check not working correctly with non-zero base address
...
Fixes #683
2022-08-17 16:28:44 +02:00
WerWolv
78785ddc3c
fix: More provider display issues
2022-08-14 14:45:18 +02:00
WerWolv
85f0e04d0e
feat: Allow recents to also display other providers
2022-08-14 10:07:45 +02:00
WerWolv
440ba3823e
fix: Hex editor displaying ?? for every byte after editing
2022-08-14 09:38:38 +02:00
WerWolv
b580691871
feat: Added Intel Hex and Motorola SREC provider ( #670 )
...
* feat: Initial implementation of an Intel Hex provider
* fix: Reading of bytes from intel hex files
* lang: Added localization for new provider
* ui: Only show file name in intel hex provider name
* feat: Added Motorola SREC provider
2022-08-12 15:11:27 +02:00
WerWolv
966f3b8597
sys: Replace existing bad project system with a much better one ( #663 )
...
* sys: Initial effort to replace existing project files with a better system
* sys: Added back marking provider as dirty
* sys: Remove git commit information from project files
* sys: Format data processor save file nicely
* fix: Automatic pattern loading not working correctly
* ui: Added warning popup when closing a provider with modifications
Closes #604
* sys: Fixed build issues
* tests: Removed useless debug logs
* patterns: Updated pattern language
* sys: Added log message when crashing with a signal
* sys: Make sure abnormal termination handlers are being called more reliably
2022-08-08 21:23:52 +02:00
Polshakov Dmitry
662d80abea
feat: Add ability to remove bytes ( #531 )
...
Co-authored-by: Dmitry Polshakov <dmitry.polshakov@dsr-corporation.com>
2022-06-17 14:21:56 +02:00
WerWolv
c4b7d89713
fix: Random build errors with GCC 12.1.0
2022-05-17 20:46:42 +02:00
Lukas Cone
202a02af10
fix: Crash on linux when opened file gets modified ( #487 )
2022-04-17 23:07:14 +02:00
WerWolv
17383083fb
patterns: Use standalone pattern language library instead of built-in one
2022-04-17 16:57:30 +02:00
WerWolv
0462cc3d0c
sys: Enable -Wall, -Wextra, -Werror and fix all warnings on all Platforms ( #483 )
...
* sys: Make ImHex compile with -Wall -Wextra -Werror
* sys: Fixed various build errors on Linux
* sys: Explicitly ignore return value of `system` function
* sys: More fixes for the warnings GitHub Actions enables somehow
* sys: More fixes
* sys: Remove -Werror again to see all GitHub Actions warnings
* sys: Hopefully fixed all remaining warnings
* sys: Added back -Werror
* git: Change windows icon in GitHub Actions
2022-03-27 00:01:28 +01:00
WerWolv
a807dc81a0
ui: Fixed displaying of file stat times in information view
2022-03-26 17:18:40 +01:00
WerWolv
f39ec58435
ui: Use pretty hexadecimal input fields in more places
2022-03-25 21:07:41 +01:00
WerWolv
2739320f10
sys: Refactor of filesystem functions. Fixed crashes where fs errors weren't caught correctly
...
Addresses the crash mentioned in #462
2022-03-04 11:36:37 +01:00
WerWolv
483ba95d80
fix: Some text boxes not being writable
2022-03-03 09:24:09 +01:00
WerWolv
174cf3ed95
fix: Crash when entering too much text in various text boxes
2022-03-01 16:12:00 +01:00
WerWolv
66d1b3fd2f
patterns: Huge refactor of Pattern Language runtime to use smart pointers ( #458 )
...
* patterns: Initial work to refactor pattern language to use smart pointers
* patterns: Fixed remaining issues, moved patterns to unique files
* sys: Added missing includes for macOS
2022-02-27 23:25:39 +01:00
WerWolv
227040f82f
fix: Undo points not being created correctly
2022-02-15 21:50:02 +01:00
Bigfoot
2f61a91459
Prevent crash when opening a file w/o read access ( #437 )
2022-02-13 01:05:19 +01:00
WerWolv
876dbe8179
sys: Final cleanup to get rid of everything builtin in the main application
2022-02-02 00:36:09 +01:00
WerWolv
ce59226909
sys: Reformat all
2022-02-01 22:09:44 +01:00
WerWolv
1991afb87b
sys: Get rid of SharedData struct and cleanup code structure ( #411 )
...
* sys: Initial refactoring of the SharedData class
* sys/pattern: More refactoring, make every provider have its own patterns
* sys: Finished up refactoring. No more SharedData!
* sys: Fixed compile on Unix
* tests: Fixed unit tests
* sys: Moved view and lang files
* pattern: Added assignment operator support to for loops
* tests: Fixed compile issue
2022-02-01 18:09:40 +01:00
WerWolv
dd572ba024
sys: Return std::nullopt instead of {} for empty optional values
2022-01-30 12:43:43 +01:00
WerWolv
0e08b0226b
sys: Added clang-format file, formatted entire project
2022-01-24 20:53:17 +01:00
WerWolv
9ddd97a6eb
provider: Added insert bytes feature
2022-01-20 23:24:26 +01:00
WerWolv
a5a1ae6725
fix: Providers not compiling on Unix
2022-01-16 02:29:25 +01:00
WerWolv
a70ece7b9c
sys: Bunch of cleanup, use fs::path instead of std::string for paths
2022-01-16 01:51:31 +01:00
WerWolv
bcbda85a40
fix: Compiling of time functions on Unix
2022-01-15 15:03:15 +01:00
WerWolv
abac42826c
fix: Many security and format issues
2022-01-15 14:14:53 +01:00
WerWolv
c88d428fb5
sys: std::filesystem -> fs
2022-01-13 14:33:30 +01:00
WerWolv
6ada7885b1
fix: Opening files as read-only if user doesn't have permissions
2022-01-09 21:57:43 +01:00
WerWolv
7c2e060a5f
fix: Provider reading from invalid addresses on later pages
...
This fixes #384
2021-12-23 15:57:22 +01:00
qxxxb
28e51309cc
Fix saving files ( #382 )
2021-12-22 13:36:26 +01:00
WerWolv
f325d50ab8
yara: Actually fixed reading data
2021-12-15 22:52:35 +01:00
WerWolv
e25d98ef63
provider: Fixed opening zero sized files
2021-12-14 20:16:00 +01:00
WerWolv
9bf9788689
fix: Error when opening a file
2021-12-12 21:46:48 +01:00
WerWolv
b372d20ab0
fix: Missing includes on Linux and Mac
2021-12-12 13:42:01 +01:00
WerWolv
1a0b0e2385
provider: Automatically load available disks on windows
2021-12-12 11:56:26 +01:00
WerWolv
443dedd832
ui/lang: Improved localization and interface glitches of GDB provider ui
2021-12-12 11:55:38 +01:00
WerWolv
883207bc6b
fix: Compile on MacOS
2021-12-12 01:06:24 +01:00
WerWolv
8a36897fd9
provider: Added raw disk provider
2021-12-12 00:42:12 +01:00
WerWolv
3e736b36b6
api: Refactored providers to allow for loading interfaces and config views
2021-12-12 00:41:44 +01:00
WerWolv
6a0ad22774
fix: Inconsistent provider address reading
2021-12-09 21:10:24 +01:00
WerWolv
2ac6348fbf
ui: Welcome screen, GDB Provider and memory editor ui fixes
2021-12-08 22:18:59 +01:00
WerWolv
ea4f4c45cb
sys: std::jthread -> std::thread to support libc++
2021-12-07 23:36:28 +01:00
WerWolv
cc5a437573
provider: Added basic GDB Server provider
2021-12-07 22:47:57 +01:00
WerWolv
4a53717676
sys: Moved all views to builtin plugin
2021-12-07 22:47:41 +01:00