Commit graph

796 commits

Author SHA1 Message Date
goat
7283e634e9 allow loading dev plugins with the wrong API level, but add a validation error 2024-06-28 23:45:12 +02:00
goat
d628be9536 explicitly make ICommandInfo => IReadOnlyCommandInfo 2024-06-28 23:26:15 +02:00
goat
29f951c309 CommandInfo must be public to allow registering commands 2024-06-28 23:21:14 +02:00
Blair
7947b896ea
Add interfaces to non public/sealed classes referenced in public interfaces (#1808)
* Add interfaces to non public/sealed classes referenced in public interfaces

* Fixed inheritdocs + made most classes internal

* Add missing properties to IFate and Fate, fix documentation

---------

Co-authored-by: goat <16760685+goaaats@users.noreply.github.com>
2024-06-28 23:05:34 +02:00
Kaz Wolfe
d95befe96e
use CS TargetSystem for TargetManager service
- Remove address from service, as it's no longer necessary
2024-06-28 10:09:24 -07:00
Kaz Wolfe
fb4d9c5ac7
Merge branch 'refs/heads/master' into apiX 2024-06-27 16:22:54 -07:00
goat
c698ec9315 autoupdate: list which plugins are updateable in the notification 2024-06-25 23:58:19 +02:00
Kaz Wolfe
cce11a82be
Merge branch 'refs/heads/master' into apiX 2024-06-21 16:04:39 -07:00
goat
d244f7e09e autoupdate: wait longer for periodic check if user dismissed updates 2024-06-20 01:14:40 +02:00
goat
3509a0bdca pi: add "updateable plugins" page, open kind, make auto-updates go there by default 2024-06-18 23:04:04 +02:00
goat
c155be7db6 autoupdate: handle singular/plural in notification loc 2024-06-18 22:27:36 +02:00
goat
8553ef5412 pm: make sure to always destroy scope and interface when unloading a plugin 2024-06-18 21:37:30 +02:00
goat
5f51ca22e0 autoupdate: consider notification dismissal time as last check time 2024-06-17 19:23:55 +02:00
Kaz Wolfe
28ff62e488
fix errors/warnings 2024-06-16 16:45:18 -07:00
Blair
e160746d42
Add MarketBoard service and associated interfaces, test and data widget (#1822)
* Add MarketBoard service and associated interfaces, test and data widget
* Dispose of events properly
* Make listings readonly lists + provide internal list for internal use
* Rename CatalogId to ItemId on interfaces, have kept CatalogId internally as it's technically correct
* Removed RetainerOwnerId from the public interface
* Removed NextCatalogId from the public interface
* Updated test text
* Null events in scoped service disposal
2024-06-16 10:40:48 -07:00
goat
c91e24cb58 pi: "update all plugins" button must update banned plugins 2024-06-16 18:21:52 +02:00
github-actions[bot]
263610c9e7 Merge remote-tracking branch 'origin/master' into apiX-rollup 2024-06-15 22:45:08 +00:00
KazWolfe
1c03242aa9
feat: New Condition APIs (#1842)
* feat: New Condition APIs

- New methods for `ICondition`:
  - `AnyExcept` ensures the listed conditions are *not* present.
  - `OnlyAny` ensures that *only* the listed conditions are met.
  - `EqualTo` ensures that the condition state matches the listed set.
- New `IsGameIdle` method in `IClientState` can be used to check if the player is not in any "active" game state.
2024-06-15 15:44:47 -07:00
goat
13fc380dd5 disable autoupdate dry run by default 2024-06-15 23:09:08 +02:00
goat
c4e31bc5f1 use kaz's api for conditions instead 2024-06-15 19:29:23 +02:00
goat
3b4178082a localize all new auto-update strings 2024-06-15 18:54:01 +02:00
goat
bc2edf765f refactor UpdatePluginsAsync() to take a list of plugins to update instead 2024-06-15 18:36:49 +02:00
goat
8d18940108 initial implementation of new auto-update UX 2024-06-15 01:00:50 +02:00
goat
bc0bea03e0 add ICondition.Only() to check for a set of flags 2024-06-12 00:01:55 +02:00
github-actions[bot]
4e331b1d85 Merge remote-tracking branch 'origin/master' into apiX-rollup 2024-06-08 23:34:08 +00:00
goat
cf4ecacf85 pm: make sure that interface and scope are always disposed if ctor throws
This fixes an issue wherein dev plugins could end up in a half-disposed state if the ctor were to throw an exception
2024-06-08 21:44:25 +02:00
goat
625a71a6d1 remove inaccurate information from manifest comment 2024-06-08 21:43:48 +02:00
goat
830207f43e pm: consider plugins without a valid source repo as orphaned 2024-06-08 20:40:02 +02:00
goat
31e541fae5 deps: upgrade StyleCop, fix warnings
...fixes new array initializer expression
2024-06-07 21:19:16 +02:00
goat
02022599e5 console: add public interface 2024-06-07 21:04:31 +02:00
srkizer
5365dd14d8
Add comments on caching (#1829) 2024-06-07 08:42:38 +02:00
Soreepeong
0d7c0a0375 Merge remote-tracking branch 'upstream/apiX' into feature/itextureprovider-updates 2024-06-04 23:54:38 +09:00
Kaz Wolfe
8d5f2bdf51
Disambiguate ObjectId to GameObjectId and EntityId 2024-06-03 11:19:39 -07:00
Kaz Wolfe
61f47449fd
Merge branch 'refs/heads/master' into apiX
# Conflicts:
#	lib/FFXIVClientStructs
2024-06-01 15:13:32 -07:00
MidoriKami
b5d52732e0
Add hooking overloads (#1820) 2024-06-01 15:04:06 -07:00
Soreepeong
20717cce3d more 2024-05-21 09:27:51 +09:00
goat
913d4732b5 don't write to the manifest when reloading dev plugins(fixes #1328)
genericizes the way WorkingPluginId is accessed away from the manifest, since we probably don't want to have it there in the future for regular plugins either
2024-05-14 00:27:11 +02:00
Soreepeong
8c7771bf7d Merge branch 'apiX' into feature/itextureprovider-updates 2024-05-12 22:17:32 +09:00
Kaz Wolfe
d2a0c94ddd
Merge branch 'refs/heads/master' into apiX 2024-05-03 21:20:16 -07:00
meoiswa
00311b4dca
DalamudPluginInterface functions for opening Settings and DevMenu (#1795)
* Add functions for plugins to open the Developer Menu and Dalamud Settings windows

* Do not break ABI by instead declaring a new method OpenPluginsInstallerTo
Replace OpenDalamudSettings with OpenDalamudSettingsTo
2024-04-30 00:30:09 +02:00
Kaz Wolfe
b32ed39826
Merge branch 'refs/heads/master' into apiX
# Conflicts:
#	Dalamud/Game/Libc/LibcFunction.cs
#	Dalamud/Game/Libc/LibcFunctionAddressResolver.cs
#	Dalamud/Game/Libc/OwnedStdString.cs
#	Dalamud/Game/Libc/StdString.cs
#	Dalamud/Interface/UiBuilder.cs
2024-04-28 11:54:54 -07:00
Haselnussbomber
b98337be4e
Update XivChatEntry types and names (#1784) 2024-04-28 11:38:40 -07:00
Haselnussbomber
51c2f77812
Remove LibcFunction service (#1787) 2024-04-23 00:18:47 +02:00
Aireil
c228c92979
fix: testing API level being ignored (#1472)
Co-authored-by: goat <16760685+goaaats@users.noreply.github.com>
2024-04-22 19:52:00 +00:00
goat
448b0d16ea
Add "loading dialog" for service init, unify blocking logic (#1779)
* wip

* hacky fix for overlapping event text in profiler

* move IsResumeGameAfterPluginLoad logic to PluginManager

* fix some warnings

* handle exceptions properly

* remove ability to cancel, rename button to "hide" instead

* undo Dalamud.Service refactor for now

* warnings

* add explainer, show which plugins are still loading

* add some text if loading takes more than 3 minutes

* undo wrong CS merge
2024-04-21 17:28:37 +02:00
srkizer
bd2c9b2258
Apply most of Api10ToDo (#1782) 2024-04-20 23:25:33 -07:00
goat
808f66edc6
Expose DTR entries in public interface (#1778)
* expose DTR entries in public interface

* add IReadOnlyDtrBarEntry.UserHidden
2024-04-20 14:46:04 +02:00
goat
62863becd5 add InstalledPluginState api10 todo 2024-04-20 02:30:21 +02:00
goat
285d3bed42 pi: properly support changelogs for testing plugins 2024-04-16 00:58:12 +02:00
MidoriKami
e32fc00277
IContextMenu Tweaks and Cleanup (#1753)
* Tweaks and cleanup

* Fix backwards logic
2024-04-11 23:23:13 +02:00