Commit Graph

3804 Commits

Author SHA1 Message Date
Maxime Coste
6f65f4b3a5 Fix face completion, avoid a spurious temporary 2016-02-12 19:14:06 +00:00
Maxime Coste
0fc0702983 indentwidth can actually take 0 as a parameter 2016-02-12 13:53:54 +00:00
Maxime Coste
dfe3098b18 Fix buffer deletion logic
'eval -buffer * db' was failing in certain cases
2016-02-11 23:07:42 +00:00
Maxime Coste
a7a2e51d52 Merge remote-tracking branch 'jkonecny/master-fix-spec' 2016-02-11 22:10:12 +00:00
Maxime Coste
b365ee3bc3 Merge remote-tracking branch 'jjthrash/osx-asciidoc-fixes' 2016-02-11 22:09:52 +00:00
Maxime Coste
986c91a835 Support validating some options values before setting them
Fixes #583
2016-02-11 22:07:18 +00:00
Jimmy Thrasher
fd15158cf3 Add dependency on asciidoc to homebrew formula
Homebrew apparently only makes depended-on projects available
in the PATH.
2016-02-11 14:06:55 -05:00
Jimmy Thrasher
3485de717e Remove A2X variable from Makefile since it doesn't fix the OSX homebrew problem
Per suggestion by @lenormf
2016-02-11 13:26:11 -05:00
Jimmy Thrasher
311d7852a6 Convert GNU sed extension into more general expression to work with BSD/OSX 2016-02-11 08:50:33 -05:00
Jimmy Thrasher
4c355488aa Turn off xmllint for a2x.py
The docbook DTD is not locally available in OSX, and the a2x.py
command calls xmllint with `--nonet` so it can't fetch the DTD.
Easier to just turn off linting.
2016-02-11 08:50:06 -05:00
Maxime Coste
9cdfa4a81c Ooops, you never saw that 2016-02-11 09:46:59 +00:00
Jiri Konecny
b4406a417c Add man to spec file 2016-02-11 09:43:52 +01:00
Maxime Coste
050484ebe0 Slight cleanup in modeline.kak 2016-02-10 21:26:56 +00:00
Maxime Coste
8b7025b8ea Move modeline.kak into rc/extra 2016-02-10 21:05:04 +00:00
Maxime Coste
ff76a0204b Merge remote-tracking branch 'lenormf/rc/modeline.kak' 2016-02-10 21:04:23 +00:00
Maxime Coste
1937b7745a Rewrap and tweak manpages 2016-02-10 21:03:49 +00:00
Maxime Coste
8701a53252 Fix use of dead temporary strings in completions 2016-02-10 13:33:49 +00:00
Maxime Coste
8d37a716fb Use a custom SSO aware string backend 2016-02-10 09:44:42 +00:00
Maxime Coste
87769c9b03 Migrate most completion to ranked match 2016-02-09 22:50:10 +00:00
Maxime Coste
c0e4eca982 Merge remote-tracking branch 'lenormf/rc/latex.kak' 2016-02-09 22:39:16 +00:00
Maxime Coste
7679cdf0d9 Merge remote-tracking branch 'lenormf/manpage' 2016-02-09 22:39:05 +00:00
Maxime Coste
c8dedf458d Use the ranked word completion logic for buffer name completion 2016-02-09 20:04:23 +00:00
Frank LENORMAND
1a9022ea92 Add generated man pages to the .gitignore file 2016-02-09 11:54:04 +02:00
Frank LENORMAND
89cfc4693d Add a LaTeX support script 2016-02-09 11:52:18 +02:00
Frank LENORMAND
507ed69dda Get rid of the modeline option to let users set hooks manually 2016-02-08 11:30:37 +02:00
O. Perret
3d24badc1a Update rust.kak to post-1.0 rust 2016-02-07 16:55:51 +01:00
Maxime Coste
3030775414 Cleanup doc manpages generation 2016-02-06 00:01:42 +00:00
Maxime Coste
8e3f403e13 doc.kak should be in rc/core, not rc/base 2016-02-05 13:42:02 +00:00
Maxime Coste
51c9a1563a Merge remote-tracking branch 'lenormf/manpage' 2016-02-05 09:39:40 +00:00
Maxime Coste
263ef0b149 Get rid of SharedString 2016-02-05 09:38:33 +00:00
Maxime Coste
94cbd5a837 More string usage cleanup 2016-02-05 09:13:07 +00:00
Maxime Coste
ff6eacffa3 dont intern SharedStrings but StringDataPtr 2016-02-05 00:20:45 +00:00
Maxime Coste
a8eddd03f0 String usage cleanups 2016-02-04 23:54:22 +00:00
Frank LENORMAND
3a8b856a9e Document the asciidoc dependency 2016-02-04 16:46:23 +02:00
Frank LENORMAND
8d0988d541 Prevent unconditional generation of the man pages, fix the executable name for a2x on Mac OS X 2016-02-04 15:10:04 +02:00
Frank LENORMAND
4280831e7a Prevent a2x from changing the generated man page name to 'kakoune' 2016-02-04 14:54:53 +02:00
Frank LENORMAND
eb62327a4c Rename the man page to kak 2016-02-04 12:58:59 +02:00
Frank LENORMAND
9d6d2b767f Properly install the man page when using a custom prefix 2016-02-04 11:58:18 +02:00
Frank LENORMAND
80f7a350e4 Fix the installation of documentation pages 2016-02-04 11:46:12 +02:00
Maxime Coste
eb99c0f39e Merge remote-tracking branch 'occivink/master' 2016-02-04 09:30:25 +00:00
Maxime Coste
d92c241fe7 Make doc command work without requiring installation 2016-02-03 23:46:01 +00:00
O. Perret
92ddbac1e8 Adapt 'make install' to rc/ reorganization 2016-02-03 23:31:35 +01:00
Maxime Coste
b59714bf2a Merge remote-tracking branch 'lenormf/manpage' 2016-02-03 22:16:40 +00:00
Frank LENORMAND
985b7a188a Generate the documentation pages in the troff format
This commit introduces the `doc` target in the Makefile, which
generates man pages from the `asciidoc`-formatted documentation in the
`doc/manpages` directory.

Before being installed into the `$(sharedir)/doc` directory, the
generated raw man pages have to be striped of a few sections without
which `a2x` won't convert the `asciidoc` data: the shady block of shell
script in the `doc` target does just that, along with compressing the
resulting man page.

New dependency hereby introduced: `asciidoc`.
2016-02-03 21:09:41 +02:00
Frank LENORMAND
79abe58599 Fix the pattern detection regex, take compression into account when suggesting doc pages 2016-02-03 21:09:17 +02:00
Frank LENORMAND
77beeaf9b9 Rewrote the documentation pages in asciidoc format 2016-02-03 19:15:35 +02:00
Frank LENORMAND
6951f3f2d9 Wrap long lines 2016-02-03 17:04:20 +02:00
Frank LENORMAND
b6e930a57d Migrate the raw troff kakoune man page to the asciidoc format 2016-02-03 14:51:32 +02:00
Maxime Coste
dc3c7d593c Do not use a hash to determine if a window must be redrawn
Collision happens
Fixes #569
2016-02-03 09:51:56 +00:00
Frank LENORMAND
caa87608d4 Document the t and f bindings 2016-02-03 11:39:58 +02:00