Changeset 32
- Timestamp:
- 2007-01-16 13:24:34 (2 years ago)
- Files:
-
- trunk/chrome/content/dta/down.js (modified) (3 diffs)
- trunk/chrome/content/dta/overlayFunctions.js (modified) (1 diff)
- trunk/install.rdf (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/chrome/content/dta/down.js
r29 r32 23 23 const FileFactory = new Components.Constructor("@mozilla.org/file/local;1", "nsILocalFile", "initWithPath"); 24 24 25 var downPrefs = { 26 27 28 }; 29 25 30 var Prefs = { 26 31 // default values … … 86 91 var Stats = { 87 92 totalDownloads : 0, 88 completedDownloads : 0, 93 94 // Debug this crap, 95 _completedDownloads : 0, 96 get completedDownloads() : { return this._completedDownloads; }, 97 set completedDownloads(nv) : { if (--this._completedDownloads < 0) { throw "Stats::Completed downloads less than 1"; } }, 98 89 99 zippedToWait : 0, 90 100 downloadedBytes : 0, … … 92 102 } 93 103 94 function URLManager(urls) 95 { 104 function URLManager(urls) { 96 105 this._urls = []; 97 106 this._idx = 0; trunk/chrome/content/dta/overlayFunctions.js
r25 r32 40 40 return def; 41 41 } 42 }, 43 getDTA: function DP_getDTA(key, def) { 44 return this._get('extensions.dta' + key, def); 42 45 }, 43 46 set : function(key, value) { trunk/install.rdf
r17 r32 3 3 <rdf:Description about="urn:mozilla:install-manifest"> 4 4 5 <id> {DDC359D1-844A-42a7-9AA1-88A850A938A8}</id>5 <id>dtamod@tn123.ath.cx</id> 6 6 <name>DownThemAll! Mod</name> 7 7 <description>The mass downloader for Firefox.</description> 8 <version>0.5</version> 8 9 9 10 <creator>Nils Maier</creator> 10 <contributor>Federico Parodi</contributor> 11 <contributor>Stefano Verna</contributor> 12 <version>0.5</version> 11 <developer>Federico Parodi</developer> 12 <developer>Stefano Verna</developer> 13 13 14 14 <!--<aboutURL>chrome://dta/content/about/about.xul</aboutURL>-->
