Bram Moolenaar
a893194d91
patch 8.1.2095: leaking memory when getting item from dict
...
Problem: Leaking memory when getting item from dict.
Solution: Also free the key when not evaluating.
2019-09-28 17:25:10 +02:00
Bram Moolenaar
8c6173c7d3
patch 8.1.1949: cannot scroll a popup window to the very bottom
...
Problem: Cannot scroll a popup window to the very bottom.
Solution: Scroll to the bottom when the "firstline" property was set to -1.
(closes #4577 ) Allow resetting min/max width/height.
2019-08-30 22:08:34 +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
b59e735772
patch 8.1.1825: allocating more memory than needed for extended structs
...
Problem: Allocating more memory than needed for extended structs.
Solution: Use offsetof() instead of sizeof(). (Dominique Pelle,
closes #4785 )
2019-08-07 21:42:24 +02:00
Bram Moolenaar
9f9fe37f67
patch 8.1.1763: evalfunc.c is still too big
...
Problem: Evalfunc.c is still too big.
Solution: Move dict and list functions to a better place.
2019-07-27 23:12:12 +02:00
Bram Moolenaar
d5abb4c877
patch 8.1.1683: dictionary with string keys is longer than needed
...
Problem: Dictionary with string keys is longer than needed.
Solution: Use *{key: val} for literaly keys.
2019-07-13 22:46:10 +02:00
Bram Moolenaar
adc6714aac
patch 8.1.1579: dict and list could be GC'ed while displaying error
...
Problem: Dict and list could be GC'ed while displaying error in a timer.
(Yasuhiro Matsumoto)
Solution: Block garbage collection when executing a timer. Add
test_garbagecollect_soon(). Add "no_wait_return" to
test_override(). (closes #4571 )
2019-06-22 01:40:42 +02:00
Bram Moolenaar
ae943150d3
patch 8.1.1561: popup_setoptions() is not implemented yet
...
Problem: Popup_setoptions() is not implemented yet.
Solution: Implement popup_setoptions(). Also add more fields to
popup_getoptions().
2019-06-16 22:54:14 +02:00
Bram Moolenaar
b0ebbda06c
patch 8.1.1452: line and col property of popup windows not properly checked
...
Problem: Line and col property of popup windows not properly checked.
Solution: Check for "+" or "-" sign.
2019-06-02 16:51:21 +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
964b3746b9
patch 8.1.1384: using "int" for alloc() often results in compiler warnings
...
Problem: Using "int" for alloc() often results in compiler warnings.
Solution: Use "size_t" and remove type casts. Remove alloc_check(), Vim
only works with 32 bit ints anyway.
2019-05-24 18:54:09 +02:00
Bram Moolenaar
45e18cbdc4
patch 8.1.1228: not possible to process tags with a function
...
Problem: Not possible to process tags with a function.
Solution: Add tagfunc() (Christian Brabandt, Andy Massimino, closes #4010 )
2019-04-28 18:05:35 +02:00
Bram Moolenaar
d7f246c68c
patch 8.1.1138: plugins don't get notified when the popup menu changes
...
Problem: Plugins don't get notified when the popup menu changes.
Solution: Add the CompleteChanged event. (Andy Massimino. closes #4176 )
2019-04-08 18:15:41 +02:00
Bram Moolenaar
05c00c038b
patch 8.1.0897: can modify a:000 when using a reference
...
Problem: Can modify a:000 when using a reference.
Solution: Make check for locked variable stricter. (Ozaki Kiichi,
closes #3930 )
2019-02-11 22:00:11 +01:00
Bram Moolenaar
f9e3e09fdc
patch 8.1.0743: giving error messages is not flexible
...
Problem: Giving error messages is not flexible.
Solution: Add semsg(). Change argument from "char_u *" to "char *", also
for msg() and get rid of most MSG macros. (Ozaki Kiichi, closes
#3302 ) Also make emsg() accept a "char *" argument. Get rid of
an enormous number of type casts.
2019-01-13 23:38:42 +01:00
Bram Moolenaar
e6fdf79980
patch 8.1.0642: swapinfo() leaks memory
...
Problem: swapinfo() leaks memory.
Solution: Avoid allocating the strings twice.
2018-12-26 22:57:42 +01:00
Bram Moolenaar
d155d7a851
patch 8.1.0615: get_tv function names are not consistent
...
Problem: Get_tv function names are not consistent.
Solution: Rename to tv_get.
2018-12-21 16:04:21 +01:00
Bram Moolenaar
8f66717a1f
patch 8.1.0583: using illogical name for get_dict_number()/get_dict_string()
...
Problem: Using illogical name for get_dict_number()/get_dict_string().
Solution: Rename to start with dict_.
2018-12-14 15:38:31 +01:00
Bram Moolenaar
f49cc60aa8
patch 8.1.0519: cannot save and restore the tag stack
...
Problem: Cannot save and restore the tag stack.
Solution: Add gettagstack() and settagstack(). (Yegappan Lakshmanan,
closes #3604 )
2018-11-11 15:21:05 +01:00
Bram Moolenaar
c89d4b3530
patch 8.1.0167: lock flag in new dictitem is reset in many places
...
Problem: Lock flag in new dictitem is reset in many places.
Solution: Always reset the lock flag.
2018-07-08 17:19:02 +02:00
Bram Moolenaar
e0be167a80
patch 8.1.0166: using dict_add_nr_str() is clumsy
...
Problem: Using dict_add_nr_str() is clumsy.
Solution: Split into two functions. (Ozaki Kiichi, closes #3154 )
2018-07-08 16:50:37 +02:00
Bram Moolenaar
7e1652c63c
patch 8.0.1394: cannot intercept a yank command
...
Problem: Cannot intercept a yank command.
Solution: Add the TextYankPost autocommand event. (Philippe Vaucher et al.,
closes #2333 )
2017-12-16 18:27:02 +01:00
Bram Moolenaar
45cf6e910c
patch 8.0.0593: duplication of code for adding a list or dict return value
...
Problem: Duplication of code for adding a list or dict return value.
Solution: Add rettv_dict_set() and rettv_list_set(). (Yegappan Lakshmanan)
2017-04-30 20:25:19 +02:00
Bram Moolenaar
42f45b850d
patch 8.0.0458: potential crash if adding list or dict to dict fails
...
Problem: Potential crash if adding list or dict to dict fails.
Solution: Make sure the reference count is correct. (Nikolai Pavlov, closes
#1555 )
2017-03-14 22:17:14 +01:00
Bram Moolenaar
95c526e1f6
patch 8.0.0365: might free a dict item that wasn't allocated
...
Problem: Might free a dict item that wasn't allocated.
Solution: Call dictitem_free(). (Nikolai Pavlov) Use this for
b:changedtick.
2017-02-25 14:59:34 +01:00
Bram Moolenaar
95f096030e
patch 8.0.0074
...
Problem: Cannot make Vim fail on an internal error.
Solution: Add IEMSG() and IEMSG2(). (Domenique Pelle) Avoid reporting an
internal error without mentioning where.
2016-11-10 20:01:45 +01:00
Bram Moolenaar
edf3f97ae2
patch 7.4.2293
...
Problem: Modelines in source code are inconsistant.
Solution: Use the same line in most files. Add 'noet'. (Naruhiko Nishino)
2016-08-29 22:49:24 +02:00
Bram Moolenaar
b5ae48e9ff
patch 7.4.2204
...
Problem: It is not easy to get information about buffers, windows and
tabpages.
Solution: Add getbufinfo(), getwininfo() and gettabinfo(). (Yegappan
Lakshmanan)
2016-08-12 22:23:25 +02:00
Bram Moolenaar
7dc5e2e486
patch 7.4.2160
...
Problem: setmatches() mixes up values. (Nikolai Pavlov)
Solution: Save the string instead of reusing a shared buffer.
2016-08-05 22:22:06 +02:00
Bram Moolenaar
da861d631d
patch 7.4.2057
...
Problem: eval.c is too big.
Solution: Move List functions to list.c
2016-07-17 15:46:27 +02:00
Bram Moolenaar
cd52459c38
patch 7.4.2055
...
Problem: eval.c is too big.
Solution: Move Dictionary functions to dict.c.
2016-07-17 14:57:05 +02:00