Ausstehende Aufgaben

Element xmlrpc_client::_try_multicall ($msgs, $timeout, $method)
test this code branch...

Element xmlrpc_client::_try_multicall ($msgs, $timeout, $method)
remove usage of @: it is apparently quite slow

Element xmlrpc_client::sendPayloadCURL ($msg, $server, $port, $timeout=0, $username='', $password='', $authtype=1, $cert='', $certpass='', $cacert='', $cacertdir='', $proxyhost='', $proxyport=0, $proxyusername='', $proxypassword='', $proxyauthtype=1, $method='https', $keepalive=false, $key='', $keypass='')
we should use a better check here - what if we get back '' or '0'?

Element xmlrpc_client::setCookie ($name, $value='', $path='', $domain='', $port=null)
check correctness of urlencoding cookie value (copied from php way of doing it...)

Element xmlrpc_server::parseRequest ($data, $req_encoding='')
use an ampty string for php 5 ???

Element xmlrpc_server::parseRequestHeaders (&$data, &$req_encoding, &$resp_encoding, &$resp_compression)
we should parse q=0.x preferences instead of getting first charset specified...

Element xmlrpc_server::parseRequestHeaders (&$data, &$req_encoding, &$resp_encoding, &$resp_compression)
check if mbstring is enabled and automagic input conversion is on: it might mingle with this check???

Element xmlrpcmsg::parseResponse ($data='', $headers_processed=false, $return_type='xmlrpcvals')
return an error msg if $data=='' ?

Element xmlrpcmsg::parseResponse ($data='', $headers_processed=false, $return_type='xmlrpcvals')
echo something for user?

Element xmlrpcmsg::parseResponse ($data='', $headers_processed=false, $return_type='xmlrpcvals')
we should test here if server sent an int and a string, and/or coerce them into such...

Element xmlrpcmsg::parseResponseFile ($fp)
add 2nd & 3rd param to be passed to ParseResponse() ???

Element xmlrpcmsg::parseResponseHeaders (&$data, $headers_processed=false)
some other headers (the ones that allow a CSV list of values) do allow many values to be passed using multiple header lines. We should add content to $GLOBALS['_xh']['headers'][$header_name] instead of replacing it for those...

Element xmlrpcmsg::parseResponseHeaders (&$data, $headers_processed=false)
with version 1 cookies, we should strip leading and trailing " chars

Element xmlrpcmsg::parseResponseHeaders (&$data, $headers_processed=false)
version1 cookies might span multiple lines, thus breaking the parsing above

Element xmlrpcresp::serialize ($charset_encoding='')
try to build something serializable?

Element xmlrpcresp::xmlrpcresp ($val, $fcode=0, $fstr= '', $valtyp='')
add check that $val / $fcode / $fstr is of correct type??? NB: as of now we do not do it, since it might be either an xmlrpcval or a plain php val, or a complete xml chunk, depending on usage of xmlrpc_client::send() inside which creator is called...

Element xmlrpcval::addArray ($vals)
add some checking for $vals to be an array of xmlrpcvals?

Element xmlrpcval::addStruct ($vals)
add some checking for $vals to be an array?

Element xmlrpcval::xmlrpcval ($val=-1, $type='')
: optimization creep - do not call addXX, do it all inline. downside: booleans will not be coerced anymore

Element $GLOBALS
add to iso table the characters from cp_1252 range, i.e. 128 to 159? These will NOT be present in true ISO-8859-1, but will save the unwary windows user from sending junk (though no luck when reciving them...)

Element php_xmlrpc_decode
should we raise a warning for class not found?

Element xmlrpc_ee
this needs to treat correctly php-serialized objects, since std deserializing is done by php_xmlrpc_decode, which we will not be calling...

Element xmlrpc_ee
: optimization creep - remove the if/elseif cycle below since the case() in which we are already did that

Element xmlrpc_ee
check for failure of base64 decoding / catch warnings

Element xmlrpc_ee
: find a better way of throwing an error than this!

Element xmlrpc_ee
find a better way of throwing an error than this!

Element xmlrpc_encode_entitites
do a bit of basic benchmarking (strtr vs. str_replace)

make usage of iconv() or recode_string() or mb_string() where available

Element xmlrpc_encode_entitites
shall we replace this with a (supposedly) faster str_replace?

Element xmlrpc_se
optimization creep: save this check into a bool variable, instead of using count() every time: there is only a single top level element in xml anyway

Element xmlrpc_se
we could check for 2 VALUE elements inside a MEMBER or PARAM element

Element xmlrpc_se
we could check for 2 NAME elements inside a MEMBER element

Element xmlrpc_se
optimization creep: move this inside the big switch() above

Element php_2_xmlrpc_type
separate introspection from code generation for func-2-method wrapping

use some better templating system for code generation?

implement method wrapping with preservation of php objs in calls

when wrapping methods without obj rebuilding, use return_type = 'phpvals' (faster)

implement self-parsing of php code for PHP <= 4

Element wrap_php_class
get_class_methods will return both static and non-static methods. we have to differentiate the action, depending on wheter we recived a class name or object

Element wrap_php_function
decide how to deal with params passed by ref: bomb out or allow?

finish using javadoc info to build method sig if all params are named but out of order

add a check for params of 'resource' type

add some trigger_errors / error_log when returning false?

what to do when the PHP function returns NULL? we are currently returning an empty string value...

add an option to suppress php warnings in invocation of user function, similar to server debug level 3?

if $newfuncname is empty, we could use create_user_func instead of eval, as it is possibly faster

add a verbatim_object_copy parameter to allow avoiding the same obj instance?

Element wrap_php_function
add more checks for static vs. nonstatic?

Element wrap_php_function
examine if $paramDocs matches $parsvariations and build array for usage as method signature, plus put together a nice string for docs

Element wrap_xmlrpc_server
add function setdebug() to new class, to enable/disable debugging

Element wrap_xmlrpc_server
build javadoc for class definition, too

Namensbereich PHP_Compat
add the 3rd parameter syntax...
Copyright © 2003 - 2009 MyOOS [Shopsystem]. All rights reserved.
MyOOS [Shopsystem] is Free Software released under the GNU/GPL License.

Webmaster: info@r23.de (Impressum)
doxygen