]> granicus.if.org Git - php/log
php
21 years agotest for helly's mysqli_fetch_object changes
Georg Richter [Sat, 6 Sep 2003 19:40:53 +0000 (19:40 +0000)]
test for helly's mysqli_fetch_object changes

21 years agoModify mysqli_fetch_object() to be able to instantiate a selected class and
Marcus Boerger [Sat, 6 Sep 2003 19:34:48 +0000 (19:34 +0000)]
Modify mysqli_fetch_object() to be able to instantiate a selected class and
pass parameters to the constructor.

21 years agoModify pg_fetch_object() to be able to instantiate a selected class and pass
Marcus Boerger [Sat, 6 Sep 2003 18:34:55 +0000 (18:34 +0000)]
Modify pg_fetch_object() to be able to instantiate a selected class and pass
parameters to the constructor. Update tests and add a test for these features.

21 years agoCode cleanup:
Stefan Roehrich [Sat, 6 Sep 2003 15:31:35 +0000 (15:31 +0000)]
Code cleanup:
Fixed ob_gzhandler with register_long_arrays = On.
Unified compression_coding global var (removed ob_gzip_coding).
Switched to zend_parse_parameters().
Added some tests.

21 years agoBugfix #25404
Marcus Boerger [Sat, 6 Sep 2003 15:30:28 +0000 (15:30 +0000)]
Bugfix #25404

21 years agoAdd missing proto
Sara Golemon [Sat, 6 Sep 2003 14:56:36 +0000 (14:56 +0000)]
Add missing proto

21 years agohttp.h php_http,h rename
Sara Golemon [Sat, 6 Sep 2003 14:52:10 +0000 (14:52 +0000)]
http.h php_http,h rename

21 years agoDisallow to changing the backtrace
Marcus Boerger [Sat, 6 Sep 2003 14:06:40 +0000 (14:06 +0000)]
Disallow to changing the backtrace

21 years agoAdd missing newline if no static methods are available
Marcus Boerger [Sat, 6 Sep 2003 13:18:12 +0000 (13:18 +0000)]
Add missing newline if no static methods are available

21 years ago- Internal functions shall be static
Marcus Boerger [Sat, 6 Sep 2003 13:11:27 +0000 (13:11 +0000)]
- Internal functions shall be static
- Fix more nesting

21 years agorenamed http.h -> php_http.h
foobar [Sat, 6 Sep 2003 13:09:04 +0000 (13:09 +0000)]
renamed http.h -> php_http.h

21 years ago- Typos, CS, etc.
foobar [Sat, 6 Sep 2003 13:07:47 +0000 (13:07 +0000)]
- Typos, CS, etc.
# Sara, add the missing description to the proto..

21 years agoFix logic
Marcus Boerger [Sat, 6 Sep 2003 13:02:16 +0000 (13:02 +0000)]
Fix logic

21 years agorenamed http.h -> php_http.h
foobar [Sat, 6 Sep 2003 12:56:02 +0000 (12:56 +0000)]
renamed http.h -> php_http.h

21 years ago- Fix CS: {{{ / }}}
Marcus Boerger [Sat, 6 Sep 2003 12:52:40 +0000 (12:52 +0000)]
- Fix CS: {{{ / }}}
- Fix static reflection_*::export()
- Add class reflection_object which allows to show dynamic properties

21 years agoUse %s where it makes more sense
Marcus Boerger [Sat, 6 Sep 2003 10:59:07 +0000 (10:59 +0000)]
Use %s where it makes more sense

21 years agoAdd ext/standard/http.{c|h}.
Sebastian Bergmann [Sat, 6 Sep 2003 07:57:10 +0000 (07:57 +0000)]
Add ext/standard/http.{c|h}.

21 years agoFix Objects bug. (Objects != Arrays)
Sara Golemon [Sat, 6 Sep 2003 07:34:58 +0000 (07:34 +0000)]
Fix Objects bug.  (Objects != Arrays)

21 years agoFix segfault on uninitialized zval, skip NULL/Resource types, fix integer value handl...
Sara Golemon [Sat, 6 Sep 2003 06:57:40 +0000 (06:57 +0000)]
Fix segfault on uninitialized zval, skip NULL/Resource types, fix integer value handling, and process doubles/bools more efficiently.

21 years agoStandard Footer
Sara Golemon [Sat, 6 Sep 2003 05:41:48 +0000 (05:41 +0000)]
Standard Footer

21 years agoPrevent Recursion
Sara Golemon [Sat, 6 Sep 2003 05:41:36 +0000 (05:41 +0000)]
Prevent Recursion

21 years agomake error code helpful if no releases of a package exist at all
Greg Beaver [Sat, 6 Sep 2003 02:37:15 +0000 (02:37 +0000)]
make error code helpful if no releases of a package exist at all

21 years agomake error code helpful if no releases of a package in preferred-state exist
Greg Beaver [Sat, 6 Sep 2003 02:34:11 +0000 (02:34 +0000)]
make error code helpful if no releases of a package in preferred-state exist

21 years agoIntroducing php_url_encode_hash_ex() internal function
Sara Golemon [Sat, 6 Sep 2003 00:35:21 +0000 (00:35 +0000)]
Introducing php_url_encode_hash_ex() internal function
and http_build_query() userspace function.

21 years agoChangeLog update
<changelog@php.net> [Sat, 6 Sep 2003 00:31:23 +0000 (00:31 +0000)]
ChangeLog update

21 years agoOmitting is also possible here
Marcus Boerger [Fri, 5 Sep 2003 20:09:19 +0000 (20:09 +0000)]
Omitting is also possible here

21 years agoWS
Marcus Boerger [Fri, 5 Sep 2003 20:05:08 +0000 (20:05 +0000)]
WS

21 years agoFix warnings
Marcus Boerger [Fri, 5 Sep 2003 19:27:26 +0000 (19:27 +0000)]
Fix warnings

21 years agoAdd missing CVS Ids
Ard Biesheuvel [Fri, 5 Sep 2003 17:02:02 +0000 (17:02 +0000)]
Add missing CVS Ids

21 years agoSimplify reflection_property::__constructor() and fix property factory
Marcus Boerger [Fri, 5 Sep 2003 14:48:55 +0000 (14:48 +0000)]
Simplify reflection_property::__constructor() and fix property factory

21 years ago- Simple test for ming
foobar [Fri, 5 Sep 2003 14:46:38 +0000 (14:46 +0000)]
- Simple test for ming

21 years ago- Don't use resorved words as variable names.
Marcus Boerger [Fri, 5 Sep 2003 14:35:31 +0000 (14:35 +0000)]
- Don't use resorved words as variable names.
- Improve several exception messages.
- Fix Reflection_Property::_construct() / getDeclaringClass()
# The above does not imply that properties are fixed when returned
# by other reflection api methods.

21 years agoBe more relaxed about dimensions of array arguments
Ard Biesheuvel [Fri, 5 Sep 2003 14:21:25 +0000 (14:21 +0000)]
Be more relaxed about dimensions of array arguments

21 years agogrouped DBX stuff
foobar [Fri, 5 Sep 2003 13:34:21 +0000 (13:34 +0000)]
grouped DBX stuff

21 years agoTest array handling
Ard Biesheuvel [Fri, 5 Sep 2003 13:08:41 +0000 (13:08 +0000)]
Test array handling

21 years agoMake the test fail if anything goes wrong :-)
Ard Biesheuvel [Fri, 5 Sep 2003 12:18:03 +0000 (12:18 +0000)]
Make the test fail if anything goes wrong :-)
Some CS

21 years agoAdded updates to dbx module to NEWS by hand as @ doesn't work
Marc Boeren [Fri, 5 Sep 2003 12:14:57 +0000 (12:14 +0000)]
Added updates to dbx module to NEWS by hand as @ doesn't work
according to Jani (since when is this?).

21 years agoFix reflection_api::__construct() (noticed by Andrey)
Marcus Boerger [Fri, 5 Sep 2003 12:14:03 +0000 (12:14 +0000)]
Fix reflection_api::__construct() (noticed by Andrey)

21 years agoProvide string casting for exceptions by calling toString()
Marcus Boerger [Fri, 5 Sep 2003 11:40:30 +0000 (11:40 +0000)]
Provide string casting for exceptions by calling toString()

21 years agoAdded DBX_RESULT_UNBUFFERED flag for dbx_query.
Marc Boeren [Fri, 5 Sep 2003 08:39:26 +0000 (08:39 +0000)]
Added DBX_RESULT_UNBUFFERED flag for dbx_query.
Added dbx_fetch_row() function.
Added/updated tests for both.
@Added DBX_RESULT_UNBUFFERED flag for dbx_query. (Marc)
@Added dbx_fetch_row() function. (Marc)

21 years agoChangeLog update
<changelog@php.net> [Fri, 5 Sep 2003 00:32:09 +0000 (00:32 +0000)]
ChangeLog update

21 years agoAdded support for binding arrays
Ard Biesheuvel [Thu, 4 Sep 2003 22:37:14 +0000 (22:37 +0000)]
Added support for binding arrays

21 years agoremove debug code
Greg Beaver [Thu, 4 Sep 2003 22:30:07 +0000 (22:30 +0000)]
remove debug code

21 years agofix bug in --force - $options was never passed to _installFile.
Greg Beaver [Thu, 4 Sep 2003 22:29:21 +0000 (22:29 +0000)]
fix bug in --force - $options was never passed to _installFile.
add PHPDoc

21 years agofix bug in --force on windows
Greg Beaver [Thu, 4 Sep 2003 22:21:33 +0000 (22:21 +0000)]
fix bug in --force on windows

21 years agoDon't rely on sizeof(int) == 4
Ard Biesheuvel [Thu, 4 Sep 2003 21:10:03 +0000 (21:10 +0000)]
Don't rely on sizeof(int) == 4

21 years agoTests show updating consts must happen once at runtime (revert optimization).
Marcus Boerger [Thu, 4 Sep 2003 16:00:01 +0000 (16:00 +0000)]
Tests show updating consts must happen once at runtime (revert optimization).
Add tests for static properties.

21 years agoAdd reflection_class::getstaticproerties()
Marcus Boerger [Thu, 4 Sep 2003 15:57:25 +0000 (15:57 +0000)]
Add reflection_class::getstaticproerties()

21 years agoGo with the mess
Marcus Boerger [Thu, 4 Sep 2003 14:54:53 +0000 (14:54 +0000)]
Go with the mess

21 years agoGo with stdlyCaps
Marcus Boerger [Thu, 4 Sep 2003 14:44:55 +0000 (14:44 +0000)]
Go with stdlyCaps

21 years agoDon't rely on sizeof(int) == 4
Ard Biesheuvel [Thu, 4 Sep 2003 14:44:34 +0000 (14:44 +0000)]
Don't rely on sizeof(int) == 4

21 years agoRemove unwanted space
Marcus Boerger [Thu, 4 Sep 2003 14:43:36 +0000 (14:43 +0000)]
Remove unwanted space

21 years agoUpdate necessary test INIs
Marcus Boerger [Thu, 4 Sep 2003 14:41:10 +0000 (14:41 +0000)]
Update necessary test INIs

21 years agoFix inter-op with IB < 6
Ard Biesheuvel [Thu, 4 Sep 2003 14:18:39 +0000 (14:18 +0000)]
Fix inter-op with IB < 6
Fixes for 64-bit archs

21 years agoFixed fetching of arrays
Ard Biesheuvel [Thu, 4 Sep 2003 11:09:46 +0000 (11:09 +0000)]
Fixed fetching of arrays
# Untested for multidimensional arrays

21 years agoRegister the TYPEMODEL constant from c-client's mail.h.
Jon Parise [Thu, 4 Sep 2003 07:47:58 +0000 (07:47 +0000)]
Register the TYPEMODEL constant from c-client's mail.h.

21 years agoNo scaling for double type
Ard Biesheuvel [Thu, 4 Sep 2003 01:26:36 +0000 (01:26 +0000)]
No scaling for double type
Added missing array types
Precompute scale factors

21 years agoChangeLog update
<changelog@php.net> [Thu, 4 Sep 2003 00:32:10 +0000 (00:32 +0000)]
ChangeLog update

21 years agoCleanup after ourselves.
foobar [Wed, 3 Sep 2003 22:53:21 +0000 (22:53 +0000)]
Cleanup after ourselves.

21 years agoPartly revert and reintroduce hash table entries for the ctor.
Marcus Boerger [Wed, 3 Sep 2003 21:21:18 +0000 (21:21 +0000)]
Partly revert and reintroduce hash table entries for the ctor.
# Obviously not the brightest idea i had today.

21 years agoFix test
Marcus Boerger [Wed, 3 Sep 2003 21:19:22 +0000 (21:19 +0000)]
Fix test

21 years agoNuke unused variable, too
Marcus Boerger [Wed, 3 Sep 2003 20:28:13 +0000 (20:28 +0000)]
Nuke unused variable, too

21 years ago- Inheritance applies to __clone() too.
Marcus Boerger [Wed, 3 Sep 2003 20:26:01 +0000 (20:26 +0000)]
- Inheritance applies to __clone() too.
- No need to add additional functions for the constructor.
  The handler uses the pointer as intended and doesn't look the the name.

21 years agoCannot turn a static property into a non static one and vice versa
Marcus Boerger [Wed, 3 Sep 2003 19:28:46 +0000 (19:28 +0000)]
Cannot turn a static property into a non static one and vice versa

21 years agoZTS fix.
Sebastian Bergmann [Wed, 3 Sep 2003 18:13:11 +0000 (18:13 +0000)]
ZTS fix.

21 years agoFix handling of static properties initialized to arrays
Marcus Boerger [Wed, 3 Sep 2003 18:01:22 +0000 (18:01 +0000)]
Fix handling of static properties initialized to arrays

21 years agoWS
Ard Biesheuvel [Wed, 3 Sep 2003 17:15:40 +0000 (17:15 +0000)]
WS

21 years agotest for bug #25378
foobar [Wed, 3 Sep 2003 16:40:52 +0000 (16:40 +0000)]
test for bug #25378

21 years agoAdd missing error messages when violating static property inheritance rules.
Marcus Boerger [Wed, 3 Sep 2003 16:34:35 +0000 (16:34 +0000)]
Add missing error messages when violating static property inheritance rules.

21 years agosync
foobar [Wed, 3 Sep 2003 16:24:24 +0000 (16:24 +0000)]
sync

21 years ago- Fixed bug #25378 (Invalid data passed to unserialize() causes segfault)
foobar [Wed, 3 Sep 2003 16:24:15 +0000 (16:24 +0000)]
- Fixed bug #25378 (Invalid data passed to unserialize() causes segfault)

21 years agoFix static properties.
Marcus Boerger [Wed, 3 Sep 2003 16:13:40 +0000 (16:13 +0000)]
Fix static properties.
#
# There's only an errormessage missing which i'll wommit as soon as i find out
# how to do it best. But besides that damn message everything works now and all
# inheritance rules apply.
#

21 years agoTest correct binding of 16-bit NUMERIC parameters
Ard Biesheuvel [Wed, 3 Sep 2003 15:24:50 +0000 (15:24 +0000)]
Test correct binding of 16-bit NUMERIC parameters

21 years agoFix binding of 16-bit NUMERIC parameters
Ard Biesheuvel [Wed, 3 Sep 2003 15:15:30 +0000 (15:15 +0000)]
Fix binding of 16-bit NUMERIC parameters

21 years ago- Fixed bug #25372 (sscanf() does not work with %X)
foobar [Wed, 3 Sep 2003 11:54:35 +0000 (11:54 +0000)]
- Fixed bug #25372 (sscanf() does not work with %X)

21 years agoAllow redeclareing a protected property as public.
Marcus Boerger [Wed, 3 Sep 2003 10:58:55 +0000 (10:58 +0000)]
Allow redeclareing a protected property as public.
#
# The only known thing left at this moment is that the protected static members
# of a base class is different then the redeclared public property. I tried
# to remove both new and old static properties in the derived class and copy
# the base property with the new name. But for reasons i have to check later
# that didn't result in the expected behavior. Anyway we would need a warning
# if someone tries to change the value of a static property in a derived class.
#

21 years agochanges to php_dom.h for last commit
Rob Richards [Wed, 3 Sep 2003 10:48:02 +0000 (10:48 +0000)]
changes to php_dom.h for last commit
replaced removed closing tags - doh

21 years agoadd document HTML load/save methods
Rob Richards [Wed, 3 Sep 2003 10:11:53 +0000 (10:11 +0000)]
add document HTML load/save methods
add document standalone validate method
cleanup some prototype declarations
domexception inherits from default exception

21 years agoRevert bogus patch
Zeev Suraski [Wed, 3 Sep 2003 08:39:43 +0000 (08:39 +0000)]
Revert bogus patch
One must *never* use E_CORE_* error levels!

21 years agoUpdate documentation, -b ip:port works
Sascha Schumann [Wed, 3 Sep 2003 08:24:37 +0000 (08:24 +0000)]
Update documentation, -b ip:port works

21 years agofix heuristic: if someone passed "-b IP:port", this check would
Sascha Schumann [Wed, 3 Sep 2003 08:15:09 +0000 (08:15 +0000)]
fix heuristic: if someone passed "-b IP:port", this check would
falsely recognize the parameter as defining only a port.

21 years agocentralize cflags
Sascha Schumann [Wed, 3 Sep 2003 08:08:12 +0000 (08:08 +0000)]
centralize cflags

21 years agoClearly distinguish between Const, Static and Other members.
Marcus Boerger [Wed, 3 Sep 2003 00:38:13 +0000 (00:38 +0000)]
Clearly distinguish between Const, Static and Other members.
# Const and static props have more in common then static and dynamic/implicit.

21 years agoChangeLog update
<changelog@php.net> [Wed, 3 Sep 2003 00:31:52 +0000 (00:31 +0000)]
ChangeLog update

21 years agoFix error messages
Marcus Boerger [Tue, 2 Sep 2003 23:12:37 +0000 (23:12 +0000)]
Fix error messages

21 years agoNuke far pointers
Ard Biesheuvel [Tue, 2 Sep 2003 22:37:26 +0000 (22:37 +0000)]
Nuke far pointers
# Unfortunately, this does break compatibility with Windows 3.x :-)

21 years agoCS fixes
Ard Biesheuvel [Tue, 2 Sep 2003 22:19:18 +0000 (22:19 +0000)]
CS fixes
# Boy, these guys are worse than -ansi -pedantic

21 years agoAdd a shortcut
Marcus Boerger [Tue, 2 Sep 2003 21:41:01 +0000 (21:41 +0000)]
Add a shortcut

21 years agoAllow redeclaring of protected properties as public (for internal classes).
Marcus Boerger [Tue, 2 Sep 2003 20:49:42 +0000 (20:49 +0000)]
Allow redeclaring of protected properties as public (for internal classes).
# See http://news.php.net/article.php?group=php.zend-engine.cvs&article=1737
# for the part not fixed (e.g. property redeclaration of userland classes)

21 years agoenable re2c check for self-contained extensions
Sascha Schumann [Tue, 2 Sep 2003 19:42:17 +0000 (19:42 +0000)]
enable re2c check for self-contained extensions

21 years agoprovide RE2C to external extensions
Sascha Schumann [Tue, 2 Sep 2003 19:34:27 +0000 (19:34 +0000)]
provide RE2C to external extensions

21 years agoMake ibase_{param|field}_info() return typenames that actually mean something
Ard Biesheuvel [Tue, 2 Sep 2003 19:30:20 +0000 (19:30 +0000)]
Make ibase_{param|field}_info() return typenames that actually mean something

21 years agoUse appropriate function for property name unmangling.
Marcus Boerger [Tue, 2 Sep 2003 14:46:02 +0000 (14:46 +0000)]
Use appropriate function for property name unmangling.
# Make Andrey happy

21 years agoMake these static as noticed by Andrey
Marcus Boerger [Tue, 2 Sep 2003 14:11:53 +0000 (14:11 +0000)]
Make these static as noticed by Andrey

21 years agoSynch/Unify error messages related to function/method calls
Marcus Boerger [Tue, 2 Sep 2003 14:08:59 +0000 (14:08 +0000)]
Synch/Unify error messages related to function/method calls

21 years agoFix use of EXTERN_C macros
Ard Biesheuvel [Tue, 2 Sep 2003 13:34:23 +0000 (13:34 +0000)]
Fix use of EXTERN_C macros

21 years agoFix error level
Marcus Boerger [Tue, 2 Sep 2003 13:28:34 +0000 (13:28 +0000)]
Fix error level

21 years agoCurrently we cannot support static ctor/dtor
Marcus Boerger [Tue, 2 Sep 2003 13:26:25 +0000 (13:26 +0000)]
Currently we cannot support static ctor/dtor

21 years agoCan't ignore variadic DEBUG macro for compilers
Ard Biesheuvel [Tue, 2 Sep 2003 13:17:56 +0000 (13:17 +0000)]
Can't ignore variadic DEBUG macro for compilers
that don't support them. Revert.

21 years agoThese are implicit properties as denoted by the flag. Dynamic properties only
Marcus Boerger [Tue, 2 Sep 2003 13:12:47 +0000 (13:12 +0000)]
These are implicit properties as denoted by the flag. Dynamic properties only
exist in one single object and currently reflection api is not capable of
showing those.