Maxime Coste
0749ec9b9d
Merge pull request #3236 from lenormf/fix-build-diff
...
src: Fix the build on Mac
2019-12-02 10:06:32 +11:00
Frank LENORMAND
63092d12c0
src: Fix the build on Mac
...
When compiled on Mac with `clang`, the following error occurs at
compile-time:
```
./diff.hh:56:28: error: no member named 'min' in namespace 'std'
const int max_D = std::min((M + N + 1) / 2 + 1, cost_limit);
~~~~~^
```
2019-12-01 21:55:55 +01:00
Maxime Coste
2623366514
Pass inserted text ranges in InsertCompletionHide hook parameter
...
Fixes #2898
2019-12-01 21:05:02 +11:00
Maxime Coste
4fdbf21ff8
Refactor diff to make allocating a diff vector optional
...
The diff interface now goes through a for_each_diff function that
uses a callback for each found diff.
2019-11-30 11:29:36 +11:00
Maxime Coste
b765fb4971
Merge remote-tracking branch 'lenormf/fix-mmap-size-check'
2019-11-28 20:35:52 +11:00
Maxime Coste
805675b731
Merge remote-tracking branch 'jcpetruzza/syntax-terraform'
2019-11-28 20:35:16 +11:00
Maxime Coste
b19dae13fc
Merge remote-tracking branch 'lenormf/fix-clang-autocomplete'
2019-11-28 20:34:17 +11:00
Maxime Coste
085e7dd09e
Merge remote-tracking branch 'lenormf/patch-2'
2019-11-28 20:32:16 +11:00
Maxime Coste
2904d13420
Add a {\} marker to disable markup processing
2019-11-28 20:23:52 +11:00
Frank LENORMAND
7a384edeb0
src: Check the filesize before calling mmap()
2019-11-26 13:26:31 +01:00
Maxime Coste
fc9e0e8c6a
Fix small info text not being displayed
2019-11-26 22:08:05 +11:00
Maxime Coste
a933cae7b9
Merge remote-tracking branch 'lenormf/complete-expansion-reg'
2019-11-26 21:35:05 +11:00
Maxime Coste
9716c7c82d
Merge remote-tracking branch 'lenormf/complete-expansion-file'
2019-11-26 21:34:22 +11:00
Maxime Coste
2f8100b362
Merge remote-tracking branch 'lenormf/fix-3226'
2019-11-26 21:33:49 +11:00
Maxime Coste
d9af1e8f34
Tweak palenight colorcheme MenuInfo face
2019-11-26 21:33:27 +11:00
Maxime Coste
8691ee8d4a
Modularize r file support
2019-11-26 21:32:52 +11:00
Maxime Coste
2209b5d415
Improve perl regex and qq string highlighting
2019-11-26 21:32:52 +11:00
Frank LENORMAND
7512f5eae6
src: Use begin()
to get iterators
...
When compiling the code with `-Wp,-D_GLIBCXX_ASSERTIONS`, the process
gets aborted, likely because iterators to standard containers are
not obtained in a safe way.
Fixes #3226 .
2019-11-25 11:34:39 +01:00
Maxime Coste
7b3ab23780
Add a regression test for #3219 , which does not seem to fail
2019-11-24 18:11:29 +11:00
Maxime Coste
8528dcd621
Fix test/run ui_out diff display
2019-11-24 18:11:29 +11:00
Maxime Coste
6f087e899b
Complete rename-buffer with filenames
...
Fixes #3215
2019-11-24 18:11:29 +11:00
Maxime Coste
6fd486c65e
Replace tab characters with spaces in info/echo
...
This is tricky to fix better than that as tabs make text length
dependent on where it will get displayed and what preceedes it.
Also fix an issue with empty info title
Fixes #2237
2019-11-24 18:11:29 +11:00
Maxime Coste
34f48cc851
Rework ncurses info display, crop content when overlflowing
...
Optmize the code to avoid allocating like crazy, unify various
info style rendering, crop content and display markers that there
is more text remaining.
Fixes #2257
2019-11-24 18:11:29 +11:00
Maxime Coste
19e1be8e0d
Make wrap_lines a lazy range view
...
Avoid the need to allocate a vector by using the ranges
framework.
2019-11-23 21:50:58 +11:00
Frank LENORMAND
ae85753c41
src: Complete filenames in %file{}
expansions
2019-11-23 08:59:44 +01:00
Frank LENORMAND
2cdf86d674
src: Complete register names in %reg{}
expansions
...
Builtin registers have name aliases that can be completed upon when
using a `%reg{}` expansion from the prompt.
2019-11-23 08:47:14 +01:00
Maxime Coste
936bd923ea
Fix typos
2019-11-22 21:51:32 +11:00
Maxime Coste
cb1b03c0db
Add support for markup in info boxes
...
Fixes #2552
2019-11-22 21:50:51 +11:00
Maxime Coste
22d9ffa63a
Fix crash when deleting buffers in a BufClose hook
2019-11-22 20:29:55 +11:00
Frank LENORMAND
657eeb02d2
rc clang: Factorize multiple calls to gsub
2019-11-22 09:43:39 +01:00
Frank LENORMAND
3161a6255c
rc clang: Handle nested tags in completion
...
Some completion candidates have e.g. `{#…#}` tags in their
name/description. They can be nested, which the cleanup regex doesn't
take into account.
2019-11-22 09:30:30 +01:00
Maxime Coste
82e5346904
Add a -atomic switch to write and change clang.kak to take advantage
2019-11-21 23:38:32 +11:00
Daniel Gorin
29b4593de7
Daniel Gorin 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-11-18 20:48:03 +00:00
Daniel Gorin
2666d69e6d
Add filetype for terraform files with syntax hl
2019-11-18 20:41:42 +00:00
Frank LENORMAND
15f6485327
src: Give a reason why :rename-buffer
failed
2019-11-18 16:46:53 +00:00
Maxime Coste
4d7ea276c4
Use fullwidth latin character in test to try to fix travis
2019-11-18 23:00:19 +11:00
Maxime Coste
c031a276d5
Fix recently introduced ncurses redraw artifact
2019-11-18 21:17:22 +11:00
Maxime Coste
ba621dedd6
Ignore SIGTTOU
...
We can get this signal while suspending if a parent process (say
git-commit) has already put us in the background. We still need
to reset the termios state to exit raw input mode and make the shell
usable.
Fixes #3069
2019-11-18 21:00:59 +11:00
Maxime Coste
0dd6ea83d8
Merge remote-tracking branch 'evanrelf/haskell'
2019-11-18 20:03:14 +11:00
Maxime Coste
2804479b27
Merge remote-tracking branch 'JJK96/comment'
2019-11-18 20:01:37 +11:00
Evan Relf
4d30cab96b
Evan Relf 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-11-18 00:18:02 -08:00
Evan Relf
199b4e2f66
Highlight Haskell deriving strategies keywords
2019-11-18 00:15:33 -08:00
Evan Relf
237acbcfeb
Improve Haskell quasiquote highlighting
...
Now only the inside of the quasiquote gets the string coloring applied.
2019-11-18 00:14:41 -08:00
Evan Relf
f40064b8d6
Add forall unicode character as Haskell keyword
2019-11-18 00:14:22 -08:00
Maxime Coste
d3c3e59bbf
Fix search menu trimmed entry display
2019-11-17 22:53:27 +11:00
Maxime Coste
1de038a743
Move the forked server into a new session and process group
...
Fixes #3212
2019-11-17 22:44:49 +11:00
Maxime Coste
25429a905b
Try to fix select-display-column test
2019-11-17 10:52:25 +11:00
Maxime Coste
7368678e26
Merge remote-tracking branch 'lenormf/fix-rust-formatcmd'
2019-11-17 10:41:47 +11:00
Maxime Coste
49f3a72bdc
Merge remote-tracking branch 'Anfid/update-lua-highlight'
2019-11-17 10:39:00 +11:00
Maxime Coste
d220ac049e
Merge remote-tracking branch 'Anfid/hunk-next-prev'
2019-11-17 10:38:52 +11:00