Frank M. Kromann
e93df14b67
fixing compiler directive so the module will actually build a php module
2000-06-05 16:26:46 +00:00
Thies C. Arntzen
8c65f81676
@- fixed crash in OCIParse when parsing invalid SQL. (Thies)
2000-05-30 09:25:02 +00:00
Thies C. Arntzen
ff53dde157
@- Uncommitted outstanding OCI8 transactions are now rolled back
...
@ before the connection is closed. (Thies)
2000-05-25 07:44:45 +00:00
Hartmut Holzgraefe
0fa7618f7c
proto function name fixed
2000-05-23 22:30:21 +00:00
Sascha Schumann
4686a3b50e
Use #ifdef COMPILE_DL_EXTNAME solely.
2000-05-23 09:33:51 +00:00
Sascha Schumann
0236982d6d
s/COMPILE_DL/COMPILE_DL_EXTNAME/ for Windows build files.
2000-05-23 09:22:01 +00:00
Thies C. Arntzen
400ca09018
added some Notice about --enable-sigchild
2000-05-19 09:19:20 +00:00
Zeev Suraski
e043439ff6
Update the license with the new clause 6
2000-05-18 15:34:45 +00:00
Thies C. Arntzen
2a6fbb620c
fix .sl <-> .so recognition
2000-05-15 10:01:51 +00:00
Thies C. Arntzen
c693ca137f
this now works on .so and .sl (HP) systems
2000-05-15 07:24:09 +00:00
Thies C. Arntzen
7436c0791b
imporved version detection
2000-05-08 09:41:37 +00:00
Thies C. Arntzen
831459885e
rewritten the configure stuff
2000-05-08 09:06:48 +00:00
Sascha Schumann
fe50664d4d
#if COMPILE_DL
...
becomes
#if defined(COMPILE_DL) || defined(COMPILE_DL_EXTENSION_NAME)
2000-05-02 00:44:35 +00:00
Sascha Schumann
0d383d9373
Replace the various get_module() functions with a uniform
...
ZEND_GET_MODULE(name) macro.
2000-05-02 00:30:36 +00:00
Sascha Schumann
7613e064f8
Remove trailing empty lines
2000-05-01 22:38:42 +00:00
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
Andi Gutmans
5d5b09e1a7
- Change some open's to V_OPEN()'s
2000-04-30 19:01:17 +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
Thies C. Arntzen
ea9be8b88b
compile fix
2000-04-28 10:37:17 +00:00
Thies C. Arntzen
0c46488147
using vi to update DevStudio Files, yeah!
2000-04-27 14:33:53 +00:00
Thies C. Arntzen
6f08c178b9
.
2000-04-27 14:32:58 +00:00
Thies C. Arntzen
6ccea93d6b
allow oci8 to be build as loadable module.
2000-04-27 14:29:11 +00:00
Thies C. Arntzen
232bcff77e
.
2000-04-24 16:46:56 +00:00
Thies C. Arntzen
b73919eb50
enabel PDB
2000-04-24 12:36:01 +00:00
Thies C. Arntzen
57c20bf836
fix warning
2000-04-24 12:35:30 +00:00
Frank M. Kromann
662280560f
moving pointers to header and library files to match php_build structure
2000-04-23 10:52:49 +00:00
Thies C. Arntzen
0e2ac7d992
*** empty log message ***
2000-04-21 14:54:44 +00:00
Thies C. Arntzen
eb786dc055
make it compile on Win32
2000-04-21 14:45:27 +00:00
Thies C. Arntzen
b27718ff00
@- OCIBindByName() will no longer complain about bindlength beeing zero. (Thies)
2000-04-21 09:54:15 +00:00
Colin Viebrock
a7c8bfb9fb
phpinfo() prettying
2000-04-06 21:07:44 +00:00
Thies C. Arntzen
7b31a19305
no c++ comments // please
2000-03-26 14:27:10 +00:00
Egon Schmid
ae67ddc318
One space character is enough.
2000-03-14 21:47:47 +00:00
Egon Schmid
29c41fe46d
Thies, please check the function names and descriptions.
2000-03-14 21:17:07 +00:00
Sascha Schumann
caeaaf4d98
Fix build on systems which lack snprintf or vsnprintf.
...
PR: #3786
2000-03-12 15:47:34 +00:00
Thies C. Arntzen
9abeb4819f
(OCILogon) fixed crash in OCILogon if username was not valid (newly introduced - no need for a NEWS entry)
2000-03-09 02:42:38 +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
Thies C. Arntzen
ad5b022ed1
@- OCINLogon() sessions are now closed again. (Thies)
...
# happy hacking in hongkong!
2000-03-06 08:02:15 +00:00
Joe Martin
68c10efe1b
Added functions to retrieve scale, precision and raw oracle data type for
...
columns.
2000-03-03 01:28:27 +00:00
Thies C. Arntzen
490569ca28
@- OCINLogon no longer crashes. (Thies)
2000-03-01 08:17:33 +00:00
Thies C. Arntzen
08055feffa
out of space in private (brain) memory;-)
2000-02-27 18:02:14 +00:00
Thies C. Arntzen
48bc90a8aa
just so that i don't forget
2000-02-27 14:31:04 +00:00
Egon Schmid
6aff02506e
Thies, it looks now a little bit better.
...
Please correct my dummy entries.
2000-02-23 15:54:23 +00:00
Thies C. Arntzen
e0b0919375
@- Fixed OCI8 crash when returning cursors from stored-procedures. (Thies)
2000-02-22 13:56:48 +00:00
Zeev Suraski
86fa2aade2
the pipe is breaking all the time
2000-02-19 23:41:32 +00:00
Zeev Suraski
1c4532dcbf
*** empty log message ***
2000-02-19 13:11:02 +00:00
Sascha Schumann
0036b8bba0
#if WIN.* => #ifdef PHP_WIN32
...
#if !(WIN.* => #ifndef PHP_WIN32
2000-02-12 14:38:31 +00:00
Zeev Suraski
6d0ab6166c
SAPIfication, Episode VI: Return of the SAPI
...
Remove mostly all references to APACHE and CGI_BINARY from the code.
- Apache include files are no longer included by any PHP code, except for the Apache SAPI module.
- No server specific code is in any of the base PHP code.
Still left to be done:
- Eliminate any references to APACHE from the few remaining modules.
- Move request_info.c's logic to SAPI
- Modify the regex function names, and globals, so that we can always
include them, without having to fear any interference with Apache;
Always use the bundled regex library
2000-02-10 19:41:21 +00:00
Thies C. Arntzen
aee1dd9ec0
kill warning
...
@- Fixed some OCIBindByName() problems. (Thies)
2000-02-07 10:31:43 +00:00
Thies C. Arntzen
c145f85638
make it work without the zend_hash_pointer*() functions. some work on the shutdown issues (more to follow)
2000-02-01 14:39:59 +00:00
Thies C. Arntzen
8950aa75c4
@- OCI8 now supports binding of NULL-values. Module cleanups. (Thies)
...
lots of cleanup - all invisible to the user (i hope;-)
- full refcounting of connections & statements
- cleanup of the descriptor-code (descriptors are now real resources)
- we now use SQLT_CHR instead of SQLT_STR (no trailing \0) - smarter & faster
- ocifetchinto(OCI_BOTH) will use references.
2000-01-16 13:30:57 +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
Thies C. Arntzen
c76f23420e
fix AC_DEFINE
1999-12-30 12:27:09 +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
Thies C. Arntzen
4e095276af
digital cc doe not like whitespaces before a # mark
1999-12-23 08:18:35 +00:00
Sascha Schumann
b0e1f9ca2f
Enable --with-oci8 to use relative paths as input parameters
1999-12-22 22:16:47 +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
Zeev Suraski
02d3b39420
More php3_ annihilation
1999-12-17 19:16:50 +00:00
Thies C. Arntzen
99b5652f40
small cleanups in MINIT code
...
OCIInitialize is now called at the "right" spot again
1999-12-09 11:02:41 +00:00
Thies C. Arntzen
40340b5aa0
@- OCI8 now returns NULL values in LONG columns correct. (Thies)
1999-12-08 14:04:55 +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
Thies C. Arntzen
f6e8a597a9
fixed tiny leak
1999-12-04 12:06:32 +00:00
Thies C. Arntzen
126756d728
just a remark
1999-12-01 07:34:06 +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
Thies C. Arntzen
e20e9786b3
added missing function-alias
1999-11-12 17:05:57 +00:00
Thies C. Arntzen
d64e09a322
oops, didn't mean to activate this!
1999-11-12 14:34:50 +00:00
Thies C. Arntzen
e61fea3029
@- Fixed selecting nested-tables in OCI8. (Thies)
...
fixed mested-tables again (broke it when resourcified the driver)
1999-11-12 14:31:01 +00:00
Rasmus Lerdorf
392659fabe
# Fix comments
1999-11-10 05:50:20 +00:00
Thies C. Arntzen
f6f74737d3
IRIX ld likes this order better
1999-11-09 19:48:56 +00:00
Thies C. Arntzen
c171eecd7a
@- implemented OCI8 $lob->WriteToFile() function - very useful for streaming
...
@ large amounts of LOB-Data without to need of a huge buffer. (Thies)
1999-10-27 17:51:22 +00:00
Thies C. Arntzen
86bb3fa0c0
new improved resource-API (i hope everything still compiles)
1999-10-12 14:53:15 +00:00
Thies C. Arntzen
7fe8812d3e
use reference counting for emulating child<->parent (cursor<->connection) relationships.
1999-10-05 16:06:54 +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
Thies C. Arntzen
16e1cbee07
major rework here - the refcount stuff gets better and better!
1999-09-30 08:41:45 +00:00
Thies C. Arntzen
284bc523d6
fixed crash in connection shutdown!
1999-09-29 14:20:27 +00:00
Thies C. Arntzen
73c8429282
just some renaming.
1999-09-29 13:35:12 +00:00
Thies C. Arntzen
74bc24d9d5
initialize OCI in threaded mode if ZTS is defined.
1999-09-28 11:12:32 +00:00
Thies C. Arntzen
128b733eca
fix #2316 - fetching empty LOBs via OCI8
1999-09-17 08:25:03 +00:00
Thies C. Arntzen
598aaba8ca
you can now position when doing lob-writes.
1999-09-14 12:41:00 +00:00
Stig Bakken
809198b916
Added PHP_WITH_SHARED for checking "shared,*" prefix when configuring
...
extensions.
1999-09-13 17:17:51 +00:00
Thies C. Arntzen
c2042b1561
got rid of the define-callback stuff there's a bug in oracle-oci8!
1999-09-13 15:19:29 +00:00
Andrey Hristov
93c35c3352
Per Stig's suggestion.
1999-09-13 14:15:22 +00:00
Thies C. Arntzen
c21663b3e7
ported $lob->savefile($filename) method from PHP3
1999-09-13 11:49:07 +00:00
Thies C. Arntzen
f858b6891c
cleanups
1999-09-13 11:13:53 +00:00
Thies C. Arntzen
d5bafdaa20
ported oci8 to use new class API
...
var_dump no longer tries to traverse avr->value.ht for objects but uses var->value.obj.properties instead
1999-09-13 10:52:54 +00:00
Andrey Hristov
b87e105411
Workaround for m4 weirdness.
1999-09-10 18:53:55 +00:00
Stefan Roehrich
c1a4861eb1
Added detection of Oracle 8.1 (aka 8i) from PHP3.
1999-09-03 19:04:35 +00:00
Andi Gutmans
fd28fec38b
- Fixed typo in oci8 error message
1999-08-19 04:13:56 +00:00
Thies C. Arntzen
c1218de0d2
ZTS
1999-08-18 16:48:59 +00:00
Thies C. Arntzen
e3aeb15678
ocifetchinto fix
1999-08-18 12:51:51 +00:00
Thies C. Arntzen
f93ce67426
cleanups & ZTS stuff (ZTS untested!)
1999-08-17 13:54:25 +00:00
Thies C. Arntzen
269785f95e
starting to clean up
1999-08-10 14:33:59 +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
Thies C. Arntzen
d4fb7d9e37
fixed mem-problem
1999-07-12 11:49:32 +00:00
Thies C. Arntzen
5a288ffdc8
small php4 fixes
1999-07-12 10:36:19 +00:00
Zeev Suraski
c43c235427
Don't touch refcount and EA directly
1999-07-09 20:45:55 +00:00
Zeev Suraski
5f62c347c7
Step 2:
...
Rename is_ref to EA
1999-07-09 17:44:41 +00:00
Thies C. Arntzen
ff9407b56b
on par with latest php3
1999-07-08 14:12:07 +00:00
Thies C. Arntzen
0e3f5a69f7
ups
1999-07-05 09:33:47 +00:00
Thies C. Arntzen
8788f30c12
fixed mem-leak
1999-07-05 08:49:13 +00:00
Thies C. Arntzen
cab8290b8e
up to php3 version
...
returns resources now!
1999-07-05 06:29:04 +00:00
Thies C. Arntzen
a3464b7c11
oci8 to 3.0.9
...
implode works!
1999-06-09 19:47:06 +00:00
Thies C. Arntzen
e5da9fc10a
up to 3.0.9
1999-06-09 10:40:08 +00:00
Sascha Schumann
b57dc27595
- run ext sources through conv_proto
...
- add necessary phpext_*_ptr
1999-05-21 10:06:25 +00:00
Thies C. Arntzen
6c2c3a9587
compiles
1999-05-12 16:12:22 +00:00
Thies C. Arntzen
3031862b24
up-to-date with 3.0.8
1999-05-12 14:28:01 +00:00
Thies C. Arntzen
dc8d4f89c7
move oci8 from oracle to it's own ext-directory - configure stuff needs more work - but it configures and compiles
1999-05-12 14:21:38 +00:00