Commit graph

913 commits

Author SHA1 Message Date
Haselnussbomber
27f924f3b1
Restore commandId parameter (#2349) 2025-08-06 19:17:34 -07:00
Blair
8d29e6b44d
Interface ActivePluginsChangeEventArgs (#2341) 2025-08-05 10:38:11 -07:00
MidoriKami
bf5fcaaf00
IObjectTable Helpful Enumerables (#2328)
* Add ObjectTable Enumerables

* Put kind check on the correct function
2025-08-04 15:47:39 -07:00
Haselnussbomber
58fbff7c56
Update text-related ImGui calls (#2337)
* Update text-related ImGui calls

* Use ImU8String for SafeTextColored

* Restore wrapped calls

* Update MenuItem call

* Use ImGui.Text over ImGui.TextUnformatted

* Add ImGui.TextColoredWrapped

* Obsolete SafeText helpers

* Fix obsoleted calls

* SafeTextColored didn't exist before imgui-bindings

* Remove %% replacements
2025-08-04 15:46:43 -07:00
Kaz Wolfe
bd52c60c6f
Merge branch 'imgui-bindings' into api13
# Conflicts:
#	Dalamud/Game/Gui/GameGui.cs
#	Dalamud/Interface/Internal/UiDebug.cs
#	Dalamud/Interface/Internal/Windows/Data/Widgets/AddonWidget.cs
#	Dalamud/Interface/Internal/Windows/SelfTest/Steps/ItemPayloadSelfTestStep.cs
2025-08-04 11:30:14 -07:00
Kaz Wolfe
cb29322968
chore: Remove IGameNetwork
- Deprecated in favor of hooks. See #2241.
- Subject to Goat yelling at me.
2025-08-03 18:39:38 -07:00
Haselnussbomber
191dfb57e3
[API13] Fire ActivePluginsChanged after a plugin loaded/unloaded (#2334)
* Fire ActivePluginsChanged after a plugin loaded/unloaded

* Add ActivePluginsChangedEventArgs

* Use past tense
2025-08-03 18:28:44 -07:00
MidoriKami
6369982b48
IDtrBar Add Additional Click Events (#2325)
* Add additional dtr click events

* Let's just break things and make them really nice

* Add additional dtr click events

* Let's just break things and make them really nice

* Add additional dtr click events

* Let's just break things and make them really nice

* git is stupid

* Documentation fixing
2025-08-03 18:15:05 -07:00
Haselnussbomber
63e7cb25b5
[Api13] Update ChatLinkHandler functions (#2322)
* Update ChatLinkHandler functions

- Move functions to IChatGui
- Switch CommandId to type Guid and generate them automatically

* Remove unused field
2025-08-03 18:07:21 -07:00
Haselnussbomber
ff934d981c
Remove Experimental from ISeStringEvaluator (#2327) 2025-08-03 17:44:16 -07:00
Haselnussbomber
57c6089fc1
[Api13] Add native wrapper structs (#2330) 2025-08-03 17:43:52 -07:00
Haselnussbomber
564c220ed2
[Api13] Remove obsoletes (#2323)
* Remove IFate.HasExpBonus

* Remove IAddonEventManager.AddonEventHandler

* Remove obsolete filesystem functions from Util

* Remove more obsoletes
2025-07-26 12:50:42 -07:00
Kaz Wolfe
f63ee5cb76
Merge branch 'master' into imgui-bindings 2025-07-03 19:02:35 -07:00
srkizer
03e728e129
Use EnumerateInvocationList instead of GetInvocationList (#2303) 2025-06-23 22:09:48 +02: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
MidoriKami
13306e24ba
Refactor IAddonEventManager (#2299) 2025-06-17 10:51:00 -07:00
Haselnussbomber
e20f132abe
Add ISeStringEvaluator.EvaluateMacroString (#2281) 2025-05-29 19:38:10 +02:00
goaaats
b4e62571a6 Add option to auto-update disabled plugins 2025-05-10 01:10:53 +02:00
srkizer
4dce0c00e8
Implement DrawListTextureWrap (#2036)
* Implement DrawListTextureWrap

* Fix unloading

* minor fixes

* Add CreateFromClipboardAsync

---------

Co-authored-by: goat <16760685+goaaats@users.noreply.github.com>
2025-05-09 22:47:42 +02:00
goaaats
df8de39098 Even more boot load logging 2025-05-07 23:49:32 +02:00
goaaats
ac14d61a86 Add some more logging to boot plugin loads 2025-05-07 22:40:05 +02:00
goaaats
85b77226e9 Clarify wording in settings and error notifications 2025-05-02 02:22:06 +02:00
goaaats
ddf0a97c83 Add plugin error notifications, per-plugin event invocation wrappers 2025-05-01 20:47:03 +02:00
goaaats
69d8968dca IoC: Allow private scoped objects to resolve singleton services 2025-05-01 14:47:02 +02:00
goat
f5d93fb08e
Add MinimumDalamudVersion to manifest, validate at install, update and load (#2248) 2025-04-28 21:09:40 +02:00
goaaats
a925e37ceb Actually respect remember state flag 2025-04-26 12:47:44 +02:00
goaaats
731d7e0f6e Un-whether-or-not the codebase 2025-04-25 22:49:05 +02:00
goaaats
f4102db488 Add "startup behavior" to profiles
Choose between remember, always enable, always disable
2025-04-25 22:49:05 +02:00
goaaats
e29171cc99 Fix race condition in plugin load
When opening the installer while boot plugins are still loaded, it may have been possible for plugins to be added to the installed plugins list twice, causing various statekeeping issues
2025-04-24 21:59:36 +02:00
goaaats
b810154125 Add MinimumDalamudVersion to manifest, validate at install, update and load 2025-04-15 21:29:18 +02:00
Haselnussbomber
499952b3d2
SeStringEvaluator: Fix HeadAll not capitalizing correctly (#2240)
* Fix obsoletes

* Fix HeadAll not capitalizing correctly

* Fix incorrect denoun cases in SeString Creator

* Implement Utf8String.ToUpper in C#

* Handle characters with accents too

* Add remarks to ToUpper functions
2025-04-09 22:13:11 +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
34ca8b8f99 Fix updates failing due to flipped WorkingPluginId check 2025-04-01 19:58:19 +02:00
goaaats
34679d085b Extract plugin to temp directory before copying to final location, some minor cleanup 2025-04-01 18:55:27 +02:00
goaaats
f94f03e114 Merge branch 'api12' 2025-03-26 20:44:48 +01:00
Blair
19ba6a961f
Switch INotificationManager and ITitleScreenMenu to use ISharedImmediateTexture (#1879)
* Switch INotificationManager and ITitleScreenMenu to use ISharedImmediateTexture #1879

* Remove SetIconTexture
Remove some remarks that no longer apply

* Cleanup StyleCop warnings
2025-03-26 20:36:18 +01:00
Haselnussbomber
fdbfdbb2cd
Add SeStringEvaluator service (#2188)
* Add SeStringEvaluator service

* Move DrawCopyableText into WidgetUtil

* Use Icon2RemapTable in SeStringRenderer

* Beautify some code

* Make sure to use the correct language

* Add SeString Creator widget

* Fix getting local parameters

* Update expressionNames

* misc changes

* Use InvariantCulture in TryResolveSheet

* Add SeStringEvaluatorAgingStep

* Fix item id comparisons

* Add SheetRedirectResolverAgingStep

* Add NounProcessorAgingStep

* Update SeString.CreateItemLink

This also adds the internal ItemUtil class.

* Fix name of SeStringCreator widget

* Add Global Parameters tab to SeStringCreatorWidget

* Load widgets on demand

* Update SeStringCreatorWidget

* Resizable SeStringCreatorWidget panels

* Update GamepadStateAgingStep

* Experimental status was removed in #2144

* Update SheetRedirectResolver, rewrite Noun params

* Fixes for 4 am code

* Remove incorrect column offset

I have no idea how that happened.

* Draw names of linked things

---------

Co-authored-by: Soreepeong <3614868+Soreepeong@users.noreply.github.com>
Co-authored-by: KazWolfe <KazWolfe@users.noreply.github.com>
2025-03-24 09:00:27 -07:00
Vanillaaaa
9815cf1d88
perf: show whether plugin toggle is enable or disable (#2189) 2025-03-23 21:38:47 -07:00
Kaz Wolfe
8939cac80f
fix: actually add values 2025-03-23 18:45:15 -07:00
Kaz Wolfe
aaa3e33a8b
chore: PluginLoadReason is flags 2025-03-23 18:37:44 -07:00
Jackson
0ada421460
Expose more of LocalPlugin to ExposedPlugin (#2177) 2025-02-15 19:58:04 +00:00
KazWolfe
a656fefb2b
feat: Allow /xldev to disable Safe Mode (#2166)
- Adds new menu item to /xldev to disable Safe Mode, allowing users to load plugins again.
  - Safe mode cannot be re-enabled once disabled.
- Add new ModuleLog.Create<T> for eventual ILogger magic
- Make safe mode writable
- Remove redundant check in CheckPolicy
2025-01-09 22:01:46 +01:00
goat
e0eca2ac70 don't auto-enable imgui asserts for now, until we have better tracing 2025-01-02 17:29:49 +01:00
goat
2e2feb144f fix some warnings 2024-12-26 14:11:14 +01:00
goat
776a838dbe remove legacy MonoMod patches for codebase and assembly location 2024-12-25 23:48:07 +01:00
goat
b79c646b9b only turn ImGui asserts on if we are actually loading a devplugin 2024-12-25 23:48:07 +01:00
goat
a1ae33bfee don't set plugin to fail state if we threw InvalidPluginOperationException
These are supposed to indicate to the user that they called a function at the wrong point in time. We don't want to actually mutate the state in that case.
2024-12-23 21:03:31 +01:00
goat
8276c19c6f add plugin enable/disable/toggle commands 2024-12-23 21:00:02 +01:00