Show Posts

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.

Messages - Nao
2626
Features / Re: New revs
« on August 13th, 2013, 12:54 PM »
rev 2212
(5 files[1])

+ Added support for IE 11. Mostly, fixed IE path for a few DOM elements that were removed, and forced Wedge to detect IE 11 it as 'ie11' instead of 'gecko0', as well as setting is_ie to true in JavaScript. See, 'gecko' browsers don't get lot of rights, only Firefox gets the gradients and all. Should I change this to give all CSS to unrecognizable browsers by default..? I don't know, honestly. (Class-Editor.php, Class-System.php, script.js, Theme.template.php)

! Used the opportunity to ensure a browser that can't be detected doesn't generate a version number of '0' in the CSS filenames... Just the browser name will be okay, at that point. (Subs-Cache.php)
 1. AND FRIGGIN' TORTOISESVN 1.8 NO LONGER INDICATES SIZES! CAN I EVEN DOWNGRADE?!
2627
Features / Re: New revs
« on August 9th, 2013, 11:55 PM »
rev 2211 -- although, I also dislike evals, so... I guess it nearly balances out, doesn't it?
(1 file, 6kb)

* Converted the last 10 remaining preg_replace evals to preg_replace_callback. Phew. As earlier, I've ensured it doesn't crash or anything, but needs more testing, if anything. (Class-Editor.php)

! Fixed an odd little bug (another one of those that always escape my attention), where switching from Wysiwyg to normal editor would sometimes add an extra space after smileys, hmm. (Class-Editor.php)
2628
Features / Re: Soft merging of posts
« on August 9th, 2013, 04:24 PM »
Quote from Aaron on August 7th, 2013, 08:42 PM
I'd assume it the scrolling to be tackled through JavaScript, so ... through a theme-specific piece of JavaScript that the vertical layout has, but the horizontal does not? I guess the horizontal could override the vertical one with a dummy if need be — not sure how Wedge tackles overriding internally, but I guess you've got that covered.
Yes, technically, I can add JavaScript to any specific skin, but I'm not fond of the idea.
I could simply add a variable, though, such as "post_layout_horizontal = true" or something, and test for (!window.post_layout_horizontal) to trigger the code, or even write a custom function for horizontal layouts, such as turning the userbox into a fixed div, but... I don't know, I'm not too fond of this idea...

My problem, right now, is that I'm starting to feel the HUGE weight of having an overpowered system like Wedge's skin + skeletons + Wess, and realizing you can't modify something without making sure it doesn't break anything else.

The simpler my underlying HTML/CSS/JS code is, the easier it is to add something onto it, but I don't like not giving people opportunities to make breaking changes to my layout, so... Well, it's hard to make decisions, at this point.

SMF has always had the problem, too, and that system is certainly less complex than Wedge, so...

PS: a good example is the 'upshrink' area... In Warm, it is hidden by default, so that you can't remove the header... But if you remove it while in Weaving, and then switch to Warm, err... Well, you don't get the header anymore, ah ah... How do I fix that, ehh??!!
2629
Features / Re: New revs
« on August 9th, 2013, 04:17 PM »
rev 2210 -- I'm starting to hate preg_replace_callback......
(6 files, 7kb)

* Converted more of the eval preg_replaces into callbacks, and believe me, some of these were very, very ugly to do... I feel bad about them. Class-CSS has some global scope/private complications in the def replacer, and Subs-Cache has an even more awful interaction with a $context variable within the callback, ahh, don't say any more! Wess-related stuff was tested thoroughly (yeah sure..), the rest has yet to be tested, but I double-checked it. The only file left to convert is Class-Editor.php, and I'm not doing it right now because, guess what? It has too many of them for my stomach right now. (Class-CSS.php, Subs-Media.php, Modlog.php, Post.php, Subs-Cache.php)

* Spacinazi. (PersonalMessage.php)
2630
Features / Re: New revs
« on August 8th, 2013, 05:32 PM »
rev 2208 -- even less of a biggie, at this point.
(1 file, 4kb)

* Warm really needed to be committed at this point, so I'm doing a half-commit, with all changes except for the new color set, which I'm not even sure I'll adopt anyway, so... There you go. This mainly fixes the sidebar button not showing up in responsive mode, and other problems related to the top bar being moved to the sidebar, overall. (Warm/extra.css)
2631
Features / Re: New revs
« on August 8th, 2013, 04:15 PM »
rev 2207 -- no biggies.
(6 files, 2kb)

+ Wess now allows nesting math() calls together. While it doesn't make sense to include a math() inside another (the contents can be directly parsed anyway), I realize that themers might want to assign a math() function to a variable, which itself might be used inside a math() function, causing endless troubles until now. Also, it's a nearly free fix, so, whatever. (Class-CSS.php)

* New optional variable $responsive_search_min_width should help you quickly redefine the minimum popup width for the search box. To be more specific, in Warm it's moved to the sidebar, and is thus too big to be used. This should fix it, once I'm done with the Warm update. (sections.css)

! Small fixes to Wine, Warm and Wuthering. (Wine/skin.xml, Warm/macros.xml, Wuthering/extra.css)

* Bytenazi. (index.template.php)
2632
Off-topic / Re: Doctor Who
« on August 7th, 2013, 04:33 PM »
Had a look on my desktop. Thanks!
2633
Strike that.

I committed it, actually... I just forgot to update the Warm skin in here, oops.
Done!
2634
Features / Re: Soft merging of posts
« on August 6th, 2013, 11:34 PM »
I think I discussed that a few days ago, but had no feedback on it, so I didn't explore the idea further.

The #1 problem with this, is that it's dependent on the userbox being a vertical layout, which isn't the case in any mobile skin, for instance... :-/
'course, could do something to prevent that from happening in horizontal layouts, but... How do I make the difference..? Hmm...
2635
Off-topic / Re: Doctor Who
« on August 6th, 2013, 11:18 PM »
The youtube-nocookie embeds above don't work on my Chrome Mobile... Scary. Here's wondering, is it the domain name's fault, or something else..?
(PS: what's in these videos anyway..?)
2636
Features / Re: New revs
« on August 6th, 2013, 11:16 PM »
rev 2206 -- moving slogan to main settings, and related changes.
(17 files, 4kb)

* Moved site slogan setting from theme area to main settings. This just makes more sense. (Load.php, ManageSettings.php, Settings.template.php, ManageSettings.language.php, Themes.language.php)

* Renamed #siteslogan to #slogan, and #wedgelogo to #logo. If these are in conflict with a parent site, well... Use creative CSS. Oh, and yes, Warm is still broken in SVN, please forgive me for not keeping it up to date there, but it is locally at least. (Load.php, index.template.php, extra.rtl.css, index.css, sections.css, skin.xml, Wine/extra.css, Warm/skin.xml, Wuthering/skin.xml)

* Minor tweak to the banner macro. (index.template.php, macros.xml)

* Minor CSS tweaks. (index.css)

! MySQLi no longer returns false when a query returns no rows. Instead, it returns null. Which is fun, because SMF/Wedge does a false test on this, not a null test. I found one in SSI.php, but there are probably dozens elsewhere. I'm going to rely on Pete to decide whether or not it's best rewriting fetch_assoc, or checking all requests individually, yay... (SSI.php)
2637
Archived fixes / Re: Forum signature(s) are not present
« on August 4th, 2013, 10:54 PM »
This was due to two bugs, actually...!
Fixed!
2638
Off-topic / Re: Doctor Who
« on August 4th, 2013, 10:54 PM »
Oh... I remembered him as soon as I saw the picture.
I didn't remember he was both in FoP (which also had Amy!) and CoE, but I've got to say, he was hands down my favorite character of CoE, the only reason I don't hate that series.

Excited with the choice. Plus, they're finally giving up on youngsters, I was kinda afraid they'd cast a kid next, eheh.
Posted: August 4th, 2013, 10:23 PM

Oh, silly me, he was also in The thick of it... I watched part of the movie, but I stopped early because I realized I probably should watch the show before the movie, but then I forgot about it.
He's been everywhere, eheh...

Interestingly, some of the other final contenders for the role were Ben Daniels (Tristan in Merlin season 4, basically a nice Daniel Craig lookalike, charismatic on his own terms), and Andrew Scott, aka Moriarty. As much as I'd love to see more of Scott, I can't say I could picture him as none other than Moriarty... He totally owned that part, and I guess, like most people, I want to see him be crazy in his own way, not the Doctor's way ;)
Still, I'd probably have voted for Capaldi, so all is good!
2639
Features / Re: New revs
« on August 4th, 2013, 10:12 PM »
rev 2205 -- signatures, mostly.
(5 files, 3kb)

! Fixed signatures not showing up in soft-merged posts. (Subs-Template.php)

! And, err... Fixed signatures not showing up, like, anywhere. Silly typo. (macros.xml)

* A few CSS tweaks: .bbc_img should have some margin around them, and left/right-aligned images should modify them accordingly. Needs testing, especially with img.center possibly conflicting with .bbc_img, but I don't think it will... Fixed letter-spacing in Chrome (latest versions seem to finally be using DirectWrite, so...), and improved background color of code blocks. (index.css)

- Since Firefox 2 hasn't been supported for a long time in Wedge, there's no need for hacks targeted to it, really. (common.css)

- Saving a few bytes of CSS in Chrome. (sections.css)
2640
Archived fixes / Re: Forum signature(s) are not present
« on August 4th, 2013, 05:45 PM »
Maybe your sig is subject to a special rule that hides it within Wedge...
I dunno, it's just that it's a big pic you have in it, so maybe Wedge will just ignore it all.

And, unrelated screenshot... ;)