ledger/src
John Wiegley 3e91c3bf2c Added several new types for working with dates and ranges
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").
2009-11-17 22:23:46 -05:00
..
account.cc Added historical support for single-letter valexprs 2009-11-14 03:11:48 -05:00
account.h Added has_xdata() methods for journal_t and xact_t 2009-11-12 05:11:06 -05:00
accum.cc Fixed many compiler warnings from g++ 4.4 2009-10-25 05:01:39 -04:00
accum.h Removed a bunch of empty comments 2009-11-08 14:59:11 -05:00
amount.cc Made the amount_t::bigint_t refcount holder 32-bits 2009-11-14 06:25:27 -05:00
amount.h Added floored() and in_place_floor() methods 2009-11-11 03:39:53 -05:00
annotate.cc Redesigned the expr_t, predicate_t, query_t classes 2009-11-09 02:06:06 -05:00
annotate.h XML reporting now works via the "xml" command 2009-11-09 03:42:35 -05:00
archive.cc session_t now holds a std::auto_prt<journal_t> 2009-11-12 03:32:10 -05:00
archive.h session_t now holds a std::auto_prt<journal_t> 2009-11-12 03:32:10 -05:00
balance.cc Added basic foundation for XML reporting 2009-11-09 02:17:26 -05:00
balance.h Added floored() and in_place_floor() methods 2009-11-11 03:39:53 -05:00
chain.cc Added --date, similar to --account and --payee 2009-11-11 21:32:32 -05:00
chain.h Removed a bunch of empty comments 2009-11-08 14:59:11 -05:00
commodity.cc Fixed several time and date duration type uses 2009-11-17 21:28:43 -05:00
commodity.h XML reporting now works via the "xml" command 2009-11-09 03:42:35 -05:00
compare.cc Whitespace fix 2009-11-10 02:25:36 -05:00
compare.h Removed a bunch of empty comments 2009-11-08 14:59:11 -05:00
draft.cc Added some missing calls to add_post 2009-11-11 04:35:18 -05:00
draft.h Stylistic change: assert(0) -> assert(false) 2009-11-13 01:48:32 -05:00
emacs.cc Removed most #if 0 blocks and callout comments 2009-10-31 04:50:07 -04:00
emacs.h Removed a bunch of empty comments 2009-11-08 14:59:11 -05:00
error.cc Added a few more missing casts 2009-10-31 00:43:16 -04:00
error.h Removed a bunch of empty comments 2009-11-08 14:59:11 -05:00
expr.cc If -v is used, valexpr errors are more informative 2009-11-10 02:25:49 -05:00
expr.h Redesigned the expr_t, predicate_t, query_t classes 2009-11-09 02:06:06 -05:00
exprbase.h Redesigned the format_t class 2009-11-09 02:06:08 -05:00
filters.cc Renamed date_interval_t::end to finish 2009-11-17 21:51:51 -05:00
filters.h Removed the virtual marker on several filter methods 2009-11-14 03:16:44 -05:00
flags.h Removed a bunch of empty comments 2009-11-08 14:59:11 -05:00
format.cc Optimization in the formatting of string values 2009-11-14 02:49:38 -05:00
format.h Moving the #include of unistring.h into format.h 2009-11-10 18:43:38 -05:00
generate.cc Removed most #if 0 blocks and callout comments 2009-10-31 04:50:07 -04:00
generate.h Removed a bunch of empty comments 2009-11-08 14:59:11 -05:00
global.cc Moved report normalization into report.cc 2009-11-12 03:31:53 -05:00
global.h Moved report normalization into report.cc 2009-11-12 03:31:53 -05:00
interactive.cc Redesigned the expr_t, predicate_t, query_t classes 2009-11-09 02:06:06 -05:00
interactive.h Removed a bunch of empty comments 2009-11-08 14:59:11 -05:00
item.cc Made the transaction date parser a bit more strict 2009-11-15 05:49:52 -05:00
item.h --data shouldn't modify the underlying item 2009-11-12 18:23:22 -05:00
iterators.cc Changed protection level of many parts of commodity_t 2009-11-02 17:05:51 -05:00
iterators.h Removed a bunch of empty comments 2009-11-08 14:59:11 -05:00
journal.cc Added has_xdata() methods for journal_t and xact_t 2009-11-12 05:11:06 -05:00
journal.h Added has_xdata() methods for journal_t and xact_t 2009-11-12 05:11:06 -05:00
main.cc Construct global_scope object within the exception handler 2009-10-31 04:07:41 -04:00
mask.cc Added support for Boost.Regex w/ ICU 2009-11-07 08:34:13 -05:00
mask.h Fix to the XML code for ICU users 2009-11-09 14:05:01 -05:00
op.cc Fixes to the value expression parser and evaluator 2009-11-10 02:26:20 -05:00
op.h Fixes to the value expression parser and evaluator 2009-11-10 02:26:20 -05:00
option.cc Redesigned the expr_t, predicate_t, query_t classes 2009-11-09 02:06:06 -05:00
option.h Removed a bunch of empty comments 2009-11-08 14:59:11 -05:00
output.cc Added a --prepend-format option 2009-11-11 02:01:24 -05:00
output.h Added a --prepend-format option 2009-11-11 02:01:24 -05:00
parser.cc Fixes to the value expression parser and evaluator 2009-11-10 02:26:20 -05:00
parser.h Redesigned the expr_t, predicate_t, query_t classes 2009-11-09 02:06:06 -05:00
pool.cc Added Python interface for commodity_t 2009-11-02 21:55:53 -05:00
pool.h Removed a bunch of empty comments 2009-11-08 14:59:11 -05:00
post.cc Added historical support for single-letter valexprs 2009-11-14 03:11:48 -05:00
post.h Removed post_t::xdata_t::ptr, which is not used 2009-11-14 06:11:18 -05:00
precmd.cc Renamed date_interval_t::end to finish 2009-11-17 21:51:51 -05:00
precmd.h Removed a bunch of empty comments 2009-11-08 14:59:11 -05:00
predicate.cc Added new file relating to query_t -> predicate_t 2009-11-10 02:59:23 -05:00
predicate.h query_t objects are now convertible to predicate_t 2009-11-10 02:43:52 -05:00
pstream.h Removed a bunch of empty comments 2009-11-08 14:59:11 -05:00
py_account.cc Simplified passing of scope objects in Python 2009-11-05 17:16:59 -05:00
py_amount.cc Added floored() and in_place_floor() methods 2009-11-11 03:39:53 -05:00
py_balance.cc Added floored() and in_place_floor() methods 2009-11-11 03:39:53 -05:00
py_commodity.cc Simplified passing of scope objects in Python 2009-11-05 17:16:59 -05:00
py_expr.cc Enabled use of pre-compiled headers by default 2009-03-10 17:02:03 -04:00
py_format.cc Enabled use of pre-compiled headers by default 2009-03-10 17:02:03 -04:00
py_item.cc Made many object methods in Python properties 2009-11-05 02:27:42 -05:00
py_journal.cc Fixed an internal reference issue with Python 2009-11-14 06:11:45 -05:00
py_post.cc Fixed an internal reference issue with Python 2009-11-14 06:11:45 -05:00
py_times.cc Added implicit Python conversion of time_duration_t 2009-11-10 20:52:36 -05:00
py_utils.cc All strings passed to Python are now Unicode objects 2009-11-10 18:44:08 -05:00
py_value.cc Value.to_sequence returns a valid Python sequence 2009-11-11 04:46:38 -05:00
py_xact.cc Added has_xdata() methods for journal_t and xact_t 2009-11-12 05:11:06 -05:00
pyfstream.h Fixed many compiler warnings from g++ 4.4 2009-10-25 05:01:39 -04:00
pyinterp.cc Added another catch handler for Python exceptions 2009-11-14 06:11:58 -05:00
pyinterp.h Fixes to Python importing; removed "hello" precommand 2009-11-10 14:16:40 -05:00
pyledger.cc Enabled use of pre-compiled headers by default 2009-03-10 17:02:03 -04:00
pyutils.h All strings passed to Python are now Unicode objects 2009-11-10 18:44:08 -05:00
query.cc Renamed date_interval_t::end to finish 2009-11-17 21:51:51 -05:00
query.h Some reformatting in query.h 2009-11-17 21:29:33 -05:00
quotes.cc Removed most #if 0 blocks and callout comments 2009-10-31 04:50:07 -04:00
quotes.h Removed a bunch of empty comments 2009-11-08 14:59:11 -05:00
report.cc Renamed date_interval_t::end to finish 2009-11-17 21:51:51 -05:00
report.h Don't bold the payee for virtual or temporary xacts 2009-11-13 19:00:45 -05:00
scope.cc Moved journal reading code into journal_t 2009-11-05 02:27:42 -05:00
scope.h Redesigned the format_t class 2009-11-09 02:06:08 -05:00
session.cc session_t now holds a std::auto_prt<journal_t> 2009-11-12 03:32:10 -05:00
session.h session_t now holds a std::auto_prt<journal_t> 2009-11-12 03:32:10 -05:00
stats.cc Redesigned the draft_t class 2009-11-09 02:06:08 -05:00
stats.h Removed a bunch of empty comments 2009-11-08 14:59:11 -05:00
stream.cc Use boost::iostreams::file_descriptor_sink 2009-10-25 04:28:49 -04:00
stream.h Reduced the #include dependency tree to a minimum 2009-03-04 23:53:43 -04:00
system.hh.in Value.to_sequence returns a valid Python sequence 2009-11-11 04:46:38 -05:00
temps.cc Fixed NULL pointer bug if --account=EXPR is invalid 2009-11-06 02:39:35 -05:00
temps.h Removed a bunch of empty comments 2009-11-08 14:59:11 -05:00
textual.cc Made the account and tag directives more rational 2009-11-15 05:49:54 -05:00
timelog.cc Added some missing calls to add_post 2009-11-11 04:35:18 -05:00
timelog.h Timeclock events now record their file position 2009-11-11 02:01:34 -05:00
times.cc Added several new types for working with dates and ranges 2009-11-17 22:23:46 -05:00
times.h Added several new types for working with dates and ranges 2009-11-17 22:23:46 -05:00
token.cc Redesigned the expr_t, predicate_t, query_t classes 2009-11-09 02:06:06 -05:00
token.h Redesigned the expr_t, predicate_t, query_t classes 2009-11-09 02:06:06 -05:00
unistring.h Removed a bunch of empty comments 2009-11-08 14:59:11 -05:00
utils.cc Fixed some debug output 2009-11-13 01:48:13 -05:00
utils.h Added ledger::string(Iter, Iter) constructor 2009-11-17 21:28:56 -05:00
value.cc Fixed several time and date duration type uses 2009-11-17 21:28:43 -05:00
value.h Added floored() and in_place_floor() methods 2009-11-11 03:39:53 -05:00
xact.cc Changed a use of balance_error to amount_error 2009-11-14 06:12:10 -05:00
xact.h Memoize results from the fast predicate matcher 2009-11-14 04:29:53 -05:00
xml.cc XML reporting now works via the "xml" command 2009-11-09 03:42:35 -05:00
xml.h Added basic foundation for XML reporting 2009-11-09 02:17:26 -05:00