Bram Moolenaar
db99f9f29a
patch 8.2.0436: no warnings for incorrect printf arguments
...
Problem: No warnings for incorrect printf arguments.
Solution: Fix attribute in declaration. Fix uncovered mistakes. (Dominique
Pelle, closes #5834 )
2020-03-23 22:12:22 +01:00
Bram Moolenaar
41fe061753
patch 8.2.0341: using ":for" in Vim9 script gives an error
...
Problem: Using ":for" in Vim9 script gives an error.
Solution: Pass the LET_NO_COMMAND flag. (closes #5715 )
2020-03-01 16:22:40 +01:00
Bram Moolenaar
dd58923c6b
patch 8.2.0334: abort called when using test_void()
...
Problem: Abort called when using test_void(). (Dominique Pelle)
Solution: Only give an error, don't abort.
2020-02-29 17:38:12 +01:00
Bram Moolenaar
f9706e9df0
patch 8.2.0296: mixing up "long long" and __int64 may cause problems
...
Problem: Mixing up "long long" and __int64 may cause problems. (John
Marriott)
Solution: Pass varnumber_T to vim_snprintf(). Add v:numbersize.
2020-02-22 14:27:04 +01:00
Bram Moolenaar
50985eb1f0
patch 8.2.0159: non-materialized range() list causes problems
...
Problem: Non-materialized range() list causes problems. (Fujiwara Takuya)
Solution: Materialize the list where needed.
2020-01-27 22:09:39 +01:00
Bram Moolenaar
21b9e9773d
patch 8.2.0154: reallocating the list of scripts is inefficient
...
Problem: Reallocating the list of scripts is inefficient.
Solution: Instead of using a growarray of scriptitem_T, store pointers and
allocate each scriptitem_T separately. Also avoids that the
growarray pointers change when sourcing a new script.
2020-01-26 19:26:46 +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
7ebcba61b2
patch 8.2.0114: info about sourced scripts is scattered
...
Problem: Info about sourced scripts is scattered.
Solution: Use scriptitem_T for info about a script, including s: variables.
Drop ga_scripts.
2020-01-12 17:42:55 +01:00
Bram Moolenaar
9b4a15d5db
patch 8.2.0111: VAR_SPECIAL is also used for booleans
...
Problem: VAR_SPECIAL is also used for booleans.
Solution: Add VAR_BOOL for better type checking.
2020-01-11 16:05:23 +01:00
Bram Moolenaar
b662591e50
patch 8.2.0104: using channel or job with ":execute" has strange effects
...
Problem: Using channel or job with ":execute" has strange effects.
Solution: Give an error message for Job and Channel.
2020-01-08 20:09:01 +01:00
Bram Moolenaar
e2a8f0773e
patch 8.2.0103: using null object with execute() has strange effects
...
Problem: Using null object with execute() has strange effects.
Solution: Give an error message ofr Job and Channel.
2020-01-08 19:32:18 +01:00
Bram Moolenaar
9db2afe46d
patch 8.2.0101: crash when passing null object to ":echomsg"
...
Problem: Crash when passing null object to ":echomsg".
Solution: Check for NULL pointer. (Yasuhiro Matsumoto, closes #5460 )
2020-01-08 18:56:20 +01:00
Bram Moolenaar
0892832bb6
patch 8.2.0084: complete item "user_data" can only be a string
...
Problem: Complete item "user_data" can only be a string.
Solution: Accept any type of variable. (closes #5412 )
2020-01-04 14:32:48 +01:00
Bram Moolenaar
87396072c5
patch 8.2.0069: ETYPE_ is used for two different enums
...
Problem: ETYPE_ is used for two different enums.
Solution: Rename one to use EXPR_.
2019-12-31 22:36:18 +01:00
Bram Moolenaar
3fbcc128cb
patch 8.2.0061: the execute stack can grow big and never shrinks
...
Problem: The execute stack can grow big and never shrinks.
Solution: Reduce the size in gargage collect.
2019-12-30 19:19:53 +01:00
Bram Moolenaar
ec57ec692e
patch 8.2.0045: script test fails
...
Problem: Script test fails.
Solution: For numbers "is" and "isnot" work like "==" and "!=".
2019-12-25 19:33:22 +01:00
Bram Moolenaar
07a3db89b8
patch 8.2.0044: expression type is used inconsistently
...
Problem: Expression type is used inconsistently.
Solution: Add "ETYPE_IS" and "ETYPE_ISNOT" as separate enum values. Rename
"TYPE_" to "ETYPE_" to avoid confusion.
2019-12-25 18:14:14 +01:00
Bram Moolenaar
64e74c9cc7
patch 8.2.0030: "gF" does not work on output of "verbose command"
...
Problem: "gF" does not work on output of "verbose command".
Solution: Recognize " line " and translations. (closes #5391 )
2019-12-22 15:38:06 +01:00
Bram Moolenaar
0ff822d2eb
patch 8.1.2412: crash when evaluating expression with error
...
Problem: Crash when evaluating expression with error. (Dhiraj Mishra)
Solution: Check parsing failed. (closes #5329 )
2019-12-08 18:41:34 +01:00
Bram Moolenaar
5d18efecfd
patch 8.1.2378: using old C style comments
...
Problem: Using old C style comments.
Solution: Use // comments where appropriate.
2019-12-01 21:11:22 +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
8f76e6b12b
patch 8.1.2348: :const cannot be followed by "| endif"
...
Problem: :const cannot be followed by "| endif".
Solution: Check following command for :const. (closes #5269 )
Also fix completion after :const.
2019-11-26 16:50:30 +01: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
1614a14901
patch 8.1.2120: some MB_ macros are more complicated than necessary
...
Problem: Some MB_ macros are more complicated than necessary. (Dominique
Pelle)
Solution: Simplify the macros. Expand inline.
2019-10-06 22:00:13 +02:00
Bram Moolenaar
8617348e21
patch 8.1.2107: various memory leaks reported by asan
...
Problem: Various memory leaks reported by asan.
Solution: Free the memory. (Ozaki Kiichi, closes #5003 )
2019-10-01 17:02:16 +02:00
Bram Moolenaar
60a8de28d1
patch 8.1.2035: recognizing octal numbers is confusing
...
Problem: Recognizing octal numbers is confusing.
Solution: Introduce scriptversion 4: do not use octal and allow for single
quote inside numbers.
2019-09-15 14:33:22 +02:00
Bram Moolenaar
b005cd80cf
patch 8.1.1979: code for handling file names is spread out
...
Problem: Code for handling file names is spread out.
Solution: Move code to new filepath.c file. Graduate FEAT_MODIFY_FNAME.
2019-09-04 15:54:55 +02:00
Bram Moolenaar
1e1d30048e
patch 8.1.1978: the eval.c file is too big
...
Problem: The eval.c file is too big.
Solution: Move filter() and map() to list.c.
2019-09-04 14:41:14 +02:00
Bram Moolenaar
c36350bca3
patch 8.1.1964: crash when using nested map() and filter()
...
Problem: Crash when using nested map() and filter().
Solution: Do not set the v:key type to string without clearing the pointer.
2019-09-02 20:44:07 +02:00
Bram Moolenaar
da6c033421
patch 8.1.1957: more code can be moved to evalvars.c
...
Problem: More code can be moved to evalvars.c.
Solution: Move code to where it fits better. (Yegappan Lakshmanan,
closes #4883 )
2019-09-01 16:01:30 +02:00
Bram Moolenaar
8d71b54409
patch 8.1.1943: more code can be moved to evalvars.c
...
Problem: More code can be moved to evalvars.c.
Solution: Move it, clean up comments. Also move some window related
functions to window.c. (Yegappan Lakshmanan, closes #4874 )
2019-08-30 15:46:30 +02:00
Bram Moolenaar
34ed68d40e
patch 8.1.1940: script tests fail
...
Problem: Script tests fail.
Solution: Don't set vimvars type in set_vim_var_nr().
2019-08-29 22:48:24 +02:00
Bram Moolenaar
e5cdf153bc
patch 8.1.1939: code for handling v: variables in generic eval file
...
Problem: Code for handling v: variables in generic eval file.
Solution: Move v: variables to evalvars.c. (Yegappan Lakshmanan,
closes #4872 )
2019-08-29 22:09:46 +02:00
Bram Moolenaar
0522ba0359
patch 8.1.1933: the eval.c file is too big
...
Problem: The eval.c file is too big.
Solution: Move code related to variables to evalvars.c. (Yegappan
Lakshmanan, closes #4868 )
2019-08-27 22:48:30 +02:00
Bram Moolenaar
37f4cbd46f
patch 8.1.1913: not easy to compute the space on the command line
...
Problem: Not easy to compute the space on the command line.
Solution: Add v:echospace. (Daniel Hahler, closes #4732 )
2019-08-23 20:58:45 +02:00
Bram Moolenaar
1058c9d9b5
patch 8.1.1894: not checking for out-of-memory of autoload_name()
...
Problem: Not checking for out-of-memory of autoload_name().
Solution: Check for NULL. (Dominique Pelle, closes #4846 )
2019-08-20 21:58:00 +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
0a52df50a0
patch 8.1.1887: the +cmdline_compl feature is not in the tiny version
...
Problem: The +cmdline_compl feature is not in the tiny version.
Solution: Graduate the +cmdline_compl feature.
2019-08-18 22:26:31 +02:00
Bram Moolenaar
9cfe8f6e68
patch 8.1.1878: negative float before method not parsed correctly
...
Problem: Negative float before method not parsed correctly.
Solution: Apply "!" and "-" in front of expression before using ->.
2019-08-17 21:04:16 +02:00
Bram Moolenaar
22a0c0c4ec
patch 8.1.1834: cannot use a lambda as a method
...
Problem: Cannot use a lambda as a method.
Solution: Implement ->{lambda}(). (closes #4768 )
2019-08-09 23:25:08 +02:00
Bram Moolenaar
5184132ec0
patch 8.1.1828: not strict enough checking syntax of method invocation
...
Problem: Not strict enough checking syntax of method invocation.
Solution: Check there is no white space inside ->method(.
2019-08-08 21:10:01 +02:00
Bram Moolenaar
761fdf01c6
patch 8.1.1820: using expr->FuncRef() does not work
...
Problem: Using expr->FuncRef() does not work.
Solution: Make FuncRef work as a method.
2019-08-05 23:10:16 +02:00
Bram Moolenaar
fcfe1a9b89
patch 8.1.1816: cannot use a user defined function as a method
...
Problem: Cannot use a user defined function as a method.
Solution: Pass the base as the first argument to the user defined function
after "->". (partly by FUJIWARA Takuya)
2019-08-04 23:04:39 +02:00
Bram Moolenaar
ac92e25a33
patch 8.1.1803: all builtin functions are global
...
Problem: All builtin functions are global.
Solution: Add the method call operator ->. Implemented for a limited number
of functions.
2019-08-03 21:58:38 +02:00
Bram Moolenaar
c6538bcc1c
patch 8.1.1800: function call functions have too many arguments
...
Problem: Function call functions have too many arguments.
Solution: Pass values in a funcexe_T struct.
2019-08-03 18:17:11 +02:00
Bram Moolenaar
8453807911
patch 8.1.1766: code for writing session file is spread out
...
Problem: Code for writing session file is spread out.
Solution: Put it in one file. (Yegappan Lakshmanan, closes #4728 )
2019-07-28 14:15:42 +02:00
Bram Moolenaar
defa067c54
patch 8.1.1727: code for viminfo support is spread out
...
Problem: Code for viminfo support is spread out.
Solution: Move to code to viminfo.c. (Yegappan Lakshmanan, closes #4686 )
2019-07-21 19:25:37 +02:00
Bram Moolenaar
2458200729
patch 8.1.1723: heredoc assignment has no room for new features
...
Problem: Heredoc assignment has no room for new features. (FUJIWARA Takuya)
Solution: Require the marker does not start with a lower case character.
(closes #4705 )
2019-07-21 14:14:26 +02:00
Bram Moolenaar
61343f0c44
patch 8.1.1722: error when scriptversion is 2 a making a dictionary access
...
Problem: Error when scriptversion is 2 a making a dictionary access.
Solution: Parse the subscript even when not evaluating the sub-expression.
(closes #4704 )
2019-07-20 21:11:13 +02:00
Bram Moolenaar
4c6d90458b
patch 8.1.1705: using ~{} for a literal dict is not nice
...
Problem: Using ~{} for a literal dict is not nice.
Solution: Use #{} instead.
2019-07-16 22:04:02 +02:00