Andy Maloney
8b949918b1
Fix spelling of a var, a struct, and message output
2020-07-17 12:02:06 -04:00
PouleyKetchoupp
ccff2f2551
Optimized ScriptEditor initialization when many scripts are loaded
...
This change avoids the editor to freeze for several seconds when a
project with lots of scripts is loaded in the editor.
It focuses on a few heavy operations previously executed on all
previously loaded scripts:
- Initialize script resource (script validation/parsing) only
on focus
- ScriptTextEditor: code editor and edit menu are added to the
scene only on focus
- Add to recent scripts only when opening new scripts
(load/save scene metadata)
2020-07-17 09:02:24 +02:00
Hugo Locurcio
43dae28e9d
Mention `toggled` signal for pressed state in BaseButton documentation
...
This closes #40455 .
2020-07-17 00:01:24 +02:00
Daniel Ting
04ea6ec88d
Evenly distribute stretched Nodes in BoxContainer
...
Add any leftover fractional pixels to an error accumulator. When the
accumulator is greater or equal to one, add one pixel to the current
Node's size and subtract one from the accumulator.
Closes #36522
2020-07-16 12:24:57 -05:00
Paulb23
54bca425b2
Fix crash when closing a TextFile
2020-07-16 15:50:23 +01:00
Hugo Locurcio
60bb80505f
Document an example dictionary returned by `TileSet.tile_get_shapes()`
2020-07-16 09:42:24 +02:00
Hugo Locurcio
bfc644a9aa
Tweak the built-ins color highlighting in the shader editor
...
This makes built-ins easier to distinguish from keywords at a
quick glance.
2020-07-15 23:03:26 +02:00
Rémi Verschelde
9e34ba4855
Merge pull request #40416 from Calinou/doc-file-data-paths
...
Mention the Data paths documentation in the File class
2020-07-15 20:28:04 +02:00
Secret Panda
2580d2da68
Add GitHub Actions badge to README.md
...
P.S: Do we use AppVeyor anymore? There hasn't been a run since two days neither do I see it in any build statuses. If not, we might remove it from `README.md`. Correct me if I'm wrong.
2020-07-15 22:53:55 +05:30
Aman Jain
5ff6f7a86b
Create strings.xml files in the gradle project to handle localization
2020-07-15 13:02:59 -04:00
Hugo Locurcio
8836c7203b
Add an example for creating a button in the Button class documentation
...
This closes https://github.com/godotengine/godot-docs/issues/3798 .
2020-07-15 16:33:44 +02:00
Rémi Verschelde
1ceb3d99a9
Merge pull request #40391 from RevoluPowered/add_macos_and_linux_github_actions
...
added MacOS and Linux to GitHub Actions
2020-07-15 16:17:44 +02:00
Hugo Locurcio
d4085d6bfb
Mention the Data paths documentation in the File class
...
This closes https://github.com/godotengine/godot-docs/issues/3799 .
2020-07-15 16:10:06 +02:00
Rémi Verschelde
f131daf972
Merge pull request #40414 from rcorre/get-mesh-arrays-doc
...
Clarify how to convert PrimitiveMesh to ArrayMesh.
2020-07-15 15:30:27 +02:00
Gordon MacPherson
7bbae98094
added MacOS and Linux to GitHub Actions
2020-07-15 13:42:54 +01:00
Rémi Verschelde
1cc5d35906
Merge pull request #40412 from Calinou/doc-string-c-unescape
...
Document which escape sequences are supported by `String.c_unescape()`
2020-07-15 14:19:50 +02:00
Ryan Roden-Corrent
933bf96523
Clarify how to convert PrimitiveMesh to ArrayMesh.
...
It took me a bit to figure this out, as I was initially doing something
more complicated like this before I realized I just had to pass
get_mesh_arrays directly to add_surface_from_arrays.
```
var arr_mesh = ArrayMesh.new()
var arrays = []
arrays.resize(ArrayMesh.ARRAY_MAX)
arrays[ArrayMesh.ARRAY_VERTEX] = c.get_mesh_arrays()
arr_mesh.add_surface_from_arrays(Mesh.PRIMITIVE_TRIANGLES, arrays)
```
2020-07-15 08:09:27 -04:00
Cevantime
dc46bc8857
add force caret display to line edit
2020-07-15 13:00:25 +02:00
Rémi Verschelde
08dda79a9c
Merge pull request #37961 from Calinou/doc-csharp-dynamic-object-call
...
Mention C# gotchas in Object's dynamic call/set/connect methods
2020-07-15 12:33:41 +02:00
Rémi Verschelde
6497a3fb50
Merge pull request #40291 from hinlopen/dialog-size
...
Resize various dialogs
2020-07-15 12:13:33 +02:00
Rémi Verschelde
0f369ac2c0
Merge pull request #40376 from hinlopen/quick-open-improvements
...
Improve quick open performance and behaviour
2020-07-15 12:12:09 +02:00
Hugo Locurcio
04b25108ac
Document which escape sequences are supported by `String.c_unescape()`
...
See https://github.com/godotengine/godot/issues/38716 .
2020-07-15 11:52:00 +02:00
bruvzg
0181c3dde1
Docs: Ignore OS specific values (constants, project settings, properties).
2020-07-15 12:24:59 +03:00
Hugo Locurcio
a36912b3cb
Document caveats related to Control scaling
...
This is a common topic of confusion. Clarifying its intended scope
should make things easier to understand.
2020-07-15 10:36:29 +02:00
Rémi Verschelde
dad21acebd
Merge pull request #40380 from Calinou/doc-vehiclebody-limitations
...
Document VehicleBody3D and VehicleWheel3D limitations
2020-07-15 09:28:19 +02:00
Rémi Verschelde
c8523038cc
Merge pull request #40268 from DanielZTing/master
...
Fix cancel/OK button order on macOS
2020-07-15 09:21:04 +02:00
Rémi Verschelde
b79aa89796
doc: Sync classref with current source
2020-07-15 08:43:21 +02:00
Rémi Verschelde
9bda8df46c
Merge pull request #40386 from touilleMan/correct-Reference-is_reference-api.json
...
Correct is_reference attribute in api.json for Reference class
2020-07-15 08:29:36 +02:00
Rémi Verschelde
f337dd3e1e
Merge pull request #40383 from touilleMan/correct-RichTextLabel.custom_effects-property-type
...
Correct RichTextLabel.custom_effects property type metadata
2020-07-15 08:28:45 +02:00
Rémi Verschelde
947b61e24e
Merge pull request #40387 from thebestnom/Android-Fix-Display-Server
...
Android: fix display server always alerting no Vulkan support
2020-07-15 08:27:36 +02:00
Rémi Verschelde
039f01575c
Merge pull request #40392 from touilleMan/missing-has_default_value-signals-api_json
...
Add missing has_default_value field for signals in api.json
2020-07-15 08:26:52 +02:00
Yuri Roubinsky
1a5cafebc9
Merge pull request #40389 from Chaosus/fix_shader
...
Fix some incorrect conversions which lead to crash in shaders
2020-07-15 08:49:59 +03:00
Emmanuel Leblond
37de4982ca
Add missing has_default_value field for signals in api.json
2020-07-14 23:12:44 +02:00
Yuri Roubinsky
01950553f2
Fix some incorrect conversions which lead to crash in shaders
2020-07-14 21:04:12 +03:00
Rémi Verschelde
3ed5ff244f
Merge pull request #40298 from Calinou/optimize-ios-splash
...
Optimize the default iOS splash images
2020-07-14 19:39:28 +02:00
Rémi Verschelde
9d97169928
Merge pull request #40377 from reduz/fix-default-kb3d-safe-margin
...
Properly pass safe margin on initialization.
2020-07-14 19:36:51 +02:00
thebestnom
4dc94e93bb
Android: fix display server always alerting no Vulkan support
2020-07-14 19:37:36 +03:00
Emmanuel Leblond
b5c80088ce
Correct is_reference attribute in api.json for Reference class
2020-07-14 18:20:20 +02:00
Rémi Verschelde
28d83ecf5a
Merge pull request #40379 from bruvzg/macos_11_window_size
...
[macOS] Fix window size on macOS Big Sur, use top-left corner as resize origin.
2020-07-14 17:47:44 +02:00
Emmanuel Leblond
1f02ff8a76
Correct RichTextLabel.custom_effects property type metadata
2020-07-14 17:33:50 +02:00
Hugo Locurcio
878f03d8e3
Mention C# gotchas in Object's dynamic call/set/connect methods
...
This closes #34015 .
2020-07-14 17:07:10 +02:00
Rémi Verschelde
e387278b3b
Merge pull request #40315 from Calinou/project-manager-disable-file-logging
...
Disable file logging for the project manager
2020-07-14 16:33:28 +02:00
Rémi Verschelde
46dcd4ebea
Merge pull request #40375 from Paulb23/fix_visual_shader_clearing_color_regions
...
Fixed visual shader editor not clearing colour regions
2020-07-14 16:31:36 +02:00
Rémi Verschelde
9bdcfc4e87
Merge pull request #40374 from Faless/udp/server_abstraction
...
UDPServer uses single socket, abstract clients.
2020-07-14 16:31:19 +02:00
Rémi Verschelde
0692deee23
Merge pull request #40372 from akien-mga/close-those-po-or-files
...
PO loader: Fix unclosed files and error messages
2020-07-14 16:31:00 +02:00
Rémi Verschelde
003bab643e
Merge pull request #40371 from rcorre/warning-fix
...
Show gdscript warning in LSP without duplication.
2020-07-14 16:30:46 +02:00
Rémi Verschelde
975262620a
Merge pull request #40367 from akien-mga/scons-disable-werror
...
SCons: Do not enable werror=yes by default
2020-07-14 16:30:28 +02:00
Hugo Locurcio
0493e7c106
Document VehicleBody3D and VehicleWheel3D limitations
...
These classes have dozens of open bugs and missing features
which may not be fixed anytime soon.
It's probably better to document it upfront at this point.
2020-07-14 16:16:08 +02:00
Juan Linietsky
13e0385702
Properly pass safe margin on initialization.
...
Fixes jitter.
2020-07-14 10:19:58 -03:00
Stijn Hinlopen
526e060b73
Resize dialogs (FileDialog, EditorFileDialog, Reparent, SceneTreeDialog and resource depency dialogs).
2020-07-14 14:35:22 +02:00