Stig Bakken
83ba61245c
All (three) current DB tests pass.
26 years ago
Stig Bakken
54e911aa4f
* renamed toString method to __string_value
26 years ago
Stig Bakken
5b2719d9b3
I said I had not _tested_ this on windows, didn't I? :-)
26 years ago
Stig Bakken
490de54fb5
undid the undoing of Sascha's last commit
26 years ago
Stig Bakken
315f4f5658
@PHP 3 regression testing framework re-born (Stig)
Took the old PHP 3 regression testing framework and rewrote it in PHP.
Should work on both Windows and UNIX, however I have not tested it on
Windows. See tests/README for how to write tests. Added the PHP 3
tests and converted most of them.
26 years ago
Sascha Schumann
bf94671c3c
Fix install-local-data target in VPATH mode. PEAR.php is generated and
stored in builddir.
26 years ago
Sascha Schumann
f1ec9035fc
Add new depend rule to rules_pear.mk and install mkdep.awk.
26 years ago
Sterling Hughes
3f97600862
Remove bogus commit that made DB::DB() an alias for DB::connect()
26 years ago
Sascha Schumann
876bac4823
builddir is used by the Unix build framework.
Rename builddir to phpbuilddir
26 years ago
Sterling Hughes
4850e34bf3
-Add getCode() method to PEAR_Error
-Correct license versions + My Address for DB/* mods
-Correct ibase module
-Javadocize File_Find
-Add a optional constructor to DB that passes it on to DB::connect()
26 years ago
Sascha Schumann
4e7ab5ec7b
phpextdist is located in $(srcdir), so don't try to install it from
$(builddir).
26 years ago
Chuck Hagenbuch
dc2362069e
Make the DB classes work with call-time pass-by-reference disabled.
26 years ago
Sascha Schumann
97c698a178
Relicense build-related files under the PHP License
Move common make rules to rules_common.mk. This gets rid of the duplicated
stuff in rules.mk/rules_pear.mk.
26 years ago
Sascha Schumann
c28eac2f6c
Fix dependency. PEAR.php needs to be created before it can be installed.
26 years ago
Stig Bakken
def1424b12
@Added XML_Parser class in PEAR (Stig)
@Added "make test" target in pear/ and added some regression tests (Stig)
Also fixed a bug in the PEAR class that was discovered when testing :-)
26 years ago
Stig Bakken
4575fe5a7c
* PEAR now stands for "PHP Extension and Application Repository"
26 years ago
Chuck Hagenbuch
44a46d2a75
Moving the Socket class to Net/Socket.php, and basing it on code that Stig
wrote, with a few extra utility functions from my old class.
Stig, I mucked with the constructor a bit since it didn't quite make sense
exactly as it was - does it still do what was intended?
Also, are the emacs folding things (// {{{ functionname() ...) a PEAR
standard? How do they fit with the javadoc?
26 years ago
James L. Pine
96a35a3eea
added DB/oci8.php to PEAR_FILES
26 years ago
Chuck Hagenbuch
5ec120366c
Add a Socket class. If this should be somewhere other than top-level, just
let me know - none of the existing subdirectories made sense to me, and I
didn't want to add a new one just for this.
26 years ago
Stig Bakken
c63410f6be
Multiple DB::connect or DB::factory calls using the same backend
should work now.
26 years ago
Stig Bakken
e0b531d5f4
* the beginning of a regression testing framework?
26 years ago
Stig Bakken
fbc947f43f
* generate pear scripts properly with configure
26 years ago
Stig Bakken
576b6e9236
* PEAR.php is now generated by configure
26 years ago
Stig Bakken
9f7874ccc5
added TODO file for PEAR
26 years ago
David Croft
96eada8f80
licence versions -> 2.02 in pear files
26 years ago
Stig Bakken
e0924de112
@Ported DB to new error reporting scheme
26 years ago
Stig Bakken
0f0f1cebcb
* new class: PEAR - can be used as a base class for others.
* PEAR_Error moved into PEAR.php to reduce the number of files that are
always included
* cleaned up the PEAR_Error API a bit and changed the two classes using it
* added PEAR_Installer - an administration class for installing packages
and maintaining a "class/file cache"
26 years ago
David Croft
0836e10a15
various version 2.0 and 2.01 licenses -> 2.02
26 years ago
Sterling Hughes
bf6e7e8034
Remove $file and $line.
26 years ago
Sterling Hughes
f66de59603
New naming sequence for PEAR_Error
- PEAR_ERROR -> PEAR_Error
- $CLASSNAME -> $classname
New naming sequence for Exceptions
- ExceptionFileFind -> FileFindException.
26 years ago
Rasmus Lerdorf
9ea35f0d28
Fix this address
26 years ago
Sterling Hughes
4773b98ac6
Add PEAR_ERROR class for returning exception objects.
# This is the basic idea that Ulf proposed, its obviously
# going to be subject to modifications.
26 years ago
Stig Bakken
8b824d99fa
@Added "pear" executable, requires CGI version installed (Stig)
26 years ago
Chuck Hagenbuch
75879e3f18
i don't think there's a reason to nuke the db handle here (when freeing
results).
26 years ago
Chuck Hagenbuch
353dcc835f
DB::parseDSN() now checks the value it is passed, and if it is already an
array, returns it. This lets you pass arrays to the connect functions and
they'll work transparently.
26 years ago
Sascha Schumann
dfaaa8ff95
Also install XML-related header files.
26 years ago
Chuck Hagenbuch
c80c71f48b
Here is a brief start towards getting the DB stuff up to speed and working
(I need it to move forward on some stuff, and I really do want to see PEAR
succeed, so I'm going to work with the official code to get it working. Hope
that's okay). I've replaced all instances of 'use' and 'import' with
'include_once' (and added the .php extension where necessary). This gets my
short test script working. More possibly to come.
26 years ago
Sascha Schumann
e53b791b3e
Copy header files from main and also add that directory to the list
of include directories.
26 years ago
Sascha Schumann
e4e7047e4a
Use the new PHP_GEN_* macros in pear
26 years ago
Sascha Schumann
fbfd92c775
Fix regex
27 years ago
Sascha Schumann
9f6976d6d5
Complain loudly, if we were not able to install everything.
27 years ago
Sterling Hughes
515b7e74df
adda dir..
27 years ago
Sascha Schumann
3b9bcd7443
Set abs_srcdir. Last example in README.S-C-EXTENSIONS works now.
27 years ago
Sascha Schumann
cae3b7dff5
Pear Changes:
Store EXTENSION_DIR in php-config
Ignore errors during header installation
Automatically enable modules in self-contained mode
Create empty .deps in builddir
27 years ago
Sascha Schumann
5989ae5dc1
Fix building external extensions.
27 years ago
Sascha Schumann
7613e064f8
Remove trailing empty lines
27 years ago
Sascha Schumann
0d36199cf9
Large test commit IV
27 years ago
Sascha Schumann
de2cea47c0
Large commit test III
27 years ago
Sascha Schumann
1d4e698aca
Copy dynlib.mk to the build directory.
27 years ago
Sascha Schumann
953fe189da
Overall UNIX build system improvements:
* Makefile header is now completely dynamic
* Absolute paths in (top_)?(src|build)dir and VPATH
(fixes Tru64 support)
* VPATH does not contain variables anymore
(fixes UnixWare support)
27 years ago