invirt/packages/python-jsonrpclib.git
13 years agoAdd test cases for Unix sockets upstream
Quentin Smith [Sun, 23 Jan 2011 17:32:53 +0000 (12:32 -0500)] 
Add test cases for Unix sockets

13 years agoAllow Unix socket unit testing
Quentin Smith [Sun, 23 Jan 2011 08:13:17 +0000 (03:13 -0500)] 
Allow Unix socket unit testing

13 years agoSupport unix:/foo/bar URLs for the client
Quentin Smith [Sun, 23 Jan 2011 08:08:52 +0000 (03:08 -0500)] 
Support unix:/foo/bar URLs for the client

13 years agoAllow the specification of address_family for JSONRPC servers, and
Quentin Smith [Sun, 23 Jan 2011 07:59:09 +0000 (02:59 -0500)] 
Allow the specification of address_family for JSONRPC servers, and
unlink UNIX sockets before binding them

13 years agoInitial SSL modifications for client.
Josh Marshall [Wed, 3 Nov 2010 05:49:48 +0000 (00:49 -0500)] 
Initial SSL modifications for client.

13 years agoMaking corrections for 2.7 compatibility (which mostly means bypassing the xml parser...
Josh Marshall [Sat, 30 Oct 2010 05:56:45 +0000 (00:56 -0500)] 
Making corrections for 2.7 compatibility (which mostly means bypassing the xml parsers by overwriting Transport.getparser)

13 years agoRemove <code> from README.md (apparently not needed for github) and adding build...
Josh Marshall [Tue, 26 Oct 2010 08:22:54 +0000 (03:22 -0500)] 
Remove <code> from README.md (apparently not needed for github) and adding build/ to gitignore.

13 years agoSetting fcntl to None if not importable, adding tests module, updating README to...
Josh Marshall [Tue, 26 Oct 2010 08:20:19 +0000 (03:20 -0500)] 
Setting fcntl to None if not importable, adding tests module, updating README to markdown.

13 years agoRemoved /RPC2 default setting -- this isn't part of the JSON-RPC spec.
catchjosh [Fri, 10 Sep 2010 07:14:38 +0000 (07:14 +0000)] 
Removed /RPC2 default setting -- this isn't part of the JSON-RPC spec.

git-svn-id: http://jsonrpclib.googlecode.com/svn/trunk@20 ae587032-bbab-11de-869a-473eb4776397

13 years ago...and adding the newly named jsonrpc.py (from jsonrpclib.py).
catchjosh [Sat, 4 Sep 2010 21:45:50 +0000 (21:45 +0000)] 
...and adding the newly named jsonrpc.py (from jsonrpclib.py).

git-svn-id: http://jsonrpclib.googlecode.com/svn/trunk@19 ae587032-bbab-11de-869a-473eb4776397

13 years agoAdded unit tests, renamed to follow absolute importing guidelines, and made minor...
catchjosh [Sat, 4 Sep 2010 21:44:53 +0000 (21:44 +0000)] 
Added unit tests, renamed to follow absolute importing guidelines, and made minor corrections introduced by unit tests.

git-svn-id: http://jsonrpclib.googlecode.com/svn/trunk@18 ae587032-bbab-11de-869a-473eb4776397

13 years agoProtocolErrors raise a (code, message) tuple instead of a string as per request in...
catchjosh [Tue, 15 Jun 2010 04:37:48 +0000 (04:37 +0000)] 
ProtocolErrors raise a (code, message) tuple instead of a string as per request in issue #6.

git-svn-id: http://jsonrpclib.googlecode.com/svn/trunk@17 ae587032-bbab-11de-869a-473eb4776397

13 years agoFixed issue #3 - fixed bad function call.
catchjosh [Tue, 15 Jun 2010 04:36:56 +0000 (04:36 +0000)] 
Fixed issue #3 - fixed bad function call.

git-svn-id: http://jsonrpclib.googlecode.com/svn/trunk@16 ae587032-bbab-11de-869a-473eb4776397

14 years agoSimpleJSONRPCServer works on Python 2.5
yucetekol [Tue, 3 Nov 2009 14:15:54 +0000 (14:15 +0000)] 
SimpleJSONRPCServer works on Python 2.5

git-svn-id: http://jsonrpclib.googlecode.com/svn/trunk@14 ae587032-bbab-11de-869a-473eb4776397

14 years agoOops -- NOW adding the new jsonrpclib/ files (jsonclass, config, history, __init__)
catchjosh [Mon, 2 Nov 2009 05:02:32 +0000 (05:02 +0000)] 
Oops -- NOW adding the new jsonrpclib/ files (jsonclass, config, history, __init__)

git-svn-id: http://jsonrpclib.googlecode.com/svn/trunk@13 ae587032-bbab-11de-869a-473eb4776397

14 years agoMoved into a library directory, added jsonclass translation, and SimpleJSONRPCServer.
catchjosh [Mon, 2 Nov 2009 04:51:00 +0000 (04:51 +0000)] 
Moved into a library directory, added jsonclass translation, and SimpleJSONRPCServer.

git-svn-id: http://jsonrpclib.googlecode.com/svn/trunk@12 ae587032-bbab-11de-869a-473eb4776397

14 years agoAdded proper content-type heading.
catchjosh [Mon, 19 Oct 2009 17:39:20 +0000 (17:39 +0000)] 
Added proper content-type heading.

git-svn-id: http://jsonrpclib.googlecode.com/svn/trunk@11 ae587032-bbab-11de-869a-473eb4776397

14 years agoAdded installation instructions to the README.
catchjosh [Mon, 19 Oct 2009 03:15:59 +0000 (03:15 +0000)] 
Added installation instructions to the README.

git-svn-id: http://jsonrpclib.googlecode.com/svn/trunk@10 ae587032-bbab-11de-869a-473eb4776397

14 years agoAdded setup, moved library into lib.
catchjosh [Mon, 19 Oct 2009 03:11:18 +0000 (03:11 +0000)] 
Added setup, moved library into lib.

git-svn-id: http://jsonrpclib.googlecode.com/svn/trunk@9 ae587032-bbab-11de-869a-473eb4776397

14 years agoTweaked _notify so it's a property instead of string method and tuple parameter passi...
catchjosh [Sun, 18 Oct 2009 19:00:40 +0000 (19:00 +0000)] 
Tweaked _notify so it's a property instead of string method and tuple parameter passing. Also tweaked verbose response so it mirrors xmlrpclib.

git-svn-id: http://jsonrpclib.googlecode.com/svn/trunk@8 ae587032-bbab-11de-869a-473eb4776397

14 years ago...and I left in a couple of print statements. Removed them.
catchjosh [Sun, 18 Oct 2009 16:52:22 +0000 (16:52 +0000)] 
...and I left in a couple of print statements. Removed them.

git-svn-id: http://jsonrpclib.googlecode.com/svn/trunk@7 ae587032-bbab-11de-869a-473eb4776397

14 years agoTweaked MultiCall so it takes a 'ServerProxy' instance instead of a string (like...
catchjosh [Sun, 18 Oct 2009 16:48:24 +0000 (16:48 +0000)] 
Tweaked MultiCall so it takes a 'ServerProxy' instance instead of a string (like the xmlrpclib implementation.)

git-svn-id: http://jsonrpclib.googlecode.com/svn/trunk@6 ae587032-bbab-11de-869a-473eb4776397

14 years agoWhoops, forgot to add parameters to the __notify on Job for the MultiCall, and had...
catchjosh [Sun, 18 Oct 2009 08:34:54 +0000 (08:34 +0000)] 
Whoops, forgot to add parameters to the __notify on Job for the MultiCall, and had to tweak the __notify call response parsing to ensure it didn't fail.

git-svn-id: http://jsonrpclib.googlecode.com/svn/trunk@5 ae587032-bbab-11de-869a-473eb4776397

14 years agoRenamed Batch to MultiCall, added check_for_errors so that we get a _last_response...
catchjosh [Sun, 18 Oct 2009 08:15:46 +0000 (08:15 +0000)] 
Renamed Batch to MultiCall, added check_for_errors so that we get a _last_response before Exceptions get called.

git-svn-id: http://jsonrpclib.googlecode.com/svn/trunk@4 ae587032-bbab-11de-869a-473eb4776397

14 years agoAdding the library.
catchjosh [Sun, 18 Oct 2009 06:52:46 +0000 (06:52 +0000)] 
Adding the library.

git-svn-id: http://jsonrpclib.googlecode.com/svn/trunk@3 ae587032-bbab-11de-869a-473eb4776397

14 years agoAdding README, and verifying that this puts the files in the proper place. :)
catchjosh [Sun, 18 Oct 2009 06:46:41 +0000 (06:46 +0000)] 
Adding README, and verifying that this puts the files in the proper place. :)

git-svn-id: http://jsonrpclib.googlecode.com/svn/trunk@2 ae587032-bbab-11de-869a-473eb4776397

14 years agoInitial directory structure.
(no author) [Sun, 18 Oct 2009 06:01:30 +0000 (06:01 +0000)] 
Initial directory structure.

git-svn-id: http://jsonrpclib.googlecode.com/svn/trunk@1 ae587032-bbab-11de-869a-473eb4776397