Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

0.12-devel to be C++11-only#569

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from1 commit
Commits
Show all changes
36 commits
Select commitHold shift + click to select a range
a370594
Run clang-tidy with all checks.
deanberrisOct 28, 2015
44bd36b
Manual changes to update style and fix breakages
deanberrisOct 28, 2015
5f6e9ee
Changes to make things build
deanberrisOct 31, 2015
7b88a41
Reintroduce missing code for parsing query maps
deanberrisOct 31, 2015
6349c11
clang-tidy modernize-.* all the things
deanberrisNov 2, 2015
6d8879c
Upgrade travis config
deanberrisNov 2, 2015
65a0e6e
Fix typo in URL
deanberrisNov 2, 2015
feec209
Fix another typo on the URL.
deanberrisNov 2, 2015
4847865
Make travis wait for a Boost build to finish
deanberrisNov 2, 2015
e19af74
Change level of travis_wait call; chmod +x .sh files
deanberrisNov 2, 2015
abe68b4
Only support Boost 1.59 for now.
deanberrisNov 2, 2015
b10dfbb
Only produce shared+multithreaded debug & release boost libs
deanberrisNov 2, 2015
8cb4c16
Looks like we need static libs too
deanberrisNov 2, 2015
198dd07
Integrate travis; Use Boost 1.57 at least; Always use shared libs fro…
deanberrisNov 2, 2015
f6c7ee6
Use the dynamic version of Boost.Test always.
deanberrisNov 2, 2015
de7c710
Use v4 again instead of just address
deanberrisNov 4, 2015
39a2705
v4() for real this time
deanberrisNov 4, 2015
2e3340f
Change test to fetch different targets
deanberrisNov 12, 2015
7e0f93e
Simplify http test
deanberrisNov 12, 2015
552401b
Use ninja-build
deanberrisNov 12, 2015
19beafb
Update cmake
deanberrisNov 12, 2015
99f6168
Use updated cmake to support ninja-build
deanberrisNov 12, 2015
937d589
Travis cannot handle ninja builds yet, probably to lack of resources …
deanberrisNov 12, 2015
d5ec24e
j4 is too much. :(
deanberrisNov 12, 2015
d661fcc
Check with the sanitizers
deanberrisNov 12, 2015
5751338
Honor the CMAKE_CXX_FLAGS environment variable
deanberrisNov 12, 2015
511dd04
Print latest log properly
deanberrisNov 12, 2015
9fbc300
Fix some issues with the (deprecated) synchronous client implementati…
deanberrisNov 16, 2015
2f2239c
Only use libc++ if in OS X
deanberrisNov 16, 2015
4be4eae
Issue identified with memory sanitizer
deanberrisNov 16, 2015
600daff
Fix unsafe usage of boost::as_literal, caught by memory sanitiser
deanberrisNov 16, 2015
03870ca
Force use of size_t in distance calculation
deanberrisNov 16, 2015
9bad07c
Removing noexcept from defaulted move constructor
deanberrisNov 18, 2015
2f2c021
Track origins for memsan runs
deanberrisNov 18, 2015
7f70dac
Exclude msan builds from g++
deanberrisNov 18, 2015
8a8279a
Do not use msan yet; Boost seems to be not msan-clean
deanberrisNov 18, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
Manual changes to update style and fix breakages
  • Loading branch information
@deanberris
deanberris committedOct 28, 2015
commit44bd36b4243494c99ed98f09c93faf772a42ca77
2 changes: 1 addition & 1 deletion.ycm_extra_conf.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -17,7 +17,7 @@
'-Wall',
'-Wextra',
'-Werror',
'-std=c++03',
'-std=c++11',
'-isystem',
'.',
'-isystem',
Expand Down
11 changes: 7 additions & 4 deletionsboost/network/detail/directive_base.hpp
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -7,6 +7,8 @@
#ifndef __NETWORK_DETAIL_DIRECTIVE_BASE_HPP__
#define __NETWORK_DETAIL_DIRECTIVE_BASE_HPP__

#include <boost/network/message_fwd.hpp>

/** Defines the base type from which all directives inherit
* to allow friend access to message and other types' internals.
*/
Expand All@@ -17,12 +19,13 @@ namespace detail {
template <class Tag>
struct directive_base {
typedef Tag tag;
// explicit directive_base(basic_message<tag> & message_)
// : _message(message_)
explicit directive_base(basic_message<tag> & message)
: message_(message) {}

protected:
~directive_base() = default;default;; // can only be extended
~directive_base() = default; // can only be extended

// mutablebasic_message<tag> &_message;
basic_message<tag> &message_;
};

} // namespace detail
Expand Down
6 changes: 2 additions & 4 deletionsboost/network/detail/wrapper_base.hpp
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -17,8 +17,7 @@ struct wrapper_base {
explicitwrapper_base(Message& message_) : _message(message_) {};

protected:
~wrapper_base() =default;default;;// for extending only

~wrapper_base() =default;// for extending only
Message& _message;
};

Expand All@@ -27,8 +26,7 @@ struct wrapper_base_const {
explicitwrapper_base_const(Messageconst& message_) : _message(message_) {}

protected:
~wrapper_base_const() =default;default;;// for extending only

~wrapper_base_const() =default;// for extending only
Messageconst& _message;
};

Expand Down
2 changes: 1 addition & 1 deletionboost/network/message.hpp
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -8,7 +8,7 @@

#include<boost/network/message_fwd.hpp>
#include<boost/network/traits/string.hpp>
#include<boost/utility/enable_if.hpp>boost/network/traits/headers_container.hpp>
#include<boost/utility/enable_if.hpp>
#include<boost/network/detail/directive_base.hpp>
#include<boost/network/detail/wrapper_base.hpp>
#include<boost/network/message/directives.hpp>
Expand Down
18 changes: 9 additions & 9 deletionsboost/network/message/directives/detail/string_directive.hpp
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -6,12 +6,14 @@
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)

#include <boost/mpl/if.hpp>
#include <boost/mpl/or.hpp>
#include <boost/network/support/is_pod.hpp>
#include <boost/network/traits/string.hpp>
#include <boost/utility/enable_if.hpp>
#include <boost/variant/apply_visitor.hpp>
#include <boost/variant/static_visitor.hpp>
#include <boost/variant/variant.hpp>
#include <boost/network/support/is_pod.hpp>>
#include <boost/variant/apply_visitor.hpp>#include <boost/variant/static_visitor.hpp>
#include <boost/mpl/if.hpp<boost/mpl/or.hpp>
#include <boost/utility/enable_if.hpp>ble_if.hpp>

/**
*
Expand All@@ -32,7 +34,7 @@
#define BOOST_NETWORK_STRING_DIRECTIVE(name, value, body, pod_body) \
template <class ValueType> \
struct name##_directive { \
ValueType const&((value)); \
ValueType const&((value)); \
explicit name##_directive(ValueType const& value_) : value(value_) {} \
name##_directive(name##_directive const& other) : value(other.value) {} \
template <class Tag, template <class> class Message> \
Expand All@@ -51,7 +53,5 @@
inline name##_directive<T> name(T const& input) { \
return name##_directive<T>(input); \
}
#endif /* BOOST_NETWORK_STRING_DIRECTIVE */

#endif /* BOOST_NETWORK_MESSAGE_DIRECTIVES_DETAIL_STRING_DIRECTIVE_HPP_20100915 \
*/
#endif // BOOST_NETWORK_STRING_DIRECTIVE
#endif // BOOST_NETWORK_MESSAGE_DIRECTIVES_DETAIL_STRING_DIRECTIVE_HPP_20100915
20 changes: 12 additions & 8 deletionsboost/network/message/directives/header.hpp
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -4,16 +4,20 @@
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)

#ifndef__NETWORK_MESSAGE_DIRECTIVES_HEADER_HPP__
#define__NETWORK_MESSAGE_DIRECTIVES_HEADER_HPP__
#ifndefBOOST_NETWORK_MESSAGE_DIRECTIVES_HEADER_HPP__
#defineBOOST_NETWORK_MESSAGE_DIRECTIVES_HEADER_HPP__

#include <boost/network/support/is_async.hpp>pp>
#include <boost/network/traits/string.hpp>nclude <boost/utility/enable_if.hpp>ude <boost/thread/future.hpp>
#include <boost/network/support/is_async.hpp>
#include <boost/network/traits/string.hpp>
#include <boost/utility/enable_if.hpp>
#include <boost/thread/future.hpp>
#include <boost/mpl/if.hpp>
#include <boost/mpl/or.hpp>
#include <boost/variant/apply_visitor.hpp>r.hpp>
#include <boost/variant/static_visitor.hpp>>
#include <boost/variant/variant.hpp>pace boost {
#include <boost/variant/apply_visitor.hpp>
#include <boost/variant/static_visitor.hpp>
#include <boost/variant/variant.hpp>

namespace boost {
namespace network {

namespace impl {
Expand DownExpand Up@@ -69,4 +73,4 @@ inline impl::header_directive<T1, T2> header(T1 const& header_name,
} // namespace network
} // namespace boost

#endif //__NETWORK_MESSAGE_DIRECTIVES_HEADER_HPP__
#endif //BOOST_NETWORK_MESSAGE_DIRECTIVES_HEADER_HPP__
6 changes: 4 additions & 2 deletionsboost/network/message/directives/remove_header.hpp
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -8,6 +8,7 @@
#define NETWORK_MESSAGE_DIRECTIVES_REMOVE_HEADER_HPP

#include <boost/network/traits/string.hpp>
#include <string>

namespace boost {
namespace network {
Expand All@@ -34,14 +35,15 @@ struct remove_header_directive {
} // namespace impl

inline impl::remove_header_directive<std::string> remove_header(
std::string /*header_name*/ame*/) {
conststd::string&header_name) {
return impl::remove_header_directive<std::string>(header_name);
}

inline impl::remove_header_directive<std::wstring> remove_header(
std::wstring header_name) {
conststd::wstring& header_name) {
return impl::remove_header_directive<std::wstring>(header_name);
}

} // namespace network
} // namespace boost

Expand Down
6 changes: 5 additions & 1 deletionboost/network/message/message_concept.hpp
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -14,7 +14,11 @@
#include <boost/network/message/traits/source.hpp>
#include <boost/network/message/traits/destination.hpp>
#include <boost/network/message/traits/headers.hpp>
#include <boost/network/tags.hp<boost/network/traits/string.hpp>de <boost/thread/future.hpp>oost {
#include <boost/network/tags.hpp>
#include <boost/network/traits/string.hpp>
#include <boost/thread/future.hpp>

namespace boost {
namespace network {

template <class M>
Expand Down
10 changes: 6 additions & 4 deletionsboost/network/message/modifiers/add_header.hpp
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -7,9 +7,11 @@
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)

#include <boost/mpl/a<boost/mpl/not<boost/network/support/is_async.hpp>nc.hpp>
#include <boost/network/support/is_pod.hpp>ort/is_pod.hpp>
#include <boost/utility/enable_if.hpp>le_if.hpp>
#include <boost/mpl/and.hpp>
#include <boost/mpl/not.hpp>
#include <boost/network/support/is_async.hpp>
#include <boost/network/support/is_pod.hpp>
#include <boost/utility/enable_if.hpp>

namespace boost {
namespace network {
Expand All@@ -36,7 +38,7 @@ inline typename enable_if<is_pod<Tag>, void>::type add_header(
typename Message::header_type header = {key, value};
message.headers.insert(message.headers.end(), header);
}
}// namespace impl // namespace impl
} // namespace impl

template <class Tag, template <class> class Message, class KeyType,
class ValueType>
Expand Down
10 changes: 6 additions & 4 deletionsboost/network/message/modifiers/clear_headers.hpp
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -6,10 +6,12 @@
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)

#include <boost/mpl/a<boost/mpl/not<boost/network/support/is_async.hpp>_async.hpp>
#include <boost/network/support/is_pod.hpp>.hpp>
#include <boost/thread/future.hpp>e.hpp>
#include <boost/utility/enable_if.hpp>le_if.hpp>
#include <boost/mpl/and.hpp>
#include <boost/mpl/not.hpp>
#include <boost/network/support/is_async.hpp>
#include <boost/network/support/is_pod.hpp>
#include <boost/thread/future.hpp>
#include <boost/utility/enable_if.hpp>

namespace boost {
namespace network {
Expand Down
9 changes: 5 additions & 4 deletionsboost/network/message/modifiers/remove_header.hpp
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -7,11 +7,12 @@
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)

#include <boost/mpl/not.hpp>
#include <boost/network/support/is_async.hpp>
#include <boost/network/support/is_pod.hpp>
#include <boost/range/algorithm/remove_if.hpp>_if.hpp>
#include <boost/utility/enable_if.hpp>e <boost/algorithm/string/predicate.hpp>
#include <boost/mpl/not.hpp>
#include <boost/range/algorithm/remove_if.hpp>
#include <boost/utility/enable_if.hpp>
#include <boost/algorithm/string/predicate.hpp>

namespace boost {
namespace network {
Expand All@@ -38,7 +39,7 @@ struct iequals_pred {
iequals_pred(KeyType const& key) : key(key) {}
template <class Header>
bool operator()(Header& other) const {
return boost::iequals(key, name(other));
return boost::algorithm::iequals(key, name(other));
}
};

Expand Down
16 changes: 6 additions & 10 deletionsboost/network/message/traits/body.hpp
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -7,10 +7,12 @@
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)

#include <boost/mpl<boost/mpl/<boost/network/support/is_async.hpp>.hpp>
#include <boost/network/support/is_sync.hpp>_sync.hpp>
#include <boost/thread/future.hpp>re.hpp>
#include <boost/type_traits/is_same.hpp>/is_same.hpp>
#include <boost/mpl/if.hpp>
#include <boost/network/traits/string.hpp>
#include <boost/network/support/is_async.hpp>
#include <boost/network/support/is_sync.hpp>
#include <boost/thread/future.hpp>
#include <boost/type_traits/is_same.hpp>

namespace boost {
namespace network {
Expand All@@ -33,13 +35,7 @@ struct body
unsupported_tag<typename Message::tag> >::type> {};

} // namespace traits

} // namespace network
// namespace network
/* network */

} // namespace boost
// namespace boost
/* boost */

#endif // BOOST_NETWORK_MESSAGE_TRAITS_BODY_HPP_20100903
16 changes: 6 additions & 10 deletionsboost/network/message/traits/destination.hpp
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -7,10 +7,12 @@
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)

#include <boost/mpl<boost/network/support/is_async.hpp>>
#include <boost/network/support/is_sync.hpp>hpp>
#include <boost/mpl/if.hpp>
#include <boost/network/support/is_async.hpp>
#include <boost/network/support/is_sync.hpp>
#include <boost/network/traits/string.hpp>
#include <boost/thread/future.hpp>
#include <boost/type_traits/is_same.hpp>/is_same.hpp>
#include <boost/type_traits/is_same.hpp>

namespace boost {
namespace network {
Expand All@@ -33,13 +35,7 @@ struct destination
unsupported_tag<typename Message::tag> >::type> {};

} // namespace traits

} // namespace network
// namespace network
/* network */

} // namespace network
} // namespace boost
// namespace boost
/* boost */

#endif // BOOST_NETWORK_MESSAGE_TRAITS_DESTINATION_HPP_20100903
20 changes: 8 additions & 12 deletionsboost/network/message/traits/headers.hpp
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -7,11 +7,13 @@
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)

#include <boost/mpl/if.hpp>ude <boost/mpl/or<boost/network/message/directives.hpp>p>
#include <boost/network/message/transformers.hpp>.hpp>
#include <boost/network/message/wrappers.hpp>appers.hpp>
#include <boost/network/support/is_async.hpp>port/is_async.hpp>
#include <boost/network/support/is_sync.hpp>port/is_sync.hpp>
#include <boost/mpl/if.hpp>
#include <boost/mpl/or.hpp>
#include <boost/network/message/directives.hpp>
#include <boost/network/message/transformers.hpp>
#include <boost/network/message/wrappers.hpp>
#include <boost/network/support/is_async.hpp>
#include <boost/network/support/is_sync.hpp>

namespace boost {
namespace network {
Expand DownExpand Up@@ -46,13 +48,7 @@ struct header_value
unsupported_tag<typename Message::tag> >::type> {};

} // namespace traits

} // namespace network
// namespace network
/* network */

} // namespace network
} // namespace boost
// namespace boost
/* boost */

#endif // BOOST_NETWORK_MESSAGE_TRAITS_HEADERS_HPP_20100903
17 changes: 6 additions & 11 deletionsboost/network/message/traits/source.hpp
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -6,14 +6,15 @@
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)

#include <boost/mpl<boost/network/support/is_async.hpp>>
#include <boost/network/support/is_sync.hpp>hpp>
#include <boost/mpl/if.hpp>
#include <boost/network/support/is_async.hpp>
#include <boost/network/support/is_sync.hpp>
#include <boost/network/traits/string.hpp>
#include <boost/thread/future.hpp>
#include <boost/type_traits/is_same.hpp>/is_same.hpp>
#include <boost/type_traits/is_same.hpp>

namespace boost {
namespace network {

namespace traits {

template <class Tag>
Expand All@@ -32,13 +33,7 @@ struct source
unsupported_tag<typename Message::tag> >::type> {};

} // namespace traits

} // namespace network
// namespace network
/* network */

} // namespace boost
// namespace boost
/* boost */
} // namespace boost

#endif // BOOST_NETWORK_MESSAGE_TRAITS_SOURCE_HPP_20100903
Loading

[8]ページ先頭

©2009-2025 Movatter.jp