aboutsummaryrefslogtreecommitdiff
path: root/src/IRCLine.py
Commit message (Expand)AuthorAgeFilesLines
* remove old commentGravatar jesopo2020-08-261-1/+0
* we don't need +=1 for "new arg space" because we're pushing on an existing argGravatar jesopo2020-03-051-1/+0
* use codecs.iterencode() to generator-style iterate encoding a stringGravatar jesopo2020-03-031-3/+3
* rewrite command output truncationGravatar jesopo2020-03-031-30/+32
* add IRCLine.parse_human() to allow for "!raw /msg jesopo hello"Gravatar jesopo2019-11-271-0/+9
* add IRCArgs.append funcGravatar jesopo2019-11-081-0/+3
* Fix type errors detected by 'mypy --ignore-missing-imports src'.Gravatar Valentin Lorentz2019-10-301-2/+2
* move IRCLine related code from utils.irc to IRCLine.pyGravatar jesopo2019-10-271-1/+80
* `source` should have ':' appendedGravatar jesopo2019-07-281-1/+1
* don't silently truncate at newline in IRCLine.ParsedLine.truncate()Gravatar jesopo2019-07-151-2/+9
* Refactor EventManager to only hold hooks on a root objectGravatar jesopo2019-06-261-1/+1
* give every ParsedLine a uuid4 .id for tracking purposesGravatar jesopo2019-06-211-1/+2
* add `margin` arg to ParsedLine.truncate so commands/outs.py doesn't do it•••manually and cause potential issues with multi-byte chars Gravatar jesopo2019-06-191-4/+4
* `line_formatted` -> `valid` so tags don't cause us to subvert truncationGravatar jesopo2019-06-181-1/+1
* Tags should not be appended to `pieces` now that they're counted separatelyGravatar jesopo2019-06-181-1/+0
* add has_tag() and get_tag() to IRCLine.ParsedLineGravatar jesopo2019-06-181-0/+4
* message-tags count for a different character limit than the rest of the lineGravatar jesopo2019-06-181-5/+18
* Simplify SentLine by shifting truncation to ParsedLine (and commands.outs)Gravatar jesopo2019-06-181-39/+25
* Type annotate ParsedLine.tags, add ParsedLine.add_tag()Gravatar jesopo2019-06-161-1/+4
* Add `.assure()` to ParsedLine, to make it immune from `.valid()`Gravatar jesopo2019-06-101-0/+6
* Allow preprocess.send callbacks to request a line not be sent at allGravatar jesopo2019-06-101-0/+6
* message-tags are joined by ";", not ","Gravatar jesopo2019-06-061-1/+1
* message_tag_escape() message-tag values when .format()ing IRCLineGravatar jesopo2019-06-061-2/+3
* Give SentLine (and preproc.send events) a new event object, to track events•••related to a line after it is sent Gravatar jesopo2019-06-041-9/+3
* Only return definitely-writen lines from IRCSocket._send, refactor in prep for•••lines that request to be sent 'immediately' Gravatar jesopo2019-06-041-4/+5
* v1.8.0 releaseGravatar jesopo2019-06-031-4/+4
* add __str__ and __repr__ defs to IRCLine.ParsedLineGravatar jesopo2019-06-011-0/+5
* Immutable arg default values leads to weird data persistenceGravatar jesopo2019-05-301-1/+1
* Handle negative (end-relative) indexes being given to IRCArgs.getGravatar jesopo2019-03-081-1/+4
* Handle IRCArgs being empty strings (e.g. 'PRIVMSG #test :')Gravatar jesopo2019-03-081-1/+2
* Need to str() Hostmask objects in ParsedLine.format()Gravatar jesopo2019-02-281-1/+1
* Simplify ParsedLine._tag_str and ParsedLine.format()Gravatar jesopo2019-02-271-21/+18
* Critical security fix: truncate IRCLine.ParsedLine.format() at newlineGravatar jesopo2019-02-251-1/+1
* Rename IRCLine.Line to IRCLine.SentLine, for clarityGravatar jesopo2019-02-241-2/+2
* Make IRCArgs mutableGravatar jesopo2019-02-231-1/+3
* Move utils.irc.IRCParsedLine to IRCLine.ParsedLine, improve truncation•••mechanism, don't convert sent line from ParsedLine to text to ParsedLine for line_handler handling Gravatar jesopo2019-02-231-24/+109
* Actually return `str` object from IRCLine.__str__Gravatar jesopo2019-02-101-1/+1
* Add _char_limit return type hint, fix decoded_data return type hint•••(src/IRCLine.py) Gravatar jesopo2019-02-101-2/+2
* Import IRCServer in IRCLine so type hint comment is valid (src/IRCLine.py)Gravatar jesopo2019-02-101-1/+1
* Add a comment as to why IRCLine's LINE_CUTOFF is 470, not 510Gravatar jesopo2019-02-101-0/+1
* Change LINE_CUTOFF to 470, now that we compute max char counts (src/IRCLine.py)Gravatar jesopo2019-02-101-1/+1
* Let IRCLine.Line handle truncating command outputGravatar jesopo2019-02-101-4/+22
* Shift encoding/truncating IRC lines to src/IRCLine.pyGravatar jesopo2019-02-101-6/+14
* Return truncted data from encode_truncate and hold it in IRCLine.LineGravatar jesopo2019-02-101-1/+3
* IRCLine's `data` should be bytesGravatar jesopo2019-02-101-1/+1
* Add missing src/IRCLine.py fileGravatar jesopo2019-02-101-0/+20