Commit Graph

111 Commits

Author SHA1 Message Date
Infi 97a8b96326 - Display name even if invalid channel is selected
- Add NoMove & NoResize to tabs
2024-12-14 14:54:20 +01:00
Infi 6144631b16 - Save ExtraChat channel 2024-12-02 19:26:52 +01:00
Infi 5bd6518e1a - Use EndConditional
- Fix #132 (maybe)
2024-11-21 13:59:45 +01:00
Infi d0a55e80ea - Switch SetTooltip to ImRaii based Tooltip
- Shorter date format for db viewer
2024-11-21 12:31:09 +01:00
Infi 1a1995759a - Handle NBSP payloads
- Use ingame version of axis font
2024-11-21 08:34:24 +01:00
Infi 56eff572b7 Fix #107 2024-11-18 20:06:29 +01:00
Infi cb7df12005 Potential fix for temp channel issues 2024-11-18 19:50:53 +01:00
Infi a648bcf60d Fix linkshell rotation 2024-11-17 19:16:21 +01:00
Infi bf27d3e853 Final API11 updates and new channel switcher 2024-11-16 21:06:35 +01:00
Infi 45fdac0dd6 API 11 2024-11-13 04:13:18 +01:00
Infi df503bf4f1 bump 2024-09-06 12:36:09 +02:00
aemsle 9ad613a702 Added tab support to Auto completion box 2024-09-05 00:17:47 +01:00
Infi f6531907a4 - Partially implement tab switch
- Better support character switch
2024-08-28 18:18:20 +02:00
Infi 19f10b09c8 Implement dynamic channel list 2024-08-25 01:03:02 +02:00
Infi 29e3c6acee Redo the message protocols to work with SSE data directly 2024-08-24 19:52:53 +02:00
Infi 5e93732183 Add pre-testing version of the webinterface 2024-08-24 03:05:33 +02:00
Infi 117d9fc45c fix #81 2024-08-20 23:14:52 +02:00
Infi 16a16b1f12 Implement #101 2024-08-14 14:46:00 +02:00
Dean Sheather 12c876f45b fix: avoid hiding during auto-skipped cutscenes
Instead of hiding the chat window immediately when the game enters a
"cutscene" condition, wait until the vanilla chat would've been hidden.
This prevents hiding and unhiding during auto-skipped cutscenes.
2024-07-28 01:05:25 +10:00
Infi 2af53829bf Merge pull request #102
fix: various keybind fixes (modifiers and linkshells)
2024-07-26 21:18:42 +02:00
Infi 588dd31c16 don't save icon texture 2024-07-26 21:16:33 +02:00
Dean Sheather c22bde296d fix: various keybind fixes (modifiers and linkshells)
- Avoids overriding modifiers after leaving a vanilla text box. This
  would prevent you from holding e.g. Ctrl between multiple vanilla text
  boxes.
- Reworks linkshell rotation code to fix issues with LS number gaps
  causing linkshell rotation to not function.
2024-07-27 03:52:23 +10:00
mopi b14f1732dd Get job icons from game 2024-07-26 04:03:22 -03:00
Infi 97654b1c53 Rewrite font handling, use dalamud font chooser 2024-07-23 20:46:38 +02:00
Infi f7252cdf78 Merge pull request #99
fix: censor abbreviated player names in screenshot mode
2024-07-22 19:17:32 +02:00
Dean Sheather b5ec2145c1 fix: censor abbreviated player names in screenshot mode
Best effort.
2024-07-22 22:22:57 +10:00
Dean Sheather 710d4e837d fix: avoid stealing focus from other imgui windows on unhide 2024-07-22 22:09:20 +10: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 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
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 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 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 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 70989da680 More CS updates 2024-06-09 12:59:29 +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
Infi c5363769c2 Force main window to be always open 2024-05-26 13:53:26 +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 140343e654 - Use tokinzer for URL parsing
- Regex based split for letter selector
2024-05-21 06:36:57 +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 a18861ea87 Add new preview position: tooltip 2024-05-19 17:16:36 +02:00
Infi 51db04a5f5 - Prevent null string from being parsed
- cursor pos adjustment through preview
2024-05-19 16:33:53 +02:00