Commit Graph

2169 Commits

Author SHA1 Message Date
Marcel Admiraal
226e29cfca Fix Geometry::get_closest_points_between_segments() returns NaN
Also fix Geometry::get_closest_distance_between_segments() returning
incorrect values.
2022-09-16 22:48:50 +02:00
Fredia Huya-Kouadio
cddfcbab2c Fix build failures for Android on Windows
The issue is caused by https://github.com/godotengine/godot/pull/64306 which makes use of a 3.7 feature while the current recommended python version is 3.5 for 3.x and 3.6 for master.

(cherry picked from commit 667f4ed742e0010adb678dff45e004310c4886d4)
2022-09-16 22:47:48 +02:00
Pedro J. Estébanez
ba9d7d66fd Add ability to extend the set of Git pre-commit hooks
(cherry picked from commit 8e2d0e1bb16409ad2e32e6e59432ffafb03c14ee)
2022-09-16 22:47:07 +02:00
Pedro J. Estébanez
866f38a8ae Make Git hooks work on worktrees on Windows
(cherry picked from commit 4bf03afe8b70062cfca3336527294171e538ce25)
2022-09-16 22:46:13 +02:00
Fredia Huya-Kouadio
a6a5b60235 Additional fixes to the Android get_current_dir() implementation. 2022-09-16 22:45:21 +02:00
6a317fbe15 Fix build. 2022-09-16 22:42:11 +02:00
Atlinx
8e7bcc2ee0 Add missing parameters for signal in docs
(cherry picked from commit 0e3097c023fa4562d44fa102bd2ef8e456f8901a)
2022-09-16 22:39:23 +02:00
Kongfa Waroros
1f3b5fde4e Update all AnimationTree's editors when editing
(cherry picked from commit 0f17fe642c8ec21b7877cd3f6911f22ba0874255)
2022-09-16 22:35:12 +02:00
bruvzg
1fce7ff540 Fix generation of duplicate locale property list files. 2022-09-16 22:34:51 +02:00
Atlinx
561aab3227 Remove HDR warning if on low end 2022-09-16 22:34:05 +02:00
kobewi
8474965b10 Hide prefix/suffix on SpinBox focus 2022-09-16 22:33:27 +02:00
Max Hilbrunner
637d36ccff Update UPnP documentation
Adds more details, especially about caveats, failure modes and pitfalls

(cherry picked from commit be41c097691acfd3f5559a28262730f086c46845)
2022-09-16 22:32:58 +02:00
Max Hilbrunner
b343e5758c UPNP: Don't delete mappings when adding mappings
Don't delete previous mappings when adding a new mapping.
This was a old workaround that seems to cause issues.

(cherry picked from commit 2685cc7bb6708df745317fd2f078bc945555e4f8)
2022-09-16 22:32:19 +02:00
Rémi Verschelde
d4e240f487 Linux: Fix GNU ld detection for pck_embed linker script
(cherry picked from commit fce3602a1e892cbc35fb3aa409bdae835a37be4f)
2022-09-16 22:31:50 +02:00
Pedro J. Estébanez
c91198b335 Add FileAccess::get_access_type()
(cherry picked from commit 8c6b2fbb908261d29a6692dd7a816464c28520d2)
2022-09-16 22:13:21 +02:00
dbcca5d26d Ported: Optimize String.repeat()
This backports the optimization done in `master`.
- Calinou, MewPurPur
3b31ff9008
2022-09-16 22:08:51 +02:00
Michael Alexsander
bce30062a5 Fix some corner cases in the Menu/OptionButton item auto-highlight 2022-09-16 22:04:23 +02:00
Michael Alexsander
7fd1e3b8ac Fix crash when pressing up on an empty PopupMenu 2022-09-16 22:01:53 +02:00
92bc8ed3be Ported: Fix header guard in error_macros.h - madmiraal
e2dac6ecd9
2022-09-16 22:01:08 +02:00
Yuri Sizov
211cd1e46a Remove Inspector tooltip hack that never actually worked 2022-09-16 21:57:00 +02:00
dec36df719 Fix compile. 2022-09-16 21:55:48 +02:00
Pedro J. Estébanez
d4555e520f Determine ProjectSettings' resource path early 2022-09-16 21:53:28 +02:00
Hugo Locurcio
34cda4b11b Add a [kbd] tag for highlighting keyboard shortcuts in the editor help
This allows backporting documentation from the `master` branch more easily,
as it already features the `[kbd]` tag.

Co-authored-by: Yuri Sizov <11782833+YuriSizov@users.noreply.github.com>
2022-09-16 21:49:06 +02:00
Hugo Locurcio
ddba4438ae Remove unused Create Signal Callbacks editor setting
This setting wasn't referred to anywhere.
2022-09-16 21:46:58 +02:00
bruvzg
11cebc25fa Use clang as assembler to ensure preprocessing is done, and add assembler "target" flag.
(cherry picked from commit e87377856174075e38b6d2ca338f28ffa0d9f59f)
2022-09-16 21:44:01 +02:00
bruvzg
b7d732b782 Add arch flag to assembler to fix build on ARM64 macOS / iOS.
(cherry picked from commit b767d2e0fdf835dc181bb21c8be69a35671b60b8)
2022-09-16 21:41:56 +02:00
a9eb3a52a3 Ported: zstd: Update to upstream version 1.5.2
Release notes:
- https://github.com/facebook/zstd/releases/tag/v1.5.1
- https://github.com/facebook/zstd/releases/tag/v1.5.2
-akien-mga
bda382684f
2022-09-16 21:31:55 +02:00
reduz
95f8c781e1 Simplify Subresource Saving
Redo edited subresource (and resource) saving in a much more simplified way.
I think this should work (unless I am missing something) and be faster than what is there.
It should also supersede #55885.

I am not 100% entirely convinced that this approach works, but I think it should so please test.

(cherry picked from commit 9eb5f2a0d79fb761235e77d369ee2f38fceb094a)
2022-09-16 21:23:31 +02:00
Jummit
059d393d42 Keep Perspective menu open on selection
Makes the Perspective menu consistent with the View menu in the 3D
viewport. This allows for quicker inspection of the scene, and makes
missclicks more forgiving.

(cherry picked from commit e3ab344af9839bbe1ffa690093acd9ea7ffde554)
2022-09-16 21:19:38 +02:00
Danil Alexeev
c7f001ccf5 Add boot splash display time setting
Implements #8867.

(cherry picked from commit dad9683d11ca174cf50d0039fb0f05fb7439984f)
2022-09-16 21:19:03 +02:00
Michael Alexsander
db8e21638a Fix ItemList selection visual when the scrollbar visibility changes
(cherry picked from commit e298144a41338d80b5f0090ce8f28aef888c13dd)
2022-09-16 21:18:10 +02:00
Hugo Locurcio
73588d4a25 Add support for documenting most editor settings in the class reference
Settings defined in editor plugins are missing (about 100 of them),
but all other settings (about 200 of them) can now be documented in the
EditorSettings class.

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
(cherry picked from commit 63ce655e75e9d46c8b588ff258c3f50d5290c553)
2022-09-16 21:16:40 +02:00
bcf96a5840 Ported: Improve performance of screen_get_dpi() in Javascript
Replace a bisect with a single multiplication when calling
screen_get_dpi() in Javascript

Tested the value of
window.matchMedia(`(resolution:${(window.devicePixelRatio*96).toFixed(100)}dpi)`).matches
which is true except for values that cause a lot of rounding errors
(e.g. dpr : 0.3  => resolution: 28.799999999999997dpi)

Even in these cases the value matches the result of the previous
`findDPI()` method.
-jamie-pate
562d7c616d
2022-09-16 21:15:54 +02:00
bitsawer
fefc436645 Fix Windows list dir handle leak
(cherry picked from commit 40325006b6c08c32b3db9dfd901e54d44b9d4dc3)
2022-09-16 21:11:55 +02:00
Micky
d8046a2bad Improve documentation of CanvasItem's draw logic
(cherry picked from commit 953c78eaff2fc63e18c5da66c809c7e2b7666b11)
2022-09-16 21:11:26 +02:00
kobewi
63d85fd6f5 Mention the stretching behavior of PopupPanel
(cherry picked from commit a2b088b1c1b79950212287fd4c8539a67cfcb56f)
2022-09-16 21:10:52 +02:00
Pedro J. Estébanez
509c6c37ea Fix jumbled error output when using Windows spawn fix
(cherry picked from commit 4a3cb1447351c2e915f2beb8c34780d2c6fe3e43)
2022-09-16 21:01:50 +02:00
Pedro J. Estébanez
8f26bc61b5 Clean iOS platform config of long gone macro
(cherry picked from commit 8c2a577350924d1f4a8e0a98ebf85bea96ea7e63)
2022-09-16 21:01:17 +02:00
Dan Boorstein
9685b90279 Add note about using AudioListener2D
There was no mention of the effect of AudioListener2D in this documentation, making it unclear if there was a relationship. The new text is copied and modified from the AudioStreamPlayer3D documentation.

Use 'an' as article before 'AudioListener3D'

(cherry picked from commit a7ebc6fb18bcbcf817895955eed619588b3cd8b8)
2022-09-16 21:00:47 +02:00
Marlin Watts-Woods
c0bcc87ada Added to Sprite3D Documentation
(cherry picked from commit f8f665b03e2c2b2a10ffcaf815c511cd31a70887)
2022-09-16 19:50:19 +02:00
Hugo Locurcio
1902d9e21b Improve InstancePlaceholder documentation
(cherry picked from commit 5acf30b5380d71472657fbba84cad8739a5d7c1e)
2022-09-16 19:49:55 +02:00
Aaron Franke
a7d1445c9c Allow exporting PCK files without export templates installed
(cherry picked from commit 8d81ce9561748b9a231af70323ddffd288e189ab)
2022-09-16 19:49:35 +02:00
Rémi Verschelde
9dc3c9025e nanosvg: Sync with upstream bd16c4e 2022-09-16 19:48:49 +02:00
b6dc768e74 Fix build. 2022-09-16 19:47:02 +02:00
Marcin Nowak
a697c239b8 Backport panning strength parameters from 4.0 2022-09-16 19:44:55 +02:00
bruvzg
876bac58ce Fix color modulation of the grayscale glyphs in font with mixed color / grayscale data. 2022-09-16 19:40:51 +02:00
Hugo Locurcio
dfd541f1e0 Improve documentation related to anisotropic filtering 2022-09-16 19:39:57 +02:00
Michael Alexsander
62fdf73348 Expose set/get_tab_button_icon() to scripting 2022-09-16 19:39:10 +02:00
Olivier Bombardier
3c72fdfb0d Fix has_filter of AnimationNode not being called in scripts 2022-09-16 19:38:38 +02:00
3a99f0afa1 Fix warning. 2022-09-16 19:37:29 +02:00