Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add Python bindings for roundto | Max Nikulin | 2024-08-07 | 1 | -0/+2 |
| | | | | | | | | | 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 namespace | Alexis Hildebrandt | 2023-04-12 | 1 | -0/+1 |
| | |||||
* | Update copyright year | Alexis Hildebrandt | 2023-02-02 | 1 | -1/+1 |
| | | | | [skip ci] | ||||
* | Update copyright statement for 2022 | Alexis Hildebrandt | 2022-07-02 | 1 | -1/+1 |
| | |||||
* | Port to python3 | Dimitri John Ledkov | 2019-12-05 | 1 | -1/+1 |
| | |||||
* | Remove unused function py_dump_relaxed() | Tim Landscheidt | 2019-01-13 | 1 | -7/+1 |
| | | | | | The only user of py_dump_relaxed() was removed in commit 0bbb4f2f0cbaa6ffb5c7a2c018a3819cca0b2405. | ||||
* | [misc] Update year in copyright notice to 2017 | Alexis Hildebrandt | 2018-01-27 | 1 | -1/+1 |
| | | | | [ci skip] | ||||
* | [misc] Update year in copyright notice to 2017 | Alexis Hildebrandt | 2017-01-05 | 1 | -1/+1 |
| | | | | [ci skip] | ||||
* | Make bool implicitly convertible in Python to value_t | John Wiegley | 2016-11-12 | 1 | -0/+1 |
| | |||||
* | [python] Remove double quotes from unicode values | Alexis Hildebrandt | 2016-01-11 | 1 | -1/+0 |
| | | | | | When converting a ledger.Value to unicode the Python API added double quotes around it. | ||||
* | [misc] Update year in copyright notice to 2016 | Alexis Hildebrandt | 2016-01-02 | 1 | -1/+1 |
| | | | | [ci skip] | ||||
* | Bump copyright notice to 2015 | Alexis Hildebrandt | 2014-12-27 | 1 | -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 2014 | Alexis Hildebrandt | 2014-02-02 | 1 | -1/+1 |
| | |||||
* | Bump copyright information to 2013 | John Wiegley | 2013-02-18 | 1 | -1/+1 |
| | |||||
* | Allow dates to be passed to Python value() method | John Wiegley | 2012-03-30 | 1 | -0/+6 |
| | |||||
* | Tighten up argument passing related to fn_market() | John Wiegley | 2012-03-11 | 1 | -3/+3 |
| | |||||
* | Removed value_t::price and balance_t::price | John Wiegley | 2012-03-07 | 1 | -2/+1 |
| | |||||
* | Added a new 'python' directive | John Wiegley | 2012-03-01 | 1 | -1/+1 |
| | |||||
* | Increased file copyrights to 2012 | John Wiegley | 2012-02-29 | 1 | -1/+1 |
| | |||||
* | Untabified all source files | John Wiegley | 2010-06-11 | 1 | -29/+29 |
| | |||||
* | Use ptr_deque for value_t::sequence_t | John Wiegley | 2010-06-10 | 1 | -1/+5 |
| | | | | | | | | | This is to work around undefined behavior according to the Standard, [lib.res.on.functions]/2: "In particular, the effects are undefined in the following cases: [..] - if an incomplete type (3.9) is used as a template argument when instantiating a template component." | ||||
* | A further simplification of -V and -X | John Wiegley | 2010-06-07 | 1 | -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-2010 | John Wiegley | 2010-03-05 | 1 | -1/+1 |
| | |||||
* | Fixed Ledger/Python byte vs. char Unicode bridge | John Wiegley | 2009-11-20 | 1 | -11/+18 |
| | |||||
* | Normalized the value() method for Python numerics | John Wiegley | 2009-11-20 | 1 | -0/+17 |
| | |||||
* | Many improvements to Ledger's Python bindings | John Wiegley | 2009-11-19 | 1 | -19/+20 |
| | |||||
* | Value.to_sequence returns a valid Python sequence | John Wiegley | 2009-11-11 | 1 | -0/+4 |
| | |||||
* | Added floored() and in_place_floor() methods | John Wiegley | 2009-11-11 | 1 | -0/+2 |
| | |||||
* | Value.basetype in Python returns a Value's base type | John Wiegley | 2009-11-11 | 1 | -0/+18 |
| | |||||
* | Report sought magnitude when balancing errors occur | John Wiegley | 2009-11-05 | 1 | -0/+2 |
| | |||||
* | Simplified usage of Boost.Python in several cases | John Wiegley | 2009-11-05 | 1 | -1/+3 |
| | |||||
* | Segregated symbols into 5 separate namespaces | John Wiegley | 2009-11-04 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | The different namespaces are: Function Value expression functions, which receive a "context" Option Command-line options Precommand Commands which are invoked before reading the journal Command Commands which are invoked after reading the journal Directive Directives that occur at column 0 in a data file This greatly eases the ability for Python uses to add intercept hooks to change how the basic Ledger module functions. An example of what should be possible soon: import ledger def my_foo_handler(value): print "--foo received:", value ledger.add_handler(ledger.Option, "foo=", my_foo_handler) | ||||
* | Changed two callout comments | John Wiegley | 2009-11-03 | 1 | -2/+2 |
| | |||||
* | Whitespace fix | John Wiegley | 2009-11-03 | 1 | -1/+1 |
| | |||||
* | Completed Python bindings for value_t | John Wiegley | 2009-11-02 | 1 | -75/+97 |
| | |||||
* | Removed most #if 0 blocks and callout comments | John Wiegley | 2009-10-31 | 1 | -2/+0 |
| | |||||
* | Change the value_t::POINTER type to value_t::SCOPE | John Wiegley | 2009-10-30 | 1 | -3/+3 |
| | | | | | scope_t pointers are the only kind that are ever stored in value objects, so there was no need to make it generic and use boost::any. | ||||
* | Split commodity.h/cc into three files | John Wiegley | 2009-06-24 | 1 | -0/+1 |
| | | | | | | commodity.h - code for commodity_t annotate.h - commodity annotations pool.h - commodity pool management | ||||
* | Enabled use of pre-compiled headers by default | John Wiegley | 2009-03-10 | 1 | -0/+2 |
| | |||||
* | Reduced the #include dependency tree to a minimum | John Wiegley | 2009-03-04 | 1 | -1/+1 |
| | |||||
* | Marked all strings needing internationalization | John Wiegley | 2009-02-25 | 1 | -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 Wiegley | 2009-02-24 | 1 | -0/+304 |
This is because soon, I intend to have real Python source files in python/. |