Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Removed an #if 0'd function from iterators.cc | John Wiegley | 2009-02-14 | 1 | -45/+0 |
| | |||||
* | Added #if 0'd stub code from 2.x's option.cc | John Wiegley | 2009-02-14 | 1 | -3/+26 |
| | |||||
* | Restored the --actual and --real options | John Wiegley | 2009-02-14 | 2 | -2/+33 |
| | |||||
* | If an option was given no value, throw an error | John Wiegley | 2009-02-14 | 1 | -1/+2 |
| | | | | The previous behavior was to trigger a confusing assertion. | ||||
* | Re-enabled periodic reporting options (-M, etc) | John Wiegley | 2009-02-14 | 3 | -13/+37 |
| | |||||
* | Fixed the way interval_t objects are initialized | John Wiegley | 2009-02-14 | 2 | -13/+11 |
| | |||||
* | Removed interval_t::advanced, which was unused | John Wiegley | 2009-02-14 | 2 | -9/+3 |
| | |||||
* | Enabled --cleared, --uncleared and --pending | John Wiegley | 2009-02-13 | 1 | -3/+14 |
| | | | | | Note that the --uncleared flag includes --pending, since it specifically means "not yet cleared". | ||||
* | Changed the semantics of the "prices" report | John Wiegley | 2009-02-13 | 2 | -10/+23 |
| | | | | | | | | | | | | | | | The prices report now uses the following scheme: PAYEE -> name of commodity of price ACCOUNT -> name of commodity of item AMOUNT -> price DATE -> date of pricing However, the report does not show the payee. The only reason the payee is set is to enable clever querying. For example: ledger prices gold # show all known prices for GOLD ledger prices @gold # show all known prices *in* GOLD | ||||
* | The formatting code no longer justifies values | John Wiegley | 2009-02-13 | 3 | -5/+7 |
| | | | | | This is done in the value code, which knows -- based on the value's type -- how best to apply the justification. | ||||
* | Greatly improved output from the "format" command | John Wiegley | 2009-02-13 | 2 | -24/+46 |
| | | | | | It now shows the formatted result against a sample entry, similar to what "parse" now does. | ||||
* | Don't print an xact's amount if it was calculated | John Wiegley | 2009-02-13 | 2 | -4/+10 |
| | | | | | That is, if the user didn't enter an amount for that transaction in their ledger journal, don't print one out either. | ||||
* | Removed auto-reconciling behavior from ledger.el | John Wiegley | 2009-02-13 | 1 | -43/+3 |
| | |||||
* | Re-activated the budgeting flags | John Wiegley | 2009-02-13 | 1 | -3/+12 |
| | | | | However, the budget reports themselves still need to be tested. | ||||
* | Added tools/sample.sh, which uses tools/sample.py | John Wiegley | 2009-02-13 | 1 | -0/+7 |
| | |||||
* | Set coding-system-for-read, as well as write | John Wiegley | 2009-02-13 | 1 | -1/+2 |
| | |||||
* | Added tools/excludes and tools/pre-commit | John Wiegley | 2009-02-13 | 2 | -0/+82 |
| | | | | | | | These files are used to creat ea Git pre-commit hook which verifies each proposed change by running "make check". Otherwise, I only know if my working tree is sane, and not if each commit is sane before it goes into the repository. | ||||
* | Added a "reload" command, for use at the REPL | John Wiegley | 2009-02-13 | 7 | -55/+76 |
| | | | | | | | Created a new function, session_t::reread_journal_files, which throws away all previous state data and reads in the same files again. This is needed to allow Emacs to communicate with Ledger via the REPL, so that it tell Ledger when it has made changes to the user's data file. | ||||
* | Set coding-system-for-write when talking to ledger | John Wiegley | 2009-02-13 | 1 | -5/+6 |
| | | | | | | Otherwise, calling out to Ledger uses whatever the user's default happens to be, such as iso-latin-1. This caused problems for one user who had euro symbols encoding in utf-8 in his data file. | ||||
* | Changed print report to use format_date | John Wiegley | 2009-02-13 | 1 | -1/+2 |
| | | | | Otherwise, Ledger was unable to parse what it had printed. | ||||
* | Added a new valexpr function: format_date | John Wiegley | 2009-02-13 | 2 | -0/+11 |
| | | | | | | | | | This can be used to format dates with a specific pattern, such as: format_date(entry.date, "%Y/%m/%d") This is used by the print command to ensure that Ledger is able to parse back what it prints. | ||||
* | If a LEDGER_ envvar has no value, ignore it | John Wiegley | 2009-02-13 | 1 | -1/+3 |
| | |||||
* | Removed CppUnit submodule reference | John Wiegley | 2009-02-13 | 3 | -3/+1 |
| | | | | | This library is a dependency for running "make check", but it's not built as part of a Ledger build, and so doesn't belong as a submodule. | ||||
* | Reorganized the way acprep handles switches | John Wiegley | 2009-02-13 | 2 | -34/+36 |
| | | | | | Now it takes --warn and --debug flags, and I use tools/myacprep to collect together all the flags I normally use in development. | ||||
* | Renamed a function to sort_value_is_less_than | John Wiegley | 2009-02-12 | 4 | -8/+8 |
| | | | | | The purpose was to provided a clearer relationship between the function name and its expected arguments. | ||||
* | Removed a bad variable setting in acprep | John Wiegley | 2009-02-12 | 1 | -3/+1 |
| | |||||
* | Added -I/sw/include to Fink to acprep users | John Wiegley | 2009-02-12 | 1 | -9/+28 |
| | |||||
* | Sorting expr now uses "-" to indicate descending | John Wiegley | 2009-02-12 | 6 | -46/+79 |
| | | | | | For example: -S payee,-date sorts 1) ascending by payee, then 2) descending by date. | ||||
* | Made (un)reduce rvalue methods more consistent | John Wiegley | 2009-02-12 | 5 | -11/+16 |
| | | | | | | 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. | ||||
* | The --sort flag now accepts multiple terms (-S payee,date). | John Wiegley | 2009-02-12 | 2 | -2/+33 |
| | | | | However, there is no way yet to reverse the meaning of a given term. | ||||
* | Restored the "prices" command. | John Wiegley | 2009-02-12 | 6 | -14/+117 |
| | |||||
* | Turned on the "emacs" command and budgeting, though neither are tested yet. | John Wiegley | 2009-02-12 | 2 | -2/+12 |
| | |||||
* | Re-enabled some code, and removed a bunch of deadwood. | John Wiegley | 2009-02-12 | 10 | -82/+19 |
| | |||||
* | Fixed a typo which was causing all boolean values to show as "false". | John Wiegley | 2009-02-12 | 1 | -5/+5 |
| | |||||
* | Added validation code for mask_t objects. | John Wiegley | 2009-02-12 | 3 | -0/+14 |
| | |||||
* | Added a missing file! | John Wiegley | 2009-02-12 | 1 | -0/+95 |
| | |||||
* | Moved value_t::set_type into value.cc, since it had grown. | John Wiegley | 2009-02-12 | 2 | -18/+21 |
| | |||||
* | Inlined value_t::_clear(), since it only had one caller. | John Wiegley | 2009-02-12 | 1 | -17/+9 |
| | |||||
* | Ignore lines in Ledger files which contain only whitespace. | John Wiegley | 2009-02-12 | 1 | -1/+1 |
| | |||||
* | Removed an excessive error check. | John Wiegley | 2009-02-12 | 1 | -3/+0 |
| | |||||
* | Properly handle UTF-8 characters in commodity strings. | John Wiegley | 2009-02-12 | 11 | -123/+136 |
| | |||||
* | make clean should remove system.hh.gch from the source tree. | John Wiegley | 2009-02-12 | 1 | -1/+1 |
| | |||||
* | Allow the use of days of the week to "entry", e.g: "thu kfc 11". | John Wiegley | 2009-02-11 | 2 | -1/+35 |
| | |||||
* | After hitting TAB to insert a new entry, position point at the amount. | John Wiegley | 2009-02-11 | 1 | -0/+3 |
| | |||||
* | In ledger-mode, if TAB is pressed in an entry, call out to "entry". | John Wiegley | 2009-02-11 | 2 | -26/+53 |
| | |||||
* | Add data file with examples related to drewr's use. | Drew Raines | 2009-02-11 | 1 | -0/+59 |
| | |||||
* | Rewrote the "entry" command. It's ALIVE! | John Wiegley | 2009-02-11 | 7 | -174/+359 |
| | |||||
* | Made acprep conform to /bin/sh, instead of /bin/bash. | John Wiegley | 2009-02-11 | 1 | -8/+12 |
| | |||||
* | Updated the Boost version I'm building with on OS X to 1.38. | John Wiegley | 2009-02-11 | 2 | -4/+4 |
| | |||||
* | Wired up the "entry" command from 2.x, though it still needs to be ported. | John Wiegley | 2009-02-10 | 8 | -107/+72 |
| |