summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Removed an #if 0'd function from iterators.ccJohn Wiegley2009-02-141-45/+0
|
* Added #if 0'd stub code from 2.x's option.ccJohn Wiegley2009-02-141-3/+26
|
* Restored the --actual and --real optionsJohn Wiegley2009-02-142-2/+33
|
* If an option was given no value, throw an errorJohn Wiegley2009-02-141-1/+2
| | | | The previous behavior was to trigger a confusing assertion.
* Re-enabled periodic reporting options (-M, etc)John Wiegley2009-02-143-13/+37
|
* Fixed the way interval_t objects are initializedJohn Wiegley2009-02-142-13/+11
|
* Removed interval_t::advanced, which was unusedJohn Wiegley2009-02-142-9/+3
|
* Enabled --cleared, --uncleared and --pendingJohn Wiegley2009-02-131-3/+14
| | | | | Note that the --uncleared flag includes --pending, since it specifically means "not yet cleared".
* Changed the semantics of the "prices" reportJohn Wiegley2009-02-132-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 valuesJohn Wiegley2009-02-133-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" commandJohn Wiegley2009-02-132-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 calculatedJohn Wiegley2009-02-132-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.elJohn Wiegley2009-02-131-43/+3
|
* Re-activated the budgeting flagsJohn Wiegley2009-02-131-3/+12
| | | | However, the budget reports themselves still need to be tested.
* Added tools/sample.sh, which uses tools/sample.pyJohn Wiegley2009-02-131-0/+7
|
* Set coding-system-for-read, as well as writeJohn Wiegley2009-02-131-1/+2
|
* Added tools/excludes and tools/pre-commitJohn Wiegley2009-02-132-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 REPLJohn Wiegley2009-02-137-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 ledgerJohn Wiegley2009-02-131-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_dateJohn Wiegley2009-02-131-1/+2
| | | | Otherwise, Ledger was unable to parse what it had printed.
* Added a new valexpr function: format_dateJohn Wiegley2009-02-132-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 itJohn Wiegley2009-02-131-1/+3
|
* Removed CppUnit submodule referenceJohn Wiegley2009-02-133-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 switchesJohn Wiegley2009-02-132-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_thanJohn Wiegley2009-02-124-8/+8
| | | | | The purpose was to provided a clearer relationship between the function name and its expected arguments.
* Removed a bad variable setting in acprepJohn Wiegley2009-02-121-3/+1
|
* Added -I/sw/include to Fink to acprep usersJohn Wiegley2009-02-121-9/+28
|
* Sorting expr now uses "-" to indicate descendingJohn Wiegley2009-02-126-46/+79
| | | | | For example: -S payee,-date sorts 1) ascending by payee, then 2) descending by date.
* Made (un)reduce rvalue methods more consistentJohn Wiegley2009-02-125-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 Wiegley2009-02-122-2/+33
| | | | However, there is no way yet to reverse the meaning of a given term.
* Restored the "prices" command.John Wiegley2009-02-126-14/+117
|
* Turned on the "emacs" command and budgeting, though neither are tested yet.John Wiegley2009-02-122-2/+12
|
* Re-enabled some code, and removed a bunch of deadwood.John Wiegley2009-02-1210-82/+19
|
* Fixed a typo which was causing all boolean values to show as "false".John Wiegley2009-02-121-5/+5
|
* Added validation code for mask_t objects.John Wiegley2009-02-123-0/+14
|
* Added a missing file!John Wiegley2009-02-121-0/+95
|
* Moved value_t::set_type into value.cc, since it had grown.John Wiegley2009-02-122-18/+21
|
* Inlined value_t::_clear(), since it only had one caller.John Wiegley2009-02-121-17/+9
|
* Ignore lines in Ledger files which contain only whitespace.John Wiegley2009-02-121-1/+1
|
* Removed an excessive error check.John Wiegley2009-02-121-3/+0
|
* Properly handle UTF-8 characters in commodity strings.John Wiegley2009-02-1211-123/+136
|
* make clean should remove system.hh.gch from the source tree.John Wiegley2009-02-121-1/+1
|
* Allow the use of days of the week to "entry", e.g: "thu kfc 11".John Wiegley2009-02-112-1/+35
|
* After hitting TAB to insert a new entry, position point at the amount.John Wiegley2009-02-111-0/+3
|
* In ledger-mode, if TAB is pressed in an entry, call out to "entry".John Wiegley2009-02-112-26/+53
|
* Add data file with examples related to drewr's use.Drew Raines2009-02-111-0/+59
|
* Rewrote the "entry" command. It's ALIVE!John Wiegley2009-02-117-174/+359
|
* Made acprep conform to /bin/sh, instead of /bin/bash.John Wiegley2009-02-111-8/+12
|
* Updated the Boost version I'm building with on OS X to 1.38.John Wiegley2009-02-112-4/+4
|
* Wired up the "entry" command from 2.x, though it still needs to be ported.John Wiegley2009-02-108-107/+72
|