1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-25 15:37:42 +00:00
Commit Graph

8419 Commits

Author SHA1 Message Date
Lukas Tenbrink
55a7de93c7 Add iteration to Span. 2025-03-11 23:46:25 +01:00
Thaddeus Crews
7893202fba Merge pull request #103939 from aaronp64/time_vformat
Remove outdated `vformat` comments/workarounds in `time.cpp`
2025-03-11 16:54:09 -05:00
Thaddeus Crews
69529ff0aa Merge pull request #102373 from dsnopek/gdextension-set-script-instance
GDExtension: Add interface functions for `Object::set_script_instance()`
2025-03-11 16:53:57 -05:00
Konrad Gadzina
e6f812c056 Modify color in ColorPicker with keyboard or joypad 2025-03-11 22:41:41 +01:00
Thaddeus Crews
e9e4760335 Merge pull request #83538 from bruvzg/size_and_at
[FileAccess] Implement `get_size` and `get_access_time` methods.
2025-03-11 14:00:58 -05:00
Michael Alexsander
5c66129e62 Allow to select multiple remote nodes at runtime 2025-03-11 12:35:41 -03:00
Thaddeus Crews
56bc9bc2f4 Merge pull request #102984 from syntaxerror247/volume-buttons
Android: enable support for volume button events
2025-03-11 09:34:46 -05:00
Lukas Tenbrink
541e721cac Change String copy_from_unchecked to actually not check the string, leading to performance optimizations across substr, count, and StringBuilder. 2025-03-11 13:47:47 +01:00
aaronp64
a7d0724b1a Remove outdated vformat comments/workarounds in Time.cpp
Time methods returning Strings with both date and time values included were calling vformat twice, as older vformat implementation limited how many arguments could be passed in.  Updated these methods to just call vformat once.
2025-03-11 06:57:30 -04:00
Pāvels Nadtočajevs
d990f594a0 Sync display/window/size/initial_position_type and Window::WINDOW_INITIAL_POSITION_ enum. 2025-03-11 08:33:02 +02:00
Julian
659d1b5d0c Fix crash caused by trailing spaces 2025-03-11 00:06:08 -04:00
Thaddeus Crews
78c9f8ddd9 Merge pull request #103906 from adamscott/revert-builtin-gui-license-notice
Revert "Add built-in GUI to display license notices"
2025-03-10 21:05:58 -05:00
Thaddeus Crews
b404c5d98f Merge pull request #103936 from Ivorforce/localvector-span
Add `Span` conversion to `LocalVector`.
2025-03-10 21:05:53 -05:00
Lukas Tenbrink
f5cb739a18 Add Span conversion to LocalVector. 2025-03-10 22:30:39 +01:00
Lukas Tenbrink
1818453faa Make use of latin1 encoding explicit in gdextension_interface.cpp. 2025-03-10 19:33:56 +01:00
Thaddeus Crews
7d46e7d011 Merge pull request #98379 from timothyqiu/alien-thread
Translate main thread name in the editor instead of running project
2025-03-10 10:01:11 -05:00
Thaddeus Crews
bea6d4c71d Merge pull request #103577 from YYF233333/noinline-err-print
Prevent inlining error printing functions
2025-03-10 10:01:08 -05:00
Thaddeus Crews
dae32f8ec6 Merge pull request #92737 from AThousandShips/packed_erase
[Core] Expose `Packed*Array::erase`
2025-03-10 10:01:06 -05:00
Thaddeus Crews
a13067e61f Merge pull request #97553 from AThousandShips/semantic_equal
[Core] Add `is_same` to types that have float components
2025-03-10 10:01:05 -05:00
Thaddeus Crews
8d1c1c5867 Merge pull request #92476 from AThousandShips/string_remove_char
Add `String::remove_char(s)` methods for performance and convenience
2025-03-10 10:01:04 -05:00
Adam Scott
1d325847f3 Revert "Add built-in GUI to display license notices"
This reverts commit daa6198925.
2025-03-10 10:33:12 -04:00
A Thousand Ships
d9721954e6 [Core] Use Vector for MethodInfo::arguments 2025-03-10 13:57:53 +01:00
A Thousand Ships
331a43a9d8 Add String::remove_char(s) methods for performance and convenience 2025-03-10 13:19:28 +01:00
Lukas Tenbrink
605b62cd29 Add Span struct (replacing StrRange). Spans represent read-only access to a contiguous array, resembling std::span. 2025-03-09 18:19:51 +01:00
bruvzg
85d3be8070 [FileAccess] Implement get_size and get_access_time methods. 2025-03-09 16:07:00 +02:00
Thaddeus Crews
cae3d722a3 Merge pull request #99321 from AThousandShips/use_get_slicec
Use `get_slicec` instead of `get_slice` for single character splitters
2025-03-09 09:05:29 -05:00
Thaddeus Crews
3a0b8da168 Merge pull request #101304 from Ivorforce/string-parse-ascii
Add `String::ascii` creator functions, to parse a char buffer as ASCII.
2025-03-09 09:05:28 -05:00
A Thousand Ships
466590d0ec Use get_slicec instead of get_slice for single character splitters 2025-03-08 20:36:37 +01:00
Thaddeus Crews
324512e11c Style: Replace header guards with #pragma once 2025-03-07 17:33:47 -06:00
Thaddeus Crews
96fdaa616b Style: Integrate #pragma once in builders/checks 2025-03-07 17:32:33 -06:00
Lukas Tenbrink
b6cfcdeab5 Add String::ascii creator functions, to parse a char buffer as ASCII.
The function will log errors if any characters above value 127 are found.
2025-03-08 00:01:27 +01:00
Thaddeus Crews
a5dbf3bd49 Merge pull request #103199 from raulsntos/gdextension/version+status
GDExtension: Add `status` to `get_godot_version`
2025-03-07 15:12:53 -06:00
Thaddeus Crews
f8ca861e25 Merge pull request #103137 from dsnopek/extension-api-precision
GDExtension: Include precision in `extension_api.json`
2025-03-07 15:12:47 -06:00
Thaddeus Crews
3c43508ed7 Merge pull request #102427 from AThousandShips/fix_substr
Clean up some uses of `String::substr`
2025-03-07 15:12:33 -06:00
Thaddeus Crews
bb8ef4e052 Merge pull request #101878 from Chubercik/automate_char_range
Core: Automate generation of the `char_range.inc` file
2025-03-07 15:12:31 -06:00
Thaddeus Crews
0c6efe572e Merge pull request #79599 from Calinou/add-license-notices-gui
Add built-in GUI to display license notices
2025-03-07 15:12:29 -06:00
Thaddeus Crews
c937b6d180 Merge pull request #102419 from Ivorforce/std-size
Use `std::size` instead of `sizeof(a) / sizeof(a[0])` pattern throughout the codebase.
2025-03-07 15:12:25 -06:00
Thaddeus Crews
d9125ebebe Merge pull request #101293 from Ivorforce/string-to-pointer-conversion
Remove implicit conversions from `String`, `Char16String` and `CharString` to data pointers.
2025-03-07 15:12:12 -06:00
Thaddeus Crews
9c07d31fbb Merge pull request #101618 from aaronfranke/var-parser-neg-ident
VariantParser: Fix reading negated identifiers, replace `inf_neg` with `-inf`
2025-03-07 12:06:35 -06:00
A Thousand Ships
5113022dfe Clean up some uses of String::substr
Cases where the end position is either equvalent to the default or past
the end of the string.
2025-03-07 14:50:38 +01:00
Haoyu Qiu
513dbff72b Translate main thread name in the editor instead of running project 2025-03-07 19:06:54 +08:00
Thaddeus Crews
3d816853e5 Merge pull request #100209 from Flarkk/simplify_fix_projection
Simplify and fix `Projection`'s getter functions
2025-03-06 16:36:19 -06:00
Thaddeus Crews
c838fe27cd Merge pull request #99059 from MarcusPaulsson/issue_branch_2
Fix String::is_valid_hex_number
2025-03-06 16:36:17 -06:00
Florent Guiocheau
1d416fc2ba Simplify and fix Projection's getter functions 2025-03-06 16:48:01 +01:00
A Thousand Ships
fad8134dca [Core] Fix AHashMap constructors reserving too few elements 2025-03-06 15:28:37 +01:00
kobewi
c6c1a49bea Don't edit objects when loading folding 2025-03-06 15:04:00 +01:00
Thaddeus Crews
e6cb2e83b0 Merge pull request #103619 from bruvzg/stdio_binds
Add missing default values to the `read_*_from_stdin` binds.
2025-03-05 12:08:09 -06:00
Thaddeus Crews
6cc46e7a38 Merge pull request #103465 from Hot-key/fix-callable-get-argument-count-crash
Fix crash when calling `get_argument_count()` on Callable with freed object
2025-03-05 12:07:38 -06:00
Thaddeus Crews
eda3467b6f Merge pull request #103560 from bruvzg/rd_helper_l
[Linux/BSD] Offload RenderingDevice creation test to subprocess.
2025-03-05 12:07:37 -06:00
aaronp64
7007380d0c Avoid multiple lookups in Dictionary::operator[]
Updated Dictionary::operator[] to get reference to value once to avoid multiple HashMap lookups.
2025-03-05 13:07:30 -05:00