summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2020-10-23Shows ColorRect in Color constants autocompletionYuri Roubinsky
2020-10-22Fix invalid method namesRafał Mikrut
2020-10-22Merge pull request #43000 from vnen/variant-internal-method-nameGeorge Marques
Add name and base type to Variant::InternalMethod (on debug)
2020-10-22Add name and base type to Variant::InternalMethod (on debug)George Marques
This is useful to showing error messages when a pointer to an InternalMethod is the only information available.
2020-10-22Favor project.binary over project.godotTomasz Chabora
2020-10-18Refactor MethodBind to use variadic templatesreduz
Removed make_binders and the old style generated binders.
2020-10-15Merge pull request #42315 from lyuma/command_queue_fixRémi Verschelde
core/command_queue_mt.h: Fix crash/hang when buffer fills up
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-12core/command_queue_mt: Fix crash/hang when buffer fills upLyuma
This patch fixes two related issues. One is the race condition in issue #42107.. The other is a crash which happens when the reader is lapped near the end of the buffer.
2020-10-12core/command_queue_mt: Customizable size and testsLyuma
Adds unit tests for command_queue_mt.h/cpp In this revision, some unit tests will fail due to issue #42107.
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