blob: dbe34c3d26ca05b08c8e933ee4bbca7e8302b58d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
|
<Addin id = "VersionControl"
namespace = "MonoDevelop"
name = "Version Control Support"
author = "Joshua Tauberer"
copyright = "LGPL"
url = "http://taubz.for.net/code/diff"
description = "A MonoDevelop addin for using version control systems like Subversion"
category = "Version Control"
flags = "Hidden"
version = "4.2.1">
<Runtime>
<Import file="comment.png" />
<Import file="menu_add.png" />
<Import file="menu_commit.png" />
<Import file="menu_diff.png" />
<Import file="menu_log.png" />
<Import file="menu_remote_status.png" />
<Import file="menu_remove.png" />
<Import file="menu_resolve.png" />
<Import file="menu_revert.png" />
<Import file="menu_status.png" />
<Import file="menu_update.png" />
</Runtime>
<Dependencies>
<Addin id="Core" version="4.2.1"/>
<Addin id="Ide" version="4.2.1"/>
<Addin id="SourceEditor2" version="4.2.1"/>
</Dependencies>
<ExtensionPoint path = "/MonoDevelop/VersionControl/VersionControlSystems" name = "Version control systems">
<Description>Version control systems</Description>
<ExtensionNode name="Class">
<Description>The specified class must subclass VersionControlSystem.</Description>
</ExtensionNode>
</ExtensionPoint>
<ExtensionPoint path = "/MonoDevelop/VersionControl/CommitDialogExtensions" name = "Commit dialog extensions">
<Description>Commit dialog extensions.</Description>
<ExtensionNode name="Class">
<Description>The specified class must subclass CommitDialogExtension.</Description>
</ExtensionNode>
</ExtensionPoint>
<ExtensionPoint path = "/MonoDevelop/VersionControl/StatusViewCommands" name = "Status View Commands">
<Description>Commands to be shown in the context menu of the status view. The id must match an existing code. The provided type must be a subclass of VersionControlCommandHandler.</Description>
<ExtensionNode name="CommandItem" />
<ExtensionNode name="SeparatorItem" type="MonoDevelop.Components.Commands.ExtensionNodes.SeparatorItemCodon" />
</ExtensionPoint>
<ExtensionPoint path = "/MonoDevelop/VersionControl/BlameView/ContextMenu" name = "Blame view context menu">
<Description>Context menu for the blame view.</Description>
<ExtensionNodeSet id="MonoDevelop.Components.Commands.ItemSet" />
</ExtensionPoint>
<ExtensionPoint path = "/MonoDevelop/VersionControl/DiffViewHandler" name = "Diff view handler">
<Description>Handler used to create the a diff view which can display the current file.</Description>
<ExtensionNode name="Handler" objectType="MonoDevelop.VersionControl.IDiffViewHandler" />
</ExtensionPoint>
<Extension path = "/MonoDevelop/VersionControl/DiffViewHandler">
<Handler class = "MonoDevelop.VersionControl.DefaultDiffViewHandler" />
</Extension>
<ExtensionPoint path = "/MonoDevelop/VersionControl/BlameViewHandler" name = "Blame view handler">
<Description>Handler used to create the a blame view which can display the current file.</Description>
<ExtensionNode name="Handler" objectType="MonoDevelop.VersionControl.IBlameViewHandler" />
</ExtensionPoint>
<Extension path = "/MonoDevelop/VersionControl/BlameViewHandler">
<Handler class = "MonoDevelop.VersionControl.DefaultBlameViewHandler" />
</Extension>
<ExtensionPoint path = "/MonoDevelop/VersionControl/LogViewHandler" name = "Log view handler">
<Description>Handler used to create the a log view which can display the current file.</Description>
<ExtensionNode name="Handler" objectType="MonoDevelop.VersionControl.ILogViewHandler" />
</ExtensionPoint>
<Extension path = "/MonoDevelop/VersionControl/LogViewHandler">
<Handler class = "MonoDevelop.VersionControl.DefaultLogViewHandler" />
</Extension>
<ExtensionPoint path = "/MonoDevelop/VersionControl/MergeViewHandler" name = "Merge view handler">
<Description>Handler used to create the a merge view which can display the current file.</Description>
<ExtensionNode name="Handler" objectType="MonoDevelop.VersionControl.IMergeViewHandler" />
</ExtensionPoint>
<Extension path = "/MonoDevelop/VersionControl/MergeViewHandler">
<Handler class = "MonoDevelop.VersionControl.DefaultMergeViewHandler" />
</Extension>
<ExtensionPoint path = "/MonoDevelop/VersionControl/DiffView/ContextMenu" name = "Diff view context menu">
<Description>Context menu for the diff view.</Description>
<ExtensionNodeSet id="MonoDevelop.Components.Commands.ItemSet" />
</ExtensionPoint>
<Extension path = "/MonoDevelop/Core/FileSystemExtensions">
<Class class = "MonoDevelop.VersionControl.VersionControlFileSystemExtension" insertafter = "MidStep" />
</Extension>
<Extension path = "/MonoDevelop/Ide/Pads/ProjectPad">
<PadOption id = "ShowVersionControlOverlays" _label = "Show version control overlay icons" defaultValue = "True" />
<NodeBuilder id = "VersionControlNodeExtension" class = "MonoDevelop.VersionControl.VersionControlNodeExtension"/>
</Extension>
<Extension path = "/MonoDevelop/Core/StockIcons">
<StockIcon stockid = "vc-add-command" file = "menu_add.png" size="Menu" />
<StockIcon stockid = "vc-remove-command" file = "menu_remove.png" size="Menu" />
<StockIcon stockid = "vc-resolve-command" file = "menu_resolve.png" size="Menu" />
<StockIcon stockid = "vc-revert-command" file = "menu_revert.png" size="Menu" />
<StockIcon stockid = "vc-diff" file = "menu_diff.png" size="Menu" />
<StockIcon stockid = "vc-log" file = "menu_log.png" size="Menu" />
<StockIcon stockid = "vc-status" file = "menu_status.png" size="Menu" />
<StockIcon stockid = "vc-update" file = "menu_update.png" size="Menu" />
<StockIcon stockid = "vc-commit" file = "menu_commit.png" size="Menu" />
<StockIcon stockid = "vc-remote-status" file = "menu_remote_status.png" size="Menu" />
<StockIcon stockid = "vc-comment" file = "comment.png" size="Menu" />
<StockIcon stockid = "md-version-control" resource = "version-control-16.png" size="Menu" />
</Extension>
<Extension path = "/MonoDevelop/Ide/Commands">
<Category _name = "Version Control" id = "VersionControl">
<Command id = "MonoDevelop.VersionControl.Commands.Add"
_label = "_Add"
icon = "vc-add-command"
defaultHandler = "MonoDevelop.VersionControl.AddCommandHandler"
description = "Add node to repository in the next commit."/>
<Command id = "MonoDevelop.VersionControl.Commands.Remove"
_label = "_Remove"
icon = "vc-remove-command"
defaultHandler = "MonoDevelop.VersionControl.RemoveCommandHandler"
description = "Remove node to repository in the next commit."/>
<Command id = "MonoDevelop.VersionControl.Commands.Diff"
_label = "_Diff"
icon = "vc-diff"
defaultHandler = "MonoDevelop.VersionControl.CurrentFileDiffHandler"
description = "Show the changes made to the local copy since the last update."/>
<Command id = "MonoDevelop.VersionControl.Commands.Revert"
_label = "_Revert"
icon = "vc-revert-command"
defaultHandler = "MonoDevelop.VersionControl.RevertCommandHandler"
description = "Restore pristine working copy file (undo most local edits)."/>
<Command id = "MonoDevelop.VersionControl.Commands.Log"
_label = "_Log"
icon = "vc-log"
defaultHandler = "MonoDevelop.VersionControl.CurrentFileLogHandler"
description = "Shows the commit history of the file or folder."/>
<Command id = "MonoDevelop.VersionControl.Commands.Status"
_label = "_Review and Commit"
icon = "vc-status"
description = "Shows the status of files in the folder."/>
<Command id = "MonoDevelop.VersionControl.Commands.SolutionStatus"
_label = "_Review Solution and Commit"
icon = "vc-status"
defaultHandler="MonoDevelop.VersionControl.StatusCommandHandler"
description = "Shows the status of files in the solution."/>
<Command id = "MonoDevelop.VersionControl.Commands.Update"
_label = "_Update"
icon = "vc-update"
description = "Updates the local copy with remote changes."/>
<Command id = "MonoDevelop.VersionControl.Commands.UpdateSolution"
_label = "_Update Solution"
icon = "vc-update"
defaultHandler="MonoDevelop.VersionControl.UpdateCommandHandler"
description = "Updates the local copy with remote changes."/>
<Command id = "MonoDevelop.VersionControl.Commands.Publish"
_label = "_Publish..."
description = "Publish actual project into repository."/>
<Command id = "MonoDevelop.VersionControl.Commands.Checkout"
defaultHandler = "MonoDevelop.VersionControl.CheckoutCommand"
_label = "C_heckout..."
icon = "vc-update"
description = "Checkout a project from repository."/>
<Command id = "MonoDevelop.VersionControl.Commands.Lock"
_label = "Lock"
defaultHandler = "MonoDevelop.VersionControl.LockCommandHandler"
description = "Lock files in the repository, so that no other user can change them."/>
<Command id = "MonoDevelop.VersionControl.Commands.Unlock"
_label = "Release Lock"
defaultHandler = "MonoDevelop.VersionControl.UnlockCommandHandler"
description = "Unlock files in the repository, so that other user can change them."/>
<Command id = "MonoDevelop.VersionControl.Commands.Annotate"
_label = "Show Annotations"
defaultHandler = "MonoDevelop.VersionControl.CurrentFileBlameHandler"
description = "Show the origin of each line in a file."/>
<Command id = "MonoDevelop.VersionControl.Commands.CreatePatch"
_label = "Create _Patch"
icon = "vc-diff"
description = "Create a patch representing local changes."/>
<Command id = "MonoDevelop.VersionControl.Commands.Ignore"
_label = "Add to ignore list"
description = "Add items to version control ignore list"/>
<Command id = "MonoDevelop.VersionControl.Commands.Unignore"
_label = "Remove from ignore list"
description = "Add items to version control ignore list"/>
<Command id = "MonoDevelop.VersionControl.Commands.ResolveConflicts"
_label = "Resolve Conflicts"
description = "Resolve conflicts on the project file."/>
<Command id = "MonoDevelop.VersionControl.Views.BlameCommands.CopyRevision"
_label = "_Copy revision"/>
<Command id = "MonoDevelop.VersionControl.Views.BlameCommands.ShowDiff"
_label = "_Show diff"/>
<Command id = "MonoDevelop.VersionControl.Views.BlameCommands.ShowLog"
_label = "S_how log"/>
</Category>
</Extension>
<Extension path = "/MonoDevelop/Ide/ContextMenu/DocumentTab">
<ItemSet id = "VersionControl" _label = "_Version Control" insertafter = "SaveSeparator">
<CommandItem id = "MonoDevelop.VersionControl.Commands.Diff"/>
<CommandItem id = "MonoDevelop.VersionControl.Commands.Log"/>
<CommandItem id = "MonoDevelop.VersionControl.Commands.Annotate"/>
</ItemSet>
<SeparatorItem/>
</Extension>
<Extension path = "/MonoDevelop/Ide/MainMenu">
<ItemSet id = "VersionControl" _label = "_Version Control" insertafter = "Run" >
<CommandItem id = "MonoDevelop.VersionControl.Commands.Checkout" />
<CommandItem id = "MonoDevelop.VersionControl.Commands.Publish"/>
<SeparatorItem/>
<CommandItem id = "MonoDevelop.VersionControl.Commands.UpdateSolution"/>
<CommandItem id = "MonoDevelop.VersionControl.Commands.SolutionStatus"/>
<SeparatorItem/>
<CommandItem id = "MonoDevelop.VersionControl.Commands.Add"/>
<CommandItem id = "MonoDevelop.VersionControl.Commands.Remove"/>
<CommandItem id = "MonoDevelop.VersionControl.Commands.Revert"/>
<CommandItem id = "MonoDevelop.VersionControl.Commands.Lock"/>
<CommandItem id = "MonoDevelop.VersionControl.Commands.Unlock"/>
<CommandItem id = "MonoDevelop.VersionControl.Commands.Ignore"/>
<CommandItem id = "MonoDevelop.VersionControl.Commands.Unignore"/>
<SeparatorItem/>
<CommandItem id = "MonoDevelop.VersionControl.Commands.Diff"/>
<CommandItem id = "MonoDevelop.VersionControl.Commands.Log"/>
<CommandItem id = "MonoDevelop.VersionControl.Commands.Annotate"/>
</ItemSet>
</Extension>
<Extension path = "/MonoDevelop/SourceEditor2/ContextMenu/Editor">
<ItemSet id = "VersionControl" _label = "_Version Control">
<CommandItem id = "MonoDevelop.VersionControl.Commands.Diff"/>
<CommandItem id = "MonoDevelop.VersionControl.Commands.Log"/>
<CommandItem id = "MonoDevelop.VersionControl.Commands.Annotate"/>
</ItemSet>
</Extension>
<Extension path = "/MonoDevelop/Ide/ContextMenu/ProjectPad">
<Condition id="ItemType" value="IFileItem|IFolderItem">
<ItemSet id = "VersionControl" _label = "_Version Control" insertafter = "Tools">
<CommandItem id = "MonoDevelop.VersionControl.Commands.ResolveConflicts"/>
<Condition id="ItemType" value="Project|WorkspaceItem">
<CommandItem id = "MonoDevelop.VersionControl.Commands.Publish"/>
</Condition>
<CommandItem id = "MonoDevelop.VersionControl.Commands.Add"/>
<CommandItem id = "MonoDevelop.VersionControl.Commands.Remove"/>
<CommandItem id = "MonoDevelop.VersionControl.Commands.Revert"/>
<CommandItem id = "MonoDevelop.VersionControl.Commands.Ignore"/>
<CommandItem id = "MonoDevelop.VersionControl.Commands.Unignore"/>
<Condition id="ItemType" value="IFileItem">
<CommandItem id = "MonoDevelop.VersionControl.Commands.Lock"/>
<CommandItem id = "MonoDevelop.VersionControl.Commands.Unlock"/>
</Condition>
<SeparatorItem id = "CommandSeparator" />
<CommandItem id = "MonoDevelop.VersionControl.Commands.Update"/>
<CommandItem id = "MonoDevelop.VersionControl.Commands.Status"/>
<CommandItem id = "MonoDevelop.VersionControl.Commands.Diff"/>
<CommandItem id = "MonoDevelop.VersionControl.Commands.CreatePatch"/>
<CommandItem id = "MonoDevelop.VersionControl.Commands.Log"/>
<Condition id="ItemType" value="IFileItem">
<CommandItem id = "MonoDevelop.VersionControl.Commands.Annotate"/>
</Condition>
</ItemSet>
<SeparatorItem />
</Condition>
</Extension>
<Extension path = "/MonoDevelop/VersionControl/StatusViewCommands">
<CommandItem id = "MonoDevelop.Ide.Commands.ViewCommands.Open" type="MonoDevelop.VersionControl.OpenCommandHandler"/>
<SeparatorItem id = "CommandSeparator0" />
<CommandItem id = "MonoDevelop.VersionControl.Commands.Update" type="MonoDevelop.VersionControl.AddinCommandHandler"/>
<CommandItem id = "MonoDevelop.VersionControl.Commands.Diff" type="MonoDevelop.VersionControl.AddinCommandHandler"/>
<CommandItem id = "MonoDevelop.VersionControl.Commands.CreatePatch" type="MonoDevelop.VersionControl.AddinCommandHandler"/>
<CommandItem id = "MonoDevelop.VersionControl.Commands.Log" type="MonoDevelop.VersionControl.AddinCommandHandler"/>
<SeparatorItem id = "CommandSeparator1" />
<CommandItem id = "MonoDevelop.VersionControl.Commands.Remove" type="MonoDevelop.VersionControl.AddinCommandHandler"/>
<CommandItem id = "MonoDevelop.VersionControl.Commands.Revert" type="MonoDevelop.VersionControl.AddinCommandHandler"/>
<SeparatorItem id = "CommandSeparator2" />
<CommandItem id = "MonoDevelop.VersionControl.Commands.Lock" type="MonoDevelop.VersionControl.AddinCommandHandler"/>
<CommandItem id = "MonoDevelop.VersionControl.Commands.Unlock" type="MonoDevelop.VersionControl.AddinCommandHandler"/>
<SeparatorItem id = "CommandSeparator3" />
</Extension>
<!--
<Extension path="/MonoDevelop/SourceEditor2/ContextMenu/Editor">
<CommandItem id = "MonoDevelop.VersionControl.Commands.ShowAnnotations"/>
<CommandItem id = "MonoDevelop.VersionControl.Commands.HideAnnotations"/>
</Extension> -->
<Extension path = "/MonoDevelop/ProjectModel/Gui/ItemOptionPanels">
<Section id="VersionControl" _label="Version Control">
<ComplexCondition>
<Or>
<Condition id="ItemType" value="SolutionItem" />
<Condition id="ItemType" value="Solution" />
</Or>
<Section id = "VersionControlGeneral" _label = "Commit Message Style" fill="true" class="MonoDevelop.VersionControl.VersionControlPolicyPanel" />
</ComplexCondition>
</Section>
</Extension>
<Extension path = "/MonoDevelop/ProjectModel/Gui/DefaultPolicyPanels/VersionControl">
<Section id = "VersionControlGeneral" _label = "Commit Message Style" fill="true" class="MonoDevelop.VersionControl.VersionControlPolicyPanel" />
</Extension>
<Extension path = "/MonoDevelop/Ide/GlobalOptionsDialog/VersionControl">
<Section id = "VersionControlGeneral" _label = "General" fill="true" class="MonoDevelop.VersionControl.VersionControlGeneralOptionsPanel" />
<Section id = "VersionControlGeneral" _label = "Commit Message Style" fill="true" class="MonoDevelop.VersionControl.VersionControlPolicyPanel" />
</Extension>
<Extension path = "/MonoDevelop/ProjectModel/PolicySets/Mono" >
<Policies resource="Policies.xml"/>
</Extension>
<Extension path = "/MonoDevelop/TypeSystem/Parser">
<Parser class = "MonoDevelop.VersionControl.Views.DiffParser" id = "DiffParser" mimeType="text/x-patch" />
</Extension>
<Extension path = "/MonoDevelop/Ide/StartupHandlers">
<Class class = "MonoDevelop.VersionControl.Views.SubviewAttachmentHandler"/>
</Extension>
<Extension path = "/MonoDevelop/VersionControl/BlameView/ContextMenu">
<CommandItem id = "MonoDevelop.Ide.Commands.EditCommands.Cut" />
<CommandItem id = "MonoDevelop.Ide.Commands.EditCommands.Copy" />
<CommandItem id = "MonoDevelop.Ide.Commands.EditCommands.Paste" />
</Extension>
<Extension path = "/MonoDevelop/VersionControl/DiffView/ContextMenu">
<CommandItem id = "MonoDevelop.Ide.Commands.EditCommands.Cut" />
<CommandItem id = "MonoDevelop.Ide.Commands.EditCommands.Copy" />
<CommandItem id = "MonoDevelop.Ide.Commands.EditCommands.Paste" />
</Extension>
<Extension path = "/MonoDevelop/Core/UserDataMigration">
<!-- 2.4 -->
<Migration sourceVersion="2.4" kind="Cache" path="version-control-commit-msg" />
<Migration sourceVersion="2.4" kind="Config" path="VersionControl.config" />
<!-- 2.6+ -->
<Migration sourceVersion="2.6+" kind="Cache" path="version-control-commit-msg" />
<Migration sourceVersion="2.6+" kind="Config" path="VersionControl.config" />
</Extension>
</Addin>
|