Commit graph

5621 commits

Author SHA1 Message Date
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
Craig Earls
24bdaf5c4e Merge pull request #322 from kain88-de/remove-outdated-file
That is some old cruft.  Thanks.
2014-09-14 13:08:29 -07:00
Max Linke
ce06849b37 remove outdated install instructions 2014-09-14 21:52:17 +02:00
Craig Earls
514cee9761 sort required a next xact function that ignores directives 2014-09-13 18:24:54 -07:00
Craig Earls
7846e7c17a All navigation functions moved to ledger-navigate.
Reduce several overlapping functions.
2014-09-13 18:20:03 -07:00
Craig Earls
84dc532b06 everything appears to work with no empty lines between xacts. 2014-09-13 17:11:40 -07:00
Craig Earls
20dd0b706a rewrote ledger-end-record in ledger-sort to get rid of next-paragraph 2014-09-13 12:38:40 -07:00
John Wiegley
8fc83e8148 Merge pull request #321 from kljohann/cmake
Clean up CMake files
2014-09-11 12:58:51 +01:00
Craig Earls
03bace82bd Catch value expression in amount alignment code 2014-09-10 21:38:21 -07:00
Craig Earls
ec457f0ad7 Fix ledger-post-regex so that it would recognize integer amounts 2014-09-10 20:47:23 -07:00
Craig Earls
8be2c706fb Merge commit '6323fe52b7621c21f5e2af7fd9bce344a37a4ea1' 2014-09-10 07:23:05 -07:00
Craig Earls
bfc925f52f Minor refactoring and code cleanup 2014-09-10 07:16:32 -07:00
Craig Earls
0f9212071a Added some missing faces for xact amounts. 2014-09-10 07:11:09 -07:00
Johann Klähn
d9d4876755 reduce number of warning messages when building docs
Warnings were emitted for every info file (twice) instead of once.
2014-09-10 00:40:36 +02:00
Johann Klähn
2860b68bc2 clean up installation of doc files 2014-09-10 00:40:36 +02:00
Johann Klähn
9f1d7015cf install man page even if BUILD_DOCS isn't set
The man page is useful and does not need additional software to be installed.
2014-09-10 00:40:36 +02:00
Johann Klähn
5931a93777 avoid policy warning with recent CMake versions
See `cmake --help-policy CMP0026` with CMake ≥ 3.0.
2014-09-10 00:40:36 +02:00
Johann Klähn
6323fe52b7 fix regression test
see pull request #320 / commit 4c86042665
2014-09-10 00:03:40 +02:00
Craig Earls
64c541a3d8 Merge branch 'new-fontification-scheme' 2014-09-08 20:42:01 -07:00
Craig Earls
ad87ab16e4 New fortification is working.
Code pruned.
2014-09-08 20:36:11 -07:00
Craig Earls
57e2ec55eb Seems to be working. I wasn't ensuring I caught all the xacts in a region specified by hit lock.
Now I need to prune code
2014-09-08 20:31:45 -07:00
Steve Purcell
db09e0d2e6 Merge pull request #320 from morninj/master
"mispelled" was misspelled
2014-09-08 17:51:45 +01:00
Joseph Mornin
4c86042665 "mispelled" was misspelled 2014-09-08 09:41:21 -07:00
Craig Earls
77e77f39dc Solved the fight between jit-lock. But for some reason it isn't calling it for all regions in the buffer. 2014-09-05 21:59:23 -07:00
Craig Earls
991d162fb0 jit-lock is now calling ledger-fontify-buffer-part, but font-lock-fontify-region is still being called and fighting with it. 2014-09-05 21:45:36 -07:00