git://git.onelab.eu
/
plcapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
8df4375
)
Remove $id$ tag now that we are on git; update copyright notice to year 2013
author
gggeek
<giunta.gaetano@gmail.com>
Tue, 19 Nov 2013 20:59:47 +0000
(21:59 +0100)
committer
gggeek
<giunta.gaetano@gmail.com>
Tue, 19 Nov 2013 20:59:47 +0000
(21:59 +0100)
24 files changed:
ChangeLog
patch
|
blob
|
history
Makefile
patch
|
blob
|
history
debugger/action.php
patch
|
blob
|
history
debugger/common.php
patch
|
blob
|
history
debugger/controller.php
patch
|
blob
|
history
debugger/index.php
patch
|
blob
|
history
demo/client/simple_call.php
patch
|
blob
|
history
demo/server/discuss.php
patch
|
blob
|
history
demo/server/proxy.php
patch
|
blob
|
history
demo/server/server.php
patch
|
blob
|
history
demo/vardemo.php
patch
|
blob
|
history
doc/Makefile
patch
|
blob
|
history
doc/convert.php
patch
|
blob
|
history
doc/custom.fo.xsl
patch
|
blob
|
history
doc/custom.xsl
patch
|
blob
|
history
doc/highlight.php
patch
|
blob
|
history
doc/xmlrpc_php.xml
patch
|
blob
|
history
lib/xmlrpc.inc
patch
|
blob
|
history
lib/xmlrpc_wrappers.inc
patch
|
blob
|
history
lib/xmlrpcs.inc
patch
|
blob
|
history
test/benchmark.php
patch
|
blob
|
history
test/parse_args.php
patch
|
blob
|
history
test/testsuite.php
patch
|
blob
|
history
test/verify_compat.php
patch
|
blob
|
history
diff --git
a/ChangeLog
b/ChangeLog
index
41f1d40
..
336265c
100644
(file)
--- a/
ChangeLog
+++ b/
ChangeLog
@@
-1590,6
+1590,3
@@
* Added the server class and demonstrations
\r
\r
* Fixed bugs in the XML parsing and reworked it
\r
* Added the server class and demonstrations
\r
\r
* Fixed bugs in the XML parsing and reworked it
\r
-
\r
-
\r
-$Id: ChangeLog,v 1.96 2009/03/16 19:39:11 ggiunta Exp $
\r
diff --git
a/Makefile
b/Makefile
index
12a9638
..
b5760a2
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,5
+1,4
@@
# Makefile for phpxmlrpc library
\r
# Makefile for phpxmlrpc library
\r
-# $Id: Makefile,v 1.37 2008/03/06 22:37:19 ggiunta Exp $
\r
\r
### USER EDITABLE VARS ###
\r
\r
\r
### USER EDITABLE VARS ###
\r
\r
diff --git
a/debugger/action.php
b/debugger/action.php
index
2b70e2c
..
d10c956
100644
(file)
--- a/
debugger/action.php
+++ b/
debugger/action.php
@@
-1,8
+1,7
@@
<?php
/**
<?php
/**
- * @version $Id$
* @author Gaetano Giunta
* @author Gaetano Giunta
- * @copyright (C) 2005-20
09
G. Giunta
+ * @copyright (C) 2005-20
13
G. Giunta
* @license code licensed under the BSD License: http://phpxmlrpc.sourceforge.net/license.txt
*
* @todo switch params for http compression from 0,1,2 to values to be used directly
* @license code licensed under the BSD License: http://phpxmlrpc.sourceforge.net/license.txt
*
* @todo switch params for http compression from 0,1,2 to values to be used directly
diff --git
a/debugger/common.php
b/debugger/common.php
index
8a8bc72
..
6404197
100644
(file)
--- a/
debugger/common.php
+++ b/
debugger/common.php
@@
-1,8
+1,7
@@
<?php
/**
<?php
/**
- * @version $Id$
* @author Gaetano Giunta
* @author Gaetano Giunta
- * @copyright (C) 2005-20
09
G. Giunta
+ * @copyright (C) 2005-20
13
G. Giunta
* @license code licensed under the BSD License: http://phpxmlrpc.sourceforge.net/license.txt
*
* @todo switch params for http compression from 0,1,2 to values to be used directly
* @license code licensed under the BSD License: http://phpxmlrpc.sourceforge.net/license.txt
*
* @todo switch params for http compression from 0,1,2 to values to be used directly
diff --git
a/debugger/controller.php
b/debugger/controller.php
index
70252a7
..
e1627f9
100644
(file)
--- a/
debugger/controller.php
+++ b/
debugger/controller.php
@@
-1,8
+1,7
@@
<?php
/**
<?php
/**
- * @version $Id$
* @author Gaetano Giunta
* @author Gaetano Giunta
- * @copyright (C) 2005-20
09
G. Giunta
+ * @copyright (C) 2005-20
13
G. Giunta
* @license code licensed under the BSD License: http://phpxmlrpc.sourceforge.net/license.txt
*
* @todo add links to documentation from every option caption
* @license code licensed under the BSD License: http://phpxmlrpc.sourceforge.net/license.txt
*
* @todo add links to documentation from every option caption
diff --git
a/debugger/index.php
b/debugger/index.php
index
ace7460
..
2f30c9f
100644
(file)
--- a/
debugger/index.php
+++ b/
debugger/index.php
@@
-1,5
+1,4
@@
<?php
<?php
-// $Id$
$query = '';
if (isset($_GET['run']))
{
$query = '';
if (isset($_GET['run']))
{
diff --git
a/demo/client/simple_call.php
b/demo/client/simple_call.php
index
0dee1c1
..
f069a9e
100644
(file)
--- a/
demo/client/simple_call.php
+++ b/
demo/client/simple_call.php
@@
-2,8
+2,7
@@
/**
* Helper function for the terminally lazy
*
/**
* Helper function for the terminally lazy
*
- * @version $Id$
- * @copyright (c) 2006-2009 G. Giunta
+ * @copyright (c) 2006-2013 G. Giunta
* @license code licensed under the BSD License: http://phpxmlrpc.sourceforge.net/license.txt
*/
* @license code licensed under the BSD License: http://phpxmlrpc.sourceforge.net/license.txt
*/
diff --git
a/demo/server/discuss.php
b/demo/server/discuss.php
index
dc4cd85
..
7072305
100644
(file)
--- a/
demo/server/discuss.php
+++ b/
demo/server/discuss.php
@@
-1,5
+1,5
@@
<?php
<?php
-// $Id$
+
include("xmlrpc.inc");
include("xmlrpcs.inc");
include("xmlrpc.inc");
include("xmlrpcs.inc");
diff --git
a/demo/server/proxy.php
b/demo/server/proxy.php
index
bc9fabb
..
473c26b
100644
(file)
--- a/
demo/server/proxy.php
+++ b/
demo/server/proxy.php
@@
-4,9
+4,8
@@
* (useful e.g. for ajax-originated calls that can only connect back to
* the originating server)
*
* (useful e.g. for ajax-originated calls that can only connect back to
* the originating server)
*
- * @version $Id$
* @author Gaetano Giunta
* @author Gaetano Giunta
- * @copyright (C) 2006-20
09
G. Giunta
+ * @copyright (C) 2006-20
13
G. Giunta
* @license code licensed under the BSD License: http://phpxmlrpc.sourceforge.net/license.txt
*/
* @license code licensed under the BSD License: http://phpxmlrpc.sourceforge.net/license.txt
*/
diff --git
a/demo/server/server.php
b/demo/server/server.php
index
bc8200e
..
45caf64
100644
(file)
--- a/
demo/server/server.php
+++ b/
demo/server/server.php
@@
-8,7
+8,6
@@
*
* Please do not copy this file verbatim into your production server.
*
*
* Please do not copy this file verbatim into your production server.
*
- * @version $Id$
**/
// give user a chance to see the source for this server instead of running the services
**/
// give user a chance to see the source for this server instead of running the services
diff --git
a/demo/vardemo.php
b/demo/vardemo.php
index
2afbe11
..
3e7a401
100644
(file)
--- a/
demo/vardemo.php
+++ b/
demo/vardemo.php
@@
-87,7
+87,5
@@
And turned it into nylon", "base64"
print "</pre>\n";
?>
print "</pre>\n";
?>
-<hr/>
-<em>$Id$</em>
</body>
</html>
</body>
</html>
diff --git
a/doc/Makefile
b/doc/Makefile
index
516a458
..
de708e0
100644
(file)
--- a/
doc/Makefile
+++ b/
doc/Makefile
@@
-1,4
+1,3
@@
-# $Id: Makefile,v 1.13 2008/03/07 13:01:55 ggiunta Exp $
\r
\r
### USER EDITABLE VARS ###
\r
\r
\r
### USER EDITABLE VARS ###
\r
\r
diff --git
a/doc/convert.php
b/doc/convert.php
index
a0d5ac8
..
3e80791
100644
(file)
--- a/
doc/convert.php
+++ b/
doc/convert.php
@@
-2,8
+2,7
@@
/**
* Script used to convert docbook source to human readable docs
*
/**
* Script used to convert docbook source to human readable docs
*
- * @version $Id$
- * @copyright (c) 2007-2009 G. Giunta
+ * @copyright (c) 2007-2013 G. Giunta
*/
if ($_SERVER['argc'] < 4)
*/
if ($_SERVER['argc'] < 4)
diff --git
a/doc/custom.fo.xsl
b/doc/custom.fo.xsl
index
0122e0c
..
481107d
100644
(file)
--- a/
doc/custom.fo.xsl
+++ b/
doc/custom.fo.xsl
@@
-4,9
+4,8
@@
xmlns:fo="http://www.w3.org/1999/XSL/Format">
\r
<!--
\r
Customization xsl stylesheet for docbook to pdf transform
\r
xmlns:fo="http://www.w3.org/1999/XSL/Format">
\r
<!--
\r
Customization xsl stylesheet for docbook to pdf transform
\r
- @version $Id: custom.fo.xsl,v 1.4 2008/03/06 18:58:44 ggiunta Exp $
\r
@author Gaetano Giunta
\r
@author Gaetano Giunta
\r
- @copyright (c) 2007-20
09
G. Giunta
\r
+ @copyright (c) 2007-20
13
G. Giunta
\r
@license
\r
-->
\r
\r
@license
\r
-->
\r
\r
diff --git
a/doc/custom.xsl
b/doc/custom.xsl
index
a3e26f8
..
7feea37
100644
(file)
--- a/
doc/custom.xsl
+++ b/
doc/custom.xsl
@@
-3,9
+3,8
@@
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
\r
<!--
\r
Customization xsl stylesheet for docbook to chunked html transform
\r
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
\r
<!--
\r
Customization xsl stylesheet for docbook to chunked html transform
\r
- @version $Id: custom.xsl,v 1.3 2008/03/06 18:58:44 ggiunta Exp $
\r
@author Gaetano Giunta
\r
@author Gaetano Giunta
\r
- @copyright (c) 2007-20
09
G. Giunta
\r
+ @copyright (c) 2007-20
13
G. Giunta
\r
@license
\r
-->
\r
\r
@license
\r
-->
\r
\r
diff --git
a/doc/highlight.php
b/doc/highlight.php
index
31752cb
..
9ffe49f
100644
(file)
--- a/
doc/highlight.php
+++ b/
doc/highlight.php
@@
-2,9
+2,8
@@
/**
* takes a dir as arg, highlights all php code found in html files inside
*
/**
* takes a dir as arg, highlights all php code found in html files inside
*
- * @version $Id$
* @author Gaetano Giunta
* @author Gaetano Giunta
- * @copyright (c) 2007-20
09
G. Giunta
+ * @copyright (c) 2007-20
13
G. Giunta
*/
function highlight($file)
*/
function highlight($file)
diff --git
a/doc/xmlrpc_php.xml
b/doc/xmlrpc_php.xml
index
6f42602
..
c664c7c
100644
(file)
--- a/
doc/xmlrpc_php.xml
+++ b/
doc/xmlrpc_php.xml
@@
-4,7
+4,6
@@
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
<!--
PHP-XMLRPC User manual
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
<!--
PHP-XMLRPC User manual
-$Id: xmlrpc_php.xml,v 1.27 2008/09/19 18:35:33 ggiunta Exp $
-->
<book lang="en">
<title>XML-RPC for PHP</title>
-->
<book lang="en">
<title>XML-RPC for PHP</title>
diff --git
a/lib/xmlrpc.inc
b/lib/xmlrpc.inc
index
4b5341d
..
5b39a26
100644
(file)
--- a/
lib/xmlrpc.inc
+++ b/
lib/xmlrpc.inc
@@
-1,7
+1,6
@@
<?php
\r
// by Edd Dumbill (C) 1999-2002
\r
// <edd@usefulinc.com>
\r
<?php
\r
// by Edd Dumbill (C) 1999-2002
\r
// <edd@usefulinc.com>
\r
-// $Id: xmlrpc.inc,v 1.174 2009/03/16 19:36:38 ggiunta Exp $
\r
\r
// Copyright (c) 1999,2000,2002 Edd Dumbill.
\r
// All rights reserved.
\r
\r
// Copyright (c) 1999,2000,2002 Edd Dumbill.
\r
// All rights reserved.
\r
diff --git
a/lib/xmlrpc_wrappers.inc
b/lib/xmlrpc_wrappers.inc
index
d4099f2
..
dc90880
100644
(file)
--- a/
lib/xmlrpc_wrappers.inc
+++ b/
lib/xmlrpc_wrappers.inc
@@
-3,9
+3,8
@@
* PHP-XMLRPC "wrapper" functions
\r
* Generate stubs to transparently access xmlrpc methods as php functions and viceversa
\r
*
\r
* PHP-XMLRPC "wrapper" functions
\r
* Generate stubs to transparently access xmlrpc methods as php functions and viceversa
\r
*
\r
- * @version $Id: xmlrpc_wrappers.inc,v 1.13 2008/09/20 01:23:47 ggiunta Exp $
\r
* @author Gaetano Giunta
\r
* @author Gaetano Giunta
\r
- * @copyright (C) 2006-20
09
G. Giunta
\r
+ * @copyright (C) 2006-20
13
G. Giunta
\r
* @license code licensed under the BSD License: http://phpxmlrpc.sourceforge.net/license.txt
\r
*
\r
* @todo separate introspection from code generation for func-2-method wrapping
\r
* @license code licensed under the BSD License: http://phpxmlrpc.sourceforge.net/license.txt
\r
*
\r
* @todo separate introspection from code generation for func-2-method wrapping
\r
diff --git
a/lib/xmlrpcs.inc
b/lib/xmlrpcs.inc
index
97035e4
..
3fe530f
100644
(file)
--- a/
lib/xmlrpcs.inc
+++ b/
lib/xmlrpcs.inc
@@
-1,7
+1,6
@@
<?php
\r
// by Edd Dumbill (C) 1999-2002
\r
// <edd@usefulinc.com>
\r
<?php
\r
// by Edd Dumbill (C) 1999-2002
\r
// <edd@usefulinc.com>
\r
-// $Id: xmlrpcs.inc,v 1.71 2008/10/29 23:41:28 ggiunta Exp $
\r
\r
// Copyright (c) 1999,2000,2002 Edd Dumbill.
\r
// All rights reserved.
\r
\r
// Copyright (c) 1999,2000,2002 Edd Dumbill.
\r
// All rights reserved.
\r
diff --git
a/test/benchmark.php
b/test/benchmark.php
index
28d6d76
..
19ad334
100644
(file)
--- a/
test/benchmark.php
+++ b/
test/benchmark.php
@@
-2,8
+2,7
@@
/**
* Benchamrking suite for the PHP-XMLRPC lib
* @author Gaetano Giunta
/**
* Benchamrking suite for the PHP-XMLRPC lib
* @author Gaetano Giunta
- * @version $Id$
- * @copyright (c) 2005-2009 G. Giunta
+ * @copyright (c) 2005-2013 G. Giunta
* @license code licensed under the BSD License: http://phpxmlrpc.sourceforge.net/license.txt
*
* @todo add a test for response ok in call testing?
* @license code licensed under the BSD License: http://phpxmlrpc.sourceforge.net/license.txt
*
* @todo add a test for response ok in call testing?
diff --git
a/test/parse_args.php
b/test/parse_args.php
index
39549ce
..
6430b4c
100644
(file)
--- a/
test/parse_args.php
+++ b/
test/parse_args.php
@@
-9,8
+9,7
@@
* @param string HTTPSSURI
* @param string PROXY
*
* @param string HTTPSSURI
* @param string PROXY
*
- * @version $Id$
- * @copyright (C) 2007-2009 G. Giunta
+ * @copyright (C) 2007-20013 G. Giunta
* @license code licensed under the BSD License: http://phpxmlrpc.sourceforge.net/license.txt
**/
* @license code licensed under the BSD License: http://phpxmlrpc.sourceforge.net/license.txt
**/
diff --git
a/test/testsuite.php
b/test/testsuite.php
index
d2e56d4
..
90c5844
100644
(file)
--- a/
test/testsuite.php
+++ b/
test/testsuite.php
@@
-1,5
+1,4
@@
<?php
<?php
- /* $Id$ */
include(getcwd().'/parse_args.php');
include(getcwd().'/parse_args.php');
@@
-101,7
+100,7
@@
"a simple CR here".chr(13).
"a simple LF here".chr(10).
"and then LFCR".chr(10).chr(13).
"a simple CR here".chr(13).
"a simple LF here".chr(10).
"and then LFCR".chr(10).chr(13).
- "last but not least weird names: G
ünter, Elè
ne, and an xml comment closing tag: -->";
+ "last but not least weird names: G
�nter, El�
ne, and an xml comment closing tag: -->";
$f=new xmlrpcmsg('examples.stringecho', array(
new xmlrpcval($sendstring, 'string')
));
$f=new xmlrpcmsg('examples.stringecho', array(
new xmlrpcval($sendstring, 'string')
));
@@
-832,13
+831,13
@@
And turned it into nylon';
}
function testUnicodeInMemberName(){
}
function testUnicodeInMemberName(){
- $v = array('G
ünter, Elè
ne' => new xmlrpcval(1));
+ $v = array('G
�nter, El�
ne' => new xmlrpcval(1));
$r = new xmlrpcresp(new xmlrpcval($v, 'struct'));
$r = $r->serialize();
$m = new xmlrpcmsg('dummy');
$r = $m->parseResponse($r);
$v = $r->value();
$r = new xmlrpcresp(new xmlrpcval($v, 'struct'));
$r = $r->serialize();
$m = new xmlrpcmsg('dummy');
$r = $m->parseResponse($r);
$v = $r->value();
- $this->assertEquals($v->structmemexists('G
ünter, Elè
ne'), true);
+ $this->assertEquals($v->structmemexists('G
�nter, El�
ne'), true);
}
function testUnicodeInErrorString()
}
function testUnicodeInErrorString()
@@
-848,7
+847,7
@@
And turned it into nylon';
<!-- $Id -->
<!-- found by G. giunta, covers what happens when lib receives
UTF8 chars in reponse text and comments -->
<!-- $Id -->
<!-- found by G. giunta, covers what happens when lib receives
UTF8 chars in reponse text and comments -->
-<!--
àüè
àüè -->
+<!--
���
àüè -->
<methodResponse>
<fault>
<value>
<methodResponse>
<fault>
<value>
@@
-859,7
+858,7
@@
And turned it into nylon';
</member>
<member>
<name>faultString</name>
</member>
<member>
<name>faultString</name>
-<value><string>
àüè
àüè</string></value>
+<value><string>
���
àüè</string></value>
</member>
</struct>
</value>
</member>
</struct>
</value>
@@
-868,7
+867,7
@@
And turned it into nylon';
$m=new xmlrpcmsg('dummy');
$r=$m->parseResponse($response);
$v=$r->faultString();
$m=new xmlrpcmsg('dummy');
$r=$m->parseResponse($response);
$v=$r->faultString();
- $this->assertEquals('
àüèàüè
', $v);
+ $this->assertEquals('
������
', $v);
}
function testValidNumbers()
}
function testValidNumbers()
@@
-1216,19
+1215,19
@@
and there they were.</value></member><member><name>postid</name><value>7414222</
{
$s = new xmlrpcmsg('dummy');
$f = "HTTP/1.1 200 OK\r\nContent-type: text/xml; charset=UTF-8\r\n\r\n".'<?xml version="1.0"?><methodResponse><params><param><value><struct><member><name>userid</name><value>311127</value></member>
{
$s = new xmlrpcmsg('dummy');
$f = "HTTP/1.1 200 OK\r\nContent-type: text/xml; charset=UTF-8\r\n\r\n".'<?xml version="1.0"?><methodResponse><params><param><value><struct><member><name>userid</name><value>311127</value></member>
-<member><name>dateCreated</name><value><dateTime.iso8601>20011126T09:17:52</dateTime.iso8601></value></member><member><name>content</name><value>'.utf8_encode('
àüèàüè
').'</value></member><member><name>postid</name><value>7414222</value></member></struct></value></param></params></methodResponse>
+<member><name>dateCreated</name><value><dateTime.iso8601>20011126T09:17:52</dateTime.iso8601></value></member><member><name>content</name><value>'.utf8_encode('
������
').'</value></member><member><name>postid</name><value>7414222</value></member></struct></value></param></params></methodResponse>
';
$r = $s->parseResponse($f, false, 'phpvals');
$v = $r->value();
$v = $v['content'];
';
$r = $s->parseResponse($f, false, 'phpvals');
$v = $r->value();
$v = $v['content'];
- $this->assertEquals("
àüèàüè
", $v);
+ $this->assertEquals("
������
", $v);
$f = '<?xml version="1.0" encoding="utf-8"?><methodResponse><params><param><value><struct><member><name>userid</name><value>311127</value></member>
$f = '<?xml version="1.0" encoding="utf-8"?><methodResponse><params><param><value><struct><member><name>userid</name><value>311127</value></member>
-<member><name>dateCreated</name><value><dateTime.iso8601>20011126T09:17:52</dateTime.iso8601></value></member><member><name>content</name><value>'.utf8_encode('
àüèàüè
').'</value></member><member><name>postid</name><value>7414222</value></member></struct></value></param></params></methodResponse>
+<member><name>dateCreated</name><value><dateTime.iso8601>20011126T09:17:52</dateTime.iso8601></value></member><member><name>content</name><value>'.utf8_encode('
������
').'</value></member><member><name>postid</name><value>7414222</value></member></struct></value></param></params></methodResponse>
';
$r = $s->parseResponse($f, false, 'phpvals');
$v = $r->value();
$v = $v['content'];
';
$r = $s->parseResponse($f, false, 'phpvals');
$v = $r->value();
$v = $v['content'];
- $this->assertEquals("
àüèàüè
", $v);
+ $this->assertEquals("
������
", $v);
}
function testUTF8IntString()
}
function testUTF8IntString()
diff --git
a/test/verify_compat.php
b/test/verify_compat.php
index
5322d4a
..
bdb4ba9
100644
(file)
--- a/
test/verify_compat.php
+++ b/
test/verify_compat.php
@@
-2,9
+2,8
@@
/**
* Verify compatibility level of current php install with php-xmlrpc lib
*
/**
* Verify compatibility level of current php install with php-xmlrpc lib
*
- * @version $Id$
* @author Gaetano Giunta
* @author Gaetano Giunta
- * @copyright (C) 2006-20
09
G. Giunta
+ * @copyright (C) 2006-20
13
G. Giunta
* @license code licensed under the BSD License: http://phpxmlrpc.sourceforge.net/license.txt
*
* @todo add a test for php output buffering?
* @license code licensed under the BSD License: http://phpxmlrpc.sourceforge.net/license.txt
*
* @todo add a test for php output buffering?