ckelsel
04de6a64e2
vim-patch:7.4.2189
...
f71d7b9ee5
Author: Bram Moolenaar <Bram@vim.org >
Date: Tue Aug 9 22:14:05 2016 +0200
patch 7.4.2189
Problem: Cannot detect encoding in a fifo.
Solution: Extend the stdin way of detecting encoding to fifo. Add a test
for detecting encoding on stdin and fifo. (Ken Takata)
2017-07-13 23:09:03 -04:00
Björn Linse
8b375cf471
bufhl: fix move
2017-06-24 11:09:10 +02:00
Björn Linse
7873660e1e
bufhl: some style cleanup
2017-06-24 11:09:10 +02:00
Björn Linse
28a549d597
kbtree: make warning free and delete deprecated macros
2017-06-24 11:09:10 +02:00
Björn Linse
14e19b8aaf
kbtree: eliminate unneccesary heap allocation
2017-06-24 11:09:10 +02:00
Björn Linse
53cf88c27b
kbtree: use proper structs
2017-06-24 11:09:10 +02:00
Björn Linse
6712e08bba
kbtree: allow iterators to start at arbitrary position
2017-06-24 11:09:10 +02:00
Björn Linse
1eff241ec6
bufhl: use kbtree for bufhl
2017-06-24 11:09:10 +02:00
Daniel Hahler
d0ff2000b2
vim-patch:8.0.0607 ( #6879 )
...
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.
45e5fd135d
2017-06-11 15:03:02 +02:00
ZyX
a914029278
buffer: Silence V519
2017-05-20 03:28:44 +03:00
James McCoy
0ff959329b
*: Comment intentional fallthroughs
...
Falling through a switch case should be commented so it's clear that
behavior is intentional.
2017-05-12 12:01:25 -04:00
Björn Linse
7d6af9985c
ui: cleanup UI_CALL wrappers
...
remove pointless control chars in the text stream
2017-05-10 16:14:12 +02:00
Justin M. Keyes
b23aa1cf09
Merge #6597 'winhighlight'
2017-05-08 16:17:57 +02:00
Richard Adenling
a6f74debc0
terminal: refresh before on_exit. #5217
...
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 >
2017-05-08 13:49:14 +02:00
Björn Linse
443399c27d
options: consolidate updates for window string options affected by copy_winopt
...
update note at options.c head about window options
2017-05-05 10:55:07 +02:00
James McCoy
2b191ac5b9
lint
2017-04-29 23:48:28 -04:00
James McCoy
f477c23c62
vim-patch:7.4.2245
...
Problem: Filter test fails.
Solution: Include missing changes.
77401add71
2017-04-29 23:48:27 -04:00
Justin M. Keyes
0ddebbc354
lint
2017-04-28 05:33:11 +02:00
Justin M. Keyes
2b6a3819e5
build_stl_str_hl: Array name should be plural.
2017-04-28 04:11:29 +02:00
ZyX
c2f3e361c5
*: Add comment to all C files
2017-04-19 19:11:50 +03:00
Shlomi Fish
14b1becb54
doc: fix typo ( #6504 )
2017-04-19 02:20:05 +02:00
ZyX
2eb9150a4f
buffer: Adjust where do_buffer call is located
...
It is located there in Vim, but in dd7657c160
position was for some reason swapped.
2017-04-16 23:58:32 +03:00
ZyX
5dcf280445
fileio: Refactor msg_add_fname to something which needs no comments
2017-04-03 02:03:05 +03:00
ZyX
506b938947
*: Make some more things const and with length
2017-03-29 10:08:44 +03:00
ZyX
28dafe3ff0
eval,*: Move get_tv_string to typval.c
...
Function was renamed and changed to return `const char *`.
2017-03-29 10:08:05 +03:00
ZyX
e18a578308
*: Move some dictionary functions to typval.h and use char*
...
Also fixes buffer reusage in setmatches() and complete().
2017-03-29 10:07:42 +03:00
ZyX
fb146e80aa
eval: Split eval.c into smaller files
2017-03-29 10:05:06 +03:00
lonerover
85ba14af6a
vim-patch:7.4.2330
...
Problem: Coverity complains about not checking curwin to be NULL.
Solution: Use firstwin to avoid the warning.
030cddc7ec
2017-03-27 12:19:14 +08:00
Justin M. Keyes
53ccd07fa1
lint
2017-03-22 18:42:58 +01:00
Justin M. Keyes
10f6624f65
vim-patch:7.4.2328
...
Problem: Crash when BufWinLeave autocmd goes to another tab page.
(Hirohito Higashi)
Solution: Make close_buffer() go back to the right window.
2017-03-22 18:42:56 +01:00
Justin M. Keyes
165ba3e636
vim-patch:7.4.2324
...
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.
e0ab94e712
2017-03-22 18:42:16 +01:00
raichoo
db128974fc
vim-patch:7.4.2348
...
Problem: Crash on exit when EXITFREE is defined. (Dominique Pelle)
Solution: Don't access curwin when exiting.
9a27c7fde6
2017-03-19 21:14:11 +01:00
raichoo
99f2dc1341
vim-patch:8.0.0229
...
Problem: When freeing a buffer the local value of the 'formatprg' option is
not cleared.
Solution: Add missing change.
24a2d416ec
2017-03-19 21:14:11 +01:00
raichoo
86b1e7f583
vim-patch:7.4.2362
...
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.
4930a76a03
2017-03-19 21:14:11 +01:00
raichoo
ae828982ce
vim-patch:7.4.2347
...
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.
c4a908e836
2017-03-19 21:14:11 +01:00
Jack Bracewell
09583a791c
Replace hashtab with handle buffer functions
2017-03-16 18:26:46 +00:00
Justin M. Keyes
8bbdef1fd8
buffer.c: enable -Wconversion #3744
2017-03-03 00:15:42 +01:00
Adam-K-P
165d525abd
buffer.c: enable -Wconversion #3744
...
Closes #3744
2017-03-02 22:46:11 +01:00
ZyX
5f7d8f889c
buffer: Provide an initializer for di_key
2017-02-24 20:14:01 +03:00
ZyX
dfb28c524c
buffer: Remove b:changedtick from b: before freeing b:
...
Avoids loosing b:changedtick value at `:bdelete`.
2017-02-24 05:10:31 +03:00
ZyX
cd8f07cb75
eval: Do not allocate b:changedtick dictionary item
2017-02-24 02:47:43 +03:00
ZyX
9668d26a43
eval: Make sure islocked('b:.changedtick')
does not error out
...
Port of vim-patch:8.0.0345
2017-02-23 19:48:41 +03:00
ZyX
3277eff31a
buffer: Forbid unletting b:changedtick
2017-02-23 19:46:45 +03:00
ZyX
4f10d42f82
buffer: Bind b:changedtick to b:['changedtick'], remove special cases
2017-02-23 19:46:44 +03:00
Justin M. Keyes
770d60d904
coverity/13728: Null pointer dereference ( #6100 )
...
coverity claims that `valid_tabpage(NULL)` can return true...
2017-02-12 21:09:52 +01:00
James McCoy
11efbc80e3
Merge pull request #5913 from mhinz/buf-lookup-patches
...
vim-patch:7.4.2017,7.4.2018,7.4.2021,7.4.2022,7.4.2023,7.4.2024
2017-02-06 10:20:49 -05:00
Marco Hinz
b0cf071d43
Fix clint issues
2017-02-04 17:55:46 -05:00
Marco Hinz
c05e7f0fdd
vim-patch:7.4.2024
...
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.
7c0a2f367f
2017-02-04 17:55:46 -05:00
Marco Hinz
e3b92c77da
vim-patch:7.4.2023
...
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
.
ea3f2e7be4
2017-02-04 17:55:45 -05:00
Marco Hinz
1836f3cb9b
vim-patch:7.4.2021
...
Problem: Still too many buf_valid() calls.
Solution: Make au_new_curbuf a bufref. Use bufref_valid() in more places.
19ff9bf454
2017-02-04 17:55:45 -05:00