1
0
mirror of synced 2024-12-05 04:27:56 +01:00
ImHex/plugins/builtin/include/content
SparkyTD 9b594d81bd
feat: Added CSV, TSV and JSON as export options for Find results (#1673)
### Problem description
The default result export functionality of the Find tool is limited to
only exporting data in a nonstandard text format. This PR adds support
for exporting the results in CSV, TSV or JSON format. The PR also
removes the old format.

### Implementation description
I added the classes `ExportFormatter`, `ExportFormatterCsv`,
`ExportFormatterTsv` and `ExportFormatterJson`, with similar
implementations to the pattern data exporters.

~~I also moved the `ViewFind::Occurrence` class into
`hex/helpers/types.hh`, so the exporters can access it.~~

### Screenshots

![image](https://github.com/WerWolv/ImHex/assets/45818400/c7a1016b-6494-416d-a963-86484952837c)

### Additional things
Another small change I made is moving the "{} entries found" line on the
same line as the Search and Reset buttons. I think it looks cleaner this
way, but if anyone disagrees, I can revert it.

---------

Co-authored-by: WerWolv <werwolv98@gmail.com>
2024-06-18 20:57:55 +00:00
..
export_formatters feat: Added CSV, TSV and JSON as export options for Find results (#1673) 2024-06-18 20:57:55 +00:00
helpers fix: Byte type annotations not being reset correctly 2024-05-30 16:57:28 +02:00
popups impr: Convert all hex editor popups to floating, movable windows (#1658) 2024-05-10 21:21:19 +02:00
providers impr: Allow files to be switched between memory loaded and direct access 2024-06-09 20:59:06 +02:00
views feat: Added CSV, TSV and JSON as export options for Find results (#1673) 2024-06-18 20:57:55 +00:00
command_line_interface.hpp feat: Added --verbose command line option to enable debug logs 2024-03-10 15:22:14 +01:00
data_processor_nodes.hpp refactor: Split data processor nodes in several files (#1419) 2023-11-13 23:36:39 +01:00
global_actions.hpp impr: Make unsaved changes popup behave more like in other applications 2024-04-23 21:02:16 +02:00
recent.hpp feat: Draw info banner on welcome screen if one exists 2023-11-17 15:54:38 +01:00
tools_entries.hpp feat: Added simple HTTP request tool 2024-01-04 00:38:21 +01:00