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
f5cbcce112
impr: Add close button to toolbar
2023-12-07 11:53:16 +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
f68202a098
impr: Make hex editor footer collapsible
2023-12-07 11:20:54 +01:00
WerWolv
bfb2c6ab5f
impr: Automatically remove null provider if another one is opened
2023-12-07 11:20:37 +01:00
WerWolv
9ba6d7ee1e
impr: Added simplified welcome screen
2023-12-07 11:18:49 +01:00
WerWolv
60ff62d018
impr: Disable resource usage widgets by default
2023-12-06 16:20:21 +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
0b71568d97
impr: Better UI handling when window is very small
2023-12-06 11:05:02 +01:00
WerWolv
37ac1b66dd
refactor: Task Manager related code
2023-12-06 11:04:35 +01:00
WerWolv
1be9e8c5b1
impr: Simplify default layout down a bit
2023-12-06 09:10:16 +01:00
WerWolv
c6b9b947fb
fix: Binding shortcuts to already existing shortcuts behaving weirdly
2023-12-06 09:09:32 +01:00
WerWolv
a1ef567ecd
impr: Add setting to disable resource usage display in footer
2023-12-05 17:09:42 +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
WerWolvTranslationBot
13145bba03
lang: Translations update from Weblate ( #1457 )
...
Translations update from [Weblate](https://weblate.werwolv.net ) for
[ImHex/Built-in
Plugin](https://weblate.werwolv.net/projects/imhex/built-in-plugin/ ).
It also includes following components:
* [ImHex/Windows
Plugin](https://weblate.werwolv.net/projects/imhex/windows-plugin/ )
Current translation status:
![Weblate translation
status](https://weblate.werwolv.net/widgets/imhex/-/built-in-plugin/horizontal-auto.svg )
---------
Co-authored-by: Justus Garbe <gihihoh@gmail.com>
Co-authored-by: Minseo Lee <itoupluk427@gmail.com>
2023-12-05 10:50:52 +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
f26076fb90
build: Fix cmake script
2023-12-01 13:54:12 +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
5e32b693f3
fix: Crash when trying to analyze small files
2023-11-29 11:02:23 +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
75e26458cc
build: Remove garbage file that ended up in romfs
2023-11-28 10:59:40 +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
0b06b1e1e8
fix: Way too many bytes being used for digram and layered distribution plot
2023-11-23 23:00:31 +01:00
WerWolv
eafeac4e7b
feat: Display task progress percentage in footer
2023-11-23 13:19:50 +01:00
WerWolv
58c3b95c84
impr: Drastically improve performance of diagram processing
2023-11-23 13:09:06 +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