Shiz
f0a7425d73
Sorry Yuki`N.
2014-02-17 10:59:47 +01:00
Shiz
b2cd886673
Robustify socket.send and clean up pydle.connection comments.
2014-02-17 00:39:43 +01:00
Shiz
fa939e2f79
Rename NormalizedDict to NormalizingDict.
2014-02-16 19:58:39 +01:00
Shiz
a94501a747
Make users and channel dictionary normalize key entries.
2014-02-16 18:53:18 +01:00
Shiz
9e35d669e6
Fix typo.
2014-02-16 12:05:58 +01:00
Shiz
65fc70002e
Merge branch 'master' of github:Shizmob/pydle
2014-02-16 12:03:49 +01:00
Shiz
59c8aae554
Don't add MSG_NOSIGNAL flag to send() on TLS sockets.
2014-02-16 12:03:18 +01:00
Tony Young
43ff37f668
Merge branch 'master' of github.com:Shizmob/pydle
2014-02-16 19:03:23 +13:00
Tony Young
e30cc7fd2d
Correctly reschedule periodic tasks.
2014-02-16 19:02:37 +13:00
Shiz
0693b1bb41
Convert input time properly in callback scheduling.
2014-02-16 03:04:50 +01:00
Shiz
71684ba0bd
Repeat previous mistakes.
2014-02-16 01:55:04 +01:00
Shiz
ea6d567dc8
Hi what are ints and why do I call them
2014-02-16 01:53:43 +01:00
Shiz
dcdba865bb
Hi what are functions and how do I call them
2014-02-16 01:52:33 +01:00
Shiz
44f094760e
Make SASL use delayed scheduling instead of threading.Timer.
2014-02-16 01:50:25 +01:00
Shiz
1b7a0c3e82
Make EventLoop scheduling return a handle to unschedule the call.
2014-02-16 01:47:05 +01:00
Shiz
f610946207
Handle socket.send()/socket.recv() errors more robustly.
...
Also handle errors the ssl module throws at us.
2014-02-16 01:31:29 +01:00
Shiz
8703890b06
Make socket.send() not raise a SIGPIPE.
2014-02-16 01:30:28 +01:00
Shiz
86d532f618
Replace _periodical_handler with something that reminds less of menstrual cycles.
2014-02-16 01:09:22 +01:00
Shiz
5d899ac14b
Attempt to make socket operations more robust.
...
Especially in TLS contexts, even if the underlying I/O subsystem says
there is data available for reading/writing, there can be actually not
enough available due packet encapsulation. Handle this by bailing out.
2014-02-16 00:30:49 +01:00
Shiz
0a31f7876f
Record features.rfc1459, features.ircv3_1, features.ircv3_2 packages in setup.py
2014-02-15 23:12:25 +01:00
Shiz
81648f71f8
Disable STARTTLS for the moment due lack of testing.
2014-02-15 23:02:10 +01:00
Shiz
3b0b52d951
Improve WHOIS nickname checking explanation.
2014-02-15 15:33:29 +01:00
Shiz
a096d12190
Merge branch 'master' of github:Shizmob/pydle
2014-02-15 15:31:53 +01:00
Shiz
19510bde36
Improve WHOIS identified documentation.
2014-02-15 15:31:49 +01:00
Tony Young
5a5ce18798
Use protocol.ARGUMENT_SEPARATOR.search instead of checking for spaces.
2014-02-16 03:06:11 +13:00
Tony Young
2d81f29f8e
Add wordy comment for space checking in nicknames for WHOIS.
2014-02-16 03:04:59 +13:00
Tony Young
6b6a1e2ff1
If a nickname contains a space, then the WHOIS result should just be None.
...
Of course, this won't work great on Rizon where the stupi^Wbrilliant
network administrators put spaces in their nicknames...
2014-02-16 02:26:04 +13:00
Shiz
32b6df4ae1
Implement yielding on tuples for parallel futures. Rename async.blocking to async.coroutine.
2014-02-14 23:51:46 +01:00
Tony Young
6774dddb6d
Throw Future exceptions back into generators.
...
ring ring witteruimte politie
2014-02-15 00:00:30 +13:00
Tony Young
04c63a905b
Merge branch 'master' of github.com:Shizmob/pydle
2014-02-14 23:28:13 +13:00
Tony Young
b40136c1cc
Add support for the 307 and 330 numerics.
2014-02-14 23:27:35 +13:00
Shiz
3ad0c26de2
Call strip() on raw channel names before splitting them.
2014-02-14 11:22:47 +01:00
Tony Young
1eee4385ed
Call lstrip() on raw channel names before splitting them.
2014-02-14 21:50:17 +13:00
Tony Young
444ab13087
Correctly handle trailing parameters that start with :.
...
ring ring nieuwelijn politei
2014-02-14 20:15:44 +13:00
Tony Young
f872ad5da9
Merge branch 'master' of github.com:Shizmob/pydle
2014-02-14 15:59:26 +13:00
Tony Young
112e5955d1
Merge branch 'async' of github.com:Shizmob/pydle into async
2014-02-14 15:59:08 +13:00
Tony Young
6d4de9fe7c
Add normalize function for RFC1459 client.
...
This will normalize strings using the client's case mapping.
2014-02-14 15:58:42 +13:00
Shiz
e57ce641c6
Add run_with/run_until to async.EventLoop, remove context management support.
2014-02-14 02:07:50 +01:00
Shiz
08dd05fc45
Revert "Run registration on connect in own loop."
...
This reverts commit 63a7409804
.
2014-02-14 02:06:10 +01:00
Shiz
63a7409804
Run registration on connect in own loop.
2014-02-14 01:39:16 +01:00
Shiz
56dbbd4041
Make functions with async.blocking return a future.
2014-02-14 00:54:52 +01:00
Shiz
65d329e9b5
Add async.parallel for multiple futures in parallel.
2014-02-14 00:12:32 +01:00
Shiz
836d99d67d
Merge branch 'async' of github:Shizmob/pydle into async
2014-02-13 23:41:41 +01:00
Shiz
b482187dcc
Fix parameter errors in WHOIS handlers.
2014-02-13 23:41:34 +01:00
Shiz
54eed86e11
Implement async.blocking natively.
2014-02-13 23:41:05 +01:00
Tony Young
2c7c8669c5
Fix argument parsing for 401 numeric.
...
also ring ring newline polizei
2014-02-14 11:33:43 +13:00
Shiz
04971acb85
Parse end of WHOIS list properly.
2014-02-13 22:50:20 +01:00
Shiz
2a8b84e7c3
Import stuff from pydle.async into toplevel.
2014-02-13 22:47:40 +01:00
Shiz
2967b0ef18
Fix WHOIS and WHOWAS.
2014-02-13 22:47:26 +01:00
Shiz
22d86682ae
Remove accidental double messages.
2014-02-13 18:56:48 +01:00