aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/eval.c
Commit message (Collapse)AuthorAge
...
| * Merge branch 'master' into colored-cmdlineZyX2017-07-31
| |\
| * \ Merge branch 'master' into colored-cmdlineZyX2017-07-31
| |\ \
| * | | ex_getln: Replace global with entry in save_cclineZyX2017-07-17
| | | |
| * | | Merge branch 'master' into colored-cmdlineZyX2017-07-15
| |\ \ \
| * | | | eval,ex_getln: Add support for coloring input() promptsZyX2017-06-27
| | | | |
* | | | | vim-patch:8.0.0147 #7121ckelsel2017-08-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: searchpair() does not work when 'magic' is off. (Chris Paul) Solution: Add \m in the pattern. (Christian Brabandt, closes vim/vim#1341) https://github.com/vim/vim/commit/6e450a57541676036203a72d40b2e604e938371e
* | | | | vim-patch:8.0.0143 (#7120)KunMing Xie2017-08-06
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | Problem: Line number of current buffer in getbufinfo() is wrong. Solution: For the current buffer use the current line number. (Ken Takata) https://github.com/vim/vim/commit/f845b87f2b3a45cbee160e28d7a3f50e54054809
* | | | options: remove ghost of `:set termcap` (#7102)Justin M. Keyes2017-07-31
| |_|/ |/| | | | | Closes #6763
* | | viml: introduce menu_get() function #6322Matthieu Coudron2017-07-28
| | | | | | | | | | | | menu_get({path}, {modes}). See :h menu_get.
* | | log: caller provides the source detailsJustin M. Keyes2017-07-23
| | |
* | | vim-patch:8.0.0085Jurica Bradaric2017-07-20
| |/ |/| | | | | | | | | | | Problem: Using freed memory with recursive function call. (Dominique Pelle) Solution: Make a copy of the function name. https://github.com/vim/vim/commit/8a01f969c198eeb655ad2f96f2796a6f6f4a1924
* | vim-patch:7.4.2250ckelsel2017-07-13
| | | | | | | | | | | | | | Problem: Some error message cannot be translated. Solution: Enclose them in _() and N_(). (Dominique Pelle) https://github.com/vim/vim/commit/5b30291785e6b9be1a607504c14bd03c601b59a6
* | 'cpoptions': remove "<" flag; ignore <special>Justin M. Keyes2017-07-08
| | | | | | | | Closes #6937 "nvim_get_keymap output is unreliable"
* | message: Add support for replacing `<` to str2specialZyX2017-07-02
| |
* | eval: Make nvim_get_keymap output more robustZyX2017-07-02
| |
* | eval: Use tv_dict_add_allocated_str() for mapblock_fill_dictZyX2017-07-02
| |
* | *: Adjust usages of modified functionsZyX2017-07-02
|/
* eval: Allow running next command after :endfunctionZyX2017-06-20
| | | | | This will still error out on `:endfunction | next`, but defining many functions in one `:execute` should be possible.
* eval: Error out when there is something after :endfunctionZyX2017-06-20
| | | | Ref #6844
* Merge #6827 'Always enable logging'Justin M. Keyes2017-06-07
|\
| * log: Always enable; remove DISABLE_LOGJustin M. Keyes2017-06-07
| | | | | | | | | | | | - Establish ERROR log level as "critical". Such errors are rare and will be valuable when users encounter unusual circumstances. - Set -DMIN_LOG_LEVEL=3 for release-type builds
* | lintJames McCoy2017-06-06
| |
* | *: Fix conversion warnings for tv_get_number*()James McCoy2017-06-06
| |
* | vim-patch:8.0.0614James McCoy2017-06-06
| | | | | | | | | | | | | | | | Problem: float2nr() is not exactly right. Solution: Make float2nr() more accurate. Turn test64 into a new style test. (Hirohito Higashi, closes vim/vim#1688) https://github.com/vim/vim/commit/863e80b4451b5102b41bebf9ddca3a420de746fa
* | Merge remote-tracking branch 'origin/master' into vim-7.4.1975James McCoy2017-06-06
|\|
| * lintJames McCoy2017-06-06
| |
| * vim-patch:8.0.0176James McCoy2017-06-06
| | | | | | | | | | | | | | Problem: Using :change in between :function and :endfunction fails. Solution: Recognize :change inside a function. (ichizok, closes vim/vim#1374) https://github.com/vim/vim/commit/70bcd7336f9f19304f32c52a86ed5b4b3de852c2
| * vim-patch:8.0.0477James McCoy2017-06-06
| | | | | | | | | | | | | | Problem: The client-server test may hang when failing. Solution: Set a timer. Add assert_report() https://github.com/vim/vim/commit/42205551b140bee8b419b24abe210f56bb80b35e
| * vim-patch:8.0.0360James McCoy2017-06-06
| | | | | | | | | | | | | | Problem: Sometimes VimL is used, which is confusing. Solution: Consistently use "Vim script". (Hirohito Higashi) https://github.com/vim/vim/commit/b544f3c81f1e6a50322855681ac266ffaa8e313c
| * vim-patch:8.0.0167James McCoy2017-06-06
| | | | | | | | | | | | | | | | Problem: str2nr() and str2float() do not always work with negative values. Solution: Be more flexible about handling signs. (LemonBoy, closes vim/vim#1332) Add more tests. https://github.com/vim/vim/commit/08243d26d22ad44a857d02c90071578577b8a55d
| * vim-patch:8.0.0158James McCoy2017-06-06
| | | | | | | | | | | | | | | | | | Problem: On MS-Windows some float functions return a different value when passed unusual values. strtod() doesn't work for "inf" and "nan". Solution: Accept both results. Fix str2float() for MS-Windows. Also reorder assert function arguments. https://github.com/vim/vim/commit/6247361101dcccc0c877e90ad67cd0cc83df7c68
* | *: Disable UBSAN for VimL arithmetic implementationJames McCoy2017-06-04
| | | | | | | | | | | | | | | | | | | | | | | | After merging +num64, the 64-bit sanitizer builds show that Vim doesn't buffer the user from C's UB in signed arithmetic. Upstream doesn't appear to be [interested] in fixing the issue, so suppress UBSAN until someone decides to fix the problem. N.B., the problem existed before but went unnoticed since the sanitizer builds weren't being run in 32-bit mode. [interested]: https://groups.google.com/d/topic/vim_dev/_tqf8eQy5eA/discussion
* | lintJames McCoy2017-06-04
| |
* | vim-patch:8.0.0219James McCoy2017-06-04
| | | | | | | | | | | | | | | | Problem: Ubsan reports errors for integer overflow. Solution: Define macros for minimum and maximum values. Select an expression based on the value. (Mike Williams) https://github.com/vim/vim/commit/7a40ea2138102545848ea86a361f1b8dec7552b5
* | vim-patch:7.4.1976James McCoy2017-06-04
|/ | | | | | | Problem: Number variables are not 64 bits while they could be. Solution: Add the num64 feature. (Ken Takata) https://github.com/vim/vim/commit/22fcfad29276bd5f317faf516637dcd491b96a12
* lint: fix indentation of FUNC_ATTR linesBjörn Linse2017-06-03
|
* Merge #4700 from AdnoC/keep-default-registerJustin M. Keyes2017-05-31
|\
| * eval.c: Ignore unnamed register error in f_setregAdnoC2017-05-31
| | | | | | | | | | The error case is already handled and an appropriate error message is already printed.
| * style/lintAdnoC2017-05-31
| |
| * eval: Add ability to set the unnamed register with setregAdnoC2017-05-31
| |
* | channels: implement sockopen() to connect to socketBjörn Linse2017-05-29
| | | | | | | | Helped-By: oni-link <knil.ino@gmail.com>
* | Merge pull request #6680 from mhinz/listen/localhostJames McCoy2017-05-28
|\ \ | | | | | | Use uv_getaddrinfo() for servers
| * | eval: serverstart: Return finalized address to userJames McCoy2017-05-28
| | | | | | | | | | | | | | | In the process of setting up the socket watcher, the address may be changed (e.g., adding the OS-selected port).
| * | Server: use uv_getaddrinfo() for $NVIM_LISTEN_ADDRESSMarco Hinz2017-05-22
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change implicitly adds IPv6 support. If the address contains ":", we try to use a TCP socket instead of a Unix domain socket. Everything in front of the last occurrence of ":" is the hostname and everything after it the port. If the hostname lookup fails, we fall back to using a Unix domain socket. If the port is empty ("localhost:"), a random port will be assigned. Examples: NVIM_LISTEN_ADDRESS=localhost:12345 -> TCP (IPv4 or IPv6), port: 12345 NVIM_LISTEN_ADDRESS=localhost: -> TCP (IPv4 or IPv6), port: random (> 1024) NVIM_LISTEN_ADDRESS=localhost:0 -> TCP (IPv4 or IPv6), port: random (> 1024) NVIM_LISTEN_ADDRESS=localhost -> Unix domain socket "localhost" in current dir
* / get_keymap API (#6236)TJ DeVries2017-05-25
|/ | | | | | | * Add api function get keymap nvim_get_keymap(mode) nvim_buf_get_keymap(buffer, mode)
* eval: Silence V614: potentially uninitialized variableZyX2017-05-20
| | | | | Could not be uninitialized because `func_or_func_caller_profiling` is true only if `do_profiling` is `YES`, and if `do_profiling` is `YES` then `script_prof_save()` was called to initialize the variable.
* eval: Fix V507ZyX2017-05-20
|
* eval: Silence V782ZyX2017-05-20
|
* Merge #6480 from ZyX-I/colored-cmdline'/input-dictJustin M. Keyes2017-05-13
|\
| * eval: Alter E5050 error message, test thatZyX2017-05-10
| |