gggeek [Wed, 10 Dec 2014 00:51:17 +0000 (00:51 +0000)]
git ignore composer.lock
gggeek [Wed, 10 Dec 2014 00:50:14 +0000 (00:50 +0000)]
CRLF -> LF
gggeek [Wed, 10 Dec 2014 00:49:53 +0000 (00:49 +0000)]
nitpick: private => protected singleton member in base library
gggeek [Wed, 10 Dec 2014 00:48:36 +0000 (00:48 +0000)]
Introduce __DIR__; some CRLF -> LF; wrappers file has been renamed
gggeek [Wed, 10 Dec 2014 00:46:33 +0000 (00:46 +0000)]
Fix gitignore for installation of the library itself via composer
gggeek [Wed, 10 Dec 2014 00:01:55 +0000 (00:01 +0000)]
Fix leftovers from branch merging; remove more php closing tags; bump up requirements to 5.3; fix composer autoloading; do not test on 5.2 on travis
gggeek [Tue, 9 Dec 2014 23:33:47 +0000 (23:33 +0000)]
Merge 5.3 branch, as that becomes the new master, and 5.1 becomes the legacy branch
Conflicts:
ChangeLog
Makefile
demo/client/comment.php
demo/client/introspect.php
demo/client/which.php
doc/xmlrpc_php.xml
lib/xmlrpc.inc
lib/xmlrpc_wrappers.inc
test/benchmark.php
test/parse_args.php
gggeek [Mon, 8 Dec 2014 00:33:50 +0000 (00:33 +0000)]
Convert docs files to unix newlines
gggeek [Mon, 8 Dec 2014 00:24:34 +0000 (00:24 +0000)]
Make sure testsuite returns non-0 exit code on failure; make Travis tests less verbose
gggeek [Mon, 8 Dec 2014 00:11:46 +0000 (00:11 +0000)]
Fix testsuite failure for https mode
gggeek [Sun, 7 Dec 2014 22:41:12 +0000 (22:41 +0000)]
Playing around with Travis
gggeek [Sun, 7 Dec 2014 21:08:14 +0000 (21:08 +0000)]
Avoid testsuite failure on php 5.2 with DateTimes
gggeek [Sun, 7 Dec 2014 20:40:51 +0000 (20:40 +0000)]
Disable XDebug for unit testing on Travis
gggeek [Sun, 7 Dec 2014 20:35:01 +0000 (20:35 +0000)]
no need to call anymore $client->setSSLVerifyHost(2) to silence a curl warning when using https with recent curl builds
gggeek [Sun, 7 Dec 2014 20:11:24 +0000 (20:11 +0000)]
2nd try to get Travis up and running
gggeek [Sun, 7 Dec 2014 20:01:09 +0000 (20:01 +0000)]
Improve testsuite to make it easily executable by Travis
gggeek [Sat, 6 Dec 2014 23:13:11 +0000 (23:13 +0000)]
Fix tzo typos in the manual
gggeek [Sun, 15 Jun 2014 19:48:04 +0000 (21:48 +0200)]
Small improvement to makefile
gggeek [Sun, 15 Jun 2014 19:47:38 +0000 (21:47 +0200)]
Remove Id tag from demo files
gggeek [Sun, 15 Jun 2014 19:13:00 +0000 (21:13 +0200)]
Tag for 3.0.0 release
gggeek [Mon, 26 May 2014 22:16:38 +0000 (23:16 +0100)]
One more nitpick
gggeek [Mon, 26 May 2014 22:12:35 +0000 (23:12 +0100)]
Nitpicks: formatting, commented-out code
gggeek [Mon, 26 May 2014 21:44:07 +0000 (22:44 +0100)]
Rename php file containing server class, remove phpunit
gggeek [Mon, 26 May 2014 21:31:28 +0000 (22:31 +0100)]
More tabs/to/spaces conversion, plus remove closing php tags as they are not considered good style anymore
Gaetano Giunta [Mon, 26 May 2014 21:18:51 +0000 (22:18 +0100)]
Merge pull request #3 from Smarre/master
Modernization commits
Samu Voutilainen [Fri, 23 May 2014 10:11:41 +0000 (13:11 +0300)]
xmlrpcmsg: Convert createPayload() from private to public
Apparently this was used elsewhere, even when it was marked as private.
Adjusting to that now...
Samu Voutilainen [Fri, 23 May 2014 09:50:51 +0000 (12:50 +0300)]
Modernized old classes
Samu Voutilainen [Fri, 23 May 2014 09:50:35 +0000 (12:50 +0300)]
Moved Phpxmlrpc class to own file
Samu Voutilainen [Fri, 23 May 2014 09:28:03 +0000 (12:28 +0300)]
Renamed Xmlrpc class to Phpxmlrpc
Samu Voutilainen [Fri, 23 May 2014 09:26:09 +0000 (12:26 +0300)]
Splitted classes from xmlrpc.php to separate files
Samu Voutilainen [Fri, 23 May 2014 09:19:35 +0000 (12:19 +0300)]
Convert tabs to spaces.
Samu Voutilainen [Fri, 23 May 2014 09:07:59 +0000 (12:07 +0300)]
Renamed .inc files to .php files
.inc extension for included PHP files is not recommended, instead
standard .php should be PHP files extension.
Samu Voutilainen [Thu, 22 May 2014 08:32:23 +0000 (11:32 +0300)]
xmlrpc.inc: changed verifyhost from 1 to 2.
New PHP versions (PHP 5.3 and so on) does not support CURL’s ssl
host checking option 1 anymore, 2 is enforced or no checks.
Samu Voutilainen [Wed, 21 May 2014 12:50:05 +0000 (15:50 +0300)]
xmlrpc.inc: Converted $GLOBALS array to internal class Xmlrpc
This way $GLOBALS array won’t be polluted with internal data of
us, and if something else does something to that array, it
won’t affect us anymore.
Samu Voutilainen [Wed, 21 May 2014 11:55:16 +0000 (14:55 +0300)]
xmlrpc.inc: removed deprecated xmlrpc_backslash global
Samu Voutilainen [Wed, 21 May 2014 11:31:10 +0000 (14:31 +0300)]
xmlrpc.inc: remove deprecated xmlEntities
Samu Voutilainen [Wed, 21 May 2014 10:53:04 +0000 (13:53 +0300)]
xmlrpc.inc: removed dl("xml.so")
This function has been deprecated and removed from php-5.3 and upwards,
and was only useful for PHP 4, which is not supported anymore.
gggeek [Mon, 3 Feb 2014 23:08:03 +0000 (00:08 +0100)]
Fix comma in composer.json
gggeek [Mon, 3 Feb 2014 22:36:57 +0000 (23:36 +0100)]
Bump requirements to 5.1.0; grammar fixes in comments
gggeek [Sun, 2 Feb 2014 19:57:30 +0000 (20:57 +0100)]
Add gitignore file for generated documentation
gggeek [Sun, 2 Feb 2014 19:54:35 +0000 (20:54 +0100)]
Update makefile for docs:
- newer phpdocumentor
- doc-generating tools are moved to a different directory
gggeek [Sun, 2 Feb 2014 19:16:41 +0000 (20:16 +0100)]
Add another missing doc image to versioning
gggeek [Sun, 2 Feb 2014 19:12:12 +0000 (20:12 +0100)]
Add to versioning missing image for docs
gggeek [Sun, 2 Feb 2014 19:05:22 +0000 (20:05 +0100)]
Fix: make convert.php script for doc generation compatible with php 5.3
gggeek [Sat, 18 Jan 2014 16:21:14 +0000 (17:21 +0100)]
Update docs with new project hosting
gggeek [Fri, 10 Jan 2014 18:07:33 +0000 (19:07 +0100)]
- welcome 2014
gggeek [Fri, 10 Jan 2014 18:03:56 +0000 (19:03 +0100)]
change default path to javascript debugger
gggeek [Fri, 10 Jan 2014 18:00:21 +0000 (19:00 +0100)]
- update testsuite
gggeek [Fri, 10 Jan 2014 16:58:07 +0000 (17:58 +0100)]
- when using curl and keepalive, reset curl handle if we did not get back an http 200 response (eg a 302)
gggeek [Sun, 15 Dec 2013 12:28:48 +0000 (13:28 +0100)]
Ignore local composer.phar in git
gggeek [Sun, 15 Dec 2013 12:28:20 +0000 (13:28 +0100)]
Add composer.json
gggeek [Tue, 19 Nov 2013 21:42:50 +0000 (22:42 +0100)]
Add gitignore
gggeek [Tue, 19 Nov 2013 20:59:47 +0000 (21:59 +0100)]
Remove $id$ tag now that we are on git; update copyright notice to year 2013
ggiunta [Wed, 19 Jan 2011 22:03:48 +0000 (22:03 +0000)]
- whitespace
git-svn-id: https://svn.code.sf.net/p/phpxmlrpc/code/trunk/xmlrpc@82
013ecfd8-0664-425d-a759-
9c98391dc3f9
ggiunta [Wed, 19 Jan 2011 21:57:55 +0000 (21:57 +0000)]
- remove a test for php versions lower than 5.0
git-svn-id: https://svn.code.sf.net/p/phpxmlrpc/code/trunk/xmlrpc@81
013ecfd8-0664-425d-a759-
9c98391dc3f9
ggiunta [Sun, 23 May 2010 13:58:22 +0000 (13:58 +0000)]
- changelog update
git-svn-id: https://svn.code.sf.net/p/phpxmlrpc/code/trunk/xmlrpc@76
013ecfd8-0664-425d-a759-
9c98391dc3f9
ggiunta [Sun, 23 May 2010 13:55:19 +0000 (13:55 +0000)]
- omit port on http 'Host' header if it is 80;
git-svn-id: https://svn.code.sf.net/p/phpxmlrpc/code/trunk/xmlrpc@75
013ecfd8-0664-425d-a759-
9c98391dc3f9
ggiunta [Sun, 23 May 2010 13:45:09 +0000 (13:45 +0000)]
- fix bug 3002710: ex:nil not bound because ex namespace not included
git-svn-id: https://svn.code.sf.net/p/phpxmlrpc/code/trunk/xmlrpc@74
013ecfd8-0664-425d-a759-
9c98391dc3f9
ggiunta [Mon, 12 Apr 2010 17:55:09 +0000 (17:55 +0000)]
- method setAcceptedCompression was failing to disable reception of compressed responses if the client supported them (triggering a bug with https and php < 5.3 on windows due);
- remove a php warning that could be generated when using debug=2 in a client connecting to an https server
git-svn-id: https://svn.code.sf.net/p/phpxmlrpc/code/trunk/xmlrpc@73
013ecfd8-0664-425d-a759-
9c98391dc3f9
ggiunta [Sun, 11 Apr 2010 14:05:59 +0000 (14:05 +0000)]
- Fix bug 2978618: Broken paths in makefile install target
git-svn-id: https://svn.code.sf.net/p/phpxmlrpc/code/trunk/xmlrpc@72
013ecfd8-0664-425d-a759-
9c98391dc3f9
ggiunta [Wed, 11 Nov 2009 19:29:57 +0000 (19:29 +0000)]
- added INSTALL file
git-svn-id: https://svn.code.sf.net/p/phpxmlrpc/code/trunk/xmlrpc@71
013ecfd8-0664-425d-a759-
9c98391dc3f9
ggiunta [Sat, 5 Sep 2009 21:22:25 +0000 (21:22 +0000)]
update docs and NEWS for new release
git-svn-id: https://svn.code.sf.net/p/phpxmlrpc/code/trunk/xmlrpc@62
013ecfd8-0664-425d-a759-
9c98391dc3f9
ggiunta [Sat, 5 Sep 2009 21:21:14 +0000 (21:21 +0000)]
update docs and NEWS for new release
git-svn-id: https://svn.code.sf.net/p/phpxmlrpc/code/trunk/xmlrpc@60
013ecfd8-0664-425d-a759-
9c98391dc3f9
ggiunta [Sat, 5 Sep 2009 21:01:33 +0000 (21:01 +0000)]
git-svn-id: https://svn.code.sf.net/p/phpxmlrpc/code/trunk/xmlrpc@59
013ecfd8-0664-425d-a759-
9c98391dc3f9
ggiunta [Sat, 5 Sep 2009 15:27:47 +0000 (15:27 +0000)]
added new method SetUserAgent to client to allow having different user-agent http headers
git-svn-id: https://svn.code.sf.net/p/phpxmlrpc/code/trunk/xmlrpc@56
013ecfd8-0664-425d-a759-
9c98391dc3f9
ggiunta [Sat, 5 Sep 2009 15:18:25 +0000 (15:18 +0000)]
* xmlrpcs.inc, xmlrpcs.inc: remove code that was left for compatibility with php 4; use __METHOD__ constant for error messages instead of hardcoded values
* xmlrpcs.inc: catch exceptions thrown during execution of invoked methods; check for $_SERVER having been disabled via php.ini and log an error if so
* server.php, testsuite.php: add a new test and server method for exception catching in the server
git-svn-id: https://svn.code.sf.net/p/phpxmlrpc/code/trunk/xmlrpc@55
013ecfd8-0664-425d-a759-
9c98391dc3f9
ggiunta [Sat, 5 Sep 2009 15:14:26 +0000 (15:14 +0000)]
* xmlrpcs.inc, xmlrpcs.inc: remove code that was left for compatibility with php 4; use __METHOD__ constant for error messages instead of hardcoded values
* xmlrpcs.inc: catch exceptions thrown during execution of invoked methods; check for $_SERVER having been disabled via php.ini and log an error if so
* server.php, testsuite.php: add a new test and server method for exception catching in the server
git-svn-id: https://svn.code.sf.net/p/phpxmlrpc/code/trunk/xmlrpc@54
013ecfd8-0664-425d-a759-
9c98391dc3f9
ggiunta [Wed, 5 Aug 2009 10:15:23 +0000 (10:15 +0000)]
- one less php warning about refs
git-svn-id: https://svn.code.sf.net/p/phpxmlrpc/code/trunk/xmlrpc@52
013ecfd8-0664-425d-a759-
9c98391dc3f9
ggiunta [Wed, 5 Aug 2009 10:12:52 +0000 (10:12 +0000)]
- changelog update
git-svn-id: https://svn.code.sf.net/p/phpxmlrpc/code/trunk/xmlrpc@51
013ecfd8-0664-425d-a759-
9c98391dc3f9
ggiunta [Wed, 5 Aug 2009 10:03:35 +0000 (10:03 +0000)]
- add one more way to register class methods
git-svn-id: https://svn.code.sf.net/p/phpxmlrpc/code/trunk/xmlrpc@50
013ecfd8-0664-425d-a759-
9c98391dc3f9
ggiunta [Wed, 5 Aug 2009 10:02:38 +0000 (10:02 +0000)]
- remove spurious code
git-svn-id: https://svn.code.sf.net/p/phpxmlrpc/code/trunk/xmlrpc@49
013ecfd8-0664-425d-a759-
9c98391dc3f9
ggiunta [Wed, 5 Aug 2009 09:58:08 +0000 (09:58 +0000)]
- improve compatibility with php 5.0.x
git-svn-id: https://svn.code.sf.net/p/phpxmlrpc/code/trunk/xmlrpc@48
013ecfd8-0664-425d-a759-
9c98391dc3f9
ggiunta [Wed, 5 Aug 2009 09:57:18 +0000 (09:57 +0000)]
- remove spurious php timeout
git-svn-id: https://svn.code.sf.net/p/phpxmlrpc/code/trunk/xmlrpc@47
013ecfd8-0664-425d-a759-
9c98391dc3f9
ggiunta [Tue, 4 Aug 2009 21:33:50 +0000 (21:33 +0000)]
- silence some warnings
git-svn-id: https://svn.code.sf.net/p/phpxmlrpc/code/trunk/xmlrpc@44
013ecfd8-0664-425d-a759-
9c98391dc3f9
ggiunta [Tue, 4 Aug 2009 21:32:25 +0000 (21:32 +0000)]
- minor comments changes
git-svn-id: https://svn.code.sf.net/p/phpxmlrpc/code/trunk/xmlrpc@43
013ecfd8-0664-425d-a759-
9c98391dc3f9
ggiunta [Sun, 2 Aug 2009 23:07:01 +0000 (23:07 +0000)]
- xmlrpcs.inc: add a new member var in server class to allow fine-tuning of the encoding of returned values when the server is in 'phpvals' mode; allow servers in 'xmlrpcvals' mode to also register plain php functions by defining them in the dispatch map with an added option: 'parameters_type' => 'phpvals' (feature request #2806628);
- xmlrpc.inc: added new method xmrlpc_client::SetCurlOptions($array) to allow extra flexibility in tweaking http config, such as explicitly binding to an ip address (feature request #2787468); fix bad encoding if same object is encoded twice using php_xmlrpc_encode; removed some by-ref assignments and declarations
git-svn-id: https://svn.code.sf.net/p/phpxmlrpc/code/trunk/xmlrpc@41
013ecfd8-0664-425d-a759-
9c98391dc3f9
ggiunta [Fri, 31 Jul 2009 23:36:31 +0000 (23:36 +0000)]
- fix compat test min lib version
git-svn-id: https://svn.code.sf.net/p/phpxmlrpc/code/trunk/xmlrpc@38
013ecfd8-0664-425d-a759-
9c98391dc3f9
ggiunta [Fri, 31 Jul 2009 23:35:33 +0000 (23:35 +0000)]
- benchmark.php: fixed url of server page used for testing; improved verification of correspondence of test results; added more variants for http options comparison;
- verify_compat.php: check for php version 5 for client side too;
- makefile: remove from build the compat directory
git-svn-id: https://svn.code.sf.net/p/phpxmlrpc/code/trunk/xmlrpc@37
013ecfd8-0664-425d-a759-
9c98391dc3f9
ggiunta [Fri, 31 Jul 2009 22:13:02 +0000 (22:13 +0000)]
- support for datetime objects and timestamps for xmrlcp datetimes;
- remove some more php 5.3 warnings;
git-svn-id: https://svn.code.sf.net/p/phpxmlrpc/code/trunk/xmlrpc@36
013ecfd8-0664-425d-a759-
9c98391dc3f9
ggiunta [Fri, 31 Jul 2009 19:41:47 +0000 (19:41 +0000)]
- add tests for EX:NIL support
git-svn-id: https://svn.code.sf.net/p/phpxmlrpc/code/trunk/xmlrpc@35
013ecfd8-0664-425d-a759-
9c98391dc3f9
ggiunta [Sun, 26 Jul 2009 20:38:58 +0000 (20:38 +0000)]
- changelog update
git-svn-id: https://svn.code.sf.net/p/phpxmlrpc/code/trunk/xmlrpc@28
013ecfd8-0664-425d-a759-
9c98391dc3f9
ggiunta [Sun, 26 Jul 2009 20:37:10 +0000 (20:37 +0000)]
- remove another warning with php 5.3 (ereg*)
git-svn-id: https://svn.code.sf.net/p/phpxmlrpc/code/trunk/xmlrpc@27
013ecfd8-0664-425d-a759-
9c98391dc3f9
ggiunta [Sun, 26 Jul 2009 20:33:54 +0000 (20:33 +0000)]
- fix typo in a comment
git-svn-id: https://svn.code.sf.net/p/phpxmlrpc/code/trunk/xmlrpc@26
013ecfd8-0664-425d-a759-
9c98391dc3f9
ggiunta [Sun, 26 Jul 2009 20:33:07 +0000 (20:33 +0000)]
- add a comment in a phpdoc block
git-svn-id: https://svn.code.sf.net/p/phpxmlrpc/code/trunk/xmlrpc@25
013ecfd8-0664-425d-a759-
9c98391dc3f9
ggiunta [Thu, 16 Jul 2009 22:33:31 +0000 (22:33 +0000)]
- xmlrpc.inc: add support for the <ex:nil/> from the apache library, both in input and output
- xmlrpc.inc, testsuite.php: remove usage of split(), deprecated in php 5.3
- testsuite.php: flush better results with output_buffering on
- server: php: avoid one warning about static function calls
git-svn-id: https://svn.code.sf.net/p/phpxmlrpc/code/trunk/xmlrpc@23
013ecfd8-0664-425d-a759-
9c98391dc3f9
ggiunta [Thu, 2 Jul 2009 09:54:24 +0000 (09:54 +0000)]
- fix issue 2814470: Fix for signature-check mismatch in new-style servers
git-svn-id: https://svn.code.sf.net/p/phpxmlrpc/code/trunk/xmlrpc@22
013ecfd8-0664-425d-a759-
9c98391dc3f9
ggiunta [Thu, 7 May 2009 15:30:49 +0000 (15:30 +0000)]
- replace all usage of '= & new' with '= new', as this is deprecated in php 5 and has been shown to cause problems too
git-svn-id: https://svn.code.sf.net/p/phpxmlrpc/code/trunk/xmlrpc@16
013ecfd8-0664-425d-a759-
9c98391dc3f9
ggiunta [Wed, 6 May 2009 11:42:32 +0000 (11:42 +0000)]
- remove testing for older versions of php
git-svn-id: https://svn.code.sf.net/p/phpxmlrpc/code/trunk/xmlrpc@15
013ecfd8-0664-425d-a759-
9c98391dc3f9
ggiunta [Wed, 6 May 2009 11:40:50 +0000 (11:40 +0000)]
- temoved compat stuff and checks from trunk after having created the php4 branch;
- update rev. number to 3.0.0.beta
git-svn-id: https://svn.code.sf.net/p/phpxmlrpc/code/trunk/xmlrpc@14
013ecfd8-0664-425d-a759-
9c98391dc3f9
ggiunta [Tue, 17 Mar 2009 09:17:49 +0000 (09:17 +0000)]
- fix year in copyrights notices
git-svn-id: https://svn.code.sf.net/p/phpxmlrpc/code/trunk/xmlrpc@11
013ecfd8-0664-425d-a759-
9c98391dc3f9
ggiunta [Tue, 17 Mar 2009 09:16:49 +0000 (09:16 +0000)]
- svn ignore working tools files
git-svn-id: https://svn.code.sf.net/p/phpxmlrpc/code/trunk/xmlrpc@10
013ecfd8-0664-425d-a759-
9c98391dc3f9
ggiunta [Tue, 17 Mar 2009 09:15:15 +0000 (09:15 +0000)]
- svn ignore working tools files
git-svn-id: https://svn.code.sf.net/p/phpxmlrpc/code/trunk/xmlrpc@9
013ecfd8-0664-425d-a759-
9c98391dc3f9
ggiunta [Tue, 17 Mar 2009 09:14:27 +0000 (09:14 +0000)]
- svn ignore working tools files
git-svn-id: https://svn.code.sf.net/p/phpxmlrpc/code/trunk/xmlrpc@8
013ecfd8-0664-425d-a759-
9c98391dc3f9
ggiunta [Tue, 17 Mar 2009 08:47:14 +0000 (08:47 +0000)]
- fix typo in example: port 443, not 4443
git-svn-id: https://svn.code.sf.net/p/phpxmlrpc/code/trunk/xmlrpc@7
013ecfd8-0664-425d-a759-
9c98391dc3f9
ggiunta [Mon, 16 Mar 2009 23:28:54 +0000 (23:28 +0000)]
- changelog update
git-svn-id: https://svn.code.sf.net/p/phpxmlrpc/code/trunk/xmlrpc@6
013ecfd8-0664-425d-a759-
9c98391dc3f9
ggiunta [Mon, 16 Mar 2009 23:15:18 +0000 (23:15 +0000)]
- fix makefiles to suit new dir layout
git-svn-id: https://svn.code.sf.net/p/phpxmlrpc/code/trunk/xmlrpc@5
013ecfd8-0664-425d-a759-
9c98391dc3f9
ggiunta [Mon, 16 Mar 2009 22:04:14 +0000 (22:04 +0000)]
- prepare for release of ver. 2.2.2
git-svn-id: https://svn.code.sf.net/p/phpxmlrpc/code/trunk/xmlrpc@4
013ecfd8-0664-425d-a759-
9c98391dc3f9
ggiunta [Mon, 16 Mar 2009 20:22:51 +0000 (20:22 +0000)]
- Initial import of the mob, reorganizing dirs to match packaged version
git-svn-id: https://svn.code.sf.net/p/phpxmlrpc/code/trunk/xmlrpc@2
013ecfd8-0664-425d-a759-
9c98391dc3f9