summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
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-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
2022-03-18Add binary MO translation file support.bruvzg
2022-03-18Merge pull request #59257 from Calinou/key-name-backspaceRémi Verschelde
Rename the "BackSpace" and "BackTab" key strings to "Backspace"/"Backtab"
2022-03-18Rename the "BackSpace" and "BackTab" key strings to "Backspace"/"Backtab"Hugo Locurcio
2022-03-18Merge pull request #58233 from bruvzg/gde_tsRémi Verschelde
2022-03-17Merge pull request #59229 from ↵Rémi Verschelde
taigi100/Bugfix-#59215-Standard-color-name-returns-non-standard-color-code
2022-03-17Merge pull request #57675 from TokageItLab/fix-blendingRémi Verschelde
2022-03-17Update color constants to use HEX codestaigi100
2022-03-17Unify TextServer built-in module and GDExtension code.bruvzg
2022-03-16Merge pull request #59140 from reduz/physics-server-extensionRémi Verschelde
2022-03-16Fix blend animation to solve TRS track bug & blend order inconsistencySilc 'Tokage' Renew
2022-03-15Merge pull request #59153 from Calinou/debug-stringnames-improveRémi Verschelde
Improve `--debug-stringnames` to be more useful
2022-03-15Improve `--debug-stringnames` to be more usefulHugo Locurcio
- Print all StringNames, not just the top 100. - Print statistics at the end of the list of StringNames, with unreferenced and rarely referenced StringNames. - List the CLI argument in `--help` and shell completion.
2022-03-15Create GDExtension clases for PhysicsServer3Dreduz
* Allows creating a GDExtension based 3D Physics Server (for Bullet, PhysX, etc. support) * Some changes on native struct binding for PhysicsServer This allows a 3D Physics server created entirely from GDExtension. Once it works, the idea is to port the 2D one to it.
2022-03-15Merge pull request #45263 from KoBeWi/😕Rémi Verschelde
2022-03-14Include platform_config.h in thread.cpp and thread.hBartłomiej T. Listwon
2022-03-12Merge pull request #58772 from keptsecret/fix_filedialog_user_data_accessRémi Verschelde
Fix unable to change directory in user access mode
2022-03-11Merge pull request #58986 from akien-mga/diraccessrefRémi Verschelde
2022-03-11Merge pull request #58751 from bruvzg/loc_str_propsRémi Verschelde
2022-03-11Convert uses of `DirAccess *` to `DirAccessRef` to prevent memleaksRémi Verschelde
`DirAccess *` needs to be deleted manually, and this is often forgotten especially when doing early returns with `ERR_FAIL_COND`. `DirAccessRef` is deleted automatically when it goes out of scope. Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2022-03-10Merge pull request #58485 from aaronfranke/time-offsetRémi Verschelde
2022-03-10Discern between virtual and abstract class bindingsreduz
* Previous "virtual" classes (which can't be instantiated) are not corretly named "abstract". * Added a new "virtual" category for classes, they can't be instantiated from the editor, but can be inherited from script and extensions. * Converted a large amount of classes from "abstract" to "virtual" where it makes sense. Most classes that make sense have been converted. Missing: * Physics servers * VideoStream * Script* classes. which will go in a separate PR due to the complexity involved.
2022-03-10Merge pull request #58690 from elmordo/bugfix-57553-gdextension-inheritance-fixRémi Verschelde
2022-03-10Merge pull request #58946 from akien-mga/remove-unused-bullet-codeRémi Verschelde
Remove unused Bullet module and thirdparty code