summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
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-27Rename warp mouse functions to warp_mouseMarkus Sauermann
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
2022-03-09fixed unable to change directory in user access modekeptsecret
2022-03-09Fix UndoRedo method call argument count after #58929Rémi Verschelde
2022-03-09Remove unused Bullet module and thirdparty codeRémi Verschelde
It has been disabled in `master` since one year (#45852) and our plan is for Bullet, and possibly other thirdparty physics engines, to be implemented via GDExtension so that they can be selected by the users who need them.
2022-03-09Remove VARIANT_ARG* macrosreduz
* Very old macros from the time Godot was created. * Limited arguments to 5 (then later changed to 8) in many places. * They were replaced by C++11 Variadic Templates. * Renamed methods that take argument pointers to have a "p" suffix. This was used in some places and not in others, so made it standard. * Also added a dereference check for Variant*. Helped catch a couple of bugs.
2022-03-09Change some math macros to constexprkobewi
Changes `MAX`, `MIN`, `ABS`, `CLAMP` and `SIGN`.
2022-03-07VariantUtility: Unexpose `Math::range_step_decimals`Rémi Verschelde
This method was meant only as a convenience for editor code to allow using a step of 0 to disable snapping. It was exposed by mistake when refactoring GlobalScope.
2022-03-07Merge pull request #58859 from godotengine/revert-57972-fix_has_setting4Rémi Verschelde
2022-03-07Revert "Fix ProjectSettings has_setting() when used on a overriden setting ↵Rémi Verschelde
with feature tags"