John Wiegley
d67c9fee0f
Added valexpr vars for accessing item position
...
- filename
- beg_line
- beg_pos
- end_line
- end_pos
2009-02-19 16:22:31 -04:00
John Wiegley
d0a664d102
Fixed several unused value and param warnings
2009-02-16 16:55:18 -04:00
John Wiegley
ee5e0600aa
xact metadata searches get passed up to the entry
...
That is, if a metadata tag cannot be found in a transaction, look in the
parent entry to see if it was set there. Transactions "inherit"
notational details from their entries.
2009-02-14 05:37:53 -04:00
John Wiegley
1a030da55d
Rewrote the "entry" command. It's ALIVE!
2009-02-11 19:14:23 -04:00
John Wiegley
6ca01af594
Fixed the use of --effective and --date-format (-y).
2009-02-09 17:27:54 -04:00
John Wiegley
623c57a623
Terminate the buffer used to read in item context.
2009-02-08 21:16:43 -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
b89d8a1fa5
Have all items respond to the "depth" property, defaulting to 0.
2009-02-08 19:53:39 -04:00
John Wiegley
aec5020d34
item_t::get_uncleared was returning true if CLEARED.
2009-02-07 22:50:38 -04:00
John Wiegley
9380d73646
The "note" expressions returns an empty string if there is no note.
2009-02-07 05:53:40 -04:00
John Wiegley
682544ef17
Refer to empty expression operators as simply NULL.
2009-02-07 04:27:04 -04:00
John Wiegley
408b819c6e
Greatly simplified the way option and command handlers are defined.
2009-02-05 21:20:09 -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
1cc33531ea
Simplified the textual parser, and improved metadata support.
2009-02-04 03:34:37 -04:00
John Wiegley
2ce7ae376c
Removed used of src_idx.
2009-02-03 19:06:53 -04:00
John Wiegley
43c4636d9d
Removed the global references to session->report.
2009-02-03 13:03:10 -04:00
John Wiegley
46b35a015b
Don't allow implicit matching of strings against masks, =~ is needed.
2009-02-02 15:16:40 -04:00
John Wiegley
b18214372e
Use > quoting characters when excerpting from the user's data file.
2009-02-02 00:28:12 -04:00
John Wiegley
42bed9c001
Added a missing brace.
2009-02-02 00:24:56 -04:00
John Wiegley
9540406af1
Simplified error context handling.
2009-02-02 00:24:26 -04:00
John Wiegley
fb5428ce85
Added support for metadata and tagging, and made regexs a first-class type.
2009-02-01 22:10:32 -04:00
John Wiegley
9d267fa133
Inspired by Omari Norman, I've rewritten main.cc so it's easy to approach.
2009-01-31 18:52:34 -04:00
John Wiegley
887828a40c
Increased copyright range to include 2009.
2009-01-20 01:53:31 -04:00
John Wiegley
93f884b5f2
The cleared or pending flag of a transaction overrides the flag for the entire
...
entry only if it is "more" cleared.
2009-01-14 00:32:02 -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