Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-10-20 | Fix localize_path with custom protocol identifiers | Gilles Roudière | |
2022-10-15 | Fix big negative numbers printing incorrect decimals in num_real | Aaron Franke | |
2022-10-13 | Make String.simplify_path keep the protocol identifier for urls | Gilles Roudière | |
2022-10-11 | Merge pull request #64268 from timothyqiu/is-finite | Rémi Verschelde | |
Add `is_finite` method for checking built-in types | |||
2022-10-09 | Fix simplify_path() breaking uid:// | kobewi | |
2022-10-08 | Add `is_finite` method for checking built-in types | Haoyu Qiu | |
2022-10-03 | Merge pull request #64833 from MarcusElg/naninfprinting | Rémi Verschelde | |
Improve string formatting (%f and %v) for inf and nan | |||
2022-09-28 | Fix MSVC warning C4706: assignment within conditional expression | Rémi Verschelde | |
Part of #66537. | |||
2022-08-30 | Add `String.to_{camel,pascal,snake}_case` methods | Danil Alexeev | |
2022-08-29 | Rename String `plus_file` to `path_join` | Aaron Franke | |
2022-08-25 | Improve string formatting for %f and %v for inf and nan | Marcus Elg | |
2022-08-24 | Merge pull request #63728 from MarcusElg/%v | Rémi Verschelde | |
Add %v for formatting vectors | |||
2022-08-23 | Add %v for formatting vectors | Marcus Elg | |
2022-08-22 | Improved performance of String repeat method | VolTer | |
2022-08-18 | Fix undefined behavior in `String::operator+=(const String &)` | kleonc | |
2022-08-01 | File: Re-add support to skip CR (`\r`) in `File::get_as_text` | Rémi Verschelde | |
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. | |||
2022-07-07 | Allows parsing of invalid UTF-16 surrogates (can be encountered in Windows ↵ | bruvzg | |
filenames) and some non-standard UTF-8 variants, makes Unicode parse errors more verbose. | |||
2022-06-12 | Fix parameter name for String.left and String.right | Haoyu Qiu | |
2022-06-03 | Fix `String.uri_encode` on Windows | Haoyu Qiu | |
2022-05-20 | Tweak 64-bit integer overflow message to mention that it's a signed type | Hugo Locurcio | |
2022-05-17 | Create onready variables when dropping nodes and holding Ctrl | Haoyu Qiu | |
2022-05-12 | Add documentation comments for internationalization C++ macros | Hugo Locurcio | |
2022-05-01 | Fix left aligned integer sign in string formatting | Haoyu Qiu | |
2022-04-27 | Merge pull request #59979 from bruvzg/cpp_check2 | Rémi Verschelde | |
2022-04-25 | Implement Scene Unique Nodes | reduz | |
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. | |||
2022-04-20 | Fix more issues found by cppcheck. | bruvzg | |
2022-03-17 | Unify TextServer built-in module and GDExtension code. | bruvzg | |
2022-02-24 | Optimize String concatenation and copy functions | Bartłomiej T. Listwon | |
2022-02-04 | Cleanup and move char functions to the `char_utils.h` header. | bruvzg | |
2022-01-28 | Merge pull request #57116 from bruvzg/win_net_share | Rémi Verschelde | |
2022-01-26 | Rename String::is_subsequence_ofi to String::is_subsequence_ofn | Wilson E. Alvarez | |
2022-01-24 | [Windows] Add support for handling network share paths. | bruvzg | |
2022-01-20 | Rename or refactor macros to avoid leading underscores | Omar Polo | |
These are not used consistently and some can conflict with system-specific defines. While here, also delete some unused macros. | |||
2022-01-15 | Replace String::num_real code with a wrapper around String::num | Aaron Franke | |
2022-01-03 | Update copyright statements to 2022 | Rémi Verschelde | |
Happy new year to the wonderful Godot community! | |||
2021-12-16 | Make `--doctool` locale aware | Haoyu Qiu | |
* Adds `indent(str)` to `String`: * Indent the (multiline) string with the given indentation. * This method is added in order to keep the translated XML correctly indented. * Moves the loading of tool/doc translation into `editor/editor_translation.{h,cpp}`. * This will be used from both `EditorSettings` and the doc tool from `main`. * Makes use of doc translation when generating XML class references, and setup the translation locale based on `-l LOCALE` CLI parameter. The XML class reference won't be translated if `-l LOCALE` parameter is not given, or when it's `-l en`. | |||
2021-12-09 | Replace String comparisons with "", String() to is_empty() | Nathan Franke | |
Also: - Adds two stress tests to test_string.h - Changes to .empty() on std::strings | |||
2021-11-30 | Don't return reference on copy assignment operators | Rémi Verschelde | |
We prefer to prevent using chained assignment (`T a = b = c = T();`) as this can lead to confusing code and subtle bugs. According to https://en.wikipedia.org/wiki/Assignment_operator_(C%2B%2B), C++ allows any arbitrary return type, so this is standard compliant. This could be re-assessed if/when we have an actual need for a behavior more akin to that of the C++ STL, for now this PR simply changes a handful of cases which were inconsistent with the rest of the codebase (`void` return type was already the most common case prior to this commit). | |||
2021-11-23 | Rename `remove()` to `remove_at()` when removing by index | Lightning_A | |
2021-11-15 | Allow dehardcoding documentation branch and URL in docs links | Rémi Verschelde | |
This makes it possible to change the branch of the documentation that URLs are pointing to without having to modify all class reference files. In the XML class reference, the `$DOCS_URL` placeholder should be used, and will be replaced automatically in the editor and when generating the RST class reference. The documentation branch string is set in `version.py`. Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro> | |||
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-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-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-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-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 | |