CVSROOT:        /cvs/gnome
Module name:    yarrr
Changes by:     alexl   05/04/21 05:39:52

Modified files:
        src/org/gnome/yarrr: ReferencableObject.java LiveComment.java 
                             YarrrServlet.java PollWebserver.java 
                             ClientPoll.java Yarrr.java 
                             ToplevelReferencableObject.java 
        web            : referencableobject.js topic.js comment.js 
        .              : ChangeLog 

Log message:
2005-04-21  Alexander Larsson  <[EMAIL PROTECTED]>

* src/org/gnome/yarrr/ClientPoll.java:
* src/org/gnome/yarrr/PollWebserver.java:
* src/org/gnome/yarrr/ReferencableObject.java:
* src/org/gnome/yarrr/ToplevelReferencableObject.java:
* web/referencableobject.js:
Lots of fixes to the new polling model. Fixes most
issues I've found in local testing. Some fixes:
+ We now pass the poll version as a version in the url which is returned
in the response so that we can know if the response was to an old request.
+ We now initialize the version to zero when you poll for a new object (we
used to use the current version). However, when preloading the page we 
initialize
the client poll object to the cached versions. This means we remove a race
condition in the poll system.
+ Close the right connection when a new one replace an old.
+ Close all channels on shutdown
+ Emit less change evens (we emitted some unnecessary ones)

* src/org/gnome/yarrr/LiveComment.java:
* web/comment.js:
Handle version conflics better.

* src/org/gnome/yarrr/Yarrr.java:
Load log4j config earlier.
Add some debug spew
reap inactive persons after 30 secs, not 10.

* src/org/gnome/yarrr/YarrrServlet.java:
(YarrrServlet.doGetInternal):
Pass pollobject when building pre-cache to initialize
versions

* web/topic.js:
Fix unread marking when the chat line is to me.

URL : 
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=yarrr&who=alexl&date=explicit&mindate=2005-04-21%2005:38&maxdate=2005-04-21%2005:40

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

Reply via email to