summaryrefslogtreecommitdiff
path: root/src/textual.cc
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Removed the balance_pair_t type, since it's now an unneeded abstraction.John Wiegley2009-02-091-8/+0
| | | | | This type was a holdback from the days before the amount_expr was used everywhere to determine a transaction's value.
* Several fixes to get the state flags to appear right in "print".John Wiegley2009-02-071-5/+4
|
* Threw away the "multiple parser" infrastructure.John Wiegley2009-02-071-131/+178
|
* More revision to the way options are handled; reworked CSV command.John Wiegley2009-02-071-4/+0
|
* Greatly simplified the way option and command handlers are defined.John Wiegley2009-02-051-2/+2
|
* Moved much of the main.cc code into a new global_scope_t class.John Wiegley2009-02-051-0/+7
|
* Largely removed all of Ledger's use of global variables, for the REPL's sake.John Wiegley2009-02-041-22/+31
|
* Moved ptristream into its own file.John Wiegley2009-02-041-58/+1
|
* Simplified the textual parser, and improved metadata support.John Wiegley2009-02-041-493/+390
|
* Several improvement to transaction parsing.John Wiegley2009-02-041-25/+44
|
* Don't store the amount expression object in transactions.John Wiegley2009-02-031-5/+27
| | | | This is unnecessary since binary caching is no longer being used.
* Removed used of src_idx.John Wiegley2009-02-031-4/+3
|
* A little code rearranging.John Wiegley2009-02-031-14/+14
|
* Implemented a text parsing optimization.John Wiegley2009-02-031-44/+55
| | | | | | | | Amounts, costs and assigned amounts are now parsed as regular amounts. To have a full value expression at any of those positions, surround it with parentheses. The reason for this is that the amount parser is far simpler and quicker -- and by far the common case -- compared to the full expression parser.
* Corrected a display error when showing error context.John Wiegley2009-02-031-3/+8
|
* Removed report_error() function and reordered context for parsing errors.John Wiegley2009-02-021-1/+5
|
* Simplified error context handling.John Wiegley2009-02-021-130/+120
|
* Added support for metadata and tagging, and made regexs a first-class type.John Wiegley2009-02-011-7/+19
|
* Changed many uses of "unsigned long" to std::size_t.John Wiegley2009-02-011-3/+3
|
* Fixed error context output.John Wiegley2009-01-311-2/+2
|
* Whitespace fix.John Wiegley2009-01-301-3/+3
|