summaryrefslogtreecommitdiff
path: root/src/os_unix.c
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.2.2550: signal stack size is wrong with latest glibc 2.34v8.2.2550Bram Moolenaar2021-02-251-1/+13
| | | | | | Problem: Signal stack size is wrong with latest glibc 2.34. Solution: Use sysconf(_SC_SIGSTKSZ) if available. (Zdenek Dohnal, closes #7895)
* patch 8.2.2109: "vim -" does not work well when modifyOtherKeys is enabledv8.2.2109Bram Moolenaar2020-12-081-3/+7
| | | | | | | Problem: "vim -" does not work well when modifyOtherKeys is enabled and a shell command is executed on startup. Solution: Only change modifyOtherKeys when executing a shell command in raw mode.
* patch 8.2.1898: command modifier parsing always uses global cmdmodv8.2.1898Bram Moolenaar2020-10-241-4/+4
| | | | | Problem: Command modifier parsing always uses global cmdmod. Solution: Pass in cmdmod_T to use. Rename struct fields consistently.
* patch 8.2.1896: valgrind warns for using uninitialized memoryv8.2.1896Bram Moolenaar2020-10-241-2/+5
| | | | | | Problem: Valgrind warns for using uninitialized memory. Solution: NUL terminate the SmcOpenConnection() error message. (Dominique Pellé, closes #7194)
* patch 8.2.1818: SE Linux: deprecation warning for security_context_tv8.2.1818Bram Moolenaar2020-10-091-2/+4
| | | | | Problem: SE Linux: deprecation warning for security_context_t. Solution: Use "char *" instead. (James McCoy, closes #7093)
* patch 8.2.1805: Unix: terminal mode changed when using ":shell"v8.2.1805Bram Moolenaar2020-10-051-4/+8
| | | | | Problem: Unix: terminal mode changed when using ":shell". Solution: Avoid calling settmode() when not needed. (issue #7079)
* patch 8.2.1676: compiler warnings for function typecastv8.2.1676Bram Moolenaar2020-09-131-2/+2
| | | | | Problem: Compiler warnings for function typecast. Solution: Add an intermediate cast to "void *".
* patch 8.2.1545: ch_logfile() is unclear about closing when forkingv8.2.1545Bram Moolenaar2020-08-301-1/+3
| | | | | Problem: ch_logfile() is unclear about closing when forking. Solution: Adjust the log messages.
* patch 8.2.1513: cannot interrupt shell used for filename expansionv8.2.1513Bram Moolenaar2020-08-231-13/+22
| | | | | | Problem: Cannot interrupt shell used for filename expansion. (Dominique Pellé) Solution: Do set tmode in mch_delay(). (closes #6770)
* patch 8.2.1422: the Mac GUI implementation is outdatedv8.2.1422Bram Moolenaar2020-08-111-2/+2
| | | | | | | Problem: The Mac GUI implementation is outdated and probably doesn't even work. Solution: Remove the Mac GUI code. The MacVim project provides the supported Vim GUI version.
* patch 8.2.1215: Atari MiNT support is outdatedv8.2.1215Bram Moolenaar2020-07-141-2/+1
| | | | | Problem: Atari MiNT support is outdated. Solution: Nobody responded this code is still useful, so let's delete it.
* patch 8.2.1091: no check if opening a pty worksv8.2.1091Bram Moolenaar2020-06-291-0/+2
| | | | | Problem: No check if opening a pty works. Solution: Check for invalid file descriptor.
* patch 8.2.0952: no simple way to interrupt Vimv8.2.0952Bram Moolenaar2020-06-101-3/+24
| | | | | | Problem: No simple way to interrupt Vim. Solution: Add the SigUSR1 autocommand, triggered by SIGUSR1. (Jacob Hayes, closes #1718)
* patch 8.2.0856: CTRL-S stops outputv8.2.0856Bram Moolenaar2020-05-311-4/+2
| | | | | Problem: CTRL-S stops output. Solution: Invert the IXON flag. (closes #6166)
* patch 8.2.0852: cannot map CTRL-S on some systemsv8.2.0852Bram Moolenaar2020-05-301-2/+0
| | | | | Problem: Cannot map CTRL-S on some systems. Solution: Do not use CTRL-S for flow control.
* patch 8.2.0849: BeOS code is not maintained and probably unusedv8.2.0849Bram Moolenaar2020-05-301-21/+9
| | | | | Problem: BeOS code is not maintained and probably unused. Solution: Remove the BeOS code. (Emir Sari, closes #5817)
* patch 8.2.0774: t_TI and t_TE are output when using 'visualbell'v8.2.0774Bram Moolenaar2020-05-171-10/+13
| | | | | | | | Problem: t_TI and t_TE are output when using 'visualbell'. (Dominique Pelle) Solution: Do not change the terminal mode for a short sleep. Do not output t_TI and t_TE when switching to/from TMODE_SLEEP. Make tmode an enum.
* patch 8.2.0773: switching to raw mode every time ":" is usedv8.2.0773Bram Moolenaar2020-05-161-0/+7
| | | | | | Problem: Switching to raw mode every time ":" is used. Solution: When executing a shell set cur_tmode to TMODE_UNKNOWN, so that the next time TMODE_RAW is used it is set, but not every time.
* patch 8.2.0739: incomplete profiling when exiting because of a dealy signalv8.2.0739Bram Moolenaar2020-05-111-0/+10
| | | | | Problem: Incomplete profiling when exiting because of a dealy signal. Solution: Call __gcov_flush() if available.
* patch 8.2.0737: when shell doesn't support CTRL-Z Vim still handles itv8.2.0737Bram Moolenaar2020-05-111-6/+26
| | | | | | Problem: When shell doesn't support CTRL-Z Vim still handles it. Solution: Ignore the STOP signal if it was ignored on startup. (Kurtis Rader, closes #5990, closes #6058)
* patch 8.2.0728: messages about a deadly signal are not left alignedv8.2.0728Bram Moolenaar2020-05-101-2/+2
| | | | | Problem: Messages about a deadly signal are not left aligned. Solution: Output a CR before the NL. (Dominique Pelle, #6055)
* patch 8.2.0720: occasional exit when encountering an X errorv8.2.0720Bram Moolenaar2020-05-091-4/+9
| | | | | Problem: Occasional exit when encountering an X error. (Manfred Lotz) Solution: On an X error do not exit, do preserve files.
* patch 8.2.0658: HP-UX build fails when setenv() is not definedv8.2.0658Bram Moolenaar2020-04-281-1/+1
| | | | | Problem: HP-UX build fails when setenv() is not defined. Solution: Change "colors" to "t_colors". (John Marriott)
* patch 8.2.0646: t_Co uses the value of $COLORS in the GUIv8.2.0646Bram Moolenaar2020-04-261-6/+1
| | | | | Problem: t_Co uses the value of $COLORS in the GUI. (Masato Nishihata) Solution: Ignore $COLORS for the GUI. (closes #5992)
* patch 8.2.0579: Coverity warns for unused valuev8.2.0579Bram Moolenaar2020-04-141-3/+4
| | | | | Problem: Coverity warns for unused value. Solution: Change order and use "else if".
* patch 8.2.0518: a terminal falls back to setting $TERM to "xterm"v8.2.0518Bram Moolenaar2020-04-051-1/+8
| | | | | | | Problem: A terminal falls back to setting $TERM to "xterm". Solution: Use "xterm-color" if more than 16 colors are supported and "xterm-256color" if at least 256 colors are supported. (closes #5887)
* patch 8.2.0320: no Haiku supportv8.2.0320Bram Moolenaar2020-02-261-3/+4
| | | | | Problem: No Haiku support. Solution: Add support for Haiku. (Emir Sari, closes #5605)
* patch 8.2.0260: several lines of code are duplicatedv8.2.0260Bram Moolenaar2020-02-151-23/+1
| | | | | | Problem: Several lines of code are duplicated. Solution: Move duplicated code to a function. (Yegappan Lakshmanan, closes #5330)
* patch 8.2.0156: various typos in source files and testsv8.2.0156Bram Moolenaar2020-01-261-1/+1
| | | | | Problem: Various typos in source files and tests. Solution: Fix the typos. (Emir Sari, closes #5532)
* patch 8.2.0125: :mode no longer works for any systemv8.2.0125Bram Moolenaar2020-01-171-10/+0
| | | | | Problem: :mode no longer works for any system. Solution: Always give an error message.
* patch 8.1.2406: leaking memory in test_paste and test_registersv8.1.2406Bram Moolenaar2019-12-071-0/+4
| | | | | Problem: Leaking memory in test_paste and test_registers. Solution: Free the old title. Don't copy expr_line.
* patch 8.1.2393: using old C style commentsv8.1.2393Bram Moolenaar2019-12-051-678/+675
| | | | | Problem: Using old C style comments. Solution: Use // comments where appropriate.
* patch 8.1.2370: build problems on VMSv8.1.2370Bram Moolenaar2019-11-301-2/+2
| | | | | Problem: Build problems on VMS. Solution: Adjust the build file. (Zoltan Arpadffy)
* patch 8.1.2251: ":term command" may not work without a shellv8.1.2251Bram Moolenaar2019-11-031-5/+5
| | | | | Problem: ":term command" may not work without a shell. Solution: Add the ++shell option to :term. (closes #3340)
* patch 8.1.2243: typos in commentsv8.1.2243Bram Moolenaar2019-11-021-2/+2
| | | | | | Problem: Typos in comments. Solution: Fix the typos. (Dominique Pelle, closes #5160) Also adjust formatting a bit.
* patch 8.1.2208: Unix: Tabs in output might be expanded to spacesv8.1.2208Bram Moolenaar2019-10-241-5/+15
| | | | | Problem: Unix: Tabs in output might be expanded to spaces. Solution: Reset the XTABS flag. (closes #5108)
* patch 8.1.2171: mouse support not always availablev8.1.2171Bram Moolenaar2019-10-171-29/+25
| | | | | | 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).
* patch 8.1.2045: the option.c file is too bigv8.1.2045Bram Moolenaar2019-09-161-4/+4
| | | | | | Problem: The option.c file is too big. Solution: Split off the code dealing with strings. (Yegappan Lakshmanan, closes #4937)
* patch 8.1.2021: some global functions can be local to the filev8.1.2021Bram Moolenaar2019-09-101-1/+1
| | | | | Problem: Some global functions can be local to the file. Solution: Add "static". (Yegappan Lakshmanan, closes #4917)
* patch 8.1.1985: code for dealing with paths is spread outv8.1.1985Bram Moolenaar2019-09-041-2/+0
| | | | | | Problem: Code for dealing with paths is spread out. Solution: Move path related functions from misc1.c to filepath.c. Remove NO_EXPANDPATH.
* patch 8.1.1948: mouse doesn't work in Linux consolev8.1.1948Bram Moolenaar2019-08-301-1/+2
| | | | | | | 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)
* patch 8.1.1851: crash when sound_playfile() callback plays soundv8.1.1851Bram Moolenaar2019-08-151-0/+5
| | | | | Problem: Crash when sound_playfile() callback plays sound. Solution: Invoke callback later from event loop.
* patch 8.1.1740: exepath() doesn't work for "bin/cat"v8.1.1740Bram Moolenaar2019-07-241-3/+2
| | | | | | Problem: Exepath() doesn't work for "bin/cat". Solution: Check for any path separator. (Daniel Hahler, closes #4724, closes #4710)
* patch 8.1.1531: clipboard type name is inconsistentv8.1.1531Bram Moolenaar2019-06-141-4/+4
| | | | | Problem: Clipboard type name is inconsistent. Solution: Rename VimClipboard to Clipboard_T.
* patch 8.1.1414: alloc() returning "char_u *" causes a lot of type castsv8.1.1414Bram Moolenaar2019-05-281-3/+3
| | | | | | 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.
* patch 8.1.1386: unessesary type casts for lalloc()v8.1.1386Bram Moolenaar2019-05-241-2/+2
| | | | | Problem: Unessesary type casts for lalloc(). Solution: Remove type casts. Change lalloc(size, TRUE) to alloc(size).
* patch 8.1.1384: using "int" for alloc() often results in compiler warningsv8.1.1384Bram Moolenaar2019-05-241-5/+6
| | | | | | 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.
* patch 8.1.1307: cannot reconnect to the X server after it restartedv8.1.1307Bram Moolenaar2019-05-091-1/+24
| | | | | Problem: Cannot reconnect to the X server after it restarted. Solution: Add the :xrestore command. (Adrian Kocis, closes #844)
* patch 8.1.1267: cannot check if GPM mouse support is workingv8.1.1267Bram Moolenaar2019-05-041-2/+11
| | | | | Problem: Cannot check if GPM mouse support is working. Solution: Add the "mouse_gpm_enable" feature.
* patch 8.1.1265: when GPM mouse support is enabled double clicks do not workv8.1.1265Bram Moolenaar2019-05-041-2/+6
| | | | | | Problem: When GPM mouse support is enabled double clicks in xterm do not work. Solution: Use KS_GPM_MOUSE for GPM mouse events.