summaryrefslogtreecommitdiff
path: root/src/report.cc
Commit message (Collapse)AuthorAgeFilesLines
* 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}/"
* make --columns default to terminal width, as returned by ioctl()Stefano Zacchiroli2014-10-131-0/+7
| | | | | | | | | | | If set, the COLUMNS environment variable will take precedence over terminal width. However, please note that COLUMNS is usually *not* exported by shells to child processes, so in most cases COLUMNS will be undefined for ledger---hence the motivation for this change. Terminal width is queried using ioctl() on stdin. For the sake of portability the querying is done only on platform where ioctl() is detected as supported at compile-time.
* Recognize --cleared-format optionMartin Michlmayr2014-05-301-0/+1
| | | | Bug fix for #747
* Recognize the --no-pager optionMartin Michlmayr2014-05-121-0/+1
| | | | Thanks to Johann Klähn.
* Bump copyright information to 2014Alexis Hildebrandt2014-02-021-1/+1
|
* fix ledger xml output, remove ledger json commandJohann Klähn2013-03-081-5/+0
| | | | | | | | | | | | As the format used by property trees to represent valid JSON and that for valid XML is too different and given that there are more requests for valid XML output I decided to pursue a quick fix and remove the json command in favor of a working xml command. See bug #782, #909, recent discussion on mailing list. JSON support is postponed until I or someone else finds time to work on this or the python bindings are more stable.
* Bump copyright information to 2013John Wiegley2013-02-181-1/+1
|
* Removed an unnecessary if. Fixes #140John Wiegley2013-01-311-2/+1
|
* Bug 634 Added roundto function, optimized floor and ceilingCraig Earls2013-01-301-0/+8
| | | | Fixes Bug634 by adding roundto(amount, places).
* Fixes regression error introduced by tags command patchCraig Earls2013-01-291-5/+10
| | | | Not sure how the changes to the options got into the repot.cc file, but this takes the changes out.
* Addes tags command and --values optionCraig Earls2013-01-291-10/+10
| | | | | Tags command reports all metadat tags in use. With the values option it reports tags and their values.
* fix bug 748: option aliases not recognizedJohann Klähn2013-01-151-4/+11
|
* Added missing break; statement in report.ccCraig Earls2012-10-261-0/+1
|
* Added "draft" and "lisp" command synonymsCraig Earls2012-10-261-2/+8
|
* 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
|
* Added a "json" report commandJohn Wiegley2012-05-181-3/+9
|
* Switched to Boost.PropertyTree for XML generationJohn Wiegley2012-05-181-2/+2
|
* Switch to using Boost.FormatJohn Wiegley2012-05-141-6/+6
|
* Make --detail a synonym for --rich-dataJohn Wiegley2012-04-131-1/+1
|
* Make pricesdb an alias for pricedb for backwards compatibility with ledger 2Martin Michlmayr2012-03-251-1/+1
| | | | | | | | ledger 2.2 introduced the pricesdb command. This was renamed to pricedb in ledger 3. Allow pricesdb as an alternative to pricedb to provide backwards compatibility. Fixes bug #728
* More improvements to nail_down; fixes #715John Wiegley2012-03-191-2/+4
|
* Added --verify-memory and missing TRACE_[CD]TOR callsJohn Wiegley2012-03-181-1/+6
|
* Make --days-of-week an alias for --dowJohn Wiegley2012-03-171-1/+1
|
* Add experimental support for select queriesJohn Wiegley2012-03-131-0/+3
|
* Added --time-report optionJohn Wiegley2012-03-131-0/+1
| | | | | | | | | | | | | This is a rather basic option at the moment which only affects the balance report. I use it as follows, for entering contractor hours into a project planning application, where $1 is the contractor's timelog file, and $2 is the date after which new entries appear in the file: ledger -f $1 balance \ --account=payee \ --time-report \ -d "latest > [$2]" \ --datetime-format='%m/%d/%y %I:%M %p'
* Added format_datetime valexpr functionJohn Wiegley2012-03-131-0/+11
|
* Resolved a huge performance issue with 'pricedb'John Wiegley2012-03-121-2/+14
|
* Quieted several compiler warnings from ClangJohn Wiegley2012-03-111-1/+3
|
* When --percent is used, disable --decimal-comma after parsingJohn Wiegley2012-03-111-7/+10
| | | | Fixes #674
* Tighten up argument passing related to fn_market()John Wiegley2012-03-111-4/+5
|
* Allow balances to be passed to nail_downJohn Wiegley2012-03-111-0/+23
| | | | Fixes #679
* Corrected a rounding error in nail_downJohn Wiegley2012-03-111-1/+2
| | | | Fixes #678
* --percent now plays well with -X and -VJohn Wiegley2012-03-101-0/+9
|
* Added --immediate optionJohn Wiegley2012-03-101-0/+6
|
* Added --dc option, for debit/credit style reportsJohn Wiegley2012-03-101-3/+16
|
* Make --lot-notes the primary name, not --lot-tagsJohn Wiegley2012-03-101-1/+1
|
* Give a better error when sequences are mis-indexedJohn Wiegley2012-03-101-6/+13
|
* Make --lot-notes a synonym for --lot-tagsJohn Wiegley2012-03-101-1/+1
|
* Allow --budget-format to be usedJohn Wiegley2012-03-091-0/+1
|
* Fixed the behavior of fn_nail_downJohn Wiegley2012-03-091-3/+11
|
* Reworked the way that options are handledJohn Wiegley2012-03-091-122/+118
|
* fn_market can now accept a commodity name for arg 0John Wiegley2012-03-081-3/+13
|
* Added --historical optionJohn Wiegley2012-03-081-2/+1
|
* Added nail_down() for pinning market value exprsJohn Wiegley2012-03-081-0/+20
|
* Removed value_t::price and balance_t::priceJohn Wiegley2012-03-071-7/+0
|
* Use unique_ptr instead of std::auto_ptrJohn Wiegley2012-03-051-1/+1
|
* Prettified some code in report.ccJohn Wiegley2012-03-051-84/+55
|
* Guard against double-freeing of report objectsJohn Wiegley2012-03-051-33/+58
|
* Implemented first cut at price conversion logicJohn Wiegley2012-03-051-5/+2
|