summaryrefslogtreecommitdiff
path: root/main/main.cpp
AgeCommit message (Collapse)Author
2023-03-30Replaced operating system alert dialog with a warning log message,Chris Hutchinson
toggled by a project setting. Fixes #73141 (cherry picked from commit cb8e91924399948888d80d20c6112df473897183)
2023-03-30Exposing more project settings for documentationNinni Pipping
(cherry picked from commit bd30847e5916f4ca8a855774cb32a160e690e71d)
2023-03-13Prevent crashing on startup if project has scripted theme typesYuri Sizov
Also avoid order of operation conflicts by moving C# binding generation hook to main.cpp (cherry picked from commit 8402927d3f55f06651045a6a94e163327e26c2ab)
2023-02-22Warn users when using non existing --export flag, replaced by --export-releaseRémi Verschelde
See #73782.
2023-02-19Mark Application Icon and V-Sync Mode project settings as basicHugo Locurcio
These settings are likely to be changed at some point in most projects.
2023-02-15iOS: Fix memory leak on touch inputTravis Veralrud
Replace incomplete iOS gesture with touch implementation. Fixes #66422.
2023-02-11Merge pull request #73033 from akien-mga/gdscript-fix-gd4-renames-buildRémi Verschelde
Clean up ProjectConverter3To4 architecture, move renames map to separate file
2023-02-10Clean up ProjectConverter3To4 architecture, move renames map to separate fileRémi Verschelde
This allows properly limiting what features depend on the RegEx module (doing the actual conversion) and what features only require the renames data (GDScript suggestions). Also better excludes the conversion command line options when actually disabling deprecated code. Fixes #73029.
2023-02-09Allow compiling out the navigation moduleJosh Jones
2023-02-01Fix build with `deprecated=no` not exclude ProjectConverter3To4 optionsRémi Verschelde
Fixes #72520.
2023-01-23Merge pull request #70377 from dsnopek/server-export-mk2Rémi Verschelde
Add "dedicated server" export mode which can strip unneeded visual resources
2023-01-23Add "dedicated server" export mode which can strip unneeded visual resourcesDavid Snopek
2023-01-23[TextServer] Fix ICU data loading and exporting with ↵bruvzg
`internationalization/locale/include_text_server_data` setting.
2023-01-23Mark touch emulation project settings as basicHugo Locurcio
These settings are likely to be toggled often during development, so they should be as accessible as possible.
2023-01-22Merge pull request #71663 from bruvzg/init_pos_xRémi Verschelde
Reorganize main and sub-window initial position properties.
2023-01-21Merge pull request #68002 from dogboydog/csharp_build_exit_codeRémi Verschelde
Exit editor with non-zero return code if --build-solutions fails
2023-01-20doc: Define dummy Mono settings to keep them in doctoolRémi Verschelde
Revival of #54840.
2023-01-19Reorganize main and sub-window initial position properties.bruvzg
2023-01-19Merge pull request #71515 from akien-mga/disable-mangohud-editorRémi Verschelde
Force disable Vulkan overlays in the editor and project manager
2023-01-19[Windows] Fix main window project icon not set when using editor executable.bruvzg
2023-01-18Force disable Vulkan overlays in the editor and project managerRémi Verschelde
MangoHud would be shown on every popup in multi-window mode, and seemed to cause rendering issues for various users. There are also issues with RTSS, and VkBasalt also doesn't seem particularly good to use in the editor. All these stay available to enable when running the project itself, including running from the editor (so running the editor after e.g. `export MANGOHUD=1` in the environment will ignore it for the editor, but use it when playing the project). Fixes #57403. Fixes #57937.
2023-01-17Make physics servers `end_sync` on exitMikael Hermansson
2023-01-13Refactor ProjectSetting overridesJuan Linietsky
* Overrides no longer happen for set/get. * They must be checked with a new function: `ProjectSettings::get_setting_with_override()`. * GLOBAL_DEF/GLOBAL_GET updated to use this This change solves many problems: * General confusion about getting the actual or overriden setting. * Feature tags available after settings are loaded were being ignored, they are now considered. * Hacks required for the Project Settings editor to work. Fixes #64100. Fixes #64014. Fixes #61908.
2023-01-13Fix duplicate NavigationServer processsmix8
NavigationServer process was called twice each frame Also adds 3 missing MONITOR_TYPE entries.
2023-01-12Add framework for avoidance of color flash in new windowsPedro J. Estébanez
2023-01-12Merge pull request #70731 from smix8/navigationserver_performance_monitor_4.xRémi Verschelde
Add NavigationServer Performance Monitor
2023-01-09Merge pull request #70863 from bruvzg/win_init_minRémi Verschelde
Set main window min. size via Window object instead of DisplayServer to preserve it during window updates.
2023-01-08Add NavigationServer Performance Monitorsmix8
Adds Performance Monitor for NavigationServer3D.
2023-01-07Rework const on NavigationServer methodsJosh Jones
`const` is used on all methods, even when they cause modification of the server. This reworks the methods of the server to only use `const` on method that don't change the state of the server.
2023-01-07Add support for the custom initial screen for the main window, fix primary ↵bruvzg
screen detection.
2023-01-06Merge pull request #68429 from KoBeWi/PropertySettingsRémi Verschelde
Add PropertyInfo overload for GLOBAL_DEF
2023-01-05One Copyright Update to rule them allRémi Verschelde
As many open source projects have started doing it, we're removing the current year from the copyright notice, so that we don't need to bump it every year. It seems like only the first year of publication is technically relevant for copyright notices, and even that seems to be something that many companies stopped listing altogether (in a version controlled codebase, the commits are a much better source of date of publication than a hardcoded copyright statement). We also now list Godot Engine contributors first as we're collectively the current maintainers of the project, and we clarify that the "exclusive" copyright of the co-founders covers the timespan before opensourcing (their further contributions are included as part of Godot Engine contributors). Also fixed "cf." Frenchism - it's meant as "refer to / see".
2023-01-03Set main window min. size via Window object instead of DisplayServer to ↵bruvzg
preserve it during window updates.
2022-12-16Add boot splash for the Godot Android EditorFredia Huya-Kouadio
2022-12-14CI: Fix dumping GDExtension interface and API for godot-cppRémi Verschelde
Follow-up to https://github.com/godotengine/godot-cpp/pull/960. Fix exit code for --dump-extension-api and --dump-gdextension-interface. Removed the planned API validation step as we still didn't implement anything, and maintaining a stub isn't useful.
2022-12-12Merge pull request #69718 from groud/finally_rename_gdnative_to_gdextensionRémi Verschelde
Rename all gdnative occurences to gdextension
2022-12-12Rename all gdnative occurences to gdextensionGilles Roudière
Non-exhaustive list of case-sensitive renames: GDExtension -> GDNative GDNATIVE -> GDEXTENSION gdextension -> gdnative ExtensionExtension ->Extension (for where there was GDNativeExtension) EXTENSION_EXTENSION ->EXTENSION (for where there was GDNATIVE_EXTENSION) gdnlib -> gdextension gdn_interface -> gde_interface gdni -> gde_interface
2022-12-11Add PropertyInfo overload for GLOBAL_DEFkobewi
2022-12-08Move navigation server finalize before physics serverAdam Scott
2022-12-07Fix `ResourceLoader::thread_load_tasks` crashAdam Scott
2022-12-07Merge pull request #69654 from BastiaanOlij/openxr_submit_depth_optionalRémi Verschelde
Make submitting depth buffer in OpenXR optional
2022-12-07Fix Determining Window for TouchscreenMarkus Sauermann
DisplayServer::screen_is_touchscreen will likely never utilize its parameter p_screen. This PR replaces this function by DisplayServer::is_touchscreen_available() with the same functionality. This solves the problem, that a SubViewport was used for determining the screen, which resulted in error messages.
2022-12-06Make submitting depth buffer in OpenXR optionalBastiaan Olij
2022-12-05Merge pull request #68660 from Calinou/improve-cli-helpRémi Verschelde
Improve command line help to fit on narrower displays
2022-12-04Improve command line help to fit on narrower displaysHugo Locurcio
- Update shell completions to reference recently added CLI arguments.
2022-12-04Use system fonts as fallback and improve system font handling.bruvzg
Add support for font weight and stretch selection when using system fonts. Add function to get system fallback font from a font name, style, text, and language code. Implement system font support for Android. Use system fonts as a last resort fallback.
2022-11-29Enable GLES3 on Androidclayjohn
Add necessary build flags and switch from using a GLES2 context to a GLES3 one. This also enables building for OpenXR Co-authored-by: m4gr3d <fhuyakou@gmail.com> Co-authored-by: dsnopek <dsnopek@gmail.com>
2022-11-28Merge pull request #69272 from rune-scape/rune-avoid-global-baseRémi Verschelde
Avoid using `get_global_class_native_base`
2022-11-28Merge pull request #68532 from ↵Rémi Verschelde
Calinou/cmdline-user-args-add-alternative-separator Allow `++` as an alternative separator to `--` for user CLI arguments
2022-11-27GDScript: Avoid using `get_global_class_native_base`rune-scape