- Some code refactoring: Creating file filesList.js, which contains
generic functions for using file lists (arrays whose entries keep file
names and statistics) and corresponding listing files. They can be (and are)
used in another application, and previously were in file conflictCheck.js.
conflictCheck.js is now even more focussed on the 2-way-sync logic
of roaming.
- Added some safe-exception-catches, and showing the error in the UI.
Currently, the code just malfunctions (broken dialog buttons?) in that case.
This should help with bug 244589 and bug 244720, if the fix below fails,
and other future unexpected problems.
- Making the status message actually show something.
- Renaming dumbObject() to ddumpObject() to match ddump() for easier replace
- fixed bug 246201 - infinite conflicts
- less conflicts, if files non-existant
- potentially transfer less (if we know we have the file already)
- code doc improved
- pref API usage
In filesList.js:
- Changing listing file to actually use Unixtime as claimed
(breaks existing files, but should only cause conflicts once)
- Using indexed file lists, should be faster, probably not significant
for roaming
- Allow last modified time to differ 1 sec, because of FAT inaccuracy,
not needed for roaming
- Option to allow newer files, not needed for roaming
- Fixing bug 244589 and probably bug 244720 by moving dom creation after the
empty filename check.
- minimal API change for extractFiles()
git-svn-id: svn://10.0.0.236/trunk@158033 18797224-902f-48f8-a5cc-f745e15eee43
New module for session-based roaming like in Netscape Communicator 4.x.
r=Pete Zha <pete.zha@sun.com>
sr=darin (backend), jag (UI code)
a=tor
Tracking of bugs, regressions: Bug 228629
git-svn-id: svn://10.0.0.236/trunk@156859 18797224-902f-48f8-a5cc-f745e15eee43
- (ok, also fixed a non-sensical comment)
- what are these contents.rdf changes always?
git-svn-id: svn://10.0.0.236/trunk@143869 18797224-902f-48f8-a5cc-f745e15eee43
- lots of work on the prefs. work now, with a few ceveats. the pref dialog is a pain when used without prefs.
- bugfixes for transfer
git-svn-id: svn://10.0.0.236/trunk@139177 18797224-902f-48f8-a5cc-f745e15eee43