1. 22 Jan, 2014 1 commit
  2. 21 Jan, 2014 1 commit
  3. 18 Jan, 2014 2 commits
  4. 17 Jan, 2014 2 commits
    • mrobinson@webkit.org's avatar
      Build fix for the CMake GTK+ build · 6b0f9efb
      mrobinson@webkit.org authored
      * PlatformGTK.cmake: We need to include ProgressTrackerClientGtk in the source list.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162243 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6b0f9efb
    • bdakin@apple.com's avatar
      Need a way to test the tile cache with margins enabled · d99f20e7
      bdakin@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=127194
      -and corresponding-
      <rdar://problem/15571327>
      
      Reviewed by Tim Horton.
      
      Source/WebCore: 
      
      This patch adds a new function to InternalSettings that will allow layout tests to 
      flip the setting Settings::setBackgroundShouldExtendBeyondPage(). This patch also         
      makes changing that setting take effect immediately. 
      
      To make this setting dynamic, we can no longer generate the Setting function, so 
      we have to export the symbol manually.
      * WebCore.exp.in:
      
      This new function on FrameView will call into RenderLayerBacking to add or remove 
      margins.
      * page/FrameView.cpp:
      (WebCore::FrameView::setBackgroundExtendsBeyondPage):
      * page/FrameView.h:
      
      Again, we’re no longer using the boiler-plate generated Setting functions, so now 
      we can call into FrameView to make the background extend.
      * page/Settings.cpp:
      (WebCore::Settings::Settings):
      (WebCore::Settings::setBackgroundShouldExtendBeyondPage):
      * page/Settings.h:
      (WebCore::Settings::backgroundShouldExtendBeyondPage):
      * page/Settings.in:
      
      Whenever tile margins are set, call setNeedsRevalidateTiles() to make the change 
      dynamic.
      * platform/graphics/ca/mac/TileController.mm:
      (WebCore::TileController::setTileMargins):
      
      Move the call to TiledBacking::setTileMargins() into a helper function so that the 
      same code can be used for FrameView.
      * rendering/RenderLayerBacking.cpp:
      (WebCore::RenderLayerBacking::RenderLayerBacking):
      (WebCore::RenderLayerBacking::setTiledBackingHasMargins):
      * rendering/RenderLayerBacking.h:
      
      New InternalSetting.
      * testing/InternalSettings.cpp:
      (WebCore::InternalSettings::setBackgroundShouldExtendBeyondPage):
      * testing/InternalSettings.h:
      * testing/InternalSettings.idl:
      
      Source/WebKit: 
      
      Attempt to keep Windows building.
      
      * WebKit.vcxproj/WebKitExportGenerator/WebKitExports.def.in:
      
      LayoutTests: 
      
      * platform/mac-wk2/tiled-drawing/simple-document-with-margin-tiles-expected.txt: Added.
      * platform/mac-wk2/tiled-drawing/simple-document-with-margin-tiles.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162230 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d99f20e7
  5. 16 Jan, 2014 1 commit
    • aestes@apple.com's avatar
      [iOS] Fix build issues with exported headers · 5d86e980
      aestes@apple.com authored
      Source/WebCore:
      
      * Configurations/WebCore.xcconfig: Allowed UIKit to link against
      WebCore.
      * page/ios/WebEventRegion.h: Removed ENABLE(TOUCH_EVENTS), which are
      always enabled on iOS.
      
      Source/WebKit:
      
      * WebKit.xcodeproj/project.pbxproj: Removed WebPluginPrivate.h from
      the project.
      
      Source/WebKit/ios:
      
      * Misc/WebNSStringExtrasIOS.h: Changed PLATFORM(IOS) to
      TARGET_OS_IPHONE.
      
      Source/WebKit/mac:
      
      * DOM/WebDOMOperationsPrivate.h: Changed PLATFORM(IOS) to
      TARGET_OS_IPHONE.
      * MigrateHeaders.make: Excluded WAKScrollView.h from normal replacement
      rules so that WebCoreFrameScrollView won't inadvertently get changed to
      WebKitFrameScrollView.
      * Plugins/WebPlugin.h: Moved contents of WebPluginPrivate.h to here in
      order to maintain source compatibility.
      * Plugins/WebPluginController.mm: Removed an import of WebPluginPrivate.h.
      * Plugins/WebPluginPrivate.h: Removed.
      * Storage/WebDatabaseManagerPrivate.h: Replaced ENABLE(SQL_DATABASE)
      with ENABLE_SQL_DATABASE.
      * WebView/WebViewPrivate.h: Added declaration of
      -[WebView _touchEventRegions] for source compatibility.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162120 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5d86e980
  6. 15 Jan, 2014 1 commit
    • ryuan.choi@samsung.com's avatar
      [EFL][WK1] Implement ProgressTrackerClientEfl to fix the crash · 51ea3805
      ryuan.choi@samsung.com authored
      https://bugs.webkit.org/show_bug.cgi?id=127031
      
      Reviewed by Gyuyoung Kim.
      
      Source/WebKit:
      
      * PlatformEfl.cmake: Added ProgressTrackerClientEfl.cpp into source lists.
      
      Source/WebKit/efl:
      
      Implmemented and moved ProgressTrackerClient logic from FrameLoaderClientEfl.
      ProgressTrackerClient should be indenpendent instance since r162034
      
      * WebCoreSupport/FrameLoaderClientEfl.cpp:
      * WebCoreSupport/FrameLoaderClientEfl.h:
      * WebCoreSupport/ProgressTrackerClientEfl.cpp:
      (WebCore::ProgressTrackerClientEfl::ProgressTrackerClientEfl):
      (WebCore::ProgressTrackerClientEfl::progressTrackerDestroyed):
      (WebCore::ProgressTrackerClientEfl::progressStarted):
      (WebCore::ProgressTrackerClientEfl::progressEstimateChanged):
      (WebCore::ProgressTrackerClientEfl::progressFinished):
      * WebCoreSupport/ProgressTrackerClientEfl.h: Added.
      * ewk/ewk_view.cpp:
      (_ewk_view_priv_new):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162061 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      51ea3805
  7. 14 Jan, 2014 4 commits
    • andersca@apple.com's avatar
      Create separate progress tracker clients · f9ce42a1
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=127025
      
      Reviewed by Sam Weinig.
      
      Source/WebCore:
      
      * loader/ProgressTracker.cpp:
      (WebCore::ProgressTracker::~ProgressTracker):
      * loader/ProgressTrackerClient.h:
      
      Source/WebKit:
      
      * WebKit.xcodeproj/project.pbxproj:
      
      Source/WebKit/mac:
      
      * WebCoreSupport/WebFrameLoaderClient.h:
      * WebCoreSupport/WebFrameLoaderClient.mm:
      * WebCoreSupport/WebProgressTrackerClient.h: Copied from Source/WebCore/loader/ProgressTrackerClient.h.
      * WebCoreSupport/WebProgressTrackerClient.mm: Added.
      (WebProgressTrackerClient::WebProgressTrackerClient):
      (WebProgressTrackerClient::progressTrackerDestroyed):
      (WebProgressTrackerClient::willChangeEstimatedProgress):
      (WebProgressTrackerClient::didChangeEstimatedProgress):
      (WebProgressTrackerClient::progressStarted):
      (WebProgressTrackerClient::progressEstimateChanged):
      (WebProgressTrackerClient::progressFinished):
      * WebView/WebView.mm:
      (-[WebView _commonInitializationWithFrameName:groupName:]):
      (-[WebView initSimpleHTMLDocumentWithStyle:frame:preferences:groupName:]):
      
      Source/WebKit2:
      
      * WebKit2.xcodeproj/project.pbxproj:
      * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
      * WebProcess/WebCoreSupport/WebFrameLoaderClient.h:
      * WebProcess/WebCoreSupport/WebProgressTrackerClient.cpp: Copied from Source/WebCore/loader/ProgressTrackerClient.h.
      (WebKit::WebProgressTrackerClient::WebProgressTrackerClient):
      (WebKit::WebProgressTrackerClient::progressTrackerDestroyed):
      (WebKit::WebProgressTrackerClient::progressStarted):
      (WebKit::WebProgressTrackerClient::progressEstimateChanged):
      (WebKit::WebProgressTrackerClient::progressFinished):
      * WebProcess/WebCoreSupport/WebProgressTrackerClient.h: Copied from Source/WebCore/loader/ProgressTrackerClient.h.
      * WebProcess/WebPage/WebPage.cpp:
      (WebKit::WebPage::WebPage):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162034 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f9ce42a1
    • dino@apple.com's avatar
      Correct grave mistake in updating the pbxproj file rather than xcconfig. · 4fe49f3a
      dino@apple.com authored
      Source/WebKit:
      
      * WebKit.xcodeproj/project.pbxproj:
      
      Source/WebKit/mac:
      
      * Configurations/WebKit.xcconfig:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162029 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4fe49f3a
    • dino@apple.com's avatar
      Attempt to fix 32-bit Mac build. · fc68c8d0
      dino@apple.com authored
      * WebKit.xcodeproj/project.pbxproj:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162025 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fc68c8d0
    • dino@apple.com's avatar
      [WK1] Allow generated export files on iOS · 398e4d40
      dino@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=127008
      
      Reviewed by Simon Fraser.
      
      Source/WebKit:
      
      Modify the export file generation rule to read from
      a shared and platform-specific input file.
      
      * WebKit.xcodeproj/project.pbxproj:
      
      Source/WebKit/mac:
      
      Add a new Mac-only symbol file.
      
      * WebKit.exp: To begin, move the WebIcon* into the Mac-specific exports.
      * WebKit.mac.exp: Added. New file holds Mac-only symbols.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      398e4d40
  8. 13 Jan, 2014 6 commits
  9. 12 Jan, 2014 1 commit
  10. 10 Jan, 2014 1 commit
    • dbates@webkit.org's avatar
      [iOS] Upstream WebCore and Tools miscellaneous changes · f435ee15
      dbates@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=126698
      
      Reviewed by David Kilzer.
      
      Source/WebCore:
      
      * Configurations/Base.xcconfig:
      * Configurations/WebCore.xcconfig:
      * Configurations/WebCoreTestSupport.xcconfig:
      * Configurations/iOS.xcconfig: Added.
      * DerivedSources.make:
      * English.lproj/Localizable.strings:
      * Modules/airplay/WebKitPlaybackTargetAvailabilityEvent.cpp: Copied from Source/WebCore/editing/TextAffinity.h.
      (WebCore::stringForPlaybackTargetAvailability):
      (WebCore::WebKitPlaybackTargetAvailabilityEvent::WebKitPlaybackTargetAvailabilityEvent):
      * Modules/airplay/WebKitPlaybackTargetAvailabilityEvent.h: Added.
      (WebCore::WebKitPlaybackTargetAvailabilityEventInit::WebKitPlaybackTargetAvailabilityEventInit):
      (WebCore::WebKitPlaybackTargetAvailabilityEvent::~WebKitPlaybackTargetAvailabilityEvent):
      (WebCore::WebKitPlaybackTargetAvailabilityEvent::create):
      (WebCore::WebKitPlaybackTargetAvailabilityEvent::availability):
      * Modules/airplay/WebKitPlaybackTargetAvailabilityEvent.idl: Copied from Source/WebCore/editing/DeleteButton.h.
      * Modules/geolocation/Geolocation.cpp:
      (WebCore::Geolocation::Geolocation):
      (WebCore::Geolocation::canSuspend):
      (WebCore::Geolocation::suspend):
      (WebCore::Geolocation::resume):
      (WebCore::Geolocation::resumeTimerFired):
      (WebCore::Geolocation::resetAllGeolocationPermission):
      (WebCore::Geolocation::stop):
      (WebCore::Geolocation::setIsAllowed):
      (WebCore::Geolocation::positionChanged):
      (WebCore::Geolocation::setError):
      * Modules/geolocation/Geolocation.h:
      * Modules/geolocation/NavigatorGeolocation.cpp:
      (WebCore::NavigatorGeolocation::resetAllGeolocationPermission):
      * Modules/geolocation/NavigatorGeolocation.h:
      * Modules/speech/SpeechSynthesis.cpp:
      (WebCore::SpeechSynthesis::SpeechSynthesis):
      (WebCore::SpeechSynthesis::speak):
      * Modules/speech/SpeechSynthesis.h:
      (WebCore::SpeechSynthesis::userGestureRequiredForSpeechStart):
      (WebCore::SpeechSynthesis::removeBehaviorRestriction):
      * Modules/webaudio/AudioContext.cpp:
      * Modules/webaudio/AudioContext.h:
      * Modules/webaudio/AudioScheduledSourceNode.cpp:
      * Modules/webdatabase/Database.cpp:
      * Modules/webdatabase/DatabaseBackendBase.cpp:
      (WebCore::DatabaseBackendBase::performOpenAndVerify):
      (WebCore::DatabaseBackendBase::incrementalVacuumIfNeeded):
      * Modules/webdatabase/DatabaseContext.cpp:
      (WebCore::DatabaseContext::DatabaseContext):
      (WebCore::DatabaseContext::databaseThread):
      (WebCore::DatabaseContext::setPaused):
      * Modules/webdatabase/DatabaseContext.h:
      * Modules/webdatabase/DatabaseManagerClient.h:
      * Modules/webdatabase/DatabaseTask.cpp:
      (WebCore::DatabaseTask::performTask):
      (WebCore::Database::DatabaseTransactionTask::shouldPerformWhilePaused):
      * Modules/webdatabase/DatabaseTask.h:
      * Modules/webdatabase/DatabaseThread.cpp:
      (WebCore::DatabaseThread::DatabaseThread):
      (WebCore::DatabaseThread::requestTermination):
      (WebCore::DatabaseUnpauseTask::create):
      (WebCore::DatabaseUnpauseTask::shouldPerformWhilePaused):
      (WebCore::DatabaseUnpauseTask::DatabaseUnpauseTask):
      (WebCore::DatabaseUnpauseTask::doPerformTask):
      (WebCore::DatabaseUnpauseTask::debugTaskName):
      (WebCore::DatabaseThread::setPaused):
      (WebCore::DatabaseThread::handlePausedQueue):
      (WebCore::DatabaseThread::databaseThread):
      * Modules/webdatabase/DatabaseThread.h:
      * Modules/webdatabase/DatabaseTracker.cpp:
      (WebCore::DatabaseTracker::setQuota):
      (WebCore::DatabaseTracker::deleteOrigin):
      (WebCore::DatabaseTracker::deleteDatabase):
      (WebCore::DatabaseTracker::deleteDatabaseFile):
      (WebCore::DatabaseTracker::removeDeletedOpenedDatabases):
      (WebCore::isZeroByteFile):
      (WebCore::DatabaseTracker::deleteDatabaseFileIfEmpty):
      (WebCore::DatabaseTracker::openDatabaseMutex):
      (WebCore::DatabaseTracker::emptyDatabaseFilesRemovalTaskWillBeScheduled):
      (WebCore::DatabaseTracker::emptyDatabaseFilesRemovalTaskDidFinish):
      (WebCore::DatabaseTracker::setDatabasesPaused):
      * Modules/webdatabase/DatabaseTracker.h:
      * Modules/webdatabase/SQLTransactionBackend.cpp:
      (WebCore::SQLTransactionBackend::shouldPerformWhilePaused):
      * Modules/webdatabase/SQLTransactionBackend.h:
      * Resources/DictationPhraseWithAlternativesDot.png: Added.
      * Resources/DictationPhraseWithAlternativesDot@2x.png: Added.
      * Resources/SpellingDot.png: Added.
      * Resources/SpellingDot@2x.png: Added.
      * Resources/decrementArrow.tiff: Added.
      * Resources/hScrollControl_left.png: Added.
      * Resources/hScrollControl_middle.png: Added.
      * Resources/hScrollControl_right.png: Added.
      * Resources/incrementArrow.tiff: Added.
      * Resources/markedLeft.png: Added.
      * Resources/markedMiddle.png: Added.
      * Resources/markedRight.png: Added.
      * Resources/vScrollControl_bottom.png: Added.
      * Resources/vScrollControl_middle.png: Added.
      * Resources/vScrollControl_top.png: Added.
      * WebCore.xcodeproj/project.pbxproj:
      * bindings/js/GCController.cpp:
      (WebCore::GCController::garbageCollectNow):
      (WebCore::GCController::releaseExecutableMemory):
      * bindings/js/GCController.h:
      * bindings/js/JSCallbackData.h:
      (WebCore::JSCallbackData::~JSCallbackData):
      * bindings/js/JSDOMWindowBase.cpp:
      (WebCore::JSDOMWindowBase::supportsProfiling):
      (WebCore::JSDOMWindowBase::shouldInterruptScriptBeforeTimeout):
      (WebCore::JSDOMWindowBase::commonVM):
      (WebCore::JSDOMWindowBase::commonVMExists):
      (WebCore::JSDOMWindowBase::commonVMInternal):
      * bindings/js/JSDOMWindowCustom.cpp:
      (WebCore::JSDOMWindow::touch):
      (WebCore::JSDOMWindow::touchList):
      * bindings/js/JSDeviceOrientationEventCustom.cpp:
      (WebCore::JSDeviceOrientationEvent::webkitCompassHeading):
      (WebCore::JSDeviceOrientationEvent::webkitCompassAccuracy):
      (WebCore::JSDeviceOrientationEvent::initDeviceOrientationEvent):
      * bindings/js/JSMainThreadExecState.h:
      * bindings/js/JSTouchCustom.cpp:
      * bindings/js/JSTouchListCustom.cpp:
      * bindings/js/PageScriptDebugServer.cpp:
      (WebCore::PageScriptDebugServer::didContinue):
      * bindings/js/ScriptController.cpp:
      (WebCore::ScriptController::initializeThreading):
      * bindings/js/ScriptDebugServer.cpp:
      (WebCore::ScriptDebugServer::handlePause):
      * bindings/js/ios/TouchConstructors.cpp: Added.
      * bindings/objc/DOM.mm:
      (WebCore::wkQuadFromFloatQuad):
      (WebCore::kit):
      (WebCore::min4):
      (WebCore::max4):
      (WebCore::emptyQuad):
      (-[WKQuadObject initWithQuad:]):
      (-[WKQuadObject quad]):
      (-[WKQuadObject boundingBox]):
      (-[DOMNode boundingBox]):
      (-[DOMNode absoluteQuad]):
      (-[DOMNode absoluteQuadAndInsideFixedPosition:]):
      (-[DOMNode boundingBoxUsingTransforms]):
      (-[DOMNode lineBoxQuads]):
      (-[DOMNode _linkElement]):
      (-[DOMNode hrefURL]):
      (-[DOMNode hrefTarget]):
      (-[DOMNode hrefFrame]):
      (-[DOMNode hrefLabel]):
      (-[DOMNode hrefTitle]):
      (-[DOMNode boundingFrame]):
      (-[DOMNode innerFrameQuad]):
      (-[DOMNode computedFontSize]):
      (-[DOMNode nextFocusNode]):
      (-[DOMNode previousFocusNode]):
      (-[DOMRange boundingBox]):
      (-[DOMRange renderedImageForcingBlackText:renderedImageForcingBlackText:]):
      (-[DOMElement _font]):
      (-[DOMHTMLLinkElement _mediaQueryMatchesForOrientation:]):
      (-[DOMHTMLLinkElement _mediaQueryMatches]):
      * bindings/objc/DOMEvents.h:
      * bindings/objc/DOMEvents.mm:
      (kitClass):
      * bindings/objc/DOMExtensions.h:
      * bindings/objc/DOMHTML.mm:
      (-[DOMHTMLElement scrollYOffset]):
      (-[DOMHTMLElement setScrollXOffset:scrollYOffset:]):
      (-[DOMHTMLElement setScrollXOffset:scrollYOffset:adjustForIOSCaret:]):
      (-[DOMHTMLElement absolutePosition::::]):
      (-[DOMHTMLInputElement _autocapitalizeType]):
      (-[DOMHTMLTextAreaElement _autocapitalizeType]):
      (-[DOMHTMLInputElement setValueWithChangeEvent:]):
      (-[DOMHTMLInputElement setValueAsNumberWithChangeEvent:]):
      * bindings/objc/DOMInternal.h:
      * bindings/objc/DOMInternal.mm:
      (wrapperCacheLock):
      (getDOMWrapper):
      (addDOMWrapper):
      (removeDOMWrapper):
      * bindings/objc/DOMPrivate.h:
      * bindings/objc/DOMUIKitExtensions.h: Added.
      * bindings/objc/DOMUIKitExtensions.mm: Added.
      * bindings/objc/PublicDOMInterfaces.h:
      * bindings/scripts/CodeGeneratorJS.pm:
      (GenerateHeaderContentHeader):
      (GenerateImplementationContentHeader):
      (GenerateHeader):
      (GenerateImplementation):
      (GenerateCallbackImplementation):
      * bindings/scripts/CodeGeneratorObjC.pm:
      (ReadPublicInterfaces):
      (GetClassName):
      (IsCoreFoundationType):
      (GetObjCType):
      (AddIncludesForType):
      (GenerateHeader):
      (GenerateImplementation):
      (WriteData):
      * bindings/scripts/IDLAttributes.txt:
      * bindings/scripts/preprocessor.pm:
      (applyPreprocessor):
      * bridge/objc/objc_class.mm:
      (JSC::Bindings::ObjcClass::fieldNamed):
      * bridge/objc/objc_instance.mm:
      * config.h:
      * dom/Document.cpp:
      (WebCore::Document::addAutoSizingNode):
      * dom/Document.h:
      * dom/Document.idl:
      * dom/ios/TouchEvents.cpp: Added.
      * editing/ApplyStyleCommand.cpp:
      (WebCore::ApplyStyleCommand::applyBlockStyle):
      * editing/CompositeEditCommand.cpp:
      (WebCore::EditCommandComposition::unapply):
      (WebCore::CompositeEditCommand::apply):
      (WebCore::CompositeEditCommand::inputText):
      (WebCore::CompositeEditCommand::replaceTextInNodePreservingMarkers):
      (WebCore::CompositeEditCommand::moveParagraphs):
      * editing/CompositeEditCommand.h:
      * editing/DeleteButton.h:
      * editing/DeleteButtonController.cpp:
      (WebCore::DeleteButtonController::enable):
      (WebCore::DeleteButtonController::disable):
      * editing/DeleteSelectionCommand.cpp:
      (WebCore::DeleteSelectionCommand::doApply):
      * editing/DeleteSelectionCommand.h:
      * editing/EditAction.h:
      * editing/EditCommand.h:
      (WebCore::EditCommand::isInsertTextCommand):
      * editing/EditingStyle.cpp:
      * editing/Editor.cpp:
      (WebCore::ClearTextCommand::ClearTextCommand):
      (WebCore::ClearTextCommand::editingAction):
      (WebCore::ClearTextCommand::CreateAndApply):
      (WebCore::Editor::handleTextEvent):
      (WebCore::Editor::clearText):
      (WebCore::Editor::insertDictationPhrases):
      (WebCore::Editor::setDictationPhrasesAsChildOfElement):
      (WebCore::Editor::confirmMarkedText):
      (WebCore::Editor::setTextAsChildOfElement):
      (WebCore::Editor::notifyComponentsOnChangedSelection):
      (WebCore::Editor::ensureLastEditCommandHasCurrentSelectionIfOpenForMoreTyping):
      (WebCore::Editor::copy):
      (WebCore::Editor::setBaseWritingDirection):
      (WebCore::Editor::setComposition):
      (WebCore::Editor::showSpellingGuessPanel):
      (WebCore::Editor::markMisspellingsAfterTypingToWord):
      (WebCore::Editor::markMisspellingsOrBadGrammar):
      (WebCore::Editor::changeBackToReplacedString):
      (WebCore::Editor::updateMarkersForWordsAffectedByEditing):
      (WebCore::Editor::setIgnoreCompositionSelectionChange):
      (WebCore::Editor::changeSelectionAfterCommand):
      (WebCore::Editor::shouldChangeSelection):
      (WebCore::Editor::respondToChangedSelection):
      (WebCore::Editor::resolveTextCheckingTypeMask):
      * editing/Editor.h:
      * editing/EditorCommand.cpp:
      (WebCore::executeClearText):
      (WebCore::enabledCopy):
      (WebCore::enabledCut):
      (WebCore::enabledClearText):
      (WebCore::createCommandMap):
      * editing/FrameSelection.cpp:
      (WebCore::FrameSelection::FrameSelection):
      (WebCore::FrameSelection::setSelection):
      (WebCore::FrameSelection::modifyExtendingRight):
      (WebCore::FrameSelection::modifyExtendingForward):
      (WebCore::FrameSelection::modifyMovingRight):
      (WebCore::FrameSelection::modifyMovingForward):
      (WebCore::FrameSelection::modifyExtendingLeft):
      (WebCore::FrameSelection::modifyExtendingBackward):
      (WebCore::FrameSelection::modifyMovingLeft):
      (WebCore::FrameSelection::modifyMovingBackward):
      (WebCore::FrameSelection::setSelectedRange):
      (WebCore::FrameSelection::focusedOrActiveStateChanged):
      (WebCore::FrameSelection::updateAppearance):
      (WebCore::FrameSelection::shouldDeleteSelection):
      (WebCore::FrameSelection::revealSelection):
      (WebCore::FrameSelection::setSelectionFromNone):
      (WebCore::FrameSelection::shouldChangeSelection):
      (WebCore::FrameSelection::expandSelectionToElementContainingCaretSelection):
      (WebCore::FrameSelection::elementRangeContainingCaretSelection):
      (WebCore::FrameSelection::expandSelectionToWordContainingCaretSelection):
      (WebCore::FrameSelection::wordRangeContainingCaretSelection):
      (WebCore::FrameSelection::expandSelectionToStartOfWordContainingCaretSelection):
      (WebCore::FrameSelection::characterInRelationToCaretSelection):
      (WebCore::FrameSelection::characterBeforeCaretSelection):
      (WebCore::FrameSelection::characterAfterCaretSelection):
      (WebCore::FrameSelection::wordOffsetInRange):
      (WebCore::FrameSelection::spaceFollowsWordInRange):
      (WebCore::FrameSelection::selectionAtDocumentStart):
      (WebCore::FrameSelection::selectionAtSentenceStart):
      (WebCore::FrameSelection::selectionAtWordStart):
      (WebCore::FrameSelection::rangeByMovingCurrentSelection):
      (WebCore::FrameSelection::rangeByExtendingCurrentSelection):
      (WebCore::FrameSelection::selectRangeOnElement):
      (WebCore::FrameSelection::wordSelectionContainingCaretSelection):
      (WebCore::FrameSelection::actualSelectionAtSentenceStart):
      (WebCore::FrameSelection::rangeByAlteringCurrentSelection):
      (WebCore::FrameSelection::clearCurrentSelection):
      (WebCore::FrameSelection::setCaretBlinks):
      (WebCore::FrameSelection::setCaretColor):
      * editing/FrameSelection.h:
      (WebCore::FrameSelection::suppressCloseTyping):
      (WebCore::FrameSelection::restoreCloseTyping):
      (WebCore::FrameSelection::setUpdateAppearanceEnabled):
      (WebCore::FrameSelection::suppressScrolling):
      (WebCore::FrameSelection::restoreScrolling):
      * editing/InsertIntoTextNodeCommand.cpp:
      (WebCore::InsertIntoTextNodeCommand::doReapply):
      * editing/InsertIntoTextNodeCommand.h:
      * editing/InsertTextCommand.h:
      * editing/ReplaceSelectionCommand.cpp:
      (WebCore::ReplaceSelectionCommand::doApply):
      * editing/TextAffinity.h:
      * editing/TextCheckingHelper.cpp:
      * editing/TextGranularity.h:
      * editing/TextIterator.cpp:
      (WebCore::isRendererReplacedElement):
      * editing/TypingCommand.cpp:
      (WebCore::TypingCommand::ensureLastEditCommandHasCurrentSelectionIfOpenForMoreTyping):
      (WebCore::TypingCommand::markMisspellingsAfterTyping):
      (WebCore::TypingCommand::deleteKeyPressed):
      (WebCore::TypingCommand::forwardDeleteKeyPressed):
      (WebCore::FriendlyEditCommand::setEndingSelection):
      (WebCore::TypingCommand::setEndingSelectionOnLastInsertCommand):
      * editing/TypingCommand.h:
      * editing/VisiblePosition.h:
      (WebCore::operator<):
      (WebCore::operator>):
      (WebCore::operator<=):
      (WebCore::operator>=):
      * editing/VisibleSelection.cpp:
      (WebCore::VisibleSelection::setStartAndEndFromBaseAndExtentRespectingGranularity):
      (WebCore::VisibleSelection::adjustSelectionToAvoidCrossingEditingBoundaries):
      * editing/VisibleUnits.cpp:
      (WebCore::previousBoundary):
      (WebCore::nextBoundary):
      (WebCore::startOfDocument):
      (WebCore::endOfDocument):
      (WebCore::directionIsDownstream):
      (WebCore::atBoundaryOfGranularity):
      (WebCore::withinTextUnitOfGranularity):
      (WebCore::nextCharacterBoundaryInDirection):
      (WebCore::nextWordBoundaryInDirection):
      (WebCore::nextSentenceBoundaryInDirection):
      (WebCore::nextLineBoundaryInDirection):
      (WebCore::nextParagraphBoundaryInDirection):
      (WebCore::nextDocumentBoundaryInDirection):
      (WebCore::positionOfNextBoundaryOfGranularity):
      (WebCore::enclosingTextUnitOfGranularity):
      (WebCore::distanceBetweenPositions):
      (WebCore::wordRangeFromPosition):
      (WebCore::closestWordBoundaryForPosition):
      * editing/VisibleUnits.h:
      * editing/ios/DictationCommandIOS.cpp: Added.
      * editing/ios/DictationCommandIOS.h: Added.
      (WebCore::DictationCommandIOS::create):
      (WebCore::DictationCommandIOS::editingAction):
      * editing/mac/FrameSelectionMac.mm:
      (WebCore::FrameSelection::notifyAccessibilityForSelectionChange):
      * fileapi/AsyncFileStream.cpp:
      * generate-export-file: Added.
      * inspector/InspectorCounters.h:
      * inspector/InspectorFrontendHost.h:
      * make-export-file-generator:
      * plugins/PluginPackage.h:
      * plugins/PluginViewBase.h:
      (WebCore::PluginViewBase::willProvidePluginLayer):
      (WebCore::PluginViewBase::attachPluginLayer):
      (WebCore::PluginViewBase::detachPluginLayer):
      * style/StyleResolveForDocument.cpp:
      (WebCore::Style::resolveForDocument):
      * style/StyleResolveTree.cpp:
      (WebCore::Style::elementImplicitVisibility):
      * testing/Internals.cpp:
      (WebCore::Internals::getCurrentCursorInfo):
      (WebCore::Internals::isSelectPopupVisible):
      * workers/WorkerThread.cpp:
      (WebCore::WorkerThread::workerThread):
      
      Source/WebKit:
      
      * WebKit.xcodeproj/project.pbxproj:
      
      Source/WebKit/mac:
      
      * MigrateHeaders.make:
      
      Tools:
      
      * Scripts/check-for-inappropriate-objc-class-names:
      * Scripts/check-for-webkit-framework-include-consistency:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161638 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f435ee15
  11. 09 Jan, 2014 1 commit
    • benjamin@webkit.org's avatar
      Remove the WebKit layer of the Blackberry port · 4d9fb2db
      benjamin@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=126715
      
      Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
      Reviewed by Anders Carlsson.
      
      * PlatformBlackBerry.cmake: Removed.
      * blackberry: Removed.
      Remove the WebKit layer of the Blackberry port
      https://bugs.webkit.org/show_bug.cgi?id=126715
      
      Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
      Reviewed by Anders Carlsson.
      
      * PlatformBlackBerry.cmake: Removed.
      * blackberry: Removed.
      Remove the WebKit layer of the Blackberry port
      https://bugs.webkit.org/show_bug.cgi?id=126715
      
      Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
      Reviewed by Anders Carlsson.
      
      * PlatformBlackBerry.cmake: Removed.
      * blackberry: Removed.
      Remove the WebKit layer of the Blackberry port
      https://bugs.webkit.org/show_bug.cgi?id=126715
      
      Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
      Reviewed by Anders Carlsson.
      
      * PlatformBlackBerry.cmake: Removed.
      * blackberry: Removed.
      Remove the WebKit layer of the Blackberry port
      https://bugs.webkit.org/show_bug.cgi?id=126715
      
      Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
      Reviewed by Anders Carlsson.
      
      * PlatformBlackBerry.cmake: Removed.
      * blackberry: Removed.
      Remove the WebKit layer of the Blackberry port
      https://bugs.webkit.org/show_bug.cgi?id=126715
      
      Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
      Reviewed by Anders Carlsson.
      
      * PlatformBlackBerry.cmake: Removed.
      * blackberry: Removed.
      Remove the WebKit layer of the Blackberry port
      https://bugs.webkit.org/show_bug.cgi?id=126715
      
      Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
      Reviewed by Anders Carlsson.
      
      * PlatformBlackBerry.cmake: Removed.
      * blackberry: Removed.
      Remove the WebKit layer of the Blackberry port
      https://bugs.webkit.org/show_bug.cgi?id=126715
      
      Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
      Reviewed by Anders Carlsson.
      
      * PlatformBlackBerry.cmake: Removed.
      * blackberry: Removed.
      Remove the WebKit layer of the Blackberry port
      https://bugs.webkit.org/show_bug.cgi?id=126715
      
      Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
      Reviewed by Anders Carlsson.
      
      * PlatformBlackBerry.cmake: Removed.
      * blackberry: Removed.
      Remove the WebKit layer of the Blackberry port
      https://bugs.webkit.org/show_bug.cgi?id=126715
      
      Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
      Reviewed by Anders Carlsson.
      
      * PlatformBlackBerry.cmake: Removed.
      * blackberry: Removed.
      Remove the WebKit layer of the Blackberry port
      https://bugs.webkit.org/show_bug.cgi?id=126715
      
      Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
      Reviewed by Anders Carlsson.
      
      * PlatformBlackBerry.cmake: Removed.
      * blackberry: Removed.
      Remove the WebKit layer of the Blackberry port
      https://bugs.webkit.org/show_bug.cgi?id=126715
      
      Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
      Reviewed by Anders Carlsson.
      
      * PlatformBlackBerry.cmake: Removed.
      * blackberry: Removed.
      Remove the WebKit layer of the Blackberry port
      https://bugs.webkit.org/show_bug.cgi?id=126715
      
      Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
      Reviewed by Anders Carlsson.
      
      * PlatformBlackBerry.cmake: Removed.
      * blackberry: Removed.
      Remove the WebKit layer of the Blackberry port
      https://bugs.webkit.org/show_bug.cgi?id=126715
      
      Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
      Reviewed by Anders Carlsson.
      
      * PlatformBlackBerry.cmake: Removed.
      * blackberry: Removed.
      Remove the WebKit layer of the Blackberry port
      https://bugs.webkit.org/show_bug.cgi?id=126715
      
      Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
      Reviewed by Anders Carlsson.
      
      * PlatformBlackBerry.cmake: Removed.
      * blackberry: Removed.
      Remove the WebKit layer of the Blackberry port
      https://bugs.webkit.org/show_bug.cgi?id=126715
      
      Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
      Reviewed by Anders Carlsson.
      
      * PlatformBlackBerry.cmake: Removed.
      * blackberry: Removed.
      Remove the WebKit layer of the Blackberry port
      https://bugs.webkit.org/show_bug.cgi?id=126715
      
      Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
      Reviewed by Anders Carlsson.
      
      * PlatformBlackBerry.cmake: Removed.
      * blackberry: Removed.
      Remove the WebKit layer of the Blackberry port
      https://bugs.webkit.org/show_bug.cgi?id=126715
      
      Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
      Reviewed by Anders Carlsson.
      
      * PlatformBlackBerry.cmake: Removed.
      * blackberry: Removed.
      Remove the WebKit layer of the Blackberry port
      https://bugs.webkit.org/show_bug.cgi?id=126715
      
      Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
      Reviewed by Anders Carlsson.
      
      * PlatformBlackBerry.cmake: Removed.
      * blackberry: Removed.
      Remove the WebKit layer of the Blackberry port
      https://bugs.webkit.org/show_bug.cgi?id=126715
      
      Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
      Reviewed by Anders Carlsson.
      
      * PlatformBlackBerry.cmake: Removed.
      * blackberry: Removed.
      Remove the WebKit layer of the Blackberry port
      https://bugs.webkit.org/show_bug.cgi?id=126715
      
      Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
      Reviewed by Anders Carlsson.
      
      * PlatformBlackBerry.cmake: Removed.
      * blackberry: Removed.
      Remove the WebKit layer of the Blackberry port
      https://bugs.webkit.org/show_bug.cgi?id=126715
      
      Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
      Reviewed by Anders Carlsson.
      
      * PlatformBlackBerry.cmake: Removed.
      * blackberry: Removed.
      Remove the WebKit layer of the Blackberry port
      https://bugs.webkit.org/show_bug.cgi?id=126715
      
      Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
      Reviewed by Anders Carlsson.
      
      * PlatformBlackBerry.cmake: Removed.
      * blackberry: Removed.
      Remove the WebKit layer of the Blackberry port
      https://bugs.webkit.org/show_bug.cgi?id=126715
      
      Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
      Reviewed by Anders Carlsson.
      
      * PlatformBlackBerry.cmake: Removed.
      * blackberry: Removed.
      Remove the WebKit layer of the Blackberry port
      https://bugs.webkit.org/show_bug.cgi?id=126715
      
      Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
      Reviewed by Anders Carlsson.
      
      * PlatformBlackBerry.cmake: Removed.
      * blackberry: Removed.
      Remove the WebKit layer of the Blackberry port
      https://bugs.webkit.org/show_bug.cgi?id=126715
      
      Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
      Reviewed by Anders Carlsson.
      
      * PlatformBlackBerry.cmake: Removed.
      * blackberry: Removed.
      Remove the WebKit layer of the Blackberry port
      https://bugs.webkit.org/show_bug.cgi?id=126715
      
      Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
      Reviewed by Anders Carlsson.
      
      * PlatformBlackBerry.cmake: Removed.
      * blackberry: Removed.
      Remove the WebKit layer of the Blackberry port
      https://bugs.webkit.org/show_bug.cgi?id=126715
      
      Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
      Reviewed by Anders Carlsson.
      
      * PlatformBlackBerry.cmake: Removed.
      * blackberry: Removed.
      Remove the WebKit layer of the Blackberry port
      https://bugs.webkit.org/show_bug.cgi?id=126715
      
      Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
      Reviewed by Anders Carlsson.
      
      * PlatformBlackBerry.cmake: Removed.
      * blackberry: Removed.
      Remove the WebKit layer of the Blackberry port
      https://bugs.webkit.org/show_bug.cgi?id=126715
      
      Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
      Reviewed by Anders Carlsson.
      
      * PlatformBlackBerry.cmake: Removed.
      * blackberry: Removed.
      Remove the WebKit layer of the Blackberry port
      https://bugs.webkit.org/show_bug.cgi?id=126715
      
      Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
      Reviewed by Anders Carlsson.
      
      * PlatformBlackBerry.cmake: Removed.
      * blackberry: Removed.
      Remove the WebKit layer of the Blackberry port
      https://bugs.webkit.org/show_bug.cgi?id=126715
      
      Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
      Reviewed by Anders Carlsson.
      
      * PlatformBlackBerry.cmake: Removed.
      * blackberry: Removed.
      Remove the WebKit layer of the Blackberry port
      https://bugs.webkit.org/show_bug.cgi?id=126715
      
      Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
      Reviewed by Anders Carlsson.
      
      * PlatformBlackBerry.cmake: Removed.
      * blackberry: Removed.
      Remove the WebKit layer of the Blackberry port
      https://bugs.webkit.org/show_bug.cgi?id=126715
      
      Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
      Reviewed by Anders Carlsson.
      
      * PlatformBlackBerry.cmake: Removed.
      * blackberry: Removed.
      Remove the WebKit layer of the Blackberry port
      https://bugs.webkit.org/show_bug.cgi?id=126715
      
      Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
      Reviewed by Anders Carlsson.
      
      * PlatformBlackBerry.cmake: Removed.
      * blackberry: Removed.
      Remove the WebKit layer of the Blackberry port
      https://bugs.webkit.org/show_bug.cgi?id=126715
      
      Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
      Reviewed by Anders Carlsson.
      
      * PlatformBlackBerry.cmake: Removed.
      * blackberry: Removed.
      Remove the WebKit layer of the Blackberry port
      https://bugs.webkit.org/show_bug.cgi?id=126715
      
      Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
      Reviewed by Anders Carlsson.
      
      * PlatformBlackBerry.cmake: Removed.
      * blackberry: Removed.
      Remove the WebKit layer of the Blackberry port
      https://bugs.webkit.org/show_bug.cgi?id=126715
      
      Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
      Reviewed by Anders Carlsson.
      
      * PlatformBlackBerry.cmake: Removed.
      * blackberry: Removed.
      Remove the WebKit layer of the Blackberry port
      https://bugs.webkit.org/show_bug.cgi?id=126715
      
      Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
      Reviewed by Anders Carlsson.
      
      * PlatformBlackBerry.cmake: Removed.
      * blackberry: Removed.
      Remove the WebKit layer of the Blackberry port
      https://bugs.webkit.org/show_bug.cgi?id=126715
      
      Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
      Reviewed by Anders Carlsson.
      
      * PlatformBlackBerry.cmake: Removed.
      * blackberry: Removed.
      Remove the WebKit layer of the Blackberry port
      https://bugs.webkit.org/show_bug.cgi?id=126715
      
      Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
      Reviewed by Anders Carlsson.
      
      * PlatformBlackBerry.cmake: Removed.
      * blackberry: Removed.
      Remove the WebKit layer of the Blackberry port
      https://bugs.webkit.org/show_bug.cgi?id=126715
      
      Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
      Reviewed by Anders Carlsson.
      
      * PlatformBlackBerry.cmake: Removed.
      * blackberry: Removed.
      Remove the WebKit layer of the Blackberry port
      https://bugs.webkit.org/show_bug.cgi?id=126715
      
      Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
      Reviewed by Anders Carlsson.
      
      * PlatformBlackBerry.cmake: Removed.
      * blackberry: Removed.
      Remove the WebKit layer of the Blackberry port
      https://bugs.webkit.org/show_bug.cgi?id=126715
      
      Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
      Reviewed by Anders Carlsson.
      
      * PlatformBlackBerry.cmake: Removed.
      * blackberry: Removed.
      Remove the WebKit layer of the Blackberry port
      https://bugs.webkit.org/show_bug.cgi?id=126715
      
      Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
      Reviewed by Anders Carlsson.
      
      * PlatformBlackBerry.cmake: Removed.
      * blackberry: Removed.
      Remove the WebKit layer of the Blackberry port
      https://bugs.webkit.org/show_bug.cgi?id=126715
      
      Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
      Reviewed by Anders Carlsson.
      
      * PlatformBlackBerry.cmake: Removed.
      * blackberry: Removed.
      Remove the WebKit layer of the Blackberry port
      https://bugs.webkit.org/show_bug.cgi?id=126715
      
      Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
      Reviewed by Anders Carlsson.
      
      * PlatformBlackBerry.cmake: Removed.
      * blackberry: Removed.
      Remove the WebKit layer of the Blackberry port
      https://bugs.webkit.org/show_bug.cgi?id=126715
      
      Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
      Reviewed by Anders Carlsson.
      
      * PlatformBlackBerry.cmake: Removed.
      * blackberry: Removed.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161591 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4d9fb2db
  12. 08 Jan, 2014 3 commits
    • ryuan.choi@samsung.com's avatar
      [EFL] Merge ewk_view_single into ewk_view · 3beac403
      ryuan.choi@samsung.com authored
      https://bugs.webkit.org/show_bug.cgi?id=126508
      
      Reviewed by Gyuyoung Kim.
      
      Source/WebKit:
      
      * PlatformEfl.cmake: Removed ewk_view_single.cpp.
      
      Source/WebKit/efl:
      
      Since ewk_view_tiled is removed at r161134, we don't need to keep
      ewk_view_single out of ewk_view.cpp.
      
      This patch moves the logic of ewk_view_single to ewk_view and refactors it.
      In addition, replaces 0.00001 to episilon.
      
      * ewk/ewk_view.cpp:
      (_ewk_view_smart_add):
      (_ewk_view_smart_resize): Merged with the logic of ewk_view_single.
      (_ewk_view_screen_move): Moved from ewk_view_single.cpp.
      (_ewk_view_scroll_process): Ditto.
      (_ewk_view_smart_scrolls_process): Ditto.
      (_ewk_view_smart_repaints_process): Ditto.
      (_ewk_view_smart_calculate): Removed unnecessary check routine for scrolls_process.
      (_ewk_view_smart_zoom_weak_set):
      (_ewk_view_smart_zoom_weak_smooth_scale_set):
      (ewk_view_base_smart_set): Merged smart method of ewk_view_single.
      (ewk_view_single_smart_set):
      (_ewk_view_single_smart_class_new):
      (ewk_view_single_add):
      (ewk_view_bg_color_set):
      (ewk_view_pre_render_region):
      (ewk_view_scrolls_process):
      * ewk/ewk_view.h:
      * ewk/ewk_view_private.h: Removed unncessary functions.
      * ewk/ewk_view_single.cpp: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161526 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3beac403
    • gyuyoung.kim@samsung.com's avatar
      [EFL] Move efl API test binaries to TestWebKitAPI/EWebKit|EWebKit2 · cdebde2f
      gyuyoung.kim@samsung.com authored
      https://bugs.webkit.org/show_bug.cgi?id=126615
      
      Reviewed by Martin Robinson.
      
      Now EFL API test binaries created in *bin* directory with other executables.
      It would be good to move them to their folder. This patch moves them to
      *TestWebKitAPI/EWebKit|EWebKit2* directories.
      
      Source/WebKit:
      
      * PlatformEfl.cmake:
      
      Source/WebKit2:
      
      * PlatformEfl.cmake:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161525 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cdebde2f
    • bfulgham@apple.com's avatar
      Unreviewed build fix. · 3e993009
      bfulgham@apple.com authored
      * WebKit.vcxproj/WebKitExportGenerator/WebKitExports.def.in: Add missing
      exports needed for Windows build.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161511 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3e993009
  13. 07 Jan, 2014 1 commit
    • eric.carlson@apple.com's avatar
      Teach MediaSessionManager to manage interruptions · 1016295d
      eric.carlson@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=126530
      
      Reviewed by Sam Weinig.
      
      Source/WebCore:
      
      Tests: media/video-interruption-active-when-element-created.html
             media/video-interruption-with-resume-allowing-play.html
             media/video-interruption-with-resume-not-allowing-play.html
      
      * WebCore.exp.in: Export functions needed by Internals.
      
      Add MediaSession and MediaSessionManager.
      * CMakeLists.txt:
      * GNUmakefile.list.am:
      * WebCore.vcxproj/WebCore.vcxproj:
      * WebCore.vcxproj/WebCore.vcxproj.filters:
      * WebCore.xcodeproj/project.pbxproj:
      
      Automatically pause/play for interruptions. Move media restriction management to a MediaSession.
      * html/HTMLMediaElement.cpp:
      (WebCore::HTMLMediaElement::HTMLMediaElement): Get rid of m_loadInitiatedByUserGesture and m_userStartedPlayback,
          they aren't needed.
      (WebCore::HTMLMediaElement::load): Ditto.
      (WebCore::HTMLMediaElement::loadInternal): Use the media session to manage restrictions.
      (WebCore::HTMLMediaElement::play): Remove redundant iOS code. Postpone playback if called
          during an interruption.
      (WebCore::HTMLMediaElement::pause): Remember to not resume playback when it ends if called during
          an interruption.
      (WebCore::HTMLMediaElement::potentiallyPlaying): Rearrange code to make it easier to understand.
      (WebCore::HTMLMediaElement::couldPlayIfEnoughData): Ditto.
      (WebCore::HTMLMediaElement::pausedForUserInteraction): Return true if paused because of an interruption.
      (WebCore::HTMLMediaElement::removeBehaviorsRestrictionsAfterFirstUserGesture): Be explicit about
          which restrictions are removed.
      (WebCore::HTMLMediaElement::mediaType): MediaSessionManager::<Type> -> MediaSession::<Type>.
      (WebCore::HTMLMediaElement::beginInterruption): New.
      (WebCore::HTMLMediaElement::endInterruption): Ditto.
      * html/HTMLMediaElement.h:
      
      Pulled MediaSessionManagerToken out of MediaSessionManager.cpp, added functionality to manage interruptions.
      * platform/audio/MediaSession.cpp: Added.
      (WebCore::MediaSession::create):
      (WebCore::MediaSession::MediaSession):
      (WebCore::MediaSession::~MediaSession):
      (WebCore::MediaSession::beginInterruption): Inform client of interruption state change.
      (WebCore::MediaSession::endInterruption): Ditto.
      * platform/audio/MediaSession.h: Added.
      
      * platform/audio/MediaSessionManager.cpp:
      (WebCore::MediaSessionManager::MediaSessionManager): Initialize interruption counter.
      (WebCore::MediaSessionManager::has): MediaType is defined in MediaSession.
      (WebCore::MediaSessionManager::count): Ditto.
      (WebCore::MediaSessionManager::beginInterruption): Inform all clients of interruption start if
          not already in an interruption.
      (WebCore::MediaSessionManager::endInterruption): Inform all clients if interruption has ended.
      (WebCore::MediaSessionManager::addSession): Renamed from addToken. Set session interruption state.
      (WebCore::MediaSessionManager::removeSession): Renamed from removeToken.
      * platform/audio/MediaSessionManager.h:
      
      * platform/audio/mac/AudioDestinationMac.cpp:
      (WebCore::AudioDestinationMac::AudioDestinationMac): MediaSessionManagerToken -> MediaSession.
      * platform/audio/mac/AudioDestinationMac.h:
      
      * platform/audio/mac/MediaSessionManagerMac.cpp:
      (MediaSessionManager::updateSessionState): Ditto.
      
      Make it possible for tests to begin and end interruptions.
      * testing/Internals.cpp:
      (WebCore::Internals::beginMediaSessionInterruption):
      (WebCore::Internals::endMediaSessionInterruption):
      * testing/Internals.h:
      * testing/Internals.idl:
      
      Source/WebKit:
      
      * CMakeLists.txt: Add ${WEBCORE_DIR}/platform/animation to WebCore include directories.
      
      Source/WebKit2:
      
      * CMakeLists.txt: Add ${WEBCORE_DIR}/platform/animation to WebCore include directories.
      
      LayoutTests:
      
      * media/video-interruption-active-when-element-created-expected.txt: Added.
      * media/video-interruption-active-when-element-created.html: Added.
      * media/video-interruption-with-resume-allowing-play-expected.txt: Added.
      * media/video-interruption-with-resume-allowing-play.html: Added.
      * media/video-interruption-with-resume-not-allowing-play-expected.txt: Added.
      * media/video-interruption-with-resume-not-allowing-play.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161481 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1016295d
  14. 06 Jan, 2014 3 commits
    • mrobinson@webkit.org's avatar
      Small build fix for the GTK+ CMake port · 108a7b24
      mrobinson@webkit.org authored
      Source/WebKit:
      
      * PlatformGTK.cmake: Include a missing GeoClue include directory.
      
      Source/WebKit2:
      
      * PlatformGTK.cmake: Include a missing GeoClue include directory.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161368 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      108a7b24
    • mrobinson@webkit.org's avatar
      [CMake] [GTK] Fix the build for the WebKitGTK+ developer configuration · 7529c73f
      mrobinson@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=126505
      
      Reviewed by Gustavo Noronha Silva.
      
      .:
      
      * Source/cmake/FindGLIB.cmake: Add support for finding the gio-unix include directory location.
      * Source/cmake/FindGUdev.cmake: Added.
      * Source/cmake/FindGeoClue.cmake: Added.
      * Source/cmake/OptionsGTK.cmake: When gamepad is enabled look for gio-unix and GUdev. When
      geolocation is enabled look for GeoClue.
      
      Source/WebCore:
      
      * CMakeLists.txt: Add missing IDLS and source files to the lists.
      * PlatformGTK.cmake: Add missing include directories and source files to the lists.
      Use the GeoClue, GUdev, and gio-unix include paths and libraries and sort the list
      of WebCore include directories.
      * UseJSC.cmake: Align the sourced list with the contents of the bindings/js directory.
      
      Source/WebKit:
      
      * PlatformGTK.cmake: Add the geoclue platform directory to the include directory list.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161351 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7529c73f
    • mrowe@apple.com's avatar
      <https://webkit.org/b/126499> Move WebKit off the legacy WebKit availability macros · 7d764722
      mrowe@apple.com authored
      The legacy WebKit availability macros are verbose, confusing, and provide no benefit
      over using the system availability macros directly. The original vision was that
      they'd serve a cross-platform purpose but that never came to be.
      
      Since WebKit1 is API on OS X but SPI on iOS, some indirection is still needed in the
      availability macros to allow the headers to advertise the API as unavailable on OS X
      without interfering with the ability to build on iOS. This is achieved by defining
      WEBKIT-prefixed versions of the Foundation availability macros that are defined to
      their NS-prefixed equivalents. The installed headers are post-processed to map these
      macros back to their Foundation equivalents.
      
      Part of <rdar://problem/15512304>.
      
      Source/WebCore:
      
      Reviewed by Sam Weinig.
      
      * WebCore.xcodeproj/project.pbxproj:
      * bindings/objc/WebKitAvailability.h: Added. This lives at the WebCore level since it
      will be needed by the Objective-C DOM bindings.
      
      Source/WebKit:
      
      Reviewed by Sam Weinig.
      
      * WebKit.xcodeproj/project.pbxproj: Change the Postprocess Headers build phase to
      invoke mac/postprocess-headers.sh.
      
      Source/WebKit/mac:
      
      The OS X version used in the new availability macros is based on the mapping in
      JavaScriptCore/WebKitAvailability.h.
      
      Reviewed by Sam Weinig.
      
      * Carbon/CarbonUtils.h:
      * Carbon/HIWebView.h:
      * MigrateHeaders.make: Migrate WebKitAvailability.h from WebCore as an API header.
      * Plugins/WebPlugin.h:
      * Plugins/WebPluginViewFactory.h:
      * WebView/WebFrameLoadDelegate.h:
      * WebView/WebResourceLoadDelegatePrivate.h:
      * WebView/WebUIDelegate.h:
      * postprocess-headers.sh: Added. Extracted from the Xcode project. Extended to map the
      WEBKIT-prefixed macros to their NS-prefixed equivalents on OS X and to remove them on iOS.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161332 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7d764722
  15. 05 Jan, 2014 1 commit
    • mrobinson@webkit.org's avatar
      [GTK] [CMake] Ensure that the autotools build and the CMake install the same files · 742e8e47
      mrobinson@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=116379
      
      Reviewed by Gustavo Noronha Silva.
      
      .:
      
      * Source/PlatformGTK.cmake: Install the documentation.
      * Source/cmake/OptionsCommon.cmake: Add a LIBEXEC variable for WebKit2 executables, and
      don't use the default locations on GTK+. We will get them from the CMake-provided GNU installation
      variables.
      * Source/cmake/OptionsGTK.cmake: Setup the installation variables using the ones provided
      by CMake's GNU installation directory support. Fix the definition of DATADIR. Always install
      the jsc binary.
      
      Source/JavaScriptCore:
      
      * PlatformGTK.cmake: Install API headers, gir files, and the pkg-config file.
      
      Source/WebCore:
      
      * PlatformGTK.cmake: Reformat some install directives to be consistent with the rest of them.
      Install the GObject DOM bindings headers.
      
      Source/WebKit:
      
      * PlatformGTK.cmake: Install API headers, gir files, and the pkg-config file. Move
      a couple installed and generated headers to the installed headers list.
      
      Source/WebKit2:
      
      * CMakeLists.txt: Install the plugin process to the new LIBEXEC directory, which
      for non-GTK+ platforms is the same as EXEC.
      * PlatformGTK.cmake: Install API headers, gir files, and the pkg-config file. Move
      a couple installed and generated headers to the installed headers list. Rename the
      headers list to be consistent with the WebKit1 build. No longer use a variable for
      the name of the plugin process, as it's unnecessary.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161325 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      742e8e47
  16. 04 Jan, 2014 1 commit
  17. 03 Jan, 2014 1 commit
  18. 31 Dec, 2013 1 commit
    • aestes@apple.com's avatar
      [iOS] Upstream PLATFORM(IOS) changes to Source/WebKit/ · a43fba54
      aestes@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=125746
      
      Reviewed by David Kilzer.
      
      Source/WebKit:
      
      * WebKit.xcodeproj/project.pbxproj: Added WebDatabaseManagerInternal.h
      and iOS.xcconfig.
      
      Source/WebKit/ios:
      
      * WebCoreSupport/WebVisiblePosition.mm:
      (-[WebVisiblePosition positionAtStartOrEndOfWord]): Changed a comment
      to mention iOS rather than iPhone.
      
      Source/WebKit/mac:
      
      This is a straight upstreaming of the various PLATFORM(IOS) changes
      made to Source/WebKit/ with the following modifications:
      
      - Includes of <Cocoa/Cocoa.h> were generally replaced with an include
      of <Foundation/Foundation.h> followed by an include of
      <AppKit/AppKit.h> on non-iOS platforms. This assumes that nobody was
      relying on <Cocoa/Cocoa.h>'s inclusion of <CoreData/CoreData.h>.
      
      - Includes of <Cocoa/Cocoa.h> and <Foundation/Foundation.h> were
      removed from files that include WebKitPrefix.h.
      
      - Instances of 'iPhone (OS)' in comments were replaced with 'iOS', and
      other sensitive terms were elided.
      
      - Various PLATFORM(IOS) blocks were simplified. For instance:
      
          #if !PLATFORM(IOS)
          ...
          #endif
          #if PLATFORM(IOS)
          ...
          #endif
      
      Was simplified to:
      
          #if !PLATFORM(IOS)
          ...
          #else
          ...
          #endif
      
      * Configurations/Base.xcconfig:
      * Configurations/DebugRelease.xcconfig:
      * Configurations/Version.xcconfig:
      * Configurations/WebKit.xcconfig:
      * Configurations/iOS.xcconfig: Added.
      * DOM/WebDOMOperations.mm:
      * DefaultDelegates/WebDefaultContextMenuDelegate.mm:
      * DefaultDelegates/WebDefaultEditingDelegate.m:
      * DefaultDelegates/WebDefaultPolicyDelegate.m:
      * DefaultDelegates/WebDefaultUIDelegate.h:
      * DefaultDelegates/WebDefaultUIDelegate.m:
      * History/WebBackForwardList.mm:
      * History/WebHistory.mm:
      * History/WebHistoryItem.mm:
      * History/WebURLsWithTitles.m:
      * Misc/WebCache.mm:
      * Misc/WebDownload.mm:
      * Misc/WebElementDictionary.mm:
      * Misc/WebIconDatabase.mm:
      * Misc/WebIconDatabaseInternal.h:
      * Misc/WebKitNSStringExtras.mm:
      * Misc/WebKitSystemBits.m:
      * Misc/WebKitVersionChecks.h:
      * Misc/WebKitVersionChecks.m:
      * Misc/WebLocalizableStrings.mm:
      * Misc/WebNSArrayExtras.h:
      * Misc/WebNSArrayExtras.m:
      * Misc/WebNSControlExtras.h:
      * Misc/WebNSControlExtras.m:
      * Misc/WebNSDictionaryExtras.h:
      * Misc/WebNSDictionaryExtras.m:
      * Misc/WebNSEventExtras.m:
      * Misc/WebNSFileManagerExtras.mm:
      * Misc/WebNSImageExtras.h:
      * Misc/WebNSImageExtras.m:
      * Misc/WebNSPasteboardExtras.mm:
      * Misc/WebNSPrintOperationExtras.h:
      * Misc/WebNSPrintOperationExtras.m:
      * Misc/WebNSURLExtras.mm:
      * Misc/WebNSViewExtras.m:
      * Misc/WebNSWindowExtras.m:
      * Panels/WebAuthenticationPanel.h:
      * Panels/WebAuthenticationPanel.m:
      * Panels/WebPanelAuthenticationHandler.m:
      * Plugins/Hosted/WebHostedNetscapePluginView.mm:
      * Plugins/WebBasePluginPackage.h:
      * Plugins/WebBasePluginPackage.mm:
      * Plugins/WebJavaPlugIn.h:
      * Plugins/WebPluginContainerCheck.mm:
      * Plugins/WebPluginController.h:
      * Plugins/WebPluginController.mm:
      * Plugins/WebPluginDatabase.mm:
      * Plugins/WebPluginPackage.mm:
      * Plugins/WebPluginsPrivate.m:
      * Storage/WebDatabaseManager.mm:
      * Storage/WebDatabaseManagerClient.h:
      * Storage/WebDatabaseManagerClient.mm:
      * Storage/WebDatabaseManagerInternal.h: Added.
      * Storage/WebStorageManager.mm:
      * WebCoreSupport/CorrectionPanel.h:
      * WebCoreSupport/WebAlternativeTextClient.h:
      * WebCoreSupport/WebApplicationCache.mm:
      * WebCoreSupport/WebChromeClient.h:
      * WebCoreSupport/WebChromeClient.mm:
      * WebCoreSupport/WebContextMenuClient.mm:
      * WebCoreSupport/WebEditorClient.h:
      * WebCoreSupport/WebEditorClient.mm:
      * WebCoreSupport/WebFrameLoaderClient.h:
      * WebCoreSupport/WebFrameLoaderClient.mm:
      * WebCoreSupport/WebFrameNetworkingContext.h:
      * WebCoreSupport/WebFrameNetworkingContext.mm:
      * WebCoreSupport/WebGeolocationClient.h:
      * WebCoreSupport/WebGeolocationClient.mm:
      * WebCoreSupport/WebJavaScriptTextInputPanel.m:
      * WebCoreSupport/WebKeyGenerator.mm:
      * WebCoreSupport/WebNotificationClient.mm:
      * WebCoreSupport/WebOpenPanelResultListener.mm:
      * WebCoreSupport/WebSecurityOrigin.mm:
      * WebCoreSupport/WebSystemInterface.mm:
      * WebKitPrefix.h:
      * WebView/WebArchive.mm:
      * WebView/WebClipView.h:
      * WebView/WebDataSource.mm:
      * WebView/WebDelegateImplementationCaching.h:
      * WebView/WebDelegateImplementationCaching.mm:
      * WebView/WebDeviceOrientation.mm:
      * WebView/WebDocumentInternal.h:
      * WebView/WebDocumentLoaderMac.mm:
      * WebView/WebDynamicScrollBarsViewInternal.h:
      * WebView/WebFormDelegate.m:
      * WebView/WebFrame.mm:
      * WebView/WebFrameInternal.h:
      * WebView/WebFrameView.mm:
      * WebView/WebFullScreenController.h:
      * WebView/WebFullScreenController.mm:
      * WebView/WebHTMLRepresentation.mm:
      * WebView/WebHTMLView.mm:
      * WebView/WebHTMLViewInternal.h:
      * WebView/WebPDFDocumentExtras.h:
      * WebView/WebPDFDocumentExtras.mm:
      * WebView/WebPDFRepresentation.h:
      * WebView/WebPDFRepresentation.mm:
      * WebView/WebPDFView.h:
      * WebView/WebPDFView.mm:
      * WebView/WebPreferences.mm:
      * WebView/WebResource.mm:
      * WebView/WebTextCompletionController.h:
      * WebView/WebTextIterator.mm:
      * WebView/WebView.mm:
      * WebView/WebViewData.h:
      * WebView/WebViewData.mm:
      * WebView/WebViewInternal.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161185 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a43fba54
  19. 30 Dec, 2013 1 commit
    • mrobinson@webkit.org's avatar
      [CMake] [GTK] Add support for GObject introspection · d3a19869
      mrobinson@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=126162
      
      Reviewed by Daniel Bates.
      
      .:
      
      * Source/PlatformGTK.cmake: Add a 'gir' target that builds all GIR files.
      * Source/cmake/OptionsGTK.cmake: Add a macro for propagating typelib
      targets to the Source level of the build.
      
      Source/JavaScriptCore:
      
      * PlatformGTK.cmake: Add the GIR targets.
      
      Source/WebCore:
      
      * PlatformGTK.cmake: Build a list of WebKitDOM headers and expose it to the
      parent scope of the build.
      
      Source/WebKit:
      
      * PlatformGTK.cmake: Add the GIR targets.
      
      Source/WebKit2:
      
      * PlatformGTK.cmake: Add the GIR targets, split the installed headers list
      between WebKitWebExtension and the WebKit2 library. Update the headers list
      with new headers.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161144 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d3a19869
  20. 29 Dec, 2013 2 commits
    • ryuan.choi@samsung.com's avatar
      [EFL] Remove ewk_view_tiled · 98490d6a
      ryuan.choi@samsung.com authored
      https://bugs.webkit.org/show_bug.cgi?id=125961
      
      Reviewed by Gyuyoung Kim.
      
      Source/WebKit:
      
      * PlatformEfl.cmake: Removed ewk_view_tiled related files.
      
      Source/WebKit/efl:
      
      We didn't use ewk_view_tiled very long time while we focused webkit2/efl.
      There are many bugs and we don't have plan to fix them.
      Instead, We will use WebCore's TiledBackingStore and it looks more stable.
      
      * WebCoreSupport/FrameLoaderClientEfl.cpp:
      (WebCore::FrameLoaderClientEfl::transitionToCommittedForNewPage):
      * ewk/ewk_tiled_backing_store.cpp: Removed.
      * ewk/ewk_tiled_backing_store_private.h: Removed.
      * ewk/ewk_tiled_matrix.cpp: Removed.
      * ewk/ewk_tiled_matrix_private.h: Removed.
      * ewk/ewk_tiled_model.cpp: Removed.
      * ewk/ewk_tiled_model_private.h: Removed.
      * ewk/ewk_view.cpp:
      * ewk/ewk_view.h:
      * ewk/ewk_view_private.h:
      * ewk/ewk_view_tiled.cpp: Removed.
      * tests/UnitTestUtils/EWKTestView.cpp:
      (EWKUnitTests::EWKTestView::init):
      
      Tools:
      
      * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
      (shouldUseTiledBackingStore):
      Moved from DumpRenderTreeChrome to enable WebCore's TiledBackingStore
      instead of switching ewk_view_tiled.
      (DumpRenderTreeChrome::createView):
      * DumpRenderTree/efl/DumpRenderTreeView.cpp:
      (drtViewAdd):
      * EWebLauncher/main.c: Removed ewk_view_tiled option.
      (windowCreate):
      (parseUserArguments):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161134 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      98490d6a
    • mrobinson@webkit.org's avatar
      [GTK] [CMake] Convenience libraries that export API should be compiled with --whole-archive on Unix · 1dfdb60d
      mrobinson@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=126232
      
      Reviewed by Gustavo Noronha Silva.
      
      Source/WebKit:
      
      * PlatformGTK.cmake: Prefix libGObjectDOMBindings with --whole-archive so that
      symbols are not omitted during final linking.
      
      Source/WebKit2:
      
      * PlatformGTK.cmake: Prefix libGObjectDOMBindings with --whole-archive so that
      symbols are not omitted during final linking.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161121 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1dfdb60d
  21. 25 Dec, 2013 1 commit
    • mrobinson@webkit.org's avatar
      [GTK] [CMake] Clean up generated sources directories · 3f8f0773
      mrobinson@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=126216
      
      Reviewed by Gustavo Noronha Silva.
      
      .:
      
      * Source/cmake/OptionsGTK.cmake: Pre-define the main derived sources directories
      so that they definitions can be shared easily throughout the build system.
      
      Source/WebCore:
      
      * PlatformGTK.cmake: Use the new directory variables.
      
      Source/WebKit:
      
      * PlatformGTK.cmake: Use the new derived source variables.
      
      Source/WebKit2:
      
      * PlatformGTK.cmake: Use the new derived sources variables.
      * UIProcess/API/gtk/tests/CMakeLists.txt: Ditto.
      
      Tools:
      
      * DumpRenderTree/PlatformGTK.cmake: Use the new derived sources variables.
      * GtkLauncher/CMakeLists.txt: Ditto.
      * MiniBrowser/gtk/CMakeLists.txt: Ditto.
      * TestWebKitAPI/CMakeLists.txt: Now that the EFL and GTK+ forwarding header locations differ,
      move the platform-specific includes to the EFL and GTK platform files. Also clean up forwarding
      header generation into on target.
      * TestWebKitAPI/PlatformEfl.cmake: Added EFL-specific locations to the include list.
      * TestWebKitAPI/PlatformGTK.cmake: Added GTK-specific locations to the include list.
      * WebKitTestRunner/CMakeLists.txt: Same as for TestWebKitAPI.
      * WebKitTestRunner/PlatformEfl.cmake: Ditto.
      * WebKitTestRunner/PlatformGTK.cmake: Ditto.
      * gtk/generate-gtkdoc: Update to select the appropriate derived sources locations for
      the cmake build.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161068 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3f8f0773
  22. 24 Dec, 2013 1 commit
  23. 23 Dec, 2013 3 commits
    • aestes@apple.com's avatar
      [iOS] Upstream PLATFORM(IOS) changes to Source/WebKit/ · bf5bca0b
      aestes@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=125746
      
      Reviewed by David Kilzer.
      
      Source/WebKit:
      
      * WebKit.xcodeproj/project.pbxproj: Added WebDatabaseManagerInternal.h
      and iOS.xcconfig.
      
      Source/WebKit/ios:
      
      * WebCoreSupport/WebVisiblePosition.mm:
      (-[WebVisiblePosition positionAtStartOrEndOfWord]): Changed a comment
      to mention iOS rather than iPhone.
      
      Source/WebKit/mac:
      
      This is a straight upstreaming of the various PLATFORM(IOS) changes
      made to Source/WebKit/ with the following modifications:
      
      - Includes of <Cocoa/Cocoa.h> were generally replaced with an include
      of <Foundation/Foundation.h> followed by an include of
      <AppKit/AppKit.h> on non-iOS platforms. This assumes that nobody was
      relying on <Cocoa/Cocoa.h>'s inclusion of <CoreData/CoreData.h>.
      
      - Includes of <Cocoa/Cocoa.h> and <Foundation/Foundation.h> were
      removed from files that include WebKitPrefix.h.
      
      - Instances of 'iPhone (OS)' in comments were replaced with 'iOS', and
      other sensitive terms were elided.
      
      - Various PLATFORM(IOS) blocks were simplified. For instance:
      
          #if !PLATFORM(IOS)
          ...
          #endif
          #if PLATFORM(IOS)
          ...
          #endif
      
      Was simplified to:
      
          #if !PLATFORM(IOS)
          ...
          #else
          ...
          #endif
      
      * Configurations/Base.xcconfig:
      * Configurations/DebugRelease.xcconfig:
      * Configurations/Version.xcconfig:
      * Configurations/WebKit.xcconfig:
      * Configurations/iOS.xcconfig: Added.
      * DOM/WebDOMOperations.mm:
      * DefaultDelegates/WebDefaultContextMenuDelegate.mm:
      * DefaultDelegates/WebDefaultEditingDelegate.m:
      * DefaultDelegates/WebDefaultPolicyDelegate.m:
      * DefaultDelegates/WebDefaultUIDelegate.h:
      * DefaultDelegates/WebDefaultUIDelegate.m:
      * History/WebBackForwardList.mm:
      * History/WebHistory.mm:
      * History/WebHistoryItem.mm:
      * History/WebURLsWithTitles.m:
      * Misc/WebCache.mm:
      * Misc/WebDownload.mm:
      * Misc/WebElementDictionary.mm:
      * Misc/WebIconDatabase.mm:
      * Misc/WebIconDatabaseInternal.h:
      * Misc/WebKitNSStringExtras.mm:
      * Misc/WebKitSystemBits.m:
      * Misc/WebKitVersionChecks.h:
      * Misc/WebKitVersionChecks.m:
      * Misc/WebLocalizableStrings.mm:
      * Misc/WebNSArrayExtras.h:
      * Misc/WebNSArrayExtras.m:
      * Misc/WebNSControlExtras.h:
      * Misc/WebNSControlExtras.m:
      * Misc/WebNSDictionaryExtras.h:
      * Misc/WebNSDictionaryExtras.m:
      * Misc/WebNSEventExtras.m:
      * Misc/WebNSFileManagerExtras.mm:
      * Misc/WebNSImageExtras.h:
      * Misc/WebNSImageExtras.m:
      * Misc/WebNSPasteboardExtras.mm:
      * Misc/WebNSPrintOperationExtras.h:
      * Misc/WebNSPrintOperationExtras.m:
      * Misc/WebNSURLExtras.mm:
      * Misc/WebNSViewExtras.m:
      * Misc/WebNSWindowExtras.m:
      * Panels/WebAuthenticationPanel.h:
      * Panels/WebAuthenticationPanel.m:
      * Panels/WebPanelAuthenticationHandler.m:
      * Plugins/Hosted/WebHostedNetscapePluginView.mm:
      * Plugins/WebBasePluginPackage.h:
      * Plugins/WebBasePluginPackage.mm:
      * Plugins/WebJavaPlugIn.h:
      * Plugins/WebPluginContainerCheck.mm:
      * Plugins/WebPluginController.h:
      * Plugins/WebPluginController.mm:
      * Plugins/WebPluginDatabase.mm:
      * Plugins/WebPluginPackage.mm:
      * Plugins/WebPluginsPrivate.m:
      * Storage/WebDatabaseManager.mm:
      * Storage/WebDatabaseManagerClient.h:
      * Storage/WebDatabaseManagerClient.mm:
      * Storage/WebDatabaseManagerInternal.h: Added.
      * Storage/WebStorageManager.mm:
      * WebCoreSupport/CorrectionPanel.h:
      * WebCoreSupport/WebAlternativeTextClient.h:
      * WebCoreSupport/WebApplicationCache.mm:
      * WebCoreSupport/WebChromeClient.h:
      * WebCoreSupport/WebChromeClient.mm:
      * WebCoreSupport/WebContextMenuClient.mm:
      * WebCoreSupport/WebEditorClient.h:
      * WebCoreSupport/WebEditorClient.mm:
      * WebCoreSupport/WebFrameLoaderClient.h:
      * WebCoreSupport/WebFrameLoaderClient.mm:
      * WebCoreSupport/WebFrameNetworkingContext.h:
      * WebCoreSupport/WebFrameNetworkingContext.mm:
      * WebCoreSupport/WebGeolocationClient.h:
      * WebCoreSupport/WebGeolocationClient.mm:
      * WebCoreSupport/WebJavaScriptTextInputPanel.m:
      * WebCoreSupport/WebKeyGenerator.mm:
      * WebCoreSupport/WebNotificationClient.mm:
      * WebCoreSupport/WebOpenPanelResultListener.mm:
      * WebCoreSupport/WebSecurityOrigin.mm:
      * WebCoreSupport/WebSystemInterface.mm:
      * WebKitPrefix.h:
      * WebView/WebArchive.mm:
      * WebView/WebClipView.h:
      * WebView/WebDataSource.mm:
      * WebView/WebDelegateImplementationCaching.h:
      * WebView/WebDelegateImplementationCaching.mm:
      * WebView/WebDeviceOrientation.mm:
      * WebView/WebDocumentInternal.h:
      * WebView/WebDocumentLoaderMac.mm:
      * WebView/WebDynamicScrollBarsViewInternal.h:
      * WebView/WebFormDelegate.m:
      * WebView/WebFrame.mm:
      * WebView/WebFrameInternal.h:
      * WebView/WebFrameView.mm:
      * WebView/WebFullScreenController.h:
      * WebView/WebFullScreenController.mm:
      * WebView/WebHTMLRepresentation.mm:
      * WebView/WebHTMLView.mm:
      * WebView/WebHTMLViewInternal.h:
      * WebView/WebPDFDocumentExtras.h:
      * WebView/WebPDFDocumentExtras.mm:
      * WebView/WebPDFRepresentation.h:
      * WebView/WebPDFRepresentation.mm:
      * WebView/WebPDFView.h:
      * WebView/WebPDFView.mm:
      * WebView/WebPreferences.mm:
      * WebView/WebResource.mm:
      * WebView/WebTextCompletionController.h:
      * WebView/WebTextIterator.mm:
      * WebView/WebView.mm:
      * WebView/WebViewData.h:
      * WebView/WebViewData.mm:
      * WebView/WebViewInternal.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161043 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bf5bca0b
    • mrobinson@webkit.org's avatar
      .: https://bugs.webkit.org/show_bug.cgi?id=125511 · ba08d407
      mrobinson@webkit.org authored
      [GTK][CMake] libtool-compatible soversion calculation
      Reviewed by Gustavo Noronha Silva.
      
      * Source/cmake/OptionsGTK.cmake: Specify the appropriate libtool triples and use
      the CALCULATE_LIBRARY_VERSIONS_FROM_LIBTOOL_TRIPLE macro to specify the library-specific
      version information.
      * Source/cmake/WebKitHelpers.cmake: Add some helpful macros.
      
      Source/JavaScriptCore: [GTK][CMake] libtool-compatible soversion calculation
      https://bugs.webkit.org/show_bug.cgi?id=125511
      
      Reviewed by Gustavo Noronha Silva.
      
      * CMakeLists.txt: Use the POPULATE_LIBRARY_VERSION macro and the
      library-specific version information.
      
      Source/WebKit: [GTK][CMake] libtool-compatible soversion calculation
      https://bugs.webkit.org/show_bug.cgi?id=125511
      
      Reviewed by Gustavo Noronha Silva.
      
      * CMakeLists.txt: Use the POPULATE_LIBRARY_VERSION macro and the
      library-specific version information.
      
      Source/WebKit2: [GTK][CMake] libtool-compatible soversion calculation
      https://bugs.webkit.org/show_bug.cgi?id=125511
      
      Reviewed by Gustavo Noronha Silva.
      
      * CMakeLists.txt: Use the POPULATE_LIBRARY_VERSION macro and the
      library-specific version information.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160994 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ba08d407
    • gns@gnome.org's avatar
      [GTK] [CMake] Generate pkg-config files · 0fdd7cd3
      gns@gnome.org authored
      https://bugs.webkit.org/show_bug.cgi?id=125685
      
      Reviewed by Martin Robinson.
      
      .:
      
      * Source/cmake/OptionsGTK.cmake: set variables used for filling in the values in the
      pkg-config files.
      
      Source/JavaScriptCore:
      
      * PlatformGTK.cmake: Added. Generate javascriptcoregtk-3.0.pc.
      
      Source/WebKit:
      
      * PlatformGTK.cmake: generate webkitgtk-3.0.pc.
      
      Source/WebKit2:
      
      * PlatformGTK.cmake: generate webkit2gtk.pc.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160993 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0fdd7cd3