Commit Graph

20315 Commits

Author SHA1 Message Date
Ignacio Etcheverry c78c38d817 Mono: Lazily load scripts metadata file
- Only load the scripts metadata file when it's really needed. This way we avoid false errors, when there is no C# project,  about missing scripts metadata file.

(cherry picked from commit 791e1294c3)
2019-11-12 11:12:49 +01:00
James Buck 7577dd804a Cancel tooltip when hiding the node it belongs to
(cherry picked from commit bc7863775c)
2019-11-12 11:12:33 +01:00
Guilherme Felipe 8ef5052967 Add Input::get_current_cursor_shape
[Clean up] Removed unused/unnecessary methods.

(cherry picked from commit 1bae73d7d0)
2019-11-12 11:10:53 +01:00
mashumafi 717c492eb6 Add setting to exclude addons from script warnings
(cherry picked from commit d7137a6b72)
2019-11-12 11:10:01 +01:00
lupoDharkael ad1e8069d3 GDScript: add variable shadowing warning
(cherry picked from commit 14078fbb82)
2019-11-12 11:09:28 +01:00
Jared 66c1b8adc4 Light2D height range expanded to -2048 to 2048.
(cherry picked from commit 307bc16523)
2019-11-12 11:07:41 +01:00
Aaron Winter 794341e0b5 added negative X and negative Y offset to TileMap
clang-format

added negative X and negative Y offset to TileMap

(cherry picked from commit 63e0fd7675)
2019-11-12 11:07:19 +01:00
Christoph Schroeder 0f1704c9e8 Fixes Geometry.segment_intersects_circle working only one way.
(cherry picked from commit dcbe55a1fa)
2019-11-12 11:04:27 +01:00
will 7d84035e13 New shortcuts for the editor menu items
(cherry picked from commit 7a88002992)
2019-11-12 11:04:06 +01:00
Vixelz 39e76014d4 Include global class resources in Resource property inspector
Much like how script defined global classes can be created from the
"New Resource..." button in the FileSystem panel, this allows the
creation of script defined resources to be embedded.

(cherry picked from commit 03f7a724ed)
2019-11-12 11:02:43 +01:00
Rémi Verschelde a5f4f15510 AudioStreamOGGVorbis: Expose loop and loop_offset as properties
Fixes #11231.

(cherry picked from commit 51d1be5156)
2019-11-12 11:00:33 +01:00
Rémi Verschelde 24465c5e25 tinyexr: Sync with upstream 656bb61
(cherry picked from commit 6a2c2e5062)
2019-11-12 09:53:52 +01:00
Rémi Verschelde 908c8862ab nanosvg: Sync with upstream c1f6e20
Now formally unmaintained, so probably no further sync to expect
from this repository.

(cherry picked from commit 097b746fdd)
2019-11-12 09:53:04 +01:00
Rémi Verschelde 6b972f178a miniupnpc: Sync with upstream master (0ab1d67)
(cherry picked from commit e2fbfb1ded)
2019-11-12 09:52:09 +01:00
Rémi Verschelde 1b7a2e7284 mbedtls: Update to upstream version 2.16.3
(cherry picked from commit a3d77be53b)
2019-11-12 09:51:43 +01:00
Rémi Verschelde 699b087296 glad: Sync with upstream 0.1.33
(cherry picked from commit 92c3b6c85e)
2019-11-12 09:50:05 +01:00
Rémi Verschelde 716f7c3d32 X11: Fix memory leak in handle_key_event
Extracted from #27189.

(cherry picked from commit d191ffb47d)
2019-11-12 08:41:42 +01:00
PouleyKetchoupp 9360b23544 Fixed crash when pressing down key on empty Tree
Fixes #33554

(cherry picked from commit 47a4ca0022)
2019-11-12 08:41:00 +01:00
Jonathan Mannancheril 8851026e8a Update libogg to upstream c8fca6b
(cherry picked from commits 6eb8c11d32
and e70e894433)
2019-11-12 08:15:54 +01:00
volzhs b94f728699 Update libwebp to 1.0.3
(cherry picked from commit 074d421dca)
2019-11-12 08:14:40 +01:00
Rémi Verschelde 76db2b4dcb Android: Fix another regression with Secure.ANDROID_ID
Regression from #24145, which was missed in #28146.

(cherry picked from commit 071ebb1e48)
2019-11-12 08:13:22 +01:00
Jonathan Mannancheril bc31b11fdd Update zstd to 1.4.4
(cherry picked from commit 55afd6e784)
2019-11-12 08:10:10 +01:00
unknown c563839355 Update zstd to 1.4.3
(cherry picked from commit 61ad365fc9)
2019-11-12 08:09:52 +01:00
Rémi Verschelde b9b2e80add zstd: Update to upstream version 1.4.1
(cherry picked from commit b81fa47f38)
2019-11-12 08:09:07 +01:00
Rémi Verschelde 2e98ecd95f tinyexr: Sync with upstream a685e33
(cherry picked from commit b5b3aa920b)
2019-11-12 08:07:59 +01:00
Rémi Verschelde 8067207257 pcre2: Update to upstream version 10.33
(cherry picked from commit 518e23424e)
2019-11-12 08:07:44 +01:00
Jonathan Mannancheril b021671681 Update stb_vorbis to 1.17
(cherry picked from commit 97af5569d9)
2019-11-12 08:04:06 +01:00
Rémi Verschelde 82773cc7aa stb_vorbis: Update to upstream version 1.16
(cherry picked from commit 3e727bc659)
2019-11-12 08:03:55 +01:00
Rémi Verschelde 0d2cb78f3e glad: Sync with upstream 0.1.31
(cherry picked from commit 2bbcc521b6)
2019-11-12 08:02:08 +01:00
Rémi Verschelde cfa50d67d2 mbedtls: Update to upstream version 2.16.2
(cherry picked from commit 6321cc8da3)
2019-11-12 07:59:44 +01:00
Fabio Alessandrelli eb29bd988c Update miniupnpc library to latest master
(cherry picked from commit 78907d91f1)
2019-11-12 07:56:46 +01:00
PouleyKetchoupp 8901ff5e58 Update transforms after timers update to make sure changes are made before render
Fixes #29952

(cherry picked from commit c6b82f108a)
2019-11-11 13:29:22 +01:00
Rémi Verschelde 0b399e0373
Merge pull request #33450 from akien-mga/3.1
Assorted cherry-picks from the master branch for Godot 3.1.2 [3rd batch]
2019-11-10 10:03:53 +01:00
Rémi Verschelde 5672e5db24 Update AUTHORS and DONORS list
New contributors added to AUTHORS:
@DavidSichma, @ptrojahn

New Platinum sponsor, added to splash screen:
Interblock

New Gold sponsor:
Image Campus

(cherry picked from commit c663d65ffc)
2019-11-08 15:48:38 +01:00
Tomasz Chabora 55ec64a77a Clarify is_action_pressed() for multiple assigned buttons
(cherry picked from commit 7e329a7251)
2019-11-08 15:48:38 +01:00
clayjohn cf9560fdab add project setting for max lights and reflections in gles3
(cherry picked from commit 1a981ef268)
2019-11-08 15:48:37 +01:00
Kaligule 050c4dab00 Add a reference to pow to the description of exp.
This might be especially usefull since godot script doesn't support ** or ^ as operators, so beginners might search for the exponential function, when what they really need is the pow function.

This is exactly what happened to me and since I couldn't find helpfull information in the documentation I had to look it up online, where I found the answer on a helpfull [reddit thread](https://www.reddit.com/r/godot/comments/3mvwz0/how_do_i_do_exponents_in_godot/).

@akien-mga told me how to reference methods here:
godotengine#30909

(cherry picked from commit a2c81a7455)
2019-11-08 15:48:19 +01:00
George Marques 82b15ab469 GDScript: Fix type resolution not being return in some cases
Some situations caused the parser node type to not being update when
trying to resolve the type, returning invalid data and breaking the
parsing when it shouldn't. This patch fix the behavior.

(cherry picked from commit 64d09b7de5)
2019-11-08 15:48:19 +01:00
Guilherme Felipe 71a0722035 Fix set_default_cursor_shape always sending motion event
(cherry picked from commit 508761e0cd)
2019-11-08 15:48:19 +01:00
Michael Alexsander Silva Dias e384d77194 Fix 'GDNativeLibrary' editor being incorrectly opened
(cherry picked from commit 147990cb6d)
2019-11-08 15:48:19 +01:00
nobuyuki_nyuu 00883e8fdc Changes default coarse 2d zoom level from 1.5 to sqrt(2).
(cherry picked from commit 3f516622c3)
2019-11-08 15:48:19 +01:00
Rémi Verschelde 4133ee5e85 Android: Remove unusable android_stl=no option
As of 3.1 and later, we have too many thirdparty C++ dependencies
and some internal uses of `new` and `delete` too for it to make
sense to build without the STL on Android.

The option has been broken since 3.0, and the "System STL" that we
relied on for basic support of `new` and `delete` is likely to be
dropped from the NDK:
https://android.googlesource.com/platform/ndk/+/ndk-release-r20/docs/BuildSystemMaintainers.md#System-STL

(cherry picked from commit 2da1614beb)
2019-11-08 15:48:19 +01:00
Rémi Verschelde f1fc6feca4 SCons: Keep exceptions and rtti on Android, iOS and HTML5 tools build
Those were disable to keep size small, and on Android avoid the dependency on the STL,
but for tools build (editor) this is not really a concern.

Note: as of today it's not possible to build tools=yes for those platforms, but this
change is one of the necessary steps to enable it.

Fixes #25262.

(cherry picked from commit 4b20959d99)
2019-11-08 15:48:19 +01:00
clayjohn 4492f6d193 properly pass SCREEN_PIEXEL_SIZE to canvas light shader
(cherry picked from commit 518f0fb190)
2019-11-08 15:48:19 +01:00
clayjohn bd9cff1b20 allow omnilights and spotlights to use negative in GLES2
(cherry picked from commit 96c3004855)
2019-11-08 15:48:19 +01:00
Hugo Locurcio ac09460cd1 Mention 32-bit integer limit in the PoolIntArray documentation
(cherry picked from commit cb3676726b)
2019-11-08 15:48:19 +01:00
Cameron Reikes 15be90bbf3 Same method when redrawing as when theme changed
(cherry picked from commit c123a8c4f5)
2019-11-08 15:48:19 +01:00
Ignacio Etcheverry b6bcd09d7c C#: Fix Color.ToHtml()
(cherry picked from commit 57fe284fe6)
2019-11-08 15:48:19 +01:00
Emmanuel Barroga 53b44aacad Fix Redundant Navigation Polygons
When adjusting the vertices of a navigation polygon, the tile editor would create a duplicate navigation polygon.  So each time you made an adjustment, another copy of the polygon would be created.

(cherry picked from commit 6c83550dfc)
2019-11-08 15:48:19 +01:00
shaderbeast a07d53b262 Mark class_name line as safe in editor
(cherry picked from commit 1e6a52b215)
2019-11-08 15:48:19 +01:00