Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Reduce unnecessary COW on Vector by make writing explicit | Hein-Pieter van Braam | 2018-07-26 | 1 | -16/+16 | |
| | | | | | | | | | | | | | | | | | | | | | | | This commit makes operator[] on Vector const and adds a write proxy to it. From now on writes to Vectors need to happen through the .write proxy. So for instance: Vector<int> vec; vec.push_back(10); std::cout << vec[0] << std::endl; vec.write[0] = 20; Failing to use the .write proxy will cause a compilation error. In addition COWable datatypes can now embed a CowData pointer to their data. This means that String, CharString, and VMap no longer use or derive from Vector. _ALWAYS_INLINE_ and _FORCE_INLINE_ are now equivalent for debug and non-debug builds. This is a lot faster for Vector in the editor and while running tests. The reason why this difference used to exist is because force-inlined methods used to give a bad debugging experience. After extensive testing with modern compilers this is no longer the case. | |||||
* | Add typing syntax | George Marques | 2018-07-20 | 1 | -4/+7 | |
| | ||||||
* | Style: Format code with clang-format 6.0.1 | Rémi Verschelde | 2018-07-18 | 1 | -1/+1 | |
| | ||||||
* | Global class names (and GDScript support for it) | Juan Linietsky | 2018-07-15 | 1 | -1/+3 | |
| | ||||||
* | New sync keywords in GDScript, NativeScript, Mono | Fabio Alessandrelli | 2018-05-29 | 1 | -0/+9 | |
| | ||||||
* | Revert "RPCMode refactor, more sync modes" | Max Hilbrunner | 2018-05-29 | 1 | -9/+0 | |
| | ||||||
* | New sync keywords in GDScript, NativeScript, Mono | Fabio Alessandrelli | 2018-05-26 | 1 | -0/+9 | |
| | ||||||
* | Add missing copyright headers and fix formatting | Rémi Verschelde | 2018-01-05 | 1 | -0/+1 | |
| | | | | | | 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. | |||||
* | Update copyright statements to 2018 | Rémi Verschelde | 2018-01-01 | 1 | -2/+2 | |
| | | | | Happy new year to the wonderful Godot community! | |||||
* | Rename Rect3 to AABB. | Ferenc Arn | 2017-11-17 | 1 | -5/+5 | |
| | | | | Fixes #12973. | |||||
* | GDScript: Refactor "GD" class prefix to "GDScript" | Rémi Verschelde | 2017-11-16 | 1 | -0/+1466 | |