Commit graph

95 commits

Author SHA1 Message Date
goaaats
6604678050 merge from master 2025-03-08 16:10:25 +01:00
goat
2d6689b9d3 move lumina version out of csproj 2024-12-22 19:14:18 +01:00
github-actions[bot]
73072d78ba Merge remote-tracking branch 'origin/master' into net9-rollup 2024-11-28 17:19:34 +00:00
Asriel
2fd8e49b34
Update to Lumina 5.6.0 and Lumina.Excel 7.1.3 (#2118) 2024-11-24 07:06:25 -08:00
srkizer
d19b7d70d5
Move UtfEnumerator from Dalamud to Lumina (#2111)
* Move UtfEnumerator from Dalamud to Lumina

Comes with some trivial cleanups.

* Update Lumina to 5.5.0
2024-11-20 09:32:49 -08:00
github-actions[bot]
a8f3098d74 Merge remote-tracking branch 'origin/master' into net9-rollup 2024-11-17 13:36:00 +00:00
Asriel Camora
93b2b5228a
Update to Lumina 5.4.0 and Lumina.Excel 7.1.2 (#2100) 2024-11-16 20:24:33 -08:00
Asriel Camora
8ccac255cb
Update to Lumina 5.3.0 and Lumina.Excel 7.1.1 (#2096) 2024-11-16 14:47:06 -08:00
goat
9d4bc95f7d initial net9 port 2024-11-14 01:08:07 +01:00
Blair
d6ac69ff6b
Update Lumina to 5.2.1 and Lumina.Excel to 7.1.0 (#2075) 2024-11-13 08:15:24 -08:00
Kaz Wolfe
cffc123abd
deps: bump coreplugin lumina 2024-11-01 09:22:24 -07:00
Asriel Camora
0b9af0e3f4
Update to Lumina 5 (new Excel parsing) (#2022)
* Refactor and upgrade to new excel design

* Obsolete ExcelResolver<T> and use only RowRef<T>

* Better benchmarking for Lumina

* Add custom game-supported RSV provider

* Refactor and move Lazy<T> and nullable/cached row objects to RowRefs

* Convert IRSVProvider to delegate, resolve strings by default

* Split IExcelRow into IExcelSubrow

* Extra lumina documentation

* Minor RSV CS fixes

* Fix UIGlowPayload warning

* Fix rebase

* Update to Lumina 5
2024-10-20 19:59:03 -07:00
srkizer
1f74293de4
Update Lumina and use MacroStringParser (#2033)
No longer requires hook and main thread requirements on compiling macro
strings.

Needs lookup table fixing on Lumina; using reflection to fix for the
time being.
2024-09-14 10:23:24 -07:00
srkizer
eb2724f366
Bump Lumina to 4.1.1 (#1997) 2024-08-04 17:44:25 +02:00
goat
459ed3769a also upgrade CorePlugin 2024-07-10 23:33:13 +02:00
goat
a1f91084b4 upgrade Lumina to 4.1.0 2024-06-29 22:27:38 +02:00
goat
7d905421f6 fix CorePlugin release build 2024-06-29 19:25:43 +02:00
Blair
2e3153c502
Make DalamudPluginInterface into IDalamudPluginInterface (#1807)
* Make DalamudPluginInterface into IDalamudPluginInterface

* Interface UiBuilder
2024-06-29 00:00:57 +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
6c3e6e0faa
dep: Upgrade to Lumina.Excel 7.0.0 2024-06-27 16:23:09 -07: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
Haselnussbomber
7280744def
Update Lumina to 3.17.0 (#1780)
* Update Lumina to 3.17.0

* Dispose GameData in DataManager

* Update Microsoft.Extensions.ObjectPool
2024-04-21 15:22:25 +02:00
github-actions[bot]
4abb3535fa Merge remote-tracking branch 'origin/master' into net8-rollup 2024-03-16 16:02:57 +00:00
srkizer
87b9edb448
Add IInternal/PublicDisposableService (#1696)
* Add IInternal/PublicDisposableService

Plugins are exposed interfaces that are not inherited from
`IDisposable`, but services implementing plugin interfaces often
implement `IDisposable`. Some plugins may try to call
`IDisposable.Dispose` on everything provided, and it also is possible to
use `using` clause too eagerly while working on Dalamud itself, such as
writing `using var smth = await Service<SomeService>.GetAsync();`. Such
behaviors often lead to a difficult-to-debug errors, and making those
services either not an `IDisposable` or making `IDisposable.Dispose` do
nothing if the object has been loaded would prevent such errors. As
`ServiceManager` must be the only class dealing with construction and
disposal of services, `IInternalDisposableService` has been added to
limit who can dispose the object. `IPublicDisposableService` also has
been added to classes that can be constructed and accessed directly by
plugins; for those, `Dispose` will be ignored if the instance is a
service instance, and only `DisposeService` will respond.

In addition, `DalamudPluginInterface` and `UiBuilder` also have been
changed so that their `IDisposable.Dispose` no longer respond, and
instead, internal functions have been added to only allow disposal from
Dalamud.

* Cleanup

* Postmerge fixes

* More explanation on RunOnFrameworkThread(ClearHooks)

* Mark ReliableFileStorage public ctor obsolete

---------

Co-authored-by: goat <16760685+goaaats@users.noreply.github.com>
2024-03-16 15:58:05 +00:00
github-actions[bot]
b68da56e74 Merge remote-tracking branch 'origin/master' into net8-rollup 2024-02-29 23:15:23 +00:00
Haselnussbomber
914cd363fd
Bump Lumina to 3.16.0 2024-02-15 01:45:10 +01:00
github-actions[bot]
5fbba87e59 Merge remote-tracking branch 'origin/master' into net8-rollup 2024-02-11 18:20:47 +00:00
Soreepeong
871deca6e9 Remove PostPromotion event
`PostPromotion` is removed, as `IFontHandle.ImFontChanged` now does the job. It also removes the possibility that resources may get disposed while post promotion callback is in progress.

* `IFontHandle.ImFontChanged` is now called with a locked instance of the font.
* `IFontHandle.ImFontLocked`: Added `NewRef` to increase reference count.
2024-01-23 23:49:57 +09:00
Soreepeong
af1133f999 Determine optional assets availability on startup 2024-01-21 04:21:26 +09:00
github-actions[bot]
de584c8fa0 Merge remote-tracking branch 'origin/master' into net8-rollup 2023-11-28 21:55:56 +00:00
srkizer
40e90a39c8
Add Dalamud.CorePlugin.json (#1533) 2023-11-21 22:30:38 -08:00
goat
8a2ba70cc3
chore: upgrade projects to net8 2023-11-14 20:23:02 +01:00
liam
9850ac3f15
Bump Luminas (#1499)
* Bump Luminas

* Bump Excel
2023-10-24 18:03:55 +02:00
goat
972abe78ce
Revert "Bump Luminas (#1495)" (#1497)
This reverts commit 3fb5bcc348.
2023-10-21 00:38:11 +02:00
liam
3fb5bcc348
Bump Luminas (#1495)
* Bump Luminas

* Bump CorePlugin too
2023-10-20 20:11:13 +02:00
goat
482a607335
fix warnings 2023-10-03 19:04:04 +02:00
goat
5cdb707ef3
deps: upgrade Lumina.Excel to 6.5.0 2023-10-03 19:03:50 +02:00
goat
4a1b220d4a
fix: register interfaces for provided services 2023-09-30 01:09:25 +02:00
goat
c55b93d3c2
chore: remove IDalamudPlugin.Name 2023-09-23 11:17:53 +02:00
Kaz Wolfe
4f8de2e205
Obsolete (static) PluginLog for future removal
- Mark PluginLog as obsoleted and pending removal, encouraging users to switch to IPluginLog.
- Remove internal references to PluginLog.
2023-09-22 17:01:10 -07:00
Kaz Wolfe
4870428bac
Bump Lumina to 3.11.0 2023-09-11 21:32:56 -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
goat
3272dbb0e2
feat: add OpenMainUi event on UiBuilder, respective button in PI 2023-08-22 22:29:09 +02:00
goat
aa2cd47ef3
fix warnings in injector 2023-06-09 23:38:15 +02:00
goat
166301f56f
fix warnings in Dalamud 2023-06-09 23:38:13 +02:00
KazWolfe
dd1586d5d6
6.4 Patch Rollup (#1206)
Fix Dalamud for 6.4, hopefully.
2023-05-23 18:41:59 +00:00
goat
daa9f72218
IOC: scoped/on-demand services (#1120) 2023-05-21 22:43:28 +02:00
goat
dd8921a1f3
deps: upgrade Lumina to 3.10.2 2023-04-06 21:42:49 +02:00
Ava Chaney
c71f876fb1
release: 7.5.0.0 (#1175)
* Update ClientStructs

* chore: bump Lumina -> 3.10.1, Lumina.Excel -> 6.3.2

* build: 7.4.10.0

* build: 7.5.0.0

---------

Co-authored-by: github-actions[bot] <noreply@github.com>
2023-04-05 00:23:35 -07:00
goat
cc4a0652c2
feat: configurable log path 2023-01-11 18:37:33 +01:00