Commit Graph

34930 Commits

Author SHA1 Message Date
Rémi Verschelde 161134e969
Merge pull request #71672 from RandomShaper/compat_hooks_3.x
[3.x] Let make_rst.py be forward compatible with 4.0's
2023-01-20 12:12:58 +01:00
Rémi Verschelde 606101cacd
Merge pull request #70555 from stmSi/3.x-suggest-filename-save-branch-remote-tree
[3.x] suggest filename save branch remote tree
2023-01-20 12:12:51 +01:00
Rémi Verschelde 6088a4802c
Merge pull request #70584 from stmSi/3.x-save-branch-as-scene-not-working-in-remote-without-pausing
[3.x] Fixed: `Save Branch as Scene` not working in Remote Tree without Pausing
2023-01-20 12:12:46 +01:00
Rémi Verschelde f3da393b44
Merge pull request #70378 from Calinou/os-expose-read-from-stdin-3.x
Expose `OS.read_string_from_stdin()` to the scripting API (3.x)
2023-01-20 12:12:35 +01:00
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
Pedro J. Estébanez 373e545f55 Let make_rst.py be forward compatible with 4.0's 2023-01-19 13:34:21 +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
Hugo Locurcio badcfa2523
Expose `OS.read_string_from_stdin()` to the scripting API
This can be used in scripts to read user input in a blocking manner.

This also removes the unused `block` argument, which is always `true`.
2023-01-16 11:39:53 +01:00
Jóhannes Gunnar Þorsteinsson e09d4d255e
Add independent spinbox arrow step precision
Backported from the `master` branch, with a property hint added.
2023-01-14 20:14:17 +01: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
Marius Hanl fa304b5130 Fix RichTextLabel: BBCode [color] tags are not counting in font char spacing
Each BBCode tag is drawn individually, so we have to add the character spacing manually.
2023-01-03 07:53:19 +01: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
stmSi 15d6f341a7 [3.x] Fixed: `Save Branch as Scene` not workking in Remote Tree (only work when u pause) 2022-12-26 17:19:33 +06:30
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
stmSi 18f44a4b67 Suggest Filename in Remote Tree File Dialog 2022-12-25 19:37:32 +06:30
stmSi 28e1fc4af9 Fix Editor hanging if audiostream's pitch_scale is NaN 2022-12-24 12:34:22 +06:30
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