Commit graph

4841 commits

Author SHA1 Message Date
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
goat
51a525c79e
Merge pull request #1661 from KazWolfe/ch_things
Crash Handler Improvements
2024-02-17 10:26:21 +01:00
KazWolfe
0bb69cbd5f
feat: Add /xlprofiler command (#1662)
Make it easier for end users to open the profiler to pull load time reports.
2024-02-17 10:25:43 +01:00
Kaz Wolfe
82d9cd016d
Prefer "Save Troubleshooting Info" over "... Pack" 2024-02-16 15:56:51 -08:00
Kaz Wolfe
2afc692eca
Add save tspack button to crash dialog
- Require the user manually choose a restart mode before the Restart button can be clicked.
- Rename window to Dalamud Crash Handler
2024-02-16 15:39:22 -08:00
Kaz Wolfe
24e6bf3dc8
Remove metric submission on crashes
- Rename the progress dialog, add punctuation to messaging
2024-02-16 13:22:15 -08:00
marzent
4b601f15c7
Merge pull request #1660
* make extra sure progress dialog crash handler is in the foregroud
2024-02-16 13:19:10 -08:00
bleatbot
1c059aae7c
Update ClientStructs (#1648)
Co-authored-by: github-actions[bot] <noreply@github.com>
2024-02-16 11:30:07 -08:00
srkizer
307f0fcbe8
Warn if font files' hashes are unexpected (#1659) 2024-02-16 17:19:42 +01:00
srkizer
6497c62622
Change MemoryHelper to allocate less (#1657)
* Change MemoryHelper to allocate less

* Use StringBuilder pool for ReadSeStringAsString

* fix

* Use CreateReadOnlySpanFromNullTerminated where possible
2024-02-16 17:16:21 +01:00
goat
3c4ed64409
Merge pull request #1654 from Haselnussbomber/update-lumina-3.16.0
Bump Lumina to 3.16.0
2024-02-16 00:31:00 +01:00
goat
94d7f430be
Merge pull request #1658 from marzent/progress_dialog
Add progress dialog to crash handler
2024-02-16 00:29:37 +01:00
goat
af7c62e6c4
Merge pull request #1652 from marzent/seh
Make Dalamud handle top-level SEH exceptions
2024-02-16 00:28:23 +01:00
goat
ff1553aece
Merge pull request #1655 from Soreepeong/fix/entrypoint-correctness-1
Do FlushInstructionCache after WriteProcessMemory
2024-02-16 00:25:45 +01:00