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.
9901
Features / Re: New revs
« on December 15th, 2010, 02:06 PM »
rev 381
* Modified the php bbcode to use a proper html tag (code), and applied the same styling as with the code bbcode. The only thing missing is the "select" text, but it's not like anyone complained about its lack so far. (install.sql, index.css)
Forgot to add to the changelog that I've also changed the font size from "x-small" (which is apparently 7.5pt) to "8pt"... I don't know what "x-small" is supposed to fix, but I know that it's very small in Opera and makes it hard to read proper code. If you don't want to make it readable -- attach it as a zip file or something :lol:
* Modified the php bbcode to use a proper html tag (code), and applied the same styling as with the code bbcode. The only thing missing is the "select" text, but it's not like anyone complained about its lack so far. (install.sql, index.css)
Forgot to add to the changelog that I've also changed the font size from "x-small" (which is apparently 7.5pt) to "8pt"... I don't know what "x-small" is supposed to fix, but I know that it's very small in Opera and makes it hard to read proper code. If you don't want to make it readable -- attach it as a zip file or something :lol:
9902
Features / Re: New revs
« on December 15th, 2010, 12:12 PM »
rev 378
* In the main menu, if we're browsing a board, show a popup menu under 'Home' giving a link to both the forum homepage and the current board's homepage. (Subs.php)
+ Added switch for Javascript filename obfuscation. (ManageServer.php, QueryString.php, Help language, ManageSettings language)
+ Added Minify UI in Manage Server. (install.sql, ManageServer.php, Subs.php, Help language, ManageSettings language)
+ Added switch to choose jQuery server. (install.sql, Load.php, ManageServer.php, index.template.php, Help language, ManageSettings language)
+ Proceed to delete all JS from cache when JS-related options are set, and CSS as well when 'compressed data' option is set. (ManageServer.php)
* Make sure to always create cached files in the current theme's folder. (Subs.php)
rev 379
* Replaced cdata_parse() function with a single-line thingy that should take care of it all. Revert if it doesn't work. (That's why I'm committing this apart from the rest.) (Feed.php)
rev 380
+ Added RSS link for current board in board index, and RSS link for current topic in the button strip. There's no rss.gif file for now but I'll try to think of something to add icons. (MessageIndex.template.php, Display.template.php)
* Renamed 'RSS feed' to RSS for the reason above. I don't know if it's a good idea though, for non-techies... (index language)
+ Added a subtle shadow under help iframes. (index.css)
! Fixed spellcheck window... Err, actually, committing a proposed fix. I have no way to test it for now, ahah. I'm a funny guy. (Post.template.php)
! Minor typos. (Activate.php, Buddy.php, Credits.php)
* Replaced sizes with classes. Not that it's important at all. (SendTopic.template.php)
* In the main menu, if we're browsing a board, show a popup menu under 'Home' giving a link to both the forum homepage and the current board's homepage. (Subs.php)
+ Added switch for Javascript filename obfuscation. (ManageServer.php, QueryString.php, Help language, ManageSettings language)
+ Added Minify UI in Manage Server. (install.sql, ManageServer.php, Subs.php, Help language, ManageSettings language)
+ Added switch to choose jQuery server. (install.sql, Load.php, ManageServer.php, index.template.php, Help language, ManageSettings language)
+ Proceed to delete all JS from cache when JS-related options are set, and CSS as well when 'compressed data' option is set. (ManageServer.php)
* Make sure to always create cached files in the current theme's folder. (Subs.php)
Posted: December 15th, 2010, 12:04 PM
rev 379
* Replaced cdata_parse() function with a single-line thingy that should take care of it all. Revert if it doesn't work. (That's why I'm committing this apart from the rest.) (Feed.php)
Posted: December 15th, 2010, 12:12 PM
rev 380
+ Added RSS link for current board in board index, and RSS link for current topic in the button strip. There's no rss.gif file for now but I'll try to think of something to add icons. (MessageIndex.template.php, Display.template.php)
* Renamed 'RSS feed' to RSS for the reason above. I don't know if it's a good idea though, for non-techies... (index language)
+ Added a subtle shadow under help iframes. (index.css)
! Fixed spellcheck window... Err, actually, committing a proposed fix. I have no way to test it for now, ahah. I'm a funny guy. (Post.template.php)
! Minor typos. (Activate.php, Buddy.php, Credits.php)
* Replaced sizes with classes. Not that it's important at all. (SendTopic.template.php)
9903
Features / Re: New revs
« on December 13th, 2010, 04:37 PM »
rev 374
+ Added support for topic subscriptions to the RSS feed feature. (Feed.php)
* Save some time on each request by caching the value of $_REQUEST['action']. (index.php)
! A preg_replace's second parameter is a proper PHP string, it doesn't follow the regex engine's twisted rules. ;) (Class-String.php)
- SMF bug: A few queries are overly complicated, because $board is already taken into account in $query_this, and they're still testing for it. (Feed.php)
! SMF bug: cdata_parse() is a byte-aware function, as opposed to char-aware, so westr::substr would find full entities instead of just an ampersang, resulting in an infinite loop. (Feed.php)
A few things to note:
- Is it a SMF bug or a Class-String.php bug? I'm thinking SMF bug, very strongly, because $smcFunc['substr'] does indeed attempt to get full entities as a single character, but I'm not fluent on the conversion work and maybe they use an alternate codepath in some cases and these cases weren't taken into account properly? I don't know. Warrants another check!
- Seriously, why didn't anyone cache the $_REQUEST['action'] in all these years...? :lol:
- The per-topic RSS feed doesn't take unapproved posts into account. Could you look into that, Pete? After implementing that feature AND fixing the cdata_parse() function, let's just say I'm not too excited to look into Feed.php even for an extra minute ;)
- The $board optimization in queries is a last-minute fix. I tested it on my local install, but I don't have "hidden" boards or anything, but I don't think they'd be related to that anyway. Seriously, another waste of CPU cycles to me...
rev 375
! SMF bug: using PHP syntax to add a string (w00t!), and making that string an unknown variable... Assuming they mean this.opt.sUniqueId. It's a wonder this doesn't even throw an error, but it's still a nasty one. (editor.js)
! Nao bug: unknown variable in smfSelectText(). Oops. (editor.js)
- We don't need to deal with window.event in events that are initialized through jQuery. (script.js)
* Finishing the JSLint-induced changes. Most notably, adding semicolons at the end of prototype definitions. This should make it possible to compress files through Packer without the need for an extra pass of semicolon checks (see QueryString.php). Also, I didn't bother with the ==/=== suggested changes. Not confident enough in SMF's code strictness in that particular area. Finally, removed many unused variables. (admin.js, captcha.js, editor.js, profile.js, register.js, script.js, sha1.js, spellcheck.js, stats.js, suggest.js, topic.js)
+ Added support for topic subscriptions to the RSS feed feature. (Feed.php)
* Save some time on each request by caching the value of $_REQUEST['action']. (index.php)
! A preg_replace's second parameter is a proper PHP string, it doesn't follow the regex engine's twisted rules. ;) (Class-String.php)
- SMF bug: A few queries are overly complicated, because $board is already taken into account in $query_this, and they're still testing for it. (Feed.php)
! SMF bug: cdata_parse() is a byte-aware function, as opposed to char-aware, so westr::substr would find full entities instead of just an ampersang, resulting in an infinite loop. (Feed.php)
A few things to note:
- Is it a SMF bug or a Class-String.php bug? I'm thinking SMF bug, very strongly, because $smcFunc['substr'] does indeed attempt to get full entities as a single character, but I'm not fluent on the conversion work and maybe they use an alternate codepath in some cases and these cases weren't taken into account properly? I don't know. Warrants another check!
- Seriously, why didn't anyone cache the $_REQUEST['action'] in all these years...? :lol:
- The per-topic RSS feed doesn't take unapproved posts into account. Could you look into that, Pete? After implementing that feature AND fixing the cdata_parse() function, let's just say I'm not too excited to look into Feed.php even for an extra minute ;)
- The $board optimization in queries is a last-minute fix. I tested it on my local install, but I don't have "hidden" boards or anything, but I don't think they'd be related to that anyway. Seriously, another waste of CPU cycles to me...
Posted: December 13th, 2010, 04:01 PM
rev 375
! SMF bug: using PHP syntax to add a string (w00t!), and making that string an unknown variable... Assuming they mean this.opt.sUniqueId. It's a wonder this doesn't even throw an error, but it's still a nasty one. (editor.js)
! Nao bug: unknown variable in smfSelectText(). Oops. (editor.js)
- We don't need to deal with window.event in events that are initialized through jQuery. (script.js)
* Finishing the JSLint-induced changes. Most notably, adding semicolons at the end of prototype definitions. This should make it possible to compress files through Packer without the need for an extra pass of semicolon checks (see QueryString.php). Also, I didn't bother with the ==/=== suggested changes. Not confident enough in SMF's code strictness in that particular area. Finally, removed many unused variables. (admin.js, captcha.js, editor.js, profile.js, register.js, script.js, sha1.js, spellcheck.js, stats.js, suggest.js, topic.js)
9904
Features / Re: New revs
« on December 13th, 2010, 01:13 PM »
rev 372
+ Added automatic minification and gzipping of *all* Javascript files. Yay. (Class-Editor.php, QueryString.php, Spellcheck.php, Subs-Editor.php, Subs.php, TEMPLATES: Admin, BoardIndex, index, Login, ManageBans/Boards/Maintenance/Membergroups/News/Paid/Smileys, MessageIndex, ModerationCenter, Packages, PersonalMessage, Post, Profile, Register, Reminder, Stats, Themes)
+ Put cached JS timestamps inside the filename to help with caching, and added automatic removal of earlier cached versions. (Subs.php)
* Spent some quality time with JSLint, the infamous Javascript validator, and applied a good chunk of its hints. Thanks, man. (pm.js, TEMPLATES: Display, ManagePermissions, Packages, PersonalMessage, Post, SplitTopics)
* Replaced time_format's default day handler with %e, because I don't see why we have to cope with extra zero padding just because Windows servers can't do it... Also, SMF kept warning people against using it, but the help file was outdated (implying there was no hack to make it work), and said hack was definitely not up to date either. Anyway... Rewrote all of that. (upgrade.php, Help language, Install language)
- Did we actually ever use wedge_add_js? No? That's what I thought. Also optimized wedge_add_css(). (Load.php, Subs.php)
! Quick Reply didn't return false. Oops. (Display.template.php)
! Error box always showed up when previewing a message, even if empty. (Post.template.php)
* Spacinazi. (ManageMaintenance.php, PersonalMessage.template.php)
* Removed "min" from jquery-1.4.4.min.js because it's already long enough as it as, and renamed PersonalMessage.js to pm.js, for consistency within the scripts folder. (pm.js)
+ Added French translation for new Recount maintenance task. Also made a few tweaks to various translations. We use Cookie in French. Not Témoin. Stop with the silly French words. (Admin, Help, ManageMaintenance, Post, Themes languages)
* Fix for 'More Options' animation overflow in IE6. (ie6.css)
@ todo: add support for $modSettings['obfuscateFilenames'], add a switch for JSMin/Packer use, and make sure to always save cache in the current theme. Also, the spellcheck window is currently broken because it doesn't show anything. Needs rewriting.
(Also need to commit the rest of the JS files. Oh my, and I want to eat! And play DeathSpank!)
rev 373
- Uh... Wrong copy/paste manipulation. (index.template.php)
+ Added automatic minification and gzipping of *all* Javascript files. Yay. (Class-Editor.php, QueryString.php, Spellcheck.php, Subs-Editor.php, Subs.php, TEMPLATES: Admin, BoardIndex, index, Login, ManageBans/Boards/Maintenance/Membergroups/News/Paid/Smileys, MessageIndex, ModerationCenter, Packages, PersonalMessage, Post, Profile, Register, Reminder, Stats, Themes)
+ Put cached JS timestamps inside the filename to help with caching, and added automatic removal of earlier cached versions. (Subs.php)
* Spent some quality time with JSLint, the infamous Javascript validator, and applied a good chunk of its hints. Thanks, man. (pm.js, TEMPLATES: Display, ManagePermissions, Packages, PersonalMessage, Post, SplitTopics)
* Replaced time_format's default day handler with %e, because I don't see why we have to cope with extra zero padding just because Windows servers can't do it... Also, SMF kept warning people against using it, but the help file was outdated (implying there was no hack to make it work), and said hack was definitely not up to date either. Anyway... Rewrote all of that. (upgrade.php, Help language, Install language)
- Did we actually ever use wedge_add_js? No? That's what I thought. Also optimized wedge_add_css(). (Load.php, Subs.php)
! Quick Reply didn't return false. Oops. (Display.template.php)
! Error box always showed up when previewing a message, even if empty. (Post.template.php)
* Spacinazi. (ManageMaintenance.php, PersonalMessage.template.php)
* Removed "min" from jquery-1.4.4.min.js because it's already long enough as it as, and renamed PersonalMessage.js to pm.js, for consistency within the scripts folder. (pm.js)
+ Added French translation for new Recount maintenance task. Also made a few tweaks to various translations. We use Cookie in French. Not Témoin. Stop with the silly French words. (Admin, Help, ManageMaintenance, Post, Themes languages)
* Fix for 'More Options' animation overflow in IE6. (ie6.css)
@ todo: add support for $modSettings['obfuscateFilenames'], add a switch for JSMin/Packer use, and make sure to always save cache in the current theme. Also, the spellcheck window is currently broken because it doesn't show anything. Needs rewriting.
(Also need to commit the rest of the JS files. Oh my, and I want to eat! And play DeathSpank!)
Posted: December 13th, 2010, 12:55 PM
rev 373
- Uh... Wrong copy/paste manipulation. (index.template.php)
9905
Features / Re: New revs
« on December 11th, 2010, 11:19 PM »
rev 368
! Fixed BBC button layout in IE6. (ie6.css)
! Fixed BBC button layout in IE6. (ie6.css)
9906
Features / Re: New revs
« on December 11th, 2010, 09:30 PM »
rev 367
- Removed all "old theme compatibility code" related to the session variable name. Seriously, we're not compatible with SMF1 themes. Get over it. A few sesc/sc lines are left in the overall codebase, because I'm unsure whether they should be touched. (topic.js, script.js)
* Pretty much finished converting topic.js to jQuery. XML tree manipulation is way cooler with it. (topic.js)
* Converted Post template's JS area to jQuery. (Post.template.php)
- Some of the XML parsing did strange things, like concatenating all children in a node to build the quote or body strings, when the XML template would always return a single child anyway...! (topic.js, Post.template.php)
- $context['quote']['text'] and $context['quote']['mozilla'] are never used anywhere... Are they? (QuoteFast.php)
* Moved smf_addButton() to topic.js, as it's only used over there. (theme.js, topic.js)
* Minor layout tweaks and spacinazi. (index.css, Xml.template.php)
* One extra DOM node to convert to jQuery... Gotta get'em all! (suggest.js)
* Updated generateDays() to jQuery. Whatever. (Calendar.template.php, ManageCalendar.template.php, ManagePaid.template.php, Post.template.php)
! Forgot to add a dummy link to the quick reply toggle. (Display.template.php)
I can't feel my legs... Help... Hours spent just to double-check my Post template and topic.js changes... Arghhh...
- Removed all "old theme compatibility code" related to the session variable name. Seriously, we're not compatible with SMF1 themes. Get over it. A few sesc/sc lines are left in the overall codebase, because I'm unsure whether they should be touched. (topic.js, script.js)
* Pretty much finished converting topic.js to jQuery. XML tree manipulation is way cooler with it. (topic.js)
* Converted Post template's JS area to jQuery. (Post.template.php)
- Some of the XML parsing did strange things, like concatenating all children in a node to build the quote or body strings, when the XML template would always return a single child anyway...! (topic.js, Post.template.php)
- $context['quote']['text'] and $context['quote']['mozilla'] are never used anywhere... Are they? (QuoteFast.php)
* Moved smf_addButton() to topic.js, as it's only used over there. (theme.js, topic.js)
* Minor layout tweaks and spacinazi. (index.css, Xml.template.php)
* One extra DOM node to convert to jQuery... Gotta get'em all! (suggest.js)
* Updated generateDays() to jQuery. Whatever. (Calendar.template.php, ManageCalendar.template.php, ManagePaid.template.php, Post.template.php)
! Forgot to add a dummy link to the quick reply toggle. (Display.template.php)
I can't feel my legs... Help... Hours spent just to double-check my Post template and topic.js changes... Arghhh...
9907
Features / Re: New revs
« on December 11th, 2010, 01:27 AM »
rev 365
* Moved storeCaret() to the footer, and made sure only IE runs it. Because only IE needs it... (Class-Editor.php)
* Made sure that the Quick Reply toggle text isn't selectable, and moved its JS call to the footer. (Display.template.php)
* Some tweaks in IE7... (ie7.css)
* ...And some other general CSS tweaks. (index.css)
- postAttachment3 doesn't exist... Does it? (index.css, rtl.css, Post.template.php)
* Replaced a few hardcoded input box sizes with CSS. Thanks live627! (Post.template.php)
* Missing capitals in a few entries. (Admin.english.php, Admin.french.php)
* Spacinazi. (Display.template.php, Post.template.php)
- What's the point in calling init() at the end of some object constructors, when we could just stay in these functions? (editor.js, topic.js)
+ Added animation effects in Quick Reply (opening, closing and switching to Wysiwyg), and started conversion to jQuery. (topic.js)
* The More Options area in the post template should be hidden immediately when collapsed, instead of triggering the relatively lengthy animation. (Post.template.php)
* Optimized spell-check JS and converted it to jQuery. (spellcheck.js)
Good luck for having a look at it all, Pete... My changes are sometimes a bit complicated -- but hopefully not buggy!!
* Moved storeCaret() to the footer, and made sure only IE runs it. Because only IE needs it... (Class-Editor.php)
* Made sure that the Quick Reply toggle text isn't selectable, and moved its JS call to the footer. (Display.template.php)
* Some tweaks in IE7... (ie7.css)
* ...And some other general CSS tweaks. (index.css)
- postAttachment3 doesn't exist... Does it? (index.css, rtl.css, Post.template.php)
* Replaced a few hardcoded input box sizes with CSS. Thanks live627! (Post.template.php)
* Missing capitals in a few entries. (Admin.english.php, Admin.french.php)
* Spacinazi. (Display.template.php, Post.template.php)
- What's the point in calling init() at the end of some object constructors, when we could just stay in these functions? (editor.js, topic.js)
+ Added animation effects in Quick Reply (opening, closing and switching to Wysiwyg), and started conversion to jQuery. (topic.js)
* The More Options area in the post template should be hidden immediately when collapsed, instead of triggering the relatively lengthy animation. (Post.template.php)
* Optimized spell-check JS and converted it to jQuery. (spellcheck.js)
Good luck for having a look at it all, Pete... My changes are sometimes a bit complicated -- but hopefully not buggy!!
9908
Features / Re: New revs
« on December 10th, 2010, 07:26 PM »
rev 362
! Fixed a SMF bug in the auto-suggest control, where the popup would reappear after selecting an entry if the typed text was the same as the suggested (and selected) text, only with different letter case. (suggest.js)
- Removed handleSubmit() function, which was really pointless, and oRealTextHandle object, which... you get the idea. (suggest.js)
+ Added subtle animation effect to auto-suggest popups. (suggest.js)
* Overall, converted auto-suggest to jQuery. (suggest.js)
! Fixed a SMF bug in the auto-suggest control, where the popup would reappear after selecting an entry if the typed text was the same as the suggested (and selected) text, only with different letter case. (suggest.js)
- Removed handleSubmit() function, which was really pointless, and oRealTextHandle object, which... you get the idea. (suggest.js)
+ Added subtle animation effect to auto-suggest popups. (suggest.js)
* Overall, converted auto-suggest to jQuery. (suggest.js)
9909
Features / Re: New revs
« on December 10th, 2010, 03:12 PM »
So I'm working on suggest.js instead. :P
9910
Features / Re: New revs
« on December 10th, 2010, 10:00 AM »
rev 361
* Converted smf_avatarResize() to jQuery, and removed some leftover code. (script.js)
I think 99% of the jQuery conversion is done in script.js... I mean, I don't really see anything else to do. I'll probably be able to save at most 10 more lines by doing micro-changes here and there... Nothing more.
Still, all in all I've managed to shave nearly 7 kilobytes off the size of script.js -- that is, about 18%, or twice more than the best I thought I could have achieved.
I have a feeling that editor.js can get a similar treatment, but I don't know if it's worth thinking about it, because of the talk on including CKEditor. I figure it means editor.js will go at some point...? Or at least most of it?
* Converted smf_avatarResize() to jQuery, and removed some leftover code. (script.js)
I think 99% of the jQuery conversion is done in script.js... I mean, I don't really see anything else to do. I'll probably be able to save at most 10 more lines by doing micro-changes here and there... Nothing more.
Still, all in all I've managed to shave nearly 7 kilobytes off the size of script.js -- that is, about 18%, or twice more than the best I thought I could have achieved.
I have a feeling that editor.js can get a similar treatment, but I don't know if it's worth thinking about it, because of the talk on including CKEditor. I figure it means editor.js will go at some point...? Or at least most of it?
9911
Features / Re: New revs
« on December 10th, 2010, 12:50 AM »
rev 360
* More jQuery optimization. Simplified help frame to avoid storing a variable in memory just for that. (script.js, Help.template.php, Register.template.php)
* Made submitThisOnce() work on Safari 3.0+, because the comment indicates the hack is for v1.3 beta... Logic dictates that recent builds should work fine. (script.js)
* Moved array_search() to editor.js, as it was only used over there. (editor.js, script.js)
* Spacinazi. (Subs.php, script.js)
* More jQuery optimization. Simplified help frame to avoid storing a variable in memory just for that. (script.js, Help.template.php, Register.template.php)
* Made submitThisOnce() work on Safari 3.0+, because the comment indicates the hack is for v1.3 beta... Logic dictates that recent builds should work fine. (script.js)
* Moved array_search() to editor.js, as it was only used over there. (editor.js, script.js)
* Spacinazi. (Subs.php, script.js)
9912
Features / Re: New revs
« on December 9th, 2010, 08:06 PM »
Thanks ;)
Please post your comments in the appropriate topic though... We're trying to make this one has only the changelogs, to make it easier to go through ;)
rev 359
- Hack for ob_sessrewrite was no longer needed, as Wedge doesn't use ob_end_clean() anywhere. (QueryString.php)
Please post your comments in the appropriate topic though... We're trying to make this one has only the changelogs, to make it easier to go through ;)
rev 359
- Hack for ob_sessrewrite was no longer needed, as Wedge doesn't use ob_end_clean() anywhere. (QueryString.php)
9913
Features / Re: New revs
« on December 9th, 2010, 06:30 PM »
rev 358
* Modified the menu system to turn it into a pure CSS menu when Javascript is not available. Oh yes. (index.css, script.js, GenericMenu.template.php, index.template.php)
* Changed toggle class animation to make it slide up and down, instead of shrink and fade. This should be a bit better for performance, and accomodate for weirder layouts, if ever needed. (script.js)
! Fixed remaining chars counter in the 'more' tag, to take multi-byte chars into account. Also, don't bother showing anything if the tag was put at the end of the message. (Subs.php)
! Fixed many CSS bugs in the main menu implementation for IE6 and IE7. (ie6.css, ie7.css)
* Couple of translation tweaks. (Admin.french.php)
* More jQuery conversion work... Errr... Just turned a 5-line loop into a 2-line parentsUntil() chain. So what. It's a cool geeky instruction. (script.js)
- Removed a 'move' bbcode leftover. Thanks Pete! (Post.template.php)
* Modified the menu system to turn it into a pure CSS menu when Javascript is not available. Oh yes. (index.css, script.js, GenericMenu.template.php, index.template.php)
* Changed toggle class animation to make it slide up and down, instead of shrink and fade. This should be a bit better for performance, and accomodate for weirder layouts, if ever needed. (script.js)
! Fixed remaining chars counter in the 'more' tag, to take multi-byte chars into account. Also, don't bother showing anything if the tag was put at the end of the message. (Subs.php)
! Fixed many CSS bugs in the main menu implementation for IE6 and IE7. (ie6.css, ie7.css)
* Couple of translation tweaks. (Admin.french.php)
* More jQuery conversion work... Errr... Just turned a 5-line loop into a 2-line parentsUntil() chain. So what. It's a cool geeky instruction. (script.js)
- Removed a 'move' bbcode leftover. Thanks Pete! (Post.template.php)
9914
Features / Re: New revs
« on December 7th, 2010, 09:04 PM »
rev 357
+ The smc_Toggle class was screaming to be upgraded to use jQuery's animations! Looks great and saves 5 lines of code, ah ah! (script.js)
+ The smc_Toggle class was screaming to be upgraded to use jQuery's animations! Looks great and saves 5 lines of code, ah ah! (script.js)
9915
Features / Re: New revs
« on December 7th, 2010, 06:39 PM »
Ah... Finally done with that commit... -_-
rev 356
* Too bad jQuery doesn't support the pageshow event... Still, moving that to the footer. (Post.template.php)
- Replaced event listeners with jQuery's implementation. (register.js, topic.js)
* Replaced XMLHttpRequest tests with a can_ajax variable, and removed all tmpMethod hacks. The Themes template still has a different hack that needs to go. (upgrade.php, TEMPLATES: Display, MessageIndex, Packages, Search, SplitTopics, Themes, register.js, stats.js, suggest.js, topic.js)
* Style file inputs to get a default width of 300px. (index.css, Packages.template.php)
* Replaced Comic Sans MS with Segoe UI. Yeah, Comic is a popular font, but it doesn't make me laugh. That would actually be the opposite... Also replaced the ugly Courier with Courier New, and deleted an extra, unused copy of the font list from the script file. (Class-Editor.php, editor.js)
* Made main menu code faster, and saved an awful lot of code, too. (script.js)
* Been slightly more aggressive when minifying CSS... Saves a few bytes per file. (Subs.php)
* Renamed is_ie9 JS var to is_ie9up, as it's really what it does now... (script.js)
- getMousePosition() was no longer needed, as its task is already fulfilled by jQuery. (editor.js)
* The 'more' bbcode tag was hardcoded. I know it's not finished yet (add button, etc..?), but it still needed to get its own class and translations. (Subs.php, index.css, index.english.php, index.french.php)
@ Discuss: Shouldn't parse_bbc use UTF8-safe strlen/substr functions everywhere..?
@ Note for later: IE6 doesn't like $('<input>', { object }). Whatever they say on the web... It doesn't. It has to be fully formed in the HTML portion.
rev 356
* Too bad jQuery doesn't support the pageshow event... Still, moving that to the footer. (Post.template.php)
- Replaced event listeners with jQuery's implementation. (register.js, topic.js)
* Replaced XMLHttpRequest tests with a can_ajax variable, and removed all tmpMethod hacks. The Themes template still has a different hack that needs to go. (upgrade.php, TEMPLATES: Display, MessageIndex, Packages, Search, SplitTopics, Themes, register.js, stats.js, suggest.js, topic.js)
* Style file inputs to get a default width of 300px. (index.css, Packages.template.php)
* Replaced Comic Sans MS with Segoe UI. Yeah, Comic is a popular font, but it doesn't make me laugh. That would actually be the opposite... Also replaced the ugly Courier with Courier New, and deleted an extra, unused copy of the font list from the script file. (Class-Editor.php, editor.js)
* Made main menu code faster, and saved an awful lot of code, too. (script.js)
* Been slightly more aggressive when minifying CSS... Saves a few bytes per file. (Subs.php)
* Renamed is_ie9 JS var to is_ie9up, as it's really what it does now... (script.js)
- getMousePosition() was no longer needed, as its task is already fulfilled by jQuery. (editor.js)
* The 'more' bbcode tag was hardcoded. I know it's not finished yet (add button, etc..?), but it still needed to get its own class and translations. (Subs.php, index.css, index.english.php, index.french.php)
@ Discuss: Shouldn't parse_bbc use UTF8-safe strlen/substr functions everywhere..?
@ Note for later: IE6 doesn't like $('<input>', { object }). Whatever they say on the web... It doesn't. It has to be fully formed in the HTML portion.