Commit graph

5667 commits

Author SHA1 Message Date
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
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