Commit graph

4222 commits

Author SHA1 Message Date
Kaz Wolfe
57ae2264e3
Fix SA1502 errors on autoformat
- Braces in `{ }` style cause SA1502 to complain.
2023-09-16 18:11:06 -07:00
Kaz Wolfe
a9a0980372
Fix random build warnings. 2023-09-16 18:07:19 -07:00
Kaz Wolfe
85bb5229d9
Update ClientStructs
- Fix build errors caused by obsoletes
2023-09-16 18:06:12 -07:00
kal
947cd79bca
chore: remove remaining obsolete icons 2023-09-16 20:54:29 -04:00
MidoriKami
7080087e9d Scope ChatGui 2023-09-13 19:06:28 -07:00
MidoriKami
6eba1415f5 Add IChatGui 2023-09-13 18:46:46 -07:00
Kaz Wolfe
088cf8c392
Remove fancy Darwin checking code 2023-09-13 00:23:17 -07: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
Kaz Wolfe
a7aacb15e4
Add XL_PLATFORM env var, Util.GetHostPlatform()
- New env var XL_PLATFORM allows launcher to inform Dalamud of the current platform (one of Windows, macOS, or Linux).
- New method Util.GetHostPlatform() provides a best guess for the current platform. This method will respect XL_PLATFORM if set, but will otherwise resort to heuristic checks.
2023-09-12 18:27:41 -07:00
Kaz Wolfe
0fca2c80c3
Fix a build error, oops 2023-09-12 18:14:54 -07:00
Kaz Wolfe
2acba2b81f
Update Dalamud.Boot to use extra import checks
- Ports extra import checks to Dalamud Boot
- Renames is_running_on_linux to is_running_on_wine
- Update relevant logging string for VEH
2023-09-12 17:07:46 -07:00
Kaz Wolfe
fd518f8e3f
fix: Don't check for Wine Registry anymore
- Renames `IsLinux` to `IsWine` to better reflect that this will return true for macOS as well.
- Fixes a bug caused by misbehaving apps wanting to be helpful to Linux users
- Also makes Wine checking far more resilient in cases where XL_WINEONLINUX isn't set.
2023-09-12 17:07: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
3e613cffd0
Update ClientStructs (#1371) (#1387)
Co-authored-by: github-actions[bot] <noreply@github.com>
2023-09-11 22:20:20 -07:00
MidoriKami
e3d688141c
Add ConditionPluginScoped (#1385) 2023-09-11 22:20:05 -07:00
MidoriKami
d96175ed16
Add DutyStatePluginScoped (#1382) 2023-09-11 22:10:36 -07:00
MidoriKami
abf7c243e4
Add GameGuiPluginScoped (#1381) 2023-09-11 22:09:01 -07:00
MidoriKami
181ec6b956
Add GameNetworkPluginScoped (#1380) 2023-09-11 22:07:46 -07:00
MidoriKami
af63217564
Add ITitleScreenMenu and Scoped Service. (#1379) 2023-09-11 22:06:40 -07:00
bleatbot
130a57f850
Update ClientStructs (#1371)
Co-authored-by: github-actions[bot] <noreply@github.com>
2023-09-11 22:02:32 -07:00
Kaz Wolfe
4870428bac
Bump Lumina to 3.11.0 2023-09-11 21:32:56 -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
0f3b9eab8c
Add IToastGui (v9) (#1280) 2023-09-10 16:24:47 -07:00
MidoriKami
617c2bdb9c
Add IFlyTextGui (v9) (#1278) 2023-09-10 16:18:10 -07:00
Ava Chaney
d807257670
Merge pull request #1343 from goatcorp/v9-rollup 2023-09-10 15:34:10 -07:00
MidoriKami
d378fe1dfc
Add IPartyFinderGui (v9) (#1279) 2023-09-10 15:20:44 -07:00
Kaz Wolfe
275ec72ab7
Re-Add Lost Import
- No idea how, but the import for ImGuiHelpers was lost.
2023-09-10 14:56:28 -07:00
github-actions[bot]
38a4a7f580 Merge remote-tracking branch 'origin/master' into v9-rollup 2023-09-10 21:53:08 +00:00
MidoriKami
385c4b7a8b
Add IFramework (#1286) 2023-09-10 13:19:44 -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