Bram Moolenaar
6c87bbb4e4
patch 9.0.1044: setting window height using Python may cause errors
...
Problem: Setting window height using Python may cause errors.
Solution: When setting "curwin" also set "curbuf". (closes #11687 )
2022-12-10 11:17:11 +00:00
Bram Moolenaar
00b28d6c23
patch 9.0.1031: Vim9 class is not implemented yet
...
Problem: Vim9 class is not implemented yet.
Solution: Add very basic class support.
2022-12-08 15:32:33 +00:00
Bram Moolenaar
3719989431
patch 9.0.0970: Coverity warns for uninitialized variable
...
Problem: Coverity warns for uninitialized variable.
Solution: Initialize "ren_ret".
2022-11-29 13:46:48 +00:00
Bram Moolenaar
e76062c078
patch 9.0.0965: using one window for executing autocommands is insufficient
...
Problem: Using one window for executing autocommands is insufficient.
Solution: Use up to five windows for executing autocommands.
2022-11-28 18:51:43 +00:00
Bram Moolenaar
ef2c325f5e
patch 9.0.0949: crash when unletting a variable while listing variables
...
Problem: Crash when unletting a variable while listing variables.
Solution: Disallow changing a hashtable while going over the entries.
(closes #11435 )
2022-11-25 16:31:51 +00:00
Bram Moolenaar
73e28dcc61
patch 9.0.0491: no good reason to build without the float feature
...
Problem: No good reason to build without the float feature.
Solution: Remove configure check for float and "#ifdef FEAT_FLOAT".
2022-09-17 21:08:33 +01:00
Bram Moolenaar
a4d158b3c8
patch 9.0.0206: redraw flags are not named specifically
...
Problem: Redraw flags are not named specifically.
Solution: Prefix "UPD_" to the flags, for UPDate_screen().
2022-08-14 14:17:45 +01:00
Bram Moolenaar
37233f6022
patch 8.2.4997: Python: changing hidden buffer can cause display mess up
...
Problem: Python: changing hidden buffer can cause the display to be messed
up.
Solution: Do not mark changed lines when using another buffer. (Paul Ollis,
closes #10437 , closes #7972 )
2022-05-22 12:23:48 +01:00
Bram Moolenaar
9f1983de4e
patch 8.2.4945: inconsistent use of white space
...
Problem: Inconsistent use of white space.
Solution: Use Tabs and Spaces consistently.
2022-05-12 20:35:35 +01:00
kylo252
9dac9b1751
patch 8.2.4639: not sufficient parenthesis in preprocessor macros
...
Problem: Not sufficient parenthesis in preprocessor macros.
Solution: Add more parenthesis. (closes #10031 )
2022-03-27 20:05:17 +01:00
Dominique Pelle
c14f667626
patch 8.2.4048: gcc complains about use of "%p" in printf
...
Problem: gcc complains about use of "%p" in printf.
Solution: Add (void *) typecast. (Dominique Pellé, closes #9494 )
2022-01-09 12:57:48 +00:00
Bram Moolenaar
04935fb17e
patch 8.2.4043: using int for second argument of ga_init2()
...
Problem: Using int for second argument of ga_init2().
Solution: Remove unnessary type cast (int) when using sizeof().
2022-01-08 16:19:22 +00:00
Bram Moolenaar
18f4740f04
patch 8.2.4018: ml_get error when win_execute redraws with Visual selection
...
Problem: ml_get error when win_execute redraws with Visual selection.
Solution: Disable Visual area temporarily. (closes #9479 )
2022-01-06 13:24:51 +00:00
Bram Moolenaar
d82a47dd04
patch 8.2.4012: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move the last error messages to errors.h.
2022-01-05 20:24:39 +00:00
Bram Moolenaar
9d00e4a814
patch 8.2.4010: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
2022-01-05 17:49:15 +00:00
Bram Moolenaar
9a846fbaa5
patch 8.2.3977: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
2022-01-01 21:59:18 +00:00
Bram Moolenaar
7a3fe3e180
patch 8.2.3200: Vim9: hard to guess where a type error is given
...
Problem: Vim9: hard to guess where a type error is given.
Solution: Add the function name where possible. (closes #8608 )
2021-07-22 14:58:47 +02:00
Bram Moolenaar
f18332fb9e
patch 8.2.2842: Vim9: skip argument to searchpair() is not compiled
...
Problem: Vim9: skip argument to searchpair() is not compiled.
Solution: Add VAR_INSTR.
2021-05-07 17:55:55 +02:00
Bram Moolenaar
21578271bb
patch 8.2.2538: crash when using Python list iterator
...
Problem: Crash when using Python list iterator.
Solution: Increment the list reference count. (closes #7886 )
2021-02-21 19:12:47 +01:00
Bram Moolenaar
2e2f52a4a0
patch 8.2.2178: Python 3: non-utf8 character cannot be handled
...
Problem: Python 3: non-utf8 character cannot be handled.
Solution: Change the string decode. (Björn Linse, closes #1053 )
2020-12-21 16:03:02 +01:00
Bram Moolenaar
4ce5fe4c87
patch 8.2.1883: compiler warnings when using Python
...
Problem: Compiler warnings when using Python.
Solution: Adjust PyCFunction to also have the second argument. Use "int"
return type for some functions. Insert "(void *)" to get rid of
the remaining warnings.
2020-10-21 21:01:59 +02:00
Bram Moolenaar
efc0d94afc
patch 8.2.1834: PyEval_InitThreads() is deprecated in Python 3.9
...
Problem: PyEval_InitThreads() is deprecated in Python 3.9.
Solution: Do not call PyEval_InitThreads in Python 3.9 and later. (Ken
Takata, closes #7113 ) Avoid warnings for functions.
2020-10-11 18:05:02 +02:00
Bram Moolenaar
423a85a11a
patch 8.2.1538: Python: iteration over vim objects fails to keep reference
...
Problem: Python: iteration over vim objects fails to keep reference.
Solution: Keep a reference for the object. (Paul Ollis, closes #6803 ,
closes #6806 )
2020-08-29 12:57:16 +02:00
Bram Moolenaar
1f22cc5cdb
patch 8.2.1210: using ht_used when looping through a hashtab is less reliable
...
Problem: Using ht_used when looping through a hashtab is less reliable.
Solution: Use ht_changed in a few more places.
2020-07-14 21:08:49 +02:00
Bram Moolenaar
bb790dcc46
patch 8.2.1150: ml_get error when using Python
...
Problem: ml_get error when using Python. (Yegappan Lakshmanan)
Solution: Check the line number is not out of range. Call "Check" with
"fromObj" instead of "from".
2020-07-07 20:12:54 +02:00
Bram Moolenaar
ab58946384
patch 8.2.1146: not enough testing for Python
...
Problem: Not enough testing for Python.
Solution: Add more tests. Fix uncovered problems. (Yegappan Lakshmanan,
closes #6392 )
2020-07-06 21:03:06 +02:00
Bram Moolenaar
de19b745ee
patch 8.2.1093: Python: double free when adding item to dict fails
...
Problem: Python: double free when adding item to dict fails.
Solution: Remove vim_free() call.
2020-06-29 23:07:44 +02:00
Bram Moolenaar
ca70c07b72
patch 8.2.0853: ml_delete() often called with FALSE argument
...
Problem: ml_delete() often called with FALSE argument.
Solution: Use ml_delete_flags(x, ML_DEL_MESSAGE) when argument is TRUE.
2020-05-30 20:30:46 +02:00
Bram Moolenaar
7e9f351b2e
patch 8.2.0751: Vim9: performance can be improved
...
Problem: Vim9: performance can be improved.
Solution: Don't call break. Inline check for list materialize. Make an
inline version of ga_grow().
2020-05-13 22:44:22 +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
a14bb7e113
patch 8.2.0654: building with Python fails
...
Problem: Building with Python fails.
Solution: Add missing argument.
2020-04-28 00:02:41 +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
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
aeea72151c
patch 8.2.0500: using the same loop in many places
...
Problem: Using the same loop in many places.
Solution: Define more FOR_ALL macros. (Yegappan Lakshmanan, closes #5339 )
2020-04-02 18:50:46 +02: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
a5d5953d59
patch 8.2.0155: warnings from MinGW compiler; tests fail without +float
...
Problem: Warnings from MinGW compiler. (John Marriott) Json test fails when
building without +float feature.
Solution: Init variables. Fix Json parsing. Skip a few tests that require
the +float feature.
2020-01-26 21:42:03 +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
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
d518f952f0
patch 8.2.0070: crash when using Python 3 with "debug" encoding
...
Problem: Crash when using Python 3 with "debug" encoding. (Dominique Pelle)
Solution: Use "euc-jp" whenever enc_dbcs is set.
2020-01-01 15:04:17 +01:00
Bram Moolenaar
556684ff71
patch 8.2.0068: crash when using Python 3 with "utf32" encoding
...
Problem: Crash when using Python 3 with "utf32" encoding. (Dominique Pelle)
Solution: Use "utf-8" whenever enc_utf8 is set. (closes #5423 )
2019-12-31 21:59:01 +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
b98678a974
patch 8.1.2179: pressing "q" at the more prompt doesn't stop Python output
...
Problem: Pressing "q" at the more prompt doesn't stop Python output. (Daniel
Hahler)
Solution: Check for got_int in writer(). (closes #5053 )
Also do this for Lua.
2019-10-19 15:18:44 +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
7be3ab2589
patch 8.1.1583: set_ref_in_list() only sets ref in items
...
Problem: Set_ref_in_list() only sets ref in items.
Solution: Rename to set_ref_in_list_items() to avoid confusion.
2019-06-23 01:46:15 +02:00
Bram Moolenaar
c799fe206e
patch 8.1.1414: alloc() returning "char_u *" causes a lot of type casts
...
Problem: Alloc() returning "char_u *" causes a lot of type casts.
Solution: Have it return "void *". (Mike Williams) Define ALLOC_ONE() to
check the simple allocations.
2019-05-28 23:08:19 +02:00
Bram Moolenaar
51e14387f1
patch 8.1.1393: unnecessary type casts
...
Problem: Unnecessary type casts.
Solution: Remove type casts from alloc() and lalloc() calls. (Mike Williams)
2019-05-25 20:21:28 +02:00
Bram Moolenaar
0b0ad35c33
patch 8.1.1361: Python setuptools don't work with Python 3
...
Problem: Python setuptools don't work with Python 3.
Solution: Add dummy implementation for find_module. (Joel Frederico,
closes #4402 , closes #3984
2019-05-20 21:52:45 +02:00
Bram Moolenaar
7f3a28490a
patch 8.1.1346: error for Python exception does not show useful info
...
Problem: Error for Python exception does not show useful info.
Solution: Show the last line instead of the first one. (Ben Jackson,
closes #4381 )
2019-05-18 15:02:25 +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
1063f3d200
patch 8.1.1291: not easy to change directory and restore
...
Problem: Not easy to change directory and restore.
Solution: Add the chdir() function. (Yegappan Lakshmanan, closes #4358 )
2019-05-07 22:06:52 +02:00