Commit Graph

3076 Commits

Author SHA1 Message Date
iTrooz
4120e10a95 fix: DiskProvider::open() default result on Windows (#2573)
<!--
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 -->

### Implementation description
<!-- Explain what you did to correct the problem -->

### Screenshots
<!-- If your change is visual, take a screenshot showing it. Ideally,
make before/after sceenshots -->

### Additional things
<!-- Anything else you would like to say -->

(cherry picked from commit 1c17f3ee43)
2025-12-19 18:15:26 +01:00
WerWolv
937ca4a327 fix: Disk provider still using old open() api on windows
(cherry picked from commit 2d82776e62)
2025-12-18 00:15:53 +01:00
WerWolv
684a9b3009 fix: Inverted logic when opening files from the command line
(cherry picked from commit 5500faa57e)
2025-12-18 00:15:53 +01:00
WerWolv
51d773cf14 impr: Handle provider opening more centrally, switch to existing provider if same file is being opened again
(cherry picked from commit 89004574d3)
2025-12-18 00:15:53 +01:00
WerWolv
798bd25202 fix: Make sure providers returned by createProvider don't get deleted unexpectedly
(cherry picked from commit baa3329e7f)
2025-12-18 00:11:23 +01:00
WerWolv
11df253fd3 fix: Pattern files not getting truncated correctly when saving
Fixes #2566

(cherry picked from commit 932c281223)
2025-12-16 10:03:26 +01:00
WerWolv
a44278b1fe impr: Make most windows non-scrolling by default
(cherry picked from commit 858fe0384e)
2025-12-16 10:03:22 +01:00
WerWolv
cd7705664d fix: Inverted sorting of find view table
Fixes #2564

(cherry picked from commit e904cd749f)
2025-12-16 10:03:17 +01:00
WerWolv
23e484c468 fix: Typo in crash popup
(cherry picked from commit c161a5c71b)
2025-12-16 10:03:05 +01:00
WerWolv
f633c3f33a fix: Only enable widgets in pattern data view when there's actually any patterns available
(cherry picked from commit 553ee89787)
2025-12-15 10:11:09 +01:00
WerWolv
b8bcb815c8 fix: Crash when using @ command palette command
Fixes #2563

(cherry picked from commit cb6247b16e)
2025-12-15 10:11:09 +01:00
WerWolv
81826df897 impr: Unionize exception and assertion handling
(cherry picked from commit cfac7ff0ba)
2025-12-15 10:11:09 +01:00
paxcut
60e2c32ae0 Various fixes for pattern editor (#2561)
- Fix for vertical scroll bar being too far to the left.
- Fix constructor not initializing from const char pointer properly
- maxcolumn not being set for console text lines causing crashes on
empty pattern evaluation
- A replacement using replace all is now undone in one step.
- Find/replace no longer need to have enter or return key to accept
text. You can use arrows or shortcuts.
- More efficient search replace implementation with plans to add even
faster.
- Tooltips added to find/replace window
- Providers now save both horizontal and vertical scroll positions when
switching to another one and restore them when switching back. This is
independent to the cursor position which is also saved.
- Pattern editor no longer takes focus when changing providers via a tab
click. This has the effect that menus won't change by just clicking on a
tab.
- Small fixes and code refactoring.

(cherry picked from commit 1676342e28)
2025-12-15 10:11:09 +01:00
WerWolv
febd46ec58 fix: Gaps in-between hex editor highlighting on specific scalings
(cherry picked from commit 62732de227)
2025-12-15 10:11:09 +01:00
WerWolv
e03d3d9f36 fix: Minimap not allowing scrolling as far as the scroll bar
(cherry picked from commit ab95cdf3e5)
2025-12-15 10:11:09 +01:00
paxcut
5a9f44e696 impr: Various fixes and improvements to the pattern editor (#2559)
- fixed crash when utf8 chars were present in text editor
- fixed unable to scroll when cursor at line 1
- removed dependencies on thext editor that were not being used.

I had to go back to the old code (old for me) and fit in the changes
that were applied to the new code.That was only possible by
incorporating some of the new structural differences to the text editor.
This created new bugs and crashes that I ve have fixed but there may be
ones that I couldn't find in the very small amount of time I could spend
testing so that this commit wouldn't be delayed. If more crashes are
found due to the mixing of old and new code they should be resolved when
the new code is brought in.

(cherry picked from commit bfa9788099)
2025-12-15 10:11:09 +01:00
WerWolv
c95cbc5933 fix: Extended ASCII display being enabled by default
(cherry picked from commit 21e61bfce6)
2025-12-12 13:15:32 +01:00
WerWolv
539a00ae5d fix: Off-by-one of starts of process memory regions
(cherry picked from commit f234103320)
2025-12-11 23:23:51 +01:00
WerWolv
38075a1438 fix: Crash when canceling creation of SSH provider
Fixes #2557

(cherry picked from commit fb7ef61d06)
2025-12-11 23:23:51 +01:00
WerWolv
1253d68256 fix: Reset selected row after checking it
(cherry picked from commit ab0fb3131d)
2025-12-11 23:23:51 +01:00
WerWolv
fb21f11554 fix: Editing of WString, String16, String32 in data inspector
(cherry picked from commit e6eee55810)
2025-12-11 23:23:51 +01:00
WerWolv
d8e54e535b impr: Allow Esc to clear editing and selected state in data inspector
(cherry picked from commit 77b9e3eac8)
2025-12-11 23:23:51 +01:00
WerWolv
59afa06bf4 impr: If there's multiple foreground highlighting providers, only evaluate until a color is found
(cherry picked from commit 790487eea6)
2025-12-11 23:23:51 +01:00
WerWolv
596564ec48 fix: Post-pone file opening till everything has been initialized
(cherry picked from commit 3f9ce561b9)
2025-12-07 16:26:54 +01:00
WerWolv
a652b95816 impr: Show proper error message if nethost header can't be found
(cherry picked from commit 347fc3ed9f)
2025-12-07 16:26:54 +01:00
WerWolv
0e3ce90db7 impr: Make icons look slightly nicer at low resolutions
(cherry picked from commit 0488c996e9)
2025-12-07 16:26:54 +01:00
WerWolv
95f010395c fix: Pressing enter while in insert mode not behaving correctly 2025-12-06 16:11:28 +01:00
WerWolv
6652750044 build: Add preliminary build support for mbedTLS 4 2025-12-05 20:20:11 +01:00
iTrooz
df3200f936 refactor: move hex editor popups to their own files (#2536) 2025-12-05 12:04:49 +01:00
WerWolv
f2e8d402dd impr: Calculate hashes in a background thread 2025-12-04 20:57:06 +01:00
WerWolv
ab54acb176 fix: Find results staying behind until new search has finished 2025-12-04 17:29:45 +01:00
WerWolv
a0d0621725 build: Start using std::from_chars 2025-12-03 20:48:22 +01:00
WerWolv
c2d70dbd50 fix: Build issues on clang 2025-12-03 19:51:35 +01:00
WerWolv
e2fdd91956 feat: Add option to access remote files using raw SSH 2025-12-03 19:23:42 +01:00
WerWolv
2a84534ced impr: Don't hide entire data inspector UI anymore if no bytes are selected 2025-12-03 19:21:47 +01:00
WerWolv
94b53592d9 impr: Only show remaining Open File / New File menu options when they make sense 2025-12-03 19:21:23 +01:00
WerWolv
09006588fc feat: Allow integer literals to be used in binary patterns 2025-12-03 19:20:45 +01:00
WerWolv
d4df465633 feat: Replace useless constants view with a constant search option in the Find view 2025-12-02 23:02:44 +01:00
WerWolv
18aa11117a impr: Fix fixed point inspector row requiring the correct number of bytes to be selected 2025-12-02 20:01:46 +01:00
Nik
d15b7862b8 fix: Build error due to size_t not being u64 on macOS 2025-12-02 08:08:19 +01:00
WerWolv
46fdbd5bc0 fix: String inspector rows not displaying the correctly decoded value 2025-12-01 22:38:56 +01:00
WerWolv
da755ec75b feat: Added pattern context menu for copy and edit 2025-12-01 21:25:57 +01:00
WerWolv
1ab1f7ada0 fix: Comparison between literal and optional 2025-12-01 20:35:55 +01:00
WerWolv
56cb1f2747 fix: Pattern auto loading not working anymore
Fixes #2531
2025-12-01 19:54:55 +01:00
WerWolv
413c6b5116 fix: Some interactive help regions not being highlighted 2025-12-01 19:38:19 +01:00
WerWolv
f4753a5bd8 feat: Added hex editor minimap option to shade cells based on the byte's value 2025-12-01 19:37:36 +01:00
WerWolv
980438008c fix: Crashes and usability issues with the pattern tree filter 2025-12-01 19:35:22 +01:00
WerWolv
67008288e2 fix: Clear pattern editor change flag after setting help text 2025-11-30 23:57:52 +01:00
WerWolv
4caa0ce570 fix: Turn cli file path into absolute path before passing it on 2025-11-30 23:57:22 +01:00
WerWolv
c96b47f345 feat: Added RGBA8 and RGB565 minimap visualizer 2025-11-30 21:01:20 +01:00