]>
granicus.if.org Git - php/log
Zeev Suraski [Tue, 12 Sep 2000 19:47:25 +0000 (19:47 +0000)]
Make compile_string() accept a description of the code
Andrei Zmievski [Tue, 12 Sep 2000 19:04:50 +0000 (19:04 +0000)]
Forgot to update proto.
Andrei Zmievski [Tue, 12 Sep 2000 19:03:59 +0000 (19:03 +0000)]
@- Added second argument to array_reverse() that indicatese whether
@ the original array keys should be preserved. (Andrei)
Daniel Beckham [Tue, 12 Sep 2000 19:00:21 +0000 (19:00 +0000)]
reversed chomp alias addition as per Andi Gutmans' request
Rasmus Lerdorf [Tue, 12 Sep 2000 17:24:46 +0000 (17:24 +0000)]
# missed proto comments
Rasmus Lerdorf [Tue, 12 Sep 2000 17:22:37 +0000 (17:22 +0000)]
Clean up htmlspecialchars/htmlentities inconsistencies.
@Clean up htmlspecialchars/htmlentities inconsistencies. (Rasmus)
Daniel Beckham [Tue, 12 Sep 2000 15:54:10 +0000 (15:54 +0000)]
added chomp() alias for chop() for us Perl purists.
Andrei Zmievski [Tue, 12 Sep 2000 13:19:37 +0000 (13:19 +0000)]
Fix notice.
Stanislav Malyshev [Tue, 12 Sep 2000 10:56:25 +0000 (10:56 +0000)]
Make parse_str always register globals with 1 argument and never -
with 2 arguments
Stanislav Malyshev [Tue, 12 Sep 2000 10:54:45 +0000 (10:54 +0000)]
A quick attempt to make parse_str($str,$arr) not register globals.
Derick Rethans [Tue, 12 Sep 2000 05:53:49 +0000 (05:53 +0000)]
- Fix contribution
Andi Gutmans [Tue, 12 Sep 2000 04:18:20 +0000 (04:18 +0000)]
- Always use V_* macros even if logic seems to be only using fullpath.
Andi Gutmans [Tue, 12 Sep 2000 04:13:21 +0000 (04:13 +0000)]
- Fix bug #5997
Jouni Ahto [Tue, 12 Sep 2000 02:45:14 +0000 (02:45 +0000)]
- Fix the function names here too.
<changelog@php.net> [Tue, 12 Sep 2000 01:09:14 +0000 (01:09 +0000)]
ChangeLog update
<changelog@php.net> [Tue, 12 Sep 2000 01:09:11 +0000 (01:09 +0000)]
NEWS update
Stig Bakken [Tue, 12 Sep 2000 00:27:50 +0000 (00:27 +0000)]
@PEAR: renamed DB_GETMODE_* to DB_FETCHMODE_*, added setFetchMode()
@ in DB_common to set the default mode, added some MySQL tests (Stig)
Jouni Ahto [Mon, 11 Sep 2000 21:28:47 +0000 (21:28 +0000)]
- Renamed functions so that this extension finally starts to follow the
recommended naming scheme of PHP.
Derick Rethans [Mon, 11 Sep 2000 20:06:24 +0000 (20:06 +0000)]
- Fix for bug #6673
- Added a "cut" option to wordwrap (as per feature request #6429)
@ Added an optional parameter to wordwrap that cuts a string if the length
of a word is longer than the maximum allowed with (Derick)
Andi Gutmans [Mon, 11 Sep 2000 19:14:42 +0000 (19:14 +0000)]
- Windows and UNIX compile fixes
Andi Gutmans [Mon, 11 Sep 2000 19:11:03 +0000 (19:11 +0000)]
- Get rid of stuff which is already done in php.h
- More can probably be removed as the code doesn't use lots of sys calls.
Andi Gutmans [Mon, 11 Sep 2000 19:04:23 +0000 (19:04 +0000)]
- Remove #if 0 code
Andi Gutmans [Mon, 11 Sep 2000 18:59:32 +0000 (18:59 +0000)]
- Add config_common.h to dsp
Andi Gutmans [Mon, 11 Sep 2000 18:56:47 +0000 (18:56 +0000)]
- Move php_open_temporary_file() out of file.c
Jouni Ahto [Mon, 11 Sep 2000 18:34:06 +0000 (18:34 +0000)]
- Use the same check for existence of a valid link as the other functions.
- Return TRUE if everything went OK.
- Fixed the number of arguments to pg_endcopy.
- Removed unused variables.
- Indentation, changed spaces to tabs.
Sascha Schumann [Mon, 11 Sep 2000 16:25:36 +0000 (16:25 +0000)]
Kill a warning
Sascha Schumann [Mon, 11 Sep 2000 16:19:53 +0000 (16:19 +0000)]
Add proper struct sockaddr * casts and make use of memcpy/memset ('coz we
don't provide any fallbacks for bcopy/bzero).
Derick Rethans [Mon, 11 Sep 2000 15:34:14 +0000 (15:34 +0000)]
- Added functions pg_putline and pg_endcopy (thanks to Dirk Elmendorf
<delmendo@rackspace.com>)
@ Added functions pg_putline and pg_endcopy (Dirk Elmendorf)
Sascha Schumann [Mon, 11 Sep 2000 15:25:06 +0000 (15:25 +0000)]
Solaris-readdir_r-wants-large-buffer fix
Libc5-readdir_r workaround
Sascha Schumann [Mon, 11 Sep 2000 15:24:28 +0000 (15:24 +0000)]
Libc5-readdir_r workaround
Andi Gutmans [Mon, 11 Sep 2000 15:15:57 +0000 (15:15 +0000)]
- Forgot to create extended info in include()/require() call
Andi Gutmans [Mon, 11 Sep 2000 15:15:29 +0000 (15:15 +0000)]
- Testing 1 2 3
Andi Gutmans [Mon, 11 Sep 2000 15:14:56 +0000 (15:14 +0000)]
- Testing 1 2 3
Andrei Zmievski [Mon, 11 Sep 2000 14:54:12 +0000 (14:54 +0000)]
(PHP parse_str) ParameterPassedByReference() check is not necessary.
Stanislav Malyshev [Mon, 11 Sep 2000 14:50:26 +0000 (14:50 +0000)]
Add additional parameter to parse_str for saving result (thanks to
John Bafford <dshadow@zort.net>)
@ Added second parameter for parse_str to save result (John Bafford)
Andrei Zmievski [Mon, 11 Sep 2000 13:54:59 +0000 (13:54 +0000)]
(PHP pathinfo) Fixed more typos.
Andrei Zmievski [Mon, 11 Sep 2000 13:52:22 +0000 (13:52 +0000)]
(PHP pathinfo) Fixed leaks, saved some memory allocations, added
more error checking.
Andrei Zmievski [Mon, 11 Sep 2000 13:18:49 +0000 (13:18 +0000)]
Fix attribution.
foobar [Mon, 11 Sep 2000 13:01:07 +0000 (13:01 +0000)]
Fixed bug #6356.
Andi Gutmans [Mon, 11 Sep 2000 04:31:04 +0000 (04:31 +0000)]
- Should fix compile warning
Sterling Hughes [Mon, 11 Sep 2000 03:33:14 +0000 (03:33 +0000)]
@- Fix bug with curl places extra data in the output. (medvitz@medvitz.net)
<changelog@php.net> [Mon, 11 Sep 2000 01:09:11 +0000 (01:09 +0000)]
ChangeLog update
<changelog@php.net> [Mon, 11 Sep 2000 01:09:08 +0000 (01:09 +0000)]
NEWS update
Sterling Hughes [Sun, 10 Sep 2000 23:18:11 +0000 (23:18 +0000)]
Fix compile warning.
Fix proto.
Change PHP_MINFO output to be consistent.
Sterling Hughes [Sun, 10 Sep 2000 21:07:18 +0000 (21:07 +0000)]
php4ize a bit.
fix a little bit of grammar.
Sterling Hughes [Sun, 10 Sep 2000 20:57:22 +0000 (20:57 +0000)]
Fix attribution.
Stanislav Malyshev [Sun, 10 Sep 2000 13:47:51 +0000 (13:47 +0000)]
Make unpack("H") work like in Perl
Stanislav Malyshev [Sun, 10 Sep 2000 13:34:03 +0000 (13:34 +0000)]
Fix pack() function reading string beyond the end
Stanislav Malyshev [Sun, 10 Sep 2000 11:24:45 +0000 (11:24 +0000)]
Allow require_once to take expressions, just like require
Stanislav Malyshev [Sun, 10 Sep 2000 11:03:32 +0000 (11:03 +0000)]
Fix double unpack bug
Stanislav Malyshev [Sun, 10 Sep 2000 09:49:55 +0000 (09:49 +0000)]
Try once more to remove dups
Stanislav Malyshev [Sun, 10 Sep 2000 09:49:02 +0000 (09:49 +0000)]
Test commit - weed out duplicate messages
Stig Venaas [Sun, 10 Sep 2000 09:35:48 +0000 (09:35 +0000)]
A tiny fix to the getaddrinfo check
Stig Venaas [Sun, 10 Sep 2000 08:09:21 +0000 (08:09 +0000)]
refining getaddrinfo check further, checking that struct addrinfo is there
Sterling Hughes [Sun, 10 Sep 2000 05:59:16 +0000 (05:59 +0000)]
@- Added the pathinfo() function. (Sterling)
Joey Smith [Sun, 10 Sep 2000 05:35:03 +0000 (05:35 +0000)]
Fix compile warnings.
Joey Smith [Sun, 10 Sep 2000 05:24:30 +0000 (05:24 +0000)]
@- Updated sybase_ct module and its sybase_query to use high performance API.
(sybase_query) Use high performance API in sybase_query. Will work on the others later.
Joey Smith [Sun, 10 Sep 2000 05:13:56 +0000 (05:13 +0000)]
Use new Zend API stuff.
<changelog@php.net> [Sun, 10 Sep 2000 01:09:09 +0000 (01:09 +0000)]
ChangeLog update
<changelog@php.net> [Sun, 10 Sep 2000 01:09:06 +0000 (01:09 +0000)]
NEWS update
Derick Rethans [Sat, 9 Sep 2000 23:21:44 +0000 (23:21 +0000)]
- Fixed missing parameter in php_atoi
Stig Venaas [Sat, 9 Sep 2000 21:29:37 +0000 (21:29 +0000)]
Added IPv6 support to php_fopen_url_wrap_ftp (EPSV and php_hostconnect())
David Croft [Sat, 9 Sep 2000 20:39:08 +0000 (20:39 +0000)]
fix typo
Zeev Suraski [Sat, 9 Sep 2000 20:38:02 +0000 (20:38 +0000)]
Update NEWS
Chuck Hagenbuch [Sat, 9 Sep 2000 20:26:15 +0000 (20:26 +0000)]
check the range of message numbers in imap_uid.
Andrei Zmievski [Sat, 9 Sep 2000 16:24:06 +0000 (16:24 +0000)]
Fix attribution.
Zeev Suraski [Sat, 9 Sep 2000 16:01:40 +0000 (16:01 +0000)]
Update NEWS
Zeev Suraski [Sat, 9 Sep 2000 15:06:38 +0000 (15:06 +0000)]
Don't use unsafe sprintf()
Zeev Suraski [Sat, 9 Sep 2000 15:02:15 +0000 (15:02 +0000)]
More security-related (control) patches:
- Avoid displaying errors during startup, unless display_startup_errors is enabled.
- Implemented post_size_max limit. Defaults to 8MB.
- Implemented file_uploads on/off directive (defaults to on).
Derick Rethans [Sat, 9 Sep 2000 12:24:20 +0000 (12:24 +0000)]
- Fix for bug #6586
Stig Venaas [Sat, 9 Sep 2000 12:09:43 +0000 (12:09 +0000)]
More restrictive getaddrinfo check, better not find it than breaking builds
Zeev Suraski [Sat, 9 Sep 2000 12:02:31 +0000 (12:02 +0000)]
Fix UNIX build
Zeev Suraski [Sat, 9 Sep 2000 11:54:04 +0000 (11:54 +0000)]
Check for mkstemp()
Zeev Suraski [Sat, 9 Sep 2000 11:41:14 +0000 (11:41 +0000)]
Security related updates:
- Introduce php_open_temporary_file(), in place of tempnam(). Still
needs testing under UNIX (mkstemp()), works reliably under Windows now.
- Reimplement the mechanism for unlinking uploaded files at the end of the request
(was it ever tested?). Files moved with move_uploaded_file() will not be unlink()'d
again, to avoid (albeit very unlikely) race conditions.
Jouni Ahto [Sat, 9 Sep 2000 09:40:16 +0000 (09:40 +0000)]
Fixed #6627. Wrong logic...
Stig Bakken [Sat, 9 Sep 2000 02:39:56 +0000 (02:39 +0000)]
@Added a more configurable error reporting interface to DB.
Added a more configurable error reporting interface to DB.
Also added some more tests, and moved the DB tests to pear/DB/tests.
#Usage example that prints and exits on every error:
#$dbh = DB::connect($dsn);
#$dbh->setErrorHandling(PEAR_ERROR_DIE);
#
#Example with plain callback function:
#$dbh->setErrorHandling(PEAR_ERROR_CALLBACK, "errorHandler");
#
#Example with object callback function:
#$dbh->setErrorHandling(PEAR_ERROR_CALLBACK, array($obj, "errorHandler"));
#
#Handler functions/methods are called with the error object as a parameter.
#
Stig Bakken [Sat, 9 Sep 2000 01:15:50 +0000 (01:15 +0000)]
* compile fix
<changelog@php.net> [Sat, 9 Sep 2000 01:09:05 +0000 (01:09 +0000)]
ChangeLog update
Stig Bakken [Sat, 9 Sep 2000 00:37:39 +0000 (00:37 +0000)]
* don't require "POST" section to be present (TEST, FILE and EXPECT
are enough)
Zeev Suraski [Fri, 8 Sep 2000 22:31:21 +0000 (22:31 +0000)]
Implement move_uploaded_file() (untested)
Zeev Suraski [Fri, 8 Sep 2000 22:26:07 +0000 (22:26 +0000)]
Fix build
Andrei Zmievski [Fri, 8 Sep 2000 21:58:28 +0000 (21:58 +0000)]
is_uploaded_file() is probably a better name.
Zeev Suraski [Fri, 8 Sep 2000 21:56:47 +0000 (21:56 +0000)]
- Implemented is_upload_file()
Jon Parise [Fri, 8 Sep 2000 15:39:42 +0000 (15:39 +0000)]
Fix build after last commit.
Zeev Suraski [Fri, 8 Sep 2000 14:43:57 +0000 (14:43 +0000)]
Restore the headers_only test to the centralized SAPI startup. If necessary, it can
be overriden in the activate() callback.
Stanislav Malyshev [Fri, 8 Sep 2000 13:19:51 +0000 (13:19 +0000)]
Don't trust snprintf return
Stanislav Malyshev [Fri, 8 Sep 2000 12:52:05 +0000 (12:52 +0000)]
Never trust snprintf return value
Stanislav Malyshev [Fri, 8 Sep 2000 12:32:29 +0000 (12:32 +0000)]
Fix crash on very long error messages
Manual for snprintf says:
If the output was truncated, the return value is -1, oth-
erwise it is the number of characters stored, not includ-
ing the terminating null.
And that's a blatant lie - in reality, libc 2.1 always returns number of
characters that _would be_ stored. I hate those libc bugs. Now we should go
and check every place we trusted snprintf return value.
foobar [Fri, 8 Sep 2000 12:28:00 +0000 (12:28 +0000)]
Fixed typo. Changed php3_error to php_error.
Stanislav Malyshev [Fri, 8 Sep 2000 12:07:21 +0000 (12:07 +0000)]
Fix syslog call
foobar [Fri, 8 Sep 2000 11:50:24 +0000 (11:50 +0000)]
Changed // to /* */ comments.
Stanislav Malyshev [Fri, 8 Sep 2000 11:24:08 +0000 (11:24 +0000)]
Since we don't allow parameters for syslog, we shouln't pass the
string as format
Andi Gutmans [Fri, 8 Sep 2000 08:17:17 +0000 (08:17 +0000)]
- Add another ..\ to the TSRM search path
Andi Gutmans [Fri, 8 Sep 2000 08:15:25 +0000 (08:15 +0000)]
- Add TSRM to the apache workspace include path
Uwe Steinmann [Fri, 8 Sep 2000 06:47:04 +0000 (06:47 +0000)]
- last parameter of pdf_get_parameter(), pdf_get_value() optional
- fixes to make it compile with sun cc
<changelog@php.net> [Fri, 8 Sep 2000 01:09:11 +0000 (01:09 +0000)]
ChangeLog update
<changelog@php.net> [Fri, 8 Sep 2000 01:09:08 +0000 (01:09 +0000)]
NEWS update
Derick Rethans [Thu, 7 Sep 2000 21:28:28 +0000 (21:28 +0000)]
- The mcrypt extension also works with 2.4.4 since php 4.0.2
Stig Venaas [Thu, 7 Sep 2000 17:56:12 +0000 (17:56 +0000)]
Better IPv6 checking
Stanislav Malyshev [Thu, 7 Sep 2000 17:55:53 +0000 (17:55 +0000)]
Fix readdir bug in libc5
@Fix readdir bug in libc5
# If libc5 receives 0 in *result of readdir_r, it just returns error
# That's a clear bug, so this is a workaround.