summaryrefslogtreecommitdiff
path: root/textual.cc
Commit message (Collapse)AuthorAgeFilesLines
* Transactions now track their beginning and ending position, as doJohn Wiegley2008-04-131-0/+9
| | | | | | | entries. The new format strings %xB %xE %xb %xe can be used to display those values relative to a transaction. The Emacs module now relies on this support to exactly determine where a transaction is, rather than the Elisp logic it relied on previously.
* *** empty log message ***John Wiegley2008-04-131-2/+0
|
* Made several changes to the parsing infrastructure to allow passingJohn Wiegley2008-04-131-2/+6
| | | | | the "config_t" object around. This is needed for parsing option settings in the initialization file.
* Relaxed parsing so that tabs are allowed in several places thatJohn Wiegley2008-04-131-28/+28
| | | | required spaces before.
* Added in.clear() before resetting I/Os streams. Again, thanks to theJohn Wiegley2008-04-131-0/+1
| | | | list.
* Removed Python integration support.John Wiegley2008-04-131-27/+0
|
* Restructed the code that it can build and be used as a shared library.John Wiegley2008-04-131-9/+9
| | | | | The command-line version is still statically bound in the build process by default (for the sake of speed).
* (parse_amount): Ignore inline math characters that are found quotes.John Wiegley2008-04-131-2/+7
|
* See ChangeLogJohn Wiegley2008-04-131-3/+29
|
* Support has been added for clearing of individual transactions. SetJohn Wiegley2008-04-131-32/+55
| | | | `ledger-clear-whole-entries' in Emacs to revert to the old behavior.
* *** empty log message ***John Wiegley2008-04-131-1/+1
|
* (parse_entry): Allow for the possibility that a transaction might endJohn Wiegley2008-04-131-1/+7
| | | | with EOF.
* (parse_entry): Removed "single line" transaction parsing and went backJohn Wiegley2008-04-131-10/+1
| | | | | to 2.3 behavior (where transactions always appear after the line containing the date and payee).
* (parse): Removed some unnecessary code which was actually causingJohn Wiegley2008-04-131-15/+2
| | | | | price histories to be parsed wrong when compiler optimizations were used (at least on my machine).
* (parse): Set the beginning and ending line number for each entry as itJohn Wiegley2008-04-131-10/+17
| | | | is parsed.
* (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
|