Commit Graph

64 Commits

Author SHA1 Message Date
Infi 4210d634ab BTTV emote support part 1 & keep Input focus option 2024-05-08 00:04:07 +02:00
Infi 8709c35ff1 Switch to .net method for endian swap 2024-05-03 19:37:39 +02:00
Dean Sheather fdae6b1cd2 fix: add Races, Clans and Companion Actions to auto-translate
The Race, Tribe and BuddyAction sheets were skipped as the default
behavior was to include rows from `0..^0` if no range was specified in
the Completion sheet. That range would usually include everything, but
since the ranges were iterated over as integers there is no "last" index
so `^0` equals zero.

Also preloads the AutoTranslate cache on plugin load in a new thread to
avoid a hitch when sending the first message. This behavior is disabled
in DEBUG builds to make profiling easier.
2024-04-29 18:55:24 +10:00
Infi 3d28162641 Use ImRaii in ImGuiUtil 2024-04-23 08:17:11 +02:00
Infi 8ab450aa3e Scale icons with font size 2024-04-22 16:44:48 +02:00
Infi 9bdfa58deb Implement some todos from #27 2024-04-21 23:16:49 +02:00
Dean Sheather bb6c6b0034 feat: replace LiteDB with Sqlite
- Replace LiteDB database engine with Sqlite
  Note: old databases will not be deleted
- Message duplication detection improvements
- Tolerate parse errors in release builds, log them
2024-04-20 21:18:51 +10:00
Infi 2d69af3f5c fix formatting 2024-04-18 22:07:16 +02:00
Harold Iedema e0793a51da Add option to limit the amount of shown log lines 2024-04-18 19:31:27 +02:00
Dean Sheather 715fb7aa5b feat: add database details section to settings
Shows path to database (click to copy), database size, database log
size, message count.

Also adds a Ctrl+Shift button to wipe the database permanently. This is
performed by clearing the Messages collection and then rebuilding the
database, which brings it down to around 48KB on my machine (even with
many messages).
2024-04-11 21:13:04 +10:00
Infi 9f771c37e3 Implement #10 with fixed payload byte[] 2024-04-10 23:57:44 +02:00
Infi 948383b0c5 Remove this. everywhere, add small note to override style 2024-04-10 17:45:25 +02:00
Infi cc014519d4 Merge pull request #2
feat: clickable URLs in chat log
2024-04-09 16:02:34 +02:00
Infi 5da271e0c2 - Fully support role colors and icons
- Fix #5
- Add SeString debugger window
2024-04-09 15:58:53 +02:00
Dean Sheather 4701bb3f6d feat: clickable URLs in chat log
Adds a parsing step when constructing `Message` objects that scans the
message content for anything that looks URL-like, and inserts new
`TextChunk`s into the message content with a URIPayload set.

Hovering over a URL shows an on-hover effect. Clicking a URL opens it in
the default browser. Right clicking shows the hostname, with an option
to open and an option to copy the URL to the clipboard.
2024-04-09 15:40:27 +10:00
Infi d9114aeb0e Add user configurable tooltip offset 2024-04-07 19:01:41 +02:00
Infi 40fd726519 Add adventurer plate context option 2024-04-06 03:01:32 +02:00
Infi 5ceb327f3a Fix out of bounds 2024-04-04 23:43:37 +02:00
Infi c9c4efe99f Add support for simpletweaks Random Chat Color 2024-04-04 21:51:47 +02:00
Anna c9cd28589b refactor: update for api 9 2023-10-03 02:59:51 -04:00
Anna 2da0f98786 fix: work around party icons 2023-05-25 13:49:58 -04:00
Anna 0e3adfcbfa fix: keep old detection methods for history 2023-02-27 20:31:04 -05:00
Anna 9a42b1b9da fix: make pf links work 2023-02-27 20:23:15 -05:00
Anna 565e5ecd08 feat: add utility to go from VK to ImGui 2022-07-13 15:46:47 -04:00
Anna 1ffc42b7d2 refactor: use popcnt 2022-06-03 20:12:09 -04:00
Anna a5f93fd194 fix: increase termination efficiency 2022-06-03 19:58:52 -04:00
Anna 9068199236 fix: only scroll when using arrow keys 2022-05-31 23:55:02 -04:00
Anna 8993da08e2 feat: improve autotranslate performance 2022-05-30 14:40:58 -04:00
Anna 212835c33a feat: add option to sort auto translate list 2022-05-30 00:52:44 -04:00
Anna 70cecf4a6d feat: add basic autotranslate support 2022-05-30 00:42:23 -04:00
Anna de0309e428 fix: allow popups with popped-out tabs 2022-05-13 10:56:36 -04:00
Anna 458f4a673c feat: add multi-client mode 2022-02-16 15:38:55 -05:00
Anna 259000d92a fix: handle more weird wrapping stuff 2022-02-16 15:15:41 -05:00
Anna 824c953102 fix: handle newlines and close-to-edge wrapping better 2022-02-16 13:28:13 -05:00
Anna 071ad3099e style: rename variable 2022-02-15 18:36:57 -05:00
Anna 1c1fd5d6d5 feat: add jank hover highlight for links 2022-02-15 18:36:30 -05:00
Anna a0525562ff chore: remove boms 2022-02-15 13:02:46 -05:00
Anna 9b7b84a58d feat: add chat database 2022-02-15 12:58:55 -05:00
Anna 43a539a465 feat: turn settings tabs into a sidebar 2022-02-08 19:26:11 -05:00
Anna e1e3a39c5c fix: use localised names for presets 2022-02-08 12:23:10 -05:00
Anna 310ee7600d feat: add vanilla presets 2022-02-06 16:45:19 -05:00
Anna 0699f5129f feat: add spacing and descriptions for fonts 2022-02-04 23:22:03 -05:00
Anna bf742cd5a4 feat: prettier settings, start using resources file 2022-02-04 05:46:13 -05:00
Anna 1379a1fc7c feat: add context to all messages and copy option 2022-02-04 05:02:57 -05:00
Anna d0c3cbc2ab feat: add achievement links 2022-02-03 19:19:27 -05:00
Anna cba515d955 style: run formatter 2022-01-30 23:45:07 -05:00
Anna ba22d3c628 refactor: remove useless fixed statement 2022-01-30 20:31:47 -05:00
Anna 486acdbe1c fix: decode integer for pf id 2022-01-30 20:31:04 -05:00
Anna d844b000e5 feat: start adding our own shortcut support 2022-01-29 00:44:47 -05:00
Anna 60d1771c95 feat: start adding native shortcut support 2022-01-29 00:44:46 -05:00