summaryrefslogtreecommitdiff
path: root/src/os_win32.c
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.2.1582: the channel log does not show typed textv8.2.1582Bram Moolenaar2020-09-031-0/+7
| | | | | Problem: The channel log does not show typed text. Solution: Add raw typed text to the log file.
* patch 8.2.1513: cannot interrupt shell used for filename expansionv8.2.1513Bram Moolenaar2020-08-231-2/+2
| | | | | | Problem: Cannot interrupt shell used for filename expansion. (Dominique Pellé) Solution: Do set tmode in mch_delay(). (closes #6770)
* patch 8.2.0967: unnecessary type casts for vim_strnsave()v8.2.0967Bram Moolenaar2020-06-121-2/+1
| | | | | Problem: Unnecessary type casts for vim_strnsave(). Solution: Remove the type casts.
* patch 8.2.0850: MS-Windows: exepath() works different from cmd.exev8.2.0850Bram Moolenaar2020-05-301-100/+181
| | | | | Problem: MS-Windows: exepath() works different from cmd.exe. Solution: Make exepath() work better on MS-Windows. (closes #6115)
* patch 8.2.0848: MS-Windows: the Windows terminal code has some flawsv8.2.0848Bram Moolenaar2020-05-301-11/+94
| | | | | | | Problem: MS-Windows: the Windows terminal code has some flaws. Solution: Do not redraw the right edge of the screen. Remove the background color trick. Flush the screen output buffer often. (Nobuhiro Takasaki, #5546)
* patch 8.2.0793: MS-Windows: cannot build GUI with small featuresv8.2.0793Bram Moolenaar2020-05-181-2/+3
| | | | | Problem: MS-Windows: cannot build GUI with small features. (Michael Soyka) Solution: Add #ifdef around use of windowsVersion. (Ken Takata)
* patch 8.2.0774: t_TI and t_TE are output when using 'visualbell'v8.2.0774Bram Moolenaar2020-05-171-1/+1
| | | | | | | | 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/+4
| | | | | | 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.0669: MS-Windows: display in VTP is a bit slowv8.2.0669Bram Moolenaar2020-04-301-50/+355
| | | | | Problem: MS-Windows: display in VTP is a bit slow. Solution: Optimize the code. (Nobuhiro Takasaki, closes #6014)
* patch 8.2.0656: MS-Windows: redrawing right screen edge may not be neededv8.2.0656Bram Moolenaar2020-04-281-0/+16
| | | | | Problem: MS-Windows: redrawing right screen edge may not be needed. Solution: Check the build version. (Nobuhiro Takasaki, closes #6002)
* patch 8.2.0647: MS-Windows: repeat count for events was not usedv8.2.0647Bram Moolenaar2020-04-261-0/+14
| | | | | Problem: MS-Windows: repeat count for events was not used. Solution: Check the repeat count. (Nobuhiro Takasaki, closes #5989)
* patch 8.2.0599: Netbeans interface insufficiently testedv8.2.0599Bram Moolenaar2020-04-191-0/+4
| | | | | Problem: Netbeans interface insufficiently tested. Solution: Add more tests. (Yegappan Lakshmanan, closes #5921)
* patch 8.2.0592: MS-Windows with VTP: cursor is not made invisiblev8.2.0592Bram Moolenaar2020-04-171-0/+4
| | | | | | Problem: MS-Windows with VTP: cursor is not made invisible. Solution: Output the code to make the cursor visible or invisible. (Nobuhiro Takasaki, closes #5941)
* patch 8.2.0581: Win32 console: the cursor position is always top-leftv8.2.0581Bram Moolenaar2020-04-151-13/+7
| | | | | Problem: Win32 console: the cursor position is always top-left. Solution: Revert the patch for restoring screen.
* patch 8.2.0559: clearing a struct is verbosev8.2.0559Bram Moolenaar2020-04-121-1/+1
| | | | | Problem: Clearing a struct is verbose. Solution: Define and use CLEAR_FIELD() and CLEAR_POINTER().
* patch 8.2.0547: Win32: restoring screen not always done rightv8.2.0547Bram Moolenaar2020-04-111-7/+13
| | | | | Problem: Win32: restoring screen not always done right. Solution: Use a more appropriate method. (Nobuhiro Takasaki, closes #5909)
* patch 8.2.0490: Win32: VTP doesn't respect 'restorescreen'v8.2.0490Bram Moolenaar2020-04-011-0/+6
| | | | | | Problem: Win32: VTP doesn't respect 'restorescreen'. Solution: Use escape codes to switch to alternate screen. (Nobuhiro Takasaki, closes #5872)
* patch 8.2.0451: Win32: double-width character displayed incorrectlyv8.2.0451Bram Moolenaar2020-03-261-0/+6
| | | | | | Problem: Win32: double-width character displayed incorrectly. Solution: First move the cursor to the first column. (Nobuhiro Takasaki, closes #5848)
* patch 8.2.0356: MS-Windows: feedkeys() with VIMDLL cannot handle CSIv8.2.0356Bram Moolenaar2020-03-041-5/+31
| | | | | | Problem: MS-Windows: feedkeys() with VIMDLL cannot handle CSI correctly. Solution: Modify mch_inchar() to encode CSI bytes. (Ozaki Kiichi, Ken Takata, closes #5726)
* patch 8.2.0260: several lines of code are duplicatedv8.2.0260Bram Moolenaar2020-02-151-24/+1
| | | | | | Problem: Several lines of code are duplicated. Solution: Move duplicated code to a function. (Yegappan Lakshmanan, closes #5330)
* patch 8.2.0239: MS-Windows: 'env' job option does not override existing varsv8.2.0239Bram Moolenaar2020-02-101-18/+18
| | | | | | | Problem: MS-Windows: 'env' job option does not override existing environment variables. (Tim Pope) Solution: Set the environment variables later. (Yasuhiro Matsumoto, closes #5485, closes #5608)
* patch 8.2.0238: MS-Windows: job_stop() results in exit value zerov8.2.0238Bram Moolenaar2020-02-101-2/+2
| | | | | | Problem: MS-Windows: job_stop() results in exit value zero. Solution: Call TerminateJobObject() with -1 instead of 0. (Yasuhiro Matsumoto, closes #5150, closes #5614)
* patch 8.2.0178: with VTP the screen may not be restored properlyv8.2.0178Bram Moolenaar2020-01-301-2/+35
| | | | | | Problem: With VTP the screen may not be restored properly. Solution: Add another set of saved RGB values. (Nobuhiro Takasaki, closes #5548)
* 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.0047: cannot skip tests for specific MS-Windows platformv8.2.0047Bram Moolenaar2019-12-271-5/+3
| | | | | Problem: Cannot skip tests for specific MS-Windows platform. Solution: Add windowsversion().
* patch 8.1.2424: MS-Windows: console buffer is resized unnecessarilyv8.1.2424Bram Moolenaar2019-12-111-3/+7
| | | | | | Problem: MS-Windows: console buffer is resized unnecessarily. Solution: Only call ResizeConBuf() when the size differs. (Nobuhiro Takasaki, closes #5343)
* patch 8.1.2393: using old C style commentsv8.1.2393Bram Moolenaar2019-12-051-381/+380
| | | | | Problem: Using old C style comments. Solution: Use // comments where appropriate.
* patch 8.1.2382: MS-Windows: When using VTP bold+inverse doesn't workv8.1.2382Bram Moolenaar2019-12-021-24/+49
| | | | | Problem: MS-Windows: When using VTP bold+inverse doesn't work. Solution: Compare with the default colors. (Nobuhiro Takasaki, closes #5303)
* patch 8.1.2376: preprocessor indents are incorrectv8.1.2376Bram Moolenaar2019-12-011-142/+142
| | | | | Problem: Preprocessor indents are incorrect. Solution: Fix the indents. (Ken Takata, closes #5298)
* patch 8.1.2323: Old MSVC version no longer tested.v8.1.2323Bram Moolenaar2019-11-191-26/+0
| | | | | Problem: Old MSVC version no longer tested. Solution: Drop support for MSCV 2008 and older. (Ken Takata, closes #5248)
* patch 8.1.2299: ConPTY in MS-Windows 1909 is still wrongv8.1.2299Bram Moolenaar2019-11-131-2/+9
| | | | | Problem: ConPTY in MS-Windows 1909 is still wrong. Solution: Use same solution as for 1903. (Nobuhiro Takasaki, closes #5217)
* patch 8.1.2171: mouse support not always availablev8.1.2171Bram Moolenaar2019-10-171-40/+18
| | | | | | 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.2132: MS-Windows: screen mess when not recognizing insider buildv8.1.2132Bram Moolenaar2019-10-101-3/+3
| | | | | | Problem: MS-Windows: screen mess when not recognizing insider build. Solution: Always move the cursor to the first column first. (Nobuhiro Takasaki, closes #5036)
* patch 8.1.2115: MS-Windows: shell commands fail if &shell contains a spacev8.1.2115Bram Moolenaar2019-10-051-1/+18
| | | | | Problem: MS-Windows: shell commands fail if &shell contains a space. Solution: Use quotes instead of escaping. (closes #4920)
* patch 8.1.2112: build number for ConPTY is outdatedv8.1.2112Bram Moolenaar2019-10-041-1/+1
| | | | | Problem: Build number for ConPTY is outdated. Solution: Update to new build number. (Nobuhiro Takasaki, closes #5014)
* patch 8.1.2085: MS-Windows: draw error moving cursor over double-cell charv8.1.2085Bram Moolenaar2019-09-271-6/+17
| | | | | | Problem: MS-Windows: draw error moving cursor over double-cell character. Solution: Move the cursor to the left edge if needed. (Nobuhiro Takasaki, closes #4986)
* patch 8.1.2064: MS-Windows: compiler warnings for unused argumentsv8.1.2064Bram Moolenaar2019-09-211-5/+5
| | | | | Problem: MS-Windows: compiler warnings for unused arguments. Solution: Add UNUSED. (Yegappan Lakshmanan, closes #4963)
* patch 8.1.2061: MS-Windows GUI: ":sh" crashes when trying to use a terminalv8.1.2061Bram Moolenaar2019-09-201-4/+6
| | | | | Problem: MS-Windows GUI: ":sh" crashes when trying to use a terminal. Solution: Check for a NULL command. (Yasuhiro Matsumoto, closes #4958)
* patch 8.1.2027: MS-Windows: problem with ambiwidth charactersv8.1.2027Bram Moolenaar2019-09-131-1/+30
| | | | | | Problem: MS-Windows: problem with ambiwidth characters. Solution: handle ambiguous width characters in ConPTY on Windows 10 (1903). (Nobuhiro Takasaki, closes #4411)
* patch 8.1.1782: MS-Windows: system() has temp file error with 'noshelltemp'v8.1.1782Bram Moolenaar2019-07-311-1/+1
| | | | | Problem: MS-Windows: system() has temp file error with 'noshelltemp'. Solution: Check s_dont_use_vimrun. (Ken Takata, closes #4754)
* patch 8.1.1695: Windows 10: crash when cursor is at bottom of terminalv8.1.1695Bram Moolenaar2019-07-151-0/+6
| | | | | | Problem: Windows 10: crash when cursor is at bottom of terminal. Solution: Position the cursor before resizing. (Yasuhiro Matsumoto, closes #4679)
* patch 8.1.1492: MS-Windows: when "!" is in 'guioptions' ":!start" failsv8.1.1492Bram Moolenaar2019-06-081-7/+17
| | | | | | Problem: MS-Windows: when "!" is in 'guioptions' ":!start" fails. Solution: Do not use a terminal window when the shell command begins with "!start". (Yasuhiro Matsumoto, closes #4504)
* patch 8.1.1414: alloc() returning "char_u *" causes a lot of type castsv8.1.1414Bram Moolenaar2019-05-281-7/+7
| | | | | | 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.1393: unnecessary type castsv8.1.1393Bram Moolenaar2019-05-251-1/+1
| | | | | Problem: Unnecessary type casts. Solution: Remove type casts from alloc() and lalloc() calls. (Mike Williams)
* patch 8.1.1386: unessesary type casts for lalloc()v8.1.1386Bram Moolenaar2019-05-241-4/+4
| | | | | 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-3/+2
| | | | | | 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.1377: MS-Windows GUI uses wrong shell command for bashv8.1.1377Bram Moolenaar2019-05-241-8/+6
| | | | | Problem: MS-Windows GUI uses wrong shell command for bash. (Robert Bogomip) Solution: Check that 'shellcmdflag' is "/c". (Ken Takata, closes #4418)
* patch 8.1.1369: get E484 when using system() during GUI startupv8.1.1369Bram Moolenaar2019-05-231-7/+7
| | | | | Problem: Get E484 when using system() during GUI startup. Solution: Check "gui.starting". (Ken Takata)
* patch 8.1.1306: Borland support is outdated and doesn't workv8.1.1306Bram Moolenaar2019-05-091-20/+0
| | | | | | Problem: Borland support is outdated and doesn't work. Solution: Remove Borland support, there are other (free) compilers available. (Thomas Dziedzic, Ken Takata, closes #4364)
* patch 8.1.1295: when vimrun.exe does not exist external command may failv8.1.1295Bram Moolenaar2019-05-071-3/+16
| | | | | | Problem: When vimrun.exe does not exist external command may fail. Solution: Use "cmd /c" twice to get the same behavior. (Ken Takata, closes #4355)