~jerith/txjsonrpc/jsonrpc-2.0-support

Viewing all changes in revision 75.

  • Committer: Duncan McGreggor
  • Date: 2009-11-09 06:15:01 UTC
  • mfrom: (70.1.1 trunk)
  • Revision ID: duncan@canonical.com-20091109061501-gfv4qs53y28cs4y9
* Removed version 1 test methods in JSONRPC test case.
* Added unit tests for jsonrpclib.dumps.
* Added unit tests for jsonrpc.BaseProxy.
* Updated defs with svn branch.
* Added unit tests for base query factory.
* Started a test case for the jsonrpclib loads function.
* Fixed the server's render callback where the version was being passed as
unicode instead of an int.
* Touched up a unit test.
* Updated the spec docs with a change.
2009.10.22

* Added support for version 1.0 of the JSON-RPC spec to jsonrpclib.
* Finished the pre-version 1.0 spec.
* Updated the version 1.0 spec with response examples.
* Updated web and web2 JSON-RPC to extract and pass the id and version
parameters.

2009.10.21

* Updated the QueryFactory to take a version parameter in the constructor.
* Added a payload creator that uses the version to determine which payload to
build.
* Changed the constructor to use a new private method for creating the payload.
* Changed the async Proxy classes in web and netstring to accept a version
parameter in the constructor as well as in the callRemote method.
* Updated license file with more recent copyright info.
* Added an exmaple for web client.
* Updated netstring JSON-RPC with support for version parameters in contructor
and callRemote.
* Added a jsonrpc module for abstracting base-classes and removing redundancy
between the three JSON-RPC implementations.
* Added a BaseProxy class.
* Import cleanup.
* Moved more common methods into the base query factory class.
* Created a BaseSubhandler subclass for http and netstring RPC classes.
* Removed session code from netstring RPC test.
* Moved introspection into base module.
* Changed introspection to behave like a mixin instead of a subclass.
* Updated JSON-RPC web2 to use new base classes.
* Updated JSON-RPC web2's Introspection class to use the base introspection
class.

* Added placeholders for version spec files.
* Added missing deferred returns in two tests.
* Added testing helper subpackage.
* Added doctest runner.
* Added manifest file.
* Updated the commit script to run the doctest runner.
* Added headings to the spec files.
* Added request info to the specs.
* Added versioned request functions to jsonrpclib.py and updated the
ServerProxy with a version-sensitive dispatcher.
* Removed non-pertinent sections from pre-version 1 spec.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: