Commit Graph

  • 21d7eac17a
    Merge a4455cb268 into 859fa20862 #7 alicetries 2022-04-22 15:19:39 +0000
  • a4455cb268
    Minor tweak to the __repr__ of tags #7 alicetries 2022-04-22 16:19:28 +0100
  • 42aff0c793
    Merge 717dabbc40 into 859fa20862 #6 A_D 2022-01-30 20:14:31 +0200
  • 717dabbc40
    format with isort and black #6 A_D 2022-01-30 20:14:08 +0200
  • abe0af47d6
    use 3.10 annotations, remove object subclass #5 A_D 2022-01-30 17:42:23 +0200
  • 0b83008cdf
    use 3.10 (3.7 compatible) annotations A_D 2022-01-30 17:40:06 +0200
  • 6f98dd38b3
    use dataclass for hostmask A_D 2022-01-30 17:38:21 +0200
  • 4331ef186e
    format with black A_D 2022-01-30 17:33:51 +0200
  • 41eee7e997
    use immutable types for constants A_D 2022-01-30 17:31:34 +0200
  • 0da5993823
    Add __all__ to silence private import warnings A_D 2022-01-30 17:30:40 +0200
  • 859fa20862 v2.0.2 release master v2.0.2 jesopo 2022-01-29 20:01:27 +0000
  • 14d38192cf truncate on \r and \n too jesopo 2022-01-28 17:27:48 +0000
  • 93f1079ae7 v2.0.1 release v2.0.1 jesopo 2022-01-12 17:58:11 +0000
  • d8fa394a30 unnecessary truthiness check jesopo 2022-01-02 23:50:18 +0000
  • 2094648a51 freenode is dead long live libera.chat jesopo 2021-05-24 17:26:37 +0000
  • 6a679c7650 superfluous old line jesopo 2020-10-01 22:00:21 +0000
  • 12322b97c6 v2.0.0 release v2.0.0 jesopo 2020-09-30 20:03:24 +0000
  • e2f7c1eb84 merge tokenise() and tokenise_b() - using Union[str,bytes] jesopo 2020-09-30 20:00:36 +0000
  • b9a2b6c1de raise ValueError when trying to tokenise without a command jesopo 2020-07-24 10:38:37 +0000
  • e0c97963df update README.md contact section to point to freenode jesopo 2020-07-10 12:08:29 +0100
  • ffae72afef v1.1.0 release v1.1.0 jesopo 2020-07-03 23:08:57 +0100
  • c84509618f split tokenise.py to line.py and hostmask.py, rename hostmask parse jesopo 2020-07-03 23:07:04 +0100
  • 0b13a2ca02 v1.0.2 release v1.0.2 jesopo 2020-06-07 20:01:25 +0100
  • 05be06a29c better test name for TokenTestNul jesopo 2020-05-15 16:46:01 +0100
  • 2a00fb8499 v1.0.1 release v1.0.1 jesopo 2020-05-15 16:44:40 +0100
  • 3cbc9f1bfb `line` -> `line_b` jesopo 2020-05-15 16:43:18 +0100
  • cbeb39628d truncate tokenisations at null byte jesopo 2020-05-15 16:40:34 +0100
  • f008177c04 v1.0.0 release v1.0.0 jesopo 2020-04-29 14:50:54 +0100
  • b0bea513bc v0.9.6 release v0.9.6 jesopo 2020-04-21 20:36:00 +0100
  • 4dbb84e5c0 __init__.py shouldn't need to import format() jesopo 2020-04-21 17:36:47 +0100
  • f1f6bb0d61 a better solution to cyclical imports jesopo 2020-04-21 17:23:37 +0100
  • c5ed9fb605 v0.9.5 release v0.9.5 jesopo 2020-04-19 14:10:30 +0100
  • 0ce64137af always decode tags as utf8, use fallbacks for rest of line jesopo 2020-04-19 14:08:33 +0100
  • 2145cd6fda v0.9.4 release v0.9.4 jesopo 2020-04-13 17:34:01 +0100
  • 554d9a25f5 add some object copy methods to Line jesopo 2020-04-13 11:35:14 +0100
  • cc97234011 v0.9.3 release v0.9.3 jesopo 2020-04-11 14:03:42 +0100
  • 5a15869653 "iso-8859" should be "iso-8859-1" but use "latin-1" because it's clearer jesopo 2020-04-11 14:01:49 +0100
  • b9065a2631 add contact info to README.md jesopo 2020-04-01 23:37:18 +0100
  • cddcc00610 split Line and Hostmask out to objects.py jesopo 2020-03-24 14:49:53 +0000
  • 78ecadce3d v0.9.2 release v0.9.2 jesopo 2020-03-24 14:35:11 +0000
  • ba7297c1d8 remove pyyaml from requirements.txt - just make it a travis thing jesopo 2020-03-24 14:32:20 +0000
  • 05aedf08ac hanging \ at the end of a tag value is now handled by the while loop jesopo 2020-03-23 18:24:04 +0000
  • c168ce00b5 add test cases for formatting from github:ircdocs/parser-tests jesopo 2020-03-23 16:59:56 +0000
  • 85e21c5421 empty last params should be colon-prepended jesopo 2020-03-23 16:59:32 +0000
  • 5b998e816f don't force formatted commands to uppercase jesopo 2020-03-23 16:58:56 +0000
  • e3a7af789b add pyyaml as a requirement.txt jesopo 2020-03-23 16:54:05 +0000
  • a3b55f6292 add test/parser_tests.py, from github:ircdocs/parser-tests jesopo 2020-03-23 16:48:47 +0000
  • 31ab81741e update tag tests for empty value being "", not None jesopo 2020-03-23 16:48:22 +0000
  • 2e1809e3d8 make tag unescaping progressive-lexer style jesopo 2020-03-23 16:47:33 +0000
  • 2c666a41e5 make missing tag values "", not None; it's simpler in code jesopo 2020-03-23 16:47:13 +0000
  • a76df71774 we should still catch :trailing if there's nothing after : jesopo 2020-03-23 16:26:21 +0000
  • a7974f9e98 v0.9.1 release jesopo 2020-03-23 13:16:03 +0000
  • 6fa62576a6 update license in setup.py jesopo 2020-03-23 13:14:57 +0000
  • 6eca107786 v0.9.0 release v0.9.0 jesopo 2020-03-23 13:11:14 +0000
  • c92cc9e805 change LICENSE from GPL-3.0 to MIT jesopo 2020-03-23 13:05:02 +0000
  • 4863d7ebee v0.8.0 release v0.8.0 jesopo 2020-03-15 19:48:02 +0000
  • 572c1e9b98 change Hostmask __init__, move tokenisation to Hostmask.from_source( jesopo 2020-03-15 19:46:33 +0000
  • 17b5fb124d remove extraneous comma in setup.py jesopo 2020-03-12 16:44:25 +0000
  • e0572f5bed v0.7.2 release v0.7.2 jesopo 2020-03-12 15:30:58 +0000
  • 37bd2abdc5 add py.typed to indicate irctokens supports typehints jesopo 2020-03-12 15:29:44 +0000
  • 89a2a6c131 replace irctokens.format() with irctokens.build().format() jesopo 2020-03-12 13:53:10 +0000
  • 6370dbb90d v0.7.1 release v0.7.1 jesopo 2020-03-12 08:35:10 +0000
  • 27058522b8 non-last params can't start with colon, support last param starting with colon jesopo 2020-03-12 08:28:44 +0000
  • 3ae207aa05 lone backslashes at the end of escaped tag values should be removed jesopo 2020-03-11 23:56:53 +0000
  • fd9773efcb v0.7.0 release v0.7.0 jesopo 2020-03-11 23:40:35 +0000
  • 38b98a15e3 don't gracefully handle spaces in non-last param, throw ValueError jesopo 2020-03-11 23:38:36 +0000
  • e523f03d4f prevent tag replacements overlapping each other jesopo 2020-03-11 23:32:52 +0000
  • a82105e09f gracefully handle spaces in non-last params (split them) jesopo 2020-03-11 23:05:11 +0000
  • e41a58842b don't try to parse Line.source from Line.hostmask when it is None jesopo 2020-03-11 22:57:18 +0000
  • 170474684f Added test case for passing None to Hostmask #2 aewens 2020-03-11 17:45:42 -0500
  • e11805da27 Fixes bug if the source field is None and passed to Hostmask aewens 2020-03-11 17:41:12 -0500
  • c52c4143ce v0.6.3 release v0.6.3 jesopo 2020-03-11 22:12:33 +0000
  • 564dec73b6 use fstring repr (!r) for Hostmask and Line __repr__s jesopo 2020-03-11 22:10:01 +0000
  • 0a7d0fa173 remove `hostmasks` section of README.md; it's mostly covered in `tokenisation` jesopo 2020-03-11 22:04:01 +0000
  • eaf4c70db6 v0.6.2 release v0.6.2 jesopo 2020-03-11 21:57:57 +0000
  • 407652de32 add `pip3 freeze` to .travis.yml's `script` section jesopo 2020-03-11 21:45:38 +0000
  • 91648986c8 use "from typing import x" jesopo 2020-03-11 21:45:26 +0000
  • 6cb454b755 v0.6.1 release v0.6.1 jesopo 2020-03-11 21:34:22 +0000
  • 8e49ab9a14 fstrings, not modulo formatting jesopo 2020-03-11 21:32:26 +0000
  • 410ce64ae9 don't use [] (mutable) for func arg default values jesopo 2020-03-11 21:32:07 +0000
  • 07da840925 remove python "nightly" build target from .travis.yml (not meant to be reliable) jesopo 2020-03-11 21:31:19 +0000
  • 18c921d02a v0.6.0 release v0.6.0 jesopo 2020-03-11 20:27:10 +0000
  • 9e5afb9f16 add __repr__ to Line jesopo 2020-03-11 20:25:18 +0000
  • f1a1079873 add __repr__ to Hostmask jesopo 2020-03-11 20:22:44 +0000
  • 9cd39ddcdc add Line.hostmask property to lazy-parse .source in to a Hostmask jesopo 2020-03-11 20:17:56 +0000
  • 23c92967c4 v0.5.1 release v0.5.1 jesopo 2020-03-11 18:11:24 +0000
  • 2d30d67a36 improve tokenisation in README.md, add Hostmask to README.md jesopo 2020-03-11 18:10:43 +0000
  • c545cc77e2 v0.5.0 release v0.5.0 jesopo 2020-03-11 18:08:34 +0000
  • 2bc35c57f7 add hostmask parsing (irctokens.Hostmask("n!u@h")) jesopo 2020-03-11 18:04:50 +0000
  • 89cc0a3061 v0.4.3 release v0.4.3 jesopo 2020-03-11 17:44:01 +0000
  • 7fdb69cfcd put NICK const in the right command (NICK, not USER) jesopo 2020-03-11 17:43:10 +0000
  • cdec941dd7 v0.4.2 release v0.4.2 jesopo 2020-03-11 17:40:19 +0000
  • 86fad88f92 allow suppling encoding to StatefulEncoder and StatefulDecoder (and tests!) jesopo 2020-03-11 17:38:30 +0000
  • 09087d63d6 v0.4.1 release v0.4.1 jesopo 2020-03-11 17:14:24 +0000
  • 36225abd0c fix test/stateful_encode.py typos jesopo 2020-03-11 17:13:10 +0000
  • 8630c63f46 StatefulEncoder._buffer is a bytes object jesopo 2020-03-11 17:12:49 +0000
  • 11834debff inclde test/stateful_encode.py in test/__init__.py jesopo 2020-03-11 17:11:00 +0000
  • 53d056c3e0 add .clear() to StatefulDecoder too (and tests for .clear() on both statefuls) jesopo 2020-03-11 17:09:54 +0000
  • 4b9ff45921 remove superfluous spaces jesopo 2020-03-11 17:04:58 +0000
  • e5001ccb9c
    Adds the ability to easily reset the encoder #1 Austin Ewens 2020-03-11 11:54:46 -0500