Changelog for squeeze-1.0.3.0

2010-11-18 Dr. Alistair Ward <squeeze at functionalley dot eu> 1.0.0.0 * First version of the package. 1.0.0.1 * Created "src/Squeeze/" sub-directory & then modified module-names accordingly. * Pacified 'hlint'. * Added a makefile. 1.0.0.2 * Tested with ghc-7.0.1 * Added RPM-spec file. 1.0.1.0 * Improved the basic algorithm, by permitting the file-list to be bisected; each file-combination resulting from the LHS, is then concatenated with each of those resulting from the recursively bisected RHS. * Used "Control.Parallel.Strategies" to parallelize the concatenation of each combination from the LH-list, with each of those from the RH-list. * Added default values of command-line flags, to usage-message. * Used new "ToolShed.Package" module. (1.0.1.1) * Replaced 'Data.List.subsequences' with a tailored version which terminates combinations when they've grown too large, providing a better and more predictable performance-gain than recursive list-bisection. * Reduced recursive list-bisection to a single bisection, for the sole purpose of facilitating parallelisation. * Added module "Squeeze.QC" to define "Test.QuickCheck" tests and command-line option "--verbose", to govern level of output. * Partitioned into new modules; "Squeeze.File", "Squeeze.FileSizeBounds" and "Squeeze.FileCombination". 1.0.1.2 * Fixed typo in CPP-statement in "Squeeze.QC". * Fixed negated reference to unparenthesised CPP-macro 'MIN_VERSION'. * Protected reference in "Main", to 'Test.QuickCheck.verboseCheck', using CPP-statement. 1.0.1.3 * Amended "squeeze.spec" to define RPM-package, to install under "/usr", rather than "/usr/local". * Renamed package from 'Squeeze' to 'squeeze', for compatibility with Debian's ".deb"-format. * Added directory-structure required to build ".deb" package. 1.0.1.4 * Corrected command-line processing of the special file "-", which read standard-input as requested, but disregarded any other command-line options. * Refined man-page to be an 'extra-source-file' in "squeeze.cabal" and "squeeze.spec" files. * Ported to compile against alternative integral definitions of 'Squeeze.File.FileSize'. * Added manually controlled "llvm" flag to "squeeze.cabal". * Replaced references to the module "ToolShed.Package" with "Distribution.Package". * Reacted to the creation of module "ToolShed.Defaultable". * Uploaded to <http://hackage.haskell.org/packages/hackage.html>. 1.0.2.0 * Reimplemented 'Squeeze.File.aggregateSize' using 'foldr' rather than 'foldl'. * Removed use of "Control.Parallel.Strategies" from "Squeeze.Squeeze", which ruined performance on one core and had no obvious benefit on two. * Changed the definition of 'Squeeze.FileCombinations.FileCombinations' from a 'Pair' to a record-style data-type with selective strictness-annotation. * Renamed 'Squeeze.FileCombination.concatenate' to '(Squeeze.FileCombination.<+>)' and 'Squeeze.FileCombination.prepend' to '(Squeeze.FileCombination.+>)'. * Used new module "ToolShed.TimeAction", to permit measurement of the CPU-time required to find the best fit. * Added the number, mean file-size and standard-deviation, to the output, when flag '--verbose' is specified; and as a side-effect, created a dependency on the package 'factory'. * Replaced module "Squeeze.FileSizeBounds" with "Factory.Data.Interval", requiring use of 'toolshed-0.12.0.0'. * Made the data-type 'CommandOptions.CommandOptions' polymorphic in terms of the /ratio/-type fields. * Inserted new layers "Data" and "Test" into the module-hierarchy, and relocated existing modules accordingly. * Added module "Squeeze.Test.Performance" to test with randomly generated virtual files. 1.0.2.1 * Added check for zero file-names when reading from stdin. * Corrected the syntax required when specifying ratios, in the man-page. 1.0.2.2 * Renamed 'Squeeze.Data.File.order' to 'Squeeze.Data.File.orderBySize'. * Used 'Paths_squeeze.version' in 'Main', rather than hard-coding it. * Added 'Squeeze.Data.CommandOptions.getErrors' to permit better error-diagnosis. * Reacted to new module-hierarchy and addition of method 'ToolShed.SelfValidate.getErrors', in toolshed-0.13.0.0. * Replaced use of 'Control.Exception.bracket' with 'System.IO.withFile', in 'Squeeze.Data.File.findSize'. * Replaced "System" with "System.Environment" and "System.Exit". * Removed dependency on "haskell98". 1.0.2.3 * Added class 'Show' to context for 'Squeeze.Test.Performance.run', for migration to 'ghc-7.4.1'. 1.0.2.4 * Added details to any failure to parse the command-line arguments. * Defined package's name using program's name & enhanced usage-message, in "Main.hs". * Re-implemented logging using "Control.Monad.Writer.Writer" & renamed 'Squeeze.Squeeze.findBestFitM' to 'Squeeze.Squeeze.findBestFitWriter'. * Implemented 'verbose' functionality in "Squeeze.Test.Performance". * Added command-line flag 'includeEmpty', to allow one to include empty files & directories in any solution. 1.0.3.0 * Changed "Main" to replace calls to 'error' from inside the IO-monad, with 'Control.Monad.fail'. * Changed "Main"; by adding a command-line option to define the seed for the random-generator used for performance-testing; to permitting 'includeEmpty' take an optional Boolean argument, rather than a mandatory one; to read 'Squeeze.Data.CommandOptions.getMinimumUsageRatio' as a 'Double', rather than a 'Rational'. * Renamed the accessors in "Squeeze.Data.CommandOptions", & removed 'bisectionRatio' & associated code. * Added "Squeeze.Control.Concurrent.DivideAndConquer", called from "Main" to utilise multiple CPU-cores where available. * Trapped command-line arguments to which garbage has been appended. * Changed "Data.CommandOptions" to use 'Distribution.Verbosity.Verbosity'.