Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | | | | amount_t::is_zero() wasn't checking for '-'. | John Wiegley | 2009-01-31 | 1 | -1/+1 | |
| | | | | | | ||||||
* | | | | | | Made amount_t::is_zero() slightly more efficient. | John Wiegley | 2009-01-31 | 1 | -1/+12 | |
| | | | | | | ||||||
* | | | | | | Added a more efficient amount_t::operator==, which changed semantics slightly. | John Wiegley | 2009-01-31 | 3 | -10/+15 | |
| | | | | | | ||||||
* | | | | | | Removed the special "one" variable, and added amount_t::inverted(). | John Wiegley | 2009-01-31 | 3 | -9/+15 | |
| | | | | | | ||||||
* | | | | | | Rationals based math is now passing the unit tests. | John Wiegley | 2009-01-31 | 14 | -894/+159 | |
| | | | | | | ||||||
* | | | | | | Include sha1.h, not SHA1.h. | John Wiegley | 2009-01-31 | 1 | -1/+1 | |
| | | | | | | ||||||
* | | | | | | Several corrections to the way rationals are handled. | John Wiegley | 2009-01-31 | 4 | -130/+157 | |
| | | | | | | ||||||
* | | | | | | Don't perform rounding tests in Python. | John Wiegley | 2009-01-31 | 2 | -0/+8 | |
| | | | | | | ||||||
* | | | | | | Make amounts output fullstrings in the commodity unit tests. | John Wiegley | 2009-01-31 | 1 | -0/+1 | |
| | | | | | | ||||||
* | | | | | | Don't parse reserved word (such as "and" or "true") as commodity names. | John Wiegley | 2009-01-31 | 1 | -0/+24 | |
| | | | | | | ||||||
* | | | | | | Pre-commands (like "parse") now correctly recognized. | John Wiegley | 2009-01-31 | 1 | -27/+27 | |
| | | | | | | ||||||
* | | | | | | Fixed error context output. | John Wiegley | 2009-01-31 | 2 | -4/+4 | |
| | | | | | | ||||||
* | | | | | | "div", or "//", is now the operator of division. | John Wiegley | 2009-01-31 | 2 | -15/+32 | |
| | | | | | | ||||||
* | | | | | | Corrected Python reference to the AmountParse enum. | John Wiegley | 2009-01-31 | 2 | -4/+5 | |
| | | | | | | ||||||
* | | | | | | Update the link to the mailing list in the README | Matt Palmer | 2009-01-31 | 1 | -1/+1 | |
| | | | | | | ||||||
* | | | | | | Changed to using rational numbers instead of integer approximations. | John Wiegley | 2009-01-30 | 9 | -109/+418 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As a result, dependency on the gdtoa was dropped, and dependency on mpfr was added. | |||||
* | | | | | | Whitespace fix. | John Wiegley | 2009-01-30 | 4 | -12/+12 | |
| | | | | | | ||||||
* | | | | | | Added debug code under the category "entry.extend". | John Wiegley | 2009-01-30 | 1 | -0/+21 | |
| | | | | | | ||||||
* | | | | | | There is no need to round a balance before calling is_zero(). | John Wiegley | 2009-01-30 | 1 | -8/+5 | |
| | | | | | | ||||||
* | | | | | | Don't allow the "keep precision" flag to propagate into the balance amount. | John Wiegley | 2009-01-30 | 1 | -1/+12 | |
| | | | | | | ||||||
* | | | | | | Updated the MacPorts Portfile for 3.0. | John Wiegley | 2009-01-30 | 1 | -6/+20 | |
| | | | | | | ||||||
* | | | | | | Added a dependency on mpfr. | John Wiegley | 2009-01-30 | 3 | -1/+21 | |
| | | | | | | ||||||
* | | | | | | Removed all dependency on gdtoa. | John Wiegley | 2009-01-30 | 13 | -201/+8 | |
| | | | | | | ||||||
* | | | | | | Updated comments and other whitespace changes. | John Wiegley | 2009-01-30 | 2 | -459/+371 | |
| | | | | | | ||||||
* | | | | | | Fixed a comment. | John Wiegley | 2009-01-30 | 1 | -5/+8 | |
| | | | | | | ||||||
* | | | | | | Use a more standard method of determining the pager's exit status. | John Wiegley | 2009-01-30 | 1 | -2/+2 | |
| | | | | | | ||||||
* | | | | | | Fixed the amount_t unit test. | John Wiegley | 2009-01-30 | 1 | -9/+9 | |
| | | | | | | ||||||
* | | | | | | Added a BNF grammar file describing the Ledger data format. | John Wiegley | 2009-01-30 | 1 | -0/+221 | |
| | | | | | | ||||||
* | | | | | | Added a slew of date/time format tests (inactive, however). | John Wiegley | 2009-01-30 | 1 | -0/+45 | |
| | | | | | | ||||||
* | | | | | | Fixed some tracing labels. | John Wiegley | 2009-01-30 | 2 | -2/+3 | |
| | | | | | | ||||||
* | | | | | | Created a new stream.h file for dealing with output streaming. | John Wiegley | 2009-01-30 | 11 | -243/+534 | |
| | | | | | | ||||||
* | | | | | | Refactored the textual parser, to allow easy extensions in Python. | John Wiegley | 2009-01-29 | 4 | -550/+700 | |
| | | | | | | ||||||
* | | | | | | Changed the way that etags is invoked for 'make TAGS'. | John Wiegley | 2009-01-29 | 1 | -2/+3 | |
| | | | | | | ||||||
* | | | | | | Whitespace cleanup. | John Wiegley | 2009-01-29 | 2 | -31/+29 | |
| | | | | | | ||||||
* | | | | | | Stopped using the generic "unsigned int" in favor of more specific types. | John Wiegley | 2009-01-29 | 27 | -120/+120 | |
| | | | | | | ||||||
* | | | | | | Refactored the timelog code into its own file. | John Wiegley | 2009-01-29 | 3 | -0/+232 | |
| | | | | | | ||||||
* | | | | | | Update Doxygen documentation. Still much more work to be done. | John Wiegley | 2009-01-29 | 12 | -233/+367 | |
| | | | | | | ||||||
* | | | | | | Revised the way that parsing flags get passed around. | John Wiegley | 2009-01-29 | 12 | -94/+178 | |
| | | | | | | ||||||
* | | | | | | Fixed the way that the Doxygen documentation is built. | John Wiegley | 2009-01-29 | 2 | -87/+168 | |
| | | | | | | ||||||
* | | | | | | amount_t and commodity_t objects can now stream themselves to XML. | John Wiegley | 2009-01-28 | 5 | -0/+68 | |
| | | | | | | ||||||
* | | | | | | Unit test for Python are now auto-generated from the C++ tests. | John Wiegley | 2009-01-28 | 17 | -1633/+479 | |
| | | | | | | ||||||
* | | | | | | Removed temporary file. | John Wiegley | 2009-01-28 | 2 | -1477/+9 | |
| | | | | | | ||||||
* | | | | | | Fully exported the value_t type to Python. | John Wiegley | 2009-01-28 | 1 | -12/+283 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now this code works from a value expression: def myvalue(incoming): import ledger x = ledger.Value("100.23") print x.type() return incoming + x | |||||
* | | | | | | Changed around the ==, < and > operators in value.h to be correct. | John Wiegley | 2009-01-28 | 2 | -9/+12 | |
| | | | | | | ||||||
* | | | | | | Expose the commodity type to python as "Commodity". | John Wiegley | 2009-01-28 | 1 | -1/+1 | |
| | | | | | | ||||||
* | | | | | | Extended the amount_t Python mapping to handle the 3rd case of value(). | John Wiegley | 2009-01-28 | 1 | -1/+7 | |
| | | | | | | ||||||
* | | | | | | Updated ledger.vim to the latest version. | John Wiegley | 2009-01-28 | 1 | -16/+25 | |
| | | | | | | ||||||
* | | | | | | Increased Boost dependency version number to 1_37. | John Wiegley | 2009-01-28 | 1 | -8/+10 | |
| | | | | | | ||||||
* | | | | | | Removed Boost submodule. | John Wiegley | 2009-01-28 | 4 | -9/+9 | |
| | | | | | | ||||||
* | | | | | | Added is_nonzero and a stream-based read() method to value_t. | John Wiegley | 2009-01-26 | 2 | -0/+33 | |
| | | | | | |