summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Use boost::iostreams::file_descriptor_sinkJohn Wiegley2009-10-252-2/+5
| | | | This is instead of the custom fdstream.hpp file I was distributing.
* Removed reliance on strptime/strftimeJohn Wiegley2009-10-117-122/+118
| | | | | | | | 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).
* Added some missing casts, upgraded to Boost 1.40John Wiegley2009-10-092-2/+3
|
* The print command now implies --actualJohn Wiegley2009-06-281-0/+3
|
* Disable use of ~/.pricedb when --args-only is presentJohn Wiegley2009-06-281-0/+2
|
* Date and time are optional for pricing directivesJohn Wiegley2009-06-281-2/+8
|
* value_t::dump now faithfully represents stringsJohn Wiegley2009-06-281-1/+15
|
* Reject downloaded quotes price in the wrong commodityJohn Wiegley2009-06-281-1/+4
|
* Correctly align amounts formatted as "%12(amount)"John Wiegley2009-06-281-1/+2
|
* Added debug code "option.names"John Wiegley2009-06-271-0/+1
| | | | Use "--debug option.names" to see all accepted (internal) option names.
* Improved usefulness of the "print --anon" outputJohn Wiegley2009-06-271-4/+23
|
* Removed some dead codeJohn Wiegley2009-06-274-19/+4
|
* Restored --price option, added baseline testJohn Wiegley2009-06-268-7/+60
| | | | | | | This option reports only in terms of the annotated price of the commodities involved, otherwise it reports the amounts themselves. It can be used in conjunction with other reports, as it applies to the displayed amounts, not the actual amounts being calculated.
* The --download option is now fully restoredJohn Wiegley2009-06-269-31/+42
|
* More refactoring for --downloadJohn Wiegley2009-06-247-33/+63
|
* Moved commodity_quote_from_script to quotes.ccJohn Wiegley2009-06-242-78/+45
|
* Moved a functionJohn Wiegley2009-06-241-96/+37
|
* Split commodity.h/cc into three filesJohn Wiegley2009-06-2418-794/+1000
| | | | | | commodity.h - code for commodity_t annotate.h - commodity annotations pool.h - commodity pool management
* Removed unneeded header files: ledger.h, pyledger.hJohn Wiegley2009-06-242-117/+0
|
* Restored --download, although not done yetJohn Wiegley2009-06-248-83/+164
| | | | | | The problem at this point is that it's recording prices in the price database multiple times; it should only need to download a price for each commodity once per day.
* Fixed the --args-only option (sequence problem)John Wiegley2009-06-221-2/+7
|
* Added a --no-color option, to disable --colorJohn Wiegley2009-06-222-0/+5
|
* Restored option --period-sortJohn Wiegley2009-06-212-4/+1
| | | | This option is just an alias for --sort-xacts.
* Restored the --truncate option, added baseline testJohn Wiegley2009-06-213-16/+22
|
* Restored --unround, added baseline testJohn Wiegley2009-06-212-2/+7
|
* value_t::in_place_unround wasn't doing it in-placeJohn Wiegley2009-06-211-2/+2
|
* Whitespace reformattingJohn Wiegley2009-06-211-4/+4
|
* Restored --percent option, added baseline testJohn Wiegley2009-06-218-9/+63
|
* Revert "Added % suffix operator, as in "$1.00 * 10%""John Wiegley2009-06-214-22/+4
| | | | This reverts commit 0e9f782a05ab9bc892af40abef84346a16d3baec.
* Fixes to the 'xact' command (used to be 'entry')John Wiegley2009-06-192-3/+14
|
* Commented out an internal-only optionJohn Wiegley2009-06-181-0/+4
|
* Added a code commentJohn Wiegley2009-06-181-0/+3
|
* The -X option now accepts price settingsJohn Wiegley2009-06-187-42/+71
| | | | | | | For example, if you had 100 AU (onces of gold) and wanted to report it in dollars, but at a price of $997 per ounce, you could now easily say: ledger bal -X '$,AU=$997'
* Added baseline tests for --related, --related-allJohn Wiegley2009-06-181-1/+5
|
* Allow uncommoditized amounts to be used as costsJohn Wiegley2009-06-181-1/+7
|
* Restored --plot-amount-format, --plot-total-formatJohn Wiegley2009-06-182-15/+18
|
* Restored --prices-format optionsJohn Wiegley2009-06-181-1/+2
|
* Restored pricesdb command and --pricesdb-format optionJohn Wiegley2009-06-185-3/+12
|
* Restored --input-date-format optionJohn Wiegley2009-06-181-1/+6
|
* Correctly parse the range of period "june 2008"John Wiegley2009-06-181-2/+6
|
* Allow --period flag to specify a report rangeJohn Wiegley2009-06-171-3/+26
|
* The --revalued option now honors the -e terminusJohn Wiegley2009-06-172-7/+10
|
* Fixed some compiler warnings in non-debug modeJohn Wiegley2009-06-161-0/+6
|
* When --end is used, set a "terminus" dateJohn Wiegley2009-06-164-26/+22
| | | | | | | This means that final balance valuations (with -V or -X) will be done in terms of the date given to --end, rather than based on the current day. Fixes 647D5DB9-DBBB-47C8-80CE-F3F70E3B0253
* Fixed a problem with accounts and trailing spacesJohn Wiegley2009-06-161-0/+3
| | | | | | | This issue is caused by having a single space at the end of a posting that has neither an amount nor a note. Fixes C523E23F-CFAC-4A53-B0C6-21226640E763
* Move amount colorization deeper into the coreJohn Wiegley2009-06-167-30/+46
| | | | | | | | This is necessary in order to redden negative amounts correctly under all circumstances, such as component amounts of a multi-commodity balance. Fixes 727B2DF8-A2A1-4716-9C15-547F20D5F933
* Allow an amount to be zero, even if cost is non-zeroJohn Wiegley2009-06-161-2/+4
| | | | | | | The only real change is that exchanges of zero-amount will not result in any exchange at all, just the "motions". Fixes 6DAB9FE3-1399-4727-9AB1-FE413FB85A03
* Fixed a problem in the 'entry' commandJohn Wiegley2009-06-161-30/+103
| | | | | | It was selecting virtual transactions during auto-posting lookup. Fixes 793F6BF0-9CDE-4741-967A-2CEA697476B4
* Corrected a minor typoJohn Wiegley2009-06-161-1/+1
|
* Temporarily stubbed out an inaccurate assertJohn Wiegley2009-06-153-3/+13
|