summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
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-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"
2022-03-07Protection for array operator for Vector2 / 3 in DEV buildslawnjelly
A previous PR had changed the array operator to give unbounded access. This could cause crashes where old code depended on this previous safe behaviour. This PR adds DEV_ASSERT macros for out of bound access to DEV builds, allowing us to quickly identify bugs in calling code, without affecting performance in release or release_debug editor builds.
2022-03-07Merge pull request #57930 from piiertho/bugfix/add-none-flag-to-resource-saverRémi Verschelde
2022-03-07Fix ResourceSaver::save method exposition flag parameterPierre-Thomas Meisels
enh: Add FLAG_NONE to SaverFlags in ResourceSaver to fix api inconsistency fix: flags parameter of ResourceSaver::save is now uint32_t to allow flag composition in scripts
2022-03-07Merge pull request #57812 from piiertho/bugfix/add-none-enum-global-constantsRémi Verschelde
2022-03-07bugfix: bind core enums' none valuesPierre-Thomas Meisels
2022-03-06Add a UniformSet cachereduz
* Changed syntax usage for RD::Uniform to create faster with a single RID * Converted render pass setup to use this in clustered renderer to test. This is the first step into creating a proper uniform set cache system to simplify large parts of the codebase.
2022-03-04Merge pull request #57630 from lawnjelly/bvh4_templated_checksRémi Verschelde
[4.x] BVH - Sync BVH with 3.x
2022-03-04Improve app name and system permission message localization.bruvzg
Add localizable string (Dictionary<Lang Code, String>) property editor and property hint. Add localized "app name" property to the project settings. Add localized permission and copyright properties to the macOS and iOS export settings. Remove some duplicated ("app name") and deprecated ("info") macOS and iOS export properties.
2022-03-04Merge pull request #58673 from Calinou/smooth-trimesh-collision-always-settingRémi Verschelde
2022-03-02fix of reading property list from custom nodes imported from GDExtension ↵Ing. Petr Jindra
when inheritance between custom nodes is used
2022-03-02Always register the Smooth Trimesh Collision project settingHugo Locurcio
This ensures the project setting never disappears from the editor, even if the current physics engine is GodotPhysics. This also adds documentation for the Smooth Trimesh Collision project setting.
2022-03-02Remove `TTRC()` with empty stringHaoyu Qiu
Fixes "duplicate message definition" when extracting messages.
2022-03-01Fix `UndoRedo::create_action()` invalid memory usageHaoyu Qiu
2022-03-01Merge pull request #58629 from groud/fix_native_extion_init_orderRémi Verschelde
2022-03-01Merge pull request #58488 from lawnjelly/float_literals_castsRémi Verschelde
2022-02-28Reorder native extension types initialization, initializing editor lastGilles Roudière
2022-02-26Use is_zero_approx and fix spelling in CameraMatrix invertAaron Franke
2022-02-25Print every file exported with `PCKPacker.flush()`s verbose parameterHugo Locurcio
Previously, only one line per 100 files was printed. This also refactors the print statement to use Godot methods and make it more informative overall.
2022-02-24Optimize String concatenation and copy functionsBartłomiej T. Listwon
2022-02-24Float literals - fix main primitives to use real_t castinglawnjelly
Uses (real_t) casting to ensure appropriate calculations are done in 32 bit where real_t is compiled as 32 bit.
2022-02-23Add offset string from minutes conversion method to Time singletonAaron Franke
2022-02-22Merge pull request #58331 from poiati/fix-extension-registration-order-2Rémi Verschelde
2022-02-21Merge pull request #58350 from kidrigger/patch-1Rémi Verschelde
2022-02-20Fix extension registration order.Paulo Poiati
2022-02-20Resolving suggestions on comment formatting.Anish Bhobe
2022-02-20Sync controller mappings DB with SDL2 community repoRémi Verschelde
Synced with gabomdq/SDL_GameControllerDB@94b76208bc07a62a63575bc16da99411d325aac8
2022-02-20Merge pull request #58329 from Powerbyte7/patch-1Rémi Verschelde
2022-02-20Fixing iteration for extension level loading.Anish Bhobe
Extensions are not getting instantiating properly due to iteration calling the wrong levels for loading.
2022-02-19[HTML5] Add Stadia controller to databasePowerbyte7
Add web support for the Stadia controller.
2022-02-19Core: Use forward declares for Vector3/Vector3iRémi Verschelde
Add add Vector3 operator in Vector3i.