Bram Moolenaar
95b2dd0c00
patch 8.2.3768: timer_info() has the wrong repeat value in a timer callback
...
Problem: timer_info() has the wrong repeat value in a timer callback.
Solution: Do not add one to the repeat value when in the callback.
(closes #9294 )
2021-12-09 18:42: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
88c89c7722
patch 8.2.3341: Vim9: function call aborted despite try/catch
...
Problem: Vim9: function call aborted despite try/catch. (Naohiro Ono)
Solution: Ignore error caught by try/catch. (closes #8755 )
2021-08-14 14:01:05 +02:00
Yegappan Lakshmanan
4490ec4e83
patch 8.2.3229: Vim9: runtime and compile time type checks are not the same
...
Problem: Vim9: runtime and compile time type checks are not the same.
Solution: Add more runtime type checks for builtin functions. (Yegappan
Lakshmanan, closes #8646 )
2021-07-27 22:00:44 +02:00
Yegappan Lakshmanan
7973de35ba
patch 8.2.3211: Vim9: argument types are not checked at compile time
...
Problem: Vim9: argument types are not checked at compile time.
Solution: Add several more type checks. Fix type check for matchaddpos().
(Yegappan Lakshmanan, closes #8619 )
2021-07-24 16:16:15 +02:00
Bram Moolenaar
e29a27f6f8
patch 8.2.3190: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move error messages to errors.h and give them a clear name.
2021-07-20 21:07:36 +02:00
Yegappan Lakshmanan
83494b4ac6
patch 8.2.3188: Vim9: argument types are not checked at compile time
...
Problem: Vim9: argument types are not checked at compile time.
Solution: Add several more type checks, also at runtime. (Yegappan
Lakshmanan, closes #8587 )
2021-07-20 17:51:51 +02:00
Yegappan Lakshmanan
1a71d31bf3
patch 8.2.3162: Vim9: argument types are not checked at compile time
...
Problem: Vim9: argument types are not checked at compile time.
Solution: Add more type checks. (Yegappan Lakshmanan, closes #8560 )
2021-07-15 12:49:58 +02:00
Bram Moolenaar
c816a2c226
patch 8.2.3161: Vim9: no error when reltime() has invalid arguments
...
Problem: Vim9: no error when reltime() has invalid arguments.
Solution: Add an error. (closes #8562 )
2021-07-14 21:00:41 +02:00
K.Takata
eeec254878
patch 8.2.2922: computing array length is done in various ways
...
Problem: Computing array length is done in various ways.
Solution: Use ARRAY_LENGTH everywhere. (Ken Takata, closes #8305 )
2021-06-02 13:28:16 +02:00
K.Takata
2c4a1d0a61
patch 8.2.2894: MS-Windows: using enc_locale() for strftime() might not work
...
Problem: MS-Windows: using enc_locale() for strftime() might not work.
Solution: Use wcsftime(). (Ken Takata, closes #8271 )
2021-05-28 15:49:34 +02:00
Bram Moolenaar
a0f7f73ebb
patch 8.2.2380: Vim9: occasional crash when using try/catch and a timer
...
Problem: Vim9: occasional crash when using try/catch and a timer.
Solution: Save and restore "need_rethrow" when invoking a timer callback.
(closes #7708 )
2021-01-20 22:22:49 +01:00
Bram Moolenaar
22286895fc
patch 8.2.1961: various comments can be improved
...
Problem: Various comments can be improved.
Solution: Various comment adjustments.
2020-11-05 20:50:51 +01:00
Bram Moolenaar
418155def2
patch 8.2.1628: Vim9: cannot pass "true" to timer_paused()
...
Problem: Vim9: cannot pass "true" to timer_paused().
Solution: Use tv_get_bool(). (closes #6891 )
2020-09-06 18:39:38 +02:00
Bram Moolenaar
ea1233fccf
patch 8.2.0949: strptime() does not use DST
...
Problem: Strptime() does not use DST.
Solution: Set the tm_isdst field to -1. (Tomáš Janoušek, closes #6230 )
2020-06-10 16:54:13 +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
00d253e2b2
patch 8.2.0523: loops are repeated
...
Problem: Loops are repeated.
Solution: Use FOR_ALL_ macros. (Yegappan Lakshmanan, closes #5882 )
2020-04-06 22:13:01 +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