diff --new-file --recursive --suppress-common-lines --exclude changes.txt --exclude diff.txt releases/unplug-2.038/source/chrome/content/common.js releases/unplug-2.039/source/chrome/content/common.js
42a43,44
> this._unicodeconvert = Components.classes["@mozilla.org/intl/scriptableunicodeconverter"]
> .createInstance(Components.interfaces.nsIScriptableUnicodeConverter);
129a132,136
> decode : function (encoding, s) {
> this._unicodeconvert.charset = encoding
> return this._unicodeconvert.ConvertToUnicode(s);
> },
>
135c142
< version : 2.038,
---
> version : 2.039,
139c146
< revision : 201011292108,
---
> revision : 201012131725,
diff --new-file --recursive --suppress-common-lines --exclude changes.txt --exclude diff.txt releases/unplug-2.038/source/chrome/content/config/config.xul releases/unplug-2.039/source/chrome/content/config/config.xul
124c124
<
---
>
diff --new-file --recursive --suppress-common-lines --exclude changes.txt --exclude diff.txt releases/unplug-2.038/source/chrome/content/display/download.js releases/unplug-2.039/source/chrome/content/display/download.js
95a96,105
> // check nsiProcess supports runwAsync -- see below
> // this will avoid disapointment of downloading rtmpdump before being
> // told there was no point
> var process = Components.classes["@mozilla.org/process/util;1"]
> .createInstance(Components.interfaces.nsIProcess);
> if (!process.runwAsync) {
> alert("Firefox 4 required");
> throw "nsIProcess.runwAsync is not implemented";
> }
> // work out where rtmpdump lives
100a111
> // open download window and get it to call exec_from_siganl
diff --new-file --recursive --suppress-common-lines --exclude changes.txt --exclude diff.txt releases/unplug-2.038/source/chrome/content/display/extern/extern.js releases/unplug-2.039/source/chrome/content/display/extern/extern.js
87c87,89
< extern.watching.filter(function (item, idx, arr) {
---
> // TODO this makes this not threadsafe, we may mess up if we
> // call watching.push() from a different thread.
> extern.watching = extern.watching.filter(function (item, idx, arr) {
105a108,114
> }),
>
> want_close : (function () {
> if (this.watching.length > 0) {
> return confirm("Current downloads will no longer be listed if you close this window.");
> }
> return true;
diff --new-file --recursive --suppress-common-lines --exclude changes.txt --exclude diff.txt releases/unplug-2.038/source/chrome/content/display/extern/extern.xul releases/unplug-2.039/source/chrome/content/display/extern/extern.xul
39a40
> ondialogclose="return UnPlug2Extern.want_close();"
diff --new-file --recursive --suppress-common-lines --exclude changes.txt --exclude diff.txt releases/unplug-2.038/source/chrome/content/rules.xml releases/unplug-2.039/source/chrome/content/rules.xml
71,82c71,98
<
<
<
<
<
<
<
<
<
<
<
<
---
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
542c558
<
---
>
844,845c860,861
<
<
---
>
>
851a868,885
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
diff --new-file --recursive --suppress-common-lines --exclude changes.txt --exclude diff.txt releases/unplug-2.038/source/chrome/content/search/search.js releases/unplug-2.039/source/chrome/content/search/search.js
300c300,308
< return unescape(this._subst_apply_functions(parts)).replace("+", " ", "g");
---
> // we could use decodeURI here, but that fails to
> // unescape all the characters we want (colon, slash, ...)
> // but we still want to interpret as unicode
> var v = this._subst_apply_functions(parts)
> return UnPlug2.decode("UTF-8", unescape(v)).replace("+", " ", "g");
> case "urldecode_unicode":
> var encoding = parts.pop();
> var v = this._subst_apply_functions(parts)
> return UnPlug2.decode(encoding, unescape(v)).replace("+", " ", "g");
diff --new-file --recursive --suppress-common-lines --exclude changes.txt --exclude diff.txt releases/unplug-2.038/source/install.rdf releases/unplug-2.039/source/install.rdf
2,20c2,25
<
<
<
<
<
---
> xmlns:em="http://www.mozilla.org/2004/em-rdf#"
> xmlns:NC="http://home.netscape.com/NC-rdf#"
> xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
> RDF:about="urn:mozilla:install-manifest"
> em:id="unplug@compunach"
> em:version="2.039"
> em:type="2"
> em:name="UnPlug"
> em:description="Find and download media from websites"
> em:creator="h2g2bob <unplug@dbatley.com>"
> em:homepageURL="http://unplug.dbatley.com/"
> em:iconURL="chrome://unplug/skin/unplug-32.png"
> em:optionsURL="chrome://unplug/content/config/config.xul" >
>
>
>
> {ec8030f7-c20a-464f-9b0e-13a3a9e97384}
> 3.0
> 4.0b7
>
>
>
Binary files releases/unplug-2.038/unplug.xpi and releases/unplug-2.039/unplug.xpi differ