Skip to content

Commit 257aefe

Browse files
committed
Merge pull request cpp-netlib#254 from deanberris/0.9-devel
This is a PR that brings 0.9-devel into 0.10.0 release readiness.
2 parents fef3b8e + b86879e commit 257aefe

File tree

81 files changed

+1716
-2900
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+1716
-2900
lines changed

boost/network/protocol/http/client/connection/async_normal.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ namespace boost { namespace network { namespace http { namespace impl {
172172
} else {
173173
set_errors(ec ? ec : boost::asio::error::host_not_found);
174174
boost::iterator_range<const char*> range;
175-
callback(range,ec);
175+
if (callback) callback(range,ec);
176176
}
177177
}
178178
}

boost/network/version.hpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
#include <boost/config.hpp>
1111

1212
#define BOOST_NETLIB_VERSION_MAJOR 0
13-
#define BOOST_NETLIB_VERSION_MINOR 9
14-
#define BOOST_NETLIB_VERSION_INCREMENT 5
13+
#define BOOST_NETLIB_VERSION_MINOR 10
14+
#define BOOST_NETLIB_VERSION_INCREMENT 0
1515

1616
#ifndef BOOST_NETLIB_VERSION
1717
# define BOOST_NETLIB_VERSION \

libs/network/doc/_templates/genindex.html

-4
This file was deleted.

libs/network/doc/_templates/layout.html

-109
This file was deleted.

libs/network/doc/_templates/modindex.html

-3
This file was deleted.

libs/network/doc/_templates/search.html

-3
This file was deleted.

libs/network/doc/conf.py

+12-13
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
todo_include_todos = True
3333

3434
# Add any paths that contain templates here, relative to this directory.
35-
templates_path = ['_templates']
35+
# templates_path = ['_templates']
3636

3737
# The suffix of source filenames.
3838
source_suffix = '.rst'
@@ -52,9 +52,9 @@
5252
# built documents.
5353
#
5454
# The short X.Y version.
55-
version = '0.9'
55+
version = '0.10'
5656
# The full version, including alpha/beta/rc tags.
57-
release = '0.9.5'
57+
release = '0.10.0'
5858

5959
# The language for content autogenerated by Sphinx. Refer to documentation
6060
# for a list of supported languages.
@@ -73,22 +73,22 @@
7373
exclude_trees = ['build', 'doxyxml', 'ext']
7474

7575
# If true, '()' will be appended to :func: etc. cross-reference text.
76-
#add_function_parentheses = True
76+
# add_function_parentheses = True
7777

7878
# If true, the current module name will be prepended to all description
7979
# unit titles (such as .. function::).
8080
add_module_names = True
8181

8282
# If true, sectionauthor and moduleauthor directives will be shown in the
8383
# output. They are ignored by default.
84-
#show_authors = False
84+
# show_authors = False
8585

8686
# The name of the Pygments (syntax highlighting) style to use.
8787
# pygments_style = 'sphinx'
88-
pygments_style = 'bw'
88+
pygments_style = 'sphinx'
8989

9090
# A list of ignored prefixes for module index sorting.
91-
#modindex_common_prefix = []
91+
# modindex_common_prefix = []
9292

9393

9494
# -- Options for HTML output ---------------------------------------------------
@@ -99,20 +99,19 @@
9999

100100
# The name for this set of Sphinx documents. If None, it defaults to
101101
# "<project> v<release> documentation".
102-
html_title = 'cpp-netlib v0.9.5'
102+
html_title = 'cpp-netlib v0.10.0'
103103

104104
# A shorter title for the navigation bar. Default is the same as html_title.
105-
#html_short_title = 'cpp-netlib'
105+
# html_short_title = 'cpp-netlib'
106106

107107
# Use an HTML index.
108108
html_use_index = False
109109

110110
# Add any paths that contain custom static files (such as style sheets) here,
111111
# relative to this directory. They are copied after the builtin static files,
112112
# so a file named "default.css" will overwrite the builtin "default.css".
113-
html_style = 'cpp-netlib.css'
114-
html_static_path = ['_static']
115-
113+
# html_style = 'cpp-netlib.css'
114+
# html_static_path = ['_static']
116115
# html_translator_class = "adjusts.CppNetlibHTMLTranslator"
117116

118117
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
@@ -124,4 +123,4 @@
124123
html_use_smartypants = True
125124

126125
# Output file base name for HTML help builder.
127-
htmlhelp_basename = 'cpp-netlibdoc'
126+
# htmlhelp_basename = 'cpp-netlibdoc'

libs/network/doc/html/.buildinfo

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Sphinx build info version 1
22
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
3-
config: 08239cf2918f3b576f229180a785211f
4-
tags: fbb0d17656682115ca4d033fb2f83ba1
3+
config:
4+
tags:
50 Bytes
Binary file not shown.
Binary file not shown.
55 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
34 Bytes
Binary file not shown.
55 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
383 Bytes
Binary file not shown.
52 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
42 Bytes
Binary file not shown.

libs/network/doc/html/_sources/index.txt

+10-10
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33

44
.. :Authors: Glyn Matthews <[email protected]>
55
.. Dean Michael Berris <[email protected]>
6-
.. :Date: Feb 2, 2013
7-
.. :Version: 0.9.5
6+
.. :Date: Jun 26, 2013
7+
.. :Version: 0.10.0
88
.. :Description: Complete user documentation, with examples, for the :mod:`cpp-netlib`.
9-
.. :Copyright: Copyright Glyn Matthews, Dean Michael Berris 2008-2012.
9+
.. :Copyright: Copyright Glyn Matthews, Dean Michael Berris 2008-2013.
1010
.. Copyrigh 2013 Google, Inc.
1111
.. Distributed under the Boost Software License, Version
1212
.. 1.0. (See accompanying file LICENSE_1_0.txt or copy at
@@ -20,12 +20,9 @@ http://cpp-netlib.org/.
2020

2121
**Download**
2222

23-
You can download the latest releases of the library at:
24-
25-
http://github.com/cpp-netlib/cpp-netlib/downloads
26-
27-
You can find more information about the progress of the development by
28-
checking our GitHub_ project page at:
23+
This version of :mod:`cpp-netlib` is tagged as cpp-netlib-0.10.0 in the GitHub_
24+
repository. You can find more information about the progress of the development
25+
by checking our GitHub_ project page at:
2926

3027
http://github.com/cpp-netlib/cpp-netlib
3128

@@ -93,7 +90,10 @@ And the corresponding server code is listed below:
9390

9491
int main(int arg, char * argv[]) {
9592
handler handler_;
96-
http_server server_("0.0.0.0", "8000", handler_);
93+
http_server::options options(handler_);
94+
http_server server_(
95+
options.address("0.0.0.0")
96+
.port("8000"));
9797
server_.run();
9898
}
9999

libs/network/doc/html/_sources/whats_new.txt

+6-6
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@
99

1010
v0.9.5
1111
~~~~~~
12-
* Removing dependency on Boost.Parameter from HTTP client and server.
13-
* Fix for Clang error on Twitter example.
14-
* Adding source port to the request (HTTP server).
15-
* Updates to CMake config for MSVC 2010/2012.
16-
* Support chunked content encoding in client response parsing.
17-
* Fix bug with client not invoking callback when a request fails.
12+
* Removed dependency on Boost.Parameter from HTTP client and server.
13+
* Fixed for Clang error on Twitter example.
14+
* Added source port to the request (HTTP server).
15+
* Updated CMake config for MSVC 2010/2012.
16+
* Now support chunked content encoding in client response parsing.
17+
* Fixed bug with client not invoking callback when a request fails.
1818

1919
v0.9.4
2020
~~~~~~

libs/network/doc/html/_static/basic.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* Sphinx stylesheet -- basic theme.
66
*
7-
* :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS.
7+
* :copyright: Copyright 2007-2013 by the Sphinx team, see AUTHORS.
88
* :license: BSD, see LICENSE for details.
99
*
1010
*/
1.3 KB

libs/network/doc/html/_static/doctools.js

+2-14
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* Sphinx JavaScript utilities for all documentation.
66
*
7-
* :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS.
7+
* :copyright: Copyright 2007-2013 by the Sphinx team, see AUTHORS.
88
* :license: BSD, see LICENSE for details.
99
*
1010
*/
@@ -32,7 +32,7 @@ if (!window.console || !console.firebug) {
3232
*/
3333
jQuery.urldecode = function(x) {
3434
return decodeURIComponent(x).replace(/\+/g, ' ');
35-
}
35+
};
3636

3737
/**
3838
* small helper function to urlencode strings
@@ -61,18 +61,6 @@ jQuery.getQueryParameters = function(s) {
6161
return result;
6262
};
6363

64-
/**
65-
* small function to check if an array contains
66-
* a given item.
67-
*/
68-
jQuery.contains = function(arr, item) {
69-
for (var i = 0; i < arr.length; i++) {
70-
if (arr[i] == item)
71-
return true;
72-
}
73-
return false;
74-
};
75-
7664
/**
7765
* highlight a given string on a jquery object by wrapping it in
7866
* span elements with the given class name.

0 commit comments

Comments
 (0)