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
9871
Off-topic / Re: Merry Christmas
« on December 26th, 2010, 12:29 AM »
Merry Christmas. Just back from my dad's place 250km from Paris. First time I'm doing it in only one day ahah...
9872
Features / Re: New revs
« on December 25th, 2010, 12:02 AM »
rev 394, aka the Santa Caummit. Ho ho hoooo! (Midnight, French time.)

* Made the auto-suggest popup colors a little less depressing. (index.css)
* Turned the quick edit button into a div and made it always show immediately. A big mistake from SMF, fixed at last... (index.css, Display.template.php, topic.js)
- Removed a few evil eval's. (ManageBans.template.php)
* There's no point in creating a Loading indicator if we want to remove it in the first place. (script.js)
! The Add BCC link would forget to return false as expected. (pm.js)
* More JS optimizations. (captcha.js, sha1.js, stats.js, theme.js, topic.js)
* Note to self: .first() is more logical and faster than :first if we really only want the first item in the list. (script.js)

Pete --- I really didn't have time to test all of these. Please, please make sure to check the JS files here. Most notably sha1.js (hopefully nothing broken), stats.js, theme.js and basically the other JS files (although less important.) I'm surprised I got to squeeze even more bytes out of the original files. Some of these are way shorter now... (theme.js isn't very big in the first place, but I've shaved another 30% off it I believe.)
Bed time! Merry Christmas to all.
9873
Features / Re: New revs
« on December 24th, 2010, 10:11 PM »
rev 393

* Moved JS/CSS cache folder to the root cache. (cache/.htaccess, ManageServer.php, QueryString.php, Subs.php)

(I'm committing in two chunks -- this one is the quicker one as it's only one feature change, tested to work. I'll do the rest of my commits when I'm more available.)
9874
Off-topic / Re: Lightbox
« on December 24th, 2010, 03:31 PM »
Seems better than it in every respect, except for the lack of draggable...?
9875
Off-topic / Re: Lightbox
« on December 24th, 2010, 02:43 PM »
Very ugly? I don't know what you want but I find it very nice...
9876
Off-topic / Re: Lightbox
« on December 24th, 2010, 02:33 PM »
Dunno then.
9877
Off-topic / Re: Lightbox
« on December 24th, 2010, 02:10 PM »
ColorBox seems to be the best according to my tests. It can also be turned into a draggable component.
Also, PrettyPhoto is among the lightboxes I'm planning to evaluate, along with YoxView (less interested with this one though.)
9878
Features / Re: New revs
« on December 23rd, 2010, 06:25 PM »
rev 392

- Got rid of those annoying eval's. (Class-Editor.php, editor.js, pm.js)
- Got rid of those annoying init's. (admin.js, pm.js, stats.js)
! Fixed BCC help popup not showing up. Complicated hack for a link no one ever clicks, uh... (script.js)
* More JS optimization. (pm.js, script.js, suggest.js)

Note for Pete: Add BCC is still slightly broken... The auto-suggest pops up where the text input was in the first place, rather than its current position. Haven't found out why. Also, I can enter my name as many times as I want, it adds it repeatedly. I seemed to remember that SMF had a mechanism to prevent duplicates. Did I break something or was I dreaming?
9879
Features / Re: New revs
« on December 23rd, 2010, 12:55 PM »
rev 391

+ Err... I think no one bothers to test minification because I forgot to delete Class-Minify and commit the Packer class instead, ah ah. Okay, that's not funny. (Class-Packer.php)
! Duplicate filenames should be removed earlier in the caching process. (QueryString.php, Subs.php)
* Simplified Packer constructor, because basically this is a custom object and I'd rather hack into it from its class file rather than anything else. (Subs.php)
- Commented out the semicolon addition hack for Packer. This is because all of Wedge's files are fixed by now, and only those who use badly coded JS files should worry about using that code block. (Subs.php)
* Some edit_poll style optimization. At this point it's quite clear that no real thought has been put into SMF's CSS. It needs some severe reworking to make it much shorter. 59KB is a joke. (index.css)
! sha1.js being a base JS file, it shouldn't be included through add_js_file(). (Login.template.php)
! Code typo. (Post.template.php)
* Moved hashLogin/AdminPassword functions to sha1.js because they require hex_sha1() and thus shouldn't be in the main script file. (script.js, sha1.js)
* More script.js optimizations. isEmptyText() is reduced to one line because jQuery has $.trim(), same for in_array/$.inArray(), setTimeout functions don't need the 'window' prefix, used temp variables to hold long object names, etc. (script.js)
@ Note: $('<option />').appendTo(SomeDocumentFragment) doesn't seem to work. Doing it with appendChild fixes it. (script.js)
9880
Off-topic / Re: I spammed you!
« on December 22nd, 2010, 11:58 PM »
I'm already happy enough to have been able to beat you at posts #2000 and #2500! :p

Done! Eheh. I have no hopes for post 5000, you're gonna take the trophy it's a given.
9881
Off-topic / Re: I spammed you!
« on December 22nd, 2010, 11:26 PM »
And I can post just 2 more messages with ease :P
One actually.
9882
Off-topic / Re: I spammed you!
« on December 22nd, 2010, 09:29 PM »
At least I'll be the first to reach 2500 posts... :niark:
9883
Features / Re: New revs
« on December 22nd, 2010, 08:44 PM »
rev 390

* Rewrote some of the menu code to make it even tighter. A bit slower maybe, but only by milliseconds. (script.js, index.css)
- Removed setOuterHTML function and replaced it with native jQuery calls. Also various minor jQuery conversions. (upgrade.php, script.js, topic.js, TEMPLATES: Admin, ManageNews, PersonalMessage, Poll, Post)
- Don't attempt to use Base62 encoding with Packer. It seems to be broken in v3.1 anyway. (Subs.php)
- Cancelling underscores in variable names to make sure they don't collide with other scripts. (topic.js)
+ A French file in SMF/Wedge wasn't completely translated. Ha! (ManageSettings.french.php)
9884
Off-topic / Re: What to do with an annoyingly large PNG background?
« on December 22nd, 2010, 01:34 PM »
Same as Pete.
9885
Off-topic / Re: I spammed you!
« on December 22nd, 2010, 10:51 AM »
Don't worry he'll calm down in a week or two ;)