psi29a
8367604331
Merge branch 'path-delousing' into 'master'
...
Handle paths passed on the command line properly
Closes #8567
See merge request OpenMW/openmw!4721
2025-06-21 10:00:23 +00:00
AnyOldName3
71d334fe79
Fix MacOS even more
2025-06-19 19:55:26 +01:00
AnyOldName3
bee9716262
Fix getLocalPath for MacOS
2025-06-19 16:32:21 +01:00
AnyOldName3
323ee5f79d
Remove a line break that clang-format was fussing about
2025-06-19 00:27:08 +01:00
AnyOldName3
276e0e6765
Remove vestigial include
2025-06-19 00:22:58 +01:00
AnyOldName3
acbc0a9b8f
Fix launching other binaries when the CWD is not the binary directory
2025-06-19 00:19:14 +01:00
psi29a
efbef1ec96
Merge branch 'nonusercontent' into 'master'
...
Handle implicitly checked files more consistently (#8563 )
See merge request OpenMW/openmw!4716
2025-06-18 15:53:34 +00:00
AnyOldName3
2ce4571c3a
Handle paths passed on the command line properly
...
Fixes https://gitlab.com/OpenMW/openmw/-/issues/8567 .
Also maybe horribly breaks lots of things because it removes some insanity from https://gitlab.com/OpenMW/openmw/-/merge_requests/86 , which would set the CWD to the local directory just in case any local-relative paths were expressed relatively without the explicit base being the local path.
2025-06-17 00:26:06 +01:00
Alexei Kotov
780a4904bd
Handle implicitly checked files more consistently ( #8563 )
2025-06-13 22:14:08 +03:00
Evil Eye
45a51bceb2
Implement equal_to for Color
2025-06-12 17:48:11 +02:00
Evil Eye
be0cbb7277
Use the Color type for Light colours in Lua
2025-06-12 17:17:28 +02:00
psi29a
5163214878
Merge branch 'readfileqlists' into 'master'
...
Optimize value deduping in Qt openmw.cfg loading
See merge request OpenMW/openmw!4708
2025-06-11 09:37:56 +00:00
AnyOldName3
7347f4f4e3
Some review stuff
2025-06-09 14:13:50 +01:00
AnyOldName3
9010a5bb32
Emit visible errors when crash dump creation fails
...
Also possibly fix the errors, as I was getting them when I started testing, and then wasn't by the time I'd got the code how I wanted it.
However, nothing in this commit looks like it *should* fix any errors.
2025-06-09 00:20:58 +01:00
Alexei Kotov
de158a476c
Optimize value deduping in Qt openmw.cfg parsing
2025-06-07 11:37:57 +03:00
elsid
267ce1ec9b
Reduce code duplication for finite number
2025-06-06 00:05:07 +02:00
Aussiemon
e2cf80e3a6
Protect more bindings from non-finite numbers
2025-06-03 19:34:10 -06:00
psi29a
cf258821b4
Merge branch 'hexplusone' into 'master'
...
Correctly format single digit hex values
Closes #8541
See merge request OpenMW/openmw!4700
2025-06-03 06:41:04 +00:00
psi29a
1fff2f0199
Merge branch 'setnew' into 'master'
...
Don't use item(QString) while marking new content files
See merge request OpenMW/openmw!4701
2025-06-02 07:08:05 +00:00
psi29a
65155a6e6a
Merge branch 'datachangedcalls' into 'master'
...
Content selector: Cut down on unnecessary dataChanged calls (#8478 )
See merge request OpenMW/openmw!4671
2025-06-01 10:46:45 +00:00
Alexei Kotov
3dfc3d7022
Don't use item(QString) while marking new content files
2025-06-01 03:22:18 +03:00
Evil Eye
9929c35021
Correctly format single digit hex values
2025-05-31 15:43:50 +02:00
Alexei Kotov
e7976a544a
Increment some new Qt progress bars the canonical way
2025-05-29 03:33:03 +03:00
Aussiemon
d2f1eeff98
Prevent hard freeze when camera receives invalid inputs from Lua
2025-05-26 07:22:10 +00:00
Evil Eye
5cf8191cea
Fix compilation on MSVC
2025-05-22 17:31:33 +02:00
Alexei Kotov
2342dbe0f5
Merge branch 'fix_launcher_ui_freeze' into 'master'
...
Make launcher UI on content files selection more responsive (#8478 )
See merge request OpenMW/openmw!4682
2025-05-22 15:37:23 +03:00
psi29a
6ef3c089bf
Merge branch 'flagsgamefiles' into 'master'
...
Make the horrifying content model flags() game search less horrifying (#8478 )
See merge request OpenMW/openmw!4688
2025-05-22 09:45:30 +00:00
elsid
157e8c763c
Show progress dialog for setting content list
2025-05-22 07:47:58 +02:00
elsid
3955428f87
Show progress dialog on updating content selection
2025-05-22 07:47:38 +02:00
Alexei Kotov
5ffcd21eee
Content selector: Cut down on unnecessary dataChanged calls ( #8478 )
...
setData shouldn't do dataChanged calls setCheckState already does
setCheckState should emit dataChanged for downstream dependencies unconditionally
setCheckState shouldn't emit dataChanged for upstream dependencies that weren't enabled
2025-05-22 01:01:41 +03:00
Alexei Kotov
2c6d11f95e
Make the horrifying content model flags() game search less horrifying
...
Properly exit early and cache game file check result
2025-05-20 16:15:16 +03:00
AnyOldName3
47fff7f998
Disable shadows even harder
...
On GPUs that can detect when all fragments in an execution group take the same branch, this might run faster. Even if it doesn't, it might suppress any weirdness coming from sampling the dummy shadow maps.
2025-05-19 15:06:19 +01:00
Evil Eye
f32d62def8
Merge branch 'setcheckstateesmfile' into 'master'
...
Avoid repeated item(QString) in plugin toggling-related code
See merge request OpenMW/openmw!4678
2025-05-18 16:41:46 +00:00
Evil Eye
a7a072e3f8
Merge branch 'qfileinfo' into 'master'
...
Avoid unnecessary file system access in plugin toggling
See merge request OpenMW/openmw!4679
2025-05-17 10:25:02 +00:00
Alexei Kotov
f7f5665588
Avoid repeated item(QString) in plugin toggling-related code
2025-05-15 23:17:17 +03:00
Alexei Kotov
89d6408587
Avoid unnecessary file system access in plugin toggling
2025-05-15 23:00:08 +03:00
Alexei Kotov
54eea09a9e
Fix out-of-bounds index dataChanged calls
2025-05-15 21:18:10 +03:00
psi29a
1f724cc336
Merge branch 'postprocessingglslversion' into 'master'
...
Fix post-processing shader glsl_version bumping
See merge request OpenMW/openmw!4653
2025-05-07 17:57:15 +00:00
Alexei Kotov
72e73784fb
Fix post-processing shader glsl_version bumping
2025-04-29 04:25:24 +03:00
elsid
891d6fd0ba
Fix warning: -Wmaybe-uninitialized
...
In member function 'ESM::RefId {anonymous}::IdGettingVisitor::operator()(const MWWorld::Ptr&) const',
inlined from 'constexpr _Res std::__invoke_impl(__invoke_other, _Fn&&, _Args&& ...) [with _Res = ESM::RefId; _Fn = {anonymous}::IdGettingVisitor; _Args = {const MWWorld::Ptr&}]' at /usr/include/c++/13/bits/invoke.h:61:36,
inlined from 'constexpr typename std::__invoke_result<_Functor, _ArgTypes>::type std::__invoke(_Callable&&, _Args&& ...) [with _Callable = {anonymous}::IdGettingVisitor; _Args = {const MWWorld::Ptr&}]' at /usr/include/c++/13/bits/invoke.h:96:40,
inlined from 'static constexpr decltype(auto) std::__detail::__variant::__gen_vtable_impl<std::__detail::__variant::_Multi_array<_Result_type (*)(_Visitor, _Variants ...)>, std::integer_sequence<long unsigned int, __indices ...> >::__visit_invoke(_Visitor&&, _Variants ...) [with _Result_type = std::__detail::__variant::__deduce_visit_result<ESM::RefId>; _Visitor = {anonymous}::IdGettingVisitor&&; _Variants = {const std::variant<MWWorld::Ptr, std::pair<ESM::FormId, ESM::RefId> >&}; long unsigned int ...__indices = {0}]' at /usr/include/c++/13/variant:1060:24,
inlined from 'constexpr decltype(auto) std::__do_visit(_Visitor&&, _Variants&& ...) [with _Result_type = __detail::__variant::__deduce_visit_result<ESM::RefId>; _Visitor = {anonymous}::IdGettingVisitor; _Variants = {const variant<MWWorld::Ptr, pair<ESM::FormId, ESM::RefId> >&}]' at /usr/include/c++/13/variant:1815:5,
inlined from 'constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = {anonymous}::IdGettingVisitor; _Variants = {const variant<MWWorld::Ptr, pair<ESM::FormId, ESM::RefId> >&}]' at /usr/include/c++/13/variant:1878:34,
inlined from 'ESM::RefId MWScript::GlobalScriptDesc::getId() const' at ../../../apps/openmw/mwscript/globalscripts.cpp:120:26:
../../../apps/openmw/mwscript/globalscripts.cpp:91:35: error: '*(const uint32_t*)((char*)&<unnamed> + offsetof(ESM::RefId, ESM::RefId::mValue.std::variant<ESM::EmptyRefId, ESM::ESM3ExteriorCellRefId, ESM::StringRefId, ESM::FormId, ESM::GeneratedRefId, ESM::IndexRefId>::<unnamed>.std::__detail::__variant::_Variant_base<ESM::EmptyRefId, ESM::ESM3ExteriorCellRefId, ESM::StringRefId, ESM::FormId, ESM::GeneratedRefId, ESM::IndexRefId>::<unnamed>.std::__detail::__variant::_Move_assign_base<true, ESM::EmptyRefId, ESM::ESM3ExteriorCellRefId, ESM::StringRefId, ESM::FormId, ESM::GeneratedRefId, ESM::IndexRefId>::<unnamed>.std::__detail::__variant::_Copy_assign_base<true, ESM::EmptyRefId, ESM::ESM3ExteriorCellRefId, ESM::StringRefId, ESM::FormId, ESM::GeneratedRefId, ESM::IndexRefId>::<unnamed>.std::__detail::__variant::_Move_ctor_base<true, ESM::EmptyRefId, ESM::ESM3ExteriorCellRefId, ESM::StringRefId, ESM::FormId, ESM::GeneratedRefId, ESM::IndexRefId>::<unnamed>.std::__detail::__variant::_Copy_ctor_base<true, ESM::EmptyRefId, ESM::ESM3ExteriorCellRefId, ESM::StringRefId, ESM::FormId, ESM::GeneratedRefId, ESM::IndexRefId>::<unnamed>.std::__detail::__variant::_Variant_storage<true, ESM::EmptyRefId, ESM::ESM3ExteriorCellRefId, ESM::StringRefId, ESM::FormId, ESM::GeneratedRefId, ESM::IndexRefId>::_M_u))' may be used uninitialized [-Werror=maybe-uninitialized]
91 | return ESM::RefId();
| ^
../../../apps/openmw/mwscript/globalscripts.cpp: In member function 'ESM::RefId MWScript::GlobalScriptDesc::getId() const':
../../../apps/openmw/mwscript/globalscripts.cpp:91:35: note: '<anonymous>' declared here
91 | return ESM::RefId();
| ^
2025-04-28 22:00:03 +02:00
Evil Eye
b4d5013679
Merge branch 'lua_state' into 'master'
...
Use unique_ptr to handle lua state lifetime
See merge request OpenMW/openmw!4636
2025-04-23 18:54:40 +00:00
Evil Eye
e20d52d23c
Merge branch 'namespace_typo' into 'master'
...
Fix typo in namespace name
See merge request OpenMW/openmw!4635
2025-04-21 08:41:27 +00:00
elsid
6f89d38b78
Replace includes by forward declaration
2025-04-20 02:28:34 +02:00
elsid
f80283422f
Use unique_ptr to handle lua state lifetime
2025-04-18 14:01:07 +02:00
elsid
972995d124
Fix typo in namespace name
2025-04-18 12:27:48 +02:00
elsid
0d5e9ef85f
Remove redundant using namespace Fallback
...
C++ has ADL to find overloads. using namespace does nothing in this
case.
2025-04-18 12:27:37 +02:00
Alexei Kotov
271ab2e109
Merge branch 'dont-ask-the-disk-for-things-we-already-know' into 'master'
...
Avoid IO in resolveParentFileIndices
See merge request OpenMW/openmw!4627
2025-04-14 13:11:57 +03:00
AnyOldName3
deb070389f
Improve Windows crash/freeze catcher UX
...
* Change crash log to crash dump in messages.
* Make the freeze catcher popup disappear more quickly when OpenMW thaws - we got a few freeze dumps from after a thaw.
* Improve freeze catcher message - hopefully fewer users think it's a false positive they're expected to put up with and we get future reports sooner.
2025-04-12 18:38:55 +01:00
AnyOldName3
a5a6f33578
Manual reformatting that wasn't done automatically on my machine
2025-04-11 17:41:40 +01:00
AnyOldName3
d74a0edb82
Format
2025-04-11 17:37:55 +01:00