summaryrefslogtreecommitdiff
path: root/src/evalfunc.c
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.1.1687: the evalfunc.c file is too bigv8.1.1687Bram Moolenaar2019-07-141-493/+0
| | | | | Problem: The evalfunc.c file is too big. Solution: Move testing support to a separate file.
* patch 8.1.1682: placing a larger number of signs is slowv8.1.1682Bram Moolenaar2019-07-131-0/+2
| | | | | | Problem: Placing a larger number of signs is slow. Solution: Add functions for dealing with a list of signs. (Yegappan Lakshmanan, closes #4636)
* patch 8.1.1673: cannot easily find the popup window at a certain positionv8.1.1673Bram Moolenaar2019-07-121-0/+1
| | | | | Problem: Cannot easily find the popup window at a certain position. Solution: Add popup_locate().
* patch 8.1.1667: flags for Ex commands may clash with other symbolsv8.1.1667Bram Moolenaar2019-07-121-1/+1
| | | | | Problem: Flags for Ex commands may clash with other symbols. Solution: Prepend with EX_.
* patch 8.1.1645: cannot use a popup window for a balloonv8.1.1645Bram Moolenaar2019-07-071-0/+2
| | | | | | Problem: Cannot use a popup window for a balloon. Solution: Add popup_beval(). Add the "mousemoved" property. Add the screenpos() function.
* patch 8.1.1626: no test for closing a popup window with a modified bufferv8.1.1626Bram Moolenaar2019-07-041-3/+20
| | | | | Problem: No test for closing a popup window with a modified buffer. Solution: Add a test. Add "popups" to getbufinfo().
* patch 8.1.1621: Amiga: time.h included twicev8.1.1621Bram Moolenaar2019-07-031-4/+0
| | | | | | 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)
* patch 8.1.1612: cannot show an existing buffer in a popup windowv8.1.1612Bram Moolenaar2019-06-301-10/+3
| | | | | Problem: Cannot show an existing buffer in a popup window. Solution: Support buffer number argument in popup_create().
* patch 8.1.1611: bufadd() reuses existing buffer without a namev8.1.1611Bram Moolenaar2019-06-301-1/+3
| | | | | Problem: Bufadd() reuses existing buffer without a name. Solution: When the name is empty always create a new buffer.
* patch 8.1.1610: there is no way to add or load a buffer without side effectsv8.1.1610Bram Moolenaar2019-06-301-0/+32
| | | | | Problem: There is no way to add or load a buffer without side effects. Solution: Add the bufadd() and bufload() functions.
* patch 8.1.1608: the evalfunc.c file is too bigv8.1.1608Bram Moolenaar2019-06-291-363/+1
| | | | | Problem: The evalfunc.c file is too big. Solution: Move sign functionality to sign.c.
* patch 8.1.1588: in :let-heredoc line continuation is recognizedv8.1.1588Bram Moolenaar2019-06-251-1/+2
| | | | | Problem: In :let-heredoc line continuation is recognized. Solution: Do not consume line continuation. (Ozaki Kiichi, closes #4580)
* patch 8.1.1584: the evalfunc.c file is getting too bigv8.1.1584Bram Moolenaar2019-06-241-470/+0
| | | | | Problem: The evalfunc.c file is getting too big. Solution: Move channel and job related functions to channel.c.
* patch 8.1.1579: dict and list could be GC'ed while displaying errorv8.1.1579Bram Moolenaar2019-06-221-0/+13
| | | | | | | | 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)
* patch 8.1.1567: localtime_r() does not respond to $TZ changesv8.1.1567Bram Moolenaar2019-06-181-7/+1
| | | | | Problem: Localtime_r() does not respond to $TZ changes. Solution: If $TZ changes then call tzset(). (Tom Ryder)
* patch 8.1.1561: popup_setoptions() is not implemented yetv8.1.1561Bram Moolenaar2019-06-161-0/+1
| | | | | | Problem: Popup_setoptions() is not implemented yet. Solution: Implement popup_setoptions(). Also add more fields to popup_getoptions().
* patch 8.1.1558: popup_menu() and popup_filter_menu() are not implemented yetv8.1.1558Bram Moolenaar2019-06-161-0/+2
| | | | | | 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.
* patch 8.1.1553: not easy to change the text in a popup windowv8.1.1553Bram Moolenaar2019-06-161-0/+1
| | | | | | 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.
* patch 8.1.1548: popup_dialog() is not implementedv8.1.1548Bram Moolenaar2019-06-151-0/+2
| | | | | Problem: Popup_dialog() is not implemented. Solution: Implement popup_dialog() and popup_filter_yesno().
* patch 8.1.1547: functionality of bt_nofile() is confusingv8.1.1547Bram Moolenaar2019-06-151-1/+1
| | | | | Problem: Functionality of bt_nofile() is confusing. Solution: Split into bt_nofile() and bt_nofilename().
* patch 8.1.1522: poup_notification() not implemented yetv8.1.1522Bram Moolenaar2019-06-121-0/+1
| | | | | Problem: Popup_notification() not implemented yet. Solution: Implement it.
* patch 8.1.1520: popup windows are ignored when dealing with mouse positionv8.1.1520Bram Moolenaar2019-06-121-3/+9
| | | | | | Problem: Popup windows are ignored when dealing with mouse position Solution: Find the mouse position inside a popup window. Allow for modeless selection.
* patch 8.1.1513: all popup functionality is in functions, except :popupclearv8.1.1513Bram Moolenaar2019-06-101-1/+2
| | | | | | Problem: All popup functionality is in functions, except :popupclear. Solution: Add popup_clear() for consistency. Also rename sound_stopall() to sound_clear().
* patch 8.1.1510: a plugin cannot easily expand a command like done internallyv8.1.1510Bram Moolenaar2019-06-091-0/+31
| | | | | Problem: A plugin cannot easily expand a command like done internally. Solution: Add the expandcmd() function. (Yegappan Lakshmanan, closes #4514)
* patch 8.1.1502: cannot play any soundv8.1.1502Bram Moolenaar2019-06-091-0/+9
| | | | | Problem: Cannot play any sound. Solution: Use libcanberra if available. Add sound functions.
* patch 8.1.1446: popup window callback not implemented yetv8.1.1446Bram Moolenaar2019-06-011-1/+1
| | | | | Problem: Popup window callback not implemented yet. Solution: Implement the callback.
* patch 8.1.1437: code to handle callbacks is duplicatedv8.1.1437Bram Moolenaar2019-06-011-54/+98
| | | | | Problem: Code to handle callbacks is duplicated. Solution: Add callback_T and functions to deal with it.
* patch 8.1.1432: can't build with eval featurev8.1.1432Bram Moolenaar2019-05-301-1/+1
| | | | | Problem: Can't build with eval feature. Solution: Add missing rename.
* patch 8.1.1428: popup_atcursor() not implemented yetv8.1.1428Bram Moolenaar2019-05-301-0/+1
| | | | | Problem: Popup_atcursor() not implemented yet. Solution: Implement it. (Yasuhiro Matsumoto, closes #4456)
* patch 8.1.1425: win_execute() does not set window pointers properlyv8.1.1425Bram Moolenaar2019-05-301-8/+7
| | | | | | Problem: Win_execute() does not set window pointers properly. Solution: Use switch_win_noblock(). Also execute autocommands in a popup window.
* patch 8.1.1422: popup_getoptions() not implemented yetv8.1.1422Bram Moolenaar2019-05-301-0/+1
| | | | | Problem: Popup_getoptions() not implemented yet. Solution: Implement it. (closes #4452)
* patch 8.1.1418: win_execute() is not implemented yetv8.1.1418Bram Moolenaar2019-05-291-6/+41
| | | | | Problem: Win_execute() is not implemented yet. Solution: Implement it.
* patch 8.1.1416: popup_getposition() not implemented yetv8.1.1416Bram Moolenaar2019-05-291-0/+1
| | | | | Problem: Popup_getposition() not implemented yet. Solution: Implement it. (Yasuhiro Matsumoto, closes #4449)
* patch 8.1.1414: alloc() returning "char_u *" causes a lot of type castsv8.1.1414Bram Moolenaar2019-05-281-7/+5
| | | | | | 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.
* patch 8.1.1410: popup_move() is not implemented yetv8.1.1410Bram Moolenaar2019-05-271-0/+1
| | | | | | Problem: Popup_move() is not implemented yet. Solution: Implement it. (Yasuhiro Matsumoto, closes #4441) Improve the positioning and resizing.
* patch 8.1.1406: popup_hide() and popup_show() not implemented yetv8.1.1406Bram Moolenaar2019-05-261-0/+2
| | | | | Problem: popup_hide() and popup_show() not implemented yet. Solution: Implement the functions.
* patch 8.1.1393: unnecessary type castsv8.1.1393Bram Moolenaar2019-05-251-2/+2
| | | | | Problem: Unnecessary type casts. Solution: Remove type casts from alloc() and lalloc() calls. (Mike Williams)
* patch 8.1.1391: no popup window supportv8.1.1391Bram Moolenaar2019-05-251-0/+4
| | | | | Problem: No popup window support. Solution: Add initial code for popup windows. Add the 'wincolor' option.
* patch 8.1.1384: using "int" for alloc() often results in compiler warningsv8.1.1384Bram Moolenaar2019-05-241-10/+10
| | | | | | 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.
* patch 8.1.1378: delete() can not handle a file name that looks like a patternv8.1.1378Bram Moolenaar2019-05-241-122/+10
| | | | | | 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)
* patch 8.1.1355: obvious mistakes are accepted as valid expressionsv8.1.1355Bram Moolenaar2019-05-191-1/+2
| | | | | | Problem: Obvious mistakes are accepted as valid expressions. Solution: Be more strict about parsing numbers. (Yasuhiro Matsumoto, closes #3981)
* patch 8.1.1352: undofile() reports wrong namev8.1.1352Bram Moolenaar2019-05-191-1/+1
| | | | | | Problem: Undofile() reports wrong name. (Francisco Giordano) Solution: Clean up the name before changing path separators. (closes #4392, closes #4394)
* patch 8.1.1334: when buffer is hidden "F" in 'shortmess' is not usedv8.1.1334Bram Moolenaar2019-05-161-0/+21
| | | | | | | 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.
* patch 8.1.1332: cannot flush listeners without redrawing, mix of changesv8.1.1332Bram Moolenaar2019-05-141-0/+1
| | | | | | | 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.
* patch 8.1.1325: cannot build with +eval but without +channel and +timersv8.1.1325Bram Moolenaar2019-05-121-2/+0
| | | | | | Problem: Cannot build with +eval but without +channel and +timers. (John Marriott) Solution: Adjust #ifdef for get_callback().
* patch 8.1.1321: no docs or tests for listener functionsv8.1.1321Bram Moolenaar2019-05-111-3/+1
| | | | | | Problem: No docs or tests for listener functions. Solution: Add help and tests for listener_add() and listener_remove(). Invoke the callbacks before redrawing.
* patch 8.1.1319: computing function length name in many placesv8.1.1319Bram Moolenaar2019-05-111-4/+5
| | | | | Problem: Computing function length name in many places. Solution: compute name length in call_func().
* patch 8.1.1313: warnings for using localtime() and ctime()v8.1.1313Bram Moolenaar2019-05-101-0/+7
| | | | | Problem: Warnings for using localtime() and ctime(). Solution: Use localtime_r() if available. Avoid using ctime().
* patch 8.1.1306: Borland support is outdated and doesn't workv8.1.1306Bram Moolenaar2019-05-091-16/+2
| | | | | | 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)
* patch 8.1.1305: there is no easy way to manipulate environment variablesv8.1.1305Bram Moolenaar2019-05-091-0/+97
| | | | | | Problem: There is no easy way to manipulate environment variables. Solution: Add environ(), getenv() and setenv(). (Yasuhiro Matsumoto, closes #2875)