1. 15 May, 2013 36 commits
  2. 14 May, 2013 4 commits
    • bdakin@apple.com's avatar
      Printing in 1Password app is broken with screen fonts disabled · 5e1a2d2e
      bdakin@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=116133
      -and corresponding-
      <rdar://problem/13162981>
      
      Reviewed by Anders Carlsson.
      
      Source/WebKit/mac: 
      
      Return YES from [WebPreferences screenFontSubstitutionEnabled] for versions of the 
      1Password app that were linked on or before MountainLion.
      
      * WebView/WebPreferences.mm:
      (needsScreenFontsEnabledQuirk):
      (-[WebPreferences screenFontSubstitutionEnabled]):
      
      WebKitLibraries: 
      
      Need WKExecutableWasLinkedOnOrBeforeMountainLion() for this quirk.
      
      * libWebKitSystemInterfaceLion.a:
      * libWebKitSystemInterfaceMountainLion.a:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150101 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5e1a2d2e
    • darin@apple.com's avatar
      [Mac] Move setDragImage from ClipboardMac to PasteboardMac · 75acd1d4
      darin@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=116036
      
      Reviewed by Anders Carlsson.
      
      * dom/Clipboard.cpp:
      (WebCore::Clipboard::~Clipboard): Stop loading the drag image when
      the clipboard object is deallocated. It would be better if there was
      a more-well-defined time to stop the load.
      (WebCore::Clipboard::setDragImage): Added. Sets up a drag image
      based on a CachedImage. This tells the image loader to load the image
      and updates the drag image when the image arrives. Copied from the
      code in ClipboardMac, but refactored to use a separate loader object.
      (WebCore::Clipboard::setDragImageElement): Added. Sets up a drag image
      based on an element.
      (WebCore::Clipboard::updateDragImage): Added. Common code to update
      drag image when a new one is set or when a drag image load completes.
      (WebCore::DragImageLoader::create): Added.
      (WebCore::DragImageLoader::DragImageLoader): Ditto.
      (WebCore::DragImageLoader::startLoading): Ditto.
      (WebCore::DragImageLoader::stopLoading): Ditto.
      (WebCore::DragImageLoader::imageChanged): Ditto.
      
      * dom/Clipboard.h: Made setDragImage and setDragImageElement non-virtual
      for non-legacy. Added updateDragImage and m_dragImageLoader.
      
      * platform/Pasteboard.h: Added setDragImage function.
      
      * platform/mac/ClipboardMac.h: Removed CachedImageClient as a base class
      for ClipboardMac. Removed setDragImage and setDragImageElement.
      
      * platform/mac/ClipboardMac.mm: Removed setDragImage and setDragImageElement.
      (WebCore::ClipboardMac::~ClipboardMac): Removed code to remove self as
      client loading the drag image. This is now in the Clipboard base class.
      
      * platform/mac/PasteboardMac.mm:
      (WebCore::Pasteboard::setDragImage): Added. Contains code moved here
      from ClipboardMac.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150100 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      75acd1d4
    • rniwa@webkit.org's avatar
      Use ElementTraversal in SelectorDataList::execute · f21f44e5
      rniwa@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=116131
      
      Reviewed by Darin Adler.
      
      Use ElementTraversal::firstWithin and ElementTraversal::next to simplify the code.
      
      * dom/SelectorQuery.cpp:
      (WebCore::SelectorDataList::execute):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150099 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f21f44e5
    • commit-queue@webkit.org's avatar
      Fix build after r150090. · 3aec6c1e
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=116129
      
      Unreviewed build fix after r150090.
      
      Patch by Jaehun Lim <ljaehun.lim@samsung.com> on 2013-05-14
      
      * WebKitTestRunner/TestInvocation.cpp:
      (WTR::TestInvocation::didReceiveSynchronousMessageFromInjectedBundle):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150098 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3aec6c1e