Commit Graph

115 Commits

Author SHA1 Message Date
Tatsuhiro Tsujikawa de5c821530 Bump up version number to 0.4.0, LT revision to 3:0:0 2014-05-16 23:51:32 +09:00
Alexis La Goutte 88234cbac0 Add some news CFLAGS:
* -Wpragmas
* -Wunreachable-code
* -Wpedantic
* -Waddress
* -Wattributes
* -Wdiv-by-zero
* -Wheader-guard
2014-05-11 11:28:29 +02:00
Alexis La Goutte 5b208c6277 Add AX_CHECK_COMPILE_FLAG (from Autotools packages)
It's fix the build with Clang and --enable-werror, don't support -WClobberred and display error about unknown warning option
error: unknown warning option '-Wclobbered'; did you mean '-Wconsumed'? [-Werror,-Wunknown-warning-option]
2014-05-11 11:27:52 +02:00
Tatsuhiro Tsujikawa 4f027c1562 libnghttp2: Remove dependency to zlib
We inherited gzip compression API from spdylay codebase.  In spdylay,
the cost of having such API is almost free because spdylay requires
zlib for header compression.  nghttp2 no longer uses gzip to header
compression.  zlib dependency exists just for gzip compression API,
which is not an essential.  So we decided to move gzip code to under
src and remove zlib dependency from libnghttp2 itself.  As nghttp2
package, we depend on zlib to compile tools under src.
2014-05-06 23:10:50 +09:00
Tatsuhiro Tsujikawa 1d26678934 Enable silent-rules by default 2014-05-05 18:48:26 +09:00
Nicholas Hurley f3f9210dae Add --disable-threads option for configure
This allows users of OS X 10.9 to run nghttpd (and friends) with
threading entirely disabled, to avoid crashes on startup related to
std::mutex.
2014-05-01 17:18:29 -07:00
Tatsuhiro Tsujikawa c69f6f4186 Use AC_DEFINE for DEBUG macro instead of adding it to CFLAGS 2014-04-29 12:58:52 +09:00
Tatsuhiro Tsujikawa 1d5a1b895b doc: Use autoconf template nghttpx-howto.rst.in properly 2014-04-20 23:42:15 +09:00
Tatsuhiro Tsujikawa ab2dc5967d Replace HTTP/2.0 with HTTP/2 2014-03-30 19:26:37 +09:00
Tatsuhiro Tsujikawa 12d92a621d Add --with-spdylay configure option 2014-03-05 21:44:28 +09:00
Tatsuhiro Tsujikawa 7f18eced0b src: Use jemalloc if available 2014-03-05 21:38:33 +09:00
Tatsuhiro Tsujikawa ddf6162528 python: Use distutils to build/install python bindings
automake version is a bit picky about installation location and uses
different compiler flags from distutils. We prefer official distutils.
Now nghttp2.c, which is generated by cython, is distributed in
archive.
2014-02-27 00:58:21 +09:00
Tatsuhiro Tsujikawa 09fd95ac5c Revert 6c51bd0979 2014-02-21 23:04:40 +09:00
Tatsuhiro Tsujikawa 6c51bd0979 src: Disable strip http-parser mode
Add --enable-strict-http-parser mode to enable it.
2014-02-21 00:20:27 +09:00
Tatsuhiro Tsujikawa dc82a6026e Add --enable-debug configure option to define DEBUGBUILD macro 2014-02-20 23:19:55 +09:00
Tatsuhiro Tsujikawa f152dd8881 Rename --enable-maintainer-mode configure option as --enable-werror 2014-02-20 23:17:04 +09:00
Tatsuhiro Tsujikawa b2ab5178a3 Bump up version number to 0.4.0-DEV 2014-02-16 15:20:56 +09:00
Tatsuhiro Tsujikawa 2aa2c942e8 Bump up version number to 0.3.1 and LT revision to 2:1:0 2014-02-16 15:05:17 +09:00
Tatsuhiro Tsujikawa 01ca4373a1 Out-of-tree build for sphinx documents
The only drawback is that page source only contains include
directive. We disabled page source for now.
2014-02-13 23:44:54 +09:00
Tatsuhiro Tsujikawa cdcea8045f Include doc theme without recursive Makefiles 2014-02-09 17:40:06 +09:00
Tatsuhiro Tsujikawa adf17cd839 Remove sphinx_rtd_theme/static/font
Which was moved to spinx_rtd_theme/static/fonts
2014-02-08 16:35:20 +09:00
Tatsuhiro Tsujikawa 128eb61238 Include sphinx_rtd_theme to distribution
Patch from Dave Beckett
2014-02-08 16:29:18 +09:00
Tatsuhiro Tsujikawa fa7b76eb33 Bump up version number to 0.4.0-DEV 2014-02-05 23:18:50 +09:00
Tatsuhiro Tsujikawa 81a2359012 Bump up version number to 0.3.0, LT revision to 2:0:0 2014-02-05 23:06:51 +09:00
Tatsuhiro Tsujikawa e4801ca6f2 Don't fail if python-dev is not found unless request_python_binding=yes 2014-01-12 21:31:33 +09:00
Tatsuhiro Tsujikawa 9218d5d071 Add AC_HEADER_ASSERT for benchmark 2014-01-11 01:12:30 +09:00
Tatsuhiro Tsujikawa 47f20d5e83 Integrate Python bindings build into `make`
Now require python >= 2.7
2014-01-11 01:01:28 +09:00
Tatsuhiro Tsujikawa 0e9390d5ad Move http-parser to third-party dir and fix `make distcheck` 2014-01-11 00:36:20 +09:00
Tatsuhiro Tsujikawa 9dcd6b003d Refactor configure options
--enable-src is renamed as --enable-app. Fix build failure if
libxml2 is not available.
2014-01-10 23:19:36 +09:00
Tatsuhiro Tsujikawa d1c109f59e Fix typo 2014-01-10 21:54:17 +09:00
Tatsuhiro Tsujikawa 0f1dea4f42 Move HPACK tools from hdtest to src 2014-01-10 21:53:48 +09:00
Tatsuhiro Tsujikawa ccd0f83018 Revert e812f3b9f7
We need jansson >= 2.5 because of s# conversion
2014-01-07 21:19:46 +09:00
Tatsuhiro Tsujikawa e812f3b9f7 Require jansson >= 2.4 2014-01-02 13:30:44 +09:00
Tatsuhiro Tsujikawa a14cfa59df configure.ac: Print out spdylay availability 2013-12-26 00:13:35 +09:00
Tatsuhiro Tsujikawa 5bb1c653ef src: Omit \r\n sanitization on header value
This is because nghttp2 and spdylay now don't allow \r\n in header
value. Require spdylay >= 1.2.3.
2013-12-26 00:08:42 +09:00
Tatsuhiro Tsujikawa dcfd9b22fc examples: Add libevent-client, requires libevent for examples 2013-12-22 19:26:32 +09:00
Tatsuhiro Tsujikawa 9d630901fa Add check for cython and substitute python and cython in Makefile.am 2013-12-16 21:46:50 +09:00
Tatsuhiro Tsujikawa 4e0ca71ef0 python: Add experimental python extension module
To build extension module, cython is required.
The module is not built with `make` in the top directory.
A user has to run `make build_ext` in python directory.
Currently header compression objects are available for testing.
2013-12-14 23:54:09 +09:00
Tatsuhiro Tsujikawa 58beaa371d nghttpx: Support spdy/3.1, require spdylay >= 1.2.0 2013-11-12 11:03:46 +09:00
Tatsuhiro Tsujikawa 2d28634826 Bump up version number to 0.3.0-DEV 2013-11-05 00:48:28 +09:00
Tatsuhiro Tsujikawa b6ffb1b00a Bump up version number to 0.2.0, LT revision to 1:0:0 2013-11-05 00:40:59 +09:00
Tatsuhiro Tsujikawa 49b8ea1bf3 tests: Add failmalloc tests 2013-10-31 02:02:00 +09:00
Tatsuhiro Tsujikawa 21599bcf44 Bump up version number to 0.2.0-DEV 2013-10-28 23:17:14 +09:00
Tatsuhiro Tsujikawa 2dd44746a6 Merge branch 'master' into hpack-exp 2013-10-28 23:15:14 +09:00
Tatsuhiro Tsujikawa 5d5a641666 Bump up version number to 0.1.0 2013-10-28 22:53:32 +09:00
Tatsuhiro Tsujikawa 2c37341a25 configure.ac: Output the result jansson detection and enable_hdtest 2013-10-27 16:24:42 +09:00
Tatsuhiro Tsujikawa 88348a600b hdtest: Add HPACK test tools
These test tools uses JSON as input/output and could be handy
to produce compressed header blocks.
2013-10-22 00:42:46 +09:00
Tatsuhiro Tsujikawa 8dcaa08405 Replace steady_clock with monotonic_clock if steady_clock is not available 2013-09-17 22:48:30 +09:00
Dave Reisner c53502a261 Play nicely with py3k for building docs
Previously, mkapiref.py required python2.6, as it used format strings,
but continued to use print as a keyword, not a function. But, since 2.6
is implicitly made a requirement, we can also count on print being
available as a function.

This change adds python2.6 as a soft requirement during ./configure,
and converts all print keywords to statements. There's no need to do
anything about the actual building of the doc since sphinx-build can
run under python2 and python3.

The net result is that it no longer matters whether 'python' points to
python2 or python3 (see PEP394), because both will be able to run
mkapiref.py successfully.
2013-09-07 09:48:36 -04:00
Dave Reisner 41ac45785a configure: initialize automake with subdir-objects option
This makes the buildsystem forward compatible with automake>=1.14 since
nghttp uses a recursive build. It avoids a large and non-scary warning
on running autoreconf, summarized as:

src/Makefile.am:57: warning: source file 'http-parser/http_parser.c' is in a subdirectory,
src/Makefile.am:57: but option 'subdir-objects' is disabled
2013-09-07 09:40:31 -04:00