summaryrefslogtreecommitdiff
path: root/src/value.h
Commit message (Collapse)AuthorAgeFilesLines
* Use #pragma onceAlexis Hildebrandt2023-04-101-4/+1
|
* Update copyright yearAlexis Hildebrandt2023-02-021-1/+1
| | | | [skip ci]
* Update copyright statement for 2022Alexis Hildebrandt2022-07-021-1/+1
|
* Change header guard names to use `INCLUDED_` prefixPhil Newton2022-04-061-3/+3
| | | | Fixes #2049
* Drop conditionals for Boost earlier than 1.49Tim Landscheidt2019-01-171-9/+1
| | | | | | | Ledger requires Boost 1.49 or later and enforces this in CMakeLists.txt. This means BOOST_VERSION will always be 104900 or higher. Also, since Boost 1.46, BOOST_FILESYSTEM_VERSION is 3.
* [misc] Update year in copyright notice to 2017Alexis Hildebrandt2018-01-271-1/+1
| | | | [ci skip]
* [misc] Update year in copyright notice to 2017Alexis Hildebrandt2017-01-051-1/+1
| | | | [ci skip]
* [misc] Update year in copyright notice to 2016Alexis Hildebrandt2016-01-021-1/+1
| | | | [ci skip]
* Whitespace cleanupJohn Wiegley2015-08-041-1/+1
|
* [ledger] Remove --cache optionAlexis Hildebrandt2015-02-181-28/+0
| | | | and all boost serialisation related code.
* Bump copyright notice to 2015Alexis Hildebrandt2014-12-271-1/+1
| | | | | | The following script makes it a no-brainer: % NEXT_YEAR=2015; ag -l 'Copyright.*Wiegley' \ | xargs sed -i '' -e "s/\(Copyright.*\)-20[0-9]\{2\}/\1-${NEXT_YEAR}/"
* Bump copyright information to 2014Alexis Hildebrandt2014-02-021-1/+1
|
* Bump copyright information to 2013John Wiegley2013-02-181-1/+1
|
* Bug 634 Added roundto function, optimized floor and ceilingCraig Earls2013-01-301-0/+7
| | | | Fixes Bug634 by adding roundto(amount, places).
* Bug 634 and 488, Corrected behavior of floor, and added ceilingCraig Earls2012-10-251-0/+7
| | | | This is only a partial fix for 634, since rounding is not fixed.
* Converted the Ledger build system to use CMakeJohn Wiegley2012-05-201-2/+2
|
* Switched to Boost.PropertyTree for XML generationJohn Wiegley2012-05-181-1/+1
|
* Always call TRACE_CTOR at the end of constructorsJohn Wiegley2012-03-201-16/+18
|
* Tighten up argument passing related to fn_market()John Wiegley2012-03-111-5/+5
|
* Removed value_t::price and balance_t::priceJohn Wiegley2012-03-071-2/+0
|
* Increased file copyrights to 2012John Wiegley2012-02-291-1/+1
|
* Added value_t::to_size_t methodJohn Wiegley2012-02-171-10/+11
|
* Fixes for variable shadowing (28/28)John Wiegley2012-02-171-4/+4
|
* Work around a bug in Clang 3.0 (already fixed in pre-3.1)John Wiegley2012-02-101-1/+1
|
* Cleanup whitespaceJohn Wiegley2011-08-181-1/+1
|
* Added some debug codeJohn Wiegley2011-02-101-0/+4
|
* Removed an invalid called to VERIFY()John Wiegley2010-06-131-1/+0
|
* In value_t::_dup, test if storage is uninitializedJohn Wiegley2010-06-131-1/+1
|
* For value_t, use boost::any to refer to objectsJohn Wiegley2010-06-131-27/+54
|
* Moved value_t::label() to value.ccJohn Wiegley2010-06-131-33/+1
|
* Added a new scope_value() inline helper functionJohn Wiegley2010-06-131-0/+4
|
* Untabified all source filesJohn Wiegley2010-06-111-63/+63
|
* Use ptr_deque for value_t::sequence_tJohn Wiegley2010-06-101-3/+3
| | | | | | | | | This is to work around undefined behavior according to the Standard, [lib.res.on.functions]/2: "In particular, the effects are undefined in the following cases: [..] - if an incomplete type (3.9) is used as a template argument when instantiating a template component."
* A further simplification of -V and -XJohn Wiegley2010-06-071-2/+1
| | | | | | | | With -X COMM, all values are computed in terms of COMM, regardless. With -V, only secondary commodities will ever be computed, never primaries. Further, if a secondary commodities has an associated price, the valuation is done in terms of that price's commodity.
* amount_t::print and value_t::print now use flagsJohn Wiegley2010-06-071-5/+5
|
* Value expression sequences are now comparableJohn Wiegley2010-06-051-2/+0
| | | | Fixes #228 / ED9388D7-E523-40EB-841B-9AE9BAA70329
* Allow expr_t& to be passed in a value_tJohn Wiegley2010-05-081-2/+27
|
* Rewrite the "print" command as a custom functionJohn Wiegley2010-03-081-5/+5
| | | | | There ended up being too many corner cases for the generalized formatter to handle.
* Updated copyrights to 2003-2010John Wiegley2010-03-051-1/+1
|
* Many improvements to Ledger's Python bindingsJohn Wiegley2009-11-191-1/+1
|
* Added floored() and in_place_floor() methodsJohn Wiegley2009-11-111-0/+7
|
* account.amount and .total return simplified valuesJohn Wiegley2009-11-101-0/+2
|
* Added basic foundation for XML reportingJohn Wiegley2009-11-091-0/+2
|
* Redesigned the expr_t, predicate_t, query_t classesJohn Wiegley2009-11-091-0/+4
|
* Report sought magnitude when balancing errors occurJohn Wiegley2009-11-051-0/+2
|
* Added value_t::push_frontJohn Wiegley2009-11-041-1/+9
|
* Whitespace fixJohn Wiegley2009-11-041-2/+2
|
* Completed Python bindings for value_tJohn Wiegley2009-11-021-2/+1
|
* Added serialization methods for most typeJohn Wiegley2009-10-301-0/+28
| | | | | This allows journal_t objects to be completed serialized to disk and deserialized.
* Change the value_t::POINTER type to value_t::SCOPEJohn Wiegley2009-10-301-47/+17
| | | | | scope_t pointers are the only kind that are ever stored in value objects, so there was no need to make it generic and use boost::any.