summaryrefslogtreecommitdiff
path: root/main
AgeCommit message (Collapse)Author
2022-02-14Cleanup of preprocessor directives in main.cppTechnicalSoup
Remove redundant set of preprocessor directives and combine duplicate if statements.
2022-02-12Fix Project Manager crash on exit.bruvzg
Fix editor settings loading / saving by Project Manager.
2022-02-12Use EditorFileDialog instead of FileDialog in the project managerHendrik Brucker
2022-02-09Merge pull request #57715 from Faless/debugger/4.x_core_includes_and_serversRémi Verschelde
[Debugger] Move most profilers to ServersDebugger, fix core includes.
2022-02-09Core: Move generated `VERSION_HASH` to a `.cpp` fileRémi Verschelde
This lets us have its definition in `core/version.h` and avoid rebuilding a handful of files every time the commit hash changes.
2022-02-08Refactor some object type checking code with `cast_to`Rémi Verschelde
Less stringly typed logic, and less String allocations and comparisons.
2022-02-06[Debugger] Move most profilers to ServersDebugger.Fabio Alessandrelli
Also splits bandwidth/rpc profiler (RPCProfiler is now in SceneDebugger).
2022-02-03Merge pull request #57562 from AnilBK/string-add-containsRémi Verschelde
String: Add contains().
2022-02-04String: Add contains().Anilforextra
2022-02-03EditorProperty: Fix range hint parsing with optional stepRémi Verschelde
This could lead to have a step of 0 when parsing e.g. "1,10,is_greater".
2022-02-01Minor fixes/refactoring of project and editor setting dialogsHendrik Brucker
2022-01-19Revert "Add new scaling modes for splash screen"Rémi Verschelde
This reverts commit fcc9f5ce396ff921ed8253f657a8c9c38e7a878d. The feature is good but the implementation still needs more work. A new PR will be made with a rework of this commit.
2022-01-18Add new scaling modes for splash screenSamuel Pedrajas
Removes the `fullsize` option which is superseded by `stretch_mode`. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2022-01-18Merge pull request #47522 from madmiraal/rename-test_width-test_heightRémi Verschelde
2022-01-18Doctool: Add error checks and exit code handlingMax Hilbrunner
2022-01-17Merge pull request #55020 from bruvzg/vlk_device_surface_checkRémi Verschelde
2022-01-17Merge pull request #56012 from bruvzg/wt🤎4Rémi Verschelde
2022-01-17Remove property hints referencing unsupported svgz extensionRémi Verschelde
The wrongly claimed support for it was removed in #49645. See also #56862.
2022-01-13Merge pull request #56311 from Calinou/default-allow-hidpiRémi Verschelde
2022-01-04Rename Project Window width and height settings to match their functionMarcel Admiraal
2022-01-03Update copyright statements to 2022Rémi Verschelde
Happy new year to the wonderful Godot community!
2022-01-03Add a shader warning when the uniform buffer limit is exceededYuri Roubinsky
2021-12-30Enable "Allow Hidpi" by defaultHugo Locurcio
This fixes window management issues across platforms on hiDPI monitors. The `--low-dpi` command line argument has been removed as similar functionality (forcing low-DPI mode on DPI-aware programs) is already provided by Windows and macOS itself.
2021-12-20Print requested V-Sync mode when Print Fps is enabledHugo Locurcio
This can be used to diagnose why the printed FPS is locked to the monitor refresh rate.
2021-12-18[Windows] Improve console handling and execute/create_process.bruvzg
Always build with the GUI subsystem. Redirect stdout and stderr output to the parent process console. Use CreateProcessW for blocking `execute` calls with piped stdout and stderr (prevent console windows for popping up when used with the GUI subsystem build, and have more consistent behavior with `create_process`). Add `open_console` argument to the `execute` and `create_process` to open a new console window. Remove `interface/editor/hide_console_window` editor setting. Remove `Toggle System Console` menu option. Remove `set_console_visible` and `is_console_visible` functions.
2021-12-17add 2d scale factor propertyAnsraer
2021-12-16Make `--doctool` locale awareHaoyu Qiu
* Adds `indent(str)` to `String`: * Indent the (multiline) string with the given indentation. * This method is added in order to keep the translated XML correctly indented. * Moves the loading of tool/doc translation into `editor/editor_translation.{h,cpp}`. * This will be used from both `EditorSettings` and the doc tool from `main`. * Makes use of doc translation when generating XML class references, and setup the translation locale based on `-l LOCALE` CLI parameter. The XML class reference won't be translated if `-l LOCALE` parameter is not given, or when it's `-l en`.
2021-12-09Replace String comparisons with "", String() to is_empty()Nathan Franke
Also: - Adds two stress tests to test_string.h - Changes to .empty() on std::strings
2021-12-02Merge pull request #55483 from pycbouh/theme-load-and-orderRémi Verschelde
2021-11-30Make default/project theme wait for modules before initializingYuri Sizov
2021-11-30Remove editor splash screen with sponsors logoRémi Verschelde
The Godot Project Leadership Committe has decided to update the sponsoring tiers so that the Platinum Sponsorship no longer includes a logo on the editor splash screen. This lets us reclaim the editor splash screen space for community-related content instead of sponsors (e.g. a different community-designed splash screen for each stable branch?). Also removes two Platinum Sponsors whose sponsorship has expired earlier this year.
2021-11-23Fix `strip_edges()` call that was removed in boot splash image changeHugo Locurcio
2021-11-23Add a project setting to disable the boot splash imageHugo Locurcio
This allows disabling the boot splash image while keeping the background color.
2021-11-22[Vulkan] Check each device capabilities before selecting it.bruvzg
Split instance and physical device selection function and move device selection to window creation, to reject devices without present capability. Add device preferred type check in discrete > integrated > virtual > cpu > other order. Add device list printout. Add command line argument to override device selection.
2021-11-22Ignore override.cfg when in editorkobewi
2021-11-12Modules: Make sure to include modules_enabled.gen.h where neededRémi Verschelde
2021-11-10Move Mono unhandled exception setting to be located within a subsectionHugo Locurcio
Settings that aren't within a subsection are difficult to reach when other settings do have a subsection. This also adds documentation for the project setting.
2021-11-09Display 2 decimals instead of 1 in editor frametime labelsHugo Locurcio
When comparing different graphics settings or optimizations, this makes precise measurements and frametime comparisons easier.
2021-11-09Enable mono editor build in CIqarmin
2021-11-01Fix new projects always being created with OpenGLHugo Locurcio
Only Vulkan is fully implemented for now, so OpenGL isn't available in the project manager yet. This also makes the rendering driver checks use lowercase names everywhere for consistency.
2021-11-01[macOS] Add `create_instance` function to spawn editor copies.bruvzg
[macOS] Modify `create_project` function to detect and run app bundles using NSWorkspace to ensure app window is registered and activated correctly.
2021-10-31Use OpenGL 3.3 core profile instead of compatibility profileClay John
- Rename OpenGL to GLES3 in the source code per community feedback. - The renderer is still exposed as "OpenGL 3" to the user. - Hide renderer selection dropdown until OpenGL support is more mature. - The renderer can still be changed in the Project Settings or using the `--rendering-driver opengl` command line argument. - Remove commented out exporter code. - Remove some OpenGL/DisplayServer-related debugging prints.
2021-10-30Rename GLES2 driver to OpenGL to prepare for the upgrade to GLES3Hugo Locurcio
- Use lowercase driver names for the `--rendering-driver` command line argument.
2021-10-30Add GLES2 2D renderer + Linux display managerlawnjelly
First implementation with Linux display manager. - Add single-threaded mode for EditorResourcePreview (needed for OpenGL). Co-authored-by: clayjohn <claynjohn@gmail.com> Co-authored-by: Fabio Alessandrelli <fabio.alessandrelli@gmail.com>
2021-10-28clang-format: Various fixes to comments alignment from `clang-format` 13Rémi Verschelde
All reviewed manually and occasionally rewritten to avoid bad auto formatting.
2021-10-28clang-format: Disable alignment of operands, too unreliableRémi Verschelde
Sets `AlignOperands` to `DontAlign`. `clang-format` developers seem to mostly care about space-based indentation and every other version of clang-format breaks the bad mismatch of tabs and spaces that it seems to use for operand alignment. So it's better without, so that it respects our two-tabs `ContinuationIndentWidth`.
2021-10-21Fix exit code for --script --check-only, fixes #54087Pawel Lampe
this commit makes godot executable to return zero exit code once a valid script is passed via --script during --check-only
2021-10-21Main: Fixup --dump-extension-api after #54017Rémi Verschelde
That removal was correct, but triggered a bug in our messy-as-heck main.cpp detection logic for editor/project manager/project/command line tool... Fixing this is for another day.
2021-10-20Merge pull request #50680 from Calinou/project-default-single-window-modeRémi Verschelde
2021-10-20doctool: Fix differences between headless and Vulkan rendering backendsRémi Verschelde
Fixes #53913.