0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

195 Commits

Author SHA1 Message Date
Bram Moolenaar
3cbac309f7 patch 7.4.707
Problem:    Undo files can have their executable bit set.
Solution:   Strip of the executable bit. (Mikael Berthe)
2015-04-21 16:12:06 +02:00
Bram Moolenaar
f65aad5554 updated for version 7.4.634
Problem:    Marks are not restored after redo + undo.
Solution:   Fix the way marks are restored. (Olaf Dabrunz)
2015-02-17 13:43:40 +01:00
Bram Moolenaar
3516928c75 updated for version 7.4.443
Problem:    Error reported by ubsan when running test 72.
Solution:   Add type cast to unsigned. (Dominique Pelle)
2014-09-11 22:50:09 +02: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
5a669b9481 updated for version 7.4.402
Problem:    Test 72 crashes under certain conditions. (Kazunobu Kuriyama)
Solution:   Clear the whole bufinfo_T early.
2014-08-12 20:14:33 +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
5bd32f47ec updated for version 7.4.238
Problem:    Vim does not support the smack library.
Solution:   Add smack support (Jose Bollo)
2014-04-02 14:05:38 +02:00
Bram Moolenaar
f7ff6e85e8 updated for version 7.4.212
Problem:    Now that the +visual feature is always enabled the #ifdefs for it
            are not useful.
Solution:   Remove the checks for FEAT_VISUAL.
2014-03-23 15:13:05 +01:00
Bram Moolenaar
206f011829 updated for version 7.4.197
Problem:    Various problems on VMS.
Solution:   Fix several VMS problems. (Zoltan Arpadffy)
2014-03-12 16:51:55 +01:00
Bram Moolenaar
b4d587cbd9 updated for version 7.4.157
Problem:    Error number used twice. (Yukihiro Nakadaira)
Solution:   Change the one not referred in the docs.
2014-01-23 18:12:49 +01:00
Bram Moolenaar
aa88732efd updated for version 7.4.074
Problem:    When undo'ing all changes and creating a new change the undo
            structure is incorrect. (Christian Brabandt)
Solution:   When deleting the branch starting at the old header, delete the
            whole branch, not just the first entry.
2013-11-07 03:04:11 +01:00
Bram Moolenaar
f5a2fd880a updated for version 7.4.073
Problem:    Setting undolevels for one buffer changes undo in another.
Solution:   Make 'undolevels' a global-local option. (Christian Brabandt)
2013-11-06 05:26:15 +01:00
Bram Moolenaar
3b26239341 updated for version 7.4.024
Problem:    When root edits a file the undo file is owned by root while the
            edited file may be owned by another user, which is not allowed.
            (cac2s)
Solution:   Accept an undo file owned by the current user.
2013-09-08 15:40:49 +02:00
Bram Moolenaar
570064cf21 updated for version 7.3.1160
Problem:    Mixing long and pointer doesn't always work.
Solution:   Avoid cast to pointer.
2013-06-10 20:25:10 +02:00
Bram Moolenaar
687a29c5e2 updated for version 7.3.901
Problem:    Outdated comment, ugly condition.
Solution:   Update a few comments, break line.
2013-04-15 15:47:12 +02:00
Bram Moolenaar
b9ce83e135 updated for version 7.3.634
Problem:    Month/Day format for undo is confusing. (Marcin Szamotulski)
Solution:   Always use Year/Month/Day, should work for everybody.
2012-08-23 12:59:02 +02:00
Bram Moolenaar
d2aed44c77 updated for version 7.3.533
Problem:    Memory leak when writing undo file.
Solution:   Free the ACL. (Dominique Pelle)
2012-06-01 13:46:12 +02:00
Bram Moolenaar
ae7ba984ee updated for version 7.3.367
Problem:    :wundo and :rundo use a wrong checksum.
Solution:   Include the last line when computing the hash. (Christian Brabandt)
2011-12-08 15:14:09 +01:00
Bram Moolenaar
5e3d6ca435 updated for version 7.3.107
Problem:    Year number for :undolist can be confused with month or day.
Solution:   Change "%y" to "%Y".
2011-01-22 21:25:11 +01:00
Bram Moolenaar
164c60f5b1 updated for version 7.3.103
Problem:    Changing 'fileformat' and then using ":w" in an empty file sets
            the 'modified' option.
Solution:   In unchanged() don't ignore 'ff' for an empty file.
2011-01-22 00:11:50 +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
dba01a0197 updated for version 7.3.048
Problem:    ":earlier 1f" doesn't work after loading undo file.
Solution:   Set b_u_save_nr_cur when loading an undo file. (Christian
            Brabandt)
            Fix only showing time in ":undolist"
2010-11-03 19:32:42 +01:00
Bram Moolenaar
0390ded91b Fix: ml_get errors when using undo with 'virtualedit'. 2010-08-07 12:54:12 +02:00
Bram Moolenaar
f9bb734367 When undoing a reload, move the cursor to the first changed line. 2010-08-04 14:29:54 +02:00
Bram Moolenaar
fa0ff9aedf Fix: editing a not encrypted file after a crypted file messed up reading the
text from an undo file.
2010-07-25 16:05:19 +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
f5963f719e Add the 'concealcursor' option to decide when the cursor line is to be
concealed or not.
Rename 'conc' to 'cole' as the short name for 'conceallevel'.
2010-07-23 22:10:27 +02:00
Bram Moolenaar
ce69e82711 Fix build problem when fchown() not available. (Gary Johnson) 2010-07-21 20:31:07 +02:00
Bram Moolenaar
c400cb9ca7 Rename w_p_conceal to w_p_conc for consistency. 2010-07-19 19:52:13 +02:00
Bram Moolenaar
69154f22a6 Fixes and improvements for MS-Windows build. 2010-07-18 21:42:34 +02:00
Bram Moolenaar
cc448b373d Support completion for ":find". (Nazri Ramliy)
Cleanup white space.
2010-07-14 16:52:17 +02:00
Bram Moolenaar
d04b7507fd Make synstack() work on the character just after the end of the line. 2010-07-08 22:27:55 +02:00
Bram Moolenaar
b0b508808f Apply patch 7.2.445. 2010-07-07 18:26:28 +02:00
Bram Moolenaar
b2c0350c67 Make updating text for conceal mode simpler. A few compiler warning fixes. 2010-07-02 20:20:09 +02:00
Bram Moolenaar
730cde924c Added ":earlier 1f" and ":later 1f". 2010-06-27 05:18:54 +02:00
Bram Moolenaar
a800b42975 Add file save counter to undo information. Add undotree() function. 2010-06-27 01:15:55 +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
191e0a2bc7 Fix tiny build, move functions to undo.c. 2010-06-14 01:39:13 +02:00
Bram Moolenaar
97ea511bbf Minor typo and docs update. 2010-06-12 06:46:44 +02:00
Bram Moolenaar
56be950094 Fix a few compiler warnings. Fix crash with encrypted undo file. 2010-06-06 14:20:26 +02:00
Bram Moolenaar
bbd6afe03e Optimize the blowfish crypt/decrypt code a bit more. 2010-06-02 20:32:23 +02:00
Bram Moolenaar
83d09bb85e Don't use pointers to store numbers, use a union.
Fixed MSVC makefile use of /Wp64 flag.
2010-06-01 19:58:08 +02:00
Bram Moolenaar
a3ff49fdcc Crypt the text in the undo file if the file itself is crypted. 2010-05-30 22:48:02 +02:00
Bram Moolenaar
6ed8ed84f9 Made reading/writing undo info a bit more robust. 2010-05-30 20:40:11 +02:00
Bram Moolenaar
a17d4c1934 Added the undofile() function. Updated runtime files. 2010-05-30 18:30:36 +02:00
Bram Moolenaar
504a82173c Do not write an undo file if there is nothing to undo. 2010-05-30 17:17:42 +02:00
Bram Moolenaar
8f1f629d85 updated for version 7.2.441
Problem:    When using ":earlier" undo information may be wrong.
Solution:   When changing alternate branches also adjust b_u_oldhead.
2010-05-30 16:55:22 +02:00
Bram Moolenaar
6773b2ba7e A bit of cleanup and simplification for undofile. 2010-05-30 16:01:37 +02:00