19940 Commits
Author SHA1 Message Date
SVN Migration 078bcec099 This commit was manufactured by cvs2svn to create branch 'PHP_5'. 2003-02-27 17:43:39 +00:00
Wez Furlong fd61f69077 Another big commit (tm).
Main Changes:
- Implement a socket transport layer for use by all code that needs to open
  some kind of "special" socket for network or IPC.
- Extensions can register (and override) transports.
- Implement ftruncate() on streams via the ioctl-alike option interface.
- Implement mmap() on streams via the ioctl-alike option interface.
- Implement generic crypto API via the ioctl-alike option interface.
  (currently only supports OpenSSL, but could support other SSL toolkits,
  and other crypto transport protocols).

Impact:
- tcp sockets can be overloaded by the openssl capable sockets at runtime,
  removing the link-time requirement for ssl:// and https:// sockets and
  streams.
- checking stream types using PHP_STREAM_IS_SOCKET is deprecated, since
  there are now a range of possible socket-type streams.

Working towards:
- socket servers using the new transport layer
- mmap support under win32
- Cleaner code.

# I will be updating the win32 build to add the new files shortly
# after this commit.
2003-02-27 17:43:38 +00:00
Ilia Alshanetsky 560e33968d Fixed bug #21410 (fixed handling of NULL or "" files on Win32) 2003-02-27 16:41:23 +00:00
foobar 4cac01352d ..if only all lakes were kossu.. 2003-02-27 15:52:38 +00:00
Hartmut Holzgraefe 52ca521b40 changed from strncpy to strlcpy on request 2003-02-27 10:21:32 +00:00
Sascha Schumann 60dcebd71a rename macro argument so that it does not partially match the string.
fixes a warning on unixware
2003-02-27 10:07:12 +00:00
Corne' Cornelius 5e09029ba7 - Changed maxmsglen in ifx_errormsg() back to normal 255 instead of 10 2003-02-27 08:59:16 +00:00
Corne' Cornelius 8a7822cf24 - Fixed possible Segfault in ifx_errormsg() using malloc() instead of emalloc() 2003-02-27 08:56:15 +00:00
4fbdee3c26 NEWS update 2003-02-27 01:44:34 +00:00
10fb8dadd8 ChangeLog update 2003-02-27 01:42:36 +00:00
Rasmus Lerdorf 0b5ffc4f1c MFB: We know ini file scanning will never be interactive, so speed it up a
bit.  Need a dynamic check for the language scanner.
2003-02-27 00:11:43 +00:00
Pierre Joye 972c04e50b add imagesavealpha wrapper (Jukka Holappa <jukkaho@mail.student.oulu.fi>,
2 Pierre-Alain Joye)
2003-02-26 23:22:09 +00:00
Pierre Joye fbd867184c add imagesavealpha wrapper (Jukka Holappa <jukkaho@mail.student.oulu.fi>,
Pierre-Alain Joye)
2003-02-26 23:21:44 +00:00
Rasmus Lerdorf ca2a28774a MFB: Get rid of a redundant syscall on non-Windows 2003-02-26 22:19:01 +00:00
Ilia Alshanetsky 695ae92c97 1) Make the output of system() binary safe
2) Solved a memory leak when the return_value variable passed by reference is
   not an integer in system()/exec()/passthru().
3) Solved a bug in exec(), which would make it append to the 2nd parameter
   (passed by reference) if the parameter is an array instead of overwriting it.
4) Changed the code to use the streams code, resulting in a smaller code base.
5) Various cleanups resulting in reduction of overall code base inside the file
   by ~ 1/3.
6) Speed improvements of ~2.5 times compared to previous performance (based on
   attached PHP script).
2003-02-26 22:11:12 +00:00
Marcus Boerger d737741329 allow keys as array(group, name) for handler inifile 2003-02-26 22:07:50 +00:00
Marcus Boerger ce04e8a91a ws 2003-02-26 22:05:32 +00:00
Marcus Boerger cdcb86a4da make it faster 2003-02-26 22:03:55 +00:00
Marcus Boerger 6fd9c32346 if skip param of dba_fetch is -1 stop do not restart search after last element 2003-02-26 22:03:00 +00:00
Derick Rethans 424c41a72e - Added an extra ini setting with which extra commands can be forced to
the sendmail deamon on a per-vhost base. The value in this ini setting
  will override all extra commands passed as the 5th parameter to mail()
  and will work in Safe Mode.
@- Added an extra ini setting (mail_force_extra_paramaters) which forces
@  the addition of the specified parameters to be passed as extra
@  parameters to the sendmail binary. These parameters will always replace
@  the value of the 5th parameter to mail(), even in safe mode. (Derick)
2003-02-26 20:04:16 +00:00
Derick Rethans 17acc55ad0 - Fix proto 2003-02-26 19:34:16 +00:00
Derick Rethans bc11c47ce6 - Whitespace 2003-02-26 19:25:24 +00:00
Hartmut Holzgraefe 499a97a9b2 changed to emalloc just to be safe 2003-02-26 16:06:07 +00:00
Hartmut Holzgraefe f7490c405b forgot to add these two on my last commit :( 2003-02-26 10:06:47 +00:00
Sebastian Bergmann 189d29061e Syntactic sugar is sweet. 2003-02-26 08:27:14 +00:00
Brad LaFountain 2c1b3b74b2 changes in the past shouldn't have compiled. 2003-02-26 03:04:00 +00:00
fd40b6d3f5 ChangeLog update 2003-02-26 02:03:08 +00:00
Ilia Alshanetsky aee0c18bde Made shell_exec() use streams, this simplifies the code and in some cases
makes it a little faster too.
2003-02-25 23:52:34 +00:00
Ilia Alshanetsky bce8bfdae4 MFH (forgot to put this fix into the 5.X tree). 2003-02-25 23:39:57 +00:00
Moriyoshi Koizumi e0ec5871d9 NEWS update 2003-02-25 20:41:07 +00:00
Moriyoshi Koizumi 991da29849 Set fgetss() free from the length parameter 2003-02-25 20:12:18 +00:00
Ilia Alshanetsky 503e49feae Fixed test. 2003-02-25 16:27:51 +00:00
Ilia Alshanetsky f29964e2ba Fixed bug #22414 and added a test case for it. 2003-02-25 16:21:00 +00:00
foobar 400f466040 Cleanup 2003-02-25 11:48:50 +00:00
foobar 7bd710a658 - Fixed bug #21224 (apache configure fails when using --enable-versioning) 2003-02-25 11:23:09 +00:00
Zeev Suraski 5793784c93 Get the bits right - final/private fix 2003-02-25 10:03:26 +00:00
foobar 411478e1f6 Fixed bug #20256 (snprintf() not defined) 2003-02-25 09:44:12 +00:00
Adam Dickmeiss 79a3618b36 Tabify 2003-02-25 08:34:33 +00:00
Adam Dickmeiss 45214b2340 yaz_search supports query type cql 2003-02-25 08:31:53 +00:00
foobar 5132f3cb54 Do not redefine zend_isnan if it is already defined. 2003-02-25 07:46:15 +00:00
foobar 3efd2b1317 typofix 2003-02-25 07:40:51 +00:00
foobar afc69728a8 (hope) fix some win32 build errors 2003-02-25 07:19:44 +00:00
Corne' Cornelius 086b317448 - Added Corne' Cornelius to CREDITS/Authors 2003-02-25 06:59:15 +00:00
foobar 43c4c6913e Another win32 build fix. 2003-02-25 06:54:04 +00:00
foobar c7a40ac1ff (hopefully) fix the build.. 2003-02-25 06:49:59 +00:00
foobar e9b5e34005 - Fixed bug #14245 ('make install' fails on AIX when using --with-apxs). 2003-02-25 06:35:43 +00:00
Corne' Cornelius 9f48874675 - Changed IFX_VERSION to work with Major versions with more then one digit 2003-02-25 05:33:28 +00:00
foobar 14f98fca45 fix bug #22324, libjdbcoci8.so is not necessarily needed.. 2003-02-25 04:36:54 +00:00
Ilia Alshanetsky e8823a205a Fixed bug #22402 (opening of ftp for read/write could fail due to invalid
return code handling).
Solution suggested by jan@jancm.org
2003-02-25 04:20:22 +00:00
Ilia Alshanetsky 348200b54d Fixed a crash in gdImageCopyMergeGray(). 2003-02-25 03:49:26 +00:00