Commit Graph

170 Commits

Author SHA1 Message Date
Sean Middleditch 0003f051d9 signedness warnings silence 2009-04-27 19:26:05 -04:00
Sean Middleditch a63ff7f427 minor formatting update 2009-04-03 01:27:06 -04:00
Sean Middleditch a25ee61f2b Merge branch '0.9' 2009-03-22 23:04:32 -04:00
Sean Middleditch eb950a89f0 added telnet_send_sb 2009-03-22 23:04:28 -04:00
Sean Middleditch ae39ceebd9 prep for 0.9 release 2009-03-22 22:47:30 -04:00
Sean Middleditch 8c11179961 minor cleanups 2009-03-22 22:44:38 -04:00
Sean Middleditch 94d67e864d expand list of RFCs 2009-03-22 22:38:02 -04:00
Sean Middleditch 8d50fe8373 document ttype/environ/new-environ/mssp 2009-03-22 22:35:17 -04:00
Sean Middleditch 2d5c499c36 support ttype/environ/new-environ/mssp parsing (using alloca; fixme?) 2009-03-22 22:21:42 -04:00
Sean Middleditch 1e80f52f80 grow the rfc1143 array by 4 elements instead of 1 2009-03-22 18:24:18 -04:00
Sean Middleditch b10946c96d dont use a separate event for ZMP 2009-03-22 18:21:14 -04:00
Sean Middleditch 53a86613c6 standards fix 2009-03-22 17:43:29 -04:00
Sean Middleditch 1887735b22 document ZMP functions 2009-03-22 16:57:44 -04:00
Sean Middleditch e22b4771c7 add ZMP send commands 2009-03-22 16:44:40 -04:00
Sean Middleditch 94738a4b85 Merge branch 'master' into zmp
Conflicts:
	libtelnet.c
2009-03-22 16:33:22 -04:00
Sean Middleditch bfc641efb1 clean up and document the telopt table stuff 2009-03-22 16:26:06 -04:00
Sean Middleditch f6daa8571e zmp fixes (great track record here, eh?) 2009-03-21 01:16:20 -04:00
Sean Middleditch 3f96c5cee8 another fix for compress handling 2009-03-21 01:11:46 -04:00
Sean Middleditch 8c5673535a fixes for compress handling 2009-03-21 01:07:18 -04:00
Sean Middleditch e5327da4f5 initial ZMP parsing support (experimental) 2009-03-21 00:54:50 -04:00
Sean Middleditch 0092336886 Merge branch 'master' into fix-negotiate 2009-03-21 00:30:56 -04:00
Sean Middleditch 1443ca494f fix function name 2009-03-21 00:21:04 -04:00
Sean Middleditch 34bb0998c7 require option table to fix negotiation "race" issie (experimental) 2009-03-21 00:20:44 -04:00
Sean Middleditch e2122b2653 add MSSP telopt code, add MCCP2 synonym, remove COMPRESS1 (as we do not at all support it) 2009-03-20 23:55:09 -04:00
Sean Middleditch 7491bf4511 cleanup rfc1143 code slightly 2009-03-20 23:52:18 -04:00
Sean Middleditch 2d5f4bfa9f change behavior of invalid IAC sequence inside subnegotiation to match BSD telnet implementation 2009-03-20 23:32:47 -04:00
Sean Middleditch 330c261562 _negotiate just uses state, simplifies things a bit; not (int) hack in switch to get gcc to shut up 2009-03-20 23:29:17 -04:00
Sean Middleditch 447d3ad9f8 will/wont states before do/wont, just like actual telnet codes and event numbers 2009-03-20 23:22:37 -04:00
Sean Middleditch b43c10c9ee minor cleanups 2009-03-20 23:21:02 -04:00
Sean Middleditch 4f0c37fc1b shorten the output function names to something more reasonable 2009-03-20 23:08:55 -04:00
Sean Middleditch 9b07e92022 gcc/c99 inline for small internal functions 2009-03-19 18:18:44 -04:00
Sean Middleditch b7bf8f3ce1 fix __GNUC__ macro test 2009-03-19 18:18:22 -04:00
Sean Middleditch 2cb166c889 remove empty case statements in RFC1143 code 2009-03-19 18:08:50 -04:00
Sean Middleditch 7894384d70 fix last commit 2009-03-19 15:22:06 -04:00
Sean Middleditch 90e79da676 remove telnet_send_telopt() as it has no real purpose and using it can have surprising results; added telnet_begin_subnegotiation and telnet_finish_subnegotiation 2009-03-19 15:17:13 -04:00
Sean Middleditch c0e9fcd165 COMPRESS2 support for chatd 2009-03-19 15:16:32 -04:00
Sean Middleditch f713302661 send events for option state changes 2009-03-19 14:57:15 -04:00
Sean Middleditch 1688da10e1 fix RFC1143 more 2009-03-19 13:02:09 -04:00
Sean Middleditch 4987f9fbf0 fix RFC1143 to actually work 2009-03-19 12:51:40 -04:00
Sean Middleditch 5dea1f79f6 dont leak 2009-03-19 12:45:34 -04:00
Sean Middleditch a6d03ffb89 dont bail on ECONNRESET 2009-03-19 12:45:03 -04:00
Sean Middleditch 79376a0bcd re-add telnet-chatd.c again, now that the Makefile bug is fixes 2009-03-19 02:32:23 -04:00
Sean Middleditch f65f27d77d remove the lib/LIB from identifier prefixes; also, swap printf and printf2 so the more common one is the one with the shorter name 2009-03-19 02:32:04 -04:00
Sean Middleditch 156f5862a6 fix broken Makefile clean 2009-03-19 02:12:39 -04:00
Sean Middleditch 340a51b1e0 use size_t where appropriate instead of unsigned int 2009-03-19 02:08:46 -04:00
Sean Middleditch 8daf77446e use char buffers instead of unsigned char to make use of API less of a pain in the butt 2009-03-19 02:05:24 -04:00
Sean Middleditch 80f119bbc7 silence warning 2009-03-16 18:02:35 -04:00
Sean Middleditch e5b4759618 fix compilation when HAVE_ZLIB is not defined 2009-03-16 17:37:43 -04:00
Sean Middleditch 1f962f02f0 dont forward-declare enums, as C++ does not support that 2009-03-16 17:37:04 -04:00
Sean Middleditch 4613e6818a document libtelnet_printf and libtelnet_printf2 2009-03-16 17:21:48 -04:00