[cvs] commit: dimp dimp.js.php dimp/js DimpCore.js ViewPort.js dimp/js/src DimpCore.js ViewPort.js dimp/templates/chunks folder.php dimp/templates/index index.inc dimp/templates/views ListMessages.php
Michael M Slusarz
slusarz at horde.org
Tue Feb 13 20:35:18 PST 2007
slusarz 2007-02-13 23:35:18 EST
Modified files:
. dimp.js.php
js DimpCore.js ViewPort.js
js/src DimpCore.js ViewPort.js
templates/index index.inc
templates/views ListMessages.php
Removed files:
templates/chunks folder.php
Log:
Don't chunk all folder code every time we switch folders. Rather, save an
entire AJAX call by obtaining the 2 pieces of information we really need from
ListMessages (only 1 AJAX call is now needed to view a mailbox, instead of
2 before). Keep the folder HTML code in memory and simply hide it when we
are doing other things in the viewport (like viewing the portal).
When parsing ajax-response parameters, use a simpler byte-by-byte method rather
than using regex to parse the strings multiple times.
We previously were rebuilding the splitBar on every folder change - now reuse
the current splitBar if it exists.
Revision Changes Path
1.2 +6 -1 dimp/dimp.js.php
1.27 +84 -83 dimp/js/DimpCore.js
1.76 +28 -35 dimp/js/ViewPort.js
1.29 +103 -87 dimp/js/src/DimpCore.js
1.54 +90 -42 dimp/js/src/ViewPort.js
1.71 +0 -71 dimp/templates/chunks/Attic/folder.php (dead)
1.80 +55 -2 dimp/templates/index/index.inc
1.50 +2 -2 dimp/templates/views/ListMessages.php
Chora Links:
http://cvs.horde.org/diff.php/dimp/dimp.js.php?r1=1.1&r2=1.2&ty=u
http://cvs.horde.org/diff.php/dimp/js/DimpCore.js?r1=1.26&r2=1.27&ty=u
http://cvs.horde.org/diff.php/dimp/js/ViewPort.js?r1=1.75&r2=1.76&ty=u
http://cvs.horde.org/diff.php/dimp/js/src/DimpCore.js?r1=1.28&r2=1.29&ty=u
http://cvs.horde.org/diff.php/dimp/js/src/ViewPort.js?r1=1.53&r2=1.54&ty=u
http://cvs.horde.org/co.php/dimp/templates/chunks/Attic/folder.php?r=1.70
http://cvs.horde.org/diff.php/dimp/templates/index/index.inc?r1=1.79&r2=1.80&ty=u
http://cvs.horde.org/diff.php/dimp/templates/views/ListMessages.php?r1=1.49&r2=1.50&ty=u
More information about the cvs
mailing list