Michael Orlitzky [Wed, 24 Sep 2014 02:25:36 +0000 (22:25 -0400)]
Make <weather> and <Description> elements optional in TSN.XML.Weather.
Add a test case for the newly-optional elements and update a shelltest.
Update the weatherxml dbschema diagram.
Michael Orlitzky [Wed, 24 Sep 2014 01:57:51 +0000 (21:57 -0400)]
Make the MostLapsLeading embedded fields of AutoRacingResults optional.
Add a test case for the newly-optional fields and fix a shelltest.
Update the AutoRacingResultsXML dbschema diagram.
Michael Orlitzky [Wed, 30 Jul 2014 07:27:43 +0000 (03:27 -0400)]
Add game_id/schedule_id parsers to TSN.Parse.
Define a new ParseError type to be returned from the TSN.Parse parsers.
Add tests for the TSN.Parse module.
Update SportInfo with the new ParseError type signature.
Add an optional game_id and required schedule_id field to GameInfo.
Michael Orlitzky [Fri, 25 Jul 2014 19:15:12 +0000 (15:15 -0400)]
Add a new pickler for Double values that have no leading integer.
Use the new pickler to fix an unhandled AutoRacingResultsXML document.
Add a test case for the aforementioned fix.
Michael Orlitzky [Fri, 25 Jul 2014 03:23:03 +0000 (23:23 -0400)]
Add a new module, TSN.XML.MLBEarlyLines supporting MLB_earlylinesXML.dtd.
Add TSN.XML.MLBEarlyLines to the .ghci and cabal files.
Mention all TSN.XML.MLBEarlyLines-related weirdness in the man page.
Add test cases for TSN.XML.MLBEarlyLines to the test suite.
Enable import of MLB_earlyinesXML.dtd documents in Main.
Bump the file counts in import-duplicates.test.
Michael Orlitzky [Wed, 23 Jul 2014 19:12:06 +0000 (15:12 -0400)]
Add more comments to TSN.XML.EarlyLine.
Remove earlylineXML.dtd from the TODO.
Add earlylineXML.dtd to the man page as a supported type.
Bump version in the cabal file.
Michael Orlitzky [Tue, 15 Jul 2014 21:20:16 +0000 (17:20 -0400)]
Add support for the missing [AH]Starter elements in Odds.
Add a test for the missing [AH]Starter elements in Odds.
Remove the man page note about the (now supported) [AH]Starter elements.
Add a has_only_single_sms function to TSN.XML.News.
Report multiple SMS in newsxml as unsupported in Main.
Add tests for the multiple SMS elements in newsxml.
Update the man page mention of the double SMS.
Make the AutoRacingSchedule status optional.
Mangle an AutoRacingSchedule test case to test the optional status.
Fix an XML->DB conversion bug in AutoRacingSchedule.
Update the AutoRacingSchedule dbschema diagram.
Use the TSN.Team and TSN.Location representations in TSN.XML.Scores.
Use a direct relationship between the scores games and their teams.
Fix optional fields encountered while importing sample scoresxml.
Add a teams_are_normal function to TSN.XML.Weather.
Fail in Main when the Weather teams are not normal (unsupported).
Add a note about the backwards teams to the man page.
Add tests for the backwards teams.
Add a function to TSN.XML.Weather to detect the unsupported second type.
Fail with ImportUnsupported instead of an error when we encounter the second type of weatherxml.
Update the man page with a mention of the unsupported weatherxml handling.
Remove a TODO.
Add tests for the unsupported weather document and its underlying function.
Finish the documentation for ScheduleChanges.
Finalize the schema for ScheduleChanges.
Add the Schedule_Changes_XML schema diagram.
Remove pointless "team_" prefix from two Team fields.
Update Odds/JFile for the Team changes.
Move two READMEs into the man page.
Move the list of supported document types to the end of the man page.
Add a man page section about new/removed column migrations.
Add League_Name, AStarter, and HStarter support to Odds.
Add another test case for Odds.
Rename a few columns (dropping the "game" prefix) in the Odds tables.