summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2022-10-10SCons: Re-enable treating `#warning` as error with `werror`Rémi Verschelde
Replace all TODO uses of `#warning` by proper TODO comments, and will open matching bug reports to keep track of them. We don't have a great track record fixing TODOs, but I'd wager we're even worse for fixing these "TODO #warning" so we should prohibit this usage.
2022-10-10SCons: Cleanup GCC warnings configurationRémi Verschelde
- Outright disable spammy warnings due to past or present GCC bugs: * `-Wno-strict-overflow` for GCC 7. * `-Wno-type-limits` for GCC before 11 (regressed in 9/10, might work in earlier releases but at this stage we don't care). * `-Wno-return-type` for GCC 12/13 (regression, still not fixed). - Enable extra warnings conditionally when broken on earlier GCC: * `-Wnoexcept` was removed due to an upstream regression in GCC 9, could be re-enabled (but commented out for now as we actually have `-Wnoexcept` warnings to fix. * `-Wlogical-op` was broken on our variadic templates before GCC 11, now seems fine.
2022-10-10Merge pull request #66774 from touilleMan/fix-variant-type-in-extension-api-dumpRémi Verschelde
Fix Variant types displayed as `Nil` in extension_api.json
2022-10-10Fix extension_api.json Variant types incorrectly displayed as `Nil`Emmanuel Leblond
2022-10-10Merge pull request #66584 from rune-scape/rune-validated-call-obj-bugRémi Verschelde
Fix unset `ObjectID` with validated `get_object()` call
2022-10-10Defer clearing of ResourceUID cache and silence warningskobewi
2022-10-10Merge pull request #67165 from ↵Rémi Verschelde
touilleMan/gdextension-remove-GDNativeExtensionClassObjectInstance Remove unused `GDNativeExtensionClassObjectInstance` type def from GDExtension
2022-10-10Merge pull request #67131 from KoBeWi/simplify_the_simplifyRémi Verschelde
Fix `simplify_path()` breaking `uid://`
2022-10-10Remove unused `GDNativeExtensionClassObjectInstance` type def from GDExtensionEmmanuel Leblond
2022-10-09Fix simplify_path() breaking uid://kobewi
2022-10-09Fix Array.`slice()` and `filter()` forgetting Typed ArrayMicky
2022-10-08Validate input in `ScriptServer::register_language`Haoyu Qiu
2022-10-07Use float literals for float calculations in ColorAaron Franke
2022-10-07Fix more MSVC C4702 (unreachable code) warningsRémi Verschelde
2022-10-07Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵bruvzg
change warnings=all to use /W4.
2022-10-06Merge pull request #66962 from aaronfranke/core-struct-includesRémi Verschelde
Enhancements to includes in core data structures
2022-10-06Merge pull request #64815 from RandomShaper/default_cpu_countRémi Verschelde
Improve default `OS`'s CPU count getter
2022-10-05Enhancements to includes in core data structuresAaron Franke
2022-10-05Keep a single, portable implementation of `OS::get_processor_count()`Pedro J. Estébanez
2022-10-05free NativeExtensionMethodBinds on unregisterWaridley
2022-10-05Merge pull request #64819 from RandomShaper/enhance_thread_funcsRémi Verschelde
Enhance portability of threading
2022-10-05Merge pull request #66839 from aaronfranke/editor-prop-hide-sliderRémi Verschelde
Fix `hide_slider` vs `no_slider` inconsistency in editor property code
2022-10-05Merge pull request #66886 from akien-mga/error-print-cleanupRémi Verschelde
Logger: Don't print error twice on `ERR_PRINT`
2022-10-05Merge pull request #66898 from aaronfranke/proj-mat-columnsRémi Verschelde
Rename Projection `matrix` to `columns`
2022-10-04Improve dictionary printing to avoid confusion with arraysHugo Locurcio
- Add leading and trailing spaces within dictionaries, as the `{}` characters are hard to distinguish from `[]` on some fonts. This is especially helpful with empty arrays and dictionaries.
2022-10-04Rename Projection `matrix` to `columns`Aaron Franke
2022-10-04Logger: Don't print error twice on `ERR_PRINT`Rémi Verschelde
Also fix broken `ERR_PRINT_ED` macro and simplify comments. For the record these macros aren't used yet, they're intended to be used where needed to surface messages in the toaster when useful to end users, but we haven't done that codebase review yet.
2022-10-04Enhance portability of threadingPedro J. Estébanez
2022-10-04Merge pull request #66274 from Calinou/engine-rename-max-fpsRémi Verschelde
Rename `Engine.target_fps` and associated project setting to `max_fps`
2022-10-04Merge pull request #66804 from akien-mga/core-remove-NO_SAFE_CASTRémi Verschelde
Remove unsupported `NO_SAFE_CAST`/`-fno-rtti` from Android build
2022-10-03Rename `Engine.target_fps` and associated project setting to `max_fps`Hugo Locurcio
This makes the setting easier to find, as research has found there are numerous use cases to limiting FPS. This also improves documentation related to the Engine property and project setting. The project setting also works in projects exported in release mode, so its location in the `debug/` section was misleading.
2022-10-03Fix hide_slider vs no_slider inconsistency in editor property codeAaron Franke
2022-10-03Merge pull request #66803 from akien-mga/core-remove-NO_THREADSRémi Verschelde
Remove `NO_THREADS` fallback code, Godot 4 requires thread support
2022-10-03Merge pull request #65751 from Faless/os/4.x_expose_read_from_stdinRémi Verschelde
2022-10-03Merge pull request #66814 from Faless/web/4.x_ps3_gamepad_ff_linuxFabio Alessandrelli
[Web] Add PS3 gamepad mapping for FF+Linux.
2022-10-03[Web] Add PS3 gamepad mapping for FF+Linux.Fabio Alessandrelli
2022-10-03Remove NO_THREADS fallback code, Godot 4 requires thread supportRémi Verschelde
This also removes `OS::can_use_threads` from the public API since it's always true.
2022-10-03Remove unsupported `NO_SAFE_CAST`/`-fno-rtti` from Android buildRémi Verschelde
Android was the last platform to still attempt to disable RTTI (for binary size), but both the Android editor and now the ICU library used by templates need RTTI. There could still be the possibility to support this for non-ICU template builds (i.e. without the TextServerAdvanced module), but since this isn't one of the build configurations we test regularly it's pretty risky to keep this option only for that specific use case. And our code is already littered with `dynamic_cast`s which weren't guarded with `!defined(NO_SAFE_CAST)`.
2022-10-03Merge pull request #66655 from MisterMX/feat/astargrid2d-vector2iRémi Verschelde
refactor(AStarGrid2D): Return `Vector2i` in `get_id_path`
2022-10-03Merge pull request #66133 from aaronfranke/set-allRémi Verschelde
Delete `set_all`, `set_axis`, and `get_axis` methods from Vector2/3/3i/4/4i
2022-10-03Merge pull request #64833 from MarcusElg/naninfprintingRémi Verschelde
Improve string formatting (%f and %v) for inf and nan
2022-09-30Merge pull request #64784 from yedpodtrzitko/yed/ci-add-mypyRémi Verschelde
ci: add Python static analysis check via mypy
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-30Merge pull request #66242 from akien-mga/scons-unify-tools-targetRémi Verschelde
2022-09-30refactor(AStarGrid2D): Return Vector2i in get_id_pathMisterMX
Signed-off-by: MisterMX <mbxd12@web.de>
2022-09-30Fix crash when executing `ResourceUID.set_id`Haoyu Qiu
2022-09-29Merge pull request #66583 from bruvzg/constexprRémi Verschelde
Use `constexpr` in the conditions with template parameters and `sizeof`s to suppress C4127 warnings.
2022-09-29Merge pull request #66552 from bruvzg/64_bitfieldsRémi Verschelde
Change BitField to use 64-bit int.
2022-09-29Use `constexpr` in the conditions with template parameters and `sizeof`s to ↵bruvzg
suppress C4127 warnings.