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
Dominique Pelle
748b308eeb
patch 8.2.4038: various code not used when features are disabled
...
Problem: Various code not used when features are disabled.
Solution: Add #ifdefs. (Dominique Pellé, closes #9491 )
2022-01-08 12:41:16 +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
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
Christian Brabandt
8a4c812ede
patch 8.2.3218: when using xchaha20 crypt undo file is not removed
...
Problem: When using xchaha20 crypt undo file is not removed.
Solution: Reset 'undofile' and delete the file. (Christian Brabandt,
closes #8630 , closes #8467 )
2021-07-25 14:36:05 +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
Dominique Pelle
cb54bc6562
patch 8.2.3030: Coverity reports a memory leak
...
Problem: Coverity reports a memory leak.
Solution: Fix the leak and a few typos. (Dominique Pellé, closes #8418 )
2021-06-21 20:15:37 +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
c667da5185
patch 8.1.2368: using old C style comments
...
Problem: Using old C style comments.
Solution: Use // comments where appropriate.
2019-11-30 20:52:27 +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
c799fe206e
patch 8.1.1414: alloc() returning "char_u *" causes a lot of type casts
...
Problem: Alloc() returning "char_u *" causes a lot of type casts.
Solution: Have it return "void *". (Mike Williams) Define ALLOC_ONE() to
check the simple allocations.
2019-05-28 23:08:19 +02:00
Bram Moolenaar
51e14387f1
patch 8.1.1393: unnecessary type casts
...
Problem: Unnecessary type casts.
Solution: Remove type casts from alloc() and lalloc() calls. (Mike Williams)
2019-05-25 20:21:28 +02:00
Bram Moolenaar
6ee9658774
patch 8.1.1219: not checking for NULL return from alloc()
...
Problem: Not checking for NULL return from alloc().
Solution: Add checks. (Martin Kunev, closes #4303 , closes #4174 )
2019-04-27 22:06:37 +02:00
Bram Moolenaar
ad3ec76bb8
patch 8.1.1194: typos and small problems in source files
...
Problem: Typos and small problems in source files.
Solution: Small fixes.
2019-04-21 00:00:13 +02:00
Bram Moolenaar
bdace838c6
patch 8.1.0989: various small code ugliness
...
Problem: Various small code ugliness.
Solution: Remove pointless NULL checks. Fix function calls. Fix typos.
(Dominique Pelle, closes #4060 )
2019-03-02 10:13:42 +01:00
Bram Moolenaar
32526b3c18
patch 8.1.0779: argument for message functions is inconsistent
...
Problem: Argument for message functions is inconsistent.
Solution: Make first argument to msg() "char *".
2019-01-19 17:43:09 +01:00
Bram Moolenaar
987411db9e
patch 8.1.0773: not all crypt code is tested
...
Problem: Not all crypt code is tested.
Solution: Disable unused crypt code. Add more test coverage.
2019-01-18 22:48:34 +01:00
Bram Moolenaar
f9e3e09fdc
patch 8.1.0743: giving error messages is not flexible
...
Problem: Giving error messages is not flexible.
Solution: Add semsg(). Change argument from "char_u *" to "char *", also
for msg() and get rid of most MSG macros. (Ozaki Kiichi, closes
#3302 ) Also make emsg() accept a "char *" argument. Get rid of
an enormous number of type casts.
2019-01-13 23:38:42 +01:00
Bram Moolenaar
d23a823669
patch 8.0.1496: clearing a pointer takes two lines
...
Problem: Clearing a pointer takes two lines.
Solution: Add VIM_CLEAR() and replace vim_clear(). (Hirohito Higashi,
closes #2629 )
2018-02-10 18:45:26 +01:00
Bram Moolenaar
edf3f97ae2
patch 7.4.2293
...
Problem: Modelines in source code are inconsistant.
Solution: Use the same line in most files. Add 'noet'. (Naruhiko Nishino)
2016-08-29 22:49:24 +02:00
Bram Moolenaar
7454a06e26
patch 7.4.1205
...
Problem: Using old style function declarations.
Solution: Change to new style function declarations. (script by Hirohito
Higashi)
2016-01-30 15:14:10 +01:00
Bram Moolenaar
3a0c908983
updated for version 7.4.509
...
Problem: Users are not aware their encryption is weak.
Solution: Give a warning when prompting for the key.
2014-11-12 15:15:42 +01:00
Bram Moolenaar
9b8f021d93
updated for version 7.4.404
...
Problem: Windows 64 bit compiler warnings.
Solution: Add type casts. (Mike Williams)
2014-08-13 22:05:53 +02:00
Bram Moolenaar
8f4ac01544
updated for version 7.4.399
...
Problem: Encryption implementation is messy. Blowfish encryption has a
weakness.
Solution: Refactor the encryption, store the state in an allocated struct
instead of using a save/restore mechanism. Introduce the
"blowfish2" method, which does not have the weakness and encrypts
the whole undo file. (largely by David Leadbeater)
2014-08-10 13:38:34 +02:00