2
0
mirror of https://github.com/godotengine/godot.git synced 2025-03-19 23:53:32 +08:00

30307 Commits

Author SHA1 Message Date
Aitor Cereceto
f0df770a56 Fix SceneTreeDock::_selection_changed
Now handles properly selecting one single node after
select multiple nodes (MultiNodeEditor)

Fixes 
2021-06-10 15:20:13 +02:00
Yuri Sizov
83012d6927 Expose missing Theme methods
Backport of relevant, non-breaking parts of 
2021-06-10 15:31:23 +03:00
Marcel Admiraal
cdba79ca72 Remove unused AudioDriverAndroid from Android 2021-06-10 08:31:23 +01:00
PouleyKetchoupp
a146e79758 Expose collider RID in 2D/3D kinematic collision
Can be useful to access the colliding body information for bodies
created with the physics server directly.
2021-06-09 18:26:16 -07:00
bruvzg
8790c07562
[iOS] Option to automatically generate icons and launch screens 2021-06-09 17:52:06 +02:00
Rémi Verschelde
d84d5a9665
Merge pull request from megalobyte/doc-prev-search
[3.x] Fix previous search for built-in-docs
2021-06-09 11:11:15 +02:00
Rémi Verschelde
0d68db1b85
Merge pull request from timothyqiu/rtl-break
[3.x] Fix RichTextLabel auto-wrapping on CJK texts
2021-06-09 10:53:11 +02:00
Rémi Verschelde
68d5879092
Merge pull request from Calinou/textedit-completion-auto-width-more-items
Allow more items in automatic width calculation for TextEdit completion
2021-06-09 09:40:49 +02:00
Rémi Verschelde
1c86395ce6
Merge pull request from sarchar/3.x
Support multiple address resolution in DNS requests
2021-06-09 09:26:23 +02:00
megalobyte
7408b33895 Fix previous search for built-in-docs 2021-06-08 23:11:42 -07:00
Chuck
17ee8ff0d9 Support multiple address resolution in DNS requests
Add two new functions to the IP class that returns all addresses/aliases associated with a given address.

This is a cherry-pick merge from 010a3433df43a94fee95474360ffa6662c7441b9 which was merged in 2.1, and has been updated to build with the latest code.

This merge adds two new methods IP.resolve_hostname_addresses and IP.get_resolve_item_addresses that returns a List of all addresses returned from the DNS request.
2021-06-09 12:06:46 +07:00
Hugo Locurcio
2e6a4aea99
Allow more items in automatic width calculation for TextEdit completion
Calculating the width for 100 items takes a millisecond in
a debug build on an i7-6700K. It's likely that the editor can remain
smooth even with 1,000 items, especially in a release build.
2021-06-08 16:21:39 +02:00
Haoyu Qiu
3a591aaeeb Fix RichTextLabel auto-wrapping on CJK 2021-06-08 21:04:20 +08:00
Arthur Bikmullin
f3d931410b
Fixed missed IDHandler dependency in GodotFetch
(cherry picked from commit ee2bea7a861cf7e11880a3a875d06295cec9f5cf)
2021-06-08 10:20:35 +02:00
lawnjelly
0c6617887e Fix VisibilityEnabler to work with AnimationTree
Although the visibility enabler worked to turn on and off AnimationPlayer as it enters and exits the view frustum, this was of little use as bones animation and especially software skinning still take place driven by the AnimationTree node.

This PR adds the ability to turn on and off AnimationTree, and AnimationTreePlayer nodes as they enter or exit the view frustum, which achieves the intention of switching off expensive animation processing.
2021-06-08 07:13:25 +01:00
Hugo Locurcio
f80b15bebc
Allow clang-format 12 in the pre-commit hook
clang-format 12's formatting is identical to clang-format 11's.

(cherry picked from commit d74413ebd006a776c87c0b00f4a265e347df87ff)
2021-06-07 22:36:31 +02:00
Rémi Verschelde
32047ffd9c
FileAccess: Don't err in store_buffer with buffer of size 0
The error check was added for `FileAccessUnix` but it's not an error when both
`p_src` and `p_length` are zero.

Added correct error checks to all implementations to prevent the actual
erroneous case: `p_src` is nullptr but `p_length > 0` (risk of null pointer
indexing).

Fixes .

(cherry picked from commit 01d5c463be103a29662d2123cd37ae2f21b077a6)
2021-06-07 22:36:07 +02:00
kobewi
6ce63017d5
Don't remap resources belonging to instance
(cherry picked from commit 8e8398209e025d80a9981c0dbf8362a9ad1e600b)
2021-06-07 22:35:38 +02:00
Rémi Verschelde
a33e0c2d41
Merge pull request from nekomatata/query-uninitialized-members-3.x
[3.x] Fix uninitialized members in physics query results
2021-06-07 20:39:51 +02:00
PouleyKetchoupp
c6bd0fd0f7 Fix uninitialized members in physics query results 2021-06-07 10:40:15 -07:00
Rémi Verschelde
5d8fe70de5
Merge pull request from Calinou/readd-dynamicfont-kerning
Readd support for kerning in DynamicFont (3.x)
2021-06-07 14:30:44 +02:00
Marcel Admiraal
1b19545cd8
Don't install Android NDK in CI
(cherry picked from commit a81449be6d9cd6140a9d54197f2bac153acdfc06)
2021-06-07 12:15:20 +02:00
Marcel Admiraal
9cb878460f
Update Gradle archiveName and destinationDir properties
(cherry picked from commit 78e791045cc41d0c5049318454846c60cfa1a4fe)
2021-06-07 12:15:04 +02:00
kobewi
117e037235
Don't save built-in script when adding method
(cherry picked from commit a97546d4eaab50dd0d0d28543b6dfcf87a0d0673)
2021-06-07 12:14:47 +02:00
Nick Huelin
8b09112d5f
Edit "quit()" method description in SceneTree
Updated the `SceneTree.quit()` method to include a note that on iOS this method won't work as apps are expected to be closed via the Home button, not programmatically.

(cherry picked from commit c63af17a31b562f4355de6d715d00a3646e552c7)
2021-06-07 12:14:30 +02:00
Aaron Franke
ea476543ea
Rename tabs in the project manager
(cherry picked from commit 78131671960fc866d1c8a10c9e2dab2705cb408c)
2021-06-07 12:13:27 +02:00
kobewi
457ccb21b6
Improve sort_custom() description
(cherry picked from commit 48f0368ddc19c16387f190ef8339de69b70d11ae)
2021-06-07 12:11:52 +02:00
RoniPerson
f5fe8ddacc
Added documentation to some add_*_plugin methods
Added documentation to some `add_*_plugin` methods and the corresponding `remove_*_plugin` methods.
Added an example of how to register a plugin to `add_inspector_plugin` and linked to it in the other methods.

(cherry picked from commit e849157e074fdc302be9e7f7a891bea53ed5cee3)

Proofread add_*_plugin/remove_*_plugin descriptions in EditorPlugin

(cherry picked from commit 21f09616102a6b45f6533c58da33a4f973468ae6)
2021-06-07 12:10:19 +02:00
Rémi Verschelde
80e1585a6e
Style: Cleanup uses of double spaces between words
Or after punctuation. Tried to leave third-party stuff alone, unless it has
been heavily modified for Godot.

(cherry picked from commit c1c76850cb47c0f8451fce6353958006e95b2cda)
2021-06-07 12:06:59 +02:00
Rémi Verschelde
b449380235
Merge pull request from madmiraal/rename-collisionobject3d-input_event-3.x
[3.x] Rename CollisionObject3D input_event signal position and normal parameters
2021-06-07 11:42:36 +02:00
Marcel Admiraal
fd982ecd15 Rename CollisionObject3D input_event signal position and normal parameters 2021-06-07 09:50:47 +01:00
Hugo Locurcio
c5ed95a526
Readd support for kerning in DynamicFont
DynamicFont kerning was removed in
a9b7843dca3ea3eda9f9f890a3e2c78542ca7561.

This readds kerning support and fixes it at the same time.

Co-authored-by: follower <follower@rancidbacon.com>
2021-06-07 02:36:10 +02:00
Rémi Verschelde
6580166f39
Merge pull request from Calinou/editor-import-invert-green-channel-3.x
Add "Normal Map Invert Y" import option for normal maps
2021-06-05 13:36:26 +02:00
Hugo Locurcio
dbf75931d0
Add "Normal Map Invert Y" import option for normal maps
This can be used to invert a normal map's Y direction.

The existing Invert import option that inverts all RGB channels
is kept for compatibility with existing projects.
2021-06-04 18:10:34 +02:00
Rémi Verschelde
f102ba8b2f
Merge pull request from Calinou/doc-navigation-get-simple-path
Document `Navigation.get_simple_path()` often returning non-optimal results
2021-06-03 22:37:07 +02:00
Rémi Verschelde
6aa70c603d
Merge pull request from madmiraal/fix-47579-3.x
[3.x] Fix game controllers ignoring the last listed button
2021-06-03 21:14:56 +02:00
Marcel Admiraal
18825ad4ff Fix game controllers ignoring the last listed button 2021-06-03 15:45:05 +01:00
Hugo Locurcio
8e4afdc71d
Document Navigation.get_simple_path() often returning non-optimal results 2021-06-03 16:05:56 +02:00
Rémi Verschelde
87dfd6e6cb
Merge pull request from bruvzg/macos_export_notarization3
[3.x, macOS export] Add notarization support.
2021-06-03 13:25:13 +02:00
bruvzg
261b35d63c
[3.x, macOS export] Add notarization support. 2021-06-03 14:13:06 +03:00
Rémi Verschelde
ea6ca86776
Merge pull request from akien-mga/3.x-cherrypicks 2021-06-03 12:55:01 +02:00
gongpha
0b8e079eec
New icons for Gradient and GradientTexture resources
(cherry picked from commit 0ed1915053d1f5c1663974b6a0eef5602975f303)
2021-06-03 12:24:57 +02:00
trollodel
802ba1d07a
Preview the color animation in the animation editor
(cherry picked from commit 735c8396b0cba475b4c74c5e1e42a74ddc89e324)
2021-06-03 12:24:57 +02:00
Pedro J. Estébanez
612986ab0a
Fix crash when using ALSA MIDI with PulseAudio
(cherry picked from commit 958d79828b1997fc040ebd1a3e5b63650a54193b)
2021-06-03 12:24:57 +02:00
kleonc
dfee7e71c7
TextureRegionEditor Fix not updating on editing region with autoslice cached
(cherry picked from commit 019c99e5385a3f0055bc4e72b2c48b9cf0a0442d)
2021-06-03 12:24:57 +02:00
Nathaniel Morihara
471c0ba700
Exporting: Android Debug Keystore Warnings
(cherry picked from commit 2cf19293ba10c4bc735afcfae54ef6242c538bde)
2021-06-03 12:24:57 +02:00
Yuri Sizov
c82cb25a93
Improve the layout and texts of the Editor Feature Profiles dialog
(cherry picked from commit 00bcfaed85a512058a543a4bb030a1209de5b4fd)
2021-06-03 12:24:53 +02:00
Rémi Verschelde
3bda26845f
Merge pull request from bruvzg/zoom-visibility3
[3.x] Fix visibility issue with zoom label
2021-06-03 12:16:45 +02:00
Rémi Verschelde
1cd14e38cb
Merge pull request from HenryWConklin/3.x-xml-numeric-entities
Add support for numeric XML entities to XMLParser
2021-06-03 12:16:32 +02:00
Henry Conklin
a28beb3048
Add support for numeric XML entities to XMLParser
* Add support for decimal numeric entities to String::xml_unescape
* Add more error checks to String::xml_unescape
* Refactor XMLParser to use String::xml_unescape instead of an internal
implementation
2021-06-03 11:44:47 +02:00