| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
When a cost was specified without a whitespace after the @ symbol,
as in @$5.01, this was incorrectly parsed as 5.01 (losing the
commodity) rather than $5.01.
Bug fix for #1050
|
|
|
|
|
|
|
| |
This brings some single character format strings in line with what
they actually meant in ledger2.
Bug fix for #755
|
|
|
|
| |
Bug fix for #747
|
|
|
|
|
|
|
| |
A wrong query string was generated by "select account": one ansify_if()
too much was listed and justify() was called with the wrong parameters.
Bug fix for #744
|
|
|
|
|
|
| |
It's possible to just say "select account" without a "from", so
put the debug statement at the end of the block where the variable
"formatter" is filled with the query string.
|
|
|
|
| |
Bug fix for #1046
|
|
|
|
| |
Bug fix for #375
|
|
|
|
|
| |
Add a space between if and the opening bracket, between a closing
round bracket and the following opening curly bracket, etc.
|
|
|
|
| |
Correction is to not use uninitialized amount
|
|
|
|
|
| |
Ensure that high-levels directives, such as account, alias and
commodity, have arguments if they need one. Bug fix for #1036
|
|
|
|
|
| |
Ensure that account, commodity and payee directives have arguments
if they need one. Bug fix for #785
|
|
|
|
| |
Fix for bug #867
|
|\
| |
| | |
Payee uuid mapping
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| | |
(and similar renames) in preparation for payee_uuid_mappings
|
| |
| |
| |
| | |
Fixes bug #383
|
|/
|
|
| |
Thanks to Johann Klähn.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Fixes #999
|
| |
|
|
|
|
| |
-ansi ≡ -std=c++98 ;)
|
| |
|
|
|
|
| |
This fixes a bug introduced by ecd5097d515f53703eb5dc6096da80182c452ad9.
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This is pretty much exclusively for allowing one to use balance
assertions with replicated transactions across multiple files.
|
| |
|
|
|
|
|
|
| |
This allows to specify options on the command-line of the pager, e.g.
$ ledger --color --pager='less -R' ...
|
| |
|
| |
|
| |
|
|\
| |
| | |
Fixing two GCC warnings
|
| | |
|
| | |
|
| | |
|
|/
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|\
| |
| | |
Correctly justify Unicode characters in terminal
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
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.
|
|/
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
| |
This fixes test/baseline/cmd-org.test when built with clang.
|
|
|
|
|
|
| |
Fixes test failures introduced with the commit
"Create default scope to read journal"
a9078767b8224a223f8942a1cb80d4544024387b
|
| |
|
|
|
|
|
| |
Conflicts:
src/CMakeLists.txt
|