Cyrus Lopez
3aee8c2495
Fix IRC color code bug ( #24 )
...
* Fix IRC color bug preventing some color codes (e.g cyan) from formatting properly.
* Added a few color test cases to TestFormat.
2018-11-14 12:12:14 -05:00
Pete
102f17f863
Fix IsValidUser() ( #12 )
...
Fails while checking the first character of name if > J.
2018-04-27 12:00:07 -04:00
Liam Stanley
2e1546f204
spelling
2018-03-31 11:39:33 -04:00
Liam Stanley
7d8481950d
add support for znc ~ channel prefixes, and ? user prefixes
2017-11-30 10:44:25 -05:00
Liam Stanley
24ad31ae04
more tests; additional documentation
2017-11-30 10:36:11 -05:00
Liam Stanley
3fe51b12b7
fix: improperly lowercase chars when validating nicknames
...
the issue that this is resolving, is ToRFC1459 may turn some characters into ones which are not supported by the IRC protocol (e.g. caret to tilde). ToRFC1459 was supposed to only be used for comparison and low-level storage.
2017-11-30 10:28:15 -05:00
Liam Stanley
c2601da083
use rune literals for ease of reading
2017-11-30 10:23:52 -05:00
Liam Stanley
a20d84603a
Revert "Allow ^ in nick ( #9 )" ( #10 )
...
This reverts commit 373b4f1c01b812a91dd1b055a708fd4704bca0c7.
2017-11-30 10:05:10 -05:00
Wim
373b4f1c01
Allow ^ in nick ( #9 )
2017-11-29 18:48:21 -05:00
Liam Stanley
783298a3a4
additional return value consistency
2017-11-09 20:42:40 -05:00
Liam Stanley
8b36377ce4
add background color support (and stripping)
2017-11-05 15:28:00 -05:00
Liam Stanley
1f66c9ffec
rewrite state to support separate dataset for users
2017-07-04 01:29:22 -04:00
Liam Stanley
6c8215c842
Format -> Fmt, StripFormat -> TrimFmt
2017-06-07 06:35:02 -04:00
Liam Stanley
05d37d0840
utilize rfc1459 case mapping during comparisons
2017-02-21 23:16:29 -05:00
Liam Stanley
4ec34eb268
implement ToRFC1459(); implement Glob()
2017-02-21 22:53:52 -05:00
Liam Stanley
f50ede5a58
add additional noting in regards to channel id lengths and ISUPPORT
2017-02-07 06:28:35 -05:00
Liam Stanley
ba03de710d
update copyright to remove year
2017-02-06 02:45:31 -05:00
Liam Stanley
714a315ef0
yay new year
2017-01-03 11:05:27 -05:00
Liam Stanley
f2ae68e9b7
change up how ascii irc code formatting is done
2016-12-26 03:05:18 -05:00
Liam Stanley
db18e4cde1
add example to Format()
2016-11-22 14:49:20 -05:00
Liam Stanley
b3a8d41f87
second time is the charm
2016-11-22 13:56:53 -05:00
Liam Stanley
de0f929ffb
better documentation padding?
2016-11-22 13:55:01 -05:00
Liam Stanley
626f40e894
add doc about unicode codepoints and channel names
2016-11-22 10:18:19 -05:00
Liam Stanley
b666163985
implement IsValidUser()
2016-11-22 10:01:44 -05:00
Liam Stanley
525a5fdb4a
NOTES
2016-11-22 00:28:33 -05:00
Liam Stanley
754c0c6a77
additional unit tests and refactoring
2016-11-21 23:35:51 -05:00
Liam Stanley
758fa7094f
add Format(), StripFormat(), and StripColors()
2016-11-20 23:19:39 -05:00