CVS: phpweather ChangeLog,1.6,1.7
Brought to you by:
iridium
From: Martin G. <gim...@us...> - 2002-05-20 15:57:01
|
Update of /cvsroot/phpweather/phpweather In directory usw-pr-cvs1:/tmp/cvs-serv30484 Modified Files: ChangeLog Log Message: Updated. Index: ChangeLog =================================================================== RCS file: /cvsroot/phpweather/phpweather/ChangeLog,v retrieving revision 1.6 retrieving revision 1.7 diff -u -3 -r1.6 -r1.7 --- ChangeLog 18 Mar 2002 13:46:56 -0000 1.6 +++ ChangeLog 20 May 2002 15:56:58 -0000 1.7 @@ -1,3 +1,823 @@ +2002-05-20 15:53 Martin Geisler <gim...@gi...> + + * config/index.php: + + Added a link to speed_test.php. + +2002-05-20 15:52 Martin Geisler <gim...@gi...> + + * config/speed_test.php: + + I made this little file while I was playing with the different + database backends. + +2002-05-20 15:51 Martin Geisler <gim...@gi...> + + * index.php: + + Cosmetics... + +2002-05-20 15:50 Martin Geisler <gim...@gi...> + + * make-release.sh: + + Those .cvsignore files should also be removed from a release. + +2002-05-20 15:48 Martin Geisler <gim...@gi...> + + * db/pw_db_mysql.php: + + Some minor changes I made while I made the PostgreSQL backend. It's + now possible to use a non-standard port - that was ignored before. + +2002-05-20 15:47 Martin Geisler <gim...@gi...> + + * db/pw_db_pgsql.php: + + I've updated the PostgreSQL backend so that it actually works! :-) + I've tested it on my PostgreSQL database version 7.2.1 which is the + one that comes with Debian unstable. + +2002-05-18 09:20 Martin Geisler <gim...@gi...> + + * phpweather.php: + + It seams that pow() cannot handle floats passed to it as strings, + at least not in PHP 4.2.0 at gimpster.com. The strange thing is + that it works in PHP 4.1.2 at my local machine. + +2002-05-18 08:39 Martin Geisler <gim...@gi...> + + * phpweather.php: + + When the windchill and heatindex was calculated, the temperature + and windspeed was compared to strings and not integers. + + I also re-indented some of the code. + +2002-05-17 16:21 Martin Geisler <gim...@gi...> + + * output/pw_text_da.php: + + Updated with translation of 'feelslike'. + +2002-05-16 20:35 Martin Geisler <gim...@gi...> + + * output/pw_text_en.php: + + How did that happen? :-) + +2002-05-16 20:02 Martin Geisler <gim...@gi...> + + * output/: pw_text_da.php, pw_text_en.php, pw_text_hu.php, + pw_text_no.php: + + Made the second argument optional with these constructors as well. + +2002-05-16 19:52 Mihaly Gyulai gyulai.freeyellow.com/ + + * output/pw_text_hu.php: + + Translation of '...feels like'. + +2002-05-16 19:46 Max Hammond <ma...@fl...> + + * output/pw_text.php: + + rats + +2002-05-16 19:44 Max Hammond <ma...@fl...> + + * output/: pw_text.php, pw_text_da.php, pw_text_en.php, + pw_text_hu.php, pw_text_no.php: + + Combined windchill and heatindex into one 'feels like' - sorry + translators. I think this is a better solution + +2002-05-15 22:28 Martin Geisler <gim...@gi...> + + * configurator.php: + + This file is no longer needed now that /config/make_db.php handles + the creation of the necessary tables in the database. + +2002-05-15 22:26 Martin Geisler <gim...@gi...> + + * config/: index.php, make_config.php, make_db.php: + + I've moved the Configuration Builder from index.php to + make_config.php and added make_db.php which can be used to + (re)create the database. + +2002-05-15 22:23 Martin Geisler <gim...@gi...> + + * base_object.php, data_retrieval.php, db_layer.php, + phpweather.php, output/pw_images.php, output/pw_text.php: + + All constructors can now be called without any parameters - they + all use an empty array as the default. This was removed some time + ago because it didn't work in PHP3, but now that we're using PHP4 + it works again. + + I also made an extra check in output/pw_text.php so that missing + clouds no longer trigger a warning. + +2002-05-12 15:09 Max Hammond <ma...@fl...> + + * test.php: + + Made it work again + +2002-05-12 15:08 Max Hammond <ma...@fl...> + + * output/pw_text.php, output/pw_text_da.php, output/pw_text_en.php, + output/pw_text_hu.php, output/pw_text_no.php, phpweather.php: + + Added heat index, thanks to David Kjellquist + +2002-05-10 18:35 Max Hammond <ma...@fl...> + + * stations.csv: + + Added new spanish station + +2002-04-14 18:27 Martin Geisler <gim...@gi...> + + * config/: index.php, pw_optiongroup.php: + + Hehe - that was much easier that I thought... The optiongroups can + now be toggled on and off. The state is remembered when people + click the 'Update Configuration' button. + + I have (as usual) only tested this with Mozilla 0.9.9. + +2002-04-13 13:23 Martin Geisler <gim...@gi...> + + * phpweather.php: + + Updated documentation. + +2002-04-13 13:21 Martin Geisler <gim...@gi...> + + * docs/html/metar_parser.html: + + Remove that one too... + +2002-04-13 13:20 Martin Geisler <gim...@gi...> + + * docs/html/: base_object.html, class_base_object.xml, + class_data_retrieval.xml, class_db_layer.xml, class_phpweather.xml, + class_property.xml, class_pw_db_common.xml, class_pw_db_dba.xml, + class_pw_db_mysql.xml, class_pw_db_null.xml, class_pw_db_pgsql.xml, + class_pw_dependency.xml, class_pw_dependency_or.xml, + class_pw_images.xml, class_pw_option.xml, + class_pw_option_boolean.xml, class_pw_option_integer.xml, + class_pw_option_multi_select.xml, class_pw_option_select.xml, + class_pw_option_text.xml, class_pw_optiongroup.xml, + class_pw_text.xml, class_pw_text_da.xml, class_pw_text_en.xml, + class_pw_text_hu.xml, class_pw_text_no.xml, class_pw_validator.xml, + class_pw_validator_ereg.xml, class_pw_validator_range.xml, + classtree_base_object.xml, classtree_property.xml, + classtree_pw_dependency.xml, classtree_pw_option.xml, + classtree_pw_optiongroup.xml, classtree_pw_validator.xml, + data_retrieval.html, db_layer.html, elementlist.xml, + frame_packagelist.html, index.html, + packageelementlist_No_Package_specified.html, + packageelementlist_PHP_Weather.html, + packageelementlist_PHP_Weather_Configurator.html, packagelist.xml, + phpdoc.dtd, phpdoc_classtree.html, phpdoc_elementlist.html, + phpdoc_packagelist.html, phpdoc_warnings.html, + phpdoc_xmlfiles.html, phpweather.html, property.html, + pw_db_common.html, pw_db_dba.html, pw_db_mysql.html, + pw_db_null.html, pw_db_pgsql.html, pw_dependency.html, + pw_dependency_or.html, pw_images.html, pw_option.html, + pw_option_boolean.html, pw_option_integer.html, + pw_option_multi_select.html, pw_option_select.html, + pw_option_text.html, pw_optiongroup.html, pw_text.html, + pw_text_da.html, pw_text_en.html, pw_text_hu.html, pw_text_no.html, + pw_validator.html, pw_validator_ereg.html, pw_validator_range.html, + warnings_classanalyser.xml, warnings_parser.xml: + + Updated documentation. + +2002-04-13 13:19 Martin Geisler <gim...@gi...> + + * docs/html/: db_common.html, db_dba.html, db_mysql.html, + db_null.html, db_pgsql.html, locale_common.html, locale_da.html, + locale_en.html, locale_hu.html: + + These files are no longer used - the corresponding sourcefiles have + been renamed or removed. + +2002-04-13 13:11 Martin Geisler <gim...@gi...> + + * config/: pw_validator.php, pw_dependency.php, + pw_dependency_or.php, pw_option.php, pw_optiongroup.php, + pw_validator_ereg.php, pw_validator_range.php: + + Added documentation. + +2002-04-12 22:10 Martin Geisler <gim...@gi...> + + * data_retrieval.php: + + We now use $this->properties['cache_timeout'] instead of the + hardcoded 3600 seconds. + +2002-04-12 22:07 Martin Geisler <gim...@gi...> + + * config/pw_validator.php: + + Added documentation. + +2002-04-12 22:07 Martin Geisler <gim...@gi...> + + * config/: pw_validator_range.php, pw_option.php: + + Documentation plus some minor bugfixes. + +2002-04-12 22:04 Martin Geisler <gim...@gi...> + + * config/index.php: + + Two new options were added: cache_timeout and offset. I've also + reindented the code. + +2002-04-12 22:01 Martin Geisler <gim...@gi...> + + * config/pw_option_integer.php: + + New wrapper-type: integers doesn't need to be quoted in + defaults.php. + +2002-04-12 22:00 Martin Geisler <gim...@gi...> + + * defaults-dist.php: + + Added a new option: cache_timeout. This is used to determine when a + METAR is old. The default value is 3600 seconds which was the value + used in data_retrieval before. + +2002-04-12 21:39 Martin Geisler <gim...@gi...> + + * stations.csv: + + New station discovered by Chris Hankinson <ch...@le...> + +2002-04-12 21:38 Martin Geisler <gim...@gi...> + + * VERSION: + + This is probably less confusing... + +2002-04-09 23:21 Martin Geisler <gim...@gi...> + + * config/: index.php, pw_option_text.php, pw_validator.php, + pw_validator_ereg.php, pw_validator_range.php: + + Hey - it turned out to be quite easy to validate the input using + regular expression in Javascript... + + As far as I understand it, then these regular expressions only work + in Javascript version 1.2 and later. But it's actually not that + important, as this is simply extra functionality - you can still + use a browser like lynx that doesn't do Javascript. + +2002-04-07 18:59 Martin Geisler <gim...@gi...> + + * config/reset_session.php: + + Hmm, $_SERVER didn't work either. + +2002-04-07 18:53 Martin Geisler <gim...@gi...> + + * config/index.php: + + Ups - $_REQUEST was too new for SourceForge. I've also changed some + include() to require_once() since that is what I mean: the script + shouldn't run without these files. + +2002-04-07 18:38 Martin Geisler <gim...@gi...> + + * config/: index.php, pw_dependency.php, pw_dependency_or.php, + pw_option.php, pw_option_boolean.php, pw_option_multi_select.php, + pw_option_select.php, pw_option_text.php, pw_optiongroup.php, + pw_validator.php, pw_validator_ereg.php, pw_validator_range.php, + reset_session.php: + + This is a new and improved configurator - a script that can be used + to generate a defaults.php file for PHP Weather. + + The new thing is, that the options now depend on each other - you + cannot configure the database password if you're using a DBA + database, because that kind of database doesn't use a password. The + options are also validated so that the default ICAO really is a + string of four letters or digits. + + I've dropped the idea about having the script save the + configuration. It only worked when the webserver had + write-permission to the directory (which was rare) and it caused + some security-problems. + + There's also no code for generating the databases. I think it would + be better if we made a separate script for that. Perhaps we should + couple this with the code that updates the METARs from cycle-files. + + The classes still lack documentation... + +2002-03-29 16:02 Martin Geisler <gim...@gi...> + + * docs/: ps/phpweather-a4.ps, ps/phpweather-letter.ps, + pdf/phpweather-a4.pdf, pdf/phpweather-letter.pdf: + + Updated documentation. + +2002-03-29 15:18 Martin Geisler <gim...@gi...> + + * docs/src/latex/: databases.tex, installation.tex, intro.tex, + main.tex, translation.tex: + + Various updated. + +2002-03-29 15:18 Martin Geisler <gim...@gi...> + + * docs/src/latex/decoded.tex: + + A description of the decoded METAR array. + +2002-03-29 13:51 Martin Geisler <gim...@gi...> + + * phpweather.php: + + Cleanups. I'm was looking through the code to document the + $decoded_metar array and found a lot of cruft. + +2002-03-29 00:38 Max Hammond <ma...@fl...> + + * output/pw_text.php: + + new function to help customise it + +2002-03-28 21:47 Max Hammond <ma...@fl...> + + * configurator.php: + + Added norwegian + +2002-03-28 21:44 Max Hammond <ma...@fl...> + + * index.php: + + I think it's easier to follow the flow if we just do this. Also + added icon + +2002-03-28 21:18 Martin Geisler <gim...@gi...> + + * output/pw_text.php: + + Bad - we should never output anything directly from this method. + +2002-03-28 15:50 Martin Geisler <gim...@gi...> + + * output/pw_text_hu.php: + + There was some blank lines at the bottom of this file. It's + important to eliminate such lines now that we send HTTP headers + out. + +2002-03-28 15:49 Martin Geisler <gim...@gi...> + + * index.php, pw_utilities.php, output/pw_text.php: + + Rewrite to accommodate for the charset header. + pw_text::print_pretty() does no longer output anything, instead it + returns a string with the output. Perhaps it should be renamed, + since 'print' implies that it generates output? + +2002-03-28 15:28 Martin Geisler <gim...@gi...> + + * output/pw_text_hu.php: + + Hmm, we will use ISO-8859-2 instead of this UTF-8 thing, so I'm + reverting this to version 1.4. + +2002-03-27 21:55 Martin Geisler <gim...@gi...> + + * index.php: + + Let's try with a real HTTP header instead. + +2002-03-27 21:43 Martin Geisler <gim...@gi...> + + * output/pw_text_hu.php: + + Small updates in the comments, but more important: I've tried to + save the file as UTF-8 on my system, let's see how this goes... + +2002-03-27 21:34 Martin Geisler <gim...@gi...> + + * index.php: + + Fix those alt attributes too. + +2002-03-27 21:30 Martin Geisler <gim...@gi...> + + * index.php: + + Ugh - we're found the XML-with-PHP problem I've heard about, but + never thought that I would see. I don't think that we can require + people to set 'short_open_tag false' in their configuration files + (or .htaccess files for that matter) so we cannot have this line in + our files. + +2002-03-27 21:25 Martin Geisler <gim...@gi...> + + * index.php: + + More updates for XHTML. I'm not sure about that UTF-8 thing. As far + as I understand it, then UTF-8 covers both ISO-8859-1 and + ISO-8859-2. So if we specify that the charset is UTF-8, then we + should be OK? + +2002-03-27 20:16 Martin Geisler <gim...@gi...> + + * phpweather.php: + + This should be wrapped in a call to debug(). + +2002-03-27 20:13 Martin Geisler <gim...@gi...> + + * index.php, pw_utilities.php: + + This should fix most of the problems with XHTML in the pages. + +2002-03-27 15:13 Max Hammond <ma...@fl...> + + * output/pw_text.php: + + Utility function + +2002-03-27 14:47 Max Hammond <ma...@fl...> + + * index.php, pw_utilities.php: + + XHTMLisation + +2002-03-27 14:21 Max Hammond <ma...@fl...> + + * icons/: phpweather-black.gif, phpweather-long-black.gif, + phpweather-long-white.gif, phpweather-white.gif: + + Updated cloud (again) and new larger icons too + +2002-03-27 10:59 Max Hammond <ma...@fl...> + + * INSTALL, README: + + Updated + +2002-03-27 10:28 Max Hammond <ma...@fl...> + + * icons/: phpweather-black.gif, phpweather-white.gif: + + New cloud + +2002-03-26 23:10 Martin Geisler <gim...@gi...> + + * output/pw_text.php: + + The global $charset variable is now updated wheneven a pw_text + object is created. The demo-pages will have to be redone, so that + the output object can be created before header.php is included. + + I don't know if this is overkill - I cannot see any difference in + my browser when I look at the Hungarian translation using + ISO-8859-1 and ISO-8859-2. Perhaps we could just send a header that + tells people that all pages are written in Unicode? I think Unicode + covers both encodings. + +2002-03-26 21:50 Max Hammond <ma...@fl...> + + * icons/: phpweather-black.gif, phpweather-white.gif: + + New icons - What do we think? + +2002-03-26 20:09 Max Hammond <ma...@fl...> + + * index.php: + + Increased font size + +2002-03-26 19:52 Mihaly Gyulai gyulai.freeyellow.com/ + + * output/pw_text_hu.php: + + Adding the Hungarian translation of word 'windchill'. + +2002-03-26 18:52 Martin Geisler <gim...@gi...> + + * db/: pw_db_common.php, pw_db_mysql.php, pw_db_pgsql.php: + + It's now up to the database backend to do it's own quoting on the + data it receives in insert_metar() and update_metar(). This is + because the backends have different needs: the 'real' databases + want quotes quoted whereas the dba backend has to do escape colons. + +2002-03-26 18:50 Martin Geisler <gim...@gi...> + + * db/pw_db_dba.php: + + Aha! Some METARs had colons in them, which is the same character I + use to separate the METAR from the timestamp. When the data was + retrieved later and run through explode, this caused trouble. + +2002-03-26 18:44 Max Hammond <ma...@fl...> + + * output/pw_text_no.php: + + Updated norwegian translation, thanks to Sven-Erik + +2002-03-26 18:39 Max Hammond <ma...@fl...> + + * test.php, icons/tempchilled.gif, output/pw_images.php: + + Added icon for windchilled temperature, updated test.php to include + images + +2002-03-26 17:37 Martin Geisler <gim...@gi...> + + * db/pw_db_common.php: + + The reports might be duplicated in the cycle files, and two reports + might even have the same timestamp. This should make sure, that the + newest report (the one furthest down in the file) overwrites any + previous reports. + +2002-03-26 16:31 Max Hammond <ma...@fl...> + + * index.php: + + Change of heart about the best way to include the style, already :) + +2002-03-26 16:29 Martin Geisler <gim...@gi...> + + * phpweather.php: + + Extra check to ensure consistency in the decoded METAR. The problem + was METARs like this one: + + EGBE 260820Z 0200KT 340V060 CAVOK 06/02 Q1033 + + This METAR has a malformed wind-group: '0200KT 340V060', but the + last part of it would be parsed correctly. So there would be + information about variable wind-direction, but no information about + the speed. + +2002-03-26 16:26 Max Hammond <ma...@fl...> + + * index.php: + + Added inline style to body element, added information about our + homepage and NOAA, changed error_reporting to E_ERROR - it throws + up a lot of junk that will only be interesting to developers + +2002-03-26 00:11 Martin Geisler <gim...@gi...> + + * db/pw_db_common.php: + + This keeps getting better and better... :-) + +2002-03-25 23:50 Martin Geisler <gim...@gi...> + + * db/pw_db_common.php: + + A flush() here should make the output even better :-) + +2002-03-25 23:44 Martin Geisler <gim...@gi...> + + * db_updater.php: + + This should make the browsers understand, that this is text, and + not HTML. It also works from the commandline, at least on my + system. + +2002-03-25 23:33 Martin Geisler <gim...@gi...> + + * db_updater.php, db/pw_db_common.php: + + Nicer output. When we run this from a cronjob, we can just redirect + it to /dev/null, but it's nice to see how it goes when run by hand. + +2002-03-25 23:26 Martin Geisler <gim...@gi...> + + * db/pw_db_dba.php: + + Hmm, typoes in the debug - what's next? + +2002-03-25 21:22 Martin Geisler <gim...@gi...> + + * db/pw_db_dba.php: + + Second try on this + +2002-03-25 21:19 Martin Geisler <gim...@gi...> + + * db/pw_db_dba.php: + + More debug info needed! + +2002-03-25 21:12 Martin Geisler <gim...@gi...> + + * db/pw_db_common.php: + + Stupid error... + +2002-03-25 21:09 Martin Geisler <gim...@gi...> + + * db/pw_db_common.php: + + We need more debug-output... + +2002-03-25 20:58 Martin Geisler <gim...@gi...> + + * db_updater.php: + + It seams that I cannot make the connection to the DBA database. + +2002-03-25 20:38 Martin Geisler <gim...@gi...> + + * db/pw_db_common.php: + + Hmm, it seams that there can be garbage in the METAR reports... + +2002-03-25 20:26 Martin Geisler <gim...@gi...> + + * phpweather.php: + + This was giving errors if there wasn't any data available. + +2002-03-25 20:20 Martin Geisler <gim...@gi...> + + * db_updater.php: + + Let's try just one more time... + +2002-03-25 20:17 Martin Geisler <gim...@gi...> + + * db_updater.php: + + I admit it, that my own fault :-) + +2002-03-25 20:16 Martin Geisler <gim...@gi...> + + * db_updater.php: + + Argh - yet another difference between my system and SourceForge! + +2002-03-25 20:11 Martin Geisler <gim...@gi...> + + * db_updater.php: + + Ugh! This is kinda ugly - when I run this at SourceForge, then the + script isn't included in $argv - when I run this on my machine, the + first entry in $argv is the filename the script was invoked as... + + Let's just call this a temporary fix :-) + +2002-03-25 19:39 Martin Geisler <gim...@gi...> + + * db_updater.php: + + This little script will update the METAR database with new data. + It's meant to be called periodically from a cronjob. + +2002-03-25 19:35 Martin Geisler <gim...@gi...> + + * db/pw_db_common.php: + + Hehe - this is kind of cool :-) We can now update the databases + with fresh data from cycle files. These files contain all the + METARs received in the last 'cycle' at the NWS. + +2002-03-25 19:32 Martin Geisler <gim...@gi...> + + * db/pw_db_mysql.php: + + It seams that the Debian guys have decided to include MySQL support + as a loadable module for Apache. So I needed these lines to make + things work. I've looked at how things are done in phpMyAdmin so I + think it will work on Windows too. + +2002-03-24 20:13 Martin Geisler <gim...@gi...> + + * AUTHORS: + + I removed the entries for people who have translations for the old + version. Hint: make a translation for the new version, and I'll add + you to the list again :-) + +2002-03-24 19:18 Martin Geisler <gim...@gi...> + + * output/pw_text_da.php: + + Updated windchill. + +2002-03-24 17:25 Max Hammond <ma...@fl...> + + * phpweather.php, output/pw_text.php, output/pw_text_da.php, + output/pw_text_en.php, output/pw_text_hu.php, + output/pw_text_no.php: + + Added windchill factor + +2002-03-24 16:44 Max Hammond <ma...@fl...> + + * .cvsignore: + + ignore test.php file + +2002-03-24 16:43 Max Hammond <ma...@fl...> + + * test.php: + + Might as well get it right *sigh* + +2002-03-24 16:40 Max Hammond <ma...@fl...> + + * test.php: + + A file to make testing weather parsing easier and quicker for + developers. + +2002-03-22 17:54 Max Hammond <ma...@fl...> + + * data_retrieval.php: + + Typo? Was broken, now fixed. + +2002-03-20 19:26 Martin Geisler <gim...@gi...> + + * base_object.php, configurator.php, data_retrieval.php, + db_layer.php, images-test.php, phpweather.php, db/pw_db_common.php, + db/pw_db_dba.php, db/pw_db_mysql.php, db/pw_db_null.php, + db/pw_db_pgsql.php, output/pw_images.php, output/pw_text.php, + output/pw_text_hu.php: + + All files now use require_once() instead of just require() - this + means, that there's no need for those 'if defined('...') return + ...' statements at the top of each file any more. + +2002-03-18 18:10 Martin Geisler <gim...@gi...> + + * index.php: + + Cleanups. + +2002-03-18 17:32 Martin Geisler <gim...@gi...> + + * db/files/.cvsignore: + + It's these files that should be ignored... + +2002-03-18 16:57 Martin Geisler <gim...@gi...> + + * db/pw_db_dba.php: + + Added a suffix on the filenames so it doesn't use the same name at + the default null database. + +2002-03-18 16:55 Martin Geisler <gim...@gi...> + + * db/files/.cvsignore: + + These files are created by the dba backend and should be ignored by + CVS. + +2002-03-18 16:19 Martin Geisler <gim...@gi...> + + * defaults-dist.php, output/pw_images.php: + + There has to be a way to specify the path of the icons relative to + the document that uses pw_images to display them. + +2002-03-18 16:14 Martin Geisler <gim...@gi...> + + * output/: pw_text.php, pw_text_en.php: + + Let's just wait a little with this table-thing... + +2002-03-18 16:13 Martin Geisler <gim...@gi...> + + * pw_utilities.php: + + I think people would appreciate these functions. + +2002-03-18 13:46 Martin Geisler <gim...@gi...> + + * ChangeLog, usermap: + + This is a pretty good compromise, I think... + 2002-03-17 21:57 Martin Geisler <gim...@gi...> * AUTHORS: |