Hugo Locurcio
4f9509e6ba
Merge pull request #52085 from williamd67/fix-await-without-argument
...
Print error message when await is not followed by signal or coroutine
2021-08-28 23:01:34 +02:00
Max Hilbrunner
5d2c4faa89
Merge pull request #52164 from mhilbrunner/gd-style-fixup
...
GDScript test style fix
2021-08-28 20:16:17 +02:00
William Deurwaarder
e77338978f
Print error message when await is not followed by signal or coroutine
...
When await was not followed by a signal or coroutine the GDScript parser would
crash.
This fix will check if await is followed by a signal or coroutine in case that
isn't true (element == nullptr) then an error message is printed.
2021-08-28 17:29:35 +02:00
Bastiaan Olij
b9c64df69b
Fix double named size parameter
2021-08-28 13:30:43 +10:00
K. S. Ernest (iFire) Lee
d04aa9a114
Merge pull request #52122 from V-Sekai/autoload_list
...
Use sorted map for autoloads in ProjectSettings to preserve order.
2021-08-27 14:41:40 -07:00
Max Hilbrunner
f126634434
GDScript test style fix
2021-08-27 21:11:46 +02:00
Max Hilbrunner
4e67e9bca6
Merge pull request #52090 from balloonpopper/bug52060
...
Correct null and boolean values being capitalised by the str command
2021-08-27 21:05:47 +02:00
Juan Linietsky
54caaa21ce
Merge pull request #51296 from ellenhp/mix_in_audio_server
...
Move mixing out of the AudioStreamPlayback* nodes
2021-08-27 15:38:20 -03:00
Hugo Locurcio
33773a24dc
Merge pull request #52105 from ldmnt/master
2021-08-27 19:28:59 +02:00
Ellen Poe
53843ba872
Require AudioStream::mix to return the number of frames successfully mixed
2021-08-27 10:27:58 -07:00
bruvzg
4c3f7d1290
Makes FontData importable resource.
...
Adds multi-channel SDF font texture generation and rendering support.
Adds per-font oversampling support.
Adds FontData import plugins (for dynamic fonts, BMFonts and monospaced image fonts), font texture cache pre-generation and loading.
Adds BMFont binary format and outline support.
2021-08-27 15:43:18 +03:00
Lyuma
31f790299c
Use OrderedHashMap for autoloads to preserve order
2021-08-26 21:55:26 -07:00
Bastiaan Olij
c5f62fad90
Merge pull request #52003 from BastiaanOlij/xr_interface_extension
...
Adding GDExtension support to XRInterface
2021-08-27 11:51:43 +10:00
Juan Linietsky
d19b12dbd2
Merge pull request #52107 from timothyqiu/overriden
...
Fix misspelled "overriden"
2021-08-26 13:07:52 -03:00
Bastiaan Olij
86ff7f8550
Adding GDExtension support to XRInterface
2021-08-26 23:24:44 +10:00
Balloonpopper
4fae7ae9dc
Correct null and boolean values being capitalised by the str command
2021-08-26 17:11:34 +10:00
Gilles Roudière
ae3a422427
Merge pull request #52102 from Calinou/gdscript-tests-add-readme
...
Add a README to link to the GDScript integration tests documentation
2021-08-25 20:37:09 +02:00
Haoyu Qiu
eba7265a1c
Fix misspelled "overriden"
...
In recent GDVIRTUAL PR and SkeletonModification3DJiggle doc.
2021-08-26 01:44:01 +08:00
Louis Dumont
79578a5625
Fixed crash when parsing an empty assignment.
...
Resolves #51620 .
2021-08-25 18:48:08 +02:00
Max Hilbrunner
ee4a8e6a85
Merge pull request #52087 from raulsntos/expose-simplify-path
...
Expose `String.SimplifyPath` in C#
2021-08-25 18:37:08 +02:00
Max Hilbrunner
4308800fba
Merge pull request #52086 from raulsntos/rename-string-is-abs-path-method
...
Rename `String.IsAbsPath()` to `String.IsAbsolutePath()`
2021-08-25 18:36:20 +02:00
Hugo Locurcio
9c2ec6e697
Add a README to link to the GDScript integration tests documentation
...
This makes the documentation about creating and running GDScript
integration tests more discoverable.
2021-08-25 16:51:28 +02:00
Raul Santos
126b1ea149
Expose String.SimplifyPath
in C#
2021-08-25 16:51:14 +02:00
Max Hilbrunner
4bb65b2bc6
Merge pull request #52023 from mhilbrunner/vs-fix-reloaded
...
Fix VisualScriptEditor after namespaces
2021-08-25 14:41:28 +02:00
Raul Santos
4e6e6bcd2f
Rename String.IsAbsPath()
to String.IsAbsolutePath()
2021-08-25 03:02:55 +02:00
Max Hilbrunner
c314203a70
Fix Visual Script editor
2021-08-24 19:33:40 +02:00
Ignacio Roldán Etcheverry
e95fa21b45
Merge pull request #47295 from omegachysis/script-bind-mutex
...
Fix race condition on `script_binding` in C#
2021-08-24 06:09:43 +02:00
Hugo Locurcio
fc67e2e16d
Document ENetConnection compression must match between client and server
2021-08-23 17:08:41 +02:00
Max Hilbrunner
583b6a594a
Merge pull request #51971 from aaronfranke/https
...
Replace HTTP URLs with HTTPS for sites with HTTPS versions
2021-08-23 15:58:54 +02:00
Michael Alexsander
88db541705
Merge pull request #51947 from AnilBK/redundant-assignments
...
[cppcheck] Remove some redundant assignments.
2021-08-23 13:23:45 +00:00
reduz
5cecdfa8af
Entirely removes BIND_VMETHOD in favor of GDVIRTUAL
...
* `_gui_input`, `_input`, `_unhandled_input` and `_unhandled_key_input` are now regular C++ virutal functions.
* Everything else converted to GDVIRTUAL
* BIND_VMETHOD is gone, always use the new syntax from now on.
Creating `_gui_input` method and using the binder to register events will no longer work, simply override the virtual function now.
2021-08-23 08:10:13 -03:00
Aaron Franke
ae1702bee5
Replace HTTP links with HTTPS for sites with HTTPS versions
2021-08-22 20:13:11 -05:00
reduz
3682978aee
Replace BIND_VMETHOD by new GDVIRTUAL syntax
...
* New syntax is type safe.
* New syntax allows for type safe virtuals in native extensions.
* New syntax permits extremely fast calling.
Note: Everything was replaced where possible except for `_gui_input` `_input` and `_unhandled_input`.
These will require API rework on a separate PR as they work different than the rest of the functions.
Added a new method flag METHOD_FLAG_OBJECT_CORE, used internally. Allows to not dump the core virtuals like `_notification` to the json API, since each language will implement those as it is best fits.
2021-08-22 08:23:58 -03:00
Aaron Franke
ba96f31fad
Merge pull request #51919 from raulsntos/csharp-renames
...
Rename C# string extensions to follow GDScript
2021-08-21 16:55:37 -05:00
Anilforextra
c86db8b710
Remove redundant assignments.
...
Use used_in_transfer instead of used_in_compute twice.
2021-08-21 19:20:07 +05:45
Rémi Verschelde
f5422c55fc
Merge pull request #49105 from vnen/gdscript-inner-preload-type
...
GDScript: Fix inner classes and preloaded scripts as types
2021-08-20 17:07:18 +02:00
George Marques
2e84a46a0f
GDScript: Make singleton functions be seen as static
...
Since those can be called without an instance.
2021-08-20 10:52:58 -03:00
Raul Santos
f6a700e264
Rename C# string extensions to follow GDScript
...
Follow up to d9d77291bc
.
Renames `String.Extension` -> `String.GetExtension()` and
`String.BaseName()` -> `String.GetBaseName()`.
This makes those methods more consistent with GDScript and with
the `GetBaseDir` method.
2021-08-20 13:52:57 +02:00
Rémi Verschelde
75697c0dfd
Merge pull request #51916 from mhilbrunner/vs-fix
...
Fix VisualScriptEditor after namespaces
2021-08-20 13:32:39 +02:00
Max Hilbrunner
2c98eede23
Fix VisualScriptEditor after namespaces
2021-08-20 13:11:29 +02:00
Ignacio Roldán Etcheverry
d2c3a86844
C#: Fix bindings generator for Callable argument default value
...
Previously there weren't any Callable arguments with a default value,
but d4dd859991
introduced one.
2021-08-20 11:18:04 +02:00
Rémi Verschelde
603502c11c
Merge pull request #51902 from vnen/variant-internal-constructor
...
Fix initialization of objects in VariantInternal
2021-08-20 08:10:38 +02:00
George Marques
a685535ad5
Fix initialization of objects in VariantInternal
2021-08-19 20:19:47 -03:00
George Marques
89695da337
GDScript: Fix memory leak when using self class as type
2021-08-18 18:58:45 -03:00
George Marques
1c8b076502
GDScript: Fix calling builtin static functions
2021-08-18 18:58:41 -03:00
George Marques
47545aeb1a
GDScript: Fix issue when calling new()
on its own
2021-08-18 18:56:21 -03:00
George Marques
2ba4ee9198
GDScript: Fix inner classes and preloaded scripts as types
2021-08-18 18:56:21 -03:00
Rémi Verschelde
c0bdea6a67
Merge pull request #51859 from nekomatata/bullet-body-motion-fixes
...
Fixes in Bullet body_test_motion
2021-08-18 22:46:10 +02:00
PouleyKetchoupp
45bc97b8b8
Fixes in Bullet body_test_motion
...
Synchronize fixes from the 3.x branch to keep Bullet code in sync for
later, even if it's disabled for now.
2021-08-18 13:18:19 -07:00
Max Hilbrunner
5161c97c9c
Remove underscore hacks
...
Way less cruft. :)
Co-authored-by: Ignacio Roldán Etcheverry <neikeq@users.noreply.github.com>
2021-08-17 16:10:28 +02:00