]>
granicus.if.org Git - php/log
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
Stefan Esser [Sun, 17 Mar 2002 20:56:20 +0000 (20:56 +0000)]
move_uploaded_files checks open_basedir now
Jason Greene [Sun, 17 Mar 2002 19:41:24 +0000 (19:41 +0000)]
Remove already included file
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.
foobar [Sun, 17 Mar 2002 17:30:55 +0000 (17:30 +0000)]
Fix build.
Sander Roobol [Sun, 17 Mar 2002 17:01:18 +0000 (17:01 +0000)]
Fixed compile error about gdImageColorResolve (#14426, #15000).
Harald Radi [Sun, 17 Mar 2002 16:45:56 +0000 (16:45 +0000)]
removed anoying warnings
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
James Cox [Sun, 17 Mar 2002 16:04:35 +0000 (16:04 +0000)]
NEWS is my friend...
James Cox [Sun, 17 Mar 2002 15:49:53 +0000 (15:49 +0000)]
s/-/ ./
James Cox [Sun, 17 Mar 2002 15:27:51 +0000 (15:27 +0000)]
no, really update it
foobar [Sun, 17 Mar 2002 15:17:46 +0000 (15:17 +0000)]
- This is not used anymore.
James Cox [Sun, 17 Mar 2002 15:12:18 +0000 (15:12 +0000)]
updated NEWS
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.
Wez Furlong [Sun, 17 Mar 2002 13:29:44 +0000 (13:29 +0000)]
tidy up the headers (streams related)
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.
Wez Furlong [Sun, 17 Mar 2002 13:16:35 +0000 (13:16 +0000)]
fix problems with cgi/cli sapi when running tests
Marcus Boerger [Sun, 17 Mar 2002 12:16:29 +0000 (12:16 +0000)]
#removed code to track down error in streams
Marcus Boerger [Sun, 17 Mar 2002 12:06:41 +0000 (12:06 +0000)]
-fix bug with wrappers
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.
Shane Caraveo [Sun, 17 Mar 2002 08:21:18 +0000 (08:21 +0000)]
fix closing pipes
fix buffer overrun
Markus Fischer [Sun, 17 Mar 2002 08:10:04 +0000 (08:10 +0000)]
- Fix some compiler warnings and errors.
Wez Furlong [Sun, 17 Mar 2002 01:58:42 +0000 (01:58 +0000)]
fix win32 warning and ming leak
<changelog@php.net> [Sun, 17 Mar 2002 01:20:41 +0000 (01:20 +0000)]
NEWS update
<changelog@php.net> [Sun, 17 Mar 2002 01:19:36 +0000 (01:19 +0000)]
ChangeLog update
Stig Bakken [Sat, 16 Mar 2002 23:48:23 +0000 (23:48 +0000)]
* added optional layer parameter to get() method
* added isDefinedLayer() method
Markus Fischer [Sat, 16 Mar 2002 22:31:57 +0000 (22:31 +0000)]
- WS and code style fix.
foobar [Sat, 16 Mar 2002 22:19:33 +0000 (22:19 +0000)]
- Fixed some typos.
Markus Fischer [Sat, 16 Mar 2002 22:19:10 +0000 (22:19 +0000)]
- Some more TSRMLS fixes.
Harald Radi [Sat, 16 Mar 2002 22:08:23 +0000 (22:08 +0000)]
fixed TSRM build
Marcus Boerger [Sat, 16 Mar 2002 21:19:17 +0000 (21:19 +0000)]
-quick hack to bug in streams....but where?
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...
Marcus Boerger [Sat, 16 Mar 2002 20:12:58 +0000 (20:12 +0000)]
-formatting
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)
Marcus Boerger [Sat, 16 Mar 2002 20:11:06 +0000 (20:11 +0000)]
-added memory streams
@added memory streams (marcus)
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...
Wez Furlong [Sat, 16 Mar 2002 18:52:03 +0000 (18:52 +0000)]
fix ftell/fseek in stdio streams
Wez Furlong [Sat, 16 Mar 2002 18:43:41 +0000 (18:43 +0000)]
fix build problem for interbase
Wez Furlong [Sat, 16 Mar 2002 18:42:42 +0000 (18:42 +0000)]
Fix some issues with gzFile and fsockopen.
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 {
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
Wez Furlong [Sat, 16 Mar 2002 16:52:24 +0000 (16:52 +0000)]
s/get_file_contents/file_get_contents/
Harald Radi [Sat, 16 Mar 2002 16:15:34 +0000 (16:15 +0000)]
blah
Wez Furlong [Sat, 16 Mar 2002 16:14:56 +0000 (16:14 +0000)]
Ooops.
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.
Markus Fischer [Sat, 16 Mar 2002 15:50:20 +0000 (15:50 +0000)]
- WS fix.
Markus Fischer [Sat, 16 Mar 2002 15:42:34 +0000 (15:42 +0000)]
- Don't forget to close the handle.
Wez Furlong [Sat, 16 Mar 2002 15:15:51 +0000 (15:15 +0000)]
correct some problems with ming
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.
Wez Furlong [Sat, 16 Mar 2002 13:54:03 +0000 (13:54 +0000)]
fix typo
Wez Furlong [Sat, 16 Mar 2002 13:50:17 +0000 (13:50 +0000)]
work around apache segfault for the moment
Wez Furlong [Sat, 16 Mar 2002 13:48:57 +0000 (13:48 +0000)]
Tweak the API to be more consistent.
Update docs.
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.
Harald Radi [Sat, 16 Mar 2002 12:22:25 +0000 (12:22 +0000)]
TSRM fix
Wez Furlong [Sat, 16 Mar 2002 12:07:27 +0000 (12:07 +0000)]
fsock.c did it this way, so it must be OK...
Wez Furlong [Sat, 16 Mar 2002 11:58:38 +0000 (11:58 +0000)]
bring back ptrdiff_t
Wez Furlong [Sat, 16 Mar 2002 11:24:12 +0000 (11:24 +0000)]
Hopefully fix probs with apache.
Wez Furlong [Sat, 16 Mar 2002 11:12:25 +0000 (11:12 +0000)]
update NEWS
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
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");
Andi Gutmans [Sat, 16 Mar 2002 08:11:52 +0000 (08:11 +0000)]
- Add streams.c and php_streams.h to project.
Rui Hirokawa [Sat, 16 Mar 2002 07:33:21 +0000 (07:33 +0000)]
fixed some errors of mbstring in regression tests.
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.
Wez Furlong [Sat, 16 Mar 2002 03:50:17 +0000 (03:50 +0000)]
some minor docu-in-header changes
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
Yasuo Ohgaki [Sat, 16 Mar 2002 03:33:48 +0000 (03:33 +0000)]
ZTS build fix
Yasuo Ohgaki [Sat, 16 Mar 2002 03:30:19 +0000 (03:30 +0000)]
ZTS build fix
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).
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
Wez Furlong [Sat, 16 Mar 2002 02:39:39 +0000 (02:39 +0000)]
some tweaks for seek/read used in image.c (thanks Marcus)
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 :-).
Marcus Boerger [Sat, 16 Mar 2002 02:23:57 +0000 (02:23 +0000)]
-new streams
Wez Furlong [Sat, 16 Mar 2002 01:58:13 +0000 (01:58 +0000)]
more *'s
Wez Furlong [Sat, 16 Mar 2002 01:37:24 +0000 (01:37 +0000)]
change * formatting
Wez Furlong [Sat, 16 Mar 2002 01:34:52 +0000 (01:34 +0000)]
* formatting, plus remove some old fopen wrappers
Wez Furlong [Sat, 16 Mar 2002 01:28:57 +0000 (01:28 +0000)]
change * formatting
<changelog@php.net> [Sat, 16 Mar 2002 01:19:21 +0000 (01:19 +0000)]
NEWS update
<changelog@php.net> [Sat, 16 Mar 2002 01:19:01 +0000 (01:19 +0000)]
ChangeLog update
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.
Andi Gutmans [Sat, 16 Mar 2002 00:13:46 +0000 (00:13 +0000)]
- More whitespace. I really can't do the other files though...
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! :)
Harald Radi [Fri, 15 Mar 2002 23:28:10 +0000 (23:28 +0000)]
ongoing development ...
foobar [Fri, 15 Mar 2002 21:46:14 +0000 (21:46 +0000)]
This entry belongs under 4.2.0.
Wez Furlong [Fri, 15 Mar 2002 21:03:08 +0000 (21:03 +0000)]
New PHP streams...
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)
foobar [Fri, 15 Mar 2002 20:18:07 +0000 (20:18 +0000)]
- Corrected these entries. (catched by Derick)
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..
Derick Rethans [Fri, 15 Mar 2002 19:04:22 +0000 (19:04 +0000)]
- Fix proto (again)
Derick Rethans [Fri, 15 Mar 2002 18:22:57 +0000 (18:22 +0000)]
- proto fixes
jim winstead [Fri, 15 Mar 2002 17:10:38 +0000 (17:10 +0000)]
don't redefine NDEBUG if it is already defined. yeesh.
Andi Gutmans [Fri, 15 Mar 2002 16:26:17 +0000 (16:26 +0000)]
- Pass TSRMLS to callbacks.
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();
?>
Daniela Mariaschi [Fri, 15 Mar 2002 15:26:01 +0000 (15:26 +0000)]
added new ibase_fetch_assoc() php function
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.
Stig Bakken [Fri, 15 Mar 2002 13:56:32 +0000 (13:56 +0000)]
* "new and improved" iconv test
Harald Radi [Fri, 15 Mar 2002 13:10:35 +0000 (13:10 +0000)]
fixed HashTable allocation
Stig Bakken [Fri, 15 Mar 2002 11:26:47 +0000 (11:26 +0000)]
* fix for db3 from ports on freebsd
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.
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.)
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.