1
0
forked from aniani/vim

84 Commits

Author SHA1 Message Date
Bram Moolenaar
9abd5c6507 updated for version 7.4.624
Problem:    May leak memory or crash when vim_realloc() returns NULL.
Solution:   Handle a NULL value properly. (Mike Williams)
2015-02-10 18:34:01 +01:00
Bram Moolenaar
2be795084f updated for version 7.4.403
Problem:    Valgrind reports errors when running test 72. (Dominique Pelle)
Solution:   Reset the local 'cryptmethod' option before storing the seed.
            Set the seed in the memfile even when there is no block0 yet.
2014-08-13 21:58:28 +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
Bram Moolenaar
5803ae6c07 updated for version 7.4.213
Problem:    It's not possible to open a new buffer without creating a swap
            file.
Solution:   Add the ":noswapfile" modifier. (Christian Brabandt)
2014-03-23 16:04:02 +01:00
Bram Moolenaar
4d504a3e11 updated for version 7.4.172
Problem:    The blowfish code mentions output feedback, but the code is
            actually doing cipher feedback.
Solution:   Adjust names and comments.
2014-02-11 15:23:32 +01:00
Bram Moolenaar
34b466edfe updated for version 7.4.108
Problem:    "zG" and "zW" leave temp files around on MS-Windows.
Solution:   Delete the temp files when exiting. (Ken Takata)
2013-11-28 17:41:46 +01:00
Bram Moolenaar
69c3500f96 updated for version 7.4.066
Problem:    MS-Windows: When there is a colon in the file name (sub-stream
            feature) the swap file name is wrong.
Solution:   Change the colon to "%". (Yasuhiro Matsumoto)
2013-11-04 02:54:12 +01:00
Bram Moolenaar
84a05acc8c updated for version 7.3.925
Problem:    Typos in source files.
Solution:   Fix the typos. (Ken Takata)
2013-05-06 04:24:17 +02:00
Bram Moolenaar
e1704bada4 updated for version 7.3.677
Problem:    buf_spname() is used inconsistently.
Solution:   Make the return type a char_u pointer.  Check the size of the
            returned string.
2012-10-03 18:25:00 +02:00
Bram Moolenaar
f541c36a8c updated for version 7.3.349
Problem:    When running out of memory during startup trying to open a
            swapfile will loop forever.
Solution:   Let findswapname() set dirp to NULL if out of memory.
2011-10-26 11:44:18 +02:00
Bram Moolenaar
986a0039cb updated for version 7.3.216
Problem:    When recovering a file a range of lines is missing. (Charles Jie)
Solution:   Reset the index when advancing to the next pointer block.  Add a
            test to verify recovery works.
2011-06-13 01:07:27 +02:00
Bram Moolenaar
e60acc180b updated for version 7.3.187
Problem:    The RISC OS port has obvious errors and is not being maintained.
Solution:   Remove the RISC OS files and code.
2011-05-10 16:41:25 +02:00
Bram Moolenaar
c41fc713ba updated for version 7.3.120
Problem:    The message for an existing swap file is too long to fit in a 25
            line terminal.
Solution:   Make the message shorter. (Chad Miller)
2011-02-15 11:57:04 +01:00
Bram Moolenaar
d2c340a6a6 updated for version 7.3.102
Problem:    When using ":make", typing the next command and then getting the
            "reload" prompt the next command is (partly) eaten by the reload
            prompt.
Solution:   Accept ':' as a special character at the reload prompt to accept
            the default choice and execute the command.
2011-01-17 20:08:11 +01:00
Bram Moolenaar
b57aa92d2c updated for version 7.3.087
Problem:    EINTR is not always defined.
Solution:   Include errno.h in vim.h.
2010-12-17 20:24:01 +01:00
Bram Moolenaar
9c26303293 updated for version 7.3.085
Problem:    Inconsistency with preproc symbols.  void * computation.
Solution:   Include vimio.h from vim.h.  Add type cast.
2010-12-17 18:06:06 +01:00
Bram Moolenaar
540fc6fbdb updated for version 7.3.083
Problem:    When a read() or write() is interrupted by a signal it fails.
Solution:   Add read_eintr() and write_eintr().
2010-12-17 16:27:16 +01:00
Bram Moolenaar
2e2e13ca14 updated for version 7.3.077
Problem:    When updating crypt of swapfile fails there is no error message.
            (Carlo Teubner)
Solution:   Add the error message.
2010-12-08 13:17:03 +01:00
Bram Moolenaar
09092155a6 Remove unused code. 2010-08-08 16:38:42 +02:00
Bram Moolenaar
3832c466d7 Fix: when setting crypt key seed was not updated when the swap file wasn't
created yet.
2010-08-04 15:32:46 +02:00
Bram Moolenaar
0fe849a13b Better fix for memory access in recovery. (Dominique Pelle) 2010-07-25 15:11:11 +02:00
Bram Moolenaar
0ad014c8a0 Fix memory access to 'cryptmethod' during recovery. (Dominique Pelle) 2010-07-25 14:00:46 +02:00
Bram Moolenaar
59f931ef54 Add the 'undoreload' option to be able to undo a file reload. 2010-07-24 20:27:03 +02:00
Bram Moolenaar
49771f4fb0 Change 'cryptmethod' from a number to a string option. Make it global-local. 2010-07-20 17:32:38 +02:00
Bram Moolenaar
996343d38e Mainly documentation updates. 2010-07-04 22:20:21 +02:00
Bram Moolenaar
e242b83535 Fix a memory leak in encryption. (Dominique Pelle) 2010-06-24 05:39:03 +02:00
Bram Moolenaar
e77fb8ca53 Fix compiler warning. 2010-06-24 05:20:13 +02:00
Bram Moolenaar
f506c5bb1c Fix compiler warnings for shadowed variables. Make 'conceal' a long instead
of int.
2010-06-22 06:28:58 +02:00
Bram Moolenaar
a8ffcbbf5d Crypt the swapfile. 2010-06-21 06:15:46 +02:00
Bram Moolenaar
914703bee2 Correct use of long instead of off_t for file size. (James Vega) 2010-05-31 21:59:46 +02:00
Bram Moolenaar
20a825ae0f Add test for gettabvar() and settabvar(). 2010-05-31 21:27:30 +02:00
Bram Moolenaar
64354da438 updated for version 7.2.438
Problem:    "vim -r" crashes.
Solution:   Don't use NULL pointer argument.
2010-05-25 21:37:17 +02:00
Bram Moolenaar
55debbe384 Included patch for persistent undo. Lots of changes and added test. 2010-05-23 23:34:36 +02:00
Bram Moolenaar
b26e6327e6 Add :nbstart and :nbclose. 2010-05-22 21:34:09 +02:00
Bram Moolenaar
fc2d5bdfc6 After recovery check if the text changed. If it did mark the buffer as
modified.
2010-05-15 17:06:53 +02:00
Bram Moolenaar
9dbe4758b1 updated for version 7.2.427
Problem:    The swapfile is created using the destination of a symlink, but
            recovery doesn't follow symlinks.
Solution:   When recovering, resolve symlinks. (James Vega)
2010-05-14 17:52:42 +02:00
Bram Moolenaar
37d619f896 updated for version 7.2.391
Problem:    Internal alloc(0) error when doing "CTRL-V $ c". (Martti Kuparinen)
Solution:   Fix computations in getvcol(). (partly by Lech Lorens)
2010-03-10 14:46:26 +01:00
Bram Moolenaar
0ca4b350f0 updated for version 7.2.359
Problem:    Crash when using the Netbeans join command.
Solution:   Make sure the ml_flush_line() function is not used recursively.
            (Xavier de Gaye)
2010-02-11 18:54:43 +01:00
Bram Moolenaar
f05da21900 updated for version 7.2-300 2009-11-17 16:13:15 +00:00
Bram Moolenaar
740885b78b updated for version 7.2-275 2009-11-03 14:33:17 +00:00
Bram Moolenaar
d0ba34a6e5 updated for version 7.2-272 2009-11-03 12:06:23 +00:00
Bram Moolenaar
12c22cee34 updated for version 7.2-154 2009-04-22 13:58:46 +00:00
Bram Moolenaar
9439cdddf7 updated for version 7.2-153 2009-04-22 13:39:36 +00:00
Bram Moolenaar
c236c16d08 updated for version 7.2b-000 2008-07-13 17:41:49 +00:00
Bram Moolenaar
8c8de83932 updated for version 7.2a 2008-06-24 22:58:06 +00:00
Bram Moolenaar
bae0c16cc4 updated for version 7.1b 2007-05-10 19:30:25 +00:00
Bram Moolenaar
6b803a739f updated for version 7.1a 2007-05-06 14:25:46 +00:00
Bram Moolenaar
1c53628518 updated for version 7.0-231 2007-04-26 15:21:56 +00:00
Bram Moolenaar
38323e4f4a updated for version 7.0-208 2007-03-06 19:22:53 +00:00
Bram Moolenaar
ad40f02cd9 updated for version 7.0-194 2007-02-13 03:01:39 +00:00