aboutsummaryrefslogtreecommitdiff
path: root/config
Commit message (Collapse)AuthorAge
...
| * Remove "Commit:" field from `--version` outputMichael Reed2015-12-05
| | | | | | | | | | | | | | | | | | | | If nvim is built from a non-tagged commit, the truncated commit hash is already appended to the main version string (e.g., "NVIM v0.1.0-83-g959f260 ..."), making the "Commit:" field redundant. Regarding the truncated hash length: we don't have nearly enough commits to worry about collisions, and probably won't ever, so the default length should be fine.
* | Windows: Implement os_setenv() using _putenv_s()Rui Abreu Ferreira2015-12-12
|/ | | | | | | | | Windows does not have setenv(), instead the _putenv_s() function is used - added a function check and fatal errors. Implemented os_setenv() for Windows. Vim supports the original putenv() function if no alternative is available. Neovim only supports systems where safer alternatives exist, so the check for putenv() was removed from config/CMakeLists.txt.
* build: Use `git describe` for version strings.Justin M. Keyes2015-11-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | When building in a git repo: - If HEAD corresponds to an annotated tag, (i.e. git_get_exact_tag() returns truthy) the current build is considered a "release" build: NVIM_VERSION_MEDIUM is directly assigned the tagged version name, and NVIM_VERSION_* defines are ignored. - If HEAD is not a tagged release, then NVIM_VERSION_MEDIUM is directly assigned the result of `git describe`. If git (or the repo) is not available: - The NVIM_VERSION_* defines are used to define NVIM_VERSION_MEDIUM. Sample outputs for `nvim --version` and `nvim +version`: Building with git @ non-tagged commit e66df14: NVIM v0.1.0-1-ge66df14 (compiled Nov 1 2015 19:10:30) Commit: e66df148f9401be17adab324a6e41d927aae20b3 Building with git @ v0.1.1 tag: NVIM v0.1.1 (compiled Nov 1 2015 19:03:52) [no "Commit:" line] Building this commit _not_ in a git repo: NVIM 0.1.0-dev (compiled Nov 1 2015 19:16:11) [no "Commit:" line]
* Remove useless FEAT_BROWSE ifdefMichael Reed2015-11-01
| | | | | The only thing this affected was the return value of has('browsefilter').
* version: Prepare for releases.Florian Walch2015-11-01
| | | | | | | | | | | * Hide commit information from --version if we can't find any (e.g. when building from tarball). To define a release in CMake, set NVIM_VERSION_PRERELEASE to "". This will modify --version output to: * Show annotated Git tag instead of commit hash (NVIM_VERSION_COMMIT). * Hide commit date (NVIM_VERSION_BUILD).
* config: Check order and endianess even when cross-compilingZyX2015-10-08
|
* shada,config: Use CMake to determine endianess and be64toh existenceZyX2015-10-08
|
* build: remove USEMAN_SJustin M. Keyes2015-09-23
|
* os/os_defs.h cleanup: Remaining signal stuffMichael Reed2015-08-27
| | | | | | | | | | | | RETSIGTYPE, SIGRETURN, and SIGDEFARG are always defined the same, so inline them for simplicity; SIGDUMMYARG, however, is unused, so remove it. Even if these things don't work on windows, the signal handler in if_cscope.c is already wrapped with '#idef UNIX', as is its only call site. Reviewed-by: Justin M. Keyes <justinkz@gmail.com>
* Small cleanup after #3227Michael Reed2015-08-25
| | | | HAVE_SYS_TIME_H isn't being used by anything, remove it.
* remove references to <sys/time.h>Justin M. Keyes2015-08-24
| | | | | Since gettimeofday() was replaced by os_time in fb5a786bdb5b7b52b9c36b3eb8b6d2cc002aa8f3 we do not need sys/time.h.
* CMake: Fix helptags generation when prefix is not /usr. #2741Thomas Anderson2015-06-09
|
* cmake: Remove unneeded platform checksRui Abreu Ferreira2015-05-21
| | | | | | | | | | | Removed unneeded platform checks from config/config.h.in and config/CMakeLists.txt - HAVE_OSPEED and HAVE_UP_BC_PC were used by the old UI, and are no longer needed. - sigvec() was used as part of the signal handling code in os_unix.c, but it is no longer used in Neovim. - The function lstat() is no longer used, replaced with libuv.
* Dont require setenv() in non Unix systemsRui Abreu Ferreira2015-05-21
| | | | | | config/CMakeLists.txt failed with a fatal error if the functions setenv could not be found, however this functions only exist in Unix systems.
* Cleanup 'ttym[ouse]', FEAT_MOUSE, mouse_(dec|gpm|etc.)Michael Reed2015-05-18
| | | | | | Because of 3baba1e7bc6698e6bc9f1d37fce88b30d6274bc9, it's dead code. Helped-by: Justin M. Keyes <justinkz@gmail.com>
* jemalloc: Force use of prefixed functions.Florian Walch2015-04-29
| | | | | | | | * Set JEMALLOC_NO_DEMANGLE to be able to use `je_*` functions, regardless of how jemalloc was compiled (--with-jemalloc-prefix) * Show jemalloc information in Neovim's version output. Resolve #2449.
* Implement os_unsetenv()Rui Abreu Ferreira2015-04-14
| | | | | | | - In UNIX systems where unsetenv() is available, it is used. Otherwise the variables are set with the empty string. - New check HAVE_UNSETENV for unsetenv() - Added unit test to env_spec.lua
* deps: Add jemalloc as an optional dependencyThiago de Arruda2015-04-13
| | | | | | | | | | | | Jemalloc will be used if the cmake option `USE_JEMALLOC` is enabled(which is the default). To avoid trouble with clang's ASAN, it is disabled by default if the `SANITIZE` option is enabled. Since jemalloc has thread cache for small objects, it fills the gap created by removing klib memory pools. The `xstrdup` funciton(memory.c) had to be reimplemented on top of `xmalloc` to make it work with a custom allocator.
* Refactor default_vim{,runtime}_dir to use char type. #2375Mark Bainter2015-04-12
| | | | | | See: #459 Reviewed-by: Justin M. Keyes <justinkz@gmail.com> Reviewed-by: Eliseo Martínez <eliseomarmol@gmail.com>
* CMakeLists: enable USE_FNAME_CASE on MacScott Prager2015-03-31
|
* Remove platform dependent HAVE_OPENDIR #2010Jonas Dourado2015-03-17
|
* config: split out versiondef.h from config.hBjörn Linse2015-03-08
| | | | This avoids recompiling every c file after comitting.
* ui: Remove/adapt some old code for a big UI refactorThiago de Arruda2015-02-16
| | | | | | | | | | | | | - Remove abstract_ui global, now it is always active - Remove some terminal handling code - Remove unused functions - Remove HAVE_TGETENT/TERMINFO/TERMIOS/IOCTL #ifdefs - Remove tgetent/terminfo from version.c - Remove curses/terminfo dependencies - Only start/stop termcap when starting/exiting the program - msg_use_printf will return true if there are no attached UIs( messages will be written to stdout) - Remove `ex_winpos`(implement `:winpos` with `ex_ni`)
* 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/100248: Operands don't affect result: HI.Eliseo Martínez2015-01-16
| | | | | | | | Problem : Operands don't affect results (CONSTANT_EXPRESSION_RESULT). Diagnostic : Harmless issue. Rationale : n >= LONG_MIN, n being intmax_t, is always true for architectures where sizeof(intmax_t) == sizeof(long). Resolution : Add sizes check.
* globals.h: Remove unused global variableSteven Oliver2015-01-02
|
* Remove long_u: Passing-by: put_time(): Refactor implementation.Eliseo Martínez2014-12-24
| | | | | | put_time() had a complicated implementation, because of having to shift an 8-byte value in a portable way with old means. That can be greatly simplified now, using a C99 fixed-size type.
* Merge pull request #1441 from jszakmeister/remove-redundant-defineJohn Szakmeister2014-11-09
|\ | | | | Remove redundant USE_ICONV define from config.h.in.
| * Remove redundant USE_ICONV define from config.h.in.John Szakmeister2014-11-09
| | | | | | | | This was noticed during a review of #1437.
* | version: Add compilation info.Florian Walch2014-11-09
|/
* build: pull iconv detection into its own FindIconv.cmake fileJohn Szakmeister2014-11-08
| | | | | This will provide better control for those who may want to alter which one gets used.
* iconv: re-enableNicolas Hillegeer2014-11-06
| | | | | This seems to have been disabled in the transition from vim to neovim, re-enable it.
* version: remove "Compilation" and "Linking" messages.Justin M. Keyes2014-10-07
| | | | | | Can't reliably get this information from cmake (#1267), so it's misleading to show these messages at all. We can always revert this commit if we find a way later.
* version: generate "build number" from commit timestampJustin M. Keyes2014-10-07
| | | | | | | | | | - cmake: git_timestamp() returns last commit time formatted as `YYYYMMddHHmm`. - Always include commit hash in :version and --version output. `nvim --version` sample output: NVIM 0.0.0-alpha+201410070245 (compiled Oct 7 2014 05:30:45) Commit: f747b2b1ff7bfe7eb00cc2be82d7af87c98f1111
* version: report commit hash as "build number" in long version stringJustin M. Keyes2014-10-07
|
* os_fchown: impl and remove HAVE_FCHOWNPavel Platto2014-08-13
|
* Change vimdir path from vim to neovimRui Abreu Ferreira2014-07-31
|
* cmake: remove check for gettimeofdayNicolas Hillegeer2014-07-21
| | | | There are no more uses of gettimeofday, so remove the check in CMake.
* Clean up DEBUG check in config.h.inRui Abreu Ferreira2014-07-15
|
* Add cmake platform checksRui Abreu Ferreira2014-07-15
| | | | | | | | | | | | | | | | | | | | | | | | | - Defined CMake checks for all headers in config.h.in - Removed headers checks that are not used anymore: sgtty.h sys/statfs.h libintl.h poll.h - Added UNIX check - Add some fatal checks + Check for setenv() and fail if it does not exist since our os layer just assumes it does + lstat is required by os_unix.c + sys/wait.h is required in UNIX - Removed entries for functions that are not being used: getcwd, getrlimit, getwd, nanosleep, sigaltstack, getwd, sigstack, fseeko - Replaced nearly all defines in config.h.in for functions with compile time checks - Add check for symbol FD_CLOEXEC - Add check for langinfo CODESET - HAVE_ICONV_H and HAVE_ICONV hold the expected checks but Neovim uses USE_ICONV define to actually decide whether to enable it - Removed checks that are no longer needed + USEMEMMOVE + _FILE_OFFSET_BITS + HAVE_ST_BLKSIZE + dlfcn.h
* Remove HAVE_MKDTEMPPavel Platto2014-07-14
| | | | | For now we provide simple `mkdtemp` for Windows, in the future we will use libuv for that.
* Remove include for sys/select.h in vim.h #890Rui Abreu Ferreira2014-07-01
| | | | | - There is no need to include sys/select.h anymore - Removed HAVE_SYS_SELECT_H from config.h.in
* Remove unused FEAT_*Pavel Platto2014-05-28
|
* Remove FEAT_TITLEHinidu2014-05-28
| | | | 'title' and 'icon' options
* Remove FEAT_GETTEXTHinidu2014-05-28
| | | | Support for message translations using gettext()
* Remove FEAT_POSTSCRIPTHinidu2014-05-28
| | | | Printing using PostScript file output
* Remove FEAT_FLOATHinidu2014-05-28
| | | | Support for floating point variables
* Remove FEAT_STL_OPTHinidu2014-05-28
| | | | | 'statusline', 'rulerformat' and special format of 'titlestring' and 'iconstring' options
* Remove FEAT_SESSIONHinidu2014-05-28
| | | | Support for :mksession command
* Remove FEAT_SEARCHPATHHinidu2014-05-28
| | | | | Support for gf(edit the file whose name is under or after the cursor) and <cfile>(is replaced with the path name under the cursor).