------------------------------------------------------------------------ 2.99.125 | garett (Fri, 14 Sep 2007) Fixed conflict with other PEAR using plugins. ------------------------------------------------------------------------ 2.99.124 | garett (Tue, 11 Sep 2007) Fixes two bugs. The first concerns the night time icons. While it is possible that the icon packs are still misconfigured, the code will now honour the configuration dictated by the icon pack configuration file. IE: Icons will render correctly if there is no night icon. The second concerns changes made in WordPress 2.2. The display options for location and detailed clouds didn't work because for some reason the names loc_name and clouds_detailed were being translated into just name and detailed. ------------------------------------------------------------------------ 2.99.123 | garett (Tue, 06 Mar 2007) Added code to disable NOAA & ADDS via define variables. Added new icon pack tango and fixed the bugs in a few of the old ones. ------------------------------------------------------------------------ 2.99.122 | garett (Mon, 12 Feb 2007) Fixed no night bug when there are no matching condition+cloud, condition, cloud, or noimage icons. ------------------------------------------------------------------------ 2.99.121 | vkaryl (Sun, 11 Feb 2007) This fixes an instance of $WI->gmtime() which was listed like this: $WI-gmtime() on line 1081 in WeatherIconMetar.php. Also changes ° to UTF-8 notation: ° - on lines 1117, 1132, 1151, 1170, and 1251 of WeatherIconMetar.php. ------------------------------------------------------------------------ 2.99.120 | garett (Sun, 11 Feb 2007) Fixed XHTML validity of plugin. ------------------------------------------------------------------------ 2.99.119 | garett (Sun, 11 Feb 2007) The button "Clear Metar Cache" on the configuration screen will now drop and recreate the metar table (to clear up the metar_cache table problem). It will also do the same thing on an upgrade. Speaking of while, all the upgrade code for version 2.99.1 through 2.99.79 have been removed from the plugin (no one should still be using the old beta versions ... and if they are, they should upgrade to 2.99.111 or 112 or 118 or basically any version 79+ and < 119 ... it is a problem, we can always have a piece of stand alone code to do the modifications ... we really don't want the various beta stage upgrade code in the production plugin ... which this is getting much much closer to. ------------------------------------------------------------------------ 2.99.118 | garett (Sat, 10 Feb 2007) Removed dev directory (will exist in rev 117 for all time if we need it) and incremente version # (something I forgot to do in 117). ------------------------------------------------------------------------ 2.99.117 | garett (Sat, 10 Feb 2007) Added missing icon pack + icon pack upgrade development code (no need for it really continue past this revision, but might be handy in the future ... it won't be included in the tarballs). ------------------------------------------------------------------------ 2.99.116 | garett (Sat, 10 Feb 2007) New icon pack system implemented. ------------------------------------------------------------------------ 2.99.115 | garett (Fri, 09 Feb 2007) Security check for web access to svn (plus incremented version #). ------------------------------------------------------------------------ 2.99.114 | garett (Fri, 09 Feb 2007) Added some code to take advantage of Wordpress 2.1+ wp_enqueue_scripts functions ... ------------------------------------------------------------------------ 2.99.113 | garett (Fri, 09 Feb 2007) Security check for web access to svn (plus incremented version #). ------------------------------------------------------------------------ 2.99.112 | garett (Mon, 29 Jan 2007) Minor changes to the configuration page (and associated Javascript file). The javascript file is no longer inline, and is rendered correctly. Should work with wp_enqueue_script in the future ... assuming I can ever find a compability document on it. ------------------------------------------------------------------------ 2.99.111 | garett (Mon, 29 Jan 2007) Fix bug described here: http://www.viper007bond.com/wordpress-plugins/forums/viewtopic.php?pid=1844 ------------------------------------------------------------------------ 2.99.110 | garett (Sat, 06 Jan 2007) Fixed IE getimagesize() bug (see http://www.viper007bond.com/wordpress-plugins/forums/viewtopic.php?pid=1690#p1690) ------------------------------------------------------------------------ 2.99.109 | ghidra99 (Thu, 04 Jan 2007) 1. Corrected the behavior of the WeatherIcon Options floats so they render side by side at 800x600 resolutions. Any smaller, and the right float will move below the left one, as it should. 2. Moved the Date/Time Settings and Units of Measure fieldsets into the bottom, full-width div. ------------------------------------------------------------------------ 2.99.108 | garett (Tue, 02 Jan 2007) Remove the hard coded
  • tag added by ghidra99 in r106. Added code to see if the $before is a tag (ie: ,
  • ,
    , etc.) and adds class="wicon" to it. This is a compromise between retaining flexible functionality and the ability to allow people to align the icon as they see fit if they are too lazy to figure out how to do the css properly. Added code to do the really cool weather banner hack natively (see http://blog.lifevine.org/2006/12/31/banner_changed_with_weather.html). Use function WeatherIconBanner(). Only cares about parameters location, station, lat, long, dst, gmt_offset. ------------------------------------------------------------------------ 2.99.107 | garett (Tue, 02 Jan 2007) Minor fix to Configuration screen CSS to fix page for the 1024x768 resolution. We still have some problems with 800x600, but they aren't that bad. ------------------------------------------------------------------------ 2.99.106 | ghidra99 (Fri, 22 Dec 2006) 1. WeatherIcon Options "Add locations" javascript has been styled so it matches the rest of the table. 2. Hard coded the beginning
  • tag for the Icon as
  • . This will allow people to more easily align the icon as they see fit. 3. Changed the function WI_admin_css() to WI_admin_head() as it now contains most of the javascript. I'll continue working on getting that javascript unembedded from the Options page. ------------------------------------------------------------------------ 2.99.105 | ghidra99 (Mon, 11 Dec 2006) Reverted back to revision 102 after discovering that if the ConfigurationScreen.js file is not embedded, the Javascript elements on the page cease to work. This really needs to be re-written so the Javascript doesn't rely on PHP to function. Kept the XHTML and CSS changes so the Options page will now load correctly in Safari (and is more standards compliant). ------------------------------------------------------------------------ 2.99.104 | ghidra99 (Mon, 11 Dec 2006) Expanded CSS to cover new DIV floats. ------------------------------------------------------------------------ 2.99.103 | ghidra99 (Mon, 11 Dec 2006) Added DIVs to WeatherIconConfig so the sections float correctly. Removed unnecessary LABEL tags. ------------------------------------------------------------------------ 2.99.102 | garett (Fri, 08 Dec 2006) "alt" wasn't so much missing as replaced by title (which is the proper way to do a tooltip). However, I guess it does make sense to display the conditions/clouds in the alt tag for accessibility purposes. Added title tag to span for IE output (assuming that was the reason for the alt modification by viper in the first place). Fixed problem with PHP errors leaking into the plugin ------------------------------------------------------------------------ 2.99.101 | viper (Fri, 08 Dec 2006) Missing "alt" parameter on the status icon ------------------------------------------------------------------------ 2.99.100 | garett (Thu, 07 Dec 2006) Essential changes to increment sub-version to values greater than 99. ------------------------------------------------------------------------ 2.99.99 | garett (Thu, 07 Dec 2006) Minor bug fix in icon's title display. ------------------------------------------------------------------------ 2.99.98 | garett (Thu, 07 Dec 2006) - Adds condition or clouds (depending on availability) to the icon's title. - Fixed bug with Thunderstorms output - Added Test cases to the metar.php file in test. case 1 and 2 are described here: http://en.wikipedia.org/wiki/METAR case 3 concerns the Windchill Bug. Can not recall why the default is the default. used to have a lot more test cases, but I don't recall where I put them :( ------------------------------------------------------------------------ 2.99.97 | garett (Thu, 07 Dec 2006) Wasn't able to abort the last commit. Fixed the bug. ------------------------------------------------------------------------ 2.99.96 | garett (Thu, 07 Dec 2006) Further seperation of get_* functions and decoded_metar. End-users should now be able to do whatever they want, however they want. Most of the changes this time were splitting get_clouds() into get_simple_clouds() and get_detailed_clouds(). Removed duplicated functionality. ------------------------------------------------------------------------ 2.99.95 | garett (Thu, 07 Dec 2006) - Largest changes were to the metar processing. Moved humanized weather conditions and cloud conditions into the metar decode function. It should now be possible for an end-user to write their own custom output for the plugin. IE: fetch_metar('CYQR'), 50.4333, -104.6667, 6, FALSE, '', ''); ?>

    The Weather in Regina SK

    get_icon() ?> Temperature: decoded_metar['temperature']['temp_c'] ?> C
    Sky: decoded_metar['clouds'][0]['humanized'] ?>
    Conditions: decoded_metar['weather'][0]['humanized'] ?>
    - Finished conversion to snoopy. Plugin no longer uses sockets. - Fixed the WindChill 0 bug. ------------------------------------------------------------------------ 2.99.94 | viper (Wed, 06 Dec 2006) French, Norwegian, and Polish translations. Based on old templates and needs updating. ------------------------------------------------------------------------ 2.99.93 | garett (Wed, 06 Dec 2006) Fixed Day/night bug introduced in 92. Possible fix for no table error (now checks for table on run and attempts to create if missing. (still not using dbDelta ... haven't figure out if I wish to yet ...) Lowered snoopy timeout to 15 seconds (from 30) -- need to add configuration options for snoopy to config screen. ------------------------------------------------------------------------ 2.99.92 | garett (Wed, 06 Dec 2006) Moved metar fetch/caching code into WI (core) and converted it to using SNOOPY. Added a fall-back from NOAA (should it fail to load due to 404, etc) to NOAA's Aviation Digital Data Service (ADDS). ADDS is more reliable, but uglier to parse (and may break in the future). Failing all that, it reverts (if available) to the out-of-date cached data. Without METAR, it will fire off an error and fail. Also cleaned some of the metar processing code. Still need to do more mind, but it is cleaner. ------------------------------------------------------------------------ 2.99.91 | garett (Sat, 02 Dec 2006) Added code to fix a bug introduced by rev 88. ------------------------------------------------------------------------ 2.99.90 | garett (Fri, 01 Dec 2006) Added code to catch invalid icon packs on get_image. ------------------------------------------------------------------------ 2.99.89 | garett (Fri, 01 Dec 2006) Modified header information. Added 'display_loc_name' as a display option Added function parameters to WeatherIcon: a) "showAllLocations" to show all locations in order on the admin screen. b) "header_before" and "header_after" to control header formatting Added Usage information to the configuration screen. Added icon pack stardock (waiting to get mod-small-icons for authour). Updated language templates. ------------------------------------------------------------------------ 2.99.88 | ross (Fri, 01 Dec 2006) Change SQL to use $wpdb->prefix instead of $table_prefix ------------------------------------------------------------------------ 2.99.87 | ross (Thu, 30 Nov 2006) Workaround for Wordpress ticket #3394 ------------------------------------------------------------------------ 2.99.86 | ross (Mon, 27 Nov 2006) Allow re-ordering of locations in admin screen ------------------------------------------------------------------------ 2.99.85 | viper (Wed, 30 Aug 2006) Portuguese translation added thanks to Gustavo Bonato. ------------------------------------------------------------------------ 2.99.84 | garett (Wed, 16 Aug 2006) Had to fix some minor i18n problems. Updated the i18n templates as well. ------------------------------------------------------------------------ 2.99.83 | garett (Wed, 16 Aug 2006) Comitting the changes to the upgrade routines. These were released to the public in .82 ... ------------------------------------------------------------------------ 2.99.82 | viper (Sat, 05 Aug 2006) Minor sidebar widget improvements ------------------------------------------------------------------------ 2.99.81 | viper (Tue, 25 Jul 2006) * Added sidebar widget and it's file * Small changes to the WP-Dash widget + renaming of it's file * Adjusted for new file and filename in main file * Change of id="wicon" to class="wicon" for the icon to allow for valid HTML when having multiple outputs ------------------------------------------------------------------------ 2.99.80 | garett (Fri, 14 Jul 2006) Some large changes to the code base for this version release. Three bug fixes (in order of severity): 1) Display Options reseting on submit (IE only) has been resolved by switiching to the scriptaculous ajax library. I may switch later to moofx, but I was in a hurry and didn't want to take the time to figure out any other AJAX library. Anyway, tested it on IE, it works now. Report any bugs to the usual place. 2) WordPress database error: [Duplicate entry '????' for key ??] error should now be resolved. There is now a forced delete before insertion. 3) The control file for the small-gifs icon pack as been corrected. ------------------------------------------------------------------------ 2.99.79 | garett (Wed, 21 Jun 2006) Bug Fixes: 1) Fixed width problem on location table 2) Fixed new location errors 3) Fixed alternating row colouring bug 4) Fixed missing heatindex on debug New Features: 1) Highlight default location with the "active" class 2) More intelligence in the lat/long/gmt offset entry boxes ... prevent invalid input 3) Removed obsolete and unused options. 4) Added date format option 5) Added dates to the tooltips of sunrise/sunset/update times. ------------------------------------------------------------------------ 2.99.78 | garett (Mon, 19 Jun 2006) Added code to allow end-user to disable icon error reporting. ------------------------------------------------------------------------ 2.99.77 | garett (Mon, 19 Jun 2006) Fixed bug in the icon not existing code. ------------------------------------------------------------------------ 2.99.76 | garett (Mon, 19 Jun 2006) Fixed fatal bug in previous fix ... forgot to retrieve the existing settings before modifying and saving. New features: - If icon doesn't exist, a) defaults to current cloud conditions b) reports the missing icon to the developers ------------------------------------------------------------------------ 2.99.75 | garett (Mon, 19 Jun 2006) Fixed upgrade routines for 29973 and 29974. New version should be a seamless upgrade now. ------------------------------------------------------------------------ 2.99.74 | garett (Mon, 19 Jun 2006) Fixes all issues described in this posting: http://www.viper007bond.com/wordpress-plugins/forums/viewtopic.php?pid=789 Namely, 1) Restored the Heat Index option (though I have a comment that it was replaced by Humidex) 2) Added an option to disable DST for regions that don't support it. 3) Fixed Humidex results (was incorrectly returning Windchill) ------------------------------------------------------------------------ 2.99.73 | garett (Tue, 18 Apr 2006) Fixed the bug listed here: http://www.viper007bond.com/wordpress-plugins/forums/viewtopic.php?pid=677 After messing up the fix in .72 ------------------------------------------------------------------------ 2.99.72 | garett (Tue, 18 Apr 2006) Fixed GMT++1 bug described here: http://www.viper007bond.com/wordpress-plugins/forums/viewtopic.php?id=131 ------------------------------------------------------------------------ 2.99.71 | garett (Tue, 18 Apr 2006) Fixed the no icon packs bug reported here: http://www.viper007bond.com/wordpress-plugins/forums/viewtopic.php?pid=670 ------------------------------------------------------------------------ 2.99.70 | garett (Thu, 06 Apr 2006) Whatever. Blame VIM, it keeps auto-indenting with spaces. I think I could fix it, but I don't care enough to figue out if it is possible ;) Any, this commit is adding Dutch language support to WeatherIcon. Thanks Boogie. ------------------------------------------------------------------------ 2.99.69 | viper (Fri, 31 Mar 2006) Fixed variable mispelling (it's $myoptions, not $options). Also replaced mutliple spaces with tabs. Tabs are for alignment, not spaces! >_< ------------------------------------------------------------------------ 2.99.68 | garett (Thu, 23 Mar 2006) Added the ability for the plugin call to alter the display options, for those who wish to get truly creative with output. ------------------------------------------------------------------------ 2.99.67 | garett (Thu, 23 Mar 2006) Added a link on the configuration page to the debug page for each location. Removed the debug option as well (this may screw up some people should they have it on and upgrade, however the option is simply hidden, not removed. They just have to uncomment, unclick, and save to fix.) ------------------------------------------------------------------------ 2.99.66 | garett (Thu, 23 Mar 2006) This _really_ isn't my day. Removed debugging code from last commit. ------------------------------------------------------------------------ 2.99.65 | garett (Thu, 23 Mar 2006) Minor fix to last commit (oops) ------------------------------------------------------------------------ 2.99.64 | garett (Thu, 23 Mar 2006) Added the icon packs for the black background gifs and the small gifs. ------------------------------------------------------------------------ 2.99.63 | viper (Wed, 15 Mar 2006) Improvements to get_icon(). Now the IE hack will only be done if the browser is IE _AND_ if the image extension is ".png". This was done because there is no need for the image hack for GIFs and such. Also, as a result of this switch, I ended up having to switch around the logic so that the ELSE falls back to the tag, which is a good thing anyway. ------------------------------------------------------------------------ 2.99.62 | viper (Tue, 14 Mar 2006) Added an ID to the and tags to make it easier to control the image via CSS (add a border, center it, etc.) ------------------------------------------------------------------------ 2.99.61 | garett (Tue, 14 Mar 2006) - Fixed no icon problem when METAR has no condition or cloud information (now defaults to CLR). - Fixed nilm/nilft problem. Now display like: "Few Clouds with unknown cloud base." - Fixed No Thunderstorm icon issue. - Added fixed German i18n file from Gustav Miller. - Updated i18n templates (Gustav has to update i18n file again) - Added new test file for testing specific METAR data. ------------------------------------------------------------------------ 2.99.60 | garett (Thu, 09 Mar 2006) - Added height/width style on image to non-ie version as well (helps with centering the image) - Added WeatherIcon filter hook, allowing for post generation modifications. Example ------- Code: =============================================================================== function center_image($text) { return preg_replace('/Clouds: Few Clouds at 100ft Note the space before "". That space is now removed. ------------------------------------------------------------------------ 2.99.47 | viper (Fri, 24 Feb 2006) Missing alt on the img tag. ------------------------------------------------------------------------ 2.99.46 | viper (Fri, 24 Feb 2006) Can't remember all the things I changed as I couldn't update the SVN between major changes (it was down), but here's the jist of this multi-item commit: - Added an almost complete WP-Dash widget and required in the file. Please test if you can. - Added a check to see if the argument for WeatherIcon() was blank. While !empty() covers this, we need to be able to set "FALSE", so isset() + != '' seems to be the best solution (right?). Did this because WeatherIcon would make nasty errors if this was done: WeatherIcon('station=') - Added a dirty (and possibly ugly) little hack to add a space in front of the visibility units if we're using "miles" (it just don't look right without a space when using miles). This doesn't actually affect anything (hopefully) as it only adjusts the output, not that actual unit settings or anything. - Replaced multiple spaces with tabs (spaces are not to be used for padding, Garett, tsk tsk! :P Besides not meeting the WordPress and general rule of thumb coding standards, they often don't even work as intended from PC to PC) - Each file had a line break after the final "?>", aka whitespace. This could be bad for when sending headers, so it was removed. ------------------------------------------------------------------------ 2.99.45 | garett (Wed, 22 Feb 2006) Fixed upgrade from 2.x to 3.0 bug. ------------------------------------------------------------------------ 2.99.44 | garett (Wed, 22 Feb 2006) Added coded to support use current time or use metar time. ------------------------------------------------------------------------ 2.99.43 | garett (Wed, 22 Feb 2006) Windows bug fix (hopefully) ------------------------------------------------------------------------ 2.99.42 | garett (Wed, 22 Feb 2006) Added language setting to Preset Locations. Known Bugs: a) Can not delete newly added locations b) No way to localize time (I think) c) Newly added rows do not alternate correctly. Should be easily fixed, but lazy. ------------------------------------------------------------------------ 2.99.41 | garett (Tue, 21 Feb 2006) Major changes for this revison: a) Removed default settings and replace with preset locations Known Bugs: Doesn't support UTF-8 characters correctly (nor, apparently does SVN) b) Fixed sunrise/sunset times (reported in log of a previous revision) c) Updated test code. ------------------------------------------------------------------------ 2.99.40 | garett (Mon, 20 Feb 2006) Updated German translation file. Fixed a minor bug. ------------------------------------------------------------------------ 2.99.39 | garett (Sun, 19 Feb 2006) Fixed minor bugs after changing from time_zone to gmt_offset naming (namely in POST). Also added new debug information. ------------------------------------------------------------------------ 2.99.38 | garett (Sat, 18 Feb 2006) Fixed a minor bug. Also updated test routines. I believe a bug exists in the sunrise/sunset time calculations, see: /wp-content/plugins/WeatherIcon/test/?station=RJTT&lat=35.68333&long=139.7667&gmt_offset=9 Tokyo is located at 35.68333 N and 139.7667 W. GMT_offset is +9. Airport code is RJTT. It believes sunrise time is at 2pm (GMT+9) and sunset is at 12am (GMT+9). I could be wrong, but I don't think those numbers are correct. ------------------------------------------------------------------------ 2.99.37 | garett (Sat, 18 Feb 2006) Bloody hell! Forgot to get the old setting before "fixing" 'em ... wiped out all my settings. Fixed. ------------------------------------------------------------------------ 2.99.36 | garett (Sat, 18 Feb 2006) Fixed the upgrade functions to use the new display_updatetime instead of display_metartime & display_metardate. Also added pre-release upgrade code to active display_updatetime if display_metartime or display_metardate were active. ------------------------------------------------------------------------ 2.99.35 | garett (Sat, 18 Feb 2006) Accidentally deleted a line in METAR, 'caused icons not to resolve correctly. Also forgot the this-> part of $decoded_metar, which didn't save the icon information outside of the function (hence slowing debugging). Remove the entire date/time seperation. Now handled as one. Changed a bit of text, and update the german translation. ------------------------------------------------------------------------ 2.99.34 | garett (Sat, 18 Feb 2006) Alright, sunrise/sunset times are now calculated, and the plugin now honours the ordering set on the configuration page. ------------------------------------------------------------------------ 2.99.33 | garett (Fri, 17 Feb 2006) Did some really cool work on the configuration screen. Check it out. I'll implement the rest in the plugin sometime later. ------------------------------------------------------------------------ 2.99.32 | garett (Fri, 17 Feb 2006) Updated german translation from Gustav Miller (a person who contacted me directly about some problems with the 2.3.1 and I'm currently using as a guinea pig for the 3.x line) Speaking of which, the 3.x code is almost stable enough for a public beta I think. ------------------------------------------------------------------------ 2.99.31 | garett (Thu, 16 Feb 2006) Fixed the syntax errors in the Weather at post time routines. ------------------------------------------------------------------------ 2.99.30 | garett (Thu, 16 Feb 2006) Added code for current weather at default station on post publish. Viper007Bond's idea. Not sure if he pursued it any. It isn't overly sophisticated, but it is in there. No time to debug, so it might have horridly broken. l8r. ------------------------------------------------------------------------ 2.99.29 | garett (Thu, 16 Feb 2006) Changed the cache functions to use gmdate rather than localized date. Will prevent accidental deletions. ------------------------------------------------------------------------ 2.99.28 | garett (Thu, 16 Feb 2006) Fixed bug. Visibliity didn't honour users display option setting. ------------------------------------------------------------------------ 2.99.27 | garett (Thu, 16 Feb 2006) Fixed minor sun never rises bug (replaced $wsunset with $sunset ... not sure when it emerged, but fixed) ------------------------------------------------------------------------ 2.99.26 | garett (Thu, 16 Feb 2006) Whoops. Major bug. WIversion was defined twice. Once properly, and once not. Renamed the second to WIRemoteVersion as well as renaming WIhost and WIsource to WIRemoteHost and WIRemoteSource respectively. Also modified check version to _actually_ use these variables. ------------------------------------------------------------------------ 2.99.25 | garett (Thu, 16 Feb 2006) A minor syntax error (missing ; added) and a logic error (> instead of <) fixed. Caching is functional. ------------------------------------------------------------------------ 2.99.24 | garett (Thu, 16 Feb 2006) Implemented database caching (I hope, will test on server as soon as committed). Required extensive alterations to the cache table, but the database caching (in very few lines) is much more efficient than the previous database caching (which was very poorly implemented). ------------------------------------------------------------------------ 2.99.23 | garett (Thu, 16 Feb 2006) Fixed sunrise/sunset code. Function returned sunrise/sunset as a timestamp, converted into localized hours. Also removed obsolete cache directory and sunrise.php file. Also added stub code for metar caching and added the new localization info into the german translation. ------------------------------------------------------------------------ 2.99.22 | garett (Thu, 16 Feb 2006) Various modifications in the i18n directory that weren't automagically done for me in revision 20. ------------------------------------------------------------------------ 2.99.21 | mcb (Thu, 16 Feb 2006) I made a few cosmetic changes, fixed a few typos, etc. I also added the ability to determine sunrise/sunset for ma user specified latitude, longitude and time zone. The sunrise/sunset calculations are good but the daylight savings time function still needs some work. (Currently only works for US). You can specify lat & long on the settings page or as arguments to the call itself. --Midwestern City Boy ------------------------------------------------------------------------ 2.99.20 | garett (Wed, 15 Feb 2006) Massive Revision Here: a) All text is now i18n-ized (some wasn't) except for the test page and the other debugging code. Since I (as an english speaking deveoper) am likely to have to read it, I figured I might as well not waste the time implementing it. b) Created a new template.po c) Created a german localization file to test (a fluent german speaker found to debug -- gustav) d) Incremented Version # (again, will try to do every revision ... well at least major ones) e) Other minor changes: Added a notification that settings had been updated. f) Moved non-supported i18n po's to a i18n/old i18n should be functionally as intended now. ------------------------------------------------------------------------ 2.99.19 | garett (Wed, 15 Feb 2006) Made initial fixed for i18n implementation ------------------------------------------------------------------------ 2.99.18 | garett (Wed, 15 Feb 2006) Removed the word public from public function get_i18n_options() PHP5 syntax _not_ compatible with PHP4. Also increase version number to 18 (matching SVN build #) ------------------------------------------------------------------------ 2.99.17 | garett (Fri, 03 Feb 2006) Fixed the N at 0km/h bug. Now properly reports a wind status of 'Calm'. ------------------------------------------------------------------------ 2.99.16 | garett (Wed, 25 Jan 2006) Fix image problem in IE. Apple-ish icons are 80x124 ... the defaults are like 80x80 ... the images could vary. Added a function to retrieve image size from the image. This requires GD support to be compiled into PHP ... I used a function_exists command which should prevent it being called on systmes without GD support ... however this may not be the case. ------------------------------------------------------------------------ 2.99.15 | garett (Wed, 25 Jan 2006) Readded the span for weather_info and weather_title. ------------------------------------------------------------------------ 2.99.14 | garett (Thu, 19 Jan 2006) Fixed bug, changed variable from WIi8ndir to WIi18ndir ... this fixed the problem the with languages ... ------------------------------------------------------------------------ 2.99.13 | garett (Wed, 18 Jan 2006) Restored the basic cloud information ... detailed was a little excessive ... but I've left it if someone wants it. I also added a display option for conditions. The plugin already honoured it, but we didn't have one so it just never displayed conditions. On another note, I'm actually using the plugin on my development site now. Take a peak over at http://dev.zy.ca/ if you're interested. ------------------------------------------------------------------------ 2.99.12 | garett (Sat, 14 Jan 2006) Changed name of Options Tag to WeatherIcon from WeatherIcon Options. ------------------------------------------------------------------------ 2.99.11 | garett (Sat, 14 Jan 2006) Fixed Implode and File Not Found errors originating from line 347 in WeatherIconCore. New checks added to the get_icon_packs function to ensure an icon pack file is in existance before considering the directory an icon pack. ------------------------------------------------------------------------ 2.99.10 | garett (Thu, 12 Jan 2006) Added the missing class="options" to three of the fieldsets on the configuration page ... fixed minor visual annoyance. ------------------------------------------------------------------------ 2.99.9 | garett (Thu, 12 Jan 2006) Removed additional version information on the configuration page. It really didn't work with the page and I realized it had no purpose there. ------------------------------------------------------------------------ 2.99.8 | garett (Thu, 12 Jan 2006) Implemented fixed to the upgrade from 2.99.14 stuff ... I made a major logical error there ... Oh, and also fixed two minor coding bugs from before. ------------------------------------------------------------------------ 2.99.7 | garett (Thu, 12 Jan 2006) Another bug fix, removed the entire switch/case bit. ------------------------------------------------------------------------ 2.99.6 | garett (Thu, 12 Jan 2006) Bug Fix with new case function in WeatherIconCore.php ------------------------------------------------------------------------ 2.99.5 | garett (Thu, 12 Jan 2006) Many changes this time around. - Changed how units are stored in $WI->settings - Changed upgrade routines to reflect this - Changed METAR class to use $WI->settings directly instead of as passed functions - Added display option of display_metardate ... changed the meaning of display_metartime. Made changes in WeatherIconMetar.php and upgrade routines to reflect this change. - Added configuration for units for pressure and cloud height as well as routines to honour them in WeatherIconMetar.php. - Added more version information to Configuration page ... no idea how that looks though. - Added style into WeatherIconConfig.php to compensate for Wordpress 2.0's changes to how it displays framesets (in comparison to wordpress 1.5.x anyway) ------------------------------------------------------------------------ 2.99.4 | viper (Thu, 12 Jan 2006) Using < and > in the plugin details was making the plugin page all funky. Replaced with [ and ]. ------------------------------------------------------------------------ 2.99.3 | viper (Wed, 11 Jan 2006) Replaced ugly explode()'ing with parse_str() ------------------------------------------------------------------------ 2.99.2 | garett (Wed, 11 Jan 2006) Changed the README to test commit process ------------------------------------------------------------------------ 2.99.1 | garett (Wed, 11 Jan 2006) - Added to local SVN - Change version number to 2.99.1 in preperation for version 3.0.0 release. - Removed FETCH_SUNS option (abandoning WeatherUnderground) - Finished ICON pack definitions for apple-ish and default - Added code from Midwestern City Boy for PNG support in IE6 (only to plugin, not config screen yet) ------------------------------------------------------------------------ 2.4.9 | garett (Tue, 10 Jan 2006) - Added version check code - Fixed display functions in metar (again) ------------------------------------------------------------------------ 2.4.8 | garett (Fri, 06 Jan 2006) - fixed display functions in metar ------------------------------------------------------------------------ 2.4.7 | garett (Fri, 23 Dec 2005) - built test rig to allow easier debugging of new codebase. ------------------------------------------------------------------------ 2.4.6 | garett (Thr, 15 Dec 2005) - Added display functions (very rough) - Improved Debug Functionality ------------------------------------------------------------------------ 2.4.5 | garett (Wed, 14 Dec 2005) - figured out how to improve internationalization ------------------------------------------------------------------------ 2.4.4 | garett (Tue, 22 Nov 2005) - Added upgrade routines ------------------------------------------------------------------------ 2.4.3 | garett (Wed, 16 Nov 2005) - Updated Metar Processing code from PHPWeather (much improvement) - Tweaked new Metar Processing to do more - Added versioning information ------------------------------------------------------------------------ 2.4.2 | garett (Sun, 06 Nov 2005) - Improved Configuration Screen, finalized layout - Dropped weather_settings and weather_options and created a new WIsettings replacement for both ------------------------------------------------------------------------ 2.4.1 | garett (Thr, 27 Oct 2005) - Threw out old code base ... to hacked to keep developing on. - Started new code broke apart into classes - Started work on new configuration screen class ------------------------------------------------------------------------ 2.3.1 | garett (Fri, 07 Oct 2005) Bug Fixes: - Increased width of Widget from 200px to 220px; New Features: - Add the ability to change the language of an individual icon. - Now supports remark code VIRGA (Virga is a type of rain that evaporates before hitting the ground. Pretty cool IMO.) - Added the command 'override_cache' to the command line interfaces to force the plugin to retrieve data regardless of whether the data is cached or not. This is a debugging feature, not an everyday feature so it isn't added to the configuration page. In fact, I was considering not mentioning it ... but I have. If you wish to see what it is, either enter in the METAR code ( CYQR 071700Z 15021G27KT 15SM BKN039 BKN070 OVC230 05/M01 A2973 RMK SC6AC2CI1 VIRGA SLP094 ), or just add VIRGA to the RMK's section of your METAR data. ------------------------------------------------------------------------ 2.3.0.5 | garett (Wed, 05 Oct 2005) Bug Fixes: - Correct local server's time based on the gmt offset in the wordpress settings. Known problems? Doesn't correct for Daylight savings time (see http://www.viper007bond.com/wordpress-plugins/forums/viewtopic.php?id=18 for more information) - Database caching cause Heat Index and Condition Status to carry onwards when no longer valid (see http://www.viper007bond.com/wordpress-plugins/forums/viewtopic.php?id=23 and http://www.viper007bond.com/wordpress-plugins/forums/viewtopic.php?id=30 for more information). New Features: - Added a "Default Location" option (see http://www.viper007bond.com/wordpress-plugins/forums/viewtopic.php?id=7 for more information) ------------------------------------------------------------------------ 2.3.0.4 | garett (Tue, 04 Oct 2005) Bug Fix: - Template.po file bugs fixed (see http://www.viper007bond.com/wordpress-plugins/forums/viewtopic.php?id=20 for more information) New Features: - Display date/time from metar file (see http://www.viper007bond.com/wordpress-plugins/forums/viewtopic.php?id=29 for more information) ------------------------------------------------------------------------ 2.3.0.3 | garett (Thr, 25 Aug 2005) - More New Debugging Information ------------------------------------------------------------------------ 2.3.0.2 | garett (Wed, 24 Aug 2005) - New Debugging Information ------------------------------------------------------------------------ 2.3.0.1 | garett (Tue, 23 Aug 2005) Bug Fixes: - NSC Metar Code no longer results in No Data - Ignoring No Nighttime Icon Fixed - Debug/Display no longer Case Sensitive ------------------------------------------------------------------------ 2.3.0 | viper (Sat, 13 Aug 2005) - Options page was horribly invalid XHTML (or even HTML for that matter), so it's been fixed and now passes the W3C XHTML Markup Validator - Corrected the workings of the debug function argument and variable logic 'cause Garett f'ed it up :P ------------------------------------------------------------------------ 2.2.2 | viper (Fri, 12 Aug 2005) - Added ability to the options page to empty the caches - Allowed force debug via function arguments (just set 'debug' to TRUE or 1) ------------------------------------------------------------------------ 2.2.1 | garett (Sat, 06 Aug 2005) - Add ability to cache metar in database rather than a flat file. - Added options to select caching type. - Changed Default Caching options. - Added option to display Sunrise/Sunset times. - Change option allow_debug to debug and print to display (to better link the names to their function). - Bug Fix: Missing Compass direction in wind direction (East was missing! HOW!?!) ------------------------------------------------------------------------ 2.2.0 | viper (Tue, 02 Aug 2005) - Added option to put the location label as the WP-Dash widget header instead. ------------------------------------------------------------------------ 2.1.2 | viper (Mon, 01 Aug 2005) - Changed function input format to a query string format, but kept backward compatibility - Expanded the "Usage Information" area at the bottom of the configuration page - Changed the code formatting a bit more to better match the WordPress standards ------------------------------------------------------------------------ 2.1.1 | garett (Sun, 31 Jul 2005) - Sunrise/Sunset times now retrievable from WeatherUnderground. - Time for sunrise/sunset now configurable to local time/metar time. - New options added to configuration page. - New Debug Information added. - Fixed bug in cloud conditions that resulted in a 'No METAR Data Available' error. - Fixed bug in hour calculation for sunrise/sunset. ------------------------------------------------------------------------ 2.1.0 | garett (Sat, 29 Jul 2005) - Cludgy fix for missing sky conditions in METAR. ------------------------------------------------------------------------ 2.0.5 | viper (Fri, 28 Jul 2005) - Added "widget" for the WP plugin WP-Dash, http://somethingunpredictable.com/wp-dash/ ------------------------------------------------------------------------ 2.0.4 | garett (Fri, 28 Jul 2005) - Added switches to allow debug output and to display (echo) or return the values. ------------------------------------------------------------------------ 2.0.3 | viper (Fri, 28 Jul 2005) - Moved the plugin file into the "WeatherIcon" folder and removed some offending code stopping this from working, i.e. basename() (Viper007Bond) - Did a some code formatting changes - tabs are better than spaces :P ------------------------------------------------------------------------ 2.0.2 | garett (Wed, 27 Jul 2005) - Removed all short open tags. - Fixed wind speed metric bug. - Added option to display wind speed in meters per second. ------------------------------------------------------------------------ 2.0.1 | jeremiah (Tue, 15 Mar 2005) - Fixed Missing Descriptor for visibility - Removed border attribute from image - Fixed fread error on initial creation of cache file ------------------------------------------------------------------------ 2.0.0 | garett (Tue, 08 Mar 2005) - Fixed fread() empty file Bug - Added the leading zero bug fix from Bob Crispen ------------------------------------------------------------------------ 1.2.2 | garett (Mon, 07 Mar 2005) - Created a Configuration Page for Wordpress 1.5 - Localization of Plugin switch to use PO files ------------------------------------------------------------------------ 1.2.1 | garett (Tue, 01 Mar 2005) - rewrote segments of the plugin to allow better integration into sidebar as per other plugins ------------------------------------------------------------------------ 1.2.0 | garett (Tue, 22 Feb 2005) - Fixed the "Reports Imperial Data as Metric" Bug in get_visibility. ------------------------------------------------------------------------ 1.1.8 | jeremiah (Fri, 05 Nov 2004) - Some Debug Formating Changes From Beel ------------------------------------------------------------------------ 1.1.7 | jeremiah (Thr, 28 Oct 2004) - Added Support for "Drizzle" condition (Thanks Beel!) ------------------------------------------------------------------------ 1.1.6.1 | garett (Thr, 28 Oct 2004) - Fixed the "Uses Overcast instead of Fog or Snow" Bug - Fixed the "Fog, Haze, Smoke, and Sand don't set a CONDITION STATUS" Bug - Improved fix for the "Wind: Calm mph" Bug ------------------------------------------------------------------------ 1.1.6 | garett (Mon, 25 Oct 2004) - Fixed the "Wind: Calm mph" Bug ------------------------------------------------------------------------ 1.1.5 | garett (Mon, 18 Oct 2004) - Fixed "Duplicate Conditions" Bug - Added Change Log ------------------------------------------------------------------------