I'm sorry for such a huge changelog, but today I'm not strong enough to separate my changes into thematic commits... At this point I'm only praying that I documented everything and didn't forget any features or files ;)
rev 1632
(23 files +2, 36kb)
* Rewrote reqWin even more, mostly to add background dimming behind the popup, and to simplify the code. For instance, because we no longer attach events to unrelated elements, there's no need to fix the event format or unbind some events. (script.js, index.css)
* Fade out the reqWin popup when closing it via the 'Close window' link as well. (Help.template.php)
! Fixed reqWin centering in iOS. (script.js)
! Fixed errors in media playlists, and made the player use Wedge caching. (Aeva-Foxy.php, player.js)
! Fixed swfobject embedding, and harmonized version to 2.2. (Aeva-Foxy.php, Aeva-Subs-Vital.php)
* Trying not to have too many actions in the index file, I moved displaylike to Like.php and used a sub-action for viewing likes. (index.php, Like.php, Display.template.php)
* Increased post box height from 175 to 250px. I was through resizing it by myself. I'm sure no one will mind and it may actually encourage posting more. (Post.php)
+ Added a polyfill for IE 6-8 to support media queries. It'll only support min-width and max-width which are the most common cases, but at least it'll be fast (and short) enough not to bother me too much. (Load.php, respond.js)
- No need to fill in a $no_resize variable when it's only useful once. Removing it does add some extra code to old IEs though, hopefully it won't make them go crazy. Yes, it's just a call to an empty function for resize(), but I've seen worse from them. (index.template.php)
- Label selects in PM pages actually don't need to be fixed. (PersonalMessage.template.php)
- According to my stats, Opera < 9.5 is used by less than 0.2% of web users. If I'm going to drop support for IE6 one day, and I sure will, I have to set an example even if it's my favorite browser... So, removed Wysiwyg detection for Opera < 9.5. Saves about 20 bytes overall. For everyone... (editor.js, script.js)
* In post pages, moved topic icons inside their select box, and moved topic title input box to the right of the icon select box. Makes more sense. (Post.template.php, post.js)
* More space-saving optimizations. Saves something like 70 gzipped bytes when added to script.js, yay. (sbox.js)
* Some space-saving on CSS as well. Unless I'm horribly mistaken, "margin: auto" is the same as "margin: auto". No need to use both. (index.css, index.ie6.css, sections.css)
* Shortened param code for weToggle. It actually saves a nice amount of bytes, and is still easy to understand. (TEMPLATES: Admin, Boards, Display, index, ManagePermissions, Packages, PersonalMessage, Post, SCRIPTS: post.js, script.js, stats.js)