Commit graph

1299 commits

Author SHA1 Message Date
John Wiegley
43750bfc5d Shelling out to 'fullcheck' script needs to use a complete pathname. 2009-01-25 16:50:44 -04:00
John Wiegley
f6cdbfd02b Missed a -I needed for building in a separate output tree from the source. 2009-01-25 16:48:36 -04:00
John Wiegley
878e5db806 Changed --dir option for acprep to --output, which makes more sense. 2009-01-25 16:48:11 -04:00
John Wiegley
3f07906e2f Made 'make fullcheck' work for all the new unit tests. 2009-01-25 01:49:42 -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
1ae1033090 Updated gdtoa submodule. 2009-01-25 00:00:22 -04:00
John Wiegley
ba0ebef61d Removed an unused header file. 2009-01-25 00:00:11 -04:00
John Wiegley
e8f61e9c22 Removed useless make rule. 2009-01-24 04:55:30 -04:00
John Wiegley
d6d4d3602f Moved the libofx mirror to GitHub. 2009-01-24 04:51:40 -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
dff450ab3d Only initialize Python if it's used. 2009-01-24 01:46:59 -04:00
John Wiegley
876e2a9064 Call out to git-submodule from acprep. 2009-01-23 20:05:42 -04:00
John Wiegley
396fa731c8 Changed lib/ exclusions in Makefile when using release-distcheck target. 2009-01-23 19:50:48 -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
784ec4b787 Renamed license file for sha1. 2009-01-23 19:50:08 -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
f52e04c2ba Build with gdtoa by default again, for the sake of Python users who pass
floating point arguments into the Ledger code.
2009-01-23 19:34:47 -04:00
John Wiegley
02e1a2b859 Moved cppunit to GitHub, rather than mirroring on newartisans.com. 2009-01-23 18:05:03 -04:00
John Wiegley
b76df95124 Removed gdtoa build from lib/Makefile. It's part of the overall system now. 2009-01-23 17:55:44 -04:00
John Wiegley
8e50706d1e Include gdtoa.h if it's being used. 2009-01-23 17:55:23 -04:00
John Wiegley
c1bbc9c991 Changed gdtoa module to be hosted on GitHub rather than newartisans.com. 2009-01-23 17:55:11 -04:00
John Wiegley
fc8dd14467 Create a py_value module, for translating value_t objects to/from Python. 2009-01-23 15:59:01 -04:00
John Wiegley
7aa42aa8b3 Report the name of a Python function if we have difficulties calling it. 2009-01-23 15:57:20 -04:00
John Wiegley
59a71e7d74 Changed grammatical tense in two tracing statements. 2009-01-23 15:45:17 -04:00
John Wiegley
bd64e83e46 Added tracing statements to the Python interpreter binding code. 2009-01-23 15:45:08 -04:00
John Wiegley
7ee583a448 Correctly handle "bare parentheses" in the command regexps. 2009-01-23 03:26:47 -04:00
John Wiegley
f0d13734b4 Look up definitions in the Python evaluator directly, not with eval. 2009-01-23 01:57:37 -04:00
John Wiegley
6df9debc6f Add $PYTHON_HOME/lib before /opt/local/lib in acprep. 2009-01-23 01:53:59 -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
John Wiegley
d9e97cfede When parsing commodities, if there is no symbol or annotations, reset the
stream pointer in order to give more accurate error reporting.
2009-01-22 21:15:05 -04:00
John Wiegley
7b76ea5cbc Errors while calculating value expressions now display meaningful error
context.
2009-01-22 18:54:24 -04:00
John Wiegley
9c164bd3dc Allow function calls without arguments in the parser. 2009-01-22 18:53:59 -04:00
John Wiegley
e95e8c3f79 Corrected a parse-time optimization of "! CONSTANT". 2009-01-22 18:53:44 -04:00
John Wiegley
965df4a404 Whitespace changes. 2009-01-22 18:53:08 -04:00
John Wiegley
0859b626a1 Added output insertion operator for mask_t objects. 2009-01-22 18:51:49 -04:00
John Wiegley
2332896810 Changed some debug strings when parsing/compiling valexprs. 2009-01-22 18:51:33 -04:00
John Wiegley
ba18354947 Whitespace changes. 2009-01-22 17:03:26 -04:00
John Wiegley
fac5a95a48 Accept &&/and for &, ||/or for |, and not for !. Also improved error
reporting in the tokenizer.
2009-01-22 17:01:46 -04:00
John Wiegley
0b9f22b4d2 Redid the way command-line arguments are processed. Before, Ledger used - and
-- to mean special things after the command verb was seen.  But now, what used
to be specified as this:

  ledger -n reg cash -payable -- shell

Is now specified as this:

  ledger reg -n cash not payable @shell

It could also be specified as:

  ledger -n reg \(cash and not payable\) and @shell
2009-01-22 16:27:24 -04:00