Commit Graph

5530 Commits

Author SHA1 Message Date
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
Maxime Coste
37fd41c688 Merge remote-tracking branch 'kballard/readme_brew_upgrade' 2016-12-15 13:50:58 +00:00
Maxime Coste
4fd12164dd Merge remote-tracking branch 'Delapouite/prompt' 2016-12-15 13:50:12 +00:00
Delapouite
99f38c99ec Fix :prompt command description 2016-12-15 14:42:46 +01:00
Maxime Coste
71cc9f1011 Fix reentrancy in InputeModes::Normal::on_key 2016-12-15 09:46:10 +00:00
Maxime Coste
9ad1c19f69 Validate user text object desc more thorougly
Fixes #992
Fixes #993
Fixes #994
2016-12-15 09:29:38 +00:00
Kevin Ballard
d06df635c6 Update README for better Homebrew upgrade instructions 2016-12-14 16:41:04 -08:00
Maxime Coste
430ff37bd6 Fix regex.hh compilation
Repeat after me: I will not blindly push commits that I havent
compiled.

Fixes #990
2016-12-14 23:50:29 +00:00
Maxime Coste
fd82d3e258 Make Regex a class rather than a struct to avoid mismatched tags warnings 2016-12-14 20:59:39 +00:00
Maxime Coste
f0db3607ed Merge git://github.com/ewollesen/kakoune 2016-12-14 20:52:26 +00:00
Maxime Coste
2969c376a1 Document the <a-.> normal command
Fixes #986
2016-12-14 20:45:15 +00:00
Maxime Coste
377046e315 Handle correctly cases where codepoint_width returns -1
Fixes #972
2016-12-14 13:53:30 +00:00
Maxime Coste
85cd27138d Remove mimetype option for good
file.kak now is responsible for mapping whatever mimetype file uses
to the filetype that Kakoune uses.

Fixes #975
Fixes #979
2016-12-14 13:40:00 +00:00
Maxime Coste
1bdf26fd6e Merge remote-tracking branch 'casimir/remove-mimetype' 2016-12-14 13:30:59 +00:00
Maxime Coste
dfb030da6e Make container wrapper callback functions mutable
It seems at least std::mem_fn callable wrapper type call operator
is not guaranteed to be const, so we need to be able to call on
a non const object. This should do for now.

Fixes #978
2016-12-14 13:25:55 +00:00
lingceng
cfe30bf5c9 No need to do brew tap 2016-12-14 21:04:35 +08:00
Eric Wollesen
0ecbc004a0 Fix for contrib/make_deb.bash on Ubuntu 16.04
The Makefile had tabs in a few places, which tripped up sed. This
version should still work in debian, while also working in Xenial.
2016-12-13 20:37:42 -07:00
Maxime Coste
8e351e8285 Remove use of non-standard -l option in doc.kak
This will break BSD unfortunately, we should try to find a
portable fix for that.

Fixes #967
2016-12-14 01:02:53 +00:00
Maxime Coste
066d6d1120 Do not use find -printf in doc completion implementation 2016-12-14 00:59:19 +00:00