privoxy.git
22 years agoEnabling duplicate-socket detection for all platforms, not
jongfoster [Fri, 16 Nov 2001 00:48:48 +0000 (00:48 +0000)]
Enabling duplicate-socket detection for all platforms, not
just Win32.

22 years agoFixing a compiler warning
jongfoster [Fri, 16 Nov 2001 00:48:13 +0000 (00:48 +0000)]
Fixing a compiler warning

22 years agoChanging the tty-disconnection code to use setsid().
jongfoster [Fri, 16 Nov 2001 00:47:43 +0000 (00:47 +0000)]
Changing the tty-disconnection code to use setsid().

22 years agoFixing compiler warnings
jongfoster [Fri, 16 Nov 2001 00:46:31 +0000 (00:46 +0000)]
Fixing compiler warnings

22 years agoAdded support for the following actions:
jongfoster [Tue, 13 Nov 2001 21:12:17 +0000 (21:12 +0000)]
Added support for the following actions:
+downgrade, +limit-connect, +no-compression

22 years agoAcknowledging Al's FreeBSD patch
jongfoster [Tue, 13 Nov 2001 20:43:59 +0000 (20:43 +0000)]
Acknowledging Al's FreeBSD patch

22 years agoTabs->spaces, fixing a bug with missing {} around an if()
jongfoster [Tue, 13 Nov 2001 20:20:54 +0000 (20:20 +0000)]
Tabs->spaces, fixing a bug with missing {} around an if()

22 years agoPatch for FreeBSD setpgrp() as suggested by Alexander Lazic
jongfoster [Tue, 13 Nov 2001 20:14:53 +0000 (20:14 +0000)]
Patch for FreeBSD setpgrp() as suggested by Alexander Lazic

22 years agoNew version of actions file editor templates
jongfoster [Tue, 13 Nov 2001 00:58:18 +0000 (00:58 +0000)]
New version of actions file editor templates

22 years ago- Adding new CGIs for use by non-JavaScript browsers:
jongfoster [Tue, 13 Nov 2001 00:31:21 +0000 (00:31 +0000)]
- Adding new CGIs for use by non-JavaScript browsers:
    edit-actions-url-form
    edit-actions-add-url-form
    edit-actions-remove-url-form
- Fixing make_menu()'s HTML generation - it now quotes the href parameter.
- Fixing || bug.

22 years agoAdding new CGIs for use by non-JavaScript browsers:
jongfoster [Tue, 13 Nov 2001 00:28:51 +0000 (00:28 +0000)]
Adding new CGIs for use by non-JavaScript browsers:
  edit-actions-url-form
  edit-actions-add-url-form
  edit-actions-remove-url-form

22 years ago- Renaming parameters from edit-actions-for-url so that they only
jongfoster [Tue, 13 Nov 2001 00:28:24 +0000 (00:28 +0000)]
- Renaming parameters from edit-actions-for-url so that they only
  contain legal JavaScript characters.  If we wanted to write
  JavaScript that worked with Netscape 4, this is nessacery.
  (Note that at the moment the JavaScript doesn't actually work
  with Netscape 4, but now this is purely a template issue, not
  one affecting code).
- Adding new CGIs for use by non-JavaScript browsers:
    edit-actions-url-form
    edit-actions-add-url-form
    edit-actions-remove-url-form
- Fixing || bug.

22 years agoReplacing references to malloc.h with the standard stdlib.h
jongfoster [Tue, 13 Nov 2001 00:16:40 +0000 (00:16 +0000)]
Replacing references to malloc.h with the standard stdlib.h
(See ANSI or K&R 2nd Ed)

22 years agoFixing stupid bug now I've figured out what || means.
jongfoster [Tue, 13 Nov 2001 00:14:07 +0000 (00:14 +0000)]
Fixing stupid bug now I've figured out what || means.
(It always returns 0 or 1, not one of it's paramaters.)

22 years agoAdd line number in error output for lineparsing for
steudten [Wed, 7 Nov 2001 00:06:06 +0000 (00:06 +0000)]
Add line number in error output for lineparsing for
actionsfile.

22 years agoGive reliable return value if an error
steudten [Wed, 7 Nov 2001 00:03:14 +0000 (00:03 +0000)]
Give reliable return value if an error
occurs not just 0 with new daemon mode.

22 years agoAdd line number in error output for lineparsing for
steudten [Wed, 7 Nov 2001 00:02:13 +0000 (00:02 +0000)]
Add line number in error output for lineparsing for
actionsfile and configfile.
Special handling for CLF added.

22 years agoCompress doc files. Install README and AUTHORS at last as document.
steudten [Tue, 6 Nov 2001 12:09:03 +0000 (12:09 +0000)]
Compress doc files. Install README and AUTHORS at last as document.

22 years agoAdd --clean for building rpm in target redhat-dist.
steudten [Tue, 6 Nov 2001 12:07:30 +0000 (12:07 +0000)]
Add --clean for building rpm in target redhat-dist.

22 years agoStartup syntax change.
hal9 [Mon, 5 Nov 2001 23:59:17 +0000 (23:59 +0000)]
Startup syntax change.

22 years agoMinor update for startup now daemon mode.
hal9 [Mon, 5 Nov 2001 23:57:51 +0000 (23:57 +0000)]
Minor update for startup now daemon mode.

22 years agoAdd time+date to log files.
steudten [Mon, 5 Nov 2001 23:43:05 +0000 (23:43 +0000)]
Add time+date to log files.

22 years agoSome changes..
steudten [Mon, 5 Nov 2001 21:54:48 +0000 (21:54 +0000)]
Some changes..

22 years agoAdd global var 'basedir' for unix os.
steudten [Mon, 5 Nov 2001 21:43:48 +0000 (21:43 +0000)]
Add global var 'basedir' for unix os.

22 years agoInclude DBG() macro.
steudten [Mon, 5 Nov 2001 21:42:41 +0000 (21:42 +0000)]
Include DBG() macro.

22 years agoAdd changes to be a real daemon just for unix os.
steudten [Mon, 5 Nov 2001 21:41:43 +0000 (21:41 +0000)]
Add changes to be a real daemon just for unix os.
(change cwd to /, detach from controlling tty, set
process group and session leader to the own process.
Add DBG() Macro.
Add some fatal-error log message for failed malloc().
Add '-d' if compiled with 'configure --with-debug' to
enable debug output.

22 years agoFix to include the actual version for name.
steudten [Mon, 5 Nov 2001 21:37:34 +0000 (21:37 +0000)]
Fix to include the actual version for name.
Let the 'real' packager be included - sorry stefan.

22 years agoComplete rewrite for the 'redhat-dist' target.
steudten [Mon, 5 Nov 2001 21:35:23 +0000 (21:35 +0000)]
Complete rewrite for the 'redhat-dist' target.
Checks for writeable RPM build directories for calling user.
So you must not be root, just set the modes to 1777 to
build a RH package.
Fix the upload-target to be arch independant.
Add target for 'solaris-dist' - coming soon.

22 years agoChange switch mode from weekly to size 1M
steudten [Mon, 5 Nov 2001 21:31:51 +0000 (21:31 +0000)]
Change switch mode from weekly to size 1M

22 years agoEnable jarfile by default.
steudten [Mon, 5 Nov 2001 21:31:09 +0000 (21:31 +0000)]
Enable jarfile by default.

22 years agoMake JB startup without & due to be a 'real' daemon right now.
steudten [Mon, 5 Nov 2001 21:30:23 +0000 (21:30 +0000)]
Make JB startup without & due to be a 'real' daemon right now.
Make the script easy to change.

22 years agoShow enablement/disablement status in almost all templates.
David Schmidt [Thu, 1 Nov 2001 14:28:47 +0000 (14:28 +0000)]
Show enablement/disablement status in almost all templates.
There is a little trickiness here: apparent recursive resolution of
@if-enabled-then@ caused the toggle template to show status out-of-phase with
the actual enablement status.  So a similar construct,
@if-enabled-display-then@, is used to resolve the status display on non-'toggle'
templates.

22 years agoShow enablement/disablement status in almost all templates.
David Schmidt [Thu, 1 Nov 2001 14:18:57 +0000 (14:18 +0000)]
Show enablement/disablement status in almost all templates.
There is a little trickiness here: apparent recursive resolution of
@if-enabled-then@ caused the toggle template to show status out-of-phase with
the actual enablement status.  So a similar construct,
@if-enabled-display-then@, is used to resolve the status display on non-'toggle'
templates.

22 years agoRedhat-upload stuff per Stefan.
hal9 [Thu, 1 Nov 2001 00:52:04 +0000 (00:52 +0000)]
Redhat-upload stuff per Stefan.

22 years agoCorrect 2 minor errors
hal9 [Wed, 31 Oct 2001 21:11:03 +0000 (21:11 +0000)]
Correct 2 minor errors

22 years agoconsistent description. new name for suse since
swa [Wed, 31 Oct 2001 19:27:27 +0000 (19:27 +0000)]
consistent description. new name for suse since
we had troubles with rpms of identical names
on the webserver.

22 years agoautomate process of uploading new releases
swa [Wed, 31 Oct 2001 19:26:13 +0000 (19:26 +0000)]
automate process of uploading new releases
to sf.

22 years agodocumentation added: howto generate docs in text and html
swa [Wed, 31 Oct 2001 18:16:52 +0000 (18:16 +0000)]
documentation added: howto generate docs in text and html
format, howto move stuff to the webserver.

22 years agoOS/2 native needed a snprintf() routine. Added one to miscutil, brackedted
David Schmidt [Mon, 29 Oct 2001 03:48:10 +0000 (03:48 +0000)]
OS/2 native needed a snprintf() routine.  Added one to miscutil, brackedted
by and __OS2__ ifdef.

22 years agoAdding ijb_toupper()
jongfoster [Sun, 28 Oct 2001 19:12:06 +0000 (19:12 +0000)]
Adding ijb_toupper()

22 years agoctype.h is needed in Windows, too.
jongfoster [Fri, 26 Oct 2001 20:13:09 +0000 (20:13 +0000)]
ctype.h is needed in Windows, too.

22 years agoFixing type mismatch
jongfoster [Fri, 26 Oct 2001 20:11:20 +0000 (20:11 +0000)]
Fixing type mismatch

22 years agoupdated files from SGML code.
swa [Fri, 26 Oct 2001 18:38:49 +0000 (18:38 +0000)]
updated files from SGML code.

22 years agogive consistent intro. look pretty (ier) ;-).
swa [Fri, 26 Oct 2001 18:37:14 +0000 (18:37 +0000)]
give consistent intro. look pretty (ier) ;-).

22 years agogive consistent intro.
swa [Fri, 26 Oct 2001 18:36:52 +0000 (18:36 +0000)]
give consistent intro.

22 years agonew version string
swa [Fri, 26 Oct 2001 18:17:23 +0000 (18:17 +0000)]
new version string

22 years agoMoved ijb_isspace and ijb_tolower to project.h
oes [Fri, 26 Oct 2001 17:40:47 +0000 (17:40 +0000)]
Moved ijb_isspace and ijb_tolower to project.h
Removed http->user_agent, csp->referrer and csp->accept_types

22 years agoIntroduced get_header_value()
oes [Fri, 26 Oct 2001 17:40:23 +0000 (17:40 +0000)]
Introduced get_header_value()
Removed client_accept()

22 years agoIntroduced get_header_value()
oes [Fri, 26 Oct 2001 17:40:04 +0000 (17:40 +0000)]
Introduced get_header_value()
Removed http->user_agent, csp->referrer and csp->accept_types
Removed client_accept()

22 years agoMoved ijb_isspace and ijb_tolower to project.h
oes [Fri, 26 Oct 2001 17:39:38 +0000 (17:39 +0000)]
Moved ijb_isspace and ijb_tolower to project.h

22 years agoRemoved csp->referrer
oes [Fri, 26 Oct 2001 17:39:01 +0000 (17:39 +0000)]
Removed csp->referrer
Moved ijb_isspace and ijb_tolower to project.h

22 years agoCosmetics
oes [Fri, 26 Oct 2001 17:38:28 +0000 (17:38 +0000)]
Cosmetics

22 years ago- Re-enabled Netscape 200/404 bug workaround in block_url():
oes [Fri, 26 Oct 2001 17:37:55 +0000 (17:37 +0000)]
- Re-enabled Netscape 200/404 bug workaround in block_url():
  - Removed OS/2 special case
  - Made block_url() independant from sed() having been run
- Made trust_url independant from sed() having been run
- Made is_imageurl independant from sed() having been run.
  It now checks User-Agent: and Accept: by itself.

22 years agomarginal bugfix
oes [Fri, 26 Oct 2001 17:33:27 +0000 (17:33 +0000)]
marginal bugfix

22 years agoRe-enabling the default strings for admin-adress and proxy-info-url
oes [Fri, 26 Oct 2001 11:12:15 +0000 (11:12 +0000)]
Re-enabling the default strings for admin-adress and proxy-info-url

22 years ago- Now works with Netscape 6
jongfoster [Thu, 25 Oct 2001 21:35:45 +0000 (21:35 +0000)]
- Now works with Netscape 6
- Still doesn't work properly in Opera 5.12 or Netscape 4.75
  (It's usable but you don't get the pretty effects)
- Contains ugly browser-detection code that needs tidying if possible

22 years agoAdding a (void*) cast to freez() because Visual Age C++ won't expand the
David Schmidt [Thu, 25 Oct 2001 03:45:02 +0000 (03:45 +0000)]
Adding a (void*) cast to freez() because Visual Age C++ won't expand the
macro when called with a cast; so moving the cast to the macro def'n
seems to both eliminate compiler warnings (on darwin and OS/2, anyway) and
doesn't make macro expansion complain.  Hope this works for everyone else
too...

22 years agoChange in porting tactics: OS/2's EMX porting layer doesn't allow multiple
David Schmidt [Thu, 25 Oct 2001 03:40:48 +0000 (03:40 +0000)]
Change in porting tactics: OS/2's EMX porting layer doesn't allow multiple
threads to call select() simultaneously.  So, it's time to do a real, live,
native OS/2 port.  See defines for __EMX__ (the porting layer) vs. __OS2__
(native). Both versions will work, but using __OS2__ offers multi-threading.

22 years ago*** empty log message ***
hal9 [Wed, 24 Oct 2001 23:58:48 +0000 (23:58 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
hal9 [Wed, 24 Oct 2001 19:27:36 +0000 (19:27 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
hal9 [Wed, 24 Oct 2001 18:47:54 +0000 (18:47 +0000)]
*** empty log message ***

22 years agonit.
hal9 [Wed, 24 Oct 2001 18:40:12 +0000 (18:40 +0000)]
nit.

22 years agonada
hal9 [Wed, 24 Oct 2001 17:43:51 +0000 (17:43 +0000)]
nada

22 years agoFix date only.
hal9 [Wed, 24 Oct 2001 17:13:08 +0000 (17:13 +0000)]
Fix date only.

22 years agoCatching up with Jon's recent work, and a few other things.
hal9 [Wed, 24 Oct 2001 17:10:55 +0000 (17:10 +0000)]
Catching up with Jon's recent work, and a few other things.

22 years agoIncorporate recent changes from Jon's new stuff.
hal9 [Wed, 24 Oct 2001 17:10:08 +0000 (17:10 +0000)]
Incorporate recent changes from Jon's new stuff.

22 years agoMinor update.
hal9 [Wed, 24 Oct 2001 16:46:50 +0000 (16:46 +0000)]
Minor update.

22 years agoTo keep Thomas happy (aka correcting my mistakes)
hal9 [Wed, 24 Oct 2001 15:45:49 +0000 (15:45 +0000)]
To keep Thomas happy (aka correcting my  mistakes)

22 years agoCleaning up error handling in CGI functions - they now send back
jongfoster [Tue, 23 Oct 2001 21:48:19 +0000 (21:48 +0000)]
Cleaning up error handling in CGI functions - they now send back
a HTML error page and should never cause a FATAL error.  (Fixes one
potential source of "denial of service" attacks).

CGI actions file editor that works and is actually useful.

Ability to toggle JunkBuster remotely using a CGI call.

You can turn off both the above features in the main configuration
file, e.g. if you are running a multi-user proxy.

22 years agoAdded enable-edit-actions and enable-remote-toggle
jongfoster [Tue, 23 Oct 2001 21:42:41 +0000 (21:42 +0000)]
Added enable-edit-actions and enable-remote-toggle

22 years agoAdded call to initialize the (statically-allocated of course)
jongfoster [Tue, 23 Oct 2001 21:41:35 +0000 (21:41 +0000)]
Added call to initialize the (statically-allocated of course)
"out of memory" CGI response.

22 years agoAdded support for enable-edit-actions and enable-remote-toggle config
jongfoster [Tue, 23 Oct 2001 21:40:30 +0000 (21:40 +0000)]
Added support for enable-edit-actions and enable-remote-toggle config
file options.

22 years agoAdding error-checking to create_url_spec()
jongfoster [Tue, 23 Oct 2001 21:38:53 +0000 (21:38 +0000)]
Adding error-checking to create_url_spec()

22 years agoDocumenting sed()'s error behaviou (doc change only)
jongfoster [Tue, 23 Oct 2001 21:36:02 +0000 (21:36 +0000)]
Documenting sed()'s error behaviou (doc change only)

22 years agoAdding error-checking to selected functions
jongfoster [Tue, 23 Oct 2001 21:32:33 +0000 (21:32 +0000)]
Adding error-checking to selected functions

22 years agoAdding error-checking to selected functions.
jongfoster [Tue, 23 Oct 2001 21:30:30 +0000 (21:30 +0000)]
Adding error-checking to selected functions.

22 years agoStandardising error codes in string_append
jongfoster [Tue, 23 Oct 2001 21:27:50 +0000 (21:27 +0000)]
Standardising error codes in string_append
make_path() no longer adds '\\' if the dir already ends in '\\' (this
is just copying a UNIX-specific fix to the Windows-specific part)

22 years agoSupport for FEATURE_CGI_EDIT_ACTIONS
jongfoster [Tue, 23 Oct 2001 21:24:10 +0000 (21:24 +0000)]
Support for FEATURE_CGI_EDIT_ACTIONS

22 years agoNew error handling - error codes are now jb_errs, not ints.
jongfoster [Tue, 23 Oct 2001 21:21:03 +0000 (21:21 +0000)]
New error handling - error codes are now jb_errs, not ints.
Changed the way map() handles out-of-memory, to dramatically
reduce the amount of error-checking clutter needed.

22 years agoNew error-handling support: jb_err type and JB_ERR_xxx constants
jongfoster [Tue, 23 Oct 2001 21:19:04 +0000 (21:19 +0000)]
New error-handling support: jb_err type and JB_ERR_xxx constants
CGI functions now return a jb_err, and their parameters map is const.
Support for RUNTIME_FEATUREs to enable/disable config editor
Adding a few comments

22 years agoSpecial-cased OS/2 out of the Netscape-abort-on-404-in-js problem in
David Schmidt [Mon, 22 Oct 2001 15:33:56 +0000 (15:33 +0000)]
Special-cased OS/2 out of the Netscape-abort-on-404-in-js problem in
filters.c.  Added a FIXME in front of the offending code.  I'll gladly
put in a better/more robust fix for all parties if one is presented...
It seems that just returning 200 instead of 404 would pretty much fix
it for everyone, but I don't know all the history of the problem.

22 years agoDisable single-threaded back.
steudten [Sun, 21 Oct 2001 20:25:20 +0000 (20:25 +0000)]
Disable single-threaded back.
filtering by reexp is default on in actionsfile.

22 years agoUpdate from configure.in
steudten [Sun, 21 Oct 2001 19:48:31 +0000 (19:48 +0000)]
Update from configure.in

22 years agowrong url in documentation
swa [Sun, 21 Oct 2001 17:19:22 +0000 (17:19 +0000)]
wrong url in documentation

22 years agonew version.
swa [Sun, 21 Oct 2001 17:08:17 +0000 (17:08 +0000)]
new version.

22 years agoalso provide developer and faq docs.
swa [Sun, 21 Oct 2001 17:07:21 +0000 (17:07 +0000)]
also provide developer and faq docs.

22 years agoComment out the bogus local doc URL by default, now that we're only
David Schmidt [Fri, 19 Oct 2001 00:20:03 +0000 (00:20 +0000)]
Comment out the bogus local doc URL by default, now that we're only
showing it if it's filled in

22 years agoConditional administrator e-mail address... some templates need colspan=2
David Schmidt [Fri, 19 Oct 2001 00:01:33 +0000 (00:01 +0000)]
Conditional administrator e-mail address... some templates need colspan=2

22 years agoOnly show "Local support" on templates conditionally:
David Schmidt [Thu, 18 Oct 2001 22:22:09 +0000 (22:22 +0000)]
Only show "Local support" on templates conditionally:
  - if either 'admin-address' or 'proxy-info-url' are uncommented in config
  - if not, no Local support section appears are removed automatically

22 years agoOnly show "Local support" on templates conditionally:
David Schmidt [Thu, 18 Oct 2001 22:17:43 +0000 (22:17 +0000)]
Only show "Local support" on templates conditionally:
  - if either 'admin-address' or 'proxy-info-url' are uncommented in config
  - if not, no Local support section appears

22 years agomini nit
hal9 [Tue, 16 Oct 2001 01:31:53 +0000 (01:31 +0000)]
mini nit

22 years agoAdding testers. They're important too!
jongfoster [Mon, 15 Oct 2001 23:01:36 +0000 (23:01 +0000)]
Adding testers.  They're important too!
Currently, the list of tester's names has been taken from the
mailing list as far back as the end of June, around when we
moved over from Yahoo! Groups to a SourceForge mailing list.
I've also added those people who've submitted bugs to SourceForge
and who logged in to their SourceForge accounts first.

22 years agoRemoved -O2 and -Wall from AmigaOS-only CFLAGS since they are now in
joergs [Mon, 15 Oct 2001 22:14:59 +0000 (22:14 +0000)]
Removed -O2 and -Wall from AmigaOS-only CFLAGS since they are now in
 the general CFLAGS already.

22 years agoAdded some entries from my local actionsfile.
joergs [Mon, 15 Oct 2001 22:06:16 +0000 (22:06 +0000)]
Added some entries from my local actionsfile.

22 years agoReformatted
hal9 [Mon, 15 Oct 2001 18:52:19 +0000 (18:52 +0000)]
Reformatted

22 years agoremove config.cache for target clobber.
steudten [Mon, 15 Oct 2001 18:28:06 +0000 (18:28 +0000)]
remove config.cache for target clobber.
Cleanup make dist for RH and S.u.S.E.

22 years agoNit
hal9 [Mon, 15 Oct 2001 15:03:05 +0000 (15:03 +0000)]
Nit

22 years agoNit.
hal9 [Mon, 15 Oct 2001 14:44:08 +0000 (14:44 +0000)]
Nit.

22 years agoAdding finished docs to CVS
hal9 [Mon, 15 Oct 2001 14:42:12 +0000 (14:42 +0000)]
Adding finished docs to CVS

22 years agoMinor updates.
hal9 [Mon, 15 Oct 2001 14:25:56 +0000 (14:25 +0000)]
Minor updates.