Tomas V.V.Cox
dfa35a78e6
Forget to add the $this->result param to fetchInto
2001-06-08 01:15:35 +00:00
Tomas V.V.Cox
48920fbb1b
Changed constant DB_OK from 0 to 1. So if you set a default error handler,
...
this will improve fetchInto usability [while ($res->fetchInto($row))],
because don't disturb the while loop
2001-06-07 13:44:44 +00:00
Tomas V.V.Cox
50cb6e3733
change DB_result::fetchRow to use extension fetchInto instead of
...
DB_result::fetchInto (speed improvement)
2001-06-07 12:55:14 +00:00
Andrei Zmievski
6c4d96e8ea
Fix long option parsing.
2001-05-29 16:18:35 +00:00
Stig Bakken
fc7d897490
@Added "pearize" script to generate Makefile.in files for PEAR extensions
2001-05-28 11:15:19 +00:00
Stig Bakken
9f3434264a
* added LibFile element, used to build Makefile.in
2001-05-28 11:14:47 +00:00
Stig Bakken
7d52787a96
* missing fold marks
2001-05-28 06:31:03 +00:00
Stig Bakken
ae9da3a9c1
* typo
2001-05-27 09:40:58 +00:00
Tomas V.V.Cox
881f74263a
-Changed $param[0] to $param{0} less ambiguous
...
-Readd "-?" param that shows the usage msg
2001-05-23 14:38:09 +00:00
Stig Bakken
2d6d626c75
* added missing doc for PEAR::raiseError skipmsg parameter
2001-05-23 12:37:43 +00:00
Tomas V.V.Cox
e88dd1ac99
remove "?" from Console_Getopt. Sorry Andrei it was there and
...
I left there :)
2001-05-22 16:30:36 +00:00
Tomas V.V.Cox
370f099492
- added error cheking and abort when no script install dir is set
...
- minor typos
2001-05-22 16:25:04 +00:00
Tomas V.V.Cox
a3d92b745a
- Added the following params support:
...
* -p set script install dir
* -e set extension install dir
* -d set documentation dest dir
* -v set verbose level
- Some error reporting clean up
- Added the standar PHP copyright header and authors
2001-05-22 16:21:02 +00:00
Stig Bakken
83b18832aa
@Define HAVE_CONFIG_H when building standalone DSO extensions (Stig)
2001-05-20 05:29:54 +00:00
Jon Parise
12a5c62402
- Renaming $no_cache to $caching and inverting it's meaning
...
- Adding accessors for private $caching flag: getCaching() and setCaching()
2001-05-15 15:33:44 +00:00
Tomas V.V.Cox
ea8cd965fe
Put the verbose mode to work again. Some other style.
2001-05-15 14:15:09 +00:00
Tomas V.V.Cox
1485283db2
white spaces and indenting
2001-05-15 14:03:04 +00:00
Christian Stocker
58c92275e9
2 files from Cache/ were missing here, too.
2001-05-15 10:29:07 +00:00
Stig Bakken
67212de780
updated the .emacs example
2001-05-06 23:44:06 +00:00
Ulf Wendel
a8bc329291
Made Cache::save() a wrapper for Cache::extSave()
2001-04-24 08:27:11 +00:00
Jon Parise
34f6baaef6
Updater.php -> Uploader.php
2001-04-23 00:16:56 +00:00
Stig Bakken
4d9660d3b9
* fixed PEAR_Common::infoFromDescriptionFile
2001-04-22 07:43:34 +00:00
Stig Bakken
2cf1b8d345
* expanded the following constants and made them available in PHP:
...
DEFAULT_INCLUDE_PATH
PEAR_INSTALL_DIR
PHP_EXTENSION_DIR
PHP_BINDIR
PHP_LIBDIR
PHP_DATADIR
PHP_SYSCONFDIR
PHP_LOCALSTATEDIR
PHP_CONFIG_FILE_PATH
* no longer generating pear/PEAR.php
* fixed some tests
* some more installer work
2001-04-22 01:09:14 +00:00
Stig Bakken
c78e847153
* update class doc-comment
2001-04-20 13:04:30 +00:00
Stig Bakken
20c4b9c7b9
* fixed up the XML-RPC class so it's useful at least (based on usefulinc 1b8)
2001-04-20 12:12:35 +00:00
Tomas V.V.Cox
cf080fb73f
fix small bug on error reporting (PEAR::raiseError params order)
2001-04-19 23:56:57 +00:00
Stig Bakken
fa6f3a3617
* fixed DB_common::getXxx when using the parameter array (didn't work before)
2001-04-19 21:54:37 +00:00
Stig Bakken
2966cc538b
* cotcha, Tomas
2001-04-19 12:31:20 +00:00
Ulf Wendel
457c638bfb
- fixed the garbage collection
...
Added some kind of LRU to delete all entries older than n seconds.
This fixes the bug that cache entries with lifetime 0 (endless) never
got removed although if they are no longer used. What's still missing
is some space limit for cache data.
2001-04-19 11:04:01 +00:00
Stig Bakken
43bba67988
* forgot to update this test too
2001-04-19 02:40:35 +00:00
Stig Bakken
2e4ecd5cab
* DB_common now inherits PEAR and its error handling stuff
...
* DB_common::raiseError is now just a wrapper for PEAR::raiseError
* fixed some cast warnings in prepare/execute
* updated tests
2001-04-19 02:37:47 +00:00
Stig Bakken
4f84d76ed7
* check that error callbacks exist
2001-04-19 02:33:24 +00:00
Stig Bakken
ad8dbb8d10
* added Colin's connect/factory error reporting fix
2001-04-19 02:32:33 +00:00
Stig Bakken
b16f38e2e7
* fix handling of broken DSNs like Colin suggested
2001-04-18 23:03:18 +00:00
Stig Bakken
90c1355a75
* PEAR_Installer un-broken again, it still doesn't update the
...
package list though
* better error handling in "pear" script
2001-04-17 02:33:45 +00:00
Stig Bakken
2723ad2e63
* have DB.php use PEAR::raiseError in factory methods
2001-04-17 01:51:27 +00:00
Stig Bakken
266cc59f06
* enable static use of PEAR::raiseError
2001-04-17 01:29:48 +00:00
Stig Bakken
457333c1fd
* implemented PEAR_Packager to make distribution packages. Currently only
...
runs on platforms with GNU tar installed
* the "pear" script now requires a command parameter (similar to cvs),
for example "pear package Cache.xml"
* broke PEAR_Installer :-)
2001-04-17 01:17:59 +00:00
Stig Bakken
f35cef5928
* DB::isManip now handles create, drop, alter, grant, revoke.
2001-04-16 22:16:38 +00:00
Stig Bakken
ee17aae3ac
* make the error class used by raiseError configurable (_error_class property,
...
overridden by first parameter to constructor)
2001-04-16 21:45:21 +00:00
Stig Bakken
d3bb832585
* actually commit the stuff I said I had committed :-)
2001-04-16 21:24:38 +00:00
Stig Bakken
1bdc3d7478
* added sgml/xml catalog file
2001-04-15 23:53:09 +00:00
Stig Bakken
a90c2198e0
* add a package type called empty (default)
2001-04-15 23:52:42 +00:00
Stig Bakken
81e1ef0ad7
* PEAR: look for destructor methods in parent classes if
...
the current class does not have one
2001-04-13 22:24:33 +00:00
Sascha Schumann
466c226415
Revert mega patch.
...
This patch has at least the following deficiences:
- the CGI is built using objects from another SAPI module.
This usually results in unsatisfied symbol references.
- the CGI makefile is not created properly
- building CGI cannot be disabled
2001-04-09 15:47:19 +00:00
Stig Bakken
a4877d7afd
* CGI version is always installed!
...
* replaced --disable-pear with --with-pear=DIR (or --without-pear),
is backwards compatible
* use --datadir, --libdir and --sysconfdir configure options to determine
where PEAR files, shared extensions and php.ini goes
* simplified the extension version directory name
2001-04-08 22:30:17 +00:00
Wilfredo Sanchez
0df6e8dd88
Add INSTALL_ROOT variable to specify install location.
2001-04-03 20:59:50 +00:00
Jon Parise
c20a6ff9dc
Cleaner (and probably safer) condition handling.
2001-04-03 03:12:49 +00:00
Ulf Wendel
2a7b87a162
- Renamed the file following Thies suggestion
...
100% beginners compatible politics of the PHP core guys: I was (again) allowed to make a mistake without beeing kicked - cool, thanks!
2001-03-30 09:16:54 +00:00
Ulf Wendel
e294ebbc6d
- uuups, modified the package.dtd, undo
2001-03-29 22:01:52 +00:00