Commit Graph

16 Commits

Author SHA1 Message Date
wmayer
6f5259af26 App: Apply clang format (part 1) 2024-11-21 07:54:24 +01:00
wmayer
1818cd998b Fixes #13011: Failure of test additionOperators when built with Qt6 2024-03-20 18:05:13 +01:00
Chris Hennes
6a9efd6731 App/Toponaming: Add tests for findTagInElementName
Also apply clang-tidy to that function, and fix an error with the postfix return.
2023-07-15 22:47:08 -05:00
Chris Hennes
aae9cc84d9 PD: prevent MSVC from defining min/max 2023-07-15 07:45:38 -05:00
Chris Hennes
66f6350fd3 App/Toponaming: Basic tests and linter issues 2023-07-14 23:03:18 -05:00
Chris Hennes
8ec1ae3319 App/Toponaming: ComplexGeoData realthunder original
Minor modifications to make it compile with previous refactorings.
The only substantial change to the original is moving the
getElementHistory function from ComplexGeoData to MappedName so
that the dehash function can remain private.
2023-07-14 23:03:18 -05:00
Pesc0
c65f049d20 [Toponaming] create ElementMap class (#9175)
* Copypaste ElementMap
* Add MappedNameRef
* Fix missing include
* Copypaste `findTagInElementName`
* fix error introduced _somewhere_
* refactor toponaming constants
* Move `findTagInElementName` in `MappedName`
* reintroduce workaround to compile ElementMap
* Added missing functions copied from complexgeodata
* fix last compile errors, reorder and format files
* remove recursive refs to ComplexGeoData
* Add more comments
* fixed comments and added tests
* added FIXME, make functions private, misc fixes
* Move static functions from complexGeoData to PostfixStringReferences. Rename to ElementNamingUtils
* Fix broken includes due to previous change
* Revert constants from string to const char*
* added childmap tests and made hasher public
* Make functions private
* Added remaining tests
* removed bool return from `erase` functions
* fix missing appexport

Co-authored-by: John Dupuy <jdupuy98@gmail.com>
2023-06-15 09:05:24 -05:00
luzpaz
f1bbcd9e13 Fix typos and whitespace 2023-03-22 17:10:38 +01:00
Pesc0
6354c37041 Added all tests and minor fixes 2023-03-19 02:55:24 +01:00
Pesc0
9af5a71e92 Fixed tests 2023-03-18 19:44:18 +01:00
Chris Hennes
6c9f1a119d App/Toponaming: Finish Doxygen comments 2023-03-18 17:59:35 +01:00
Chris Hennes
e800ae29e1 App/Toponaming: Begin adding Doxygen comments 2023-03-17 02:21:29 +01:00
Chris Hennes
cd57046c7a App/Toponaming: MappedName clang-tidy cleanup 2023-03-17 02:21:29 +01:00
Pesc0
2ec169f2a9 MappedName unit tests almost complete 2023-03-17 01:43:34 +01:00
Pesc0
c39f603744 Added initial tests to MappedName 2023-03-17 01:43:34 +01:00
Pesc0
9200160502 Added MappedName class 2023-03-17 01:42:53 +01:00