John Wiegley
e1ce024546
Added some missing break statements.
2009-01-31 14:51:30 -04:00
John Wiegley
4772495083
Changes to get release-distcheck working on my machine again.
2009-01-31 06:26:10 -04:00
John Wiegley
0bab6e8674
Added a tools/ subdirectory, with various maintainer related files.
2009-01-31 06:00:31 -04:00
John Wiegley
f749a1bb1e
Made output_stream_t noncopyable.
2009-01-31 05:58:23 -04:00
John Wiegley
0934612436
Stubbed out the new definition for token_t::rewind(), which was failing.
2009-01-31 05:57:48 -04:00
John Wiegley
2ec8cc6b9b
Removed an erroneous call to TRACE_CTOR.
2009-01-31 05:48:31 -04:00
John Wiegley
6b5d006575
Fixed some entry balancing problems relating to the new rational code.
2009-01-31 05:44:02 -04:00
John Wiegley
6b81bb8005
Moved a comment.
2009-01-31 05:43:42 -04:00
John Wiegley
5c19bb48e0
Added a copy constructor for basic_flags_t.
2009-01-31 05:43:32 -04:00
John Wiegley
dd9775508a
amount_t::is_zero() wasn't checking for '-'.
2009-01-31 05:43:23 -04:00
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
e4c7df4002
Don't perform rounding tests in Python.
2009-01-31 01:22:51 -04:00
John Wiegley
b42ef31d93
Make amounts output fullstrings in the commodity unit tests.
2009-01-31 01:22:23 -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
75f1cd727c
Corrected Python reference to the AmountParse enum.
2009-01-31 01:20:34 -04:00
Matt Palmer
701e45c172
Update the link to the mailing list in the README
2009-01-31 01:08:29 -04:00
Stefan Karrmann
e1b0203f5e
I have improved the vim syntax file for ledger, c.f. attachment.
...
Features:
- The fold gets the amount (in the first transaction) even when a note
or currency or commodity follows it.
- It accepts "." and "," as a decimal separator.
2009-01-31 01:06:15 -04:00
Matt Palmer
6cd2a14542
Update the link to the mailing list in the README
2009-01-31 01:04:57 -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
165300ea84
Updated the MacPorts Portfile for 3.0.
2009-01-30 19:27:19 -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
9495ca740b
Fixed the amount_t unit test.
2009-01-30 00:43:54 -04:00
John Wiegley
4d70052d23
Added a BNF grammar file describing the Ledger data format.
2009-01-30 00:41:55 -04:00
John Wiegley
ef934efb3a
Added a slew of date/time format tests (inactive, however).
2009-01-30 00:41:23 -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
3c0e2138fc
Changed the way that etags is invoked for 'make TAGS'.
2009-01-29 19:11:14 -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
5b388af626
Fixed the way that the Doxygen documentation is built.
2009-01-29 02:21:49 -04:00