Commit Graph

100 Commits (e1665f39450dd9b70fa67a47bd3b26f4d9bdb9e9)

Author SHA1 Message Date
Andrei Kortunov 2575801ba2 Improve esmtool output 12 months ago
Andrei Kortunov 93e50cc7aa Improve format version in content selector 1 year ago
Evil Eye e63933efa6 Use NAM9 for stack count 1 year ago
Andrei Kortunov 6f68df9ac2 Avoid redundant copies 1 year ago
Andrzej Głuszak 9b0a499b58 Remove strerror usages 2 years ago
jvoisin 3cbf1dc042 First pass with include-what-you-use 2 years ago
clang-format-bot ddb0522bbf
Apply clang-format to code base 2 years ago
elsid 4698a4cd2d
Use raw string literals to format command usage messages 2 years ago
elsid 6ae15f08e0
Avoid chained operator() calls to prevent formatting issues 2 years ago
Project579 c226b35f1f Fix some remaining encoding errors due to std::filesystem transition. 2 years ago
Project579 4e428dee12 Update some settings that accept paths by "std::string" to accept them as "std::filesystem::path" instead. 2 years ago
Project579 a13709c510 Replace implicit convertions from std::filesystem::path to std::string with correctly converting functions. 2 years ago
Project579 864112b5db Fixed Windows build when using MSVC 14.26 and MacOS build. 2 years ago
Project579 6bf4c7a04f Upgraded "input-file" command line option to Files::MaybeQuotedPath from std::string to allow unicode characters on Windows. 2 years ago
Project579 e5c417c968 Make sure all paths are passed as std::filesystem::path instead of std::string where possible. 2 years ago
elsid 3057fa6bee
Remove redundant components/esm/records.hpp include 2 years ago
elsid f99ed6f1db
Split components/misc/stringops.hpp into multiple headers
Replace all ciEqual overloads with one having std::string_view as argument.
2 years ago
jvoisin 23eccebe9e Convert esmtool from `const std::string&` to `std::string_view` 3 years ago
elsid b67a0a8f2b
Fix uninitialized coverity warnings 3 years ago
elsid d2510284ec
Support TES4 in esmtool dump 3 years ago
elsid 43b2892cc3
Move ESMData, reader and writer out of esmtool Arguments 3 years ago
Evil Eye 6c87219ba3 Print record flags in esmtool 3 years ago
jvoisin 7f3058d501 Use toStringView in esmtool instead of toString 3 years ago
elsid 3305b400dc
Use ESM::NAME instead of const char* and std::string as argument type 3 years ago
ζeh Matt 07eb6db030
Use unique_ptr for ESM records 3 years ago
Bret Curtis 74e7cfc023 remove unused includes: part1
remove unused imports: part2

revert one tidy we will keep for c++20
3 years ago
Bret Curtis d1fb854521 move most of the files from esm to esm3, keep common code in esm; this is make space for a future with esm4
esm typo

esm typo
3 years ago
elsid 18d3102148
Do not use union to access FIXED_STRING<4> as int
https://en.cppreference.com/w/cpp/language/union:
> It's undefined behavior to read from the member of the union that wasn't most recently written.
3 years ago
jvoisin 5e3f000b66 Add a std::noboolalpha to a std::boolalpha 4 years ago
elsid 5c9af1742a
Dump moved cell refs in esmtool 4 years ago
elsid f90c4ae22f
Add yaml-like separator between cell refs
To be able to separate records visually.
4 years ago
jvoisin 3925c0fecf Remplace a ton of std::endl with \n
endl is calling flush, which is really nuking performances,
and I care about esmtool's performances because I'm
using it for fuzzing.
4 years ago
jvoisin d651f9e60c Remove some useless variables from esmtool 4 years ago
jvoisin e97e4d07dd Teensy optimisation for esmtool
- Use an unordered_set instead of a list to
  keep track of skipped records.
- Reduce the number of conditions when parsing 4-letters
  records by using a switch-case instead of cascading conditions.
- Add a const
4 years ago
Andrei Kortunov f308dde254 Clean up MSVC warnings 4 years ago
Bret Curtis 355996c2ff supress -> suppress 5 years ago
Andrei Kortunov aacb569acb Use more C++11 in tools code 5 years ago
Capostrophic 4e22f03ece Revise esmtool cell reference output 5 years ago
Capostrophic 832870dc79 esmtool cleanup 6 years ago
Andrei Kortunov 68c170f065 Refactor tools to do not use boost exceptions and exit() command 6 years ago
Andrei Kortunov 4ee15ddcb9 Fix many Coverity Scan warnings 6 years ago
Roman Proskuryakov d5dfa89060 Rewrite NAME_T into FIXED_STRING. 9 years ago
Marc Zinnschlag 57101c1b19 added namespace and include to previous commit 9 years ago
Alexander Kjäll 32123aec2b
made logarithm function for calculating column widths in the output be more generic 9 years ago
Stanislav Bas 8243fb2479 Load methods (for ESM records) accept a deleted flag in ESMTool 10 years ago
Stanislav Bas ede4bfcf52 Rework EsmTool code. Remove explicit NAME handling 10 years ago
scrawl 236d628884 Merge branch 'master' of https://github.com/OpenMW/openmw into osg
Conflicts:
	apps/opencs/model/doc/document.cpp
	apps/opencs/model/doc/documentmanager.cpp
	components/CMakeLists.txt
	components/bsa/resources.cpp
	components/nif/data.hpp
	components/nif/node.cpp
	components/nifogre/mesh.hpp
	components/nifogre/ogrenifloader.cpp
	components/nifogre/particles.cpp
10 years ago
dteviot e197f5318b fixing MSVC 2013 warning C4244: & C4305
conversion from 'const float' to 'int', possible loss of data
conversion from 'double' to 'int', possible loss of data
conversion from 'float' to 'int', possible loss of data
10 years ago
scrawl 227c7bb55f esmtool works again 10 years ago
scrawl 89132ff741 Add --name option to esmtool to print record with the given name 10 years ago