summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-09-23Merge pull request #66303 from akien-mga/scons-cleanup-debug-definesRémi Verschelde
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-23Merge pull request #66297 from ↵Rémi Verschelde
akien-mga/scons-remove-fomit-frame-pointer-ftree-vectorize
2022-09-23SCons: Remove redundant `-fomit-frame-pointer` and `-ftree-vectorize`Rémi Verschelde
- `-fomit-frame-pointer` is included automatically by both GCC and Clang in `-O1` and above. - `-ftree-vectorize` is included automatically by GCC in `-O2` and beyond, and seems always enabled by Clang. Closes #66296. See that issue for a detailed investigation.
2022-09-23Merge pull request #65817 from bruvzg/typed_arrayRémi Verschelde
2022-09-23Merge pull request #66284 from clayjohn/particles-mem-bugRémi Verschelde
Properly initialize motion vectors offset when motion vectors are disabled
2022-09-23Merge pull request #65158 from nongvantinh/fixed-infinite-loopRémi Verschelde
Fixes engine runs into an infinite loop when searching using FindBar
2022-09-23Merge pull request #66177 from rburing/callable_callvRémi Verschelde
add `callv` method
2022-09-23Merge pull request #66254 from bruvzg/macos_titleRémi Verschelde
[macOS extend-to-title] Add scene/project name to the editor title, and fix window button placement.
2022-09-23Merge pull request #66260 from lawnjelly/fix_bvh_array_warningRémi Verschelde
Fix array-bounds warning in BVH
2022-09-23Merge pull request #66248 from akien-mga/warnings-gcc-Wmaybe-uninitializedRémi Verschelde
Fix various -Wmaybe-uninitialized warnings from GCC 12.2.1
2022-09-23Merge pull request #66250 from nongvantinh/fixed_invalid_root_nameRémi Verschelde
Fixed root name invalid at scene creation.
2022-09-23Merge pull request #66246 from Jummit/fix-dir-crashRémi Verschelde
Fix crash when listing files in nonexistent directory
2022-09-22Properly initialize motion vectors offset when motion vectors are disabled.clayjohn
This fixes an uninitialized memory bug that caused particles to fail in non-LTO builds
2022-09-22[GDExtension] Implement support for typed arrays.bruvzg
2022-09-22[macOS extend-to-title] Add scene/project name to the editor title, fix ↵bruvzg
incorrect window button position/order when system primary language is RTL.
2022-09-22Merge pull request #66253 from raulsntos/dotnet/assembly-may-be-nullIgnacio Roldán Etcheverry
C#: Guard against null assemblies
2022-09-22Merge pull request #66257 from raulsntos/dotnet/suppress-CA1711Ignacio Roldán Etcheverry
C#: Suppress EventHandler suffix diagnostic for signals
2022-09-22Fix array-bounds warning in BVHlawnjelly
Provides a workaround to prevent tripping a compiler warning.
2022-09-22C#: Suppress EventHandler suffix diagnostic for signalsRaul Santos
Suppress CA1711 for signal delegates because they are used in events so the naming follows the guidelines.
2022-09-22C#: Guard against null assembliesRaul Santos
A symbol's containing assembly will be null if the symbol is shared across multiple assemblies.
2022-09-22Fixed root name invalid at scene creation.Nong Van Tinh
2022-09-22Fix various -Wmaybe-uninitialized warnings from GCC 12.2.1Rémi Verschelde
Not sure why I didn't get those before, it may be due to upstream changes (12.2.1 is a moving target, it's basically 12.3-dev), or simply rebuilding Godot from scratch with different options.
2022-09-22Fix crash when listing files in nonexistent directoryJummit
2022-09-22Merge pull request #64679 from DarkKilauea/nav-region-propsRémi Verschelde
Improve consistency of NavigationRegion setters
2022-09-22Merge pull request #66240 from bruvzg/ftr_hideRémi Verschelde
[Font Inspector Plugin] Hide "Add Feature" button if supported feature list is empty.
2022-09-22Merge pull request #66236 from KoBeWi/empty_wordsRémi Verschelde
Automatically use class name for empty renames
2022-09-22Merge pull request #66110 from Zylann/reference_get_countRémi Verschelde
get_reference_count()`
2022-09-22Merge pull request #66222 from Mickeon/gradual-destructionRémi Verschelde
Remove unused struct in GradientTexture1D
2022-09-21Improve consistancy of NavigationRegion settersJosh Jones
2022-09-22[Font Inspector Plugin] Hide "Add Feature" button if supported feature list ↵bruvzg
is empty.
2022-09-22Merge pull request #66234 from KoBeWi/dir_access_deniedRémi Verschelde
Fix wrong DirAccess example
2022-09-22Merge pull request #66232 from Evanaellio/fix-tool-annotationRémi Verschelde
Fix code examples for @tool annotation
2022-09-21Merge pull request #66230 from Evanaellio/swap-resourcesaver-save-argumentsMatthew
Swap arguments of ResourceSaver.save()
2022-09-22Automatically use class name for empty renameskobewi
2022-09-21Fix wrong DirAccess examplekobewi
2022-09-21Fix code examples for @tool annotationEvanaellio
2022-09-21Swap arguments of ResourceSaver.save()Evanaellio
2022-09-21Rename and expose `RefCounted::get_reference_count()`Marc Gilleron
2022-09-21Remove unused struct in GradientTexture1DMicky
2022-09-21Merge pull request #65816 from bruvzg/proj_settings_missing_flagsRémi Verschelde
Add missing initial window flags and window mode to the project settings.
2022-09-21Merge pull request #65914 from bruvzg/fix_trim_wo_spaceRémi Verschelde
Fix line trim/ellipsis when line do not have space or newline at the end.
2022-09-21Merge pull request #65933 from Mickeon/remove-scene-tree-dock-unusedRémi Verschelde
Remove unused `import_subscene()` in Scene Tree Dock
2022-09-21Merge pull request #65934 from YuriSizov/editor-theme-big-thumbRémi Verschelde
Improve icon generation in the editor theme
2022-09-21Merge pull request #66200 from aaronfranke/err-sc-export-pfRémi Verschelde
Print an error if trying to run a self-contained editor in a project folder
2022-09-21Merge pull request #66212 from ↵Rémi Verschelde
kleonc/script-text-editor-fix-check-if-script-used-within-scene `ScriptTextEditor` Fix checking if script is attached to any node belonging to scene
2022-09-21Merge pull request #66213 from KoBeWi/not_right_but_works™Rémi Verschelde
Remove duplicate code in ItemList
2022-09-21Merge pull request #66215 from akien-mga/editor-quickopen-disable-load-resourcesRémi Verschelde
2022-09-21Error if trying to run a self-contained editor in a project folderAaron Franke
2022-09-21QuickOpen: Disable loading resources for now, too slowRémi Verschelde
As expected while reviewing #62417 this is indeed not practical without a better system to retrieve this information. Fixes #66179.