summaryrefslogtreecommitdiffstats
path: root/src/macros.h
AgeCommit message (Collapse)Author
2020-08-05patch 8.2.1370: MS-Windows: warning for using fstat() with stat_Tv8.2.1370Bram Moolenaar
Problem: MS-Windows: warning for using fstat() with stat_T. Solution: use _fstat64() if available. (Naruhiko Nishino, closes #6625)
2020-06-09patch 8.2.0938: NFA regexp uses tolower ()to compare ignore-casev8.2.0938Bram Moolenaar
Problem: NFA regexp uses tolower() to compare ignore-case. (Thayne McCombs) Solution: Use utf_fold() when possible. (ref. neovim #12456)
2020-06-01patch 8.2.0877: cannot get the search statisticsv8.2.0877Bram Moolenaar
Problem: Cannot get the search statistics. Solution: Add the searchcount() function. (Fujiwara Takuya, closes #4446)
2020-05-13patch 8.2.0751: Vim9: performance can be improvedv8.2.0751Bram Moolenaar
Problem: Vim9: performance can be improved. Solution: Don't call break. Inline check for list materialize. Make an inline version of ga_grow().
2020-04-12patch 8.2.0562: Vim9: cannot split an expression into multiple linesv8.2.0562Bram Moolenaar
Problem: Vim9: cannot split an expression into multiple lines. Solution: Continue in next line after an operator.
2020-03-11patch 8.2.0371: crash with combination of terminal popup and autocmdv8.2.0371Bram Moolenaar
Problem: Crash with combination of terminal popup and autocmd. Solution: Disallow closing a popup that is the current window. Add a check that the current buffer is valid. (closes #5754)
2020-02-28patch 8.2.0328: no redraw when leaving term-normal mode in popup terminalv8.2.0328Bram Moolenaar
Problem: No redraw when leaving terminal-normal mode in a terminal popup window. Solution: Redraw the popup window. (closes #5708)
2020-02-01patch 8.2.0194: some commands can cause problems in terminal popupv8.2.0194Bram Moolenaar
Problem: Some commands can cause problems in terminal popup. Solution: Disallow more commands.
2020-02-01patch 8.2.0193: still build failure without +terminal featurev8.2.0193Bram Moolenaar
Problem: Still build failure without +terminal feature. Solution: Add more #ifdefs.
2020-02-01patch 8.2.0191: cannot put a terminal in a popup windowv8.2.0191Bram Moolenaar
Problem: Cannot put a terminal in a popup window. Solution: Allow opening a terminal in a popup window. It will always have keyboard focus until closed.
2020-01-26patch 8.2.0149: maintaining a Vim9 branch separately is more workv8.2.0149Bram Moolenaar
Problem: Maintaining a Vim9 branch separately is more work. Solution: Merge the Vim9 script changes.
2020-01-07patch 8.2.0098: exe stack length can be wrong without being detectedv8.2.0098Bram Moolenaar
Problem: Exe stack length can be wrong without being detected. Solution: Add a check when ABORT_ON_INTERNAL_ERROR is defined.
2019-11-30patch 8.1.2371: FEAT_TEXT_PROP is a confusing namev8.1.2371Bram Moolenaar
Problem: FEAT_TEXT_PROP is a confusing name. Solution: Use FEAT_PROP_POPUP. (Naruhiko Nishino, closes #5291)
2019-11-30patch 8.1.2366: using old C style commentsv8.1.2366Bram Moolenaar
Problem: Using old C style comments. Solution: Use // comments where appropriate.
2019-11-02patch 8.1.2243: typos in commentsv8.1.2243Bram Moolenaar
Problem: Typos in comments. Solution: Fix the typos. (Dominique Pelle, closes #5160) Also adjust formatting a bit.
2019-10-06patch 8.1.2120: some MB_ macros are more complicated than necessaryv8.1.2120Bram Moolenaar
Problem: Some MB_ macros are more complicated than necessary. (Dominique Pelle) Solution: Simplify the macros. Expand inline.
2019-10-06patch 8.1.2119: memory access error for empty stringv8.1.2119Bram Moolenaar
Problem: memory access error for empty string when 'encoding' is a single byte encoding. Solution: Check for empty string when getting the length. (Dominique Pelle, closes #5021, closes #5007)
2019-06-16patch 8.1.1555: NOT_IN_POPUP_WINDOW is confusingv8.1.1555Bram Moolenaar
Problem: NOT_IN_POPUP_WINDOW is confusing. (Andy Massimino) Solution: Rename to ERROR_IF_POPUP_WINDOW().
2019-06-01patch 8.1.1438: some commands cause trouble in a popup windowv8.1.1438Bram Moolenaar
Problem: Some commands cause trouble in a popup window. Solution: Add NOT_IN_POPUP_WINDOW.
2019-04-27patch 8.1.1210: support for user commands is spread outv8.1.1210Bram Moolenaar
Problem: Support for user commands is spread out. No good reason to make user commands optional. Solution: Move user command support to usercmd.c. Always enable the user_commands feature.
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-03-22patch 8.1.1038: Arabic support excludes Farsiv8.1.1038Bram Moolenaar
Problem: Arabic support excludes Farsi. Solution: Add Farsi support to the Arabic support. (Ali Gholami Rudi, Ameretat Reith)
2019-02-17patch 8.1.0941: macros for MS-Windows are inconsistentv8.1.0941Bram Moolenaar
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)
2019-01-26patch 8.1.0826: too many #ifdefsv8.1.0826Bram Moolenaar
Problem: Too many #ifdefs. Solution: Graduate FEAT_VIRTUALEDIT. Adds about 10Kbyte to the code.
2019-01-24patch 8.1.0810: too many #ifdefsv8.1.0810Bram Moolenaar
Problem: Too many #ifdefs. Solution: Graduate FEAT_MBYTE, part 4.
2018-11-16patch 8.1.0528: various typos in commentsv8.1.0528Bram Moolenaar
Problem: Various typos in comments. Solution: Fix the typos.
2018-07-29patch 8.1.0226: too many #ifdefsv8.1.0226Bram Moolenaar
Problem: Too many #ifdefs. Solution: Graduate the +vreplace feature, it's not much code and quite a few #ifdefs.
2018-06-28patch 8.1.0125: virtual edit replace with multi-byte fails at end of linev8.1.0125Bram Moolenaar
Problem: Virtual edit replace with multi-byte fails at end of line. (Lukas Werling) Solution: use ins_char() to add the character. (Christian Brabandt, closes #3114) Rename PCHAR() to PBYTE() to avoid mistakes like this.
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-03-04patch 8.0.1566: too many #ifdefsv8.0.1566Bram Moolenaar
Problem: Too many #ifdefs. Solution: Graduate FEAT_SCROLLBIND and FEAT_CURSORBIND.
2018-02-10patch 8.0.1496: clearing a pointer takes two linesv8.0.1496Bram Moolenaar
Problem: Clearing a pointer takes two lines. Solution: Add VIM_CLEAR() and replace vim_clear(). (Hirohito Higashi, closes #2629)
2018-01-31patch 8.0.1449: slow redrawing with DirectXv8.0.1449Bram Moolenaar
Problem: Slow redrawing with DirectX. Solution: Avoid calling gui_mch_flush() unnecessarily, especially when updating the cursor. (Ken Takata, closes #2560)
2017-10-28patch 8.0.1236: Mac features are confusingv8.0.1236Bram Moolenaar
Problem: Mac features are confusing. Solution: Make feature names more consistent, add "osxdarwin". Rename feature flags, cleanup Mac code. (Kazunobu Kuriyama, closes #2178)
2017-08-02patch 8.0.0840: MS-Windows: fopen() and open() prototypes are wrongv8.0.0840Bram Moolenaar
Problem: MS-Windows: fopen() and open() prototypes do not match the ones in the system header file. Can't build without FEAT_MBYTE. Solution: Add "const". Move macro to after including protoo.h.
2017-06-04patch 8.0.0614: float2nr() is not exactly rightv8.0.0614Bram Moolenaar
Problem: float2nr() is not exactly right. Solution: Make float2nr() more accurate. Turn test64 into a new style test. (Hirohito Higashi, closes #1688)
2017-03-12patch 8.0.0452: some macros are in lower casev8.0.0452Bram Moolenaar
Problem: Some macros are in lower case. Solution: Make a few more macros upper case.
2017-03-12patch 8.0.0451: some macros are in lower casev8.0.0451Bram Moolenaar
Problem: Some macros are in lower case. Solution: Make a few more macros upper case. Avoid lower case macros use an argument twice.
2017-03-12patch 8.0.0448: some macros are in lower casev8.0.0448Bram Moolenaar
Problem: Some macros are in lower case, which can be confusing. Solution: Make a few lower case macros upper case.
2016-11-06patch 8.0.0067v8.0.0067Bram Moolenaar
Problem: VMS has a problem with infinity. Solution: Avoid an overflow. (Zoltan Arpadffy)
2016-11-04patch 8.0.0059v8.0.0059Bram Moolenaar
Problem: Vim does not build on VMS systems. Solution: Various changes for VMS. (Zoltan Arpadffy)
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-08-21patch 7.4.2236v7.4.2236Bram Moolenaar
Problem: The 'langnoremap' option leads to double negatives. And it does not work for the last character of a mapping. Solution: Add 'langremap' with the opposite value. Keep 'langnoremap' for backwards compatibility. Make it work for the last character of a mapping. Make the test work.
2016-08-17patch 7.4.2223v7.4.2223Bram Moolenaar
Problem: Buffer overflow when using latin1 character with feedkeys(). Solution: Check for an illegal character. Add a test.
2016-07-17patch 7.4.2062v7.4.2062Bram Moolenaar
Problem: Using dummy variable to compute struct member offset. Solution: Use offsetof().
2016-03-11patch 7.4.1537v7.4.1537Bram Moolenaar
Problem: Too many feature flags for pipes, jobs and channels. Solution: Only use FEAT_JOB_CHANNEL.
2016-03-04patch 7.4.1489v7.4.1489Bram Moolenaar
Problem: "inline" is not supported by old MSVC. Solution: use "__inline". (Ken Takata)
2016-03-04patch 7.4.1487v7.4.1487Bram Moolenaar
Problem: For WIN32 isinf() is defined as a macro. Solution: Define it as an inline function. (ZyX)
2016-02-27patch 7.4.1440v7.4.1440Bram Moolenaar
Problem: Can't build on Windows. Solution: Change #ifdefs. Only define isnan when used.
2016-02-27patch 7.4.1437v7.4.1437Bram Moolenaar
Problem: Old system doesn't have isinf() and NAN. (Ben Fritz) Solution: Adjust #ifdefs. Detect isnan() and isinf() functions with configure. Use a replacement when missing. (Kazunobu Kuriyama)
2016-02-25patch 7.4.1416v7.4.1416Bram Moolenaar
Problem: Using "u_char" intead of "char_u", which doesn't work everywhere. (Jörg Plate) Solution: Use "char_u" always.