Bram Moolenaar
60a68362aa
patch 8.0.1777: cannot cleanup before loading another colorscheme
...
Problem: Cannot cleanup before loading another colorscheme.
Solution: Add the ColorSchemePre autocommand event.
2018-04-30 15:40:48 +02:00
Bram Moolenaar
0e9d1ae321
patch 8.0.1776: in tests, when WaitFor() fails it doesn't say why
...
Problem: In tests, when WaitFor() fails it doesn't say why.
Solution: Turn a few more WaitFor() into WaitForAssert().
2018-04-30 14:28:24 +02:00
Bram Moolenaar
850d427f07
patch 8.0.1775: MS-Windows: warning for unused variable
...
Problem: MS-Windows: warning for unused variable.
Solution: Move declaration inside #ifdef. (Mike Williams)
2018-04-30 10:38:40 +02:00
Bram Moolenaar
13d3b05ed2
patch 8.0.1774: reading very long lines can be slow
...
Problem: Reading very long lines can be slow.
Solution: Read up to 1 Mbyte at a time to avoid a lot of copying. Add a
check for going over the column limit.
2018-04-29 13:34:47 +02:00
Bram Moolenaar
c36651b4b9
patch 8.0.1773: dialog messages are not translated
...
Problem: Dialog messages are not translated.
Solution: Add N_() and _() where needed. (Sergey Alyoshin)
2018-04-29 12:22:56 +02:00
Bram Moolenaar
29ce409bfc
patch 8.0.1772: quickfix: mixup of FALSE and FAIL, returning -1
...
Problem: Quickfix: mixup of FALSE and FAIL, returning -1.
Solution: Use FAIL and INVALID_QFIDX. (Yegappan Lakshmanan)
2018-04-28 21:56:44 +02:00
Bram Moolenaar
50182fa84e
patch 8.0.1771: in tests, when WaitFor() fails it doesn't say why
...
Problem: In tests, when WaitFor() fails it doesn't say why. (James McCoy)
Solution: Add WaitForAssert(), which produces an assert error when it fails.
2018-04-28 21:34:40 +02:00
Bram Moolenaar
65a5464985
patch 8.0.1770: assert functions don't return anything
...
Problem: Assert functions don't return anything.
Solution: Return non-zero when the assertion fails.
2018-04-28 16:56:53 +02:00
Bram Moolenaar
9b25af3620
patch 8.0.1769: repeated saving and restoring viewstate for 'incsearch'
...
Problem: Repeated saving and restoring viewstate for 'incsearch'.
Solution: Use a structure.
2018-04-28 13:56:09 +02:00
Bram Moolenaar
451fc7b954
patch 8.0.1768: SET_NO_HLSEARCH() used in a wrong way
...
Problem: SET_NO_HLSEARCH() used in a wrong way.
Solution: Make it a function. (suggested by Dominique Pelle,
closes #2850 )
2018-04-27 22:53:07 +02:00
Bram Moolenaar
9d34d90210
patch 8.0.1767: with 'incsearch' text may jump up and down
...
Problem: With 'incsearch' text may jump up and down. ()
Solution: Besides w_botline also save and restore w_empty_rows.
(closes # 2530)
2018-04-27 22:18:12 +02:00
Bram Moolenaar
c3c3e69896
patch 8.0.1766: expanding abbreviation doesn't work
...
Problem: Expanding abbreviation doesn't work. (Tooth Pik)
Solution: Return OK instead of FALSE and FAIL instead of TRUE. (Christian
Brabandt)
2018-04-26 22:30:33 +02:00
Bram Moolenaar
db0eedec16
patch 8.0.1765: CTRL-G j in Insert mode is incorrect when 'virtualedit' set
...
Problem: CTRL-G j in Insert mode is incorrect when 'virtualedit' is set.
Solution: Take coladd into account. (Christian Brabandt, closes #2743 )
2018-04-25 22:38:17 +02:00
Bram Moolenaar
856905bd83
patch 8.0.1764: lgtm considers tutor.es to be EcmaScript
...
Problem: Lgtm considers tutor.es to be EcmaScript.
Solution: Add a config file for lgtm. (Bas van Schaik, closes #2844 )
2018-04-25 21:36:47 +02:00
Bram Moolenaar
46a53dfc29
patch 8.0.1763: :argedit does not reuse an empty unnamed buffer
...
Problem: :argedit does not reuse an empty unnamed buffer.
Solution: Add the BLN_CURBUF flag and fix all the side effects. (Christian
Brabandt, closes #2713 )
2018-04-24 21:58:51 +02:00
Bram Moolenaar
b255b90503
patch 8.0.1762: terminal debug logging is a bit complicated
...
Problem: Terminal debug logging is a bit complicated.
Solution: Make log_tr() use variable arguments (Ozaki Kiichi, closes #2730 )
2018-04-24 21:40:10 +02:00
Bram Moolenaar
4e9d443a25
patch 8.0.1761: job in terminal window with no output channel is killed
...
Problem: Job in terminal window with no output channel is killed.
Solution: Keep the job running when the input is a tty. (Ozaki Kiichi,
closes #2734 )
2018-04-24 20:54:07 +02:00
Bram Moolenaar
4994373c5d
patch 8.0.1760: wrong number of arguments to vms_read()
...
Problem: Wrong number of arguments to vms_read().
Solution: Drop the first argument. (Ozaki Kiichi)
2018-04-24 20:27:26 +02:00
Bram Moolenaar
09d1d51df5
patch 8.0.1759: memory leak from duplicate options
...
Problem: Memory leak from duplicate options. (Yegappan Lakshmanan)
Solution: Don't set the default value twice.
2018-04-24 20:23:56 +02:00
Bram Moolenaar
24a2d7264f
patch 8.0.1758: open_line() returns TRUE/FALSE for success/failure
...
Problem: open_line() returns TRUE/FALSE for success/failure.
Solution: Return OK or FAIL.
2018-04-24 19:36:43 +02:00
Bram Moolenaar
b691de05f6
patch 8.0.1757: unnecessary changes in libvterm
...
Problem: Unnecessary changes in libvterm.
Solution: Bring back // comments and trailing comma in enums.
2018-04-24 18:39:14 +02:00
Bram Moolenaar
73658317ba
patch 8.0.1756: GUI: after prompting for a number the mouse shape is wrong
...
Problem: GUI: after prompting for a number the mouse shape is sometimes
wrong.
Solution: Call setmouse() after setting "State". (Hirohito Higashi,
closes #2709 )
2018-04-24 17:41:57 +02:00
Bram Moolenaar
f1f2f837bc
patch 8.0.1755: MS-Windows: high unicode char received as two utf-16 words
...
Problem: MS-Windows GUI: high unicode char received as two utf-16 words.
Solution: Keep the first word until the second word is received. (Chris
Morgan, closes #2800 )
2018-04-24 16:04:57 +02:00
Bram Moolenaar
2225ebb486
patch 8.0.1754: ex_helpgrep() is too long
...
Problem: ex_helpgrep() is too long.
Solution: Refactor the function. (Yegappan Lakshmanan, closes #2766 )
2018-04-24 15:48:11 +02:00
Bram Moolenaar
1c17ffa461
patch 8.0.1753: various warnings from a static analyser
...
Problem: Various warnings from a static analyser
Solution: Add type casts, remove unneeded conditions. (Christian Brabandt,
closes #2770 )
2018-04-24 15:19:04 +02:00
Bram Moolenaar
a2aa8a2b22
patch 8.0.1752: qf_set_properties() is to long
...
Problem: qf_set_properties() is to long.
Solution: Refactor the function. Define INVALID_QFIDX. (Yegappan
Lakshmanan, closes #2812 )
2018-04-24 13:55:00 +02:00
Bram Moolenaar
4e601e3c82
patch 8.0.1751: #ifdef causes bad highlighting
...
Problem: #ifdef causes bad highlighting.
Solution: Move code around. (Ozaki Kiichi, closes #2731 )
2018-04-24 13:29:51 +02:00
Bram Moolenaar
3b9474b4ad
patch 8.0.1750: crash when clearing loccation list in autocommand
...
Problem: Crash when clearing loccation list in autocommand.
Solution: Check if "qi" equals "ql_info". (Yegappan Lakshmanan)
2018-04-23 21:29:48 +02:00
Bram Moolenaar
6537c421bb
patch 8.0.1749: VMS: 100% CPU use, redefining mch_open() fails
...
Problem: VMS: 100% CPU use, redefining mch_open() and mch_fopen() fails.
Solution: Do not wait indefinitely in RealWaitForChar(). (Neil Rieck)
Do not redefine mch_open() and mch_fopen() on VMS. (Zoltan
Arpadffy)
2018-04-23 20:46:16 +02:00
Bram Moolenaar
a4baf5b325
patch 8.0.1748: CmdlineEnter command uses backslash instead of slash
...
Problem: CmdlineEnter command uses backslash instead of slash.
Solution: Don't treat the character as a file name. (closes #2837 )
2018-04-22 13:27:44 +02:00
Bram Moolenaar
ebe74b7367
patch 8.0.1747: MS-Windows: term_start() does not set job_info() cmd
...
Problem: MS-Windows: term_start() does not set job_info() cmd.
Solution: Share the code from job_start() to set jv_argv.
2018-04-21 23:34:43 +02:00
Bram Moolenaar
a69b39511d
patch 8.0.1746: MS-Windows: channel tests fail
...
Problem: MS-Windows: channel tests fail.
Solution: Make a copy of the command before splitting it.
2018-04-21 23:00:27 +02:00
Bram Moolenaar
2060892028
patch 8.0.1745: build failure on MS-Windows
...
Problem: Build failure on MS-Windows.
Solution: Build job arguments for MS-Windows. Fix allocating job twice.
2018-04-21 22:30:08 +02:00
Bram Moolenaar
9980b37a80
patch 8.0.1744: on some systems /dev/stdout isn't writable
...
Problem: On some systems /dev/stdout isn't writable.
Solution: Skip test if writing is not possible. (James McCoy, closes #2830 )
2018-04-21 20:12:35 +02:00
Bram Moolenaar
6d150f783d
patch 8.0.1743: terminal window options are named inconsistently
...
Problem: Terminal window options are named inconsistently.
Solution: prefix terminal window options with "termwin". Keep the old names
for now as an alias.
2018-04-21 20:03:20 +02:00
Bram Moolenaar
e1fc51558d
patch 8.0.1742: cannot get a list of all the jobs
...
Problem: Cannot get a list of all the jobs. Cannot get the command of
the job.
Solution: When job_info() is called without an argument return a list of
jobs. Otherwise, include the command that the job is running.
(Yegappan Lakshmanan)
2018-04-21 19:49:08 +02:00
Bram Moolenaar
259a90f7ce
patch 8.0.1741: MS-Windows with msys2 cannot build Ruby statically
...
Problem: MS-Windows with msys2 cannot build Ruby statically.
Solution: Add RUBY_VERSION to CFLAGS later. (Gray Wolf, closes #2833 )
2018-04-21 19:08:55 +02:00
Bram Moolenaar
405dadb63e
patch 8.0.1740: warning for signed-unsigned incompatibility
...
Problem: Warning for signed-unsigned incompatibility.
Solution: Change type from "char *" to "char_u *". (John Marriott)
2018-04-20 22:48:58 +02:00
Bram Moolenaar
6176697203
patch 8.0.1739: MS-Windows with msys2 cannot build Ruby statically
...
Problem: MS-Windows with msys2 cannot build Ruby statically.
Solution: Define RUBY_VERSION. (Gray Wolf, closes #2826 )
2018-04-20 22:31:41 +02:00
Bram Moolenaar
5d69da462f
patch 8.0.1738: ":args" output is hard to read
...
Problem: ":args" output is hard to read.
Solution: Make columns with the names if the output is more than one line.
2018-04-20 22:01:41 +02:00
Bram Moolenaar
02e802b2da
patch 8.0.1737: fchown() used when it is not supported
...
Problem: fchown() used when it is not supported.
Solution: Add #ifdef.
2018-04-19 21:15:27 +02:00
Bram Moolenaar
226400830b
patch 8.0.1736: check for C99 features is incomplete
...
Problem: Check for C99 features is incomplete.
Solution: Use AC_PROG_CC_C99 and when C99 isn't fully supported check the
features we need. (James McCoy, closes #2820 )
2018-04-19 20:39:41 +02:00
Bram Moolenaar
285e335869
patch 8.0.1735: flexible array member feature not supported by HP-UX
...
Problem: Flexible array member feature not supported by HP-UX. (John
Marriott)
Solution: Do not use the flexible array member feature of C99.
2018-04-18 23:01:13 +02:00
Bram Moolenaar
f98a39ca57
patch 8.0.1734: package directory not added to 'rtp' if prefix matches
...
Problem: Package directory not added to 'rtp' if prefix matches.
Solution: Check the match is a full match. (Ozaki Kiichi, closes #2817 )
Also handle different ways of spelling a path.
2018-04-18 22:18:23 +02:00
Bram Moolenaar
bad0ce7b26
patch 8.0.1733: incomplete testing for completion fix
...
Problem: Incomplete testing for completion fix. (Lifepillar)
Solution: Add a test with CTRL-P.
2018-04-17 23:31:05 +02:00
Bram Moolenaar
a997b45c7e
patch 8.0.1732: crash when terminal API call deletes the buffer
...
Problem: Crash when terminal API call deletes the buffer.
Solution: Lock the buffer while calling a function. (closes #2813 )
2018-04-17 23:24:06 +02:00
Bram Moolenaar
e87edf3b85
patch 8.0.1731: characters deleted on completion
...
Problem: Characters deleted on completion. (Adrià Farrés)
Solution: Also check the last item for the ORIGINAL_TEXT flag. (Christian
Brabandt, closes #1645 )
2018-04-17 22:14:32 +02:00
Bram Moolenaar
561f8a5a46
patch 8.0.1730: no configure check for the used C99 features
...
Problem: No configure check for the used C99 features.
Solution: Add a compilation check. Tentatively document C99 features.
2018-04-17 22:02:45 +02:00
Bram Moolenaar
ea3ece405a
patch 8.0.1729: no comma after last enum item
...
Problem: No comma after last enum item.
Solution: Add a few commas to check if this works for all compilers. Also
add a few // comments.
2018-04-17 20:14:39 +02:00
Bram Moolenaar
1feab2b9cc
patch 8.0.1728: condition always false, useless code
...
Problem: Condition always false, useless code.
Solution: Remove the code. (Nikolai Pavlov, closes #2808 )
2018-04-17 20:12:08 +02:00