Commit graph

29304 commits

Author SHA1 Message Date
Marcel Admiraal
7eb0fcdb1a Remove elements from monitored_bodies and monitored_areas as they are
processed before calling the callback, instead of after they have all
been processed, because the callbacks may readd them.
2020-07-04 10:17:57 +01:00
Rémi Verschelde
8ccb1cec91
Merge pull request #40084 from bruvzg/macos_seamless_scaling
[macOS] Implement seamless display scaling.
2020-07-04 10:51:09 +02:00
Rémi Verschelde
9cec315ec0
Merge pull request #40103 from Calinou/doc-fix-string-capitalize
Fix `String.capitalize()` description to follow camelCase changes
2020-07-04 09:57:46 +02:00
Rémi Verschelde
9828fcc01a
Merge pull request #40105 from Logharaa/master
Stop looping as soon as the first window that has focus is found
2020-07-04 09:57:14 +02:00
Rémi Verschelde
a5b061e1b8
Merge pull request #40107 from reduz/fix-default-fonts
Correctly use fallback for default fonts
2020-07-04 09:56:27 +02:00
Rémi Verschelde
643305c9fc
Merge pull request #40109 from aaronfranke/codeowners-aaronfranke
Add myself to CODEOWNERS for GodotSharp
2020-07-04 09:55:55 +02:00
Stijn Hinlopen
973e5bacf0 Rewrite extracting animation name. 2020-07-04 09:55:36 +02:00
bruvzg
df968d577a
[macOS] Implement seamless display scaling. 2020-07-04 10:36:33 +03:00
Yuri Roubinsky
de1117f5ad Prevents incorrect connection attempt on port clicking in GraphEdit
Prevents incorrect connection attempt on port clicking in GraphEdit
2020-07-04 08:05:37 +03:00
Daniel Ting
b8e6ff9a7f Fix opening URLS with special characters in macOS
The Online Tutorials section of InputMap in the editor's built-in
documentation viewer contains this link:

docs.godotengine.org/en/latest/tutorials/inputs/inputevent.html#inputmap

The macOS implementation for opening a link percent-encodes it before
sending it to the browser, resulting in a 404. This is to fix #13422
where filenames with special characters could not be opened in Finder.
However, this breaks URLS so I added a check to see if the resource
scheme is file:// and if so, only then is it escaped. This allows other
schemes like `http`, `ftp`, and `mailto` to be used.
2020-07-03 23:00:48 -05:00
Aaron Franke
2a8066b8ab
Add aaronfranke to CODEOWNERS for GodotSharp
[ci skip]
2020-07-03 21:31:10 -04:00
Juan Linietsky
110e650dc8 Change how default fonts are created, fixes #39235
Also fixes file dialog icons.
2020-07-03 21:29:12 -03:00
Gaël
6c76639c40 Break loop when the first focused window is found 2020-07-04 01:57:16 +02:00
Rémi Verschelde
b51418842a
Merge pull request #39845 from mrushyendra/bone_painting_undoredo_master
Fix undo/redo for bone painting in Polygon2D UV Editor
2020-07-04 01:43:29 +02:00
Rémi Verschelde
73fddc623b
Merge pull request #39888 from nekomatata/windows-create-window-error
Fix errors when creating windows on Windows
2020-07-04 01:41:43 +02:00
Rémi Verschelde
c020eea184
Merge pull request #40092 from hinlopen/remove-find-last
Remove String::find_last (same as rfind)
2020-07-04 01:38:01 +02:00
Rémi Verschelde
79b0a9ddfc
Merge pull request #40096 from reduz/improve-x11-dnd
Improve the situation of DND on X11
2020-07-04 01:36:56 +02:00
Hugo Locurcio
887099680a
Fix String.capitalize() description to follow camelCase changes
This closes #40093.
2020-07-03 20:36:27 +02:00
Rémi Verschelde
0148a62d89
Merge pull request #40091 from Xrayez/polygon-no-mouse-found
Provide warning when using polygon shapes in `CollisionShape2D` node
2020-07-03 17:37:36 +02:00
Rémi Verschelde
cf97137681
Merge pull request #40089 from slooths/doc-textedit-minimap
Add documentation for minimap_draw and minimap_width
2020-07-03 17:35:22 +02:00
Juan Linietsky
14263d3d0d Improve the situation of DND on X11 2020-07-03 12:09:22 -03:00
Rémi Verschelde
96644d23a0 doc: Sync classref with current source 2020-07-03 16:09:12 +02:00
Rémi Verschelde
49feec7dc0 Update AUTHORS and DONORS list
New contributors added to AUTHORS:
@mrushyendra, @mbrlabs, @MCrafterzz

Thanks to all contributors and donors for making Godot possible!
2020-07-03 16:02:34 +02:00
Rémi Verschelde
54ce2e9820
Merge pull request #40086 from slooths/doc-update-select-methods
Update TextEdit select and select_all method descriptions
2020-07-03 15:36:46 +02:00
Stijn Hinlopen
929b98d24b Remove String::find_last (same as rfind) 2020-07-03 15:26:22 +02:00
Rémi Verschelde
eaf15fd5a2
Merge pull request #40085 from slooths/doc-selecting-enabled
Add documentation for selecting_enabled
2020-07-03 15:23:39 +02:00
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