summaryrefslogtreecommitdiff
path: root/src/structs.h
Commit message (Collapse)AuthorAgeFilesLines
* patch 7.4.2344v7.4.2344Bram Moolenaar2016-09-071-0/+6
| | | | | | | Problem: The "Reading from channel output..." message can be unwanted. Appending to a buffer leaves an empty first line behind. Solution: Add the "out_msg" and "err_msg" options. Writing the first line overwrites the first, empty line.
* patch 7.4.2332v7.4.2332Bram Moolenaar2016-09-051-2/+3
| | | | | | | Problem: Crash when stop_timer() is called in a callback of a callback. Vim hangs when the timer callback uses too much time. Solution: Set tr_id to -1 when a timer is to be deleted. Don't keep calling callbacks forever. (Ozaki Kiichi)
* patch 7.4.2324v7.4.2324Bram Moolenaar2016-09-041-2/+2
| | | | | | | | 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.
* patch 7.4.2293v7.4.2293Bram Moolenaar2016-08-291-1/+1
| | | | | Problem: Modelines in source code are inconsistant. Solution: Use the same line in most files. Add 'noet'. (Naruhiko Nishino)
* patch 7.4.2285v7.4.2285Bram Moolenaar2016-08-281-0/+5
| | | | | Problem: Generated files are outdated. Solution: Generate the files. Avoid errors when generating prototypes.
* patch 7.4.2263v7.4.2263Bram Moolenaar2016-08-261-0/+1
| | | | | | | Problem: :filter does not work for many commands. Can only get matching messages. Solution: Make :filter work for :command, :map, :list, :number and :print. Make ":filter!" show non-matching lines.
* patch 7.4.2251v7.4.2251Bram Moolenaar2016-08-241-1/+1
| | | | | Problem: In rare cases diffing 4 buffers is not enough. Solution: Raise the limit to 8. (closes #1000)
* patch 7.4.2244v7.4.2244Bram Moolenaar2016-08-231-0/+1
| | | | | | Problem: Adding pattern to ":oldfiles" is not a generic solution. Solution: Add the ":filter /pat/ cmd" command modifier. Only works for some commands right now.
* patch 7.4.2243v7.4.2243Bram Moolenaar2016-08-221-4/+3
| | | | | | Problem: Warning for assigning negative value to unsigned. (Danek Duvall) Solution: Make cterm_normal_fg_gui_color and _bg_ guicolor_T, cast to long_u only when an unsigned is needed.
* patch 7.4.2217v7.4.2217Bram Moolenaar2016-08-161-0/+2
| | | | | | Problem: When using matchaddpos() a character after the end of the line can be highlighted. Solution: Only highlight existing characters. (Hirohito Higashi)
* patch 7.4.2201v7.4.2201Bram Moolenaar2016-08-121-0/+4
| | | | | Problem: The sign column disappears when the last sign is deleted. Solution: Add the 'signcolumn' option. (Christian Brabandt)
* patch 7.4.2180v7.4.2180Bram Moolenaar2016-08-071-0/+1
| | | | | | Problem: There is no easy way to stop all timers. There is no way to temporary pause a timer. Solution: Add timer_stopall() and timer_pause().
* patch 7.4.2176v7.4.2176Bram Moolenaar2016-08-071-1/+3
| | | | | | Problem: #ifdefs in main() are complicated. Solution: Always define vim_main2(). Move params to the file level. (suggested by Ken Takata)
* patch 7.4.2142v7.4.2142Bram Moolenaar2016-08-011-3/+5
| | | | | | | Problem: Leaking memory when redefining a function. Solution: Don't increment the function reference count when it's found by name. Don't remove the wrong function from the hashtab. More reference counting fixes.
* patch 7.4.2140v7.4.2140Bram Moolenaar2016-08-011-0/+10
| | | | | Problem: Tiny build fails. Solution: Add dummy typedefs.
* patch 7.4.2137v7.4.2137Bram Moolenaar2016-08-011-1/+91
| | | | | | | Problem: Using function() with a name will find another function when it is redefined. Solution: Add funcref(). Refer to lambda using a partial. Fix several reference counting issues.
* patch 7.4.2090v7.4.2090Bram Moolenaar2016-07-221-0/+8
| | | | | | Problem: Using submatch() in a lambda passed to substitute() is verbose. Solution: Use a static list and pass it as an optional argument to the function. Fix memory leak.
* patch 7.4.2081v7.4.2081Bram Moolenaar2016-07-201-0/+2
| | | | | Problem: Line numbers in the error list are not always adjusted. Solution: Set b_has_qf_entry properly. (Yegappan Lakshmanan)
* patch 7.4.2058v7.4.2058Bram Moolenaar2016-07-171-0/+45
| | | | | Problem: eval.c is too big. Solution: Move user functions to userfunc.c
* patch 7.4.2051v7.4.2051Bram Moolenaar2016-07-161-0/+64
| | | | | Problem: No proper testing of trunc_string(). Solution: Add a unittest for message.c.
* patch 7.4.2036v7.4.2036Bram Moolenaar2016-07-141-0/+3
| | | | | Problem: Looking up a buffer by number is slow if there are many. Solution: Use a hashtab.
* patch 7.4.2024v7.4.2024Bram Moolenaar2016-07-101-2/+2
| | | | | Problem: More buf_valid() calls can be optimized. Solution: Use bufref_valid() instead.
* patch 7.4.2018v7.4.2018Bram Moolenaar2016-07-101-0/+8
| | | | | | 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.
* patch 7.4.1988v7.4.1988Bram Moolenaar2016-07-031-0/+4
| | | | | | Problem: When updating viminfo with file marks there is no time order. Solution: Remember the time when a buffer was last used, store marks for the most recently used buffers.
* patch 7.4.1976v7.4.1976Bram Moolenaar2016-07-011-3/+21
| | | | | Problem: Number variables are not 64 bits while they could be. Solution: Add the num64 feature. (Ken Takata)
* patch 7.4.1975v7.4.1975Bram Moolenaar2016-07-011-1/+1
| | | | | | Problem: On MS-Windows large files (> 2Gbyte) cause problems. Solution: Use "off_T" instead of "off_t". Use "stat_T" instead of "struct stat". Use 64 bit system functions if available. (Ken Takata)
* patch 7.4.1955v7.4.1955Bram Moolenaar2016-06-261-3/+3
| | | | | | Problem: Using 32-bit Perl with 64-bit time_t causes memory corruption. (Christian Brabandt) Solution: Use time_T instead of time_t for global variables. (Ken Takata)
* patch 7.4.1925v7.4.1925Bram Moolenaar2016-06-121-1/+4
| | | | | Problem: Viminfo does not merge file marks properly. Solution: Use a timestamp. Add the :clearjumps command.
* patch 7.4.1903v7.4.1903Bram Moolenaar2016-06-061-0/+1
| | | | | | | | Problem: When writing viminfo merging current history with history in viminfo may drop recent history entries. Solution: Add new format for viminfo lines, use it for history entries. Use a timestamp for ordering the entries. Add test_settime(). Add the viminfo version. Does not do merging on timestamp yet.
* patch 7.4.1891v7.4.1891Bram Moolenaar2016-06-041-0/+1
| | | | | Problem: Channel reading very long lines is slow. Solution: Collapse multiple buffers until a NL is found.
* patch 7.4.1884v7.4.1884Bram Moolenaar2016-06-031-2/+3
| | | | | | Problem: Updating marks in a quickfix list is very slow when the list is long. Solution: Only update marks if the buffer has a quickfix entry.
* patch 7.4.1859v7.4.1859Bram Moolenaar2016-05-291-1/+0
| | | | | Problem: Cannot use a function reference for "exit_cb". Solution: Use get_callback(). (Yegappan Lakshmanan)
* patch 7.4.1857v7.4.1857Bram Moolenaar2016-05-291-0/+5
| | | | | | | Problem: When a channel appends to a buffer that is 'nomodifiable' there is an error but appending is done anyway. Solution: Add the 'modifiable' option. Refuse to write to a 'nomodifiable' when the value is 1.
* patch 7.4.1836v7.4.1836Bram Moolenaar2016-05-241-0/+2
| | | | | | | Problem: When using a partial on a dictionary it always gets bound to that dictionary. Solution: Make a difference between binding a function to a dictionary explicitly or automatically.
* patch 7.4.1827v7.4.1827Bram Moolenaar2016-05-091-0/+2
| | | | | Problem: No error when invoking a callback when it's not safe. Solution: Add an error message. Avoid the error when freeing a channel.
* patch 7.4.1826v7.4.1826Bram Moolenaar2016-05-091-0/+3
| | | | | | Problem: Callbacks are invoked when it's not safe. (Andrew Stewart) Solution: When a channel is to be closed don't invoke callbacks right away, wait for a safe moment.
* patch 7.4.1799v7.4.1799Bram Moolenaar2016-04-291-2/+2
| | | | | Problem: 'guicolors' is a confusing option name. Solution: Use 'termguicolors' instead. (Hirohito Higashi)
* patch 7.4.1770v7.4.1770Bram Moolenaar2016-04-211-1/+7
| | | | | Problem: Cannot use true color in the terminal. Solution: Add the 'guicolors' option. (Nikolai Pavlov)
* patch 7.4.1719v7.4.1719Bram Moolenaar2016-04-081-1/+4
| | | | | | | | Problem: Leaking memory when there is a cycle involving a job and a partial. Solution: Add a copyID to job and channel. Set references in items referred by them. Go through all jobs and channels to find unreferenced items. Also, decrement reference counts when garbage collecting.
* patch 7.4.1669v7.4.1669Bram Moolenaar2016-03-281-1/+6
| | | | | Problem: When writing buffer lines to a pipe Vim may block. Solution: Avoid blocking, write more lines later.
* patch 7.4.1666v7.4.1666Bram Moolenaar2016-03-281-0/+1
| | | | | Problem: When reading JSON from a channel all readahead is used. Solution: Use the fill function to reduce overhead.
* patch 7.4.1648v7.4.1648Bram Moolenaar2016-03-251-0/+9
| | | | | | Problem: Compiler has a problem copying a string into di_key[]. (Yegappan Lakshmanan) Solution: Add dictitem16_T.
* patch 7.4.1626v7.4.1626Bram Moolenaar2016-03-201-8/+12
| | | | | Problem: Missing changes to structs. Solution: Include the changes.
* patch 7.4.1623v7.4.1623Bram Moolenaar2016-03-201-0/+1
| | | | | Problem: All Channels share the message ID, it keeps getting bigger. Solution: Use a message ID per channel.
* patch 7.4.1617v7.4.1617Bram Moolenaar2016-03-201-0/+8
| | | | | Problem: When a JSON message is split it isn't decoded. Solution: Wait a short time for the rest of the message to arrive.
* patch 7.4.1611v7.4.1611Bram Moolenaar2016-03-191-3/+1
| | | | | | Problem: The versplit feature makes the code uneccessary complicated. Solution: Remove FEAT_VERTSPLIT, always support vertical splits when FEAT_WINDOWS is defined.
* patch 7.4.1578v7.4.1578Bram Moolenaar2016-03-151-0/+15
| | | | | Problem: There is no way to invoke a function later or periodically. Solution: Add timer support.
* patch 7.4.1560v7.4.1560Bram Moolenaar2016-03-141-12/+12
| | | | | Problem: Dict options with a dash are more difficult to use. Solution: Use an underscore, so that dict.err_io can be used.
* patch 7.4.1559v7.4.1559Bram Moolenaar2016-03-141-1/+23
| | | | | Problem: Passing cookie to a callback is clumsy. Solution: Change function() to take arguments and return a partial.
* patch 7.4.1557v7.4.1557Bram Moolenaar2016-03-131-0/+2
| | | | | Problem: Windows cannot be identified. Solution: Add a unique window number to each window and functions to use it.