diff --new-file --recursive --suppress-common-lines --exclude changes.txt --exclude diff.txt releases/unplug-2.047/source/chrome/content/common.js releases/unplug-2.048/source/chrome/content/common.js 142c142 < version : 2.047, --- > version : 2.048, 146c146 < revision : 201104101812, --- > revision : 201105222117, diff --new-file --recursive --suppress-common-lines --exclude changes.txt --exclude diff.txt releases/unplug-2.047/source/chrome/content/display/pop/pop.js releases/unplug-2.048/source/chrome/content/display/pop/pop.js 746a747 > var need_sort = false; 752a754 > result.details.mediaid = result.details.mediaid || this.result.details.mediaid; 760,766c762,770 < // keychain changed? < if (this.check_keychain_changed()) { < var root = this.root(); < this.parent.remove_child(this); < root.place_mediaresult(this); < return; < } --- > need_sort = true; > } else if (!this.result.name || !this.result.description || !this.result.thumbnail) { > // can copy some fields (eg: default title) if they are unset, even if less certain > // NOTE: this is destructive to history! > this.result.name = this.result.name || result.name; > this.result.description = this.result.description || result.description; > this.result.thumbnail = this.result.thumbnail || result.thumbnail; > this.result.details.mediaid = this.result.details.mediaid || result.details.mediaid; > } 767a772,780 > // keychain changed (eg: if mediaid changed) > if (this.check_keychain_changed()) { > var root = this.root(); > this.parent.remove_child(this); > root.place_mediaresult(this); > return; > } > > if (need_sort) { 776,781d788 < } else if (!this.result.name || !this.result.description || !this.result.thumbnail) { < // can copy some fields (eg: default title) if they are unset, even if less certain < // NOTE: this is destructive to history! < this.result.name = this.result.name || result.name; < this.result.description = this.result.description || result.description; < this.result.thumbnail = this.result.thumbnail || result.thumbnail; diff --new-file --recursive --suppress-common-lines --exclude changes.txt --exclude diff.txt releases/unplug-2.047/source/chrome/content/rules.xml releases/unplug-2.048/source/chrome/content/rules.xml 205c205 < --- > 206a207,210 > > > > 425a430,433 > > > > 1095a1104,1120 > > > > > > > > k1="224" v1="very-low" > k2="944" v2="low" /> > thumbnail="${thumb.1}" title="${either:title.1:origtitle.innerHTML}" > description="${optional:media.platform} ${optional:media.width}x${optional:media.height} ${optional:media.type} ${optional:media.filesize}bytes" > quality="${qual.1}" /> > > > diff --new-file --recursive --suppress-common-lines --exclude changes.txt --exclude diff.txt releases/unplug-2.047/source/chrome/content/search/search.js releases/unplug-2.048/source/chrome/content/search/search.js 330,332c330,347 < switch (m) { < case "amp": return "&"; < case "quot": return "\""; --- > try { > switch (m) { > case "amp": return "&"; > case "quot": return "\""; > case "rlm": return ""; // right-to-left mark > case "lrm": return ""; // left-to-right mark > } > if (m[0] == "#") { > if (m[1] == "x") { > return String.fromCharCode(parseInt(m.substr(2), 16)); > } else { > return String.fromCharCode(m.substr(1)); > } > } > throw "Unknown htmldecode: entity " + m; > } catch (e) { > UnPlug2.log("Undefined htmldecode entity:" + m); > return m 334,336d348 < if (m[0] == "#") < return String.fromCharCode(m.substr(1)); < throw "Unknown htmldecode: entity " + m; diff --new-file --recursive --suppress-common-lines --exclude changes.txt --exclude diff.txt releases/unplug-2.047/source/chrome/locale/fr-FR/searchpage.dtd releases/unplug-2.048/source/chrome/locale/fr-FR/searchpage.dtd 1c1 <