summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2017-09-12Merge pull request #10908 from hpvb/fix-unused-variablesRémi Verschelde
Fix unused variable warnings
2017-09-12Merge pull request #11026 from hpvb/fix-assign-in-ifRémi Verschelde
Remove assignment and declarations in if statements
2017-09-12Merge pull request #11057 from hpvb/fix-various-warningsRémi Verschelde
Fix various assorted warnings
2017-09-12Merge pull request #11044 from hpvb/fix-enum-as-boolRémi Verschelde
Fix using enum as bool value
2017-09-12Merge pull request #11040 from hpvb/fix-enum-compareRémi Verschelde
Fix warnings comparing enums of different types
2017-09-12Merge pull request #11041 from hpvb/fix-clang-format-errorRémi Verschelde
Fix serveral recent new clang-format errors [ci skip]
2017-09-10Add user data directory support for ProjectSettings::globalize_pathgeequlim
2017-09-08Fix unused variable warningsHein-Pieter van Braam
The forth in my quest to make Godot 3.x compile with -Werror on GCC7
2017-09-08Remove assignment and declarations in if statementsHein-Pieter van Braam
After discussing with @reduz and @akien-mga it was decided that we do not allow assignments or declarations in if statements. This PR removes the instances of this I could find by automated means.
2017-09-08Fix various assorted warningsHein-Pieter van Braam
Fix various warnings that don't have enough instances to merit individual commits. Also fixes a potential bug in audio_server.cpp.
2017-09-08Fix serveral recent new clang-format errorsHein-Pieter van Braam
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-07Fix using enum as bool valueHein-Pieter van Braam
This warning actually hid a bug. The value of ERR_INVALID_DATA is actually 30, returning this as a bool returns true while false was required.
2017-09-07Fix warnings comparing enums of different typesHein-Pieter van Braam
This fixes a source of many compiler warnings regarding comparing the enum VARIANT_TYPE to Variant::Type. This changes the local value to a static const Variant::Type value rather than an unrelated enum, this also saves us a cast.
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