Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | Re-activated the budgeting flags | John Wiegley | 2009-02-13 | 1 | -3/+12 |
| | | | | However, the budget reports themselves still need to be tested. | ||||
* | 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. | ||||
* | 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 |
| | |||||
* | 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. | ||||
* | 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 | 4 | -9/+14 |
| | | | | | | 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 | 9 | -100/+112 |
| | |||||
* | Allow the use of days of the week to "entry", e.g: "thu kfc 11". | John Wiegley | 2009-02-11 | 1 | -1/+32 |
| | |||||
* | In ledger-mode, if TAB is pressed in an entry, call out to "entry". | John Wiegley | 2009-02-11 | 1 | -7/+26 |
| | |||||
* | Rewrote the "entry" command. It's ALIVE! | John Wiegley | 2009-02-11 | 7 | -174/+359 |
| | |||||
* | Wired up the "entry" command from 2.x, though it still needs to be ported. | John Wiegley | 2009-02-10 | 7 | -105/+72 |
| | |||||
* | A fix to the last fix. | John Wiegley | 2009-02-10 | 1 | -1/+0 |
| | |||||
* | A fix for users of Boost 1.35. | John Wiegley | 2009-02-10 | 1 | -2/+17 |
| | |||||
* | Wrote the beginnings of a new "stats" command. | John Wiegley | 2009-02-10 | 3 | -0/+71 |
| | |||||
* | option_t's copy constructor wasn't copying "wants_arg". | John Wiegley | 2009-02-10 | 1 | -1/+5 |
| | | | | This was causing "reg -p this" to fail in the REPL. | ||||
* | Removed an unneeded method declaration. | John Wiegley | 2009-02-10 | 1 | -1/+0 |
| | |||||
* | Sort period transactions by "date", not by "d". | John Wiegley | 2009-02-10 | 1 | -1/+1 |
| | |||||
* | Changed value_t to use boost::any (more type-safe). | John Wiegley | 2009-02-10 | 2 | -239/+103 |
| | |||||
* | If a textual directive can't be found, ignore it. | John Wiegley | 2009-02-10 | 1 | -0/+4 |
| | |||||
* | Break libledger_data's dependency on session_t. | John Wiegley | 2009-02-09 | 4 | -32/+35 |
| | |||||
* | When -V is used, show the market value for the amount as well as the total. | John Wiegley | 2009-02-09 | 1 | -0/+1 |
| | |||||
* | Exclude | from the legal commodity character set, as per the comment. | John Wiegley | 2009-02-09 | 1 | -1/+1 |
| | |||||
* | Fix to handling of effective dates in xact_t::date(). | John Wiegley | 2009-02-09 | 1 | -3/+9 |
| | |||||
* | Fixed the operator precedence of several operators. | John Wiegley | 2009-02-09 | 1 | -100/+115 |
| | |||||
* | Removed reference to session_t from the iterators module. | John Wiegley | 2009-02-09 | 5 | -35/+37 |
| | |||||
* | Fixed the use of --effective and --date-format (-y). | John Wiegley | 2009-02-09 | 7 | -50/+52 |
| | |||||
* | For the "parse" pre-command, provide a sample transaction context. | John Wiegley | 2009-02-09 | 1 | -4/+26 |
| | |||||
* | Join command-line arguments before handling pre-commands. | John Wiegley | 2009-02-09 | 1 | -26/+29 |
| | |||||
* | Fixed a case where adding an amount to an integer failed. | John Wiegley | 2009-02-09 | 1 | -0/+4 |
| | |||||
* | Added a new --collapse-if-zero option. | John Wiegley | 2009-02-09 | 5 | -6/+28 |
| | |||||
* | Don't apply an automated entry to a generated transaction. | John Wiegley | 2009-02-09 | 1 | -3/+2 |
| |