MozillaZine

[Ext] Status-4-Evar 2017.03.19.12b

Announce and Discuss the Latest Theme and Extension Releases.
avada
 
Posts: 1440
Joined: February 10th, 2008, 6:30 am
Location: Hungary

Post Posted March 10th, 2017, 10:52 am

Chris000001 wrote:It's broken in Nightly. To fix it In, modules>Australis.jsm:

Remark out:
//CU.import("resource://services-common/stringbundle.js");

Change:
const strings = new StringBundle("chrome://status4evar/locale/overlay.properties");
To:
const strings = Services.strings.createBundle("chrome://status4evar/locale/overlay.properties");

Can you reveal which bug is the culprit and in which day's build it appeared?

Chris000001
 
Posts: 456
Joined: September 12th, 2005, 4:43 pm

Post Posted March 10th, 2017, 1:23 pm

I have no idea. You could search for stringbundle in the last few nightly release posts. I used the browser console to find the error and then looked for stringbundle in DXR on the ESR branch. I then compared that file to the nightly branch version and looked at how Mozilla changed it. Then I did the same thing where the browser console showed the error in S4E.

edit: Here's the bug https://bugzilla.mozilla.org/show_bug.cgi?id=1335877

edit 2: One other advantage I had was that I recognized the library S4E used in the line above the one that should be removed (resource://gre/modules/Services.jsm) since I've used it before in my own extensions. I knew it had a lot of references and I thought I remembered seeing "strings" in it before. I checked and it was there.

toscha42

User avatar
 
Posts: 448
Joined: December 15th, 2005, 3:23 pm
Location: Munich

Post Posted March 11th, 2017, 11:09 am

avada wrote:
Chris000001 wrote:It's broken in Nightly. To fix it In, modules>Australis.jsm:

Remark out:
[...]


Can't get it to work since Nighlty immediately disables Status-4-Evar for not being properly signed. Any chance you can get a patched version signed as you're the author?


Cheers
Toscha
Buy me a Becks beer or pass me a bong
Gimmie some Bushmills I'll sing you this song
Open another big box of cheap wine we're over 30 we're doin' just fine
[NOFX]

Chris000001
 
Posts: 456
Joined: September 12th, 2005, 4:43 pm

Post Posted March 11th, 2017, 11:14 am

I'm not the author. You can get Nightly to allow installs by toggling xpinstall.signatures.required in about:config to false or you could join addons.mozilla.org and upload your edited version (along with changing the guid) to have them sign you a version for yourself. You just can't publicly list it since it's not yours.

toscha42

User avatar
 
Posts: 448
Joined: December 15th, 2005, 3:23 pm
Location: Munich

Post Posted March 13th, 2017, 8:44 am

Cool, that did the trick! Many thanks! Now Status-4-Evar populates the status bar again. :)


Cheers
Toscha
Buy me a Becks beer or pass me a bong
Gimmie some Bushmills I'll sing you this song
Open another big box of cheap wine we're over 30 we're doin' just fine
[NOFX]

Bluefang

User avatar
 
Posts: 7856
Joined: August 10th, 2005, 2:55 pm
Location: Vermont

Post Posted March 19th, 2017, 10:04 am

2017.03.19.12b
Version 2017.03.19.12b
* Fix Firefox 54+ compatibility (Bug 1335877) by Jonas Jenwald.
* Consolidate l10n handling.

https://addons.mozilla.org/en-US/firefo ... sions/beta

Just some quick fixes to get it working again. I'm working on converting it to be restartless, which will make it easier to work on all of the styling bugs that have accumulated over time. Still not much hope on making the WebExtensions jump, as it's still lacking the APIs to retrieve browser status, progress, and manage toolbars beyond adding a button.
There have always been ghosts in the machine... random segments of code that have grouped together to form unexpected protocols. Unanticipated, these free radicals engender questions of free will, creativity, and even the nature of what we might call the soul...

joeg

User avatar
 
Posts: 2585
Joined: October 10th, 2003, 12:37 pm
Location: How can you be in two places at once, when you're not anywhere at all?

Post Posted March 19th, 2017, 12:55 pm

Bluefang wrote:2017.03.19.12bVersion 2017.03.19.12b
Perfect! Thanks.
Bluefang wrote:Still not much hope on making the WebExtensions jump, as it's still lacking the APIs to retrieve browser status, progress, and manage toolbars beyond adding a button.
Oh please oh please oh please oh please oh please oh please oh please oh please oh please oh please oh please oh please oh please ..... [-o<
Although every day is Judgment Day, I nonetheless feel like a room without a roof.

Return to Extension/Theme Releases


Who is online

Users browsing this forum: No registered users and 2 guests