Martin Michlmayr
ad7c5ea764
Add test case for off by one error in textual.cc fixed in a013a73b
2014-12-11 16:41:20 -06:00
Martin Michlmayr
8fb7ea47f4
Merge pull request #339 from adrianlang/patch-1
...
Fix off by one error in textual.cc
2014-12-11 16:36:19 -06:00
Adrian Lang
a013a73b26
Fix off by one error in textual.cc
...
This fixes parsing of transactions with single-character payees and comments.
2014-12-11 21:57:25 +01:00
Steve Purcell
b960eec520
[emacs] Restore toggle behaviour of ledger-occur command, for menu users
2014-12-10 16:28:53 +00:00
Steve Purcell
78a2bb0823
Document changes to the narrowing functionality in ledger-occur
2014-12-10 16:24:16 +00:00
Steve Purcell
e16e601435
[emacs] Turn ledger-occur-mode off via a separate command, and allow refreshing
2014-12-10 09:37:20 +00:00
Steve Purcell
637679c0cb
[emacs] Fix more byte compilation and other layout issues
2014-12-10 09:17:32 +00:00
Steve Purcell
233ece62cd
[emacs] Declare when we're using cl
2014-12-09 21:19:35 +00:00
Steve Purcell
68574f8f59
[emacs] Don't use setq-local, which only appeared in Emacs 24.4
...
/cc @enderw88
2014-12-09 21:13:57 +00:00
Steve Purcell
0fb064443d
[emacs] Simplify and tidy up ledger-occur
...
Introducing a proper minor mode saves a lot of the hand-rolled fiddling
about, like managing the overlay lifecycle and the modeline.
2014-12-09 21:01:44 +00:00
Steve Purcell
233313fb17
[emacs] Fix byte compilation warnings
2014-12-09 19:38:00 +00:00
Steve Purcell
7579057bc0
[emacs] Set comment-start to ";" so that comment-dwim works
2014-12-09 16:29:45 +00:00
Steve Purcell
01c91130d7
[emacs] Parse transaction leading lines more robustly
...
This began with noticing that the code didn't support the (ugly, yet
valid) case of a tab between the date and txn description. I took the
opportunity to make the regexes more consistent along the way.
2014-12-09 16:26:51 +00:00
Steve Purcell
b623306591
[emacs] Use markers instead of raw positions to make cleaning work better
...
Sometimes cleaning a buffer would leave the end of the buffer uncleaned,
because the end position would be moved along the way. This commit makes
the corresponding code use markers instead, which track the changes in
the buffer, and therefore ensure that the entire buffer is acted upon.
2014-12-09 15:11:44 +00:00
Steve Purcell
c8dd5d4a0a
[emacs] When the first line is a txn, include it in ledger-sort-buffer
...
Without this fix, ledger-sort-region tends to skip the first
transaction when sorting a region or the entire buffer.
2014-12-09 14:40:39 +00:00
Steve Purcell
7a0b004f9d
Use font-lock-preprocessor-face as the basis for directive faces
2014-12-09 12:48:19 +00:00
Craig Earls
9a857fc4fb
Merge pull request #338 from happyalu/patch-1
...
ledger-regex: Indian Rupee Symbol
Thank you!
2014-12-07 20:35:32 -07:00
Alok Parlikar
eeb120f5e4
ledger-regex: Indian Rupee Symbol
...
Added the ₹ symbol to ledger-amount-regex
2014-12-07 21:42:31 -05:00
Craig Earls
2f0dcec10e
Make sure there is alive window to switch back to when quitting reconcile buffer
2014-12-07 12:15:15 -07:00
Craig Earls
dedc6c7061
ooops.
2014-12-06 17:39:53 -07:00
Craig Earls
b5fa7d2443
Add tangle expansion and correct menu entry for edit report.
2014-12-06 17:28:03 -07:00
Craig Earls
336ff52be2
Updated documentation to reflect recent changes to scheduling and answer some clarifying questions,
2014-12-06 17:26:58 -07:00
Craig Earls
8848834d7d
Merge commit '30df70ab1b02a05b4fc1198c932c4536dd480ef1'
2014-12-05 21:31:21 -07:00
Craig Earls
a5d4d780dc
Make reconcile more robust to empty or bad account entries at the prompt.
2014-12-05 21:30:29 -07:00
Steve Purcell
30df70ab1b
Don't hard-code ledger-font-default-face to black
2014-12-05 16:22:55 +00:00
Craig Earls
3d179c4213
Merge branch 'master' of https://github.com/ledger/ledger
2014-12-05 07:01:02 -07:00
Craig Earls
df88ee6189
Tweak ledger-clean-up to attempt to find the exact you were at when you ordered the clean.
2014-12-05 06:59:57 -07:00
Steve Purcell
def0a8421d
Inherit standard font lock faces where appropriate
2014-12-05 09:41:00 +00:00
Craig Earls
bb38cda880
Adjust navigate-find-end-of-act so that it will sort empty act.
...
This is a bit pathological but as it turns out the fix makes all sorting a bit faster.
2014-12-04 19:47:43 -07:00
Craig Earls
b3f8f943d3
Merge commit 'a65815607ff9648cd27d00de5551f5caad12314f'
2014-12-03 20:41:02 -07:00
Craig Earls
6853aa6726
Don't bomb out if the occur reggae has no matches.
2014-12-03 20:40:12 -07:00
Martin Michlmayr
a65815607f
Merge pull request #337 from afh/pull/DocTest
...
Fix DocTests running in non-standard width terminal
2014-12-03 17:20:00 -05:00
Alexis Hildebrandt
936c3f0434
Fix DocTests running in non-standard width terminal
...
The changes introduced with
56976a127c make --columns default to
terminal width, as returned by ioctl()
break the DocTests when run in a terminal with a width different
from the standard of 80 columns.
2014-12-03 22:14:49 +01:00
Craig Earls
f238d993fb
Fix change I accidentally committed when trying to fix reconcile in frames.
2014-12-02 18:45:04 -07:00
Craig Earls
f981ec7884
Another fonitification fix. and clean up a stray reference to function removed.
2014-12-02 18:06:41 -07:00
Craig Earls
eba603293b
Adjust payee line fortification.
2014-12-02 06:30:41 -07:00
Craig Earls
c844170aed
Doc string cleanup.
2014-12-01 20:18:11 -07:00
Craig Earls
66d2e4fecd
Doc string cleanup.
2014-12-01 20:07:46 -07:00
Craig Earls
438aaf251c
Fix effective date command.
2014-12-01 20:07:32 -07:00
Craig Earls
8f9c46d42b
Merge branch 'master' into ledger-mode-code-cleanup
2014-12-01 19:31:56 -07:00
Craig Earls
07324cb6b2
Simplifies parsing of the beginning of an act. This allows fontifying effective dates.
2014-12-01 19:30:10 -07:00
John Wiegley
a953fe6cbc
Merge pull request #336 from csrhodes/master
...
support date as well as datetime in Balance.value()
2014-12-01 15:09:48 -06:00
Christophe Rhodes
3e1f6670fc
support date as well as datetime in Balance.value()
...
cargo-cut'n'paste from py_amount.cc
2014-12-01 21:03:23 +00:00
Martin Michlmayr
a32913d7ac
Merge pull request #333 from afh/pull/DocTests
...
Fix and re-enable DocTests
2014-12-01 14:42:38 -05:00
Craig Earls
3988de14bb
Cleaned up commodities and completion code.
2014-11-30 19:47:14 -07:00
Steve Purcell
4ee5329955
Merge pull request #334 from afh/pull/svg_build_status
...
Change Travis CI build status icon fromat to SVG
2014-11-29 10:46:37 +00:00
Alexis Hildebrandt
53177d573a
Change Travis CI build status icon fromat to SVG
2014-11-29 11:42:11 +01:00
Alexis Hildebrandt
31ccb6d368
Fix and re-enable DocTests
2014-11-29 09:06:14 +01:00
Craig Earls
a6d8599688
Merge pull request #331 from rnkn/patch-1
...
Fixes xact having higher priority than region
2014-11-27 10:15:12 -07:00
Craig Earls
9e166cbd36
Merge branch 'prefix-s-trim-functions' into schedule-compiler-improvements
2014-11-27 09:43:17 -07:00