Zoltan Arpadffy
1c8e233cb8
patch 9.0.2153: no support to build on OpenVMS
...
Problem: no support to build on OpenVMS
Solution: Add OpenVMS X86_64 platform port
closes : #13623
Co-authored-by: errael <errael@raelity.com >
Co-authored-by: K.Takata <kentkt@csc.jp >
Signed-off-by: Zoltan Arpadffy <zoltan.arpadffy@gmail.com >
Signed-off-by: Christian Brabandt <cb@256bit.org >
2023-12-05 16:04:23 +01:00
Christian Brabandt
ffb13674d1
patch 9.0.1899: potential buffer overflow in PBYTE macro
...
Problem: potential buffer overflow in PBYTE macro
Solution: Check returned memline length
closes : #13083
the PBYTE macro is used to put byte c at a position lp of the returned
memline. However, in case of unexpected errors ml_get_buf() may return
either "???" or an empty line in which case it is quite likely that we
are causing a buffer overrun.
Therefore, switch the macro PBYTE (which is only used in ops.c anyhow)
to a function, that verifies that we will only try to access within the
given length of the buffer.
Also, since the macro is only used in ops.c, move the definition from
macros.h to ops.c
Signed-off-by: Christian Brabandt <cb@256bit.org >
2023-09-15 20:22:02 +02:00
Christian Brabandt
00cb247465
patch 9.0.1876: Vim9: parsing commands with newlines wrong
...
Problem: Vim9: parsing commands with newlines wrong
Solution: Accept a '\n' for parsing lists and command arguments
closes : #13015
closes : #13020
Signed-off-by: Christian Brabandt <cb@256bit.org >
2023-09-05 20:53:46 +02:00
Bram Moolenaar
c9471b1872
patch 9.0.1529: code style test doesn't check for space after "if"
...
Problem: Code style test doesn't check for space after "if".
Solution: Add a test for space.
2023-05-09 15:00:00 +01:00
ichizok
7e5fe38efc
patch 9.0.1454: code indenting is confused by macros
...
Problem: Code indenting is confused by macros.
Solution: Put semicolon after the macros instead of inside. (Ozaki Kiichi,
closes #12257 )
2023-04-15 13:17:50 +01:00
Yegappan Lakshmanan
14113fdf9c
patch 9.0.1390: FOR_ALL_ macros are defined in an unexpected file
...
Problem: FOR_ALL_ macros are defined in an unexpected file.
Solution: Move FOR_ALL_ macros to macros.h. Add FOR_ALL_HASHTAB_ITEMS.
(Yegappan Lakshmanan, closes #12109 )
2023-03-07 17:13:51 +00:00
Bram Moolenaar
ebfec1c531
patch 9.0.1234: the code style has to be checked manually
...
Problem: The code style has to be checked manually.
Solution: Add basic code style checks in a test. Fix or avoid uncovered
problems.
2023-01-22 21:14:53 +00:00
Bram Moolenaar
db4d88c2ad
patch 9.0.1121: cursor positioning and display problems with 'smoothscroll'
...
Problem: Cursor positioning and display problems with 'smoothscroll' and
using "zt", "zb" or "zz".
Solution: Adjust computations and conditions. (Yee Cheng Chin,
closes #11764 )
2022-12-31 15:13:22 +00:00
Bram Moolenaar
96caa557f9
patch 9.0.0494: small build misses float function declaraitons
...
Problem: Small build misses float function declaraitons.
Solution: Adjust #ifdefs.
2022-09-17 21:57:43 +01:00
Bram Moolenaar
73e28dcc61
patch 9.0.0491: no good reason to build without the float feature
...
Problem: No good reason to build without the float feature.
Solution: Remove configure check for float and "#ifdef FEAT_FLOAT".
2022-09-17 21:08:33 +01:00
Bram Moolenaar
6ed545e797
patch 8.2.4928: various white space and cosmetic mistakes
...
Problem: Various white space and cosmetic mistakes.
Solution: Change spaces to tabs, improve comments.
2022-05-09 20:09:23 +01:00
Bram Moolenaar
249591057b
patch 8.2.4911: the mode #defines are not clearly named
...
Problem: The mode #defines are not clearly named.
Solution: Prepend MODE_. Renumber them to put the mapped modes first.
2022-05-07 20:01:16 +01:00
kylo252
9dac9b1751
patch 8.2.4639: not sufficient parenthesis in preprocessor macros
...
Problem: Not sufficient parenthesis in preprocessor macros.
Solution: Add more parenthesis. (closes #10031 )
2022-03-27 20:05:17 +01:00
Bram Moolenaar
424bcae1fb
patch 8.2.4273: the EBCDIC support is outdated
...
Problem: The EBCDIC support is outdated.
Solution: Remove the EBCDIC support.
2022-01-31 14:59:41 +00:00
K.Takata
c351dc1e0c
patch 8.2.4199: MS-Windows: Support for MSVC 2003 is not useful
...
Problem: MS-Windows: Support for MSVC 2003 is not useful.
Solution: Remove the exceptions for MSVC 2003. (Ken Takata, closes #9616 )
2022-01-24 11:24:08 +00:00
Bram Moolenaar
35578168be
patch 8.2.3275: optimizer can use hints about ga_grow() normally succeeding
...
Problem: Optimizer can use hints about ga_grow() normally succeeding.
Solution: Use GA_GROW_FAILS() and GA_GROW_OK() in several places. (Dominique
Pellé, issue #8635 )
2021-08-02 19:10:38 +02:00
K.Takata
eeec254878
patch 8.2.2922: computing array length is done in various ways
...
Problem: Computing array length is done in various ways.
Solution: Use ARRAY_LENGTH everywhere. (Ken Takata, closes #8305 )
2021-06-02 13:28:16 +02:00
Bram Moolenaar
008bff967f
patch 8.2.2569: 'fillchars' "stl" and "stlnc" items must be single byte
...
Problem: 'fillchars' "stl" and "stlnc" items must be single byte.
Solution: Accept multi-byte characters. (Christian Wellenbrock, Yegappan
Lakshmanan, closes #7927 )
2021-03-04 21:55:58 +01:00
Bram Moolenaar
4fa1175765
patch 8.2.2563: cannot use multibyte characters for folding in 'fillchars'
...
Problem: Cannot use multibyte characters for folding in 'fillchars'.
Solution: Port pull request 11568 to Vim. (Yegappan Lakshmanan,
closes #7924 )
2021-03-03 13:26:02 +01:00
Bram Moolenaar
82c38fe508
patch 8.2.2294: VMS: a few remaining problems
...
Problem: VMS: a few remaining problems.
Solution: Add VMS specific changes. Add Lua support. (Zoltan Arpadffy)
2021-01-04 10:47:26 +01:00
Bram Moolenaar
467676d468
patch 8.2.2247: VMS: various smaller problems
...
Problem: VMS: various smaller problems.
Solution: Fix VMS building and other problems. (Zoltan Arpadffy)
2020-12-30 13:14:45 +01:00
Bram Moolenaar
c753478b82
patch 8.2.1370: MS-Windows: warning for using fstat() with stat_T
...
Problem: MS-Windows: warning for using fstat() with stat_T.
Solution: use _fstat64() if available. (Naruhiko Nishino, closes #6625 )
2020-08-05 12:10:50 +02:00
Bram Moolenaar
59de417b90
patch 8.2.0938: NFA regexp uses tolower ()to compare ignore-case
...
Problem: NFA regexp uses tolower() to compare ignore-case. (Thayne McCombs)
Solution: Use utf_fold() when possible. (ref. neovim #12456 )
2020-06-09 19:34:54 +02:00
Bram Moolenaar
e8f5ec0d30
patch 8.2.0877: cannot get the search statistics
...
Problem: Cannot get the search statistics.
Solution: Add the searchcount() function. (Fujiwara Takuya, closes #4446 )
2020-06-01 17:28:35 +02:00
Bram Moolenaar
7e9f351b2e
patch 8.2.0751: Vim9: performance can be improved
...
Problem: Vim9: performance can be improved.
Solution: Don't call break. Inline check for list materialize. Make an
inline version of ga_grow().
2020-05-13 22:44:22 +02:00
Bram Moolenaar
9c7e6dd653
patch 8.2.0562: Vim9: cannot split an expression into multiple lines
...
Problem: Vim9: cannot split an expression into multiple lines.
Solution: Continue in next line after an operator.
2020-04-12 20:55:20 +02:00
Bram Moolenaar
cee52204ca
patch 8.2.0371: crash with combination of terminal popup and autocmd
...
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-03-11 14:19:58 +01:00
Bram Moolenaar
e52e0c89d1
patch 8.2.0328: no redraw when leaving term-normal mode in popup terminal
...
Problem: No redraw when leaving terminal-normal mode in a terminal popup
window.
Solution: Redraw the popup window. (closes #5708 )
2020-02-28 22:20:10 +01:00
Bram Moolenaar
3c01c4a028
patch 8.2.0194: some commands can cause problems in terminal popup
...
Problem: Some commands can cause problems in terminal popup.
Solution: Disallow more commands.
2020-02-01 23:04:24 +01:00
Bram Moolenaar
284d1c24e2
patch 8.2.0193: still build failure without +terminal feature
...
Problem: Still build failure without +terminal feature.
Solution: Add more #ifdefs.
2020-02-01 22:39:32 +01:00
Bram Moolenaar
219c7d0638
patch 8.2.0191: cannot put a terminal in a popup window
...
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-02-01 21:57:29 +01:00
Bram Moolenaar
8a7d6542b3
patch 8.2.0149: maintaining a Vim9 branch separately is more work
...
Problem: Maintaining a Vim9 branch separately is more work.
Solution: Merge the Vim9 script changes.
2020-01-26 15:56:19 +01:00
Bram Moolenaar
e31ee86859
patch 8.2.0098: exe stack length can be wrong without being detected
...
Problem: Exe stack length can be wrong without being detected.
Solution: Add a check when ABORT_ON_INTERNAL_ERROR is defined.
2020-01-07 20:59:34 +01:00
Bram Moolenaar
05ad5ff0ab
patch 8.1.2371: FEAT_TEXT_PROP is a confusing name
...
Problem: FEAT_TEXT_PROP is a confusing name.
Solution: Use FEAT_PROP_POPUP. (Naruhiko Nishino, closes #5291 )
2019-11-30 22:48:27 +01:00
Bram Moolenaar
9bf703d46a
patch 8.1.2366: using old C style comments
...
Problem: Using old C style comments.
Solution: Use // comments where appropriate.
2019-11-30 19:44:38 +01:00
Bram Moolenaar
32aa10203b
patch 8.1.2243: typos in comments
...
Problem: Typos in comments.
Solution: Fix the typos. (Dominique Pelle, closes #5160 ) Also adjust
formatting a bit.
2019-11-02 22:54:41 +01:00
Bram Moolenaar
1614a14901
patch 8.1.2120: some MB_ macros are more complicated than necessary
...
Problem: Some MB_ macros are more complicated than necessary. (Dominique
Pelle)
Solution: Simplify the macros. Expand inline.
2019-10-06 22:00:13 +02:00
Bram Moolenaar
524f3b19ae
patch 8.1.2119: memory access error for empty string
...
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-10-06 20:08:38 +02:00
Bram Moolenaar
8cdbd5b3c4
patch 8.1.1555: NOT_IN_POPUP_WINDOW is confusing
...
Problem: NOT_IN_POPUP_WINDOW is confusing. (Andy Massimino)
Solution: Rename to ERROR_IF_POPUP_WINDOW().
2019-06-16 15:50:45 +02:00
Bram Moolenaar
815b76bff6
patch 8.1.1438: some commands cause trouble in a popup window
...
Problem: Some commands cause trouble in a popup window.
Solution: Add NOT_IN_POPUP_WINDOW.
2019-06-01 14:15:52 +02:00
Bram Moolenaar
ac9fb18020
patch 8.1.1210: support for user commands is spread out
...
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-04-27 13:04:13 +02:00
Bram Moolenaar
abab0b0fdd
patch 8.1.1086: too many curly braces
...
Problem: Too many curly braces.
Solution: Remove curly braces where they are not needed. (Hirohito Higashi,
closes #3982 )
2019-03-30 18:47:01 +01:00
Bram Moolenaar
dc4fa190e7
patch 8.1.1038: Arabic support excludes Farsi
...
Problem: Arabic support excludes Farsi.
Solution: Add Farsi support to the Arabic support. (Ali Gholami Rudi,
Ameretat Reith)
2019-03-22 16:33:15 +01:00
Bram Moolenaar
4f97475d32
patch 8.1.0941: macros for MS-Windows are inconsistent
...
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-02-17 17:44:42 +01:00
Bram Moolenaar
29ddebef40
patch 8.1.0826: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Graduate FEAT_VIRTUALEDIT. Adds about 10Kbyte to the code.
2019-01-26 17:28:26 +01:00
Bram Moolenaar
264b74fa54
patch 8.1.0810: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Graduate FEAT_MBYTE, part 4.
2019-01-24 17:18:42 +01:00
Bram Moolenaar
c4568ab37e
patch 8.1.0528: various typos in comments
...
Problem: Various typos in comments.
Solution: Fix the typos.
2018-11-16 16:21:05 +01:00
Bram Moolenaar
1f0bfe5617
patch 8.1.0226: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Graduate the +vreplace feature, it's not much code and quite a few
#ifdefs.
2018-07-29 16:09:22 +02:00
Bram Moolenaar
630afe889a
patch 8.1.0125: virtual edit replace with multi-byte fails at end of line
...
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-06-28 19:26:28 +02:00
Bram Moolenaar
6f4700233f
patch 8.0.1688: some macros are used without a semicolon
...
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-04-10 18:47:20 +02:00