Valentin Lorentz
30c5519acb
Final encoding fix. It now work on IRC and unit tests pass, both with Python 2 & 3.
2013-01-22 21:02:04 +01:00
Valentin Lorentz
a4a595b39a
Partial fix of encoding handling.
...
This fixes mostly everything, except a little bit from the test framework. I'm just saving this in case my computer or I is destroyed in an alien invasion, because this commit is worth hours of debugging.
2013-01-22 20:35:11 +01:00
Valentin Lorentz
c9b6b56244
Utilities: Fix encoding in tests.
2013-01-21 21:09:50 +01:00
Valentin Lorentz
76a091db50
Fix the 'provides' field.
2013-01-21 20:33:09 +01:00
Valentin Lorentz
4ce44d1ef2
Update setup.py to be declared as limnoria (and provide supybot).
2013-01-21 20:28:42 +01:00
Valentin Lorentz
164d85d9fe
core: Fix the test framework after update of the HTTP server.
2013-01-21 20:20:26 +01:00
Valentin Lorentz
bbe65a39a6
Utilities: Add tests for unicode characters.
2013-01-21 20:20:26 +01:00
Valentin Lorentz
84a87e4307
Merge pull request #442 from Athemis/master
...
Follow-up of pull-request #440
2013-01-20 11:03:19 -08:00
Alexander Ralph Michael Minges
bbdd55bea2
Add fallback decoding if chardet fails to guess the correct encoding
2013-01-20 17:07:58 +01:00
Valentin Lorentz
d28e3e0a2b
Merge branch 'py3k-backport' into testing
2013-01-20 15:23:13 +01:00
Valentin Lorentz
9e5f7025d8
INSTALL.md: Add extra instructions for Python 3.
2013-01-20 15:23:00 +01:00
Valentin Lorentz
6d15d263f0
Merge remote-tracking branch 'athemis/master' into testing
2013-01-20 15:16:53 +01:00
Valentin Lorentz
d809db2cc6
Fix bold of 'getpass' question. Closes GH-426.
2013-01-20 12:39:36 +01:00
Valentin Lorentz
97bffbdef1
User: Add support for authentication via GPG.
2013-01-20 00:09:37 +01:00
Valentin Lorentz
06aca4bda8
PluginDownloader: Add frumious's repo.
2013-01-19 18:54:48 +01:00
Valentin Lorentz
d0bac05265
README: Add text before the build status image.
2013-01-18 18:39:10 +01:00
Valentin Lorentz
8e3076c324
README: Add build status image.
2013-01-18 18:38:10 +01:00
Alexander Ralph Michael Minges
4316e5936e
Use chardet to guess the character encoding when on python3
2013-01-15 20:55:42 +01:00
Valentin Lorentz
bbd9d1636a
Math: Fix rounding.
2013-01-11 19:44:21 +01:00
Valentin Lorentz
c1f19b3353
Fix locales path resolution with Python 3.
2013-01-11 18:29:04 +01:00
Valentin Lorentz
0ff58db4f0
Math: Fix tests to allow higher precision.
2013-01-11 18:15:02 +01:00
Valentin Lorentz
ea63da3e7d
Math: As unit conversion algorithm fails with high precision, make significant digits matter.
2013-01-11 18:14:11 +01:00
Valentin Lorentz
018ee3456d
ShrinkUrl: Retry shrinking twice if it fails.
2013-01-07 20:22:23 +01:00
Valentin Lorentz
589d55ebcd
NickAuth: Use assertEqual for string comparison in tests ('foo' is not 'foo' with Pypy).
2013-01-07 17:15:17 +01:00
Valentin Lorentz
726558115d
core: Prevent infinite recursion with Pypy.
2013-01-06 20:24:02 +01:00
Valentin Lorentz
add5e07d97
Dict: Fix encoding.
2013-01-06 19:54:04 +01:00
Valentin Lorentz
8e6aa116d3
travis.yml: Add Pypy to the list of Python versions.
2013-01-06 19:41:52 +01:00
Valentin Lorentz
5c0f0fb3c2
travis.yml: Exclude PluginDownloader from being tested (Github API limit rate...).
2013-01-06 17:18:24 +01:00
Valentin Lorentz
413bdbf80e
supybot-test: Add the --exclude option.
2013-01-06 17:17:26 +01:00
Valentin Lorentz
603f44129d
Web: Fix Python 3 compatibility.
2013-01-06 17:06:26 +01:00
Valentin Lorentz
8a8f380a6b
Internet: Fix Python 3 compatibility.
2013-01-06 16:58:02 +01:00
Valentin Lorentz
418b3e007c
Filter: Fix encoding with Python 3.
2013-01-06 16:53:07 +01:00
Valentin Lorentz
7e0d868db1
Merge branch 'py3k-backport' into testing
2013-01-06 16:46:29 +01:00
Valentin Lorentz
df62ddad78
Google: Fix encoding with Python 3.
2013-01-06 16:46:21 +01:00
Valentin Lorentz
755a1c9491
Merge branch 'py3k-backport' into testing
...
Conflicts:
sandbox/run_2to3.sh
2013-01-06 13:41:13 +01:00
Valentin Lorentz
cca03ba06b
Copy docs to py3k/ too.
2013-01-06 13:39:56 +01:00
Valentin Lorentz
d04c87c95b
Merge branch 'py3k-backport' into testing
2013-01-06 13:35:37 +01:00
Valentin Lorentz
6cf4901344
Fix 2to3 fixers to work with Python 3.
2013-01-06 13:35:20 +01:00
Valentin Lorentz
fee7ed4cd1
Fix 2to3 fixers to work with Python 3.
2013-01-06 13:34:13 +01:00
Valentin Lorentz
dc7ac9a7a8
travis.yml: Fix Python 3 build.
2013-01-06 13:31:34 +01:00
Valentin Lorentz
a5292ae3b4
core: Fix issue with Python 2.6 (cStringIO is buggy).
2013-01-06 11:34:32 +01:00
Valentin Lorentz
52e91d5f9c
src/test.py: Implement assertIn for old Python versions.
2013-01-05 21:16:30 +01:00
Valentin Lorentz
2bcffdf523
src/test.py: Implement assertIs for old Python versions.
2013-01-05 21:13:36 +01:00
Valentin Lorentz
139cb39ec5
MoobotFactoids: Fix tests with fastest computers.
2013-01-05 21:12:16 +01:00
Valentin Lorentz
fdb7a764d4
core & Filter & Owner: Fix Python 2.6 compatibibility.
2013-01-05 20:51:36 +01:00
Valentin Lorentz
b7b60630d8
Owner: Skip test of @rename for nested commands.
2013-01-05 20:32:39 +01:00
Valentin Lorentz
f44e033827
MoobotFactoids: Prevent race condition in tests (for fastest computers).
2013-01-05 20:19:59 +01:00
Valentin Lorentz
be3017f1de
Filter: Fix encoding issues in tests.
2013-01-05 20:05:36 +01:00
Valentin Lorentz
6e452e0496
Filter: Fix @rot13 with non-ascii strings.
2013-01-05 20:05:22 +01:00
Valentin Lorentz
e3e2b23215
src/test.py: Encode strings only if they are not already using unicode.
2013-01-05 20:04:46 +01:00