John Wiegley
a1c33fec02
Allow dates to be passed to Python value() method
2012-03-30 00:51:06 -05:00
John Wiegley
363670d35b
Tighten up argument passing related to fn_market()
2012-03-11 03:55:25 -05:00
John Wiegley
9ec9cdf41e
Started writing Python unit tests
2012-03-01 05:50:07 -06:00
John Wiegley
e2afc783db
Increased file copyrights to 2012
2012-02-29 22:32:23 -06:00
John Wiegley
e7ff3945d5
#if 0'd some unused Python bridge code
2012-02-17 15:09:32 -06:00
John Wiegley
e162455ebb
Minor simplifications to valexpr parser
...
The most significant change is the way CONS sequences are parsed, and
that now instead of =/:=, the operators are ==/=.
2010-09-05 01:38:47 -04:00
John Wiegley
dea2aed0b5
Untabified all source files
2010-06-11 17:02:25 -04:00
John Wiegley
be6cef93c4
A further simplification of -V and -X
...
With -X COMM, all values are computed in terms of COMM, regardless.
With -V, only secondary commodities will ever be computed, never
primaries. Further, if a secondary commodities has an associated price,
the valuation is done in terms of that price's commodity.
2010-06-07 09:49:17 -04:00
John Wiegley
ab416f759f
Updated copyrights to 2003-2010
2010-03-05 22:14:10 -05:00
John Wiegley
d5e957204c
Fixed Ledger/Python byte vs. char Unicode bridge
2009-11-20 23:23:44 -05:00
John Wiegley
aa086686ea
Normalized the value() method for Python numerics
2009-11-20 17:40:15 -05:00
John Wiegley
4e30fcdf40
Many improvements to Ledger's Python bindings
2009-11-19 22:24:24 -05:00
John Wiegley
afe87280e0
Added floored() and in_place_floor() methods
2009-11-11 03:39:53 -05:00
John Wiegley
c3535d06c8
Redesigned the expr_t, predicate_t, query_t classes
2009-11-09 02:06:06 -05:00
John Wiegley
1bdb9330e5
Simplified passing of scope objects in Python
2009-11-05 17:16:59 -05:00
John Wiegley
690e46117e
Added Python interface for commodity_t
2009-11-02 21:55:53 -05:00
John Wiegley
4e78dcff3f
Fixes to the Python bindings for amount_t
2009-11-02 04:41:07 -05:00
John Wiegley
60d016a21c
Fleshed out the Python bindings for amount_t
2009-11-02 03:50:26 -05:00
John Wiegley
3909d2678e
Removed most #if 0 blocks and callout comments
2009-10-31 04:50:07 -04:00
John Wiegley
991e3a3eaf
Split commodity.h/cc into three files
...
commodity.h - code for commodity_t
annotate.h - commodity annotations
pool.h - commodity pool management
2009-06-24 16:43:46 +01:00
John Wiegley
110f0b8023
Enabled use of pre-compiled headers by default
2009-03-10 17:02:03 -04:00
John Wiegley
c11d325712
Reduced the #include dependency tree to a minimum
2009-03-04 23:53:43 -04:00
John Wiegley
238bd7f8a5
Marked all strings needing internationalization
...
These strings are now collected automagically in the file po/ledger.pot.
If you'd like to produce a translation, just run this command after
building Ledger:
msginit -l LOCALE -o LANG.po -i po/ledger.pot
Where LOCALE is a string like de or en_GB, and LANG is a short
descriptive word for your language.
Then send me this .po file so I can commit it to the Ledger sources
(alternatively, you could maintain the file in a fork on GitHub), and
setup the build script to format and install your new message catalog
during a "make install".
2009-02-25 03:51:42 -04:00
John Wiegley
1799ed3a2a
Moved python/*.cc files into src/
...
This is because soon, I intend to have real Python source files in
python/.
2009-02-24 16:08:49 -04:00