Commit graph

5595 commits

Author SHA1 Message Date
Craig Earls
9e166cbd36 Merge branch 'prefix-s-trim-functions' into schedule-compiler-improvements 2014-11-27 09:43:17 -07:00
Craig Earls
54a736feab Remove s-trim functions since they stomp on s.el. 2014-11-27 09:42:23 -07:00
Paul Rankin
430ce2df42 Fixes act having higher priority than region 2014-11-27 21:23:05 +10:00
Craig Earls
f398e01c80 Handle count day of month, i.e. third Thursday is */*/3Th, every Thursday is */*/0Th 2014-11-26 15:56:49 -07:00
Craig Earls
06bdf1d18a Minor code cleanup 2014-11-26 15:47:55 -07:00
Craig Earls
2f698269f4 Handle base-date + integer * day of week. i.e. 2014/11/27+2Th for every other Thursday start 2014/11/27 2014-11-26 15:40:24 -07:00
Craig Earls
8a826d9815 Handle E and O for months and comma separate list of numbers for months and days. 2014-11-26 12:15:38 -07:00
Craig Earls
db7e4fd741 Fix minor navigation bugs. Prev and next act now properly handle directives and empty lines 2014-11-15 21:36:34 -07:00
John Wiegley
4dbc822f90 Merge pull request #330 from eliptus/feature/embedded-python
Improve Embedded Python Support
2014-11-15 17:38:37 -06:00
Craig Earls
312b7ffa72 Fix a bug the caused reconciliation to lock up in an automatic transaction was followed immediately with a virtual transaction on the same account.
This was related to the navigation changes push a while back.
2014-11-14 17:22:04 -07:00
Craig Earls
bd9fde2a40 Merge pull request #328 from listx/master
doc: ledger-mode: load lazily

Thanks.  This should work fine.
2014-11-13 06:25:12 -07:00
ELIPTUS
af571c1047 Improve Embedded Python Support
Discussion:
https://groups.google.com/d/msg/ledger-cli/kq9sKoRX9vw/fmyhvPslzokJ
2014-11-12 22:51:56 -08:00
Linus Arver
33d58a69f9 doc: ledger-mode: load lazily
If we use `(load "ledger-mode")`, we always load ledger-mode,
even if we are not editing a Ledger file; using `autoload`, we avoid
this and only load ledger-mode when we need it.
2014-11-12 21:17:22 -08:00
Craig Earls
a3f3aa304f Smash a bug that cause the status on a posting with no amount to bleed into the next line. 2014-11-11 19:54:43 -07:00
Craig Earls
e54d7392bf Add 1 to the end of region for single line directives. This will force the layout to show across the entire buffer. 2014-11-09 10:02:03 -07:00
Craig Earls
2ef1c09210 Handle block comments as blocks rather than individual lines. 2014-11-09 09:50:22 -07:00
Craig Earls
8a87fd1310 Fix navigate bug keeping prev-xact key binding from working. 2014-11-09 09:05:13 -07:00
Craig Earls
6f3dad2024 Detect the beginning of periodic transactions properly. 2014-11-07 18:56:11 -07:00
Craig Earls
af15887ecb Merge branch 'master' of https://github.com/ledger/ledger 2014-11-07 18:21:13 -07:00
Craig Earls
1bd67755fa Improve finding boundaries of elements for fontification. Also added P for price directives. 2014-11-07 18:19:57 -07:00
John Wiegley
62e1354e0b Some minor changes 2014-11-04 00:11:35 -06:00
Martin Michlmayr
085596ae0e Merge pull request #327 from myqlarson/patch-1
Update ledger3.texi
2014-10-19 10:20:31 -04:00
myqlarson
5df0788ba2 Update ledger3.texi
Improved wording
2014-10-20 02:01:18 +13:00
myqlarson
cff5b16f7c Update ledger3.texi
Fixed typos and clarified CSV import behaviour with regard to column headers (I haven't checked the code, but I noticed the programme behaves this way).
2014-10-20 01:17:16 +13:00
Martin Michlmayr
325f8cb644 Fix numbers from example
Thanks to Dominik Honnef.
2014-10-17 21:22:02 -04:00
Martin Michlmayr
5eb6297042 Typo fix
Thanks to Dominik Honnef for spotting it.
2014-10-17 21:16:15 -04:00
Stefano Zacchiroli
56976a127c make --columns default to terminal width, as returned by ioctl()
If set, the COLUMNS environment variable will take precedence over terminal
width. However, please note that COLUMNS is usually *not* exported by shells to
child processes, so in most cases COLUMNS will be undefined for ledger---hence
the motivation for this change.

Terminal width is queried using ioctl() on stdin. For the sake of portability
the querying is done only on platform where ioctl() is detected as supported at
compile-time.
2014-10-13 17:15:56 -04:00
Martin Michlmayr
6b2520cc49 BUILD_WEB_DOCS implies BUILD_DOCS
This fixes the build when -DBUILD_WEB_DOCS=1 is specified wihout
specifying -DBUILD_DOCS.  This fails because man2html/groff are
not found because the find_program command for these programs
is only run if BUILD_DOCS is enabled.
2014-10-12 18:20:54 -04:00
Martin Michlmayr
acf0618fd0 Fix texinfo syntax errors
Fix the following texinfo syntax errors:

ledger/doc/ledger3.texi:7878: @itemx must follow @item
ledger/doc/ledger3.texi:7939: @itemx must follow @item
ledger/doc/ledger3.texi:7944: @itemx must follow @item
2014-10-12 16:52:43 -04:00
Craig Earls
a66001382c Force reconcile to use scrubbed values incase you are reconciling an account with lot values. 2014-10-10 22:02:44 -07:00
Martin Michlmayr
720c03b139 Bump version number to 3.1 2014-10-05 19:02:43 -04:00
Martin Michlmayr
841a09b4a5 Update doc/NEWS for ledger 3.1 2014-10-05 17:20:10 -04:00
Martin Michlmayr
96223f9e20 Add ISO 8601 date as recognized date string
Dates specified via --begin and --end are converted to a value expression
using an ISO 8601 (yyyy-mm-dd) date, but this date was not recognized by
ledger.

Bug fix for #1072
2014-10-02 18:33:26 -04:00
Martin Michlmayr
fbcb5e9093 Fix period expression parsing for month to month without year
Bug fix for #1074, a regression introduced by the fix for bug #375
2014-10-02 17:31:26 -04:00
Craig Earls
61dd6bf663 Fix comment detection logic for fortification. 2014-09-28 20:45:13 -07:00
Craig Earls
a28c32b081 Allow any printable character in account names. 2014-09-28 19:48:55 -07:00
Craig Earls
59613845e7 Make ledger-fontify-xact-state-overrides nil by default 2014-09-22 22:27:44 -07:00
Craig Earls
2c5b8e9ce9 Merge commit 'b58a872fba7909371d47bc2eb8468e5ba82cfac0' 2014-09-22 22:18:25 -07:00
Craig Earls
d3b9938edf Add fontify.el and navigate.el to CMakeLists.txt 2014-09-22 22:18:10 -07:00
Johann Klähn
b58a872fba lisp/CMakeLists.txt: add missing files 2014-09-22 23:31:23 +02:00
Martin Michlmayr
fd1b33a0b5 Merge pull request #326 from felixrabe/patch-1
README.md: Mention current version
2014-09-21 20:30:03 -04:00
Felix Rabe
e2662e53e4 README.md: Mention current version 2014-09-22 01:49:12 +02:00
Craig Earls
3144ca87f4 Add ability to edit report command temporarily 2014-09-18 19:56:34 -07:00
Craig Earls
61c3c19cf7 Merge pull request #325 from sykora/master
Add face definition for `ledger-font-payee-pending-face'.

Ooops.  Missed that.  thank you!
2014-09-18 07:27:03 -07:00
Craig Earls
2cb5c09033 Improve ledger occur region search 2014-09-17 21:43:14 -07:00
Craig Earls
c7cd14500e Merge commit '7c18ba8d7c704595268616b740833c88e93b51f3' 2014-09-17 21:14:39 -07:00
Craig Earls
a7e85b65b0 Fix ledger-navigate-beginning-of-xact.
It failed it it was called with point on the first line of an xact
2014-09-17 21:14:01 -07:00
P.C. Shyamshankar
bcf96ae6a3 Add face definition for `ledger-font-payee-pending-face'.
Ledger fontifies payees on pending transactions using the aptly named
`ledger-font-payee-pending-face' face, despite that face not actually
being defined. This patch fixes that.
2014-09-17 19:48:34 -04:00
Steve Purcell
7c18ba8d7c Merge pull request #324 from cgar/spelling
minor spelling fixes
2014-09-15 19:13:45 +01:00
Carlos E. Garcia
5d6655c84f minor spelling fixes 2014-09-15 14:04:19 -04:00