aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* Adding darwin platform to common.sh build scriptIslam Sharabash2014-03-01
|
* Be more explicit about OS X deps installationJakub Stasiak2014-03-01
|
* Clean-up main.c: follow STRNICMP replacement.Nicolas Pierron2014-03-01
|
* Use $(MAKE) instead of ${MAKE}, and fixup two more make invocations.John Szakmeister2014-03-01
| | | | | | | | | | Include a new SINGLE_MAKE which can be used to invoke make but using only a single job, and in way that avoids any warnings from make. Use SINGLE_MAKE to execute the tests, since they're meant to be run serially. Also, prefer the use of $(MAKE) to avoid invoking an extra subshell (saves some time).
* CONTRIBUTING.md: mention coding styleAshley Hewson2014-03-01
|
* Extract file_search.c from misc2.cFelipe Oliveira Carvalho2014-02-28
| | | | | | | | Continue to split misc2.c in many other files (see #209). The only changed I made to the moved code was adding `vim_free(ff_expand_buffer)` to `free_finfile()`. This is was needed because `ff_expand_buffer` was moved from `misc2.c` to `file_search.c`.
* Added a types.h with vim.h unsigned int typedefs.scott-linder2014-02-28
|
* MAKE: ask gnulikes to warn and be pedantic + fixesNicolas Hillegeer2014-02-28
| | | | | | | | | | | | | | | | It seems clang 3.4 thinks the codebase is in fantastic shape and gcc 4.9.0 has only minor niggles, which I fixed: - fix uninitialized member warning: In DEBUG mode the expr member doesn't get properly initialized to NULL. - fix warnings about directive inside of macro's: On some platforms/compilers, sprintf is a macro. Putting macro directives inside of a macro is unportable and gcc 4.9 warns about that. - fix signed vs. unsigned comparison warning: The in-memory table will luckily not even come close to the limits imposed by ssize_t. If it ever reaches that, we've got bigger problems.
* Fix a 'garbage value' warning found by Clang's static analyzerFelipe Oliveira Carvalho2014-02-28
| | | | | - Initialize lists in paragraph_start() - Remove two dead stores
* Setup better warning flags for Clang.John Szakmeister2014-02-28
|
* Only include libintl's include dir if libintl was found.John Szakmeister2014-02-28
| | | | | | This prevents an error from CMake when libintl is not found. It's not a required library, so we must wrap the inclusion in a conditional. It was already done for the library.
* Use _NSGetEnviron on Mac OS X to gain access to environ.John Szakmeister2014-02-28
| | | | | | | | 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.
* Include "garray.h" in ex_cmds2.cFelipe Oliveira Carvalho2014-02-28
|
* Extract garray.c from misc2.cFelipe Oliveira Carvalho2014-02-28
| | | | Start to split misc2.c in many other files (see #209).
* Use cmake module instead of shared for nvim-testScott Nielsen2014-02-28
| | | | | | | | | On a Mac using shared creates libnvim-test.dylib which cannot be found by the hardcoded .so extension in helpers.moon, causing the unittests to fail. However, using module creates libnvim-test.so, allowing the tests to run. There will still be problems running the tests on windows, because both shared and module create dll file which will not be found by in helpers.moon.
* Add unit test running to travis againThiago de Arruda2014-02-27
|
* Compile libuv with -fPIC.John Szakmeister2014-02-27
| | | | | This is needed so that th unit tests library compiles on 64-bit machines correctly.
* Disable unit tests until fixed for travisThiago de Arruda2014-02-27
|
* Add more example unit tests and run with travisThiago de Arruda2014-02-27
|
* Add basic infrastructure for unit testingThiago de Arruda2014-02-27
| | | | | | | | | | | | | | | | | | Tests will be written using the [moonscript](http://moonscript.org/) language, a lua 'dialect' that is whitespace-significant and has a syntax similar to coffeescript. The test framework used is [busted](http://olivinelabs.com/busted/), a bdd framework for lua/moonscript. Luajit has a nice ffi module, which lets lua programs link shared libraries and call it's functions without writing any C code. To take advantage of this fact for testing C functions, a new target was added to CMakeLists.txt, which compiles neovim as a shared library that is loaded by the process running the tests. This commit adds necessary code for downloading and installing a lua package manager(luarocks) locally. It wasn't added as a subtree because there are quite a few blobs in its source tree.
* CMakeLists: Improve handling of libintlAlexis Hildebrandt2014-02-27
| | | | by refactoring it into a separate CMake module
* CMakeLists: Use nvim target nameAlexis Hildebrandt2014-02-27
|
* Improve libintl detection and linking.John Szakmeister2014-02-27
| | | | | | 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.
* Use GNU gettext from homebrew on Mac if availableAlexis Hildebrandt2014-02-27
|
* Merge pull request #187 from rjw57/issue-179Rich Wareham2014-02-27
|\ | | | | Use CMAKE_C_FLAGS variable to set compiler flags.
| * Use CMAKE_C_FLAGS variable to set compiler flags.Rich Wareham2014-02-27
| | | | | | | | | | | | | | | | | | | | If the compiler is some GNU-alike variant, set the compiler flags to use the gnu99 dialect of C and enable all warnings. Non-GNU compilers may have to have their own magic added to set dialect and enable warnings. Closes #179.
| * Merge pull request #183 from rjw57/issue-178Rich Wareham2014-02-27
| |\ | | | | | | README: add note on RHEL/CentOS 6
| | * README.md: fix anchor tags for CentOS/RHEL sectionRich Wareham2014-02-27
| | | | | | | | | | | | | | | MAke the use of anchor tags consistent for the change introduced in 5cd3cbe.
| | * README: add note on RHEL/CentOS 6Rich Wareham2014-02-27
| | | | | | | | | | | | | | | | | | | | | Add note on autoconf >2.69 being required for compilation under RHEL/CentOS. Closes #178.
* | | Import luajit 2.0.2 source treeThiago de Arruda2014-02-27
| | | | | | | | | | | | | | | This will be used for testing and in the future for reimplementing vimscript as a compile-to-lua language.
* | | README.md: fix anchor tags for CentOS/RHEL sectionRich Wareham2014-02-27
| | | | | | | | | | | | | | | MAke the use of anchor tags consistent for the change introduced in 5cd3cbe.
* | | README: add note on RHEL/CentOS 6Rich Wareham2014-02-27
|/ / | | | | | | | | | | | | Add note on autoconf >2.69 being required for compilation under RHEL/CentOS. Closes #178.
* | Merge pull request #184 from equalsraf/tb-cursesRich Wareham2014-02-27
|\ \ | |/ |/| Use FindCurses.cmake as fallback to find curses libraries
| * Use FindCurses to find curses librariesRui Abreu Ferreira2014-02-27
| | | | | | | | | | | | | | | | - Some systems have the FindCurses.cmake module to find the curses/ncurses libraries using find_package(). And in some CheckLibraries is not very reliable, so as fallback FindCurses is now used if no other option works.
* | Merge pull request #180 from pmandera/readme-linksRich Wareham2014-02-27
|\ \ | |/ |/| Fixed headers and links to dependencies in README.md
| * Anchors and reorder in dependency lists of README.mdPaweł Mandera2014-02-27
| | | | | | | | | | | | Dependency headers for OSes needed anchors to work with links from content list. Reordered OSes in content list to match headers (all Linuxes first, Mac OS X last)
| * Fixed header levels in markdownPaweł Mandera2014-02-27
|/ | | | Fixed header markup in README.md. Previously, header markup did not match levels in the content list.
* Enable stderr for test in travisThiago de Arruda2014-02-26
| | | | | This is necessary to keep the build from 'erroring' since running the tests with valgrind will take a long time
* Modify travis configuration to install valgrindThiago de Arruda2014-02-26
| | | | This should fix previous build failures
* Remove -e option from travis shell scriptThiago de Arruda2014-02-26
|
* Fix travis scriptThiago de Arruda2014-02-26
| | | | It was broke because the ls command failed when no valgrind.* file were found
* Add test reporting to travis scriptThiago de Arruda2014-02-26
|
* Enable valgrind when testing on travisThiago de Arruda2014-02-26
| | | | | This will slow down testing but will detect pull requests that introduce memory leaks.
* Markdown fix + MacPorts URLGöran Gustafsson2014-02-26
|
* README: Add support for custom brew installationsAlexis Hildebrandt2014-02-26
|
* Merge branch 'pr36'ashleyh2014-02-26
|\ | | | | | | | | Conflicts: README.md
| * Merge branch 'master' into pr36ashleyh2014-02-26
| |\ | | | | | | | | | | | | Conflicts: README.md
| * | Fix previous commitnyuszika7h2014-02-24
| | |
| * | Fix anchorsnyuszika7h2014-02-24
| | |
| * | Add modeline with tw per @ashleyh's suggestionnyuszika7h2014-02-22
| | |