summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2017-09-17Move Variant::evaluate() switch to computed gotoHein-Pieter van Braam
In an effort to make GDScript a little faster replace the double switch() with a computed goto on compilers that set __GNUC__. For compilers that don't support computed goto it will fall back to regular switch/case statements. In addition disable using boolean values in a mathematical context. Now boolean values can only be compared with other booleans. Booleans will also no longer be coerced to integers. This PR replaces #11308 and fixes #11291
2017-09-17Fix x11 exported executables not getting the +x flagMarcelo Fernandez
2017-09-17Merge pull request #11294 from karroffel/json-objectThomas Herzog
added JSON singleton
2017-09-17Merge pull request #11272 from Rubonnek/move-to-initializer-listRémi Verschelde
Moved class_name and return_val to initializer list
2017-09-17Merge pull request #11176 from bncastle/masterRémi Verschelde
Implement +,-,/, * and negate operators for Color type
2017-09-17Merge pull request #11343 from BastiaanOlij/fix_basenameRémi Verschelde
Fixed naming of pck file
2017-09-17Fixed naming of pck fileBastiaan Olij
2017-09-17Merge pull request #11223 from GodotExplorer/pr-undoredoPoommetee Ketson
Expose more methods for UndoRedo
2017-09-16Implement +,-,/, * and negate operators for Color type.bncastle
2017-09-16Adds _OS::PowerState enumIgnacio Etcheverry
2017-09-15added JSON singletonkarroffel
There was no way to access JSON functionality in scripting languages apart from GDScript because the JSON class wasn't exposed to ClassDB.
2017-09-15Merge pull request #11230 from maxim-sheronov/fix_enum_bindingsThomas Herzog
Fix enums bindings
2017-09-14Moved class_name and return_val to initializer listWilson E. Alvarez
2017-09-14Construct Variants from Reference properly in GDNativeRuslan Mustakov
Previously godot_variant_new_object constructed Variant without accounting for the fact that the Object can be a Reference, so refcount was not increased and References were destructed prematurely. Also, Reference::init_ref did not propagate refcount increment to the script instance, which led to desync of refcount info on the script side and Godot side.
2017-09-13Drop unused EventQueue classRémi Verschelde
Thanks to @Marqin for the notice.
2017-09-13Fix enums bindingsMaxim Sheronov
Add missed bindings for enums Move some enums to class to have correct output of api.json
2017-09-13Added a crash handler to dump the backtrace on Windows, Linux and OS XMarcelo Fernandez
2017-09-13Merge pull request #11062 from BastiaanOlij/osx_datapackRémi Verschelde
Fixed loading package from resource folder, exporting textures to bun…
2017-09-13Style: Apply clang-format to @reduz's changesRémi Verschelde
[ci skip]
2017-09-13Expose more methods for UndoRedoGeequlim
2017-09-12Changed the doc class generation to individual files per class. It is also ↵Juan Linietsky
possible to save module files in module directories and the build system will recognize them.
2017-09-12Merge pull request #11106 from hpvb/documentation-fix-poolarraysRémi Verschelde
Correct the Pool*Array documentation
2017-09-12Merge pull request #11049 from scayze/astar_get_pointsRémi Verschelde
Add get_points() method to AStar
2017-09-12Merge pull request #11028 from mrawlingst/color-RGBA32Rémi Verschelde
Change Color.to_32() to Color.to_rgba32() and lowercase other functions
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-09Correct the Pool*Array documentationHein-Pieter van Braam
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-08Fixed loading package from resource folder, exporting textures to bundle and ↵BastiaanOlij
added a bit of feedback for a debug compile
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-07Change Color.to_32() to to_rgba32() and format as RGBAmrawlingst
2017-09-07Add get_points method to AStarScayze
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