John Wiegley
c2761f4e90
Moved the occurance of "Error:" when reporting context.
2009-01-22 21:17:16 -04:00
John Wiegley
6fbf5c551e
Made the output from parse/compile commands more consistent.
2009-01-22 21:16:57 -04:00
John Wiegley
2332896810
Changed some debug strings when parsing/compiling valexprs.
2009-01-22 18:51:33 -04:00
John Wiegley
0b9f22b4d2
Redid the way command-line arguments are processed. Before, Ledger used - and
...
-- to mean special things after the command verb was seen. But now, what used
to be specified as this:
ledger -n reg cash -payable -- shell
Is now specified as this:
ledger reg -n cash not payable @shell
It could also be specified as:
ledger -n reg \(cash and not payable\) and @shell
2009-01-22 16:27:24 -04:00
John Wiegley
4e64364d3a
Removed an extra call to session.read_init().
2009-01-22 16:15:12 -04:00
John Wiegley
eb04b8be85
Changed the order in which options are processed, to provide for the correct
...
overrides.
1. Global defaults
2. Environment variable settings
3. Initialization file
4. Command-line arguments
Whatever is later in the list overrides what is earlier.
2009-01-21 18:54:06 -04:00
John Wiegley
887828a40c
Increased copyright range to include 2009.
2009-01-20 01:53:31 -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
1b083919c0
Restored the 'print' command.
2008-09-17 21:09:15 -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
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
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
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
548a03e725
Regular expressions supplied after 'reg' or 'bal' are working again.
2008-08-10 02:54:36 -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
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