Age | Commit message (Collapse) | Author |
|
Problem: When reading the undo file fails may use uninitialized data.
Solution: Always clear the buffer on failure.
|
|
Problem: There are still a few macros that should be all-caps.
Solution: Make a few more macros all-caps.
|
|
Problem: Some macros are in lower case.
Solution: Make a few more macros upper case. Avoid lower case macros use an
argument twice.
|
|
Problem: Some macros are in lower case, which can be confusing.
Solution: Make a few lower case macros upper case.
|
|
Problem: Another possible overflow when reading corrupted undo file.
Solution: Check if allocated size is not too big. (King)
|
|
Problem: Possible overflow when reading corrupted undo file.
Solution: Check if allocated size is not too big. (King)
|
|
Problem: After :undojoin some commands don't work properly, such as :redo.
(Matthew Malcomson)
Solution: Don't set curbuf->b_u_curhead. (closes #1390)
|
|
Problem: ":earlier" and ":later" do not work after startup or reading the
undo file.
Solution: Use absolute time stamps instead of relative to the Vim start
time. (Christian Brabandt, Pavel Juhas, closes #1300, closes
#1254)
|
|
Problem: Cannot make Vim fail on an internal error.
Solution: Add IEMSG() and IEMSG2(). (Domenique Pelle) Avoid reporting an
internal error without mentioning where.
|
|
Problem: Compiler warning for comparing with unsigned. (Zoltan Arpadffy)
Solution: Change <= to ==.
|
|
Problem: Modelines in source code are inconsistant.
Solution: Use the same line in most files. Add 'noet'. (Naruhiko Nishino)
|
|
Problem: Test for undo is flaky.
Solution: Turn it into a new style test. Use test_settime() to avoid
flakyness.
|
|
Problem: There is still code and help for unsupported systems.
Solution: Remove the code and text. (Hirohito Higashi)
|
|
Problem: On MS-Windows large files (> 2Gbyte) cause problems.
Solution: Use "off_T" instead of "off_t". Use "stat_T" instead of "struct
stat". Use 64 bit system functions if available. (Ken Takata)
|
|
Problem: ":undo 0" does not work. (Florent Fayolle)
Solution: Make it undo all the way. (closes #688)
|
|
Problem: The MS-DOS code does not build.
Solution: Remove the old MS-DOS code.
|
|
Problem: Compiler warning when not building with +crypt.
Solution: Add #ifdef. (John Marriott)
|
|
Problem: Using old style function declarations.
Solution: Change to new style function declarations. (script by Hirohito
Higashi)
|
|
Problem: Still using __ARGS.
Solution: Remove __ARGS in several files. (script by Hirohito Higashi)
|
|
Problem: Undo files can have their executable bit set.
Solution: Strip of the executable bit. (Mikael Berthe)
|
|
Problem: Marks are not restored after redo + undo.
Solution: Fix the way marks are restored. (Olaf Dabrunz)
|
|
Problem: Error reported by ubsan when running test 72.
Solution: Add type cast to unsigned. (Dominique Pelle)
|
|
Problem: Windows 64 bit compiler warnings.
Solution: Add type casts. (Mike Williams)
|
|
Problem: Test 72 crashes under certain conditions. (Kazunobu Kuriyama)
Solution: Clear the whole bufinfo_T early.
|
|
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)
|
|
Problem: Vim does not support the smack library.
Solution: Add smack support (Jose Bollo)
|
|
Problem: Now that the +visual feature is always enabled the #ifdefs for it
are not useful.
Solution: Remove the checks for FEAT_VISUAL.
|
|
Problem: Various problems on VMS.
Solution: Fix several VMS problems. (Zoltan Arpadffy)
|
|
Problem: Error number used twice. (Yukihiro Nakadaira)
Solution: Change the one not referred in the docs.
|
|
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.
|
|
Problem: Setting undolevels for one buffer changes undo in another.
Solution: Make 'undolevels' a global-local option. (Christian Brabandt)
|
|
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.
|
|
Problem: Mixing long and pointer doesn't always work.
Solution: Avoid cast to pointer.
|
|
Problem: Outdated comment, ugly condition.
Solution: Update a few comments, break line.
|
|
Problem: Month/Day format for undo is confusing. (Marcin Szamotulski)
Solution: Always use Year/Month/Day, should work for everybody.
|
|
Problem: Memory leak when writing undo file.
Solution: Free the ACL. (Dominique Pelle)
|
|
Problem: :wundo and :rundo use a wrong checksum.
Solution: Include the last line when computing the hash. (Christian Brabandt)
|
|
Problem: Year number for :undolist can be confused with month or day.
Solution: Change "%y" to "%Y".
|
|
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.
|
|
Problem: Inconsistency with preproc symbols. void * computation.
Solution: Include vimio.h from vim.h. Add type cast.
|
|
Problem: When a read() or write() is interrupted by a signal it fails.
Solution: Add read_eintr() and write_eintr().
|
|
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"
|
|
|
|
|
|
text from an undo file.
|
|
|
|
concealed or not.
Rename 'conc' to 'cole' as the short name for 'conceallevel'.
|
|
|
|
|
|
|