summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
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.
2022-09-29Merge pull request #66103 from Zylann/bind_property_usage_read_onlyRémi Verschelde
2022-09-28Expose `PROPERTY_USAGE_READ_ONLY`Marc Gilleron
2022-09-28Project supported features: Ignore old 'Vulkan Clustered/Forward' namesRémi Verschelde
This eases transition from beta 1 to beta 2 so that users don't get a warning about a missing feature. The names were just changed. The old feature names are removed from project.godot when opening such a project.
2022-09-28Merge pull request #66548 from akien-mga/msvc-warnings-c4701-c4703Rémi Verschelde
Fix MSVC warnings C4701 and C4703: Potentially uninitialized variable used
2022-09-28Merge pull request #66544 from lawnjelly/bvh_tree_sibling_warningRémi Verschelde
Fix false flag compiler warning in bvh tree
2022-09-28Merge pull request #66542 from akien-mga/msvc-warning-c4706Rémi Verschelde
Fix MSVC warning C4706: assignment within conditional expression
2022-09-28Fix MSVC warnings C4701 and C4703: Potentially uninitialized variable usedRémi Verschelde
2022-09-28Change BitField to use 64-bit int.bruvzg
2022-09-28Fix false flag compiler warning in bvh treelawnjelly
Compiler wrongly warns that sibling_id may be used when uninitialized. This PR sets the value to silence the warning.
2022-09-28Fix MSVC warning C4706: assignment within conditional expressionRémi Verschelde
Part of #66537.
2022-09-28Rename `script_instance` to `_script_instance` in the `GDVIRTUAL*` wrappers ↵bruvzg
to avoid shadowing `Object` member.
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.