WerWolv
c7ab4a4569
refactor: Get rid of this->m_
2023-12-19 13:10:25 +01:00
WerWolv
878f45dd80
fix: Various build errors
2023-12-08 16:22:36 +01:00
WerWolv
3a016da549
impr: Make providers return a 64 bit size on all platforms
2023-12-07 12:06:26 +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
1b665fa1b3
fix: Loading files into memory
2023-11-27 15:48:46 +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
909f4b7fe8
refactor: Rename and update localization system
2023-11-21 14:38:01 +01:00
WerWolv
14f728ab76
refactor: Give API files more consistent names
2023-11-18 14:50:43 +01:00
WerWolv
1c8af096de
fix: Out of bounds read with a zero-size file
2023-11-11 23:11:34 +01:00
WerWolv
498d8c1d65
impr: General code cleanup
2023-11-10 20:47:08 +01: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
iTrooz
10ad239fb9
fix: add _lang suffix to "Load into memory" localization string ( #1267 )
2023-08-28 02:21:41 +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
65c56a887c
feat: Added option to load files into memory
2023-08-09 20:04:12 +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
fbd4bc337b
fix: Crash when trying to format invalid timestamps
2023-08-02 12:52:10 +02:00
WerWolv
3c97759aa7
fix: Crash when trying to load files with invalid paths
2023-07-19 22:35:55 +02:00
WerWolv
2449b08f64
fix: Crash when trying to remove chunks larger than the whole file
2023-07-06 21:14:50 +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
07aabe8efa
impr: Improved types used in provider functions
2023-06-04 10:42:11 +02:00
WerWolv
de76c37ffb
fix: Multiple file provider resize issues
2023-06-03 23:57:41 +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
11f55a7561
fix: File handles not being closed correctly
2023-05-20 18:07:15 +02:00
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
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
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
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
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
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
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