John Wiegley
c8cd2c468e
Re-enabled some code, and removed a bunch of deadwood.
2009-02-12 03:30:41 -04:00
John Wiegley
11dc80b618
Don't apply an automated entry to a generated transaction.
2009-02-09 14:55:36 -04:00
John Wiegley
25e88eac1d
Removed unnecessary #include directives.
2009-02-09 00:41:18 -04:00
John Wiegley
02bd9d29cf
Improved an error message that was trying to show transaction context.
2009-02-08 20:05:56 -04:00
John Wiegley
ffba456113
Several fixes to get the state flags to appear right in "print".
2009-02-07 23:30:40 -04:00
John Wiegley
3f960be96c
Removed all references to the old binary cache.
2009-02-04 20:57:14 -04:00
John Wiegley
2d941730b1
Largely removed all of Ledger's use of global variables, for the REPL's sake.
2009-02-04 19:55:27 -04:00
John Wiegley
2ce7ae376c
Removed used of src_idx.
2009-02-03 19:06:53 -04:00
John Wiegley
9540406af1
Simplified error context handling.
2009-02-02 00:24:26 -04:00
John Wiegley
6b5d006575
Fixed some entry balancing problems relating to the new rational code.
2009-01-31 05:44:02 -04:00
John Wiegley
e9ff5caa13
Rationals based math is now passing the unit tests.
2009-01-31 04:25:05 -04:00
John Wiegley
6983e6a38a
Fixed error context output.
2009-01-31 01:21:30 -04:00
John Wiegley
676e7bcf4f
Added debug code under the category "entry.extend".
2009-01-30 19:28:07 -04:00
John Wiegley
040255a52b
There is no need to round a balance before calling is_zero().
2009-01-30 19:27:55 -04:00
John Wiegley
3dbdeb2917
Don't allow the "keep precision" flag to propagate into the balance amount.
2009-01-30 19:27:42 -04:00
John Wiegley
3bf354946f
xact_t pointer list when copy constructing an entry, which leads to crashes
...
during deconstruction (due to double-free'ing transactions).
2009-01-20 20:06:21 -04:00
John Wiegley
887828a40c
Increased copyright range to include 2009.
2009-01-20 01:53:31 -04:00
John Wiegley
1bbb6933af
Cleaned up the way that commodity pricing is handled.
2008-09-20 13:48:36 -04:00
John Wiegley
e85a52b72b
Modified a debug class code.
2008-09-19 08:08:15 -04:00
John Wiegley
1c2944d829
When automatically associating lot details with a commodity, use only the
...
price (based on the cost of the transactions), don't automatically use the
date and the entry code -- since most people aren't going to be that specific
at the time of sale, it's causes confusion in certain cases.
2008-09-19 08:07:51 -04:00
John Wiegley
fdc7a4e4c5
Factored common parts of entry_t and xact_t into new item_t
2008-09-19 08:06:20 -04:00
John Wiegley
bdc180ff9c
Don't use single code format characters anymore. Access to object details
...
will now always be done with "%(identifier)".
2008-09-18 11:25:56 -04:00
John Wiegley
41c33a2442
Restored --cleared, --pending, --uncleared, -X and -Y.
2008-09-16 05:05:23 -04:00
John Wiegley
9a98beab38
Added 'code' value expression function for xacts and entries.
2008-09-14 19:39:26 -04:00
John Wiegley
7d1809cb15
Transactional assignments (i.e., confirmed balances) are working now.
2008-09-14 19:38:44 -04:00
John Wiegley
450cdb2b6d
If a transaction's entry has no journal pointer (and this can happen with
...
temporaries), reference session_t::current to get at the current report
pointer.
2008-08-14 02:39:43 -04:00
John Wiegley
c9d575abce
Basic balance reports are working again!
2008-08-10 00:57:29 -04:00
John Wiegley
5419e74378
Merge branch 'master' into v2.7a
2008-08-09 17:40:47 -04:00
John Wiegley
0eda1ad2c6
The Python interface layer is building again.
2008-08-07 02:53:35 -04:00
John Wiegley
f6f4a46cf5
Moved around most of the files so that source code is in src/, documentation
...
is in doc/, etc.
2008-08-05 18:05:49 -04:00