zeertzjq [Thu, 1 Jun 2023 19:26:55 +0000 (20:26 +0100)]
patch 9.0.1598: screenchar() and others are wrong with DBCS 'encoding'
Problem: screenchar(), screenchars() and screenstring() do not work
properly when 'encoding' is set to a double-byte encoding.
Solution: Fix the way the bytes of the characters are obtained.
(issue #12469)
Omar El Halabi [Mon, 29 May 2023 18:59:45 +0000 (19:59 +0100)]
patch 9.0.1591: some "gomod" files are not recognized
Problem: Some "gomod" files are not recognized.
Solution: Check for "go.mod" file name before checking out the contents.
(Omar El Halabi, closes #12462)
K.Takata [Mon, 29 May 2023 15:08:08 +0000 (16:08 +0100)]
patch 9.0.1588: Incsearch not triggered when pasting clipboard register
Problem: Incsearch not triggered when pasting clipboard register on the
command line.
Solution: Also set "literally" when using a clipboard register. (Ken Takata,
closes #12460)
Bram Moolenaar [Sun, 28 May 2023 17:39:55 +0000 (18:39 +0100)]
patch 9.0.1586: error for using two messages with ngettext() differing in "%"
Problem: Checking translations gives an error for using two messages with
ngettext() that differ in "%" items.
Solution: Adjust the check script to tolerate omitting one "%" item.
Luuk van Baal [Sat, 27 May 2023 21:22:10 +0000 (22:22 +0100)]
patch 9.0.1585: weird use of static variables for spell checking
Problem: Weird use of static variables for spell checking.
Solution: Move the variables to a structure and pass them from win_update()
to win_line(). (Luuk van Baal, closes #12448)
Bram Moolenaar [Sat, 27 May 2023 17:02:55 +0000 (18:02 +0100)]
patch 9.0.1583: get E304 when using 'cryptmethod' "xchacha20v2"
Problem: Get E304 when using 'cryptmethod' "xchacha20v2". (Steve Mynott)
Solution: Add 4th crypt method to block zero ID check. Avoid syncing a swap
file before reading the file. (closes #12433)
zeertzjq [Sat, 27 May 2023 13:10:08 +0000 (14:10 +0100)]
patch 9.0.1582: :stopinsert may not work in a popup close handler
Problem: :stopinsert may not work in a popup close handler. (Ben Jackson)
Solution: Restore stop_insert_mode when appropriate. (closes #12452,
closes #12434)
Luuk van Baal [Thu, 25 May 2023 16:14:42 +0000 (17:14 +0100)]
patch 9.0.1578: SpellCap highlight not always updated when needed
Problem: SpellCap highlight not always updated when needed.
Solution: Handle updating line below closed fold and other situations where
only part of the window is redrawn. (Luuk van Baal, closes #12428,
closes #12420)
K.Takata [Thu, 25 May 2023 15:43:27 +0000 (16:43 +0100)]
patch 9.0.1577: MS-Windows: context menu translations may be wrong
Problem: MS-Windows: context menu translations may be wrong.
Solution: Set the encoding before using gettext(). (Ken Takata,
closes #12441, closes #12431)
Bram Moolenaar [Sat, 20 May 2023 13:07:00 +0000 (14:07 +0100)]
patch 9.0.1571: RedrawingDisabled not used consistently
Problem: RedrawingDisabled not used consistently.
Solution: Avoid RedrawingDisabled going negative. Set RedrawingDisabled in
win_split_ins(). (closes #11961)
h-east [Fri, 19 May 2023 18:01:17 +0000 (19:01 +0100)]
patch 9.0.1569: cannot use "this.member" in lambda in class method
Problem: Cannot use "this.member" in lambda in class method.
Solution: Adjust check for reserved keyword. (Hirohito Higashi,
closes #12416, closes #12076, closes #12336)
Luuk van Baal [Fri, 19 May 2023 13:04:47 +0000 (14:04 +0100)]
patch 9.0.1568: with 'smoothscroll' cursor may move below botline
Problem: With 'smoothscroll' cursor may move below botline.
Solution: Call redraw_later() if needed, Compute cursor row with adjusted
condition. (Luuk van Baal, closes #12415)
Luuk van Baal [Thu, 18 May 2023 12:26:57 +0000 (13:26 +0100)]
patch 9.0.1564: display moves up and down with 'incsearch' and 'smoothscroll'
Problem: Display moves up and down with 'incsearch' and 'smoothscroll'.
Solution: Do not check if w_skipcol changed. (Luuk van Baal, closes #12410,
closes #12409)
Bram Moolenaar [Tue, 16 May 2023 21:15:51 +0000 (22:15 +0100)]
patch 9.0.1563: GTK3: window manager resize hints are incomplete
Problem: GTK3: window manager resize hints are incomplete.
Solution: Use NULL for second argument of gtk_window_set_geometry_hints().
(Kenny Stauffer closes #11055)
Luuk van Baal [Mon, 15 May 2023 17:17:43 +0000 (18:17 +0100)]
patch 9.0.1561: display wrong when moving cursor to above the top line
Problem: Display wrong when moving cursor to above the top line and
'smoothscroll' is set.
Solution: Call adjust_skipcol() in more places and make it work better.
(Luuk van Baal, closes #12395)
K.Takata [Mon, 15 May 2023 15:41:40 +0000 (16:41 +0100)]
patch 9.0.1560: Win32: When 'encoding' is set $PATH has duplicate entries
Problem: Win32: When 'encoding' is set $PATH has duplicate entries.
Solution: Only append the directory if it is not there yet. (Ken Takata,
closes #12400, closes #12372)
Bram Moolenaar [Mon, 15 May 2023 15:22:38 +0000 (16:22 +0100)]
patch 9.0.1559: function argument types not always checked
Problem: Function argument types not always checked and using v:none may
cause an error.
Solution: Check argument types once the function type is known. Do not give
an error for using v:none as an argument. (closes #12200)
Luuk van Baal [Sat, 13 May 2023 13:12:15 +0000 (14:12 +0100)]
patch 9.0.1551: position of marker for 'smoothscroll' not computed correctly
Problem: Position of marker for 'smoothscroll' not computed correctly.
Solution: Take 'list' and other options into account. (Luuk van Baal,
closes #12393)
patch 9.0.1548: CI: check in sound-dummy module may throw an error
Problem: CI: check in sound-dummy module may throw an error.
Solution: Check whether apt-cache can show the package description.
(Christian Brabandt, closes #12390)
patch 9.0.1546: some commands for opening a file don't use 'switchbuf'
Problem: Some commands for opening a file don't use 'switchbuf'.
Solution: Use 'switchbuf' for more commands. (Yegappan Lakshmanan,
closes #12383, closes #12381)
Luuk van Baal [Thu, 11 May 2023 18:24:20 +0000 (19:24 +0100)]
patch 9.0.1543: display errors when making topline shorter
Problem: Display errors when making topline shorter and 'smoothscroll' is
set.
Solution: Reset w_skipcol when the topline becomes shorter than its current
value. (Luuk van Baal, closes #12367)
Bram Moolenaar [Wed, 10 May 2023 13:47:50 +0000 (14:47 +0100)]
patch 9.0.1537: message for opening the cmdline window is not translated
Problem: Message for opening the cmdline window is not translated.
Solution: Add gettext() and scan the defaults script for text to be
translated. (closes #12371)
Luuk van Baal [Tue, 9 May 2023 15:01:17 +0000 (16:01 +0100)]
patch 9.0.1530: cursor moves to wrong line when 'foldmethod' is "diff"
Problem: Cursor moves to wrong line when 'foldmethod' is "diff". (Rick
Howe)
Solution: Adjust logic for scrolling. (Luuk van Baal, closes #12364,
closes #12218)
Bram Moolenaar [Mon, 8 May 2023 21:11:07 +0000 (22:11 +0100)]
patch 9.0.1528: libsodium encryption is only used with "huge" features
Problem: Libsodium encryption is only used with "huge" features, even when
manually enabled through configure. (Tony Mechelynck)
Solution: Remove the condition on FEAT_HUGE.
Luuk van Baal [Mon, 8 May 2023 14:51:14 +0000 (15:51 +0100)]
patch 9.0.1525: 'smoothscroll' does not always work properly
Problem: 'smoothscroll' does not always work properly.
Solution: Do not reset w_skipcol after it was intentionally set. (Luuk van
Baal, closes #12360, closes #12199, closes #12323)
patch 9.0.1518: search stats not always visible when searching backwards
Problem: Search stats not always visible when searching backwards.
Solution: Do not display the top/bot message on top of the search stats.
(Christian Brabandt, closes #12322, closes #12222)
Luuk van Baal [Sat, 6 May 2023 11:53:50 +0000 (12:53 +0100)]
patch 9.0.1513: text scrolls unnecessarily when splitting
Problem: Text scrolls unnecessarily when splitting and 'splitkeep' is not
"cursor".
Solution: Avoid resetting w_skipcol. (Luuk van Baal, closes #12334)
Luuk van Baal [Sat, 6 May 2023 11:40:15 +0000 (12:40 +0100)]
patch 9.0.1512: inserting lines when scrolling with 'smoothscroll' set
Problem: Inserting lines when scrolling with 'smoothscroll' set.
Solution: Adjust line height computation for w_skipcol. (Luuk van Baal,
closes #12350)
zeertzjq [Thu, 4 May 2023 17:58:22 +0000 (18:58 +0100)]
patch 9.0.1507: assert message is confusing with boolean result
Problem: Assert message is confusing with boolean result. assert_inrange()
replaces message instead of adding it.
Solution: Don't put quotes around expected boolean value. Append message
for assert_inrange(). (closes #12342, closes #12341)
h-east [Mon, 1 May 2023 21:36:56 +0000 (22:36 +0100)]
patch 9.0.1504: no error when calling remote_startserver("")
Problem: No error when calling remote_startserver() with an empty string.
Solution: Give an error for an empty string. (Hirohito Higashi,
closes #12327)
patch 9.0.1502: no test for deleting the end of a long wrapped line
Problem: No test for deleting the end of a long wrapped line.
Solution: Add a test to check the right text is displayed. (Luuk van Baal,
closes #12318)