]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
15 years agoLanguage: Greek
Amos Jeffries [Wed, 25 Feb 2009 01:42:42 +0000 (14:42 +1300)] 
Language: Greek

15 years agoLanguage: Greek
Amos Jeffries [Wed, 25 Feb 2009 01:38:45 +0000 (14:38 +1300)] 
Language: Greek

15 years agoAdd MYNAME macro for use in debugs
Amos Jeffries [Tue, 24 Feb 2009 01:38:49 +0000 (14:38 +1300)] 
Add MYNAME macro for use in debugs

TODO: determine what OS and compilers are missing __PRETTY_FUNCTION__
      and define a good alternative for them.

15 years agoRegression Fix: Bug 2586: Memory leaks on reconfigure
Christos Tsantilas [Mon, 23 Feb 2009 23:18:23 +0000 (01:18 +0200)] 
Regression Fix: Bug 2586: Memory leaks on reconfigure

The patch is not correct. Some of the objects freed here can be in use
during reconfigure.

15 years agoFix: appname is now APP_SHORTNAME
Amos Jeffries [Mon, 23 Feb 2009 12:14:54 +0000 (01:14 +1300)] 
Fix: appname is now APP_SHORTNAME

15 years agoAuthor: frencesco chemolli <kinkie@squid-cache.org>
Amos Jeffries [Mon, 23 Feb 2009 11:05:52 +0000 (00:05 +1300)] 
Author: frencesco chemolli <kinkie@squid-cache.org>
testBed: add parallel make capability to build testing

This small patch to the test-suite system allows for parallel-make in
the test-suite (only on Linux). This will allow for shorter build-test
times on multicpu/multicore systems.

15 years agoTestBed: add distcheck to tested build procedures
Amos Jeffries [Mon, 23 Feb 2009 10:59:18 +0000 (23:59 +1300)] 
TestBed: add distcheck to tested build procedures

Also removed distclean filecount hack. With Henriks adjustments the log
is no longer in the test build directory.

15 years agoCorrect debugs output from tunnel comm error
Amos Jeffries [Mon, 23 Feb 2009 10:55:43 +0000 (23:55 +1300)] 
Correct debugs output from tunnel comm error

15 years agoAuthor: Henrik Nordstrom <hno@squid-cache.org>
Amos Jeffries [Mon, 23 Feb 2009 10:33:39 +0000 (23:33 +1300)] 
Author: Henrik Nordstrom <hno@squid-cache.org>
TestBed: Allow out-of-tree builds and separate .opts files.

logfile creation moved to test-builds.sh, where it's used.

--verbose mode for showing the actual output while tests is running

test-build.sh generally cleaned up a bit with less duplicated code

15 years agoAuthor: Mark Nottingham <mnot@pobox.com>
Amos Jeffries [Mon, 23 Feb 2009 09:41:36 +0000 (22:41 +1300)] 
Author: Mark Nottingham <mnot@pobox.com>
Bug 2599: Idempotent start

As discussed on squid-dev, Squid shouldn't return a shell error when:
  - starting squid, if it's already running
  - stopping squid, if it isn't running
This is to make writing scripts that control squid easier.

Note that it should still notify the user, and should not affect other
operations (e.g., kill, rotate, parse).

15 years agoMake broken_posts feature is an HTTP violation.
Amos Jeffries [Sun, 22 Feb 2009 23:09:09 +0000 (12:09 +1300)] 
Make broken_posts feature is an HTTP violation.

broken_posts control when enabled is committing an RFC2616 violation.

This patch limits it's use to builds with explicit --enable-http-violations.

TODO: I think its complete, but there may be more code to limit out.

15 years agoLanguage Updates
Amos Jeffries [Sun, 22 Feb 2009 04:44:33 +0000 (17:44 +1300)] 
Language Updates

15 years agoLanguage Updates: Latvian
Amos Jeffries [Sun, 22 Feb 2009 04:30:50 +0000 (17:30 +1300)] 
Language Updates: Latvian

15 years agoTypo in netmask hack
Amos Jeffries [Sun, 22 Feb 2009 03:40:03 +0000 (16:40 +1300)] 
Typo in netmask hack

15 years agoFix ICMP unit test headers
Amos Jeffries [Sat, 21 Feb 2009 11:01:48 +0000 (04:01 -0700)] 
Fix ICMP unit test headers

15 years agoBug 2601: Hack. Convert IPv4 netmasks to CIDR in IPv6-enabled mode
Amos Jeffries [Sat, 21 Feb 2009 03:56:39 +0000 (16:56 +1300)] 
Bug 2601: Hack. Convert IPv4 netmasks to CIDR in IPv6-enabled mode

se bug 2601 for trace demonstrating the effect of masking an IPv6 address
with and IPv4 netmask intead of a CIDR mask.

This hack, locates what CIDR mask was _probably_ meant to be in its
native protocol format. Then resets the mask to that CIDR form.

This will completely crap out with a security fail-open if the admin is
playing mask tricks.  However, thats their fault, and we do warn loudly.

15 years agofix adaptation service config parsing
Christos Tsantilas [Fri, 20 Feb 2009 16:54:40 +0000 (18:54 +0200)] 
fix adaptation service config parsing

15 years agoDebugs for ACLIP comparison (level 9)
Amos Jeffries [Fri, 20 Feb 2009 09:54:09 +0000 (22:54 +1300)] 
Debugs for ACLIP comparison (level 9)

15 years agoFix: allow squid_kerb_auth access to libcompat
Amos Jeffries [Fri, 20 Feb 2009 00:00:09 +0000 (13:00 +1300)] 
Fix: allow squid_kerb_auth access to libcompat

15 years agoUpdates auto-save
Amos Jeffries [Thu, 19 Feb 2009 23:02:28 +0000 (12:02 +1300)] 
Updates auto-save

15 years agoBuild ip before icmp because icmp tests require ip/libip
Alex Rousskov [Thu, 19 Feb 2009 22:55:24 +0000 (15:55 -0700)] 
Build ip before icmp because icmp tests require ip/libip
This bug was found by test-builds.sh.

15 years agotestheaders.sh do not require the source directory to end with a slash (/).
Alex Rousskov [Thu, 19 Feb 2009 20:36:37 +0000 (13:36 -0700)] 
testheaders.sh do not require the source directory to end with a slash (/).

15 years agoFixed default -I options: there are no headers in $(top_builddir)/lib/ but
Alex Rousskov [Thu, 19 Feb 2009 20:28:48 +0000 (13:28 -0700)] 
Fixed default -I options: there are no headers in $(top_builddir)/lib/ but
there is autoconf.h in $(top_builddir)/include/

Fixed hard-coded OBJS dependencies: autoconf.h is in $(top_builddir)/include/
The bug apparently did not bother anyobody too much, adding to my suspicion
that we do not really need these hard-coded OBJS dependencies.

15 years agoUse automake comments in automake makefiles.
Alex Rousskov [Thu, 19 Feb 2009 19:16:18 +0000 (12:16 -0700)] 
Use automake comments in automake makefiles.

15 years agoSourceLayout: src/base, take 0 with tweaks
Alex Rousskov [Thu, 19 Feb 2009 19:00:01 +0000 (12:00 -0700)] 
SourceLayout: src/base, take 0 with tweaks

Added src/base directory for fundamental, commonly-used code pieces that are
not large enough to warrant their own directories. Currently base/ contains
the beginning of AsyncCalls hierarchy, which may eventually get its own
directory.

Removed src/ip from the top-level SUBDIRS list. Made cf_gen compile without
libip.

Started building makefile includes, to be used in subdir makefiles:
src/Common.am and src/TestHeaders.am.

15 years agotestHeaders is not a program that needs to be built. It is a phony target.
Alex Rousskov [Thu, 19 Feb 2009 18:35:32 +0000 (11:35 -0700)] 
testHeaders is not a program that needs to be built. It is a phony target.

Polished comments.

15 years agoMoved header testing from Common.am to TestHeaders.am. Not all makefiles
Alex Rousskov [Thu, 19 Feb 2009 18:19:37 +0000 (11:19 -0700)] 
Moved header testing from Common.am to TestHeaders.am. Not all makefiles
using Common.am will use a standardized header test, at least for now.
We have makefiles that test headers in subdirectories, for example.

15 years agoRenamed common.am to Common.am to better blend with Makefile.am and sources
Alex Rousskov [Thu, 19 Feb 2009 17:40:19 +0000 (10:40 -0700)] 
Renamed common.am to Common.am to better blend with Makefile.am and sources
naming scheme.

15 years agoUpdates auto-save
Amos Jeffries [Thu, 19 Feb 2009 17:00:33 +0000 (06:00 +1300)] 
Updates auto-save

15 years agoCorrect parsing of syslog:... log files. Was destroying the configured parameters.
Henrik Nordstrom [Thu, 19 Feb 2009 09:36:01 +0000 (10:36 +0100)] 
Correct parsing of syslog:... log files. Was destroying the configured parameters.

Forward-port from squid-2. Detected by GCC-4.4.

15 years agoAdded buildtest parallelization (only available on Linux)
Francesco Chemolli [Thu, 19 Feb 2009 08:56:47 +0000 (09:56 +0100)] 
Added buildtest parallelization (only available on Linux)

15 years agoMerged from trunk.
Alex Rousskov [Thu, 19 Feb 2009 07:19:01 +0000 (00:19 -0700)] 
Merged from trunk.

15 years agoMoved src/ICAP/AsyncJob.* to src/base/ to prepare for the src/ICAP move to
Alex Rousskov [Thu, 19 Feb 2009 07:17:31 +0000 (00:17 -0700)] 
Moved src/ICAP/AsyncJob.* to src/base/ to prepare for the src/ICAP move to
src/adaptation/icap.

15 years agoAdded src/base directory for fundamental, commonly-used code pieces that are
Alex Rousskov [Thu, 19 Feb 2009 07:16:14 +0000 (00:16 -0700)] 
Added src/base directory for fundamental, commonly-used code pieces that are
not large enough to warrant their own directories. Currently base/ contains
the beginning of AsyncCalls hierarchy, which may eventually get its own
directory.

Reduced cf_gen dependencies so that it can be built before subdirectories,
as, apparently, required by BUILT_SOURCES.

Moved some libraries that are used by virtually all executables to COMMON_LIBS.
The list will probably grow as we try to reduce the insane complexity of the
current Makefile.am.

15 years agoAdded src/base directory for fundamental, commonly-used code pieces that are
Alex Rousskov [Thu, 19 Feb 2009 07:15:47 +0000 (00:15 -0700)] 
Added src/base directory for fundamental, commonly-used code pieces that are
not large enough to warrant their own directories. Currently base/ contains
the beginning of AsyncCalls hierarchy, which may eventually get its own
directory.

15 years agoCopied common Makefile.am stuff seen in a few Makefile.ams to a single
Alex Rousskov [Thu, 19 Feb 2009 07:14:08 +0000 (00:14 -0700)] 
Copied common Makefile.am stuff seen in a few Makefile.ams to a single
Makefile "header". This avoids evil code duplication. This file should be
included by most Makefile.ams inside src/. Needs more work as some of the
copied code is questionable and more code can probably be extracted here. See
XXXs.

TODO: The .h dependency test script part seems pretty universal, but if
many subdirs need to customize it, we may want to put it into a separate
Makefile "header".

15 years agoRemoved src/ip from the top-level SUBDIRS list. That directory is not
Alex Rousskov [Thu, 19 Feb 2009 07:11:38 +0000 (00:11 -0700)] 
Removed src/ip from the top-level SUBDIRS list. That directory is not
a top-level subdirectory and it is already listed in src/Makefile.am.

The commit message introducing the change talked about libip being a "POD
library". I do not know what that is, but, hopefully, we do not really need to
make this kind of exceptions for any src/ libraries.

15 years agoAdded forgotten os/ header files in hope to make "make distcheck" work again.
Alex Rousskov [Thu, 19 Feb 2009 06:38:40 +0000 (23:38 -0700)] 
Added forgotten os/ header files in hope to make "make distcheck" work again.

15 years agoFixed gnuregex.h typo to avoid:
Alex Rousskov [Thu, 19 Feb 2009 06:13:18 +0000 (23:13 -0700)] 
Fixed gnuregex.h typo to avoid:
No rule to make target `gnuregex.h', needed by `distdir'
errors.

15 years agoUpdates auto-save
Amos Jeffries [Thu, 19 Feb 2009 05:00:29 +0000 (18:00 +1300)] 
Updates auto-save

15 years agoCorrect libcompat.la reference in helpers/
Henrik Nordstrom [Wed, 18 Feb 2009 12:26:04 +0000 (13:26 +0100)] 
Correct libcompat.la reference in helpers/

15 years agoSupport libtool2
Henrik Nordstrom [Wed, 18 Feb 2009 12:18:04 +0000 (13:18 +0100)] 
Support libtool2

15 years agoAuthor: Francesco Chemolli <kinkie@squid-cache.org>
Amos Jeffries [Wed, 18 Feb 2009 10:58:53 +0000 (23:58 +1300)] 
Author: Francesco Chemolli <kinkie@squid-cache.org>
String NG : basic SquidString updates pt 2

- finished the analysis of raw buffer exporting, divided among c-sting
and raw-buf access clients
- general sanitization
- reversal of some wrongly-renamed variables and comments
- implementation of SQUIDSTRINGPRINT and SQUIDSTRINGPH (placeholder) macros and
    psize() function for printf-style calls
- implementation of, and migration to, String::size_type and String::npos
- de-inlining of pos(), rpos(), find() and rfind() calls
- implementation and use of a proper substr() call

15 years agoSourceLayout: setup libcompat.la for portability primitives
Amos Jeffries [Wed, 18 Feb 2009 09:45:46 +0000 (22:45 +1300)] 
SourceLayout: setup libcompat.la for portability primitives

This library forms an underlayer which intends to be seamless for the rest
of Squid.

For code to be eligible for inclusion at this lowest layer it must be
emulating or wrapping a piece of OS-provided API for use on other OS
where it is not provided.

Shared code which is unique to Squid is not portability.

API mappings which are OS-specific are all defined for their particular
OS in the os/* files.

API mappings which are provided by multiple OS or support libraries
are mapped in compat/*

Emulators are acceptable, though the aim should be to inline or template
most of the code so only .h are really needed.

15 years agoFixed typo in DelayTaggedBucket::stats.
Francesco Chemolli [Wed, 18 Feb 2009 09:45:32 +0000 (10:45 +0100)] 
Fixed typo in DelayTaggedBucket::stats.
Added comments.
String.cci doesn't need to include squid.h, config.h is enough
In errorpage.cc there is no need to drop to char* land, we can work with String.

15 years agoLanguage Updates
Amos Jeffries [Wed, 18 Feb 2009 05:26:54 +0000 (18:26 +1300)] 
Language Updates

15 years agoLanguage Updates
Amos Jeffries [Wed, 18 Feb 2009 05:25:32 +0000 (18:25 +1300)] 
Language Updates

15 years agoLanguage Updates
Amos Jeffries [Wed, 18 Feb 2009 05:07:40 +0000 (18:07 +1300)] 
Language Updates

15 years agoMerge from trunk
Amos Jeffries [Wed, 18 Feb 2009 05:06:24 +0000 (18:06 +1300)] 
Merge from trunk

15 years agoUpdates auto-save
Amos Jeffries [Wed, 18 Feb 2009 05:00:30 +0000 (18:00 +1300)] 
Updates auto-save

15 years agoSync updates from Rosetta Project
Amos Jeffries [Wed, 18 Feb 2009 04:59:44 +0000 (17:59 +1300)] 
Sync updates from Rosetta Project

15 years agoRemove duplicate assert.h, and bad includes of compat/* headers.
Amos Jeffries [Wed, 18 Feb 2009 00:18:43 +0000 (13:18 +1300)] 
Remove duplicate assert.h, and bad includes of compat/* headers.

15 years agoMerged from trunk
Francesco Chemolli [Tue, 17 Feb 2009 08:40:45 +0000 (09:40 +0100)] 
Merged from trunk

15 years agoBug fix: When an AccessRule for a service group exist in AccessRules
Christos Tsantilas [Mon, 16 Feb 2009 23:33:48 +0000 (01:33 +0200)] 
Bug fix: When an AccessRule for a service group exist in AccessRules
list do not add it again in the list.

15 years agoRegression Fix: Bug #2586: adaptation memory leaks on reconfigure
Christos Tsantilas [Mon, 16 Feb 2009 21:24:39 +0000 (23:24 +0200)] 
Regression Fix: Bug #2586: adaptation memory leaks on reconfigure
The patch is wrong: on shutdown calls Adaptation::Config::DestroyConfig,
twice causing segmentation fault.

15 years agoObsolete: dependency on nss_common.h and nss.h
Amos Jeffries [Mon, 16 Feb 2009 02:20:50 +0000 (15:20 +1300)] 
Obsolete: dependency on nss_common.h and nss.h

Squid-3 currently make no internal reference to any of its symbols.

Squid appears to build and run just fine despite this header being
detected as 'broken' during Squid build tests for some time.

15 years agoMerge from trunk
Amos Jeffries [Sat, 14 Feb 2009 13:19:07 +0000 (02:19 +1300)] 
Merge from trunk

15 years agoShuffle squid-compat to compat/
Amos Jeffries [Sat, 14 Feb 2009 13:18:34 +0000 (02:18 +1300)] 
Shuffle squid-compat to compat/

15 years agoBug 2593: Compile errors on Solaris 10
Amos Jeffries [Fri, 13 Feb 2009 11:23:13 +0000 (00:23 +1300)] 
Bug 2593: Compile errors on Solaris 10

15 years agoBug 2287: Send a 505 on requests with unsupported HTTP versions
Amos Jeffries [Fri, 13 Feb 2009 04:32:34 +0000 (17:32 +1300)] 
Bug 2287: Send a 505 on requests with unsupported HTTP versions

Squid currenty accepts requests with well-formed 0.9, 1.0, and 1.1 versions
and one special case of mising version (assumed to be 0.9 legacy requests)

All others including well-formed 0.x < 0.9 are now aborted with a
HTTP 1.1 compliant 505 Version Not Supported error.

15 years agoMerged from trunk
Francesco Chemolli [Thu, 12 Feb 2009 16:09:11 +0000 (17:09 +0100)] 
Merged from trunk

15 years agoMigrated *printf's to SQUIDSTRINGPH and SQUIDSTRINGPRINT macros
Francesco Chemolli [Thu, 12 Feb 2009 16:06:20 +0000 (17:06 +0100)] 
Migrated *printf's to SQUIDSTRINGPH and SQUIDSTRINGPRINT macros
de-inlined String::{find,rfind,pos,rpos}

15 years agoImplemented String::npos to parametrize 'search not found' results
Francesco Chemolli [Thu, 12 Feb 2009 11:17:16 +0000 (12:17 +0100)] 
Implemented String::npos to parametrize 'search not found' results
Converted some printf to macro-based.

15 years agounsafeBuf is no more.
Francesco Chemolli [Thu, 12 Feb 2009 10:46:08 +0000 (11:46 +0100)] 
unsafeBuf is no more.
Reverted shortening of size_type to unisgned int, due to issue with std::string::npos.

15 years agobug 2591: adaptation_access does not work
Christos Tsantilas [Wed, 11 Feb 2009 19:11:36 +0000 (21:11 +0200)] 
bug 2591: adaptation_access does not work

An access checklist required for each service set, so we need only one
AccessRule object for each adaptation service set
This patch:
  - When parses a adaptation_access line checks if an AccessRule object exist
for the service set and if yes append the access checklist to this object else
creates a new AccessRule object for this service set
  - The AccessRule constructor takes as argument now the reference service set
name (groupId)
  - The new Adaptation::FindRuleByGroupId method created. This method returns
the AccessRule object for a service set using its name (groupId)

15 years agodefined printf-helping macros,
Francesco Chemolli [Wed, 11 Feb 2009 17:08:24 +0000 (18:08 +0100)] 
defined printf-helping macros,
reverted some unnecessary renamings
further unsafeBuf conversions.

15 years agoImplemented printf-specific String::psize()
Francesco Chemolli [Wed, 11 Feb 2009 15:28:22 +0000 (16:28 +0100)] 
Implemented printf-specific String::psize()
Fixed unit tests.

15 years agoCleanup of the test-build scripts a bit.
Henrik Nordstrom [Wed, 11 Feb 2009 12:23:03 +0000 (13:23 +0100)] 
Cleanup of the test-build scripts a bit.

allow out-of-tree builds and separate .opts files.

logfile creation moved to test-builds.sh, where it's used.

--verbose mode for showing the actual output while tests is running

test-build.sh generally cleaned up a bit with less duplicated code

15 years agoParser should talk about auth_param not authparam
Amos Jeffries [Wed, 11 Feb 2009 11:10:32 +0000 (00:10 +1300)] 
Parser should talk about auth_param not authparam

15 years agoCleanup malloc stats display
Amos Jeffries [Wed, 11 Feb 2009 11:07:53 +0000 (00:07 +1300)] 
Cleanup malloc stats display

15 years agoConverted more unsafeBuf users.
Francesco Chemolli [Tue, 10 Feb 2009 11:02:53 +0000 (12:02 +0100)] 
Converted more unsafeBuf users.

15 years agoHacked in delayed initialization of constants, to avoid asserts in mempools at shutdo...
Francesco Chemolli [Tue, 10 Feb 2009 09:17:18 +0000 (10:17 +0100)] 
Hacked in delayed initialization of constants, to avoid asserts in mempools at shutdown time.

15 years agoImplemented String.psize() (for printf())
Francesco Chemolli [Mon, 9 Feb 2009 15:47:31 +0000 (16:47 +0100)] 
Implemented String.psize() (for printf())
Changed String storage size from 'unsigned short int' to size_t
Implemented String.rfind()
Implemented String.substr() and related tests
Made String.set() private, it's ready to be removed unless there's any dissent
Converted ftp.cc to use rfind in place of rpos

15 years agoMerged from trunk
Francesco Chemolli [Mon, 9 Feb 2009 13:40:41 +0000 (14:40 +0100)] 
Merged from trunk

15 years agoBuild error
Amos Jeffries [Mon, 9 Feb 2009 10:52:15 +0000 (23:52 +1300)] 
Build error

15 years agoMerge from trunk
Amos Jeffries [Mon, 9 Feb 2009 08:53:49 +0000 (21:53 +1300)] 
Merge from trunk

15 years agoFinal build error
Amos Jeffries [Mon, 9 Feb 2009 08:49:31 +0000 (21:49 +1300)] 
Final build error

15 years agoBug 419: Hop by Hop headers MUST NOT be forwarded (attempt 2)
Amos Jeffries [Mon, 9 Feb 2009 05:33:18 +0000 (18:33 +1300)] 
Bug 419: Hop by Hop headers MUST NOT be forwarded (attempt 2)

This attempt builds on Henriks re-work of the client-request to
server-request cloning done since the last attempt was made at closing
this bug.

Adds all RFC 2616 listed Hop-by-hop headers to the clone selection test
as 'ignore' cases unless otherwise handled already.

The test for whether they exist in Connection: is moved to the default
case as an inline. Which reduces the code a fair bit and prevents the
side case where a specially handled header gets ignored because the
client explicitly added it to Connection: when it did not have to.

This method sets up a background default of not passing the hop-by-hop
headers while allowing any code which explicitly sets or copies the
headers across to operate as before without interference.

15 years agoMissing file commit
Francesco Chemolli [Sun, 8 Feb 2009 20:58:01 +0000 (21:58 +0100)] 
Missing file commit

15 years agoRemoved unused String::set
Francesco Chemolli [Sun, 8 Feb 2009 20:57:09 +0000 (21:57 +0100)] 
Removed unused String::set

15 years agorename libsquid-compat directory to squid-compat
Amos Jeffries [Sun, 8 Feb 2009 11:52:11 +0000 (00:52 +1300)] 
rename libsquid-compat directory to squid-compat

15 years agorename compat lib to libcompat.la since we use full path to link
Amos Jeffries [Sun, 8 Feb 2009 11:49:29 +0000 (00:49 +1300)] 
rename compat lib to libcompat.la since we use full path to link

15 years agoTestBed: silence warnings from make on clean directory
Amos Jeffries [Sun, 8 Feb 2009 05:57:17 +0000 (18:57 +1300)] 
TestBed: silence warnings from make on clean directory

15 years agoTestBed: public branch name not always available. use checkout instead.
Amos Jeffries [Sun, 8 Feb 2009 05:47:22 +0000 (18:47 +1300)] 
TestBed: public branch name not always available. use checkout instead.

15 years agoMerge from trunk
Amos Jeffries [Sun, 8 Feb 2009 05:20:15 +0000 (18:20 +1300)] 
Merge from trunk

15 years agoTestBed: tweak script
Amos Jeffries [Sun, 8 Feb 2009 04:56:58 +0000 (21:56 -0700)] 
TestBed: tweak script

15 years agoTestBed: paths are not portable
Amos Jeffries [Sun, 8 Feb 2009 04:34:34 +0000 (21:34 -0700)] 
TestBed: paths are not portable

15 years agoTestBed: add slave tester script
Amos Jeffries [Sun, 8 Feb 2009 03:26:04 +0000 (16:26 +1300)] 
TestBed: add slave tester script

This is draft #2 of the multi-machine script. I have it running locally.

As an intermediary step to kick wider testing until we get something
better going.  This script can be run by cron and sends an email to
noc@squid-cache.org detailing the local system OS, CPU, and build results.

Requires:
    sendmail or mailer providing sendmail API
    bzr with checkout of (trunk, SQUID_3_1, or SQUID_3_0)

TODO:
    check that the binaries called are portable

15 years agoMemory leak on PconnPools
Amos Jeffries [Sun, 8 Feb 2009 00:23:36 +0000 (13:23 +1300)] 
Memory leak on PconnPools

Need to free the Pconn hash table properly.
constructor/desctructor are both required.

15 years agoAuthor: Francesco Chemolli <kinkie@squid-cache.org>
Amos Jeffries [Sun, 8 Feb 2009 00:02:47 +0000 (13:02 +1300)] 
Author: Francesco Chemolli <kinkie@squid-cache.org>
Cleanups: Remove code handling K&R-style varargs.

It should be a safe enough bet that any C++ compiler can handle STDC-style varargs.
This patch removes all the (mostly spaghetti) code which used to handle K&R-style varargs calls.

15 years agoMerged from trunk
Francesco Chemolli [Sat, 7 Feb 2009 22:24:50 +0000 (23:24 +0100)] 
Merged from trunk

15 years agoTrim squid_ from compat filenames
Amos Jeffries [Sat, 7 Feb 2009 13:59:04 +0000 (02:59 +1300)] 
Trim squid_ from compat filenames

15 years agorollout r9485. I was mistaken.
Amos Jeffries [Sat, 7 Feb 2009 11:34:55 +0000 (00:34 +1300)] 
rollout r9485. I was mistaken.

15 years agoRequire full path to compat when included
Amos Jeffries [Sat, 7 Feb 2009 11:28:44 +0000 (00:28 +1300)] 
Require full path to compat when included

15 years agoInclude compat files with full path
Amos Jeffries [Sat, 7 Feb 2009 03:14:20 +0000 (16:14 +1300)] 
Include compat files with full path

15 years agoAuthor: Brad Smith <brad@comstyle.com>
Amos Jeffries [Sat, 7 Feb 2009 02:17:17 +0000 (15:17 +1300)] 
Author: Brad Smith <brad@comstyle.com>
Bug 2592: pt 1: correct autoconf requirements

15 years agoUpdates auto-save
Amos Jeffries [Fri, 6 Feb 2009 11:10:41 +0000 (00:10 +1300)] 
Updates auto-save

15 years agoMerged from trunk
Francesco Chemolli [Fri, 6 Feb 2009 09:46:39 +0000 (10:46 +0100)] 
Merged from trunk

15 years agoAuthor: Francesco Chemolli <kinkie@squid-cache.org>
Amos Jeffries [Fri, 6 Feb 2009 07:54:05 +0000 (20:54 +1300)] 
Author: Francesco Chemolli <kinkie@squid-cache.org>
String NG : fixes initial merge, take 2

Compared to the retired first attempt it:
 - fixes the issues Tsantilas Christos found out about
 - implements String::find
 - some more users analyzed and fixed.

15 years agoBuilds
Amos Jeffries [Fri, 6 Feb 2009 07:50:01 +0000 (20:50 +1300)] 
Builds