Commit Graph

192 Commits

Author SHA1 Message Date
Valentin Lorentz 74f86654b1 Remove fallbacks for old Python versions. 2022-01-01 18:11:36 +01:00
Valentin Lorentz 63eb6672ea Revert generic 'The Limnoria Contributors' in copyright notices
This commit reverts db7ef3f025
(though it keeps the year updates)

After discussion with several people, it seems better to mention
copyright owners explicitly. eg. https://reuse.software/faq/#vcs-copyright
explains the issue of using VCSs to track copyright.

As db7ef3f025 only replaced mentions
of my name with 'The Limnoria Contributors', this commit only needs
to undo that + add one person who contributed to setup.py.
2021-10-17 09:57:55 +02:00
Valentin Lorentz db7ef3f025 all: Add generic 'The Limnoria Contributors' to copyright notices.
No need to bother with details (that are all outdated / out of sync
anyway), just look up the git history.
2021-08-01 21:54:49 +02:00
James Lu 5c2e16f391 scripts: remove obsolete conditionals for Python 2 2020-01-05 11:31:45 -08:00
James Lu 7e70ce43f2 scripts: migrate shebangs and version checks to Python 3 2020-01-05 11:29:41 -08:00
James Lu 9e03e0e6e2 Be less hostile to users in --allow-root help 2020-01-05 11:25:47 -08:00
Valentin Lorentz 423a38770b Get locale name on startup from registry cache instead of parsing config file.
Parsing the config file needlessly requires an extra read of it,
and is brittle (extra spaces, etc.)
It was especially broken as there was a newline character
at the end of currentLocale, which made everything fail
shamefully.
2019-11-24 12:04:21 +01:00
James Lu 17a0348d9a Substitute $nick and friends with <console> when exiting on Ctrl-C 2017-09-17 12:07:16 -07:00
Valentin Lorentz eef901894d Add 'import supybot.i18n' warning to supybot-wizard. 2017-01-22 09:28:42 +01:00
Nick Cross 039a4f38f8 Use copyfile instead of copy 2016-12-23 13:57:27 +00:00
Valentin Lorentz ccc6b53a9a Fix version returned by 'supybot --version' (Limnoria, not Supybot). 2016-07-28 09:27:21 +02:00
Valentin Lorentz 1d62a0a7c5 Fix version-clash error message to show the path to python instead of supybot. 2016-03-12 22:30:15 +01:00
Valentin Lorentz 935abed77b Show an explicit error in case Python imports stock Supybot's library. 2015-08-26 17:03:21 +02:00
James Lu 6fa96df607 scripts/supybot: use %.2f for rounding 2015-04-11 13:33:34 -07:00
James Lu fc418d35b0 scripts/supybot: round total CPU time to 2 decimal places
This prevents rather silly things such as 0.9400000000001 from showing up.

(cherry picked from commit GLolol/Limnoria@2d5e936f0d)
2015-04-05 13:47:41 -07:00
James Lu 59b39ea45e scripts/supybot: use None as msg for standardSubstitute on Ctrl-C 2015-02-07 10:01:47 -08:00
James Lu 0c85c6d796 supybot: also expand substitutes when exiting on Ctrl-C 2015-02-05 22:34:07 -08:00
Valentin Lorentz 3158c865b3 scripts/supybot: Fix typo. 2014-08-14 19:37:19 +02:00
Valentin Lorentz bd1ac36c2c Move disableMultiprocessing from supybot.conf to supybot.world in order for it not to be in the config file. 2014-08-14 14:16:15 +02:00
Valentin Lorentz 41d63c7888 Allow --disable-multiprocessing in main supybot script. 2014-08-14 14:14:13 +02:00
Valentin Lorentz b6ea53b07a Add Python version to 'supybot --version' and @version. 2013-10-27 11:40:10 +01:00
Valentin Lorentz 46b89cfc0e Fix crash when --daemon is given (Python 3). 2013-06-29 13:58:41 +02:00
Valentin Lorentz 18c671fc6c scripts/supybot: Invoke i18n in the 'try' block to handle the case where the config file does not exist. 2013-06-01 16:26:41 +02:00
Valentin Lorentz 4090793468 Fix scripts to work with Python 3 without 2to3. 2013-04-27 16:16:08 +02:00
Valentin Lorentz d13015dfb5 Fix tests with Travis. 2013-04-11 19:09:50 +02:00
Valentin Lorentz d714909576 Use non-sexist language in strings and comments. 2013-03-08 20:34:31 +01:00
Valentin Lorentz 3dba9088b0 Merge remote-tracking branch 'supybot/master' into testing
Conflicts:
	INSTALL
	plugins/ChannelLogger/README.txt
	plugins/ChannelStats/README.txt
	plugins/Google/plugin.py
	plugins/Google/test.py
	plugins/Plugin/test.py
	plugins/Web/test.py
	setup.py
	src/callbacks.py
	src/ircdb.py
	src/irclib.py
	src/utils/str.py
	test/test_irclib.py
2013-01-01 21:11:24 +01:00
James McCoy 82ecf36fcd Update my name/contact information
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2012-09-01 10:16:48 -04:00
James McCoy 83f872fa12 Bump minimum Python version to 2.6 for multiprocessing support
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2012-09-01 10:06:50 -04:00
James McCoy 232aa86a1e Merge branch 'maint/0.83.4' 2012-09-01 09:13:52 -04:00
Valentin Lorentz d52e501ae8 Use open() instead of file(). 2012-08-04 13:13:16 +02:00
Daniel Folkinshteyn a31350f14a Consolidate the version string to reside in one central place to ease change making.
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2012-06-17 10:42:44 -04:00
Valentin Lorentz a1acde1f02 Use log.critical instead of log.fatal (which does not exist).
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2012-05-23 00:31:58 -04:00
Valentin Lorentz 6b0e5303b4 Use log.critical instead of log.fatal (which does not exist). 2012-01-17 20:51:42 +00:00
Valentin Lorentz 3265d84a23 Bug fix with the HTTP server. 2011-07-01 16:49:48 +02:00
Valentin Lorentz 667d7c34b4 Bug fixes to the HTTP server 2011-06-24 15:32:22 +02:00
Valentin Lorentz 13e4f45e30 Add an embedded HTTP server to Supybot. 2011-06-24 14:31:29 +02:00
Daniel Folkinshteyn 05c9482759 Consolidate the version string to reside in one central place to ease change making. 2011-04-26 10:23:18 +02:00
Valentin Lorentz 44458d4b57 Change version number to 0.83.4.1+git+fr3 2011-02-27 12:01:51 +01:00
Valentin Lorentz 0223e9c210 Change release number to 0.83.4.1+git+fr2 2011-01-29 10:29:05 +01:00
Valentin Lorentz 211be44b9c Merge branch 'testing' 2010-11-11 12:03:12 +01:00
Valentin Lorentz 4ea359d503 Merge branch 'l10n-fr' into testing 2010-11-11 12:03:04 +01:00
Valentin Lorentz 323ffe1a1f i18n: Fix internationalization problems 2010-11-11 12:01:56 +01:00
Valentin Lorentz 713aae9017 Change the version suffix 2010-11-02 14:06:06 +01:00
Valentin Lorentz 44c3eb1825 Changes version 2010-10-24 13:54:35 +02:00
James Vega 31d5191dcd supybot: Remove extraneous sys.stdin.close()
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit 0e22e218f0)
2010-08-24 19:51:33 -04:00
Štěpán Němec d7d5ccea50 scripts/supybot: Unify the `os.linesep' vs '\n' usage.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit 2242b26025)
2010-08-24 19:03:43 -04:00
James Vega 024a77af48 Updated to 0.83.4.1+git.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit 332a614eef)
2010-08-24 18:59:46 -04:00
James Vega 0e22e218f0 supybot: Remove extraneous sys.stdin.close()
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-06-20 09:40:57 -04:00
Jeremy Fincher 52e96bff61 Remove some comments that are now irrelevant (and have been for some time). 2009-11-25 09:14:05 -06:00