]>
granicus.if.org Git - php/log
Ilia Alshanetsky [Mon, 8 Mar 2004 22:21:36 +0000 (22:21 +0000)]
Cleanup
Derick Rethans [Mon, 8 Mar 2004 22:18:05 +0000 (22:18 +0000)]
- Added mb_list_encoding() to return an array with all mbstring supported
encodings.
Pierre Joye [Mon, 8 Mar 2004 21:34:12 +0000 (21:34 +0000)]
- sources cleanup:
- merge the tests of broker/dict pointers, I can always set them back if
we like to raise warnings here
- proto fixes
- remove printf() debug
Marcus Boerger [Mon, 8 Mar 2004 21:17:39 +0000 (21:17 +0000)]
Rename hasMore() to valid() as discussed. (Part V)
Marcus Boerger [Mon, 8 Mar 2004 21:15:39 +0000 (21:15 +0000)]
Rename hasMore() to valid() as discussed. (Part IV)
Pierre Joye [Mon, 8 Mar 2004 20:12:13 +0000 (20:12 +0000)]
- Initial commit
Ard Biesheuvel [Mon, 8 Mar 2004 19:08:25 +0000 (19:08 +0000)]
MFB fix #27408
Marcus Boerger [Mon, 8 Mar 2004 19:00:21 +0000 (19:00 +0000)]
Rename hasMore() to valid() as discussed. (Part III)
Marcus Boerger [Mon, 8 Mar 2004 18:05:41 +0000 (18:05 +0000)]
Rename hasMore() to valid() as discussed. (Part II)
Marcus Boerger [Mon, 8 Mar 2004 17:33:31 +0000 (17:33 +0000)]
Rename hasMore() to valid() as discussed. (Part I)
Marcus Boerger [Mon, 8 Mar 2004 16:52:59 +0000 (16:52 +0000)]
Check count.
Ard Biesheuvel [Mon, 8 Mar 2004 10:49:17 +0000 (10:49 +0000)]
Merged some more odd fixes from my own branch
Ard Biesheuvel [Mon, 8 Mar 2004 10:32:26 +0000 (10:32 +0000)]
Cleaned up array handling and optimize for the case where no array fields are used
Fix timestamp binding for Win32 (which doesn't have gmtime_r())
CS
Derick Rethans [Mon, 8 Mar 2004 08:02:02 +0000 (08:02 +0000)]
- Fixed bug #24550 (tokenizing with __METHOD__ crash) (Patch by Greg Beaver)
Ilia Alshanetsky [Mon, 8 Mar 2004 03:15:45 +0000 (03:15 +0000)]
Fixed bug #27424 (headers missing on flush() in apache 2 SAPIs).
Ilia Alshanetsky [Mon, 8 Mar 2004 03:06:56 +0000 (03:06 +0000)]
Fixed compiler warnings.
<changelog@php.net> [Mon, 8 Mar 2004 01:32:05 +0000 (01:32 +0000)]
ChangeLog update
Marcus Boerger [Mon, 8 Mar 2004 00:19:43 +0000 (00:19 +0000)]
Add another missing conversion
Marcus Boerger [Sun, 7 Mar 2004 23:45:31 +0000 (23:45 +0000)]
Search for db-4.2.x
Sascha Schumann [Sun, 7 Mar 2004 22:35:26 +0000 (22:35 +0000)]
Avoid using floating point arithmetic and rely on safe_emalloc
for the multiplication.
The actual size requirement is spelled out as:
** The result is written into a preallocated output buffer "out".
** "out" must be able to hold at least 2 +(257*n)/254 bytes.
** In other words, the output will be expanded by as much as 3
** bytes for every 254 bytes of input plus 2 bytes of fixed overhead.
** (This is approximately 2 + 1.0118*n or about a 1.2% size increase.)
Wez Furlong [Sun, 7 Mar 2004 22:06:36 +0000 (22:06 +0000)]
add cast for qsort compare function.
Kinda ugly, but helps assert that we are doing the right thing as well as
kill the warning there.
Wez Furlong [Sun, 7 Mar 2004 22:05:21 +0000 (22:05 +0000)]
Connect feof() call to user-space stream feof() method.
Fixes Bug #27417 and #27508
Ilia Alshanetsky [Sun, 7 Mar 2004 21:57:50 +0000 (21:57 +0000)]
Corrected string escape calculation.
Wez Furlong [Sun, 7 Mar 2004 21:36:55 +0000 (21:36 +0000)]
Less magic please
Ard Biesheuvel [Sun, 7 Mar 2004 18:01:12 +0000 (18:01 +0000)]
Simplify / fix
Ard Biesheuvel [Sun, 7 Mar 2004 14:25:08 +0000 (14:25 +0000)]
Added missing support for binding timestamps
# Returning timestamps was already supported
<changelog@php.net> [Sun, 7 Mar 2004 01:32:00 +0000 (01:32 +0000)]
ChangeLog update
Moriyoshi Koizumi [Sun, 7 Mar 2004 00:03:50 +0000 (00:03 +0000)]
- Forgot to commit this one.
Moriyoshi Koizumi [Sat, 6 Mar 2004 23:11:25 +0000 (23:11 +0000)]
- Fix test, take 2
Ilia Alshanetsky [Sat, 6 Mar 2004 19:29:52 +0000 (19:29 +0000)]
Fixed bug #27421 (mbstring.func_overload should be system ini setting).
Ilia Alshanetsky [Sat, 6 Mar 2004 19:06:04 +0000 (19:06 +0000)]
Fixed bug #27460 (base64_decode() does not handle extra padding).
Ilia Alshanetsky [Sat, 6 Mar 2004 18:35:41 +0000 (18:35 +0000)]
Fixed bug #27505 (htmlentities() does not handle BIG5 correctly).
Ilia Alshanetsky [Sat, 6 Mar 2004 18:29:54 +0000 (18:29 +0000)]
Use correct variable name.
Ilia Alshanetsky [Sat, 6 Mar 2004 18:24:41 +0000 (18:24 +0000)]
Fixed bug #27437 (wrong freetype include inside GD library).
Ilia Alshanetsky [Sat, 6 Mar 2004 18:14:54 +0000 (18:14 +0000)]
Fixed a possible memory leaks inside sqlite_popen() &
sqlite_fetch_column_types().
Resolve the file path inside sqlite_factory().
Ilia Alshanetsky [Sat, 6 Mar 2004 18:11:59 +0000 (18:11 +0000)]
Fixed possible crash due to an integer overflow.
Ilia Alshanetsky [Sat, 6 Mar 2004 18:10:32 +0000 (18:10 +0000)]
Better extension availability check.
Pierre Joye [Sat, 6 Mar 2004 17:31:51 +0000 (17:31 +0000)]
- fix #27238
<changelog@php.net> [Sat, 6 Mar 2004 01:32:09 +0000 (01:32 +0000)]
ChangeLog update
Andi Gutmans [Fri, 5 Mar 2004 17:18:34 +0000 (17:18 +0000)]
- Fix some small problems I introduce in last patch.
Andi Gutmans [Fri, 5 Mar 2004 13:04:21 +0000 (13:04 +0000)]
- Finally fix the following:
$xml_mem = simplexml_load_string('<bookbody><part><chapter><page>1</page></chapter></part></bookbody>');
/* The following works fine */
foreach ($xml_mem->part as $part) {
foreach($part->chapter->page as $page) {
print $page;
}
}
/* The following segfaults */
foreach ($xml_mem->part as $part) {
foreach($part->chapter as $chapter) { // Difference here from previous example
print $chapter;
}
}
Dmitry Stogov [Fri, 5 Mar 2004 12:18:16 +0000 (12:18 +0000)]
Test files were fixed acording to new constructor redeclaration semantic
Dmitry Stogov [Fri, 5 Mar 2004 12:16:28 +0000 (12:16 +0000)]
Test file was fixed (stack trace is removed)
<changelog@php.net> [Fri, 5 Mar 2004 01:31:59 +0000 (01:31 +0000)]
ChangeLog update
Moriyoshi Koizumi [Thu, 4 Mar 2004 22:53:09 +0000 (22:53 +0000)]
- typo (must have sleep.)
Moriyoshi Koizumi [Thu, 4 Mar 2004 22:50:55 +0000 (22:50 +0000)]
- Fix memleak when scanner is called from within tokenizer extension.
# (only happens with zend multibyte feature enabled)
Moriyoshi Koizumi [Thu, 4 Mar 2004 22:49:54 +0000 (22:49 +0000)]
- Prevent cli from printing multiple "Interactive mode enabled" if
the command line option is given more than once (like -aaaaaa).
Sara Golemon [Thu, 4 Mar 2004 22:24:27 +0000 (22:24 +0000)]
Don't rely on ANSI tmpfile(), use the streams layer instead, it'll deal with platform issues.
Moriyoshi Koizumi [Thu, 4 Mar 2004 21:50:21 +0000 (21:50 +0000)]
- Fix compiler warnings. (Patch by K.Kosako <kosako@sofnec.co.jp>)
Derick Rethans [Thu, 4 Mar 2004 15:55:44 +0000 (15:55 +0000)]
- No maintainer anymore.
Christian Stocker [Thu, 4 Mar 2004 13:37:37 +0000 (13:37 +0000)]
- fix a linefeed problem, if there are more than one configureoption
Stanislav Malyshev [Thu, 4 Mar 2004 13:11:03 +0000 (13:11 +0000)]
fix the fix
Stanislav Malyshev [Thu, 4 Mar 2004 13:09:03 +0000 (13:09 +0000)]
oops, fix cut&paste gone bad
Stanislav Malyshev [Thu, 4 Mar 2004 13:06:02 +0000 (13:06 +0000)]
Fix object true value: if we are in compat mode and it's Zend object -
use PHP4 rules. Otherwise, object is always true.
Derick Rethans [Thu, 4 Mar 2004 11:02:05 +0000 (11:02 +0000)]
- Fixed a 64bit issue (for zend_builtin_functions.c, module_number is an int).
- Change the MAX_LENGTH_OF_LONG constant to 20, as LONG_MAX is 20 characters.
(Patches by Ard Biesheuven)
Derick Rethans [Thu, 4 Mar 2004 10:58:49 +0000 (10:58 +0000)]
- Added instance_of test (patch by Ard Biesheuvel)
Stanislav Malyshev [Thu, 4 Mar 2004 10:02:59 +0000 (10:02 +0000)]
Disallow redefining ctors and cleanup
Stanislav Malyshev [Thu, 4 Mar 2004 09:18:05 +0000 (09:18 +0000)]
Handle out of memory/bad size situation gracefully, without getting into loop
<changelog@php.net> [Thu, 4 Mar 2004 01:36:39 +0000 (01:36 +0000)]
ChangeLog update
Rob Richards [Wed, 3 Mar 2004 20:59:02 +0000 (20:59 +0000)]
Fix bug #27467: domDocument::load() called from class method crashes
the methods can be called statically only from within classes which
are not extending DomDocument
Edin Kadribasic [Wed, 3 Mar 2004 18:54:20 +0000 (18:54 +0000)]
Attempt at fixing win32 link errors
Edin Kadribasic [Wed, 3 Mar 2004 18:36:30 +0000 (18:36 +0000)]
Add missing source file
Edin Kadribasic [Wed, 3 Mar 2004 18:15:56 +0000 (18:15 +0000)]
Replace mysql with mysqli in paths to allow building both mysql and mysqli
Moriyoshi Koizumi [Wed, 3 Mar 2004 10:27:19 +0000 (10:27 +0000)]
- Add missing include path.
Andi Gutmans [Wed, 3 Mar 2004 09:58:58 +0000 (09:58 +0000)]
- Fix crash:
<?
class foo {
function __destruct() {
foreach ($this->x as $x);
}
}
new foo();
echo 'OK';
?>
<changelog@php.net> [Wed, 3 Mar 2004 01:33:18 +0000 (01:33 +0000)]
ChangeLog update
Moriyoshi Koizumi [Tue, 2 Mar 2004 22:38:21 +0000 (22:38 +0000)]
- proper DLL linkage specifier.
# oniguruma.h:34-
#
# #ifndef ONIG_EXTERN
# #if defined(_WIN32) && !defined(__CYGWIN__)
# #if defined(EXPORT) || defined(RUBY_EXPORT)
# #define ONIG_EXTERN extern __declspec(dllexport)
# #else
# #define ONIG_EXTERN extern __declspec(dllimport)
# #endif
# #endif
# #endif
Derick Rethans [Tue, 2 Mar 2004 21:56:30 +0000 (21:56 +0000)]
- Fixed bug in gdImageFilledRectangle in the bundled GD library, that required
x1 < x2 and y1 < y2 for coordinates.
Derick Rethans [Tue, 2 Mar 2004 21:14:10 +0000 (21:14 +0000)]
- Fixed timing issues in test
Derick Rethans [Tue, 2 Mar 2004 21:03:24 +0000 (21:03 +0000)]
- Added testcase for bug #27468
Moriyoshi Koizumi [Tue, 2 Mar 2004 20:18:14 +0000 (20:18 +0000)]
- Fix typo.
Derick Rethans [Tue, 2 Mar 2004 17:51:46 +0000 (17:51 +0000)]
- CLONE, not CLOSE
Derick Rethans [Tue, 2 Mar 2004 17:49:49 +0000 (17:49 +0000)]
- Added "clone" to the list of tokens. (Patch by Greg Beaver)
Marcus Boerger [Tue, 2 Mar 2004 16:17:58 +0000 (16:17 +0000)]
Fix zend_parse_method_parameters_ex() and make it consistant with
zend_parse_method_parameters().
# Obviously its only place of use is in pdo just right now.
Derick Rethans [Tue, 2 Mar 2004 16:12:25 +0000 (16:12 +0000)]
- Consistent naming
Pierre Joye [Tue, 2 Mar 2004 16:00:49 +0000 (16:00 +0000)]
- initial test for #27439, covers more cases we got during
foreach($this->foo as $bar) bug
Moriyoshi Koizumi [Tue, 2 Mar 2004 15:59:30 +0000 (15:59 +0000)]
- Really fix the build.
# Should be fixed now :|
Moriyoshi Koizumi [Tue, 2 Mar 2004 15:58:39 +0000 (15:58 +0000)]
- Revisit config.h for win32 build.
# apologies for messing.
Pierre Joye [Tue, 2 Mar 2004 15:57:41 +0000 (15:57 +0000)]
- include exception.inc not .php
Derick Rethans [Tue, 2 Mar 2004 13:12:44 +0000 (13:12 +0000)]
- Fixed yacc file
Edin Kadribasic [Tue, 2 Mar 2004 11:50:10 +0000 (11:50 +0000)]
Temporary fix for win32 build
Andi Gutmans [Tue, 2 Mar 2004 11:03:48 +0000 (11:03 +0000)]
- Fix leaks (although there might be still a problem here).
Andi Gutmans [Tue, 2 Mar 2004 10:13:43 +0000 (10:13 +0000)]
- Fix leak (Dmitry)
Derick Rethans [Tue, 2 Mar 2004 08:55:36 +0000 (08:55 +0000)]
- Added .cvsignore file
Andi Gutmans [Tue, 2 Mar 2004 08:28:12 +0000 (08:28 +0000)]
- Fix crash in:
<?php
class Foo {
public $attributes= array();
function export() {
foreach ($this->attributes as $name => $attr) {
}
}
}
$f= new Foo();
$f->export();
?>
Andi Gutmans [Tue, 2 Mar 2004 08:13:15 +0000 (08:13 +0000)]
- Improve fix for protecting destructor's from exceptions.
- I was killing the current exception completely which was wrong.
<changelog@php.net> [Tue, 2 Mar 2004 01:31:41 +0000 (01:31 +0000)]
ChangeLog update
Pierre Joye [Mon, 1 Mar 2004 20:44:11 +0000 (20:44 +0000)]
- excpetion.php => exception.inc (derick)
Pierre Joye [Mon, 1 Mar 2004 20:40:51 +0000 (20:40 +0000)]
- initial release, reflection tests suite
Moriyoshi Koizumi [Mon, 1 Mar 2004 20:25:33 +0000 (20:25 +0000)]
- Fix win32 build.
# Thanks Nuno Lopes & Derick for letting me know.
Andi Gutmans [Mon, 1 Mar 2004 19:45:07 +0000 (19:45 +0000)]
- Fix crash in destructors(). You can't throw an exception in destructors
as there is no guaranteed time when the destructor will be called.
Andi Gutmans [Mon, 1 Mar 2004 17:43:57 +0000 (17:43 +0000)]
- Fix leak
Andi Gutmans [Mon, 1 Mar 2004 15:19:38 +0000 (15:19 +0000)]
- Fix crash in reflection API (pierre)
Andi Gutmans [Mon, 1 Mar 2004 13:29:45 +0000 (13:29 +0000)]
- Fix crash in exception handling (zend_exception_error(...) and
zend_eval_string_ex() were buggy (Dmitry, Andi)
Rob Richards [Mon, 1 Mar 2004 12:43:34 +0000 (12:43 +0000)]
use php_libxml_import_node for transform functions
Derick Rethans [Mon, 1 Mar 2004 12:25:03 +0000 (12:25 +0000)]
- Typo fix (by Jan)
Rob Richards [Mon, 1 Mar 2004 12:09:24 +0000 (12:09 +0000)]
Fix bug #27436 dom_import_simplexml innaccurate
extensions register callbacks to export nodes
prevents segfault passing invalid objects to import functions
Moriyoshi Koizumi [Mon, 1 Mar 2004 10:46:58 +0000 (10:46 +0000)]
- Use past tense
Moriyoshi Koizumi [Mon, 1 Mar 2004 10:46:14 +0000 (10:46 +0000)]
- NFN
Moriyoshi Koizumi [Mon, 1 Mar 2004 10:44:22 +0000 (10:44 +0000)]
- Fix test.