summaryrefslogtreecommitdiff
path: root/binary.cc
Commit message (Collapse)AuthorAgeFilesLines
* Changes to support building with gcc 2.95.John Wiegley2008-04-131-5/+6
|
* 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.
* 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.
* Updated binary cache version, for good measure.John Wiegley2008-04-131-1/+1
|
* Updated binary file version. (read_binary_journal): Read in theJohn Wiegley2008-04-131-1/+13
| | | | | default commodity. (write_binary_journal): Write out the default commodity.
* updated cache versionJohn Wiegley2008-04-131-1/+1
|
* (read_binary_amount): If the commodity ident is zero,John Wiegley2008-04-131-0/+7
| | | | | | | | it is an explicit reference to commodity_t::null_commodity. (write_binary_journal): Initialize account_index and commodity_index to zero before writing. (write_binary_journal): Set the "ident" field of the null_commodity to 0, so that read_binary_amount can recognize it.
* Fixed a textual parsing bug.John Wiegley2008-04-131-1/+1
|
* updated to 2.02John Wiegley2008-04-131-2/+2
|
* updated to version 2.0John Wiegley2008-04-131-0/+753
|
* changesJohn Wiegley2008-04-131-631/+0
|
* if a commodity price cannot be downloaded, report it as an errorJohn Wiegley2004-09-251-1/+1
|
* changed ledger.h to journal.h; moved adding of autoxact hookJohn Wiegley2004-09-231-1/+1
|
* main.py does everything except balance reports nowJohn Wiegley2004-09-141-0/+9
|
* change commodity->symbol to const, and added set_symbolJohn Wiegley2004-09-101-2/+4
|
* the amount/balance/value logic is now a library, completely separate from ledgerJohn Wiegley2004-08-291-15/+14
|
* redid the way amount_t::commodity is handled; no more direct accessJohn Wiegley2004-08-291-4/+4
|
* added (disabled) code for Boost.PythonJohn Wiegley2004-08-271-1/+19
|
* read all binary data in at one go; gains 33%John Wiegley2004-08-261-106/+144
|
* don't placement new() amount_t in binary.cc when it isn't necessaryJohn Wiegley2004-08-261-1/+0
|
* fixed two memory corruption bugsJohn Wiegley2004-08-251-2/+5
|
* minor simplificationJohn Wiegley2004-08-251-2/+1
|
* use back-patching to simplify binary file writingJohn Wiegley2004-08-251-29/+19
|
* Bulk alloc bigints in the binary reader; this gains another 20%John Wiegley2004-08-251-30/+72
|
* removed all uses of std::vector; simplified some codeJohn Wiegley2004-08-241-18/+34
|
* use a string pool in binary files; gains 7% read timeJohn Wiegley2004-08-241-55/+94
|
* cleanup; fully switched to autoconf -- use scripts/acprepJohn Wiegley2004-08-241-2/+0
|
* change to binary loading that increases speed by another 20%John Wiegley2004-08-231-23/+78
|
* a little more reorganizing, but only fractionally faster. diminishing returns!John Wiegley2004-08-221-1/+1
|
* use value_t instead of balance_pair_t; gains for 10% binary, 2% textualJohn Wiegley2004-08-211-21/+19
|
* only compute the cost when it differs from the amountJohn Wiegley2004-08-211-3/+11
|
* changed RELEASE_LEVEL to DEBUG_LEVELJohn Wiegley2004-08-211-2/+2
|
* fixes to how commodities are looked up using quotes.ccJohn Wiegley2004-08-211-1/+3
|
* bumped binary file version numberJohn Wiegley2004-08-211-1/+1
|
* add copy-on-write semantics to amount.cc; cuts object creation by 5xJohn Wiegley2004-08-211-11/+6
|
* several fixesJohn Wiegley2004-08-191-1/+19
|
* added support for parsing QIF filesJohn Wiegley2004-08-191-16/+23
|
* fixesJohn Wiegley2004-08-171-17/+12
|
* misc cleanupJohn Wiegley2004-08-171-1/+0
|
* slight fixesJohn Wiegley2004-08-171-2/+2
|
* more binary format changesJohn Wiegley2004-08-161-19/+25
|
* cleaned up binary data writing, and file handlingJohn Wiegley2004-08-151-417/+189
|
* new debug code; automated transactions now use value expression predicatesJohn Wiegley2004-08-101-24/+24
|
* fixed cache by clear transaction flags before writingJohn Wiegley2004-08-051-2/+7
|
* added back sorting supportJohn Wiegley2004-08-051-17/+16
|
* rewrote the way registers are computed -- againJohn Wiegley2004-08-041-3/+3
|
* brought back the "print" and "equity" reports; this time much better!John Wiegley2004-07-311-1/+1
|
* two major changesJohn Wiegley2004-07-301-5/+5
| | | | | | | | | | | | | Complete changed the way format strings are handled. They are now compiled first, which is far more efficient than what was being done before. Also, there is now a global ledger::commodity_t::commodities map, which saves me from having to pass the current journal around to a zillion different functions, for the sole purpose of making sure that all commodity symbols that are parsed refer to the same commodity object.
* Exit if parsing errors are encounteredJohn Wiegley2004-07-291-10/+9
|
* initial rev of 2.0John Wiegley2004-07-261-0/+621