Valentin Lorentz
974a64de44
Fix memory leak in i18n by using weak references to plugin classes and methods.
2014-01-22 10:51:01 +01:00
Valentin Lorentz
5cfa7828ea
ChannelStats & MessageParser & PluginDownloader & RSS & User: Update l10n-fr.
2014-01-22 08:02:03 +01:00
Valentin Lorentz
3af8b4dc76
Remove debug output in check_trans.py.
2014-01-22 07:46:11 +01:00
Valentin Lorentz
80aa419035
Add file minisix.py (forgot to add it in previous commits).
2014-01-21 22:41:50 +01:00
Valentin Lorentz
ca6ee1fcb1
AutoMode & Factoids & Google & Math & Network & Seen & Status & Topic: Update l10n-fr.
2014-01-21 22:41:11 +01:00
Valentin Lorentz
1874440cc8
i18n: Move the pot files parsing to a separate function.
2014-01-21 22:39:48 +01:00
Valentin Lorentz
3c695c4a15
Improve the check_trans script by using Supybot's .po(t) parser.
...
The previous method matched line by line, which broke for msgmerge alternative (poedit\!\!\!) that changes line breaks.
2014-01-21 19:30:24 +01:00
Valentin Lorentz
12e652f7db
Time: Update l10n-fr.
2014-01-21 16:56:44 +01:00
Valentin Lorentz
8b06bd52f0
All plugins: Update .pot files and rename Supybot-fr to Limnora in French translation files.
2014-01-21 16:48:13 +01:00
Valentin Lorentz
35c7b52e14
Remove unnecessary call to i18n.reloadLocalesIfRequired.
2014-01-21 16:36:45 +01:00
Valentin Lorentz
3af1e3f42d
Fix internationalization of docstrings of wrap()ed commands.
2014-01-21 16:33:35 +01:00
Valentin Lorentz
f27484d2bb
Switch comments of callbacks.PluginRegexp's attributes to docstrings (for Sphinx).
2014-01-21 13:43:52 +01:00
Valentin Lorentz
06fdaa792f
Continue accelerating the 2to3 step (remove fix_map).
2014-01-21 10:57:38 +01:00
Valentin Lorentz
1fbdedc7e0
Continue accelerating the 2to3 step (remove fix_funcattrs, fix_itertools, and fix_itertools_imports).
2014-01-21 10:50:55 +01:00
Valentin Lorentz
35a62b4e77
Continue accelerating the 2to3 step (remove fix_ws_comma, fix_xreadlines, and fix_zip).
2014-01-21 10:40:18 +01:00
Valentin Lorentz
ca419f6485
Continue accelerating the 2to3 step (remove fix_reduce, fix_renames, fix_repr, fix_set_literal, fix_standarderror, fix_sys_exc, fix_throw, and fix_tuple_params).
2014-01-20 16:04:53 +01:00
Valentin Lorentz
bb7db3ab21
Continue accelerating the 2to3 step (remove fix_except).
2014-01-20 15:49:15 +01:00
Valentin Lorentz
2fda69b4d6
Continue accelerating the 2to3 step (remove fix_raise).
2014-01-20 15:43:55 +01:00
Valentin Lorentz
c1c23f66f4
Continue accelerating the 2to3 step (remove fix_print).
2014-01-20 15:31:09 +01:00
Valentin Lorentz
529b8f8d99
Continue accelerating the 2to3 step (remove fix_nonzero, fix_operator, and fix_paren).
2014-01-20 15:19:06 +01:00
Valentin Lorentz
d1649a44ac
Continue accelerating the 2to3 step (remove fix_idioms, fix_imports2, fix_input, fix_intern, fix_isinstance, fix_ne, fix_next, and fix_raw_input).
2014-01-20 15:13:01 +01:00
Valentin Lorentz
4652c9ce51
Start accelerating the 2to3 step (remove fix_apply, fix_buffer, fix_callable, fix_exec, fix_execfile, fix_exitfunc, fix_filter, fix_funcattrs, fix_future, fix_getcwdu, and fix_has_key).
2014-01-20 14:49:47 +01:00
Valentin Lorentz
a277ace2bf
Set list of fixers explicitely.
2014-01-20 13:59:25 +01:00
Valentin Lorentz
566e841977
Update documentation of ircdb.checkCapability (used in the Sphinx doc).
2014-01-20 11:35:28 +01:00
Valentin Lorentz
5e894b5f39
User: Fix previous commit.
2014-01-17 19:38:59 +00:00
Valentin Lorentz
b7bfd64bc4
User: Fix GPG auth on Python 3. Closes GH-541. Closes GH-542.
2014-01-17 19:15:28 +00:00
Valentin Lorentz
1f2d51dfc5
Merge pull request #540 from esplinr/master
...
ChannelLogger: Improvements to file handling.
2014-01-15 23:11:26 -08:00
Richard Esplin
5ecb154186
Ensure log files are UTF-8 encoded
...
The default encoding is platform specific, so problems can arise if we do not
make it explicit. Especially on Windows. Freenode appears to be all UTF-8, and
irclib is giving us UTF-8 strings, so let's standardize on UTF-8.
2014-01-15 23:15:09 -07:00
Richard Esplin
ba0ba71bf4
Eliminate unnecessary closing of the log file.
...
Name returns a string that is the log file name: the channel plus the timestamp.
But on my system log.name returns the fully qualified path to the currently open file. This is because log is a file handle, so if you declare it with a path, it will be included in the name.
On systems were logging is not in the current directory, the two will never match, and the file is closed and then reopened.
Only taking the basename solves this problem.
2014-01-15 16:15:11 -07:00
Valentin Lorentz
5341df0254
Google: *copy* the utils.web.defaultHeaders before adding items to it.
2014-01-14 20:55:56 +00:00
Valentin Lorentz
8e023ed8c6
Merge pull request #539 from nyuszika7h/testing
...
Do the previous commit in a more clean way
2014-01-13 09:30:31 -08:00
nyuszika7h
c3dcc4f416
Do the previous commit in a more clean way
2014-01-13 18:27:52 +01:00
Valentin Lorentz
a55f40dc68
Merge pull request #538 from nyuszika7h/fix/later-tell-prefixnick
...
Later: Always prefix nick if telling in channel
2014-01-13 09:24:35 -08:00
nyuszika7h
6dd179f9e9
Later: Always prefix nick if telling in channel
2014-01-13 18:07:49 +01:00
Valentin Lorentz
39d874024f
.travis.yml: Disable 'the build passed' message.
2014-01-12 16:07:18 +01:00
Valentin Lorentz
b31ce87472
Add classifiers to setup.py (Python 3.x and natural languages).
2014-01-12 15:52:10 +01:00
Valentin Lorentz
26dbe5ce81
Merge branch 'master' into testing
2014-01-07 09:37:13 +00:00
Valentin Lorentz
caba0d388e
Merge pull request #536 from ddan39/addshortopts
...
add short options to getopts. single letter options will work with both - or --
2014-01-07 01:36:05 -08:00
Dan
54196be509
add short options to getopts. single letter options will work with both - or --
2014-01-06 23:03:25 +01:00
Valentin Lorentz
5694f2499d
Merge pull request #535 from bnrubin/master
...
log: Add support for Logging's 'extra' keyword argument
2014-01-06 07:54:11 -08:00
Benjamin Rubin
1093cfb01f
log: Add support for Logging's 'extra' keyword argument
2014-01-05 17:15:00 -05:00
Valentin Lorentz
b44a08d2bd
Fix previous merge (again).
2014-01-03 17:48:30 +00:00
Valentin Lorentz
4a9d3ccd3e
Fix previous merge.
2014-01-03 17:15:32 +00:00
Valentin Lorentz
492a5ac04c
Merge pull request #534 from nyuszika7h/fix/fd-leak
...
Fix file descriptor leaks
2014-01-03 09:14:29 -08:00
nyuszika7h
0934f1075b
Merge branch 'testing' into fix/fd-leak
2014-01-03 17:45:53 +01:00
nyuszika7h
0e480b4e52
Fix file descriptor leaks
2014-01-03 17:44:01 +01:00
Valentin Lorentz
38d78a4213
httpserver: add method 'doHook' to callbacks.
2014-01-02 17:20:15 +00:00
Valentin Lorentz
9457f4dbe7
Misc: Add command @noticetell to replace “@notice [tell ]” which is no longer possible since f0233c37
.
2014-01-01 20:46:09 +00:00
Valentin Lorentz
43e1b55506
Misc: Fix @version on Python 2.
2014-01-01 11:40:49 +00:00
Valentin Lorentz
9ff1483da2
Time: Make argument to @at optional. (Replacement for GH-533 that does not need nesting.)
2013-12-28 23:05:23 +00:00