2013-09-13  Sharath Kamath  <s.kamath@samsung.com>

        Redefine CLenum as unsigned long and error codes to CLint.

        Issue #220

        Reviewed by NOBODY (OOPS!).

        As per Khronos bug[https://www.khronos.org/bugzilla/show_bug.cgi?id=958] CLenum needs to be
        unsigned long to hold OpenCL DEVICE_TYPE_ALL enum member.
        Also all the negetive members of Enum in WebCL interface will be changed to CLint.

        This also fixes the issue with getDevices(DEVICE_TYPE_ALL).

        Changing all IDL files to use CLenum, CLint, CLuint, CLboolean & CLtype
        instead of respective native types.

        No new tests (OOPS!).

        * Modules/webcl/WebCL.idl:
        * Modules/webcl/WebCLBuffer.idl:
        * Modules/webcl/WebCLCommandQueue.idl:
        * Modules/webcl/WebCLContext.idl:
        * Modules/webcl/WebCLContextProperties.idl:
        * Modules/webcl/WebCLDevice.idl:
        * Modules/webcl/WebCLEvent.idl:
        * Modules/webcl/WebCLException.idl:
        * Modules/webcl/WebCLGL.idl:
        * Modules/webcl/WebCLGLContext.idl:
        * Modules/webcl/WebCLGLImage.idl:
        * Modules/webcl/WebCLGLObjectInfo.idl:
        * Modules/webcl/WebCLImageDescriptor.idl:
        * Modules/webcl/WebCLInputChecker.cpp: Changing all the enum values from int to unsigned long.
        (WebCore::WebCLInputChecker::isValidDeviceType):
        (WebCore::WebCLInputChecker::isValidDeviceInfoType):
        (WebCore::WebCLInputChecker::isValidMemoryObjectFlag):
        (WebCore::WebCLInputChecker::isValidAddressingMode):
        (WebCore::WebCLInputChecker::isValidFilterMode):
        (WebCore::WebCLInputChecker::isValidChannelOrder):
        (WebCore::WebCLInputChecker::isValidChannelType):
        (WebCore::WebCLInputChecker::isValidCommandQueueProperty):
        (WebCore::WebCLInputChecker::isValidGLTextureInfo):
        * Modules/webcl/WebCLInputChecker.h:
        * Modules/webcl/WebCLKernel.idl:
        * Modules/webcl/WebCLKernelArgumentTypes.idl:
        * Modules/webcl/WebCLMemoryObject.idl:
        * Modules/webcl/WebCLPlatform.idl:
        * Modules/webcl/WebCLProgram.idl:
        * Modules/webcl/WebCLSampler.idl:
2013-09-20  Antonio Gomes  <a1.gomes@sisa.samsung.com>

        Catch up with the latest constants defined in WebCL WD.
        Issue #308

        Reviewed by Trust.

        * Modules/webcl/WebCL.idl:
        * Modules/webcl/WebCLGLObjectInfo.idl:
        * Modules/webcl/WebCLImageDescriptor.idl:
StrictTypeChecking extended attribute fails for methods with sequence<T>
https://bugs.webkit.org/show_bug.cgi?id=121305

Reviewed by Darin Adler.
Patch by Antonio Gomes <a1.gomes@sisa.samsung.com>

The extended attribute StrictTypeChecking can not be set to methods if
one of the parameters is a "sequence".
Basically, since "sequence" is not considered a native type
(see function IsNativeType) the Perl code generator tries to
include its supposedly associated header, in this case "JSsequence.h"
Compilation then fails.

It is a problem for bindings including WebGL, where all methods
are supposed to be set as StrictTypeChecking (see bug 44202 [1]). Due to this restriction,
it relaxed, but I would like to bring it back.

[1] https://bugs.webkit.org/show_bug.cgi?id=44202

* bindings/scripts/CodeGeneratorJS.pm:
(GenerateParametersCheck):
* bindings/scripts/test/JS/JSTestObj.cpp:
(WebCore::jsTestObjPrototypeFunctionStrictFunctionWithSequence):
* bindings/scripts/test/JS/JSTestObj.h:
* bindings/scripts/test/TestObj.idl: