summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
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-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-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
2020-08-31[funexpected] clear missed remaps on deinitialization, fixes ↵Yakov Borevich
godotengine/godot#34221
2020-08-31Merge pull request #40955 from Calinou/test-add-expressionRémi Verschelde
Add a test suite for Expression
2020-08-27Add a test suite for ExpressionHugo Locurcio
This also makes the first parameter of `Expression::execute()` optional from C++. Previously, it was only optional in the scripting API.
2020-08-26Added debugger plugin supportsimpu
Changes: * EngineDebugger is exposed to gdscript. Game side of communication can be implemented through it. * EditorDebuggerPlugin is added which handles the editor side of communication.
2020-08-25Revert "Check if global class file still exists before registering it"Rémi Verschelde
And revert follow-up regression fix "Remap script path when registering class." After the regression fix, the original issue is valid again so it's better to go back to the previous state. This reverts commits e264ae20d2a828201a50868b3af334a3f8c8a37c and fceb64827ea50364f34f4ba9db3910602d1911bf.
2020-08-25Merge pull request #40443 from SkyLucilfer/PluralsSupportRémi Verschelde
Added plurals and context support to Translation
2020-08-22Improve the resource loading error message to mention the need to importHugo Locurcio
This is a common pitfall when setting up projects in a headless environment.
2020-08-21Fix new black style check failures in various files.Marcel Admiraal
2020-08-19Fix warning using ERR_FAIL_INDEX on unsigned intRémi Verschelde
This method starting being used in 079ca220e14669ef7c31c399985cd2c733af15bd, which now triggers this warning from GCC 10: ``` ./core/error_macros.h:151:25: error: comparison of unsigned expression in '< 0' is always false [-Werror=type-limits] ```
2020-08-19Update GDScriptTranslationParserPlugin to use GDSriptParser instead of RegEx.SkyJJ
2020-08-19Updated Translation architecture to have TranslationPO, did some commit ↵SkyJJ
fixes and updated class Reference.
2020-08-19Added plurals and context support to TranslationSkyJJ