Commit Graph

6798 Commits

Author SHA1 Message Date
Harm Aarts
f9c860d235 Add Handlebars syntax highlighting.
This is based on the HAML syntax highlighting. Of note is the loading of
the html highlighter since Handlebars is embedded in html.
2016-12-21 21:31:05 +01:00
Maxime Coste
62df6dbb46 Display a message when entering insert mode while readonly
Fixes #1050
2016-12-21 06:39:58 +00:00
Maxime Coste
3a6167ae62 Merge branch 'master' of git://github.com/akkartik/kakoune 2016-12-20 20:15:54 +00:00
Maxime Coste
0daf7af493 Fix getting path confstr, the returned size includes the zero terminator
Closes #1047
2016-12-20 20:14:35 +00:00
Kartik K. Agaram
0a21426d58 Remain silent on exit without error. 2016-12-20 10:11:13 -08:00
Maxime Coste
c2305e03b3 Small formatting tweak 2016-12-20 12:57:48 +00:00
Maxime Coste
fdb2d83ea1 Ensure we have an EOL after error messages 2016-12-20 12:49:05 +00:00
Maxime Coste
26e1caef7b Merge remote-tracking branch 'leira/i#995' 2016-12-20 10:40:45 +00:00
Maxime Coste
b7a0aa7546 Ensure we return 0 on exit from graceful disconnection
Fixes #1042
2016-12-20 10:34:48 +00:00
Leira Hua
f7b05757ed Build docs on mac generates a lot .1-r files like doc/manpages/commands.1-r. Ignore for now 2016-12-20 02:33:45 -08:00
Leira Hua
6cbc9e0a34 Fixes #995 Documentation rendering problem
BSD sed doesn't accept ascii number with '\x', used printf to generate
\x8 as @lenormf suggested.
2016-12-20 02:31:55 -08:00
Maxime Coste
4b696836d1 Fix hardcoded uses of "/tmp"
Closes #1032
2016-12-20 04:04:47 +00:00
Maxime Coste
5e2c47a7fd Merge branch 'akkartik-doc-1' of git://github.com/akkartik/kakoune 2016-12-20 03:57:23 +00:00
Maxime Coste
de0888b131 Merge remote-tracking branch 'leira/clang_fix' 2016-12-20 03:55:44 +00:00
Maxime Coste
81a4207e06 Merge remote-tracking branch 'kballard/readme_selections_escaped' 2016-12-20 03:54:36 +00:00
Kartik Agaram
3c265cd449 clarify documentation on creating documentation
On Mac OS X El Capitan at least :doc needs an extra explicit build step to be useful.
2016-12-19 19:30:39 -08:00
Kevin Ballard
feb58ab9e2 Update description of kak_selections 2016-12-19 17:41:16 -08:00
Leira Hua
fc3e4e9ccc Leira Hua Copyright Waiver
I dedicate any and all copyright interest in this software to the
public domain.  I make this dedication for the benefit of the public at
large and to the detriment of my heirs and successors.  I intend this
dedication to be an overt act of relinquishment in perpetuity of all
present and future rights to this software under copyright law.
2016-12-18 23:28:40 -08:00
Leira Hua
e10f1e53fc fixed clang-complete on macOS, paste command need - to read from stdin 2016-12-18 23:18:15 -08:00
Matt Schick
0a2428c448 Fixed a typo in the documentation - "test" -> "text" 2016-12-17 08:43:45 -08:00
Maxime Coste
a0c787e966 Fix more uses of echo in the test run script 2016-12-17 10:43:02 +00:00
Maxime Coste
f69495ea71 Use printf instead of echo for displaying modified lines
Avoid eventual interpretation of escapes in the line.
2016-12-17 10:36:00 +00:00
Maxime Coste
f200079069 Respect TMPDIR in test run script 2016-12-17 10:26:37 +00:00
Maxime Coste
cf10f3f0a0 Fix join, we dont have a StringView from char array constructor 2016-12-17 06:06:07 +00:00
Maxime Coste
2bdd361948 Escape the backslash chars as well when joining strings
Fixes #1014
2016-12-17 05:48:42 +00:00
Maxime Coste
dc84cdd538 Add more diagnostic information when failing to bind/listen to socket 2016-12-17 05:46:04 +00:00
Maxime Coste
831d088ef4 Merge branch 'homebrew-formula' of git://github.com/ericbn/kakoune 2016-12-17 05:26:35 +00:00
Maxime Coste
28ddb3cb1f Ignore eventual / suffix in TMPDIR 2016-12-17 05:25:43 +00:00
Eric Nielsen
f5b829e82a Add ncurses to Homebrew formula
as a build and recommended dependency. Generates a `--without-ncurses`
option to disable it. See
https://github.com/Homebrew/brew/blob/master/docs/Formula-Cookbook.md#specifying-other-formulae-as-dependencies
2016-12-16 19:28:12 -05:00
Maxime Coste
d8620b9e79 Merge remote-tracking branch 'leemachin/add-php-script' 2016-12-16 19:56:15 +00:00
Maxime Coste
119f73d23f Merge remote-tracking branch 'jakwings/doc' 2016-12-16 19:54:43 +00:00
Maxime Coste
addc3f7884 Merge branch 'red-typos' of git://github.com/schickm/kakoune 2016-12-16 19:53:03 +00:00
Maxime Coste
7baaa3947d Merge remote-tracking branch 'somasis/master' 2016-12-16 19:51:37 +00:00
Maxime Coste
01417471b9 Change the test session name to avoid hitting the unix socket path length limit
On travis-ci, it seems the combination of a set TMPDIR and long sessions names
makes the test framework hit the path lenght limit.
2016-12-16 19:49:39 +00:00
Lee Machin
25cea1c62c
Lee Machin Copyright Waiver
I dedicate any and all copyright interest in this software to the
  public domain.  I make this dedication for the benefit of the public at
  large and to the detriment of my heirs and successors.  I intend this
  dedication to be an overt act of relinquishment in perpetuity of all
  present and future rights to this software under copyright law.
2016-12-16 19:26:42 +02:00
Lee Machin
94d72c4bad Add basic PHP syntax highlighting
based on the highlighting for JS
2016-12-16 19:20:26 +02:00
Kylie McClain
516c9591b9 base/markdown: Correct italic/bold detection regex
As specified at https://daringfireball.net/projects/markdown/syntax#em
italics are made with either single asterisks/underscores, and bold is
double asterisks/underscores. Before this, single asterisks were
understood as bold, and only underscores were understood as italics;
both of which behaviors are incorrect.
2016-12-16 00:21:33 -05:00
J.W
48cae7d11e
Jak Wings Copyright Waiver
I dedicate any and all copyright interest in this software to the
public domain.  I make this dedication for the benefit of the public at
large and to the detriment of my heirs and successors.  I intend this
dedication to be an overt act of relinquishment in perpetuity of all
present and future rights to this software under copyright law.
2016-12-16 12:29:48 +08:00
J.W
e97a7f9af3 Update documentation about builtin faces 2016-12-16 12:29:43 +08:00
Matt Schick
9fb6650140 Correct typos 'red' -> 'read' 2016-12-15 17:36:11 -08:00
Maxime Coste
ad511e5577 Merge branch 'patch-1' of git://github.com/lingceng/kakoune 2016-12-16 00:21:40 +00:00
Maxime Coste
bc67ec0779 Merge branch 'add-face-gitdiffflags' of git://github.com/schickm/kakoune 2016-12-16 00:16:41 +00:00
Maxime Coste
4dd17e26b4 Merge branch 'master' of git://github.com/ewollesen/kakoune 2016-12-16 00:15:18 +00:00
Maxime Coste
831887cd3a Improve general security of the unix sockets
* Use the stricky bit on the shared kakoune folder
* Do not allow read/write access to user folder
* Respect $TMPDIR when set

Fixes #1007
2016-12-15 23:47:34 +00:00
Maxime Coste
9a879262a2 Use a POSIX guaranteed way of getting the shell path 2016-12-15 23:04:53 +00:00
Maxime Coste
414808ccf6 Formatting tweak in the README 2016-12-15 22:12:28 +00:00
Maxime Coste
b7a8aad37f Specify more clearly that we need an up to date C++ stdlib as well 2016-12-15 22:11:50 +00:00
Eric Wollesen
e8b3f28ab7 Updates command names in README
A few command names were out of date, this simply updates them.
2016-12-15 12:04:18 -07:00
Matt Schick
450b5949c6 Matt Schick Copyright Waiver
I dedicate any and all copyright interest in this software to the
public domain.  I make this dedication for the benefit of the public at
large and to the detriment of my heirs and successors.  I intend this
dedication to be an overt act of relinquishment in perpetuity of all
present and future rights to this software under copyright law.
2016-12-15 06:17:59 -08:00
Matt Schick
6deaed01de Add face 'GitDiffFlags' for git diff flag_lines
No defaults have been altered, just added the ability to do user override.  The existing facespec had a background of 'black', which ends up looking a little harsh for people who do black text on a white background.
2016-12-15 06:09:27 -08:00