Commit Graph

20061 Commits

Author SHA1 Message Date
Yee Cheng Chin f24dd52b3f MacVim Snapshot 160
Vim patch 8.1.2224

General:

- MacVim **now requires macOS 10.9**, up from 10.8.
- MacVim binary is now notaraized by Apple. This should make it open
  properly without a security warning in macOS 10.15 Catalina. #959 #825

Features:

- Make mouse cursor higher contrast under macOS 10.13 or older. #910

Fixes:

- Fix OS appearance (dark vs light mode) detection not working. See
  `:help OSAppearanceChanged` for more info on the feature.  #973
- Fix spell checker flagging first words in line. #971 (Vim 8.1.2172)
- Fix wrong highlighting color scheme. #960 (Vim 8.1.2176)

Misc:

- Sparkle updater has been updated to 1.22.00. #963

Targets macOS 10.9+

Script interfaces have compatibility with these versions:

- Lua 5.3
- Perl 5.18
- Python2 2.7
- Python3 3.7
- Ruby 2.6
snapshot-160
2019-10-28 04:27:35 -07:00
Yee Cheng Chin ad80be723b Fix Travis CI build scripts to deploy correctly
In order for build cache to work, both deploy and test stages have to
use the same env vars.
2019-10-28 04:27:35 -07:00
Yee Cheng Chin a4b3a5f23d Merge pull request #975 from ychin/custom-ibeam-cursor-for-old-os
Use a custom I-beam mouse cursor for pre-Mojave OS versions
2019-10-28 01:36:01 -07:00
Yee Cheng Chin f2ef091b2c Use a custom I-beam mouse cursor for pre-Mojave OS versions
Prevoiusly, #859 removed the custom high-contrast I-beam mouse cursor in
favor of using the system-default I-beam cursor. However, it mostly
worked well on 10.14 Mojave or above, as the cursor is designed with
dark mode in mind and works well on both bright and dark backgrounds.
Since this doesn't work well on older macOS versions, add back the
custom cursor and only enable it on those older macOS versions.

Fix #910.
2019-10-28 01:28:59 -07:00
Yee Cheng Chin 491433d93b Merge remote-tracking branch 'vim/master' 2019-10-26 13:16:46 -07:00
Bram Moolenaar dfded98f87 patch 8.1.2224: cannot build Amiga version
Problem:    Cannot build Amiga version.
Solution:   Add dummy mch_setmouse(). (Ola Söder, closes #5126)
2019-10-26 21:33:19 +02:00
Bram Moolenaar cb86893114 patch 8.1.2223: cannot see what buffer an ml_get error is for
Problem:    Cannot see what buffer an ml_get error is for.
Solution:   Add the buffer number and name in the message
2019-10-26 20:56:21 +02:00
Bram Moolenaar 7ab5d77666 patch 8.1.2222: accessing invalid memory
Problem:    Accessing invalid memory. (Dominique Pelle)
Solution:   Reset highlight_match every time.  (closes #5125)
2019-10-26 20:45:24 +02:00
Bram Moolenaar 96f45c0b6f Update runtime files 2019-10-26 19:53:45 +02:00
Bram Moolenaar 8fc4296436 patch 8.1.2221: cannot filter :disp output
Problem:    Cannot filter :disp output.
Solution:   Support filtereing :disp output. (Andi Massimino, closes #5117)
2019-10-26 17:33:13 +02:00
Bram Moolenaar 6a0cc916bd patch 8.1.2220: :cfile does not abort like other quickfix commands
Problem:    :cfile does not abort like other quickfix commands.
Solution:   Abort when desired. Add tests for aborting. (Yegappan Lakshmanan,
            closes #5121)
2019-10-26 16:48:44 +02:00
Bram Moolenaar 28ed4dfe1f patch 8.1.2219: no autocommand for open window with terminal
Problem:    No autocommand for open window with terminal.
Solution:   Add TerminalWinOpen. (Christian Brabandt)
2019-10-26 16:21:40 +02:00
Bram Moolenaar 453c19257f patch 8.1.2218: "gN" is off by one in Visual mode
Problem:    "gN" is off by one in Visual mode.
Solution:   Check moving forward. (Christian Brabandt, #5075)
2019-10-26 14:42:09 +02:00
Bram Moolenaar c7488a7fc8 patch 8.1.2217: compiler warning for unused variable
Problem:    Compiler warning for unused variable.
Solution:   Move variable inside #ifdef. (John Marriott)
2019-10-26 12:23:04 +02:00
Yee Cheng Chin e0f0d5cde9 Merge pull request #882 from ichizok/fix/travis
Refactor CI script
2019-10-26 03:04:13 -07:00
Bram Moolenaar 1fd30d7bae patch 8.1.2216: text property in wrong place after :substitute
Problem:    Text property in wrong place after :substitute.
Solution:   Pass the new column instead of the old one. (Christian Brabandt,
            closes #4427)
2019-10-25 22:13:29 +02:00
Bram Moolenaar 7aee6876eb patch 8.1.2215: unreachable code in adjusting text prop columns
Problem:    Unreachable code in adjusting text prop columns.
Solution:   Remove the code. (Christian Brabandt)
2019-10-25 21:49:38 +02:00
ichizok 35cdbcc27a Workaround: Omit 'fullscreen' option test
Doing 'set fullscreen' and 'set nofullscreen' at once doesn't work
properly: the values of "&lines" and "&columns" are restored, but the
fullscreen is kept on actually and thus affects 'writedelay' test
performance.
2019-10-25 13:16:02 +09:00
ichizok c91441d8f4 Refactor CI script
* Cache Homebrew taps
* Colorize stage messages
* Simplify if_xxx tests
* Improve if_ruby build config
* Make build stages to separate build and deploy jobs
2019-10-25 13:16:02 +09:00
Bram Moolenaar 11a58af66f patch 8.1.2214: too much is redrawn when 'cursorline' is set
Problem:    Too much is redrawn when 'cursorline' is set.
Solution:   Don't do a complete redraw. (closes #5079)
2019-10-24 22:32:31 +02:00
Bram Moolenaar aa1f04d092 patch 8.1.2213: popup_textprop tests fail
Problem:    Popup_textprop tests fail.
Solution:   Adjust the column and line positioning.
2019-10-24 22:12:54 +02:00
Bram Moolenaar 3691f1ee72 patch 8.1.2212: cannot see the selection type in :reg output
Problem:    Cannot see the selection type in :reg output. (Ayberk Aydın)
Solution:   Add c/l/b. (Christian Brabandt, closes #5110, closes #4546)
2019-10-24 20:17:00 +02:00
Bram Moolenaar 336bf2b8b2 patch 8.1.2211: listener callback "added" argument is not the total
Problem:    Listener callback "added" argument is not the total. (Andy
            Massimino)
Solution:   Compute the total. (closes #5105)
2019-10-24 20:07:07 +02:00
Bram Moolenaar b754b5bf6d patch 8.1.2210: using negative offset for popup_create() does not work
Problem:    Using negative offset for popup_create() does not work.
Solution:   Use -1 instead of zero. (closes #5111)
2019-10-24 19:25:00 +02:00
Bram Moolenaar ec6f735012 patch 8.1.2209: LF in escape codes may be expanded to CR-LF
Problem:    LF in escape codes may be expanded to CR-LF.
Solution:   Do not expand LF in escape codes to CR-LF. (closes #5107)
2019-10-24 17:49:27 +02:00
Bram Moolenaar faf626e5d1 patch 8.1.2208: Unix: Tabs in output might be expanded to spaces
Problem:    Unix: Tabs in output might be expanded to spaces.
Solution:   Reset the XTABS flag. (closes #5108)
2019-10-24 17:43:25 +02:00
Bram Moolenaar edaad6e0a0 patch 8.1.2207: "gn" doesn't work quite right
Problem:    "gn" doesn't work quite right. (Jaehwang Jerry Jung)
Solution:   Improve and simplify the search logic. (Christian Brabandt,
            closes #5103, closes #5075)
2019-10-24 15:23:37 +02:00
Bram Moolenaar 28686682e7 patch 8.1.2206: no test for fixed issue #3893
Problem:    No test for fixed issue #3893.
Solution:   Add a test. (Christian Brabandt, #3893)
2019-10-24 15:12:37 +02:00
Bram Moolenaar 6656c2ec4c patch 8.1.2205: sign entry structure has confusing name
Problem:    Sign entry structure has confusing name.
Solution:   Rename signlist_T to sign_entry_T and prefix se_ to the fields.
2019-10-24 15:00:04 +02:00
Yee Cheng Chin ee73f16b4e Merge pull request #974 from ychin/fix-os-appearance-macos-14
Fix v:os_appearance to work when building against older SDKs
2019-10-24 01:23:08 -07:00
Yee Cheng Chin b82ceda0b8 Fix v:os_appearance to work when building against older SDKs
Use the correct macros to do SDK ifdefs.

Fix #973.
2019-10-24 00:39:39 -07:00
Yee Cheng Chin 53372da42b Merge pull request #972 from ychin/travis-ci-draft-release
Switch Travis CI release to use Github release drafts
2019-10-24 00:29:09 -07:00
Bram Moolenaar 8f7ab4bd1e patch 8.1.2204: crash on exit when closing terminals
Problem:    Crash on exit when closing terminals. (Corey Hickey)
Solution:   Actually wait for the job to stop. (closes #5100)
2019-10-23 23:16:45 +02:00
Bram Moolenaar 823edd1eed patch 8.1.2203: running libvterm tests without the +terminal feature
Problem:    Running libvterm tests without the +terminal feature.
Solution:   Only add the libvterm test target when building libvterm.
2019-10-23 22:35:36 +02:00
Bram Moolenaar 93bbf33ceb patch 8.1.2202: MS-Windows: build failure with GUI and small features
Problem:    MS-Windows: build failure with GUI and small features.
Solution:   Add #ifdef. (Michael Soyka, closes #5097)
2019-10-23 21:43:16 +02:00
Bram Moolenaar 13a1f3fb0c patch 8.1.2201: cannot build with dynamically linked Python 3.8
Problem:    Cannot build with dynamically linked Python 3.8.
Solution:   Implement py3__Py_DECREF() and py3__Py_XDECREF(). (Ken Takata,
            closes #4080)
2019-10-23 21:37:25 +02:00
Bram Moolenaar 1cac70953d patch 8.1.2200: crash when memory allocation fails
Problem:    Crash when memory allocation fails.
Solution:   Check for NULL curwin and curbuf. (Christian Brabandt,
            closes #4839)
2019-10-22 21:54:31 +02:00
Bram Moolenaar a720be78d7 patch 8.1.2199: build failure when using normal features without GUI
Problem:    Build failure when using normal features without GUI and EXITFREE
            defined.
Solution:   Add #ifdef. (Dominique Pelle, closes #5106)
2019-10-22 21:45:19 +02:00
Yee Cheng Chin 3ee30fe9ae Switch Travis CI release to use Github release drafts
This is necessary because with the new macOS requirements to use code
signing and app notarization, there's a set of additional steps after
Travis CI has built the app to be done. Using drafts would upload the
built app to a non-release location to give time to finish the remaining
signing and notarization steps without creating an incomplete Github
release.
2019-10-22 05:41:12 -07:00
Yee Cheng Chin d3519c21e3 Merge pull request #965 from ychin/update-binary-release-10.9
Update binary release to target 10.9 (used to be 10.8)
2019-10-22 04:18:39 -07:00
Yee Cheng Chin 1597180de3 Merge pull request #966 from ychin/revert-hardened-runtime
Revert "Enable hardened runtime"
2019-10-22 04:18:12 -07:00
Yee Cheng Chin d206d6ee94 Revert "Enable hardened runtime"
The hardened runtime was causing issues with misc unsigned frameworks
and failing CI, and also making it hard to locally debug code. Because
we currently perform code signing outside of Xcode anyway by using the
`codesign` utility, it's not particularly useful to embed hardened
runtime in the project file itself. We just need to sign the app with
`-o runtime` flag when signing it before sending over to notarization
service.

This reverts commit 76cb94be7d.
2019-10-22 02:31:18 -07:00
Yee Cheng Chin 2c6414be2e Merge remote-tracking branch 'vim/master' 2019-10-22 01:37:59 -07:00
Yee Cheng Chin a202ae7996 Merge pull request #964 from ychin/hardened-runtime
Enable hardened runtime
2019-10-22 00:09:15 -07:00
Yee Cheng Chin ba77a78209 Merge pull request #963 from ychin/update-sparkle-1.22
Update Sparkle to 1.22.00
2019-10-22 00:08:46 -07:00
Bram Moolenaar 396b7c78c0 patch 8.1.2198: crash when using :center in autocommand
Problem:    Crash when using :center in autocommand.
Solution:   Bail out early for an empty line. (Dominique pelle, closes #5095)
2019-10-21 23:08:59 +02:00
Yee Cheng Chin 926c789fde Update binary release to target 10.9 (used to be 10.8)
This is mostly to satisfy Apple's notarization requirements as 10.9 is
the minium. Given how currently macOS is at 10.14, there should have
been ample time for people to have upgraded. People can still manually
build MacVim for 10.8 if they so wish.
2019-10-21 05:42:43 -07:00
Yee Cheng Chin b4a4a2211c Merge pull request #956 from ychin/fix-configure-macos-sdk
Fix configure macos sdk
2019-10-21 05:39:00 -07:00
Yee Cheng Chin 76cb94be7d Enable hardened runtime 2019-10-21 05:17:41 -07:00
Yee Cheng Chin e77679fc85 Update Sparkle to 1.22.00 2019-10-21 03:16:27 -07:00