Maxime Coste
a1758bfcb0
Merge remote-tracking branch 'eraserhd/minor-remote-fixes'
2019-06-04 19:06:56 +10:00
Jason Felice
b82cf38338
Refactor message writing
2019-05-29 09:50:00 -04:00
Maxime Coste
1ebea85e6f
Do not merge selections on backspace in insert mode
...
Fixes #2861
2019-05-29 23:12:04 +10:00
Maxime Coste
7efdbb456d
Null terminate gdb auto-load script
...
Fixes #2929
2019-05-29 22:40:16 +10:00
Maxime Coste
262ef9b4e3
Fix BufferedWriter triggering std::terminate on exception when writing
...
Fixes #2932
2019-05-29 20:28:06 +10:00
Maxime Coste
7de3ea786f
Fix trailing slash removal code with root directory
2019-05-29 20:14:42 +10:00
codesoap
a0e0229f20
Fix the man path for OpenBSD
2019-05-28 11:21:29 +02:00
codesoap
6788b3ae27
Avoid using gzips '-k' for compatibility
...
OpenBSD's gzip doesn't have '-k', but file redirection should work
everywhere.
2019-05-28 11:21:29 +02:00
Maxime Coste
a1f0bae53a
Do not try to send remaining data on a closed socket
...
Fixes #2906
2019-05-23 12:42:38 +10:00
Robert Melton
a5bc91d67e
Merge remote-tracking branch 'upstream/master' into path-improvements
2019-05-21 04:19:13 -04:00
Maxime Coste
3b3a69b2f5
Fix compilation on older gcc / clang
...
This was already fixed on the menu-completions branch but an previous
commit version was wrongly cherry-picked.
Fixes #2914
2019-05-21 13:22:02 +10:00
Robert Melton
a43313c6ce
Strip all trailing slashes in real_path and compact_path
2019-05-19 19:52:05 -04:00
Maxime Coste
c972dfd2d7
Introduce Menu completion flags to auto select best candidate
2019-05-17 19:52:22 +10:00
Maxime Coste
4916471029
Add completion support to load-module
2019-05-13 17:34:45 +10:00
Maxime Coste
91386a535c
Support discarding selections in exec/eval -itersel
...
Only fail if all selections are discarded.
Fixes #2841
2019-05-13 17:34:43 +10:00
Maxime Coste
834f6916da
Do not keep a reference to ParametersDesc inside ParameterParser
...
This should fix #2900
2019-05-10 23:46:16 +10:00
Maxime Coste
f96547719d
Merge remote-tracking branch 'Delapouite/parse_lines'
2019-05-01 03:48:48 +10:00
Alex Leferry 2
910ace1611
Fix typo
2019-04-28 16:46:10 +02:00
Maxime Coste
229768841b
Fix parsing of faces with a base but no attributes
2019-04-28 00:35:52 +01:00
Delapouite
947e071066
Let parse_lines ensure that there's at least 1 line with \n
2019-04-27 19:29:16 +02:00
Maxime Coste
f6e58e7271
Fix crash when finishing insert completion with no completion candidates
2019-04-26 11:49:55 +01:00
Maxime Coste
0cc89b2b9f
Merge remote-tracking branch 'laelath/provides-requires'
2019-04-25 11:59:42 +01:00
Maxime Coste
1c8f1cbc2f
Fix wrapping of words with 'wrap col - indent < word len < wrap col'
...
Add a test case for those, and refactor bits of the wrap highlighter.
This explains part of the needed complexity in #2820 .
2019-04-24 11:40:57 +01:00
Maxime Coste
64ddd43be9
Only wrap before words that are shorter than the wrapping length
...
Closes #2820
2019-04-24 10:53:33 +01:00
Maxime Coste
c1471d38f1
Merge remote-tracking branch 'eraserhd/remote-refactors'
2019-04-24 09:01:00 +01:00
Maxime Coste
4e24ba86cc
Change faces alias to be a base that can be modified
...
Using <fg>,<bg>+<attr>@<base> will apply the given fg color,
bg color and attributes on top of base dynamically. Simply giving
<base> is a shorthand for default,default@<base>.
Inspired by the discussion in #2862
2019-04-23 23:15:23 +01:00
Jason Felice
99be3ff5e2
Use helper template struct in MsgReader
...
This makes reads for all types, including String, Vector, and Optional,
use the same interface in MsgReader.
2019-04-22 10:49:12 -04:00
Maxime Coste
aec58b968b
Small code cleanup in Face struct definition
2019-04-18 14:37:24 +02:00
Maxime Coste
06d4ee578e
Update changelog
2019-04-17 08:38:52 +02:00
Maxime Coste
78419bc76f
Remove InsertCompletionSelect hook
2019-04-17 08:38:52 +02:00
Maxime Coste
9118a18d5d
Change completions option docstring element to be an arbitrary command
...
We can have the previous behaviour by just passing the docstring to
`info -placement menu`.
2019-04-17 08:38:52 +02:00
Maxime Coste
02fc42a12a
Rename info -placement to info -style and support modal style
...
Fixes #1375
Closes #1380
2019-04-17 08:38:52 +02:00
Maxime Coste
ace499ecb1
Pass selected completion text to InsertCompletionHide
2019-04-16 15:56:07 +02:00
Maxime Coste
0bff4851d9
Support '-placement menu' switch in the info command
...
Expose insert completion menu documentation via the info command.
2019-04-15 17:22:48 +02:00
Maxime Coste
6d83828dab
Support name captures in dynregex highlighters
...
Fixes #2856
2019-04-16 00:18:15 +10:00
Maxime Coste
6b79c1e000
Support named captures in hooks
...
Fixes #2857
2019-04-15 23:56:49 +10:00
Maxime Coste
ac73f7c27f
Run ClientClose hook before exiting the client itself
...
Closes #2849
2019-04-13 15:40:43 +10:00
Maxime Coste
91337d6091
Make it possible to edit an existing scratch buffer again
...
And make `edit! -scratch *scratch*` for the recreation of an empty
buffer.
Fixes #2852
2019-04-12 13:52:26 +10:00
Maxime Coste
ef1fd3acb9
Prevent conversion to client on suspend from disconnecting other clients
...
clear the client manager in the to be converted process without
sending exit messages as the forked server will still be there.
Fixes #2847
2019-04-12 13:23:38 +10:00
Justin Frank
c40bb6fc00
Evaluate modules in an empty context
2019-04-08 17:06:56 -07:00
Justin Frank
7866d88131
Added ModuleLoad hook that uses the module name as the parameter
2019-04-08 17:05:55 -07:00
Justin Frank
6092852640
Added 'provide-module' and 'require-module' commands
2019-04-08 17:02:44 -07:00
Justin Frank
670f8192c8
Set up command boilerplate for provide-module and require-module
2019-04-08 17:02:44 -07:00
Maxime Coste
f732ea4efb
Refactor ClientManager::clear
2019-04-08 22:32:30 +10:00
Maxime Coste
675dbfbe8b
Auto generate buffer name when using edit -scratch with no name
...
This will make it easier to create a temporary scratch buffer to
work in without having troubles with name collisions.
Fixes #849
2019-04-08 22:16:44 +10:00
Maxime Coste
c8839e7904
Add a ClientCreate and ClientClose hook
...
As discussed in #2830 .
Closes #2500 .
2019-04-08 21:59:32 +10:00
Maxime Coste
d0df1ffe71
update version notes and changelog
2019-04-07 09:51:27 +10:00
Maxime Coste
41f19f8dc9
Add support for %file{...} expansions
...
This should make the use case exposed in #2836 implementable.
2019-04-07 09:43:40 +10:00
Maxime Coste
744778be30
Add a -to-file <filename> switch to the echo command
...
As discussed in #2836
2019-04-07 09:32:17 +10:00
Maxime Coste
835f2239a7
Run WinClose hook when clearing all free windows
...
Fixes #2830
2019-04-04 22:06:17 +11:00