Bram Moolenaar
097148e849
patch 8.2.1422: the Mac GUI implementation is outdated
...
Problem: The Mac GUI implementation is outdated and probably doesn't even
work.
Solution: Remove the Mac GUI code. The MacVim project provides the
supported Vim GUI version.
2020-08-11 21:58:20 +02:00
Bram Moolenaar
054f14bbe5
patch 8.2.1269: language and locale code spread out
...
Problem: Language and locale code spread out.
Solution: Move relevant code to src/locale.c. (Yegappan Lakshmanan,
closes #6509 )
2020-07-22 19:11:19 +02:00
Bram Moolenaar
0c0eddd3dd
patch 8.2.0970: terminal properties are not available in Vim script
...
Problem: Terminal properties are not available in Vim script.
Solution: Add the terminalprops() function.
2020-06-13 15:47:25 +02:00
Bram Moolenaar
a45551a535
patch 8.2.0936: some terminals misinterpret the code for getting cursor style
...
Problem: Some terminals misinterpret the code for getting cursor style.
Solution: Send a sequence to the terminal and check the result. (IWAMOTO
Kouichi, closes #2126 ) Merged with current code.
2020-06-09 15:57:37 +02:00
Bram Moolenaar
439c036ed0
patch 8.2.0913: code for resetting v:register is duplicated
...
Problem: Code for resetting v:register is duplicated.
Solution: Add reset_reg_var().
2020-06-06 15:58:03 +02:00
Bram Moolenaar
129d6bf6b3
patch 8.2.0769: VimLeavePre not triggered when Vim is terminated
...
Problem: VimLeavePre not triggered when Vim is terminated.
Solution: Unblock autocommands.
2020-05-16 16:08:35 +02:00
Bram Moolenaar
9e6ba8cbef
patch 8.2.0744: the name vim is not capatilized in a message
...
Problem: The name vim is not capatilized in a message.
Solution: Use "Vim" instead of "vim".
2020-05-12 22:21:26 +02:00
Bram Moolenaar
86181df9f5
patch 8.2.0740: minor message mistakes
...
Problem: Minor message mistakes.
Solution: Change vim to Vim and other fixes.
2020-05-11 23:14:04 +02:00
Bram Moolenaar
a80faa8930
patch 8.2.0559: clearing a struct is verbose
...
Problem: Clearing a struct is verbose.
Solution: Define and use CLEAR_FIELD() and CLEAR_POINTER().
2020-04-12 19:37:17 +02:00
Bram Moolenaar
f87a0400fd
patch 8.2.0516: client-server code is spread out
...
Problem: Client-server code is spread out.
Solution: Move client-server code to a new file. (Yegappan Lakshmanan,
closes #5885 )
2020-04-05 20:21:03 +02:00
Bram Moolenaar
cde0ff39da
patch 8.2.0509: various code is not properly tested.
...
Problem: various code is not properly tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes #5871 )
2020-04-04 14:00:39 +02:00
Bram Moolenaar
0a8fed6231
patch 8.2.0256: time and timer related code is spread out
...
Problem: Time and timer related code is spread out.
Solution: Move time and timer related code to a new file. (Yegappan
Lakshmanan, closes #5604 )
2020-02-14 13:22:17 +01:00
Bram Moolenaar
e7ddf4e337
patch 8.2.0202: when 'lazyredraw' is set the window title may not be updated
...
Problem: When 'lazyredraw' is set the window title may not be updated.
Solution: Set "do_redraw" before entering the main loop. (Jason Franklin)
2020-02-03 21:29:30 +01:00
Bram Moolenaar
8a7d6542b3
patch 8.2.0149: maintaining a Vim9 branch separately is more work
...
Problem: Maintaining a Vim9 branch separately is more work.
Solution: Merge the Vim9 script changes.
2020-01-26 15:56:19 +01:00
Bram Moolenaar
e31ee86859
patch 8.2.0098: exe stack length can be wrong without being detected
...
Problem: Exe stack length can be wrong without being detected.
Solution: Add a check when ABORT_ON_INTERNAL_ERROR is defined.
2020-01-07 20:59:34 +01:00
Bram Moolenaar
1a47ae32cd
patch 8.2.0056: execution stack is incomplete and inefficient
...
Problem: Execution stack is incomplete and inefficient.
Solution: Introduce a proper execution stack and use it instead of
sourcing_name/sourcing_lnum. Create a string only when used.
2019-12-29 23:04:25 +01:00
Bram Moolenaar
53989554a4
patch 8.2.0035: saving and restoring called_emsg is clumsy
...
Problem: Saving and restoring called_emsg is clumsy.
Solution: Count the number of error messages.
2019-12-23 22:59:18 +01:00
Bram Moolenaar
9810cfbe55
patch 8.1.2422: "make depend" does not work correctly for libvterm
...
Problem: "make depend" does not work correctly for libvterm.
Solution: Fix build dependencies. And a few minor improvements.
2019-12-11 21:23:00 +01:00
Bram Moolenaar
4ba37b5833
patch 8.1.2388: using old C style comments
...
Problem: Using old C style comments.
Solution: Use // comments where appropriate.
2019-12-04 21:57:43 +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
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
69bf634858
patch 8.1.2233: cannot get the Vim command line arguments
...
Problem: Cannot get the Vim command line arguments.
Solution: Add v:argv. (Dmitri Vereshchagin, closes #1322 )
2019-10-29 04:16:57 +01:00
Bram Moolenaar
11a58af66f
patch 8.1.2214: too much is redrawn when 'cursorline' is set
...
Problem: Too much is redrawn when 'cursorline' is set.
Solution: Don't do a complete redraw. (closes #5079 )
2019-10-24 22:32:31 +02:00
Bram Moolenaar
459fd785e4
patch 8.1.2145: cannot map <C-H> when modifyOtherKeys is enabled
...
Problem: Cannot map <C-H> when modifyOtherKeys is enabled.
Solution: Add the <C-H> mapping twice, both with modifier and as 0x08. Use
only the first one when modifyOtherKeys has been detected.
2019-10-13 16:43:39 +02:00
Bram Moolenaar
101e99207f
patch 8.1.2075: get many log messages when waiting for a typed character
...
Problem: Get many log messages when waiting for a typed character.
Solution: Do not repeat the repeated messages when nothing happens.
2019-09-25 21:43:11 +02: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
d103ee7843
patch 8.1.2053: SafeStateAgain not triggered if callback uses feedkeys()
...
Problem: SafeStateAgain not triggered if callback uses feedkeys().
Solution: Check for safe state in the input loop. Make log messages easier
to find. Add 'S' flag to state().
2019-09-18 21:15:31 +02:00
Bram Moolenaar
397c6a1438
patch 8.1.2049: cannot build tiny version
...
Problem: Cannot build tiny version.
Solution: Add #ifdefs.
2019-09-17 20:54:31 +02:00
Bram Moolenaar
37d1807a80
patch 8.1.2048: not clear why SafeState and SafeStateAgain are not triggered
...
Problem: Not clear why SafeState and SafeStateAgain are not triggered.
Solution: Add log statements.
2019-09-17 20:28:38 +02:00
Bram Moolenaar
0e57dd859e
patch 8.1.2047: cannot check the current state
...
Problem: Cannot check the current state.
Solution: Add the state() function.
2019-09-16 22:56:03 +02:00
Bram Moolenaar
69198cb8c0
patch 8.1.2046: SafeState may be triggered at the wrong moment
...
Problem: SafeState may be triggered at the wrong moment.
Solution: Move it up higher to after where messages are processed. Add a
SafeStateAgain event to tigger there.
2019-09-16 21:58:13 +02:00
Bram Moolenaar
8aeec40207
patch 8.1.2044: no easy way to process postponed work
...
Problem: No easy way to process postponed work. (Paul Jolly)
Solution: Add the SafeState autocommand event.
2019-09-15 23:02:04 +02:00
Bram Moolenaar
017ba07fa2
patch 8.1.2029: cannot control 'cursorline' highlighting well
...
Problem: Cannot control 'cursorline' highlighting well.
Solution: Add "screenline". (Christian Brabandt, closes #4933 )
2019-09-14 21:01:23 +02:00
Bram Moolenaar
e5fbd73930
patch 8.1.2018: using freed memory when out of memory and displaying message
...
Problem: Using freed memory when out of memory and displaying message.
Solution: Make a copy of the message first.
2019-09-09 20:04:13 +02:00
Bram Moolenaar
c7226684c8
patch 8.1.1872: when Vim exits because of a signal, VimLeave is not triggered
...
Problem: When Vim exits because of a signal, VimLeave is not triggered.
(Daniel Hahler)
Solution: Unblock autocommands when triggering VimLeave. (closes #4818 )
2019-08-17 16:33:23 +02:00
Bram Moolenaar
3397f74ac2
patch 8.1.1453: popup window "moved" property not implemented yet
...
Problem: Popup window "moved" property not implemented yet.
Solution: Implement it.
2019-06-02 18:40:06 +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
984f031fb0
patch 8.1.1375: without "TS" in 'shortmess' get a hit-enter prompt often
...
Problem: Without "TS" in 'shortmess' get a hit-enter prompt often.
Solution: Always truncate the search message. Also avoid putting it in the
message history. (closes #4413 )
2019-05-24 13:11:47 +02:00
Bram Moolenaar
99499b1c05
patch 8.1.1371: cannot recover from a swap file
...
Problem: Cannot recover from a swap file.
Solution: Do not expand environment variables in the swap file name.
Do not check the extension when we already know a file is a swap
file. (Ken Takata, closes 4415, closes #4369 )
2019-05-23 21:35:48 +02:00
Bram Moolenaar
eae1b91fea
patch 8.1.1306: Borland support is outdated and doesn't work
...
Problem: Borland support is outdated and doesn't work.
Solution: Remove Borland support, there are other (free) compilers
available. (Thomas Dziedzic, Ken Takata, closes #4364 )
2019-05-09 15:12:55 +02:00
Bram Moolenaar
0b75f7c97c
patch 8.1.1301: when compiled with VIMDLL some messages are not shown
...
Problem: When compiled with VIMDLL some messages are not shown.
Solution: Set/reset gui.in_use and gui.starting as needed. (Ken Takata,
closes #4361 )
2019-05-08 22:28:46 +02:00
Bram Moolenaar
9404a18ad9
patch 8.1.1258: the "N files to edit" message can not be surpressed
...
Problem: The "N files to edit" message can not be surpressed.
Solution: Surpress the message with --not-a-term. (closes #4320 )
2019-05-03 22:25:40 +02:00
Bram Moolenaar
67cf86bfff
patch 8.1.1231: asking about existing swap file unnecessarily
...
Problem: Asking about existing swap file unnecessarily.
Solution: When it is safe, delete the swap file. Remove
HAS_SWAP_EXISTS_ACTION, it is always defined. (closes #1237 )
2019-04-28 22:25:38 +02:00
Bram Moolenaar
afde13b62b
patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
...
Problem: A lot of code is shared between vim.exe and gvim.exe.
Solution: Optionally put the shared code in vim.dll. (Ken Takata,
closes #4287 )
2019-04-28 19:46:49 +02:00
Bram Moolenaar
c75e812623
patch 8.1.1197: when starting with multiple tabs file messages is confusing
...
Problem: When starting with multiple tabs file messages is confusing.
Solution: Set 'shortmess' when loading the other tabs. (Christian Brabandt)
2019-04-21 15:55:10 +02:00
Bram Moolenaar
558ca4ae55
patch 8.1.1116: cannot enforce a Vim script style
...
Problem: Cannot enforce a Vim script style.
Solution: Add the :scriptversion command. (closes #3857 )
2019-04-04 18:15:38 +02:00
Bram Moolenaar
796cc42d3a
patch 8.1.1104: MS-Windows: not all environment variables can be used
...
Problem: MS-Windows: not all environment variables can be used.
Solution: Use the wide version of WinMain() and main(). (Ken Takata,
closes #4206 )
2019-04-03 20:31:00 +02:00
Bram Moolenaar
89828e9fe6
patch 8.1.1066: VIMDLL isn't actually used
...
Problem: VIMDLL isn't actually used.
Solution: Remove VIMDLL support.
2019-03-28 22:43:16 +01:00
Bram Moolenaar
4f97475d32
patch 8.1.0941: macros for MS-Windows are inconsistent
...
Problem: Macros for MS-Windows are inconsistent, using "32", "3264 and
others.
Solution: Use MSWIN for all MS-Windows builds. Use FEAT_GUI_MSWIN for the
GUI build. (Hirohito Higashi, closes #3932 )
2019-02-17 17:44:42 +01:00