summaryrefslogtreecommitdiff
path: root/main/main.cpp
AgeCommit message (Collapse)Author
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-09-30Use mobile as the default rendering method on mobile when vulkan is supportedclayjohn
2022-09-24Fix project manager not working in self-contained modeAaron Franke
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-21Error if trying to run a self-contained editor in a project folderAaron Franke
2022-09-19Split rendering driver project setting into renderer_name and ↵clayjohn
rendering_driver. To differentiate between a driver (e.g. Vulkan or D3D12) and a renderer (e.g. clustered or mobile renderer).
2022-09-19Add missing initial window flags and window mode to the project settings.bruvzg
2022-09-08Merge pull request #65460 from Faless/net/4.x_ssl_to_tls_moreRémi Verschelde
[Net] Rename "ssl" references to "tls" in methods and members.
2022-09-08[Net] Rename "ssl" references to "tls" in methods and members.Fabio Alessandrelli
2022-09-07Expose registration of physics servers to GDExtensionRicardo Buring
This exposes PhysicsServer2DManager and PhysicsServer3DManager.
2022-09-03Re-enable per-pixel transparency support on Linux, macOS, and Windows (for ↵bruvzg
Vulkan and OpenGL rendering drivers).
2022-09-01Rename `uniform` to `parameter` across the engineYuri Rubinsky
2022-08-30Merge pull request #65066 from aaronfranke/str-path-joinRémi Verschelde
2022-08-30Merge pull request #64396 from qarmin/add_line_length_optionsRémi Verschelde
2022-08-29Rename String `plus_file` to `path_join`Aaron Franke
2022-08-29Speedup conversion and add option to set maximum line length to prevent freezesRafał Mikrut
2022-08-29Merge pull request #64119 from YuriSizov/theme-init-databaseRémi Verschelde
2022-08-29[Web] Rename JavaScript platform to Web.Fabio Alessandrelli
Also rename export name from "HTML5" to "Web".
2022-08-26Add ThemeDB, expose previously static Theme methodsYuri Sizov
2022-08-25Fix forwarding of CLI arguments taking an optionPedro J. Estébanez
2022-08-22Merge pull request #64374 from RandomShaper/inheritable_cl_argsRémi Verschelde
2022-08-22Merge pull request #64610 from reduz/startup-benchmark-supportRémi Verschelde
2022-08-22C#: Begin move to .NET CoreIgnacio Roldán Etcheverry
We're targeting .NET 5 for now to make development easier while .NET 6 is not yet released. TEMPORARY REGRESSIONS --------------------- Assembly unloading is not implemented yet. As such, many Godot resources are leaked at exit. This will be re-implemented later together with assembly hot-reloading.
2022-08-19Add Startup benchmarking supportJuan Linietsky
This adds support for benchmarking engine startup (and editor startup if used). The goal is to use this in the benchmarking server to track improvements and changes to engine, editor, importer and scene loading startup times.
2022-08-19Overhaul CLI argument forwarding to processes started by the editorPedro J. Estébanez
2022-08-18Merge pull request #55032 from Calinou/tweak-default-window-sizeYuri Sizov
Increase the default project window size for better usability
2022-08-18Increase the default project window size for better usabilityHugo Locurcio
The new default window size is tuned to: - Have a 16:9 aspect ratio, - Have both dimensions divisible by 8 to better play along with video recording, - Be displayable correctly in windowed mode on a 1366×768 display (tested on Windows 10 with default settings). This breaks compatibility with projects that didn't change the window size from the default value (or that kept one of the values to its default).
2022-08-13Hide Dummy text driver in the Project Settings as it makes editor unusableHugo Locurcio
This also improves documentation related to driver project settings.
2022-08-06Only define `keep_screen_on` project setting onceRedMser
2022-08-04Tests: Silence some intentional errorsRémi Verschelde
Also fix printing messages in ClassDB test.
2022-08-02Merge pull request #61315 from lawnjelly/variant_bucket_poolsRémi Verschelde
Variant memory pools
2022-08-01Add support for command-line user arguments.Juan Linietsky
Implements the standard Unix double dash (--) commandline argument: * Arguments after a double dash (--) are ignored by Godot and stored for the user. * User can access them via `OS.get_cmdline_user_args()` Example: `godot.exe scene_to_run.tscn --fullscreen -- --start-level 2`
2022-07-29Merge pull request #62601 from smix8/navigation_3d_debug_4.xRémi Verschelde
2022-07-29Add more detailed Navigation Debug Visualizationsmix8
- Adds more customization options to ProjectSettings. - Displays navregion edge connections and navigation polygon edges in editor and at runtime. - Majority of debug code moved from SceneTree to NavigationServer. - Removes the irritating debug MeshInstance child node from NavigationRegion3D and replaces it with direct RenderingServer API.
2022-07-28Rename RenderingServer global shader uniform methods to be more explicitHugo Locurcio
The `global_shader_uniform` name is longer, but it makes it much easier to find the methods when searching in the class reference.
2022-07-28Add startup flag to override XR mode settingsBastiaan Olij
2022-07-28Merge pull request #62414 from Calinou/movie-maker-add-quit-on-endRémi Verschelde
2022-07-27Allow setting a window stretch scale below 1.0Aaron Franke
2022-07-27Add a Movie Quit On Finish property to AnimationPlayerHugo Locurcio
This quits the project when an animation is done playing in the given AnimationPlayer, but only in Movie Maker mode. When this happens, a message is printed with the absolute path of the AnimationPlayer node that caused the engine to quit. This can be used to create videos that stop at a specified time without having to write any script. A report is now also printed to the console when the video is done recording (as long as the engine was exited properly). This report is unfortunately not always visible in the editor's Output panel, as it's printed too late. A method was also added to get the path to the output file from the scripting API.
2022-07-24Mark some editor settings as requiring editor restartPedro J. Estébanez
2022-07-22Implement a Worker ThreadPoolreduz
This PR implements a worked thread pool. It uses a fixed amount of threads in a pool and allows scheduling tasks that can be run on threads (and then waited for). It satisfies the following use cases: * HTML5 thread count is fixed (and similar restrictions are known in consoles) so we need to reuse threads. * Thread spawning is slow in general, so reusing threads is faster anyway. * This implementation supports recursive waiting for tasks, making it less prone to deadlocks if threads from the pool also run tasks. After this is approved and merged, subsequent PRs will be needed to replace the ThreadWorkPool usage by this class.
2022-07-22Merge pull request #63286 from RandomShaper/fix_debugger_focusRémi Verschelde
2022-07-21Fix editor re-focus on debugger break on WindowsPedro J. Estébanez
2022-07-21Rename OSX to macOS and iPhoneOS to iOS.bruvzg
2022-07-19Abort running if --path does not existkobewi
2022-07-12Merge pull request #41833 from dalexeev/splash_delayYuri Sizov
Add boot splash minimum display time setting
2022-07-07[macOS] Improve file association handling, and allow URL schema handling.bruvzg
2022-07-04Variant memory poolslawnjelly
Memory pools via PagedAllocator for Transform2D, Transform3D, Basis and AABB.
2022-07-02Merge pull request #62556 from akien-mga/displayserver-no-headless-fallbackRémi Verschelde
DisplayServer: Don't fallback to headless
2022-07-02Fix exit code of --help and --version, and test them in CIJan Haller
Corrects prior regression which caused ERROR output and exit code of 1.