Commit Graph

3959 Commits

Author SHA1 Message Date
a37364620f Merge pull request #8569 from volzhs/editor-theme-1
Fix to use editor theme instead of handling each UI
2017-05-02 11:28:52 +02:00
6b769ac625 Merge pull request #8559 from Paulb23/script_recent_files
Added recent scripts to script editor
2017-05-02 11:27:57 +02:00
82fa41bce3 Merge pull request #8541 from RandomShaper/opt-out-capitalization
Add setting to opt-out of capitalization in property inspectors
2017-05-02 11:25:27 +02:00
be5e02708d Make script debugger display all kinds of objects 2017-05-01 19:47:06 +02:00
7ce8342ac5 Rename project file to "project.godot"
Slimmed down variant from the reverted #8375.
The rationale behind the name change is to give Godot's project file a unique
extension (".godot") that can be registered on the OS to be associated with
the Godot binary (OS registration not implemented here).

This PR also adds the possibility to start the game or editor if launched
with the project.godot passed as argument, which paves the way for allowing
a similar behaviour on a double-click in the OS file manager (code originally
by @Hinsbart).

Closes #6915.
2017-05-01 17:50:19 +02:00
a542372642 Make property editor display dictionaries (read only) 2017-05-01 14:25:47 +02:00
dd100374c1 Scene importer: add -rigidonly flag for empties (fixes #8430) 2017-04-30 16:26:23 +01:00
de7eba887e Merge pull request #8572 from akien-mga/thirdparty
Moving more thirdparty stuff (minizip, some single-file external libs) to the thirdparty directory
2017-04-29 22:57:49 +02:00
6d2f985db4 Revert "Use .godot as file extension for project files." 2017-04-29 17:56:51 +02:00
2398eb6ed4 Move core thirdparty files to thirdparty/{minizip,misc} 2017-04-28 21:19:23 +02:00
0a613ff970 Add a few missing copyright headers 2017-04-28 20:16:30 +02:00
3223305e5a Fix to use editor theme instead of handling each UI 2017-04-28 22:42:52 +09:00
be454ba2d6 Update editor theme 2017-04-28 11:01:17 +09:00
e37928bb50 Added recent scripts to script editor 2017-04-27 16:07:39 +01:00
7b315dc666 Add setting to opt-out of capitalization in the property inspector 2017-04-27 08:46:16 +02:00
d730ee66a4 Merge pull request #8515 from attilix/folder-file-manager
Right-clicking a folder now gives the option Show in file manager
2017-04-27 08:11:05 +02:00
2feb24953c Merge pull request #8520 from Hinsbart/tree_tooltips
Tree: Ability to add tooltips to TreeItem buttons.
2017-04-27 08:10:11 +02:00
ed583ffa30 Merge pull request #8553 from Hinsbart/vs_fix
Fix recognition of resource extensions.
2017-04-27 08:09:01 +02:00
f045efe007 Add new editor and default theme (WIP) 2017-04-27 08:04:57 +02:00
c530d8f43c Fix recognition of resource extensions.
Also removes a related debug print.
2017-04-26 23:07:23 +02:00
29999942a2 Tree: Ability to add tooltips to TreeItem buttons.
Adds a tooltip parameter to `TreeItem::add_button()` and set a few tooltips in the Project settings and SceneTree dock.
2017-04-26 19:14:35 +02:00
204d3ccf5f Separate fullscreen state for scene & script editor 2017-04-26 17:43:35 +05:30
c4ffe89204 Changed indent type settings 2017-04-26 12:14:03 +01:00
88d362b232 Merge pull request #8531 from RameshRavone/patch-5
Settings: Moving Poly Editor into Editors category
2017-04-26 08:14:04 +02:00
ff282571c6 Settings: Moving Poly Editor into Editors category 2017-04-25 17:48:08 +05:30
4b8152d599 Ability to Convert Case, issue 8079 2017-04-25 10:18:57 +01:00
0af6c39f36 Right-clicking a folder in the FileSystem panel now gives the option Show in file manager 2017-04-24 22:18:24 +02:00
8c4b7fcbb6 Merge pull request #8500 from Paulb23/space_indent_fixes
Space indent fixes
2017-04-24 12:01:29 +02:00
16f532a202 Merge pull request #8499 from Melix19/patch-3
Fix "Save/Delete Layout" text field goes outside of the popup
2017-04-24 12:01:00 +02:00
9acfb0782c Merge pull request #8444 from magyar123/pr-complete-paths
Script editor now automatically completes file paths in GDScript
2017-04-24 11:37:57 +02:00
68870af214 Merge pull request #8420 from magyar123/pr-script-files-as-base
Added the ability to select files as base when creating scripts
2017-04-24 11:28:36 +02:00
d4082a8d92 Added a container to EditorNameDialog 2017-04-23 23:36:59 +02:00
165b7bab63 Fixed convert indent and trim whitespace on save 2017-04-23 19:19:30 +01:00
e7e1d65eb0 Fix cursor position on indent convert 2017-04-23 19:05:51 +01:00
515f92d03b Fix property warnings and hide some debug prints
"ALL IS GOOD" was a lie.

In particular, removes verbose "path not recognized" false positive.

The actual logic is to (somewhat naively) check all ResourceFormatLoaders
and to pick the first good match, so no need to warn about the formats
that do not match the type hint.
2017-04-23 11:17:32 +02:00
b474646de0 i18n: Add more assetlib strings to translate
Fixes #8463.
2017-04-20 14:52:46 +02:00
cd69343ff1 i18n: Sync translation templates with current source 2017-04-20 14:52:46 +02:00
22b9c0207b Merge pull request #8417 from neikeq/hello-there
External editor improvements and fixes
2017-04-20 02:20:04 +02:00
367f21e123 Merge pull request #8359 from volzhs/script-filename-master
Show script filename instead of thumbnail
2017-04-20 02:09:21 +02:00
71978685f9 Added autocomplete for file paths in the script editor 2017-04-18 17:22:01 +02:00
5237bc952d Merge pull request #8424 from Paulb23/convert_indent
Support for space indentation
2017-04-18 14:16:58 +02:00
c59bd79e02 Convert indent on save 2017-04-18 12:30:52 +01:00
84bca4e72f Added support for space indentation 2017-04-18 12:30:46 +01:00
474f18512a Merge pull request #8375 from Hinsbart/project_extension
Use .godot as file extension for project files.
2017-04-17 23:28:15 +02:00
95fe6b5d8c Merge pull request #8433 from neikeq/pr-fix-smth
ScriptEditor: Fixes bug where menu option would be handled twice
2017-04-17 11:55:42 +02:00
97c385dbb8 ScriptEditor: Fixes bug where menu option would be handled twice 2017-04-17 02:45:56 +02:00
4b8568006d External editor improvements and fixes
Notable changes:

- Now ScriptLanguages have the option to override the global external editor setting.
If `ScriptLanguage::open_in_external_editor()` returns `ERR_UNAVAILABLE` (which it does by default), then the global external editor option will be used.
- Added formatting to the external editor execution arguments. Now it's possible to write something like this: `{project} -g {file}:{line}:{col}`.
- `VisualScript::get_member_line()` now can return the line of functions (well, it returns the id of the _Function_ node of the function). I guess there is nothing else we can get a "line" from.

Fixes:

- Fixes a bug where `ScriptEditor::script_goto_method()` would not work if the script is not already open in the built-in editor.
- Fixes wrong DEFVAL for `cursor_set_column` and `cursor_set_line` in TextEdit.
- `Script::get_member_line()` now returns -1 ("found nothing") by default.
2017-04-17 01:51:30 +02:00
95a2a7e525 Added ability to convert indent type 2017-04-16 17:21:45 +01:00
c06a2db63a Use .godot as file extension for project files.
Now project files don't have to be named "godot.cfg" anymore, they can have any name so as long as it ends with *.godot.
Also godot will automatically start the editor now if launched with a project file as an argument.
This allows for double-clicking of projects to open them :)

Code-wise this should be complete, but there's still work to do:

- Make a nice icon for godot projects.
- Work on installers/packaging -> register the extension and icon with godot.
- Update the 2.1 to 3.0 exporter.

Tested on linux and windows so far.
2017-04-16 10:19:07 +02:00
5b3c0a502c Add the ability to delete bezier path handles. 2017-04-16 01:02:58 -07:00