Commit Graph

99 Commits

Author SHA1 Message Date
Infi 3cfe65d2d4 - More ImRaii
- Cleanup
- Spanish, French, Dutch, Chinese loc update
2024-11-21 11:58:22 +01:00
Infi 1a1995759a - Handle NBSP payloads
- Use ingame version of axis font
2024-11-21 08:34:24 +01:00
Infi a648bcf60d Fix linkshell rotation 2024-11-17 19:16:21 +01:00
RedworkDE 96c16d6d6a Fix AutoTranslate 2024-11-13 09:55:12 +01:00
Infi 45fdac0dd6 API 11 2024-11-13 04:13:18 +01:00
Infi 8d6f59f9fa - Loc updates
- Add access URL to webinterface panel
2024-08-28 14:31:25 +02:00
Infi 1d7153fc50 Redo the auth system and implement rate limits 2024-08-25 15:37:13 +02:00
Infi 5e93732183 Add pre-testing version of the webinterface 2024-08-24 03:05:33 +02:00
Infi 41c59f6aa0 Make italic font chooseable 2024-07-25 15:19:08 +02:00
Infi 97654b1c53 Rewrite font handling, use dalamud font chooser 2024-07-23 20:46:38 +02:00
Dean Sheather 56f6855da2 feat: autohide improvements
- Adds new setting "Enable inactivity hide during battle" (default:
  true) which determines whether autohide should apply during battle
  (thanks @aurieh)
- Adds new setting "Chat channels considered for activity" which allows
  customizing which channels incoming messages must match to "bump" the
  inactivity timer
- Adds new per-tab setting "Unhide the chat window on activity" to
  configure whether it will be considered for "bumping" the inactivity
  timer when receiving messages that match the new channel filter. Note
  that the foreground tab is currently always considered.
- Extends autohide code to apply to poped-out tabs as well. Each popout
  window has its own inactivity timer, but focusing the main window will
  restore all popped out windows.

Co-authored-by: Auri <me@aurieh.me>
2024-07-21 15:09:45 +10:00
Dean Sheather 352088dfed feat: add configurable hotkeys to cycle tabs
Adds two configurable hotkeys (plus the required code infrastructure to
handle configurable hotkeys) for cycling the active chat tab forward by
one and backwards by one.
2024-07-15 19:17:32 +10:00
Dean Sheather fef9122eca feat: add close button to chat log 2024-07-08 16:57:37 +10:00
Infi f76f0e91d0 Update for 7.0, part 1 2024-06-30 05:07:11 +02:00
Infi 9c4b975605 - No emote parsing on AutoTranslate
- nint everything
2024-06-02 14:17:45 +02:00
Infi 3a5dcae261 Fix #63 2024-05-28 14:23:31 +02:00
Dean Sheather 7020879aea fix: add last row from some auto-translate categories 2024-05-26 01:24:18 +10:00
Infi 8aaaa684a2 Remove reflection from InputPreview 2024-05-25 09:30:45 +02:00
Infi 624bcd3610 remove unused 2024-05-25 08:49:53 +02:00
Infi b6cc85b2af Small updates to DatePicker 2024-05-25 08:47:46 +02:00
Infi 1eed122e7a Use ImRaii in DatePicker 2024-05-25 07:41:21 +02:00
Infi 88fbb24ff0 - Migrate DB to v2 (Channel)
- Add channel selection to DBViewer
2024-05-22 19:25:36 +02:00
Infi 6e0dd15ac0 DBViewer improvements 2024-05-22 15:25:05 +02:00
Infi c2131eb07b Implement DBViewer 2024-05-22 14:53:30 +02:00
Infi 140343e654 - Use tokinzer for URL parsing
- Regex based split for letter selector
2024-05-21 06:36:57 +02:00
Infi 47a4c5ab8d Use tokenizer for emote parsing :HideThePain: 2024-05-20 20:14:41 +02:00
Infi 51db04a5f5 - Prevent null string from being parsed
- cursor pos adjustment through preview
2024-05-19 16:33:53 +02:00
Infi 23122e924b Better input preview handling 2024-05-19 01:51:36 +02:00
Dean Sheather 0004bcb561 fix: avoid loading failed parse messages again 2024-05-14 11:23:04 +10:00
Infi 041b0f27d4 Replace all PushTextWrapPos with using version 2024-05-14 01:13:28 +02:00
Infi 0de883ec39 Display emote name if loading failed 2024-05-14 00:44:06 +02:00
Infi 26e993be67 Temp fix for FPS drops with too many messages rendered
- Also replaces TextWrap with an ImRaii using version
2024-05-13 15:24:51 +02:00
Dean Sheather b6ae08d91d chore: move message processing to thread again 2024-05-12 07:22:40 +10:00
Infi 662e65d881 More emote improvements 2024-05-11 07:43:05 +02:00
Infi b7286b8010 Implement emotes part 2 2024-05-09 19:09:36 +02:00
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