Commit graph

4644 commits

Author SHA1 Message Date
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
marzent
1020f8a85b add progress dialog to crash handler 2024-02-16 00:03:28 +01:00
marzent
f4af8e509b make Dalamud handle top-level SEH 2024-02-15 10:05:36 +01:00
Soreepeong
c8be22e284 Do FlushInstructionCache after WriteProcessMemory
While not calling this will work on native x64 machines as it's likely
a no-op under x64, it is possible that the function does something
under emulated environments. As there is no downside to calling this
function, this commit makes the behavior more correct.
2024-02-15 15:42:30 +09:00
goat
63f32322f5
Merge pull request #1653 from KazWolfe/crash-menu
feat: Add "deref nullptr in hook" crash item
2024-02-15 02:18:54 +01:00
Haselnussbomber
914cd363fd
Bump Lumina to 3.16.0 2024-02-15 01:45:10 +01:00
Kaz Wolfe
a8bb8cbec5
feat: Add "deref nullptr in hook" crash item
- Move all crash items into submenu
2024-02-14 16:34:45 -08:00
goat
c48012418f
Make RewriteRemoteEntryPointW report IErrorInfo, do VirtualProtectEx before WriteProcessMemory (#1642)
Make RewriteRemoteEntryPointW report IErrorInfo, do VirtualProtectEx before WriteProcessMemory
2024-02-15 00:07:23 +01:00
srkizer
ea43d65636
Fix memory ownership on AddFontFromImGuiHeapAllocatedMemory (#1651) 2024-02-14 23:52:40 +01:00
goat
34ed07ef1f
Merge pull request #1650 from Soreepeong/fix/dch-tspack-fix
DalamudCrashHandler: handle log-directory pointing to a file
2024-02-14 20:34:59 +01:00
Soreepeong
cce4f03403 Adjust logDir if logDir points to a .log file 2024-02-15 04:14:23 +09:00
Soreepeong
edc5826fe0 Dalamud.Boot: use unicode::convert 2024-02-15 03:55:00 +09:00
goat
45d30ed9d2
Merge pull request #1649 from Soreepeong/fix/ifontatlas-dock-windowdecoration
Temp fix insufficient ImDrawList texture handling
2024-02-14 18:51:20 +01:00
Soreepeong
2de9c8ed5b Fix insufficient ImDrawList implementation 2024-02-14 21:59:20 +09:00
Soreepeong
cf3091b409 If docked, force default font on window decoration
ImGui docking functions are called outside our drawing context (from
ImGui::NewFrame), which includes most of dock-related drawing calls.
However, ImGui::RenderWindowDecoration is called from ImGui::Begin,
which may be under the effect of other pushed font. As IG::RWD
references to the ImDrawList irrelevant to the global shared state, it
was trying to draw a rectangle referring to a pixel that is not
guaranteed to be a white pixel. This commit fixes that by forcing the
use of the default font for IG::RWD when the window is docked.
2024-02-14 13:05:45 +09:00
goat
86504dfd9e
build: 9.0.0.18 2024-02-13 23:25:18 +01:00
srkizer
3283d0cc11
Turn IDalamudAssetManager public (#1638) 2024-02-13 13:09:23 -08: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
bleatbot
3b3823d4e6
Update ClientStructs (#1644)
Co-authored-by: github-actions[bot] <noreply@github.com>
2024-02-13 16:08:36 +00:00
bleatbot
0854b6d025
Update ClientStructs (#1643)
Co-authored-by: github-actions[bot] <noreply@github.com>
2024-02-12 17:12:54 -08:00
Soreepeong
7e78b6293b Make RewriteRemoteEntryPointW report IErrorInfo, VirtualProtectEx before WriteProcessMemory 2024-02-13 08:35:51 +09:00
srkizer
0cc28fb39d
Changes to Dalamud Boot DLL so that it works in WINE (#1111)
* Changes to Dalamud Boot DLL so that it works in WINE

* Make asm clearer
2024-02-12 12:56:38 -08:00
marzent
386e5f245c
Make the crash handler work on wine properly (#1636)
* add LoadMethod to DalamudStartInfo
* add to_wstring utility function
* append full injector launch args for VEH
* remove usage of std::chrono::zoned_time
* fix injector arguments in crash handler restart
* enable VEH on wine
* remove dead wine detection code
* write out tspack with std::fstream
* fix off-by-one error in get_window_string()
* remove usage of std::chrono when writing tspack
* do not deadlock on crashing DalamudCrashHandler
2024-02-11 13:01:34 -08:00
bleatbot
16bc6b86e5
Update ClientStructs (#1630)
Co-authored-by: github-actions[bot] <noreply@github.com>
2024-02-11 10:20:26 -08:00
goat
22f4508bec
Merge pull request #1635 from marzent/exception-handler
Add more exception handler options to dev menu
2024-02-10 13:49:12 +01:00
marzent
df65d59f8b add more exception handler options to dev menu 2024-02-10 13:03:11 +01:00
goat
be965f8dd1
Merge pull request #1622 from Soreepeong/feature/ifontatlas-lock-safety
Lock font resources on Push and miscellaneous direct accesses
2024-02-08 19:53:53 +01:00
goat
47b1dfd7f9
Merge branch 'master' into feature/ifontatlas-lock-safety 2024-02-08 19:04:54 +01:00
KazWolfe
0d10a17966
Make CommandWidget look better (and expose more info) (#1631)
- Expose the plugin that owns the command.
2024-02-08 18:53:51 +01:00
goat
ecf4e8b0e7
Merge pull request #1632 from redstrate/fix-anti-anti-debug-label
Change "Enable AntiDebug" label to "Disable Debugging Protections" to make it clearer
2024-02-07 21:30:22 +01:00