Commit graph

106 commits

Author SHA1 Message Date
John Wiegley
95ef2e3b65 Added regression test 2012-03-19 03:51:19 -05:00
John Wiegley
e2a22cb8c2 Allow --input-date-format to specify separators
Fixes #650
2012-03-19 03:51:07 -05:00
John Wiegley
cd50fe0547 More improvements to nail_down; fixes #715 2012-03-19 00:41:32 -05:00
John Wiegley
20edb3a340 Fixed bug relating to historical pricing
Fixes #681
2012-03-18 02:33:25 -05:00
John Wiegley
47d7f5a43b Fix problem with -H and lack of pricing info
Fixes #691
2012-03-18 02:25:14 -05:00
John Wiegley
430ad07db1 Simplified a regression test 2012-03-17 07:02:31 -05:00
John Wiegley
bc31e4838b Fixed #711: Parsing of alias directive 2012-03-17 07:02:03 -05:00
John Wiegley
2aa37bca36 Added regression test for A8FCC765 2012-03-17 07:01:51 -05:00
John Wiegley
6305855997 Don't allow trailing ws in abbrev. account segments
Fixes #358
2012-03-16 05:30:34 -05:00
John Wiegley
2605d8a711 Improved error reporting for bad account names
Fixes #374
2012-03-16 04:29:35 -05:00
John Wiegley
7462d09b21 Correct parsing of automated xact expressions
Fixes #458
2012-03-16 04:09:21 -05:00
John Wiegley
20c076dff9 Improved error reports about leading whitespace 2012-03-16 03:50:40 -05:00
John Wiegley
dc91d4f1e6 Added regression test for #584 2012-03-16 03:12:18 -05:00
John Wiegley
49ec40a939 pricedb was outputting redundant prices
Fixes #704
2012-03-16 03:09:13 -05:00
John Wiegley
11067d9cc6 Unexpected initial whitespace is an error (again)
Fixes #565
2012-03-16 02:39:42 -05:00
John Wiegley
610a3e1709 Don't map_prices if price commodity matches source
Fixes #680
2012-03-15 04:58:53 -05:00
John Wiegley
d9fc09097d Added regression test for #438 2012-03-14 17:36:00 -05:00
John Wiegley
fbcbbeb987 Added two regressions tests from Thierry Daucourt 2012-03-14 17:21:21 -05:00
John Wiegley
ed42a7ebfe Allow payee names to contain multiple spaces 2012-03-12 05:48:10 -05:00
John Wiegley
363670d35b Tighten up argument passing related to fn_market() 2012-03-11 03:55:25 -05:00
John Wiegley
2303aa993c Allow balances to be passed to nail_down
Fixes #679
2012-03-11 03:06:50 -05:00
John Wiegley
0d9d845338 Corrected a rounding error in nail_down
Fixes #678
2012-03-11 03:06:03 -05:00
John Wiegley
2df8edc71c Improved the behavior of -X 2012-03-09 20:02:53 -06:00
John Wiegley
ca8f702a1b Added amount_t::commodity_ptr() 2012-03-09 03:25:53 -06:00
John Wiegley
8d6bf11334 All tests are working again but one 2012-03-05 05:03:52 -06:00
John Wiegley
5d8cb30774 Implemented first cut at price conversion logic 2012-03-05 05:03:52 -06:00
John Wiegley
5517871144 Corrected problem with parsing of leap days 2012-02-28 21:19:36 -06:00
John Wiegley
9376b0f7b6 Corrected behavior of >= and <= 2012-02-28 04:02:24 -06:00
John Wiegley
6cbceb8928 Apply timelog time to the check-in day
Fixes #546
2012-02-28 03:18:58 -06:00
John Wiegley
7a55c7ffc1 Allow xact notes on periodic transactions
Fixes #448
2012-02-28 02:47:22 -06:00
John Wiegley
6adfcc8469 Rewrite the way interval reports are generated 2012-02-28 02:34:37 -06:00
John Wiegley
69da09e85f Added regression test for #657 2012-02-27 19:49:53 -06: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
61f11bab17 Removed needless "=== 0" and ">>>2" lines from test files 2011-02-12 17:55:55 -05:00
John Wiegley
c00188d6a8 Increase display precision of hours to 2 places 2010-12-12 19:13:44 -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
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
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
John Wiegley
fa36fef4fa Regression test for last commit 2010-06-20 17:09:07 -04:00
John Wiegley
6770380b6d Subsantial fixes and improvements to budgeting
1. A bounded budget "from DATE to DATE" will now generate entries
    throughout that entire range, if it is triggered.

 2. An unbounded budget begins, as before, in the timeframe of the
    reported posting which triggered it, but now continues until the
    present date.
2010-06-19 16:07:59 -04:00
John Wiegley
c367dcab82 Improved algorithm for abbreviating account names 2010-06-14 07:20:23 -04:00
John Wiegley
e78af146e8 Corrected bug with forecasting date bounded xacts 2010-06-13 23:41:50 -04:00
John Wiegley
b1b4e2aadf Add support for typed metadata
The metadata construct 'Key: Value' is now just a special case for
'Key:: "Value"'.  Another after a :: in metadata setting is parsed as a
full value expression and typed as such.  For example:

  ; Key:: $400 + $500

  ledger -l 'tag("Key") < $1000'
2010-06-12 15:43:00 -04:00