John Wiegley
282414d2f6
Whitespace changes.
2008-04-13 02:41:09 -04:00
John Wiegley
ce7da4cec1
(first): Use std::localtime instead of std::gmtime. (increment): Use
...
std::localtime instead of std::gmtime.
2008-04-13 02:41:09 -04:00
John Wiegley
577767ea58
Use std::localtime instead of std::gmtime.
2008-04-13 02:41:09 -04:00
John Wiegley
357abd0f6e
*** empty log message ***
2008-04-13 02:41:09 -04:00
John Wiegley
0fdc3d67b6
(ledger-do-reconcile): If no output at all is generated by the "emacs"
...
command, do not trigger a Lisp error.
2008-04-13 02:41:09 -04:00
John Wiegley
5bc7f5d057
*** empty log message ***
2008-04-13 02:41:09 -04:00
John Wiegley
774d9860d8
*** empty log message ***
2008-04-13 02:41:09 -04:00
John Wiegley
2d4fc10ca4
(parse_transaction): If an account name matches an alias definition,
...
use the aliased account.
(parse): Added an "!alias ALIAS = ACCOUNT" directive, to make it
easier to manage long account names in a textual ledger file.
2008-04-13 02:41:09 -04:00
John Wiegley
7252b8a6cd
updated binary version number
2008-04-13 02:41:08 -04:00
John Wiegley
3b7d4f172d
*** empty log message ***
2008-04-13 02:41:08 -04:00
John Wiegley
1b18fd8a54
(quick_parse_date): Add 1900 to now_year, to counter the subtraction
...
that will occur in parse_date.
2008-04-13 02:41:08 -04:00
John Wiegley
46af400098
*** empty log message ***
2008-04-13 02:41:08 -04:00
John Wiegley
6adc5e7518
(quick_parse_date): [1178218] Fixed date problem by avoiding an
...
optimization that was being used before for the sake of the textual
parser.
2008-04-13 02:41:08 -04:00
John Wiegley
18881e9a51
*** empty log message ***
2008-04-13 02:41:08 -04:00
John Wiegley
fe4fc00dbe
Added missing colons.
2008-04-13 02:41:08 -04:00
John Wiegley
4ed5b62999
*** empty log message ***
2008-04-13 02:41:08 -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
c94210f5c5
*** empty log message ***
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
c80abc9a98
*** empty log message ***
2008-04-13 02:41:07 -04:00
John Wiegley
0bd520e5d7
(write_entry): Added filename to Emacs output, in preperation for
...
multi-file support.
2008-04-13 02:41:07 -04:00
John Wiegley
d79b1b6a48
(format): [1178223] Don't truncate to max_width in the case of
...
outputting balances.
2008-04-13 02:41:07 -04:00
John Wiegley
72d14a0bb3
Added direntry commands
2008-04-13 02:41:07 -04:00
John Wiegley
e586a8ebc8
*** empty log message ***
2008-04-13 02:41:07 -04:00
John Wiegley
f7090b1c33
(test): Sense of an #ifdef test was reversed somehow.
2008-04-13 02:41:07 -04:00
John Wiegley
56b5f5fcce
*** empty log message ***
2008-04-13 02:41:07 -04:00
John Wiegley
b671d2934b
minor bit twiddling
2008-04-13 02:41:07 -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
a1c6758265
(test): Added a test for the presence of <?xml... in the input stream;
...
if it is there, report an error based on whether XML support was
actually compiled in or not.
2008-04-13 02:41:07 -04:00
John Wiegley
5f33151837
Removed incorrect parameter.
2008-04-13 02:41:06 -04:00
John Wiegley
8187bd159d
doc updates
2008-04-13 02:41:06 -04:00
John Wiegley
ecee0bc921
*** empty log message ***
2008-04-13 02:41:06 -04:00
John Wiegley
60416b62c5
*** empty log message ***
2008-04-13 02:41:06 -04:00
John Wiegley
1823a2b886
(parse_conversion): When defining a commodity conversion, always mark
...
the larger unit as having no market value (the market price is
determined by looking up the base commodity and then multiplying).
2008-04-13 02:41:06 -04:00
John Wiegley
6083fe5777
*** empty log message ***
2008-04-13 02:41:06 -04:00
John Wiegley
675319a0b0
(value): Use `std::map<>::lower_bound' to search for the nearest price
...
item in a commodity's history list. This is much more efficient than
doing a reverse linear search.
2008-04-13 02:41:06 -04:00
John Wiegley
6a1071b289
*** empty log message ***
2008-04-13 02:41:06 -04:00
John Wiegley
3e8c04e5e1
Added missing `require' for eshell.
2008-04-13 02:41:06 -04:00
John Wiegley
03fe1c7697
*** empty log message ***
2008-04-13 02:41:05 -04:00
John Wiegley
1b30e1c5ad
(ledger-auto-reconcile): Added a note to the auto-reconcile prompt, to
...
remind people to use a negative amount for a liability.
2008-04-13 02:41:05 -04:00
John Wiegley
dea4d1c644
*** empty log message ***
2008-04-13 02:41:05 -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
57b470be97
(write_entry): If an entry is marked pending, output the `pending'
...
symbol in the Emacs output.
2008-04-13 02:41:05 -04:00
John Wiegley
e846d22fcf
Made several changes to the behavior of the reconciler: 1) Hitting
...
space marks entries as pending; use C-c C-c when you have achieved the
proper cleared balance, and all of the "pending" entries will be
marked clear and saved; 2) Using C-x C-s in the ledger data buffer
will refresh the currently open reconcile buffer; 3) C-l in the
reconcile buffer will now refresh the view (in case you wish to
refresh changes made in the ledger data buffer without saving that
buffer).
2008-04-13 02:41:05 -04:00
John Wiegley
9ff282bd11
(parse_entry): Parse the pending flag if a ! is used in place of *.
2008-04-13 02:41:05 -04:00
John Wiegley
0f98c9235f
*** empty log message ***
2008-04-13 02:41:05 -04:00
John Wiegley
816e15dcf8
*** empty log message ***
2008-04-13 02:41:05 -04:00
John Wiegley
30e6111b0f
(parse): Updated the "D" command to take a regular amount, from which
...
the default flags and precision for its commodity are determined.
2008-04-13 02:41:05 -04:00
John Wiegley
d83008166a
(parse): A fix to the way commodity flags are applied to newly parsed
...
commodities. This was needing for an edge-case involving commodities
that first appears as part of the cost (@ SPEC) of a transaction.
2008-04-13 02:41:05 -04:00
John Wiegley
0ce43eebae
*** empty log message ***
2008-04-13 02:41:04 -04:00