Commit Graph

11 Commits (master)

Author SHA1 Message Date
AnyOldName3 2ed584428c Add missing headers to components/CMakeLists.txt
Otherwise, they won't show up as part of the project in IDEs.
1 year ago
AnyOldName3 3bb3f58c73 Don't put crash dumps in Temp on Windows
Well... unless we fail to get the user profile directory.

Also put freeze dumps in a more appropriately-named file.

Discussed in https://gitlab.com/OpenMW/openmw/-/issues/7455

Manual rewrite of c21695c951

As well as that, I found a bug where the crash dump path was being converted from a std::filesystem::path to a utf8-encoded std::string, then passed to the crash catcher, which converted it to a std::filesystem::path implicitly, but using the system eight-bit code page, which wouldn't usually be UTF-8. That's now fixed by passing the function that expects a path a path instead of a string.
2 years ago
clang-format-bot ddb0522bbf
Apply clang-format to code base 2 years ago
elsid 0dcb1f5aac
Fix build on Windows
Use wrapper header over Windows.h to undefine far and near in a single place.
3 years ago
ζeh Matt ba30b37bb4
Add missing include to unordered_map 3 years ago
AnyOldName3 fa05b0b96c Include <atomic>
Should fix compilation on CI
3 years ago
AnyOldName3 0e29a760d8 Tidy up includes 3 years ago
AnyOldName3 f05cd901cf Show messagebox while OpenMW appears to be frozen
If it thaws, the messagebox disappears again.
The user can press the Abort button to kill OpenMW and generate a crash
dump.
3 years ago
AnyOldName3 d15c2922a9 Stop monitoring closed windows
If it gets repalced, the new one will be watched instead
3 years ago
AnyOldName3 c746a8abb7 Attempt to catch freezes on Windows 3 years ago
CedricMocquillon 73afc55462 Fork the current process to monitor exe, generate minidump on crash 4 years ago