summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2020-10-14Refactored binding system for core typesreduz
Moved to a system using variadic templates, shared with CallableBind. New code is cleaner, faster and allows for much better optimization of core type functions from GDScript and GDNative. Added Variant::InternalMethod function for direct call access.
2020-10-12Merge pull request #42684 from timothyqiu/conn-self-assignFabio Alessandrelli
Fix HTTPClient::poll crash after connection is self-assigned
2020-10-10Fixes HTTPClient::poll crash after connection is self-assignedHaoyu Qiu
2020-10-09Add ability to bind an unbind arguments to Callable.reduz
2020-10-09Merge pull request #42660 from Chaosus/remove_get_uv84_normal_bitRémi Verschelde
Removed unused method Geometry3D.get_uv84_normal_bit
2020-10-09Implement GPU Particle Collisionsreduz
-Sphere Attractor -Box Attractor -Vector Field -Sphere Collider -Box Collider -Baked SDF Collider -Heightmap Collider
2020-10-09Removed unused method Geometry.get_uv84_normal_bitYuri Roubinsky
2020-10-08Cancel rename if file does not existTomasz Chabora
2020-10-07Fix build after merge of #40097Rémi Verschelde
CI had passed back then but this would have needed a rebase to take into account recent changes to String.
2020-10-07Merge pull request #40097 from mrushyendra/file_sort_masterRémi Verschelde
Fix natural sort comparison for strings with large numbers
2020-10-05Check for global script class information before clearing itAaron Franke
2020-10-05Improve format version mismatch error in binary loaderRémi Verschelde
2020-10-03Don't write global script class information if there is noneAaron Franke
2020-10-02Fixed padding bug of sprintf functionSerhat
2020-09-30Make "function" a property of FuncRefWilson E. Alvarez
2020-09-29Removed unnecessary keyword, fix comment styleCraig-Stoneham
The privacy here is already private
2020-09-28Merge pull request #42133 from vnen/variant-op-consistencyRémi Verschelde
Allow commutative multiplication in Variant
2020-09-28Rename the ".import" folder to ".godot/imported"Aaron Franke
2020-09-28Merge pull request #42304 from akien-mga/os-drop-get_splash_tick_msecRémi Verschelde
OS: Remove unused get_splash_tick_msec
2020-09-27Merge pull request #42340 from Rubonnek/get-funcref-functionRémi Verschelde
Allow retrieval of FuncRef function string
2020-09-27Merge pull request #37403 from aaronfranke/basis_equal_approxRémi Verschelde
Change Basis is_equal_approx to use instance method
2020-09-25Allow retrieval of FuncRef function stringWilson E. Alvarez
2020-09-24OS: Remove unused get_splash_tick_msecRémi Verschelde
It was added in 3e20391bf607dc7c452b056854aed4a8c99ba0f6 but it doesn't seem particularly useful, and it was only implemented for the custom splash branch and not the default one, so it could return an uninitialized int.
2020-09-24Merge pull request #42296 from akien-mga/messagequeue-default-size-4096-kbRémi Verschelde
MessageQueue: Change default queue size to 4096 KB
2020-09-24Remove unnecessary empty line from DictionariesTomasz Chabora
2020-09-24MessageQueue: Change default queue size to 4096 KBRémi Verschelde
1024 KB was low enough that many users seem to hit it, which can lead to the editor freezing. The proper fixed as described in #35653 would be to implement a page allocator to prevent this overflow, but as a stop-gap measure, we can increase the default value to a more lenient 4096 KB which should be high enough for the vast majority of use cases. The default size can be brought down again if/when #35653 is properly fixed, and if it's actually relevant from a memory point of view.
2020-09-23Check for null in InputMap::_find_eventTomasz Chabora
2020-09-23Remove redundant is_equal_approx_ratio methodAaron Franke
is_equal_approx is able to handle values of any size, and is_equal_approx_ratio is no longer used in any exposed APIs, so we don't need is_equal_approx_ratio anymore. Also, add #ifdef MATH_CHECKS for a method that is only used when MATH_CHECKS is defined.
2020-09-23Change Basis is_equal_approx to use instance methodAaron Franke
2020-09-19Fix crash when opening a ZIP data packHugo Locurcio
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2020-09-18zstd: Update to upstream version 1.4.5Rémi Verschelde
2020-09-18Fix typos with codespellRémi Verschelde
Using codespell 1.17.1. Method: ``` $ cat > ../godot-word-whitelist.txt << EOF ang curvelinear dof doubleclick fave findn leapyear lod merchantibility nd numer ois ony que seeked synching te uint unselect webp EOF $ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po" $ git diff // undo unwanted changes ```
2020-09-18Linux/BSD: Fix support for NetBSDRémi Verschelde
Add __NetBSD__ to `platform_config.h` so that it can find `alloca` and use the proper `pthread_setname_np` format. Rename RANDOM_MAX to avoid conflict with NetBSD stdlib. Fixes #42145.
2020-09-17Allow commutative multiplication in VariantGeorge Marques
Also allow quaternions to be multiplied by integers.
2020-09-16Merge pull request #42013 from Xrayez/fix-list-swapRémi Verschelde
Fix `List` swap behavior on front, back and adjacent elements
2020-09-15Make `Object::to_string` virtualAndrii Doroshenko (Xrayez)
Allows to override printing via C++, not only via script.
2020-09-12Fix `List` swap behavior on front, back and adjacent elementsAndrii Doroshenko (Xrayez)
- immediately return if A == B; - first and last elements (front, back) are updated upon relinking; - handles a special case of forward and backward adjacent elements.
2020-09-12Fix Vector{2,3}i casting on Variant multiplication with numbersGeorge Marques
2020-09-11Add missing reference to const T Vector::get().Marcel Admiraal
2020-09-10Remove unused Python imports.Marcel Admiraal
2020-09-09Implement 3D textures as import and resource format.reduz
2020-09-08Change inequality comparison operators to use exact equalityAaron Franke
2020-09-08Initialise Basis elements with a default Basis in the declaration.Marcel Admiraal
Ensures a valid Basis is created with all constructors.
2020-09-07Merge pull request #38308 from bruvzg/sad_security_circusRémi Verschelde
Adds PCK encryption support (using script encryption key for export).
2020-09-07Merge pull request #38944 from Wavesonics/http-gzipFabio Alessandrelli
HttpRequest now handles gzipping response bodies
2020-09-05Adds PCK encryption support (using script encryption key for export).bruvzg
Change default encryption mode from ECB to CFB.
2020-09-04Fixed PackedByteArray GDScript functionsAdam Brown
p_self._data.packed_array needs to be used instead of p_self._data._mem printline
2020-09-04Ensure assignment operators return by reference to avoid unnecessary copies.Marcel Admiraal
2020-09-03[Complex Test Layouts] Change `String` to use UTF-32 encoding on all platforms.bruvzg
2020-09-03Ensure header guards enclose entire header.Marcel Admiraal