Frank M. Kromann
a09c88cb6a
Remove c++ comment
...
Move errormessage when FBExec is not running. This error should not show if we connect through a port number.
2001-04-25 19:45:13 +00:00
Frank M. Kromann
7873ab04b3
make fbsql_field_flags return a value
2001-04-25 18:01:22 +00:00
Frank M. Kromann
c5cc42cae9
removed unused code
2001-04-25 18:00:55 +00:00
Andy Sautins
1dc4678d44
Collections cleanup
...
- Removed date specific methods. Dates work consistently with
the rest of the oci8 code.
- Removed unused variables from collection code.
- RETURN_FALSE on all errors.
- fix error prints to php_error.
2001-04-25 17:48:30 +00:00
Andy Sautins
e650cba5e4
Cleanup collections - removed unused members from oci_collection structure
2001-04-25 17:44:07 +00:00
Andi Gutmans
ef1835f54f
- Fix filetype() and lstat() too.
2001-04-25 06:30:24 +00:00
Andi Gutmans
ef71855bc6
- Another fix
2001-04-25 05:53:45 +00:00
Andi Gutmans
502b4efb7d
- Nuke warning. This signed/unsigned stuff gets really annoying sometimes.
2001-04-25 05:43:30 +00:00
Andi Gutmans
76860d4fc0
- Fix problem with is_link(), there seem to be at least another couple of
...
- bugs lurking around though.
- Cleaned up code a bit and optimized it a bit too.
2001-04-25 04:22:29 +00:00
Sterling Hughes
a59a85b598
Fixed a crash bug.
...
Return the proper amount.
2001-04-24 22:10:41 +00:00
Chuck Hagenbuch
029cd8a882
Fix for bug 9908: check that the result of mail_sort is not 0 before trying
...
to dereference the pointer. :)
Also, free sort programs - this might have been a memory leak.
2001-04-23 21:58:44 +00:00
Thies C. Arntzen
c03efd49f4
fixed ZTS buidl - still some WS pollution left
2001-04-23 11:54:02 +00:00
Sterling Hughes
bb9fe151c3
Fix bug #10447 .
2001-04-22 23:40:34 +00:00
Sascha Schumann
c44da99842
Fix freeing of a NULL pointer
2001-04-22 17:20:03 +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
Andrei Zmievski
f52831bc84
Enabling WDDX by default.
2001-04-20 19:33:22 +00:00
foobar
d9b2f7910e
ws pollution removed.
2001-04-20 15:37:55 +00:00
Jason Greene
ebad4ff6af
Change all // to /* */, fixed small whitespace.
...
Builds on Solaris now.
2001-04-19 22:00:34 +00:00
Andi Gutmans
a5a4b4e2f8
- Use memcpy() instead of strlcpy() which is faster.
2001-04-19 21:42:45 +00:00
Dan Kalowsky
d7383e3255
appling patch for joey since he has no ODBC karma. this is for bug #10252
2001-04-19 19:55:05 +00:00
Sterling Hughes
06e6363985
fix crash bug 10400.
2001-04-19 14:59:33 +00:00
Wez Furlong
d52f75aa1c
Patch from Adam Dickmeiss to make configure detect libtff again.
2001-04-19 14:16:09 +00:00
Andi Gutmans
65cccf02ba
- WS
2001-04-19 04:02:03 +00:00
Dan Kalowsky
f41f369754
corrects bug #7488 , patch supplied by submitter (torben@php.net).
...
quick local tests show it to work.
2001-04-19 02:31:23 +00:00
Derick Rethans
f557830af8
- Fixed some more problems with keys being chopped off (fix for bug #8839 )
2001-04-18 22:14:06 +00:00
Adam Dickmeiss
1c62af36eb
Function yaz_record returns database for record if type is "database".
2001-04-18 15:03:24 +00:00
Marc Boeren
e2c8e80e2b
Removed some old commented code (Mc)
2001-04-18 12:34:52 +00:00
Marc Boeren
9fc2c61698
Added DBX_CMP_TEXT and DBX_CMP_NUMBER constants and support for them in
...
the dbx_cmp_desc and dbx_cmp_asc functions. The old method of passing a
string "number" is now no longer valid. (Mc)
2001-04-18 12:31:08 +00:00
Frank M. Kromann
f09a36b91f
Adding fbsql_fetch_assoc() functon
2001-04-17 17:39:43 +00:00
Wez Furlong
86c84da7c2
Discovered warn_not_available and used it.
2001-04-17 17:08:03 +00:00
Wez Furlong
57af70f707
Changes for streams. Added temporary fopenstream function to PHP so that
...
the streams can be tested.
2001-04-17 17:06:06 +00:00
Dan Kalowsky
685186f9fd
This change seems to fix bugs 7158, 7807, 8531, and 8636. After asking why this patch was applied no one seemed to respond with anything useful. If you find this change in error, sorry, I tested it on as many systems as I could.
2001-04-17 02:02:36 +00:00
Wez Furlong
fe88b5fd6e
Fixed lame attempt to prevent ttf linkage when using freetype2
2001-04-17 01:02:37 +00:00
Frank M. Kromann
fb98b6b838
Fixing memory leek on CancelFetch.
2001-04-16 16:27:11 +00:00
Andrei Zmievski
1a1018452c
@- Fixed a bug with /e modifier in preg_replace(), that would not correctly
...
@ replace two-digit references if single digit references were present
@ before them. This fixed bug #10218 . (Andrei)
2001-04-16 04:56:31 +00:00
Alexander Feldman
f0abfcc894
Fixed typo.
2001-04-15 19:03:12 +00:00
Alexander Feldman
531b8042ad
We shoud not fseek in a pipe and this caused a problem with popen and
...
fgets on the platforms where the buffer fix was applied (Solaris, FreeBSD).
Now the fseek is done only when the handle is of type fopen.
2001-04-15 18:42:50 +00:00
Rui Hirokawa
053994b5eb
deleted warning output in dbx/pgsql.
2001-04-14 10:32:14 +00:00
Thies C. Arntzen
c42f260145
enable temporary LOBs when we detect oracle 8.1
...
enabled by default in Win32 project!
2001-04-14 09:51:29 +00:00
Thies C. Arntzen
8ac2502dfe
@- Added temporary LOB support in OCI8 (Patch by David Benson)
2001-04-14 08:38:46 +00:00
Thies C. Arntzen
14d800f7d9
the collections stuff s worth mentioning in the credits!
2001-04-14 08:06:40 +00:00
Wez Furlong
e030eb8238
When using freetype2, turn off libttf and turn on native gd ttf.
2001-04-14 00:15:26 +00:00
Thies C. Arntzen
9a42a31ba4
@- Fixed crash in pathinfo()
2001-04-13 18:22:13 +00:00
Thies C. Arntzen
b9216bcc1b
@ - OCI8 now supports binding of collections
...
@ (Patch by Andy Sautins <asautins@veripost.net>)
2001-04-13 14:43:39 +00:00
Wez Furlong
e9731903d1
Added GD 2.0.1 support.
2001-04-13 12:00:12 +00:00
Thies C. Arntzen
cb88701315
never initialize oci in OCI_THREADED mode. seems to break win32.
2001-04-11 15:46:03 +00:00
Marc Boeren
4532eebc4a
Added a database member to the dbx_link object. Since e.g. mysql reuses
...
connections, two or more dbx_link objects may share the connection
identifier. The database name is used in the dbx_query, where it calls
mysql_db_query instead of mysql_query.
This means the database name has to be passed around to all dbx_xxx_query
functions, hence the update on all the files. (Mc)
# Thanks to Christian Rabe for all the input on this issue!
2001-04-11 08:14:57 +00:00
Frank M. Kromann
6df886acfe
Fixing database password to actually work
2001-04-10 18:44:51 +00:00
Jon Parise
6aabc2c9d4
Statements end with a period.
2001-04-10 17:31:35 +00:00
Kevin
3cd2c989d3
Fixed compatibility issues in the ODBC extension for the Velocis Database server. Specifically, config.m4 was changed to use the client libraries instead of the serer libraries, and to look for the libs in the $RDSHOME/lin directory ass opposed to the $RDSHOME/bin directory. Makefile.in was changed to use the php_odbc.c file as the source for Velocis support. Other misc changes include a few #defines for some undefined data types and some #ifdefs for unsupported functions.
2001-04-10 16:26:28 +00:00
Jason Greene
86c2eaf741
Fix for PR #9729 , 9664, 9656, 8667.
...
All compilers on Solaris should build this extension correctly now.
It turns out the SUN CC, by default, enables a define that enables the use of
#pragma redefine extname in sun header files. This is why cc would work,
and gcc wouldn't.
-Jason
2001-04-10 03:16:05 +00:00
Derick Rethans
a379669ab6
- Removed debug thing
2001-04-10 00:09:17 +00:00
Derick Rethans
61e1bf9286
- Fix for bug #8839
...
- MINFO updated to use smart_str's
2001-04-10 00:07:53 +00:00
Sean Bright
b936138fd3
Constand should be case sensitive.
...
# Thanks Sterling
2001-04-09 21:12:54 +00:00
Jon Parise
5464d29551
Fix whitespace (use tabs).
2001-04-09 21:08:47 +00:00
Sean Bright
ec6f1887f8
Stop SIGSEGV on Apache startup. Patch from <adam@indexdata.dk>
2001-04-09 20:56:49 +00:00
foobar
d85be2956c
Fix bug #10212 .
2001-04-09 15:46:24 +00:00
Rasmus Lerdorf
334cba47b9
printf argnum (parameter swapping) support from Morten Poulsen
2001-04-09 15:44:24 +00:00
Marc Boeren
066547a220
Added optional 'comparison_type' parameter to compare functions, to force
...
either text or number comparison. (Mc)
2001-04-09 11:53:39 +00:00
Uwe Steinmann
7ee542a524
- added domxml_version() to retrieve version of libxml
2001-04-09 11:53:06 +00:00
Stig Bakken
368c6bf003
@Add DIRECTORY_SEPARATOR constant ('/' on UNIX, '\' on Windows) (Stig)
2001-04-08 21:57:13 +00:00
Jon Parise
99b5477b90
Use tabs instead of spaces.
2001-04-08 01:13:07 +00:00
foobar
176f5847be
ws pollution removed.
2001-04-07 21:46:43 +00:00
Jon Parise
db2cfde087
Fix compilation (strict compilers require constant initializers).
2001-04-07 18:22:29 +00:00
André Langhorst
9762f64222
fix proto
2001-04-07 15:43:06 +00:00
foobar
393189fccd
fixed protos
2001-04-07 02:48:19 +00:00
foobar
802a3ab829
Fixed some bugs.
2001-04-06 23:17:31 +00:00
foobar
84e5576f97
Killed some compile warnings.
2001-04-06 18:01:52 +00:00
Sean Bright
a1ba58a46c
Fixed possible overflow again.
...
# Heh...
2001-04-06 17:48:34 +00:00
Jon Parise
8540c6923d
Make this message more grammatically correct.
2001-04-06 16:04:25 +00:00
Sean Bright
10eaf14db9
Fixed possible overflow.
2001-04-06 14:42:06 +00:00
foobar
62c517d124
spaces to tabs
2001-04-05 18:48:03 +00:00
Romolo Manfredini
0509957bc3
pg_close not closing right connection.
2001-04-05 12:29:24 +00:00
Wez Furlong
486d3bef18
Fix for Bug #10168 (is_dst undeclared)
2001-04-05 08:40:27 +00:00
foobar
8960888c97
Fix bugs: #10157 , #7549
2001-04-05 05:38:18 +00:00
Thies C. Arntzen
cc48dd2138
make it compile with 6.5.x
...
postgresql notices are now send to the standard error-log
2001-04-04 21:40:41 +00:00
foobar
c34d2b91da
Added new configuration directives:
...
arg_separator.input and arg_separator.output
2001-04-04 20:46:26 +00:00
Frank M. Kromann
382e3c5ad6
Adding empty RSHUTDOWN function.
2001-04-04 20:10:14 +00:00
foobar
66553616ec
Killed 2 compile warnings.
2001-04-04 17:13:40 +00:00
foobar
679b914dc0
Cleaned up a bit. Removed some checks for header files that are
...
already checked in configure.in
2001-04-04 00:06:49 +00:00
Wilfredo Sanchez
cb71c4c2d0
Separate CPPFLAGS from CFLAGS.
2001-04-03 23:30:49 +00:00
Daniel Beulshausen
f085ab8a33
use V_STAT
2001-04-03 22:36:27 +00:00
Daniel Beulshausen
a29dc27c1c
resolve realpath if in v-dir mode
2001-04-03 21:39:18 +00:00
Wilfredo Sanchez
0df6e8dd88
Add INSTALL_ROOT variable to specify install location.
2001-04-03 20:59:50 +00:00
Frank M. Kromann
8003b3aa9d
Fixing crash when listing databsaes
...
Fixing rowcount to woirk when the result contains an array og data.
2001-04-03 18:09:02 +00:00
foobar
83b5a2fb0c
SCO (and maybe others) do not have this defined.
2001-04-03 10:51:16 +00:00
Wez Furlong
1d71f04b44
changed the flags parameters to be a bitfield + constants (I don't know what
...
I was thinking!). Added a couple of extra parameters so that the equivalent
functionality of the openssl smime command can be pretty much used in full.
Added some more error reporting.
2001-04-02 23:14:01 +00:00
Anil Madhavapeddy
d26ec12ba2
Free the correct output buffer, to avoid a segfault on a HEAD request
...
when using output buffering with a custom handler (patch by zeev@)
2001-04-02 16:45:27 +00:00
James Moore
e52ec10341
remove rogue ZEND_GET_MODULE()
2001-04-02 16:37:50 +00:00
Nick Gorham
971d65059a
Added small change to php_odbc module, to check for failed SQLDisconnects
...
and to close any outstanding transactions if the call fails, then disconnect
again. This can cause chaos with SQL Server, this regards a SELECT as
starting a transaction, and will leave it open if the result set is not all
read.
2001-04-02 15:18:47 +00:00
Andrei Zmievski
221a5a60b6
Use correct string length.
2001-04-02 13:20:16 +00:00
foobar
943c73896f
Fixed a typo. Bug: #10103
2001-04-02 09:06:33 +00:00
Marc Boeren
cbdd711312
Inserted a few extra initialisations, just in case. Had some problems in a
...
different module, this solved it there, hance the added insurance. (Mc)
2001-04-02 08:51:35 +00:00
Wez Furlong
4fa9c7477b
added some more error reporting and did a little tidying.
2001-04-02 01:31:08 +00:00
Wez Furlong
4cec53ac28
Added whole bunch of PKCS7 (S/MIME) functions and made the key/cert params
...
a bit more friendly to use. See the README for more info.
2001-04-01 23:06:15 +00:00
foobar
78390894e9
According to GD documentation the macros should be used instead..
2001-04-01 06:20:45 +00:00
foobar
aea8e80a62
Fixed bug #10095 .
2001-04-01 05:55:21 +00:00
foobar
f663f1edab
Fixed bug #8137 and killed some compile warnings.
2001-04-01 05:42:07 +00:00
Zeev Suraski
b865380edb
Fix headers handling with output buffering
2001-03-31 22:53:19 +00:00
Fredrik Öhrn
64bb010cf4
Implemented cpdf_set_viewer_preferences (previously a stub).
...
Added new functions: cpdf_set_font_directories and cpdf_set_font_map_file.
2001-03-30 20:36:18 +00:00
Anil Madhavapeddy
2df7c8a0f1
Send the correct Vary headers, if we negotiate a gzip/deflate session
...
via Accept-Encoding. This obeys a SHOULD directive in RFC2616
PR: 10070
2001-03-30 17:44:08 +00:00
Wez Furlong
3bd5696a65
Fixed leak in php_iconv_string. Also returns FAILURE on failure,
...
rather than -1
2001-03-29 09:37:09 +00:00
foobar
7449d09be0
Fixed bug: #10040 .
2001-03-29 00:22:45 +00:00
André Langhorst
7d50e21a4b
fix typo
2001-03-28 20:08:49 +00:00
André Langhorst
339ac67ce3
fix proto
2001-03-28 19:41:38 +00:00
foobar
8a26918ed1
Renamed the AC_ prefixed macros defined in acinclude.m4 to PHP_* prefixes.
...
# Heads up people! I tested this before committing but you never know..
2001-03-27 20:35:04 +00:00
Derick Rethans
c713967de3
- 'Fix' for bug 10002
2001-03-27 17:21:45 +00:00
Dan Kalowsky
959f40a957
The last fix was missing a &, Marc Boeren either made the patch wrong, or I applied it improperly. Anyways, Sebastian Bergmann discovered it, and supposedly is fixed with this.
2001-03-27 15:46:27 +00:00
Thies C. Arntzen
679d841502
fixed newly introduced crash in ora_bind
2001-03-27 14:55:04 +00:00
Dan Kalowsky
0d7729ed58
Fix for Bug #9272 , as submitted by marc boeren (m.boeren@guidance.nl).
...
Applied by me, due to apparently a lack of cvs access to ext/odbc for him.
2001-03-27 14:17:52 +00:00
foobar
6751e58f9d
Fixed a typo.
2001-03-26 21:42:01 +00:00
foobar
3c11d1697e
Support Solaris 8 ldap.
2001-03-26 10:30:48 +00:00
Marc Boeren
b8713b9c9b
Removed #include php_config.h, since it was not necessary (Mc)
2001-03-26 08:26:07 +00:00
Romolo Manfredini
99e5dfd00e
pg_close was undefining default_conn even if a ref to it was still there.
2001-03-26 08:00:43 +00:00
Romolo Manfredini
7a102a4669
Solved bugs #9746 and #9937 , pg_close was closing twice the default conn.
2001-03-24 18:36:43 +00:00
Sascha Schumann
fa068b5297
Fix ZTS build
2001-03-24 01:08:13 +00:00
Marc Boeren
1a842c4ae6
Fixed compile errors for PostgreSQL support (Mc)
...
Removed globals that Rui put in, and changed the dbx_get_row
to include a row_number (which PostgreSQL expects) (Mc)
Added source files to Makefile.in and dbx.dsp (Mc)
#Could someone please check if the PostgreSQL support works?
#And please, check your work _before_ you commit anything!
2001-03-23 14:50:17 +00:00
Rui Hirokawa
cd1debc81c
changed license of PostgreSQL module in ext/dbx.
2001-03-23 13:40:12 +00:00
Rui Hirokawa
6ee15704e8
added initial support for PostgreSQL to ext/dbx.
2001-03-23 11:50:04 +00:00
Marc Boeren
10bb608e4e
Changed header for source files, now point to PHP license (Mc)
...
Found another // comment and replaced with /**/ (Mc)
Removed proprietary license (in favor of php license) (Mc)
Added .cvsignore file, I hope it works correctly (Mc)
2001-03-23 10:23:58 +00:00
Romolo Manfredini
01ac20050e
Added target ownership check in function copy for safe_mode operations
2001-03-23 09:30:51 +00:00
Stephen van Egmond
7f48c7adf5
Simple patch to deal with lack of fields in the BeOS implementation of rusage.
2001-03-23 04:36:29 +00:00
Frank M. Kromann
d7491166c5
Removing extra check for warnings.
2001-03-23 00:58:59 +00:00
Frank M. Kromann
8bea574877
Adding warning when query fails
2001-03-22 21:16:23 +00:00
Marc Boeren
49bc33395b
Changed C++ style comments to C-style comments (Marc)
...
#I hope I got 'em all
@Changed C++ style comments to C-style comments (Marc)
2001-03-22 15:14:34 +00:00
Sean Bright
90f3e09f08
Fixed prototype.
2001-03-22 14:43:48 +00:00
foobar
f6e4cbd434
Fix bugs: #9920 , #9190
2001-03-22 13:16:58 +00:00
Marc Boeren
0f9503c923
no comment :)
2001-03-22 12:26:21 +00:00
Marc Boeren
ce79b44c27
Added dbx module (database abstraction) to the repositorty (/ext/dbx).
...
Compiles under Linux (--enable-dbx) and Windows.
Supports MySQL and ODBC modules (more to be added later).
@ Added dbx module (database abstraction) to the repository. (Marc)
2001-03-22 11:07:04 +00:00
Uwe Steinmann
dbc4d4b457
- fixed some bugs with xpath
2001-03-22 06:58:13 +00:00
Frank M. Kromann
eea4386582
setting right params to zend_get_parameters_ex
2001-03-21 21:53:45 +00:00
Rainer Schaaf
9444df9e0b
Beta2 of PDFlib V4.0 will introduce on new function (PDF_place_pdi_page)
...
and PDF_close_pdi_page will lose one parameter.
These changes are done for the phpwrapper now.
This has no impact on PDFlib V3.x.
2001-03-21 20:55:35 +00:00
Andi Gutmans
022ece7814
- Fix spelling error
2001-03-21 20:07:19 +00:00
Frank M. Kromann
983bfff7de
changed arg types from pval* to zval**
2001-03-21 19:56:33 +00:00
Ben Mansell
6d7ce5ffa0
UnixWare 7.1 does not have EX_TEMPFAIL or (as far as I can tell)
...
a concept of a temporary failure response to pclose().
2001-03-21 15:15:31 +00:00
Sean Bright
e249545165
Fix for bug #9698 .
...
# Anyone that can think of a way to fix long2ip(), feel free.
2001-03-21 13:53:38 +00:00
Uwe Steinmann
b70952bb50
- fulltext query are working now
2001-03-21 07:58:21 +00:00
Uwe Steinmann
e8d48dd7ae
- added EntityReference and Notation class
...
- fixed handling of PI nodes
- implemented more class functions
2001-03-21 05:45:40 +00:00
Harald Radi
256d799809
@Using ITypeInfo instead of IDispatch if possible. This makes DCOM calls
...
@and even COM calls much faster.
@All ini settings are now prefixed by 'com.'.
@Now you need not provide a path to the file containing the typelib, you can
@also provide the GUID of the TypeLib - entry or an IID for preloading
@type - information. (phanto)
memory leak was reportet, i'm not sure that it is fixed by now, but it should be.
2001-03-20 22:35:30 +00:00
Sterling Hughes
ad8fd43e10
remove some unneccessary casts, remove unneccessary error casts, standardize
...
the coding format for some of the stuff.
2001-03-20 21:30:42 +00:00
Fredrik Öhrn
3c5ed324dd
Fix erronous out of bounds error message in rand(min,max)
2001-03-20 20:48:42 +00:00
Frank M. Kromann
80c4511012
Fixing crash when result conrains 0 rows
2001-03-20 20:25:55 +00:00
Fredrik Öhrn
88a6a97a86
really fix the build
2001-03-20 20:04:42 +00:00
Frank M. Kromann
3cbe879b89
Converting to c-style comments.
...
Adding prototypes to all exported function
2001-03-20 19:21:45 +00:00
Thies C. Arntzen
deae9549c8
make qtdom compile on Mandrake-cooker
2001-03-20 19:19:31 +00:00
Daniel Beulshausen
00b8f898e7
fix dsp
2001-03-20 17:45:10 +00:00
Sebastian Bergmann
53385a9537
Nuke another warning.
2001-03-20 17:04:45 +00:00
Uwe Steinmann
3dfbbc31ac
- fixed lot of compiler warnings
2001-03-20 16:20:42 +00:00
Uwe Steinmann
9fc59ce735
- complete rewrite of domxml module.
...
It is now mostly conform to DOM Level 2 though some classes and
methods are still missing
2001-03-20 15:01:13 +00:00
Sascha Schumann
a2ff136c8e
fix build
2001-03-20 12:50:27 +00:00