summaryrefslogtreecommitdiffstats
path: root/src/dosinst.c
AgeCommit message (Collapse)Author
2024-01-04patch 9.1.0006: is*() and to*() function may be unsafev9.1.0006Keith Thompson
Problem: is*() and to*() function may be unsafe Solution: Add SAFE_* macros and start using those instead (Keith Thompson) Use SAFE_() macros for is*() and to*() functions The standard is*() and to*() functions declared in <ctype.h> have undefined behavior for negative arguments other than EOF. If plain char is signed, passing an unchecked value from argv for from user input to one of these functions has undefined behavior. Solution: Add SAFE_*() macros that cast the argument to unsigned char. Most implementations behave sanely for negative arguments, and most character values in practice are non-negative, but it's still best to avoid undefined behavior. The change from #13347 has been omitted, as this has already been separately fixed in commit ac709e2fc0db6d31abb7da96f743c40956b60c3a (v9.0.2054) fixes: #13332 closes: #13347 Signed-off-by: Keith Thompson <Keith.S.Thompson@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-01-02patch 9.0.1132: code is indented more than neededv9.0.1132Yegappan Lakshmanan
Problem: Code is indented more than needed. Solution: Use an early return to reduce indentation. (Yegappan Lakshmanan, closes #11769)
2022-06-11patch 8.2.5077: various warnings from clang on MS-Windowsv8.2.5077Yegappan Lakshmanan
Problem: Various warnings from clang on MS-Windows. Solution: Avoid the warnings. (Yegappan Lakshmanan, closes #10553)
2022-06-09patch 8.2.5073: clang on MS-Windows produces warningsv8.2.5073Bram Moolenaar
Problem: Clang on MS-Windows produces warnings. Solution: Avoid the warnings. (Yegappan Lakshmanan, closes #10546)
2022-06-08patch 8.2.5069: various warnings from clang on MS-Windowsv8.2.5069Yegappan Lakshmanan
Problem: Various warnings from clang on MS-Windows. Solution: Fix the code to avoid the warnings. (Yegappan Lakshmanan, closes #10538)
2022-02-25patch 8.2.4466: MS-Windows: illegal memory access in installerv8.2.4466Cam Sinclair
Problem: MS-Windows: illegal memory access in installer when using "create-directories" as the final argument. Solution: Check the argument count. (Cam Sinclair, closes #9844)
2021-07-15patch 8.2.3164: MS-Windows: reported version lacks patchlevelv8.2.3164Bram Moolenaar
Problem: MS-Windows: reported version lacks patchlevel, causing some update tools to update too often. (Klaus Frank) Solution: Add the patchlevel to the version. (Christian Brabandt)
2021-06-02patch 8.2.2922: computing array length is done in various waysv8.2.2922K.Takata
Problem: Computing array length is done in various ways. Solution: Use ARRAY_LENGTH everywhere. (Ken Takata, closes #8305)
2020-03-23patch 8.2.0437: MS-Windows installer contains old stuffv8.2.0437Bram Moolenaar
Problem: MS-Windows installer contains old stuff. Solution: Rely on Windows NT. (Ken Takata, closes #5832)
2020-02-17patch 8.2.0273: MS-Windows uninstall may delete wrong batch filev8.2.0273Bram Moolenaar
Problem: MS-Windows uninstall may delete wrong batch file. Solution: Add specific marker in the generated batch file. (Ken Takata, closes #5654)
2019-12-01patch 8.1.2378: using old C style commentsv8.1.2378Bram Moolenaar
Problem: Using old C style comments. Solution: Use // comments where appropriate.
2019-09-27patch 8.1.2082: some files have a weird name to fit in 8.3 charactersv8.1.2082Bram Moolenaar
Problem: Some files have a weird name to fit in 8.3 characters. Solution: Use a nicer names.
2019-05-25patch 8.1.1393: unnecessary type castsv8.1.1393Bram Moolenaar
Problem: Unnecessary type casts. Solution: Remove type casts from alloc() and lalloc() calls. (Mike Williams)
2019-05-09patch 8.1.1306: Borland support is outdated and doesn't workv8.1.1306Bram Moolenaar
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)
2019-04-04patch 8.1.1119: no support for Windows on ARM64.v8.1.1119Bram Moolenaar
Problem: No support for Windows on ARM64. Solution: Add ARM64 support (Leendert van Doorn)
2019-03-30patch 8.1.1086: too many curly bracesv8.1.1086Bram Moolenaar
Problem: Too many curly braces. Solution: Remove curly braces where they are not needed. (Hirohito Higashi, closes #3982)
2019-02-22patch 8.1.0976: dosinstall still has buffer overflow problemsv8.1.0976Bram Moolenaar
Problem: Dosinstall still has buffer overflow problems. Solution: Adjust buffer sizes. (Yasuhiro Matsumoto, closes #4002)
2019-02-18patch 8.1.0952: compilation warnings when building the MS-Windows installerv8.1.0952Bram Moolenaar
Problem: Compilation warnings when building the MS-Windows installer. Solution: Fix buffer sizes. (Yasuhiro Matsumoto, closes #3999)
2019-02-10patch 8.1.0886: compiler warning for NULL pointer and condition always truev8.1.0886Bram Moolenaar
Problem: Compiler warning for adding to NULL pointer and a condition that is always true. Solution: Check for NULL pointer before adding. Remove useless "if". (Friedirch, closes #3913)
2019-01-11patch 8.1.0727: compiler warning for sprintf() argumentv8.1.0727Bram Moolenaar
Problem: Compiler warning for sprintf() argument. Solution: Add type cast.
2018-12-21patch 8.1.0616: NSIS installer is outdatedv8.1.0616Bram Moolenaar
Problem: NSIS installer is outdated. Solution: Use modern syntax, MUI2 and make it work better. Add translations. (Ken Takata, closes #3501)
2018-12-14patch 8.1.0589: compilation error in gvimext.cppv8.1.0589Bram Moolenaar
Problem: Compilation error in gvimext.cpp. Solution: Return a value. Also fix using uninitialized variable.
2018-11-21patch 8.1.0541: help message in dosinst.c is outdatedv8.1.0541Bram Moolenaar
Problem: Help message in dosinst.c is outdated. Solution: Update the comment. (Ken Takata, closes #3626)
2018-11-16patch 8.1.0534: MS-Windows installer uses different $HOME than Vimv8.1.0534Bram Moolenaar
Problem: MS-Windows installer uses different $HOME than Vim. Solution: Use the Vim logic also in the MS-Windows installer. (Ken Takata, closes #3564)
2018-10-13patch 8.1.0472: dosinst command has a few flawsv8.1.0472Bram Moolenaar
Problem: Dosinst command has a few flaws. Solution: Register DisplayIcon, DisplayVersion and Publisher for the uninstaller. (closes #3485) Don't set 'diffexpr' if internal diff is supported. Allow for using Vi compatible from the command line. Remove needless sleeps. Add comments in the generated _vimrc. (Ken Takata, closes #3525)
2018-08-18patch 8.1.0292: MS-Windows: the text "self-installing" confuses some usersv8.1.0292Bram Moolenaar
Problem: MS-Windows: the text "self-installing" confuses some users. Solution: Remove the text from the uninstall entry. (closes #3337)
2018-06-26patch 8.1.0117: URL in install program still points to SourceForgev8.1.0117Bram Moolenaar
Problem: URL in install program still points to SourceForge. Solution: Change it to www.vim.org. (closes #3100)
2018-05-13patch 8.0.1829: MS-Windows: script for vimdiff can't handle ! charsv8.0.1829Bram Moolenaar
Problem: MS-Windows: script for vimdiff can't handle ! chars. Solution: Escape the ! chars. (Hans Ginzel, closes #2896)
2018-04-10patch 8.0.1688: some macros are used without a semicolonv8.0.1688Bram Moolenaar
Problem: Some macros are used without a semicolon, causing auto-indent to be wrong. Solution: Use the do-while(0) trick. (Ozaki Kiichi, closes #2729)
2018-02-27patch 8.0.1550: various small problems in source filesv8.0.1550Bram Moolenaar
Problem: Various small problems in source files. Solution: Fix the problems.
2017-10-28patch 8.0.1233: typo in dos installerv8.0.1233Bram Moolenaar
Problem: Typo in dos installer. Solution: Remove comma.
2017-10-28patch 8.0.1232: MS-Windows users are confused about default mappingsv8.0.1232Bram Moolenaar
Problem: MS-Windows users are confused about default mappings. Solution: Don't map keys in the console where they don't work. Add a choice in the installer to use MS-Windows key bindings or not. (Christian Brabandt, Ken Takata, closes #2093)
2017-10-14patch 8.0.1191: MS-Windows: missing 32 and 64 bit files in installerv8.0.1191Bram Moolenaar
Problem: MS-Windows: missing 32 and 64 bit files in installer. Solution: Include both 32 and 64 bit GvimExt and related dll files. Remove old Windows code from the installer. (Ken Takata, closes #2144)
2016-08-29patch 7.4.2293v7.4.2293Bram Moolenaar
Problem: Modelines in source code are inconsistant. Solution: Use the same line in most files. Add 'noet'. (Naruhiko Nishino)
2016-07-29patch 7.4.2116v7.4.2116Bram Moolenaar
Problem: The default vimrc for Windows is very conservative. Solution: Use the defaults.vim in the Windows installer.
2016-06-08patch 7.4.1909v7.4.1909Bram Moolenaar
Problem: Doubled semicolons. Solution: Reduce to one. (Dominique Pelle)
2016-03-28patch 7.4.1683v7.4.1683Bram Moolenaar
Problem: Generated .bat files do not support --nofork. Solution: Add check for --nofork. Also add "setlocal". (Kevin CantĂș, closes #659)
2013-11-21updated for version 7.4.103v7.4.103Bram Moolenaar
Problem: Dos installer uses an old way to escape spaces in the diff command. Solution: Adjust the quoting to the new default shellxquote. (Ben Fritz)
2013-11-07updated for version 7.4.077v7.4.077Bram Moolenaar
Problem: DOS installer creates shortcut without a path, resulting in the current directory to be C:\Windows\system32. Solution: Use environment variables.
2013-05-06updated for version 7.3.925v7.3.925Bram Moolenaar
Problem: Typos in source files. Solution: Fix the typos. (Ken Takata)
2013-02-13updated for version 7.3.809v7.3.809Bram Moolenaar
Problem: The dosinst.c program has a buffer overflow. (Thomas Gwae) Solution: Ignore $VIMRUNTIME if it is too long.
2010-08-08Remove unused code.Bram Moolenaar
2010-08-02Put quotes around the gvim.exe path for the "Open with" menu entry.Bram Moolenaar
2010-07-31Fix that uninstaller isn't found on 64-bit Windows.Bram Moolenaar
2010-07-31Fix: on MS-Windows the "open with..." menu starts Vim without a file.Bram Moolenaar
2010-07-18Fix: MS-Windows installer used wrong path for uninstaller key.Bram Moolenaar
2010-07-14Support completion for ":find". (Nazri Ramliy)Bram Moolenaar
Cleanup white space.
2010-07-07Make the dos installer work with more compilers.Bram Moolenaar
2010-07-07Adjust MS-Windows installer so that it also works for 64 bit systems. (GeorgeBram Moolenaar
Reilly)
2010-05-25Found a way to make the MS-Windows installer wait for the uninstaller toBram Moolenaar
finish, no need for the user to press Enter.