Commit Graph

2483 Commits

Author SHA1 Message Date
Georg Brandl
bd2eb1e085 Declare if serializers/indexers dump unicode or bytes. Removes duplication of methods. 2010-07-28 19:24:48 +02:00
Daniel Neuhäuser
14ca77a1d4 Fixed the JSONHTMLBuilder 2010-07-27 21:01:27 +02:00
Daniel Neuhäuser
5248e8d315 Added Python 3.x support to the changelog again under a different section (1.1) 2010-07-24 13:04:30 +02:00
Daniel Neuhäuser
ddeb627cef Don't use (in this case) unnecessary python2 unicode literals 2010-07-11 12:24:50 +02:00
Daniel Neuhäuser
7acfe972a4 Fixed test_env.test_images test for python3 2010-07-11 11:32:16 +02:00
Daniel Neuhäuser
23af2ea875 Provided a working fix for the remaining errors in the test suite 2010-07-11 01:05:27 +02:00
Daniel Neuhäuser
839cc5aaeb Revert changes from the last commit which caused problems with 2.x 2010-07-11 00:57:08 +02:00
Daniel Neuhäuser
a7ca488a8e Removed XMLParser._fixtext which fixes several errors in the test suite 2010-07-10 19:47:32 +02:00
Daniel Neuhäuser
37db093428 the test suite now runs on ubuntu, hopefully also debian and other system 2010-06-22 22:49:58 +02:00
Georg Brandl
3002eb391f Make string contents nongreedy. 2010-07-28 19:15:04 +02:00
Daniel Neuhäuser
98b6073a7e Fixed warnings in python3 2010-06-20 22:39:38 +02:00
Daniel Neuhäuser
20a21ed35a fix line length 2010-06-20 22:24:00 +02:00
Georg Brandl
fc10038398 Move bytes to pycompat. 2010-07-28 19:13:25 +02:00
Daniel Neuhäuser
710a7d75a1 Fix warning for bytestrings with non-ascii content for python3 2010-06-20 19:34:49 +02:00
Daniel Neuhäuser
eaa3cb4f1f Use utf-8 instead of ascii to encode strings for hashing 2010-06-20 18:54:19 +02:00
Daniel Neuhäuser
24d8ce4734 make sure to encode strings passed to md5 2010-06-20 18:50:22 +02:00
Daniel Neuhäuser
0780242572 Fixed the coverage extension test as well as the coverage extension itself for python3 2010-06-19 19:58:28 +02:00
Daniel Neuhäuser
1f5c4e6c9c make doctest work with python2 and python3 2010-06-19 21:50:00 +02:00
Daniel Neuhäuser
2ce553a71a Fix test to respect the new .truncate() behavior 2010-06-19 16:38:52 +02:00
Daniel Neuhäuser
38d11bbe14 the sphinx.search.js_index is now able to load and dump data from binary streams 2010-06-17 05:56:06 +02:00
Daniel Neuhäuser
b1f29495ab Don't mix string types when writing to a stream 2010-06-17 05:51:24 +02:00
Daniel Neuhäuser
579528e0b3 Fixed error caused by mixing of string types 2010-06-17 05:47:44 +02:00
Daniel Neuhäuser
24a1512293 Removed duplicated code 2010-06-17 05:38:22 +02:00
Daniel Neuhäuser
9e56fac893 Decode templates using utf-8 as jinja2 requires that for python3. This change will very likely cause problems for some people 2010-06-17 05:26:19 +02:00
Georg Brandl
7add175598 Fix code formatting. 2010-07-28 18:58:18 +02:00
Daniel Neuhäuser
bf14a7c362 Encode strings after they have been formatted 2010-06-16 23:20:30 +02:00
Daniel Neuhäuser
4534657f3e update distribute_setup.py from http://python-distribute.org/distribute_setup.py 2010-06-15 23:16:33 +02:00
Daniel Neuhäuser
ddefaff0b7 fix a unboundlocalerror occuring with python3 2010-06-13 23:08:32 +02:00
Georg Brandl
f0c316f6c5 Pass document name as bytes. 2010-07-28 18:55:39 +02:00
Daniel Neuhäuser
79a958b867 Remove unnecessary code 2010-06-12 20:21:14 +02:00
Daniel Neuhäuser
bade03c824 Copy converted tests to build/lib/tests not build/lib/test 2010-06-12 15:16:57 +02:00
Georg Brandl
2737ec4dc9 Use b() from pycompat. 2010-07-28 18:54:24 +02:00
Daniel Neuhäuser
817e1dd4cd fixed file handling and parsing in intersphinx so it properly handles encodings 2010-06-07 01:34:01 +02:00
Daniel Neuhäuser
5727214299 open file in binary mode to get byte strings on python3 2010-06-07 00:44:09 +02:00
Georg Brandl
563f506d1b Fix assignment. 2010-07-28 19:08:44 +02:00
Georg Brandl
434da2a4fb Use next() function instead of iter.next(). 2010-07-28 18:51:57 +02:00
Daniel Neuhäuser
87bbe8ddd5 don't use string.strip anymore 2010-06-06 23:13:06 +02:00
Daniel Neuhäuser
2683b839d5 Added a movetree method to the path object to make it more consistent along with documentation for every method of it. 2010-06-01 19:59:38 +02:00
Daniel Neuhäuser
a153f84a17 Replaced the path module with my own version 2010-06-01 18:10:06 +02:00
Daniel Neuhäuser
31275a34c2 Fix encoding in config test and open configs in binary mode to warn for possible encoding errors 2010-05-30 17:51:14 +02:00
Daniel Neuhäuser
23ef216a15 encode source code for parsing only on python 2.x 2010-05-30 15:15:57 +02:00
Daniel Neuhäuser
918a509efc Check if a string is not unicode as a workaround for 3.x 2010-05-30 02:28:57 +02:00
Georg Brandl
ba02a69c1c Nit. 2010-07-28 18:46:12 +02:00
Daniel Neuhäuser
7f29904551 Use .gettext() instead of .ugettext() on python3 2010-05-30 02:07:53 +02:00
Daniel Neuhäuser
6af81b8506 fix line length 2010-05-25 00:55:30 +02:00
Georg Brandl
ec5a5e739b Move the "b" function to pycompat. 2010-07-28 18:43:40 +02:00
Daniel Neuhäuser
24f1d4c12d fixed test_markup test 2010-05-24 19:41:02 +02:00
Daniel Neuhäuser
bedbbe288e don't assume strings to be byte strings 2010-05-24 18:25:20 +02:00
Daniel Neuhäuser
d1d5d20f65 Workaround for 2to3 2010-05-24 18:13:56 +02:00
Daniel Neuhäuser
f8b12a45da use open instead of file 2010-05-24 17:35:43 +02:00