Commit graph

216 commits

Author SHA1 Message Date
Soreepeong
d70b430e0d Add IFontHandle.Lock and WaitAsync 2024-01-21 03:10:41 +09:00
Soreepeong
dd5cbdfd5d IFontAtlas API9 compat: support reading GameFontHandle.ImFont during UiBuilder.After/BuildFonts 2024-01-21 00:15:12 +09:00
github-actions[bot]
c993be9c97 Merge remote-tracking branch 'origin/master' into net8-rollup 2023-12-16 20:06:06 +00:00
srkizer
a0f4baf8fa
Less footguns in service dependency handling (#1560) 2023-12-06 21:29:46 -08:00
github-actions[bot]
de584c8fa0 Merge remote-tracking branch 'origin/master' into net8-rollup 2023-11-28 21:55:56 +00:00
Soreepeong
a72f407357 Add DalamudAssetManager 2023-11-28 22:31:46 +01:00
Soreepeong
01153a2480 Add DisposeSafety 2023-11-28 22:31:46 +01:00
Ottermandias
fc837f723b
Check for function pointers in SignatureHelper. (#1540) 2023-11-25 12:24:58 -08:00
goat
90dfa990fc
fix: undo breaking change in Util.ShowStruct
moves implementation with new arg to an internal func
2023-10-16 01:38:30 +02:00
srkizer
822e26ef93
Support Span<T> preview through ShowStruct (#1485) 2023-10-15 12:18:33 +02:00
srkizer
df2474bc87
Disable Utils.Show... from attempting to display Spans (#1467) 2023-10-09 08:37:16 -07:00
KazWolfe
2405dca9e1
fix: Fix a bug where flashIfOpen's behavior was inverted. (#1468) 2023-10-05 23:10:24 +02:00
KazWolfe
2083ccda00
Remove internal dependencies on opcodes (#1464)
- Removes the opcode lists from internal API entirely
- Move NetworkHandlers to use packet handler sigs
- Remove opcode data from NetworkMonitorWidget
2023-10-05 17:01:03 +00:00
goat
196504d625
chore: remove now useless MoveFile import 2023-10-04 23:47:08 +02:00
goat
707bcd4d82
chore: use CsWin32 for WriteAllBytesSafe()
We should start converting more to it, as time goes on
2023-10-04 23:45:31 +02:00
goat
1d8b579b04
feat: also use reliable storage for plugin configs 2023-09-27 22:39:09 +02:00
goat
ebabb7bd04
chore: make SigScanner public, have separate service TargetSigScanner that resolves via ISigScanner (closes #1426) 2023-09-24 01:49:34 +02:00
Haselnussbomber
64f76ec69f
Fix SignatureHelper Hooks 2023-09-23 17:20:19 +02:00
goat
7a182b6ef7
Merge branch 'v9' into ihookprovider 2023-09-23 10:57:09 +02:00
goat
1304c54eff
docs fixed 2023-09-23 10:39:29 +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
MidoriKami
b742abe77f
Add ClientStatePluginScoped (#1384)
* Add ClientStatePluginScoped

* Restore InvokeSafely

* Add InvokeSafely for basic Action types.

* Set delegates to null to prevent leaking memory

* Resolve Merge
2023-09-21 21:55:16 -07:00
goat
173e9a3144
IHookProvider => IGameInteropProvider 2023-09-21 22:07:09 +02:00
goat
dc16d73baf
Merge branch 'ihookprovider' of github.com:goaaats/Dalamud into ihookprovider 2023-09-21 21:42:48 +02:00
goat
a59875bb77
Merge branch 'v9' into ihookprovider 2023-09-21 21:42:08 +02:00
MidoriKami
2b2a027fb0 Move WriteAllTextSafe to correct location 2023-09-19 23:44:56 -07:00
MidoriKami
c305c01dfd Nullify Scoped Service Delegates 2023-09-19 23:43:45 -07:00
Kaz Wolfe
088cf8c392
Remove fancy Darwin checking code 2023-09-13 00:23:17 -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
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
MidoriKami
385c4b7a8b
Add IFramework (#1286) 2023-09-10 13:19:44 -07:00
goat
3f764d2e40
pass on backend, spelling 2023-08-07 23:57:31 +02:00
goat
e1da238cb5
feat: IHookProvider service, no more static hook creation 2023-08-06 20:58:55 +02:00
goat
02e1f2502e
refactor: move Dalamud.Interface utils into main assembly, warnings pass 2023-08-04 19:36:09 +02:00
github-actions[bot]
5da34cbc81 Merge remote-tracking branch 'origin/master' into v9-rollup 2023-07-27 12:07:53 +00:00
MidoriKami
ead207fc67
Improve Search (#1305)
Co-authored-by: goat <16760685+goaaats@users.noreply.github.com>
2023-07-26 21:15:14 +00:00
goat
98bdec1e34
chore: only expose manifests as interfaces 2023-06-29 13:29:33 +02:00
Ava Chaney
54f3fe7a2f Merge branch 'master' into v9 2023-06-24 14:10:39 -07:00
MidoriKami
694159a510
/xldata window refactor (#1257)
Reworks the `/xldata` window so that each individual section is in its own file.
2023-06-23 10:54:40 -07:00
goat
28e9d5f156
fix: lock profile manager while changing state 2023-06-20 19:20:08 +02:00
Ava Chaney
2e0e46384c Merge branch 'master' into v9 2023-06-18 00:45:43 -07:00
goat
faedf16d47
Merge branch 'master' of github.com:goatcorp/Dalamud into profiles 2023-06-12 19:58:00 +02:00
goat
166301f56f
fix warnings in Dalamud 2023-06-09 23:38:13 +02:00
goat
e4724c36a8
Merge branch 'master' of github.com:goatcorp/Dalamud into profiles 2023-06-08 20:29:20 +02:00
Ava Chaney
1de8b6983d Merge branch 'master' into v9 2023-05-29 17:48:39 -07:00
KazWolfe
956e310041
Clean up Happy Eyeballs Verbose Spam (#1224)
* Clean up HappyEyeballs verbose spam

- Cancellations should be properly suppressed now

* Bump ClientStructs
2023-05-28 22:46:49 -07:00
goat
fe6196d0ad
merge master into profiles 2023-05-28 16:06:05 +02:00
Ava Chaney
8bd0cb0c57 cleanup: remove obsolete Util.HttpClient, Util.CopyTo() 2023-05-27 17:37:41 -07:00
goat
a7c2dc6720
chore: some PluginLog => Log in dalamud code 2023-05-22 00:02:20 +02:00
Kaz Wolfe
76190d7e59
Happy Eyeballs Rev 2: The DNS-ening
Instead of simply trying a V6 connection and following it with a plain V4 connection, this method relies on DNS to make some smarter decisions on resolution. This improves performance and reliability for users (and servers) without IPv6 connectivity at all.

- Switch to a DNS-driven strategy for Happy Eyeballs
- Add a Zipper Merge and CancellableDelay utility to the corups
- Remove state from HappyEyeballsCallback as it largely went unused
- Fix a couple small implementation bugs
- Suppress innocent (unhandled) exceptions.
2023-04-27 00:00:45 -07:00