watiko
43456e43de
ex_getln.c: Enable middle click pasting in command mode
2016-03-06 00:03:46 +09:00
Justin M. Keyes
8991b4b095
Merge pull request #4320 from watiko/vim-7.4.958
...
vim-patch:7.4.958
2016-03-04 13:12:59 -05:00
Marco Hinz
ed1925e0d1
Lint: fix line length >80
...
Introduced here:
4bfac00aa3 (diff-2bf87eef9f7b99dcea4b0c55beee2d63R78)
2016-03-04 12:23:21 +01:00
Justin M. Keyes
c3b6cd300f
Merge pull request #4402 from jbradaric/vim-7.4.1141
...
vim-patch:7.4.1141
2016-03-03 23:39:58 -05:00
Justin M. Keyes
fb4655beb1
Merge pull request #4390 from justinmk/clangformat
...
clang-format configuration
2016-03-03 23:37:18 -05:00
Rui Abreu Ferreira
4bfac00aa3
Windows: XDG: Update default paths. #4403
...
The previous defaults were including the nvim suffix, causing it to
apear twice in the final paths.
kXDGDataHome and kXDGConfigHome are now set as %LOCALAPPDATA%,
kXDGCacheHome is set as $TEMP.
In Windows there is no distinction between configuration and data
storage, but we don't want to place all files under the same path.
get_xdg_home() now appends a different path suffix for kXDGDataHome.
- Configuration files are saved under %LOCALAPPDATA%\nvim
- Data files are saved under %LOCALAPPDATA%\nvim-data
2016-03-03 23:26:11 -05:00
Jurica Bradaric
75fbc23ead
vim-patch:7.4.1141
...
Problem: Using searchpair() with a skip expression that uses syntax
highlighting sometimes doesn't work. (David Fishburn)
Solution: Reset next_match_idx. (Christian Brabandt)
6773a348da
2016-03-03 22:34:26 +01:00
Justin M. Keyes
c6df1b387c
clang-format configuration
...
Recommend by oni-link at:
https://github.com/neovim/neovim/pull/487#issuecomment-39935391
2016-03-02 23:56:38 -05:00
Marco Hinz
53aa569918
Proper type checking for set{qf,loc}list()
...
Prior to this change, type errors were silently ignored. They're explicit now.
setqflist(list, action, title)
setloclist(win, list, action, title)
"list" (required) must be a list.
"action" (optional) must a string.
"title" (optional) must a string or number that gets converted to a string.
An error is thrown otherwise.
2016-03-02 15:06:37 +01:00
Charles Joachim
5ef3e40b37
edit.c: change return type to bool
...
Co-authored-by: Wayne Rowcliffe (@war1025)
2016-03-02 08:37:19 -05:00
watiko
1addc45e78
test: Remove migrated legacy test from Makefile
2016-03-02 17:32:24 +09:00
watiko
29a1807de8
tests: Migrate legacy test sort
2016-03-02 17:32:24 +09:00
watiko
04ff218c16
vim-patch:7.4.1144
...
Problem: Can't build on several systems.
Solution: Include float.h. (Christian Robinson, closes vim/vim#570 vim/vim#571 )
17576a1e33
2016-03-02 17:32:24 +09:00
watiko
313810ccad
vim-patch:7.4.1143
...
Problem: Can't sort on floating point numbers.
Solution: Add the "f" flag to ":sort". (Alex Jakushev) Also add the "f"
flag to sort().
f7edf40448
2016-03-02 17:32:24 +09:00
watiko
f6dca79f3a
vim-patch:7.4.951
...
Problem: Sorting number strings does not work as expected. (Luc Hermitte)
Solution: Add the 'N" argument to sort()
b00da1d6d1
2016-03-02 17:32:24 +09:00
watiko
9e3ebb6711
vim-patch:7.4.1093
...
Problem: Typo in test goes unnoticed.
Solution: Fix the typo. Give error for wrong arguments to cursor().
(partly by Hirohito Higashi) Add a test for cursor().
24c4d539ee
2016-03-02 16:41:53 +09:00
watiko
d5904160d7
tests: Migrate legacy test searchpos
2016-03-02 16:41:09 +09:00
watiko
4d5d76c086
vim-patch:7.4.984
...
Problem: searchpos() always starts searching in the first column, which is
not what some people expect. (Brett Stahlman)
Solution: Add the 'z' flag: start at the specified column.
ad4d8a192a
2016-03-02 16:29:21 +09:00
watiko
55c0621ff3
vim-patch:7.4.958
...
Problem: Vim checks if the directory "$TMPDIR" exists.
Solution: Do not check if the name starts with "$".
e1a61991d9
---
see: "$TMPDIR bug"
https://groups.google.com/d/msg/vim_dev/UWjbjOf9tEY/wfwnkh41AwAJ
2016-03-02 15:51:39 +09:00
Justin M. Keyes
576c5f7b74
Merge pull request #4323 from watiko/vim-7.4.961
...
vim-patch:7.4.961
2016-03-02 01:48:21 -05:00
Justin M. Keyes
badf227e6f
Merge pull request #4319 from watiko/vim-7.4.952
...
vim-patch:7.4.952
2016-03-02 01:31:45 -05:00
Justin M. Keyes
56bfdd7934
Merge #4265 'vim-patch:7.4.925'.
2016-03-02 01:24:38 -05:00
Justin M. Keyes
36cb847d09
Merge #4231 'vim-patch:7.4.857'.
2016-03-02 01:08:38 -05:00
Marco Hinz
be7d6ba6c1
Trigger TabNew before TabEnter
2016-03-01 21:52:37 +01:00
Marco Hinz
e76bc505e9
Correct max numbers of args for some functions
...
Closes #3650 .
2016-03-01 17:06:59 +01:00
Sebastian Parborg
b16b27a1be
Fix guessing incorrect color index in terminal
...
This should fix issue #2323
2016-03-01 13:55:39 +01:00
Marco Hinz
2ee37cc285
Fix :%s/\n//
...
Fixes #4352 .
2016-03-01 02:06:05 +01:00
Björn Linse
c1487b9685
ops.c: breakout shared register type formatting code
2016-02-29 16:07:50 +01:00
Björn Linse
2359f6f144
TextYankPost: add information to v:event and update tests
2016-02-29 16:07:50 +01:00
Björn Linse
7ab9ff88e6
eval: add v:event, which will contain data events want to propagate to their receivers.
...
Add helper functions dict_clear and dict_set_keys_readonly.
2016-02-29 16:06:41 +01:00
Shougo Matsushita
f2ae5a9cc0
Add TextYankPost and TextDeletePost autocmds
...
Reviewed by @watiko
Ported from de53ab72c8
2016-02-29 13:21:59 +01:00
Justin M. Keyes
0c5f74ae4d
coverity/56808: STRING_OVERFLOW
...
This was caught by FORTIFY_SOURCE (and coverity).
Fixes #4371
2016-02-28 19:19:34 -05:00
Justin M. Keyes
0c2ba7554f
Merge pull request #3900 from ZyX-I/inf-nan-string
...
Make it possible to eval() all floating-point values dumped by string()
2016-02-28 11:48:54 -05:00
Justin M. Keyes
8ade191b7a
Merge pull request #4364 from ZyX-I/proper-e-term
...
Replace hack used to run TermOpen with nested modifier
2016-02-28 11:46:04 -05:00
Björn Linse
9d41060c32
Merge pull request #4289 from phanimahesh/refactor/wconversion/ex_cmds2.c
...
Enable -Wconversion for ex_cmds2.c
2016-02-28 11:21:21 +01:00
ZyX
c6eeefa339
main: Move term:// protocol name to a macros
2016-02-28 06:29:38 +03:00
ZyX
b32396170f
main: Make using :edit term:// run TermOpen event
...
Ref #4306
2016-02-28 04:54:23 +03:00
ZyX
a1493215a2
Revert "Merge pull request #4362 from justinmk/termopen"
...
This reverts commit b01db02de4
, reversing
changes made to 62321e5132
.
2016-02-28 04:34:27 +03:00
Justin M. Keyes
b01db02de4
Merge pull request #4362 from justinmk/termopen
...
term: publish TermOpen in "e term://" handler.
2016-02-27 19:08:41 -05:00
Justin M. Keyes
62321e5132
Merge pull request #4358 from jbradaric/vim-7.4.1112
...
vim-patch:7.4.1112
2016-02-27 19:08:28 -05:00
watiko
0f604e1da2
version.c: Mark vim-patches NA
...
NA patch list:
892: (MS-Win, iconv)
9d6ca1cc5e
904: ({,g}vim.desktop)
6407b3e80d
1d8d9c0bec
vim-patch:1d8d9c0bec84ac799a2f62a5ac81eade3eaf638a
905: (if_py_both)
d424747d58
909: (src/Makefile)
de59ba33aa
914: (src/term.c, logical-not-parentheses)
98b30a473a
943: (src/testdir/Makefile, test_writefile)
48a969b488
947: (src/testdir/Make_ming.mak, Test_listchars)
5311c02f25
956: (empty) Missing parts are in other runtime comitts.
f882d9f89d
969: (cast) HAVE_AVAIL_MEM was removed.
35be4534c0
993: (if_py_both)
52f6ae1366
Already merged patch list:
vim-patch:35e7594dd429f7a8a06cefd61c3e8d48b9bd74e2
vim-patch:44132a10aeb45c957959cafb4ac39d3f478be98c
vim-patch:974
2016-02-28 05:42:41 +09:00
Jurica Bradaric
2af36df86d
eval: Fix linter error.
2016-02-27 19:05:30 +01:00
Jurica Bradaric
8d5e60d8af
vim-patch:7.4.1112
...
Problem: When using ":next" with an illegal file name no error is reported.
Solution: Give an error message.
2db5c3b3ce
2016-02-27 18:47:04 +01:00
J Phani Mahesh
2ab9e96742
ex_cmds2.c:style: silence clint after -Wconversion changes
...
use ///< to document all struct and enum fields
2016-02-27 23:08:41 +05:30
J Phani Mahesh
a6d0e3696c
enable -Wconversion for ex_cmds2.c
2016-02-27 23:08:29 +05:30
Jurica Bradaric
11cf3680e4
vim-patch:7.4.1105
...
Problem: When using slices there is a mixup of variable name and namespace.
Solution: Recognize variables that can't be a namespace. (Hirohito Higashi)
9bbf63dbf8
2016-02-27 18:29:16 +01:00
Marco Hinz
b6170db1a1
Avoid internal errors with setloclist()
...
All syntastic users experienced this problem:
E685: Internal error: get_tv_string_buf()
It's reproducable with:
:call setloclist(0, [''])
So, not given optional arguments to setloclist() lead to some fields not
inizilied and the code took the wrong branches.
2016-02-26 18:52:17 +01:00
Justin M. Keyes
23f8696317
Merge pull request #4277 from Jun-T/lang2locale
...
build: install *.mo into the "standard" directory
2016-02-26 10:24:48 -05:00
Lucas Hoffmann
1e7c6380fe
tests: Migrate legacy test breakindent.
2016-02-25 17:15:09 +01:00
Justin M. Keyes
1abad9978f
Merge pull request #4274 from DarkDefender/patch-1
...
Adjust terminal text color if it is bold
2016-02-25 10:35:04 -05:00