summaryrefslogtreecommitdiff
path: root/editor
AgeCommit message (Collapse)Author
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 #66416 from MewPurPur/dependency-editor-improvementsRémi Verschelde
Add ability to open multiple scenes in the Dependency Editor
2022-09-26Merge pull request #66382 from MewPurPur/replace-in-files-foreverRémi Verschelde
Make Replace in Files always visible in Search
2022-09-26Merge pull request #66309 from RedMser/focus-search-bar-scene-tree-dialogRémi Verschelde
focus search bar by default
2022-09-26Style: Cleanup header guards for consistencyRémi Verschelde
Fix file names for {Static,Lightmap}RaycasterEmbree.
2022-09-26Merge pull request #64756 from Calinou/editor-rename-run-project-shortcutsRémi Verschelde
Rename editor run/pause/stop shortcuts and tooltips for consistency
2022-09-26Merge pull request #66404 from KoBeWi/advancementRémi Verschelde
Remember advanced state of connection dialog
2022-09-26Merge pull request #66405 from Rindbee/fix-gd-not-sync-via-lspRémi Verschelde
Fix out of sync when the script is edited externally via lsp
2022-09-25Add ability to open multiple scenes in the Dependency EditorVolTer
2022-09-25Remember advanced state of connection dialogkobewi
2022-09-25Rename editor run/pause/stop shortcuts and tooltips for consistencyHugo Locurcio
The new naming better suits non-game applications and is more explicit.
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 #65535 from RedMser/script-editor-inheritance-iconRémi Verschelde
Show override icon in script editor gutter
2022-09-25Merge pull request #66233 from DorianSzlachcic/3-to-4-converter-issueRémi Verschelde
Prevent 3-to-4 project converter from adding extra line for move_and_slide
2022-09-25Prevent 3-to-4 project converter from adding extra line for move_and_slideDorianSzlachcic
Fixes #66054
2022-09-25Merge pull request #65290 from requizm/fix/65081/cannot_set_escapeRémi Verschelde
Disabled "Escape" button when closing the shortcut window
2022-09-25Merge pull request #66289 from Rindbee/fix-scene-exportRémi Verschelde
Fix sub-scene root nodes not getting the correct inheritance chain when exporting
2022-09-25Make Replace in Files always visible in SearchVolTer
2022-09-25Merge pull request #66338 from asmaloney/some-include-cleanupsRémi Verschelde
Remove unused includes & move some includes to top of file
2022-09-25Merge pull request #65531 from Mickeon/project-converter-missing-entriesRémi Verschelde
Add a few missing entries in Project Converter
2022-09-23Remove unused includes & move some includes to top of fileAndy Maloney
2022-09-23SceneTreeDialog: focus search bar by defaultRedMser
2022-09-23Fix sub-scene root nodes not getting the correct inheritance chain when ↵Rindbee
exporting
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 #66248 from akien-mga/warnings-gcc-Wmaybe-uninitializedRémi Verschelde
Fix various -Wmaybe-uninitialized warnings from GCC 12.2.1
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-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-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-22[Font Inspector Plugin] Hide "Add Feature" button if supported feature list ↵bruvzg
is empty.
2022-09-22Automatically use class name for empty renameskobewi
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 #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 #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-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.
2022-09-21Fix checking if script is attached to any node belonging to scenekleonc
2022-09-21Merge pull request #63576 from KoBeWi/list_clickerRémi Verschelde
Simplify script list click logic
2022-09-21Merge pull request #66056 from ↵Rémi Verschelde
Rindbee/fix-EditorInspectorCategory-minimum-size-calculation Fix `EditorInspectorCategory` minimum size calculation
2022-09-21Merge pull request #62666 from AThousandShips/tree_foldingRémi Verschelde
Tree recursive folding (like Scene Tree Dock)
2022-09-21Fix EditorInspectorCategory minimum size calculationRindbee
Calculated using the same theme property values as in `NOTIFICATION_DRAW`, keeping the width at `0` and calculating only the height.
2022-09-21Tree recursive foldingNinni Pipping
2022-09-21Merge pull request #66191 from MewPurPur/fix-dragndrop-crash-when-scene-closedRémi Verschelde
Fix possible crash when drag and dropping nodes
2022-09-21Merge pull request #64359 from Mickeon/rename-camera-rotatingRémi Verschelde
Reverse Camera2D.`rotating` to `ignore_rotation`
2022-09-21Merge pull request #60478 from KoBeWi/compect_dialogRémi Verschelde
Reorganize connection dialog
2022-09-21Fix crash with drag and dropping nodesVolTer
2022-09-21Reverse Camera2D.`rotating` to `ignore_rotation`Micky
`rotating` is misleading, as Camera2D is affected by `rotation` and `global_rotation` like any other Node2D Updates description in the docs, as well.
2022-09-21Show method override icon in script editor gutterRedMser
Combines with the connection slot icon when both apply. Can be clicked to jump to the method declaration (or documentation for built-in classes).
2022-09-21Merge pull request #65957 from EricEzaM/GH-65956-fix-ed-shortcut-section-orderRémi Verschelde
Update Editor Shortcuts tree creation to always have sections in same order
2022-09-20Merge pull request #66159 from MewPurPur/fix-animated-tiles-offset-unitRémi Verschelde
Remove px unit from animation_separation in TileSet atlas editor