Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | *** empty log message *** | John Wiegley | 2008-04-13 | 1 | -1/+1 |
| | |||||
* | (parse_transaction): Assign the entry to an xact while parsing it so | John Wiegley | 2008-04-13 | 1 | -2/+5 |
| | | | | | that the 'd' variable is available to value expressions within a transaction amount or cost. | ||||
* | Checked in all major updates. | John Wiegley | 2008-04-13 | 1 | -32/+49 |
| | |||||
* | *** empty log message *** | John Wiegley | 2008-04-13 | 1 | -23/+49 |
| | |||||
* | *** empty log message *** | John Wiegley | 2008-04-13 | 1 | -31/+29 |
| | |||||
* | *** empty log message *** | John Wiegley | 2008-04-13 | 1 | -6/+24 |
| | |||||
* | (parse_transaction): Improved the @ check (scanning for a transaction | John Wiegley | 2008-04-13 | 1 | -1/+18 |
| | | | | cost) so that it skips quoted symbol names and value expressions. | ||||
* | (parse_amount): Don't interpret an initial opening parenthesis as | John Wiegley | 2008-04-13 | 1 | -1/+1 |
| | | | | inline math, but rather see it as introducing a value expression. | ||||
* | (parse): Do not balance automated entries: they are now balanced as | John Wiegley | 2008-04-13 | 1 | -12/+12 |
| | | | | | | part of the entry they match. (parse): Report the remainder of failed balances using `entry_balance'. This can give a much better idea of what went wrong, especially when values are being calculated. | ||||
* | (write_textual_journal): Corrected an error message. | John Wiegley | 2008-04-13 | 1 | -1/+1 |
| | |||||
* | Transactions now track their beginning and ending position, as do | John Wiegley | 2008-04-13 | 1 | -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 Wiegley | 2008-04-13 | 1 | -2/+0 |
| | |||||
* | Made several changes to the parsing infrastructure to allow passing | John Wiegley | 2008-04-13 | 1 | -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 that | John Wiegley | 2008-04-13 | 1 | -28/+28 |
| | | | | required spaces before. | ||||
* | Added in.clear() before resetting I/Os streams. Again, thanks to the | John Wiegley | 2008-04-13 | 1 | -0/+1 |
| | | | | list. | ||||
* | Removed Python integration support. | John Wiegley | 2008-04-13 | 1 | -27/+0 |
| | |||||
* | Restructed the code that it can build and be used as a shared library. | John Wiegley | 2008-04-13 | 1 | -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 Wiegley | 2008-04-13 | 1 | -2/+7 |
| | |||||
* | See ChangeLog | John Wiegley | 2008-04-13 | 1 | -3/+29 |
| | |||||
* | Support has been added for clearing of individual transactions. Set | John Wiegley | 2008-04-13 | 1 | -32/+55 |
| | | | | `ledger-clear-whole-entries' in Emacs to revert to the old behavior. | ||||
* | *** empty log message *** | John Wiegley | 2008-04-13 | 1 | -1/+1 |
| | |||||
* | (parse_entry): Allow for the possibility that a transaction might end | John Wiegley | 2008-04-13 | 1 | -1/+7 |
| | | | | with EOF. | ||||
* | (parse_entry): Removed "single line" transaction parsing and went back | John Wiegley | 2008-04-13 | 1 | -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 causing | John Wiegley | 2008-04-13 | 1 | -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 it | John Wiegley | 2008-04-13 | 1 | -10/+17 |
| | | | | is parsed. | ||||
* | (parse_inline_math): Parse amounts that use any | John Wiegley | 2008-04-13 | 1 | -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 set | John Wiegley | 2008-04-13 | 1 | -5/+7 |
| | | | | incorrectly. | ||||
* | (parse): Parse price database entries using the fixed date format | John Wiegley | 2008-04-13 | 1 | -1/+5 |
| | | | | "%Y/%m/%d %H:%M:%S". | ||||
* | (clock_out_from_timelog): If a timelog file is left "open", clock out | John Wiegley | 2008-04-13 | 1 | -22/+32 |
| | | | | at the present time. | ||||
* | (parse_transaction): If an account name matches an alias definition, | John Wiegley | 2008-04-13 | 1 | -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 Wiegley | 2008-04-13 | 1 | -2/+2 |
| | |||||
* | *** empty log message *** | John Wiegley | 2008-04-13 | 1 | -3/+0 |
| | |||||
* | (test): Added a test for the presence of <?xml... in the input stream; | John Wiegley | 2008-04-13 | 1 | -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 Wiegley | 2008-04-13 | 1 | -3/+11 |
| | |||||
* | (parse): Updated the "D" command to take a regular amount, from which | John Wiegley | 2008-04-13 | 1 | -3/+6 |
| | | | | the default flags and precision for its commodity are determined. | ||||
* | formatting changes | John Wiegley | 2008-04-13 | 1 | -2/+2 |
| | |||||
* | Whitespace changes. | John Wiegley | 2008-04-13 | 1 | -2/+2 |
| | |||||
* | (parse): When an entry does not balance, print the entry so the user | John Wiegley | 2008-04-13 | 1 | -1/+2 |
| | | | | can see what Ledger saw. | ||||
* | Changes to support building with gcc 2.95. | John Wiegley | 2008-04-13 | 1 | -5/+14 |
| | |||||
* | *** empty log message *** | John Wiegley | 2008-04-13 | 1 | -0/+1 |
| | |||||
* | *** empty log message *** | John Wiegley | 2008-04-13 | 1 | -3/+4 |
| | |||||
* | Added support for each entry to remember: the file it came from, and | John Wiegley | 2008-04-13 | 1 | -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 to | John Wiegley | 2008-04-13 | 1 | -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 Wiegley | 2008-04-13 | 1 | -0/+4 |
| | |||||
* | updated to version 2.0 | John Wiegley | 2008-04-13 | 1 | -0/+597 |
| | |||||
* | changes | John Wiegley | 2008-04-13 | 1 | -550/+0 |
| | |||||
* | improved error checking in parser, in case parts of an amount are missing | John Wiegley | 2004-09-24 | 1 | -14/+35 |
| | |||||
* | finalizer fixes; removed use of timing.h from main.cc | John Wiegley | 2004-09-24 | 1 | -4/+3 |
| | |||||
* | changed entry_finalizer scheme to use objects, not just function pointers | John Wiegley | 2004-09-24 | 1 | -8/+9 |
| | |||||
* | changed ledger.h to journal.h; moved adding of autoxact hook | John Wiegley | 2004-09-23 | 1 | -1/+6 |
| |