Commit graph

4700 commits

Author SHA1 Message Date
KazWolfe
27def97228
Merge pull request #1695 from goatcorp/net8-rollup
[net8] Rollup changes from master
2024-03-10 12:27:25 -07:00
github-actions[bot]
11c1759b60 Merge remote-tracking branch 'origin/master' into net8-rollup 2024-03-08 22:05:05 +00:00
goat
7ee20272de
Merge pull request #1699 from Soreepeong/fix/ime-perf
Fix Chinese IME lagging
2024-03-08 23:04:47 +01:00
goat
0c70d1c273
Merge pull request #1702 from Soreepeong/fix/log-racecon
ConsoleWindow racecon fix and highlight
2024-03-08 22:53:17 +01: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
e7815c59d5 fix? 2024-03-09 00:19:00 +09:00
Soreepeong
637ba78956 At least make it not drop character after conversion with google IME 2024-03-09 00:01:54 +09:00
srkizer
88a8d45798
Accommodate nested AddonLifecycle event calls (#1698)
* Accommodate nested AddonLifecycle event calls

The game is free to call event handlers of another addon from one addon,
but the previous code was written under the assumption that only one
function may be called at a time. This changes the recycled addon args
into pooled args.

* Always clear addon name cache
2024-03-07 17:47:11 -08:00
bleatbot
4c0f7b7eba
Update ClientStructs (#1691)
Co-authored-by: github-actions[bot] <noreply@github.com>
2024-03-07 17:13:30 -08:00
Soreepeong
c326537f9f test 2024-03-07 00:37:46 +09:00
Asriel Camora
2cdc1f0171
Fix duty pop chat message italics (#1697) 2024-03-05 17:13:43 +00:00
Aireil
8a21fc721f
feat: add AdjustedTotalCastTime to BattleChara (#1694)
* feat: add AdjustedTotalCastTime to BattleChara

* Update Dalamud/Game/ClientState/Objects/Types/BattleChara.cs

Co-authored-by: KazWolfe <KazWolfe@users.noreply.github.com>

---------

Co-authored-by: KazWolfe <KazWolfe@users.noreply.github.com>
2024-03-04 09:51:25 -08:00
KazWolfe
324806341c
Merge pull request #1641 from goatcorp/net8-rollup
[net8] Rollup changes from master
2024-03-02 08:48:12 -08: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
srkizer
3d59fa3da0
Sanitize PDB root name from loaded modules (#1687) 2024-02-29 15:13:33 -08: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