summaryrefslogtreecommitdiff
path: root/src/misc1.c
Commit message (Collapse)AuthorAgeFilesLines
* patch 7.4.912v7.4.912Bram Moolenaar2015-11-101-0/+13
| | | | | Problem: Wrong indenting for C++ constructor. Solution: Recognize ::. (Anhong)
* patch 7.4.903v7.4.903Bram Moolenaar2015-10-311-2/+3
| | | | | | Problem: MS-Windows: When 'encoding' differs from the current code page, expandinig wildcards may cause illegal memory access. Solution: Allocate a longer buffer. (Ken Takata)
* patch 7.4.893v7.4.893Bram Moolenaar2015-10-131-1/+8
| | | | | | Problem: C indenting is wrong below a "case (foo):" because it is recognized as a C++ base class construct. Issue #38. Solution: Check for the case keyword.
* patch 7.4.891v7.4.891Bram Moolenaar2015-10-071-4/+19
| | | | | | Problem: Indentation of array initializer is wrong. Solution: Avoid that calling find_start_rawstring() changes the position returned by find_start_comment(), add a test. (Hirohito Higashi)
* patch 7.4.871v7.4.871Bram Moolenaar2015-09-151-20/+28
| | | | | Problem: Vim leaks memory, when 'wildignore' filters out all matches. Solution: Free the files array when it becomes empty.
* patch 7.4.845v7.4.845Bram Moolenaar2015-09-011-1/+1
| | | | | Problem: Compiler warning for possible loss of data. Solution: Add a type cast. (Erich Ritz)
* patch 7.4.832v7.4.832Bram Moolenaar2015-08-251-0/+20
| | | | | Problem: $HOME in is expanded too early. Solution: Skip over when expanding environment names.
* patch 7.4.831v7.4.831Bram Moolenaar2015-08-251-4/+9
| | | | | | Problem: When expanding on the command line and encountering an error, the command is executed anyway. Solution: Bail out when an error is detected.
* patch 7.4.803v7.4.803Bram Moolenaar2015-07-281-265/+379
| | | | | Problem: C indent does not support C11 raw strings. (Mark Lodato) Solution: Do not change indent inside the raw string.
* patch 7.4.793v7.4.793Bram Moolenaar2015-07-211-24/+28
| | | | | Problem: Can't specify when not to ring the bell. Solution: Add the 'belloff' option. (Christian Brabandt)
* patch 7.4.723v7.4.723Bram Moolenaar2015-05-041-13/+29
| | | | | Problem: For indenting, finding the C++ baseclass can be slow. Solution: Cache the result. (Hirohito Higashi)
* updated for version 7.4.684v7.4.684Bram Moolenaar2015-03-311-1/+1
| | | | | | Problem: When starting several Vim instances in diff mode, the temp files used may not be unique. (Issue 353) Solution: Add an argument to vim_tempname() to keep the file.
* updated for version 7.4.672v7.4.672Bram Moolenaar2015-03-211-2/+4
| | | | | | | Problem: When completing a shell command, directories in the current directory are not listed. Solution: When "." is not in $PATH also look in the current directory for directories.
* updated for version 7.4.670v7.4.670Bram Moolenaar2015-03-201-15/+52
| | | | | Problem: Using 'cindent' for Javascript is less than perfect. Solution: Improve indenting of continuation lines. (Hirohito Higashi)
* updated for version 7.4.657v7.4.657Bram Moolenaar2015-03-061-2/+2
| | | | | Problem: Compiler warnings for pointer mismatch. Solution: Add a typecast. (John Marriott)
* updated for version 7.4.656v7.4.656Bram Moolenaar2015-03-051-3/+10
| | | | | Problem: Missing changes for glob() in one file. Solution: Add the missing changes.
* updated for version 7.4.624v7.4.624Bram Moolenaar2015-02-101-0/+4
| | | | | Problem: May leak memory or crash when vim_realloc() returns NULL. Solution: Handle a NULL value properly. (Mike Williams)
* updated for version 7.4.423v7.4.423Bram Moolenaar2014-08-291-2/+3
| | | | | Problem: expand("$shell") does not work as documented. Solution: Do not escape the $ when expanding environment variables.
* updated for version 7.4.395v7.4.395Bram Moolenaar2014-08-061-0/+5
| | | | | | Problem: C indent is wrong below an if with wrapped condition followed by curly braces. (Trevor Powell) Solution: Make a copy of tryposBrace.
* updated for version 7.4.390v7.4.390Bram Moolenaar2014-08-061-1/+1
| | | | | Problem: Advancing pointer over end of a string. Solution: Init quote character to -1 instead of zero. (Dominique Pelle)
* updated for version 7.4.355v7.4.355Bram Moolenaar2014-07-031-37/+172
| | | | | Problem: Several problems with Javascript indenting. Solution: Improve Javascript indenting.
* updated for version 7.4.350v7.4.350Bram Moolenaar2014-07-021-2/+29
| | | | | | | Problem: Using C indenting for Javascript does not work well for a {} block inside parenthesis. Solution: When looking for a matching paren ignore one that is before the start of a {} block.
* updated for version 7.4.348v7.4.348Bram Moolenaar2014-07-021-2/+4
| | | | | | Problem: When using "J1" in 'cinoptions' a line below a continuation line gets too much indent. Solution: Fix parenthesis in condition.
* updated for version 7.4.346v7.4.346Bram Moolenaar2014-06-261-2/+2
| | | | | Problem: Indent is not updated when changing 'breakindentopt'. (itchyny) Solution: Do not cache "brishift". (Christian Brabandt)
* updated for version 7.4.345v7.4.345Bram Moolenaar2014-06-251-1/+4
| | | | | Problem: Indent is not updated when deleting indent. Solution: Remember changedtick.
* updated for version 7.4.338v7.4.338Bram Moolenaar2014-06-251-18/+81
| | | | | | Problem: Cannot wrap lines taking indent into account. Solution: Add the 'breakindent' option. (many authors, final improvements by Christian Brabandt)
* updated for version 7.4.297v7.4.297Bram Moolenaar2014-05-221-1/+1
| | | | | Problem: Memory leak from result of get_isolated_shell_name(). Solution: Free the memory. (Dominique Pelle)
* updated for version 7.4.285v7.4.285Bram Moolenaar2014-05-131-0/+3
| | | | | | Problem: When 'relativenumber' is set and deleting lines or undoing that, line numbers are not always updated. (Robert Arkwright) Solution: (Christian Brabandt)
* updated for version 7.4.279v7.4.279Bram Moolenaar2014-05-071-29/+2
| | | | | | Problem: globpath() returns a string, making it difficult to get a list of matches. (Greg Novack) Solution: Add an optional argument like with glob(). (Adnan Zafar)
* updated for version 7.4.276v7.4.276Bram Moolenaar2014-05-071-1/+39
| | | | | Problem: The fish shell is not supported. Solution: Use begin/end instead of () for fish. (Andy Russell)
* updated for version 7.4.248v7.4.248Bram Moolenaar2014-04-051-3/+8
| | | | | Problem: Cannot distinguish between NL and NUL in output of system(). Solution: Add systemlist(). (ZyX)
* updated for version 7.4.235v7.4.235Bram Moolenaar2014-04-011-1/+1
| | | | | Problem: It is not easy to get the full path of a command. Solution: Add the exepath() function.
* updated for version 7.4.201v7.4.201Bram Moolenaar2014-03-121-1/+1
| | | | | Problem: 'lispwords' is a global option. Solution: Make 'lispwords' global-local. (Sung Pae)
* updated for version 7.4.071v7.4.071Bram Moolenaar2013-11-061-140/+90
| | | | | Problem: Passing limits around too often. Solution: Use limits from buffer.
* updated for version 7.4.069v7.4.069Bram Moolenaar2013-11-051-373/+353
| | | | | | | Problem: Cannot right shift lines starting with #. Solution: Allow the right shift when 'cino' contains #N with N > 0. (Christian Brabandt) Refactor parsing 'cino', store the values in the buffer.
* updated for version 7.4.066v7.4.066Bram Moolenaar2013-11-041-3/+18
| | | | | | Problem: MS-Windows: When there is a colon in the file name (sub-stream feature) the swap file name is wrong. Solution: Change the colon to "%". (Yasuhiro Matsumoto)
* updated for version 7.4.052v7.4.052Bram Moolenaar2013-10-061-7/+15
| | | | | | | | Problem: With 'fo' set to "a2" inserting a space in the first column may cause the cursor to jump to the previous line. Solution: Handle the case when there is no comment leader properly. (Tor Perkins) Also fix that cursor is in the wrong place when spaces get replaced with a Tab.
* updated for version 7.4.022v7.4.022Bram Moolenaar2013-09-051-2/+4
| | | | | Problem: Deadlock while exiting, because of allocating memory. Solution: Do not use gettext() in deathtrap(). (James McCoy)
* updated for version 7.4b.014v7.4b.014Bram Moolenaar2013-08-031-2/+2
| | | | | Problem: Stupid mistake. Solution: Changle "len" to "i".
* updated for version 7.4b.012v7.4b.012Bram Moolenaar2013-08-031-0/+7
| | | | | Problem: Output from a shell command is truncated at a NUL. (lcd 47) Solution: Change every NUL into an SOH.
* updated for version 7.3.1295v7.3.1295Bram Moolenaar2013-07-031-3/+51
| | | | | | Problem: glob() and globpath() do not handle escaped special characters properly. Solution: Handle escaped characters differently. (Adnan Zafar)
* updated for version 7.3.1215v7.3.1215Bram Moolenaar2013-06-171-0/+2
| | | | | Problem: Compiler warning for function not defined. Solution: Add #ifdef.
* updated for version 7.3.1214v7.3.1214Bram Moolenaar2013-06-161-1/+3
| | | | | | Problem: Missing declaration for init_users() and realloc_post_list(). (Salman Halim) Solution: Add the declarations.
* updated for version 7.3.1149v7.3.1149Bram Moolenaar2013-06-081-4/+4
| | | | | | Problem: New regexp engine: Matching plain text could be faster. Solution: Detect a plain text match and handle it specifically. Add vim_regfree().
* updated for version 7.3.1123v7.3.1123Bram Moolenaar2013-06-051-1/+1
| | | | | Problem: Can't build tiny Vim on MS-Windows. Solution: Adjust #ifdef around using modif_fname(). (Mike Williams)
* updated for version 7.3.925v7.3.925Bram Moolenaar2013-05-061-1/+1
| | | | | Problem: Typos in source files. Solution: Fix the typos. (Ken Takata)
* updated for version 7.3.920v7.3.920Bram Moolenaar2013-05-041-1/+1
| | | | | Problem: Compiler warning for size_t to int. Solution: Add a type cast. (Mike Williams)
* updated for version 7.3.917v7.3.917Bram Moolenaar2013-04-241-0/+9
| | | | | | Problem: When a path ends in a backslash appending a comma has the wrong effect. Solution: Replace a trailing backslash with a slash. (Nazri Ramliy)
* updated for version 7.3.901v7.3.901Bram Moolenaar2013-04-151-1/+0
| | | | | Problem: Outdated comment, ugly condition. Solution: Update a few comments, break line.
* updated for version 7.3.874v7.3.874Bram Moolenaar2013-03-191-9/+17
| | | | | | Problem: Comparing file names does not handle multi-byte characters properly. Solution: Implement multi-byte handling.