Commit Graph

108 Commits

Author SHA1 Message Date
Infi 9c86ee788f fix 2024-07-25 14:03:08 +02:00
Infi fecab7760e Add reset buttons for fonts 2024-07-25 14:02:37 +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 c3c60e7e43 feat: add autohide after inactivity
After not receiving a message for X seconds (configurable) in the
current tab or any tab with unread mode enabled, the chat will be
hidden. Focus can be returned with return or slash as usual.

Having input focus or hovering the mouse over the chat window "bumps"
it every frame.

Also fixes a bug that prevented focus from being restored to tabs with
input disabled. The chat window will be brought back but the activated
event won't be fully processed.

Co-authored-by: Auri <me@aurieh.me>
2024-07-13 16:30:42 +10:00
Infi cd750a3ccb Rename close to hide and change icon 2024-07-08 12:10:27 +02: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 6ff1b80641 Merge pull request #53 from deansheather/dean/message-sorting-fixes
fix: fix sorting problems
2024-05-25 17:11:42 +02:00
Infi 0c19772b18 - Replace all possible hooks with CS
- Mark ones that can be replaced soon
- Use Dalamuds ConfigOption for chat color parsing
2024-05-25 16:50:37 +02:00
Dean Sheather e9ae8362f5 fix: fix sorting problems 2024-05-25 21:50:30 +10:00
Infi c91858183a Add changelog tab 2024-05-22 03:39:31 +02:00
Infi e19682e50d Shuffle entries 2024-05-21 10:56:42 +02:00
Infi 6daa0bb9e2 Move preview config to its own tab 2024-05-21 10:53:37 +02:00
Infi 592892e45a - New option to limit minimum preview length
- New option only preview with parameters
- Improve preview drawing modes
- Prevent null ref on plugin load
2024-05-20 06:25:54 +02:00
Infi b08c858364 Configurable position for the preview 2024-05-15 23:41:22 +02:00
Infi 041b0f27d4 Replace all PushTextWrapPos with using version 2024-05-14 01:13:28 +02:00
Infi 662e65d881 More emote improvements 2024-05-11 07:43:05 +02:00
Infi 050485fece Load up to 1000 emotes 2024-05-11 06:47:21 +02:00
Infi 5d6acf7d08 Option to hide chat in battle 2024-05-11 01:11:53 +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 bdb308ec02 Adjustable chat log position through sliders 2024-05-03 11:36:05 +02:00
Infi fd08ec20ef Split Display tab 2024-05-03 10:34:41 +02:00
Dean Sheather 477290ce7e Merge pull request #37
* chore: use threads for DB reading and writing
2024-05-02 14:42:50 +02:00
Infi a74cdcb899 Prevent vanilla tooltip for event item and implement #28 2024-04-30 03:49:53 +02:00
Infi 3d28162641 Use ImRaii in ImGuiUtil 2024-04-23 08:17:11 +02:00
Infi b4cb73dd0a Add button to database section 2024-04-21 23:24:43 +02:00
Infi 9bdfa58deb Implement some todos from #27 2024-04-21 23:16:49 +02:00
Infi c152f3dfde use ImRaii in settings window 2024-04-21 16:44:45 +02:00
Infi ed5cedefd2 remove message limit text as it doesn't exist for database itself 2024-04-21 01:59:04 +02:00
Infi 42e2fe12a4 Add old database section 2024-04-21 01:33:55 +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 c0f9f83511 scope imraii 2024-04-19 20:05:48 +02:00
Infi a06ee27b0e switch to imraii for test 2024-04-19 19:53:05 +02:00
Infi 0c107a9290 end child outside of if 2024-04-19 19:33:26 +02: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
Infi 30ccf8e416 Implement sounds on interaction 2024-04-16 00:36:30 +02:00
Infi c66d97829c Just null check the styles 2024-04-12 22:11:17 +02:00
Infi db73c59d40 switch to SetTooltip 2024-04-11 15:55:54 +02:00
Infi 4c8bde1f9f Merge pull request #15
feat: add database details section to settings
2024-04-11 15:40:13 +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
Dean Sheather e0e26b782c fix: avoid warning logs about extrachat 2024-04-11 18:32:35 +10:00
Infi 059c7322c8 Add option to hide chat during loading screens [default false] 2024-04-10 19:07:35 +02:00
Infi 948383b0c5 Remove this. everywhere, add small note to override style 2024-04-10 17:45:25 +02:00
Spider 7885824248 Added Translation support for prior changes 2024-04-09 19:21:55 -05:00
Spider 9412711050 Added The ability to override the plugin style 2024-04-09 17:29:35 -05:00
Infi 9feb70d262 Add more info to the about page 2024-04-09 21:58:32 +02:00