Commit Graph

905 Commits

Author SHA1 Message Date
Infi 91b270b8be update changelog 2024-07-21 14:41:24 +02:00
Infi c95f01a394 Merge pull request #90 from deansheather/dean/autohide-improvements
feat: autohide improvements
2024-07-21 14:37:27 +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
Infi a5161cf97c Merge pull request #95
fix: avoid handling keybinds after vanilla input focus
2024-07-20 19:32:57 +02:00
Dean Sheather 81923ddfe4 fix: avoid handling keybinds after vanilla input focus 2024-07-21 02:30:39 +10:00
Infi 6f30f848f7 Merge pull request #94
fix: avoid switching to non-existent linkshell idx
2024-07-20 18:00:58 +02:00
Dean Sheather 70a60b83e5 fix: avoid switching to non-existent linkshell idx
Prevents switching channels to a non-existent linkshell index (for both
regular linkshells and cross-world linkshells). ExtraChat linkshells are
already validated separately.

Prevents ChatLogWindow Draw failures from causing ChatTwo to grab input
focus each frame if the exception occurs during an Activate event.
2024-07-21 01:51:03 +10:00
Infi 85c5facff7 Replace function with CS version 2024-07-19 12:47:34 +02:00
Infi 1b68acb0c6 loc updates 2024-07-19 12:42:43 +02:00
Infi f6bbd55ed1 Merge pull request #89 from deansheather/dean/fix-hotkeys-in-chat
fix: remove keys from ModifierlessChatKeys list
2024-07-16 20:19:11 +02:00
Dean Sheather 23e6ecd10b fix: remove keys from ModifierlessChatKeys list 2024-07-16 23:24:56 +10:00
Infi 6f1a3fc548 Fix virtual key check missing 2024-07-15 12:27:08 +02:00
Infi 764d608663 Merge pull request #82 from deansheather/dean/cycle-tabs-hotkeys
feat: add configurable hotkeys to cycle tabs
2024-07-15 11:56:05 +02:00
Dean Sheather fb167a8161 chore: refactor keybinds to be in new KeybindManager 2024-07-15 19:24:29 +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
Infi ac45afcf4c More keybind handling improvements 2024-07-13 11:25:32 +02:00
Infi eae393842a Merge pull request #83
feat: add autohide after inactivity
2024-07-13 09:30:04 +02:00
Infi 58a6567f5a dynamic fix for #85 2024-07-13 09:18:40 +02: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 05495705fd bump 2024-07-09 09:44:08 +02:00
Infi aeba0db89b Merge pull request #79 from deansheather/dean/hide-config-fix
fix: actually apply hide state to config
2024-07-09 07:26:16 +02:00
Dean Sheather 0fb78e1856 fix: actually apply hide state to config 2024-07-09 15:18:16 +10:00
Infi 7b8aa172e0 More updates 2024-07-08 12:30:05 +02:00
Infi cd750a3ccb Rename close to hide and change icon 2024-07-08 12:10:27 +02:00
Infi bea2f51192 Merge pull request #77
feat: add close button to chat log
2024-07-08 11:42:45 +02:00
Infi 534a5c5543 Merge pull request #76
Add missing argument to PrintTellNative function
2024-07-08 11:42:23 +02:00
Dean Sheather fef9122eca feat: add close button to chat log 2024-07-08 16:57:37 +10:00
Limiana 40d66ca954 add missing args 2024-07-08 02:55:28 +03:00
Infi ec67364360 Implement temp fix for broken TellReasons 2024-07-04 03:59:46 +02:00
Infi c031739650 - Update broken delegates
- Replace hardcoded offsets with CS version
2024-07-03 20:06:00 +02:00
Infi c8e11ecb9b bump 2024-07-02 13:15:20 +02:00
Infi 0a8ed95a1f Merge pull request #70 from deansheather/dean/dt-fixes-1
Various DT fixes
2024-07-02 13:14:35 +02:00
Dean Sheather 1f8cffbeff Various DT fixes 2024-07-02 20:52:53 +10:00
Infi 604a2cb482 Remove debug info 2024-07-01 23:56:24 +02:00
Infi 8bef8ec050 Remove debug logs 2024-06-30 09:29:11 +02:00
Infi f76f0e91d0 Update for 7.0, part 1 2024-06-30 05:07:11 +02:00
Infi 1acd532ef1 Fix chat hide command not working 2024-06-21 20:58:17 +02:00
Infi 7a27ca8ea8 Fix linkshell rotation 2024-06-17 19:21:17 +02:00
Infi 625d7596d3 Temporary fix for linkshell names not appearing 2024-06-11 22:21:21 +02:00
Infi 41e5a80179 Changelog 2024-06-10 23:31:02 +02:00
Infi 17ff8fffeb Fix tell reply not working 2024-06-10 23:24:30 +02:00
Infi f731710ed0 Switch to dalamud safe write 2024-06-10 22:29:08 +02:00
Infi 34b76cc853 Save ffxiv font to disk on first download 2024-06-10 22:15:37 +02:00
Infi 70989da680 More CS updates 2024-06-09 12:59:29 +02:00
Infi 6ee209c1ad Don't cast everything 2024-06-02 14:52:18 +02:00
Infi 9c4b975605 - No emote parsing on AutoTranslate
- nint everything
2024-06-02 14:17:45 +02:00
Infi a35ebae09c log stuff 2024-05-28 14:24:16 +02:00
Infi 3a5dcae261 Fix #63 2024-05-28 14:23:31 +02:00
Infi c5363769c2 Force main window to be always open 2024-05-26 13:53:26 +02:00
Infi b4f8ce59d3 version bump 2024-05-26 00:08:45 +02:00