summaryrefslogtreecommitdiff
path: root/main
AgeCommit message (Collapse)Author
2022-03-29Move OpenXR project settings to the main, to make them visible on ↵bruvzg
unsupported platforms.
2022-03-28Android port of the Godot EditorFredy Huya-Kouadio
These set of changes focus primarily on getting the core logic and overall Godot Editor UI and functionality up and running natively on Android devices. UI tweaks / cleanup / polish, as well configuration for Android specific functionality / restrictions will be addressed in follow-up PRs iteratively based on feedback. Co-authored-by: thebestnom <shoval.arad@gmail.com>
2022-03-18Merge pull request #58233 from bruvzg/gde_tsRémi Verschelde
2022-03-17Rename Project setting display/window/stretch/shrink to scaleMarkus Sauermann
2022-03-17Unify TextServer built-in module and GDExtension code.bruvzg
2022-03-15Merge pull request #59153 from Calinou/debug-stringnames-improveRémi Verschelde
Improve `--debug-stringnames` to be more useful
2022-03-15Improve `--debug-stringnames` to be more usefulHugo Locurcio
- Print all StringNames, not just the top 100. - Print statistics at the end of the list of StringNames, with unreferenced and rarely referenced StringNames. - List the CLI argument in `--help` and shell completion.
2022-03-13Make `-q` CLI argument toggle quiet stdout instead of quittingHugo Locurcio
`-q` is a common toggle in a command line applications for quiet mode (see apt or dnf for examples). In contrast, `--quit` isn't needed as often.
2022-03-13Tweak the display order of CLI arguments in `--help` for consistencyHugo Locurcio
`--profile-gpu` was renamed to `--gpu-profile` for consistency with `--gpu-abort`. This also updates the shell completion files to the latest `master` branch.
2022-03-13Cleanup embed subwindows getterskobewi
2022-03-11Convert uses of `DirAccess *` to `DirAccessRef` to prevent memleaksRémi Verschelde
`DirAccess *` needs to be deleted manually, and this is often forgotten especially when doing early returns with `ERR_FAIL_COND`. `DirAccessRef` is deleted automatically when it goes out of scope. Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2022-03-09Remove unused GDNative codeRémi Verschelde
This has been superseded by GDExtension so this code is no longer useful nor usable. There's still some GDNative-related stuff in platform export code which needs to be adapted for GDExtension (e.g. to include GDExtension libraries in exports).
2022-02-28Reorder native extension types initialization, initializing editor lastGilles Roudière
2022-02-23Implementing OpenXR driverBastiaan Olij
2022-02-20Fix extension registration order.Paulo Poiati
2022-02-18Revert "Fix extension registration order."Rémi Verschelde
This reverts commit 94ef200bab8feb5024b2c64ac14daa24e0c4cc55. This broke extension loading. Fixes #58273.
2022-02-16Fix extension registration order.Paulo Poiati
2022-02-15Editor: Cleanup some includes dependenciesRémi Verschelde
Removes some unnecessary includes from `editor_node.h`, and instead add those where they're used. Removes unnecessary `editor_node.h` includes in various editor classes. Renames `dynamicfont` to `dynamic_font` in a couple files. Misc cleanup while jumping through that rabbit hole.
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