Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-09-20 | Fix import order, so scenes are imported after textures. | Juan Linietsky | |
Also fix bugs when meshes are always generated. | |||
2017-09-20 | Merge pull request #11437 from hpvb/allow-compare-to-null | Juan Linietsky | |
Allow equality checks between null and arbitrary types | |||
2017-09-20 | Allow equality checks between null and arbitrary types | Hein-Pieter van Braam | |
Uninitialzed values in GDScript are of type NIL so not allowing null comparisons did end up breaking some code. This commit reenables NULL equality checks for all types. We're going to have to figure out how to make this fast for the compiler later. | |||
2017-09-20 | Merge pull request #11409 from MarufSarker/PR-core-math-is_nan | Rémi Verschelde | |
Verbose and Platform-specific implementation for is_nan | |||
2017-09-20 | Rename pos to position in user facing methods and variables | letheed | |
Rename user facing methods and variables as well as the corresponding C++ methods according to the folloming changes: * pos -> position * rot -> rotation * loc -> location C++ variables are left as is. | |||
2017-09-20 | verbose and platform specific implementation for is_nan | ABU MD. MARUF SARKER | |
2017-09-19 | Merge pull request #10748 from Cradmon/fixCoreSet | Rémi Verschelde | |
Refactor core/set.h | |||
2017-09-19 | Merge pull request #11208 from kitsune/hex-color-shortcuts | Rémi Verschelde | |
Adds 3 and 4 digit html shortcuts to Color | |||
2017-09-19 | Merge pull request #11388 from hpvb/fix-missing-return-fail | Rémi Verschelde | |
Be type-strict checking on equality checks | |||
2017-09-19 | Allow booleanization of all types | Hein-Pieter van Braam | |
We now allow booleanization of all types. This means that empty versions of all types now evaluate to false. So a Vector2(0,0), Dictionary(), etc. This allows you to write GDScript like: if not Dictionary(): print("Empty dict") Booleanization can now also no longer fail. There is no more valid flag, this changes Variant and GDNative API. | |||
2017-09-19 | Merge pull request #11405 from karroffel/new-hashmap | Rémi Verschelde | |
added OAHashMap type | |||
2017-09-19 | added OAHashMap type | Karroffel | |
2017-09-19 | Be type-strict checking on equality checks | Hein-Pieter van Braam | |
After a short discussion with @reduz and @karroffel we decided to make all non number/number comparisons return type errors on comparisons. Now bool == bool is allowed but Vector2 == Vector3 is a type error and no longer 'not equal'. The same has been done for the != operators. In addition I forgot to add some failures to some Object operators meaning that there was a potential for a crasher. | |||
2017-09-19 | Merge pull request #11402 from hpvb/remove-gdscript-checks-on-release | Rémi Verschelde | |
Various GDScript performance tweaks | |||
2017-09-19 | Don't call Variant::reference() unnecessarily | Hein-Pieter van Braam | |
operator= does not need to call reference() if the new value is of the same type as the old. This saves us zeroing the Variant, This speeds up reuse of a Variant in a loop by roughly 50%. | |||
2017-09-19 | Merge pull request #11386 from kosz78/fix-msvc-compile-errors | Rémi Verschelde | |
Fix MSVC compilation errors | |||
2017-09-19 | Fix accidental cast to Vector3 for Vector2 iter | Hein-Pieter van Braam | |
2017-09-19 | Fixed Typo: 'Seperate' to 'Separate' | Indah Sylvia | |
2017-09-19 | Fix MSVC compilation errors | Konstantin Zaitsev | |
2017-09-17 | Move Variant::evaluate() switch to computed goto | Hein-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-17 | Fix x11 exported executables not getting the +x flag | Marcelo Fernandez | |
2017-09-17 | Merge pull request #11294 from karroffel/json-object | Thomas Herzog | |
added JSON singleton | |||
2017-09-17 | Merge pull request #11272 from Rubonnek/move-to-initializer-list | Rémi Verschelde | |
Moved class_name and return_val to initializer list | |||
2017-09-17 | Merge pull request #11176 from bncastle/master | Rémi Verschelde | |
Implement +,-,/, * and negate operators for Color type | |||
2017-09-17 | Merge pull request #11343 from BastiaanOlij/fix_basename | Rémi Verschelde | |
Fixed naming of pck file | |||
2017-09-17 | Fixed naming of pck file | Bastiaan Olij | |
2017-09-17 | Merge pull request #11223 from GodotExplorer/pr-undoredo | Poommetee Ketson | |
Expose more methods for UndoRedo | |||
2017-09-16 | Implement +,-,/, * and negate operators for Color type. | bncastle | |
2017-09-16 | Adds _OS::PowerState enum | Ignacio Etcheverry | |
2017-09-15 | added JSON singleton | karroffel | |
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-15 | Merge pull request #11230 from maxim-sheronov/fix_enum_bindings | Thomas Herzog | |
Fix enums bindings | |||
2017-09-14 | Moved class_name and return_val to initializer list | Wilson E. Alvarez | |
2017-09-14 | Construct Variants from Reference properly in GDNative | Ruslan 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-13 | Drop unused EventQueue class | Rémi Verschelde | |
Thanks to @Marqin for the notice. | |||
2017-09-13 | Fix enums bindings | Maxim Sheronov | |
Add missed bindings for enums Move some enums to class to have correct output of api.json | |||
2017-09-13 | Added a crash handler to dump the backtrace on Windows, Linux and OS X | Marcelo Fernandez | |
2017-09-13 | Merge pull request #11062 from BastiaanOlij/osx_datapack | Rémi Verschelde | |
Fixed loading package from resource folder, exporting textures to bun… | |||
2017-09-13 | Style: Apply clang-format to @reduz's changes | Rémi Verschelde | |
[ci skip] | |||
2017-09-13 | Expose more methods for UndoRedo | Geequlim | |
2017-09-12 | Adds 3 and 4 digit html shortcuts to Color | Dylan Enloe | |
Color::html now expands 3 and 4 digit hex values into 6 and 8 digit values by repeating each digit. This is to bring it in line with how html handles these values fixes #10997 | |||
2017-09-12 | Changed 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-12 | Refactor core/set.h | Cradmon | |
2017-09-12 | Merge pull request #11106 from hpvb/documentation-fix-poolarrays | Rémi Verschelde | |
Correct the Pool*Array documentation | |||
2017-09-12 | Merge pull request #11049 from scayze/astar_get_points | Rémi Verschelde | |
Add get_points() method to AStar | |||
2017-09-12 | Merge pull request #11028 from mrawlingst/color-RGBA32 | Rémi Verschelde | |
Change Color.to_32() to Color.to_rgba32() and lowercase other functions | |||
2017-09-12 | Merge pull request #10908 from hpvb/fix-unused-variables | Rémi Verschelde | |
Fix unused variable warnings | |||
2017-09-12 | Merge pull request #11026 from hpvb/fix-assign-in-if | Rémi Verschelde | |
Remove assignment and declarations in if statements | |||
2017-09-12 | Merge pull request #11057 from hpvb/fix-various-warnings | Rémi Verschelde | |
Fix various assorted warnings | |||
2017-09-12 | Merge pull request #11044 from hpvb/fix-enum-as-bool | Rémi Verschelde | |
Fix using enum as bool value | |||
2017-09-12 | Merge pull request #11040 from hpvb/fix-enum-compare | Rémi Verschelde | |
Fix warnings comparing enums of different types |