Commit Graph

29892 Commits

Author SHA1 Message Date
Omar Polo 6cc9333fe8
automatically detect BSDs as platform=linuxbsd
(cherry picked from commit 78cd0ffdba)
2021-08-13 10:36:58 +02:00
Michael Alexsander f20a2d3da7
Make property description in the animation editor actually show it
(cherry picked from commit bea868f750)
2021-08-13 10:36:58 +02:00
follower 1785d3e030
Fix Unicode URL link tags to render correctly.
Change incorrect `[/code]` closing tags to `[/url]` tags.

The `url` tags for the links to the Unicode code points information use `[/code]` rather than `[/url]` to close them.

This results in the links being rendered incorrectly in the IDE--the entire rest of the documentation for each method gets turned into a giant underlined link.

This issue was introduced in a2271ba3bd.

(cherry picked from commit b85688ac7d)
2021-08-13 10:36:58 +02:00
Sergey Minakov ed5b7e38ce
[iOS] Use platform generated api to initialize iOS plugins
(cherry picked from commit d48d7cc94f)
2021-08-13 10:36:58 +02:00
Yuri Sizov 2cf58509dd
Improve the inspector plugin documentation and remove a confusing statement
(cherry picked from commit 974e76a082)
2021-08-13 10:36:57 +02:00
kleonc 5acfb5127c
TileMap Fix trying to get data for tile not existing in attached TileSet
(cherry picked from commit 2eeed26d67)
2021-08-13 10:36:57 +02:00
Georg Wacker eaf45d4f60
Fix vertical scroll/zoom for precision touchpad
Adds factor data for vertical mousewheel event, in line with horizontal mousewheel event

(cherry picked from commit 63ba15a518)
2021-08-13 10:36:57 +02:00
Hugo Locurcio 5b3f6a6d34
Point at software OpenGL when OpenGL fails to initialize on X11
(cherry picked from commit 8fbdcb6fea)
2021-08-13 10:36:57 +02:00
Francois Belair 520fa45f0d
Fix LSP parsing get_node only from the scene root
(cherry picked from commit 03f8fa9f62)
2021-08-13 10:36:57 +02:00
Ellen Poe 994cafb9f1
Fix Godot's cubic resampling algorithm
(cherry picked from commit 2d450c6f61)
2021-08-13 10:27:52 +02:00
Ellen Poe f26390769a
Revert "Implement a new resampling algorithm in AudioStreamPlaybackResampled"
This reverts commit b2264cb48b.

(cherry picked from commit 57ccfab5fb)
2021-08-13 10:27:45 +02:00
Rémi Verschelde b0bb791e4a
HTML5: Fix a couple warnings
Add a missing call to disable warnings on a forked env for freetype's
`sfnt.c`.

(cherry picked from commit c44ebb020d)
(cherry picked from commit 0142a378c6)
2021-08-13 10:27:13 +02:00
Rémi Verschelde 2ac5a8dd2e
SCons: Add method to detect Emscripten and use it for warnings config
Emscripten is LLVM-based so we want to follow the same logic. But we can't just
put it as a match in `methods.using_clang()` as that would mess with the
compiler version detection logic used to restrict old GCC and Clang releases.

(cherry picked from commit 34421683eb)
(cherry picked from commit e7f7d5f330)
2021-08-13 10:27:08 +02:00
Rémi Verschelde e78a8b2424
SCons: Disable Clang -Wordered-compare-function-pointers warning
It's raised for us on many comparators implemented to be able to store a struct
in `Set` or `Map` (who rely on `operator<` internally). In the cases I reviewed
we don't actually care about the ordering and we use the struct's function
pointers as that's the only distinctive data available.

(cherry picked from commit 802810c371)
(cherry picked from commit 4c79dcc3e7)
2021-08-13 10:27:04 +02:00
Iced Quinn bb14eb9743
doc: Add documentation for JSONRPC class
(cherry picked from commit 3fc5646b98)
2021-08-13 10:25:58 +02:00
kleonc 17fcd76a74
TabContainer Fix moving dropped tab at incorrect child index
(cherry picked from commit a5a4532378)
2021-08-05 16:38:29 +02:00
Rémi Verschelde 54084ac70d
SCons: Fix info message when defining `GODOT_VERSION_STATUS`
(cherry picked from commit e92ba89dc7)
2021-08-05 16:36:58 +02:00
Rémi Verschelde 6b15d9a435
Merge pull request #51212 from Faless/net/3.3_ip_lock_fix
[3.3] [Net] Fix IP address resolution incorrectly locking the main thread.
2021-08-03 15:57:10 +02:00
Fabio Alessandrelli 6ff869eda7 [Net] Fix IP address resolution incorrectly locking the main thread.
This seems to be a pretty old bug, older then originally reported (at
least under certain circumstances).

The IP singleton uses a resolve queue so developers can queue hostnames
for resolution in a separate while keeping the main thread unlocked
(address-resolution OS functions are blocking, and could block for a long
time in case of network disruption).

In most places though, the address resolution function was called with
the mutex locked, causing other functions (querying status, queueing
another hostname, ecc) to block until that resolution ended.

This commit ensures that all calls to OS address resolution are done
with the mutex unlocked.
2021-08-03 15:39:48 +02:00
kobewi 4bc527fedd
Improve ConfigFile example
(cherry picked from commit 1721f0143e)
2021-08-03 14:57:34 +02:00
Rémi Verschelde dec840452d
i18n: Sync translations with Weblate
Last POT sync with the `3.3` branch, we'll now switch Weblate to track
`3.x` to prepare for the 3.4 release.
2021-08-03 10:32:32 +02:00
merumelu ea0bdb6860
makerst: use link titles for external tutorials
(cherry picked from commit b8752d91dc)
2021-08-03 10:32:32 +02:00
Rémi Verschelde 16fd1c421e
doc: Use self-closing tags for `return` and `argument`
For the time being we don't support writing a description for those, preferring
having all details in the method's description.

Using self-closing tags saves half the lines, and prevents contributors from
thinking that they should write the argument or return documentation there.

(cherry picked from commit 7adf4cc9b5)
2021-08-03 10:32:31 +02:00
Rémi Verschelde c5589c76ce
Allow overriding `VERSION_STATUS` with `GODOT_VERSION_STATUS` in env
`VERSION_STATUS` is part of what constitutes the reference version for a given
Godot build, and is part of the version check for compatible export templates.

For dev snapshots (alpha, beta, RCs), we usually set the `VERSION_STATUS` to
a specific build number (e.g. `beta2`), but this change doesn't end up
committed to the Git repository as we don't want to keep changing `version.py`
for testing builds.

So this new environment override will be what can be used in official builds
and by users making custom builds for specific snapshots.

(cherry picked from commit 948dcb63ca)
2021-08-03 09:29:23 +02:00
Rémi Verschelde edef9a9c86
Add script to make source tarball with `.git/HEAD`
This allows to generate the `VERSION_HASH` constant with the Git commit hash
even when building from a source tarball which is not a Git repository (and
without dependency on Git itself).

(cherry picked from commit 9a71038e34)
2021-08-03 09:29:10 +02:00
Kevin Sanders 620579eaf8
Grammar fix.
(cherry picked from commit 6db57b9da2)
2021-08-03 09:28:47 +02:00
Yuri Roubinsky 73f40a1efc
Prevent warning spam to console when dragging a CanvasItem in container
(cherry picked from commit bb5729fd35)
2021-08-03 09:28:31 +02:00
Hugo Locurcio 5e3ed7e014
Link to the Random number generation tutorial in RandomNumberGenerator
This was done in `master` already, but not in `3.x`.

(cherry picked from commit 93f4f9e076)
2021-08-03 09:28:00 +02:00
Haoyu Qiu 321a4bfcd8
Make action names translatable
(cherry picked from commit a3b221e99f)
2021-08-03 09:27:12 +02:00
Rémi Verschelde 7be11742b5
VariantParser: Fix uninitialized ResourceParser funcs
They could cause a segfault when parsing values with ID "Resource"
as apparently we never set a valid `func` for it.

Fixes crash part of #42115.

(cherry picked from commit f3aaa713d9)
2021-08-03 09:25:48 +02:00
Nicholas Huelin f84de49718
Make "Find in Files" searches ignore directories with `.gdignore` files in them
This pull request fixes an issue where searches using the "Find in Files" function would include folders with `.gdignore` files in them. The editor is supposed to ignore directories with these files in them altogether.

(cherry picked from commit 658b152bd8)
2021-08-03 09:25:10 +02:00
Haoyu Qiu 121af4a37d
Do nothing when dragging CSGBox handle perpendicular to the camera
(cherry picked from commit 0f1e107ede)
2021-08-03 09:24:54 +02:00
Jordan Schidlowsky 6878fe6d88
Websocket peer outbound buffer fixes. Expose outbound buffered amount.
(cherry picked from commit 023548c0a5)
2021-08-03 09:23:57 +02:00
Raul Santos 6a0155393a
Use `allowEmpty` parameter in Split
(cherry picked from commit b7a66a820b)
2021-08-03 09:22:33 +02:00
Rémi Verschelde c717c97819
Windows: Fix build with SCons 4.2.0
(cherry picked from commit c191cfbddf)
2021-08-01 11:06:12 +02:00
Fredia Huya-Kouadio 947c87d717
Fix custom build export
(cherry picked from commit df1ebbb0aa)
2021-07-28 15:40:17 +02:00
Francois Belair 03a6fe6489
Fix LSP SymbolKind reporting wrong types
Classes were properties, functions interfaces, etc.

(cherry picked from commit 02bc1bf355)
2021-07-28 15:39:57 +02:00
Hugo Locurcio dd7bb8f965
Document `Image.save_exr()` only being available in editor builds
(cherry picked from commit a1784c64b4)
2021-07-28 15:39:44 +02:00
Haoyu Qiu 4641e6b170
Add check to internal methods to prevent crash
(cherry picked from commit 448295cd51)
2021-07-27 12:05:59 +02:00
Raul Santos 10d07e02f2
Ignore paths with invalid chars in PathWhich
(cherry picked from commit d636ebbfe9)
2021-07-27 12:05:24 +02:00
Rémi Verschelde c406c8512f
i18n: Sync translations with Weblate 2021-07-26 16:23:02 +02:00
Haoyu Qiu 385b88fced
Fix selection of spaced atlas tile when using priority
(cherry picked from commit 2131b3c61c)
2021-07-26 15:39:14 +02:00
Hugo Locurcio bd63402ed6
Document caveats with Control's `mouse_entered`/`mouse_exited` signals
(cherry picked from commit 37c1cbdcb2)
2021-07-26 14:40:01 +02:00
Cory Petkovsek 4204c02fd1
Calculate instance depth after shadow calculation in VisualServer
(cherry picked from commit 096417905b)
2021-07-26 14:39:44 +02:00
QbieShay f862edd47c
visual server now sorts based on aabb position
this was causing issues with scenes where the origin of the objects
was set for all objects to the center of the scene, making transparent
objects sort improperly

This work was kindly sponsored by IMVU

Co-authored-by: RevoluPowered <gordon@gordonite.tech>
(cherry picked from commit b239c6706e)
2021-07-26 14:39:31 +02:00
kleonc c476459f2b
VisualScriptEditor Fix in graph position calculation (do not skip zoom)
(cherry picked from commit 3336453dff)
2021-07-26 14:38:26 +02:00
Aaron Franke 8c640b8204
[3.x] Fix C# bindings generator for default value types
(cherry picked from commit b3ac1669c0)
2021-07-26 14:36:28 +02:00
Nicholas Huelin 6cea423cc6
Fix doc typos
This pull request fixes an assortment of typos and improves conciseness in `Animation`, `Area2D`,  `Array`, `ArrayMesh`, `Control`, `Directory`, `EditorPlugin`, `Engine`, and `OS`.

(cherry picked from commit 9a72b0d3d0)
2021-07-24 01:12:59 +02:00
Hugo Locurcio 9f68eb2e4c
Clarify the purpose of the default asset library URLs in the editor
`localhost` was removed as it won't work out of the box. It can be added
by the user if they're working on the asset library itself.

This won't affect existing installations due to how the editor settings
are stored, but existing installations will keep working fine.

(cherry picked from commit eac8ba6ce8)
2021-07-24 01:12:52 +02:00
Nicholas Huelin f240d77e29
Fix miscellaneous doc typos and inconsistencies
This pull request fixes an assortment of typos, improves conciseness, and enhances clarity.

(cherry picked from commit 9787e631aa)
2021-07-24 01:12:42 +02:00