Kazuki Sakamoto
1afdb997de
MacVim Snapshot 131
...
Binary targets macOS 10.8+
- Vim patch 8.0.0567
- Fix artifacts when entering full screen
- Fix flashing during window resizing
Script interfaces have compatibility with these versions
- Lua 5.2
- Perl 5.16
- Python2 2.7
- Python3 3.6.1
- Ruby 2.0
2017-04-18 20:37:38 -07:00
Kazuki Sakamoto
701ac80cae
Merge remote-tracking branch 'vim/master'
2017-04-18 19:24:12 -07:00
Bram Moolenaar
fc8f1118e7
patch 8.0.0567: call for requesting color and ambiwidth is too early
...
Problem: Call for requesting color and ambiwidth is too early. (Hirohito
Higashi)
Solution: Move the call down to below resetting "starting".
2017-04-18 18:51:35 +02:00
Kazuki Sakamoto
52a9a472de
Merge remote-tracking branch 'vim/master'
2017-04-15 21:50:24 -07:00
Bram Moolenaar
43d1ac6e81
patch 8.0.0566: setting nocompatible for the tiny version moves the cursor
...
Problem: Setting nocompatible for the tiny version moves the cursor.
Solution: Use another trick to skip commands when the +eval feature is
present. (Christian Brabandt, closes #1630 )
2017-04-15 15:37:25 +02:00
Bram Moolenaar
31bdd13c33
patch 8.0.0565: using freed memory in :caddbuf
...
Problem: Using freed memory in :caddbuf after clearing quickfix list.
(Dominique Pelle)
Solution: Set qf_last to NULL.
2017-04-15 15:22:52 +02:00
Bram Moolenaar
39170e2d97
patch 8.0.0564: cannot detect Bazel BUILD files on some systems
...
Problem: Cannot detect Bazel BUILD files on some systems.
Solution: Check for BUILD after script checks. (Issue #1340 )
2017-04-15 14:36:07 +02:00
Kazuki Sakamoto
957bedab9c
Merge remote-tracking branch 'vim/master'
2017-04-11 22:51:13 -07:00
Bram Moolenaar
9f92886277
patch 8.0.0563: crash when getting the window position in tmux
...
Problem: Crash when getting the window position in tmux. (Marvin Schmidt)
Solution: Add t_GP to the list of terminal options. (closes #1627 )
2017-04-11 22:44:05 +02:00
Kazuki Sakamoto
4f54a3d2c2
Merge remote-tracking branch 'vim/master'
2017-04-10 19:20:00 -07:00
Bram Moolenaar
ea588154d0
patch 8.0.0562: not enough test coverage for syntax commands
...
Problem: Not enough test coverage for syntax commands.
Solution: Add a few more tests. (Dominique Pelle, closes #1624 )
2017-04-10 22:45:30 +02:00
Bram Moolenaar
478af67dd6
patch 8.0.0561: undefined behavior when using backslash after empty line
...
Problem: Undefined behavior when using backslash after empty line.
Solution: Check for an empty line. (Dominique Pelle, closes #1631 )
2017-04-10 22:22:42 +02:00
Bram Moolenaar
451a4a1cb7
patch 8.0.0560: :windo allows for ! but it's not supported
...
Problem: :windo allows for ! but it's not supported.
Solution: Disallow passing !. (Hirohito Higashi)
2017-04-10 21:46:38 +02:00
Kazuki Sakamoto
23c70e0101
Merge pull request #495 from s4y/s4y/fullscreen_contentSize
...
Fix changing font size in full screen.
2017-04-09 18:10:36 -07:00
Kazuki Sakamoto
487dd9d27b
Merge remote-tracking branch 'vim/master'
2017-04-09 15:51:52 -07:00
Bram Moolenaar
f803a76978
patch 8.0.0559: setting ttytype to xxx does not always fail
...
Problem: Setting ttytype to xxx does not always fail as expected. (Marvin
Schmidt)
Solution: Catch both possible errors. (closes #1601 )
2017-04-09 22:54:13 +02:00
Bram Moolenaar
cd5c8f8250
Update runtime files.
2017-04-09 20:11:58 +02:00
Bram Moolenaar
f8ec998613
patch 8.0.0558: :ownsyntax is not tested
...
Problem: The :ownsyntax command is not tested.
Solution: Add a test. (Dominique Pelle, closes #1622 )
2017-04-09 15:41:31 +02:00
Bram Moolenaar
59053e1d9f
patch 8.0.0557: GTK: using static gravities is not useful
...
Problem: GTK: using static gravities is not useful.
Solution: Remove setting static gravities. (Kazunobu Kuriyama)
2017-04-09 15:27:09 +02:00
Bram Moolenaar
7860bac57b
patch 8.0.0556: getting window position fails if GUI and term possible
...
Problem: Getting the window position fails if both the GUI and term
code is built in.
Solution: Return after getting the GUI window position. (Kazunobu Kuriyama)
2017-04-09 15:03:15 +02:00
Bram Moolenaar
d2381a2cad
patch 8.0.0555: toupper/tolower test fails on OSX without Darwin
...
Problem: Toupper/tolower test fails on OSX without Darwin.
Solution: Skip that part of the test also for OSX. (Kazunobu Kuriyama)
2017-04-09 14:58:15 +02:00
Bram Moolenaar
1cc482069a
patch 8.0.0554: toupper and tolower don't work properly for Turkish
...
Problem: Toupper and tolower don't work properly for Turkish when 'casemap'
contains "keepascii". (Bjorn Linse)
Solution: When 'casemap' contains "keepascii" use ASCII toupper/tolower.
2017-04-09 13:41:59 +02:00
Bram Moolenaar
9f4de1f543
patch 8.0.0553: toupper/tolower test fails on Mac
...
Problem: Toupper/tolower test with Turkish locale fails on Mac.
Solution: Skip the test on Mac.
2017-04-08 19:39:43 +02:00
Bram Moolenaar
3317d5ebbe
patch 8.0.0552: toupper and tolower don't work properly for Turkish
...
Problem: Toupper and tolower don't work properly for Turkish when 'casemap'
is empty. (Bjorn Linse)
Solution: Check the 'casemap' options when deciding how to upper/lower case.
2017-04-08 19:12:06 +02:00
Bram Moolenaar
d34f9b1155
patch 8.0.0551: the typeahead buffer is reallocated too often
...
Problem: The typeahead buffer is reallocated too often.
Solution: Re-use the existing buffer if possible.
2017-04-08 18:41:13 +02:00
Bram Moolenaar
9585a1655b
patch 8.0.0550: cannot parse some etags format tags file
...
Problem: Some etags format tags file use 0x01, breaking the parsing.
Solution: Use 0x02 for TAG_SEP. (James McCoy, closes #1614 )
2017-04-07 20:30:29 +02:00
Bram Moolenaar
395b6bab33
patch 8.0.0549: no test for the 8g8 command
...
Problem: No test for the 8g8 command.
Solution: Add a test. (Dominique Pelle, closes #1615 )
2017-04-07 20:09:51 +02:00
Bram Moolenaar
d4863aa99e
patch 8.0.0548: saving the redo buffer only works one time
...
Problem: Saving the redo buffer only works one time, resulting in the "."
command not working well for a function call inside another
function call. (Ingo Karkat)
Solution: Save the redo buffer at every user function call. (closes #1619 )
2017-04-07 19:50:12 +02:00
Bram Moolenaar
52604f2454
patch 8.0.0547: extra line break in verbosefile
...
Problem: Extra line break in verbosefile when using ":echomsg". (Ingo
Karkat)
Solution: Don't call msg_start(). (closes #1618 )
2017-04-07 16:17:39 +02:00
Bram Moolenaar
3bab93998d
patch 8.0.0546: swap file exists briefly when opening the command window
...
Problem: Swap file exists briefly when opening the command window.
Solution: Set the noswapfile command modifier before splitting the window.
(James McCoy, closes #1620 )
2017-04-07 15:42:25 +02:00
Bram Moolenaar
15ecbd6f3d
patch 8.0.0545: edit test may fail on some systems
...
Problem: Edit test may fail on some systems.
Solution: If creating a directory with a very long path fails, bail out.
2017-04-07 14:10:48 +02:00
Bram Moolenaar
866c688610
patch 8.0.0544: cppcheck warnings
...
Problem: Cppcheck warnings.
Solution: Use temp variable. Change NUL to NULL. Swap conditions. (Dominique
Pelle)
2017-04-07 14:02:01 +02:00
Bram Moolenaar
ba6ec18297
patch 8.0.0543: test_edit causes older xfce4-terminal to close
...
Problem: Test_edit causes older xfce4-terminal to close. (Dominique Pelle)
Solution: Reduce number of columns to 2000. Try to restore the window
position.
2017-04-04 22:41:10 +02:00
Bram Moolenaar
a1d5fa65bc
patch 8.0.0542: getpos() can return a negative line number
...
Problem: getpos() can return a negative line number. (haya14busa)
Solution: Handle a zero topline and botline. (closes #1613 )
2017-04-03 22:02:55 +02:00
Bram Moolenaar
04000560ca
patch 8.0.0541: compiler warning on MS-Windows
...
Problem: Compiler warning on MS-Windows.
Solution: Add a type cast. (Mike Williams)
2017-04-03 21:35:42 +02:00
Sidney San Martín
6d2e8f8dca
Choose how to resize the Vim view based on the full screen mode.
...
- Native full screen: Use the last externally-set window size. This lets
Split View work without slowly growing or shrinking.
- Non-native full screen: Use the size of the full screen window.
- Not full screen: Use [vimView desiredSize] (unchanged).
This is somewhat nasty, but the different full screen code paths behave
differently enough that there doesn't seem to be one universally-correct
answer. It would be great to simplify them.
2017-04-03 14:31:00 -04:00
Bram Moolenaar
a604429529
patch 8.0.0540: building unit tests fails
...
Problem: Building unit tests fails.
Solution: Move params outside of #ifdef.
2017-04-02 18:19:53 +02:00
Bram Moolenaar
08f88b139d
patch 8.0.0539: startup test fails on Mac
...
Problem: Startup test fails on Mac.
Solution: Use another term name, "unknown" is known. Avoid a 2 second delay.
2017-04-02 17:21:16 +02:00
Bram Moolenaar
85045a73db
patch 8.0.0538: no test for falling back to default term value
...
Problem: No test for falling back to default term value.
Solution: Add a test.
2017-04-02 16:54:09 +02:00
Bram Moolenaar
fa0ad0bb0b
patch 8.0.0537: illegal memory access with :z and large count
...
Problem: Illegal memory access with :z and large count.
Solution: Check for number overflow, using long instead of int. (Dominique
Pelle, closes #1612 )
2017-04-02 15:45:17 +02:00
Bram Moolenaar
69f40be645
patch 8.0.0536: quickfix window not updated when freeing quickfix stack
...
Problem: Quickfix window not updated when freeing quickfix stack.
Solution: Update the quickfix window. (Yegappan Lakshmanan)
2017-04-02 15:15:49 +02:00
Bram Moolenaar
6914c64ee5
patch 8.0.0535: memory leak when exiting from within a user function
...
Problem: Memory leak when exiting from within a user function.
Solution: Clear the function call stack on exit.
2017-04-01 21:21:30 +02:00
Bram Moolenaar
33ccb24cf7
patch 8.0.0534: defaults.vim does not work well with tiny features
...
Problem: Defaults.vim does not work well with tiny features. (crd477)
Solution: When the +eval feature is not available always reset 'compatible'.
2017-04-01 16:59:29 +02:00
Bram Moolenaar
878c263a48
patch 8.0.0533: abbreviation doesn't work after backspacing newline
...
Problem: Abbreviation doesn't work after backspacing newline. (Hkonrk)
Solution: Set the insert start column. (closes #1609 )
2017-04-01 15:15:52 +02:00
Bram Moolenaar
c77d675747
patch 8.0.0532: test with long directory name fails on Mac
...
Problem: Test with long directory name fails on Mac.
Solution: Skip the test on Mac systems.
2017-04-01 14:13:14 +02:00
Bram Moolenaar
9b81079ddd
patch 8.0.0531: test with long directory name fails on non-unix systems
...
Problem: Test with long directory name fails on non-unix systems.
Solution: Skip the test on non-unix systems.
2017-03-31 23:32:53 +02:00
Bram Moolenaar
658a3a2caf
patch 8.0.0530: buffer overflow when 'columns' is very big
...
Problem: Buffer overflow when 'columns' is very big. (Nikolai Pavlov)
Solution: Correctly compute where to truncate. Fix translation.
(closes #1600 )
2017-03-31 22:27:12 +02:00
Kazuki Sakamoto
30f517fd68
Merge pull request #487 from s4y/s4y/fullscreen_flicker
...
Fix artifacts when entering full screen.
2017-03-31 13:24:05 -07:00
Kazuki Sakamoto
5daca9c5c6
Merge pull request #486 from s4y/s4y/resize_flicker
...
Fix flashing during window resizing.
2017-03-31 13:23:12 -07:00
Sidney San Martín
32e1fc9b2d
Fix artifacts when entering full screen.
...
This changes MMFullScreenWindow to release the fade in a completion
handler for the current transaction, so that the app flushes updates
while the screen is black. It also fixes up the fadeReservationTime math
and bumps the slack to a full second so that a slightly slow draw
doesn't cause artifacts (in practice, the fade will be released as soon
as the window draws — the reservation time is just a failsafe).
2017-03-31 15:28:03 -04:00
Sidney San Martín
3fb41ccae8
Fix flashing during window resizing.
...
The root cause of flashing/flickering was that on each resize event,
AppKit called drawRect: on the MMCoreTextView, expecting it to fill an
empty, newly-sized buffer with content. It has nothing to draw, so the
view would show up as black until the BatchDrawMsgID reply arrived from
the backend and triggered another draw. (The MMCoreTextView was
display:ed twice for each resize).
This change does three things:
1. Implements -[MMCoreTextView setFrameSize:] to begin an
NSAnimationContext grouping before calling super, which postpones
display:/drawRect: until the grouping ends, and ends the grouping in
performBatchDrawWithData:.
2. Makes *all* resize messages sent to the backend synchronous, with a
1s timeout. This seems bad, but actually helps avoid spamming the
backend with resize events, since the app only generates resize
events as fast as we handle them (i.e. if we take time to process one
resize, then the next resize event will have the current size of the
window, potentially skipping a bunch in the middle that the backend
never would have had time to handle).
3. Gets rid of some hacks resolved by 1 and 2, like MKVimController
delaying the call to -[MMWindowController presentWindow:].
2017-03-31 14:06:00 -04:00
Bram Moolenaar
13489b9c41
patch 8.0.0529: line in test commented out
...
Problem: Line in test commented out.
Solution: Uncomment the lines for character classes that were failing before
8.0.0519. (Dominique Pelle, closes #1599 )
2017-03-30 22:20:29 +02:00
Bram Moolenaar
ef8eb08978
patch 8.0.0528: highlight wrong text when 'wim' includes "longest"
...
Problem: When 'wildmenu' is set and 'wildmode' has "longest" then the first
file name is highlighted, even though the text shows the longest
match.
Solution: Do not highlight the first match. (LemonBoy, closes #1602 )
2017-03-30 22:04:55 +02:00
Bram Moolenaar
ce5c274201
patch 8.0.0527: leftover file from RISC OS
...
Problem: RISC OS support was removed long ago, but one file is still
included.
Solution: Delete the file. (Thomas Dziedzic, closes #1603 )
2017-03-30 21:51:31 +02:00
Bram Moolenaar
85325f839a
patch 8.0.0526: Coverity complains about possible negative value
...
Problem: Coverity complains about possible negative value.
Solution: Check return value of ftell() not to be negative.
2017-03-30 21:18:45 +02:00
Kazuki Sakamoto
98496b9aa2
MacVim Snapshot 130
...
Binary targets macOS 10.8+
- Vim patch 8.0.0525
- Introduce columnspace (See :help columnspace)
Script interfaces have compatibility with these versions
- Lua 5.2
- Perl 5.16
- Python2 2.7
- Python3 3.6.1
- Ruby 2.0
2017-03-30 08:14:00 -07:00
Kazuki Sakamoto
547ad47ddc
Update tags with gui_mac.txt
2017-03-30 08:13:27 -07:00
Kazuki Sakamoto
ba14141413
Merge remote-tracking branch 'vim/master'
2017-03-29 21:28:31 -07:00
Bram Moolenaar
a33ddbbd04
patch 8.0.0525: completion for user command argument not tested
...
Solution: Completion for user command argument not tested.
Problem: Add a test.
2017-03-29 21:30:04 +02:00
Bram Moolenaar
8da1e6cedf
patch 8.0.0524: folds messed up
...
Problem: Folds are messed up when 'encodin' is "utf-8".
Solution: Also set the fold character when it's not multi-byte.
2017-03-29 20:38:59 +02:00
Bram Moolenaar
bf3d58073f
patch 8.0.0523: dv} deletes part of a multi-byte character.
...
Problem: dv} deletes part of a multi-byte character. (Urtica Dioica)
Solution: Include the whole character.
2017-03-29 19:48:11 +02:00
Bram Moolenaar
3fcfa35f82
patch 8.0.0522: Win32: when 'clipboard' is "unnamed" yyp does not work
...
Problem: MS-Windows: when 'clipboard' is "unnamed" yyp does not work in a
:global command.
Solution: When setting the clipboard was postponed, do not clear the
register.
2017-03-29 19:20:41 +02:00
Bram Moolenaar
99a6e8dd82
patch 8.0.0521: GtkForm handling is outdated
...
Problem: GtkForm handling is outdated.
Solution: Get rid of event filter functions. Get rid of GtkForm.width and
.height. Eliminate gtk_widget_size_request() calls. (Kazunobu
Kuriyama)
2017-03-29 18:07:40 +02:00
Bram Moolenaar
ace95989ed
patch 8.0.0520: using a function pointer while the function is known
...
Problem: Using a function pointer instead of the actual function, which we
know.
Solution: Change mb_ functions to utf_ functions when already checked for
Unicode. (Dominique Pelle, closes #1582 )
2017-03-29 17:30:27 +02:00
Bram Moolenaar
0c078fc7db
patch 8.0.0519: character classes are not well tested
...
Problem: Character classes are not well tested. They can differ between
platforms.
Solution: Add tests. In the documentation make clear which classes depend
on what library function. Only use :cntrl: and :graph: for ASCII.
(Kazunobu Kuriyama, Dominique Pelle, closes #1560 )
Update the documentation.
2017-03-29 15:31:20 +02:00
Bram Moolenaar
c6cd8409c2
patch 8.0.0518: bad fold text when a multi-byte char has a zero byte
...
Problem: Storing a zero byte from a multi-byte character causes fold text
to show up wrong.
Solution: Avoid putting zero in ScreenLines. (Christian Brabandt,
closes #1567 )
2017-03-29 14:40:47 +02:00
Bram Moolenaar
b6fa30ccc3
patch 8.0.0517: there is no way to remove quickfix lists
...
Problem: There is no way to remove quickfix lists (for testing).
Solution: Add the 'f' action to setqflist(). Add tests. (Yegappan
Lakshmanan)
2017-03-29 14:19:25 +02:00
Bram Moolenaar
e0720cbf63
Update runtime files.
2017-03-29 13:48:40 +02:00
Bram Moolenaar
b1e04fca37
patch 8.0.0516: a large count on a normal command causes trouble
...
Problem: A large count on a normal command causes trouble. (Dominique
Pelle)
Solution: Make "opcount" long.
2017-03-29 13:08:35 +02:00
Kazuki Sakamoto
1366a517ab
Merge remote-tracking branch 'vim/master'
2017-03-28 19:34:55 -07:00
Bram Moolenaar
d5d37537d1
patch 8.0.0515: ml_get errors in silent Ex mode
...
Problem: ml_get errors in silent Ex mode. (Dominique Pelle)
Solution: Clear valid flags when setting the cursor. Set the topline when
not in full screen mode.
2017-03-27 23:02:07 +02:00
Kazuki Sakamoto
1a53ab66f8
Merge remote-tracking branch 'vim/master'
2017-03-26 20:44:25 -07:00
Bram Moolenaar
980128c369
patch 8.0.0514: script for creating cmdidxs can be improved
...
Problem: Script for creating cmdidxs can be improved.
Solution: Count skipped lines instead of collecting the lines. Add "const".
(Dominique Pelle, closes #1594 )
2017-03-26 21:46:28 +02:00
Bram Moolenaar
c96272e30e
patch 8.0.0513: getting name of cleared highlight group is wrong
...
Problem: Getting name of cleared highlight group is wrong. (Matt Wozniski)
Solution: Only skip over cleared names for completion. (closes #1592 )
Also fix that a cleared group causes duplicate completions.
2017-03-26 13:50:09 +02:00
Kazuki Sakamoto
46753d91c5
make cmdidxs
2017-03-25 20:46:31 -07:00
Kazuki Sakamoto
d6d17c8f9f
Merge remote-tracking branch 'vim/master'
2017-03-25 12:36:24 -07:00
Bram Moolenaar
1572e30607
patch 8.0.0512: check for available characters takes too long
...
Problem: Check for available characters takes too long.
Solution: Only check did_start_blocking if wtime is negative. (Daisuke
Suzuki, closes #1591 )
2017-03-25 20:16:28 +01:00
Bram Moolenaar
a683ec44c3
patch 8.0.0511: message for skipping client-server tests is unclear
...
Problem: Menuage for skipping client-server tests is unclear.
Solution: Be more specific about what's missing (Hirohito Higashi, Kazunobu
Kuriyama)
2017-03-25 20:14:34 +01:00
Kazuki Sakamoto
fce3a430c3
Merge remote-tracking branch 'vim/master'
2017-03-25 11:17:49 -07:00
Bram Moolenaar
8a0141d4e7
patch 8.0.0510: typo in link to codecov.io results
...
Problem: Typo in link to codecov.io results.
Solution: Remove duplicate https:.
2017-03-25 18:10:31 +01:00
Bram Moolenaar
dd00851e07
patch 8.0.0509: no link to codecov.io results
...
Problem: No link to codecov.io results.
Solution: Add a badge to the readme file.
2017-03-25 18:04:32 +01:00
Bram Moolenaar
d722fd74d8
patch 8.0.0508: Coveralls no longer shows per-file coverage
...
Problem: Coveralls no longer shows per-file coverage.
Solution: Add coverage from codecov.io. (Christian Brabandt)
2017-03-25 17:46:59 +01:00
Bram Moolenaar
a2845b8f5a
patch 8.0.0507: client-server tests fail when $DISPLAY is not set
...
Problem: Client-server tests fail when $DISPLAY is not set.
Solution: Check for E240 before running the test.
2017-03-25 15:20:06 +01:00
Bram Moolenaar
6c0c1e8052
patch 8.0.0506: can't build with ANSI C
...
Problem: Can't build with ANSI C.
Solution: Move declarations to start of block.
2017-03-25 15:07:43 +01:00
Bram Moolenaar
ba6ad17378
patch 8.0.0505: failed window split for :stag not handled
...
Problem: Failed window split for :stag not handled. (Coverity CID 99204)
Solution: If the split fails skip to the end. (bstaletic, closes #1577 )
2017-03-25 15:03:45 +01:00
Bram Moolenaar
e5e0fbcd42
patch 8.0.0504: looking up an Ex command is a bit slow
...
Problem: Looking up an Ex command is a bit slow.
Solution: Instead of just using the first letter, also use the second letter
to skip ahead in the list of commands. Generate the table with a
Perl script. (Dominique Pelle, closes #1589 )
2017-03-25 14:51:01 +01:00
Kazuki Sakamoto
64fbbbb849
Merge remote-tracking branch 'vim/master'
2017-03-24 13:02:25 -07:00
Bram Moolenaar
9d20ce6970
patch 8.0.0503: endless loop in updating folds with 32 bit ints
...
Problem: Endless loop in updating folds with 32 bit ints.
Solution: Subtract from LHS instead of add to the RHS. (Matthew Malcomson)
2017-03-23 21:53:35 +01:00
Kazuki Sakamoto
d057c8b909
Move columnspace under FEAT_GUI_MACVIM
2017-03-23 10:34:48 -07:00
Kazuki Sakamoto
6959bce946
Merge pull request #321 from tkonolige/master
...
Added columnspace
2017-03-23 10:20:08 -07:00
Tristan Konolige
08b0bdeb91
unnessisary FEAT_GUI_W32
2017-03-23 09:35:35 -07:00
Tristan Konolige
95620d6b49
Added columnspace
2017-03-23 09:35:35 -07:00
Kazuki Sakamoto
36d5d3059b
Merge pull request #482 from ichizok/test/travis
...
Workaround: Skip Test_edit_MOUSE
2017-03-23 07:40:30 -07:00
ichizok
a7b867189e
Skip Test_edit_MOUSE
2017-03-23 16:03:56 +09:00
ichizok
6b7c0ef216
Revert "Workaround: Disable testgui"
...
This reverts commit d5c214c258 .
2017-03-23 14:01:58 +09:00
Kazuki Sakamoto
3d96d091a0
MacVim Snapshot 129
...
Binary targets macOS 10.8+
- Vim patch 8.0.0502
- MacVim.app/Contents/bin now has mvim and other scripts for command line
Script interfaces have compatibility with these versions
- Lua 5.2
- Perl 5.16
- Python2 2.7
- Python3 3.6
- Ruby 2.0
2017-03-22 18:55:02 -07:00
Kazuki Sakamoto
2cbb1c7769
Fix .travis.yml to mkdir $BINPATH
2017-03-22 12:38:14 -07:00
Kazuki Sakamoto
1caef11d9e
Fix mvim script, change the path and add vim script
...
Fix #479 , #480
2017-03-22 12:11:58 -07:00
Kazuki Sakamoto
096e1e7157
Merge remote-tracking branch 'vim/master'
2017-03-21 23:33:58 -07:00
Bram Moolenaar
a37ffaa5e0
patch 8.0.0502: Coverity complains about possible NULL pointer
...
Problem: Coverity complains about possible NULL pointer.
Solution: Add an assert(), let's see if this works on all systems.
2017-03-21 21:58:00 +01:00
Kazuki Sakamoto
f29db3b1f4
MacVim Snapshot 128
...
Binary targets macOS 10.8+
- Vim patch 8.0.0501
Script interfaces have compatibility with these versions
- Lua 5.2
- Perl 5.16
- Python2 2.7
- Python3 3.6
- Ruby 2.0
2017-03-21 13:33:07 -07:00
Kazuki Sakamoto
323ed1e83e
Merge remote-tracking branch 'vim/master'
2017-03-21 13:32:42 -07:00
Bram Moolenaar
b2964f2570
patch 8.0.0501: on MS-Windows ":!start" does not work as expected
...
Problem: On MS-Windows ":!start" does not work as expected.
Solution: When creating a process fails try passing the argument to
ShellExecute(). (Katsuya Hino, closes #1570 )
2017-03-21 19:29:26 +01:00
Bram Moolenaar
3c2881dc11
Update runtime files. Add Rust support.
2017-03-21 19:18:29 +01:00
Kazuki Sakamoto
f4dd707d8d
Fix mvim script in the bundle
2017-03-21 10:56:38 -07:00
Kazuki Sakamoto
a39ae490a3
Merge remote-tracking branch 'vim/master'
2017-03-21 10:17:17 -07:00
Bram Moolenaar
4889ad7c6c
patch 8.0.0500: quotestar test is still a bit flaky
...
Problem: Quotestar test is still a bit flaky.
Solution: Add a slower check for v:version.
2017-03-21 18:02:41 +01:00
Bram Moolenaar
c6aafbaf3e
patch 8.0.0499: taglist() does not prioritize tags for a buffer
...
Problem: taglist() does not prioritize tags for a buffer.
Solution: Add an optional buffer argument. (Duncan McDougall, closes #1194 )
2017-03-21 17:09:10 +01:00
Kazuki Sakamoto
d97f02d2bb
Revert "MacVim Snapshot 128"
...
This reverts commit c1a6a9c519 .
2017-03-21 08:21:48 -07:00
Kazuki Sakamoto
c1a6a9c519
MacVim Snapshot 128
...
Binary targets macOS 10.8+
- Vim patch 8.0.0497
Script interfaces have compatibility with these versions
- Lua 5.2
- Perl 5.16
- Python2 2.7
- Python3 3.6
- Ruby 2.0
2017-03-21 07:50:25 -07:00
Bram Moolenaar
e94260f358
patch 8.0.0498: two autocmd tests are skipped on MS-Windows
...
Problem: Two autocmd tests are skipped on MS-Windows.
Solution: Make the test pass on MS-Windows. Write the messages in a file
instead of getting the output of system().
2017-03-21 15:50:12 +01:00
Kazuki Sakamoto
7dc18d3543
Merge remote-tracking branch 'vim/master'
2017-03-21 07:32:43 -07:00
Bram Moolenaar
3ff2f09525
patch 8.0.0497: arabic support is not fully tested
...
Problem: Arabic support is not fully tested.
Solution: Add more tests for the untested functions. Comment out
unreachable code.
2017-03-21 13:22:44 +01:00
Bram Moolenaar
518c9b133b
patch 8.0.0496: insufficient testing for folding
...
Problem: Insufficient testing for folding.
Solution: Add a couple more fold tests. (Dominique Pelle, closes #1579 )
2017-03-21 11:48:39 +01:00
Kazuki Sakamoto
d5c214c258
Workaround: Disable testgui
2017-03-20 20:57:40 -07:00
Kazuki Sakamoto
f6dc2f49c6
Merge remote-tracking branch 'vim/master'
2017-03-20 20:55:23 -07:00
Bram Moolenaar
f5610da7a8
patch 8.0.0495: quotestar test uses timer instead of timeout
...
Problem: The quotestar test uses a timer instead of a timeout, thus it
cannot be rerun like a flaky test.
Solution: Remove the timer and add a timeout. (Kazunobu Kuriyama)
2017-03-20 21:47:16 +01:00
Kazuki Sakamoto
ba3505c326
Fix merge
2017-03-19 21:23:11 -07:00
Kazuki Sakamoto
731d06581d
Merge remote-tracking branch 'vim/master'
2017-03-19 21:14:28 -07:00
Kazuki Sakamoto
bbe62c1be9
Revert 921d522f70
2017-03-19 19:43:24 -07:00
Bram Moolenaar
1662ce104e
patch 8.0.0494: build failure with older compiler on MS-Windows
...
Problem: Build failure with older compiler on MS-Windows.
Solution: Move declaration to start of block.
2017-03-19 21:47:50 +01:00
Bram Moolenaar
15618fa643
patch 8.0.0493: crash with cd command with very long argument
...
Problem: Crash with cd command with very long argument.
Solution: Check for running out of space. (Dominique pending, closes #1576 )
2017-03-19 21:37:13 +01:00
Bram Moolenaar
81b9d0bd5c
patch 8.0.0492: a failing client-server request can make Vim hang
...
Problem: A failing client-server request can make Vim hang.
Solution: Add a timeout argument to functions that wait.
2017-03-19 21:20:53 +01:00
Bram Moolenaar
bfd830d3e2
patch 8.0.0491: quotestar test fails when features are missing
...
Problem: The quotestar test fails when a required feature is missing.
Solution: Prepend "Skipped" to the thrown exception.
2017-03-19 21:01:14 +01:00
Bram Moolenaar
38e3483637
patch 8.0.0490: vertical split makes 'winfixwidth' window smaller
...
Problem: Splitting a 'winfixwidth' window vertically makes it one column
smaller. (Dominique Pelle)
Solution: Add one to the width for the separator.
2017-03-19 20:22:36 +01:00
Bram Moolenaar
7dd4850698
patch 8.0.0489: clipboard and "* register is not tested
...
Problem: Clipboard and "* register is not tested.
Solution: Add a test for Mac and X11. (Kazunobu Kuriyama)
2017-03-19 20:04:22 +01:00
Kazuki Sakamoto
c9228de5bb
Fix test_gui for MacVim
2017-03-19 12:02:57 -07:00
Kazuki Sakamoto
74e0ed7271
Skip +clientserver test on non-GUI
2017-03-19 11:49:52 -07:00
Kazuki Sakamoto
cad8892919
Add mvim script and aliases to the binary release
2017-03-19 11:39:38 -07:00
Kazuki Sakamoto
9a78d37c96
Merge remote-tracking branch 'vim/master'
2017-03-19 11:38:33 -07:00
Bram Moolenaar
b4c5572e74
patch 8.0.0488: running tests leaves an "xxx" file behind
...
Problem: Running tests leaves an "xxx" file behind.
Solution: Delete the 'verbosefile' after resetting the option.
2017-03-19 19:11:35 +01:00
Bram Moolenaar
651e4056ac
patch 8.0.0487: the autocmd test hangs on MS-Windows
...
Problem: The autocmd test hangs on MS-Windows.
Solution: Skip the hanging tests for now.
2017-03-19 18:34:46 +01:00
Bram Moolenaar
8c752bd6c4
patch 8.0.0486: crash and endless loop when closing windows in autocmd
...
Problem: Crash and endless loop when closing windows in a SessionLoadPost
autocommand.
Solution: Check for valid tabpage. (partly neovim #6308 )
2017-03-19 17:09:56 +01:00
Bram Moolenaar
4520d440c5
patch 8.0.0485: not all windows commands are tested
...
Problem: Not all windows commands are tested.
Solution: Add more tests for windows commands. (Dominique Pelle,
closes #1575 ) Run test_autocmd separately, it interferes with
other tests. Fix tests that depended on side effects.
2017-03-19 16:09:46 +01:00
Bram Moolenaar
ee85df3763
patch 8.0.0484: :lhelpgrep does not fail after a successful one
...
Problem: Using :lhelpgrep with an argument that should fail does not
produce an error if the previous :helpgrep worked.
Solution: Use another way to detect that autocommands made the quickfix info
invalid. (Yegappan Lakshmanan)
2017-03-19 14:19:50 +01:00
Kazuki Sakamoto
b8b35c865d
Fix build by using serverRegisterName
2017-03-18 21:44:41 -07:00
Kazuki Sakamoto
9f8c4351e5
Merge remote-tracking branch 'vim/master'
2017-03-18 20:38:37 -07:00
Bram Moolenaar
f79225ed4f
patch 8.0.0483: illegal memory access when using :all
...
Problem: Illegal memory access when using :all. (Dominique Pelle)
Solution: Adjust the cursor position right after setting "curwin".
2017-03-18 23:11:04 +01:00
Bram Moolenaar
2c90d51123
patch 8.0.0482: the setbufvar() function may mess up the window layout
...
Problem: The setbufvar() function may mess up the window layout. (Kay Z.)
Solution: Do not check the window to be valid if it is NULL.
2017-03-18 22:35:30 +01:00
Bram Moolenaar
aab93b12cb
patch 8.0.0481: unnecessary if statement
...
Problem: Unnecessary if statement.
Solution: Remove the statement. Fix "it's" vs "its" mistakes. (Dominique
Pelle, closes #1568 )
2017-03-18 21:37:28 +01:00
Bram Moolenaar
15e737f768
patch 8.0.0480: the remote_peek() test fails on MS-Windows
...
Problem: The remote_peek() test fails on MS-Windows.
Solution: Check for pending messages. Also report errors in the first run if
a flaky test fails twice.
2017-03-18 21:22:47 +01:00
Bram Moolenaar
6caf606b14
patch 8.0.0479: remote_peek() is not tested
...
Problem: remote_peek() is not tested.
Solution: Add a test.
2017-03-18 20:45:05 +01:00
Bram Moolenaar
37175409d7
patch 8.0.0478: tests use assert_true(0) and assert_false(1) to report errors
...
Problem: Tests use assert_true(0) and assert_false(1) to report errors.
Solution: Use assert_report().
2017-03-18 20:18:45 +01:00
Bram Moolenaar
42205551b1
patch 8.0.0477: the client-server test may hang when failing
...
Problem: The client-server test may hang when failing.
Solution: Set a timer. Add assert_report()
2017-03-18 19:42:22 +01:00
Bram Moolenaar
7a43cb9cb5
patch 8.0.0476: missing change to main.c
...
Problem: Missing change to main.c.
Solution: Add new function.
2017-03-18 18:15:16 +01:00
Bram Moolenaar
7416f3e73a
patch 8.0.0475: not enough testing for the client-server feature
...
Problem: Not enough testing for the client-server feature.
Solution: Add more tests. Add the remote_startserver() function. Fix that
a locally evaluated expression uses function-local variables.
2017-03-18 18:10:13 +01:00
Bram Moolenaar
15bf76d40b
patch 8.0.0474: the client-server feature is not tested
...
Problem: The client-server feature is not tested.
Solution: Add a test.
2017-03-18 16:18:37 +01:00
Kazuki Sakamoto
2052c48a8f
Merge remote-tracking branch 'vim/master'
2017-03-17 09:56:50 -07:00
Bram Moolenaar
8c34aa09a4
patch 8.0.0473: no test covering arg_all()
...
Problem: No test covering arg_all().
Solution: Add a test expanding ##.
2017-03-16 22:52:32 +01:00
Bram Moolenaar
c537947100
patch 8.0.0472: when a test fails another test may also fail
...
Problem: When a test fails and test.log is created, Test_edit_CTRL_I
matches it instead of test1.in.
Solution: Match with runtest.vim instead.
2017-03-16 22:38:00 +01:00
Bram Moolenaar
0529b3eb01
patch 8.0.0471: exit callback test sometimes fails
...
Problem: Exit callback test sometimes fails.
Solution: Add it to the list of flaky tests.
2017-03-16 22:30:37 +01:00
Bram Moolenaar
751ba616d1
patch 8.0.0470: not enough testing for help commands
...
Problem: Not enough testing for help commands.
Solution: Add a few more help tests. (Dominique Pelle, closes #1565 )
2017-03-16 22:26:44 +01:00
Bram Moolenaar
0c0d4eca4d
patch 8.0.0469: compiler warnings on MS-Windows
...
Problem: Compiler warnings on MS-Windows.
Solution: Add type casts. (Christian Brabandt)
2017-03-16 22:06:57 +01:00
Bram Moolenaar
f2405ed232
patch 8.0.0468: after aborting an Ex command g< does not work
...
Problem: After aborting an Ex command g< does not work. (Marcin
Szamotulski)
Solution: Postpone clearing scrollback messages to until the command line
has been entered. Also fix that the screen isn't redrawn if after
g< the command line is cancelled.
2017-03-16 19:58:25 +01:00
Bram Moolenaar
57002ad70c
patch 8.0.0467: using g< after :for does not show the right output
...
Problem: Using g< after :for does not show the right output. (Marcin
Szamotulski)
Solution: Call msg_sb_eol() in :echomsg.
2017-03-16 19:04:19 +01:00
Bram Moolenaar
036986f150
Update runtime files.
2017-03-16 17:41:02 +01:00
Bram Moolenaar
8820b48654
patch 8.0.0466: still macros that should be all-caps
...
Problem: There are still a few macros that should be all-caps.
Solution: Make a few more macros all-caps.
2017-03-16 17:23:31 +01:00
Bram Moolenaar
40ebc0afda
patch 8.0.0465: off-by-one error in using :move with folding
...
Problem: Off-by-one error in using :move with folding.
Solution: Correct off-by-one mistakes and add more tests. (Matthew
Malcomson)
2017-03-16 15:59:14 +01:00
Kazuki Sakamoto
cb4aa03fbb
Merge remote-tracking branch 'vim/master'
2017-03-16 07:19:57 -07:00
Bram Moolenaar
f3757f0c87
patch 8.0.0464: can't find executable name on Solaris and FreeBSD
...
Problem: Can't find executable name on Solaris and FreeBSD.
Solution: Check for "/proc/self/path/a.out". (Danek Duvall) And for
"/proc/curproc/file".
2017-03-16 15:13:45 +01:00
Bram Moolenaar
0f39a82b07
patch 8.0.0463: side effects from resetting 'compatible' in defaults.vim
...
Problem: Resetting 'compatible' in defaults.vim has unexpected side
effects. (David Fishburn)
Solution: Only reset 'compatible' if it was set.
2017-03-16 14:19:36 +01:00
Bram Moolenaar
b27523ff7a
patch 8.0.0462: failure of an MS-Windows test may go unnoticed
...
Problem: If an MS-Windows tests succeeds at first and then fails in a way
it does not produce a test.out file it looks like the test
succeeded.
Solution: Delete the previous output file.
2017-03-16 14:04:51 +01:00
Bram Moolenaar
4a5a8dd6e5
patch 8.0.0461: test 45 hangs on MS-Windows
...
Problem: Test 45 hangs on MS-Windows.
Solution: Reset 'shiftwidth'. Also remove redundent function.
2017-03-16 13:54:10 +01:00
Bram Moolenaar
d8492792f2
patch 8.0.0460: can't build on HPUX
...
Problem: Can't build on HPUX.
Solution: Fix argument names in vim_stat(). (John Marriott)
2017-03-16 12:22:38 +01:00
Bram Moolenaar
fe70c51983
patch 8.0.0459: old fix for :move and folding no longer needed
...
Problem: Old fix for :move messing up folding no longer needed, now that we
have a proper solution.
Solution: Revert patch 7.4.700. (Christian Brabandt)
2017-03-15 20:45:53 +01:00
Bram Moolenaar
42f45b850d
patch 8.0.0458: potential crash if adding list or dict to dict fails
...
Problem: Potential crash if adding list or dict to dict fails.
Solution: Make sure the reference count is correct. (Nikolai Pavlov, closes
#1555 )
2017-03-14 22:17:14 +01:00
Bram Moolenaar
88d298aed8
patch 8.0.0457: using :move messes up manual folds
...
Problem: Using :move messes up manual folds.
Solution: Split adjusting marks and folds. Add foldMoveRange(). (neovim
patch #6221 )
2017-03-14 21:53:58 +01:00
Kazuki Sakamoto
cc99aa38bd
Sync vim_iswhite with vim/master
2017-03-13 17:16:43 -07:00
Kazuki Sakamoto
4947f6012f
Merge remote-tracking branch 'vim/master'
2017-03-13 17:13:20 -07:00
Bram Moolenaar
84be8b6660
patch 8.0.0456: typo in MinGW test makefile
...
Problem: Typo in MinGW test makefile.
Solution: Change an underscore to a dot. (Michael Soyka)
2017-03-13 22:41:42 +01:00
Bram Moolenaar
26a280c47a
Fix duplication of patch.
2017-03-13 21:50:55 +01:00
Bram Moolenaar
ffea8c99d9
patch 8.0.0455: the mode test may hang
...
Problem: The mode test may hang in Test_mode(). (Michael Soyka)
Solution: Set 'complete' to only search the current buffer (as suggested by
Michael)
2017-03-13 20:37:15 +01:00
Kazuki Sakamoto
d47b18ead0
Merge remote-tracking branch 'vim/master'
2017-03-12 15:21:38 -07:00
Bram Moolenaar
977d037336
patch 8.0.0454: compiler warnings for "always true" comparison
...
Problem: Compiler warnings for comparing unsigned char with 256 always
being true. (Manuel Ortega)
Solution: Add type cast.
2017-03-12 21:31:58 +01:00
Bram Moolenaar
025a6b708a
patch 8.0.0453: adding fold marker creates new comment
...
Problem: Adding fold marker creates new comment.
Solution: Use an existing comment if possible. (LemonBoy, closes #1549 )
2017-03-12 20:37:21 +01:00
Bram Moolenaar
1c46544412
patch 8.0.0452: some macros are in lower case
...
Problem: Some macros are in lower case.
Solution: Make a few more macros upper case.
2017-03-12 20:10:05 +01:00
Bram Moolenaar
91acfffc1e
patch 8.0.0451: some macros are in lower case
...
Problem: Some macros are in lower case.
Solution: Make a few more macros upper case. Avoid lower case macros use an
argument twice.
2017-03-12 19:22:36 +01:00
Bram Moolenaar
47ffb905f3
patch 8.0.0450: v:progpath is not reliably set
...
Problem: v:progpath is not reliably set.
Solution: Read /proc/self/exe if possible. (idea by Michal Grochmal)
Also fixes missing #if.
2017-03-12 18:38:02 +01:00
Bram Moolenaar
abb4d5f73f
patch 8.0.0449: part of fold patch accidentally included
...
Problem: Part of fold patch accidentally included.
Solution: Revert that part of the patch.
2017-03-12 18:32:32 +01:00
Bram Moolenaar
b5aedf3e22
patch 8.0.0448: some macros are in lower case
...
Problem: Some macros are in lower case, which can be confusing.
Solution: Make a few lower case macros upper case.
2017-03-12 18:23:53 +01:00
Bram Moolenaar
8774845ce1
patch 8.0.0447: getting font name does not work on X11
...
Problem: Getting font name does not work on X11.
Solution: Implement gui_mch_get_fontname() for X11. Add more GUI tests.
(Kazunobu Kuriyama)
2017-03-12 17:10:33 +01:00
Bram Moolenaar
454709baff
patch 8.0.0446: the ";" command does not work after some characters
...
Problem: The ";" command does not work after characters with a lower byte
that is NUL.
Solution: Properly check for not having a previous character. (Hirohito
Higashi)
2017-03-12 16:37:14 +01:00
Kazuki Sakamoto
824b7fa3c3
Merge remote-tracking branch 'vim/master'
2017-03-11 20:29:01 -08:00
Bram Moolenaar
2fcf6688bc
patch 8.0.0445: getpgid is not supported on all systems
...
Problem: Getpgid is not supported on all systems.
Solution: Add a configure check.
2017-03-11 20:03:42 +01:00
Bram Moolenaar
a95ab32120
patch 8.0.0444: diffpatch fails when the file name has a quote
...
Problem: Diffpatch fails when the file name has a quote.
Solution: Escape the name properly. (zetzei)
2017-03-11 19:21:53 +01:00
Bram Moolenaar
38a3d6c960
patch 8.0.0443: terminal width is set to 80 in test3
...
Problem: Terminal width is set to 80 in test3.
Solution: Instead of setting 'columns' set 'wrapmargin' depending on
'columns.
2017-03-11 18:42:56 +01:00
Kazuki Sakamoto
9d23d58d4c
Fix link flags for Ruby
...
Fix #468
configure script had an issue that linker always links system Ruby framework.
$ configure --enable-rubyinterp=yes --with-ruby-command=/usr/bin/ruby
$ grep RUBY_LIBS src/auto/config.mk
RUBY_LIBS= -framework Ruby
$ configure --enable-rubyinterp=yes --with-ruby-command=/usr/local/bin/ruby
$ grep RUBY_LIBS src/auto/config.mk
RUBY_LIBS= -framework Ruby
After this commit, configure will pick right library settings from Ruby
$ configure --enable-rubyinterp=yes --with-ruby-command=/usr/bin/ruby
$ grep RUBY_LIBS src/auto/config.mk
RUBY_LIBS= -framework Ruby
$ configure --enable-rubyinterp=yes --with-ruby-command=/usr/local/bin/ruby
$ grep RUBY_LIBS src/auto/config.mk
RUBY_LIBS= -lruby.2.4.0 -lpthread -ldl -lobjc
2017-03-10 08:26:01 -08:00
Kazuki Sakamoto
32697534ba
Revert .travis.yml
2017-03-09 19:11:21 -08:00
Kazuki Sakamoto
2e28c5232d
Merge remote-tracking branch 'vim/master'
2017-03-09 18:07:49 -08:00
Bram Moolenaar
1ef73e33c9
patch 8.0.0442: patch shell command not well escaped
...
Problem: Patch shell command uses double quotes around the argument, which
allows for $HOME to be expanded. (Etienne)
Solution: Use single quotes on Unix. (closes #1543 )
2017-03-09 19:21:30 +01:00
Bram Moolenaar
ad2cfb54b7
patch 8.0.0441: dead code in #ifdef
...
Problem: Dead code in #ifdef.
Solution: Remove the #ifdef and #else part.
2017-03-09 18:59:14 +01:00
Bram Moolenaar
eb992cb90f
patch 8.0.0440: not enough test coverage in Insert mode
...
Problem: Not enough test coverage in Insert mode.
Solution: Add lots of tests. Add test_override(). (Christian Brabandt,
closes #1521 )
2017-03-09 18:20:16 +01:00
Bram Moolenaar
69a92fb5ae
patch 8.0.0439: ":%argdel" gives an error for an empty arglist
...
Problem: Using ":%argdel" while the argument list is already empty gives an
error. (Pavol Juhas)
Solution: Don't give an error. (closes #1546 )
2017-03-09 15:58:30 +01:00
Bram Moolenaar
056f700031
patch 8.0.0438: the fnamemodify test may cause later tests to fail
...
Problem: The fnamemodify test changes 'shell' in a way later tests may not
be able to use system().
Solution: Save and restore 'shell'.
2017-03-09 14:00:27 +01:00
Bram Moolenaar
644df41c44
patch 8.0.0437: packadd test does not fully work
...
Problem: The packadd test does not create the symlink correctly and does
not test the right thing.
Solution: Create the directory and symlink correctly.
2017-03-09 13:58:02 +01:00
Bram Moolenaar
ee1dd1cdc1
patch 8.0.0436: running the options test sometimes resizes the terminal
...
Problem: Running the options test sometimes resizes the terminal.
Solution: Clear out t_WS.
2017-03-09 13:55:01 +01:00
Bram Moolenaar
41042f3cfd
patch 8.0.0435: some functions are not tested
...
Problem: Some functions are not tested.
Solution: Add more tests for functions. (Dominique Pelle, closes #1541 )
2017-03-09 12:09:32 +01:00
Bram Moolenaar
5f69fee26e
patch 8.0.0434: clang version not correctly detected
...
Problem: Clang version not correctly detected.
Solution: Adjust the configure script. (Kazunobu Kuriyama)
2017-03-09 11:58:40 +01:00
Kazuki Sakamoto
2defaf522a
Merge remote-tracking branch 'vim/master'
2017-03-08 18:45:20 -08:00
Bram Moolenaar
c3c766ea8c
patch 8.0.0433: beeps when running tests
...
Problem: Quite a few beeps when running tests.
Solution: Set 'belloff' for these tests. (Christian Brabandt)
2017-03-08 22:55:19 +01:00
Bram Moolenaar
12d1dc9155
patch 8.0.0432: "make shadow" creates an invalid link
...
Problem: "make shadow" creates an invalid link.
Solution: Don't link "*.vim". (Kazunobu Kuriyama)
2017-03-08 22:39:50 +01:00
Bram Moolenaar
7720ba8599
patch 8.0.0431: 'cinoptions' cannot set indent for extern block
...
Problem: 'cinoptions' cannot set indent for extern block.
Solution: Add the "E" flag in 'cinoptions'. (Hirohito Higashi)
2017-03-08 22:19:26 +01:00
Bram Moolenaar
bb962262eb
patch 8.0.0430: options test fails or hangs on MS-Windows
...
Problem: Options test fails or hangs on MS-Windows.
Solution: Run it separately instead of part of test_alot. Use "-S" instead
of "-u" to run the script. Fix failures.
2017-03-08 00:01:35 +01:00
Bram Moolenaar
e8512d7fed
patch 8.0.0429: options test does not always test everything
...
Problem: Options test does not always test everything.
Solution: Fix dependency for opt_test.vim. Give a message when opt_test.vim
was not found.
2017-03-07 22:33:32 +01:00
Bram Moolenaar
65408f7dfb
patch 8.0.0428: git and hg see new files after running tests
...
Problem: Git and hg see new files after running tests. (Manuel Ortega)
Solution: Add the generated file to .hgignore (or .gitignore). Delete the
resulting verbose file. (Christian Brabandt) Improve dependency
on opt_test.vim. Reset the 'more' option.
2017-03-07 21:31:27 +01:00
Kazuki Sakamoto
a06e110471
Merge remote-tracking branch 'vim/master'
2017-03-06 21:40:46 -08:00
Kazuki Sakamoto
7edaa10317
Merge pull request #466 from mortonfox/menufix
...
Fix for menu not found: Tools.Spelling.To Next error
2017-03-06 14:43:01 -08:00
Morton Fox
677802357a
Fix for menu not found: Tools.Spelling.To Next error
2017-03-06 17:15:14 -05:00
Bram Moolenaar
ad4187e6fc
patch 8.0.0427: 'makeencoding' missing from the options window
...
Problem: 'makeencoding' missing from the options window.
Solution: Add the entry.
2017-03-06 21:45:20 +01:00
Bram Moolenaar
300af82eca
patch 8.0.0426: insufficient testing for statusline
...
Problem: Insufficient testing for statusline.
Solution: Add several tests. (Dominique Pelle, closes #1534 )
2017-03-06 20:28:10 +01:00
Kazuki Sakamoto
fbe364d061
Merge remote-tracking branch 'vim/master'
2017-03-05 21:29:31 -08:00
Bram Moolenaar
a6c07603ca
patch 8.0.0425: build errors when building without folding
...
Problem: Build errors when building without folding.
Solution: Add #ifdefs. (John Marriott)
2017-03-05 21:18:27 +01:00
Bram Moolenaar
f7e894dfb6
patch 8.0.0424: compiler warnings on MS-Windows
...
Problem: Compiler warnings on MS-Windows. (Ajit Thakkar)
Solution: Add type casts.
2017-03-05 19:49:13 +01:00
Bram Moolenaar
6b64394f34
patch 8.0.0423: changing 'cinoptions' does not always work
...
Problem: The effect of adding "#" to 'cinoptions' is not always removed.
(David Briscoe)
Solution: Reset b_ind_hash_comment. (Christian Brabandt, closes #1475 )
2017-03-05 19:44:06 +01:00
Bram Moolenaar
f411a3c5af
patch 8.0.0422: Python test fails with Python 3.6
...
Problem: Python test fails with Python 3.6.
Solution: Convert new exception messages to old ones. (closes #1359 )
2017-03-05 19:00:34 +01:00
Bram Moolenaar
f58a8475e1
patch 8.0.0421: diff mode wrong when adding line at end of buffer
...
Problem: Diff mode is displayed wrong when adding a line at the end of a
buffer.
Solution: Adjust marks in diff mode. (James McCoy, closes #1329 )
2017-03-05 18:03:04 +01:00
Bram Moolenaar
2c7292dc5b
patch 8.0.0420: text garbled when the system encoding differs from 'encoding'
...
Problem: When running :make the output may be in the system encoding,
different from 'encoding'.
Solution: Add the 'makeencoding' option. (Ken Takata)
2017-03-05 17:43:31 +01:00
Bram Moolenaar
214641f77d
Runtime file updates.
2017-03-05 17:04:09 +01:00
Bram Moolenaar
066029ef92
patch 8.0.0419: test for v:progpath fails on MS-Windows
...
Problem: Test for v:progpath fails on MS-Windows.
Solution: Expand to full path. Also add ".exe" when the path is an absolute
path.
2017-03-05 15:19:32 +01:00
Bram Moolenaar
a382868115
patch 8.0.0418: ASAN logs are disabled
...
Problem: ASAN logs are disabled and don't cause a failure.
Solution: Enable ASAN logs and fail if not empty. (James McCoy,
closes #1425 )
2017-03-05 14:56:07 +01:00
Bram Moolenaar
0fbff646d5
patch 8.0.0417: test for the clipboard fails sometimes
...
Problem: Test for the clipboard fails sometimes.
Solution: Add it to the flaky tests.
2017-03-05 14:30:52 +01:00
Bram Moolenaar
4366319697
patch 8.0.0416: setting v:progpath is not quite right
...
Problem: Setting v:progpath is not quite right.
Solution: On MS-Windows add the extension. On Unix use the full path for a
relative directory. (partly by James McCoy, closes #1531 )
2017-03-05 14:29:12 +01:00
Bram Moolenaar
0f9ea22c11
patch 8.0.0415: balloon test fails on MS-Windows
...
Problem: Balloon test fails on MS-Windows.
Solution: Test with 0x7fffffff instead of 0xffffffff.
2017-03-05 13:48:13 +01:00
Bram Moolenaar
d5841f28d4
patch 8.0.0414: balloon eval is not tested
...
Problem: Balloon eval is not tested.
Solution: Add a few balloon tests. (Kazunobu Kuriyama)
2017-03-05 13:27:25 +01:00
Bram Moolenaar
a1c8ecfda9
patch 8.0.0413: menu test fails on MS-Windows using gvim
...
Problem: Menu test fails on MS-Windows using gvim.
Solution: First delete the English menus.
2017-03-04 21:41:05 +01:00
Bram Moolenaar
5558d19432
patch 8.0.0412: menu test fails on MS-Windows
...
Problem: Menu test fails on MS-Windows.
Solution: Use a menu entry with only ASCII characters.
2017-03-04 21:02:22 +01:00
Bram Moolenaar
11dd8c1201
patch 8.0.0411: menu translations don't match when case is changed.
...
Problem: We can't change the case in menu entries, it breaks translations.
Solution: Ignore case when looking up a menu translation.
2017-03-04 20:41:34 +01:00
Bram Moolenaar
a54d2fc0d3
patch 8.0.0410: newer gettext/iconv library has extra dll file
...
Problem: Newer gettext/iconv library has extra dll file.
Solution: Add the file to the Makefile and nsis script. (Christian Brabandt)
2017-03-04 20:09:34 +01:00
Bram Moolenaar
595297d6d5
patch 8.0.0409: set_progpath is defined but not always used
...
Problem: set_progpath is defined but not always used
Solution: Adjust #ifdef.
2017-03-04 19:11:12 +01:00
Bram Moolenaar
eadbc2b461
patch 8.0.0408: updating folds does not always work properly
...
Problem: Updating folds does not work properly when inserting a file and a
few other situations.
Solution: Adjust the way folds are updated. (Matthew Malcomson)
2017-03-04 18:42:39 +01:00
Bram Moolenaar
3f3897e41f
patch 8.0.0407: filtering folds with marker method not tested
...
Problem: Filtering folds with marker method not tested.
Solution: Also set 'foldmethod' to "marker".
2017-03-04 15:28:53 +01:00
Bram Moolenaar
7f73b54631
patch 8.0.0406: arabic shaping code is verbose
...
Problem: The arabic shaping code is verbose.
Solution: Shorten the code without changing the functionality.
2017-03-04 14:50:19 +01:00
Bram Moolenaar
08cab96087
patch 8.0.0405: v:progpath may become invalid after :cd
...
Problem: v:progpath may become invalid after ":cd".
Solution: Turn v:progpath into a full path if needed.
2017-03-04 14:37:18 +01:00
Bram Moolenaar
391b1dd040
patch 8.0.0404: not enough testing for quickfix
...
Problem: Not enough testing for quickfix.
Solution: Add some more tests. (Yegappan Lakshmanan)
2017-03-04 13:47:11 +01:00
Bram Moolenaar
24d7636e98
patch 8.0.0403: GUI tests may fail
...
Problem: GUI tests may fail.
Solution: Ignore the E285 error better. (Kazunobu Kuriyama)
2017-03-04 13:32:10 +01:00
Kazuki Sakamoto
bc5505e503
Merge remote-tracking branch 'vim/master'
2017-03-03 18:31:37 -08:00
Bram Moolenaar
cf5fdf7d16
patch 8.0.0402: :map completion does not have <special>
...
Problem: :map completion does not have <special>. (Dominique Pelle)
Solution: Recognize <special> in completion. Add a test.
2017-03-02 23:05:51 +01:00
Bram Moolenaar
a0107bdf87
patch 8.0.0401: test fails with missing balloon feature
...
Problem: Test fails with missing balloon feature.
Solution: Add check for balloon feature.
2017-03-02 22:48:01 +01:00
Bram Moolenaar
358f6b0a36
patch 8.0.0400: some tests have a one second delay
...
Problem: Some tests have a one second delay.
Solution: Add --not-a-term in RunVim().
2017-03-02 22:43:01 +01:00
Bram Moolenaar
caf6434ac9
patch 8.0.0399: crash when using balloon_show() when not supported
...
Problem: Crash when using balloon_show() when not supported. (Hirohito
Higashi)
Solution: Check for balloonEval not to be NULL. (Ken Takata)
2017-03-02 22:11:33 +01:00
Bram Moolenaar
66727e1607
patch 8.0.0398: illegal memory access with "t"
...
Problem: Illegal memory access with "t".
Solution: Use strncmp() instead of memcmp(). (Dominique Pelle, closes #1528 )
2017-03-01 22:17:05 +01:00
Bram Moolenaar
5a66dfb25e
patch 8.0.0397: can't build with +viminfo but without +eval
...
Problem: Cannot build with the viminfo feature but without the eval
feature.
Solution: Adjust #ifdef. (John Marriott)
2017-03-01 20:40:39 +01:00
Bram Moolenaar
59716a27bd
patch 8.0.0396: 'balloonexpr' only works synchronously
...
Problem: 'balloonexpr' only works synchronously.
Solution: Add balloon_show(). (Jusufadis Bakamovic, closes #1449 )
2017-03-01 20:32:44 +01:00
Bram Moolenaar
f8ab1b14fd
patch 8.0.0395: testing the + register fails with Motif
...
Problem: Testing the + register fails with Motif.
Solution: Also ignore the "failed to create input context" error in the
second gvim. Don't use msg() when it would result in a dialog.
2017-03-01 18:30:34 +01:00
Bram Moolenaar
abc39ab642
patch 8.0.0394: tabs are not aligned when scrolling horizontally
...
Problem: Tabs are not aligned when scrolling horizontally and a Tab doesn't
fit. (Axel Bender)
Solution: Handle a Tab as a not fitting character. (Christian Brabandt)
Also fix that ":redraw" does not scroll horizontally to show the
cursor. And fix the test that depended on the old behavior.
2017-03-01 18:04:05 +01:00
Kazuki Sakamoto
b521a36a10
Merge remote-tracking branch 'vim/master'
2017-03-01 07:54:32 -08:00
Bram Moolenaar
98e83b2956
patch 8.0.0393: order of duplicate tags is not preserved
...
Problem: When the same tag appears more than once, the order is
unpredictable. (Charles Campbell)
Solution: Besides using a dict for finding duplicates, use a grow array for
keeping the tags in sequence.
2017-03-01 15:45:05 +01:00
Bram Moolenaar
e0c31f6a30
patch 8.0.0392: GUI test fails with Athena and Motif
...
Problem: GUI test fails with Athena and Motif.
Solution: Add test_ignore_error(). Use it to ignore the "failed to create
input context" error.
2017-03-01 15:07:05 +01:00
Bram Moolenaar
5f53dd3f74
patch 8.0.0391: arabic support is verbose and not well tested
...
Problem: Arabic support is verbose and not well tested.
Solution: Simplify the code. Add more tests.
2017-03-01 14:02:30 +01:00
Bram Moolenaar
cb03642399
patch 8.0.0390: when the window scrolls the popup menu may be garbled
...
Problem: When the window scrolls horizontally when the popup menu is
displayed part of it may not be cleared. (Neovim issue #6184 )
Solution: Remove the menu when the windows scrolled. (closes #1524 )
2017-03-01 12:29:10 +01:00
Bram Moolenaar
5342f00ff9
patch 8.0.0389: test for arabic does not check what is displayed
...
Problem: Test for arabic does not check what is displayed.
Solution: Improve what is asserted. (Dominique Pelle, closes #1523 )
Add a first shaping test.
2017-02-28 22:51:12 +01:00
Bram Moolenaar
1159b168dd
patch 8.0.0388: filtering lines changes folds
...
Problem: filtering lines through "cat", without changing the line count,
changes manual folds.
Solution: Change how marks and folds are adjusted. (Matthew Malcomson, from
neovim #6194 .
2017-02-28 21:53:56 +01:00
Bram Moolenaar
b113c3a618
patch 8.0.0387: compiler warnings
...
Problem: compiler warnings
Solution: Add type casts. (Christian Brabandt)
2017-02-28 21:26:17 +01:00
Kazuki Sakamoto
20d21e2c09
Workaround test fix
2017-02-27 14:08:07 -08:00
Kazuki Sakamoto
1f4524833d
Merge remote-tracking branch 'vim/master'
2017-02-27 14:07:00 -08:00
Bram Moolenaar
5b3af14b34
patch 8.0.0386: tiny build has a problem with generating the options test
...
Problem: Tiny build has a problem with generating the options test.
Solution: Change the "if" to skip over statements.
2017-02-27 22:59:40 +01:00
Bram Moolenaar
b5e8377364
patch 8.0.0385: no tests for arabic
...
Problem: No tests for arabic.
Solution: Add a first test for arabic. (Dominique Pelle, closes #1518 )
2017-02-27 21:48:26 +01:00
Bram Moolenaar
d512e17ea4
patch 8.0.0384: timer test failed for no apparent reason
...
Problem: Timer test failed for no apparent reason.
Solution: Mark the test as flaky.
2017-02-27 21:35:53 +01:00
Bram Moolenaar
10a8da0594
patch 8.0.0383: misplaced #ifdef
...
Problem: Misplaced #ifdef. (Christ van Willigen)
Solution: Split assignment.
2017-02-27 21:11:35 +01:00
Kazuki Sakamoto
8dd41d7409
Fix test
2017-02-27 11:53:55 -08:00
Bram Moolenaar
88e7688eda
patch 8.0.0382: warning in tiny build for unused variable
...
Problem: Warning in tiny build for unused variable. (Tony Mechelynck)
Solution: Add #ifdefs.
2017-02-27 20:33:46 +01:00
Kazuki Sakamoto
d00667fcd3
Revert simplifying ifdefs and fix python options
2017-02-27 08:24:26 -08:00
Kazuki Sakamoto
ccf5c05d6a
Fixed merge and simplified ifdefs
2017-02-26 21:59:32 -08:00
Kazuki Sakamoto
d489631fa9
Merge remote-tracking branch 'vim/master'
2017-02-26 21:40:31 -08:00
Bram Moolenaar
aeb661e1f4
patch 8.0.0381: diff mode is not sufficiently tested
...
Problem: Diff mode is not sufficiently tested.
Solution: Add more diff mode tests. (Dominique Pelle, closes #1515 )
2017-02-26 19:59:59 +01:00
Bram Moolenaar
38632faf63
patch 8.0.0380: with 'linebreak' double wide char wraps badly
...
Problem: With 'linebreak' set and 'breakat' includes ">" a double-wide
character results in "<<" displayed.
Solution: Check for the character not to be replaced. (Ozaki Kiichi,
closes #1456 )
2017-02-26 19:40:59 +01:00
Bram Moolenaar
74a47162a0
patch 8.0.0379: CTRL-Z and mouse click use CTRL-O unnecessary
...
Problem: CTRL-Z and mouse click use CTRL-O unnecessary.
Solution: Remove stuffing CTRL-O. (James McCoy, closes #1453 )
2017-02-26 19:09:05 +01:00
Bram Moolenaar
0c8485f0e4
patch 8.0.0378: possible overflow when reading corrupted undo file
...
Problem: Another possible overflow when reading corrupted undo file.
Solution: Check if allocated size is not too big. (King)
2017-02-26 18:17:10 +01:00
Bram Moolenaar
3eb1637b1b
patch 8.0.0377: possible overflow when reading corrupted undo file
...
Problem: Possible overflow when reading corrupted undo file.
Solution: Check if allocated size is not too big. (King)
2017-02-26 18:11:36 +01:00
Bram Moolenaar
6d3c8586fc
patch 8.0.0376: size computations in spell file reading are off
...
Problem: Size computations in spell file reading are not exactly right.
Solution: Make "len" a "long" and check with LONG_MAX.
2017-02-26 15:27:23 +01:00
Bram Moolenaar
5074a0e033
patch 8.0.0375: the "+ register is not tested
...
Problem: The "+ register is not tested.
Solution: Add a test using another Vim instance to change the "+ register.
(Kazuki Kuriyama)
2017-02-26 15:08:21 +01:00
Bram Moolenaar
ba748c8a84
patch 8.0.0374: invalid memory access when using :sc in Ex mode
...
Problem: Invalid memory access when using :sc in Ex mode. (Dominique Pelle)
Solution: Avoid the column being negative. Also fix a hang in Ex mode.
2017-02-26 14:00:07 +01:00
Bram Moolenaar
376407674f
patch 8.0.0373: build fails without +folding
...
Problem: Build fails without +folding.
Solution: Move misplaced #ifdef.
2017-02-25 22:37:15 +01:00
Bram Moolenaar
a713ff819d
patch 8.0.0372: more options are not always defined
...
Problem: More options are not always defined.
Solution: Consistently define all possible options.
2017-02-25 22:18:43 +01:00
Bram Moolenaar
14c2e18b63
patch 8.0.0371: leaking memory when setting v:completed_item
...
Problem: Leaking memory when setting v:completed_item.
Solution: Or the flags instead of setting them.
2017-02-25 21:39:17 +01:00
Bram Moolenaar
a12e40351d
patch 8.0.0370: invalid memory access when setting wildchar empty
...
Problem: Invalid memory access when setting wildchar empty.
Solution: Avoid going over the end of the option value. (Dominique Pelle,
closes #1509 ) Make option test check all number options with
empty value.
2017-02-25 21:37:57 +01:00
Bram Moolenaar
c43a8b8de0
patch 8.0.0369: a few options are not defined, depending on features
...
Problem: The 'balloondelay', 'ballooneval' and 'balloonexpr' options are
not defined without the +balloon_eval feature. Testing that an
option value fails does not work for unsupported options.
Solution: Make the options defined but not supported. Don't test if
setting unsupported options fails.
2017-02-25 21:12:29 +01:00
Bram Moolenaar
2f5463df01
patch 8.0.0368: not all options are tested with a range of values
...
Problem: Not all options are tested with a range of values.
Solution: Generate a test script from the source code.
2017-02-25 20:40:46 +01:00
Bram Moolenaar
f7506cade4
patch 8.0.0367: types in include files may be inconsistent
...
Problem: If configure defines _LARGE_FILES some include files are included
before it is defined.
Solution: Include vim.h first. (Sam Thursfield, closes #1508 )
2017-02-25 16:01:49 +01:00
Bram Moolenaar
92769c3928
patch 8.0.0366: build fails with tiny features
...
Problem: Build fails with tiny features.
Solution: Add #ifdef.
2017-02-25 15:41:37 +01:00
Bram Moolenaar
95c526e1f6
patch 8.0.0365: might free a dict item that wasn't allocated
...
Problem: Might free a dict item that wasn't allocated.
Solution: Call dictitem_free(). (Nikolai Pavlov) Use this for
b:changedtick.
2017-02-25 14:59:34 +01:00
Bram Moolenaar
d3f78dc9eb
patch 8.0.0364: ]s does not move cursor with two spell errors in one line
...
Problem: ]s does not move cursor with two spell errors in one line. (Manuel
Ortega)
Solution: Don't stop search immediately when wrapped, search the line first.
(Ken Takata) Add a test.
2017-02-25 14:21:10 +01:00
Kazuki Sakamoto
69744f5200
Merge remote-tracking branch 'vim/master'
2017-02-23 20:50:12 -08:00
Bram Moolenaar
3834e3d039
patch 8.0.0363: Travis is too slow to keep up with patches
...
Problem: Travis is too slow to keep up with patches.
Solution: Increase git depth to 20
2017-02-23 20:20:53 +01:00
Bram Moolenaar
10c6029e28
patch 8.0.0362: tests fail on MS-Windows
...
Problem: Tests fail on MS-Windows.
Solution: Use $*.vim instead of $<.
2017-02-23 20:17:13 +01:00
Bram Moolenaar
8be2fbb670
patch 8.0.0361: GUI initialisation is not sufficiently tested
...
Problem: GUI initialisation is not sufficiently tested.
Solution: Add the gui_init test. (Kazuki Kuriyama)
2017-02-23 19:32:47 +01:00
Bram Moolenaar
b544f3c81f
patch 8.0.0360: sometimes VimL is used instead of "Vim script"
...
Problem: Sometimes VimL is used, which is confusing.
Solution: Consistently use "Vim script". (Hirohito Higashi)
2017-02-23 19:03:28 +01:00
Bram Moolenaar
dc9a081712
patch 8.0.0359: 'number' and 'relativenumber' are not properly tested
...
Problem: 'number' and 'relativenumber' are not properly tested.
Solution: Add tests, change old style to new style tests. (Ozaki Kiichi,
closes #1447 )
2017-02-23 18:46:50 +01:00
Bram Moolenaar
60629d6425
patch 8.0.0358: invalid memory access in C-indent code
...
Problem: Invalid memory access in C-indent code.
Solution: Don't go over end of empty line. (Dominique Pelle, closes #1492 )
2017-02-23 18:08:56 +01:00
Bram Moolenaar
24922ec233
patch 8.0.0357: crash when setting 'guicursor' to weird value
...
Problem: Crash when setting 'guicursor' to weird value.
Solution: Avoid negative size. (Dominique Pelle, closes #1465 )
2017-02-23 17:59:22 +01:00
Bram Moolenaar
354796c19a
patch 8.0.0356: leaking memory when setting 'ttytype'
...
Problem: Leaking memory when setting 'ttytype'.
Solution: Get free_oldval from the right option entry.
2017-02-23 17:18:37 +01:00
Bram Moolenaar
187a4f2814
patch 8.0.0355: using uninitialized memory when 'isfname' is empty
...
Problem: Using uninitialized memory when 'isfname' is empty.
Solution: Don't call getpwnam() without an argument. (Dominique Pelle,
closes #1464 )
2017-02-23 17:07:14 +01:00
Bram Moolenaar
1c410400fa
patch 8.0.0354: test to check that setting termcap key fails sometimes
...
Problem: Test to check that setting termcap key fails sometimes.
Solution: Check for "t_k1" to exist. (Christian Brabandt, closes #1459 )
2017-02-23 15:20:03 +01:00
Bram Moolenaar
3457d295f4
patch 8.0.0353: if [RO] is translated it may be truncated
...
Problem: If [RO] in the status line is translated to a longer string, it is
trunctted to 4 bytes.
Solution: Skip over the resulting string. (Jente Hidskes, closes #1499 )
2017-02-23 14:55:59 +01:00
Bram Moolenaar
f06e5a549f
patch 8.0.0352: not easy to see when a typval needs to be cleared
...
Problem: The condition for when a typval needs to be cleared is too
complicated.
Solution: Init the type to VAR_UNKNOWN and clear it always.
2017-02-23 14:25:17 +01:00
Bram Moolenaar
218426896c
patch 8.0.0351: no test for concatenating an empty string
...
Problem: No test for concatenating an empty string that results from out of
bounds indexing.
Solution: Add a simple test.
2017-02-23 13:50:38 +01:00
Bram Moolenaar
ae177b7166
patch 8.0.0350: not enough test coverage for Perl
...
Problem: Not enough test coverage for Perl.
Solution: Add more Perl tests. (Dominique Perl, closes #1500 )
2017-02-23 13:45:57 +01:00
Bram Moolenaar
fe344a9875
patch 8.0.0349: redrawing errors with GTK 3
...
Problem: Redrawing errors with GTK 3.
Solution: When updating, first clear all rectangles and then draw them.
(Kazunobu Kuriyama, Christian Ludwig, closes #848 )
2017-02-23 12:20:35 +01:00
Kazuki Sakamoto
170f2f4598
Merge remote-tracking branch 'vim/master'
2017-02-22 18:43:24 -08:00
Bram Moolenaar
b7a59906d7
patch 8.0.0348: using shadow dir on Mac lack +clipboard
...
Problem: When building with a shadow directory on macOS lacks the
+clipboard feature.
Solution: Link *.m files, specifically os_macosx.m. (Kazunobu Kuriyama)
2017-02-22 22:04:04 +01:00
Bram Moolenaar
d099e03370
patch 8.0.0347: when using completion comment leader wont work
...
Problem: When using CTRL-X CTRL-U inside a comment, the use of the comment
leader may not work. (Klement)
Solution: Save and restore did_ai. (Christian Brabandt, closes #1494 )
2017-02-21 23:00:36 +01:00
Bram Moolenaar
bfd30590f6
patch 8.0.0346: Vim relies on limits.h to be included indirectly
...
Problem: Vim relies on limits.h to be included indirectly, but on Solaris 9
it may not be. (Ben Fritz)
Solution: Always include limits.h.
2017-02-21 21:57:06 +01:00
Bram Moolenaar
3a25773772
patch 8.0.0345: islocked('d.changedtick') does not work
...
Problem: islocked('d.changedtick') does not work.
Solution: Make it work.
2017-02-21 20:47:13 +01:00
Bram Moolenaar
49439c4cdf
patch 8.0.0344: unlet command leaks memory
...
Problem: Unlet command leaks memory. (Nikolai Pavlov)
Solution: Free the memory on error. (closes #1497 )
2017-02-20 23:07:05 +01:00
Bram Moolenaar
e7877fe0de
patch 8.0.0343: b:changedtick can be unlocked
...
Problem: b:changedtick can be unlocked, even though it has no effect.
(Nikolai Pavlov)
Solution: Add a check and error E940. (closes #1496 )
2017-02-20 22:35:33 +01:00
Bram Moolenaar
673911457d
patch 8.0.0342: double free with EXITFREE and setting 'ttytype'
...
Problem: Double free when compiled with EXITFREE and setting 'ttytype'.
Solution: Avoid setting P_ALLOCED on 'ttytype'. (Dominique Pelle,
closes #1461 )
2017-02-19 21:07:04 +01:00
Bram Moolenaar
d56a79d339
patch 8.0.0341: undo does not work properly when using completion
...
Problem: When using complete() and typing a character undo is saved after
the character was inserted. (Shougo)
Solution: Save for undo before inserting the character.
2017-02-19 15:26:18 +01:00
Bram Moolenaar
5acff71d3b
patch 8.0.0340: not checking return valud of dict_add()
...
Problem: Not checking return valud of dict_add(). (Coverity)
Solution: Handle a failure.
2017-02-19 13:55:02 +01:00
Bram Moolenaar
46522af724
patch 8.0.0339: illegal memory access with vi'
...
Problem: Illegal memory access with vi'
Solution: For quoted text objects bail out if the Visual area spans more
than one line.
2017-02-18 23:12:01 +01:00
Bram Moolenaar
803452046b
patch 8.0.0338: :recover test fails on MS-Windows
...
Problem: :recover test fails on MS-Windows.
Solution: Use non-existing directory on MS-Windows.
2017-02-18 22:43:19 +01:00
Bram Moolenaar
c525e3a1c2
patch 8.0.0337: invalid memory access in :recover command
...
Problem: Invalid memory access in :recover command.
Solution: Avoid access before directory name. (Dominique Pelle,
closes #1488 )
2017-02-18 16:59:02 +01:00
Bram Moolenaar
3df0173fa6
Updated runtime files.
2017-02-17 22:47:16 +01:00
Bram Moolenaar
8c50d50b6e
patch 8.0.0336: flags of :substitute not sufficiently tested
...
Problem: Flags of :substitute not sufficiently tested.
Solution: Test up to two letter flag combinations. (James McCoy, closes
#1479 )
2017-02-17 18:28:24 +01:00
Bram Moolenaar
507647da31
patch 8.0.0335: functions test fails
...
Problem: Functions test fails.
Solution: Use the right buffer number.
2017-02-17 16:43:49 +01:00
Bram Moolenaar
79518e2ace
patch 8.0.0334: can't access b:changedtick from a dict reference
...
Problem: Can't access b:changedtick from a dict reference.
Solution: Make changedtick a member of the b: dict. (inspired by neovim
#6112 )
2017-02-17 16:31:35 +01:00
Bram Moolenaar
226c534291
patch 8.0.0333: illegal memory access when 'complete' ends in a backslash
...
Problem: Illegal memory access when 'complete' ends in a backslash.
Solution: Check for trailing backslash. (Dominique Pelle, closes #1478 )
2017-02-17 14:53:15 +01:00
Bram Moolenaar
4e9dbc74df
patch 8.0.0332: GUI test fails on some systems
...
Problem: GUI test fails on some systems.
Solution: Try different language settings. (Kazunobu Kuriyama)
2017-02-17 13:44:48 +01:00
Bram Moolenaar
343b8c0429
patch 8.0.0331: restoring help snapshot accesses freed memory
...
Problem: Restoring help snapshot accesses freed memory. (Dominique Pelle)
Solution: Don't restore a snapshot when the window closes.
2017-02-17 12:04:56 +01:00
Bram Moolenaar
84b2a38145
patch 8.0.0330: illegal memory access after "vapo"
...
Problem: Illegal memory access after "vapo". (Dominique Pelle)
Solution: Fix the cursor column.
2017-02-17 11:40:00 +01:00
Kazuki Sakamoto
b667ee0c63
MacVim Snapshot 127
...
Binary targets macOS 10.8+
- Vim patch 8.0.0329
Script interfaces have compatibility with these versions
- Lua 5.2
- Perl 5.16
- Python2 2.7
- Python3 3.6
- Ruby 2.0
2017-02-15 18:45:14 -08:00
Kazuki Sakamoto
1fcce8d536
Merge remote-tracking branch 'vim/master'
2017-02-14 21:36:46 -08:00
Bram Moolenaar
1043467482
patch 8.0.0329: xfontset and guifontwide are not tested
...
Problem: Xfontset and guifontwide are not tested.
Solution: Add tests. (Kazunobu Kuriyama)
2017-02-12 19:59:08 +01:00
Bram Moolenaar
23a5558cfd
patch 8.0.0328: the "zero count" error doesn't have a number
...
Problem: The "zero count" error doesn't have a number. (Hirohito Higashi)
Solution: Give it a number and be more specific about the error.
2017-02-12 18:45:25 +01:00
Bram Moolenaar
75c19464ed
patch 8.0.0327: error message in cmdline window is not translated
...
Problem: The E11 error message in the command line window is not
translated.
Solution: use _(). (Hirohito Higashi)
2017-02-12 18:34:05 +01:00
Kazuki Sakamoto
9abccb9a5c
Merge remote-tracking branch 'vim/master'
2017-02-11 20:33:53 -08:00
Bram Moolenaar
24f8f543d4
patch 8.0.0326: packadd test uses wrong directory name
...
Problem: Packadd test uses wrong directory name.
Solution: Use the variable name value. (Hirohito Higashi)
2017-02-11 23:00:36 +01:00
Bram Moolenaar
913727e567
patch 8.0.0325: packadd test does not clean up symlink
...
Problem: Packadd test does not clean up symlink.
Solution: Delete the link. (Hirohito Higashi)
2017-02-11 11:34:58 +01:00
Kazuki Sakamoto
5f761f85d8
Merge remote-tracking branch 'vim/master'
2017-02-09 18:54:34 -08:00
Bram Moolenaar
f1f6f3f7df
patch 8.0.0324: illegal memory access with a wrong yank range
...
Problem: Illegal memory access with "1;y".
Solution: Call check_cursor() instead of check_cursor_lnum(). (Dominique
Pelle, closes #1455 )
2017-02-09 22:28:20 +01:00
Bram Moolenaar
31eb139b88
patch 8.0.0323: one second pause when running cmdline test
...
Problem: When running the command line tests there is a one second wait.
Solution: Change an Esc to Ctrl-C. (Yegappan Lakshmanan)
2017-02-09 21:44:03 +01:00
Bram Moolenaar
399c297aa9
patch 8.0.0322: possible overflow with corrupted spell file
...
Problem: Possible overflow with spell file where the tree length is
corrupted.
Solution: Check for an invalid length (suggested by shqking)
2017-02-09 21:07:12 +01:00
Bram Moolenaar
8cc2a9c062
patch 8.0.0321: errors when trying to use scripts in tiny version
...
Problem: When using the tiny version trying to load the matchit plugin
gives an error. On MS-Windows some default mappings fail.
Solution: Add a check if the command used is available. (Christian Brabandt)
2017-02-09 20:22:30 +01:00
Bram Moolenaar
4d8505155e
patch 8.0.0320: warning for unused variable with small build
...
Problem: Warning for unused variable with small build.
Solution: Change #ifdef to exclude FEAT_CMDWIN. (Kazunobu Kuriyama)
2017-02-09 18:25:14 +01:00
Bram Moolenaar
190b04cdd9
patch 8.0.0319: insert mode completion does not respect 'backspace'
...
Problem: Insert mode completion does not respect "start" in 'backspace'.
Solution: Check whether backspace can go before where insert started.
(Hirohito Higashi)
2017-02-09 17:37:03 +01:00
Bram Moolenaar
a9f8ffb634
patch 8.0.0318: small mistake in 7x13 font name
...
Problem: Small mistake in 7x13 font name.
Solution: Use ISO 8859-1 name instead of 10646-1. (Kazunobu Kuriyama)
2017-02-09 16:14:53 +01:00
Bram Moolenaar
43dded8c59
patch 8.0.0317: no test for setting 'guifont'
...
Problem: No test for setting 'guifont'.
Solution: Add a test for X11 GUIs. (Kazunobu Kuriyama)
2017-02-09 16:06:17 +01:00
Bram Moolenaar
dad7309dd2
patch 8.0.0316: :help z? does not work
...
Problem: ":help z?" does not work. (Pavol Juhas)
Solution: Remove exception for z?.
2017-02-09 11:54:50 +01:00
Bram Moolenaar
a76f59d817
patch 8.0.0315: :help :[range] does not work
...
Problem: ":help :[range]" does not work. (Tony Mechelynck)
Solution: Translate to insert a backslash.
2017-02-09 11:41:01 +01:00
Kazuki Sakamoto
9235d12894
Merge remote-tracking branch 'vim/master'
2017-02-06 19:42:34 -08:00
Bram Moolenaar
65189a1294
patch 8.0.0314: getcmd*() functions are not tested
...
Problem: getcmdtype(), getcmdpos() and getcmdline() are not tested.
Solution: Add tests. (Yegappan Lakshmanan)
2017-02-06 22:22:17 +01:00
Bram Moolenaar
6f785749db
patch 8.0.0313: not enough testing for GUI functionality
...
Problem: Not enough testing for GUI functionality.
Solution: Add tests for the GUI font. (Kazunobu Kuriyama)
2017-02-06 22:11:55 +01:00
Bram Moolenaar
88989cc381
patch 8.0.0312: failure when a channel receives a split json message
...
Problem: When a json message arrives in pieces, the start is dropped and
the decoding fails.
Solution: Do not drop the start when it is still needed. (Kay Zheng) Add a
test. Reset the timeout when something is received.
2017-02-06 21:56:09 +01:00
Bram Moolenaar
544d3bc9f0
patch 8.0.0311: linebreak tests are old style
...
Problem: Linebreak tests are old style.
Solution: Turn the tests into new style. Share utility functions. (Ozaki
Kiichi, closes #1444 )
2017-02-05 21:14:50 +01:00
Kazuki Sakamoto
78f80e21cb
Merge remote-tracking branch 'vim/master'
2017-02-05 11:57:04 -08:00
Bram Moolenaar
13c724fb3a
patch 8.0.0310: not enough testing for GUI functionality
...
Problem: Not enough testing for GUI functionality.
Solution: Add tests for v:windowid and getwinpos[xy](). (Kazunobu Kuriyama)
2017-02-05 20:54:26 +01:00
Bram Moolenaar
059b7482a2
patch 8.0.0309: cannot use an empty key in json
...
Problem: Cannot use an empty key in json.
Solution: Allow for using an empty key.
2017-02-05 16:34:43 +01:00
Bram Moolenaar
2f9e575583
patch 8.0.0308: 'runtimepath' not update correctly when using symbolic link
...
Problem: When using a symbolic link, the package path will not be inserted
at the right position in 'runtimepath'. (Dugan Chen, Norio Takagi)
Solution: Resolve symbolic links when finding the right position in
'runtimepath'. (Hirohito Higashi)
2017-02-05 16:07:54 +01:00
Bram Moolenaar
955f198fc5
patch 8.0.0307: asan detects a memory error when EXITFREE is defined
...
Problem: Asan detects a memory error when EXITFREE is defined. (Dominique
Pelle)
Solution: In getvcol() check for ml_get_buf() returning an empty string.
Also skip adjusting the scroll position. Set "exiting" in
mch_exit() for all systems.
2017-02-05 15:10:51 +01:00
Bram Moolenaar
e971df39a5
patch 8.0.0306: mode() not sufficiently tested
...
Problem: mode() not sufficiently tested.
Solution: Add more tests. (Yegappan Lakshmanan)
2017-02-05 14:15:29 +01:00
Bram Moolenaar
aaaf57d8a9
patch 8.0.0305: invalid memory access when option has duplicate flag
...
Problem: Invalid memory access when option has duplicate flag.
Solution: Correct pointer computation. (Dominique Pelle, closes #1442 )
2017-02-05 14:13:20 +01:00
Kazuki Sakamoto
c11c152316
Merge remote-tracking branch 'vim/master'
2017-02-04 18:05:40 -08:00
Bram Moolenaar
1fb0d49803
patch 8.0.0304: assign test fails in the GUI
...
Problem: Assign test fails in the GUI.
Solution: Skip the test for setting t_k1.
2017-02-04 21:50:19 +01:00
Bram Moolenaar
a1891848d9
patch 8.0.0303: bracketed paste does not work in Visual mode
...
Problem: Bracketed paste does not work in Visual mode.
Solution: Delete the text before pasting
2017-02-04 21:34:31 +01:00
Bram Moolenaar
e353c402e6
patch 8.0.0302: cannot set terminal key codes with :let
...
Problem: Cannot set terminal key codes with :let.
Solution: Make it work.
2017-02-04 19:49:16 +01:00
Bram Moolenaar
698f8b207b
patch 8.0.0301: not enough testing for setting options
...
Problem: No tests for ":set completion" and various errors of the :set
command.
Solution: Add more :set tests. (Dominique Pelle, closes #1440 )
2017-02-04 15:53:32 +01:00
Bram Moolenaar
25ea054458
patch 8.0.0300: cannot stop diffing hidden buffers
...
Problem: Cannot stop diffing hidden buffers. (Daniel Hahler)
Solution: When using :diffoff! make the whole list if diffed buffers empty.
(closes #736 )
2017-02-03 23:16:28 +01:00
Bram Moolenaar
6b40f30329
patch 8.0.0299: a window resize is sometimes not taking effect
...
Problem: When the GUI window is resized Vim does not always take over the
new size. (Luchr)
Solution: Reset new_p_guifont in gui_resize_shell(). Call
gui_may_resize_shell() in the main loop.
2017-02-03 22:01:47 +01:00
Bram Moolenaar
cbf20fbcd3
patch 8.0.0298: Ex command range with repeated search does not work
...
Problem: Ex command range with repeated search does not work. (Bruce
DeVisser)
Solution: Skip over \/, \? and \&.
2017-02-03 21:19:04 +01:00
Kazuki Sakamoto
67c67d1bd2
MacVim Snapshot 126
...
Binary targets macOS 10.8+
- Vim patch 8.0.0297
Script interfaces have compatibility with these versions
- Lua 5.2
- Perl 5.16
- Python2 2.7
- Python3 3.6
- Ruby 2.0
2017-02-03 07:45:19 -08:00
Kazuki Sakamoto
54e5082d7c
Merge remote-tracking branch 'vim/master'
2017-02-02 18:06:17 -08:00
Bram Moolenaar
03ff9bcbc9
patch 8.0.0297: double free on exit when using a closure
...
Problem: Double free on exit when using a closure. (James McCoy)
Solution: Split free_al_functions in two parts. (closes #1428 )
2017-02-02 22:59:27 +01:00
Bram Moolenaar
fd8983b09c
patch 8.0.0296: bracketed paste can only append, not insert
...
Problem: Bracketed paste can only append, not insert.
Solution: When the cursor is in the first column insert the text.
2017-02-02 22:21:29 +01:00
Bram Moolenaar
7a073549a3
patch 8.0.0295: test_viml hangs
...
Problem: test_viml hangs.
Solution: Put resetting 'more' before sourcing the script.
2017-02-01 23:17:36 +01:00
Bram Moolenaar
79da563cf9
patch 8.0.0294: argument list is not stored correctly in a session file
...
Problem: Argument list is not stored correctly in a session file.
(lgpasquale)
Solution: Use "$argadd" instead of "argadd". (closes #1434 )
2017-02-01 22:52:44 +01:00
Bram Moolenaar
e5f2a075e3
patch 8.0.0293: some tests have a one or three second wait
...
Problem: Some tests have a one or three second wait.
Solution: Reset the 'showmode' option. Use a test time of one to disable
sleep after an error or warning message.
2017-02-01 22:31:49 +01:00
Bram Moolenaar
a2f28859bf
patch 8.0.0292: the stat test is a bit slow
...
Problem: The stat test is a bit slow.
Solution: Remove a couple of sleep comments and reduce another.
2017-02-01 22:05:28 +01:00
Bram Moolenaar
23fa81d222
patch 8.0.0291: Visual block insertion does not insert in all lines
...
Problem: Visual block insertion does not insert in all lines.
Solution: Don't bail out of insert too early. Add a test. (Christian
Brabandt, closes #1290 )
2017-02-01 21:50:21 +01:00
Bram Moolenaar
04e87b72c5
patch 8.0.0290: cursor positioning wrong if wide character wraps
...
Problem: If a wide character doesn't fit at the end of the screen line, and
the line doesn't fit on the screen, then the cursor position may
be wrong. (anliting)
Solution: Don't skip over wide character. (Christian Brabandt, closes #1408 )
2017-02-01 21:23:10 +01:00
Bram Moolenaar
21d7c9b601
patch 8.0.0289: no test for "ga" and :ascii
...
Problem: No test for "ga" and :ascii.
Solution: Add a test. (Dominique Pelle, closes #1429 )
2017-02-01 20:53:38 +01:00
Bram Moolenaar
4e032e1b17
patch 8.0.0288: errors reported while running tests
...
Problem: Errors reported while running tests.
Solution: Put comma in the right place.
2017-02-01 20:48:13 +01:00
Bram Moolenaar
c7d9eacefa
patch 8.0.0287: debug mode: cannot access function arguments
...
Problem: Cannot access the arguments of the current function in debug mode.
(Luc Hermitte)
Solution: use get_funccal(). (Lemonboy, closes #1432 , closes #1352 )
2017-02-01 20:26:51 +01:00
Kazuki Sakamoto
88f75a70df
MacVim Snapshot 125
...
Binary targets macOS 10.8+
- Vim patch 8.0.0286
Script interfaces have compatibility with these versions
- Lua 5.2
- Perl 5.16
- Python2 2.7
- Python3 3.6
- Ruby 2.0
2017-02-01 09:43:37 -08:00
Kazuki Sakamoto
ed465e81f9
Revert "MacVim Snapshot 125"
...
This reverts commit b9818a953c .
2017-02-01 09:43:12 -08:00
Kazuki Sakamoto
648ec8d5f2
Merge remote-tracking branch 'vim/master'
2017-02-01 09:42:23 -08:00
Bram Moolenaar
c10f0e7cb0
patch 8.0.0286: not always redrawing after screen resize
...
Problem: When concealing is active and the screen is resized in the GUI it
is not immediately redrawn.
Solution: Use update_prepare() and update_finish() from
update_single_line().
2017-02-01 18:37:14 +01:00
Bram Moolenaar
c386267ffe
patch 8.0.0285: tests fail with tiny build on Unix
...
Problem: Tests fail with tiny build on Unix.
Solution: Only set g:tester_HOME when build with the +eval feature.
2017-02-01 18:07:38 +01:00
Bram Moolenaar
b245559fa9
patch 8.0.0284: collapse buffers test failed once
...
Problem: The Test_collapse_buffers() test failed once, looks like it is
flaky.
Solution: Add it to the list of flaky tests.
2017-02-01 18:00:13 +01:00
Bram Moolenaar
e90858d022
patch 8.0.0283: mode() does not indicate Insert mode completion
...
Problem: The return value of mode() does not indicate that completion is
active in Replace and Insert mode. (Zhen-Huan (Kenny) Hu)
Solution: Add "c" or "x" for two kinds of completion. (Yegappan Lakshmanan,
closes #1397 ) Test some more modes.
2017-02-01 17:24:34 +01:00
Kazuki Sakamoto
b9818a953c
MacVim Snapshot 125
...
Binary targets macOS 10.8+
- Vim patch 8.0.0282
Script interfaces have compatibility with these versions
- Lua 5.2
- Perl 5.16
- Python2 2.7
- Python3 3.6
- Ruby 2.0
2017-02-01 08:04:58 -08:00
Kazuki Sakamoto
a8c5796d0d
Merge remote-tracking branch 'vim/master'
2017-02-01 08:04:11 -08:00
Bram Moolenaar
0b5c93a7f2
patch 8.0.0282: need to use CTRL-O twice when in Visual-Insert mode
...
Problem: When doing a Visual selection and using "I" to go to insert mode,
CTRL-O needs to be used twice to go to Normal mode. (Coacher)
Solution: Check for the return value of edit(). (Christian Brabandt,
closes #1290 )
2017-02-01 15:03:30 +01:00
Bram Moolenaar
1266d678bf
patch 8.0.0281: some files are still using ARGSUSED instead of UNUSED
...
Problem: MS-Windows files are still using ARGSUSED while most other files
have UNUSED.
Solution: Change ARGSUSED to UNUSED or delete it.
2017-02-01 13:43:36 +01:00
Bram Moolenaar
7c23d1d9d9
patch 8.0.0280: problem setting multi-byte environment var on MS-Windows
...
Problem: On MS-Windows setting an environment variable with multi-byte
strings does not work well.
Solution: Use wputenv when possible. (Taro Muraoka, Ken Takata)
2017-02-01 13:14:16 +01:00
Bram Moolenaar
168dd00f72
patch 8.0.0279: MSVC 2015 uses a different dll name
...
Problem: With MSVC 2015 the dll name is vcruntime140.dll.
Solution: Check the MSVC version and use the right dll name. (Ken Takata)
2017-02-01 13:02:47 +01:00
Bram Moolenaar
f1ab9c1370
patch 8.0.0278: GUI test fails on MS-Windows
...
Problem: GUI test fails on MS-Windows.
Solution: Check that tester_HOME exists.
2017-02-01 12:32:58 +01:00
Bram Moolenaar
56e6bd7ba2
patch 8.0.0277: the GUI test may trigger fontconfig and take a long time
...
Problem: The GUI test may trigger fontconfig and take a long time.
Solution: Set $XDG_CACHE_HOME. (Kazunobu Kuriyama)
2017-02-01 12:08:47 +01:00
Bram Moolenaar
3954e3c4b5
patch 8.0.0276: unnecessary #ifdefs
...
Problem: Checking for FEAT_GUI_GNOME inside GTK 3 code is unnecessary.
Solution: Remove the #ifdef. (Kazunobu Kuriyama)
2017-02-01 11:50:09 +01:00
Bram Moolenaar
e3caa11090
patch 8.0.0275: the screen may be updated at the wrong time
...
Problem: When checking for CTRL-C typed the GUI may detect a screen resize
and redraw the screen, causing trouble.
Solution: Set updating_screen in ui_breakcheck().
2017-01-31 22:07:42 +01:00
Bram Moolenaar
070b33da93
patch 8.0.0274: possible recursive screen updating causes trouble
...
Problem: When update_single_line() is called recursively, or another screen
update happens while it is busy, errors may occur.
Solution: Check and update updating_screen. (Christian Brabandt)
2017-01-31 21:53:39 +01:00
Kazuki Sakamoto
3df2134ed1
Merge pull request #447 from macvim-dev/CFBundleShortVersionString
...
Set Info.plist CFBundleShortVersionString via configure
2017-01-30 14:03:06 -08:00
Bram Moolenaar
c4a249a736
patch 8.0.0273: dead code detected by Coverity
...
Problem: Dead code detected by Coverity when not using gnome.
Solution: Rearrange the #ifdefs to avoid dead code.
2017-01-30 22:56:48 +01:00
Bram Moolenaar
432c839ebd
patch 8.0.0272: crash on exit is not detected when running tests
...
Problem: Crash on exit is not detected when running tests.
Solution: Remove the dash before the command. (Dominique Pelle, closes
#1425 )
2017-01-30 22:01:01 +01:00
Kazuki Sakamoto
f0b4353248
Set Info.plist CFBundleShortVersionString via configure
...
Close #436
2017-01-30 11:11:24 -08:00
Kazuki Sakamoto
a311d0da6f
Merge remote-tracking branch 'vim/master'
2017-01-29 20:44:34 -08:00
Bram Moolenaar
a4c906a4a1
patch 8.0.0271: may get ml_get error when :tcldo deletes lines
...
Problem: May get ml_get error when :tcldo deletes lines or switches to
another buffer. (Nikolai Pavlov, closes #1421 )
Solution: Check the buffer and line every time.
2017-01-29 23:26:37 +01:00
Bram Moolenaar
c593fee0e5
patch 8.0.0270: may get ml_get error when :rubydo deletes lines
...
Problem: May get ml_get error when :rubydo deletes lines or switches to
another buffer. (Nikolai Pavlov, issue #1421 )
Solution: Check the buffer and line every time.
2017-01-29 23:11:25 +01:00
Bram Moolenaar
85b5743d3e
patch 8.0.0269: may get ml_get error when :perldo deletes lines
...
Problem: May get ml_get error when :perldo deletes lines or switches to
another buffer. (Nikolai Pavlov, issue #1421 )
Solution: Check the buffer and line every time.
2017-01-29 22:59:12 +01:00
Bram Moolenaar
d58f03b1c2
patch 8.0.0268: may get ml_get error when :luado deletes lines
...
Problem: May get ml_get error when :luado deletes lines or switches to
another buffer. (Nikolai Pavlov, issue #1421 )
Solution: Check the buffer and line every time.
2017-01-29 22:48:45 +01:00
Bram Moolenaar
6fe2eb43d2
patch 8.0.0267: channel test sometimes fails on Mac
...
Problem: A channel test sometimes fails on Mac.
Solution: Add the test to the list of flaky tests.
2017-01-29 21:49:51 +01:00
Bram Moolenaar
c625155ea4
patch 8.0.0266: compiler warning for using uninitialized variable
...
Problem: Compiler warning for using uninitialized variable.
Solution: Set tab_number also when there is an error.
2017-01-29 21:42:20 +01:00
Bram Moolenaar
a58883b4ea
patch 8.0.0265: may get ml_get error when :pydo deletes lines
...
Problem: May get ml_get error when :pydo deletes lines or switches to
another buffer. (Nikolai Pavlov, issue #1421 )
Solution: Check the buffer and line every time.
2017-01-29 21:31:09 +01:00
Bram Moolenaar
d297f35eb0
patch 8.0.0264: memory error reported by ubsan
...
Problem: Memory error reported by ubsan, probably for using the string
returned by execute().
Solution: NUL terminate the result of execute().
2017-01-29 20:31:21 +01:00
Bram Moolenaar
80627cf51f
patch 8.0.0263: Farsi support is not tested enough
...
Problem: Farsi support is not tested enough.
Solution: Add more tests for Farsi. Clean up the code.
2017-01-29 19:59:39 +01:00
Bram Moolenaar
ddf662a1c8
patch 8.0.0262: Farsi support is barely tested
...
Problem: Farsi support is barely tested.
Solution: Add more tests for Farsi. Clean up the code.
2017-01-29 17:59:12 +01:00
Bram Moolenaar
24c2e48ef8
patch 8.0.0261: not enough test coverage for eval functions
...
Problem: Not enough test coverage for eval functions.
Solution: Add more tests. (Dominique Pelle, closes #1420 )
2017-01-29 15:45:12 +01:00
Bram Moolenaar
dea2570740
patch 8.0.0260: build fails with tiny features
...
Problem: Build fails with tiny features.
Solution: Move get_tabpage_arg() inside #ifdef.
2017-01-29 15:18:10 +01:00
Bram Moolenaar
2f72c70657
patch 8.0.0259: tab commands do not handle count correctly
...
Problem: Tab commands do not handle count correctly. (Ken Hamada)
Solution: Add ADDR_TABS_RELATIVE. (Hirohito Higashi)
2017-01-29 14:48:10 +01:00
Bram Moolenaar
c9b56b2ceb
patch 8.0.0258: mksession test leaves file behind
...
Problem: mksession test leaves file behind.
Solution: Delete the file. Rename files to start with "X".
2017-01-29 14:14:09 +01:00
Kazuki Sakamoto
7b046c06fa
Merge remote-tracking branch 'vim/master'
2017-01-28 19:55:38 -08:00
Bram Moolenaar
e0b66da691
patch 8.0.0257: test file missing in distribution
...
Problem: The keyword test file is not included in the archive.
Solution: Update the list of files.
2017-01-28 18:42:56 +01:00
Bram Moolenaar
690afe1fef
Update runtime files.
2017-01-28 18:34:47 +01:00
Bram Moolenaar
3a29abcb61
patch 8.0.0256: missing changes to one file breaks test
...
Problem: Tests fail because some changes were not included.
Solution: Add changes to evalfunc.c
2017-01-28 18:31:41 +01:00
Bram Moolenaar
f13e00b2cf
patch 8.0.0255: setpos() does not use the buffer argument for all marks
...
Problem: When calling setpos() with a buffer argument it often is ignored.
(Matthew Malcomson)
Solution: Make the buffer argument work for all marks local to a buffer.
(neovim #5713 ) Add more tests.
2017-01-28 18:23:54 +01:00
Bram Moolenaar
c7b831ca15
patch 8.0.0254: error message of assert functions is sometimes incomplete
...
Problem: When using an assert function one can either specify a message or
get a message about what failed, not both.
Solution: Concatenate the error with the message.
2017-01-28 18:08:12 +01:00
Bram Moolenaar
36ae89c550
patch 8.0.0253: error when loading session if winminheight is 2
...
Problem: When creating a session when winminheight is 2 or larger and
loading that session gives an error.
Solution: Also set winminheight before setting winheight to 1. (Rafael
Bodill, neovim #5717 )
2017-01-28 17:11:14 +01:00
Bram Moolenaar
4019cf90b8
patch 8.0.0252: not properly recognizing word characters between 128 and 255
...
Problem: Characters below 256 that are not one byte are not always
recognized as word characters.
Solution: Make vim_iswordc() and vim_iswordp() work the same way. Add a test
for this. (Ozaki Kiichi)
2017-01-28 16:39:34 +01:00
Bram Moolenaar
f42dd3c390
patch 8.0.0251: not easy to select Python 2 or 3
...
Problem: It is not so easy to write a script that works with both Python 2
and Python 3, even when the Python code works with both.
Solution: Add 'pyxversion', :pyx, etc. (Marc Weber, Ken Takata)
2017-01-28 16:06:38 +01:00
Bram Moolenaar
0c0590d982
patch 8.0.0250: virtcol() does not work well for multi-byte characters
...
Problem: When virtcol() gets a column that is not the first byte of a
multi-byte character the result is unpredictable. (Christian
Ludwig)
Solution: Correct the column to the first byte of a multi-byte character.
Change the utf-8 test to new style.
2017-01-28 13:48:10 +01:00
Bram Moolenaar
4bc2f2e9fd
patch 8.0.0249: CI failure when a submit is close to previous one
...
Problem: When two submits happen quick after each other, the tests for the
first one may error out.
Solution: Use a git depth of 10 instead of 1. (Christian Brabandt)
2017-01-27 22:20:13 +01:00
Bram Moolenaar
45600ce8f2
patch 8.0.0248: vim_strcat() cannot handle overlapping arguments
...
Problem: vim_strcat() cannot handle overlapping arguments.
Solution: Use mch_memmove() instead of strcpy(). (Justin M Keyes,
closes #1415 )
2017-01-27 21:54:07 +01:00
Bram Moolenaar
aed6d0b81a
patch 8.0.0247: need to type Ctrl-N twice to select a completion
...
Problem: Under some circumstances, one needs to type Ctrl-N or Ctrl-P twice
to have a menu entry selected. (Lifepillar)
Solution: call ins_compl_free(). (Christian Brabandt, closes #1411 )
2017-01-27 21:48:54 +01:00
Bram Moolenaar
3a118be150
patch 8.0.0246: compiler warnings for int to pointer conversion
...
Problem: Compiler warnings for int to pointer conversion.
Solution: Fix macro for mch_memmove(). (John Marriott)
2017-01-27 21:22:19 +01:00
Bram Moolenaar
16038d50c4
patch 8.0.0245: zh_CN.cp936.po has a conversion error
...
Problem: The generated zh_CN.cp936.po message file is not encoded properly.
Solution: Instead of using zh_CN.po as input, use zh_CN.UTF-8.po.
2017-01-27 20:37:49 +01:00
Bram Moolenaar
d9c60648e5
patch 8.0.0244: making t_BE empty only has an effect before startup
...
Problem: When the user sets t_BE empty after startup to disable bracketed
paste, this has no direct effect.
Solution: When t_BE is made empty write t_BD. When t_BE is made non-empty
write the new value.
2017-01-27 20:03:18 +01:00
Kazuki Sakamoto
8a17c52926
Merge remote-tracking branch 'vim/master'
2017-01-26 21:30:06 -08:00
Bram Moolenaar
cc5b22b3bf
patch 8.0.0243: tolower() does not work if the byte count changes
...
Problem: When making a character lower case with tolower() changes the byte
cound, it is not made lower case.
Solution: Add strlow_save(). (Dominique Pelle, closes #1406 )
2017-01-26 22:51:56 +01:00
Bram Moolenaar
65c836e600
patch 8.0.0242: no tests for user command completion
...
Problem: Completion of user defined functions is not covered by tests.
Solution: Add tests. Also test various errors of user-defined commands.
(Dominique Pelle, closes #1413 )
2017-01-26 22:07:33 +01:00
Bram Moolenaar
52c0de1de1
patch 8.0.0241: fallback implementation of mch_memmove is unused
...
Problem: Vim defines a mch_memmove() function but it doesn't work, thus is
always unused.
Solution: Remove the mch_memmove implementation. (suggested by Dominique
Pelle)
2017-01-26 21:36:34 +01:00
Bram Moolenaar
4f7090b93d
patch 8.0.0240: failure with one build on CI
...
Problem: The clang build on CI fails with one configuration.
Solution: Redo a previous patch that was accidentally reverted.
2017-01-26 21:24:02 +01:00
Bram Moolenaar
1e07633a5d
patch 8.0.0239: no CI with an address sanitizer
...
Problem: The address sanitizer sometimes finds errors, but it needs to be
run manually.
Solution: Add an environment to Travis with clang and the address sanitizer.
(Christian Brabandt) Also include changes only on github.
2017-01-26 20:11:12 +01:00
Kazuki Sakamoto
a27eb06c50
Merge remote-tracking branch 'vim/master'
2017-01-25 20:57:50 -08:00
Bram Moolenaar
9e817c8a31
patch 8.0.0238: bracketed paste does not disable autoindent
...
Problem: When using bracketed paste autoindent causes indent to be
increased.
Solution: Disable 'ai' and set 'paste' temporarily. (Ken Takata)
2017-01-25 21:36:17 +01:00
Kazuki Sakamoto
4cefe0c276
MacVim Snapshot 124
...
Binary targets macOS 10.8+
- Vim patch 8.0.0237
Script interfaces have compatibility with these versions
- Lua 5.2
- Perl 5.16
- Python2 2.7
- Python3 3.6
- Ruby 2.0
2017-01-25 07:31:53 -08:00
Kazuki Sakamoto
97ed4ba2f8
Merge remote-tracking branch 'vim/master'
2017-01-25 07:31:11 -08:00
Bram Moolenaar
ba47b51ff8
patch 8.0.0237: when 'wildoptions' is "tagfile" completion may not work
...
Problem: When setting wildoptions=tagfile the completion context is not set
correctly. (desjardins)
Solution: Check for EXPAND_TAGS_LISTFILES. (Christian Brabandt, closes #1399 )
2017-01-24 21:18:19 +01:00
Bram Moolenaar
6a717f17ec
patch 8.0.0236: gcc complains about uninitialized variable
...
Problem: Gcc complains that a variable may be used uninitialized. Confusion
between variable and label name. (John Marriott)
Solution: Initialize it. Rename end to end_lnum.
2017-01-24 20:47:50 +01:00
Bram Moolenaar
b031c4ea04
patch 8.0.0235: memory leak in diff mode
...
Problem: Memory leak detected when running tests for diff mode.
Solution: Free p_extra_free.
2017-01-24 20:14:48 +01:00
Bram Moolenaar
941c12da3c
patch 8.0.0234: crash when using put in Visual mode
...
Problem: When several lines are visually selected and one of them is short,
using put may cause a crash. (Axel Bender)
Solution: Check for a short line. (Christian Brabandt)
2017-01-24 19:55:43 +01:00
Bram Moolenaar
bff6ad1331
patch 8.0.0233: paste test fails in the GUI
...
Problem: The paste test fails if the GUI is being used.
Solution: Skip the test in the GUI.
2017-01-24 19:18:13 +01:00
Bram Moolenaar
48c9f3b123
patch 8.0.0232: paste does not work when 'esckeys' is off
...
Problem: Pasting in Insert mode does not work when bracketed paste is used
and 'esckeys' is off.
Solution: When 'esckeys' is off disable bracketed paste in Insert mode.
2017-01-24 19:08:15 +01:00
Bram Moolenaar
076e502199
patch 8.0.0231: bracketed paste mode is not tested
...
Problem: There are no tests for bracketed paste mode.
Solution: Add a test. Fix repeating with "normal .".
2017-01-24 18:58:30 +01:00
Bram Moolenaar
915350edec
patch 8.0.0230: bracketed paste does not support line breaks
...
Problem: When using bracketed paste line breaks are not respected.
Solution: Turn CR characters into a line break if the text is being
inserted. (closes #1404 )
2017-01-24 17:50:52 +01:00
Bram Moolenaar
24a2d416ec
patch 8.0.0229: local 'formatprg' option value leaks
...
Problem: When freeing a buffer the local value of the 'formatprg' option is
not cleared.
Solution: Add missing change.
2017-01-24 17:48:36 +01:00
Kazuki Sakamoto
e80371bfbb
MacVim Snapshot 123
...
Binary targets macOS 10.8+
- Vim patch 8.0.0228
Script interfaces have compatibility with these versions
- Lua 5.2
- Perl 5.16
- Python2 2.7
- Python3 3.6
- Ruby 2.0
2017-01-24 08:24:15 -08:00
Kazuki Sakamoto
43ac38d613
Merge remote-tracking branch 'vim/master'
2017-01-24 08:23:23 -08:00
Bram Moolenaar
abbc448bc0
patch 8.0.0228: pasting in xterm on the command line has PasteStart
...
Problem: When pasting test in an xterm on the command line it is surrounded
by <PasteStart> and <PasteEnd>. (Johannes Kaltenbach)
Solution: Add missing changes.
2017-01-24 15:57:55 +01:00
Bram Moolenaar
2aa5f696b9
patch 8.0.0227: crash with ff=dos when first line in file has no CR
...
Problem: Crash when 'fileformat' is forced to "dos" and the first line in
the file is empty and does not have a CR character.
Solution: Don't check for CR before the start of the buffer.
2017-01-24 15:46:48 +01:00
Bram Moolenaar
1695f99d08
patch 8.0.0226: test for patch 8.0.0224 missing CR characters
...
Problem: The test for patch 8.0.0224 misses the CR characters and passes
even without the fix. (Christian Brabandt)
Solution: Use double quotes and \<CR>.
2017-01-24 13:18:43 +01:00
Bram Moolenaar
9957a10d0f
patch 8.0.0225: put in Visual block mode terminates early
...
Problem: When a block is visually selected and put is used on the end of
the selection only one line is changed.
Solution: Check for the end properly. (Christian Brabandt, neovim issue
5781)
2017-01-23 21:53:53 +01:00
Bram Moolenaar
7a2699e868
patch 8.0.0224: change to 'fileformats' from autocmd does not take effect
...
Problem: When 'fileformats' is changed in a BufReadPre auto command, it
does not take effect in readfile(). (Gary Johnson)
Solution: Check the value of 'fileformats' after executing auto commands.
(Christian Brabandt)
2017-01-23 21:31:09 +01:00
Bram Moolenaar
fffbf308dd
patch 8.0.0223: Coverity warns for an uninitialized variable
...
Problem: Coverity gets confused by the flags passed to find_tags() and
warnts for an uninitialized variable.
Solution: Disallow using cscope and help tags at the same time.
2017-01-23 20:47:12 +01:00
Kazuki Sakamoto
831e48f10b
MacVim Snapshot 122
...
Binary targets macOS 10.8+
- Vim patch 8.0.0222
Script interfaces have compatibility with these versions
- Lua 5.2
- Perl 5.16
- Python2 2.7
- Python3 3.6
- Ruby 2.0
2017-01-23 11:32:00 -08:00
Kazuki Sakamoto
e091a4b25c
Merge remote-tracking branch 'vim/master'
2017-01-22 20:47:59 -08:00
Bram Moolenaar
c81299684b
patch 8.0.0222: blockwise put on multi-byte character misplaced
...
Problem: When a multi-byte character ends in a zero byte, putting blockwise
text puts it before the character instead of after it.
Solution: Use int instead of char for the character under the cursor.
(Luchr, closes #1403 ) Add a test.
2017-01-22 20:04:51 +01:00
Bram Moolenaar
6a8ede99dd
patch 8.0.0221: unnecessary condition on PROTO
...
Problem: Checking if PROTO is defined inside a function has no effect.
Solution: Remove the check for PROTO. (Hirohito Higashi)
2017-01-22 19:49:12 +01:00
Bram Moolenaar
15eedf1d62
patch 8.0.0220: completion of highlight names misses a few values
...
Problem: Completion for :match does not show "none" and other missing
highlight names.
Solution: Skip over cleared entries before checking the index to be at the
end.
2017-01-22 19:25:33 +01:00
Bram Moolenaar
7a40ea2138
patch 8.0.0219: ubsan reports errors for overflow
...
Problem: Ubsan reports errors for integer overflow.
Solution: Define macros for minimum and maximum values. Select an
expression based on the value. (Mike Williams)
2017-01-22 18:34:57 +01:00
Bram Moolenaar
2b2207ba69
patch 8.0.0218: no completion for :cexpr and similar commands
...
Problem: No command line completion for :cexpr, :cgetexpr, :caddexpr, etc.
Solution: Make completion work. (Yegappan Lakshmanan) Add a test.
2017-01-22 16:46:56 +01:00
Bram Moolenaar
e2d74dbe19
patch 8.0.0217: build fails without cscope feature
...
Problem: Build fails without the cscope feature.
Solution: Add #ifdef.
2017-01-22 16:13:35 +01:00
Bram Moolenaar
e2c6037da3
patch 8.0.0216: decoding js style json may fail
...
Problem: When decoding JSON with a JS style object the JSON test may use a
NULL pointer. (Coverity)
Solution: Check for a NULL pointer.
2017-01-22 15:56:26 +01:00
Bram Moolenaar
e362c3d2c3
patch 8.0.0215: NULL pointer use if cscope line looks like emacs tag
...
Problem: When a Cscope line contains CTRL-L a NULL pointer may be used.
(Coverity)
Solution: Don't check for an emacs tag in a cscope line.
2017-01-22 15:40:00 +01:00
Bram Moolenaar
d7a96151e0
patch 8.0.0214: leaking memory when syntax cluster id is unknown
...
Problem: Leaking memory when syntax cluster id is unknown. (Coverity)
Solution: Free the memory.
2017-01-22 15:28:55 +01:00
Bram Moolenaar
ca24e2cfcf
patch 8.0.0213: Netbeans specialKeys command does not check argument length
...
Problem: The Netbeans "specialKeys" command does not check if the argument
fits in the buffer. (Coverity)
Solution: Add a length check.
2017-01-22 15:19:22 +01:00
Bram Moolenaar
423977d3ce
patch 8.0.0212: buffer for key name may be too small
...
Problem: The buffer used to store a key name theoreticaly could be too
small. (Coverity)
Solution: Count all possible modifier characters. Add a check for the
length just in case.
2017-01-22 15:05:12 +01:00
Kazuki Sakamoto
88c8df3f81
Merge remote-tracking branch 'vim/master'
2017-01-21 13:55:41 -08:00
Bram Moolenaar
560379d7ae
patch 8.0.0211: cannot build without the multi-byte feature
...
Problem: Build fails if the multi-byte feature is disabled.
Solution: Change #ifdef around ins_char_bytes.
2017-01-21 22:50:00 +01:00
Kazuki Sakamoto
33ed6029da
Merge remote-tracking branch 'vim/master'
2017-01-21 13:45:16 -08:00
Bram Moolenaar
ec2da36ca4
patch 8.0.0210: no support for bracketed paste
...
Problem: Vim does not support bracketed paste, as implemented by xterm and
other terminals.
Solution: Add t_BE, t_BD, t_PS and t_PE.
2017-01-21 20:04:22 +01:00
Bram Moolenaar
41baa7983a
patch 8.0.0209: cursor binding does not work with :substitute
...
Problem: When using :substitute with the "c" flag and 'cursorbind' is set
the cursor is not updated in other windows.
Solution: Call do_check_cursorbind(). (Masanori Misono)
2017-01-21 14:45:09 +01:00
Kazuki Sakamoto
bf5eddebf1
Merge remote-tracking branch 'vim/master'
2017-01-20 17:31:07 -08:00
Bram Moolenaar
25b0e6b701
patch 8.0.0208: internally used commands end up in history
...
Problem: Internally used commands for CTRL-Z and mouse click end up in
history. (Matthew Malcomson)
Solution: Use do_cmdline_cmd() instead of stuffing them in the readahead
buffer. (James McCoy, closes #1395 )
2017-01-20 21:51:53 +01:00
Bram Moolenaar
23c9e8b3bc
patch 8.0.0207: leaking file descriptor when system() fails
...
Problem: Leaking file descriptor when system() cannot find the buffer.
(Coverity)
Solution: Close the file descriptor. (Dominique Pelle, closes #1398 )
2017-01-20 19:59:54 +01:00
Kazuki Sakamoto
a5f2cc0333
Merge remote-tracking branch 'vim/master'
2017-01-17 18:57:49 -08:00
Bram Moolenaar
8822744b4d
patch 8.0.0206: test coverage for :retab insufficient
...
Problem: Test coverage for :retab insufficient.
Solution: Add test for :retab. (Dominique Pelle, closes #1391 )
2017-01-17 22:16:00 +01:00
Bram Moolenaar
5e4e1b1299
patch 8.0.0205: wrong behavior after :undojoin
...
Problem: After :undojoin some commands don't work properly, such as :redo.
(Matthew Malcomson)
Solution: Don't set curbuf->b_u_curhead. (closes #1390 )
2017-01-17 22:09:45 +01:00
Bram Moolenaar
eb46f8fa14
patch 8.0.0204: compiler warns for uninitialized variable
...
Problem: Compiler warns for uninitialized variable. (Tony Mechelynck)
Solution: When skipping set "id" to -1.
2017-01-17 19:48:53 +01:00
Bram Moolenaar
6e78e27b8a
patch 8.0.0203: order of complication flags is sometimes wrong
...
Problem: Order of complication flags is sometimes wrong.
Solution: Put interface-specific flags before ALL_CFLAGS. (idea by Yousong
Zhou, closes #1100 )
2017-01-17 19:20:15 +01:00
Bram Moolenaar
4007ed4a5e
patch 8.0.0202: no test for invalid syntax group name
...
Problem: No test for invalid syntax group name.
Solution: Add a test for group name error and warning.
2017-01-17 18:14:54 +01:00
Bram Moolenaar
d61e8aaae5
patch 8.0.0201: completion of highlight groups includes cleared names
...
Problem: When completing a group name for a highlight or syntax command
cleared groups are included.
Solution: Skip groups that have been cleared.
2017-01-17 17:44:46 +01:00
Bram Moolenaar
58f60ca2fc
patch 8.0.0200: some syntax arguments are not tested
...
Problem: Some syntax arguments are not tested.
Solution: Add more syntax command tests.
2017-01-17 17:19:00 +01:00
Bram Moolenaar
6d721c7e10
patch 8.0.0199: compiler warnings for libcall
...
Problem: Warning for an unused parameter when the libcall feature is
disabled. Warning for a function type cast when compiling with
-pedantic.
Solution: Add UNUSED. Use a different type cast. (Damien Molinier)
2017-01-17 16:56:28 +01:00
Bram Moolenaar
de318c5c35
patch 8.0.0198: some syntax arguments take effect even after "if 0"
...
Problem: Some syntax arguments take effect even after "if 0". (Taylor
Venable)
Solution: Properly skip the syntax statements. Make "syn case" and "syn
conceal" report the current state. Fix that "syn clear" didn't
reset the conceal flag. Add tests for :syntax skipping properly.
2017-01-17 16:27:10 +01:00
Bram Moolenaar
369b6f57c4
Update runtime files.
2017-01-17 12:22:32 +01:00
Bram Moolenaar
97d62d4321
patch 8.0.0197: system() test skips some parts for MS-Windows
...
Problem: On MS-Windows the system() test skips a few parts.
Solution: Swap single and double quotes for the command.
2017-01-16 22:53:57 +01:00
Bram Moolenaar
c011a3d083
patch 8.0.0196: profile test is slo and does not work on MS-Windows
...
Problem: The test for :profile is slow and does not work on MS-Windows.
Solution: Use the "-es" argument. (Dominique Pelle) Swap single and double
quotes for system()
2017-01-16 22:37:42 +01:00
Bram Moolenaar
a9d23c2087
patch 8.0.0195: fail to jump to static tag in current file
...
Problem: Jumping to a tag that is a static item in the current file fails.
(Kazunobu Kuriyama)
Solution: Make sure the first byte of the tag key is not NUL. (Suggested by
James McCoy, closes #1387 )
2017-01-16 20:53:34 +01:00
Bram Moolenaar
e32bbded64
patch 8.0.0194: profile tests fails if total and self time are equal
...
Problem: Profile tests fails if total and self time are equal.
Solution: Make one time optional.
2017-01-15 21:12:48 +01:00
Bram Moolenaar
1b9750d805
patch 8.0.0193: accidentally removed #ifdef
...
Problem: Accidentally removed #ifdef.
Solution: Put it back. (Masanori Misono)
2017-01-15 20:51:37 +01:00
Bram Moolenaar
42b8d916c7
patch 8.0.0192: cannot build with tiny features
...
Problem: Build fails with tiny features.
Solution: Change #ifdef for hash_clear(). Avoid warning for unused
argument.
2017-01-15 17:18:57 +01:00
Bram Moolenaar
4f391796b7
patch 8.0.0191: can't build with Ruby on some systems
...
Problem: Some systems do not have ruby_sysinit(), causing the build to
fail.
Solution: Clean up how ruby_sysinit() and NtInitialize() are used. (Taro
Muraoka)
2017-01-15 16:59:07 +01:00
Bram Moolenaar
810f9c361c
patch 8.0.0190: finding duplicate tags uses a slow linear search
...
Problem: Detecting duplicate tags uses a slow linear search.
Solution: Use a much faster hash table solution. (James McCoy, closes #1046 )
But don't add hi_keylen, it makes hash tables 50% bigger.
2017-01-15 16:52:51 +01:00
Bram Moolenaar
296b1f28ca
patch 8.0.0189: profile commands are not tested
...
Problem: There are no tests for the :profile command.
Solution: Add tests. (Dominique Pelle, closes #1383 )
2017-01-15 15:22:33 +01:00
Bram Moolenaar
9506cad7a1
patch 8.0.0188: redrawing for 'cursorbind' is inefficient
...
Problem: Using NOT_VALID for redraw_later() to update the cursor
line/column highlighting is not efficient.
Solution: Call validate_cursor() when 'cul' or 'cuc' is set.
2017-01-15 13:53:49 +01:00
Kazuki Sakamoto
d5069d644e
Merge remote-tracking branch 'vim/master'
2017-01-14 19:01:41 -08:00
Bram Moolenaar
fe6ce331d9
patch 8.0.0187: cant build with new Ruby version
...
Problem: Building with a new Ruby version fails.
Solution: Use ruby_sysinit() instead of NtInitialize(). (Tomas Volf,
closes #1382 )
2017-01-14 20:12:01 +01:00
Bram Moolenaar
5869cf060e
patch 8.0.0186: confusing error message from assert_notequal()
...
Problem: The error message from assert_notequal() is confusing.
Solution: Only mention the expected value.
2017-01-14 20:06:14 +01:00
Bram Moolenaar
fad609d067
patch 8.0.0185: system() test fails on MS-Windows
...
Problem: The system() test fails on MS-Windows.
Solution: Skip the test on MS-Windows.
2017-01-14 19:38:36 +01:00
Bram Moolenaar
2b7bc567b9
patch 8.0.0184: when an error is caught Vim still exits with non-zero result
...
Problem: When in Ex mode and an error is caught by try-catch, Vim still
exits with a non-zero exit code.
Solution: Don't set ex_exitval when inside a try-catch. (partly by Christian
Brabandt)
2017-01-14 19:24:52 +01:00
Bram Moolenaar
7173b47958
patch 8.0.0183: ubsan warns for unaligned address
...
Problem: Ubsan warns for using a pointer that is not aligned.
Solution: First copy the address. (Yegappan Lakshmanan)
2017-01-14 17:04:38 +01:00
Bram Moolenaar
e47683a091
patch 8.0.0182: cursor ilne not update when 'cursorbind' is set
...
Problem: When 'cursorbind' and 'cursorline' are set, but 'cursorcolumn' is
not, then the cursor line highlighting is not updated. (Hirohito
Higashi)
Solution: Call redraw_later() with NOT_VALID.
2017-01-14 15:52:46 +01:00
Bram Moolenaar
519d7785f4
patch 8.0.0181: with cursorbind set cursor column highlighting is off
...
Problem: When 'cursorbind' and 'cursorcolumn' are both on, the column
highlignt in non-current windows is wrong.
Solution: Add validate_cursor(). (Masanori Misono, closes #1372 )
2017-01-14 14:54:33 +01:00
Bram Moolenaar
83381f7129
patch 8.0.0180: error E937 is used twice
...
Problem: Error E937 is used both for duplicate key in JSON and for trying
to delete a buffer that is in use.
Solution: Rename the JSON error to E938. (Norio Takagi, closes #1376 )
2017-01-14 14:36:08 +01:00
Bram Moolenaar
9be7c04e6c
patch 8.0.0179: cannot have a local value for 'formatprg'
...
Problem: 'formatprg' is a global option but the value may depend on the
type of buffer. (Sung Pae)
Solution: Make 'formatprg' global-local. (closes #1380 )
2017-01-14 14:28:30 +01:00
Kazuki Sakamoto
40bc4e9b8d
Merge remote-tracking branch 'vim/master'
2017-01-13 21:21:49 -08:00
Bram Moolenaar
9b73c4a215
patch 8.0.0178: command count test fails on MS-Windows
...
Problem: test_command_count may fail when a previous test interferes, seen
on MS-Windows.
Solution: Run it separately.
2017-01-13 22:30:08 +01:00
Bram Moolenaar
e13b9afe12
patch 8.0.0177: BufEnter autocommand not fired for a directory
...
Problem: When opening a buffer on a directory and inside a try/catch then
the BufEnter event is not triggered.
Solution: Return NOTDONE from readfile() for a directory and deal with the
three possible return values. (Justin M. Keyes, closes #1375 ,
closes #1353 )
2017-01-13 22:01:02 +01:00
Kazuki Sakamoto
0bdef250b2
Merge remote-tracking branch 'vim/master'
2017-01-12 20:48:36 -08:00
Bram Moolenaar
70bcd7336f
patch 8.0.0176: cannot use :change inside a function definition
...
Problem: Using :change in between :function and :endfunction fails.
Solution: Recognize :change inside a function. (ichizok, closes #1374 )
2017-01-12 22:20:54 +01:00
Bram Moolenaar
972c3b8f1b
patch 8.0.0175: setting language on MS-Windows does not always work
...
Problem: Setting language in gvim on MS-Windows does not work when
libintl.dll is dynamically linked with msvcrt.dll.
Solution: Use putenv() from libintl as well. (Ken Takata, closes #1082 )
2017-01-12 21:44:49 +01:00
Bram Moolenaar
b8f7bd68f6
patch 8.0.0174: executing "locale -a" on MS-Windows needlessly
...
Problem: For completion "locale -a" is executed on MS-Windows, even though
it most likely won't work.
Solution: Skip executing "locale -a" on MS-Windows. (Ken Takata)
2017-01-12 20:28:25 +01:00
Bram Moolenaar
a1fa892939
patch 8.0.0173: build fails with EBCDIC defined
...
Problem: When compiling with EBCDIC defined the build fails. (Yaroslav
Kuzmin)
Solution: Move sortFunctions() to the right file. Avoid warning for
redefining __SUSV3.
2017-01-12 20:06:33 +01:00
Kazuki Sakamoto
220f000f59
MacVim Snapshot 121
...
Binary targets macOS 10.8+
- Vim patch 8.0.0172
Script interfaces have compatibility with these versions
- Lua 5.2
- Perl 5.16
- Python2 2.7
- Python3 3.6
- Ruby 2.0
2017-01-11 18:27:36 -08:00
Kazuki Sakamoto
9c4147192a
Merge remote-tracking branch 'vim/master'
2017-01-11 18:27:00 -08:00
Bram Moolenaar
1d669c233c
patch 8.0.0172: command line window does not work
...
Problem: The command selected in the command line window is not executed.
(Andrey Starodubtsev)
Solution: Save and restore the command line at a lower level. (closes #1370 )
2017-01-11 22:40:19 +01:00
Bram Moolenaar
ee142add22
patch 8.0.0171: JS style JSON does not support single quotes
...
Problem: JS style JSON does not support single quotes.
Solution: Allow for single quotes. (Yasuhiro Matsumoto, closes #1371 )
2017-01-11 21:50:08 +01:00
Bram Moolenaar
e32abbe42c
patch 8.0.0170: crash in channel test
...
Problem: Channel test fails for using freed memory.
Solution: Fix memory use in json_decode().
2017-01-10 22:57:34 +01:00
Bram Moolenaar
8b2f19536f
patch 8.0.0169: json_decode() may run out of stack space
...
Problem: For complicated string json_decode() may run out of stack space.
Solution: Change the recursive solution into an iterative solution.
2017-01-10 19:44:18 +01:00
Bram Moolenaar
872004132f
patch 8.0.0168: not all float functionality is tested
...
Problem: Still some float functionality is not covered by tests.
Solution: Add more tests. (Dominique Pelle, closes #1364 )
2017-01-10 16:31:20 +01:00
Bram Moolenaar
08243d26d2
patch 8.0.0167: str2nr()/str2float() fail with negative values
...
Problem: str2nr() and str2float() do not always work with negative values.
Solution: Be more flexible about handling signs. (LemonBoy, closes #1332 )
Add more tests.
2017-01-10 16:12:29 +01:00
Bram Moolenaar
03c60c1573
patch 8.0.0166: JSON with a duplicate key gives an internal error
...
Problem: JSON with a duplicate key gives an internal error. (Lcd)
Solution: Give a normal error. Avoid an error when parsing JSON from a
remote client fails.
2017-01-10 15:15:37 +01:00
Bram Moolenaar
f446b48ff0
patch 8.0.0165: ubsan warns for integer overflow
...
Problem: Ubsan warns for integer overflow.
Solution: Swap two conditions. (Dominique Pelle)
2017-01-10 13:55:14 +01:00
Bram Moolenaar
caa55b65c2
patch 8.0.0164: outdated and misplaced comments
...
Problem: Outdated and misplaced comments.
Solution: Fix the comments.
2017-01-10 13:51:09 +01:00
Bram Moolenaar
68563937f5
Updated runtime files.
2017-01-10 13:31:15 +01:00
Kazuki Sakamoto
8be81c4e3b
Merge remote-tracking branch 'vim/master'
2017-01-09 12:41:42 -08:00
Bram Moolenaar
6abda995a5
patch 8.0.0163: cannot build with Ruby 2.4
...
Problem: Ruby 2.4 no longer supports rb_cFixnum.
Solution: move rb_cFixnum into an #ifdef. (Kazuki Sakamoto, closes #1365 )
2017-01-09 21:10:31 +01:00
Bram Moolenaar
009c7b2640
patch 8.0.0162: build error on Fedora 23
...
Problem: Build error on Fedora 23 with small features and gnome2.
Solution: Undefine ngettext(). (Hirohito Higashi)
2017-01-09 20:30:27 +01:00
Bram Moolenaar
4d0504019c
patch 8.0.0161: can't build with small features
...
Problem: Build fails when using small features.
Solution: Update #ifdef for using save_ccline. (Hirohito Higashi)
2017-01-09 12:58:11 +01:00
Kazuki Sakamoto
acc11d1692
Merge remote-tracking branch 'vim/master'
2017-01-08 16:41:27 -08:00
Bram Moolenaar
de33011ec6
patch 8.0.0160: EMSG() is sometimes used where it should be IEMSG()
...
Problem: EMSG() is sometimes used for internal errors.
Solution: Change them to IEMSG(). (Dominique Pelle) And a few more.
2017-01-08 20:50:52 +01:00
Bram Moolenaar
c695cec469
patch 8.0.0159: crash on startup when updating tabline
...
Problem: Using a NULL pointer when using feedkeys() to trigger drawing a
tabline.
Solution: Skip drawing a tabline if TabPageIdxs is NULL. (Dominique Pelle)
Also fix recursing into getcmdline() from the cmd window.
2017-01-08 20:00:04 +01:00
Bram Moolenaar
6247361101
patch 8.0.0158: float funcion test fails on MS-Windows
...
Problem: On MS-Windows some float functions return a different value when
passed unusual values. strtod() doesn't work for "inf" and "nan".
Solution: Accept both results. Fix str2float() for MS-Windows. Also
reorder assert function arguments.
2017-01-08 19:25:40 +01:00
Bram Moolenaar
2d02839050
patch 8.0.0157: no completion for :syntax spell and :syntax sync
...
Problem: No command line completion for ":syntax spell" and ":syntax sync".
Solution: Implement the completion. (Dominique Pelle)
2017-01-08 18:28:22 +01:00
Bram Moolenaar
453b576ee5
patch 8.0.0156: not enough test coverage for float functions
...
Problem: Several float functions are not covered by tests.
Solution: Add float tests. (Dominique Pelle)
2017-01-08 17:59:14 +01:00
Bram Moolenaar
a216255a4f
patch 8.0.0155: ubsan complains about NULL pointer
...
Problem: When sorting zero elements a NULL pointer is passed to qsort(),
which ubsan warns for.
Solution: Don't call qsort() if there are no elements. (Dominique Pelle)
2017-01-08 17:46:20 +01:00
Bram Moolenaar
31f19ce0a0
patch 8.0.0154: system() test fails on OS/X
...
Problem: system() test fails on OS/X.
Solution: Deal with leading spaces.
2017-01-08 14:14:43 +01:00
Bram Moolenaar
9d9c356517
patch 8.0.0153: system() test fails on MS-Windows
...
Problem: system() test fails on MS-Windows.
Solution: Deal when extra space and CR.
2017-01-08 13:55:06 +01:00
Bram Moolenaar
04e94c7881
patch 8.0.0152: stray channellog created when running tests
...
Problem: Running the channel test creates channellog.
Solution: Delete the debug line.
2017-01-08 13:38:58 +01:00
Bram Moolenaar
12c4492dd3
patch 8.0.0151: passing buffer content to system() is clumsy
...
Problem: To pass buffer content to system() and systemlist() one has to
first create a string or list.
Solution: Allow passing a buffer number. (LemonBoy, closes #1240 )
2017-01-08 13:26:03 +01:00
Kazuki Sakamoto
386ade3ae2
Merge remote-tracking branch 'vim/master'
2017-01-07 19:29:26 -08:00
Bram Moolenaar
7069bf18e1
patch 8.0.0150: completion for :filter does not skip the pattern
...
Problem: When the pattern of :filter does not have a separator then
completion of the command fails.
Solution: Skip over the pattern. (Ozaki Kiichi, clodes #1299 )
2017-01-07 20:39:53 +01:00
Bram Moolenaar
cbd4de44e8
patch 8.0.0149: :earlier does not work after reading the undo file
...
Problem: ":earlier" and ":later" do not work after startup or reading the
undo file.
Solution: Use absolute time stamps instead of relative to the Vim start
time. (Christian Brabandt, Pavel Juhas, closes #1300 , closes
#1254 )
2017-01-07 16:14:57 +01:00
Bram Moolenaar
c6aa475a27
patch 8.0.0148: wrong indent in C preprocessor with line continuation
...
Problem: When a C preprocessor statement has two line continuations the
following line does not have the right indent. (Ken Takata)
Solution: Add the indent of the previous continuation line. (Hirohito
Higashi)
2017-01-07 15:39:43 +01:00
Kazuki Sakamoto
1b14651629
Merge remote-tracking branch 'vim/master'
2017-01-06 22:27:32 -08:00
Bram Moolenaar
6e450a5754
patch 8.0.0147: searchpair() fails when 'magic' is off
...
Problem: searchpair() does not work when 'magic' is off. (Chris Paul)
Solution: Add \m in the pattern. (Christian Brabandt, closes #1341 )
2017-01-06 20:03:58 +01:00
Bram Moolenaar
287266527a
patch 8.0.0146: termguicolors uses wrong colors on MS-Windows with ConEmu
...
Problem: When using 'termguicolors' on MS-Windows the RGB definition causes
the colors to be wrong.
Solution: Undefined RGB and use our own. (Gabriel Barta)
2017-01-06 18:16:19 +01:00
Bram Moolenaar
29891c4ed4
patch 8.0.0145: running tests on MS-Windows is noisy
...
Problem: Running tests on MS-Windows is a little bit noisy.
Solution: Redirect some output to "nul". (Ken Takata)
2017-01-06 18:00:12 +01:00
Bram Moolenaar
aaeabfbca5
Only install coveralls when used.
2017-01-06 16:47:24 +01:00
Bram Moolenaar
14a612fa2e
Better solution to make coveralls work again.
2017-01-06 16:35:04 +01:00
Bram Moolenaar
7034a83743
Tune travis config for coverage with gcc only.
2017-01-06 16:01:59 +01:00
Bram Moolenaar
a4ce25bd98
Another attempt to make coveralls work.
2017-01-06 15:37:45 +01:00
Bram Moolenaar
294740d2ac
Attempt to make coverage working again.
2017-01-06 15:28:44 +01:00
Bram Moolenaar
9269315f63
patch 8.0.0144: when using MSVC the GvimExt directory is cleaned twice
...
Problem: When using MSVC the GvimExt directory is cleaned twice.
Solution: Remove the lines. (Ken Takata)
2017-01-06 14:55:36 +01:00
Bram Moolenaar
f845b87f2b
patch 8.0.0143: line number of current buffer in getbufinfo() is wrong
...
Problem: Line number of current buffer in getbufinfo() is wrong.
Solution: For the current buffer use the current line number. (Ken Takata)
2017-01-06 14:04:54 +01:00
Kazuki Sakamoto
4374735576
Merge pull request #439 from zebHub/master
...
Three window level actions
2017-01-04 23:04:14 -08:00
Yousef El-Zebdeh
1e3514c02e
Renamamed methods and inteface labels
...
Stay On Bottom > Stay in Back
Stay On Top > Stay in Front
These fit closer to Apple's terminology as seen with iOS simulator.
2017-01-05 06:24:09 +00:00
Kazuki Sakamoto
8133aa23f0
Fix Homebrew build
2017-01-04 22:15:43 -08:00
Kazuki Sakamoto
290ed88c0b
Fix configure.ac for RUBY_CFLAGS
2017-01-04 20:33:11 -08:00
Kazuki Sakamoto
f9ed667087
Fix configure for RUBY_CFLAGS
2017-01-04 20:25:57 -08:00
Yousef El-Zebdeh
263115a528
Three window level actions
...
Added three window level functions to MMAppController. These allow the
window to float on top, stay on bottom or revert back to normal status.
I have also added the commands to the Actions.plist. The commands were
added using the menu.vim file.
2017-01-05 02:40:56 +00:00
Kazuki Sakamoto
6127f5c9eb
MacVim Snapshot 120
...
Binary targets macOS 10.8+
- Vim patch 8.0.0142
Script interfaces have compatibility with these versions
- Lua 5.2
- Perl 5.16
- Python2 2.7
- Python3 3.6
- Ruby 2.0
2017-01-03 19:42:52 -08:00
Kazuki Sakamoto
921d522f70
Python 3.6
2017-01-02 18:16:50 -08:00
Kazuki Sakamoto
a1a2788ffa
Merge remote-tracking branch 'vim/master'
2017-01-02 18:16:44 -08:00
Bram Moolenaar
0cdb72aa38
patch 8.0.0142
...
Problem: Normal colors are wrong with 'termguicolors'.
Solution: Initialize to INVALCOLOR instead of zero. (Ben Jackson, closes
#1344 )
2017-01-02 21:37:40 +01:00
Bram Moolenaar
bc2eada542
Updated runtime files.
2017-01-02 21:27:47 +01:00
Kazuki Sakamoto
c6e15ba8e7
Merge remote-tracking branch 'vim/master'
2017-01-02 12:01:03 -08:00
Bram Moolenaar
269aec7e61
patch 8.0.0141
...
Problem: Nested function test fails on AppVeyor.
Solution: Disable the test on Windows for now.
2017-01-02 18:32:39 +01:00
Bram Moolenaar
f8eb9c51e5
patch 8.0.0140
...
Problem: Pasting inserted text in Visual mode does not work properly.
(Matthew Malcomson)
Solution: Stop Visual mode before stuffing the inserted text. (Christian
Brabandt, from neovim #5709 )
2017-01-02 17:31:24 +01:00
Bram Moolenaar
5e1e6d265d
patch 8.0.0139
...
Problem: Warning for unused argument.
Solution: Add UNUSED.
2017-01-02 17:26:00 +01:00
Bram Moolenaar
b094ff4b2b
patch 8.0.0138
...
Problem: Small build fails.
Solution: Add #ifdef.
2017-01-02 16:16:39 +01:00
Bram Moolenaar
777b30f827
patch 8.0.0137
...
Problem: When 'maxfuncdepth' is set above 200 the nesting is limited to
200. (Brett Stahlman)
Solution: Allow for Ex command recursion depending on 'maxfuncdepth'.
2017-01-02 15:26:27 +01:00
Bram Moolenaar
54b2bfa399
patch 8.0.0136
...
Problem: When using indent folding and changing indent the wrong fold is
opened. (Jonathan Fudger)
Solution: Open the fold under the cursor a bit later. (Christian Brabandt)
2017-01-02 14:57:08 +01:00
Bram Moolenaar
ded2782783
patch 8.0.0135
...
Problem: An address relative to the current line, ":.,+3y", does not work
properly on a closed fold. (Efraim Yawitz)
Solution: Correct for including the closed fold. (Christian Brabandt)
2017-01-02 14:27:34 +01:00
Kazuki Sakamoto
4bf9153e6d
Merge remote-tracking branch 'vim/master'
2016-12-15 01:41:13 -08:00
Bram Moolenaar
c4bfedabe0
patch 8.0.0134
...
Problem: Null pointer access reported by UBsan.
Solution: Check curwin->w_buffer is not NULL. (Yegappan Lakshmanan)
2016-12-14 21:42:00 +01:00
Kazuki Sakamoto
7c0d06c170
Merge remote-tracking branch 'vim/master'
2016-12-11 20:33:11 -08:00
Bram Moolenaar
fe38b494ff
patch 8.0.0133
...
Problem: "2;'(" causes ml_get errors in an empty buffer. (Dominique Pelle)
Solution: Check the cursor line earlier.
2016-12-11 21:34:23 +01:00
Bram Moolenaar
4c8980b717
patch 8.0.0132
...
Problem: Test fails because of using :finish.
Solution: Change to return.
2016-12-11 15:24:48 +01:00
Bram Moolenaar
73b484c4da
patch 8.0.0131
...
Problem: Not enough test coverage for syntax commands.
Solution: Add more tests. (Dominique Pelle)
2016-12-11 15:11:17 +01:00
Kazuki Sakamoto
f5464c4b19
Merge remote-tracking branch 'vim/master'
2016-12-09 22:19:55 -08:00
Bram Moolenaar
63de19e805
patch 8.0.0130
...
Problem: Configure uses "ushort" while the Vim code doesn't.
Solution: Use "unsigned short" instead. (Fredrik Fornwall, closes #1314 )
2016-12-09 20:11:26 +01:00
Bram Moolenaar
0df3c7f2a0
patch 8.0.0129
...
Problem: Parallel make still doesn't work. (Lewis Muir)
Solution: Define OBJ_MAIN.
2016-12-09 19:57:14 +01:00
Bram Moolenaar
7089237885
patch 8.0.0128
...
Problem: Display test fails on MS-Windows.
Solution: Set 'isprint' to "@".
2016-12-09 19:51:49 +01:00
Bram Moolenaar
73fd498886
patch 8.0.0127
...
Problem: Cancelling completion still inserts text when formatting is done
for 'textwidth'. (lacygoill)
Solution: Don't format when CTRL-E was typed. (Hirohito Higashi,
closes #1312 )
2016-12-09 19:36:56 +01:00
Bram Moolenaar
6270660611
patch 8.0.0126
...
Problem: Display problem with 'foldcolumn' and a wide character.
(esiegerman)
Solution: Don't use "extra" but an allocated buffer. (Christian Brabandt,
closes #1310 )
2016-12-09 19:28:48 +01:00
Bram Moolenaar
eaaa9bbda6
patch 8.0.0125
...
Problem: Not enough testing for entering Ex commands.
Solution: Add test for CTRL-\ e {expr}. (Dominique Pelle)
2016-12-09 18:42:20 +01:00
Kazuki Sakamoto
e61a091ac1
MacVim Snapshot 119
...
Binary targets macOS 10.8+
- Vim patch 8.0.0124
- Fixed crash with Python.org 3.5.2 binary
Script interfaces have compatibility with these versions
- Lua 5.2
- Perl 5.16
- Python2 2.7
- Python3 3.5.2
- Ruby 2.0
2016-12-08 23:51:57 -08:00
Kazuki Sakamoto
7c7e807cb3
Merge pull request #434 from macvim-dev/fix/pythonthreehome
...
Fix Py_SetPythonHome calling
2016-12-08 23:47:59 -08:00
Kazuki Sakamoto
1d88ecc753
Fix Py_SetPythonHome calling
...
The pointer for Py_SetPythonHome shouldn't be freed
2016-12-08 23:46:31 -08:00
Kazuki Sakamoto
5ff38b0d07
MacVim Snapshot 118
...
Binary targets macOS 10.8+
- Vim patch 8.0.0124
- Fixed crash in :set
Script interfaces have compatibility with these versions
- Lua 5.2
- Perl 5.16
- Python2 2.7
- Python3 3.5.2
- Ruby 2.0
2016-12-07 12:30:48 -08:00
Kazuki Sakamoto
e3f9841f59
Merge pull request #433 from macvim-dev/fix/option
...
Fix :set crash
2016-12-07 12:29:21 -08:00
Kazuki Sakamoto
1de4548643
Fix :set crash
...
P_STRING option default value can't be NULL
2016-12-07 12:25:16 -08:00
Kazuki Sakamoto
fd114bd289
Merge pull request #430 from macvim-dev/MMUseCGLayerAlwaysKey
...
Introduce MMUseCGLayerAlways user default
2016-12-04 17:24:02 -08:00
Kazuki Sakamoto
b115d75a66
Introduce MMUseCGLayerAlways user default
...
Add user default key `MMUseCGLayerAlways` to control to use CGLayer
rendering always in Core Text Renderer.
$ defaults write org.vim.MacVim MMUseCGLayerAlways -bool YES
2016-12-04 17:10:02 -08:00
Kazuki Sakamoto
4f653a19c5
Add setNeedsDisplayCGLayerInRect and setNeedsDisplayCGLayer
2016-12-04 16:41:34 -08:00
Ben Osheroff
2fb08d3456
draw the layer from the background thread
...
during layer draw we know what parts of the screen will need repainting,
so we can call set setNeedsDisplayInRect and do a partial draw of the
screen. This brings down overall keyDown-to-drawRect(finish) latency
when in "layer" mode from 17ms to 4.5ms (about what the "stock" CoreText
renderer does).
2016-12-04 16:33:19 -08:00
Kazuki Sakamoto
675446da32
Merge remote-tracking branch 'vim/master'
2016-12-04 12:00:50 -08:00
Bram Moolenaar
3421566376
patch 8.0.0124
...
Problem: Internal error for assert_inrange(1, 1).
Solution: Adjust number of allowed arguments. (Dominique Pelle)
2016-12-04 13:37:41 +01:00
Kazuki Sakamoto
079c0c9d4a
Merge remote-tracking branch 'vim/master'
2016-12-03 20:58:26 -08:00
Bram Moolenaar
a899e6ecc4
patch 8.0.0123
...
Problem: Modern Sun compilers define "__sun" instead of "sun".
Solution: Use __sun. (closes #1296 )
2016-12-03 16:40:51 +01:00
Bram Moolenaar
3fad98e8af
patch 8.0.0122
...
Problem: Channel test is still flaky on OS X.
Solution: Add a short sleep.
2016-12-03 15:23:40 +01:00
Bram Moolenaar
a2477fd349
patch 8.0.0121
...
Problem: Setting 'cursorline' changes the curswant column. (Daniel Hahler)
Solution: Add the P_RWINONLY flag. (closes #1297 )
2016-12-03 15:13:20 +01:00
Bram Moolenaar
5643db84c6
patch 8.0.0120
...
Problem: Channel test is still flaky on OS X.
Solution: Set the drop argument to "never".
2016-12-03 14:29:10 +01:00
Bram Moolenaar
21efc3633e
patch 8.0.0119
...
Problem: No test for using CTRL-R on the command line.
Solution: Add a test. (Dominique Pelle) And some more.
2016-12-03 14:05:49 +01:00
Kazuki Sakamoto
d96d409df8
Merge remote-tracking branch 'vim/master'
2016-12-02 20:55:59 -08:00
Bram Moolenaar
99c5eb4fd7
Add objects dirstamp to gitignore.
2016-12-02 21:24:21 +01:00
Bram Moolenaar
5162822914
patch 8.0.0118
...
Problem: "make proto" adds extra function prototype.
Solution: Add #ifdef.
2016-12-01 23:03:28 +01:00
Bram Moolenaar
cf49790443
Updated runtime files.
2016-12-01 22:57:02 +01:00
Bram Moolenaar
327054df45
patch 8.0.0117
...
Problem: Parallel make fails. (J. Lewis Muir)
Solution: Make sure the objects directory exists. (closes #1259 )
2016-12-01 21:46:14 +01:00
Bram Moolenaar
6dbf66aa3e
patch 8.0.0116
...
Problem: When reading English help and using CTRl-] the language from
'helplang' is used.
Solution: Make help tag jumps keep the language. (Tatsuki, test by Hirohito
Higashi, closes #1249 )
2016-12-01 21:32:32 +01:00
Bram Moolenaar
e3af763d5e
patch 8.0.0115
...
Problem: When building with Cygwin libwinpthread isn't found.
Solution: Link winpthread statically. (jmmerz, closes #1255 , closes #1256 )
2016-12-01 20:37:47 +01:00
Bram Moolenaar
b04a98f6c3
patch 8.0.0114
...
Problem: Coding style not optimal.
Solution: Add spaces. (Ken Takata)
2016-12-01 20:32:29 +01:00
Bram Moolenaar
87f3d202a9
patch 8.0.0113
...
Problem: MS-Windows: message box to prompt for saving changes may appear on
the wrong monitor.
Solution: Adjust the CenterWindow function. (Ken Takata)
2016-12-01 20:18:50 +01:00
Bram Moolenaar
eca626fcdb
patch 8.0.0112
...
Problem: Tests 92 and 93 are old style.
Solution: Make test92 and test93 new style. (Hirohito Higashi, closes #1289 )
2016-12-01 18:47:38 +01:00
Bram Moolenaar
eebd84eb94
patch 8.0.0111
...
Problem: The :history command is not tested.
Solution: Add tests. (Dominique Pelle)
2016-12-01 17:57:44 +01:00
Bram Moolenaar
5a030a540f
patch 8.0.0110
...
Problem: Drop command doesn't use existing window.
Solution: Check the window width properly. (Hirohito Higashi)
2016-12-01 17:48:29 +01:00
Bram Moolenaar
b129a447f3
patch 8.0.0109
...
Problem: Still checking if memcmp() exists while every system should have
it now.
Solution: Remove vim_memcmp(). (James McCoy, closes #1295 )
2016-12-01 17:25:20 +01:00
Bram Moolenaar
65e08ee1d2
patch 8.0.0108
...
Problem: The channel "drop" option is not tested.
Solution: Add a test.
2016-12-01 16:41:50 +01:00
Bram Moolenaar
958dc6923d
patch 8.0.0107
...
Problem: When reading channel output in a timer, messages may go missing.
(Skywind)
Solution: Add the "drop" option. Write error messages in the channel log.
Don't have ch_canread() check for the channel being open.
2016-12-01 15:34:12 +01:00
Kazuki Sakamoto
5cc2a2b8f8
MacVim Snapshot 117
...
Binary targets macOS 10.8+
- Vim patch 8.0.0106
- Fixed feedkeys in timer callback
- [Experimental] Automatic Python settings
- Python 2.7.x: Homebrew python2 or System's
- Python 3.5.2 or later: Homebrew python3 or python.org binary
Script interfaces have compatibility with these versions
- Lua 5.2
- Perl 5.16
- Python2 2.7
- Python3 3.5.2
- Ruby 2.0
2016-11-30 20:52:28 -08:00
Kazuki Sakamoto
34d4c9f566
Update README_mac.txt for MacVim
2016-11-29 20:58:03 -08:00
Kazuki Sakamoto
d05258ea2a
Merge remote-tracking branch 'vim/master'
2016-11-29 20:38:44 -08:00
Bram Moolenaar
0945eaface
patch 8.0.0106
...
Problem: Cannot use a semicolon in 'backupext'. (Jeff)
Solution: Allow for a few more characters when "secure" isn't set.
2016-11-29 22:10:48 +01:00
Bram Moolenaar
4b785f69c0
patch 8.0.0105
...
Problem: When using ch_read() with zero timeout, can't tell the difference
between reading an empty line and nothing available.
Solution: Add ch_canread().
2016-11-29 21:54:44 +01:00
Kazuki Sakamoto
1b15a7159b
Merge pull request #423 from macvim-dev/experimental/pythonhomeopt
...
[Experimental] Set pythonhome and pythonthreehome automatically
2016-11-28 22:13:16 -08:00
Kazuki Sakamoto
e3e3a15159
Set pythonhome and pythonthreehome automatically
...
MacVim uses Homebrew python2 if installed, otherwise System's
MacVim uses Homebrew python3 if installed, next try to use python.org binary
2016-11-28 22:10:23 -08:00
Kazuki Sakamoto
16974f80f9
Introduce pythonhome and pythonthreehome options
...
It is really difficult to set Python home directory properly for Python
2.7 and 3.5 in .vimrc at the same time since both versions use `$PYTHONHOME`
environment variable. Introduce `pythonhome` and `pythonthreehome`
options in order to set Python home directory via `Py_SetPythonHome` API
for both versions.
2016-11-28 20:53:43 -08:00
Kazuki Sakamoto
f9248a4311
Merge remote-tracking branch 'vim/master'
2016-11-28 20:51:35 -08:00
Bram Moolenaar
f422bcc7f9
patch 8.0.0104
...
Problem: Value of 'thesaurus' option not checked properly.
Solution: Add P_NDNAME flag. (Daisuke Suzuki)
2016-11-26 17:45:53 +01:00
Bram Moolenaar
8a8199e4a1
patch 8.0.0103
...
Problem: May not process channel readahead. (skywind)
Solution: If there is readahead don't block on input.
2016-11-26 15:13:33 +01:00
Bram Moolenaar
7554da4033
patch 8.0.0102
...
Problem: Cannot set 'dictionary' to a path.
Solution: Allow for slash and backslash. Add a test (partly by Daisuke
Suzuki, closes #1279 , closes #1284 )
2016-11-25 22:04:13 +01:00
Bram Moolenaar
031cb743ae
patch 8.0.0101
...
Problem: Some options are not strictly checked.
Solution: Add flags for strickter checks.
2016-11-24 21:46:19 +01:00
Bram Moolenaar
319afe3804
patch 8.0.0100
...
Problem: Options that are a file name may contain non-filename characters.
Solution: Check for more invalid characters.
2016-11-24 18:30:59 +01:00
Bram Moolenaar
73095288da
patch 8.0.0099
...
Problem: Popup menu always appears above the cursor when it is in the lower
half of the screen. (Matt Gardner)
Solution: Compute the available space better. (Hirohito Higashi,
closes #1241 )
2016-11-24 17:47:07 +01:00
Bram Moolenaar
58c358753e
patch 8.0.0098
...
Problem: Can't build on MS-Windows.
Solution: Add missing parenthesis.
2016-11-24 17:33:17 +01:00
Bram Moolenaar
833eb1d752
patch 8.0.0097
...
Problem: When a channel callback consumes a lot of time Vim becomes
unresponsive. (skywind)
Solution: Bail out of checking channel readahead after 100 msec.
2016-11-24 17:22:50 +01:00
Bram Moolenaar
2cab0e1910
patch 8.0.0096
...
Problem: When the input or output is not a tty Vim appears to hang.
Solution: Add the --ttyfail argument. Also add the "ttyin" and "ttyout"
features to be able to check in Vim script.
2016-11-24 15:09:07 +01:00
Kazuki Sakamoto
f7c4ef23fa
Merge pull request #417 from ichizok/fix/timer-feedkeys
...
Fix job/channel/timer handling
2016-11-21 13:05:11 -08:00
Bram Moolenaar
182707ac10
patch 8.0.0095
...
Problem: Problems with GTK 3.22.2 fixed in 3.22.4.
Solution: Adjust the #ifdefs. (Kazunobu Kuriyama)
2016-11-21 20:55:58 +01:00
ichizok
c8b6fd59f0
Enable Test_exit_callback_interval()
2016-11-21 23:40:46 +09:00
ichizok
235364e825
Check for jobs and channels more often
2016-11-21 23:40:46 +09:00
ichizok
362a5c0b39
Fix feedkeys in timer callback
2016-11-21 23:40:46 +09:00
Kazuki Sakamoto
ca82514bff
Merge pull request #416 from macvim-dev/revert-415-fix/py3
...
Revert "Set Python3 settings automatically"
2016-11-20 22:37:01 -08:00
Kazuki Sakamoto
414abe65f1
Revert "Set Python3 settings automatically"
2016-11-20 22:36:32 -08:00
Kazuki Sakamoto
6cfc463126
Merge pull request #415 from macvim-dev/fix/py3
...
Set Python3 settings automatically
2016-11-20 22:13:24 -08:00
Kazuki Sakamoto
031dd64ad7
Set Python3 settings automatically
...
Supports
- Homebrew Python3 (Default)
- https://www.python.org/downloads/mac-osx/
2016-11-20 22:11:00 -08:00
Kazuki Sakamoto
c85f864c35
Merge pull request #413 from osheroff/layer_transparency
...
fixes for transparency + cgLayer code
2016-11-20 19:16:14 -08:00
Ben Osheroff
75c997049e
fixes for transparency + cgLayer code
2016-11-20 18:53:50 -08:00
Kazuki Sakamoto
109b8c134c
MacVim Snapshot 116
...
Binary targets macOS 10.8+
- Vim patch 8.0.0094
- Fixed Non-native fullscreen issue on 10.12 Sierra (#312 )
Script interfaces have compatibility with these versions
- Lua 5.2
- Perl 5.16
- Python2 2.7
- Python3 3.5.2
- Ruby 2.0
2016-11-20 01:08:04 -08:00
Kazuki Sakamoto
967b1a1814
Merge pull request #410 from macvim-dev/fix/fullscreen
...
Runtime 10.12 version check for CGLayer in non-native fullscreen
2016-11-20 00:35:38 -08:00
Kazuki Sakamoto
7fe35f8735
Runtime 10.12 version check for CGLayer in non-native fullscreen
2016-11-20 00:34:43 -08:00
Kazuki Sakamoto
cab4040499
Merge pull request #405 from osheroff/master
...
Fix problems with non-native fullscreen and mac 10.12
2016-11-20 00:32:37 -08:00
Kazuki Sakamoto
4dba9d1e2f
Merge remote-tracking branch 'vim/master'
2016-11-19 22:21:44 -08:00
Kazuki Sakamoto
aedaad51cf
Merge pull request #409 from macvim-dev/revert-408-xcode8.2
...
Revert "xcode8.2 on Travis CI"
2016-11-19 10:18:25 -08:00
Kazuki Sakamoto
fbf66f9918
Revert "xcode8.2 on Travis CI"
2016-11-19 10:18:11 -08:00
Bram Moolenaar
63e4344edc
patch 8.0.0094
...
Problem: When vimrun.exe is not found the error message is not properly
encoded.
Solution: Use utf-16 and MessageBoxW(). (Ken Takata)
2016-11-19 17:28:44 +01:00
Bram Moolenaar
dda39aeafc
patch 8.0.0093
...
Problem: Not using multiprocess build feature.
Solution: Enable multiprocess build with MSVC 10. (Ken Takata)
2016-11-19 17:17:12 +01:00
Kazuki Sakamoto
3129be9a78
Merge pull request #408 from macvim-dev/xcode8.2
...
xcode8.2 on Travis CI
2016-11-18 21:27:14 -08:00
Kazuki Sakamoto
7c8684761b
xcode8.2 on Travis CI
2016-11-18 21:26:31 -08:00
Kazuki Sakamoto
32418b98a0
Merge pull request #407 from macvim-dev/revert-406-fix/timer-feedkeys
...
Revert "Fix #401 "
2016-11-18 08:29:12 -08:00
Kazuki Sakamoto
abeb366f9f
Revert "Fix #401 "
2016-11-18 08:28:36 -08:00
Kazuki Sakamoto
28f88ac8e7
Merge pull request #406 from ichizok/fix/timer-feedkeys
...
Fix #401
2016-11-18 07:23:31 -08:00
ichizok
a6d11c71a0
Enable Test_exit_callback_interval()
2016-11-18 23:55:33 +09:00
ichizok
cf2ddc70a1
Check for jobs and channels more often
2016-11-18 23:55:32 +09:00
Kazuki Sakamoto
0b0e6b0350
MacVim Snapshot 115
...
Binary targets macOS 10.8+
- Vim patch 8.0.0092
Script interfaces have compatibility with these versions
- Lua 5.2
- Perl 5.16
- Python2 2.7
- Python3 3.5.2
- Ruby 2.0
2016-11-17 20:56:00 -08:00
Kazuki Sakamoto
deddd2587c
Merge remote-tracking branch 'vim/master'
2016-11-17 20:48:39 -08:00
Bram Moolenaar
ca8b8d6956
patch 8.0.0092
...
Problem: C indenting does not support nested namespaces that C++ 17 has.
Solution: Add check that passes double colon inside a name. (Pauli, closes
#1214 )
2016-11-17 21:30:27 +01:00
Bram Moolenaar
9f0e423c28
patch 8.0.0091
...
Problem: Test_help_complete sometimes fails in MS-Windows console.
Solution: Use getcompletion() instead of feedkeys() and command line
completion. (Hirohito Higashi)
2016-11-17 19:48:18 +01:00
Bram Moolenaar
6c896867c4
patch 8.0.0090
...
Problem: Test_help_complete sometimes fails in MS-Windows console.
Solution: Use getcompletion() instead of feedkeys() and command line
completion. (Hirohito Higashi)
2016-11-17 19:46:51 +01:00
Bram Moolenaar
a859f04b4d
patch 8.0.0089
...
Problem: Various problems with GTK 3.22.2.
Solution: Fix the problems, add #ifdefs. (Kazunobu Kuriyama)
2016-11-17 19:11:55 +01:00
Bram Moolenaar
cc28e2d05d
patch 8.0.0088
...
Problem: When a test fails in Setup or Teardown the problem is not reported.
Solution: Add a try/catch. (Hirohito Higashi)
2016-11-17 17:56:13 +01:00
Bram Moolenaar
7df915d113
patch 8.0.0087
...
Problem: When the channel callback gets job info the job may already have
been deleted. (lifepillar)
Solution: Do not delete the job when the channel is still useful. (ichizok,
closes #1242 , closes #1245 )
2016-11-17 17:25:32 +01:00
Bram Moolenaar
c0514bf477
Updated runtime files.
2016-11-17 14:50:09 +01:00
ichizok
1ed1ccc2c3
Fix feedkeys in timer callback
2016-11-17 05:36:07 +09:00
Kazuki Sakamoto
1de54de4ef
Merge remote-tracking branch 'vim/master'
2016-11-15 19:07:35 -08:00
Bram Moolenaar
2256c99471
patch 8.0.0086
...
Problem: Cannot add a comment after ":hide". (Norio Takagi)
Solution: Make it work, add a test. (Hirohito Higashi)
2016-11-15 21:17:07 +01:00
Ben Osheroff
4663f06f3e
Fix problems with non-native fullscreen and mac 10.12
...
When you set a borderless style on a subclasses window in 10.12, the
original behavior in which you could progressively draw partially on a
stale window seems to be gone; it blanks the thing after each draw. It's
totally unclear to me whether the CoreText engine as written was ever
"correct", or maybe it just "accidentally worked" -- no documentation on
the internets seems to indicate you're allowed to only draw CoreGraphics
updates to a window in drawRect.
This PR works around that by drawing onto a persistent background layer
which we then blit to the screen. This PR also makes resizing a
CoreGraphics view much smoother; the old code was pretty flickery.
addreses #312 .
2016-11-14 22:03:10 -08:00
Kazuki Sakamoto
914798ebeb
Merge remote-tracking branch 'vim/master'
2016-11-14 21:30:38 -08:00
Bram Moolenaar
8a01f969c1
patch 8.0.0085
...
Problem: Using freed memory with recursive function call. (Dominique Pelle)
Solution: Make a copy of the function name.
2016-11-14 21:50:00 +01:00
Kazuki Sakamoto
20d6ca2821
Merge remote-tracking branch 'vim/master'
2016-11-13 19:46:14 -08:00
Bram Moolenaar
7618e00d3b
patch 8.0.0084
...
Problem: Using freed memory when adding to a quickfix list. (Domenique
Pelle)
Solution: Clear the directory name.
2016-11-13 15:09:26 +01:00
Bram Moolenaar
8e63905263
patch 8.0.0083
...
Problem: Using freed memory with win_getid(). (Domenique Pelle)
Solution: For the current tab use curwin.
2016-11-13 14:31:40 +01:00
Kazuki Sakamoto
5d7520fbfe
Merge remote-tracking branch 'vim/master'
2016-11-12 20:23:57 -08:00
Kazuki Sakamoto
04561d6622
Merge pull request #404 from itaiferber/master
...
Report focus change on window key (not main)
2016-11-12 20:21:45 -08:00
Itai Ferber
2c1841d1d4
Report focus change on window key (not main)
...
MacVim should report FocusGained and FocusLost events not just when its
windows become main, but when they become key -- if a panel is opened,
or a background application (i.e. an LSUIElement app) becomes active,
MacVim should reflect the focus state.
2016-11-12 15:33:23 -08:00
Bram Moolenaar
3f7d090726
patch 8.0.0082
...
Problem: Extension for configure should be ".ac".
Solution: Rename configure.in to configure.ac. (James McCoy, closes #1173 )
2016-11-12 21:13:42 +01:00
Bram Moolenaar
d4db7719bd
patch 8.0.0081
...
Problem: Inconsistent function names.
Solution: Rename do_cscope to ex_cscope. Clean up comments.
2016-11-12 19:16:46 +01:00
Bram Moolenaar
b6be3ea45b
patch 8.0.0080
...
Problem: The OS X build fails on Travis.
Solution: Skip the virtual framebuffer on OS X.
2016-11-12 18:30:39 +01:00
Bram Moolenaar
2b946c9f9b
patch 8.0.0079
...
Problem: Accessing freed memory in quickfix. (Domenique Pelle)
Solution: Do not free the current list when adding to it.
2016-11-12 18:14:44 +01:00
Bram Moolenaar
63bed3d319
patch 8.0.0078
...
Problem: Accessing freed memory in quickfix.
Solution: Reset pointer when freeing 'errorformat'. (Domenique Pelle)
2016-11-12 15:36:54 +01:00
Kazuki Sakamoto
59f5f0ab64
Fix travis build for MacVim
2016-11-11 22:28:11 -08:00
Kazuki Sakamoto
08a873a739
Merge remote-tracking branch 'vim/master'
2016-11-11 22:08:28 -08:00
Bram Moolenaar
e3505dfc85
patch 8.0.0077
...
Problem: The GUI code is not tested by Travis.
Solution: Install the virtual framebuffer.
2016-11-11 21:57:45 +01:00
Bram Moolenaar
79cbdcb1ee
patch 8.0.0076
...
Problem: Channel log has double parens ()().
Solution: Remove () for write_buf_line. (Yasuhiro Matsumoto)
2016-11-11 21:14:03 +01:00
Kazuki Sakamoto
87243e38ea
Merge remote-tracking branch 'vim/master'
2016-11-10 19:29:48 -08:00
Bram Moolenaar
8a5883b748
patch 8.0.0075
...
Problem: Using number for exception type lacks type checking.
Solution: Use an enum.
2016-11-10 20:20:05 +01:00
Bram Moolenaar
95f096030e
patch 8.0.0074
...
Problem: Cannot make Vim fail on an internal error.
Solution: Add IEMSG() and IEMSG2(). (Domenique Pelle) Avoid reporting an
internal error without mentioning where.
2016-11-10 20:01:45 +01:00
Bram Moolenaar
459ca56312
patch 8.0.0073
...
Problem: More comparisons between firstwin and lastwin.
Solution: Use ONE_WINDOW for consistency. (Hirohito Higashi)
2016-11-10 18:16:33 +01:00
Bram Moolenaar
38bc495637
patch 8.0.0072
...
Problem: MS-Windows: Crash with long font name. (Henry Hu)
Solution: Fix comparing with LF_FACESIZE. (Ken Takata, closes #1243 )
2016-11-10 17:10:51 +01:00
Kazuki Sakamoto
fde8fd50d8
Merge remote-tracking branch 'vim/master'
2016-11-07 19:28:00 -08:00
Bram Moolenaar
c4d4ac22f7
patch 8.0.0071
...
Problem: Exit value from a shell command is wrong. (Hexchain Tong)
Solution: Do not check for ended jobs while waiting for a shell command.
(ichizok, closes #1196 )
2016-11-07 22:42:57 +01:00
Bram Moolenaar
3f9ebf32a3
patch 8.0.0070
...
Problem: Tests referred in Makefile that no longer exist.
Solution: Remove test71 and test74 entries. (Michael Soyka)
2016-11-07 22:13:32 +01:00
Kazuki Sakamoto
c1e81252b7
Merge remote-tracking branch 'vim/master'
2016-11-06 10:25:00 -08:00
Bram Moolenaar
a1f4cb93ba
patch 8.0.0069
...
Problem: Compiler warning for self-comparison.
Solution: Define ONE_WINDOW and add #ifdef.
2016-11-06 15:25:42 +01:00
Bram Moolenaar
25de4c232d
Updated runtime files.
2016-11-06 14:48:06 +01:00
Bram Moolenaar
21662be221
patch 8.0.0068
...
Problem: Checking did_throw after executing autocommands is wrong. (Daniel
Hahler)
Solution: Call aborting() instead, and only when autocommands were executed.
2016-11-06 14:46:44 +01:00
Bram Moolenaar
98500fdc61
patch 8.0.0067
...
Problem: VMS has a problem with infinity.
Solution: Avoid an overflow. (Zoltan Arpadffy)
2016-11-06 14:17:16 +01:00
Kazuki Sakamoto
06b40267d6
Merge remote-tracking branch 'vim/master'
2016-11-05 20:06:09 -07:00
Bram Moolenaar
4a08b0dc4d
patch 8.0.0066
...
Problem: when calling an operator function when 'linebreak' is set, it is
internally reset before calling the operator function.
Solution: Restore 'linebreak' before calling op_function(). (Christian
Brabandt)
2016-11-05 21:55:13 +01:00
Bram Moolenaar
40d3f137e7
patch 8.0.0065
...
Problem: Compiler warning for unused function in tiny build. (Tony
Mechelynck)
Solution: Add #ifdef.
2016-11-05 20:13:35 +01:00
Bram Moolenaar
eb828d01d9
patch 8.0.0064
...
Problem: Normal test fails on MS-Windows.
Solution: Don't try using an illegal file name.
2016-11-05 19:54:01 +01:00
Kazuki Sakamoto
7416ff4766
Merge remote-tracking branch 'vim/master'
2016-11-05 08:49:57 -07:00
Bram Moolenaar
55952d4dd4
patch 8.0.0063
...
Problem: Compiler warning for comparing with unsigned. (Zoltan Arpadffy)
Solution: Change <= to ==.
2016-11-05 14:58:34 +01:00
Kazuki Sakamoto
3549534f18
Merge remote-tracking branch 'vim/master'
2016-11-04 20:50:00 -07:00
Bram Moolenaar
8161551724
patch 8.0.0062
...
Problem: No digraph for HORIZONTAL ELLIPSIS.
Solution: Use ",.". (Hans Ginzel, closes #1226 )
2016-11-04 22:17:16 +01:00
Bram Moolenaar
aab3383e70
patch 8.0.0061
...
Problem: Compiler warning for unused variable.
Solution: Add #ifdef. (John Marriott)
2016-11-04 22:08:29 +01:00
Bram Moolenaar
426f375422
patch 8.0.0060
...
Problem: When using an Ex command for 'keywordprg' it is escaped as with a
shell command. (Romain Lafourcade)
Solution: Escape for an Ex command. (closes #1175 )
2016-11-04 21:22:37 +01:00
Bram Moolenaar
de5e2c219b
patch 8.0.0059
...
Problem: Vim does not build on VMS systems.
Solution: Various changes for VMS. (Zoltan Arpadffy)
2016-11-04 20:35:31 +01:00
Bram Moolenaar
91e44a3305
patch 8.0.0058
...
Problem: Positioning of the popup menu is not good.
Solution: Position it better. (Hirohito Higashi)
2016-11-04 20:08:52 +01:00
Bram Moolenaar
9376f5f482
patch 8.0.0057
...
Problem: Tests fail without the 'keymap' features.
Solution: Check for feature in test.
2016-11-04 16:41:20 +01:00
Bram Moolenaar
d0b5138ba4
patch 8.0.0056
...
Problem: When setting 'filetype' there is no check for a valid name.
Solution: Only allow valid characters in 'filetype', 'syntax' and 'keymap'.
2016-11-04 15:23:45 +01:00
Kazuki Sakamoto
2a2ff9da47
Merge remote-tracking branch 'vim/master'
2016-10-31 16:33:05 -07:00
Bram Moolenaar
3a117e19e0
patch 8.0.0055
...
Problem: Minor comment and style deficiencies.
Solution: Update comments and fix style.
2016-10-30 21:57:52 +01:00
Bram Moolenaar
b4ada79aa7
Runtime file updates.
2016-10-30 21:55:26 +01:00
Kazuki Sakamoto
4dfba198e1
Merge remote-tracking branch 'vim/master'
2016-10-29 06:54:12 -07:00
Bram Moolenaar
fb63090b62
patch 8.0.0054
...
Problem: On Windows job_stop() stops cmd.exe, not the processes it runs.
(Linwei)
Solution: Iterate over all processes and terminate the one where the parent
is the job process. Now only when there is no job object.
(Yasuhiro Matsumoto, closes #1203 )
2016-10-29 14:55:00 +02:00
Bram Moolenaar
60ef3e81f4
patch 8.0.0053
...
Problem: No test for what 8.0.0047 fixes.
Solution: Add a test. (Hirohito Higashi)
2016-10-29 14:37:56 +02:00
Kazuki Sakamoto
89be02e06e
MacVim Snapshot 114
...
Binary targets macOS 10.8+
- Vim patch 8.0.0052
- Fix symbol not found crash on -10.11
Script interfaces have compatibility with these versions
- Lua 5.2
- Perl 5.16
- Python2 2.7
- Python3 3.5.2
- Ruby 2.0
2016-10-28 23:02:42 -07:00
Kazuki Sakamoto
eb4d05a87a
Merge pull request #395 from macvim-dev/fix/os_log
...
Fix "Symbol not found: _os_log_type_enabled" on 10.11 or earlier
2016-10-28 23:02:04 -07:00
Kazuki Sakamoto
60d5a30b3b
Fix "Symbol not found: _os_log_type_enabled" on 10.11 or earlier
2016-10-28 22:46:20 -07:00
Kazuki Sakamoto
a6a61ecb87
Add workaround for Test_exit_callback_interval
2016-10-28 21:38:01 -07:00
Kazuki Sakamoto
106dc393f4
Merge remote-tracking branch 'vim/master'
2016-10-28 21:31:01 -07:00
Bram Moolenaar
35a1f59d63
patch 8.0.0052
...
Problem: Conceal test passes even without the bug fix.
Solution: Add a redraw command. (Christian Brabandt)
2016-10-28 22:10:27 +02:00
Kazuki Sakamoto
77f2a92caf
Merge remote-tracking branch 'vim/master'
2016-10-27 20:59:34 -07:00
Bram Moolenaar
14207f487c
patch 8.0.0051
...
Problem: New code for job_stop() breaks channel test on AppVeyor.
Solution: Revert the change.
2016-10-27 21:13:10 +02:00
Bram Moolenaar
01688ad545
patch 8.0.0050
...
Problem: An exiting job is detected with a large latency.
Solution: Check for pending job more often. (Ozaki Kiichi) Change the
double loop in mch_inchar() into one.
2016-10-27 20:00:07 +02:00
Bram Moolenaar
2f97912800
patch 8.0.0049
...
Problem: When a match ends in part of concealed text highlighting, it might
mess up concealing by resetting prev_syntax_id.
Solution: Do not reset prev_syntax_id and add a test to verify. (Christian
Brabandt, closes #1092 )
2016-10-27 17:27:44 +02:00
Bram Moolenaar
6d5ad4c411
Updated runtime files.
2016-10-27 17:00:16 +02:00
Bram Moolenaar
a350bab042
patch 8.0.0048
...
Problem: On Windows job_stop() stops cmd.exe, not the processes it runs.
(Linwei)
Solution: Iterate over all processes and terminate the one where the parent
is the job process. (Yasuhiro Matsumoto, closes #1184 )
2016-10-27 16:46:53 +02:00
Bram Moolenaar
50e5376926
patch 8.0.0047
...
Problem: Crash when using the preview window from an unnamed buffer.
(lifepillar)
Solution: Do not clear the wrong buffer. (closes #1200 )
2016-10-27 14:49:15 +02:00
Kazuki Sakamoto
5a07be6ed4
Merge remote-tracking branch 'vim/master'
2016-10-23 21:38:53 -07:00
Bram Moolenaar
46fceaaa8d
Updated runtime files.
2016-10-23 21:21:08 +02:00
Kazuki Sakamoto
239a7e4f53
MacVim Snapshot 113
...
Binary targets macOS 10.8+
- Vim patch 8.0.0046
- Update QLStephen to 1.4.4
Script interfaces have compatibility with these versions
- Lua 5.2
- Perl 5.16
- Python2 2.7
- Python3 3.5.2
- Ruby 2.0
2016-10-21 23:57:37 -07:00
Kazuki Sakamoto
4d9d4ac26a
Merge remote-tracking branch 'vim/master'
2016-10-21 23:56:28 -07:00
Bram Moolenaar
7756e7465d
patch 8.0.0046
...
Problem: Using NUL instead of NULL.
Solution: Change to NULL. (Dominique Pelle)
2016-10-21 20:35:37 +02:00
Kazuki Sakamoto
bbfcd01b07
Merge remote-tracking branch 'vim/master'
2016-10-18 20:52:42 -07:00
Bram Moolenaar
bb09ceb954
patch 8.0.0045
...
Problem: Calling job_stop() right after job_start() does not work.
Solution: Block signals while fork is still busy. (Ozaki Kiichi, closes
#1155 )
2016-10-18 16:27:23 +02:00
Bram Moolenaar
025e3e0baf
patch 8.0.0044
...
Problem: In diff mode the cursor may end up below the last line, resulting
in an ml_get error.
Solution: Check the line to be valid.
2016-10-18 14:50:18 +02:00
Bram Moolenaar
9ec7fa82a2
patch 8.0.0043
...
Problem: When using Insert mode completion with 'completeopt' containing
"noinsert" with CTRL-N the change is not saved for undo. (Tommy
Allen)
Solution: Call stop_arrow() before inserting for any key.
2016-10-18 13:06:41 +02:00
Kazuki Sakamoto
3611fbfb56
Merge remote-tracking branch 'vim/master'
2016-10-17 18:50:52 -07:00
Bram Moolenaar
cbd3bd6cbe
patch 8.0.0042
...
Problem: When using Insert mode completion with 'completeopt' containing
"noinsert" change is not saved for undo. (Tommy Allen)
Solution: Call stop_arrow() before inserting for pressing Enter.
2016-10-17 20:47:02 +02:00
Kazuki Sakamoto
a77a9b24dc
Merge remote-tracking branch 'vim/master'
2016-10-16 09:19:19 -07:00
Bram Moolenaar
869e35270e
patch 8.0.0041
...
Problem: When using Insert mode completion but not actually inserting
anything an undo item is still created. (Tommy Allen)
Solution: Do not call stop_arrow() when not inserting anything.
2016-10-16 15:35:47 +02:00
Bram Moolenaar
8507747600
patch 8.0.0040
...
Problem: Whole line highlighting with matchaddpos() does not work.
Solution: Check for zero length. (Hirohito Higashi)
2016-10-16 14:35:48 +02:00
Kazuki Sakamoto
265671c4a9
Merge pull request #385 from lifepillar/master
...
Add Edit > Color Scheme > Find More Color Schemes.
2016-10-16 02:31:40 -07:00
Lifepillar
04d045a60f
Add Edit > Color Scheme > Find More Color Schemes.
...
Add a menu item to search for more color schemes in 'packpath'.
Modeled after Tools.Spelling.Find More Languages.
2016-10-16 10:15:43 +02:00
Kazuki Sakamoto
d7e940584b
Merge pull request #387 from macvim-dev/feature/qlstephen-latest
...
Update QLStephen
2016-10-15 22:37:19 -07:00
Kazuki Sakamoto
e9a431e6c3
Update QLStephen
...
- https://github.com/whomwah/qlstephen
- 9cbf597dba0cbb790b0d76d10a22e0ad56b0f23a
2016-10-15 22:13:24 -07:00
Kazuki Sakamoto
3b3d235308
Merge remote-tracking branch 'vim/master'
2016-10-15 21:31:00 -07:00
Kazuki Sakamoto
a1a9cc7ef6
Merge pull request #384 from macvim-dev/revert-331-colorscheme-menu
...
Revert "Add themes under packpath to Edit > Color Scheme."
2016-10-15 11:54:19 -07:00
Kazuki Sakamoto
2ae331a486
Revert "Add themes under packpath to Edit > Color Scheme."
2016-10-15 11:51:59 -07:00
Bram Moolenaar
156919f99a
patch 8.0.0039
...
Problem: When Vim 8 reads an old viminfo and exits, the next time marks are
not read from viminfo. (Ned Batchelder)
Solution: Set a mark when it wasn't set before, even when the timestamp is
zero. (closes #1170 )
2016-10-15 20:46:20 +02:00
Bram Moolenaar
ca291aec99
patch 8.0.0038
...
Problem: OPEN_CHR_FILES not defined for FreeBSD using Debian userland
files.
Solution: Check for __FreeBSD_kernel__. (James McCoy, closes #1166 )
2016-10-15 19:33:50 +02:00
Bram Moolenaar
0a9046fbcb
patch 8.0.0037
...
Problem: Get E924 when switching tabs. ()
Solution: Use win_valid_any_tab() instead of win_valid(). (Martin Vuille,
closes #1167 , closes #1171 )
2016-10-15 19:28:13 +02:00
Bram Moolenaar
97792de276
patch 8.0.0036
...
Problem: Detecting that a job has finished may take a while.
Solution: Check for a finished job more often (Ozaki Kiichi)
2016-10-15 18:36:49 +02:00
Bram Moolenaar
472e85970e
patch 8.0.0035
...
Problem: Order of matches for 'omnifunc' is messed up. (Danny Su)
Solution: Do not set compl_curr_match when called from complete_check().
(closes #1168 )
2016-10-15 17:06:47 +02:00
Bram Moolenaar
9e507ca8a3
patch 8.0.0034
...
Problem: No completion for ":messages".
Solution: Complete "clear" argument. (Hirohito Higashi)
2016-10-15 15:39:39 +02:00
Bram Moolenaar
a6c27ee6db
patch 8.0.0033
...
Problem: Cannot use overlapping positions with matchaddpos().
Solution: Check end of match. (Ozaki Kiichi) Add a test (Hirohito Higashi)
2016-10-15 14:56:30 +02:00
Kazuki Sakamoto
673a11a9d1
MacVim Snapshot 111
...
Binary targets macOS 10.8+
- Vim patch 8.0.0032
- Introduce Askpass dialog script for sudo and ssh https://blog.retep.org/2009/04/09/ssh-askpass-on-osx-10-5/
- Fix scrolling issue on 10.12
Script interfaces have compatibility with these versions
- Lua 5.2
- Perl 5.16
- Python2 2.7
- Python3 3.5.2
- Ruby 2.0
2016-10-13 21:41:37 -07:00
Kazuki Sakamoto
01765cd070
Merge pull request #381 from macvim-dev/fix/scroll
...
Fix scroll on 10.12
2016-10-13 21:36:25 -07:00
Kazuki Sakamoto
39c4be7ac4
Fix scroll on 10.12
2016-10-13 20:53:15 -07:00
Kazuki Sakamoto
9172041601
Merge remote-tracking branch 'vim/master'
2016-10-13 20:33:15 -07:00
Bram Moolenaar
4575876dc8
Updated runtime files.
2016-10-12 23:08:06 +02:00
Bram Moolenaar
3e8474dd50
patch 8.0.0032
...
Problem: Tests may change the input file when something goes wrong.
Solution: Avoid writing the input file.
2016-10-12 17:52:42 +02:00
Bram Moolenaar
e8ef3a0934
patch 8.0.0031
...
Problem: After ":bwipeout" 'fileformat' is not set to the right default.
Solution: Get the default from 'fileformats'. (Mike Williams)
2016-10-12 17:45:29 +02:00
Bram Moolenaar
0ba407012c
patch 8.0.0030
...
Problem: Mouse mode is not automatically detected for tmux.
Solution: Check for 'term' to be "tmux". (Michael Henry)
2016-10-12 14:50:54 +02:00
Bram Moolenaar
cea912af72
patch 8.0.0029
...
Problem: Code for MS-Windows is complicated because of the exceptions for
old systems.
Solution: Drop support for MS-Windows older than Windows XP. (Ken Takata)
2016-10-12 14:20:24 +02:00
Bram Moolenaar
a7c023ec88
patch 8.0.0028
...
Problem: Superfluous semicolons.
Solution: Remove them. (Ozaki Kiichi)
2016-10-12 12:13:35 +02:00
Kazuki Sakamoto
4cf97cebcf
Merge pull request #378 from macvim-dev/fix/xcode7
...
Fix build for Xcode 7 or earlier
2016-10-11 10:01:57 -07:00
Kazuki Sakamoto
0f16ec94a6
Fix build for Xcode 7 or earlier
2016-10-11 08:35:12 -07:00
Bram Moolenaar
dc08328821
Updated runtime files.
2016-10-11 08:57:33 +02:00
Kazuki Sakamoto
a8e1b3df21
Move askpass setting
2016-10-09 11:37:39 -07:00
Kazuki Sakamoto
b28f194bcf
Merge pull request #375 from macvim-dev/feature/askpass
...
Introduce Askpass dialog script for sudo and ssh
2016-10-09 11:34:11 -07:00
Kazuki Sakamoto
a550884a40
Introduce Askpass dialog script for sudo and ssh
...
https://blog.retep.org/2009/04/09/ssh-askpass-on-osx-10-5/
2016-10-09 11:14:11 -07:00
Kazuki Sakamoto
96dc4e1390
MacVim Snapshot 111
...
Binary targets macOS 10.8+
- Vim patch 8.0.0027
Script interfaces have compatibility with these versions
- Lua 5.2
- Perl 5.16
- Python2 2.7
- Python3 3.5.2
- Ruby 2.0
2016-10-09 10:27:25 -07:00
Kazuki Sakamoto
8743ed43c8
Sync channel proto with vim
2016-10-09 10:15:46 -07:00
Kazuki Sakamoto
1e00286144
Merge remote-tracking branch 'vim/master'
2016-10-09 09:02:41 -07:00
Bram Moolenaar
dc0ccaee68
patch 8.0.0027
...
Problem: A channel is closed when reading on stderr or stdout fails, but
there may still be something to read on another part.
Solution: Turn ch_to_be_closed into a bitfield. (Ozaki Kiichi)
2016-10-09 17:28:01 +02:00
Bram Moolenaar
9b45794818
patch 8.0.0026
...
Problem: Error format with %W, %C and %Z does not work. (Gerd Wachsmuth)
Solution: Skip code when qf_multiignore is set. (Lcd)
2016-10-09 16:10:05 +02:00
Bram Moolenaar
936c48f8ca
patch 8.0.0025
...
Problem: Inconsistent use of spaces vs tabs in gd test.
Solution: Use tabs. (Anton Lindqvist)
2016-10-09 15:50:48 +02:00
Bram Moolenaar
8ddef48d1e
patch 8.0.0024
...
Problem: When the netbeans channel closes, "DETACH" is put in the output
part. (Ozaki Kiichi)
Solution: Write "DETACH" in the socket part.
2016-10-09 15:43:25 +02:00
Kazuki Sakamoto
70d6f82178
Merge remote-tracking branch 'vim/master'
2016-10-08 19:59:21 -07:00
Bram Moolenaar
226630a030
patch 8.0.0023
...
Problem: "gd" and "gD" may find a match in a comment or string.
Solution: Ignore matches in comments and strings. (Anton Lindqvist)
2016-10-08 19:21:31 +02:00
Kazuki Sakamoto
d22cb61149
Merge remote-tracking branch 'vim/master'
2016-10-03 20:51:23 -07:00
Bram Moolenaar
ec68a99464
patch 8.0.0022
...
Problem: If a channel in NL mode is missing the NL at the end the remaining
characters are dropped.
Solution: When the channel is closed use the remaining text. (Ozaki Kiichi)
2016-10-03 21:37:41 +02:00
Kazuki Sakamoto
8610e74d73
Merge remote-tracking branch 'vim/master'
2016-10-02 20:31:52 -07:00
Bram Moolenaar
84dbd494dc
patch 8.0.0021
...
Problem: In the GUI when redrawing the cursor it may be on the second half
of a double byte character.
Solution: Correct the cursor column. (Yasuhiro Matsumoto)
2016-10-02 23:09:31 +02:00
Kazuki Sakamoto
d76626f3c9
Merge remote-tracking branch 'vim/master'
2016-10-02 09:04:29 -07:00
Bram Moolenaar
6100d02aab
patch 8.0.0020
...
Problem: The regexp engines are not reentrant.
Solution: Add regexec_T and save/restore the state when needed.
2016-10-02 16:51:57 +02:00
Kazuki Sakamoto
6c585c1bfd
Merge pull request #370 from macvim-dev/fix/warnings
...
Suppress warnings for macOS 10.12
2016-10-02 01:49:27 -07:00
Kazuki Sakamoto
c036347336
Suppress warnings for macOS 10.12
2016-10-02 01:19:13 -07:00
Bram Moolenaar
2ec618c9fe
Updated runtime files.
2016-10-01 14:47:05 +02:00