summaryrefslogtreecommitdiff
path: root/src/value.h
Commit message (Collapse)AuthorAgeFilesLines
* Fixed an alignment bug in value context displayJohn Wiegley2009-02-241-3/+1
|
* Added non-const value_t::begin and value_t::endJohn Wiegley2009-02-231-0/+12
|
* Push a sequence onto a sequence only appends nowJohn Wiegley2009-02-231-8/+1
| | | | Previously, it would merge sequences A and B.
* Added --exchange (-x) optionJohn Wiegley2009-02-221-2/+3
| | | | | | | This is like -V, except it lets you specify the goal commodity to report in terms of, for example: reg -x CAD
* Fixed the way values are justified for printingJohn Wiegley2009-02-221-3/+4
|
* Fixed a memory leak in value_t::storage_tJohn Wiegley2009-02-211-12/+16
|
* Restored the --budget optionJohn Wiegley2009-02-201-2/+2
|
* Moved amount_t::right_justify to simply ::justifyJohn Wiegley2009-02-191-2/+2
|
* Changed some value_t method namesJohn Wiegley2009-02-161-2/+2
| | | | | | | - simplify -> simplified - cast -> casted This is to differentiate them from in_place_cast and in_place_simplify.
* Removed "total_cost" valexpr, and value_t::costJohn Wiegley2009-02-151-2/+0
| | | | | Since cost reports are now calculated by setting the amount_ expression, there is no need to track a separate "total cost" entity.
* Renamed a function to sort_value_is_less_thanJohn Wiegley2009-02-121-2/+2
| | | | | The purpose was to provided a clearer relationship between the function name and its expected arguments.
* Sorting expr now uses "-" to indicate descendingJohn Wiegley2009-02-121-0/+11
| | | | | For example: -S payee,-date sorts 1) ascending by payee, then 2) descending by date.
* Made (un)reduce rvalue methods more consistentJohn Wiegley2009-02-121-2/+2
| | | | | | They names were changed from reduce/unreduce to reduced/unreduced, since they return the modified value. This is more consistent with the naming of rounded/rounded.
* Added validation code for mask_t objects.John Wiegley2009-02-121-0/+2
|
* Moved value_t::set_type into value.cc, since it had grown.John Wiegley2009-02-121-18/+1
|
* Inlined value_t::_clear(), since it only had one caller.John Wiegley2009-02-121-17/+9
|
* A fix to the last fix.John Wiegley2009-02-101-1/+0
|
* A fix for users of Boost 1.35.John Wiegley2009-02-101-2/+17
|
* Changed value_t to use boost::any (more type-safe).John Wiegley2009-02-101-75/+80
|
* Removed the balance_pair_t type, since it's now an unneeded abstraction.John Wiegley2009-02-091-50/+11
| | | | | This type was a holdback from the days before the amount_expr was used everywhere to determine a transaction's value.
* amount_t::in_place_* now returns void. Added value_t::unreduce.John Wiegley2009-02-071-0/+7
|
* Largely removed all of Ledger's use of global variables, for the REPL's sake.John Wiegley2009-02-041-7/+7
|
* Removed the binary caching code, and the XML, QIF and Gnucash parsers.John Wiegley2009-02-031-18/+0
|
* Fixed some warnings caused by using g++ 4.3.John Wiegley2009-02-021-1/+1
|
* Simplified error context handling.John Wiegley2009-02-021-1/+0
|
* Added support for metadata and tagging, and made regexs a first-class type.John Wiegley2009-02-011-0/+35
|
* Moved the pre-commands to their own file, and created new "args" command.John Wiegley2009-02-011-0/+10
|
* Values can now be streamed to XML, and all the types they refer to.John Wiegley2009-02-011-0/+9
|
* Rationals based math is now passing the unit tests.John Wiegley2009-01-311-5/+3
|
* Changed to using rational numbers instead of integer approximations.John Wiegley2009-01-301-0/+2
| | | | | As a result, dependency on the gdtoa was dropped, and dependency on mpfr was added.
* Removed all dependency on gdtoa.John Wiegley2009-01-301-8/+1
|
* Update Doxygen documentation. Still much more work to be done.John Wiegley2009-01-291-4/+3
|
* Changed around the ==, < and > operators in value.h to be correct.John Wiegley2009-01-281-4/+9
|
* Added is_nonzero and a stream-based read() method to value_t.John Wiegley2009-01-261-0/+5
|
* Corrected a parse-time optimization of "! CONSTANT".John Wiegley2009-01-221-0/+1
|
* Increased copyright range to include 2009.John Wiegley2009-01-201-1/+1
|
* Can now determine the market value of balance pairs, even if stored withinJohn Wiegley2009-01-191-1/+2
| | | | value_t objects.
* Added in_place_round method to all Ledger numerical types.John Wiegley2008-09-141-0/+1
|
* Removed more "pending" type comments.John Wiegley2008-08-171-2/+0
|
* Regular expressions supplied after 'reg' or 'bal' are working again.John Wiegley2008-08-101-14/+11
|
* Basic balance reports are working again!John Wiegley2008-08-101-0/+9
|
* Updated the Doxygen docs so that all the core numerics files are in the sameJohn Wiegley2008-08-051-0/+6
| | | | module group.
* Moved around most of the files so that source code is in src/, documentationJohn Wiegley2008-08-051-0/+922
is in doc/, etc.