summaryrefslogtreecommitdiff
path: root/src/crypt.c
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.1.2243: typos in commentsv8.1.2243Bram Moolenaar2019-11-021-1/+1
| | | | | | Problem: Typos in comments. Solution: Fix the typos. (Dominique Pelle, closes #5160) Also adjust formatting a bit.
* patch 8.1.1414: alloc() returning "char_u *" causes a lot of type castsv8.1.1414Bram Moolenaar2019-05-281-1/+1
| | | | | | 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.
* patch 8.1.1393: unnecessary type castsv8.1.1393Bram Moolenaar2019-05-251-2/+2
| | | | | Problem: Unnecessary type casts. Solution: Remove type casts from alloc() and lalloc() calls. (Mike Williams)
* patch 8.1.1219: not checking for NULL return from alloc()v8.1.1219Bram Moolenaar2019-04-271-2/+11
| | | | | Problem: Not checking for NULL return from alloc(). Solution: Add checks. (Martin Kunev, closes #4303, closes #4174)
* patch 8.1.1194: typos and small problems in source filesv8.1.1194Bram Moolenaar2019-04-211-1/+1
| | | | | Problem: Typos and small problems in source files. Solution: Small fixes.
* patch 8.1.0989: various small code uglinessv8.1.0989Bram Moolenaar2019-03-021-1/+1
| | | | | | Problem: Various small code ugliness. Solution: Remove pointless NULL checks. Fix function calls. Fix typos. (Dominique Pelle, closes #4060)
* patch 8.1.0779: argument for message functions is inconsistentv8.1.0779Bram Moolenaar2019-01-191-2/+2
| | | | | Problem: Argument for message functions is inconsistent. Solution: Make first argument to msg() "char *".
* patch 8.1.0773: not all crypt code is testedv8.1.0773Bram Moolenaar2019-01-181-0/+14
| | | | | Problem: Not all crypt code is tested. Solution: Disable unused crypt code. Add more test coverage.
* patch 8.1.0743: giving error messages is not flexiblev8.1.0743Bram Moolenaar2019-01-131-1/+1
| | | | | | | | 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.
* patch 8.0.1496: clearing a pointer takes two linesv8.0.1496Bram Moolenaar2018-02-101-4/+4
| | | | | | Problem: Clearing a pointer takes two lines. Solution: Add VIM_CLEAR() and replace vim_clear(). (Hirohito Higashi, closes #2629)
* patch 7.4.2293v7.4.2293Bram Moolenaar2016-08-291-1/+1
| | | | | Problem: Modelines in source code are inconsistant. Solution: Use the same line in most files. Add 'noet'. (Naruhiko Nishino)
* patch 7.4.1205v7.4.1205Bram Moolenaar2016-01-301-76/+62
| | | | | | Problem: Using old style function declarations. Solution: Change to new style function declarations. (script by Hirohito Higashi)
* updated for version 7.4.509v7.4.509Bram Moolenaar2014-11-121-0/+20
| | | | | Problem: Users are not aware their encryption is weak. Solution: Give a warning when prompting for the key.
* updated for version 7.4.404v7.4.404Bram Moolenaar2014-08-131-3/+3
| | | | | Problem: Windows 64 bit compiler warnings. Solution: Add type casts. (Mike Williams)
* updated for version 7.4.399v7.4.399Bram Moolenaar2014-08-101-0/+585
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)