Justin M. Keyes
aa2c439940
eval.c: rename capture() to execute() ( #5132 )
2016-07-31 13:23:29 -04:00
Justin M. Keyes
f4187c46bd
version.c: update
2016-07-30 18:06:27 -04:00
Justin M. Keyes
02346f9bc7
os_resolve_shortcut: Report conversion error.
2016-07-30 15:28:13 -04:00
Justin M. Keyes
f2d5ba65b5
mbyte.c: Move utf8/utf16 functions to mbyte.c
2016-07-30 15:28:13 -04:00
Justin M. Keyes
23aadb6948
utf16_to_utf8
2016-07-30 15:28:13 -04:00
Justin M. Keyes
d96b359410
os_resolve_shortcut: cleanup
2016-07-30 15:28:12 -04:00
Justin M. Keyes
618aad3811
os_resolve_shortcut: Remove legacy win16 codepath.
2016-07-30 15:28:12 -04:00
Justin M. Keyes
6b33e9b103
utf8_to_utf16: adapt libuv's fs__capture_path
2016-07-30 15:28:12 -04:00
Justin M. Keyes
771d42e426
os_resolve_shortcut: initial port from Vim source
2016-07-30 15:28:12 -04:00
Rui Abreu Ferreira
c168dc32b9
Remove redundant includes of unistd.h ( #5126 )
2016-07-29 08:53:01 -04:00
Justin M. Keyes
e5781d005a
Merge #2850
2016-07-28 18:51:06 -04:00
Tommy Allen
1f7304b846
mouse.c: Adjust clicked column if chars are concealed ( #5087 )
...
syntax.c: Added syn_get_concealed_id()
tests: Added tests for mouse clicks on concealed text.
2016-07-28 14:14:53 -04:00
Shougo Matsushita
ea690e4038
version.c: Update to 7.4.2107
...
1601: Filelist, Makefile
1602: info files
1609: Filelist
1610: if_ole, directX
1611: FEAT_VERTSPLIT
1612, 1613: small feature
1615: tiny feature
1616-1618, 1621-1628, 1631, 1635: channel fix
1632, 1633: Makefile fix
1636: getln.c
1646: Python eval
1651: MS-DOS
1655: remote_expr() fix
1657, 1659, 1661, 1662, 1665-1669, 1680: channel
1672, 1674: dvorak plugin
1678: if_mzch
1683: dosinst.c
1684: README
1687, 1717, 1722: channel
1688: if_mzch
1689: if_ruby
1690: ifdef
1693: if_perl
1694: Win32 GUI
1698: Makefile
1705: guifont in Windows
1706: __ARGS
1709: ifdef
1713: GTK GUI
1721: vimtbar plugin
1724: tabline with GUI
1725: fix for ANSI C
1726: compiler warning for ex_smile
1729, 1746: if_perl
1733: Makefile
1736, 1743, 1744, 1747: if_python
1737: UNUSED
1745: README
1749: GTK
1756: dll path
1760: compiler warnings
1764: job
1766: INSTALL_pc.txt
1767: configure
1770: true color
1771: ifdef
1772, 1775: Makefile
1773: compiler warnings
1774, 1778: true color
1776: term.c
1777: channel
1784: true color
1786: term.c
1787, 1789-1791: channel
1788: NSIS support
1794: Win32 GUI
1795-1798: term.c
1800: ifdef
1801: Makefile
1803: GTK3
1807, 1810, 1811, 1814, 1817, 1822, 1824-1829: channel
1819: Compiler warning
1830: os_mswin.c
1843: if_python
1845: channel
1846: term.c
1848: if_perl
1849, 1850, 1853, 1855-1859: channel
1852: GUI test
1854: termguicolors
1860: timer
1863: if_xxx
1864: if_python
1865: eval.c leak
1869: if_perl
1870: if_mzch
1872: if_perl
1873: timer in GUI
1874: Win32
1877-1880: channel
1883: ViVim, gui_mac
1885: MinGW
1886, 1887: channel
1890: GUI
1891: channel
1892, 1894: balloon
1899: GUI_GTK
1901: GUI_Win32
1902, 1906: channel
1908: NetBeans
1915: gui_menu
1916: test_channel
1917-1921: viminfo
1922: if_ruby
1924: function(void)
1925, 1926, 1931-1933, 1938, 1939, 1943: viminfo
1927: if_mzch
1929: if_ruby
1930: ifdef
1934: Makefile
1935: GUI
1942: termguicolors
1944: Make_MSVC
1946: Filelist
1947: viminfo
1951: Makefile, if_ruby
1957, 1958: if_perl
1959: channel
1963: Win32 cygpty
1965, 1969: channel
1974: GUI
1982, 1987, 1988: viminfo
1983: Filelist Makefile ifdef protocol
1985: VMS build filename_upper_camel
1995: GUI
1998: channel
2001: ifdef
2003, 2004: cursor flicker in GUI
2016: Make_cyg
2020: ifdef
2025: GUI_GTK
2026: channel
2027: ifdef
2030, 2032, 2034: Make cygwin MinGW
2035: ACL support
2037, 2038: small build
2039-2041: channel
2042: GUI_GTK
2045: channel
2048: legacy
2052, 2053: Makefile
2054: ifdef
2055, 2057, 2063: eval.c refactoring
2056: prototype
2059, 2060: Makefile
2070: spell.h
2078: term.c
2079: test_netbeans
2089, 2092: GUI
2091: term.c
2102: GUI tiny
2105: configure
Included
1732: auto completion folds
2016-07-27 19:53:31 +09:00
Hirokazu Hata
fbb2cd791d
vim-patch:7.4.1179 ( #5112 )
...
Problem: test_writefile and test_viml do not delete the tempfile.
Solution: Delete the tempfile. (Charles Cooper) Add DeleteTheScript().
f4f79b84a5
2016-07-25 08:12:24 -04:00
James McCoy
a4987bac3e
lint
2016-07-23 20:42:46 -04:00
James McCoy
452707e0b0
vim-patch:7.4.1703
...
Problem: Can't assert for not equal and not matching.
Solution: Add assert_notmatch() and assert_notequal().
b50e5f5686
2016-07-23 20:42:46 -04:00
James McCoy
f1d912c584
vim-patch:7.4.1682
...
Problem: Coverity: no check for NULL.
Solution: Add check for invalid argument to assert_match().
72188e9aae
2016-07-23 20:42:46 -04:00
James McCoy
aece3ffa7d
vim-patch:7.4.1663
...
Problem: In tests it's often useful to check if a pattern matches.
Solution: Add assert_match().
ea6553bec3
2016-07-23 20:42:46 -04:00
Patrick
8c1fb99d2d
vim-patch:7.4.1491 #5048
...
Problem: Visual-block shift breaks multi-byte characters.
Solution: Compute column differently. (Yasuhiro Matsumoto) Add a test.
20b4f463f4
2016-07-18 11:39:40 -04:00
prollings
7563972fd9
vim-patch:7.4.1365 ( #5037 )
...
Problem: Cannot execute a single test function.
Solution: Add an argument to filter the functions with. (Yasuhiro Matsumoto)
befb366aff
2016-07-20 01:40:04 -04:00
J Phani Mahesh
92866042d9
coverity/150263: s/STRCPY/STRLCPY/, bounds check ( #5036 )
2016-07-20 01:35:44 -04:00
Justin M. Keyes
77937c4edd
Merge #5058
2016-07-18 11:22:43 -04:00
Justin M. Keyes
9c3bd3e427
test: Update test_alot.vim
...
These tests should be here, not in the Makefile.
2016-07-18 11:17:16 -04:00
Justin M. Keyes
1d8a076157
server_init: Handle server_address_new() failure.
...
Closes #3364
2016-07-18 11:02:30 -04:00
Simon Weil
d0c0b10b4c
vim-patch:7.4.1186 ( #5091 )
...
Problem: Error messages for security context are hard to translate.
Solution: Use one string with %s. (Ken Takata)
4a1314cb9c
2016-07-19 23:47:25 -04:00
Justin M. Keyes
7fa1baf44e
Merge #4798 'process.c: Fix block in teardown'
2016-07-16 03:36:12 -04:00
Björn Linse
be531aba77
Merge pull request #5042 from bfredl/unnamedunnamedplus
...
clipboard: make v:register=='+' when clipboard=unnamed,unnamedplus
2016-07-13 10:11:30 +02:00
Justin M. Keyes
5ea4d58a1b
Merge #5026 from joshtriplett/term-title-statusline
...
Please support setting terminal title in :terminal
2016-07-13 04:04:30 -04:00
Patrick
98fb0f12c4
vim-patch:7.4.1548
...
Problem: Two tests fail.
Solution: Adjust the expected error number. Remove check for type.
5a2800fd14
2016-07-13 17:59:29 +10:00
Patrick
a3dc7ef445
vim-patch:7.4.1546
...
Problem: Sticky type checking is more annoying than useful.
Solution: Remove the error for changing a variable type.
f6f32c38bf
Note: There are a bunch of other changes to eval.txt that I believe are
N/A and not related to this patch.
2016-07-13 17:47:46 +10:00
Marco Hinz
72ad5a16e7
Fix String_eq() ( #5051 )
...
Change implementation to compare sequences of bytes instead of C
strings.
The former implementation would return "false positives" in these cases:
"\0a" and "\0b": C strings are NUL-terminated, so it would compare two
empty strings.
"a" and "ab": If both strings aren't the same length, it would
compare only up to the length of the shorter one.
Fixes #5046 .
2016-07-12 22:16:43 -04:00
James McCoy
448dd2adfa
Add missing translation from vim-patch:5e9b2fa
...
The UTF-8 Japanese translation of "Word '%.*s' added to %s" was missed
in 404dc5420b
, which caused a segfault due
to the missing '%.*s'.
Closes #5055
2016-07-12 22:42:17 +01:00
Josh Triplett
d529ca0103
terminal: Ensure b:term_title always has a value
...
Factor out a helper function to set b:term_title, and call it during
terminal initialization as well, to set the initial title to the term://
URL.
This makes it much easier to use b:term_title in a statusline, with just
`setlocal statusline=%{b:term_title}`, rather than needing an expression
to handle the unset case.
2016-07-12 14:42:17 -07:00
Björn Linse
6ea2bde065
clipboard: fix v:register when clipboard=unnamed,unnamedplus
2016-07-12 22:30:51 +02:00
Daniel Xu
335be4272e
window: Silence clang-analyzer null dereference error ( #5032 )
2016-07-12 00:43:06 -04:00
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.
88e8f9f144
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
ZyX
56fcabbd05
option: Silence linter
2016-07-10 02:04:27 +03:00
ZyX
5fc72882cc
option: Also escape commas in options other then &runtimepath
2016-07-10 02:04:27 +03:00
ZyX
1a92585e32
option.h: Turn OPT_* list into a enum
2016-07-10 02:04:27 +03:00
ZyX
c47624482c
option: Also do not expand XDG defaults with set&
2016-07-10 02:04:27 +03:00
ZyX
895f712df8
option: Do not expand options, obtained from XDG vars
...
It is a wrong thing to do, this makes valid variable values be treated
incorrectly: in
XDG_DATA_HOME='/home/$foo/.local/share'
`$foo` should be treated literally and not expanded to `foo` environment
variable value.
Also makes option_expand not try to expand too long strings even if these too
long strings are default values. Previously it thought that default values
should always be expanded. Also does not try to expand NULL should it be the
default value just in case.
Fixes #4961
2016-07-10 02:04:27 +03: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().
e266d6d664
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)
fef524bbff
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.
4c5717ed8a
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.
a570244531
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.
49b2732644
2016-07-08 01:45:21 -04:00