Bram Moolenaar
de2396fc87
patch 8.2.1239: "maxwidth" in 'completepopup' not obeyed
...
Problem: "maxwidth" in 'completepopup' not obeyed. (Jay Sitter)
Solution: Add separate field for value from option. (closes #6470 )
2020-07-18 21:40:41 +02:00
Bram Moolenaar
49fe0d6b28
patch 8.2.1208: build failure
...
Problem: Build failure.
Solution: Add missing change.
2020-07-14 15:47:23 +02:00
Bram Moolenaar
985116ae0b
patch 8.2.1191: Vim9: crash when function calls itself
...
Problem: Vim9: crash when function calls itself.
Solution: Add status UF_COMPILING. (closes #6441 )
2020-07-12 17:31:09 +02:00
Bram Moolenaar
8e2730a315
patch 8.2.1161: Vim9: using freed memory
...
Problem: Vim9: using freed memory.
Solution: Put pointer back in evalarg instead of freeing it.
2020-07-08 22:01:49 +02:00
Bram Moolenaar
7a4b8980ea
patch 8.2.1155: Vim9: cannot handle line break inside lambda
...
Problem: Vim9: cannot handle line break inside lambda.
Solution: Pass the compilation context through. (closes #6407 , closes #6409 )
2020-07-08 17:36:21 +02:00
Bram Moolenaar
c620c055ce
patch 8.2.1154: Vim9: crash when using imported function
...
Problem: Vim9: crash when using imported function.
Solution: Check for a function type. Set the script context when calling a
function. (closes #6412 )
2020-07-08 15:16:19 +02:00
Bram Moolenaar
b7a78f7a67
patch 8.2.1080: Vim9: no line break allowed in a for loop
...
Problem: Vim9: no line break allowed in a for loop.
Solution: Skip line breaks in for command.
2020-06-28 18:43:40 +02:00
Bram Moolenaar
d5053d015a
patch 8.2.1079: Vim9: no line break allowed in a while loop
...
Problem: Vim9: no line break allowed in a while loop.
Solution: Update stored loop lines when finding line breaks.
2020-06-28 15:51:16 +02:00
Bram Moolenaar
e40fbc2ca9
patch 8.2.1071: Vim9: no line break allowed inside a lambda
...
Problem: Vim9: no line break allowed inside a lambda.
Solution: Handle line break inside a lambda in Vim9 script.
2020-06-27 18:06:45 +02:00
Bram Moolenaar
801ab06934
patch 8.2.1054: not so easy to pass a lua function to Vim
...
Problem: Not so easy to pass a lua function to Vim.
Solution: Convert a Lua function and closure to a Vim funcref. (Prabir
Shrestha, closes #6246 )
2020-06-25 19:27:56 +02:00
Bram Moolenaar
b171fb1790
patch 8.2.1049: Vim9: leaking memory when using continuation line
...
Problem: Vim9: leaking memory when using continuation line.
Solution: Keep a pointer to the continuation line in evalarg_T. Centralize
checking for a next command.
2020-06-24 20:34:03 +02:00
Bram Moolenaar
9d40c63c7d
patch 8.2.1048: build failure without the eval feature
...
Problem: Build failure without the eval feature.
Solution: Add dummy typedef.
2020-06-24 19:05:29 +02:00
Bram Moolenaar
5409f5d8c9
patch 8.2.1047: Vim9: script cannot use line continuation like :def function
...
Problem: Vim9: script cannot use line continuation like in a :def function.
Solution: Pass the getline function pointer to the eval() functions. Use it
for addition and multiplication operators.
2020-06-24 18:37:35 +02:00
Bram Moolenaar
6797966dfc
patch 8.2.1024: Vim9: no error for using "let g:var = val"
...
Problem: Vim9: no error for using "let g:var = val".
Solution: Add an error.
2020-06-20 22:50:47 +02:00
Bram Moolenaar
0cb5bcf583
patch 8.2.1023: Vim9: redefining a function uses a new index every time
...
Problem: Vim9: redefining a function uses a new index every time.
Solution: When redefining a function clear the contents and re-use the
index.
2020-06-20 18:19:09 +02:00
Bram Moolenaar
215f49c4d7
patch 8.2.0955: build fails
...
Problem: Build fails.
Solution: Add missing struct change.
2020-06-10 22:12:04 +02:00
Bram Moolenaar
a9c0104947
patch 8.2.0918: duplicate code for evaluating expression argument
...
Problem: Duplicate code for evaluating expression argument.
Solution: Merge the code and make the use more flexible.
2020-06-07 14:50:50 +02:00
Bram Moolenaar
adc17a5f9d
patch 8.2.0915: search() cannot skip over matches like searchpair() can
...
Problem: Search() cannot skip over matches like searchpair() can.
Solution: Add an optional "skip" argument. (Christian Brabandt, closes #861 )
2020-06-06 18:37:51 +02:00
Bram Moolenaar
002bc79991
patch 8.2.0909: cannot go back to the previous local directory
...
Problem: Cannot go back to the previous local directory.
Solution: Add "tcd -" and "lcd -". (Yegappan Lakshmanan, closes #4362 )
2020-06-05 22:33:42 +02:00
Bram Moolenaar
e35a52aee7
patch 8.2.0865: syntax foldlevel is taken from the start of the line
...
Problem: Syntax foldlevel is taken from the start of the line.
Solution: Add ":syn foldlevel" to be able to use the minimal foldlevel in
the line. (Brad King, closes #6087 )
2020-05-31 19:48:53 +02:00
Bram Moolenaar
d881b516da
patch 8.2.0864: pragmas are indented all the way to the left
...
Problem: Pragmas are indented all the way to the left.
Solution: Add an option to indent progmas like normal code. (Max Rumpf,
closes #5468 )
2020-05-31 17:49:30 +02:00
Bram Moolenaar
e023e88bed
patch 8.2.0863: cannot set a separate color for underline/undercurl
...
Problem: Cannot set a separate color for underline/undercurl.
Solution: Add the t_AU and t_8u termcap codes. (Timur Celik, closes #6011 )
2020-05-31 16:42:30 +02:00
Bram Moolenaar
a9d4b84d97
patch 8.2.0844: text properties crossing lines not handled correctly
...
Problem: Text properties crossing lines not handled correctly.
Solution: When saving for undo include an extra line when needed and do not
adjust properties when undoing. (Axel Forsman, closes #5875 )
2020-05-30 14:46:52 +02:00
Bram Moolenaar
25e0f5863e
patch 8.2.0823: Vim9: script reload test is disabled
...
Problem: Vim9: script reload test is disabled.
Solution: Compile a function in the context of the script where it was
defined. Set execution stack for compiled function. Add a test
that an error is reported for the right file/function.
2020-05-25 22:36:50 +02:00
Bram Moolenaar
822ba24743
patch 8.2.0818: Vim9: using a discovery phase doesn't work well
...
Problem: Vim9: using a discovery phase doesn't work well.
Solution: Remove the discovery phase, instead compile a function only when
it is used. Add :defcompile to compile def functions earlier.
2020-05-24 23:00:18 +02:00
Bram Moolenaar
b68b346e6d
patch 8.2.0703: Vim9: closure cannot store value in outer context
...
Problem: Vim9: closure cannot store value in outer context.
Solution: Make storing value in outer context work. Make :disassemble
accept a function reference.
2020-05-06 21:06:30 +02:00
Bram Moolenaar
f7779c63d4
patch 8.2.0684: Vim9: memory leak when using lambda
...
Problem: Vim9: memory leak when using lambda.
Solution: Move the funccal context to the partial. Free the function when
exiting.
2020-05-03 15:38:16 +02:00
Bram Moolenaar
bf67ea1af0
patch 8.2.0679: Vim9: incomplete support for closures
...
Problem: Vim9: incomplete support for closures.
Solution: At the end of a function copy arguments and local variables if
they are still used by a referenced closure.
2020-05-02 17:52:42 +02:00
Bram Moolenaar
c8cd2b34d1
patch 8.2.0677: Vim9: no support for closures
...
Problem: Vim9: no support for closures.
Solution: Find variables in the outer function scope, so long as the scope
exists.
2020-05-01 19:29:08 +02:00
Bram Moolenaar
1378fbc459
patch 8.2.0543: Vim9: function with varargs does not work properly
...
Problem: Vim9: function with varargs does not work properly.
Solution: Improve function type spec and add tests. Fix bugs.
2020-04-11 20:50:33 +02:00
Bram Moolenaar
a65c288134
patch 8.2.0530: test crashes on s390
...
Problem: Test crashes on s390. (James McCoy)
Solution: Explicitly define an 8 big signed type. (closes #5897 )
2020-04-08 11:31:48 +02:00
Bram Moolenaar
4c68375057
patch 8.2.0517: Vim9: cannot separate "func" and "func(): void"
...
Problem: Vim9: cannot separate "func" and "func(): void".
Solution: Use VAR_ANY for "any" and VAR_UNKNOWN for "no type".
2020-04-05 21:38:23 +02:00
Bram Moolenaar
5deeb3f1f9
patch 8.2.0512: Vim9: no optional arguments in func type
...
Problem: Vim9: no optional arguments in func type.
Solution: Check for question mark after type. Find function reference
without function().
2020-04-05 17:08:17 +02:00
Bram Moolenaar
d77a8525d5
patch 8.2.0508: Vim9: func and partial types not done yet
...
Problem: Vim9: func and partial types not done yet
Solution: Fill in details about func declaration, drop a separate partial
declaration.
2020-04-03 21:59:57 +02:00
Bram Moolenaar
83d4790a04
patch 8.2.0455: cannot set the highlight group for a specific terminal
...
Problem: Cannot set the highlight group for a specific terminal.
Solution: Add the "highlight" option to term_start(). (closes #5818 )
2020-03-26 20:34:00 +01:00
Bram Moolenaar
20431c9dbb
patch 8.2.0419: various memory leaks in Vim9 script code
...
Problem: Various memory leaks in Vim9 script code.
Solution: Fix the leaks. (Ozaki Kiichi, closes #5814 )
2020-03-20 18:39:46 +01:00
Bram Moolenaar
b3f740695a
patch 8.2.0320: no Haiku support
...
Problem: No Haiku support.
Solution: Add support for Haiku. (Emir Sari, closes #5605 )
2020-02-26 16:16:53 +01:00
Bram Moolenaar
c593bec412
patch 8.2.0315: build failure on HP-UX system
...
Problem: Build failure on HP-UX system.
Solution: Use LONG_LONG_MIN instead of LLONG_MIN. Add type casts for switch
statement. (John Marriott)
2020-02-25 21:26:49 +01:00
Bram Moolenaar
b81f56fb57
patch 8.2.0309: window-local values have confusing name
...
Problem: Window-local values have confusing name.
Solution: Rename w_p_bri* to w_briopt_*.
2020-02-23 15:29:46 +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
82f654e092
patch 8.2.0271: the "num64" feature is available everywhere
...
Problem: The "num64" feature is available everywhere and building without
it causes problems.
Solution: Graduage the "num64" feature. (James McCoy, closes #5650 )
2020-02-17 22:12:50 +01:00
Bram Moolenaar
170fcfcf25
patch 8.2.0222: Vim9: optional function arguments don't work yet
...
Problem: Vim9: optional function arguments don't work yet.
Solution: Implement optional function arguments.
2020-02-06 17:51:35 +01:00
Bram Moolenaar
21109272f5
patch 8.2.0181: problems parsing :term arguments
...
Problem: Problems parsing :term arguments.
Solution: Improve parsing, fix memory leak, add tests. (Ozaki Kiichi,
closes #5536 )
2020-01-30 16:27:20 +01:00
Bram Moolenaar
0ff6aad393
patch 8.2.0173: build fails with old compiler
...
Problem: Build fails with old compiler.
Solution: Do not use anonymous unions. (John Marriott)
2020-01-29 21:27:21 +01:00
Bram Moolenaar
978d170bdc
patch 8.2.0151: detecting a script was already sourced is unreliable
...
Problem: Detecting a script was already sourced is unreliable.
Solution: Do not use the inode number.
2020-01-26 17:38:12 +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
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
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