2001-06-27 14:41 Martin Geisler * VERSION: I think it's time to increment the version number a little... 2001-06-27 11:36 Martin Geisler * locale_en.php: It has been moved to PHPWEATHER_BASE_DIR/locales. 2001-06-27 11:35 Martin Geisler * doc/: base_object.html, data_retrieval.html, db_common.html, db_dba.html, db_layer.html, db_mysql.html, db_null.html, db_pgsql.html, frame_packagelist.html, locale_common.html, locale_en.html, metar_parser.html, packageelementlist_PHP_Weather.html, phpdoc_classtree.html, phpdoc_elementlist.html, phpdoc_packagelist.html, phpdoc_xmlfiles.html, phpweather.html: Doc update... 2001-06-27 11:32 Martin Geisler * configurator.php: Because of the special demands of db_null, we now insert all the stations in one operation by calling $this->db->insert_stations(). 2001-06-27 11:30 Martin Geisler * index.php: Various updates to ensure that it works with the new features. 2001-06-27 11:29 Martin Geisler * make-release.sh: base_object.php now contains the version-number, so it should be run through sed. 2001-06-27 11:27 Martin Geisler * locales/: locale_common.php, locale_en.php: All locale-related files should now be stored here. 2001-06-27 11:26 Martin Geisler * locale_common.php: locale_common.php has been moved to PHPWEATHER_BASE_DIR/locales. 2001-06-27 11:25 Martin Geisler * defaults-dist.php: Now that all database-related files are stored under PHPWEATHER_BASE_DIR/db/files, there's no need for 'db_path'. 2001-06-27 11:23 Martin Geisler * phpweather.php: phpweather.php is now used to define the constant PHPWEATHER_BASE_DIR. So there's no need to set this constant manually. 2001-06-27 11:22 Martin Geisler * stations.csv: We need to know the country-code for each country. The info in now added infront of the name of each country. 2001-06-27 11:20 Martin Geisler * db_layer.php: All the different database backends are now stored in PHPWEATHER_BASE_DIR/db. 2001-06-27 11:20 Martin Geisler * data_retrieval.php: Ups, typo. 2001-06-27 11:19 Martin Geisler * base_object.php: The version should be store here. 2001-06-27 11:18 Martin Geisler * db/files/: AE.php, AG.php, AL.php, AM.php, AN.php, AO.php, AQ.php, AR.php, AT.php, AU.php, AW.php, AZ.php, BB.php, BD.php, BE.php, BG.php, BH.php, BI.php, BJ.php, BM.php, BN.php, BO.php, BR.php, BS.php, BW.php, BY.php, BZ.php, CA.php, CF.php, CG.php, CH.php, CI.php, CK.php, CL.php, CM.php, CN.php, CO.php, CR.php, CU.php, CV.php, CX.php, CY.php, CZ.php, DE.php, DJ.php, DK.php, DM.php, DO.php, DZ.php, EC.php, EG.php, ES.php, ET.php, FI.php, FJ.php, FM.php, FR.php, GA.php, GB.php, GD.php, GE.php, GF.php, GH.php, GI.php, GL.php, GM.php, GN.php, GP.php, GR.php, GT.php, GW.php, GY.php, HK.php, HN.php, HR.php, HT.php, HU.php, ID.php, IE.php, IL.php, IN.php, IO.php, IR.php, IS.php, IT.php, JM.php, JO.php, JP.php, KE.php, KH.php, KI.php, KM.php, KN.php, KP.php, KR.php, KW.php, KY.php, KZ.php, LA.php, LB.php, LC.php, LK.php, LT.php, LU.php, LY.php, MA.php, MG.php, MH.php, MK.php, ML.php, MM.php, MO.php, MQ.php, MR.php, MT.php, MU.php, MV.php, MW.php, MX.php, MY.php, MZ.php, NC.php, NE.php, NI.php, NL.php, NO.php, NP.php, NR.php, NZ.php, OM.php, PA.php, PE.php, PF.php, PH.php, PK.php, PL.php, PR.php, PT.php, PW.php, PY.php, QA.php, RE.php, RO.php, RU.php, RW.php, SA.php, SB.php, SC.php, SD.php, SE.php, SG.php, SH.php, SI.php, SK.php, SL.php, SN.php, SO.php, SR.php, ST.php, SV.php, SY.php, SZ.php, TD.php, TG.php, TH.php, TJ.php, TN.php, TO.php, TR.php, TT.php, TV.php, TW.php, TZ.php, UA.php, UG.php, UM.php, US.php, UY.php, UZ.php, VC.php, VE.php, VG.php, VI.php, VN.php, VU.php, WS.php, YE.php, YU.php, ZA.php, ZM.php, ZW.php, countries.php, stations.db: These files are needed for db_null to operate. They should be included in the tarball the users download, so that PHP Weather is functional from the very beginning. 2001-06-27 11:16 Martin Geisler * db/: db_common.php, db_dba.php, db_mysql.php, db_null.php, db_pgsql.php: These files have been updated, so that they work with the new features, like get_countries() etc. 2001-06-27 11:13 Martin Geisler * db_common.php, db_dba.php, db_mysql.php, db_null.php, db_pgsql.php: I'm moving these files to PHPWEATHER_BASE_DIR/db instead. 2001-05-21 10:43 Martin Geisler * base_object.php, data_retrieval.php, db_dba.php, db_mysql.php, index.php: There's now a fine station-selector on the page. So far, it only works with the MySQL database (and perhaps with PostgreSQL, if anybody adds support). 2001-05-20 13:07 Martin Geisler * configurator.php, data_retrieval.php, db_dba.php, db_mysql.php, db_null.php, defaults-dist.php, index.php, metar_parser.php, stations.csv: The reports now include the location... just use get_location() to retrieve it. This means that what was know as a 'station' before is now known as 'icao'. So the functions have been renamed - I hope I haven't forgotten something. 2001-05-19 16:25 Martin Geisler * ChangeLog: Hey - I've generated a ChangeLog... 2001-05-19 16:24 Martin Geisler * index.php: I've removed some of the properties, so that the defaults kick-in instead. 2001-05-19 16:22 Martin Geisler * configurator.php: The configurator can now also be used to generate the necessary databases/tables! After that's done, it will load the stations-table with data. 2001-05-19 16:20 Martin Geisler * defaults-dist.php: Table-names can't contain periods (.), so I've renamed the default table-names. So now the files used by the dba backend are just called 'metars' and 'stations' per default. 2001-05-19 16:17 Martin Geisler * db_dba.php, db_mysql.php: These two database-backends can now be configured with the configurator. 2001-05-19 16:16 Martin Geisler * base_object.php: Now it only included 'defaults-dist.php' once. 2001-05-19 16:15 Martin Geisler * stations.csv: This file holds information about 2928 stations from 192 countries! The list was carefully compiled by Sven-Erik Andersen - thanks a lot! 2001-05-19 10:17 Martin Geisler * .cvsignore: Sshh! (ignore defaults.php) 2001-05-19 10:16 Martin Geisler * configurator.php: The objects are working! 2001-05-19 09:11 Martin Geisler * configurator.php: Getting ready for the OO-approach :-) 2001-05-18 15:35 Martin Geisler * configurator.php: This is kind of cool! I've made a script that will generate a config-file, based on the input from the user. The code is still rather rough, but it seams to be working. I should use more functions etc... Right now, it only generates the configuration. There's also some code in it, that can generate the necessary tables in the database, and populate it with data about the stations. This code should probably be moved into the individual db-files. The output is also rather sparse - if someone wants to spice it up, then please do so! 2001-05-18 15:31 Martin Geisler * db_layer.php: Just a small doc-change. 2001-05-18 15:30 Martin Geisler * .cvsignore: Let's ignore the backups. 2001-04-29 18:39 Martin Geisler * data_retrieval.php: Max Hammond suggested that I should use ereg_replace() instead of str_replace, so that we also catches triple-spaces etc. 2001-04-27 19:14 Martin Geisler * index.php: Lets start with a non-existing ICAO... 2001-04-27 19:14 Martin Geisler * db_dba.php: Ups, we have to return true here - if we don't the other function will think that we couldn't connect to the database. 2001-04-27 19:13 Martin Geisler * doc/.cvsignore: We don't need all those .xml-files. 2001-04-27 19:09 Martin Geisler * doc/: class_base_object.xml, class_data_retrieval.xml, class_db_common.xml, class_db_dba.xml, class_db_layer.xml, class_db_mysql.xml, class_db_null.xml, class_db_pgsql.xml, class_locale_common.xml, class_locale_en.xml, class_metar_parser.xml, class_phpweather.xml, classtree_base_object.xml, elementlist.xml, packagelist.xml: I don't want these files to be here... They're regenerated every time I run PHPDoc, so there's no need for them. It's the HTML-files that are important for the documentation. 2001-04-27 19:07 Martin Geisler * locale_common.php: These lines were in the wrong order... 2001-04-27 19:07 Martin Geisler * data_retrieval.php: This is more informative. 2001-04-27 19:04 Martin Geisler * locale_en.php: Added a string for the case, when there's no data available, courtesy of Max Hammond . 2001-04-26 15:57 Martin Geisler * VERSION, defaults-dist.php: I've incresed the version-number a tad now that it can be used from other directories... 2001-04-26 13:11 Martin Geisler * base_object.php, data_retrieval.php, db_common.php, db_dba.php, db_layer.php, db_mysql.php, db_null.php, db_pgsql.php, index.php, locale_en.php, metar_parser.php, phpweather.php: It should now be possible to run PHP Weather from another directory than the directory with 'defaults-dist.php'. To do this, you'll have to set the constant PHPWEATHER_BASE_DIR to the full path to the base directory. The best way to do this is something like this: define('PHPWEATHER_BASE_DIR', gcwd() . '/phpweather'); Note: PHPWEATHER_BASE_DIR should not end with a slash. I haven't tested this under Windows, but we'll have to find a way to convert the slashed to back-slashes. 2001-04-22 19:53 Martin Geisler * phpweather.php: Removed an empty line? 2001-04-22 19:53 Martin Geisler * defaults-dist.php: Added a description of how the file is used. 2001-04-18 20:40 Martin Geisler * make-release.sh: There's no need to include .cvsignore in the tarball... 2001-04-16 17:40 Martin Geisler * make-release.sh: The script itself shouldn't be part of a release... 2001-04-16 17:39 Martin Geisler * make-release.sh: A nice little script that takes care of building tarballs. 2001-04-16 15:13 Martin Geisler * VERSION, base_object.php, data_retrieval.php, db_common.php, db_dba.php, db_layer.php, index.php, locale_common.php, locale_en.php, metar_parser.php, phpweather.php: All the defaults that were scattered around in the files have been moved to defaults-dist.php. I think that's the most important change :-) 2001-04-16 15:09 Martin Geisler * doc/: base_object.html, class_base_object.xml, class_data_retrieval.xml, class_db_common.xml, class_db_dba.xml, class_db_layer.xml, class_db_mysql.xml, class_db_none.xml, class_db_null.xml, class_db_pgsql.xml, class_locale_common.xml, class_locale_en.xml, class_metar_parser.xml, class_phpweather.xml, classtree_base_object.xml, data_retrieval.html, db_common.html, db_dba.html, db_layer.html, db_mysql.html, db_none.html, db_null.html, db_pgsql.html, elementlist.xml, locale_common.html, locale_en.html, metar_parser.html, packageelementlist_PHP_Weather.html, packagelist.xml, phpdoc_classtree.html, phpdoc_elementlist.html, phpdoc_packagelist.html, phpdoc_xmlfiles.html, phpweather.html: Updated documentation a bit... Also removed the 'none' database type and added the 'null' type instead. 2001-04-16 14:57 Martin Geisler * defaults-dist.php: This file holds all the defaults. They are overridden by the those in defaults.php, if such a file exists. 2001-04-16 14:56 Martin Geisler * .cvsignore: These files should be ignored... 2001-04-08 09:59 Martin Geisler * index.php: The file now pretty-prints the METARs from 11 airports around the world. This makes it easier to spot missing strings, etc. 2001-04-08 09:58 Martin Geisler * db_dba.php: Nothing to worry about :-) 2001-04-08 09:58 Martin Geisler * metar_parser.php: I just changed a comment slightly. 2001-04-08 09:57 Martin Geisler * locale_common.php, locale_en.php: Fixed the CAVOK-case. 2001-04-06 15:03 Martin Geisler * INSTALL: Added information about how to create the tables in MySQL and PostgreSQL. 2001-04-06 15:03 Martin Geisler * index.php: The neutral database is now called 'null' instead of 'none'. 2001-04-05 19:17 Martin Geisler * db_none.php, db_null.php: I've changed the name from 'none' to 'null' as this is really a null-database. (Just like it's called /dev/null and not /dev/none) 2001-04-05 15:30 Martin Geisler * db_common.php, db_pgsql.php, phpweather.php: I don't like all those s... 2001-04-02 19:50 Martin Geisler * doc/: class_db_dba.xml, db_dba.html: More doc updates... 2001-04-02 19:40 Martin Geisler * doc/: class_data_retrieval.xml, class_db_common.xml, class_db_dba.xml, class_db_layer.xml, class_db_mysql.xml, class_db_none.xml, class_db_pgsql.xml, class_locale_common.xml, class_locale_en.xml, class_metar_parser.xml, class_phpweather.xml, classtree_base_object.xml, data_retrieval.html, db_common.html, db_dba.html, db_layer.html, db_mysql.html, db_none.html, db_pgsql.html, elementlist.xml, locale_common.html, locale_en.html, metar_parser.html, packageelementlist_PHP_Weather.html, packagelist.xml, phpdoc_classtree.html, phpdoc_elementlist.html, phpdoc_packagelist.html, phpdoc_xmlfiles.html, phpweather.html: Doc update... 2001-04-02 19:34 Martin Geisler * data_retrieval.php, db_mysql.php, db_none.php, db_pgsql.php, index.php, locale_common.php, locale_en.php: The timestamp is now given to the database object as a regular UNIX timestamp. Also, this fixes some issues with the runway-parsing. 2001-04-02 19:32 Martin Geisler * db_layer.php: Added the DBA database object to the list of available database types. 2001-04-02 19:29 Martin Geisler * db_dba.php: This is a database object that talks to Berkeley DB style databases through the abstraction layer functions in PHP. The most important options that this object is dependent on is: 'db_path' The path to the database. 'db_handler' The handler - could be 'gdbm' 2001-04-02 19:26 Martin Geisler * VERSION: This file holds the current version number. The README file contains the string #VERSION#, which should be replaced by the contents of this file, when we make a release. 2001-04-02 15:55 Martin Geisler * db_none.php: I've removed all methods but the three essential ones: get_metar(), insert_metar() and update_metar(). These are the only functions that other classes should expect to be present in a database object. 2001-03-30 13:25 Martin Geisler * README, db_none.php, locale_en.php, metar_parser.php: Changed some tabs to whitespace. Also introduces #VERSION# and #DATE# in the README-file. These strings are substituted, when we make a new release. 2001-03-28 13:31 Martin Geisler * db_common.php, db_mysql.php: I just removed some tabs... 2001-03-26 20:25 Martin Geisler * phpweather.php, doc/base_object.html, doc/class_base_object.xml, doc/class_db_none.xml, doc/class_locale_common.xml, doc/db_none.html, doc/locale_common.html: Ha-ha!! It works now! When I regenerate the docs, then I don't have to commit all the files to CVS, only those who is actually changed. It works because I've turned off keyword-substitution on the docs, and then run the Apache as myself. 2001-03-26 20:18 Martin Geisler * base_object.php, db_none.php, locale_common.php: Even more doc-changes. 2001-03-26 20:13 Martin Geisler * doc/: class_locale_common.xml, locale_common.html: Just some more documentation-fixes. 2001-03-26 19:31 Martin Geisler * doc/: base_object.html, class_base_object.xml, class_data_retrieval.xml, class_db_common.xml, class_db_layer.xml, class_db_mysql.xml, class_db_none.xml, class_db_pgsql.xml, class_locale_common.xml, class_locale_en.xml, class_metar_parser.xml, class_phpweather.xml, data_retrieval.html, db_common.html, db_layer.html, db_mysql.html, db_none.html, db_pgsql.html, elementlist.xml, locale_common.html, locale_en.html, metar_parser.html, phpdoc_elementlist.html, phpweather.html: Just some whitespace changes in the documentation. 2001-03-25 08:48 Martin Geisler * README-CVS, db_layer.php: Just some more documentation-changes - nothing to see here. 2001-03-25 08:29 Martin Geisler * db_layer.php: This comment is written in Emacs - this makes it easy to do word-wrapping, etc. The buffer was started with emacsclient, so it used my existing Emacs. 2001-03-25 08:18 Martin Geisler * INSTALL: Just changed some more links so they point at phpweather.sourceforge.net instead of gimpster.com. This is also a test, to see how really long lines are handled in commit-mails. 2001-03-24 20:27 Martin Geisler * INSTALL, base_object.php: Misc documentation updates 2001-03-24 18:56 Martin Geisler * README: Updated some links so they point to Sourceforge. This is also the first commit that should trigger a mail to the commits-list :-) 2001-03-24 16:40 Martin Geisler * data_retrieval.php, doc/base_object.html, doc/class_base_object.xml, doc/class_data_retrieval.xml, doc/class_db_common.xml, doc/class_db_layer.xml, doc/class_db_mysql.xml, doc/class_db_none.xml, doc/class_db_pgsql.xml, doc/class_locale_common.xml, doc/class_locale_en.xml, doc/class_metar_parser.xml, doc/class_phpweather.xml, doc/classtree_base_object.xml, doc/data_retrieval.html, doc/db_common.html, doc/db_layer.html, doc/db_mysql.html, doc/db_none.html, doc/db_pgsql.html, doc/elementlist.xml, doc/empty.html, doc/frame_packagelist.html, doc/index.html, doc/locale_common.html, doc/locale_en.html, doc/metar_parser.html, doc/packageelementlist_PHP_Weather.html, doc/packagelist.xml, doc/phpdoc.css, doc/phpdoc.dtd, doc/phpdoc_classtree.html, doc/phpdoc_elementlist.html, doc/phpdoc_packagelist.html, doc/phpdoc_xmlfiles.html, doc/phpweather.html: Updated the documentation a bit. 2001-03-24 15:59 Martin Geisler * locale_common.php: Clear sky is reported as both SKC or CLR and not just CLR. 2001-03-24 15:48 Martin Geisler * AUTHORS, COPYING, INSTALL, README-CVS: Some files that ought to be there... 2001-03-24 15:47 Martin Geisler * README: The previous README is now called README-CVS - this README should follow PHP Weather in tarballs etc. 2001-03-23 16:19 Martin Geisler * README: More fun with CVS. 2001-03-23 16:14 Martin Geisler * README: A little more text. 2001-03-23 15:55 Martin Geisler * README: Just made a chage with Emacs. 2001-03-23 15:49 Martin Geisler * README: Just playing... 2001-03-23 15:47 Martin Geisler * README: More fun with CVS 2001-03-23 15:45 Martin Geisler * README: Added header 2001-03-23 14:31 Martin Geisler * README: The README-file. 2001-03-22 18:09 Martin Geisler * index.php: Added -tag. 2001-03-22 18:04 Martin Geisler <gimpster@gimpster.com> * index.php, ChangeLog, base_object.php, db_layer.php, db_mysql.php, db_none.php, db_common.php, db_pgsql.php, locale_en.php, phpweather.php, metar_parser.php, data_retrieval.php, locale_common.php, doc/class_db_common.xml, doc/class_db_mysql.xml, doc/class_db_none.xml, doc/class_db_pgsql.xml, doc/class_metar_parser.xml, doc/class_phpweather.xml, doc/class_data_retrieval.xml, doc/class_db_layer.xml, doc/class_locale_en.xml, doc/class_base_object.xml, doc/class_locale_common.xml, doc/classtree_base_object.xml, doc/packagelist.xml, doc/elementlist.xml, doc/frame_packagelist.html, doc/phpdoc_elementlist.html, doc/phpdoc_packagelist.html, doc/packageelementlist_PHP_Weather.html, doc/db_none.html, doc/db_mysql.html, doc/db_common.html, doc/db_pgsql.html, doc/phpweather.html, doc/data_retrieval.html, doc/metar_parser.html, doc/db_layer.html, doc/locale_en.html, doc/locale_common.html, doc/base_object.html, doc/phpdoc_classtree.html, doc/phpdoc_xmlfiles.html: Initial revision 2001-03-22 18:04 Martin Geisler <gimpster@gimpster.com> * index.php, ChangeLog, base_object.php, db_layer.php, db_mysql.php, db_none.php, db_common.php, db_pgsql.php, locale_en.php, phpweather.php, metar_parser.php, data_retrieval.php, locale_common.php, doc/class_db_common.xml, doc/class_db_mysql.xml, doc/class_db_none.xml, doc/class_db_pgsql.xml, doc/class_metar_parser.xml, doc/class_phpweather.xml, doc/class_data_retrieval.xml, doc/class_db_layer.xml, doc/class_locale_en.xml, doc/class_base_object.xml, doc/class_locale_common.xml, doc/classtree_base_object.xml, doc/packagelist.xml, doc/elementlist.xml, doc/frame_packagelist.html, doc/phpdoc_elementlist.html, doc/phpdoc_packagelist.html, doc/packageelementlist_PHP_Weather.html, doc/db_none.html, doc/db_mysql.html, doc/db_common.html, doc/db_pgsql.html, doc/phpweather.html, doc/data_retrieval.html, doc/metar_parser.html, doc/db_layer.html, doc/locale_en.html, doc/locale_common.html, doc/base_object.html, doc/phpdoc_classtree.html, doc/phpdoc_xmlfiles.html: First checkin...