aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/eval.c
Commit message (Collapse)AuthorAge
...
* | vim-patch:7.4.1027watiko2016-02-01
| | | | | | | | | | | | | | Problem: No support for binary numbers. Solution: Add "bin" to nrformats. (Jason Schulz) https://github.com/vim/vim/commit/887c1fea4a114e7170091942d0446c8882701b5b
* | vim-patch:7.4.782watiko2016-02-01
|/ | | | | | | Problem: Still a few problems with CTRL-A and CTRL-X in Visual mode. Solution: Fix the reported problems. (Christian Brabandt) https://github.com/vim/vim/commit/5d1bc78a2b9fbe3e3112afcde7c80eb19d5989f4
* Merge pull request #4096 from justinmk/coverity125476Justin M. Keyes2016-01-28
|\ | | | | coverity/125476: RI: Null pointer dereference
| * file_pat_to_reg_pat(): handle empty string.oni-link2016-01-28
| |
| * glob2regpat(): handle empty string.Justin M. Keyes2016-01-27
| |
| * coverity/125476: RI: Null pointer dereferenceJustin M. Keyes2016-01-27
| |
* | vim-patch:7.4.698Jurica Bradaric2016-01-27
|/ | | | | | | | Problem: Various problems with locked and fixed lists and dictionaries. Solution: Disallow changing locked items, fix a crash, add tests. (Olaf Dabrunz) https://github.com/vim/vim/commit/9bc174b69d2775b0f27ed74bf372608d18c9f3d4
* Merge pull request #4073 from jbradaric/vim-7.4.654Justin M. Keyes2016-01-24
|\ | | | | vim-patch:7.4.654
| * vim-patch:7.4.654Jurica Bradaric2016-01-22
| | | | | | | | | | | | | | | | | | Problem: glob() and globpath() cannot include links to non-existing files. (Charles Campbell) Solution: Add an argument to include all links with glob(). (James McCoy) Also for globpath(). https://github.com/vim/vim/commit/a245bc79b4c6b83a4b5b6cdb95c4d2165762a20b
* | vim-patch:7.4.739Jurica Bradaric2016-01-24
|/ | | | | | | | Problem: In a string "\U" only takes 4 digits, while after CTRL-V U eight digits can be used. Solution: Make "\U" also take eight digits. (Christian Brabandt) https://github.com/vim/vim/commit/acc39888cddbc8082fb3b89c1a46646bdca55e42
* Merge #3916 "Add support for binary numbers".Justin M. Keyes2016-01-21
|\
| * Fix lint issuesJason Schulz2016-01-15
| |
| * Add support for binary numbersJason Schulz2016-01-15
| |
* | job control: implement jobpid() to get PID of jobBjörn Linse2016-01-20
| |
* | job control: add 'detach' option to jobstartBjörn Linse2016-01-20
|/
* vim patches 7.4.955/974/975/989. #3919Michael Ennen2016-01-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Helped by @Shougo. vim-patch:7.4.955 vim-patch:7.4.974 vim-patch:7.4.975 vim-patch:7.4.989 Port upstream vim patches 955, 974, 975 and 989. Mark patches 964, 968, 970, and 971, and 982 as NA. Update patch list to 1022. patch 7.4.955 Problem: Vim doesn't recognize .pl6 and .pod6 files. Solution: Recognize them as perl6 and pod6. (Mike Eve) patch 7.4.974 Problem: When using :diffsplit the cursor jumps to the first line. Solution: Put the cursor on the line related to where the cursor was before the split. patch 7.4.975 Problem: Using ":sort" on a very big file sometimes causes text to be corrupted. (John Beckett) Solution: Copy the line into a buffer before calling ml_append(). patch 7.4.989 Problem: Leaking memory when hash_add() fails. Coverity error 99126. Solution: When hash_add() fails free the memory. 778 marked as not NA as it will be needed once vim patch 754 is merged Marked as NA: 964 test 87 was deleted 968 tests 86/87 were deleted 970 guarded by: `# if defined(FEAT_GUI_GTK) || defined(PROTO` and is inside a function that no longer exists 971 function table already sorted correctly 982 marked as NA because Neovim tests are only specified in exactly one location
* portability: fix cast.Justin M. Keyes2016-01-10
| | | | | PRId64 format expects int64_t. Regression from c6e481cba559d35891f20ef4ac9ca6a41bdcdbd3.
* portability: use portable format specifierJustin M. Keyes2016-01-10
|
* Improve coding stylewatiko2016-01-10
|
* vim-patch:7.4.1032watiko2016-01-10
| | | | | | | | Problem: message from assert_false() does not look nice. Solution: Handle missing sourcing_name. Use right number of spaces. (Watiko) Don't use line number if it's zero. https://github.com/vim/vim/commit/cbfe32953aea09d35d9ac7e5865c915b14e310c1
* vim-patch:7.4.950watiko2016-01-10
| | | | | | | Problem: v:errors is not initialized. Solution: Initialze it to an empty list. (Thinca) https://github.com/vim/vim/commit/4649ded2877508fe343cbcf6f7e7fd277be0aab3
* vim-patch:7.4.946watiko2016-01-10
| | | | | | | Problem: Missing changes in source file. Solution: Include changes to the eval.c file. https://github.com/vim/vim/commit/bbfbaf9741deebb9f1ed790885bd571c4cbce17a
* vim-patch:7.4.944watiko2016-01-10
| | | | | | | | | Problem: Writing tests for Vim script is hard. Solution: Add assertEqual(), assertFalse() and assertTrue() functions. Add the v:errors variable. Add the runtest script. Add a first new style test script. https://github.com/vim/vim/commit/43345546ae63710441f066648b8485fb545b3801
* eval: Do not use msgpack#string for error messagesZyX2016-01-07
|
* eval: Use better error messages when failing to dump valuesZyX2016-01-04
| | | | | | | | | | | | | | | | | | | | | | | | Examples: let g:SR = [[]] call add(g:SR[0], g:SR) wshada " E952: Unable to dump variable g:SR: container references itself in index 0, index 0 let g:F = {'_TYPE': v:msgpack_types.map, '_VAL': [[{'abc': 1}, function("tr")]]} wshada " E951: Error while dumping variable g:F, key {'abc': 1} at index 0 from special map, key '': attempt to dump function reference " (no msgpack#string available) " E951: Error while dumping variable g:F, key {="abc": 1} at index 0 from special map, key '': attempt to dump function reference " (msgpack#string available) let g:F = {'_TYPE': v:msgpack_types.map, '_VAL': [[g:SR, function("tr")]]} wshada " E951: Error while dumping variable g:F, key [[[[{E724@0}]]]] at index 0 from special map, index 1: attempt to dump function reference call msgpackdump([g:SR]) " E952: Unable to dump msgpackdump() argument, index 0: container references itself in index 0, index 0 Not tested yet.
* eval: Use list_unref in place of decrementing refcount directlyZyX2015-12-13
|
* eval: Replace internal_refcount hack with proper copyID settingZyX2015-12-13
|
* Merge pull request #3753 from watiko/vim-7.4.790Justin M. Keyes2015-12-12
|\ | | | | Vim 7.4.{786,787,789,790}
| * Improve coding stylewatiko2015-11-28
| |
| * vim-patch:7.4.786watiko2015-11-28
| | | | | | | | | | | | | | Problem: It is not possible for a plugin to adjust to a changed setting. Solution: Add the OptionSet autocommand event. (Christian Brabandt) https://github.com/vim/vim/commit/537443018d41918639695a442c91b34ccec69fc3
* | src/*: Remove `VIM - Vi improved ...` headerMichael Reed2015-11-27
|/ | | | | | | | | | | | | | | | | | | Regarding the individual items in the header: `Vim - Vi improved by Bram Moolenar` Bram Moolenar is already mentioned throughout the documentation, as well as the intro screen. `:help uganda` It's already shown to all users who don't use `shortmess+=I` upon starting nvim, and is already placed prominently in help.txt, i.e., `:help` run with no arguments. `:help credits` Already mentioned near the top of help.txt. `README.md` Already mentioned in develop.txt.
* Remove unnecessary includes for errno.hRui Abreu Ferreira2015-11-25
|
* src: README.txt -> README.mdMichael Reed2015-11-23
| | | | | The former no longer exists in this repo; see the top of src/nvim/README.md.
* Add TermClose eventMarco Hinz2015-11-15
| | | | | | | | A terminal buffer now exits with: [Process exited <return value>] You can hook into it. E.g. :au TermClose * call feedkeys('<cr>') Closes #2293.
* Add file selection prompt on ":oldfiles!"Marco Hinz2015-11-10
| | | | | | | | :browse was removed for good, but some people miss ":browse oldfiles". The same functionality is now provided by ":oldfiles!". Helped-by: @Pyrohh
* Add ":profile stop"Marco Hinz2015-11-10
| | | | This writes the logfile and stops profiling.
* eval: Implement dictionary change notificationsThiago de Arruda2015-11-09
|
* eval: Extract `find_var_ht_dict` from `find_var_ht`Thiago de Arruda2015-11-09
|
* eval: Extract `find_ufunc` from `get_dict_callback`Thiago de Arruda2015-11-09
|
* Remove useless FEAT_BROWSE ifdefMichael Reed2015-11-01
| | | | | The only thing this affected was the return value of has('browsefilter').
* undo: Do some refactoringZyX2015-10-29
| | | | | | Specifically refactor u_get_undo_file_name which will be modified to automatically create undo directory and replace `char_u` with `char` in some of the related functions.
* Implement server_address_new()Rui Abreu Ferreira2015-10-18
| | | | | | | | | | | | | | | | When creating a local socket/pipe (server_start()) Neovim used vim_tempname() to generate a unique socket path. For Windows UNIX filepaths cannot be used as pipe names (they must start with \\.\pipe\). This commit replaces the use of vim_tempname() for server addresses with server_address_new(). server_address_new() generates unique names for local sockets/pipes - for UNIX it uses vim_tempname(), for Windows generates names in the form \\.\pipe\nvim-PID-COUNTER where PID is the current process id, and COUNTER is a static uint32_t counter incremented with every call. This function is now used for server_start() and server_init() when no address is available.
* *: Fix lint errors found in new code in previously ignored filesZyX2015-10-08
|
* shada: Use same iteration end conditions as with other iteratorsZyX2015-10-08
|
* eval: Use proper iteration end conditionZyX2015-10-08
|
* eval: Reorder checks in var_shada_iterZyX2015-10-08
|
* eval: Remove incorrect NONNULL_RET attributesZyX2015-10-08
|
* *: Fix problems with clang+asan Release buildZyX2015-10-08
|
* eval,functests: Reference all additional_* items created by ShaDaZyX2015-10-08
|
* *: Make ShaDa code use VimL values for additional_\* dataZyX2015-10-08
|