CVSROOT:        /cvs/gnome
Module name:    yarrr
Changes by:     seth    05/02/06 03:47:24

Modified files:
        client/yarrr   : user.py send_message.py message_cache.py 
                         preferences.py topic_view.py deck.py window.py 
        web            : index.html 
        src/org/gnome/yarrr: Yarrr.java XmlRpcMessageStore.java 
                             Topic.java 
        .              : ChangeLog 
        src/org/gnome/yarrr/servlet: YarrrServlet.java 
Added files:
        web/jsolait/doc: xmlrpc.xhtml stringformat.xhtml highlight.css 
                         tutorial.xhtml crypto.xhtml xml.xhtml 
                         jsolait.xhtml urllib.xhtml jsonrpc.xhtml 
                         html.css index.xhtml codecs.xhtml lang.xhtml 
        web/jsolait    : missingmixin.js init.js copying.txt 
        web/jsolait/lib: xml.js crypto.js lang.js urllib.js xmlrpc.js 
                         jsonrpc.js codecs.js 
        web            : dynamic-message-list-xmlrpc.js 
Removed files:
        web/libs/xmlrpc: vcXMLRPC.js 

Log message:
The JavaScript client is now ported to use the XML-RPC interface
instead of having a custom part client-side part server-side
Servlet code. The servlet is now just a thin execution platform
for XML-RPC (its considerably better than the standalone XML-RPC
server).

* web/dynamic-message-list.js
Port to use XML-RPC instead of POST calls to the servlet.

* client/deck.py:
* client/message_cache.py:
* client/topic_view.py:

XML-RPC server is now on the default namespace rather than yarrr.Whatever.
Update to reflect this.

* client/user.py:
* client/window.py:

Add user.initialize_user() which is called with the server,
so that it can fetch a KeyPair the first time if it needs to.

* client/send_message.py:

update_message_list() is not a method of send_message.py. Maybe
this code was refactored from somewhere else? Just commenting out
for now, with a FIXME.

* preferences.py:

Change to use servlet port numbers for XML-RPC.

* Topic.java:
Use "updatedTime" instead of "updated", as per Topic.hbm.xml. This
would have been caught by the most rudimentary tests if these functions
were tested. Grrr.

* XmlRpcMessageStore.java:
Turn message['author'] into the public key, and message['authorName']
now contains the author's name.

Implement removeMessages for use in the JavaScript client.

In getLastUpdateTime, if the time passed back is null, pass back
new Timestamp(0). Not sure what to do here actually, but null cannot
be marshalled through XML-RPC.

* Yarrr.java
Disable the standalone XML-RPC webserver in favor of the servlet.
The standalone server was pretty shoddy, and servlets will scale
across multiple machines.

* YarrrServlet.java
Remove pretty much everything. Now just a thin execution layer for
the XmlRpc interface.

* Ditch vcXMLRPC.js in favour of jsolait

* Import jsolait, a nice LGPL JavaScript utility library set, including
a base64 decoder, Python-like XML-RPC bindings, and an XML parser.

URL : 
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=yarrr&who=seth&date=explicit&mindate=2005-02-06%2003:46&maxdate=2005-02-06%2003:48

_______________________________________________
cvs-commits-list mailing list
cvs-commits-list@gnome.org
http://mail.gnome.org/mailman/listinfo/cvs-commits-list

Reply via email to