Commit graph

34766 commits

Author SHA1 Message Date
Rémi Verschelde
a297a69ac8
macOS: Fix sprintf deprecation warning
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2023-01-20 11:18:40 +01:00
Rémi Verschelde
a0ddc595a6
Merge pull request #71510 from lawnjelly/gles2_oct_unpack
GLES2 fix octahedral half float unpacking
2023-01-17 10:55:37 +01:00
Rémi Verschelde
d4f66544ce
Merge pull request #71146 from dalexeev/3.x-fix-sprite-frames-doc
[3.x] Fix wrong `SpriteFrames` docs
2023-01-16 22:22:02 +01:00
lawnjelly
c6a428b3d6 GLES2 fix octahedral half float unpacking
The strides in _unpack_half_floats() were incorrectly calculated in the case where octahedral normals and tangents were in use.
2023-01-16 11:55:06 +00:00
Rémi Verschelde
7d6db300d2
Merge pull request #71358 from Calinou/csharp-editor-settings-require-restart
Mark C# editor settings to require a restart to be effective
2023-01-14 00:41:59 +01:00
Rémi Verschelde
031401fe09
Merge pull request #71320 from timothyqiu/collision-shape-aabb
[3.x] Make CollisionShape selection box use shape AABB
2023-01-14 00:41:12 +01:00
Hugo Locurcio
a93d651293
Mark C# editor settings to require a restart to be effective 2023-01-13 22:42:13 +01:00
Haoyu Qiu
d16a1c7579 Make CollisionShape selection box use shape AABB 2023-01-13 18:19:26 +08:00
Rémi Verschelde
2d5f9c49a4
CI: Use clang-format 15
No change compared to version 13 in our codebase.

(cherry picked from commit 02a1a335f7)
2023-01-11 14:34:52 +01:00
heppocogne
aa8d6c5633
Fix get_path() is not working when files are opend with open_compressed
And also fixed `get_absolute_path()` in the same way

(cherry picked from commit ea11ffc88c)
2023-01-11 14:34:51 +01:00
Pedro J. Estébanez
5703cc861f
Support Git worktrees in generation of hash header
(cherry picked from commit 078ab7fe05)
2023-01-11 14:24:39 +01:00
dependabot[bot]
90132061f5
Bump json5 from 1.0.1 to 1.0.2 in /platform/web
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
(cherry picked from commit a20c8443af)
2023-01-11 14:24:29 +01:00
Marius Seufzer
bf577a6c2a
iOS: Add new model identifiers for DPI metrics
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
(cherry picked from commit ee5057a42e)
2023-01-11 14:24:08 +01:00
DeeJayLSP
a49fa86cca
zlib/minizip: Update to version 1.2.13, remove zlib from freetype
Security update, fixes CVE-2022-37434 in zlib.

Only applications exposing/using `inflateGetHeader()` seem to be affected,
which is not our case, so this is not critical for Godot.

Remove duplicated copy of zlib in freetype sources to force using the updated
version in `thirdparty/zlib/`.

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
(cherry picked from commit 93409b8e64)
2023-01-11 14:23:34 +01:00
bruvzg
456cdf84c1
[macOS] Fix stylus tilt Y direction.
(cherry picked from commit 5478f9b842)
2023-01-11 14:23:11 +01:00
Rémi Verschelde
abf5f72073
Merge pull request #70717 from Calinou/particles-tweak-animation-offset-property-hint-3.x
Tweak particles animation offset property hint to allow more precise values (3.x)
2023-01-11 11:57:38 +01:00
Rémi Verschelde
1426cd3b3a
One Copyright Update to rule them all
As many open source projects have started doing it, we're removing the
current year from the copyright notice, so that we don't need to bump
it every year.

It seems like only the first year of publication is technically
relevant for copyright notices, and even that seems to be something
that many companies stopped listing altogether (in a version controlled
codebase, the commits are a much better source of date of publication
than a hardcoded copyright statement).

We also now list Godot Engine contributors first as we're collectively
the current maintainers of the project, and we clarify that the
"exclusive" copyright of the co-founders covers the timespan before
opensourcing (their further contributions are included as part of Godot
Engine contributors).

Also fixed "cf." Frenchism - it's meant as "refer to / see".

Backported from #70885.
2023-01-10 15:26:54 +01:00
Rémi Verschelde
1ee7c5a62c
Merge pull request #62444 from lawnjelly/faster_queue_free3
[3.x] Faster queue free
2023-01-10 10:55:36 +01:00
Fabio Alessandrelli
450cd5f51e
Merge pull request #71132 from Faless/js/3.x_fs_force_sync
[3.x] [Web] Expose API to force file system sync.
2023-01-10 09:27:55 +01:00
Danil Alexeev
398ed4efc3
[3.x] Fix wrong SpriteFrames docs 2023-01-10 10:02:04 +03:00
Fabio Alessandrelli
d0ba1517a7 [Web] Expose API to force file system sync. 2023-01-09 21:30:42 +01:00
Rémi Verschelde
111de09c03
Merge pull request #71103 from AThousandShips/array_find_fix_3_x
[3.x] Fix for comparisons with PoolArrays
2023-01-09 14:19:18 +01:00
Rémi Verschelde
aa9265928c
Merge pull request #70786 from Calinou/gdscript-fix-dict2inst-init-parameters-3.x
[3.x] Make `dict2inst` to work with arbitrary `_init` parameters
2023-01-09 14:18:30 +01:00
Rémi Verschelde
106bfce7f3
Merge pull request #71093 from Banderi/debugger_locals_3.x
[3.x] Fix local variables not showing when breaking on final line
2023-01-09 14:18:10 +01:00
Ninni Pipping
f26069e94d Fix for PoolArray comparison 2023-01-09 10:24:08 +01:00
SaracenOne
9fa4d3b1b0 Fix local variables not showing when breaking on final line
(cherry picked from commit 657b9b6596)
2023-01-09 09:46:27 +01:00
Rémi Verschelde
085490fa06
Merge pull request #70581 from timothyqiu/drop-extern-3.x
[3.x] Fix error when dropping script into script editor
2023-01-09 09:19:46 +01:00
Rémi Verschelde
9832c9d127
Merge pull request #70593 from OsakiTsukiko/issue-62640
[3.x] Fix RichTextLabel discards appended BBCode text on window resize when using DynamicFont
2023-01-09 09:18:10 +01:00
Rémi Verschelde
50fd962869
Merge pull request #70583 from necrashter/fix-set-touch-input-as-handled
[3.x] Set touch input as handled only after _gui_call_input
2023-01-09 09:17:22 +01:00
Rémi Verschelde
b082223263
Merge pull request #70906 from timothyqiu/tree-scroll-3.x
[3.x] Fix Tree overflow without scrolling being enabled
2023-01-09 09:16:38 +01:00
OsakiTsukiko
0a386084bc
Fix RichTextLabel discards appended BBCode text on window resize when using DynamicFont 2023-01-09 09:07:48 +01:00
Haoyu Qiu
36a21a43af Fix Tree overflow without scrolling being enabled 2023-01-04 14:16:57 +08:00
Aaron Franke
dc3d66bc8a
Merge pull request #70651 from aaronfranke/3.x-gltf-null-cond
[3.x] GLTF: Fix wrong error macro used in a few spots
2022-12-31 22:56:05 -06:00
Andrii Doroshenko (Xrayez)
accdd575f6
Make dict2inst to work with arbitrary _init parameters
This is achieved by skipping initializer call while creating an instance
of a GDScript. This is implemented by passing -1 as an argument count
to `_new` and interpreting any value below 0 to mean that the initializer
should not be called during instantiation, because internal members of
an instance are going to be overridden afterwards.
2022-12-31 23:57:35 +01:00
Hugo Locurcio
717cbbd6e7
Tweak particles animation offset property hint to allow more precise values 2022-12-29 22:17:47 +01:00
Aaron Franke
ca898a7b77
[3.x] GLTF: Fix wrong error macro used in a few spots 2022-12-27 18:55:10 -06:00
necrashter
147de75e52
Set touch input as handled only after _gui_call_input 2022-12-26 11:58:32 +03:00
Haoyu Qiu
bdcfb0877b Fix error when dropping script into script editor 2022-12-26 14:35:33 +08:00
Rémi Verschelde
0f10eafb38
mbedtls: Update to upstream version 2.28.2
(cherry picked from commit 6e65244b6b)
2022-12-22 12:27:04 +01:00
Rémi Verschelde
c531d0fd43
libpng: Update to upstream 1.6.39
(cherry picked from commit 925ad18e1a)
2022-12-22 12:26:09 +01:00
ipsoftdev
d41ce4d492
Do not ignore x86 source code directories anywhere under thirdparty directory
(cherry picked from commit b37f10adf7)
2022-12-22 12:25:52 +01:00
Rémi Verschelde
ac589edb36
Merge pull request #69939 from timothyqiu/open-packed-scene-3.x
[3.x] Add open scene button in Inspector for PackedScene resource
2022-12-22 08:57:30 +01:00
Rémi Verschelde
3571b3f194
Merge pull request #70411 from aaronfranke/3.x-gltf-document-extension
[3.x] Backport the GLTFDocumentExtension system
2022-12-22 08:56:48 +01:00
Rémi Verschelde
5c42b82fd5
Merge pull request #70412 from Calinou/video-driver-change-require-restart
Fix Driver Name editor setting not requiring an editor restart
2022-12-22 08:56:43 +01:00
Rémi Verschelde
b59b566325
Merge pull request #70262 from Maran23/3-x-editor-inspector-section-click
[3.x] EditorInspectorSection is not (un)folded when clicking under the font
2022-12-22 08:56:37 +01:00
Rémi Verschelde
39edf7ee8a
Merge pull request #70365 from lawnjelly/octree_pairing_fix
Fix pairing crash in physics Octree
2022-12-22 08:56:30 +01:00
Rémi Verschelde
7a46f61089
Merge pull request #70368 from pfertyk/issue-70187-bit-map-resize-spams-errors
Fix `BitMap.resize` error spam
2022-12-22 08:56:25 +01:00
Rémi Verschelde
309d3bf19a
Merge pull request #70343 from smix8/finalize_navigation_server_3.x
[3.x] Move navigation server finalize before physics server
2022-12-22 08:55:36 +01:00
Rémi Verschelde
3b7bb812fd
Merge pull request #70310 from Sauermann/3x-fix-follow-viewport-transform
[3.x] Include the follow-viewport-transform into CanvasLayer transform calculations
2022-12-22 08:55:28 +01:00
Rémi Verschelde
76bcc90da8
Merge pull request #70228 from Calinou/add-transparent-viewport-project-setting-3.x
Add a project setting to make the root viewport transparent (3.x)
2022-12-22 08:55:21 +01:00