CVSROOT: /cvs/gnome Module name: yarrr Changes by: alexl 05/05/13 10:14:59
Modified files: src/org/gnome/yarrr: ReferencableObject.java ClientPoll.java ReferencableObjectRegistry.java YarrrXmlRpcMethods.java ToplevelReferencableObject.java web : topic.jsp referencableobject.js chat.js topiclist.jsp topic.js . : ChangeLog Log message: 2005-05-13 Alexander Larsson <[EMAIL PROTECTED]> * src/org/gnome/yarrr/YarrrXmlRpcMethods.java: getPollUrl() no longer takes a list of interesting objects. Instead we monitor all the objects that have a monitor in specified the toplevel object. This means we're not sending huge lists of all interesting objects to the client on every change. * src/org/gnome/yarrr/ClientPoll.java: updateEntries doesn't get id list from client, instead it gets a list of all the monitors in the toplevel and works from that. * src/org/gnome/yarrr/ReferencableObject.java: Move Reference class here from ReferencableObjectRegistry. Add getReference() call * src/org/gnome/yarrr/ReferencableObjectRegistry.java: Index the registry by Reference, not just id, since the id can be the same for persistant objects of different classes. * src/org/gnome/yarrr/ToplevelReferencableObject.java: Keep track of monitors for the toplevel. Pass them to poll.updateEntries(); * web/referencableobject.js: No need to pass the object ids when polling Make sure we silently handle getting change events for objects we don't know of yet, as this can now happen. * web/chat.js: * web/topic.js: Remove old getInterestingObjects code * web/topic.jsp: * web/topiclist.jsp: No need to call theYarrr.addPoll() anymore. URL : http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=yarrr&who=alexl&date=explicit&mindate=2005-05-13%2010:13&maxdate=2005-05-13%2010:15 _______________________________________________ cvs-commits-list mailing list cvs-commits-list@gnome.org http://mail.gnome.org/mailman/listinfo/cvs-commits-list