Skip to content

Commit 8f8ffba

Browse files
committed
1.0.1dev: Stripped all trailing whitespace, and fixed the tests that relied on its being present. This was a ticking bomb, and is especially annoying when using an editor that strips trailing whitespace (as it should), because it will add noise to every changeset.
I know that this will make it slightly more difficult to apply patches that contain the old trailing whitespace, but theres an easy fix for that: strip trailing whitespace from the patch as well. git-svn-id: http://trac.edgewall.org/intertrac/log:/branches/1.0-stable@11490 af82e41b-90c4-0310-8c96-b1721e28e2e2
1 parent bb33fc8 commit 8f8ffba

File tree

243 files changed

+2393
-2373
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

243 files changed

+2393
-2373
lines changed

AUTHORS

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Rocky Burt <[email protected]>
44
* Christopher Lenz <[email protected]>
55
* Francois Harvey <[email protected]>
6-
* Mark Rowe <[email protected]>
6+
* Mark Rowe <[email protected]>
77
* Matthew Good <[email protected]>
88
* Christian Boos <[email protected]>
99
* Emmanuel Blot <[email protected]>

ChangeLog

+49-49
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ http://svn.edgewall.org/repos/trac/tags/trac-1.0b1
4040
Trac 0.12.4 (September 7, 2012)
4141
http://svn.edgewall.org/repos/trac/tags/trac-0.12.4
4242

43-
Trac 0.12.4 is a regular maintenance release and contains
43+
Trac 0.12.4 is a regular maintenance release and contains
4444
a few minor fixes.
4545

4646
Trac 0.12.3 (February 6, 2012)
@@ -122,8 +122,8 @@ Trac 0.11.7 (March 10, 2010)
122122
http://svn.edgewall.org/repos/trac/tags/trac-0.11.7
123123

124124
Trac 0.11.7 is nearly identical to 0.11.7rc1 except for a few more fixes:
125-
- avoid an infinite loop when using an AtomicFile in a read-only
126-
directory (#9081)
125+
- avoid an infinite loop when using an AtomicFile in a read-only
126+
directory (#9081)
127127
- don't report client disconnects during writes as internal errors (#9103)
128128
- don't reuse a closed cursor, which could happen in one specific case
129129
for the pysqlite backend (#9104)
@@ -250,7 +250,7 @@ http://svn.edgewall.org/repos/trac/tags/trac-0.11.2.1
250250

251251
Trac 0.11.2.1 fixes a Python 2.3 incompatibility introduced in Trac 0.11.2.
252252
Python 2.4+ users already running Trac 0.11.2 do not need to upgrade.
253-
253+
254254
Trac 0.11.2 (November 8, 2008)
255255
http://svn.edgewall.org/repos/trac/tags/trac-0.11.2
256256

@@ -271,7 +271,7 @@ Bug fixes:
271271
* Same order for ticket fields for new and existing tickets (#7018)
272272
* Enforce fine-grained permission for "quickjump" search results (#7655)
273273
* E-mail obfuscation was not done in a few remaining places (#7688, #6532)
274-
* Uninstall of plugins from WebAdmin was not working - feature disabled
274+
* Uninstall of plugins from WebAdmin was not working - feature disabled
275275
for now
276276
* More robust pagination of results for reports and custom queries (#7424,
277277
#7544)
@@ -280,7 +280,7 @@ Bug fixes:
280280

281281
Minor improvements:
282282

283-
* Better support for Wiki page hierarchy (show path #2780, link to
283+
* Better support for Wiki page hierarchy (show path #2780, link to
284284
parent #2150)
285285
* Custom query allow to search in description and other text fields (#4824)
286286

@@ -350,7 +350,7 @@ http://svn.edgewall.org/repos/trac/tags/trac-0.10.5
350350

351351
Trac 0.10.5 contains two security fixes and a couple of bug fixes.
352352
The following list contains only a few highlights:
353-
353+
354354
* Fixes a cross-site redirection vulnerability in the quickjump function
355355
reported by Russ McRee.
356356
* Fixes a wiki engine XSS vulnerability found by Nathan Collins.
@@ -364,7 +364,7 @@ http://svn.edgewall.org/repos/trac/tags/trac-0.10.5
364364
Trac 0.10.4 (April 20, 2007)
365365
http://svn.edgewall.org/repos/trac/tags/trac-0.10.4
366366

367-
Trac 0.10.4 is a bug fix release. The following list contains only a
367+
Trac 0.10.4 is a bug fix release. The following list contains only a
368368
few highlights:
369369

370370
* Repository cache improvements. The new syncing scheme is
@@ -381,10 +381,10 @@ Trac 0.10.3.1 (Mar 8, 2007)
381381
http://svn.edgewall.org/repos/trac/tags/trac-0.10.3.1
382382

383383
Trac 0.10.3.1 is a security fix release.
384-
385-
* Always send "Content-Disposition: attachment" headers where potentially
384+
385+
* Always send "Content-Disposition: attachment" headers where potentially
386386
unsafe (user provided) content is available for download. This behaviour
387-
can be altered using the "render_unsafe_content" option in the
387+
can be altered using the "render_unsafe_content" option in the
388388
"attachment" and "browser" sections of trac.ini.
389389
* Fixed XSS vulnerability in "download wiki page as text" in
390390
combination with Microsoft IE. Reported by Yoshinori Oota, Business
@@ -393,7 +393,7 @@ http://svn.edgewall.org/repos/trac/tags/trac-0.10.3.1
393393
Trac 0.10.3 (Dec 12, 2006)
394394
http://svn.edgewall.org/repos/trac/tags/trac-0.10.3
395395

396-
Trac 0.10.3 is a bug fix release. The following list contains only a
396+
Trac 0.10.3 is a bug fix release. The following list contains only a
397397
few highlights:
398398

399399
* Timeline fail to load with a "!NoSuchChangeset" error message (#4132).
@@ -411,7 +411,7 @@ http://svn.edgewall.org/repos/trac/tags/trac-0.10.3rc1
411411
Trac 0.10.2 (Nov 13, 2006)
412412
http://svn.edgewall.org/repos/trac/tags/trac-0.10.2
413413

414-
Trac 0.10.2 is a bug fix release. The following list contains only a
414+
Trac 0.10.2 is a bug fix release. The following list contains only a
415415
few highlights:
416416

417417
* Fixes deadlock when using authz_file config option (#3996).
@@ -476,7 +476,7 @@ http://svn.edgewall.org/repos/trac/tags/trac-0.9.5
476476
* Fixed wiki macro XSS vulnerability found by Mr. Kazuhiro Nishiyama:
477477
http://jvn.jp/jp/JVN%2384091359/index.html
478478
* Smaller memory usage when accessing subversion history.
479-
* Fixed issue with incorrectly generated urls when installed behind a web
479+
* Fixed issue with incorrectly generated urls when installed behind a web
480480
proxy (#2531).
481481
* Fixed bugs: #2531, #2777, #3020.
482482

@@ -533,7 +533,7 @@ http://svn.edgewall.org/repos/trac/tags/trac-0.9
533533
#1983, #1988, #2019, #2051, #2061, #2229, #2106, #2107, #2116, #2120,
534534
#2124, #2129, #2135, #2136, #2138, #2140, #2144, #2164, #2166, #2170,
535535
#2172, #2191, #2192, #2196, #2201, #2202, #2203, #2208, #2215, #2218,
536-
#2223, #2230, #2232, #2239, #2240, #2241, #2243, #2251,
536+
#2223, #2230, #2232, #2239, #2240, #2241, #2243, #2251,
537537

538538

539539
Trac 0.9-beta2 (Sept 25, 2005)
@@ -563,9 +563,9 @@ http://svn.edgewall.org/repos/trac/tags/trac-0.9b1
563563
* Improved modularity and extendibility (plugin support).
564564
* Support for both pysqlite 1.x and pysqlite 2.x.
565565
* Postgresql database support (with psycopg or pyPgSQL).
566-
* Repository subsets. Multiple Trac environments can share a single
566+
* Repository subsets. Multiple Trac environments can share a single
567567
repository.
568-
* Version control abstraction layer making it possible to support
568+
* Version control abstraction layer making it possible to support
569569
other version control systems besides subversion in the future.
570570
* FastCGI frontend support.
571571
* Python version >= 2.3 is now required.
@@ -619,35 +619,35 @@ http://svn.edgewall.org/repos/trac/tags/trac-0.8
619619
* User preferences.
620620
* Wiki editing (near-wysiwyg) aids a la wikipedia.
621621
* Improved email notification.
622-
* Fixed bugs: #13, #63, #99, #100, #158, #164, #203, #210,
623-
#225, #264, #304, #306, #326, #346, #347, #351,
624-
#352, #364, #373, #375, #405, #411, #416, #431,
625-
#433, #434, #436, #438, #443, #445, #446, #447,
626-
#450, #452, #453, #455, #458, #460, #465, #468,
627-
#471, #472, #473, #474, #477, #478, #479, #480,
628-
#482, #483, #486, #487, #489, #491, #492, #494,
629-
#496, #501, #503, #506, #510, #512, #513, #514,
630-
#516, #522, #524, #526, #527, #528, #530, #532,
631-
#536, #537, #538, #539, #542, #543, #545, #546,
632-
#550, #551, #552, #553, #555, #556, #557, #558,
633-
#559, #560, #565, #567, #568, #570, #572, #574,
634-
#577, #578, #580, #581, #583, #587, #589, #591,
635-
#593, #594, #597, #598, #599, #600, #601, #602,
636-
#606, #609, #610, #612, #613, #616, #618, #619,
637-
#620, #622, #623, #626, #627, #628, #630, #631,
638-
#634, #644, #647, #648, #651, #652, #657, #658,
639-
#660, #664, #668, #669, #670, #671, #674, #675,
640-
#676, #677, #678, #680, #690, #692, #696, #698,
641-
#699, #703, #705, #706, #708, #709, #713, #714,
642-
#715, #716, #718, #720, #721, #722, #726, #727,
643-
#730, #732, #734, #735, #736, #737, #738, #741,
644-
#742, #743, #744, #745, #748, #749, #750, #751,
645-
#752, #759, #762, #764, #768, #769, #770, #771,
646-
#774, #775, #776, #778, #779, #780, #785, #789,
647-
#793, #798, #800, #806, #807, #815, #816, #817,
648-
#818, #829, #830, #831, #833, #836, #844, #846,
649-
#848, #850, #851, #852, #872, #873, #877, #878,
650-
#885, #888, #889, #892, #901, #903, #907, #912,
622+
* Fixed bugs: #13, #63, #99, #100, #158, #164, #203, #210,
623+
#225, #264, #304, #306, #326, #346, #347, #351,
624+
#352, #364, #373, #375, #405, #411, #416, #431,
625+
#433, #434, #436, #438, #443, #445, #446, #447,
626+
#450, #452, #453, #455, #458, #460, #465, #468,
627+
#471, #472, #473, #474, #477, #478, #479, #480,
628+
#482, #483, #486, #487, #489, #491, #492, #494,
629+
#496, #501, #503, #506, #510, #512, #513, #514,
630+
#516, #522, #524, #526, #527, #528, #530, #532,
631+
#536, #537, #538, #539, #542, #543, #545, #546,
632+
#550, #551, #552, #553, #555, #556, #557, #558,
633+
#559, #560, #565, #567, #568, #570, #572, #574,
634+
#577, #578, #580, #581, #583, #587, #589, #591,
635+
#593, #594, #597, #598, #599, #600, #601, #602,
636+
#606, #609, #610, #612, #613, #616, #618, #619,
637+
#620, #622, #623, #626, #627, #628, #630, #631,
638+
#634, #644, #647, #648, #651, #652, #657, #658,
639+
#660, #664, #668, #669, #670, #671, #674, #675,
640+
#676, #677, #678, #680, #690, #692, #696, #698,
641+
#699, #703, #705, #706, #708, #709, #713, #714,
642+
#715, #716, #718, #720, #721, #722, #726, #727,
643+
#730, #732, #734, #735, #736, #737, #738, #741,
644+
#742, #743, #744, #745, #748, #749, #750, #751,
645+
#752, #759, #762, #764, #768, #769, #770, #771,
646+
#774, #775, #776, #778, #779, #780, #785, #789,
647+
#793, #798, #800, #806, #807, #815, #816, #817,
648+
#818, #829, #830, #831, #833, #836, #844, #846,
649+
#848, #850, #851, #852, #872, #873, #877, #878,
650+
#885, #888, #889, #892, #901, #903, #907, #912,
651651
#916, #923, #929, #931, #932, #935
652652

653653
-----------------------------------------------------------------------------
@@ -719,15 +719,15 @@ http://svn.edgewall.org/repos/trac/tags/trac-0.6
719719
* View diffs between wiki page edits.
720720
* Improved Search module.
721721
* Support for tables in the wiki. (Thanks to Stephen Hansen)
722-
* Colored reports. Use colors to show priority, etc.
722+
* Colored reports. Use colors to show priority, etc.
723723
* Support for custom wiki processor macros.
724724
* ReStructuredText markup support (through a processor macro)
725725
* HTML markup support (through a processor macro)
726726
* Report groups. Group results by a column.
727727
* Multi-line report rows.
728728
* Download report in CSV (Comma Separated Value) and tab-separated format
729729
* RSS 2.0 content syndication support in Timeline, Reports and Log/Browser
730-
* Better, locale-based date and time formatting.
730+
* Better, locale-based date and time formatting.
731731
* Wiki RecentChanges support.
732732
* Overall usability, consistency and cosmetic improvements.
733733
* More documentation.
@@ -754,7 +754,7 @@ http://svn.edgewall.org/repos/trac/tags/trac-0.5.2
754754
export/import all pages to/from a directory.
755755
* Most of the inline css is removed.
756756
* IE6 navbar problem fixed.
757-
* Fixed bugs: #69, #73, #77, #78, #79, #80, #84, #85, #86, #89, #90,
757+
* Fixed bugs: #69, #73, #77, #78, #79, #80, #84, #85, #86, #89, #90,
758758
#91, #93, #97
759759

760760

Makefile.cfg.sample

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# -*- Makefile -*- configuration file sample
1+
# -*- Makefile -*- configuration file sample
22
#
33
# Adapt to your local setting and copy to Makefile.cfg
44
#
@@ -42,7 +42,7 @@ auth = *,~/tracenvs/htdigest.realm,realm
4242
dotpath = /usr/local/bin/dot
4343

4444
# ----------------------------------------------------------------------------
45-
# Custom rules
45+
# Custom rules
4646

4747
.PHONY: bigtest
4848

README

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Trac is distributed using the modified BSD License.
1414

1515
* If you are upgrading from a previous Trac version, please read UPGRADE
1616
for a short overview and the trac/wiki/default-pages/TracUpgrade for
17-
complete, up-to-date instructions
17+
complete, up-to-date instructions
1818

1919
You might also want to take a look at the RELEASE and ChangeLog files
2020
for more information about this release.

RELEASE

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ http://trac.edgewall.org/wiki/TracDev/ReleaseNotes/1.0
1818
Developer-visible changes
1919
-------------------------
2020

21-
A detailed view of the API changes since 0.12.x can be found in
21+
A detailed view of the API changes since 0.12.x can be found in
2222
http://trac.edgewall.org/wiki/TracDev/ApiChanges/1.0
2323

2424
Acknowledgements

contrib/bugzilla2trac.py

+12-12
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ def addTicketComment(self, ticket, time, author, value):
387387
db("""INSERT INTO ticket_change (ticket, time, author, field,
388388
oldvalue, newvalue)
389389
VALUES (%s, %s, %s, %s, %s, %s)
390-
""", (ticket, datetime2epoch(time), author, 'comment', '',
390+
""", (ticket, datetime2epoch(time), author, 'comment', '',
391391
comment))
392392

393393
def addTicketChange(self, ticket, time, author, field, oldvalue, newvalue):
@@ -428,7 +428,7 @@ def addAttachment(self, author, a):
428428
attachment = Attachment(self.env, 'ticket', id)
429429
attachment.author = author
430430
attachment.description = description
431-
attachment.insert(filename, filedata, filesize,
431+
attachment.insert(filename, filedata, filesize,
432432
datetime2epoch(time))
433433
del attachment
434434

@@ -480,7 +480,7 @@ def makeWhereClause(fieldName, values, negative=False):
480480
connector, op = ' AND ', '!='
481481
else:
482482
connector, op = ' OR ', '='
483-
clause = connector.join(["%s %s '%s'" % (fieldName, op, value)
483+
clause = connector.join(["%s %s '%s'" % (fieldName, op, value)
484484
for value in values])
485485
return ' (' + clause + ')'
486486

@@ -567,12 +567,12 @@ def convert(_db, _host, _user, _password, _env, _force):
567567
sql = ("SELECT p.name AS product, c.name AS comp, "
568568
" c.initialowner AS owner "
569569
"FROM components c, products p "
570-
"WHERE c.product_id = p.id AND" +
570+
"WHERE c.product_id = p.id AND" +
571571
makeWhereClause('p.name', PRODUCTS))
572572
else:
573573
sql = ("SELECT program AS product, value AS comp, "
574574
" initialowner AS owner "
575-
"FROM components WHERE" +
575+
"FROM components WHERE" +
576576
makeWhereClause('program', PRODUCTS))
577577
mysql_cur.execute(sql)
578578
lines = mysql_cur.fetchall()
@@ -623,7 +623,7 @@ def convert(_db, _host, _user, _password, _env, _force):
623623
trac.setMilestoneList(milestones, 'value')
624624

625625
print "\n6. Retrieving bugs..."
626-
if BZ_VERSION >= 2180:
626+
if BZ_VERSION >= 2180:
627627
sql = """SELECT DISTINCT b.*, c.name AS component, p.name AS product
628628
FROM bugs AS b, components AS c, products AS p """
629629
sql += " WHERE" + makeWhereClause('p.name', PRODUCTS)
@@ -664,7 +664,7 @@ def convert(_db, _host, _user, _password, _env, _force):
664664
# priorities
665665
ticket['severity'] = ''
666666
ticket['priority'] = bug['bug_severity']
667-
667+
668668
ticket['owner'] = trac.getLoginName(mysql_cur, bug['assigned_to'])
669669
ticket['reporter'] = trac.getLoginName(mysql_cur, bug['reporter'])
670670

@@ -680,7 +680,7 @@ def convert(_db, _host, _user, _password, _env, _force):
680680
cc_list = []
681681
for cc in cc_records:
682682
cc_list.append(trac.getLoginName(mysql_cur, cc['who']))
683-
cc_list = [cc for cc in cc_list if cc not in IGNORE_CC]
683+
cc_list = [cc for cc in cc_list if cc not in IGNORE_CC]
684684
ticket['cc'] = string.join(cc_list, ', ')
685685

686686
ticket['version'] = bug['version']
@@ -831,7 +831,7 @@ def convert(_db, _host, _user, _password, _env, _force):
831831
oldChange['oldvalue'] += " " + ticketChange['oldvalue']
832832
oldChange['newvalue'] += " " + ticketChange['newvalue']
833833
break
834-
# cc and attachments.isobsolete sometime appear
834+
# cc and attachments.isobsolete sometime appear
835835
# in different activities with same time
836836
if ((field_name == "cc" or field_name == "attachments.isobsolete") \
837837
and oldChange['time'] == ticketChange['time']):
@@ -877,7 +877,7 @@ def convert(_db, _host, _user, _password, _env, _force):
877877
"WHERE attachments.bug_id = %s AND "
878878
"attachments.attach_id = attach_data.id" % bugid)
879879
else:
880-
mysql_cur.execute("SELECT * FROM attachments WHERE bug_id = %s" %
880+
mysql_cur.execute("SELECT * FROM attachments WHERE bug_id = %s" %
881881
bugid)
882882
attachments = mysql_cur.fetchall()
883883
for a in attachments:
@@ -899,7 +899,7 @@ def convert(_db, _host, _user, _password, _env, _force):
899899
login = LOGIN_MAP[user['login_name']]
900900
else:
901901
login = user['login_name']
902-
902+
903903
htpasswd.write(login + ":" + user['cryptpassword'] + "\n")
904904

905905
htpasswd.close()
@@ -927,7 +927,7 @@ def usage():
927927
-p | --passwd <MySQL password> - Bugzilla's user password
928928
-c | --clean - Remove current Trac tickets before
929929
importing
930-
-n | --noseverities - import Bugzilla severities as Trac
930+
-n | --noseverities - import Bugzilla severities as Trac
931931
priorities and forget Bugzilla priorities
932932
--help | help - This help info
933933

contrib/emailfilter.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
Copyright 2005, Daniel Lundin <[email protected]>
88
Copyright 2005, Edgewall Software
99
10-
Please note:
10+
Please note:
1111
1212
This is only a starting point. See
1313
* http://trac.edgewall.org/ticket/5327 and

contrib/migrateticketmodel.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
#!/usr/bin/env python
2-
#
2+
#
33
# This script completely migrates a <= 0.8.x Trac environment to use the new
44
# default ticket model introduced in Trac 0.9.
5-
#
5+
#
66
# In particular, this means that the severity field is removed (or rather
77
# disabled by removing all possible values), and the priority values are
88
# changed to the more meaningful new defaults.
9-
#
9+
#
1010
# Make sure to make a backup of the Trac environment before running this!
1111

1212
from __future__ import with_statement

0 commit comments

Comments
 (0)