📄 changelog
字号:
2007-02-25 Gaetano Giunta <giunta.gaetano@sea-aeroportimilano.it> * removed a couple of warnings emitted in testsuite.php * doc/makefile: added command for invocation of xxe to generate docs * better rendering of docs in xml+css format for function prototypes * updated documentation * tagged and released as 2.22007-02-22 Gaetano Giunta <giunta.gaetano@sea-aeroportimilano.it> * debugger: workaround for case of magic_quotes_gpc being set (properly unescape user input); fix case of user not setting msg id in jsonrpc case when executing a remote method; allow strings, false, true and null as msg id2007-02-13 Gaetano Giunta <giunta.gaetano@sea-aeroportimilano.it> * testsuite.php: added one test for automatic encoding/decoding case2007-02-05 Gaetano Giunta <giunta.gaetano@sea-aeroportimilano.it> * xmlrpc.inc: slightly faster encoding of UTF8 data to ascii2007-01-11 Gaetano Giunta <giunta.gaetano@sea-aeroportimilano.it> * xmlrpc.inc: when calling client::multicall() with an unspecified http version, use the client default rather than the fixed 'http 1.0'2006-09-17 Gaetano Giunta <giunta.gaetano@sea-aeroportimilano.it> * xmlrpc.inc, xmlrpcs.inc, testsuite.php: added support for </NIL> and system.getCapabilities, and one more testcase to go with it2006-09-05 Gaetano Giunta <giunta.gaetano@sea-aeroportimilano.it> * xmlrpc.inc: fix support for https through proxies; client parses debug messages sent by client even for compressed responses; * testsuite.php, parse_args.php: added 3 test cases for proxy connections2006-09-01 Gaetano Giunta <giunta.gaetano@sea-aeroportimilano.it> xmlrpc_wrappers.inc: add two more options in wrap_xmlrpc_method and fix typo to allow obj encoding2006-08-28 Gaetano Giunta <giunta.gaetano@sea-aeroportimilano.it> * xmlrpc_wrappers.inc: more options added to wrap_php_function and wrap_xmlrpc_method * xmlrpc.inc: pave the way to support for <nil/> * doc/xmlrpc_php.xml documentation updated * tagged and released as 2.12006-08-25 Gaetano Giunta <giunta.gaetano@sea-aeroportimilano.it> * xmlrpc.inc: stricter parsing of incoming messages: detect two DATA elements inside an ARRAY, a STRUCT or SCALAR inside an already filled VALUE * testsuite.php: added two testcases to check for the above cases2006-08-24 Gaetano Giunta <giunta.gaetano@sea-aeroportimilano.it> * xmlrpc.inc: more code optimization in xmlrpcval::serialize() and php_xmlrpc_encode(); fixed bug where struct elements with non-ascii chars in their name would not be properly encoded * testsuite.php: added a testcase for the new bug2006-08-23 Gaetano Giunta <giunta.gaetano@sea-aeroportimilano.it> * remove old code left in comments across many files; many more javadoc comments added * xmlrpc.inc: a bit of code optimization: reorder switch() statements of xml parsing element handlers; inline code for xmlrpcval() - this breaks new xmlrpcval('true') and changes error msgs on new xmlrpcval($x, 'invalid_type') * testsuite.php: change according to above * benchmark.php: basic support for xdebug 2 profiling2006-08-22 Gaetano Giunta <giunta.gaetano@sea-aeroportimilano.it> * xmlrpc.inc: addscalar() and addstruct() where not returning 1 when adding data to an already formed value2006-08-21 Gaetano Giunta <giunta.gaetano@sea-aeroportimilano.it> * xmlrpcs.inc, xmlrpc.inc: added support for emulating the xmlrpc-extension API (the full emulation layer is part of the extras package); fix support for the HTTP 'deflate' encoding * xmlrpc.inc: better support for http compression with and without CURL; a minor decoding speedup; added a new function: php_xmlrpc_decode_xml(), that will convert into the appropriate object the xml representation of either a request, response or a single value; log reception of invalid datetime values * xmlrpcs.inc: add a new parameter and return type to server->service(); let server->add_to_map() accept method definitions without parameter types * xmlrpc_wrappers.inc: more logging of errors; wrap_php_functions now takes more options; better support for jsonrpc; escape quote chars when wrapping remothe servers / remote methods * added cvs Id tag to files that missed it; speling fixes; updated NEWS files2006-08-07 Gaetano Giunta <giunta.gaetano@sea-aeroportimilano.it> * assorted fixes to make the suite more compatible with php 4.0.5 and 5.x2006-07-02 Gaetano Giunta <giunta.gaetano@sea-aeroportimilano.it> * xmlrpc_warppers.inc: added new function to wrap entire remote server into a local php class; changed default calling synopsis of wrap_remote_method, to ease passing multiple options at a time (but old syntax still works!) * updated makefile, debugger/action.php in accord with the above2006-06-30 Gaetano Giunta <giunta.gaetano@sea-aeroportimilano.it> * added to debugger capability to generate json-rpc code stubs * added to debugger capability to load and launch self correctly if controller.php is called directly from outside processes (single url access)2006-06-26 Gaetano Giunta <giunta.gaetano@sea-aeroportimilano.it> * moved wrap_php_functions and wrap_xmlrpc_method into a file of their own. This will let us add further stub functionality without the base lib growing too much. All of the files that reference this functionality have been modified accordingly. * made wrap_xmlrpc_method generate better code (with php type juggling), and some phpdoc for the generated function, too * added to debugger an option to produce for the user the generated php code for wrapping a call to a remote method into a php function2006-06-22 Gaetano Giunta <giunta.gaetano@sea-aeroportimilano.it> * xmlrpcs.inc: added description of parameters for system.xxx methods (useful with html-self-documenting servers); server->service() now returns response object, in case user has need for it... * xmlrpc.inc: save full response payload into xmlrpcresp obj for better debugging2006-06-15 Gaetano Giunta <giunta.gaetano@sea-aeroportimilano.it> * verify_compat.php: more tests2006-06-09 Gaetano Giunta <giunta.gaetano@sea-aeroportimilano.it> * xmlrpcs.inc: fixed sending of compressed responses when output compression is already enabled in php.ini * verify_compat.php: split tests between server and client cases2006-05-29 Gaetano Giunta <giunta.gaetano@sea-aeroportimilano.it> * added new file: verify_compat.php, to help troubleshooting platform support for the library; added it to makefile, too2006-05-24 Gaetano Giunta <giunta.gaetano@sea-aeroportimilano.it> * xmlrpc.inc: removed residual usage of regexp in favour of pregexps; fixed a bug in specifying Host http header with non std ports2006-05-23 Gaetano Giunta <giunta.gaetano@sea-aeroportimilano.it> * xmlrpc.inc: improvements to wrap_php_function: let it deal correctly with php functions returning xmlrpcresp objs; make it generate also docs for single parameters (useful for documenting_xmlrpc_server class)2006-05-22 Gaetano Giunta <giunta.gaetano@sea-aeroportimilano.it> * xmlrpc.inc, xmlrpcs.inc: minor performance tuning updates: replaced some explode vs. split, ereg vs. preg, single vs. double quotes * xmlrpc.inc: fix wrap_xmlrpc_method to NOT rebuild php objects received from the server by default, as it might pose a security risk2006-04-24 Gaetano Giunta <giunta.gaetano@sea-aeroportimilano.it> * minor fixes makefiles. Tagged and released as 2.0 final2006-04-22 Gaetano Giunta <giunta.gaetano@sea-aeroportimilano.it> * debugger/*: added option to set cainfo; improve web layout * xmlrpc.inc: set sslverifypeer tp TRUE instaed of 1 by default * doc/php_xmlrpc.xml: documentation updates2006-04-21 Gaetano Giunta <giunta.gaetano@sea-aeroportimilano.it> * xmlrpc.inc: added option to set ca certs dir instead of single cert (used to validate server in https connetions)2006-04-18 Gaetano Giunta <giunta.gaetano@sea-aeroportimilano.it> * xmlrpc.inc: fixed bug in xmlrpcval::structmemexists() * testsuite.php: added test case for xmlrpcval::structmemexists()2006-04-03 Gaetano Giunta <giunta.gaetano@sea-aeroportimilano.it> * xmlrpc.inc: add support for Digest and NTLM authentication, both to server and to proxies (note: must use CURL for this to work) * debugger/*: add support for Digest/NTLM auth to remote servers2006-03-19 Gaetano Giunta <giunta.gaetano@sea-aeroportimilano.it> * xmlrpc.inc: fix a bug parsing of 'true' bool values; added a new method to the client class: SetCaCertificate; add column number in xml parsing error messages; fix serialization of messages to ISO-8859-1 charset with php 5 (by adding encoding to the xml prologue of generated messages) * xmlrpcs.inc: correct detection of charset in http headers; add column number in xml parsing error messages; fix serialization of responses to ISO-8859-1 charset with php 5 (by adding encoding to the xml prologue of generated responses) * testsuite.php: added two more tests on charset encoding * NEWS: update info for impending release2006-03-23 Gaetano Giunta <giunta.gaetano@sea-aeroportimilano.it> * added a new demo file: simple_call.php2006-02-20 Gaetano Giunta <giunta.gaetano@sea-aeroportimilano.it> * xmlrpcs.inc: more error checking and logging with regard to user-coded method handler functions not being well behaved; fix a case where error handler would not be reset upon user function returning not valid xmlrpresp * xmlrpc.inc: fix bug in detection of php 4.3.0 * Makefile: fix uppercase filenames2006-02-15 * xmlrpc.inc: parse 'true' and 'false' as valid booleans, even though the spec is quite clear on that; fix small bug w. internal_encoding = utf8; add definition of $GLOBALS['xmlrpcNull'] for extensibility, e.g. json or extensions to the xmlrpc spec2006-02-05 Gaetano Giunta <giunta.gaetano@sea-aeroportimilano.it> * xmlrpc.inc: fix bug in wrap_xmlrpc_method if client passed to function has return_type=phpvals * all demo files: review code, add more comments and information * added 2 demo files: proxy.php (implementing an xmlrpc proxy server) and wrap.php (showing usage of wrap_method_call)2006-02-04 Gaetano Giunta <giunta.gaetano@sea-aeroportimilano.it> * xmlrpc.inc: fix bug in multicall in case of no fallback and server error2006-01-30 Gaetano Giunta <giunta.gaetano@sea-aeroportimilano.it> * xmlrpc.inc: fix recursive serialization of xmlrpcvals loosing UTF8 charset; correctly set type field of xmlrpcvals returned by send() calls * xmlrpcs.inc: add to server checks for correct return type of user-coded method handling function; tolerate xmlrpcval instead of xmlrpcresp * minor change in xmlrpcresp internals, to ease subclassing (store payload in an internal var on serialize(), same as xmlrpcclient does)2006-01-22 Gaetano Giunta <giunta.gaetano@sea-aeroportimilano.it> * benchmark.php: do not run http 1.1 tests if CURL notfound * Released as 2.0 Rc32006-01-19 Gaetano Giunta <giunta.gaetano@sea-aeroportimilano.it> * xmlrpc.inc: make xmlrpc_client::setDebug() accept int values instead of boolean. At level 2, the request payload is printed to screen before being sent; fix bug with repeated sending of the same msg object and using request compression w. php 5.1.2 (objects passed by ref by default!!!) * xmlrpcs.inc: fix detection of clients accepting compressed responses * comment.php: remove warnings due to liberal usage of $HTTP_POST/GET_VARS * benchmark.php: add a test using http compression of both requests and responses * testsuite.php: added test for fix in xmlrpc.inc2006-01-17 Gaetano Giunta <giunta.gaetano@sea-aeroportimilano.it> * xmlrpcs.php: minor fix: do not raise a PHP warning when std server is called via GET (global HTTP_RAW_POST_DATA undefined). Some might have called it a security breach (path disclosure)...2006-01-15 Gaetano Giunta <giunta.gaetano@sea-aeroportimilano.it> * testsuite.php: minor fix to expected date format in http cookie hedaer to cope with PHP 5.1.22006-01-05 Gaetano Giunta <giunta.gaetano@sea-aeroportimilano.it> * xmlrpcs.inc: merge code from the 'extras' subclass that allows server to register plain php functions in dispatch map instead of functions accepting a single xmlrpcmgs obj parameter. One step closer to the kitchen sink!!!2005-12-31 Gaetano Giunta <giunta.gaetano@sea-aeroportimilano.it> * xmlrpcs.inc: let the server accept 'class::method' syntax in the dispatch map * testsuite.php, server.php: added new tests for the recent charset encoding capabilities2005-12-24 Gaetano Giunta <giunta.gaetano@sea-aeroportimilano.it> * xmlrpc.inc: correctly serialize() string xmlrpcvals that have been created out of non-string php variables, when internal encoding is UTF8; serialize to '0' int and double values created out of non-string php variables, eg. 'hello', instead of creating invalid xmlrpc; extend the php_xmlrpc_encode function to allow serializing string values to charsets other tha US-ASCII; minor tweak to xml parsing to allow correct parsing of empty strings when in 'direct to php values' mode * xmlrpcs.inc: advances in system.multicall with plain php values
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -