Commit Graph

6129 Commits

Author SHA1 Message Date
ducdetronquito 9060a18639 Improved GDScript parse_json() doc about numerical values conversion.
(cherry picked from commit 76e6b2d33b)
2017-07-14 22:05:51 +02:00
BastiaanOlij 88236c7418 Fix typo in plist export
(cherry picked from commit e735963182)
2017-07-14 22:04:09 +02:00
anakimluke 23b19a4349 Removed outdated comment.
closes #78

(cherry picked from commit c1699d807f)
2017-07-14 22:03:21 +02:00
Rémi Verschelde 1c638e2976 Add project names as Comment fields in copyright file
This is compliant with the specification [0] and should allow us
to generate human-readable output from the machine-readable file.

[0] https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/#files-paragraph

(cherry picked from commit d84ed525a9)
2017-07-14 22:03:21 +02:00
TwistedTwigleg 1fa70cf9b6 Fixed set_global_scale in Node2D.
(cherry picked from commit a6feb0943a)
2017-07-14 21:58:54 +02:00
Andreas Haas 3d95424147 Animation Editor: Fix trying to stop playback without player.
Fixes #9280

(cherry picked from commit bb9daaccff)
2017-07-14 21:55:02 +02:00
Andreas Haas 34c8beb91c Script create diag: Show extensions for currently selected language only.
(cherry picked from commit 8e8e4b30e5)
2017-07-14 21:53:53 +02:00
Rémi Verschelde c7b7cb24a5 Change default color of script editor text selection
Supersedes and closes #9388.

(cherry picked from commit 6fd4311c27)
2017-07-14 21:51:32 +02:00
Rémi Verschelde b53fafeb1d gitignore: Remove pre-.gen filenames
@Noshyaar was right to remove them in the first place,
we need users with local clones to clean them up to prevent
older .cpp files from being including by globbing.

(cherry picked from commit 36548a3fa5)
2017-07-14 21:45:15 +02:00
dotquixote fc47f8cd5d ConeTwistJoint: Initialize 'm_angularOnly'.
(cherry picked from commit 23f10c31de)
2017-07-14 21:44:56 +02:00
George Marques 55a3e078fa
WinRT: Fix problem with Cert Kit validation 2017-07-12 01:33:42 -03:00
Rémi Verschelde 57dc285051 Merge pull request #8979 from GodotExplorer/pr-enhanced-debugger
[2.1] Enhanced debugger
2017-07-11 22:10:49 +02:00
Rémi Verschelde 0dcbc375a3 Merge pull request #9551 from timoschwarzer/2.1-scons-human-friendly-output
[2.1] Add options for more human-friendly build output
2017-07-11 22:10:04 +02:00
Rémi Verschelde 17ae2ce008 Merge pull request #9603 from Corruptinator/2.1
OUYA Game Controller GUID for input_default.cpp
2017-07-11 16:45:32 +02:00
Henrique Campos 9bebc22dd9 Fix MarginContainer description 2017-07-11 16:38:57 +02:00
Timo Schwarzer adac6d959f Add options for more human-friendly build output 2017-07-11 15:25:09 +02:00
Corruptinator eede898648 OUYA Game Controller GUID for input_default.cpp
Updated input_default.cpp to include the button mapping and GUID of the
OUYA Game Controller. This allows the controller itself to work on
Android devices, including the OUYA and hopefully this fixes issue #9390
for the 2.1.4
2017-07-11 05:15:51 -07:00
Pedro J. Estébanez 1dbe6f18d8 Merge pull request #9591 from RandomShaper/remove-warns-2.1
Remove warnings about benign situations
2017-07-11 12:26:41 +02:00
geequlim da2bcda7be Enhanced debugger. ake 2.1 more productive!
Allow access more informations from remote debugger.
Refector more debugger related code to allow full access to variables.
Array Property Editor now can edit with more objects including remote objects.
Implements `GDInstance::debug_get_globals` to query all gloabl constants avaliable in GDScriptLanguage.
Show globals in debug stack variable panel.
Disabe capitalize property name for  remote object.
Add DictionaryPropertyEdit to edit with Dictionaries.
The serialization/unserialization workflow use binary data instead of dictionary to avoid send too large data.
Do not stop debugger if curent break point stack has error fix #9034.
Don't send all content of strings but first 80 characters from remote debugger.
Add constants into the break point stack tree and remote object instance edit inspector.
Remote GDScript resource object instance list constants in the property inspector.
Add `self` to the local in the break point stack as a remote object.
Move some functions for GDScript related to thier base classes so debugger don't rely on the gdscript module any more.
The slef in the debugger tree now expanded as the instance of script instead of the script resource.
2017-07-11 17:44:28 +08:00
Pedro J. Estébanez 73fb33a931 Remove warnings about benign situations 2017-07-10 16:28:50 +02:00
Rémi Verschelde 171d8a501f Merge pull request #9518 from RandomShaper/refix-physics-2.1
Fix initial collision pairs being cleared (2.1)
2017-07-05 22:22:53 +02:00
Pedro J. Estébanez a30dd8494c Fix initial collision pairs being cleared
This affected both 2D & 3D physics and was a regression introduced by my
physics mega-fix (#8999).
2017-07-05 19:38:11 +02:00
Rémi Verschelde 4f220a6552 Merge pull request #9505 from Keetz/particle-attractor-binding
Added missing binding to _owner_exited
2017-07-05 16:26:22 +02:00
Rasmus Ketelsen b54c5f3953 Added missing binding to _owner_exited 2017-07-05 11:39:46 +02:00
Rémi Verschelde f99481e0c2 Merge pull request #8944 from RandomShaper/fix-error-handling-2.1
Make error handling more convenient (2.1)
2017-07-05 10:15:36 +02:00
Pedro J. Estébanez e9b7640f84 Make error handling more convenient
By adding some PRAY_* macros that encapsulate both the check and the returning of a null reference (UB).
Plus transient avoidance of the flood of warnings emitted by Clang when checking 'this' for NULL.
Plus explanation about the do-while(0) loop in some error macros.
2017-07-05 09:31:37 +02:00
Rémi Verschelde 719a51b32a Merge pull request #9470 from volzhs/spatial-visibility-changed
Fix visibility changes for Spatial
2017-07-03 10:02:51 +02:00
volzhs 7ca40c3eb9 Fix visibility changes for Spatial 2017-07-03 00:02:36 +09:00
Rémi Verschelde 37eaa9d792 EditorNameDialog: Fix margins
Somehow the previous code is what works in *master*, though it looks buggy.
For 2.1, the margins should be set on the container itself.
2017-07-02 13:16:39 +02:00
Rémi Verschelde 5a6eaf5a55 EditorNameDialog: Remove unnecessary move_child
Fixes #9377.

(cherry picked from commit bb6e73f9c1)
2017-07-02 12:51:07 +02:00
Rémi Verschelde 47307453f7 Script editor help: Prevent loading empty instances from layout
(cherry picked from commit 71f6c96288)
2017-07-02 12:31:43 +02:00
Juan Linietsky 026c580399 Changed Vector3.snap from fmod to stepify, which makes more sense, fixes #6399
(cherry picked from commit 23ababdcd5)
2017-06-30 23:32:13 +02:00
Juan Linietsky 920f216a14 Small exporter fixes 2017-06-29 07:29:48 -03:00
Rémi Verschelde 1a1b97e059 Revert "Dictionary keys are now sorted by insertion order"
This reverts commit b8a16fbd0e.

Too cutting edge for the stable branch, it also makes Dictionary
twice slower.
2017-06-28 08:05:30 +02:00
Rémi Verschelde e3f9653353 Merge pull request #9410 from williamd1k0/advanced-string-format
Advanced string format (2.1)
2017-06-27 20:52:27 +02:00
Juan Linietsky b8a16fbd0e Dictionary keys are now sorted by insertion order
- Cherry-pick from 0a59c3c3a6
2017-06-26 20:29:17 -03:00
George Marques 92ac3869d3
WinRT: Fix exporting problems
- Replace spaces with %20, since appx don't like it.
- Use .zip extension for custom package templates.
2017-06-26 14:51:21 -03:00
geequlim 9d49491afd Fix crash with String copy from with NULL string parameter
(cherry picked from commit 4b2a44054a)
2017-06-25 16:18:05 +02:00
Rémi Verschelde 3070267c4c Merge pull request #9364 from Noshyaar/pr-genh21
BuildSystem: generated files have .gen.ext (2.1)
2017-06-25 16:08:26 +02:00
Poommetee Ketson 4a0dc529ce BuildSystem: generated files have .gen.ext 2017-06-25 20:31:56 +07:00
Rémi Verschelde 11dc3f8589 i18n: Update template and sync translations 2017-06-25 14:25:46 +02:00
Rémi Verschelde 3683d1501d i18n: Sync translations with Weblate
Adds Finnish translation.
2017-06-25 14:23:24 +02:00
Mariano Suligoy bcbd2653de GdScript: Add signal autocompletion to emit_signal function
(cherry picked from commit 7fe750583e)
2017-06-25 14:20:47 +02:00
Marcelo Fernandez bcb8cc2faa Fix possible crash in joy_axis (fixes #4944).
(cherry picked from commit 2419a4e4ff)
2017-06-25 14:20:47 +02:00
Rémi Verschelde 8d6445b8f3 Merge pull request #7946 from RandomShaper/fix-vis-notifier-2d-2.1
Fix VisibilityNotifier2D viewport offset issue (2.1)
2017-06-25 11:21:43 +02:00
Rémi Verschelde c5a44eebf5 Merge pull request #8558 from RandomShaper/tilemap-one-way-collision-2.1
Add one-way collision to tile-set/tile-map (2.1)
2017-06-25 11:19:54 +02:00
Rémi Verschelde 5e7fb570e8 Merge pull request #8714 from RandomShaper/fix-owc-2.1
Fix one-way collision detection (2.1)
2017-06-25 11:14:31 +02:00
Rémi Verschelde 148a9e384b Merge pull request #8999 from RandomShaper/fix-physics-2.1
Fix multiple 2D & 3D physics issues (2.1)
2017-06-25 11:12:37 +02:00
Rémi Verschelde 6b7a8add90 Merge pull request #9356 from volzhs/freetype-2.8-2.1.x
Update freetype to 2.8 (for 2.1.x)
2017-06-25 10:42:33 +02:00
volzhs 05443bd5a8 Update freetype to 2.8 2017-06-25 11:16:45 +09:00