Bram Moolenaar
a2a8973e51
patch 9.0.0340: the 'cmdheight' zero support causes too much trouble
...
Problem: The 'cmdheight' zero support causes too much trouble.
Solution: Revert support for 'cmdheight' being zero.
2022-08-31 14:46:18 +01:00
Bram Moolenaar
13608d851a
patch 9.0.0318: clearing screen causes flicker
...
Problem: Clearing screen causes flicker.
Solution: Do not clear but redraw in more cases. Add () to "wait_return".
2022-08-29 15:06:50 +01:00
Bram Moolenaar
33a5dd8b23
patch 9.0.0308: when cmdheight is zero the attention prompt doesn't show
...
Problem: When cmdheight is zero the attention prompt doesn't show.
Solution: Do not use the message window for a prompt.
2022-08-28 22:17:50 +01:00
Bram Moolenaar
a4d158b3c8
patch 9.0.0206: redraw flags are not named specifically
...
Problem: Redraw flags are not named specifically.
Solution: Prefix "UPD_" to the flags, for UPDate_screen().
2022-08-14 14:17:45 +01:00
Bram Moolenaar
e5a0e8c1d7
patch 9.0.0181: textprop test with line2byte() fails on MS-Windows
...
Problem: Textprop test with line2byte() fails on MS-Windows.
Solution: Fix updating chuncks in ml_delete_int().
2022-08-09 21:37:55 +01:00
Bram Moolenaar
50652b0c5c
patch 9.0.0166: when using text properties line text length computed twice
...
Problem: When using text properties the line text length is computed twice.
Solution: If the text lenght was already computed don't do it again.
2022-08-07 21:48:37 +01:00
Bram Moolenaar
fa4873ccfc
patch 9.0.0013: reproducing memory access errors can be difficult
...
Problem: Reproducing memory access errors can be difficult.
Solution: When testing, copy each line to allocated memory, so that valgrind
can detect accessing memory before and/or after it. Fix uncovered
problems.
2022-06-30 22:13:59 +01:00
Paul Ollis
4c3d21acaa
patch 8.2.5014: byte offsets are wrong when using text properties
...
Problem: Byte offsets are wrong when using text properties.
Solution: Make sure text properties do not affect the byte counts.
(Paul Ollis, closes #10474 )
2022-05-24 21:26:37 +01:00
Bram Moolenaar
9f28eeb694
patch 8.2.4961: build error with a certain combination of features
...
Problem: Build error with a certain combination of features.
Solution: Adjust #if. (John Marriott)
2022-05-16 10:04:51 +01:00
Paul Ollis
1bdc60eb91
patch 8.2.4960: text properties that cross lines not updated for deleted line
...
Problem: Text properties that cross line boundary are not correctly updated
for a deleted line.
Solution: Correct computing location of text property entry. (Paul Ollis,
closes #10431 , closes #10430 )
2022-05-15 22:24:55 +01:00
Bram Moolenaar
31e5c60a68
patch 8.2.4753: error from setting an option is silently ignored
...
Problem: Error from setting an option is silently ignored.
Solution: Handle option value errors better. Fix uses of N_().
2022-04-15 13:53:33 +01:00
=?UTF-8?q?Dundar=20G=C3=B6c?=
f26c16144d
patch 8.2.4704: using "else" after return or break increases indent
...
Problem: Using "else" after return or break increases indent.
Solution: Remove "else" and reduce indent. (Goc Dundar, closes #10099 )
2022-04-07 13:26:34 +01:00
Bram Moolenaar
188639d75c
patch 8.2.4685: when a swap file is found for a popup there is no dialog
...
Problem: When a swap file is found for a popup there is no dialog and the
buffer is loaded anyway.
Solution: Silently load the buffer read-only. (closes #10073 )
2022-04-04 16:57:21 +01:00
zeertzjq
3c5999e53d
patch 8.2.4613: return type of swapfile_unchanged() is wrong
...
Problem: Return type of swapfile_unchanged() is wrong.
Solution: Use "int". (closes #10000 Yeah!)
2022-03-23 13:54:51 +00:00
kylo252
ae6f1d8b14
patch 8.2.4402: missing parenthesis may cause unexpected problems
...
Problem: Missing parenthesis may cause unexpected problems.
Solution: Add more parenthesis is macros. (closes #9788 )
2022-02-16 19:24:07 +00:00
Bram Moolenaar
f9435e49ef
patch 8.2.4399: crash after ml_get error
...
Problem: Crash after ml_get error.
Solution: When returning "???" flush the line and set ml_line_lnum.
2022-02-16 16:33:28 +00:00
=?UTF-8?q?Dundar=20G=C3=B6c?=
d5cec1f1f0
patch 8.2.4255: theoretical computation overflow
...
Problem: Theoretical computation overflow.
Solution: Perform multiplication in a wider type. (closes #9657 )
2022-01-29 15:19:23 +00:00
=?UTF-8?q?Dundar=20G=C3=B6c?=
420fabcd4f
patch 8.2.4241: some type casts are redundant
...
Problem: Some type casts are redundant.
Solution: Remove the type casts. (closes #9643 )
2022-01-28 15:28:04 +00:00
K.Takata
1a8825d7a3
patch 8.2.4144: cannot load libsodium dynamically
...
Problem: Cannot load libsodium dynamically.
Solution: Support dynamic loading on MS-Windows. (Ken Takata, closes #9554 )
2022-01-19 13:32:57 +00:00
Bram Moolenaar
9d00e4a814
patch 8.2.4010: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
2022-01-05 17:49:15 +00:00
Bram Moolenaar
677658ae49
patch 8.2.4008: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
2022-01-05 16:09:06 +00:00
Bram Moolenaar
eaaac014a0
patch 8.2.3983: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
2022-01-02 17:00:40 +00:00
Bram Moolenaar
9a846fbaa5
patch 8.2.3977: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
2022-01-01 21:59:18 +00:00
Dominique Pelle
af4a61a85d
patch 8.2.3914: various spelling mistakes in comments
...
Problem: Various spelling mistakes in comments.
Solution: Fix the mistakes. (Dominique Pellé, closes #9416 )
2021-12-27 17:21:41 +00:00
Bram Moolenaar
96e7a5928e
patch 8.2.3674: when ml_get_buf() fails it messes up IObuff
...
Problem: When ml_get_buf() fails it messes up IObuff.
Solution: Return a local pointer. (closes #9214 )
2021-11-25 13:52:37 +00:00
Bram Moolenaar
8b0e62c93b
patch 8.2.3543: swapname has double slash when 'directory' ends in it
...
Problem: Swapname has double slash when 'directory' ends in double slash.
(Shane Smith)
Solution: Remove the superfluous slash. (closes #8876 )
2021-10-19 22:12:25 +01:00
Leah Neukirchen
0a7984af56
patch 8.2.3510: changes are only detected with one second accuracy
...
Problem: Changes are only detected with one second accuracy.
Solution: Use the nanosecond time if possible. (Leah Neukirchen,
closes #8873 , closes #8875 )
2021-10-14 21:27:55 +01:00
=?UTF-8?q?Dundar=20G=C3=B6c?=
3826c0513b
patch 8.2.3490: superfluous return statements
...
Problem: Superfluous return statements.
Solution: Remove superfluous return statements from void functions.
(closes #8977 )
2021-10-09 15:39:25 +01:00
Bram Moolenaar
e2982d6911
patch 8.2.3483: #ifdef for using sysinfo() is incomplete
...
Problem: #ifdef for using sysinfo() is incomplete.
Solution: Also check for HAVE_SYSINFO. Make autoconf check use TRY_LINK.
(closes #8952 )
2021-10-06 11:27:21 +01:00
Bram Moolenaar
df9070e300
patch 8.2.3375: using uninitialized memory
...
Problem: Using uninitialized memory.
Solution: Initialize textprop_save_len.
2021-08-25 17:31:37 +02:00
Bram Moolenaar
cdd8a5e6fe
patch 8.2.3372: line2byte() value wrong when adding a text property
...
Problem: line2byte() value wrong when adding a text property. (Yuto Kimura)
Solution: Adjust length for text property. (closes #8772 ) Also fix it for
deleting a line.
2021-08-25 16:40:03 +02:00
Bram Moolenaar
434df7a401
patch 8.2.3355: MS-Windows: compiler warning for 64-32 bit conversion
...
Problem: MS-Windows: compiler warning for 64-32 bit conversion.
Solution: Add type casts.
2021-08-16 21:15:32 +02:00
Bram Moolenaar
92755bba30
patch 8.2.3354: build failure with +byte_offset but without +textprop
...
Problem: Build failure with +byte_offset but without +textprop. (John
Marriott)
Solution: Adjust the #ifdef.
2021-08-15 22:18:04 +02:00
Bram Moolenaar
14c7530c4f
patch 8.2.3348: line2byte() returns wrong value after adding textprop
...
Problem: line2byte() returns wrong value after adding textprop. (Yuto
Kimura)
Solution: Reduce the length by the size of the text property. (closes #8759 )
2021-08-15 14:28:40 +02:00
Bram Moolenaar
131530a54d
patch 8.2.3245: the crypt key may appear in a swap partition
...
Problem: The crypt key may appear in a swap partition.
Solution: When using xchaha20 use sodium_mlock(). (Christian Brabandt,
closes #8657 )
2021-07-29 20:37:49 +02:00
=?UTF-8?q?Ola=20S=C3=B6der?=
599a6e5b36
patch 8.2.3114: Amiga-like systems: build error using stat()
...
Problem: Amiga-like systems: build error using stat().
Solution: Only build swapfile_process_running() on systems where it is
actually used. (Ola Söder, closes #8519 )
2021-07-06 20:15:46 +02:00
Bram Moolenaar
4cd5c52d64
patch 8.2.3062: internal error when adding several text properties
...
Problem: Internal error when adding several text properties.
Solution: Do not handle text properties when deleting a line for splitting a
data block. (closes #8466 )
2021-06-27 13:04:00 +02:00
Christian Brabandt
226b28b961
patch 8.2.3032: build problems with MSVC, other crypt issues with libsodium
...
Problem: Build problems with MSVC, other crypt issues with libsodium.
Solution: Adjust MSVC makefile. Disable swap file only when 'key' is set.
Adjust error message used when key is wrong. Fix Coverity issues.
(Christian Brabandt, closes #8420 , closes #8411 )
2021-06-21 21:08:08 +02:00
Christian Brabandt
f573c6e1ed
patch 8.2.3022: available encryption methods are not strong enough
...
Problem: Available encryption methods are not strong enough.
Solution: Add initial support for xchaha20. (Christian Brabandt,
closes #8394 )
2021-06-20 14:02:16 +02:00
Bram Moolenaar
e3f50ad640
patch 8.2.2966: ml_get errors after recovering a file
...
Problem: ml_get errors after recovering a file. (Yegappan Lakshmanan)
Solution: Fix the cursor position after deleting lines.
2021-06-09 12:33:40 +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
840f91f110
patch 8.2.2890: text property duplicated when data block splits
...
Problem: Text property duplicated when data block splits.
Solution: Do not continue text prop from previous line. (closes #8261 )
2021-05-26 22:32:10 +02:00
Bram Moolenaar
23b32a8d6b
patch 8.2.2588: build failure with tiny features
...
Problem: Build failure with tiny features.
Solution: Add #ifdef. Run recover test separately.
2021-03-10 21:55:46 +01:00
Bram Moolenaar
f52f0606ed
patch 8.2.2586: process id may be invalid
...
Problem: Process id may be invalid.
Solution: Use sysinfo.uptime to check for recent reboot. (suggested by Hugo
van der Sanden, closes #7947 )
2021-03-10 21:26:37 +01:00
Bram Moolenaar
59ff64079b
patch 8.2.2429: :goto does not work correctly with text properties
...
Problem: :goto does not work correctly with text properties. (Sam McCall)
Solution: Add a test. (Andrew Radev) Also use the text property size when
computing the remaining offset. (closes #5930 )
2021-01-30 17:16:28 +01:00
Bram Moolenaar
8e7d6223f6
patch 8.2.2160: various typos
...
Problem: Various typos.
Solution: Fix spelling mistakes. (closes #7494 )
2020-12-18 19:49:56 +01:00
Bram Moolenaar
e79cdb69a4
patch 8.2.2026: Coverity warns for possibly using not NUL terminated string
...
Problem: Coverity warns for possibly using not NUL terminated string.
Solution: Put a NUL in b0_hname just in case.
2020-11-21 13:51:16 +01:00
Bram Moolenaar
f883508e36
patch 8.2.1970: it is easy to make mistakes when cleaning up swap files
...
Problem: It is easy to make mistakes when cleaning up swap files after the
system crashed.
Solution: Warn for the process still running after recovery. Do not
automatically delete a swap file created on another system.
(David Fries, closes #7273 )
2020-11-09 21:04:17 +01:00
Bram Moolenaar
e100440158
patch 8.2.1898: command modifier parsing always uses global cmdmod
...
Problem: Command modifier parsing always uses global cmdmod.
Solution: Pass in cmdmod_T to use. Rename struct fields consistently.
2020-10-24 20:49:43 +02:00
Bram Moolenaar
8f13d82fa6
patch 8.2.1670: a couple of gcc compiler warnings
...
Problem: A couple of gcc compiler warnings.
Solution: Initialize local variables. (Dominique Pellé, closes #6944 )
2020-09-12 21:04:23 +02:00