Bram Moolenaar
29b7d7a9aa
patch 8.1.1734: the evalfunc.c file is too big
...
Problem: The evalfunc.c file is too big.
Solution: Move some functions to other files.
2019-07-22 23:03:57 +02:00
Bram Moolenaar
ecaa70ea29
patch 8.1.1687: the evalfunc.c file is too big
...
Problem: The evalfunc.c file is too big.
Solution: Move testing support to a separate file.
2019-07-14 14:55:39 +02:00
Bram Moolenaar
809ce4d317
patch 8.1.1682: placing a larger number of signs is slow
...
Problem: Placing a larger number of signs is slow.
Solution: Add functions for dealing with a list of signs. (Yegappan
Lakshmanan, closes #4636 )
2019-07-13 21:21:40 +02:00
Bram Moolenaar
b4f0628fc5
patch 8.1.1673: cannot easily find the popup window at a certain position
...
Problem: Cannot easily find the popup window at a certain position.
Solution: Add popup_locate().
2019-07-12 21:07:54 +02:00
Bram Moolenaar
8071cb2c64
patch 8.1.1667: flags for Ex commands may clash with other symbols
...
Problem: Flags for Ex commands may clash with other symbols.
Solution: Prepend with EX_.
2019-07-12 17:58:01 +02:00
Bram Moolenaar
b3d17a20d2
patch 8.1.1645: cannot use a popup window for a balloon
...
Problem: Cannot use a popup window for a balloon.
Solution: Add popup_beval(). Add the "mousemoved" property. Add the
screenpos() function.
2019-07-07 18:28:14 +02:00
Bram Moolenaar
5ca1ac373a
patch 8.1.1626: no test for closing a popup window with a modified buffer
...
Problem: No test for closing a popup window with a modified buffer.
Solution: Add a test. Add "popups" to getbufinfo().
2019-07-04 15:39:28 +02:00
Bram Moolenaar
80edda1cf5
patch 8.1.1621: Amiga: time.h included twice
...
Problem: Amiga: time.h included twice.
Solution: Remove include from evalfunc.c, move outside of #ifdef in
os_amiga.h. (Ola Söder, closes #4607 )
2019-07-03 22:53:06 +02:00
Bram Moolenaar
5b8cfedfbd
patch 8.1.1612: cannot show an existing buffer in a popup window
...
Problem: Cannot show an existing buffer in a popup window.
Solution: Support buffer number argument in popup_create().
2019-06-30 22:16:10 +02:00
Bram Moolenaar
892ae723ab
patch 8.1.1611: bufadd() reuses existing buffer without a name
...
Problem: Bufadd() reuses existing buffer without a name.
Solution: When the name is empty always create a new buffer.
2019-06-30 20:33:01 +02:00
Bram Moolenaar
15e248e37f
patch 8.1.1610: there is no way to add or load a buffer without side effects
...
Problem: There is no way to add or load a buffer without side effects.
Solution: Add the bufadd() and bufload() functions.
2019-06-30 20:21:37 +02:00
Bram Moolenaar
b60d8514b8
patch 8.1.1608: the evalfunc.c file is too big
...
Problem: The evalfunc.c file is too big.
Solution: Move sign functionality to sign.c.
2019-06-29 07:59:04 +02:00
Bram Moolenaar
e96a2498f9
patch 8.1.1588: in :let-heredoc line continuation is recognized
...
Problem: In :let-heredoc line continuation is recognized.
Solution: Do not consume line continuation. (Ozaki Kiichi, closes #4580 )
2019-06-25 04:12:16 +02:00
Bram Moolenaar
0a1f56fcfe
patch 8.1.1584: the evalfunc.c file is getting too big
...
Problem: The evalfunc.c file is getting too big.
Solution: Move channel and job related functions to channel.c.
2019-06-24 00:43:35 +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
db51730df1
patch 8.1.1567: localtime_r() does not respond to $TZ changes
...
Problem: Localtime_r() does not respond to $TZ changes.
Solution: If $TZ changes then call tzset(). (Tom Ryder)
2019-06-18 22:53:24 +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
a730e55cc2
patch 8.1.1558: popup_menu() and popup_filter_menu() are not implemented yet
...
Problem: Popup_menu() and popup_filter_menu() are not implemented yet.
Solution: Implement the functions. Fix that centering didn't take the border
and padding into account.
2019-06-16 19:05:31 +02:00
Bram Moolenaar
dc2ce58b5a
patch 8.1.1553: not easy to change the text in a popup window
...
Problem: Not easy to change the text in a popup window.
Solution: Add popup_settext(). (Ben Jackson, closes #4549 )
Also display a space for an empty popup.
2019-06-16 15:32:14 +02:00
Bram Moolenaar
a42d945efc
patch 8.1.1548: popup_dialog() is not implemented
...
Problem: Popup_dialog() is not implemented.
Solution: Implement popup_dialog() and popup_filter_yesno().
2019-06-15 21:46:30 +02:00
Bram Moolenaar
26910de8b0
patch 8.1.1547: functionality of bt_nofile() is confusing
...
Problem: Functionality of bt_nofile() is confusing.
Solution: Split into bt_nofile() and bt_nofilename().
2019-06-15 19:37:15 +02:00
Bram Moolenaar
68d48f40a4
patch 8.1.1522: poup_notification() not implemented yet
...
Problem: Popup_notification() not implemented yet.
Solution: Implement it.
2019-06-12 22:42:41 +02:00
Bram Moolenaar
451d4b5b7c
patch 8.1.1520: popup windows are ignored when dealing with mouse position
...
Problem: Popup windows are ignored when dealing with mouse position
Solution: Find the mouse position inside a popup window. Allow for modeless
selection.
2019-06-12 20:22:27 +02:00
Bram Moolenaar
3ff5f0f05d
patch 8.1.1513: all popup functionality is in functions, except :popupclear
...
Problem: All popup functionality is in functions, except :popupclear.
Solution: Add popup_clear() for consistency. Also rename sound_stopall() to
sound_clear().
2019-06-10 13:11:22 +02:00
Bram Moolenaar
80dad48c50
patch 8.1.1510: a plugin cannot easily expand a command like done internally
...
Problem: A plugin cannot easily expand a command like done internally.
Solution: Add the expandcmd() function. (Yegappan Lakshmanan, closes #4514 )
2019-06-09 17:22:31 +02:00
Bram Moolenaar
427f5b66ce
patch 8.1.1502: cannot play any sound
...
Problem: Cannot play any sound.
Solution: Use libcanberra if available. Add sound functions.
2019-06-09 13:43:51 +02:00
Bram Moolenaar
9eaac89650
patch 8.1.1446: popup window callback not implemented yet
...
Problem: Popup window callback not implemented yet.
Solution: Implement the callback.
2019-06-01 22:49:29 +02:00
Bram Moolenaar
3a97bb3f0f
patch 8.1.1437: code to handle callbacks is duplicated
...
Problem: Code to handle callbacks is duplicated.
Solution: Add callback_T and functions to deal with it.
2019-06-01 13:28:35 +02:00
Bram Moolenaar
ccd6e3471d
patch 8.1.1432: can't build with eval feature
...
Problem: Can't build with eval feature.
Solution: Add missing rename.
2019-05-30 22:35:18 +02:00
Bram Moolenaar
cc31ad9f9b
patch 8.1.1428: popup_atcursor() not implemented yet
...
Problem: Popup_atcursor() not implemented yet.
Solution: Implement it. (Yasuhiro Matsumoto, closes #4456 )
2019-05-30 19:25:06 +02:00
Bram Moolenaar
89adc3a137
patch 8.1.1425: win_execute() does not set window pointers properly
...
Problem: Win_execute() does not set window pointers properly.
Solution: Use switch_win_noblock(). Also execute autocommands in a popup
window.
2019-05-30 17:29:40 +02:00
Bram Moolenaar
8c2a600f72
patch 8.1.1422: popup_getoptions() not implemented yet
...
Problem: Popup_getoptions() not implemented yet.
Solution: Implement it. (closes #4452 )
2019-05-30 14:29:45 +02:00
Bram Moolenaar
868b7b6712
patch 8.1.1418: win_execute() is not implemented yet
...
Problem: Win_execute() is not implemented yet.
Solution: Implement it.
2019-05-29 21:44:40 +02:00
Bram Moolenaar
bc133543b8
patch 8.1.1416: popup_getposition() not implemented yet
...
Problem: Popup_getposition() not implemented yet.
Solution: Implement it. (Yasuhiro Matsumoto, closes #4449 )
2019-05-29 20:26:46 +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
60cdb3004a
patch 8.1.1410: popup_move() is not implemented yet
...
Problem: Popup_move() is not implemented yet.
Solution: Implement it. (Yasuhiro Matsumoto, closes #4441 ) Improve the
positioning and resizing.
2019-05-27 21:54:10 +02:00
Bram Moolenaar
2cd0dce898
patch 8.1.1406: popup_hide() and popup_show() not implemented yet
...
Problem: popup_hide() and popup_show() not implemented yet.
Solution: Implement the functions.
2019-05-26 22:17:52 +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
4d784b21d1
patch 8.1.1391: no popup window support
...
Problem: No popup window support.
Solution: Add initial code for popup windows. Add the 'wincolor' option.
2019-05-25 19:51:39 +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
701ff0a3e5
patch 8.1.1378: delete() can not handle a file name that looks like a pattern
...
Problem: Delete() can not handle a file name that looks like a pattern.
Solution: Use readdir() instead of appending "/*" and expanding wildcards.
(Ken Takata, closes #4424 , closes #696 )
2019-05-24 14:14:14 +02:00
Bram Moolenaar
16e9b85113
patch 8.1.1355: obvious mistakes are accepted as valid expressions
...
Problem: Obvious mistakes are accepted as valid expressions.
Solution: Be more strict about parsing numbers. (Yasuhiro Matsumoto,
closes #3981 )
2019-05-19 19:59:35 +02:00
Bram Moolenaar
e9ebc9a91c
patch 8.1.1352: undofile() reports wrong name
...
Problem: Undofile() reports wrong name. (Francisco Giordano)
Solution: Clean up the name before changing path separators. (closes #4392 ,
closes #4394 )
2019-05-19 15:27:14 +02:00
Bram Moolenaar
eda652215a
patch 8.1.1334: when buffer is hidden "F" in 'shortmess' is not used
...
Problem: When buffer is hidden "F" in 'shortmess' is not used.
Solution: Check the "F" flag in 'shortmess' when the buffer is already
loaded. (Jason Franklin) Add test_getvalue() to be able to test
this.
2019-05-16 20:29:44 +02:00
Bram Moolenaar
fe1ade0a78
patch 8.1.1332: cannot flush listeners without redrawing, mix of changes
...
Problem: Cannot flush change listeners without also redrawing. The line
numbers in the list of changes may become invalid.
Solution: Add listener_flush(). Invoke listeners before adding a change
that makes line numbers invalid.
2019-05-14 21:20:36 +02:00
Bram Moolenaar
97b0075b0d
patch 8.1.1325: cannot build with +eval but without +channel and +timers
...
Problem: Cannot build with +eval but without +channel and +timers. (John
Marriott)
Solution: Adjust #ifdef for get_callback().
2019-05-12 13:07:14 +02:00
Bram Moolenaar
a334772967
patch 8.1.1321: no docs or tests for listener functions
...
Problem: No docs or tests for listener functions.
Solution: Add help and tests for listener_add() and listener_remove().
Invoke the callbacks before redrawing.
2019-05-11 21:14:24 +02:00
Bram Moolenaar
6ed8819822
patch 8.1.1319: computing function length name in many places
...
Problem: Computing function length name in many places.
Solution: compute name length in call_func().
2019-05-11 18:37:44 +02:00
Bram Moolenaar
63d2555c9c
patch 8.1.1313: warnings for using localtime() and ctime()
...
Problem: Warnings for using localtime() and ctime().
Solution: Use localtime_r() if available. Avoid using ctime().
2019-05-10 21:28:38 +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