This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
9617
Features / Re: New revs
« on March 24th, 2011, 10:07 PM »
rev 665
(3 files +1, 17kb)
! Fixed a potential undefined variable error when applying mixins. (Class-CSS.php)
! Added support for Safari gradients. Newer versions of the browser were fine, but not the current ones. (Class-CSS.php)
! It would seem that some versions of PHP, or whatever, don't support self::method calls inside a preg_replace_callback. Changed these to array($this, 'method'). (Class-CSS.php)
* Made French version clearer for keyboard shortcuts in the post box. (Post.french.php)
+ Added a different mini-logo in the Wine footer. (Wine/index.css, wedgesight.png)
None of this is about vertical alignment. I committed everything NOT related to it, actually. I'm strongly considering reverting my current local changes because, well... It's probably not worth all the trouble in the end.
(3 files +1, 17kb)
! Fixed a potential undefined variable error when applying mixins. (Class-CSS.php)
! Added support for Safari gradients. Newer versions of the browser were fine, but not the current ones. (Class-CSS.php)
! It would seem that some versions of PHP, or whatever, don't support self::method calls inside a preg_replace_callback. Changed these to array($this, 'method'). (Class-CSS.php)
* Made French version clearer for keyboard shortcuts in the post box. (Post.french.php)
+ Added a different mini-logo in the Wine footer. (Wine/index.css, wedgesight.png)
None of this is about vertical alignment. I committed everything NOT related to it, actually. I'm strongly considering reverting my current local changes because, well... It's probably not worth all the trouble in the end.
9619
Features / Re: Find and repair errors
« on March 22nd, 2011, 06:52 PM »
I don't know... What matters to me is that it works ;) And it doesn't always. (Board relationship issue reported but not fixed.)
9621
Features / Re: New revs
« on March 21st, 2011, 04:59 PM »
rev 664
(11 files, 18kb)
+ Added a third optional parameter to gradient-background, top/left which determines whether the gradient is vertical or horizontal. (Class-CSS.php)
* gradient-background should now accept any kind of color parameter. Untested, though. (Class-CSS.php)
* Optimized rgba emulation for IE and generally reworked the wecss class's structure, for whatever reason I don't remember. But it was probably a good one. (Class-CSS.php)
! IE8 doesn't support rgba(), either... I tend to forget that even that version sucks. (Subs-Cache.php)
* Trying to save a few milliseconds in IE6 when resizing the screen. On the other hand, I should disable it altogether for IE6, as it doesn't really work with it... (index.template.php)
* Moved the top linktree to the root, and renamed .linktree to #linktree and .linktree.bt to #linktree_bt (inherited). Should make it easier to style. (index.template.php, index.css, rtl.css, Pastel/index.css)
! Fixed some foldable icon margins and other glitches. (sections.css, Wine/index.css, Pastel/ie6.css)
- Debug code. (Post.template.php)
(11 files, 18kb)
+ Added a third optional parameter to gradient-background, top/left which determines whether the gradient is vertical or horizontal. (Class-CSS.php)
* gradient-background should now accept any kind of color parameter. Untested, though. (Class-CSS.php)
* Optimized rgba emulation for IE and generally reworked the wecss class's structure, for whatever reason I don't remember. But it was probably a good one. (Class-CSS.php)
! IE8 doesn't support rgba(), either... I tend to forget that even that version sucks. (Subs-Cache.php)
* Trying to save a few milliseconds in IE6 when resizing the screen. On the other hand, I should disable it altogether for IE6, as it doesn't really work with it... (index.template.php)
* Moved the top linktree to the root, and renamed .linktree to #linktree and .linktree.bt to #linktree_bt (inherited). Should make it easier to style. (index.template.php, index.css, rtl.css, Pastel/index.css)
! Fixed some foldable icon margins and other glitches. (sections.css, Wine/index.css, Pastel/ie6.css)
- Debug code. (Post.template.php)
9622
Features / Re: New revs
« on March 20th, 2011, 07:54 PM »
rev 663
(7 files, 15kb)
+ Added a new custom CSS property, 'gradient-background', which allows you to set a transparent background, or a (transparent or not) gradient background. The point is that, in addition to vendor tags, it also deals with IE and makes it compatible with IE 6-9. Only supports vertical gradients for now. (Class-CSS.php, ie6.css, ie7.css, ie8.css, index.css)
! Fixed a bug introduced in revision 76 which caused Firefox not to be detected in $browser. Yeah, that's an old one... Goes to show how much we test in Firefox, eh..? Or just the fact that it doesn't need too many hacks. (Load.php)
- Removed the ugly '/hex' solution for IE filters, since gradient-background will now take care of that. Moved color conversion to its own area, saving some processing time for other browsers. (Class-CSS.php, Subs-Cache.php)
Note: the gradient-background() function is still a bit... fragile. Meaning, it won't work with #rrggbb values, things like that. It only takes rgb, rgba, hsl and hsla as values, or color functions (when they return a non-# value). I will need to fix that, obviously... Also, just specifying one color ("gradient-background: rgba(0,0,0,.5)") will simply make it act as a "background-image: rgba(0,0,0,.5)", with an automatic fallback for IE (which was the goal, after all.)
Please comment on it -- whether you like it or not! ;)
(7 files, 15kb)
+ Added a new custom CSS property, 'gradient-background', which allows you to set a transparent background, or a (transparent or not) gradient background. The point is that, in addition to vendor tags, it also deals with IE and makes it compatible with IE 6-9. Only supports vertical gradients for now. (Class-CSS.php, ie6.css, ie7.css, ie8.css, index.css)
! Fixed a bug introduced in revision 76 which caused Firefox not to be detected in $browser. Yeah, that's an old one... Goes to show how much we test in Firefox, eh..? Or just the fact that it doesn't need too many hacks. (Load.php)
- Removed the ugly '/hex' solution for IE filters, since gradient-background will now take care of that. Moved color conversion to its own area, saving some processing time for other browsers. (Class-CSS.php, Subs-Cache.php)
Note: the gradient-background() function is still a bit... fragile. Meaning, it won't work with #rrggbb values, things like that. It only takes rgb, rgba, hsl and hsla as values, or color functions (when they return a non-# value). I will need to fix that, obviously... Also, just specifying one color ("gradient-background: rgba(0,0,0,.5)") will simply make it act as a "background-image: rgba(0,0,0,.5)", with an automatic fallback for IE (which was the goal, after all.)
Please comment on it -- whether you like it or not! ;)
9623
Features / Re: New revs
« on March 20th, 2011, 09:31 AM »
rev 662
(3 files, 5kb -- interim release...)
! Typo in clean_cache. Thanks Aaron! (Subs-Cache.php)
! Don't bother splitting quotes when the open tag list is empty... (post.js)
- No need to PNGize #board_list img anymore. (Pastel/settings.xml)
(3 files, 5kb -- interim release...)
! Typo in clean_cache. Thanks Aaron! (Subs-Cache.php)
! Don't bother splitting quotes when the open tag list is empty... (post.js)
- No need to PNGize #board_list img anymore. (Pastel/settings.xml)
9624
Other software / Re: Well the deed is done
« on March 18th, 2011, 11:53 PM »
I just had a quick look at my to-do list... Oh my. It has something like a hundred items now. <sigh>
(Where can I see those Dr Who shorts? :P)
(Where can I see those Dr Who shorts? :P)
9625
Features / Re: New revs
« on March 18th, 2011, 11:42 PM »
rev 661
(the "I'm going to bed, just want to be done with these..." revision)
* Updated boardstatus.png with a version that is 40% smaller and doesn't show any significant decrease in quality. (boardstatus.png)
* Pixelnazi. (sections.css)
- Board list no longer needs a PNG fix, eh... (settings.xml)
* Windowbg needs one, though. (Wine/settings.xml)
(the "I'm going to bed, just want to be done with these..." revision)
* Updated boardstatus.png with a version that is 40% smaller and doesn't show any significant decrease in quality. (boardstatus.png)
* Pixelnazi. (sections.css)
- Board list no longer needs a PNG fix, eh... (settings.xml)
* Windowbg needs one, though. (Wine/settings.xml)
9626
Features / Re: New revs
« on March 18th, 2011, 11:14 PM »
rev 660
(23 files, 58kb)
+ Added support for complement() alias function in the CSS parser (equivalent of hue(color, 180) or hue(color, 50%)). (Class-CSS.php)
+ Added support for custom color functions through a hook (untested, though.) (Class-CSS.php)
* Replaced regular board status icons with a sprite that makes it possible to change the icons in stylings. Because IE6 doesn't support transparent PNGs and we don't want to waste time over it, I'm using a special, smaller version of the sprite with no transparency effect. Also, these new class names suck... Anyone got a better idea? (boardstatus.png in both PNG8 and PNG32, boardstatus-ie6.png, sections.css, ie6.css, BoardIndex.template.php, MessageIndex.template.php)
+ Added a 'ping' class to images with a transparent PNG. (Admin.template.php, and... Is that all? Is there really no other PNG32 image left?)
* Replaced toggler icons with sprited versions, and made them stylable as well. Some places in the admin area still require an update. It doesn't work well in IE6, but you know the drill... Screw you, IE6. (Display.template.php, Post.template.php, Search.template.php, gecko.css, sections.css)
* Moved bottom linktree to below the content area, allowing for more precise fine-tuning of its styling. (index.template.php)
* Lots, lots of fixes for IE6. Also fixed a couple of issues with IE. Warm and Wine should now be closer to their modern browser appearance. The 'grey' color isn't recognized in IE6, so changing it to the Americanish 'gray'. And changed the transparent PNG process to be much faster. (ie6.css, Wine/ie6.css, ie7.css, index.css, settings.xml, Wine/index.css, Wine/settings.xml, Wine/ie7.css, Wine/ie8.css)
* Changed topic pages to show titles in a new .posthead div, inherited from .cat -- technically, there's no reason to force all cat's to be table-based when it's really only used in that single place. (ie6.css, sections.css)
This is the big bulk of my changes to the CSS. Pete, you'll need to make sure your styling isn't broken by my changes to Wine!
(23 files, 58kb)
+ Added support for complement() alias function in the CSS parser (equivalent of hue(color, 180) or hue(color, 50%)). (Class-CSS.php)
+ Added support for custom color functions through a hook (untested, though.) (Class-CSS.php)
* Replaced regular board status icons with a sprite that makes it possible to change the icons in stylings. Because IE6 doesn't support transparent PNGs and we don't want to waste time over it, I'm using a special, smaller version of the sprite with no transparency effect. Also, these new class names suck... Anyone got a better idea? (boardstatus.png in both PNG8 and PNG32, boardstatus-ie6.png, sections.css, ie6.css, BoardIndex.template.php, MessageIndex.template.php)
+ Added a 'ping' class to images with a transparent PNG. (Admin.template.php, and... Is that all? Is there really no other PNG32 image left?)
* Replaced toggler icons with sprited versions, and made them stylable as well. Some places in the admin area still require an update. It doesn't work well in IE6, but you know the drill... Screw you, IE6. (Display.template.php, Post.template.php, Search.template.php, gecko.css, sections.css)
* Moved bottom linktree to below the content area, allowing for more precise fine-tuning of its styling. (index.template.php)
* Lots, lots of fixes for IE6. Also fixed a couple of issues with IE. Warm and Wine should now be closer to their modern browser appearance. The 'grey' color isn't recognized in IE6, so changing it to the Americanish 'gray'. And changed the transparent PNG process to be much faster. (ie6.css, Wine/ie6.css, ie7.css, index.css, settings.xml, Wine/index.css, Wine/settings.xml, Wine/ie7.css, Wine/ie8.css)
* Changed topic pages to show titles in a new .posthead div, inherited from .cat -- technically, there's no reason to force all cat's to be table-based when it's really only used in that single place. (ie6.css, sections.css)
This is the big bulk of my changes to the CSS. Pete, you'll need to make sure your styling isn't broken by my changes to Wine!
9627
Features / Re: New revs
« on March 18th, 2011, 04:45 PM »
rev 659
(4 files, 9kb)
+ Added support for browser-specific CSS mixins. Example: mixin {ie6,ie7} sample(attribute: 0px) (Class-CSS.php)
! Enforced removal of child selectors when parsing class extensions for IE6. Basically, without this, the entire list of inherited selectors is discarded. (Class-CSS.php)
! Fixed CSS cache file URLs (should start with "Wedge" for the default styling, not "styles".) (Load.php)
! Always load settings.xml, even if we're using the default styling. IE6 still needs the freakin' help with transparent PNGs... (Subs-Cache.php)
! Fixed JS error in stat page when using IE6. (stats.js)
(Just committing the easier stuff. ;))
(4 files, 9kb)
+ Added support for browser-specific CSS mixins. Example: mixin {ie6,ie7} sample(attribute: 0px) (Class-CSS.php)
! Enforced removal of child selectors when parsing class extensions for IE6. Basically, without this, the entire list of inherited selectors is discarded. (Class-CSS.php)
! Fixed CSS cache file URLs (should start with "Wedge" for the default styling, not "styles".) (Load.php)
! Always load settings.xml, even if we're using the default styling. IE6 still needs the freakin' help with transparent PNGs... (Subs-Cache.php)
! Fixed JS error in stat page when using IE6. (stats.js)
(Just committing the easier stuff. ;))
9628
Other software / Re: Well the deed is done
« on March 18th, 2011, 04:03 PM »
I'd vote for the auto quote splitter as one feature that none of the competition has. Definitely :P
(Don't break my dreams!)
Plus AeMe, of course... It's so good, it could be a stand-alone.
(Don't break my dreams!)
Plus AeMe, of course... It's so good, it could be a stand-alone.
9629
Features / Re: Another life-changing fantastic idea for quotes! (Bit silly, too.)
« on March 18th, 2011, 12:42 AM »
I don't get the problem with the checkboxes.
As for security... Well, it's not THAT surprising ahah.
For the record, I just tested IE7.js on IE6 and it's still slow as hell (about 2s delay on one-post topics, and 5s on full page topics). Also tried my simplified IE9.js, same delays globally. Considering the amount of fixes this file has, it's no surprise. Finally, I tried with Selectivizr and it's a very acceptable solution (about 1s delay on full page topics, similar delay on smaller pages). Just a pity that it doesn't support many fixes... For instance, it has a fix for "input[type=button]" but not for ".class1 > .class2" or, worse, ".class1.class2". Technically it's only interesting as proof that it CAN be done faster than IE7.js does it.
Bed time!
As for security... Well, it's not THAT surprising ahah.
For the record, I just tested IE7.js on IE6 and it's still slow as hell (about 2s delay on one-post topics, and 5s on full page topics). Also tried my simplified IE9.js, same delays globally. Considering the amount of fixes this file has, it's no surprise. Finally, I tried with Selectivizr and it's a very acceptable solution (about 1s delay on full page topics, similar delay on smaller pages). Just a pity that it doesn't support many fixes... For instance, it has a fix for "input[type=button]" but not for ".class1 > .class2" or, worse, ".class1.class2". Technically it's only interesting as proof that it CAN be done faster than IE7.js does it.
Bed time!
9630
Features / Re: Another life-changing fantastic idea for quotes! (Bit silly, too.)
« on March 18th, 2011, 12:25 AM »True enough. I just get the impression that some people are going to freak out though.
(I'm not saying I won't use it... I'm saying if I were in a position to 'try' it, I would have a hard time accepting that Wedge is doing everything for me :P)
We really need to overhaul that actually. The way it's implemented feels wrong to me. If you ever looked at it, you'll understand why it feels wrong, I think.
Profiles are on my to-do-list to overhaul (e.g. custom profiles, buddy lists...), and as I think I said earlier, I'll definitely make user settings easier to access. It would probably make sense to have all user settings (inc. account settings etc) in a single page, divided in sections that are folded out as required. Somethin' like that...