Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-02-16 | Correct hash behavior for floating point numbers | Hein-Pieter van Braam | |
This fixes HashMap where a key or part of a key is a floating point number. To fix this the following has been done: * HashMap now takes an extra template argument Comparator. This class gets used to compare keys. The default Comperator now works correctly for common types and floating point numbets. * Variant implements ::hash_compare() now. This function implements nan-safe comparison for all types with components that contain floating point numbers. * Variant now has a VariantComparator which uses Variant::hash_compare() safely compare floating point components of variant's types. * The hash functions for floating point numbers will now normalize NaN values so that all floating point numbers that are NaN hash to the same value. C++ module writers that want to use HashMap internally in their modules can now also safeguard against this crash by defining their on Comperator class that safely compares their types. GDScript users, or writers of modules that don't use HashMap internally in their modules don't need to do anything. This fixes #7354 and fixes #6947. | |||
2017-02-15 | Many fixes to make exported scenes work better, still buggy. | Juan Linietsky | |
2017-02-15 | -begin of export work, not done yet | Juan Linietsky | |
-fixes to make scenes exported from godot 2.x work | |||
2017-02-13 | Remove bounds check when resuming from yield. | Hein-Pieter van Braam | |
The code would get a pointer to the beginning of the call_args by using operator[] at the stack Vector. This does bound checking. When there are no call_args this bound check fails and the error mentioned in #7796 gets triggered. This bound check is actually not necessary as call_args just gets set to NULL and never dereferenced. This new code will just unconditionally set the pointer to the place where the call_args are if there are any. There is no NULL check for call_args anywhere so this is safe. Fixes #7796 | |||
2017-02-13 | Rename the _MD macro to D_METHOD | Hein-Pieter van Braam | |
This new name also makes its purpose a little clearer This is a step towards fixing #56 | |||
2017-02-13 | Remove use of _SCS from ADD_METHOD | Hein-Pieter van Braam | |
This saves typing and is a step towards fixing #56 | |||
2017-02-12 | Merge pull request #7723 from lonesurvivor/gdscript-range-fix | Rémi Verschelde | |
Fix parsing bug which causes range(variable) to crash the engine | |||
2017-02-06 | Several bugfixes, improving the import workflow | Juan Linietsky | |
2017-02-04 | Fix parsing bug which causes range(variable) to crash the engine | lonesurvivor | |
problem was a segmentation fault caused by trying to access Vector constants[0] which isn't there if op->arguments.size() is not bigger than one. - the changed OR condition didn't make sense (always true), should be AND - changes the "constant" variable to be false per default and gets set to true when there is actually something pushed to "constants" | |||
2017-02-03 | Changed OGG Vorbis type to be imported, so it's possible to specify loop | Juan Linietsky | |
2017-01-25 | Removed import/export system, will start new one from scratch. | Juan Linietsky | |
2017-01-23 | Merge pull request #7583 from karroffel/wildcard | Rémi Verschelde | |
made _ a special token in GDScript | |||
2017-01-21 | WIP new AudioServer, with buses, effects, etc. | Juan Linietsky | |
2017-01-20 | made _ a special token in GDScript | karroffel | |
2017-01-16 | Overloaded basic math funcs (double and float variants). Use real_t rather ↵ | Ferenc Arn | |
than float or double in generic functions (core/math) whenever possible. Also inlined some more math functions. | |||
2017-01-16 | Merge pull request #7532 from tagcup/pcg_prng | Rémi Verschelde | |
Replace the existing PRNG (Xorshift31) with (minimal) PCG-32. | |||
2017-01-16 | Style: Various fixes to play nice with clang-format | Rémi Verschelde | |
2017-01-16 | Style: Fix statements ending with ';;' | Rémi Verschelde | |
2017-01-16 | Style: No break before list brace | Rémi Verschelde | |
clang-format does not handle that well *at all*. For the reference, found the relevant pieces of code with: `ag "=[ "$'\t'"]?"$'\n'"[ "$'\t'"]?{" --ignore=thirdparty` | |||
2017-01-16 | Style: Cleanups, added headers, renamed files | Rémi Verschelde | |
Made sure files in core/ and tools/ have a proper Godot license header when written by us. Also renamed aabb.{cpp,h} and object_type_db.{cpp,h} to rect3.{cpp,h} and class_db.{cpp,h} respectively. Also added a proper header to core/io/base64.{c,h} after clarifying the licensing with the original author (public domain). | |||
2017-01-15 | Replace the existing PRNG (Xorshift31) with (minimal) PCG (XSH-RR variant ↵ | Ferenc Arn | |
with 32-bit output, 64-bit state). PCG is better than many alternatives by many metrics (see www.pcg-random.org) including statistical quality with good speed. | |||
2017-01-15 | Oops! Audio engine has vanished :D | Juan Linietsky | |
2017-01-15 | Style: Cosmetic fixes to play nice with clang-format | Rémi Verschelde | |
2017-01-14 | Compile error when duplicate key in dictionery literal #7034 | James Mintram | |
2017-01-14 | Merge pull request #6845 from karroffel/master | Juan Linietsky | |
Adds pattern matching to GDScript | |||
2017-01-14 | Merge pull request #4918 from jjay/f/error_on_redefine | Juan Linietsky | |
Redefine var results in an error | |||
2017-01-14 | removed duplicated functions in class hierarchy that were bound more than once | Juan Linietsky | |
added a check to detect this case in the future | |||
2017-01-14 | Style: Fix whole-line commented code | Rémi Verschelde | |
They do not play well with clang-format which aligns the `//` part with the rest of the code block, thus producing badly indented commented code. | |||
2017-01-14 | rename String.extension() -> String.get_extension() / String.basename() -> ↵ | Juan Linietsky | |
String.get_basename() | |||
2017-01-13 | rename Input.get_mouse_speed() to Input.get_last_mouse_speed() | Juan Linietsky | |
2017-01-12 | Must now register with set_transform_notify() to get ↵ | Juan Linietsky | |
NOTIFICATION_TRANSFORM_CHANGED | |||
2017-01-12 | some class renames | Juan Linietsky | |
TextureFrame -> TextureRect Patch9Frame -> NinePatchRect ColorFrame -> ColorRect | |||
2017-01-12 | Implicit inheritance now defaults to Resource, will error for node scripts ↵ | Juan Linietsky | |
if extends not used. | |||
2017-01-11 | More efficient iteration syntax, and range() is converted behind the scenes ↵ | Juan Linietsky | |
to it. | |||
2017-01-11 | Merge pull request #6930 from bojidar-bg/gdscript-export-array-hint | Rémi Verschelde | |
Allow typing hints for Array class (in GDScript and Inspector) | |||
2017-01-11 | Both Array and Dictionary are always in shared mode (removed copy on write). | Juan Linietsky | |
2017-01-11 | Merge pull request #7093 from bojidar-bg/named-colors | Rémi Verschelde | |
Add named colors to GDScript/Visual Script/core. | |||
2017-01-11 | Type renames: | Juan Linietsky | |
Matrix32 -> Transform2D Matrix3 -> Basis AABB -> Rect3 RawArray -> PoolByteArray IntArray -> PoolIntArray FloatArray -> PoolFloatArray Vector2Array -> PoolVector2Array Vector3Array -> PoolVector3Array ColorArray -> PoolColorArray | |||
2017-01-11 | pattern matcher: Implemented backend | Karroffel | |
changed comments | |||
2017-01-11 | pattern matcher: Implemented transformations | Karroffel | |
2017-01-11 | pattern matching: implemented parser | Karroffel | |
2017-01-10 | It is now possible to name layers of different kinds! | Juan Linietsky | |
2017-01-10 | uses the global thread to protect the instacnes map in GDScript, closes #4615 | Juan Linietsky | |
2017-01-10 | Removed the set_child_rect() in AcceptDialog. AcceptDialog now works as a ↵ | Juan Linietsky | |
container! | |||
2017-01-09 | -All types have editable script now in properties | Juan Linietsky | |
-Changed clip to a property in Control which can be set by the user | |||
2017-01-08 | Moved JSON functions to built-in to_json, parse_json, validate_json | Juan Linietsky | |
2017-01-08 | Removed Musepack, it's a pretty obsolete format nowadays. | Juan Linietsky | |
2017-01-08 | Variant INT and REAL are now 64 bits (other types remain at 32) | Juan Linietsky | |
2017-01-08 | PopupMenu now emits both index_pressed and id_pressed instead of ↵ | Juan Linietsky | |
item_pressed, closes #3188 | |||
2017-01-08 | renamed joystick to joypad everywhere around source code! | Juan Linietsky | |