Bram Moolenaar
2c93c685e3
patch 8.2.1553: crash in edit test
...
Problem: Crash in edit test.
Solution: Avoid using invalid pointer.
2020-08-31 21:15:02 +02:00
Bram Moolenaar
64f37d3090
patch 8.2.1552: warnings from asan with clang-11
...
Problem: Warnings from asan with clang-11. (James McCoy)
Solution: Avoid using a NULL pointer. (issue #6811 )
2020-08-31 19:58:13 +02:00
Bram Moolenaar
b171fb1790
patch 8.2.1049: Vim9: leaking memory when using continuation line
...
Problem: Vim9: leaking memory when using continuation line.
Solution: Keep a pointer to the continuation line in evalarg_T. Centralize
checking for a next command.
2020-06-24 20:34:03 +02:00
Bram Moolenaar
217e1b8359
patch 8.1.2379: using old C style comments
...
Problem: Using old C style comments.
Solution: Use // comments where appropriate.
2019-12-01 21:41:28 +01:00
Bram Moolenaar
8c96af9c05
patch 8.1.2096: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Graduate FEAT_COMMENTS.
2019-09-28 19:05:57 +02:00
Bram Moolenaar
db022f3ffb
patch 8.1.1960: fold code is spread out
...
Problem: Fold code is spread out.
Solution: Move fold functions to fold.c.
2019-09-01 17:52:32 +02:00
Bram Moolenaar
4f57eefe1e
patch 8.1.1922: in diff mode global operations can be very slow
...
Problem: In diff mode global operations can be very slow.
Solution: Do not call diff_redraw() many times, call it once when redrawing.
And also don't update folds multiple times.
2019-08-24 20:54:19 +02:00
Bram Moolenaar
9a4a8c4d59
patch 8.1.1890: ml_get error when deleting fold marker
...
Problem: Ml_get error when deleting fold marker.
Solution: Check that the line number is not below the last line. Adjust the
fold when deleting the empty line. (Christian Brabandt,
closes #4834 )
2019-08-19 22:48:30 +02:00
Bram Moolenaar
964b3746b9
patch 8.1.1384: using "int" for alloc() often results in compiler warnings
...
Problem: Using "int" for alloc() often results in compiler warnings.
Solution: Use "size_t" and remove type casts. Remove alloc_check(), Vim
only works with 32 bit ints anyway.
2019-05-24 18:54:09 +02:00
Bram Moolenaar
135059724f
patch 8.1.0805: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Graduate FEAT_MBYTE, part 1.
2019-01-24 15:04:48 +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
0c27cbcacf
patch 8.1.0527: using 'shiftwidth' from wrong buffer for folding
...
Problem: Using 'shiftwidth' from wrong buffer for folding.
Solution: Use "buf" instead of "curbuf". (Christian Brabandt)
2018-11-14 21:45:32 +01:00
Bram Moolenaar
4033c55eca
patch 8.0.1118: FEAT_WINDOWS adds a lot of #ifdefs
...
Problem: FEAT_WINDOWS adds a lot of #ifdefs while it is nearly always
enabled and only adds 7% to the binary size of the tiny build.
Solution: Graduate FEAT_WINDOWS.
2017-09-16 20:54:51 +02:00
Bram Moolenaar
b11c826ddc
patch 8.0.0583: fold test hangs on MS-Windows
...
Problem: Fold test hangs on MS-Windows.
Solution: Avoid overflow in compare.
2017-04-23 16:48:20 +02:00
Bram Moolenaar
94be619e30
patch 8.0.0581: moving folded text is sometimes not correct
...
Problem: Moving folded text is sometimes not correct.
Solution: Bail out when "move_end" is zero. (Matthew Malcomson)
2017-04-22 22:40:11 +02:00
Bram Moolenaar
9d20ce6970
patch 8.0.0503: endless loop in updating folds with 32 bit ints
...
Problem: Endless loop in updating folds with 32 bit ints.
Solution: Subtract from LHS instead of add to the RHS. (Matthew Malcomson)
2017-03-23 21:53:35 +01:00
Bram Moolenaar
0c0d4eca4d
patch 8.0.0469: compiler warnings on MS-Windows
...
Problem: Compiler warnings on MS-Windows.
Solution: Add type casts. (Christian Brabandt)
2017-03-16 22:06:57 +01:00
Bram Moolenaar
40ebc0afda
patch 8.0.0465: off-by-one error in using :move with folding
...
Problem: Off-by-one error in using :move with folding.
Solution: Correct off-by-one mistakes and add more tests. (Matthew
Malcomson)
2017-03-16 15:59:14 +01:00
Bram Moolenaar
4a5a8dd6e5
patch 8.0.0461: test 45 hangs on MS-Windows
...
Problem: Test 45 hangs on MS-Windows.
Solution: Reset 'shiftwidth'. Also remove redundent function.
2017-03-16 13:54:10 +01:00
Bram Moolenaar
88d298aed8
patch 8.0.0457: using :move messes up manual folds
...
Problem: Using :move messes up manual folds.
Solution: Split adjusting marks and folds. Add foldMoveRange(). (neovim
patch #6221 )
2017-03-14 21:53:58 +01:00
Bram Moolenaar
025a6b708a
patch 8.0.0453: adding fold marker creates new comment
...
Problem: Adding fold marker creates new comment.
Solution: Use an existing comment if possible. (LemonBoy, closes #1549 )
2017-03-12 20:37:21 +01:00
Bram Moolenaar
1c46544412
patch 8.0.0452: some macros are in lower case
...
Problem: Some macros are in lower case.
Solution: Make a few more macros upper case.
2017-03-12 20:10:05 +01:00
Bram Moolenaar
91acfffc1e
patch 8.0.0451: some macros are in lower case
...
Problem: Some macros are in lower case.
Solution: Make a few more macros upper case. Avoid lower case macros use an
argument twice.
2017-03-12 19:22:36 +01:00
Bram Moolenaar
b5aedf3e22
patch 8.0.0448: some macros are in lower case
...
Problem: Some macros are in lower case, which can be confusing.
Solution: Make a few lower case macros upper case.
2017-03-12 18:23:53 +01:00
Bram Moolenaar
eadbc2b461
patch 8.0.0408: updating folds does not always work properly
...
Problem: Updating folds does not work properly when inserting a file and a
few other situations.
Solution: Adjust the way folds are updated. (Matthew Malcomson)
2017-03-04 18:42:39 +01:00
Bram Moolenaar
1159b168dd
patch 8.0.0388: filtering lines changes folds
...
Problem: filtering lines through "cat", without changing the line count,
changes manual folds.
Solution: Change how marks and folds are adjusted. (Matthew Malcomson, from
neovim #6194 .
2017-02-28 21:53:56 +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
ee695f787a
patch 7.4.2152
...
Problem: No proper translation of messages with a count.
Solution: Use ngettext(). (Sergey Alyoshin)
2016-08-03 22:08:45 +02:00
Bram Moolenaar
22fcfad292
patch 7.4.1976
...
Problem: Number variables are not 64 bits while they could be.
Solution: Add the num64 feature. (Ken Takata)
2016-07-01 18:17:26 +02:00
Bram Moolenaar
945ec093cd
patch 7.4.1909
...
Problem: Doubled semicolons.
Solution: Reduce to one. (Dominique Pelle)
2016-06-08 21:17:43 +02:00
Bram Moolenaar
429fcfbf9a
patch 7.4.1732
...
Problem: Folds may close when using autocomplete. (Anmol Sethi)
Solution: Increment/decrement disable_fold. (Christian Brabandt, closes
#643 )
2016-04-14 16:22:04 +02:00
Bram Moolenaar
66f948e928
patch 7.4.1207
...
Problem: Using old style function declarations.
Solution: Change to new style function declarations. (script by Hirohito
Higashi)
2016-01-30 16:39:25 +01:00
Bram Moolenaar
d99df423c5
patch 7.4.1200
...
Problem: Still using __ARGS.
Solution: Remove __ARGS in several files. (script by Hirohito Higashi)
2016-01-29 23:20:40 +01:00
Bram Moolenaar
d25c16e2f2
patch 7.4.1197
...
Problem: Still using __ARGS.
Solution: Remove __ARGS in several files. (script by Hirohito Higashi)
2016-01-29 22:13:30 +01:00
Bram Moolenaar
cde8854730
patch 7.4.822
...
Problem: More problems reported by coverity.
Solution: Avoid the warnings. (Christian Brabandt)
2015-08-11 19:14:00 +02:00
Bram Moolenaar
d5f6933d5c
patch 7.4.700
...
Problem: Fold can't be opened after ":move". (Ein Brown)
Solution: Delete the folding information and update it afterwards.
(Christian Brabandt)
2015-04-15 12:43:50 +02:00
Bram Moolenaar
05b20fb14e
patch 7.4.699
...
Problem: E315 when trying to delete a fold. (Yutao Yuan)
Solution: Make sure the fold doesn't go beyond the last buffer line.
(Christian Brabandt)
2015-04-13 20:52:36 +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
6bcbcc59be
updated for version 7.4.069
...
Problem: Cannot right shift lines starting with #.
Solution: Allow the right shift when 'cino' contains #N with N > 0.
(Christian Brabandt)
Refactor parsing 'cino', store the values in the buffer.
2013-11-05 07:13:41 +01:00
Bram Moolenaar
dab38d516e
updated for version 7.3.1199
...
Problem: When evaluating 'foldexpr' causes an error this is silently
ignored and evaluation is retried every time.
Solution: Set emsg_silent instead of emsg_off. Stop evaluating 'foldexpr' is
it is causing errors. (Christian Brabandt)
2013-06-15 17:06:36 +02:00
Bram Moolenaar
002a4edc5b
updated for version 7.3.641
...
Problem: ":mkview" uses ":normal" instead of ":normal!" for folds. (Dan)
Solution: Add the bang. (Christian Brabandt)
2012-08-29 15:22:25 +02:00
Bram Moolenaar
14f2474147
updated for version 7.3.629
...
Problem: There is no way to make 'shiftwidth' follow 'tabstop'.
Solution: When 'shiftwidth' is zero use the value of 'tabstop'. (Christian
Brabandt)
2012-08-08 18:01:05 +02:00
Bram Moolenaar
d25ad65a97
updated for version 7.3.462
...
Problem: When using ":loadview" folds may be closed unexpectedly.
Solution: Take into account foldlevel. (Xavier de Gaye)
2012-02-29 19:20:02 +01:00
Bram Moolenaar
70b2a56d5a
updated for version 7.3.400
...
Problem: Compiler warnings for shadowed variables.
Solution: Remove or rename the variables.
2012-01-10 22:26:17 +01:00
Bram Moolenaar
c9927c136f
updated for version 7.3.286
...
Problem: Crash when using "zd" on a large number of folds. (Sam King)
Solution: Recompute pointer after reallocating array. Move fewer entries
when making room.
2011-08-26 16:13:00 +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
08bb82e8c5
updated for version 7.2.397
...
Problem: Redundant check for w_lines_valid.
Solution: Remove the if. (Lech Lorens)
2010-03-17 16:45:12 +01:00
Bram Moolenaar
f4d7f944ba
updated for version 7.2.370
...
Problem: A redraw may cause folds to be closed.
Solution: Revert part of the previous patch. Add a test. (Lech Lorens)
2010-02-24 14:34:19 +01:00
Bram Moolenaar
cee6a352b2
updated for version 7.2.356
...
Problem: When 'foldmethod' is changed not all folds are closed as expected.
Solution: In foldUpdate() correct the start position and reset fd_flags when
w_foldinvalid is set. (Lech Lorens)
2010-02-03 18:14:49 +01:00
Bram Moolenaar
3ee0229f64
updated for version 7.2.340
...
Problem: Gcc warning for condition that can never be true. (James Vega)
Solution: Use start_lvl instead flp->lvl.
2010-01-19 17:24:25 +01:00