summaryrefslogtreecommitdiff
path: root/src/textual.cc
Commit message (Collapse)AuthorAgeFilesLines
* Fix to xact_t::valid()John Wiegley2009-11-011-0/+3
|
* Commented out dependency on session_t (for now)John Wiegley2009-10-311-0/+4
|
* Removed most #if 0 blocks and callout commentsJohn Wiegley2009-10-311-18/+1
|
* Add a position_t object for tracking item positionsJohn Wiegley2009-10-301-25/+29
| | | | It is also optional, which is useful for generated items.
* Setting --date-format in ~/.ledgerrc works againJohn Wiegley2009-10-291-15/+23
|
* Further improvements to handling temporariesJohn Wiegley2009-10-281-14/+1
|
* Renamed two methods, for consistency's sakeJohn Wiegley2009-10-271-1/+1
|
* Redid the way temporaries are handled in filteringJohn Wiegley2009-10-271-3/+3
|
* 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.
* If a pricing entry fails to parse, give an errorJohn Wiegley2009-10-261-1/+2
|
* Removed reliance on strptime/strftimeJohn Wiegley2009-10-111-2/+3
| | | | | | | | 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).
* Split commodity.h/cc into three filesJohn Wiegley2009-06-241-1/+2
| | | | | | commodity.h - code for commodity_t annotate.h - commodity annotations pool.h - commodity pool management
* Restored --download, although not done yetJohn Wiegley2009-06-241-53/+4
| | | | | | 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.
* Allow uncommoditized amounts to be used as costsJohn Wiegley2009-06-181-1/+7
|
* 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
* Strip annotations before handling bal assignmentsJohn Wiegley2009-06-131-1/+2
|
* Added new debug option --optionsJohn Wiegley2009-06-021-1/+1
| | | | | This reports which options are in place before invoking a command, and where exactly each option value came from.
* The new code is working now.John Wiegley2009-03-161-2/+0
|
* Enabled use of pre-compiled headers by defaultJohn Wiegley2009-03-101-0/+2
|
* Changed the way that account balances are computedJohn Wiegley2009-03-061-7/+6
|
* Reduced the #include dependency tree to a minimumJohn Wiegley2009-03-041-0/+4
|
* Changed many assert() calls to VERIFY()John Wiegley2009-03-041-2/+2
|
* Gather account details in a details_t structureJohn Wiegley2009-03-031-4/+5
|
* If a posting has an integer amount, convert itJohn Wiegley2009-03-031-3/+7
|
* Fixed parsing of '(1, 2, (3, 4))'John Wiegley2009-03-031-0/+3
|
* Corrected warnings g++-4.3.3 was complaining aboutJohn Wiegley2009-02-281-5/+7
|
* Fixed bugs relating to sign and rounding of costsJohn Wiegley2009-02-271-0/+2
|
* Fixes to entry note parsingJohn Wiegley2009-02-271-2/+3
|
* Fixed the way item state is parsed and managedJohn Wiegley2009-02-271-0/+14
|
* 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
|
* Added a warning_() macroJohn Wiegley2009-02-261-14/+6
|
* Marked all strings needing internationalizationJohn Wiegley2009-02-251-27/+34
| | | | | | | | | | | | | | | | 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 an issue involving costs and reduced valuesJohn Wiegley2009-02-241-1/+2
|
* Made commodity reduction during parsing consistentJohn Wiegley2009-02-241-9/+1
|
* Restored the price conversion text directive (C)John Wiegley2009-02-241-4/+1
|
* The Great Renaming, Part IIJohn Wiegley2009-02-231-147/+147
| | | | | The last commit did not contain the majority of changes because of a slight mishap. This contains the real changeset.
* Removed unused member keep_details_t::keep_baseJohn Wiegley2009-02-231-1/+1
|
* Many fixes to --market and --exchangeJohn Wiegley2009-02-221-9/+1
| | | | Also, --exchange now accepted multiple, comma-separated commodities.
* Greatly improved the way "weeks" are iteratedJohn Wiegley2009-02-211-1/+1
|
* Added a --strict session optionJohn Wiegley2009-02-191-9/+39
| | | | | | | When enabled, if any accounts or commodities are seen in an uncleared transaction, which were not seen previously in a cleared or pending transaction or a textual directive dealing with accounts or commodities, a warning is generated about the unknown item.
* Re-enabled parsing of timelog dataJohn Wiegley2009-02-191-7/+11
|
* Fixed several unused value and param warningsJohn Wiegley2009-02-161-7/+5
|
* Abort journal parsing if Control-C is caughtJohn Wiegley2009-02-161-0/+3
|
* item_predicate now operates on scope_tJohn Wiegley2009-02-151-4/+3
| | | | This means item_predicate is no longer a template.
* Made (un)reduce rvalue methods more consistentJohn Wiegley2009-02-121-1/+6
| | | | | | They names were changed from reduce/unreduce to reduced/unreduced, since they return the modified value. This is more consistent with the naming of rounded/rounded.
* Ignore lines in Ledger files which contain only whitespace.John Wiegley2009-02-121-1/+1
|
* If a textual directive can't be found, ignore it.John Wiegley2009-02-101-0/+4
|
* Break libledger_data's dependency on session_t.John Wiegley2009-02-091-29/+30
|