Commit graph

33 commits

Author SHA1 Message Date
Nathan Jones
885355f367 Fix compile errors with gcc 4.3 2008-05-23 01:29:12 -06:00
Nathan Jones
780135281d Fix compile errors with gcc 4.3 2008-05-20 17:13:34 -06:00
John Wiegley
ecdd4198ba Increment month days, not months, when calculating a date. 2008-04-13 05:07:14 -04:00
John Wiegley
c83ec7885b Added debug.h include for clean compilation on Debian systems. 2008-04-13 05:04:07 -04:00
John Wiegley
f9b874e1cb Added elision styles. 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
71a0ad82b9 (parse): The period phrase "every month" was not working (it required
you to say "every monthly").
2008-04-13 02:41:23 -04:00
John Wiegley
d9102c7559 (increment): When calculating time interval increments, set tm_isdst
to zero to avoid gaining or losing a day because of daylight savings
time.
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
ac5f42fd30 (parse_inclusion_specifier): When a specific day is given as a date
specifier, set the end of the "range" to be the beginning of the next
day, rather than the beginning of the next month.
2008-04-13 02:41:18 -04:00
John Wiegley
bff42f702a Added input_format' array, and made formats' external. 2008-04-13 02:41:10 -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
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
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
e6a0e86235 (export_datetime): Exposed "parse_date" function. 2008-04-13 02:41:03 -04:00
John Wiegley
1c7669671c Changes to support building with gcc 2.95. 2008-04-13 02:40:57 -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
e9f0dc8bb9 fix to date mask parsing; put in a safety cutoffs when asserts are enabled 2004-09-23 01:52:47 -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
1fd37a432d cleanup; fully switched to autoconf -- use scripts/acprep 2004-08-24 02:11:32 -04:00
John Wiegley
7dbd7bce59 more cleanup 2004-08-21 04:58:49 -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
cd7d7e5b88 slight fixes 2004-08-17 01:50:38 -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