summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Removed two invalid commentsJohn Wiegley2009-10-271-2/+0
|
* Made the id function available in post contextsJohn Wiegley2009-10-274-21/+64
|
* Output pointer values correctly for 64-bit systemsJohn Wiegley2009-10-271-1/+1
|
* Balance assertions now really assertJohn Wiegley2009-10-261-17/+25
| | | | | | | | There are two kinds of balance related options for a posting: a balance assignment, where the amount of the posting is blank and so it fills it in to make the assertion true; and plain assertions, where the amount is not blank and an error is reported if the balance does not match the given amount after the posting is taken into account.
* Added t and T as valexpr synonymsJohn Wiegley2009-10-261-0/+7
| | | | t = display_amount, T = display_total
* Fixed sorting in bal reports when --flat is usedJohn Wiegley2009-10-267-80/+81
| | | | | | | Note that sorting on the "total" is not the same thing as sorting on the "display_total" when multiple commodities are in use and the -X flag is selected! One should always sort on display_total, since that's the value which is shown in the report. 'T' is a synonym for display_total.
* In the balance report, don't output any account twiceJohn Wiegley2009-10-261-1/+2
|
* Added an "echo" command, for REPL testingJohn Wiegley2009-10-262-0/+11
|
* If a pricing entry fails to parse, give an errorJohn Wiegley2009-10-261-1/+2
|
* Improved argument parsing logic used by the REPLJohn Wiegley2009-10-263-15/+55
| | | | | It now handles quoted strings, although it doesn't understand escape sequences yet.
* Fixed the Boost facet-based time parsing codeJohn Wiegley2009-10-251-13/+24
|
* Whitespace and comment changesJohn Wiegley2009-10-251-10/+10
|
* Export times_initialize and times_shutdown to PythonJohn Wiegley2009-10-251-2/+4
|
* Fixed overflow bug introduced by the warning fixesJohn Wiegley2009-10-251-2/+3
|
* Fixed the memory tracing code (used by --verify)John Wiegley2009-10-251-33/+56
|
* Added some extra storage checks to value_tJohn Wiegley2009-10-251-0/+5
|
* New valexpr functions: id, idstring, magnitudeJohn Wiegley2009-10-253-15/+52
| | | | | | id returns a unique SHA1 id of a transaction. idstring is the string that the SHA1 is based on. magnitude is the sum of the positive side of a transaction.
* The UTF8 code is now unchecked if --verify is offJohn Wiegley2009-10-251-9/+13
|
* Improved debug output of "--debug expr.calc"John Wiegley2009-10-252-40/+64
|
* Rewrote the way date and time I/O is managedJohn Wiegley2009-10-2513-116/+344
|
* Fixed many compiler warnings from g++ 4.4John Wiegley2009-10-2527-120/+147
|
* Use boost::iostreams::file_descriptor_sinkJohn Wiegley2009-10-252-2/+5
| | | | This is instead of the custom fdstream.hpp file I was distributing.
* Removed reliance on strptime/strftimeJohn Wiegley2009-10-117-122/+118
| | | | | | | | The code now uses Boost's input and output facets for times and dates. This ensures completely consistency regarding timezones and times, and fixes the regression test that was broken while I was away coding in London (where it was GMT-0 and I didn't notice the difference between local and GMT).
* Added some missing casts, upgraded to Boost 1.40John Wiegley2009-10-092-2/+3
|
* The print command now implies --actualJohn Wiegley2009-06-281-0/+3
|
* Disable use of ~/.pricedb when --args-only is presentJohn Wiegley2009-06-281-0/+2
|
* Date and time are optional for pricing directivesJohn Wiegley2009-06-281-2/+8
|
* value_t::dump now faithfully represents stringsJohn Wiegley2009-06-281-1/+15
|
* Reject downloaded quotes price in the wrong commodityJohn Wiegley2009-06-281-1/+4
|
* Correctly align amounts formatted as "%12(amount)"John Wiegley2009-06-281-1/+2
|
* Added debug code "option.names"John Wiegley2009-06-271-0/+1
| | | | Use "--debug option.names" to see all accepted (internal) option names.
* Improved usefulness of the "print --anon" outputJohn Wiegley2009-06-271-4/+23
|
* Removed some dead codeJohn Wiegley2009-06-274-19/+4
|
* Restored --price option, added baseline testJohn Wiegley2009-06-268-7/+60
| | | | | | | This option reports only in terms of the annotated price of the commodities involved, otherwise it reports the amounts themselves. It can be used in conjunction with other reports, as it applies to the displayed amounts, not the actual amounts being calculated.
* The --download option is now fully restoredJohn Wiegley2009-06-269-31/+42
|
* More refactoring for --downloadJohn Wiegley2009-06-247-33/+63
|
* Moved commodity_quote_from_script to quotes.ccJohn Wiegley2009-06-242-78/+45
|
* Moved a functionJohn Wiegley2009-06-241-96/+37
|
* Split commodity.h/cc into three filesJohn Wiegley2009-06-2418-794/+1000
| | | | | | commodity.h - code for commodity_t annotate.h - commodity annotations pool.h - commodity pool management
* Removed unneeded header files: ledger.h, pyledger.hJohn Wiegley2009-06-242-117/+0
|
* Restored --download, although not done yetJohn Wiegley2009-06-248-83/+164
| | | | | | The problem at this point is that it's recording prices in the price database multiple times; it should only need to download a price for each commodity once per day.
* Fixed the --args-only option (sequence problem)John Wiegley2009-06-221-2/+7
|
* Added a --no-color option, to disable --colorJohn Wiegley2009-06-222-0/+5
|
* Restored option --period-sortJohn Wiegley2009-06-212-4/+1
| | | | This option is just an alias for --sort-xacts.
* Restored the --truncate option, added baseline testJohn Wiegley2009-06-213-16/+22
|
* Restored --unround, added baseline testJohn Wiegley2009-06-212-2/+7
|
* value_t::in_place_unround wasn't doing it in-placeJohn Wiegley2009-06-211-2/+2
|
* Whitespace reformattingJohn Wiegley2009-06-211-4/+4
|
* Restored --percent option, added baseline testJohn Wiegley2009-06-218-9/+63
|
* Revert "Added % suffix operator, as in "$1.00 * 10%""John Wiegley2009-06-214-22/+4
| | | | This reverts commit 0e9f782a05ab9bc892af40abef84346a16d3baec.