summaryrefslogtreecommitdiffstats
path: root/core/string/optimized_translation.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [Font] Add an import option to pre-render all glyphs required for the ↵bruvzg2022-11-101-0/+33
| | | | translation.
* Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵bruvzg2022-10-071-9/+9
| | | | change warnings=all to use /W4.
* Replace most uses of Map by HashMapreduz2022-05-161-3/+3
| | | | | | | | | | | | * Map is unnecessary and inefficient in almost every case. * Replaced by the new HashMap. * Renamed Map to RBMap and Set to RBSet for cases that still make sense (order matters) but use is discouraged. There were very few cases where replacing by HashMap was undesired because keeping the key order was intended. I tried to keep those (as RBMap) as much as possible, but might have missed some. Review appreciated!
* Style: Partially apply clang-tidy's `cppcoreguidelines-pro-type-member-init`Rémi Verschelde2022-05-021-2/+2
| | | | | | | | | | | Didn't commit all the changes where it wants to initialize a struct with `{}`. Should be reviewed in a separate PR. Option `IgnoreArrays` enabled for now to be conservative, can be disabled to see if it proposes more useful changes. Also fixed manually a handful of other missing initializations / moved some from constructors.
* Update copyright statements to 2022Rémi Verschelde2022-01-031-2/+2
| | | | Happy new year to the wonderful Godot community!
* Fix specific warnings issues by ClangK. S. Ernest (iFire) Lee2021-10-141-5/+0
| | | | Found by `scons dev=yes` on llvm-mingw.
* Use range iterators for `Map`Lightning_A2021-09-301-5/+5
|
* Use const references where possible for List range iteratorsRémi Verschelde2021-07-251-1/+1
|
* Use C++ iterators for Lists in many situationsAaron Franke2021-07-231-3/+3
|
* Check PHashTranslation generate p_from is validMaxStgs2021-05-031-0/+1
|
* Rename PHashTranslation to OptimizedTranslationMarcel Admiraal2021-03-201-0/+288