Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add 'u' format modifier for unsigned int/hex | Pedro J. Estébanez | 2023-12-01 | 1 | -5/+21 |
| | |||||
* | Add unsigned char cast ifdef. | bruvzg | 2023-11-29 | 1 | -0/+20 |
| | |||||
* | Allow auto-generated node names in `PopupMenu::add_submenu_item` | Yuri Sizov | 2023-11-09 | 1 | -1/+6 |
| | |||||
* | Do not replace starting digit with underscore when making identifier | Alfonso J. Ramos | 2023-10-04 | 1 | -11/+13 |
| | |||||
* | Fix platform-dependent hashing for char* and wchar_t* | Jan Haller | 2023-09-24 | 1 | -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. | ||||
* | [String] Fix string conversion for -0.0 float values. | bruvzg | 2023-09-05 | 1 | -5/+5 |
| | |||||
* | Optimize String.left() and String.right() | MewPurPur | 2023-08-20 | 1 | -2/+6 |
| | |||||
* | Merge pull request #78529 from Chaosus/string_reverse | Rémi Verschelde | 2023-08-16 | 1 | -0/+17 |
|\ | | | | | | | Add `String.reverse` method | ||||
| * | Add `String.reverse` method | Yuri Roubinski | 2023-06-21 | 1 | -0/+17 |
| | | |||||
* | | [String] Fix Unicode parsing error message encoding and related JSON tests. | bruvzg | 2023-07-28 | 1 | -1/+1 |
| | | |||||
* | | Fix erroneous pad_zeros warning | MewPurPur | 2023-07-08 | 1 | -4/+5 |
| | | |||||
* | | Merge pull request #74760 from lassade/unicode-err-uses-replacement-char | Rémi Verschelde | 2023-06-22 | 1 | -31/+50 |
|\ \ | |/ |/| | | | Don't append non unicode scalar values on the string, instead use the unicode replacement char | ||||
| * | use the unicode replacement char on error | Felipe Jorge | 2023-03-12 | 1 | -31/+50 |
| | | | | | | | | | | | | | | | | update tests also fix utf8 and ascii parse functions to use the replacement char created a _replacement_char const inside the string | ||||
* | | Merge pull request #76735 from AThousandShips/natural_cmp | Rémi Verschelde | 2023-05-09 | 1 | -48/+110 |
|\ \ | | | | | | | | | | Add `naturalcasecmp_to` function to `String` | ||||
| * | | Add `naturalcasecmp_to` function to `String` | Ninni Pipping | 2023-05-07 | 1 | -48/+110 |
| | | | | | | | | | | | | Functions as a complement to `naturalnocasecmp_to` | ||||
* | | | Merge pull request #75510 from SilicDev/string_erase | Clay John | 2023-05-05 | 1 | -0/+6 |
|\ \ \ | | | | | | | | | Reimplement `String.erase()` as immutable method | ||||
| * | | | Reimplement String.erase | SilicDev | 2023-05-04 | 1 | -0/+6 |
| | | | | |||||
* | | | | Merge pull request #72288 from MewPurPur/use-string-repeat | Clay John | 2023-05-05 | 1 | -24/+17 |
|\ \ \ \ | |_|/ / |/| | | | Use `String.repeat()` to optimize several String methods | ||||
| * | | | Use String.repeat() in more places | VolTer | 2023-05-01 | 1 | -24/+17 |
| | | | | |||||
* | | | | Fix misuses of error macros | Danil Alexeev | 2023-04-18 | 1 | -1/+1 |
| | | | | |||||
* | | | | Optimize Node::add_child validation | Juan Linietsky | 2023-04-07 | 1 | -6/+73 |
| |/ / |/| | | | | | | | | Adding 10k nodes is almost twice as fast. | ||||
* | | | add `hex_decode()` to `String` | bendn | 2023-04-05 | 1 | -0/+29 |
| | | | |||||
* | | | Add GDScript `to_wchar_buffer` and `get_string_from_wchar` functions. | bruvzg | 2023-03-21 | 1 | -0/+8 |
| |/ |/| | |||||
* | | Fix String.split() with empty string and delimeter | VolTer | 2023-02-02 | 1 | -0/+8 |
| | | |||||
* | | Handle gltf binary | K. S. Ernest (iFire) Lee | 2023-01-27 | 1 | -1/+19 |
|/ | | | | | | | | | | | | [ Ignore and Warn | Extract Textures (default) | Optimize Loading Embedded as Basisu ] Enable compressed mip maps from Basis Universal for faster compressions. Increase the quality of Basis to avoid corruption. To keep compatibility use the first mip of the previous internal Godot format. Because texture names may have invalid filename characters, adds String::validate_filename to sanitize filenames for import pipeline use. | ||||
* | One Copyright Update to rule them all | Rémi Verschelde | 2023-01-05 | 1 | -29/+29 |
| | | | | | | | | | | | | | | | | | | | | As many open source projects have started doing it, we're removing the current year from the copyright notice, so that we don't need to bump it every year. It seems like only the first year of publication is technically relevant for copyright notices, and even that seems to be something that many companies stopped listing altogether (in a version controlled codebase, the commits are a much better source of date of publication than a hardcoded copyright statement). We also now list Godot Engine contributors first as we're collectively the current maintainers of the project, and we clarify that the "exclusive" copyright of the co-founders covers the timespan before opensourcing (their further contributions are included as part of Godot Engine contributors). Also fixed "cf." Frenchism - it's meant as "refer to / see". | ||||
* | Fix String::word_wrap() for long words | Haoyu Qiu | 2022-12-16 | 1 | -31/+0 |
| | | | | | | | | | - Changes `TextServer.string_get_word_breaks()` - Returns pairs of boundary start and end offsets - Accepts `chars_per_line` to return line breaks - Removes `String::word_wrap()` Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com> | ||||
* | Improve logic for detecting and tracking extensions | Bastiaan Olij | 2022-11-24 | 1 | -0/+12 |
| | |||||
* | Double precision of `String.split_floats` | Micky | 2022-11-20 | 1 | -2/+2 |
| | |||||
* | Merge pull request #68229 from Mickeon/c-escape-hell | Rémi Verschelde | 2022-11-14 | 1 | -2/+0 |
|\ | | | | | | | Remove "?" from String.c_escape() | ||||
| * | Remove "?" from String.c_escape() | Micky | 2022-11-03 | 1 | -2/+0 |
| | | |||||
* | | Remove redundant Variant-types initializations | Markus Sauermann | 2022-11-14 | 1 | -1/+1 |
| | | |||||
* | | fix a buffer overflow due to a misbehaving vcrt snprintf call on ↵ | gnumaru | 2022-11-09 | 1 | -3/+13 |
| | | | | | | | | String::num, at core/string/ustring.cpp | ||||
* | | Add support for empty delimiter in String.split | kobewi | 2022-11-04 | 1 | -4/+17 |
|/ | |||||
* | Fix localize_path with custom protocol identifiers | Gilles Roudière | 2022-10-20 | 1 | -1/+1 |
| | |||||
* | Fix big negative numbers printing incorrect decimals in num_real | Aaron Franke | 2022-10-15 | 1 | -4/+5 |
| | |||||
* | Make String.simplify_path keep the protocol identifier for urls | Gilles Roudière | 2022-10-13 | 1 | -25/+36 |
| | |||||
* | Merge pull request #64268 from timothyqiu/is-finite | Rémi Verschelde | 2022-10-11 | 1 | -6/+6 |
|\ | | | | | | | Add `is_finite` method for checking built-in types | ||||
| * | Add `is_finite` method for checking built-in types | Haoyu Qiu | 2022-10-08 | 1 | -6/+6 |
| | | |||||
* | | Fix simplify_path() breaking uid:// | kobewi | 2022-10-09 | 1 | -4/+7 |
|/ | |||||
* | Merge pull request #64833 from MarcusElg/naninfprinting | Rémi Verschelde | 2022-10-03 | 1 | -4/+12 |
|\ | | | | | | | Improve string formatting (%f and %v) for inf and nan | ||||
| * | Improve string formatting for %f and %v for inf and nan | Marcus Elg | 2022-08-25 | 1 | -4/+12 |
| | | |||||
* | | Fix MSVC warning C4706: assignment within conditional expression | Rémi Verschelde | 2022-09-28 | 1 | -10/+15 |
| | | | | | | | | Part of #66537. | ||||
* | | Add `String.to_{camel,pascal,snake}_case` methods | Danil Alexeev | 2022-08-30 | 1 | -38/+47 |
| | | |||||
* | | Rename String `plus_file` to `path_join` | Aaron Franke | 2022-08-29 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #63728 from MarcusElg/%v | Rémi Verschelde | 2022-08-24 | 1 | -3/+72 |
|\ | | | | | Add %v for formatting vectors | ||||
| * | Add %v for formatting vectors | Marcus Elg | 2022-08-23 | 1 | -3/+72 |
| | | |||||
* | | Improved performance of String repeat method | VolTer | 2022-08-22 | 1 | -12/+13 |
| | | |||||
* | | Fix undefined behavior in `String::operator+=(const String &)` | kleonc | 2022-08-18 | 1 | -2/+4 |
|/ | |||||
* | File: Re-add support to skip CR (`\r`) in `File::get_as_text` | Rémi Verschelde | 2022-08-01 | 1 | -1/+9 |
| | | | | | | | | | | | | This was removed in #63481, and we confirmed that it's better like this, but we add back the possibility to strip CR as an option, to optionally restore the previous behavior. For performance this is done directly in `String::parse_utf8`. Also fixes Android `FileAccess::get_line()` as this one _should_ strip CR. Supersedes #63717. |