Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Allow opt -NDEBUG build to complete without warnings | John Wiegley | 2010-06-04 | 1 | -0/+2 | |
| | ||||||
* | Fixed two memory reference errors | John Wiegley | 2010-06-02 | 1 | -7/+6 | |
| | ||||||
* | If FMT_CUSTOM is given, and no format, use FMT_PRINTED | John Wiegley | 2010-05-22 | 1 | -2/+2 | |
| | ||||||
* | Report an error for incorrect dates like 2010/04/32 | John Wiegley | 2010-05-22 | 1 | -20/+34 | |
| | | | | Fixes EF57C685-2C18-49A1-9A8C-FB3BE6F99C41 | |||||
* | Updated copyrights to 2003-2010 | John Wiegley | 2010-03-05 | 1 | -1/+1 | |
| | ||||||
* | Restore "-p this" option (aka -p 'this month') | John Wiegley | 2010-01-21 | 1 | -11/+7 | |
| | ||||||
* | Fix for date parsing when no year is given | John Wiegley | 2010-01-16 | 1 | -1/+1 | |
| | ||||||
* | Don't rely on the integral value of a boolean | John Wiegley | 2009-11-20 | 1 | -2/+5 | |
| | ||||||
* | Guarded some debug code | John Wiegley | 2009-11-18 | 1 | -0/+2 | |
| | ||||||
* | The new period parser is passing all tests | John Wiegley | 2009-11-18 | 1 | -102/+173 | |
| | ||||||
* | The new period parser is implemented, but untested | John Wiegley | 2009-11-18 | 1 | -308/+651 | |
| | ||||||
* | Added a "range" member to date_interval_t | John Wiegley | 2009-11-18 | 1 | -11/+8 | |
| | | | | | | This is used to define the beginning/ending ranges of the time period, before it becomes fixed (by calling stabilize()) and then sets the values of start and end. | |||||
* | Added several new types for working with dates and ranges | John Wiegley | 2009-11-17 | 1 | -0/+288 | |
| | | | | | | | | | | | | | | | | | | | | | | | | date_specifier_t :: This is like a plain date_t, except it knows what wasn't specified. For example, if 2008/06 is parsed, it becomes date_specifier_t which knows that no day was given. If you ask for the begin() date of the specifier, it will be 2008/06/01; the end() date (which is exclusive) will be 2008/07/01. date_range_t :: A date range is a range of two specifiers, either of which (but not both) may be omitted. This makes it possible to represent expressions like "from june to july", where no day or year is given. The exact dates will be inferred by using the current year, and fixing the range from YEAR/06/01 to YEAR/07/01. That is, the range goes from the begin() of one date specifier to the begin() of the other. date_specifier_or_range_t :: A variadic type that can be either a date_specifier_t or a date_range_t. It's just a wrapper to represent the fact that ranges can be implicit via specifiers (such as, "in june"), or explicit via ranges ("since 2008"). | |||||
* | Moved date_interval_t::duration_t to date_duration_t | John Wiegley | 2009-11-17 | 1 | -29/+29 | |
| | ||||||
* | Added a date_traits_t type | John Wiegley | 2009-11-17 | 1 | -26/+24 | |
| | ||||||
* | Renamed date_interval_t::end to finish | John Wiegley | 2009-11-17 | 1 | -38/+38 | |
| | ||||||
* | Stylistic change: assert(0) -> assert(false) | John Wiegley | 2009-11-13 | 1 | -4/+4 | |
| | ||||||
* | Fixed issues with period strings like "2009/10" | John Wiegley | 2009-11-02 | 1 | -16/+24 | |
| | ||||||
* | date_interval_t now uses a duration_t object | John Wiegley | 2009-10-30 | 1 | -77/+45 | |
| | | | | This is instead of using boost::variant. | |||||
* | Support a --now option, for testing purposes | John Wiegley | 2009-10-27 | 1 | -0/+2 | |
| | | | | | | This sets Ledger's notion of the "current time" to the given date. This makes it possible to have stable output from budgeting and forecasting reports, for the sake of baseline tests. | |||||
* | Fixed the Boost facet-based time parsing code | John Wiegley | 2009-10-25 | 1 | -13/+24 | |
| | ||||||
* | Whitespace and comment changes | John Wiegley | 2009-10-25 | 1 | -10/+10 | |
| | ||||||
* | Rewrote the way date and time I/O is managed | John Wiegley | 2009-10-25 | 1 | -57/+288 | |
| | ||||||
* | Removed reliance on strptime/strftime | John Wiegley | 2009-10-11 | 1 | -90/+84 | |
| | | | | | | | | The code now uses Boost's input and output facets for times and dates. This ensures completely consistency regarding timezones and times, and fixes the regression test that was broken while I was away coding in London (where it was GMT-0 and I didn't notice the difference between local and GMT). | |||||
* | Correctly parse the range of period "june 2008" | John Wiegley | 2009-06-18 | 1 | -2/+6 | |
| | ||||||
* | Don't instantiate duration_t using default ctor | John Wiegley | 2009-03-23 | 1 | -10/+11 | |
| | ||||||
* | Rewrote the date interval parser/stepper | John Wiegley | 2009-03-23 | 1 | -15/+86 | |
| | | | | | The new implementation uses boost::gregorian::date_duration objects, rather than manually stepping. | |||||
* | The new code is working now. | John Wiegley | 2009-03-16 | 1 | -11/+12 | |
| | ||||||
* | Added feature to "align" the interval's start date | John Wiegley | 2009-03-15 | 1 | -36/+139 | |
| | ||||||
* | First iteration of the new date_interval_t rewrite | John Wiegley | 2009-03-15 | 1 | -119/+217 | |
| | ||||||
* | Enabled use of pre-compiled headers by default | John Wiegley | 2009-03-10 | 1 | -0/+2 | |
| | ||||||
* | Added support for "today" as a time period | John Wiegley | 2009-03-08 | 1 | -1/+11 | |
| | ||||||
* | Reduced the #include dependency tree to a minimum | John Wiegley | 2009-03-04 | 1 | -1/+1 | |
| | ||||||
* | Patched some date-sensitive tests | John Wiegley | 2009-03-02 | 1 | -1/+1 | |
| | ||||||
* | Corrected warnings g++-4.3.3 was complaining about | John Wiegley | 2009-02-28 | 1 | -1/+1 | |
| | ||||||
* | Marked all strings needing internationalization | John Wiegley | 2009-02-25 | 1 | -37/+37 | |
| | | | | | | | | | | | | | | | | These strings are now collected automagically in the file po/ledger.pot. If you'd like to produce a translation, just run this command after building Ledger: msginit -l LOCALE -o LANG.po -i po/ledger.pot Where LOCALE is a string like de or en_GB, and LANG is a short descriptive word for your language. Then send me this .po file so I can commit it to the Ledger sources (alternatively, you could maintain the file in a fork on GitHub), and setup the build script to format and install your new message catalog during a "make install". | |||||
* | Greatly improved the way "weeks" are iterated | John Wiegley | 2009-02-21 | 1 | -7/+45 | |
| | ||||||
* | Re-enabled parsing of timelog data | John Wiegley | 2009-02-19 | 1 | -4/+6 | |
| | ||||||
* | Parse 2004/01 as YYYY/mm | John Wiegley | 2009-02-18 | 1 | -0/+3 | |
| | ||||||
* | Fixed the way interval_t objects are initialized | John Wiegley | 2009-02-14 | 1 | -11/+9 | |
| | ||||||
* | Removed interval_t::advanced, which was unused | John Wiegley | 2009-02-14 | 1 | -3/+0 | |
| | ||||||
* | Rewrote the "entry" command. It's ALIVE! | John Wiegley | 2009-02-11 | 1 | -5/+13 | |
| | ||||||
* | Fixed the use of --effective and --date-format (-y). | John Wiegley | 2009-02-09 | 1 | -2/+4 | |
| | ||||||
* | Largely removed all of Ledger's use of global variables, for the REPL's sake. | John Wiegley | 2009-02-04 | 1 | -30/+13 | |
| | ||||||
* | Increased copyright range to include 2009. | John Wiegley | 2009-01-20 | 1 | -1/+1 | |
| | ||||||
* | Changed output_date_format to match 08-Aug-14 format. | John Wiegley | 2008-08-14 | 1 | -1/+1 | |
| | ||||||
* | Moved around most of the files so that source code is in src/, documentation | John Wiegley | 2008-08-05 | 1 | -0/+350 | |
is in doc/, etc. |