Hugo Locurcio
d5ffa42cd2
Add a test suite for Expression
...
This also makes the first parameter of `Expression::execute()` optional
from C++. Previously, it was only optional in the scripting API.
2020-08-27 15:16:09 +02:00
Rémi Verschelde
7a62b94bca
Merge pull request #41523 from Lunatoid/theme-editor-h-scrollbar
...
Gives the theme editor a horizontal scrollbar
2020-08-27 12:16:56 +02:00
Rémi Verschelde
964b00717c
Merge pull request #41557 from Yetizone/master_small_typo
...
rasterizer_rd.cpp: Correct small typo
2020-08-27 12:09:29 +02:00
Yetizone
118a7bc53f
rasterizer_rd.cpp: Correct small typo
2020-08-27 12:44:18 +03:00
Rémi Verschelde
d30c3d06dd
Merge pull request #39440 from simpuid/custom-profilers
...
Debugger Plugins in Godot
2020-08-27 11:35:39 +02:00
Rémi Verschelde
6875c9d684
Merge pull request #40302 from verdog/camera-bounds-fix
...
Fix Camera2D Incorrect Preview Bounds
2020-08-27 09:58:24 +02:00
Rémi Verschelde
c59e9399e7
Merge pull request #41550 from godotengine/revert-40671-virtual-keyboard-height-fix
...
Revert "Fix virtual keyboard height regression"
2020-08-27 08:55:51 +02:00
Aaron Franke
de6f8f9d21
Make the Import dock depend on the FileSystem dock
2020-08-27 02:01:14 -04:00
Aaron Franke
2b44b0cc43
Iterate backwards over EditorPlugin's list of plugins in get_editor etc
2020-08-27 00:26:22 -04:00
Rémi Verschelde
f98b32ff51
Merge pull request #41549 from godotengine/revert-40484-android-virtual-keyboard-adjustment
...
Revert "Disable virtual keyboard focus adjustment on Android"
2020-08-26 23:48:09 +02:00
Fredia Huya-Kouadio
db35a008f6
Revert "Fix virtual keyboard height regression"
2020-08-26 14:38:02 -07:00
Rémi Verschelde
580420d25a
Merge pull request #41548 from godotengine/revert-40806-android-keyboard-cleaning
...
Revert "Move PopupWindow logic to GodotEditText on Android"
2020-08-26 23:18:58 +02:00
Fredia Huya-Kouadio
ffd0bb1d02
Revert "Disable virtual keyboard focus adjustment on Android"
2020-08-26 13:27:25 -07:00
Fredia Huya-Kouadio
04b402b6f1
Revert "Move PopupWindow logic to GodotEditText on Android"
2020-08-26 13:24:18 -07:00
George Marques
5033d5c71c
GDScript: Fix crash when parsing properties
2020-08-26 16:08:19 -03:00
George Marques
b2b45987d0
GDScript: Show error when there's an inheritance cycle
2020-08-26 16:01:08 -03:00
George Marques
4a3fca47e5
GDScript: Add recursion depth limit for completion
...
To avoid crashes when there's a dependency loop.
2020-08-26 15:38:23 -03:00
George Marques
ff16ba1eaa
GDScript: Fix crash when completing code with signals
2020-08-26 15:13:42 -03:00
George Marques
8ccf88a206
GDScript: Fix issues when deriving from other scripts
2020-08-26 14:50:27 -03:00
Tony-Goat
71febfd6e2
Updated LineEdit to address #41278
...
Updated set_max_length() function to actually pull a substring of the current text so it's not all thrown away when the new max length is shorter than the current length.
2020-08-26 11:19:24 -06:00
PouleyKetchoupp
bb306750ce
Fix WINDOW_EVENT_FOCUS_IN for popups on Windows
...
On Windows, WINDOW_EVENT_FOCUS_IN was never sent by the display server
for popups, because WM_ACTIVATE events are received during the call to
_update_window_style, which happened before the callbacks were set.
This was causing some issues with the way Popup is now handling closing on
parent focus.
Now _update_window_style is only called during show_window, after Window
initialized callbacks.
2020-08-26 18:14:36 +02:00
PouleyKetchoupp
5315bff002
Fix menu popups delay and focus in X11 display server
...
Now using override_redirect for menu & tooltip popups to prevent the WM from
interfering with them, so we have more control over focus management
and avoid a delay before they show up.
2020-08-26 18:14:07 +02:00
Keegan Owsley
e148338d42
Wrap angles to (-pi, pi) in momentum calculation.
...
Fixes a bug that causes KinematicBody2Ds to produce too much angular
momentum when rotating beyond 180 degrees.
2020-08-26 08:25:28 -07:00
simpu
ea2eaf8c27
Added debugger plugin support
...
Changes:
* EngineDebugger is exposed to gdscript. Game side of communication can be implemented through it.
* EditorDebuggerPlugin is added which handles the editor side of communication.
2020-08-26 11:24:51 +05:30
Lunatoid
d602be077d
Gives the theme editor a horizontal scrollbar
...
Fixes #34509 where the theme editor would push away the inspector
if something like "hseperation" is really high.
Now `set_enable_h_scroll` is true which fixes this.
2020-08-26 01:48:46 +02:00
SkyJJ
c1016dc3bf
Add translators comments extraction for Editor
2020-08-25 20:59:29 +02:00
Rémi Verschelde
a609b30ddb
Merge pull request #41511 from KoBeWi/dynamite_font
...
Accept DynamicFontData for Fonts
2020-08-25 18:41:03 +02:00
Tomasz Chabora
b5fe41988b
Accept DynamicFontData for Fonts
2020-08-25 18:12:35 +02:00
Rémi Verschelde
b2aae76f85
Merge pull request #41500 from bruvzg/mac_ds_use_after_free
...
[macOS] Fix heap use-after-free in DisplayServer.
2020-08-25 14:35:21 +02:00
Rémi Verschelde
fe24b7c474
Merge pull request #41501 from akien-mga/revert-40781-41025
...
Revert "Check if global class file still exists before registering it"
2020-08-25 14:32:55 +02:00
Rémi Verschelde
d7c77f6dd0
Merge pull request #41138 from EricEzaM/open-inspector-section-on-drag-and-drop-hover
...
Added ability to unfold editor sections when dragging and dropping.
2020-08-25 13:15:36 +02:00
bruvzg
9a85948907
[macOS] Fix heap use-after-free in DisplayServer.
2020-08-25 14:04:20 +03:00
Rémi Verschelde
f13207254c
Revert "Check if global class file still exists before registering it"
...
And revert follow-up regression fix "Remap script path when registering class."
After the regression fix, the original issue is valid again so it's better
to go back to the previous state.
This reverts commits e264ae20d2
and
fceb64827e
.
2020-08-25 13:02:03 +02:00
Rémi Verschelde
dd58f4da66
Merge pull request #41085 from SekoiaTree/master
...
Fixed node scaling arrows being wrong
2020-08-25 12:44:21 +02:00
Rémi Verschelde
9d8f3496e8
Merge pull request #40443 from SkyLucilfer/PluralsSupport
...
Added plurals and context support to Translation
2020-08-25 12:11:56 +02:00
Rémi Verschelde
e968109fa7
Merge pull request #41497 from lyuma/assimp_set_pose_fix
...
Fix regression in FBX import caused by Skeleton3D
2020-08-25 12:08:58 +02:00
Eric M
7cc1b0f7eb
Added ability to unfold editor sections when dragging and dropping.
...
Also added editor setting to control the delay used before unfold occurs.
2020-08-25 19:58:42 +10:00
Lyuma
0851d6dcdf
Fix regression in FBX import caused by Skeleton3D
...
A change in commit f7fdc87
changed the Skeleton3D "pose" property from PROPERTY_USAGE_EDITOR to PROPERTY_USAGE_NOEDITOR.
This should have had no effect, however it turns out assimp was assigning to the pose property.
This change adjusts the FBX import to only get_bone_rest/set_bone_rest, not set_bone_pose.
2020-08-25 01:17:39 -07:00
SekoiaTree
603febdbfe
Fixed node scaling arrows being wrong
...
Patch for #21755 . Node scaling arrows pointed the wrong way when nodes were rotated. Ammend: made math cleaner.
Simplified expression
Changes suggested by Aaron Franke
Co-authored-by: Aaron Franke <arnfranke@yahoo.com>
2020-08-25 09:50:15 +02:00
Rémi Verschelde
443686d724
Merge pull request #41461 from Calinou/ci-platforms-emoji
...
GitHub Actions: Prepend emoji to platform names for easy visual grepping
2020-08-25 00:43:19 +02:00
Rémi Verschelde
ba7738a3b2
Merge pull request #41476 from nekomatata/subviewport-node-compatibility
...
Add Viewport/SubViewport node compatibility
2020-08-24 18:02:07 +02:00
Rémi Verschelde
200c58bbf2
Merge pull request #41469 from madmiraal/fix-41397
...
Ensure node's area tree signals are disconnected when clearing monitoring, even if nodes are no longer in the tree.
2020-08-24 17:59:35 +02:00
Rémi Verschelde
6a277b6604
Merge pull request #41485 from neikeq/issue-41433
...
C#: Fix 'Parameter toolsPath cannot be null' error
2020-08-24 15:24:00 +02:00
George Marques
722be9aaef
GDScript: Don't fail to load constants if they're not a literal
...
It's still okay as long as it's a constant value. This should already
been validated by the analyzer.
2020-08-24 09:15:33 -03:00
Ignacio Etcheverry
2bd6252e92
C#: Fix 'Parameter toolsPath cannot be null' error
2020-08-24 11:24:08 +02:00
PouleyKetchoupp
e869e6eb0c
Add Viewport/SubViewport node compatibility
2020-08-23 20:18:11 +02:00
George Marques
ca90c9c9a9
GDScript: Properly resolve external inner classes from preload
...
This gets the correct parser and class node when resolving from a full
GDScript reference.
2020-08-23 12:55:27 -03:00
George Marques
d36d7e2a1c
GDScript: Use pointer instead of references in cache
...
They are not supposed to be kept alive and this is cleaner and less
error-prone than unreferencing the elements.
2020-08-23 12:55:27 -03:00
George Marques
58f5c2bab6
Merge pull request #41238 from MarianoGnu/gdscript-export-resource
...
Fix GdScript Analyzier not detecting Resource subclass correctly
2020-08-23 11:04:52 -03:00
Hugo Locurcio
82b30f36cb
GitHub Actions: Prepend emoji to platform names for easy visual grepping
2020-08-23 15:13:36 +02:00