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
c024b46678
patch 8.1.1498: ":write" increments b:changedtick even though nothing changed
...
Problem: ":write" increments b:changedtick even though nothing changed.
(Daniel Hahler)
Solution: Only increment b:changedtick if the modified flag is reset.
2019-06-08 18:07:21 +02:00
Bram Moolenaar
773a97c254
Update runtime files - Add typescript syntax and indent.
2019-06-06 20:39:55 +02:00
Bram Moolenaar
61da1bfa6c
Update runtime files.
2019-06-06 12:14:49 +02:00
Bram Moolenaar
58a7f87c86
patch 8.1.1466: not updating priority on existing sign
...
Problem: Not updating priority on existing sign.
Solution: Set the sign priority. Add a test. (Yegappan Lakshmanan)
2019-06-04 22:48:15 +02:00
Bram Moolenaar
87abab92f5
patch 8.1.1457: cannot reuse a buffer when loading a screen dump
...
Problem: Cannot reuse a buffer when loading a screen dump.
Solution: Add the "bufnr" option.
2019-06-03 21:14:59 +02:00
Bram Moolenaar
3397f74ac2
patch 8.1.1453: popup window "moved" property not implemented yet
...
Problem: Popup window "moved" property not implemented yet.
Solution: Implement it.
2019-06-02 18:40:06 +02:00
Bram Moolenaar
042fb4b449
patch 8.1.1449: popup text truncated at end of screen
...
Problem: Popup text truncated at end of screen.
Solution: Move popup left if needed. Add the "fixed" property to disable
that. (Ben Jackson , closes #4466 )
2019-06-02 14:49:56 +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
790498b509
patch 8.1.1445: popup window border highlight not implemented yet
...
Problem: Popup window border highlight not implemented yet.
Solution: Implement the "borderhighlight" option.
2019-06-01 22:15:29 +02:00
Bram Moolenaar
2fd8e35e16
patch 8.1.1443: popup window padding and border not implemented yet
...
Problem: Popup window padding and border not implemented yet.
Solution: Implement padding and border. Add core position and size to
popup_getpos().
2019-06-01 20:16:48 +02:00
Bram Moolenaar
bf0eff0b72
patch 8.1.1441: popup window filter not yet implemented
...
Problem: Popup window filter not yet implemented.
Solution: Implement the popup filter.
2019-06-01 17:13:36 +02:00
Bram Moolenaar
7dd64a3e57
Update runtime files.
2019-05-31 21:41:05 +02:00
Bram Moolenaar
c6896e20f8
patch 8.1.1431: popup window listed as "Scratch"
...
Problem: Popup window listed as "Scratch".
Solution: List them as "Popup".
2019-05-30 22:32:34 +02:00
Bram Moolenaar
ac1f1bc222
patch 8.1.1429: "pos" option of popup window not supported yet
...
Problem: "pos" option of popup window not supported yet.
Solution: Implement the option. Rename popup_getposition() to
popup_getpos().
2019-05-30 21:24:26 +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
b42301247d
patch 8.1.1426: no test for syntax highlight in popup window
...
Problem: No test for syntax highlight in popup window.
Solution: Add a screenshot test. Update associated documentation. Avoid
'buftype' being reset by setbufvar().
2019-05-30 18:40:53 +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
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
7a8d0278bd
patch 8.1.1407: popup_create() does not support text properties
...
Problem: Popup_create() does not support text properties.
Solution: Support the third form of the text argument.
2019-05-26 23:32:06 +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
68e6560b84
Update runtime files.
2019-05-26 21:33:31 +02:00
Bram Moolenaar
20c023aee0
patch 8.1.1405: "highlight" option of popup windows not supported
...
Problem: "highlight" option of popup windows not supported.
Solution: Implement the "highlight" option.
2019-05-26 21:03:24 +02:00
Bram Moolenaar
51fe3b14f6
patch 8.1.1402: "timer" option of popup windows not supported
...
Problem: "timer" option of popup windows not supported.
Solution: Implement the "timer" option. (Yasuhiro Matsumoto, closes #4439 )
2019-05-26 20:10:06 +02:00
Bram Moolenaar
076073950c
patch 8.1.1401: misspelled mkspellmem as makespellmem
...
Problem: Misspelled mkspellmem as makespellmem.
Solution: Drop duplicate help entry, fix test. (Naruhiko Nishino, Ken
Takata, closes #4437 )
2019-05-26 19:20:43 +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
1c6fd1e100
patch 8.1.1372: when evaluating 'statusline' the current window is unknown
...
Problem: When evaluating 'statusline' the current window is unknown.
(Daniel Hahler)
Solution: Set "g:actual_curwin" for %{} items. Set "g:statusline_winid"
when evaluationg %!. (closes #4406 , closes #3299 )
2019-05-23 22:11:59 +02:00
Bram Moolenaar
110289e781
patch 8.1.1366: using expressions in a modeline is unsafe
...
Problem: Using expressions in a modeline is unsafe.
Solution: Disallow using expressions in a modeline, unless the
'modelineexpr' option is set. Update help, add more tests.
2019-05-23 15:38:06 +02:00
Bram Moolenaar
5c017b2de2
patch 8.1.1364: design for popup window support needs more details
...
Problem: Design for popup window support needs more details.
Solution: Add details about using a window and buffer. Rename popup_show()
to popup_create() and add popup_show() and popup_hide().
2019-05-21 23:09:01 +02:00
Bram Moolenaar
f5842c5a53
patch 8.1.1354: getting a list of text lines is clumsy
...
Problem: Getting a list of text lines is clumsy.
Solution: Add the =<< assignment. (Yegappan Lakshmanan, closes #4386 )
2019-05-19 18:41:26 +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
957f85d54e
patch 8.1.1329: plans for popup window support are spread out
...
Problem: Plans for popup window support are spread out.
Solution: Add a first version of the popup window help.
2019-05-12 21:43:48 +02:00
Bram Moolenaar
8aad88d8de
patch 8.1.1326: no test for listener with partial
...
Problem: No test for listener with partial.
Solution: Add a test. Add example to help.
2019-05-12 13:53:50 +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
42ae78cfff
patch 8.1.1310: named function arguments are never optional
...
Problem: Named function arguments are never optional.
Solution: Support optional function arguments with a default value. (Andy
Massimino, closes #3952 )
2019-05-09 21:08:58 +02:00
Bram Moolenaar
f90b6e03a9
patch 8.1.1308: the Normal highlight is not defined when compiled with GUI
...
Problem: The Normal highlight is not defined when compiled with GUI.
Solution: Always define Normal. (Christian Brabandt, closes #4072 )
2019-05-09 19:26:38 +02:00
Bram Moolenaar
a6c27c47dd
Update runtime files
2019-05-09 19:16:22 +02:00
Bram Moolenaar
d4aa83af1d
patch 8.1.1307: cannot reconnect to the X server after it restarted
...
Problem: Cannot reconnect to the X server after it restarted.
Solution: Add the :xrestore command. (Adrian Kocis, closes #844 )
2019-05-09 18:59:31 +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
691ddeefb5
patch 8.1.1305: there is no easy way to manipulate environment variables
...
Problem: There is no easy way to manipulate environment variables.
Solution: Add environ(), getenv() and setenv(). (Yasuhiro Matsumoto,
closes #2875 )
2019-05-09 14:52:41 +02:00
Bram Moolenaar
be0a2597ae
patch 8.1.1303: not possible to hide a balloon
...
Problem: Not possible to hide a balloon.
Solution: Hide the balloon when balloon_show() is called with an empty
string or list. Add balloon_gettext().
2019-05-09 13:50:16 +02:00
Bram Moolenaar
fda9784dc9
patch 8.1.1293: MSVC files are no longer useful
...
Problem: MSVC files are no longer useful for debugging. Newer Visual
Studio versions cannot read them.
Solution: Delete the files. (Ken Takata, closes #4357 )
2019-05-07 22:25:27 +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
Bram Moolenaar
d136221129
patch 8.1.1284: detecting *.tmpl as htmlcheetah is outdated
...
Problem: Detecting *.tmpl as htmlcheetah is outdated.
Solution: Use the generic name "template". (closes #4348 )
2019-05-06 21:46:10 +02:00
Bram Moolenaar
8ffc7c8b5f
patch 8.1.1281: cannot specify a count with :chistory
...
Problem: Cannot specify a count with :chistory.
Solution: Add a count to :chistory and :lhistory. (Yegappan Lakshmanan,
closes #4344 )
2019-05-05 21:00:26 +02:00