summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
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
2020-09-03Merge pull request #41460 from Calinou/improve-resource-load-fail-messageRémi Verschelde
Improve the resource loading error message to mention the need to import
2020-09-03Merge pull request #40400 from Arivval/load-resourcepack-with-offsetRémi Verschelde
Added PCK file loading with offset feature
2020-09-02added load resource pack with offset featureYilin Ma
updated variables to use size_t removed line break to make code style more consistent added conditional check to return an error if offset field is used when loading a ZIP package fixed typo formatted file added commit regarding self contained exe files handled error loging for load zip file with offset spelling tweak updated conditional statement for magic check udpated error message when load Zip file with offset is called fix CI Trying to fix CI fix CI done Added error message for loading self-contained exe with offset. Updated documentation. Fix indent final fix indent Updated documentation. fix indents Updated doc based on suggestion Final fix fixed format
2020-09-02HTTPRequest now accepts gzipAdam Brown
Added request_raw to HttpRequest Added decompress_dynamic to Compression class Added decompress_dynamic to BytePoolArray Merge doc fix revert
2020-09-02Add VariantInternal classGeorge Marques
This is used to get a direct pointer for the data inside a Variant. Added as another class instead of in Variant directly because this should only be used in special cases, so use must be explicit.
2020-09-02Register GDScript test tools as test commands to run via command-lineAndrii Doroshenko (Xrayez)
2020-09-01Fix invalid CSV in SDL2 controller mappings DBRémi Verschelde
Follow-up to a61cae14696732fca214902161f40450dec2f9cd.
2020-09-01Merge pull request #41669 from strank/hardcoded-op-maxRémi Verschelde
Fix hard-coded OP_MAX in variant_op.cpp
2020-09-01Merge pull request #40868 from aaronfranke/color-html-rgbaRémi Verschelde
Change Color HTML conversion from ARGB to RGBA
2020-09-01Sync controller mappings DB with SDL2 community repoRémi Verschelde
Synced with gabomdq/SDL_GameControllerDB@d148c6ce4987e0cf58da8100c675eb5db8e43dfe.
2020-09-01Fix hard-coded OP_MAX in variant_op.cppstrank
2020-09-01Simplify html_is_valid and allow it to work with 3 and 4 hex digitsAaron Franke
2020-09-01Change Color HTML conversion from ARGB to RGBAAaron Franke
Also add support for 3 and 4 digit values in C#. Now it actually matches the HTML/CSS spec.
2020-08-31Merge pull request #41635 from jkb0o/masterRémi Verschelde
Clear missed remaps on deinitialization