privoxy.git
20 years agoReplaced the hard limit for the maximum number of matches
oes [Wed, 15 Aug 2001 15:32:50 +0000 (15:32 +0000)]
Replaced the hard limit for the maximum number of matches
by dynamic reallocation

20 years ago - Added support for Perl's special variables $+, $' and $`
oes [Wed, 15 Aug 2001 15:32:03 +0000 (15:32 +0000)]
 - Added support for Perl's special variables $+, $' and $`
 - Improved the substitute parser
 - Replaced the hard limit for the maximum number of matches
   by dynamic reallocation

20 years agoFixed comment
oes [Tue, 7 Aug 2001 14:00:20 +0000 (14:00 +0000)]
Fixed comment

20 years agoRemoving references to 2 deleted icon files.
jongfoster [Sun, 5 Aug 2001 16:07:10 +0000 (16:07 +0000)]
Removing references to 2 deleted icon files.

20 years agoModifiying "struct map" so that there are now separate header and
jongfoster [Sun, 5 Aug 2001 16:06:20 +0000 (16:06 +0000)]
Modifiying "struct map" so that there are now separate header and
"map_entry" structures.  This means that functions which modify a
map no longer need to return a pointer to the modified map.
Also, it no longer reverses the order of the entries (which may be
important with some advanced template substitutions).

20 years agoAdapted finish_http_response to new list_to_text
oes [Sun, 5 Aug 2001 15:57:38 +0000 (15:57 +0000)]
Adapted finish_http_response to new list_to_text

20 years agoMaking parameters "const" where possible.
jongfoster [Sun, 5 Aug 2001 13:13:11 +0000 (13:13 +0000)]
Making parameters "const" where possible.

20 years agoSplitting version from config details
jongfoster [Fri, 3 Aug 2001 16:31:24 +0000 (16:31 +0000)]
Splitting version from config details

20 years agoRemoving some remaining references to obsolete w32rulesdlg.[ch]
jongfoster [Thu, 2 Aug 2001 22:04:29 +0000 (22:04 +0000)]
Removing some remaining references to obsolete w32rulesdlg.[ch]

20 years agoFixing an unterminated character constant.
jongfoster [Thu, 2 Aug 2001 22:03:23 +0000 (22:03 +0000)]
Fixing an unterminated character constant.

20 years agoChanges to fill_template() that reduce memory usage without having
jongfoster [Wed, 1 Aug 2001 21:33:18 +0000 (21:33 +0000)]
Changes to fill_template() that reduce memory usage without having
an impact on performance.  I also renamed some variables so as not
to clash with the C++ keywords "new" and "template".

20 years agoMoving file version information to a separate CGI page.
jongfoster [Wed, 1 Aug 2001 21:19:22 +0000 (21:19 +0000)]
Moving file version information to a separate CGI page.

20 years agoNot needed - This URL can be started directly from the Help menu.
jongfoster [Wed, 1 Aug 2001 19:59:02 +0000 (19:59 +0000)]
Not needed - This URL can be started directly from the Help menu.

20 years agoFixing documentation filenames in help menu, and making status
jongfoster [Wed, 1 Aug 2001 19:58:12 +0000 (19:58 +0000)]
Fixing documentation filenames in help menu, and making status
option work without needing the "Junkbuster Status.URL" file.

20 years agoChanges to "Conditional Defines" section, so all the HTML relating
jongfoster [Wed, 1 Aug 2001 00:22:39 +0000 (00:22 +0000)]
Changes to "Conditional Defines" section, so all the HTML relating
to this section is now in this template, NOT in showargs.c.

20 years agoChanging show_defines so that it doesn't contain any HTML.
jongfoster [Wed, 1 Aug 2001 00:20:57 +0000 (00:20 +0000)]
Changing show_defines so that it doesn't contain any HTML.

20 years agoChanging prototype of show_defines() to modify a map directly
jongfoster [Wed, 1 Aug 2001 00:19:40 +0000 (00:19 +0000)]
Changing prototype of show_defines() to modify a map directly

20 years agoNew function: map_conditional() for an if-then-else syntax.
jongfoster [Wed, 1 Aug 2001 00:19:03 +0000 (00:19 +0000)]
New function: map_conditional() for an if-then-else syntax.
Changing to use new version of show_defines()

20 years agoAdding prototype for map_conditional
jongfoster [Wed, 1 Aug 2001 00:17:54 +0000 (00:17 +0000)]
Adding prototype for map_conditional

20 years agoAdded prototype for connection_close_adder
oes [Tue, 31 Jul 2001 14:46:53 +0000 (14:46 +0000)]
Added prototype for connection_close_adder

20 years ago - Persistant connections now suppressed
oes [Tue, 31 Jul 2001 14:46:00 +0000 (14:46 +0000)]
 - Persistant connections now suppressed
 - sed() no longer appends empty header to csp->headers

20 years agolist_to_text() now appends empty line at end
oes [Tue, 31 Jul 2001 14:44:51 +0000 (14:44 +0000)]
list_to_text() now appends empty line at end

20 years agoDeleted unused size parameter from filter_popups()
oes [Tue, 31 Jul 2001 14:44:22 +0000 (14:44 +0000)]
Deleted unused size parameter from filter_popups()

20 years agoIgnoring *.txt (probably config files), w32.res and w32.aps (resources)
jongfoster [Mon, 30 Jul 2001 22:19:54 +0000 (22:19 +0000)]
Ignoring *.txt (probably config files), w32.res and w32.aps (resources)

20 years agoRemoving obsolete w32rulesdlg.c and w32rulesdlg.h
jongfoster [Mon, 30 Jul 2001 22:17:08 +0000 (22:17 +0000)]
Removing obsolete w32rulesdlg.c and w32rulesdlg.h

20 years agoTidying up #defines:
jongfoster [Mon, 30 Jul 2001 22:16:07 +0000 (22:16 +0000)]
Tidying up #defines:
- All feature #defines are now of the form FEATURE_xxx
- Permanently turned off WIN_GUI_EDIT
- Permanently turned on WEBDAV and SPLIT_PROXY_ARGS

20 years agoRebuilding from latest configure.in and acconfig.h
jongfoster [Mon, 30 Jul 2001 22:14:40 +0000 (22:14 +0000)]
Rebuilding from latest configure.in and acconfig.h

20 years agoFixing Solaris build (I hope) and tidying up #defines:
jongfoster [Mon, 30 Jul 2001 22:12:11 +0000 (22:12 +0000)]
Fixing Solaris build (I hope) and tidying up #defines:
- All feature #defines are now of the form FEATURE_xxx
- Permanently turned off WIN_GUI_EDIT
- Permanently turned on WEBDAV and SPLIT_PROXY_ARGS

20 years agoRemoving obsolete Win32 GUI files
jongfoster [Mon, 30 Jul 2001 22:09:40 +0000 (22:09 +0000)]
Removing obsolete Win32 GUI files

20 years agoTidying up #defines:
jongfoster [Mon, 30 Jul 2001 22:08:36 +0000 (22:08 +0000)]
Tidying up #defines:
- All feature #defines are now of the form FEATURE_xxx
- Permanently turned off WIN_GUI_EDIT
- Permanently turned on WEBDAV and SPLIT_PROXY_ARGS

20 years agoRenaming _main() [mingw32 only] to real_main(), for ANSI compliance.
jongfoster [Sun, 29 Jul 2001 19:32:00 +0000 (19:32 +0000)]
Renaming _main() [mingw32 only] to real_main(), for ANSI compliance.

20 years agoRebuilt based on latest acconfig.h
jongfoster [Sun, 29 Jul 2001 19:09:45 +0000 (19:09 +0000)]
Rebuilt based on latest acconfig.h

20 years agoChanging _CONFIG_H to CONFIG_H_INCLUDED.
jongfoster [Sun, 29 Jul 2001 19:08:52 +0000 (19:08 +0000)]
Changing _CONFIG_H to CONFIG_H_INCLUDED.
Also added protection against using a MinGW32 or CygWin version of
config.h from within MS Visual C++

20 years agoChanged _FILENAME_H to FILENAME_H_INCLUDED.
jongfoster [Sun, 29 Jul 2001 19:01:11 +0000 (19:01 +0000)]
Changed _FILENAME_H to FILENAME_H_INCLUDED.
Added forward declarations for needed structures.

20 years ago- Changing #define _KILLPOPUP_H to KILLPOPUP_H_INCLUDED
jongfoster [Sun, 29 Jul 2001 18:59:21 +0000 (18:59 +0000)]
- Changing #define _KILLPOPUP_H to KILLPOPUP_H_INCLUDED
- Adding extern "C" {}

20 years agoRemoving nested #includes, adding forward declarations for needed
jongfoster [Sun, 29 Jul 2001 18:58:15 +0000 (18:58 +0000)]
Removing nested #includes, adding forward declarations for needed
structures, and changing the #define _FILENAME_H to FILENAME_H_INCLUDED.

20 years agoRenaming _PCRS_H, and adding "extern C {}"
jongfoster [Sun, 29 Jul 2001 18:52:06 +0000 (18:52 +0000)]
Renaming _PCRS_H, and adding "extern C {}"

20 years agoAdding editor control block, and renaming _SHOWARGS_H
jongfoster [Sun, 29 Jul 2001 18:51:02 +0000 (18:51 +0000)]
Adding editor control block, and renaming _SHOWARGS_H

20 years agoFixing "extern C" block, and renaming #define _DEANIMATE_H
jongfoster [Sun, 29 Jul 2001 18:50:04 +0000 (18:50 +0000)]
Fixing "extern C" block, and renaming #define _DEANIMATE_H

20 years agoAdding missing #include project.h
jongfoster [Sun, 29 Jul 2001 18:47:57 +0000 (18:47 +0000)]
Adding missing #include project.h

20 years agoAdding missing #include "loadcfg.h"
jongfoster [Sun, 29 Jul 2001 18:47:05 +0000 (18:47 +0000)]
Adding missing #include "loadcfg.h"

20 years agoChanging #ifdef _FILENAME_H to FILENAME_H_INCLUDED, to conform to
jongfoster [Sun, 29 Jul 2001 18:43:08 +0000 (18:43 +0000)]
Changing #ifdef _FILENAME_H to FILENAME_H_INCLUDED, to conform to
ANSI C rules.

20 years agoNow prints thread ID for each message (pthreads only)
jongfoster [Sun, 29 Jul 2001 17:41:10 +0000 (17:41 +0000)]
Now prints thread ID for each message (pthreads only)

20 years agoFixed compiler warning by adding a cast
jongfoster [Sun, 29 Jul 2001 17:40:43 +0000 (17:40 +0000)]
Fixed compiler warning by adding a cast

20 years agoCosmetic: 2 spaces -> 1 space
jongfoster [Sun, 29 Jul 2001 17:29:12 +0000 (17:29 +0000)]
Cosmetic: 2 spaces -> 1 space

20 years agoRebuilt based on latest configure.in
jongfoster [Sun, 29 Jul 2001 17:28:38 +0000 (17:28 +0000)]
Rebuilt based on latest configure.in

20 years agoRebuilt based on latest configure.in and acconfig.h
jongfoster [Sun, 29 Jul 2001 17:28:11 +0000 (17:28 +0000)]
Rebuilt based on latest configure.in and acconfig.h

20 years agoMajor changes to build system in order to fix these bugs:
jongfoster [Sun, 29 Jul 2001 17:09:17 +0000 (17:09 +0000)]
Major changes to build system in order to fix these bugs:
- pthreads under Linux was broken - changed -lpthread to -pthread
- Compiling in MinGW32 mode under CygWin now correctly detects
  which shared libraries are available
- Solaris support (?) (Not tested under Solaris yet)

20 years agoAdding standard AutoConf support files which are needed by ./configure.
jongfoster [Sun, 29 Jul 2001 14:26:08 +0000 (14:26 +0000)]
Adding standard AutoConf support files which are needed by ./configure.

20 years agoApplied pthread fix by Paul Lieverse
oes [Sun, 29 Jul 2001 12:17:48 +0000 (12:17 +0000)]
Applied pthread fix by Paul Lieverse

20 years agoFixed sed LF->CRLF conversion and removed deprecated files
oes [Sat, 28 Jul 2001 16:44:54 +0000 (16:44 +0000)]
Fixed sed LF->CRLF conversion and removed deprecated files

20 years agoUnblocked prdownloads.sourceforge.net
oes [Thu, 26 Jul 2001 21:09:18 +0000 (21:09 +0000)]
Unblocked prdownloads.sourceforge.net

20 years agoadded new log level for popups
haroon [Thu, 26 Jul 2001 15:06:21 +0000 (15:06 +0000)]
added new log level for popups

20 years agoRenaming #define STATIC to STATIC_PCRE
oes [Thu, 26 Jul 2001 10:33:14 +0000 (10:33 +0000)]
Renaming #define STATIC to STATIC_PCRE

20 years agoMade browser detection a little less naive
oes [Thu, 26 Jul 2001 10:09:46 +0000 (10:09 +0000)]
Made browser detection a little less naive

20 years ago__BEOS__ no longer overrides FEATURE_PTHREAD.
jongfoster [Wed, 25 Jul 2001 22:57:13 +0000 (22:57 +0000)]
__BEOS__ no longer overrides FEATURE_PTHREAD.
This is because FEATURE_PTHREAD will soon be widely used, so I
want to keep it simple.

20 years agoWill #error if pthreads is enabled under BeOs
jongfoster [Wed, 25 Jul 2001 22:55:10 +0000 (22:55 +0000)]
Will #error if pthreads is enabled under BeOs

20 years agoBumping version number to 2.9.8
oes [Wed, 25 Jul 2001 19:16:27 +0000 (19:16 +0000)]
Bumping version number to 2.9.8

20 years agoAdded workaround for Netscape bug that prevents display of page when loading a compon...
oes [Wed, 25 Jul 2001 17:22:51 +0000 (17:22 +0000)]
Added workaround for Netscape bug that prevents display of page when loading a component fails.

20 years agoclient_uagent now saves copy of User-Agent: header value
oes [Wed, 25 Jul 2001 17:21:54 +0000 (17:21 +0000)]
client_uagent now saves copy of User-Agent: header value

20 years agoIntroduced http->user_agent
oes [Wed, 25 Jul 2001 17:20:27 +0000 (17:20 +0000)]
Introduced http->user_agent

20 years agoAdded squid chainings hints by Peter <pb@bieringer.de>
oes [Wed, 25 Jul 2001 13:48:54 +0000 (13:48 +0000)]
Added squid chainings hints by Peter <pb@bieringer.de>

20 years agoApplied BeOS support update by Eugenia
oes [Tue, 24 Jul 2001 12:47:06 +0000 (12:47 +0000)]
Applied BeOS support update by Eugenia

20 years agoFixed bug that caused document body to be dropped when pcrs joblist was empty.
oes [Mon, 23 Jul 2001 13:40:12 +0000 (13:40 +0000)]
Fixed bug that caused document body to be dropped when pcrs joblist was empty.

20 years agoFixed bug in popup-killing for the first read that caused binary garbage to be sent...
oes [Mon, 23 Jul 2001 13:26:12 +0000 (13:26 +0000)]
Fixed bug in popup-killing for the first read that caused binary garbage to be sent between headers and body

20 years agoBumping version number to 2.9.7
jongfoster [Sat, 21 Jul 2001 18:00:07 +0000 (18:00 +0000)]
Bumping version number to 2.9.7

20 years agoAdding version information block.
jongfoster [Sat, 21 Jul 2001 17:53:41 +0000 (17:53 +0000)]
Adding version information block.

20 years ago- In v1.5 forgot to add that I implemented LOG_LEVEL_POPUPS in errlog.c,
haroon [Fri, 20 Jul 2001 19:29:25 +0000 (19:29 +0000)]
- In v1.5 forgot to add that I implemented LOG_LEVEL_POPUPS in errlog.c,
  errlog.h and killpopup.c. In that case, it is superfluous to have define for
  POPUP_VERBOSE, so I removed the defines and logging is now done
  via log_error(LOG_LEVEL_POPUPS, ....)

20 years agoFixed indentation of prepocessor commands
oes [Fri, 20 Jul 2001 15:51:54 +0000 (15:51 +0000)]
Fixed indentation of prepocessor commands

20 years ago- per Guy's suggestion, added a while loop in sweep() to catch not just
haroon [Fri, 20 Jul 2001 15:16:17 +0000 (15:16 +0000)]
- per Guy's suggestion, added a while loop in sweep() to catch not just
  the last inactive CSP but all other consecutive inactive CSPs after that
  as well

20 years agoAdded Rodneys javascript cookie filter
oes [Fri, 20 Jul 2001 11:04:26 +0000 (11:04 +0000)]
Added Rodneys javascript cookie filter

20 years ago- ignore vc_junkbuster.plg and w32.aps
haroon [Thu, 19 Jul 2001 19:19:08 +0000 (19:19 +0000)]
- ignore vc_junkbuster.plg and w32.aps

20 years ago- Added a FIXME for EditFile but didn't fix :-)
haroon [Thu, 19 Jul 2001 19:15:14 +0000 (19:15 +0000)]
- Added a FIXME for EditFile but didn't fix :-)

20 years ago- Removed all #ifdef PCRS. The .rc file extension had eluded Andreas.
haroon [Thu, 19 Jul 2001 19:14:19 +0000 (19:14 +0000)]
-  Removed all #ifdef PCRS. The .rc file extension had eluded Andreas.

20 years ago- Implemented Guy's idea of replacing window.open( with 1;''.concat(
haroon [Thu, 19 Jul 2001 19:11:35 +0000 (19:11 +0000)]
- Implemented Guy's idea of replacing window.open( with 1;''.concat(
- Implemented Guy's idea of replacing .resizeTo( with .scrollTo(

20 years ago- Added code to take care of the situation where while processing the first
haroon [Thu, 19 Jul 2001 19:09:47 +0000 (19:09 +0000)]
- Added code to take care of the situation where while processing the first
  server response (which includes the server header), after finding the end
  of the headers we were not looking past the end of the headers for
  content modification. I enabled it for filter_popups.
  Someone else should look to see if other similar operations should be
  done to the discarded portion of the buffer.

20 years ago- Added case for LOG_LEVEL_POPUPS
haroon [Thu, 19 Jul 2001 19:03:48 +0000 (19:03 +0000)]
- Added case for LOG_LEVEL_POPUPS

20 years agoAdded define for LOG_LEVEL_POPUPS
haroon [Thu, 19 Jul 2001 19:02:53 +0000 (19:02 +0000)]
Added define for LOG_LEVEL_POPUPS

20 years agoAdapted to new #defines
oes [Wed, 18 Jul 2001 17:27:22 +0000 (17:27 +0000)]
Adapted to new #defines

20 years agoChanged interface; Cosmetics
oes [Wed, 18 Jul 2001 17:27:00 +0000 (17:27 +0000)]
Changed interface; Cosmetics

20 years agoChanged to conform to new pcrs interface
oes [Wed, 18 Jul 2001 17:26:24 +0000 (17:26 +0000)]
Changed to conform to new pcrs interface

20 years agoFixed a typo in configure.in
oes [Wed, 18 Jul 2001 17:25:42 +0000 (17:25 +0000)]
Fixed a typo in configure.in

20 years agoFixed a typo
oes [Wed, 18 Jul 2001 17:25:04 +0000 (17:25 +0000)]
Fixed a typo

20 years agoimproved nuking of window.open
haroon [Wed, 18 Jul 2001 15:02:52 +0000 (15:02 +0000)]
improved nuking of window.open

20 years agoEliminated dirty hack for getsockbyname()
oes [Wed, 18 Jul 2001 13:47:59 +0000 (13:47 +0000)]
Eliminated dirty hack for getsockbyname()

20 years ago- Added ACTION_STRING_DEANIMATE
oes [Wed, 18 Jul 2001 12:32:23 +0000 (12:32 +0000)]
- Added ACTION_STRING_DEANIMATE
- moved #define freez from jcc.h to project.h

20 years agomoved #define freez from jcc.h to project.h
oes [Wed, 18 Jul 2001 12:31:58 +0000 (12:31 +0000)]
moved #define freez from jcc.h to project.h

20 years agocosmetics
oes [Wed, 18 Jul 2001 12:31:36 +0000 (12:31 +0000)]
cosmetics

20 years ago- Made gif_deanimate_response respect
oes [Wed, 18 Jul 2001 12:29:34 +0000 (12:29 +0000)]
- Made gif_deanimate_response respect
  csp->action->string[ACTION_STRING_DEANIMATE]
- Logging cosmetics

20 years agoUpdated prototype for gif_deanimate
oes [Wed, 18 Jul 2001 12:29:05 +0000 (12:29 +0000)]
Updated prototype for gif_deanimate

20 years ago- Added feature for extracting the first frame
oes [Wed, 18 Jul 2001 12:28:49 +0000 (12:28 +0000)]
- Added feature for extracting the first frame
  to gif_deanimate
- Separated image buffer extension into buf_extend
- Extended gif deanimation to GIF87a (untested!)
- Cosmetics

20 years agoUpdated example for debug CLF
oes [Wed, 18 Jul 2001 12:28:20 +0000 (12:28 +0000)]
Updated example for debug CLF

20 years ago- Changed deanimate-gifs to string action
oes [Wed, 18 Jul 2001 12:27:33 +0000 (12:27 +0000)]
- Changed deanimate-gifs to string action
- Updated documentation for deanimate-gifs

20 years agoChanged deanimate-gifs to string action
oes [Wed, 18 Jul 2001 12:27:03 +0000 (12:27 +0000)]
Changed deanimate-gifs to string action

20 years agoFixed segv when last line in config files
oes [Tue, 17 Jul 2001 13:07:01 +0000 (13:07 +0000)]
Fixed segv when last line in config files
 lacked a terminating (\r)\n

20 years agoNew build files for VC++ which provide the option of POSIX
jongfoster [Sun, 15 Jul 2001 20:08:40 +0000 (20:08 +0000)]
New build files for VC++ which provide the option of POSIX
or Win32 threads.

20 years agoAdded support for linking with POSIX threads library
jongfoster [Sun, 15 Jul 2001 19:45:33 +0000 (19:45 +0000)]
Added support for linking with POSIX threads library

20 years agoSupports POSIX threads.
jongfoster [Sun, 15 Jul 2001 19:43:49 +0000 (19:43 +0000)]
Supports POSIX threads.
Also removed some unused #includes.

20 years agoRenaming STATIC to STATIC_PCRE.
jongfoster [Sun, 15 Jul 2001 18:00:46 +0000 (18:00 +0000)]
Renaming STATIC to STATIC_PCRE.
Replacing this file with one built by "configure" from
"config.h.in", for consistency.

20 years agoRenaming #define STATIC to STATIC_PCRE
jongfoster [Sun, 15 Jul 2001 17:54:29 +0000 (17:54 +0000)]
Renaming #define STATIC to STATIC_PCRE
Adding new #define FEATURE_PTHREAD that will be used to enable
POSIX threads support.