Commit graph

284 commits

Author SHA1 Message Date
John Wiegley
2ec35ea6e9 Implement the "tag" metadata directive 2012-02-27 05:02:25 -06:00
John Wiegley
0e7b4fb182 Implemented account and commodity directives 2012-02-27 04:58:38 -06:00
John Wiegley
1d89093059 Output some line numbers with warnings 2012-02-27 04:10:16 -06:00
John Wiegley
61bc7362ca Added new account/payee/commodity directives
Also added supporting options: --explicit, --permissive, --pedantic, as
well as new behavior for --strict.
2012-02-27 02:31:09 -06:00
John Wiegley
bb0c534414 Revert behavior of 40ab813080 2012-02-26 16:42:50 -06:00
John Wiegley
aa9b07d79b Added --rich-data for 'convert', and SHA1 checksum checking 2012-02-26 15:45:15 -06:00
John Wiegley
40ab813080 Don't print amounts when not necessary in 'print' 2012-02-26 02:18:04 -06:00
John Wiegley
4a18317e7c Added --auto-match option, for use with 'convert' 2012-02-26 02:16:09 -06:00
John Wiegley
f3e1c8ded0 Fixed cmd-script_2.test 2012-02-21 03:55:13 -06:00
John Wiegley
c47350dce9 Corrected handling of nested definitions 2012-02-21 03:53:00 -06:00
John Wiegley
06cb20aaa8 Simplify test for GuardMalloc 2012-02-17 15:18:20 -06:00
John Wiegley
62f33ae7e0 Moved some files into their right locations 2012-02-10 09:36:37 -10:00
Craig Earls
acd8b50891 Added detailed documentation of most command directives. Added command directives to test/input/drewr3.dat to demonstrate @tag @account @bucket. 2012-02-10 09:36:37 -10:00
Craig Earls
d8f0d927f7 contains a transaction that cause a divide by zero error 2012-02-10 09:36:37 -10:00
Craig Earls
b003b3368a resolved bug 584, trailing whitespace not ignored in payee 2012-02-10 09:36:36 -10:00
Craig Earls
bc35c6c07c Ready for first publication 2011-10-02 21:10:21 -07:00
Craig Earls
3dd22719a8 updated to work with V3 2011-09-29 07:55:32 -07:00
Craig Earls
96fd425607 General document structuring and transfer from older docs 2011-09-28 22:47:43 -07:00
John Wiegley
6257e6b4ba Remove spurious false errors when using GuardMalloc 2011-03-28 01:52:27 -04:00
John Wiegley
021fc50842 Corrected two tests 2011-02-12 18:14:30 -05:00
John Wiegley
9c62463f84 Changed testing format to aid with debugging 2011-02-12 18:11:26 -05:00
John Wiegley
512542552b When a test fails, show the command that failed 2011-02-12 17:55:56 -05:00
John Wiegley
a69cd37fa2 Corrected regression test output 2011-02-12 17:55:56 -05:00
John Wiegley
61f11bab17 Removed needless "=== 0" and ">>>2" lines from test files 2011-02-12 17:55:55 -05:00
John Wiegley
c5352f09a4 Simplified an else clause in test/run 2011-02-04 19:19:09 -05:00
John Wiegley
c313cee085 Fixed several unit tests 2011-02-04 04:40:31 -05:00
John Wiegley
2a2c3c1cec Use Boost.Test instead of CppUnit 2011-02-04 03:43:33 -05:00
John Wiegley
c00188d6a8 Increase display precision of hours to 2 places 2010-12-12 19:13:44 -05:00
John Wiegley
8626409678 Removed test/input/speed-test.dat 2010-11-26 19:02:07 -05:00
John Wiegley
ff07cc6c6f Added regression test for 7C44010B 2010-08-16 16:28:08 -04:00
John Wiegley
4d155045a0 Added regression test for 9EB10714 2010-08-16 16:24:37 -04:00
John Wiegley
48a5823181 Based symbol_needs_quotes an invalid_chars (#386) 2010-07-29 03:45:01 -04:00
John Wiegley
4d1eea90c5 Added baseline test for "check" feature 2010-06-26 01:17:08 -04:00
John Wiegley
64c6329b5d Added baseline tests for --meta and --meta-width 2010-06-26 01:07:30 -04:00
John Wiegley
e8fe3649c2 Added baseline test for --now 2010-06-26 01:04:32 -04:00
John Wiegley
c78f84cef2 Added baseline tests for prepend-format/width 2010-06-26 00:58:30 -04:00
John Wiegley
a995090b9e 'make check' for gcov shouldn't listen to -j 2010-06-23 17:51:11 -04:00
John Wiegley
8ced9df08f Added a command-line test runner named test/run 2010-06-22 21:57:23 -04:00
John Wiegley
0648c2f6dc Extended feat-fixated-prices.test 2010-06-22 21:03:04 -04:00
John Wiegley
266dee564f Price annotation no longer inject an implied cost
Consider the following transaction:

  2010-06-22 Sample
      Assets:Brokerage       10 AAPL {$30}
      Assets:Brokerage

Previously, this would have been equivalent to:

  2010-06-22 Sample
      Assets:Brokerage       10 AAPL @ $30
      Assets:Brokerage

However, this is not always what the user expects to happen.  When @ is
not being used, the transaction should reflect a mere transfer of
commodities.  This is now how it works, and thus the above transaction
is now equivalent to the following instead:

  2010-06-22 Sample
      Assets:Brokerage       10 AAPL {$30}
      Assets:Brokerage      -10 AAPL {$30}
2010-06-22 20:56:35 -04:00
John Wiegley
7da2701295 Regression and generate tests now fail properly 2010-06-22 03:10:19 -04:00
John Wiegley
81bf38584e Added new --bold-if option 2010-06-22 01:27:05 -04:00
John Wiegley
1c0785ce78 Fixed typo in previous commit's regression test 2010-06-21 18:35:51 -04:00
John Wiegley
963161a817 bal was sometimes reporting empty accounts 2010-06-21 18:32:03 -04:00
John Wiegley
2f1b1c8ced Change weighting of account-name abbreviation
Parent accounts are abbreviated even more, so that child accounts can
show more text.
2010-06-21 18:05:26 -04:00
John Wiegley
4ea4fa24a4 Added a regression test for the previous commit 2010-06-21 17:54:26 -04:00
John Wiegley
009e07690d Added tests for sole budget/forecast reports 2010-06-21 13:25:17 -04:00
John Wiegley
96b652310c Don't warn about --import in doc when --no-python 2010-06-20 20:35:35 -04:00
John Wiegley
d15bb66ee4 Added missing call to resolve_end() in find_period 2010-06-20 20:29:56 -04:00
John Wiegley
82e43fe125 If fixated price commodities are mixed, show them
For example, if a Ledger file contains transactions with the use of both
EUR and EUR {=PRICE}, then regular reports will always show the
{=PRICE}, disabling the by-name commodity merging that takes place.  In
brief, fixated and non-fixated commodities are now non-mergable.

If a file contains all of one, or all of the other, they will still be
merged, since these separate usages do not conflict the way that fixated
and non-fixated together do.
2010-06-20 20:29:53 -04:00