Commit graph

5548 commits

Author SHA1 Message Date
Martin Michlmayr
7eeb2e2e18 Recognize --cleared-format option
Bug fix for #747
2014-05-30 22:14:48 -04:00
Martin Michlmayr
dfcbbd169e Fix query string for select account
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
2014-05-30 22:01:08 -04:00
Martin Michlmayr
b2b84f35b4 Move the debug statement to where it makes more sense
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.
2014-05-30 22:00:16 -04:00
Martin Michlmayr
b534ee80a3 Handle POST_COST_VIRTUAL in print
Bug fix for #1046
2014-05-30 20:23:59 -04:00
Martin Michlmayr
fafd7c1346 Check whether a month is followed by a year
Bug fix for #375
2014-05-30 18:27:22 -04:00
Martin Michlmayr
b6b6a98d0d Update line numbers 2014-05-26 18:31:59 -04:00
Martin Michlmayr
c55f8c1ef1 Add test case to test for invalid option embedded in journal 2014-05-26 18:30:16 -04:00
Martin Michlmayr
235c770d4a Fix typo in filename 2014-05-26 18:26:55 -04:00
Martin Michlmayr
3582fb360c Remove unnecessary command directives from test cases
These are not necessary and are currently not effective anyway (see
bug #1045)
2014-05-26 18:09:09 -04:00
Martin Michlmayr
07e33a186e Add test case for tags command 2014-05-19 21:48:21 -04:00
Craig Earls
b5908bf541 Fix bug 1040 Saving in reconcile buffer doesn't stay in reconcile buffer 2014-05-18 19:43:39 -07:00
Craig Earls
8e6cdcc1d1 Merge branch 'master' of https://github.com/ledger/ledger 2014-05-18 08:25:30 -07:00
Craig Earls
d82c1b4b55 Fix bug 1039. Where the ledger buffer was incorrectly shown in the same frame as the reconcile buffer after a save. 2014-05-18 08:15:18 -07:00
Craig Earls
4af2b97921 Merge pull request #297 from thdox/reconcile-sort-key
Fix #986 and improve documentation.  I don't like it, but if it will stop the complaint I will merge it.
2014-05-18 08:05:55 -07:00
Martin Michlmayr
642bdd1d99 Add test case for: option --permissive now quiets balance assertions
Add a test csae for the change "The option --permissive now quiets
balance assertions" (634aa589)
2014-05-18 09:55:04 -04:00
Martin Michlmayr
2cee0fe23f Cosmetic change - format code consistently
Add a space between if and the opening bracket, between a closing
round bracket and the following opening curly bracket, etc.
2014-05-18 09:51:32 -04:00
Martin Michlmayr
60fd2b234a Add test case for balance assertion that's off 2014-05-18 09:34:55 -04:00
Martin Michlmayr
7de5255aad Merge pull request #296 from thdox/fix-lang-when-spellcheck
Fix spell check language.
2014-05-18 09:11:07 -04:00
thdox
5642eade57 Fix #986 and improve documentation. 2014-05-18 11:32:59 +02:00
thdox
f390a50f25 Fix spell check language.
I am on a non English based system, and when spell check starts it uses
by default my language that is not English.
This fix should work on Linux and Mac OS. I doubt it will work on
Windows, but anyway spellcheck.sh is a development tool and the base of
our developers are on Unix based systems.
2014-05-18 10:20:43 +02:00
Martin Michlmayr
762546d34b Add a test case for aliases defined in account directives 2014-05-17 21:29:58 -04:00
Martin Michlmayr
0ccbcc7810 Renamed test for --recursive-aliases option for consistency 2014-05-17 21:25:55 -04:00
Martin Michlmayr
46948d3914 Add test case for --no-aliases option 2014-05-17 21:21:56 -04:00
John Wiegley
0f9d558bbf Merge pull request #295 from thdox/fix-regression-from-aa2ff2b
Fix bug introduced by commit AA2FF2B
2014-05-17 19:28:44 -05:00
thdox
8b3f8d1884 Fix bug introduced by commit AA2FF2B
Correction is to not use uninitialized amount
2014-05-17 23:41:07 +02:00
Martin Michlmayr
9dba3f0654 Merge pull request #294 from thdox/fix-gitignore
.gitignore cleanup
2014-05-17 17:33:25 -04:00
Martin Michlmayr
3caa906332 Merge pull request #293 from thdox/fix-continuation-character
Ease copy-paste by adding a continuation character
2014-05-17 17:31:02 -04:00
thdox
0d6af8e0d4 Some cleanup regarding "test" in .gitignore 2014-05-17 20:18:46 +02:00
thdox
f30462dbbe Ignore shared libraries 2014-05-17 20:08:33 +02:00
thdox
11938a4154 Remove redundant 2014-05-17 19:57:32 +02:00
thdox
b6bd3f5566 Some cleanup about doc/* 2014-05-17 19:55:06 +02:00
thdox
38964db672 Ease copy-paste by adding a continuation character 2014-05-17 19:38:16 +02:00
Craig Earls
6a8b2a5fb0 Merge pull request #292 from thdox/fix-lisp-indentation
Thank Thierry,
   I don't know when these got messed up but I have been meaning to do just this for some time.
2014-05-17 08:14:23 -07:00
thdox
d2db0f9102 Indent & untabify
M-x mark-whole-buffer
M-x indent-region
M-x mark-whole-buffer
M-x untabify
2014-05-17 16:52:06 +02:00
John Wiegley
35a36f33aa Merge pull request #291 from thdox/ubuntu-14.04
Lower down (from 1.55) requirements towards libboost
2014-05-17 06:45:26 -05:00
thdox
ed52bebcfd Lower down (from 1.55) requirements towards libboost
Fix some typos
2014-05-17 13:27:28 +02:00
Martin Michlmayr
5d4b31b9c8 Typo fix 2014-05-16 17:07:31 -04:00
Martin Michlmayr
825021a3f1 Add a reference to Debian 8 in the build instructions
I successfully built ledger from git on Debian testing (jessie) as
of today (which will become Debian 8) with the packages listed in
README.md.
2014-05-16 16:49:37 -04:00
Martin Michlmayr
353531d5d2 Merge pull request #290 from tubaman/fix_python_example
Fix python example so it runs
2014-05-16 11:02:15 -04:00
Ryan Nowakowski
ed9cc46b49 Fix python example so it runs 2014-05-15 21:29:54 -05:00
Martin Michlmayr
ab921cca0c Ensure that high-levels directives have arguments if they need one
Ensure that high-levels directives, such as account, alias and
commodity, have arguments if they need one.  Bug fix for #1036
2014-05-14 17:55:07 -04:00
Martin Michlmayr
86fd99c9d0 Ensure that directives have arguments if they need one
Ensure that account, commodity and payee directives have arguments
if they need one.  Bug fix for #785
2014-05-14 17:53:43 -04:00
Martin Michlmayr
60d9c2bc1d Remove trailing whitespace from error messages
Fix for bug #867
2014-05-13 18:08:34 -04:00
Martin Michlmayr
c411792edb Add test case or new payee uuid feature 2014-05-13 18:03:48 -04:00
John Wiegley
1a2ab0eff7 Merge pull request #289 from csrhodes/payee-uuid-mapping
Payee uuid mapping
2014-05-13 15:35:56 -05:00
Christophe Rhodes
798eac3c6f document payee uuid subdirective 2014-05-13 16:24:46 +01:00
Christophe Rhodes
da51f5b510 support payee uuid directive
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.
2014-05-13 16:08:10 +01:00
Martin Michlmayr
9b99a1a9cb Add a test for an error in an included file 2014-05-13 11:04:48 -04:00
Martin Michlmayr
e7af7c45bd Update Python tests for fix for bug #383 2014-05-13 10:16:30 -04:00
Martin Michlmayr
b99d8d615a Add test cases for bug #494
The issues raised in bug #494 are no longer there but let's add some
test cases.
2014-05-13 09:24:26 -04:00