privoxy.git
23 years agoAll the functions in this file have been moved to cgisimple.c or loadcfg.c
jongfoster [Sun, 16 Sep 2001 17:11:46 +0000 (17:11 +0000)]
All the functions in this file have been moved to cgisimple.c or loadcfg.c

23 years agoMoving function savearg() here, since it was the only thing left in
jongfoster [Sun, 16 Sep 2001 17:10:43 +0000 (17:10 +0000)]
Moving function savearg() here, since it was the only thing left in
showargs.c.

23 years agoMoving simple CGI functions from cgi.c to new file cgisimple.c
jongfoster [Sun, 16 Sep 2001 17:08:54 +0000 (17:08 +0000)]
Moving simple CGI functions from cgi.c to new file cgisimple.c

23 years agoRemoving unused #include showarg.h
jongfoster [Sun, 16 Sep 2001 17:05:14 +0000 (17:05 +0000)]
Removing unused #include showarg.h

23 years agoBugfix - couldn't build resources with previous version.
jongfoster [Sun, 16 Sep 2001 16:59:34 +0000 (16:59 +0000)]
Bugfix - couldn't build resources with previous version.

23 years agoNew version based on latest configure.in and acconfig.h
jongfoster [Sun, 16 Sep 2001 16:19:02 +0000 (16:19 +0000)]
New version based on latest configure.in and acconfig.h

23 years agoFirst version of CGI-based edit interface. This is very much a
jongfoster [Sun, 16 Sep 2001 15:47:37 +0000 (15:47 +0000)]
First version of CGI-based edit interface.  This is very much a
work-in-progress, and you can't actually use it to edit anything
yet.  You must #define FEATURE_CGI_EDIT_ACTIONS for these changes
to have any effect.

23 years agoFixing signed/unsigned comparison warning.
jongfoster [Sun, 16 Sep 2001 15:41:45 +0000 (15:41 +0000)]
Fixing signed/unsigned comparison warning.

23 years agoAdding i.j.b/robots.txt.
jongfoster [Sun, 16 Sep 2001 15:02:35 +0000 (15:02 +0000)]
Adding i.j.b/robots.txt.
Inlining add_stats() since it's only ever called from one place.

23 years agoChanges to use new list functions.
jongfoster [Sun, 16 Sep 2001 13:21:27 +0000 (13:21 +0000)]
Changes to use new list functions.

23 years agoRewrite of list library. Now has seperate header and list_entry
jongfoster [Sun, 16 Sep 2001 13:20:29 +0000 (13:20 +0000)]
Rewrite of list library.  Now has seperate header and list_entry
structures.  Also added a large sprinking of assert()s to the list
code.

23 years agoRemoving redundant function call that zeroed zalloc()'d memory.
jongfoster [Sun, 16 Sep 2001 13:01:46 +0000 (13:01 +0000)]
Removing redundant function call that zeroed zalloc()'d memory.

23 years agoSplitting fill_template() into 2 functions:
jongfoster [Sun, 16 Sep 2001 11:38:02 +0000 (11:38 +0000)]
Splitting fill_template() into 2 functions:
template_load() loads the file
template_fill() performs the PCRS regexps.
This is because the CGI edit interface has a "table row"
template which is used many times in the page - this
change means it's only loaded from disk once.

23 years agoBetter error handling in dispatch_cgi() and parse_cgi_parameters()
jongfoster [Sun, 16 Sep 2001 11:16:05 +0000 (11:16 +0000)]
Better error handling in dispatch_cgi() and parse_cgi_parameters()

23 years agoNew function alloc_http_response, for symmetry with free_http_response
jongfoster [Sun, 16 Sep 2001 11:00:10 +0000 (11:00 +0000)]
New function alloc_http_response, for symmetry with free_http_response

23 years agoRemove test for subsys flag in start. Some minor changes.
steudten [Sat, 15 Sep 2001 01:53:12 +0000 (01:53 +0000)]
Remove test for subsys flag in start. Some minor changes.

23 years ago%changelog
hal9 [Fri, 14 Sep 2001 23:28:29 +0000 (23:28 +0000)]
%changelog
* Thu Sep 13 2001 Hal Burgiss <hal@foobox.net>
- Added $RPM_OPT_FLAGS support, renaming of old logfile, and
- made sure no default shell exists for user junkbust.

Stefan and Thomas -- if you see this, see what you think of the CFLAGS
handling. The Makefile changed how this is handled recently, and what I've now
done is:

OPT_FLAGS="$RPM_OPT_FLAGS -Ipcre -Wall"
./configure
make "CFLAGS=$OPT_FLAGS"

Which 'works', but not sure what the best way to handle this. If I use
OTHER_FLAGS instead, I get duplicate gcc flag output like '-02 -03....'. Not
sure this is so bad, but at best, seems sloppy.

23 years agotest
hal9 [Fri, 14 Sep 2001 21:28:12 +0000 (21:28 +0000)]
test

23 years agoTidying up memory allocation. New function init_action().
jongfoster [Fri, 14 Sep 2001 00:17:32 +0000 (00:17 +0000)]
Tidying up memory allocation. New function init_action().

23 years agoSupport for both static and dynamically generated CGI pages.
jongfoster [Thu, 13 Sep 2001 23:53:03 +0000 (23:53 +0000)]
Support for both static and dynamically generated CGI pages.
Correctly setting Last-Modified: and Expires: HTTP headers.

23 years agoSupport for both static and dynamically generated CGI pages
jongfoster [Thu, 13 Sep 2001 23:52:00 +0000 (23:52 +0000)]
Support for both static and dynamically generated CGI pages

23 years ago(Cosmetic only) Indentation correction
jongfoster [Thu, 13 Sep 2001 23:40:36 +0000 (23:40 +0000)]
(Cosmetic only) Indentation correction

23 years agoMoving image data to cgi.c rather than cgi.h
jongfoster [Thu, 13 Sep 2001 23:32:40 +0000 (23:32 +0000)]
Moving image data to cgi.c rather than cgi.h
Fixing a GPF under Win32 (and any other OS that protects global
constants from being written to).

23 years agoMoving image data to cgi.c rather than cgi.h.
jongfoster [Thu, 13 Sep 2001 23:31:25 +0000 (23:31 +0000)]
Moving image data to cgi.c rather than cgi.h.

23 years agoDefining FORWARD_SPEC_INITIALIZER
jongfoster [Thu, 13 Sep 2001 23:29:43 +0000 (23:29 +0000)]
Defining FORWARD_SPEC_INITIALIZER

23 years agoChanging the string paramater to the header parsers a "const".
jongfoster [Thu, 13 Sep 2001 23:05:50 +0000 (23:05 +0000)]
Changing the string paramater to the header parsers a "const".

23 years agoAdding {} to an if statement
jongfoster [Thu, 13 Sep 2001 22:44:03 +0000 (22:44 +0000)]
Adding {} to an if statement

23 years agoFixing potential problems with characters >=128 in simplematch()
jongfoster [Thu, 13 Sep 2001 20:51:29 +0000 (20:51 +0000)]
Fixing potential problems with characters >=128 in simplematch()
This was also a compiler warning.

23 years agoFixing a compiler warning by adding a cast.
jongfoster [Thu, 13 Sep 2001 20:15:37 +0000 (20:15 +0000)]
Fixing a compiler warning by adding a cast.

23 years agoFixing 2 compiler warnings under Win32
jongfoster [Thu, 13 Sep 2001 20:11:46 +0000 (20:11 +0000)]
Fixing 2 compiler warnings under Win32

23 years agoFixing missing #include under Windows
jongfoster [Thu, 13 Sep 2001 20:10:12 +0000 (20:10 +0000)]
Fixing missing #include under Windows

23 years agoAdding support for LOG_LEVEL_CGI
jongfoster [Thu, 13 Sep 2001 20:08:06 +0000 (20:08 +0000)]
Adding support for LOG_LEVEL_CGI

23 years agoReverting to revision 1.10 - previous checking was majorly broken.
jongfoster [Thu, 13 Sep 2001 19:56:37 +0000 (19:56 +0000)]
Reverting to revision 1.10 - previous checking was majorly broken.

23 years agoman page is legacy. suse rpm now contains html
swa [Thu, 13 Sep 2001 16:22:42 +0000 (16:22 +0000)]
man page is legacy. suse rpm now contains html
documentation.

23 years agocosmetics
swa [Thu, 13 Sep 2001 15:27:40 +0000 (15:27 +0000)]
cosmetics

23 years agoshould give quick and dirty guidance
swa [Thu, 13 Sep 2001 15:24:30 +0000 (15:24 +0000)]
should give quick and dirty guidance

23 years agomerged standards into developer manual
swa [Thu, 13 Sep 2001 15:21:41 +0000 (15:21 +0000)]
merged standards into developer manual

23 years agowe want text files as well.
swa [Thu, 13 Sep 2001 15:19:08 +0000 (15:19 +0000)]
we want text files as well.

23 years agoGenerated from configure.in
steudten [Thu, 13 Sep 2001 13:43:13 +0000 (13:43 +0000)]
Generated from configure.in

23 years agoReplace DEBUG_CFLAGS with OTHER_CFLAGS
steudten [Thu, 13 Sep 2001 13:11:37 +0000 (13:11 +0000)]
Replace DEBUG_CFLAGS with OTHER_CFLAGS

23 years agoPreWork for Debug Interface.
steudten [Thu, 13 Sep 2001 13:10:24 +0000 (13:10 +0000)]
PreWork for Debug Interface.
Add new option "--with-debug" to enable debugging (flags aso.)

23 years agoA couple of minor tweaks:
David Schmidt [Thu, 13 Sep 2001 01:24:07 +0000 (01:24 +0000)]
A couple of minor tweaks:
- Cleaned up warnings on OS/2 and OSX
- Gave support to those needing <sys/malloc.h> instead of <malloc.h>

23 years agoMac OSX (Darwin) support added.
David Schmidt [Wed, 12 Sep 2001 23:44:55 +0000 (23:44 +0000)]
Mac OSX (Darwin) support added.

23 years agoAmigaOS support added.
joergs [Wed, 12 Sep 2001 22:55:45 +0000 (22:55 +0000)]
AmigaOS support added.

23 years agoStacksize of main thread increased.
joergs [Wed, 12 Sep 2001 22:54:51 +0000 (22:54 +0000)]
Stacksize of main thread increased.

23 years agoIn parse_http_request() header rewriting miss the host value, so
steudten [Wed, 12 Sep 2001 18:08:19 +0000 (18:08 +0000)]
In parse_http_request() header rewriting miss the host value, so
from http://www.mydomain.com the result was just " / " not
http://www.mydomain.com/ in case we forward.

23 years agoadd #include <string.h>
steudten [Wed, 12 Sep 2001 17:58:26 +0000 (17:58 +0000)]
add #include <string.h>

23 years agoOS/2 port: update autoconf'd support for the platform.
David Schmidt [Wed, 12 Sep 2001 17:28:59 +0000 (17:28 +0000)]
OS/2 port: update autoconf'd support for the platform.

23 years agoadded "make dok" section to generate html pages from
swa [Wed, 12 Sep 2001 16:28:42 +0000 (16:28 +0000)]
added "make dok" section to generate html pages from
the sgml source documents. note that the we do not want
generated stuff in cvs.

23 years agocould not find docbook.dsl
swa [Wed, 12 Sep 2001 16:19:51 +0000 (16:19 +0000)]
could not find docbook.dsl

23 years agoMiniscule English edits on template HTML
David Schmidt [Wed, 12 Sep 2001 16:07:04 +0000 (16:07 +0000)]
Miniscule English edits on template HTML

23 years agowill be generated in the future
swa [Wed, 12 Sep 2001 16:05:41 +0000 (16:05 +0000)]
will be generated in the future

23 years agoignore generated files
swa [Wed, 12 Sep 2001 15:40:03 +0000 (15:40 +0000)]
ignore generated files

23 years agosource files for junkbuster documentation
swa [Wed, 12 Sep 2001 15:36:41 +0000 (15:36 +0000)]
source files for junkbuster documentation

23 years agomoved old junkbuster docs to obsolete/
swa [Wed, 12 Sep 2001 15:35:10 +0000 (15:35 +0000)]
moved old junkbuster docs to obsolete/

23 years agoNewest version from gnu.org
steudten [Wed, 12 Sep 2001 13:56:47 +0000 (13:56 +0000)]
Newest version from gnu.org

23 years agoReplacing text version of coding standards with a HTML one.
jongfoster [Mon, 10 Sep 2001 19:00:25 +0000 (19:00 +0000)]
Replacing text version of coding standards with a HTML one.
This is a cosmetic change only.

23 years agoChanges discussed in my e-mail of 10/9/01 - mainly typos and minor
jongfoster [Mon, 10 Sep 2001 18:37:48 +0000 (18:37 +0000)]
Changes discussed in my e-mail of 10/9/01 - mainly typos and minor
corrections, but also added "extern C" and "-Wall" sections

23 years agointegrate three pieces of documentation. needs work.
swa [Mon, 10 Sep 2001 17:44:43 +0000 (17:44 +0000)]
integrate three pieces of documentation. needs work.
will not build cleanly under redhat.

23 years agointegrate three pieces of documentation.
swa [Mon, 10 Sep 2001 17:44:22 +0000 (17:44 +0000)]
integrate three pieces of documentation.

23 years agofirst proposal of a structure.
swa [Mon, 10 Sep 2001 17:43:59 +0000 (17:43 +0000)]
first proposal of a structure.

23 years agodoc and testing guidelines should be part of the developers manual.
swa [Mon, 10 Sep 2001 17:06:41 +0000 (17:06 +0000)]
doc and testing guidelines should be part of the developers manual.

23 years agobuildroot definition in the specfile fucks up the build
swa [Mon, 10 Sep 2001 16:31:23 +0000 (16:31 +0000)]
buildroot definition in the specfile fucks up the build
process under suse. hence I moved it to the "rpm -ta"
command

23 years agobinary contained debug info.
swa [Mon, 10 Sep 2001 16:29:23 +0000 (16:29 +0000)]
binary contained debug info.
buildroot definition fucks up the build process under suse.
program needs to write in varlogjunkbuster
install all templates
create varlogjunkbuster

23 years agojb did not start. none of the arguments worked. fixed.
swa [Mon, 10 Sep 2001 16:25:46 +0000 (16:25 +0000)]
jb did not start. none of the arguments worked. fixed.

23 years agocopy all templates. version updated.
swa [Mon, 10 Sep 2001 16:25:04 +0000 (16:25 +0000)]
copy all templates. version updated.

23 years agoDeclaration of w32_socket_strerr now conditional
oes [Mon, 10 Sep 2001 11:27:24 +0000 (11:27 +0000)]
Declaration of w32_socket_strerr now conditional

23 years agoTurning on -Wall
oes [Mon, 10 Sep 2001 11:12:49 +0000 (11:12 +0000)]
Turning on -Wall

23 years agoDeleted unused variable
oes [Mon, 10 Sep 2001 11:12:24 +0000 (11:12 +0000)]
Deleted unused variable

23 years agoSilenced compiler warnings
oes [Mon, 10 Sep 2001 10:58:53 +0000 (10:58 +0000)]
Silenced compiler warnings

23 years agoAdded #include in.h
oes [Mon, 10 Sep 2001 10:41:16 +0000 (10:41 +0000)]
Added #include in.h

23 years agoSilenced compiler warnings
oes [Mon, 10 Sep 2001 10:18:51 +0000 (10:18 +0000)]
Silenced compiler warnings

23 years agoRemoved unused variable; Fixed sprintf format
oes [Mon, 10 Sep 2001 10:17:13 +0000 (10:17 +0000)]
Removed unused variable; Fixed sprintf format

23 years agoRemoving unused variable
oes [Mon, 10 Sep 2001 10:14:34 +0000 (10:14 +0000)]
Removing unused variable

23 years agoFixing yet another silly bug
oes [Sun, 9 Sep 2001 21:41:57 +0000 (21:41 +0000)]
Fixing yet another silly bug

23 years agoFixed example
oes [Fri, 7 Sep 2001 16:43:50 +0000 (16:43 +0000)]
Fixed example

23 years agoFormatting, copyright
oes [Thu, 6 Sep 2001 14:07:43 +0000 (14:07 +0000)]
Formatting, copyright

23 years agoFixed silly bug
oes [Thu, 6 Sep 2001 14:05:59 +0000 (14:05 +0000)]
Fixed silly bug

23 years agoWrote a manpage, finally
oes [Sat, 18 Aug 2001 11:36:32 +0000 (11:36 +0000)]
Wrote a manpage, finally

23 years ago- Introduced pcrs_strerror()
oes [Sat, 18 Aug 2001 11:35:29 +0000 (11:35 +0000)]
- Introduced pcrs_strerror()
- added pcrs_execute_list()

23 years ago- Introduced pcrs_strerror()
oes [Sat, 18 Aug 2001 11:35:00 +0000 (11:35 +0000)]
- Introduced pcrs_strerror()
- made some NULL arguments non-fatal
- added support for \n \r \e \b \t \f \a \0 in substitute
- made quoting adhere to standard rules
- added warning for bad backrefs
- added pcrs_execute_list()
- fixed comments
- bugfix & cosmetics

23 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

23 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

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

23 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.

23 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).

23 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

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

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

23 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]

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

23 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".

23 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.

23 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.

23 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.

23 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.

23 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.

23 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

23 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()

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