Commit Graph

6709 Commits

Author SHA1 Message Date
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
Maxime Coste
85a534fb8a Support inserting esc characters through <c-v>
As requested in #960
2016-12-14 00:34:53 +00:00
Maxime Coste
735b1e1dc5 Add support for readline like <c-k> and <c-u> in prompts 2016-12-14 00:28:46 +00:00
Maxime Coste
4d5a4fb6dd Merge git://github.com/mgor/kakoune 2016-12-14 00:22:16 +00:00
Maxime Coste
53e9496343 Remove the 'h' alias for doc, just provide 'help' 2016-12-14 00:08:23 +00:00
Maxime Coste
c8e837b914 Merge remote-tracking branch 'Phlogistique/help' 2016-12-14 00:08:04 +00:00
Maxime Coste
53267a926b Merge remote-tracking branch 'Phlogistique/doc-doc' 2016-12-14 00:06:37 +00:00
Devin Lehmacher
5328a20b69 Fix Homebrew formula 2016-12-13 16:54:04 -05:00
Devin Lehmacher
96b52e70b7 Devin Lehmacher 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-13 16:54:04 -05:00
Mikael Göransson
ca18128bef fixing workaround for debmake
debmake has a problem with os.getlogin(), (in docker). set and
export DEBEMAIL and DEBFULLNAME.

also added asciidoc to the list of dependencies (which is huge).
2016-12-13 20:28:13 +01:00
Noé Rubinstein
93620a76f0 doc.kak: add aliases for :h and :help
This would help VIM users find the documentation
2016-12-13 19:28:23 +01:00
Noé Rubinstein
be917f7b32 README, doc: mention :doc 2016-12-13 19:11:45 +01:00
Maxime Coste
e44129577a Fix one definition rule violation in ncurses_ui.hh
The memory domain of Vector<DisplayBuffer> was different depending
on if display_buffer.hh has been included or not.
2016-12-10 13:43:41 +00:00
Maxime Coste
a132985888 Fix uses of renamed make_current_error_line option
Fixes #952
2016-12-10 13:39:02 +00:00
Maxime Coste
5d9f3b7f3f Ensure the line is correctly clamped in scroll_window
Seems like the previous implementation was not always doing that
correctly, so just use an obviously correct method.

Fixes #951
2016-12-10 13:33:42 +00:00
Maxime Coste
0f486666e0 Remove underscore prefix from indent command in c-family.kak
We already define these commands as hidden, this underscore has
little value.
2016-12-09 13:51:44 +00:00
Maxime Coste
d8f00198f3 Improve C indentation support around namespace/struct closing bracket 2016-12-09 13:50:41 +00:00
Maxime Coste
ca225ad4dc Cleanup make.kak and optimize the make-next/make-prev regexes 2016-12-09 13:33:01 +00:00
Maxime Coste
5caa969947 Merge branch 'make/error-pattern' of git://github.com/pauldub/kakoune 2016-12-08 23:02:11 +00:00
Maxime Coste
ae70bcf6c9 Merge remote-tracking branch 'casimir/patch-1' 2016-12-08 23:01:32 +00:00
Paul d'Hubert
010453a2ac Update make.rc error pattern matching
- Use the classic unix file:line:(col:)? pattern for matching.
- The option `make_error_pattern` can be used to further restrict errors
to be matched (to include / exclude warnings, etc.
2016-12-08 11:33:28 +01:00
Martin Chaine
5b95e537ba don't reset line chars for python 2016-12-08 11:18:16 +01:00