Bram Moolenaar
fd8ca21b3f
patch 8.1.1835: cannot use printf() as a method
...
Problem: Cannot use printf() as a method.
Solution: Pass the base as the second argument to printf().
2019-08-10 00:13:30 +02:00
Bram Moolenaar
0c779e8e48
patch 8.1.1833: allocating a bit too much when there is no bad word.
...
Problem: Allocating a bit too much when spellbadword() does not find a bad
word.
Solution: Reset "len" when going to the next word. (Daniel Hahler,
closes #4788 )
2019-08-09 17:01:02 +02:00
Bram Moolenaar
820680b9ff
patch 8.1.1832: win_execute() does not work in other tab
...
Problem: Win_execute() does not work in other tab. (Rick Howe)
Solution: Take care of the tab. (closes #4792 )
2019-08-09 14:56:22 +02:00
Bram Moolenaar
d7663c22c6
patch 8.1.1823: command line history code is spread out
...
Problem: Command line history code is spread out.
Solution: Put the code in a new file. (Yegappan Lakshmanan, closes #4779 )
Also graduate the +cmdline_hist feature.
2019-08-06 21:59:57 +02:00
Bram Moolenaar
7a4ea1df2f
patch 8.1.1815: duplicating info for internal functions
...
Problem: Duplicating info for internal functions.
Solution: Use one table to list internal functions.
2019-08-04 21:35:12 +02:00
Bram Moolenaar
a74e4946de
patch 8.1.1809: more functions can be used as a method
...
Problem: More functions can be used as a method.
Solution: Add has_key(), split(), str2list(), etc.
2019-08-04 17:35:53 +02:00
Bram Moolenaar
25e42231d3
patch 8.1.1807: more functions can be used as a method
...
Problem: More functions can be used as a method.
Solution: Add append(), appendbufline(), assert_equal(), etc.
Also add the :eval command.
2019-08-04 15:04:10 +02:00
Bram Moolenaar
ac92e25a33
patch 8.1.1803: all builtin functions are global
...
Problem: All builtin functions are global.
Solution: Add the method call operator ->. Implemented for a limited number
of functions.
2019-08-03 21:58:38 +02:00
Bram Moolenaar
50f91d22bd
patch 8.1.1791: 'completeslash' also applies to globpath()
...
Problem: 'completeslash' also applies to globpath().
Solution: Add the WILD_IGNORE_COMPLETESLASH flag. (test by Yasuhiro
Matsumoto, closes #4760 )
2019-08-02 19:52:15 +02:00
Bram Moolenaar
b66bab381c
patch 8.1.1785: map functionality mixed with character input
...
Problem: Map functionality mixed with character input.
Solution: Move the map functionality to a separate file. (Yegappan
Lakshmanan, closes #4740 ) Graduate the +localmap feature.
2019-08-01 14:28:24 +02:00
Bram Moolenaar
56c0c4749d
patch 8.1.1770: cannot get the window ID of the popup preview window
...
Problem: Cannot get the window ID of the popup preview window.
Solution: Add popup_getpreview().
2019-07-28 17:57:43 +02:00
Bram Moolenaar
f96ae0b5a2
patch 8.1.1767: FEAT_SESSION defined separately
...
Problem: FEAT_SESSION defined separately.
Solution: Make FEAT_SESSION depend on FEAT_EVAL.
2019-07-28 15:21:55 +02:00
Bram Moolenaar
f91aac5e3e
patch 8.1.1765: get(func, dict, def) does not work properly
...
Problem: get(func, dict, def) does not work properly.
Solution: Handle NULL dict better. (Takuya Fujiwara, closes #4734 )
2019-07-28 13:21:01 +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
2984666291
patch 8.1.1757: text added with appendbufline() isn't displayed
...
Problem: Text added with appendbufline() to another buffer isn't displayed.
Solution: Update topline. (partly by Christian Brabandt, closes #4718 )
2019-07-27 17:39:15 +02:00
Bram Moolenaar
9d5ffceb3f
patch 8.1.1751: when redrawing popups plines_win() may be called often
...
Problem: When redrawing popups plines_win() may be called often.
Solution: Pass a cache to mouse_comp_pos().
2019-07-26 21:01:29 +02:00
Bram Moolenaar
7dfb016d25
patch 8.1.1742: still some match functions in evalfunc.c
...
Problem: Still some match functions in evalfunc.c.
Solution: Move them to highlight.c.
2019-07-24 16:00:39 +02:00
Bram Moolenaar
d08b8c4c04
patch 8.1.1740: exepath() doesn't work for "bin/cat"
...
Problem: Exepath() doesn't work for "bin/cat".
Solution: Check for any path separator. (Daniel Hahler, closes #4724 ,
closes #4710 )
2019-07-24 14:59:45 +02:00
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