Commit Graph

418 Commits

Author SHA1 Message Date
Shiz a7053805cf Merge branch 'asyncio' 2018-12-23 18:56:54 +01:00
Shiz c5485195f6 Port pydle.utils.run to asyncio. 2018-12-23 18:54:55 +01:00
Shiz 1934064ddb
Merge pull request #79 from theunkn0wn1/pydle-2
Enable support for Python 3.7
2018-12-23 17:54:20 +00:00
Orion (Theunkn0wn1) d4b336d46e
Version bump 2018-12-22 13:26:01 -08:00
Orion (Theunkn0wn1) dba843f022
Re-added `pydle.Future` and `pydle.coroutine`
- just forward-references to asyncio
2018-12-22 13:25:34 -08:00
theunkn0wn1 3e1aa27a1f
Fixed instance where the Pydle constructor would create a new event loop when it is not supposed to.
`asyncio.get_event_loop` returns a new loop if one does not
already exist.

If one does exist, (eg the constructor is ran in an async context) it will use that instead
2018-09-26 16:56:48 -07:00
Shiz 801d9e8843 Merge branch 'asyncio' 2018-09-10 23:09:33 +02:00
theunkn0wn1 b77df2e79c
#2 fix up irccat example 2018-07-24 10:25:50 -07:00
theunkn0wn1 59f9b32b70
#2 fixed some missed SASL timers 2018-07-24 10:25:26 -07:00
theunkn0wn1 b20b8eab4c
#2 Fixed SASL timer
- apparently i missed a spot :x
2018-07-23 19:06:47 -07:00
theunkn0wn1 e5ff726e8e
#2 Fixed BasicClient._on_preform_ping_timeout never being awaited 2018-07-23 18:32:47 -07:00
theunkn0wn1 21089cb648
#2 fixed BasicClient.run() 2018-07-23 17:37:07 -07:00
theunkn0wn1 c83ec9de32
#2 re-enable support for the Pool.
- this method is somewhat hacky, but is how it was originally
 implemented: all clients running in one event loop.
2018-07-23 17:15:31 -07:00
theunkn0wn1 68bcbf4dc2
#2 resolved `async` reference 2018-07-23 15:36:47 -07:00
theunkn0wn1 cf84aa9a24
#2 fixed up connection code.
eventloop.connect -> asyncio.open_connection(loop=self.eventloop,...)
2018-07-23 15:36:26 -07:00
theunkn0wn1 65aab3fda0
#2 eventloop.schedule_async -> asyncio.ensure_future 2018-07-23 15:35:34 -07:00
theunkn0wn1 9a270e43a9
#2 Ok, this method needs to be a generator based coro 2018-07-23 15:34:15 -07:00
theunkn0wn1 d13e7a3aa3
#2 added missing await in `rfc1459/client` 2018-07-23 15:33:39 -07:00
theunkn0wn1 4de13f7d44
#2 resolved lingering `async` import 2018-07-23 15:33:00 -07:00
theunkn0wn1 f9748dbff3
#2 removed `async` references in `ircv3/sasl` 2018-07-23 14:00:33 -07:00
theunkn0wn1 5fc51ea5f5
#2 remove `async` references from `ircv3/monitor`
- this ignores the unresolved reference errors
2018-07-23 13:59:47 -07:00
theunkn0wn1 dc5e59a3d1
#2 removed `async` references from `ircv3/metadata` 2018-07-23 13:58:20 -07:00
theunkn0wn1 217ed11037
#2 remove `async` reference from `ircv3/ircv3_3` 2018-07-23 13:57:27 -07:00
theunkn0wn1 b6381611f6
#2 remove `async` references from `ircv3/ircv3_2` 2018-07-23 13:56:34 -07:00
theunkn0wn1 8bef8b6890
#2 removed `async` references in `irv3/ircv3_1` 2018-07-23 13:55:42 -07:00
theunkn0wn1 471fce4b24
#2 removed `async` references in `ircv3/cap` 2018-07-23 13:54:32 -07:00
theunkn0wn1 2e15894c35
#2 remove references to `async` in `whox` 2018-07-23 13:51:14 -07:00
theunkn0wn1 289c8d8f66
#2 remove `async` references in `tls` 2018-07-23 13:50:17 -07:00
theunkn0wn1 9d4dea6bc2
#2 remove `async` references in `isupport` 2018-07-23 13:48:50 -07:00
theunkn0wn1 35b4a96169
#2 remove references to `async` in `ctcp`, reimplemented as native coros
- this ignores the runtime errors, those will be corrected later
2018-07-23 13:47:02 -07:00
theunkn0wn1 b613580e36
#2 Upgrade pydle/connection to modern language
- also applied a pep8 reformatting pass
2018-07-23 13:14:27 -07:00
theunkn0wn1 380dc1c6f0
pydle-2 Ugraded features/account to modern language 2018-07-22 22:30:24 -07:00
theunkn0wn1 0855d8e377
pydle-2 upgraded `client` to use modern language 2018-07-22 22:29:53 -07:00
theunkn0wn1 7b7a048e0b
pydle-2 Convert rfc1459 client.py to modern async def
- all `yield from` expressions replaced with `await`
 - all `@async.coroutine` expressions replaced with `async def` in
    function definition
2018-07-22 21:23:59 -07:00
theunkn0wn1 d7e16d1712
pydle-2 deleted async.py BREAKING CHANGE
- TODO : fix all the errors this caused
2018-07-22 21:23:45 -07:00
Shiz 3c1a6d11e9 pydle v0.8.4 2018-06-29 02:04:19 +02:00
Shiz 9c5c4b87d3 Update Tornado depencency to <5.0 for now.
Fixes #71.
2018-03-14 05:05:44 +01:00
rfw 60ede96669 Normalize everything related to whois/whowas. 2017-11-15 20:14:29 -08:00
rfw 60aa715324
Merge pull request #67 from bigfoot547/normalize
Normalize pending whois/was data
2017-11-13 21:12:22 -08:00
bigfoot547 848a831d24
Normalize the pending whois/was data 2017-11-13 23:15:29 -06:00
rfw caa5cc51fc
Fix typo where self.channels was using the self.users dict. 2017-11-13 00:36:19 -08:00
Shiz c944a151c0 Merge pull request #64 from Yay295/patch-1
use MyClient instead of pydle.Client
2017-07-26 02:59:06 +02:00
rfw 4eb5075d42 Clean up patch. 2017-07-13 01:08:33 -07:00
rfw 77779e2d8a Merge pull request #62 from shakedunay/v0.8.3-reconnect-fix
reconnect-fix
2017-07-13 01:07:29 -07:00
Yay295 f9e0761530 use MyClient instead of pydle.Client 2017-06-11 13:09:22 -05:00
Shaked Dunay dada4e5c21 reconnect-fix 2017-01-01 22:57:35 +02:00
Shiz 72efad2790 pydle v0.8.3 2016-12-20 17:26:42 +01:00
Harmon 00913c5f2d Fix minimal line separator reference in parse 2016-12-20 17:26:11 +01:00
Shiz b9517071e4 Merge pull request #60 from Harmon758/fix-parse-bug
Fix minimal line separator reference in parse
2016-12-20 17:24:54 +01:00
Harmon 34babd0c29 Fix minimal line separator reference in parse 2016-11-15 05:24:29 -06:00