Commit Graph

3237 Commits

Author SHA1 Message Date
4bb48a4a5c Ported from godot4: Fix reading Unicode from stdio.
- bruvzg
3d8a942a56
2023-08-05 20:33:48 +02:00
c4e76950fa Pass in variables as intended to CreateProcessW(). 2023-08-05 20:24:32 +02:00
5d60b3af04 Ported from Godot4: Fix Windows execute exit code.
- bruvzg
94355249c3
2023-08-05 20:18:53 +02:00
b4fe2b0d38 Added a way to customize the doctype declaration the html tag and the body tag to WebServerRequest. 2023-07-24 17:37:34 +02:00
f28b6c0c07 Fix crash in WebServerRequest::get_url_root(). 2023-07-22 00:34:08 +02:00
bd14315487 Bump version, and set status to development. 2023-07-14 07:49:53 +02:00
a5365f8ca8 Fix build. 2023-07-13 14:47:04 +02:00
11987354ff Updated the changelog file. 2023-07-13 14:28:46 +02:00
de525646e2 Added notes.md file. 2023-07-13 12:35:54 +02:00
87743471c9 Set version to 4.0 instead of 3.12. 2023-07-13 12:10:41 +02:00
3ae1ad93dc Update the variant types in the windows natvis file. 2023-07-11 16:52:26 +02:00
e27adb573e Improve module scu setup a bit. 2023-07-11 16:28:39 +02:00
272ee82567 Updated the last backport commit. 2023-07-11 16:08:39 +02:00
834cbe8cef Ported: Single Compilation Unit build.
Adds support for simple SCU build.
This speeds up compilation by compiling multiple cpp files within a single translation unit.
- lawnjelly
43e181a00a
2023-07-11 16:07:36 +02:00
d6018f1818 Build fix. 2023-07-11 12:25:31 +02:00
53d36345e6 Added back CSG support code I removed. 2023-07-11 12:23:46 +02:00
719de5d54e Only build CSGGizmos when building the editor. 2023-07-11 12:18:08 +02:00
c87b5e57f0 Ported the navigation geometry parsers for the csg module. 2023-07-11 11:11:33 +02:00
d2806793bb Added back the csg module from godot. 2023-07-11 11:00:55 +02:00
b68bbd3bfb Implemented custom response headers for WebServerRequest. 2023-07-08 21:11:56 +02:00
3244eab5c5 Fix docs for the write lock part of the RWLock, as it's not re-entrant. 2023-07-06 21:46:45 +02:00
bbbcfacd84 Re-extracted class docs. 2023-07-06 21:17:58 +02:00
be022b610f Bind RWLock, so it's accessible to scripts. 2023-07-06 21:17:13 +02:00
4abd5bd2b3 Updated the last backported commit in the changelog. 2023-06-28 20:37:51 +02:00
5b869f8b54 Ported from godot: Canvas item hierarchical culling
Adds optional hierarchical culling to the 2D rendering (within VisualServer).
Each canvas item maintains a bound in local space of the item itself and all child / grandchild items. This allows branches to be culled at once when they don't intersect a viewport.
- lawnjelly
b777a9e5f9
2023-06-28 20:25:48 +02:00
75ceb22100 Revert "Add option in VisibilityEnabler2D to hide the parent for better performance"
This reverts commit ad6e504a5b.
2023-06-28 19:00:29 +02:00
ae92596f9b Ported: Add parameters for the Godot Activity starting intent to allow restarting or force-quitting the engine
Follow-up code cleanup for #78130
- m4gr3d
5cf0ba88e3
2023-06-28 18:58:29 +02:00
5f4bc29d13 Ported from godot: Expose the TextEdit control of the script editor
Refactor ScriptEditor and ScriptTextEditor with added method to retrieve the script editor's TextEdit control.

Update
doc/classes/ScriptEditor.xml
script_editor_plugin.cpp
script_editor_plugin.h
script_text_editor.cpp
script_text_editor.h

- jeronimo-schreyer
a248c318de
2023-06-28 18:36:52 +02:00
4281657cf1 Ported from godot: move autotile fallback helper functions + fix comments and docs
- wareya
a40ecc71e6
2023-06-28 13:47:29 +02:00
cb344d36b8 Ported from godot: make autotiles fall back to the most similar bitmask using heuristics
- wareya
73ad6517e4
2023-06-28 13:36:14 +02:00
556ffc09f7 Ported from godot: Fix issue causing the last edited project to open while switching to another one.
Fixes #76562
-m4gr3d
ee07f60b07
2023-06-28 13:16:58 +02:00
e79ea9f3a8 Ported form godot: Fix spatial viewport multitouch detection support
Regression introduced by #77497
- m4gr3d
8f44765831
2023-06-28 12:50:27 +02:00
ee54ca3808 Ported from godot: Input - fix just pressed and released with short presses
Previously if an action was both pressed and released on the same tick or frame, `is_action_just_pressed()` would return false, resulting in missed input.

This PR separately the timestamp for pressing and releasing so each can be tested independently.

- lawnjelly

63d208d1b0
2023-06-28 12:48:36 +02:00
83468ef10b Added missing descriptions to Input's class docs from godot. 2023-06-28 12:39:36 +02:00
Hugo Locurcio
bdaeebce83 Update gamepad button/axis names to match 4.0 2023-06-28 12:24:29 +02:00
Ninni Pipping
e492213868 Add example for NodePath to grandparent 2023-06-28 12:23:49 +02:00
Ninni Pipping
c25ea39a3b Clarify String.get_slice behavior
Clarify that the function returns the whole string if there is no
instances of the delimiter in the string.
2023-06-28 12:23:28 +02:00
Maganty Rushyendra
97dee88433 Fix overwriting of Spatial's local transform
Modifies when 'DIRTY_LOCAL' flag is set to prevent a transform applied
using `set_transform` to be overwritten by previous calls to change the
node's rotation, translation or scale.

Fixes #43130.
2023-06-28 12:23:08 +02:00
Patrick
78bc0eeb97 Backport VideoLooping and fix for initial black frame 2023-06-28 12:22:49 +02:00
Ninni Pipping
26dc653dcb Bounds fixes in TextureAtlas import 2023-06-28 12:22:18 +02:00
bruvzg
db0014d68a Use current keyboard layout in OS_X11::keyboard_get_scancode_from_physical. 2023-06-28 12:20:43 +02:00
6d6f7a0d53 Apparently osx doesn't have the uchar.h header, so define char16_t and char32_t directly. 2023-06-24 00:00:44 +02:00
67975e335b Fixed compile errors. 2023-06-23 18:10:50 +02:00
21ad9c3cbe Fixed compile errors. 2023-06-23 17:51:36 +02:00
a47958471b Fix includes. 2023-06-23 17:11:32 +02:00
b19d80afcb Added back gdnative as a built in module. It was worked on in this repository: https://github.com/Relintai/gdnative . 2023-06-23 16:59:45 +02:00
d3f2e0e4fe Fixed SkeletonModification3DFABRIK. 2023-06-22 09:43:55 +02:00
e56d6fa906 Added code to load old resource properties where applicable, to help converting resources to the new fixed apis. These will be removed after the next release. 2023-06-17 02:20:24 +02:00
b1de21dd58 Renamed get_stat, and set_stat in Entity. It's just a smell c++ side helper method, they aren't bound. Should not require any changes like the rest. 2023-06-16 23:26:49 +02:00
a0b908874d Fix Entity's api's inconsistencies pt 4.
In projects mass replacing the following words will update everything.

gets_is_pet -> pet_gets_is
getc_is_pet -> pet_getc_is

gets_original_entity_controller -> original_entity_controller_gets
sets_original_entity_controller -> original_entity_controller_sets
gets_entity_controller -> entity_controller_gets
sets_entity_controller -> entity_controller_sets
getc_entity_controller -> entity_controller_getc
setc_entity_controller -> entity_controller_setc
gets_ai -> ai_gets
sets_ai -> ai_sets

free_spell_points_gets -> spell_points_gets_free
free_spell_points_sets -> spell_points_sets_free
free_spell_points_getc -> spell_points_getc_free
free_spell_points_setc -> spell_points_setc_free
2023-06-16 18:24:14 +02:00