summaryrefslogtreecommitdiff
path: root/src/format.cc
Commit message (Collapse)AuthorAgeFilesLines
* Corrected several compile and link problemsJohn Wiegley2012-03-061-0/+2
|
* Use unique_ptr instead of std::auto_ptrJohn Wiegley2012-03-051-1/+1
|
* Make copying of format_t objects memory-safeJohn Wiegley2012-03-051-11/+0
|
* Don't copy the next pointer in element_t's copy ctorJohn Wiegley2012-03-051-2/+1
|
* Corrected copy of format_t objectsJohn Wiegley2012-03-051-0/+11
| | | | Copying of sub-elements was causing pointer overlap.
* Improvements to format parsingJohn Wiegley2012-03-021-98/+172
| | | | Fixes #337
* Increased file copyrights to 2012John Wiegley2012-02-291-1/+1
|
* Introduced a new SCOPE expression terminalJohn Wiegley2012-02-201-1/+1
|
* Fixed many Clang type conversion warnings with static_castJohn Wiegley2012-02-171-6/+6
|
* Removed unneeded default casesJohn Wiegley2012-02-171-4/+0
|
* Change weighting of account-name abbreviationJohn Wiegley2010-06-211-1/+1
| | | | | Parent accounts are abbreviated even more, so that child accounts can show more text.
* Improved algorithm for abbreviating account namesJohn Wiegley2010-06-141-16/+139
|
* Changed display order of format exceptionsJohn Wiegley2010-06-131-0/+5
|
* Untabified all source filesJohn Wiegley2010-06-111-140/+140
|
* Updated copyrights to 2003-2010John Wiegley2010-03-051-1/+1
|
* Optimization in the formatting of string valuesJohn Wiegley2009-11-141-2/+5
|
* Moving the #include of unistring.h into format.hJohn Wiegley2009-11-101-1/+0
|
* Fixes to the value expression parser and evaluatorJohn Wiegley2009-11-101-2/+8
|
* Redesigned the format_t classJohn Wiegley2009-11-091-35/+45
|
* Redesigned the expr_t, predicate_t, query_t classesJohn Wiegley2009-11-091-3/+2
|
* Fixed a display issue with the balance reportJohn Wiegley2009-10-271-29/+28
|
* Fixed overflow bug introduced by the warning fixesJohn Wiegley2009-10-251-2/+3
|
* Fixed many compiler warnings from g++ 4.4John Wiegley2009-10-251-7/+7
|
* Correctly align amounts formatted as "%12(amount)"John Wiegley2009-06-281-1/+2
|
* Restored the --truncate option, added baseline testJohn Wiegley2009-06-211-6/+9
|
* Enabled use of pre-compiled headers by defaultJohn Wiegley2009-03-101-0/+2
|
* Reduced the #include dependency tree to a minimumJohn Wiegley2009-03-041-0/+2
|
* Cured several harmless compiler warningsJohn Wiegley2009-03-041-1/+2
|
* Allow special %{} formatting sequenceJohn Wiegley2009-03-031-17/+107
| | | | | | | | | | | | | | | Although %(amount) inserts an item's amount, it only does exactly that. There is no special consideration like stripping of lot details, or reduction to the base commodity, etc. For those things, and to make sure it was display in red if negative, the canonical form would be: %(ansify_if(justify(scrub(amount), 12, -1, true), red if amount < 0)) You can now use the special %{} form as an alternate to this: %12{amount, red if amount < 0} The two expand to the same underlying expression.
* Corrected warnings g++-4.3.3 was complaining aboutJohn Wiegley2009-02-281-1/+1
|
* Fixed a buffer overrunJohn Wiegley2009-02-271-3/+9
|
* Marked all strings needing internationalizationJohn Wiegley2009-02-251-1/+1
| | | | | | | | | | | | | | | | These strings are now collected automagically in the file po/ledger.pot. If you'd like to produce a translation, just run this command after building Ledger: msginit -l LOCALE -o LANG.po -i po/ledger.pot Where LOCALE is a string like de or en_GB, and LANG is a short descriptive word for your language. Then send me this .po file so I can commit it to the Ledger sources (alternatively, you could maintain the file in a fork on GitHub), and setup the build script to format and install your new message catalog during a "make install".
* The Great Renaming, Part IIJohn Wiegley2009-02-231-9/+9
| | | | | The last commit did not contain the majority of changes because of a slight mishap. This contains the real changeset.
* Handle reporting widths that are too smallJohn Wiegley2009-02-211-1/+1
|
* Corrected a column-wise formatting issueJohn Wiegley2009-02-201-2/+2
|
* Efficiency fix for the formatting codeJohn Wiegley2009-02-191-9/+12
|
* Removed the %*| special char, for %*(" ")John Wiegley2009-02-171-5/+0
|
* The format code %C is now equal to %(fmt_C)John Wiegley2009-02-151-7/+3
|
* Removed an unused functionJohn Wiegley2009-02-151-6/+0
|
* Removed the %! formatting code, as it does nothingJohn Wiegley2009-02-151-6/+2
|
* The formatting code no longer justifies valuesJohn Wiegley2009-02-131-3/+2
| | | | | 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-131-3/+3
| | | | | It now shows the formatted result against a sample entry, similar to what "parse" now does.
* Moved get_partial_name from format.cc into account_t, where it belongs.John Wiegley2009-02-081-23/+1
|
* Largely removed all of Ledger's use of global variables, for the REPL's sake.John Wiegley2009-02-041-13/+11
|
* Simplified error context handling.John Wiegley2009-02-021-1/+2
|
* Added a missing throw() in the formatter.John Wiegley2009-02-011-0/+1
|
* Stopped using the generic "unsigned int" in favor of more specific types.John Wiegley2009-01-291-3/+3
|
* Revised the way that parsing flags get passed around.John Wiegley2009-01-291-2/+1
|
* Added support for Unicode text in Ledger files, thanks to 'utfcpp', which canJohn Wiegley2009-01-231-42/+39
| | | | be located at http://utfcpp.sourceforge.net.
* Increased copyright range to include 2009.John Wiegley2009-01-201-1/+1
|