bleikerja
e6a8c4b43f
Fix Marshalls.utf8_to_base64 shows 'ret.is_empty() is true' error for empty String
2025-03-15 10:31:24 +01:00
K. S. Ernest (iFire) Lee
69b281295c
Add DDS image load and save functionality
...
Save and load DDS from Image class.
Co-authored-by: BlueCube3310 <53150244+BlueCube3310@users.noreply.github.com >
2025-03-14 19:31:43 -07:00
Thaddeus Crews
b377562b52
Merge pull request #91660 from AThousandShips/methodinfo_vec
...
[Core] Use `Vector` for `MethodInfo::arguments`
2025-03-14 10:06:13 -05:00
Thaddeus Crews
1700a84275
Merge pull request #104049 from Ivorforce/string-dedup-char32
...
De-duplicate `String` single-char constructor
2025-03-14 10:06:12 -05:00
Thaddeus Crews
cf4ebb63a0
Merge pull request #104109 from Ivorforce/resize-zeroed
...
Use `resize_zeroed` instead of `resize` then `fill(0)` in several places.
2025-03-14 10:06:10 -05:00
Thaddeus Crews
4292f2464c
Merge pull request #104113 from aaronfranke/projection-construct
...
Add missing Projection constructor with 16 `real_t` values
2025-03-14 10:06:07 -05:00
Lukas Tenbrink
f4de2cd22a
Use resize_zeroed instead of resize then fill(0) in several places.
2025-03-14 12:09:39 +01:00
Aaron Franke
ced61da848
Add missing Projection constructor with 16 real_t values
2025-03-14 02:57:19 -07:00
Lukas Tenbrink
6759d3b812
Fix "Unicode parsing error" spam when opening editor.
2025-03-14 08:32:26 +01:00
Rémi Verschelde
6ed10dee37
Merge pull request #104060 from bruvzg/resloader_ids
...
Fix `Invalid Task ID` errors in `ResourceLoader`.
2025-03-14 00:08:59 +01:00
Rémi Verschelde
d912dcc26c
Merge pull request #104013 from bruvzg/rload_nowait
...
[ResourceLoader] Do not wait for the main thread during initial reimport.
2025-03-14 00:08:53 +01:00
Rémi Verschelde
e281a9ace2
Merge pull request #102650 from bruvzg/emit_changed_spam
...
Prevent `changed` signal spam on resource reload.
2025-03-14 00:07:59 +01:00
Lukas Tenbrink
626ff950fb
Deduplicate string::parse_utf32(char32_t) in favor of just using the Span based function.
2025-03-13 15:11:55 +01:00
Thaddeus Crews
c1b7865ae9
Merge pull request #103557 from aaronfranke/godot-version-defines
...
Rename version defines to `GODOT_VERSION_*` to match GDExtension godot-cpp
2025-03-13 08:57:42 -05:00
Thaddeus Crews
22a7079afd
Merge pull request #104047 from YYF233333/dict_iter
...
Add const iteration support to `Dictionary`
2025-03-13 08:57:23 -05:00
Thaddeus Crews
7f6a9380a0
Merge pull request #103999 from YYF233333/unneeded_array_read_only
...
Remove unneeded `read_only` check for `Array` const operator
2025-03-13 08:57:22 -05:00
Thaddeus Crews
e97bb76142
Merge pull request #100314 from Ivorforce/use-string-chr
...
Optimize `String::chr` to avoid calling `strlen`. Use `String::chr` instead of `String(&chr, 1)` where appropriate.
2025-03-13 08:57:20 -05:00
Pāvels Nadtočajevs
d1b63ae16c
Fix Invalid Task ID errors in ResourceLoader.
2025-03-13 08:41:53 +02:00
Aaron Franke
97ee05e9b7
Rename version defines to GODOT_VERSION_* to match GDExtension godot-cpp
2025-03-12 11:11:38 -07:00
kobewi
7d82704f12
Allow to ignore debugger error breaks
2025-03-12 19:05:57 +01:00
Yufeng Ying
bebe037abf
Add ConstIterator to Dictionary.
2025-03-13 01:28:46 +08:00
Thaddeus Crews
74907876d3
Merge pull request #103759 from Ivorforce/zero-constructible
...
Optimize `Array.resize` by using `memset` (through new `is_zero_constructible` type trait)
2025-03-12 10:31:55 -05:00
Thaddeus Crews
19057494db
Merge pull request #100238 from Ivorforce/copy-from-unchecked-unchecked
...
Optimize String `copy_from_unchecked` to actually not check the string.
2025-03-12 10:31:54 -05:00
Thaddeus Crews
3fc5390c8b
Merge pull request #103924 from Ivorforce/span-iteration
...
Add iteration to `Span`.
2025-03-12 10:31:53 -05:00
Lukas Tenbrink
75bc471965
Add is_zero_constructible to denote if a type can be semi-trivially constructed with all 0 bytes.
...
Optimize `CowData` and `LocalVector` resize for zero constructible types.
Mark several compatible types as `is_zero_constructible`.
2025-03-12 09:49:24 +01:00
Pāvels Nadtočajevs
16865b6917
[ResourceLoader] Do not wait for the main thread during initial reimport.
2025-03-12 09:18:39 +02:00
Thaddeus Crews
70d7a77a9a
Merge pull request #98653 from Repiteo/scons/pretty-builders
...
SCons: Make builders prettier, utilize `constexpr`
2025-03-11 19:54:47 -05:00
Thaddeus Crews
754e3b3f9a
Merge pull request #103825 from JulianHeuser/region_highlight_crash_fix
...
Fix crash related to #region/#endregion caused by trailing spaces
2025-03-11 19:54:46 -05:00
Thaddeus Crews
19882339f4
Merge pull request #99374 from FeniXb3/colorpicker-picker-shape-accessibility
...
Improve ColorPicker picker shape keyboard and joypad accessibility
2025-03-11 19:54:32 -05:00
Thaddeus Crews
be429eb404
SCons: Make builders prettier, utilize constexpr
2025-03-11 18:31:20 -05:00
Yufeng Ying
883ca56517
Remove unneeded read_only check for Array const operator.
2025-03-12 07:22:42 +08:00
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