Skip to content
This repository has been archived by the owner on Feb 17, 2021. It is now read-only.

Commit

Permalink
1.5.1
Browse files Browse the repository at this point in the history
<b>[locale(s)]</b>
- Greek (el) translation updated (thanks to George M.)
- Upper Sorbian (hsb) translation updated (thanks to milupo)
- Lower Sorbian (dsb) translation updated (thanks to milupo)
- Czech (cs) translation updated (thanks to poljos)
- Slovenian (sl-SI) translation updated (thanks to Klofutar)
- Polish (pl-PL) translation updated (thanks to Mrere)
- Estonian (et) translation updated (thanks to Maidur)
- Chinese (zh-CN) translation updated (thanks to Cye3s)
- Spanish (es) translation updated (thanks to strel)
- Russian (ru) translation updated (thanks to Alexei)
- Ukrainian (uk) translation updated (thanks to Sacredwheels)

<b>[fix(es)]</b>
- squared pinned tabs: glitch with tab toolbars overflow state
- Win 10 & squared tabs v2: glitch in maximized mode
- Win10 & Fx47: option to display OS titlebar background
- MacOS & big icon mode: back/forward button
- pinned tabs & 'titlechanged' status
- pinned tabs: image padding in some cases

<b>[add-on compatibility]</b>
- 'FireIE' add-on: padding in some cases
- 'Cache status' add-on: status position (not on prefwindow)
-> about:config > extensions.classicthemerestorer.cstatextlb >
-> true: location bar (CS add-ons default position)
-> false: CTRs status area (old default position)

<b>[new option(s)]</b>
- (Fx45+) General UI 1: HTML5 full screen warning
-> switches full-screen-api.warning.timeout between 3000 and 0
-> switches full-screen-api.warning.delay between 500 and 0
- (Fx48+) Location bar (1): alternative 'autocomplete popup'
(experimental)
-> Preview: http://i.imgur.com/w2LXlAu.png

<b>[general change(s)]</b>
- tweaks for 'hide i-icon' option
- unlocked tab height settings: up to 250 px possible
-> this will cause glitches with some tab variations
- old search: popup width based on search input width
-> (old behavior) extensions.classicthemerestorer.osearch_iwidth > false
- add-on manager options: font size tweaks for add-on description
  • Loading branch information
Aris-t2 committed Apr 30, 2016
1 parent 1888973 commit 241803d
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 29 deletions.
71 changes: 43 additions & 28 deletions xpi/content/ctr_oldsearch.xml
Original file line number Diff line number Diff line change
Expand Up @@ -309,17 +309,18 @@
popup.removeChild(items[i]);
}
var width = 100;
try{
width = document.getElementById("searchbar").getBoundingClientRect().width-3;
} catch(e){}
if(Services.appinfo.OS=="Darwin")
width = width-6;
popup.setAttribute("width", width);
if(Services.prefs.getBranch("extensions.classicthemerestorer.").getBoolPref("osearch_iwidth")) {
var width = 100;
try{
width = document.getElementById("searchbar").getBoundingClientRect().width-3;
} catch(e){}
if(Services.appinfo.OS=="Darwin")
width = width-6;
popup.setAttribute("width", width);
}
var addengines = gBrowser.selectedBrowser.engines;
Expand Down Expand Up @@ -696,29 +697,43 @@
popup.showImageColumn = this.showImageColumn;
document.popupNode = null;
var isRTL = getComputedStyle(this, "").direction == "rtl";
var outerRect = this.getBoundingClientRect();
var innerRect = this.inputField.getBoundingClientRect();
var width = 100;
var xOffset = -35;
try{
width = document.getElementById("searchbar").getBoundingClientRect().width-3;
} catch(e){}
var xOffset = 0;
if(Services.appinfo.OS=="Darwin") {
width = width-6;
xOffset = -36;
} else if (Services.appinfo.OS!="Darwin" && Services.appinfo.OS!="WINNT") {
width = width-2;
xOffset = -36;
} else if (Services.appinfo.OS=="WINNT" && navigator.oscpu == "Windows NT 10.0") {
xOffset = -36;
width = width+1;
}
if(Services.prefs.getBranch("extensions.classicthemerestorer.").getBoolPref("osearch_iwidth")) {
var width = 100;
xOffset = -35;
try{
width = document.getElementById("searchbar").getBoundingClientRect().width-3;
} catch(e){}
if(Services.appinfo.OS=="Darwin") {
width = width-6;
xOffset = -36;
} else if (Services.appinfo.OS!="Darwin" && Services.appinfo.OS!="WINNT") {
width = width-2;
xOffset = -36;
} else if (Services.appinfo.OS=="WINNT" && navigator.oscpu == "Windows NT 10.0") {
xOffset = -36;
width = width+1;
}
popup.setAttribute("width", width);
popup.setAttribute("width", width);
} else {
if (isRTL) {
var width = innerRect.right - outerRect.left;
} else {
var width = outerRect.right - innerRect.left;
}
popup.setAttribute("width", width > 100 ? width : 100);
}
var yOffset = outerRect.bottom - innerRect.bottom;
popup.openPopup(this.inputField, "after_start", xOffset, yOffset, false, false);
Expand Down
1 change: 1 addition & 0 deletions xpi/defaults/preferences/options.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ pref("extensions.classicthemerestorer.ctroldsearch",false);
pref("extensions.classicthemerestorer.ctroldsearchc",false);
pref("extensions.classicthemerestorer.osearch_meoit",false);
pref("extensions.classicthemerestorer.osearch_dm",false);
pref("extensions.classicthemerestorer.osearch_iwidth",true);
pref("extensions.classicthemerestorer.addonversion",true);
pref("extensions.classicthemerestorer.alt_addonsm",false);
pref("extensions.classicthemerestorer.am_nowarning",false);
Expand Down
2 changes: 1 addition & 1 deletion xpi/install.rdf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<Description rdf:about="urn:mozilla:install-manifest">
<em:id>ClassicThemeRestorer@ArisT2Noia4dev</em:id>
<em:name>Classic Theme Restorer</em:name>
<em:version>1.5.1beta11</em:version>
<em:version>1.5.1</em:version>
<em:type>2</em:type>
<em:multiprocessCompatible>true</em:multiprocessCompatible>

Expand Down

0 comments on commit 241803d

Please sign in to comment.