Commit graph

1330 commits

Author SHA1 Message Date
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
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
e851c02d27 Unit test for Python are now auto-generated from the C++ tests. 2009-01-28 20:49:26 -04:00
John Wiegley
3020f0f851 Removed temporary file. 2009-01-28 18:00:31 -04:00
John Wiegley
1aa1ff1977 Fully exported the value_t type to Python.
Now this code works from a value expression:

  def myvalue(incoming):
      import ledger
      x = ledger.Value("100.23")
      print x.type()
      return incoming + x
2009-01-28 17:17: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
23117a58f2 Expose the commodity type to python as "Commodity". 2009-01-28 17:16:47 -04:00
John Wiegley
08c7a530f8 Extended the amount_t Python mapping to handle the 3rd case of value(). 2009-01-28 17:16:37 -04:00
John Wiegley
024e10cbfa Updated ledger.vim to the latest version. 2009-01-28 17:16:20 -04:00
John Wiegley
e08959aab6 Increased Boost dependency version number to 1_37. 2009-01-28 17:16:08 -04:00
John Wiegley
35b2586bc3 Removed Boost submodule. 2009-01-28 03:40:07 -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
2170703310 Fixed TAGS target to work when building in a separate output dir. 2009-01-26 20:50:17 -04:00
John Wiegley
7d597da99b Updated gdtoa submodule. 2009-01-26 17:19:08 -04:00
John Wiegley
2541c4cd26 Handle the VERSION more gracefully, and uninstall the Python Egg file. 2009-01-26 17:16:59 -04:00
John Wiegley
082614a086 Pass $(srcdir) down to python/setup.py, so it can find pyledger.cc. 2009-01-26 14:13:10 -04:00
John Wiegley
e72de399c7 Fixed the way that python/setup.py was being invoked. 2009-01-26 13:52:40 -04:00
John Wiegley
1c21a0c6c9 Removed references to non-existent unit test files. 2009-01-26 13:33:10 -04:00
John Wiegley
60838879ce Fixed the rsync command in release-distcheck, in case building in a separate
directory from the sources.
2009-01-26 13:32:56 -04:00
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