Commit graph

23060 commits

Author SHA1 Message Date
Twarit
d98e944a19 Add VCS editor plugin UI elements to editor 2019-09-03 20:16:30 +05:30
Twarit
97959a53df Add an overridable VCS Interface for the editor
The VCS interface can be thought of like a proxy system, where any call
to the API is redirected to the actual implementation of the VCS API
which may be existing in the form of a GDNative plugin which is marked
as a singleton and is not marked reloadable. If the implementation
doesn't exist in the file system, it only returns the default responses which contain
mostly empty containers of the data type that every API call returns.

EditorVCSInterface is used like a Godot object with a script attached to it. The script
is the implementation of the API and the object is the interface to the
script, which returns default responses if the script doesn't exist or
if the script doesn't define a function that handles that particular API call.

The entire system has been implemented using Object::call() and its
ability to switch to the script instance to handle the API call if the
script exists. Look for VersionControlEditorPlugin::_initialize() for
the essential API setup.
2019-09-03 20:01:14 +05:30
Twarit
07e3be3deb Add version control editor plugin
Provides the editor with all the VCS GUI and extracts the data from the
upcoming VCS API to cater to the project with VCS interaction.
2019-09-03 19:58:32 +05:30
Rémi Verschelde
0985d5fa99
Merge pull request #31496 from nekomatata/fix-text-edit-insert-selection
Update TextEdit selection when inserting line
2019-08-25 22:33:23 +02:00
Rémi Verschelde
41b5c62952
Merge pull request #31654 from Paulb23/minimap_fixes
Viewport highlight, colour cache and minimap scrolling fixes.
2019-08-25 22:32:05 +02:00
Ignacio Roldán Etcheverry
6d6d437146
Merge pull request #31653 from neikeq/enforce-cs7.0-in-csproj
Set C# 7 as LangVersion for GodotTools and Godot API projects
2019-08-25 16:58:36 +02:00
Ignacio Etcheverry
3af8bd071e Set C# 7 as LangVersion for GodotTools and Godot API projects
This will make it harder for someone to accidentally commit code that requires a newer version.
2019-08-25 15:53:47 +02:00
Paulb23
32d5427f55 Refactor TextEdit control height calculations 2019-08-25 14:49:13 +01:00
PouleyKetchoupp
bc839ed3f3 Update TextEdit selection & cursor when inserting line
Fixes #31458
2019-08-25 15:43:45 +02:00
Paulb23
c5b5c6b49b Minimap scroll now acts similar to scrollbar 2019-08-25 14:43:11 +01:00
Rémi Verschelde
360d0bb6a3
Merge pull request #31649 from exts/revert_notifyawaiter
reverted NotifyAwaiter<T> Reset() to support c#7.0
2019-08-25 14:26:30 +02:00
Yuri Roubinsky
14b173d0d9
Merge pull request #31650 from Chaosus/fix_shader_hint_range
Fix hint range step for integer in shaders
2019-08-25 15:21:56 +03:00
Yuri Roubinski
982becfa39 Fix hint range step for integer in shaders 2019-08-25 15:11:04 +03:00
lamonte
1df0e88ae8 default is only supported by 7.1, reverted to support 7.0 out of the box (no conflict) 2019-08-25 06:48:37 -05:00
Yuri Roubinsky
660682a2a3
Fix _get_description param name (visual shaders) (#31647)
Fix _get_description param name (visual shaders)
2019-08-25 13:17:37 +03:00
Yuri Roubinski
ac4e6f0041 Fix _get_description param name (visual shaders) 2019-08-25 13:06:16 +03:00
Rémi Verschelde
0d37f198f5
Merge pull request #31628 from merumelu/treeitem-icon-modulate
Tree: fix and expose icon modulation
2019-08-25 10:49:26 +02:00
Rémi Verschelde
33e531d95b
Merge pull request #31642 from Chaosus/fix_textedit
Disallow undo/redo by user input in readonly TextEdit's
2019-08-25 10:47:53 +02:00
Yuri Roubinsky
abc20f0fd2
Fixes for visual shader member filter (#31643)
Fixes for visual shader member filter
2019-08-25 11:26:54 +03:00
Yuri Roubinski
1d2e5f281e Fixes for visual shader member filter 2019-08-25 11:01:42 +03:00
Yuri Roubinski
4efa1b6906 Disallow undo/redo in readonly TextEdit's 2019-08-25 09:57:59 +03:00
Yuri Roubinsky
a7aacfef7f
Merge pull request #31641 from Chaosus/vs_fix_preview2
Small performance fix for preview in visual shader
2019-08-25 09:40:26 +03:00
Yuri Roubinski
494ea78610 Small performance fix for preview in visual shader 2019-08-25 09:22:09 +03:00
Yuri Roubinsky
38ba150800
Merge pull request #31640 from Chaosus/vs_mark_error
Enhanced preview for a visual shader to show errors
2019-08-25 08:55:33 +03:00
Yuri Roubinski
7f350a2c71 Enhanced preview for a visual shader to show errors 2019-08-25 08:42:21 +03:00
merumelu
eac0af5892 Tree: fix and expose icon modulation 2019-08-24 17:37:22 +02:00
Paulb23
ec4d2b26ec Fixed syntax highlighting cache not clearing final line 2019-08-24 15:21:45 +01:00
Paulb23
b75c2b6d76 Adjust viewport colour based on background colour 2019-08-24 14:33:55 +01:00
Rémi Verschelde
f2777c04c3
Merge pull request #31596 from Chaosus/shader_switch
Implements switch flow control operator in shaders
2019-08-24 14:47:44 +02:00
Rémi Verschelde
912f4fca6f
Merge pull request #31624 from qarmin/add_forgotten_checking
Add forgotten pointer checking
2019-08-24 14:06:49 +02:00
qarmin
33c62db7af Add forgotten pointer checking 2019-08-24 13:34:14 +02:00
Rémi Verschelde
57589a767d
Merge pull request #31604 from Xrayez/fix-inertia-2d
Fix uninitialized inertia value in Body2DSW
2019-08-24 10:50:08 +02:00
Andrii Doroshenko (Xrayez)
718f09ad20 Fix uninitialized inertia value in Body2DSW 2019-08-23 20:13:57 +03:00
Yuri Roubinski
4dda253ee0 Implements switch to shaders 2019-08-23 14:43:09 +03:00
Rémi Verschelde
791d7f78b5
Merge pull request #31593 from SaracenOne/project_theme_shutdown_fix
Fixes issue with project_default_theme not being cleaned up
2019-08-23 11:26:33 +02:00
Rémi Verschelde
b7ba8a1fa1
Merge pull request #31590 from karroffel/codeowners-update
remove karroffel from CODEOWNERS file
2019-08-23 11:26:07 +02:00
Saracen
08ceef2e39 Fixes issue with project_default_theme not being dereferenced on cleanup. 2019-08-23 09:18:42 +01:00
Rémi Verschelde
2a855a068a
Merge pull request #31589 from Chaosus/minimap_enabled
Make code minimap to be visible by default
2019-08-23 09:38:49 +02:00
Rémi Verschelde
dd6388d3f6
Merge pull request #31588 from Calinou/editor-help-add-horizontal-margins
Add horizontal margins to the editor help based on width
2019-08-23 09:38:37 +02:00
karroffel
4df91109a1 remove karroffel from CODEOWNERS file 2019-08-23 09:33:25 +02:00
Rémi Verschelde
98ccdc0889
Merge pull request #30398 from tomasantunes/master2
Increase color preset slots
2019-08-23 09:19:11 +02:00
Rémi Verschelde
0cff5d0b30
Merge pull request #30833 from sparkart/fix_inspector_clear_remote_node
Fix Clearing Inspector for Remote Node
2019-08-23 09:13:06 +02:00
Rémi Verschelde
bfed4b6a97
Merge pull request #31014 from DavidSichma/kinematic_angle
Fix floor_max_angle comparison for impossible angles
2019-08-23 09:10:38 +02:00
Rémi Verschelde
51d50e167d
Merge pull request #31094 from aaronfranke/vector-sign-mod-etc
Add Vector2/3 sign and posmod functions, axis, docs, misc additions
2019-08-23 09:07:47 +02:00
Rémi Verschelde
3a53e792ef
Merge pull request #31513 from qarmin/int_overflow
Prevent int overflow and underflow
2019-08-23 09:05:25 +02:00
Rémi Verschelde
de6783eaca
Merge pull request #31543 from fogine/#31503-ios-touch-events-stolen
Fixes iOS>=11 stealing touch events
2019-08-23 09:04:43 +02:00
Rémi Verschelde
73f1f9b44f
Merge pull request #31586 from SonerSound/issue_31533
Export path is the only path to be saved as a relative path
2019-08-23 08:34:03 +02:00
Rémi Verschelde
2477d414a1
Merge pull request #31111 from Xrayez/script-templates-project
Allow to define and load script templates per project
2019-08-23 08:24:00 +02:00
Rémi Verschelde
d5675c3996
Merge pull request #31575 from creikey/increase-anchor-precision
Increase control node's anchor precision
2019-08-23 08:22:33 +02:00
Rémi Verschelde
739cbf45c3
Merge pull request #31569 from SaracenOne/plugin_shutdown_fix
Fix an exception when trying to close down editor with plugins using autoload singletons
2019-08-23 08:19:29 +02:00