Commit Graph

8368 Commits

Author SHA1 Message Date
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
nyuszika7h
14cbd618ec Fix previous commit 2014-02-24 15:13:53 +01:00
nyuszika7h
b3467a6619 Fix anchors 2014-02-24 15:13:05 +01:00
Rich Wareham
31cb3e09d4 third-party: add note on role of directory
Add a brief README on the purpose of the third-party directory and some
suggestions for how to manage it. The neovim bigwigs may want to
re-draft the README.
2014-02-24 10:31:37 +00:00
Rich Wareham
aad5f6341e Makefile: refer to renamed compile-libuv.sh
get-libuv.sh was renamed to compile-libuv.sh
2014-02-24 10:09:07 +00:00
Rich Wareham
d047b28ac1 get-libuv.sh: compile bundled libuv
Rename file to reflect new intent of script. Libuv is bundled into the
third-party directory. Modify the script to compile but not fetch libuv.
2014-02-24 10:09:07 +00:00
Rich Wareham
f78d5aa87b Merge commit 'a302c65dc65896776d6cb9e2c89a6ccc77ada530' as 'third-party/libuv' 2014-02-24 10:01:50 +00:00
Rich Wareham
a302c65dc6 Squashed 'third-party/libuv/' content from commit 3c40224
git-subtree-dir: third-party/libuv
git-subtree-split: 3c4022464acd92607f21c6eef69330fb071d0400
2014-02-24 10:01:50 +00:00
Ashley Hewson
1bcbc42330 Merge pull request #98 from davidzchen/doc-ca-bundle
Add documentation on installing root SSL certificates on OS X
2014-02-24 08:22:55 +00:00
David Z. Chen
d0f2cbeceb Issue #97 - Add documentation on installing root SSL certificates on OS X, which is required for retrieving the libuv archive before building. 2014-02-23 18:53:03 -08:00
Cameron Eagans
8614983e4e Updating README file to use Homebrew for local builds 2014-02-23 14:28:31 -07:00
Cameron Eagans
2acddd7cb2 Adding make step 2014-02-23 14:28:07 -07:00
Cameron Eagans
eaa4f2b9ce Adding neovim formula for Homebrew 2014-02-23 14:08:40 -07:00
John Szakmeister
6241a49943 scripts/common.sh: remove a couple bashisms
This allows the scripts to work on systems that don't have /bin/bash as
/bin/sh--such as Debian.
2014-02-23 15:01:41 -05:00
jdiez17
da2906f28e Added 'neovim' to the feature list, following discussion on #44 2014-02-23 16:49:16 +00:00
Ashley Hewson
b0abcda487 Merge pull request #54 from mitchellwrosen/master
Clean up main.c:parse_command_name
2014-02-23 16:23:53 +00:00
Ashley Hewson
cebac0fc59 README.md: fix ubuntu/debian deps 2014-02-23 11:47:53 +00:00
Thiago de Arruda
e9420e3937 Merge pull request #57 from mrshu/patch-1
Fixed travis image
2014-02-22 21:23:13 -02:00
Marek Šuppa
f32a091f0a Fixed travis image 2014-02-22 13:07:39 -08:00
Mitchell Rosen
19296296db Clean up main.c:parse_command_name 2014-02-22 12:40:59 -08:00
Sean Long
87fdb40a03 First pass on getting build working on FreeBSD. 2014-02-22 16:25:20 -03:00
Thiago de Arruda
eaf942c5a6 Merge pull request #22 from cmrosenberg/osx-automake
Added automake as build dependency on OS X
2014-02-22 16:32:56 -02:00
Thiago de Arruda
8d2fb5f855 Add travis-ci configuration 2014-02-22 14:29:51 -03:00
Ashley Hewson
6e430eb634 Merge pull request #47 from Coornail/ignore-test-vimrcs
Remove trailing spaces from gitignore
2014-02-22 16:42:11 +00:00
Carl Martin Rosenberg
2d32735bd9 Added automake as a dependency when building on OS X. Otherwise build complaints of missing aclocal. 2014-02-22 17:34:02 +01:00
Kornel Lugosi
b4a1237f2a Remove trailing spaces from gitignore 2014-02-22 17:26:55 +01:00
Ashley Hewson
3d171b6be2 README.md: link to the Contributing wiki page 2014-02-22 15:26:49 +00:00
Mitchell Rosen
6ab8968685 Cleanup refactoring in main 2014-02-22 10:13:44 -03:00
nyuszika7h
f604544598 Add modeline with tw per @ashleyh's suggestion 2014-02-22 13:50:34 +01:00
Thiago de Arruda
b17e52a9e4 Merge pull request #35 from thiderman/master
Add Arch dependency instructions to README.md.
2014-02-22 10:07:49 -02:00
aph
7cadf15eee include a copy of the Vim License 2014-02-22 11:57:44 +00:00
nyuszika7h
9a4564a0ab Change Ubuntu 12.04 to Ubuntu/Debian in README.md
That should work in most versions of Ubuntu and Debian.
2014-02-22 12:14:18 +01:00
nyuszika7h
fcf26eb956 Add Arch instructions (merged from GH-35).
Thanks @thiderman!
2014-02-22 12:11:15 +01:00
nyuszika7h
b723bc0c69 Remove trailing whitespace in README.md 2014-02-22 12:09:04 +01:00
nyuszika7h
570a8bedb8 Clean up README.md 2014-02-22 12:00:35 +01:00
Lowe Thiderman
b5672b9c43 Add Arch dependency instructions to README.md
Also accidentally clear trailing whitespace in README. vim autocommands ftw.
2014-02-22 09:06:18 +01:00
Thiago de Arruda
31d5ae42c3 Merge pull request #32 from cweagans/patch-1
Adding note about IRC channel in README.
2014-02-22 03:05:49 -02:00
Cameron Eagans
e898be4df7 Adding note about IRC channel in README. 2014-02-21 21:56:01 -07:00
Ashley Hewson
f5c72880eb Merge pull request #20 from andyfischer/master
Update README.md: Add libtool to OSX installs
2014-02-21 22:57:39 +00:00
Andy Fischer
2ddf127207 Add libtool to OSX installs 2014-02-21 15:23:23 -07:00
Ashley Hewson
6d70406595 Merge pull request #14 from sbeckeriv/patch-2
Update README.md
2014-02-21 21:54:37 +00:00
Stephen Becker IV
5c2a6f85ac Update README.md
I did not have cmake installed. Mac tests passed.
2014-02-21 12:15:16 -08:00
Thiago de Arruda
9bb4e274fd Merge pull request #11 from sbeckeriv/patch-1
Remove sudo from brew command
2014-02-21 18:10:57 -02:00
Stephen Becker IV
be2245a60a Update README.md
Remove sudo from brew command. 
https://github.com/Homebrew/homebrew/wiki/FAQ#wiki-sudo
2014-02-21 12:00:23 -08:00
Thiago de Arruda
fcc982b6b0 Merge pull request #8 from mmcdole/patch-1
Fix spelling mistakes in README.md
2014-02-21 17:52:29 -02:00
Thiago de Arruda
f29c1ffa5a Merge pull request #9 from yesmeck/patch-1
Correct cmake link in README
2014-02-21 17:49:57 -02:00
Meck
a79177e1b3 Fix cmake link in README 2014-02-22 03:47:59 +08:00
mmcdole
359a69d869 Fix spelling mistakes in README.md 2014-02-21 13:39:35 -06:00
Thiago de Arruda
e519a991d6 Merge pull request #6 from davertron/master
Fix misspellings/grammar in README
2014-02-21 17:24:46 -02:00
Thiago de Arruda
6307bf23fb Merge pull request #7 from Coornail/osx-build-instructions
Add dependency install instructions for OsX
2014-02-21 17:24:10 -02:00