summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* (parse_elements): Added %S, %B and %E elements, for printing theJohn Wiegley2008-04-132-1/+31
| | | | source path, beginning and ending positions of an entry.
* Added write_hdr_format and write_xact_format, which are used by theJohn Wiegley2008-04-132-2/+16
| | | | "output" command.
* Added support for each entry to remember: the file it came from, andJohn Wiegley2008-04-131-11/+24
| | | | | | | | | | 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. (read_binary_journal, write_binary_journal): All accounts and entries now know which journal they are a member of, and have a `journal' member pointing to it.
* *** empty log message ***John Wiegley2008-04-130-0/+0
|
* Check for `realpath' function, used by the new "output" command. IfJohn Wiegley2008-04-131-5/+1
| | | | it's not available, filename matching must be exact.
* Added framework for an auto-reconcile command. Useful primarily forJohn Wiegley2008-04-133-0/+94
| | | | GUI developers.
* (parse_ledger_data): Don't auto-create equivalencies for bytes,John Wiegley2008-04-132-2/+6
| | | | kilobytes, etc., since people may want to use "b" for something else.
* *** empty log message ***John Wiegley2008-04-132-1/+5
|
* (endElement): Handle the <tr:virtual> and <tr:generated> tags, whichJohn Wiegley2008-04-131-5/+14
| | | | | were being ignored. (parse): Corrected error reporting when it is a Ledger error.
* (parse): Corrected error reporting lines when it is a Ledger error.John Wiegley2008-04-131-3/+5
|
* (format_last_entry): Output tr:cost as an amount, not as an amountJohn Wiegley2008-04-131-2/+5
| | | | string.
* *** empty log message ***John Wiegley2008-04-130-0/+0
|
* Fixed check for libxmlparse.John Wiegley2008-04-131-1/+2
|
* *** empty log message ***John Wiegley2008-04-130-0/+0
|
* (parse_and_report): Removed "files" argument.John Wiegley2008-04-131-1/+1
|
* (class journal_t): Added `price_db' member, which is the priceJohn Wiegley2008-04-131-0/+1
| | | | database used to read in historical prices for a given journal.
* (export_journal): Added `price_db' property to ledger.Journal type.John Wiegley2008-04-131-0/+1
|
* (convert_number): If the denominator is zero, report an error insteadJohn Wiegley2008-04-131-1/+6
| | | | of crashing.
* (parse_ledger_data): Set journal->price_db if a price database isJohn Wiegley2008-04-131-8/+13
| | | | successfully read in.
* (write_binary_journal): Removed unused "files" parameter.John Wiegley2008-04-131-2/+1
|
* Updated binary cache version, for good measure.John Wiegley2008-04-131-8/+17
| | | | | | | | (read_binary_journal): Read in the price_db, in order to throw away the cache if it has changed. (write_binary_journal): Removed unused "files" parameter. Changed logic for writing out files list. Also, write out the prices database that was used. (py_write_binary_journal): Removed "files" argument.
* *** empty log message ***John Wiegley2008-04-130-0/+0
|
* *** empty log message ***John Wiegley2008-04-130-0/+0
|
* Updated binary cache version, for good measure.John Wiegley2008-04-131-1/+1
|
* *** empty log message ***John Wiegley2008-04-131-0/+2
|
* (operator/): Added a more complete divide-by-zero check.John Wiegley2008-04-131-1/+1
|
* *** empty log message ***John Wiegley2008-04-133-102/+7
|
* Added #include <alogrithm>John Wiegley2008-04-132-0/+3
|
* Changed all of the library tests into actual compile/link tests, toJohn Wiegley2008-04-131-16/+74
| | | | | | ensure that the compilation environment is what it needs to be. Also, added a test to make sure the C++ compiler has some basic features, since gcc2.95 will not work.
* *** empty log message ***John Wiegley2008-04-132-0/+10
|
* *** empty log message ***John Wiegley2008-04-131-2/+2
|
* doc updatesJohn Wiegley2008-04-132-1/+11
|
* *** empty log message ***John Wiegley2008-04-130-0/+0
|
* Changed the reconciling feature so that it doesn't need to ask for theJohn Wiegley2008-04-131-10/+8
| | | | "number of days".
* *** empty log message ***John Wiegley2008-04-130-0/+0
|
* doc fixJohn Wiegley2008-04-131-1/+1
|
* (format): Pay attention to the max_width setting for each formattingJohn Wiegley2008-04-131-1/+8
| | | | | element. This means that "%.20N" can no longer exceed 20 characters of width.
* Updated to python2.4John Wiegley2008-04-131-2/+2
|
* *** empty log message ***John Wiegley2008-04-131-5/+5
|
* *** empty log message ***John Wiegley2008-04-130-0/+0
|
* (parse_and_report): If cache_file is "<none>", blank it out. ThisJohn Wiegley2008-04-131-2/+5
| | | | steps around the logic that sets the default name.
* Set cache_file to "<none>" if --no-cache is used.John Wiegley2008-04-131-1/+1
|
* *** empty log message ***John Wiegley2008-04-130-0/+0
|
* Check for libxmlparse.a using a compile test instead of a link test.John Wiegley2008-04-131-7/+33
| | | | This is much less ambiguous.
* (option_full_help): Added docs for --no-cache. (option_help): AddedJohn Wiegley2008-04-131-0/+6
| | | | docs for --no-cache. Added --no-cache option.
* (libledger_a_CXXFLAGS): Define -DHAVE_XMLPARSE=1 if the configure fileJohn Wiegley2008-04-131-0/+1
| | | | did.
* *** empty log message ***John Wiegley2008-04-130-0/+0
|
* Increased version to 2.1.John Wiegley2008-04-132-4/+4
|
* *** empty log message ***John Wiegley2008-04-130-0/+0
|
* Added commodity_t::default_commodity. Initialize the same.John Wiegley2008-04-131-2/+4
|