Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix `StringName` comparison | Ninni Pipping | 2023-05-18 | 1 | -0/+9 |
| | |||||
* | Merge pull request #76735 from AThousandShips/natural_cmp | Rémi Verschelde | 2023-05-09 | 2 | -48/+111 |
|\ | | | | | | | Add `naturalcasecmp_to` function to `String` | ||||
| * | Add `naturalcasecmp_to` function to `String` | Ninni Pipping | 2023-05-07 | 2 | -48/+111 |
| | | | | | | | | Functions as a complement to `naturalnocasecmp_to` | ||||
* | | Merge pull request #76540 from reduz/redo-remote-filesystem | Rémi Verschelde | 2023-05-08 | 2 | -5/+11 |
|\ \ | | | | | | | | | | Redo how the remote filesystem works | ||||
| * | | Redo how the remote filesystem works | Juan Linietsky | 2023-05-08 | 2 | -5/+11 |
| |/ | | | | | | | | | | | | | | | | | Instead of reading files over the network, the new version uses a local file cache and only updates files when it changes. The original remote filesystem was created 14 years ago, when ethernet was faster than hard drives or even flash. Also, mobile devices have a very small amount of storage. Nowadays, this is no longer the case so the approach is changed to using a persistent cache in the target device. Co-authored-by: m4gr3d | ||||
* | | Merge pull request #75510 from SilicDev/string_erase | Clay John | 2023-05-05 | 2 | -0/+7 |
|\ \ | | | | | | | Reimplement `String.erase()` as immutable method | ||||
| * | | Reimplement String.erase | SilicDev | 2023-05-04 | 2 | -0/+7 |
| | | | |||||
* | | | Merge pull request #72288 from MewPurPur/use-string-repeat | Clay John | 2023-05-05 | 2 | -36/+22 |
|\ \ \ | |_|/ |/| | | Use `String.repeat()` to optimize several String methods | ||||
| * | | Use String.repeat() in more places | VolTer | 2023-05-01 | 2 | -36/+22 |
| | | | |||||
* | | | Fix misuses of error macros | Danil Alexeev | 2023-04-18 | 1 | -1/+1 |
| | | | |||||
* | | | Optimize Object::get_class_name | Juan Linietsky | 2023-04-08 | 2 | -0/+10 |
| | | | | | | | | | | | | | | | * Run the static function once per class instead of one per instance. * Saves some memory in Object derived classes. | ||||
* | | | Optimize Node::add_child validation | Juan Linietsky | 2023-04-07 | 2 | -7/+75 |
| |/ |/| | | | | | Adding 10k nodes is almost twice as fast. | ||||
* | | add `hex_decode()` to `String` | bendn | 2023-04-05 | 2 | -0/+31 |
| | | |||||
* | | Add GDScript `to_wchar_buffer` and `get_string_from_wchar` functions. | bruvzg | 2023-03-21 | 2 | -0/+9 |
| | | |||||
* | | Improve layout direction/locale automatic selection. | bruvzg | 2023-02-22 | 1 | -1/+19 |
| | | |||||
* | | Don't warn when using TTRN() in a language without plurals | Haoyu Qiu | 2023-02-11 | 1 | -5/+0 |
| | | |||||
* | | Merge pull request #72547 from MewPurPur/string-split-fix | Rémi Verschelde | 2023-02-09 | 1 | -0/+8 |
|\ \ | | | | | | | | | | Fix String.split() with empty string and delimeter | ||||
| * | | Fix String.split() with empty string and delimeter | VolTer | 2023-02-02 | 1 | -0/+8 |
| | | | |||||
* | | | Prepare for moving editor and classref translations to godot-editor-l10n repo | Haoyu Qiu | 2023-02-07 | 2 | -0/+17 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - Separate editor interface and property translations. - Add property translation in TranslationServer. - The split and merge of the POT/PO/Makefiles and extract scripts is done directly in godot-editor-l10n, the files will be removed in the next commit. - Remove the hardcoded "to_include" lists from the SCsub, we'll only commit the files which are ready to inclue. | ||||
* | | | StringName: fix returning dangling data from char constructor. | Lyuma | 2023-02-06 | 1 | -33/+26 |
| | | | | | | | | | | | | | | | | | | Fixes a copy paste mistake in the `StringName(const char *,bool)` constructor, to match the same form as the other two constrcutors. This fixes a case where this constructor can return a dangling pointer and cause use-after-free. | ||||
* | | | Remove unused `has_slashes` from NodePath | Aaron Franke | 2023-02-01 | 2 | -6/+0 |
|/ / | |||||
* / | Handle gltf binary | K. S. Ernest (iFire) Lee | 2023-01-27 | 2 | -1/+20 |
|/ | | | | | | | | | | | | [ 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. | ||||
* | Merge pull request #68429 from KoBeWi/PropertySettings | Rémi Verschelde | 2023-01-06 | 1 | -1/+1 |
|\ | | | | | Add PropertyInfo overload for GLOBAL_DEF | ||||
| * | Add PropertyInfo overload for GLOBAL_DEF | kobewi | 2022-12-11 | 1 | -1/+1 |
| | | |||||
* | | One Copyright Update to rule them all | Rémi Verschelde | 2023-01-05 | 21 | -609/+609 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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". | ||||
* | | Add missing != operator to `StringName` | Yuri Rubinsky | 2022-12-20 | 2 | -0/+5 |
| | | |||||
* | | Fix String::word_wrap() for long words | Haoyu Qiu | 2022-12-16 | 2 | -32/+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 | 2 | -0/+13 |
| | |||||
* | Double precision of `String.split_floats` | Micky | 2022-11-20 | 2 | -3/+3 |
| | |||||
* | 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 |
| | | |||||
* | | Merge pull request #68448 from bruvzg/font_imp_tr | Rémi Verschelde | 2022-11-14 | 6 | -0/+66 |
|\ \ | | | | | | | | | | [Font] Add an import option to pre-render all glyphs required for the translation. | ||||
| * | | [Font] Add an import option to pre-render all glyphs required for the ↵ | bruvzg | 2022-11-10 | 6 | -0/+66 |
| | | | | | | | | | | | | translation. | ||||
* | | | 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 | 2 | -6/+19 |
|/ | |||||
* | Merge pull request #67931 from bruvzg/locale_no_def | Rémi Verschelde | 2022-10-31 | 2 | -17/+24 |
|\ | | | | | | | Do not auto add default script and country codes to the locale. | ||||
| * | Do not auto add default script and country codes to the locale. | bruvzg | 2022-10-27 | 2 | -17/+24 |
| | | |||||
* | | Merge pull request #67578 from KoBeWi/GEDITOR | Rémi Verschelde | 2022-10-31 | 1 | -1/+1 |
|\ \ | |/ |/| | | | Unify usage of GLOBAL/EDITOR_GET | ||||
| * | Unify usage of GLOBAL/EDITOR_GET | kobewi | 2022-10-18 | 1 | -1/+1 |
| | | |||||
* | | 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 |
|/ | |||||
* | Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵ | bruvzg | 2022-10-07 | 2 | -61/+58 |
| | | | | change warnings=all to use /W4. | ||||
* | 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. |