summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Gave round/unround/truncate all in_place_ variantsJohn Wiegley2009-02-275-42/+89
|
* Refinements to amount_t validation codeJohn Wiegley2009-02-271-8/+13
|
* The letter 'z' was not allowed in commodity namesJohn Wiegley2009-02-271-2/+2
|
* Fixed a buffer overrunJohn Wiegley2009-02-272-7/+22
|
* Added support for tag/pop parsing directivesJohn Wiegley2009-02-261-7/+49
| | | | | | | | | | | | | | | | | | There are now "tag/pop" directives, to apply metadata to a range of transactions (and their postings). For example, if you wanted a conceptual "page" of transactions relating to business trip to Chicago, you could do this: tag Location: Chicago tag Purpose: Business ... transactions go here pop pop It would be as if you'd applied "; Location: Chicago", etc., to every transaction.
* Fixes to the way textual directives were parsedJohn Wiegley2009-02-261-20/+24
|
* Enriched the context report during textual parsingJohn Wiegley2009-02-261-29/+80
|
* Print more context if an automated xact failsJohn Wiegley2009-02-261-0/+9
|
* Print better error msg if evaluating mask as boolJohn Wiegley2009-02-261-0/+7
|
* If an item tag is already set, don't overwrite itJohn Wiegley2009-02-261-1/+2
|
* Added a warning_() macroJohn Wiegley2009-02-264-21/+19
|
* Add error context while evaluating predicatesJohn Wiegley2009-02-261-1/+8
|
* Added a new source_context functionJohn Wiegley2009-02-263-23/+43
|
* The -B, -G, -V reports now show rounding amountsJohn Wiegley2009-02-267-47/+131
| | | | | | | | | This way, if the running total is off by a penny or two due to rounding of one or more commodities in the account, the user will see it. This commit also reorganizes the testing code a bit, which I did after adding the ninth test series (ConfirmTests), to validate the new rounding code.
* Added a truncated() method for amounts and valuesJohn Wiegley2009-02-264-0/+37
| | | | | When an amount is truncated, it drops all of the extra precision and becomes exactly the value would have seen were it printed.
* Allow sequences to be rounded and unroundedJohn Wiegley2009-02-251-0/+12
| | | | | The result is that every member of the sequence has the given operation applied.
* Allow uncommoditized amounts to +/- with an amountJohn Wiegley2009-02-251-6/+10
| | | | Thus, you can say "$100 + 10" to increase it by $10.
* Fix for sensitive compilation environments.Eugene Morozov2009-02-252-3/+3
|
* Changed --exchange's short option from -x to -XJohn Wiegley2009-02-252-4/+4
|
* Marked all strings needing internationalizationJohn Wiegley2009-02-2540-381/+380
| | | | | | | | | | | | | | | | These strings are now collected automagically in the file po/ledger.pot. If you'd like to produce a translation, just run this command after building Ledger: msginit -l LOCALE -o LANG.po -i po/ledger.pot Where LOCALE is a string like de or en_GB, and LANG is a short descriptive word for your language. Then send me this .po file so I can commit it to the Ledger sources (alternatively, you could maintain the file in a fork on GitHub), and setup the build script to format and install your new message catalog during a "make install".
* Fixed the --gain option for balance reportsJohn Wiegley2009-02-252-0/+2
|
* Added a new --depth optionJohn Wiegley2009-02-254-2/+7
|
* A slight improvement to the Python bindingsJohn Wiegley2009-02-241-2/+2
|
* Allow value expressions access to session optionsJohn Wiegley2009-02-241-0/+4
|
* Change behavior if "entry" ends with null accountJohn Wiegley2009-02-241-0/+5
| | | | | A final null account (no amount specified) is now taken to be the "from" account, not another "to" account.
* Added "date" valexpr to session, for bal -VJohn Wiegley2009-02-241-0/+5
|
* Removed some dead codeJohn Wiegley2009-02-241-38/+0
|
* Set the scope context in Scope.__getattr__(attr)John Wiegley2009-02-241-1/+1
|
* Added a new level of Python integrationJohn Wiegley2009-02-246-41/+141
|
* Moved python/*.cc files into src/John Wiegley2009-02-2425-0/+3385
| | | | | This is because soon, I intend to have real Python source files in python/.
* Propagate commodity flags in costs sometimesJohn Wiegley2009-02-241-5/+3
| | | | | If a commodity has never been seen before, and it is used in a cost amount, remember the display flags.
* Be smarter about printing uncommoditized amountsJohn Wiegley2009-02-241-4/+23
|
* Output "@ AMOUNT" cost in the print reportJohn Wiegley2009-02-242-11/+26
|
* Allow any two amount values to be dividedJohn Wiegley2009-02-241-6/+2
|
* Fixed an alignment bug in value context displayJohn Wiegley2009-02-241-3/+1
|
* Fixed an issue involving costs and reduced valuesJohn Wiegley2009-02-242-65/+76
|
* Removed the largely useless --performance optionJohn Wiegley2009-02-242-4/+1
|
* Fixes to the way annotated prices are displayedJohn Wiegley2009-02-244-35/+28
|
* Improved the way that entries are balancedJohn Wiegley2009-02-242-24/+60
|
* Made commodity reduction during parsing consistentJohn Wiegley2009-02-244-21/+25
|
* Restored the price conversion text directive (C)John Wiegley2009-02-241-4/+1
|
* Switched from using POST_AUTO to ITEM_GENERATEDJohn Wiegley2009-02-245-17/+19
|
* Fixed a minor bug in handling of automated xactsJohn Wiegley2009-02-231-1/+1
| | | | | There was a if statement with an inverse boolean meaning, which caused some automated transaction postings to have a null amount.
* The Great Renaming, Part IIJohn Wiegley2009-02-2336-2309/+2307
| | | | | The last commit did not contain the majority of changes because of a slight mishap. This contains the real changeset.
* Always free memory at the end of a runJohn Wiegley2009-02-231-3/+0
| | | | | It turns out this is needed in order to properly close the pager subprocess.
* Restore the --gain option, for showing gain/lossJohn Wiegley2009-02-231-1/+19
|
* rounded() and quantity() act on the first valueJohn Wiegley2009-02-231-3/+4
|
* If interactive_t wants S, also accept bare valuesJohn Wiegley2009-02-231-1/+5
|
* If handle_value sees a sequence, make it compoundJohn Wiegley2009-02-231-0/+1
|
* Added --revalued-total option, used by --gainJohn Wiegley2009-02-232-4/+18
| | | | | This option sets the total by which revalued transactions are determined. Only needed if the display total is not appropriate.