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
Pāvels Nadtočajevs
ff118b63e2
Add missing default values to the read_*_from_stdin binds.
2025-03-05 10:23:31 +02:00
Yyf2333
e972ff27f3
Prevent inline error printing functions.
2025-03-05 03:31:07 +08:00
Pāvels Nadtočajevs
6ed12bfc5d
[Linux/BSD] Offload RenderingDevice creation test to subprocess.
2025-03-04 13:18:26 +02:00
Hotkey
7bc030172e
Fix crash when calling get_argument_count() on invalid Callable
...
https://github.com/godotengine/godot/issues/103438
2025-03-04 13:32:34 +09:00
Pāvels Nadtočajevs
53bb897458
Use separate WorkThreadPool for shader compiler.
2025-03-03 22:28:39 +02:00
Pāvels Nadtočajevs
cf18cf1630
Use single RNG instance for FileAccessEncrypted IV generation.
2025-03-01 00:02:42 +02:00
Anish Mishra
5ce16dfc69
Android: enable support for volume button events
...
- Enable events KEY_VOLUMEUP and KEY_VOLUMEDOWN on Android.
- Adds a project setting to override volume buttons. It would disable system volume changes when the buttons are used within the project.
2025-02-28 09:47:22 +05:30
Rémi Verschelde
c01b9de703
Merge pull request #103364 from akien-mga/input-deadzone-ui-0.5
...
Input: Change default deadzone back to 0.5 for `ui_*` actions and axis `pressed` state
2025-02-27 22:17:01 +01:00
Rémi Verschelde
672fe2487f
Input: Change default deadzone back to 0.5 for ui_* actions and axis pressed state
...
Fixes #103360 .
Partial revert of changes in #97281 and #99135 .
2025-02-27 17:30:48 +01:00
Pāvels Nadtočajevs
f9c7d348c3
Add bound checks to Array/Packed*Array variant call get and set methods.
2025-02-27 17:54:40 +02:00
Rémi Verschelde
01545c995b
Merge pull request #103298 from bruvzg/comque_race
...
Use atomic flag to prevent `flush_if_pending` from reading unlocked `command_mem`.
2025-02-26 00:27:55 +01:00
David Snopek
e0370b9596
Bind new core METHOD_FLAG_VIRTUAL_REQUIRED bitfield
2025-02-25 16:46:50 -06:00
Pāvels Nadtočajevs
bdb5d522d1
Use atomic flag to prevent flush_if_pending from reading unlocked command_mem.
2025-02-25 23:26:43 +02:00
Pāvels Nadtočajevs
ab717497ef
[Windows] Offload RenderingDevice creation test to subprocess.
2025-02-24 19:40:10 +02:00
Raul Santos
05ffa218f3
GDExtension: Add all Engine.get_version_info fields to get_godot_version
...
Added in a new `get_godot_version2` function with a new
`GDExtensionGodotVersion2` to avoid breaking compatibility.
2025-02-24 17:37:27 +01:00
David Snopek
bd962dd2c4
GDExtension: Include precision in extension_api.json
2025-02-21 13:55:45 -06:00
Anish Mishra
93bababb8c
Android: Inform that sensors must be enabled in ProjectSettings
2025-02-21 23:04:01 +05:30
Thaddeus Crews
24dccd40c1
Merge pull request #99479 from Sauermann/fix-remove-project-conversion
...
Remove temporary project conversion
2025-02-18 07:55:56 -06:00
Pāvels Nadtočajevs
9ae5f09c20
Fix editor UI showing empty string for unknown locales.
2025-02-13 08:07:26 +02:00
Thaddeus Crews
78f1918bd4
Merge pull request #102668 from jkirsteins/janiskirsteins/ios-aspect-fill-splash
...
[iOS] Sync the boot splash and the launch screen image scale modes
2025-02-12 12:56:26 -06:00
Jānis Kiršteins
0e266b0099
[iOS] Sync the boot splash and the launch screen image scale modes
2025-02-12 17:41:18 +01:00
Aaron Franke
4d75c92225
VariantParser: Fix reading negated identifiers, replace inf_neg with -inf
2025-02-12 02:40:38 -08:00
Gilles Roudière
4765bc883c
Chunk tilemap physics
2025-02-11 16:28:58 +01:00
Thaddeus Crews
a0f10a28a6
Merge pull request #100933 from Synzorasize/fix_100889
...
Fix parsing Resource type as value type of a Dictionary
2025-02-11 09:13:18 -06:00
Pāvels Nadtočajevs
da767ebfa2
Prevent changed signal spam on resource reload.
2025-02-11 15:22:49 +02:00
Rémi Verschelde
62d22ffa6b
Merge pull request #98216 from pafuent/fixing_log_rotation
...
Fix file logging log rotation
2025-02-11 10:54:01 +01:00
Pablo Andres Fuente
d1338528f9
Fix file loggin log rotation
...
Fixes #97066
`RBSet` were used on `RotatedFileLogger` because it guarantees that
iterating it is done via `operator<`. This is important because
`RotatedFileLogger` depends on this behavior to delete the oldest log file.
On #61194 `HashSet` was added and all `RBSet` uses were replaced by
`HashSet`.
When that happened, the iteration in order is guaranteed to be the insertion
order, wich made that `RotatedFileLogger` delete the newest log file.
As a bonus, I added unit test for `RotatedFileLogger` and `CompositeLogger`.
2025-02-10 21:57:07 +01:00