summaryrefslogtreecommitdiffstats
path: root/main
Commit message (Collapse)AuthorAgeFilesLines
* Reorganize rendering server.reduz2020-12-031-2/+2
| | | | | -Made RenderingServerScene abstract, allowing reimplementation -RenderingServerRaster -> RenderingServerDefault, but this class is going away soon.
* Refactor DocData into core and editor (DocTools) partsThakee Nathees2020-12-021-4/+4
|
* [Complex Text Layouts] Refactor Font class, default themes and controls to ↵bruvzg2020-11-261-69/+39
| | | | | | | | use Text Server interface. Implement interface mirroring. Add TextLine and TextParagraph classes. Handle UTF-16 input on macOS and Windows.
* [Complex Text Layouts] Implement TextServer interface. Implement Fallback ↵bruvzg2020-11-261-7/+117
| | | | TextServer.
* Merge pull request #43661 from EricEzaM/PR/INP2-rename_load_from_globalsRémi Verschelde2020-11-191-1/+1
|\ | | | | load_from_globals() -> load_from_project_settings()
| * load_from_globals() -> load_from_project_settings()Eric M2020-11-191-1/+1
| |
* | allow vulkan validation layers in release builds if explicity asked forJordan Schidlowsky2020-11-181-2/+2
| |
* | Fix CLI export when export_path is in preset.Fabio Alessandrelli2020-11-171-8/+0
| | | | | | | | | | | | | | | | | | Export presets contains the export_path option, to specify the default export location, but the CLI export option disregarded that, and always required and export path to be specified. After this commit, if the export path is not specified in the command, the one in the preset will be used, erroring only if it's not present or invalid.
* | Remove empty lines around braces with the formatting scriptAaron Franke2020-11-162-3/+0
| |
* | Merge pull request #42167 from madmiraal/fix-42108Rémi Verschelde2020-11-161-1/+0
|\ \ | | | | | | Remove the unnecessary sync() and the restrictions it imposes on 3D Physics.
| * | Remove the unnecessary sync() and the restrictions it imposes on 3D Physics.Marcel Admiraal2020-09-181-1/+0
| | |
* | | Merge pull request #43369 from Calinou/allow-svg-project-iconRémi Verschelde2020-11-101-1/+1
|\ \ \ | |_|/ |/| | Allow using SVG images as project icon
| * | Allow using SVG images as project iconHugo Locurcio2020-11-061-1/+1
| | | | | | | | | | | | | | | | | | | | | Since exporters will save their own icon, the target platforms don't have to support SVG to display the icon correctly. This closes #23068.
* | | Reorganized core/ directory, it was too fatty alreadyreduz2020-11-075-8/+8
|/ / | | | | | | | | | | -Removed FuncRef, since Callable makes it obsolete -Removed int_types.h as its obsolete in c++11+ -Changed color names code
* | Refactored Variant Operators.reduz2020-11-061-1/+1
| | | | | | | | | | -Using classes to call and a table -For typed code (GDS or GDNative), can obtain functions to call prevalidated or ptr.
* | Refactor pixel snapping.reduz2020-10-301-1/+0
| | | | | | | | | | | | | | | | | | -Rename pixel_snap to snap_2d_to_vertices -Added snap_2d_to_transforms which is more useful Fixes #41814 Solves proposal https://github.com/godotengine/godot-proposals/issues/1666 Supersedes #35606, supersedes #41535, supersedes #41534
* | Merge pull request #42361 from akien-mga/vulkan-layers-opt-inRémi Verschelde2020-10-281-2/+8
|\ \ | | | | | | Vulkan: Make validation layers optional
| * | Vulkan: Make validation layers optionalRémi Verschelde2020-10-271-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | They're now disabled by default, and can be enabled with the command line argument `--vk-layers`. When enabled, the errors about them being missing are now warnings, as users were confused and thought this meant Vulkan is broken for them. Fix crash in `~VulkanContext` when validation layers are disabled (exposed by this PR since before they could not be disabled without source modification). Also moved VulkanContext member initializations to header. Fixes #37102.
* | | Update AUTHORS and DONORS listRémi Verschelde2020-10-281-0/+0
|/ / | | | | | | | | | | | | | | | | New corporate sponsors: Spiffcode (Platinum) ASIFA-Hollywood (Silver) Zenva Academy (Silver) Thanks to all contributors and donors for making Godot possible!
* | Refactor MethodBind to use variadic templatesreduz2020-10-181-1/+1
| | | | | | | | Removed make_binders and the old style generated binders.
* | iOS: move touch delay to settingsSergey Minakov2020-10-011-0/+1
| |
* | OS: Remove unused get_splash_tick_msecRémi Verschelde2020-09-241-1/+0
| | | | | | | | | | | | It was added in 3e20391bf607dc7c452b056854aed4a8c99ba0f6 but it doesn't seem particularly useful, and it was only implemented for the custom splash branch and not the default one, so it could return an uninitialized int.
* | Ignore thread models when compiling with NO_THREADFabio Alessandrelli2020-09-231-0/+4
| | | | | | | | | | | | | | | | | | | | | | The thread model option for physics (2D) and rendering (single-unsafe, single-safe, multithread), was causing crashes/locks when set as multithreaded and exported for a platform that does not support threads (namely HTML5). This commit ensures that when threads support is not available, that option is ignored, and the equivalent of "single-unsafe" is always used instead.
* | Donors: Add Gamblify, remove Interblock from splash screenRémi Verschelde2020-09-161-0/+0
|/
* Remove unused Python imports.Marcel Admiraal2020-09-101-1/+0
|
* Merge pull request #41332 from bruvzg/win_subsys_optionRémi Verschelde2020-09-031-0/+7
|\ | | | | Revert #41164, add subsystem build option.
| * Revert "[Windows] Attach to parent console instead of creating new one."bruvzg2020-08-171-0/+7
| | | | | | | | This reverts commit 4f7a49db53c6aaabeca70fe8901144af708fb6b2.
* | Merge pull request #41190 from Xrayez/main-loop-type-classRémi Verschelde2020-09-021-4/+18
|\ \ | | | | | | Accept global classes for `MainLoop` type in project settings
| * | Accept global classes for `MainLoop` type in project settingsAndrii Doroshenko (Xrayez)2020-08-111-4/+18
| | | | | | | | | | | | | | | | | | | | | | | | `application/run/main_loop_type` setting can handle custom global classes (`class_name`). For instance: `MySceneTree`. The setting's default is changed from empty to `SceneTree` as to give some hint of what kind of input is accepted for the main loop type.
* | | Fix new black style check failures in various files.Marcel Admiraal2020-08-211-2/+6
| |/ |/|
* | Port ClassDB tests to use doctestAndrii Doroshenko (Xrayez)2020-08-162-5/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extracted the most minimal core initialization functionality from `setup()` and `setup2()` so that `ClassDB` could be tested properly (input, audio, rendering, physics etc, are excluded). Display and rendering servers/singletons are not initialized at all. Due to the fact that most subsystems are disabled, fixed various crashes in the process (in order): - `AcceptDialog` OK/cancel swap behavior (used `DisplayServer` while `register_scene_types()`); - `make_default_theme` which depends on `RenderingServer`; - `XRServer` singleton access while calling `register_modules_types()`; - hidden bug in a way joypads are cleaned up (MacOS and Linux only). Removed manual `ClassDB` init/cleanup calls from `test_validate_testing.h`. ClassDB tests: Co-authored-by: Ignacio Etcheverry <ignalfonsore@gmail.com>
* | Fix "on top" incorrectly set on init (all platforms).bruvzg2020-08-151-1/+1
| | | | | | | | Fix "on top" reseting on window update. (macOS).
* | Remove obsolete GLES2 backend codeRémi Verschelde2020-08-131-4/+1
| | | | | | | | | | | | | | | | | | | | | | This code currently isn't compiled (and cannot compile). We plan to re-add OpenGL ES-based renderer(s) in Godot 4.0 alongside Vulkan (probably ES 3.0, possibly also a low-end ES 2.0), but the code will be quite different so it's not relevant to keep this old Godot 3.2 code. The `drivers/gles2` code from the `3.2` branch can be used as a reference for a potential new implementation.
* | Merge pull request #41164 from bruvzg/win_attach_consoleRémi Verschelde2020-08-111-7/+0
|\ \ | | | | | | [Windows] Attach to parent console instead of creating new one.
| * | [Windows] Attach to parent console instead of creating new one.bruvzg2020-08-111-7/+0
| |/
* / Properly detect `--test` command-line argumentAndrii Doroshenko (Xrayez)2020-08-081-1/+1
|/ | | | | | Do not prematurely parse anything which beings with `--test` to run doctest. This allows other commands to be run, such as `--test-gdscript` or other custom arguments.
* Cleanup obsolete tests from displaying in helpAndrii Doroshenko (Xrayez)2020-07-291-57/+25
|
* Make all String float conversion methods be 64-bitAaron Franke2020-07-271-2/+2
|
* SCons: Refactor running commands through buildersAndrii Doroshenko (Xrayez)2020-07-281-4/+9
| | | | | | | | | | | | A new `env.Run` method is added which allows to control the verbosity of builders output automatically depending on whether the "verbose" option is set. It also allows to optionally run any SCons commands in a subprocess using the existing `run_in_subprocess` method, unifying the interface. `Action` objects wrap all builder functions to include a short build message associated with any action. Notably, this removes quite verbose output generated by `make_doc_header` and `make_editor_icons_action` builders.
* SCons: Build tests/ and main/ in cloned environmentsRémi Verschelde2020-07-261-8/+13
| | | | | | | Allows switching `tests=yes`/`no` and rebuilding only tests and main, instead of the whole engine. Co-authored-by: Andrii Doroshenko (Xrayez) <xrayez@gmail.com>
* Move `tests` to the top-level directoryAndrii Doroshenko (Xrayez)2020-07-2631-6192/+1
|
* Merge pull request #38900 from bruvzg/docs_ignore_os_spec_def_valsRémi Verschelde2020-07-251-2/+2
|\ | | | | Docs: Ignore OS specific values (constants, project settings, properties)
| * Docs: Ignore OS specific values (constants, project settings, properties).bruvzg2020-07-151-2/+2
| |
* | SCons: Add `tests` option to enable or disable unit testsAndrii Doroshenko (Xrayez)2020-07-252-3/+9
| |
* | fix crash on shutdownGordon MacPherson2020-07-241-5/+6
| |
* | Fix arguments always being found and returned some items back to normalGordon MacPherson2020-07-241-7/+7
| |
* | t Add unit testing to Godot using DocTest and added to GitHub Actions CIRevoluPowered2020-07-248-1397/+1136
| | | | | | | | | | | | | | | | | | | | Implements exit codes into the engine so tests can return their statuses. Ideally we don't do this, and we use FIXUP logic to 'begin' and 'end' the engine execution for tests specifically. Since realistically we're initialising the engine here we don't want to do that, since String should not require an engine startup to test a single header. This lowers the complexity of running the unit tests and even for physics should be possible to implement such a fix.
* | New GDScript tokenizer and parserGeorge Marques2020-07-201-915/+67
|/ | | | | | | | | | Sometimes to fix something you have to break it first. This get GDScript mostly working with the new tokenizer and parser but a lot of things isn't working yet. It compiles and it's usable, and that should be enough for now. Don't worry: other huge commits will come after this.
* Disable file logging for the project managerHugo Locurcio2020-07-141-15/+17
| | | | | | | | Due to `user://` returning the current working directory when no project is open, this caused logs to be written to `$HOME` most of the time. This closes #40305.
* Merge pull request #40354 from bruvzg/add_vulkan_init_messageRémi Verschelde2020-07-141-1/+1
|\ | | | | Display error popup instead of crashing if Vulkan init failed.