Yee Cheng Chin
e6ada4d1c2
MacVim Snapshot 155
...
Vim patch 8.1.950
Fixes:
- Fix Ctrl-C not working properly in Command-Line and Normal mode #856
- Fix scrollbar rendering artifact in macOS 10.13 or below #857
- matchit plugin now works again in MacVim (fixed in Vim 8.1.0875)
Targets macOS 10.8+
Script interfaces have compatibility with these versions:
- Lua 5.3
- Perl 5.18
- Python2 2.7
- Python3 3.7
- Ruby 2.6
snapshot-155
2019-02-18 15:31:57 -08:00
Yee Cheng Chin
8e0f1b8f4b
Update Travis deployment rule to reflect Xcode 10.2 version change
2019-02-18 15:31:57 -08:00
Yee Cheng Chin
eb8983e048
Merge remote-tracking branch 'vim/master'
2019-02-18 13:13:09 -08:00
Bram Moolenaar
14816ad6e5
patch 8.1.0950: using :python sets 'pyxversion' even when not executed
...
Problem: Using :python sets 'pyxversion' even when not executed.
Solution: Check the "skip" flag. (Shane Harper, closes #3995 )
2019-02-18 22:04:56 +01:00
Bram Moolenaar
0472b6d149
patch 8.1.0949: MS-windows defines GUI macros different than other systems
...
Problem: MS-windows defines GUI macros different than other systems.
Solution: Swap FEAT_GUI and FEAT_GUI_MSWIN. (Hirohito Higashi, closes #3996 )
2019-02-18 21:41:37 +01:00
Bram Moolenaar
d53931ae73
patch 8.1.0948: when built without +eval "Vim --clean" produces errors
...
Problem: When built without +eval "Vim --clean" produces errors. (James
McCoy)
Solution: Do not enable filetype detection.
2019-02-18 21:32:28 +01:00
Bram Moolenaar
7dca2ebbcf
patch 8.1.0947: using MSWIN before it is defined
...
Problem: Using MSWIN before it is defined. (Cesar Romani)
Solution: Move the block that uses MSWIN to below including vim.h. (Ken
Takata)
2019-02-18 20:42:50 +01:00
Bram Moolenaar
c854898881
Revert change accidentally included in runtime file updates. Closes #3998 .
2019-02-18 17:40:18 +01:00
Yee Cheng Chin
a92bafb261
Merge pull request #857 from ychin/pre-mojave-scrollbar-render-fix
...
Fix scrollbar rendering artifact in pre-Mojave renderer
2019-02-18 03:42:47 -08:00
Yee Cheng Chin
4bafe61062
Merge pull request #856 from ychin/ctrl-c-interrupt-fix
...
Fix MacVim Ctrl-C handling in Normal and Command-Line modes
2019-02-18 03:42:21 -08:00
Yee Cheng Chin
ec0c14e6e4
Fix scrollbar rendering artifact in pre-Mojave renderer
...
Fix scrollbars not rendering properly when using delayed calls to
placeScrollBars. That has issues since pre-Mojave renderer blocks the
window from changing size by using `[NSAnimationContext beginGrouping]`.
That causes the bug as placeScrollbars would be using state from
previous sizes.
We could fix this by waiting for the animation to end before called
finishPlaceScrollbars but it's more complicated and leads to more state
tracking. Instead, just call placeScrollbars when we resize immediately
(just like before) instead of deferring. We still defer placing
scrollbars for things like creating/deleting scrollbars as we could be
doing that a lot of times per frame (e.g. calling `:only` with a lot of
splits).
Fix #848
2019-02-18 02:19:31 -08:00
Yee Cheng Chin
066dd1f654
Fix MacVim Ctrl-C handling in Normal and Command-Line modes
...
Vim has a "ctrl_c_interrupts" mode that gets turned on in misc modes
(e.g. Normal / Command-Line mode) when <C-C> is not mapped. In this
mode, Ctrl-C has special behavior and is hard-coded (i.e. not
remappable).
There is an old bug in how MacVim handles Ctrl-C under this mode. It's
trying to be smart and aggressively clears the input queue (even
non-text-related ones) without adding anything to the input queue.
Previously it kind of worked due to a coincidence in how Vim's GUI
handled input logic, but it was fragile. The recent Vim refactor that
changed Vim GUI's input handling broke this.
Instead, don't do any of these smart input queue clearing and just do
what Vim GUI code in other platforms does and call `trash_input_buf()`,
set `set_int`, and then add the Ctrl-C to the input queue. MacVim still
has `Cmd-.` for an aggressive interrupt in case Vim is hung (which
shouldn't happen to begin with).
Fix #846
2019-02-18 01:08:10 -08:00
Yee Cheng Chin
caed4ee6f0
Merge pull request #855 from ychin/travis-xcode-10.2
...
Update Travis to Xcode 10.2, which also uses macOS Mojave
2019-02-17 21:28:27 -08:00
Yee Cheng Chin
9227e8a0a8
Update Travis to Xcode 10.2, which also uses macOS Mojave
...
Update to Xcode 10.2 beta, which is still in beta but the VM now use
Mojave which is what we want.
2019-02-17 18:58:40 -08:00
Yee Cheng Chin
1c34fb43d1
Add badges for Homebrew / MacPorts packages, and download link
...
Similar to Vim, add badges for packages to have easy link to their
respective repositories in their package managers. Since we only have 2
main package managers in Mac, individually link to them and their
respective versions.
Also add a direct link to download binary releases for convenience and
clarity.
2019-02-17 17:01:36 -08:00
Yee Cheng Chin
98c61096c7
Update README_vim.md to reflect Vim's latest README.md
2019-02-17 16:54:02 -08:00
Yee Cheng Chin
ad51dcde53
Merge remote-tracking branch 'vim/master'
2019-02-17 16:46:24 -08:00
Bram Moolenaar
b0e2da2b23
patch 8.1.0946: Coveralls is not very useful
...
Problem: Coveralls is not very useful.
Solution: Remove Coveralls badge, add badge for packages.
2019-02-17 23:26:50 +01:00
Bram Moolenaar
4c92e75dd4
Update runtime files.
2019-02-17 21:18:32 +01:00
Bram Moolenaar
a5483448cb
patch 8.1.0945: internal error when using pattern with NL in the range
...
Problem: Internal error when using pattern with NL in the range.
Solution: Use an actual newline for the range. (closes #3989 ) Also fix
error message. (Dominique Pelle)
2019-02-17 20:17:02 +01:00
Bram Moolenaar
c85c8fcb9f
patch 8.1.0944: format of nbdbg() arguments is not checked
...
Problem: Format of nbdbg() arguments is not checked.
Solution: Add format attribute. Fix reported problems. (Dominique Pelle,
closes #3992 )
2019-02-17 19:12:21 +01:00
Bram Moolenaar
749f07c0db
patch 8.1.0943: still a trace of Farsi support
...
Problem: Still a trace of Farsi support.
Solution: Remove defining macros.
2019-02-17 18:59:10 +01:00
Bram Moolenaar
76cbe811da
patch 8.1.0942: options window still checks for the multi_byte feature
...
Problem: Options window still checks for the multi_byte feature.
Solution: Remove the unnecessary check. (Dominique Pelle, closes #3990 )
2019-02-17 17:53:49 +01:00
Bram Moolenaar
4f97475d32
patch 8.1.0941: macros for MS-Windows are inconsistent
...
Problem: Macros for MS-Windows are inconsistent, using "32", "3264 and
others.
Solution: Use MSWIN for all MS-Windows builds. Use FEAT_GUI_MSWIN for the
GUI build. (Hirohito Higashi, closes #3932 )
2019-02-17 17:44:42 +01:00
Bram Moolenaar
78d21dae9c
patch 8.1.0940: MS-Windows console resizing not handled properly
...
Problem: MS-Windows console resizing not handled properly.
Solution: Handle resizing the console better. (Nobuhiro Takasaki,
closes #3968 , closes #3611 )
2019-02-17 15:00:52 +01:00
Bram Moolenaar
3678f65d43
patch 8.1.0939: no completion for sign group names
...
Problem: No completion for sign group names.
Solution: Add completion for sign group names and buffer names. (Yegappan
Lakshmanan, closes #3980 )
2019-02-17 14:50:25 +01:00
Bram Moolenaar
21edde8742
patch 8.1.0938: background color is wrong in MS-Windows console
...
Problem: Background color is wrong in MS-Windows console when not using VTP.
Solution: Use g_attrCurrent. (Nobuhiro Takasaki, closes #3987 )
2019-02-17 14:10:56 +01:00
Bram Moolenaar
f1b57ab2ab
patch 8.1.0937: invalid memory access in search pattern
...
Problem: Invalid memory access in search pattern. (Kuang-che Wu)
Solution: Check for incomplete collation element. (Dominique Pelle,
closes #3985 )
2019-02-17 13:53:34 +01:00
Bram Moolenaar
55c77cf2ea
patch 8.1.0936: may leak memory when using 'vartabstop'
...
Problem: May leak memory when using 'vartabstop'. (Kuang-che Wu)
Solution: Fix handling allocated memory for 'vartabstop'. (closes #3976 )
2019-02-16 19:05:11 +01:00
Bram Moolenaar
8bfd9469ce
patch 8.1.0935: old regexp engine may use invalid buffer
...
Problem: Old regexp engine may use invalid buffer for 'iskeyword' or
uninitialized buffer pointer. (Kuang-che Wu)
Solution: Set rex.reg_buf when compiling the pattern. (closes #3972 )
2019-02-16 18:07:57 +01:00
Bram Moolenaar
985079c514
patch 8.1.0934: invalid memory access in search pattern
...
Problem: Invalid memory access in search pattern. (Kuang-che Wu)
Solution: Check for incomplete equivalence class. (closes #3970 )
2019-02-16 17:07:47 +01:00
Bram Moolenaar
6982f42f33
patch 8.1.0933: When using VTP scroll region isn't used properly
...
Problem: When using VTP scroll region isn't used properly.
Solution: Make better use of the scroll region. (Nobuhiro Takasaki,
closes #3974 )
2019-02-16 16:48:01 +01:00
Bram Moolenaar
14184a3133
patch 8.1.0932: Farsi support is outdated and unused
...
Problem: Farsi support is outdated and unused.
Solution: Delete the Farsi support.
2019-02-16 15:10:30 +01:00
Bram Moolenaar
6902c0eb27
patch 8.1.0931: vtp_working included in GUI build but unused
...
Problem: vtp_working included in GUI build but unused.
Solution: Adjust #ifdefs. (Ken Takata, closes #3971 )
2019-02-16 14:07:37 +01:00
Bram Moolenaar
0a1b17bbec
patch 8.1.0930: typo in Makefile
...
Problem: Typo in Makefile.
Solution: Change ABORT_CLFAGS to ABORT_CFLAGS. (Kuang-che Wu, closes #3977 )
2019-02-16 13:45:09 +01:00
Bram Moolenaar
5acd987258
patch 8.1.0929: no error when requesting ConPTY but it's not available
...
Problem: No error when requesting ConPTY but it's not available.
Solution: Add an error message. (Hirohito Higashi, closes #3967 )
2019-02-16 13:35:13 +01:00
Bram Moolenaar
d634024b90
patch 8.1.0928: stray log function call
...
Problem: Stray log function call.
Solution: Remove the log function call.
2019-02-16 00:00:28 +01:00
Bram Moolenaar
0059074008
patch 8.1.0927: USE_CR is never defined
...
Problem: USE_CR is never defined.
Solution: Remove usage of USE_CR. (Ken Takata, closes #3958 )
2019-02-15 21:06:09 +01:00
Bram Moolenaar
e93e5a504f
patch 8.1.0926: no test for :wnext, :wNext and :wprevious
...
Problem: No test for :wnext, :wNext and :wprevious.
Solution: Add a test. (Dominique Pelle, closes #3963 )
2019-02-15 20:22:38 +01:00
Bram Moolenaar
5ff7df509a
patch 8.1.0925: terminal scrollback test still still flaky
...
Problem: Terminal scrollback test still still flaky.
Solution: Explicitly set the shell. Disable ruler. (Ozaki Kiichi,
closes #3966 )
2019-02-15 01:06:13 +01:00
Bram Moolenaar
7e841e3ce5
patch 8.1.0924: terminal scrollback test still flaky
...
Problem: Terminal scrollback test still flaky.
Solution: Wait a bit longer before running the tail command.
2019-02-15 00:26:14 +01:00
Bram Moolenaar
c3ef896608
patch 8.1.0923: terminal dump diff swap does not update file names
...
Problem: Terminal dump diff swap does not update file names.
Solution: Also swap the file name. Add a test.
2019-02-15 00:16:13 +01:00
Bram Moolenaar
96baf02aa8
patch 8.1.0922: terminal scrollback test is flaky
...
Problem: Terminal scrollback test is flaky.
Solution: Wait a bit before running the tail command.
2019-02-14 23:49:38 +01:00
Bram Moolenaar
81aa0f56f8
patch 8.1.0921: terminal test sometimes fails; using memory after free
...
Problem: Terminal test sometimes fails; using memory after free.
Solution: Fee memory a bit later. Add test to cover this. Disable flaky
screenshot test. (closes #3956 )
2019-02-14 23:23:19 +01:00
Bram Moolenaar
29ae223ddc
patch 8.1.0920: in Terminal-Normal mode job output messes up the window
...
Problem: In Terminal-Normal mode job output messes up the window.
Solution: Postpone scrolling and updating the buffer when in Terminal-Normal
mode.
2019-02-14 21:22:01 +01:00
Bram Moolenaar
0f77d6afd5
patch 8.1.0919: compiler warnings
...
Problem: Compiler warnings.
Solution: Add type casts. (Mike Williams)
2019-02-14 20:55:09 +01:00
Bram Moolenaar
9b5c1fcdea
patch 8.1.0918: MS-Windows: startup messages are not converted
...
Problem: MS-Windows: startup messages are not converted.
Solution: Convert messages when the current codepage differs from
'encoding'. (Yasuhiro Matsumoto, closes #3914 )
2019-02-14 14:08:04 +01:00
Bram Moolenaar
445e71c5ee
patch 8.1.0917: double free when running out of memory
...
Problem: Double free when running out of memory.
Solution: Remove one free. (Ken Takata, closes #3955 )
2019-02-14 13:43:36 +01:00
Bram Moolenaar
b999ba2778
patch 8.1.0916: with Python 3.7 "find_module" is not made available
...
Problem: With Python 3.7 "find_module" is not made available.
Solution: Also add "find_module" with Python 3.7. (Joel Frederico,
closes #3954 )
2019-02-14 13:28:45 +01:00
Bram Moolenaar
a787019518
patch 8.1.0915: fsync() may not work properly on Mac
...
Problem: fsync() may not work properly on Mac.
Solution: Use fcntl() with F_FULLFSYNC. (suggested by Justin M. Keyes)
2019-02-14 12:56:36 +01:00