aboutsummaryrefslogtreecommitdiff
path: root/src/nvim
Commit message (Collapse)AuthorAge
* build: upgrade msgpack-c #1900Michael Reed2015-02-09
| | | | | | | closes #1899 closes #1967 refs https://github.com/msgpack/msgpack-c/pull/194
* Remove 'ttyfast'Michael Reed2015-02-08
| | | | | | | | refs #1045 #1051 This was enabled by default a while ago (#1051), and has apparently not created any issues. The amount of actual code related to it is tiny, so it has been removed.
* Remove vimdiffMichael Reed2015-02-03
| | | | | | | While we're here: - Remove references to the '+diff' feature, which has since been made non-optional. - Update a few Vim instances with Nvim.
* main.c: usage() improvementMichael Reed2015-02-03
| | | | | | | | | | | | | | | - Factor out main_msg() in favor of mch_msg() and manual indentation, as to provide a much closer representation to the actual output of '--help'. 'gcc -E' reveals that main_msg() only consists of 3 printf calls anyways. - Factor out for loop used for printing top part of usage text; just print the text normally. usage() text: - Don't print the version; that's what '--version' is for. - Be consistent about nomenclature, e.g. '<arg>' denotes required argument, '-h | --help' denotes '-h' and '--help' are equivalent, etc. - Change some instances of vim{,rc,info} to nvim
* Enable -Wconversion for version.c #1923Lucas Hermann Negri2015-02-02
|
* api/vim: allow guis and tests to retrieve the entire color tableBjörn Linse2015-02-02
|
* coverity/13810: Unitialized scalar variable: HI.Eliseo Martínez2015-02-02
| | | | | | | | | Problem : Unitialized scalar variable @ 3239. Diagnostic : Harmless issue. Rationale : It's true pos.coladd is not initialized when calling searchit(). But that's no problem, as coladd is only set in that function. Resolution : Initialize variable to 0.
* coverity/13745: Argument cannot be negative: RI.Eliseo Martínez2015-02-02
| | | | | | | | | | | Problem : Argument cannot be negative @ 1165. Diagnostic : Real issue. Rationale : len can be assigned a negative value @ 1162; len is passed as an unsigned argument @ 1165. Resolution : Refactor variable's types: - Use ftello instead of ftell to avoid using long. - Assert ftello result is safely convertible to size_t. - Introduce variable read_size to avoid using i (int).
* coverity/15019: String not null terminated: FP.Eliseo Martínez2015-02-02
| | | | | | | | Problem : String not null terminated @ 1165. Diagnostic : False positive. Rationale : Code below terminates string (with NUL or '\n'). Resolution : Add explanatory comment, and assert termination. Mark as Intentional at coverity's database.
* coverity/68610: Out-of-bounds access: FP.Eliseo Martínez2015-02-02
| | | | | | | | | | Diagnostic : False positive. Rationale : Coverity thinks we are forgetting to add more char to hold NULL, but it's not taking into account that two chars from cntxformat will no be present in the result. In fact, we can even allocate one byte less than currently done. Resolution : Add explanatory comment and allocate one less byte. Marked as "Intentional" at coverity's database.
* coverity/13750: Negative array index read: FP.Eliseo Martínez2015-02-02
| | | | | | | | | | Problem : Negative array index read @ 909. Diagnostic : False positive. Rationale : Suggested error path assigns a negative value to idx at line 836 (`idx = find_command(ca.cmdchar);`). That's impossible, as `ca.cmdchar` is set to Ctrl_BSL just two lines above, so we know that value will be in the table. Resolution : Assert idx >= 0.
* Add EndOfBuffer hl group for ~ lines after the last line in buffersMarco Hinz2015-02-02
| | | | | | | | This makes it possible to highlight the lines starting with ~ at the end of buffers and other elements highlighted using NonText. As proposed by mhinz at https://groups.google.com/forum/#!topic/vim_dev/p3de1iU1GXI/discussion
* Merge pull request #1834 from Pyrohh/misc-float-doubleJustin M. Keyes2015-01-29
|\ | | | | Factor out float usage & remove '+float' references
| * Remove '+float' referencesMichael Reed2015-01-24
| | | | | | | | | | The corresponding code was already removed in b4ca3abc9f6676ea250e42c834716a5f66d8ec30
| * hardcopy.c: Factor out float usageMichael Reed2015-01-24
| |
* | clipboard: don't clobber "0 when deleting to unnamedBjörn Linse2015-01-27
| |
* | Remove spurious file 'del' left after old tests.Eliseo Martínez2015-01-27
| | | | | | | | | | Executing old tests leaves an empty file 'del' that doesn't get removed by `make clean`.
* | Merge pull request #1867 from elmart/nonnull-deadcodeJustin M. Keyes2015-01-26
|\ \ | | | | | | Remove deadcode due to nonnullret funcs.
| * | Remove nonnullret deadcode: xmalloc & xrealloc.Eliseo Martínez2015-01-27
| | |
| * | Remove nonnullret deadcode: xmalloc.Eliseo Martínez2015-01-27
| | |
| * | Remove nonnullret deadcode: xcalloc.Eliseo Martínez2015-01-27
| | |
| * | Remove nonnullret deadcode: viminfo_readstring.Eliseo Martínez2015-01-27
| | |
| * | Remove nonnullret deadcode: vim_strsave.Eliseo Martínez2015-01-27
| | |
| * | Remove nonnullret deadcode: transstr.Eliseo Martínez2015-01-27
| | |
| * | Remove nonnullret deadcode: str_foldcase & vim_strnsave.Eliseo Martínez2015-01-27
| | |
| * | Remove nonnullret deadcode: home_replace_save.Eliseo Martínez2015-01-27
| | |
| * | Remove nonnullret deadcode: getroom.Eliseo Martínez2015-01-27
| | |
| * | Remove nonnullret deadcode: enc_canonize.Eliseo Martínez2015-01-27
| | |
| * | Remove nonnullret deadcode: addstar.Eliseo Martínez2015-01-27
| | |
| * | Remove nonnullret deadcode: Mark new nonnullret functions.Eliseo Martínez2015-01-27
| | |
* | | api/*.c: Comment cleanupMichael Reed2015-01-26
|/ / | | | | | | | | | | - @justinmk: Clarify comments - Match verbiage used in other api/*.c files - Fix a few typos/missing words
* | tools: add .clang-formatFelipe Morales2015-01-26
| | | | | | | | | | | | | | | | | | | | Configuration for clang-format and related utilities. Examples: clang-format -style=file <file> git clang-format -style=file <commit> git diff -U0 HEAD^ | clang-format-diff.py -i -p1 -style=file
* | vim-patch: Mark 7.4.522, 7.4.591 as NA.Florian Walch2015-01-26
| |
* | vim-patch:7.4.517Florian Walch2015-01-26
| | | | | | | | | | | | | | | | Problem: With a wrapping line the cursor may not end up in the right place. (Nazri Ramliy) Solution: Adjust n_extra for a Tab that wraps. (Christian Brabandt) https://code.google.com/p/vim/source/detail?r=v7-4-517
* | vim-patch:7.4.514Florian Walch2015-01-26
| | | | | | | | | | | | | | Problem: Memory access error. (Dominique Pelle) Solution: Update tpos. (Christian Brabandt) https://code.google.com/p/vim/source/detail?r=v7-4-514
* | vim-patch:31f7581Florian Walch2015-01-26
| | | | | | | | | | | | Update runtime files and translations. https://code.google.com/p/vim/source/detail?r=31f7581068a9c3119e3bd2cd74160eb8282c3c6e
* | fix #1839: decrement mouse row and colglebtv2015-01-26
|/ | | | - regression by 04c0658024a98a0586997f0ea8af1e3f774cc83e
* main.c: Misc. improvementsMichael Reed2015-01-23
| | | | | | | | | | | | | | | | | | | | | | | | - Constify parameters and reduce char_u usage - Modernize function signatures - Modernize function comment blocks, rewriting if needed - Factor out mainerr_arg_missing(); all the other ME_* macros lack such a wrapper function. main_errors[] - Remove unneeded parentheses - Remove an unused error string and its respective macro mainerr() - Don't print version when called. mainerr() only handles errors related to command line arguments, so the version isn't much help at all. - Changed 'vim' instance to 'nvim' Misc. - Remove duplicate include - Replace unneeded 'inttypes.h' include with 'stdint.h' - Remove stray comments - Remove excessive newlines
* main.c: Enable -WconversionMichael Reed2015-01-23
|
* test: Migrate legacy test 107Thiago de Arruda2015-01-23
| | | | | This test depends on terminal size to work correctly. After migration this requirement is removed.
* Merge pull request #1850 from JackDanger/halfway-a-lineJustin M. Keyes2015-01-22
|\ | | | | doc: "halfway a line" is a very confusing phrase
| * "halfway a line" is a very confusing phraseJack Danger Canty2015-01-22
| | | | | | | | | | | | | | | | | | If you Google for this phrase found in the Vim documentation you'll find almost exclusively hits from the Vim documentation. I think changing "halfway a line" to "halfway through a line" makes more sense. There seems to be an pervasive odd use of the word 'halfway' in the original docs which I'm updating everywhere.
* | Merge pull request #1864 from Hinidu/vim-7.4.500Justin M. Keyes2015-01-22
|\ \ | | | | | | vim-patch:7.4.500 and fix in vim-patch:7.4.406
| * | Replace erroneous ft=unix by ff=unix from 7.4.406Pavel Platto2015-01-21
| | |
| * | vim-patch:7.4.500Pavel Platto2015-01-21
| |/ | | | | | | | | | | | | Problem: Test 72 still fails once in a while. Solution: Don't set 'fileformat' to unix, reset it. (Ken Takata) https://code.google.com/p/vim/source/detail?r=v7-4-500
* | Merge pull request #1847 from JackDanger/safely-freeing-channelsJustin M. Keyes2015-01-22
|\ \ | | | | | | Fix CID #102150
| * | Fix CID #102150Jack Danger Canty2015-01-22
| |/ | | | | | | | | | | | | Don't attempt to write an error message to a channel that may have been closed and freed. [CID #102150](https://scan8.coverity.com/reports.htm#v22612/p10672/fileInstanceId=3625286&defectInstanceId=1525721&mergedDefectId=102150)
* / vim-patch: Mark patches as NA.Florian Walch2015-01-21
|/
* Merge pull request #1656 from fmoralesc/remove-easy-modeJustin M. Keyes2015-01-21
|\ | | | | Remove "easy" mode.
| * Remove easy modeFelipe Morales2015-01-15
| |