Commit Graph

1410 Commits

Author SHA1 Message Date
Florian Walch
c683858a6a clang-analyzer: Fix dead stores in window.c. 2014-08-07 10:53:33 +02:00
Justin M. Keyes
ad5ae68acd Merge #814 'Remove dead #ifdefed code' 2014-08-07 02:20:12 -04:00
ZyX
1fa3a7d70a Use color_terminal output in place of TAP #995 2014-08-07 02:07:08 -04:00
Fredrik Fornwall
1de8fe30c8 Remove unused USE_TERM_CONSOLE ifdefs #1015
This is unused after dropped amiga and msdos support.
2014-08-07 01:52:03 -04:00
Stefan Hoffmann
84854202fe documentation: update documentation for :mode #1009
see #588
2014-08-07 01:47:49 -04:00
Fredrik Fornwall
e6edfa9617 Drop SGI IRIS support. #1006 2014-08-07 01:37:18 -04:00
Wayne Rowcliffe
3599a834d5 Return bool from find_win_for_buf #1023 2014-08-07 00:42:13 -04:00
Thiago de Arruda
8fa4abf15a Merge PR #1040 'Fix segfault caused by default value of ipy/icpb options' 2014-08-06 13:20:27 -03:00
Thiago de Arruda
ed71401b24 bugfix: set empty string as default for ipy/icpb to avoid segfault
Fixes #1039
2014-08-06 12:59:27 -03:00
Thiago de Arruda
acd0824a32 Merge pull request #1038 '[RDY] Update APT package sources in travis.sh.' 2014-08-06 12:58:49 -03:00
Florian Walch
f29504a5b8 travis.sh: Update sources before installing packages. 2014-08-06 12:58:38 -03:00
Justin M. Keyes
5f42ba693b Update README.md
sweet clang analysis badge thanks to @Hinidu!
2014-08-05 11:57:55 -04:00
André Twupack
b53034d423 vim-patch:7.4.315 #1021
Problem:    Fixes for computation of topline not tested.
Solution:   Add test. (Hirohito Higashi)

https://code.google.com/p/vim/source/detail?r=646616b6ff4defcc7bef0b198b540f6d965a8126
2014-08-03 15:49:24 +00:00
Pavel Platto
8b72ae7c78 Remove fix for select(). select() is not used anymore. 2014-08-02 09:18:06 +03:00
Pavel Platto
f42a4be834 Remove SMALL_MALLOC. Used on MSDOS and WIN16. 2014-08-02 09:17:00 +03:00
Pavel Platto
fe61a45c07 Remove __MVS__ and MOTIF390_MNEMONIC_FIXED 2014-08-02 09:17:00 +03:00
Pavel Platto
de8ba56495 Remove HAVE_LIBC_H
It was used in Vim for NeXT OS.
2014-08-02 09:17:00 +03:00
Pavel Platto
ff71a042a2 Remove HAVE_TOTAL_MEM
libuv provide uv_get_total_mem_kib. So HAVE_TOTAL_MEM should always be
true.
Before that commit in neovim maxmem=5120 and maxmemtot=10240. Now
both equal to half of system memory.
2014-08-02 09:17:00 +03:00
Pavel Platto
5881842007 Remove FEAT_TAG_ANYWHITE
This feature allow to use any white space characters instead of one
<TAB> in tag files. It is disabled in vanilla Vim's default build
configuration. Exuberant ctags use format with exactly one TAB.
2014-08-02 09:17:00 +03:00
Pavel Platto
b2b920f20e Remove FEAT_OSFILETYPE
Feature description from Vim documentation:

NOTE: this code is currently disabled, as the RISC OS implementation was
removed.  In the future this will use the 'filetype' option.

On operating systems which support storing a file type with the file, you can
specify that an autocommand should only be executed if the file is of a
certain type.

The actual type checking depends on which platform you are running Vim
on; see your system's documentation for details.

To use osfiletype checking in an autocommand you should put a list of types to
match in angle brackets in place of a pattern, like this: >

	:au BufRead *.html,<&faf;HTML>  runtime! syntax/html.vim

This will match:

- Any file whose name ends in ".html"
- Any file whose type is "&faf" or "HTML", where the meaning of these types
  depends on which version of Vim you are using.
  Unknown types are considered NOT to match.
2014-08-02 09:16:59 +03:00
Pavel Platto
77cb6551a6 Remove EBCDIC: Remove IF_EB macros 2014-08-02 09:16:59 +03:00
Pavel Platto
8991609393 Remove EBCDIC: remove last #ifdef EBCDIC 2014-08-02 09:16:59 +03:00
Pavel Platto
e1dd98512f Remove EBCDIC: Clean up comments 2014-08-02 09:16:59 +03:00
Pavel Platto
2e831e56c7 Remove DONT_ADD_PATHSEP_TO_DIR used only in legacy Mac 2014-08-02 09:16:59 +03:00
Pavel Platto
215d747e22 Show +cursorshape in :version
All code which was inside #ifdef CURSOR_SHAPE is being used now, except
one in version.c (that occurence is fixed by this commit).
2014-08-02 09:13:06 +03:00
Pavel Platto
6ff5759ed2 Remove BEOS_PR_OR_BETTER 2014-08-02 09:13:06 +03:00
Pavel Platto
1fbee0fe45 Remove BeOS DR8 specific hack
It is already partially removed from screen.c
2014-08-02 09:13:06 +03:00
Fredrik Fornwall
44afe610f8 Partial C99 cleanup of term.c #1020 2014-08-01 13:20:11 -04:00
Florian Walch
67cdd65e21 Update luarocks. #1018
Fix #1013.
2014-08-01 09:30:17 -04:00
Will Stamper
dafd72f5b2 vim-patch:7.4.309 #843
Problem:    When increasing the size of the lower window, the upper
            window jumps back to the top. (Ron Aaron)
Solution:   Change setting the topline. (Nobuhiro Takasaki)

https://code.google.com/p/vim/source/detail?r=88a6e9f33822d33b6c32db578750c6c178c63f50
2014-07-31 15:12:14 -04:00
Thiago de Arruda
280d0ea5d3 Merge pull request #1005 '[RFC] Change vimdir path from vim to nvim' 2014-07-31 08:14:18 -03:00
Rui Abreu Ferreira
718beb2613 Add install target for runtime dir 2014-07-31 08:13:58 -03:00
Rui Abreu Ferreira
e672922ef3 Change vimdir path from vim to neovim 2014-07-31 08:13:58 -03:00
Justin M. Keyes
9df1eb27f4 doc: Remove "h" flag of 'highlight' option
HLF_H is an obsolete flag and got replaced by HLF_E.

From: Marco Hinz <mh.codebro@gmail.com>
2014-07-30 20:13:26 -04:00
Justin M. Keyes
80289956a1 runtime: Remove 'textauto' 2014-07-30 20:07:11 -04:00
Justin M. Keyes
666c0be13c doc: Remove 'textmode'
by @mhinz
2014-07-30 19:35:47 -04:00
Nicolas Hillegeer
e4be7bc27c eval: re-add has('mac') and has('macunix') #976
They were removed but they can be handy to separate some things to do at
startup in a .vimrc for example.
2014-07-30 18:26:32 -04:00
Scott Prager
c3b9f863ea Units: Move NULL, OK, and FAIL to helpers.moon. #982 2014-07-30 18:25:43 -04:00
Nicolas Hillegeer
5f9fb6ed64 eval: re-remove USE_CR #1002
It was already removed in 01ca460 and I erroneously introduced it again in
PR #978.
2014-07-30 18:10:18 -04:00
Justin M. Keyes
4bebbaa572 Merge pull request #998 from war1025/dev/buffer_cleanup
Minor buffer.c style cleanups
2014-07-30 17:22:57 -04:00
Justin M. Keyes
4f26b64722 Merge pull request #934 from fornwall/remove-FEAT_MOUSE_JSB
Remove FEAT_MOUSE_JSB
2014-07-29 14:09:58 -04:00
Fredrik Fornwall
bfaab2e351 Remove FEAT_MOUSE_JSB
This is never built and references some obscure jsb terminal
2014-07-29 18:08:15 +02:00
oni-link
1ef12f0204 Remove unused arg 'defer' in 'job_start' #1000
* With the changes in commit
  "events: Refactor how event deferral is handled"
  (2e4ea29d2c) the function argument
  'defer' of 'job_start' and member variable 'defer' of 'struct job'
  can be removed.
* Update/Fix the documentation for function 'job_start'.
2014-07-29 13:29:54 +02:00
Justin M. Keyes
a98a6996c2 re-integrate runtime/ vim-patch:0 #938
Vim runtime files based on 7.4.384 / hg changeset 7090d7f160f7

Excluding:
  Amiga icons (*.info, icons/)
  doc/hangulin.txt
  tutor/
  spell/
  lang/ (only used for menu translations)
  macros/maze/, macros/hanoi/, macros/life/, macros/urm/
      These were used to test vi compatibility.
  termcap
      "Demonstration of a termcap file (for the Amiga and Archimedes)"

Helped-by: Rich Wareham <rjw57@cam.ac.uk>
Helped-by: John <john.schmidt.h@gmail.com>
Helped-by: Yann <yann@yann-salaun.com>
Helped-by: Christophe Badoit <c.badoit@lesiteimmo.com>
Helped-by: drasill <github@tof2k.com>
Helped-by: Tae Sandoval Murgan <taecilla@gmail.com>
Helped-by: Lowe Thiderman <lowe.thiderman@gmail.com>
2014-07-29 02:12:31 +00:00
Thiago de Arruda
66bc131633 Merge pull request #978 '[RDY] implement system() with pipes' 2014-07-27 14:01:22 -03:00
Nicolas Hillegeer
974752c53b test/shell: add tests
- The calls to (partially) initialize logging
  need to go. Blocked on #981.
2014-07-27 14:00:45 -03:00
Nicolas Hillegeer
1cfc468e5c test/helpers: allow interning Pascal strings
os_system() returns a Pascal string, for example (it also NUL-terminates the
string, but that's neither here nor there).
2014-07-27 14:00:45 -03:00
Nicolas Hillegeer
ad4c1e1954 test/formatc: improve standalone usage
Easier testing.
2014-07-27 14:00:44 -03:00
Nicolas Hillegeer
10479fd233 test/formatc: improve 'inline' function handling
Apple seems to define some functions as `inline` but not `static` in
headers. The ghetto parser wasn't unbelievably happy with this.
2014-07-27 14:00:44 -03:00
Nicolas Hillegeer
115b165bfa rstream: remove 'reading' struct member
Not necessary, as discussed in #980.

From the libuv mailing list:
https://groups.google.com/forum/#!topic/libuv/OD38PeGeVgQ

E.g. this could happen (red: on Windows):

> > alloc_cb(handle1);
> > alloc_cb(handle2);
> > read_cb(handle1);
> > read_cb(handle2);

But this couldn't:

> > alloc_cb(handle1);
> > alloc_cb(handle1);
> > read_cb(handle1);
> > read_cb(handle1);

Because each stream has a 1-to-1 correspondance with a libuv handle. The
code removed was never executed.

Closes #980.
2014-07-27 14:00:44 -03:00