summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2017-09-07Several fixes to directional shadows, closes #10926Juan Linietsky
Added option to change directional light range mode, between optimized and stable. For Orthogonal, you might need to use optimized.
2017-09-06-Fixed changes to default input actions not working, closes #10502Juan Linietsky
-Added Array.duplicate() method, needed to fix above
2017-09-06Fixes ERR_EXPLAIN being overwrittenIgnacio Etcheverry
2017-09-05Merge pull request #10993 from endragor/nativescript-property-orderThomas Herzog
Provide NativeScript properties in definition order
2017-09-05Provide NativeScript properties in definition orderRuslan Mustakov
2017-09-05Optimize memory allocations in VariantParser::get_tokenEvgeny Zuev
2017-09-05Add StringBuffer classEvgeny Zuev
2017-09-05Merge pull request #10975 from hpvb/remove-null-check-from-cast-toRémi Verschelde
Remove NULL check from Object::cast_to()
2017-09-04Merge pull request #10860 from karroffel/bob-the-string-builderThomas Herzog
added StringBuilder class
2017-09-04Remove NULL check from Object::cast_to()Hein-Pieter van Braam
After discussing this with @reduz on IRC we agreed to remove these checks. We now consider cast_to() to be NULL safe
2017-09-04-Changed KinematicBody API yet again to make it friendlierJuan Linietsky
-Fixed get_scale functions (and added set_scale) to make it more coherent when decomposing and composing (fixes bugs in transform interpolation)
2017-09-04Merge pull request #10939 from neikeq/fix-overridden-external-editorsRémi Verschelde
Fixes language overridden external editors
2017-09-03Fixes language overridden external editorsIgnacio Etcheverry
2017-09-03-Fixed EditorDirDialog, which was really old and needed to use EditorFileSystemJuan Linietsky
-Fixed refactoring tools to work with imported scenes (properly move .import files)
2017-09-03Merge pull request #10903 from neikeq/fix-defval-order-definitely-i-promiseRémi Verschelde
Fixes order of default arguments in MethodInfo
2017-09-02Fixes order of default arguments in MethodInfoIgnacio Etcheverry
This time for real
2017-09-02Fix typos 'a' and 'an'Poommetee Ketson
2017-09-02Fix use of unitialized variablesHein-Pieter van Braam
The second in my quest to make Godot 3.x compile with -Werror on GCC7
2017-09-01Merge pull request #10846 from hpvb/fix-sign-compareRémi Verschelde
Fix signed and unsigned comparisons
2017-09-01Merge pull request #10862 from neikeq/fix-defvals-methodinfoIgnacio Etcheverry
Fixes reversed order of default arguments in MethodInfo
2017-09-01added StringBuilder classKarroffel
When doing large string concatenations the default push_back on the String class can slow down things quite a bit. This is because it has to constantly reallocate the memory and copy the contents. This StringBuilder class delays the concatenation until the size of the resulting string is known.
2017-09-01Fixes reversed order of default arguments in MethodInfoIgnacio Etcheverry
2017-09-01Fix files headerPoommetee Ketson
2017-09-01Merge pull request #10318 from endragor/ordered-hash-mapRémi Verschelde
Implement OrderedHashMap
2017-09-01Has_method is already provided by ObjectHein-Pieter van Braam
c812c17633 introduces some extra gdscript bindings for signal discovery and adds a binding for has_method() to Script objects. This method is already provided by the ancestor Object. This fixes the startup message: ERROR: bind_methodfi: Class Script already has a method has_method At: core/class_db.cpp:1178.
2017-09-01Fix signed and unsigned comparisonsHein-Pieter van Braam
The first in my quest to make Godot 3.x compile with -Werror on GCC7
2017-08-31Fix issues regarding reload of resources in imported scenes. Closes #10017Juan Linietsky
2017-08-31Merge pull request #10382 from toger5/dark_iconsRémi Verschelde
Light Theme
2017-08-30added to_ABGR32() to core/Colortoger5
2017-08-30Add a new decomposition to Basis.Ferenc Arn
This new decomposition splits the basis into a rotation-reflection matrix and a positive scaling matrix, which is required for physics calculations.
2017-08-29Remove Basis::set_scale and Basis::set_rotation_* functions.Ferenc Arn
Those functions were added in #8277 but they did more harm than good. They're subtle, don't do what people think and requires users to understand the non-uniqueness of polar decomposition. They ended up confusing people. Until we store additional information enough to make a unique polar decomposition, these functions shouldn't be a part of Basis.
2017-08-29Fix constant reimport on broken files, closes #9930Juan Linietsky
2017-08-29Merge pull request #10745 from neikeq/fix-docdata-and-stuffJuan Linietsky
DocData and virtual method type hints fixes
2017-08-29Fixes missing default arguments in MethodInfoIgnacio Etcheverry
2017-08-29DocData and type hints fixesIgnacio Etcheverry
- Makes vararg methods automatically use PROPERTY_USAGE_NIL_IS_VARIANT on return types - Completely removes the ":type" suffix for method names. Virtual methods must use the MethodInfo constructors that takes Variant::Type or PropertyHint as the first parameter for the return type (with CLASS_INFO as a helper to get the PropertyInfo). Parameters must use PROPERTY_HINT_RESOURCE_TYPE and hint string. - PROPERTY_USAGE_NIL_IS_VARIANT is no longer needed for parameters, because parameters cannot be void. - Adds missing PROPERTY_USAGE_NIL_IS_VARIANT to virtual and built-in methods that return Variant.
2017-08-29Made some methods to check method/signal availability in GDScript, closes #9800Juan Linietsky
2017-08-29Removed ParamDef and ParamHint structsWilson E. Alvarez
2017-08-28-Some fixes to code completion.Juan Linietsky
-Fix getter in code completion being displayed when it shouldn't -Clean up preview generation for editors and exposed it as editor plugin
2017-08-27Make build scripts Python3 compatibleMatthias Hoelzl
- The Windows, UWP, Android (on Windows) and Linux builds are tested with Scons 3.0 alpha using Python 3. - OSX and iOS should hopefully work but are not tested since I don't have a Mac. - Builds using SCons 2.5 and Python 2 should not be impacted.
2017-08-27Dead code tells no talesRémi Verschelde
2017-08-27Use HTTPS URL for Godot's website in the headersRémi Verschelde
2017-08-27Re-apply clang-format to all filesRémi Verschelde
Some badly formatted code has managed to pass through our CI...
2017-08-26MethodBind: Adds operator== to compare by idIgnacio Etcheverry
2017-08-26Merge pull request #10658 from henkz1/android-buildRémi Verschelde
Fix Android build
2017-08-27Fix double single quotes in `connect` error printPoommetee Ketson
2017-08-26Fix refactored Object::cast_to in NO_SAFE_CAST branchHenrik Andersson
2017-08-26Merge pull request #10648 from Xrayez/image-get-sizeRémi Verschelde
Add handy get_size() method to Image class
2017-08-26Cleanup tons of obsolete commented out codeRémi Verschelde
Mostly in EditorNode, dropping some obsolete editor plugins and also a cleanup of ProjectSettings/EditorSettings.
2017-08-26Add handy get_size() method to Image classAndrii Doroshenko (Xrayez)
2017-08-24Convert Object::cast_to() to the static versionHein-Pieter van Braam
Currently we rely on some undefined behavior when Object->cast_to() gets called with a Null pointer. This used to work fine with GCC < 6 but newer versions of GCC remove all codepaths in which the this pointer is Null. However, the non-static cast_to() was supposed to be null safe. This patch makes cast_to() Null safe and removes the now redundant Null checks where they existed. It is explained in this article: https://www.viva64.com/en/b/0226/