Commit graph

27 commits

Author SHA1 Message Date
John Wiegley
41e8d1871e Changes to allow DATETIME values to be negated, for the purposes of reverse
sorting.
2008-07-17 22:23:14 -04:00
John Wiegley
d0669f8402 Removed implicit conversions from ledger::date_t to std::time_t, since this
operator was never been chosen over operator bool (and hence, all times
appeared as either 0 or 1).
2008-07-17 20:55:11 -04:00
John Wiegley
f482d120fd Correct several glaring issues with interval_t and the date parser, which has
all but entirely ruined Ledger's date handling capabilities.
2008-07-17 06:12:32 -04:00
John Wiegley
ef2dac2b50 datetime.h (class date_t, operator-): [#34] Changed two methods to allow
compiling under FreeBSD 8.  Functionality was not changed.
2008-05-07 03:40:52 -04:00
John Wiegley
671ccd16d4 Added a class operator hack to allow building on FreeBSD 8. 2008-04-13 06:04:24 -04:00
John Wiegley
96c0d67b96 Added a fix to allowing building on the latest version of BSD. 2008-04-13 05:11:08 -04:00
John Wiegley
050e87f4e3 Cast time_t object to long, for the sake of FreeBSD. 2008-04-13 05:07:28 -04:00
John Wiegley
db0ef2e257 *** empty log message *** 2008-04-13 02:41:32 -04:00
John Wiegley
9ec136db90 *** empty log message *** 2008-04-13 02:41:32 -04:00
John Wiegley
5a93d4819e Reworked the way date/times are handled. 2008-04-13 02:41:32 -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
96d6d62ad9 Began support for improved commodity handling. 2008-04-13 02:41:28 -04:00
John Wiegley
bff42f702a Added input_format' array, and made formats' external. 2008-04-13 02:41:10 -04:00
John Wiegley
282414d2f6 Whitespace changes. 2008-04-13 02:41:09 -04:00
John Wiegley
c9fb11bd60 updated to version 2.0 2008-04-13 02:40:47 -04:00
John Wiegley
a32173ace6 changes 2008-04-13 02:40:47 -04:00
John Wiegley
84259bde51 changed ledger.h to journal.h; moved adding of autoxact hook 2004-09-23 21:37:39 -04:00
John Wiegley
e1d6c4bff2 interval_t objects now play nicely with python. see the bottom of main.py 2004-09-10 18:38:52 -04:00
John Wiegley
6d5333b896 use value_t instead of balance_pair_t; gains for 10% binary, 2% textual 2004-08-21 23:18:45 -04:00
John Wiegley
bf923ab33e use std::auto_ptr wherever a thrown exception might otherwise leak memory 2004-08-19 03:28:48 -04:00
John Wiegley
8af33274fb more time interval support: last month, last feb, next year, etc. 2004-08-18 02:15:31 -04:00
John Wiegley
9d1bdd0989 added inclusion specifiers: -z june, -z 2004, -z "monthly in 2003", etc. 2004-08-18 01:20:01 -04:00
John Wiegley
fadab59e87 changes to value expressions, and to how the display predicate is computed 2004-08-17 18:19:25 -04:00
John Wiegley
7610aec86d added support for interval reporting; changed some option flags 2004-08-12 20:06:06 -04:00
John Wiegley
cd8f61fb2d more cleanup 2004-08-11 03:23:19 -04:00
John Wiegley
1741c80fe4 rewrote the way registers are computed -- again 2004-08-04 03:12:26 -04:00