From: Kisub Song Date: Sun, 24 Mar 2013 03:32:00 +0000 (+0900) Subject: Update change log and spec for wrt-plugins-tizen_0.4.11 X-Git-Tag: accepted/tizen_2.1/20130425.022337~19 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3642aa38d3f2414f1f361e5c1ce24a5c97493d67;p=framework%2Fweb%2Fwrt-plugins-tizen.git Update change log and spec for wrt-plugins-tizen_0.4.11 [model] REDWOOD [binary_type] PDA [customer] OPEN [Issue#] N/A [Problem] Tizen - AbstractFilter array did not support Array.isArray() [Cause] AbstractFilterArray did not use JSArray [Solution] Reimplemented AbstractFiilterArray to JSArray [Issue#] N/A [Problem] Tizen - Could not distinguish the constructor and object [Cause] Used object as constructor [Solution] Fixed attaching method to tizen object [Issue#] Content - can not update geolocation. [Problem] the geolocation data is different with private object [Cause] N/A [Solution] set/get property is control by parent object [Issue#] N/A [Problem] Filesystem - Privilege should be checked before checking parameters. [Cause] N/A [Solution] add simple privilege check. [Issue#] TDIS-4710 [Problem] Messaging - findMessages with body filter fails [Cause] findMessages is supports only body.plainBody [Solution] change filter validators [Issue#] N/A [Problem] Contact - crash at inserting failure, can't add groupIds [Cause] internal bugs [Solution] modify codes [Issue#] ORANGE-245 [Problem] Download [Cause] N/A [Solution] Add new feature about http header field and network type selection. [Issue#] N/A [Problem] Messaging - isArray is not supported for to, cc and bcc attribute [Cause] isArray is not supported for to, cc and bcc attribute [Solution] isArray is supported for to, cc and bcc attribute [team] WebAPI [request] N/A [horizontal_expansion] N/A Change-Id: Id4f1a8420c49fa12e4469fdf1c5ce77d589032fb --- diff --git a/CMakeLists.txt b/CMakeLists.txt index e7061e2..35a819d 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,13 +6,13 @@ PROJECT(wrt-plugins-tizen) # ----------------------------------------------------------------------------- INCLUDE(FindPkgConfig) -PKG_SEARCH_MODULE(webkit2 REQUIRED ewebkit2) -PKG_SEARCH_MODULE(dpl REQUIRED dpl-efl) -PKG_SEARCH_MODULE(dpl-event REQUIRED dpl-event-efl) -PKG_SEARCH_MODULE(wrt-plugins-types REQUIRED wrt-plugins-types) -PKG_SEARCH_MODULE(wrt-deviceapis-commons REQUIRED wrt-plugins-commons) -PKG_SEARCH_MODULE(wrt-deviceapis-commons-javascript REQUIRED wrt-plugins-commons-javascript) -PKG_SEARCH_MODULE(wrt-plugins-widgetdb REQUIRED wrt-plugins-widgetdb) +PKG_CHECK_MODULES(webkit2 REQUIRED ewebkit2) +PKG_CHECK_MODULES(dpl REQUIRED dpl-efl) +PKG_CHECK_MODULES(dpl-event REQUIRED dpl-event-efl) +PKG_CHECK_MODULES(wrt-plugins-types REQUIRED wrt-plugins-types) +PKG_CHECK_MODULES(wrt-deviceapis-commons REQUIRED wrt-plugins-commons) +PKG_CHECK_MODULES(wrt-deviceapis-commons-javascript REQUIRED wrt-plugins-commons-javascript) +PKG_CHECK_MODULES(wrt-plugins-widgetdb REQUIRED wrt-plugins-widgetdb) INCLUDE_DIRECTORIES( ${webkit2_INCLUDE_DIRS} diff --git a/packaging/wrt-plugins-tizen.spec b/packaging/wrt-plugins-tizen.spec index 25a0eb2..b7fe3aa 100755 --- a/packaging/wrt-plugins-tizen.spec +++ b/packaging/wrt-plugins-tizen.spec @@ -1,6 +1,6 @@ Name: wrt-plugins-tizen Summary: JavaScript plugins for WebRuntime -Version: 0.4.10 +Version: 0.4.11 Release: 0 Group: Development/Libraries License: Apache License, Version 2.0 diff --git a/src/Common/ArgumentValidationChecker.cpp b/src/Common/ArgumentValidationChecker.cpp deleted file mode 100755 index 1f23103..0000000 --- a/src/Common/ArgumentValidationChecker.cpp +++ /dev/null @@ -1,139 +0,0 @@ -// -// Tizen Web Device API -// Copyright (c) 2013 Samsung Electronics Co., Ltd. -// -// Licensed under the Apache License, Version 2.0 (the License); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// - -#include "ArgumentValidationChecker.h" -#include "JSTizenException.h" - - -#include -#include - -#undef LOG_TAG -#define LOG_TAG "TIZEN_DEVICEAPI" - -using namespace std; - -namespace DeviceAPI { -namespace Common { - - -void ArgumentValidationChecker::check(JSContextRef ctx, int argumentCount, const JSValueRef arguments [ ], int convertedArgumentCount, JSValueRef convertedArguments [ ], Option option, ...){ - va_list var_args; - va_start (var_args, option); - Option opt = option; - int index = 0; - while( opt != END){ - Type type = static_cast(va_arg(var_args, int)); - JSObjectRef testObject = NULL; - bool nullable = ((opt & NULLABLE) == NULLABLE ); - JSValueRef jsException = NULL; - - if( index >= convertedArgumentCount ){ - LOGE("invalid argument check code"); - va_end (var_args); - return; - } - - if( argumentCount <= index ){ - if( !nullable ) - convertedArguments[index] = JSValueMakeUndefined(ctx); - else - convertedArguments[index] = JSValueMakeNull(ctx); - testObject = NULL; - }else{ - convertedArguments[index] = arguments[index]; - if( JSValueIsObject(ctx, arguments[index]) ) - testObject = JSValueToObject(ctx, arguments[index], NULL); - else - testObject = NULL; - } - - if( JSValueIsNull(ctx, convertedArguments[index]) && nullable){ - if( type == ArgumentValidationChecker::UserDefine) - va_arg(var_args, JSClassRef); - if( type == ArgumentValidationChecker::SelfCheck) - va_arg(var_args, SelfChecker); - - opt = static_cast