Commit Graph

4034 Commits

Author SHA1 Message Date
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
Sterling Hughes
9b4c5db8ae Remove some unnecessary error checking 2001-03-20 01:46:41 +00:00
foobar
de3f405997 Removed skipif.php + Fixed tests to use skipif.inc instead. 2001-03-20 01:22:07 +00:00
foobar
4f18fcb863 Removed unnessary file. 2001-03-20 01:06:25 +00:00
Andrei Zmievski
d9aa966a44 @- Added array_map() function that applies a callback to the elements
@  of given arrays and returns the result. It can also be used with a
@  null callback to transpose arrays. (Andrei)
2001-03-19 21:20:02 +00:00
Fredrik Öhrn
98b5ca057b Removed redundant initialization. 2001-03-19 17:01:36 +00:00
Fredrik Öhrn
87138d68cd Much needed cleanup and new functions added
-------------------------------------------

Cleaned up stringhandling for binary safeness.

All functions now maintain a global 'errno' variable.

All functions now print warning messages on failure.

Added error code constants.

Fixed bug #8041 while maintaining backward compatibility.

New functions:
  yp_all         traverse a map
  yp_cat         retrive an entire map in one go
  yp_errno       get last error code
  yp_err_string  get a human readable error message
2001-03-18 22:16:47 +00:00
Fredrik Öhrn
00d81acc4f Solved compile failure due to clash bewteen IMAP and ClibPDF headers. 2001-03-18 18:32:58 +00:00
foobar
4759855606 Prevent mem leak 2001-03-18 09:25:40 +00:00
foobar
4f00125b7a Fix the fix. Plus killed some compile warnings. 2001-03-18 05:52:40 +00:00
Zeev Suraski
fbbf5c0faa Fix reference to nuked function 2001-03-18 02:35:10 +00:00