privoxy.git
16 years agoSet CODE_STATUS to beta.
Fabian Keil [Sat, 14 Jun 2008 12:47:30 +0000 (12:47 +0000)]
Set CODE_STATUS to beta.

16 years agoUpdate the "What's New in this Release" section with
Fabian Keil [Fri, 13 Jun 2008 16:24:53 +0000 (16:24 +0000)]
Update the "What's New in this Release" section with
the ChangeLog entries changelog2doc.pl could handle.

16 years agoUpdate the "What's New in this Release" section with
Fabian Keil [Fri, 13 Jun 2008 16:06:48 +0000 (16:06 +0000)]
Update the "What's New in this Release" section with
the ChangeLog entries changelog2doc.pl could handle.

16 years ago- Bring back the section header underlinings.
Fabian Keil [Fri, 13 Jun 2008 15:41:42 +0000 (15:41 +0000)]
- Bring back the section header underlinings.
- Be more consistent in the Windows section and
  out-comment empty lines as well.

16 years agoMove previously inline'd Perl code for the config-file target
Fabian Keil [Fri, 13 Jun 2008 15:25:03 +0000 (15:25 +0000)]
Move previously inline'd Perl code for the config-file target
into a separate file, have it work with older perl releases,
clean it up a bit and fix the "underlining" code.

16 years agoAdd third-level domain to URL in dok-get target.
Fabian Keil [Thu, 12 Jun 2008 16:38:50 +0000 (16:38 +0000)]
Add third-level domain to URL in dok-get target.

16 years agoAdd a filter to make updating the "What's New in this Release"
Fabian Keil [Mon, 9 Jun 2008 17:53:02 +0000 (17:53 +0000)]
Add a filter to make updating the "What's New in this Release"
section in the User Manual less painful.

16 years agoMention some more changes.
Fabian Keil [Mon, 9 Jun 2008 17:43:45 +0000 (17:43 +0000)]
Mention some more changes.

16 years ago- Recommend https for releasing files.
Fabian Keil [Mon, 9 Jun 2008 17:28:31 +0000 (17:28 +0000)]
- Recommend https for releasing files.
- Fix a warning about datarootdir being ignored.

16 years agoSync with recent changes.
Fabian Keil [Sun, 8 Jun 2008 12:04:47 +0000 (12:04 +0000)]
Sync with recent changes.

16 years ago- Show a warning if the soon-to-be-removed static PCRE code is used.
Fabian Keil [Sun, 8 Jun 2008 11:55:09 +0000 (11:55 +0000)]
- Show a warning if the soon-to-be-removed static PCRE code is used.
- Hide the "using built-in static pcrs" message. With dynamic linking
  against PCRS disabled, the message isn't particularly useful.

16 years ago- Note that the "100% cpu problem" is worth
Fabian Keil [Sat, 7 Jun 2008 13:11:15 +0000 (13:11 +0000)]
- Note that the "100% cpu problem" is worth
  reporting if it happens with a recent release.
- Mention the hostname option as a workaround for
  the "can't get my own hostname" issue.
- The profile formerly known as "Adventuresome"
  is called "Advanced" now.
- Some white-space fixes.

16 years ago- Minor rewordings.
Fabian Keil [Fri, 6 Jun 2008 15:32:09 +0000 (15:32 +0000)]
- Minor rewordings.
- Don't claim that all the old Junkbuster features remain.
  Some of them have been removed or replaced with better ones.

16 years agoRemove now-useless reference to debug.
Fabian Keil [Fri, 30 May 2008 15:57:23 +0000 (15:57 +0000)]
Remove now-useless reference to debug.

16 years agoDeclare variable "debug" static and complain about its name.
Fabian Keil [Fri, 30 May 2008 15:55:25 +0000 (15:55 +0000)]
Declare variable "debug" static and complain about its name.

16 years agoRemove questionable micro-optimizations
Fabian Keil [Fri, 30 May 2008 15:50:08 +0000 (15:50 +0000)]
Remove questionable micro-optimizations
whose usefulness has never been measured.

16 years ago- Add %config directive for url-info-osd.xml.
Fabian Keil [Fri, 30 May 2008 15:06:42 +0000 (15:06 +0000)]
- Add %config directive for url-info-osd.xml.
  As usual, this hasn't been tested.
- Fix comment typo.

16 years agoAdd dumb fetch test for the show-url-info OpenSearch description.
Fabian Keil [Wed, 28 May 2008 17:07:03 +0000 (17:07 +0000)]
Add dumb fetch test for the show-url-info OpenSearch description.

16 years agoProvide an OpenSearch Description to access the
Fabian Keil [Mon, 26 May 2008 17:30:59 +0000 (17:30 +0000)]
Provide an OpenSearch Description to access the
show-url-info page through "search engine plugins".

16 years agoRequest heads for server-header-action tests at 127.0.0.1.
Fabian Keil [Mon, 26 May 2008 16:36:11 +0000 (16:36 +0000)]
Request heads for server-header-action tests at 127.0.0.1.

16 years ago- Fix spelling in template-not-found message.
Fabian Keil [Mon, 26 May 2008 16:23:19 +0000 (16:23 +0000)]
- Fix spelling in template-not-found message.
- Declare referrer_is_safe()'s alternative_prefix[] static.

16 years agoSpell error correctly.
Fabian Keil [Mon, 26 May 2008 16:16:55 +0000 (16:16 +0000)]
Spell error correctly.

16 years agoReuse directive_hash and don't hash the same directive twice.
Fabian Keil [Mon, 26 May 2008 16:13:22 +0000 (16:13 +0000)]
Reuse directive_hash and don't hash the same directive twice.

16 years agos@memorey@memory@
Fabian Keil [Mon, 26 May 2008 16:04:04 +0000 (16:04 +0000)]
s@memorey@memory@

16 years agos@Insufficent@Insufficient@
Fabian Keil [Mon, 26 May 2008 16:02:24 +0000 (16:02 +0000)]
s@Insufficent@Insufficient@

16 years ago- Update "default profiles" table.
Fabian Keil [Mon, 26 May 2008 15:55:46 +0000 (15:55 +0000)]
- Update "default profiles" table.
- Add some more pcrs redirect examples and note that
  enabling debug 128 helps to get redirects working.

16 years agoTry to use zlib by default, but just show a warning if it's
Fabian Keil [Sun, 25 May 2008 15:50:14 +0000 (15:50 +0000)]
Try to use zlib by default, but just show a warning if it's
unavailable. Remove --enable-zlib, add  --disable-zlib.

16 years agoDoh. Fix test for forbidden CONNECT requests which
Fabian Keil [Sat, 24 May 2008 18:28:14 +0000 (18:28 +0000)]
Doh. Fix test for forbidden CONNECT requests which
unintentionally relied on Advanced default settings.

16 years agoAllow to fuzz white space in test headers.
Fabian Keil [Sat, 24 May 2008 16:06:01 +0000 (16:06 +0000)]
Allow to fuzz white space in test headers.

16 years ago- Shorten meta description inserted in dok-webserver
Fabian Keil [Fri, 23 May 2008 18:03:12 +0000 (18:03 +0000)]
- Shorten meta description inserted in dok-webserver
  and dok-index target.
- In config-file target, unset LANG for w3m as we
  might otherwise end up with multi-byte characters.

16 years agoSync with p-config.sgml 2.30.
Fabian Keil [Fri, 23 May 2008 17:53:37 +0000 (17:53 +0000)]
Sync with p-config.sgml 2.30.

16 years agoSync with faq.sgml 2.40.
Fabian Keil [Fri, 23 May 2008 16:53:07 +0000 (16:53 +0000)]
Sync with faq.sgml 2.40.

16 years agoSync with user-manual.sgml 2.73.
Fabian Keil [Fri, 23 May 2008 16:46:02 +0000 (16:46 +0000)]
Sync with user-manual.sgml 2.73.

16 years ago- Fix GPL link to point to GPL version 2.
Fabian Keil [Fri, 23 May 2008 15:09:48 +0000 (15:09 +0000)]
- Fix GPL link to point to GPL version 2.
- Remove previously out-commented sections.
- Only list the FSF's address once.

16 years agoRemove previously out-commented block that caused syntax problems.
Fabian Keil [Fri, 23 May 2008 14:43:18 +0000 (14:43 +0000)]
Remove previously out-commented block that caused syntax problems.

16 years agoSilence dok-user complaint about @# not being found.
Fabian Keil [Fri, 23 May 2008 14:39:09 +0000 (14:39 +0000)]
Silence dok-user complaint about @# not being found.

16 years ago- Get config-file target working with more recent Perl
Fabian Keil [Fri, 23 May 2008 14:04:57 +0000 (14:04 +0000)]
- Get config-file target working with more recent Perl
  versions. The generated file is still messed up, though.
- Fix comment typo.

16 years agoFix coffee machine.
Fabian Keil [Thu, 22 May 2008 16:57:23 +0000 (16:57 +0000)]
Fix coffee machine.

16 years ago- Remove parsers.@OBJEXT@'s dependency on encode.h.
Fabian Keil [Thu, 22 May 2008 10:26:26 +0000 (10:26 +0000)]
- Remove parsers.@OBJEXT@'s dependency on encode.h.
- Include Emacs backup files in tidy target again.

16 years agoSync with default.filter. Why isn't this file
Fabian Keil [Wed, 21 May 2008 20:17:03 +0000 (20:17 +0000)]
Sync with default.filter. Why isn't this file
generated automatically anyway?

16 years agoThe whole point of strclean() is to modify the
Fabian Keil [Wed, 21 May 2008 20:12:11 +0000 (20:12 +0000)]
The whole point of strclean() is to modify the
first parameter, so don't mark it immutable,
even though the compiler lets us get away with it.

16 years agoAs the wafer actions are gone, we can stop including encode.h.
Fabian Keil [Wed, 21 May 2008 19:27:25 +0000 (19:27 +0000)]
As the wafer actions are gone, we can stop including encode.h.

16 years ago- Let the content-type tagger ignore headers without value.
Fabian Keil [Wed, 21 May 2008 18:44:43 +0000 (18:44 +0000)]
- Let the content-type tagger ignore headers without value.
- Remove a few unused lines at the end of the file.

16 years agoDitch cast from (char **) to (char **).
Fabian Keil [Wed, 21 May 2008 15:50:47 +0000 (15:50 +0000)]
Ditch cast from (char **) to (char **).

16 years agoStreamline sed()'s prototype and declare
Fabian Keil [Wed, 21 May 2008 15:47:15 +0000 (15:47 +0000)]
Streamline sed()'s prototype and declare
the header parse and add structures static.

16 years agoGarbage-collect cookie_encode().
Fabian Keil [Wed, 21 May 2008 15:38:13 +0000 (15:38 +0000)]
Garbage-collect cookie_encode().

16 years ago- Mark csp as immutable for block_acl().
Fabian Keil [Wed, 21 May 2008 15:35:08 +0000 (15:35 +0000)]
- Mark csp as immutable for block_acl().
- Remove an obsolete complaint about filter_popups().

16 years agoFix gcc43 warnings.
Fabian Keil [Wed, 21 May 2008 15:29:35 +0000 (15:29 +0000)]
Fix gcc43 warnings.

16 years ago- Mark csp as immutable for send_crunch_response().
Fabian Keil [Wed, 21 May 2008 15:26:32 +0000 (15:26 +0000)]
- Mark csp as immutable for send_crunch_response().
- Fix comment spelling.

16 years agoMark csp as immutable for a bunch of functions.
Fabian Keil [Wed, 21 May 2008 15:24:38 +0000 (15:24 +0000)]
Mark csp as immutable for a bunch of functions.

16 years agoFactor update_server_headers() out of sed(), ditch the
Fabian Keil [Tue, 20 May 2008 20:13:32 +0000 (20:13 +0000)]
Factor update_server_headers() out of sed(), ditch the
first_run hack and make server_patterns_light static.

16 years agoMove parsers structure definition from project.h to parsers.h.
Fabian Keil [Tue, 20 May 2008 16:05:09 +0000 (16:05 +0000)]
Move parsers structure definition from project.h to parsers.h.

16 years agoWrap memmove() calls in string_move()
Fabian Keil [Mon, 19 May 2008 17:18:04 +0000 (17:18 +0000)]
Wrap memmove() calls in string_move()
to document the purpose in one place.

16 years agoDeclare all members of the parsers structure immutable.
Fabian Keil [Mon, 19 May 2008 16:57:20 +0000 (16:57 +0000)]
Declare all members of the parsers structure immutable.

16 years agoAdd a bunch of LWS header tests.
Fabian Keil [Sat, 17 May 2008 14:16:29 +0000 (14:16 +0000)]
Add a bunch of LWS header tests.

16 years agoLet it digest shiny new LWS tests properly.
Fabian Keil [Sat, 17 May 2008 14:13:23 +0000 (14:13 +0000)]
Let it digest shiny new LWS tests properly.

16 years agoNormalize linear header white space.
Fabian Keil [Sat, 17 May 2008 14:02:07 +0000 (14:02 +0000)]
Normalize linear header white space.

16 years agoIf a header is split across multiple lines,
Fabian Keil [Fri, 16 May 2008 16:39:03 +0000 (16:39 +0000)]
If a header is split across multiple lines,
merge them to a single line before parsing them.

16 years agoDon't complain about an invalid URL if show-url-info is requested
Fabian Keil [Mon, 12 May 2008 14:51:30 +0000 (14:51 +0000)]
Don't complain about an invalid URL if show-url-info is requested
without parameters. Regression introduced in 1.81 by yours truly.

16 years agoClarify that Privoxy is licensed under GPL version 2.
Fabian Keil [Mon, 12 May 2008 11:13:33 +0000 (11:13 +0000)]
Clarify that Privoxy is licensed under GPL version 2.

16 years agoSynchronize content filter descriptions with the ones in default.filter.
Fabian Keil [Mon, 12 May 2008 10:26:14 +0000 (10:26 +0000)]
Synchronize content filter descriptions with the ones in default.filter.

16 years agoUpdate descriptions for header taggers and filters.
Fabian Keil [Mon, 12 May 2008 09:44:40 +0000 (09:44 +0000)]
Update descriptions for header taggers and filters.

16 years ago- Generate markup for all filter types currently supported by Privoxy.
Fabian Keil [Mon, 12 May 2008 09:31:36 +0000 (09:31 +0000)]
- Generate markup for all filter types currently supported by Privoxy.
- Put code into subroutines.

16 years ago- Use descriptive variable names.
Fabian Keil [Sun, 11 May 2008 15:33:35 +0000 (15:33 +0000)]
- Use descriptive variable names.
- Use strict mode.
- Add missing colon that got lost in the last commit.
- Prepare to support other filter types.

16 years agoSynchronize content filter descriptions with the ones in default.filter.
Fabian Keil [Sun, 11 May 2008 14:58:39 +0000 (14:58 +0000)]
Synchronize content filter descriptions with the ones in default.filter.

16 years ago- Generate enabled action lines for standard.action.
Fabian Keil [Sun, 11 May 2008 12:31:29 +0000 (12:31 +0000)]
- Generate enabled action lines for standard.action.
- "here-doc"ify generated markup.

16 years agoFix an assertion that could erroneously
Fabian Keil [Sat, 10 May 2008 20:01:47 +0000 (20:01 +0000)]
Fix an assertion that could erroneously
trigger in case of memory shortage.

16 years agoDon't provide get_header() with the whole client state
Fabian Keil [Sat, 10 May 2008 13:23:38 +0000 (13:23 +0000)]
Don't provide get_header() with the whole client state
structure when it only needs access to csp->iob.

16 years agoMake the "read the rest of the headers" loop a bit more readable.
Fabian Keil [Sat, 10 May 2008 11:51:12 +0000 (11:51 +0000)]
Make the "read the rest of the headers" loop a bit more readable.

16 years ago- Instead of logging when the IIS5 hack is enabled, log when it fails.
Fabian Keil [Sat, 10 May 2008 11:37:57 +0000 (11:37 +0000)]
- Instead of logging when the IIS5 hack is enabled, log when it fails.
- Remove useless comment.

16 years ago- Merge three string_append() calls.
Fabian Keil [Sat, 10 May 2008 09:03:16 +0000 (09:03 +0000)]
- Merge three string_append() calls.
- Remove useless assertion.

16 years agoFix comment grammar.
Fabian Keil [Fri, 9 May 2008 18:53:59 +0000 (18:53 +0000)]
Fix comment grammar.

16 years agoRemove the pointless buffer in client_protocol_is_unsupported().
Fabian Keil [Wed, 7 May 2008 18:05:53 +0000 (18:05 +0000)]
Remove the pointless buffer in client_protocol_is_unsupported().

16 years agoLeast-effort fix for bug #1821930 (reported by Lee):
Fabian Keil [Tue, 6 May 2008 15:09:00 +0000 (15:09 +0000)]
Least-effort fix for bug #1821930 (reported by Lee):
If the response doesn't look like HTTP,
tell the client and log the problem.

16 years agoBe more specific about which license we use.
Fabian Keil [Mon, 5 May 2008 10:48:55 +0000 (10:48 +0000)]
Be more specific about which license we use.

16 years agoAdd --fuzzer-address option to specify a different proxy address
Fabian Keil [Mon, 5 May 2008 10:10:57 +0000 (10:10 +0000)]
Add --fuzzer-address option to specify a different proxy address
for executing the regression tests. Useful to make sure that the
requests to load the regression tests don't fail due to fuzzing.

16 years agoAdd a show-url-info fetch test with an (invalid) ftp URL.
Fabian Keil [Mon, 5 May 2008 10:05:03 +0000 (10:05 +0000)]
Add a show-url-info fetch test with an (invalid) ftp URL.

16 years agoIf the provided URL isn't valid, don't show the
Fabian Keil [Mon, 5 May 2008 10:03:06 +0000 (10:03 +0000)]
If the provided URL isn't valid, don't show the
cgi-editor-is-disabled and filters-might-be-ineffective
sections.

16 years agoIn cgi_show_url_info(), make sure ftp URLs are
Fabian Keil [Mon, 5 May 2008 09:54:39 +0000 (09:54 +0000)]
In cgi_show_url_info(), make sure ftp URLs are
declared invalid. Also simplify the code that adds
"http://" if no protocol has been specified.

16 years agoDependency fixes: cgisimple.c and filters.c depend on urlmatch.h.
Fabian Keil [Sun, 4 May 2008 18:01:53 +0000 (18:01 +0000)]
Dependency fixes: cgisimple.c and filters.c depend on urlmatch.h.

16 years agoAdjust parse_http_url() call to new prototype.
Fabian Keil [Sun, 4 May 2008 17:52:56 +0000 (17:52 +0000)]
Adjust parse_http_url() call to new prototype.

16 years agoProvide parse_http_url() with a third parameter to specify
Fabian Keil [Sun, 4 May 2008 16:18:32 +0000 (16:18 +0000)]
Provide parse_http_url() with a third parameter to specify
whether or not URLs without protocol are acceptable.

16 years agoStreamline parse_http_url()'s prototype.
Fabian Keil [Sun, 4 May 2008 13:30:56 +0000 (13:30 +0000)]
Streamline parse_http_url()'s prototype.

16 years agoIf the method isn't CONNECT, reject URLs without protocol.
Fabian Keil [Sun, 4 May 2008 13:24:16 +0000 (13:24 +0000)]
If the method isn't CONNECT, reject URLs without protocol.

16 years agoLeverage content_filters_enabled() in cgi_show_url_info().
Fabian Keil [Sat, 3 May 2008 16:50:11 +0000 (16:50 +0000)]
Leverage content_filters_enabled() in cgi_show_url_info().

16 years agoChange content_filters_enabled()'s parameter from
Fabian Keil [Sat, 3 May 2008 16:40:45 +0000 (16:40 +0000)]
Change content_filters_enabled()'s parameter from
csp->action to action so it can be also used in the
CGI code. Don't bother checking if there are filters
loaded, as that's somewhat besides the point.

16 years agoDon't show successful test runs by default.
Fabian Keil [Fri, 2 May 2008 11:17:58 +0000 (11:17 +0000)]
Don't show successful test runs by default.
Replace --silent option with --verbose option.

16 years agoIn parse_http_url(), don't muck around with values
Fabian Keil [Fri, 2 May 2008 09:51:34 +0000 (09:51 +0000)]
In parse_http_url(), don't muck around with values
that are none of its business: require an initialized
http structure and never unset http->ssl.

16 years agoIn cgi_show_url_info, pass an initialized http structure
Fabian Keil [Fri, 2 May 2008 09:47:48 +0000 (09:47 +0000)]
In cgi_show_url_info, pass an initialized http structure
to parse_http_url() as that will be required soonish and
assert that https URLs are recognized correctly.

16 years agoIn load_file(), remember the error reason and fclose()
Fabian Keil [Mon, 28 Apr 2008 09:13:30 +0000 (09:13 +0000)]
In load_file(), remember the error reason and fclose()
and return later on instead of right away.

16 years agoRemove an incorrect assertion. The value of debug may change if
Fabian Keil [Sun, 27 Apr 2008 16:50:46 +0000 (16:50 +0000)]
Remove an incorrect assertion. The value of debug may change if
the configuration is reloaded in another thread. While we could
cache the initial value, the assertion doesn't seem worth it.

16 years agoWhite space fix for the last commit.
Fabian Keil [Sun, 27 Apr 2008 16:26:59 +0000 (16:26 +0000)]
White space fix for the last commit.

16 years agoComplain about every block action without reason found.
Fabian Keil [Sun, 27 Apr 2008 16:20:19 +0000 (16:20 +0000)]
Complain about every block action without reason found.

16 years agoMove CGI file loading code into load_file() and
Fabian Keil [Sun, 27 Apr 2008 13:52:52 +0000 (13:52 +0000)]
Move CGI file loading code into load_file() and
add checks for unexpected errors.

16 years agoFix macro name in cgi_show_file() error path.
Fabian Keil [Sat, 26 Apr 2008 15:50:56 +0000 (15:50 +0000)]
Fix macro name in cgi_show_file() error path.

16 years agoForget about JB_ERR_PARSE. JB_ERR_CGI_PARAMS to the rescue.
Fabian Keil [Sat, 26 Apr 2008 12:21:55 +0000 (12:21 +0000)]
Forget about JB_ERR_PARSE. JB_ERR_CGI_PARAMS to the rescue.

16 years agoNote that support request should not be send to individual developers.
Fabian Keil [Sat, 26 Apr 2008 11:38:51 +0000 (11:38 +0000)]
Note that support request should not be send to individual developers.

16 years agoLet the msn filter hide another class.
Fabian Keil [Sat, 26 Apr 2008 10:36:41 +0000 (10:36 +0000)]
Let the msn filter hide another class.

16 years agoIf zlib support is unavailable and there are content filters active
Fabian Keil [Sat, 26 Apr 2008 10:34:18 +0000 (10:34 +0000)]
If zlib support is unavailable and there are content filters active
but the prevent-compression action is disabled, include a warning
on the show-url-info page that compression might prevent filtering.

16 years ago- Factor cgi_show_file() out of cgi_show_status().
Fabian Keil [Fri, 25 Apr 2008 13:33:56 +0000 (13:33 +0000)]
- Factor cgi_show_file() out of cgi_show_status().
- Adjust cgi_show_status()'s parameter description to match reality.