notes updates

This commit is contained in:
Simon Michael 2008-11-08 22:20:43 +00:00
parent 51a986d387
commit 97fad8fa6f

40
NOTES
View File

@ -5,21 +5,18 @@ Clarity of concepts, economy of features, efficiency and reliability of
implementations were its consequences." --Niklaus Wirth implementations were its consequences." --Niklaus Wirth
* to do * to do
** bugfixes ** errors
*** balance mixed-commodity entries when possible *** display mixed amounts vertically, not horizontally
*** display commodities vertically
** cleanups
*** use one kind of amount
*** split commodity symbol and display settings types
** features ** features
*** full -b/e date expressions *** flexible date expressions, for easier time reports
*** test on more ledger files *** commodity @ rate, for tracking client hours in main ledger
*** improve/reduce error messages, reduce failures *** actual/effective entry & txn dates, for ...
*** --display, for reconciling recent transactions with real balance
*** more ledger features from README *** more ledger features from README
*** new features *** new features
**** option for strict ledger-compatible output (or, compare xml ?) **** option for strict ledger-compatible output (or, compare xml ?)
**** --compare to compare ledger with same args **** --compare to compare ledger with same args
**** tidy horizontal commodities format **** workable horizontal commodities display
**** in/out times in timelog entry descriptions **** in/out times in timelog entry descriptions
**** graphs **** graphs
**** easier data entry **** easier data entry
@ -28,12 +25,16 @@ implementations were its consequences." --Niklaus Wirth
**** easy conversion from cabal-installed to darcs repo **** easy conversion from cabal-installed to darcs repo
**** i18n **** i18n
*** speed *** speed
**** profile
**** cache file **** cache file
** cleanups
** tests ** tests
*** test on more ledger files
*** speed regression tests
*** more modular/scalable approach to test data ?
*** individual test running *** individual test running
*** figure out reliable maintainable appropriate tests *** figure out reliable maintainable appropriate tests
*** easy ledger compatibility testing *** easy ledger compatibility testing
*** speed testing
** docs ** docs
*** readme *** readme
*** related blurbs - automate *** related blurbs - automate
@ -56,8 +57,6 @@ implementations were its consequences." --Niklaus Wirth
*** user manual *** user manual
** web presence ** web presence
*** clarify bugtracking process *** clarify bugtracking process
*** refine home page
**** separate page, separate wiki, home page in darcs ?
* misc * misc
** differences noted ** differences noted
*** ledger needs a space after -f *** ledger needs a space after -f
@ -150,3 +149,18 @@ isProp _ = False
declName :: HsDecl -> String declName :: HsDecl -> String
declName (HsFunBind (HsMatch _ (HsIdent name) _ _ _:_)) = name declName (HsFunBind (HsMatch _ (HsIdent name) _ _ _:_)) = name
declName _ = undefined declName _ = undefined
** separate commodity display settings
type CommoditySymbol = String
data CommodityDisplayPrefs = CommodityDisplayPrefs {
side :: Side, -- ^ should the symbol appear on the left or the right
spaced :: Bool, -- ^ should there be a space between symbol and quantity
comma :: Bool, -- ^ should thousands be comma-separated
precision :: Int, -- ^ number of decimal places to display
} deriving (Eq,Show)
data Amount = Amount {
commodity :: CommoditySymbol,
quantity :: Double
} deriving (Eq)