Age | Commit message (Collapse) | Author | Files |
|
* configure.ac: Set version 2.2
(AC_VMOD_BASENAME): New subst variable.
* NEWS: Document changes.
* acvmod: Updated.
* tests/Makefile.am: Define AT_VMOD_BASENAME in package.m4
* tests/atlocal.in: Add @VARNISH_SBINDIR@ to PATH.
* tests/check.at: Change the use of AT_VARNISHTEST macro.
* tests/checkf.at: Likewise.
* tests/dump.at: Likewise.
* tests/rate.at: Likewise.
* tests/ratef.at: Likewise.
* tests/strftime.at: Likewise.
|
|
the testsuite
|
|
* src/tbf.c: Store tree in the global variable.
Optionally save it to a disk file at exit.
Provide statistics, dumping and loading functions.
* src/tbf.h: Move data type declarations here.
* src/vmod_tbf.vcc (load, dump_at_exit)
(log_tree, log_stats): New functions.
(dump, gc, rate, check): Remove PRIV_VCL parameter.
* tests/Makefile.am (test05.vtc): New test case.
* tests/test05.vtc: New file.
|
|
* configure.ac: Don't check for libdb.
* src/tbf.c: Rewrite using binary tree.
* src/vmod_tbf.vcc (open, close, sync): Remove.
(rate, check): Add PRIV_VCL argument.
(debug,dump,gc,set_gc_interval): New functions.
* tests/test00.vtc: Remove calls to tbf.open/close
* tests/test01.vtc: Likewise.
* tests/test02.vtc: Likewise.
* tests/test03.vtc: Likewise.
* NEWS: Document changes.
* src/vmod-tbf.3: Likewise.
|
|
* .gitmodules: New file.
* acvmod: New submodule.
* bootstrap: Update.
* Makefile.am (ACLOCAL_AMFLAGS): Add acvmod
* configure.ac: Use AM_VARNISHAPI instead of inlining
the related code.
Enable silent rules.
Set version number 2.0.90-4.1.0
* src/Makefile.am: Enable silent rules.
* tests/Makefile.am: Likewise.
* NEWS: Update.
|
|
* configure.ac: Use pkg-config. Save Varnishapi version
in VARNISHAPI_MAJOR, VARNISHAPI_MINOR, VARNISHAPI_PATCH
Refuse to run if it is prior to 4.1
* src/Makefile.am: Remove conditionals
* src/tbf.h: Remove Varnish 3.0 defines
* src/vmod-tbf.3: Update
* tests/Makefile.am: Remove conditionals
* tests/test00.vti: Rename to tests/test00.vtc
* tests/test02.vti: Rename to tests/test02.vtc
|
|
|
|
* NEWS: Update.
* configure.ac: Version 1.0.90
Detect Varnish version, set up the C defines and automake conditionals
to indicate it.
* src/.gitignore: Update.
* src/Makefile.am: Don't distribute vcc_if.c and vcc_if.h,
build them for the current Varnish version.
* src/tbf.h: New file.
* src/getla.c: Include tbf.h, rewrite to compile with both 3.0
and 4.0
* src/sleep.c: Likewise.
* src/tbf.c: Likewise.
* src/time.c: Likewise.
* src/vmod_tbf.vcc: Rewrite using v4.0 format.
* tests/.gitignore: New file.
* tests/Makefile.am: Build test00.vtc and test02.vtc
* tests/test00.vtc: Rename to tests/test00.vti, add conditional
compilation directives.
* tests/test02.vtc: Rename to tests/test02.vti, add conditional
compilation directives.
|
|
* configure.ac: Version 0.99.91
* src/tbf.c (dbdir): New static.
(tbf_set_db_name): Remove.
(tbf_set_db_dir): New function.
(tbf_open): Rename the parameter and related variables.
Create a CDB environment and the database in it.
(vmod_open): Change semantics of the first argument.
* src/vmod-tbf.3: Update.
* tests/Makefile.am (distclean-local): New rule, instead of
DISTCLEANFILES.
* tests/test00.vtc: Update call to tbf.open.
* tests/test01.vtc: Likewise.
* tests/test02.vtc: Likewise.
* tests/test03.vtc: Likewise.
|
|
* src/vmod_tbf.c (vmod_rate): Use %lu instead of %z
(vmod_check): New function.
* src/vmod_tbf.vcc (check): New function.
* tests/Makefile.am: Add new files.
* tests/test02.vtc: New file.
* tests/test03.vtc: New file.
* tests/time01.vtc: New file.
|
|
* configure.ac: Check for sys/sysinfo.h, sysinfo and
getloadavg
* src/Makefile.am: Add new sources
* src/getla.c: New file
* src/time.c: New file
* src/vmod_tbf.vcc (getla, systime)
(strftime): New functions.
* tests/Makefile.am: Add new testcase.
* tests/time00.vtc: New testcase.
|
|
|