]> granicus.if.org Git - php/log
php
23 years agoGet rid of some inlines
Zeev Suraski [Wed, 11 Jul 2001 09:33:41 +0000 (09:33 +0000)]
Get rid of some inlines

23 years agoprevent php from crashing when serializing circular data.
Shane Caraveo [Wed, 11 Jul 2001 05:57:18 +0000 (05:57 +0000)]
prevent php from crashing when serializing circular data.

This script produced the crash.
<?
$hash["test_key"] = "test_value";
$hash["hash_key"] = &$hash;
echo serialize($hash);
?>

23 years agoWrap lines.
Andrei Zmievski [Wed, 11 Jul 2001 04:13:34 +0000 (04:13 +0000)]
Wrap lines.

23 years agoModified to work with the new parameter parsing API as a demonstration.
Andrei Zmievski [Wed, 11 Jul 2001 03:58:51 +0000 (03:58 +0000)]
Modified to work with the new parameter parsing API as a demonstration.

23 years agoChangeLog update
<changelog@php.net> [Wed, 11 Jul 2001 01:20:26 +0000 (01:20 +0000)]
ChangeLog update

23 years agofix.
Sterling Hughes [Wed, 11 Jul 2001 01:06:09 +0000 (01:06 +0000)]
fix.

23 years agochanged return value from fbsql_query to be booloan
Frank M. Kromann [Tue, 10 Jul 2001 23:39:39 +0000 (23:39 +0000)]
changed return value from fbsql_query to be booloan

23 years agoFixing return value from fbsql_query after a DELETE FROM with success.
Frank M. Kromann [Tue, 10 Jul 2001 22:34:24 +0000 (22:34 +0000)]
Fixing return value from fbsql_query after a DELETE FROM with success.

23 years agoadded NEED_MORE_DATA error message to $errorMessages
Tomas V.V.Cox [Tue, 10 Jul 2001 21:49:51 +0000 (21:49 +0000)]
added NEED_MORE_DATA error message to $errorMessages

23 years ago- Nuke fprintf()
Andi Gutmans [Tue, 10 Jul 2001 20:40:56 +0000 (20:40 +0000)]
- Nuke fprintf()

23 years ago- Commit patch which checks for an include file in the calling scripts'
Andi Gutmans [Tue, 10 Jul 2001 20:38:39 +0000 (20:38 +0000)]
- Commit patch which checks for an include file in the calling scripts'
  current working directory if everything else fails (include_path).
- Right now this also effects things like opening php.ini. It'll now always
  check in the current working directory for php.ini. I think this doesn't
  screw up todays behavior.

23 years ago# I think i am quite stupid.
Sterling Hughes [Tue, 10 Jul 2001 20:31:49 +0000 (20:31 +0000)]
# I think i am quite stupid.

23 years ago- Merge faster hash implementation.
Andi Gutmans [Tue, 10 Jul 2001 20:31:42 +0000 (20:31 +0000)]
- Merge faster hash implementation.
- The hash function parameter in hash_init(...) is not used anymore.
- It should be removed but it is "to be decided" if we want to do that now
- or in a major version as it means changing MANY places and third party
- modules might stop working.

23 years agoIf the transfer fails, still free the buffer if it exists.
Sterling Hughes [Tue, 10 Jul 2001 20:09:56 +0000 (20:09 +0000)]
If the transfer fails, still free the buffer if it exists.

23 years agoWhitespace
Zeev Suraski [Tue, 10 Jul 2001 18:49:47 +0000 (18:49 +0000)]
Whitespace

23 years agoChangeLog update
<changelog@php.net> [Tue, 10 Jul 2001 17:11:00 +0000 (17:11 +0000)]
ChangeLog update

23 years agoNEWS update
<changelog@php.net> [Tue, 10 Jul 2001 17:10:53 +0000 (17:10 +0000)]
NEWS update

23 years agoAllow errors to be returned as XMLRPC fault packets.
Sascha Schumann [Tue, 10 Jul 2001 15:59:33 +0000 (15:59 +0000)]
Allow errors to be returned as XMLRPC fault packets.

Submitted by: Matt Allen <matt@investigationmarketplace.com>

23 years agomanual update
Rasmus Lerdorf [Tue, 10 Jul 2001 14:35:25 +0000 (14:35 +0000)]
manual update

23 years agoFix a couple of buffer overflows in mcrypt.c
Zeev Suraski [Tue, 10 Jul 2001 12:57:28 +0000 (12:57 +0000)]
Fix a couple of buffer overflows in mcrypt.c

23 years agominor in-line doc fix
Tomas V.V.Cox [Tue, 10 Jul 2001 11:55:15 +0000 (11:55 +0000)]
minor in-line doc fix

23 years agocleaned up the RETVAL_ RETURN_ and ZVAL_ macros
Thies C. Arntzen [Tue, 10 Jul 2001 08:20:20 +0000 (08:20 +0000)]
cleaned up the RETVAL_ RETURN_ and ZVAL_ macros

added check for \0 at end-of-string at some places. all strings in PHP
have to be terminated with \0 because 3th party libraries might not be
binary-safe.

23 years ago- Commit Thies' patch. str.len was too long.
Andi Gutmans [Tue, 10 Jul 2001 05:02:50 +0000 (05:02 +0000)]
- Commit Thies' patch. str.len was too long.

23 years agoMake range() function smarter
Rasmus Lerdorf [Mon, 9 Jul 2001 20:36:47 +0000 (20:36 +0000)]
Make range() function smarter
@ - Improve range() function to support range('a','z') and range(9,0)
@   types of ranges.  (Rasmus)

23 years agoFix Windows build (I think)
Rasmus Lerdorf [Mon, 9 Jul 2001 18:57:19 +0000 (18:57 +0000)]
Fix Windows build (I think)

23 years ago*** empty log message ***
Andrei Zmievski [Mon, 9 Jul 2001 18:54:59 +0000 (18:54 +0000)]
*** empty log message ***

23 years agoAdding new parameter parsing API.
Andrei Zmievski [Mon, 9 Jul 2001 18:51:29 +0000 (18:51 +0000)]
Adding new parameter parsing API.

23 years agofix newly introduced SEFAULT.
Thies C. Arntzen [Mon, 9 Jul 2001 18:01:18 +0000 (18:01 +0000)]
fix newly introduced SEFAULT.

23 years ago__USE_GNU should not be defined by an application.
Sascha Schumann [Mon, 9 Jul 2001 17:44:07 +0000 (17:44 +0000)]
__USE_GNU should not be defined by an application.

23 years agoAdd getmygid() and safe_mode_gid ini directive to allow safe mode to do
Rasmus Lerdorf [Mon, 9 Jul 2001 17:36:04 +0000 (17:36 +0000)]
Add getmygid() and safe_mode_gid ini directive to allow safe mode to do
a gid check instead of a uid check.
@ - Add getmygid() and safe_mode_gid ini directive to allow safe mode to do
@ a gid check instead of a uid check. (James E. Flemer, Rasmus)

23 years ago- Added php_escape_shell_arg to the header file
Derick Rethans [Mon, 9 Jul 2001 17:02:50 +0000 (17:02 +0000)]
- Added php_escape_shell_arg to the header file

23 years agoadopt shane's popen patch
Daniel Beulshausen [Mon, 9 Jul 2001 16:44:40 +0000 (16:44 +0000)]
adopt shane's popen patch

23 years ago@ - assert() now accepts the array(&$obj,"methodname") syntax. (Thies)
Thies C. Arntzen [Mon, 9 Jul 2001 10:20:41 +0000 (10:20 +0000)]
@ - assert() now accepts the array(&$obj,"methodname") syntax. (Thies)
+ some cleanups

23 years agoadded test for assert
Thies C. Arntzen [Mon, 9 Jul 2001 09:08:14 +0000 (09:08 +0000)]
added test for assert

23 years agochanged to use Z_* macros
Thies C. Arntzen [Mon, 9 Jul 2001 09:04:19 +0000 (09:04 +0000)]
changed to use Z_* macros

23 years agoadded test for serialize
Thies C. Arntzen [Mon, 9 Jul 2001 09:03:06 +0000 (09:03 +0000)]
added test for serialize
changed var.c to use Z_* macros

23 years agoxml_utf8_encode: make sure the returned data is zero-terminated
Thies C. Arntzen [Mon, 9 Jul 2001 06:49:34 +0000 (06:49 +0000)]
xml_utf8_encode: make sure the returned data is zero-terminated

23 years agouse erealloc for zvals!
Thies C. Arntzen [Mon, 9 Jul 2001 06:48:15 +0000 (06:48 +0000)]
use erealloc for zvals!

23 years agoReset strtok_string, so that strtok can be used in all session handler
Sascha Schumann [Sun, 8 Jul 2001 23:28:48 +0000 (23:28 +0000)]
Reset strtok_string, so that strtok can be used in all session handler
functions.

23 years agoEnable using an external mailer under windows.
Shane Caraveo [Sun, 8 Jul 2001 22:30:11 +0000 (22:30 +0000)]
Enable using an external mailer under windows.

1. this depends on the patch to fix tsrm I sent to dev
2. this provides backwards compatibility, as long as sendmail_path in the ini file is empty, the old internal mailer will be used, once sendmail_path is defined, the external sendmail program will be used.

I tested with indigomail from www.indigostar.com, which provides the same command line interface as sendmail no linux.

23 years agoNeeded for the prototype of php_escape_shell_cmd().
Sascha Schumann [Sun, 8 Jul 2001 19:09:59 +0000 (19:09 +0000)]
Needed for the prototype of php_escape_shell_cmd().

23 years ago@ - Make sure that OCI8 outbound variables are always zero-terminated. (Thies)
Thies C. Arntzen [Sun, 8 Jul 2001 12:37:08 +0000 (12:37 +0000)]
@ - Make sure that OCI8 outbound variables are always zero-terminated. (Thies)

23 years agoThis should get xmldocfile() working again.
Joey Smith [Sun, 8 Jul 2001 00:54:25 +0000 (00:54 +0000)]
This should get xmldocfile() working again.
This should fix bugs:
11192, 10899

23 years agoConvert double-quotes to single-quotes.
Sebastian Bergmann [Sat, 7 Jul 2001 23:15:08 +0000 (23:15 +0000)]
Convert double-quotes to single-quotes.

23 years ago- Fix off by one error in allocating command line (by Shane)
Andi Gutmans [Sat, 7 Jul 2001 20:00:35 +0000 (20:00 +0000)]
- Fix off by one error in allocating command line (by Shane)

23 years ago* reverted "DIRECTORY_SEPARATOR" patch
Martin Jansen [Sat, 7 Jul 2001 15:54:27 +0000 (15:54 +0000)]
* reverted "DIRECTORY_SEPARATOR" patch

23 years ago* added missing constant
Martin Jansen [Sat, 7 Jul 2001 12:45:20 +0000 (12:45 +0000)]
* added missing constant

23 years agoaddes more logging and security options
Tomas V.V.Cox [Sat, 7 Jul 2001 00:25:39 +0000 (00:25 +0000)]
addes more logging and security options

23 years agowhitespaces
Tomas V.V.Cox [Fri, 6 Jul 2001 19:23:41 +0000 (19:23 +0000)]
whitespaces

23 years agoSignal numbers are not uniform accross all platforms.
Jason Greene [Fri, 6 Jul 2001 18:30:38 +0000 (18:30 +0000)]
Signal numbers are not uniform accross all platforms.
Modified test to use the constants unless a failure occurs.

23 years agofix dsp (?)
Daniel Beulshausen [Fri, 6 Jul 2001 17:53:02 +0000 (17:53 +0000)]
fix dsp (?)

23 years agoMaking --with-openlink work the same as --with-iodbc for it's eventual
Dan Kalowsky [Fri, 6 Jul 2001 14:30:34 +0000 (14:30 +0000)]
Making --with-openlink work the same as --with-iodbc for it's eventual
disappearing act.
#  As requested by the Openlink Software people

23 years agofixed argument number in mb_send_mail().
Rui Hirokawa [Fri, 6 Jul 2001 13:21:47 +0000 (13:21 +0000)]
fixed argument number in mb_send_mail().

23 years agofixed argument number in mb_send_mail().
Rui Hirokawa [Fri, 6 Jul 2001 13:19:36 +0000 (13:19 +0000)]
fixed argument number in mb_send_mail().

23 years agoFix Unix build (AC_ADD_* -> PHP_ADD_*)
Sascha Schumann [Fri, 6 Jul 2001 11:51:11 +0000 (11:51 +0000)]
Fix Unix build (AC_ADD_* -> PHP_ADD_*)

23 years agoPatch by Tobias, so parseInput returns pearError
Christian Stocker [Fri, 6 Jul 2001 10:24:12 +0000 (10:24 +0000)]
Patch by Tobias, so parseInput returns pearError

23 years agoenable get*by* networking functions + remove comments
Daniel Beulshausen [Fri, 6 Jul 2001 09:53:39 +0000 (09:53 +0000)]
enable get*by* networking functions + remove comments

23 years agofix win32 build
Daniel Beulshausen [Fri, 6 Jul 2001 09:51:03 +0000 (09:51 +0000)]
fix win32 build

23 years agoFix proto's and some ws ugliness
Jason Greene [Fri, 6 Jul 2001 06:00:51 +0000 (06:00 +0000)]
Fix proto's and some ws ugliness

23 years agoAdded wait.h functionality to pcntl
Jason Greene [Fri, 6 Jul 2001 05:48:52 +0000 (05:48 +0000)]
Added wait.h functionality to pcntl
Added tests for such functionality
Removed bogus files

23 years agoBe consistent across all cases.
Joey Smith [Fri, 6 Jul 2001 01:21:55 +0000 (01:21 +0000)]
Be consistent across all cases.

23 years agoexperimental db++ database support
Hartmut Holzgraefe [Fri, 6 Jul 2001 00:04:03 +0000 (00:04 +0000)]
experimental db++ database support

23 years agopreliminary documentation for db++ support in ext/dbplus
Hartmut Holzgraefe [Thu, 5 Jul 2001 23:58:53 +0000 (23:58 +0000)]
preliminary documentation for db++ support in ext/dbplus

23 years agoThis should be lower-cased per the documentation and previous
Sean Bright [Thu, 5 Jul 2001 23:29:11 +0000 (23:29 +0000)]
This should be lower-cased per the documentation and previous
implementation.

23 years agoCheck for getpgid (torben@php.net)
Jason Greene [Thu, 5 Jul 2001 22:01:42 +0000 (22:01 +0000)]
Check for getpgid (torben@php.net)

23 years agoMade imagegammacorrect() work on true-color images.
Wez Furlong [Thu, 5 Jul 2001 21:23:28 +0000 (21:23 +0000)]
Made imagegammacorrect() work on true-color images.
Added support for new ImageStringFTEx function (due in GD 2.0.2).

23 years agoChange a load of E_ERRORS into E_WARNINGs; it was being a bit too severe,
Wez Furlong [Thu, 5 Jul 2001 21:18:21 +0000 (21:18 +0000)]
Change a load of E_ERRORS into E_WARNINGs; it was being a bit too severe,
which meant that scripts could not identify (or even display) errors before
PHP bailed out.

23 years agoOptimizing the mssql_execute function.
Frank M. Kromann [Thu, 5 Jul 2001 19:17:33 +0000 (19:17 +0000)]
Optimizing the mssql_execute function.

23 years agoMore ifdefs, just in case.
Wez Furlong [Thu, 5 Jul 2001 10:53:15 +0000 (10:53 +0000)]
More ifdefs, just in case.

23 years agoAdded loads of #ifdefs; should fix Bug #11889.
Wez Furlong [Thu, 5 Jul 2001 10:49:58 +0000 (10:49 +0000)]
Added loads of #ifdefs; should fix Bug #11889.

23 years agoAdded name for enum, hopefully fixing the win32 build.
Wez Furlong [Thu, 5 Jul 2001 09:55:13 +0000 (09:55 +0000)]
Added name for enum, hopefully fixing the win32 build.

23 years ago- Fix for the first part of Bug #11890
Derick Rethans [Thu, 5 Jul 2001 08:47:37 +0000 (08:47 +0000)]
- Fix for the first part of Bug #11890
@- Fixed a bug that allowed users to spawn processes while using the 5th
@  parameter to mail(). (Derick)

23 years agoFix build on linux
Jason Greene [Thu, 5 Jul 2001 07:12:28 +0000 (07:12 +0000)]
Fix build on linux
Heads up Wez

23 years agono need to implement these functions, already in posix module
Jason Greene [Wed, 4 Jul 2001 22:02:00 +0000 (22:02 +0000)]
no need to implement these functions, already in posix module

23 years agoActually check for the needed system calls.
Jason Greene [Wed, 4 Jul 2001 21:51:22 +0000 (21:51 +0000)]
Actually check for the needed system calls.
Currently require sigaction, fork, waitpit.

23 years agoImprove url scanner speed (up to 40% for large chunks of data)
Sascha Schumann [Wed, 4 Jul 2001 15:30:21 +0000 (15:30 +0000)]
Improve url scanner speed (up to 40% for large chunks of data)
and handle some corner cases better.  The scanner has been changed
to the format as proposed in "RE2C - A More Versatile Scanner Generator"
by Cowan et al.

23 years agofixes in source documentation
Nikos Mavroyanopoulos [Wed, 4 Jul 2001 13:33:11 +0000 (13:33 +0000)]
fixes in source documentation

23 years agostupid missing semicolon
Christian Stocker [Wed, 4 Jul 2001 11:24:49 +0000 (11:24 +0000)]
stupid missing semicolon

23 years agoAdded a couple of new functions to "modularize" working with calendars.
Wez Furlong [Wed, 4 Jul 2001 10:12:45 +0000 (10:12 +0000)]
Added a couple of new functions to "modularize" working with calendars.
Added a few constants for the existing functions, and tidied them up a bit.

23 years ago(PHP nl_langinfo) Added function when provided by OS
Wez Furlong [Wed, 4 Jul 2001 10:10:30 +0000 (10:10 +0000)]
(PHP nl_langinfo) Added function when provided by OS
(PHP htmlentities, htmlspecialchars) Uses nl_langinfo to determine charset
@- Added nl_langinfo() (when OS provides it) that returns locale
   information. (Wez Furlong)
# There are a lot of constants used by nl_langinfo; should we do something
# along the lines of what we do for syslog?

23 years agoStick open_basedir in here
Rasmus Lerdorf [Wed, 4 Jul 2001 03:53:12 +0000 (03:53 +0000)]
Stick open_basedir in here

23 years agoThis works better.
foobar [Tue, 3 Jul 2001 21:09:16 +0000 (21:09 +0000)]
This works better.

23 years agoThis module is no longer experimental
Frank M. Kromann [Tue, 3 Jul 2001 18:45:11 +0000 (18:45 +0000)]
This module is no longer experimental

23 years agofixed an argument in example of ext/xslt.
Rui Hirokawa [Tue, 3 Jul 2001 16:59:46 +0000 (16:59 +0000)]
fixed an argument in example of ext/xslt.

23 years ago- fixed bug in pdf_open_image_file when using images as masks.
Rainer Schaaf [Tue, 3 Jul 2001 14:35:08 +0000 (14:35 +0000)]
- fixed bug in pdf_open_image_file when using images as masks.
- clean up some comments

23 years agoSmall fixes.
Sterling Hughes [Tue, 3 Jul 2001 12:16:03 +0000 (12:16 +0000)]
Small fixes.

23 years agoWrite-Patch by Alexander for bug reported by Yavor
Christian Stocker [Tue, 3 Jul 2001 09:34:35 +0000 (09:34 +0000)]
Write-Patch by Alexander for bug reported by Yavor

23 years agoTrivial fix - but the period looks odd in error messages
Rasmus Lerdorf [Tue, 3 Jul 2001 04:18:38 +0000 (04:18 +0000)]
Trivial fix - but the period looks odd in error messages

23 years agoFix a major thread safety bug in the output mechanism
Zeev Suraski [Mon, 2 Jul 2001 18:17:10 +0000 (18:17 +0000)]
Fix a major thread safety bug in the output mechanism
@- Fixed a major memory corruption bug in the thread safe version (Zeev)

23 years agoMissing constant.
foobar [Mon, 2 Jul 2001 12:49:21 +0000 (12:49 +0000)]
Missing constant.

23 years agoFix FastCGI shutdown for MacOSX, it didn't want to die.
Ben Mansell [Mon, 2 Jul 2001 12:37:47 +0000 (12:37 +0000)]
Fix FastCGI shutdown for MacOSX, it didn't want to die.

23 years agoFix possible corruption problem with curl_errno() and curl_error()
Sterling Hughes [Mon, 2 Jul 2001 12:08:21 +0000 (12:08 +0000)]
Fix possible corruption problem with curl_errno() and curl_error()

23 years agoFix mispell.
Sterling Hughes [Mon, 2 Jul 2001 11:56:08 +0000 (11:56 +0000)]
Fix mispell.

23 years ago- Fixed proto's (Patch by Zak)
Derick Rethans [Mon, 2 Jul 2001 11:11:58 +0000 (11:11 +0000)]
- Fixed proto's (Patch by Zak)

23 years agoMoved Config-Package from Experimental to main-directory, since noone complained...
Christian Stocker [Mon, 2 Jul 2001 09:14:28 +0000 (09:14 +0000)]
Moved Config-Package from Experimental to main-directory, since noone complained about it ;)

23 years agofixed a link problem of shared extension module in ext/xslt.
Rui Hirokawa [Mon, 2 Jul 2001 01:55:43 +0000 (01:55 +0000)]
fixed a link problem of shared extension module in ext/xslt.

23 years agoPHPAPI-ize php_var_* functions
Daniel Beulshausen [Sun, 1 Jul 2001 20:18:51 +0000 (20:18 +0000)]
PHPAPI-ize php_var_* functions
# need this for shm*

23 years agofix some popen trouble
Daniel Beulshausen [Sun, 1 Jul 2001 20:08:21 +0000 (20:08 +0000)]
fix some popen trouble

23 years agoFix for #11821.
Sebastian Bergmann [Sun, 1 Jul 2001 14:15:49 +0000 (14:15 +0000)]
Fix for #11821.

23 years agoRemove unused variable.
Sean Bright [Sun, 1 Jul 2001 14:07:44 +0000 (14:07 +0000)]
Remove unused variable.