Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | Allows parsing of invalid UTF-16 surrogates (can be encountered in Windows ↵ | bruvzg | 2022-07-07 | 1 | -148/+245 |
| | | | | filenames) and some non-standard UTF-8 variants, makes Unicode parse errors more verbose. | ||||
* | Fix parameter name for String.left and String.right | Haoyu Qiu | 2022-06-12 | 1 | -12/+12 |
| | |||||
* | Fix `String.uri_encode` on Windows | Haoyu Qiu | 2022-06-03 | 1 | -9/+6 |
| | |||||
* | Tweak 64-bit integer overflow message to mention that it's a signed type | Hugo Locurcio | 2022-05-20 | 1 | -6/+6 |
| | |||||
* | Create onready variables when dropping nodes and holding Ctrl | Haoyu Qiu | 2022-05-17 | 1 | -9/+26 |
| | |||||
* | Add documentation comments for internationalization C++ macros | Hugo Locurcio | 2022-05-12 | 1 | -3/+60 |
| | |||||
* | Fix left aligned integer sign in string formatting | Haoyu Qiu | 2022-05-01 | 1 | -15/+18 |
| | |||||
* | Merge pull request #59979 from bruvzg/cpp_check2 | Rémi Verschelde | 2022-04-27 | 1 | -5/+0 |
|\ | |||||
| * | Fix more issues found by cppcheck. | bruvzg | 2022-04-20 | 1 | -5/+0 |
| | | |||||
* | | Implement Scene Unique Nodes | reduz | 2022-04-25 | 1 | -1/+2 |
|/ | | | | | | | | Implements https://github.com/godotengine/godot-proposals/issues/4096 * Nodes can be marked unique to the scene in the editor (or via code). * Unique nodes can be accessed via the **%** prefix at any point in the path. From that point in the path (depending on whether the scene of the path is), the unique node will be fetched. * Implementation is very optimal, as these nodes are cached. | ||||
* | Unify TextServer built-in module and GDExtension code. | bruvzg | 2022-03-17 | 1 | -0/+6 |
| | |||||
* | Optimize String concatenation and copy functions | Bartłomiej T. Listwon | 2022-02-24 | 1 | -45/+38 |
| | |||||
* | Cleanup and move char functions to the `char_utils.h` header. | bruvzg | 2022-02-04 | 1 | -33/+13 |
| |