clang-format-bot
|
ddb0522bbf
|
Apply clang-format to code base
|
2022-09-22 21:35:26 +03:00 |
|
elsid
|
f99ed6f1db
|
Split components/misc/stringops.hpp into multiple headers
Replace all ciEqual overloads with one having std::string_view as argument.
|
2022-08-03 22:06:24 +02:00 |
|
unelsson
|
de3497d291
|
Fix undo-redo crash
|
2021-08-22 23:42:27 +03:00 |
|
unelsson
|
890ce1eefb
|
Reverse action order for redo and undo
|
2021-08-22 23:42:27 +03:00 |
|
unelsson
|
0cfabd6f3b
|
Move mapToSource back to constructor
|
2021-08-22 23:42:27 +03:00 |
|
unelsson
|
b2fe591590
|
Don't do any storing in the constructor
|
2021-08-22 23:42:27 +03:00 |
|
unelsson
|
45549da0f5
|
For most commands, set mOld in redo, not in constructor
|
2021-08-22 23:42:27 +03:00 |
|
fredzio
|
9ba459662d
|
Remove unneeded std::move
[19/199] Building CXX object apps/opencs/CMakeFiles/openmw-cs.dir/model/world/commands.cpp.o
../../../apps/opencs/model/world/commands.cpp:298:12: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
mOld = std::move(model.getRecord (id).clone());
^
../../../apps/opencs/model/world/commands.cpp:298:12: note: remove std::move call here
mOld = std::move(model.getRecord (id).clone());
^~~~~~~~~~ ~
../../../apps/opencs/model/world/commands.cpp:333:12: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
mOld = std::move(model.getRecord (id).clone());
^
../../../apps/opencs/model/world/commands.cpp:333:12: note: remove std::move call here
mOld = std::move(model.getRecord (id).clone());
^~~~~~~~~~ ~
2 warnings generated.
|
2021-08-01 13:14:32 +02:00 |
|
cc9cii
|
be45092e55
|
Use std::unique_ptr to store records in collections, RefidCollection and RefIdData.
(copied the changes from commit 23e7e3c165 )
|
2021-07-23 14:21:21 +10:00 |
|
jvoisin
|
38316cdaf8
|
Fix various warnings found by clang
- unused alias
- inefficient use of push_back
- exceptions not inheriting from std::exception
- weird use of a comma
- value compared against itself
|
2021-04-17 19:06:33 +02:00 |
|
Nelsson Huotari
|
7196ad7455
|
Implement an override-value when cloning, use when cloning info records
|
2021-01-10 21:23:52 +02:00 |
|
Andrei Kortunov
|
8084a336b5
|
Replace zeroes and nulls by nullptrs
|
2020-11-29 11:14:07 +04:00 |
|
Andrei Kortunov
|
059a8fd32a
|
Refactor dynamic casts in the editor
|
2018-11-15 17:50:23 +04:00 |
|
Andrei Kortunov
|
5ac81cfbff
|
Throw exceptions with some info int the editor if dynamic_cast failed
|
2018-11-14 15:53:43 +04:00 |
|
Andrei Kortunov
|
4ee15ddcb9
|
Fix many Coverity Scan warnings
|
2018-11-14 11:21:49 +04:00 |
|
Andrei Kortunov
|
e06f0b797a
|
Replace all NULLs to nullptr
|
2018-10-09 10:21:12 +04:00 |
|
Andrei Kortunov
|
70ed8fd1a9
|
Use constants instead of widely used magic numbers (task #4645)
|
2018-09-17 19:22:50 +04:00 |
|
Kyle Cooley
|
4921e7f5c1
|
Get rid of reinterpret cast.
|
2017-09-22 22:42:09 -04:00 |
|
Kyle Cooley
|
50d9d9f78f
|
Get rid of some templates, exceptions instead of assert, and other small changes.
|
2017-09-17 20:29:51 -04:00 |
|
Kyle Cooley
|
ab607f3028
|
Tweaks to land loading, land cloning, terrain signals, placeholder land update handling
|
2017-09-08 00:51:46 -04:00 |
|
Kyle Cooley
|
97d0fd756a
|
LTEX importing
|
2017-09-04 19:31:09 -04:00 |
|
Kyle Cooley
|
1d480015b4
|
Add ability to touch records, LAND records in particular
|
2017-08-31 22:09:49 -04:00 |
|
Aesylwinn
|
239727531f
|
Revert "Fix data corruption issues."
This reverts commit 6199663bd8 .
|
2016-05-25 22:53:17 -04:00 |
|
Aesylwinn
|
9a567b3712
|
Revert "Fix editor undo for nested data."
This reverts commit 774e1497b6 .
|
2016-05-25 22:52:41 -04:00 |
|
Aesylwinn
|
bb81e89c08
|
Revert "Cleanup and slight change to pathgrid editing controls."
This reverts commit cc4655e9c7 .
|
2016-05-25 22:48:43 -04:00 |
|
Aesylwinn
|
cc4655e9c7
|
Cleanup and slight change to pathgrid editing controls.
Now that there is a drag indicator, it is easy to tell if an
operation is active or not.
|
2016-05-24 18:19:05 -04:00 |
|
Aesylwinn
|
774e1497b6
|
Fix editor undo for nested data.
|
2016-05-23 15:51:36 -04:00 |
|
Aesylwinn
|
6199663bd8
|
Fix data corruption issues.
- Point connection count not being set
- Nested undo not restoring table (for pathgrid scene editing, editor
nested undo is still broken)
|
2016-05-21 18:59:43 -04:00 |
|
Aesylwinn
|
799ed300ea
|
Use cell coordinates class, fix undo description.
|
2016-05-21 14:36:07 -04:00 |
|
Aesylwinn
|
b86250036c
|
Add ability to add pathgrids.
|
2016-05-19 18:33:15 -04:00 |
|
Marc Zinnschlag
|
7d8bd56e11
|
create new records with basic data in the same step without updates inbetween (Fixes #3207)
|
2016-03-01 11:21:06 +01:00 |
|
scrawl
|
b0431833a1
|
Fix some defects reported by Coverity CI
|
2016-01-21 16:08:04 +01:00 |
|
Stanislav Bas
|
e14aedc7cd
|
ModifyCommand uses a proper name of a modified nested value
|
2015-08-21 21:47:29 +03:00 |
|
Stanislav Bas
|
33042c1464
|
Restore Modified status of a record when adding/removing nested rows
|
2015-08-02 21:52:55 +03:00 |
|
Stanislav Bas
|
afb36b73eb
|
Proper index for Modified column in ModifyCommand
|
2015-08-02 15:03:27 +03:00 |
|
Stanislav Bas
|
f3bb00e3d9
|
Add the ability to add nested values to the Create command
|
2015-06-26 22:16:12 +03:00 |
|
Marc Zinnschlag
|
53b4c15d85
|
Merge remote-tracking branch 'smbas/master'
|
2015-05-23 16:02:09 +02:00 |
|
Stanislav Bas
|
a5183aefbe
|
Add record state tracking to the ModifyCommand (Fix #2555)
|
2015-05-22 23:53:25 +03:00 |
|
Rohit Nirmal
|
396fba7fa9
|
Silence -Wreorder warnings, and remove -Wno-reorder.
|
2015-05-21 22:46:44 -05:00 |
|
cc9cii
|
b04aeb6aad
|
Fixed levelled lists flags - now bit masks represented by tick boxes in the dialogue subview.
|
2015-05-01 12:14:09 +10:00 |
|
Marc Zinnschlag
|
f1c0847897
|
Merge remote-tracking branch 'cc9cii/moveref'
|
2015-04-28 14:07:18 +02:00 |
|
cc9cii
|
889749a493
|
Allow non-empty mOriginalCell (case where a moved ref is moved again)
|
2015-04-26 15:44:40 +10:00 |
|
cc9cii
|
f1a58994c6
|
Merge branch 'master' into moveref
Conflicts:
apps/opencs/model/world/columns.hpp
apps/opencs/model/world/commands.cpp
apps/opencs/model/world/commands.hpp
apps/opencs/model/world/ref.cpp
apps/opencs/view/world/dialoguesubview.cpp
apps/opencs/view/world/dialoguesubview.hpp
apps/opencs/view/world/util.cpp
components/esm/cellref.hpp
|
2015-04-25 06:52:53 +10:00 |
|
cc9cii
|
8aaa74a983
|
Undo for delete operation in referenceables table. Implemented by saving UniversalId::Type in DeleteCommand.
|
2015-04-25 06:06:11 +10:00 |
|
Marc Zinnschlag
|
6fcf4ea9e3
|
In ModifyCommand replace proxy model with the source model (Fixes #2498)
|
2015-04-23 14:24:43 +02:00 |
|
cc9cii
|
1220369da3
|
Changes as per feedback comments.
|
2015-04-11 11:26:29 +10:00 |
|
cc9cii
|
83bcc8d451
|
Reorganised class inheritance structure of collections, columns and idtable model.
|
2015-04-02 20:19:15 +11:00 |
|
cc9cii
|
fb2ba7610c
|
Merge remote-tracking branch 'remotes/upstream/master' into NonTableFields
Conflicts:
apps/opencs/CMakeLists.txt
apps/opencs/model/doc/document.cpp
apps/opencs/model/world/columnbase.hpp
apps/opencs/model/world/columns.cpp
apps/opencs/model/world/columns.hpp
apps/opencs/model/world/commands.cpp
apps/opencs/model/world/idtable.cpp
apps/opencs/view/world/dialoguesubview.cpp
apps/opencs/view/world/dialoguesubview.hpp
apps/opencs/view/world/util.cpp
|
2015-03-04 11:22:42 +11:00 |
|
Marc Zinnschlag
|
9670e0881d
|
update reference's current cell when x/y-coordinates are modified
|
2015-01-16 15:17:52 +01:00 |
|
Marc Zinnschlag
|
7733df239e
|
made CloneCommand a subclass of CreateCommand
|
2014-09-20 10:36:43 +02:00 |
|