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
a1cb1d1dce
patch 8.1.2171: mouse support not always available
...
Problem: Mouse support not always available.
Solution: Enable mouse support also in tiny version. Do not define
FEAT_MOUSE_XTERM on MS-Windows (didn't really work).
2019-10-17 23:00:07 +02:00
Bram Moolenaar
dac1347b4d
patch 8.1.2045: the option.c file is too big
...
Problem: The option.c file is too big.
Solution: Split off the code dealing with strings. (Yegappan Lakshmanan,
closes #4937 )
2019-09-16 21:06:21 +02:00
Bram Moolenaar
840d16fd36
patch 8.1.2021: some global functions can be local to the file
...
Problem: Some global functions can be local to the file.
Solution: Add "static". (Yegappan Lakshmanan, closes #4917 )
2019-09-10 21:27:18 +02:00
Bram Moolenaar
26262f8777
patch 8.1.1985: code for dealing with paths is spread out
...
Problem: Code for dealing with paths is spread out.
Solution: Move path related functions from misc1.c to filepath.c.
Remove NO_EXPANDPATH.
2019-09-04 20:59:15 +02:00
Bram Moolenaar
b5432d8968
patch 8.1.1948: mouse doesn't work in Linux console
...
Problem: Mouse doesn't work in Linux console and causes 100% CPU. (James P.
Harvey)
Solution: Loop in WaitForCharOrMouse() when gpm_process_wanted is set.
(closes #4828 )
2019-08-30 19:28:25 +02:00
Bram Moolenaar
28e67e0c14
patch 8.1.1851: crash when sound_playfile() callback plays sound
...
Problem: Crash when sound_playfile() callback plays sound.
Solution: Invoke callback later from event loop.
2019-08-15 23:05:49 +02:00
Bram Moolenaar
d08b8c4c04
patch 8.1.1740: exepath() doesn't work for "bin/cat"
...
Problem: Exepath() doesn't work for "bin/cat".
Solution: Check for any path separator. (Daniel Hahler, closes #4724 ,
closes #4710 )
2019-07-24 14:59:45 +02:00
Bram Moolenaar
0554fa478d
patch 8.1.1531: clipboard type name is inconsistent
...
Problem: Clipboard type name is inconsistent.
Solution: Rename VimClipboard to Clipboard_T.
2019-06-14 21:36:54 +02:00
Bram Moolenaar
c799fe206e
patch 8.1.1414: alloc() returning "char_u *" causes a lot of type casts
...
Problem: Alloc() returning "char_u *" causes a lot of type casts.
Solution: Have it return "void *". (Mike Williams) Define ALLOC_ONE() to
check the simple allocations.
2019-05-28 23:08:19 +02:00
Bram Moolenaar
18a4ba29ae
patch 8.1.1386: unessesary type casts for lalloc()
...
Problem: Unessesary type casts for lalloc().
Solution: Remove type casts. Change lalloc(size, TRUE) to alloc(size).
2019-05-24 19:39:03 +02:00
Bram Moolenaar
964b3746b9
patch 8.1.1384: using "int" for alloc() often results in compiler warnings
...
Problem: Using "int" for alloc() often results in compiler warnings.
Solution: Use "size_t" and remove type casts. Remove alloc_check(), Vim
only works with 32 bit ints anyway.
2019-05-24 18:54:09 +02:00
Bram Moolenaar
d4aa83af1d
patch 8.1.1307: cannot reconnect to the X server after it restarted
...
Problem: Cannot reconnect to the X server after it restarted.
Solution: Add the :xrestore command. (Adrian Kocis, closes #844 )
2019-05-09 18:59:31 +02:00
Bram Moolenaar
4b8366b56e
patch 8.1.1267: cannot check if GPM mouse support is working
...
Problem: Cannot check if GPM mouse support is working.
Solution: Add the "mouse_gpm_enable" feature.
2019-05-04 17:34:34 +02:00
Bram Moolenaar
bedf091a95
patch 8.1.1265: when GPM mouse support is enabled double clicks do not work
...
Problem: When GPM mouse support is enabled double clicks in xterm do not
work.
Solution: Use KS_GPM_MOUSE for GPM mouse events.
2019-05-04 16:58:45 +02:00
Bram Moolenaar
e5c83286bb
patch 8.1.1259: crash when exiting early
...
Problem: Crash when exiting early. (Ralf Schandl)
Solution: Only pop/push the title when it was set. (closes #4334 )
2019-05-03 23:15:37 +02:00
Bram Moolenaar
92fd599e0d
patch 8.1.1248: no test for dec mouse
...
Problem: No test for dec mouse.
Solution: Add some tests for dec mouse. Add "no_query_mouse".
2019-05-02 23:00:22 +02:00
Bram Moolenaar
1b243eafb0
patch 8.1.1232: can't build on MS-Windows
...
Problem: Can't build on MS-Windows.
Solution: Define process_still_running.
2019-04-28 22:50:40 +02:00
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