[Ext] Console² 0.1 to 0.3.6.2
- Schrade
- Posts: 1187
- Joined: March 17th, 2004, 12:24 am
I don't think anyone knew you could Customize the toolbars, I sure didn't. I wouldn't have chirped up about wanting a Clear button if I knew you could customize it like the Firefox browser window.
"Linux is for those who hate Windows, BSD is for those who love Unix." -Some Guy
Try my themes: QuBranch and QuTrunk
Fix Firefox's Resized image scrolling speed: <b>Bug 163975</b>
Try my themes: QuBranch and QuTrunk
Fix Firefox's Resized image scrolling speed: <b>Bug 163975</b>
-
- Posts: 2777
- Joined: November 7th, 2002, 1:00 am
- Location: Japan
- Contact:
zeniko wrote:The updated v0.1.6 should fix (in a hackish way, so it probably won't always work) the missing icons. If anybody knows how to theme extensions differently depending on the used platform/theme, I might improve the fix. Additionally I've modified the focus outline - you might now see it on OS X, too (got no own Mac, so there won't be any testing - and skinning isn't really my business, anyway).
The icons for warning, error, etc now work fine on OS X.
-
- Posts: 0
- Joined: December 31st, 1969, 5:00 pm
Here goes another testing release: <a href="http://www.haslo.ch/zeniko/software/console2-dev.xpi">Console² v0.1.6+</a>, which implements a somewhat cleaner solution for detecting OS X and which provides icon overlays for CSS and XML errors. The overlays look half-way alright on winstripe, but might not on other themes. So if somebody would like to improve them (the font's background probably shouldn't be transparent)...
And now that you can see the difference, please notify me, if you think that some errors/messages are in the wrong language category (notification should include a text copy of the item and if possible the error's actual category - that one you'll find by inspecting the item's box's attributes).
And now that you can see the difference, please notify me, if you think that some errors/messages are in the wrong language category (notification should include a text copy of the item and if possible the error's actual category - that one you'll find by inspecting the item's box's attributes).
-
- Posts: 4019
- Joined: November 16th, 2003, 3:05 am
- Location: Russia, Moscow
zeniko wrote:The updated v0.1.6 should fix (in a hackish way, so it probably won't always work) the missing icons. If anybody knows how to theme extensions differently depending on the used platform/theme, I might improve the fix. Additionally I've modified the focus outline - you might now see it on OS X, too (got no own Mac, so there won't be any testing - and skinning isn't really my business, anyway).
http://developer.mozilla.org/en/docs/ch ... ackages.29 ?
-
- Posts: 0
- Joined: December 31st, 1969, 5:00 pm
asqueella wrote:http://developer.mozilla.org/en/docs/chrome.manifest#platform_.28Platform-specific_packages.29 ?
Well, unfortunately the platform modifier works only for content and not for skin registration. But that's better than nothing (and neatly solved my javascript: flickering problem), thanks!
-
- Posts: 4019
- Joined: November 16th, 2003, 3:05 am
- Location: Russia, Moscow
It seems that errors from Components.reportError are treated as "content" too.
Also when hide duplicates option is on, the console contents flickers a bit when a new (duplicate) message is logged. Apparent when mouse-overing GMail inbox page with Error Console in foreground.
Alt+C shortcut for Clear doesn't work when the Clear button isn't on the toolbar. I think you should include a workaround for that, if not add the Clear button back on the toolbar.
Also when hide duplicates option is on, the console contents flickers a bit when a new (duplicate) message is logged. Apparent when mouse-overing GMail inbox page with Error Console in foreground.
Alt+C shortcut for Clear doesn't work when the Clear button isn't on the toolbar. I think you should include a workaround for that, if not add the Clear button back on the toolbar.
-
- Posts: 0
- Joined: December 31st, 1969, 5:00 pm
Here goes the next testing release (consider it a nightly): <a href="http://www.haslo.ch/zeniko/software/console2-dev.xpi">Console² v0.1.6.1+</a>, which is a flicker-reducing version - on the one hand, the original console should now be seamlessly replaced since it is simply overridden in chrome; on the other hand, the filters apply now before a message is shown, which should eliminate all unnecessary movement in the console.
The categories are still not applied correctly, that'll follow in the next release (I'll have to rewrite the detection algorithm first).
And as for Alt+C: that'll be Alt+O,C now, if you don't want to put the Clear button itself back to the toolbar. For now, I'm quite happy with the defaults, but I'll provide you with all reasonable means of getting the Console to work the way you're used to (which means: somewhat customizeable and as a last resort easily overlayable).
The categories are still not applied correctly, that'll follow in the next release (I'll have to rewrite the detection algorithm first).
And as for Alt+C: that'll be Alt+O,C now, if you don't want to put the Clear button itself back to the toolbar. For now, I'm quite happy with the defaults, but I'll provide you with all reasonable means of getting the Console to work the way you're used to (which means: somewhat customizeable and as a last resort easily overlayable).
-
- Posts: 2777
- Joined: November 7th, 2002, 1:00 am
- Location: Japan
- Contact:
with Console² v0.1.6.1+, I get an error:
Also, the error-, etc icons have disappeared again (OS X).
But it still works otherwise (I think, it flags the expected errors on one of my sites).
Code: Select all
Error: aChild is not defined
Source File: chrome://console2/content/console2.js
Line: 547
Also, the error-, etc icons have disappeared again (OS X).
But it still works otherwise (I think, it flags the expected errors on one of my sites).
-
- Posts: 0
- Joined: December 31st, 1969, 5:00 pm
@phiw13: That'll be fixed tonight.
@Unarmed: That would probably be feasible, but I'm not yet convinced of its usefulness (and hate to think about having to introduce the first pref setting ). It could even be confusing to display these results when filtering for Content, as because the context for the evaluation is Chrome, what you test might not work for content anyway. Maybe you could elaborate more about why this should still go in. Otherways you could give my Console Filter extension a try, which allows to control somewhat more precisely what actually should be shown...
@Unarmed: That would probably be feasible, but I'm not yet convinced of its usefulness (and hate to think about having to introduce the first pref setting ). It could even be confusing to display these results when filtering for Content, as because the context for the evaluation is Chrome, what you test might not work for content anyway. Maybe you could elaborate more about why this should still go in. Otherways you could give my Console Filter extension a try, which allows to control somewhat more precisely what actually should be shown...
-
- Posts: 4019
- Joined: November 16th, 2003, 3:05 am
- Location: Russia, Moscow
The categories are still not applied correctly, that'll follow in the next release (I'll have to rewrite the detection algorithm first).
I think this is covered by your comment, but the syntax errors in expressions evaluated in the console are reported as content, while the output they provide is treated as chrome.
About Unarmed's suggestion, I agree it is a bit confusing when the output/errors of what you evaluate in the console is filtered out. I think that from the UI point of view, it would be good, if the results of evaluation were duplicated in a tooltip, or something like that, if they are not visible in the console's richlistbox due to filtering.
- mrtech
- Posts: 2007
- Joined: May 15th, 2003, 7:46 am
- Location: New York
- Contact:
I haven't read this whole thread and only looked at your chrome.manifest, but you can try the new chrome "override" to replace the console with console2, might require some recoding and having a seperate copy etc, but it would give you full control over your xul and would not bring up the base console when called, just an idea:
override chrome://package/type/original-uri.whatever new-resolved-URI
http://developer.mozilla.org/en/docs/Ch ... n#override
override chrome://package/type/original-uri.whatever new-resolved-URI
http://developer.mozilla.org/en/docs/Ch ... n#override
-
- Posts: 0
- Joined: December 31st, 1969, 5:00 pm
Night again, time for a nightly: <a href="http://www.haslo.ch/zeniko/software/console2-dev.xpi">Console² v0.1.6.2+</a>. This should fix the OS X missing-icons bug, as well as all the category bugs (see below). Temporarily I've also added a tooltip for displaying evaluation results should the result itself get filtered out. Don't like it this way, though, so I'm waiting for better proposals (how should it look like, what about error messages?).
@mrtech: You've missed the testing versions. On asqueella's hint above, I've implemented this for v0.1.6.1+.
@onemen: Are you sure that they are related to this extension? I don't see it overlaying console.xul and what I do in the browser overlay is absolutely harmless. This might rather be an ieview bug which just got uncovered by a different loading order of your extensions.
Now as for the categories, below is a reference of all category strings I've found in the current 1.8 branch sources and how they're interpreted by Console². For all categories where no context is indicated (Chrome or Content), the context is deduced from the error's source (everything starting with chrome:// is Chrome, the rest is Content). Since strict warnings don't feature a category, I had to put the empty category to the JavaScript errors. Tell me, in case you don't agree with any of this.
~ Lang: JS ~
xbl javascript
chrome javascript [Chrome]
content javascript [Content]
component javascript [Chrome]
XPConnect JavaScript [Chrome]
XPInstall JavaScript
<none> / error or message [Chrome]
<none> / warning
~ Lang: CSS ~
CSS Loader
CSS Parser
~ Lang: XML ~
malformed-xml
chrome registration [Chrome]
HTML
XBL Content Sink
XUL Document
DOM:HTML
ImageMap
@mrtech: You've missed the testing versions. On asqueella's hint above, I've implemented this for v0.1.6.1+.
@onemen: Are you sure that they are related to this extension? I don't see it overlaying console.xul and what I do in the browser overlay is absolutely harmless. This might rather be an ieview bug which just got uncovered by a different loading order of your extensions.
Now as for the categories, below is a reference of all category strings I've found in the current 1.8 branch sources and how they're interpreted by Console². For all categories where no context is indicated (Chrome or Content), the context is deduced from the error's source (everything starting with chrome:// is Chrome, the rest is Content). Since strict warnings don't feature a category, I had to put the empty category to the JavaScript errors. Tell me, in case you don't agree with any of this.
~ Lang: JS ~
xbl javascript
chrome javascript [Chrome]
content javascript [Content]
component javascript [Chrome]
XPConnect JavaScript [Chrome]
XPInstall JavaScript
<none> / error or message [Chrome]
<none> / warning
~ Lang: CSS ~
CSS Loader
CSS Parser
~ Lang: XML ~
malformed-xml
chrome registration [Chrome]
HTML
XBL Content Sink
XUL Document
DOM:HTML
ImageMap
Last edited by old zeniko on March 17th, 2006, 3:00 pm, edited 1 time in total.