Silver's Simple Site - Weblog - 2005 - November


Native Theming on Windows

This is just to outline my plans for working on native theming for menus and toolbars, and related bugs:

  • First priority is to get the pure-CSS appearance in winstripe right. The target appearance is Windows XP Classic. This is being worked on in bug 313388. This is currently going well, and is nearing completion.
  • One single native bit will be written with the pure-CSS version - -moz-MenuBarHoverText, which will be (at this stage) implemented (on platforms which use winstripe, or maybe all) to work exactly like the CSS colour chosen for the hover text colour.
  • The above work will be checked in to trunk CVS (after reviews, etc.) and will remove the -moz-appearance properties currently there. This will mean everyone will see the pure-CSS appearance, and this is exactly what is intended.
  • Any problems found with the pure-CSS appearance (excluding, obviously, "it's not themed!" which I know a few idiots will file) will be fixed at this point, as once the native code is re-enabled, only odd groups of people will ever see it again (OS/2 users, for example).
  • At this point, there will be an expected regression with the Firefox Bookmarks toolbar, which will be fixed (the exact method is yet to be decided).
  • Work will then begin on the native code necessary to support the theme engine in Windows XP. This may involve some minor tweaks to the CSS, but the ideal result is that only -moz-appearance properties are added. -moz-MenuBarHoverText will be adjusted (on Windows only) to follow the correct rules for menu bar text with themes.
  • This will be reviewed and checked in, and that will be it done.
  • Regressions will be fixed here, of course. :-)

It may seem like a long-winded way of doing things, but it will mean you get a top-quality result, as each key part will be written separately, tested separately, and checked in separately (for regression spotting).

Permalink | Author: | Tags: Mozilla, Theming | Posted: 12:56AM on Wednesday, 02 November, 2005 | Comments: 0


Weblog Issues

I've noticed a few bugs and general issues with my weblog software today, so I'll just write it down so you know and I don't forget to fix it on Friday or at the weekend.

  • RSS feed for comments is needed (both for each post, and globally).
  • RSS feed for tag list, and for posts in each tag needed.
  • RSS feed for each date grouping allowed, maybe.
  • If you preview a comment post for a second time, the URL gains an extra "/", which messes up the stylesheet loading and the page title.
  • Link to next month is broken when next month is December (the page title is right, but it is using month 00, instead of 12).
  • Link to next/previous month doesn't change year if wrapping is involved.

Permalink | Author: | Tags: Weblog | Posted: 02:20PM on Wednesday, 09 November, 2005 | Comments: 0


Mysterious Build Errors

Ever since bsmedberg landed bug 313309 part 2, I've been getting the following build error:

 nsIInterfaceRequestorUtils.cpp
Building deps for ....../../source-HEAD/mozilla/xpcom/glue/nsIInterfaceRequestorUtils.cpp
nsIInterfaceRequestorUtils.cpp
m:\tree-firefox-main\objdir\dist\include\xpcom\nsIProgrammingLanguage.h(35) : warning C4003: not enough actual parameters for macro 'NS_DEFINE_STATIC_IID_ACCESSOR'
m:\tree-firefox-main\objdir\dist\include\xpcom\nsIClassInfo.h(36) : warning C4003: not enough actual parameters for macro 'NS_DEFINE_STATIC_IID_ACCESSOR'
../../dist\include\xpcom\nsIInterfaceRequestor.h(41) : warning C4003: not enough actual parameters for macro 'NS_DEFINE_STATIC_IID_ACCESSOR'
m:\tree-firefox-main\objdir\dist\include\xpcom\nsISupportsUtils.h(202) : error C2039: 'GetIID' : is not a member of 'nsIInterfaceRequestor'
       ../../dist\include\xpcom\nsIInterfaceRequestor.h(38) : see declaration of 'nsIInterfaceRequestor'

This is the same error that the 'creature' tinderbox was getting, but unlike that machine, it didn't go away after all the bustage-fixes.

After nuking objdir/dist and objdir/xpcom/base - neither of which helped - I just nuked objdir/xpcom and it finally looks like it might work, having got twice as far into the build as the error point (though it would not surprise me if I needed to nuke other totally random directories later).

The build system is just broken.

It's getting to the point where I'm tempted to make an auto-build-fixer, that just keeps nuking random objdir folders until it works. It would be a more productive use of my time than fixing all these damn problems by hand.

Permalink | Author: | Tags: Mozilla, XPCOM | Posted: 02:26AM on Saturday, 12 November, 2005 | Comments: 0


Weblog Issues - Fixed

I've gone through and fixed all but one of the items listed previously. The only item remaining is the RSS for tags and the tag listing itself.

If you find anything is not working, please do comment, and I'll fix it. Please note that the comments feed is not linked from anywhere, as it is only useful for me monitoring new comments.

Permalink | Author: | Tags: Weblog | Posted: 06:44PM on Saturday, 12 November, 2005 | Comments: 0


Progress Bars

Continuing from my previous post about my Mozilla build tracker, I've added progress bars to the display while it is building. Naturally, it's all done with smoke and mirrors [1], and (perhaps surprisingly) doesn't mess up the display on Internet Explorer at all, though it doesn't show the progress bar.

Actually, thanks to the IE DOM Explorer, part of the IE Developer Toolbar (download from here), I've just fixed the progress bar to work in IE. Woo!

[1] Unofficially, it is all done with CSS, DIVs and PNGs, but we don't like to talk about them...

[2] Worryingly, it is more usable than Mozilla/Firefox's DOM Inspector, for me. I think it's partly that the select-by-click in the IE DOM Explorer totally trumps the same feature in Mozilla/Firefox.

Permalink | Author: | Tags: Mozilla, IE | Posted: 03:23AM on Friday, 18 November, 2005 | Comments: 0


ChatZilla 0.9.69

The next ChatZilla release will be called 0.9.69, mostly due to the excess of changes that have occurred on trunk since the last release. This will be the 0.9.68.5 codebase merged to trunk, plus some extra compatibility updates; this means all the trunk changes since then will be included - and there are a lot of them!

Look forward to it!

Permalink | Author: | Tags: ChatZilla | Posted: 12:27PM on Wednesday, 30 November, 2005 | Comments: 0

Powered by the Content Parser System, copyright 2002 - 2024 James G. Ross.