George Marques
dadfcd8aba
Added support for enums to be used as types in GDScript
2020-07-20 11:38:40 -03:00
George Marques
95c0909290
Add warning checks in GDScript analyzer
...
Reenable checking those when validating code.
2020-07-20 11:38:40 -03:00
George Marques
9a76ab8b6a
Add new GDScript type checker
2020-07-20 11:38:40 -03:00
George Marques
17cd6347ba
Add better local variable detection in GDScript parser
...
Also store Variant operator to avoid needing to do it repeatedly in
later compiling stages.
2020-07-20 11:38:39 -03:00
George Marques
7adb0d77cc
Add GDScript cache singleton
2020-07-20 11:38:39 -03:00
George Marques
886732ac2b
Add support for properties
2020-07-20 11:38:39 -03:00
George Marques
34c28eb2b8
Fix comments in beginning of file
...
Also improve error for unknown characters.
2020-07-20 11:38:39 -03:00
George Marques
5d6e853806
New GDScript tokenizer and parser
...
Sometimes to fix something you have to break it first.
This get GDScript mostly working with the new tokenizer and parser but
a lot of things isn't working yet. It compiles and it's usable, and that
should be enough for now.
Don't worry: other huge commits will come after this.
2020-07-20 11:38:39 -03:00
Rémi Verschelde
818bfbc5b5
Merge pull request #40161 from vnen/classdb-info-methods
...
Add methods in ClassDB to get property/method/constant/enum info
2020-07-20 16:29:33 +02:00
Rémi Verschelde
0e1c235d95
Merge pull request #40468 from asmaloney/spelling-code
...
Fix spelling of a var, a struct, and some message output
2020-07-20 15:51:05 +02:00
Rémi Verschelde
0d4838950d
Merge pull request #40542 from Calinou/doc-httpclient-cors
...
Document HTML5 CORS restrictions in HTTPClient and HTTPRequest
2020-07-20 15:27:18 +02:00
Hugo Locurcio
90db42d9db
Document HTML5 CORS restrictions in HTTPClient and HTTPRequest
...
See https://github.com/godotengine/godot/issues/40247 .
2020-07-20 15:15:55 +02:00
Rémi Verschelde
d520755bbc
Merge pull request #40424 from SecretPanda420/patch-1
...
Add GitHub Actions badge to README.md
2020-07-20 14:58:49 +02:00
Rémi Verschelde
5697a9a9d0
Merge pull request #40489 from madmiraal/fix-40381
...
Use difference in position to check whether motion in Bullet is too close to zero.
2020-07-20 14:53:00 +02:00
Rémi Verschelde
0edb49ad16
Merge pull request #40500 from KoBeWi/inspector_magic
...
Convert some resource types in the inspector
2020-07-20 14:50:06 +02:00
Rémi Verschelde
639252d0f8
Merge pull request #40409 from Calinou/doc-control-rect-scale
...
Document caveats related to Control scaling
2020-07-20 13:56:50 +02:00
Rémi Verschelde
fe1ec3beab
Merge pull request #40521 from Xrayez/doc-cmdline-parsing
...
Document the process of parsing command-line arguments
2020-07-20 13:55:30 +02:00
Rémi Verschelde
84fe3d7df5
Merge pull request #40528 from nathanfranke/fix-directory-make-dir
...
Fix Directory make_dir and make_dir_recursive
2020-07-20 13:53:51 +02:00
Rémi Verschelde
474333e9a0
Merge pull request #40524 from KoBeWi/loop_destroyer
...
Prevent infinite loop in Tree incremental search
2020-07-20 13:51:07 +02:00
Rémi Verschelde
b62db93ba4
Merge pull request #40520 from KoBeWi/selection_fail
...
Prevent multiple Controls moving inside container
2020-07-20 13:49:47 +02:00
Nathan Franke
210ccb3a75
Fix Directory make_dir and make_dir_recursive
2020-07-20 06:38:10 -05:00
Tomasz Chabora
fb8b399ddf
Convert some resource types in the inspector
2020-07-20 13:22:22 +02:00
Tomasz Chabora
e44c9101da
Prevent multiple Controls moving inside container
2020-07-20 13:22:13 +02:00
Tomasz Chabora
c0479496fa
Prevent infinite loop in Tree incremental search
2020-07-20 13:22:00 +02:00
Rémi Verschelde
d14932aeca
Merge pull request #40536 from akien-mga/stb_vorbis-1.20
...
stb_vorbis: Update to upstream version 1.20
2020-07-20 11:59:50 +02:00
Rémi Verschelde
8dffca4196
stb_vorbis: Update to upstream version 1.20
...
Upstreams our crash fixes from #38422 and #40174 .
2020-07-20 11:18:26 +02:00
Rémi Verschelde
115ad47a0c
Merge pull request #40535 from akien-mga/ci-drop-appveyor-travis-desktop
...
CI: Drop AppVeyor and desktop Travis builds
2020-07-20 11:17:36 +02:00
Andrii Doroshenko (Xrayez)
df80e259cd
Document the process of parsing command-line arguments
...
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2020-07-20 12:09:46 +03:00
Rémi Verschelde
431930bd09
CI: Drop AppVeyor and desktop Travis builds
...
These have been replaced by GitHub Actions.
The remaining Travis builds will also be ported eventually.
2020-07-20 10:35:53 +02:00
Rémi Verschelde
862c877f43
Merge pull request #40510 from RevoluPowered/fix-github-linux-builds
...
fix github actions source repository down for linux [urgent]
2020-07-20 10:30:13 +02:00
RevoluPowered
d560f654ff
fix CI builds on linux by using ubuntu default apt repositories
2020-07-20 09:51:12 +02:00
Marcel Admiraal
ec92a26d08
Use difference in position to check whether motion in Bullet is too close
...
to zero.
2020-07-18 13:15:10 +01:00
Andy Maloney
8b949918b1
Fix spelling of a var, a struct, and message output
2020-07-17 12:02:06 -04: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
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
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
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