Commit Graph

656 Commits

Author SHA1 Message Date
Simon Michael
46c09c6fac patterns now use not: and desc: prefixes instead of ^ and ^^
This is more like but not the same as ledger 3.
2009-04-02 06:25:22 +00:00
Simon Michael
4037d56080 drop the --options-anywhere flag, make it the default
Also drop support for ledger-2-style - and -- in account patterns.
For the time being ^ and ^^ must be used.
2009-02-27 03:56:26 +00:00
Simon Michael
a99457f2d4 readme time reporting improvements 2009-01-23 02:33:34 +00:00
Simon Michael
9d72ccebe7 note a few new features 2009-01-23 02:52:51 +00:00
Simon Michael
991d3ce909 help cleanups 2009-01-25 08:44:14 +00:00
Simon Michael
1a8ba720fd bump version to 0.3.99 ("0.4 beta") 2009-04-02 09:39:20 +00:00
Simon Michael
c0885f7c76 another iteration of the version number system; simpler and more efficient
The release version is defined in VERSION, make or make release do the rest.
2009-02-27 02:55:54 +00:00
Simon Michael
ea0c32641d minimal happs-based web ui, enabled with -f happs 2009-01-20 04:04:40 +00:00
Simon Michael
e361b789a0 simple ansi-based ui that should work on windows, enabled with -f ansi 2009-01-20 04:02:21 +00:00
Simon Michael
00a89bf472 fix a build error with certain flags 2009-01-26 20:24:51 +00:00
Simon Michael
195fc13fcf make tweaks 2009-01-26 20:27:41 +00:00
Simon Michael
4ebc42dde3 more makefile docs 2009-01-25 09:00:57 +00:00
Simon Michael
5dd0ed838b makefile cleanup 2009-01-20 03:48:35 +00:00
Simon Michael
51e1e8b75f make show-unpushed 2009-01-20 22:27:32 +00:00
Simon Michael
20ef2dde04 a new version numbering system, more automated and hopefully usable
See comments in Makefile. The major.minor[.bugfix] release version is
defined there, then "make" and "make release" should take care of
everything. Excerpt:

Goals and constraints for version numbering:
1 automation, robustness, simplicity, platform independence
2 cabal versions must be all-numeric
3 release versions should be concise
4 releases should have a corresponding darcs tag
5 development builds should have a precise version appearing in --version
6 development builds should generate cabal packages with non-confusing versions
7 would like a way to mark builds/releases as alpha or beta
8 would like to easily darcs get the .0 even with bugfix releases present
2009-02-26 17:37:46 +00:00
Simon Michael
15239ecf96 make an explicit configure flag for the vty ui 2009-01-20 03:48:05 +00:00
Simon Michael
67a764dce7 need to omit the vty dependency and ui command on windows 2009-01-18 19:02:08 +00:00
Simon Michael
96f1b7d6a7 no really, need to omit the vty dependency on windows 2009-01-19 18:26:21 +00:00
Simon Michael
d5b4797703 makefile docs, a push target for me 2009-01-25 08:09:09 +00:00
Simon Michael
664ba2fbc9 "make send" to send unpushed patches to the hledger mail list
(doesn't set --in-reply-to)
2009-01-25 07:48:41 +00:00
Simon Michael
f807c0f095 Options cleanups 2009-01-25 08:09:26 +00:00
Simon Michael
aed74a9ef9 add happs command to --help 2009-01-20 04:31:34 +00:00
Simon Michael
f910357093 include ui commands in --help 2009-01-20 04:31:11 +00:00
Simon Michael
bb6745962b include happs configure flag in version string 2009-01-20 06:09:16 +00:00
Simon Michael
56c99bdfd6 simplify config flag display 2009-01-20 06:05:37 +00:00
Simon Michael
8dcd53c9ba clean up version string and include configure flags 2009-01-20 05:57:25 +00:00
Simon Michael
7bf18cd4f4 bump version 2009-01-20 04:28:49 +00:00
Simon Michael
9c5338793e clarify hours argument help 2009-01-23 20:07:31 +00:00
Simon Michael
a26a56eafe more convenient timelog querying when invoked as "hours" 2009-01-23 02:04:31 +00:00
Simon Michael
f733a3de80 release notes 2009-04-02 09:42:29 +00:00
Simon Michael
f8a37d5531 make docs-building more robust 2008-11-23 22:29:17 +00:00
Simon Michael
470d5284b0 fix NEWS rst error 2008-11-23 22:29:39 +00:00
Simon Michael
b3229d2c4e next cabal release will say "beta" ! 2008-11-23 22:30:36 +00:00
Simon Michael
564c218d61 dead code 2008-11-25 04:15:03 +00:00
tim
6fdaf2a248 Added showAmount' that shows only the number part of an amount 2008-11-23 21:26:38 +00:00
Simon Michael
770c2956a5 oops, maybe another piece of the Date/DateTime removal 2008-11-27 04:29:32 +00:00
Simon Michael
4d5478b334 haddock fix 2008-11-27 07:50:02 +00:00
Simon Michael
b4fed8f2fd docs 2008-12-04 19:32:30 +00:00
Simon Michael
e333c76d6f leaves utility 2008-12-04 19:32:42 +00:00
Simon Michael
eacea41dac when options are repeated, use the last instead of the first 2008-12-04 20:11:35 +00:00
Simon Michael
f794445451 update simplifyprof.hs 2008-12-05 00:37:47 +00:00
Simon Michael
6f6ce11ca8 more balance-calculating extraction 2008-12-05 08:26:13 +00:00
Simon Michael
eca112f7d4 extract common balance-calculating code 2008-12-05 05:09:54 +00:00
Simon Michael
76df6ec88f optimise cacheLedger by using the tree to help calculate account balances
from:

	total time  =        0.14 secs   (7 ticks @ 20 ms)
	total alloc = 275,520,536 bytes  (excludes profiling overheads)

     cacheLedger                                     1   0.0    0.1      42.9       48.6
      sumTransactions                                0   0.0    0.6      28.6       42.5
       isZeroAmount                              13529   0.0    2.0      14.3       39.2
        showAmount                               13529   0.0    7.2      14.3       37.2
         showAmount'                             13529  14.3   29.9      14.3       29.9
         con2tag_Side#                           27232   0.0    0.0       0.0        0.0
       normaliseMixedAmount                       6733   0.0    1.8      14.3        2.7
        con2tag_Side#                              120   0.0    0.0       0.0        0.0
        sumAmountsPreservingPrice                 6803   0.0    0.2      14.3        1.0
         amountop                                13351   0.0    0.4      14.3        0.8
          convertAmountTo                        13351  14.3    0.4      14.3        0.4
           conversionRate                        13351   0.0    0.0       0.0        0.0
      isAccountNamePrefixOf                      25122   0.0    2.0       0.0        2.0

to:

	total time  =        0.08 secs   (4 ticks @ 20 ms)
	total alloc = 168,637,964 bytes  (excludes profiling overheads)

     cacheLedger                                     1   0.0    0.1       0.0       27.1
      sumTransactions                                0   0.0    0.3       0.0       18.8
       isZeroAmount                               3931   0.0    0.9       0.0       17.3
        showAmount                                3931   0.0    3.4       0.0       16.3
         showAmount'                              3931   0.0   12.9       0.0       12.9
         con2tag_Side#                            7884   0.0    0.0       0.0        0.0
       normaliseMixedAmount                       1964   0.0    0.8       0.0        1.3
        con2tag_Side#                               12   0.0    0.0       0.0        0.0
        sumAmountsPreservingPrice                 1970   0.0    0.1       0.0        0.5
         amountop                                 3793   0.0    0.2       0.0        0.4
          convertAmountTo                         3793   0.0    0.2       0.0        0.2
           conversionRate                         3793   0.0    0.0       0.0        0.0
2008-12-05 03:31:45 +00:00
Simon Michael
b1f2d95e13 optimise summariseTransactionsInDateSpan like cacheLedger
makes summarised register reports faster
2008-12-05 03:32:41 +00:00
Simon Michael
63999d36fe allow --depth=0 in summarised register reports, to aggregate top-level accounts 2008-12-04 20:37:03 +00:00
Simon Michael
ecd7575b5e make sample ledger more complex to verify a fix 2008-12-05 08:35:52 +00:00
Simon Michael
765edff7f8 typo 2008-12-05 10:38:20 +00:00
Simon Michael
f305a231a4 update sample.ledger 2008-12-05 11:09:09 +00:00
Simon Michael
8bc078ff7b fix haddock error preventing docs update 2008-12-10 05:52:26 +00:00