all of the open source files. Also, while I was there, cleaned up the option
entry on the polly binary, fixed some random spacing in Retchmail, and made
the Makefiles for unithingy not suck so much.
git-svn-id: file:///home/apenwarr/alumnit-svn/public/trunk@1876 6619c942-59fa-0310-bf43-a07aaa81d9ac
Removed obsolete WvSplitStream.
Added wvin, wvout, wverr console streams.
Fixed up all users of any of the above features and fixed any
obvious existing bugs that were uncovered by the refactoring.
This all seems to work fine (Weaver runs okay)...
git-svn-id: file:///home/apenwarr/alumnit-svn/public/trunk@1304 6619c942-59fa-0310-bf43-a07aaa81d9ac
broke).
WvStreamClone changed to take a WvStream* instead of a WvStream**, so you
can just give it a NULL instead of pointing to a WvStream* of yours, then
set WvStreamClone::cloned. WvStreamClone changed from not owning the cloned
stream to owning it (it WILL delete it in its destructor!). If you don't
want it to delete the cloned stream, set WvStreamClone::cloned to NULL
before deleting the WvStreamClone.
So in summary, you don't have to keep a redundant WvStream* anymore, you
don't have to (and SHOULDN'T!) delete the cloned stream, so you can just
go and do crazy things like WvStream* mystream = new
WvCompressStream(new WvSSLStream(listener->accept())); and then just
delete mystream without any remorse (it's just like shell pipes!).
git-svn-id: file:///home/apenwarr/alumnit-svn/public/trunk@844 6619c942-59fa-0310-bf43-a07aaa81d9ac
"WvStreamsifying" of wvdialmon.
Also added a check so that WvDial gives some usefull information if you try
and compile it without WvStreams present...
git-svn-id: file:///home/apenwarr/alumnit-svn/public/trunk@523 6619c942-59fa-0310-bf43-a07aaa81d9ac
probably not too badly.. but we'll see). Adds a raft of new stuff - ability
to have WvDial prompt for password on the command line, ISDN goodies, USB
(??) Modem support, and all sorts of other coolness...
git-svn-id: file:///home/apenwarr/alumnit-svn/public/trunk@519 6619c942-59fa-0310-bf43-a07aaa81d9ac
sections are present, and also add in a REALLY ugly patch that adds multi
phone number support.
git-svn-id: file:///home/apenwarr/alumnit-svn/public/trunk@518 6619c942-59fa-0310-bf43-a07aaa81d9ac
select_setup/test_set to pre_select/post_select. Simplified force_select
implementation and added undo_force_select. Added read_requires_writable
and write_requires_readable pointers to WvStream, to make it _much_ easier
to copy from one stream to another without using the outbuf. Split getfd()
into getrfd() and getwfd(), even in basic wvstream, to simply implementation
of WvSplitStream. Made select-for-write do the right thing when outbuf is
in use (I think!). Got rid of auto_select, replacing it instead with two
different variants of select(), one of which does what the old auto_select()
does. Changed WvStream callbacks to use WvCallback (finally!), which means
stream callbacks don't have to be static anymore.
All of this will surely introduce some bugs, but at first glance, Weaver and
various streams test programs seem to still work.
git-svn-id: file:///home/apenwarr/alumnit-svn/public/trunk@507 6619c942-59fa-0310-bf43-a07aaa81d9ac
Inc." It still says "Worldvisions Weaver software", though, because that's
really what it is.
git-svn-id: file:///home/apenwarr/alumnit-svn/public/trunk@185 6619c942-59fa-0310-bf43-a07aaa81d9ac
A "connect" line in /etc/ppp/options also elicits a warning from wvdialconf.
git-svn-id: file:///home/apenwarr/alumnit-svn/public/trunk@148 6619c942-59fa-0310-bf43-a07aaa81d9ac
SelectInfo struct, instead of the few parameters we were passing them
before. This should make things easier (and reduces the source code size
still further :))
git-svn-id: file:///home/apenwarr/alumnit-svn/public/trunk@47 6619c942-59fa-0310-bf43-a07aaa81d9ac
buffer) when the entire menu, including prompt, arrives in one giant chunk.
Also, blank lines count as prompts _if_ a menu has been parsed.
git-svn-id: file:///home/apenwarr/alumnit-svn/public/trunk@35 6619c942-59fa-0310-bf43-a07aaa81d9ac
return values anyway. A new virtual function, WvStream::execute(), is
used if no callback is defined. That way, derived classes can simply
override execute() instead of fiddling with static member functions and
other uglies.
git-svn-id: file:///home/apenwarr/alumnit-svn/public/trunk@7 6619c942-59fa-0310-bf43-a07aaa81d9ac