Commit graph

5459 commits

Author SHA1 Message Date
Christophe Rhodes
2ef54854dc don't add a space when completing
completing payees with ledger-magic-tab would add a space when
there was only one possible completion.  That space, in ledger's
file format, would always need to be deleted again

it might be helpful when completing accounts to add two spaces, but
the current completion code organization can't (easily) distinguish
between payee and account completion.  Adding one space is harmful
to account completion too, in that `ledger-account.*regex' parse
accounts by looking for two spaces, and treat an account name ending
with a single space before the newline as having the space as part
of the account name.
2014-06-13 19:49:03 +01:00
John Wiegley
3bfd8e71a2 Bump version numbers everywhere to 3.0.3 2014-06-08 06:42:29 -05:00
Martin Michlmayr
365781433c Fix minor formatting issue 2014-06-06 17:06:32 -04:00
Martin Michlmayr
f32fced494 Improve consistency regarding options
Use --exchange for both cases to avoid confusion for those who don't
know that --exchange and -X are the same.
2014-06-06 17:00:02 -04:00
Martin Michlmayr
23902686a3 Don't lose commodity when cost is not separated by whitespace
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
2014-06-05 19:46:22 -04:00
Martin Michlmayr
f577dc4edc Merge pull request #300 from jacknagel/patch-2
acprep: remove dead code
2014-06-05 19:10:05 -04:00
Jack Nagel
b19761ff19 acprep: remove dead code
This isn't used anywhere since 4681e58d7f.
2014-06-05 16:34:10 -05:00
Craig Earls
a0a995a011 Merge pull request #299 from bkuhn/document-exchange-option-with-colon
Document --exchange COMMODITY1:COMMODITY2 syntax.

Thanks!
2014-06-05 05:45:14 -07:00
Bradley M. Kuhn
bb59564b79 Document --exchange COMMODITY1:COMMODITY2 syntax.
It appears this syntax does indeed work as described in this change, but the
feature was not previously documented herein.
2014-06-05 08:17:47 -04:00
Martin Michlmayr
a5ffcc42ff Improve backwards compatibility with ledger2
This brings some single character format strings in line with what
they actually meant in ledger2.

Bug fix for #755
2014-05-30 23:52:36 -04:00
Martin Michlmayr
53b8aa8802 Remove character that wasn't displayed in ledger2 2014-05-30 23:17:03 -04:00
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