Yee Cheng Chin
5cd759d24e
MacVim Snapshot 153
...
Vim patch 8.1.577
Targets macOS 10.8+
Features:
- The option to automatically download and install updates is now
exposed in the preference panel. This gives you a way to uncheck it,
as previously there was no user-visible way to do so once it's
checked. #816
Fixes:
- Title bar is no longer transparent in 10.12 Sierra #805
- Fixed 'transparency' setting not working properly in Mojave #805
- Fixed setting 'fullscreen' in vimrc leading to black screen in 10.14
Mojave if non-native fullscreen is used #811
- Fixed showing all black if MMUseCGLayerAlways is set in 10.14 Mojave
#811
- Fixed misconfigured Python paths in default vimrc #812
Script interfaces have compatibility with these versions:
- Lua 5.3
- Perl 5.18
- Python2 2.7
- Python3 3.7
- Ruby 2.5
2018-12-12 03:45:19 -08:00
Yee Cheng Chin
e6977ce6b1
Merge remote-tracking branch 'vim/master'
2018-12-12 03:32:01 -08:00
Yee Cheng Chin
5af4e395b3
Merge pull request #816 from ychin/auto-update-preference-pane
...
Expose "automatically install updates" option in preference pane
2018-12-12 01:14:39 -08:00
Yee Cheng Chin
03e13e7354
Expose "automatically install updates" option in preference pane
...
Currently the updater (Sparkle) supports an option to automatically
download and install updates in the background. The only user-visible
way to turn it on/off is by checking the checkbox in the new update
dialog box but that dialog box only shows up if auto-update is off,
meaning that there's no way to undo setting that setting. Fix this by
exposing the setting in user preference panel.
Also, previously auto-update would even still keep on working even if
"check for updates" is off, since it has precedence. Make the preference
pane un-check auto-update if "check for updates" is turned off.
Fix #808
2018-12-12 00:38:45 -08:00
Bram Moolenaar
295471920d
patch 8.1.0577: tabpage right-click menu never shows "Close tab"
...
Problem: Tabpage right-click menu never shows "Close tab".
Solution: Always create the "Close tab" item but ignore the event if there
is only one tab.
2018-12-11 20:39:19 +01:00
Bram Moolenaar
30700cd5ff
patch 8.1.0576: indent script tests pick up installed scripts
...
Problem: Indent script tests pick up installed scripts.
Solution: Use current runtime indent scripts.
2018-12-10 21:36:56 +01:00
Yee Cheng Chin
b39705238b
Merge pull request #811 from ychin/startup-nonnative-fullscreen-fix
...
Fix starting up in non-native fullscreen resulting in black screen
2018-12-10 04:40:51 -08:00
Yee Cheng Chin
d6f259e6be
Merge pull request #812 from ychin/fix-homebrew-python2
...
Fix misconfigured Python paths in default vimrc
2018-12-10 03:03:22 -08:00
Yee Cheng Chin
7c26ef0ab9
Fix misconfigured Python paths in default vimrc
...
Homebrew Python 2.7 was misconfigured to use the wrong path, and
official Python 2.7 install was configured to set "pythonthreedll"
instead of "pythondll". Fix them.
Fix #803
2018-12-10 02:28:36 -08:00
Yee Cheng Chin
a3a7a5a577
Merge pull request #810 from ychin/yosemite-tab-close-button-on-hover
...
Make pre-Mojave tabs also show the close button on hover over tab
2018-12-10 01:45:00 -08:00
Yee Cheng Chin
b6bc72b09d
Fix starting up in non-native fullscreen resulting in black screen
...
Fix issues related to starting up in fullscreen mode (by setting
`set fullscreen` in gvimrc).
Fix black screen when starting in non-native fullscreen:
- Fix #804
- Non-native fullscreen has an old behavior where it sets CGLayer mode
on core text renderer to address rendering artifacts in pre-Mojave,
and we have an insufficient block against it (by checking cgContext).
In Mojave, we use buffered draws instead and prevent setting CGLayer
by checking cgContext, but it is not yet initialized yet in this
situation (since it's lazily initialized). Block against
cgBufferDrawEnabled instead.
- The CGLayer renderer is really deprecated at this point so ideally we
could clean up the code a little bit in the future.
Setting MMUseCGLayerAlways no longer results in black screen:
- Fix #801
- CGLayer renderer is basically deprecated doesn't actually work in
Mojave. Make sure setting MMUseCGLayerAlways won't trigger it if we
are already using buffered draw (which is automatically the case in
Mojave).
Fix starting up in fullscreen resulting in a small Vim window:
- When starting MacVim in fullscreen mode, the presentation is delayed
until the window is made. need to make sure to set shouldResizeVimView
in this code path too. Before the guioption-k fixes, there were a lot
of random calls to recalculate sizes which was why this happened
implicitly. Now need to make sure we do the right thing and call it.
2018-12-10 01:01:27 -08:00
Yee Cheng Chin
67754cb23f
Merge pull request #805 from ychin/fix-sierra-transparent-titlebar
...
Fix 10.12 transparent title bar, and 10.14 'transparency' issues
2018-12-09 20:53:56 -08:00
Yee Cheng Chin
8fce3735aa
Make pre-Mojave tabs also show the close button on hover over tab
...
This makes them show up on tab hover, so you don't have to hover over
the exact location of the close button to see it.
2018-12-09 20:51:20 -08:00
Yee Cheng Chin
55197bd4c4
Fix 10.12 transparent title bar, and 10.14 'transparency' issues
...
Change the code that sets window's backgroundColor to Mojave (10.14)
only. Right now, we are creating windows with the flag
NSWindowStyleMaskTexturedBackground which is actually deprecated, and it
had the annoying effect of auto-setting transparent title bars in Sierra
SDKs. When the previous change set the background color of the window it
also made the title bar color change as well. Now, the background color
is only set for Mojave so those earlier platforms won't be affected.
Also fix the 'transparency' setting in Mojave. Since in Mojave the
rendering is done through layers now, we need to make sure the layers
are all transparent other than the text view that's trying to blend on
top of the desktop (this is why we needed to set the window background
color to begin with). There *is* one hack where we have to set the
window background with 0.001 alpha because if you set to 0, the whole
border disappears the the window behaves sluggishly.
In the future, consider removing NSWindowStyleMaskTexturedBackground
since it's been deprecated for a while. One issue is that without it the
system title bar has this annoying gray/black line and it doesn't look
as neat. It's a minor aesthetics issue though and if in the future it
gets completely deprecated it's not a big deal. Alternatively, consider
using a transparent title bar and use customized theming.
Also, fix a regression where zoom button was not working properly in
pre-Mojave, due to [NSAnimationContext beginGrouping] being improperly
called.
Fix #799 .
2018-12-09 20:39:24 -08:00
Bram Moolenaar
d47d52232b
Update runtime files.
2018-12-09 20:43:55 +01:00
Bram Moolenaar
37402ed534
patch 8.1.0575: Termdebug: clearing multi-breakpoint does not work
...
Problem: Termdebug: clearing multi-breakpoint does not work.
Solution: Delete all X.Y breakpoints. Keep more information about placed
breakpoints. (Ozaki Kiichi, closes #3641 )
2018-12-09 15:53:01 +01:00
Bram Moolenaar
4af7259b2b
patch 8.1.0574: 'commentstring' not used when adding fold marker in C
...
Problem: 'commentstring' not used when adding fold marker in C.
Solution: Require white space before middle comment part. (mostly by
Hirohito Higashi)
2018-12-09 15:00:52 +01:00
Bram Moolenaar
55d4691308
patch 8.1.0573: cannot redefine user command without ! in same script
...
Problem: Cannot redefine user command without ! in same script
Solution: Allow redefining user command without ! in same script, like with
functions.
2018-12-08 16:03:28 +01:00
Bram Moolenaar
76ab4fd619
patch 8.1.0572: stopping a job does not work properly on OpenBSD
...
Problem: Stopping a job does not work properly on OpenBSD.
Solution: Do not use getpgid() to check the process group of the job
processs ID, always pass the negative process ID to kill().
(George Koehler, closes #3656 )
2018-12-08 14:39:05 +01:00
Bram Moolenaar
446e7a3cd3
patch 8.1.0571: non-silent execute() resets display column to zero
...
Problem: Non-silent execute() resets display column to zero.
Solution: Keep the display column as-is.
2018-12-08 13:57:42 +01:00
Bram Moolenaar
539328197c
patch 8.1.0570: 'commentstring' not used when adding fold marker
...
Problem: 'commentstring' not used when adding fold marker. (Maxim Kim)
Solution: Only use empty 'comments' middle when leader is empty. (Christian
Brabandt, closes #3670 )
2018-12-07 21:08:49 +01:00
Bram Moolenaar
10ccaa17ec
patch 8.1.0569: execute() always resets display column to zero
...
Problem: Execute() always resets display column to zero. (Sha Liu)
Solution: Don't reset it to zero, restore the previous value. (closes #3669 )
2018-12-07 16:38:23 +01:00
Bram Moolenaar
9a8534673a
patch 8.1.0568: error message for NUL byte in ScreenLines breaks Travis CI
...
Problem: Error message for NUL byte in ScreenLines breaks Travis CI.
Solution: Use a normal message fornow.
2018-12-07 14:10:37 +01:00
Bram Moolenaar
4087bfd96d
patch 8.1.0567: error for NUL byte in ScreenLines goes unnoticed
...
Problem: Error for NUL byte in ScreenLines goes unnoticed.
Solution: Add an internal error message.
2018-12-07 13:26:39 +01:00
Bram Moolenaar
20091c18c4
patch 8.1.0566: SGR not enabled for mintty because $TERM is "xterm"
...
Problem: SGR not enabled for mintty because $TERM is "xterm".
Solution: Detect mintty by the termresponse. (Ken Takata, closes #3667 )
2018-12-07 13:18:19 +01:00
Bram Moolenaar
10600db772
patch 8.1.0565: asan complains about reading before allocated block
...
Problem: Asan complains about reading before allocated block.
Solution: Workaround: Avoid offset from becoming negative.
2018-12-05 19:46:07 +01:00
Bram Moolenaar
88b53fd052
patch 8.1.0564: setting v:errors to wrong type still possible
...
Problem: Setting v:errors to wrong type still possible.
Solution: Return after giving an error message. (Christian Brabandt)
2018-12-05 18:43:28 +01:00
Yee Cheng Chin
f7ff60b4f2
MacVim Snapshot 152
...
Vim patch 8.1.560
Targets macOS 10.8+
Features:
- macOS Mojave (10.14) is now supported.
- MacVim's UI now works with Dark Mode.
- Fixed broken rendering and flickering under Mojave when using the
default Core Text renderer. #757
- guioption 'k' is supported again. #731
- This option prevents window from resizing when UI elements such as
toolbars or tabs show or hide themselves.
Fixes:
- Fixed misc fullscreen and window resizing bugs and artifacts #745
- Dragging tabs to reorder now works properly #789
- Fixed timer callback handling in GUI #749
- Fixed native tabs (10.12+) interring with Vim tabs #788
- Fixed Japanese IME Ctrl-U/Ctrl-O handling #742
- Fixed MMShareFindPboard and Cmd-E/Cmd-G interactions #780
- Better handling of guifontwide font size #737
- Better python discovery in default vimrc #739
Known Issues:
- Scrolling performance is slightly worse under Mojave #796
Script interfaces have compatibility with these versions:
- Lua 5.3
- Perl 5.18
- Python2 2.7
- Python3 3.7
- Ruby 2.5
2018-12-05 03:14:15 -08:00
Yee Cheng Chin
0a444c1956
Merge pull request #797 from ychin/travis-deploy-mojave
...
Switch Travis CI to deploy MacVim in Xcode 10 / Mojave SDK
2018-12-05 02:58:19 -08:00
Yee Cheng Chin
cf80560781
Switch Travis CI to build MacVim in Xcode 10 / Mojave 10.14 SDK
...
The previous Mojave rendering artifacts have now been fixed, so we can
deploy MacVim for Mojave / Xcode 10 now.
2018-12-05 01:23:52 -08:00
Yee Cheng Chin
41adbabe54
Merge remote-tracking branch 'vim/master'
2018-12-05 00:53:42 -08:00
Bram Moolenaar
74ea88c170
patch 8.1.0563: setting v:errors to a string give confusing error
...
Problem: Setting v:errors to a string give confusing error. (Christian
Brabandt)
Solution: Change internal error into normal error message.
2018-12-04 22:37:49 +01:00
Bram Moolenaar
b6fc72851c
patch 8.1.0562: parsing of 'diffopt' is slightly wrong
...
Problem: Parsing of 'diffopt' is slightly wrong.
Solution: Fix the parsing and add a test. (Jason Franklin, Christian
Brabandt)
2018-12-04 22:24:16 +01:00
Yee Cheng Chin
79541d2844
Merge pull request #795 from ychin/fix-fullscreen-mojave-tabs
...
Fix Mojave-style tabs not triggering in fullscreen
2018-12-04 04:27:39 -08:00
Yee Cheng Chin
7d8b5890c1
Fix Mojave-style tabs not triggering in fullscreen
2018-12-04 04:14:06 -08:00
Yee Cheng Chin
bbad3edf5a
Merge pull request #757 from s4y/fix-the-flicker
...
Fix rendering issues when built against the 10.14 SDK.
2018-12-04 00:11:12 -08:00
Yee Cheng Chin
ab71bd8d69
Fix resizing issues with the flicker fix and hide the tabline
...
Fix the misc resizing issues with the previous CoreText renderer commit,
in particular cases where zoom button was clicked, Vim initiated
resizing (e.g. ":set lines+=10"), font size changes (Cmd-+/-),
fullscreen toggles, etc.
- The core issue is that the order of operation for those are not
consistent. Sometimes, MacVim changes window size first before letting
Vim knows, but other times it lets Vim handle it before resizing (e.g.
zoom).
- The new CoreText renderer's buffer needs to know when the size
change in order to resize the buffer, and it wasn't doing it in the
right spot. Fix it so that it's delayed until updateLayer: is called.
By that time both MacVim and Vim should have already come to an
agreement on the new size.
- Also, when using the new 10.14 buffer renderer, don't use
[NSAnimationContext beginGrouping] to block the system from resizing
the window, because it also suffers from the order of operation issue
and sometimes endGrouping could get called before beginGrouping,
causing the UI to appear frozen. Instead, just have updateLayer make a
new image and copy over the old one to avoid the black flickering when
resizing (which was what the begin/endGrouping was trying to solve to
begin with), and the UI now works smoother as well (e.g. double
clicking the border now works smoothly).
The previous change also set the window background color to whatever
default background color is which is fine but it affects the tabline
separator as well and makes it look jarring. The tabline separator is
mostly a relic of the older macOS versions, so disable it on new-ish
macOS verisons.
Also, update docs in the known issues section to make it clear there's
currently an issue in performance under Mojave. That will be removed
when the performance is fixed in the future.
2018-12-04 00:09:53 -08:00
Bram Moolenaar
9719568533
patch 8.1.0561: MSCV error format has changed
...
Problem: MSCV error format has changed.
Solution: Make the space between the line number and colon optional.
2018-12-03 20:50:02 +01:00
Bram Moolenaar
51a7454cd2
patch 8.1.0560: cannot use address type "other" with with user command
...
Problem: Cannot use address type "other" with with user command.
Solution: Add "other" to the list. (Daniel Hahler, closes #3655 ) Also
reject "%" for commands with "other". Add some more tests.
2018-12-02 18:21:49 +01:00
Bram Moolenaar
b513d3079b
patch 8.1.0559: command line completion not sufficiently tested
...
Problem: Command line completion not sufficiently tested.
Solution: Add more tests. (Dominique Pelle, closes #3622 )
2018-12-02 14:55:08 +01:00
Bram Moolenaar
d2ec51f399
patch 8.1.0558: some MS-Windows instructions are outdated
...
Problem: Some MS-Windows instructions are outdated.
Solution: Update the uninstall instructions and the NSIS README. (Ken
Takata, closes #3614 ) Also update remark about diff.exe.
2018-12-02 13:58:00 +01:00
Bram Moolenaar
5378e1cf0a
patch 8.1.0557: Termdebug: gdb may use X.Y for breakpoint number
...
Problem: Termdebug: gdb may use X.Y for breakpoint number.
Solution: Handle X.Y breakpoint numbers. (Yasuhiro Matsumoto, close #3641 )
2018-12-02 13:47:03 +01:00
Sidney San Martín
0db547d459
Fix rendering issues with the 10.14 SDK.
...
Before this commit, the Core Text renderer relied on a legacy behavior
of NSView to keep its content across draws. setNeedsDisplayInRect: drew
over parts of the existing content as drawing commands were received,
without ever redrawing old content.
Layer backed views don't preserve content between draws and may be asked
to redraw at any time, and layer backing is default on in the 10.14 SDK.
This change adds a way to draw to a CGBitmapContext and then display
that in the view's layer. It's similar to the CGLayer path, but I wasn't
able to get the CGLayer path to work without hanging or crashing when I
scrolled. My best guess from looking at stack traces is that using
CGContextDrawLayerInRect to draw a layer into itself doesn't actually
copy pixels, but adds the self-draw as an action to be performed when
the CGLayer is drawn into a bitmap context. Scrolling stacks these
actions, which either hangs or overflows the stack when drawn.
The new code is controlled by the MMBufferedDrawing user default, which
is on by default on macOS >= 10.14 with this change. Fixes #751 .
2018-12-02 00:18:44 -05:00
Yee Cheng Chin
63dbd5838d
Merge pull request #793 from ychin/scrollbar_dark_mode_fix
...
Fix scrollbars in Mojave dark mode not rendering properly
2018-12-01 18:11:35 -08:00
Yee Cheng Chin
4ba02a87ed
Fix scrollbars in Mojave dark mode not rendering properly
...
Dark mode scrollbars's background are rendered in a translucent color so
that it would overlay on top of the background nearly, even though we
are using legacy scrollbars with a dedicated space. This is unlike light
mode scrollbars which render with a concrete color. This means if the
background has uncleared rendering it would result in some oddities.
Just fix it by making sure we first render the scroll track with the
current background color before drawing the system overlay.
Known issues:
- The scroll knob will look quite light and hard to see if the
background color is bright. Consider this OK for now as users who use
dark mode will likely have a dark-ish background color in Vim.
- If both vertical and horizontal scrollbars are enabled, the corners
will look black or sometimes filled with rendering artifacts. Will fix
this later. One way to fix is to always fill the Vim view with a
background color but that seems to slow things down a little bit
because setNeedsDisplay seems to be called too much without a rect, so
need to fix that first.
- Vertical scrollbars' positions are sometimes set incorrectly. That's a
separate bug and will be addressed later.
- MacVim currently doesn't support overlay scrollbars which have been
introduced in macOS since 10.7. Investigate that option too.
2018-12-01 17:31:09 -08:00
Bram Moolenaar
ed8bc78d23
patch 8.1.0556: saving/restoring search patterns share saved last_idx
...
Problem: Saving/restoring search patterns share saved last_idx.
Solution: Use a separate saved last_idx for saving search patterns for
functions and incremental search.
2018-12-01 21:08:21 +01:00
Bram Moolenaar
2fb8f684d8
patch 8.1.0555: crash when last search pat is set but not last substitute pat
...
Problem: Crash when last search pat is set but not last substitute pat.
Solution: Do not mix up last search pattern and last subtitute pattern.
(closes #3647 )
2018-12-01 13:14:45 +01:00
Bram Moolenaar
614ab8aa00
patch 8.1.0554: popup menu overlaps with preview window
...
Problem: Popup menu overlaps with preview window.
Solution: Adjust the height computation. (Hirohito Higashi, closes #3414 )
2018-12-01 11:59:00 +01:00
Bram Moolenaar
07dc18ffa4
patch 8.1.0553: it is not easy to edit a script that was sourced
...
Problem: It is not easy to edit a script that was sourced.
Solution: Add a count to ":scriptnames", so that ":script 40" edits the
script with script ID 40.
2018-11-30 22:48:32 +01:00
Bram Moolenaar
01a060da74
patch 8.1.0552: saved last search pattern may not be restored
...
Problem: Saved last search pattern may not be restored.
Solution: Call restore_last_search_pattern(). Add a check for balancing
saving and restoring the last search pattern.
2018-11-30 21:57:55 +01:00
Bram Moolenaar
8ff5af9544
patch 8.1.0551: expression evaluation may repeat an error message
...
Problem: Expression evaluation may repeat an error message. (Jason
Franklin)
Solution: Check for the value of did_emsg when giving an error
for the :execute command.
2018-11-28 21:20:38 +01:00
Bram Moolenaar
76a6345433
patch 8.1.0550: expression evaluation may repeat an error message
...
Problem: Expression evaluation may repeat an error message. (Jason
Franklin)
Solution: Increment did_emsg and check for the value when giving an error
for the echo command.
2018-11-28 20:38:37 +01:00
Yee Cheng Chin
dabe5a224a
Merge remote-tracking branch 'vim/master'
2018-11-27 03:53:27 -08:00
Bram Moolenaar
10efcd5b02
patch 8.1.0549: netbeans test depends on README.txt contents
...
Problem: Netbeans test depends on README.txt contents.
Solution: Use a generated file instead.
2018-11-26 21:22:07 +01:00
Bram Moolenaar
1341024e08
patch 8.1.0548: crash when job callback unloads a buffer
...
Problem: Crash when job callback unloads a buffer. (James McCoy)
Solution: Don't round up the wait time to 10 msec in ui_inchar().
2018-11-26 21:19:11 +01:00
Yee Cheng Chin
bbbdc4731a
Merge pull request #791 from ychin/tabs_dark_mode_and_fixes
...
Add Mojave-style tabs, which also supports Dark Mode
2018-11-26 10:54:14 -08:00
Yee Cheng Chin
6e1489e531
Add Mojave-style tabs, which also supports Dark Mode
...
Add a new tab style "Mojave". The files were copied from Yosemite-style
tabs but with additional improvements. It now reads the colors from an
asset catalog with colors for both dark and light modes. The colors and
style are also retuned to look more like native Mojave tabs. The new tab
and close tab buttons are now using a style much more similar to what
native macOS are like, with the close tab button showing up when mouse
is hovering over a particular tab.
Reason for cloning PSMYosemiteTabStyle is to avoid having too many
special cases in a single file and to avoid breaking its behaviors on
older systems. Also, PSMTabBarControl is mostly a dead project, so it's
wise to modify existing code as little as possible.
MacVim will only use this style if it's compiled with Mojave SDKs and
it's actually being run in Mojave (10.14) or higher.
Fix #775
2018-11-26 03:41:29 -08:00
Yee Cheng Chin
007de995cb
Copy Yosemite tab style files to "Mojave" files before modifying them
2018-11-26 02:31:44 -08:00
Yee Cheng Chin
acb1c07777
Docs update to mention Github in addition to mailing list
2018-11-26 02:31:44 -08:00
Yee Cheng Chin
b1e26a6b4c
Merge pull request #786 from ichizok/fix/ctrl-6
...
Fix the working of Ctrl-6
2018-11-25 02:53:45 -08:00
Yee Cheng Chin
af6bd98de1
Merge pull request #789 from ychin/fix_tabs_dragging
...
Fix dragging tabs not working properly
2018-11-25 01:56:08 -08:00
Yee Cheng Chin
d8606ce022
Refactor Ctrl-6 fix to be clearer and only trigger under Japanese IME
...
Only limiting this condition to be under Japanese IME helps prevents
unintended effects on other IMEs as well, as this bug is only known to
happen under Japanese IME with Windows shortcuts.
Also update comments to be clear that most of the time you do want to go
through the interpretKeyEvents: path.
2018-11-25 01:51:04 -08:00
Yee Cheng Chin
7e1b43e6c2
Fix tab dragging not working when dragging a tab to the right
...
Vim's tabmove has two positions where it doesn't do anything, so need to
add 1 to index when moving tab to the right.
Fix #257
2018-11-25 01:25:12 -08:00
Yee Cheng Chin
e126fa9652
Fix tab dragging crashing under 10.14 due to deprecated API
...
Use the newer `cacheDisplayInRect:toBitmapImageRep:` API instead to work
around this.
2018-11-25 01:25:12 -08:00
Bram Moolenaar
3067a4dd0d
patch 8.1.0547: modeline test with keymap still fails
...
Problem: Modeline test with keymap still fails.
Solution: Check that the keymap feature is available for the failure assert.
2018-11-25 05:06:48 +01:00
Bram Moolenaar
4ace6ab7e7
patch 8.1.0546: modeline test with keymap fails
...
Problem: Modeline test with keymap fails.
Solution: Check that the keymap feature is available.
2018-11-25 04:25:58 +01:00
Bram Moolenaar
dc2f73a698
patch 8.1.0545: when executing indent tests user preferences interfere
...
Problem: When executing indent tests user preferences interfere.
Solution: Add "--clean".
2018-11-25 04:03:09 +01:00
Bram Moolenaar
b730f0c7ba
Update runtime files
2018-11-25 03:56:26 +01:00
Bram Moolenaar
916a818cea
patch 8.1.0544: setting 'filetype' in a modeline causes an error
...
Problem: Setting 'filetype' in a modeline causes an error (Hirohito
Higashi).
Solution: Don't add the P_INSECURE flag when setting 'filetype' from a
modeline. Also for 'syntax'.
2018-11-25 02:18:29 +01:00
Bram Moolenaar
4e303c8ba8
patch 8.1.0543: Coverity warns for leaking memory and using wrong struct
...
Problem: Coverity warns for leaking memory and using wrong struct.
Solution: Free pointer when allocation fails. Change "boff" to "loff".
(closes #3634 )
2018-11-24 14:27:44 +01:00
Yee Cheng Chin
e5d11768a2
Merge pull request #788 from ychin/disable_native_tabs
...
Disable macOS native tabs (introduced in 10.12)
2018-11-23 17:58:11 -08:00
Yee Cheng Chin
1a0d5034a6
Disable macOS native tabs (introduced in 10.12)
...
MacVim already has its own tabbing interface and native tabs
(configurable in System Preferences) introduce a second layer of tabs
which is confusing. MacVim also doesn't behave properly under such
circumstances such as rendering artifacts, lacking proper native menu
items (e.g. "Move Tab to New Window"), and keyboard shortcuts like Cmd-W
don't work.
Note that it's currently not a good idea to implement Vim tabs using
native tabs since they assume multiple NSWindow instances and assume
they can be split off into multiple windows, which Vim doesn't support.
2018-11-23 17:32:25 -08:00
Yee Cheng Chin
8e5b2b51bd
Merge pull request #787 from ychin/macvim_xcodeproj_askpass
...
Add macvim-askpass to project.pbxproj to avoid it always show up modified
2018-11-22 00:59:33 -08:00
Yee Cheng Chin
5ad7ee8107
Add macvim-askpass to project.pbxproj to avoid it always show up modified
...
Since the file macvim-askpass is copied in the build steps, Xcode keeps
trying to add this file as a "recovered reference". Just fix this by
adding it to the xcodeproj properly.
2018-11-22 00:15:03 -08:00
Bram Moolenaar
f951416a83
patch 8.1.0542: shiftwidth() does not take 'vartabstop' into account
...
Problem: shiftwidth() does not take 'vartabstop' into account.
Solution: Use the cursor position or a position explicitly passed.
Also make >> and << work better with 'vartabstop'. (Christian
Brabandt)
2018-11-22 03:08:29 +01:00
ichizok
7c6b2b0e86
Fix the working of Ctrl-6
...
Call interpretKeyEvents: with except Ctrl-O and Ctrl-U since should
translate key-input by doCommandBySelector:.
2018-11-22 03:24:48 +09:00
Bram Moolenaar
2b84949ad8
patch 8.1.0541: help message in dosinst.c is outdated
...
Problem: Help message in dosinst.c is outdated.
Solution: Update the comment. (Ken Takata, closes #3626 )
2018-11-21 13:58:35 +01:00
Bram Moolenaar
247bb7e43b
patch 8.1.0540: may evaluate insecure value when appending to option
...
Problem: May evaluate insecure value when appending to option.
Solution: Set the secure flag when changing an option that was previously
set insecurely. Also allow numbers for the characters from
'spelllang' that are used for LANG.vim.
2018-11-20 14:27:07 +01:00
Bram Moolenaar
82e8c92ebe
patch 8.1.0539: cannot build without the sandbox
...
Problem: Cannot build without the sandbox.
Solution: Set the secure option instead of using the sandbox. Also restrict
the characters from 'spelllang' that are used for LANG.vim.
(suggested by Yasuhiro Matsumoto)
2018-11-20 13:32:36 +01:00
Yee Cheng Chin
8fbb254859
Merge pull request #784 from ychin/macos-ci-more-versions
...
Add more Xcode / macOS versions to test in Travis CI
2018-11-20 01:09:32 -08:00
Yee Cheng Chin
199fa1f766
Add more Xcode / macOS versions to test in Travis CI
...
This helps make sure changes utilizing newer OS features won't break old
OS versions. CI now tests from Xcode 7.3 to 10.1.
2018-11-20 00:43:07 -08:00
Yee Cheng Chin
dd1d7f6c3c
Merge pull request #783 from ychin/temp_disable_bad_unit_tests_2
...
Disable test_timers also in non-GUI mode as well
2018-11-20 00:08:52 -08:00
Yee Cheng Chin
2aa9b8f2c5
Disable test_timers also in non-GUI mode as well
2018-11-20 00:07:22 -08:00
Yee Cheng Chin
dc42fa339e
Merge pull request #782 from ychin/temp_disable_bad_unit_tests
...
Disable timer & channel unit tests since they have been breaking CI
2018-11-19 23:19:57 -08:00
Yee Cheng Chin
1447ebfdfb
Disable timer & channel unit tests since they have been breaking CI
...
MacVim seems to have some timing issues with test_channel and
test_timers and they frequently fail in Travis CI. Disable them for now
to avoid build break red herring.
https://github.com/macvim-dev/macvim/issues/778 will track fixing this.
2018-11-19 22:55:58 -08:00
Yee Cheng Chin
ea5fe03309
Merge pull request #780 from ychin/find-pasteboard-fixes
...
Fix MMShareFindPboard and Cmd-E/Cmd-G
2018-11-19 21:18:59 -08:00
Bram Moolenaar
5958f95a40
patch 8.1.0538: evaluating a modeline might invoke using a shell command
...
Problem: Evaluating a modeline might invoke using a shell command. (Paul
Huber)
Solution: Set the sandbox flag when setting options from a modeline.
2018-11-20 04:25:21 +01:00
Bram Moolenaar
48d23bb4de
patch 8.1.0537: ui_breakcheck() may be called recursively
...
Problem: ui_breakcheck() may be called recursively, which doesn't work.
Solution: When called recursively, just return. (James McCoy, closes #3617 )
2018-11-20 02:42:43 +01:00
Yee Cheng Chin
b3907e6722
Make Cmd-E work and always share to OS Find Pasteboard
...
Cmd-E (Edit -> Use Selection for Find") in most macOS apps follow the
convention that it shares to the system Find Pasteboard, while Cmd-G
uses the Find Pasteboard to find the next item. Make Cmd-E always do
that even if MMShareFindPboard is set to NO. This way, normal searches
in Vim wouldn't pollute the system find pasteboard, but could still have
a way to share to it by using this action.
2018-11-18 21:04:41 -08:00
Yee Cheng Chin
3df190c296
Fix MMShareFindPboard not working properly and update docs
...
MMShareFindPboard is supposed to prevent MacVim from updating the system
find pasteboard when searching, but the previous behavior was that it
would only set the Vim-specific format to the find pasteboard so you
could still share search patterns across Vim windows but it has the
effect of clearing the global find pasteboard. Just fix that by making
MacVim not touch the system find pasteboard at all when
MMShareFindPboard is set to NO to respect user's wish. Cmd-G will still
use the system find pasteboard to make it easy to search in another
macOS program and jump to Vim. The user can always use `n` instead if
that's not desired.
Also update docs to make this clear, and rename all "OS X" to "macOS" to
keep up with the times.
Close #773
2018-11-18 21:03:05 -08:00
Bram Moolenaar
addc156c38
patch 8.1.0536: file time test fails when using NFS
...
Problem: File time test fails when using NFS.
Solution: Use three file times instead of localtim(). (James McCoy,
closes #3618 )
2018-11-18 12:25:09 +01:00
Bram Moolenaar
6b731886ca
patch 8.1.0535: increment/decrement might get interrupted by updating folds
...
Problem: Increment/decrement might get interrupted by updating folds.
Solution: Disable fold updating for a moment. (Christian Brabandt,
closes #3599 )
2018-11-16 20:54:47 +01:00
Bram Moolenaar
25a494ce60
patch 8.1.0534: MS-Windows installer uses different $HOME than Vim
...
Problem: MS-Windows installer uses different $HOME than Vim.
Solution: Use the Vim logic also in the MS-Windows installer. (Ken Takata,
closes #3564 )
2018-11-16 19:39:50 +01:00
Bram Moolenaar
447f6ce8bd
patch 8.1.0533: screendump tests can be flaky
...
Problem: Screendump tests can be flaky.
Solution: Add VerifyScreenDump to the pattern of flaky tests.
2018-11-16 18:50:19 +01:00
Bram Moolenaar
2d67d307ee
patch 8.1.0532: cannot distinguish between quickfix and location list
...
Problem: Cannot distinguish between quickfix and location list.
Solution: Add an explicit type variable. (Yegappan Lakshmanan)
2018-11-16 18:46:02 +01:00
Bram Moolenaar
dbc0d2163a
patch 8.1.0531: flaky tests often fail with a common error message
...
Problem: Flaky tests often fail with a common error message.
Solution: Add a pattern to match an error message indicating a flaky test.
2018-11-16 18:22:45 +01:00
Bram Moolenaar
c0f05d0bd1
patch 8.1.0530: channel and terminal tests that start a server can be flaky
...
Problem: Channel and terminal tests that start a server can be flaky.
Solution: Add all channel and terminal tests that start a server to the list
of flaky tests.
2018-11-16 17:44:48 +01:00
Bram Moolenaar
f77af0e613
patch 8.1.0529: flaky test sometimes fails in different ways
...
Problem: Flaky test sometimes fails in different ways.
Solution: When the second run gives a different error, try running the test
again, up to five times.
2018-11-16 16:52:16 +01:00
Bram Moolenaar
c4568ab37e
patch 8.1.0528: various typos in comments
...
Problem: Various typos in comments.
Solution: Fix the typos.
2018-11-16 16:21:05 +01:00
Bram Moolenaar
f0d58efc9d
Update runtime files.
2018-11-16 16:13:44 +01:00
Bram Moolenaar
0c27cbcacf
patch 8.1.0527: using 'shiftwidth' from wrong buffer for folding
...
Problem: Using 'shiftwidth' from wrong buffer for folding.
Solution: Use "buf" instead of "curbuf". (Christian Brabandt)
2018-11-14 21:45:32 +01:00
Bram Moolenaar
61fb8d8c67
patch 8.1.0526: running out of signal stack in RealWaitForChar
...
Problem: Running out of signal stack in RealWaitForChar. (Vladimir Marek)
Solution: Make the fd_set variables static.
2018-11-12 21:45:08 +01:00
Bram Moolenaar
d3471e5785
patch 8.1.0525: terminal test skips part on Windows
...
Problem: Terminal test skips part on Windows.
Solution: Fix Test_terminal_does_not_truncate_last_newlines(). (Hirohito
Higashi, closes #3606 )
2018-11-12 21:42:24 +01:00
Bram Moolenaar
c2c02574ec
patch 8.1.0524: terminal test fails on Windows
...
Problem: Terminal test fails on Windows.
Solution: Skip Test_terminal_does_not_truncate_last_newlines() for now.
2018-11-11 23:14:54 +01:00
Bram Moolenaar
b244373bec
patch 8.1.0523: opening window from quickfix leaves empty buffer behind
...
Problem: Opening window from quickfix leaves empty buffer behind.
Solution: Add qf_jump_newwin(). (Yegappan Lakshmanan, closes #2574 )
2018-11-11 22:50:27 +01:00
Bram Moolenaar
f3aea59afa
patch 8.1.0522: :terminal does not show trailing empty lines
...
Problem: :terminal does not show trailing empty lines.
Solution: Add empty lines. (Hirohito Higashi, closes #3605 )
2018-11-11 22:18:21 +01:00
Bram Moolenaar
883ba68cda
patch 8.1.0521: cannot build with +eval but without +quickfix
...
Problem: Cannot build with +eval but without +quickfix.
Solution: Remove #ifdef for e_stringreq. (John Marriott)
2018-11-11 21:22:57 +01:00
Bram Moolenaar
218959bc91
patch 8.1.0520: screen diff test sometimes fails
...
Problem: Screen diff test sometimes fails.
Solution: Add to list of flaky tests.
2018-11-11 18:51:42 +01:00
Bram Moolenaar
f49cc60aa8
patch 8.1.0519: cannot save and restore the tag stack
...
Problem: Cannot save and restore the tag stack.
Solution: Add gettagstack() and settagstack(). (Yegappan Lakshmanan,
closes #3604 )
2018-11-11 15:21:05 +01:00
Kazuki Sakamoto
2c43cd672d
Merge remote-tracking branch 'vim/master'
2018-11-10 19:50:19 -08:00
Bram Moolenaar
8617b40159
patch 8.1.0518: Test_window_split_edit_bufnr() fails on AppVeyor
...
Problem: Test_window_split_edit_bufnr() fails on AppVeyor.
Solution: Disable the failing part for now.
2018-11-10 20:47:48 +01:00
Bram Moolenaar
d42333d8e9
patch 8.1.0517: Test_window_split_edit_alternate() fails on AppVeyor
...
Problem: Test_window_split_edit_alternate() fails on AppVeyor.
Solution: Disable the failing part for now.
2018-11-10 20:28:19 +01:00
Bram Moolenaar
ddd1f9183b
patch 8.1.0516: :move command marks buffer modified when nothing changed
...
Problem: :move command marks buffer modified when nothing changed.
Solution: Do not set 'modified'. Add a test. (Jason Franklin)
2018-11-10 19:19:36 +01:00
Bram Moolenaar
ded5f1bed7
patch 8.1.0515: reloading a script gives errors for existing functions
...
Problem: Reloading a script gives errors for existing functions.
Solution: Allow redefining a function once when reloading a script.
2018-11-10 17:33:29 +01:00
Bram Moolenaar
1bbb619483
patch 8.1.0514: CTRL-W ^ does not work when alternate buffer has no name
...
Problem: CTRL-W ^ does not work when alternate buffer has no name.
Solution: Use another method to split and edit the alternate buffer. (Jason
Franklin)
2018-11-10 16:02:01 +01:00
Yee Cheng Chin
98fed9dfc9
Make Travis CI logs easier to read by using travis_fold tags ( #774 )
2018-11-09 04:11:15 -08:00
Yee Cheng Chin
49b33ba08a
Merge pull request #772 from ychin/fix_travis_ci_build_ruby
...
Fix Travis CI build break and ruby configuration error
2018-11-07 05:01:10 -08:00
Yee Cheng Chin
c5e9d1f5b4
Fix Travis CI build break and ruby configuration error
...
Homebrew's Ruby formula seems to have switched to be keg-only, which
breaks the normal paths in /usr/local/bin and /usr/local/lib. Fix this
by switching to the explicit paths (e.g. /usr/local/opt/ruby/bin) for
Ruby.
Use the new Travis CI native Homebrew addon to manage packages instead
of explicit brew commands.
Update to Xcode 9.4, and leave a comment why we are not going to Xcode
10 / macOS 10.14 yet.
Use "set -e" to make sure we fail fast.
2018-11-07 01:38:43 -08:00
Yee Cheng Chin
eda162cdbb
Merge pull request #765 from phillmv/patch-1
...
Proposal for LICENSE file
2018-11-06 22:58:39 -08:00
Phill MV
0b95deff83
Deleted Summary preamble from LICENSE
2018-11-06 16:16:39 -05:00
Bram Moolenaar
d0721058f4
patch 8.1.0513: no error for set diffopt+=algorithm:
...
Problem: No error for set diffopt+=algorithm:.
Solution: Check for missing argument. (Hirohito Higashi, closes #3598 )
2018-11-05 21:21:33 +01:00
Bram Moolenaar
389ab7122b
patch 8.1.0512: 'helplang' default is inconsistent for C and C.UTF-8
...
Problem: 'helplang' default is inconsistent for C and C.UTF-8.
Solution: Don't accept a value unless it starts with two letters.
2018-11-05 20:25:52 +01:00
Bram Moolenaar
9e353b5265
patch 8.1.0511: ml_get error when calling a function with a range
...
Problem: ml_get error when calling a function with a range.
Solution: Don't position the cursor after the last line.
2018-11-04 23:39:38 +01:00
Bram Moolenaar
ba3ff53930
Update runtime files
2018-11-04 14:45:49 +01:00
Bram Moolenaar
dcd71cbaed
patch 8.1.0510: filter test fails when $LANG is C.UTF-8
...
Problem: Filter test fails when $LANG is C.UTF-8.
Solution: Set 'helplang' to "en" for any C language. (Christian Brabandt,
closes #3577 )
2018-11-04 14:40:47 +01:00
Kazuki Sakamoto
fdb10af4c1
Merge remote-tracking branch 'vim/master'
2018-11-03 21:04:14 -07:00
Bram Moolenaar
0b38f54730
patch 8.1.0509: checking cwd not accessible fails for root
...
Problem: Checking cwd not accessible fails for root. (James McCoy)
Solution: Skip this part of the test for root. (closes #3595 )
2018-11-03 21:47:16 +01:00
Bram Moolenaar
0f62cf5b33
patch 8.1.0508: suspend test fails when run by root
...
Problem: Suspend test fails when run by root.
Solution: Accept both '$' and '#' for the prompt. (James McCoy, closes #3590 )
2018-11-03 21:09:15 +01:00
Bram Moolenaar
da1c11c641
patch 8.1.0507: .raml files not properly detected
...
Problem: .raml files not properly detected.
Solution: Recognize .raml as raml instead of yaml. (closes #3594 )
2018-11-03 19:52:15 +01:00
Bram Moolenaar
9691f82f86
patch 8.1.0506: modeline test fails when run by root
...
Problem: Modeline test fails when run by root.
Solution: Set 'modeline' for the test. (James McCoy, closes #3592 )
2018-11-03 19:06:25 +01:00
Bram Moolenaar
bd9a0c611c
patch 8.1.0505: filter command test may fail if helplang is not set
...
Problem: Filter command test may fail if helplang is not set.
Solution: Set 'helplang' for the test. (James McCoy, closes #3591 )
2018-11-03 19:00:14 +01:00
Bram Moolenaar
4dbc262764
patch 8.1.0504: when CTRL-C is mapped it triggers InsertLeave
...
Problem: When CTRL-C is mapped it triggers InsertLeave.
Solution: Make CTRL-C behave the same way when typed or used in a mapping.
2018-11-02 11:59:15 +01:00
Yee Cheng Chin
91aa372a22
Merge pull request #745 from ychin/rendering_fixes
...
Fix native fullscreen rendering and resizing bugs
2018-11-01 22:33:34 -07:00
Yee Cheng Chin
8400c5301d
Update homepage link on README.md to use HTTPS
2018-11-01 22:00:43 -07:00
Kazuki Sakamoto
57dd4c6884
Merge remote-tracking branch 'vim/master'
2018-11-01 20:46:13 -07:00
Bram Moolenaar
f7acf2b63c
patch 8.1.0503: missing change to diff test
...
Problem: Missing change to diff test. (Hirohito Higashi)
Solution: Add the missing test function.
2018-11-01 21:14:53 +01:00
Yee Cheng Chin
fa0fad6d73
Fixed double-clicking on border resulting in bad resize
...
Fix issue where if the user double-clicks on the window border or corner
to resize MacVim (the macOS behavior is to resize the window all the way
to the screen's border), it results in an incomplete resize and also
takes a long time.
The code was spamming the Vim instance with live resize messages,
leading to slowdown and dropped messages. Fix it by rate limiting the
messages to one at a time, which speeds things up, and clean up when
live resize finishes to make sure things look right.
2018-11-01 01:06:18 -07:00
Yee Cheng Chin
ad821e46d9
Fix toggling native fullscreen on/off to restore window to correct size
...
Previously when using native fullscreen mode, if you toggle fullscreen
off, the window will end up taking up the whole screen rather than
restoring back to the original size. Fix that.
The real issue is because when you resize MacVim's window (which the
fullscreen restore code does), then callback (windowDidResize) triggered
a complicated set of callbacks by calling setFrameSize:, which in turn
resizes Vim, which in turn calls windowDidResize again, which usually
does the right thing, but not always. Fix the window resize handler code
to always respect the new window size by calling
setFrameSizeKeepGUISize: instead which doesn't resize the window.
2018-11-01 01:06:18 -07:00
Yee Cheng Chin
5502bbf9ff
Fixed native fullscreen rendering corruption bug
...
Fix the issue where MacVim would occasionally draws corrupted image in
fullscreen (it would draw mostly black).
The easiest way to reproduce this is as follows:
1. Make a new MacVim window, enter fullscreen
2. Open a new tab or hit Cmd-= a few times
3. Switch to another fullscreen app or desktop, click around, then
switch back
4. Observe most of the screen is black.
The reason this happens is that the MacVim resize code always tries to
resize the window to fit the content size (calculated from how many
lines / columns we have and whether other elements like tab bar are
visible). This means the resize code
(resizeWindowToFitContentSize:keepOnScreen:) would make the window
smaller than the full size of screen. For some reason, when you switch
away from the space, macOS decides to resize the window back to screen
size again, causing a window resize event to happen. The resize event
invalidates the NSView, causing it to draw black.
This is also why fullscreen mode has black bars on top / bottom, which
is especially jarring when font size is large of `linespace` is high.
The fix is to treat guioptions 'k' to be on when in full screen mode,
since the option means we will always try to fit the Vim content inside
the window, rather than resize the window to fit the Vim content. This
way the fullscreen Vim window will take up the whole screen and won't
keep getting resized. This is also more similar to how native Gvim works
when maximized.
Close #496 (black bars)
Close #557 , close #674 (full screen rendering issues)
A related issue is that MacVim (without CGLayer backing) doesn't
actually know how to redraw itself properly when invalidated, which is
the root cause of this bug. It receives Vim draw calls incrementally and
doesn't actually cache the rendered content, so it relies on the fact
that MacVim's NSWindow doesn't usually invalidates all the content which
allows it to draw incrementally without needing to perform a full
redraw. This is why non-native fullscreen requires CGLayer backing mode
as macOS's behavior in this mode (basically a borderless window) is that
it does clear the NSWindow's content when setWantsDisplay: is called.
This is also why Vim live window resizing is limited to cell size
instead of allowing smooth resize (to avoid having to trigger redraws).
These are issues that should be fixed later.
2018-11-01 01:06:18 -07:00
Bram Moolenaar
f080d70a82
patch 8.1.0502: internal diff fails when diffing a context diff
...
Problem: Internal diff fails when diffing a context diff. (Hirohito Higashi)
Solution: Only use callback calls with one line. (closes #3581 )
2018-10-31 22:57:26 +01:00
Kazuki Sakamoto
324ff06148
Merge remote-tracking branch 'vim/master'
2018-10-30 19:45:14 -07:00
Bram Moolenaar
a9a8e04eab
patch 8.1.0501: cppcheck warns for using array index before bounds check
...
Problem: Cppcheck warns for using array index before bounds check.
Solution: Swap the conditions. (Dominique Pelle)
2018-10-30 22:15:55 +01:00
Kazuki Sakamoto
0e473839d0
Merge remote-tracking branch 'vim/master'
2018-10-28 19:21:49 -07:00
Bram Moolenaar
833e5dab14
patch 8.1.0500: cleaning up in src/tee may not always work
...
Problem: Cleaning up in src/tee may not always work.
Solution: Use "rm" when appropriate. (Michael Soyka, closes #3571 )
2018-10-28 15:43:58 +01:00
Phill MV
7dd6ce67e2
Proposal for LICENSE file
2018-10-28 10:00:21 -04:00
Bram Moolenaar
1c29943416
patch 8.1.0499: :2vimgrep causes an ml_get error
...
Problem: :2vimgrep causes an ml_get error
Solution: Pass tomatch pointer instead of value. (Yegappan Lakshmanan)
2018-10-28 14:36:09 +01:00
Bram Moolenaar
d474686a09
patch 8.1.0498: /etc/gitconfig not recognized at a gitconfig file
...
Problem: /etc/gitconfig not recognized at a gitconfig file.
Solution: Add pattern to filetype detection. (closes #3568 )
2018-10-27 14:27:20 +02:00
Bram Moolenaar
5f57bdcab7
patch 8.1.0497: :%diffput changes order of lines
...
Problem: :%diffput changes order of lines. (Markus Braun)
Solution: Do adjust marks when using internal diff.
2018-10-25 17:52:23 +02:00
Bram Moolenaar
c0fe4978f2
patch 8.1.0496: no tests for indent files
...
Problem: No tests for indent files.
Solution: Add a mechanism for running indent file tests. Add a first test
for Vim indenting.
2018-10-25 16:53:19 +02:00
Bram Moolenaar
f86db78fed
patch 8.1.0495: :filter only supports some commands
...
Problem: :filter only supports some commands.
Solution: Add :filter support for more commands. (Marcin Szamotulski,
closes #2856 )
2018-10-25 13:31:37 +02:00
Bram Moolenaar
babfcf54ae
patch 8.1.0494: functions do not check for a window ID in other tabs
...
Problem: Functions do not check for a window ID in other tabs.
Solution: Also find the window ID in other than the current tab.
2018-10-25 13:11:16 +02:00
Bram Moolenaar
e6e3989c1b
patch 8.1.0493: argv() and argc() only work on the current argument list
...
Problem: argv() and argc() only work on the current argument list.
Solution: Add a window ID argument. (Yegappan Lakshmanan, closes #832 )
2018-10-25 12:32:11 +02:00
Bram Moolenaar
bf9679ae46
patch 8.1.0492: "Edit with existing Vim" list can get long
...
Problem: "Edit with existing Vim" list can get long.
Solution: Move the list to a submenu. (Ken Takata, closes #3561 )
2018-10-25 11:25:53 +02:00
Kazuki Sakamoto
93d7fe4bd5
Merge remote-tracking branch 'vim/master'
2018-10-23 21:32:59 -07:00
Bram Moolenaar
0fd6be77de
patch 8.1.0491: if a terminal dump has CR it is considered corrupt
...
Problem: If a terminal dump has CR it is considered corrupt.
Solution: Ignore CR characters. (Nobuhiro Takasaki, closes #3558 )
2018-10-23 21:42:59 +02:00
Bram Moolenaar
eda9e9c2fe
patch 8.1.0490: MS-Windows: doesn't handle missing glibwinpthread-1.dll
...
Problem: MS-Windows: doesn't handle missing glibwinpthread-1.dll.
Solution: Adjust Cygwin/MinGW build file. (Ken Takata, closes #2827 )
2018-10-21 22:45:43 +02:00
Bram Moolenaar
b6f1480a6a
patch 8.1.0489: crash when autocmd clears vimpgrep location list
...
Problem: Crash when autocmd clears vimpgrep location list.
Solution: Return from qf_jump_edit_buffer() early. (Yegappan Lakshmanan)
2018-10-21 18:47:43 +02:00
Bram Moolenaar
9f84ded38b
patch 8.1.0488: using freed memory in quickfix code
...
Problem: Using freed memory in quickfix code. (Dominique Pelle)
Solution: Add the quickfix_busy() flag to postpone deleting quickfix lists
until it is safe. (Yegappan Lakshmanan, closes #3538 )
2018-10-20 20:54:02 +02:00
Bram Moolenaar
4c5d815256
patch 8.1.0487: no menus specifically for the terminal window
...
Problem: No menus specifically for the terminal window.
Solution: Add :tlmenu. (Yee Cheng Chin, closes #3439 ) Add a menu test.
2018-10-19 22:36:53 +02:00
Bram Moolenaar
42a4ea10af
patch 8.1.0486: can't build in MS-Windows
...
Problem: Can't build in MS-Windows.
Solution: Put mch_access() call inside #ifdef
2018-10-19 17:36:01 +02:00
Bram Moolenaar
839e81e12d
patch 8.1.0485: term_start() does not check if directory is accessible
...
Problem: term_start() does not check if directory is accessible.
Solution: Add mch_access() call. (Jason Franklin)
2018-10-19 16:53:39 +02:00
Bram Moolenaar
38654503b0
patch 8.1.0484: some file types are not recognized
...
Problem: Some file types are not recognized.
Solution: Update the file type detection.
2018-10-19 16:27:31 +02:00
Bram Moolenaar
2c64ca1802
Update runtime files
2018-10-19 16:22:31 +02:00
Bram Moolenaar
04c86d27fe
patch 8.1.0483: MinGW does not build tee.exe
...
Problem: MinGW does not build tee.exe.
Solution: Add build instructions. (Yasuhiro Matsumoto, closes #3548 )
2018-10-17 22:45:54 +02:00
Bram Moolenaar
115510f0bd
patch 8.1.0482: MinGW "make clean" deletes all .exe files
...
Problem: MinGW "make clean" deletes all .exe files.
Solution: Only delete .exe files that it builds. (Ken takata)
2018-10-17 22:12:14 +02:00
Bram Moolenaar
29e7fe55be
patch 8.1.0481: when "Terminal" highlight is reverted cursor doesn't show
...
Problem: When "Terminal" highlight is reverted cursor doesn't show.
Solution: Get the colors of the "Terminal" group. (closes #3546 )
2018-10-16 22:13:00 +02:00
Bram Moolenaar
b361db077f
patch 8.1.0480: MinGW build file uses different -I flags than MVC
...
Problem: MinGW build file uses different -I flags than MVC.
Solution: Add -I to $CFLAGS. (Ken takata)
2018-10-16 21:13:14 +02:00
Bram Moolenaar
64f410742f
patch 8.1.0479: failure when setting 'varsofttabstop' to end in a comma
...
Problem: Failure when setting 'varsofttabstop' to end in a comma. (Ralf
Schandl)
Solution: Reject value with trailing command. Add test for invalid values
(closes #3544 )
2018-10-15 22:51:50 +02:00
Bram Moolenaar
65dc12143a
patch 8.1.0478: cannot build with perl using MinGW
...
Problem: Cannot build with perl using MinGW.
Solution: Add -I. (Ken takata, Cesar Romani)
2018-10-15 20:11:18 +02:00
Bram Moolenaar
d95c3c253c
patch 8.1.0477: tiny build fails
...
Problem: Tiny build fails.
Solution: Add a dummy declaration for funccal_entry_T.
2018-10-14 22:38:09 +02:00
Bram Moolenaar
a2aad02830
patch 8.1.0476: memory leaks in test_escaped_glob
...
Problem: Memory leaks in test_escaped_glob.
Solution: Avoid failure when running the shell, use the sandbox.
2018-10-14 22:03:56 +02:00
Bram Moolenaar
27e80c885b
patch 8.1.0475: memory not freed on exit when quit in autocmd
...
Problem: Memory not freed on exit when quit in autocmd.
Solution: Remember funccal stack when executing autocmd.
2018-10-14 21:41:01 +02:00
Bram Moolenaar
a16bc54503
patch 8.1.0474: directory where if_perl.c is written is inconsistent
...
Problem: Directory where if_perl.c is written is inconsistent.
Solution: use auto/if_perl.c for MS-Windows. (Ken Takata, closes #3540 )
2018-10-14 16:25:10 +02:00
Bram Moolenaar
d6105cb408
patch 8.1.0473: user doesn't notice file does not exist when swap file does
...
Problem: User doesn't notice file does not exist when swap file does.
Solution: Add a note that the file cannot be found. Make the "still
running" notice stand out.
2018-10-13 19:06:27 +02:00
Bram Moolenaar
6cdb2c9811
patch 8.1.0472: dosinst command has a few flaws
...
Problem: Dosinst command has a few flaws.
Solution: Register DisplayIcon, DisplayVersion and Publisher for the
uninstaller. (closes #3485 ) Don't set 'diffexpr' if internal diff
is supported. Allow for using Vi compatible from the command line.
Remove needless sleeps. Add comments in the generated _vimrc.
(Ken Takata, closes #3525 )
2018-10-13 17:25:27 +02:00
Bram Moolenaar
453ce7c16b
patch 8.1.0471: some tests are flaky or fail on some systems
...
Problem: Some tests are flaky or fail on some systems.
Solution: Increase waiting time for port number. Use "cmd /c" to execute
"echo" on win32. (Ken Takata, closes #3534 )
2018-10-12 22:15:12 +02:00
Bram Moolenaar
3d6014f033
patch 8.1.0470: pointer ownership around fname_expand() is unclear
...
Problem: Pointer ownership around fname_expand() is unclear.
Solution: Allow b_ffname and b_sfname to point to the same allocated memory,
only free one. Update comments.
2018-10-11 19:27:47 +02:00
Bram Moolenaar
108e7b422b
patch 8.1.0469: too often indexing in qf_lists[]
...
Problem: Too often indexing in qf_lists[].
Solution: Use a qf_list_T pointer. (Yegappan Lakshmanan)
2018-10-11 17:39:12 +02:00
Kazuki Sakamoto
4be190ebe6
Merge remote-tracking branch 'vim/master'
2018-10-10 20:53:21 -07:00
Bram Moolenaar
0664089ecc
patch 8.1.0468: MS-Windows: filter command with pipe character fails
...
Problem: MS-Windows: Filter command with pipe character fails. (Johannes
Riecken)
Solution: Find the pipe character outside of quotes. (Yasuhiro Matsumoto,
closes #1743 , closes #3523 )
2018-10-09 21:49:33 +02:00
Bram Moolenaar
1d3dbcf743
patch 8.1.0467: cannot build with Mac OS X 10.5
...
Problem: Cannot build with Mac OS X 10.5.
Solution: Change #ifdef into #if. (Akshay Hegde, closes #3022 )
2018-10-08 20:07:39 +02:00
Bram Moolenaar
6a2633b00b
patch 8.1.0466: autocmd test fails
...
Problem: Autocmd test fails.
Solution: Do call inchar() when flushing typeahead.
2018-10-07 23:16:36 +02:00
Bram Moolenaar
95ba5c364f
patch 8.1.0465: client-server test fails
...
Problem: Client-server test fails.
Solution: Change logic in EnumWindows().
2018-10-07 22:47:07 +02:00
Bram Moolenaar
1df2fa47b4
patch 8.1.0464: MS-Windows: job_info() has cmd without backslashes
...
Problem: MS-Windows: job_info() has cmd without backslashes. (Daniel
Hahler)
Solution: Use rem_backslash(). (closes #3517 , closes #3404 )
2018-10-07 21:36:11 +02:00
Bram Moolenaar
798184cc67
patch 8.1.0463: "simalt ~x" in .vimrc blocks swap file prompt
...
Problem: "simalt ~x" in .vimrc blocks swap file prompt.
Solution: Flush buffers before prompting. (Yasuhiro Matsumoto,
closes #3518 , closes #2192 )
2018-10-07 20:48:39 +02:00
Bram Moolenaar
c0543e145f
patch 8.1.0462: when using ConPTY Vim can be a child process
...
Problem: When using ConPTY Vim can be a child process.
Solution: To find a Vim window use both EnumWindows() and
EnumChildWindows(). (Nobuhiro Takasaki, closes #3521 )
2018-10-07 20:35:12 +02:00
Bram Moolenaar
00bf8cd211
patch 8.1.0461: quickfix code uses too many /* */ comments
...
Problem: Quickfix code uses too many /* */ comments.
Solution: Change to // comments. (Yegappan Lakshmanan)
2018-10-07 20:26:20 +02:00
Bram Moolenaar
1307d1c003
patch 8.1.0460: assert_fails() does not take a message argument
...
Problem: assert_fails() does not take a message argument
Solution: Add the argument.
2018-10-07 20:16:49 +02:00
Bram Moolenaar
a05a0d325c
patch 8.1.0459: Test_executable fails when there is a dog in the system
...
Problem: Test_executable fails when there is a dog in the system.
Solution: Rename the dog. (Hirohito Higashi)
2018-10-07 18:43:05 +02:00
Bram Moolenaar
df77cef92e
patch 8.1.0458: ml_get error and crash when using "do"
...
Problem: Ml_get error and crash when using "do".
Solution: Adjust cursor position also when diffupdate is not needed.
(Hirohito Higashi)
2018-10-07 17:46:42 +02:00
Bram Moolenaar
0cc7b2d6cc
patch 8.1.0457: win32 console: key mappings don't work
...
Problem: Win32 console: key mappings don't work.
Solution: Use another solution for the keypad keys that doesn't break
mappings. Some values will be negative. (Mike Williams)
2018-10-07 15:49:56 +02:00
Bram Moolenaar
d8f27b30d6
patch 8.1.0456: running test hangs when the input file is being edited
...
Problem: Running test hangs when the input file is being edited.
Solution: Use a SwapExists autocommand to ignore editing the test script.
2018-10-07 15:42:07 +02:00
Bram Moolenaar
019dfe6855
patch 8.1.0455: checking for empty quickfix stack is not consistent
...
Problem: Checking for empty quickfix stack is not consistent.
Solution: Use qf_stack_empty(). (Yegappan Lakshmanan)
2018-10-07 14:38:49 +02:00
Bram Moolenaar
2610990709
patch 8.1.0454: resolve() was not tested with a symlink cycle
...
Problem: resolve() was not tested with a symlink cycle.
Solution: Add a test. (Dominique Pelle, closes #3513 )
2018-10-06 15:43:17 +02:00
Bram Moolenaar
8295666dc2
patch 8.1.0453: MS-Windows: executable() is not reliable
...
Problem: MS-Windows: executable() is not reliable.
Solution: Use $PATHEXT properly. (Yasuhiro Matsumoto, closes #3412 )
2018-10-06 15:18:45 +02:00
Bram Moolenaar
7554c548a4
patch 8.1.0452: MS-Windows: not finding intl.dll
...
Problem: MS-Windows: not finding intl.dll.
Solution: Also find intl.dll next to libintl.dll. (Ken Takata)
2018-10-06 15:03:15 +02:00
Kazuki Sakamoto
8b2dcf4d6e
Merge remote-tracking branch 'vim/master'
2018-10-03 22:29:11 -07:00
Bram Moolenaar
2bc152ab53
patch 8.1.0451: Win32 console: keypad keys don't work
...
Problem: Win32 console: keypad keys don't work.
Solution: Use numbers instead of characters to avoid the value becoming
negative. (Mike Williams)
2018-10-03 20:44:20 +02:00
Bram Moolenaar
0e9deefb4f
patch 8.1.0450: build failure without the +fold feature
...
Problem: Build failure without the +fold feature.
Solution: Add #ifdef.
2018-10-02 21:48:34 +02:00
Bram Moolenaar
7701f30856
patch 8.1.0449: when 'rnu' is set folded lines are not displayed correctly
...
Problem: When 'rnu' is set folded lines are not displayed correctly.
(Vitaly Yashin)
Solution: When only redrawing line numbers do draw folded lines.
(closes #3484 )
2018-10-02 21:20:32 +02:00
Bram Moolenaar
4a5abbd613
patch 8.1.0448: cursorline not removed when using 'cursorbind'
...
Problem: Cursorline not removed when using 'cursorbind'. (Justin Keyes)
Solution: Store the last cursor line per window. (closes #3488 )
2018-10-02 18:26:10 +02:00
Bram Moolenaar
586c70cdfe
patch 8.1.0447: GUI scrollbar test fails with Athena and Motif
...
Problem: GUI scrollbar test fails with Athena and Motif.
Solution: When not using on-the-fly scrolling call normal_cmd().
2018-10-02 16:23:58 +02:00
Bram Moolenaar
4f88875725
patch 8.1.0446: options test fails in the GUI
...
Problem: Options test fails in the GUI.
Solution: Don't try changing 'term' in the GUI.
2018-10-02 15:06:40 +02:00
Bram Moolenaar
35bc7d6c52
patch 8.1.0445: setting 'term' does not store location for termcap options
...
Problem: Setting 'term' does not store location for termcap options.
Solution: Set the script context for termcap options that are changed when
'term' is set.
2018-10-02 14:45:10 +02:00
Bram Moolenaar
54ade9f7e3
patch 8.1.0444: unnecessary check for NULL pointer
...
Problem: Unnecessary check for NULL pointer.
Solution: Remove check and call vim_free() directly.
2018-10-02 14:15:12 +02:00
Bram Moolenaar
95bafa296a
Update runtime files.
2018-10-02 13:26:25 +02:00
Kazuki Sakamoto
6bfafd9d5f
Merge remote-tracking branch 'vim/master'
2018-09-30 16:28:11 -07:00
Bram Moolenaar
6dff58f15c
patch 8.1.0443: unnecessary static function prototypes
...
Problem: Unnecessary static function prototypes.
Solution: Remove unnecessary prototypes.
2018-09-30 21:43:26 +02:00
Bram Moolenaar
f45d747ebf
patch 8.1.0442: GUI: cursor not drawn after ":redraw | sleep"
...
Problem: GUI: Cursor not drawn after ":redraw | sleep".
Solution: Flush the output. (closes #3496 )
2018-09-30 18:22:26 +02:00
Bram Moolenaar
d3dc062160
patch 8.1.0441: build failure without command line history
...
Problem: Build failure without command line history.
Solution: Move cmdline_init() outside of #ifdef.
2018-09-30 17:45:30 +02:00
Bram Moolenaar
2bfddfc508
patch 8.1.0440: remove() with a range not sufficiently tested
...
Problem: remove() with a range not sufficiently tested.
Solution: Add a test. (Dominique Pelle, closes #3497 )
2018-09-30 17:16:25 +02:00
Bram Moolenaar
438d176e35
patch 8.1.0439: recursive use of getcmdline() still not protected
...
Problem: Recursive use of getcmdline() still not protected.
Solution: Instead of saving the command buffer when making a call which may
cause recursiveness, save the buffer when actually being called
recursively.
2018-09-30 17:11:48 +02:00
Bram Moolenaar
b434ae2a1f
patch 8.1.0438: the ex_make() function is too long
...
Problem: The ex_make() function is too long.
Solution: Split it into several functions. (Yegappan Lakshmanan)
2018-09-28 23:09:55 +02:00
Bram Moolenaar
95892c27b2
patch 8.1.0437: may access freed memory when syntax HL times out
...
Problem: May access freed memory when syntax HL times out. (Philipp Gesang)
Solution: Clear b_sst_first when clearing b_sst_array.
2018-09-28 22:26:54 +02:00
Kazuki Sakamoto
dfe72b890a
Merge remote-tracking branch 'vim/master'
2018-09-25 22:20:15 -07:00
Bram Moolenaar
ee91c33570
patch 8.1.0436: can get the text of inputsecret() with getcmdline()
...
Problem: Can get the text of inputsecret() with getcmdline(). (Tommy Allen)
Solution: Don't return the text.
2018-09-25 22:27:35 +02:00
Bram Moolenaar
8c63e0ec31
patch 8.1.0435: cursorline highlight not removed in some situation
...
Problem: Cursorline highlight not removed in some situation. (Vitaly
Yashin)
Solution: Reset last_cursorline when resetting 'cursorline'. (Christian
Brabandt, closes #3481 )
2018-09-25 22:17:54 +02:00
Bram Moolenaar
09037503ea
patch 8.1.0434: copy_loclist() is too long
...
Problem: copy_loclist() is too long.
Solution: Split in multiple functions. (Yegappan Lakshmanan)
2018-09-25 22:08:14 +02:00
Bram Moolenaar
31cbadf74b
patch 8.1.0433: mapping can obtain text from inputsecret()
...
Problem: Mapping can obtain text from inputsecret(). (Tommy Allen)
Solution: Disallow CTRL-R = and CTRL-\ e when using inputsecret().
2018-09-25 20:48:57 +02:00
Bram Moolenaar
45c5c86e63
patch 8.1.0432: compiler warning for signed/unsigned
...
Problem: Compiler warning for signed/unsigned.
Solution: Add type cast. (Mike Williams)
2018-09-25 18:59:21 +02:00
Bram Moolenaar
6dae96ef7a
patch 8.1.0431: the qf_jump() function is too long
...
Problem: The qf_jump() function is too long.
Solution: Refactor to split it into several functions. (Yegappan Lakshmanan)
2018-09-24 21:50:12 +02:00
Bram Moolenaar
d339828b4b
patch 8.1.0430: Xargadd file left behind after running test
...
Problem: Xargadd file left behind after running test.
Solution: Delete the file. (Dominique Pelle)
2018-09-24 21:32:11 +02:00
Bram Moolenaar
c75878c923
patch 8.1.0429: no test for :lcd with 'shellslash'
...
Problem: No test for :lcd with 'shellslash'.
Solution: Add a test. (Daniel Hahler, closes #3475 )
2018-09-23 19:36:15 +02:00
Bram Moolenaar
3b30168f04
patch 8.1.0428: the :suspend command is not tested
...
Problem: The :suspend command is not tested.
Solution: Add a test. (Dominique Pelle, closes #3472 )
2018-09-22 21:37:39 +02:00
Bram Moolenaar
7ff8a3cfb6
patch 8.1.0427: MS-Windows GUI: using invalid encoded file name
...
Problem: MS-Windows GUI: using invalid encoded file name.
Solution: Drop the file name and return NULL. (Ken Takata, closes #3467 )
2018-09-22 14:39:15 +02:00
Bram Moolenaar
4841a7ccae
patch 8.1.0426: accessing invalid memory in SmcOpenConnection()
...
Problem: Accessing invalid memory in SmcOpenConnection().
Solution: Reduce size of errorstring by one. (Dominique Pelle, closes #3469 )
2018-09-22 14:08:49 +02:00
Kazuki Sakamoto
7b3e0ab5a8
Merge remote-tracking branch 'vim/master'
2018-09-22 00:59:19 -07:00
Kazuki Sakamoto
3616c83b36
Merge pull request #737 from cwlin/fix_guifontwide_size
...
Respect the font size setting of guifontwide.
2018-09-22 00:59:00 -07:00
Arseny Nasokin
592e3c7823
Vimrc python37 ( #739 )
...
* Use Python 3.7 from python.org if installed
* Use Python from MacPorts after Homebrew if installed
* Added requested comments and Python2.7 from python.org detection
2018-09-22 00:58:29 -07:00
Kazuki Sakamoto
a968ddf5a4
Merge pull request #742 from ichizok/fix/windows-like-shortcuts
...
<C-U> and <C-O> don't work when using Japanese IM with "Windows-like shortcuts" turned on
2018-09-22 00:57:57 -07:00
Kazuki Sakamoto
d716ad7ff8
Merge pull request #749 from ichizok/fix/timer-check
...
Fix timer handling
2018-09-22 00:56:03 -07:00
Bram Moolenaar
9cea87c577
patch 8.1.0425: ml_get error and crash with appendbufline()
...
Problem: ml_get error and crash with appendbufline(). (Masashi Iizuka)
Solution: Set per-window buffer info. (Hirohito Higashi, closes #3455 )
2018-09-21 16:59:45 +02:00
Bram Moolenaar
e76d7a63df
patch 8.1.0424: test output is very verbose, loading CI log is slow
...
Problem: Test output is very verbose, loading CI log is slow.
Solution: Redirect output to /dev/null. (Ken Takata, closes #3456 )
2018-09-21 16:37:25 +02:00
Bram Moolenaar
0bd4051732
patch 8.1.0423: MS-Windows: using dup-close for flushing a file
...
Problem: MS-Windows: using dup-close for flushing a file.
Solution: Use _commit(). (Ken Takata, closes #3463 )
2018-09-21 14:48:53 +02:00
Bram Moolenaar
4ff4290de1
patch 8.1.0422: cannot create map file with MinGW
...
Problem: Cannot create map file with MinGW.
Solution: Add support for $MAP. (Ken Takata, closes #3460 )
2018-09-21 14:43:10 +02:00
Bram Moolenaar
76c612a166
patch 8.1.0421: MS-Windows: Ruby path is wrong for Ruby 1.9 and later
...
Problem: MS-Windows: Ruby path is wrong for Ruby 1.9 and later.
Solution: Let -I argument depend on Ruby version. (Ken Takata, closes #3461 )
2018-09-21 14:31:51 +02:00
Bram Moolenaar
1f402806b8
patch 8.1.0420: generating vim.lib when using ActivePerl 5.20.3 or later
...
Problem: Generating vim.lib when using ActivePerl 5.20.3 or later.
Solution: Redefine XS_EXTERNAL(). (Ken Takata, closes #3462 )
2018-09-21 14:01:27 +02:00
Bram Moolenaar
de2bd37bec
patch 8.1.0419: Cygwin: running cproto fails with -O2
...
Problem: Cygwin: running cproto fails with -O2.
Solution: Strip -O2 for cproto. (Ken Takata, closes #3465 )
2018-09-21 13:56:25 +02:00
Bram Moolenaar
b872e63fc6
patch 8.1.0418: MS-Windows: cannot separate Lua include and library dirs
...
Problem: MS-Windows: cannot separate Lua include and library directories.
Solution: Add LUA_LIBDIR and LUA_INCDIR. (Ken Takata, closes #3464 )
2018-09-21 13:44:09 +02:00
Bram Moolenaar
036b09ca78
patch 8.1.0417: several command line arguments are not tested
...
Problem: Several command line arguments are not tested.
Solution: Add tests for -m, -M, -R and -Vfile. (Dominique Pelle,
closes #3458 )
2018-09-21 12:54:06 +02:00
Bram Moolenaar
b0e982bf05
patch 8.1.0416: sort doesn't report deleted lines
...
Problem: Sort doesn't report deleted lines.
Solution: Call msgmore(). (Christian Brabandt, closes #3454 )
2018-09-21 12:46:22 +02:00
Bram Moolenaar
d4f73438bb
patch 8.1.0415: not actually using 16 colors with vtp
...
Problem: Not actually using 16 colors with vtp.
Solution: Always use 256 colors when vtp is used. (Nobuhiro Takasaki,
closes #3432 )
2018-09-21 12:24:12 +02:00
Bram Moolenaar
3f3fb0b147
patch 8.1.0414: v:option_old is cleared when using :set in OptionSet autocmd
...
Problem: v:option_old and v:option_new are cleared when using :set in
OptionSet autocmd. (Gary Johnson)
Solution: Don't trigger OptionSet recursively.
2018-09-21 11:59:32 +02:00
Bram Moolenaar
933bef779a
patch 8.1.0413: test output is duplicated or missing
...
Problem: Test output is duplicated or missing.
Solution: Adjust the MS-Windows and Unix test makefiles. (Ken Takata,
closes #3452 )
2018-09-20 21:39:33 +02:00
ichizok
d9c3c62eaf
Add the condition for calling interpretKeyEvents
2018-09-20 16:25:48 +09:00
ichizok
92fcfe15a5
Check new timer before [MMBackend waitForInput:]
2018-09-20 16:23:19 +09:00
Kazuki Sakamoto
1f7e0c9ec1
Merge remote-tracking branch 'vim/master'
2018-09-19 19:04:51 -07:00
Bram Moolenaar
92cbf62b87
patch 8.1.0412: cannot build with GTK 2.4
...
Problem: Cannot build with GTK 2.4.
Solution: Add back a few #ifdefs. (Ken Takata, closes #3447 )
Also support older GTK. (Tom Christensen)
2018-09-19 22:40:03 +02:00
Bram Moolenaar
cec12cd661
patch 8.1.0411: renamed file missing from distribution
...
Problem: Renamed file missing from distribution.
Solution: Rename screen.c to termscreen.c (Zdenek Dohnal, closes #3449 )
2018-09-19 22:00:30 +02:00
Bram Moolenaar
476c0db002
patch 8.1.0410: the ex_copen() function is too long
...
Problem: The ex_copen() function is too long.
Solution: Refactor to split off two functions. (Yegappan Lakshmanan)
2018-09-19 21:56:02 +02:00
Bram Moolenaar
4b1c9a91b5
patch 8.1.0409: startup test fails on MS-Windows
...
Problem: Startup test fails on MS-Windows.
Solution: Do the Arabic test in silent Ex mode. Loosen the check for -V2.
2018-09-19 21:06:31 +02:00
Kazuki Sakamoto
365fede8af
Merge remote-tracking branch 'vim/master'
2018-09-18 19:45:10 -07:00
Bram Moolenaar
a87f8fd3fe
patch 8.1.0408: MSVC: cannot use the "x64" native compiler option
...
Problem: MSVC: cannot use the "x64" native compiler option.
Solution: Ignore case for %Platform%. Improve documentation. (Ken Takata)
2018-09-18 22:58:41 +02:00
Bram Moolenaar
fe15b7dfa6
patch 8.1.0407: quickfix code mixes using the stack and a list pointer
...
Problem: Quickfix code mixes using the stack and a list pointer.
Solution: Use a list pointer in more places. (Yegappan Lakshmanan,
closes #3443 )
2018-09-18 22:50:06 +02:00
Bram Moolenaar
9e81db9742
patch 8.1.0406: several command line arguments are not tested
...
Problem: Several command line arguments are not tested.
Solution: Add tests for -A, -F, -H, -p and -V. (Dominique Pelle,
closes #3446 )
2018-09-18 22:37:31 +02:00
Bram Moolenaar
664323e7c8
patch 8.1.0405: too many #ifdefs for GTK
...
Problem: Too many #ifdefs for GTK.
Solution: Define macros instead of using #ifdef. (Ken Takata, closes #3436 )
2018-09-18 22:30:07 +02:00
Bram Moolenaar
e961cba3cb
patch 8.1.0404: accessing invalid memory with long argument name
...
Problem: Accessing invalid memory with long argument name.
Solution: Use item_count instead of checking for a terminating NULL.
(Dominique Pelle, closes #3444 )
2018-09-18 21:51:47 +02:00
Bram Moolenaar
cc3a997746
patch 8.1.0403: header file missing from distribution
...
Problem: Header file missing from distribution.
Solution: Add src/protodef.h.
2018-09-18 21:41:47 +02:00
Bram Moolenaar
198fa066b2
patch 8.1.0402: the DiffUpdate event isn't triggered for :diffput
...
Problem: The DiffUpdate event isn't triggered for :diffput.
Solution: Also trigger DiffUpdate for :diffget and :diffput.
2018-09-18 21:20:26 +02:00
Kazuki Sakamoto
acf95bfed2
Merge remote-tracking branch 'vim/master'
2018-09-17 21:51:27 -07:00
Bram Moolenaar
110bd60985
patch 8.1.0401: can't get swap name of another buffer
...
Problem: Can't get swap name of another buffer.
Solution: Add swapname(). (Ozaki Kiichi, closes #3441 )
2018-09-16 18:46:59 +02:00
Bram Moolenaar
d2b58c0a2c
patch 8.1.0400: using freed memory with :diffget
...
Problem: Using freed memory with :diffget.
Solution: Skip ex_diffupdate() while updating diffs. (closes #3442 )
2018-09-16 18:10:48 +02:00
Bram Moolenaar
65985ac998
patch 8.1.0399: 'hlsearch' highlight remains in other window
...
Problem: 'hlsearch' highlight remains in other window after cancelling
command.
Solution: Redraw all windows. Also remove unnecessary delays. (closes #3437 )
2018-09-16 17:08:04 +02:00
Bram Moolenaar
8f4499b816
patch 8.1.0398: no test for -o and -O command line arguments
...
Problem: No test for -o and -O command line arguments.
Solution: Add a test. (Dominique Pelle, closes #3438 )
2018-09-16 16:28:11 +02:00
Bram Moolenaar
e8fa05b5bc
patch 8.1.0397: no event triggered after updating diffs
...
Problem: No event triggered after updating diffs.
Solution: Add the DiffUpdated event.
2018-09-16 15:48:06 +02:00
Bram Moolenaar
42c63356d7
patch 8.1.0396: another compiler warning on 64-bit MS-Windows
...
Problem: Another compiler warning on 64-bit MS-Windows.
Solution: Add type cast. (Mike Williams)
2018-09-16 15:14:18 +02:00
Bram Moolenaar
6e272acc82
patch 8.1.0395: compiler warning on 64-bit MS-Windows
...
Problem: Compiler warning on 64-bit MS-Windows.
Solution: Add type cast. (Mike Williams)
2018-09-16 14:51:36 +02:00
Bram Moolenaar
e3521d9cbb
patch 8.1.0394: diffs are not always updated correctly
...
Problem: Diffs are not always updated correctly.
Solution: When using internal diff update for any changes properly.
2018-09-16 14:10:31 +02:00
Bram Moolenaar
785fc6567f
patch 8.1.0393: not all white space difference options available
...
Problem: Not all white space difference options available.
Solution: Add "iblank", "iwhiteall" and "iwhiteeol" to 'diffopt'.
2018-09-15 19:17:38 +02:00
Bram Moolenaar
50eb16c3b2
patch 8.1.0392: error while typing :/foo/s// with 'incsearch' enabled
...
Problem: Error while typing :/foo/s// with 'incsearch' enabled.
Solution: Do not give search errors when highlighting matches.
2018-09-15 15:42:40 +02:00
Bram Moolenaar
ac49f61a20
patch 8.1.0391: building in a shadow directory fails
...
Problem: Building in a shadow directory fails.
Solution: Don't link the xdiff directory but what's in it. (closes #3428 )
2018-09-15 15:08:52 +02:00
Bram Moolenaar
ab18673731
patch 8.1.0390: scrollbars are not tested
...
Problem: Scrollbars are not tested.
Solution: Add test_scrollbar() and a test.
2018-09-14 21:27:06 +02:00
Bram Moolenaar
da1f71d75f
patch 8.1.0389: :behave command is not tested
...
Problem: :behave command is not tested.
Solution: Add a test. (Dominique Pelle, closes #3429 )
2018-09-14 20:10:32 +02:00
Josh Petrie
d02a1945e3
Merge pull request #731 from ychin/guioptions-k-2
...
Support guioptions 'k' flag in MacVim (2nd attempt)
2018-09-14 07:13:02 -07:00
Kazuki Sakamoto
33c20214bc
Merge remote-tracking branch 'vim/master'
2018-09-13 20:47:20 -07:00
Bram Moolenaar
bf1c1b8513
patch 8.1.0388: Coverity complains about possible NULL pointer use
...
Problem: Coverity complains about possible NULL pointer use.
Solution: Use get_tv_string() instead of get_tv_string_chk().
2018-09-13 21:30:05 +02:00
Bram Moolenaar
24839edc54
patch 8.1.0387: no test for 'ambiwidth' detection
...
Problem: No test for 'ambiwidth' detection.
Solution: Add a test.
2018-09-13 20:46:52 +02:00
Bram Moolenaar
fe8ef98dd1
patch 8.1.0386: cannot test with non-default option value
...
Problem: Cannot test with non-default option value.
Solution: Add test_option_not_set().
2018-09-13 20:31:54 +02:00
Bram Moolenaar
c91c500348
patch 8.1.0385: Coveralls badge doesn't update
...
Problem: Coveralls badge doesn't update.
Solution: Update the URL
2018-09-13 19:04:48 +02:00
Bram Moolenaar
8aeb504fc6
patch 8.1.0384: sign ordering depends on +netbeans feature
...
Problem: Sign ordering depends on +netbeans feature.
Solution: Also order signs without +netbeans. (Christian Brabandt,
closes #3224 )
2018-09-13 18:33:05 +02:00
Bram Moolenaar
a214079008
patch 8.1.0383: missing source file rename
...
Problem: Missing source file rename.
Solution: Update the dependency.
2018-09-13 18:05:48 +02:00
Bram Moolenaar
0f7683f973
patch 8.1.0382: some make programs can't handle "xdiff/../"
...
Problem: Some make programs can't handle dependency on "xdiff/../".
Solution: Strip it out.
2018-09-13 18:01:31 +02:00
Bram Moolenaar
5c6f574bd1
patch 8.1.0381: variable declaration not at start of block
...
Problem: Variable declaration not at start of block.
Solution: Fix line ordering.
2018-09-13 17:32:07 +02:00
Bram Moolenaar
32d19c1820
patch 8.1.0380: "make proto" doesn't work well
...
Problem: "make proto" doesn't work well.
Solution: Define a few more types for cproto. Update proto files. Fix that
workshop didn't build.
2018-09-13 17:26:54 +02:00
Bram Moolenaar
78dcd4f002
patch 8.1.0379: build dependencies are incomplete
...
Problem: Build dependencies are incomplete.
Solution: Update the build dependencies, mainly for xdiff. Adjust object
directory for libvterm and xdiff.
2018-09-13 17:23:28 +02:00
Bram Moolenaar
0d5f21c3df
patch 8.1.0378: CI build failure
...
Problem: CI build failure.
Solution: Include vim.h as ../vim.h. Fix compiler warning.
2018-09-13 15:58:58 +02:00
Bram Moolenaar
42335f50bc
patch 8.1.0377: xdiff doesn't use the Vim memory allocation functions
...
Problem: Xdiff doesn't use the Vim memory allocation functions.
Solution: Change the xdl_ defines. Check for out-of-memory. Rename
"ignored" to "vim_ignored".
2018-09-13 15:33:43 +02:00
Bram Moolenaar
c787539747
patch 8.1.0376: compiler warning for uninitialized variable
...
Problem: Compiler warning for uninitialized variable. (Tony Mechelynck)
Solution: Initialize the variable.
2018-09-13 14:57:41 +02:00
Bram Moolenaar
3b8defd0a5
patch 8.1.0375: cannot use diff mode with Cygwin diff.exe
...
Problem: Cannot use diff mode with Cygwin diff.exe. (Igor Forca)
Solution: Skip over unrecognized lines in the diff output.
2018-09-13 13:03:11 +02:00
Kazuki Sakamoto
cfcb2d4ffe
Merge remote-tracking branch 'vim/master'
2018-09-12 21:29:45 -07:00
Bram Moolenaar
bd9a53c06c
patch 8.1.0374: moving the cursor is slow when 'relativenumber' is set
...
Problem: Moving the cursor is slow when 'relativenumber' is set.
Solution: Only redraw the number column, not all lines.
2018-09-12 23:15:48 +02:00
Bram Moolenaar
1b7fefcbce
patch 8.1.0373: screen updating still slow when 'cursorline' is set
...
Problem: Screen updating still slow when 'cursorline' is set.
Solution: Fix setting last_cursorline.
2018-09-12 22:27:15 +02:00
Bram Moolenaar
90a997987d
patch 8.1.0372: screen updating slow when 'cursorline' is set
...
Problem: Screen updating slow when 'cursorline' is set.
Solution: Only redraw the old and new cursor line, not all lines.
2018-09-12 21:52:18 +02:00
Bram Moolenaar
643b614087
patch 8.1.0371: argument types for select() may be wrong
...
Problem: Argument types for select() may be wrong.
Solution: Use a configure macro. (Tobias Ulmer)
2018-09-12 20:29:09 +02:00
Bram Moolenaar
274cea35c6
patch 8.1.0370: not using internal diff if 'diffopt' is not changed
...
Problem: Not using internal diff if 'diffopt' is not changed.
Solution: Correct initialization of diff_flags. (Christian Brabandt)
2018-09-12 18:00:12 +02:00
Kazuki Sakamoto
3f1f9b0f9d
Merge remote-tracking branch 'vim/master'
2018-09-11 19:55:13 -07:00
Bram Moolenaar
67f8ab8299
patch 8.1.0369: continuation lines cannot contain comments
...
Problem: Continuation lines cannot contain comments.
Solution: Support using "\ .
2018-09-11 22:37:29 +02:00
Bram Moolenaar
25328e39d2
patch 8.1.0368: GTK code has too many #ifdefs and GTK 2.10 building fails
...
Problem: GTK code has too many #ifdefs and building fails with GTK 2.10.
Solution: Always use gtk_widget_get_window() and define it for older GTK
versions. (Ken Takata, closes #3421 )
2018-09-11 21:30:09 +02:00
Bram Moolenaar
84d9390480
patch 8.1.0367: getchar(1) no longer processes pending messages
...
Problem: getchar(1) no longer processes pending messages. (Yasuhiro
Matsumoto)
Solution: Call parse_queued_messages().
2018-09-11 20:10:20 +02:00
Kazuki Sakamoto
be7053b6bd
Merge remote-tracking branch 'vim/master'
2018-09-10 22:49:48 -07:00
Bram Moolenaar
007921611b
patch 8.1.0366: pieces of the xdiff code are not used
...
Problem: Pieces of the xdiff code are not used.
Solution: Add "#if 0" to omit unused code.
2018-09-10 22:18:52 +02:00
Bram Moolenaar
4c7b08f640
patch 8.1.0365: function profile doesn't specify where it was defined
...
Problem: Function profile doesn't specify where it was defined.
Solution: Show the script name and line number.
2018-09-10 22:03:40 +02:00
Bram Moolenaar
e797abf3c7
patch 8.1.0364: compiler warning in xdiff code
...
Problem: Compiler warning in xdiff code. (Yegappan Lakshmanan)
Solution: Initialize directly.
2018-09-10 21:22:15 +02:00
Bram Moolenaar
c93262b2e3
patch 8.1.0363: internal diff isn't used by default as advertised
...
Problem: Internal diff isn't used by default as advertised.
Solution: Add "internal" to the default value of 'diffopt'.
Also add couple of files missing from the distribution.
2018-09-10 21:15:40 +02:00
Bram Moolenaar
f29c1c6aa3
patch 8.1.0362: cannot get the script line number when executing a function
...
Problem: Cannot get the script line number when executing a function.
Solution: Store the line number besides the script ID. (Ozaki Kiichi,
closes #3362 ) Also display the line number with ":verbose set".
2018-09-10 21:05:02 +02:00
Bram Moolenaar
6b0b83f768
patch 8.1.0361: remote user not used for completion
...
Problem: Remote user not used for completion. (Stucki)
Solution: Use $USER too. (Dominique Pelle, closes #3407 )
2018-09-10 19:03:05 +02:00
Bram Moolenaar
e828b7621c
patch 8.1.0360: using an external diff program is slow and inflexible
...
Problem: Using an external diff program is slow and inflexible.
Solution: Include the xdiff library. (Christian Brabandt, closes #2732 )
Use it by default.
2018-09-10 17:51:58 +02:00
Josh Petrie
84f1c3dbe4
Merge pull request #736 from cwlin/add_10_12_2_def
...
Add MAC_OS_X_VERSION_10_12_2 definition.
2018-09-10 08:33:39 -07:00
Bram Moolenaar
93a1df2c20
Update runtime files.
2018-09-10 11:51:50 +02:00
Bram Moolenaar
6f8bdab8e2
patch 8.1.0359: no clue what test failed when using a screendump twice
...
Problem: No clue what test failed when using a screendump twice.
Solution: Add an extra argument to VerifyScreenDump().
2018-09-09 22:02:24 +02:00
Bram Moolenaar
a5c48c2698
patch 8.1.0358: crash when using term_dumpwrite() after the job finished
...
Problem: Crash when using term_dumpwrite() after the job finished.
Solution: Check for a finished job and give an error message.
2018-09-09 19:56:07 +02:00
Bram Moolenaar
02c972153d
patch 8.1.0357: instructions for tests are outdated
...
Problem: Instructions for tests are outdated. (Jason Franklin)
Solution: Update the text.
2018-09-09 15:56:06 +02:00
Bram Moolenaar
99f043a57d
patch 8.1.0356: using :s with 'incsearch' prevents CTRL-R CTRL-W
...
Problem: Using :s with 'incsearch' prevents CTRL-R CTRL-W. (Boris Staletic)
Solution: When past the pattern put cursor back in the start position.
(closes #3413 )
2018-09-09 15:54:14 +02:00
Bram Moolenaar
a750ac2288
patch 8.1.0355: incorrect adjusting the popup menu for the preview window
...
Problem: Incorrect adjusting the popup menu for the preview window.
Solution: Compute position and height properl. (Ronan Pigott) Also show at
least ten items. (closes #3414 )
2018-09-09 15:27:59 +02:00
Bram Moolenaar
53c8a478cc
patch 8.1.0354: packadd test fails on MS-Windows
...
Problem: Packadd test fails on MS-Windows.
Solution: Ignore difference between forward and backward slashes.
2018-09-08 19:12:12 +02:00
Bram Moolenaar
99396d4cbf
patch 8.1.0353: an "after" directory of a package is appended to 'rtp'
...
Problem: An "after" directory of a package is appended to 'rtp', which
will be after the user's "after" directory. ()
Solution: Insert the package "after" directory before any other "after"
directory in 'rtp'. (closes #3409 )
2018-09-08 18:21:16 +02:00
Bram Moolenaar
d4a1aabe37
patch 8.1.0352: browsing compressed tar files does not always work
...
Problem: Browsing compressed tar files does not always work.
Solution: Use the "file" command to get the compression type.
2018-09-08 15:10:34 +02:00
Kazuki Sakamoto
ea5d7e71c0
Merge remote-tracking branch 'vim/master'
2018-09-06 22:51:52 -07:00
Bram Moolenaar
198cb66d65
patch 8.1.0351: 'incsearch' for :/foo/s//<Esc> changes last search pattern
...
Problem: 'incsearch' for :/foo/s//<Esc> changes last search pattern.
Solution: Save the last search pattern earlier.
2018-09-06 21:44:17 +02:00
Bram Moolenaar
0b1468884a
patch 8.1.0350: Vim may block on ch_sendraw()
...
Problem: Vim may block on ch_sendraw() when the job is sending data back to
Vim, which isn't read yet. (Nate Bosch)
Solution: Add the "noblock" option to job_start(). (closes #2548 )
2018-09-06 16:27:24 +02:00
Bram Moolenaar
ed5a9d6612
patch 8.1.0349: crash when wiping buffer in a callback
...
Problem: Crash when wiping buffer in a callback.
Solution: Do not handle messages when only peeking for a character.
(closes #2107 ) Add "redraw_flag" to test_override().
2018-09-06 13:14:43 +02:00
Kazuki Sakamoto
f29a0fcb35
Merge remote-tracking branch 'vim/master'
2018-09-05 23:01:43 -07:00
Bram Moolenaar
e67a7d690a
patch 8.1.0348: on Travis the slowest build is run last
...
Problem: On Travis the slowest build is run last. (Dominique Pelle)
Solution: Reorder the build entries.
2018-09-05 22:25:50 +02:00
Kazuki Sakamoto
800c4f7cc1
Merge remote-tracking branch 'vim/master'
2018-09-03 21:29:37 -07:00
Bram Moolenaar
f1c118be93
patch 8.1.0347: some tests fail on Solaris
...
Problem: Some tests fail on Solaris.
Solution: Skip writefile test. Fix path to libc.so. Improve test for Turkish
case change. (Libor Bukata, Bjorn Linse, closes #3403 )
2018-09-03 22:08:10 +02:00
Bram Moolenaar
20aac6c112
Update runtime files.
2018-09-02 21:07:30 +02:00
Bram Moolenaar
acca8df9d4
patch 8.1.0346: building with Aap is outdated and unused
...
Problem: Building with Aap is outdated and unused.
Solution: Remove the Aap build files.
2018-09-02 15:27:07 +02:00
Bram Moolenaar
c9cc9c78f2
patch 8.1.0345: cannot get the window id associated with the location list
...
Problem: Cannot get the window id associated with the location list.
Solution: Add the "filewinid" argument to getloclist(). (Yegappan
Lakshmanan, closes #3202 )
2018-09-02 15:18:42 +02:00
Bram Moolenaar
7ee3f15b21
patch 8.1.0344: 'hlsearch' highlighting has a gap after /$
...
Problem: 'hlsearch' highlighting has a gap after /$.
Solution: Remove suspicious code. (Ricky Zhou, closes #3400 )
2018-09-02 15:07:28 +02:00
Bram Moolenaar
3c5b8cd254
patch 8.1.0343: 'shellslash' is not used for getcwd() with local directory
...
Problem: 'shellslash' is not used for getcwd() with local directory.
(Daniel Hahler)
Solution: Call slash_adjust() later. (closes #3399 )
2018-09-02 14:25:05 +02:00
Bram Moolenaar
94f01956a5
patch 8.1.0342: crash when a callback deletes a window that is being used
...
Problem: Crash when a callback deletes a window that is being used.
Solution: Do not unload a buffer that is being displayed while redrawing the
screen. Also avoid invoking callbacks while redrawing.
(closes #2107 )
2018-09-01 15:30:03 +02:00
Kazuki Sakamoto
b3c2a8c3b3
Merge remote-tracking branch 'vim/master'
2018-08-31 21:29:46 -07:00
Bram Moolenaar
32bbd00949
patch 8.1.0341: :argadd in empty buffer changes the buffer name
...
Problem: :argadd in empty buffer changes the buffer name. (Pavol Juhas)
Solution: Don't re-use the current buffer when not going to edit the file.
(closes #3397 ) Do re-use the current buffer for :next.
2018-08-31 23:06:22 +02:00
Bram Moolenaar
9049b68612
patch 8.1.0340: no test for :spellinfo
...
Problem: No test for :spellinfo.
Solution: Add a test. (Dominique Pelle, closes #3394 )
2018-08-31 22:26:53 +02:00
Bram Moolenaar
f13daa46da
patch 8.1.0339: wrong highlight when 'incsearch' set and cancelling :s
...
Problem: Wrong highlight when 'incsearch' set and cancelling :s.
Solution: Reset search line range. (Hirohito Higashi, Masamichi Abe)
2018-08-31 22:09:54 +02:00
Bram Moolenaar
f6ceaf1e05
patch 8.1.0338: MS-Windows: VTP doesn't work properly with Powershell
...
Problem: MS-Windows: VTP doesn't work properly with Powershell.
Solution: Adjust the color index. (Nobuhiro Takasaki, closes #3347 )
2018-08-30 17:47:05 +02:00
Bram Moolenaar
379fb76b08
patch 8.1.0337: :file fails in quickfix command
...
Problem: :file fails in quickfix command.
Solution: Allow :file without argument when curbuf_lock is set. (Jason
Franklin)
2018-08-30 15:58:28 +02:00
Bram Moolenaar
dd5d18eadf
patch 8.1.0336: mkview test still fails on CI
...
Problem: mkview test still fails on CI.
Solution: Ignore curswant, don't see another solution.
2018-08-30 14:16:06 +02:00
Bram Moolenaar
2bf4fe07b6
patch 8.1.0335: mkview test fails on CI
...
Problem: mkview test fails on CI.
Solution: Attempt to force recomputing curswant after folding.
2018-08-30 14:04:25 +02:00
Bram Moolenaar
8c9e7b00f6
patch 8.1.0334: 'autowrite' takes effect when buffer is not to be written
...
Problem: 'autowrite' takes effect when buffer is not to be written.
Solution: Don't write buffers that are not supposed to be written. (Even Q
Jones, closes #3391 ) Add tests for 'autowrite'.
2018-08-30 13:07:17 +02:00
Bram Moolenaar
92c1b69641
patch 8.1.0333: :mkview does not restore cursor properly after "$"
...
Problem: :mkview does not restore cursor properly after "$". (Dominique
Pelle)
Solution: Position the cursor with "normal! $".
2018-08-29 21:42:42 +02:00
Kazuki Sakamoto
ba7f8db26d
Merge remote-tracking branch 'vim/master'
2018-08-28 19:38:47 -07:00
Bram Moolenaar
a449a7c6b9
patch 8.1.0332: get Gdk-Critical error on first balloon show
...
Problem: Get Gdk-Critical error on first balloon show.
Solution: Get screen geometry using the draw area widget. (Davit Samvelyan,
closes #3386 )
2018-08-28 23:09:07 +02:00
Bram Moolenaar
fc65cabb15
Update runtime files.
2018-08-28 22:58:02 +02:00
Bram Moolenaar
627cb6a6b3
patch 8.1.0331: insufficient test coverage for :mkview and :loadview
...
Problem: Insufficient test coverage for :mkview and :loadview.
Solution: Add tests. (Dominique Pelle, closes #3385 )
2018-08-28 22:19:31 +02:00
Bram Moolenaar
6f6ef7c195
patch 8.1.0330: the qf_add_entries() function is too long
...
Problem: The qf_add_entries() function is too long.
Solution: Split in two parts. (Yegappan Lakshmanan)
2018-08-28 22:07:44 +02:00
Bram Moolenaar
a06afc7f5e
patch 8.1.0329: using inputlist() during startup results in garbage
...
Problem: Using inputlist() during startup results in garbage. (Dominique
Pelle)
Solution: Make sure the xterm tracing is stopped when disabling the mouse.
2018-08-27 23:24:16 +02:00
Bram Moolenaar
4cbdf155ca
patch 8.1.0328: inputlist() doesn't work with a timer
...
Problem: inputlist() doesn't work with a timer. (Dominique Pelle)
Solution: Don't redraw when cmdline_row is zero. (Hirohito Higashi,
closes #3239 )
2018-08-26 21:23:07 +02:00
cwlin
490169b266
Respect the font size setting of guifontwide.
...
Some of the fonts e.g., ProggyCleanTT expands the font height for
clearer view.
However, if the users set the customized guifontwide for CJK characters,
these CJK characters will be higher than the column height, and the top
of these characters will be cut.
This fix checks the pointSize of guifontwide, if it is bigger than the
guifont, then the font size will be fallback'd to guifont.
It provides an option to CJK users to set a smaller font size for guifontwide
to avoid the cut problem of CJK characters.
2018-08-25 14:40:19 +08:00
Bram Moolenaar
0529583ff1
patch 8.1.0327: the "g CTRL-G" command isn't tested much
...
Problem: The "g CTRL-G" command isn't tested much.
Solution: Add more tests. (Dominique Pelle, closes #3369 )
2018-08-24 22:07:58 +02:00
Bram Moolenaar
98fc8d7b6c
patch 8.1.0326: screen dump does not consider NUL and space equal
...
Problem: Screen dump does not consider NUL and space equal.
Solution: Use temp variables instead of character from cell.
2018-08-24 21:30:28 +02:00
cwlin
ef51eff309
Add MAC_OS_X_VERSION_10_12_2 definition.
...
Some build environments don't have MAC_OS_X_VERSION_10_12_2 definition.
It could cause the build error on macOS prior to 10.12.
This fix adds the MAC_OS_X_VERSION_10_12_2 based on Apple's header:
https://opensource.apple.com/source/xnu/xnu-3789.60.24/EXTERNAL_HEADERS/AvailabilityMacros.h.auto.html
2018-08-24 14:25:43 +08:00
Bram Moolenaar
7c60505e10
patch 8.1.0325: strings in swap file may not be NUL terminated
...
Problem: Strings in swap file may not be NUL terminated. (Coverity)
Solution: Limit the length of the used string.
2018-08-23 23:01:27 +02:00
Bram Moolenaar
74c8be2c68
patch 8.1.0324: off-by-one error in cmdidx check
...
Problem: Off-by-one error in cmdidx check. (Coverity)
Solution: Use ">=" instead of ">".
2018-08-23 22:51:40 +02:00
Bram Moolenaar
2551c037e4
patch 8.1.0323: reverse order of VTP calls only needed the first time
...
Problem: Reverse order of VTP calls only needed the first time.
Solution: Add a flag to remember the state. (Nobuhiro Takasaki, closes #3366 )
2018-08-23 22:38:31 +02:00
Bram Moolenaar
7cb33a14c9
patch 8.1.0322: Test_copy_winopt() does not restore 'hidden'
...
Problem: Test_copy_winopt() does not restore 'hidden'.
Solution: Restore the option, fix indent. (Ozaki Kiichi, closes #3367 )
2018-08-23 22:20:35 +02:00
Bram Moolenaar
4edfe2d2a2
patch 8.1.0321: 'incsearch' regression: /\v highlights everything
...
Problem: 'incsearch' regression: /\v highlights everything.
Solution: Put back the empty_pattern() check.
2018-08-23 20:55:45 +02:00
Kazuki Sakamoto
bdfb631f49
Merge pull request #734 from ichizok/fix/opt_test
...
Fix CI failure
2018-08-23 08:53:43 -07:00
ichizok
c206733e6f
Fix gen_opt_test.vim
...
* Remove duplicate dict-key ('guifont')
* Fix option values for GUI MacVim
2018-08-23 17:26:59 +09:00
Bram Moolenaar
8b0d5ce881
patch 8.1.0320: too much 'incsearch' highlight for pat matching everything
...
Problem: Too much 'incsearch' highlight for pattern matching everything.
Solution: Add the skiplen to the command and remove the line range.
(Christian Brabandt) Check for empty pattern earlier.
2018-08-22 23:05:44 +02:00
Bram Moolenaar
8e7218c459
patch 8.1.0319: bzero() function prototype doesn't work for Android
...
Problem: bzero() function prototype doesn't work for Android.
Solution: Add an #ifdef. (Elliott Hughes, closes #3365 )
2018-08-22 21:56:57 +02:00
Bram Moolenaar
3b3a506f57
patch 8.1.0318: the getftype() test may fail for char devices
...
Problem: The getftype() test may fail for char devices if the file
disappeared in between the listing and the getftype() call.
Solution: Ignore empty result. (Ozaki Kiichi, closes #3360 )
2018-08-22 20:16:16 +02:00
Bram Moolenaar
320bf2d85e
patch 8.1.0317: Cscope test fails when using shadow directory
...
Problem: Cscope test fails when using shadow directory.
Solution: Resolve symlink in Vim. (James McCoy, closes #3364 )
2018-08-22 20:06:26 +02:00
Bram Moolenaar
4c5765bc47
patch 8.1.0316: swapinfo() test fails on Travis
...
Problem: swapinfo() test fails on Travis.
Solution: Handle a long host name. (Ozaki Kiichi, closes #3361 )
Also make the version check flexible. (James McCoy)
2018-08-22 11:28:01 +02:00
Kazuki Sakamoto
5178dd4390
Merge remote-tracking branch 'vim/master'
2018-08-21 23:20:37 -07:00
Bram Moolenaar
c631f2df62
patch 8.1.0315: helpgrep with language doesn't work properly
...
Problem: Helpgrep with language doesn't work properly. (Takuya Fujiwara)
Solution: Check for the language earlier. (Hirohito Higashi)
2018-08-21 21:58:13 +02:00
Bram Moolenaar
47ad5656e1
patch 8.1.0314: build failure without the +eval feature
...
Problem: Build failure without the +eval feature. (Brenton Horne)
Solution: Add #ifdef. Also add the "dirty" item.
2018-08-21 21:09:07 +02:00
Bram Moolenaar
00f123a565
patch 8.1.0313: information about a swap file is unavailable
...
Problem: Information about a swap file is unavailable.
Solution: Add swapinfo(). (Enzo Ferber)
2018-08-21 20:28:54 +02:00
Bram Moolenaar
8e82c057ff
patch 8.1.0312: wrong type for flags used in signal handlers
...
Problem: Wrong type for flags used in signal handlers.
Solution: Use sig_atomic_t. (Dominique Pelle, closes #3356 )
2018-08-21 19:47:48 +02:00
Bram Moolenaar
8c5e0093c9
patch 8.1.0311: filtering entries in a quickfix list is not easy
...
Problem: Filtering entries in a quickfix list is not easy.
Solution: Add the cfilter plugin. (Yegappan Lakshmanan)
2018-08-21 19:22:23 +02:00
Bram Moolenaar
2f0f871159
patch 8.1.0310: file info msg not always suppressed with 'F' in 'shortmess'
...
Problem: File info message not always suppressed with 'F' in 'shortmess'.
(Asheq Imran)
Solution: Save and restore msg_silent. (Christian Brabandt, closes #3221 )
2018-08-21 18:50:18 +02:00
Bram Moolenaar
7feb35e778
patch 8.1.0309: profiling does not show a count for condition lines
...
Problem: Profiling does not show a count for condition lines. (Daniel
Hahler)
Solution: Count lines when not skipping. (Ozaki Kiichi, closes #2499 )
2018-08-21 17:49:54 +02:00
Bram Moolenaar
fd6100b2aa
patch 8.1.0308: a quick undo shows "1 seconds ago"
...
Problem: A quick undo shows "1 seconds ago". (Tony Mechelynck)
Solution: Add singular/plural message.
2018-08-21 17:07:45 +02:00
Bram Moolenaar
0f6b4f06de
patch 8.1.0307: there is no good way to get the window layout
...
Problem: There is no good way to get the window layout.
Solution: Add the winlayout() function. (Yegappan Lakshmanan)
2018-08-21 16:56:34 +02:00
Bram Moolenaar
da6e8919e7
patch 8.1.0306: plural messages are not translated properly
...
Problem: Plural messages are not translated properly.
Solution: Add more usage of NGETTEXT(). (Sergey Alyoshin)
2018-08-21 15:12:14 +02:00
Bram Moolenaar
830e3583da
patch 8.1.0305: missing support for Lua 5.4 32 bits on Unix
...
Problem: Missing support for Lua 5.4 32 bits on Unix.
Solution: Define lua_newuserdatauv. (Kazunobu Kuriyama)
2018-08-21 14:23:35 +02:00
Bram Moolenaar
2e31048c30
patch 8.1.0304: no redraw when using a STOP signal on Vim and then CONT
...
Problem: No redraw when using a STOP signal on Vim and then a CONT signal.
Solution: Catch the CONT signal and set the terminal to raw mode. This is
like 8.1.0244 but without the screen redraw and a fix for
multi-threading suggested by Dominique Pelle.
2018-08-21 13:09:10 +02:00
Bram Moolenaar
c26f7c6053
patch 8.1.0303: line2byte() is wrong for last line with 'noeol'
...
Problem: line2byte() is wrong for last line with 'noeol' and 'nofixeol'.
Solution: Fix off-by-one error. (Shane Harper, closes #3351 )
2018-08-20 22:53:04 +02:00
Bram Moolenaar
f1883479be
patch 8.1.0302: crash when using :suspend and "fg"
...
Problem: Crash when using :suspend and "fg".
Solution: Undo patch 8.1.244.
2018-08-20 21:58:57 +02:00
Bram Moolenaar
3f6a16f022
patch 8.1.0301: GTK: input method popup displayed on wrong screen.
...
Problem: GTK: Input method popup displayed on wrong screen.
Solution: Add the screen position offset. (Ken Takata, closes #3268 )
2018-08-19 22:58:45 +02:00
Bram Moolenaar
d8f0cef2bd
patch 8.1.0300: the old window title might be freed twice
...
Problem: The old window title might be freed twice. (Dominique Pelle)
Solution: Do not free "oldtitle" in a signal handler but set a flag to have
it freed later.
2018-08-19 22:20:16 +02:00
Bram Moolenaar
142ae736d9
patch 8.1.0299: misplaced comment
...
Problem: misplaced comment
Solution: Remove comment
2018-08-19 17:04:01 +02:00
Bram Moolenaar
46fad2ef0b
patch 8.1.0298: window resize test sometimes fails on Mac
...
Problem: Window resize test sometimes fails on Mac.
Solution: Add Test_popup_and_window_resize() to flaky tests.
2018-08-19 16:09:27 +02:00
Bram Moolenaar
cea1f9ec52
patch 8.1.0297: MS-Windows: tests fail, Vim crashes
...
Problem: MS-Windows: tests fail, Vim crashes.
Solution: Fix long file name handling.
2018-08-19 14:38:42 +02:00
Yee Cheng Chin
e35b0a69a7
Fix opening window in another screen resulting in broken rendering
...
Fix the issue that MacVim's window will have broken rendering (wrong Vim
size) if the window was opened in another monitor. This was introduced
as part of the implementation for guioptions 'k',
The issue was that the function `moveWindowAcrossScreens` was buggy. It
sets a flag "resizingDueToMove" but doesn't unset it after the
`setFrameTopLeftPoint`, which may or may not call the resize function
that is responsible in unsetting "resizeDueToMove". Fix the function to
always unset it so that the flag doesn't leak till the next resize.
Previously it "worked" due to MacVim's excessive resize messages masking
the issue.
2018-08-18 22:37:20 -07:00
Bram Moolenaar
111bbd61e9
patch 8.1.0296: command parsing for 'incsearch' is a bit ugly
...
Problem: Command parsing for 'incsearch' is a bit ugly.
Solution: Return when there is no pattern. Put common checks together.
2018-08-18 21:23:05 +02:00
Bram Moolenaar
264cf5cfaf
patch 8.1.0295: no 'incsearch' highlighting for :vimgrep and similar
...
Problem: No 'incsearch' highlighting for :vimgrep and similar commands.
Solution: Parse the :vimgrep command and similar ones to locate the search
pattern. (Hirohito Higashi, closes #3344 )
2018-08-18 21:05:31 +02:00
Bram Moolenaar
3b9fcfcffa
patch 8.1.0294: MS-Windows: sometimes uses short directory name
...
Problem: MS-Windows: sometimes uses short directory name.
Solution: Expand to long file name with correct caps. (Nobuhiro Takasaki,
closes #3334 )
2018-08-18 20:20:27 +02:00
Bram Moolenaar
4d77c65a9e
patch 8.1.0293: checks for type of stack is cryptic
...
Problem: Checks for type of stack is cryptic.
Solution: Define IS_QF_STACK() and IS_LL_STACK(). (Yegappan Lakshmanan)
2018-08-18 19:59:54 +02:00
Bram Moolenaar
9bc1eac2c7
patch 8.1.0292: MS-Windows: the text "self-installing" confuses some users
...
Problem: MS-Windows: the text "self-installing" confuses some users.
Solution: Remove the text from the uninstall entry. (closes #3337 )
2018-08-18 19:04:37 +02:00
Bram Moolenaar
81f56536b1
patch 8.1.0291: 'incsearch' highlighting not used for :sort
...
Problem: 'incsearch' highlighting not used for :sort.
Solution: Handle pattern in :sort command.
2018-08-18 16:19:42 +02:00
Bram Moolenaar
b476cb7d8d
patch 8.1.0290: "cit" on an empty HTML tag changes the whole tag
...
Problem: "cit" on an empty HTML tag changes the whole tag.
Solution: Only adjust the area in Visual mode. (Andy Massimino,
closes #3332 )
2018-08-16 21:37:50 +02:00
Bram Moolenaar
2dfcef4c08
patch 8.1.0289: cursor moves to wrong column after quickfix jump
...
Problem: Cursor moves to wrong column after quickfix jump.
Solution: Set the curswant flag. (Andy Massimino, closes #3331 )
2018-08-15 22:29:51 +02:00
Bram Moolenaar
396659592f
patch 8.1.0288: quickfix code uses cmdidx too often
...
Problem: Quickfix code uses cmdidx too often.
Solution: Add is_loclist_cmd(). (Yegappan Lakshmanan)
2018-08-15 20:59:48 +02:00
Bram Moolenaar
37b15568c2
patch 8.1.0287: MAX is not defined everywhere
...
Problem: MAX is not defined everywhere.
Solution: Define MAX where needed.
2018-08-14 22:08:25 +02:00
Bram Moolenaar
167ae42685
patch 8.1.0286: 'incsearch' does not apply to :smagic and :snomagic
...
Problem: 'incsearch' does not apply to :smagic and :snomagic.
Solution: Add support. (Hirohito Higashi)
2018-08-14 21:32:21 +02:00
Bram Moolenaar
d7cc163570
patch 8.1.0285: compiler warning for conversion
...
Problem: Compiler warning for conversion.
Solution: Add a type cast. (Mike Williams)
2018-08-14 20:18:26 +02:00
Bram Moolenaar
2f6a346a4c
patch 8.1.0284: 'cursorline' highlighting wrong with 'incsearch'
...
Problem: 'cursorline' highlighting wrong with 'incsearch'.
Solution: Move the cursor back if the match is outside the range.
2018-08-14 18:16:52 +02:00
Bram Moolenaar
80d83c094d
patch 8.1.0283: missing test dump
...
Problem: Missing test dump.
Solution: Add the dump file
2018-08-14 17:28:56 +02:00
Bram Moolenaar
33c4dbb74b
patch 8.1.0282: 'incsearch' does not work with command modifiers
...
Problem: 'incsearch' does not work with command modifiers.
Solution: Skip command modifiers.
2018-08-14 16:06:16 +02:00
Bram Moolenaar
effed9315c
patch 8.1.0281: parsing command modifiers is not separated
...
Problem: Parsing command modifiers is not separated.
Solution: Move command modifier parsing to a separate function.
2018-08-14 13:38:17 +02:00
Kazuki Sakamoto
6a9348a1b9
MacVim Snapshot 151
...
Binary targets macOS 10.8+
- Vim patch 8.1.0280
- Reverted guioption 'k' #727
Script interfaces have compatibility with these versions
- Lua 5.3
- Perl 5.18
- Python2 2.7
- Python3 3.7
- Ruby 2.5
2018-08-13 22:13:05 -07:00
Kazuki Sakamoto
4d9b1a2c01
Workaround fix for Travis-CI
...
Skip cdev test which fails on Travis-CI.
2018-08-13 21:51:47 -07:00
Kazuki Sakamoto
1a8a544a61
Merge pull request #730 from ychin/macvim_doc_noet
...
Add 'noet' to MacVim docs' modeline to keep it consistent with Vim
2018-08-13 18:55:36 -07:00
Kazuki Sakamoto
5d9c7ebdfc
Merge remote-tracking branch 'vim/master'
2018-08-13 17:26:45 -07:00
Bram Moolenaar
def7b1dc61
patch 8.1.0280: 'incsearch' highlighting does not work for ":g!/"
...
Problem: 'incsearch' highlighting does not work for ":g!/".
Solution: Skip the exclamation mark. (Hirohito Higashi)
2018-08-13 22:54:35 +02:00
Bram Moolenaar
2b926fcb3c
patch 8.1.0279: 'incsearch' highlighting does not skip white space
...
Problem: 'incsearch' highlighting does not skip white space.
Solution: Skip white space after the command. (issue #3321 )
2018-08-13 11:07:57 +02:00
Bram Moolenaar
60d0871000
patch 8.1.0278: 'incsearch' highlighting does not accept reverse range
...
Problem: 'incsearch' highlighting does not accept reverse range.
Solution: Swap the range when needed. (issue #3321 )
2018-08-12 21:53:15 +02:00
Bram Moolenaar
c7f08b7ee1
patch 8.1.0277: 'incsearch' highlighting wrong in a few cases
...
Problem: 'incsearch' highlighting wrong in a few cases.
Solution: Fix using last search pattern. Restore highlighting when changing
command. (issue #3321 )
2018-08-12 17:39:14 +02:00
Bram Moolenaar
164251ff80
patch 8.1.0276: no test for 'incsearch' highlighting with :s
...
Problem: No test for 'incsearch' highlighting with :s.
Solution: Add a screendump test.
2018-08-12 16:26:58 +02:00
Bram Moolenaar
976b847f43
patch 8.1.0275: 'incsearch' with :s doesn't start at cursor line
...
Problem: 'incsearch' with :s doesn't start at cursor line.
Solution: Set cursor before parsing address. (closes #3318 )
Also accept a match at the start of the first line.
2018-08-12 15:49:47 +02:00
Yee Cheng Chin
0065c3fd3b
Fix up the previous MacVim's guioptions 'k' implementation
...
Fix the following:
* Zoom button: There was an error in refactoring leading to the handler
calling the wrong function.
* Toolbar addition/removal: This now respects the 'k' option. Toolbar is
different from scrollbar and tabs because when you add/remove a
toolbar in Cocoa it automatically resizes the window for you, so the
implementation needs to manually un-resize the window and
re-calculates the Vim view's 'lines' and 'columns' to fit.
2018-08-12 00:14:19 -07:00
Yee Cheng Chin
0e4db3d79e
Support guioptions 'k' flag in MacVim, prevents unnecessary window resize
...
Adds support for native GVim's 'k' flag. Adding/removing tabs/scrollbars
and setting 'linespace'/'columnspace' would now cause the number of
lines and columns in the buffer change to keep the window size constant,
instead of the other way round of resizing the window to keep the view
size constant. This helps prevent the window from resizing itself
unncessarily, which could be especially annoying when the window is
pinned/maximized.
Manually setting 'lines'/'columns', going to full screen, dragging the
window corner to resize would still resize the window.
Also removed misc calls within MMWindowController.m that were setting
shouldResizeVimView. Those calls were already handled by native Vim's
gui.c's gui_set_shellsize so it's redundant.
rebased from 1333bc6c2
2018-08-11 21:34:26 -07:00
Yee Cheng Chin
e85c90d810
Add 'noet' to MacVim docs' modeline to keep it consistent with Vim
2018-08-11 13:29:24 -07:00
Bram Moolenaar
21f990e1c2
patch 8.1.0274: 'incsearch' triggers on ":source"
...
Problem: 'incsearch' triggers on ":source".
Solution: Check for the whole command name.
2018-08-11 19:20:49 +02:00
Bram Moolenaar
ef73a28401
patch 8.1.0273: invalid memory access when using 'incsearch'
...
Problem: Invalid memory access when using 'incsearch'.
Solution: Reset "patlen" when using previous search pattern.
2018-08-11 19:02:22 +02:00
Bram Moolenaar
d473c8c101
Update runtime files.
2018-08-11 18:00:22 +02:00
Bram Moolenaar
f53c692240
patch 8.1.0272: options test fails if temp var ends in slash
...
Problem: Options test fails if temp var ends in slash. (Tom Briden)
Solution: Check for optional slash. (closes #3308 )
2018-08-11 17:53:04 +02:00
Bram Moolenaar
b0acacd767
patch 8.1.0271: 'incsearch' doesn't work for :s, :g or :v
...
Problem: 'incsearch' doesn't work for :s, :g or :v.
Solution: Also use 'incsearch' for other commands that use a pattern.
2018-08-11 16:40:43 +02:00
Bram Moolenaar
b31a3acce1
patch 8.1.0270: checking for a Tab in a line could be faster
...
Problem: Checking for a Tab in a line could be faster.
Solution: Use strchr() instead of strrchr(). (closes #3312 )
2018-08-11 14:41:55 +02:00
Bram Moolenaar
51e9fbf1c7
patch 8.1.0269: Ruby Kernel.#p method always returns nil
...
Problem: Ruby Kernel.#p method always returns nil.
Solution: Copy p method implementation from Ruby code. (Masataka Pocke
Kuwabara, closes #3315 )
2018-08-11 14:24:11 +02:00
Bram Moolenaar
d569bb0299
patch 8.1.0268: file type checking has too many #ifdef
...
Problem: File type checking has too many #ifdef.
Solution: Always define the S_IF macros. (Ken Takata, closes #3306 )
2018-08-11 13:57:20 +02:00
Bram Moolenaar
90f1e2b7bc
patch 8.1.0267: no good check if restoring quickfix list worked
...
Problem: No good check if restoring quickfix list worked.
Solution: Let qf_restore_list() return OK/FAIL. (Yegappan Lakshmanan)
2018-08-11 13:36:56 +02:00
Kazuki Sakamoto
dae7a8964c
Dump src/auto/config.h on Travis CI
2018-08-10 18:44:59 -07:00
Kazuki Sakamoto
f66ad538c3
Merge remote-tracking branch 'vim/master'
2018-08-10 18:00:43 -07:00
Kazuki Sakamoto
027327ab58
Merge pull request #727 from ychin/revert-guioptions-k
...
Revert "Support guioptions 'k' flag in MacVim, prevents unnecessary w…
2018-08-10 17:59:19 -07:00
Bram Moolenaar
ee8415bc59
patch 8.1.0266: parsing Ex address range is not a separate function
...
Problem: Parsing Ex address range is not a separate function.
Solution: Refactor do_one_cmd() to separate address parsing.
2018-08-10 23:13:12 +02:00
Bram Moolenaar
0ee81cb638
patch 8.1.0265: the getcmdline() function is way too big
...
Problem: The getcmdline() function is way too big.
Solution: Factor out the incremental search highlighting.
2018-08-10 22:07:32 +02:00
Yee Cheng Chin
02ae96681a
Revert "Support guioptions 'k' flag in MacVim, prevents unnecessary window resize"
...
This reverts commit 1333bc6c20 .
The previous change broke external monitors and zoom button. Revert the
change before a proper fix can be implemented.
2018-08-10 02:57:01 -07:00
Kazuki Sakamoto
d0807a4aff
Merge remote-tracking branch 'vim/master'
2018-08-09 20:38:52 -07:00
Bram Moolenaar
efe03738f6
patch 8.1.0264: backup tests fail when CWD is in /tmp
...
Problem: Backup tests fail when CWD is in /tmp.
Solution: Make 'backupskip' empty. (Christian Brabandt, closes #3301 )
2018-08-09 22:26:38 +02:00
Bram Moolenaar
4b16ee743e
patch 8.1.0263: channel log doesn't show part of channel
...
Problem: Channel log doesn't show part of channel.
Solution: Add "sock", "out", "err" or "in". (Ozaki Kiichi, closes #3303 )
2018-08-09 22:15:34 +02:00
Bram Moolenaar
1598f9937a
patch 8.1.0262: not enough testing for getftype()
...
Problem: Not enough testing for getftype().
Solution: Add a test. (Dominique Pelle, closes #3300 )
2018-08-09 22:08:57 +02:00
Bram Moolenaar
38efd1d17a
patch 8.1.0261: Coverity complains about a negative array index
...
Problem: Coverity complains about a negative array index.
Solution: When qf_id2nr() cannot find the list then don't set qf_curlist.
2018-08-09 21:52:24 +02:00
Bram Moolenaar
4d37557ac6
patch 8.1.0260: no LGTM logo in README file
...
Problem: No LGTM logo in README file.
Solution: Add one. (Bas van Schaik, closes #3305 )
2018-08-09 21:33:38 +02:00
Bram Moolenaar
3f347e4716
patch 8.1.0259: no test for fixed quickfix issue
...
Problem: No test for fixed quickfix issue.
Solution: Add a test. Clean up the code a bit. (Yegappan Lakshmanan)
2018-08-09 21:19:20 +02:00
Bram Moolenaar
af559d2c9f
patch 8.1.0258: not enough testing for the CompleteDone event
...
Problem: Not enough testing for the CompleteDone event.
Solution: Add a test. (closes #3297 )
2018-08-08 22:55:41 +02:00
Bram Moolenaar
bfde0b482d
patch 8.1.0257: no test for pathshorten()
...
Problem: No test for pathshorten().
Solution: Add a test. (Dominique Pelle, closes #3295 )
2018-08-08 22:27:31 +02:00
Bram Moolenaar
9fa9506853
patch 8.1.0256: using setline() in TextChangedI splits undo
...
Problem: Using setline() in TextChangedI splits undo.
Solution: Use another solution for undo not working properly.
2018-08-08 22:08:32 +02:00
Bram Moolenaar
f8f88f89e1
patch 8.1.0255: backup test fails when using shadow directory
...
Problem: Backup test fails when using shadow directory.
Solution: Remove check for "src".
2018-08-08 11:02:32 +02:00
Bram Moolenaar
980bab457e
patch 8.1.0254: cannot build on MS-Windows; unused macro HAVE_HANDLE_DROP
...
Problem: Cannot build on MS-Windows; Unused macro HAVE_HANDLE_DROP.
Solution: Adjust #ifdef. Delete the macro.
2018-08-07 22:42:53 +02:00
Bram Moolenaar
40385dbcdf
patch 8.1.0253: saving and restoring window title does not always work
...
Problem: Saving and restoring window title does not always work.
Solution: Use the stack push and pop commands. (Kouichi Iwamoto,
closes #3059 )
2018-08-07 22:31:44 +02:00
Bram Moolenaar
de3b3677f7
patch 8.1.0252: quickfix functions are too long
...
Problem: Quickfix functions are too long.
Solution: Refactor. (Yegappan Lakshmanan, closes #2950 )
2018-08-07 21:54:41 +02:00
Bram Moolenaar
b782ba475a
patch 8.1.0251: using full path is not supported for 'backupdir'
...
Problem: Using a full path is supported for 'directory' but not for
'backupdir'. (Mikolaj Machowski)
Solution: Support 'backupdir' as well. (Christian Brabandt, closes #179 )
2018-08-07 21:39:28 +02:00
Bram Moolenaar
b1cf16113f
patch 8.1.0250: MS-Windows using VTP: windows size change incorrect
...
Problem: MS-Windows using VTP: windows size change incorrect.
Solution: Call SetConsoleScreenBufferSize() first. (Nobuhiro Takasaki,
closes #3164 )
2018-08-07 20:47:16 +02:00
Bram Moolenaar
7ebf4e1c34
patch 8.1.0249: GTK: when screen DPI changes Vim does not handle it
...
Problem: GTK: when screen DPI changes Vim does not handle it.
Solution: Handle the gtk-xft-dpi signal. (Roel van de Kraats,
closes #2357 )
2018-08-07 20:01:40 +02:00
Bram Moolenaar
8d8a65e389
patch 8.1.0248: duplicated quickfix code
...
Problem: duplicated quickfix code.
Solution: Move the code to a function.
2018-08-07 19:48:08 +02:00
Bram Moolenaar
447bd5a346
patch 8.1.0247: Python: error message for failing import is incorrect
...
Problem: Python: error message for failing import is incorrect.
Solution: Adjust how modules are loaded. (Ozaki Kiichi, closes #3162 )
2018-08-07 19:45:27 +02:00
Bram Moolenaar
ee380ae376
patch 8.1.0246: build failure without the +eval feature
...
Problem: Build failure without the +eval feature.
Solution: Add #ifdef
2018-08-07 19:32:52 +02:00
Bram Moolenaar
91d2e783b4
patch 8.1.0245: calling setline() in TextChangedI autocmd breaks undo
...
Problem: Calling setline() in TextChangedI autocmd breaks undo. (Jason
Felice)
Solution: Don't save lines for undo when already saved. (closes #3291 )
2018-08-07 19:05:01 +02:00
Bram Moolenaar
917e32bda5
patch 8.1.0244: no redraw when using a STOP signal on Vim and then CONT
...
Problem: No redraw when using a STOP signal on Vim and then a CONT signal.
Solution: Catch the CONT signal and force a redraw. (closes #3285 )
2018-08-07 17:38:41 +02:00
Bram Moolenaar
5db7eec423
patch 8.1.0243: using :term ++close ++hidden closes a window
...
Problem: Using :term ++close ++hidden closes a window. (Marcin Szamotulski)
Solution: Don't close the window if only using it temporarily for unloading
the terminal buffer. (closes #3287 )
2018-08-07 16:33:18 +02:00
Bram Moolenaar
02ab97709d
patch 8.1.0242: Insert mode completion may use an invalid buffer pointer
...
Problem: Insert mode completion may use an invalid buffer pointer.
Solution: Check for ins_buf to be valid. (closes #3290 )
2018-08-07 14:55:09 +02:00
Bram Moolenaar
7cc596547a
patch 8.1.0241: effect of ":tabmove N" is not clear
...
Problem: Effect of ":tabmove N" is not clear.
Solution: Add a test that shows the behavior. (Christian Brabandt,
closes #3288 )
2018-08-07 13:14:46 +02:00
Kazuki Sakamoto
60c26e028a
Merge remote-tracking branch 'vim/master'
2018-08-05 18:57:58 -07:00
Bram Moolenaar
3cb4448b8a
patch 8.1.0240: g:actual_curbuf set in wrong scope
...
Problem: g:actual_curbuf set in wrong scope. (Daniel Hahler)
Solution: Prepend the "g:" name space. (closes #3279 )
2018-08-05 13:22:26 +02:00
Bram Moolenaar
218beb3e96
patch 8.1.0239: now Ruby build fails on other systems
...
Problem: Now Ruby build fails on other systems.
Solution: Always define rb_intern. (Ken Takata, closes #3275 )
2018-08-04 17:24:44 +02:00
Bram Moolenaar
7da1fb5532
patch 8.1.0238: 'buftype' is cleared when using ":term ++hidden cat"
...
Problem: 'buftype' is cleared when using ":term ++hidden cat". (Marcin
Szamotulski)
Solution: Set the "options initialized" flag earlier. (closes #3278 )
2018-08-04 16:54:11 +02:00
Bram Moolenaar
87ea64ca96
patch 8.1.0237: Ruby on Cygwin doesn't always work
...
Problem: Ruby on Cygwin doesn't always work.
Solution: Use LIBRUBY_SO if LIBRUBY_ALIASES isn't set. (Ken Takata)
2018-08-04 15:13:34 +02:00
Bram Moolenaar
82593c1a3a
patch 8.1.0236: Ruby build fails when ruby_intern is missing
...
Problem: Ruby build fails when ruby_intern is missing.
Solution: Do not use ruby_intern2. (Ken Takata)
2018-08-03 22:03:17 +02:00
Kazuki Sakamoto
c7d7373896
MacVim Snapshot 150
...
Binary targets macOS 10.8+
- Vim patch 8.1.0235
- Touch Bar support #715
- Force click support #716
- New guioption 'k' #708
- Fix CoreText renderer
Script interfaces have compatibility with these versions
- Lua 5.3
- Perl 5.18
- Python2 2.7
- Python3 3.7
- Ruby 2.5
2018-08-02 21:58:32 -07:00
Kazuki Sakamoto
1027227742
Workaround for test87
2018-08-02 21:44:16 -07:00
Kazuki Sakamoto
d1e492c567
Merge remote-tracking branch 'vim/master'
2018-08-02 21:28:40 -07:00
Bram Moolenaar
3bf5e6a4c8
patch 8.1.0235: more help tags that jump to the wrong location
...
Problem: More help tags that jump to the wrong location.
Solution: Add more exceptions and a table for "expr-" tags. (Hirohito
Higashi)
2018-08-02 22:23:57 +02:00
Bram Moolenaar
41c363a315
patch 8.1.0234: incorrect reference counting in Perl interface
...
Problem: Incorrect reference counting in Perl interface.
Solution: Call SvREFCNT_inc more often, add a test. (Damien)
2018-08-02 21:46:51 +02:00
Kazuki Sakamoto
47e77c3f43
Merge remote-tracking branch 'vim/master'
2018-08-01 22:33:23 -07:00
Bram Moolenaar
ded27a1feb
patch 8.1.0233: "safe" argument of call_vim_function() is always FALSE
...
Problem: "safe" argument of call_vim_function() is always FALSE.
Solution: Remove the argument.
2018-08-01 19:06:03 +02:00
Bram Moolenaar
f711cb2f12
patch 8.1.0232: Ruby error does not include backtrace
...
Problem: Ruby error does not include backtrace.
Solution: Add an error backtrace. (Masataka Pocke Kuwabara, closes #3267 )
2018-08-01 18:42:13 +02:00
Bram Moolenaar
a5bc38b8c1
patch 8.1.0231: :help -? goes to help for -+
...
Problem: :help -? goes to help for -+.
Solution: Add -? to list of special cases. (Hirohito Higashi)
2018-08-01 18:03:02 +02:00
Bram Moolenaar
91335e5a67
patch 8.1.0230: directly checking 'buftype' value
...
Problem: Directly checking 'buftype' value.
Solution: Add the bt_normal() function. (Yegappan Lakshmanan)
2018-08-01 17:53:12 +02:00
Bram Moolenaar
d2855f5454
Update runtime files.
2018-07-31 22:23:58 +02:00
Josh Petrie
ab1e570cf0
Merge pull request #715 from ychin/touchbar
...
MBP Touchbar Support (take 2)
2018-07-30 08:33:16 -07:00
Yee Cheng Chin
515ef9f65f
Make Touch Bar support robust against older macOS versions
...
Make sure to check MAC_OS_X_VERSION_10_12_2 so older Xcode / SDK
versions will still be able to build MacVim, albeit without Touch Bar.
Also make sure to use `NSClassFromString(@"NSTouchBar")` to check during
runtime to avoid MacVim crashing for users using older versions of macOS
when they by mistake bind a menu item with TouchBar as main menu
(nothing will show up instead).
2018-07-29 23:09:21 -07:00
Kazuki Sakamoto
ea812c1f94
Merge pull request #718 from macvim-dev/fix-updates-casing
...
Fix casing of the "Check for Updates" command.
2018-07-29 23:00:19 -07:00
Josh Petrie
6841c28e47
Use the correct casing; fixes #697 .
2018-07-29 22:58:06 -07:00
Kazuki Sakamoto
dc1cfa916e
Merge remote-tracking branch 'vim/master'
2018-07-29 13:55:38 -07:00
Josh Petrie
916ac4a311
Merge pull request #716 from ychin/force_click
...
Support Force click gesture. Can now map <ForceClick> gesture in MacVim
2018-07-29 10:21:26 -07:00
Bram Moolenaar
79c2ad50b8
patch 8.1.0229: crash when dumping profiling data
...
Problem: Crash when dumping profiling data.
Solution: Reset flag indicating that initialization was done.
2018-07-29 17:40:43 +02:00
Bram Moolenaar
92d147be95
patch 8.1.0228: dropping files is ignored while Vim is busy
...
Problem: Dropping files is ignored while Vim is busy.
Solution: Postpone the effect of dropping files until it's safe.
2018-07-29 17:35:23 +02:00
Bram Moolenaar
fda95e7572
patch 8.1.0227: spaces instead of tabs in makefile
...
Problem: Spaces instead of tabs in makefile.
Solution: Use tabs and fix sorting. (Ken Takata)
2018-07-29 16:13:17 +02:00
Bram Moolenaar
1f0bfe5617
patch 8.1.0226: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Graduate the +vreplace feature, it's not much code and quite a few
#ifdefs.
2018-07-29 16:09:22 +02:00
Yee Cheng Chin
4f518b1996
Support Force click gesture. Can now map <ForceClick> gesture in MacVim
...
Can now map "<ForceClick>" similar to "<SwipeLeft/Right/Up/Down>"
gestures. Require a Mac that has a touchpad that supports Force Touch to
work.
Close #672
2018-07-29 06:55:59 -07:00
Bram Moolenaar
612cc3888b
patch 8.1.0225: mode() does not indicate using CTRL-O from Insert mode
...
Problem: Mode() does not indicate using CTRL-O from Insert mode.
Solution: Add "niI", "niR" and "niV" to mode() result. (closes #3000 )
2018-07-29 15:34:26 +02:00
Bram Moolenaar
91f84f6e11
Update runtime files.
2018-07-29 15:07:52 +02:00
Yee Cheng Chin
e1bc03b773
Touch Bar add documentation, support enabled states, and system icons
...
Enabled states now work. E.g. a mapped Touch Bar button using "vmenu
TouchBar.DoStuff <nop>" will not show up in normal mode.
Also support specifying default Apple template icons. E.g. "an
icon=NSTouchBarListViewTemplate TouchBar.ShowList <Nop>"
Remove default TouchBar buttons as there were too many of them and most
of them are unlikely to be heavily used as there are direct Vim command
equivalent. Instead just add a single fullscreen toggle button. This can
be changed later.
2018-07-29 01:02:11 -07:00
Yee Cheng Chin
0d621891f0
MacVim Touch Bar
...
- addressed review feedbacks
- documentations
2018-07-28 18:21:21 -07:00
Bram Moolenaar
fdd7155fab
patch 8.1.0224: hang in bracketed paste mode when t_PE not encountered
...
Problem: Hang in bracketed paste mode when t_PE not encountered.
Solution: Break out of the loop when got_int is set. (suggested by Christian
Brabandt, closes #3146 )
2018-07-28 23:12:05 +02:00
Bram Moolenaar
6ab9e429da
patch 8.1.0223: completing shell command finds sub-directories in $PATH
...
Problem: Completing shell command finds sub-directories in $PATH.
Solution: Remove EW_DIR when completing an item in $PATH. (Jason Franklin)
2018-07-28 19:20:13 +02:00
Bram Moolenaar
73b4abae5d
patch 8.1.0222: errors are reported for "make install"
...
Problem: Errors are reported for "make install".
Solution: Skip missing language files. (Christian Brabandt, closes #3254 )
2018-07-28 18:16:48 +02:00
Bram Moolenaar
edd6aacb01
patch 8.1.0221: not enough testing for the Ruby interface
...
Problem: Not enough testing for the Ruby interface.
Solution: Add more tests. (Dominique Pelle, closes #3252 )
2018-07-28 17:29:19 +02:00
Bram Moolenaar
d84b26a03b
patch 8.1.0220: Ruby converts v:true and v:false to a number
...
Problem: Ruby converts v:true and v:false to a number.
Solution: Use Qtrue and Qfalse instead. (Masataka Pocke Kuwabara,
closes #3259 )
2018-07-28 17:18:09 +02:00
Bram Moolenaar
2c8c681bfc
patch 8.1.0219: expanding ## fails to escape backtick
...
Problem: Expanding ## fails to escape backtick.
Solution: Escape a backtick in a file name. (closes #3257 )
2018-07-28 17:07:52 +02:00
Bram Moolenaar
95e51470f1
patch 8.1.0218: cannot add matches to another window
...
Problem: Cannot add matches to another window. (Qiming Zhao)
Solution: Add the "window" argument to matchadd() and matchaddpos().
(closes #3260 )
2018-07-28 16:55:56 +02:00
Bram Moolenaar
fd249460fe
patch 8.1.0217: compiler warning for variable set but not used
...
Problem: Compiler warning for variable set but not used.
Solution: Move tilde_file inside #ifdef. (Hirohito Higashi, closes #3255 )
2018-07-28 16:14:30 +02:00
Bram Moolenaar
8e85db0376
patch 8.1.0216: part of file not indented properly
...
Problem: Part of file not indented properly.
Solution: Adjust the indent. (Ken Takata)
2018-07-27 23:16:51 +02:00
Bram Moolenaar
d2a054910b
patch 8.1.0215: no error if configure --with-x cannot configure X
...
Problem: No error if configure --with-x cannot configure X.
Solution: Check that when --with-x is used X can be configured.
2018-07-27 22:35:15 +02:00
Bram Moolenaar
83ec2a7f5f
patch 8.1.0214: +autochdir feature not reported by has() or :version
...
Problem: +autochdir feature not reported by has() or :version.
Solution: Add the feature in the list.
2018-07-27 22:08:59 +02:00
Christoph Walcher
8fc72761a5
basic touchbarsupport
2018-07-26 22:05:04 -07:00
Kazuki Sakamoto
1868c4cdac
Merge remote-tracking branch 'vim/master'
2018-07-26 20:49:34 -07:00
Bram Moolenaar
0a08c63da1
patch 8.1.0213: CTRL-W CR does not work properly in a quickfix window
...
Problem: CTRL-W CR does not work properly in a quickfix window.
Solution: Split the window if needed. (Jason Franklin)
2018-07-25 22:36:52 +02:00
Bram Moolenaar
53901442f3
patch 8.1.0212: preferred cursor column not set in interfaces
...
Problem: Preferred cursor column not set in interfaces.
Solution: Set w_set_curswant when setting the cursor. (David Hotham,
closes #3060 )
2018-07-25 22:02:36 +02:00
Bram Moolenaar
00136dc321
patch 8.1.0211: expanding a file name "~" results in $HOME
...
Problem: Expanding a file name "~" results in $HOME. (Aidan Shafran)
Solution: Change "~" to "./~" before expanding. (closes #3072 )
2018-07-25 21:19:13 +02:00
Bram Moolenaar
6f8d2ac6f1
patch 8.1.0210: still a few K&R function declarations
...
Problem: Still a few K&R function declarations.
Solution: Use ANSI function declarations (Hirohito Higashi)
2018-07-25 19:49:45 +02:00
Kazuki Sakamoto
0c9f4fd439
Merge remote-tracking branch 'vim/master'
2018-07-24 20:27:43 -07:00
Bram Moolenaar
b6c8cd8dc3
patch 8.1.0209: stderr output from Ruby messes up display
...
Problem: Stderr output from Ruby messes up display.
Solution: Turn the stderr output into a Vim message. (Masataka Pocke
Kuwabara, closes #3238 )
2018-07-24 05:41:30 +02:00
Kazuki Sakamoto
6800549d14
Merge pull request #713 from ichizok/fix/display-glyphs
...
Fix a display of some non-composing glyphs
2018-07-23 20:03:51 -07:00
Kazuki Sakamoto
89d1d93448
Merge remote-tracking branch 'vim/master'
2018-07-23 19:56:55 -07:00
Bram Moolenaar
7624af0294
patch 8.1.0208: file left behind after running individual test
...
Problem: File left behind after running individual test.
Solution: Delete the file.
2018-07-24 04:51:20 +02:00
Kazuki Sakamoto
2aea7468fe
Merge remote-tracking branch 'vim/master'
2018-07-23 17:35:04 -07:00
Bram Moolenaar
68f1b1b37f
patch 8.1.0207: need many menu translation files to cover regions
...
Problem: Need many menu translation files to cover regions.
Solution: When there is no region match, try without. (Christian Brabandt)
2018-07-23 05:10:14 +02:00
Bram Moolenaar
cd96eef3a8
patch 8.1.0206: duplicate test function name
...
Problem: Duplicate test function name.
Solution: Rename both functions.
2018-07-23 04:49:23 +02:00
Bram Moolenaar
9cf4b5005f
patch 8.1.0205: invalid memory access with invalid modeline
...
Problem: Invalid memory access with invalid modeline.
Solution: Pass pointer limit. Add a test. (closes #3241 )
2018-07-23 04:12:03 +02:00
Bram Moolenaar
947b39e761
patch 8.1.0204: inputlist() is not tested
...
Problem: inputlist() is not tested.
Solution: Add a test. (Dominique Pelle, closes #3240 )
2018-07-22 19:36:37 +02:00
Bram Moolenaar
578333b2ec
patch 8.1.0203: building with Perl 5.28 fails on Windows
...
Problem: Building with Perl 5.28 fails on Windows.
Solution: Define Perl_mg_get. (closes #3196 )
2018-07-22 07:31:09 +02:00
Bram Moolenaar
6183ccbd67
patch 8.1.0202: :version always shows +packages
...
Problem: :version always shows +packages. (Takuya Fujiwara)
Solution: Add #ifdef (closes #3198 ) Also for has().
2018-07-22 05:08:11 +02:00
Bram Moolenaar
79a494d5e2
patch 8.1.0201: newer Python uses "importlib" instead of "imp"
...
Problem: Newer Python uses "importlib" instead of "imp".
Solution: Use "importlib" for newer Python versions. (closes #3163 )
2018-07-22 04:30:21 +02:00
Bram Moolenaar
a9604e6145
Update runtime files.
2018-07-21 05:56:22 +02:00
Bram Moolenaar
872e451e8c
patch 8.1.0200: spellbadword() not tested
...
Problem: spellbadword() not tested.
Solution: Add a test. (Dominique Pelle, closes #3235 )
2018-07-20 23:36:26 +02:00
Bram Moolenaar
66ab916935
patch 8.1.0199: spellbadword() does not check for caps error
...
Problem: spellbadword() does not check for caps error. (Dominique Pelle)
Solution: Adjust capcol when advancing.
2018-07-20 20:28:48 +02:00
Bram Moolenaar
0a6efcd27d
patch 8.1.0198: there is no hint that syntax is disabled for 'redrawtime'
...
Problem: There is no hint that syntax is disabled for 'redrawtime'.
Solution: Add a message.
2018-07-20 19:56:10 +02:00
Bram Moolenaar
9e42c86648
patch 8.1.0197: Windows GUI: title for search/replace is wrong
...
Problem: Windows GUI: title for search/replace is wrong.
Solution: Remove remark about doubling backslash. (closes #3230 )
2018-07-20 05:03:16 +02:00
Bram Moolenaar
f63db65b24
patch 8.1.0196: terminal debugger error with .gdbinit file
...
Problem: Terminal debugger error with .gdbinit file.
Solution: Check two lines for the "new ui" response. (hint from Hirohito
Higashi)
2018-07-19 04:13:36 +02:00
Bram Moolenaar
963c1ad5d0
patch 8.1.0195: terminal debugger commands don't always work
...
Problem: Terminal debugger commands don't always work. (Dominique Pelle)
Solution: Set 'cpo' to its default value when defining commands. (Christian
Brabandt)
2018-07-19 02:55:01 +02:00
Bram Moolenaar
414998023f
patch 8.1.0194: possibly use of NULL pointer
...
Problem: Possibly use of NULL pointer. (Coverity)
Solution: Reset the re_in_use flag earlier.
2018-07-18 06:02:09 +02:00
ichizok
17a8a7f3c0
Fix a display of some non-composing glyphs
...
e.g. ligatures, arabic
2018-07-17 18:25:42 +09:00
Bram Moolenaar
ca4cc018ad
patch 8.1.0193: terminal debugger buttons don't always work
...
Problem: Terminal debugger buttons don't always work. (Dominique Pelle)
Solution: Set 'cpo' to its default value.
2018-07-17 05:55:12 +02:00
Bram Moolenaar
0270f38e1a
patch 8.1.0192: executing regexp recursively fails with a crash
...
Problem: Executing regexp recursively fails with a crash.
Solution: Move global variables into "rex".
2018-07-17 05:43:58 +02:00
Bram Moolenaar
3166afd945
patch 8.1.0191: Perl test fails in 24 line terminal
...
Problem: Perl test fails in 24 line terminal.
Solution: Create fewer windows.
2018-07-16 18:09:14 +02:00
Bram Moolenaar
18c4f1badb
patch 8.1.0190: Perl refcounts are wrong
...
Problem: Perl refcounts are wrong.
Solution: Improve refcounting. Add a test. (Damien)
2018-07-16 17:45:38 +02:00
Bram Moolenaar
d90a144eda
patch 8.1.0189: function defined in sandbox not tested
...
Problem: Function defined in sandbox not tested.
Solution: Add a text.
2018-07-15 20:24:31 +02:00
Bram Moolenaar
b477af2260
Update runtime files.
2018-07-15 20:20:18 +02:00
Bram Moolenaar
2196bca737
patch 8.1.0188: no test for ":cscope add"
...
Problem: No test for ":cscope add".
Solution: Add a test. (Dominique Pelle, closes #3212 )
2018-07-15 17:36:32 +02:00
Bram Moolenaar
7132ddc101
patch 8.1.0187: getwininfo() and win_screenpos() return different numbers
...
Problem: getwininfo() and win_screenpos() return different numbers.
Solution: Add one to "wincol" and "winrow" from getwininfo().
2018-07-15 17:01:11 +02:00
Bram Moolenaar
44a693a1bd
patch 8.1.0186: test for getwininfo() fails in GUI
...
Problem: Test for getwininfo() fails in GUI.
Solution: Account for missing tabline.
2018-07-14 22:23:47 +02:00
Bram Moolenaar
1ce9a1515b
patch 8.1.0185: running tests writes lua.vim even though it is not used
...
Problem: Running tests writes lua.vim even though it is not used.
Solution: Stop writing lua.vim.
2018-07-14 21:48:46 +02:00
Bram Moolenaar
b6959a8e06
patch 8.1.0184: not easy to figure out the window layout
...
Problem: Not easy to figure out the window layout.
Solution: Add "wincol" and "winrow" to what getwininfo() returns.
2018-07-14 21:41:44 +02:00
Bram Moolenaar
1741367131
patch 8.1.0183: Lua API changed, breaking the build
...
Problem: Lua API changed, breaking the build.
Solution: Adjust prototype of lua_rawgeti(). (Ken Takata,
closes #3157 , closes #3144 )
2018-07-14 20:49:42 +02:00
Bram Moolenaar
4fc85003c5
patch 8.1.0182: Unicode standard was updated
...
Problem: Unicode standard was updated.
Solution: Include the changes. (Christian Brabandt)
2018-07-14 19:30:36 +02:00
Bram Moolenaar
a43ebe9454
patch 8.1.0181: memory leak with trailing characters in skip expression
...
Problem: Memory leak with trailing characters in skip expression.
Solution: Free the return value.
2018-07-14 17:25:01 +02:00
Bram Moolenaar
d6ef5f9b3d
patch 8.1.0180: static analysis errors in Lua interface
...
Problem: Static analysis errors in Lua interface. (Coverity)
Solution: Check for NULL pointers.
2018-07-13 22:08:23 +02:00
Bram Moolenaar
efc81331e7
patch 8.1.0179: redundant condition for boundary check
...
Problem: Redundant condition for boundary check.
Solution: Remove the condition. (Dominique Pelle). Change FALSE to FAIL.
2018-07-13 16:31:19 +02:00
Kazuki Sakamoto
6688ed2290
Merge remote-tracking branch 'vim/master'
2018-07-12 21:29:04 -07:00
Bram Moolenaar
e76c4b237d
patch 8.1.0178: warning for passing pointer to non-pointer argument
...
Problem: Warning for passing pointer to non-pointer argument.
Solution: Use zero instead of NULL.
2018-07-11 22:57:54 +02:00
Bram Moolenaar
93343725b5
patch 8.1.0177: defining function in sandbox is inconsistent
...
Problem: Defining function in sandbox is inconsistent, cannot use :function
but can define a lambda.
Solution: Allow defining a function in the sandbox, but also use the sandbox
when executing it. (closes #3182 )
2018-07-10 19:39:18 +02:00
Bram Moolenaar
18085fae74
patch 8.1.0176: overlapping string argument for strcpy()
...
Problem: Overlapping string argument for strcpy(). (Coverity)
Solution: Use STRMOVE() instead of STRCPY(). (Dominique Pelle, closes #3187 )
2018-07-10 17:33:45 +02:00
Bram Moolenaar
bde14d8e24
patch 8.1.0175: marks test fails in very wide window
...
Problem: Marks test fails in very wide window. (Vladimir Lomov)
Solution: Extend the text to match 'columns'. (closes #3180 , closes #3181 )
2018-07-10 15:22:32 +02:00
Bram Moolenaar
907dad72ef
patch 8.1.0174: after paging up and down fold line is wrong
...
Problem: After paging up and down fold line is wrong.
Solution: Correct the computation of w_topline and w_botline. (Hirohito
Higashi)
2018-07-10 15:07:15 +02:00
Kazuki Sakamoto
3ad944b0b7
Python 3.7 for Travis CI build
2018-07-09 23:44:09 -07:00
Kazuki Sakamoto
1426e4f7dc
Merge remote-tracking branch 'vim/master'
2018-07-09 23:42:30 -07:00
Bram Moolenaar
6259e5769d
patch 8.1.0173: compiler warning on MS-Windows
...
Problem: Compiler warning on MS-Windows.
Solution: Add type cast. (Mike Williams)
2018-07-09 20:39:17 +02:00
Kazuki Sakamoto
378032d85e
Merge pull request #708 from ychin/guioptions-k
...
Support guioptions 'k' flag in MacVim, prevents unnecessary window re…
2018-07-08 19:15:39 -07:00
Kazuki Sakamoto
91dcb1fa63
Merge remote-tracking branch 'vim/master'
2018-07-08 19:12:27 -07:00
Bram Moolenaar
c229e54a69
patch 8.1.0172: 'viminfofile' option does not behave like a file name
...
Problem: 'viminfofile' option does not behave like a file name.
Solution: Add the P_EXPAND flag. (closes #3178 )
2018-07-08 21:46:56 +02:00
Bram Moolenaar
875cf87894
patch 8.1.0171: typing CTRL-W n in a terminal window causes ml_get error
...
Problem: Typing CTRL-W n in a terminal window causes ml_get error.
Solution: When resizing the terminal outside of terminal_loop() make sure
the snapshot is complete.
2018-07-08 20:49:07 +02:00
Bram Moolenaar
2338c32b53
patch 8.1.0170: invalid memory use with complicated pattern
...
Problem: Invalid memory use with complicated pattern. (Andy Massimino)
Solution: Reallocate the list of listids when needed. (closes #3175 )
Remove unnecessary function prototypes.
2018-07-08 19:07:19 +02:00
Bram Moolenaar
a9defadb8f
patch 8.1.0169: calling message_filtered() a bit too often
...
Problem: Calling message_filtered() a bit too often.
Solution: Only call message_filtered() when filtering is already false.
2018-07-08 18:20:24 +02:00
Bram Moolenaar
9d5185bf9d
patch 8.1.0168: output of :marks is too short with multi-byte chars
...
Problem: Output of :marks is too short with multi-byte chars. (Tony
Mechelynck)
Solution: Get more bytes from the text line.
2018-07-08 17:57:34 +02:00
Bram Moolenaar
c89d4b3530
patch 8.1.0167: lock flag in new dictitem is reset in many places
...
Problem: Lock flag in new dictitem is reset in many places.
Solution: Always reset the lock flag.
2018-07-08 17:19:02 +02:00
Bram Moolenaar
e0be167a80
patch 8.1.0166: using dict_add_nr_str() is clumsy
...
Problem: Using dict_add_nr_str() is clumsy.
Solution: Split into two functions. (Ozaki Kiichi, closes #3154 )
2018-07-08 16:50:37 +02:00
Bram Moolenaar
4cde86c2ef
patch 8.1.0165: :clist output can be very long
...
Problem: :clist output can be very long.
Solution: Support filtering :clist entries. (Yegappan Lakshmanan)
2018-07-08 16:01:08 +02:00
Yee Cheng Chin
1333bc6c20
Support guioptions 'k' flag in MacVim, prevents unnecessary window resize
...
Adds support for native GVim's 'k' flag. Adding/removing tabs/scrollbars
and setting 'linespace'/'columnspace' would now cause the number of
lines and columns in the buffer change to keep the window size constant,
instead of the other way round of resizing the window to keep the view
size constant. This helps prevent the window from resizing itself
unncessarily, which could be especially annoying when the window is
pinned/maximized.
Manually setting 'lines'/'columns', going to full screen, dragging the
window corner to resize would still resize the window.
Also removed misc calls within MMWindowController.m that were setting
shouldResizeVimView. Those calls were already handled by native Vim's
gui.c's gui_set_shellsize so it's redundant.
Close #617
2018-07-08 03:27:55 -07:00
Bram Moolenaar
fd35811ca5
Update runtime files, add Danish translations.
2018-07-07 23:21:31 +02:00
Bram Moolenaar
fe08df452a
patch 8.1.0164: luaeval('vim.buffer().name') returns an error
...
Problem: luaeval('vim.buffer().name') returns an error.
Solution: Return an empty string. (Dominique Pelle, closes #3167 )
2018-07-07 23:07:41 +02:00
Bram Moolenaar
2549acf794
patch 8.1.0163: insufficient testing for Tcl
...
Problem: Insufficient testing for Tcl.
Solution: Add a few more tests. (Dominique Pelle, closes #3166 )
2018-07-07 22:42:01 +02:00
Bram Moolenaar
08505312fe
patch 8.1.0162: Danish and German man pages are not installed
...
Problem: Danish and German man pages are not installed. (Tony Mechelynck)
Solution: Adjust the makefile
2018-07-07 22:26:54 +02:00
Bram Moolenaar
386bc82a3f
patch 8.1.0161: buffer not updated with 'autoread' set if file was deleted
...
Problem: Buffer not updated with 'autoread' set if file was deleted.
(Michael Naumann)
Solution: Don't set the timestamp to zero. (closes #3165 )
2018-07-07 18:34:12 +02:00
Bram Moolenaar
cbbe4ab4b2
patch 8.1.0160: no Danish manual translations
...
Problem: No Danish manual translations.
Solution: Add the Danish manual translations to the file list.
2018-07-07 17:21:55 +02:00
Bram Moolenaar
6c5d104302
patch 8.1.0159: completion for user names does not work for a prefix.
...
Problem: Completion for user names does not work if a prefix is also a full
matching name. (Nazri Ramliy)
Solution: Accept both full and partial matches. (Dominique Pelle)
2018-07-07 16:41:13 +02:00
Bram Moolenaar
1ebff3dc93
patch 8.1.0158: GUI: input() fails if CTRL-C was pressed before
...
Problem: GUI: input() fails if CTRL-C was pressed before. (Michael Naumann)
Solution: call vpeekc() to drop the CTRL-C from the input stream.
2018-07-07 16:18:13 +02:00
Bram Moolenaar
e330ef42f2
patch 8.1.0157: old iTerm2 is not recognized, resulting in stray output
...
Problem: Old iTerm2 is not recognized, resulting in stray output.
Solution: Recognize the termresponse.
2018-07-06 23:11:40 +02:00
Bram Moolenaar
5d2f40792e
patch 8.1.0156: MS-Windows compiler warning
...
Problem: MS-Windows compiler warning.
Solution: Add a type cast. (Mike Williams)
2018-07-06 22:52:02 +02:00
Bram Moolenaar
ae728edc93
patch 8.1.0155: evim.man missing from the distribution
...
Problem: Evim.man missing from the distribution.
Solution: Add it to the list.
2018-07-05 22:58:17 +02:00
Bram Moolenaar
c9fe5ab3b0
patch 8.1.0154: crash with "set smarttab shiftwidth=0 softtabstop=-1"
...
Problem: Crash with "set smarttab shiftwidth=0 softtabstop=-1".
Solution: Fall back to using 'tabstop'. (closes #3155 )
2018-07-05 22:27:08 +02:00
Bram Moolenaar
e85ce6ea2e
patch 8.1.0153: build with SHADOWDIR fails
...
Problem: Build with SHADOWDIR fails. (Elimar Riesebieter)
Solution: Create a link for Make_all.mak. (Tony Mechelynck)
2018-07-05 17:11:24 +02:00
Bram Moolenaar
f3dc235576
patch 8.1.0152: cannot easily run individual tests on MS-Windows
...
Problem: Cannot easily run individual tests on MS-Windows.
Solution: Move the list of tests to a separate file. Add a build rule in
the MSVC makefile.
2018-07-04 23:05:34 +02:00
Bram Moolenaar
81e2ac7bb6
patch 8.1.0151: mksession test fails on MS-Windows
...
Problem: Mksession test fails on MS-Windows.
Solution: Always use an argument for :lcd.
2018-07-04 22:44:08 +02:00
Bram Moolenaar
fd34cebe9a
patch 8.1.0150: insufficient test coverage for Tcl
...
Problem: Insufficient test coverage for Tcl.
Solution: Add more tests. (Dominique Pelle, closes #3140 )
2018-07-04 22:36:46 +02:00
Bram Moolenaar
26d4b896a7
patch 8.1.0149: session is wrong with multiple tabs when :lcd was used
...
Problem: The generated sessions file does not restore tabs properly if :lcd
was used in one of them.
Solution: Create the tab pages before setting the directory. (Yee Cheng
Chin, closes #3152 )
2018-07-04 22:26:28 +02:00
Bram Moolenaar
92959fa46d
patch 8.1.0148: memory leak when using :tcl expr command
...
Problem: Memory leak when using :tcl expr command.
Solution: Free the result of expression evaluation. (Dominique Pelle,
closes #3150 )
2018-07-04 22:12:25 +02:00
Bram Moolenaar
3b48b11c07
patch 8.1.0147: compiler warning when building with Python 3.7
...
Problem: Compiler warning when building with Python 3.7.
Solution: #undef PySlice_GetIndicesEx before redefining it. (Ozaki Kiichi,
closes #3153 )
2018-07-04 22:03:25 +02:00
Bram Moolenaar
f0447e89a5
patch 8.1.0146: when $LANG is set the compiler test may fail
...
Problem: When $LANG is set the compiler test may fail.
Solution: Unset $LANG.
2018-07-03 21:26:38 +02:00
Bram Moolenaar
851332ea9c
patch 8.1.0145: test with grep is failing on MS-Windows
...
Problem: Test with grep is failing on MS-Windows.
Solution: Skip the test.
2018-07-03 19:16:00 +02:00
Bram Moolenaar
b2e0c94a4d
patch 8.1.0144: the :cd command does not have good test coverage
...
Problem: The :cd command does not have good test coverage.
Solution: Add more tests. (Dominique Pelle, closes #2972 )
2018-07-03 18:36:27 +02:00
Bram Moolenaar
3d1d6475f9
patch 8.1.0143: matchit and matchparen don't handle E363
...
Problem: Matchit and matchparen don't handle E363.
Solution: Catch the E363 error. (Christian Brabandt)
2018-07-03 18:18:23 +02:00
Bram Moolenaar
e6882bdc44
patch 8.1.0142: xterm and vt320 builtin termcap missing keypad keys
...
Problem: Xterm and vt320 builtin termcap missing keypad keys.
Solution: Add the escape sequences. (Kouichi Iwamoto, closes #2973 )
2018-07-03 17:16:59 +02:00
Bram Moolenaar
531b9a3a63
patch 8.1.0141: :cexpr no longer jumps to the first error
...
Problem: :cexpr no longer jumps to the first error.
Solution: Use the quickfix list identifier. (Yegappan Lakshmanan,
closes #3092 )
2018-07-03 16:54:23 +02:00
Bram Moolenaar
6dc819b129
Updated runtime and language files.
2018-07-03 16:42:19 +02:00
Bram Moolenaar
972bfddc6b
patch 8.1.0140: recording into a register has focus events
...
Problem: Recording into a register has focus events. (Michael Naumann)
Solution: Don't record K_FOCUSGAINED and K_FOCUSLOST. (closes #3143 )
2018-07-03 14:48:15 +02:00
Kazuki Sakamoto
351faf929e
Merge remote-tracking branch 'vim/master'
2018-07-02 23:15:52 -07:00
Kazuki Sakamoto
7956ed5684
Merge pull request #703 from Giemsa/fix/invalid_font_on_high_sierra
...
Fix: failed to select some fonts on high sierra
2018-07-02 23:15:19 -07:00
Kazuki Sakamoto
585d52cd01
Merge pull request #704 from tranngocthachs/fix_xcode_10b_build
...
Fix build on Xcode 10 beta
2018-07-02 23:13:38 -07:00
Bram Moolenaar
a8a60d0c6b
patch 8.1.0139: Lua tests fail on some platforms
...
Problem: Lua tests fail on some platforms.
Solution: Accept a hex number with and without "0x". (Ken Takata,
closes #3137 )
2018-07-02 22:54:36 +02:00
Bram Moolenaar
33d5ab3795
patch 8.1.0138: negative value of 'softtabstop' not used correctly
...
Problem: Negative value of 'softtabstop' not used correctly.
Solution: Use get_sts_value(). (Tom Ryder)
2018-07-02 20:51:24 +02:00
Bram Moolenaar
ade5578797
patch 8.1.0137: CI does not run with TCL
...
Problem: CI does not run with TCL.
Solution: Add TCL to the travis config. (Dominique Pelle, closes #3133 )
2018-07-01 21:12:55 +02:00
Bram Moolenaar
2f362bf7f9
patch 8.1.0136: Lua tests don't cover new features
...
Problem: Lua tests don't cover new features.
Solution: Add more tests. (Dominique Pelle, closes #3130 )
2018-07-01 19:49:27 +02:00
Bram Moolenaar
e0429681ae
patch 8.1.0135: undo message delays screen update for CTRL-O u
...
Problem: Undo message delays screen update for CTRL-O u.
Solution: Add smsg_attr_keep(). (closes #3125 )
2018-07-01 16:44:03 +02:00
Bram Moolenaar
ca06da9243
patch 8.1.0134: Lua interface does not support funcref
...
Problem: Lua interface does not support funcref.
Solution: Add funcref support. (Luis Carvalho)
2018-07-01 15:12:05 +02:00
Bram Moolenaar
ffd112edc6
Fix missing patch number.
2018-07-01 14:22:31 +02:00
Bram Moolenaar
46577b5e54
patch 8.1.0133: tagfiles() can have duplicate entries
...
Problem: tagfiles() can have duplicate entries.
Solution: Simplify the filename to make checking for duplicates work better.
Add a test. (Dominique Pelle, closes #2979 )
2018-06-30 22:40:42 +02:00
Bram Moolenaar
4ff4814b38
patch 8.1.0132: lua tests are old style
...
Problem: Lua tests are old style.
Solution: Convert to new style tests. Improve coverage. (Dominique Pelle,
closes #3091 )
2018-06-30 21:50:25 +02:00
Bram Moolenaar
1fbfe7c48c
patch 8.1.0131: :profdel is not tested
...
Problem: :profdel is not tested.
Solution: Add a test. (Dominique Pelle, closes #3123 )
2018-06-30 21:18:13 +02:00
Bram Moolenaar
ad64809610
patch 8.1.0130: ":profdel func" does not work if func was called already
...
Problem: ":profdel func" does not work if func was called already.
(Dominique Pelle)
Solution: Reset uf_profiling and add a flag to indicate initialization was
done.
2018-06-30 18:28:03 +02:00
Bram Moolenaar
668324ef4f
patch 8.1.0129: still some xterm-like terminals get a stray "p"
...
Problem: Still some xterm-like terminals get a stray "p" on startup.
Solution: Consider all terminals that reply with a version smaller than 95
as not an xterm. (James McCoy)
2018-06-30 17:09:26 +02:00
Bram Moolenaar
304925e750
patch 8.1.0128: building with MinGW does not work out-of-the-box
...
Problem: Building with MinGW does not work out-of-the-box.
Solution: Add instructions for MSYS2. Set default WINVER. Add batch files
to set $PATH for MSYS2.
2018-06-30 16:27:02 +02:00
Thach Tran
14ccd63f90
Fix #690 build on Xcode 10 beta
2018-06-29 16:25:20 -07:00
Bram Moolenaar
7c365fb190
patch 8.1.0127: build failure when disabling the session feature
...
Problem: Build failure when disabling the session feature. (Pawel Slowik)
Solution: Adjust #ifdef for vim_chdirfile().
2018-06-29 20:28:31 +02:00
Bram Moolenaar
307ac5c68e
patch 8.1.0126: various problems with 'vartabstop'
...
Problem: Various problems with 'vartabstop'.
Solution: Fix memory leak. Fix crash. Add a few more tests. (Christian
Brabandt, closes #3076 )
2018-06-28 22:23:00 +02:00
Giemsa
1a7ed927f0
Fix: failed to select some fonts on high sierra
2018-06-29 04:31:04 +09:00
Bram Moolenaar
630afe889a
patch 8.1.0125: virtual edit replace with multi-byte fails at end of line
...
Problem: Virtual edit replace with multi-byte fails at end of line. (Lukas
Werling)
Solution: use ins_char() to add the character. (Christian Brabandt,
closes #3114 ) Rename PCHAR() to PBYTE() to avoid mistakes like
this.
2018-06-28 19:26:28 +02:00
Bram Moolenaar
d8b37a53bd
patch 8.1.0124: has('vcon') returns true even for non-win32 terminal
...
Problem: has('vcon') returns true even for non-win32 terminal.
Solution: Check the terminal type. (Nobuhiro Takasaki, closes #3106 )
2018-06-28 15:50:28 +02:00
Bram Moolenaar
b0eb14f939
patch 8.1.0123: MS-Windows: colors are wrong after setting 'notgc'
...
Problem: MS-Windows: colors are wrong after setting 'notgc'.
Solution: Only call control_console_color_rgb() for the win32 terminal.
(Nobuhiro Takasaki, closes #3107 )
2018-06-28 15:29:52 +02:00
Bram Moolenaar
0c18319872
patch 8.1.0122: translators don't always understand the maintainer message
...
Problem: Translators don't always understand the maintainer message.
Solution: Add a comment that ends up in the generated po file. (Christian
Brabandt, closes #3037 )
2018-06-28 14:54:43 +02:00
Bram Moolenaar
ca4b613c69
patch 8.1.0121: crash when using ballooneval related to 'vartabstop'
...
Problem: Crash when using ballooneval related to 'vartabstop'.
Solution: Initialize balloonEval->vts to NULL. (Markus Braun)
2018-06-28 12:05:11 +02:00
Bram Moolenaar
dc9e955fb0
patch 8.1.0120: buffer 'modified' set even when :sort has no changes
...
Problem: Buffer 'modified' set even when :sort has no changes.
Solution: Only set 'modified' when lines are moved. (Jason Franklin)
2018-06-28 11:28:08 +02:00
Bram Moolenaar
ec12d64909
patch 8.1.0119: failing test goes unnoticed because messages is not written
...
Problem: Failing test goes unnoticed because testdir/messages is not
written.
Solution: Set 'nomodifiable' only local to the buffer.
2018-06-27 23:12:36 +02:00
Bram Moolenaar
f52f9ea8f5
patch 8.1.0118: duplicate error message for put command
...
Problem: Duplicate error message for put command.
Solution: Check return value of u_save(). (Jason Franklin)
2018-06-27 20:49:44 +02:00
Kazuki Sakamoto
ea32277f0e
Merge remote-tracking branch 'vim/master'
2018-06-26 21:34:02 -07:00
Bram Moolenaar
bd87eb38c5
patch 8.1.0117: URL in install program still points to SourceForge
...
Problem: URL in install program still points to SourceForge.
Solution: Change it to www.vim.org. (closes #3100 )
2018-06-26 23:18:45 +02:00
Kazuki Sakamoto
a454795bd1
Merge remote-tracking branch 'vim/master'
2018-06-25 23:56:47 -07:00
Kazuki Sakamoto
6ff781f67e
Merge pull request #700 from ichizok/fix/fetch-glyphs
...
Fix fetchGlyphsAndAdvances() in CoreText renderer
2018-06-25 23:56:34 -07:00
Bram Moolenaar
a87b72cc31
patch 8.1.0116: display problem with 'vartabstop' and 'linebreak'
...
Problem: Display problem with 'vartabstop' and 'linebreak'. (Chauca
Fuentes)
Solution: Call tabstop_padding(). (Christian Brabandt, closes #3076 )
2018-06-25 21:24:51 +02:00
ichizok
eec7910d54
Fix fetchGlyphsAndAdvances() in CoreText renderer
2018-06-25 19:21:03 +09:00
Bram Moolenaar
b7a5ab112a
patch 8.1.0115: the matchparen plugin may throw an error
...
Problem: The matchparen plugin may throw an error.
Solution: Change the skip argument from zero to "0".
2018-06-25 00:05:59 +02:00
Bram Moolenaar
0119a59ffd
patch 8.1.0114: confusing variable name
...
Problem: Confusing variable name.
Solution: Rename new_ts to new_vts_array. Change zero to NULL.
2018-06-24 23:53:28 +02:00
Bram Moolenaar
675e8d6adb
Update runtime files.
2018-06-24 20:42:01 +02:00
Bram Moolenaar
829adb7460
patch 8.1.0113: compiler warning for unused variable
...
Problem: Compiler warning for unused variable. (Yegappan Lakshmanan)
Solution: Add UNUSED. (Christian Brabandt)
2018-06-24 19:24:03 +02:00
Bram Moolenaar
3dddb09c98
patch 8.1.0112: no error when using bad arguments with searchpair()
...
Problem: No error when using bad arguments with searchpair().
Solution: Add error messages.
2018-06-24 19:01:59 +02:00
Bram Moolenaar
d1d037e901
patch 8.1.0111: .po files do not use recommended names
...
Problem: .po files do not use recommended names.
Solution: Give a warning if the recommended name is not used. Accept the
recommended name for conversion. (Christian Brabandt, Ken Takata)
2018-06-24 18:04:50 +02:00
Bram Moolenaar
fc0896093c
patch 8.1.0110: file name not displayed with ":file"
...
Problem: File name not displayed with ":file" when 'F' is in 'shortmess'.
Solution: Always display the file name when there is no argument (Christian
Brabandt, closes #3070 )
2018-06-24 16:53:35 +02:00
Bram Moolenaar
7cb6eecd32
patch 8.1.0109: new po makefile missing from distribution
...
Problem: New po makefile missing from distribution.
Solution: Add it to the file list.
2018-06-24 15:56:24 +02:00
Bram Moolenaar
a4a2934e59
patch 8.1.0108: no Danish translations
...
Problem: No Danish translations.
Solution: Add Danish message translations. (closes #3073 ) Move list of
languages to a common makefile.
2018-06-24 15:52:56 +02:00
Bram Moolenaar
defe6424ae
patch 8.1.0107: Python: getting buffer option clears message
...
Problem: Python: getting buffer option clears message. (Jacob Niehus)
Solution: Don't use aucmd_prepbuf(). (closes #3079 )
2018-06-24 15:14:07 +02:00
Bram Moolenaar
eee3e94669
patch 8.1.0106: build fails when HAVE_DATE_TIME is undefined
...
Problem: Build fails when HAVE_DATE_TIME is undefined.
Solution: Always define init_longVersion(). (Christian Brabandt,
closes #3075 )
2018-06-24 14:44:46 +02:00
Bram Moolenaar
04958cbaf2
patch 8.1.0105: all tab stops are the same
...
Problem: All tab stops are the same.
Solution: Add the variable tabstop feature. (Christian Brabandt,
closes #2711 )
2018-06-23 19:23:02 +02:00
Bram Moolenaar
5ec7414a1c
patch 8.1.0104: can't build without the +eval feature
...
Problem: Can't build without the +eval feature.
Solution: Add #ifdef.
2018-06-23 17:14:41 +02:00
Bram Moolenaar
35fb6fbf72
patch 8.1.0103: long version string cannot be translated
...
Problem: Long version string cannot be translated.
Solution: Build the string in init_longVersion().
2018-06-23 16:12:21 +02:00
Bram Moolenaar
1f8c469fe2
patch 8.1.0102: cannot build without syntax highlighting
...
Problem: Cannot build without syntax highlighting.
Solution: Add #ifdef around using reg_do_extmatch.
2018-06-23 15:09:10 +02:00
Bram Moolenaar
81612b7a7d
patch 8.1.0101: no test for getcmdwintype()
...
Problem: No test for getcmdwintype().
Solution: Add a test. (Dominique Pelle, closes #3068 )
2018-06-23 14:55:03 +02:00
Bram Moolenaar
6dccc962f3
patch 8.1.0100: terminal debugger: error when setting a watch point
...
Problem: Terminal debugger: error when setting a watch point.
Solution: Don't try defining a sign for a watch point.
2018-06-23 14:36:17 +02:00
Bram Moolenaar
3c867daaf0
patch 8.1.0099: exclamation mark in error message not needed
...
Problem: Exclamation mark in error message not needed.
Solution: Remove the exclamation mark.
2018-06-23 14:34:28 +02:00
Bram Moolenaar
bcf9442307
patch 8.1.0098: segfault when pattern with \z() is very slow
...
Problem: Segfault when pattern with \z() is very slow.
Solution: Check for NULL regprog. Add "nfa_fail" to test_override() to be
able to test this. Fix that 'searchhl' resets called_emsg.
2018-06-23 14:21:42 +02:00
Bram Moolenaar
5efa0102de
patch 8.1.0097: superfluous space before exclamation mark
...
Problem: Superfluous space before exclamation mark.
Solution: Remove the space. Don't translate debug message.
2018-06-22 21:42:30 +02:00
Bram Moolenaar
8c55533c6f
patch 8.1.0096: inconsistent use of the word autocommands
...
Problem: Inconsistent use of the word autocommands.
Solution: Don't use auto-commands or "auto commands".
2018-06-22 21:30:31 +02:00
Kazuki Sakamoto
21f99c1562
Merge remote-tracking branch 'vim/master'
2018-06-21 20:49:30 -07:00
Bram Moolenaar
39902a06d9
patch 8.1.0095: dialog for ":browse tabnew" says "new window"
...
Problem: Dialog for ":browse tabnew" says "new window".
Solution: Use "new tab page". (closes #3053 )
2018-06-21 22:10:08 +02:00
Bram Moolenaar
32aaf5ae07
patch 8.1.0094: help text "usage:" is not capatalized
...
Problem: Help text "usage:" is not capatalized.
Solution: Make it "Usage:". (closes #3044 )
2018-06-21 21:38:33 +02:00
Bram Moolenaar
2ed890f1f8
patch 8.1.0093: non-MS-Windows: Cannot interrupt gdb when program is running
...
Problem: non-MS-Windows: Cannot interrupt gdb when program is running.
Solution: Only use debugbreak() on MS-Windows.
2018-06-21 20:31:14 +02:00
Bram Moolenaar
71ef1ba5e9
patch 8.1.0092: prompt buffer test fails
...
Problem: Prompt buffer test fails.
Solution: Set 'nomodified' before closing the window. (Ozaki Kiichi,
closes #3051
2018-06-21 12:07:04 +02:00
Bram Moolenaar
4551c0a9fc
patch 8.1.0091: MS-Windows: Cannot interrupt gdb when program is running
...
Problem: MS-Windows: Cannot interrupt gdb when program is running.
Solution: Add debugbreak() and use it in the terminal debugger.
Respect 'modified' in a prompt buffer.
2018-06-20 22:38:21 +02:00
Bram Moolenaar
9b0c5c23bd
patch 8.1.0090: "..." used inconsistently in a message
...
Problem: "..." used inconsistently in a message.
Solution: Define the message with " ..." once. (hint by Ken Takata)
2018-06-20 20:37:36 +02:00
Bram Moolenaar
a15b0a936d
patch 8.1.0089: error when ending the terminal debugger
...
Problem: error when ending the terminal debugger
Solution: Fix deleting defined signs for breakpoints. Make the debugger
work better on MS-Windows.
2018-06-19 22:34:46 +02:00
Bram Moolenaar
5319191a2a
patch 8.1.0088: terminal test for stdout and stderr is a bit flaky
...
Problem: Terminal test for stdout and stderr is a bit flaky.
Solution: Wait for both stdout and stderr to have been processed. (Ozaki
Kiichi, closes #2991 )
2018-06-19 20:08:14 +02:00
Bram Moolenaar
f9c3883b11
patch 8.1.0087: v:shell_error is always zero when using terminal for "!cmd"
...
Problem: v:shell_error is always zero when using terminal for "!cmd".
Solution: Use "exitval" of terminal-job. (Ozaki Kiichi, closes #2994 )
2018-06-19 19:59:20 +02:00
Bram Moolenaar
1ceebb4efc
patch 8.1.0086: no tests for libcall() and libcallnr()
...
Problem: No tests for libcall() and libcallnr().
Solution: Add tests. (Dominique Pelle, closes #2982 )
2018-06-19 19:46:06 +02:00
Bram Moolenaar
5f8f2d378a
patch 8.1.0085: no test for completing user name and language
...
Problem: No test for completing user name and language.
Solution: Add tests. (Dominique Pelle, closes #2978 )
2018-06-19 19:09:09 +02:00
Bram Moolenaar
828c3d7083
patch 8.1.0084: user name completion does not work on MS-Windows
...
Problem: User name completion does not work on MS-Windows.
Solution: Use NetUserEnum() to get user names. (Yasuhiro Matsumoto)
2018-06-19 18:58:07 +02:00
Bram Moolenaar
8516071124
patch 8.1.0083: "is" and "as" have trouble with quoted punctuation
...
Problem: "is" and "as" have trouble with quoted punctuation.
Solution: Check for punctuation before a quote. (Jason Franklin)
2018-06-19 18:27:41 +02:00
Bram Moolenaar
1d4754f96f
patch 8.1.0082: in terminal window, typing : at more prompt, inserts ':'
...
Problem: In terminal window, typing : at more prompt, inserts ':' instead
of starting another Ex command.
Solution: Add skip_term_loop and set it when putting ':' in the typeahead
buffer.
2018-06-19 17:49:24 +02:00
Bram Moolenaar
f07f9e731e
patch 8.1.0081: the terminal debugger doesn't adjust to changed 'background'
...
Problem: The terminal debugger doesn't adjust to changed 'background'.
Solution: Add an OptionSet autocommand. (Christian Brabandt)
2018-06-19 17:27:53 +02:00
Bram Moolenaar
de1a83147a
patch 8.1.0080: can't see the breakpoint number in the terminal debugger
...
Problem: Can't see the breakpoint number in the terminal debugger.
Solution: Use the breakpoint number for the sign. (Christian Brabandt)
2018-06-19 16:59:54 +02:00
Bram Moolenaar
8df6e5d467
patch 8.1.0079: superfluous space in messages
...
Problem: Superfluous space in messages.
Solution: Remove the spaces. (closes #3030 )
2018-06-19 14:45:37 +02:00
Bram Moolenaar
d2f3a8b878
Update runtime files.
2018-06-19 14:35:59 +02:00
Bram Moolenaar
c166927a32
patch 8.1.0078: "..." used inconsistently in messages
...
Problem: "..." used inconsistently in messages.
Solution: Drop the space before " ...".
2018-06-19 14:23:53 +02:00
Bram Moolenaar
5c3670718b
patch 8.1.0077: header of README file is not nice
...
Problem: Header of README file is not nice.
Solution: Move text to the bottom.
2018-06-18 22:31:11 +02:00
Bram Moolenaar
0ce7413a83
patch 8.1.0076: command getting cleared with CTRL-W : in a terminal window
...
Problem: Command getting cleared with CTRL-W : in a terminal window. (Jason
Franklin)
Solution: Call redraw_after_callback() when editing the command line.
2018-06-18 22:15:50 +02:00
Bram Moolenaar
252b7ee823
patch 8.1.0075: no Vim logo in README file
...
Problem: No Vim logo in README file.
Solution: Add one. (Árni Dagur, closes #3024 )
2018-06-18 22:00:22 +02:00
Bram Moolenaar
d6b01a2d38
patch 8.1.0074: crash when running quickfix tests
...
Problem: Crash when running quickfix tests.
Solution: Do not alloc a new location list when checking for the reference
to be still valid.
2018-06-18 21:53:28 +02:00
Bram Moolenaar
0366c0161e
patch 8.1.0073: crash when autocommands call setloclist()
...
Problem: Crash when autocommands call setloclist(). (Dominique Pelle)
Solution: If the quickfix list changes then don't jump to the error.
2018-06-18 20:52:13 +02:00
Kazuki Sakamoto
ed3fd67cfc
MacVim Snapshot 149
...
Binary targets macOS 10.8+
- Vim patch 8.1.0072
Script interfaces have compatibility with these versions
- Lua 5.3
- Perl 5.18
- Python2 2.7
- Python3 3.6
- Ruby 2.5
2018-06-17 15:52:28 -07:00
Kazuki Sakamoto
678963c2b8
Merge remote-tracking branch 'vim/master'
2018-06-17 15:38:13 -07:00
Bram Moolenaar
dcdeaaf150
patch 8.1.0072: use of 'termwinkey' is inconsistent
...
Problem: Use of 'termwinkey' is inconsistent.
Solution: Change the documentation and the behavior. (Ken Takata)
2018-06-17 22:19:12 +02:00
Bram Moolenaar
b3307b5e7e
patch 8.1.0071: terminal debugger only works with the terminal feature
...
Problem: Terminal debugger only works with the terminal feature.
Solution: Make it also work with a prompt buffer. Makes it possible to use
on MS-Windows. Various other improvements. (closes #3012 )
2018-06-17 21:34:11 +02:00
Bram Moolenaar
222cd20e26
patch 8.1.0070: missing part of the changes for prompt_setinterrupt()
...
Problem: Missing part of the changes for prompt_setinterrupt().
Solution: Add the missing changes.
2018-06-17 20:10:39 +02:00
Bram Moolenaar
0e5979a6d4
patch 8.1.0069: cannot handle pressing CTRL-C in a prompt buffer
...
Problem: Cannot handle pressing CTRL-C in a prompt buffer.
Solution: Add prompt_setinterrupt().
2018-06-17 19:36:33 +02:00
Bram Moolenaar
2f82ca7d79
patch 8.1.0068: nasty autocommands can still cause using freed memory
...
Problem: Nasty autocommands can still cause using freed memory.
Solution: Disallow using setloclist() and setqflist() recursively.
2018-06-17 19:22:52 +02:00
Bram Moolenaar
a5616b0136
patch 8.1.0067: syntax highlighting not working when re-entering a buffer
...
Problem: Syntax highlighting not working when re-entering a buffer.
Solution: Do force executing autocommands when not called recursively.
2018-06-17 19:08:30 +02:00
Bram Moolenaar
c3ffc9b8d3
patch 8.1.0066: nasty autocommand causes using freed memory
...
Problem: Nasty autocommand causes using freed memory. (Dominique Pelle)
Solution: Do not force executing autocommands if the value of 'syntax' or
'filetype' did not change.
2018-06-17 17:32:58 +02:00
Bram Moolenaar
0e6e179f55
patch 8.1.0065: balloon displayed at the wrong position
...
Problem: Balloon displayed at the wrong position.
Solution: Do not reposition the popup menu at the cursor position.
2018-06-17 17:10:59 +02:00
Bram Moolenaar
942b4541a2
patch 8.1.0064: typing CTRL-W in a prompt buffer shows mode "-- --"
...
Problem: Typing CTRL-W in a prompt buffer shows mode "-- --".
Solution: Set restart_edit to 'A' and check for it.
2018-06-17 16:23:34 +02:00
Bram Moolenaar
d595a1910c
patch 8.1.0063: Mac: NSStringPboardType is deprecated
...
Problem: Mac: NSStringPboardType is deprecated.
Solution: Use NSPasteboardTypeString. (Akshay Hegde, closes #3022 )
2018-06-17 15:01:04 +02:00
Bram Moolenaar
491ac28d5f
patch 8.1.0062: popup menu broken if a callback changes the window layout
...
Problem: Popup menu broken if a callback changes the window layout. (Qiming
Zhao)
Solution: Recompute the popup menu position if needed. Redraw the ruler
even when the popup menu is displayed.
2018-06-17 14:47:55 +02:00
Bram Moolenaar
84a9308511
patch 8.1.0061: window title is wrong after resetting and setting 'title'
...
Problem: Window title is wrong after resetting and setting 'title'.
Solution: Move resetting the title into maketitle(). (Jason Franklin)
2018-06-16 22:58:15 +02:00
Bram Moolenaar
600323b4ef
patch 8.1.0060: crash when autocommands delete the current buffer
...
Problem: Crash when autocommands delete the current buffer. (Dominique
Pelle)
Solution: Check that autocommands don't change the buffer.
2018-06-16 22:16:47 +02:00
Bram Moolenaar
bc5020aa4d
patch 8.1.0059: displayed digraph for "ga" wrong with 'encoding' "cp1251"
...
Problem: Displayed digraph for "ga" wrong with 'encoding' "cp1251".
Solution: Convert from 'encoding' to "utf-8" if needed. (closes #3015 )
2018-06-16 17:25:22 +02:00
Bram Moolenaar
bfa4246768
patch 8.1.0058: display problem with margins and scrolling
...
Problem: Display problem with margins and scrolling.
Solution: Place the cursor in the right column. (Kouichi Iwamoto,
closes #3016 )
2018-06-16 16:20:52 +02:00
Bram Moolenaar
6ba3ec1bac
patch 8.1.0057: popup menu displayed wrong when using autocmd
...
Problem: Popup menu displayed wrong when using autocmd.
Solution: Use aucmd_prepbuf(). Force updating status line if the popup menu
is going to be redrawn anyway. (Christian Brabandt, closes #3009 )
2018-06-16 15:32:38 +02:00
Bram Moolenaar
43dee181f5
patch 8.1.0056: crash when using :hardcopy with illegal byte
...
Problem: Crash when using :hardcopy with illegal byte.
Solution: Check for string_convert() returning NULL. (Dominique Pelle)
2018-06-16 14:44:11 +02:00
Bram Moolenaar
52d3aaeea4
patch 8.1.0055: complete test has wrong order of arguments
...
Problem: Complete test has wrong order of arguments. Wrong type for
sentinel variable.
Solution: Swap arguments, use VAR_UNKNOWN. (Ozaki Kiichi)
2018-06-13 21:27:24 +02:00
Bram Moolenaar
5ecdf96422
patch 8.1.0054: compiler warning for using %ld for "long long"
...
Problem: Compiler warning for using %ld for "long long".
Solution: Add a type cast. (closes #3002 )
2018-06-13 20:49:50 +02:00
Kazuki Sakamoto
cf915c85f7
Merge remote-tracking branch 'vim/master'
2018-06-12 20:28:23 -07:00
Bram Moolenaar
ffa9684150
patch 8.1.0053: first argument of 'completefunc' has inconsistent type
...
Problem: The first argument given to 'completefunc' can be Number or
String, depending on the value.
Solution: Avoid guessing the type of an argument, use typval_T in the
callers of call_vim_function(). (Ozaki Kiichi, closes #2993 )
2018-06-12 22:05:14 +02:00
Bram Moolenaar
83f4cbd973
patch 8.1.0052: when mapping to <Nop> times out the next mapping is skipped
...
Problem: When a mapping to <Nop> times out the next mapping is skipped.
Solution: Reset "timedout" when waiting for a character. (Christian
Brabandt, closes #2921 )
2018-06-12 21:35:40 +02:00
Bram Moolenaar
79c6b51e40
patch 8.1.0051: MS-Windows: missing #endif
...
Problem: MS-Windows: missing #endif.
Solution: Add the #endif.
2018-06-12 21:11:12 +02:00
Bram Moolenaar
493359eb3b
patch 8.1.0050: $VIM_TERMINAL is also set when not in a terminal window
...
Problem: $VIM_TERMINAL is also set when not in a terminal window.
Solution: Pass a flag to indicate whether the job runs in a terminal.
2018-06-12 20:25:52 +02:00
Bram Moolenaar
d7a137fb0d
patch 8.1.0049: shell cannot tell running in a terminal window
...
Problem: Shell cannot tell running in a terminal window.
Solution: Add the VIM_TERMINAL environment variable. (Christian Brabandt)
2018-06-12 18:05:24 +02:00
Bram Moolenaar
07ccf7ce7f
patch 8.1.0048: vim_str2nr() does not handle numbers close to the maximum
...
Problem: vim_str2nr() does not handle numbers close to the maximum.
Solution: Check for overflow more precisely. (Ken Takata, closes #2746 )
2018-06-12 17:25:36 +02:00
Bram Moolenaar
1983401088
patch 8.1.0047: no completion for :unlet $VAR
...
Problem: No completion for :unlet $VAR.
Solution: Add completion. (Jason Franklin)
2018-06-12 17:03:39 +02:00
Bram Moolenaar
1c3c10492a
patch 8.1.0046: loading a session file fails if 'winheight' is big
...
Problem: Loading a session file fails if 'winheight' is a big number.
Solution: Set 'minwinheight' to zero at first. Don't give an error when
setting 'minwinheight' while 'winheight' is a big number.
Fix using vertical splits. Fix setting 'minwinwidth'.
(closes #2970 )
2018-06-12 16:49:30 +02:00
Bram Moolenaar
ae0f30b761
patch 8.1.0045: popup test isn't run completely
...
Problem: Popup test isn't run completely.
Solution: Remove "finish". Clean up function definitions.
2018-06-12 15:22:43 +02:00
Bram Moolenaar
8903676d3d
patch 8.1.0044: if a test function exists Vim this may go unnoticed
...
Problem: If a test function exists Vim this may go unnoticed.
Solution: Check for a test funtion quitting Vim. Fix tests that did exit
Vim.
2018-06-12 14:58:39 +02:00
Bram Moolenaar
7580849df9
patch 8.1.0043: ++bad argument of :edit does not work properly
...
Problem: ++bad argument of :edit does not work properly.
Solution: Return FAIL from get_bad_opt() only when there is no valid
argument. (Dominique Pelle, Christian Brabandt, closes #2966 ,
closes #2947 )
2018-06-12 12:39:41 +02:00
Bram Moolenaar
f98b845dd1
patch 8.1.0042: if omni completion opens a window Insert mode is stopped
...
Problem: If omni completion opens a window Insert mode is stopped.
(Hirohito Higashi)
Solution: Only set stop_insert_mode in a prompt buffer window.
2018-06-10 14:39:52 +02:00
Bram Moolenaar
e950f9992b
patch 8.1.0041: attribute "width" missing from python window attribute list
...
Problem: Attribute "width" missing from python window attribute list.
Solution: Add the item. (Ken Takata) Order the list like the items are used
in the WindowAttr() function.
2018-06-10 13:55:55 +02:00
Bram Moolenaar
e31e256ba1
patch 8.1.0040: warnings from 64-bit compiler
...
Problem: Warnings from 64-bit compiler.
Solution: Add type casts. (Mike Williams)
2018-06-10 13:12:55 +02:00