1
0
mirror of synced 2024-12-12 16:01:06 +01:00
ImHex/plugins/builtin/source/content/views
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
..
view_about.cpp fix: Release notes in about page not working in nightly builds 2024-06-08 14:07:52 +02:00
view_achievements.cpp impr: Store settings and achievements immediately 2024-05-15 18:27:09 +02:00
view_bookmarks.cpp impr: Don't show separator in bookmark drag tooltip if no comment is present 2024-06-09 21:01:22 +02:00
view_command_palette.cpp fix: Command palette losing focus when pressing Alt 2024-05-04 21:30:21 +02:00
view_constants.cpp impr: Restructure various components much better (#1520) 2024-01-28 22:14:59 +01:00
view_data_inspector.cpp fix: ImGui ID Push/Pop mismatch when disabling inspector rows 2024-06-09 21:18:29 +02:00
view_data_processor.cpp fix: Loading of custom data processor nodes 2024-05-12 23:19:39 +02:00
view_find.cpp feat: Added CSV, TSV and JSON as export options for Find results (#1673) 2024-06-18 20:57:55 +00:00
view_hex_editor.cpp feat: Added CSV, TSV and JSON as export options for Find results (#1673) 2024-06-18 20:57:55 +00:00
view_highlight_rules.cpp impr: Restructure various components much better (#1520) 2024-01-28 22:14:59 +01:00
view_information.cpp feat: Added option to highlight pattern parents in the hex editor when hovering 2024-02-25 14:30:56 +01:00
view_logs.cpp impr: Restructure various components much better (#1520) 2024-01-28 22:14:59 +01:00
view_patches.cpp impr: Load small files into memory, open larger files as read-only by default 2024-03-10 14:31:39 +01:00
view_pattern_data.cpp feat: Highlight patterns in hex editor when hovering over pattern data row 2024-06-07 19:48:10 +02:00
view_pattern_editor.cpp fix: Missing localization 2024-05-31 17:06:18 +02:00
view_provider_settings.cpp impr: Switch most usages of modals over to toasts 2023-12-26 00:22:47 +01:00
view_settings.cpp feat: Added option to specify max file size to load into memory 2024-05-19 15:10:22 +02:00
view_store.cpp fix: Store hanging when updating all entries in some cases 2024-04-10 22:52:21 +02:00
view_theme_manager.cpp impr: Restructure various components much better (#1520) 2024-01-28 22:14:59 +01:00
view_tools.cpp impr: Various web build improvements, API cleanup (#1541) 2024-02-10 23:31:05 +01:00
view_tutorials.cpp impr: Add interactive tutorials button to the welcome screen 2024-02-24 16:10:05 +01:00