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
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
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
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
Ignacio Etcheverry
6e7da72648
C#: Fix editor unable to play game after IDE PlayRequest
...
The editor wasn't clearing the debugger agent
settings properly after a processing a play
request from an IDE. This caused consequent play
attempts to fail if not launched from the IDE,
as the game would still attempt and fail to
connect to the debugger.
The concrete cause: Forgetting to clear the
`GODOT_MONO_DEBUGGER_AGENT` environment variable.
2020-08-19 00:14:57 +02:00
Rémi Verschelde
9218f0f1b0
Merge pull request #41352 from Calinou/bmp-loader-error-explanations
...
Add more error explanations in the BMP image loader
2020-08-18 23:22:43 +02:00
Rémi Verschelde
e2fb55471c
Merge pull request #41359 from vnen/gdscript-2-fixes
...
Assorted fixes for GDScript bugs
2020-08-18 23:18:40 +02:00
George Marques
35176247af
GDScript: Allow enum values to be set to constant expressions
...
Also allow them to access previous values wihout referencing the enum.
2020-08-18 17:44:20 -03:00
George Marques
99d4ea8c79
GDScript: Allow supertype objects to be assigned to a subtype variable
...
It allows `get_node()` to be used with typed variables
This is marked as unsafe to warn the user.
2020-08-18 15:12:51 -03:00
Hugo Locurcio
40485e2479
Add more error explanations in the BMP image loader
...
This closes #32166 and closes #30629 .
2020-08-18 19:41:40 +02:00
Rémi Verschelde
65730ab9f6
Merge pull request #41247 from EricEzaM/project-settings-fix-bugs-and-add-delete-confirmation
...
Fixed issues with adding custom project settings and added confirmation dialog when deleting settings.
2020-08-18 18:24:20 +02:00
George Marques
8bc9b3a2ae
GDScript: Allow implicit type conversion when constructing variants
...
Incidentally fix error message when no valid constructor is found which
was missing an end parenthesis.
2020-08-18 13:12:18 -03:00
George Marques
8088e9e6ac
GDScript: Add script to cache on reload
...
This ensures that scripts created without a resource loader are properly
included in the cache (such as builtin scripts) and are not tried to be
loaded from the disk.
2020-08-18 11:21:09 -03:00
George Marques
0f9923e67f
GDScript: Allow empty files to be valid scripts
2020-08-17 21:32:49 -03:00
George Marques
3abb3c0d6e
GDScript: Fix crash when superclass file is non-existent
...
Incidentally, allow EOF to be an end of statement.
2020-08-17 21:30:39 -03:00
George Marques
fda6f3b600
GDScript: Fix LSP getting wrong union value on unnamed enums
2020-08-17 21:10:30 -03:00
George Marques
d06ce2f11e
GDScript: Fix editor crash when writing @tool annotation
2020-08-17 21:02:49 -03:00
George Marques
f374021d52
GDSript: Prevent crash when completing unary operators
2020-08-17 20:49:04 -03:00
Rémi Verschelde
f97280a012
Merge pull request #41330 from Calinou/doc-animatedtexture-atlas
...
Make the lack of AtlasTexture support in AnimatedTexture more prominent
2020-08-18 01:16:33 +02:00
George Marques
9ecd042e78
GDScript: Allow "match" to be used as an identifier
...
This is needed to call the String.match() function.
2020-08-17 20:14:46 -03:00
Eric M
8f54e8bfb5
Fixed issues with adding custom project settings and added confirmation dialog when deleting settings.
2020-08-18 09:12:02 +10:00
George Marques
d45e1befe3
GDScript: Fix wrong argument check for formatting operator
2020-08-17 19:49:54 -03:00
Hugo Locurcio
a7ad7ce3bd
Make the lack of AtlasTexture support in AnimatedTexture more prominent
...
See https://github.com/godotengine/godot/issues/33855 .
2020-08-17 17:34:40 +02:00
Rémi Verschelde
ba1109a3b3
Merge pull request #41280 from Calinou/editor-3d-add-invert-x-option
...
Add an editor setting to invert 3D pan/orbit on the X axis
2020-08-17 15:54:40 +02:00
Rémi Verschelde
261f2c1e03
Merge pull request #41326 from bruvzg/win_tablet_modifiers4
...
[Windows] Fix modifier keys when using tablet input.
2020-08-17 14:37:55 +02:00
bruvzg
ee76775792
[Windows] Fix modifier keys when using tablet input.
2020-08-17 14:43:16 +03:00
Rémi Verschelde
a17fba3f21
Merge pull request #41302 from Jlalond/divide-by-zero
...
Update ResourceLoaderText::load to not update progress if resources a…
2020-08-16 22:37:27 +02:00
jjjlalonde@gmail.com
94b09da9a1
Update ResourceLoaderText::load to not update progress if resources are 0
...
Include check in other progress update statement
Update additional progress update statement
2020-08-16 13:12:21 -07:00
Rémi Verschelde
75e2a405d0
Merge pull request #40980 from Xrayez/port-classdb-tests
...
Port ClassDB tests to use doctest
2020-08-16 22:06:29 +02:00
Andrii Doroshenko (Xrayez)
6f426c3360
Port ClassDB tests to use doctest
...
Extracted the most minimal core initialization functionality from
`setup()` and `setup2()` so that `ClassDB` could be tested properly
(input, audio, rendering, physics etc, are excluded).
Display and rendering servers/singletons are not initialized at all.
Due to the fact that most subsystems are disabled, fixed various crashes in the
process (in order):
- `AcceptDialog` OK/cancel swap behavior (used `DisplayServer` while
`register_scene_types()`);
- `make_default_theme` which depends on `RenderingServer`;
- `XRServer` singleton access while calling `register_modules_types()`;
- hidden bug in a way joypads are cleaned up (MacOS and Linux only).
Removed manual `ClassDB` init/cleanup calls from `test_validate_testing.h`.
ClassDB tests:
Co-authored-by: Ignacio Etcheverry <ignalfonsore@gmail.com>
2020-08-16 16:41:02 +03:00