Commit graph

312 commits

Author SHA1 Message Date
John Wiegley
18879bbe85 some changes in the way formatting strings are handled; for simplicity 2004-09-18 02:33:51 -04:00
John Wiegley
a2bbd7dc8f fixes to main.py 2004-09-17 19:33:10 -04:00
John Wiegley
79b664f6f0 changed the management of "xdata" in walk.h 2004-09-17 04:38:24 -04:00
John Wiegley
50a322adcf main.py (via ledger.so) and main.cc can now use the same shared library 2004-09-14 20:32:42 -04:00
John Wiegley
5d99b1e241 using main.py is now only 50% slower than using main.cc 2004-09-14 19:15:08 -04:00
John Wiegley
23799b5f4e main.py does everything except balance reports now 2004-09-14 18:48:26 -04:00
John Wiegley
0c890de44b main.py now implements nearly all the functionality of main.cc 2004-09-14 17:34:48 -04:00
John Wiegley
f2162bf7ee further python integration improvements 2004-09-14 06:36:16 -04:00
John Wiegley
061e19e302 make config_t visible to Python; almost possible to implement main.cc in main.py 2004-09-14 06:25:29 -04:00
John Wiegley
0b0c9b5bd1 ledger.so can now call back to functions in the calling interpretor (see main.py) 2004-09-14 05:14:58 -04:00
John Wiegley
bd72c0cf90 added more math operators for value_t types 2004-09-14 05:05:56 -04:00
John Wiegley
a013b520ba python integrated both ways (see sample.dat), and initialized on-demand 2004-09-14 04:47:41 -04:00
John Wiegley
6c66d1e0ef improvements to python exposure of commodity_t 2004-09-11 02:18:04 -04:00
John Wiegley
ff4589caae added support for ValueExpr objects to python. 2004-09-10 20:08:07 -04:00
John Wiegley
435b9ed779 added python support for Format() objects. see main.py 2004-09-10 19:52:51 -04:00
John Wiegley
e1d6c4bff2 interval_t objects now play nicely with python. see the bottom of main.py 2004-09-10 18:38:52 -04:00
John Wiegley
e414123ecb change commodity->symbol to const, and added set_symbol 2004-09-10 05:07:50 -04:00
John Wiegley
6261da4660 slight changed semantics of item_handler<T>, to play better with Boost.Python 2004-09-10 04:38:38 -04:00
John Wiegley
359b3ba326 removed todo item 2004-09-10 02:26:17 -04:00
John Wiegley
72d69d3ec9 Python fixes; starting adding support for using item_handlers in python 2004-09-08 21:21:21 -04:00
John Wiegley
3d4259e6d0 balances and values can now be iterated, to get at the component amounts 2004-09-08 04:13:02 -04:00
John Wiegley
842359474e optimize python iterations of entries, transactions; use exceptions more 2004-09-08 03:33:56 -04:00
John Wiegley
612e94ceaa setup_ledger.py needs to link against libgmp 2004-09-08 02:00:20 -04:00
John Wiegley
6cfdd704a9 made value_t into a more complete type. amounts.py now works. 2004-09-08 01:54:28 -04:00
John Wiegley
a4c5380a7f some fixes to value_t in python; still more work to go 2004-09-07 20:03:01 -04:00
John Wiegley
6126d48e27 some python code fixes 2004-09-07 19:38:21 -04:00
John Wiegley
1825c8bb1a cleaned out fixed items 2004-09-07 04:15:22 -04:00
John Wiegley
e2990dbc4e modified entry_t::add_transaction and remove_transaction, since now using lists 2004-09-06 18:16:24 -04:00
John Wiegley
93d73f828c changed constructors to downgrade BALANCE and BALANCE_PAIR types when possible 2004-09-06 05:43:56 -04:00
John Wiegley
fcaaa37201 switch from using deque back to list; affects speed by up to 30%! 2004-09-06 05:38:32 -04:00
John Wiegley
305c6159af small fixes 2004-08-30 05:29:34 -04:00
John Wiegley
a54030a486 removed an older python file 2004-08-29 23:33:49 -04:00
John Wiegley
9eea66c6f8 added some more python files 2004-08-29 23:33:22 -04:00
John Wiegley
63367e3aac the amount/balance/value logic is now a library, completely separate from ledger 2004-08-29 23:32:29 -04:00
John Wiegley
2d62f7b633 redid the way amount_t::commodity is handled; no more direct access 2004-08-29 04:31:59 -04:00
John Wiegley
032afa5657 a bit of a reorg; still much more to go 2004-08-29 03:23:55 -04:00
John Wiegley
3034529d54 removed the "standalone" flag (unsafe with Boost) 2004-08-28 04:48:43 -04:00
John Wiegley
b4304515ff ledger.so (the python module) now builds based on autoconf discovery 2004-08-28 04:26:48 -04:00
John Wiegley
863485ad8f added python.cc 2004-08-27 23:40:46 -04:00
John Wiegley
6c53e9daa3 Added rule to install header files 2004-08-27 23:39:42 -04:00
John Wiegley
16841fbae3 added (disabled) code for Boost.Python 2004-08-27 23:38:39 -04:00
John Wiegley
f0238fdd06 use libtool, for making shared libraries 2004-08-26 20:29:58 -04:00
John Wiegley
84e01c3b21 added README file 2004-08-26 19:09:41 -04:00
John Wiegley
e12cc11760 added check for --enable-standalone, as mentioned in the README 2004-08-26 19:00:58 -04:00
John Wiegley
ae37cb8ece remove -mdynamic-no-pic from opt flags; that is implied by -fast 2004-08-26 16:46:36 -04:00
John Wiegley
8075202365 added "acprep --perf", for doing performance analysis 2004-08-26 15:35:24 -04:00
John Wiegley
3c50b2fb7a read all binary data in at one go; gains 33% 2004-08-26 15:35:14 -04:00
John Wiegley
942943323e don't placement new() amount_t in binary.cc when it isn't necessary 2004-08-26 14:31:50 -04:00
John Wiegley
5f30c790db fixed another memory strangeness (too much destruction) 2004-08-26 02:01:29 -04:00
John Wiegley
69bd31b4d0 added usual operator 2004-08-25 21:51:11 -04:00