Commit Graph

29175 Commits

Author SHA1 Message Date
Rémi Verschelde 488576ade9
Merge pull request #40078 from endlesstravel/fix-print-null-in-array-3
fix crash when pass null in print array in GD.print
2020-07-03 15:22:25 +02:00
Stijn Hinlopen 85ced4746f Improve Create Dialog search ranking and refactor calculation.
Code changes:
 - Improved search ranking with various features (position in type string, string length proportion, in favorite list, in recent list).
 - Recent items are now stored in an ItemList (no visual change).
 - Removed results that had a parent that matched the search term to improve clarity.

Performance:
 - Reduce types to process upon opening the dialog (instead of every search change), reduces number of types by 4~5.
 - Clear arrays after closing dialog instead of keeping them.
 - Various other optimizations.
2020-07-03 15:06:23 +02:00
Andrii Doroshenko (Xrayez) dc446203be Provide warning when using polygon shapes in `CollisionShape2D` node
`ConvexPolygonShape2D` and `ConcavePolygonShape2D` are only meant to be
used directly in code and not in the editor for physics-based use cases
specifically.

Developers are advised to use `CollisionPolygon2D` instead, which does
generate those shapes under the hood, handling polygon convexivity,
proper orientation etc.
2020-07-03 15:46:09 +03:00
Slooth df8f0e6215 Add documentation for minimap_draw and minimap_width 2020-07-03 07:42:43 -05:00
Rémi Verschelde 772f693e5b
Merge pull request #40083 from akien-mga/img-better-create-error
Image: Improve error messages for invalid creation size
2020-07-03 13:52:10 +02:00
Slooth b2471edf45 Update TextEdit select and select_all methods 2020-07-03 06:44:34 -05:00
Rémi Verschelde 8ff99d2a8e
Merge pull request #39958 from aaronfranke/gridmap-vec3i
Update GridMap to use Vector3i instead of three ints
2020-07-03 13:38:46 +02:00
Slooth bc1ea1cbad Add documentation for selecting_enabled 2020-07-03 06:24:40 -05:00
Rémi Verschelde de33cdecb5
Merge pull request #40065 from rileylyman/script_drag_drop
Allow script editor scripts to be drag-dropped onto resource properties
2020-07-03 13:20:52 +02:00
Rémi Verschelde b5fa2634d4
Merge pull request #40082 from slooths/doc-textedit-center-viewport-to-cursor
Add documentation for center_viewport_to_cursor method
2020-07-03 13:17:46 +02:00
Rémi Verschelde b5488def47 Image: Improve error messages for invalid creation size 2020-07-03 12:57:23 +02:00
Rémi Verschelde a6f1714612
Merge pull request #37218 from lrgilbert/graphnode-port-separation
Fixed GraphNode port separation.
2020-07-03 12:46:11 +02:00
Rémi Verschelde 7af7590790
Merge pull request #39880 from Cevantime/fix_laxist_one_way_shapes
Fix laxist collision detection on one way shapes
2020-07-03 12:44:49 +02:00
Rémi Verschelde 9a82c3d6a5
Merge pull request #40081 from nekomatata/richtextlabel-fill-regression
Fix RichTextLabel fill alignment regression
2020-07-03 12:43:20 +02:00
Rémi Verschelde 75ca669b8e
Merge pull request #40080 from slooths/doc-textedit-shortcut-keys
Add documentation for shortcut_keys_enabled
2020-07-03 12:42:58 +02:00
Slooth 654d33866b Add documentation for center_viewport_to_cursor method 2020-07-03 05:39:17 -05:00
Rémi Verschelde ad04cf0bfa
Merge pull request #32907 from georgikoemdzhiev/FixPressedIssue
Uncheck 'Pressed' if toggle_mode is unchecked
2020-07-03 12:01:34 +02:00
lrgilbert 47c929c972 Fixed separation of ports on GraphNode
Fixes #32474.
2020-07-03 11:28:08 +02:00
Cevantime 23f7d2c29d fix laxist collision detection on one way shapes 2020-07-03 11:24:15 +02:00
endlesstravel d2461bad63 fix crash when pass null in print array in GD.print
fix crash when pass null in print array in GD.print 2

fix crash when pass null in print array in GD.print 3

fix space
2020-07-03 16:55:09 +08:00
PouleyKetchoupp 44f88999c7 Fix RichTextLabel fill alignment regression
Fixes #40068 (regression from #39164) by not applying the line offset
change in the case of fill alignment mode.
2020-07-03 10:30:24 +02:00
Slooth d838282191 Add documentation for shortcut_keys_enabled 2020-07-03 03:03:56 -05:00
Rémi Verschelde f0dffa5f1d
Merge pull request #40077 from aaronfranke/doc-vec2-angle
Fix incorrect documentation for Vector2.angle()
2020-07-03 09:51:24 +02:00
Rémi Verschelde aa564739dd
Merge pull request #40074 from reduz/fix-fullscreen
Fix fullscreen flag on Windows, closes #37588
2020-07-03 09:23:44 +02:00
Rémi Verschelde 8ab69153ca
Merge pull request #39968 from lordkettune/custom-tracks-fix
Fix custom tracks causing issues on reimport
2020-07-03 07:54:10 +02:00
Rémi Verschelde c284ff1316
Merge pull request #40067 from YeldhamDev/anim_bezier_timeline_zoom
Fix timeline cursor not updating on zoom change in the Bezier editor
2020-07-03 07:51:51 +02:00
Rémi Verschelde 810aefb3ed
Merge pull request #40063 from RandomShaper/clean_blend_times
Ignore (clean) blend times for non-existent animations
2020-07-03 07:51:22 +02:00
Rémi Verschelde eeb61ec896
Merge pull request #40071 from reduz/fix-content-scale
Fix content scale mode, closes #37941
2020-07-03 07:50:50 +02:00
Rémi Verschelde d8f0375ce6
Merge pull request #40062 from reduz/fix-cursor-shape
Ensure cursor shape changes when exiting window, fixes #37724
2020-07-03 07:50:10 +02:00
Rémi Verschelde 64aa25b2e5
Merge pull request #40050 from naithar/feature/ios-gdnative-master-2
[4.0] Add support of iOS's dynamic libraries to GDNative
2020-07-03 07:48:13 +02:00
Aaron Franke 299c3ec1c1
Fix incorrect documentation for Vector2.angle() 2020-07-02 22:52:37 -04:00
Riley Lyman ab0fe13efb Make Resource properties accept SE plugin scripts 2020-07-02 18:58:33 -07:00
Juan Linietsky b14be5f271 Fix fullscreen flag on Windows, closes #37588 2020-07-02 22:09:17 -03:00
lordkettune 4313a7bdc8 Fix issues with custom tracks on reimport 2020-07-02 16:08:20 -07:00
Rémi Verschelde 670d3a616c
Merge pull request #40053 from bruvzg/macos_confined_mouse_mode_4
[macOS] Implement confined mouse mode.
2020-07-03 00:10:56 +02:00
Rémi Verschelde c85a51cf87
Merge pull request #40058 from Faless/wslay/1.1.1
Update to wslay 1.1.1 .
2020-07-02 23:25:17 +02:00
Aaron Franke 8a333cdf9f
Update GridMap to use Vector3i instead of three ints 2020-07-02 16:50:55 -04:00
Rémi Verschelde f9c2f35dd9
Merge pull request #39415 from SkyLucilfer/PotGeneration
Add POT generation feature in Editor
2020-07-02 22:22:46 +02:00
Rémi Verschelde 661f8ee780
Merge pull request #40057 from Faless/mbedtls/2.16.7
Update to mbedtls 2.16.7
2020-07-02 22:21:46 +02:00
Juan Linietsky ac7e9479ce Fix content scale mode, closes #37941 2020-07-02 17:16:13 -03:00
Michael Alexsander eee9d053a3 Fix timeline cursor not updating on zoom change in the Bezier editor 2020-07-02 16:07:28 -03:00
georgikoemdzhiev 8674e5c0bd Uncheck 'Pressed' if toggle_mode is unchecked 2020-07-02 19:14:10 +01:00
Pedro J. Estébanez fdf1977e8f Ignore blend times for inexistent animations 2020-07-02 19:22:09 +02:00
Juan Linietsky d3adc53ad9 Ensure cursor shape changes when exiting window, fixes #37724 2020-07-02 14:17:46 -03:00
Rémi Verschelde 67e4082b1e
Merge pull request #37350 from aaronfranke/force-impulse
Refactor physics force and impulse code to use (force, position) order
2020-07-02 18:39:16 +02:00
Rémi Verschelde d121248562
Merge pull request #40049 from hinlopen/remove-pane-drag
Remove unused class PaneDrag
2020-07-02 18:33:36 +02:00
Rémi Verschelde 6e55a4fe8c
Merge pull request #34319 from timothyqiu/tree-drag-10026
Prevent dragging from SceneTree buttons
2020-07-02 17:00:42 +02:00
Sergey Minakov 294416c84c GDNative export: do not add fake lookup table if static lib is not used 2020-07-02 17:43:04 +03:00
bruvzg a9e341cff3
[macOS] Implement confined mouse mode. 2020-07-02 17:34:58 +03:00
Rémi Verschelde fd5b6e1db2
Merge pull request #40009 from mrushyendra/ustring_overflow_master
Fix overflow and underflow checks for string conversion to int
2020-07-02 16:32:27 +02:00