config.h | config.h | |||
---|---|---|---|---|
skipping to change at line 92 | skipping to change at line 92 | |||
#define CPPCMS_HAVE_CANONICALIZE_FILE_NAME | #define CPPCMS_HAVE_CANONICALIZE_FILE_NAME | |||
/* "Have g++ typeof" */ | /* "Have g++ typeof" */ | |||
#define CPPCMS_HAVE_UNDERSCORE_TYPEOF | #define CPPCMS_HAVE_UNDERSCORE_TYPEOF | |||
/* Define to the full name of this package. */ | /* Define to the full name of this package. */ | |||
#define CPPCMS_PACKAGE_NAME "CppCMS" | #define CPPCMS_PACKAGE_NAME "CppCMS" | |||
/* Define to the full name and version of this package. */ | /* Define to the full name and version of this package. */ | |||
#define CPPCMS_PACKAGE_STRING "CppCMS/1.0.2" | #define CPPCMS_PACKAGE_STRING "CppCMS/1.0.3" | |||
/* Define to the version of this package. */ | /* Define to the version of this package. */ | |||
#define CPPCMS_PACKAGE_VERSION "1.0.2" | #define CPPCMS_PACKAGE_VERSION "1.0.3" | |||
/* Define to module suffix. */ | /* Define to module suffix. */ | |||
#define CPPCMS_LIBRARY_SUFFIX ".so" | #define CPPCMS_LIBRARY_SUFFIX ".so" | |||
/* Define to module suffix. */ | /* Define to module suffix. */ | |||
#define CPPCMS_LIBRARY_PREFIX "lib" | #define CPPCMS_LIBRARY_PREFIX "lib" | |||
#define CPPCMS_HAS_FCGI | #define CPPCMS_HAS_FCGI | |||
#define CPPCMS_HAS_SCGI | #define CPPCMS_HAS_SCGI | |||
#define CPPCMS_HAS_HTTP | #define CPPCMS_HAS_HTTP | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
http_context.h | http_context.h | |||
---|---|---|---|---|
skipping to change at line 17 | skipping to change at line 17 | |||
/////////////////////////////////////////////////////////////////////////// //// | /////////////////////////////////////////////////////////////////////////// //// | |||
#ifndef CPPCMS_HTTP_CONTEXT_H | #ifndef CPPCMS_HTTP_CONTEXT_H | |||
#define CPPCMS_HTTP_CONTEXT_H | #define CPPCMS_HTTP_CONTEXT_H | |||
#include <cppcms/defs.h> | #include <cppcms/defs.h> | |||
#include <booster/hold_ptr.h> | #include <booster/hold_ptr.h> | |||
#include <booster/intrusive_ptr.h> | #include <booster/intrusive_ptr.h> | |||
#include <booster/shared_ptr.h> | #include <booster/shared_ptr.h> | |||
#include <booster/enable_shared_from_this.h> | #include <booster/enable_shared_from_this.h> | |||
#include <booster/callback.h> | #include <booster/callback.h> | |||
#include <booster/noncopyable.h> | ||||
#include <locale> | #include <locale> | |||
namespace cppcms { | namespace cppcms { | |||
class service; | class service; | |||
class application; | class application; | |||
class cache_interface; | class cache_interface; | |||
class session_interface; | class session_interface; | |||
namespace json { class value; } | namespace json { class value; } | |||
namespace impl { namespace cgi { class connection; } } | namespace impl { namespace cgi { class connection; } } | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 1 lines changed or added | |||
utf.h | utf.h | |||
---|---|---|---|---|
skipping to change at line 222 | skipping to change at line 222 | |||
code_point c = lead & ((1<<(6-trail_size))-1); | code_point c = lead & ((1<<(6-trail_size))-1); | |||
// Read the rest | // Read the rest | |||
unsigned char tmp; | unsigned char tmp; | |||
switch(trail_size) { | switch(trail_size) { | |||
case 3: | case 3: | |||
if(BOOSTER_LOCALE_UNLIKELY(p==e)) | if(BOOSTER_LOCALE_UNLIKELY(p==e)) | |||
return incomplete; | return incomplete; | |||
tmp = *p++; | tmp = *p++; | |||
if (!is_trail(tmp)) | ||||
return illegal; | ||||
c = (c << 6) | ( tmp & 0x3F); | c = (c << 6) | ( tmp & 0x3F); | |||
case 2: | case 2: | |||
if(BOOSTER_LOCALE_UNLIKELY(p==e)) | if(BOOSTER_LOCALE_UNLIKELY(p==e)) | |||
return incomplete; | return incomplete; | |||
tmp = *p++; | tmp = *p++; | |||
if (!is_trail(tmp)) | ||||
return illegal; | ||||
c = (c << 6) | ( tmp & 0x3F); | c = (c << 6) | ( tmp & 0x3F); | |||
case 1: | case 1: | |||
if(BOOSTER_LOCALE_UNLIKELY(p==e)) | if(BOOSTER_LOCALE_UNLIKELY(p==e)) | |||
return incomplete; | return incomplete; | |||
tmp = *p++; | tmp = *p++; | |||
if (!is_trail(tmp)) | ||||
return illegal; | ||||
c = (c << 6) | ( tmp & 0x3F); | c = (c << 6) | ( tmp & 0x3F); | |||
} | } | |||
// Check code point validity: no surrogates and | // Check code point validity: no surrogates and | |||
// valid range | // valid range | |||
if(BOOSTER_LOCALE_UNLIKELY(!is_valid_codepoint(c))) | if(BOOSTER_LOCALE_UNLIKELY(!is_valid_codepoint(c))) | |||
return illegal; | return illegal; | |||
// make sure it is the most compact representation | // make sure it is the most compact representation | |||
if(BOOSTER_LOCALE_UNLIKELY(width(c)!=trail_size + 1)) | if(BOOSTER_LOCALE_UNLIKELY(width(c)!=trail_size + 1)) | |||
End of changes. 3 change blocks. | ||||
0 lines changed or deleted | 6 lines changed or added | |||