- xmlrpc.inc: add support for the <ex:nil/> from the apache library, both in input...
[plcapi.git] / ChangeLog
1 2009-07-16 - G. Giunta (giunta.gaetano@gmail.com) thanks Jean-Jacques Sarton\r
2 \r
3         * xmlrpc.inc: add support for the <ex:nil/> from the apache library, both\r
4         in input and output\r
5 \r
6         * xmlrpc.inc, testsuite.php: remove usage of split(), deprecated in php 5.3\r
7 \r
8         * testsuite.php: flush better results with output_buffering on\r
9 \r
10         * server: php: avoid one warning about static function calls\r
11 \r
12 2009-07-02 - G. Giunta (giunta.gaetano@gmail.com) thanks Heiko Stuebner\r
13 \r
14         * xmlrpc.inc: fix: when checking the parameters against the signatures xmlrpc\r
15         checks for "array" but PHP returns "Array" resulting in a not matches signature\r
16 \r
17 2009-05-07 - G. Giunta (giunta.gaetano@gmail.com)\r
18 \r
19         * replace all usage of '= & new' with '= new', as this is deprecated in php 5\r
20         and has been shown to cause problems too\r
21 \r
22 2009-05-06 - G. Giunta (giunta.gaetano@gmail.com)\r
23 \r
24         * create php4 branch, rename trunk to 3.0.0beta - it will be the php5-only version\r
25 \r
26         * xmlrpc.inc: removed test for php version and inclusion of compat patches for really\r
27         really old versions of php 4\r
28 \r
29 2009-03-16 - G. Giunta (giunta.gaetano@gmail.com) thanks Tommaso Trani\r
30 \r
31         * move from CVS to SVN on sf.net; file layout now is the same as in packaged lib\r
32 \r
33         * xmlrpc.inc: fix php warning when receiving 'false' in a bool value\r
34 \r
35         * Makefile, doc/Makefile: alter to follow new file layout\r
36 \r
37         * tagged and released as 2.2.2\r
38 \r
39 2009-02-03 - G. Giunta (giunta.gaetano@gmail.com)\r
40 \r
41         * debugger/action.php: improve code robustness when parsing system.listmethods\r
42         and system.describemethods call\r
43 \r
44         * xmlrpc.inc: format floating point values using the correct decimal separator\r
45         even when php locale is set to one that uses comma (bug #2517579);\r
46         use feof() to test if socket connections are to be closed instead of the\r
47         number of bytes read (bug #2556209)\r
48 \r
49 2008-10-29 - G. Giunta (giunta.gaetano@gmail.com)\r
50 \r
51         * xmlrpcs.inc: allow add_to_map server method to add docs for single params, too\r
52 \r
53 2008-09-20 - G. Giunta (giunta.gaetano@gmail.com)\r
54 \r
55         * xmlrpc_wrappers.inc: added the possibility to wrap for exposure as xmlrpc\r
56         methods plain php class methods, object methods and even whole classes\r
57 \r
58         * testsuite.php, server.php: added test cases for the new code\r
59 \r
60 2008-09-07 - G. Giunta (giunta.gaetano@gmail.com) thanks Bruno Zanetti Melotti\r
61 \r
62         * xmlrpc.inc: be more tolerant in detection of charset in http headers (fix for bug #2058158)\r
63 \r
64 2008-04-05 - G. Giunta (giunta.gaetano@gmail.com)\r
65 \r
66         * xmlrpc.inc: fix encoding of UTF8 chars outside of the BMP\r
67 \r
68         * xmlrpcs.inc: fix detection of zlib.output_compression (thanks xbert)\r
69 \r
70 2008-03-06 - G. Giunta (giunta.gaetano@gmail.com)\r
71 \r
72         * tagged and released as 2.2.1\r
73 \r
74         * Makefile: improve usage on windows xp despite cmd's broken mkdir\r
75 \r
76 2007-10-26 - G. Giunta (giunta.gaetano@gmail.com) thanks sajo_raftman\r
77 \r
78         * xmlrpc.inc: remove one warning in xmlrpc_client creator\r
79 \r
80 2007-10-26 - G. Giunta (giunta.gaetano@gmail.com)\r
81 \r
82         * xmlrpc.inc: improve support for windows cp1252 character set (still\r
83         commented in the code)\r
84 \r
85 2007-09-05 - G. Giunta (giunta.gaetano@gmail.com)\r
86 \r
87         * xmlrpc.inc, xmlrps.inc: do not try to set invalid charsets as output for\r
88         xml parser, even if user set them up for internal_encoding (helps encoding\r
89         to exotic charsets, while decoding to UTF8)\r
90 \r
91 2007-09-05 - G. Giunta (giunta.gaetano@gmail.com)\r
92 \r
93         * xmlrpc.inc: fix parsing of '1e+1' as valid float\r
94 \r
95 2007-09-01 - G. Giunta (giunta.gaetano@gmail.com), thanks Frederic Lecointre\r
96 \r
97         * xmlrpcs.inc: allow errorlevel 3 to work when prev. error handler was a static method\r
98 \r
99         * testsuite.php: fix test on setCookie()\r
100 \r
101 2007-08-31 - G. Giunta (giunta.gaetano@gmail.com)\r
102 \r
103         * xmlrpc.inc: minor fix in cookie parsing\r
104 \r
105 2007-07-31 - G. Giunta (giunta.gaetano@gmail.com)\r
106 \r
107         * xmlrpc.inc: Fix usage of client::setcookie() for multiple cookies in non-ssl mode\r
108 \r
109 2007-07-26 - G. Giunta (giunta.gaetano@gmail.com) thanks Mark Olive\r
110 \r
111         * xmlrpc.inc: Fix for bug # 1756274 (usage of cookies in ssl mode)\r
112 \r
113 2007-04-28 - G. Giunta (giunta.gaetano@gmail.com)\r
114 \r
115         * xmlrpc.inc: give more detailed curl information when DEBUG = 2; fix handling\r
116         of case where curl w. keepalive is used and one connection of many fails\r
117 \r
118         * testsuite improvements: add one testcase; give feedbcak while tests are\r
119         running\r
120 \r
121 2007-04-01 - G. Giunta (giunta.gaetano@gmail.com)\r
122 \r
123         * doc/makefile, doc/custom.fo.xsl: improve pdf rendering of php source code\r
124 \r
125         * makefile: recover version number from source instead of having it hardcoded\r
126 \r
127 2007-03-10 - G. Giunta (giunta.gaetano@gmail.com)\r
128 \r
129         * doc/makefile, doc/convert.php, doc/*.xsl: created customizations xslt to\r
130         produce a documentation more in line with the php manual, esp. with regards\r
131         to functions synopsis; added jellyfish book cover as local resource and a\r
132         screenshot of the debugger too; various updates to the manual source; added\r
133         a php script to highlight examples inside html docs\r
134 \r
135 2007-03-09 - G. Giunta (giunta.gaetano@gmail.com)\r
136 \r
137         * debugger/action.php: css tweak for IE\r
138 \r
139         * added phpunit license file in the phpunit directory\r
140 \r
141         * added link to license (on sf.net site) to many files\r
142 \r
143 2007-03-04 - G. Giunta (giunta.gaetano@gmail.com)\r
144 \r
145         * Makefile, doc/makefile: assorted improvements\r
146 \r
147 2007-03-03 - G. Giunta (giunta.gaetano@gmail.com)\r
148 \r
149         * xmlrpc.inc: micro-optimization in declaration of global vars xmlrpcerr, xmlrpcstr\r
150 \r
151 2007-02-25 Gaetano Giunta <giunta.gaetano@gmail.com>\r
152 \r
153         * removed a couple of warnings emitted in testsuite.php\r
154 \r
155         * doc/makefile: added command for invocation of xxe to generate docs\r
156 \r
157         * better rendering of docs in xml+css format for function prototypes\r
158 \r
159         * updated documentation\r
160 \r
161         * tagged and released as 2.2\r
162 \r
163 2007-02-22 Gaetano Giunta <giunta.gaetano@gmail.com>\r
164 \r
165         * debugger: workaround for case of magic_quotes_gpc being set (properly\r
166         unescape user input); fix case of user not setting msg id in jsonrpc case\r
167         when executing a remote method; allow strings, false, true and null as msg id\r
168 \r
169 2007-02-13 Gaetano Giunta <giunta.gaetano@gmail.com>\r
170 \r
171         * testsuite.php: added one test for automatic encoding/decoding case\r
172 \r
173 2007-02-05 Gaetano Giunta <giunta.gaetano@gmail.com>\r
174 \r
175         * xmlrpc.inc: slightly faster encoding of UTF8 data to ascii\r
176 \r
177 2007-01-11 Gaetano Giunta <giunta.gaetano@gmail.com>\r
178 \r
179         * xmlrpc.inc: when calling client::multicall() with an unspecified http version,\r
180         use the client default rather than the fixed 'http 1.0'\r
181 \r
182 2006-09-17 Gaetano Giunta <giunta.gaetano@gmail.com>\r
183 \r
184         * xmlrpc.inc, xmlrpcs.inc, testsuite.php: added support for </NIL> and\r
185         system.getCapabilities, and one more testcase to go with it\r
186 \r
187 2006-09-05 Gaetano Giunta <giunta.gaetano@gmail.com>\r
188 \r
189         * xmlrpc.inc: fix support for https through proxies; client parses debug\r
190         messages sent by client even for compressed responses;\r
191 \r
192         * testsuite.php, parse_args.php: added 3 test cases for proxy connections\r
193 \r
194 2006-09-01 Gaetano Giunta <giunta.gaetano@gmail.com>\r
195 \r
196         xmlrpc_wrappers.inc: add two more options in wrap_xmlrpc_method and fix\r
197         typo to allow obj encoding\r
198 \r
199 2006-08-28 Gaetano Giunta <giunta.gaetano@gmail.com>\r
200 \r
201         * xmlrpc_wrappers.inc: more options added to wrap_php_function and\r
202         wrap_xmlrpc_method\r
203 \r
204         * xmlrpc.inc: pave the way to support for <nil/>\r
205 \r
206         * doc/xmlrpc_php.xml documentation updated\r
207 \r
208         * tagged and released as 2.1\r
209 \r
210 2006-08-25 Gaetano Giunta <giunta.gaetano@gmail.com>\r
211 \r
212         * xmlrpc.inc: stricter parsing of incoming messages: detect two DATA elements\r
213         inside an ARRAY, a STRUCT or SCALAR inside an already filled VALUE\r
214 \r
215         * testsuite.php: added two testcases to check for the above cases\r
216 \r
217 2006-08-24 Gaetano Giunta <giunta.gaetano@gmail.com>\r
218 \r
219         * xmlrpc.inc: more code optimization in xmlrpcval::serialize() and\r
220         php_xmlrpc_encode(); fixed bug where struct elements with non-ascii chars\r
221         in their name would not be properly encoded\r
222 \r
223         * testsuite.php: added a testcase for the new bug\r
224 \r
225 2006-08-23 Gaetano Giunta <giunta.gaetano@gmail.com>\r
226 \r
227         * remove old code left in comments across many files; many more javadoc\r
228         comments added\r
229 \r
230         * xmlrpc.inc: a bit of code optimization: reorder switch() statements of\r
231         xml parsing element handlers; inline code for xmlrpcval() - this breaks\r
232         new xmlrpcval('true') and changes error msgs on new xmlrpcval($x, 'invalid_type')\r
233 \r
234         * testsuite.php: change according to above\r
235 \r
236         * benchmark.php: basic support for xdebug 2 profiling\r
237 \r
238 2006-08-22 Gaetano Giunta <giunta.gaetano@gmail.com>\r
239 \r
240         * xmlrpc.inc: addscalar() and addstruct() where not returning 1 when adding\r
241         data to an already formed value\r
242 \r
243 2006-08-21 Gaetano Giunta <giunta.gaetano@gmail.com>\r
244 \r
245         * xmlrpcs.inc, xmlrpc.inc: added support for emulating the xmlrpc-extension\r
246         API (the full emulation layer is part of the extras package);\r
247         fix support for the HTTP 'deflate' encoding\r
248 \r
249         * xmlrpc.inc: better support for http compression with and without CURL;\r
250         a minor decoding speedup; added a new function: php_xmlrpc_decode_xml(),\r
251         that will convert into the appropriate object the xml representation of\r
252         either a request, response or a single value; log reception of invalid\r
253         datetime values\r
254 \r
255         * xmlrpcs.inc: add a new parameter and return type to server->service();\r
256         let server->add_to_map() accept method definitions without parameter types\r
257 \r
258         * xmlrpc_wrappers.inc: more logging of errors; wrap_php_functions now takes\r
259         more options; better support for jsonrpc; escape quote chars when wrapping\r
260         remothe servers / remote methods\r
261 \r
262         * added cvs Id tag to files that missed it; speling fixes; updated NEWS files\r
263 \r
264 2006-08-07 Gaetano Giunta <giunta.gaetano@gmail.com>\r
265 \r
266         * assorted fixes to make the suite more compatible with php 4.0.5 and 5.x\r
267 \r
268 2006-07-02 Gaetano Giunta <giunta.gaetano@gmail.com>\r
269 \r
270         * xmlrpc_warppers.inc: added new function to wrap entire remote server into\r
271         a local php class; changed default calling synopsis of wrap_remote_method,\r
272         to ease passing multiple options at a time (but old syntax still works!)\r
273 \r
274         * updated makefile, debugger/action.php in accord with the above\r
275 \r
276 2006-06-30 Gaetano Giunta <giunta.gaetano@gmail.com>\r
277 \r
278         * added to debugger capability to generate json-rpc code stubs\r
279 \r
280         * added to debugger capability to load and launch self correctly if\r
281         controller.php is called directly from outside processes (single url access)\r
282 \r
283 2006-06-26 Gaetano Giunta <giunta.gaetano@gmail.com>\r
284 \r
285         * moved wrap_php_functions and wrap_xmlrpc_method into a file of their own.\r
286         This will let us add further stub functionality without the base lib growing too much.\r
287         All of the files that reference this functionality have been modified accordingly.\r
288 \r
289         * made wrap_xmlrpc_method generate better code (with php type juggling), and\r
290         some phpdoc for the generated function, too\r
291 \r
292         * added to debugger an option to produce for the user the generated php code\r
293         for wrapping a call to a remote method into a php function\r
294 \r
295 2006-06-22 Gaetano Giunta <giunta.gaetano@gmail.com>\r
296 \r
297         * xmlrpcs.inc: added description of parameters for system.xxx methods (useful with\r
298         html-self-documenting servers);\r
299         server->service() now returns response object, in case user has need for it...\r
300 \r
301         * xmlrpc.inc: save full response payload into xmlrpcresp obj for better debugging\r
302 \r
303 2006-06-15 Gaetano Giunta <giunta.gaetano@gmail.com>\r
304 \r
305         * verify_compat.php: more tests\r
306 \r
307 2006-06-09 Gaetano Giunta <giunta.gaetano@gmail.com>\r
308 \r
309         * xmlrpcs.inc: fixed sending of compressed responses when output compression\r
310         is already enabled in php.ini\r
311 \r
312         * verify_compat.php: split tests between server and client cases\r
313 \r
314 2006-05-29  Gaetano Giunta <giunta.gaetano@gmail.com>\r
315 \r
316         * added new file: verify_compat.php, to help troubleshooting platform\r
317         support for the library; added it to makefile, too\r
318 \r
319 2006-05-24  Gaetano Giunta <giunta.gaetano@gmail.com>\r
320 \r
321         * xmlrpc.inc: removed residual usage of regexp in favour of  pregexps; fixed\r
322         a bug in specifying Host http header with non std ports\r
323 \r
324 2006-05-23  Gaetano Giunta <giunta.gaetano@gmail.com>\r
325 \r
326         * xmlrpc.inc: improvements to wrap_php_function: let it deal correctly\r
327         with php functions returning xmlrpcresp objs; make it generate also\r
328         docs for single parameters (useful for documenting_xmlrpc_server class)\r
329 \r
330 2006-05-22  Gaetano Giunta <giunta.gaetano@gmail.com>\r
331 \r
332         * xmlrpc.inc, xmlrpcs.inc: minor performance tuning updates: replaced\r
333         some explode vs. split, ereg vs. preg, single vs. double quotes\r
334 \r
335         * xmlrpc.inc: fix wrap_xmlrpc_method to NOT rebuild php objects received\r
336         from the server by default, as it might pose a security risk\r
337 \r
338 2006-04-24  Gaetano Giunta <giunta.gaetano@gmail.com>\r
339 \r
340         * minor fixes makefiles. Tagged and released as 2.0 final\r
341 \r
342 2006-04-22  Gaetano Giunta <giunta.gaetano@gmail.com>\r
343 \r
344         * debugger/*: added option to set cainfo; improve web layout\r
345 \r
346         * xmlrpc.inc: set sslverifypeer to TRUE instaed of 1 by default\r
347 \r
348         * doc/php_xmlrpc.xml: documentation updates\r
349 \r
350 2006-04-21  Gaetano Giunta <giunta.gaetano@gmail.com>\r
351 \r
352         * xmlrpc.inc: added option to set ca certs dir instead of single cert\r
353         (used to validate server in https connetions)\r
354 \r
355 2006-04-18  Gaetano Giunta <giunta.gaetano@gmail.com>\r
356 \r
357         * xmlrpc.inc: fixed bug in xmlrpcval::structmemexists()\r
358 \r
359         * testsuite.php: added test case for xmlrpcval::structmemexists()\r
360 \r
361 2006-04-03  Gaetano Giunta <giunta.gaetano@gmail.com>\r
362 \r
363         * xmlrpc.inc: add support for Digest and NTLM authentication, both to server\r
364         and to proxies (note: must use CURL for this to work)\r
365 \r
366         * debugger/*: add support for Digest/NTLM auth to remote servers\r
367 \r
368 2006-03-19  Gaetano Giunta <giunta.gaetano@gmail.com>\r
369 \r
370         * xmlrpc.inc: fix a bug parsing of 'true' bool values;\r
371         added a new method to the client class: SetCaCertificate;\r
372         add column number in xml parsing error messages;\r
373         fix serialization of messages to ISO-8859-1 charset with php 5 (by adding\r
374         encoding to the xml prologue of generated messages)\r
375 \r
376         * xmlrpcs.inc: correct detection of charset in http headers;\r
377         add column number in xml parsing error messages;\r
378         fix serialization of responses to ISO-8859-1 charset with php 5 (by adding\r
379         encoding to the xml prologue of generated responses)\r
380 \r
381         * testsuite.php: added two more tests on charset encoding\r
382 \r
383         * NEWS: update info for impending release\r
384 \r
385 2006-03-23  Gaetano Giunta <giunta.gaetano@gmail.com>\r
386 \r
387         * added a new demo file: simple_call.php\r
388 \r
389 2006-02-20  Gaetano Giunta <giunta.gaetano@gmail.com>\r
390 \r
391         * xmlrpcs.inc: more error checking and logging with regard to user-coded\r
392         method handler functions not being well behaved;\r
393         fix a case where error handler would not be reset upon user function\r
394         returning not valid xmlrpresp\r
395 \r
396         * xmlrpc.inc: fix bug in detection of php 4.3.0\r
397 \r
398         * Makefile: fix uppercase filenames\r
399 \r
400 2006-02-15\r
401 \r
402         * xmlrpc.inc: parse 'true' and 'false' as valid booleans, even though the\r
403         spec is quite clear on that; fix small bug w. internal_encoding = utf8; add\r
404         definition of $GLOBALS['xmlrpcNull'] for extensibility, e.g. json or\r
405         extensions to the xmlrpc spec\r
406 \r
407 2006-02-05  Gaetano Giunta <giunta.gaetano@gmail.com>\r
408 \r
409         * xmlrpc.inc: fix bug in wrap_xmlrpc_method if client passed to function has\r
410         return_type=phpvals\r
411 \r
412         * all demo files: review code, add more comments and information\r
413 \r
414         * added 2 demo files: proxy.php (implementing an xmlrpc proxy server) and\r
415         wrap.php (showing usage of wrap_method_call)\r
416 \r
417 2006-02-04  Gaetano Giunta <giunta.gaetano@gmail.com>\r
418 \r
419         * xmlrpc.inc: fix bug in multicall in case of no fallback and server error\r
420 \r
421 2006-01-30  Gaetano Giunta <giunta.gaetano@gmail.com>\r
422 \r
423         * xmlrpc.inc: fix recursive serialization of xmlrpcvals loosing UTF8 charset;\r
424         correctly set type field of xmlrpcvals returned by send() calls\r
425 \r
426         * xmlrpcs.inc: add to server checks for correct return type of user-coded\r
427         method handling function; tolerate xmlrpcval instead of xmlrpcresp\r
428 \r
429         * minor change in xmlrpcresp internals, to ease subclassing (store payload\r
430         in an internal var on serialize(), same as xmlrpcclient does)\r
431 \r
432 2006-01-22  Gaetano Giunta <giunta.gaetano@gmail.com>\r
433 \r
434         * benchmark.php: do not run http 1.1 tests if CURL notfound\r
435 \r
436         * Released as 2.0 Rc3\r
437 \r
438 2006-01-19  Gaetano Giunta <giunta.gaetano@gmail.com>\r
439 \r
440         * xmlrpc.inc: make xmlrpc_client::setDebug() accept int values instead of\r
441         boolean. At level 2, the request payload is printed to screen before being\r
442         sent; fix bug with repeated sending of the same msg object and using request\r
443         compression w. php 5.1.2 (objects passed by ref by default!!!)\r
444 \r
445         * xmlrpcs.inc: fix detection of clients accepting compressed responses\r
446 \r
447         * comment.php: remove warnings due to liberal usage of $HTTP_POST/GET_VARS\r
448 \r
449         * benchmark.php: add a test using http compression of both requests and\r
450         responses\r
451 \r
452         * testsuite.php: added test for fix in xmlrpc.inc\r
453 \r
454 2006-01-17  Gaetano Giunta <giunta.gaetano@gmail.com>\r
455 \r
456         * xmlrpcs.php: minor fix: do not raise a PHP warning when std server is\r
457         called via GET (global HTTP_RAW_POST_DATA undefined). Some might have called\r
458         it a security breach (path disclosure)...\r
459 \r
460 2006-01-15  Gaetano Giunta <giunta.gaetano@gmail.com>\r
461 \r
462         * testsuite.php: minor fix to expected date format in http cookie hedaer\r
463         to cope with PHP 5.1.2\r
464 \r
465 2006-01-05  Gaetano Giunta <giunta.gaetano@gmail.com>\r
466 \r
467         * xmlrpcs.inc: merge code from the 'extras' subclass that allows server\r
468         to register plain php functions in dispatch map instead of functions\r
469         accepting a single xmlrpcmgs obj parameter.\r
470         One step closer to the kitchen sink!!!\r
471 \r
472 2005-12-31  Gaetano Giunta <giunta.gaetano@gmail.com>\r
473 \r
474         * xmlrpcs.inc: let the server accept 'class::method' syntax in the dispatch\r
475         map\r
476 \r
477         * testsuite.php, server.php: added new tests for the recent charset encoding\r
478         capabilities\r
479 \r
480 2005-12-24  Gaetano Giunta <giunta.gaetano@gmail.com>\r
481 \r
482         * xmlrpc.inc: correctly serialize() string xmlrpcvals that have been\r
483         created out of non-string php variables, when internal encoding is UTF8;\r
484         serialize to '0' int and double values created out of non-string php\r
485         variables, eg. 'hello', instead of creating invalid xmlrpc;\r
486         extend the php_xmlrpc_encode function to allow serializing string values\r
487         to charsets other tha US-ASCII;\r
488         minor tweak to xml parsing to allow correct parsing of empty strings when\r
489         in 'direct to php values' mode\r
490 \r
491         * xmlrpcs.inc: advances in system.multicall with plain php values\r
492 \r
493 2005-12-17  Gaetano Giunta <giunta.gaetano@gmail.com>\r
494 \r
495         * xmlrpcs.inc: let the functions implementing the system.* methods work\r
496         fine when called with plain php values as parameters instead of xmlrpcmsg\r
497         objects (multicall not quite finished yet...);\r
498         encode level 3 debug info as base64 data, to avoid charset encoding hell\r
499 \r
500         * xmlrpc.inc: added a new xmlrpc_2_php_type function, to get the name of\r
501         php types corresponding to xmlrpc types;\r
502         in debug mode, when detecting base64 server debug info, print it out fine\r
503 \r
504         * server.php: cosmetic fixes\r
505 \r
506 2005-12-09  Gaetano Giunta <giunta.gaetano@gmail.com>\r
507 \r
508         * xmlrpc.inc: remove one warning emitted when received xml contains an\r
509         unknown tag; remove warnings emitted when custom error handler is set\r
510         and user calls php_xmlrpc_encode/decode without the 2nd parameter\r
511 \r
512         * xmlrpcs.inc: added a param to service(), to allow the server to parse\r
513         data other than the POST body (useful for subclassing and debugging);\r
514         reworked the implementation of server debug messages at debug level 2:\r
515         since the debug info generated has no known charset, and putting it back\r
516         into the response's xml would most likely break it, send it back to the\r
517         client as a base64 encoded comment. Clients can decode it if they need it...\r
518         Add some more javadocs\r
519 \r
520         * testsuite.php: modified the string test, to see if the server can echo\r
521         back to the client the received data without breaking the response's xml\r
522 \r
523 2005-12-05  Gaetano Giunta <giunta.gaetano@gmail.com>\r
524 \r
525         * xmlrpc.inc, xmlrpcs.inc: let server and client objects decide if they\r
526         want to use some charset encoding other than US-ASCII for serialized data:\r
527         add a new var to both objects, and lots of parameters to function calls\r
528         that took none up to now;\r
529         refactored server method service() and parseRequest(), implementing a\r
530         new parserequestHeaders() method to explicitly deal with HTTP\r
531 \r
532 2005-12-01  Gaetano Giunta <giunta.gaetano@gmail.com>\r
533 \r
534         * moved the jsonrpc implementation and the new wsdl stuff to a separate\r
535         CVS module; updated the makefile to reflect it\r
536 \r
537 2005-11-24  Gaetano Giunta <giunta.gaetano@gmail.com>\r
538 \r
539         * modified php_xmlrpc_decode() to work on xmlrpcmessages too, besides\r
540         xmlrpcvals. To achieve this, added a new method: xmlrpcmsg::kindOf()\r
541 \r
542 2005-11-22  Gaetano Giunta <giunta.gaetano@gmail.com>\r
543 \r
544         * released as 2.0 RC2\r
545 \r
546 2005-11-21  Gaetano Giunta <giunta.gaetano@gmail.com>\r
547 \r
548         * xmlrpc.inc: fix warnings about references for PHP 4.1.X\r
549 \r
550         * Whitespace cleanup on all the lib\r
551 \r
552 2005-11-16  Gaetano Giunta <giunta.gaetano@gmail.com>\r
553 \r
554         * xmlrpc.inc: rewritten xmlrpc_encode_entitites adding two extra parameters\r
555         that specify input and output charset encodings. This corrects the bug that\r
556         prevented native UTF-8 strings to be correctly serialized (to have them\r
557         encoded the user must set $xmlrpc_internalencoing appropriately).\r
558 \r
559         * xmlrpc.inc: added new method xmlrpcmsg::parseResponseHeaders(), refactoring\r
560         parseResponse(). This makes the code more modular and eases subclassing.\r
561 \r
562         * xmlrpc.inc: set cookies and http headers to xmlrpcresp objs even when calls\r
563         to send() do not complete correctly\r
564 \r
565         * added new file: jsonrpcs.inc, to accomodate server jsonrpc objects in the future\r
566 \r
567         * jsonrpc.inc: slow progress...\r
568 \r
569 2005-11-10  Gaetano Giunta <giunta.gaetano@gmail.com>\r
570 \r
571         * xmlrpc.inc: fixed the xmlrpc_client send and sendpayloadhttps methods\r
572         to fix errors in calling https servers;\r
573         added a new xmlrpc_client->setkey method to allow usage of client-side ssl\r
574         certs in recent php builds;\r
575         added to xmlrpcresp objects a content_type var, to be used in HTTP headers\r
576 \r
577         * xmlrpcs.inc: separate generation of content-type http header and xml prologue\r
578         from the service() method, to ease subclassing\r
579 \r
580 2005-11-03  Gaetano Giunta <giunta.gaetano@gmail.com>\r
581 \r
582         * xmlrpc.inc: moved the 'text/xml' mimetype string as class var of the xmlrpcmsg\r
583         object instead of having it cabled into xmlrpc_client->send(): this allows to\r
584         create subclasses of xmlrpcmsg that use a different mimetype\r
585 \r
586         * jsonrpc.inc: added a new file, with an extremely experimental set of classes,\r
587          designed to implement a json-rpc client and server, taking advantage of the\r
588          existing xml-rpc infrastructure\r
589 \r
590 2005-10-28  Gaetano Giunta <giunta.gaetano@gmail.com>\r
591 \r
592         * xmlrpc.inc: changed constructor method for xmlrpcresp, making it smarter in\r
593         case user does not declare the type of value it is passing to it;\r
594         minor changes in serialization of xmlrpcresp with error codes, so that it\r
595         utputs LF instead of CRLF on windows boxes after an FTP transfer of the code, too\r
596 \r
597 2005-10-26  Gaetano Giunta <giunta.gaetano@gmail.com>\r
598 \r
599         * xmlrpc.inc: added a new var of class xmlrpc_client, indicating what kind of\r
600         object will be stored in the value() of xmlrpcresp's gotten from the send()\r
601         method: xmlrpxc objects, plain php variables or raw xml. This allow the coder\r
602         to make use of xmlrpc_decode for better performances if he wishes so.\r
603         Modified creator of xmlrpcresp class to allow it to distinguish between being\r
604         created out of raw xml or a plain php string (in the former case, serialization\r
605         is still possible, opening a new world of opportunity for server-side programming:\r
606         the php function implementing a web service has to provide the xml for the\r
607         return value on its own).\r
608         Modified xmlrpc_client::multicall() to suit; also added a new parameter which\r
609         allows calls to multicall without automatic fallback to many-calls in case of\r
610         error (speeding up the process of doing a failed multicall() call quite a bit)\r
611         Fixed two bugs in guess_encoding.\r
612         Audited all regexps and fixed some.\r
613         xmlrpc_client::send() does not call xmlrpcmsg::parseresponsefile() anymore.\r
614         Shuffled parseresponse() a little bit\r
615 \r
616         * testsuite.php: added a new testcase for the modifications to multicall():\r
617         now we test the case where xmlrpc_client returns php values, too\r
618 \r
619 2005-10-24  Gaetano Giunta <giunta.gaetano@gmail.com>\r
620 \r
621         * xmlrpc.inc: fixed guess_encoding() to always return uppercase chars\r
622 \r
623         * added new file: benchmark.php. It contains a few tests used to evaluate\r
624         speed of the lib in common use cases\r
625 \r
626         * added file parse_args.php, containing common code for benchmark and\r
627         testsuite, and modified testsuite.php accordingly\r
628 \r
629         * modified makefile adding new files\r
630 \r
631         * testsuite.php: added a couple of new test cases; fixed one warning\r
632         emitted in php 5 E_STRICT mode\r
633 \r
634 2005-10-20  Gaetano Giunta <giunta.gaetano@gmail.com>\r
635 \r
636         * xmlrpc.inc: modify 3d param of ParseResponse(), allowing the function to\r
637         return the raw xml received as value of the xmlrpcresponse object.\r
638         This allows eg. to have epi-xmlrpc decode the xml for faster execution.\r
639 \r
640 2005-10-09  Gaetano Giunta <giunta.gaetano@gmail.com>\r
641 \r
642         * xmlrpc.inc: fixed error that prevented usage of HTTPS (the client\r
643         always determined that ssl support was not present)\r
644 \r
645 2005-10-03  Gaetano Giunta <giunta.gaetano@gmail.com>\r
646 \r
647         * xmlrpc.inc, xmlrpcs.inc: revert direction of stack growth during xml\r
648         parsing for faster execution time; add support for detecting charset\r
649         encoding of received xml; add support for cookies; better parsing of\r
650         javadoc when building stub code in wrap_php_function; add a lot of\r
651         javadoc comments everywhere; rewrite most error messages\r
652 \r
653         * testsuite.php: add many tests for newly introduced features\r
654 \r
655         * server.php: add a couple of new functions to support debugging new\r
656         features\r
657 \r
658         * debugger: add switches to enable all the latest lib features; minor\r
659         improvements to layout\r
660 \r
661         * synch included phpunit with latest PEAR release\r
662 \r
663         * reorganize files included in the distribution in a new hierarchy of folders\r
664 \r
665         * bump revision number to 2.0RC1 and release\r
666 \r
667 2005-8-14  Miles Lott <milos@groupwhere.org>\r
668 \r
669         * xmlrpc.inc, xmlrpcs.inc: Remove all use of eval() to avoid potential\r
670         security hole.\r
671 \r
672         * As of this release we are no longer php3-compatible.\r
673 \r
674 2005-8-10 Miles Lott <milos@groupwhere.org>\r
675 \r
676         * xmlrpc.inc, xmlrpcs.inc: Switched to using $GLOBALS instead of calling\r
677         global $varname\r
678 \r
679 2005-07-22  Miles Lott <milos@groupwhere.org>\r
680 \r
681         * Removed: bug_* files\r
682 \r
683 2005-07-14  Gaetano Giunta <giunta.gaetano@gmail.com>\r
684 \r
685         * debugger: added a workaround to disable using the debugger for attacking\r
686         older versions of the lib\r
687 \r
688         * testsuite.php: added code to test wrap_xmlrpc_method;\r
689         use different wording for failed tests\r
690 \r
691         * xmlrpcs.inc: change for() with foreach() in system.* methods implementations;\r
692         remove a possible cause of php warning;\r
693 \r
694         * xmlrpc.inc: let wrap_php_function and wrap_xmlrpc_method find suitable\r
695         function names if default function names are already in use;\r
696         correct wrap_xmlrpc_method to not set http protocol to 1.0 when not asked to;\r
697         detect curl compiles without SSL\r
698 \r
699 2005-07-14  Gaetano Giunta <giunta.gaetano@gmail.com>\r
700 \r
701         * xmlrpc.inc: more auto-fix of xmlrpc_client path: '' -> '/';\r
702         change to the method used for detecting failed evals (php 4.0.x compatibility);\r
703         complete rework of return-by-ref functions to comply with php 4.4.0\r
704 \r
705         * xmlrpcs.inc: change to the method used for detecting failed evals (php 4.0.x\r
706         compatibility)\r
707 \r
708         * testsuite.php: major rewrite of the multi- tests, to give better feedback on\r
709         number of failed tests;\r
710         flush html page title to screen before starting tests;\r
711 \r
712 2005-07-13  Gaetano Giunta <giunta.gaetano@gmail.com>\r
713 \r
714         * xmlrpc.inc: let xmlrpcmsg creator be forgiving of target paths that miss the\r
715         starting '/' char;\r
716         completely reworked assign-by-ref to be compliant with php 4.4.0 stricter\r
717         warnings\r
718 \r
719         * testsuite.php: added ability to be run from cli: (really dumb) separation of\r
720         html and plain text outputs + parsing of argv parameters\r
721 \r
722 2005-07-12  Gaetano Giunta <giunta.gaetano@gmail.com>\r
723 \r
724         * xmlrpc.inc: compatibility fixes with PHP versions 4.0.x (and remove some for\r
725         PHP 3)\r
726 \r
727         * xmlrpcs.inc: compatibility fixes for PHP 4.0.x versions\r
728 \r
729         * testsuite.php: better support for running with php versions 4.0.x;\r
730         do not generate runtime errors but finish tests anyway if some calls to\r
731         localhost fail;\r
732         correctly detect a localhost port different from 80 for running tests against\r
733 \r
734 2005-07-11  Gaetano Giunta <giunta.gaetano@gmail.com>\r
735 \r
736         * xmlrpc.inc: preliminary building of method signature and docs in\r
737         wrap_php_function;\r
738         fix a bug in extracting function description from javadoc block in\r
739         wrap_php_function;\r
740         small fix for better compatibility with php < 4.2.0\r
741 \r
742         * added compat subdir with extra code, taken form PEAR package Compat, to let\r
743         the lib run fine with php 4 versions < 4.1\r
744 \r
745 2005-07-10  Gaetano Giunta <giunta.gaetano@gmail.com>\r
746 \r
747         * xmlrpc.inc: some nazi whitespace corrections;\r
748         declared global $xmlrpcBoolean too (was the only one missing);\r
749         used @eval inside getval() to have less path disclosure security reports filed\r
750         in the future;\r
751         added new global var: $xmlrpcValue, to be used in server dispatch maps as\r
752         placeholder for a param which can be of any kind;\r
753         big chunks (but still incomplete) of javadoc parsing in wrap_php_function\r
754         + changed type of return val - now it is the complete array to be put in the\r
755         dispatch map\r
756 \r
757         * xmlrpcs.inc: let previous error handler be called by server to handle errors\r
758         even if in debug level 3;\r
759         default to compress responses if zlib installed;\r
760         added a new val useful for only checking number (not type) of params in method\r
761         calls;\r
762         let user use object methods in dispatch map using the\r
763         array($obj, 'fmethodname') format\r
764 \r
765         * server.php: Added code called by testsuite.php to exercise registration of\r
766         object methods as xmlrpc methods and auto-registration of php functions as xmlrpc\r
767         methods\r
768 \r
769         * testsuite.php: added tests to exercice server registering object methods as\r
770         xmlrpc methods and automatic registration of php functions as server methods;\r
771         added a hint to enable debug if some test goes wrong;\r
772         renamed https test for better clarity\r
773 \r
774 2005-07-07  Gaetano Giunta <giunta.gaetano@gmail.com>\r
775 \r
776         * xmlrpc.inc: added function to be used for 'guestimating' charset encoding of\r
777         received xml (not activated yet)\r
778 \r
779         * server.php: Let server compress content by default if user asks so: it allows\r
780         testsuite to check for compressed responses\r
781 \r
782         * testsuite.php: added suite of tests for compressed responses; test CURL\r
783         (http1.1) with all possible compression combinations too\r
784 \r
785 2005-07-06  Gaetano Giunta <giunta.gaetano@gmail.com>\r
786 \r
787         * xmlrpc.inc: Enable setting usage of keepalives on/off (for CURL cases);\r
788         implement compression of xmlrpc requests; enable new syntax of xmlrpclient\r
789         constructor: 1 - allow preferred http method to be set at creation time,\r
790         2 - allow user to insert a single complete URL as only parameter and parse it;\r
791         try to detect if curl is present whether it has been compiled w. zlib to enable\r
792         automatically the reception of compressed responses\r
793 \r
794         * xmlrpcs.inc: do not add into logs the content of the request, if it was\r
795         received gzipped/deflated, to avoid breaking the xml sent back as response\r
796         (NB: might be investigated further: is the problem caused by windows chars in\r
797         the range 128-160 ?)\r
798 \r
799         * testsuite.php: run all localhost tests 2 more times, to stress request\r
800         compression;\r
801         run all localhost tests in a row using keepalives, to test keepalive\r
802         functionality\r
803 \r
804 2005-07-05  Gaetano Giunta <giunta.gaetano@gmail.com>\r
805 \r
806         * xmlrpc.inc: let CURL pass back to caller function the complete PHP headers\r
807         as it did before: it enables better logging / debugging of communication;\r
808         small change to the way CURL declares its ability to receive compressed\r
809         messages (fix for the case where zlib is compiled in PHP but not in curl);\r
810         added Keep-alive (ON BY DEFAULT) for http 1.1 and https messages (had to modify\r
811         a lot of functions for that);\r
812         always make sure a 'Connection: close' header is sent with curl connections if\r
813         keep-alive is not wanted\r
814 \r
815         * phpunit.php: switched to PEAR PHPUnit (rel 1.2.3), since it is maintained a\r
816         lot more than the old version we were using\r
817 \r
818         * added new folder with code of phpunit classes\r
819 \r
820         * testsuite.php: added a new run of tests to check for compliance of client\r
821         when using http 1.1;\r
822         switched to PEAR PHPUnit classes;\r
823         divided test for client ability to do multicall() into 2 separate tests\r
824 \r
825 2005-06-30  Gaetano Giunta <giunta.gaetano@gmail.com>\r
826 \r
827         tagged and released version 1.1.1, backporting security fixes from HEAD\r
828 \r
829 2005-06-28  Gaetano Giunta <giunta.gaetano@gmail.com>\r
830 \r
831         * xmlrpcs.inc: fix changes introuced yesterday in a rush;\r
832         do not list system.* methods for a server that has them explicitly disabled\r
833 \r
834         * bug_inject.xml: new test case used to check for code injection vulnerability\r
835 \r
836         * testsuite.php: added a test case for zero parameters method calls;\r
837         added two test cases for recently found code injection vulnerabilities\r
838 \r
839 2005-06-27  Gaetano Giunta <giunta.gaetano@gmail.com>\r
840 \r
841         * xmlrpc.inc: (tentative) fix for security problem reported by\r
842         security@gulftech.org: we were not properly php-escaping xml received for\r
843         BASE64 and NAME tags;\r
844         some more patching related to junk received in xml messages/responses: if the\r
845         PHP code built from the parsed xml is broken, catch any generated errors\r
846         without echoing it to screen but take note of the error and propagate to user\r
847         code\r
848 \r
849         * xmlrpcs.inc: some more patching related to junk received in xml messages/\r
850         responses: if the PHP code built from the parsed xml is broken, catch any\r
851         generated errors without echoing it to screen but take note of the error and\r
852         propagate to user code\r
853 \r
854 2005-06-24  Gaetano Giunta <giunta.gaetano@gmail.com>\r
855 \r
856         * xmlrpc.inc: fixed php_xmlrpc_encode detection of php arrays (again!);\r
857         removed from wrap_php_function the part about setting a custom error handler\r
858         (it can be activated using the more general $server->setdebug(3) anyway)\r
859 \r
860         * xmlrpcs.inc: added to server the capability to trap all processing errors\r
861         during execution of user functions and add them to debug info inside responses;\r
862         return a (new) xmlrpcerr response instead of raising some obscure php execution\r
863         error if there is an undefined function in the dispatch map\r
864 \r
865         * testsuite.php: Added new testcases for recently implemented stuff\r
866 \r
867 2005-06-23  Gaetano Giunta <giunta.gaetano@gmail.com>\r
868 \r
869         * xmlrpc.inc: added new method: xmlrpcval->structmemexists, to check for\r
870         presence of a wanted struct member without having to loop through all members;\r
871         fix wrap_php_functions: correctly return false for php internal functions,\r
872         whose param list is unknown;\r
873         let addscalar fail as it should if called on struct vals;\r
874         fix addstruct: do not fail when called for adding stuff to initialized structs;\r
875         removed a warning generated when calling addscalar with inexistent type;\r
876         massive code review for speed: replaced each() loops with foreach(), removed\r
877         lots of useless assignments and duplications of data;\r
878         added 'http11' as valid method param for xmlrpclient->send: makes use of curl\r
879         for sending http 1.1 requests;\r
880         changed a couple '=' into '=&' where objects are returned;\r
881         fixed wrap_php_function() to better detect php errors while processing wrapped\r
882         function\r
883 \r
884         * xmlrpcs.inc: Fix php warnings generated when clients requested method\r
885         signature / description for a method that had none in its dispatch map;\r
886         turned server->debug into an integer value that will change the amount of\r
887         logging going as comments into xmlrpc responses\r
888 \r
889         * server.php: set default server debug level to 2\r
890 \r
891         * testsuite.php: removed calls to deleted functions (xmlrpc_encode,\r
892         xmlrpc_decode);\r
893         added html page title describing target servers used for tests;\r
894         added an assign-by-ref\r
895 \r
896         * phpunit.php: Do not consider as failures PHP 5 E_STRICT errors (arbitrary\r
897         choice, but lib is targeted at PHP 4)\r
898 \r
899 2005-06-22  Gaetano Giunta <giunta.gaetano@gmail.com>\r
900 \r
901         * xmlrpc.inc: removed lottsa old code that had been left in commented\r
902 \r
903         * xmlrpc.inc: fixed setting of proxy port\r
904 \r
905         * xmlrpc.inc: removed one warning when trying to decompress junk sent as\r
906         deflated response\r
907 \r
908         * xmlrpc.inc: changed the error messages (but not the code) that will be found\r
909         in xmlrpcresponses when there are socket errors, to differentiate from HTTP\r
910         errors\r
911 \r
912         * xmlrpc.inc: refactored xmlrpcclient->sendpayloadHTTPS: now it calls a new\r
913         method (sendpayloadCURL) that could be used also for generating HTTP 1.1\r
914         requests\r
915 \r
916         * xmlrpc.inc: added two new methods: wrap_php_function and wrap_xmlrpc_method:\r
917         designed to let the lazy programmer automagically convert php functions to\r
918         xmlrpc methods and vice versa. Details are in the code\r
919 \r
920         * debugger/*: added initial revision of a 'universal xmlrpc debugger'\r
921 \r
922 2005-06-20  Gaetano Giunta <giunta.gaetano@gmail.com>\r
923 \r
924         * xmlrpc.inc: replace usage of 'echo' with error_log when errors arise\r
925         in manipulation of xmlrpcval objects\r
926 \r
927         * xmlrpc.inc: replaced <br> with <br /> in dump function\r
928 \r
929         * xmlrpc.inc: added method structsize to xmlrpcval class (alias for arraysize)\r
930 \r
931         * xmlrpc.inc: addarray() now will add extra members to an xmlrpcval object\r
932         of array type; addstruct() can be used to add members to an xmlrpcval object\r
933         of struct type\r
934 \r
935         * xmlrpcs.inc: Added member allow_system_funcs to server: controls whether the\r
936         server accepts or not calls to system.* functions\r
937 \r
938 2005-05-10  Gaetano Giunta <giunta.gaetano@gmail.com>\r
939 \r
940         * xmlrpc.inc: fix regression in php_xmlrpc_encode when encoding php hashes;\r
941         fix decompression of gzip/deflated xmlrpc responses;\r
942         set user agent string correctly in SSL mode (was forgetting lib name);\r
943         add allowed encoding http headers in requests;\r
944         do not pass http headers back from curl to parseresponse, to avoid re-decoding\r
945         compressed xml or http 100 headers\r
946 \r
947         * xmlrpcs.inc: added method setDebug;\r
948         renamed compress_output to compress_response;\r
949         do not try to set http headers if they have already been sent, because trying\r
950         to do so will raise a PHP error, and if headers have been sent something has\r
951         gone wrong already (shall we send a meaningful error response instead?)\r
952 \r
953 2005-05-08  Gaetano Giunta <giunta.gaetano@gmail.com>\r
954 \r
955         * xmlrpcs.inc, xmlrpcs.inc: reverted to usage of '=& new' for better\r
956         performance on (some) php4 installs.\r
957         NB: PHP 3 compatibility is deprecated from now on!\r
958 \r
959         * xmlrpc.inc: decode xmlrpc boolean type to native php boolean\r
960 \r
961         * xmlrpcs.inc, xmlrpcs.inc: switched $_xh[$parser] to $_xh, since indexing\r
962         an array by object will give a warning in php 5 (and we were resetting the\r
963         array of _xh elements on every call anyway)\r
964 \r
965         * xmlrpc.inc: commented unused code used originally for escaping content\r
966 \r
967         * xmlrpc.inc: commented deprecated methods xmlrpc_encode and xmlrpc_decode\r
968 \r
969         * xmlrpc.inc: php_xmlrpc_encode: encode integer-indexed php arrays as xmlrpc\r
970         arrays instead of structs; if object given to encode is an xmlrpcval return it\r
971         instead of reencoding (makes easier calling encode on an array of xmlrpcvals)\r
972 \r
973         * xmlrpcs.inc: added $debug field to server class; if false will prevent\r
974         the server from echoing debug info back to the client as xml comment\r
975 \r
976         * xmlrpcs.inc: let the server add to the debug messages the complete request\r
977         payload received and (if php installed as apache module) http headers, so that\r
978         the client in debug mode can echo a complete fingerprint of the communication\r
979 \r
980         * xmlrpcs.inc: changed API of ParseRequest method: now it cannot be called\r
981         without a 'data' parameter; added 2nd parameter (http encoding); changed the\r
982         call to this method from inside service() method\r
983 \r
984         * xmlrpc.inc, xmlrpcs.inc: enable both server and client to parse compressed xml\r
985         (if php is compiled with zlib); client should also be able to decode chunked\r
986         http encoding\r
987 \r
988         * xmlrpc.inc: add support for proxies (only basic auth supported); default port\r
989         is 8080 (if left unspecified)\r
990 \r
991         * xmlrpc.inc: use lowercase for names of http headers received (makes using\r
992         them much simpler, since servers can use any upper/lowercase combination)\r
993 \r
994         * xmlrpc.inc: bumped version number to '2.0 beta'\r
995 \r
996 2005-05-08  Gaetano Giunta <giunta.gaetano@gmail.com>\r
997 \r
998         * release of version 1.1\r
999 \r
1000 2005-04-24  Gaetano Giunta <giunta.gaetano@gmail.com>\r
1001 \r
1002         * xmlrpcs.inc: removed charset declaration from xml prologue of responses,\r
1003         since we are now escaping all non-ascii chars in an encoding-independent way\r
1004 \r
1005         * bug_http.xml: modified to exercise some extra functonality of the lib\r
1006         (it should now be failed by the current PEAR implementation of the lib)\r
1007 \r
1008         * xmlrpc.inc: bumped up rev. number to 1.1\r
1009 \r
1010         * doc/xmlrpc_php.xml, doc/announce1_1.txt: documentation updates\r
1011 \r
1012         * Makefile: updated to reflect new xml doc source, modified filelist\r
1013 \r
1014 2005-04-17  Gaetano Giunta <giunta.gaetano@gmail.com>\r
1015 \r
1016         * client.php, agesort.php, introspect.php, introspect_demo.php,\r
1017         which.php, test.pl, test.py: use as default target the server.php page hosted\r
1018         on phpxmlrpc.sf.net\r
1019 \r
1020         * server.php: fix for register_globals off; refer to docs on phpxmlrpc.sf.net\r
1021 \r
1022 2005-04-15 Miles Lott <milos@groupwhere.org>\r
1023 \r
1024         code formatting and comments\r
1025 \r
1026 2005-04-03  Gaetano Giunta <giunta.gaetano@gmail.com>\r
1027 \r
1028         * xmlrpc.inc: make use of global var $xmlrpcName in building User_Agent HTTP\r
1029         header (in conjunction with $xmlrpcVersion)\r
1030 \r
1031         * agesort.php, client.php, comment.php, dicuss.php, mail.php, server.php,\r
1032         which.php: various janitorial fixes\r
1033         + always html escape content received from xmlrpc server or from user input\r
1034         + make the scripts run fine with register_globals off an register_long_arrays off\r
1035         + always use the functions php_xmlrpc_en(de)code, even if the EPI extension\r
1036         is not installed\r
1037         + in mail.php, allow user to see script source even if support for .phps files\r
1038         is not configured in the local web server\r
1039 \r
1040         * testsuite.php: better detection of local webserver hostname for running tests\r
1041         against (if the user did not supply a webserver name)\r
1042 \r
1043 2005-03-21  Gaetano Giunta <giunta.gaetano@gmail.com>\r
1044 \r
1045         * xmlrpcs.inc: revert to a PHP3 compatible script (change '=& new' to '= new')\r
1046 \r
1047         * xmlrpc.inc: revert to a PHP3 compatible script (lottsa fixes)\r
1048 \r
1049         * testsuite.php: default to using local server as test target if no user\r
1050         provided values are available instead of heddley.com server\r
1051 \r
1052         * testsuite.php: play nice to PHP3 in retrieving user-passed values\r
1053 \r
1054         * testsuite.php: fix constructor method name for a type of tests\r
1055 \r
1056         * phpunit.php: fix all cases of call-time-pass-by-ref\r
1057 \r
1058         * phpunit.php: rename Exception class to _Exception if the script is run with\r
1059         PHP 5 (exception is a reserverd word)\r
1060 \r
1061 2005-03-19  Gaetano Giunta <giunta.gaetano@gmail.com>\r
1062 \r
1063         * xmlrpc.inc: fixed bug in new http header parsing code in case there is\r
1064         no correct separator between response headers and body\r
1065 \r
1066         * xmlrpc.inc: added recognizing and stripping of HTTP/1.1 100 response headers\r
1067 \r
1068         * xmlrpc.inc: strip extra whitespace from response body, as well as any junk\r
1069         that comes after the last </MethodResponse> tag. It allows the server code to\r
1070         be put on public providers that add e.g. javascript advertising to served pages\r
1071 \r
1072         * xmlrpc.inc: removed unused parts of code, trailing whitespace\r
1073 \r
1074         * xmlrpc.inc: fix possible bug (?) in xmlrpc_ee for BOOLEAN values: true was\r
1075         being handled differently than false\r
1076 \r
1077         * testsuite.php: added a new file-based test to stress the response parsing\r
1078         modifications recently introduced; enabled debugging for file based tests\r
1079 \r
1080 2005-03-15  Gaetano Giunta <giunta.gaetano@gmail.com>\r
1081 \r
1082         * xmlrpc.inc: fixed missing declaration of global vars in xmlrpc_dh,\r
1083         sendpayloadhttps and sendpayloadhttp10\r
1084 \r
1085         * xmlrpc.inc: changed error message for invalid responses: 'enable debugging'\r
1086         is more clear that 'enabling debugging' (the user is being encouraged to do it)\r
1087 \r
1088         * xmlrpc.inc: rewrote HTTP response header parsing. It should be more tolerant\r
1089         of invalid headers, give more accurate error messages and be marginally faster,\r
1090         too.\r
1091 \r
1092         * xmlrpc.inc: cosmetic whitespace fixes and remove useless one-liners\r
1093 \r
1094         * xmlrpc.inc: build a shorter PHP command line to be evaluated for rebuilding\r
1095         values from parsed xml: use '$val =& nex xmlrpcval("value")' for string values\r
1096         instead of '$val =& nex xmlrpcval("value", $xmlrpcString)'\r
1097 \r
1098         * xmlrpc.inc: fix change introduced 2005/01/30 moving call to curl_close()\r
1099         too early: it did not work on error situations\r
1100 \r
1101         * testsuite.php: fix name of testAddingTest method, renamed testErrosString\r
1102         into testErrorString and removed useless warning for register_globals=off case\r
1103 \r
1104 2005-02-27  Gaetano Giunta <giunta.gaetano@gmail.com>\r
1105 \r
1106         * xmlrpc.inc: do not echo XML parsing error to screen (it is already dumped\r
1107         into error log)\r
1108 \r
1109         * xmlrpc.inc: set hdrs field into response object in case of XML parsing error\r
1110         (uniform behaviour with other responses)\r
1111 \r
1112 2005-02-26  Gaetano Giunta <giunta.gaetano@gmail.com>\r
1113 \r
1114         * xmlrpc.inc: use global var $xmlrpcVersion as number for user agent string\r
1115 \r
1116         * xmlrpcs.inc: eliminate server side PHP warning and give back to caller\r
1117         a better error msg in case the called method exists but no signature matches\r
1118         the number of parameters\r
1119 \r
1120 2005-02-20  Gaetano Giunta <giunta.gaetano@gmail.com>\r
1121 \r
1122         * xmlrpc.inc: accept a + sign in front of floats / integers, since the spec\r
1123         clearly mentions it\r
1124 \r
1125         * xmlrpc.inc, xmlrpcs.inc: renamed function XmlEntities to xmlrpc_encode_entitites,\r
1126         to avoid using the same name as an array already defined\r
1127 \r
1128         * xmlrpc.inc: fix bug introduced with escaping of UTF8 chars in xmlrpc error\r
1129         responses: correct behaviour is to escape chars inside serialize(), not when\r
1130         calling the xmlrpcresp creator\r
1131 \r
1132         * testsuite.php: made test suite more friendly to modern PHP configs, allowing\r
1133         register_globals to be off and to set in the URL all testing parameters;\r
1134         added tests for newly introduced fixes; renamed existing tests acording to the\r
1135         docs inside phpunit.php (e.g. no subclass of TestCase should have a name\r
1136         starting with test...)\r
1137 \r
1138 2005-02-19  Gaetano Giunta <giunta.gaetano@gmail.com>\r
1139 \r
1140         * xmlrpc.inc: accept patch 683153 by mah0: if timeout is set, allow all socket\r
1141         operations to timeout at the given time, not only the socket connection\r
1142 \r
1143 2005-02-13  Gaetano Giunta <giunta.gaetano@gmail.com>\r
1144 \r
1145         * xmlrpc.inc: be tolerant to double values received in exponential notation:\r
1146         even though the spec forbids their usage PHP is fine with them\r
1147 \r
1148         * xmlrpc.inc: fix bug: new xmlrpcval('-1') was creating an empty value instead\r
1149         of a string value!\r
1150 \r
1151         * xmlrpc.inc, xmlrpcs.inc: fix the payload encoding changes introduced by\r
1152         Andres Salomon on 2004-03-17: sending named html entities inside an xml chunk\r
1153         makes it invalid, and thus renders the lib absolutely non-interoperable with\r
1154         any other xmlrpc implementation; moreover the current implementation only ever\r
1155         worked for non-ascii requests, while breaking client-parsing of responses\r
1156         containing non-ascii chars.\r
1157         The principle of using entities is preserved though, because it allows the\r
1158         client to send correct xml regardless of php internal charset encoding vs.\r
1159         xml request charset encoding, but using 'character references' instead.\r
1160 \r
1161         * xmlrpc.inc: encode (non-ascii) chars into charset entities also for error\r
1162         strings\r
1163 \r
1164         * xmlrpcs.inc: encode (non-ascii) chars into charset entities also for debug\r
1165         messages\r
1166 \r
1167         * xmlrpcs.inc: added 'Accept-Charset' header in http request to let the server\r
1168         know what kind of charset encoding we do expect to be used for responses\r
1169 \r
1170         * xmlrpc.inc, xmlrpcs.inc: explicitly tell the xml parser what charset the\r
1171         application expects to receive content in (notably strings). A new variable,\r
1172         $xmlrpc_internalencoding, (defaulting to ISO-8859-1) defines what charset the\r
1173         parser will use for passing back string xmlrpcvals to the PHP application\r
1174         (both server-side and client-side).\r
1175         This allows transparent usage of e.g. UTF-8 for encoding xml messages between\r
1176         server and client and ISO-8859-1 for internal string handling.\r
1177         ISO-8859-1 is, AFAIK, PHP internal encoding for all installs except\r
1178         mbstring-enabled ones.\r
1179 \r
1180 2005-02-12  Gaetano Giunta <giunta.gaetano@gmail.com>\r
1181 \r
1182         * xmlrpcs.inc: use '$var =& new(' construct to assign objects: on older versions\r
1183         of PHP objects are first built then copied over if the ampersand is omitted.\r
1184         Using it should make the code a little bit faster...\r
1185 \r
1186         * doc/xmlrpc.php: update lib version number, release date in preparation for\r
1187         next release\r
1188 \r
1189         * makefile: update lib version number in preparation for next release\r
1190 \r
1191         * xmlrpc.inc: split up parsing of xmlrpc INT and DOUBLE values. This allows\r
1192         finer-grained control over valid values: now the '.' char is not allowed\r
1193         any more inside int values.\r
1194 \r
1195         * xmlrpc.inc: fix for bug #560303: ints and doubles starting with '0' chars are\r
1196         no more parsed as octal values\r
1197 \r
1198 2005-01-30  Gaetano Giunta <giunta.gaetano@gmail.com>\r
1199 \r
1200         * xmlrpc.inc: Modifed last change by Miles: the functions php_xmlrpc_encode\r
1201         and php_xmlrpc_decode are now always defined, regardless of the existence of\r
1202         XMLRPC-EPI.  This allows users to start using these functions as the 'default'\r
1203         functions, and pave the way for future deprecation of xmlrpc_encode/encode\r
1204         while maintaining a stable API.\r
1205 \r
1206         * xmlrpc.inc: use '$var =& new(' construct to assign objects: on older versions\r
1207         of PHP objects are first built then copied over if the ampersand is omitted.\r
1208         Using it should make the code a little bit faster...\r
1209 \r
1210         * xmlrpc.inc: close curl connection as soon as possible for https requests:\r
1211         it could save some memory / resources.\r
1212 \r
1213         * xmlrpc.inc: added some extra info in the PHP error log message generated\r
1214         when an invalid xmlrpc integer/float value is encountered and we try to\r
1215         deserialize it.\r
1216 \r
1217         * xmlrpc.inc: added @ char before fsockopen to avoid echoing useless warnings\r
1218         when connection to server fails; added the same to avoid echoing warnings when\r
1219         deserializing data of an unknown type\r
1220 \r
1221         * xmlrpc.inc: reset the _xh array on each xmlrpc call: otherwise a new array\r
1222         member is created for each consecutive call and never destroyed, thus making it\r
1223         impossible to build an xmlrpc-client daemon beacuse of memory leaking.\r
1224 \r
1225         * xmlrpc.inc: declare global the variables that are used as 'constants',\r
1226         so that xmlrpc.inc will work even if it is included from within a function\r
1227 \r
1228 2004-12-27  Miles Lott <milos@groupwhere.org>\r
1229         * xmlrpc.inc: A new constant, XMLRPC_EPI_ENABLED, is defined depending on\r
1230         the existence of the function, xmlrpc_decode.  This function will exist in\r
1231         PHP if the      extension, XMLRPC-EPI (http://xmlrpc-epi.sourceforge.net), is\r
1232         loaded.  It defines the functions xmlrpc_encode and xmlrpc_decode, which\r
1233         will conflict with functions of the same name in xmlrpc.inc.  If this\r
1234         extension is loaded, we instead use the names php_xmlrpc_encode and\r
1235         php_xmlrpc_decode.  Please look at server.php, testsuite.php, etc., for\r
1236         how this should be handled if using these functions.\r
1237 \r
1238 2003-04-17  Andres Salomon  <dilinger@voxel.net>\r
1239         * xmlrpc.inc: encode strings using htmlentities() instead of\r
1240         htmlspecialchars(), and add xmlrpc_html_entity_xlate().  This\r
1241         should fix longstanding issues with sending weird chars (from\r
1242         non-USASCII codesets like UTF-8, ISO-8859-1, etc) that caused\r
1243         the xml parser to choke.  Multi-byte chars are now changed to\r
1244         entities before sending, so that the xmlrpc server doesn't need\r
1245         to know the encoding type of the POST data.\r
1246         * xmlrpcs.inc: call xmlrpc_html_entity_xlate before parsing\r
1247         request packet.  The parser chokes on unknown entities (the\r
1248         entities created by htmlentities() are exactly that; html\r
1249         entities, not xml entities), so they must be converted from\r
1250         name form (&eacute;) to numerical form (&#233;).\r
1251 \r
1252 2003-01-12  Andres Salomon  <dilinger@voxel.net>\r
1253 \r
1254         * released 1.0.99.2.\r
1255         * Makefile: separate doc/Makefile a bit more from Makefile,\r
1256         and add clean rules.\r
1257 \r
1258 2003-01-10  Andres Salomon  <dilinger@voxel.net>\r
1259 \r
1260         * xmlrpc.inc: xmlrpcresp and parseResponse cleanups; variable\r
1261         name renames ('xv' to 'val', for example), type checking, and\r
1262         stricter default values.\r
1263         * xmlrpc.inc: fix xmlrpcresp's faultcode; return -1 for FAULT\r
1264         responses from the server whose faultcodes don't reflect any\r
1265         errors.\r
1266 \r
1267 2003-01-08  Andres Salomon  <dilinger@voxel.net>\r
1268 \r
1269         * xmlrpc.inc: rename $_xh[$parser]['ha'] to\r
1270         $_xh[$parser]['headers'].\r
1271         * xmlrpc.inc: fix bugs related to $_xh[$parser]['headers];\r
1272         some places treated this as an array, others as a scalar.\r
1273         Treat unconditionally as an array.  Also wrap header debugging\r
1274         output in PRE tags.\r
1275 \r
1276 2002-12-17  Andres Salomon  <dilinger@voxel.net>\r
1277 \r
1278         * released 1.0.99.\r
1279         * Makefile: changed the tarball format/dist rule to a more\r
1280         conventional form, as well as normal release updates.\r
1281         * xmlrpc.inc: added setSSLVerifyPeer and setSSLVerifyHost; as\r
1282         of curl 7.10, various certificate checks are done (by default).\r
1283         The default for CURLOPT_SSL_VERIFYHOST is to ensure the common\r
1284         name on the cert matches the provided hostname.  This breaks a\r
1285         lot of stuff, so allow users to override it.\r
1286         * doc/xmlrpc_php.sgml: updated documentation accordingly.\r
1287 \r
1288 2002-09-06  Geoffrey T. Dairiki  <dairiki@dairiki.org>\r
1289 \r
1290         Add support for system.multicall() to both the client\r
1291         and the server.\r
1292 \r
1293         * testsuite.php: Add new tests 'testServerMulticall',\r
1294         and 'testClientMulticall'.\r
1295 \r
1296         * xmlrpc.inc: Added new error messages for system.multicall().\r
1297         * xmlrpcs.inc: Added new procedure call system.multicall().\r
1298         See http://www.xmlrpc.com/discuss/msgReader$1208 for details.\r
1299 \r
1300         * xmlrpc.inc: Added system.multicall functionality to\r
1301         xmlrpc_client.  xmlrpc_client::send can now take an array of\r
1302         xmlrpcmsg's as an argument.  In that case it will attempt\r
1303         to execute the whole array of procure calls in a single\r
1304         HTTP request using system.multicall().  (If that attempt fails,\r
1305         then the calls will be excuted one at a time.)  The return\r
1306         value will be an array of xmlrpcresp's (or 0 upon transport\r
1307         failure.)\r
1308 \r
1309 2001-11-29  Edd Dumbill  <edd@usefulinc.com>\r
1310 \r
1311         * xmlrpc.inc: fixed problem with processing HTTP headers that\r
1312         broke any payload with more than one consecutive newline in it.\r
1313         also initialise the 'ac' array member to empty string at start.\r
1314         * testsuite.php: added unit test to exercise above bug\r
1315         * xmlrpcs.inc: fixed uninitialized variable $plist\r
1316 \r
1317 2001-09-25  Edd Dumbill  <edd@usefulinc.com>\r
1318 \r
1319         * xmlrpc.inc: applied urgent security fixes as identified by Dan\r
1320         Libby\r
1321 \r
1322 2001-08-27  Edd Dumbill  <edd@usefulinc.com>\r
1323 \r
1324         * xmlrpc.inc: Merged in HTTPS support from Justin Miller, with a\r
1325         few additions for better traceability of failure conditions. Added\r
1326         small fix from Giancarlo Pinerolo. Bumped rev to 1.0. Changed\r
1327         license to BSD license.\r
1328 \r
1329 2001-06-15  Edd Dumbill  <edd@usefulinc.com>\r
1330 \r
1331         * xmlrpcs.inc: Added \r into return MIME headers for server class\r
1332 \r
1333 2001-04-25  Edd Dumbill  <edd@usefulinc.com>\r
1334 \r
1335         * server.php: Added interop suite of methods.\r
1336 \r
1337 2001-04-24  Edd Dumbill  <edd@usefulinc.com>\r
1338 \r
1339         * testsuite.php: added in test case for string handling bug.\r
1340 \r
1341         * xmlrpc.inc: merged in minor fixes from G Giunta to fix\r
1342         noninitialization. Created new method, getval(), which includes\r
1343         experimental support for recreating nested arrays, from Giunta and\r
1344         Sofer. Fixed string handling bug where characters after </string>\r
1345         but before </value> weren't ignored. Added in support for native\r
1346         boolean type into xmlrpc_encode (Giunta).\r
1347 \r
1348         * xmlrpcs.inc: updated copyright notice\r
1349 \r
1350 2001-01-15  Edd Dumbill  <edd@usefulinc.com>\r
1351 \r
1352         * xmlrpc.inc: fixed bug with creation of booleans. Put checks in\r
1353         to ensure that numbers were really numeric. Fixed bug with\r
1354         non-escaping of dollar signs in strings.\r
1355 \r
1356         * testsuite.php: created test suite.\r
1357 \r
1358 2000-08-26  Edd Dumbill  <edd@usefulinc.com>\r
1359 \r
1360         * xmlrpcs.inc: added xmlrpc_debugmsg() function which outputs\r
1361         debug information in comments inside the return payload XML\r
1362 \r
1363         * xmlrpc.inc: merged in some changes from Dan Libby which fix up\r
1364         whitespace handling.\r
1365 \r
1366         * xmlrpcs.inc: added Content-length header on response (bug from\r
1367         Jan Varga <varga@utcru.sk>. This means you can no longer print\r
1368         during processing\r
1369 \r
1370         * xmlrpc.inc: changed ereg_replace to str_replace in several\r
1371         places (thanks to Dan Libby <dan@libby.com> for this).\r
1372 \r
1373         * xmlrpc.inc: added xmlrpc_encode() and xmlrpc_decode() from Dan\r
1374         Libby--these helper routines make it easier to work in native PHP\r
1375         data structures.\r
1376 \r
1377 2000-07-21  Edd Dumbill  <edd@usefulinc.com>\r
1378 \r
1379         * xmlrpc.inc: added xmlrpc_client::setCredentials method to pass\r
1380         in authorization information, and modified sendPayload* methods to\r
1381         send this OK. Thanks to Grant Rauscher for the impetus to do this.\r
1382         Also, made the client send empty <params></params> if there are no\r
1383         parameters set by the user.\r
1384 \r
1385         * doc/xmlrpc_php.sgml: updated documentation to reflect recent\r
1386         changes\r
1387 \r
1388 \r
1389 2000-07-18  Edd Dumbill  <edd@usefulinc.com>\r
1390 \r
1391         * server.php: added examples.invertBooleans method to server as a\r
1392         useful test method for boolean values.\r
1393 \r
1394         * xmlrpc.inc: rearranged the way booleans are handled to fix\r
1395         outstanding problems. Fixed calling addScalar() on arrays so it\r
1396         works. Finally fixed backslashification issues to remove the\r
1397         problem will dollar signs disappearing.\r
1398 \r
1399         * booltest.php: really fixed booleans this time.\r
1400 \r
1401 2000-06-03  Edd Dumbill  <edd@usefulinc.com>\r
1402 \r
1403         * xmlrpcs.inc: made signature verification more useful - now\r
1404         returns what it found was wrong\r
1405 \r
1406         * xmlrpc.inc: fixed bug with decoding dateTimes. Also fixed a bug\r
1407         which meant a PHP syntax error happened when attempting to receive\r
1408         empty arrays or structs. Also fixed bug with booleans always being\r
1409         interpreted as 'true'.\r
1410 \r
1411         * server.php: Added validator1 suite of tests to test against\r
1412         validator.xmlrpc.com\r
1413 \r
1414 \r
1415 2000-05-06  Edd Dumbill  <edd@usefulinc.com>\r
1416 \r
1417         * released 1.0b6\r
1418 \r
1419         * added test.pl and test.py, Perl and Python scripts that exercise\r
1420         server.php somewhat (but not a lot)\r
1421 \r
1422         * added extra fault condition for a non 200 OK response from the\r
1423         remote server.\r
1424 \r
1425         * added iso8601_encode() and iso8601_decode() to give some support\r
1426         for passing dates around. They translate to and from UNIX\r
1427         timestamps. Updated documentation accordingly.\r
1428 \r
1429         * fixed string backslashification -- was previously a little\r
1430         overzealous! new behavior is '\' --> '\\' and '"' -->\r
1431         '\"'. Everything else gets left alone.\r
1432 \r
1433 2000-04-12  Edd Dumbill  <edd@usefulinc.com>\r
1434 \r
1435         * updated and bugfixed the documentation\r
1436 \r
1437         * fixed base 64 encoding to only happen at serialize() time,\r
1438         rather than when a base64 value is created. This fixes the double\r
1439         encoding bug reported by Nicolay Mausz\r
1440         <castor@flying-dog.com>. The same approach ought to be taken with\r
1441         encoding XML entities in the data - this is a TODO.\r
1442 \r
1443         * integrated further code from Peter Kocks: used his new code for\r
1444         send(), adding a second, optional, parameter which is a timeout\r
1445         parameter to fsockopen()\r
1446 \r
1447 1999-10-11  Edd Dumbill  <edd@usefulinc.com>\r
1448 \r
1449         * added bug fixes from Peter Kocks <peter.kocks@baygate.com>\r
1450 \r
1451 1999-10-10  Edd Dumbill  <edd@usefulinc.com>\r
1452 \r
1453         * updated the documentation\r
1454 \r
1455 1999-10-08  Edd Dumbill  <edd@usefulinc.com>\r
1456 \r
1457         * added system.* methods and dispatcher, plus documentation\r
1458 \r
1459         * fixed bug which meant request::getNumParams was returning an\r
1460         incorrect value\r
1461 \r
1462         * added signatures into the dispatch map. This BREAKS\r
1463         COMPATIBILITY with previous releases of this code\r
1464 \r
1465 1999-08-18  Edd Dumbill  <edd@usefulinc.com>\r
1466 \r
1467         * made entity encoding and decoding transparent now on string\r
1468         passing.\r
1469 \r
1470         * de-globalised the globals in the parse routines, using an\r
1471         associative array to hold all parser state $_xh\r
1472 \r
1473         * changed default input encoding to be UTF-8 to match expectation\r
1474 \r
1475         * separated out parseResponse into parseResponse and\r
1476         parseResponseFile so that you can call parseResponse on a string\r
1477         if you have one handy\r
1478 \r
1479 1999-07-20  Edd Dumbill  <edd@usefulinc.com>\r
1480 \r
1481         * Moved documentation into Docbook format\r
1482 \r
1483 1999-07-19  Edd Dumbill  <edd@usefulinc.com>\r
1484 \r
1485         * Added an echo server into server.php and echotest.php, a client\r
1486         which will exercise the new echo routine.\r
1487 \r
1488         * Added test for no valid value returned: in this case will now\r
1489         throw the error "invalid payload"\r
1490 \r
1491         * Added serialize() method to xmlrpcresp to return a string with\r
1492         the response serialized as XML\r
1493 \r
1494         * Added automatic encoding and decoding for base64 types\r
1495 \r
1496         * Added setDebug() method to client to enable HTML output\r
1497         debugging in the client\r
1498 \r
1499 1999-07-08  Edd Dumbill  <edd@usefulinc.com>\r
1500 \r
1501         * Improved XML parse error reporting on the server side to send it\r
1502         back in a faultCode packet. expat errors now begin at 100\r
1503 \r
1504 1999-07-07  Edd Dumbill  <edd@usefulinc.com>\r
1505 \r
1506         * Changed the structmem and arraymem methods of xmlrpcval to always\r
1507         return xmlrpc vals whether they referred to scalars or complex\r
1508         types.\r
1509 \r
1510         * Added the server class and demonstrations\r
1511 \r
1512         * Fixed bugs in the XML parsing and reworked it\r
1513 \r
1514 \r
1515 $Id: ChangeLog,v 1.96 2009/03/16 19:39:11 ggiunta Exp $\r