Commit graph

53 commits

Author SHA1 Message Date
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
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
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
Ava Chaney
2e0e46384c Merge branch 'master' into v9 2023-06-18 00:45:43 -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
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
KazWolfe
6a0b4e5ad7
Add Happy Eyeballs Support (#1187) 2023-04-23 11:09:55 +02:00
goat
642e8bf6d3
Profiles (#1178) 2023-04-10 19:17:00 +02:00
goat
c8a7c69ee0
feat: add git commit count to assembly info/show in dev bar 2023-03-19 17:08:42 +01:00
goat
86181cd2d4
fix: save config + manifests by first writing them to another file and moving them over
Should hopefully make corrupted configs a bit more rare
2023-03-19 13:11:27 +01:00
goat
1e40cabdc6
feat: make Windows 11 immersive mode configurable 2023-02-19 13:27:58 +01:00
goat
987ff8dc8f
chore: convert Dalamud to file-scoped namespaces 2022-10-29 15:23:22 +02:00
Aireil
877f242ac8
chore: always display 2 decimal places when formatting bytes (#989) 2022-08-31 22:07:47 +02:00
kizer
716736f022
Improvements (#903) 2022-06-29 11:51:40 +02:00
goaaats
02d19df0f7
refactor: move CopyGlyphsAcrossFonts into ImGuiHelpers.cs 2022-05-12 10:59:53 +02:00
kizer
d68b3a1845
Expose CopyGlyphsAcrossFonts (#824) 2022-05-12 10:46:50 +02:00
goat
96ed22534c
chore: fix some warnings, cleanup 2022-04-25 20:04:17 +02:00
Cara
0ba22c44cb (fix) Don't show properties that require parameters in ShowStruct
Stop exploding
2022-01-31 21:45:09 +10:30
goaaats
a4ce3d0688
refactor: move FastByteArrayCompare from ChatGui to Util 2022-01-27 01:22:57 +01:00
goat
4dc0096ff3
docs: anna sig stuff helpers 2022-01-26 03:54:07 +01:00
goat
1083c2f95e
feat: add total memory usage to dev bar 2022-01-25 21:50:31 +01:00
goaaats
2d90598b70
refactor: make all PluginInterface classes explicitly disposable 2022-01-08 03:00:56 +01:00
goaaats
9171b0ac47
fix: Util.CompressString() not processing any bytes 2021-12-24 13:19:35 +01:00
Soreepeong
e64cc7e687 Print dotnet stack trace on veh error msgbox, and use precompiled headers. 2021-12-24 12:23:23 +09:00
Raymond
00d673a16b Formatting 2021-12-10 13:41:01 -05:00
goat
dd12a284e5
feat: add Util.OpenLink() 2021-12-08 09:30:05 +01:00
goat
c5237663b8
feat: add Util.ShowStruct<T>(T*) 2021-12-08 03:18:18 +01:00
goat
6d22edb390
fix: also set correct item spacing for Util.ShowStruct 2021-12-08 01:47:02 +01:00
goat
ca52a8c9e4
feat: add Util.ShowGameObjectStruct, switch target data viewer 2021-12-07 22:29:51 +01:00
goat
a3b217b3a0
refactor: PrintOutObject => ShowStructure 2021-12-07 22:15:20 +01:00
goat
71ed733874
fix: correctly handle null structs in Util.PrintOutObject 2021-12-07 22:08:00 +01:00
goat
ca15a9c035
feat: add SafeMemory.PtrToStructure/<T> 2021-12-07 22:05:01 +01:00
goat
65d0acaf64
feat: move UIDebug PrintOutObject into Util, add ImGuiHelpers.ClickToCopyText 2021-12-07 21:54:05 +01:00
Raymond
cb78329f1d fix: GetType safely 2021-12-05 17:19:17 -05:00
Raymond
287c7c8a78 Update showObject, use in gauge pane 2021-12-05 12:23:52 -05:00
goaaats
6a977fb59e
feat: show client structs hash in Game submenu 2021-12-05 02:08:43 +01:00
goat
1561fbac00
Revert "refactor(Dalamud): switch to file-scoped namespaces"
This reverts commit b5f34c3199.
2021-11-18 15:23:40 +01:00
goat
b5f34c3199
refactor(Dalamud): switch to file-scoped namespaces 2021-11-17 19:42:32 +01:00
Raymond
6d9f7584d6 Cleanup util 2021-11-10 11:56:54 -05:00
Raymond
321f39dc55 Reuse httpclient, create in Util 2021-11-10 11:56:39 -05:00
goaaats
64ecdb58fd
feat: add VectoredExceptionHandler 2021-10-29 21:36:25 +02:00
goat
9b365eed2f
feat: add Linux check to util, for reference 2021-10-28 04:38:08 +02:00