privoxy.git
22 years agoRemoving duplicated code. load_forwardfile() now uses create_url_spec()
jongfoster [Sat, 26 May 2001 00:55:20 +0000 (00:55 +0000)]
Removing duplicated code.  load_forwardfile() now uses create_url_spec()

22 years agoCosmetic indentation correction.
jongfoster [Sat, 26 May 2001 00:37:42 +0000 (00:37 +0000)]
Cosmetic indentation correction.

22 years agoFixing compiler warning about comparing signed/unsigned.
jongfoster [Sat, 26 May 2001 00:31:30 +0000 (00:31 +0000)]
Fixing compiler warning about comparing signed/unsigned.

22 years agoAutomatic reloading of config file.
jongfoster [Sat, 26 May 2001 00:28:36 +0000 (00:28 +0000)]
Automatic reloading of config file.
Removed obsolete SIGHUP support (Unix) and Reload menu option (Win32).
Most of the global variables have been moved to a new
struct configuration_spec, accessed through csp->config->globalname
Most of the globals remaining are used by the Win32 GUI.

22 years agoFixing minor memory leak and buffer overflow.
jongfoster [Fri, 25 May 2001 22:43:18 +0000 (22:43 +0000)]
Fixing minor memory leak and buffer overflow.

22 years agoHard tabs->Spaces
jongfoster [Fri, 25 May 2001 22:34:30 +0000 (22:34 +0000)]
Hard tabs->Spaces

22 years agoCRLF->LF
jongfoster [Fri, 25 May 2001 22:33:40 +0000 (22:33 +0000)]
CRLF->LF

22 years agoResurrecting these files which are required for the MS Visual C++
jongfoster [Fri, 25 May 2001 22:17:28 +0000 (22:17 +0000)]
Resurrecting these files which are required for the MS Visual C++
build only.

22 years agoNow gives a warning under Windows if you try to bind
jongfoster [Fri, 25 May 2001 21:57:54 +0000 (21:57 +0000)]
Now gives a warning under Windows if you try to bind
it to a port that's already in use.

22 years agoAdded FIXME comment to (broken) LOG_LEVEL_LOG
jongfoster [Fri, 25 May 2001 21:56:06 +0000 (21:56 +0000)]
Added FIXME comment to (broken) LOG_LEVEL_LOG

22 years agoNow cleans up properly on FATAL (removes taskbar icon etc)
jongfoster [Fri, 25 May 2001 21:55:08 +0000 (21:55 +0000)]
Now cleans up properly on FATAL (removes taskbar icon etc)

22 years agoFixing indentation
jongfoster [Fri, 25 May 2001 21:53:27 +0000 (21:53 +0000)]
Fixing indentation

22 years agoFixed bug: Empty substitutes now detected
oes [Fri, 25 May 2001 14:12:40 +0000 (14:12 +0000)]
Fixed bug: Empty substitutes now detected

22 years agoReinstalled Rodneys jobs for (frame)borders
oes [Fri, 25 May 2001 13:55:03 +0000 (13:55 +0000)]
Reinstalled Rodneys jobs for (frame)borders

22 years agoAdded sanity check for NULL jobs to pcrs_exec_substitution
oes [Fri, 25 May 2001 11:03:55 +0000 (11:03 +0000)]
Added sanity check for NULL jobs to pcrs_exec_substitution

22 years agoFixed default case in switch statement (# -> *)
oes [Fri, 25 May 2001 10:12:44 +0000 (10:12 +0000)]
Fixed default case in switch statement (# -> *)

22 years agoadded header. removed ^M.
swa [Thu, 24 May 2001 07:52:24 +0000 (07:52 +0000)]
added header. removed ^M.

22 years agoadded header
swa [Thu, 24 May 2001 07:41:33 +0000 (07:41 +0000)]
added header

22 years agoremoved ^M in order to test cvs.
swa [Thu, 24 May 2001 07:35:07 +0000 (07:35 +0000)]
removed ^M in order to test cvs.

22 years agoFixed ugly indentation of my last changes
oes [Wed, 23 May 2001 12:27:33 +0000 (12:27 +0000)]
Fixed ugly indentation of my last changes

22 years ago- Added support for escaping the comment character
oes [Wed, 23 May 2001 10:39:05 +0000 (10:39 +0000)]
- Added support for escaping the comment character
  in config files by a backslash
- Added support for line continuation in config
  files
- Fixed a buffer overflow bug with long config lines

22 years agoDeleted config.h and pcrs/chartables.h because they are auto
oes [Wed, 23 May 2001 08:05:41 +0000 (08:05 +0000)]
Deleted config.h and pcrs/chartables.h because they are auto
generated in the build process

22 years agoAmigaOS support fixed.
joergs [Wed, 23 May 2001 00:13:58 +0000 (00:13 +0000)]
AmigaOS support fixed.

22 years agoCRLF -> LF
oes [Tue, 22 May 2001 18:56:28 +0000 (18:56 +0000)]
CRLF -> LF

22 years ago- Enabled filtering banners by size rather than URL
oes [Tue, 22 May 2001 18:54:49 +0000 (18:54 +0000)]
- Enabled filtering banners by size rather than URL
  by adding patterns that replace all standard banner
  sizes with the "Junkbuster" gif to the re_filterfile

- Enabled filtering WebBugs by providing a pattern
  which kills all 1x1 images

- Added support for PCRE_UNGREEDY behaviour to pcrs,
  which is selected by the (nonstandard and therefore
  capital) letter 'U' in the option string.
  It causes the quantifiers to be ungreedy by default.
  Appending a ? turns back to greedy (!).

- Added a new interceptor ijb-send-banner, which
  sends back the "Junkbuster" gif. Without imagelist or
  MSIE detection support, or if tinygif = 1, or the
  URL isn't recognized as an imageurl, a lame HTML
  explanation is sent instead.

- Added new feature, which permits blocking remote
  script redirects and firing back a local redirect
  to the browser.
  The feature is conditionally compiled, i.e. it
  can be disabled with --disable-fast-redirects,
  plus it must be activated by a "fast-redirects"
  line in the config file, has its own log level
  and of course wants to be displayed by show-proxy-args
  Note: Boy, all the #ifdefs in 1001 locations and
  all the fumbling with configure.in and acconfig.h
  were *way* more work than the feature itself :-(

- Because a generic redirect template was needed for
  this, tinygif = 3 now uses the same.

- Moved GIFs, and other static HTTP response templates
  to project.h

- Some minor fixes

- Removed some >400 CRs again (Jon, you really worked
  a lot! ;-)

22 years ago- Enabled filtering banners by size rather than URL
oes [Tue, 22 May 2001 18:46:04 +0000 (18:46 +0000)]
- Enabled filtering banners by size rather than URL
  by adding patterns that replace all standard banner
  sizes with the "Junkbuster" gif to the re_filterfile

- Enabled filtering WebBugs by providing a pattern
  which kills all 1x1 images

- Added support for PCRE_UNGREEDY behaviour to pcrs,
  which is selected by the (nonstandard and therefore
  capital) letter 'U' in the option string.
  It causes the quantifiers to be ungreedy by default.
  Appending a ? turns back to greedy (!).

- Added a new interceptor ijb-send-banner, which
  sends back the "Junkbuster" gif. Without imagelist or
  MSIE detection support, or if tinygif = 1, or the
  URL isn't recognized as an imageurl, a lame HTML
  explanation is sent instead.

- Added new feature, which permits blocking remote
  script redirects and firing back a local redirect
  to the browser.
  The feature is conditionally compiled, i.e. it
  can be disabled with --disable-fast-redirects,
  plus it must be activated by a "fast-redirects"
  line in the config file, has its own log level
  and of course wants to be displayed by show-proxy-args
  Note: Boy, all the #ifdefs in 1001 locations and
  all the fumbling with configure.in and acconfig.h
  were *way* more work than the feature itself :-(

- Because a generic redirect template was needed for
  this, tinygif = 3 now uses the same.

- Moved GIFs, and other static HTTP response templates
  to project.h

- Some minor fixes

- Removed some >400 CRs again (Jon, you really worked
  a lot! ;-)

22 years ago- Enabled filtering banners by size rather than URL
oes [Tue, 22 May 2001 17:43:35 +0000 (17:43 +0000)]
- Enabled filtering banners by size rather than URL
  by adding patterns that replace all standard banner
  sizes with the "Junkbuster" gif to the re_filterfile

- Enabled filtering WebBugs by providing a pattern
  which kills all 1x1 images

- Added support for PCRE_UNGREEDY behaviour to pcrs,
  which is selected by the (nonstandard and therefore
  capital) letter 'U' in the option string.
  It causes the quantifiers to be ungreedy by default.
  Appending a ? turns back to greedy (!).

- Added a new interceptor ijb-send-banner, which
  sends back the "Junkbuster" gif. Without imagelist or
  MSIE detection support, or if tinygif = 1, or the
  URL isn't recognized as an imageurl, a lame HTML
  explanation is sent instead.

- Added new feature, which permits blocking remote
  script redirects and firing back a local redirect
  to the browser.
  The feature is conditionally compiled, i.e. it
  can be disabled with --disable-fast-redirects,
  plus it must be activated by a "fast-redirects"
  line in the config file, has its own log level
  and of course wants to be displayed by show-proxy-args
  Note: Boy, all the #ifdefs in 1001 locations and
  all the fumbling with configure.in and acconfig.h
  were *way* more work than the feature itself :-(

- Because a generic redirect template was needed for
  this, tinygif = 3 now uses the same.

- Moved GIFs, and other static HTTP response templates
  to project.h

- Many minor fixes

- Removed some >400 CRs again (Jon, you really worked
  a lot! ;-)

22 years ago- Enabled filtering banners by size rather than URL
oes [Tue, 22 May 2001 15:48:30 +0000 (15:48 +0000)]
- Enabled filtering banners by size rather than URL
  by adding patterns that replace all standard banner
  sizes with the "Junkbuster" gif to the re_filterfile

- Enabled filtering WebBugs by providing a pattern
  which kills all 1x1 images

- Added support for PCRE_UNGREEDY behaviour to pcrs,
  which is selected by the (nonstandard and therefore
  capital) letter 'U' in the option string.
  It causes the quantifiers to be ungreedy by default.
  Appending a ? turns back to greedy (!).

- Added a new interceptor ijb-send-banner, which
  sends back the "Junkbuster" gif. Without imagelist or
  MSIE detection support, or if tinygif = 1, or the
  URL isn't recognized as an imageurl, a lame HTML
  explanation is sent instead.

- Added new feature, which permits blocking remote
  script redirects and firing back a local redirect
  to the browser.
  The feature is conditionally compiled, i.e. it
  can be disabled with --disable-fast-redirects,
  plus it must be activated by a "fast-redirects"
  line in the config file and has its own log level.
  Note: Boy, all the #ifdefs in 1001 locations and
  all the fumbling with configure.in and acconfig.h
  were *way* more work than the feature itself :-(

- Because a generic redirect template was needed for
  this, tinygif = 3 now uses the same.

- Moved GIFs, and other static HTTP response templates
  to project.h

- Many minor fixes

- Removed some >400 CRs again (Jon, you really worked
  a lot! ;-)

22 years agoMade failure to bind() a fatal error.
jongfoster [Mon, 21 May 2001 19:34:01 +0000 (19:34 +0000)]
Made failure to bind() a fatal error.

22 years agoAdded another #ifdef _WIN_CONSOLE
jongfoster [Mon, 21 May 2001 19:32:54 +0000 (19:32 +0000)]
Added another #ifdef _WIN_CONSOLE

22 years agoRemoving last hardcoded JunkBusters.com URLs.
jongfoster [Sun, 20 May 2001 16:44:47 +0000 (16:44 +0000)]
Removing last hardcoded JunkBusters.com URLs.

22 years agoFixed "Release" build target.
jongfoster [Sun, 20 May 2001 15:20:02 +0000 (15:20 +0000)]
Fixed "Release" build target.

22 years agoNew MS VC++ 97 project for console mode.
jongfoster [Sun, 20 May 2001 15:08:28 +0000 (15:08 +0000)]
New MS VC++ 97 project for console mode.

22 years agoFile is now ignored if _WIN_CONSOLE is defined.
jongfoster [Sun, 20 May 2001 15:07:54 +0000 (15:07 +0000)]
File is now ignored if _WIN_CONSOLE is defined.

22 years agoVersion 2.9.4 checkin.
jongfoster [Sun, 20 May 2001 01:21:20 +0000 (01:21 +0000)]
Version 2.9.4 checkin.
- Merged popupfile and cookiefile, and added control over PCRS
  filtering, in new "permissionsfile".
- Implemented LOG_LEVEL_FATAL, so that if there is a configuration
  file error you now get a message box (in the Win32 GUI) rather
  than the program exiting with no explanation.
- Made killpopup use the PCRS MIME-type checking and HTTP-header
  skipping.
- Removed tabs from "config"
- Moved duplicated url parsing code in "loaders.c" to a new funcition.
- Bumped up version number.

22 years agoAdded support for LOG_LEVEL_FATAL
jongfoster [Sun, 20 May 2001 01:11:40 +0000 (01:11 +0000)]
Added support for LOG_LEVEL_FATAL
Renamed LOG_LEVEL_FRC to LOG_LEVEL_FORCE,
and LOG_LEVEL_REF to LOG_LEVEL_RE_FILTER

22 years agoDeleted junkbstr.txt, since it's generated by make anyway.
oes [Thu, 17 May 2001 23:12:38 +0000 (23:12 +0000)]
Deleted junkbstr.txt, since it's generated by make anyway.

22 years ago - Made referrer option accept 'L' as a substitute for '§'
oes [Thu, 17 May 2001 23:02:36 +0000 (23:02 +0000)]
 - Made referrer option accept 'L' as a substitute for '§'

22 years ago - Cleaned CRLF's from the sources and related files
oes [Thu, 17 May 2001 23:01:01 +0000 (23:01 +0000)]
 - Cleaned CRLF's from the sources and related files

22 years agoCosmetic documentation update.
jongfoster [Thu, 17 May 2001 22:56:17 +0000 (22:56 +0000)]
Cosmetic documentation update.
- Added required image files into CVS, they are no longer loaded
  from junkbusters.com
- Modified HTML files to be fully complient HTML 4.01, using CSS etc.
- Most of the links to junkbusters.com have been replaced with ones
  within the documentation set, or to the SourceForge project.
- Added bold "these files are out of date" warning.

22 years ago - Cleaned CRLF's from the sources and related files
oes [Thu, 17 May 2001 22:52:35 +0000 (22:52 +0000)]
 - Cleaned CRLF's from the sources and related files

22 years ago - Cleaned CRLF's from the sources and related files
oes [Thu, 17 May 2001 22:42:01 +0000 (22:42 +0000)]
 - Cleaned CRLF's from the sources and related files
 - Repaired logging for REF and FRC

22 years ago - Integrated the commented config file by Scott Turner <srt@aero.org>
oes [Thu, 17 May 2001 22:37:46 +0000 (22:37 +0000)]
 - Integrated the commented config file by Scott Turner <srt@aero.org>
   with some modifcations

22 years ago - Added hint on GIF char array generation to jcc.c
oes [Thu, 17 May 2001 22:34:44 +0000 (22:34 +0000)]
 - Added hint on GIF char array generation to jcc.c
 - Cleaned CRLF's from the sources and related files
 - Repaired logging for REF and FRC

22 years ago - Added auto-generation of CRLFs for Win32 config files
oes [Thu, 17 May 2001 22:23:23 +0000 (22:23 +0000)]
 - Added auto-generation of CRLFs for Win32 config files
 - Added comment-prefix to all Win32-only options in the config file
   and provided auto stripping of this prefix for the Win32 platform by make

22 years ago*** empty log message *** v_2_9_3
oes [Tue, 15 May 2001 13:59:57 +0000 (13:59 +0000)]
*** empty log message ***

22 years agoInitial import of version 2.9.3 source tree
oes [Tue, 15 May 2001 13:59:48 +0000 (13:59 +0000)]
Initial import of version 2.9.3 source tree

22 years ago*** empty log message ***
oes [Tue, 15 May 2001 13:59:48 +0000 (13:59 +0000)]
*** empty log message ***