Rémi Verschelde
d4599fff68
Merge pull request #38804 from m4gr3d/android_plugin_config_master
...
Implementation of the Godot Android Plugin configuration file
2020-05-17 22:38:47 +02:00
Max Hilbrunner
ea8d9c5288
Merge pull request #38795 from Calinou/doc-array-dictionary-reference
...
Document that Dictionary is always passed as reference
2020-05-17 20:30:42 +02:00
Fredia Huya-Kouadio
14e6696c8e
Implementation of the Godot Android Plugin configuration file
2020-05-17 11:11:26 -07:00
Michael Alexsander
50585e2cfa
Add more missing node icons
2020-05-17 12:51:49 -03:00
Rémi Verschelde
4c8832701b
Merge pull request #38695 from dreamsComeTrue/node-swap-order-arguments
...
Replace 'add_child_below_node' with 'add_sibling' in Node
2020-05-17 11:36:05 +02:00
Rémi Verschelde
72608e571a
Merge pull request #38793 from Anutrix/window-popup-centered-rect2-fix
...
Fix popup window size calculation in popup_centered_ratio by using Rect2
2020-05-17 11:20:35 +02:00
Hugo Locurcio
675fea1648
Document that Dictionary is always passed as reference
...
See #38792 .
2020-05-16 23:52:40 +02:00
PouleyKetchoupp
242b94af1a
TextEdit search returns a dictionary instead of Vector
...
Easier to use than accessing elements in a Vector using indices given by an enum.
Breaks compatibility on existing scripts using this functionality.
2020-05-16 23:46:14 +02:00
unknown
634e9460b9
Fix popup window size calculation in popup_centered_ratio by using Rect2
2020-05-17 03:06:42 +05:30
clayjohn
4408efade3
Add night sky to PhysicalSkyMaterial
2020-05-16 12:59:55 -07:00
Rémi Verschelde
163687d17a
Merge pull request #38782 from mbrlabs/text-editor-fix
...
Fixed text editor drawing if smooth scrolling is disabled.
2020-05-16 19:26:55 +02:00
Rémi Verschelde
1702fb7ad2
Merge pull request #37519 from HaSa1002/fix-duplicate-inputs-win
...
Fix input event being dispatched multiple times on Windows
2020-05-16 18:51:37 +02:00
Rémi Verschelde
e669aa302b
Merge pull request #38779 from bruvzg/gdnative_sizes_fix
...
Fix GDNative wrapper type sizes (RID, Variant, Packed*Array), add size checks.
2020-05-16 18:50:43 +02:00
PouleyKetchoupp
3ad694018f
Fix Container sorting not working when overriding _sort_children in gdscript
...
Remove _sort_children from script bindings:
_sort_children is an internal method which shouldn't be exposed to scripts.
Added support for non-bound methods in MessageQueue:
So we can use deferred calls without exposing internal methods to scripts.
Added debug checks in CallableCustomMethodPointer:
Adding method pointer callables to the message queue was causing crashes
in case an object was destroyed and the same memory was allocated for
another one. The new object had a valid object id but the call was erroneous.
Release will be fixed later, along with Variant which has the same problem and
is also fixed for debug only.
2020-05-16 18:13:25 +02:00
SkyJJ
cc473b948f
Fix Android LineEdit editing bugs
2020-05-16 17:55:27 +02:00
Ignacio Etcheverry
9fa4b402a7
Added tests for ClassDB
2020-05-16 17:32:58 +02:00
Rémi Verschelde
2fa795dea9
Merge pull request #29587 from Calinou/remove-hq2x
...
Remove HQ2X and the `Image.expand_2x_hq2x()` method
2020-05-16 16:51:08 +02:00
Marcus Brummer
b048eb05ad
Fixed text editor drawing if smooth scrolling is disabled.
...
Fixes #38778
2020-05-16 16:31:43 +02:00
HaSa1002
434bf0572c
Fix input event being dispatched multiple times on Windows
2020-05-16 16:17:50 +02:00
Hugo Locurcio
d935a4348d
Remove HQ2X and the Image.expand_2x_hq2x()
method
...
As of Godot 3.0, HQ2X is no longer used to upscale the editor theme
and icons on hiDPI displays, which limited its effective uses.
HQ2X was also used to upscale the project theme when the "Use Hidpi"
project setting was enabled, but results were often less than ideal.
The new StyleBoxFlat and SVG support also make HQ2X less important
to have as a core feature.
This decreases binary sizes slightly (-150 KB on most platforms,
-212 KB on WebAssembly release).
This partially addresses #12419 .
2020-05-16 16:10:50 +02:00
Tan Wang Leng
7b1423a61e
gdscript_parser: Fix "unreachable code" false positive for loops
...
Depending on the conditional statements of the 'for' and 'while' loops,
their body may not even execute once. For example:
func a():
var arr = []
for i in arr:
return i
# can be reached, but analysis says cannot
return -1
func b():
var should_loop = false
while should_loop:
return 1
# can be reached, but analysis says cannot
return 0
The parser will complain that the statements after the comment cannot
be reached, but it is clearly possible for our scenario. This is
because the parser falsely assumes that the loop body will always
execute at least once.
Fix the code to remove this assumption for both of those loops.
2020-05-16 20:02:55 +08:00
Rémi Verschelde
ac58372db8
Merge pull request #38463 from smartin015/3.2-fixgedit
...
Remove get_local_mouse_position() hack in GraphEdit
2020-05-16 13:52:20 +02:00
Rémi Verschelde
cd16836392
Merge pull request #37430 from bruvzg/fix_non_hidpi_popup_pos
...
[macOS] Fix popup positions on multiple screens.
2020-05-16 13:44:51 +02:00
Rémi Verschelde
1a43d3b396
Merge pull request #38451 from eduardonunesp/feature/command-comma-preferences
...
Using command + comma on macOS as default shortcut for editor settings
2020-05-16 13:24:15 +02:00
smartin015
00457c68bc
Remove get_local_mouse_position() hack in GraphEdit
2020-05-16 13:22:52 +02:00
bruvzg
08e80ccd99
Fix popup positions on multiple screens (with same scaling only).
2020-05-16 14:11:43 +03:00
bruvzg
48d133a5fd
Fix GDNative wrapper type sizes (RID, Variant, Packed*Array), add size checking static asserts.
2020-05-16 13:58:42 +03:00
Rémi Verschelde
988dd09047
Merge pull request #38777 from madmiraal/update-r128
...
Update r128.h to include latest fixes for mingw-64 32 bit builds.
2020-05-16 11:56:40 +02:00
Marcel Admiraal
8efd1ca9f7
Update r128.h to include latest fix for mingw-64 32 bit builds.
2020-05-16 10:30:51 +01:00
Rémi Verschelde
d999071edf
Merge pull request #37924 from thebestnom/migrate-to-androidX
...
Android: Migrate deprecated support library to AndroidX
2020-05-16 09:03:17 +02:00
Rémi Verschelde
5b2c0c342a
Merge pull request #38772 from neikeq/issue-38729
...
websocket: Fix crash at exit when not running the editor
2020-05-16 08:50:47 +02:00
Ignacio Etcheverry
18332a0094
websocket: Fix crash at exit when not running the editor
...
EditorDebuggerServer::register_protocol_handler must not be called before
editor initialization. Otherwise, if the editor is never initialized,
the added StringName will not be released until static destructors are
called (instead of being release during editor deinitialization).
2020-05-16 04:30:12 +02:00
Oliver Frank
6815bf42b3
Fix incorrect capabilities notification in LSP
...
(cherry picked from commit 2173d041af
)
2020-05-15 23:55:49 +02:00
Oliver Frank
3d09edeaef
Improve jsonrpc error reporting
...
(cherry picked from commit dac8b7b6f4
)
2020-05-15 23:55:41 +02:00
Rémi Verschelde
5b53f22774
Merge pull request #38760 from akien-mga/error-macros-style
...
Error macros: Improve style of error messages
2020-05-15 22:04:52 +02:00
Rémi Verschelde
20ffb4b452
Merge pull request #38764 from YeldhamDev/icons_missing
...
Add more missing icons
2020-05-15 22:04:23 +02:00
Dominik 'dreamsComeTrue' Jasiński
7f5c81c32f
Replace 'add_child_below_node' with 'add_sibling' in Node
...
Fixes : #19642
2020-05-15 22:02:00 +02:00
Michael Alexsander
54ed1f63bf
Add more missing icons
2020-05-15 16:20:35 -03:00
Rémi Verschelde
2800c8f43d
doc: Sync classref with current source
2020-05-15 18:25:09 +02:00
Rémi Verschelde
0ed7d3a40a
Error macros: Improve style of error messages
...
Document why the `if (1) {} else ((void)0)` construct is used.
2020-05-15 18:21:14 +02:00
Rémi Verschelde
3a6d9a41bb
Merge pull request #38755 from dreamsComeTrue/editor-spin-slider-grabber-hide
...
Hide editor_spin_slider grabber when closing Editor's windows
2020-05-15 18:10:11 +02:00
Rémi Verschelde
24275b26b8
Merge pull request #36726 from ThakeeNathees/invalid-break-parsing
...
Fix: break, continue outside of a loop, match statement handled when parsing
2020-05-15 18:06:27 +02:00
Rémi Verschelde
f06c44a02c
Merge pull request #38717 from madmiraal/fix-image-uninitialized-warning
...
Silence 'w' may be used uninitialized in image.cpp warning.
2020-05-15 18:05:53 +02:00
Rémi Verschelde
bc008d413e
Merge pull request #38757 from madmiraal/fix-oidn-mingw-build
...
Fix #include <windows.h> for case-senstive cross-compilation.
2020-05-15 18:03:35 +02:00
Rémi Verschelde
0bdd1d46dd
Merge pull request #38754 from Calinou/doc-canvasitem-texture-filter-repeat
...
Document CanvasItem's texture filtering and repeating modes
2020-05-15 18:03:25 +02:00
Rémi Verschelde
fe0196e58f
Merge pull request #38753 from Calinou/doc-camera3d-effects
...
Document the Camera3D's `effects` property
2020-05-15 18:03:15 +02:00
Rémi Verschelde
4f23215395
Merge pull request #38750 from madmiraal/fix-vulkan-uninitialized-warning
...
Silence mulitple may be used uninitialized warnings in RenderingDeviceVulkan::uniform_set_create()
2020-05-15 18:02:56 +02:00
Marcel Admiraal
0aac6a2853
Fix #include <windows.h> for case-senstive cross-compilation.
2020-05-15 15:36:44 +01:00
Dominik 'dreamsComeTrue' Jasiński
095167dcc3
Hide editor_spin_slider grabber when closing Editor's windows
...
Fixes : #38740
2020-05-15 15:39:32 +02:00
Hugo Locurcio
3a79f98be7
Document CanvasItem's texture filtering and repeating modes
...
This makes the CanvasItem documentation 100% complete.
2020-05-15 14:49:43 +02:00