[vim] 02/05: Update changelog for 8.0.0606

James McCoy jamessan at debian.org
Sun Jun 18 19:01:32 UTC 2017


This is an automated email from the git hooks/post-receive script.

jamessan pushed a commit to branch debian/experimental
in repository vim.

commit f8fee285eb3ed738139fa4abcc0aa66d372c6754
Author: James McCoy <jamessan at debian.org>
Date:   Mon May 29 14:40:58 2017 -0400

    Update changelog for 8.0.0606
    
    Drop patches applied to/backported from upstream.
    Update remaining patches.
---
 debian/changelog                                   |   9 +
 debian/changelog.upstream                          | 415 ++++++++++++++++++++-
 ...of-more-LaTeX-commands-for-tex-filetype-d.patch |   4 +-
 ...t-filetype-using-the-contents-of-the-file.patch |   4 +-
 ...s-decision-to-disable-modelines-by-defaul.patch |   4 +-
 ...ng-a-vimrc.tiny-when-Vim-is-invoked-as-vi.patch |  14 +-
 debian/patches/series                              |   6 -
 ...pus-to-deb-changelog-sources-syntax-files.patch |  53 ---
 ...ing-compilation-date-in-SOURCE_DATE_EPOCH.patch |   6 +-
 ....vim-Add-sections-for-Rust-and-JavaScript.patch |  22 --
 ...ossible-overflow-with-corrupted-spell-fil.patch |  39 --
 ...ossible-overflow-when-reading-corrupted-u.patch |  47 ---
 ...ossible-overflow-when-reading-corrupted-u.patch |  56 ---
 ...-cannot-parse-some-etags-format-tags-file.patch | 103 -----
 14 files changed, 437 insertions(+), 345 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 978762c..7ac0f30 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+vim (2:8.0.0606-1) UNRELEASED; urgency=medium
+
+  [ upstream ]
+  * 8.0.0210 et.al.: Add support for bracketed paste.  (Closes: #504244)
+  * 8.0.0421: Fix display in diff mode when adding a line at the end of a
+    buffer.  (Closes: #846993)
+
+ -- James McCoy <jamessan at debian.org>  Mon, 29 May 2017 14:20:09 -0400
+
 vim (2:8.0.0197-4) unstable; urgency=medium
 
   * Backport upstream patch v8.0.0550 to fix a regression in tag lookups for
diff --git a/debian/changelog.upstream b/debian/changelog.upstream
index ba6e217..eea6396 100644
--- a/debian/changelog.upstream
+++ b/debian/changelog.upstream
@@ -128,14 +128,14 @@ Individual patches for Vim 8.0:
   4876  8.0.0102  (after 8.0.0101) cannot set 'dictionary' to a path
   4425  8.0.0103  may not process channel readahead
   3602  8.0.0104  value of 'thesaurus' option not checked properly
- 16483  8.0.0105  can't tell difference between reading empty line or nothing
+ 14961  8.0.0105  can't tell difference between reading empty line or nothing
   2174  8.0.0106  (after 8.0.0100) cannot use a semicolon in 'backupext'
- 17300  8.0.0107  when reading channel output in timer messages may be missing
+ 16825  8.0.0107  when reading channel output in timer messages may be missing
   2747  8.0.0108  (after 8.0.0107) the channel "drop" option is not tested
   6083  8.0.0109  still checking if memcmp() exists, should be everywhere now
   2281  8.0.0110  drop command doesn't use existing window
   3528  8.0.0111  the :history command is not tested
- 13404  8.0.0112  tests 92 and 93 are old style
+ 13356  8.0.0112  tests 92 and 93 are old style
   5376  8.0.0113  MS-Windows: dialog for saving changes on the wrong monitor
   3510  8.0.0114  coding style not optimal
   1875  8.0.0115  when building with Cygwin libwinpthread isn't found
@@ -221,3 +221,412 @@ Individual patches for Vim 8.0:
   4685  8.0.0195  (after 8.0.0190) fail to jump to static tag in current file
   8101  8.0.0196  profile test is slow and does not work on MS-Windows
   4234  8.0.0197  system() test skips some parts for MS-Windows
+ 15518  8.0.0198  some syntax arguments take effect even after "if 0"
+  2860  8.0.0199  compiler warnings for libcall
+  3376  8.0.0200  some syntax arguments are not tested
+  6218  8.0.0201  completion of highlight groups includes cleared names
+  1874  8.0.0202  no test for invalid syntax group name
+  5103  8.0.0203  order of complication flags is sometimes wrong
+  1747  8.0.0204  compiler warns for uninitialized variable
+  2764  8.0.0205  wrong behavior after :undojoin
+  5444  8.0.0206  test coverage for :retab insufficient
+  1429  8.0.0207  leaking file descriptor when system() fails
+  2504  8.0.0208  internally used commands end up in history
+  1723  8.0.0209  cursor binding does not work with :substitute
+ 18326  8.0.0210  no support for bracketed paste
+  2461  8.0.0211  (after 8.0.0210) cannot build without the multi-byte feature
+  3318  8.0.0212  buffer for key name may be too small
+  2278  8.0.0213  Netbeans specialKeys command does not check argument length
+  1787  8.0.0214  leaking memory when syntax cluster id is unknown
+  2025  8.0.0215  NULL pointer use if cscope line looks like emacs tag
+  3357  8.0.0216  decoding js style json may fail
+  1839  8.0.0217  (after 8.0.0215) build fails without cscope feature
+  2321  8.0.0218  no completion for :cexpr and similar commands
+  8176  8.0.0219  ubsan reports errors for overflow
+  3450  8.0.0220  completion of highlight names misses a few values
+  1633  8.0.0221  unnecessary condition on PROTO
+  2783  8.0.0222  blockwise put on multi-byte character misplaced
+  2522  8.0.0223  Coverity warns for an uninitialized variable
+  3399  8.0.0224  change to 'fileformats' from autocmd does not take effect
+  2743  8.0.0225  put in Visual block mode terminates early
+  2101  8.0.0226  test for patch 8.0.0224 missing CR characters
+  2411  8.0.0227  crash with ff=dos when first line in file has no CR
+  3446  8.0.0228  pasting in xterm on the command line has PasteStart
+  1604  8.0.0229  local 'formatprg' option value leaks
+  1653  8.0.0230  bracketed paste does not support line breaks
+  4754  8.0.0231  bracketed paste mode is not tested
+  1807  8.0.0232  paste does not work when 'esckeys' is off
+  1580  8.0.0233  (after 8.0.0231) paste test fails in the GUI
+  3304  8.0.0234  (after 8.0.0225) crash when using put in Visual mode
+  2148  8.0.0235  memory leak in diff mode
+  2442  8.0.0236  (after 8.0.0234) gcc complains about uninitialized variable
+  2394  8.0.0237  when 'wildoptions' is "tagfile" completion may not work
+  2774  8.0.0238  bracketed paste does not disable autoindent
+  7028  8.0.0239  no CI with an address sanitizer
+  2354  8.0.0240  (after 8.0.0239) failure with one build on CI
+  4357  8.0.0241  fallback implementation of mch_memmove is unused
+  5272  8.0.0242  no tests for user command completion
+ 13660  8.0.0243  tolower() does not work if the byte count changes
+  1938  8.0.0244  making t_BE empty only has an effect before startup
+  2503  8.0.0245  zh_CN.cp936.po has a conversion error
+  1776  8.0.0246  compiler warnings for int to pointer conversion
+  4004  8.0.0247  need to type Ctrl-N twice to select a completion
+  1957  8.0.0248  vim_strcat() cannot handle overlapping arguments
+  1673  8.0.0249  CI failure when a submit is close to previous one
+  7214  8.0.0250  virtcol() does not work well for multi-byte characters
+ 34085  8.0.0251  not easy to select Python 2 or 3
+ 11565  8.0.0252  not properly recognizing word characters between 128 and 255
+  3039  8.0.0253  error when loading session if winminheight is 2
+  3951  8.0.0254  error message of assert functions is sometimes incomplete
+  6534  8.0.0255  setpos() does not use the buffer argument for all marks
+  2298  8.0.0256  (after 8.0.0255) missing changes to one file breaks test
+  1568  8.0.0257  (after 8.0.0252) test file missing in distribution
+  3289  8.0.0258  (after 8.0.0252) mksession test leaves file behind
+ 29178  8.0.0259  tab commands do not handle count correctly
+  5727  8.0.0260  build fails with tiny features
+  7063  8.0.0261  not enough test coverage for eval functions
+ 27088  8.0.0262  Farsi support is barely tested
+  6944  8.0.0263  Farsi support is not tested enough
+  1941  8.0.0264  memory error reported by ubsan
+  4752  8.0.0265  may get ml_get error when :pydo deletes lines
+  1362  8.0.0266  compiler warning for using uninitialized variable
+  1528  8.0.0267  channel test sometimes fails on Mac
+  4049  8.0.0268  may get ml_get error when :luado deletes lines
+  2936  8.0.0269  may get ml_get error when :perldo deletes lines
+  2709  8.0.0270  may get ml_get error when :rubydo deletes lines
+  3779  8.0.0271  may get ml_get error when :tcldo deletes lines
+  2505  8.0.0272  crash on exit is not detected when running tests
+  2819  8.0.0273  dead code detected by Coverity
+  2725  8.0.0274  possible recursive screen updating causes trouble
+  1864  8.0.0275  the screen may be updated at the wrong time
+  1541  8.0.0276  unnecessary #ifdefs
+  2395  8.0.0277  the GUI test may trigger fontconfig and take a long time
+  2112  8.0.0278  (after 8.0.0277) GUI test fails on MS-Windows
+  1905  8.0.0279  MSVC 2015 uses a different dll name
+  6559  8.0.0280  problem setting multi-byte environment var on MS-Windows
+ 23643  8.0.0281  some files are still using ARGSUSED instead of UNUSED
+  2099  8.0.0282  need to use CTRL-O twice when in Visual-Insert mode 
+  7048  8.0.0283  mode() does not indicate Insert mode completion
+  1897  8.0.0284  collapse buffers test failed once
+  2161  8.0.0285  (after 8.0.0277) tests fail with tiny build on Unix
+  5334  8.0.0286  not always redrawing after screen resize
+  1487  8.0.0287  debug mode: cannot access function arguments
+  1572  8.0.0288  (after 8.0.0284) errors reported while running tests
+  3731  8.0.0289  no test for "ga" and :ascii
+  2257  8.0.0290  cursor positioning wrong if wide character wraps
+  2416  8.0.0291  (after 8.0.0282) Visual block insert does not do all lines
+  4244  8.0.0292  the stat test is a bit slow
+  3179  8.0.0293  some tests have a one or three second wait
+  2196  8.0.0294  argument list is not stored correctly in a session file
+  1605  8.0.0295  (after 8.0.0293) test_viml hangs
+  6521  8.0.0296  bracketed paste can only append, not insert
+  7260  8.0.0297  double free on exit when using a closure
+  2556  8.0.0298  Ex command range with repeated search does not work
+  4367  8.0.0299  a window resize is sometimes not taking effect
+  3539  8.0.0300  cannot stop diffing hidden buffers
+  5370  8.0.0301  not enough testing for setting options
+  3498  8.0.0302  cannot set terminal key codes with :let
+  5979  8.0.0303  bracketed paste does not work in Visual mode
+  1841  8.0.0304  assign test fails in the GUI
+  2965  8.0.0305  invalid memory access when option has duplicate flag
+  4137  8.0.0306  mode() not sufficiently tested
+  3329  8.0.0307  asan detects a memory error when EXITFREE is defined
+  4890  8.0.0308 'runtimepath' not updated correctly when using symbolic link
+  2335  8.0.0309  cannot use an empty key in json
+  2490  8.0.0310  not enough testing for GUI functionality
+ 44867  8.0.0311  linebreak tests are old style
+  9065  8.0.0312  failure when a channel receives a split json message
+  3607  8.0.0313  (after 8.0.0310) not enough testing for GUI functionality
+  2511  8.0.0314  getcmd*() functions are not tested
+  2704  8.0.0315  :help :[range] does not work
+  2705  8.0.0316  :help z? does not work
+  3460  8.0.0317  no test for setting 'guifont'
+  1861  8.0.0318  small mistake in 7x13 font name
+  2972  8.0.0319  insert mode completion does not respect 'backspace'
+  1913  8.0.0320  warning for unused variable with small build
+  4716  8.0.0321  errors when trying to use scripts in tiny version
+  1503  8.0.0322  possible overflow with corrupted spell file
+  1805  8.0.0323  one second pause when running cmdline test
+  2630  8.0.0324  illegal memory access with a wrong yank range
+  1375  8.0.0325  packadd test does not clean up symlink
+  2061  8.0.0326  packadd test uses wrong directory name
+  1801  8.0.0327  error message in cmdline window is not translated
+  2066  8.0.0328  the "zero count" error doesn't have a number
+  6245  8.0.0329  xfontset and guifontwide are not tested
+  2256  8.0.0330  illegal memory access after "vapo"
+  3257  8.0.0331  restoring help snapshot accesses freed memory
+ 16678  8.0.0332  GUI test fails on some systems
+  2375  8.0.0333  illegal memory access when 'complete' ends in a backslash
+ 31136  8.0.0334  can't access b:changedtick from a dict reference
+  1835  8.0.0335  (after 8.0.0335) functions test fails
+  4355  8.0.0336  flags of :substitute not sufficiently tested
+  3833  8.0.0337  invalid memory access in :recover command
+  1601  8.0.0338  (after 8.0.0337) :recover test fails on MS-Windows
+  2024  8.0.0339  illegal memory access with vi'
+  1736  8.0.0340  not checking return valud of dict_add()
+  2228  8.0.0341  undo does not work properly when using completion
+  3653  8.0.0342  double free with EXITFREE and setting 'ttytype'
+  4108  8.0.0343  b:changedtick can be unlocked
+  1789  8.0.0344  unlet command leaks memory
+  4576  8.0.0345  islocked('d.changedtick') does not work
+  2270  8.0.0346  Vim relies on limits.h to be included indirectly
+  2758  8.0.0347  when using completion comment leader wont work
+  2009  8.0.0348  using shadow dir on Mac lack +clipboard
+  3264  8.0.0349  redrawing errors with GTK 3
+  5799  8.0.0350  not enough test coverage for Perl
+  1416  8.0.0351  no test for concatenating an empty string
+  5530  8.0.0352  not easy to see when a typval needs to be cleared
+  1602  8.0.0353  if [RO] is translated it may be truncated
+  1633  8.0.0354  test to check that setting termcap key fails sometimes
+  3938  8.0.0355  using uninitialized memory when 'isfname' is empty
+  1408  8.0.0356  (after 8.0.0342) leaking memory when setting 'ttytype'
+  3306  8.0.0357  crash when setting 'guicursor' to weird value
+  1966  8.0.0358  invalid memory access in C-indent code
+ 13775  8.0.0359  'number' and 'relativenumber' are not properly tested
+ 84421  8.0.0360  sometimes VimL is used instead of "Vim script"
+ 20246  8.0.0361  GUI initialisation is not sufficiently tested
+  1807  8.0.0362  (after 8.0.0361) tests fail on MS-Windows
+  1487  8.0.0363  Travis is too slow to keep up with patches
+  3904  8.0.0364  ]s does not move cursor with two spell errors in one line
+ 14739  8.0.0365  might free a dict item that wasn't allocated
+  1386  8.0.0366  (after 8.0.0365) build fails with tiny features
+  4008  8.0.0367  types in include files may be inconsistent
+ 12500  8.0.0368  not all options are tested with a range of values
+  4768  8.0.0369  a few options are not defined, depending on features
+  4004  8.0.0370  invalid memory access when setting wildchar empty
+  1542  8.0.0371  leaking memory when setting v:completed_item 
+ 17997  8.0.0372  more options are not always defined
+  1623  8.0.0373  build fails without +folding
+  2744  8.0.0374  invalid memory access when using :sc in Ex mode
+  2952  8.0.0375  the "+ register is not tested
+  2125  8.0.0376  size computations in spell file reading are off
+  2280  8.0.0377  possible overflow when reading corrupted undo file
+  2168  8.0.0378  another possible overflow when reading corrupted undo file
+  2648  8.0.0379  CTRL-Z and mouse click use CTRL-O unnecessary
+  3958  8.0.0380  with 'linebreak' double wide char wraps badly
+  2839  8.0.0381  diff mode is not sufficiently tested
+  2167  8.0.0382  (after 8.0.0380) warning in tiny build for unused variable
+  2027  8.0.0383  (after 8.0.0382) misplaced #ifdef
+  1434  8.0.0384  timer test failed for no apparent reason
+  4541  8.0.0385  no tests for arabic
+  2420  8.0.0386  tiny build has a problem with generating the options test
+  3077  8.0.0387  compiler warnings
+  5447  8.0.0388  filtering lines changes folds
+  6155  8.0.0389  test for arabic does not check what is displayed
+  4647  8.0.0390  when the window scrolls the popup menu may be garbled
+ 27150  8.0.0391  arabic support is verbose and not well tested
+  6164  8.0.0392  GUI test fails with Athena and Motif
+  7138  8.0.0393  (after 8.0.0190) order of duplicate tags is not preserved
+  5883  8.0.0394  tabs are not aligned when scrolling horizontally
+  4043  8.0.0395  testing the + register fails with Motif
+  7033  8.0.0396  'balloonexpr' only works synchronously
+  2051  8.0.0397  (after 8.0.0392) can't build with +viminfo but without +eval
+  1959  8.0.0398  illegal memory access with "t"
+  1975  8.0.0399  crash when using balloon_show() when not supported
+  1385  8.0.0400  some tests have a one second delay
+  1496  8.0.0401  test fails with missing balloon feature
+  3185  8.0.0402  :map completion does not have <special>
+  3206  8.0.0403  GUI tests may fail
+  4812  8.0.0404  not enough testing for quickfix
+  4738  8.0.0405  v:progpath may become invalid after :cd
+ 13541  8.0.0406  arabic shaping code is verbose
+  2047  8.0.0407  filtering folds with marker method not tested
+  7144  8.0.0408  updating folds does not always work properly
+  1405  8.0.0409  set_progpath is defined but not always used
+  2563  8.0.0410  newer gettext/iconv library has extra dll file
+  3043  8.0.0411  menu translations don't match when case is changed
+  1672  8.0.0412  (after 8.0.0411) menu test fails on MS-Windows
+  1693  8.0.0413  (after 8.0.0412) menu test fails on MS-Windows using gvim
+  5579  8.0.0414  balloon eval is not tested
+  2027  8.0.0415  (after 8.0.0414) balloon test fails on MS-Windows
+  8092  8.0.0416  setting v:progpath is not quite right
+  1355  8.0.0417  test for the clipboard fails sometimes
+  5462  8.0.0418  ASAN logs are disabled
+  3371  8.0.0419  test for v:progpath fails on MS-Windows
+ 26383  8.0.0420  text garbled when the system encoding differs from 'encoding'
+  5449  8.0.0421  diff mode wrong when adding line at end of buffer
+  4309  8.0.0422  Python test fails with Python 3.6
+  3427  8.0.0423  changing 'cinoptions' does not always work
+  1754  8.0.0424  compiler warnings on MS-Windows
+  3998  8.0.0425  build errors when building without folding
+ 10681  8.0.0426  insufficient testing for statusline
+  2327  8.0.0427  'makeencoding' missing from the options window
+ 23276  8.0.0428  git and hg see new files after running tests
+  4323  8.0.0429  (after 8.0.0428) options test does not always test everything
+  7387  8.0.0430  (after 8.0.0429) options test fails or hangs on MS-Windows
+  7944  8.0.0431  'cinoptions' cannot set indent for extern block
+  1795  8.0.0432  "make shadow" creates an invalid link
+ 11157  8.0.0433  beeps when running tests
+  7314  8.0.0434  clang version not correctly detected
+  9440  8.0.0435  some functions are not tested
+  1579  8.0.0436  running the options test sometimes resizes the terminal
+  1850  8.0.0437  packadd test does not fully work
+  1928  8.0.0438  the fnamemodify test may cause later tests to fail
+  2369  8.0.0439  ":%argdel" gives an error for an empty arglist
+ 58900  8.0.0440  not enough test coverage in Insert mode
+  1779  8.0.0441  dead code in #ifdef
+  2786  8.0.0442  patch shell command not well escaped
+  1497  8.0.0443  terminal width is set to 80 in test3
+  3899  8.0.0444  (after 8.0.0442) diffpatch fails when file name has a quote
+  5000  8.0.0445  getpgid is not supported on all systems
+  3360  8.0.0446  the ";" command does not work after some characters
+ 17171  8.0.0447  getting font name does not work on X11
+ 68909  8.0.0448  some macros are in lower case
+  3323  8.0.0449  (after 8.0.0448) part of fold patch accidentally included
+  2909  8.0.0450  v:progpath is not reliably set
+ 75599  8.0.0451  some macros are in lower case
+ 89169  8.0.0452  some macros are in lower case
+  4669  8.0.0453  adding fold marker creates new comment
+  2689  8.0.0454  compiler warnings for "always true" comparison
+  2094  8.0.0455  the mode test may hang
+  1676  8.0.0456  typo in MinGW test makefile
+ 18249  8.0.0457  using :move messes up manual folds
+  2240  8.0.0458  potential crash if adding list or dict to dict fails
+  2116  8.0.0459  (after 8.0.0457) old folding fix for :move no longer needed
+  2113  8.0.0460  can't build on HPUX
+  3904  8.0.0461  (after 8.0.0457) test 45 hangs on MS-Windows
+  1629  8.0.0462  failure of an MS-Windows test may go unnoticed
+  2351  8.0.0463  side effects from resetting 'compatible' in defaults.vim
+  5318  8.0.0464  can't find executable name on Solaris and FreeBSD
+  5506  8.0.0465  off-by-one error in using :move with folding
+ 89133  8.0.0466  still macros that should be all-caps
+  2045  8.0.0467  using g< after :for does not show the right output
+  7321  8.0.0468  after aborting an Ex command g< does not work
+  2113  8.0.0469  compiler warnings on MS-Windows
+  3390  8.0.0470  not enough testing for help commands
+  1511  8.0.0471  exit callback test sometimes fails
+  1864  8.0.0472  when a test fails another test may also fail
+  6263  8.0.0473  no test covering arg_all()
+  6516  8.0.0474  the client-server feature is not tested
+  8793  8.0.0475  not enough testing for the client-server feature
+  2772  8.0.0476  (after 8.0.0475) missing change to main.c
+ 16241  8.0.0477  the client-server test may hang when failing
+ 19473  8.0.0478  tests use assert_true(0) and assert_false(1) to report errors
+  2760  8.0.0479  remote_peek() is not tested
+  2853  8.0.0480  the remote_peek() test fails on MS-Windows
+  6323  8.0.0481  unnecessary if statement
+  2924  8.0.0482  the setbufvar() function may mess up the window layout
+  2043  8.0.0483  illegal memory access when using :all
+ 17065  8.0.0484  :lhelpgrep does not fail after a successful one
+ 14261  8.0.0485  not all windows commands are tested
+  6314  8.0.0486  crash and endless loop when closing windows in autocmd
+  1762  8.0.0487  the autocmd test hangs on MS-Windows
+  1920  8.0.0488  running tests leaves an "xxx" file behind
+  6401  8.0.0489  clipboard and "* register is not tested
+  3508  8.0.0490  vertical split makes 'winfixwidth' window smaller
+  1502  8.0.0491  quotestar test fails when features are missing
+ 24562  8.0.0492  a failing client-server request can make Vim hang
+  5933  8.0.0493  crash with cd command with very long argument
+  3265  8.0.0494  build failure with older compiler on MS-Windows
+  4891  8.0.0495  quotestar test uses timer instead of timeout
+  3628  8.0.0496  insufficient testing for folding
+  7652  8.0.0497  arabic support is not fully tested
+  5408  8.0.0498  two autocmd tests are skipped on MS-Windows
+  8222  8.0.0499  taglist() does not prioritize tags for a buffer
+  2295  8.0.0500  quotestar test is still a bit flaky
+  4535  8.0.0501  on MS-Windows ":!start" does not work as expected
+  1456  8.0.0502  Coverity complains about possible NULL pointer
+  1663  8.0.0503  endless loop in updating folds with 32 bit ints
+ 11457  8.0.0504  looking up an Ex command is a bit slow
+  1753  8.0.0505  failed window split for :stag not handled
+  1852  8.0.0506  can't build with ANSI C
+  2262  8.0.0507  client-server tests fail when $DISPLAY is not set
+  1530  8.0.0508  Coveralls no longer shows per-file coverage
+  2090  8.0.0509  no link to codecov.io results
+  2537  8.0.0510  (after 8.0.0509) typo in link to codecov.io results
+  2757  8.0.0511  message for skipping client-server tests is unclear
+  1601  8.0.0512  check for available characters takes too long
+  6138  8.0.0513  getting name of cleared highlight group is wrong
+  3416  8.0.0514  script for creating cmdidxs can be improved
+  3092  8.0.0515  ml_get errors in silent Ex mode
+  3764  8.0.0516  a large count on a normal command causes trouble
+ 12336  8.0.0517  there is no way to remove quickfix lists
+  4256  8.0.0518  bad fold text when a multi-byte char has a zero byte
+ 12471  8.0.0519  character classes are not well tested
+  9607  8.0.0520  using a function pointer while the function is known
+  8182  8.0.0521  GtkForm handling is outdated
+  5291  8.0.0522  Win32: when 'clipboard' is "unnamed" yyp does not work
+  2512  8.0.0523  dv} deletes part of a multi-byte character.
+  2130  8.0.0524  (after 8.0.0518) folds messed up
+  1596  8.0.0525  completion for user command argument not tested
+  2115  8.0.0526  Coverity complains about possible negative value
+  4049  8.0.0527  leftover file from RISC OS
+  1789  8.0.0528  highlight wrong text when 'wim' includes "longest"
+  3722  8.0.0529  line in test commented out
+  3656  8.0.0530  buffer overflow when 'columns' is very big
+  1488  8.0.0531  test with long directory name fails on non-unix systems
+  1512  8.0.0532  test with long directory name fails on Mac
+  2399  8.0.0533  abbreviation doesn't work after backspacing newline
+  2093  8.0.0534  defaults.vim does not work well with tiny features
+  5383  8.0.0535  memory leak when exiting from within a user function
+  5267  8.0.0536  quickfix window not updated when freeing quickfix stack
+  6654  8.0.0537  illegal memory access with :z and large count
+  1659  8.0.0538  no test for falling back to default term value
+  3254  8.0.0539  (after 8.0.0538) startup test fails on Mac
+  2353  8.0.0540  (after 8.0.0540) building unit tests fails
+  1579  8.0.0541  compiler warning on MS-Windows
+  3256  8.0.0542  getpos() can return a negative line number
+ 12057  8.0.0543  test_edit causes older xfce4-terminal to close
+  2915  8.0.0544  cppcheck warnings
+  2906  8.0.0545  edit test may fail on some systems
+  3848  8.0.0546  swap file exists briefly when opening the command window
+  2138  8.0.0547  extra line break in verbosefile
+  8508  8.0.0548  saving the redo buffer only works one time
+  3809  8.0.0549  no test for the 8g8 command
+  3889  8.0.0550  cannot parse some etags format tags file
+  3065  8.0.0551  the typeahead buffer is reallocated too often
+  3094  8.0.0552  toupper and tolower don't work properly for Turkish
+  2645  8.0.0553  toupper/tolower test fails on Mac
+  2613  8.0.0554  toupper and tolower don't work properly for Turkish
+  1690  8.0.0555  toupper/tolower test fails on OSX without Darwin
+  1856  8.0.0556  getting window position fails if GUI and term possible
+  3402  8.0.0557  GTK: using static gravities is not useful
+  2178  8.0.0558  :ownsyntax is not tested
+  2487  8.0.0559  setting ttytype to xxx does not always fail
+  1628  8.0.0560  :windo allows for ! but it's not supported
+  2560  8.0.0561  undefined behavior when using backslash after empty line
+  3779  8.0.0562  not enough test coverage for syntax commands
+  1390  8.0.0563  crash when getting the window position in tmux
+  2093  8.0.0564  cannot detect Bazel BUILD files on some systems
+  1650  8.0.0565  using freed memory in :caddbuf
+  2658  8.0.0566  setting nocompatible for the tiny version moves the cursor
+  2107  8.0.0567  call for requesting color and ambiwidth is too early
+  2280  8.0.0568  1gd may hang
+  2406  8.0.0569  bracketed paste is still enabled in a shell command
+ 38397  8.0.0570  can't run make with several jobs
+  2778  8.0.0571  negative line number when using :z^ in an empty buffer
+ 18801  8.0.0572  building the command table requires Perl
+  2883  8.0.0573  running parallel make after distclean fails
+  9080  8.0.0574  get only one quickfix list after :caddbuf
+  2613  8.0.0575  using freed memory when resetting 'indentexpr'
+  7547  8.0.0576  can't build when configure choses "install-sh"
+  1591  8.0.0577  warning for uninitialized variable
+  2412  8.0.0578  :simalt on MS-Windows does not work properly
+  1424  8.0.0579  duplicate test case for quickfix
+  3715  8.0.0580  cannot set the valid flag with setqflist()
+  6905  8.0.0581  moving folded text is sometimes not correct
+  6454  8.0.0582  illegal memory access with z= command
+  2578  8.0.0583  fold test hangs on MS-Windows
+  1378  8.0.0584  memory leak when executing quickfix tests
+  2227  8.0.0585  test_options fails when run in the GUI
+  1956  8.0.0586  no test for mapping timing out
+  5097  8.0.0587  configure check for return value of tgetent skipped
+  2259  8.0.0588  job_stop() often assumes the channel will be closed
+  2014  8.0.0589  (after 8.0.0578) :simalt still does not work
+  7364  8.0.0590  cannot add a context to locations
+ 41017  8.0.0591  changes to eval functionality not documented
+ 10763  8.0.0592  if a job writes to a buffer screen is not updated
+ 11715  8.0.0593  duplication of code for adding a list or dict return value
+  1450  8.0.0594  (after 8.0.0592) build failure when windows feature is missing
+  1834  8.0.0595  (after 8.0.0590) Coverity warning for not checking return value
+  6277  8.0.0596  crash when complete() called after complete_add()
+  3062  8.0.0597  off-by-one error in size computation
+  1452  8.0.0598  building with gcc 7.1 yields new warnings
+  7317  8.0.0599  diff mode is insufficiently tested
+  1583  8.0.0600  test_recover fails on some systems
+  1951  8.0.0601  no test coverage for :spellrepall
+  3323  8.0.0602  when gF fails to edit the file the cursor still moves
+  1630  8.0.0603  gF test fails on MS-Windows
+  1951  8.0.0604  gF test still fails on MS-Windows
+  2682  8.0.0605  the quickfix cached buffer may become invalid
+  4681  8.0.0606  cannot set the context for a specified quickfix list
diff --git a/debian/patches/debian/Add-recognition-of-more-LaTeX-commands-for-tex-filetype-d.patch b/debian/patches/debian/Add-recognition-of-more-LaTeX-commands-for-tex-filetype-d.patch
index 49027cc..ab40bfc 100644
--- a/debian/patches/debian/Add-recognition-of-more-LaTeX-commands-for-tex-filetype-d.patch
+++ b/debian/patches/debian/Add-recognition-of-more-LaTeX-commands-for-tex-filetype-d.patch
@@ -13,10 +13,10 @@ Signed-off-by: James McCoy <jamessan at debian.org>
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/runtime/filetype.vim b/runtime/filetype.vim
-index 9c9c808b4..13e2c0479 100644
+index 8758dd2..3adb39c 100644
 --- a/runtime/filetype.vim
 +++ b/runtime/filetype.vim
-@@ -2227,7 +2227,7 @@ func! s:FTtex()
+@@ -2244,7 +2244,7 @@ func! s:FTtex()
      call cursor(1,1)
      let firstNC = search('^\s*[^[:space:]%]', 'c', 1000)
      if firstNC " Check the next thousand lines for a LaTeX or ConTeXt keyword.
diff --git a/debian/patches/debian/Detect-the-rst-filetype-using-the-contents-of-the-file.patch b/debian/patches/debian/Detect-the-rst-filetype-using-the-contents-of-the-file.patch
index dca240d..5a33276 100644
--- a/debian/patches/debian/Detect-the-rst-filetype-using-the-contents-of-the-file.patch
+++ b/debian/patches/debian/Detect-the-rst-filetype-using-the-contents-of-the-file.patch
@@ -8,10 +8,10 @@ Closes: #382541
  1 file changed, 8 insertions(+)
 
 diff --git a/runtime/scripts.vim b/runtime/scripts.vim
-index 276382808..d3101c6b7 100644
+index c81253f..7464af1 100644
 --- a/runtime/scripts.vim
 +++ b/runtime/scripts.vim
-@@ -332,6 +332,14 @@ else
+@@ -344,6 +344,14 @@ else
    elseif s:line1 =~ 'exec\s\+\S*scheme' || s:line2 =~ 'exec\s\+\S*scheme'
      set ft=scheme
  
diff --git a/debian/patches/debian/Document-Debian-s-decision-to-disable-modelines-by-defaul.patch b/debian/patches/debian/Document-Debian-s-decision-to-disable-modelines-by-defaul.patch
index 26ea6c5..9659a29 100644
--- a/debian/patches/debian/Document-Debian-s-decision-to-disable-modelines-by-defaul.patch
+++ b/debian/patches/debian/Document-Debian-s-decision-to-disable-modelines-by-defaul.patch
@@ -15,10 +15,10 @@ Signed-off-by: James McCoy <jamessan at debian.org>
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
-index 88dca60b7..2520cc3d6 100644
+index c6fc424..ec7dea8 100644
 --- a/runtime/doc/options.txt
 +++ b/runtime/doc/options.txt
-@@ -5126,7 +5126,7 @@ A jump table for the options with a short description can be found at |Q_op|.
+@@ -5210,7 +5210,7 @@ A jump table for the options with a short description can be found at |Q_op|.
  
  				   *'modeline'* *'ml'* *'nomodeline'* *'noml'*
  'modeline' 'ml'		boolean	(Vim default: on (off for root),
diff --git a/debian/patches/debian/Support-sourcing-a-vimrc.tiny-when-Vim-is-invoked-as-vi.patch b/debian/patches/debian/Support-sourcing-a-vimrc.tiny-when-Vim-is-invoked-as-vi.patch
index c016771..127e63e 100644
--- a/debian/patches/debian/Support-sourcing-a-vimrc.tiny-when-Vim-is-invoked-as-vi.patch
+++ b/debian/patches/debian/Support-sourcing-a-vimrc.tiny-when-Vim-is-invoked-as-vi.patch
@@ -17,10 +17,10 @@ Signed-off-by: James Vega <jamessan at debian.org>
  3 files changed, 19 insertions(+), 1 deletion(-)
 
 diff --git a/src/main.c b/src/main.c
-index f3c471a85..0d7de4f2c 100644
+index 883c9cc..d62e1c9 100644
 --- a/src/main.c
 +++ b/src/main.c
-@@ -1729,6 +1729,10 @@ parse_command_name(mparm_T *parmp)
+@@ -1750,6 +1750,10 @@ parse_command_name(mparm_T *parmp)
      }
      else if (STRNICMP(initstr, "vim", 3) == 0)
  	initstr += 3;
@@ -31,7 +31,7 @@ index f3c471a85..0d7de4f2c 100644
  
      /* Catch "[r][g]vimdiff" and "[r][g]viewdiff". */
      if (STRICMP(initstr, "diff") == 0)
-@@ -2972,7 +2976,12 @@ source_startup_scripts(mparm_T *parmp)
+@@ -2993,7 +2997,12 @@ source_startup_scripts(mparm_T *parmp)
  	 * Get system wide defaults, if the file name is defined.
  	 */
  #ifdef SYS_VIMRC_FILE
@@ -45,7 +45,7 @@ index f3c471a85..0d7de4f2c 100644
  #endif
  #ifdef MACOS_X
  	(void)do_source((char_u *)"$VIMRUNTIME/macmap.vim", FALSE, DOSO_NONE);
-@@ -3008,6 +3017,9 @@ source_startup_scripts(mparm_T *parmp)
+@@ -3029,6 +3038,9 @@ source_startup_scripts(mparm_T *parmp)
  #ifdef USR_EXRC_FILE2
  		&& do_source((char_u *)USR_EXRC_FILE2, FALSE, DOSO_NONE) == FAIL
  #endif
@@ -56,7 +56,7 @@ index f3c471a85..0d7de4f2c 100644
  	    {
  		/* When no .vimrc file was found: source defaults.vim. */
 diff --git a/src/os_unix.h b/src/os_unix.h
-index d28aa4dde..3a00e05df 100644
+index 695affa..b6e7e59 100644
 --- a/src/os_unix.h
 +++ b/src/os_unix.h
 @@ -213,6 +213,9 @@ typedef struct dsc$descriptor   DESC;
@@ -70,10 +70,10 @@ index d28aa4dde..3a00e05df 100644
  # define SYS_VIMRC_FILE "$VIM/vimrc"
  #endif
 diff --git a/src/structs.h b/src/structs.h
-index 9c0e0468b..988ce660f 100644
+index 0175017..532f3bd 100644
 --- a/src/structs.h
 +++ b/src/structs.h
-@@ -3261,6 +3261,9 @@ typedef struct
+@@ -3295,6 +3295,9 @@ typedef struct
  #ifdef FEAT_DIFF
      int		diff_mode;		/* start with 'diff' set */
  #endif
diff --git a/debian/patches/series b/debian/patches/series
index ce944e0..6c473bf 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,10 +3,4 @@ debian/Support-sourcing-a-vimrc.tiny-when-Vim-is-invoked-as-vi.patch
 debian/Detect-the-rst-filetype-using-the-contents-of-the-file.patch
 debian/Add-recognition-of-more-LaTeX-commands-for-tex-filetype-d.patch
 debian/Document-Debian-s-decision-to-disable-modelines-by-defaul.patch
-upstream/Add-Zesty-Zapus-to-deb-changelog-sources-syntax-files.patch
-upstream/debcontrol.vim-Add-sections-for-Rust-and-JavaScript.patch
-upstream/patch-8.0.0322-possible-overflow-with-corrupted-spell-fil.patch
-upstream/patch-8.0.0377-possible-overflow-when-reading-corrupted-u.patch
-upstream/patch-8.0.0378-possible-overflow-when-reading-corrupted-u.patch
-upstream/patch-8.0.0550-cannot-parse-some-etags-format-tags-file.patch
 upstream/Update-releases-in-deb-changelog-sources-syntax-files.patch
diff --git a/debian/patches/upstream/Add-Zesty-Zapus-to-deb-changelog-sources-syntax-files.patch b/debian/patches/upstream/Add-Zesty-Zapus-to-deb-changelog-sources-syntax-files.patch
deleted file mode 100644
index 2234e8c..0000000
--- a/debian/patches/upstream/Add-Zesty-Zapus-to-deb-changelog-sources-syntax-files.patch
+++ /dev/null
@@ -1,53 +0,0 @@
-From: James McCoy <jamessan at debian.org>
-Date: Sat, 12 Nov 2016 12:40:03 -0500
-Subject: Add Zesty Zapus to deb{changelog,sources} syntax files
-
----
- runtime/syntax/debchangelog.vim | 4 ++--
- runtime/syntax/debsources.vim   | 4 ++--
- 2 files changed, 4 insertions(+), 4 deletions(-)
-
-diff --git a/runtime/syntax/debchangelog.vim b/runtime/syntax/debchangelog.vim
-index a10e4ad34..eb02aaf4a 100644
---- a/runtime/syntax/debchangelog.vim
-+++ b/runtime/syntax/debchangelog.vim
-@@ -3,7 +3,7 @@
- " Maintainer:  Debian Vim Maintainers <pkg-vim-maintainers at lists.alioth.debian.org>
- " Former Maintainers: Gerfried Fuchs <alfie at ist.org>
- "                     Wichert Akkerman <wakkerma at debian.org>
--" Last Change: 2016 Aug 30
-+" Last Change: 2016 Nov 12
- " URL: https://anonscm.debian.org/cgit/pkg-vim/vim.git/plain/runtime/syntax/debchangelog.vim
- 
- " Standard syntax initialization
-@@ -21,7 +21,7 @@ let binNMU='binary-only=yes'
- syn match debchangelogName	contained "^[[:alnum:]][[:alnum:].+-]\+ "
- exe 'syn match debchangelogFirstKV	contained "; \('.urgency.'\|'.binNMU.'\)"'
- exe 'syn match debchangelogOtherKV	contained ", \('.urgency.'\|'.binNMU.'\)"'
--syn match debchangelogTarget	contained "\v %(frozen|unstable|sid|%(testing|%(old)=stable)%(-proposed-updates|-security)=|experimental|squeeze-%(backports%(-sloppy)=|volatile|lts|security)|wheezy-%(backports%(-sloppy)=|security)|jessie%(-backports|-security)=|stretch|%(devel|precise|trusty|vivid|wily|xenial|yakkety)%(-%(security|proposed|updates|backports|commercial|partner))=)+"
-+syn match debchangelogTarget	contained "\v %(frozen|unstable|sid|%(testing|%(old)=stable)%(-proposed-updates|-security)=|experimental|squeeze-%(backports%(-sloppy)=|volatile|lts|security)|wheezy-%(backports%(-sloppy)=|security)|jessie%(-backports|-security)=|stretch|%(devel|precise|trusty|vivid|wily|xenial|yakkety|zesty)%(-%(security|proposed|updates|backports|commercial|partner))=)+"
- syn match debchangelogVersion	contained "(.\{-})"
- syn match debchangelogCloses	contained "closes:\_s*\(bug\)\=#\=\_s\=\d\+\(,\_s*\(bug\)\=#\=\_s\=\d\+\)*"
- syn match debchangelogLP	contained "\clp:\s\+#\d\+\(,\s*#\d\+\)*"
-diff --git a/runtime/syntax/debsources.vim b/runtime/syntax/debsources.vim
-index 277794497..390c43035 100644
---- a/runtime/syntax/debsources.vim
-+++ b/runtime/syntax/debsources.vim
-@@ -2,7 +2,7 @@
- " Language:     Debian sources.list
- " Maintainer:   Debian Vim Maintainers <pkg-vim-maintainers at lists.alioth.debian.org>
- " Former Maintainer: Matthijs Mohlmann <matthijs at cacholong.nl>
--" Last Change: 2016 Sep 27
-+" Last Change: 2016 Nov 12
- " URL: https://anonscm.debian.org/cgit/pkg-vim/vim.git/plain/runtime/syntax/debsources.vim
- 
- " Standard syntax initialization
-@@ -25,7 +25,7 @@ let s:supported = [
-       \ 'oldstable', 'stable', 'testing', 'unstable', 'experimental',
-       \ 'squeeze', 'wheezy', 'jessie', 'stretch', 'sid', 'rc-buggy',
-       \
--      \ 'precise', 'trusty', 'xenial', 'yakkety', 'devel'
-+      \ 'precise', 'trusty', 'xenial', 'yakkety', 'zesty', 'devel'
-       \ ]
- let s:unsupported = [
-       \ 'buzz', 'rex', 'bo', 'hamm', 'slink', 'potato',
diff --git a/debian/patches/upstream/Support-defining-compilation-date-in-SOURCE_DATE_EPOCH.patch b/debian/patches/upstream/Support-defining-compilation-date-in-SOURCE_DATE_EPOCH.patch
index 978c638..3f7dbb0 100644
--- a/debian/patches/upstream/Support-defining-compilation-date-in-SOURCE_DATE_EPOCH.patch
+++ b/debian/patches/upstream/Support-defining-compilation-date-in-SOURCE_DATE_EPOCH.patch
@@ -23,7 +23,7 @@ preprocessor's __DATE__/__TIME__ symbols will be used.
  3 files changed, 19 insertions(+)
 
 diff --git a/src/config.h.in b/src/config.h.in
-index 38b0ccf53..ab8f20207 100644
+index f8a23ed..80ae70c 100644
 --- a/src/config.h.in
 +++ b/src/config.h.in
 @@ -30,6 +30,9 @@
@@ -37,7 +37,7 @@ index 38b0ccf53..ab8f20207 100644
  #undef HAVE_ATTRIBUTE_UNUSED
  
 diff --git a/src/configure.ac b/src/configure.ac
-index 1706a8d9a..9cf8b9615 100644
+index d424550..9e9e879 100644
 --- a/src/configure.ac
 +++ b/src/configure.ac
 @@ -29,6 +29,16 @@ dnl in autoconf needs it, where it uses STDC_HEADERS.
@@ -58,7 +58,7 @@ index 1706a8d9a..9cf8b9615 100644
  
  AC_MSG_CHECKING(--enable-fail-if-missing argument)
 diff --git a/src/version.c b/src/version.c
-index 71c04506f..dacb42db0 100644
+index 0daa349..08a812b 100644
 --- a/src/version.c
 +++ b/src/version.c
 @@ -44,11 +44,17 @@ make_version(void)
diff --git a/debian/patches/upstream/debcontrol.vim-Add-sections-for-Rust-and-JavaScript.patch b/debian/patches/upstream/debcontrol.vim-Add-sections-for-Rust-and-JavaScript.patch
deleted file mode 100644
index 86ccc56..0000000
--- a/debian/patches/upstream/debcontrol.vim-Add-sections-for-Rust-and-JavaScript.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-From: Josh Triplett <josh at joshtriplett.org>
-Date: Thu, 8 Dec 2016 20:12:55 -0800
-Subject: debcontrol.vim: Add sections for Rust and JavaScript
-
-Signed-off-by: James McCoy <jamessan at debian.org>
----
- runtime/syntax/debcontrol.vim | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/runtime/syntax/debcontrol.vim b/runtime/syntax/debcontrol.vim
-index b52c496c9..b1bc9f8bf 100644
---- a/runtime/syntax/debcontrol.vim
-+++ b/runtime/syntax/debcontrol.vim
-@@ -38,7 +38,7 @@ unlet s:kernels s:archs s:pairs
- syn match debcontrolMultiArch contained "\%(no\|foreign\|allowed\|same\)"
- syn match debcontrolName contained "[a-z0-9][a-z0-9+.-]\+"
- syn match debcontrolPriority contained "\(extra\|important\|optional\|required\|standard\)"
--syn match debcontrolSection contained "\v((contrib|non-free|non-US/main|non-US/contrib|non-US/non-free|restricted|universe|multiverse)/)?(admin|cli-mono|comm|database|debian-installer|debug|devel|doc|editors|education|electronics|embedded|fonts|games|gnome|gnustep|gnu-r|graphics|hamradio|haskell|httpd|interpreters|introspection|java|kde|kernel|libs|libdevel|lisp|localization|mail|math|metapackages|misc|net|news|ocaml|oldlibs|otherosfs|perl|php|python|ruby|science|shells|sound|text|tex|u [...]
-+syn match debcontrolSection contained "\v((contrib|non-free|non-US/main|non-US/contrib|non-US/non-free|restricted|universe|multiverse)/)?(admin|cli-mono|comm|database|debian-installer|debug|devel|doc|editors|education|electronics|embedded|fonts|games|gnome|gnustep|gnu-r|graphics|hamradio|haskell|httpd|interpreters|introspection|java|javascript|kde|kernel|libs|libdevel|lisp|localization|mail|math|metapackages|misc|net|news|ocaml|oldlibs|otherosfs|perl|php|python|ruby|rust|science|shells| [...]
- syn match debcontrolPackageType contained "u\?deb"
- syn match debcontrolVariable contained "\${.\{-}}"
- syn match debcontrolDmUpload contained "\cyes"
diff --git a/debian/patches/upstream/patch-8.0.0322-possible-overflow-with-corrupted-spell-fil.patch b/debian/patches/upstream/patch-8.0.0322-possible-overflow-with-corrupted-spell-fil.patch
deleted file mode 100644
index 4e6a728..0000000
--- a/debian/patches/upstream/patch-8.0.0322-possible-overflow-with-corrupted-spell-fil.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-From: Bram Moolenaar <Bram at vim.org>
-Date: Thu, 9 Feb 2017 21:07:12 +0100
-Subject: patch 8.0.0322: possible overflow with corrupted spell file
-
-Problem:    Possible overflow with spell file where the tree length is
-            corrupted.
-Solution:   Check for an invalid length (suggested by shqking)
----
- src/spellfile.c | 3 +++
- src/version.c   | 2 ++
- 2 files changed, 5 insertions(+)
-
-diff --git a/src/spellfile.c b/src/spellfile.c
-index c7d87c6..8b1a3a6 100644
---- a/src/spellfile.c
-+++ b/src/spellfile.c
-@@ -1595,6 +1595,9 @@ spell_read_tree(
-     len = get4c(fd);
-     if (len < 0)
- 	return SP_TRUNCERROR;
-+    if (len >= 0x3ffffff)
-+	/* Invalid length, multiply with sizeof(int) would overflow. */
-+	return SP_FORMERROR;
-     if (len > 0)
-     {
- 	/* Allocate the byte array. */
-diff --git a/src/version.c b/src/version.c
-index dacb42d..c851d87 100644
---- a/src/version.c
-+++ b/src/version.c
-@@ -771,6 +771,8 @@ static char *(features[]) =
- static int included_patches[] =
- {   /* Add new patch number below this line */
- /**/
-+    322,
-+/**/
-     197,
- /**/
-     196,
diff --git a/debian/patches/upstream/patch-8.0.0377-possible-overflow-when-reading-corrupted-u.patch b/debian/patches/upstream/patch-8.0.0377-possible-overflow-when-reading-corrupted-u.patch
deleted file mode 100644
index 9d47b8e..0000000
--- a/debian/patches/upstream/patch-8.0.0377-possible-overflow-when-reading-corrupted-u.patch
+++ /dev/null
@@ -1,47 +0,0 @@
-From: Bram Moolenaar <Bram at vim.org>
-Date: Sun, 26 Feb 2017 18:11:36 +0100
-Subject: patch 8.0.0377: possible overflow when reading corrupted undo file
-
-Problem:    Possible overflow when reading corrupted undo file.
-Solution:   Check if allocated size is not too big. (King)
----
- src/undo.c    | 5 +++--
- src/version.c | 2 ++
- 2 files changed, 5 insertions(+), 2 deletions(-)
-
-diff --git a/src/undo.c b/src/undo.c
-index 607f35f..9a6875b 100644
---- a/src/undo.c
-+++ b/src/undo.c
-@@ -1787,7 +1787,7 @@ u_read_undo(char_u *name, char_u *hash, char_u *orig_name)
-     linenr_T	line_lnum;
-     colnr_T	line_colnr;
-     linenr_T	line_count;
--    int		num_head = 0;
-+    long	num_head = 0;
-     long	old_header_seq, new_header_seq, cur_header_seq;
-     long	seq_last, seq_cur;
-     long	last_save_nr = 0;
-@@ -1974,7 +1974,8 @@ u_read_undo(char_u *name, char_u *hash, char_u *orig_name)
-      * When there are no headers uhp_table is NULL. */
-     if (num_head > 0)
-     {
--	uhp_table = (u_header_T **)U_ALLOC_LINE(
-+	if (num_head < LONG_MAX / (long)sizeof(u_header_T *))
-+	    uhp_table = (u_header_T **)U_ALLOC_LINE(
- 					     num_head * sizeof(u_header_T *));
- 	if (uhp_table == NULL)
- 	    goto error;
-diff --git a/src/version.c b/src/version.c
-index c851d87..4c81879 100644
---- a/src/version.c
-+++ b/src/version.c
-@@ -771,6 +771,8 @@ static char *(features[]) =
- static int included_patches[] =
- {   /* Add new patch number below this line */
- /**/
-+    377,
-+/**/
-     322,
- /**/
-     197,
diff --git a/debian/patches/upstream/patch-8.0.0378-possible-overflow-when-reading-corrupted-u.patch b/debian/patches/upstream/patch-8.0.0378-possible-overflow-when-reading-corrupted-u.patch
deleted file mode 100644
index d6e9bd9..0000000
--- a/debian/patches/upstream/patch-8.0.0378-possible-overflow-when-reading-corrupted-u.patch
+++ /dev/null
@@ -1,56 +0,0 @@
-From: Bram Moolenaar <Bram at vim.org>
-Date: Sun, 26 Feb 2017 18:17:10 +0100
-Subject: patch 8.0.0378: possible overflow when reading corrupted undo file
-
-Problem:    Another possible overflow when reading corrupted undo file.
-Solution:   Check if allocated size is not too big. (King)
----
- src/undo.c    | 7 +++----
- src/version.c | 2 ++
- 2 files changed, 5 insertions(+), 4 deletions(-)
-
-diff --git a/src/undo.c b/src/undo.c
-index 9a6875b..6de985b 100644
---- a/src/undo.c
-+++ b/src/undo.c
-@@ -1385,7 +1385,7 @@ unserialize_uep(bufinfo_T *bi, int *error, char_u *file_name)
- {
-     int		i;
-     u_entry_T	*uep;
--    char_u	**array;
-+    char_u	**array = NULL;
-     char_u	*line;
-     int		line_len;
- 
-@@ -1402,7 +1402,8 @@ unserialize_uep(bufinfo_T *bi, int *error, char_u *file_name)
-     uep->ue_size = undo_read_4c(bi);
-     if (uep->ue_size > 0)
-     {
--	array = (char_u **)U_ALLOC_LINE(sizeof(char_u *) * uep->ue_size);
-+	if (uep->ue_size < LONG_MAX / (int)sizeof(char_u *))
-+	    array = (char_u **)U_ALLOC_LINE(sizeof(char_u *) * uep->ue_size);
- 	if (array == NULL)
- 	{
- 	    *error = TRUE;
-@@ -1410,8 +1411,6 @@ unserialize_uep(bufinfo_T *bi, int *error, char_u *file_name)
- 	}
- 	vim_memset(array, 0, sizeof(char_u *) * uep->ue_size);
-     }
--    else
--	array = NULL;
-     uep->ue_array = array;
- 
-     for (i = 0; i < uep->ue_size; ++i)
-diff --git a/src/version.c b/src/version.c
-index 4c81879..c301a98 100644
---- a/src/version.c
-+++ b/src/version.c
-@@ -771,6 +771,8 @@ static char *(features[]) =
- static int included_patches[] =
- {   /* Add new patch number below this line */
- /**/
-+    378,
-+/**/
-     377,
- /**/
-     322,
diff --git a/debian/patches/upstream/patch-8.0.0550-cannot-parse-some-etags-format-tags-file.patch b/debian/patches/upstream/patch-8.0.0550-cannot-parse-some-etags-format-tags-file.patch
deleted file mode 100644
index e1f77a3..0000000
--- a/debian/patches/upstream/patch-8.0.0550-cannot-parse-some-etags-format-tags-file.patch
+++ /dev/null
@@ -1,103 +0,0 @@
-From: Bram Moolenaar <Bram at vim.org>
-Date: Fri, 7 Apr 2017 20:30:29 +0200
-Subject: patch 8.0.0550: cannot parse some etags format tags file
-
-Problem:    Some etags format tags file use 0x01, breaking the parsing.
-Solution:   Use 0x02 for TAG_SEP. (James McCoy, closes #1614)
-
-Signed-off-by: James McCoy <jamessan at debian.org>
----
- src/tag.c                    | 13 +++++++------
- src/testdir/test_taglist.vim | 39 +++++++++++++++++++++++++++++++++++++++
- src/version.c                |  2 ++
- 3 files changed, 48 insertions(+), 6 deletions(-)
- create mode 100644 src/testdir/test_taglist.vim
-
-diff --git a/src/tag.c b/src/tag.c
-index a80a362..80b21c1 100644
---- a/src/tag.c
-+++ b/src/tag.c
-@@ -2335,18 +2335,19 @@ parse_line:
- 		}
- 		else
- 		{
--#define TAG_SEP 0x01
-+#define TAG_SEP 0x02
- 		    size_t tag_fname_len = STRLEN(tag_fname);
- #ifdef FEAT_EMACS_TAGS
- 		    size_t ebuf_len = 0;
- #endif
- 
- 		    /* Save the tag in a buffer.
--		     * Use 0x01 to separate fields (Can't use NUL, because the
--		     * hash key is terminated by NUL).
--		     * Emacs tag: <mtt><tag_fname><0x01><ebuf><0x01><lbuf><NUL>
--		     * other tag: <mtt><tag_fname><0x01><0x01><lbuf><NUL>
--		     * without Emacs tags: <mtt><tag_fname><0x01><lbuf><NUL>
-+		     * Use 0x02 to separate fields (Can't use NUL because the
-+		     * hash key is terminated by NUL, or Ctrl_A because that is
-+		     * part of some Emacs tag files -- see parse_tag_line).
-+		     * Emacs tag: <mtt><tag_fname><0x02><ebuf><0x02><lbuf><NUL>
-+		     * other tag: <mtt><tag_fname><0x02><0x02><lbuf><NUL>
-+		     * without Emacs tags: <mtt><tag_fname><0x02><lbuf><NUL>
- 		     * Here <mtt> is the "mtt" value plus 1 to avoid NUL.
- 		     */
- 		    len = (int)tag_fname_len + (int)STRLEN(lbuf) + 3;
-diff --git a/src/testdir/test_taglist.vim b/src/testdir/test_taglist.vim
-new file mode 100644
-index 0000000..7aa830b
---- /dev/null
-+++ b/src/testdir/test_taglist.vim
-@@ -0,0 +1,39 @@
-+" test 'taglist' function
-+
-+func Test_taglist_native_etags()
-+  if !has('emacs_tags')
-+    return
-+  endif
-+  call writefile([
-+	\ "\x0c",
-+	\ "src/os_unix.c,13491",
-+	\ "set_signals(\x7f1335,32699",
-+	\ "reset_signals(\x7f1407,34136",
-+	\ ], 'Xtags')
-+
-+  set tags=Xtags
-+
-+  call assert_equal([['set_signals', '1335,32699'], ['reset_signals', '1407,34136']],
-+	\ map(taglist('set_signals'), {i, v -> [v.name, v.cmd]}))
-+
-+  call delete('Xtags')
-+endfunc
-+
-+func Test_taglist_ctags_etags()
-+  if !has('emacs_tags')
-+    return
-+  endif
-+  call writefile([
-+	\ "\x0c",
-+	\ "src/os_unix.c,13491",
-+	\ "set_signals(void)\x7fset_signals\x011335,32699",
-+	\ "reset_signals(void)\x7freset_signals\x011407,34136",
-+	\ ], 'Xtags')
-+
-+  set tags=Xtags
-+
-+  call assert_equal([['set_signals', '1335,32699'], ['reset_signals', '1407,34136']],
-+	\ map(taglist('set_signals'), {i, v -> [v.name, v.cmd]}))
-+
-+  call delete('Xtags')
-+endfunc
-diff --git a/src/version.c b/src/version.c
-index c301a98..b10438e 100644
---- a/src/version.c
-+++ b/src/version.c
-@@ -771,6 +771,8 @@ static char *(features[]) =
- static int included_patches[] =
- {   /* Add new patch number below this line */
- /**/
-+    550,
-+/**/
-     378,
- /**/
-     377,

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-vim/vim.git



More information about the pkg-vim-maintainers mailing list