4
0
mirror of https://github.com/jesopo/irctokens synced 2024-06-18 22:07:05 +00:00
Commit Graph

42 Commits

Author SHA1 Message Date
jesopo
09087d63d6 v0.4.1 release 2020-03-11 17:14:24 +00:00
jesopo
36225abd0c fix test/stateful_encode.py typos 2020-03-11 17:13:10 +00:00
jesopo
8630c63f46 StatefulEncoder._buffer is a bytes object 2020-03-11 17:12:49 +00:00
jesopo
11834debff inclde test/stateful_encode.py in test/__init__.py 2020-03-11 17:11:38 +00:00
jesopo
53d056c3e0 add .clear() to StatefulDecoder too (and tests for .clear() on both statefuls) 2020-03-11 17:09:54 +00:00
jesopo
4b9ff45921 remove superfluous spaces 2020-03-11 17:04:58 +00:00
Austin Ewens
e5001ccb9c
Adds the ability to easily reset the encoder
The initialize function is also refactored to use the clear function to reduce code duplication as they would be doing the same thing.
2020-03-11 11:54:46 -05:00
jesopo
0c9e0a8f07 v0.4.0 release 2020-03-11 16:43:14 +00:00
jesopo
22be792bc0 remove StatefulEncoder.push() return type 2020-03-11 16:31:26 +00:00
jesopo
8773240c0c return Line objects successfully sent with StatefulEncoder.pop() 2020-03-11 16:30:44 +00:00
jesopo
2d639d561c add pip3 installation instructions to README.md 2020-03-11 15:30:46 +00:00
jesopo
b1782a581a v0.3.0 release 2020-03-11 15:19:14 +00:00
jesopo
49d2e78475 add a stateful encoder (irctokens.StatefulEncoder()) 2020-03-11 15:17:17 +00:00
jesopo
3cdc163b87 StatefulDecoder.push() should return None when given b"" (disconnect) 2020-03-11 15:16:49 +00:00
jesopo
949b10945e implement a stateful decoder (irctokens.StatefulDecoder()) 2020-03-11 14:50:31 +00:00
jesopo
934a901ba1 v0.2.2 release 2020-03-11 14:37:31 +00:00
jesopo
c41f9fb338 fix setup.py minimum python version (fstrings needs 3.6) 2020-03-11 14:15:21 +00:00
jesopo
2dce57f365 add test.format to .travis.yml 2020-03-11 14:07:19 +00:00
jesopo
fab5fe7c27 v0.2.1 release 2020-03-11 13:56:13 +00:00
jesopo
3be769be8c fix README.md "import sockets" typo 2020-03-11 13:55:41 +00:00
jesopo
8bc034241f 0.2.0 release 2020-03-11 13:52:33 +00:00
jesopo
47e506289f add formatting examples to README.md 2020-03-11 13:51:08 +00:00
jesopo
c98bb87993 fix _escape_tag typehint issue 2020-03-11 13:44:44 +00:00
jesopo
33716efc22 add tests for Line formatting 2020-03-11 13:43:13 +00:00
jesopo
cc8ebbe790 remove __name__==__main__ in test.tokenise 2020-03-11 13:42:57 +00:00
jesopo
07836f98d4 add code to serialise/format Line objects 2020-03-11 13:42:23 +00:00
jesopo
c1c6bcaef6 add travis build status badge to README.md 2020-03-11 12:43:24 +00:00
jesopo
2a43fcc892 add comments for example output to README.md 2020-03-11 12:39:22 +00:00
jesopo
55bc793e68 v0.1.0 release 2020-03-11 12:36:05 +00:00
jesopo
3706d55133 add pypi setup.py file 2020-03-11 12:35:52 +00:00
jesopo
f49e74e963 add VERSION file 2020-03-11 12:35:42 +00:00
jesopo
7bb0200459 change mypy in .travis.py to point to new package 2020-03-11 12:22:39 +00:00
jesopo
972a1a3632 make tests.py a package 2020-03-11 12:21:11 +00:00
jesopo
dad9b4a268 make irctokens a __init__.py package 2020-03-11 12:20:26 +00:00
jesopo
90faf18a88 add test for tag unescaping 2020-03-11 12:15:31 +00:00
jesopo
ce91613367 tag escaping was reversed 2020-03-11 12:15:15 +00:00
jesopo
2675820914 add tests.py and call it from .travis.yml 2020-03-11 12:07:01 +00:00
jesopo
7c20ceb1e2 make missing tag value None instead of empty string 2020-03-11 12:06:40 +00:00
jesopo
88d148c6be add .travis.yml 2020-03-11 11:41:40 +00:00
jesopo
f508f5bf1b less tricksy handling of :trailing params 2020-03-11 11:34:29 +00:00
jesopo
ee96facb35 add irctokens.py and README.md 2020-03-11 11:32:06 +00:00
jesopo
afda8d4b21
Initial commit 2020-03-11 11:26:13 +00:00