summaryrefslogtreecommitdiff
path: root/src/py_amount.cc
Commit message (Collapse)AuthorAgeFilesLines
* Add Python bindings for roundtoMax Nikulin2024-08-071-0/+4
| | | | | | | | | Expose `roundto` and `in_place_roundto` to `Amount`, `Balance`, and `Value` Python classes. They may be handy for debugging. The methods were added after introducing of bindings and likely it is a reason why they were missed. Closes: #2365
* Refactor python related types into ledger::python namespaceAlexis Hildebrandt2023-04-121-0/+1
|
* Update copyright yearAlexis Hildebrandt2023-02-021-1/+1
| | | | [skip ci]
* Remove support for Python 2.xAlexis Hildebrandt2023-02-011-22/+0
|
* Update copyright statement for 2022Alexis Hildebrandt2022-07-021-1/+1
|
* Port to python3Dimitri John Ledkov2019-12-051-0/+6
|
* [misc] Update year in copyright notice to 2017Alexis Hildebrandt2018-01-271-1/+1
| | | | [ci skip]
* [misc] Update year in copyright notice to 2017Alexis Hildebrandt2017-01-051-1/+1
| | | | [ci skip]
* [misc] Update year in copyright notice to 2016Alexis Hildebrandt2016-01-021-1/+1
| | | | [ci skip]
* Bump copyright notice to 2015Alexis Hildebrandt2014-12-271-1/+1
| | | | | | The following script makes it a no-brainer: % NEXT_YEAR=2015; ag -l 'Copyright.*Wiegley' \ | xargs sed -i '' -e "s/\(Copyright.*\)-20[0-9]\{2\}/\1-${NEXT_YEAR}/"
* Bump copyright information to 2014Alexis Hildebrandt2014-02-021-1/+1
|
* Bump copyright information to 2013John Wiegley2013-02-181-1/+1
|
* Allow dates to be passed to Python value() methodJohn Wiegley2012-03-301-0/+7
|
* Tighten up argument passing related to fn_market()John Wiegley2012-03-111-3/+3
|
* Started writing Python unit testsJohn Wiegley2012-03-011-1/+1
|
* Increased file copyrights to 2012John Wiegley2012-02-291-1/+1
|
* #if 0'd some unused Python bridge codeJohn Wiegley2012-02-171-0/+2
|
* Minor simplifications to valexpr parserJohn Wiegley2010-09-051-1/+0
| | | | | The most significant change is the way CONS sequences are parsed, and that now instead of =/:=, the operators are ==/=.
* Untabified all source filesJohn Wiegley2010-06-111-41/+41
|
* A further simplification of -V and -XJohn Wiegley2010-06-071-3/+3
| | | | | | | | 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.
* Updated copyrights to 2003-2010John Wiegley2010-03-051-1/+1
|
* Fixed Ledger/Python byte vs. char Unicode bridgeJohn Wiegley2009-11-201-1/+6
|
* Normalized the value() method for Python numericsJohn Wiegley2009-11-201-6/+10
|
* Many improvements to Ledger's Python bindingsJohn Wiegley2009-11-191-43/+33
|
* Added floored() and in_place_floor() methodsJohn Wiegley2009-11-111-0/+4
|
* Redesigned the expr_t, predicate_t, query_t classesJohn Wiegley2009-11-091-5/+10
|
* Simplified passing of scope objects in PythonJohn Wiegley2009-11-051-8/+8
|
* Added Python interface for commodity_tJohn Wiegley2009-11-021-3/+0
|
* Fixes to the Python bindings for amount_tJohn Wiegley2009-11-021-48/+54
|
* Fleshed out the Python bindings for amount_tJohn Wiegley2009-11-021-13/+33
|
* Removed most #if 0 blocks and callout commentsJohn Wiegley2009-10-311-58/+0
|
* Split commodity.h/cc into three filesJohn Wiegley2009-06-241-0/+2
| | | | | | commodity.h - code for commodity_t annotate.h - commodity annotations pool.h - commodity pool management
* Enabled use of pre-compiled headers by defaultJohn Wiegley2009-03-101-0/+2
|
* Reduced the #include dependency tree to a minimumJohn Wiegley2009-03-041-5/+2
|
* Marked all strings needing internationalizationJohn Wiegley2009-02-251-4/+4
| | | | | | | | | | | | | | | | 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".
* Moved python/*.cc files into src/John Wiegley2009-02-241-0/+340
This is because soon, I intend to have real Python source files in python/.