Commit graph

1161 commits

Author SHA1 Message Date
John Wiegley
50ee03e3f0 Fixed the way that nested caught exceptions are rethrown, and how value
expressions are displayed when errors are found in them.
2008-09-15 02:36:50 -04:00
John Wiegley
b73c31c725 Updated TODO file. 2008-09-14 19:44:35 -04:00
John Wiegley
1624984981 If an entry is being parsed but yields all null-amount transactions,
completely ignore the entry.  This is useful for supporting "safety" entries
whose only purpose is to assert the balance of account(s) at a certain point
in time.
2008-09-14 19:44:35 -04:00
John Wiegley
db9f891003 Added value expression parsing flag EXPR_PARSE_SINGLE, which means to read
only a single expression and then quit immediately.  Useful for parsing
expressions that begin with a left parenthesis and are known to end at the
right parenthesis.
2008-09-14 19:44:35 -04:00
John Wiegley
53c6e826f1 Restored --format, --date-format (-y), and --input-date-format options. 2008-09-14 19:44:30 -04:00
John Wiegley
6d020a9b0b format_t now handles escaped characters in input strings. 2008-09-14 19:40:26 -04:00
John Wiegley
62389888b6 The ledger::string type now uses size_type for a length parameter instead of
"const int", which is not portable.
2008-09-14 19:39:56 -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
0135c28049 Added in_place_round method to all Ledger numerical types. 2008-09-14 19:36:55 -04:00
John Wiegley
3add2229e0 Updated README notes. 2008-09-11 04:46:13 -04:00
John Wiegley
1ba7abdf9b Added info for several more TODO, and changed all :UUID: to :ID:, to fit with
org-mode's general Id scheme.
2008-09-10 21:55:55 -04:00
John Wiegley
313d86283d Reversed the link order of libamounts and libledger when building ledger.so.
Again, for Ubuntu 8.04.
2008-08-31 21:13:17 -04:00
John Wiegley
855ac383d8 Set LD_LIBRARY_PATH in addition to DYLD_LIBRARY_PATH. 2008-08-31 21:01:19 -04:00
John Wiegley
78e1ac62cb Reverse the link order of libledger.la and libamounts.la. Apparently this
matters to Ubuntu 8.04, but only when building 'make check'!
2008-08-31 20:54:06 -04:00
John Wiegley
d297535c6c Several updates to the TODO file. 2008-08-30 16:33:42 -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
1765fb8607 Updated the sample data file to the new value expression syntax. 2008-08-29 04:31:50 -04:00
John Wiegley
a129997264 Updated build steps in the README. 2008-08-29 04:30:53 -04:00
John Wiegley
33ebfa626e Added README notes for people using Ubuntu, and made the use of a certain
warning flag conditional for Darwin systems.
2008-08-26 03:27:39 -04:00
John Wiegley
42c7e6d3f9 For cppunit builds, run autogen.sh before configure. 2008-08-26 00:10:47 -04:00
John Wiegley
3572c21ec5 When a person does 'make libs', run git submodule update for them. 2008-08-26 00:06:10 -04:00
John Wiegley
b1696f072a Converted 10 more Trac bugs to the TODO file. 2008-08-26 00:06:05 -04:00
John Wiegley
a780160af3 Added note about using MacPorts to install library dependencies. 2008-08-23 22:39:32 -04:00
John Wiegley
0acdebb026 Small administrative updates 2008-08-18 16:37:57 -04:00
John Wiegley
8be03dd73e Updated the data/ submodule. 2008-08-18 03:33:06 -04:00
John Wiegley
04b4897920 Added all of the issue data from v2.6.1b, and plus the initial skeletons for
every 3.0 issue that was in the Trac.
2008-08-18 03:32:46 -04:00
John Wiegley
578475f809 Added some TODO items. 2008-08-17 20:42:11 -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
650527bef8 Moved the data directory into doc. 2008-08-17 00:38:02 -04:00
John Wiegley
6f66fb08ee Added several completed TODOs from my other task archive. 2008-08-16 23:33:23 -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
0fd9c25361 Initial version of the new doc/TODO file, which is going to replace the Trac. 2008-08-16 04:24:29 -04:00
John Wiegley
8ea5ee171c Added a "data" branch and submodule, which contains attachments and supporting
data related to TODO file entries.
2008-08-16 04:22:33 -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
274552f2f9 As the 'bal' command is working again as it should, one of the regression
tests needed to change back to expecting 2.6.1-like behavior.
2008-08-14 04:15:11 -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
eb1fdd0e51 Added the use of autogen.sh from http://buildconf.brlcad.org/. 'acprep' still
remains useful (mostly to me), but now users can use this script if they
expect to find it.
2008-08-14 03:21:29 -04:00