Commit Graph

15 Commits

Author SHA1 Message Date
wmayer
0ae1ec462d Fixes #13011: Failure of test additionOperators when built with Qt6 2024-03-20 18:05:13 +01:00
Chris Hennes
2ad35ea03e 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
33600efe80 PD: prevent MSVC from defining min/max 2023-07-15 07:45:38 -05:00
Chris Hennes
e7f8f26bd5 App/Toponaming: Basic tests and linter issues 2023-07-14 23:03:18 -05:00
Chris Hennes
9ea7b6424b 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
4a8d3853ba [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
eb852691df Fix typos and whitespace 2023-03-22 17:10:38 +01:00
Pesc0
dce458d1e8 Added all tests and minor fixes 2023-03-19 02:55:24 +01:00
Pesc0
5e5719a435 Fixed tests 2023-03-18 19:44:18 +01:00
Chris Hennes
376c94f72f App/Toponaming: Finish Doxygen comments 2023-03-18 17:59:35 +01:00
Chris Hennes
c02aeafad0 App/Toponaming: Begin adding Doxygen comments 2023-03-17 02:21:29 +01:00
Chris Hennes
cd6c70adcc App/Toponaming: MappedName clang-tidy cleanup 2023-03-17 02:21:29 +01:00
Pesc0
1562179bdc MappedName unit tests almost complete 2023-03-17 01:43:34 +01:00
Pesc0
62246b951a Added initial tests to MappedName 2023-03-17 01:43:34 +01:00
Pesc0
5600c564be Added MappedName class 2023-03-17 01:42:53 +01:00