Yasha Borevich
f17983e9cf
Fix memory leak in GDScript during infinnity loops with yields
...
(cherry picked from commit 30317296af
)
2019-07-03 12:42:41 +02:00
George Marques
a5a9d887da
Fix positive operator in GDScript compiler
...
(cherry picked from commit 3cec24baa8
)
2019-07-03 12:33:25 +02:00
Rémi Verschelde
0eab0d9343
Update copyright statements to 2019
...
Happy new year to the wonderful Godot community!
2019-01-03 11:41:35 +01:00
Hein-Pieter van Braam
16ab5e091d
3.0.7-devel
...
Onwards my precious!
2018-07-31 20:13:10 +02:00
Rémi Verschelde
c709dff1a2
Style: Format code with clang-format 6.0.1
...
(cherry picked from commit 7c9f7452f4
)
Travis: Update style checks to clang-format 6.0.1
(cherry picked from commit 003ac67df1
)
2018-07-18 16:37:23 +02:00
Hein-Pieter van Braam
b5338b640f
Bump to 3.0.6-devel
2018-07-09 14:32:35 +02:00
Hein-Pieter van Braam
4bf441c32b
Bump to 3.0.5
...
And onwards!
2018-06-23 17:05:45 +02:00
Hein-Pieter van Braam
98609279b6
Bump version to 3.0.4
...
And onwards!
2018-06-14 15:37:51 +00:00
Hugo Locurcio
403f7dc35f
Change ".." punctuation for "..." in editor strings ( #16507 )
...
(cherry picked from commit 1c419531a0
)
2018-06-05 21:42:33 +02:00
Hein-Pieter van Braam
d24f77be99
Fix documentation version strings
2018-06-01 18:19:33 +02:00
Anish
9a0a40042e
Adds keywords to autocomplete predictions.
...
Adds keywords to the autocomplete prediction in GDScript so
they are not replaced by irrelevant predictions.
Fixes : #5972
(cherry picked from commit 6e32157a65
)
2018-05-13 22:35:19 +02:00
Brian Richardson
ae32bcf4c3
Fix a crash when trying to run Godot debugger on a release build.
...
The GDScriptLanguage::enter_function is wrapped in #ifdef DEBUG but the exit_function is not, resulting in a stack underflow error.
(cherry picked from commit 9149b11973
)
2018-05-13 22:14:44 +02:00
Peter Folkins
31c4b743cb
Fix enums without class name not opening docs page
...
(cherry picked from commit ccd986f53e
)
2018-05-13 22:04:37 +02:00
Poommetee Ketson
a3ba1b0280
Fix script template on `_ready` behavior
...
(cherry picked from commit 01ec06d9ae
)
2018-04-15 01:18:49 +02:00
Lars Kokemohr
30b5265417
completed-signal is emitted by all GDScriptFunctionStates of a coroutine now, allowing to yield for completion of a function with more than one yield inside.
...
(cherry picked from commit 3dfef37628
)
2018-04-14 20:42:44 +02:00
Rado'sPC\aRaGaR
ef44ed93a7
For-in loop variable added to autocompletion
...
Fix for #16494
(cherry picked from commit f97ebdcab3
)
2018-04-14 19:19:47 +02:00
Hein-Pieter van Braam
a850ebf352
Revert "fix spurious error messages during autocomplete and validate"
...
This reverts commit b7faa76485
.
This causes a regression in 3.0.1. We haven't found a proper fix yet so
we're removing this from 3.0.2
2018-02-27 17:52:18 +01:00
Rémi Verschelde
42e82b9377
doc: Update version string for 3.0.2
2018-02-27 13:57:10 +01:00
Hein-Pieter van Braam
5f15642fde
Update doc version strings to 3.0.1
2018-02-24 18:59:38 +01:00
anakimluke
370f84f41c
Removed whitespaces around arguments of functions.
...
Functions automatically generated by conneting
signals via GUI put whitespaces around the
arguments of the generated function. This is
inconsistent with the style guide.
This commit fixes that.
2018-02-22 19:41:37 -03:00
luz.paz
751806b5c7
Fix typos with codespell
...
Found via `codespell -q 3 --skip="./thirdparty,./editor/translations" -I ../godot-word-whitelist.txt`
Whitelist consists of:
```
ang
doubleclick
lod
nd
que
te
unselect
```
(cherry picked from commit 612ab4bbc6
)
2018-02-22 12:17:06 +01:00
x1212
b7faa76485
fix spurious error messages during autocomplete and validate
...
_parse() caused resets on members like validating and
for_completion by calling clear().
(cherry picked from commit 48c9ed4545
)
2018-02-19 22:46:49 +01:00
George Marques
d7f73031fb
Show default values in docs for GDScript built-in functions
...
(cherry picked from commit dca2ae78dd
)
2018-02-19 22:13:44 +01:00
Rémi Verschelde
f2e3825616
doc: Fix references to online tutorials after godotengine/godot-docs#1015
2018-01-25 09:03:59 +01:00
Rémi Verschelde
d516aab8fa
doc: Sync with current source
...
Also enhance RigidBody docs as per https://github.com/godotengine/godot-docs/pull/1018
and fix the version tag in all files (not really stable yet, but it makes no sense
to hardcode rc3 at this stage).
2018-01-25 08:50:56 +01:00
Bernhard Liebl
ec98e0b715
GDScript: always call ResourceLoader::load() in non-completion mode
2018-01-21 09:32:52 +01:00
Juan Linietsky
c58891ff4c
Allow shadowing class members with local variables in GDScript, closes #15896
2018-01-20 17:45:19 -03:00
Rémi Verschelde
0359fed313
Merge pull request #15849 from poke1024/preload-completion
...
GDScript: fix autocompletion for preload() (issue 15766)
2018-01-18 23:21:41 +01:00
Bernhard Liebl
67ae443c56
Suppress errors on autocompletion for preload()
2018-01-18 22:29:45 +01:00
Rémi Verschelde
9f479f096c
Fix typos in code and docs with codespell
...
Using v1.11.0 from https://github.com/lucasdemarchi/codespell
2018-01-18 22:01:42 +01:00
Bernhard Liebl
ae4cd5b6da
GDScript: fix autocompletion for preload() (issue 15766)
2018-01-18 19:37:21 +01:00
Rémi Verschelde
6c46787749
doc: Replace some more "val" with "value" + sync
2018-01-17 10:43:23 +01:00
Chaosus
0c9312c6b8
Fixes for parameter names of builtin functions in visual scripts/core
2018-01-16 19:49:45 +03:00
Juan Linietsky
03475ba197
Filled tutorial field in most relevent classes.
...
Added tutorial display in doc.
2018-01-15 18:41:13 -03:00
Rémi Verschelde
e28cdc4654
doc: Update version string in XML
2018-01-13 11:43:42 +01:00
Bojidar Marinov
9b8e8b2220
Bind many more properties to scripts
...
Notable potentially breaking changes:
- PROPERTY_USAGE_NOEDITOR is now PROPERTY_USAGE_STORAGE | PROPERTY_USAGE_NETWORK, without PROPERTY_USAGE_INTERNAL
- Some properties were renamed, and sometimes even shadowed by new ones
- New getter methods (some virtual) were added
2018-01-12 00:58:14 +02:00
Ignacio Etcheverry
5be356b72f
Mono: Implement stack info for errors and exceptions
2018-01-09 17:19:03 +01:00
Rémi Verschelde
e4213e66b2
Add missing copyright headers and fix formatting
...
Using `misc/scripts/fix_headers.py` on all Godot files.
Some missing header guards were added, and the header inclusion order
was fixed in the Bullet module.
2018-01-05 01:22:23 +01:00
Rémi Verschelde
3db1c6a6f5
Merge pull request #15089 from poke1024/funcref-warn
...
Warn about funcref creation
2018-01-03 11:03:03 +01:00
Rémi Verschelde
b50a9114b1
Update copyright statements to 2018
...
Happy new year to the wonderful Godot community!
2018-01-01 14:40:47 +01:00
Bernhard Liebl
29f7f48c42
Warn about funcref creation
2017-12-26 23:16:41 +01:00
Rémi Verschelde
8f25a2dc11
Cleanup some #if 0'd code
2017-12-17 15:40:24 +01:00
Rémi Verschelde
1b9c8daf7b
Merge pull request #12845 from remorse107/Array-Dictionary-Fix
...
Fix issue #11400 . Fixes issue with arrays and dictionary acting as static objects between different instances of objects.
2017-12-16 15:49:07 +01:00
Juan Linietsky
93a63a5e1a
GDScript files are converted to binary on export now.
2017-12-14 15:34:47 -03:00
Andreas Haas
0e624234da
Scons: Build modules in seperate env.
2017-12-13 15:46:35 +01:00
Bojidar Marinov
2c190b975e
Properly support nested ternary expressions
...
Fixes 14324.
2017-12-11 15:36:32 +02:00
Rémi Verschelde
a845411454
Style: Re-apply clang-format over recent invalid additions
2017-12-10 01:27:02 +01:00
George Marques
3d8dd7b327
Make GDScript parser raise error when exporting Object
2017-12-09 15:35:02 -02:00
Juan Linietsky
dcab01618a
Fixed is_playing funtion (was reporting wrong), closes #13928
...
Made error reporting to opcode_set in gdscript a bit clearer
2017-12-07 18:14:39 -03:00
Rémi Verschelde
13c2ff9320
Style: Apply new clang-format 5.0 style to all files
2017-12-07 08:02:00 +01:00