summaryrefslogtreecommitdiffstats
path: root/src/macros.h
AgeCommit message (Collapse)Author
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.
2016-02-23patch 7.4.1399v7.4.1399Bram Moolenaar
Problem: The MS-DOS code does not build. Solution: Remove the old MS-DOS code.
2016-02-21patch 7.4.1380v7.4.1380Bram Moolenaar
Problem: The job exit callback is not implemented. Solution: Add the "exit-cb" option.
2016-01-24patch 7.4.1169v7.4.1169Bram Moolenaar
Problem: The socket I/O is intertwined with the netbeans code. Solution: Start refactoring the netbeans communication to split off the socket I/O. Add the +channel feature.
2016-01-20patch 7.4.1147v7.4.1147Bram Moolenaar
Problem: Conflict for "chartab". (Kazunobu Kuriyama) Solution: Rename the global one to something less obvious. Move it into src/chartab.c.
2015-12-31patch 7.4.1008v7.4.1008Bram Moolenaar
Problem: The OS/2 code pollutes the source while nobody uses it these days. Solution: Drop the support for OS/2.
2015-09-15patch 7.4.866v7.4.866Bram Moolenaar
Problem: Crash when changing the 'tags' option from a remote command. (Benjamin Fritz) Solution: Instead of executing messages immediately, use a queue, like for netbeans. (James Kolb)
2015-09-09patch 7.4.863v7.4.863Bram Moolenaar
Problem: plines_nofill() used without the diff feature. Solution: Define PLINES_NOFILL().
2015-07-10patch 7.4.774v7.4.774Bram Moolenaar
Problem: When using the CompleteDone autocommand event it's difficult to get to the completed items. Solution: Add the v:completed_items variable. (Shougo Matsu)
2014-11-05updated for version 7.4.502v7.4.502Bram Moolenaar
Problem: Language mapping also applies to mapped characters. Solution: Add the 'langnoremap' option, when on 'langmap' does not apply to mapped characters. (Christian Brabandt)
2014-05-13updated for version 7.4.295v7.4.295Bram Moolenaar
Problem: Various typos, bad white space and unclear comments. Solution: Fix typos. Improve white space. Update comments.
2013-06-12updated for version 7.3.1175v7.3.1175Bram Moolenaar
Problem: Using isalpha() and isalnum() can be slow. Solution: Use range checks. (Mike Williams)
2013-06-12updated for version 7.3.1171v7.3.1171Bram Moolenaar
Problem: Check for digits and ascii letters can be faster. Solution: Use a trick with one comparison. (Dominique Pelle)
2013-06-08updated for version 7.3.1149v7.3.1149Bram Moolenaar
Problem: New regexp engine: Matching plain text could be faster. Solution: Detect a plain text match and handle it specifically. Add vim_regfree().
2012-07-19updated for version 7.3.606v7.3.606Bram Moolenaar
Problem: CTRL-P completion has a problem with multi-byte characters. Solution: Check for next character being NUL properly. (Yasuhiro Matsumoto)