Commit graph

2183 commits

Author SHA1 Message Date
John Wiegley
e8f315f00d Correctly align amounts formatted as "%12(amount)" 2009-06-28 15:53:46 +01:00
John Wiegley
6e582a8777 Added four missing baseline tests 2009-06-28 15:51:05 +01:00
John Wiegley
6fbce9dd1a Merge commit 'kljohann/master' into next 2009-06-28 12:38:12 +01:00
John Wiegley
d0c47b1bc2 Added debug code "option.names"
Use "--debug option.names" to see all accepted (internal) option names.
2009-06-27 01:48:41 +01:00
John Wiegley
7b05595699 Improved usefulness of the "print --anon" output 2009-06-27 01:45:31 +01:00
John Wiegley
bf30f989f6 Removed some dead code 2009-06-27 01:32:46 +01:00
John Wiegley
2ef1934bb0 Restored --price option, added baseline test
This option reports only in terms of the annotated price of the
commodities involved, otherwise it reports the amounts themselves.  It
can be used in conjunction with other reports, as it applies to the
displayed amounts, not the actual amounts being calculated.
2009-06-26 17:15:35 +01:00
John Wiegley
4574c30fcf The --download option is now fully restored 2009-06-26 16:52:41 +01:00
John Wiegley
1fad2ec7c1 More refactoring for --download 2009-06-24 18:08:56 +01:00
John Wiegley
0663ac0a2a Moved commodity_quote_from_script to quotes.cc 2009-06-24 16:53:50 +01:00
John Wiegley
ba6254fd45 Moved a function 2009-06-24 16:50:12 +01:00
John Wiegley
991e3a3eaf Split commodity.h/cc into three files
commodity.h - code for commodity_t
annotate.h  - commodity annotations
pool.h      - commodity pool management
2009-06-24 16:43:46 +01:00
John Wiegley
77d69d0e24 Removed unneeded header files: ledger.h, pyledger.h 2009-06-24 16:33:45 +01:00
John Wiegley
440124eacc Restored --download, although not done yet
The problem at this point is that it's recording prices in the price
database multiple times; it should only need to download a price for
each commodity once per day.
2009-06-24 02:44:07 +01:00
Johann Klähn
1d8111b43c Fix small 'bug' on accounts with spaces 2009-06-23 01:20:20 +02:00
John Wiegley
72a2eaa38e Upgraded Boost version reference to 1.39 2009-06-22 15:59:34 +01:00
John Wiegley
f8c3b4cad8 Fixed the --args-only option (sequence problem) 2009-06-22 00:29:14 +01:00
John Wiegley
407d057f4d Added a --no-color option, to disable --color 2009-06-22 00:27:00 +01:00
John Wiegley
7d5f02f5cc Restored option --period-sort
This option is just an alias for --sort-xacts.
2009-06-21 20:48:27 +01:00
John Wiegley
127e5e7ad2 Added baseline test for --only 2009-06-21 20:33:30 +01:00
John Wiegley
8cb80185d5 Restored the --truncate option, added baseline test 2009-06-21 19:06:07 +01:00
John Wiegley
c1307445c1 Added baseline: --sort, --sort-all, --sort-xacts 2009-06-21 18:52:01 +01:00
John Wiegley
f83a1c8873 Restored --unround, added baseline test 2009-06-21 18:37:39 +01:00
John Wiegley
fe6055bf16 value_t::in_place_unround wasn't doing it in-place 2009-06-21 18:35:48 +01:00
John Wiegley
ec62e70997 Whitespace reformatting 2009-06-21 18:34:23 +01:00
John Wiegley
ba0dd89356 Added baseline: --subtotal, --total-data, --total 2009-06-21 18:08:55 +01:00
John Wiegley
521b935aa8 Restored --percent option, added baseline test 2009-06-21 18:07:27 +01:00
John Wiegley
7287aad336 Revert "Added % suffix operator, as in "$1.00 * 10%""
This reverts commit 0e9f782a05.
2009-06-21 17:49:38 +01:00
John Wiegley
add2ffd5f3 Added baseline tests for --lot-tags and --lots-actual 2009-06-19 20:52:24 +01:00
John Wiegley
189bbd1546 Added baseline test for --limit 2009-06-19 20:40:15 +01:00
John Wiegley
dabbd2c974 Fixes to the 'xact' command (used to be 'entry') 2009-06-19 00:00:57 +01:00
John Wiegley
83c93fdb73 Commented out an internal-only option 2009-06-18 18:58:37 +01:00
John Wiegley
269c0ccb7c Added a code comment 2009-06-18 18:55:42 +01:00
John Wiegley
86dfc1e0be The -X option now accepts price settings
For example, if you had 100 AU (onces of gold) and wanted to report it
in dollars, but at a price of $997 per ounce, you could now easily say:

  ledger bal -X '$,AU=$997'
2009-06-18 18:50:49 +01:00
John Wiegley
1dc21c2d34 Added baseline test for --seed 2009-06-18 18:42:48 +01:00
John Wiegley
56555f3870 Added baseline tests for --related, --related-all 2009-06-18 16:20:22 +01:00
John Wiegley
af8eeb34db Added baseline test for --quantity 2009-06-18 16:18:35 +01:00
John Wiegley
6dd362dfde Added baseline tests for --print,register-format 2009-06-18 16:12:27 +01:00
John Wiegley
4253c2a35d Allow uncommoditized amounts to be used as costs 2009-06-18 16:10:08 +01:00
John Wiegley
8d97adec7b Restored --plot-amount-format, --plot-total-format 2009-06-18 16:08:43 +01:00
John Wiegley
8dbf458e14 Restored --prices-format options 2009-06-18 01:50:06 +01:00
John Wiegley
1fd4387b67 Restored pricesdb command and --pricesdb-format option 2009-06-18 01:49:49 +01:00
John Wiegley
47d237e18b Restored --input-date-format option 2009-06-18 01:36:24 +01:00
John Wiegley
141e60c7a7 Added baseline test for --real 2009-06-18 01:26:08 +01:00
John Wiegley
95be19dd28 Added baseline test for --period 2009-06-18 01:24:05 +01:00
John Wiegley
8121e0b178 Added regression test for period range fix 2009-06-18 01:23:06 +01:00
John Wiegley
ed9735f66d Correctly parse the range of period "june 2008" 2009-06-18 00:50:27 +01:00
Johann Klähn
8e8d9e5c85 vim: add README 2009-06-17 23:27:33 +02:00
Johann Klähn
360025ac2f vim: fill text for "table" can be modified 2009-06-17 23:24:01 +02:00
Johann Klähn
7654ecc102 vim: complete account names with compl-keyword
Basic support for keyword completion (<C-X> <C-N>)
Will only work on account names with no spaces
2009-06-17 21:48:11 +02:00