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
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
fe72d08400
patch 8.2.0025: repeated word in comment
...
Problem: Repeated word in comment.
Solution: Remove one. (Rene Nyffenegger, closes #5384 )
2019-12-20 19:07:00 +01:00
Bram Moolenaar
ddef129160
patch 8.2.0013: not using a typedef for condstack
...
Problem: Not using a typedef for condstack.
Solution: Add a typedef.
2019-12-16 17:10:33 +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
9bf703d46a
patch 8.1.2366: using old C style comments
...
Problem: Using old C style comments.
Solution: Use // comments where appropriate.
2019-11-30 19:44:38 +01:00
Bram Moolenaar
afe45b68a6
patch 8.1.2300: redraw breaks going through list of popup windows
...
Problem: Redraw breaks going through list of popup windows.
Solution: Use different flags for popup_reset_handled(). (closes #5216 )
2019-11-13 22:35:19 +01:00
Bram Moolenaar
d6beab0248
patch 8.1.2285: padding in structures wastes memory
...
Problem: Padding in structures wastes memory.
Solution: Move fields to avoid padding. (Dominique Pelle, closes #5202 )
2019-11-10 15:07:19 +01:00
Bram Moolenaar
ee85702c10
patch 8.1.2281: 'showbreak' cannot be set for one window
...
Problem: 'showbreak' cannot be set for one window.
Solution: Make 'showbreak' global-local.
2019-11-09 23:26:40 +01:00
Bram Moolenaar
b0745b221d
patch 8.1.2280: crash when passing partial to substitute()
...
Problem: Crash when passing partial to substitute().
Solution: Take extra arguments into account. (closes #5186 )
2019-11-09 22:28:11 +01:00
Bram Moolenaar
4dd8fe0b4f
patch 8.1.2273: wrong default when "pos" is changed with popup_atcursor()
...
Problem: Wrong default when "pos" is changed with popup_atcursor().
Solution: Adjust the default line and col when "pos" is not the default
value. (#5151 )
2019-11-09 15:33:31 +01:00
Bram Moolenaar
32aa10203b
patch 8.1.2243: typos in comments
...
Problem: Typos in comments.
Solution: Fix the typos. (Dominique Pelle, closes #5160 ) Also adjust
formatting a bit.
2019-11-02 22:54:41 +01:00