John Wiegley
38122c2224
Corrected warnings g++-4.3.3 was complaining about
2009-02-28 04:54:54 -04:00
John Wiegley
fb129fa7a1
Corrected a potential invalid memory access
2009-02-28 04:36:48 -04:00
John Wiegley
56693fab9b
Separator in "balance" now part of format string
2009-02-27 16:23:36 -04:00
John Wiegley
d102641f2a
Fixed a compile error found by g++-4.3.2
2009-02-27 16:19:17 -04:00
John Wiegley
aff9052baf
The generate report now generates lot details
2009-02-27 16:17:27 -04:00
John Wiegley
e6aae5a096
The generate report now implies --actual
2009-02-27 16:08:39 -04:00
John Wiegley
e02fe8d58f
Allow --head to limit the entries generate creates
2009-02-27 16:01:33 -04:00
John Wiegley
38cf0e56f5
Added --lots-actual, to not print calc'd details
2009-02-27 15:45:21 -04:00
John Wiegley
cbd66ba1c9
Changed "priced" to "cost_calculated" for clarity
2009-02-27 15:32:38 -04:00
John Wiegley
f881bf1319
Fix to amount unreduction (aka, 120m -> 2h)
2009-02-27 15:23:38 -04:00
John Wiegley
afe3a899c6
Fixed the operation of --head and --tail
2009-02-27 14:10:28 -04:00
John Wiegley
0efe0c63ce
Corrected output of O_CALL nodes
2009-02-27 14:06:52 -04:00
John Wiegley
f7f07310f4
Be smarter about trimming off trailing zeroes
2009-02-27 13:58:30 -04:00
John Wiegley
5e6c95e348
Removed an extraneous addition to EXTRA_DIST
2009-02-27 12:55:51 -04:00
John Wiegley
403dde33f2
Add -j3 to the pre-commit hook's make invocation
2009-02-27 04:01:27 -04:00
John Wiegley
6b62be59fb
Added generate command, --seed, and GenerateTests
2009-02-27 03:58:43 -04:00
John Wiegley
645e43ef75
The print command now prints xact's effective date
2009-02-27 03:49:59 -04:00
John Wiegley
f1795e628b
Fixed bugs relating to sign and rounding of costs
2009-02-27 03:45:32 -04:00
John Wiegley
501949a364
If an error occurred in /dev/stdin, don't fopen it
2009-02-27 03:05:35 -04:00
John Wiegley
c49b98fc4c
Added an --unround option, to show full precision
2009-02-27 03:04:05 -04:00
John Wiegley
c57c85c92f
Changed the "truncate" valexpr func to "truncated"
2009-02-27 02:59:16 -04:00
John Wiegley
e1eb12a6e4
balance_t is no longer a superclass
2009-02-27 02:54:07 -04:00
John Wiegley
a8e2a674a8
Fixes to entry note parsing
2009-02-27 02:41:50 -04:00
John Wiegley
6d315840a8
Don't propagate display flags from cost amounts
2009-02-27 02:39:54 -04:00
John Wiegley
4389edb639
Normalize "dots" output from some of the tests
2009-02-27 02:37:41 -04:00
John Wiegley
06365aac05
Fixed the way item state is parsed and managed
2009-02-27 02:35:51 -04:00
John Wiegley
fbb0d25831
Gave round/unround/truncate all in_place_ variants
2009-02-27 02:15:27 -04:00
John Wiegley
ecb1ca71c1
Refinements to amount_t validation code
2009-02-27 01:57:32 -04:00
John Wiegley
483a513d31
The letter 'z' was not allowed in commodity names
2009-02-27 01:54:59 -04:00
John Wiegley
b1adca6c80
Run the confirm tests using --verify
2009-02-27 01:52:54 -04:00
John Wiegley
3d4ff14995
Removed special case from pre-commit hook
2009-02-27 01:47:50 -04:00
John Wiegley
316b854676
Fixed a buffer overrun
2009-02-27 01:46:16 -04:00
John Wiegley
0ed57916cf
Fixed a system-specific issue in acprep
2009-02-26 14:12:59 -04:00
Drew Raines
e323171147
interactive in ledger-reconcile only needs one arg
2009-02-26 05:54:26 -04:00
John Wiegley
8216db1f15
Added support for tag/pop parsing directives
...
There are now "tag/pop" directives, to apply metadata to a range of
transactions (and their postings). For example, if you wanted a
conceptual "page" of transactions relating to business trip to Chicago,
you could do this:
tag Location: Chicago
tag Purpose: Business
... transactions go here
pop
pop
It would be as if you'd applied "; Location: Chicago", etc., to every
transaction.
2009-02-26 05:49:26 -04:00
John Wiegley
47ff0b9fed
Fixes to the way textual directives were parsed
2009-02-26 05:46:59 -04:00
John Wiegley
b302c340b6
Enriched the context report during textual parsing
2009-02-26 05:42:59 -04:00
John Wiegley
a0d8d84b87
Print more context if an automated xact fails
2009-02-26 05:39:13 -04:00
John Wiegley
f09c3906a2
Print better error msg if evaluating mask as bool
2009-02-26 05:35:57 -04:00
John Wiegley
69e2c733b9
If an item tag is already set, don't overwrite it
2009-02-26 05:33:06 -04:00
John Wiegley
badea00584
Added a warning_() macro
2009-02-26 05:30:48 -04:00
John Wiegley
87ec7bc34a
Add error context while evaluating predicates
2009-02-26 05:02:49 -04:00
John Wiegley
fbb734689b
Added a new source_context function
2009-02-26 04:41:38 -04:00
John Wiegley
513e2b59eb
Fixed a bad option passed to rm in Makefile.am
2009-02-26 04:12:19 -04:00
John Wiegley
d58797e98c
The -B, -G, -V reports now show rounding amounts
...
This way, if the running total is off by a penny or two due to rounding
of one or more commodities in the account, the user will see it.
This commit also reorganizes the testing code a bit, which I did after
adding the ninth test series (ConfirmTests), to validate the new
rounding code.
2009-02-26 03:16:39 -04:00
John Wiegley
74e569e220
Added a truncated() method for amounts and values
...
When an amount is truncated, it drops all of the extra precision and
becomes exactly the value would have seen were it printed.
2009-02-26 00:10:08 -04:00
John Wiegley
247cf58bfa
Allow sequences to be rounded and unrounded
...
The result is that every member of the sequence has the given operation
applied.
2009-02-25 23:42:31 -04:00
John Wiegley
55a6d588ff
Allow uncommoditized amounts to +/- with an amount
...
Thus, you can say "$100 + 10" to increase it by $10.
2009-02-25 23:40:15 -04:00
Drew Raines
7f37d7edcc
Added ignoring of build products back to .gitignore.
2009-02-25 23:18:43 -04:00
Eugene Morozov
0667bc1a70
Fix for sensitive compilation environments.
2009-02-25 23:12:38 -04:00