summaryrefslogtreecommitdiff
path: root/main
AgeCommit message (Collapse)Author
2020-01-26Sync controller mappings DB with SDL2 community repoRémi Verschelde
Synced with gabomdq/SDL_GameControllerDB@fed28b1bf9ee613ab11125cd17e652bc7f0d1bf7.
2020-01-13Sync pending VisualServer commands after ScriptServer finalizationIgnacio Etcheverry
This is needed as C# may free resources from the finalizer thread during CSharpLanguage::finish(). Previously this would result in RIDs not being freed.
2020-01-13Ignore command line --build-solutions when not editing projectRémi Verschelde
This option is meant to use together with `--path` or from a project folder. Otherwise the project manager is opened and the option triggers a crash. Fixes #25589.
2020-01-13Revert "Enable Vsync via Compositor by default"Rémi Verschelde
This reverts commit 9600fd5dde1f85b7dd2dd8558d52ff86b18651e7. Add comment warning about possible implications of using this option. Fixes #35038.
2020-01-10Be stricter on what's considered a scene path in CLI argument parsingHugo Locurcio
This closes #8721.
2020-01-10Merge pull request #34968 from Calinou/enable-vsync-via-compositorRémi Verschelde
Enable Vsync via Compositor by default
2020-01-10Main: Prevent Project Manager-ception in editorRémi Verschelde
Fixes #34904.
2020-01-09Enable Vsync via Compositor by defaultHugo Locurcio
This feature was added in #33414 but it was disabled by default. Now that it got some testing, it's probably safe to enable it by default.
2020-01-08Merge pull request #34918 from vnen/gdscript-assign-opRémi Verschelde
GDScript: enable type checks on release mode
2020-01-08GDScript: enable type checks on release modeGeorge Marques
Also make builtin GDScript functions report return type as Variant in release so type is converted when needed.
2020-01-08Merge pull request #34913 from akien-mga/main-add-export-packRémi Verschelde
Export: Add dedicated --export-pack option to export data pack
2020-01-08Export: Add dedicated --export-pack option to export data packRémi Verschelde
The previous behavior relying on the provided extension was problematic on macOS since .zip is the main extension used for the full project export (binary + data pack). We add a dedicated `--export-pack` command line option to define when only the data pack should be exported. Its extension will still be inferred from the path. Fixes #23073.
2020-01-08Gamepad: Fix parsing order for SDL2 controller databasesRémi Verschelde
We were overriding values from `gamecontrollerdb.txt` (current, updated upstream) with `gamecontrollerdb_205.txt` (legacy, SDL 2.0.5) and then `gamecontrollerdb_204.txt` (legacy, SDL 2.0.4). There was a comment to warn about this but it seems it did not prevent using the wrong order for all this time... Now `gamecontrollerdb.txt` mappings will properly override outdated ones present in the `204` and `205` variants.
2020-01-08Sync controller mappings DB with SDL2 community repoRémi Verschelde
Synced with gabomdq/SDL_GameControllerDB@67b49052b4d51bc4e28187f03588ade67f01d8ec.
2020-01-08Gamepad: Parse SDL_GAMECONTROLLERCONFIG env after default mappingsRémi Verschelde
Addresses comment https://github.com/godotengine/godot/issues/21918#issuecomment-458764923.
2020-01-07Export: Improve usability of command line interfaceRémi Verschelde
I'm barely scratching the surface of the changes needed to make the --export command line interface easy to use, but this should already improve things somewhat. - Streamline `can_export()` templates check in all platforms, checking first for the presence of official templates, then of any defined custom template, and reporting on the absence of any. Shouldn't change the actual return value much which is still true if either release or debug is usable - we might want to change that eventually and better validate against the requested target. - Fix discrepancy between platforms using `custom_package/debug` and `custom_template/debug` (resp. `release`). All now use `custom_template`, which will break compatibility for `export_presets.cfg` with earlier projects (but is easy to fix). - Use `can_export()` when attempting a command line export and report the same errors that would be shown in the editor. - Improve error reporting after a failed export attempt, handling missing template and invalid path more gracefully. - Cleanup of unused stuff in EditorNode around the export workflow. - Improve --export documentation in --help a bit. Fixes #16949 (at least many of the misunderstandings listed there). Fixes #18470.
2020-01-01Update copyright statements to 2020Rémi Verschelde
Happy new year to the wonderful Godot community! We're starting a new decade with a well-established, non-profit, free and open source game engine, and tons of further improvements in the pipeline from hundreds of contributors. Godot will keep getting better, and we're looking forward to all the games that the community will keep developing and releasing with it.
2019-12-30Merge pull request #34589 from Calinou/improve-cli-export-helpRémi Verschelde
Fix and improve command-line exporting help
2019-12-24Fix and improve command-line exporting helpHugo Locurcio
It was previously mentioning only one of the two required arguments. This also mentions that the export path is relative to the project directory. This partially addresses #28646.
2019-12-24Cleans up headers included in editor_node.hHaoyu Qiu
2019-12-13Merge pull request #34229 from NoFr1ends/fix-home-indicator-iosRémi Verschelde
Allow to change the home indicator behaviour on iOS
2019-12-13Update AUTHORS and DONORS listRémi Verschelde
New contributors added to AUTHORS: @allkhor, @Eoin-ONeill-Yokai, @timothyqiu, @madmiraal, @zaksnet Update sponsors on splash screen. Thanks to all contributors and donors for making Godot possible!
2019-12-13Add project setting to hide home indicator on iOSJonas Bernemann
On iOS devices without a physical home button iOS shows a home indicator instead. This is often in the way of the UI or the game. Added a project setting to disable hidden home indicator. The default value is to hide the home indicator
2019-12-04Added support for vertical syncing via the Windows OS compositor (DWM.)TerminalJack
2019-12-01iOS modular build and export implementation.bruvzg
2019-11-29Flush remaining messages before quitting the game when loading failsPouleyKetchoupp
This change allows error messages to be printed in the editor debugger when the game fails on load, instead of displaying them in the console terminal only.
2019-11-29Sync controller mappings DB with SDL2 community repoRémi Verschelde
Synced with gabomdq/SDL_GameControllerDB@d329cb6a71dbd6c6621a7841aa8109ba5062b58c.
2019-11-26godot exit code improvement for --script --check-only, fixes #33895Pawel Lampe
this commit causes godot executable to return non-zero exit code once invalid script is passed via --script during --check-only
2019-11-11Remove ERR_EXPLAIN macros and the scaffolding they needed.Marcel Admiraal
2019-11-08Merge pull request #27742 from rxlecky/camera-replicationRémi Verschelde
Game camera override
2019-11-07Merge pull request #30556 from kawa-yoiko/astar-directedRémi Verschelde
Improve support for directed graphs in A*; docs update included
2019-11-07New contributors added to AUTHORS:Rémi Verschelde
@DavidSichma, @ptrojahn New Platinum sponsor, added to splash screen: Interblock New Gold sponsor: Image Campus
2019-11-04Remove unused `editor/active` project settingHugo Locurcio
This closes #33322.
2019-11-01Fix some crashes, overflows and using variables without valuesRafał Mikrut
2019-10-23Implement game camera overrideErik
Implemented uniform API in Viewport class to override 2D and/or 3D camera. Added buttons in 2D and 3D editor viewport toolbars that override the running game camera transform with the editor viewport camera transform. Implemented via remote debugger protocol and camera override API. Removed LiveEditFuncs function pointers from ScriptDebugger class. Since the debugger got access to the SceneTree instance (if one exists), there is no need to store the function pointers. The live edit functions in SceneTree are used directly instead. Also removed the static version of live edit functions in SceneTree for the same reason. This reduced the SceneTree -> Debugger coupling too since the function pointers don't need to be set from SceneTree anymore. Moved script_debugger_remote.h/cpp from 'core/' to 'scene/debugger/'. This is because the remote debugger is now using SceneTree directly and 'core/' classes should not depend on 'scene/' classes.
2019-10-14Small fixes to redundand code, copy paste bugsqarmin
2019-10-12Optimize images losslessly using `oxipng -o6 --strip all --zopfli`Hugo Locurcio
2019-10-04Make possible to use just one "size/test_*" value in the settingsMichael Alexsander
2019-10-02Update AUTHORS and DONORS listRémi Verschelde
New contributors added to AUTHORS: @creikey, @IronicallySerious, @LikeLakers2, @minraws, @NilsIrl, @profan, @raphael10241024 New Platinum sponsor, added to splash screen: Heroic Labs Merged some duplicates via .mailmap to allow better tracking of commit counts with `git shortlog -s -n -e --no-merges`. Thanks to all contributors and donors for making Godot possible!
2019-09-28Add stress test between A* and Floyd-WarshallShiqing
2019-09-28Reduce memory usage for edges in A* and add testsShiqing
2019-09-27Validate audio/video driver command-line argumentsHugo Locurcio
This will exit early if the audio/video driver specified doesn't exist.
2019-09-26SCons: do not build tests with tools=noAndrii Doroshenko (Xrayez)
This doesn't affect the resulting binary size, but allows to save a phew seconds during compilation if building export templates.
2019-09-26Merge pull request #32230 from kawa-yoiko/oa-backward-shiftRémi Verschelde
Implement backward shift deletion for OAHashMap
2019-09-25Added some obvious errors explanationsqarmin
2019-09-21Implement backward shift deletion for OAHashMapShiqing
2019-09-03Adds skip-breakpoints featureiwek7
2019-08-27Mark the V-Sync project setting to require an editor restartHugo Locurcio
The V-Sync project setting also applies to the editor, but it will only take effect when the editor is restarted.
2019-08-27Sync controller mappings DB with SDL2 community repoRémi Verschelde
Synced with gabomdq/SDL_GameControllerDB@ef8542c9f354e0f65cb861b67f0aa81366060874.
2019-08-27Merge pull request #31662 from profan/perf/astar-reserveRémi Verschelde
Allow to reserve space for nodes in A* and elements in OAHashMap explicitly.