Hiltjo Posthuma
acbc72748d
LICENSE: bump license year
2022-09-02 11:35:15 +02:00
Hiltjo Posthuma
2d0480ce81
ii.1: improve documentation of usage options
...
* Also improve the order of options and consistency with the usage in ii.c.
* Remove some redundant sections.
Adapted from a patch by Petr Vaněk <arkamar@atlas.cz>, thanks!
2022-09-02 11:33:46 +02:00
Tom Schwindl
71c1e50da0
ii: Add a die() function to replace fprintf(3) + exit(3) calls
2022-08-12 09:10:20 +02:00
Hiltjo Posthuma
01537d014b
bump version to 1.9
2022-01-07 12:37:48 +01:00
Christoph Lohmann
cfb3464c6e
Reduce effective buffer size per channel input.
...
This will curb the easy way to trigger a too long line sent to the
server and prevent this error and connection drop.
2021-12-25 12:12:54 +01:00
Christoph Lohmann
d9be11ad05
Increase ping timeout for bad connections.
2021-12-25 12:10:10 +01:00
Hiltjo Posthuma
ecf390259c
ewritestr: Remove duplicate shift of offset
...
Patch by mizmar@protonmail.com , thanks.
2020-07-05 22:32:13 +02:00
David Demelier
49e239fbb1
remove useless c->next = NULL
2020-01-17 14:55:06 +01:00
Hiltjo Posthuma
a192aa3113
minor style fix for ARGEND
...
see:
https://9fans.github.io/plan9port/man/man3/arg.html
2019-12-16 18:28:10 +01:00
Hiltjo Posthuma
1411224b16
fix undefined behaviour of use of isalpha, isdigit and tolower
...
"The argument c must be EOF or representable as an unsigned char;
otherwise, the result is undefined."
2019-12-16 18:26:01 +01:00
Michael Forney
bf06f14188
Fix traversal of addrinfo list
...
Although the loop is executed once for every result, in each iteration
it connects to the first result.
2019-05-26 15:38:52 +02:00
Hiltjo Posthuma
dfecb5c0f4
fix typo in NOTICE messages
2019-02-12 18:14:18 +01:00
Hiltjo Posthuma
b25423f765
check input length before reading
...
thanks halbeno and quinq for the patches and feedback.
2018-07-23 21:42:59 +02:00
Quentin Rameau
51cb204eb2
Add a config option to link against system or shipped strlcpy
2018-06-02 14:25:28 +02:00
Quentin Rameau
e32415744c
Refactor Makefile
...
Declare it as POSIX-compliant
Use $() instead of ${}
Separate stock CFLAGS from user CFLAGS
2018-06-02 14:25:15 +02:00
Hiltjo Posthuma
25ee995ead
fix typo in comment
...
pointed out by halbeno
2018-05-22 08:43:32 +02:00
David Demelier
804cb72666
Remove .hgtags
2018-05-10 11:25:54 +02:00
Hiltjo Posthuma
9288de6126
bump version to 1.8
2018-02-04 14:11:39 +01:00
Quentin Rameau
95963c46eb
Makefile: add a dependency on arg.h
2017-12-03 22:34:14 +01:00
Quentin Rameau
fd867aebd1
Fix arg.h
2017-12-03 22:34:14 +01:00
Hiltjo Posthuma
31b2445000
don't modify argv, use a counter
...
on some platforms (OpenBSD) this changes the exposed argv in tools
using the kvm_* interface, such as ps and pgrep.
2017-11-18 12:35:33 +01:00
Hiltjo Posthuma
0fedff44e3
Makefile: simplify
2017-11-18 12:28:30 +01:00
Hiltjo Posthuma
bb1e5569d0
allow some more characters in the channel name
2017-07-09 12:28:08 +02:00
Hiltjo Posthuma
704ab925e9
merge my changes to master
...
Special thanks to:
- Wolfgang Corcoran-Mathe for sending patches and testing.
- Nico Golde for maintaining ii for so long.
2017-06-02 09:54:54 +02:00
Nico Golde
714bd0cb6a
define EXIT_TIMEOUT and use that on ping timeouts. thanks Evan Gates for the idea!
2016-10-13 15:21:47 -07:00
Nico Golde
f8f3a096bc
errm eprint isnt declared here. thanks Ali H. Fardan
2016-09-07 21:17:12 +02:00
Nico Golde
584290f264
use pledge by default if compiled on openbsc and provide errno string
2016-09-06 19:58:28 +02:00
Nico Golde
a4434536cd
fix double backslash
2016-09-02 18:43:08 +02:00
Nico Golde
18580a159f
add OpenBSD pledge support - thanks Gleydson Soares
2016-09-02 16:13:43 +02:00
Vasily Kolobkov
f79e2f0953
Fix channel use after freeing in main loop
...
Signed-off-by: Nico Golde <nico@ngolde.de>
2016-02-24 23:02:19 +01:00
Vasily Kolobkov
165638e3c8
Check up on server messages
...
Signed-off-by: Nico Golde <nico@ngolde.de>
2016-02-24 23:02:13 +01:00
Nico Golde
1bc3e103c0
prevent nick collisions by only setting the nick after the server accepted it and print a message about change to server log
2015-11-04 19:35:23 -05:00
Nico Golde
29ff454e80
remove duplicate word, thanks Michael Stevens!
2015-11-04 19:35:20 -05:00
Nico Golde
63b5736e6e
use _POSIX_PIPE_BUF if PIPE_BUF is not defined (as on FreeBSD); thanks Gleydson Soares!
2015-03-22 13:37:53 +01:00
Nico Golde
41ce43bf8c
add gitignore
2013-10-12 10:34:32 +02:00
Nico Golde
28feb9a40e
fix "typo" in manpage, thanks Enrique Garbi
2013-04-25 09:00:54 +02:00
Nico Golde
76e6ff5a4b
1.7 release
2013-01-05 14:26:47 +01:00
Nico Golde
7a99152ce6
add respective header for select and not implicitely include it
2012-08-14 11:57:30 +02:00
Nico Golde
aed65ee703
convert slashes to , rather than _ in channel names. , is not allowed by the RFC, _ is.
2012-07-03 17:43:56 +02:00
Nico Golde
a5a7d1b376
fix parsing of JOIN messages for certain servers, thanks van Kanakarakis
2012-06-28 15:41:57 +02:00
Nico Golde
9a0ea4ada1
mark 1.7 as the next release version
2012-06-16 17:00:51 +02:00
Nico Golde
c68beccf59
-k now points to an environment variable containing the password
2012-06-16 17:00:31 +02:00
Nico Golde
2bcd27c9e8
a little cleanup by Connor Lane Smith, thanks!
2011-10-31 21:35:12 +01:00
Nico Golde
6e0a38ee6c
Added tag 1.6 for changeset f09f802a8037
2011-01-31 21:47:02 +01:00
Nico Golde
7c22981790
update CHANGES and makefile config for 1.6
2011-01-31 21:47:00 +01:00
Nico Golde
542bc7b5bf
restructuring to stay under 500 lines ;) fix regression from 1.5 on handling unknown commands
2011-01-31 21:45:52 +01:00
Nico Golde
b156bc96f2
Added tag 1.5 for changeset 550ee1100719
2011-01-24 17:52:38 +01:00
Nico Golde
beb4661381
document implication of autojoin patch and now tag 1.5 for real :)
2011-01-24 17:52:35 +01:00
Nico Golde
85c6300bfb
Added tag 1.5 for changeset 6f504f412a59
2011-01-24 16:52:15 +01:00
Nico Golde
ab9c9b7aa0
add changelog entry about autojoin patch
2011-01-24 16:51:58 +01:00