~mcfletch/eric/update-to-4.5.13

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
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN'
'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
<html><head>
<title>eric4.Plugins.VcsPlugins.vcsSubversion.SvnLogBrowserDialog</title>
<style>
body {
    background:white;
    margin: 0em 1em 10em 1em;
    color: black;
}

h1 { color: white; background: #4FA4FF; }
h2 { color: white; background: #4FA4FF; }
h3 { color: white; background: #00557F; }
h4 { color: white; background: #00557F; }
    
a { color: #AA5500; }

</style>
</head>
<body><a NAME="top" ID="top"></a>
<h1>eric4.Plugins.VcsPlugins.vcsSubversion.SvnLogBrowserDialog</h1>
<p>
Module implementing a dialog to browse the log history.
</p>
<h3>Global Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Classes</h3>
<table>
<tr>
<td><a href="#SvnLogBrowserDialog">SvnLogBrowserDialog</a></td>
<td>Class implementing a dialog to browse the log history.</td>
</tr>
</table>
<h3>Functions</h3>
<table>
<tr><td>None</td></tr>
</table>
<hr /><hr />
<a NAME="SvnLogBrowserDialog" ID="SvnLogBrowserDialog"></a>
<h2>SvnLogBrowserDialog</h2>
<p>
    Class implementing a dialog to browse the log history.
</p>
<h3>Derived from</h3>
QDialog, Ui_SvnLogBrowserDialog
<h3>Class Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Class Methods</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Methods</h3>
<table>
<tr>
<td><a href="#SvnLogBrowserDialog.__init__">SvnLogBrowserDialog</a></td>
<td>Constructor</td>
</tr><tr>
<td><a href="#SvnLogBrowserDialog.__diffRevisions">__diffRevisions</a></td>
<td>Private method to do a diff of two revisions.</td>
</tr><tr>
<td><a href="#SvnLogBrowserDialog.__filterLogs">__filterLogs</a></td>
<td>Private method to filter the log entries.</td>
</tr><tr>
<td><a href="#SvnLogBrowserDialog.__finish">__finish</a></td>
<td>Private slot called when the process finished or the user pressed the button.</td>
</tr><tr>
<td><a href="#SvnLogBrowserDialog.__generateFileItem">__generateFileItem</a></td>
<td>Private method to generate a changed files tree entry.</td>
</tr><tr>
<td><a href="#SvnLogBrowserDialog.__generateLogItem">__generateLogItem</a></td>
<td>Private method to generate a log tree entry.</td>
</tr><tr>
<td><a href="#SvnLogBrowserDialog.__getLogEntries">__getLogEntries</a></td>
<td>Private method to retrieve log entries from the repository.</td>
</tr><tr>
<td><a href="#SvnLogBrowserDialog.__procFinished">__procFinished</a></td>
<td>Private slot connected to the finished signal.</td>
</tr><tr>
<td><a href="#SvnLogBrowserDialog.__processBuffer">__processBuffer</a></td>
<td>Private method to process the buffered output of the svn log command.</td>
</tr><tr>
<td><a href="#SvnLogBrowserDialog.__readStderr">__readStderr</a></td>
<td>Private slot to handle the readyReadStandardError signal.</td>
</tr><tr>
<td><a href="#SvnLogBrowserDialog.__readStdout">__readStdout</a></td>
<td>Private slot to handle the readyReadStandardOutput signal.</td>
</tr><tr>
<td><a href="#SvnLogBrowserDialog.__resizeColumnsFiles">__resizeColumnsFiles</a></td>
<td>Private method to resize the changed files tree columns.</td>
</tr><tr>
<td><a href="#SvnLogBrowserDialog.__resizeColumnsLog">__resizeColumnsLog</a></td>
<td>Private method to resize the log tree columns.</td>
</tr><tr>
<td><a href="#SvnLogBrowserDialog.__resortFiles">__resortFiles</a></td>
<td>Private method to resort the changed files tree.</td>
</tr><tr>
<td><a href="#SvnLogBrowserDialog.__resortLog">__resortLog</a></td>
<td>Private method to resort the log tree.</td>
</tr><tr>
<td><a href="#SvnLogBrowserDialog.closeEvent">closeEvent</a></td>
<td>Private slot implementing a close event handler.</td>
</tr><tr>
<td><a href="#SvnLogBrowserDialog.keyPressEvent">keyPressEvent</a></td>
<td>Protected slot to handle a key press event.</td>
</tr><tr>
<td><a href="#SvnLogBrowserDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td>
<td>Private slot called by a button of the button box clicked.</td>
</tr><tr>
<td><a href="#SvnLogBrowserDialog.on_clearRxEditButton_clicked">on_clearRxEditButton_clicked</a></td>
<td>Private slot called by a click of the clear RX edit button.</td>
</tr><tr>
<td><a href="#SvnLogBrowserDialog.on_diffPreviousButton_clicked">on_diffPreviousButton_clicked</a></td>
<td>Private slot to handle the Diff to Previous button.</td>
</tr><tr>
<td><a href="#SvnLogBrowserDialog.on_diffRevisionsButton_clicked">on_diffRevisionsButton_clicked</a></td>
<td>Private slot to handle the Compare Revisions button.</td>
</tr><tr>
<td><a href="#SvnLogBrowserDialog.on_fieldCombo_activated">on_fieldCombo_activated</a></td>
<td>Private slot called, when a new filter field is selected.</td>
</tr><tr>
<td><a href="#SvnLogBrowserDialog.on_fromDate_dateChanged">on_fromDate_dateChanged</a></td>
<td>Private slot called, when the from date changes.</td>
</tr><tr>
<td><a href="#SvnLogBrowserDialog.on_input_returnPressed">on_input_returnPressed</a></td>
<td>Private slot to handle the press of the return key in the input field.</td>
</tr><tr>
<td><a href="#SvnLogBrowserDialog.on_logTree_currentItemChanged">on_logTree_currentItemChanged</a></td>
<td>Private slot called, when the current item of the log tree changes.</td>
</tr><tr>
<td><a href="#SvnLogBrowserDialog.on_logTree_itemSelectionChanged">on_logTree_itemSelectionChanged</a></td>
<td>Private slot called, when the selection has changed.</td>
</tr><tr>
<td><a href="#SvnLogBrowserDialog.on_nextButton_clicked">on_nextButton_clicked</a></td>
<td>Private slot to handle the Next button.</td>
</tr><tr>
<td><a href="#SvnLogBrowserDialog.on_passwordCheckBox_toggled">on_passwordCheckBox_toggled</a></td>
<td>Private slot to handle the password checkbox toggled.</td>
</tr><tr>
<td><a href="#SvnLogBrowserDialog.on_rxEdit_textChanged">on_rxEdit_textChanged</a></td>
<td>Private slot called, when a filter expression is entered.</td>
</tr><tr>
<td><a href="#SvnLogBrowserDialog.on_sendButton_clicked">on_sendButton_clicked</a></td>
<td>Private slot to send the input to the subversion process.</td>
</tr><tr>
<td><a href="#SvnLogBrowserDialog.on_stopCheckBox_clicked">on_stopCheckBox_clicked</a></td>
<td>Private slot called, when the stop on copy/move checkbox is clicked</td>
</tr><tr>
<td><a href="#SvnLogBrowserDialog.on_toDate_dateChanged">on_toDate_dateChanged</a></td>
<td>Private slot called, when the from date changes.</td>
</tr><tr>
<td><a href="#SvnLogBrowserDialog.start">start</a></td>
<td>Public slot to start the svn log command.</td>
</tr>
</table>
<h3>Static Methods</h3>
<table>
<tr><td>None</td></tr>
</table>
<a NAME="SvnLogBrowserDialog.__init__" ID="SvnLogBrowserDialog.__init__"></a>
<h4>SvnLogBrowserDialog (Constructor)</h4>
<b>SvnLogBrowserDialog</b>(<i>vcs, parent = None</i>)
<p>
        Constructor
</p><dl>
<dt><i>vcs</i></dt>
<dd>
reference to the vcs object
</dd><dt><i>parent</i></dt>
<dd>
parent widget (QWidget)
</dd>
</dl><a NAME="SvnLogBrowserDialog.__diffRevisions" ID="SvnLogBrowserDialog.__diffRevisions"></a>
<h4>SvnLogBrowserDialog.__diffRevisions</h4>
<b>__diffRevisions</b>(<i>rev1, rev2</i>)
<p>
        Private method to do a diff of two revisions.
</p><dl>
<dt><i>rev1</i></dt>
<dd>
first revision number (integer)
</dd><dt><i>rev2</i></dt>
<dd>
second revision number (integer)
</dd>
</dl><a NAME="SvnLogBrowserDialog.__filterLogs" ID="SvnLogBrowserDialog.__filterLogs"></a>
<h4>SvnLogBrowserDialog.__filterLogs</h4>
<b>__filterLogs</b>(<i></i>)
<p>
        Private method to filter the log entries.
</p><a NAME="SvnLogBrowserDialog.__finish" ID="SvnLogBrowserDialog.__finish"></a>
<h4>SvnLogBrowserDialog.__finish</h4>
<b>__finish</b>(<i></i>)
<p>
        Private slot called when the process finished or the user pressed the button.
</p><a NAME="SvnLogBrowserDialog.__generateFileItem" ID="SvnLogBrowserDialog.__generateFileItem"></a>
<h4>SvnLogBrowserDialog.__generateFileItem</h4>
<b>__generateFileItem</b>(<i>action, path, copyFrom, copyRev</i>)
<p>
        Private method to generate a changed files tree entry.
</p><dl>
<dt><i>action</i></dt>
<dd>
indicator for the change action ("A", "D" or "M")
</dd><dt><i>path</i></dt>
<dd>
path of the file in the repository (string or QString)
</dd><dt><i>copyFrom</i></dt>
<dd>
path the file was copied from (None, string or QString)
</dd><dt><i>copyRev</i></dt>
<dd>
revision the file was copied from (None, string or QString)
</dd>
</dl><dl>
<dt>Returns:</dt>
<dd>
reference to the generated item (QTreeWidgetItem)
</dd>
</dl><a NAME="SvnLogBrowserDialog.__generateLogItem" ID="SvnLogBrowserDialog.__generateLogItem"></a>
<h4>SvnLogBrowserDialog.__generateLogItem</h4>
<b>__generateLogItem</b>(<i>author, date, message, revision, changedPaths</i>)
<p>
        Private method to generate a log tree entry.
</p><dl>
<dt><i>author</i></dt>
<dd>
author info (string or QString)
</dd><dt><i>date</i></dt>
<dd>
date info (string or QString)
</dd><dt><i>message</i></dt>
<dd>
text of the log message (QStringList)
</dd><dt><i>revision</i></dt>
<dd>
revision info (string or QString)
</dd><dt><i>changedPaths</i></dt>
<dd>
list of dictionary objects containing
            info about the changed files/directories 
</dd>
</dl><dl>
<dt>Returns:</dt>
<dd>
reference to the generated item (QTreeWidgetItem)
</dd>
</dl><a NAME="SvnLogBrowserDialog.__getLogEntries" ID="SvnLogBrowserDialog.__getLogEntries"></a>
<h4>SvnLogBrowserDialog.__getLogEntries</h4>
<b>__getLogEntries</b>(<i>startRev = None</i>)
<p>
        Private method to retrieve log entries from the repository.
</p><dl>
<dt><i>startRev</i></dt>
<dd>
revision number to start from (integer, string or QString)
</dd>
</dl><a NAME="SvnLogBrowserDialog.__procFinished" ID="SvnLogBrowserDialog.__procFinished"></a>
<h4>SvnLogBrowserDialog.__procFinished</h4>
<b>__procFinished</b>(<i>exitCode, exitStatus</i>)
<p>
        Private slot connected to the finished signal.
</p><dl>
<dt><i>exitCode</i></dt>
<dd>
exit code of the process (integer)
</dd><dt><i>exitStatus</i></dt>
<dd>
exit status of the process (QProcess.ExitStatus)
</dd>
</dl><a NAME="SvnLogBrowserDialog.__processBuffer" ID="SvnLogBrowserDialog.__processBuffer"></a>
<h4>SvnLogBrowserDialog.__processBuffer</h4>
<b>__processBuffer</b>(<i></i>)
<p>
        Private method to process the buffered output of the svn log command.
</p><a NAME="SvnLogBrowserDialog.__readStderr" ID="SvnLogBrowserDialog.__readStderr"></a>
<h4>SvnLogBrowserDialog.__readStderr</h4>
<b>__readStderr</b>(<i></i>)
<p>
        Private slot to handle the readyReadStandardError signal.
</p><p>
        It reads the error output of the process and inserts it into the
        error pane.
</p><a NAME="SvnLogBrowserDialog.__readStdout" ID="SvnLogBrowserDialog.__readStdout"></a>
<h4>SvnLogBrowserDialog.__readStdout</h4>
<b>__readStdout</b>(<i></i>)
<p>
        Private slot to handle the readyReadStandardOutput signal. 
</p><p>
        It reads the output of the process and inserts it into a buffer.
</p><a NAME="SvnLogBrowserDialog.__resizeColumnsFiles" ID="SvnLogBrowserDialog.__resizeColumnsFiles"></a>
<h4>SvnLogBrowserDialog.__resizeColumnsFiles</h4>
<b>__resizeColumnsFiles</b>(<i></i>)
<p>
        Private method to resize the changed files tree columns.
</p><a NAME="SvnLogBrowserDialog.__resizeColumnsLog" ID="SvnLogBrowserDialog.__resizeColumnsLog"></a>
<h4>SvnLogBrowserDialog.__resizeColumnsLog</h4>
<b>__resizeColumnsLog</b>(<i></i>)
<p>
        Private method to resize the log tree columns.
</p><a NAME="SvnLogBrowserDialog.__resortFiles" ID="SvnLogBrowserDialog.__resortFiles"></a>
<h4>SvnLogBrowserDialog.__resortFiles</h4>
<b>__resortFiles</b>(<i></i>)
<p>
        Private method to resort the changed files tree.
</p><a NAME="SvnLogBrowserDialog.__resortLog" ID="SvnLogBrowserDialog.__resortLog"></a>
<h4>SvnLogBrowserDialog.__resortLog</h4>
<b>__resortLog</b>(<i></i>)
<p>
        Private method to resort the log tree.
</p><a NAME="SvnLogBrowserDialog.closeEvent" ID="SvnLogBrowserDialog.closeEvent"></a>
<h4>SvnLogBrowserDialog.closeEvent</h4>
<b>closeEvent</b>(<i>e</i>)
<p>
        Private slot implementing a close event handler.
</p><dl>
<dt><i>e</i></dt>
<dd>
close event (QCloseEvent)
</dd>
</dl><a NAME="SvnLogBrowserDialog.keyPressEvent" ID="SvnLogBrowserDialog.keyPressEvent"></a>
<h4>SvnLogBrowserDialog.keyPressEvent</h4>
<b>keyPressEvent</b>(<i>evt</i>)
<p>
        Protected slot to handle a key press event.
</p><dl>
<dt><i>evt</i></dt>
<dd>
the key press event (QKeyEvent)
</dd>
</dl><a NAME="SvnLogBrowserDialog.on_buttonBox_clicked" ID="SvnLogBrowserDialog.on_buttonBox_clicked"></a>
<h4>SvnLogBrowserDialog.on_buttonBox_clicked</h4>
<b>on_buttonBox_clicked</b>(<i>button</i>)
<p>
        Private slot called by a button of the button box clicked.
</p><dl>
<dt><i>button</i></dt>
<dd>
button that was clicked (QAbstractButton)
</dd>
</dl><a NAME="SvnLogBrowserDialog.on_clearRxEditButton_clicked" ID="SvnLogBrowserDialog.on_clearRxEditButton_clicked"></a>
<h4>SvnLogBrowserDialog.on_clearRxEditButton_clicked</h4>
<b>on_clearRxEditButton_clicked</b>(<i></i>)
<p>
        Private slot called by a click of the clear RX edit button.
</p><a NAME="SvnLogBrowserDialog.on_diffPreviousButton_clicked" ID="SvnLogBrowserDialog.on_diffPreviousButton_clicked"></a>
<h4>SvnLogBrowserDialog.on_diffPreviousButton_clicked</h4>
<b>on_diffPreviousButton_clicked</b>(<i></i>)
<p>
        Private slot to handle the Diff to Previous button.
</p><a NAME="SvnLogBrowserDialog.on_diffRevisionsButton_clicked" ID="SvnLogBrowserDialog.on_diffRevisionsButton_clicked"></a>
<h4>SvnLogBrowserDialog.on_diffRevisionsButton_clicked</h4>
<b>on_diffRevisionsButton_clicked</b>(<i></i>)
<p>
        Private slot to handle the Compare Revisions button.
</p><a NAME="SvnLogBrowserDialog.on_fieldCombo_activated" ID="SvnLogBrowserDialog.on_fieldCombo_activated"></a>
<h4>SvnLogBrowserDialog.on_fieldCombo_activated</h4>
<b>on_fieldCombo_activated</b>(<i>txt</i>)
<p>
        Private slot called, when a new filter field is selected.
</p><dl>
<dt><i>txt</i></dt>
<dd>
text of the selected field (QString)
</dd>
</dl><a NAME="SvnLogBrowserDialog.on_fromDate_dateChanged" ID="SvnLogBrowserDialog.on_fromDate_dateChanged"></a>
<h4>SvnLogBrowserDialog.on_fromDate_dateChanged</h4>
<b>on_fromDate_dateChanged</b>(<i>date</i>)
<p>
        Private slot called, when the from date changes.
</p><dl>
<dt><i>date</i></dt>
<dd>
new date (QDate)
</dd>
</dl><a NAME="SvnLogBrowserDialog.on_input_returnPressed" ID="SvnLogBrowserDialog.on_input_returnPressed"></a>
<h4>SvnLogBrowserDialog.on_input_returnPressed</h4>
<b>on_input_returnPressed</b>(<i></i>)
<p>
        Private slot to handle the press of the return key in the input field.
</p><a NAME="SvnLogBrowserDialog.on_logTree_currentItemChanged" ID="SvnLogBrowserDialog.on_logTree_currentItemChanged"></a>
<h4>SvnLogBrowserDialog.on_logTree_currentItemChanged</h4>
<b>on_logTree_currentItemChanged</b>(<i>current, previous</i>)
<p>
        Private slot called, when the current item of the log tree changes.
</p><dl>
<dt><i>current</i></dt>
<dd>
reference to the new current item (QTreeWidgetItem)
</dd><dt><i>previous</i></dt>
<dd>
reference to the old current item (QTreeWidgetItem)
</dd>
</dl><a NAME="SvnLogBrowserDialog.on_logTree_itemSelectionChanged" ID="SvnLogBrowserDialog.on_logTree_itemSelectionChanged"></a>
<h4>SvnLogBrowserDialog.on_logTree_itemSelectionChanged</h4>
<b>on_logTree_itemSelectionChanged</b>(<i></i>)
<p>
        Private slot called, when the selection has changed.
</p><a NAME="SvnLogBrowserDialog.on_nextButton_clicked" ID="SvnLogBrowserDialog.on_nextButton_clicked"></a>
<h4>SvnLogBrowserDialog.on_nextButton_clicked</h4>
<b>on_nextButton_clicked</b>(<i></i>)
<p>
        Private slot to handle the Next button.
</p><a NAME="SvnLogBrowserDialog.on_passwordCheckBox_toggled" ID="SvnLogBrowserDialog.on_passwordCheckBox_toggled"></a>
<h4>SvnLogBrowserDialog.on_passwordCheckBox_toggled</h4>
<b>on_passwordCheckBox_toggled</b>(<i>isOn</i>)
<p>
        Private slot to handle the password checkbox toggled.
</p><dl>
<dt><i>isOn</i></dt>
<dd>
flag indicating the status of the check box (boolean)
</dd>
</dl><a NAME="SvnLogBrowserDialog.on_rxEdit_textChanged" ID="SvnLogBrowserDialog.on_rxEdit_textChanged"></a>
<h4>SvnLogBrowserDialog.on_rxEdit_textChanged</h4>
<b>on_rxEdit_textChanged</b>(<i>txt</i>)
<p>
        Private slot called, when a filter expression is entered.
</p><dl>
<dt><i>txt</i></dt>
<dd>
filter expression (QString)
</dd>
</dl><a NAME="SvnLogBrowserDialog.on_sendButton_clicked" ID="SvnLogBrowserDialog.on_sendButton_clicked"></a>
<h4>SvnLogBrowserDialog.on_sendButton_clicked</h4>
<b>on_sendButton_clicked</b>(<i></i>)
<p>
        Private slot to send the input to the subversion process.
</p><a NAME="SvnLogBrowserDialog.on_stopCheckBox_clicked" ID="SvnLogBrowserDialog.on_stopCheckBox_clicked"></a>
<h4>SvnLogBrowserDialog.on_stopCheckBox_clicked</h4>
<b>on_stopCheckBox_clicked</b>(<i>checked</i>)
<p>
        Private slot called, when the stop on copy/move checkbox is clicked
</p><a NAME="SvnLogBrowserDialog.on_toDate_dateChanged" ID="SvnLogBrowserDialog.on_toDate_dateChanged"></a>
<h4>SvnLogBrowserDialog.on_toDate_dateChanged</h4>
<b>on_toDate_dateChanged</b>(<i>date</i>)
<p>
        Private slot called, when the from date changes.
</p><dl>
<dt><i>date</i></dt>
<dd>
new date (QDate)
</dd>
</dl><a NAME="SvnLogBrowserDialog.start" ID="SvnLogBrowserDialog.start"></a>
<h4>SvnLogBrowserDialog.start</h4>
<b>start</b>(<i>fn</i>)
<p>
        Public slot to start the svn log command.
</p><dl>
<dt><i>fn</i></dt>
<dd>
filename to show the log for (string)
</dd>
</dl>
<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>