| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Problem: The evalfunc.c file is too big.
Solution: Move testing support to a separate file.
|
|
|
|
|
|
| |
Problem: Placing a larger number of signs is slow.
Solution: Add functions for dealing with a list of signs. (Yegappan
Lakshmanan, closes #4636)
|
|
|
|
|
| |
Problem: Cannot easily find the popup window at a certain position.
Solution: Add popup_locate().
|
|
|
|
|
| |
Problem: Flags for Ex commands may clash with other symbols.
Solution: Prepend with EX_.
|
|
|
|
|
|
| |
Problem: Cannot use a popup window for a balloon.
Solution: Add popup_beval(). Add the "mousemoved" property. Add the
screenpos() function.
|
|
|
|
|
| |
Problem: No test for closing a popup window with a modified buffer.
Solution: Add a test. Add "popups" to getbufinfo().
|
|
|
|
|
|
| |
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)
|
|
|
|
|
| |
Problem: Cannot show an existing buffer in a popup window.
Solution: Support buffer number argument in popup_create().
|
|
|
|
|
| |
Problem: Bufadd() reuses existing buffer without a name.
Solution: When the name is empty always create a new buffer.
|
|
|
|
|
| |
Problem: There is no way to add or load a buffer without side effects.
Solution: Add the bufadd() and bufload() functions.
|
|
|
|
|
| |
Problem: The evalfunc.c file is too big.
Solution: Move sign functionality to sign.c.
|
|
|
|
|
| |
Problem: In :let-heredoc line continuation is recognized.
Solution: Do not consume line continuation. (Ozaki Kiichi, closes #4580)
|
|
|
|
|
| |
Problem: The evalfunc.c file is getting too big.
Solution: Move channel and job related functions to channel.c.
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
| |
Problem: Localtime_r() does not respond to $TZ changes.
Solution: If $TZ changes then call tzset(). (Tom Ryder)
|
|
|
|
|
|
| |
Problem: Popup_setoptions() is not implemented yet.
Solution: Implement popup_setoptions(). Also add more fields to
popup_getoptions().
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Problem: Popup_dialog() is not implemented.
Solution: Implement popup_dialog() and popup_filter_yesno().
|
|
|
|
|
| |
Problem: Functionality of bt_nofile() is confusing.
Solution: Split into bt_nofile() and bt_nofilename().
|
|
|
|
|
| |
Problem: Popup_notification() not implemented yet.
Solution: Implement it.
|
|
|
|
|
|
| |
Problem: Popup windows are ignored when dealing with mouse position
Solution: Find the mouse position inside a popup window. Allow for modeless
selection.
|
|
|
|
|
|
| |
Problem: All popup functionality is in functions, except :popupclear.
Solution: Add popup_clear() for consistency. Also rename sound_stopall() to
sound_clear().
|
|
|
|
|
| |
Problem: A plugin cannot easily expand a command like done internally.
Solution: Add the expandcmd() function. (Yegappan Lakshmanan, closes #4514)
|
|
|
|
|
| |
Problem: Cannot play any sound.
Solution: Use libcanberra if available. Add sound functions.
|
|
|
|
|
| |
Problem: Popup window callback not implemented yet.
Solution: Implement the callback.
|
|
|
|
|
| |
Problem: Code to handle callbacks is duplicated.
Solution: Add callback_T and functions to deal with it.
|
|
|
|
|
| |
Problem: Can't build with eval feature.
Solution: Add missing rename.
|
|
|
|
|
| |
Problem: Popup_atcursor() not implemented yet.
Solution: Implement it. (Yasuhiro Matsumoto, closes #4456)
|
|
|
|
|
|
| |
Problem: Win_execute() does not set window pointers properly.
Solution: Use switch_win_noblock(). Also execute autocommands in a popup
window.
|
|
|
|
|
| |
Problem: Popup_getoptions() not implemented yet.
Solution: Implement it. (closes #4452)
|
|
|
|
|
| |
Problem: Win_execute() is not implemented yet.
Solution: Implement it.
|
|
|
|
|
| |
Problem: Popup_getposition() not implemented yet.
Solution: Implement it. (Yasuhiro Matsumoto, closes #4449)
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
Problem: Popup_move() is not implemented yet.
Solution: Implement it. (Yasuhiro Matsumoto, closes #4441) Improve the
positioning and resizing.
|
|
|
|
|
| |
Problem: popup_hide() and popup_show() not implemented yet.
Solution: Implement the functions.
|
|
|
|
|
| |
Problem: Unnecessary type casts.
Solution: Remove type casts from alloc() and lalloc() calls. (Mike Williams)
|
|
|
|
|
| |
Problem: No popup window support.
Solution: Add initial code for popup windows. Add the 'wincolor' option.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
| |
Problem: Obvious mistakes are accepted as valid expressions.
Solution: Be more strict about parsing numbers. (Yasuhiro Matsumoto,
closes #3981)
|
|
|
|
|
|
| |
Problem: Undofile() reports wrong name. (Francisco Giordano)
Solution: Clean up the name before changing path separators. (closes #4392,
closes #4394)
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
Problem: Cannot build with +eval but without +channel and +timers. (John
Marriott)
Solution: Adjust #ifdef for get_callback().
|
|
|
|
|
|
| |
Problem: No docs or tests for listener functions.
Solution: Add help and tests for listener_add() and listener_remove().
Invoke the callbacks before redrawing.
|
|
|
|
|
| |
Problem: Computing function length name in many places.
Solution: compute name length in call_func().
|
|
|
|
|
| |
Problem: Warnings for using localtime() and ctime().
Solution: Use localtime_r() if available. Avoid using ctime().
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
| |
Problem: There is no easy way to manipulate environment variables.
Solution: Add environ(), getenv() and setenv(). (Yasuhiro Matsumoto,
closes #2875)
|