0
0
mirror of https://github.com/vim/vim.git synced 2025-07-04 23:07:33 -04:00

9995 Commits

Author SHA1 Message Date
Bram Moolenaar
1ab74a5af3 patch 8.1.1434: test 3 is old style
Problem:    Test 3 is old style.
Solution:   Turn into a new style test. (Yegappan Lakshmanan, closes #4460)
v8.1.1434
2019-05-31 20:02:53 +02:00
Bram Moolenaar
eea1699836 patch 8.1.1433: win_execute() may leave popup window focused
Problem:    Win_execute() may leave popup window focused, eventually leading
            to a crash. (Bjorn Linse)
Solution:   When previous window was closed, go to the first window.
v8.1.1433
2019-05-31 17:34:48 +02:00
Bram Moolenaar
ccd6e3471d patch 8.1.1432: can't build with eval feature
Problem:    Can't build with eval feature.
Solution:   Add missing rename.
v8.1.1432
2019-05-30 22:35:18 +02:00
Bram Moolenaar
c6896e20f8 patch 8.1.1431: popup window listed as "Scratch"
Problem:    Popup window listed as "Scratch".
Solution:   List them as "Popup".
v8.1.1431
2019-05-30 22:32:34 +02:00
Bram Moolenaar
402502d0e4 patch 8.1.1430: popup window option "wrap" not supported
Problem:    Popup window option "wrap" not supported.
Solution:   Implement it.
v8.1.1430
2019-05-30 22:07:36 +02:00
Bram Moolenaar
ac1f1bc222 patch 8.1.1429: "pos" option of popup window not supported yet
Problem:    "pos" option of popup window not supported yet.
Solution:   Implement the option. Rename popup_getposition() to
            popup_getpos().
v8.1.1429
2019-05-30 21:24:26 +02:00
Bram Moolenaar
cc31ad9f9b patch 8.1.1428: popup_atcursor() not implemented yet
Problem:    Popup_atcursor() not implemented yet.
Solution:   Implement it. (Yasuhiro Matsumoto, closes #4456)
v8.1.1428
2019-05-30 19:25:06 +02:00
Bram Moolenaar
54fabd4b5e patch 8.1.1427: popup window screenshot test fails
Problem:    Popup window screenshot test fails.
Solution:   Add missing change to popup window code.
v8.1.1427
2019-05-30 19:03:22 +02:00
Bram Moolenaar
b42301247d patch 8.1.1426: no test for syntax highlight in popup window
Problem:    No test for syntax highlight in popup window.
Solution:   Add a screenshot test.  Update associated documentation. Avoid
            'buftype' being reset by setbufvar().
v8.1.1426
2019-05-30 18:40:53 +02:00
Bram Moolenaar
89adc3a137 patch 8.1.1425: win_execute() does not set window pointers properly
Problem:    Win_execute() does not set window pointers properly.
Solution:   Use switch_win_noblock().  Also execute autocommands in a popup
            window.
v8.1.1425
2019-05-30 17:29:40 +02:00
Bram Moolenaar
5c3fb04623 patch 8.1.1424: crash when popup menu is deleted while waiting for char
Problem:    Crash when popup menu is deleted while waiting for char.
Solution:   Bail out when pum_array was cleared.
v8.1.1424
2019-05-30 15:53:29 +02:00
Bram Moolenaar
cacc6a5c98 patch 8.1.1423: popup windows use options from current window and buffer
Problem:    Popup windows use options from current window and buffer.
Solution:   Clear all local options when creating a popup window.
v8.1.1423
2019-05-30 15:22:43 +02:00
Bram Moolenaar
8c2a600f72 patch 8.1.1422: popup_getoptions() not implemented yet
Problem:    Popup_getoptions() not implemented yet.
Solution:   Implement it. (closes #4452)
v8.1.1422
2019-05-30 14:29:45 +02:00
Bram Moolenaar
1714696600 patch 8.1.1421: drawing "~" line in popup window
Problem:    Drawing "~" line in popup window.
Solution:   Just draw text in the last line of the popup window.
v8.1.1421
2019-05-30 00:12:11 +02:00
Bram Moolenaar
88c4e1f069 patch 8.1.1420: popup window size only uses first line length
Problem:    Popup window size only uses first line length.
Solution:   Use the longest line. (Ben Jackson, closes #4451)  Also deal with
            wrapping lines.
v8.1.1420
2019-05-29 23:14:28 +02:00
Bram Moolenaar
68a4b04a8d patch 8.1.1419: listener callbacks may be called recursively
Problem:    Listener callbacks may be called recursively.
Solution:   Set "updating_screen" while listener callbacks are invoked.
v8.1.1419
2019-05-29 22:28:29 +02:00
Bram Moolenaar
868b7b6712 patch 8.1.1418: win_execute() is not implemented yet
Problem:    Win_execute() is not implemented yet.
Solution:   Implement it.
v8.1.1418
2019-05-29 21:44:40 +02:00
Bram Moolenaar
1bbebab525 patch 8.1.1417: MS-Windows: resolve() does not resolve all components of path
Problem:    MS-Windows: resolve() does not resolve all components of the path.
            (David Briscoe)
Solution:   Do not bail out for a reparse point. (Yasuhiro Matsumoto,
            closes #4211, closes #4447)
v8.1.1417
2019-05-29 20:36:54 +02:00
Bram Moolenaar
bc133543b8 patch 8.1.1416: popup_getposition() not implemented yet
Problem:    Popup_getposition() not implemented yet.
Solution:   Implement it. (Yasuhiro Matsumoto, closes #4449)
v8.1.1416
2019-05-29 20:26:46 +02:00
Bram Moolenaar
59edb00e22 patch 8.1.1415: build error in MS-Windows GUI
Problem:    Build error in MS-Windows GUI.
Solution:   Fix the LALLOC_MULT() argument.
v8.1.1415
2019-05-28 23:32:47 +02:00
Bram Moolenaar
c799fe206e patch 8.1.1414: alloc() returning "char_u *" causes a lot of type casts
Problem:    Alloc() returning "char_u *" causes a lot of type casts.
Solution:   Have it return "void *". (Mike Williams)  Define ALLOC_ONE() to
            check the simple allocations.
v8.1.1414
2019-05-28 23:08:19 +02:00
Bram Moolenaar
b58a4b938c patch 8.1.1413: error when the drive of the swap file was disconnected
Problem:    Error when the drive of the swap file was disconnected.
Solution:   Try closing and re-opening the swap file. (closes #4378)
v8.1.1413
2019-05-27 23:36:21 +02:00
Bram Moolenaar
72fcf07b06 patch 8.1.1412: test 30 is old style
Problem:    Test 30 is old style.
Solution:   Turn it into a new style test. (Yegappan Lakshmanan, closes #4440)
v8.1.1412
2019-05-27 22:21:44 +02:00
Bram Moolenaar
7833dab73c patch 8.1.1411: Coverity warns for divide by zero
Problem:    Coverity warns for divide by zero.
Solution:   Make sure width is larger than zero.
v8.1.1411
2019-05-27 22:01:40 +02:00
Bram Moolenaar
60cdb3004a patch 8.1.1410: popup_move() is not implemented yet
Problem:    Popup_move() is not implemented yet.
Solution:   Implement it. (Yasuhiro Matsumoto, closes #4441)  Improve the
            positioning and resizing.
v8.1.1410
2019-05-27 21:54:10 +02:00
Bram Moolenaar
b43683729b patch 8.1.1409: Coverity warns for using uninitialized memory
Problem:    Coverity warns for using uninitialized memory.
Solution:   Add a condition to clearing the growarray.
v8.1.1409
2019-05-27 20:01:41 +02:00
Bram Moolenaar
bf0ecb2cb6 patch 8.1.1408: PFL_HIDDEN conflicts with system header file
Problem:    PFL_HIDDEN conflicts with system header file.
Solution:   Rename to POPF_HIDDEN.
v8.1.1408
2019-05-27 10:04:40 +02:00
Bram Moolenaar
7a8d0278bd patch 8.1.1407: popup_create() does not support text properties
Problem:    Popup_create() does not support text properties.
Solution:   Support the third form of the text argument.
v8.1.1407
2019-05-26 23:32:06 +02:00
Bram Moolenaar
2cd0dce898 patch 8.1.1406: popup_hide() and popup_show() not implemented yet
Problem:    popup_hide() and popup_show() not implemented yet.
Solution:   Implement the functions.
v8.1.1406
2019-05-26 22:17:52 +02:00
Bram Moolenaar
68e6560b84 Update runtime files. 2019-05-26 21:33:31 +02:00
Bram Moolenaar
20c023aee0 patch 8.1.1405: "highlight" option of popup windows not supported
Problem:    "highlight" option of popup windows not supported.
Solution:   Implement the "highlight" option.
v8.1.1405
2019-05-26 21:03:24 +02:00
Bram Moolenaar
9d591525a5 patch 8.1.1404: cannot change the patch level when building with NSIS
Problem:    Cannot change the patch level when building with NSIS.
Solution:   Use $PATCHLEVEL if defined. (Christian Brabandt)
v8.1.1404
2019-05-26 20:49:42 +02:00
Bram Moolenaar
35d5af6c0b patch 8.1.1403: cannot build without the timer feature
Problem:    Cannot build without the timer feature.
Solution:   Add #ifdef.
v8.1.1403
2019-05-26 20:44:10 +02:00
Bram Moolenaar
51fe3b14f6 patch 8.1.1402: "timer" option of popup windows not supported
Problem:    "timer" option of popup windows not supported.
Solution:   Implement the "timer" option. (Yasuhiro Matsumoto, closes #4439)
v8.1.1402
2019-05-26 20:10:06 +02:00
Bram Moolenaar
076073950c patch 8.1.1401: misspelled mkspellmem as makespellmem
Problem:    Misspelled mkspellmem as makespellmem.
Solution:   Drop duplicate help entry, fix test. (Naruhiko Nishino, Ken
            Takata, closes #4437)
v8.1.1401
2019-05-26 19:20:43 +02:00
Bram Moolenaar
9c27b1c6d1 patch 8.1.1400: using global pointer for tab-local popups is clumsy
Problem:    Using global pointer for tab-local popups is clumsy.
Solution:   Use the pointer in tabpage_T.
v8.1.1400
2019-05-26 18:48:13 +02:00
Bram Moolenaar
ec58384afa patch 8.1.1399: popup windows not adjusted when switching tabs
Problem:    Popup windows not adjusted when switching tabs.
Solution:   Save and restore first_tab_popupwin. Fix closing a tabpage.
v8.1.1399
2019-05-26 14:11:23 +02:00
Bram Moolenaar
a8c99fb78e patch 8.1.1398: duplicate line in MSVC build file
Problem:    Duplicate line in MSVC build file.
Solution:   Remove the line. (Ken Takata, closes #4436)
v8.1.1398
2019-05-26 13:14:02 +02:00
Bram Moolenaar
80f95425cf patch 8.1.1397: build fails in tiny version
Problem:    Build fails in tiny version.
Solution:   Always define hl_combine_attr().
v8.1.1397
2019-05-25 23:42:13 +02:00
Bram Moolenaar
193ffd1d9f patch 8.1.1396: 'wincolor' does not apply to lines below the buffer
Problem:    'wincolor' does not apply to lines below the buffer.
Solution:   Also apply 'wincolor' to the "~" lines and the number column.
v8.1.1396
2019-05-25 22:57:30 +02:00
Bram Moolenaar
adfde115d5 patch 8.1.1395: saving for undo may access invalid memory
Problem:    Saving for undo may access invalid memory. (Dominique Pelle)
Solution:   Set ml_line_len also when returning a constant string.
v8.1.1395
2019-05-25 22:11:45 +02:00
Bram Moolenaar
a5e44600eb patch 8.1.1394: not restoring t_F2 in registers test
Problem:    Not restoring t_F2 in registers test.
Solution:   Assign to &t_F2 instead of t_F2. (Andy Massimino, closes #4434)
v8.1.1394
2019-05-25 21:52:30 +02:00
Bram Moolenaar
51e14387f1 patch 8.1.1393: unnecessary type casts
Problem:    Unnecessary type casts.
Solution:   Remove type casts from alloc() and lalloc() calls. (Mike Williams)
v8.1.1393
2019-05-25 20:21:28 +02:00
Bram Moolenaar
682725c141 patch 8.1.1392: build failure in tiny version
Problem:    Build failure in tiny version.
Solution:   Define ex_popupclear to ex_ni if not implemented.  Add UNUSED.
v8.1.1392
2019-05-25 20:10:37 +02:00
Bram Moolenaar
4d784b21d1 patch 8.1.1391: no popup window support
Problem:    No popup window support.
Solution:   Add initial code for popup windows.  Add the 'wincolor' option.
v8.1.1391
2019-05-25 19:51:39 +02:00
Bram Moolenaar
8f46e4c4bd patch 8.1.1390: search stats are off when using count or offset
Problem:    Search stats are off when using count or offset.
Solution:   Recompute the stats when needed. (Masato Nishihata, closes #4410)
v8.1.1390
2019-05-24 22:08:15 +02:00
Bram Moolenaar
7b31a181c8 patch 8.1.1389: changes are not flushed when end and start overlap
Problem:    Changes are not flushed when end and start overlap. (Paul Jolly)
Solution:   When end of a previous changes overlaps with start of a new
            change, first flush listeners.
v8.1.1389
2019-05-24 21:39:27 +02:00
Bram Moolenaar
f0884c5f3f patch 8.1.1388: errors when calling prop_remove() for an unloaded buffer
Problem:    Errors when calling prop_remove() for an unloaded buffer.
Solution:   Bail out when the buffer is not loaded.  Add a few more tests for
            failing when the buffer number is invalid.
v8.1.1388
2019-05-24 21:22:29 +02:00
Bram Moolenaar
d79eef2eb1 patch 8.1.1387: calling prop_add() in an empty buffer doesn't work
Problem:    Calling prop_add() in an empty buffer doesn't work. (Dominique
            Pelle)
Solution:   Open the memline before adding a text property. (closes #4412)
v8.1.1387
2019-05-24 20:41:55 +02:00
Bram Moolenaar
18a4ba29ae patch 8.1.1386: unessesary type casts for lalloc()
Problem:    Unessesary type casts for lalloc().
Solution:   Remove type casts.  Change lalloc(size, TRUE) to alloc(size).
v8.1.1386
2019-05-24 19:39:03 +02:00