[initial import; some comments Dougal Stanton **20080630112909] [Fix cabal file Dougal Stanton **20080630163750] [Clean up Dougal Stanton **20080701085838] [Update imports Dougal Stanton **20080702135428] [Finalise Query and Result types Dougal Stanton **20080702135506] [commandline and HTML parsers Dougal Stanton **20080702135544] [clean up parsing timetable lines Dougal Stanton **20080702140449] [Extract remote queries to separate module Dougal Stanton **20080702153043 I hope this will allow for a more fully featured library for use in other programs ] [Clean up main module imports Dougal Stanton **20080703103848] [Separate Query from cli options Dougal Stanton **20080703103958 Pull other options from the command line and change program behaviour, as well as taking the query options from CLI. Lets us process the results to filter out ones we don't want using more sophisticated criteria than the website allows. ] [Filtering results Dougal Stanton **20080703134413 Allow user to constrain number of results to first N or last N in result set; and to select only buses with disabled access. ] [Filter can remove estimated times Dougal Stanton **20080703143129] [Clean up imports Dougal Stanton **20080704123723] [Cope with several bus services Dougal Stanton **20080704141753] [Clean up spacing in output Dougal Stanton **20080704144540] [Add dependencies to cabal file Dougal Stanton **20080704144603] [Writer clearer help description Dougal Stanton **20080707102126] [Add help option Dougal Stanton **20080707102228] [Rearrange code and neaten main Dougal Stanton **20080707152548] [Make Result a functor parameterised on time types Dougal Stanton **20080710124210 Parse various time strings into TimeDiff format ] [Clean up time parser Dougal Stanton **20080710131702] [Adapt pretty-printer to handle timediff Dougal Stanton **20080710140812 Prety printer now show hours and minutes until the listed bus time. Also destinations are padded to 20 characters to make things line up. ] [Remove unneeded import Dougal Stanton **20080711095104] [Add --delay= option to command line Dougal Stanton **20080711115952 Allows user to omit all the results due in the next N minutes with --delay=N or -dN. ] [Add further imports to cabal file Dougal Stanton **20080711152258] [Cope with times past midnight tonight Dougal Stanton **20080714131615] [Parse query and other options separately Dougal Stanton **20080714132132 Since the Query type was really a separate concern for this program, and is passed on wholesale to the helper library, it seemed more effective to read them separately. This was particularly effective here as the data structures were getting unwieldy and quite deeply nested. ] [Clarify usage on help page Dougal Stanton **20080714153440] [Clean up pretty-printing Dougal Stanton **20080715100922] [Make sure query contains bus stop ID. Dougal Stanton **20080715130308] [Revert to no default query Dougal Stanton **20080717131408] [Read defaults from config file Dougal Stanton **20080717131720 Read config file as key/value pairs, and replace any use of key in the command line arguments with the corresponding value. So, if ~/.bustrackerrc contains home NNNNNNNN the user can use "--stop home" instead of remembering the long code for the bus stop. ] [Oops, inverted sanity checking logic :-O Dougal Stanton **20080717132019] [Patch cabal file Dougal Stanton **20080717145801] [Change queryLimit to maxresults - much nicer name Dougal Stanton **20080718105331] [Clean up, separate config actions Dougal Stanton **20080721115258] [Project description, update version number Dougal Stanton **20080721115359] [Use reverse bind for prettyness' sake Dougal Stanton **20080721140408] [Clean up argument parser and clarify early exit Dougal Stanton **20080722093817 Arguments which lead to early program return, such as --version, are now more explicit in the main loop, which I think is less sneaky than how it was before. ] [Rename variables for clarity Dougal Stanton **20080723083621] [Add Eq, Ord instances to Result type Dougal Stanton **20080723150628] [Sort output by arrival time Dougal Stanton **20080723150708]