aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/buffer.c
Commit message (Collapse)AuthorAge
* bufhl: fix moveBjörn Linse2017-06-24
|
* bufhl: some style cleanupBjörn Linse2017-06-24
|
* kbtree: make warning free and delete deprecated macrosBjörn Linse2017-06-24
|
* kbtree: eliminate unneccesary heap allocationBjörn Linse2017-06-24
|
* kbtree: use proper structsBjörn Linse2017-06-24
|
* kbtree: allow iterators to start at arbitrary positionBjörn Linse2017-06-24
|
* bufhl: use kbtree for bufhlBjörn Linse2017-06-24
|
* vim-patch:8.0.0607 (#6879)Daniel Hahler2017-06-11
| | | | | | | | Problem: When creating a bufref, then using :bwipe and :new it might get the same memory and bufref_valid() returns true. Solution: Add br_fnum to check the buffer number didn't change. https://github.com/vim/vim/commit/45e5fd135da5710f24a1acc142692f120f8b0b78
* buffer: Silence V519ZyX2017-05-20
|
* *: Comment intentional fallthroughsJames McCoy2017-05-12
| | | | | Falling through a switch case should be commented so it's clear that behavior is intentional.
* ui: cleanup UI_CALL wrappersBjörn Linse2017-05-10
| | | | remove pointless control chars in the text stream
* Merge #6597 'winhighlight'Justin M. Keyes2017-05-08
|\
| * options: consolidate updates for window string options affected by copy_winoptBjörn Linse2017-05-05
| | | | | | | | update note at options.c head about window options
* | terminal: refresh before on_exit. #5217Richard Adenling2017-05-08
|/ | | | | | | | | | References #3030 References https://github.com/radenling/vim-dispatch-neovim/issues/6 The terminal is updated by a timer, but on_exit needs the final state. Before this change, on_exit callback could see a stale terminal buffer. Helped-by: oni-link <knil.ino@gmail.com>
* lintJames McCoy2017-04-29
|
* vim-patch:7.4.2245James McCoy2017-04-29
| | | | | | | Problem: Filter test fails. Solution: Include missing changes. https://github.com/vim/vim/commit/77401add71853d7a3da7ccc489f2a1bca58551ec
* lintJustin M. Keyes2017-04-28
|
* build_stl_str_hl: Array name should be plural.Justin M. Keyes2017-04-28
|
* *: Add comment to all C filesZyX2017-04-19
|
* doc: fix typo (#6504)Shlomi Fish2017-04-19
|
* buffer: Adjust where do_buffer call is locatedZyX2017-04-16
| | | | It is located there in Vim, but in dd7657c1605246e8f7ade35184069a09dc254e84 position was for some reason swapped.
* fileio: Refactor msg_add_fname to something which needs no commentsZyX2017-04-03
|
* *: Make some more things const and with lengthZyX2017-03-29
|
* eval,*: Move get_tv_string to typval.cZyX2017-03-29
| | | | Function was renamed and changed to return `const char *`.
* *: Move some dictionary functions to typval.h and use char*ZyX2017-03-29
| | | | Also fixes buffer reusage in setmatches() and complete().
* eval: Split eval.c into smaller filesZyX2017-03-29
|
* vim-patch:7.4.2330lonerover2017-03-27
| | | | | | | Problem: Coverity complains about not checking curwin to be NULL. Solution: Use firstwin to avoid the warning. https://github.com/vim/vim/commit/030cddc7ec0c3d2fe3969140cd1b92b2f18633c0
* lintJustin M. Keyes2017-03-22
|
* vim-patch:7.4.2328Justin M. Keyes2017-03-22
| | | | | | Problem: Crash when BufWinLeave autocmd goes to another tab page. (Hirohito Higashi) Solution: Make close_buffer() go back to the right window.
* vim-patch:7.4.2324Justin M. Keyes2017-03-22
| | | | | | | | | | Problem: Crash when editing a new buffer and BufUnload autocommand wipes out the new buffer. (Norio Takagi) Solution: Don't allow wiping out this buffer. (partly by Hirohito Higashi) Move old style test13 into test_autocmd. Avoid ml_get error when editing a file. https://github.com/vim/vim/commit/e0ab94e7123ca7855f45919114d948ef2bc1e8c3
* vim-patch:7.4.2348raichoo2017-03-19
| | | | | | | Problem: Crash on exit when EXITFREE is defined. (Dominique Pelle) Solution: Don't access curwin when exiting. https://github.com/vim/vim/commit/9a27c7fde6d453d9892b6f6baa756bce4d6d419d
* vim-patch:8.0.0229raichoo2017-03-19
| | | | | | | | Problem: When freeing a buffer the local value of the 'formatprg' option is not cleared. Solution: Add missing change. https://github.com/vim/vim/commit/24a2d416ec261829ff7fd29f7b66739c96dd6513
* vim-patch:7.4.2362raichoo2017-03-19
| | | | | | | | Problem: Illegal memory access with ":1@". (Dominique Pelle) Solution: Correct cursor column after setting the line number. Also avoid calling end_visual_mode() when not in Visual mode. https://github.com/vim/vim/commit/4930a76a0357f76a829eafe4985d04cf3ce0e9e0
* vim-patch:7.4.2347raichoo2017-03-19
| | | | | | | | | Problem: Crash when closing a buffer while Visual mode is active. (Dominique Pelle) Solution: Adjust the position before computing the number of lines. When closing the current buffer stop Visual mode. https://github.com/vim/vim/commit/c4a908e83690844b0d3a46124ba6af7d23485d69
* Replace hashtab with handle buffer functionsJack Bracewell2017-03-16
|
* buffer.c: enable -Wconversion #3744Justin M. Keyes2017-03-03
|
* buffer.c: enable -Wconversion #3744Adam-K-P2017-03-02
| | | | Closes #3744
* buffer: Provide an initializer for di_keyZyX2017-02-24
|
* buffer: Remove b:changedtick from b: before freeing b:ZyX2017-02-24
| | | Avoids loosing b:changedtick value at `:bdelete`.
* eval: Do not allocate b:changedtick dictionary itemZyX2017-02-24
|
* eval: Make sure `islocked('b:.changedtick')` does not error outZyX2017-02-23
| | | Port of vim-patch:8.0.0345
* buffer: Forbid unletting b:changedtickZyX2017-02-23
|
* buffer: Bind b:changedtick to b:['changedtick'], remove special casesZyX2017-02-23
|
* coverity/13728: Null pointer dereference (#6100)Justin M. Keyes2017-02-12
| | | coverity claims that `valid_tabpage(NULL)` can return true...
* Merge pull request #5913 from mhinz/buf-lookup-patchesJames McCoy2017-02-06
|\ | | | | vim-patch:7.4.2017,7.4.2018,7.4.2021,7.4.2022,7.4.2023,7.4.2024
| * Fix clint issuesMarco Hinz2017-02-04
| |
| * vim-patch:7.4.2024Marco Hinz2017-02-04
| | | | | | | | | | | | | | | | | | | | Problem: More buf_valid() calls can be optimized. Solution: Use bufref_valid() instead. NOTE: Some changes related to channels and the Python and Netbeans interfaces were obviously left out. https://github.com/vim/vim/commit/7c0a2f367f2507669560b1a66423155c70d2e75b
| * vim-patch:7.4.2023Marco Hinz2017-02-04
| | | | | | | | | | | | | | | | | | | | | | Problem: buflist_findname_stat() may find a dummy buffer. Solution: Set the BF_DUMMY flag after loading a dummy buffer. Start finding buffers from the end of the list. NOTE: In Neovim, buflist_findname_stat() was replaced by buflist_findname_file_id() in c41535d69. https://github.com/vim/vim/commit/ea3f2e7be447a8f0c4436869620f908de5e8ef1e
| * vim-patch:7.4.2021Marco Hinz2017-02-04
| | | | | | | | | | | | | | Problem: Still too many buf_valid() calls. Solution: Make au_new_curbuf a bufref. Use bufref_valid() in more places. https://github.com/vim/vim/commit/19ff9bf454b7492be64dd87aaf0830fa7961871e
| * vim-patch:7.4.2018Marco Hinz2017-02-04
| | | | | | | | | | | | | | | | Problem: buf_valid() can be slow when there are many buffers. Solution: Add bufref_valid(), only go through the buffer list when a buffer was freed. https://github.com/vim/vim/commit/b25f9a97e9aad3cbb4bc3fe87cdbd5700f8aa0c6