Commit Graph

26 Commits

Author SHA1 Message Date
Shiz 64ecd5a991 Add IRCv3.3 message-tags support. 2016-10-20 05:27:11 +02:00
Shiz 64c2fea503 Bump Python requirement up to 3.4 and clean up imports. 2016-10-20 03:51:16 +02:00
Harmon 450ed75806 Correct basic usage example 2016-10-19 06:41:29 -05:00
Shiz 21b9ae138c Fix some false advertising. 2016-10-19 05:56:37 +02:00
Shiz db6cdfbe33 Complete initial asyncio port. Throttle is subject to reimplementation. 2016-10-18 21:54:47 +02:00
Shiz 2b0bf4ca96 Add IRCv3.2 metadata support. 2015-05-02 21:15:01 +02:00
Shizmob b76967dc77 Add documentation link to README. 2014-07-31 00:38:58 +02:00
Shiz 7107674ec3 Merge upstream. 2014-07-31 00:12:38 +02:00
Shiz a092b9508d Shorten README in favour of documentation. 2014-07-31 00:10:51 +02:00
Stefan b5f6c7c68c Update IRCv3 links and fix a broken link 2014-07-16 22:51:34 +02:00
Shiz 9c6d63f33f Fix typo in README. 2014-03-08 18:45:23 +01:00
Shiz 30daca8457 Update ClientPool to work with the asynchronous changes.
This closes #21.
2014-02-22 20:57:32 +01:00
Shiz 76ccc35bb8 Change ClientPool API to reflect future changes. 2014-02-21 19:10:38 +01:00
Shiz a47bbb8e23 Improve API structure documentation. 2014-02-21 19:08:02 +01:00
Shiz 9b4242df77 Restate advantages in README.
Source code size isn't really that much of an issue when it is
well-organized, and I honestly can't be bothered updating the number
everytime something changes. It's mostly a subjective advantage anyway.
2014-02-21 18:35:46 +01:00
Shiz f223f15575 Refactor ping timeout handler to not send client PINGs.
Instead rely on the server to send PING commands, in accordance with
RFC1459.
2014-02-21 18:29:58 +01:00
Shiz 3371fb49c9 Change disconnect() to disconnect(expected=True), remove _has_quit. 2014-02-21 18:25:05 +01:00
Shiz da4fe7a250 Added kick API. 2014-02-21 04:51:28 +01:00
Shiz 8439d2d24b Update documentation on recent changes. 2014-02-20 01:51:28 +01:00
Shiz 24228b68fb Move password connection parameter to features.rfc1459. 2014-02-10 02:47:49 +01:00
Shiz 0b3278723b Update README to reflect codebase changes. 2014-02-10 02:47:49 +01:00
Shiz 8c6cb164ff Seperate base RFC1459 functionality into feature.
This moves pretty much all RFC1459-dependent code into
`pydle.features.rfc1459`. `pydle.features.ircv3_1` and
`pydle.features.ircv3_2` have also been reorganized.
2014-02-10 02:47:28 +01:00
Shiz ae9d2bad8a Refactor IRC message parsing into extensible architecture.
Instead of having a single monolithic function in the pydle.protocol
module parse messages, there will now be a protocol.Message class
features can extend from to add functionality to the parser.
Consequently, all internal callbacks have been changed to take messages
as arguments instead of a collection of metadata about the messages.

A message object should provide the following API:
- __init__(command, parameters, **kwargs): create a message.
- (static) parse(line, encoding='utf-8'): parse a line into a message.
  Should return a message instance or raise protocol.ProtocolViolation
  on error.
- construct(): turn message into a raw IRC line ready to send to the
  server.

pydle.Connection has new APIs to deal with differing message classes.
2014-02-02 16:26:03 +01:00
Shiz f859455d55 Add documentation for pydle.featurize. 2014-01-23 03:00:16 +01:00
Shiz d09e466861 Fix outdated README statements. 2014-01-23 02:50:52 +01:00
Shiz 0fc2391f7a Initial import. 2014-01-23 02:44:19 +01:00