Commit graph

4126 commits

Author SHA1 Message Date
goat
2574bef1c3
Merge pull request #1421 from MidoriKami/ColorHelpers 2023-09-23 10:42:22 +02:00
MidoriKami
74375ec414 Add more ColorHelpers 2023-09-22 20:19:27 -07:00
goat
dc54f040b9
Merge pull request #1408 from MidoriKami/AddonEventManager_Enhancements 2023-09-21 21:30:41 +02:00
goat
035ee008cf
Merge pull request #1410 from Haselnussbomber/catch-draw-exception 2023-09-21 19:37:34 +02:00
MidoriKami
dae105d157 Account for UiScale when moving nodes 2023-09-20 13:19:06 -07:00
MidoriKami
48e60a7a5d Fix hidden nodes preventing native tooltips from propogating 2023-09-20 11:22:58 -07:00
MidoriKami
b26550eea9 Fix not applying spacing when set to grow from the right 2023-09-20 10:56:07 -07:00
MidoriKami
5f86496360 Add missing renames 2023-09-20 10:55:45 -07:00
Haselnussbomber
cec382dfed
Switch to ModuleLog in Window 2023-09-20 19:53:45 +02:00
Haselnussbomber
d836a3e556
Catch exceptions in Window.Draw 2023-09-20 19:14:22 +02:00
MidoriKami
b32a3b9385 Fix missed namespace 2023-09-20 09:46:38 -07:00
MidoriKami
6f40449ab3 Adjust Namespaces 2023-09-20 09:46:16 -07:00
MidoriKami
f48c6d499b [AddonEventManager] Cleanup logging 2023-09-19 22:08:06 -07:00
MidoriKami
674f02136b [AddonEventManager] Properly track and cleanup events.
Also replaced DTR hooks with AddonLifecycle events.
2023-09-19 17:16:55 -07:00
goat
979a5463ca
fix: dev plugins always need to retain their WorkingPluginId, even throughout reloads 2023-09-19 23:14:50 +02:00
KazWolfe
f7ae34281f
Update License to AGPL 3.0 or Later (#1373) 2023-09-19 23:11:23 +02:00
goat
9b31a7ff39
Merge pull request #1407 from Soreepeong/fix/noto-glyph-ranges 2023-09-19 19:29:17 +02:00
Soreepeong
84c5982c25 Use axis12 glyph ranges when loading noto12 as Dalamud default font 2023-09-19 15:17:15 +09:00
MidoriKami
5a3196e5f8
[AddonLifecycle] Fix incorrect delegate signature (#1401) 2023-09-18 04:21:01 +00:00
goat
40a8e607a8
Merge pull request #1370 from MidoriKami/AddonLifecycle_Enhancements 2023-09-17 23:52:05 +02:00
goat
0f74c8e62c
Merge pull request #1369 from MidoriKami/DTRBarEnhancements 2023-09-17 23:29:54 +02:00
MidoriKami
452cf7813f
Data Window ui rework (#1376) 2023-09-17 16:01:11 +02:00
MidoriKami
08fd4434ea
Dalamud Console Window UI-Rework (#1390)
Co-authored-by: Kaz Wolfe <root@kazwolfe.io>
2023-09-17 14:41:56 +02:00
goat
7dbd15965a
Merge pull request #1377 from KazWolfe/logging-filter-fix 2023-09-17 13:38:55 +02:00
Kaz Wolfe
8911d4ebc2
Re-add SourceContext property check
Technically an API breakage, some plugins are passing this for logging. Slated for removal in API 9, however.
2023-09-12 18:33:41 -07:00
bleatbot
5ad464f2a8
Update ClientStructs (#1388)
Co-authored-by: github-actions[bot] <noreply@github.com>
2023-09-12 08:53:00 -07:00
bleatbot
130a57f850
Update ClientStructs (#1371)
Co-authored-by: github-actions[bot] <noreply@github.com>
2023-09-11 22:02:32 -07:00
MidoriKami
9c0ca2769c Fix Aging Steps 2023-09-10 20:01:49 -07:00
MidoriKami
ca58a1bf4f Move AddonArgs to it's own file 2023-09-10 19:26:28 -07:00
MidoriKami
c9a5c7c4c5 Add AddonLifecycle to Self-Test 2023-09-09 20:21:26 -07:00
MidoriKami
f1c8201f1b Use vfunc call instead of hook 2023-09-09 18:49:04 -07:00
Kaz Wolfe
764e0a81b7
Fix log filtering with IPluginLog
- Rename `PluginLog`'s property to `Dalamud.PluginName` to match what `IPluginLog` is doing.
- Change `ModuleLog` to use `Dalamud.ModuleName` as its context property.
- Update the Console window to handle both changes.
  - Add the ability to filter to only Dalamud module log messages.
2023-09-09 15:21:05 -07:00
MidoriKami
1b4bee3d13 Remove array copy of handlers. 2023-09-08 21:07:03 -07:00
MidoriKami
40b875c8e9
Remove inconsistent reference to third-party (#1372) 2023-09-08 08:37:05 -07:00
MidoriKami
967c79fdd3 Improve logic for Unregistering Listeners 2023-09-08 02:33:27 -07:00
MidoriKami
e914f33990 Remove redundant null checking, and unused module log.
There's no reasonable way the args passed in will be null. There's tons of null checking that square does before passing the pointers to these functions. If they are null, then the game has likely already crashed.
2023-09-08 01:20:29 -07:00
MidoriKami
371b8a9dcc Restore AddonOnRequestedUpdate 2023-09-08 00:16:25 -07:00
MidoriKami
e54b09a3c5 Add Addon.OnRefresh 2023-09-07 12:24:45 -07:00
MidoriKami
6a0401646f Add AddonOnRequestedUpdate 2023-09-07 11:47:35 -07:00
KazWolfe
8c51bbf0f8
Add Scoped Plugin Log Service (#1341)
Adds a new `IPluginLog` service to Dalamud, which provides scoped logging on a per-plugin basis. This improves log performance for plugins, and paves the way for per-plugin log levels.

* Plugins must opt in to enable verbose logging by setting `IPluginLog.MinimumLogLevel` to `LogEventLevel.Verbose`. This option is automatically enabled for dev plugins and is currently not persisted.
    * All release plugins will default to `Debug` as their lowest allowed log level.
    * This setting does not override the global log level set in Dalamud.
2023-09-07 17:58:41 +00:00
KazWolfe
1dbf93e428
Add SpecialPluginSource to public API (#1357) 2023-09-07 19:33:46 +02:00
Kurochi51
37cb1f5dd0
Fade to black during credits animation (#1356) 2023-09-07 19:33:10 +02:00
MidoriKami
633894364d
Add Targets to TargetManager (#1364) 2023-09-07 10:12:19 -07:00
MidoriKami
a12d9df9a2
Chat Payload Remove Logspam (#1368) 2023-09-07 19:07:55 +02:00
bleatbot
7a03458696
Update ClientStructs (#1363)
Co-authored-by: github-actions[bot] <noreply@github.com>
2023-09-07 09:43:04 -07:00
MidoriKami
8cb76a7438 Fix incorrect AtkUnitBase.Update function delegate definition 2023-09-06 20:40:46 -07:00
MidoriKami
9176342ad5 Add AddonDraw, AddonUpdate 2023-09-06 16:00:37 -07:00
MidoriKami
4dabd07131 Prototype, untested 2023-09-06 13:08:04 -07:00
MidoriKami
692113958b Scope DTRBar 2023-09-05 14:35:08 -07:00
MidoriKami
166669597d [DtrBar] Probably fix concurrency issues 2023-09-05 14:03:37 -07:00