Commit Graph

9050 Commits

Author SHA1 Message Date
Maxime Coste
7c5831780b Fix typo
Thanks to occivink
2019-03-05 21:07:49 +11:00
Maxime Coste
21fa4dcb13 Re-introduce -MP in the C++ compilation rule
It turns out it is important to avoid having to clean when a header
is deleted.
2019-03-05 20:56:44 +11:00
Maxime Coste
8a0e89f326 Merge remote-tracking branch 'laelath/compilation-warnings' 2019-03-05 20:54:14 +11:00
Maxime Coste
e65a7f1310 Merge branch 'patch-1' of https://github.com/bugabinga/kakoune 2019-03-05 20:51:04 +11:00
Maxime Coste
ffb1813759 Merge remote-tracking branch 'krobelus/write-all-note-modified' 2019-03-05 20:50:15 +11:00
Maxime Coste
2fa78d720f Merge remote-tracking branch 'eraserhd/tmux-mac-color-fix' 2019-03-05 20:49:19 +11:00
Maxime Coste
4843149b6a Make error description available as "%val{error}" during catch blocks
Fixes #2761
2019-03-05 20:46:23 +11:00
Maxime Coste
f9d421130f Fix use of invalidated iterators in highlight_range
Fixes #2755
2019-03-05 20:31:40 +11:00
Jason Felice
f140b01b5b Notes on true color and Mac OS 2019-03-02 22:53:15 -05:00
Justin Frank
6a3c3a3f82 -MP compile option isn't needed since header files aren't globbed 2019-02-27 22:46:04 -08:00
Justin Frank
8178400f8d Fixed all reorder warnings 2019-02-27 22:45:31 -08:00
Justin Frank
29342836a6 Fixed Selection being defined as a struct and class 2019-02-27 22:45:31 -08:00
Johannes Altmanninger
b849099472 Document that write-all only writes modified buffers 2019-02-25 10:59:45 +01:00
Johannes Altmanninger
1dad4741fa Johannes Altmanninger 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.
2019-02-24 23:31:28 +01:00
Oliver Jan Krylow
b36ece46c4
rename auto_complete -> autocomplete in docs 2019-02-24 10:45:38 +00:00
Maxime Coste
699d066ebd Merge remote-tracking branch 'dmerejkowsky/tests-summary' 2019-02-18 22:21:59 +11:00
Maxime Coste
6bdefc829d Merge remote-tracking branch 'alexherbo2/rc-markdown-toml' 2019-02-18 22:21:06 +11:00
Alex Leferry 2
35ace812df Markdown: Highlight TOML code blocks 2019-02-18 07:42:49 +01:00
Jason Felice
7cf6eddc30 Add object mode expansions 2019-02-17 20:18:19 -05:00
Maxime Coste
e169a1893b Merge remote-tracking branch 'eraserhd/object-command-submode' 2019-02-17 11:22:02 +11:00
Maxime Coste
206929b403 Merge remote-tracking branch 'Screwtapello/document-edit-flags' 2019-02-17 11:21:50 +11:00
Maxime Coste
bb2aa86388 Merge remote-tracking branch 'stevenyvr987/update-test/README.asciidoc' 2019-02-17 11:21:41 +11:00
Maxime Coste
a61b6d7649 Add a test case for WinDisplay segfault
Fixes #2737
2019-02-17 11:21:26 +11:00
Maxime Coste
1ad3b87302 Collapse jumps based on current index change
The previous method, while likely more correct, could restore jump
lists containing references to already removed buffers.
2019-02-17 11:21:26 +11:00
Maxime Coste
924f30840b Fix uses of std::remove_if
std::remove_if is not std::partition, it makes no guarantees on
the state of the objects past the new end (they usually are in a
moved-from state).
2019-02-17 11:21:26 +11:00
Maxime Coste
8135a44c6c Run WinClose hook before putting the window into trash 2019-02-17 11:21:26 +11:00
Dimitri Merejkowsky
0b9164e7bc Fix wording used in test runner 2019-02-17 11:21:26 +11:00
Tim Allen
d862556066 doc: Add more details about debug buffers.
From https://github.com/mawww/kakoune/issues/2739#issuecomment-464400235
2019-02-17 11:09:58 +11:00
Steven Chan
fe0c357b66 Include more details in test/README.asciidoc
Define the role and content of each test file.
Further changes to test/README.asciidoc
2019-02-15 11:45:06 -08:00
Tim Allen
abbf843763 doc: Document the switches of :edit. 2019-02-15 20:07:56 +11:00
Jason Felice
000aa2282c Add object command 2019-02-14 09:32:04 -05:00
Steven Chan
56bc1750cc Include more details in test/README.asciidoc
Define the role and content of each test file.
2019-02-12 13:00:35 -08:00
Dimitri Merejkowsky
e245118309 Fix wording used in test runner 2019-02-12 11:19:35 +01:00
Dimitri Merejkowsky
fde78b5047 Dimitri Merejkowsky 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.
2019-02-12 11:19:34 +01:00
Maxime Coste
89cd68d8af Check the return value of the rename call 2019-02-12 21:05:47 +11:00
Maxime Coste
4dae2c875b Introduce a writemethod option to either overwrite or replace files
This permit to choose if files should be written by overwriting their
content (the default), or by writing to a separate temporary file
and rename it to the current file.

As discussed in #2036
2019-02-12 21:01:19 +11:00
Maxime Coste
e8f26cbae7 Refactor write_buffer_to_file to use a flags param
That is clearer than two boolean parameters.
2019-02-12 20:18:34 +11:00
Maxime Coste
6da4761065 Merge remote-tracking branch 'eraserhd/lisp-indentwidth' 2019-02-11 21:58:06 +11:00
Maxime Coste
ef02bed1d2 Merge remote-tracking branch 'stevenyvr987/update-gitignore' 2019-02-11 21:53:38 +11:00
Maxime Coste
4636440622 Merge remote-tracking branch 'laelath/c-family-else-indent' 2019-02-11 21:53:05 +11:00
Maxime Coste
95acee8a90 Merge remote-tracking branch 'fsub/ctags-cleanup' 2019-02-11 21:50:58 +11:00
Maxime Coste
94796509a0 Fix bug in 'itersel' handling that could result in unsorted selections 2019-02-11 21:48:09 +11:00
Justin Frank
58c15b0240 Indent and deindent c-family single line else properly 2019-02-08 15:16:29 -08:00
Steven Chan
090a17433f git should not ignore doc/kak.1
In the past, the 'make man' used a2x to generate doc/kak.1
and therefore, git ignored it.
But a fix for #2504 changed the kak.1 nroff file to a source file.
2019-02-08 14:21:42 -08:00
Alex Leferry 2
8aba642535 kakrc: Add force commands 2019-02-06 20:26:32 +01:00
fsub
3f29d5ebbf ctags: eliminate redundant variable 2019-02-04 20:14:19 +01:00
Jason Felice
58ab144865 Use indentwidth for lisp, scheme, and Clojure 2019-02-04 12:23:57 -05:00
Maxime Coste
5c0175d90a Remove peephole regex optimization pass
The current implementation is wrong as it crosses basic blocks
boundaries. Doing basic block decomposition of regex is probably
a tad too complex for this single optimization.

Fixes #2711
2019-02-04 22:10:19 +11:00
Maxime Coste
d9d2140ea2 Fix regex not always selecting the leftmost longest match
(Actually the rightmost longest match when searching backwards)

Fixes #2710
2019-02-04 17:33:29 +11:00
Maxime Coste
4cb402ac1a Remove references to SelectionList from selectors 2019-02-04 12:52:55 +11:00