summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Added support for "anonymizing" any report with --anon.John Wiegley2009-01-204-2/+94
|
* Increased copyright range to include 2009.John Wiegley2009-01-2087-89/+89
|
* Added a function for account_t to get the account's total cost.John Wiegley2009-01-191-0/+7
|
* Fixed the market valuation function for balances.John Wiegley2009-01-192-8/+11
|
* Don't calculate a reflexive price if a commodity has been marked as NOMARKET.John Wiegley2009-01-191-4/+3
|
* Got changed_value_xacts working again.John Wiegley2009-01-192-20/+9
|
* Make report_t a friend of format_t, so it can set the ANSI options.John Wiegley2009-01-191-0/+4
|
* Generate a better error if a function operand is invalid.John Wiegley2009-01-191-2/+1
|
* Allow var_t<datetime_t>.John Wiegley2009-01-191-0/+9
|
* When setting a scope's argument, convert the list to a sequence if it's notJohn Wiegley2009-01-191-2/+4
| | | | already.
* Added back several cost reporting options.John Wiegley2009-01-192-18/+53
|
* Pass in the total_expr directly to changed_value_xacts.John Wiegley2009-01-191-1/+2
|
* Added back the -V (market value) option.John Wiegley2009-01-192-0/+34
|
* Added the concept of a "display_total", used for showing the values in theJohn Wiegley2009-01-193-3/+16
| | | | | totals column of both the register and balance reports. This is different from the internal calculated total, which is still "total_expr".
* Instead of doing price annotations in the textual parser, useJohn Wiegley2009-01-191-3/+2
| | | | commodity_t::exchange.
* Changed COMMODITY_STYLE_NOMARKET TO COMMODITY_NOMARKET.John Wiegley2009-01-195-9/+12
|
* Added methods for getting the cost of an xact.John Wiegley2009-01-191-2/+38
|
* Don't look for an xact's state in its entry if there isn't one.John Wiegley2009-01-191-4/+6
|
* Can now determine the market value of balance pairs, even if stored withinJohn Wiegley2009-01-194-9/+72
| | | | value_t objects.
* Lookup commodity prices recursively, searching for the newest data.John Wiegley2009-01-192-28/+42
|
* Changed COMMODITY_STYLE_BUILTIN to COMMODITY_BUILTIN, and added new flagJohn Wiegley2009-01-192-8/+9
| | | | COMMODITY_WALKED, for avoiding infinite recursions during price lookups.
* Added a recursive, date-based commodity price searching capability. ThisJohn Wiegley2009-01-192-109/+254
| | | | | | makes it possible to find all possible prices for a commodity by walking the map of pricing relationships to all other commodities, even if the relation is distant.
* Added argument to amount_t::value() for request a market value in terms of aJohn Wiegley2009-01-192-8/+11
| | | | specific commodity.
* Create an unrounded global amount variable 'one' for creating inverse priceJohn Wiegley2009-01-192-3/+11
| | | | mappings.
* Allow the environment variable LEDGER_DEBUG to enable debugging.John Wiegley2009-01-191-0/+10
|
* Output newlines between entries using format strings, not hard-coded.John Wiegley2009-01-142-3/+1
|
* Whitespace fix.John Wiegley2009-01-141-4/+4
|
* The cleared or pending flag of a transaction overrides the flag for the entireJohn Wiegley2009-01-142-2/+7
| | | | entry only if it is "more" cleared.
* Added a missing call to _dup() in amount_t::in_place_round. Thanks to unitJohn Wiegley2008-11-231-0/+1
| | | | testing!
* Change default precision extension back to 6, rather than rewriting all of theJohn Wiegley2008-11-231-1/+1
| | | | unit tests. 6 was good enough.
* Needed to port skanthak's last commit to the master branch's code base.John Wiegley2008-11-231-2/+7
|
* Abstracted precision extension constant, and added a note that precision mustJohn Wiegley2008-11-232-8/+23
| | | | | be handled differently, since paying attention to places after the decimal is not enough.
* Fix --reconcile by terminating transaction list correctlySebastian Kanthak2008-11-231-2/+4
| | | | when a match is found.
* Corrected the way that scopes are found so that xact_t can also be found as anJohn Wiegley2008-10-291-32/+16
| | | | item_t (which it also is).
* Added code to recursively search for a price in a given commodity.John Wiegley2008-09-252-27/+111
|
* Did more restructing of commodity price histories, although the completedJohn Wiegley2008-09-213-86/+153
| | | | find_price does not work yet.
* Created several alternate 'value' methods to support the upcoming commodityJohn Wiegley2008-09-213-51/+90
| | | | valuation changes.
* Began initial work to support specifying a series of commodities to -V.John Wiegley2008-09-203-57/+107
|
* Commented out some dead code.John Wiegley2008-09-201-0/+2
|
* Cleaned up the way that commodity pricing is handled.John Wiegley2008-09-205-153/+64
|
* Changed some of the transaction flags, since all must fit in 8 bits.John Wiegley2008-09-192-14/+8
|
* Renamed a variable to be more consistent.John Wiegley2008-09-191-19/+19
|
* Changed debug class ledger.textual.parse to just textual.parse.John Wiegley2008-09-191-21/+21
|
* Removed unneeded NULL argument.John Wiegley2008-09-191-1/+1
|
* Renamed XACT_BALANCE flag to XACT_MUST_BALANCE.John Wiegley2008-09-193-8/+8
|
* Modified a debug class code.John Wiegley2008-09-191-9/+10
|
* When automatically associating lot details with a commodity, use only theJohn Wiegley2008-09-193-13/+7
| | | | | | price (based on the cost of the transactions), don't automatically use the date and the entry code -- since most people aren't going to be that specific at the time of sale, it's causes confusion in certain cases.
* Factored common parts of entry_t and xact_t into new item_tJohn Wiegley2008-09-1923-418/+442
|
* Corrected a harmless warning.John Wiegley2008-09-191-0/+2
|
* Changed a plain equality into a strcmp.John Wiegley2008-09-181-1/+6
|