Commit graph

29935 commits

Author SHA1 Message Date
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
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
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
Rémi Verschelde 2ba96f0dd9
Merge pull request #41428 from madmiraal/fix-python-style
Fix new black style check failures in various files.
2020-08-22 00:53:52 +02:00
Marcel Admiraal 5f092cf7bb Fix new black style check failures in various files. 2020-08-21 16:51:30 +01:00
Rémi Verschelde 8c4f556637
Merge pull request #41425 from Calinou/doc-2d-sprite-animation
Link to 2D Sprite animation tutorial in relevant class documentations
2020-08-21 15:54:15 +02:00
Rémi Verschelde f1230fa671
Merge pull request #41423 from KoBeWi/NEXT.FRAME
Mention that body_set_state is deferred
2020-08-21 15:05:54 +02:00
Hugo Locurcio 6d62e8b917
Link to 2D Sprite animation tutorial in relevant class documentations 2020-08-21 14:26:28 +02:00
Rémi Verschelde bf48b0976e
Merge pull request #41376 from Calinou/improve-editor-property-selector
Improve search and display in the editor property/method selector
2020-08-21 14:11:13 +02:00
Tomasz Chabora 255129a5d9 Mention that body_set_state is deferred 2020-08-21 13:31:33 +02:00
Rémi Verschelde b0ca859501
Merge pull request #41363 from Calinou/test-add-gradient
Add a test suite for Gradient
2020-08-21 02:41:17 +02:00
Rémi Verschelde 6790f111ae
Merge pull request #41387 from skyace65/CollisionShapeDoc
Update CollisionShape2D doc
2020-08-21 02:28:08 +02:00
Rémi Verschelde 289b14e5c3
Merge pull request #41405 from skyace65/Line2D
Clarify points in Line2D doc
2020-08-21 02:14:31 +02:00
skyace65 fe8d998858 Update CollisionShape2D doc 2020-08-20 20:13:51 -04:00
Rémi Verschelde ad376d4422
Merge pull request #41379 from hazarek/patch-1
Fixes GDScript UTI
2020-08-21 02:13:45 +02:00
Rémi Verschelde 0559d1001c
Merge pull request #41410 from neikeq/no-bom-on-csproj-creation
C#: Save newly created csproj files without BOM
2020-08-21 02:02:17 +02:00
skyace65 3c9c541c59 Clarify points in Line2D doc 2020-08-21 02:00:14 +02:00
Rémi Verschelde ebc194c258
Merge pull request #41409 from neikeq/fix-null-in-msbuild-logger
C#: Fix null exception in our MSBuild logger
2020-08-21 01:58:54 +02:00
Rémi Verschelde c1e7df15e6
Merge pull request #41411 from neikeq/fix-rare-wrong-proj-assembly-path
Mono/C#: Fix editor using wrong project assembly path in rare cases
2020-08-21 01:58:42 +02:00
Ignacio Etcheverry b5f6285f34 C#: Save newly created csproj files without BOM 2020-08-21 01:48:56 +02:00
Ignacio Etcheverry 7eed8c5a0c C#: Fix null exception in our MSBuild logger 2020-08-21 01:47:47 +02:00
Ignacio Etcheverry 8bb48ae57a Mono/C#: Fix editor using wrong project assembly path in rare cases
We were removing invalid path characters from the
name in C++ code, but the C# editor code wasn't.
2020-08-21 01:42:47 +02:00
Rémi Verschelde 4f96c65e13
Style: Apply format changes from latest psf/black git 2020-08-21 01:34:56 +02:00
Juan Linietsky 4e52c75a98
Merge pull request #41345 from clayjohn/VULKAN-sky-fog
Add fog to sky shaders
2020-08-20 09:50:52 -03:00
clayjohn 9d341acf2d Add fog to sky shaders 2020-08-19 22:58:14 -07:00
Rémi Verschelde eb9cbdc369
Merge pull request #41381 from vnen/gdscript-2-fixes
A few more GDScript fixes
2020-08-19 22:17:44 +02:00
Hazar 5e5100afca
fix GDScript UTI
changed from public.data to public.script
2020-08-19 21:27:22 +03:00
George Marques a880f590e4
GDScript: Make subscript access be properly type checked 2020-08-19 14:35:26 -03:00
George Marques 846856728b
GDScript: Show error when function return type is missing 2020-08-19 14:09:45 -03:00
Hugo Locurcio 4390a9d628
Improve search and display in the editor property/method selector
- Use postfix notation for types in the method selector
  (for consistency with the editor help).
- Perform a case-insensitive match and replace spaces with underscores
  in the search string.
- Fix extraneous space after the `void` return type.
2020-08-19 18:31:52 +02:00
Juan Linietsky 844251596f
Merge pull request #41373 from godotengine/revert-38727-tiling-wm-issues-tests
Revert "Fixes for windows in X11 tiling WMs"
2020-08-19 12:39:35 -03:00
Juan Linietsky 9c5c1635b2
Revert "Fixes for windows in X11 tiling WMs" 2020-08-19 12:37:59 -03:00
Rémi Verschelde d3bd84d705
Merge pull request #41372 from akien-mga/fix-uint32_t-warning
Fix warning using ERR_FAIL_INDEX on unsigned int
2020-08-19 17:27:32 +02:00
George Marques 15b16ec0ce
GDScript: Fix signal parameters not respecting commas 2020-08-19 11:32:48 -03:00
George Marques cd3f51c67c
GDScript: Check duplicate keys in dictionaries and enums 2020-08-19 11:14:16 -03:00
George Marques f9ad0b30fa
GDScript: Allow preload() to be used with constant expressions 2020-08-19 10:45:00 -03:00
George Marques a52e457ada
GDScript: Allow keywords to be used in $ notation 2020-08-19 10:19:05 -03:00
Rémi Verschelde 989a4deb2f Fix warning using ERR_FAIL_INDEX on unsigned int
This method starting being used in 079ca220e1,
which now triggers this warning from GCC 10:
```
./core/error_macros.h:151:25: error: comparison of unsigned expression in '< 0' is always false [-Werror=type-limits]
```
2020-08-19 14:41:46 +02:00
Rémi Verschelde 5f6368278f
Merge pull request #41080 from naithar/feature/ios-framework-import
[iOS] [4.0] Export: Add a method to embed a framework
2020-08-19 14:10:50 +02:00
Sergey Minakov 1661309d59 iOS Export: Add a method to embed a framework
By default 'add_ios_framework' would not embed a framework to save previous behavior.
New 'add_ios_embedded_framework' would embed framework on export.
2020-08-19 14:35:54 +03:00
Rémi Verschelde 26eb4016a5
Merge pull request #41367 from Calinou/doc-richtextlabel-centering
Document limitations related to centering text with RichTextLabel
2020-08-19 11:39:45 +02:00
Hugo Locurcio 95c2e43095
Document limitations related to centering text with RichTextLabel
This is a relatively common question on various community channels.
2020-08-19 10:42:00 +02:00
Rémi Verschelde f568cede8d
Merge pull request #41362 from neikeq/fix-play-issues-after-ide-play-request
C#: Fix editor unable to play game after IDE PlayRequest
2020-08-19 01:33:59 +02:00
Hugo Locurcio 66de28ada5
Add a test suite for Gradient 2020-08-19 01:33:40 +02:00