summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2017-08-01Use atomics for memory use trackingPedro J. Estébanez
Plus: - An allocation is counted only after checking its success. - Max usage is updated after growing reallocs as well. - Drop unused header. - Changed the 0xFFF.. at get_mem_available() to -1 with a comment telling it's the same, but more universal.
2017-07-31Merge pull request #9826 from RandomShaper/improve-atomicsRémi Verschelde
Improve/add atomics
2017-07-31Merge pull request #8567 from BastiaanOlij/ar_vr_serverRémi Verschelde
AR/VR base classes and position tracker support
2017-07-30Style: Apply clang-format on all filesRémi Verschelde
Thus fixing some invalid changes that had still made it to the master branch.
2017-07-28Fix passing Refs via ptrcallRuslan Mustakov
There was no constructor for Ref from const pointer, so compiler decided to construct Variant from pointer and then construct Ref from Variant which turned it into NULL, because the Variant had null ref field.
2017-07-28Merge pull request #9879 from RandomShaper/fix-mutating-settings-fileRémi Verschelde
Fix mutating project.godot
2017-07-28Adding base classes and structures for ARVR supportBastiaanOlij
Added ArVrScriptInterface Added ARVRCamera, ARVRController and ARVROrigin helper objects
2017-07-27added an optional parameter to OS symbol lookupKarroffel
When looking up a symbol from a library, previously an error was shown when the symbol did not exist. That caused confusion when the lookup was completely optional. This adds a new parameter to that method so that those errors can be handled manually if needed.
2017-07-27Merge pull request #9872 from bruvzg/3.0-num-enter-fixRémi Verschelde
Remove duplicate keycode constant for Numpad Enter key (3.0)
2017-07-27Merge pull request #9892 from RandomShaper/fix-err-formatPedro J. Estébanez
Fix misplaced quote in error messsage
2017-07-27Fix misplaced quote in error messsagePedro J. Estébanez
2017-07-26Merge pull request #9882 from endragor/nativescript-refcountThomas Herzog
Forward refcount changes to NativeScriptInstance
2017-07-26Forward refcount changes to NativeScriptInstanceRuslan Mustakov
This also changes Reference::unreference() to always invoke refcount_decremented. Previously it was not invoked until the count reached zero due to short-circuit evalution of boolean expressions.
2017-07-26Fix mutating project.godotPedro J. Estébanez
Namely: - comment block lost on first save; - config_version doubled as 3 and null on second save; - format change on first save.
2017-07-26Merge pull request #9720 from endragor/stack-bottomThomas Herzog
Add a way to retrieve stack bottom of the main thread
2017-07-26Merge pull request #9873 from Noshyaar/pr-propRémi Verschelde
Fix various property not found errors
2017-07-26Fix various property not found errorsPoommetee Ketson
2017-07-26Remove duplicate keycode constant for Numpad Enter key.bruvzg
2017-07-25Fix cvs files freezing the editor when a double quote is not closedMarcelo Fernandez
2017-07-25Merge pull request #9731 from Xrayez/gdscript-completionRémi Verschelde
Update GDScript completion names for Pool*Arrays
2017-07-25Add newline after config_version and fix custom_features hintRémi Verschelde
Fixes #9818.
2017-07-25Update GDScript completion names for Pool*ArraysAndrii Doroshenko (Xrayez)
Notice: GDScript tokenizer used the old PoolFloatArray name. Renamed PoolFloatArray to PoolRealArray. Moved "project_settings.h" down one line to comply with the clang-format rules. Fixes #9638 Closed pull request #9714 because I messed up with commits, sorry!
2017-07-25Add a way to retrieve stack bottom of the main threadRuslan Mustakov
I'm working on Nim bindings and Nim GC needs to know the stack boundaries to check whether certain pointers are located on the stack or in the heap. This commit adds godot_get_stack_bottom procedure to gdnative module which returns pointer to the stack bottom of the main thread. Later on this may be improved to return stack bottom of the current thread.
2017-07-25Improve/add atomicsPedro J. Estébanez
- Remove use of non-builtin overloaded `InterlockedExhangeSubtract()` for Windows. Moreover, it was wrongly being used as if it hadn't a 64-bit version instead of being overloaded. - Implement exchange-if-greater (as a CAS loop).
2017-07-24Merge pull request #9764 from Noshyaar/pr-fix2Rémi Verschelde
Add object type hint for docs
2017-07-23UWP: Fix build issue caused by atomic operationsGeorge Marques
2017-07-23Requesting for dictionary keys also respects insertion order, closes #9161Juan Linietsky
2017-07-23Merge pull request #9718 from endragor/ptrcall-fixesThomas Herzog
Use specific size for numeric types in ptrcall
2017-07-23Add object type hint for docsPoommetee Ketson
2017-07-22Fix atomic operations in NO_THREADS buildsL. Krause
2017-07-22function to add script and instance at once, as needed by neikeqJuan Linietsky
2017-07-22Script languges are uninitialized properly now.Juan Linietsky
2017-07-20Use specific size for numeric types in ptrcallRuslan Mustakov
The script system does not provide information about specific int sizes, so we should establish convention to use the largest size (64 bits). For real types double is always used.
2017-07-19-Renamed GlobalConfig to ProjectSettings, makes more sense.Juan Linietsky
-Added system for feature overrides, it's pretty cool :)
2017-07-19Merge pull request #9699 from RameshRavone/masterThomas Herzog
[gdnative] `Object::_get` return type and dynamic property
2017-07-19Merge pull request #9703 from Noshyaar/docsRémi Verschelde
Add object type hint for docs
2017-07-19Fix errors with global config names no more sorrys pleasegeequlim
2017-07-19Add object type hint for docsPoommetee Ketson
2017-07-18_get return type fixRamesh Ravone
2017-07-18Merge pull request #9608 from RandomShaper/more-atomicsRémi Verschelde
Implement more atomic ops
2017-07-17-Reorganized all properties of project settings (Sorry, Again).Juan Linietsky
(Lot's of bloat accumulated, so it was time for clean up.) -Made EditorSettings and ProjectSettings search more useful (search in sections too)
2017-07-17Implement add & subtract atomicsPedro J. Estébanez
2017-07-17Merge pull request #9634 from vnen/gzip-compressionRémi Verschelde
Add GZIP compression support
2017-07-16Added a simpler/faster way to bind script languages instance wrappers to GodotJuan Linietsky
2017-07-16Bindings: Fix Object::get_meta return type.Andreas Haas
The method was shown as void in the docs.
2017-07-15-Fix for multiple reflection probes causing issues.Juan Linietsky
-Fix for positional sound corruption to avoid making people deaf.
2017-07-15Lots of work on Audio & Physics engine:Juan Linietsky
-Added new 3D stream player node -Added ability for Area to capture sound from streams -Added small features in physics to be able to properly guess distance to areas for sound -Fixed 3D CollisionObject so shapes are added the same as in 2D, directly from children -Fixed KinematicBody API to make it the same as 2D.
2017-07-13Add GZIP compression supportGeorge Marques
- Fix a wrong call in PoolByteArray::compress
2017-07-12Ignore fuzzy translationsPoommetee Ketson
2017-07-11Add atomics for 64-bit integersPedro J. Estébanez
The public API looks the same but with added overloads. The implementation uses templates or overloads depending on the context to avoid code duplication.