Commit Graph

157 Commits

Author SHA1 Message Date
Hinidu
a29b94e2f9 Remove FEAT_EVAL
Support for VimScript, :let, :if, etc.
2014-05-28 13:08:54 -04:00
Hinidu
5f2ccb94d2 Remove FEAT_CURSORBIND
Synchronization of cursor in split windows for diff mode
2014-05-28 13:08:54 -04:00
Hinidu
f65028e5a0 Remove FEAT_CON_DIALOG
Support for :confirm with console dialog.
2014-05-28 13:08:54 -04:00
Hinidu
cfea68db8e Remove FEAT_COMPL_FUNC
Insert mode completion with 'completefunc'
2014-05-28 13:08:54 -04:00
Hinidu
8fb4c551f4 Remove FEAT_COMMENTS
Special comments formatting, see 'comments' option.
2014-05-28 13:08:54 -04:00
Hinidu
ffc2ea372f Remove FEAT_CMDWIN
Command-line window which opens by q:, q/, q?
2014-05-28 13:08:54 -04:00
Hinidu
9d6c5de4f1 Remove FEAT_CMDL_INFO
'showcmd' and 'ruler' options
2014-05-28 13:08:54 -04:00
Hinidu
7c188b5498 Remove FEAT_CMDL_COMPL
Completion of mappings/abbreviations in command line mode
2014-05-28 13:08:54 -04:00
Hinidu
ceb069116f Remove FEAT_BYTEOFF
Support for byte2line(), line2byte(), go and :goto.
2014-05-28 13:08:54 -04:00
Hinidu
99fec73d1f Remove FEAT_CINDENT
C code indenting
2014-05-28 13:08:54 -04:00
Hinidu
df4127919a Remove FEAT_AUTOCMD
Support for :autocmd command
2014-05-28 13:08:54 -04:00
Hinidu
ac116088af Remove FEAT_QUICKFIX 2014-05-28 13:08:54 -04:00
Hinidu
4e0fc575d7 Remove FEAT_MBYTE
Multi-byte character handling.
2014-05-28 13:08:54 -04:00
Hinidu
6f38fe39c4 Remove FEAT_DIFF
Support for vim's diff mode.
2014-05-28 13:08:54 -04:00
Hinidu
dd7657c160 Removed FEAT_WINDOWS
Support for multiple windows and status line.
2014-05-28 13:08:53 -04:00
John Schmidt
85338fe1d5 Remove cryptography
As discussed in #694, vim encryption uses old,
obsolete algorithms that are poorly implemented.
Since insecure cryptography is worse than no
cryptgraphy, the community voted in favor of
removing all crypto.

Various alternatives to the old crypto is
being discussed in #701.

Closes #694.
2014-05-20 08:31:06 -03:00
Eliseo Martínez
a6734844ca Introduce nvim namespace: Fix build process.
- Leave src as include dir (for includes to recognize 'nvim/' prefix).
- Change subdirectory from src to src/nvim.
- Fix msgpack generation.
- Fix some other paths to new locations.
2014-05-15 20:46:01 +02:00
Thiago de Arruda
f0f4ab5500 Use platform check for correct selection of khash type in helpers.c 2014-05-13 14:11:32 -03:00
John Szakmeister
14e4e678b9 Allow USERNAME to be specified on the command line.
There are some systems that have usernames of the form DOMAIN\username,
which causes an invalid escape character to be inserted.  I was going to
add some escaping, but decided it would be best to just outright set the
value, since I don't want the DOMAIN portion in there anyways.
2014-04-21 17:29:40 -04:00
John Szakmeister
a3ec68ce1e Use check_symbol_exists() instead of check_function_exists().
This is mostly a revert of 477031c03b.
Now that we are not setting `CMAKE_C_FLAGS`, the check can work
correctly and it helps `pcc` (portable c compiler) make it further
along--though it still doesn't produce usable results (see #427 for the
details).
2014-04-03 04:32:27 -04:00
oni-link
c30c9b275c remove HAVE_FCHDIR 2014-04-02 18:52:16 -03:00
oni-link
e9afd1cc28 remove HAVE_DL{OPEN, SYM} 2014-04-02 18:52:16 -03:00
oni-link
59f5c2251a remove HAVE_WCTYPE_H 2014-04-02 18:52:16 -03:00
oni-link
9d2975efad remove HAVE_WCHAR_H 2014-04-02 18:52:16 -03:00
oni-link
77433de0ca remove HAVE_USLEEP 2014-04-02 18:52:16 -03:00
oni-link
930be11334 remove HAVE_SYS_{POLL_H, RESOURCE_H, SYSCTL_H, TYPES_H} 2014-04-02 18:52:16 -03:00
oni-link
f2ce38481b remove HAVE_SYSINFO and HAVE_SYSINFO_MEM_UNIT 2014-04-02 18:52:16 -03:00
oni-link
8780e3ad11 remove HAVE_SVR4_PTYS 2014-04-02 18:52:16 -03:00
oni-link
87a317e076 remove HAVE_STRTOL
strtol is a C99 standard function.
2014-04-02 18:52:16 -03:00
oni-link
38ff389496 remove HAVE_STRPBRK
strpbrk is a C99 standard function.
2014-04-02 18:52:16 -03:00
oni-link
ec51b04a89 remove HAVE_STRING_H 2014-04-02 18:52:16 -03:00
oni-link
6c902e2104 remove HAVE_STRFTIME
strftime is a C99 standard function.
2014-04-02 18:52:16 -03:00
oni-link
5aa1128e97 remove HAVE_STRERROR
strerror is a C99 standard function.
2014-04-02 18:52:16 -03:00
oni-link
e38266a3dd remove HAVE_STDLIB_H 2014-04-02 18:52:16 -03:00
oni-link
ed9a68eea9 remove HAVE_SIGCONTEXT 2014-04-02 18:52:16 -03:00
oni-link
a96f2949cc remove HAVE_RENAME
rename is a C99 standard function.
2014-04-02 18:52:16 -03:00
oni-link
3da084d612 remove HAVE_FLOAT_FUNCS 2014-04-02 18:52:16 -03:00
oni-link
8bae684045 remove HAVE_DATE_TIME
__DATE__ and __TIME__ are C99 standard predefined macros.
2014-04-02 18:52:16 -03:00
Julian Orth
55d95c1cd0 remove HAVE_{ISWUPPER,ISWLOWER,TOWUPPER,TOWLOWER} 2014-03-31 21:24:59 -03:00
Julian Orth
079c47ed7b remove HAVE_STDARG_H 2014-03-31 21:24:59 -03:00
Julian Orth
30160c1561 remove HAVE_STDINT 2014-03-31 21:24:59 -03:00
Julian Orth
2bc68462b2 remove HAVE_INTTYPES 2014-03-31 21:24:59 -03:00
Julian Orth
22a1a26cad remove HAVE_MATH_H 2014-03-31 21:24:59 -03:00
oni-link
b1ea283c59 remove HAVE_MEMSET 2014-03-31 21:24:59 -03:00
oni-link
854cde93ed remove HAVE_MEMCMP 2014-03-31 21:24:59 -03:00
Julian Orth
a5cd3693f0 remove HAVE_BCMP 2014-03-31 21:24:59 -03:00
Julian Orth
0bbbc24571 remove HAVE_ERRNO 2014-03-31 21:24:59 -03:00
Julian Orth
60a7ad8a47 remove HAVE_SETJMP_H 2014-03-31 21:24:59 -03:00
oni-link
f9b5ca8b85 Remove feature HAVE_QSORT
qsort conforms to C99, so we don't need our own version.
2014-03-31 21:24:59 -03:00
John Szakmeister
477031c03b Use check_function_exists() to check for _NSGetEnviron().
This avoids a compiler generated warning which result in failing to find
the function with -Werror active.  You could argue this is a bug in
CMake: http://public.kitware.com/Bug/view.php?id=13208
2014-03-07 06:27:41 -05:00
John Szakmeister
d2e567a835 Use _NSGetEnviron on Mac OS X to gain access to environ.
When building nvim as a shared library for testing, environ is not
exposed.  In order to gain access to the environment variables, you must
get a pointer to them from _NSGetEnviron().

It appears that this may affect the FreeBSD platform too.
2014-02-28 08:15:27 -03:00
Alexis Hildebrandt
05b9e11584 CMakeLists: Improve handling of libintl
by refactoring it into a separate CMake module
2014-02-27 19:11:48 +00:00
John Szakmeister
95db76e280 Improve libintl detection and linking.
This makes it so that a self-installed libintl is now detected and used.
It also attempts to locate a homebrew version of the library, if that
exists.
2014-02-27 19:11:48 +00:00
Alexis Hildebrandt
e728ce95ef Use GNU gettext from homebrew on Mac if available 2014-02-27 19:11:48 +00:00
scott-linder
b76c358f3d Convert function declarations from K&R to ANSI style.
cproto (http://invisible-island.net/cproto/) was used to do the bulk of
the work in batch; even the most recent version had some issues with
typedef'd parameters; a quick "patch" was to modify `lex.l` to
explicitly include all vim typedefs as known types. One example from
`vim.h` is

    typedef unsigned char char_u;

which was added in `lex.l` as

    <INITIAL>char_u    { save_text_offset(); return T_CHAR; }

Even with these changes there were some problems:

* Two files (`mbyte.c` and `os_unix.c`) were not cleanly converted.
* Any function with the `UNUSED` macro in its parameter list was not converted.

Rather than spend more time fixing the automated approach, the two files
`mbyte.c` and `os_unix.c` were converted by hand.

The `UNUSED` macros were compiler specific, and the alternative, generic
version would require a different syntax, so in order to simplify the
conversion all uses of `UNUSED` were stripped, and then the sources were
run back through cproto. It is planned to reconsider each use of
`UNUSED` manually using a new macro definition.
2014-02-24 09:48:18 -05:00
aph
2d00ead2e5 Fix build on OSX/Archlinux and add README
- remove SELinux dependency for now
- OSX: find libintl.h
- OSX: fix compile errors
- OSX: use hack around gettext nonsense
- fix gettext on ubuntu
- work around Arch's lack of -ltermcap
- add README.md
2014-02-01 10:34:04 -03:00
Thiago de Arruda
72cf89bce8 Import vim from changeset v5628:c9cad40b4181
- Cleanup source tree, leaving only files necessary for compilation/testing
- Process files through unifdef to remove tons of FEAT_* macros
- Process files through uncrustify to normalize source code formatting.
- Port the build system to cmake
2014-01-31 10:39:15 -03:00