John Wiegley
697f6a6bce
Began initial work to support specifying a series of commodities to -V.
2008-09-20 14:46:18 -04:00
John Wiegley
e914b476e9
Commented out some dead code.
2008-09-20 13:48:47 -04:00
John Wiegley
1bbb6933af
Cleaned up the way that commodity pricing is handled.
2008-09-20 13:48:36 -04:00
John Wiegley
0e95974360
Changed some of the transaction flags, since all must fit in 8 bits.
2008-09-19 08:31:17 -04:00
John Wiegley
eb425536d4
Renamed a variable to be more consistent.
2008-09-19 08:30:17 -04:00
John Wiegley
a374979aaa
Changed debug class ledger.textual.parse to just textual.parse.
2008-09-19 08:10:13 -04:00
John Wiegley
5b5d6ac0ce
Removed unneeded NULL argument.
2008-09-19 08:09:17 -04:00
John Wiegley
1edb531c05
Renamed XACT_BALANCE flag to XACT_MUST_BALANCE.
2008-09-19 08:08:28 -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
43ba0bb038
Corrected a harmless warning.
2008-09-19 06:55:07 -04:00
John Wiegley
a3a65c3a73
Added a new issue.
2008-09-19 01:21:29 -04:00
John Wiegley
e293132729
Changed a plain equality into a strcmp.
2008-09-18 11:42:43 -04:00
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
7fafe185c0
Added autogen.sh.
2008-09-17 05:48:06 -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
6c7db1f1ef
Ignore the file RegressionTests.
2008-09-17 05:20:16 -04:00
John Wiegley
cc7f3ec664
Do not adjust display precision when parsing a pricing entry.
...
Fixes: 7E5D2A6C-A15F-4BC8-A851-04A48E3E30F4
2008-09-17 05:13:42 -04:00
John Wiegley
3c6fd0f804
If '[TEXT]' found in a transaction note fails to parse as a date, ignore it.
...
Fixes: 96DDA4B9-E216-4C7A-8D0E-02B0F39CA256
2008-09-17 05:11:51 -04:00
John Wiegley
9307c87c95
When printing lot dates, never include a time.
2008-09-17 05:06:28 -04:00
John Wiegley
a68bcfc92e
Permit date_t to be constructed by a datetime_t.
2008-09-17 05:06:17 -04:00
John Wiegley
a00af44d1d
Increased xml output version to 2.6.
2008-09-17 05:05:59 -04:00
John Wiegley
88c0b459b9
Removed "note" field in entry_t, since that feature is not appearing in 2.6.1.
2008-09-17 05:05:49 -04:00
John Wiegley
495b64f296
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.
Fixes: E87DD3A5-B061-46A0-95E9-9844A6CB0443
2008-09-17 05:05:26 -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