Sascha Schumann
0d36199cf9
Large test commit IV
2000-05-01 22:04:52 +00:00
Sascha Schumann
de2cea47c0
Large commit test III
2000-05-01 22:00:09 +00:00
Sascha Schumann
a481fddfb3
Improved in-tree shared libraries build system
...
The following new/revived shared modules are available now:
... MySQL (*)
... PCRE (*)
... Session
... SWF
(*) capable of using bundled library or external library
All changes:
The m4 macro PHP_EXTENSION was revamped. Uses LIB_BUILD now.
This effectively means that all extensions have to use dynlib.
ext/mysql/config.m4 was revamped.
Uses LIB_BUILD for building bundled library.
ext/pcre/config.m4 was revamped.
Uses LIB_BUILD for building bundled library.
ext/ext_skel was changed to reflect that more modules should be
compileable as shared module.
ext/Makefile.in has been simplified enormously.
Dependencies are now stored in the build tree.
Empty dependencies are not generated by buildconf anymore. They
are now dynamically created during the build process.
Implicit rules for .S were removed.
The NO_RECURSION feature was removed.
"libs.mk" has been added to all cvsignore files in ext.
2000-05-01 02:42:55 +00:00
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)
2000-04-30 03:20:09 +00:00
Nick Gorham
1b7bfe5bbf
Removed unnecessary FAR's (I am assuming we don't need to work under
...
16 bit windows). They break several ODBC builds.
2000-04-16 16:16:59 +00:00
Colin Viebrock
a7c8bfb9fb
phpinfo() prettying
2000-04-06 21:07:44 +00:00
Sascha Schumann
b4db46606e
Some white-space changes
2000-03-26 19:47:28 +00:00
Andi Gutmans
50a2574e97
- ELS are passed to internal functions
2000-03-14 05:15:33 +00:00
Andreas Karajannis
773d0560f2
odbc_close() and odbc_close_all() working again
2000-03-13 15:22:47 +00:00
Sascha Schumann
bb09ee9505
Use sprintf everywhere and define sprintf to php_sprintf, if sprintf is broken.
2000-03-12 17:18:21 +00:00
Sascha Schumann
caeaaf4d98
Fix build on systems which lack snprintf or vsnprintf.
...
PR: #3786
2000-03-12 15:47:34 +00:00
Leo Baschy
355eda0cf3
remove recent patch to _close_odbc_conn calling _free_odbc_result
2000-03-12 01:03:23 +00:00
Andi Gutmans
9dca788ca0
- Don't define DEBUG anymore. Everyone should use PHP_DEBUG.
...
There are 2-3 third-party libs in PHP which use DEBUG and I left them
this way (primary example is pcrelib).
- Please test things and Andrei, can you check that pcrelib stopped
printing the warning messages?
2000-03-11 20:48:49 +00:00
Leo Baschy
db33bb8ff6
_close_odbc_conn calls _free_odbc_result if possible
2000-03-09 22:19:57 +00:00
Stig Bakken
d02fe90b00
Change extension names in all extensions' zend_module_entry to their
...
directory name.
2000-03-06 18:44:01 +00:00
Sascha Schumann
1e1e162e31
Define SQL_SUCCEEDED for Solid.
...
PR: #3383
2000-02-23 19:16:34 +00:00
Andreas Karajannis
324391bc30
uodbc now uses zend's reference system. The crashes on request shutdown should be gone.
2000-02-23 16:34:08 +00:00
Egon Schmid
ecb74a01a1
More protos.
2000-02-23 16:26:10 +00:00
Zeev Suraski
86fa2aade2
the pipe is breaking all the time
2000-02-19 23:41:32 +00:00
Andi Gutmans
8c813dbb96
- Make Win32 compile again
2000-02-05 17:58:11 +00:00
Andreas Karajannis
2b6d84ff37
Fix for wrong library ordering with adabas
2000-01-19 18:21:53 +00:00
Zeev Suraski
ec386cc9fd
- Remove the pre-request-shutdown hooks, they should no longer be necessary.
...
The session module may not work due to an unknown (and until now, IMO, misdiagnosed) problem,
if it does, please report it!
2000-01-16 21:03:49 +00:00
Thies C. Arntzen
b42603eee6
in an rshutdown function we should not access the regular_list like this.
2000-01-15 13:35:06 +00:00
Andreas Karajannis
0ab3cda84a
Statements get closed before connection shutdown.
...
Disabled fetching all errors for Adabas.
2000-01-02 15:59:01 +00:00
Sascha Schumann
43ae2bffbb
Happy Y2K patch! Happy new year (or the new millennium, depending on whether
...
you start counting at 0 or 1).
2000-01-01 01:32:05 +00:00
Sascha Schumann
f5bf967660
Fix linking problems with iODBC. This is from the Adabas section, so
...
this might work for iODBC.
1999-12-31 00:38:22 +00:00
Sascha Schumann
797b8885c5
First try at getting the ODBC stuff right
1999-12-31 00:21:01 +00:00
Andreas Karajannis
7c88c6fce1
Replaced some ODBC 3 stuff to be backwards compatible to ODBC 2
1999-12-30 17:11:47 +00:00
Sascha Schumann
7948fe36c4
Fix define.
...
This should be the last one, my earlier search didn't find macro names
contain numbers.
1999-12-30 13:19:56 +00:00
Sascha Schumann
cf5a5fb1dd
Whoops, defining them to empty values generates many parse errors.
...
Defaulting to 1.
1999-12-30 04:52:19 +00:00
Sascha Schumann
2c99bef442
Get rid of config.h.stub. Note that you should embed a comment about
...
what the respective define does into the AC_DEFINE macro. I.e.
AC_DEFINE(HAVE_FOO, 1, [Whether you have FOO])
1999-12-30 04:07:46 +00:00
Sascha Schumann
f2f8d38efa
Integration of -ng changes. Changes:
...
- added support for externally built modules,
- improved support for in-tree shared modules,
- fixed diversion bugs,
- configure displays some informative messages,
- faster static build
(libtool isn't used anymore for compiling non-PIC objects),
- dependencies comparable to automake's without requiring GNU make or GCC,
- working make clean for non-GNU makes.
1999-12-30 02:59:53 +00:00
Zeev Suraski
235386b245
Change ALLOC_ZVAL() semantics
1999-12-26 21:21:33 +00:00
Andi Gutmans
3bf1b04cb4
- Move more stuff to ALLOC_ZVAL(). We need to add those FREE_ZVAL()'s now.
1999-12-24 17:39:27 +00:00
Sascha Schumann
a2276107ab
Some cleanup
1999-12-21 22:58:04 +00:00
Zeev Suraski
e538fcbf10
@- Fixed a bug in ODBC error reporting (Zeev)
...
@- Added PHP_Logo_GUID() and Zend_Logo_GUID() functions, that return the GUIDs
@ of the PHP and Zend logos used in phpinfo() (Zeev)
1999-12-21 20:35:43 +00:00
Zeev Suraski
a1ad2872ee
- The tree compiles again
1999-12-18 22:40:35 +00:00
Zeev Suraski
396bccfb1d
More php3_ cleanup
1999-12-17 22:34:04 +00:00
Zeev Suraski
fb1c77bd4f
- Made PHP_VERSION and PHP_OS work again
...
- More php3_ cleanup
@- Restored the PHP_VERSION and PHP_OS constants (Zeev)
1999-12-17 20:55:31 +00:00
Zeev Suraski
a3c6514332
More php3_ annihilation
1999-12-17 19:51:39 +00:00
Andreas Karajannis
4bd855e69f
Don't include functions not supported by Solid
1999-12-11 10:56:42 +00:00
Nick Gorham
25096ac9e9
Report all ODBC error's not just the top of the stack
1999-12-09 09:59:17 +00:00
Sascha Schumann
5b983c944f
Clean up php3.*\.h files. The files itself are renamed, and references in all
...
.*\.[ch] files were changed. There is a slight chance that my script missed
a few changes, please correct them manually.
1999-12-04 19:19:57 +00:00
Nick Gorham
2df67b7c9e
Added check in the ODBC module that a connection is still valid before
...
reuse in a persistent connection.
1999-11-30 12:41:36 +00:00
Stig Bakken
bd8b285a9e
@Added DBMaker support (patch by Pax Tsai <paxtsai@lion.syscom.com.tw>)
...
Added DBMaker support (patch by Pax Tsai <paxtsai@lion.syscom.com.tw>)
1999-11-29 00:45:28 +00:00
Sascha Schumann
3dc7757a99
Remove the extra INCLUDES line from most automake Mafiles. This is not
...
necessary, because we can change the value of INCLUDES globally in one
place (configure.in).
Also add two defines in thread-safe mode
(_REENTRANT and POSIX_PTHREAD_SEMANTICS)
1999-11-13 12:41:09 +00:00
Stig Bakken
fd056d0c01
Clean up ODBC HAVE_XXX symbols, compile fixes for OpenLink and Solid.
...
#The Solid support still does not link, though (looks like a side-effect of
#the way the Solid libs are named and our stubborn friend libtool).
#This can wait until after 4.0b3.
1999-11-09 14:28:59 +00:00
Stig Bakken
a14d96ef72
Fix OpenLink ODBC support
...
@Fix OpenLink ODBC support (Stig)
1999-11-09 13:31:16 +00:00
Rasmus Lerdorf
990d5d72ea
(IBM DB2 Support) Fix stuff to allow IBM DB2 to work with PHP 4.
...
Tested against DB2 6.1 UDB on Linux (RH-6.0)
@- Enable IBM DB2 support - Tested against DB2 6.1 UDB on Linux (RH-6.0)
1999-10-28 20:33:43 +00:00
Zeev Suraski
9295bd2577
Make ODBC work under Win32
1999-10-15 12:28:20 +00:00
Thies C. Arntzen
86bb3fa0c0
new improved resource-API (i hope everything still compiles)
1999-10-12 14:53:15 +00:00
Andreas Karajannis
05ed227dde
Forgot to remove workaround for SQLANY_BUG which is no longer needed
1999-10-08 19:43:27 +00:00
Andreas Karajannis
2051682665
Moved Environment handle to connection struct for thread safety
1999-10-08 19:35:50 +00:00
Andreas Karajannis
6cd07c5165
Made henv a real global var. Seems to work basically when multithreaded
1999-10-07 18:49:41 +00:00
Sascha Schumann
232afa4816
* archive-based convenience libraries completely replaced
...
with libtool components
* SAPI targets can enable thread-safe mode and define
shared/static/program build target
* all configure scripts use the same config.cache
* phplibdir is $(top_builddir)/modules to avoid
permission problems
* sapi/*/Makefile.inc are gone
* runpath handling cleaned up
* top-level Makefile.in obsoleted through Makefile.am
* --enable-versioning uses libtool's cleaner and more
portable -export-symbols feature
1999-10-04 15:18:26 +00:00
Andreas Karajannis
7588b1bd81
odbc now uses the new Zend function api
1999-09-25 11:30:28 +00:00
Nick Gorham
7d759e6781
Added support for Easysoft ODBC-ODBC Bridge
...
Fixed bug in odbc_setoption
1999-09-23 14:46:35 +00:00
Nick Gorham
21d8c984da
Added support for metadata functions, odbc_tables, odbc_columns,
...
odbc_columnprivileges, odbc_foreignkeys, odbc_gettypeinfo,
odbc_primarykeys, odbc_procedurecolumns, odbc_procedures,
odbc_procedurecolumns, odbc_procedures, odbc_specialcolumns,
odbc_statistics, odbc_tableprivileges
1999-09-22 21:14:03 +00:00
Sascha Schumann
e20af627c2
improve short help messages
1999-09-16 15:35:49 +00:00
Andreas Karajannis
361a09e5fa
Renaming odbc files
1999-09-05 13:03:22 +00:00
Andreas Karajannis
8a7d806054
New resource handling for odbc module
1999-09-05 13:01:42 +00:00
Andreas Karajannis
125da02aa7
Add support for unixODBC
1999-08-30 10:48:23 +00:00
Andreas Karajannis
9eea00c086
Typo fix
1999-08-27 08:46:23 +00:00
Andreas Karajannis
da536e8a32
Fixed odbc_fetch_into, added prototype return values.
...
Pconnects are not working
1999-08-09 16:35:47 +00:00
Andreas Karajannis
daa7982110
First shot at odbc for PHP4
...
Problems with LONGs to be investigated
1999-08-08 16:26:26 +00:00
Zeev Suraski
3cb1eb0471
Removed '3' from key functions in PHP (maintained compatibility through
...
php3_compat.h)
1999-08-02 19:17:14 +00:00
Andrey Hristov
33d27f5bfe
More symbol work.
1999-08-02 16:06:13 +00:00
Zeev Suraski
c5724cbd14
License update
1999-07-16 13:13:16 +00:00
Sascha Schumann
b57dc27595
- run ext sources through conv_proto
...
- add necessary phpext_*_ptr
1999-05-21 10:06:25 +00:00
Zeev Suraski
0b77132507
* Get Apache to work. POST doesn't work yet.
...
* There are now -I directives for the absolute path of php4, php4/libzend and the builddir for
the Apache module, so we can #include any php/Zend header.
* Rename config.h to php_config.h
1999-05-11 00:01:47 +00:00
Zeev Suraski
bc415d5a88
* Finalizing the PHP version of SAPI. Support POST and cookies among other things.
...
* Fully implement ISAPI support - POST and cookies among other things.
* Almost completely rewrote phpinfo(). Allow modules to easily display their
information in phpinfo() without modifying phpinfo() itself (prototype for
the module info function was changed, thus the large amount of updated module
files).
* Initial extended SAPI support for Apache, completely untested.
* CGI now uses SAPI fully as well.
1999-05-09 08:48:05 +00:00
Zeev Suraski
66476011dd
A step towards generalizing the INI mechanism even more
1999-04-28 20:26:33 +00:00
Zeev Suraski
0818d96c97
A lot of cleanups... Removed old thread-safe code and other redundant code and files
1999-04-24 00:12:00 +00:00
Stig Bakken
ff37732997
moved fdf, hyperwave, informix and some smaller files
1999-04-22 00:25:57 +00:00
Stig Bakken
b84ce5a06a
added ext/*/config.h.stub files
...
removed config.h.in (generated)
1999-04-20 01:23:32 +00:00
Stig Bakken
54468d2e75
odbc compiles and runs on UNIX again (tested with Solid 2.3)
1999-04-20 01:03:12 +00:00
Stig Bakken
edf17b2a8f
include the right header files
1999-04-19 17:24:25 +00:00
Stig Bakken
7dee737fb4
moved odbc into ext/
1999-04-19 15:04:11 +00:00