summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Added TRUE_CURRENT_TIME() macroJohn Wiegley2009-10-283-11/+12
| | | | Because CURRENT_TIME() can now be a past date if --now is used.
* Sort by default unless --unsorted is selectedJohn Wiegley2009-10-283-0/+12
|
* Added some additional assertion tests re: tempsJohn Wiegley2009-10-282-5/+14
|
* Whitespace changeJohn Wiegley2009-10-271-4/+2
|
* Removed unnused parameter to value_t::printJohn Wiegley2009-10-273-23/+11
|
* Added --actual-dates, for overriding --effectiveJohn Wiegley2009-10-273-1/+7
| | | | | This is so that if someone has --effective in their .ledgerrc, they can force the use of actual dates.
* Renamed two methods, for consistency's sakeJohn Wiegley2009-10-274-10/+10
|
* Support a --now option, for testing purposesJohn Wiegley2009-10-274-3/+21
| | | | | | This sets Ledger's notion of the "current time" to the given date. This makes it possible to have stable output from budgeting and forecasting reports, for the sake of baseline tests.
* Fixed a display issue with the balance reportJohn Wiegley2009-10-277-81/+79
|
* In budget report, color large percentages magentaJohn Wiegley2009-10-271-4/+20
|
* Fixed an error with post-simplified mathJohn Wiegley2009-10-271-1/+12
|
* If doing math between amount and balance, simplifyJohn Wiegley2009-10-272-3/+28
|
* Support balancing of postings with integer amountsJohn Wiegley2009-10-271-1/+6
|
* Fixed some debug codeJohn Wiegley2009-10-271-3/+3
|
* Added a new "cleared" reportJohn Wiegley2009-10-273-1/+35
| | | | | | This is a balance report with three columns: Current balance | Cleared balance | Last cleared date
* Added a new "budget" reportJohn Wiegley2009-10-274-10/+51
| | | | | | This is a balance report with four columns: Amount spent | Budgeted Amount | Difference | Percentage
* Allow any amount to be multipled by anotherJohn Wiegley2009-10-271-7/+2
| | | | | The result carries the commodity of the first amount, or the second if the first had no commodity.
* Added debug codeJohn Wiegley2009-10-271-0/+3
|
* Use the WRITTEN date format for idstringsJohn Wiegley2009-10-271-1/+1
|
* Redid the way temporaries are handled in filteringJohn Wiegley2009-10-279-172/+323
|
* Fixed a data lifetime bugJohn Wiegley2009-10-271-2/+7
| | | | | | This was causing budget totals not to appear in balance reports. Fixes 8254755E-7B61-47C8-B48E-A2A7FD79EB80
* When creating temp posts, add them to the accountJohn Wiegley2009-10-271-0/+7
|
* Added a comment about a confusing bit of codeJohn Wiegley2009-10-271-0/+1
|
* Removed two invalid commentsJohn Wiegley2009-10-271-2/+0
|
* Made the id function available in post contextsJohn Wiegley2009-10-274-21/+64
|
* Output pointer values correctly for 64-bit systemsJohn Wiegley2009-10-271-1/+1
|
* Balance assertions now really assertJohn Wiegley2009-10-261-17/+25
| | | | | | | | There are two kinds of balance related options for a posting: a balance assignment, where the amount of the posting is blank and so it fills it in to make the assertion true; and plain assertions, where the amount is not blank and an error is reported if the balance does not match the given amount after the posting is taken into account.
* Added t and T as valexpr synonymsJohn Wiegley2009-10-261-0/+7
| | | | t = display_amount, T = display_total
* Fixed sorting in bal reports when --flat is usedJohn Wiegley2009-10-267-80/+81
| | | | | | | Note that sorting on the "total" is not the same thing as sorting on the "display_total" when multiple commodities are in use and the -X flag is selected! One should always sort on display_total, since that's the value which is shown in the report. 'T' is a synonym for display_total.
* In the balance report, don't output any account twiceJohn Wiegley2009-10-261-1/+2
|
* Added an "echo" command, for REPL testingJohn Wiegley2009-10-262-0/+11
|
* If a pricing entry fails to parse, give an errorJohn Wiegley2009-10-261-1/+2
|
* Improved argument parsing logic used by the REPLJohn Wiegley2009-10-263-15/+55
| | | | | It now handles quoted strings, although it doesn't understand escape sequences yet.
* Fixed the Boost facet-based time parsing codeJohn Wiegley2009-10-251-13/+24
|
* Whitespace and comment changesJohn Wiegley2009-10-251-10/+10
|
* Export times_initialize and times_shutdown to PythonJohn Wiegley2009-10-251-2/+4
|
* Fixed overflow bug introduced by the warning fixesJohn Wiegley2009-10-251-2/+3
|
* Fixed the memory tracing code (used by --verify)John Wiegley2009-10-251-33/+56
|
* Added some extra storage checks to value_tJohn Wiegley2009-10-251-0/+5
|
* New valexpr functions: id, idstring, magnitudeJohn Wiegley2009-10-253-15/+52
| | | | | | id returns a unique SHA1 id of a transaction. idstring is the string that the SHA1 is based on. magnitude is the sum of the positive side of a transaction.
* The UTF8 code is now unchecked if --verify is offJohn Wiegley2009-10-251-9/+13
|
* Improved debug output of "--debug expr.calc"John Wiegley2009-10-252-40/+64
|
* Rewrote the way date and time I/O is managedJohn Wiegley2009-10-2513-116/+344
|
* Fixed many compiler warnings from g++ 4.4John Wiegley2009-10-2527-120/+147
|
* 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
|