Commit graph

1848 commits

Author SHA1 Message Date
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
0135c28049 Added in_place_round method to all Ledger numerical types. 2008-09-14 19:36:55 -04:00
John Wiegley
06a5792212 Output balances when converting to strings, as this is needed by debugging
code sometimes.
2008-08-29 04:32:25 -04:00
John Wiegley
bbf4da9d9b Removed todo comments and dead code. 2008-08-17 05:19:51 -04:00
John Wiegley
b89fcfb54a Re-enabled the disabled expand_path routine. 2008-08-17 05:18:25 -04:00
John Wiegley
a1db45dca1 Removed more dead code. 2008-08-17 05:09:51 -04:00
John Wiegley
06bbe56701 Fixed an assertion. 2008-08-17 04:55:01 -04:00
John Wiegley
08488d4cd7 Removed more dead code and todo comments, and made it possible to stream
compiled value expressions.
2008-08-17 04:41:02 -04:00
John Wiegley
1c079630cf Removed more "pending" type comments. 2008-08-17 03:51:28 -04:00
John Wiegley
8da86ae078 Removed dead code. 2008-08-17 03:47:01 -04:00
John Wiegley
752eb99445 Removed all pending todos from the amount_t code. 2008-08-17 03:40:21 -04:00
John Wiegley
891d7b87c8 Removed some dead code and updated the binary streaming code for op_t and
value_t.
2008-08-17 03:15:57 -04:00
John Wiegley
0259ee32c8 Added a session_t::clean_all method, for clearing all xdata within a session. 2008-08-16 04:25:02 -04:00
John Wiegley
0b206e86ef Added a forward declaration for session_t. 2008-08-15 17:43:58 -04:00
John Wiegley
e18749dec9 If a comparison between amounts fails, fall back and try to compare
commodities instead.
2008-08-14 04:15:35 -04:00
John Wiegley
6432d7c594 Added back a lot of hacktastic logic from 2.6.1 that made the "bal" command
somewhat smart about how it interpreted certain options.  Beware, code, for
your days are not long-lived.
2008-08-14 04:14:48 -04:00
John Wiegley
2bff7565c1 Changed interval_t::start to interval_t::set_start, to be more clear about how
it differs from interval_t::first.
2008-08-14 04:14:02 -04:00
John Wiegley
ad02a482b6 Added the "depth" value expression function for accounts. 2008-08-14 04:13:18 -04:00
John Wiegley
b488d1d62f Re-enabled many more options, among them -n. 2008-08-14 03:30:03 -04:00
John Wiegley
c7c709cd0b Restored the -p, -b and -e reporting options. 2008-08-14 02:40:32 -04:00
John Wiegley
a50bab1865 Changed output_date_format to match 08-Aug-14 format. 2008-08-14 02:40:23 -04:00
John Wiegley
6a82e12ab4 get_amount should return the xdata value if the EXT_COMPOUND flag is on. 2008-08-14 02:40:09 -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
7a6d416f3b Allow value_t::reduce() on any data type. 2008-08-14 02:39:21 -04:00
John Wiegley
6555f45c9d Moved a block of code from report to session, though it's still commented out. 2008-08-14 02:15:11 -04:00
John Wiegley
e10364e136 Corrected the formatting of second-lines in the register report. 2008-08-14 02:12:47 -04:00
John Wiegley
3231e380bb The balance output now includes the final total. 2008-08-13 05:48:32 -04:00
John Wiegley
5f0b25ab9a The -f flag now works again. 2008-08-13 03:55:16 -04:00
John Wiegley
b588dc4caf Changed the default output date format in register reports from 2008-08-13 to
08-Aug-13.  This allows for the account name to be one character wider, while
the century was never significant in people's minds, whereas the change in
months between two transactions sometimes is.
2008-08-13 03:12:25 -04:00
John Wiegley
b134a98e1e Enabled the --tail and --head options. 2008-08-13 02:58:49 -04:00
John Wiegley
3f8412f404 When printing commodity lot dates, using format_date(). 2008-08-13 02:58:10 -04:00
John Wiegley
ace4b65487 The register report is now mostly displaying multi-line balances correctly.
It still shows lots even when --lots isn't specified, though.
2008-08-10 03:49:03 -04:00
John Wiegley
548a03e725 Regular expressions supplied after 'reg' or 'bal' are working again. 2008-08-10 02:54:36 -04:00
John Wiegley
7ffb6c472c The balance report is working again. 2008-08-10 02:53:56 -04:00
John Wiegley
fd2e6c2502 Ledger now builds without any significant warnings, except for one file. Some
of the warnings had to be temporarily disabled, but will be checked again once
the code has moved into master.
2008-08-10 02:52:38 -04:00
John Wiegley
ba02f0a450 Fixed a memory leak that would show up if --verify --verbose was running and
an error or exception occurred.
2008-08-10 01:41:59 -04:00
John Wiegley
c9d575abce Basic balance reports are working again! 2008-08-10 00:57:29 -04:00
John Wiegley
6fe833bb9b Moved sources which I did not write from src/ into lib/. 2008-08-09 19:48:23 -04:00
John Wiegley
5419e74378 Merge branch 'master' into v2.7a 2008-08-09 17:40:47 -04:00
John Wiegley
bd37a19e17 Removed my copyright from a file I didn't write (an ambitious Perl script had
addeded it).
2008-08-09 16:38:02 -04:00
John Wiegley
a42ecd5938 Removed all use of USE_BOOST_PYTHON from the main Ledger sources. When Python
support is enabled for use within Ledger, it will do so through the current
scoping mechanism.
2008-08-08 18:50:21 -04:00
John Wiegley
afc592c52c Fixed some spurious warnings in the non-debug build. 2008-08-08 00:17:53 -04:00
John Wiegley
f31f9866db The OFX parsing code is compiling again, but not working yet. 2008-08-07 05:44:16 -04:00
John Wiegley
0eda1ad2c6 The Python interface layer is building again. 2008-08-07 02:53:35 -04:00
John Wiegley
9f9339c5c5 Added missing virtual specifiers on some destructors. 2008-08-05 20:41:48 -04:00
John Wiegley
da6ceaba1a Updated the Doxygen docs so that all the core numerics files are in the same
module group.
2008-08-05 19:49:01 -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