summaryrefslogtreecommitdiff
path: root/src/textual.cc
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Renamed XACT_BALANCE flag to XACT_MUST_BALANCE.John Wiegley2008-09-191-1/+1
|
* When automatically associating lot details with a commodity, use only theJohn Wiegley2008-09-191-8/+2
| | | | | | price (based on the cost of the transactions), don't automatically use the date and the entry code -- since most people aren't going to be that specific at the time of sale, it's causes confusion in certain cases.
* Factored common parts of entry_t and xact_t into new item_tJohn Wiegley2008-09-191-16/+16
|
* Fixed the way that nested caught exceptions are rethrown, and how valueJohn Wiegley2008-09-151-4/+4
| | | | expressions are displayed when errors are found in them.
* If an entry is being parsed but yields all null-amount transactions,John Wiegley2008-09-141-4/+10
| | | | | | completely ignore the entry. This is useful for supporting "safety" entries whose only purpose is to assert the balance of account(s) at a certain point in time.
* Transactional assignments (i.e., confirmed balances) are working now.John Wiegley2008-09-141-29/+36
|
* Ledger now builds without any significant warnings, except for one file. SomeJohn Wiegley2008-08-101-41/+43
| | | | | of the warnings had to be temporarily disabled, but will be checked again once the code has moved into master.
* Merge branch 'master' into v2.7aJohn Wiegley2008-08-091-13/+6
|
* Moved around most of the files so that source code is in src/, documentationJohn Wiegley2008-08-051-0/+1131
is in doc/, etc.