[EFL][GTK] Remove MutableArray leftovers from build systems
https://bugs.webkit.org/show_bug.cgi?id=124248

Patch by Nick Diego Yamane <nick.yamane@openbossa.org> on 2013-11-12
Reviewed by Anders Carlsson.

MutableArray.cpp and .h file has been removed by r159155.

* CMakeLists.txt:
* GNUmakefile.list.am:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159165 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Make the placed floats tree use LayoutUnit instead of int
https://bugs.webkit.org/show_bug.cgi?id=124207

Reviewed by Alexandru Chiculita.

The dimensions of floats are in LayoutUnits, so it doesn't make sense
to be converting to ints for use in the placed floats tree.

Also add missed "explicit" to single argument FloatingObjects
constructor.

No new tests, no behavior change.

* rendering/FloatingObjects.cpp:
(WebCore::rangesIntersect):
(WebCore::ComputeFloatOffsetAdapter::ComputeFloatOffsetAdapter):
(WebCore::ComputeFloatOffsetAdapter::lowValue):
(WebCore::ComputeFloatOffsetAdapter::highValue):
(WebCore::FindNextFloatLogicalBottomAdapter::FindNextFloatLogicalBottomAdapter):
(WebCore::FindNextFloatLogicalBottomAdapter::lowValue):
(WebCore::FindNextFloatLogicalBottomAdapter::highValue):
* rendering/FloatingObjects.h:
* rendering/RenderFlowThread.h:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159166 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed, rolling out r159160, r159161, and r159164.
http://trac.webkit.org/changeset/159160
http://trac.webkit.org/changeset/159161
http://trac.webkit.org/changeset/159164
https://bugs.webkit.org/show_bug.cgi?id=124253

Too many errors (make fewer) (Requested by ap on #webkit).

Source/WebCore:

* WebCore.xcodeproj/project.pbxproj:
* bindings/js/JSCryptoAlgorithmBuilder.cpp:
* bindings/js/JSCryptoAlgorithmBuilder.h:
* bindings/js/JSCryptoAlgorithmDictionary.cpp:
(WebCore::createAesCbcParams):
(WebCore::createAesKeyGenParams):
(WebCore::createHmacParams):
(WebCore::createHmacKeyParams):
(WebCore::JSCryptoAlgorithmDictionary::createParametersForEncrypt):
(WebCore::JSCryptoAlgorithmDictionary::createParametersForDecrypt):
(WebCore::JSCryptoAlgorithmDictionary::createParametersForSign):
(WebCore::JSCryptoAlgorithmDictionary::createParametersForVerify):
(WebCore::JSCryptoAlgorithmDictionary::createParametersForDigest):
(WebCore::JSCryptoAlgorithmDictionary::createParametersForGenerateKey):
(WebCore::JSCryptoAlgorithmDictionary::createParametersForDeriveKey):
(WebCore::JSCryptoAlgorithmDictionary::createParametersForDeriveBits):
(WebCore::JSCryptoAlgorithmDictionary::createParametersForImportKey):
(WebCore::JSCryptoAlgorithmDictionary::createParametersForExportKey):
(WebCore::JSCryptoAlgorithmDictionary::createParametersForWrapKey):
(WebCore::JSCryptoAlgorithmDictionary::createParametersForUnwrapKey):
* bindings/js/JSCryptoKeySerializationJWK.cpp:
(WebCore::JSCryptoKeySerializationJWK::reconcileAlgorithm):
(WebCore::JSCryptoKeySerializationJWK::keyData):
* bindings/js/JSCryptoKeySerializationJWK.h:
* crypto/CryptoAlgorithmDescriptionBuilder.h:
* crypto/CryptoAlgorithmRSASSA_PKCS1_v1_5Mac.cpp: Removed.
* crypto/CryptoKey.h:
(WebCore::ENUM_CLASS):
* crypto/CryptoKeyData.h:
(WebCore::CryptoKeyData::ENUM_CLASS):
* crypto/algorithms/CryptoAlgorithmAES_CBC.cpp:
(WebCore::CryptoAlgorithmAES_CBC::importKey):
* crypto/algorithms/CryptoAlgorithmHMAC.cpp:
(WebCore::CryptoAlgorithmHMAC::importKey):
* crypto/algorithms/CryptoAlgorithmRSASSA_PKCS1_v1_5.cpp: Removed.
* crypto/algorithms/CryptoAlgorithmRSASSA_PKCS1_v1_5.h: Removed.
* crypto/keys/CryptoKeyAES.h:
(WebCore::asCryptoKeyAES):
* crypto/keys/CryptoKeyDataOctetSequence.h:
(WebCore::asCryptoKeyDataOctetSequence):
* crypto/keys/CryptoKeyDataRSAComponents.cpp: Removed.
* crypto/keys/CryptoKeyDataRSAComponents.h: Removed.
* crypto/keys/CryptoKeyHMAC.h:
(WebCore::asCryptoKeyHMAC):
* crypto/keys/CryptoKeyRSA.h: Removed.
* crypto/mac/CryptoAlgorithmAES_CBCMac.cpp:
(WebCore::CryptoAlgorithmAES_CBC::encrypt):
(WebCore::CryptoAlgorithmAES_CBC::decrypt):
* crypto/mac/CryptoAlgorithmHMACMac.cpp:
(WebCore::CryptoAlgorithmHMAC::sign):
(WebCore::CryptoAlgorithmHMAC::verify):
* crypto/mac/CryptoAlgorithmRegistryMac.cpp:
(WebCore::CryptoAlgorithmRegistry::platformRegisterAlgorithms):
* crypto/mac/CryptoKeyRSAMac.cpp: Removed.
* crypto/parameters/CryptoAlgorithmHmacKeyParams.h:
* crypto/parameters/CryptoAlgorithmRsaKeyGenParams.h: Removed.
* crypto/parameters/CryptoAlgorithmRsaSsaKeyParams.h: Removed.
* crypto/parameters/CryptoAlgorithmRsaSsaParams.h: Removed.

LayoutTests:

* crypto/subtle/resources/common.js:
(hexToArrayBuffer):
* crypto/subtle/rsassa-pkcs1-v1_5-generate-key-expected.txt: Removed.
* crypto/subtle/rsassa-pkcs1-v1_5-generate-key.html: Removed.
* crypto/subtle/rsassa-pkcs1-v1_5-import-jwk-expected.txt: Removed.
* crypto/subtle/rsassa-pkcs1-v1_5-import-jwk.html: Removed.
* platform/mac/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159167 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Windows] Unreviewed. More edits to Windows test expectations following r159157.

* platform/win/editing/selection/extend-selection-home-end-expected.txt:
* platform/win/fast/canvas/canvas-draw-canvas-on-canvas-shadow-expected.txt:
* platform/win/fast/canvas/canvas-fillRect-gradient-shadow-expected.txt:
* platform/win/fast/canvas/canvas-scale-shadowBlur-expected.txt:
* platform/win/fast/canvas/canvas-scale-strokePath-shadow-expected.txt:
* platform/win/fast/canvas/canvas-strokePath-gradient-shadow-expected.txt:
* platform/win/fast/canvas/canvas-strokeRect-alpha-shadow-expected.txt:
* platform/win/fast/canvas/canvas-strokeRect-gradient-shadow-expected.txt:
* platform/win/fast/dom/horizontal-scrollbar-in-rtl-expected.txt:
* platform/win/fast/dom/vertical-scrollbar-in-rtl-expected.txt:
* platform/win/fast/forms/cursor-at-editable-content-boundary-expected.txt:
* platform/win/fast/forms/implicit-submission-expected.txt:
* platform/win/fast/forms/range: Added.
* platform/win/fast/forms/range/slider-mouse-events-expected.txt: Copied from platform/win/fast/forms/slider-mouse-events-expected.txt.
* platform/win/fast/forms/select-popup-pagekeys-expected.txt:
* platform/win/fast/forms/slider-mouse-events-expected.txt: Removed.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159168 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Remove -[WebHistoryItem _lastVisitedDate]
https://bugs.webkit.org/show_bug.cgi?id=124250

Reviewed by Mark Rowe.

This method is not called by anyone and NSCalendarDate is deprecated so get rid of it.

* History/WebHistoryItem.mm:
* History/WebHistoryItemPrivate.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159169 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed try at fixing the GTK+ build.

* UIProcess/soup/WebSoupRequestManagerProxy.h: rename TypedAPIObject to API:TypedObject.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159170 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Mac] Fix some deprecation warnings
https://bugs.webkit.org/show_bug.cgi?id=124252

Reviewed by Mark Rowe.

Source/WebCore:

* loader/archive/cf/LegacyWebArchive.cpp:
(WebCore::LegacyWebArchive::create): Use CFPropertyListCreateWithData()
instead of CFPropertyListCreateFromXMLData().
(WebCore::LegacyWebArchive::rawDataRepresentation): Use
CFPropertyListWrite() instead of CFPropertyListWriteToStream().
* platform/mac/HTMLConverter.mm:
(_dateForString): Rewrite this method in terms of NSDateComponents and
NSCalendar instead of using CFGregorianDate.

Source/WebKit/mac:

* Plugins/WebBasePluginPackage.mm:
(-[WebBasePluginPackage pListForPath:createFile:]): Use +[NSPropertyListSerialization propertyListWithData:options:format:error:] instead of +[NSPropertyListSerialization propertyListFromData:mutabilityOption:format:errorDescription:].

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159171 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Fix the Mountain Lion build after r159171.

* platform/mac/HTMLConverter.mm:
(_dateForString): +[NSCalendar calendarWithIdentifier:] only exists on
10.9. Use -[NSCalendar initWithIdentifier:] instead.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159172 268f45cc-cd09-0410-ab3c-d52691b4dbfc
fast/canvas/webgl/draw-arrays-out-of-bounds.html is flaky on Mavericks WK2 testers, fails about 20% of the time
https://bugs.webkit.org/show_bug.cgi?id=124223
<rdar://problem/15333977>

Reviewed by Tim Horton.

It's wrong to use DataReferences in sync IPC replies; the underlying MessageDecoder will be freed after the call to
sendSync returns and the DataReference will point to freed memory. Use a Vector<char> instead.

* NetworkProcess/NetworkConnectionToWebProcess.messages.in:
* NetworkProcess/SynchronousNetworkLoaderClient.cpp:
(WebKit::SynchronousNetworkLoaderClient::didReceiveBuffer):
(WebKit::SynchronousNetworkLoaderClient::sendDelayedReply):
* NetworkProcess/SynchronousNetworkLoaderClient.h:
* WebProcess/WebCoreSupport/WebPlatformStrategies.cpp:
(WebKit::WebPlatformStrategies::loadResourceSynchronously):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159173 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Revert r159140, as it is theoretically fixed by r159173.

* platform/mac-wk2/TestExpectations:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159174 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL] Added libxss-dev to install-dependencies
https://bugs.webkit.org/show_bug.cgi?id=124254

Reviewed by Gyuyoung Kim.

libxss-dev is required to build EFL packages.
see building part in http://www.enlightenment.org/p.php?p=contribute

* efl/install-dependencies: Added libxss-dev to parameter of apt-get command.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159175 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[GTK][EFL] More on renaming WebKit::APIObject to API::Object
https://bugs.webkit.org/show_bug.cgi?id=124255

Patch by Nick Diego Yamane <nick.yamane@openbossa.org> on 2013-11-12
Reviewed by Anders Carlsson.

In r159163 WebKit::APIObject has been renamed to API::Object.
This patch refactors the remaining files which were still
using WebKit::APIObject and WebKit::TypedAPIObject.

* Shared/WebBatteryStatus.h:
* Shared/WebNetworkInfo.h:
* UIProcess/API/C/WKGrammarDetail.cpp:
* UIProcess/API/gtk/WebKitContextMenuItem.cpp:
* UIProcess/API/gtk/WebKitFileChooserRequest.cpp:
* UIProcess/API/gtk/WebKitWebViewGroup.cpp:
* UIProcess/CoordinatedGraphics/WebView.h:
* UIProcess/WebBatteryManagerProxy.cpp:
* UIProcess/WebBatteryManagerProxy.h:
* UIProcess/WebGrammarDetail.cpp:
* UIProcess/WebNetworkInfoManagerProxy.cpp:
* UIProcess/WebNetworkInfoManagerProxy.h:
* UIProcess/WebTextChecker.h:
* UIProcess/WebVibrationProxy.h:
* UIProcess/WebViewportAttributes.h:
* UIProcess/efl/EwkTouchEvent.h:
* UIProcess/efl/EwkTouchPoint.h:
* UIProcess/efl/WebPopupItemEfl.h:
* UIProcess/efl/WebUIPopupMenuClient.cpp:
* UIProcess/gtk/WebFullScreenClientGtk.h:
* UIProcess/gtk/WebInspectorClientGtk.h:
* UIProcess/soup/WebSoupRequestManagerProxy.cpp:
* UIProcess/soup/WebSoupRequestManagerProxy.h:
* WebProcess/InjectedBundle/efl/InjectedBundleEfl.cpp:
* WebProcess/InjectedBundle/gtk/InjectedBundleGtk.cpp:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159176 268f45cc-cd09-0410-ab3c-d52691b4dbfc