summaryrefslogtreecommitdiff
path: root/src/py_balance.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-3/+0
|
* Update copyright statement for 2022Alexis Hildebrandt2022-07-021-1/+1
|
* Port to python3Dimitri John Ledkov2019-12-051-0/+2
|
* [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}/"
* support date as well as datetime in Balance.value()Christophe Rhodes2014-12-011-0/+6
| | | | cargo-cut'n'paste from py_amount.cc
* Improve Embedded Python SupportELIPTUS2014-11-121-1/+1
| | | | | Discussion: https://groups.google.com/d/msg/ledger-cli/kq9sKoRX9vw/fmyhvPslzokJ
* Bump copyright information to 2014Alexis Hildebrandt2014-02-021-1/+1
|
* Bump copyright information to 2013John Wiegley2013-02-181-1/+1
|
* Tighten up argument passing related to fn_market()John Wiegley2012-03-111-3/+3
|
* Removed value_t::price and balance_t::priceJohn Wiegley2012-03-071-2/+0
|
* Increased file copyrights to 2012John Wiegley2012-02-291-1/+1
|
* Fixed many Clang type conversion warnings with static_castJohn Wiegley2012-02-171-2/+2
|
* #if 0'd some unused Python bridge codeJohn Wiegley2012-02-171-0/+2
|
* Cleanup whitespaceJohn Wiegley2011-08-181-1/+1
|
* Untabified all source filesJohn Wiegley2010-06-111-15/+15
|
* 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/+7
|
* Normalized the value() method for Python numericsJohn Wiegley2009-11-201-21/+10
|
* Many improvements to Ledger's Python bindingsJohn Wiegley2009-11-191-1/+9
|
* Added floored() and in_place_floor() methodsJohn Wiegley2009-11-111-0/+4
|
* Report sought magnitude when balancing errors occurJohn Wiegley2009-11-051-0/+2
|
* Simplified passing of scope objects in PythonJohn Wiegley2009-11-051-6/+6
|
* Simplified usage of Boost.Python in several casesJohn Wiegley2009-11-051-0/+6
|
* Added Python interface for commodity_tJohn Wiegley2009-11-021-3/+0
|
* Completed Python bindings for balance_tJohn Wiegley2009-11-021-160/+120
|
* Enabled use of pre-compiled headers by defaultJohn Wiegley2009-03-101-0/+2
|
* Reduced the #include dependency tree to a minimumJohn Wiegley2009-03-041-6/+0
|
* Marked all strings needing internationalizationJohn Wiegley2009-02-251-1/+1
| | | | | | | | | | | | | | | | 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/+270
This is because soon, I intend to have real Python source files in python/.