Skip to content

Commit 8dfe2f6

Browse files
committed
Merge branch 'development' of https://git01.codeplex.com/casablanca into uap_support
2 parents 2eb633e + 22c4c69 commit 8dfe2f6

File tree

9 files changed

+28
-244
lines changed

9 files changed

+28
-244
lines changed

Build_iOS/fix_boost_version.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ index 22b308c..07ef184
2626
+: ${BOOST_VERSION2:=1_57_0}
2727

2828
-: ${BOOST_LIBS:="atomic chrono date_time exception filesystem program_options random signals system test thread"}
29-
+: ${BOOST_LIBS:="thread chrono filesystem regex locale system random"}
29+
+: ${BOOST_LIBS:="thread chrono filesystem regex system random"}
3030

3131
# Current iPhone SDK
3232
: ${IPHONE_SDKVERSION:=`xcodebuild -showsdks | grep iphoneos | egrep "[[:digit:]]+\.[[:digit:]]+" -o | tail -1`}

CONTRIBUTORS.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ luisfeliu
1616
intercommiura
1717
halex2005
1818
simonlep
19+
jracle
1920

2021
AutoDesk Inc.
2122
Cyrille Fauvel (cyrillef)

Release/CMakeLists.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ elseif(WIN32)
114114
endif()
115115
add_definitions(${Casablanca_DEFINITIONS} -D_WINSOCK_DEPRECATED_NO_WARNINGS -DWIN32)
116116

117-
find_package(Boost 1.55 REQUIRED COMPONENTS random system thread locale filesystem chrono atomic)
117+
find_package(Boost 1.55 REQUIRED COMPONENTS random system thread filesystem chrono atomic)
118118
find_package(OpenSSL 1.0 REQUIRED)
119119
else()
120120
message(FATAL_ERROR "-- Unsupported Build Platform.")
@@ -146,9 +146,7 @@ elseif(CMAKE_CXX_COMPILER_ID MATCHES "GNU")
146146
message("-- Setting gcc options")
147147

148148
set(WARNINGS "-Wall -Wextra -Wunused-parameter -Wcast-align -Wcast-qual -Wconversion -Wformat=2 -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wpacked -Wredundant-decls -Wunreachable-code")
149-
set(LINUX_SUPPRESSIONS "-Wno-deprecated -Wno-unknown-pragmas -Wno-reorder -Wno-unused-function -Wno-char-subscripts -Wno-switch -Wno-unused-but-set-parameter -Wno-unused-value -Wno-unused-local-typedefs")
150149

151-
set(WARNINGS "${WARNINGS} ${LINUX_SUPPRESSIONS}")
152150
set(LD_FLAGS "${LD_FLAGS} -Wl,-z,defs")
153151

154152
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -fno-strict-aliasing")

Release/include/cpprest/asyncrt_utils.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -107,11 +107,6 @@ namespace conversions
107107
/// <returns>A single byte character UTF-8 string.</returns>
108108
_ASYNCRTIMP utf8string __cdecl latin1_to_utf8(const std::string &s);
109109

110-
/// <summary>
111-
/// Converts a string with the OS's default code page to a UTF-16 string.
112-
/// </summary>
113-
_ASYNCRTIMP utf16string __cdecl default_code_page_to_utf16(const std::string &s);
114-
115110
/// <summary>
116111
/// Converts to a platform dependent Unicode string type.
117112
/// </summary>

Release/include/pplx/pplxtasks.h

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6388,8 +6388,6 @@ namespace details
63886388

63896389
_PTask->_Then([_PParam, _Index](task<_ElementType> _ResultTask) {
63906390

6391-
// Dev10 compiler bug
6392-
typedef _ElementType _ElementTypeDev10;
63936391
auto _PParamCopy = _PParam;
63946392
auto _IndexCopy = _Index;
63956393
auto _Func = [_PParamCopy, _IndexCopy, &_ResultTask](){
@@ -6467,8 +6465,7 @@ namespace details
64676465
}
64686466

64696467
_PTask->_Then([_PParam, _Index](task<std::vector<_ElementType>> _ResultTask) {
6470-
// Dev10 compiler bug
6471-
typedef _ElementType _ElementTypeDev10;
6468+
64726469
auto _PParamCopy = _PParam;
64736470
auto _IndexCopy = _Index;
64746471
auto _Func = [_PParamCopy, _IndexCopy, &_ResultTask]() {
@@ -6585,8 +6582,6 @@ namespace details
65856582
_ReturnTask._SetAsync();
65866583
}
65876584
_VectorTask._Then([_PParam](task<std::vector<_ReturnType>> _ResultTask) {
6588-
// Dev10 compiler bug
6589-
typedef _ReturnType _ReturnTypeDev10;
65906585
auto _PParamCopy = _PParam;
65916586
auto _Func = [_PParamCopy, &_ResultTask]() {
65926587
auto _ResultLocal = _ResultTask._GetImpl()->_GetResult();
@@ -6596,8 +6591,6 @@ namespace details
65966591
_WhenAllContinuationWrapper(_PParam, _Func, _ResultTask);
65976592
}, _CancellationTokenState::_None());
65986593
_ValueTask._Then([_PParam](task<_ReturnType> _ResultTask) {
6599-
// Dev10 compiler bug
6600-
typedef _ReturnType _ReturnTypeDev10;
66016594
auto _PParamCopy = _PParam;
66026595
auto _Func = [_PParamCopy, &_ResultTask]() {
66036596
auto _ResultLocal = _ResultTask._GetImpl()->_GetResult();
@@ -7178,13 +7171,11 @@ task<std::vector<_ReturnType>> operator||(const task<std::vector<_ReturnType>> &
71787171

71797172
_Rhs._Then([_PParam](task<_ReturnType> _ResultTask)
71807173
{
7181-
// Dev10 compiler bug
7182-
typedef _ReturnType _ReturnTypeDev10;
71837174
auto _PParamCopy = _PParam;
71847175
auto _Func = [&_ResultTask, _PParamCopy]() {
71857176
auto _Result = _ResultTask._GetImpl()->_GetResult();
71867177

7187-
std::vector<_ReturnTypeDev10> _Vec;
7178+
std::vector<_ReturnType> _Vec;
71887179
_Vec.push_back(_Result);
71897180
_PParamCopy->_M_Completed.set(std::make_pair(_Vec, _ResultTask._GetImpl()->_M_pTokenState));
71907181
};

Release/src/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,8 @@ elseif(WIN32)
5858
http/client/x509_cert_utilities_win32.cpp
5959
http/listener/http_server_httpsys.cpp
6060
pplx/pplxwin.cpp
61-
streams/ioscheduler.cpp
6261
streams/fileio_win32.cpp
6362
pch/stdafx.cpp
64-
utilities/dllmain.cpp
6563
)
6664
set(EXTRALINKS
6765
bcrypt.lib

Release/src/pch/stdafx.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@
7575
#undef BOOST_NO_CXX11_NULLPTR
7676
#endif
7777
#include "boost/thread/mutex.hpp"
78-
#include "boost/locale.hpp"
7978
#include "boost/thread/condition_variable.hpp"
8079
#include "boost/date_time/posix_time/posix_time_types.hpp"
8180
#include "boost/bind/bind.hpp"

Release/src/pplx/pplxwin.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ namespace details
237237
_PPLXIMP void windows_scheduler::schedule( TaskProc_t proc, _In_ void* param)
238238
{
239239
auto schedulerParam = new _Scheduler_Param(proc, param);
240-
auto work = QueueUserWorkItem(_Scheduler_Param::DefaultWorkCallback, schedulerParam, WT_EXECUTEDEFAULT);
240+
auto work = QueueUserWorkItem(_Scheduler_Param::DefaultWorkCallback, schedulerParam, WT_EXECUTELONGFUNCTION);
241241

242242
if (!work)
243243
{

0 commit comments

Comments
 (0)