Bram Moolenaar
67cf86bfff
patch 8.1.1231: asking about existing swap file unnecessarily
...
Problem: Asking about existing swap file unnecessarily.
Solution: When it is safe, delete the swap file. Remove
HAS_SWAP_EXISTS_ACTION, it is always defined. (closes #1237 )
2019-04-28 22:25:38 +02:00
Bram Moolenaar
652de23dc7
patch 8.1.1118: a couple of conditions are hard to understand
...
Problem: A couple of conditions are hard to understand.
Solution: Split the conditions into pieces. (Ozaki Kiichi, closes #3879 )
2019-04-04 20:13:09 +02:00
Bram Moolenaar
abab0b0fdd
patch 8.1.1086: too many curly braces
...
Problem: Too many curly braces.
Solution: Remove curly braces where they are not needed. (Hirohito Higashi,
closes #3982 )
2019-03-30 18:47:01 +01:00
Bram Moolenaar
2ace1bd652
patch 8.1.1034: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Merge FEAT_MOUSE_SGR into FEAT_MOUSE_XTERM / FEAT_MOUSE_TTY.
2019-03-22 12:03:30 +01:00
Bram Moolenaar
2c519cf3bf
patch 8.1.1032: warnings from clang static analyzer
...
Problem: Warnings from clang static analyzer. (Yegappan Lakshmanan)
Solution: Fix relevant warnings.
2019-03-21 21:45:34 +01:00
Bram Moolenaar
bdace838c6
patch 8.1.0989: various small code ugliness
...
Problem: Various small code ugliness.
Solution: Remove pointless NULL checks. Fix function calls. Fix typos.
(Dominique Pelle, closes #4060 )
2019-03-02 10:13:42 +01:00
Bram Moolenaar
1eed532999
patch 8.1.0983: checking __CYGWIN32__ unnecessarily
...
Problem: Checking __CYGWIN32__ unnecessarily.
Solution: Remove the checks. (Ken Takata)
2019-02-26 17:03:54 +01:00
Bram Moolenaar
4f97475d32
patch 8.1.0941: macros for MS-Windows are inconsistent
...
Problem: Macros for MS-Windows are inconsistent, using "32", "3264 and
others.
Solution: Use MSWIN for all MS-Windows builds. Use FEAT_GUI_MSWIN for the
GUI build. (Hirohito Higashi, closes #3932 )
2019-02-17 17:44:42 +01:00
Bram Moolenaar
593864817a
patch 8.1.0890: pty allocation wrong if using file for out channel
...
Problem: Pty allocation wrong if using file for out channel and using null
for in channel and null for error channel.
Solution: Correct using use_file_for_out in condition. (Ozaki Kiichi, closes
#3917 )
2019-02-10 22:43:46 +01:00
Bram Moolenaar
b3051ce82f
patch 8.1.0863: cannot see what signal caused a job to end
...
Problem: Cannot see what signal caused a job to end.
Solution: Add "termsig" to job_info(). (Ozaki Kiichi, closes #3786 )
2019-01-31 15:52:11 +01:00
Bram Moolenaar
e40b9d47bf
patch 8.1.0834: GUI may wait too long before dealing with messages
...
Problem: GUI may wait too long before dealing with messages. Returning
early may cause a mapping to time out.
Solution: Use the waiting loop from Unix also for the GUI.
(closes #3817 , closes #3824 )
2019-01-27 16:55:47 +01:00
Bram Moolenaar
1ecc5e4a99
patch 8.1.0824: SunOS/Solaris has a problem with ttys
...
Problem: SunOS/Solaris has a problem with ttys.
Solution: Add mch_isatty() with extra handling for SunOS. (Ozaki Kiichi,
closes #3865 )
2019-01-26 15:12:55 +01:00
Bram Moolenaar
a12a161b8c
patch 8.1.0809: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Graduate FEAT_MBYTE, part 3.
2019-01-24 16:39:02 +01:00
Bram Moolenaar
563bbeabcc
patch 8.1.0791: a few compiler warnings on VMS
...
Problem: A few compiler warnings on VMS.
Solution: Remove type cast. Adjust #ifdef. (Zoltan Arpadffy)
2019-01-22 21:45:40 +01:00
Bram Moolenaar
b2148f5864
patch 8.1.0788: cannot build with tiny features
...
Problem: Cannot build with tiny features.
Solution: Adjust #ifdefs.
2019-01-20 23:43:57 +01:00
Bram Moolenaar
edce7420d0
patch 8.1.0787: compiler warning for unused function
...
Problem: Compiler warning for unused function. (Tony Mechelynck)
Solution: Tune #ifdef around setjmp functions.
2019-01-20 18:39:30 +01:00
Bram Moolenaar
113e10721f
patch 8.1.0785: depending on the configuration some functions are unused
...
Problem: Depending on the configuration some functions are unused.
Solution: Add more #ifdefs, remove unused functions. (Dominique Pelle,
closes #3822 )
2019-01-20 15:30:40 +01:00
Bram Moolenaar
32526b3c18
patch 8.1.0779: argument for message functions is inconsistent
...
Problem: Argument for message functions is inconsistent.
Solution: Make first argument to msg() "char *".
2019-01-19 17:43:09 +01:00
Bram Moolenaar
1ac56c2d11
patch 8.1.0770: inconsistent use of ELAPSED_FUNC
...
Problem: Inconsistent use of ELAPSED_FUNC.
Solution: Consistently use ELAPSED_FUNC. Also turn ELAPSED_TYPE into a
typedef. (Ozaki Kiichi, closes #3815 )
2019-01-17 22:28:22 +01:00
Bram Moolenaar
f9e3e09fdc
patch 8.1.0743: giving error messages is not flexible
...
Problem: Giving error messages is not flexible.
Solution: Add semsg(). Change argument from "char_u *" to "char *", also
for msg() and get rid of most MSG macros. (Ozaki Kiichi, closes
#3302 ) Also make emsg() accept a "char *" argument. Get rid of
an enormous number of type casts.
2019-01-13 23:38:42 +01:00
Bram Moolenaar
a8bfa1727a
patch 8.1.0661: clipboard regexp might be used recursively
...
Problem: Clipboard regexp might be used recursively.
Solution: Check for recursive use and bail out.
2018-12-29 22:28:46 +01:00
Bram Moolenaar
01e51e5b30
patch 8.1.0657: get error for using regexp recursively
...
Problem: Get error for using regexp recursively. (Dominique Pelle)
Solution: Do no check if connection is desired.
2018-12-29 13:09:46 +01:00
Bram Moolenaar
c0c7549687
patch 8.1.0656: trying to reconnect to X server may cause problems
...
Problem: Trying to reconnect to X server may cause problems.
Solution: Do no try reconnecting when exiting. (James McCoy)
2018-12-29 11:03:23 +01:00
Bram Moolenaar
b7a7e039b4
patch 8.1.0649: setjmp() variables defined globally are used in one file
...
Problem: setjmp() variables defined globally are used in one file.
Solution: Move the declarations to that file.
2018-12-28 17:01:59 +01:00
Bram Moolenaar
d155d7a851
patch 8.1.0615: get_tv function names are not consistent
...
Problem: Get_tv function names are not consistent.
Solution: Rename to tv_get.
2018-12-21 16:04:21 +01:00
Bram Moolenaar
76ab4fd619
patch 8.1.0572: stopping a job does not work properly on OpenBSD
...
Problem: Stopping a job does not work properly on OpenBSD.
Solution: Do not use getpgid() to check the process group of the job
processs ID, always pass the negative process ID to kill().
(George Koehler, closes #3656 )
2018-12-08 14:39:05 +01:00
Bram Moolenaar
61fb8d8c67
patch 8.1.0526: running out of signal stack in RealWaitForChar
...
Problem: Running out of signal stack in RealWaitForChar. (Vladimir Marek)
Solution: Make the fd_set variables static.
2018-11-12 21:45:08 +01:00
Bram Moolenaar
6dff58f15c
patch 8.1.0443: unnecessary static function prototypes
...
Problem: Unnecessary static function prototypes.
Solution: Remove unnecessary prototypes.
2018-09-30 21:43:26 +02:00
Bram Moolenaar
4841a7ccae
patch 8.1.0426: accessing invalid memory in SmcOpenConnection()
...
Problem: Accessing invalid memory in SmcOpenConnection().
Solution: Reduce size of errorstring by one. (Dominique Pelle, closes #3469 )
2018-09-22 14:08:49 +02:00
Bram Moolenaar
42335f50bc
patch 8.1.0377: xdiff doesn't use the Vim memory allocation functions
...
Problem: Xdiff doesn't use the Vim memory allocation functions.
Solution: Change the xdl_ defines. Check for out-of-memory. Rename
"ignored" to "vim_ignored".
2018-09-13 15:33:43 +02:00
Bram Moolenaar
643b614087
patch 8.1.0371: argument types for select() may be wrong
...
Problem: Argument types for select() may be wrong.
Solution: Use a configure macro. (Tobias Ulmer)
2018-09-12 20:29:09 +02:00
Bram Moolenaar
ed5a9d6612
patch 8.1.0349: crash when wiping buffer in a callback
...
Problem: Crash when wiping buffer in a callback.
Solution: Do not handle messages when only peeking for a character.
(closes #2107 ) Add "redraw_flag" to test_override().
2018-09-06 13:14:43 +02:00
Bram Moolenaar
a06afc7f5e
patch 8.1.0329: using inputlist() during startup results in garbage
...
Problem: Using inputlist() during startup results in garbage. (Dominique
Pelle)
Solution: Make sure the xterm tracing is stopped when disabling the mouse.
2018-08-27 23:24:16 +02:00
Bram Moolenaar
8e82c057ff
patch 8.1.0312: wrong type for flags used in signal handlers
...
Problem: Wrong type for flags used in signal handlers.
Solution: Use sig_atomic_t. (Dominique Pelle, closes #3356 )
2018-08-21 19:47:48 +02:00
Bram Moolenaar
2e31048c30
patch 8.1.0304: no redraw when using a STOP signal on Vim and then CONT
...
Problem: No redraw when using a STOP signal on Vim and then a CONT signal.
Solution: Catch the CONT signal and set the terminal to raw mode. This is
like 8.1.0244 but without the screen redraw and a fix for
multi-threading suggested by Dominique Pelle.
2018-08-21 13:09:10 +02:00
Bram Moolenaar
f1883479be
patch 8.1.0302: crash when using :suspend and "fg"
...
Problem: Crash when using :suspend and "fg".
Solution: Undo patch 8.1.244.
2018-08-20 21:58:57 +02:00
Bram Moolenaar
d8f0cef2bd
patch 8.1.0300: the old window title might be freed twice
...
Problem: The old window title might be freed twice. (Dominique Pelle)
Solution: Do not free "oldtitle" in a signal handler but set a flag to have
it freed later.
2018-08-19 22:20:16 +02:00
Bram Moolenaar
d569bb0299
patch 8.1.0268: file type checking has too many #ifdef
...
Problem: File type checking has too many #ifdef.
Solution: Always define the S_IF macros. (Ken Takata, closes #3306 )
2018-08-11 13:57:20 +02:00
Bram Moolenaar
40385dbcdf
patch 8.1.0253: saving and restoring window title does not always work
...
Problem: Saving and restoring window title does not always work.
Solution: Use the stack push and pop commands. (Kouichi Iwamoto,
closes #3059 )
2018-08-07 22:31:44 +02:00
Bram Moolenaar
917e32bda5
patch 8.1.0244: no redraw when using a STOP signal on Vim and then CONT
...
Problem: No redraw when using a STOP signal on Vim and then a CONT signal.
Solution: Catch the CONT signal and force a redraw. (closes #3285 )
2018-08-07 17:38:41 +02:00
Bram Moolenaar
f9c3883b11
patch 8.1.0087: v:shell_error is always zero when using terminal for "!cmd"
...
Problem: v:shell_error is always zero when using terminal for "!cmd".
Solution: Use "exitval" of terminal-job. (Ozaki Kiichi, closes #2994 )
2018-06-19 19:59:20 +02:00
Bram Moolenaar
5ecdf96422
patch 8.1.0054: compiler warning for using %ld for "long long"
...
Problem: Compiler warning for using %ld for "long long".
Solution: Add a type cast. (closes #3002 )
2018-06-13 20:49:50 +02:00
Bram Moolenaar
493359eb3b
patch 8.1.0050: $VIM_TERMINAL is also set when not in a terminal window
...
Problem: $VIM_TERMINAL is also set when not in a terminal window.
Solution: Pass a flag to indicate whether the job runs in a terminal.
2018-06-12 20:25:52 +02:00
Bram Moolenaar
d7a137fb0d
patch 8.1.0049: shell cannot tell running in a terminal window
...
Problem: Shell cannot tell running in a terminal window.
Solution: Add the VIM_TERMINAL environment variable. (Christian Brabandt)
2018-06-12 18:05:24 +02:00
Bram Moolenaar
cd8fb449d6
patch 8.0.1820: terminal window redirecting stdout does not show stderr
...
Problem: Terminal window redirecting stdout does not show stderr. (Matéo
Zanibelli)
Solution: When stdout is not connected to pty_master_fd then use it for
stderr. (closes #2903 )
2018-05-12 17:42:42 +02:00
Bram Moolenaar
b0b98d5230
patch 8.0.1795: lose contact with jobs when :gui forks
...
Problem: Lose contact with jobs when :gui forks.
Solution: Don't fork when there is a running job. Make log message for a
died job clearer. Also close the terminal when stderr and stdout
are the same FD.
2018-05-05 21:01:00 +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
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
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
9a993e3c09
patch 8.0.1665: when running a terminal from the GUI 'term' is not useful
...
Problem: When running a terminal from the GUI 'term' is not useful.
Solution: Use $TERM in the GUI if it starts with "xterm". (closes #2776 )
2018-04-05 22:15:22 +02:00