On Sat, Aug 6, 2022 at 11:37 PM Bram Moolenaar wrote:
>
>
> Tony wrote:
>
> > In the Huge, Big and Normal builds I get -Wmaybe-uninitialized
> > warnings for line_attr in drawline.c but they are different in each
> > case; I don't understand getting a -Wmaybe-uninitialized for a
> > variable
Patch 9.0.0161
Problem:Warning for uninitialized variable. (Tony Mechelynck)
Solution: Initialize line_attr_save.
Files: src/drawline.c
*** ../vim-9.0.0160/src/drawline.c 2022-08-06 22:23:36.205601229 +0100
--- src/drawline.c 2022-08-06 22:34:13.136095663 +0100
Tony wrote:
> In the Huge, Big and Normal builds I get -Wmaybe-uninitialized
> warnings for line_attr in drawline.c but they are different in each
> case; I don't understand getting a -Wmaybe-uninitialized for a
> variable which was given an initial value on the line declaring it.
> This is gcc
Patch 9.0.0160 (after 9.0.0158)
Problem:Some diff mode tests fail.
Solution: Only advance "ptr" when a text property follows.
Files: src/drawline.c
*** ../vim-9.0.0159/src/drawline.c 2022-08-06 22:02:58.187795341 +0100
--- src/drawline.c 2022-08-06 22:22:28.121144818 +0100
Patch 9.0.0159 (after 9.0.0156)
Problem:Cannot build with small features.
Solution: Check for E1170 only with FEAT_EVAL.
Files: src/ex_docmd.c, src/vim9script.c
*** ../vim-9.0.0158/src/ex_docmd.c 2022-08-06 18:12:02.962750601 +0100
--- src/ex_docmd.c 2022-08-06
Patch 9.0.0158
Problem:With 'nowrap' "below" property not displayed correctly.
Solution: Adjust virtual text with 'nowrap', do not truncate.
Files: src/drawline.c, src/testdir/test_textprop.vim,
src/testdir/dumps/Test_prop_with_text_below_nowrap_1.dump,
In the Huge, Big and Normal builds I get -Wmaybe-uninitialized
warnings for line_attr in drawline.c but they are different in each
case; I don't understand getting a -Wmaybe-uninitialized for a
variable which was given an initial value on the line declaring it.
This is gcc 12.1.1 20220721:
* In
Patch 9.0.0157
Problem:'showbreak' displayed below truncated "after" text prop.
Solution: Suppress 'showbreak' when "after" prop doesn't wrap.
Files: src/drawline.c, src/charset.c, src/testdir/test_textprop.vim
src/testdir/dumps/Test_prop_with_text_after_below_trunc_1.dump
Patch 9.0.0156
Problem:Giving E1170 only in an expression is confusing.
Solution: Give E1170 for any "#{ comment". (closes #10855)
Files: src/errors.h, src/vim9script.c, src/eval.c, src/ex_docmd.c,
src/testdir/test_vim9_script.vim
*** ../vim-9.0.0155/src/errors.h
Patch 9.0.0155
Problem:Text properties with "right" and "after" alignment displayed wrong
with 'nowrap'.
Solution: Only start a new line for "below". Fix sorting properties.
Files: src/drawline.c, src/testdir/test_textprop.vim,
Patch 9.0.0154
Problem:Text properties wrong after splitting a line.
Solution: Check for text properties after the line. (closes #10857)
Files: src/textprop.c, src/ops.c, src/testdir/test_textprop.vim,
src/testdir/dumps/Test_prop_with_text_after_join_split_1.dump,
Patch 9.0.0153
Problem:No fold and sign column for virtual text with "below" align and
'nowrap'.
Solution: Go back to draw state WL_START when moving to the next line.
(closes #10851)
Files: src/drawline.c, src/testdir/test_textprop.vim,
Patch 9.0.0152 (after 9.0.0151)
Problem:Warning for unused argument in small build.
Solution: Add "UNUSED".
Files: src/drawline.c
*** ../vim-9.0.0151/src/drawline.c 2022-08-06 13:47:16.212982332 +0100
--- src/drawline.c 2022-08-06 14:18:36.708604437 +0100
***
Patch 9.0.0151
Problem:A "below" aligned text property does not work with 'nowrap'.
Solution: Start a new screen line to display the virtual text.
(closes #10851)
Files: src/drawline.c, src/textprop.c, src/proto/textprop.pro,
src/misc1.c,
Patch 9.0.0150
Problem:Error for using #{ in an expression is a bit confusing.
Solution: Mention that this error is only given for an expression.
Avoid giving the error more than once. (closes #10855)
Files: src/errors.h, src/vim9script.c, src/eval.c,
Patch 9.0.0148
Problem:A "below" aligned text property gets 'showbreak' displayed.
Solution: Do not use 'showbreak' before or in virtual text. (issue #10851)
Files: src/drawline.c, src/testdir/test_textprop.vim
*** ../vim-9.0.0147/src/drawline.c 2022-08-05 20:03:51.516868750
Patch 9.0.0149
Problem:Test for fuzzy completion fails sometimes.
Solution: Use a more specific file name to minimize the chance of matching a
random directory name. (closes #10854)
Files: src/testdir/test_cmdline.vim
*** ../vim-9.0.0148/src/testdir/test_cmdline.vim
17 matches
Mail list logo