summaryrefslogtreecommitdiff
path: root/format.cc
Commit message (Collapse)AuthorAgeFilesLines
* (format): [1178223] Don't truncate to max_width in the case ofJohn Wiegley2008-04-131-1/+4
| | | | outputting balances.
* Moved `format_xml_entries' to xml.cc.John Wiegley2008-04-131-208/+0
|
* (truncated): Added "style" argument, so that at least Python users canJohn Wiegley2008-04-131-22/+86
| | | | | | | choose which output style they want (truncation at beginning, middle or end of the string). (export_format): Expose following handlers to Python: FormatTransactions, FormatEntries, FormatXmlEntries, FormatAccount, FormatEquity.
* (truncated): Simplified this method, and added schemes for truncatingJohn Wiegley2008-04-131-28/+63
| | | | | | | | at the beginning and middle of a string (neither of which seems better than truncating at the front). (output_xml_string): Change xml_string to output_xml_string, for simplicity's sake. Also, < and > are now output as &lt; and &gt;. (format_last_entry): Use output_xml_string for the account name as well as the code, payee and note.
* (format_equity::flush): If the equity balance uses multipleJohn Wiegley2008-04-131-4/+44
| | | | | commodities, then multiple "Equity" lines need to be printed, one for each. (format_equity::operator()): Same, but for individual accounts.
* Changes to support building with gcc 2.95.John Wiegley2008-04-131-0/+1
|
* (format_transactions::operator): Corrected a bad memory access.John Wiegley2008-04-131-1/+1
|
* *** empty log message ***John Wiegley2008-04-131-1/+1
|
* (parse_elements): Added %S, %B and %E elements, for printing theJohn Wiegley2008-04-131-1/+28
| | | | source path, beginning and ending positions of an entry.
* (format_last_entry): Output tr:cost as an amount, not as an amountJohn Wiegley2008-04-131-2/+5
| | | | string.
* (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 2.02John Wiegley2008-04-131-2/+1
|
* updated to version 2.0John Wiegley2008-04-131-0/+842
|
* changesJohn Wiegley2008-04-131-606/+0
|
* made several of the buffers used non-staticJohn Wiegley2004-09-261-1/+1
|
* added pysample.dat, which provides a more realistic example of using PythonJohn Wiegley2004-09-251-2/+14
|
* added a custom transaction formatter, format_entries, used by "print"John Wiegley2004-09-241-5/+37
|
* fixed an obscure "print" bugJohn Wiegley2004-09-241-11/+8
|
* shored up error checking of value expressionsJohn Wiegley2004-09-231-4/+11
|
* passing --enable-python to configure is now required for python supportJohn Wiegley2004-09-201-7/+7
|
* the "bal" command mostly works now in main.py; added a finalize_entry hookJohn Wiegley2004-09-201-6/+88
|
* changed the management of "xdata" in walk.hJohn Wiegley2004-09-171-3/+6
|
* further python integration improvementsJohn Wiegley2004-09-141-1/+10
|
* added support for ValueExpr objects to python.John Wiegley2004-09-101-3/+8
|
* added python support for Format() objects. see main.pyJohn Wiegley2004-09-101-8/+14
|
* Python fixes; starting adding support for using item_handlers in pythonJohn Wiegley2004-09-081-0/+20
|
* the amount/balance/value logic is now a library, completely separate from ledgerJohn Wiegley2004-08-291-17/+14
|
* cleanup; fully switched to autoconf -- use scripts/acprepJohn Wiegley2004-08-241-15/+24
|
* a little cleanup; reversed the meaning of -z and -p (to be more mnemonic)John Wiegley2004-08-231-3/+4
|
* slight cleanupJohn Wiegley2004-08-231-2/+1
|
* simplified some codeJohn Wiegley2004-08-221-11/+11
|
* escape codes in format strings; can now redefine individual report formatsJohn Wiegley2004-08-221-1/+15
|
* a little more reorganizing, but only fractionally faster. diminishing returns!John Wiegley2004-08-221-11/+11
|
* use value_t instead of balance_pair_t; gains for 10% binary, 2% textualJohn Wiegley2004-08-211-3/+8
|
* fixes so that ledger will build optimizedJohn Wiegley2004-08-211-1/+1
|
* only compute the cost when it differs from the amountJohn Wiegley2004-08-211-2/+2
|
* support arbitrary precision after the decimal point; increase speed 0-10%John Wiegley2004-08-211-5/+3
|
* use std::auto_ptr wherever a thrown exception might otherwise leak memoryJohn Wiegley2004-08-191-6/+9
|
* fix to textual parsing, and a bit of reconstruction in main.ccJohn Wiegley2004-08-191-77/+78
|
* added --help docs, and fixed some problems with balance reprotingJohn Wiegley2004-08-181-12/+19
|
* more time interval support: last month, last feb, next year, etc.John Wiegley2004-08-181-1/+1
|
* further performance tweaksJohn Wiegley2004-08-171-20/+38
|
* several significant speed improvements (removed excessive copying of strings)John Wiegley2004-08-171-27/+32
|
* if NO_CLEANUP is defined in the Makefile (now default), no cleanup is doneJohn Wiegley2004-08-171-0/+5
|
* fix to amount printingJohn Wiegley2004-08-141-4/+4
|
* added support for interval reporting; changed some option flagsJohn Wiegley2004-08-121-4/+5
|
* many more formatting changesJohn Wiegley2004-08-111-3/+3
|
* more cleanupJohn Wiegley2004-08-111-0/+1
|
* added several kinds of transaction filtersJohn Wiegley2004-08-111-93/+0
|
* use polymorphism, instead of templates, for walking itemsJohn Wiegley2004-08-101-7/+6
|