summaryrefslogtreecommitdiff
path: root/textual.cc
Commit message (Collapse)AuthorAgeFilesLines
* (parse_inline_math): Parse amounts that use anyJohn Wiegley2008-04-131-5/+95
| | | | | | | | | | | | | | | of ()/*+- as "inline math". This causes "$100.00 * 20" to be turned into the equivalent value expression "({$100.00} * {20})". It is a shorthand, at the expense of a little textual parsing speed. (parse_amount): Call `parse_inline_math' if appropriate. (parse_entry): Support transactions that follow immediately after the payee name, separated by two or more spaces. This makes it possible -- when a basket account is being used -- to list off entry transactions one per line. (parse): Allow a basket account to be specified using the syntax "A ACCOUNT". From that point on in the file, any single transactions entries will be balanced against that account.
* (parse): The src_idx field on journal entries was being setJohn Wiegley2008-04-131-5/+7
| | | | incorrectly.
* (parse): Parse price database entries using the fixed date formatJohn Wiegley2008-04-131-1/+5
| | | | "%Y/%m/%d %H:%M:%S".
* (clock_out_from_timelog): If a timelog file is left "open", clock outJohn Wiegley2008-04-131-22/+32
| | | | at the present time.
* (parse_transaction): If an account name matches an alias definition,John Wiegley2008-04-131-1/+27
| | | | | | use the aliased account. (parse): Added an "!alias ALIAS = ACCOUNT" directive, to make it easier to manage long account names in a textual ledger file.
* (test): Sense of an #ifdef test was reversed somehow.John Wiegley2008-04-131-2/+2
|
* *** empty log message ***John Wiegley2008-04-131-3/+0
|
* (test): Added a test for the presence of <?xml... in the input stream;John Wiegley2008-04-131-0/+21
| | | | | if it is there, report an error based on whether XML support was actually compiled in or not.
* (parse_entry): Parse the pending flag if a ! is used in place of *.John Wiegley2008-04-131-3/+11
|
* (parse): Updated the "D" command to take a regular amount, from whichJohn Wiegley2008-04-131-3/+6
| | | | the default flags and precision for its commodity are determined.
* formatting changesJohn Wiegley2008-04-131-2/+2
|
* Whitespace changes.John Wiegley2008-04-131-2/+2
|
* (parse): When an entry does not balance, print the entry so the userJohn Wiegley2008-04-131-1/+2
| | | | can see what Ledger saw.
* Changes to support building with gcc 2.95.John Wiegley2008-04-131-5/+14
|
* *** empty log message ***John Wiegley2008-04-131-0/+1
|
* *** empty log message ***John Wiegley2008-04-131-3/+4
|
* Added support for each entry to remember: the file it came from, andJohn Wiegley2008-04-131-2/+103
| | | | | | the beginning and ending character positions of that entry within the file. This makes it possible to reproduce the input exactly, with only the changed entries updated.
* (parse): Added "D" directive to ledger files, which allows the user toJohn Wiegley2008-04-131-0/+5
| | | | | specify which commodity is used for the default when none is specified or calculated by the "entry" command.
* Fixed a textual parsing bug.John Wiegley2008-04-131-0/+4
|
* updated to version 2.0John Wiegley2008-04-131-0/+597
|
* changesJohn Wiegley2008-04-131-550/+0
|
* improved error checking in parser, in case parts of an amount are missingJohn Wiegley2004-09-241-14/+35
|
* finalizer fixes; removed use of timing.h from main.ccJohn Wiegley2004-09-241-4/+3
|
* changed entry_finalizer scheme to use objects, not just function pointersJohn Wiegley2004-09-241-8/+9
|
* changed ledger.h to journal.h; moved adding of autoxact hookJohn Wiegley2004-09-231-1/+6
|
* moved entry hooking mechanism to journal_t; further improvements to "entry"John Wiegley2004-09-231-100/+2
|
* fixed several issues in value_t's coreJohn Wiegley2004-09-211-16/+12
|
* the "bal" command mostly works now in main.py; added a finalize_entry hookJohn Wiegley2004-09-201-11/+16
|
* some changes in the way formatting strings are handled; for simplicityJohn Wiegley2004-09-181-3/+7
|
* make config_t visible to Python; almost possible to implement main.cc in main.pyJohn Wiegley2004-09-141-1/+2
|
* python integrated both ways (see sample.dat), and initialized on-demandJohn Wiegley2004-09-141-3/+15
|
* improvements to python exposure of commodity_tJohn Wiegley2004-09-111-1/+1
|
* optimize python iterations of entries, transactions; use exceptions moreJohn Wiegley2004-09-081-5/+2
|
* small fixesJohn Wiegley2004-08-301-2/+9
|
* redid the way amount_t::commodity is handled; no more direct accessJohn Wiegley2004-08-291-7/+2
|
* ledger.so (the python module) now builds based on autoconf discoveryJohn Wiegley2004-08-281-6/+0
|
* added (disabled) code for Boost.PythonJohn Wiegley2004-08-271-3/+22
|
* escape codes in format strings; can now redefine individual report formatsJohn Wiegley2004-08-221-1/+6
|
* use value_t instead of balance_pair_t; gains for 10% binary, 2% textualJohn Wiegley2004-08-211-10/+15
|
* only compute the cost when it differs from the amountJohn Wiegley2004-08-211-15/+14
|
* removed some redundant codeJohn Wiegley2004-08-211-1/+1
|
* fixes to how commodities are looked up using quotes.ccJohn Wiegley2004-08-211-4/+2
|
* support arbitrary precision after the decimal point; increase speed 0-10%John Wiegley2004-08-211-1/+6
|
* fixesJohn Wiegley2004-08-191-2/+2
|
* several fixesJohn Wiegley2004-08-191-4/+8
|
* added support for parsing QIF filesJohn Wiegley2004-08-191-5/+4
|
* use std::auto_ptr wherever a thrown exception might otherwise leak memoryJohn Wiegley2004-08-191-12/+11
|
* fix to textual parsing, and a bit of reconstruction in main.ccJohn Wiegley2004-08-191-2/+5
|
* more time interval support: last month, last feb, next year, etc.John Wiegley2004-08-181-2/+2
|
* fixesJohn Wiegley2004-08-171-22/+6
|