Commit Graph

4083 Commits

Author SHA1 Message Date
Valentin Lorentz 12b8e44dc7 AutoMode: Fix traceback since b5c99b1c. 2012-08-10 13:04:25 +00:00
Valentin Lorentz 45bf9db03c Merge branch 'py3k-backport' into testing
This branch provides support of Python 3 via 2to3 (without dropping
Python 2 support).
2012-08-08 21:46:29 +02:00
Valentin Lorentz 62d56dee18 Alias: Allow pipes in name. 2012-08-08 21:44:10 +02:00
Valentin Lorentz 1e794d88d7 ChannelLogger: Use open() instead of file(). 2012-08-07 20:53:06 +00:00
Valentin Lorentz 94d09da44a Alias: Save and restore aliases with dots in them. 2012-08-06 20:36:10 +02:00
Valentin Lorentz 22befe3d61 Owner: Prevent use of uninitialized variable. 2012-08-05 18:28:17 +02:00
Valentin Lorentz ea17fe5c57 Unix: Decode stream for the command line in sysuname. 2012-08-05 18:26:39 +02:00
Valentin Lorentz 4fc1e934c7 PluginDownloader: Open target files in binary mode. 2012-08-05 18:02:54 +02:00
Valentin Lorentz a40ebae4da String: Apply/unapply base64 encoding when dealing with a binary encoding. 2012-08-05 17:55:29 +02:00
Valentin Lorentz 5ae3e3fdcf ShrinkUrl: Decode data from web services. 2012-08-05 16:58:09 +02:00
Valentin Lorentz 709c3390ef Internet: Remove debug print. 2012-08-05 15:20:35 +02:00
Valentin Lorentz 124e292f1f Catch sort errors in ChannelUserDB.
In case the dictionnary has both integers and strings as keys, items.sort() raises a TypeError.
2012-08-05 15:19:20 +02:00
Valentin Lorentz a731841af8 Dict: Decode network stream as unicode. 2012-08-05 14:38:11 +02:00
Valentin Lorentz 34bb33b65f Alias & MoobotFactoids: Fix import error in test.py. 2012-08-05 14:14:55 +02:00
Valentin Lorentz 242a54fbf2 Alias & RSS: remove third argument to types.MethodType.
It is useless in the case in point, and is not compatible with Python 3.
2012-08-05 14:08:04 +02:00
Valentin Lorentz 8507498be4 Web: make plugin py3k-friendly. 2012-08-04 22:23:40 +02:00
Valentin Lorentz 6537137b3f Unix: make plugin py3k-friendly. 2012-08-04 22:20:20 +02:00
Valentin Lorentz 65eb79b8f2 String: Use the 'codecs' module and make it py3k-friendly. 2012-08-04 22:04:13 +02:00
Valentin Lorentz de5747aecb ShrinkUrl: Use utils.web.getUrl instead of httplib2. 2012-08-04 21:33:58 +02:00
Valentin Lorentz 36812798fb Make ChannelUserDictionary subclass collections.MutableMapping instead of deprecated UserDict.DictMixin. 2012-08-04 21:16:00 +02:00
Valentin Lorentz 11df697b96 RSS: Be compatible with new versions of feedparser. 2012-08-04 20:43:11 +02:00
Valentin Lorentz c99fe9519e PluginDownloader: Make plugin py3k-friendly. 2012-08-04 20:39:30 +02:00
Valentin Lorentz 0134696b8b Misc: make plugin py3k-friendly. 2012-08-04 20:25:36 +02:00
Valentin Lorentz 987aaa6c37 Math: use string.ascii_uppercase instead of string.uppercase. 2012-08-04 20:23:30 +02:00
Valentin Lorentz 224bdf89e7 Math: implement __lt__ and __eq__ in converter.Unit. 2012-08-04 20:22:11 +02:00
Valentin Lorentz 1be1ddb386 Later: Use open() instead of file(). 2012-08-04 20:20:14 +02:00
Valentin Lorentz 0b49c7312f Internet: use binary I/O. 2012-08-04 20:07:24 +02:00
Valentin Lorentz 978a702346 Google: Use 'json' module and apply .decode() on data. 2012-08-04 19:50:30 +02:00
Valentin Lorentz a89ff32297 Filter: Use the 'codecs' module instead of .encode and .decode. 2012-08-04 19:43:11 +02:00
Valentin Lorentz 9dcfce01c7 Dict: Open connection in binary mode. 2012-08-04 19:22:31 +02:00
Valentin Lorentz dcd07a2ec4 ChannelStats & Filter & Math & Unit: use utils instead of str.translate. 2012-08-04 19:13:35 +02:00
Valentin Lorentz 88c2c130ca BadWords & Nickometer: Use 'future' divisions. 2012-08-04 18:54:14 +02:00
Valentin Lorentz 8b7d16c850 Alias & RSS: Use types.MethodType instead of new.instancemethod. 2012-08-04 18:46:16 +02:00
Valentin Lorentz 458508a287 Merge pull request #381 from Mkaysi/plugindownloader-l10n-fi
PluginDownloader: update l10n-fi.
2012-08-04 05:57:51 -07:00
Valentin Lorentz a27acdaecd Merge pull request #383 from Mkaysi/network-l10n-fi
Network: update l10n-fi.
2012-08-04 05:57:42 -07:00
Valentin Lorentz 165f4ca38c Merge pull request #382 from Mkaysi/misc-l10n-fi
Misc: update l10n-fi.
2012-08-04 05:57:26 -07:00
Valentin Lorentz 45120dda07 Merge pull request #385 from Mkaysi/google-l10n-fi
Google: update l10n-fi.
2012-08-04 05:57:17 -07:00
Valentin Lorentz 3989814030 Merge pull request #384 from Mkaysi/topic-l10n-fi
Topic: update l10n-fi.
2012-08-04 05:56:51 -07:00
Valentin Lorentz de28a95e9f Merge pull request #380 from Mkaysi/shrinkurl-l10n-fi
ShrinkUrl: update l10n-fi.
2012-08-04 05:56:09 -07:00
Mika Suomalainen 8b89014d10 Google: update l10n-fi. 2012-08-04 15:48:12 +03:00
Mika Suomalainen 6e7eb6e509 Topic: update l10n-fi. 2012-08-04 15:44:08 +03:00
Mika Suomalainen 5cb4fbcc50 Network: update l10n-fi. 2012-08-04 15:36:53 +03:00
Mika Suomalainen 89a2ed7313 Misc: update l10n-fi. 2012-08-04 15:30:53 +03:00
Mika Suomalainen 99991b43a5 PluginDownloader: update l10n-fi. 2012-08-04 15:22:11 +03:00
Mika Suomalainen 4656fd5805 ShrinkUrl: update l10n-fi. 2012-08-04 15:15:42 +03:00
Mika Suomalainen 3c3e615199 plugins/RSS/locale/fi.po: update headers. 2012-08-04 15:09:45 +03:00
Valentin Lorentz df2d976818 Use utils.str.MultipleReplacer instead of str.maketrans. 2012-08-04 14:04:15 +02:00
Mika Suomalainen 9760a44137 RSS: update l10n-fi 2012-08-04 15:02:17 +03:00
Valentin Lorentz b17228d683 MoobotFactoids: Use Supybot's shlex instead of the standard library's.
Supybot's uses a separator whitelist instead of a 'valid chars' blacklist,
which is better when handling non-ascii charsets.
2012-08-04 14:00:23 +02:00
Valentin Lorentz 1cb657ddb2 Import imap directly from itertools instead of utils.iter. 2012-08-04 13:21:37 +02:00