]> granicus.if.org Git - php/log
php
21 years agoadd a note, and implement this properly later
Sterling Hughes [Sun, 25 May 2003 22:03:47 +0000 (22:03 +0000)]
add a note, and implement this properly later

21 years agouse proper types
Sterling Hughes [Sun, 25 May 2003 21:58:09 +0000 (21:58 +0000)]
use proper types

21 years agoremove compiler warnings
Sterling Hughes [Sun, 25 May 2003 21:50:30 +0000 (21:50 +0000)]
remove compiler warnings

21 years agoFixed bug #23788 (str|preg_replace clober the array elements).
Ilia Alshanetsky [Sun, 25 May 2003 21:48:57 +0000 (21:48 +0000)]
Fixed bug #23788 (str|preg_replace clober the array elements).

# Should this be MFBed to 4.3 branch?

21 years agoadd/fix assignments for both nodes and attributes
Sterling Hughes [Sun, 25 May 2003 21:44:54 +0000 (21:44 +0000)]
add/fix assignments for both nodes and attributes
add a working get_property_ptr construct

21 years agoAdd a testcase to foreach/break
Marcus Boerger [Sun, 25 May 2003 19:24:29 +0000 (19:24 +0000)]
Add a testcase to foreach/break

21 years agoMake foreach on spl'ed objects work with break, too
Marcus Boerger [Sun, 25 May 2003 19:10:44 +0000 (19:10 +0000)]
Make foreach on spl'ed objects work with break, too

21 years agoSpeling
Marcus Boerger [Sun, 25 May 2003 12:10:48 +0000 (12:10 +0000)]
Speling

21 years agoHopefully get correct display of version information.
Sebastian Bergmann [Sun, 25 May 2003 07:23:41 +0000 (07:23 +0000)]
Hopefully get correct display of version information.

21 years agoLeftover.
Sebastian Bergmann [Sun, 25 May 2003 06:22:35 +0000 (06:22 +0000)]
Leftover.

21 years agoOptimizations
Marcus Boerger [Sun, 25 May 2003 01:36:50 +0000 (01:36 +0000)]
Optimizations

21 years agoChangeLog update
<changelog@php.net> [Sun, 25 May 2003 00:30:58 +0000 (00:30 +0000)]
ChangeLog update

21 years agoexploit the not yet committed, not yet shown cast_object() object callback.
Sterling Hughes [Sun, 25 May 2003 00:05:30 +0000 (00:05 +0000)]
exploit the not yet committed, not yet shown cast_object() object callback.

this makes simplexml the mostest bestest xml extension in the whole wide
world.

21 years agoOptimizing by caching class entries, too.
Marcus Boerger [Sat, 24 May 2003 21:02:33 +0000 (21:02 +0000)]
Optimizing by caching class entries, too.

# The comment block inside ZEND_EXECUTE_HOOK_FUNCTION(ZEND_FE_FETCH)
# is a tricky way to create result = array(key => value) very fast.
# But it is close to overoptimizing.

21 years agoUpdate after fix
Marcus Boerger [Sat, 24 May 2003 17:12:58 +0000 (17:12 +0000)]
Update after fix

21 years agoAdd new test
Marcus Boerger [Sat, 24 May 2003 17:10:34 +0000 (17:10 +0000)]
Add new test

21 years agoFix namespace related problems
Marcus Boerger [Sat, 24 May 2003 17:10:03 +0000 (17:10 +0000)]
Fix namespace related problems

21 years agofix error resulting from strlen() -> sizeof() change in engine macros
Marcus Boerger [Sat, 24 May 2003 15:51:24 +0000 (15:51 +0000)]
fix error resulting from strlen() -> sizeof() change in engine macros

21 years agoFixes and optimizations
Marcus Boerger [Sat, 24 May 2003 13:47:49 +0000 (13:47 +0000)]
Fixes and optimizations

21 years agoFix speling found by Allowee <php@allowee.no-ip.com>
Marcus Boerger [Sat, 24 May 2003 12:00:03 +0000 (12:00 +0000)]
Fix speling found by Allowee <php@allowee.no-ip.com>

21 years agoGet rid of references to expat in MSVC project files. For now this expects libxml2...
Sebastian Bergmann [Sat, 24 May 2003 08:03:38 +0000 (08:03 +0000)]
Get rid of references to expat in MSVC project files. For now this expects libxml2 (library and includes) in one of the MSVC default include/library directories. Right now it doesn't link, dunno why -- working on it.

21 years agoChangeLog update
<changelog@php.net> [Sat, 24 May 2003 00:30:49 +0000 (00:30 +0000)]
ChangeLog update

21 years agoAdded test case for bug #17115
Moriyoshi Koizumi [Fri, 23 May 2003 23:27:24 +0000 (23:27 +0000)]
Added test case for bug #17115

21 years agoJani will learn me about NEWS entries yet.
Sara Golemon [Fri, 23 May 2003 22:58:25 +0000 (22:58 +0000)]
Jani will learn me about NEWS entries yet.

21 years agothis fix will be in 4.3.2..
foobar [Fri, 23 May 2003 22:41:38 +0000 (22:41 +0000)]
this fix will be in 4.3.2..

21 years agoExecuting tests once is enough
Marcus Boerger [Fri, 23 May 2003 22:35:15 +0000 (22:35 +0000)]
Executing tests once is enough

21 years agoAllow writing a list of failed tests.
Marcus Boerger [Fri, 23 May 2003 22:01:38 +0000 (22:01 +0000)]
Allow writing a list of failed tests.

# use php run-tests.php -h for more.

21 years agoBFN 23765
Sara Golemon [Fri, 23 May 2003 21:42:03 +0000 (21:42 +0000)]
BFN 23765

21 years agoMFB(r-1.122.2.10)
Sara Golemon [Fri, 23 May 2003 21:40:45 +0000 (21:40 +0000)]
MFB(r-1.122.2.10)
Bug#23765 File upload handler should not care about case sensitivity of header values.

21 years agoMake this a warning
Marcus Boerger [Fri, 23 May 2003 20:51:49 +0000 (20:51 +0000)]
Make this a warning

21 years agoAdd warning level for tests.
Marcus Boerger [Fri, 23 May 2003 20:51:09 +0000 (20:51 +0000)]
Add warning level for tests.

# You set a test to warning by return "warn <description>" from
# the --SKIPIF-- section. But this only works when you supply
# a reason why it is only a warning.
# Warnings are not called for FAILed tests of corse and hence a
# test result with not FAIL but SKIP/PASS/WARN results is mailed
# as a PASS.

21 years agoRevert to sizeof()
Marcus Boerger [Fri, 23 May 2003 18:37:36 +0000 (18:37 +0000)]
Revert to sizeof()

21 years agomove HANDLE_NUMERIC() from the hash table implementation upstream to the
Sterling Hughes [Fri, 23 May 2003 15:11:15 +0000 (15:11 +0000)]
move HANDLE_NUMERIC() from the hash table implementation upstream to the
places that actually need to use it.

21 years ago- Update codinf standards with the posted RFC (results from PEAR Meeting)
Derick Rethans [Fri, 23 May 2003 10:38:43 +0000 (10:38 +0000)]
- Update codinf standards with the posted RFC (results from PEAR Meeting)

21 years agoFixed bug #23759 (PHP doesn't preserve subrequest status).
Ilia Alshanetsky [Fri, 23 May 2003 02:41:59 +0000 (02:41 +0000)]
Fixed bug #23759 (PHP doesn't preserve subrequest status).
(jaboydjr.netwalk@com, Ilia)

21 years agoChangeLog update
<changelog@php.net> [Fri, 23 May 2003 00:30:53 +0000 (00:30 +0000)]
ChangeLog update

21 years agoadded another test case (due to the problems we saw with 4.3.2RC4)
foobar [Thu, 22 May 2003 23:59:37 +0000 (23:59 +0000)]
added another test case (due to the problems we saw with 4.3.2RC4)

21 years agoNo need to copy here unless implicit_clone is active (noticed by rob)
Marcus Boerger [Thu, 22 May 2003 19:13:20 +0000 (19:13 +0000)]
No need to copy here unless implicit_clone is active (noticed by rob)

21 years ago- Fixed bug #23751: Confusing configure warning concerning required cURL
Derick Rethans [Thu, 22 May 2003 13:08:49 +0000 (13:08 +0000)]
- Fixed bug #23751: Confusing configure warning concerning required cURL
  version

21 years agorename namespace to use_namespace to avoid a c++ keyword conflict
Sterling Hughes [Thu, 22 May 2003 03:29:05 +0000 (03:29 +0000)]
rename namespace to use_namespace to avoid a c++ keyword conflict
fix whitespace surrounding the enums, use tabs please :)

21 years agouse zval_ptr_dtor() instead of the more verbose and less correct version
Sterling Hughes [Thu, 22 May 2003 03:08:48 +0000 (03:08 +0000)]
use zval_ptr_dtor() instead of the more verbose and less correct version

21 years agotake advantage of the fast_call_user_function() api call for all of the
Sterling Hughes [Thu, 22 May 2003 03:04:11 +0000 (03:04 +0000)]
take advantage of the fast_call_user_function() api call for all of the
callbacks.

21 years ago--force here too for release packages
Wez Furlong [Thu, 22 May 2003 00:31:31 +0000 (00:31 +0000)]
--force here too for release packages

21 years agoChangeLog update
<changelog@php.net> [Thu, 22 May 2003 00:30:45 +0000 (00:30 +0000)]
ChangeLog update

21 years agomove all the other callbacks
Sterling Hughes [Wed, 21 May 2003 23:27:12 +0000 (23:27 +0000)]
move all the other callbacks

21 years agoswitch over to using fast_call_user_function() with the callbacks
Sterling Hughes [Wed, 21 May 2003 23:15:28 +0000 (23:15 +0000)]
switch over to using fast_call_user_function() with the callbacks

21 years agoFix segfault in pspell_new_config(). Also fix grammar
Jay Smith [Wed, 21 May 2003 23:04:18 +0000 (23:04 +0000)]
Fix segfault in pspell_new_config(). Also fix grammar
in error messages.

21 years agoMake use optimized string lowering
Marcus Boerger [Wed, 21 May 2003 22:57:51 +0000 (22:57 +0000)]
Make use optimized string lowering

21 years agoMFB
Ilia Alshanetsky [Wed, 21 May 2003 22:56:59 +0000 (22:56 +0000)]
MFB

21 years agoUse same parameter order as strcpy()
Marcus Boerger [Wed, 21 May 2003 22:36:09 +0000 (22:36 +0000)]
Use same parameter order as strcpy()

21 years agoFixed bug #23738 (ifx_copy_blob() crash). (Jani)
foobar [Wed, 21 May 2003 22:20:07 +0000 (22:20 +0000)]
Fixed bug #23738 (ifx_copy_blob() crash). (Jani)

21 years agoMake zend_str_tolower_copy() a copy function (like stccpy).
Marcus Boerger [Wed, 21 May 2003 21:59:40 +0000 (21:59 +0000)]
Make zend_str_tolower_copy() a copy function (like stccpy).
Supply a dup version (like estrdup).
Fix tolower() handling.
# Havin copy and dup allows to use the faster version even with
# memory not allocated by emalloc.

21 years agostyle polizei
foobar [Wed, 21 May 2003 21:50:20 +0000 (21:50 +0000)]
style polizei

21 years agoFixed bug #23619 (set_error_handler() registered handler not called for object instan...
foobar [Wed, 21 May 2003 21:42:25 +0000 (21:42 +0000)]
Fixed bug #23619 (set_error_handler() registered handler not called for object instances). (Jani, waboring@qualys.com)

21 years agoSetup FG(default_context) in RINIT/RSHUTDOWN instead of fg_ctor/fg_dtor.
Sara Golemon [Wed, 21 May 2003 21:36:51 +0000 (21:36 +0000)]
Setup FG(default_context) in RINIT/RSHUTDOWN instead of fg_ctor/fg_dtor.
Frees context at right time without double freeing.

21 years agosimplexml property modification works now
Sterling Hughes [Wed, 21 May 2003 20:39:01 +0000 (20:39 +0000)]
simplexml property modification works now

21 years ago- Fixed example
Derick Rethans [Wed, 21 May 2003 20:16:04 +0000 (20:16 +0000)]
- Fixed example

21 years agofoodle
Sterling Hughes [Wed, 21 May 2003 20:15:05 +0000 (20:15 +0000)]
foodle

21 years agooptimize loops. The check only exists for integers because that's the more
Sterling Hughes [Wed, 21 May 2003 18:46:34 +0000 (18:46 +0000)]
optimize loops.  The check only exists for integers because that's the more
common optimization, and you actually lose performance if you check for
a double too (wierd but true).

21 years ago-Fix notice
Derick Rethans [Wed, 21 May 2003 18:41:28 +0000 (18:41 +0000)]
-Fix notice

21 years agoadd some logic to detect zend_mm, which is really only useful when thread
Sterling Hughes [Wed, 21 May 2003 17:54:57 +0000 (17:54 +0000)]
add some logic to detect zend_mm, which is really only useful when thread
safety support is enabled.

21 years agoseems there is only the stupid way to be stupid (implode copying array
Sterling Hughes [Wed, 21 May 2003 17:44:08 +0000 (17:44 +0000)]
seems there is only the stupid way to be stupid (implode copying array
elements)
at least we check for IS_STRING, which should clear this up 90% of the time

21 years agobe stupid, but at least be smart about being stupid.
Sterling Hughes [Wed, 21 May 2003 17:38:17 +0000 (17:38 +0000)]
be stupid, but at least be smart about being stupid.

21 years agoAdded missing open_basedir & safe_mode checks
Ilia Alshanetsky [Wed, 21 May 2003 17:04:08 +0000 (17:04 +0000)]
Added missing open_basedir & safe_mode checks

21 years agoRemove bogus commit here too
Rasmus Lerdorf [Wed, 21 May 2003 17:02:40 +0000 (17:02 +0000)]
Remove bogus commit here too

21 years agomake brian happy
Sterling Hughes [Wed, 21 May 2003 16:52:09 +0000 (16:52 +0000)]
make brian happy

21 years agoob_gzhandler and zlib.output_compression should send a Content-Length
Sander Roobol [Wed, 21 May 2003 16:05:03 +0000 (16:05 +0000)]
ob_gzhandler and zlib.output_compression should send a Content-Length
header if the length of the complete compressed  output is known
# MFH follows in a few minutes, please wait with the release :)

21 years agoilia's request is my command
Sterling Hughes [Wed, 21 May 2003 15:47:01 +0000 (15:47 +0000)]
ilia's request is my command

21 years agoNEWS update
<changelog@php.net> [Wed, 21 May 2003 15:46:38 +0000 (15:46 +0000)]
NEWS update

21 years agoChangeLog update
<changelog@php.net> [Wed, 21 May 2003 15:46:35 +0000 (15:46 +0000)]
ChangeLog update

21 years agoadd an example of modifying the XML tree
Sterling Hughes [Wed, 21 May 2003 14:06:00 +0000 (14:06 +0000)]
add an example of modifying the XML tree

21 years agoMFB context refcounting and text-mode fopen fixes
Wez Furlong [Wed, 21 May 2003 13:33:55 +0000 (13:33 +0000)]
MFB context refcounting and text-mode fopen fixes

21 years agoleave this off until its more ready/stable
Sterling Hughes [Wed, 21 May 2003 12:22:24 +0000 (12:22 +0000)]
leave this off until its more ready/stable
php5 actually beats php4.3.* in my benchmarks now

# make sure to recompile zend_alloc.c

21 years agouse zend_str_tolower_copy()
Sterling Hughes [Wed, 21 May 2003 12:15:33 +0000 (12:15 +0000)]
use zend_str_tolower_copy()

21 years agoBottom drawer optimization to avoid this comparison, but this OP is executed
Sterling Hughes [Wed, 21 May 2003 11:48:55 +0000 (11:48 +0000)]
Bottom drawer optimization to avoid this comparison, but this OP is executed
quite often (all of the fetch_* ops)

21 years agoMYSQL_NEED_DATA isn't defined anymore in mysql.h
Georg Richter [Wed, 21 May 2003 08:47:27 +0000 (08:47 +0000)]
MYSQL_NEED_DATA isn't defined anymore in mysql.h

21 years agoThis depends on libc and CPU used
Marcus Boerger [Wed, 21 May 2003 07:23:45 +0000 (07:23 +0000)]
This depends on libc and CPU used

21 years agoImplement default contexts. For the moment this is useless
Sara Golemon [Wed, 21 May 2003 04:04:50 +0000 (04:04 +0000)]
Implement default contexts. For the moment this is useless
but it will be used soon for connection pooling.

21 years agoAdded missing safe_mode checks and corrected a typo in stdout check.
Ilia Alshanetsky [Wed, 21 May 2003 00:57:34 +0000 (00:57 +0000)]
Added missing safe_mode checks and corrected a typo in stdout check.

21 years agoFix build
Marcus Boerger [Wed, 21 May 2003 00:14:16 +0000 (00:14 +0000)]
Fix build

21 years agoFix for bug 23402. Crash when mssql?bind was used incorrectly
Frank M. Kromann [Wed, 21 May 2003 00:08:10 +0000 (00:08 +0000)]
Fix for bug 23402. Crash when mssql?bind was used incorrectly

21 years agobah humbug, use the pointer based version, which turns out to be an instruction
Sterling Hughes [Tue, 20 May 2003 22:31:15 +0000 (22:31 +0000)]
bah humbug, use the pointer based version, which turns out to be an instruction
faster

21 years agoFix test (ssen by Dan Torop)
Marcus Boerger [Tue, 20 May 2003 22:28:10 +0000 (22:28 +0000)]
Fix test (ssen by Dan Torop)

21 years agouse pointer arithmetic for the normal zend_str_tolower()
Sterling Hughes [Tue, 20 May 2003 20:39:58 +0000 (20:39 +0000)]
use pointer arithmetic for the normal zend_str_tolower()

21 years agoNo need to copy the zval unless __clone() is called
Marcus Boerger [Tue, 20 May 2003 20:20:57 +0000 (20:20 +0000)]
No need to copy the zval unless __clone() is called

21 years agomake this faster and sexier
Sterling Hughes [Tue, 20 May 2003 19:09:33 +0000 (19:09 +0000)]
make this faster and sexier

21 years agouse the new zend_str_tolower_copy() function
Sterling Hughes [Tue, 20 May 2003 18:44:24 +0000 (18:44 +0000)]
use the new zend_str_tolower_copy() function

21 years agodoesn't need to be register
Sterling Hughes [Tue, 20 May 2003 18:42:09 +0000 (18:42 +0000)]
doesn't need to be register

21 years agooptimize the lookups by avoiding a copy and then another pass
Sterling Hughes [Tue, 20 May 2003 18:28:14 +0000 (18:28 +0000)]
optimize the lookups by avoiding a copy and then another pass

Naked Dancing Girls should be given to: Myself, Zeev, Marcus,
and George Schlossnagle (in no particular order)

21 years agoinitialize these to NULL
Sterling Hughes [Tue, 20 May 2003 18:18:56 +0000 (18:18 +0000)]
initialize these to NULL

21 years agoPut some guards in place.
Andrei Zmievski [Tue, 20 May 2003 18:11:09 +0000 (18:11 +0000)]
Put some guards in place.

21 years agoMake get_browser() try harder to find better matches.
Jay Smith [Tue, 20 May 2003 17:59:16 +0000 (17:59 +0000)]
Make get_browser() try harder to find better matches.

21 years agoAdding imap_getacl, patch provided by Holger Burbach
Dan Kalowsky [Tue, 20 May 2003 17:37:53 +0000 (17:37 +0000)]
Adding imap_getacl, patch provided by Holger Burbach
(holger.burbach@gonicus.de)
@  Adding imap_getacl functionality.  Function provided by Holger Burbach

21 years agoconvert array functions to use fast_call_user_function(), gives a nice
Sterling Hughes [Tue, 20 May 2003 16:46:53 +0000 (16:46 +0000)]
convert array functions to use fast_call_user_function(), gives a nice
performance win.

21 years agoadd fast_call_user_function()
Sterling Hughes [Tue, 20 May 2003 16:44:42 +0000 (16:44 +0000)]
add fast_call_user_function()

21 years agoNIL, NULL, same thing, but changing for consistency sake
Dan Kalowsky [Tue, 20 May 2003 16:34:04 +0000 (16:34 +0000)]
NIL, NULL, same thing, but changing for consistency sake

21 years agodoing the trick like in extension_parser.php
Hartmut Holzgraefe [Tue, 20 May 2003 14:02:12 +0000 (14:02 +0000)]
doing the trick like in extension_parser.php

21 years agoProperly map mcve_text_code to MCVE_TEXT_Code instead of MCVE_TEXT_AVS.
Brad House [Tue, 20 May 2003 13:59:04 +0000 (13:59 +0000)]
Properly map mcve_text_code to MCVE_TEXT_Code instead of MCVE_TEXT_AVS.
Properly cast MCVE_TTID.
Correct DVAL arguments to MCVE_Gut and MCVE_Gl.

21 years ago- experimental streams support
Hartmut Holzgraefe [Tue, 20 May 2003 13:51:29 +0000 (13:51 +0000)]
- experimental streams support
- more file types: conf and doc
- requirements/install/configure documentation in configure.xml
- auto-generated PEAR/PECL package.xml files
- auto-generated CREDITS file
- auto-generated EXPERIMENTAL file if release state != stable
- beginning support for test file generation

21 years agoexample for "stream" as parameter and return type
Hartmut Holzgraefe [Tue, 20 May 2003 13:47:31 +0000 (13:47 +0000)]
example for "stream" as parameter and return type