]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
16 years agoFix typo on dist of translated files. Add missing .po tasks
Amos Jeffries [Sat, 7 Mar 2009 15:48:21 +0000 (04:48 +1300)] 
Fix typo on dist of translated files. Add missing .po tasks

16 years agoCompat: Shuffle semi-duplicate min/max alternatives all into libcompat
Amos Jeffries [Fri, 6 Mar 2009 13:26:57 +0000 (02:26 +1300)] 
Compat: Shuffle semi-duplicate min/max alternatives all into libcompat

16 years agoTranslation is a build process, no excuse for not using builddir
Amos Jeffries [Fri, 6 Mar 2009 12:45:27 +0000 (05:45 -0700)] 
Translation is a build process, no excuse for not using builddir

16 years agoAuthor: Francesco Chemolli <kinkie@squid-cache.org>
Amos Jeffries [Fri, 6 Mar 2009 07:36:36 +0000 (20:36 +1300)] 
Author: Francesco Chemolli <kinkie@squid-cache.org>
Bug 2608: Build broken by Linux basename() implementation.

This patch implements a replacement for the call to basename() in
debugs().

It involves a hard-coded relative test location for debugs.cc used as an
anchor within the __FILE__ path. This relative path MUST be updated
whenever debugs.cc is moved.

debugs() is no longer valid to be used within auto-generated files which
may retain a completely different relative base path.

16 years agoTestBed: distuninstallcheck still broken. By orphan translated files now
Amos Jeffries [Wed, 4 Mar 2009 11:19:52 +0000 (04:19 -0700)] 
TestBed: distuninstallcheck still broken. By orphan translated files now

16 years agoRolled a basename-alike method to beautify HERE calls for debugs().
Francesco Chemolli [Tue, 3 Mar 2009 13:33:51 +0000 (14:33 +0100)] 
Rolled a basename-alike method to beautify HERE calls for debugs().

16 years agoGrr, enum lists must not end with ,}
Amos Jeffries [Tue, 3 Mar 2009 13:10:23 +0000 (02:10 +1300)] 
Grr, enum lists must not end with ,}

This fixes a few more build issues on non-GCC compilers.

16 years agoExperimental Solaris 10 pthreads Support
Amos Jeffries [Tue, 3 Mar 2009 13:02:21 +0000 (02:02 +1300)] 
Experimental Solaris 10 pthreads Support

Why is it going in since its experimental?
 - we need a snapshot to test the configure code with.
 - side testing indicates this new option is best and does work under
   some conditions with only Solaris native compiler to build with.

16 years agoTypo in HTCP enum definition
Amos Jeffries [Tue, 3 Mar 2009 12:46:03 +0000 (01:46 +1300)] 
Typo in HTCP enum definition

16 years agoAuthor: Wang DaQing <wdq@bigfoot.com>
Amos Jeffries [Mon, 2 Mar 2009 12:13:26 +0000 (01:13 +1300)] 
Author: Wang DaQing <wdq@bigfoot.com>
Language: Simplified Chinese

16 years agoAuthor: Wang DaQing <wdq@bigfoot.com>
Amos Jeffries [Mon, 2 Mar 2009 12:09:34 +0000 (01:09 +1300)] 
Author: Wang DaQing <wdq@bigfoot.com>
Language: Simplified Chinese

------------- This line and the following will be ignored --------------

removed:
  errors/Simplify_Chinese/
  errors/Simplify_Chinese/ERR_ACCESS_DENIED
  errors/Simplify_Chinese/ERR_CACHE_ACCESS_DENIED
  errors/Simplify_Chinese/ERR_CACHE_MGR_ACCESS_DENIED
  errors/Simplify_Chinese/ERR_CANNOT_FORWARD
  errors/Simplify_Chinese/ERR_CONNECT_FAIL
  errors/Simplify_Chinese/ERR_DNS_FAIL
  errors/Simplify_Chinese/ERR_ESI
  errors/Simplify_Chinese/ERR_FORWARDING_DENIED
  errors/Simplify_Chinese/ERR_FTP_DISABLED
  errors/Simplify_Chinese/ERR_FTP_FAILURE
  errors/Simplify_Chinese/ERR_FTP_FORBIDDEN
  errors/Simplify_Chinese/ERR_FTP_NOT_FOUND
  errors/Simplify_Chinese/ERR_FTP_PUT_CREATED
  errors/Simplify_Chinese/ERR_FTP_PUT_ERROR
  errors/Simplify_Chinese/ERR_FTP_PUT_MODIFIED
  errors/Simplify_Chinese/ERR_FTP_UNAVAILABLE
  errors/Simplify_Chinese/ERR_ICAP_FAILURE
  errors/Simplify_Chinese/ERR_INVALID_REQ
  errors/Simplify_Chinese/ERR_INVALID_RESP
  errors/Simplify_Chinese/ERR_INVALID_URL
  errors/Simplify_Chinese/ERR_LIFETIME_EXP
  errors/Simplify_Chinese/ERR_NO_RELAY
  errors/Simplify_Chinese/ERR_ONLY_IF_CACHED_MISS
  errors/Simplify_Chinese/ERR_READ_ERROR
  errors/Simplify_Chinese/ERR_READ_TIMEOUT
  errors/Simplify_Chinese/ERR_SECURE_CONNECT_FAIL
  errors/Simplify_Chinese/ERR_SHUTTING_DOWN
  errors/Simplify_Chinese/ERR_SOCKET_FAILURE
  errors/Simplify_Chinese/ERR_TOO_BIG
  errors/Simplify_Chinese/ERR_UNSUP_HTTPVERSION
  errors/Simplify_Chinese/ERR_UNSUP_REQ
  errors/Simplify_Chinese/ERR_URN_RESOLVE
  errors/Simplify_Chinese/ERR_WRITE_ERROR
  errors/Simplify_Chinese/ERR_ZERO_SIZE_OBJECT
  errors/Simplify_Chinese/README
  errors/Simplify_Chinese/generic
modified:
  errors/Makefile.am
  errors/zh-cn.po
unknown:
  .index.pl
  Makefile
  TODO.txt
  code-level_RTL_languages.css
  config.log
  template-level_RTL_languages.css
  testrtl/
  errors/.htaccess
  errors/00_Original_English/
  errors/ALIASES
  errors/TRANSLATORS_contacted
  errors/af.po
  errors/ak.po
  errors/be.po
  errors/bn.po
  errors/bo.po
  errors/bs.po
  errors/check-chars.sh
  errors/cy.po
  errors/direction.css
  errors/dz.po
  errors/eo.po
  errors/eu.po
  errors/fo.po
  errors/fur.po
  errors/fy.po
  errors/ga.po
  errors/gl.po
  errors/gu.po
  errors/he.po
  errors/hi.po
  errors/hr.po
  errors/hu.po
  errors/index.php
  errors/is.po
  errors/ka.po
  errors/km.po
  errors/ko.po
  errors/ku.po
  errors/lb.po
  errors/logstat.pl
  errors/lt.po
  errors/mg.po
  errors/mi.po
  errors/ml.po
  errors/mn.po
  errors/mr.po
  errors/ms.po
  errors/mt.po
  errors/nah.po
  errors/nb.po
  errors/ne.po
  errors/new@
  errors/nl-be.po
  errors/nn.po
  errors/nso.po
  errors/or.po
  errors/pa.po
  errors/pap.po
  errors/pl.po
  errors/pt.po
  errors/pull-po.sh
  errors/sk.po
  errors/sl.po
  errors/sq.po
  errors/st.po
  errors/ta.po
  errors/tk.po
  errors/tmp2
  errors/vi.po
  errors/wa.po
  errors/wo.po
  errors/zh-hk.po
  errors/zh-tw.po
  errors/zzz.po
  errors/templates/.htaccess
  lib/libLtdl/
  scripts/translate.pl

16 years agoUpdates auto-save
Amos Jeffries [Mon, 2 Mar 2009 11:04:34 +0000 (00:04 +1300)] 
Updates auto-save

16 years agoAuthor: Francesco Chemolli <kinkie@squid-cache.org>
Amos Jeffries [Mon, 2 Mar 2009 09:49:46 +0000 (22:49 +1300)] 
Author: Francesco Chemolli <kinkie@squid-cache.org>
Fixed String search

16 years agoReintegrated missing in strListIsSubstr().
Francesco Chemolli [Sun, 1 Mar 2009 22:22:22 +0000 (23:22 +0100)] 
Reintegrated missing in strListIsSubstr().

16 years agoAdded guards against undefnined Strings in the pos()family.
Francesco Chemolli [Sun, 1 Mar 2009 22:19:44 +0000 (23:19 +0100)] 
Added guards against undefnined Strings in the pos()family.

16 years agoAdd libgen.h to configure checks
Amos Jeffries [Sun, 1 Mar 2009 11:12:42 +0000 (00:12 +1300)] 
Add libgen.h to configure checks

16 years agobasename requires libgen.h on FreeBSD maybe others.
Amos Jeffries [Sun, 1 Mar 2009 11:02:36 +0000 (00:02 +1300)] 
basename requires libgen.h on FreeBSD maybe others.

Its safe to include with HAVE_* wrappers here despite not including
config.h first, because we are only using it in a #define.

The .cc which use those defines are expected to include config.h
before all other headers (including Debug.h) for their requirements.

16 years agoAuthor: Various Translators
Amos Jeffries [Sun, 1 Mar 2009 10:24:26 +0000 (23:24 +1300)] 
Author: Various Translators
Language Updates: Uzbek, Persian

Including RTL display support for Persian.

16 years agoLanguage: Uzbek
Amos Jeffries [Sun, 1 Mar 2009 10:14:01 +0000 (23:14 +1300)] 
Language: Uzbek

16 years agoPrep for 3.1.0.6
Amos Jeffries [Sun, 1 Mar 2009 09:42:42 +0000 (22:42 +1300)] 
Prep for 3.1.0.6

16 years agoSync ChangeLog and ReleaseNotes
Amos Jeffries [Sun, 1 Mar 2009 04:36:37 +0000 (17:36 +1300)] 
Sync ChangeLog and ReleaseNotes

16 years agoUse basename in HERE macro to cleanup debugs
Amos Jeffries [Sun, 1 Mar 2009 03:43:51 +0000 (16:43 +1300)] 
Use basename in HERE macro to cleanup debugs

16 years agoTestBed: Alter translation to work in more make targets
Amos Jeffries [Sat, 28 Feb 2009 13:38:11 +0000 (02:38 +1300)] 
TestBed: Alter translation to work in more make targets

This makes translation work in distcheck, uninstallcheck, and installcheck
out-of-tree testing. Not just dist, all, and check.

Also adds some clean failure for out-of-tree 'make all' translations.
Automake seems to not have enough correct path info to perform translation
when its run inside distcheck target.

Re-add distcheck to Testbed requirements.

TODO: verify through build slaves that its portable.

16 years agoMerge language-specific CSS directly into templates.
Amos Jeffries [Sat, 28 Feb 2009 11:14:03 +0000 (00:14 +1300)] 
Merge language-specific CSS directly into templates.

This makes translated files display non-LTR languages correctly
in Squid without CSS support.

16 years agoUpdates auto-save
Amos Jeffries [Sat, 28 Feb 2009 11:03:51 +0000 (00:03 +1300)] 
Updates auto-save

16 years agoAuthor: Mohsen Saeedi <mohsen.saeedi@gmail.com>
Amos Jeffries [Sat, 28 Feb 2009 10:40:40 +0000 (23:40 +1300)] 
Author: Mohsen Saeedi <mohsen.saeedi@gmail.com>
Add CSS for Persian language display

Temporarily in errorpages.css.

TODO: merge into templates at translation-time for older Squid.

16 years agoPromote byte-units parse message to a full warning message.
Amos Jeffries [Sat, 28 Feb 2009 08:50:18 +0000 (21:50 +1300)] 
Promote byte-units parse message to a full warning message.

This is very important to the parser and some configuration settings.

16 years agoMoved Ecap namespace into Adaptation namespace, to match the sources directory
Alex Rousskov [Fri, 27 Feb 2009 16:40:39 +0000 (09:40 -0700)] 
Moved Ecap namespace into Adaptation namespace, to match the sources directory
structure and Icap namespace placement.

16 years agoMoved Ecap namespace into Adaptation namespace, to match the sources directory
Alex Rousskov [Fri, 27 Feb 2009 16:38:06 +0000 (09:38 -0700)] 
Moved Ecap namespace into Adaptation namespace, to match the sources directory
structure and Icap namespace placement.

16 years agoMerged from trunk.
Alex Rousskov [Fri, 27 Feb 2009 15:52:31 +0000 (08:52 -0700)] 
Merged from trunk.

16 years agoSourceLayout: src/auth, take 0: Moved src/AuthFoo* to src/auth/Foo*, polished.
Alex Rousskov [Fri, 27 Feb 2009 15:45:17 +0000 (08:45 -0700)] 
SourceLayout: src/auth, take 0: Moved src/AuthFoo* to src/auth/Foo*, polished.
SourceLayout: src/fs, take 0: Polished Makefiles.

These fixes should have no runtime effects and were triggered by an attempt to
make "make distclean" work. TODO: add Auth and Fs namespaces, rename classes.

16 years agoMerged from trunk.
Alex Rousskov [Fri, 27 Feb 2009 15:36:53 +0000 (08:36 -0700)] 
Merged from trunk.

16 years agoMerged from trunk.
Alex Rousskov [Fri, 27 Feb 2009 15:34:07 +0000 (08:34 -0700)] 
Merged from trunk.

16 years agoFixed "make distuninstallcheck" by removing installed configuration files
Alex Rousskov [Fri, 27 Feb 2009 15:25:31 +0000 (08:25 -0700)] 
Fixed "make distuninstallcheck" by removing installed configuration files
iff they are identical to the installed default configuration files.

Added scripts/remove-cfg.sh to do the safe removal because we need that
functionality in many Makefiles.

Made installed mime.conf removal safe. We were removing it without checking
for modifications.

Added commands to remove the following installed default configuration
files: cachemgr.conf.default and msntauth.conf.default.

16 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Fri, 27 Feb 2009 12:25:42 +0000 (01:25 +1300)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Fix missing documentation for auth_param utf8 translation feature.

Missed out of original Squid-3 patch.

16 years agoAdd a dummy file called testHeaders to CLEANFILES.
Alex Rousskov [Fri, 27 Feb 2009 04:58:29 +0000 (21:58 -0700)] 
Add a dummy file called testHeaders to CLEANFILES.
It is created by testheaders.sh and distclean does not know about it.
The change can be reversed when testheaders.sh and its users are fixed.

16 years agoSourceLayout: adaptation/{icap,ecap}, take 1 with tweaks
Alex Rousskov [Thu, 26 Feb 2009 16:41:28 +0000 (09:41 -0700)] 
SourceLayout: adaptation/{icap,ecap}, take 1 with tweaks

Moved src/ICAP into src/adaptation/icap.
Moved src/eCAP into src/adaptation/ecap.

Renamed ICAP source files from ICAPFoo.{cc,h} to Foo.{cc,h}.

Placed ICAP names into Adaptation::Icap namespace, renaming ICAPFoo to
Adaptation::Icap::Foo.

16 years agoMerged from trunk.
Alex Rousskov [Thu, 26 Feb 2009 16:30:22 +0000 (09:30 -0700)] 
Merged from trunk.

16 years agoUse HERE instead of hard-coded file and method names that tend to get out of
Alex Rousskov [Thu, 26 Feb 2009 16:27:40 +0000 (09:27 -0700)] 
Use HERE instead of hard-coded file and method names that tend to get out of
sync.

16 years agoMerged from trunk.
Alex Rousskov [Thu, 26 Feb 2009 15:47:50 +0000 (08:47 -0700)] 
Merged from trunk.

16 years agoTestBed: correct log handling.
Amos Jeffries [Thu, 26 Feb 2009 03:58:09 +0000 (16:58 +1300)] 
TestBed: correct log handling.

Removal of the log MUST happen after the log has been checked for a
successful run. Removal of run data MAY hapen before this.
Probably data SHOULD be removed early to prevent excess data between runs.

16 years agoImprove documentation of vary_ignore_expire
Amos Jeffries [Thu, 26 Feb 2009 00:58:24 +0000 (13:58 +1300)] 
Improve documentation of vary_ignore_expire

16 years agoMerged from trunk.
Alex Rousskov [Wed, 25 Feb 2009 20:59:20 +0000 (13:59 -0700)] 
Merged from trunk.

16 years agoSourceLayout: src/fs, take 0
Alex Rousskov [Wed, 25 Feb 2009 20:35:16 +0000 (13:35 -0700)] 
SourceLayout: src/fs, take 0

Simplified and documented STORE_* autotools variables.
All fs code is built as fs/lib*.a libraries now, no exception for
diskd and aufs "fake" legacy modules.
fs/* sources are no longer added to executables directly.

TODO: Add Makefiles to specific fs modules.
TODO: Add Fs namespace and rename fs classes accordingly.

testHeaders in fs/Makefile.am requires absolute source directories for
out-of-tree checks to work.

Removed src/ip/stubQosConfig.cc from STORE_TEST_SOURCES. It does not seem to
be needed in my tests. If it is needed, the stub file should be moved into
src/tests to avoid dependency on a source in a directory with a Makefile.  If
the stub is not needed at all, it should be removed from the tree. Note that
src/ip/stubQosConfig.cc is non-empty only when --enable-zph-qos.

These changes were triggered by an attempt to make "make distclean" work.

16 years agoMerged from trunk
Francesco Chemolli [Wed, 25 Feb 2009 14:47:20 +0000 (15:47 +0100)] 
Merged from trunk

16 years agoTestBed: temporarily remove distcheck again.
Amos Jeffries [Wed, 25 Feb 2009 09:02:18 +0000 (22:02 +1300)] 
TestBed: temporarily remove distcheck again.

Much more fixes and testing of fixes is needed until this runs clean.

TODO:
out-of-tree translation needs to be double-checked
uninstall procedure need to handle config files properly

16 years agotestheaders.sh needs an absolute source directory to work when building
Alex Rousskov [Wed, 25 Feb 2009 06:08:49 +0000 (23:08 -0700)] 
testheaders.sh needs an absolute source directory to work when building
outside of source tree (e.g., when running ./test-builds.sh)

16 years agoTestBed: fix translation errors from out-of-tree distcheck
Amos Jeffries [Wed, 25 Feb 2009 04:08:59 +0000 (21:08 -0700)] 
TestBed: fix translation errors from out-of-tree distcheck

TODO: other errors from distcheck.

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

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

16 years agoSourceLayout: src/auth, take 0
Alex Rousskov [Tue, 24 Feb 2009 23:52:44 +0000 (16:52 -0700)] 
SourceLayout: src/auth, take 0

Moved src/AuthFoo* to src/auth/Foo*
All auth libraries are built in auth/ now.

Simplified and documented AUTH_* autotools variables.

Auth sources are no longer added to executables directly.

TODO: Add Makefiles to specific auth modules.
TODO: Add Auth namespace and rename auth classes accordingnly.

These changes were triggered by a yet unfinished attempt to make
"make distclean" work.

16 years agoMerged from trunk
Francesco Chemolli [Tue, 24 Feb 2009 13:43:02 +0000 (14:43 +0100)] 
Merged from trunk

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

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

16 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

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

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

16 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

16 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

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

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

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

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

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

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

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

16 years agoRenamed ICAP source files from icap/ICAPFoo.{cc,h} to icap/Foo.{cc,h}.
Alex Rousskov [Fri, 20 Feb 2009 19:08:58 +0000 (12:08 -0700)] 
Renamed ICAP source files from icap/ICAPFoo.{cc,h} to icap/Foo.{cc,h}.

Placed ICAP names into Adaptation::Icap namespace, renaming ICAPFoo to
Adaptation::Icap::Foo.

16 years agoUse newly added CBDATA_NAMESPACED_CLASS_INIT.
Alex Rousskov [Fri, 20 Feb 2009 18:53:22 +0000 (11:53 -0700)] 
Use newly added CBDATA_NAMESPACED_CLASS_INIT.

16 years agoAdded CBDATA_NAMESPACED_CLASS_INIT to define static members of classes that
Alex Rousskov [Fri, 20 Feb 2009 18:48:56 +0000 (11:48 -0700)] 
Added CBDATA_NAMESPACED_CLASS_INIT to define static members of classes that
live in a namespace.

The alternative was to change CBDATA_CLASS_* macros so that the static member
name does not depend on the type. That may have been better, but perhaps there
are some, unknown to me, low-level reasons why unique member names are
required for class cbdata code to work.

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

16 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)

16 years agoMerged from trunk
Francesco Chemolli [Fri, 20 Feb 2009 00:38:01 +0000 (01:38 +0100)] 
Merged from trunk

16 years agoMerged from trunk.
Alex Rousskov [Fri, 20 Feb 2009 00:14:30 +0000 (17:14 -0700)] 
Merged from trunk.

16 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

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

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

16 years agoMoved src/ICAP into src/adaptation/icap.
Alex Rousskov [Thu, 19 Feb 2009 22:35:50 +0000 (15:35 -0700)] 
Moved src/ICAP into src/adaptation/icap.
Moved src/eCAP into src/adaptation/ecap.

As a side effect, eCAP now tests its headers. MessageRep.h needed to include
config.h to pass the tests, which probably indicates a bug in some other
header (possibly enums.h).

ICAP source file names still need to be changed.

16 years agoMerged from trunk.
Alex Rousskov [Thu, 19 Feb 2009 20:42:45 +0000 (13:42 -0700)] 
Merged from trunk.

16 years agoUse Common.am and TestHeaders.am instead of replicating their code.
Alex Rousskov [Thu, 19 Feb 2009 20:38:18 +0000 (13:38 -0700)] 
Use Common.am and TestHeaders.am instead of replicating their code.

16 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 (/).

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

16 years agoMerged from trunk.
Alex Rousskov [Thu, 19 Feb 2009 19:17:16 +0000 (12:17 -0700)] 
Merged from trunk.

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

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

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

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

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

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

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

16 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)

16 years agoMerged from trunk
Francesco Chemolli [Thu, 19 Feb 2009 08:36:22 +0000 (09:36 +0100)] 
Merged from trunk

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

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

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

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

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

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

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

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

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