Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan McGovern <alan.mcgovern@gmail.com>2011-10-10 19:29:04 +0400
committerAlan McGovern <alan.mcgovern@gmail.com>2011-10-12 18:40:37 +0400
commit542b468b135dd869df8dc32316b7438f54b9be29 (patch)
tree01d9c27bd902a6e14aa50e3ef9a7ec2c700766fd /main/src/addins/VersionControl/MonoDevelop.VersionControl/Makefile.am
parent5f851d3eda566ac299b8c1f450ac5f6ffb4b747c (diff)
[VersionControl] Turn DiffView/LogView/BlameView etc into extension points
There are places where we need customised diff/log/blame handling for specific file types. For example plist files can always be viewed in text format but the on-disk file may be binary. To implement diff support for this requires special handling. This is supported by turning the various version control views into extension points so that custom handlers can be created. The default views for Diff, Blame, Log etc have also been refactored to not depend directly on SourceEditorView. These views now all check to see if the PrimaryView they're wrapping supports ITextFile, ITextBuffer etc before using features defined by those interfaces. DiffView works with an ITextFile at the most basic level by displaying a readonly view. If the view is an IEditableTextFile/ITextBuffer or SourceEditorView we enable further features automatically. Similary for the other views.
Diffstat (limited to 'main/src/addins/VersionControl/MonoDevelop.VersionControl/Makefile.am')
-rw-r--r--main/src/addins/VersionControl/MonoDevelop.VersionControl/Makefile.am10
1 files changed, 10 insertions, 0 deletions
diff --git a/main/src/addins/VersionControl/MonoDevelop.VersionControl/Makefile.am b/main/src/addins/VersionControl/MonoDevelop.VersionControl/Makefile.am
index 69a540e493..2942763c2c 100644
--- a/main/src/addins/VersionControl/MonoDevelop.VersionControl/Makefile.am
+++ b/main/src/addins/VersionControl/MonoDevelop.VersionControl/Makefile.am
@@ -31,9 +31,11 @@ FILES = \
MonoDevelop.VersionControl.Views/MergeWidget.cs \
MonoDevelop.VersionControl.Views/StatusView.cs \
MonoDevelop.VersionControl.Views/SubviewAttachmentHandler.cs \
+ MonoDevelop.VersionControl.Views/VersionControlDocumentInfo.cs \
MonoDevelop.VersionControl/AddRemoveMoveCommand.cs \
MonoDevelop.VersionControl/AnnotateCommand.cs \
MonoDevelop.VersionControl/BaseView.cs \
+ MonoDevelop.VersionControl/BlameCommand.cs \
MonoDevelop.VersionControl/ChangeLogWriter.cs \
MonoDevelop.VersionControl/ChangeSet.cs \
MonoDevelop.VersionControl/CheckoutCommand.cs \
@@ -44,9 +46,17 @@ FILES = \
MonoDevelop.VersionControl/CommitMessageFormat.cs \
MonoDevelop.VersionControl/CommitMessageStyle.cs \
MonoDevelop.VersionControl/CreatePatchCommand.cs \
+ MonoDevelop.VersionControl/DefaultBlameViewHandler.cs \
+ MonoDevelop.VersionControl/DefaultDiffViewHandler.cs \
+ MonoDevelop.VersionControl/DefaultLogViewHandler.cs \
+ MonoDevelop.VersionControl/DefaultMergeViewHandler.cs \
+ MonoDevelop.VersionControl/DiffCommand.cs \
MonoDevelop.VersionControl/FileUpdateEventHandler.cs \
MonoDevelop.VersionControl/IRepositoryEditor.cs \
+ MonoDevelop.VersionControl/IVersionControlViewHandler.cs \
MonoDevelop.VersionControl/LockCommand.cs \
+ MonoDevelop.VersionControl/LogCommand.cs \
+ MonoDevelop.VersionControl/MergeCommand.cs \
MonoDevelop.VersionControl/PublishCommand.cs \
MonoDevelop.VersionControl/Repository.cs \
MonoDevelop.VersionControl/RevertCommand.cs \