]> granicus.if.org Git - php/log
php
22 years agoSAFE_MODE restriction error message fixed if the file doesn't exist
Stefan Esser [Sun, 17 Mar 2002 21:00:44 +0000 (21:00 +0000)]
SAFE_MODE restriction error message fixed if the file doesn't exist

22 years agomove_uploaded_files checks open_basedir now
Stefan Esser [Sun, 17 Mar 2002 20:56:20 +0000 (20:56 +0000)]
move_uploaded_files checks open_basedir now

22 years agoRemove already included file
Jason Greene [Sun, 17 Mar 2002 19:41:24 +0000 (19:41 +0000)]
Remove already included file

22 years ago- Start putting error handling where method calls are being used in a
Andi Gutmans [Sun, 17 Mar 2002 19:13:46 +0000 (19:13 +0000)]
- Start putting error handling where method calls are being used in a
- context where only writable variables should be used.

22 years agoFix build.
foobar [Sun, 17 Mar 2002 17:30:55 +0000 (17:30 +0000)]
Fix build.

22 years agoFixed compile error about gdImageColorResolve (#14426, #15000).
Sander Roobol [Sun, 17 Mar 2002 17:01:18 +0000 (17:01 +0000)]
Fixed compile error about gdImageColorResolve (#14426, #15000).

22 years agoremoved anoying warnings
Harald Radi [Sun, 17 Mar 2002 16:45:56 +0000 (16:45 +0000)]
removed anoying warnings

22 years agoreduced warninglevel to remove the annoying
Harald Radi [Sun, 17 Mar 2002 16:20:50 +0000 (16:20 +0000)]
reduced warninglevel to remove the annoying
warnings from the re2c generated code

22 years agoNEWS is my friend...
James Cox [Sun, 17 Mar 2002 16:04:35 +0000 (16:04 +0000)]
NEWS is my friend...

22 years agos/-/ ./
James Cox [Sun, 17 Mar 2002 15:49:53 +0000 (15:49 +0000)]
s/-/ ./

22 years agono, really update it
James Cox [Sun, 17 Mar 2002 15:27:51 +0000 (15:27 +0000)]
no, really update it

22 years ago- This is not used anymore.
foobar [Sun, 17 Mar 2002 15:17:46 +0000 (15:17 +0000)]
- This is not used anymore.

22 years agoupdated NEWS
James Cox [Sun, 17 Mar 2002 15:12:18 +0000 (15:12 +0000)]
updated NEWS

22 years agoFix for php_stream_gets when the implementation does not support it
Wez Furlong [Sun, 17 Mar 2002 14:21:01 +0000 (14:21 +0000)]
Fix for php_stream_gets when the implementation does not support it
natively (Thanks Marcus).

Implement php_stream_make_seekable() and add STREAM_MUST_SEEK as an
option to php_stream_open_wrapper().
See README.STREAMS for usage.

22 years agotidy up the headers (streams related)
Wez Furlong [Sun, 17 Mar 2002 13:29:44 +0000 (13:29 +0000)]
tidy up the headers (streams related)

22 years agoFix for Bug #16121: make unix socket names binary safe.
Wez Furlong [Sun, 17 Mar 2002 13:19:27 +0000 (13:19 +0000)]
Fix for Bug #16121: make unix socket names binary safe.
# Could be applied to 4.2 branch, but I don't have a working copy, and
# I don't think it's amazingly critical.

22 years agofix problems with cgi/cli sapi when running tests
Wez Furlong [Sun, 17 Mar 2002 13:16:35 +0000 (13:16 +0000)]
fix problems with cgi/cli sapi when running tests

22 years ago#removed code to track down error in streams
Marcus Boerger [Sun, 17 Mar 2002 12:16:29 +0000 (12:16 +0000)]
#removed code to track down error in streams

22 years ago-fix bug with wrappers
Marcus Boerger [Sun, 17 Mar 2002 12:06:41 +0000 (12:06 +0000)]
-fix bug with wrappers

22 years ago- Let configure also detect installation in standard unix paths.
Markus Fischer [Sun, 17 Mar 2002 08:33:25 +0000 (08:33 +0000)]
- Let configure also detect installation in standard unix paths.
- Properly format error message.

22 years agofix closing pipes
Shane Caraveo [Sun, 17 Mar 2002 08:21:18 +0000 (08:21 +0000)]
fix closing pipes
fix buffer overrun

22 years ago- Fix some compiler warnings and errors.
Markus Fischer [Sun, 17 Mar 2002 08:10:04 +0000 (08:10 +0000)]
- Fix some compiler warnings and errors.

22 years agofix win32 warning and ming leak
Wez Furlong [Sun, 17 Mar 2002 01:58:42 +0000 (01:58 +0000)]
fix win32 warning and ming leak

22 years agoNEWS update
<changelog@php.net> [Sun, 17 Mar 2002 01:20:41 +0000 (01:20 +0000)]
NEWS update

22 years agoChangeLog update
<changelog@php.net> [Sun, 17 Mar 2002 01:19:36 +0000 (01:19 +0000)]
ChangeLog update

22 years ago* added optional layer parameter to get() method
Stig Bakken [Sat, 16 Mar 2002 23:48:23 +0000 (23:48 +0000)]
* added optional layer parameter to get() method
* added isDefinedLayer() method

22 years ago- WS and code style fix.
Markus Fischer [Sat, 16 Mar 2002 22:31:57 +0000 (22:31 +0000)]
- WS and code style fix.

22 years ago- Fixed some typos.
foobar [Sat, 16 Mar 2002 22:19:33 +0000 (22:19 +0000)]
- Fixed some typos.

22 years ago- Some more TSRMLS fixes.
Markus Fischer [Sat, 16 Mar 2002 22:19:10 +0000 (22:19 +0000)]
- Some more TSRMLS fixes.

22 years agofixed TSRM build
Harald Radi [Sat, 16 Mar 2002 22:08:23 +0000 (22:08 +0000)]
fixed TSRM build

22 years ago-quick hack to bug in streams....but where?
Marcus Boerger [Sat, 16 Mar 2002 21:19:17 +0000 (21:19 +0000)]
-quick hack to bug in streams....but where?

22 years ago-disabling debug
Marcus Boerger [Sat, 16 Mar 2002 20:25:51 +0000 (20:25 +0000)]
-disabling debug
#Wez: i have an error when closing the original file after stream copy...

22 years ago-formatting
Marcus Boerger [Sat, 16 Mar 2002 20:12:58 +0000 (20:12 +0000)]
-formatting

22 years ago-fix bug for not correct terminated comments
Marcus Boerger [Sat, 16 Mar 2002 20:12:17 +0000 (20:12 +0000)]
-fix bug for not correct terminated comments
-switch to streams
@exif functions now support streams using memory streams where @necessary (marcus)

22 years ago-added memory streams
Marcus Boerger [Sat, 16 Mar 2002 20:11:06 +0000 (20:11 +0000)]
-added memory streams
@added memory streams (marcus)

22 years ago-copy_stream_to_stream returns size if maxlen == PHP_STREAM_COPY_ALL
Marcus Boerger [Sat, 16 Mar 2002 20:05:08 +0000 (20:05 +0000)]
-copy_stream_to_stream returns size if maxlen ==  PHP_STREAM_COPY_ALL
#had to commit myself to do the rest...

22 years agofix ftell/fseek in stdio streams
Wez Furlong [Sat, 16 Mar 2002 18:52:03 +0000 (18:52 +0000)]
fix ftell/fseek in stdio streams

22 years agofix build problem for interbase
Wez Furlong [Sat, 16 Mar 2002 18:43:41 +0000 (18:43 +0000)]
fix build problem for interbase

22 years agoFix some issues with gzFile and fsockopen.
Wez Furlong [Sat, 16 Mar 2002 18:42:42 +0000 (18:42 +0000)]
Fix some issues with gzFile and fsockopen.

22 years ago- Indentation fix.
Andi Gutmans [Sat, 16 Mar 2002 18:16:55 +0000 (18:16 +0000)]
- Indentation fix.
Never do:
if (expr) {
}
else

It should be:
if (expr) {
} else {

22 years agoadd HAVE_PHP_STREAM macro for extensions to test which fileio functions to use
Wez Furlong [Sat, 16 Mar 2002 17:54:11 +0000 (17:54 +0000)]
add HAVE_PHP_STREAM macro for extensions to test which fileio functions to use

22 years agos/get_file_contents/file_get_contents/
Wez Furlong [Sat, 16 Mar 2002 16:52:24 +0000 (16:52 +0000)]
s/get_file_contents/file_get_contents/

22 years agoblah
Harald Radi [Sat, 16 Mar 2002 16:15:34 +0000 (16:15 +0000)]
blah

22 years agoOoops.
Wez Furlong [Sat, 16 Mar 2002 16:14:56 +0000 (16:14 +0000)]
Ooops.

22 years agoImplement get_file_contents() as discussed (briefly!) by myself, Derick
Wez Furlong [Sat, 16 Mar 2002 16:06:18 +0000 (16:06 +0000)]
Implement get_file_contents() as discussed (briefly!) by myself, Derick
and Sterling on php-dev some months ago.
It returns the file contents as a string, and uses mmap if possible.

22 years ago- WS fix.
Markus Fischer [Sat, 16 Mar 2002 15:50:20 +0000 (15:50 +0000)]
- WS fix.

22 years ago- Don't forget to close the handle.
Markus Fischer [Sat, 16 Mar 2002 15:42:34 +0000 (15:42 +0000)]
- Don't forget to close the handle.

22 years agocorrect some problems with ming
Wez Furlong [Sat, 16 Mar 2002 15:15:51 +0000 (15:15 +0000)]
correct some problems with ming

22 years agoHopefully fix resource usage so that we have no leaks and don't segfault.
Wez Furlong [Sat, 16 Mar 2002 14:39:51 +0000 (14:39 +0000)]
Hopefully fix resource usage so that we have no leaks and don't segfault.

22 years agofix typo
Wez Furlong [Sat, 16 Mar 2002 13:54:03 +0000 (13:54 +0000)]
fix typo

22 years agowork around apache segfault for the moment
Wez Furlong [Sat, 16 Mar 2002 13:50:17 +0000 (13:50 +0000)]
work around apache segfault for the moment

22 years agoTweak the API to be more consistent.
Wez Furlong [Sat, 16 Mar 2002 13:48:57 +0000 (13:48 +0000)]
Tweak the API to be more consistent.
Update docs.

22 years ago- Raise warning when trying to execute non-executeable shell
Markus Fischer [Sat, 16 Mar 2002 12:45:43 +0000 (12:45 +0000)]
- Raise warning when trying to execute non-executeable shell
  for mail delivery binary.

22 years agoTSRM fix
Harald Radi [Sat, 16 Mar 2002 12:22:25 +0000 (12:22 +0000)]
TSRM fix

22 years agofsock.c did it this way, so it must be OK...
Wez Furlong [Sat, 16 Mar 2002 12:07:27 +0000 (12:07 +0000)]
fsock.c did it this way, so it must be OK...

22 years agobring back ptrdiff_t
Wez Furlong [Sat, 16 Mar 2002 11:58:38 +0000 (11:58 +0000)]
bring back ptrdiff_t

22 years agoHopefully fix probs with apache.
Wez Furlong [Sat, 16 Mar 2002 11:24:12 +0000 (11:24 +0000)]
Hopefully fix probs with apache.

22 years agoupdate NEWS
Wez Furlong [Sat, 16 Mar 2002 11:12:25 +0000 (11:12 +0000)]
update NEWS

22 years agoFixed build with multiple concurrent jobs: zend_indent.c, zend_highlight.c
Sander Roobol [Sat, 16 Mar 2002 11:02:35 +0000 (11:02 +0000)]
Fixed build with multiple concurrent jobs: zend_indent.c, zend_highlight.c
and zend_compile.c require zend_language_parser.h

22 years agofixed possible bufferoverflow in get_next_char
Stefan Esser [Sat, 16 Mar 2002 09:44:30 +0000 (09:44 +0000)]
fixed possible bufferoverflow in get_next_char
malformed input to htmlentities/htmlspecialchars
with utf-8 encoding crashed the server

ex: htmlentities("\xfd...(30times)", ENT_NOQUOTES, "utf-8");

22 years ago- Add streams.c and php_streams.h to project.
Andi Gutmans [Sat, 16 Mar 2002 08:11:52 +0000 (08:11 +0000)]
- Add streams.c and php_streams.h to project.

22 years agofixed some errors of mbstring in regression tests.
Rui Hirokawa [Sat, 16 Mar 2002 07:33:21 +0000 (07:33 +0000)]
fixed some errors of mbstring in regression tests.

22 years ago- Do not use @ when you're merging the fixes to the release branch.
foobar [Sat, 16 Mar 2002 05:43:04 +0000 (05:43 +0000)]
- Do not use @ when you're merging the fixes to the release branch.
  Instead, edit the NEWS file manually.

22 years agosome minor docu-in-header changes
Wez Furlong [Sat, 16 Mar 2002 03:50:17 +0000 (03:50 +0000)]
some minor docu-in-header changes

22 years agoQuick fix build error when ptrdiff_t is not defined in types.h or sys/types.h
Yasuo Ohgaki [Sat, 16 Mar 2002 03:37:11 +0000 (03:37 +0000)]
Quick fix build error when ptrdiff_t is not defined in types.h or sys/types.h

22 years agoZTS build fix
Yasuo Ohgaki [Sat, 16 Mar 2002 03:33:48 +0000 (03:33 +0000)]
ZTS build fix

22 years agoZTS build fix
Yasuo Ohgaki [Sat, 16 Mar 2002 03:30:19 +0000 (03:30 +0000)]
ZTS build fix

22 years agoAllow php_stream_copy_to_stream to do nothing when used with code
Wez Furlong [Sat, 16 Mar 2002 02:48:35 +0000 (02:48 +0000)]
Allow php_stream_copy_to_stream to do nothing when used with code
that calculates a max length of zero. (Thanks again Marcus).

22 years ago-use of corrected stream seek
Marcus Boerger [Sat, 16 Mar 2002 02:46:04 +0000 (02:46 +0000)]
-use of corrected stream seek
#thanks to Wez!
#image.c no works again

22 years agosome tweaks for seek/read used in image.c (thanks Marcus)
Wez Furlong [Sat, 16 Mar 2002 02:39:39 +0000 (02:39 +0000)]
some tweaks for seek/read used in image.c (thanks Marcus)

22 years agoThis should help with some build problems/warnings under win32.
Wez Furlong [Sat, 16 Mar 2002 02:33:00 +0000 (02:33 +0000)]
This should help with some build problems/warnings under win32.
Someone still needs to add the streams.c file to the MSVC
project/workspace though (there are so many that I don't really know
what I am doing :-).

22 years ago-new streams
Marcus Boerger [Sat, 16 Mar 2002 02:23:57 +0000 (02:23 +0000)]
-new streams

22 years agomore *'s
Wez Furlong [Sat, 16 Mar 2002 01:58:13 +0000 (01:58 +0000)]
more *'s

22 years agochange * formatting
Wez Furlong [Sat, 16 Mar 2002 01:37:24 +0000 (01:37 +0000)]
change * formatting

22 years ago* formatting, plus remove some old fopen wrappers
Wez Furlong [Sat, 16 Mar 2002 01:34:52 +0000 (01:34 +0000)]
* formatting, plus remove some old fopen wrappers

22 years agochange * formatting
Wez Furlong [Sat, 16 Mar 2002 01:28:57 +0000 (01:28 +0000)]
change * formatting

22 years agoNEWS update
<changelog@php.net> [Sat, 16 Mar 2002 01:19:21 +0000 (01:19 +0000)]
NEWS update

22 years agoChangeLog update
<changelog@php.net> [Sat, 16 Mar 2002 01:19:01 +0000 (01:19 +0000)]
ChangeLog update

22 years agothe 'setup' script was removed more than two years ago.
jim winstead [Sat, 16 Mar 2002 00:21:40 +0000 (00:21 +0000)]
the 'setup' script was removed more than two years ago.
these can be safely removed from the 4.2 branch, too.

22 years ago- More whitespace. I really can't do the other files though...
Andi Gutmans [Sat, 16 Mar 2002 00:13:46 +0000 (00:13 +0000)]
- More whitespace. I really can't do the other files though...

22 years ago- Change one strncpy() to strlcpy().
Andi Gutmans [Sat, 16 Mar 2002 00:05:47 +0000 (00:05 +0000)]
- Change one strncpy() to strlcpy().
- Big indentation patch. I don't have strength to do all of the changed
- files but here's a good example. Please try and keep to the coding
- standards even if you think they suck :)
- Things to keep in mind:
- void *foo and not void * foo;
- if() { and not if()<TAB>{
- } else { and not {\nelse
-
- The streams stuff looks very cool though! :)

22 years agoongoing development ...
Harald Radi [Fri, 15 Mar 2002 23:28:10 +0000 (23:28 +0000)]
ongoing development ...

22 years agoThis entry belongs under 4.2.0.
foobar [Fri, 15 Mar 2002 21:46:14 +0000 (21:46 +0000)]
This entry belongs under 4.2.0.

22 years agoNew PHP streams...
Wez Furlong [Fri, 15 Mar 2002 21:03:08 +0000 (21:03 +0000)]
New PHP streams...

22 years ago@ fixed a bug that caused php to crash in php_COM_get_ids_of_names() (Harald, Paul)
Harald Radi [Fri, 15 Mar 2002 20:48:26 +0000 (20:48 +0000)]
@ fixed a bug that caused php to crash in php_COM_get_ids_of_names() (Harald, Paul)

22 years ago- Corrected these entries. (catched by Derick)
foobar [Fri, 15 Mar 2002 20:18:07 +0000 (20:18 +0000)]
- Corrected these entries. (catched by Derick)

22 years ago- Fixed grammar, made some entries make more sense...etc. (proof read please :)
foobar [Fri, 15 Mar 2002 20:01:36 +0000 (20:01 +0000)]
- Fixed grammar, made some entries make more sense...etc. (proof read please :)
# People, PLEASE try keeping in mind that these entries are for
# the end-users. ie. they need to explain what was changed and why.
# And be consistent too..

22 years ago- Fix proto (again)
Derick Rethans [Fri, 15 Mar 2002 19:04:22 +0000 (19:04 +0000)]
- Fix proto (again)

22 years ago- proto fixes
Derick Rethans [Fri, 15 Mar 2002 18:22:57 +0000 (18:22 +0000)]
- proto fixes

22 years agodon't redefine NDEBUG if it is already defined. yeesh.
jim winstead [Fri, 15 Mar 2002 17:10:38 +0000 (17:10 +0000)]
don't redefine NDEBUG if it is already defined. yeesh.

22 years ago- Pass TSRMLS to callbacks.
Andi Gutmans [Fri, 15 Mar 2002 16:26:17 +0000 (16:26 +0000)]
- Pass TSRMLS to callbacks.

22 years ago- Scope fix. When calling an imported function the scope will change
Andi Gutmans [Fri, 15 Mar 2002 15:28:06 +0000 (15:28 +0000)]
- Scope fix. When calling an imported function the scope will change
- correctly to the scope of the functions class.
<?php

function Hello()
{
print "Wrong one\n";
}

class MyClass {
static $hello = "Hello, World\n";

function Hello()
{
print self::$hello;
}

function Trampoline()
{
Hello();
}
}

import function Trampoline from MyClass;

Trampoline();
?>

22 years agoadded new ibase_fetch_assoc() php function
Daniela Mariaschi [Fri, 15 Mar 2002 15:26:01 +0000 (15:26 +0000)]
added new ibase_fetch_assoc() php function

22 years ago- Fix issues with $this when using it by itself without indirection such as
Andi Gutmans [Fri, 15 Mar 2002 15:09:46 +0000 (15:09 +0000)]
- Fix issues with $this when using it by itself without indirection such as
- $this->foo.

22 years ago* "new and improved" iconv test
Stig Bakken [Fri, 15 Mar 2002 13:56:32 +0000 (13:56 +0000)]
* "new and improved" iconv test

22 years agofixed HashTable allocation
Harald Radi [Fri, 15 Mar 2002 13:10:35 +0000 (13:10 +0000)]
fixed HashTable allocation

22 years ago* fix for db3 from ports on freebsd
Stig Bakken [Fri, 15 Mar 2002 11:26:47 +0000 (11:26 +0000)]
* fix for db3 from ports on freebsd

22 years ago- Revert assert fix until it becomes clear what was wrong with my previous
Andi Gutmans [Fri, 15 Mar 2002 10:49:31 +0000 (10:49 +0000)]
- Revert assert fix until it becomes clear what was wrong with my previous
- fix. I don't see any warnings when building with VC++ English.

22 years ago* yet another iconv config fix, should be able to handle most or all
Stig Bakken [Fri, 15 Mar 2002 10:06:37 +0000 (10:06 +0000)]
* yet another iconv config fix, should be able to handle most or all
  configurations now (giconv/iconv, static libs only, iconv in libc etc.)

22 years agoAvoid warnings under VC.
Yasuo Ohgaki [Fri, 15 Mar 2002 06:36:56 +0000 (06:36 +0000)]
Avoid warnings under VC.
# If you know how assert() should be used under VC, please fix it.