aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/eval.c
Commit message (Collapse)AuthorAge
...
* vim-patch:7.4.1682James McCoy2016-07-23
| | | | | | | Problem: Coverity: no check for NULL. Solution: Add check for invalid argument to assert_match(). https://github.com/vim/vim/commit/72188e9aae26e6191c68ff673ef145104b17c64f
* vim-patch:7.4.1663James McCoy2016-07-23
| | | | | | | Problem: In tests it's often useful to check if a pattern matches. Solution: Add assert_match(). https://github.com/vim/vim/commit/ea6553bec340920d8a09c7210cdc2d218e25ace2
* vim-patch:7.4.1546Patrick2016-07-13
| | | | | | | | | | Problem: Sticky type checking is more annoying than useful. Solution: Remove the error for changing a variable type. https://github.com/vim/vim/commit/f6f32c38bf3319144a84a01a154c8c91939e7acf Note: There are a bunch of other changes to eval.txt that I believe are N/A and not related to this patch.
* Merge #4980 'Support legacy `:ruby` commands'.Justin M. Keyes2016-07-10
|\
| * Add :ruby, :rubyfile, and :rubydo ex commandsAlex Genco2016-07-02
| |
* | Merge #4991 'vim-patch:7.4.1140'Justin M. Keyes2016-07-09
|\ \
| * | vim-patch:7.4.1140Patrick2016-07-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Recognizing <sid> does not work when the language is Turkish. (Christian Brabandt) Solution: Use MB_STNICMP() instead of STNICMP(). https://github.com/vim/vim/commit/e266d6d664d6d743c79797af400b2c01ec746216 Note: Added new test
* | | lintJames McCoy2016-07-08
| | |
* | | vim-patch:7.4.1552James McCoy2016-07-08
| | | | | | | | | | | | | | | | | | | | | Problem: ":colorscheme" does not use 'packpath'. Solution: Also use in "start" and "opt" directories in 'packpath'. https://github.com/vim/vim/commit/7f8989dd8a627af2185df381195351a913f3777f
* | | vim-patch:7.4.1384James McCoy2016-07-08
| |/ |/| | | | | | | | | | | Problem: It is not easy to use a set of plugins and their dependencies. Solution: Add packages, ":loadopt", 'packpath'. https://github.com/vim/vim/commit/f6fee0e2d4341c0c2f5339c1268e5877fafd07cf
* | Merge pull request #4880 from bfredl/zerotimerBjörn Linse2016-07-01
|\ \ | |/ |/| make timers work correctly when timeout or repeat is zero
| * timers: make repeat=0 work one-shot (consistent with vim)Björn Linse2016-06-29
| |
| * timers: make timers work with zero timeoutBjörn Linse2016-06-29
| |
* | vim-patch:7.4.1136Patrick2016-06-30
|/ | | | | | | | Problem: Wrong argument to assert_exception() causes a crash. (reported by Coverity) Solution: Check for NULL pointer. Add a test. https://github.com/vim/vim/commit/da5dcd936656f524dd0ae7cb2685245f07f5720f
* *: Fix linter errorsZyX2016-06-24
| | | | | | | | | Also adds one exception to linter rules: typedef struct { kvec_t(Object) stack; } EncodedData; is completely valid (from the style guide point of view) code.
* eval: Also make clear_tv non-recursiveZyX2016-06-24
|
* Merge #4697 'capture() function'.Justin M. Keyes2016-06-20
|\
| * Port capture() functionShougo Matsushita2016-05-27
| | | | | | | | https://groups.google.com/forum/#!msg/vim_dev/H3Z3ChSUh_4/beZs6KzYdBsJ
* | coverity/149459: CHECKED_RETURN (false positive)Justin M. Keyes2016-06-18
| |
* | eval: add api_info()Björn Linse2016-06-17
| | | | | | | | | | Previously, the api metadata was only accessible frow within nvim as msgpackparse(systemlist('nvim --api-info'))[0]
* | vim-patch:7.4.1126James McCoy2016-06-15
| | | | | | | | | | | | | | | | Problem: Can only get the directory of the current window. Solution: Add window and tab arguments to getcwd() and haslocaldir(). (Thinca, Hirohito Higashi) https://github.com/vim/vim/commit/c970330676eaae7ba7cd05cfa46df5a413853ef9
* | Merge #3745 from cacplate/ops_WconversionJustin M. Keyes2016-06-13
|\ \ | | | | | | Enable -Wconversion in ops.c
| * | ops.c: enable -Wconversion warningCharles Joachim2016-05-30
| | |
* | | *: Also fix the adjacent errorsZyX2016-06-11
| | |
* | | *: Fix errors from new linter checksZyX2016-06-11
| | |
* | | Merge #4813 'runtime: clipboard: start daemons in /'.Justin M. Keyes2016-06-10
|\ \ \
| * | | eval: allow setting cwd in {jobstart,termopen}()Aleksa Sarai2016-06-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Processes in vim are always started in the current directory, which causes issues when the process is a daemon and the current directory is a mountpoint. Fix this by adding an option to set the cwd of the new process with jobstart(). In addition, fix termopen() so that it actually uses the cwd option from the dict (it couldn't previously set the cwd value due to dead code). Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
* | | | Merge pull request #4788 from brcolow/vim-7.4.1051James McCoy2016-06-09
|\ \ \ \ | | | | | | | | | | vim-patch:7.4.{1051,1068}
| * | | | vim-patch:7.4.1068Michael Ennen2016-06-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Wrong way to check for unletting internal variables. Solution: Use a better way. (Olaf Dabrunz) https://github.com/vim/vim/commit/71bcfdf30109c3d6e40d143adcaf33964b18a70b
| * | | | vim-patch:7.4.1051Michael Ennen2016-06-09
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Segfault when unletting "count". Solution: Check for readonly and locked first. (Dominique Pelle) Add a test. https://github.com/vim/vim/commit/af8af8bfac5792fa64efbc524032d568cc7754f7
* | | | Merge pull request #4738 from brcolow/vim-7.4.1223James McCoy2016-06-09
|\ \ \ \ | | | | | | | | | | | | | | | vim-patch:7.4.1223
| * | | | vim-patch:7.4.1223Michael Ennen2016-06-09
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | Problem: Crash when setting v:errors to a number. Solution: Free the typval without assuming its type. (Yasuhiro Matsumoto) https://github.com/vim/vim/commit/a542c680a8b42cb766e64d4ee7374ef4dacb7832
* | | | eval.c: Fix linter errors.Jurica Bradaric2016-06-09
| | | |
* | | | vim-patch:7.4.1464Jurica Bradaric2016-06-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: When the argument of sort() is zero or empty it fails. Solution: Make zero work as documented. (suggested by Yasuhiro Matsumoto) https://github.com/vim/vim/commit/5131c144feb046c5e2b72e6c172159d80ce06b3c
* | | | vim-patch:7.4.1394Jurica Bradaric2016-06-09
|/ / / | | | | | | | | | | | | | | | | | | Problem: Can't sort inside a sort function. Solution: Use a struct to store the sort parameters. (Jacob Niehus) https://github.com/vim/vim/commit/0b962473ddc7cee3cb45253dea273573bcca9bf9
* | | pty_process: split into plat-specific files (#3976)Rui Abreu Ferreira2016-06-04
| | |
* | | Merge pull request #4860 from jamessan/tab-win-precedenceJustin M. Keyes2016-06-04
|\ \ \ | | | | | | | | tcd: Determine correct scope from user input
| * | | tcd: Determine correct scope from user inputJames McCoy2016-06-01
| | | | | | | | | | | | | | | | | | | | | | | | If a user specifies both {window} and {tab}, `getcwd()`/`haslocaldir()` are using "tab" as the scope that should be reported. However, it should be using "window" as the scope, within the specified tab page.
| * | | tcd: Use user-provided tab page for `getcwd()`/`haslocaldir()`James McCoy2016-06-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The initial implementation for `:tcd` always used `curtab` to find the specified window. This would result in either inaccurate information or an unexpected error (e.g., when there are more windows in the user-specified tab page vs. the current tab page).
* | | | reorgJustin M. Keyes2016-06-03
|/ / /
* | | timers: stop all timers on teardownBjörn Linse2016-06-01
| | |
* | | *: Rename main loop variable from loop to main_loopZyX2016-05-30
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Current name is inappropriate for the following reasons: 1. It is often masked by local `loop` variables. 2. It cannot be searched for. There are many `loop` variables where `loop` is some local variable. There are many cases when “loop” word is used in a comment. 3. It is in any case bad idea to use a generic name as a name of the global variable. Best if global has module prefix: this is why it is in `main.h`: `main_loop` both stands for “a main loop” and “a loop defined in `main.*`”. Since I have no idea how to list every occurrence of this variable method used to rename it is “remove it from globals.h, try to compile, fix errors”. Thus if some occurrence was hidden under false `#if` branch it was not replaced.
* | eval: Stop executing *eval() function at errorZyX2016-05-27
| | | | | | | | | | Fixes #4822 Closes #4823
* | vim-patch:7.4.1567James McCoy2016-05-25
| | | | | | | | | | | | | | Problem: Crash in assert_fails(). Solution: Check for NULL. (Dominique Pelle) Add a test. https://github.com/vim/vim/commit/1abb502635c7f317e05a0cf3ea067101f9d684f5
* | vim-patch:7.4.1096James McCoy2016-05-25
|/ | | | | | | | Problem: Need several lines to verify a command produces an error. Solution: Add assert_fails(). (suggested by Nikolay Pavlov) Make the quickfix alloc test actually work. https://github.com/vim/vim/commit/a260b87d9da17f605666630f18c1ed909c2b8bae
* timers: racy situation found on travisBjörn Linse2016-05-25
|
* eval: implement timers. vim-patch: 7.4.1578, 7.4.1831Björn Linse2016-05-24
| | | | | For the moment, timers are triggered during sleep, but not in wait-for-input modes, like press-RETURN or f_getchar()
* vim-patch:7.4.1516Jurica Bradaric2016-05-19
| | | | | | | Problem: Cannot change file permissions. Solution: Add setfperm(). https://github.com/vim/vim/commit/8049253b96838b3584600e5ad229abad37a95b10
* vim-patch:7.4.1102Jurica Bradaric2016-05-17
| | | | | | | | Problem: Debugger has no stack backtrace support. Solution: Add "backtrace", "frame", "up" and "down" commands. (Alberto Fanjul, closes vim/vim#433) https://github.com/vim/vim/commit/f1f60f859cdbb2638b3662ccf7b1d179865fe7dc
* term_close: fix use-after-freeoni-link2016-05-15
| | | | Closes #4393