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-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-01 | Enable WebGL2 in web export, start fixing build | eska | |
Will not yet compile | |||
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). |