John Wiegley
04dfda2282
Made separate modules for the csv command, since the prior method was
...
not fully correct.
2008-04-13 02:41:33 -04:00
John Wiegley
5a93d4819e
Reworked the way date/times are handled.
2008-04-13 02:41:32 -04:00
John Wiegley
a5aff9eee9
Several fixes to lot price handling.
2008-04-13 02:41:31 -04:00
John Wiegley
44561c1c1d
Further refinement of commodity lot information.
2008-04-13 02:41:31 -04:00
John Wiegley
c8ebf53ed8
*** empty log message ***
2008-04-13 02:41:31 -04:00
John Wiegley
32bdfe20d9
Tons of corrections and fixes to value expressions and lot figures.
2008-04-13 02:41:31 -04:00
John Wiegley
ab748ed13e
*** empty log message ***
2008-04-13 02:41:31 -04:00
John Wiegley
9800e3febc
*** empty log message ***
2008-04-13 02:41:31 -04:00
John Wiegley
2964dd15b2
*** empty log message ***
2008-04-13 02:41:30 -04:00
John Wiegley
30f79b0761
*** empty log message ***
2008-04-13 02:41:30 -04:00
John Wiegley
82d0ee869b
Added --ansi and --ansi-invert options.
2008-04-13 02:41:30 -04:00
John Wiegley
4f83a2bf8f
Added new --descend option.
2008-04-13 02:41:30 -04:00
John Wiegley
e32d9e64a7
Added much better error location.
2008-04-13 02:41:29 -04:00
John Wiegley
b737cd8e6d
Added a DATETIME value type.
2008-04-13 02:41:29 -04:00
John Wiegley
7acc1306d9
*** empty log message ***
2008-04-13 02:41:29 -04:00
John Wiegley
2ebfddf401
Began support for improved commodity handling.
2008-04-13 02:41:28 -04:00
John Wiegley
96d6d62ad9
Began support for improved commodity handling.
2008-04-13 02:41:28 -04:00
John Wiegley
a597b0fb5e
Further improvements to lot pricing.
2008-04-13 02:41:27 -04:00
John Wiegley
7901598f1d
Checked in all major updates.
2008-04-13 02:41:27 -04:00
John Wiegley
56e95af8e0
(config_t::regexps_to_predicate): Don't set the display predicate to
...
show only matching accounts when the --related flag is in use (which
was effectively masking out the whole point of using --related with
balance reports).
2008-04-13 02:41:26 -04:00
John Wiegley
9545b22b41
*** empty log message ***
2008-04-13 02:41:26 -04:00
John Wiegley
7a44b2e367
*** empty log message ***
2008-04-13 02:41:23 -04:00
John Wiegley
4aea9709bb
Made several changes to the parsing infrastructure to allow passing
...
the "config_t" object around. This is needed for parsing option
settings in the initialization file.
2008-04-13 02:41:23 -04:00
John Wiegley
a8012940f4
Removed Python integration support.
2008-04-13 02:41:21 -04:00
John Wiegley
2d7d6c6f15
Added support for outputting to CSV format.
2008-04-13 02:41:21 -04:00
John Wiegley
f691735c6c
Restructed the code that it can build and be used as a shared library.
...
The command-line version is still statically bound in the build
process by default (for the sake of speed).
2008-04-13 02:41:21 -04:00
John Wiegley
00fe8bc815
Added a `terminus' global, which if set marks the "current time" as
...
seen by the value expression logic. This has the effect of changing
valexprs that test against the current time, such as for calculating
the market value of commodities.
2008-04-13 02:41:20 -04:00
John Wiegley
aa4cb6c371
When computing a report period, use the direct results of the parse
...
rather than passing back to --begin and --end.
2008-04-13 02:41:19 -04:00
John Wiegley
eb0525e315
See ChangeLog
2008-04-13 02:41:19 -04:00
John Wiegley
a53f44ecda
Support has been added for clearing of individual transactions. Set
...
`ledger-clear-whole-entries' in Emacs to revert to the old behavior.
2008-04-13 02:41:19 -04:00
John Wiegley
b462a8bf50
*** empty log message ***
2008-04-13 02:41:18 -04:00
John Wiegley
b40006f450
Changed the --begin and --end switches to rely on interval parsing to
...
determine the beginning and ending of their range. Also, the ending
is now inclusive.
2008-04-13 02:41:17 -04:00
John Wiegley
d65a758c84
Moved the setting of time quantities to the commodity initialization
...
section.
2008-04-13 02:41:16 -04:00
John Wiegley
cf83c024d9
*** empty log message ***
2008-04-13 02:41:16 -04:00
John Wiegley
c29eed174d
(process_options): Test the "i" and "arg" variables thoroughly before
...
making use of either one of them.
2008-04-13 02:41:16 -04:00
John Wiegley
46978b2d5d
(regexps_to_predicate): Don't modify the display predicate for balance
...
commands if a payee regexp is being processed.
2008-04-13 02:41:15 -04:00
John Wiegley
e00c568add
When --input-date-format is seen, don't wipe out the rest of the date
...
formats, simply replace the first one. Then, when --period is seen,
use the first date format as the template for what to pass to the
begin/end options.
2008-04-13 02:41:14 -04:00
John Wiegley
29eeae9b1c
(process_options): Corrected a long-standing error with using "--" to
...
separate payee regexps from account regexps.
2008-04-13 02:41:14 -04:00
John Wiegley
6d7827af5a
Added --input-date-format, which affects how dates in textual and QIF
...
files are parsed -- but not the dates inside a price database, whose
format is fixed.
2008-04-13 02:41:10 -04:00
John Wiegley
577767ea58
Use std::localtime instead of std::gmtime.
2008-04-13 02:41:09 -04:00
John Wiegley
a4d4c1af8b
(process_options): Show all register entries, even those with null
...
value, if -E is used.
2008-04-13 02:41:08 -04:00
John Wiegley
35bfc958f2
(config_t): Corrected a value in the register format.
2008-04-13 02:41:08 -04:00
John Wiegley
d790a3ad60
(show_version): In the version page output all of the modules which
...
support has been compiled in for. This will make tracking down
certain problems much quicker.
2008-04-13 02:41:07 -04:00
John Wiegley
8187bd159d
doc updates
2008-04-13 02:41:06 -04:00
John Wiegley
ba8981a3f6
Removed the --reconcilable option, since the pending flag is now being
...
used.
2008-04-13 02:41:05 -04:00
John Wiegley
48cb87b8bd
formatting changes
2008-04-13 02:41:04 -04:00
John Wiegley
9bdd1ea9f6
(export_config): Added export entries for the reconcile_balance and
...
reconcile_date options.
2008-04-13 02:41:02 -04:00
John Wiegley
1c0a061675
(export_config): Added missing config members for Python.
2008-04-13 02:41:01 -04:00
John Wiegley
8fd5f4ee57
Added support for "--pager PROGRAM". A likely way to define it in
...
your login file would be: "export LEDGER_PAGER=$PAGER".
2008-04-13 02:41:00 -04:00
John Wiegley
65b2181860
Added new --head and --tail options, which control how many *entries*
...
are displayed in a register report or print report. The UNIX commands
"head" and "tail" can be used to control how many transactions are
displayed.
2008-04-13 02:40:59 -04:00