Commit graph

4686 commits

Author SHA1 Message Date
Soreepeong
f434946137 Turn impls of IconSource internal 2024-02-28 17:11:30 +09:00
Soreepeong
42b6f8fd4b fix disposes and add TextureWrapIconSource 2024-02-28 17:11:30 +09:00
Soreepeong
9644dd9922 Ensure that TextureWrapTaskIconSource.Materialize do not throw 2024-02-28 17:11:30 +09:00
Soreepeong
cf54a02812 fixes 2024-02-28 17:11:30 +09:00
Soreepeong
eaf447164a Ensure that crossthread progress update do not result in animation jerkiness 2024-02-28 17:11:29 +09:00
Soreepeong
df9212ac58 Expose DefaultDisplayDuration 2024-02-28 17:11:29 +09:00
Soreepeong
1ca2d2000b Add UserDismissable 2024-02-28 17:11:29 +09:00
Soreepeong
c12bdaabb3 Format 2024-02-28 17:11:29 +09:00
Soreepeong
1685e15113 Not anymore 2024-02-28 17:11:29 +09:00
Soreepeong
06bbc558a8 Revert CorePlugin commits 2024-02-28 17:11:29 +09:00
Soreepeong
3a6aa13c3b Add IconSource 2024-02-28 17:11:29 +09:00
Soreepeong
7aba15ef5b Normalize namespaces 2024-02-28 17:11:29 +09:00
Soreepeong
04c6be5671 Add progressbar 2024-02-28 17:11:29 +09:00
Soreepeong
199722d29a Set IconTask on ActiveNotification ctor 2024-02-28 17:11:29 +09:00
Soreepeong
54decfe7d3 Add expiry progressbar 2024-02-28 17:11:29 +09:00
Soreepeong
97066b7442 Fix layout 2024-02-28 17:11:29 +09:00
Soreepeong
8d15dfc031 Fix vertical offset when title is empty 2024-02-28 17:11:29 +09:00
Soreepeong
2935d18c37 Show plugin icons as fallback icon 2024-02-28 17:11:29 +09:00
Soreepeong
0343897113 Better error message for FontHandle 2024-02-28 17:11:29 +09:00
Soreepeong
3ba395bd70 Implement INotificationManager 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
bleatbot
e6c97f0f18
Update ClientStructs (#1685)
Co-authored-by: github-actions[bot] <noreply@github.com>
2024-02-27 09:03:09 -08:00
goat
54ba0e7d1a
Merge pull request #1688 from Soreepeong/fix/misc
Miscellaneous fixes
2024-02-27 12:53:02 +01:00
Soreepeong
12e2fd3f60 Miscellaneous fixes 2024-02-27 19:49:40 +09:00
Soreepeong
9629a555be Rename to CreateWrapSharingLowLevelResource 2024-02-26 03:20:28 +09:00
goat
6116508c57
Merge pull request #1673 from Soreepeong/fix/igameconfig-racecon
IGameConfig: fix load-time race condition
2024-02-25 19:00:00 +01:00
Soreepeong
f6be80a5fb Make IDalamudTextureWrap ICloneable 2024-02-25 21:21:50 +09:00
bleatbot
c1c85e5236
[master] Update ClientStructs (#1680)
Co-authored-by: github-actions[bot] <noreply@github.com>
2024-02-25 11:23:01 +00:00
srkizer
94cf1c82c4
Synchronize DalamudStartInfo between cpp and cs (#1679)
Dalamud Boot was using BootLogPath in place of LogPath, resulting in
wrong log path.
2024-02-22 20:27:07 -08:00
bleatbot
db17a86587
Update ClientStructs (#1677)
Co-authored-by: github-actions[bot] <noreply@github.com>
2024-02-22 07:00:19 +00:00
bleatbot
bf34dd2817
Update ClientStructs (#1670)
Co-authored-by: github-actions[bot] <noreply@github.com>
2024-02-21 20:04:16 -08:00
Soreepeong
a3217bb86d Remove InitialiationTask from interface 2024-02-21 16:34:53 +09:00
AzureGem
3909fb13fa
Fix ConsoleWindow regex handling (#1674) 2024-02-20 11:19:24 -08:00
Soreepeong
da969dec5c DAssetM cleanup 2024-02-20 15:42:49 +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
bleatbot
ac59f73b59
[master] Update ClientStructs (#1669)
Co-authored-by: github-actions[bot] <noreply@github.com>
2024-02-18 19:15:55 +01:00
goat
2909c83521
build: 9.0.0.21 2024-02-18 17:16:35 +01:00
srkizer
2d8b71c647
Add SetFontScaleMode(ImFontPtr, FontScaleMode) (#1666)
* Add SetFontScaleMode(ImFontPtr, FontScaleMode)

`IgnoreGlobalScale` was advertised as "excludes the given font from
global scaling", but the intent I had in mind was "excludes the given
font from being scaled in any manner". As the latter functionality is
needed, obsoleted `IgnoreGlobalScale` and added `SetFontScaleMode`.

* Make it correct

* Name consistency
2024-02-18 15:08:07 +01:00
srkizer
7dc99c9307
Fix AddRectFilledDetour typo (#1667)
* Fix AddRectFilledDetour typo

* Skip drawing if zero opacity is specified for drawing
2024-02-18 07:03:51 +00:00
goat
7da47a8a33
build: 9.0.0.20 2024-02-17 19:07:18 +01:00
KazWolfe
c19e1f0fcd
Default Minimum/Maximum WindowSizeConstraints (#1574)
* feat: Default Minimum/Maximum WindowSizeConstraints

If `MinimumSize` or `MaximumSize` are not set when defining a `WindowSizeConstraints`, they will be effectively unbounded.

* chore: Make internal windows unbounded on max size

* Ignore max value if it's smaller than minimum in any dimension
2024-02-17 19:06:41 +01:00
goat
e21b64969f
build: 9.0.0.19 2024-02-17 15:22:27 +01:00
goat
56ff4b4c8c
Merge pull request #1665 from Soreepeong/revert-1659-feature/font-hash-warning
Revert "Warn if font files' hashes are unexpected"
2024-02-17 15:17:11 +01:00
srkizer
cdaa538e1a
Revert "Warn if font files' hashes are unexpected (#1659)"
This reverts commit 307f0fcbe8.
2024-02-17 23:07:49 +09:00
goat
2aa113d2c1
Merge pull request #1664 from Soreepeong/fix/ifontatlas-dx11_0
Fix B4G4R4A4->B8G8R8A8 channel extraction
2024-02-17 15:06:56 +01:00
goaaats
6bb4033b35 crashhandler: only keep the last 3 minidumps 2024-02-17 15:05:18 +01:00
goat
7b1390b3ae
Merge pull request #1663 from Soreepeong/fix/dch-correctness
Some DCH correctness
2024-02-17 14:54:16 +01:00
Soreepeong
f825e86e86 Fix B4G4R4A4->B8G8R8A8 channel extraction
On systems without support for B4G4R4A4 pixel format (when DirectX
feature level 11_1 is missing), the conversion will take place; a
copy-and-paste error made the read pointer advance twice as fast as it
should have been.
2024-02-17 22:44:33 +09:00
Soreepeong
47da75df24 Some DCH correctness 2024-02-17 21:38:43 +09:00