summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2022-04-12Merge pull request #60078 from Pineapple/cowdata-get-dataRémi Verschelde
Remove get_data() from CowData
2022-04-12Remove or make private `FileAccess` `close()` methods.bruvzg
2022-04-12Narrow FileAccess scope to prevent deadlocks.bruvzg
2022-04-11Merge pull request #53573 from Klowner/53568-safelist-leak-fixRémi Verschelde
2022-04-11Merge pull request #60046 from Zylann/print_line_functionRémi Verschelde
2022-04-11Make FileAccess and DirAccess classes reference counted.bruvzg
2022-04-09Remove get_data() from CowDataBartłomiej T. Listwon
2022-04-09Changed print_line macro to a functionMarc Gilleron
2022-04-08add SafeList destructor which calls maybe_cleanup() to prevent mem leakMark Riedesel
2022-04-08Merge pull request #59324 from Zylann/fix_fvec_array_binary_loadRémi Verschelde
Fix loading binary resources with float=64
2022-04-08Fix loading binary resources with float=64Marc Gilleron
- PackedVector2Array - PackedVector3Array - PackedColorArray
2022-04-06Fix some issues found by cppcheck.bruvzg
2022-04-05Fix DynamicBVH crash after #59867Rémi Verschelde
I made a wrong assumption that initialization the other pointer in the union would properly initialize the `childs` array.
2022-04-04Zero initialize all pointer class and struct membersRémi Verschelde
This prevents the pitfall of UB when checking if they have been assigned something valid by comparing to nullptr.
2022-04-03Merge pull request #59633 from EricEzaM/better-code-complete-updateRémi Verschelde
Improve sorting of Code Completion options.
2022-04-01Improve sorting of Code Completion options.Eric M
Done by ordering options by their location in the code - e.g. local, parent class, global, etc.
2022-03-31Fix some issues found by clang sanitizers.bruvzg
2022-03-31Fix typos with codespellRémi Verschelde
Using codespell 2.2-dev from current git. Fix a couple incorrect uses of gendered pronouns.
2022-03-30Merge pull request #58436 from piiertho/feature/typed-vararg-method-bindRémi Verschelde
2022-03-30Make vararg method bind no return and returnPierre-Thomas Meisels
Type emit_signal exposed method return type set UndoRedo add_do_method and add_undo_method exposed return void Set TreeItem::_call_recursive_bind returns void Set _rpc_bind and _rpc_id_bind returns void in Node Set _call_group and _call_group_flags method returns void in SceneTree Set godot-cpp-test CI flag to false
2022-03-30Add PortableCompressedTexturereduz
* Resource that allows saving textures embedded in scenes or standalone. * Supports only formats that are portable: Lossy, Lossles or BasisUniversal This is something I wanted to add for a long time. I made it now because @fire requires it for importing GLTF2 files with embedded textures, but also this will allow saving Godot scenes as standalone binary files that will run in all platforms (because textures will load everywhere). This is ideal when you want to distribute individual standalone assets online in games that can be built from Godot scenes.
2022-03-29Merge pull request #58608 from KoBeWi/metadefaultRémi Verschelde
2022-03-28String: Remove TTR and DTR defines in non-tools buildRémi Verschelde
This ensures we don't use TTR in runtime code, as it's specifically meant to source translations for the editor.
2022-03-28Merge pull request #59548 from akien-mga/obj-remove-unused-categoriesRémi Verschelde
2022-03-28Merge pull request #59456 from Calinou/color-expose-to-linear-srgbRémi Verschelde
2022-03-28Merge pull request #59553 from reduz/script-extension-supportRémi Verschelde
2022-03-28Revert "Sort autocomplete/code completion options in a better way"Juan Linietsky
2022-03-28Expose Color's `to_linear()` and `to_srgb()` to scriptingHugo Locurcio
2022-03-28Merge pull request #59611 from mashumafi/const-ref-callableRémi Verschelde
Const Ref Callable for custom sort/search
2022-03-28Merge pull request #58931 from EricEzaM/proposals/4189-better-code-completionRémi Verschelde
Sort autocomplete/code completion options in a better way
2022-03-28Merge pull request #59600 from Bromeon/feature/extension_to_stringRémi Verschelde
GDExtension: change to_string signature to accept `GDNativeStringPtr` instead of returning `const char*`
2022-03-27Const Ref Callable for custom sort/searchmashumafi
2022-03-27GDExtension: change to_string signature to accept GDNativeStringPtr instead ↵Jan Haller
of returning const char*
2022-03-27Add GDExtension support to Scriptreduz
* Ability to create script languages from GDExtension * Some additions to gdnative_extension.h to make this happen * Moved the GDExtension binder to core This now allows creating scripting languages from GDExtension, with the same ease as if it was a module. It replaces the old PluginScript from Godot 3.x. Warning: GodotCPP will need to be updated to support this (it may be a bit of work as ScriptInstance needs to be created over there again).
2022-03-27Rename warp mouse functions to warp_mouseMarkus Sauermann
2022-03-26Object: Remove unused category boilerplateRémi Verschelde
We might want to re-add something like this if/when we find a good use case for it and do the effort to categorize all objects in the API properly. Until then, it's better to remove that boilerplate since it's not needed. Closes #18711.
2022-03-25Merge pull request #59452 from reduz/refactor-metadataRémi Verschelde
2022-03-24Refactor Object metadatareduz
* API kept the same (Although functions could be renamed to set_metadata/get_metadata in a later PR), so not much should change. * Metadata now exposed as individual properties. * Properties are editable in inspector (unless metadata name begins with _) under the metadata/ namespace. * Added the ability to Add/Remove metadata properties to the inspector. This is a functionality that was requested very often, that makes metadata work a bit more similar to custom properties in Blender.
2022-03-24Improve sorting of Code Completion options.Eric M
Done by ordering options by their location in the code - e.g. local, parent class, global, etc.
2022-03-23Increase the maximum number of concurrent DNS queries from 32 to 256Hugo Locurcio
This makes the following error message less likely to be printed when performing many concurrent HTTP requests: Condition ' resolving == IP::RESOLVER_INVALID_ID ' is true. returned: ERR_BUG
2022-03-23Merge pull request #59437 from lawnjelly/bvh_check_invalid_handlesRémi Verschelde
2022-03-23Add protective checks for invalid handle use in BVHlawnjelly
Adds DEV_ASSERTS that will halt at runtime if the BVH is misused with invalid IDs, and adds ERR_FAIL macros to prevent calling with invalid IDs. Any such misuse is a bug in the physics, but this should flag any errors quickly.
2022-03-23Fix crash when exporting projects with shared librariesHaoyu Qiu
2022-03-22Merge pull request #59314 from reduz/add-static-methods-to-classdbRémi Verschelde
2022-03-22Add static method support to ClassDBreduz
* Based on the work done for Variant in the past. * Added `ClassDB::bind_static_method` * Cleaned up ClassDB::bind_method to use variadic templates. This adds support for having static methods in Object derived classes. Note that this does not make it work yet in GDScript or Mono and, while it works for GDExtension, GodotCPP needs to be updated.
2022-03-22Add optional 'default' argument to get_meta()kobewi
2022-03-22Merge pull request #59354 from Chaosus/astar3dRémi Verschelde
2022-03-22Merge pull request #59276 from bruvzg/mo_transRémi Verschelde
2022-03-20Rename `AStar` to `AStar3D`Yuri Roubinsky
2022-03-20Ensure minimum modifiers are pressed when matching actionsMarcel Admiraal