]> granicus.if.org Git - php/log
php
22 years agoCompiler warning fix.
Ilia Alshanetsky [Mon, 3 Mar 2003 19:41:36 +0000 (19:41 +0000)]
Compiler warning fix.

22 years agoFixed compiler warnings.
Ilia Alshanetsky [Mon, 3 Mar 2003 19:37:09 +0000 (19:37 +0000)]
Fixed compiler warnings.

22 years agoAdded some tests for ZE2 features and their functionality.
Jay Smith [Mon, 3 Mar 2003 16:44:38 +0000 (16:44 +0000)]
Added some tests for ZE2 features and their functionality.

22 years agoAdding tests for ctor/dtor handling
Marcus Boerger [Mon, 3 Mar 2003 11:18:59 +0000 (11:18 +0000)]
Adding tests for ctor/dtor handling

22 years agoAdding tests for abstract static methods
Marcus Boerger [Mon, 3 Mar 2003 11:13:56 +0000 (11:13 +0000)]
Adding tests for abstract static methods

22 years agoAdding tests for final methods
Marcus Boerger [Mon, 3 Mar 2003 11:10:30 +0000 (11:10 +0000)]
Adding tests for final methods

22 years agoadd missing strtolower
Harald Radi [Mon, 3 Mar 2003 01:56:14 +0000 (01:56 +0000)]
add missing strtolower

22 years agoChangeLog update
<changelog@php.net> [Mon, 3 Mar 2003 01:32:58 +0000 (01:32 +0000)]
ChangeLog update

22 years agoadding placeholder for the new disable_classes directive
Harald Radi [Mon, 3 Mar 2003 01:30:27 +0000 (01:30 +0000)]
adding placeholder for the new disable_classes directive

22 years agoadding disable_classes ini directive based on the
Harald Radi [Mon, 3 Mar 2003 01:27:22 +0000 (01:27 +0000)]
adding disable_classes ini directive based on the
newly introduced zend_disable_class function

22 years agocommiting zend_disable_class patch for George:
Harald Radi [Mon, 3 Mar 2003 01:22:43 +0000 (01:22 +0000)]
commiting zend_disable_class patch for George:
disabled classes will be replaced by dummy classes
that print a warning upon instanciation

22 years ago(re)check in non ZendOptimizer version of test
Marcus Boerger [Mon, 3 Mar 2003 00:58:15 +0000 (00:58 +0000)]
(re)check in non ZendOptimizer version of test

22 years agoremove entry done already
Marcus Boerger [Mon, 3 Mar 2003 00:15:50 +0000 (00:15 +0000)]
remove entry done already

22 years agotypofix
foobar [Sun, 2 Mar 2003 18:52:29 +0000 (18:52 +0000)]
typofix

22 years agoSpecial case for MacosX..
foobar [Sun, 2 Mar 2003 18:50:45 +0000 (18:50 +0000)]
Special case for MacosX..

22 years agoFixed bug #22485 (hardcoded shared lib extensions)
foobar [Sun, 2 Mar 2003 18:47:35 +0000 (18:47 +0000)]
Fixed bug #22485 (hardcoded shared lib extensions)

22 years agoFix old variable names
Zeev Suraski [Sun, 2 Mar 2003 15:41:12 +0000 (15:41 +0000)]
Fix old variable names

22 years agoFix destructors some more
Zeev Suraski [Sun, 2 Mar 2003 15:24:04 +0000 (15:24 +0000)]
Fix destructors some more

22 years agofix problem in current HEAD
Marcus Boerger [Sun, 2 Mar 2003 15:12:12 +0000 (15:12 +0000)]
fix problem in current HEAD

# strange why on earth does $GLOBALS['cwd'] produce a warning here?
# however we already have a global declarations so we use it for cwd, too.

22 years agotypo fix
Wez Furlong [Sun, 2 Mar 2003 15:11:42 +0000 (15:11 +0000)]
typo fix

22 years ago*** empty log message ***
Uwe Schindler [Sun, 2 Mar 2003 13:45:23 +0000 (13:45 +0000)]
*** empty log message ***

22 years ago- Optimize $_REQUEST
Zeev Suraski [Sun, 2 Mar 2003 13:35:01 +0000 (13:35 +0000)]
- Optimize $_REQUEST
- Fix phpinfo()

22 years agoImprove infrastructure
Zeev Suraski [Sun, 2 Mar 2003 13:33:31 +0000 (13:33 +0000)]
Improve infrastructure

22 years agoBuild-performance tweaks
Wez Furlong [Sun, 2 Mar 2003 13:14:49 +0000 (13:14 +0000)]
Build-performance tweaks

22 years agoFix build for activescript sapi
Wez Furlong [Sun, 2 Mar 2003 13:09:48 +0000 (13:09 +0000)]
Fix build for activescript sapi

22 years ago- It was called _VARS, not _GLOBALS :-)
Derick Rethans [Sun, 2 Mar 2003 12:46:37 +0000 (12:46 +0000)]
- It was called _VARS, not _GLOBALS :-)

22 years agoAdd JIT initialization for _SERVER and _ENV
Zeev Suraski [Sun, 2 Mar 2003 10:19:15 +0000 (10:19 +0000)]
Add JIT initialization for _SERVER and _ENV
(it's less important for the others, even though it should be fairly
easy now too)

22 years agoAdd infrastructure for JIT initialization of auto globals
Zeev Suraski [Sun, 2 Mar 2003 10:04:53 +0000 (10:04 +0000)]
Add infrastructure for JIT initialization of auto globals

22 years agoFixed my silly mistake in the filter code
Moriyoshi Koizumi [Sun, 2 Mar 2003 08:39:01 +0000 (08:39 +0000)]
Fixed my silly mistake in the filter code

22 years agoNEWS update
<changelog@php.net> [Sun, 2 Mar 2003 01:32:38 +0000 (01:32 +0000)]
NEWS update

22 years agoChangeLog update
<changelog@php.net> [Sun, 2 Mar 2003 01:32:28 +0000 (01:32 +0000)]
ChangeLog update

22 years agoFix mem leak
Zeev Suraski [Sat, 1 Mar 2003 19:08:41 +0000 (19:08 +0000)]
Fix mem leak

22 years agoReverted my previous commit
Moriyoshi Koizumi [Sat, 1 Mar 2003 18:47:18 +0000 (18:47 +0000)]
Reverted my previous commit

22 years agoEnsure that all fields are initialized to NULL.
Wez Furlong [Sat, 1 Mar 2003 17:27:23 +0000 (17:27 +0000)]
Ensure that all fields are initialized to NULL.

22 years agoFixed build
Moriyoshi Koizumi [Sat, 1 Mar 2003 15:49:06 +0000 (15:49 +0000)]
Fixed build

22 years agoFix two crash bugs when optional parameters are not specified.
Wez Furlong [Sat, 1 Mar 2003 15:40:06 +0000 (15:40 +0000)]
Fix two crash bugs when optional parameters are not specified.
Fix folding markers.

22 years agoDon't shutdown() unix sockets.
Wez Furlong [Sat, 1 Mar 2003 15:22:21 +0000 (15:22 +0000)]
Don't shutdown() unix sockets.
It causes the server end to close down/break.

22 years agoFolding fixes
Wez Furlong [Sat, 1 Mar 2003 15:20:42 +0000 (15:20 +0000)]
Folding fixes

22 years ago- Make __construct() have higher priority than class name functions
Andi Gutmans [Sat, 1 Mar 2003 14:57:49 +0000 (14:57 +0000)]
- Make __construct() have higher priority than class name functions
- for constructors.
- Fix problem with the engine allowing final/abstract for the same method.
- Both patches are by Marcus Börger.

22 years agoAdd streams headers to those used for shared extensions.
Wez Furlong [Sat, 1 Mar 2003 13:52:11 +0000 (13:52 +0000)]
Add streams headers to those used for shared extensions.

22 years agoChangeLog update
<changelog@php.net> [Sat, 1 Mar 2003 01:40:00 +0000 (01:40 +0000)]
ChangeLog update

22 years agoNew!
Wez Furlong [Sat, 1 Mar 2003 01:28:50 +0000 (01:28 +0000)]
New!

22 years agoupdate credits (ilia,myself)
Pierre Joye [Sat, 1 Mar 2003 01:28:10 +0000 (01:28 +0000)]
update credits (ilia,myself)

22 years agoExpose php_stream_copy_to_stream as stream_copy_to_stream(); a high
Wez Furlong [Sat, 1 Mar 2003 01:27:50 +0000 (01:27 +0000)]
Expose php_stream_copy_to_stream as stream_copy_to_stream(); a high
performance alternative to looping reads and writes.

22 years agoTidy up stupid signed/unsigned issues with win32 by introducing a php_socket_t typedef.
Wez Furlong [Fri, 28 Feb 2003 21:03:36 +0000 (21:03 +0000)]
Tidy up stupid signed/unsigned issues with win32 by introducing a php_socket_t typedef.

22 years agoMFB config-file-scan-dir crash fix
Rasmus Lerdorf [Fri, 28 Feb 2003 20:48:38 +0000 (20:48 +0000)]
MFB config-file-scan-dir crash fix

22 years agoAdd this file...
Wez Furlong [Fri, 28 Feb 2003 20:06:05 +0000 (20:06 +0000)]
Add this file...

22 years agoNew user-space functions:
Wez Furlong [Fri, 28 Feb 2003 19:53:21 +0000 (19:53 +0000)]
New user-space functions:
  . stream_socket_client() - similar to fsockopen(), but more powerful.
  . stream_socket_server() - Creates a server socket.
  . stream_socket_accept() - Accept a client connection.
  . stream_socket_get_name() - Get local or remote name of socket.

Tidy up some leaks and debug printfs.
Move more streams functions into streamsfuncs.c and streamsfuncs.h.

22 years agoFixed compiler warnings.
Ilia Alshanetsky [Fri, 28 Feb 2003 17:26:28 +0000 (17:26 +0000)]
Fixed compiler warnings.

22 years agocallbacks are now supported
Hartmut Holzgraefe [Fri, 28 Feb 2003 10:30:40 +0000 (10:30 +0000)]
callbacks are now supported
(although there's still room for improvements)

22 years agoit is still to early in the morning for coding :(
Hartmut Holzgraefe [Fri, 28 Feb 2003 07:57:00 +0000 (07:57 +0000)]
it is still to early in the morning for coding :(

22 years agomake sure that GNU extensions exist for fnmatch()
Hartmut Holzgraefe [Fri, 28 Feb 2003 07:52:23 +0000 (07:52 +0000)]
make sure that GNU extensions exist for fnmatch()

22 years ago- Fixed bug #22312 (crash on failed connection when curl_getinfo() was called).
foobar [Fri, 28 Feb 2003 07:34:45 +0000 (07:34 +0000)]
- Fixed bug #22312 (crash on failed connection when curl_getinfo() was called).
  (Phil Oleson <poleson@verio.net>)

22 years ago- No need to include the ssl headers elsewhere but in ext/openssl
foobar [Fri, 28 Feb 2003 07:25:15 +0000 (07:25 +0000)]
- No need to include the ssl headers elsewhere but in ext/openssl
# ext/ftp doesn't use streams yet so it needs to include them.

22 years agoYAZ 2.0 or later is required now.
foobar [Fri, 28 Feb 2003 07:17:47 +0000 (07:17 +0000)]
YAZ 2.0 or later is required now.

22 years ago- support for "callback" type
Hartmut Holzgraefe [Fri, 28 Feb 2003 06:37:05 +0000 (06:37 +0000)]
- support for "callback" type
- proto syntax errors are now passed back to the top level parser

22 years agosupport for passing description file name on command line
Hartmut Holzgraefe [Fri, 28 Feb 2003 06:33:07 +0000 (06:33 +0000)]
support for passing description file name on command line

22 years agows & CS
foobar [Fri, 28 Feb 2003 06:33:04 +0000 (06:33 +0000)]
ws & CS

22 years ago"on line #", not "in line #"
Hartmut Holzgraefe [Fri, 28 Feb 2003 06:30:59 +0000 (06:30 +0000)]
"on line #", not "in line #"

22 years agoadded "callback" type (and fixed a stupid typo)
Hartmut Holzgraefe [Fri, 28 Feb 2003 06:28:53 +0000 (06:28 +0000)]
added "callback" type (and fixed a stupid typo)

22 years agosome DTD fixes and <code> as a toplevel element for .c and .h code snippets
Hartmut Holzgraefe [Fri, 28 Feb 2003 06:28:14 +0000 (06:28 +0000)]
some DTD fixes and <code> as a toplevel element for .c and .h code snippets

22 years agoImplement memory mapping for win32.
Wez Furlong [Fri, 28 Feb 2003 01:47:28 +0000 (01:47 +0000)]
Implement memory mapping for win32.
Could do with some rigorous testing; simple readfile() tests here appear to work.

22 years agoChangeLog update
<changelog@php.net> [Fri, 28 Feb 2003 01:31:36 +0000 (01:31 +0000)]
ChangeLog update

22 years agocompiler warning fixed.
Ilia Alshanetsky [Fri, 28 Feb 2003 00:08:00 +0000 (00:08 +0000)]
compiler warning fixed.

22 years agoFixed compiler warning.
Ilia Alshanetsky [Thu, 27 Feb 2003 23:53:55 +0000 (23:53 +0000)]
Fixed compiler warning.

22 years agofixed compiler warnings.
Ilia Alshanetsky [Thu, 27 Feb 2003 23:50:55 +0000 (23:50 +0000)]
fixed compiler warnings.

22 years agostreams.c -> streamsfuncs.c
Wez Furlong [Thu, 27 Feb 2003 22:48:13 +0000 (22:48 +0000)]
streams.c -> streamsfuncs.c
# argh!

22 years agoUpdate win32 build.
Wez Furlong [Thu, 27 Feb 2003 22:43:51 +0000 (22:43 +0000)]
Update win32 build.
Since msvc sucks, I had to rename ext/standard/streams.c to ext/standed/streamsfuncs.c

22 years agoMove streams specific stuff from ext/standard/file.c -> ext/standard/streams.c
Wez Furlong [Thu, 27 Feb 2003 22:23:39 +0000 (22:23 +0000)]
Move streams specific stuff from ext/standard/file.c -> ext/standard/streams.c
Move win32 select implementation into win32/.
Will update win32 build in a moment.

22 years agoFixed a bug that would cause filetype() to return "unknown" for
Ilia Alshanetsky [Thu, 27 Feb 2003 20:38:00 +0000 (20:38 +0000)]
Fixed a bug that would cause filetype() to return "unknown" for
non-existent files on Win32.

22 years agoAdd a generic meta data api for streams.
Wez Furlong [Thu, 27 Feb 2003 19:10:24 +0000 (19:10 +0000)]
Add a generic meta data api for streams.

22 years agoThe basic input filtering framework is done and working nicely
Rasmus Lerdorf [Thu, 27 Feb 2003 18:45:37 +0000 (18:45 +0000)]
The basic input filtering framework is done and working nicely

22 years agoUpdate todo slightly
Wez Furlong [Thu, 27 Feb 2003 18:23:50 +0000 (18:23 +0000)]
Update todo slightly

22 years ago- Move https:// and ftps:// wrapper registration into the openssl module.
Wez Furlong [Thu, 27 Feb 2003 18:16:35 +0000 (18:16 +0000)]
- Move https:// and ftps:// wrapper registration into the openssl module.
- Expose the http:// and ftp:// wrappers as PHPAPI
- Remove unused variables

22 years agoFixup build for win32
Wez Furlong [Thu, 27 Feb 2003 18:06:31 +0000 (18:06 +0000)]
Fixup build for win32

22 years agoAnother big commit (tm).
Wez Furlong [Thu, 27 Feb 2003 17:43:38 +0000 (17:43 +0000)]
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.

22 years agoFixed bug #21410 (fixed handling of NULL or "" files on Win32)
Ilia Alshanetsky [Thu, 27 Feb 2003 16:41:23 +0000 (16:41 +0000)]
Fixed bug #21410 (fixed handling of NULL or "" files on Win32)

22 years ago..if only all lakes were kossu..
foobar [Thu, 27 Feb 2003 15:52:38 +0000 (15:52 +0000)]
..if only all lakes were kossu..

22 years agochanged from strncpy to strlcpy on request
Hartmut Holzgraefe [Thu, 27 Feb 2003 10:21:32 +0000 (10:21 +0000)]
changed from strncpy to strlcpy on request

22 years agorename macro argument so that it does not partially match the string.
Sascha Schumann [Thu, 27 Feb 2003 10:07:12 +0000 (10:07 +0000)]
rename macro argument so that it does not partially match the string.

fixes a warning on unixware

22 years ago- Changed maxmsglen in ifx_errormsg() back to normal 255 instead of 10
Corne' Cornelius [Thu, 27 Feb 2003 08:59:16 +0000 (08:59 +0000)]
- Changed maxmsglen in ifx_errormsg() back to normal 255 instead of 10

22 years ago- Fixed possible Segfault in ifx_errormsg() using malloc() instead of emalloc()
Corne' Cornelius [Thu, 27 Feb 2003 08:56:15 +0000 (08:56 +0000)]
- Fixed possible Segfault in ifx_errormsg() using malloc() instead of emalloc()

22 years agoNEWS update
<changelog@php.net> [Thu, 27 Feb 2003 01:44:34 +0000 (01:44 +0000)]
NEWS update

22 years agoChangeLog update
<changelog@php.net> [Thu, 27 Feb 2003 01:42:36 +0000 (01:42 +0000)]
ChangeLog update

22 years agoMFB: We know ini file scanning will never be interactive, so speed it up a
Rasmus Lerdorf [Thu, 27 Feb 2003 00:11:43 +0000 (00:11 +0000)]
MFB: We know ini file scanning will never be interactive, so speed it up a
bit.  Need a dynamic check for the language scanner.

22 years agoadd imagesavealpha wrapper (Jukka Holappa <jukkaho@mail.student.oulu.fi>,
Pierre Joye [Wed, 26 Feb 2003 23:22:09 +0000 (23:22 +0000)]
add imagesavealpha wrapper (Jukka Holappa <jukkaho@mail.student.oulu.fi>,
      2 Pierre-Alain Joye)

22 years agoadd imagesavealpha wrapper (Jukka Holappa <jukkaho@mail.student.oulu.fi>,
Pierre Joye [Wed, 26 Feb 2003 23:21:44 +0000 (23:21 +0000)]
add imagesavealpha wrapper (Jukka Holappa <jukkaho@mail.student.oulu.fi>,
Pierre-Alain Joye)

22 years agoMFB: Get rid of a redundant syscall on non-Windows
Rasmus Lerdorf [Wed, 26 Feb 2003 22:19:01 +0000 (22:19 +0000)]
MFB: Get rid of a redundant syscall on non-Windows

22 years ago1) Make the output of system() binary safe
Ilia Alshanetsky [Wed, 26 Feb 2003 22:11:12 +0000 (22:11 +0000)]
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).

22 years agoallow keys as array(group, name) for handler inifile
Marcus Boerger [Wed, 26 Feb 2003 22:07:50 +0000 (22:07 +0000)]
allow keys as array(group, name) for handler inifile

22 years agows
Marcus Boerger [Wed, 26 Feb 2003 22:05:32 +0000 (22:05 +0000)]
ws

22 years agomake it faster
Marcus Boerger [Wed, 26 Feb 2003 22:03:55 +0000 (22:03 +0000)]
make it faster

22 years agoif skip param of dba_fetch is -1 stop do not restart search after last element
Marcus Boerger [Wed, 26 Feb 2003 22:03:00 +0000 (22:03 +0000)]
if skip param of dba_fetch is -1 stop do not restart search after last element

22 years ago- Added an extra ini setting with which extra commands can be forced to
Derick Rethans [Wed, 26 Feb 2003 20:04:16 +0000 (20:04 +0000)]
- 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)

22 years ago- Fix proto
Derick Rethans [Wed, 26 Feb 2003 19:34:16 +0000 (19:34 +0000)]
- Fix proto

22 years ago- Whitespace
Derick Rethans [Wed, 26 Feb 2003 19:25:24 +0000 (19:25 +0000)]
- Whitespace

22 years agochanged to emalloc just to be safe
Hartmut Holzgraefe [Wed, 26 Feb 2003 16:06:07 +0000 (16:06 +0000)]
changed to emalloc just to be safe

22 years agoforgot to add these two on my last commit :(
Hartmut Holzgraefe [Wed, 26 Feb 2003 10:06:47 +0000 (10:06 +0000)]
forgot to add these two on my last commit :(

22 years agoSyntactic sugar is sweet.
Sebastian Bergmann [Wed, 26 Feb 2003 08:27:14 +0000 (08:27 +0000)]
Syntactic sugar is sweet.

22 years agochanges in the past shouldn't have compiled.
Brad LaFountain [Wed, 26 Feb 2003 03:04:00 +0000 (03:04 +0000)]
changes in the past shouldn't have compiled.