Commit Graph

33 Commits

Author SHA1 Message Date
William Lachance 6d6d7ff6df Make a bunch of static character stuff const
The fact that it wasn't const was (mostly) harmless, but it never hurts to
be careful. Plus, the huge stream of error messages was annoying.
2009-09-29 13:31:28 -04:00
Steve Marple 268035c679 Include patch from Fedora that allows you to customize the dial timeout. 2008-10-22 10:59:37 -03:00
wlach 2c7991ad57 Merge in inversion changes from 'wvstreams_inversion_2': pre_select
now returns void.


git-svn-id: file:///home/apenwarr/alumnit-svn/public/trunk@11646 6619c942-59fa-0310-bf43-a07aaa81d9ac
2007-07-19 20:17:49 +00:00
wlach de09d69e88 Merged revisions 10677-11457 via svnmerge from
/trunk


git-svn-id: file:///home/apenwarr/alumnit-svn/public/releases/freesw@11462 6619c942-59fa-0310-bf43-a07aaa81d9ac
2006-12-13 03:54:41 +00:00
pphaneuf e1b24c32f4 Backing out my previous changes, they have too many subleties and cornercases.
BUGZID:6101


git-svn-id: file:///home/apenwarr/alumnit-svn/public/trunk@6227 6619c942-59fa-0310-bf43-a07aaa81d9ac
2004-08-05 18:45:40 +00:00
pphaneuf 8d4f1f985f Removed usage of uses_continue_select and replaced them with explicit uses
of WvCont.
BUGZID:6101


git-svn-id: file:///home/apenwarr/alumnit-svn/public/trunk@6155 6619c942-59fa-0310-bf43-a07aaa81d9ac
2004-08-02 22:02:01 +00:00
pphaneuf fbf843a705 More WvConfEmu hacking... Did I run this without the USE_WVCONFEMU flag? Of
course not!


git-svn-id: file:///home/apenwarr/alumnit-svn/public/trunk@2930 6619c942-59fa-0310-bf43-a07aaa81d9ac
2003-10-10 23:24:26 +00:00
pphaneuf d10c896e57 Began converting weaver to WvConfEmu. This is turned on by compiling with a
USE_WVCONFEMU preprocessor symbol, so don't worry, I'm not actually breaking
everything... :-)


git-svn-id: file:///home/apenwarr/alumnit-svn/public/trunk@2880 6619c942-59fa-0310-bf43-a07aaa81d9ac
2003-10-01 20:26:59 +00:00
ppatters a068d3412a HEAD: Huge number of files touched while updating the copyright notice on
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
2003-02-12 04:45:50 +00:00
apenwarr e0d6f9122c Merging unifix into the main branch. And now the REAL fun begins...
git-svn-id: file:///home/apenwarr/alumnit-svn/public/trunk@1707 6619c942-59fa-0310-bf43-a07aaa81d9ac
2003-01-13 08:22:07 +00:00
jbrown 84ce36eb85 Split WvStream file-descriptor related code off into WvFDStream subclass.
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
2002-11-01 02:12:05 +00:00
pphaneuf 5b11f552c4 WARNING: big WvStreamClone change in here (and fixing of all things it
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
2002-07-31 23:08:04 +00:00
ppatters 2f201e9029 Cleanups of WvDial code after yesterday's big merge - mainly formatting, and
"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
2002-03-05 23:37:07 +00:00
ppatters bea9eb11f6 Monster SuSE patch merge... this should break WvDial REAL good... (actually
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
2002-03-04 22:39:14 +00:00
ppatters 58d35c60cc Added more SuSE patches - this time to make sure inherited wvdial.conf
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
2002-03-04 21:10:49 +00:00
ppatters a1f6a42318 Incorporate a patch from Dushyanth Harinath <dushy@symonds.net> that
implements a "Dial Attempts" option in wvdial.


git-svn-id: file:///home/apenwarr/alumnit-svn/public/trunk@516 6619c942-59fa-0310-bf43-a07aaa81d9ac
2002-03-04 18:58:56 +00:00
apenwarr 79aec6fcfd A bunch of highly incompatible wvstreams hacks: renamed
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
2002-03-02 04:33:08 +00:00
apenwarr 3c3bfcfe58 Merged recent r3_65 changes into the main branch. I guess we haven't done
this for a while!


git-svn-id: file:///home/apenwarr/alumnit-svn/public/trunk@455 6619c942-59fa-0310-bf43-a07aaa81d9ac
2002-02-19 21:14:57 +00:00
apenwarr 3f82fb988b Updated copyrights to 2002.
git-svn-id: file:///home/apenwarr/alumnit-svn/public/trunk@382 6619c942-59fa-0310-bf43-a07aaa81d9ac
2002-01-02 02:42:32 +00:00
apenwarr bd055873b3 Added "abort on busy" and "abort on no dialtone" wvdial patch from Kenn
Humborg <kenn@bluetree.ie>.


git-svn-id: file:///home/apenwarr/alumnit-svn/public/trunk@298 6619c942-59fa-0310-bf43-a07aaa81d9ac
2001-10-22 13:25:56 +00:00
apenwarr 1a690f425a Updated copyright notices on C++ files. Gee, I put that one off for almost
as long as I put off doing my taxes :)


git-svn-id: file:///home/apenwarr/alumnit-svn/public/trunk@247 6619c942-59fa-0310-bf43-a07aaa81d9ac
2001-06-05 06:14:02 +00:00
apenwarr aba4097d9e Updated copyright notices to "1997-2000" and "Net Integration Technologies,
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
2000-03-15 20:44:55 +00:00
apenwarr 522345b833 Area Code support from Michael K. Johnson.
git-svn-id: file:///home/apenwarr/alumnit-svn/public/trunk@151 6619c942-59fa-0310-bf43-a07aaa81d9ac
1999-08-07 17:06:16 +00:00
apenwarr af00468d19 wvdial (main application) prints a helpful message if pppd dies too quickly.
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
1999-08-02 18:20:52 +00:00
apenwarr 7c7cde499a Patch from Michael K. Johnson to add the "--chat" option to wvdial.
git-svn-id: file:///home/apenwarr/alumnit-svn/public/trunk@145 6619c942-59fa-0310-bf43-a07aaa81d9ac
1999-08-01 16:00:38 +00:00
apenwarr 97bcc9abd5 Updated all the copyright notices to include 1999.
git-svn-id: file:///home/apenwarr/alumnit-svn/public/trunk@94 6619c942-59fa-0310-bf43-a07aaa81d9ac
1999-03-24 03:41:42 +00:00
apenwarr d806b4f190 Fixed various netguide bugs. Dialer should now not disconnect every time a
dialerconfig option is changed in webconfig.


git-svn-id: file:///home/apenwarr/alumnit-svn/public/trunk@92 6619c942-59fa-0310-bf43-a07aaa81d9ac
1999-03-21 21:36:19 +00:00
apenwarr 6ea0c87b15 Demand dialing "works". Well, it could use some fixing, but it does dial :)
webconfig/lcdconfig/rcmd still horribly broken.  Idle timer is shot.


git-svn-id: file:///home/apenwarr/alumnit-svn/public/trunk@62 6619c942-59fa-0310-bf43-a07aaa81d9ac
1998-12-04 10:05:00 +00:00
apenwarr 6e9a453d0a Changed WvStream::select_setup() and test_set() calls to use a new
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
1998-11-15 03:36:15 +00:00
apenwarr a5adbcf20c Slight fix to WvDialBrain so that it won't do stupid things (like clear the
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
1998-11-06 12:10:15 +00:00
dcoombs 885c9c4b5d Weaver now writes the ISDN identifier to the config file. This will help
with supporting the BitSurfr...


git-svn-id: file:///home/apenwarr/alumnit-svn/public/trunk@25 6619c942-59fa-0310-bf43-a07aaa81d9ac
1998-10-25 22:12:12 +00:00
apenwarr 34e301f10c WvStream::Callback functions now all return void -- no one ever used the
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
1998-10-03 06:55:03 +00:00
apenwarr a0eaaa2d64 Initial revision
git-svn-id: file:///home/apenwarr/alumnit-svn/public/trunk@2 6619c942-59fa-0310-bf43-a07aaa81d9ac
1998-10-03 02:04:39 +00:00