David Leadbeater
67ec655383
patch 9.0.2069: possible to escape bracketed paste mode with Ctrl-C
...
Problem: possible to escape bracketed paste mode with Ctrl-C
Solution: Do not handle Ctrl-C specially when key_protocol
is in use, makes bracketed paste mode more robust
When a key protocol is in use Ctrl-C will be sent as an escape sequence,
but a raw Ctrl-C can be sent when pasting data. Pass this through, so
that a Ctrl-C can be pasted and won't result in exiting insert mode
(where the rest of the pasted keys can cause all kind of nasty
side-effects).
Many terminals will strip control characters in paste data (and xterm
will strip ^C since version 388), but this provides some defense in
depth if users change settings like xterm's allowPasteControls.
closes : #13398
Signed-off-by: David Leadbeater <dgl@dgl.cx>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-10-26 22:08:41 +02:00
Yegappan Lakshmanan
142ed77898
patch 9.0.1246: code is indented more than necessary
...
Problem: Code is indented more than necessary.
Solution: Use an early return where it makes sense. (Yegappan Lakshmanan,
closes #11887 )
2023-01-26 12:00:00 +00:00
Bram Moolenaar
4c5678ff0c
patch 9.0.0977: it is not easy to see what client-server commands are doing
...
Problem: It is not easy to see what client-server commands are doing.
Solution: Add channel log messages if ch_log() is available. Move the
channel logging and make it available with the +eval feature.
2022-11-30 18:12:19 +00:00
Christopher Plewright
44c2209352
patch 9.0.0886: horizontal mouse scroll only works in the GUI
...
Problem: Horizontal mouse scroll only works in the GUI.
Solution: Make horizontal mouse scroll also work in a terminal.
(Christopher Plewright, closes #11448 )
2022-11-15 17:43:36 +00:00
Yee Cheng Chin
4314e4f7da
patch 9.0.0694: no native sound support on Mac OS
...
Problem: No native sound support on Mac OS.
Solution: Add sound support for Mac OS. (Yee Cheng Chin, closes #11274 )
2022-10-08 13:50:05 +01:00
Bram Moolenaar
b74e046491
patch 8.2.5075: clang gives an out of bounds warning
...
Problem: Clang gives an out of bounds warning.
Solution: adjust conditional expression (John Marriott)
2022-06-10 14:52:35 +01:00
Bram Moolenaar
6ed545e797
patch 8.2.4928: various white space and cosmetic mistakes
...
Problem: Various white space and cosmetic mistakes.
Solution: Change spaces to tabs, improve comments.
2022-05-09 20:09:23 +01:00
zeertzjq
6a8b13614e
patch 8.2.4454: resetting cmdwin_type only for one situation
...
Problem: Resetting cmdwin_type only for one situation.
Solution: Reset cmdwin_type before closing windows. (closes #9822 )
2022-02-23 12:23:08 +00:00
Bram Moolenaar
ca0c1caa36
patch 8.2.4438: crash on exit when using cmdline window
...
Problem: Crash on exit when using cmdline window.
Solution: Reset "cmdwin_type" before exiting. (closes #9817 )
2022-02-22 12:08:07 +00:00
=?UTF-8?q?Dundar=20G=C3=B6c?=
420fabcd4f
patch 8.2.4241: some type casts are redundant
...
Problem: Some type casts are redundant.
Solution: Remove the type casts. (closes #9643 )
2022-01-28 15:28:04 +00:00
Bram Moolenaar
35cfd793aa
patch 8.2.3892: when modifyOtherKeys is used CTRL-C is not recognized
...
Problem: When modifyOtherKeys is used CTRL-C is not recognized.
Solution: Check for uppercase C as well, fix minimum length.
2021-12-25 15:13:18 +00:00
Bram Moolenaar
e124204c4f
patch 8.2.3830: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
2021-12-16 20:56:57 +00:00
Bram Moolenaar
e50507126f
patch 8.2.3763: when editing the cmdline a callback may cause a scroll up
...
Problem: When editing the command line a FocusLost callback may cause the
screen to scroll up.
Solution: Do not redraw at the last line but at the same place where the
command line was before. (closes #9295 )
2021-12-09 10:51:05 +00:00
Bram Moolenaar
a48d4e44a2
patch 8.2.3761: focus change is not passed on to a terminal window
...
Problem: Focus change is not passed on to a terminal window.
Solution: If the current window is a terminal and focus events are enabled
send a focus event escape sequence to the terminal.
2021-12-08 22:13:38 +00:00
Bram Moolenaar
651fca85c7
patch 8.2.3699: the +title feature adds a lot of #ifdef but little code
...
Problem: The +title feature adds a lot of #ifdef but little code.
Solution: Graduate the +title feature.
2021-11-29 20:39:38 +00:00
Bram Moolenaar
ea042677ab
patch 8.2.3074: popup_atcursor() uses wrong position with concealing
...
Problem: popup_atcursor() uses wrong position with concealing.
Solution: Keep w_wcol in conceal_check_cursor_line(). (closes #8476 )
2021-06-29 20:22:32 +02:00
Bram Moolenaar
c41badb748
patch 8.2.2961: keys typed during a :normal command are discarded
...
Problem: Keys typed during a :normal command are discarded.
Solution: Concatenate saved typeahead and typed kesy. (closes #8340 )
2021-06-07 22:04:52 +02:00
Bram Moolenaar
5ea79a2599
patch 8.2.2639: build failure when fsync() is not available
...
Problem: Build failure when fsync() is not available.
Solution: Add #ifdef.
2021-03-22 16:45:35 +01:00
Bram Moolenaar
4c86830fc5
patch 8.2.2638: cannot write a message to the terminal from the GUI
...
Problem: Cannot write a message to the terminal from the GUI.
Solution: Add :echoconsole and use it in the test runner. (issue #7975 )
2021-03-22 16:19:45 +01:00
Bram Moolenaar
fadd55bd63
patch 8.2.2348: no check for modified files after focus gained
...
Problem: No check for modified files after focus gained. (Mathias Stearn)
Solution: Call ui_focus_change().
2021-01-14 19:19:18 +01:00
Bram Moolenaar
339c1bdbdf
patch 8.2.2282: length check mismatch with argument of strncmp()
...
Problem: Length check mismatch with argument of strncmp(). (Christian
Brabandt)
Solution: Adjust length check.
2021-01-02 20:14:23 +01:00
Bram Moolenaar
02faa944c6
patch 8.2.2275: CTRL-C not recognized in Mintty
...
Problem: CTRL-C not recognized in Mintty.
Solution: Recognize the modifyOtherKeys code ending in "u". (Christian
Brabandt, closes #7575 )
2021-01-02 16:17:18 +01:00
Bram Moolenaar
7ca86fe8dc
patch 8.2.1582: the channel log does not show typed text
...
Problem: The channel log does not show typed text.
Solution: Add raw typed text to the log file.
2020-09-03 19:25:11 +02:00
Bram Moolenaar
0981c8729e
patch 8.2.1513: cannot interrupt shell used for filename expansion
...
Problem: Cannot interrupt shell used for filename expansion. (Dominique
Pellé)
Solution: Do set tmode in mch_delay(). (closes #6770 )
2020-08-23 14:28:37 +02:00
Bram Moolenaar
b340baed9f
patch 8.2.0982: insufficient testing for reading/writing files
...
Problem: Insufficient testing for reading/writing files.
Solution: Add more tests. (Yegappan Lakshmanan, closes #6257 )
Add "ui_delay" to test_override() and use it for the CTRL-O test.
2020-06-15 19:51:56 +02:00
Bram Moolenaar
041c7107f2
patch 8.2.0849: BeOS code is not maintained and probably unused
...
Problem: BeOS code is not maintained and probably unused.
Solution: Remove the BeOS code. (Emir Sari, closes #5817 )
2020-05-30 18:14:57 +02:00
Bram Moolenaar
45fffdf10b
patch 8.2.0443: clipboard code is spread out
...
Problem: Clipboard code is spread out.
Solution: Move clipboard code to its own file. (Yegappan Lakshmanan,
closes #5827 )
2020-03-24 21:42:01 +01:00
Bram Moolenaar
56ba21a156
patch 8.2.0431: some compilers don't support using \e for Esc
...
Problem: Some compilers don't support using \e for Esc. (Yegappan
Lakshmanan)
Solution: use \033 instead.
2020-03-23 19:17:29 +01:00
Bram Moolenaar
515545e11f
patch 8.2.0425: code for modeless selection not sufficiently tested
...
Problem: Code for modeless selection not sufficiently tested.
Solution: Add tests. Move mouse code functionality to a common script file.
(Yegappan Lakshmanan, closes #5821 )
2020-03-22 14:08:59 +01:00
Bram Moolenaar
9645e2d9fc
patch 8.2.0421: interrupting with CTRL-C does not always work
...
Problem: Interrupting with CTRL-C does not always work.
Solution: Recognize CTRL-C while modifyOtherKeys is set.
2020-03-20 20:48:49 +01:00
Bram Moolenaar
4b96df5a01
patch 8.2.0156: various typos in source files and tests
...
Problem: Various typos in source files and tests.
Solution: Fix the typos. (Emir Sari, closes #5532 )
2020-01-26 22:00:26 +01:00
Bram Moolenaar
b16ad96849
patch 8.2.0106: printf formats are not exactly right
...
Problem: Printf formats are not exactly right.
Solution: Adjust signed/unsigned conversions. (Frazer Clews, closes #5456 )
2020-01-08 22:06:14 +01:00
Bram Moolenaar
95f0b6e5a5
patch 8.2.0009: VMS: terminal version doesn't build
...
Problem: VMS: terminal version doesn't build.
Solution: Move MIN definition. Adjust #ifdefs. (Zoltan Arpadffy)
2019-12-15 12:54:18 +01:00
Bram Moolenaar
74ee5e2384
patch 8.2.0001: #endif comments do reflect corresponding #ifdef
...
Problem: #endif comments do reflect corresponding #ifdef.
Solution: Update the comments. (Rene Nyffenegger, closes #5351 )
2019-12-13 18:13:22 +01:00
Bram Moolenaar
e38eab22c1
patch 8.1.2396: using old C style comments
...
Problem: Using old C style comments.
Solution: Use // comments where appropriate.
2019-12-05 21:50:01 +01:00
Bram Moolenaar
05ad5ff0ab
patch 8.1.2371: FEAT_TEXT_PROP is a confusing name
...
Problem: FEAT_TEXT_PROP is a confusing name.
Solution: Use FEAT_PROP_POPUP. (Naruhiko Nishino, closes #5291 )
2019-11-30 22:48:27 +01:00
Bram Moolenaar
7bae0b1bc8
patch 8.1.2331: the option.c file is still very big
...
Problem: The option.c file is still very big.
Solution: Move a few functions to where they fit better. (Yegappan
Lakshmanan, closes #4895 )
2019-11-21 22:14:18 +01:00
Bram Moolenaar
546125869f
patch 8.1.2327: cannot build with Hangul input
...
Problem: Cannot build with Hangul input.
Solution: Remove Hangul input support.
2019-11-21 17:13:31 +01:00
Bram Moolenaar
eda1da0c9a
patch 8.1.2313: debugging where a delay comes from is not easy
...
Problem: Debugging where a delay comes from is not easy.
Solution: Use different values when calling ui_delay().
2019-11-17 17:06:33 +01:00
Bram Moolenaar
32aa10203b
patch 8.1.2243: typos in comments
...
Problem: Typos in comments.
Solution: Fix the typos. (Dominique Pelle, closes #5160 ) Also adjust
formatting a bit.
2019-11-02 22:54:41 +01:00
Bram Moolenaar
bd67aac279
patch 8.1.2064: MS-Windows: compiler warnings for unused arguments
...
Problem: MS-Windows: compiler warnings for unused arguments.
Solution: Add UNUSED. (Yegappan Lakshmanan, closes #4963 )
2019-09-21 23:09:04 +02:00
Bram Moolenaar
b20b9e14dd
patch 8.1.2062: the mouse code is spread out
...
Problem: The mouse code is spread out.
Solution: Move all the mouse code to mouse.c. (Yegappan Lakshmanan,
closes #4959 )
2019-09-21 20:48:04 +02:00
Bram Moolenaar
6cdce2a003
patch 8.1.2006: build failure with huge features but without channel feature
...
Problem: Build failure with huge features but without channel feature.
Solution: Add #ifdef. (Dominique Pelle, closes #4906 )
2019-09-07 23:25:09 +02:00
Bram Moolenaar
d570ab95d9
patch 8.1.1971: manually enabling features causes build errors
...
Problem: Manually enabling features causes build errors. (John Marriott)
Solution: Adjust #ifdefs.
2019-09-03 23:20:05 +02:00
Bram Moolenaar
f63962378d
patch 8.1.1920: cannot always close a popup when filter consumes all events
...
Problem: Cannot close a popup by the X when a filter consumes all events.
Solution: Check for a click on the close button before invoking filters.
(closes #4858 )
2019-08-24 19:36:00 +02:00
Bram Moolenaar
741ea17038
patch 8.1.1916: trying to allocate negative amount of memory closing popup
...
Problem: Trying to allocate negative amount of memory when closing a popup.
Solution: Check the rows are not out of bounds. Don't finish a selection if
it was never started.
2019-08-24 14:16:32 +02:00
Bram Moolenaar
5843f5f37b
patch 8.1.1891: functions used in one file are global
...
Problem: Functions used in one file are global.
Solution: Add "static". (Yegappan Lakshmanan, closes #4840 )
2019-08-20 20:13:45 +02:00
Bram Moolenaar
4dd751b956
patch 8.1.1874: modeless selection in popup window overlaps scrollbar
...
Problem: Modeless selection in popup window overlaps scrollbar.
Solution: Subtract scrollbar from max_col. (closes #4773 )
2019-08-17 19:10:53 +02:00
Bram Moolenaar
ff9f27cdc7
patch 8.1.1871: modeless selection in GUI still not correct
...
Problem: Modeless selection in GUI still not correct.
Solution: Fix max_col.
2019-08-17 16:15:53 +02:00
Bram Moolenaar
d5cf89872e
patch 8.1.1866: modeless selection in GUI does not work properly
...
Problem: Modeless selection in GUI does not work properly.
Solution: Avoid going beyond the end of the line. (closes #4783 )
2019-08-16 23:09:11 +02:00