Valentin Lorentz
b8fe420ef3
Use 'ast' instead of 'compiler' in utils.gen.safeEval.
2012-08-04 17:24:08 +02:00
Valentin Lorentz
d3d93da602
utils.gen.saltHash: encode string before hashing it.
2012-08-04 17:12:23 +02:00
Valentin Lorentz
ab978a8c31
Remove utils/gen.py dependency on deprecated libraries (new and UserDict).
2012-08-04 17:09:32 +02:00
Valentin Lorentz
caaf290c9b
utils/gen.py: Import imap from itertools instead of utils.iter.
2012-08-04 17:03:51 +02:00
Valentin Lorentz
9de7316f02
Change utils.file.AtomicFile into a wrapper instead of a subclass.
2012-08-04 17:01:36 +02:00
Valentin Lorentz
174a5a4b1f
Encode strings before hashing them in utils.file.mktemp.
2012-08-04 16:39:33 +02:00
Valentin Lorentz
54917f581a
Drop dependency on deprecated httplib.HTTP in test framework.
2012-08-04 16:32:15 +02:00
Valentin Lorentz
b5c99b1ce1
Fix capability checks.
2012-08-04 15:57:51 +02:00
Valentin Lorentz
8211aab92e
Fix issue typo in schedule.removeEvent.
2012-08-04 15:57:47 +02:00
Valentin Lorentz
4bf39f773f
Use the codecs module in src/registry.py.
2012-08-04 15:48:30 +02:00
Valentin Lorentz
69c18aed08
Make NonExistentRegistryEntry subclass AttributeError.
2012-08-04 15:11:45 +02:00
Valentin Lorentz
7d73a7dc0a
src/questions.py: Don't use the 'is' operator to compare strings.
2012-08-04 15:05:04 +02:00
Valentin Lorentz
b338c54592
src/log.py: Support for Python 3 logging module.
2012-08-04 15:04:43 +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
Valentin Lorentz
85b2197300
Merge pull request #379 from Mkaysi/rss-l10n-fi
...
RSS: update l10n-fi
2012-08-04 05:55:41 -07:00
Valentin Lorentz
fa8950b4a4
Make type checks in ircutils.safeArgument compatible with Python 3.
2012-08-04 14:52:17 +02: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
Valentin Lorentz
66e4243a14
Use 'future' division in src/ircutils.py.
2012-08-04 14:18:53 +02: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
602f1c7ecb
utils/str.py: Use classes Multiple* instead of lambda functions.
...
As in Python 3, functions are bound to a class when assigned to an attribute,
lambda functions get two parameters, unless they are decorated with classmethod().
And there is no reason to ask plugin developpers use this decorator, while we
avoid them doing this (more over, it is not obvious to debug if they forgot it).
2012-08-04 13:52:02 +02:00
Valentin Lorentz
17eb6c497f
ircmsgs: use classic comparisons instead of str.translate to ensure channel key validity.
2012-08-04 13:31:26 +02:00
Valentin Lorentz
e23fa611d6
Call other.__eq__ in irclib.Irc.__eq__ instead of using the == comparator.
...
Here, this operator is not reflexive, and Python 3 calls the second members resulting in a stack overflow.
2012-08-04 13:25:47 +02:00
Valentin Lorentz
1cb657ddb2
Import imap directly from itertools instead of utils.iter.
2012-08-04 13:21:37 +02:00
Valentin Lorentz
d52e501ae8
Use open() instead of file().
2012-08-04 13:13:16 +02:00
Valentin Lorentz
505fd580f8
Use unicode in src/i18n.py
2012-08-04 12:09:11 +02:00
Valentin Lorentz
d28fa0cbdf
Make Socket driver compatible with py3k.
2012-08-04 12:00:02 +02:00
Valentin Lorentz
139f5b4943
Make src/callbacks.py more py3k-friendly.
2012-08-04 11:38:12 +02:00
Valentin Lorentz
fa35a07941
Add utils.str.multipleRemover.
2012-08-04 11:27:50 +02:00
Valentin Lorentz
fffccb4600
Add utils.str.multipleReplacer.
2012-08-04 11:27:41 +02:00
Valentin Lorentz
21409af405
Revert "Add ° as a prefix character."
...
This reverts commit 0af7d791cc
.
° is differently encoded in unicode and latin1.
2012-08-02 13:26:44 +00:00
Valentin Lorentz
0af7d791cc
Add ° as a prefix character.
2012-08-02 13:15:50 +00:00
Valentin Lorentz
59b9ba2cf8
RSS: Update l10n-fr.
2012-07-31 21:12:37 +02:00
Valentin Lorentz
4bc5ed4f2d
RSS: Internationalize three strings.
2012-07-31 19:09:18 +00:00
Valentin Lorentz
ef78c86974
Add configuration variable supybot.reply.format.url.
2012-07-31 13:12:33 +00:00
Valentin Lorentz
19a8df5b46
Fix typo in registry.close().
...
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2012-07-30 23:23:51 -04:00
James McCoy
d053a660b0
callbacks.py: Always error when capabilities aren't satisfied.
...
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2012-07-30 23:21:26 -04:00
Valentin Lorentz
60cba105c8
Fix setup.py for fresh installs.
2012-07-30 15:42:38 +00:00