Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refactor python related types into ledger::python namespace | Alexis Hildebrandt | 2023-04-12 | 1 | -6/+6 |
| | |||||
* | 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 |
| | |||||
* | fileinfo_t: remove size member | Maximilian Eschenbacher | 2022-02-22 | 1 | -3/+0 |
| | | | | | | | | | | | it is currently not required but set. Incidentally, calling file_size() on a bash pipe e.g. /proc/self/fd/11 fails with: Error: boost::filesystem::file_size: Operation not permitted: "/proc/self/fd/11" when executing ledger as ledger -f <(cat journal) | ||||
* | [misc] Update year in copyright notice to 2017 | Alexis Hildebrandt | 2018-01-27 | 1 | -1/+1 |
| | | | | [ci skip] | ||||
* | journal: Expose register_account to Python | Kyle Fuller | 2018-01-23 | 1 | -0/+9 |
| | |||||
* | Expose journal expand_aliases to Python | Kyle Fuller | 2017-12-24 | 1 | -0/+4 |
| | |||||
* | [misc] Update year in copyright notice to 2017 | Alexis Hildebrandt | 2017-01-05 | 1 | -1/+1 |
| | | | | [ci skip] | ||||
* | Revert "[python] Add fix for Boost.Python compile errors" | Alexis Hildebrandt | 2016-06-22 | 1 | -3/+0 |
| | | | | This reverts commit 11590e134eafa768ccc4a171cc7fb216e906095f. | ||||
* | [python] Add fix for Boost.Python compile errors | Alexis Hildebrandt | 2016-01-02 | 1 | -0/+3 |
| | | | | when using boost version 1.60.0. | ||||
* | [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 |
| | |||||
* | Added --verify-memory and missing TRACE_[CD]TOR calls | John Wiegley | 2012-03-18 | 1 | -1/+4 |
| | |||||
* | Started writing Python unit tests | John Wiegley | 2012-03-01 | 1 | -49/+44 |
| | |||||
* | Refactored the notion of "the current parsing context" | John Wiegley | 2012-03-01 | 1 | -4/+7 |
| | |||||
* | Increased file copyrights to 2012 | John Wiegley | 2012-02-29 | 1 | -1/+1 |
| | |||||
* | Fixed many Clang type conversion warnings with static_cast | John Wiegley | 2012-02-17 | 1 | -5/+6 |
| | |||||
* | #if 0'd some unused Python bridge code | John Wiegley | 2012-02-17 | 1 | -0/+4 |
| | |||||
* | Use Boost iterator_facade to create new iterators | John Wiegley | 2011-07-19 | 1 | -1/+1 |
| | |||||
* | Fixes for compilation as C++0x code | John Wiegley | 2011-02-04 | 1 | -2/+1 |
| | |||||
* | Untabified all source files | John Wiegley | 2010-06-11 | 1 | -43/+43 |
| | |||||
* | Reworked the way that <Rounding> entries are shown | John Wiegley | 2010-06-06 | 1 | -2/+2 |
| | | | | Fixes #188 / 53BCED29-F3B9-4E02-9A35-6C739ABB9662 | ||||
* | Updated to Boost 1.43 | John Wiegley | 2010-05-27 | 1 | -9/+10 |
| | |||||
* | Updated copyrights to 2003-2010 | John Wiegley | 2010-03-05 | 1 | -1/+1 |
| | |||||
* | Many improvements to Ledger's Python bindings | John Wiegley | 2009-11-19 | 1 | -8/+0 |
| | |||||
* | Fixed an internal reference issue with Python | John Wiegley | 2009-11-14 | 1 | -12/+28 |
| | |||||
* | Added a Journal.collect method to Python | John Wiegley | 2009-11-12 | 1 | -0/+106 |
| | | | | | | | | | | | | | | | | | | | | This lets you run standard report queries against a Ledger journal and get back a collection of postings, for example: import ledger journal = ledger.Journal("sample.dat") posts = journal.collect("-M assets") for post in posts: print post.account However, this code is not really working yet for a large variety of reasons, having to do with object life-time, shallow copying, and lack of reference counting where it should be. For instance, calling ledger.Journal().collect() fails because the temporary journal object is destroyed and the collection now has a host of bad pointers. Using "for post in journal.collect()" fails too with other bad pointers. And the whole lot of it crashes on exit at the moment. | ||||
* | Removed unnecessary code | John Wiegley | 2009-11-12 | 1 | -1/+1 |
| | |||||
* | Added has_xdata() methods for journal_t and xact_t | John Wiegley | 2009-11-12 | 1 | -0/+1 |
| | |||||
* | Did away with the "finalizer" abstraction | John Wiegley | 2009-11-11 | 1 | -46/+0 |
| | | | | | This was from an earlier time, when it was intended to be used by Python. But it's not needed anymore. | ||||
* | Automated postings defer amount expression calculation | John Wiegley | 2009-11-11 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | | | This allows for value expressions to be used which reference the incoming posting, for example: = Income:Clients: (Liabilities:Taxes:VAT1) (floor(amount) * 1) (Liabilities:Taxes:VAT2) 0.19 2009/07/27 * Invoice Assets:Bank:Checking $1,190.45 Income:Clients:ACME_Inc The automated posting for VAT1 will use the floored amount multiplied by a factor, while the posting for VAT2 multiples the whole amount as before. | ||||
* | Expose journal_t::read to Python | John Wiegley | 2009-11-07 | 1 | -0/+7 |
| | |||||
* | Renamed journal_t::basket to bucket | John Wiegley | 2009-11-07 | 1 | -3/+3 |
| | |||||
* | Simplified usage of Boost.Python in several cases | John Wiegley | 2009-11-05 | 1 | -6/+6 |
| | |||||
* | Moved journal reading code into journal_t | John Wiegley | 2009-11-05 | 1 | -0/+5 |
| | |||||
* | Moved xdata clearing code into each type proper | John Wiegley | 2009-11-05 | 1 | -0/+2 |
| | |||||
* | Transactions, etc., are now accessed by iterators | John Wiegley | 2009-11-05 | 1 | -1/+11 |
| | |||||
* | Added Python interface for journal_t | John Wiegley | 2009-11-03 | 1 | -327/+129 |
| | |||||
* | Removed some dead code | John Wiegley | 2009-06-27 | 1 | -11/+0 |
| | |||||
* | 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 | -2/+0 |
| | |||||
* | Marked all strings needing internationalization | John Wiegley | 2009-02-25 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | 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/+437 |
This is because soon, I intend to have real Python source files in python/. |