1
0
mirror of synced 2024-09-24 11:38:26 +02:00
ImHex/plugins
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
..
builtin feat: Added CSV, TSV and JSON as export options for Find results (#1673) 2024-06-18 20:57:55 +00:00
decompress impr: Display background scripts in about page 2024-05-08 22:30:53 +02:00
diffing lang: Added Hungarian translations (#1683) 2024-05-19 14:33:33 +02:00
disassembler fix: Disassembler always using little endian, no matter the setting 2024-06-16 15:06:30 +02:00
fonts impr: Improve icon scaling a bit 2024-06-18 22:10:02 +02:00
hashes lang: Added Hungarian translations (#1683) 2024-05-19 14:33:33 +02:00
script_loader fix: Build issues 2024-06-07 21:57:39 +02:00
ui fix: Pattern data view filter text box being too wide 2024-06-09 21:36:25 +02:00
visualizers lang: Added Hungarian translations (#1683) 2024-05-19 14:33:33 +02:00
windows lang: Added Hungarian translations (#1683) 2024-05-19 14:33:33 +02:00
yara_rules lang: Added Hungarian translations (#1683) 2024-05-19 14:33:33 +02:00