summaryrefslogtreecommitdiff
path: root/src/report.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix alignment of cleared-format with 4 spaces as separator.thdox2015-02-231-1/+1
|
* 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}/"
* fix rare bug in balance report output if the budgeted amount happens to be zero.Craig Earls2014-08-241-2/+2
| | | | See emails in group from John Rakestraw circa November 2011
* Add the --no-pager optionJohn Wiegley2014-04-271-0/+1
|
* Bump copyright information to 2014Alexis Hildebrandt2014-02-021-1/+1
|
* Commodity column in default CSV format should match the displayed amountSteve Purcell2014-01-061-1/+1
| | | | | | | | If one uses --exchange to force CSV display amounts into a particular currency, then the commodity output column should match that currency. Without this patch, the commodity column contains the original commodity, not the commodity for the exported amount.
* Bump copyright information to 2013John Wiegley2013-02-181-1/+1
|
* Bug 634 Added roundto function, optimized floor and ceilingCraig Earls2013-01-301-0/+1
| | | | Fixes Bug634 by adding roundto(amount, places).
* Addes tags command and --values optionCraig Earls2013-01-291-0/+2
| | | | | Tags command reports all metadat tags in use. With the values option it reports tags and their values.
* Bug 634 and 488, Corrected behavior of floor, and added ceilingCraig Earls2012-10-251-0/+1
| | | | This is only a partial fix for 634, since rounding is not fixed.
* Fix compilation warning: be sure we call the base class copy constructor.Hyrum Wright2012-08-141-1/+1
|
* Converted the Ledger build system to use CMakeJohn Wiegley2012-05-201-2/+2
|
* Switch to using Boost.FormatJohn Wiegley2012-05-141-6/+6
|
* Added a * for cleared entries in the time reportJohn Wiegley2012-05-101-4/+7
|
* Allow --invert to work with --monthlyJohn Wiegley2012-04-061-1/+1
| | | | Fixes #770
* Added --verify-memory and missing TRACE_[CD]TOR callsJohn Wiegley2012-03-181-2/+21
|
* Always close the last report output streamJohn Wiegley2012-03-161-0/+4
| | | | Should fix #701
* Change abbrev_len to int(abbrev_len)John Wiegley2012-03-131-3/+2
|
* Added --time-report optionJohn Wiegley2012-03-131-0/+20
| | | | | | | | | | | | | 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/+1
|
* Added --immediate optionJohn Wiegley2012-03-101-0/+2
|
* Added --dc option, for debit/credit style reportsJohn Wiegley2012-03-101-5/+71
|
* -H now implies -VJohn Wiegley2012-03-091-0/+1
|
* Reworked the way that options are handledJohn Wiegley2012-03-091-351/+284
|
* Added --historical optionJohn Wiegley2012-03-081-0/+8
|
* Added nail_down() for pinning market value exprsJohn Wiegley2012-03-081-0/+1
|
* Many options now have additive effectJohn Wiegley2012-03-071-46/+36
| | | | | | | | | For example, -A and -V used to override each other, whereas now: -A report the average amount -V report all amounts at current value -AV report the current value of the average -VA report the average of all current values
* Removed value_t::price and balance_t::priceJohn Wiegley2012-03-071-1/+0
|
* Guard against double-freeing of report objectsJohn Wiegley2012-03-051-1/+1
|
* Increased file copyrights to 2012John Wiegley2012-02-291-1/+1
|
* Renamed actual/effective dates to primary/auxiliaryJohn Wiegley2012-02-281-5/+5
|
* Added --rich-data for 'convert', and SHA1 checksum checkingJohn Wiegley2012-02-261-0/+3
|
* Added --auto-match option, for use with 'convert'John Wiegley2012-02-261-0/+2
|
* Report an error in the case of '(1' (missing rparen)John Wiegley2011-11-101-1/+1
| | | | Fixes #557
* Added round() and unround() valexpr functionsJohn Wiegley2011-10-241-0/+2
|
* Cleanup whitespaceJohn Wiegley2011-08-181-2/+2
|
* Added "top_amount" value expr functionJohn Wiegley2010-12-221-0/+1
|
* Move balance divider right by prepend-widthJohn Wiegley2010-06-261-0/+3
|
* Added "format" value expression functionJohn Wiegley2010-06-241-0/+1
| | | | | | | | | This function evaluates formatting strings, returning a string. For example: format("%(amount)") This is equivalent to "to_string(amount)".
* Scopes can now provide a description of themselvesJohn Wiegley2010-06-241-0/+4
| | | | | | This isn't being used yet, but it likely will to improve the information presented to users if their value expressions fail to compile or evaluate.
* Added report query modifiers: for, since, untilJohn Wiegley2010-06-221-0/+1
| | | | | | | | | Now instead of ledger reg expense -p "this month", you can say: ledger reg expense for this month And as a shorthand for "for until this month", you can just say "until this month" or "since this month".
* Added new --bold-if optionJohn Wiegley2010-06-221-16/+48
|
* bal was sometimes reporting empty accountsJohn Wiegley2010-06-211-0/+2
|
* Fixed register formatting of postings with payeesJohn Wiegley2010-06-181-1/+2
|
* Added new option --inject=KEY[,KEY...]John Wiegley2010-06-181-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If you have a typed metadata key which contains an amount, you can use --inject=KEY to inject a posting with that amount wherever a match occurs. There are two main forms of usage: 2010-06-18 Sample ; Key:: $100 Expenses:Food $100.00 Assets:Checking The command would be: ledger reg --inject=Key In the above, transactional form, a posting under the account "Key" will be injected before the first posting reported for this transaction. It's amount will be $100. This only happens once for the whole transaction. It is also possible to associate the key with a posting: 2010-06-18 Sample Expenses:Food $100.00 ; Key:: $100 Assets:Checking Now the injected posting is generated whenever that particular post is reported.
* Individual postings may each have their own payeeJohn Wiegley2010-06-171-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a posting has the metadata field "Payee" set to a string, that will be used as the payee name for that posting. This affects the register report, the payees report, and the --by-payee option. This is useful because sometimes I send, say, 4 checks at a time to my bank. So on my bank statement, this is all just one amount: 2010-06-17 Sample Assets:Bank $400.00 Income:Check1 $-100.00 Income:Check2 $-100.00 Income:Check3 $-100.00 Income:Check4 $-100.00 Though it's important that the Assets:Bank posting be a single posting of $400 value, I'd like for income reports to show whom each check came from. Now I can say: 2010-06-17 Sample Assets:Bank $400.00 Income:Check1 $-100.00 ; Payee: Person One Income:Check2 $-100.00 ; Payee: Person Two Income:Check3 $-100.00 ; Payee: Person Three Income:Check4 $-100.00 ; Payee: Person Four When I report this, it appears as: 10-Jun-17 Sample Assets:Bank $400.00 $400.00 Person One Income:Check1 $-100.00 $300.00 Person Two Income:Check2 $-100.00 $200.00 Person Three Income:Check3 $-100.00 $100.00 Person Four Income:Check4 $-100.00 0 This shows that they are all in the same transaction (which is why the date is not repeated), but they have different payees.
* Removed unused --unsorted optionJohn Wiegley2010-06-151-3/+0
|
* Revised how Ledger handles the "current year"John Wiegley2010-06-141-5/+5
| | | | | Now when the Y directive sets the current year for a region, it affects everything, as if the clock really were set back to that year.
* Completely reworked argument passing in expressionsJohn Wiegley2010-06-131-28/+25
|
* Added a new scope_value() inline helper functionJohn Wiegley2010-06-131-1/+1
|