Soreepeong
033a57d19d
Merge remote-tracking branch 'upstream/master' into feature/inotificationmanager
2024-03-14 13:06:04 +09:00
srkizer
a26bb58fdb
Use custom TaskScheduler for Framework.RunOnTick ( #1597 )
...
* Use custom TaskScheduler for Framework.RunOnTick
* TaskSchedulerWidget: add example
2024-03-14 00:36:38 +01:00
github-actions[bot]
11c1759b60
Merge remote-tracking branch 'origin/master' into net8-rollup
2024-03-08 22:05:05 +00:00
Soreepeong
14a5e5b652
ConsoleWindow racecon fix and highlight
...
RollingList is not thread safe, but the lock around it was inconsistent,
resulting in occasional null value in the log list. Fixed by utilizing
ConcurrentQueue so that logs can be added from any thread without locks,
and reading from the queue and adding to the list from the framework
thread.
Also, added log line highlight feature.
2024-03-09 04:09:29 +09:00
Soreepeong
6a0f774625
Add texture leak tracker
2024-03-05 01:06:02 +09:00
Soreepeong
2572f24e08
More cleanup
2024-03-04 22:46:38 +09:00
Soreepeong
6c8c42ca05
Cleanup
2024-03-03 21:46:49 +09:00
Soreepeong
c04ce36b9c
Add CreateFromGameScreen
2024-03-03 20:08:52 +09:00
Soreepeong
3415df5d40
Cleanup
2024-03-02 23:45:14 +09:00
Soreepeong
5367d288d6
Use WIC to implement ITP.SaveAsImageFormatToStreamAsync
2024-03-02 06:57:12 +09:00
Soreepeong
1ae11440aa
Add ITextureProvider.CreateFromExistingTextureAsync
2024-03-02 01:41:11 +09:00
github-actions[bot]
b68da56e74
Merge remote-tracking branch 'origin/master' into net8-rollup
2024-02-29 23:15:23 +00:00
Asriel Camora
5f62c703bf
Add IContextMenu service ( #1682 )
2024-02-29 15:15:02 -08:00
Soreepeong
cc756c243c
Add ITextureProvider.GetFromManifestResource(Assembly,string)
2024-02-28 21:04:57 +09:00
Soreepeong
62af691419
More notification localizations
2024-02-28 17:11:30 +09:00
Soreepeong
18c1084fe3
Make DateTime/TimeSpan localizable
2024-02-28 17:11:30 +09:00
Soreepeong
7aba15ef5b
Normalize namespaces
2024-02-28 17:11:29 +09:00
goat
8e5a84792e
Merge pull request #1684 from Soreepeong/feature/idtw-cloneable
...
Add IDalamudTextureWrap.CreateWrapSharingLowLevelResource
2024-02-27 19:43:21 +01:00
AzureGem
0651c643b1
Limit console log lines held in memory ( #1683 )
...
* Add AG.Collections.RollingList
* Use RollingList for logs + Adaption changes
* Create Dalamud.Utility.ThrowHelper
* Create Dalamud.Utility.RollingList
* ConsoleWindow: Remove dependency
* Remove NuGet Dependency
* Add Log Lines Limit configuration
* Use Log Lines Limit configuration and handle changes
* Make log lines limit configurable
2024-02-27 19:15:11 +01:00
Soreepeong
12e2fd3f60
Miscellaneous fixes
2024-02-27 19:49:40 +09:00
Soreepeong
f6be80a5fb
Make IDalamudTextureWrap ICloneable
2024-02-25 21:21:50 +09:00
Soreepeong
c27422384f
IGameConfig: fix load-time race condition
...
As some public properties of `IGameConfig` are being set on the first
`Framework` tick, there was a short window that those properties were
null, which goes against the interface declaration.
This commit fixes that, by making those properties block for the full
initialization of the class.
A possible side effect is that a plugin that is set to block the game
from loading until it loads will now hang the game if it tries to access
the game configuration from its constructor, instead of throwing a
`NullReferenceException`. As it would mean that the plugin was buggy at
the first place and it would have sometimes failed to load anyway, it
might as well be a non-breaking change.
2024-02-20 15:37:54 +09:00
srkizer
34daa73612
Implement FontChooserDialog ( #1637 )
...
* Implement FontChooserDialog
* Minor fixes
* Fixes 2
* Add Reset default font button
* Add failsafe
* reduce uninteresting exception message
* Add remarks to use AttachExtraGlyphsForDalamudLanguage
* Support advanced font configuration options
* fixes
* Shift ui elements
* more fixes
* Add To(Localized)String for IFontSpec
* Untie GlobalFontScale from default font size
* Layout fixes
* Make UiBuilder.DefaultFontSize point to user configured value
* Update example for NewDelegateFontHandle
* Font interfaces: write notes on not intended for plugins to implement
* Update default gamma to 1.7 to match closer to prev behavior (1.4**2)
* Fix console window layout
2024-02-13 20:09:46 +00:00
github-actions[bot]
5fbba87e59
Merge remote-tracking branch 'origin/master' into net8-rollup
2024-02-11 18:20:47 +00:00
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