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
John Wiegley
25655cf91a
(main): Do not sync I/O streams with stdio, since I do not use stdin,
...
stdout or stderr.
2008-04-13 02:41:04 -04:00
John Wiegley
5c25fc413c
*** empty log message ***
2008-04-13 02:41:04 -04:00
John Wiegley
e75b9b800e
*** empty log message ***
2008-04-13 02:41:04 -04:00
John Wiegley
47c17a9433
*** empty log message ***
2008-04-13 02:41:04 -04:00
John Wiegley
6a5465588e
(ledger-add-entry): Use Eshell to do argument parsing, since that's
...
the easiest way to tell if '1 "2 3" 4' contains three arguments or
four.
2008-04-13 02:41:04 -04:00
John Wiegley
2cf6fe3fc7
(process_environment): If the environment tag is NULL (which is really
...
should never be), then don't use it.
2008-04-13 02:41:04 -04:00
John Wiegley
cd339f9ddc
(parse_and_report): If XML support was not compiled in, generate an
...
error when the "xml" command is used.
2008-04-13 02:41:04 -04:00
John Wiegley
48cb87b8bd
formatting changes
2008-04-13 02:41:04 -04:00
John Wiegley
fed917dd8e
doc updates
2008-04-13 02:41:04 -04:00
John Wiegley
1f68d9609e
*** empty log message ***
2008-04-13 02:41:03 -04:00
John Wiegley
ee70474d93
*** empty log message ***
2008-04-13 02:41:03 -04:00
John Wiegley
a2be29b0b6
*** empty log message ***
2008-04-13 02:41:03 -04:00
John Wiegley
5200ff436c
Enabled the --reconcile option, since everything it relies on is now
...
exposed through python.
2008-04-13 02:41:03 -04:00
John Wiegley
06c0e4707a
(ledger-auto-reconcile): If auto-reconciling fails, report an error in
...
the minibuffer.
2008-04-13 02:41:03 -04:00
John Wiegley
c0285de46b
Moved `format_xml_entries' to xml.cc.
2008-04-13 02:41:03 -04:00
John Wiegley
e6a0e86235
(export_datetime): Exposed "parse_date" function.
2008-04-13 02:41:03 -04:00
John Wiegley
230143478a
*** empty log message ***
2008-04-13 02:41:03 -04:00
John Wiegley
3ddd46c307
(format_xml_entries): Moved the stream finalization to flush(), where
...
it belongs.
2008-04-13 02:41:03 -04:00
John Wiegley
a9c7a86ffa
*** empty log message ***
2008-04-13 02:41:03 -04:00
John Wiegley
720042084d
Added code for using reconcile_transactions, but it still need som
...
eporting.
2008-04-13 02:41:02 -04:00
John Wiegley
2d3e852d30
(chain_xact_handlers): Chain the reconcile_transactions handler the
...
same way as everything else.
2008-04-13 02:41:02 -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
41a66cb0bf
(initialize_ledger_for_python): Added initialization call for the
...
reconciler.
2008-04-13 02:41:02 -04:00
John Wiegley
51ca2ca08d
(transaction_xdata_t): Added a `ptr' void *, for general use. The
...
reconcile_transactions handler uses it.
2008-04-13 02:41:02 -04:00
John Wiegley
5ac4ab2fd5
Converted the reconciler into an item_handler, so that it interacts
...
with the core the same way as everything else.
2008-04-13 02:41:02 -04:00
John Wiegley
7eafc0d9ca
bug fix
2008-04-13 02:41:02 -04:00
John Wiegley
fa8f20884b
*** empty log message ***
2008-04-13 02:41:02 -04:00
John Wiegley
e474b0ed62
Added calls for `export_emacs', to expose FormatEmacsTransactions.
2008-04-13 02:41:02 -04:00