summaryrefslogtreecommitdiff
path: root/core/dictionary.cpp
AgeCommit message (Collapse)Author
2018-01-27Use the appropriate Variant hash and compare functions for DictionariesHein-Pieter van Braam
Dictionaires did not use the VariantHasher and VariantComparator making them unsafe for use with NaN values as keys. This PR uses the appropriate Variant implementations for these functions. var d = {} d[Vector2(NAN, NAN)] = 0 d[Vector2(NAN, NAN)] = 0 print(d.size()) will now output '1' and not '2' This fixes #16031
2018-01-05Add missing copyright headers and fix formattingRémi Verschelde
Using `misc/scripts/fix_headers.py` on all Godot files. Some missing header guards were added, and the header inclusion order was fixed in the Bullet module.
2018-01-01Update copyright statements to 2018Rémi Verschelde
Happy new year to the wonderful Godot community!
2017-12-17Dictionary::copy -> ::duplicateWill Nations
2017-12-05fix Dictionary iterationkarroffel
2017-11-09fix dictionary constant access crashKarroffel
2017-11-05make Dictionary use OrderedHashMapKarroffel
2017-08-27Dead code tells no talesRémi Verschelde
2017-08-27Use HTTPS URL for Godot's website in the headersRémi Verschelde
2017-07-23Requesting for dictionary keys also respects insertion order, closes #9161Juan Linietsky
2017-04-08Add "Godot Engine contributors" copyright lineRémi Verschelde
2017-03-05A Whole New World (clang-format edition)Rémi Verschelde
I can show you the code Pretty, with proper whitespace Tell me, coder, now when did You last write readable code? I can open your eyes Make you see your bad indent Force you to respect the style The core devs agreed upon A whole new world A new fantastic code format A de facto standard With some sugar Enforced with clang-format A whole new world A dazzling style we all dreamed of And when we read it through It's crystal clear That now we're in a whole new world of code
2017-01-16Style: Cleanups, added headers, renamed filesRé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-11Both Array and Dictionary are always in shared mode (removed copy on write).Juan Linietsky
2017-01-08Moved JSON functions to built-in to_json, parse_json, validate_jsonJuan Linietsky
2017-01-08Dictionary keys are now sorted by insertion orderJuan Linietsky
2017-01-01Welcome in 2017, dear changelog reader!Rémi Verschelde
That year should bring the long-awaited OpenGL ES 3.0 compatible renderer with state-of-the-art rendering techniques tuned to work as low as middle end handheld devices - without compromising with the possibilities given for higher end desktop games of course. Great times ahead for the Godot community and the gamers that will play our games!
2016-08-02WIP visual scripting, not working yet but you can check out stuffJuan Linietsky
2016-06-05Added Dictionary.values()J08nY
2016-04-04dictionary has_allAlexander Holland
2016-01-01Update copyright to 2016 in headersGeorge Marques
2015-12-13-hash dictionaries properly instead of using pointer, fixes #2880Juan Linietsky
2015-04-18Updated copyright year in all headersJuan Linietsky
2015-01-02Fix for bug 1088Muresan Vlad aka Mury
2014-02-09GODOT IS OPEN SOURCEJuan Linietsky