summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2022-09-30Merge pull request #64784 from yedpodtrzitko/yed/ci-add-mypyRémi Verschelde
ci: add Python static analysis check via mypy
2022-09-30Merge pull request #65970 from GuilhermeGSousa/synchronizer-auth-changeRémi Verschelde
Add warning for synchronizer authority mismatch
2022-09-30Merge pull request #64717 from Chaosus/gds_fix_param_completionYuri Rubinsky
2022-09-30Fix completion of parameters in function callYuri Rubinsky
2022-09-30Fix typos with codespellRémi Verschelde
Using codespell 2.3-dev from current git. And fix typo in `methods.py` for `vsproj=yes` option (still won't work though).
2022-09-30ci: add Python static analysis check via mypyJiri Suchan
2022-09-30Add Error for synchronizer authority mismatchGuilherme Sousa
2022-09-30Merge pull request #66242 from akien-mga/scons-unify-tools-targetRémi Verschelde
2022-09-29Merge pull request #66534 from ↵Rémi Verschelde
akien-mga/scons-msvc-graphite-silence-c++17-deprecation-warnings SCons: Silence MSVC C++17 deprecation warnings in Graphite
2022-09-28Merge pull request #66545 from akien-mga/msvc-warnings-c4324-c4389-c4456-c4459Rémi Verschelde
Fix MSVC warnings C4324, C4389, C4456, and C4459
2022-09-28Merge pull request #66542 from akien-mga/msvc-warning-c4706Rémi Verschelde
Fix MSVC warning C4706: assignment within conditional expression
2022-09-28Merge pull request #66525 from Calinou/doc-gdscript-get-stack-debug-instanceRémi Verschelde
Document `print_stack()` and `get_stack()` requiring a debugger connection
2022-09-28Merge pull request #66532 from bruvzg/mipmap_changeRémi Verschelde
[Text Server] Clear textures after "generate mipmaps" property change.
2022-09-28Fix MSVC warnings C4324, C4389, C4456, and C4459Rémi Verschelde
Part of #66537.
2022-09-28Fix MSVC warning C4706: assignment within conditional expressionRémi Verschelde
Part of #66537.
2022-09-28SCons: Silence MSVC C++17 deprecation warnings in GraphiteRémi Verschelde
Fixes #66497.
2022-09-28Document `print_stack()` and `get_stack()` requiring a debugger connectionHugo Locurcio
2022-09-28Merge pull request #66492 from bruvzg/gde_ts_underscrRémi Verschelde
[GDExtension] Use function names with underscore for TextServer extension, add macros to generate wrappers for module functions.
2022-09-28[Text Server] Clear textures after "generate mipmaps" property change.bruvzg
2022-09-28Merge pull request #66490 from timothyqiu/navmap-reallocRémi Verschelde
get_path()`
2022-09-28Merge pull request #65898 from konczg/add_passthrough_extension_wrapperRémi Verschelde
Add passthrough extension wrapper
2022-09-28[GDExtension] Use function names with underscore for TextServer extension, ↵bruvzg
add macros to generate wrappers for module functions.
2022-09-28Fix heap-use-after-free in `NavMap::get_path()`Haoyu Qiu
2022-09-27SCons: Fix MSVC warning LNK4042 about dupe objects in regexRémi Verschelde
2022-09-27Add Passthrough extension wrapperGabor Koncz
2022-09-27Merge pull request #66160 from dpalais/double_timeRémi Verschelde
Use double instead of real_t type for time-related parameters and variables
2022-09-27Merge pull request #66282 from BastiaanOlij/openxr_palm_poseRémi Verschelde
Add OpenXR palm pose extension support
2022-09-27Merge pull request #65074 from MewPurPur/booleans-highlighting-fixRémi Verschelde
Fix highlighting after value keywords
2022-09-26Change time parameters and variables to double typeDave Palais
Addresses #65313
2022-09-26SCons: Unify tools/target build type configurationRémi Verschelde
Implements https://github.com/godotengine/godot-proposals/issues/3371. New `target` presets ==================== The `tools` option is removed and `target` changes to use three new presets, which match the builds users are familiar with. These targets control the default optimization level and enable editor-specific and debugging code: - `editor`: Replaces `tools=yes target=release_debug`. * Defines: `TOOLS_ENABLED`, `DEBUG_ENABLED`, `-O2`/`/O2` - `template_debug`: Replaces `tools=no target=release_debug`. * Defines: `DEBUG_ENABLED`, `-O2`/`/O2` - `template_release`: Replaces `tools=no target=release`. * Defines: `-O3`/`/O2` New `dev_build` option ====================== The previous `target=debug` is now replaced by a separate `dev_build=yes` option, which can be used in combination with either of the three targets, and changes the following: - `dev_build`: Defines `DEV_ENABLED`, disables optimization (`-O0`/`/0d`), enables generating debug symbols, does not define `NDEBUG` so `assert()` works in thirdparty libraries, adds a `.dev` suffix to the binary name. Note: Unlike previously, `dev_build` defaults to off so that users who compile Godot from source get an optimized and small build by default. Engine contributors should now set `dev_build=yes` in their build scripts or IDE configuration manually. Changed binary names ==================== The name of generated binaries and object files are changed too, to follow this format: `godot.<platform>.<target>[.dev][.double].<arch>[.<extra_suffix>][.<ext>]` For example: - `godot.linuxbsd.editor.dev.arm64` - `godot.windows.template_release.double.x86_64.mono.exe` Be sure to update your links/scripts/IDE config accordingly. More flexible `optimize` and `debug_symbols` options ==================================================== The optimization level and whether to generate debug symbols can be further specified with the `optimize` and `debug_symbols` options. So the default values listed above for the various `target` and `dev_build` combinations are indicative and can be replaced when compiling, e.g.: `scons p=linuxbsd target=template_debug dev_build=yes optimize=debug` will make a "debug" export template with dev-only code enabled, `-Og` optimization level for GCC/Clang, and debug symbols. Perfect for debugging complex crashes at runtime in an exported project.
2022-09-26Merge pull request #60313 from BastiaanOlij/xr_hand_trackingRémi Verschelde
Adding OpenXR hand tracking support
2022-09-26Merge pull request #66434 from bruvzg/rtl_fix_def_otRémi Verschelde
[RTL] Fix font variations / OpenType features of theme default font not updated when default font is changed.
2022-09-26Merge pull request #66366 from asmaloney/script-fix-redundant-ifRémi Verschelde
_parse_function()
2022-09-26Style: Cleanup header guards for consistencyRémi Verschelde
Fix file names for {Static,Lightmap}RaycasterEmbree.
2022-09-26[RTL] Fix font variations / OpenType features of theme default font not ↵bruvzg
updated when default font is changed.
2022-09-26Adding OpenXR hand tracking supportBastiaan Olij
2022-09-26Merge pull request #65798 from kisg/dynamic_openxr_loaderRémi Verschelde
Dynamic loading of OpenXR Loader on Android
2022-09-26Merge pull request #66418 from bruvzg/font_fb_orderRémi Verschelde
[TextServer] Always prefer main font over fallbacks, regardless of script/language support.
2022-09-26Merge pull request #65717 from Ithamar/feat-tga-16bitsRémi Verschelde
Add 16-bits TGA support
2022-09-25[TextServer] Always prefer main font over fallbacks, regardless of ↵bruvzg
script/language support.
2022-09-25Fix out of sync when the script is edited externally via lspRindbee
Previously, external editing via lsp would modify the modified time of the script, which caused the internal display of the script to not be refreshed when refocusing the engine. Now saving the script externally via lsp will automatically refresh the internal display.
2022-09-25Merge pull request #63224 from Rindbee/update-GDScript-cacheRémi Verschelde
Load/update GDScript from disk on load if cache mode is CACHE_MODE_IGNORE
2022-09-25Merge pull request #66306 from Razoric480/raz/null-stringRémi Verschelde
Prevent a crash in the LSP when a function's return datatype is not resolved
2022-09-24Remove redundant "if" condition in GDScriptCompiler::_parse_function()Andy Maloney
Looking at the original PR, I believe this is the original intent, but it now means that previously dead code is now executed.
2022-09-24Dynamic loading of OpenXR Loader on AndroidGergely Kis
This change implements dynamic loading of the OpenXR Loader library on Android. If an OpenXR Loader library is not found, Godot will still function with OpenXR disabled. Also, on every platform, the OpenXR symbols are resolved at runtime using xrGetInstanceProcAddr. On Windows and Linux the OpenXR loader is included in the main engine binary. On Android, the OpenXR Loader is not built with the engine. Separately distributed Android plugins will be provided with the correct loader library for each device. Co-authored-by: Gábor Pál Korom <gabor.p.korom@migeran.com> Co-authored-by: Gábor Koncz <gabor.koncz@migeran.com>
2022-09-24Load/update GDScript from disk on load if cache mode is CACHE_MODE_IGNORERindbee
2022-09-23Remove unused includes & move some includes to top of fileAndy Maloney
2022-09-23Prevent null crash when datatype not resolvedFrancois Belair
2022-09-23SCons: Cleanup `DEBUG`, `_DEBUG` and `NDEBUG` definesRémi Verschelde
- `_DEBUG` is MSVC specific so it didn't make much sense to define for Android and iOS builds. - iOS was the only platform to define `DEBUG`. We don't use it anywhere outside thirdparty code, which we usually don't intend to debug, so it seems better to be consistent with other platforms. - Consistently define `NDEBUG` to disable assert behavior in both `release` and `release_debug` targets. This used to be set for `release` for all platforms, and `release_debug` for Android and iOS only. - Due to the above, I removed the only use we made of `assert()` in Godot code, which was only implemented for Unix anyway, should have been `DEV_ENABLED`, and is in PoolAllocator which we don't actually use. - The denoise and recast modules keep defining `NDEBUG` even for the `debug` target as we don't want OIDN and Embree asserting all over the place.
2022-09-23Add OpenXR palm pose extension supportBastiaan Olij