John Wiegley
|
ec6a3e8081
|
Made amount_t::is_zero() slightly more efficient.
|
2009-01-31 05:00:49 -04:00 |
|
John Wiegley
|
cce65b8dd2
|
Added a more efficient amount_t::operator==, which changed semantics slightly.
|
2009-01-31 04:58:16 -04:00 |
|
John Wiegley
|
5a44784817
|
Removed the special "one" variable, and added amount_t::inverted().
|
2009-01-31 04:57:24 -04:00 |
|
John Wiegley
|
e9ff5caa13
|
Rationals based math is now passing the unit tests.
|
2009-01-31 04:25:05 -04:00 |
|
John Wiegley
|
c96ab6cb0f
|
Include sha1.h, not SHA1.h.
|
2009-01-31 02:22:45 -04:00 |
|
John Wiegley
|
5ec98f3ed3
|
Several corrections to the way rationals are handled.
|
2009-01-31 01:25:29 -04:00 |
|
John Wiegley
|
02ac444374
|
Don't parse reserved word (such as "and" or "true") as commodity names.
|
2009-01-31 01:22:04 -04:00 |
|
John Wiegley
|
6423e44c11
|
Pre-commands (like "parse") now correctly recognized.
|
2009-01-31 01:21:46 -04:00 |
|
John Wiegley
|
6983e6a38a
|
Fixed error context output.
|
2009-01-31 01:21:30 -04:00 |
|
John Wiegley
|
c5795c66c9
|
"div", or "//", is now the operator of division.
|
2009-01-31 01:21:14 -04:00 |
|
John Wiegley
|
e0dd2cd0a4
|
Changed to using rational numbers instead of integer approximations.
As a result, dependency on the gdtoa was dropped, and dependency on mpfr was
added.
|
2009-01-30 19:30:16 -04:00 |
|
John Wiegley
|
6213dc5af8
|
Whitespace fix.
|
2009-01-30 19:28:53 -04:00 |
|
John Wiegley
|
676e7bcf4f
|
Added debug code under the category "entry.extend".
|
2009-01-30 19:28:07 -04:00 |
|
John Wiegley
|
040255a52b
|
There is no need to round a balance before calling is_zero().
|
2009-01-30 19:27:55 -04:00 |
|
John Wiegley
|
3dbdeb2917
|
Don't allow the "keep precision" flag to propagate into the balance amount.
|
2009-01-30 19:27:42 -04:00 |
|
John Wiegley
|
38fa1e17d7
|
Added a dependency on mpfr.
|
2009-01-30 16:20:41 -04:00 |
|
John Wiegley
|
f1257cbc3e
|
Removed all dependency on gdtoa.
|
2009-01-30 16:19:31 -04:00 |
|
John Wiegley
|
9400435870
|
Updated comments and other whitespace changes.
|
2009-01-30 05:21:41 -04:00 |
|
John Wiegley
|
2c362c097e
|
Fixed a comment.
|
2009-01-30 05:21:13 -04:00 |
|
John Wiegley
|
a54c0f5097
|
Use a more standard method of determining the pager's exit status.
|
2009-01-30 01:30:33 -04:00 |
|
John Wiegley
|
54e24a4aa2
|
Fixed some tracing labels.
|
2009-01-30 00:40:59 -04:00 |
|
John Wiegley
|
cdb123974c
|
Created a new stream.h file for dealing with output streaming.
|
2009-01-30 00:40:46 -04:00 |
|
John Wiegley
|
c96635fe60
|
Refactored the textual parser, to allow easy extensions in Python.
|
2009-01-29 19:11:36 -04:00 |
|
John Wiegley
|
da1cd7c4bc
|
Whitespace cleanup.
|
2009-01-29 18:24:10 -04:00 |
|
John Wiegley
|
05c77351e4
|
Stopped using the generic "unsigned int" in favor of more specific types.
|
2009-01-29 18:23:57 -04:00 |
|
John Wiegley
|
119b5dc197
|
Refactored the timelog code into its own file.
|
2009-01-29 18:22:28 -04:00 |
|
John Wiegley
|
9aaab88c61
|
Update Doxygen documentation. Still much more work to be done.
|
2009-01-29 02:24:42 -04:00 |
|
John Wiegley
|
8b75b5cbfb
|
Revised the way that parsing flags get passed around.
|
2009-01-29 02:24:25 -04:00 |
|
John Wiegley
|
094c64b67c
|
amount_t and commodity_t objects can now stream themselves to XML.
|
2009-01-28 20:49:44 -04:00 |
|
John Wiegley
|
b205090bb7
|
Changed around the ==, < and > operators in value.h to be correct.
|
2009-01-28 17:17:06 -04:00 |
|
John Wiegley
|
71e7157a65
|
Added is_nonzero and a stream-based read() method to value_t.
|
2009-01-26 20:50:54 -04:00 |
|
John Wiegley
|
79a7976600
|
Reorganized Ledger so that it builds as 7 separate libraries. This is mainly
to prove to myself that it has proper decoupling between prior code areas.
|
2009-01-25 01:10:05 -04:00 |
|
John Wiegley
|
05b3562a13
|
Changed order of some functions, to guard against self-referencing.
|
2009-01-24 04:50:39 -04:00 |
|
John Wiegley
|
cbc41ca47a
|
Moved sha1 and gdtoa inclusions into system.hh.
|
2009-01-24 04:50:18 -04:00 |
|
John Wiegley
|
a69649fb7f
|
Switched over to using irrxml for parsing XML, rather than expat.
|
2009-01-24 04:49:58 -04:00 |
|
John Wiegley
|
c49f05a15a
|
Guard debug code in commodity.cc, so it will build optimized.
|
2009-01-23 19:50:35 -04:00 |
|
John Wiegley
|
900a92e115
|
Added support for Unicode text in Ledger files, thanks to 'utfcpp', which can
be located at http://utfcpp.sourceforge.net.
|
2009-01-23 19:50:00 -04:00 |
|
John Wiegley
|
8e50706d1e
|
Include gdtoa.h if it's being used.
|
2009-01-23 17:55:23 -04:00 |
|
John Wiegley
|
59a71e7d74
|
Changed grammatical tense in two tracing statements.
|
2009-01-23 15:45:17 -04:00 |
|
John Wiegley
|
7ee583a448
|
Correctly handle "bare parentheses" in the command regexps.
|
2009-01-23 03:26:47 -04:00 |
|
John Wiegley
|
617dd0c261
|
When Python support is present, use a session_t object which is derived from
python_interpreter_t, so that Python can provide value expression definitions.
|
2009-01-23 01:53:19 -04:00 |
|
John Wiegley
|
8d4542d199
|
Added more debug code.
|
2009-01-23 01:09:40 -04:00 |
|
John Wiegley
|
00fdadedcc
|
Removed extraneous parentheses.
|
2009-01-23 01:09:31 -04:00 |
|
John Wiegley
|
5ba81765ea
|
Added some debug code.
|
2009-01-23 01:09:23 -04:00 |
|
John Wiegley
|
8156e34136
|
ptr_op_t::copy(), in the TERMINALS case, wasn't copying enough.
|
2009-01-23 01:09:14 -04:00 |
|
John Wiegley
|
cf861b35c0
|
Added a pair of missing calls to in.peek().
|
2009-01-23 01:08:52 -04:00 |
|
John Wiegley
|
52524ff2fb
|
Removed some extraneous code.
|
2009-01-22 21:17:32 -04:00 |
|
John Wiegley
|
c2761f4e90
|
Moved the occurance of "Error:" when reporting context.
|
2009-01-22 21:17:16 -04:00 |
|
John Wiegley
|
6fbf5c551e
|
Made the output from parse/compile commands more consistent.
|
2009-01-22 21:16:57 -04:00 |
|
John Wiegley
|
812d38c176
|
Correctly report the line context when there is a valexpr parsing error.
|
2009-01-22 21:16:43 -04:00 |
|