summaryrefslogtreecommitdiff
path: root/python
Commit message (Collapse)AuthorAgeFilesLines
* Created some new Python scripts under python/John Wiegley2009-02-244-0/+47
|
* Moved python/*.cc files into src/John Wiegley2009-02-2425-3385/+0
| | | | | This is because soon, I intend to have real Python source files in python/.
* Build Python module using automake, not setup.pyJohn Wiegley2009-02-241-18/+0
|
* Restored the py_amount and py_balance mappingsJohn Wiegley2009-02-243-0/+614
|
* The Great Renaming, Part IIJohn Wiegley2009-02-235-126/+126
| | | | | The last commit did not contain the majority of changes because of a slight mishap. This contains the real changeset.
* Restored the --budget optionJohn Wiegley2009-02-201-1/+1
|
* Fixed several unused value and param warningsJohn Wiegley2009-02-162-2/+2
|
* Changed some value_t method namesJohn Wiegley2009-02-161-2/+2
| | | | | | | - simplify -> simplified - cast -> casted This is to differentiate them from in_place_cast and in_place_simplify.
* Removed "total_cost" valexpr, and value_t::costJohn Wiegley2009-02-151-2/+0
| | | | | Since cost reports are now calculated by setting the amount_ expression, there is no need to track a separate "total cost" entity.
* Made (un)reduce rvalue methods more consistentJohn Wiegley2009-02-121-2/+2
| | | | | | They names were changed from reduce/unreduce to reduced/unreduced, since they return the modified value. This is more consistent with the naming of rounded/rounded.
* Removed the balance_pair_t type, since it's now an unneeded abstraction.John Wiegley2009-02-091-7/+0
| | | | | This type was a holdback from the days before the amount_expr was used everywhere to determine a transaction's value.
* Conditionalized some boost::filesystem calls that were too new.John Wiegley2009-02-091-0/+8
|
* Fixes to the new Python/scope integration code.John Wiegley2009-02-082-11/+10
|
* Attribute lookup on a Value object which is a Scope now searches the scope.John Wiegley2009-02-083-37/+125
|
* pyinterp.cc shares global session; accept full paths passed to --import.John Wiegley2009-02-083-44/+33
|
* Moved several #includes to facilitate the use of pre-compiled headers.John Wiegley2009-02-0818-66/+0
|
* Removed a great many unnecessary Boost.Python files.John Wiegley2009-02-0721-1948/+11
|
* Removed an unused file.John Wiegley2009-02-071-45/+0
|
* Threw away the "multiple parser" infrastructure.John Wiegley2009-02-072-70/+0
|
* More revision to the way options are handled; reworked CSV command.John Wiegley2009-02-072-70/+0
|
* Removed --reconcile and --reconcile-date.John Wiegley2009-02-072-70/+0
|
* Added #if 0'd Python stub code from 2.x days. It needs to be ported.John Wiegley2009-02-064-0/+699
|
* Added stubs for all the Python integration classes.John Wiegley2009-02-0636-25/+2352
|
* Fixed a long-standing g++ warning.John Wiegley2009-02-041-6/+11
|
* Largely removed all of Ledger's use of global variables, for the REPL's sake.John Wiegley2009-02-043-16/+13
|
* Added __str__ and __repr__ methods for ledger.Value.John Wiegley2009-02-031-0/+16
|
* Removed the binary caching code, and the XML, QIF and Gnucash parsers.John Wiegley2009-02-032-59/+0
|
* Removed unnecessary #ifdef block. pyinterp.h now guards itself.John Wiegley2009-01-311-0/+4
|
* Rationals based math is now passing the unit tests.John Wiegley2009-01-312-40/+40
|
* Corrected Python reference to the AmountParse enum.John Wiegley2009-01-311-4/+4
|
* Changed to using rational numbers instead of integer approximations.John Wiegley2009-01-302-0/+6
| | | | | As a result, dependency on the gdtoa was dropped, and dependency on mpfr was added.
* Removed all dependency on gdtoa.John Wiegley2009-01-302-70/+0
|
* Revised the way that parsing flags get passed around.John Wiegley2009-01-291-3/+7
|
* Unit test for Python are now auto-generated from the C++ tests.John Wiegley2009-01-283-20/+71
|
* Fully exported the value_t type to Python.John Wiegley2009-01-281-12/+283
| | | | | | | | | | Now this code works from a value expression: def myvalue(incoming): import ledger x = ledger.Value("100.23") print x.type() return incoming + x
* Expose the commodity type to python as "Commodity".John Wiegley2009-01-281-1/+1
|
* Extended the amount_t Python mapping to handle the 3rd case of value().John Wiegley2009-01-281-1/+7
|
* Handle the VERSION more gracefully, and uninstall the Python Egg file.John Wiegley2009-01-261-1/+1
|
* Pass $(srcdir) down to python/setup.py, so it can find pyledger.cc.John Wiegley2009-01-261-1/+1
|
* Only initialize Python if it's used.John Wiegley2009-01-242-26/+48
|
* Create a py_value module, for translating value_t objects to/from Python.John Wiegley2009-01-232-15/+92
|
* Report the name of a Python function if we have difficulties calling it.John Wiegley2009-01-232-6/+20
|
* Added tracing statements to the Python interpreter binding code.John Wiegley2009-01-231-1/+7
|
* Look up definitions in the Python evaluator directly, not with eval.John Wiegley2009-01-232-11/+6
|
* When Python support is present, use a session_t object which is derived fromJohn Wiegley2009-01-232-29/+82
| | | | python_interpreter_t, so that Python can provide value expression definitions.
* Increased copyright range to include 2009.John Wiegley2009-01-2011-11/+11
|
* Changed COMMODITY_STYLE_NOMARKET TO COMMODITY_NOMARKET.John Wiegley2009-01-191-1/+1
|
* Changed COMMODITY_STYLE_BUILTIN to COMMODITY_BUILTIN, and added new flagJohn Wiegley2009-01-191-1/+2
| | | | COMMODITY_WALKED, for avoiding infinite recursions during price lookups.
* Moved sources which I did not write from src/ into lib/.John Wiegley2008-08-091-281/+0
|
* 'make distcheck' now works with Python support enabled.John Wiegley2008-08-091-2/+1
|