irker.git
12 years agoPrevent a TTL bug.
Eric S. Raymond [Tue, 9 Oct 2012 00:24:40 +0000 (20:24 -0400)]
Prevent a TTL bug.

12 years agoRemove support for mIRC color codes.
Eric S. Raymond [Mon, 8 Oct 2012 19:57:40 +0000 (15:57 -0400)]
Remove support for mIRC color codes.

They tend to produce unwanted effects when an mIRC code is directly
followed by a text digit (which is going to happen often in this context, e.g.
with git hex commit IDs). the mIRC codes have no end delimiter, so
unless the client's recognizer is very carefully crafted it will eat
following text.

12 years agoCorrect the ANSI highlights.
Eric S. Raymond [Mon, 8 Oct 2012 17:25:04 +0000 (13:25 -0400)]
Correct the ANSI highlights.

12 years agoLooks like 1.5 seconds was enough delay.
Eric S. Raymond [Mon, 8 Oct 2012 16:47:33 +0000 (12:47 -0400)]
Looks like 1.5 seconds was enough delay.

12 years agoAttempt a fix for a race condition in filter-test.py.
Eric S. Raymond [Mon, 8 Oct 2012 16:46:10 +0000 (12:46 -0400)]
Attempt a fix for a race condition in filter-test.py.

12 years agoUpdate the release procedure.
Eric S. Raymond [Mon, 8 Oct 2012 16:42:41 +0000 (12:42 -0400)]
Update the release procedure.

12 years agoComment improvements.
Eric S. Raymond [Mon, 8 Oct 2012 16:11:44 +0000 (12:11 -0400)]
Comment improvements.

12 years agoMerge commit 'refs/merge-requests/16' of git://gitorious.org/irker/irker into merge...
Eric S. Raymond [Mon, 8 Oct 2012 16:00:05 +0000 (12:00 -0400)]
Merge commit 'refs/merge-requests/16' of git://gitorious.org/irker/irker into merge-requests/16

12 years agoMerge some minor cleanups by Peter Scott.
Eric S. Raymond [Mon, 8 Oct 2012 15:58:36 +0000 (11:58 -0400)]
Merge some minor cleanups by Peter Scott.

12 years agoGet the tag-push invocation right.
Eric S. Raymond [Mon, 8 Oct 2012 15:25:31 +0000 (11:25 -0400)]
Get the tag-push invocation right.

12 years agoVersion bump for release. 1.9
Eric S. Raymond [Mon, 8 Oct 2012 15:06:53 +0000 (11:06 -0400)]
Version bump for release.

12 years agoSync tags to the repo after shipping.
Eric S. Raymond [Mon, 8 Oct 2012 15:02:31 +0000 (11:02 -0400)]
Sync tags to the repo after shipping.

12 years agoPassword support could be done by passing the credential every time.
Eric S. Raymond [Mon, 8 Oct 2012 14:59:30 +0000 (10:59 -0400)]
Password support could be done by passing the credential every time.

12 years agoDocumentation improvements.
Eric S. Raymond [Mon, 8 Oct 2012 14:56:59 +0000 (10:56 -0400)]
Documentation improvements.

12 years agoExpire disconnected connections if they aren't needed or can't reconnect
Alexander van Gessel (AI0867) [Mon, 8 Oct 2012 10:29:49 +0000 (12:29 +0200)]
Expire disconnected connections if they aren't needed or can't reconnect

12 years agoPrevent CPU usage from going to max due to loop buzzing.
Eric S. Raymond [Mon, 8 Oct 2012 08:51:12 +0000 (04:51 -0400)]
Prevent CPU usage from going to max due to loop buzzing.

12 years agoTinyifier fixes
Laurent Bachelier [Mon, 8 Oct 2012 08:37:23 +0000 (10:37 +0200)]
Tinyifier fixes

- use the right config for Mercurial extractor
- use the default tinyifier if nothing is provided
- support using no tinyifier (=none or empty)

Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
12 years agoAvoid a problem with the mutex code.
Eric S. Raymond [Mon, 8 Oct 2012 08:28:21 +0000 (04:28 -0400)]
Avoid a problem with the mutex code.

12 years agoWrap library calls in a mutex for thread safety.
Eric S. Raymond [Mon, 8 Oct 2012 04:57:57 +0000 (00:57 -0400)]
Wrap library calls in a mutex for thread safety.

12 years agoWhy there's no support for password authentication.
Eric S. Raymond [Mon, 8 Oct 2012 00:00:08 +0000 (20:00 -0400)]
Why there's no support for password authentication.

12 years agoAnother try at stomping the disconnect bug.
Eric S. Raymond [Sun, 7 Oct 2012 23:24:38 +0000 (19:24 -0400)]
Another try at stomping the disconnect bug.

12 years agoEmpty sends are allowed.
Eric S. Raymond [Sun, 7 Oct 2012 21:18:48 +0000 (17:18 -0400)]
Empty sends are allowed.

12 years agoInstrumentation to pin down laurentb's timeout bug.
Eric S. Raymond [Sun, 7 Oct 2012 16:24:36 +0000 (12:24 -0400)]
Instrumentation to pin down laurentb's timeout bug.

12 years agoMake install.html available on the project page.
Eric S. Raymond [Sun, 7 Oct 2012 15:42:09 +0000 (11:42 -0400)]
Make install.html available on the project page.

12 years agoRevert "Properly \n-terminate each send."
Eric S. Raymond [Sun, 7 Oct 2012 15:38:08 +0000 (11:38 -0400)]
Revert "Properly \n-terminate each send."

I misunderstood the RFCs. Curious that someone else reported this
before I saw it.

12 years agoAdd a systemd unit to start irkerd
Wulf C. Krueger [Sun, 7 Oct 2012 09:06:14 +0000 (11:06 +0200)]
Add a systemd unit to start irkerd

Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
12 years agoTypo fix.
Eric S. Raymond [Sun, 7 Oct 2012 09:40:20 +0000 (05:40 -0400)]
Typo fix.

12 years agoClarification.
Eric S. Raymond [Sun, 7 Oct 2012 09:37:34 +0000 (05:37 -0400)]
Clarification.

12 years agoNote that greenlets make thread flooding more difficult.
Eric S. Raymond [Sun, 7 Oct 2012 09:33:45 +0000 (05:33 -0400)]
Note that greenlets make thread flooding more difficult.

12 years agoURL fix.
Eric S. Raymond [Sun, 7 Oct 2012 08:18:45 +0000 (04:18 -0400)]
URL fix.

12 years agoMakup fix.
Eric S. Raymond [Sun, 7 Oct 2012 08:08:41 +0000 (04:08 -0400)]
Makup fix.

12 years agoMarkup amd thinko fixes.
Eric S. Raymond [Sun, 7 Oct 2012 08:07:40 +0000 (04:07 -0400)]
Markup amd thinko fixes.

12 years agoProperly \n-terminate each send.
Eric S. Raymond [Sun, 7 Oct 2012 07:26:47 +0000 (03:26 -0400)]
Properly \n-terminate each send.

This simple change is slightly wrong in a way that IRC servers hide -
strictly speaking we should not append a '\n' to the very last
segment.

12 years agoSome feature enhancements for irk.
Eric S. Raymond [Sun, 7 Oct 2012 07:23:33 +0000 (03:23 -0400)]
Some feature enhancements for irk.

12 years agopylint cleanup.
Eric S. Raymond [Sun, 7 Oct 2012 07:09:10 +0000 (03:09 -0400)]
pylint cleanup.

12 years agoMerge commit 'refs/merge-requests/12' of git://gitorious.org/irker/irker into merge...
Eric S. Raymond [Sun, 7 Oct 2012 06:46:25 +0000 (02:46 -0400)]
Merge commit 'refs/merge-requests/12' of git://gitorious.org/irker/irker into merge-requests/12

12 years agoMake idle loop work correctly with Eventlet and plain threads, with no 100% CPU busy...
Peter Scott [Sun, 7 Oct 2012 05:23:26 +0000 (22:23 -0700)]
Make idle loop work correctly with Eventlet and plain threads, with no 100% CPU busy loop.

12 years agoGood thing we do a smoke test before release. 1.8
Eric S. Raymond [Sun, 7 Oct 2012 01:59:47 +0000 (21:59 -0400)]
Good thing we do a smoke test before release.

12 years agoVersion bump for release.
Eric S. Raymond [Sun, 7 Oct 2012 01:57:03 +0000 (21:57 -0400)]
Version bump for release.

12 years agoFix green threads
Laurent Bachelier [Sat, 6 Oct 2012 18:10:54 +0000 (20:10 +0200)]
Fix green threads

Nothing would happen in green threads mode.

Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
12 years agoSending to nick URLs is now supported.
Eric S. Raymond [Sun, 7 Oct 2012 01:00:18 +0000 (21:00 -0400)]
Sending to nick URLs is now supported.

12 years agoRevert "Make the main process idle loop slightly less expensive."
Eric S. Raymond [Sat, 6 Oct 2012 16:54:01 +0000 (12:54 -0400)]
Revert "Make the main process idle loop slightly less expensive."

sigpause() doesn't work with greenlets.

12 years agoRemove a dependecy on netcat.
Eric S. Raymond [Sat, 6 Oct 2012 11:00:07 +0000 (07:00 -0400)]
Remove a dependecy on netcat.

12 years agoEnable us to see stack traces from with delivery threads when debuglvl > 0.
Eric S. Raymond [Sat, 6 Oct 2012 09:05:32 +0000 (05:05 -0400)]
Enable us to see stack traces from with delivery threads when debuglvl > 0.

12 years agobasestring makes the isinstance checks work.
Eric S. Raymond [Sat, 6 Oct 2012 08:49:00 +0000 (04:49 -0400)]
basestring makes the isinstance checks work.

12 years agoActually get tinyfier from the config variables.
Eric S. Raymond [Sat, 6 Oct 2012 07:59:55 +0000 (03:59 -0400)]
Actually get tinyfier from the config variables.

12 years agoFix a misspelled variable name.
Eric S. Raymond [Sat, 6 Oct 2012 07:53:34 +0000 (03:53 -0400)]
Fix a misspelled variable name.

12 years agoAdd a needed thread termination.
Eric S. Raymond [Sat, 6 Oct 2012 05:27:16 +0000 (01:27 -0400)]
Add a needed thread termination.

12 years agoTime out if IRCd fails during handshake.
Eric S. Raymond [Fri, 5 Oct 2012 20:54:05 +0000 (16:54 -0400)]
Time out if IRCd fails during handshake.

12 years agoReset status on server disconnect.
Eric S. Raymond [Fri, 5 Oct 2012 19:58:15 +0000 (15:58 -0400)]
Reset status on server disconnect.

12 years agofilter-test.py is sometimes failing to launch, give it more slack.
Eric S. Raymond [Fri, 5 Oct 2012 16:32:26 +0000 (12:32 -0400)]
filter-test.py is sometimes failing to launch, give it more slack.

12 years agoExperimental channel-aging code.
Eric S. Raymond [Fri, 5 Oct 2012 16:07:35 +0000 (12:07 -0400)]
Experimental channel-aging code.

12 years agoVersion bump for release. 1.7
Eric S. Raymond [Fri, 5 Oct 2012 15:33:10 +0000 (11:33 -0400)]
Version bump for release.

12 years agoMake the main process idle loop slightly less expensive.
Eric S. Raymond [Fri, 5 Oct 2012 15:28:54 +0000 (11:28 -0400)]
Make the main process idle loop slightly less expensive.

12 years agoError message improvement.
Eric S. Raymond [Fri, 5 Oct 2012 15:20:36 +0000 (11:20 -0400)]
Error message improvement.

12 years agopylint cleanup.
Eric S. Raymond [Fri, 5 Oct 2012 15:11:48 +0000 (11:11 -0400)]
pylint cleanup.

12 years agoDocument 'irk'.
Eric S. Raymond [Fri, 5 Oct 2012 14:14:37 +0000 (10:14 -0400)]
Document 'irk'.

12 years agoEfficiency fix.
Eric S. Raymond [Fri, 5 Oct 2012 14:11:39 +0000 (10:11 -0400)]
Efficiency fix.

12 years agoPrevent repeated disconnects.
Eric S. Raymond [Fri, 5 Oct 2012 14:00:13 +0000 (10:00 -0400)]
Prevent repeated disconnects.

12 years agoAdd a test tool.
Eric S. Raymond [Fri, 5 Oct 2012 13:34:33 +0000 (09:34 -0400)]
Add a test tool.

12 years agoCosmetic fix.
Eric S. Raymond [Fri, 5 Oct 2012 03:59:07 +0000 (23:59 -0400)]
Cosmetic fix.

12 years agoNews update.
Eric S. Raymond [Fri, 5 Oct 2012 03:44:26 +0000 (23:44 -0400)]
News update.

12 years agoClimb out of the hole breitenfelds dug.
Eric S. Raymond [Thu, 4 Oct 2012 20:55:01 +0000 (16:55 -0400)]
Climb out of the hole breitenfelds dug.

12 years agoImprove error diagnostics for malformed JSON.
Eric S. Raymond [Thu, 4 Oct 2012 20:10:20 +0000 (16:10 -0400)]
Improve error diagnostics for malformed JSON.

12 years agoDereference the right object.
Eric S. Raymond [Thu, 4 Oct 2012 19:04:20 +0000 (15:04 -0400)]
Dereference the right object.

12 years agoDeal with exceptions in a more civilized way.
Eric S. Raymond [Thu, 4 Oct 2012 19:02:18 +0000 (15:02 -0400)]
Deal with exceptions in a more civilized way.

12 years agoI continue to hate my typos...
Eric S. Raymond [Thu, 4 Oct 2012 18:38:34 +0000 (14:38 -0400)]
I continue to hate my typos...

12 years agoI hate my typos...
Eric S. Raymond [Thu, 4 Oct 2012 18:37:22 +0000 (14:37 -0400)]
I hate my typos...

12 years agoArrange to restart dead delivery threads.
Eric S. Raymond [Thu, 4 Oct 2012 18:35:09 +0000 (14:35 -0400)]
Arrange to restart dead delivery threads.

12 years agoLeave a connection more politely.
Eric S. Raymond [Thu, 4 Oct 2012 17:48:26 +0000 (13:48 -0400)]
Leave a connection more politely.

12 years agoDocument the test filter better.
Eric S. Raymond [Thu, 4 Oct 2012 10:30:36 +0000 (06:30 -0400)]
Document the test filter better.

12 years agoRemove confusion-causing messages.
Eric S. Raymond [Thu, 4 Oct 2012 10:24:09 +0000 (06:24 -0400)]
Remove confusion-causing messages.

12 years agoAnother hook test.
Eric S. Raymond [Thu, 4 Oct 2012 10:22:49 +0000 (06:22 -0400)]
Another hook test.

12 years agoTrivial commit to test the post-commit hook.
Eric S. Raymond [Thu, 4 Oct 2012 10:19:54 +0000 (06:19 -0400)]
Trivial commit to test the post-commit hook.

12 years agoAdd a useful test hook.
Eric S. Raymond [Thu, 4 Oct 2012 10:08:13 +0000 (06:08 -0400)]
Add a useful test hook.

12 years agoMake irkerd announce itself at startup when debugging is enabled.
Eric S. Raymond [Thu, 4 Oct 2012 09:55:51 +0000 (05:55 -0400)]
Make irkerd announce itself at startup when debugging is enabled.

12 years agoTypo fix.
Eric S. Raymond [Thu, 4 Oct 2012 08:38:29 +0000 (04:38 -0400)]
Typo fix.

12 years agoChange the filtering so standard error is not captured.
Eric S. Raymond [Thu, 4 Oct 2012 07:39:13 +0000 (03:39 -0400)]
Change the filtering so standard error is not captured.

12 years agoAdd an external filtering facility.
Eric S. Raymond [Thu, 4 Oct 2012 07:11:39 +0000 (03:11 -0400)]
Add an external filtering facility.

Not quite the same as laurentb's design; this one passes all the
commit and extractor data as a single JSON object, and expect to get
back same.

12 years agoVersion bump for release. 1.6
Eric S. Raymond [Thu, 4 Oct 2012 04:52:52 +0000 (00:52 -0400)]
Version bump for release.

12 years agoRemove some now-dead code associated with the filtering feature.
Eric S. Raymond [Thu, 4 Oct 2012 04:48:05 +0000 (00:48 -0400)]
Remove some now-dead code associated with the filtering feature.

12 years agoOne of breitenfelds's isinstance() patches was wrong.
Eric S. Raymond [Thu, 4 Oct 2012 04:47:28 +0000 (00:47 -0400)]
One of breitenfelds's isinstance() patches was wrong.

12 years agoBack out laurentb's filtering - good idea, but not ready for a stable release.
Eric S. Raymond [Thu, 4 Oct 2012 04:23:24 +0000 (00:23 -0400)]
Back out laurentb's filtering - good idea, but not ready for a stable release.

12 years agoMerge commit 'refs/merge-requests/11' of git://gitorious.org/irker/irker into merge...
Eric S. Raymond [Wed, 3 Oct 2012 22:17:39 +0000 (18:17 -0400)]
Merge commit 'refs/merge-requests/11' of git://gitorious.org/irker/irker into merge-requests/11

12 years agoPacify pylint.
Eric S. Raymond [Wed, 3 Oct 2012 21:38:05 +0000 (17:38 -0400)]
Pacify pylint.

12 years agoAdd a note about 2.4 compatibility.
Eric S. Raymond [Wed, 3 Oct 2012 21:17:00 +0000 (17:17 -0400)]
Add a note about 2.4 compatibility.

12 years agoUse preferred form of raising exception with arguments.
Georg Brandl [Wed, 3 Oct 2012 21:02:42 +0000 (23:02 +0200)]
Use preferred form of raising exception with arguments.

12 years agoRemove unneeded backslashes.
Georg Brandl [Wed, 3 Oct 2012 20:59:26 +0000 (22:59 +0200)]
Remove unneeded backslashes.

12 years agoMiscellaneous typo fixes.
Georg Brandl [Wed, 3 Oct 2012 20:58:35 +0000 (22:58 +0200)]
Miscellaneous typo fixes.

12 years agoUse isinstance() instead of type() == type() checks.
Georg Brandl [Wed, 3 Oct 2012 20:58:04 +0000 (22:58 +0200)]
Use isinstance() instead of type() == type() checks.

12 years agoUse "%r" % v instead of "%s" % repr(v) -- it is shorter and more idiomatic.
Georg Brandl [Wed, 3 Oct 2012 20:56:18 +0000 (22:56 +0200)]
Use "%r" % v instead of "%s" % repr(v) -- it is shorter and more idiomatic.

12 years agoMake server initialization respect DRY a bit more.
Georg Brandl [Wed, 3 Oct 2012 20:53:57 +0000 (22:53 +0200)]
Make server initialization respect DRY a bit more.

12 years agoUse old-style threading setDaemon() API to enhance compatibility with Python < 2.6.
Georg Brandl [Wed, 3 Oct 2012 20:52:34 +0000 (22:52 +0200)]
Use old-style threading setDaemon() API to enhance compatibility with Python < 2.6.

12 years agoPoint at a a new feature.
Eric S. Raymond [Wed, 3 Oct 2012 20:31:49 +0000 (16:31 -0400)]
Point at a a new feature.

12 years agoUse faster json if available
Laurent Bachelier [Wed, 3 Oct 2012 19:54:58 +0000 (21:54 +0200)]
Use faster json if available

Considered faster according to:
http://stackoverflow.com/questions/712791/json-and-simplejson-module-differences-in-python
http://stackoverflow.com/questions/706101/python-json-decoding-performance

As a side-effect, it might make irker work under Python versions older than 2.6.

Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
12 years agoAdd support for external pre-filtering
Laurent Bachelier [Wed, 3 Oct 2012 19:54:57 +0000 (21:54 +0200)]
Add support for external pre-filtering

With manpage documentation including example script.
Also add the full e-mail to the available metadata (only git for now).

Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
12 years agoUse existing shell quote function
Laurent Bachelier [Wed, 3 Oct 2012 19:54:56 +0000 (21:54 +0200)]
Use existing shell quote function

Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
12 years agoFix the connection-aging logic.
Eric S. Raymond [Wed, 3 Oct 2012 19:08:49 +0000 (15:08 -0400)]
Fix the connection-aging logic.

12 years agoCompare comment-reduced and unreduced line counts.
Eric S. Raymond [Wed, 3 Oct 2012 19:07:44 +0000 (15:07 -0400)]
Compare comment-reduced and unreduced line counts.

12 years agoAdd a credit.
Eric S. Raymond [Wed, 3 Oct 2012 19:04:45 +0000 (15:04 -0400)]
Add a credit.