prollings
dcbd1c7b13
vim-patch:7.4.1147 ( #5005 )
...
Problem: Conflict for "chartab". (Kazunobu Kuriyama)
Solution: Rename the global one to something less obvious. Move it into
src/chartab.c.
https://github.com/vim/vim/commit/88e8f9f14434a7cd538d0c159dc432bea869a5bd
2016-07-10 17:05:06 -04:00
Justin M. Keyes
c7d84c5550
Merge #4980 'Support legacy :ruby commands'.
2016-07-10 14:16:12 -04:00
Justin M. Keyes
5573e1a350
Merge #4991 'vim-patch:7.4.1140'
2016-07-09 16:55:41 -04:00
Charles Joachim
ef72303a1f
op_replace: fix guard; avoid strlen ( #4963 )
...
Closes #4943
2016-07-09 07:07:59 -04:00
Patrick
3e2daf7125
vim-patch:7.4.1140
...
Problem: Recognizing <sid> does not work when the language is Turkish.
(Christian Brabandt)
Solution: Use MB_STNICMP() instead of STNICMP().
https://github.com/vim/vim/commit/e266d6d664d6d743c79797af400b2c01ec746216
Note: Added new test
2016-07-08 16:50:22 +10:00
James McCoy
059e9785dc
lint
2016-07-08 01:45:21 -04:00
James McCoy
86b4f6856b
vim-patch:7.4.1986
...
Problem: Compiler warns for loss of data.
Solution: Use size_t instead of int. (Christian Brabandt)
https://github.com/vim/vim/commit/fef524bbff9aa186838c35212b2f89f61d627cf8
2016-07-08 01:45:21 -04:00
James McCoy
c147766389
vim-patch:7.4.1973
...
Problem: On MS-Windows the package directory may be added at the end
because of forward/backward slash differences. (Matthew
Desjardins)
Solution: Ignore slash differences.
https://github.com/vim/vim/commit/4c5717ed8a81f5ae9dfe4f38b17a61fc8421054b
2016-07-08 01:45:21 -04:00
James McCoy
520a4f06e2
vim-patch:7.4.1840
...
Problem: When using packages an "after" directory cannot be used.
Solution: Add the "after" directory of the package to 'runtimepath' if it
exists.
https://github.com/vim/vim/commit/a57024453115592b8847af40ddd965a33898e390
2016-07-08 01:45:21 -04:00
James McCoy
23b2ee0771
vim-patch:7.4.1712
...
Problem: For plugins in packages, plugin authors need to take care of all
dependencies.
Solution: When loading "start" packages and for :packloadall, first add all
directories to 'runtimepath' before sourcing plugins.
https://github.com/vim/vim/commit/49b27326447d0827c59c6cd201d58f65c1163086
2016-07-08 01:45:21 -04:00
James McCoy
99e51b81e6
vim-patch:7.4.1649
...
Problem: The matchit plugin needs to be copied to be used.
Solution: Put the matchit plugin in an optional package.
https://github.com/vim/vim/commit/aedfcbe1e6c7df6edcd6756d7601bfdec7dd2087
Ignore changes to
* Filelist, src/Makefile: Irrelevant to NeoVim
* runtime/vimrc_example.vim, runtime/macros/*, runtime/pack/*: matchit
is enabled by default in Neovim.
2016-07-08 01:45:20 -04:00
James McCoy
4bd14e921b
vim-patch:7.4.1596
...
Problem: Memory leak. (Coverity)
Solution: Free the pattern.
https://github.com/vim/vim/commit/ba8cd122ef60a7c71a7723be0d635f0c2d4556ab
2016-07-08 01:45:20 -04:00
James McCoy
443d335ce3
vim-patch:7.4.1554
...
Problem: Completion for :colorscheme does not use 'packpath'.
Solution: Make it work, add a test. (Hirohito Higashi)
https://github.com/vim/vim/commit/52f9c19015df5ee1ee8592b6f3f15b8a57c8f5be
2016-07-08 01:45:20 -04:00
James McCoy
53613e7fcd
vim-patch:7.4.1553
...
Problem: ":runtime" does not use 'packpath'.
Solution: Add "what" argument.
https://github.com/vim/vim/commit/8dcf259d904cfb965d31841dc74a5cfaf5a351d9
2016-07-08 01:45:20 -04:00
James McCoy
080476882b
vim-patch:7.4.1552
...
Problem: ":colorscheme" does not use 'packpath'.
Solution: Also use in "start" and "opt" directories in 'packpath'.
https://github.com/vim/vim/commit/7f8989dd8a627af2185df381195351a913f3777f
2016-07-08 01:45:15 -04:00
James McCoy
55dcf0918c
vim-patch:7.4.1551
...
Problem: Cannot generate help tags in all doc directories.
Solution: Make ":helptags ALL" work.
https://github.com/vim/vim/commit/6bef5306e4f2cacb3a93667992c2312d4b293c9d
2016-07-08 01:43:37 -04:00
James McCoy
26f74fdf61
vim-patch:7.4.1550
...
Problem: Cannot load packages early.
Solution: Add the ":packloadall" command.
https://github.com/vim/vim/commit/2d8f56acb32428d0f965d42dd13b27100b46fa15
2016-07-08 01:43:37 -04:00
James McCoy
1f54d253e1
vim-patch:7.4.1528
...
Problem: Using "ever" for packages is confusing.
Solution: Use "start", as it's related to startup.
https://github.com/vim/vim/commit/af1a0e371e739f8dff337fd31da0ff8ffb347b43
2016-07-08 01:43:36 -04:00
James McCoy
8ecdc571b0
vim-patch:7.4.1499
...
Problem: No error message when :packadd does not find anything.
Solution: Add an error message. (Hirohito Higashi)
https://github.com/vim/vim/commit/be82c254862e475a582c0717455e1db6bf96b0d0
2016-07-08 01:43:36 -04:00
James McCoy
85e539c996
vim-patch:7.4.1492
...
Problem: No command line completion for ":packadd".
Solution: Implement completion. (Hirohito Higashi)
https://github.com/vim/vim/commit/35ca0e7a1cb6e6daef8e0052a8437801226cef19
2016-07-08 01:43:36 -04:00
James McCoy
2f72f34f04
vim-patch:7.4.1486
...
Problem: ":loadplugin" is not optimal, some people find it confusing.
Solution: Only use ":packadd" with an optional "!".
https://github.com/vim/vim/commit/f3654827368e6204608036353a0360e9e7c21e02
2016-07-08 01:43:36 -04:00
James McCoy
67d8e58631
vim-patch:7.4.1480
...
Problem: Cannot add a pack direcory without loading a plugin.
Solution: Add the :packadd command.
https://github.com/vim/vim/commit/91715873d19a1859c08eeded7848113596e2f2bd
2016-07-08 01:43:30 -04:00
James McCoy
d43ac790f2
vim-patch:7.4.1479
...
Problem: No testfor ":loadplugin".
Solution: Add a test. Fix how option is being set.
https://github.com/vim/vim/commit/863c1a9079fa340d663ccafb011729a29186d73e
2016-07-08 01:39:12 -04:00
James McCoy
9dc621e77d
vim-patch:7.4.1478
...
Problem: ":loadplugin" doesn't take care of ftdetect files.
Solution: Also load ftdetect scripts when appropriate.
https://github.com/vim/vim/commit/1bdd42627d619258d0e847f217cfc1c2795f1ac5
2016-07-08 01:39:10 -04:00
James McCoy
562b17260f
vim-patch:7.4.1396
...
Problem: Compiler warnings for conversions.
Solution: Add type cast.
https://github.com/vim/vim/commit/1daae446e58fd90f98c51ff3af8f54bfa5197751
2016-07-08 01:38:21 -04:00
James McCoy
bca53fdca0
vim-patch:7.4.1388
...
Problem: Compiler warning. (Cesar Romani)
Solution: Initialize variable.
https://github.com/vim/vim/commit/bdcd75275002c3b74015bb9bc0a01b13bb6107d4
2016-07-08 01:38:21 -04:00
James McCoy
e902a172ef
vim-patch:7.4.1384
...
Problem: It is not easy to use a set of plugins and their dependencies.
Solution: Add packages, ":loadopt", 'packpath'.
https://github.com/vim/vim/commit/f6fee0e2d4341c0c2f5339c1268e5877fafd07cf
2016-07-08 01:38:16 -04:00
prollings
6cee9d1a17
vim-patch:7.4.1111 ( #5004 )
...
Problem: test_expand fails on MS-Windows.
Solution: Always use forward slashes. Remove references to test27.
https://github.com/vim/vim/commit/f60b796fa9870bdfc4cdeb91653bac041916077d
2016-07-06 09:13:48 -04:00
Daniel Xu
5f1a153831
os/fs: Rename os_file_exists to os_path_exists ( #4973 )
...
Because the old name did not indicate that the function
would return true on directories as well.
2016-07-06 01:40:25 -04:00
Justin M. Keyes
c002310787
tui: Assume 256 colors in most cases.
...
Assume 256 colors if:
- $TERM contains "xterm" or "256"
- $COLORTERM contains "256"
Closes #2912
2016-07-03 01:21:33 -04:00
Alex Genco
0a3c0205c5
Add :ruby, :rubyfile, and :rubydo ex commands
2016-07-02 21:45:48 -07:00
Justin M. Keyes
fab62141c8
options: Default t_Co to 256.
...
This commit doesn't change any behavior, only moves the init out of main.c We
_could_ move some initialization from tui.c:terminfo_start to an earlier phase,
in order to avoid mis-reporting 't_Co' during startup. But this will be messy,
and gains very little: TERM=linux works "good enough" as long as we correct t_Co
in tui.c:terminfo_start (c5b02d5a7 ).
2016-07-02 20:36:31 -04:00
Mateusz Czaplinski
c5b02d5a7a
options: Set 't_Co' from unibilium + fix_terminfo.
...
Closes #3428
References #4999
The Linux "virtual consoles" available on Alt-F1...Alt-F7 (i.e.
tty1-tty7) support only 8 colors (actually, it's 16 colors when counted
together with "bold/bright" attribute) and 8 background colors (those in
some cases can be upped to 16 too, by using "blink" attribute - but this
might be more risky, in case some legacy consoles really show it as
blinking? I'm not sure about that.) This limit is buried deep in kernel
sources for default tty drivers. Trying to use the Neovim's default 256
colors in this case gives totally bad colors, breaking all color schemes
and sometimes rendering parts of the text invisible. A simple change
enables code paths for handling 8/16 colors, which are still present in
Neovim codebase.
2016-07-02 20:32:58 -04:00
prollings
f80eb768c7
vim-patch:7.4.1121 ( #4989 )
...
Problem: test_expand leaves files behind.
Solution: Edit another file before deleting, otherwise the swap file
remains.
https://github.com/vim/vim/commit/08b270a8a4544be9a7fecce311834fde2b457634
2016-07-02 20:22:59 -04:00
Marco Hinz
59487e18a7
vim-patch:7.4.1716
...
Problem: 'autochdir' doesn't work for the first file. (Rob Hoelz)
Solution: Call DO_AUTOCHDIR after startup. (Christian Brabandt)
https://github.com/vim/vim/commit/baec5c1768098f9dd867b465aaabfdfb294f10c2
2016-07-01 18:51:28 +02:00
Björn Linse
6f4f654231
Merge pull request #4880 from bfredl/zerotimer
...
make timers work correctly when timeout or repeat is zero
2016-07-01 17:34:28 +02:00
Michael Budde
ce31c21c7d
Fix regression of :drop introduced in 1a91000
...
A single line was deleted from `ex_drop()` in 1a91000 when fixing clint
warnings causing the `:drop` command to not work correctly if the buffer
is not already open in a window.
Fixes #4981
2016-07-01 11:42:18 +02:00
Patrick
8e804c911e
vim-patch:7.4.1136
...
Problem: Wrong argument to assert_exception() causes a crash. (reported by
Coverity)
Solution: Check for NULL pointer. Add a test.
https://github.com/vim/vim/commit/da5dcd936656f524dd0ae7cb2685245f07f5720f
2016-06-30 22:35:06 +10:00
Björn Linse
5c754a2d22
timers: make repeat=0 work one-shot (consistent with vim)
2016-06-29 18:57:18 +02:00
Björn Linse
2c39e0b03f
timers: make timers work with zero timeout
2016-06-29 18:57:18 +02:00
Dimitri Merejkowsky
43536568ba
[RFC] Fix #4979 : Trigger TabNewEntered also with <CTRL-W>T
...
Original patch by @fmoralesc
2016-06-28 23:50:05 +02:00
KillTheMule
9fb8adf3ad
Update version.c ( #4974 )
...
Only update some entries that are already in `version.c`. Mercilessly stolen from https://github.com/neovim/neovim/pull/4634 . At least one possible contributor got confused by it not being as-up-do-date-as-it-coul-be(tm). We shouldn't have that.
1005, 1010: :smile
1039: small Build
1058, 1073, 1079, 1097: alloc
1555, 1556, 1573: Makefile
1560, 1579: channel
2016-06-27 09:09:46 -04:00
Justin M. Keyes
e9061117a5
Merge #4646 from oni-link/fix.issue.4569.3
...
Fix for missing output (#4569 , ...)
2016-06-26 14:36:24 -04:00
ZyX
a9546b5e78
version: State that 1960 was included
2016-06-26 19:18:37 +03:00
Justin M. Keyes
c69ccca56d
Merge #4965 from justinmk/fixup4453
...
ex_cmds2.c: lint
2016-06-25 18:24:09 -04:00
Justin M. Keyes
2b7d13fb19
ex_cmds2.c: cleanup
2016-06-25 18:07:20 -04:00
ZyX
7900e38a8f
option: Make all pointers in set_string_option constant
2016-06-24 17:23:29 +03:00
ZyX
458a4d0444
*: Fix linter errors
...
Also adds one exception to linter rules:
typedef struct {
kvec_t(Object) stack;
} EncodedData;
is completely valid (from the style guide point of view) code.
2016-06-24 17:16:11 +03:00
ZyX
50f5bb8ade
kvec: Do not bother with making capacity a power of 2
...
This avoids gcc warnings about undefined behaviour.
2016-06-24 17:07:10 +03:00
ZyX
0d56118d86
msgpack_rpc: Fix crash in log_server_msg
...
It appears that used msgpack library is not able to parse back message created
by msgpack_rpc_from_object() if nesting level is too high, so log_server_msg now
cares about msgpack_unpack_next() return value. Also error message from
server_notifications_spec.lua is not readable if something is wrong (though at
least now it does not crash when parsing deeply nested structures).
log_server_msg() in the test reports
[msgpack-rpc] nvim -> client(1) [error] "parse error"
2016-06-24 16:53:26 +03:00