Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix bug introduced by commit AA2FF2B | thdox | 2014-05-17 | 1 | -4/+3 |
| | | | | Correction is to not use uninitialized amount | ||||
* | Ensure that high-levels directives have arguments if they need one | Martin Michlmayr | 2014-05-14 | 1 | -0/+8 |
| | | | | | Ensure that high-levels directives, such as account, alias and commodity, have arguments if they need one. Bug fix for #1036 | ||||
* | Ensure that directives have arguments if they need one | Martin Michlmayr | 2014-05-14 | 1 | -0/+11 |
| | | | | | Ensure that account, commodity and payee directives have arguments if they need one. Bug fix for #785 | ||||
* | Remove trailing whitespace from error messages | Martin Michlmayr | 2014-05-13 | 3 | -4/+4 |
| | | | | Fix for bug #867 | ||||
* | Merge pull request #289 from csrhodes/payee-uuid-mapping | John Wiegley | 2014-05-13 | 4 | -39/+63 |
|\ | | | | | Payee uuid mapping | ||||
| * | support payee uuid directive | Christophe Rhodes | 2014-05-13 | 2 | -0/+24 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | The semantics of this are a little bit tricky: we want, if we come across a transaction with exactly the given UUID, to set the transaction's payee to be the specified one. We need to set that payee before the first post in the transaction is parsed, otherwise that post will inherit the wrong payee; however, we need to do it after the transaction's tags have been parsed. The implementation as it is in this commit is potentially a little wasteful, if there are post-like (non-comment non-assertion) entries in the transaction that don't successfully parse as posts. | ||||
| * | rename payee_mappings to payee_alias_mappings | Christophe Rhodes | 2014-05-12 | 4 | -39/+39 |
| | | | | | | | | (and similar renames) in preparation for payee_uuid_mappings | ||||
* | | Honour date-format for lot dates | Martin Michlmayr | 2014-05-13 | 1 | -1/+1 |
| | | | | | | | | Fixes bug #383 | ||||
* | | Recognize the --no-pager option | Martin Michlmayr | 2014-05-12 | 1 | -0/+1 |
|/ | | | | Thanks to Johann Klähn. | ||||
* | Library GMP is not yet ready for GCC 4.9, as described at bottom of page | thdox | 2014-05-11 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | http://gcc.gnu.org/gcc-4.9/porting_to.html See extract below: The <cstddef> header was updated for C++11 support and this breaks some libraries which misuse macros meant for internal use by GCC only. For instance with GMP versions up to 5.1.3, you may see: /usr/include/c++/4.9.0/cstddef:51:11: error: ‘::max_align_t’ has not been declared using ::max_align_t; ^ Another possible error is: someheader.h:99:13: error: ‘ptrdiff_t’ does not name a type A workaround until libraries get updated is to include <cstddef> or <stddef.h> before any headers from that library. | ||||
* | Use the POST_COST_VIRTUAL flag when exchange commodities | John Wiegley | 2014-05-08 | 2 | -4/+5 |
| | | | | Fixes #999 | ||||
* | Fix build for building with g++ 4.8 | John Wiegley | 2014-05-07 | 2 | -0/+10 |
| | |||||
* | fix debug build for gcc | Johann Klähn | 2014-05-07 | 1 | -1/+0 |
| | | | | -ansi ≡ -std=c++98 ;) | ||||
* | Add the --no-pager option | John Wiegley | 2014-04-27 | 1 | -0/+1 |
| | |||||
* | Initialize journal_t::no_aliases to false upon costruction | John Wiegley | 2014-04-21 | 1 | -0/+1 |
| | | | | This fixes a bug introduced by ecd5097d515f53703eb5dc6096da80182c452ad9. | ||||
* | Require the use of C++11 | John Wiegley | 2014-04-17 | 3 | -9/+2 |
| | |||||
* | Replace sha1.cc with boost::uuid::details::sha1 | David Bremner | 2014-04-17 | 4 | -16/+16 |
| | | | | | | | | sha1.cc is not redistributable by Debian because the license doesn't permit redistribution of modified versions. This isn't ideal since the ::details namespace is subject to change, but it avoids adding a dependency to ledger. | ||||
* | Improve an error message relating to balance assertions | John Wiegley | 2014-04-16 | 1 | -3/+8 |
| | |||||
* | Add a safety check when using deferred postings | John Wiegley | 2014-04-15 | 1 | -4/+46 |
| | |||||
* | Apply any outstanding deferred postings at the end of parsing | John Wiegley | 2014-04-14 | 4 | -0/+20 |
| | |||||
* | Add the concept of "deferred postings" | John Wiegley | 2014-04-13 | 6 | -9/+52 |
| | | | | | This is pretty much exclusively for allowing one to use balance assertions with replicated transactions across multiple files. | ||||
* | The option --permissive now quiets balance assertions | John Wiegley | 2014-04-13 | 4 | -14/+20 |
| | |||||
* | use /bin/sh to run the pager | Matthias Lederhofer | 2014-04-02 | 1 | -10/+2 |
| | | | | | | This allows to specify options on the command-line of the pager, e.g. $ ledger --color --pager='less -R' ... | ||||
* | Fix a compiler warning | John Wiegley | 2014-03-28 | 1 | -1/+2 |
| | |||||
* | CMake: Remove installation of third party code | Alexis Hildebrandt | 2014-03-10 | 1 | -3/+0 |
| | |||||
* | Adding option --no-aliases to completely disable alias expansion | Peter Feigl | 2014-02-26 | 4 | -0/+11 |
| | |||||
* | Merge pull request #248 from ecraven/fix-warnings | John Wiegley | 2014-02-26 | 2 | -3/+6 |
|\ | | | | | Fixing two GCC warnings | ||||
| * | Fixing two GCC warnings | Peter Feigl | 2014-02-26 | 2 | -3/+6 |
| | | |||||
* | | Adding option --recursive-aliases, adding documentation to man-page and manual | Peter Feigl | 2014-02-26 | 4 | -2/+12 |
| | | |||||
* | | fixing problem with previous commit if no aliases are registered | Peter Feigl | 2014-02-26 | 1 | -0/+2 |
| | | |||||
* | | Adding support for recursive aliases. | Peter Feigl | 2014-02-25 | 3 | -19/+60 |
|/ | | | | | | | | | | | Alias expansion is now a loop. If you define alias A=B:A alias B=C:B then A will expand to C:B:A. Also added a short section to the manual about this. | ||||
* | Attempt to convert balances to amounts before failing comparisons | John Wiegley | 2014-02-21 | 1 | -0/+12 |
| | |||||
* | Merge pull request #243 from kanru/justify-cjk | John Wiegley | 2014-02-16 | 4 | -2/+406 |
|\ | | | | | Correctly justify Unicode characters in terminal | ||||
| * | Use mk_wcwidth instead mk_wcwidth_cjk | Kan-Ru Chen (陳侃如) | 2014-02-13 | 1 | -2/+2 |
| | | |||||
| * | Correctly justify Unicode characters in terminal | Kan-Ru Chen (陳侃如) | 2014-02-13 | 4 | -2/+406 |
| | | | | | | | | | | | | | | Many Unicode characters take more spaces than one ASCII character. For example, Chinese characters are two characters wide when using monospace font in terminal. This patch use wcwidth of Markus Kuhn to count the correct width for justification. | ||||
* | | Fix apply_year_directive | Alexis Hildebrandt | 2014-02-12 | 1 | -2/+2 |
|/ | | | | | | Using the Y 2014 syntax works fine, but using apply year 2014 resulted in the following error: Error: Year is out of valid range: 1400..10000 since part of the given year string was chopped off. | ||||
* | Correctly set runtime path on Linux on install | Alexis Hildebrandt | 2014-02-03 | 1 | -1/+1 |
| | |||||
* | Bump copyright information to 2014 | Alexis Hildebrandt | 2014-02-02 | 128 | -129/+129 |
| | |||||
* | initialize member variables of posts_to_org_table | Johann Klähn | 2014-02-01 | 1 | -1/+2 |
| | | | | This fixes test/baseline/cmd-org.test when built with clang. | ||||
* | Create default scope from python session only if needed | Alexis Hildebrandt | 2014-02-01 | 1 | -3/+5 |
| | | | | | | Fixes test failures introduced with the commit "Create default scope to read journal" a9078767b8224a223f8942a1cb80d4544024387b | ||||
* | python module file suffix is platform dependent | Johann Klähn | 2014-02-01 | 1 | -3/+13 |
| | |||||
* | Fix shared library and python module | Alexis Hildebrandt | 2014-02-01 | 1 | -3/+12 |
| | | | | | Conflicts: src/CMakeLists.txt | ||||
* | no RENAME option on older CMake versions | Johann Klähn | 2014-02-01 | 1 | -2/+9 |
| | | | | | The RENAME option for install(TARGETS ...) does not seem to be available on all CMake versions. | ||||
* | build shared library/python module, clean up CMake | Johann Klähn | 2014-02-01 | 1 | -15/+33 |
| | | | | | libledger will now be built as a shared library. You can 'import ledger' from python IFF you copy libledger.so to ledger.so or create a symlink. | ||||
* | Make time-colon commodity flag available to python | Alexis Hildebrandt | 2014-01-27 | 1 | -0/+1 |
| | |||||
* | Create default scope to read journal | Alexis Hildebrandt | 2014-01-27 | 1 | -0/+5 |
| | | | when using ledger python module | ||||
* | Build and shared python module | Alexis Hildebrandt | 2014-01-27 | 1 | -0/+9 |
| | | | when building library | ||||
* | Commodity column in default CSV format should match the displayed amount | Steve Purcell | 2014-01-06 | 1 | -1/+1 |
| | | | | | | | | If one uses --exchange to force CSV display amounts into a particular currency, then the commodity output column should match that currency. Without this patch, the commodity column contains the original commodity, not the commodity for the exported amount. | ||||
* | And const directives in account.h and commodity.h to allow build in OS X ↵ | Craig Earls | 2013-10-30 | 2 | -2/+2 |
| | | | | Mavericks. | ||||
* | Guard against a possible null value | John Wiegley | 2013-09-20 | 1 | -1/+1 |
| |