1
0
mirror of synced 2024-12-15 09:11:15 +01:00
ImHex/lib/libimhex/source
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
..
api feat: Added CSV, TSV and JSON as export options for Find results (#1673) 2024-06-18 20:57:55 +00:00
data_processor refactor: Get rid of this->m_ 2023-12-19 13:10:25 +01:00
helpers impr: Show document edited icon in close button on macOS 2024-06-12 19:51:12 +02:00
providers feat: Added simple insert mode to hex editor 2024-03-29 13:22:28 +01:00
subcommands feat: Added short forms for commonly used commands 2024-03-14 18:24:31 +01:00
test tests: Add infrastructure for testing plugins (#1538) 2024-02-26 20:51:08 +01:00
ui impr: Improve icon scaling a bit 2024-06-18 22:10:02 +02:00