summaryrefslogtreecommitdiffstats
path: root/core/string
Commit message (Collapse)AuthorAgeFilesLines
* Fix String::begins_with when both strings are emptyMika Viskari2024-03-051-1/+5
|
* Merge pull request #87191 from Mickeon/autocompletion-TranslationServerRémi Verschelde2024-03-012-0/+27
|\ | | | | | | Add autocompletion for TranslationServer
| * Add autocompletion for TranslationServerMicky2024-02-292-0/+27
| |
* | Merge pull request #86222 from YeldhamDev/give_me_those_strings_babyRémi Verschelde2024-02-294-22/+84
|\ \ | | | | | | | | | Add option to add built-in strings in the POT generation
| * | Add option to add built-in strings in the POT generationMichael Alexsander2024-02-284-22/+84
| | |
* | | Merge pull request #81822 from nlupugla/nodepath-sliceRémi Verschelde2024-02-292-2/+33
|\ \ \ | |/ / |/| | | | | Add `NodePath::slice` method
| * | Added NodePath::slice method.nlupugla2023-12-132-2/+33
| | |
* | | Remove word duplicates in comments and strings, and fix casing and punctuationRobert Yevdokimov2024-02-231-1/+1
| | |
* | | Merge pull request #84906 from /fix-some-defvalsRémi Verschelde2024-02-233-7/+62
|\ \ \
| * | | Fix some DEFVALs to use the right typeRaul Santos2024-02-233-7/+62
| | | | | | | | | | | | | | | | | | | | - Use `StringName()` in DEFVAL for StringNames. - Use `Variant()` in DEFVAL for Variants.
* | | | Add Unicode support to `String.to_*_case()` methodsDanil Alexeev2024-02-223-20/+1347
|/ / /
* | | Merge pull request #88339 from Rubonnek/remove-hashunionRémi Verschelde2024-02-151-5/+0
|\ \ \ | | | | | | | | | | | | Remove `_HashUnion` from `StringName`
| * | | Remove _HashUnion from StringNameWilson E. Alvarez2024-02-141-5/+0
| | | |
* | | | Add const lvalue ref to core/* container parametersMuller-Castro2024-02-144-15/+15
|/ / /
* | | Link xid_start and xid_continue externally to prevent data duplication in binaryBartłomiej T. Listwon2024-02-111-2/+2
| | |
* | | Remove unnecessary `this->` expressionsA Thousand Ships2024-01-292-16/+16
| |/ |/|
* | [Pseudolocalization] Prevent out of bounds reads.bruvzg2024-01-051-5/+5
| |
* | Merge pull request #84462 from MewPurPur/optimize-humanizesizeRémi Verschelde2024-01-041-16/+31
|\ \ | | | | | | | | | Optimize `String.humanize_size()`
| * | Optimize String.humanize_size()MewPurPur2023-11-051-16/+31
| | |
* | | Merge pull request #84445 from Rubonnek/add-const-references-clang-tidyRémi Verschelde2024-01-041-2/+2
|\ \ \ | | | | | | | | | | | | Add const references detected by clang-tidy
| * | | Add const references detected by clang-tidyWilson E. Alvarez2023-12-161-2/+2
| | | |
* | | | Merge pull request #84375 from Rubonnek/use-const-referenceRémi Verschelde2024-01-042-8/+8
|\ \ \ \ | |/ / / |/| | | | | | | Add const references in `String` class
| * | | Add const references in String classWilson E. Alvarez2023-11-022-8/+8
| |/ /
* | | Merge pull request #70315 from RandomShaper/d3d12_mesaRémi Verschelde2023-12-121-5/+21
|\ \ \ | |_|/ |/| | Direct3D 12 Rendering Driver (Mesa NIR approach)
| * | Add 'u' format modifier for unsigned int/hexPedro J. Estébanez2023-12-011-5/+21
| | |
* | | Do not reload resources and send notification if locale is not changed.bruvzg2023-12-051-1/+5
|/ /
* | Add unsigned char cast ifdef.bruvzg2023-11-291-0/+20
| |
* | Fix remapped font reloading on locale change.bruvzg2023-11-131-4/+6
| |
* | Allow auto-generated node names in `PopupMenu::add_submenu_item`Yuri Sizov2023-11-092-2/+7
| |
* | [X11] Add fallback from desktop GL to GLES, suppress PRIME detector error spam.bruvzg2023-11-061-1/+1
|/
* Fix StringName leaks in VariantParserYuri Sizov2023-10-191-6/+4
|
* Do not replace starting digit with underscore when making identifierAlfonso J. Ramos2023-10-041-11/+13
|
* Fix platform-dependent hashing for char* and wchar_t*Jan Haller2023-09-241-6/+14
| | | | | | Since char/wchar_t can be either signed or unsigned, its conversion to uint32_t leads to different values depending on platform. In particular, the same string represented as char* (Latin-1; StringName direct construction) or uint32_t (UTF-8; constructed via String) previously resulted in different hashes.
* [Core] Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicableA Thousand Ships2023-09-113-7/+7
|
* Extract ScriptInstance to simplify includesYuri Sizov2023-09-061-1/+0
| | | | | | | | | This allows to include script_instance.h directly in the generated gdvirtual.gen.inc, and remove excessive includes from the codebase. This should also allow Resource to use GDVIRTUAL macros, which wasn't possible previously due to a circular dependency.
* [String] Fix string conversion for -0.0 float values.bruvzg2023-09-051-5/+5
|
* Optimize String.left() and String.right()MewPurPur2023-08-201-2/+6
|
* Merge pull request #78529 from Chaosus/string_reverseRémi Verschelde2023-08-162-0/+18
|\ | | | | | | Add `String.reverse` method
| * Add `String.reverse` methodYuri Roubinski2023-06-212-0/+18
| |
* | Merge pull request #79980 from bruvzg/fix_test_str_errsRémi Verschelde2023-08-091-1/+1
|\ \ | | | | | | | | | [String] Fix Unicode parsing error message encoding and related JSON tests.
| * | [String] Fix Unicode parsing error message encoding and related JSON tests.bruvzg2023-07-281-1/+1
| | |
* | | Merge pull request #79654 from timothyqiu/hanYuri Sizov2023-08-011-3/+3
|\ \ \ | |/ / |/| | | | | Fix script name of Hant and Hans
| * | Fix script name of Hant and HansHaoyu Qiu2023-07-201-3/+3
| | |
* | | Merge pull request #78747 from RandomShaper/fix_trans_threadingYuri Sizov2023-07-262-0/+11
|\ \ \ | |/ / |/| | | | | Support loading of translations on threads
| * | Support loading of translations on threadsPedro J. Estébanez2023-06-292-0/+11
| | |
* | | Merge pull request #79017 from bruvzg/esc_fixYuri Sizov2023-07-141-0/+2
|\ \ \ | | | | | | | | | | | | [Terminal Output] Reset text properties after `print_rich`.
| * | | [Terminal Output] Reset text properties after `print_rich`.bruvzg2023-07-041-0/+2
| |/ /
* / / Fix erroneous pad_zeros warningMewPurPur2023-07-081-4/+5
|/ /
* | Merge pull request #74760 from lassade/unicode-err-uses-replacement-charRémi Verschelde2023-06-222-31/+51
|\ \ | |/ |/| | | Don't append non unicode scalar values on the string, instead use the unicode replacement char
| * use the unicode replacement char on errorFelipe Jorge2023-03-122-31/+51
| | | | | | | | | | | | | | | | update tests also fix utf8 and ascii parse functions to use the replacement char created a _replacement_char const inside the string