summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-02-08SCons: Add `fast_unsafe` option for faster rebuildsRémi Verschelde
This reverts #53828 which had caused a significant drop in incremental rebuild time for debug builds (from 10s to 23s on my laptop). The "faster but unsafe" options are re-added, as well as adding `max_drift=60` which we didn't use previously. These options speed up SCons' own processing of the codebase to decide what to build/rebuild (i.e. the first step before actually calling the compiler). This will therefore not make much difference for scratch builds, and is mostly useful for incremental rebuilds (including "null" rebuilds with no change). These options are enabled automatically for `debug` builds, unless `fast_unsafe=no` is passed. They are disabled by default for `release` and `release_debug` builds, unless `fast_unsafe=yes` is passed.
2022-02-08Merge pull request #57798 from akien-mga/scons-module-tests-simplifyRémi Verschelde
2022-02-08Merge pull request #57692 from YeldhamDev/popping_optionsRémi Verschelde
2022-02-08Merge pull request #40140 from hinlopen/tree-scroll-centerRémi Verschelde
2022-02-08Merge pull request #56923 from fire-forge/fix-create-root-node-scrollingRémi Verschelde
2022-02-08SCons: Improve logic to generate `modules_tests.gen.h`Rémi Verschelde
This removes the need for `AlwaysBuild` by ensuring that the proper files are being tracked as `Depends`.
2022-02-08Merge pull request #57786 from 0And/vectorslerpRémi Verschelde
2022-02-08Merge pull request #57797 from bruvzg/mac_no_focusRémi Verschelde
2022-02-08[macOS] Fix NO_FOCUS macOS flag.bruvzg
2022-02-08Merge pull request #57066 from KoBeWi/in_the_name_of_the_customRémi Verschelde
2022-02-08Merge pull request #57788 from reduz/describe-sname-usageRémi Verschelde
2022-02-08Merge pull request #57796 from akien-mga/revert-sname-theme-settersRémi Verschelde
2022-02-08Merge pull request #57795 from bruvzg/gde_missing_bindsRémi Verschelde
2022-02-08Merge pull request #57720 from akien-mga/prefer-cast-to-get_class-string-compareRémi Verschelde
2022-02-08Merge pull request #57791 from timothyqiu/raycast-clear-exceptRémi Verschelde
2022-02-08Merge pull request #57794 from bruvzg/x11_fs_fixRémi Verschelde
2022-02-08Merge pull request #57790 from bruvzg/fix_fs_detectRémi Verschelde
2022-02-08Re-add missing `SNAME` macros in `get_theme_*` callsRémi Verschelde
They were removed in the previous commit reverting the addition of `SNAME` to `add_theme_*` and theme setter methods, which is not wanted.
2022-02-08Revert "Add missing SNAME macro optimization to all theme methods call"Rémi Verschelde
This reverts commit a988fad9a092053434545c32afae91ccbdfbe792. As discussed in #57725 and clarified in #57788, `SNAME` is not meant to be used everywhere but only in critical code paths. For theme methods specifically, it was by design that only getters use `SNAME` and not setters.
2022-02-08Refactor some object type checking code with `cast_to`Rémi Verschelde
Less stringly typed logic, and less String allocations and comparisons.
2022-02-08[X11] Fix decoration reset when returning from fullscreen mode.bruvzg
2022-02-08[Windows] Fix fullscreen mode detection on window move/resize.bruvzg
2022-02-08Fix RayCast{2,3}D.clear_exceptions clears parentHaoyu Qiu
2022-02-08Clarify SNAME usagereduz
* Explain where it should be used, with examples. * Clarify that it should _not_ be used everywhere, only where needed. * Supersedes #57720 This PR is the result of the discussion that happened in a contractor meeting, and it attempts to clarify the intended use for this macro for other contributors. As a personal note, It is my view that other approaches to using SNAME (like having a global or per class table of string names) are mere overengineering without any real benefit (performance remains the same, and usage of stringnames becomes more cumbersome. Additionally, there was not any significant amount of errors in name mismatching as a result of using strings since Godot was open sourced).
2022-02-08Merge pull request #43015 from Xrayez/refactor-auto-instapropRémi Verschelde
Refactor auto-instantiation of `Object` properties in editor
2022-02-08[GDExtension] Add binds for missing methods, operators, and constants ↵bruvzg
required for GDExtension TextServer implementation.
2022-02-08Merge pull request #57785 from TechnicalSoup/ClassRefPatch2Rémi Verschelde
Add method descriptions to Color class reference
2022-02-07Allow C# Vector2/3 slerp values to have any lengthAndrew Jacob
2022-02-08Add method descriptions to Color Class ReferenceTechnicalSoup
Add definitions and code examples for the html and html_is_valid methods
2022-02-07Merge pull request #57775 from TechnicalSoup/ClassRefPatchRémi Verschelde
Add method description to Vector3i Class Reference
2022-02-08Add method description to Vector3i Class ReferenceTechnicalSoup
Add description for the abs method in the Vector3i class. Description added is identical to the abs method for the other vector classes
2022-02-07Merge pull request #57766 from ↵Rémi Verschelde
winterpixelgames/master-faster-script-class-get-parent
2022-02-07Use ScriptServer::get_global_class_base instead of script_class_get_base in ↵Jason Knight
script_class_is_parent.
2022-02-07Merge pull request #57764 from timothyqiu/octant-deleteRémi Verschelde
2022-02-07Merge pull request #57752 from Calinou/doc-csg-nodes-performanceRémi Verschelde
2022-02-08Fix GridMap memory leakHaoyu Qiu
2022-02-07Document performance limitations with CSG nodes, link to tutorialHugo Locurcio
2022-02-07Merge pull request #56768 from YeldhamDev/dock_float_themeRémi Verschelde
2022-02-07Merge pull request #53704 from Faless/mp/4.x_gdscript_custom_callableFabio Alessandrelli
[GDScript] Implement RPC custom callable (`my_func.rpc()`)
2022-02-07Fix script editor errors with CustomCallableskobewi
2022-02-07Merge pull request #57736 from TechnicalSoup/Patch-3Rémi Verschelde
2022-02-07Fix theming for floating window docksMichael Alexsander
2022-02-07[Net] Add type check to GDScriptRPCCallable.Fabio Alessandrelli
It will print an error when using an RPC defined on an object which does not extend Node.
2022-02-07[Net] Implement GDScript custom RPC callable.Fabio Alessandrelli
2022-02-07Merge pull request #57305 from bruvzg/macos_cleanupRémi Verschelde
2022-02-07Merge pull request #57490 from Calinou/test-add-animationRémi Verschelde
2022-02-07Merge pull request #57748 from fabriceci/rename-script-template-variableRémi Verschelde
2022-02-07Merge pull request #57718 from Faless/js/4.x_pwa_prefer_cache_prRémi Verschelde
2022-02-07Merge pull request #57749 from timothyqiu/feature-class-propsRémi Verschelde
2022-02-07Fix icons for sub windowsTechnicalSoup
Modify the create_sub_window method to set an icon for all sub windows, setting the icon to the same icon as the main window. Co-Authored-By: Rémi Verschelde <rverschelde@gmail.com>