1. 19 Jun, 2007 1 commit
    • weinig's avatar
      Reviewed by Geoff. · 4484b814
      weinig authored
              Patch for http://bugs.webkit.org/show_bug.cgi?id=14226
              Move the History object out of the JS bindings
      
              - Autogenerate JSHistory.
      
              * DerivedSources.make:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/kjs_window.cpp:
              (KJS::WindowPrivate::WindowPrivate):
              (KJS::Window::mark):
              (KJS::Window::getValueProperty):
              (KJS::Window::clearHelperObjectProperties):
              (KJS::Window::disconnectFrame):
              * bindings/js/kjs_window.h:
              (KJS::Window::):
              * bridge/GlobalHistory.h: Copied from WebCore/bridge/History.h.
              * bridge/History.h: Removed.
              * bridge/mac/GlobalHistoryMac.mm: Copied from WebCore/bridge/mac/HistoryMac.mm.
              * bridge/mac/HistoryMac.mm: Removed.
              * bridge/win/GlobalHistoryWin.cpp: Copied from WebCore/bridge/win/HistoryWin.cpp.
              * bridge/win/HistoryWin.cpp: Removed.
              * css/cssstyleselector.cpp:
              * page/DOMWindow.cpp:
              (WebCore::DOMWindow::disconnectFrame):
              (WebCore::DOMWindow::history):
              * page/DOMWindow.h:
              * page/DOMWindow.idl:
              * page/History.cpp: Added.
              (WebCore::History::History):
              (WebCore::History::frame):
              (WebCore::History::disconnectFrame):
              (WebCore::History::length):
              (WebCore::History::back):
              (WebCore::History::forward):
              (WebCore::History::go):
              * page/History.h: Added.
              * page/History.idl: Added.
              * platform/gdk/TemporaryLinkStubs.cpp:
              * platform/qt/TemporaryLinkStubs.cpp:
              * platform/wx/TemporaryLinkStubs.cpp:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23584 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4484b814
  2. 18 Jun, 2007 17 commits
    • kdecker's avatar
      Reviewed by Kevin Decker · 4bd12d78
      kdecker authored
              
              * Carbon/HIWebView.m:
              (WindowHandler): HIObjectIsOfClass requires non-NULL input on Tiger. Reworked Kevin Decker's patch to remove the conditional compilation for Tiger, yet still avoid crashing BBEdit.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23582 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4bd12d78
    • weinig's avatar
      Qt build fix. · 37cf1197
      weinig authored
              * platform/qt/PlatformScreenQt.cpp:
              (WebCore::screenDepth):
              (WebCore::screenDepthPerComponent):
              (WebCore::screenIsMonochrome):
              (WebCore::screenRect):
              (WebCore::screenAvailableRect):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23581 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      37cf1197
    • weinig's avatar
      WebCore: · 8b5bc0db
      weinig authored
              Reviewed by Beth.
      
              Fix build and update licenses. 
      
              * WebCore.xcodeproj/project.pbxproj:
              * page/BarInfo.cpp:
              * page/BarInfo.h:
              * page/BarInfo.idl:
              * page/Screen.cpp:
              (WebCore::Screen::height):
              (WebCore::Screen::width):
              (WebCore::Screen::colorDepth):
              (WebCore::Screen::pixelDepth):
              (WebCore::Screen::availLeft):
              (WebCore::Screen::availTop):
              (WebCore::Screen::availHeight):
              (WebCore::Screen::availWidth):
              * page/Screen.h:
              * page/Screen.idl:
      
      WebKit:
      
              Reviewed by Beth.
      
              Build fix.
      
              * WebCoreSupport/WebChromeClient.mm:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23579 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8b5bc0db
    • kdecker's avatar
      2007-06-18 Kevin Decker <kdecker@apple.com> · 1b0f1ca4
      kdecker authored
              * Carbon/HIWebView.m:
              (WindowHandler): Fixed the Tiger build; ControlKind wasn't defined.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23578 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1b0f1ca4
    • andersca's avatar
      LayoutTests: · 2d55e968
      andersca authored
              Reviewed by John Sullivan.
      
              Update result, we shouldn't call didFinishLoadForFrame if the URL isn't valid.
              
              * http/tests/loading/bad-scheme-subframe-expected.txt:
      
      WebCore:
      
              Reviewed by John Sullivan.
      
              <rdar://problem/5277008> Assertion in [LocationChangeHandler finishedLoadingFrame:]
              
              Don't send any frame load callbacks if the document load hasn't been
              committed for real.
              
              * loader/FrameLoader.cpp:
              (WebCore::FrameLoader::checkLoadCompleteForThisFrame):
      
      WebKitTools:
      
              Reviewed by John Sullivan.
      
              Assert that the frame has a dataSource.
              
              * DumpRenderTree/FrameLoadDelegate.m:
              (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23577 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2d55e968
    • weinig's avatar
      LayoutTests: · b8d23237
      weinig authored
              Reviewed by Geoff.
      
              Updates tests for http://bugs.webkit.org/show_bug.cgi?id=14193
              Move the Screen object out of the JS bindings
      
              * fast/dom/Window/window-appendages-cleared-expected.txt:
              * fast/dom/Window/window-properties-expected.txt:
      
      WebCore:
      
              Reviewed by Geoff.
      
              Patch for http://bugs.webkit.org/show_bug.cgi?id=14193
              Move the Screen object out of the JS bindings
      
              - Renames Screen.h to PlatformScreen.h to accommodate new class.
              - Autogenerates JSScreen.
      
              * DerivedSources.make:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/kjs_window.cpp:
              (KJS::WindowPrivate::WindowPrivate):
              (KJS::Window::mark):
              (KJS::Window::getValueProperty):
              (KJS::Window::clearHelperObjectProperties):
              * bindings/js/kjs_window.h:
              (KJS::Window::):
              * css/MediaQueryEvaluator.cpp:
              * page/DOMWindow.cpp:
              (WebCore::DOMWindow::DOMWindow):
              (WebCore::DOMWindow::~DOMWindow):
              (WebCore::DOMWindow::frame):
              (WebCore::DOMWindow::disconnectFrame):
              (WebCore::DOMWindow::screen):
              * page/DOMWindow.h:
              * page/DOMWindow.idl:
              * page/Screen.cpp: Added.
              (WebCore::Screen::Screen):
              (WebCore::Screen::disconnectFrame):
              (WebCore::Screen::height):
              (WebCore::Screen::width):
              (WebCore::Screen::colorDepth):
              (WebCore::Screen::pixelDepth):
              (WebCore::Screen::availLeft):
              (WebCore::Screen::availTop):
              (WebCore::Screen::availHeight):
              (WebCore::Screen::availWidth):
              * page/Screen.h: Added.
              * page/Screen.idl: Added.
              * page/mac/WebCoreFrameBridge.mm:
              * platform/PlatformScreen.h: Copied from WebCore/platform/Screen.h.
              * platform/Screen.h: Removed.
              * platform/gdk/PlatformScreenGdk.cpp: Copied from WebCore/platform/gdk/ScreenGdk.cpp.
              * platform/gdk/ScreenGdk.cpp: Removed.
              * platform/mac/PlatformMouseEventMac.mm:
              * platform/mac/PlatformScreenMac.mm: Copied from WebCore/platform/mac/ScreenMac.mm.
              * platform/mac/ScreenMac.mm: Removed.
              * platform/qt/PlatformScreenQt.cpp: Added.
              (WebCore::WebCore::screenDepth):
              (WebCore::WebCore::screenDepthPerComponent):
              (WebCore::WebCore::screenIsMonochrome):
              (WebCore::WebCore::screenRect):
              (WebCore::WebCore::screenAvailableRect):
              * platform/qt/TemporaryLinkStubs.cpp:
              * platform/win/PlatformScreenWin.cpp: Copied from WebCore/platform/win/ScreenWin.cpp.
              * platform/win/ScreenWin.cpp: Removed.
              * rendering/RenderObject.cpp:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23576 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b8d23237
    • kdecker's avatar
      Reviewed by Tim Hatcher. · e0bb7192
      kdecker authored
              Fixed: <rdar://problem/5276135> With Safari 3 Tiger Beta installed, a crash occurs in BBEdit while mousing down and dragging outside of HTML preview window
      
              * Carbon/HIWebView.m:
              (WindowHandler): Because the fix for 5051616 causes Tiger to crash in HIToolbox (but not on Leopard), I reverted back to using GetControlKind
              on Tiger only, instead of HIObjectIsOfClass.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23574 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e0bb7192
    • weinig's avatar
      Reviewed by Geoff. · 6f399844
      weinig authored
              Patch for http://bugs.webkit.org/show_bug.cgi?id=14211
              Move the BarInfo object out of the JS bindings
      
              * DerivedSources.make:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/kjs_window.cpp:
              (KJS::WindowPrivate::WindowPrivate):
              (KJS::Window::mark):
              (KJS::Window::getValueProperty):
              (KJS::Window::clearHelperObjectProperties):
              (KJS::Window::disconnectFrame):
              * bindings/js/kjs_window.h:
              (KJS::Window::):
              * page/BarInfo.cpp: Added.
              (WebCore::BarInfo::BarInfo):
              (WebCore::BarInfo::disconnectFrame):
              (WebCore::BarInfo::visible):
              * page/BarInfo.h: Added.
              (WebCore::BarInfo::):
              * page/BarInfo.idl: Added.
              * page/DOMWindow.cpp:
              (WebCore::DOMWindow::~DOMWindow):
              (WebCore::DOMWindow::disconnectFrame):
              (WebCore::DOMWindow::locationbar):
              (WebCore::DOMWindow::menubar):
              (WebCore::DOMWindow::personalbar):
              (WebCore::DOMWindow::scrollbars):
              (WebCore::DOMWindow::statusbar):
              (WebCore::DOMWindow::toolbar):
              * page/DOMWindow.h:
              * page/DOMWindow.idl:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23573 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6f399844
    • staikos's avatar
      Reflect the library name change for WebKitQt in the perl scripts. Patch from · 58815091
      staikos authored
      Adam Treat
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23570 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      58815091
    • hyatt's avatar
      Groundwork for Ctrl+Enter URL bar support. · 30746625
      hyatt authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23569 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      30746625
    • weinig's avatar
      LayoutTests: · fb0910db
      weinig authored
              Reviewed by Darin.
      
              Update tests now that window.frames points to window and not FrameArray
              (which has been removed).
      
              * fast/dom/Window/resources/window-appendages-cleared-results.html:
              * fast/dom/Window/window-appendages-cleared-expected.txt:
              * fast/dom/Window/window-appendages-cleared.html:
              * fast/dom/Window/window-properties-expected.txt:
              * fast/js/toString-and-valueOf-override-expected.txt:
              * fast/js/toString-and-valueOf-override.html:
      
      WebCore:
      
              Reviewed by Darin.
      
              Remove the FrameArray class and instead make window.frames another
              self-reference for window (like window.window, window.self, etc).
              This is what Firefox and what the HTML5 dictates.
      
              * bindings/js/kjs_window.cpp:
              (KJS::WindowPrivate::WindowPrivate):
              (KJS::Window::mark):
              (KJS::Window::getValueProperty):
              (KJS::Window::clearHelperObjectProperties):
              (KJS::Window::disconnectFrame):
              * bindings/js/kjs_window.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23567 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fb0910db
    • bdash's avatar
      2007-06-18 Jake Helfert <jake@jakeonthenet.com> · 72b53161
      bdash authored
              Reviewed by Adam.
      
              - fix http://bugs.webkit.org/show_bug.cgi?id=14154
                Spinneret doesn't build against the new Win32 port.
      
              * Spinneret/Spinneret/Spinneret.cpp:
              (_tWinMain): 
                  -Changed IWebViewExt to IWebViewPrivate
                  -Changed Co[Un]initialize to Ole[Un]initialize because WebKit now calls
                   the WIN32 function RegisterDragDrop which requires the Ole* calls.
              * Spinneret/Spinneret/Spinneret.h:
              (SpinneretWebHost::didReceiveIcon): Updated method signature.
              (SpinneretWebHost::willPerformClientRedirectToURL): Updated method signature.
              (SpinneretWebHost::windowScriptObjectAvailable): Updated method signature.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23566 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      72b53161
    • bdash's avatar
      2007-06-18 Mitz Pettel <mitz@webkit.org> · fe085aa3
      bdash authored
              Reviewed by Adele.
      
              - fix http://bugs.webkit.org/show_bug.cgi?id=13413
                Failed assertion in RenderTextControl::setSelectionRange in Google Spreadsheets
      
              Test: fast/forms/input-zero-height-focus.html
      
              * rendering/RenderTextControl.cpp:
              (WebCore::RenderTextControl::setSelectionRange): Avoid setting the
              selection in a zero-height text control.
      
      2007-06-18  Mitz Pettel  <mitz@webkit.org>
      
              Reviewed by Adele.
      
              - test for http://bugs.webkit.org/show_bug.cgi?id=13413
                Failed assertion in RenderTextControl::setSelectionRange in Google Spreadsheets
      
              * fast/forms/input-zero-height-focus-expected.txt: Added.
              * fast/forms/input-zero-height-focus.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23565 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fe085aa3
    • bdash's avatar
      2007-06-18 Alp Toker <alp.toker@collabora.co.uk> · 71ff4198
      bdash authored
              Reviewed by Sam Weinig.
      
              http://bugs.webkit.org/show_bug.cgi?id=14052
              Implement SoundGdk
      
              * WebCore.pro:
              * platform/gdk/SoundGdk.cpp: Added.
              (WebCore::systemBeep):
              * platform/gdk/TemporaryLinkStubs.cpp:
              (WebCore::systemBeep):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23564 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      71ff4198
    • hyatt's avatar
      Add support for horizontal mouse wheeling (WebKit part). · 255b3011
      hyatt authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23563 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      255b3011
    • hyatt's avatar
      Add support for horizontal mouse wheeling (WebCore part). · 8198af88
      hyatt authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23562 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8198af88
    • hyatt's avatar
      Add support for Ctrl+Mouse Wheel to do text zooming on Win32. · 33aed6c7
      hyatt authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23561 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      33aed6c7
  3. 17 Jun, 2007 1 commit
  4. 16 Jun, 2007 1 commit
    • hyatt's avatar
      Back out fix for 13972. Quicktime will no longer clip correctly. :( · 42ed3564
      hyatt authored
              Too many regressions in Mail caused by inserting an extra view into the
              hierarchy.  Can revisit later.
      
              Reviewed by olliej
      
              * Plugins/WebPluginController.mm:
              (-[WebPluginController destroyPlugin:]):
              (-[WebPluginController destroyAllPlugins]):
              * WebCoreSupport/WebFrameBridge.mm:
              (-[WebFrameBridge pluginViewWithPackage:attributeNames:attributeValues:baseURL:DOMElement:loadManually:]):
              * WebView/WebHTMLView.mm:
              (-[WebHTMLView addSubview:]):
              (-[WebHTMLView willRemoveSubview:]):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23559 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      42ed3564
  5. 15 Jun, 2007 4 commits
    • hyatt's avatar
      Fix for bugzilla bugs 14183 and 14184, 'repeat' regressed in border-image · 2316be23
      hyatt authored
              because of a botched 'round' support removal.  Also update for a change in
              the spec that has the second stretch/round/repeat keyword match the first
              if omitted.
              
              Reviewed by olliej
      
              * css/cssparser.cpp:
              (WebCore::BorderImageParseContext::commitBorderImage):
              * platform/graphics/Image.cpp:
              (WebCore::Image::drawTiled):
              * platform/graphics/Image.h:
              (WebCore::Image::):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23558 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2316be23
    • weinig's avatar
      LayoutTests: · a6188e22
      weinig authored
              Reviewed by Darin.
      
              Update test for http://bugs.webkit.org/show_bug.cgi?id=14053
              Autogenerate JS binding for Rect
      
              * fast/dom/Window/window-properties-expected.txt:
      
      WebCore:
      
              Reviewed by Darin.
      
              Patch for http://bugs.webkit.org/show_bug.cgi?id=14053
              Autogenerate JS binding for Rect
      
              - Renames RectImpl to Rect, DOMStyleSheetList to JSStyleSheetList 
                and DOMRGBColor to JSRGBColor
              - Moves JSStyleSheetList and JSRGBColor into the WebCore namespace.
      
              * DerivedSources.make:
              * WebCore.pro:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/kjs_css.cpp:
              (WebCore::):
              (WebCore::JSStyleSheetList::JSStyleSheetList):
              (WebCore::JSStyleSheetList::~JSStyleSheetList):
              (WebCore::JSStyleSheetList::getValueProperty):
              (WebCore::JSStyleSheetList::indexGetter):
              (WebCore::JSStyleSheetList::nameGetter):
              (WebCore::JSStyleSheetList::getOwnPropertySlot):
              (WebCore::toJS):
              (WebCore::JSStyleSheetListFunc::callAsFunction):
              (WebCore::JSRGBColor::JSRGBColor):
              (WebCore::JSRGBColor::~JSRGBColor):
              (WebCore::JSRGBColor::getOwnPropertySlot):
              (WebCore::JSRGBColor::getValueProperty):
              (WebCore::getJSRGBColor):
              * bindings/js/kjs_css.h:
              (WebCore::JSStyleSheetList::classInfo):
              (WebCore::JSStyleSheetList::):
              (WebCore::JSStyleSheetList::impl):
              (WebCore::JSRGBColor::classInfo):
              (WebCore::JSRGBColor::):
              (WebCore::JSRGBColor::impl):
              * bindings/objc/DOMUtility.mm:
              (KJS::createDOMWrapper):
              * bindings/scripts/CodeGeneratorJS.pm:
              * bindings/scripts/CodeGeneratorObjC.pm:
              * css/CSSBorderImageValue.cpp:
              (WebCore::CSSBorderImageValue::CSSBorderImageValue):
              * css/CSSBorderImageValue.h:
              * css/CSSPrimitiveValue.cpp:
              (WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
              (WebCore::CSSPrimitiveValue::cssText):
              * css/CSSPrimitiveValue.h:
              (WebCore::CSSPrimitiveValue::getRectValue):
              (WebCore::CSSPrimitiveValue::):
              * css/DashboardRegion.h:
              * css/Rect.h: Copied from css/RectImpl.h.
              (WebCore::Rect::~Rect):
              (WebCore::Rect::top):
              (WebCore::Rect::right):
              (WebCore::Rect::bottom):
              (WebCore::Rect::left):
              (WebCore::Rect::setTop):
              (WebCore::Rect::setRight):
              (WebCore::Rect::setBottom):
              (WebCore::Rect::setLeft):
              * css/Rect.idl:
              * css/RectImpl.h: Removed.
              * css/cssparser.cpp:
              (WebCore::CSSParser::parseShape):
              (WebCore::BorderImageParseContext::commitBorderImage):
              * css/cssstyleselector.cpp:
              (WebCore::CSSStyleSelector::applyProperty):
              * page/DOMWindow.idl:
      
      WebKit:
      
              Reviewed by Darin.
      
              Patch for http://bugs.webkit.org/show_bug.cgi?id=14053
              Autogenerate JS binding for Rect
      
              - Fix conflicts by using ::Rect instead of Rect.
      
              * Plugins/WebBaseNetscapePluginView.mm:
              (-[WebBaseNetscapePluginView saveAndSetNewPortStateForUpdate:]):
              (-[WebBaseNetscapePluginView sendEvent:]):
              (-[WebBaseNetscapePluginView tellQuickTimeToChill]):
              (-[WebBaseNetscapePluginView invalidateRegion:]):
              (-[WebBaseNetscapePluginView _printedPluginBitmap]):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23557 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a6188e22
    • andersca's avatar
      Reviewed by Kevin. · 2e0bc343
      andersca authored
              A better fix for <rdar://problem/5271774>. Only try to access the element if the
              view has an associated window. This also works with GC. (Fix suggested by Kevin.)
      
              * Plugins/WebKitPluginContainerView.mm:
              (-[WebKitPluginContainerView dealloc]):
              (-[WebKitPluginContainerView visibleRect]):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23553 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2e0bc343
    • andersca's avatar
      Reviewed by Kevin. · 62cb03f9
      andersca authored
              <rdar://problem/5271774> REGRESSION: A crash occurs when closing a window that contains a QT movie
              
              In some cases, calling [super dealloc] might end up calling visibleRect, so make sure to
              set _element to 0 so we won't send a message to a freed object and crash.
              
              * Plugins/WebKitPluginContainerView.mm:
              (-[WebKitPluginContainerView dealloc]):
              (-[WebKitPluginContainerView visibleRect]):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23552 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      62cb03f9
  6. 14 Jun, 2007 16 commits