David Nikdel
067807c1cb
Remove nondeterminism in pck_packer
...
PCK files (like other build products) should be deterministic based on their inputs. Removed calls to Math::rand() that are being used to generate padding.
Looks like these were introduced as part of adding encryption support, but the padding being random does not have any cryptographic significance. This can be trivially inferred since file blocks that happen to be aligned don't get padding anyway.
If there's a desire to indroduce something that functions as a nonce it should probably be added explicitly and only if encryption is enabled.
remove Math::rand() calls in editor_export_platform.cpp
follow up to make consistent with pck_packer
2023-09-03 18:14:30 -04:00
Rémi Verschelde
fa3428ff25
Merge pull request #81221 from dalexeev/editor-inspector-and-signal-dock-improvements
...
Editor: Inspector and Signal docks improvements
2023-09-03 00:21:04 +02:00
Rémi Verschelde
497ca8c433
Merge pull request #80296 from RandomShaper/overhaul_vk_pso_cache
...
Enhance Vulkan PSO caching
2023-09-03 00:20:40 +02:00
Rémi Verschelde
3f3f865f8a
Merge pull request #81247 from Bromeon/bugfix/yet-another-bool
...
GDExtension: fix `bool` unknown in C
2023-09-02 23:10:47 +02:00
Jan Haller
4e202bcec7
GDExtension: fix `bool` unknown in C
2023-09-02 21:04:49 +02:00
Rémi Verschelde
d2ae309f2c
Merge pull request #81238 from dsnopek/godot-cpp-version
...
Use godot-cpp 4.1 for the "Godot CPP" CI workflow to prevent circular dependency
2023-09-02 14:33:12 +02:00
Rémi Verschelde
7dc14db283
Merge pull request #81232 from wlsnmrk/lineedit-reference-typos
...
Fix typos in LineEdit documentation
2023-09-02 14:32:10 +02:00
Rémi Verschelde
b842c73acc
Merge pull request #81228 from raulsntos/docs/code_to_constants
...
Use `[constant]` instead of `[code]` when possible
2023-09-02 14:31:46 +02:00
Rémi Verschelde
865879faf9
Merge pull request #81227 from raulsntos/docs/int
...
Fix int's C# documentation
2023-09-02 14:31:23 +02:00
Rémi Verschelde
f383249f6f
Merge pull request #81212 from mateuseap/fix/meshDataToolClassReference
...
Fix misleading description of `MeshDataTool.get_vertex()` method
2023-09-02 14:31:00 +02:00
Rémi Verschelde
c326914c49
Merge pull request #81206 from dsnopek/script-instance-extension-memory-bug2
...
GDExtension: Allocate `GDExtensionScriptInstanceInfo2` for compatibility on the heap to prevent crash
2023-09-02 14:30:36 +02:00
Rémi Verschelde
07035466e8
Merge pull request #81189 from jsjtxietian/Fix-press-space-when-enter-editor-layout-name-will-confirm-save
...
Use `ui_text_submit` instead of `ui_accept` to confirm and close text prompts
2023-09-02 14:30:12 +02:00
Rémi Verschelde
d18963485e
Merge pull request #81106 from garychia/gridmap_visibility
...
GridMap: Ensure the visibility is updated when entering the tree
2023-09-02 14:29:48 +02:00
Rémi Verschelde
bb61a932c2
Merge pull request #81072 from KoBeWi/the_scene_file_is_in_another_castle
...
Refactor disabling scene tab context menu options
2023-09-02 14:29:24 +02:00
Rémi Verschelde
60422759fa
Merge pull request #80849 from KoBeWi/edit_NOTHING
...
Unedit nodes early when closing scene tab
2023-09-02 14:29:00 +02:00
Rémi Verschelde
2e71e5516e
Merge pull request #80632 from Repiteo/C#-editor-docstring
...
C#: Dereference editor types in core documentation
2023-09-02 14:28:35 +02:00
Rémi Verschelde
7f3dbe81ed
Merge pull request #80270 from aaronfranke/gltf-scene-name-assignment
...
Fix doubly-reserved unique names in GLTF scene name assignment
2023-09-02 14:28:11 +02:00
Rémi Verschelde
ec517dcbaf
Merge pull request #76047 from Daylily-Zeleen/daylily-zeleen/builtin_vararg_ptrcall
...
Set vararg methods' ptrcall of builtin classes, and let them can be called without arguments.
2023-09-02 14:27:41 +02:00
Danil Alexeev
c33ca26e17
Editor: Inspector and Signal docks improvements
2023-09-02 08:50:28 +03:00
David Snopek
80126468fb
Use godot-cpp 4.1 for the "Godot CPP" CI workflow to prevent circular dependency
2023-09-01 16:11:51 -05:00
Thaddeus Crews
cbf17b5ac1
C#: Dereference editor types in core documentation
2023-09-01 15:17:13 -05:00
kobewi
a949f1b4b5
Refactor disabling scene tab context menu options
2023-09-01 21:34:54 +02:00
Daylily-Zeleen
67e1401891
Set builtin varrarg ptrcalls, called without arg.
2023-09-02 00:34:16 +08:00
Mark Wilson
5f9d5a0cea
Docs: Fix typos for LineEdit reference
2023-09-01 12:22:10 -04:00
Raul Santos
0897a795c3
Fix int's C# documentation
...
- There's no implicit conversion from `double` to `int`, a cast was missing.
- The example about literals in GDScript also applies to C# (with the same syntax even).
2023-09-01 17:00:09 +02:00
Raul Santos
03add1f6d8
Use `[constant]` instead of `[code]` when possible
2023-09-01 16:57:53 +02:00
Rémi Verschelde
80bfca20c6
Merge pull request #81198 from KoBeWi/MissingRID
...
Add placeholder RID to GradientTexture1D
2023-09-01 16:03:22 +02:00
Rémi Verschelde
e3522e0d85
Merge pull request #81190 from timothyqiu/nav-agent-3d-doc
...
Fix typos in NavigationAgent3D documentation
2023-09-01 16:02:59 +02:00
Rémi Verschelde
bbdd1aaa38
Merge pull request #81131 from AThousandShips/callable_fix
...
Fix comparison of `Callable`s with binds
2023-09-01 16:02:35 +02:00
Rémi Verschelde
a47729d16b
Merge pull request #81111 from akien-mga/zlib-1.3
...
zlib/minizip: Update to version 1.3
2023-09-01 16:02:11 +02:00
Rémi Verschelde
fa3072f625
Merge pull request #81087 from mateuseap/docs/tweenClassReference
...
Add a note about `SceneTree.create_tween()` method
2023-09-01 16:01:47 +02:00
Rémi Verschelde
07f6fa8ff9
Merge pull request #80629 from Repiteo/C#-CS0419
...
C#: Include argument types in generated methods
2023-09-01 16:01:24 +02:00
Rémi Verschelde
5588980e47
Merge pull request #80184 from MewPurPur/gray=abstract
...
Use the gray color for all abstract classes
2023-09-01 16:00:58 +02:00
Rémi Verschelde
d134473a03
Merge pull request #78404 from jynus/arc-hyperbolic
...
Add inverse hyperbolic functions `asinh()`, `acosh()` & `atanh()`
2023-09-01 16:00:33 +02:00
Rémi Verschelde
39b1d860c3
Merge pull request #75382 from AThousandShips/duplicate_bind
...
Ensure binds are duplicated with `Node` signals
2023-09-01 16:00:05 +02:00
jsjtxietian
ba41910967
Use ui_text_submit to confirm and close text prompts
...
Fix press space when enter editor layout name will
confirm and save layout, same in theme editor
2023-09-01 12:23:30 +08:00
Mateus Elias
fe45774f59
Fix misleading description of MeshDataTool.get_vertex() method
2023-08-31 21:13:34 -03:00
Jcrespo
528a76486c
Add inverse hyperbolic functions `asinh()`, `acosh()` & `atanh()`
...
GDScript has the following built-in trigonometry functions:
- `sin()`
- `cos()`
- `tan()`
- `asin()`
- `acos()`
- `atan()`
- `atan()`
- `sinh()`
- `cosh()`
- `tanh()`
However, it lacks the hyperbolic arc (also known as inverse
hyperbolic) functions:
- `asinh()`
- `acosh()`
- `atanh()`
Implement them by just exposing the C++ Math library, but clamping
its values to the closest real defined value.
For the cosine, clamp input values lower than 1 to 1.
In the case of the tangent, where the limit value is infinite,
clamp it to -inf or +inf.
References #78377
Fixes godotengine/godot-proposals#7110
2023-09-01 01:27:56 +02:00
Mateus Elias
5030549c7b
Add a note about create_tween() method of SceneTree class
...
Add note regarding SceneTree.create_tween() method behavior.
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-authored-by: Tomek <kobewi4e@gmail.com>
2023-08-31 17:50:15 -03:00
David Snopek
83faf84ec9
GDExtension: Allocate `GDExtensionScriptInstanceInfo2` for compatibility on the heap to prevent crash
2023-08-31 15:19:31 -05:00
kobewi
02857570d3
Add placeholder RID to GradientTexture1D
2023-08-31 15:53:32 +02:00
MewPurPur
398ca4e71a
Use the gray color for all abstract classes
2023-08-31 12:59:18 +03:00
Haoyu Qiu
2fcfe99059
Fix typos in NavigationAgent3D documentation
2023-08-31 17:30:19 +08:00
Rémi Verschelde
549fcce5f8
Merge pull request #81175 from raulsntos/dotnet/project_settings_changed
...
C#: Replace usage of deprecated `project_settings_changed` signal
2023-08-31 08:56:55 +02:00
Rémi Verschelde
59f3ab0c0d
Merge pull request #81157 from azuloo/webrtcpeerconnection-typo-fix
...
Fix typo in WebRTCPeerConnection documentation
2023-08-31 08:56:27 +02:00
Rémi Verschelde
56a5fb26a0
Merge pull request #81156 from jsjtxietian/fix-crash-when-built-in-scripts-not-saved-and-have-error
...
Fix a crash when built-in script is not saved and have syntax error
2023-08-31 08:56:04 +02:00
Rémi Verschelde
46ff9aa2ca
Merge pull request #81144 from anvilfolk/incremental-option
...
SCons: Add option for MSVC incremental linking.
2023-08-31 08:55:41 +02:00
Rémi Verschelde
98f6844554
Merge pull request #81136 from Faless/mp/replication_mode
...
[MP] Improve SceneReplicationConfig editor UX + optimizations
2023-08-31 08:55:17 +02:00
Rémi Verschelde
1594acc64e
Merge pull request #81073 from raulsntos/dotnet/cached-string-names
...
C#: Replace `StringNameCache` with `SNAME`
2023-08-31 08:54:53 +02:00
Rémi Verschelde
ae7bab8c37
Merge pull request #81040 from Ymanawat/control-theme-80989
...
Fix setting TabContainer's `font_hovered_color` theme property
2023-08-31 08:54:29 +02:00