Commit Graph

16 Commits

Author SHA1 Message Date
48935e93b3 Fix the fix. 2024-11-14 01:24:40 +01:00
d75d3591ed Better solution for the previous fix. 2024-11-14 01:06:33 +01:00
43b14a071c Added to_real helper methods to String. 2023-12-27 13:02:57 +01:00
99621357a0 File copyright header updates pt4. 2023-12-17 22:50:00 +01:00
7df893ab6b Ported from godot: Add context support for editor translation
- timothyqiu
878cf8262a
2023-10-02 20:48:04 +02:00
5cb00f3622 Make the parameters of String's and PoolVector's join() const ref. 2023-05-25 22:27:34 +02:00
474e253aa1 Added 2 const qualifiers. 2023-05-25 21:54:57 +02:00
8ab1998fcb Ported from godot 4: Optimize Node::add_child validation
Adding 10k nodes is almost twice as fast.
- reduz
223ce4fcb9
2023-04-10 18:10:22 +02:00
d357a57ab2 Updated the logic of a few getters in String. 2023-03-22 01:42:53 +01:00
4b23c9c5c9 Renamed utf8_length() to utf8_byte_length(), and utf16_length() to utf16_byte_length() in String, as this might help to better explain why these differ from normal length(). 2023-03-20 22:34:21 +01:00
a0d33b5fcd Added utf8_length(), and utf16_length() helper methods to String. 2023-03-20 22:12:17 +01:00
3bf2b79d88 Added set_length helper method to String. 2022-12-22 21:10:04 +01:00
e756718326 Add _FORCE_INLINE_ to String's resize(). 2022-12-22 20:04:50 +01:00
4fb7856b5a Remove now superfluos check from String's operator[]. 2022-12-22 20:03:28 +01:00
0f841bac29 Now String and CharString Types properly move the null terminator on resize and remove. 2022-08-26 15:10:56 +02:00
220b2db443 Moved String and related classes under a string folder in core. 2022-08-17 14:19:55 +02:00