summaryrefslogtreecommitdiff
path: root/src/os_win32.c
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.2.3569: error for :let when vimrc is Vim 9 scriptv8.2.3569Christian Brabandt2021-11-011-4/+7
| | | | | | Problem: Error for :let when vimrc is Vim 9 script. Solution: Prepend :legacy in the code for converting arguments. (Christian Brabandt, closes #9068, closes #9077)
* patch 8.2.3208: dynamic library load error does not mention why it failedv8.2.3208Martin Tournoij2021-07-241-1/+17
| | | | | Problem: Dynamic library load error does not mention why it failed. Solution: Add the error message. (Martin Tournoij, closes #8621)
* patch 8.2.3079: Powershell core not supported by defaultv8.2.3079Mike Williams2021-06-301-2/+5
| | | | | Problem: Powershell core not supported by default. Solution: Set option defaults for "pwsh". (Mike Williams, closes #8481)
* patch 8.2.3071: shell options are not set properly for PowerShellv8.2.3071Mike Williams2021-06-281-1/+2
| | | | | Problem: Shell options are not set properly for PowerShell. Solution: Use better option defaults. (Mike Willams, closes #8459)
* patch 8.2.2962: MS-Windows command line arguments have wrong encodingv8.2.2962K.Takata2021-06-081-4/+4
| | | | | Problem: MS-Windows command line arguments have wrong encoding. Solution: Always use utf-8 in get_cmd_argsW(). (Ken Takata, closes #8347)
* patch 8.2.2922: computing array length is done in various waysv8.2.2922K.Takata2021-06-021-6/+5
| | | | | Problem: Computing array length is done in various ways. Solution: Use ARRAY_LENGTH everywhere. (Ken Takata, closes #8305)
* patch 8.2.2913: MS-Windows conpty supports using mouse eventsv8.2.2913Wez Furlong2021-05-301-7/+27
| | | | | | Problem: MS-Windows conpty supports using mouse events. Solution: When enabling the mouse enable mouse input and disable quick edit mode. (Wez Furlong, closes #8280)
* patch 8.2.2874: MS-Windows: screen redraws too oftenv8.2.2874matveyt2021-05-201-1/+3
| | | | | | Problem: MS-Windows: screen redraws too often. Solution: Do not redraw when peeking for a character. (closes #8230, closes #8211)
* patch 8.2.2841: MS-Windows: cursor wrong when 'lz' and 'stl' are setv8.2.2841matveyt2021-05-071-3/+3
| | | | | | Problem: MS-Windows: cursor in wrong position when 'lazyredraw' and 'statusline' are set. Solution: Call compute_cmdrow(). (closes #8170, closes #8184)
* patch 8.2.2821: MS-Windows: unnessarily loading libraries when registering OLEv8.2.2821Bram Moolenaar2021-05-011-0/+4
| | | | | Problem: MS-Windows: unnessarily loading libraries when registering OLE. Solution: Skip loading libraries when invoked with "-register".
* patch 8.2.2793: MS-Windows: string literals are writable with MSVCv8.2.2793Bram Moolenaar2021-04-211-5/+6
| | | | | | Problem: MS-Windows: string literals are writable with MSVC. Solution: Add the /GF compiler flag. Make mch_write() safer. (Ken Takata, closes #8133)
* patch 8.2.2787: MS-Windows: crash when using :echoconsolev8.2.2787Bram Moolenaar2021-04-201-2/+4
| | | | | Problem: MS-Windows: crash when using :echoconsole. Solution: Do not write a NUL when it's already there.
* patch 8.2.2451: MS-Windows: Extended Attributes not preservedv8.2.2451Bram Moolenaar2021-02-011-0/+180
| | | | | | Problem: MS-Windows: Extended Attributes not preserved. Solution: Preserve Extended Attributes when writing a file. (Ken Takata, closes #7765)
* patch 8.2.2160: various typosv8.2.2160Bram Moolenaar2020-12-181-7/+6
| | | | | Problem: Various typos. Solution: Fix spelling mistakes. (closes #7494)
* patch 8.2.2091: MS-Windows: build warningsv8.2.2091Bram Moolenaar2020-12-041-0/+9
| | | | | | Problem: MS-Windows: build warnings. Solution: Add a #pragma to suppress the deprecation warning. (Ken Takata) Avoid using a non-ASCII character. (closes #7421)
* patch 8.2.2076: MS-Windows console: sometimes drops typed charactersv8.2.2076Bram Moolenaar2020-12-011-19/+7
| | | | | Problem: MS-Windows console: sometimes drops typed characters. Solution: Do not wait longer than 10 msec for input. (issue #7164)
* patch 8.2.1975: Win32: memory leak when encoding conversion failsv8.2.1975Bram Moolenaar2020-11-101-0/+3
| | | | | Problem: Win32: memory leak when encoding conversion fails. Solution: Free the allocated memory. (Ken Takata, closes #7277)
* 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)