summaryrefslogtreecommitdiff
path: root/src/evalfunc.c
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.0.1480: patch missing changev8.0.1480Bram Moolenaar2018-02-091-1/+1
| | | | | Problem: Patch missing change. Solution: Add missing change.
* patch 8.0.1436: not enough information about what Python version may workv8.0.1436Bram Moolenaar2018-01-281-2/+12
| | | | | | Problem: Not enough information about what Python version may work. Solution: Add "python_compiled", "python3_compiled", "python_dynamic" and "python3_dynamic" values for has().
* patch 8.0.1425: execute() does not work in completion of user commandv8.0.1425Bram Moolenaar2017-12-251-0/+3
| | | | | Problem: execute() does not work in completion of user command. (thinca) Solution: Switch off redir_off and restore it. (Ozaki Kiichi, closes #2492)
* patch 8.0.1419: cursor column is not updated after ]sv8.0.1419Bram Moolenaar2017-12-211-0/+3
| | | | | Problem: Cursor column is not updated after ]s. (Gary Johnson) Solution: Set the curswant flag.
* patch 8.0.1410: hang when using count() with an empty stringv8.0.1410Bram Moolenaar2017-12-191-1/+1
| | | | | Problem: Hang when using count() with an empty string. Solution: Return zero for an empty string. (Dominique Pelle, closes #2465)
* patch 8.0.1386: cannot select modified buffers with getbufinfo()v8.0.1386Bram Moolenaar2017-12-101-1/+7
| | | | | Problem: Cannot select modified buffers with getbufinfo(). Solution: Add the "bufmodified" flag. (Yegappan Lakshmanan, closes #2431)
* patch 8.0.1364: there is no easy way to get the window positionv8.0.1364Bram Moolenaar2017-12-021-0/+18
| | | | | Problem: There is no easy way to get the window position. Solution: Add win_screenpos().
* patch 8.0.1335: writefile() using fsync() may give an error.v8.0.1335Bram Moolenaar2017-11-251-2/+4
| | | | | | Problem: Writefile() using fsync() may give an error for a device. (Yasuhiro Matsumoto) Solution: Ignore fsync() failing. (closes #2373)
* patch 8.0.1319: can't build GUI on MS-Windowsv8.0.1319Bram Moolenaar2017-11-191-0/+6
| | | | | Problem: Can't build GUI on MS-Windows. Solution: Don't define the balloon_split() function in a GUI-only build.
* patch 8.0.1318: terminal balloon only shows one linev8.0.1318Bram Moolenaar2017-11-191-1/+33
| | | | | | Problem: Terminal balloon only shows one line. Solution: Split into several lines in a clever way. Add balloon_split(). Make balloon_show() accept a list in the terminal.
* patch 8.0.1312: balloon_show() only works in terminal when compiled with GUIv8.0.1312Bram Moolenaar2017-11-181-2/+2
| | | | | | Problem: balloon_show() only works in terminal when compiled with the GUI. Solution: Add FEAT_BEVAL_GUI and refactor to move common code out of the GUI specific file.
* patch 8.0.1309: cannot use 'balloonexpr' in a terminalv8.0.1309Bram Moolenaar2017-11-181-1/+4
| | | | | | Problem: Cannot use 'balloonexpr' in a terminal. Solution: Add 'balloonevalterm' and add code to handle mouse movements in a terminal. Initial implementation for Unix with GUI.
* patch 8.0.1305: writefile() never calls fsync()v8.0.1305Bram Moolenaar2017-11-161-0/+13
| | | | | Problem: Writefile() never calls fsync(). Solution: Follow the 'fsync' option with override to enable or disable.
* patch 8.0.1295: cannot automatically get a server name in a terminalv8.0.1295Bram Moolenaar2017-11-121-0/+3
| | | | | | Problem: Cannot automatically get a server name in a terminal. Solution: Add the --enable-autoservername flag to configure. (Cimbali, closes #2317)
* patch 8.0.1274: setbufline() fails when using foldingv8.0.1274Bram Moolenaar2017-11-061-4/+23
| | | | | Problem: setbufline() fails when using folding. Solution: Set "curwin" if needed. (Ozaki Kiichi, closes #2293)
* patch 8.0.1239: cannot use a lambda for the skip argument to searchpair()v8.0.1239Bram Moolenaar2017-10-301-9/+22
| | | | | | Problem: Cannot use a lambda for the skip argument to searchpair(). Solution: Evaluate a partial, funcref and lambda. (LemonBoy, closes #1454, closes #2265)
* patch 8.0.1236: Mac features are confusingv8.0.1236Bram Moolenaar2017-10-281-9/+8
| | | | | | Problem: Mac features are confusing. Solution: Make feature names more consistent, add "osxdarwin". Rename feature flags, cleanup Mac code. (Kazunobu Kuriyama, closes #2178)
* patch 8.0.1160: getting tab-local variable fails after closing windowv8.0.1160Bram Moolenaar2017-09-291-2/+2
| | | | | Problem: Getting tab-local variable fails after closing window. Solution: set tp_firstwin and tp_lastwin. (Jason Franklin, closes #2170)
* patch 8.0.1136: W_WIDTH() is always the samev8.0.1136Bram Moolenaar2017-09-221-1/+1
| | | | | Problem: W_WIDTH() is always the same. Solution: Expand the macro.
* patch 8.0.1123: cannot define a toolbar for a windowv8.0.1123Bram Moolenaar2017-09-171-0/+3
| | | | | Problem: Cannot define a toolbar for a window. Solution: Add a window-local toolbar.
* patch 8.0.1118: FEAT_WINDOWS adds a lot of #ifdefsv8.0.1118Bram Moolenaar2017-09-161-58/+1
| | | | | | Problem: FEAT_WINDOWS adds a lot of #ifdefs while it is nearly always enabled and only adds 7% to the binary size of the tiny build. Solution: Graduate FEAT_WINDOWS.
* patch 8.0.1115: crash when using foldtextresult() recursivelyv8.0.1115Bram Moolenaar2017-09-161-0/+7
| | | | | Problem: Crash when using foldtextresult() recursively. Solution: Avoid recursive calls. (Yasuhiro Matsumoto, closes #2098)
* patch 8.0.1108: cannot specify mappings for the terminal windowv8.0.1108Bram Moolenaar2017-09-141-5/+12
| | | | | | Problem: Cannot specify mappings for the terminal window. Solution: Add the :tmap command and associated code. (Jacob Askeland, closes #2073)
* patch 8.0.1093: various small quickfix issuesv8.0.1093Bram Moolenaar2017-09-111-1/+1
| | | | | | | Problem: Various small quickfix issues. Solution: Remove ":" prefix from title set by a user. Add the qf_id2nr(). function. Add a couple more tests. Update documentation. (Yegappan Lakshmanan)
* patch 8.0.1079: memory leak when remote_foreground() failsv8.0.1079Bram Moolenaar2017-09-091-0/+5
| | | | | Problem: Memory leak when remote_foreground() fails. Solution: Free the error message.
* patch 8.0.1074: ":term NONE" does not work on MS-Windowsv8.0.1074Bram Moolenaar2017-09-081-1/+1
| | | | | | Problem: ":term NONE" does not work on MS-Windows. Solution: Make it work. Split "pty" into "pty_in" and "pty_out". (Yasuhiro Matsumoto, closes #2058, closes #2045)
* patch 8.0.1053: setline() does not work on startupv8.0.1053Bram Moolenaar2017-09-041-1/+4
| | | | | | Problem: setline() does not work on startup. (Manuel Ortega) Solution: Do not check for ml_mfp to be set for the current buffer. (Christian Brabandt)
* patch 8.0.1048: no test for what 8.0.1020 fixesv8.0.1048Bram Moolenaar2017-09-031-0/+19
| | | | | Problem: No test for what 8.0.1020 fixes. Solution: Add test_feedinput(). Add a test. (Ozaki Kiichi, closes #2046)
* patch 8.0.1039: cannot change a line in not current bufferv8.0.1039Bram Moolenaar2017-09-021-65/+113
| | | | | Problem: Cannot change a line in a buffer other than the current one. Solution: Add setbufline(). (Yasuhiro Matsumoto, Ozaki Kiichi, closes #1953)
* patch 8.0.1038: strike-through text not supportedv8.0.1038Bram Moolenaar2017-09-021-0/+4
| | | | | | Problem: Strike-through text not supported. Solution: Add support for the "strikethrough" attribute. (Christian Brabandt, Ken Takata)
* patch 8.0.1006: quickfix list changes when parsing text with 'erroformat'v8.0.1006Bram Moolenaar2017-08-271-1/+1
| | | | | | Problem: Cannot parse text with 'erroformat' without changing a quickfix list. Solution: Add the "text" argument to getqflist(). (Yegappan Lakshmanan)
* patch 8.0.1004: matchstrpos() without a match returns too many itemsv8.0.1004Bram Moolenaar2017-08-271-19/+25
| | | | | | Problem: Matchstrpos() without a match returns too many items. Solution: Also remove the second item when the position is beyond the end of the string. (Hirohito Higashi) Use an enum for the type.
* patch 8.0.0952: has('terminal') does not check existence of dll filev8.0.0952Bram Moolenaar2017-08-171-1/+5
| | | | | Problem: MS-Windows: has('terminal') does not check existence of dll file. Solution: Check if the winpty dll file can be loaded. (Ken Takata)
* patch 8.0.0948: crash if timer closes window while dragging status linev8.0.0948Bram Moolenaar2017-08-161-0/+2
| | | | | | Problem: Crash if timer closes window while dragging status line. Solution: Check if the window still exists. (Yasuhiro Matsumoto, closes #1979)
* patch 8.0.0936: mode() returns wrong value for a terminal windowv8.0.0936Bram Moolenaar2017-08-131-0/+4
| | | | | Problem: Mode() returns wrong value for a terminal window. Solution: Return 't' when typed keys go to a job.
* patch 8.0.0931: getwininfo() does not indicate a terminal windowv8.0.0931Bram Moolenaar2017-08-131-0/+3
| | | | | Problem: getwininfo() does not indicate a terminal window. Solution: Add "terminal" to the dictionary.
* patch 8.0.0908: cannot set terminal size with optionsv8.0.0908Bram Moolenaar2017-08-111-3/+3
| | | | | Problem: Cannot set terminal size with options. Solution: Add "term_rows", "term_cols" and "vertical".
* patch 8.0.0898: can't use the alternate screen in a terminal windowv8.0.0898Bram Moolenaar2017-08-111-0/+1
| | | | | | Problem: Can't use the alternate screen in a terminal window. Solution: Initialze the alternate screen. (Yasuhiro Matsumoto, closes #1957) Add term_getaltscreen().
* patch 8.0.0893: cannot get the scroll count of a terminal windowv8.0.0893Bram Moolenaar2017-08-081-0/+1
| | | | | Problem: Cannot get the scroll count of a terminal window. Solution: Add term_getscrolled().
* patch 8.0.0887: can create a logfile in the sandboxv8.0.0887Bram Moolenaar2017-08-071-0/+3
| | | | | Problem: Can create a logfile in the sandbox. Solution: Disable ch_logfile() in the sandbox. (Yasuhiro Matsumoto)
* patch 8.0.0884: can't specify the wait time for term_wait()v8.0.0884Bram Moolenaar2017-08-061-1/+1
| | | | | Problem: Can't specify the wait time for term_wait(). Solution: Add an otional second argument.
* patch 8.0.0882: term_scrape() and term_getline() require two argumentsv8.0.0882Bram Moolenaar2017-08-061-2/+2
| | | | | | | Problem: term_scrape() and term_getline() require two arguments but it is not enforced. Solution: Correct minimal number of arguments. (Hirohito Higashi) Update documentation. (Ken Takata)
* patch 8.0.0846: cannot get the name of the pty of a jobv8.0.0846Bram Moolenaar2017-08-031-0/+1
| | | | | | Problem: Cannot get the name of the pty of a job. Solution: Add the "tty" entry to the job info. (Ozaki Kiichi, closes #1920) Add the term_gettty() function.
* patch 8.0.0821: cannot get the title and status of a terminal windowv8.0.0821Bram Moolenaar2017-07-301-0/+2
| | | | | Problem: Cannot get the title and status of a terminal window. Solution: Implement term_gettitle() and term_getstatus().
* patch 8.0.0818: cannot get the cursor position of a terminalv8.0.0818Bram Moolenaar2017-07-301-0/+1
| | | | | Problem: Cannot get the cursor position of a terminal. Solution: Add term_getcursor().
* patch 8.0.0817: cannot get the terminal line at the cursorv8.0.0817Bram Moolenaar2017-07-301-2/+2
| | | | | Problem: Cannot get the line of a terminal window at the cursor. Solution: Make the row argunt optionsl. (Yasuhiro Matsumoto, closes #1898)
* patch 8.0.0804: running tests fails when stdin is /dev/nullv8.0.0804Bram Moolenaar2017-07-291-2/+3
| | | | | | Problem: Running tests fails when stdin is /dev/null. (James McCoy) Solution: Do not bail out from getting input if the --not-a-term argument was given. (closes #1460)
* patch 8.0.0804: terminal window functions not yet implementedv8.0.0803Bram Moolenaar2017-07-291-1/+12
| | | | | | Problem: Terminal window functions not yet implemented. Solution: Implement several functions. Add a first test. (Yasuhiro Matsumoto, closes #1871)
* patch 8.0.0794: checking translations fails with multiple NLv8.0.0794Bram Moolenaar2017-07-281-7/+38
| | | | | | Problem: The script to check translations fails if there is more than one NL in one line. Solution: Count the number of NL characters. Make count() accept a string.
* patch 8.0.0728: the terminal structure is never freedv8.0.0728Bram Moolenaar2017-07-171-1/+1
| | | | | Problem: The terminal structure is never freed. Solution: Free the structure and unreference what it contains.