Skip to content

Commit 525b189

Browse files
committed
Merge branch 'development' into clang-3-6-merge
Conflicts: Build_android/libiconv/jni/Application.mk
2 parents 0e09d1d + d80c038 commit 525b189

Some content is hidden

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

58 files changed

+951
-530
lines changed

Build_android/libiconv/jni/Android.mk

Lines changed: 0 additions & 23 deletions
This file was deleted.

Build_android/libiconv/jni/Application.mk

Lines changed: 0 additions & 3 deletions
This file was deleted.

Build_android/libiconv/libiconv.patch

Lines changed: 0 additions & 22 deletions
This file was deleted.

Build_iOS/.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# iOS folders that dependencies get stored in
2+
boostoniphone/
3+
boost.framework/
4+
ios-cmake/
5+
openssl/
6+
OpenSSL-for-iPhone/

CONTRIBUTORS.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ jracle
2020
gandziej
2121
adish
2222
LeonidCSIT
23+
LocutusOfBorg
24+
kreuzerkrieg
2325

2426
AutoDesk Inc.
2527
Cyrille Fauvel (cyrillef)

Release/CMakeLists.txt

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,20 @@ set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/Binaries)
165165

166166
# These settings can be used by the test targets
167167
set(Casablanca_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/include)
168-
set(Casablanca_INCLUDE_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/include ${Boost_INCLUDE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/libs/websocketpp)
168+
169+
find_path(WEBSOCKETPP_CONFIG websocketpp-config.cmake
170+
HINTS /usr/lib/cmake/websocketpp)
171+
find_path(WEBSOCKETPP_CONFIG_VERSION websocketpp-configVersion.cmake
172+
HINTS /usr/lib/cmake/websocketpp)
173+
if(WEBSOCKETPP_CONFIG AND WEBSOCKETPP_CONFIG_VERSION)
174+
include(${WEBSOCKETPP_CONFIG}/websocketpp-config.cmake)
175+
include(${WEBSOCKETPP_CONFIG}/websocketpp-configVersion.cmake)
176+
message("-- Found websocketpp version " ${PACKAGE_VERSION} " on system")
177+
set(Casablanca_INCLUDE_DIRS ${Casablanca_INCLUDE_DIR} ${Boost_INCLUDE_DIR} ${WEBSOCKETPP_INCLUDE_DIR})
178+
else(WEBSOCKETPP_CONFIG AND WEBSOCKETPP_CONFIG_VERSION)
179+
set(Casablanca_INCLUDE_DIRS ${Casablanca_INCLUDE_DIR} ${Boost_INCLUDE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/libs/websocketpp)
180+
message("-- websocketpp not found, using the embedded version")
181+
endif(WEBSOCKETPP_CONFIG AND WEBSOCKETPP_CONFIG_VERSION)
169182

170183
set(Casablanca_LIBRARY ${LIB}cpprest)
171184
set(Casablanca_LIBRARIES ${Casablanca_LIBRARY} ${Boost_LIBRARIES} ${Boost_FRAMEWORK})

Release/include/cpprest/asyncrt_utils.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,11 @@ namespace details
284284
return std::unique_ptr<_Type>(new _Type(std::forward<_Arg1>(arg1), std::forward<_Arg2>(arg2), std::forward<_Arg3>(arg3)));
285285
}
286286

287+
template <typename _Type, typename _Arg1, typename _Arg2, typename _Arg3, typename _Arg4>
288+
std::unique_ptr<_Type> make_unique(_Arg1&& arg1, _Arg2&& arg2, _Arg3&& arg3, _Arg4&& arg4) {
289+
return std::unique_ptr<_Type>(new _Type(std::forward<_Arg1>(arg1), std::forward<_Arg2>(arg2), std::forward<_Arg3>(arg3), std::forward<_Arg4>(arg4)));
290+
}
291+
287292
/// <summary>
288293
/// Cross platform utility function for performing case insensitive string comparision.
289294
/// </summary>

Release/include/cpprest/base_uri.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ namespace web {
441441
friend class uri_builder;
442442

443443
// Encodes all characters not in given set determined by given function.
444-
static utility::string_t encode_impl(const utility::string_t &raw, const std::function<bool(int)>& should_encode);
444+
_ASYNCRTIMP static utility::string_t __cdecl encode_impl(const utility::string_t &raw, const std::function<bool __cdecl(int)>& should_encode);
445445

446446
utility::string_t m_uri;
447447
details::uri_components m_components;

Release/include/cpprest/details/basic_types.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
#include <iostream>
3131
#include <sstream>
3232
#include "cpprest/details/cpprest_compat.h"
33-
#include "cpprest/details/basic_types.h"
3433

3534
#ifndef _WIN32
3635
# define __STDC_LIMIT_MACROS

Release/include/cpprest/details/cpprest_compat.h

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -55,17 +55,11 @@
5555
// No SAL on non Windows platforms
5656
#include "cpprest/details/nosal.h"
5757

58-
#if defined(__APPLE__) // Settings specific to Apple
59-
#define __cdecl
58+
#if not defined __cdecl
59+
#if defined cdecl
60+
#define __cdecl __attribute__ ((cdecl))
6061
#else
61-
62-
// Settings specific to Linux and Android
63-
64-
// Ignore cdecl on ANDROID ARM and 64bit
65-
#if defined(__ANDROID__) && defined(__arm__) || defined(__LP64__)
6662
#define __cdecl
67-
#else
68-
#define __cdecl __attribute__ ((cdecl))
6963
#endif
7064

7165
#if defined(__ANDROID__)

0 commit comments

Comments
 (0)