Commit graph

1175 commits

Author SHA1 Message Date
John Wiegley
e4be662c51 Don't try to parse a display predicate if none has been set. 2008-09-18 11:42:32 -04:00
John Wiegley
1fcf7b5fc1 Move handling of all commands to the value expression subsystem, rather than
handling them explicitly in main.cc.
2008-09-18 11:42:17 -04:00
John Wiegley
b9182bccdc If a value expression lookup on an account object fails, defer to the current
session object.  Transactions and entries already do this.
2008-09-18 11:34:22 -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
235f3cc0ae Added TODO: Need a --raw option for the "print" command. 2008-09-18 09:13:18 -04:00
John Wiegley
1b083919c0 Restored the 'print' command. 2008-09-17 21:09:15 -04:00
John Wiegley
24e64c202e Added the 'note' value expression identifier. 2008-09-17 21:08:54 -04:00
John Wiegley
5ec2b74f56 Updated TODO attachments data. 2008-09-17 08:16:17 -04:00
John Wiegley
269eff9002 All Trac bugs have now been moved over to the TODO file. 2008-09-17 08:15:48 -04:00
John Wiegley
d3de473e2c Added TODO-OLD file, containing all the issues from 2.6.1. 2008-09-17 05:26:51 -04:00
John Wiegley
346ca16a2c Sorted the TODO file. 2008-09-17 05:26:39 -04:00
John Wiegley
41c33a2442 Restored --cleared, --pending, --uncleared, -X and -Y. 2008-09-16 05:05:23 -04:00
John Wiegley
660c40a6d3 Corrected several assertions which could occur when using unary operators and
unresolved identifiers.
2008-09-16 05:04:21 -04:00
John Wiegley
01aa3800fb Fixes to the way that EXPR_PARSE_SINGLE behaves. 2008-09-15 02:37:04 -04:00
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