[PHP-CVS] cvs: php4 /pear Makefile.in
sbergmann Sat Mar 24 13:40:26 2001 EDT Modified files: /php4/pear Makefile.in Log: Added missing files. Index: php4/pear/Makefile.in diff -u php4/pear/Makefile.in:1.73 php4/pear/Makefile.in:1.74 --- php4/pear/Makefile.in:1.73 Mon Mar 12 11:35:28 2001 +++ php4/pear/Makefile.in Sat Mar 24 13:40:25 2001 @@ -40,6 +40,7 @@ Cache/Graphics.php \ Cache/Output.php \ Cache/Container/db.php \ + Cache/Container/dbx.php \ Cache/Container/file.php \ Cache/Container/phplib.php \ Cache/Container/shm.php \ @@ -62,10 +63,14 @@ File/Find.php \ File/Passwd.php \ File/SearchReplace.php \ + HTML/Common.php \ HTML/Form.php \ HTML/IT.php \ HTML/ITX.php \ + HTML/Page.php \ HTML/Processor.php \ + HTML/Select.php \ + HTML/Table.php \ HTTP.php \ HTTP/Compress.php \ Image/Remote.php \ -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-CVS] cvs: php4 /pear Makefile.in
jon Sat Mar 24 13:48:42 2001 EDT Modified files: /php4/pear Makefile.in Log: Install the Informix database implementation. Index: php4/pear/Makefile.in diff -u php4/pear/Makefile.in:1.74 php4/pear/Makefile.in:1.75 --- php4/pear/Makefile.in:1.74 Sat Mar 24 13:40:25 2001 +++ php4/pear/Makefile.in Sat Mar 24 13:48:41 2001 @@ -52,6 +52,7 @@ DB.php \ DB/common.php \ DB/ibase.php \ + DB/ifx.php \ DB/msql.php \ DB/mssql.php \ DB/mysql.php \ -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-CVS] cvs: php4 /pear Makefile.in
cmv Mon Mar 12 11:35:28 2001 EDT Modified files: /php4/pear Makefile.in Log: Forgot to add it here Index: php4/pear/Makefile.in diff -u php4/pear/Makefile.in:1.72 php4/pear/Makefile.in:1.73 --- php4/pear/Makefile.in:1.72 Thu Mar 1 23:52:56 2001 +++ php4/pear/Makefile.in Mon Mar 12 11:35:28 2001 @@ -83,6 +83,7 @@ Math/Fraction.php \ Math/Util.php \ Net/Curl.php \ + Net/Dig.php \ Net/SMTP.php \ Net/Socket.php \ Numbers/Roman.php \ -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-CVS] cvs: php4 /pear Makefile.in
chagenbuThu Mar 1 08:33:34 2001 EDT Modified files: /php4/pear Makefile.in Log: update the makefile for the new Cache classes. Index: php4/pear/Makefile.in diff -u php4/pear/Makefile.in:1.68 php4/pear/Makefile.in:1.69 --- php4/pear/Makefile.in:1.68 Thu Feb 22 08:01:14 2001 +++ php4/pear/Makefile.in Thu Mar 1 08:33:34 2001 @@ -12,6 +12,7 @@ PEAR_SUBDIRS = \ Benchmark \ Cache \ + Cache/Container \ Console \ Crypt \ Date \ @@ -33,7 +34,11 @@ PEAR_FILES = \ Benchmark/Iterate.php \ Benchmark/Timer.php \ - Cache/Function_Cache.php \ + Cache.php + Cache/Container.php \ + Cache/Container/file.php \ + Cache/Container/phplib.php \ + Cache/Container/shm.php \ Console/Getopt.php \ Crypt/CBC.php \ Crypt/HCEMD5.php \ -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-CVS] cvs: php4 /pear Makefile.in
chagenbuThu Mar 1 09:02:06 2001 EDT Modified files: /php4/pear Makefile.in Log: missing a backslash Index: php4/pear/Makefile.in diff -u php4/pear/Makefile.in:1.69 php4/pear/Makefile.in:1.70 --- php4/pear/Makefile.in:1.69 Thu Mar 1 08:33:34 2001 +++ php4/pear/Makefile.in Thu Mar 1 09:02:05 2001 @@ -34,8 +34,9 @@ PEAR_FILES = \ Benchmark/Iterate.php \ Benchmark/Timer.php \ - Cache.php + Cache.php \ Cache/Container.php \ + Cache/Container/db.php \ Cache/Container/file.php \ Cache/Container/phplib.php \ Cache/Container/shm.php \ -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-CVS] cvs: php4 /pear Makefile.in /pear/Cache Graphics.php Output.php
sbergmann Thu Mar 1 11:22:26 2001 EDT Added files: /php4/pear/CacheGraphics.php Output.php Modified files: /php4/pear Makefile.in Log: Added Graphics and Output Cache. Index: php4/pear/Makefile.in diff -u php4/pear/Makefile.in:1.70 php4/pear/Makefile.in:1.71 --- php4/pear/Makefile.in:1.70 Thu Mar 1 09:02:05 2001 +++ php4/pear/Makefile.in Thu Mar 1 11:22:25 2001 @@ -36,6 +36,8 @@ Benchmark/Timer.php \ Cache.php \ Cache/Container.php \ + Cache/Graphics.php \ + Cache/Output.php \ Cache/Container/db.php \ Cache/Container/file.php \ Cache/Container/phplib.php \ Index: php4/pear/Cache/Graphics.php +++ php4/pear/Cache/Graphics.php ?php // +--+ // | PHP version 4.0 | // +--+ // | Copyright (c) 1997, 1998, 1999, 2000, 2001 The PHP Group | // +--+ // | This source file is subject to version 2.0 of the PHP license, | // | that is bundled with this package in the file LICENSE, and is| // | available at through the world-wide-web at | // | http://www.php.net/license/2_02.txt. | // | If you did not receive a copy of the PHP license and are unable to | // | obtain it through the world-wide-web, please send a note to | // | [EMAIL PROTECTED] so we can mail you a copy immediately. | // +--+ // | Authors: Ulf Wendel [EMAIL PROTECTED] | // | Sebastian Bergmann [EMAIL PROTECTED] | // +--+ // // $Id: Graphics.php,v 1.1 2001/03/01 19:22:25 sbergmann Exp $ require_once'Cache.php'; /** * Graphics disk cache. * * The usual way to create images is to pass some arguments that describe the image * to a script that dynamically creates an image. For every image of a page * a new PHP interpreter gets started. This is a good way to kill your webserver. * * When dealing with dynamically generated images you should not call another script * to generate the images but generate the images by the script that produces the page * that contains the images. This is a major improvement but it's only half the way. * * There's no need to rerender an image on every request. A simple disk cache can reduce * the computation time dramatically. This is what the class graphics_cache is for. * * Usage: * * // create an instance of the graphics cache * $cache = new graphics_cache; * * $img = ImageCreate(...); * * // compute an ID for your image based on typical parameters * $id = m5d( $size, $colors, $label); * * // check if it's cached * if (!($link = $cache-getImageLink($id, "gif"))) { * * // hmmm, it's not cached, create it * ... * // cacheImageLink() and cacheImage() make the ImageGIF() call! * // cacheImage() returns the value of ImageGIF() [etc.], cacheImageLink() returns a URL * $link = $cache-cacheImageLink($id, $img, "gif"); * * } * * // Ok, let's build the ImageLink * $size = getImageSize($link[0]); * printf('img src="%s" %s', $link[1], $size[3]); * * // for cacheImage(): * // header("Content-type: image/gif"); print $cache-cacheImage($id, $img, "gif"); * * * The class requires PHP 4.0.2+ [ImageType()]. Note that cacheImage() works with * the output buffer. Modify it if required! * * @author Ulf Wendel [EMAIL PROTECTED] * @version $Id: Graphics.php,v 1.1 2001/03/01 19:22:25 sbergmann Exp $ */ class graphics_cache extends cache { /** * Cache URL prefix. * * Make sure that the cache URL prefix points to the $cache_dir, otherwise * your links will be broken. Use setCacheURL to specify the cache_url and * setCacheDir() for the cache_dir. * * @var string * @see setCacheURL(), setCacheDir() */ var $cache_url = ""; /** * Directory where cached files get stored. * s * Make sure that the cache_dir is writable and offers enough space. Check * also if your cache_url points to the directory. Use setCacheDir() to set * the variable. * * @var string * @see setCacheDir(), setCacheURL() */ var $cache_dir = ""; /** * Nameprefix of cached files. * * Per default the prefix "graphics_" gets used. You might use this * for versioning or to ease (manual) clean ups. * * @var string */ var $cache_file_prefix = "graphics_"; /** * Mapping from supported image type to a ImageType() constant. * * Referr to the PHP manual for more informations on ImageType() * * @var array *
[PHP-CVS] cvs: php4 /pear Makefile.in /pear/Cache Function.php
sbergmann Thu Mar 1 23:52:56 2001 EDT Added files: /php4/pear/CacheFunction.php Modified files: /php4/pear Makefile.in Log: Added experimental version of Cache_Function module. Index: php4/pear/Makefile.in diff -u php4/pear/Makefile.in:1.71 php4/pear/Makefile.in:1.72 --- php4/pear/Makefile.in:1.71 Thu Mar 1 11:22:25 2001 +++ php4/pear/Makefile.in Thu Mar 1 23:52:56 2001 @@ -36,6 +36,7 @@ Benchmark/Timer.php \ Cache.php \ Cache/Container.php \ + Cache/Function.php \ Cache/Graphics.php \ Cache/Output.php \ Cache/Container/db.php \ Index: php4/pear/Cache/Function.php +++ php4/pear/Cache/Function.php ?php // +--+ // | PHP version 4.0 | // +--+ // | Copyright (c) 1997, 1998, 1999, 2000, 2001 The PHP Group | // +--+ // | This source file is subject to version 2.0 of the PHP license, | // | that is bundled with this package in the file LICENSE, and is| // | available at through the world-wide-web at | // | http://www.php.net/license/2_02.txt. | // | If you did not receive a copy of the PHP license and are unable to | // | obtain it through the world-wide-web, please send a note to | // | [EMAIL PROTECTED] so we can mail you a copy immediately. | // +--+ // | Authors: Sebastian Bergmann [EMAIL PROTECTED] | // +--+ // // $Id: Function.php,v 1.1 2001/03/02 07:52:56 sbergmann Exp $ require_once 'Cache.php'; function cached_function_call() { static $cache; // create Cache object, if needed if (!is_object($cache)) { $cache = new Cache(CACHE_CONTAINER, CACHE_CONTAINER_OPTIONS) } // get arguments $arguments = func_get_args(); // generate cache id $id = md5(serialize($arguments)); // query cache $cached_object = $cache-get($id); // cache hit if ($cached_object != NULL) { $output = $cached_object[0]; $result = $cached_object[1]; } // cache miss else { $function_name = array_shift($arguments); // call function, save output and result ob_start(); $result = call_user_func_array($function_name, $arguments); $output = ob_get_contents(); ob_end_clean(); // store output and result of function call in cache $cache-save($id, array($output, $result)); } print $output; return $result; } ? -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-CVS] cvs: php4 /pear Makefile.in
cmv Tue Jan 23 13:08:13 2001 EDT Modified files: /php4/pear Makefile.in Log: Never added this ... Index: php4/pear/Makefile.in diff -u php4/pear/Makefile.in:1.64 php4/pear/Makefile.in:1.65 --- php4/pear/Makefile.in:1.64 Fri Jan 19 21:39:26 2001 +++ php4/pear/Makefile.in Tue Jan 23 13:08:13 2001 @@ -34,6 +34,7 @@ Benchmark/Timer.php \ Cache/Function_Cache.php \ Console/Getopt.php \ + Crypt/CBC.php \ Crypt/HCEMD5.php \ Date/Calc.php \ Date/Human.php \ -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-CVS] cvs: php4 /pear Makefile.in
sas Sat Jan 13 02:02:09 2001 EDT Modified files: /php4/pear Makefile.in Log: Fix make install in VPATH builds Index: php4/pear/Makefile.in diff -u php4/pear/Makefile.in:1.62 php4/pear/Makefile.in:1.63 --- php4/pear/Makefile.in:1.62 Fri Jan 12 07:24:21 2001 +++ php4/pear/Makefile.in Sat Jan 13 02:02:08 2001 @@ -112,7 +112,7 @@ dynlib.m4 \ acinclude.m4 -bin_SCRIPTS = phpize php-config pear phpextdist +bin_SCRIPTS = phpize php-config pear install-build: $(mkinstalldirs) $(phpbuilddir) $(bindir) \ @@ -121,6 +121,9 @@ install-programs: for prog in $(bin_SCRIPTS); do \ $(INSTALL) -m 755 scripts/$$prog $(bindir)/$$prog; \ + done; \ + for prog in phpextdist; do \ + $(INSTALL) -m 755 $(srcdir)/scripts/$$prog $(bindir)/$$prog; \ done HEADER_DIRS = \ -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-CVS] cvs: php4 /pear Makefile.in
tuupola Fri Jan 12 01:13:56 2001 EDT Modified files: /php4/pear Makefile.in Log: PR: Submitted by: Reviewed by: Obtained from: Added Image_Remote class. Index: php4/pear/Makefile.in diff -u php4/pear/Makefile.in:1.60 php4/pear/Makefile.in:1.61 --- php4/pear/Makefile.in:1.60 Thu Jan 11 10:38:26 2001 +++ php4/pear/Makefile.in Fri Jan 12 01:13:55 2001 @@ -18,6 +18,7 @@ DB \ File \ HTML \ + Image \ Log \ Mail \ Math \ @@ -51,6 +52,7 @@ File/SearchReplace.php \ HTML/Form.php \ HTTP.php \ + Image/Remote.php \ Log.php \ Log/composite.php \ Log/file.php \ -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]