summaryrefslogtreecommitdiff
path: root/src/ui.c
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.2.4454: resetting cmdwin_type only for one situationv8.2.4454zeertzjq2022-02-231-3/+0
| | | | | Problem: Resetting cmdwin_type only for one situation. Solution: Reset cmdwin_type before closing windows. (closes #9822)
* patch 8.2.4438: crash on exit when using cmdline windowv8.2.4438Bram Moolenaar2022-02-221-0/+3
| | | | | Problem: Crash on exit when using cmdline window. Solution: Reset "cmdwin_type" before exiting. (closes #9817)
* patch 8.2.4241: some type casts are redundantv8.2.4241=?UTF-8?q?Dundar=20G=C3=B6c?=2022-01-281-4/+4
| | | | | Problem: Some type casts are redundant. Solution: Remove the type casts. (closes #9643)
* patch 8.2.3892: when modifyOtherKeys is used CTRL-C is not recognizedv8.2.3892Bram Moolenaar2021-12-251-5/+10
| | | | | Problem: When modifyOtherKeys is used CTRL-C is not recognized. Solution: Check for uppercase C as well, fix minimum length.
* patch 8.2.3830: error messages are spread outv8.2.3830Bram Moolenaar2021-12-161-1/+1
| | | | | Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
* patch 8.2.3763: when editing the cmdline a callback may cause a scroll upv8.2.3763Bram Moolenaar2021-12-091-23/+1
| | | | | | | 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)
* patch 8.2.3761: focus change is not passed on to a terminal windowv8.2.3761Bram Moolenaar2021-12-081-0/+4
| | | | | | 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.
* patch 8.2.3699: the +title feature adds a lot of #ifdef but little codev8.2.3699Bram Moolenaar2021-11-291-2/+1
| | | | | Problem: The +title feature adds a lot of #ifdef but little code. Solution: Graduate the +title feature.
* patch 8.2.3074: popup_atcursor() uses wrong position with concealingv8.2.3074Bram Moolenaar2021-06-291-1/+1
| | | | | Problem: popup_atcursor() uses wrong position with concealing. Solution: Keep w_wcol in conceal_check_cursor_line(). (closes #8476)
* patch 8.2.2961: keys typed during a :normal command are discardedv8.2.2961Bram Moolenaar2021-06-071-3/+13
| | | | | Problem: Keys typed during a :normal command are discarded. Solution: Concatenate saved typeahead and typed kesy. (closes #8340)
* patch 8.2.2639: build failure when fsync() is not availablev8.2.2639Bram Moolenaar2021-03-221-1/+3
| | | | | Problem: Build failure when fsync() is not available. Solution: Add #ifdef.
* patch 8.2.2638: cannot write a message to the terminal from the GUIv8.2.2638Bram Moolenaar2021-03-221-4/+10
| | | | | Problem: Cannot write a message to the terminal from the GUI. Solution: Add :echoconsole and use it in the test runner. (issue #7975)
* patch 8.2.2348: no check for modified files after focus gainedv8.2.2348Bram Moolenaar2021-01-141-2/+0
| | | | | Problem: No check for modified files after focus gained. (Mathias Stearn) Solution: Call ui_focus_change().
* patch 8.2.2282: length check mismatch with argument of strncmp()v8.2.2282Bram Moolenaar2021-01-021-6/+4
| | | | | | Problem: Length check mismatch with argument of strncmp(). (Christian Brabandt) Solution: Adjust length check.
* patch 8.2.2275: CTRL-C not recognized in Minttyv8.2.2275Bram Moolenaar2021-01-021-2/+5
| | | | | | Problem: CTRL-C not recognized in Mintty. Solution: Recognize the modifyOtherKeys code ending in "u". (Christian Brabandt, closes #7575)
* patch 8.2.1582: the channel log does not show typed textv8.2.1582Bram Moolenaar2020-09-031-0/+7
| | | | | Problem: The channel log does not show typed text. Solution: Add raw typed text to the log file.
* patch 8.2.1513: cannot interrupt shell used for filename expansionv8.2.1513Bram Moolenaar2020-08-231-1/+1
| | | | | | Problem: Cannot interrupt shell used for filename expansion. (Dominique Pellé) Solution: Do set tmode in mch_delay(). (closes #6770)
* patch 8.2.0982: insufficient testing for reading/writing filesv8.2.0982Bram Moolenaar2020-06-151-1/+7
| | | | | | 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.
* patch 8.2.0849: BeOS code is not maintained and probably unusedv8.2.0849Bram Moolenaar2020-05-301-13/+1
| | | | | Problem: BeOS code is not maintained and probably unused. Solution: Remove the BeOS code. (Emir Sari, closes #5817)
* patch 8.2.0443: clipboard code is spread outv8.2.0443Bram Moolenaar2020-03-241-1884/+1
| | | | | | Problem: Clipboard code is spread out. Solution: Move clipboard code to its own file. (Yegappan Lakshmanan, closes #5827)
* patch 8.2.0431: some compilers don't support using \e for Escv8.2.0431Bram Moolenaar2020-03-231-1/+1
| | | | | | Problem: Some compilers don't support using \e for Esc. (Yegappan Lakshmanan) Solution: use \033 instead.
* patch 8.2.0425: code for modeless selection not sufficiently testedv8.2.0425Bram Moolenaar2020-03-221-1/+1
| | | | | | Problem: Code for modeless selection not sufficiently tested. Solution: Add tests. Move mouse code functionality to a common script file. (Yegappan Lakshmanan, closes #5821)
* patch 8.2.0421: interrupting with CTRL-C does not always workv8.2.0421Bram Moolenaar2020-03-201-3/+6
| | | | | Problem: Interrupting with CTRL-C does not always work. Solution: Recognize CTRL-C while modifyOtherKeys is set.
* patch 8.2.0156: various typos in source files and testsv8.2.0156Bram Moolenaar2020-01-261-1/+1
| | | | | Problem: Various typos in source files and tests. Solution: Fix the typos. (Emir Sari, closes #5532)
* patch 8.2.0106: printf formats are not exactly rightv8.2.0106Bram Moolenaar2020-01-081-3/+3
| | | | | Problem: Printf formats are not exactly right. Solution: Adjust signed/unsigned conversions. (Frazer Clews, closes #5456)
* patch 8.2.0009: VMS: terminal version doesn't buildv8.2.0009Bram Moolenaar2019-12-151-1/+1
| | | | | Problem: VMS: terminal version doesn't build. Solution: Move MIN definition. Adjust #ifdefs. (Zoltan Arpadffy)
* patch 8.2.0001: #endif comments do reflect corresponding #ifdefv8.2.0001Bram Moolenaar2019-12-131-2/+2
| | | | | Problem: #endif comments do reflect corresponding #ifdef. Solution: Update the comments. (Rene Nyffenegger, closes #5351)
* patch 8.1.2396: using old C style commentsv8.1.2396Bram Moolenaar2019-12-051-194/+194
| | | | | Problem: Using old C style comments. Solution: Use // comments where appropriate.
* patch 8.1.2371: FEAT_TEXT_PROP is a confusing namev8.1.2371Bram Moolenaar2019-11-301-10/+10
| | | | | Problem: FEAT_TEXT_PROP is a confusing name. Solution: Use FEAT_PROP_POPUP. (Naruhiko Nishino, closes #5291)
* patch 8.1.2331: the option.c file is still very bigv8.1.2331Bram Moolenaar2019-11-211-1/+92
| | | | | | Problem: The option.c file is still very big. Solution: Move a few functions to where they fit better. (Yegappan Lakshmanan, closes #4895)
* patch 8.1.2327: cannot build with Hangul inputv8.1.2327Bram Moolenaar2019-11-211-32/+0
| | | | | Problem: Cannot build with Hangul input. Solution: Remove Hangul input support.
* patch 8.1.2313: debugging where a delay comes from is not easyv8.1.2313Bram Moolenaar2019-11-171-0/+3
| | | | | Problem: Debugging where a delay comes from is not easy. Solution: Use different values when calling ui_delay().
* patch 8.1.2243: typos in commentsv8.1.2243Bram Moolenaar2019-11-021-2/+2
| | | | | | Problem: Typos in comments. Solution: Fix the typos. (Dominique Pelle, closes #5160) Also adjust formatting a bit.
* patch 8.1.2064: MS-Windows: compiler warnings for unused argumentsv8.1.2064Bram Moolenaar2019-09-211-1/+1
| | | | | Problem: MS-Windows: compiler warnings for unused arguments. Solution: Add UNUSED. (Yegappan Lakshmanan, closes #4963)
* patch 8.1.2062: the mouse code is spread outv8.1.2062Bram Moolenaar2019-09-211-791/+0
| | | | | | Problem: The mouse code is spread out. Solution: Move all the mouse code to mouse.c. (Yegappan Lakshmanan, closes #4959)
* patch 8.1.2006: build failure with huge features but without channel featurev8.1.2006Bram Moolenaar2019-09-071-0/+2
| | | | | Problem: Build failure with huge features but without channel feature. Solution: Add #ifdef. (Dominique Pelle, closes #4906)
* patch 8.1.1971: manually enabling features causes build errorsv8.1.1971Bram Moolenaar2019-09-031-4/+4
| | | | | Problem: Manually enabling features causes build errors. (John Marriott) Solution: Adjust #ifdefs.
* patch 8.1.1920: cannot always close a popup when filter consumes all eventsv8.1.1920Bram Moolenaar2019-08-241-5/+3
| | | | | | 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)
* patch 8.1.1916: trying to allocate negative amount of memory closing popupv8.1.1916Bram Moolenaar2019-08-241-1/+6
| | | | | | 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.
* patch 8.1.1891: functions used in one file are globalv8.1.1891Bram Moolenaar2019-08-201-3/+9
| | | | | Problem: Functions used in one file are global. Solution: Add "static". (Yegappan Lakshmanan, closes #4840)
* patch 8.1.1874: modeless selection in popup window overlaps scrollbarv8.1.1874Bram Moolenaar2019-08-171-1/+2
| | | | | Problem: Modeless selection in popup window overlaps scrollbar. Solution: Subtract scrollbar from max_col. (closes #4773)
* patch 8.1.1871: modeless selection in GUI still not correctv8.1.1871Bram Moolenaar2019-08-171-13/+14
| | | | | Problem: Modeless selection in GUI still not correct. Solution: Fix max_col.
* patch 8.1.1866: modeless selection in GUI does not work properlyv8.1.1866Bram Moolenaar2019-08-161-4/+4
| | | | | Problem: Modeless selection in GUI does not work properly. Solution: Avoid going beyond the end of the line. (closes #4783)
* patch 8.1.1851: crash when sound_playfile() callback plays soundv8.1.1851Bram Moolenaar2019-08-151-5/+15
| | | | | Problem: Crash when sound_playfile() callback plays sound. Solution: Invoke callback later from event loop.
* patch 8.1.1787: cannot resize a popup windowv8.1.1787Bram Moolenaar2019-08-011-2/+3
| | | | | Problem: Cannot resize a popup window. Solution: Allow for resizing by dragging the lower right corncer.
* patch 8.1.1786: double click in popup scrollbar starts selectionv8.1.1786Bram Moolenaar2019-08-011-23/+27
| | | | | Problem: Double click in popup scrollbar starts selection. Solution: Ignore the double click.
* patch 8.1.1751: when redrawing popups plines_win() may be called oftenv8.1.1751Bram Moolenaar2019-07-261-16/+30
| | | | | Problem: When redrawing popups plines_win() may be called often. Solution: Pass a cache to mouse_comp_pos().
* patch 8.1.1612: cannot show an existing buffer in a popup windowv8.1.1612Bram Moolenaar2019-06-301-2/+2
| | | | | Problem: Cannot show an existing buffer in a popup window. Solution: Support buffer number argument in popup_create().
* patch 8.1.1609: the user cannot easily close a popup windowv8.1.1609Bram Moolenaar2019-06-301-2/+23
| | | | | | Problem: The user cannot easily close a popup window. Solution: Add the "close" property. (mostly by Masato Nishihata, closes #4601)
* patch 8.1.1608: the evalfunc.c file is too bigv8.1.1607Bram Moolenaar2019-06-291-2/+5
| | | | | Problem: The evalfunc.c file is too big. Solution: Move sign functionality to sign.c.