Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-11-11 | String: Remove `erase` method, bindings can't mutate String | Rémi Verschelde | |
2021-11-11 | Add missing characters for property name quoting | Haoyu Qiu | |
2021-11-03 | Rename `PROPERTY_USAGE_NOEDITOR` to `PROPERTY_USAGE_NO_EDITOR` | Hugo Locurcio | |
This is consistent with other constants that include `NO`, such as `PROPERTY_HINT_COLOR_NO_ALPHA`. | |||
2021-10-28 | Merge pull request #54350 from akien-mga/clang-format-dont-align-operands | Rémi Verschelde | |
2021-10-28 | Merge pull request #53526 from KoBeWi/super_print | Rémi Verschelde | |
2021-10-28 | clang-format: Various fixes to comments alignment from `clang-format` 13 | Rémi Verschelde | |
All reviewed manually and occasionally rewritten to avoid bad auto formatting. | |||
2021-10-28 | clang-format: Disable alignment of operands, too unreliable | Rémi Verschelde | |
Sets `AlignOperands` to `DontAlign`. `clang-format` developers seem to mostly care about space-based indentation and every other version of clang-format breaks the bad mismatch of tabs and spaces that it seems to use for operand alignment. So it's better without, so that it respects our two-tabs `ContinuationIndentWidth`. | |||
2021-10-22 | Merge pull request #54081 from Rubonnek/add_bin_messages_master | Rémi Verschelde | |
2021-10-21 | Accept capital B in String::bin_to_int prefix | Wilson E. Alvarez | |
2021-10-21 | Add error messages to String::hex_to_int, and accept capital X in prefix | Wilson E. Alvarez | |
2021-10-14 | Fix specific warnings issues by Clang | K. S. Ernest (iFire) Lee | |
Found by `scons dev=yes` on llvm-mingw. | |||
2021-10-07 | Change print_line() to use any number of Variants | kobewi | |
2021-10-05 | Merge pull request #53225 from aaronfranke/c-locale | Rémi Verschelde | |
2021-10-04 | GDScript completion: Handle quote style ad-hoc to remove editor dependency | Rémi Verschelde | |
`core` and `scene` shouldn't depend on `editor`, so they can't query this style setting in `get_argument_options`. But we can handle it after the fact in GDScript's completion code. Also cleans up a couple extra unused invalid includes in `core`. | |||
2021-10-04 | Merge pull request #53270 from akien-mga/charproxy-add-copy-constructor | Rémi Verschelde | |
2021-09-30 | Use range iterators for `Map` | Lightning_A | |
2021-09-30 | CharProxy: Add copy constructor | Rémi Verschelde | |
Adding the copy constructor is needed to solve a `-Wdeprecated-copy` warning from GCC and Clang, which is raised when upgrading doctest from 2.4.4 to 2.4.6. | |||
2021-09-29 | Add locale rename for the "C" locale | Aaron Franke | |
2021-09-29 | Implement override of get_message and get_plural_message | O01eg | |
2021-09-15 | Fix String::num_real and String test cases when compiling with doubles | Aaron Franke | |
2021-09-13 | Merge pull request #52049 from theraot/master | Rémi Verschelde | |
2021-09-08 | Merge pull request #52408 from GiantBlargg/fix-string-cast | Fabio Alessandrelli | |
Fix invalid string cast | |||
2021-09-04 | fix invalid string cast | Daniel Doran | |
2021-08-31 | Remove `#ifdefs` for handling compilation with Visual Studio < 2015 | Hugo Locurcio | |
Godot 3.3 and later require Visual Studio 2017 to be compiled. | |||
2021-08-29 | Rename String::is_rel_path to String::is_relative_path | Wilson E. Alvarez | |
2021-08-24 | Fix get_base_dir windows top level directory logic | Theraot | |
This is a fix for https://github.com/godotengine/godot/issues/52048 | |||
2021-08-18 | String: Remove old NO_USE_STDLIB code path | Rémi Verschelde | |
We're using the standard library in many core classes by now so this code path no longer makes sense. | |||
2021-08-18 | String: Fix default decimals truncation in num and num_real | Rémi Verschelde | |
Fixes undefined behavior, and fixes the logic for negative powers of ten. Fixes #51764. Adds tests to validate the changes and prevent regressions. Adds docs for `String.num`. | |||
2021-08-13 | Convert ustring macros to inline functions and use them wherever possible. | Anilforextra | |
Add new inline functions to check if a character is lowercase or uppercase. Remove unused upper case macro. | |||
2021-08-08 | Merge pull request #51395 from angad-k/pseudolocalization-squashed | Rémi Verschelde | |
Add pseudolocalization to Godot. (GSoC'21) | |||
2021-08-08 | add pseudolocalization to Godot | Angad Kambli | |
2021-07-25 | Use const references where possible for List range iterators | Rémi Verschelde | |
2021-07-23 | Use C++ iterators for Lists in many situations | Aaron Franke | |
2021-07-22 | Merge pull request #50319 from nekomatata/optimize-node-path-check | Rémi Verschelde | |
Optimize NodePath update when renaming or deleting nodes in the editor | |||
2021-07-20 | Adds ability to debug stringnames | reduz | |
* References (which include hash tables) can be profiled with --debug-stringnames | |||
2021-07-20 | Merge pull request #50655 from JFonS/sname_opt | Rémi Verschelde | |
Editor StringName and Viewport optimizations | |||
2021-07-20 | Editor StringName and Viewport optimizations | Joan Fons | |
* Added explicit return type to the SNAME macro. * Add some extra SNAME usages. * Change some ClassDB methods to use const StringName & arguments. * Cache the Window parent in Control because it's used in is_layout_rtl(), which is called often. * Only enable internal processing for viewports that need it. * Change CanvasItem::group to be a StringName because it's only used as that. | |||
2021-07-20 | Merge pull request #50518 from timothyqiu/locale-az | Rémi Verschelde | |
Fix missing locale names | |||
2021-07-18 | Optimize StringName usage | reduz | |
* Added a new macro SNAME() that constructs and caches a local stringname. * Subsequent usages use the cached version. * Since these use a global static variable, a second refcounter of static usages need to be kept for cleanup time. * Replaced all theme usages by this new macro. * Replace all signal emission usages by this new macro. * Replace all call_deferred usages by this new macro. This is part of ongoing work to optimize GUI and the editor. | |||
2021-07-16 | Fix missing locale names | Haoyu Qiu | |
2021-07-13 | Merge pull request #49291 from NoFr1ends/fix-49262 | Rémi Verschelde | |
String::format leave passed values untouched | |||
2021-07-09 | Optimize NodePath update when renaming or deleting nodes in the editor | PouleyKetchoupp | |
Now the process uses a Map to lookup node pointers instead of iterating over all modified node paths in a list and comparing them for each property to check. The process also avoids checking properties with empty node paths and does an early exit on deleted nodes to avoid checking the node and its descendants. Also made a minor change in NodePath::rel_path_to() to avoid resizing a Vector many times for long paths (with copy-on-write each time). Now it's down to 2 resize calls in any case. | |||
2021-06-19 | Rename `instance()`->`instantiate()` when it's a verb | Lightning_A | |
2021-06-16 | Rename `is_valid_integer()` to `is_valid_int()` | Lightning_A | |
Method from `String` | |||
2021-06-16 | Merge pull request #49505 from underdoeg/patch-2 | Rémi Verschelde | |
fix url parsing with port numbers | |||
2021-06-13 | Merge pull request #34668 from aaronfranke/to-string | Rémi Verschelde | |
[Core] Reformat structure string operators | |||
2021-06-11 | Reformat structure string operators | Aaron Franke | |
The order of numbers is not changed except for Transform2D. All logic is done inside of their structures (and not in Variant). For the number of decimals printed, they now use String::num_real which works best with real_t, except for Color which is fixed at 4 decimals (this is a reliable number of float digits when converting from 16-bpc so it seems like a good choice) | |||
2021-06-11 | Merge pull request #49511 from akien-mga/core-diraccess-fileaccess-io | Rémi Verschelde | |
Core: Move DirAccess and FileAccess to `core/io` | |||
2021-06-11 | Merge pull request #49279 from Calinou/rename-string-is-abs-path-method | Rémi Verschelde | |
Rename `String.is_abs_path()` to `String.is_absolute_path()` | |||
2021-06-11 | Core: Move DirAccess and FileAccess to `core/io` | Rémi Verschelde | |
File handling APIs are typically considered part of I/O, and we did have most `FileAccess` implementations in `core/io` already. |