summaryrefslogtreecommitdiff
path: root/src/textual.cc
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Fixed some tracing labels.John Wiegley2009-01-301-0/+1
|
* Refactored the textual parser, to allow easy extensions in Python.John Wiegley2009-01-291-519/+589
|
* Revised the way that parsing flags get passed around.John Wiegley2009-01-291-6/+7
|
* Switched over to using irrxml for parsing XML, rather than expat.John Wiegley2009-01-241-7/+3
|
* Added support for Unicode text in Ledger files, thanks to 'utfcpp', which canJohn Wiegley2009-01-231-8/+20
| | | | be located at http://utfcpp.sourceforge.net.
* Moved the occurance of "Error:" when reporting context.John Wiegley2009-01-221-2/+2
|
* Increased copyright range to include 2009.John Wiegley2009-01-201-1/+1
|
* Instead of doing price annotations in the textual parser, useJohn Wiegley2009-01-191-3/+2
| | | | commodity_t::exchange.
* Changed COMMODITY_STYLE_NOMARKET TO COMMODITY_NOMARKET.John Wiegley2009-01-191-1/+1
|
* Whitespace fix.John Wiegley2009-01-141-4/+4
|
* The cleared or pending flag of a transaction overrides the flag for the entireJohn Wiegley2009-01-141-1/+3
| | | | entry only if it is "more" cleared.
* Changed debug class ledger.textual.parse to just textual.parse.John Wiegley2008-09-191-21/+21
|
* Removed unneeded NULL argument.John Wiegley2008-09-191-1/+1
|