Commit graph

54810 commits

Author SHA1 Message Date
Rémi Verschelde
b761c3a54d
Merge pull request #77974 from RandomShaper/fix_gdscr_th_start
Mark thread name setup safe for nodes
2023-06-08 16:55:51 +02:00
Rémi Verschelde
ab16715409
Merge pull request #75932 from akien-mga/style-platform-includes
Style: Harmonize header includes in platform ports
2023-06-08 16:55:44 +02:00
Markus Sauermann
5ddab1f363 Some code simplifications
AnimationNodeBlendSpace2DEditor:
- `!tree` is always false, because it is checked a few lines above

CurveEdit:
- grabbing != GRAB_NONE is redundant

GradientTexture2DEdit:
- grabbed != HANDLE_FROM is redundant
- grabbed != HANDLE_TO is redundant

Viewport:
- index is not used afterwards
- In these cases `gui.mouse_focus` is always valid. Move check to a DEV_ASSERT
- simplify `stopped` calculation
2023-06-08 16:15:22 +02:00
Rémi Verschelde
9e4315bb50
Style: Harmonize header includes in platform ports
This applies our existing style guide, and adds a new rule to that style
guide for modular components such as platform ports and modules:

Includes from the platform port or module should be included with relative
paths (relative to the root folder of the modular component, e.g.
`platform/linuxbsd/`), in their own section before Godot's "core" includes.

The `api` and `export` subfolders also need to be handled as self-contained
(and thus use relative paths for their "local" includes) as they are all
compiled for each editor platform, without necessarily having the api/export
matching platform folder in the include path.
E.g. the Linux editor build will compile `platform/android/{api,export}/*.cpp`
and those need to use relative includes for it to work.
2023-06-08 15:19:19 +02:00
Pedro J. Estébanez
543689eeed Mark thread name setup safe for nodes 2023-06-08 09:54:41 +02:00
Rémi Verschelde
2985a9ac34
Merge pull request #77985 from clayjohn/GLES3-array-texture-crash
Properly update array textures when using the OpenGL backend to avoid crash
2023-06-08 09:11:54 +02:00
Rémi Verschelde
a440f0d2d7
Merge pull request #77971 from aaronfranke/col-shape-obj-name
Internally rename `parent` to `collision_object` in CollisionShape(2D/3D)
2023-06-08 09:11:30 +02:00
Rémi Verschelde
fad61679cc
Merge pull request #77969 from clayjohn/Material-ORM-key
Hash ORM flag in BaseMaterial to differentiate between ORM and Standard materials
2023-06-08 09:11:06 +02:00
Rémi Verschelde
e67de69573
Merge pull request #77963 from dsnopek/remove-gdextension-legacy-struct
Remove GDExtension compatibility code for Godot 4.0
2023-06-08 09:10:41 +02:00
Rémi Verschelde
42e4c41e77
Merge pull request #77888 from Calinou/node-improve-thread-guard-errors
Display the node path in Node thread guard errors
2023-06-08 09:10:18 +02:00
Rémi Verschelde
3b1f189d88
Merge pull request #77676 from m4gr3d/android_editor_split_screen_setting_main
Add Android editor setting to control the window used to run the project
2023-06-08 09:09:48 +02:00
Hugo Locurcio
0f82a0f569
Document the InitialAction enum in RenderingDevice
This also improves the documentation for the FinalAction enum,
and fixes an incorrect comment in the RenderingDevice header.
2023-06-08 03:54:38 +02:00
Fredia Huya-Kouadio
b2cd6a8a95 Add setting to control the window used to run the project for the Android editor
The follow options were added to the (new) `run/window_placement/android_window` editor setting:

- `Same as Editor`: run the project in the same window as the editor
- `Side-by-side with Editor`: run the project in an adjacent window to the editor
- `Auto`: choose how to run the project based on the device screen size
2023-06-07 18:32:52 -07:00
clayjohn
05142b6228 Properly update array textures when using the OpenGL backend to avoid crash 2023-06-07 15:44:11 -07:00
Michael Alexsander
c1e5001cf6
Remove inaccuracy about re-using Threads in its doc 2023-06-07 16:39:53 -03:00
Zae
1b149b7440 Fix IME doesn't work under Popup on Windows. 2023-06-08 02:40:36 +08:00
David Snopek
ef9cb793d3 Remove GDExtension compatibility code for Godot 4.0 2023-06-07 13:01:42 -05:00
Aaron Franke
ec09cff7f3
Internally rename parent to collision_object in CollisionShape(2D/3D) 2023-06-07 12:02:27 -05:00
clayjohn
86550ea3c5 Hash ORM flag in BaseMaterial to differentiate between ORM and Standard materials 2023-06-07 09:31:34 -07:00
Rémi Verschelde
72b59325cf
Merge pull request #77960 from akien-mga/tinyexr-1.0.5
tinyexr: Sync with upstream 1.0.5
2023-06-07 16:07:06 +02:00
Rémi Verschelde
285fbcc52f
Merge pull request #77959 from akien-mga/msdfgen-1.10
msdfgen: Sync with upstream 1.10
2023-06-07 16:07:02 +02:00
Rémi Verschelde
803ad98303
Merge pull request #77958 from Calinou/editor-particle-damping-increase-step-precision
Increase precision in particle damping properties in the editor
2023-06-07 16:06:59 +02:00
Rémi Verschelde
a69730f49d
Merge pull request #77957 from akien-mga/x11-fix-vformat-gcc10
X11: Fix vformat ambiguous int types for GCC 10 (again)
2023-06-07 16:06:56 +02:00
Hugo Locurcio
bd468cdec7
Display the node path or name in Node thread guard errors
This makes it easier to diagnose which node is the source of the issue.
2023-06-07 16:06:53 +02:00
Rémi Verschelde
27b402bf73
Merge pull request #77902 from dalexeev/doc-unify-deprecations
Documentation: Unify deprecations
2023-06-07 16:06:50 +02:00
Rémi Verschelde
3c25dfe0e4
msdfgen: Sync with upstream 1.10 2023-06-07 15:55:29 +02:00
Danil Alexeev
b433020aa6
Documentation: Unify deprecations 2023-06-07 16:34:03 +03:00
Rémi Verschelde
56d85149e5
tinyexr: Sync with upstream 1.0.5 2023-06-07 15:33:34 +02:00
Hugo Locurcio
fc4ec42a09
Increase precision in particle damping properties in the editor 2023-06-07 15:26:02 +02:00
Rémi Verschelde
2ae5a0704a
X11: Fix vformat ambiguous int types for GCC 10 (again) 2023-06-07 14:57:51 +02:00
Rémi Verschelde
ea6a141fff
Merge pull request #77939 from MewPurPur/optimize-default-theme-svg
Optimize and fix the default theme SVGs
2023-06-07 13:32:01 +02:00
Rémi Verschelde
1d6b28f867
Merge pull request #77898 from DeeJayLSP/vulkan-250
Update Vulkan and related libraries to 1.3.250.0
2023-06-07 13:31:57 +02:00
Rémi Verschelde
aa5dfff3f0
Merge pull request #77410 from dsnopek/object-pointer-pointer-encoding
Standardize Object ptrcall encoding on `Object **`
2023-06-07 13:31:49 +02:00
Rémi Verschelde
17bfccc594
Merge pull request #77949 from akien-mga/fix-gcc13-stdint
Add missing `stdint.h` includes for GCC 13+
2023-06-07 12:08:56 +02:00
Rémi Verschelde
d8ef8fba72
Merge pull request #77948 from AThousandShips/flags_doc
Clarify use of size flags in `Control`
2023-06-07 12:08:53 +02:00
Rémi Verschelde
ec999b24ee
Merge pull request #74065 from RedworkDE/net-dotnet-encoding
C#: Always decode `dotnet` output as UTF-8
2023-06-07 12:08:46 +02:00
Rémi Verschelde
10676e78e3
Add missing stdint.h includes for GCC 13+
Fixes #77927.
2023-06-07 11:36:55 +02:00
Ninni Pipping
6146c60cf8 Clarify use of size flags in Control 2023-06-07 11:35:20 +02:00
Rémi Verschelde
828ec2c5d0
Bump version to 4.1-beta
We've been in feature freeze since the 4.1-dev4 snapshot a week ago,
this continues throughout the beta stage with a focus on fixing bugs
so we can release 4.1 in early July.
2023-06-07 11:10:19 +02:00
Rémi Verschelde
e75285f69f
Merge pull request #77946 from bruvzg/opengl_blend_cache
[OpenGL] Fix LCD blend mode color caching.
2023-06-07 11:02:30 +02:00
Rémi Verschelde
e3f446a123
Merge pull request #77942 from bruvzg/svg_font_viewbox_fix
Fix SVG font rendering after ThorVG update.
2023-06-07 11:02:27 +02:00
Rémi Verschelde
a8248f1c39
Merge pull request #77938 from aaronfranke/gltf-inertia-tensor
GLTF: Expose the inertia tensor instead of a vector
2023-06-07 11:02:23 +02:00
Rémi Verschelde
d7749da5e6
Merge pull request #77934 from DeeJayLSP/certs-22-06
Update certs (2023.06 revision)
2023-06-07 11:02:19 +02:00
Rémi Verschelde
bd9b24d391
Merge pull request #77933 from KoBeWi/do_not_the_tooltip
Cancel tooltip when mouse leaves viewport
2023-06-07 11:02:16 +02:00
Rémi Verschelde
9a489f4fdf
Merge pull request #77929 from MJacred/fix/gles_info_fetch
Replace get_rendering_device() call to prevent crashes on OpenGL.
2023-06-07 11:02:12 +02:00
Rémi Verschelde
c75d7e6d75
Merge pull request #77924 from Eranot/fix-tls-options-server-documentation
Fixing parameter order in the documentation of TLSOptions.server()
2023-06-07 11:02:09 +02:00
Rémi Verschelde
0fbe906ce8
Merge pull request #77909 from KoBeWi/all_that_matterials
Draw materials in tile atlas view
2023-06-07 11:02:05 +02:00
Rémi Verschelde
bd62d8ee10
Merge pull request #77802 from dalexeev/tree-add-autowrap-mode
Tree: Add ability to configure text autowrap mode for individual cells
2023-06-07 11:02:02 +02:00
Rémi Verschelde
a9350d4088
Merge pull request #77761 from JustinDodemaide/typo-fixes
NavigationAgent2D, NavigationAgent3D typo fixes
2023-06-07 11:01:46 +02:00
RedworkDE
e0efa3c357 C#: Always decode dotnet output as UTF-8 2023-06-07 10:58:34 +02:00