1. 12 Aug, 2009 40 commits
    • aroben@apple.com's avatar
      Make WebPreferenceKeysPrivate.h available for client use · 650290bf
      aroben@apple.com authored
      Reviewed by Dave Hyatt.
      
      Fixes <http://webkit.org/b/28227>.
      
      * WebKit.vcproj/WebKit.vcproj: Copy WebPreferenceKeysPrivate.h to
      $WebKitOutputDir, just like we do for a few other headers. Also let VS
      reorder some XML attributes.
      
      * WebPreferenceKeysPrivate.h: Touched this file to force a build.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47148 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      650290bf
    • eric@webkit.org's avatar
      2009-08-12 Maxime Simon <simon.maxime@gmail.com> · d46e6632
      eric@webkit.org authored
              Reviewed by Eric Seidel.
      
              [Haiku] Adding GraphicsContext to WebCore/platform/graphics/haiku.
              https://bugs.webkit.org/show_bug.cgi?id=28130
      
              * platform/graphics/haiku/GraphicsContextHaiku.cpp: Added.
              (WebCore::GraphicsContextPlatformPrivate::GraphicsContextPlatformPrivate):
              (WebCore::GraphicsContextPlatformPrivate::~GraphicsContextPlatformPrivate):
              (WebCore::GraphicsContext::GraphicsContext):
              (WebCore::GraphicsContext::~GraphicsContext):
              (WebCore::GraphicsContext::platformContext):
              (WebCore::GraphicsContext::savePlatformState):
              (WebCore::GraphicsContext::restorePlatformState):
              (WebCore::GraphicsContext::drawRect):
              (WebCore::GraphicsContext::drawLine):
              (WebCore::GraphicsContext::drawEllipse):
              (WebCore::GraphicsContext::strokeArc):
              (WebCore::GraphicsContext::strokePath):
              (WebCore::GraphicsContext::drawConvexPolygon):
              (WebCore::GraphicsContext::fillRect):
              (WebCore::GraphicsContext::fillRoundedRect):
              (WebCore::GraphicsContext::fillPath):
              (WebCore::GraphicsContext::beginPath):
              (WebCore::GraphicsContext::addPath):
              (WebCore::GraphicsContext::clip):
              (WebCore::GraphicsContext::drawFocusRing):
              (WebCore::GraphicsContext::drawLineForText):
              (WebCore::GraphicsContext::drawLineForMisspellingOrBadGrammar):
              (WebCore::GraphicsContext::roundToDevicePixels):
              (WebCore::GraphicsContext::beginTransparencyLayer):
              (WebCore::GraphicsContext::endTransparencyLayer):
              (WebCore::GraphicsContext::clearRect):
              (WebCore::GraphicsContext::strokeRect):
              (WebCore::GraphicsContext::setLineCap):
              (WebCore::GraphicsContext::setLineJoin):
              (WebCore::GraphicsContext::setMiterLimit):
              (WebCore::GraphicsContext::setAlpha):
              (WebCore::GraphicsContext::setCompositeOperation):
              (WebCore::GraphicsContext::clipOut):
              (WebCore::GraphicsContext::clipToImageBuffer):
              (WebCore::GraphicsContext::getCTM):
              (WebCore::GraphicsContext::translate):
              (WebCore::GraphicsContext::origin):
              (WebCore::GraphicsContext::rotate):
              (WebCore::GraphicsContext::scale):
              (WebCore::GraphicsContext::clipOutEllipseInRect):
              (WebCore::GraphicsContext::addInnerRoundedRectClip):
              (WebCore::GraphicsContext::concatCTM):
              (WebCore::GraphicsContext::setPlatformShouldAntialias):
              (WebCore::GraphicsContext::setImageInterpolationQuality):
              (WebCore::GraphicsContext::setURLForRect):
              (WebCore::GraphicsContext::setPlatformFont):
              (WebCore::GraphicsContext::setPlatformStrokeColor):
              (WebCore::GraphicsContext::getHaikuStrokeStyle):
              (WebCore::GraphicsContext::setPlatformStrokeStyle):
              (WebCore::GraphicsContext::setPlatformStrokeThickness):
              (WebCore::GraphicsContext::setPlatformFillColor):
              (WebCore::GraphicsContext::clearPlatformShadow):
              (WebCore::GraphicsContext::setPlatformShadow):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47147 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d46e6632
    • eric@webkit.org's avatar
      2009-08-12 Maxime Simon <simon.maxime@gmail.com> · ffb4ceed
      eric@webkit.org authored
              Reviewed by Eric Seidel.
      
              [Haiku] Modifying WebCore/platform/graphics files to allow Haiku port.
              https://bugs.webkit.org/show_bug.cgi?id=28128
      
              * platform/graphics/BitmapImage.h: Adding getBBitmap() function.
              * platform/graphics/Color.h: rgb_color is the Color struct in Haiku.
              * platform/graphics/FloatPoint.h: BPoint is the Point class in Haiku.
              * platform/graphics/FloatRect.h: BRect is the Rect class in Haiku.
              * platform/graphics/GraphicsContext.cpp:
              * platform/graphics/GraphicsContext.h: BView is the PlatformGraphicsContext
              class for Haiku. Adding getHaikuStrokeStyle() function.
              * platform/graphics/Icon.h: Adding an empty Icon() constructor because
              this class isn't implemented for the moment.
              * platform/graphics/ImageSource.h: BBitmap is the native bitmap class
              for Haiku.
              * platform/graphics/IntPoint.h: BPoint is the Point class in Haiku.
              * platform/graphics/IntRect.h: BRect is the Rect class in Haiku.
              * platform/graphics/IntSize.h: BSize is the Size class in Haiku.
              * platform/graphics/Path.h: BRegion is the Path class in Haiku.
              * platform/graphics/Pattern.h: Adding the GraphicsDef.h header and the
              native pattern type.
              * platform/graphics/SimpleFontData.h: Adding Haiku's Font.h header.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47146 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ffb4ceed
    • eric@webkit.org's avatar
      2009-08-12 Maxime Simon <simon.maxime@gmail.com> · c4efd654
      eric@webkit.org authored
              Reviewed by Eric Seidel.
      
              [Haiku] Adding modification to the WebCore/platform/ files to allow
              the Haiku port.
              https://bugs.webkit.org/show_bug.cgi?id=28128
      
              * platform/ContextMenuItem.h: BMenu is the PlatformMenuItemDescription
              class of Haiku.
              * platform/Cursor.h: BCursor is the Cursor class of Haiku.
              * platform/DragData.h: Use a BMessage as DragDataRef.
              * platform/DragImage.h: Use a BBitmap as DragImageRef.
              * platform/PlatformKeyboardEvent.h: Use BMessage as event vehicle.
              * platform/PlatformMenuDescription.h: BMenu is the
              PlatformMenuDescription class of Haiku.
              * platform/PlatformMouseEvent.h: Use BMessage as event vehicle.
              * platform/PlatformWheelEvent.h: Use BMessage as event vehicle.
              * platform/PopupMenu.h: Adding a m_menu attribute for Haiku.
              * platform/Widget.h: BView is the PlatformWidget class of Haiku.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47145 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c4efd654
    • eric@webkit.org's avatar
      2009-08-12 Maxime Simon <simon.maxime@gmail.com> · 1c3f6321
      eric@webkit.org authored
              Reviewed by Eric Seidel.
      
              [Haiku] Tiny modifications on WebCore files to allow Haiku port.
              https://bugs.webkit.org/show_bug.cgi?id=28128
      
              * bindings/js/ScriptControllerHaiku.cpp: Style cleanup.
              * loader/CachedFont.cpp: Haiku behaves like Qt, Gtk, or Chromium,
              so many PLATFORM(HAIKU) were added to these functions.
              (WebCore::CachedFont::~CachedFont):
              (WebCore::CachedFont::ensureCustomFontData):
              (WebCore::CachedFont::platformDataFromCustomData):
              (WebCore::CachedFont::allClientsRemoved):
              * page/EventHandler.cpp: Like the mac and Qt port, Haiku doesn't need the
              invertSenseOfTabsToLinks() function.
              * page/haiku/DragControllerHaiku.cpp: Style cleanup.
              * platform/image-decoders/ImageDecoder.h: For image decoding Haiku
              behaves like Cairo or Wx, (not like Skia).
              (WebCore::RGBA32Buffer::getAddr):
              * platform/text/PlatformString.h: Adding the String(BString&) and BString()
              methods specific to Haiku.
              * platform/text/UnicodeRange.h: Haiku needs to include stdint.h.
              * platform/text/haiku/TextBreakIteratorInternalICUHaiku.cpp:
              (WebCore::currentSearchLocaleID): Missing function.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47144 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1c3f6321
    • eric@webkit.org's avatar
      2009-08-12 Maxime Simon <simon.maxime@gmail.com> · 8cfa116a
      eric@webkit.org authored
              Reviewed by Eric Seidel.
      
              [Haiku] Adding the ScrollbarTheme files.
              https://bugs.webkit.org/show_bug.cgi?id=28125
      
              * platform/haiku/ScrollbarThemeHaiku.cpp: Added.
              (buttonWidth):
              (WebCore::ScrollbarTheme::nativeTheme):
              (WebCore::ScrollbarThemeHaiku::ScrollbarThemeHaiku):
              (WebCore::ScrollbarThemeHaiku::~ScrollbarThemeHaiku):
              (WebCore::ScrollbarThemeHaiku::scrollbarThickness):
              (WebCore::ScrollbarThemeHaiku::hasButtons):
              (WebCore::ScrollbarThemeHaiku::hasThumb):
              (WebCore::ScrollbarThemeHaiku::backButtonRect):
              (WebCore::ScrollbarThemeHaiku::forwardButtonRect):
              (WebCore::ScrollbarThemeHaiku::trackRect):
              (WebCore::ScrollbarThemeHaiku::paintScrollbarBackground):
              (WebCore::ScrollbarThemeHaiku::paintButton):
              (WebCore::ScrollbarThemeHaiku::paintThumb):
              * platform/haiku/ScrollbarThemeHaiku.h: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47143 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8cfa116a
    • eric@webkit.org's avatar
      2009-08-12 Maxime Simon <simon.maxime@gmail.com> · 511e5da2
      eric@webkit.org authored
              Reviewed by Eric Seidel.
      
              [Haiku] Adding eight simple files to WebCore/platform/graphics/haiku.
              https://bugs.webkit.org/show_bug.cgi?id=28122
      
              * platform/graphics/haiku/ColorHaiku.cpp: Added.
              (WebCore::Color::Color):
              (WebCore::Color::operator rgb_color):
              (WebCore::focusRingColor):
              * platform/graphics/haiku/FloatPointHaiku.cpp: Added.
              (WebCore::FloatPoint::FloatPoint):
              (WebCore::FloatPoint::operator BPoint):
              * platform/graphics/haiku/FloatRectHaiku.cpp: Added.
              (WebCore::FloatRect::FloatRect):
              (WebCore::FloatRect::operator BRect):
              * platform/graphics/haiku/GradientHaiku.cpp: Added.
              (WebCore::Gradient::platformDestroy):
              (WebCore::Gradient::platformGradient):
              (WebCore::Gradient::fill):
              * platform/graphics/haiku/IntPointHaiku.cpp: Added.
              (WebCore::IntPoint::IntPoint):
              (WebCore::IntPoint::operator BPoint):
              * platform/graphics/haiku/IntRectHaiku.cpp: Added.
              (WebCore::IntRect::IntRect):
              (WebCore::IntRect::operator BRect):
              * platform/graphics/haiku/IntSizeHaiku.cpp: Added.
              (WebCore::IntSize::IntSize):
              (WebCore::IntSize::operator BSize):
              * platform/graphics/haiku/PathHaiku.cpp: Added.
              (WebCore::Path::Path):
              (WebCore::Path::~Path):
              (WebCore::Path::operator=):
              (WebCore::Path::hasCurrentPoint):
              (WebCore::Path::contains):
              (WebCore::Path::translate):
              (WebCore::Path::boundingRect):
              (WebCore::Path::moveTo):
              (WebCore::Path::addLineTo):
              (WebCore::Path::addQuadCurveTo):
              (WebCore::Path::addBezierCurveTo):
              (WebCore::Path::addArcTo):
              (WebCore::Path::closeSubpath):
              (WebCore::Path::addArc):
              (WebCore::Path::addRect):
              (WebCore::Path::addEllipse):
              (WebCore::Path::clear):
              (WebCore::Path::isEmpty):
              (WebCore::Path::debugString):
              (WebCore::Path::apply):
              (WebCore::Path::transform):
              (WebCore::Path::strokeBoundingRect):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47142 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      511e5da2
    • eric@webkit.org's avatar
      2009-08-12 Eric Seidel <eric@webkit.org> · 21774293
      eric@webkit.org authored
              No review, just fixing line-endings.
      
              Change from DOS to unix line endings on tests from
              http://trac.webkit.org/changeset/47130
      
              * fast/events/set-event-in-another-frame-expected.txt:
              * fast/events/set-event-to-null-expected.txt:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47141 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      21774293
    • andersca@apple.com's avatar
      As per Eric Carlson's request, revert r47110 (and the follow-up fixes r47113... · 4e29e672
      andersca@apple.com authored
      As per Eric Carlson's request, revert r47110 (and the follow-up fixes r47113 and r47117) since it causes ~3000 Qt tests to fail.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47140 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4e29e672
    • treat@webkit.org's avatar
      WINCE PORT: Implement Keygen for WINCE · 8a415c29
      treat@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=27543
      
      Patch by Lyon Chen <lyon.chen@torchmobile.com> on 2009-08-12
      Reviewed by George Staikos.
      
      * platform/wince/KeygenWince.cpp: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47139 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8a415c29
    • bfulgham@webkit.org's avatar
      Rubber-stamped by Kevin Ollivier. · b05b4531
      bfulgham@webkit.org authored
      Handle crash in wx due to null value passed to strlen in
      the CString constructor.
      
      * platform/network/curl/ResourceHandleManager.cpp:
      (WebCore::certificatePath):  Check for null return from getenv
      and use default CString constructor instead.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47138 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b05b4531
    • treat@webkit.org's avatar
      WINCE PORT: simple stubs to make it build for WINCE · 02330792
      treat@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=27543
      
      Patch by Yong Li <yong.li@torchmobile.com> on 2009-08-12
      Reviewed by Eric Seidel.
      
      * platform/wince/DragDataWince.cpp: Added.
      * platform/wince/DragImageWince.cpp: Added.
      * platform/wince/EditorWince.cpp: Added.
      * platform/wince/KURLWince.cpp: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47137 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      02330792
    • treat@webkit.org's avatar
      WINCEPORT: FileSystem and FileChooser · e36b9e4c
      treat@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=27543
      
      Patch by Yong Li <yong.li@torchmobile.com> on 2009-08-12
      Reviewed by George Staikos.
      
      * platform/wince/FileChooserWince.cpp: Added.
      * platform/wince/FileSystemWince.cpp: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47136 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e36b9e4c
    • treat@webkit.org's avatar
      WINCE PORT: implement Cursor for WINCE. There's no real cursor on most · 512f599d
      treat@webkit.org authored
      WinMob devices. We pass the cursor info to application, which so that
      can determine what to do.
      https://bugs.webkit.org/show_bug.cgi?id=27543
      
      Patch by Yong Li <yong.li@torchmobile.com> on 2009-08-12
      Reviewed by Eric Seidel.
      
      * platform/wince/CursorWince.cpp: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47135 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      512f599d
    • treat@webkit.org's avatar
      WINCE PORT: MIMETypeRegistry · 3ddff728
      treat@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=27543
      
      Patch by Yong Li <yong.li@torchmobile.com> on 2009-08-12
      Reviewed by George Staikos.
      
      * platform/wince/MIMETypeRegistryWince.cpp: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47134 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3ddff728
    • treat@webkit.org's avatar
      WINCE PORT: Pasteboard and SearchPopupMenu · 84a29ce6
      treat@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=27543
      
      Patch by Joe Mason <joe.mason@torchmobile.com> on 2009-08-12
      Reviewed by George Staikos.
      
      * platform/wince/PasteboardWince.cpp: Added.
      * platform/wince/SearchPopupMenuWince.cpp: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47133 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      84a29ce6
    • treat@webkit.org's avatar
      WINCE PORT: Add SharedTimerWince.cpp and SystemTimeWince.cpp · d78edc50
      treat@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=27543
      
      Patch by Yong Li <yong.li@torchmobile.com> on 2009-08-12
      Reviewed by George Staikos.
      
      * platform/wince/SharedTimerWince.cpp: Added.
      * platform/wince/SystemTimeWince.cpp: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47132 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d78edc50
    • eric@webkit.org's avatar
      2009-08-12 Mark Mentovai <mark@chromium.org> · 485486a6
      eric@webkit.org authored
              Reviewed by Darin Adler.
      
              https://bugs.webkit.org/show_bug.cgi?id=28204
              Allow C++ exceptions to be disabled in WebCore's V8 Mac build.
      
              * WebCorePrefix.h:
              Only undefine |try| and |catch| when building Objective-C[++],
              leaving the C++ library definitions intact for C++.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47131 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      485486a6
    • japhet@chromium.org's avatar
      2009-08-12 Nate Chapin <japhet@chromium.org> · a667be55
      japhet@chromium.org authored
              Reviewed by Adam Barth.
      
              Add a Custom Setter for DOMWindowEvent in the V8 bindings.
              https://bugs.webkit.org/show_bug.cgi?id=27719
      
              Tests: fast/events/set-event-in-another-frame.html
                     fast/events/set-event-to-null.html
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47130 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a667be55
    • xan@webkit.org's avatar
      2009-08-12 Xan Lopez <xlopez@igalia.com> · aa5bf36f
      xan@webkit.org authored
              Reviewed by Jan Alonzo.
      
              [GTK] Remove keyring optional features
              https://bugs.webkit.org/show_bug.cgi?id=28173
      
              Remove keyring support, we now do authentication storage through
              libsoup. We depend on libsoup master now, will bump the dependency
              when there's a new release.
      
              * GNUmakefile.am:
              * configure.ac:
      
      WebKit/gtk:
      
      2009-08-12  Xan Lopez  <xlopez@igalia.com>
      
              Reviewed by Jan Alonzo.
      
              [GTK] Remove keyring optional features
              https://bugs.webkit.org/show_bug.cgi?id=28173
      
              Remove keyring support from our code and rely on libsoup to store
              the authentication data if the user requests that support in their
              application/library.
      
              * webkit/webkitsoupauthdialog.c:
              (response_callback):
              (show_auth_dialog):
              (session_authenticate):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47129 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      aa5bf36f
    • eric@webkit.org's avatar
      2009-08-12 Eric Seidel <eric@webkit.org> · 1a6c9142
      eric@webkit.org authored
              No review, just skipping tests to make the bots green.
      
              REGRESSION (r47110): 4 media regressions on the bots
              https://bugs.webkit.org/show_bug.cgi?id=28221
      
              Skipping these until Eric Carlson has a fix.
      
              * platform/mac/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47128 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1a6c9142
    • pkasting@chromium.org's avatar
      https://bugs.webkit.org/show_bug.cgi?id=27965 · 566436bb
      pkasting@chromium.org authored
      Merge wx/ImageSourceWx.cpp into ImageSource.cpp.  No changes to
      ImageSource.cpp were needed, so this just deletes ImageSourceWx.cpp.
      
      Reviewed by Adam Treat.
      
      * WebCore.gypi:
      * WebCoreSources.bkl:
      * platform/graphics/wx/ImageSourceWx.cpp: Removed.
      * webcore-wx.bkl:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47127 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      566436bb
    • pkasting@chromium.org's avatar
      https://bugs.webkit.org/show_bug.cgi?id=27933 · b8dd3c63
      pkasting@chromium.org authored
      Build fix after r47099.
      
      Reviewed by Dave Levin.
      
      * platform/graphics/skia/ImageBufferSkia.cpp:
      (WebCore::getImageData):
      (WebCore::putImageData):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47126 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b8dd3c63
    • kevino@webkit.org's avatar
      wx waf build fix, add new directories to the build. · 3e018ad1
      kevino@webkit.org authored
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47125 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3e018ad1
    • kevino@webkit.org's avatar
      a1cd4485
    • cfleizach@apple.com's avatar
      Bug 28219: platform/mac/accessibility/string-range-contains-listmarker.html fails on SnowLeopard · 593c920d
      cfleizach@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=28219
      
      Reviewed by Eric Seidel.
      
      * platform/mac-snowleopard/Skipped:
      * platform/mac/accessibility/string-range-contains-listmarker.html:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47123 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      593c920d
    • aroben@apple.com's avatar
      Remove support for a window resizer within the WebView · 3de9b76e
      aroben@apple.com authored
      WebKit/win:
      
      Starting with Safari 4, there is never a window resizer inside the
      WebView, so we no longer need to support that functionality.
      
      Fixes <http://webkit.org/b/28190> Remove support for a window resizer
      within the WebView
      
      Reviewed by Dave Hyatt.
      
      * Interfaces/IWebUIDelegatePrivate.idl: Replaced the delegate
      functions related to the window resizer with unused*() functions. We
      can't remove them entirely because we need to keep the vtable
      unchanged so new versions of WebKit will work with old versions of
      Safari (e.g., for nightlies and WebKit development).
      
      * WebCoreSupport/WebChromeClient.cpp:
      (WebChromeClient::windowResizerRect): Now always returns an empty
      rect.
      
      * WebView.cpp:
      (WebView::paint):
      (WebView::handleMouseEvent):
      * WebView.h:
      Removed window-resizer-related code.
      
      WebKitTools:
      
      Update DumpRenderTree for IWebUIDelegatePrivate changes
      
      Reviewed by Dave Hyatt.
      
      * DumpRenderTree/win/UIDelegate.h: Updated to match
      IWebUIDelegatePrivate.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47122 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3de9b76e
    • aroben@apple.com's avatar
      Don't try to seek to the end of stdin on Cygwin · c90c49e1
      aroben@apple.com authored
      Doing so seems to always cause an exception (for unknown reasons).
      
      Fixes <http://webkit.org/b/28159> create-bug throws an exception in
      Cygwin
      
      Reviewed by Dave Kilzer.
      
      * Scripts/bugzilla-tool:
      (CreateBug.prompt_for_bug_title_and_comments): Ignore IOErrors
      generated by calling sys.stdin.seek, since these seem to be generated
      for no good reason on Cygwin.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47121 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c90c49e1
    • aroben@apple.com's avatar
      Don't raise an exception when --cc is not passed to create-bug · 2055b062
      aroben@apple.com authored
      Fixes <http://webkit.org/b/28158> create-bug throws an exception if
      --cc is not specified
      
      Reviewed by Dave Kilzer.
      
      * Scripts/modules/bugzilla.py:
      (Bugzilla.create_bug_with_patch): Only set the "cc" field if a CC
      string was specified. Otherwise we'll generate an exception about the
      "cc" variable not being a string.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47120 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2055b062
    • bolsinga@apple.com's avatar
      Add delegate methods about focus and blur and state change · 2c9ee0a6
      bolsinga@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=27153
      
      Reviewed by Eric Seidel.
      
      Have ObjC delegate methods match C++ method names in the ChromeClient.
      
      * WebCoreSupport/WebChromeClient.mm:
      (WebChromeClient::formDidFocus):
      (WebChromeClient::formDidBlur):
      * WebView/WebUIDelegatePrivate.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47119 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2c9ee0a6
    • treat@webkit.org's avatar
      WINCE PORT: Implement Path for WINCE. Most code can be · cf044eba
      treat@webkit.org authored
      reused for other ports that don't have native path support
      https://bugs.webkit.org/show_bug.cgi?id=28188
      
      Patch by Yong Li <yong.li@torchmobile.com> on 2009-08-08
      Reviewed by Adam Treat.
      
      Written also by George Staikos (including quadCurve() and bezier())
      
      * platform/graphics/wince/PathWince.cpp: Added.
      * platform/graphics/wince/PlatformPathWince.cpp: Added.
      * platform/graphics/wince/PlatformPathWince.h: Added.
      * platform/graphics/wince/WinceGraphicsExtras.h: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47118 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cf044eba
    • eric.carlson@apple.com's avatar
      2009-08-12 Eric Carlson <eric.carlson@apple.com> · f7b25a35
      eric.carlson@apple.com authored
              Windows build fix.
      
              * WebCoreLocalizedStrings.cpp:
              (WebCore::localizedMediaTimeDescription):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47117 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f7b25a35
    • eric@webkit.org's avatar
      2009-08-12 Joseph Pecoraro <joepeck02@gmail.com> · 49ae4a16
      eric@webkit.org authored
              "Double-click to add" new style button does not always show up [quick fix]
              https://bugs.webkit.org/show_bug.cgi?id=28187
      
              * inspector/front-end/StylesSidebarPane.js:
              (WebInspector.StylePropertyTreeElement.prototype.updateTitle):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47116 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      49ae4a16
    • eric@webkit.org's avatar
      2009-08-12 Crystal Zhang <crystal.zhang@torchmobile.com> · dbf8a2a6
      eric@webkit.org authored
              Reviewed by George Staikos.
      
              WINCE PORT: MediaPlayerProxy and MediaPlayerPrivate
              https://bugs.webkit.org/show_bug.cgi?id=28178
      
              * platform/graphics/wince/MediaPlayerPrivateWince.h: Added.
              * platform/graphics/wince/MediaPlayerProxy.cpp: Added.
              * platform/graphics/wince/MediaPlayerProxy.h: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47115 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dbf8a2a6
    • eric@webkit.org's avatar
      2009-08-12 Laszlo Gombos <laszlo.1.gombos@nokia.com> · 0a2a5bb8
      eric@webkit.org authored
              Reviewed by Eric Seidel.
      
              HTML 5 database and LocalStorage is not persistent on the Symbian port of QtWebKit
              https://bugs.webkit.org/show_bug.cgi?id=28175
      
              Call QDir::toNativeSeparators() before the path is passed to the OS.
      
              Based on work by David Leong.
      
              * platform/qt/FileSystemQt.cpp:
              (WebCore::pathByAppendingComponent):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47114 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0a2a5bb8
    • eric.carlson@apple.com's avatar
      2009-08-12 Eric Carlson <eric.carlson@apple.com> · 6a6009e7
      eric.carlson@apple.com authored
              Tiger build fix.
      
              * accessibility/mac/AccessibilityObjectWrapper.mm: 
                  Define NSAccessibilityTimelineSubrole for Tiger.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47113 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6a6009e7
    • krit@webkit.org's avatar
      2009-08-12 Dirk Schulze <krit@webkit.org> · a046f09a
      krit@webkit.org authored
              Reviewed by Ariya Hidayat.
      
              Minor build-fix for SVG Filter. Use getUnmultipliedImageData instead
              of getImageData. This changed since r47099.
      
              * platform/graphics/filters/FEColorMatrix.cpp:
              (WebCore::FEColorMatrix::apply):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47112 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a046f09a
    • eric@webkit.org's avatar
      2009-08-11 Eric Seidel <eric@webkit.org> · e48267e6
      eric@webkit.org authored
              Reviewed by Adam Barth.
      
              bugzilla-tool : various improvements for running the commit-queue
              https://bugs.webkit.org/show_bug.cgi?id=28199
      
              Make run_and_throw_if_fail silence STDERR as well as STDIN.
              I also changed run_and_throw_if_fail to use the /dev/null trick instead of .communicate() to avoid ever buffering the out
              Change a few "print" statements to "log" so they appear in the output.
              Changed all string + uses to use string formatting instead (this is less error prone as it will automatically convert non
              Added a little more logging so that --quiet mode is easier to understand.
              Changed clear_attachment_review_flag to clear_attachment_flags and made it clear the commit-queue flag as well.
              Added the ability for bugzilla-tool to reject patches from the commit-queue when they fail to compile/apply/etc.
              Added _find_select_element_for_flag to make the code for finding flag <select> elements clearer.
              Made curl call (downloading patch files) quieter.
      
              * Scripts/bugzilla-tool:
              * Scripts/modules/bugzilla.py:
              * Scripts/modules/scm.py:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47111 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e48267e6
    • eric.carlson@apple.com's avatar
      2009-08-12 Eric Carlson <eric.carlson@apple.com> · cd791f33
      eric.carlson@apple.com authored
              Reviewed by Oliver Hunt.
      
              <video> and <audio> controller should be accessible
              https://bugs.webkit.org/show_bug.cgi?id=28081
      
              Test: accessibility/media-element.html
      
              * GNUmakefile.am:
              * WebCore.gypi:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * WebCoreSources.bkl:
                  Add AccessibilityMediaControls.cpp/.h
      
              * accessibility/AXObjectCache.cpp:
              * accessibility/AXObjectCache.h:
              (WebCore::AXObjectCache::getOrCreate):
                  Create AccessibilityMediaControl. Update Copyright
      
              * accessibility/AccessibilityMediaControls.cpp:
              * accessibility/AccessibilityMediaControls.h:
                  Added.
      
              * accessibility/AccessibilityObject.cpp:
              * accessibility/AccessibilityObject.h:
                  Add isMediaTimeline. Update Copyright.
      
              * accessibility/AccessibilitySlider.h:
                  Make constructor protected instead of private so AccessibilityMediaTimeline can
                  call it.
      
              * accessibility/mac/AccessibilityObjectWrapper.mm:
              (-[AccessibilityObjectWrapper accessibilityAttributeNames]):
                  Add NSAccessibilityValueDescriptionAttribute to range attributes. 
              (-[AccessibilityObjectWrapper subrole]):
                  Return NSAccessibilityTimelineSubrole for AccessibilityMediaTimeline.
      
              * dom/Node.h:
                  add isMediaControlElement.
      
              * page/mac/WebCoreViewFactory.h:
              * platform/LocalizedStrings.h:
              * platform/mac/LocalizedStringsMac.mm:
              (WebCore::localizedMediaControlElementString): 
              (WebCore::localizedMediaControlElementHelpText):
              (WebCore::localizedMediaTimeDescription): 
                  New, return localized media controller strings.
      
              * rendering/MediaControlElements.cpp:
              (WebCore::MediaControlElement::MediaControlElement):
                  Initialize m_displayType.
              (WebCore::MediaControlElement::MediaControlElement):
              (WebCore::MediaControlStatusDisplayElement::MediaControlStatusDisplayElement):
                  Fix style.
              (WebCore::MediaControlInputElement::MediaControlInputElement):
                  Set m_displayType based on pseudo style ID.
              (WebCore::MediaControlInputElement::MediaControlInputElement):
                  rename local "o" to "object".
              (WebCore::MediaControlMuteButtonElement::MediaControlMuteButtonElement):
              (WebCore::MediaControlPlayButtonElement::MediaControlPlayButtonElement):
              (WebCore::MediaControlSeekButtonElement::MediaControlSeekButtonElement):
              (WebCore::MediaControlRewindButtonElement::MediaControlRewindButtonElement):
              (WebCore::MediaControlReturnToRealtimeButtonElement::MediaControlReturnToRealtimeButtonElement):
              (WebCore::MediaControlTimelineElement::MediaControlTimelineElement):
              (WebCore::MediaControlFullscreenButtonElement::MediaControlFullscreenButtonElement):
              (WebCore::MediaControlTimelineElement::MediaControlTimelineElement):
              (WebCore::MediaControlTimelineElement::MediaControlTimelineElement):
              (WebCore::MediaControlTimelineElement::MediaControlTimelineElement):
                  Update for MediaControlInputElement constructor change.
              (WebCore::MediaControlTimeDisplayElement::formatTime):
                  New, moved here from RenderMedia so AccessibilityMediaTimeDisplay can use it.
              (WebCore::MediaControlTimeDisplayElement::setCurrentValue):
                  New, set text to current time.
              * rendering/MediaControlElements.h:
      
              * rendering/RenderMedia.cpp:
              (WebCore::RenderMedia::updateControls):
                  Create controls in tab order.
              (WebCore::RenderMedia::formatTime):
                  Moved to MediaControlTimeDisplayElement::formatTime.
              (WebCore::RenderMedia::updateTimeDisplay):
                  Call MediaControlTimeDisplayElement::setCurrentValue.
              * rendering/RenderMedia.h:
      
      2009-08-12  Eric Carlson  <eric.carlson@apple.com>
      
              Reviewed by Oliver Hunt.
      
              <video> and <audio> controller should be accessible
              https://bugs.webkit.org/show_bug.cgi?id=28081
      
              Add localized strings for media controller accessiblility.
      
              * English.lproj/Localizable.strings:
      
      2009-08-12  Eric Carlson  <eric.carlson@apple.com>
      
              Reviewed by Oliver Hunt.
      
              <video> and <audio> controller should be accessible
              https://bugs.webkit.org/show_bug.cgi?id=28081
      
              * WebCoreSupport/WebViewFactory.mm:
              (-[WebViewFactory localizedMediaControlElementString:]):
              (-[WebViewFactory localizedMediaControlElementHelpText:]):
              (-[WebViewFactory localizedMediaTimeDescription:]):
                  New.
      
      2009-08-12  Eric Carlson  <eric.carlson@apple.com>
      
              Reviewed by Oliver Hunt.
      
              <video> and <audio> controller should be accessible
              https://bugs.webkit.org/show_bug.cgi?id=28081
      
              * WebCoreLocalizedStrings.cpp:
              (WebCore::localizedMediaControlElementString):
              (WebCore::localizedMediaControlElementHelpText):
              (WebCore::localizedMediaTimeDescription):
                  New.
      
      2009-08-12  Eric Carlson  <eric.carlson@apple.com>
      
              Reviewed by Oliver Hunt.
      
              <video> and <audio> controller should be accessible
              https://bugs.webkit.org/show_bug.cgi?id=28081
      
              * accessibility/media-element.html: Added.
              * platform/mac-leopard/accessibility/media-element-expected.txt:
              * platform/mac-leopard/media/controls-strict-expected.txt: 
              * platform/mac/accessibility/media-element-expected.txt:
                  Added.
      
              * platform/mac-leopard/media/controls-after-reload-expected.txt:
              * platform/mac-leopard/media/controls-styling-expected.txt:
              * platform/mac-leopard/media/video-empty-source-expected.txt:
              * platform/mac-leopard/media/video-zoom-controls-expected.txt:
              * media/video-controls-visible-audio-only.html:
              * platform/mac-leopard/media/audio-controls-rendering-expected.txt:
              * platform/mac/media/audio-controls-rendering-expected.txt:
              * platform/mac/media/controls-after-reload-expected.txt:
              * platform/mac/media/controls-styling-expected.txt:
              * platform/mac/media/video-controls-rendering-expected.txt:
              * platform/mac/media/video-display-toggle-expected.txt:
              * platform/mac/media/video-empty-source-expected.txt:
              * platform/mac/media/video-zoom-controls-expected.txt:
                  Update for controller element tab order change.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47110 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cd791f33
    • eric@webkit.org's avatar
      2009-08-11 Eric Seidel <eric@webkit.org> · ccc8de18
      eric@webkit.org authored
              No review, script regression fix only.
      
              run-webkit-tests --quiet hangs
              https://bugs.webkit.org/show_bug.cgi?id=28202
      
              Do a huge dance to get open3 to pipe to /dev/null w/o blocking.
              This was what I came up with after discussions in #perl.
      
              * Scripts/run-webkit-tests:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47109 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ccc8de18