Commit graph

1472 commits

Author SHA1 Message Date
John Wiegley
327fdca8f4 Display value booleans as 0 and 1. 2009-02-05 03:49:14 -04:00
John Wiegley
7f5f53de82 Quiet the make output when rebuilding TAGS. 2009-02-05 03:48:56 -04:00
John Wiegley
d029990209 Create bound scopes for locating the total expr. 2009-02-05 02:45:29 -04:00
John Wiegley
4854cead4f When recompiled an expr_t, forget old definitions. 2009-02-05 02:45:29 -04:00
John Wiegley
b7632e7475 Removed an unnused member. 2009-02-05 02:45:29 -04:00
John Wiegley
c58cd88299 Reworked how the REPL is handled. 2009-02-05 02:45:26 -04:00
John Wiegley
4f174014b9 When copying an expr_t object, don't copy the compiled state. 2009-02-05 02:45:26 -04:00
John Wiegley
de816e8307 Whitespace fix. 2009-02-05 02:45:24 -04:00
John Wiegley
db52ad86d5 Don't give an error if the init file cannot be found. 2009-02-05 02:16:43 -04:00
John Wiegley
3f960be96c Removed all references to the old binary cache. 2009-02-04 20:57:14 -04:00
John Wiegley
066aef6090 Added a repl.sh sample script to the contrib/ directory. 2009-02-04 20:52:40 -04:00
John Wiegley
f8ba4165fe Clear the master account totals after a report is done. 2009-02-04 20:46:56 -04:00
John Wiegley
7d628d88ff Moved the --pager option to the session object, rather than the report object. 2009-02-04 20:46:45 -04:00
John Wiegley
863b5d8144 Added proper handling of SIGINT (C-c) and SIGPIPE (pager quits). 2009-02-04 20:46:08 -04:00
John Wiegley
04ac5ffcb4 Whitespace fix. 2009-02-04 20:45:43 -04:00
John Wiegley
b6d83f3c23 Fixed a long-standing g++ warning. 2009-02-04 20:45:34 -04:00
John Wiegley
8029fa4fd4 Updated the README to mention libedit. 2009-02-04 20:13:41 -04:00
John Wiegley
1c1f2c63de Don't give the user an error if libedit is not installed. 2009-02-04 20:12:23 -04:00
John Wiegley
796feb2634 Added code to quit more gracefully. Ctrl-C still needs work. 2009-02-04 20:11:27 -04:00
John Wiegley
ea1e898eec Minor fixes to the REPL when using libedit. 2009-02-04 19:58:56 -04:00
John Wiegley
2d941730b1 Largely removed all of Ledger's use of global variables, for the REPL's sake. 2009-02-04 19:55:27 -04:00
John Wiegley
73cf3b01fb Added structural support in main() for using a REPL. 2009-02-04 19:55:08 -04:00
John Wiegley
b9603a1512 Moved ptristream into its own file. 2009-02-04 03:54:29 -04:00
John Wiegley
1cc33531ea Simplified the textual parser, and improved metadata support. 2009-02-04 03:34:37 -04:00
John Wiegley
28da097fc2 Several improvement to transaction parsing. 2009-02-04 00:52:52 -04:00
John Wiegley
24ef163ba5 Removed unneeded member variables. 2009-02-04 00:35:02 -04:00
John Wiegley
e874e580cf Added blank lines to acprep for clarity. 2009-02-04 00:34:28 -04:00
John Wiegley
2e9c14ef30 Don't store the amount expression object in transactions.
This is unnecessary since binary caching is no longer being used.
2009-02-03 19:06:56 -04:00
John Wiegley
bee8e50166 Removed serialization tests from the amount_t unit tests. 2009-02-03 19:06:56 -04:00
John Wiegley
c6d3cce6d5 Added __str__ and __repr__ methods for ledger.Value. 2009-02-03 19:06:56 -04:00
John Wiegley
71642d98de Deleted unused source files: gnucash, ofx, qif. 2009-02-03 19:06:56 -04:00
John Wiegley
2ce7ae376c Removed used of src_idx. 2009-02-03 19:06:53 -04:00
John Wiegley
8948e161cd A little code rearranging. 2009-02-03 18:31:52 -04:00
John Wiegley
f49dfce302 Fixed the processing of O_NOT operations. 2009-02-03 18:11:59 -04:00
John Wiegley
918f76b263 Don't allow boolean operations to be applied to masks. 2009-02-03 17:47:14 -04:00
John Wiegley
6bd82c6bcd Implemented a text parsing optimization.
Amounts, costs and assigned amounts are now parsed as regular amounts.  To
have a full value expression at any of those positions, surround it with
parentheses.  The reason for this is that the amount parser is far simpler and
quicker -- and by far the common case -- compared to the full expression
parser.
2009-02-03 17:47:02 -04:00
John Wiegley
dfe04b9943 Removed some dead code. 2009-02-03 17:46:04 -04:00
John Wiegley
850d39ea22 Changed capitalization of GMP and MFPR in the configure output. 2009-02-03 17:45:56 -04:00
John Wiegley
d53f7d1409 Removed README.textile when building the distribution tarball. 2009-02-03 15:48:53 -04:00
John Wiegley
05727c8111 Added note about more dependencies to the README. 2009-02-03 14:18:50 -04:00
John Wiegley
069552a81d Fixed the auto-discovery of the Boost suffix in acprep. 2009-02-03 13:31:13 -04:00
John Wiegley
43c4636d9d Removed the global references to session->report. 2009-02-03 13:03:10 -04:00
John Wiegley
3434650848 Removed the binary caching code, and the XML, QIF and Gnucash parsers. 2009-02-03 12:22:10 -04:00
John Wiegley
9bdcbffb15 Removed explicit boost suffix from Makefile.am. 2009-02-03 02:23:28 -04:00
John Wiegley
40c02b7bf9 Another fix to the link order. 2009-02-03 01:38:32 -04:00
John Wiegley
f74247d15a For systems without cppunit, make fullcheck just does a make check. 2009-02-03 01:08:50 -04:00
John Wiegley
3db0accc68 Added braces to avoid a compiler warning. 2009-02-03 01:00:21 -04:00
John Wiegley
177b5adc98 Added a comment. 2009-02-03 00:48:01 -04:00
John Wiegley
ad34a71646 Corrected a display error when showing error context. 2009-02-03 00:45:14 -04:00
John Wiegley
b52e9cf41b Moved libextra into libreport. 2009-02-03 00:42:02 -04:00