Commit graph

614 commits

Author SHA1 Message Date
John Wiegley
cc38fc235f *** empty log message *** 2008-04-13 02:41:10 -04:00
John Wiegley
c15c053787 *** empty log message *** 2008-04-13 02:41:10 -04:00
John Wiegley
0185e53b99 Separate out the arguments, to be more compatible. 2008-04-13 02:41:10 -04:00
John Wiegley
3797cb1ad9 (amount_t::parse): Only set the SUFFIXED flag if there is actually a
commodity symbol.
2008-04-13 02:41:10 -04:00
John Wiegley
65bfc5756c (qif_parser_t::parse): Propogate commodity flags when parsing amounts
from a QIF file.
2008-04-13 02:41:10 -04:00
John Wiegley
e42c5c794f *** empty log message *** 2008-04-13 02:41:10 -04:00
John Wiegley
9dbfd484ca *** empty log message *** 2008-04-13 02:41:10 -04:00
John Wiegley
c8bbbf3f9c (sort_transactions::post_accumulated_xacts): Created this function so
that interval_transactions has a way to post sorted xacts without
calling flush().
2008-04-13 02:41:10 -04:00
John Wiegley
f8b45d534a *** empty log message *** 2008-04-13 02:41:09 -04:00
John Wiegley
e8e8fbe3d5 *** empty log message *** 2008-04-13 02:41:09 -04:00
John Wiegley
688f572ffd (clock_out_from_timelog): If a timelog file is left "open", clock out
at the present time.
2008-04-13 02:41:09 -04:00
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