Status: | Needs review |
---|---|
Proposed branch: | lp:~jelmer/qbrz/codespell |
Merge into: | lp:qbrz |
Diff against target: |
814 lines (+84/-84) 27 files modified
NEWS.txt (+27/-27) README.md (+1/-1) __init__.py (+2/-2) docs/make_release.txt (+1/-1) docs/slot-signal-mini-tutorial/slot-signal-mini-tutorial.txt (+1/-1) lib/annotate.py (+1/-1) lib/commands.py (+4/-4) lib/diff.py (+2/-2) lib/diff_arg.py (+1/-1) lib/diffview.py (+1/-1) lib/diffwindow.py (+1/-1) lib/log.py (+3/-3) lib/loggraphviz.py (+1/-1) lib/logmodel.py (+1/-1) lib/logwidget.py (+1/-1) lib/revert.py (+1/-1) lib/revisionmessagebrowser.py (+1/-1) lib/subprocess.py (+4/-4) lib/tests/modeltest.py (+3/-3) lib/tests/test_loggraphviz.py (+6/-6) lib/trace.py (+5/-5) lib/treewidget.py (+6/-6) lib/ui_run.py (+1/-1) lib/uifactory.py (+1/-1) lib/util.py (+6/-6) lib/widgets/texteditaccessory.py (+1/-1) ui/run.ui (+1/-1) |
To merge this branch: | bzr merge lp:~jelmer/qbrz/codespell |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
qbrz team | Pending | ||
Review via email:
|
Commit message
Fix spelling errors in code
Description of the change
Fix spelling errors
-------8<-------
SUMMARY:
actualy 3
alphabeticaly 2
ansestor 1
arround 1
ategory 2
automaticly 2
availible 3
becuse 1
blured 1
brach 1
changeing 1
colapse 4
colapses 1
colum 1
combinated 1
commitable 1
compatabile 1
consistant 1
coresponding 1
correclty 1
correcly 1
defaul 1
diplayed 1
directoies 1
draging 1
entires 1
eqivalents 1
execption 1
exisiting 1
foward 1
globaly 1
handeling 2
implictly 1
incase 1
incrementaly 1
interupt 2
lables 1
occurance 1
orignal 1
overriden 1
recived 1
recored 1
refesh 1
releated 1
renabled 1
renderd 1
reuseable 1
sepecified 2
seperate 1
shoud 1
somehwat 1
speciffied 1
specifing 1
stoping 5
successfull 3
syncronizing 1
thier 1
transaltions 1
trnaslations 1
typicaly 1
uncomitted 3
uncommited 1
unlikley 1
untill 1
usefull 2
usibility 1
visble 1
wont 1
Unmerged revisions
- 1668. By Jelmer Vernooij
-
Fix spelling errors
-------8<-------
SUMMARY:
actualy 3
alphabeticaly 2
ansestor 1
arround 1
ategory 2
automaticly 2
availible 3
becuse 1
blured 1
brach 1
changeing 1
colapse 4
colapses 1
colum 1
combinated 1
commitable 1
compatabile 1
consistant 1
coresponding 1
correclty 1
correcly 1
defaul 1
diplayed 1
directoies 1
draging 1
entires 1
eqivalents 1
execption 1
exisiting 1
foward 1
globaly 1
handeling 2
implictly 1
incase 1
incrementaly 1
interupt 2
lables 1
occurance 1
orignal 1
overriden 1
recived 1
recored 1
refesh 1
releated 1
renabled 1
renderd 1
reuseable 1
sepecified 2
seperate 1
shoud 1
somehwat 1
speciffied 1
specifing 1
stoping 5
successfull 3
syncronizing 1
thier 1
transaltions 1
trnaslations 1
typicaly 1
uncomitted 3
uncommited 1
unlikley 1
untill 1
usefull 2
usibility 1
visble 1
wont 1
Preview Diff
1 | === modified file 'NEWS.txt' |
2 | --- NEWS.txt 2024-02-23 09:34:43 +0000 |
3 | +++ NEWS.txt 2024-11-17 08:32:35 +0000 |
4 | @@ -223,7 +223,7 @@ |
5 | * qconfig: |
6 | * Fixed Set Default button in Merge tab. (Gordon Tyler, Bug #820635) |
7 | * qdiff: |
8 | - * Smart scroll syncronizing for side by side view (in complete mode). |
9 | + * Smart scroll synchronizing for side by side view (in complete mode). |
10 | (IWATA Hidetaka) |
11 | * Fixed ignore whitespace changes code. |
12 | (Alexander Belchenko, Bug #827391) |
13 | @@ -517,7 +517,7 @@ |
14 | * qcommit: added option to load commit message from a file. |
15 | (Bug #640071, Philip Peitsch) |
16 | * qconflicts: fix bug with access to QBzr configuration. (Bug #675894) |
17 | - * When a interupt signal is recived, close rather than showing a error |
18 | + * When a interrupt signal is received, close rather than showing a error |
19 | message. (Gary van der Merwe) |
20 | * qpush: fixed smart suggestion of new push URLs for lp branches. |
21 | (Bug #710767, Alexander Belchenko) |
22 | @@ -568,7 +568,7 @@ |
23 | * qgetupdates: fixed API mismatch. (Bug #636510, Alexander Belchenko) |
24 | * qlog: |
25 | * better branch labels for `bzr qlog colo:` case. (Alexander Belchenko) |
26 | - * give a size hint for the GraphTagsBugsItemDelegate so that blured |
27 | + * give a size hint for the GraphTagsBugsItemDelegate so that blurred |
28 | rendering on Windows with PyQt 4.7 is avoided. (Gary van der Merwe) |
29 | * qrun: fixed '--execute' mode. (Bug #590229, Simon Kersey) |
30 | |
31 | @@ -647,7 +647,7 @@ |
32 | * qlog: Improve performance by using KnownGraph. (John Arbash Meinel, |
33 | Gary van der Merwe) |
34 | * TreeWidget dialogs (qcommit, qadd, qrevert, qbrowse): |
35 | - Performance improvements for select all, and changeing filters. |
36 | + Performance improvements for select all, and changing filters. |
37 | (Bug #513105, Bug #476641, Gary van der Merwe) |
38 | * Improve startup performance by using lazy imports. (Gary van der Merwe) |
39 | |
40 | @@ -772,7 +772,7 @@ |
41 | qbrowse (for revision tree) if revno bigger than 9999. |
42 | (Bug #505990, Alexander Belchenko) |
43 | * Changed buttons behavior in subprocess-based dialogs: if the operation |
44 | - failed then show Retry button (instead of OK), at the successfull finish |
45 | + failed then show Retry button (instead of OK), at the successful finish |
46 | show only Close button. (Simon Kersey) |
47 | * qrun has new option --execute which allows to run the supplied command |
48 | immediately. If the command failed user can edit the command and its |
49 | @@ -828,7 +828,7 @@ |
50 | * The properties box in the message box now follow the theme, and hence are |
51 | now readable on dark themes. (Bug #407070, Gary van der Merwe) |
52 | * Parents and children in the message box are now show with a dot, of the |
53 | - same color as thier dot in the graph. (Gary van der Merwe) |
54 | + same color as their dot in the graph. (Gary van der Merwe) |
55 | * qcat: |
56 | * Line numbers are now shown when viewing text files. (Gary van der Merwe) |
57 | * qannotate: |
58 | @@ -899,7 +899,7 @@ |
59 | * Don't show unchanged directories that contain ignored files. |
60 | (Bug #462435, Gary van der Merwe) |
61 | * qcommit, qadd, qrevert: |
62 | - * Directoies with 4 or more sub items are grouped in the tree view. |
63 | + * Directories with 4 or more sub items are grouped in the tree view. |
64 | (Bug #456198, Gary van der Merwe) |
65 | * Correct the old path shown for renamed files. (Bug #432572, |
66 | Gary van der Merwe) |
67 | @@ -907,14 +907,14 @@ |
68 | directory. (Bug #435034, Gary van der Merwe) |
69 | * For qcommit, It is now possible to select unversioned file and directories |
70 | via the command line. (Gary van der Merwe) |
71 | - * Automaticly expand to the check items on load. (Gary van der Merwe) |
72 | + * Automatically expand to the check items on load. (Gary van der Merwe) |
73 | * Fix View for unversoined files when run from a sub directory of the |
74 | working tree. (Gary van der Merwe) |
75 | * qcommit/qbrowse: |
76 | * Conflicts are shown in the status column. External merge applications |
77 | can be launched to resolve these conflicts, and the conflicts can be |
78 | marked as merged. (Bug #174509, Gary van der Merwe) |
79 | - * Improved the usibility of the context menu add, and revert actions. |
80 | + * Improved the usability of the context menu add, and revert actions. |
81 | These now directly use the api, rather than via subprocess. There is |
82 | now no prompt for add. With large trees, there is less flicker when the |
83 | tree is refreshed, and the scroll position is remembered. |
84 | @@ -955,7 +955,7 @@ |
85 | * update bound branch |
86 | * update lightweight checkout |
87 | * qlog can display foreign revision info if available. |
88 | - * Sort tags alphabeticaly and case-insensitive in qtag dialog. |
89 | + * Sort tags alphabetically and case-insensitive in qtag dialog. |
90 | * qexport now has sensible defaults and more user-friendly archive |
91 | types (e.g. tar.gz instead of tgz) displayed in the combo box. |
92 | On windows, the default archive type is now zip as well. |
93 | @@ -1014,7 +1014,7 @@ |
94 | * Very long command-line passed to qsubprocess via temp file |
95 | regardless of platform. (#387320, Alexander Belchenko) |
96 | * qtag: |
97 | - * Sort tags alphabeticaly and case-insensitive. (#423075, Craig Hewetson) |
98 | + * Sort tags alphabetically and case-insensitive. (#423075, Craig Hewetson) |
99 | * Save/restore the size of dialog. (#435859, Craig Hewetson) |
100 | * qupdate: |
101 | * Now working for bound branches (aka heavyweight checkouts). |
102 | @@ -1125,11 +1125,11 @@ |
103 | * Fixed a bug where it was not possible to do any file list context menu |
104 | actions on a file that was renamed in the revision that you were viewing. |
105 | (Bug 418340) |
106 | - * Fixed a graph layout bug, where if the first revions of a brach was |
107 | + * Fixed a graph layout bug, where if the first revions of a branch was |
108 | filter, there was no non direct line to it. (Bug 417895) |
109 | * Removed superfluous twisties at the end of a filterted branch line. |
110 | (Bug 419784) |
111 | - * Fixed a bug where branch lables would show on the wrong revisions. |
112 | + * Fixed a bug where branch labels would show on the wrong revisions. |
113 | (Bug 423201) |
114 | * qcommit: |
115 | * Show a friendly error message when tring to commit a specific file, |
116 | @@ -1201,7 +1201,7 @@ |
117 | * Pressing Escape cancels the dialog. |
118 | * Spelling suggestions are shown in the message context menu. (#395895) |
119 | * If you dbl click on a pending merge, it will show the revision message, |
120 | - which is usefull if you want to copy it. |
121 | + which is useful if you want to copy it. |
122 | * When the arguments are written to a file, thay are now encoded. (#398750) |
123 | * Added a refresh button to reload changes. (#253777) |
124 | * qcommit, qadd, and qrevert now reuse the widget from qbrowse. This means |
125 | @@ -1215,7 +1215,7 @@ |
126 | search filter and type * in the search entry. |
127 | * qannotate: |
128 | * It is now possible to annotate the working tree. |
129 | - * Branch encoding setting is now correcly loaded. (#397753) |
130 | + * Branch encoding setting is now correctly loaded. (#397753) |
131 | * A minimum of 80 chars is now shown (#397756) |
132 | * qdiff: |
133 | * Use configured color for interline_changes_background. |
134 | @@ -1227,7 +1227,7 @@ |
135 | 0.12 - 2009-07-08 |
136 | ----------------------- |
137 | Maintenance release: compatibility with bzr 1.17 (progress indicator for |
138 | -commands); branching into exisiting directory (with qbranch) works now |
139 | +commands); branching into existing directory (with qbranch) works now |
140 | (require bzr 1.17); better support of unicode paths in various commands. |
141 | |
142 | * qbranch: now it's possible to branch into newly created empty directory. |
143 | @@ -1266,7 +1266,7 @@ |
144 | |
145 | 0.11.0 - 2009-06-11 |
146 | ----------------------- |
147 | -Maintenance release: compatibility with bzr 1.16 (bencode releated changes), |
148 | +Maintenance release: compatibility with bzr 1.16 (bencode related changes), |
149 | improved performance of qlog, more fixes for side-by-side qdiff, a dozen of |
150 | various bugfixes. |
151 | |
152 | @@ -1301,7 +1301,7 @@ |
153 | * Fixed a bug when clicking refresh with multiple branches open. |
154 | (Bug #351633) |
155 | * When viewing a remote branch, qlog will load the revisions from local |
156 | - current directory if availible. |
157 | + current directory if available. |
158 | * Improvements to the graph layout. |
159 | * When opening diffs, there is less of a delay. |
160 | * When running qlog DIR, revisions that change the children of the directory |
161 | @@ -1362,7 +1362,7 @@ |
162 | This release is a minor regression fixing release, to be released in sync with |
163 | bzr 1.12 final. |
164 | |
165 | - * Fix bug where qinit was not working - correclty handle QString arguments |
166 | + * Fix bug where qinit was not working - correctly handle QString arguments |
167 | when starting a subprocess (Bug #327395) |
168 | |
169 | |
170 | @@ -1398,13 +1398,13 @@ |
171 | New features in this release: throbber, interactive password prompt, |
172 | post_uncommit hook, new bug-url command. Dozen of bugs fixed as well. |
173 | |
174 | - * Add post_uncommit hook to remember the uncomitted commit message. |
175 | + * Add post_uncommit hook to remember the uncommitted commit message. |
176 | * Add interactive prompt for password if access to the branch require it. |
177 | * Add throbber feature: user will see message "Loading..." and animation |
178 | when there is long operation in progress to indicate that qbzr window |
179 | is not hang. |
180 | * Command-line interface to QBzr commands now is much closer to |
181 | - coresponding commands in bzr itself. Where possible commands |
182 | + corresponding commands in bzr itself. Where possible commands |
183 | options are reused from bzr. (#272359) |
184 | * qcommit: |
185 | * Commit without message is forbidden (#297606). |
186 | @@ -1462,7 +1462,7 @@ |
187 | not only C/Python; qcommit trying to spell check your commit message, |
188 | if you have PyEnchant installed; qannotate and qdiff(!) highlight |
189 | syntax of source code files; qlog can use bzr-search plugin for |
190 | -searching in history; qlog can show combinated history for several |
191 | +searching in history; qlog can show combined history for several |
192 | branches from one shared repository. |
193 | |
194 | Here the list of most user-visible changes since 0.9.3: |
195 | @@ -1471,7 +1471,7 @@ |
196 | * Added new commands. |
197 | * qannotate: |
198 | * A working tree is no longer required to annotate a file. |
199 | - * The column widths are resize automaticly. |
200 | + * The column widths are resize automatically. |
201 | * Syntax highlighting of annotated file (Pygments library required). |
202 | * qbrowse: |
203 | * A context menu item has been added to annotate a file. |
204 | @@ -1585,8 +1585,8 @@ |
205 | files in any combination) |
206 | * Show label '[binary file]' for modified binary files (#165006) |
207 | * Images are shown in side by side diff. (#242083) |
208 | - * Window loads straight away, and the diff loads incrementaly in the |
209 | - background, showing files that have be diffed as the become availible. |
210 | + * Window loads straight away, and the diff loads incrementally in the |
211 | + background, showing files that have be diffed as the become available. |
212 | (#174964) |
213 | * Show changes in x bits. (#153817) |
214 | * qlog: |
215 | @@ -1697,9 +1697,9 @@ |
216 | 0.6.0 - 2007-09-06 |
217 | ------------------ |
218 | |
219 | - * Support for --fixes and --author eqivalents in the commit dialog. |
220 | + * Support for --fixes and --author equivalents in the commit dialog. |
221 | * Display fixed bugs in the log view. |
222 | - * Changed color of tags to yellow (to make it more consistant with gitk/hgk). |
223 | + * Changed color of tags to yellow (to make it more consistent with gitk/hgk). |
224 | * Faster diff viewing from the log window. |
225 | * Pending merges in the commit dialog are now displayed as a flat list. |
226 | * PyQt 4.3 fixes. |
227 | |
228 | === modified file 'README.md' |
229 | --- README.md 2024-01-31 23:48:45 +0000 |
230 | +++ README.md 2024-11-17 08:32:35 +0000 |
231 | @@ -98,7 +98,7 @@ |
232 | |
233 | You can help to translate Qbrz interface to other languages. |
234 | |
235 | -You can use either Launchpad trnaslations interface (it's preferable way) |
236 | +You can use either Launchpad translations interface (it's preferable way) |
237 | see https://translations.launchpad.net/qbrz, |
238 | or you can translate it offline, see instructions below. |
239 | |
240 | |
241 | === modified file '__init__.py' |
242 | --- __init__.py 2024-02-22 15:03:06 +0000 |
243 | +++ __init__.py 2024-11-17 08:32:35 +0000 |
244 | @@ -176,10 +176,10 @@ |
245 | except ImportError: |
246 | from breezy.branch import Branch |
247 | Branch.hooks.install_named_hook('post_uncommit', post_uncommit_hook, |
248 | - 'Remember uncomitted revision data for qcommit') |
249 | + 'Remember uncommitted revision data for qcommit') |
250 | else: |
251 | install_lazy_named_hook("breezy.branch", "Branch.hooks", 'post_uncommit', |
252 | - post_uncommit_hook, 'Remember uncomitted revision data for qcommit') |
253 | + post_uncommit_hook, 'Remember uncommitted revision data for qcommit') |
254 | |
255 | |
256 | def load_tests(basic_tests, module, loader): |
257 | |
258 | === modified file 'docs/make_release.txt' |
259 | --- docs/make_release.txt 2013-07-28 21:11:36 +0000 |
260 | +++ docs/make_release.txt 2024-11-17 08:32:35 +0000 |
261 | @@ -55,7 +55,7 @@ |
262 | version control) - ensure you're `bzr add` them before commit |
263 | (NOTE in NEWS.txt about new translations are very welcome). |
264 | * Commit updated translations and push to Launchpad. |
265 | -* You'd better update transaltions before starting release process. |
266 | +* You'd better update translations before starting release process. |
267 | |
268 | |
269 | Register release at Launchpad |
270 | |
271 | === modified file 'docs/slot-signal-mini-tutorial/slot-signal-mini-tutorial.txt' |
272 | --- docs/slot-signal-mini-tutorial/slot-signal-mini-tutorial.txt 2008-09-22 22:33:37 +0000 |
273 | +++ docs/slot-signal-mini-tutorial/slot-signal-mini-tutorial.txt 2024-11-17 08:32:35 +0000 |
274 | @@ -33,7 +33,7 @@ |
275 | will be called (and vice-versa). I've previously told QtDesigner |
276 | that our form may send such a signal, and subprocess.py is where the actual |
277 | emit() of the signal happens. As a result, we have the 2 groupboxes |
278 | - being automatically disabled when the subprocess starts and renabled |
279 | + being automatically disabled when the subprocess starts and re-enabled |
280 | if things fail. |
281 | |
282 | * The next item in the list if a signal from the 'but_init' widget, |
283 | |
284 | === modified file 'lib/annotate.py' |
285 | --- lib/annotate.py 2024-02-22 15:03:06 +0000 |
286 | +++ lib/annotate.py 2024-11-17 08:32:35 +0000 |
287 | @@ -429,7 +429,7 @@ |
288 | if n: |
289 | if n == 1: |
290 | # [bialix 2012/09/13] actually after loading annotation |
291 | - # document implictly sets current position to the first line. |
292 | + # document implicitly sets current position to the first line. |
293 | # So we're unable to change position to 1st line. |
294 | # Make a hack: select 2nd line, and then actually select 1st one. |
295 | self.go_to_line(2) |
296 | |
297 | === modified file 'lib/commands.py' |
298 | --- lib/commands.py 2024-01-31 23:48:45 +0000 |
299 | +++ lib/commands.py 2024-11-17 08:32:35 +0000 |
300 | @@ -135,7 +135,7 @@ |
301 | NOTES: |
302 | 1) q-command should define method '_qbrz_run' instead of 'run' (as in |
303 | breezy). |
304 | - 2) The _qbrz_run method should return 0 for successfull exit |
305 | + 2) The _qbrz_run method should return 0 for successful exit |
306 | and 1 if operation was cancelled by user. |
307 | 3) The _qbrz_run method can return None, in this case return code will be |
308 | asked from self.main_window instance (if there is one). |
309 | @@ -155,7 +155,7 @@ |
310 | try: |
311 | ui.ui_factory = QUIFactory() |
312 | |
313 | - # Handle interupt signal correctly. |
314 | + # Handle interrupt signal correctly. |
315 | signal.signal(signal.SIGINT, signal.SIG_DFL) |
316 | |
317 | # Set up global exception handling. |
318 | @@ -426,7 +426,7 @@ |
319 | |
320 | By default show the log of the branch containing the working directory. |
321 | |
322 | - If multiple files are speciffied, they must be from the same branch. |
323 | + If multiple files are specified, they must be from the same branch. |
324 | |
325 | :Examples: |
326 | Log the current branch:: |
327 | @@ -669,7 +669,7 @@ |
328 | @install_gettext |
329 | @report_missing_pyqt |
330 | def _do_qpreview(self, merger): |
331 | - # Set up global execption handeling. |
332 | + # Set up global exception handling. |
333 | from breezy.plugins.qbrz.lib.trace import excepthook |
334 | sys.excepthook = excepthook |
335 | |
336 | |
337 | === modified file 'lib/diff.py' |
338 | --- lib/diff.py 2024-02-22 15:03:06 +0000 |
339 | +++ lib/diff.py 2024-11-17 08:32:35 +0000 |
340 | @@ -65,7 +65,7 @@ |
341 | |
342 | if ext_diff == "": |
343 | |
344 | - # We can't import this globaly becuse it ties to import us, |
345 | + # We can't import this globally because it ties to import us, |
346 | # which causes and Import Error. |
347 | from breezy.plugins.qbrz.lib.diffwindow import DiffWindow |
348 | |
349 | @@ -577,7 +577,7 @@ |
350 | """ |
351 | Show diffs of specified file_ids. |
352 | NOTE: Directories cannot be specified. |
353 | - Use diff_tree or diff_paths instead when specifing directory. |
354 | + Use diff_tree or diff_paths instead when specifying directory. |
355 | """ |
356 | with ExitStack() as es: |
357 | if lock_trees: |
358 | |
359 | === modified file 'lib/diff_arg.py' |
360 | --- lib/diff_arg.py 2024-01-31 23:48:45 +0000 |
361 | +++ lib/diff_arg.py 2024-11-17 08:32:35 +0000 |
362 | @@ -24,7 +24,7 @@ |
363 | |
364 | # These classes were extracted from diff.py to avoid dependency on PyQt4 |
365 | # in commands.py where base provider class is used, but PyQt4 is not required |
366 | -# for overriden merge command. |
367 | +# for overridden merge command. |
368 | |
369 | class DiffArgProvider (object): |
370 | """Contract class to pass arguments to either builtin diff window, or |
371 | |
372 | === modified file 'lib/diffview.py' |
373 | --- lib/diffview.py 2024-02-22 15:03:06 +0000 |
374 | +++ lib/diffview.py 2024-11-17 08:32:35 +0000 |
375 | @@ -620,7 +620,7 @@ |
376 | texts = ["".join(l[ix[0]:ix[1]]) for l, ix in zip(lines, ixs)] |
377 | if use_pygments: |
378 | # This is what the pygments lexer does, so we need to do the |
379 | - # same incase we have \r\n line endings. |
380 | + # same in case we have \r\n line endings. |
381 | texts = ["\n".join(t.splitlines()) for t in texts] |
382 | |
383 | texts = [split_words.findall(t) for t in texts] |
384 | |
385 | === modified file 'lib/diffwindow.py' |
386 | --- lib/diffwindow.py 2024-01-31 23:48:45 +0000 |
387 | +++ lib/diffwindow.py 2024-11-17 08:32:35 +0000 |
388 | @@ -311,7 +311,7 @@ |
389 | action.setCheckable(True) |
390 | # RJLRJL removed spurious semi-colon (hmm...) |
391 | action.setChecked(self.ignore_whitespace) |
392 | - # RJLRJL this is the only occurance of connect_later. |
393 | + # RJLRJL this is the only occurrence of connect_later. |
394 | # self.connect_later(action, QtCore.SIGNAL("toggled (bool)"), self.click_ignore_whitespace) |
395 | # ...which ends up with eventually needing to call process_delayed_connections, etc. |
396 | # Get rid of it and do it normally |
397 | |
398 | === modified file 'lib/log.py' |
399 | --- lib/log.py 2024-01-31 23:48:45 +0000 |
400 | +++ lib/log.py 2024-11-17 08:32:35 +0000 |
401 | @@ -289,12 +289,12 @@ |
402 | label = None |
403 | bi = BranchInfo(label, tree, br) |
404 | if len(branches) == 0: |
405 | - # The first sepecified branch becomes the primary |
406 | + # The first specified branch becomes the primary |
407 | # branch. |
408 | primary_bi = bi |
409 | branches.add(bi) |
410 | |
411 | - # If no locations were sepecified, don't do fileids |
412 | + # If no locations were specified, don't do fileids |
413 | # Otherwise it gives you the history for the dir if you are |
414 | # in a sub dir. |
415 | if fp != '' and self.locations is None: |
416 | @@ -577,7 +577,7 @@ |
417 | # Loading trees from a remote svn repo is unusably slow. |
418 | # See https://bugs.launchpad.net/qbrz/+bug/450225 |
419 | # If only 1 revision is selected, use a optimized svn method |
420 | - # which actualy gets the server to do the delta, |
421 | + # which actually gets the server to do the delta, |
422 | # else, don't do any delta. |
423 | if count == 1: |
424 | delta = repos[0].get_revision_delta(revids[0]) |
425 | |
426 | === modified file 'lib/loggraphviz.py' |
427 | --- lib/loggraphviz.py 2024-01-31 23:48:45 +0000 |
428 | +++ lib/loggraphviz.py 2024-11-17 08:32:35 +0000 |
429 | @@ -1436,7 +1436,7 @@ |
430 | self.graph_viz.throbber_hide() |
431 | |
432 | def has_changes(self, tree): |
433 | - """Quickly check that the tree contains at least one commitable change. |
434 | + """Quickly check that the tree contains at least one committable change. |
435 | |
436 | :param _from_tree: tree to compare against to find changes (default to |
437 | the basis tree and is intended to be used by tests). |
438 | |
439 | === modified file 'lib/logmodel.py' |
440 | --- lib/logmodel.py 2024-01-31 23:48:45 +0000 |
441 | +++ lib/logmodel.py 2024-11-17 08:32:35 +0000 |
442 | @@ -305,7 +305,7 @@ |
443 | if role == RevIdRole: |
444 | return c_rev.rev.revid |
445 | |
446 | - # Everything from here foward will need to have the revision loaded. |
447 | + # Everything from here forward will need to have the revision loaded. |
448 | if revision is None: |
449 | return blank() |
450 | |
451 | |
452 | === modified file 'lib/logwidget.py' |
453 | --- lib/logwidget.py 2024-02-22 15:03:06 +0000 |
454 | +++ lib/logwidget.py 2024-11-17 08:32:35 +0000 |
455 | @@ -638,7 +638,7 @@ |
456 | penwidth = 1 |
457 | pen.setWidth(penwidth) |
458 | pen.setCapStyle(QtCore.Qt.FlatCap) |
459 | - # this is to try get lines 1 pixel wide to actualy be 1 pixel wide. |
460 | + # this is to try get lines 1 pixel wide to actually be 1 pixel wide. |
461 | painter.translate(0.5, 0.5) |
462 | |
463 | # Draw lines into the cell |
464 | |
465 | === modified file 'lib/revert.py' |
466 | --- lib/revert.py 2024-01-31 23:48:45 +0000 |
467 | +++ lib/revert.py 2024-11-17 08:32:35 +0000 |
468 | @@ -169,7 +169,7 @@ |
469 | # Unless: |
470 | # * file_groupbox is unchecked - then all files are unchecked. |
471 | # |
472 | - # We keep a recored of what was checked, so that we we change something, |
473 | + # We keep a recorded of what was checked, so that we we change something, |
474 | # and then later we go back to a state where that change was not necessary, |
475 | # we can return to what it was. This is stored in merges_base_checked, and |
476 | # filelist_checked_base. |
477 | |
478 | === modified file 'lib/revisionmessagebrowser.py' |
479 | --- lib/revisionmessagebrowser.py 2024-01-31 23:48:45 +0000 |
480 | +++ lib/revisionmessagebrowser.py 2024-11-17 08:32:35 +0000 |
481 | @@ -236,7 +236,7 @@ |
482 | for search, replace in search_replace: |
483 | message = re.sub(search, replace, message) |
484 | else: |
485 | - message = gettext("Uncommited Working Tree Changes") |
486 | + message = gettext("Uncommitted Working Tree Changes") |
487 | |
488 | margin_left = (self.get_merge_depth(revid)-min_merge_depth)*20 |
489 | text = [] |
490 | |
491 | === modified file 'lib/subprocess.py' |
492 | --- lib/subprocess.py 2024-01-31 23:48:45 +0000 |
493 | +++ lib/subprocess.py 2024-11-17 08:32:35 +0000 |
494 | @@ -215,7 +215,7 @@ |
495 | def make_default_layout_widgets(self): |
496 | """Yields widgets to add to main dialog layout: status and button boxes. |
497 | Status box has progress bar and console area. |
498 | - Button box has 2 buttons: OK and Cancel (after successfull command |
499 | + Button box has 2 buttons: OK and Cancel (after successful command |
500 | execution there will be Close and Cancel). |
501 | """ |
502 | yield self.make_default_status_box() |
503 | @@ -811,7 +811,7 @@ |
504 | |
505 | def __init__(self, term_file): |
506 | TextProgressView.__init__(self, term_file) |
507 | - # The TextProgressView does not show the transport activity untill |
508 | + # The TextProgressView does not show the transport activity until |
509 | # there was a progress update. This changed because showing the |
510 | # transport activity before a progress update would cause artifacts to |
511 | # remain on the screen. We don't have to worry about that |
512 | @@ -846,7 +846,7 @@ |
513 | def make_progress_view(self): |
514 | return SubprocessProgressView(self.stdout) |
515 | |
516 | - # This is to be compatabile with bzr less rev 4558 |
517 | + # This is to be compatible with bzr less rev 4558 |
518 | _make_progress_view = make_progress_view |
519 | |
520 | def clear_term(self): |
521 | @@ -1281,7 +1281,7 @@ |
522 | |
523 | # |
524 | # The returned list needs to have entries with strings, not bytes. |
525 | - # **However**, the orignal code didn't try to convert the keys. |
526 | + # **However**, the original code didn't try to convert the keys. |
527 | # Instead, we now create a new_d of the same type as d. |
528 | # |
529 | # Get the type via type(d) and then instantiate id via () - hence |
530 | |
531 | === modified file 'lib/tests/modeltest.py' |
532 | --- lib/tests/modeltest.py 2023-09-21 12:50:49 +0000 |
533 | +++ lib/tests/modeltest.py 2024-11-17 08:32:35 +0000 |
534 | @@ -34,7 +34,7 @@ |
535 | QtCore.QObject.__init__(self,parent) |
536 | self._model = _model |
537 | # QAbstractItemModel gives us a simple table of rows and columns. Each item in it (cell) |
538 | - # has a unique index via QtCore.QModelIndex with row, colum |
539 | + # has a unique index via QtCore.QModelIndex with row, column |
540 | # for example: |
541 | # 0 1 2 |
542 | # 0 . , , |
543 | @@ -231,7 +231,7 @@ |
544 | """ |
545 | Tests self.model's implementation of QtCore.QAbstractItemModel::parent() |
546 | """ |
547 | - # Make sure the self.model wont crash and will return an invalid QtCore.QModelIndex |
548 | + # Make sure the self.model won't crash and will return an invalid QtCore.QModelIndex |
549 | # when asked for the parent of an invalid index |
550 | assert(self.model.parent(QtCore.QModelIndex()) == QtCore.QModelIndex()) |
551 | |
552 | @@ -472,7 +472,7 @@ |
553 | # We no longer check isValid(), just make sure it's not None |
554 | assert( self.model.data(index, QtCore.Qt.DisplayRole) is not None) |
555 | |
556 | - #if the next test fails here is some somehwat useful debug you play with |
557 | + #if the next test fails here is some somewhat useful debug you play with |
558 | # if self.model.parent(index) != parent: |
559 | # qDebug() << r << c << depth << self.model.data(index).toString() |
560 | # << self.model.data(parent).toString() |
561 | |
562 | === modified file 'lib/tests/test_loggraphviz.py' |
563 | --- lib/tests/test_loggraphviz.py 2020-06-14 07:44:54 +0000 |
564 | +++ lib/tests/test_loggraphviz.py 2024-11-17 08:32:35 +0000 |
565 | @@ -243,7 +243,7 @@ |
566 | |
567 | def test_with_working_tree_provider_filtered(self): |
568 | # This test makes sure that label for a Working Tree shows for on it's |
569 | - # nearest visble unique ansestor when the working tree node is |
570 | + # nearest visible unique ancestor when the working tree node is |
571 | # filtered. |
572 | builder = self.make_branch_builder('branch') |
573 | builder.start_series() |
574 | @@ -792,7 +792,7 @@ |
575 | # all should be showing |
576 | self.assertFilteredRevisions('cba', state) |
577 | |
578 | - # colapse 'c' |
579 | + # collapse 'c' |
580 | state.collapse_expand_rev(gv.compute_viz(state).filtered_revs[0]) |
581 | |
582 | # just mainline showing |
583 | @@ -838,9 +838,9 @@ |
584 | # all showing |
585 | self.assertFilteredRevisions('fedcba', state) |
586 | |
587 | - # colapse 'd' |
588 | + # collapse 'd' |
589 | state.collapse_expand_rev(gv.compute_viz(state).filtered_revs[2]) |
590 | - # cause c expanded branchline eb, and d expanded c, d colapses |
591 | + # cause c expanded branchline eb, and d expanded c, d collapses |
592 | # just mainline showing |
593 | self.assertFilteredRevisions('fda', state) |
594 | |
595 | @@ -861,7 +861,7 @@ |
596 | # all showing |
597 | self.assertFilteredRevisions('fedcba', state) |
598 | |
599 | - # colapse 'd' |
600 | + # collapse 'd' |
601 | state.collapse_expand_rev(gv.compute_viz(state).filtered_revs[2]) |
602 | # cause branchline eb was expanded by f, and not d, collapsing d dose |
603 | # not collapse branchline eb, even though it expanded it |
604 | @@ -914,7 +914,7 @@ |
605 | # branchline c now showing (all showing) |
606 | self.assertFilteredRevisions('gfedcba', state) |
607 | |
608 | - # colapse 'g' |
609 | + # collapse 'g' |
610 | state.collapse_expand_rev(gv.compute_viz(state).filtered_revs[0]) |
611 | # back to just mainline showing |
612 | self.assertFilteredRevisions('ga', state) |
613 | |
614 | === modified file 'lib/trace.py' |
615 | --- lib/trace.py 2024-01-31 23:48:45 +0000 |
616 | +++ lib/trace.py 2024-11-17 08:32:35 +0000 |
617 | @@ -18,7 +18,7 @@ |
618 | # along with this program; if not, write to the Free Software |
619 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
620 | |
621 | -"""Exception handeling and reporting. |
622 | +"""Exception handling and reporting. |
623 | |
624 | Please see docs/exception_reporting.txt for info on how to use this. |
625 | """ |
626 | @@ -58,7 +58,7 @@ |
627 | """ |
628 | SUB_LOAD_METHOD = 1 |
629 | """The exception is beening reported from the sub loading method. |
630 | -Does not cause the window to me closed. This is typicaly used when a user |
631 | +Does not cause the window to me closed. This is typically used when a user |
632 | enters a branch location on one of our forms, and we try load that branch. |
633 | """ |
634 | ITEM_OR_EVENT_METHOD = 2 |
635 | @@ -127,7 +127,7 @@ |
636 | window.ret_code = error_type |
637 | |
638 | # XXX This is very similar to breezy.commands.exception_to_return_code. |
639 | - # We shoud get bzr to refactor so that that this is reuseable. |
640 | + # We should get bzr to refactor so that that this is reusable. |
641 | if pdb: |
642 | # With out this - pyQt shows lot of warnings. see: |
643 | # http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/pyqt4ref.html#using-pyqt-from-the-python-shell |
644 | @@ -164,7 +164,7 @@ |
645 | |
646 | elif error_type == errors.EXIT_INTERNAL_ERROR: |
647 | # this is a copy of breezy.trace.report_bug |
648 | - # but we seperate the message, and the trace back, |
649 | + # but we separate the message, and the trace back, |
650 | # and addes a hyper link to the filebug page. |
651 | traceback_file = StringIO() |
652 | _breezy_print_exception(exc_info, traceback_file) |
653 | @@ -232,7 +232,7 @@ |
654 | if isinstance(parent.title, str): |
655 | win_title = parent.title |
656 | elif isinstance(title, (list, tuple)): |
657 | - # just the first item is more usefull. |
658 | + # just the first item is more useful. |
659 | win_title = parent.title[0] |
660 | else: |
661 | if hasattr(parent, 'windowTitle'): |
662 | |
663 | === modified file 'lib/treewidget.py' |
664 | --- lib/treewidget.py 2024-01-31 23:48:45 +0000 |
665 | +++ lib/treewidget.py 2024-11-17 08:32:35 +0000 |
666 | @@ -1236,7 +1236,7 @@ |
667 | |
668 | def iter_checked(self, include_unchanged_dirs=True): |
669 | """ |
670 | - Iterate over the list of checked items and emit the entires. |
671 | + Iterate over the list of checked items and emit the entries. |
672 | |
673 | @param include_unchanged_dirs: should we include unchanged directories |
674 | or skip them. |
675 | @@ -1497,7 +1497,7 @@ |
676 | header = self.header() |
677 | if isinstance(self.tree, WorkingTree): |
678 | # We currently have to hide the revision columns, because the |
679 | - # revision property is not availible from the WorkingTree.inventory. |
680 | + # revision property is not available from the WorkingTree.inventory. |
681 | # We may be able to get this by looking at the revision tree for |
682 | # the revision of the basis tree. |
683 | header.hideSection(self.tree_model.DATE) |
684 | @@ -1525,7 +1525,7 @@ |
685 | """Causes a tree to be loaded, and displayed in the widget. |
686 | |
687 | @param changes_mode: If in changes mode, a list of changes, and |
688 | - unversioned items, rather than a tree, is diplayed. |
689 | + unversioned items, rather than a tree, is displayed. |
690 | e.g., when not in changes mode, one will get: |
691 | |
692 | dir1 |
693 | @@ -1578,7 +1578,7 @@ |
694 | # repainted when you scroll. |
695 | # (https://bugs.launchpad.net/qbrz/+bug/402276) |
696 | # I think that this is a bug with qt, and so this is just a work- |
697 | - # arround. We should check when we bump the min qt version to 4.5 if |
698 | + # around. We should check when we bump the min qt version to 4.5 if |
699 | # we can take this out. I think it only happens on windows. This may |
700 | # need to be checked. |
701 | # RJLRJL: review this for the ignored / select all checkboxes which |
702 | @@ -1656,7 +1656,7 @@ |
703 | # Don't drag if we are not over the selection. |
704 | self.setDragEnabled(False) |
705 | else: |
706 | - # Don't allow draging a selection that goes across dirs. |
707 | + # Don't allow dragging a selection that goes across dirs. |
708 | ok_selection = True |
709 | item_by_path = {} |
710 | item_ids = set() |
711 | @@ -1966,7 +1966,7 @@ |
712 | auto_start_show_on_failed=True, |
713 | hide_progress=True,) |
714 | # RJLRJL: Check that the comment below is warranted |
715 | - # We don't refesh the tree, because it is very unlikley to have changed. |
716 | + # We don't refresh the tree, because it is very unlikely to have changed. |
717 | |
718 | def resolve(self): |
719 | """Mark selected file(s) as resolved.""" |
720 | |
721 | === modified file 'lib/ui_run.py' |
722 | --- lib/ui_run.py 2021-01-06 11:42:36 +0000 |
723 | +++ lib/ui_run.py 2024-11-17 08:32:35 +0000 |
724 | @@ -109,7 +109,7 @@ |
725 | self.run_container.setTitle(_translate("RunDialog", "Options")) |
726 | self.wd_label.setText(_translate("RunDialog", "&Working directory:")) |
727 | self.browse_button.setText(_translate("RunDialog", "&Browse...")) |
728 | - self.cat_label.setText(_translate("RunDialog", "C&ategory:")) |
729 | + self.cat_label.setText(_translate("RunDialog", "C&category:")) |
730 | self.cmd_label.setText(_translate("RunDialog", "&Command:")) |
731 | self.hidden_checkbox.setText(_translate("RunDialog", "&Show hidden commands")) |
732 | self.opt_arg_label.setText(_translate("RunDialog", "&Options and arguments for command:")) |
733 | |
734 | === modified file 'lib/uifactory.py' |
735 | --- lib/uifactory.py 2024-01-31 23:48:45 +0000 |
736 | +++ lib/uifactory.py 2024-11-17 08:32:35 +0000 |
737 | @@ -140,7 +140,7 @@ |
738 | |
739 | |
740 | # You can run this file to test the ui factory. This is not in the test suit |
741 | -# because it actualy open the ui, and so user interaction is required to run |
742 | +# because it actually open the ui, and so user interaction is required to run |
743 | # the test. |
744 | if __name__ == "__main__": |
745 | application = QtWidgets.QApplication([]) |
746 | |
747 | === modified file 'lib/util.py' |
748 | --- lib/util.py 2024-01-31 23:48:45 +0000 |
749 | +++ lib/util.py 2024-11-17 08:32:35 +0000 |
750 | @@ -866,7 +866,7 @@ |
751 | |
752 | def __init__(self, parent): |
753 | self.is_running = False |
754 | - self.stoping = False |
755 | + self.stopping = False |
756 | self.parent = parent |
757 | self.restart_timeout = None |
758 | |
759 | @@ -890,16 +890,16 @@ |
760 | def start(self, timeout=0): |
761 | if not self.is_running: |
762 | self.is_running = True |
763 | - self.stoping = False |
764 | + self.stopping = False |
765 | QtCore.QTimer.singleShot(timeout, self.run_wrapper) |
766 | |
767 | def stop(self): |
768 | - self.stoping = True |
769 | + self.stopping = True |
770 | |
771 | def processEvents(self, flags=QtCore.QEventLoop.AllEvents): |
772 | self.parent.processEvents(flags) |
773 | - if self.stoping: |
774 | - self.stoping = False |
775 | + if self.stopping: |
776 | + self.stopping = False |
777 | raise trace.StopException() |
778 | |
779 | |
780 | @@ -1110,7 +1110,7 @@ |
781 | # (no windows option as far as I am aware) |
782 | # Maybe have our own config setting. |
783 | |
784 | - # Get the defaul font size |
785 | + # Get the default font size |
786 | size = QtWidgets.QApplication.font().pointSize() |
787 | |
788 | for font_family in ("Monospace", "Courier New"): |
789 | |
790 | === modified file 'lib/widgets/texteditaccessory.py' |
791 | --- lib/widgets/texteditaccessory.py 2024-01-31 23:48:45 +0000 |
792 | +++ lib/widgets/texteditaccessory.py 2024-11-17 08:32:35 +0000 |
793 | @@ -32,7 +32,7 @@ |
794 | :data: marker positions, list of tuple (block index, num of blocks) |
795 | :index: index of the column to render this entry. |
796 | * Two or more groups can be rendered on same columns. |
797 | - * If index == -1, the group is renderd on all columns. |
798 | + * If index == -1, the group is rendered on all columns. |
799 | """ |
800 | __slots__ = ['key', 'color', 'data', 'index'] |
801 | |
802 | |
803 | === modified file 'ui/run.ui' |
804 | --- ui/run.ui 2010-01-22 16:21:58 +0000 |
805 | +++ ui/run.ui 2024-11-17 08:32:35 +0000 |
806 | @@ -58,7 +58,7 @@ |
807 | <item row="0" column="0" > |
808 | <widget class="QLabel" name="cat_label" > |
809 | <property name="text" > |
810 | - <string>C&ategory:</string> |
811 | + <string>C&category:</string> |
812 | </property> |
813 | <property name="buddy" > |
814 | <cstring>cmd_combobox</cstring> |