summaryrefslogtreecommitdiff
path: root/src/os_unix.c
Commit message (Collapse)AuthorAgeFilesLines
* patch 9.0.1168: code to enable/disable mouse is not from terminfo/termcapv9.0.1168Bram Moolenaar2023-01-101-1/+5
| | | | | Problem: Code to enable/disable mouse is not from terminfo/termcap. Solution: Request the "XM" entry and use it to set 'ttymouse' if possible.
* patch 9.0.1080: the "kitty" terminfo entry is not widespreadv9.0.1080Bram Moolenaar2022-12-191-1/+4
| | | | | | | Problem: The "kitty" terminfo entry is not widespread, resulting in the kitty terminal not working properly. Solution: Go back to using "xterm-kitty" and avoid the problems it causes in another way.
* patch 9.0.0980: the keyboard state response may end up in a shell commandv9.0.0980Bram Moolenaar2022-12-011-1/+1
| | | | | | | Problem: The keyboard state response may end up in a shell command. Solution: Only request the keyboard protocol state when the typeahead is empty, no more commands are following and not exiting. Add the t_RK termcap entry for this.
* patch 9.0.0977: it is not easy to see what client-server commands are doingv9.0.0977Bram Moolenaar2022-11-301-4/+4
| | | | | | Problem: It is not easy to see what client-server commands are doing. Solution: Add channel log messages if ch_log() is available. Move the channel logging and make it available with the +eval feature.
* patch 9.0.0965: using one window for executing autocommands is insufficientv9.0.0965Bram Moolenaar2022-11-281-15/+18
| | | | | Problem: Using one window for executing autocommands is insufficient. Solution: Use up to five windows for executing autocommands.
* patch 9.0.0948: 'ttyfast' is set for arbitrary terminalsv9.0.0948Bram Moolenaar2022-11-251-18/+0
| | | | | Problem: 'ttyfast' is set for arbitrary terminals. Solution: Always set 'ttyfast'. (closes #11549)
* patch 9.0.0930: cannot debug the Kitty keyboard protocol with TermDebugv9.0.0930Bram Moolenaar2022-11-231-3/+3
| | | | | | | | | Problem: Cannot debug the Kitty keyboard protocol with TermDebug. Solution: Add Kitty keyboard protocol support to the libvterm fork. Recognize the escape sequences that the protocol generates. Add the 'keyprotocol' option to allow the user to specify for which terminal what protocol is to be used, instead of hard-coding this. Add recognizing the kitty keyboard protocol status.
* patch 9.0.0904: various comment and indent flawsv9.0.0904Bram Moolenaar2022-11-181-14/+21
| | | | | Problem: Various comment and indent flaws. Solution: Improve comments and indenting.
* patch 9.0.0694: no native sound support on Mac OSv9.0.0694Yee Cheng Chin2022-10-081-0/+4
| | | | | Problem: No native sound support on Mac OS. Solution: Add sound support for Mac OS. (Yee Cheng Chin, closes #11274)
* patch 9.0.0655: passing modifier codes to a shell running in the GUIv9.0.0655Bram Moolenaar2022-10-041-1/+2
| | | | | | Problem: passing modifier codes to a shell running in the GUI. (Gary Johnson) Solution: Include modifier codes into the key and drop the modifiers.
* patch 9.0.0653: BS and DEL do not work properly in an interacive shellv9.0.0653Bram Moolenaar2022-10-031-1/+1
| | | | | | Problem: BS and DEL do not work properly in an interacive shell. (Gary Johnson) Solution: Adjust the length for replaced codes.
* patch 9.0.0606: system() opens a terminal window when "!" is in 'guioptions'v9.0.0606Bram Moolenaar2022-09-271-1/+2
| | | | | | | Problem: system() opens a terminal window when using the GUI and "!" is in 'guioptions'. Solution: Do not use a terminal window when the SHELL_SILENT flag is used. (closes #11202)
* patch 9.0.0376: clang warns for dead assignmentsv9.0.0376Yegappan Lakshmanan2022-09-041-4/+3
| | | | | Problem: Clang warns for dead assignments. Solution: Adjust the code. (Yegappan Lakshmanan, closes #11048)
* patch 9.0.0287: Irix systems no longer existv9.0.0287Yegappan Lakshmanan2022-08-271-1/+1
| | | | | Problem: Irix systems no longer exist. Solution: Remove references to Irix. (Yegappan Lakshmanan, closes #10994)
* patch 9.0.0271: using INIT() in non-header filesv9.0.0271zeertzjq2022-08-261-1/+1
| | | | | Problem: Using INIT() in non-header files. Solution: Remove INIT(). (closes #10981)
* patch 9.0.0206: redraw flags are not named specificallyv9.0.0206Bram Moolenaar2022-08-141-1/+1
| | | | | Problem: Redraw flags are not named specifically. Solution: Prefix "UPD_" to the flags, for UPDate_screen().
* patch 9.0.0100: get hit-enter prompt for system() when '!' is in 'guioptions'v9.0.0100Bram Moolenaar2022-07-281-1/+4
| | | | | Problem: Get hit-enter prompt for system() when '!' is in 'guioptions'. Solution: Do not call wait_return() when not redrawing. (closes #3327)
* patch 8.2.5154: still mentioning version8, some cosmetic issuesv8.2.5154Bram Moolenaar2022-06-231-1/+2
| | | | | Problem: Still mentioning version8, some cosmetic issues. Solution: Prefer mentioning version9, cosmetic improvements.
* patch 8.2.5141: using "volatile int" in a signal handler might be wrongv8.2.5141Bram Moolenaar2022-06-201-15/+14
| | | | | Problem: Using "volatile int" in a signal handler might be wrong. Solution: Use "volatile sig_atomic_t".
* patch 8.2.5137: cannot build without the +channel featurev8.2.5137Bram Moolenaar2022-06-201-0/+2
| | | | | Problem: Cannot build without the +channel feature. (Dominique Pellé) Solution: Add #ifdef around ch_log() calls. (closes #10598)
* patch 8.2.5129: timeout handling is not optimalv8.2.5129Bram Moolenaar2022-06-191-1/+0
| | | | | | Problem: Timeout handling is not optimal. Solution: Avoid setting timeout_flag twice. Adjust the pointer when stopping the regexp timeout. Adjust variable name.
* patch 8.2.5115: search timeout is overrun with some patternsv8.2.5115Bram Moolenaar2022-06-171-4/+6
| | | | | | Problem: Search timeout is overrun with some patterns. Solution: Check for timeout in more places. Make the flag volatile and atomic. Use assert_inrange() to see what happened.
* patch 8.2.5113: timer becomes invalid after fork/exec, :gui gives errorsv8.2.5113Bram Moolenaar2022-06-161-1/+14
| | | | | | Problem: Timer becomes invalid after fork/exec, :gui gives errors. (Gabriel Dupras) Solution: Delete the timer befor forking. (closes #10584)
* patch 8.2.5067: timer_create is not available on every Mac systemv8.2.5067Bram Moolenaar2022-06-081-1/+1
| | | | | | Problem: Timer_create is not available on every Mac system. (Hisashi T Fujinaka) Solution: Adjust #ifdef.
* patch 8.2.5062: Coverity warns for dead codev8.2.5062Bram Moolenaar2022-06-061-1/+1
| | | | | Problem: Coverity warns for dead code. Solution: Remove the dead code.
* patch 8.2.5061: C89 requires signal handlers to return voidv8.2.5061Bram Moolenaar2022-06-051-52/+41
| | | | | Problem: C89 requires signal handlers to return void. Solution: Drop RETSIGTYPE and hard-code a void return value.
* patch 8.2.5057: using gettimeofday() for timeout is very inefficientv8.2.5057Paul Ollis2022-06-051-0/+214
| | | | | Problem: Using gettimeofday() for timeout is very inefficient. Solution: Set a platform dependent timer. (Paul Ollis, closes #10505)
* patch 8.2.4928: various white space and cosmetic mistakesv8.2.4928Bram Moolenaar2022-05-091-5/+5
| | | | | Problem: Various white space and cosmetic mistakes. Solution: Change spaces to tabs, improve comments.
* patch 8.2.4911: the mode #defines are not clearly namedv8.2.4911Bram Moolenaar2022-05-071-1/+1
| | | | | Problem: The mode #defines are not clearly named. Solution: Prepend MODE_. Renumber them to put the mapped modes first.
* patch 8.2.4742: there is no way to start logging very early in startupv8.2.4742Bram Moolenaar2022-04-121-0/+3
| | | | | | | Problem: There is no way to start logging very early in startup. Solution: Add the --log argument. Include the date in the start message in the log file. Avoid a duplicate message when forking. Log an executed shell command.
* patch 8.2.4649: various formatting problemsv8.2.4649Bram Moolenaar2022-03-301-1/+1
| | | | | Problem: Various formatting problems. Solution: Improve the code formatting.
* patch 8.2.4560: suspending with CTRL-Z does not work on DragonFlyBSDv8.2.4560ichizok2022-03-131-3/+3
| | | | | Problem: Suspending with CTRL-Z does not work on DragonFlyBSD. Solution: Adjust #ifdef. (Ozaki Kiichi, closes #9943)
* patch 8.2.4532: suspending with CTRL-Z does not work on OpenBSDv8.2.4532Stuart Henderson2022-03-091-2/+3
| | | | | Problem: Suspending with CTRL-Z does not work on OpenBSD. Solution: Adjust #ifdef for SIGTSTP. (Stuart Henderson, closes #9912)
* patch 8.2.4480: suspending with CTRL-Z does not work on Androidv8.2.4480xtkoba2022-02-271-1/+3
| | | | | Problem: Suspending with CTRL-Z does not work on Android. Solution: Do not handle SIGTSTP. (closes #9854)
* patch 8.2.4457: the GPM library can only be linked staticallyv8.2.4457Bram Moolenaar2022-02-231-1/+67
| | | | | Problem: The GPM library can only be linked statically. Solution: Make it possible to load the GPM library dynamically. (Damien)
* patch 8.2.4316: __CYGWIN32__ is not defined on 64 bit systemsv8.2.4316K.Takata2022-02-071-1/+1
| | | | | Problem: __CYGWIN32__ is not defined on 64 bit systems. Solution: Update #ifdefs. (Ken Takata, closes #9709)
* patch 8.2.4294: MS-Windows: #ifdefs for Cygwin are too complicatedv8.2.4294K.Takata2022-02-041-8/+6
| | | | | Problem: MS-Windows: #ifdefs for Cygwin are too complicated. Solution: Simplify the conditions. (Ken Takata, closes #9693)
* patch 8.2.4273: the EBCDIC support is outdatedv8.2.4273Bram Moolenaar2022-01-311-153/+21
| | | | | Problem: The EBCDIC support is outdated. Solution: Remove the EBCDIC support.
* patch 8.2.4241: some type casts are redundantv8.2.4241=?UTF-8?q?Dundar=20G=C3=B6c?=2022-01-281-4/+4
| | | | | Problem: Some type casts are redundant. Solution: Remove the type casts. (closes #9643)
* patch 8.2.4201: when using the GUI CTRL-Z does not stop gvimv8.2.4201Bram Moolenaar2022-01-241-1/+8
| | | | | | Problem: When using the GUI CTRL-Z does not stop gvim. Solution: When using the GUI set SIGTSTP to SIG_DFL. (Andrew Maltsev, closes #9570)
* patch 8.2.4195: resizing terminal may cause to behave like CTRL-Zv8.2.4195dbivolaru2022-01-231-1/+3
| | | | | | Problem: Resizing terminal may cause to behave like CTRL-Z. Solution: Set "got_tstp" only when in_mch_suspend is set. (Dorian Bivolaru, closes #9602, closes #9586)
* patch 8.2.3985: error messages are spread outv8.2.3985Bram Moolenaar2022-01-021-1/+1
| | | | | Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
* patch 8.2.3967: error messages are spread outv8.2.3967Bram Moolenaar2022-01-011-7/+7
| | | | | Problem: Error messages are spread out. Solution: Move more errors to errors.h.
* patch 8.2.3941: SIGTSTP is not handledv8.2.3941dbivolaru2021-12-291-3/+36
| | | | | Problem: SIGTSTP is not handled. Solution: Handle SIGTSTP like pressing CTRL-Z. (closes #9422)
* patch 8.2.3914: various spelling mistakes in commentsv8.2.3914Dominique Pelle2021-12-271-1/+1
| | | | | Problem: Various spelling mistakes in comments. Solution: Fix the mistakes. (Dominique Pellé, closes #9416)
* patch 8.2.3770: new compiler warnings from clang-12 and clang-13v8.2.3770ichizok2021-12-091-1/+9
| | | | | Problem: New compiler warnings from clang-12 and clang-13. Solution: Adjust CI and suppress some warnings. (Ozaki Kiichi, closes #9314)
* patch 8.2.3760: not automatically handling gnome terminal mouse like xtermv8.2.3760Bram Moolenaar2021-12-081-0/+1
| | | | | | Problem: Not automatically handling gnome terminal mouse like xterm. Solution: Default 'ttymouse' to "xterm" and recognize Focus events. (issue #9296)
* patch 8.2.3750: error messages are everywherev8.2.3750Bram Moolenaar2021-12-051-2/+2
| | | | | Problem: Error messages are everywhere. Solution: Move more error messages to errors.h and adjust the names.
* patch 8.2.3699: the +title feature adds a lot of #ifdef but little codev8.2.3699Bram Moolenaar2021-11-291-21/+5
| | | | | Problem: The +title feature adds a lot of #ifdef but little code. Solution: Graduate the +title feature.
* patch 8.2.3623: "$*" is expanded to "nonomatch"v8.2.3623Christian Brabandt2021-11-191-4/+11
| | | | | | Problem: "$*" is expanded to "nonomatch". Solution: Only add "set nonomatch" when using a csh-like shell. (Christian Brabandt, closes #9159, closes #9153)