summaryrefslogtreecommitdiff
path: root/src/os_mswin.c
Commit message (Collapse)AuthorAgeFilesLines
* 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.0559: clearing a struct is verbosev8.2.0559Bram Moolenaar2020-04-121-4/+4
| | | | | Problem: Clearing a struct is verbose. Solution: Define and use CLEAR_FIELD() and CLEAR_POINTER().
* patch 8.2.0125: :mode no longer works for any systemv8.2.0125Bram Moolenaar2020-01-171-11/+0
| | | | | Problem: :mode no longer works for any system. Solution: Always give an error message.
* patch 8.1.2393: using old C style commentsv8.1.2393Bram Moolenaar2019-12-051-229/+223
| | | | | Problem: Using old C style comments. Solution: Use // comments where appropriate.
* patch 8.1.2376: preprocessor indents are incorrectv8.1.2376Bram Moolenaar2019-12-011-92/+92
| | | | | Problem: Preprocessor indents are incorrect. Solution: Fix the indents. (Ken Takata, closes #5298)
* patch 8.1.2120: some MB_ macros are more complicated than necessaryv8.1.2120Bram Moolenaar2019-10-061-1/+1
| | | | | | Problem: Some MB_ macros are more complicated than necessary. (Dominique Pelle) Solution: Simplify the macros. Expand inline.
* patch 8.1.2064: MS-Windows: compiler warnings for unused argumentsv8.1.2064Bram Moolenaar2019-09-211-2/+2
| | | | | Problem: MS-Windows: compiler warnings for unused arguments. Solution: Add UNUSED. (Yegappan Lakshmanan, closes #4963)
* patch 8.1.1784: MS-Windows: resolve() does not work if serial nr duplicatedv8.1.1784Bram Moolenaar2019-08-011-106/+28
| | | | | Problem: MS-Windows: resolve() does not work if serial nr duplicated. Solution: Use another method to get the full path. (Ken Takata, closes #4661)
* patch 8.1.1473: new resolve() implementation causes problem for pluginsv8.1.1473Bram Moolenaar2019-06-061-0/+39
| | | | | | Problem: New resolve() implementation causes problem for plugins. Solution: Only resolve a resparse point after checking it is needed. (Ken Takata, closes #4492)
* patch 8.1.1417: MS-Windows: resolve() does not resolve all components of pathv8.1.1417Bram Moolenaar2019-05-291-6/+0
| | | | | | | Problem: MS-Windows: resolve() does not resolve all components of the path. (David Briscoe) Solution: Do not bail out for a reparse point. (Yasuhiro Matsumoto, closes #4211, closes #4447)
* 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-1/+1
| | | | | 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-4/+4
| | | | | | 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.1306: Borland support is outdated and doesn't workv8.1.1306Bram Moolenaar2019-05-091-42/+11
| | | | | | 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.1230: a lot of code is shared between vim.exe and gvim.exev8.1.1230Bram Moolenaar2019-04-281-61/+108
| | | | | | Problem: A lot of code is shared between vim.exe and gvim.exe. Solution: Optionally put the shared code in vim.dll. (Ken Takata, closes #4287)
* patch 8.1.1224: MS-Windows: cannot specify font weightv8.1.1224Bram Moolenaar2019-04-281-0/+3
| | | | | | Problem: MS-Windows: cannot specify font weight. Solution: Add the "W" option to 'guifont'. (closes #4309) Move GUI font explanation out of options.txt.
* patch 8.1.1182: some function prototypes are outdatedv8.1.1182Bram Moolenaar2019-04-171-1/+3
| | | | | Problem: Some function prototypes are outdated. Solution: Update function prototypes. (Ken Takata, closes #4267)
* patch 8.1.1103: MS-Windows: old API calls are no longer neededv8.1.1103Bram Moolenaar2019-04-021-303/+126
| | | | | Problem: MS-Windows: old API calls are no longer needed. Solution: Always use the wide functions. (Ken Takata, closes #4199)
* patch 8.1.1086: too many curly bracesv8.1.1086Bram Moolenaar2019-03-301-4/+0
| | | | | | Problem: Too many curly braces. Solution: Remove curly braces where they are not needed. (Hirohito Higashi, closes #3982)
* patch 8.1.1081: MS-Windows: cannot use some fontsv8.1.1081Bram Moolenaar2019-03-301-63/+77
| | | | | | Problem: MS-Windows: cannot use fonts whose name cannot be represented in the current code page. Solution: Use wide font functions. (Ken Takata, closes #4000)
* patch 8.1.0941: macros for MS-Windows are inconsistentv8.1.0941Bram Moolenaar2019-02-171-2/+2
| | | | | | | 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)
* patch 8.1.0918: MS-Windows: startup messages are not convertedv8.1.0918Bram Moolenaar2019-02-141-4/+8
| | | | | | Problem: MS-Windows: startup messages are not converted. Solution: Convert messages when the current codepage differs from 'encoding'. (Yasuhiro Matsumoto, closes #3914)
* patch 8.1.0906: using clumsy way to get console window handlev8.1.0906Bram Moolenaar2019-02-121-16/+1
| | | | | Problem: Using clumsy way to get console window handle. Solution: Use GetConsoleWindow(). (Ken Takata, closes #3940)
* patch 8.1.0894: MS-Windows: resolve() does not return a reparse pointv8.1.0894Bram Moolenaar2019-02-101-2/+180
| | | | | Problem: MS-Windows: resolve() does not return a reparse point. Solution: Improve resolve(). (Yasuhiro Matsumoto, closes #3896)
* patch 8.1.0809: too many #ifdefsv8.1.0809Bram Moolenaar2019-01-241-55/+2
| | | | | Problem: Too many #ifdefs. Solution: Graduate FEAT_MBYTE, part 3.
* patch 8.1.0743: giving error messages is not flexiblev8.1.0743Bram Moolenaar2019-01-131-19/+10
| | | | | | | | 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.
* patch 8.1.0607: proto files are not in sync with the source codev8.1.0607Bram Moolenaar2018-12-181-0/+1
| | | | | Problem: Proto files are not in sync with the source code. Solution: Update the proto files.
* patch 8.1.0465: client-server test failsv8.1.0465Bram Moolenaar2018-10-071-2/+2
| | | | | Problem: Client-server test fails. Solution: Change logic in EnumWindows().
* patch 8.1.0462: when using ConPTY Vim can be a child processv8.1.0462Bram Moolenaar2018-10-071-2/+37
| | | | | | Problem: When using ConPTY Vim can be a child process. Solution: To find a Vim window use both EnumWindows() and EnumChildWindows(). (Nobuhiro Takasaki, closes #3521)
* patch 8.1.0253: saving and restoring window title does not always workv8.1.0253Bram Moolenaar2018-08-071-3/+3
| | | | | | Problem: Saving and restoring window title does not always work. Solution: Use the stack push and pop commands. (Kouichi Iwamoto, closes #3059)
* patch 8.0.1835: print document name does not support multi-bytev8.0.1835Bram Moolenaar2018-05-131-5/+26
| | | | | Problem: Print document name does not support multi-byte. Solution: Use StartDocW() if needed. (Yasuhiro Matsumoto, closes #2478)
* patch 8.0.1564: too many #ifdefsv8.0.1564Bram Moolenaar2018-03-041-2/+0
| | | | | | Problem: Too many #ifdefs. Solution: Graduate the +autocmd feature. Takes away 450 #ifdefs and increases code size of tiny Vim by only 40 Kbyte.
* patch 8.0.1496: clearing a pointer takes two linesv8.0.1496Bram Moolenaar2018-02-101-2/+2
| | | | | | Problem: Clearing a pointer takes two lines. Solution: Add VIM_CLEAR() and replace vim_clear(). (Hirohito Higashi, closes #2629)
* patch 8.0.0907: with cp932 font names might be misinterpretedv8.0.0907Bram Moolenaar2017-08-111-1/+3
| | | | | | Problem: With cp932 font names might be misinterpreted. Solution: Do not see "_" as a space when it is the second byte of a double byte character. (Ken Takata)
* patch 8.0.0888: compiler warnings with 64 bit buildv8.0.0888Bram Moolenaar2017-08-071-1/+2
| | | | | Problem: Compiler warnings with 64 bit build. Solution: Add type cast of change the type. (Mike Williams)
* patch 8.0.0876: backslashes and wildcards in backticks don't workv8.0.0876Bram Moolenaar2017-08-051-0/+9
| | | | | | Problem: MS-Windows: Backslashes and wildcards in backticks don't work. Solution: Do not handle backslashes inside backticks in the wrong place. (Yasuhiro Matsumoto, closes #1942)
* patch 8.0.0854: no redraw after terminal was closedv8.0.0854Bram Moolenaar2017-08-031-0/+12
| | | | | | | Problem: No redraw after terminal was closed. Solution: Set typebuf_was_filled. (Yasuhiro Matsumoto, closes #1925, closes #1924) Add function to check for messages even when input is available.
* patch 8.0.0494: build failure with older compiler on MS-Windowsv8.0.0494Bram Moolenaar2017-03-191-1/+1
| | | | | Problem: Build failure with older compiler on MS-Windows. Solution: Move declaration to start of block.
* patch 8.0.0492: a failing client-server request can make Vim hangv8.0.0492Bram Moolenaar2017-03-191-2/+10
| | | | | Problem: A failing client-server request can make Vim hang. Solution: Add a timeout argument to functions that wait.
* patch 8.0.0480: the remote_peek() test fails on MS-Windowsv8.0.0480Bram Moolenaar2017-03-181-0/+11
| | | | | | Problem: The remote_peek() test fails on MS-Windows. Solution: Check for pending messages. Also report errors in the first run if a flaky test fails twice.
* patch 8.0.0477: the client-server test may hang when failingv8.0.0477Bram Moolenaar2017-03-181-0/+3
| | | | | Problem: The client-server test may hang when failing. Solution: Set a timer. Add assert_report()
* patch 8.0.0475: not enough testing for the client-server featurev8.0.0475Bram Moolenaar2017-03-181-0/+4
| | | | | | Problem: Not enough testing for the client-server feature. Solution: Add more tests. Add the remote_startserver() function. Fix that a locally evaluated expression uses function-local variables.
* patch 8.0.0474: the client-server feature is not testedv8.0.0474Bram Moolenaar2017-03-181-2/+7
| | | | | Problem: The client-server feature is not tested. Solution: Add a test.
* patch 8.0.0451: some macros are in lower casev8.0.0451Bram Moolenaar2017-03-121-4/+4
| | | | | | Problem: Some macros are in lower case. Solution: Make a few more macros upper case. Avoid lower case macros use an argument twice.
* patch 8.0.0307: asan detects a memory error when EXITFREE is definedv8.0.0307Bram Moolenaar2017-02-051-0/+2
| | | | | | | | Problem: Asan detects a memory error when EXITFREE is defined. (Dominique Pelle) Solution: In getvcol() check for ml_get_buf() returning an empty string. Also skip adjusting the scroll position. Set "exiting" in mch_exit() for all systems.
* patch 8.0.0281: some files are still using ARGSUSED instead of UNUSEDv8.0.0281Bram Moolenaar2017-02-011-22/+14
| | | | | | Problem: MS-Windows files are still using ARGSUSED while most other files have UNUSED. Solution: Change ARGSUSED to UNUSED or delete it.
* patch 8.0.0114v8.0.0114Bram Moolenaar2016-12-011-2/+4
| | | | | Problem: Coding style not optimal. Solution: Add spaces. (Ken Takata)
* patch 8.0.0072v8.0.0072Bram Moolenaar2016-11-101-1/+1
| | | | | Problem: MS-Windows: Crash with long font name. (Henry Hu) Solution: Fix comparing with LF_FACESIZE. (Ken Takata, closes #1243)
* patch 8.0.0029v8.0.0029Bram Moolenaar2016-10-121-79/+11
| | | | | | Problem: Code for MS-Windows is complicated because of the exceptions for old systems. Solution: Drop support for MS-Windows older than Windows XP. (Ken Takata)
* patch 7.4.2293v7.4.2293Bram Moolenaar2016-08-291-1/+1
| | | | | Problem: Modelines in source code are inconsistant. Solution: Use the same line in most files. Add 'noet'. (Naruhiko Nishino)