Commit graph

105 commits

Author SHA1 Message Date
goaaats
7b723687a4 Use NuGet CPM to ensure consistent package versions
Fixes various issues with projects referencing different versions of libraries, causing deployment issues if build order differs
2025-10-15 22:58:26 +02:00
Asriel
d6aa6b8b64
[API 13] Add Lumina.Excel as submodule (#2332)
* WIP on excel-submodule

* Add Lumina.Excel to build

* Fix sheet changes
2025-08-04 23:11:59 -07:00
goaaats
90e426b325 Remove ImGui.NET entirely 2025-06-22 22:21:12 +02:00
goaaats
95ec633cc5 merge 2025-06-22 21:39:38 +02:00
goaaats
abde79dbc8 Re-add toggle window commands to CorePlugin 2025-05-31 12:00:40 +02:00
goaaats
6858c646a2 Fix conds in Window 2025-04-14 21:06:38 +02:00
goaaats
ad3b0f0194 Fix some warnings 2025-04-08 22:21:04 +02:00
goaaats
0690cce995 wip bindings upgrade 2025-04-06 20:59:23 +02:00
goaaats
2951dc93ec Merge master 2025-04-03 21:14:12 +02:00
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
Soreepeong
faf61477c7 Move ImGuiScene into Dalamud project 2024-07-19 18:13:37 +09: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