plcapi.git
9 years agoMake sure convert.php works with php5.6.1 on linux
gggeek [Sat, 21 Feb 2015 21:48:13 +0000 (21:48 +0000)]
Make sure convert.php works with php5.6.1 on linux

9 years agoMore newline fixes
gggeek [Sat, 21 Feb 2015 21:25:08 +0000 (21:25 +0000)]
More newline fixes

9 years agoFix newlines (to satisfy automated code quality scanners)
gggeek [Sat, 21 Feb 2015 21:23:53 +0000 (21:23 +0000)]
Fix newlines (to satisfy automated code quality scanners)

9 years agoFix two bugs (missed porting to new class names / namespaces), thanks SensiolabsInsight
gggeek [Sat, 21 Feb 2015 20:56:31 +0000 (20:56 +0000)]
Fix two bugs (missed porting to new class names / namespaces), thanks SensiolabsInsight

9 years agoFix one testcase apparently broken by automatic formatting tools
gggeek [Sat, 21 Feb 2015 20:40:20 +0000 (20:40 +0000)]
Fix one testcase apparently broken by automatic formatting tools

9 years agoImprove documentation for v4; fix one typo in a comment
gggeek [Sat, 21 Feb 2015 20:27:57 +0000 (20:27 +0000)]
Improve documentation for v4; fix one typo in a comment

9 years agoMove license file inside the lib and away from sf.net
gggeek [Sat, 21 Feb 2015 19:39:33 +0000 (19:39 +0000)]
Move license file inside the lib and away from sf.net

9 years agoWelcome 2015
gggeek [Sat, 21 Feb 2015 19:28:19 +0000 (19:28 +0000)]
Welcome 2015

9 years agoReformat source code: the library
gggeek [Sat, 21 Feb 2015 19:24:57 +0000 (19:24 +0000)]
Reformat source code: the library

9 years agoReformat source code: tests
gggeek [Sat, 21 Feb 2015 19:04:06 +0000 (19:04 +0000)]
Reformat source code: tests

9 years agoReformat source code: doc
gggeek [Sat, 21 Feb 2015 18:58:18 +0000 (18:58 +0000)]
Reformat source code: doc

9 years agoReformat source code: demos
gggeek [Sat, 21 Feb 2015 18:52:19 +0000 (18:52 +0000)]
Reformat source code: demos

9 years agoReformat source code: debugger
gggeek [Sat, 21 Feb 2015 18:31:37 +0000 (18:31 +0000)]
Reformat source code: debugger

9 years agoFix server: multicalls and exception catching
gggeek [Sun, 11 Jan 2015 20:34:40 +0000 (20:34 +0000)]
Fix server: multicalls and exception catching

9 years agoFix localhostTest
gggeek [Sun, 11 Jan 2015 20:15:49 +0000 (20:15 +0000)]
Fix localhostTest

9 years agoMove benchmark script to the new API
gggeek [Sun, 11 Jan 2015 20:07:25 +0000 (20:07 +0000)]
Move benchmark script to the new API

9 years agoFixes to make the debugger work
gggeek [Sun, 11 Jan 2015 16:37:51 +0000 (16:37 +0000)]
Fixes to make the debugger work

9 years agobypass completely autoloading for old-style api
gggeek [Tue, 16 Dec 2014 01:14:44 +0000 (01:14 +0000)]
bypass completely autoloading for old-style api

9 years agoMake Travis start using new testsuite
gggeek [Tue, 16 Dec 2014 01:04:30 +0000 (01:04 +0000)]
Make Travis start using new testsuite

9 years agoWIP - more bugfixes and start of testsuite reimplementation
gggeek [Tue, 16 Dec 2014 01:01:58 +0000 (01:01 +0000)]
WIP - more bugfixes and start of testsuite reimplementation

9 years agoWIP - more fixes: system methods in server, charset guessing
gggeek [Mon, 15 Dec 2014 00:33:41 +0000 (00:33 +0000)]
WIP - more fixes: system methods in server, charset guessing

9 years agoWIP - more fixes
gggeek [Mon, 15 Dec 2014 00:16:09 +0000 (00:16 +0000)]
WIP - more fixes

9 years agoWIP - more fixes
gggeek [Mon, 15 Dec 2014 00:07:10 +0000 (00:07 +0000)]
WIP - more fixes

9 years agoRename and reformat demo xml files
gggeek [Sun, 14 Dec 2014 23:37:26 +0000 (23:37 +0000)]
Rename and reformat demo xml files

9 years agoWIP fix bugs after introduction of namespaces, found trying to run the testsuite
gggeek [Sun, 14 Dec 2014 23:23:23 +0000 (23:23 +0000)]
WIP fix bugs after introduction of namespaces, found trying to run the testsuite

9 years agoWIP introduce namespaces; move all global functions and variables to classes
gggeek [Sun, 14 Dec 2014 02:20:46 +0000 (02:20 +0000)]
WIP introduce namespaces; move all global functions and variables to classes

9 years agoMerge pull request #19 from HMAZonderland/patch-1
Gaetano Giunta [Wed, 10 Dec 2014 10:39:13 +0000 (10:39 +0000)]
Merge pull request #19 from HMAZonderland/patch-1

Update and rename README to README.md

9 years agoUpdate and rename README to README.md
Hugo Zonderland [Wed, 10 Dec 2014 10:01:46 +0000 (11:01 +0100)]
Update and rename README to README.md

Added Travis build status. Made the file more readable.

9 years agoWIP testsuite refactoring
gggeek [Wed, 10 Dec 2014 00:53:05 +0000 (00:53 +0000)]
WIP testsuite refactoring

9 years agogit ignore composer.lock
gggeek [Wed, 10 Dec 2014 00:51:17 +0000 (00:51 +0000)]
git ignore composer.lock

9 years agoCRLF -> LF
gggeek [Wed, 10 Dec 2014 00:50:14 +0000 (00:50 +0000)]
CRLF -> LF

9 years agonitpick: private => protected singleton member in base library
gggeek [Wed, 10 Dec 2014 00:49:53 +0000 (00:49 +0000)]
nitpick: private => protected singleton member in base library

9 years agoIntroduce __DIR__; some CRLF -> LF; wrappers file has been renamed
gggeek [Wed, 10 Dec 2014 00:48:36 +0000 (00:48 +0000)]
Introduce __DIR__; some CRLF -> LF; wrappers file has been renamed

9 years agoFix gitignore for installation of the library itself via composer
gggeek [Wed, 10 Dec 2014 00:46:33 +0000 (00:46 +0000)]
Fix gitignore for installation of the library itself via composer

9 years agoFix leftovers from branch merging; remove more php closing tags; bump up requirements...
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

9 years agoMerge 5.3 branch, as that becomes the new master, and 5.1 becomes the legacy branch
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

9 years agoConvert docs files to unix newlines
gggeek [Mon, 8 Dec 2014 00:33:50 +0000 (00:33 +0000)]
Convert docs files to unix newlines

9 years agoMake sure testsuite returns non-0 exit code on failure; make Travis tests less verbose
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

9 years agoFix testsuite failure for https mode
gggeek [Mon, 8 Dec 2014 00:11:46 +0000 (00:11 +0000)]
Fix testsuite failure for https mode

9 years agoPlaying around with Travis
gggeek [Sun, 7 Dec 2014 22:41:12 +0000 (22:41 +0000)]
Playing around with Travis

9 years agoAvoid testsuite failure on php 5.2 with DateTimes
gggeek [Sun, 7 Dec 2014 21:08:14 +0000 (21:08 +0000)]
Avoid testsuite failure on php 5.2 with DateTimes

9 years agoDisable XDebug for unit testing on Travis
gggeek [Sun, 7 Dec 2014 20:40:51 +0000 (20:40 +0000)]
Disable XDebug for unit testing on Travis

9 years agono need to call anymore $client->setSSLVerifyHost(2) to silence a curl warning when...
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

9 years ago2nd try to get Travis up and running
gggeek [Sun, 7 Dec 2014 20:11:24 +0000 (20:11 +0000)]
2nd try to get Travis up and running

9 years agoImprove testsuite to make it easily executable by Travis
gggeek [Sun, 7 Dec 2014 20:01:09 +0000 (20:01 +0000)]
Improve testsuite to make it easily executable by Travis

9 years agoFix tzo typos in the manual
gggeek [Sat, 6 Dec 2014 23:13:11 +0000 (23:13 +0000)]
Fix tzo typos in the manual

9 years agoSmall improvement to makefile 3.0.0
gggeek [Sun, 15 Jun 2014 19:48:04 +0000 (21:48 +0200)]
Small improvement to makefile

9 years agoRemove Id tag from demo files
gggeek [Sun, 15 Jun 2014 19:47:38 +0000 (21:47 +0200)]
Remove Id tag from demo files

9 years agoTag for 3.0.0 release
gggeek [Sun, 15 Jun 2014 19:13:00 +0000 (21:13 +0200)]
Tag for 3.0.0 release

9 years agoOne more nitpick
gggeek [Mon, 26 May 2014 22:16:38 +0000 (23:16 +0100)]
One more nitpick

9 years agoNitpicks: formatting, commented-out code
gggeek [Mon, 26 May 2014 22:12:35 +0000 (23:12 +0100)]
Nitpicks: formatting, commented-out code

9 years agoRename php file containing server class, remove phpunit
gggeek [Mon, 26 May 2014 21:44:07 +0000 (22:44 +0100)]
Rename php file containing server class, remove phpunit

9 years agoMore tabs/to/spaces conversion, plus remove closing php tags as they are not consider...
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

9 years agoMerge pull request #3 from Smarre/master
Gaetano Giunta [Mon, 26 May 2014 21:18:51 +0000 (22:18 +0100)]
Merge pull request #3 from Smarre/master

Modernization commits

9 years agoxmlrpcmsg: Convert createPayload() from private to public
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...

9 years agoModernized old classes
Samu Voutilainen [Fri, 23 May 2014 09:50:51 +0000 (12:50 +0300)]
Modernized old classes

9 years agoMoved Phpxmlrpc class to own file
Samu Voutilainen [Fri, 23 May 2014 09:50:35 +0000 (12:50 +0300)]
Moved Phpxmlrpc class to own file

9 years agoRenamed Xmlrpc class to Phpxmlrpc
Samu Voutilainen [Fri, 23 May 2014 09:28:03 +0000 (12:28 +0300)]
Renamed Xmlrpc class to Phpxmlrpc

9 years agoSplitted classes from xmlrpc.php to separate files
Samu Voutilainen [Fri, 23 May 2014 09:26:09 +0000 (12:26 +0300)]
Splitted classes from xmlrpc.php to separate files

9 years agoConvert tabs to spaces.
Samu Voutilainen [Fri, 23 May 2014 09:19:35 +0000 (12:19 +0300)]
Convert tabs to spaces.

9 years agoRenamed .inc files to .php files
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.

9 years agoxmlrpc.inc: changed verifyhost from 1 to 2.
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.

9 years agoxmlrpc.inc: Converted $GLOBALS array to internal class Xmlrpc
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.

9 years agoxmlrpc.inc: removed deprecated xmlrpc_backslash global
Samu Voutilainen [Wed, 21 May 2014 11:55:16 +0000 (14:55 +0300)]
xmlrpc.inc: removed deprecated xmlrpc_backslash global

9 years agoxmlrpc.inc: remove deprecated xmlEntities
Samu Voutilainen [Wed, 21 May 2014 11:31:10 +0000 (14:31 +0300)]
xmlrpc.inc: remove deprecated xmlEntities

9 years agoxmlrpc.inc: removed dl("xml.so")
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.

10 years agoFix comma in composer.json
gggeek [Mon, 3 Feb 2014 23:08:03 +0000 (00:08 +0100)]
Fix comma in composer.json

10 years agoBump requirements to 5.1.0; grammar fixes in comments
gggeek [Mon, 3 Feb 2014 22:36:57 +0000 (23:36 +0100)]
Bump requirements to 5.1.0; grammar fixes in comments

10 years agoAdd gitignore file for generated documentation
gggeek [Sun, 2 Feb 2014 19:57:30 +0000 (20:57 +0100)]
Add gitignore file for generated documentation

10 years agoUpdate makefile for docs:
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

10 years agoAdd another missing doc image to versioning
gggeek [Sun, 2 Feb 2014 19:16:41 +0000 (20:16 +0100)]
Add another missing doc image to versioning

10 years agoAdd to versioning missing image for docs
gggeek [Sun, 2 Feb 2014 19:12:12 +0000 (20:12 +0100)]
Add to versioning missing image for docs

10 years agoFix: make convert.php script for doc generation compatible with php 5.3
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

10 years agoUpdate docs with new project hosting
gggeek [Sat, 18 Jan 2014 16:21:14 +0000 (17:21 +0100)]
Update docs with new project hosting

10 years ago- welcome 2014
gggeek [Fri, 10 Jan 2014 18:07:33 +0000 (19:07 +0100)]
- welcome 2014

10 years agochange default path to javascript debugger
gggeek [Fri, 10 Jan 2014 18:03:56 +0000 (19:03 +0100)]
change default path to javascript debugger

10 years ago- update testsuite
gggeek [Fri, 10 Jan 2014 18:00:21 +0000 (19:00 +0100)]
- update testsuite

10 years ago- when using curl and keepalive, reset curl handle if we did not get back an http...
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)

10 years agoIgnore local composer.phar in git
gggeek [Sun, 15 Dec 2013 12:28:48 +0000 (13:28 +0100)]
Ignore local composer.phar in git

10 years agoAdd composer.json
gggeek [Sun, 15 Dec 2013 12:28:20 +0000 (13:28 +0100)]
Add composer.json

10 years agoAdd gitignore
gggeek [Tue, 19 Nov 2013 21:42:50 +0000 (22:42 +0100)]
Add gitignore

10 years agoRemove $id$ tag now that we are on git; update copyright notice to year 2013
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

13 years ago- whitespace
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

13 years ago- remove a test for php versions lower than 5.0
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

13 years ago- changelog update
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

13 years ago- omit port on http 'Host' header if it is 80;
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

13 years ago- fix bug 3002710: ex:nil not bound because ex namespace not included
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

14 years ago- method setAcceptedCompression was failing to disable reception of compressed respon...
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

14 years ago- Fix bug 2978618: Broken paths in makefile install target
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

14 years ago- added INSTALL file
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

14 years agoupdate docs and NEWS for new release 3.0.0-beta
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

14 years agoupdate docs and NEWS for new release
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

14 years agogit-svn-id: https://svn.code.sf.net/p/phpxmlrpc/code/trunk/xmlrpc@59 013ecfd8-0664...
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

14 years agoadded new method SetUserAgent to client to allow having different user-agent http...
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

14 years ago* xmlrpcs.inc, xmlrpcs.inc: remove code that was left for compatibility with php...
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

14 years ago* xmlrpcs.inc, xmlrpcs.inc: remove code that was left for compatibility with php...
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

14 years ago- one less php warning about refs
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

14 years ago- changelog update
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

14 years ago- add one more way to register class methods
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

14 years ago- remove spurious code
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