1. 04 Dec, 2007 1 commit
    • aroben@apple.com's avatar
      Make the implementation of Frame::setNeedsReapplyStyles cross-platform · 4cfcb8ae
      aroben@apple.com authored
       WebCore:
      
               Make the implementation of Frame::setNeedsReapplyStyles cross-platform
      
               Reviewed by Hyatt.
      
               No change in functionality.
      
               * page/Frame.cpp:
               (WebCore::Frame::setNeedsReapplyStyles): Added. Invalidates the
               FrameView so that FrameView::layout will be called, which ends up
               calling reapplyStyles.
               (WebCore::Frame::needsReapplyStyles): Added.
               (WebCore::Frame::reapplyStyles): Renamed from reparseConfiguration.
               (WebCore::FramePrivate::FramePrivate):
               * page/Frame.h:
               * page/FramePrivate.h: Added new boolean member.
               * page/FrameView.cpp:
               (WebCore::FrameView::layout): Call Frame::reapplyStyles if needed.
               (WebCore::FrameView::needsLayout): Say that we need layout if the
               Frame needs styles reapplied.
               * page/mac/WebCoreFrameBridge.h: Removed setNeedsReapplyStyles.
               * page/mac/WebCoreFrameBridge.mm:
               (-[WebCoreFrameBridge reapplyStylesForDeviceType:]): Updated for
               rename.
      
               * bridge/win/FrameWin.cpp: Removed Frame::setNeedsReapplyStyles.
               * page/gtk/FrameGtk.cpp: Ditto.
               * page/mac/FrameMac.mm: Ditto.
               * page/qt/FrameQt.cpp: Ditto.
               * platform/wx/TemporaryLinkStubs.cpp: Ditto.
      
       WebKit/mac:
      
               Remove -[WebFrameBridge setNeedsReapplyStyles]
      
               This functionality is now WebCore's responsibility.
      
               Reviewed by Hyatt.
      
               * WebCoreSupport/WebFrameBridge.mm:
               * WebKit.order:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@28411 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4cfcb8ae
  2. 08 Nov, 2007 1 commit
    • darin@apple.com's avatar
      WebCore: · 02405e32
      darin@apple.com authored
              Reviewed by Steve.
      
              - cut down on notImplemented() functions on Windows
      
              * bridge/AXObjectCache.h: Put #if around the accessibility
              global.
      
              * bridge/win/FrameWin.cpp: (WebCore::Frame::setNeedsReapplyStyles):
              Moved here from TemporaryLinkStubs.
      
              * dom/Document.cpp: (WebCore::Document::lastModified): Re-implemented
              using the ResourceResponse that's now available from the DocumentLoader.
      
              * editing/JSEditor.cpp: (execTranspose): Changed to call transpose() on
              the Editor instead of the obsolete one on the Frame.
      
              * loader/DocumentLoader.h: Removed getResponseModifiedHeader.
              * loader/FrameLoader.h: Removed overrideMediaType.
      
              * loader/gtk/DocumentLoaderGtk.cpp: Removed.
              * loader/mac/DocumentLoaderMac.mm: Removed.
              * loader/qt/DocumentLoaderQt.cpp: Removed.
      
              * page/Frame.cpp: Removed transpose.
              * page/Frame.h: Ditto.
              * page/FrameView.h: Removed updateBorder.
              * page/gtk/FrameGtk.cpp: Removed issueTransposeCommand.
              * page/mac/FrameMac.mm: Ditto.
              * page/mac/WebCoreFrameBridge.h: Removed issueTransposeCommand and
              overrideMediaType.
              * page/qt/FrameQt.cpp: Removed issueTransposeCommand.
      
              * platform/gtk/TemporaryLinkStubs.cpp: Removed gAccessibilityEnabled.
              * platform/qt/TemporaryLinkStubs.cpp: Ditto.
              * platform/win/TemporaryLinkStubs.cpp: Removed or moved all but 3 of the stubs.
              * platform/wx/TemporaryLinkStubs.cpp: Removed gAccessibilityEnabled,
              issueTransposeCommand, and overrideMediaType.
      
              * platform/network/cf/ResourceHandleCFNet.cpp:
              (WebCore::ResourceHandle::loadsBlocked): Moved here from TemporaryLinkStubs.
              (WebCore::ResourceHandle::willLoadFromCache): Ditto.
              * platform/win/GraphicsContextWin.cpp:
              (WebCore::GraphicsContextPlatformPrivate::clip): Ditto.
              * platform/win/ScrollViewWin.cpp: (WebCore::ScrollView::inWindow): Ditto.
              * platform/win/SystemTimeWin.cpp: (WebCore::userIdleTime): Ditto.
              * platform/win/WidgetWin.cpp: (WebCore::Widget::setIsSelected): Ditto.
      
              * WebCore.pro: Updated for removed files.
              * WebCore.xcodeproj/project.pbxproj: Updated for removed file.
      
      WebKit/mac:
      
              Reviewed by Steve.
      
              - removed some unused WebCore bridge methods
      
              * WebCoreSupport/WebFrameBridge.mm: Removed issueTransposeCommand and overrideMediaType.
      
              * WebCoreSupport/WebFrameLoaderClient.mm:
              (WebFrameLoaderClient::overrideMediaType): Changed to call WebView directly instead of
              using the bridge object.
      
      WebKit/win:
      
              Reviewed by Steve.
      
              * Interfaces/IWebUIDelegate.idl: Added the functions needed below.
              * WebChromeClient.cpp:
              (WebChromeClient::setMenubarVisible): Eliminated the notImplemented()
              here by calling through the UI delegate.
              (WebChromeClient::menubarVisible): Ditto.
              (WebChromeClient::runDatabaseSizeLimitPrompt): Ditto.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@27598 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      02405e32
  3. 23 Sep, 2007 1 commit
    • zecke's avatar
      /: · 2752405f
      zecke authored
      2007-09-20  Holger Hans Peter Freyther  <zecke@selfish.org>
      
              Rubber stamped by Adam.
      
              Renamed files from *Gdk to *Gtk (see #14732) using the
              work of Juan A. Suarez Romero as a base.
      
              GDK -> GTK
      
              * WebKit.pri:
              * WebKit.pro:
      
      JavaScriptCore:
      2007-09-20  Holger Hans Peter Freyther  <zecke@selfish.org>
      
              Rubber stamped by Adam.
      
              Renamed files from *Gdk to *Gtk (see #14732) using the
              work of Juan A. Suarez Romero as a base.
      
              GDK -> GTK 
      
              * JavaScriptCore.pri:
              * kjs/testkjs.pro:
              * pcre/dftables.pro:
              * wtf/Platform.h: PLATFORM(GDK) to PLATFORM(GTK)
      
      WebCore:
      2007-09-20  Holger Hans Peter Freyther  <zecke@selfish.org>
      
              Rubber stamped by Adam.
      
              Renamed files from *Gdk to *Gtk (see #14732) using the
              work of Juan A. Suarez Romero as a base.
      
              GDK -> GTK
      
              * Projects/gdk/webcore-gdk.bkl:
              * WebCore.pro:
              * WebCoreSources.bkl:
              * loader/gdk: Removed.
              * loader/gdk/DocumentLoaderGdk.cpp: Removed.
              * loader/gtk: Added.
              * loader/gtk/DocumentLoaderGdk.cpp: Removed.
              * loader/gtk/DocumentLoaderGtk.cpp: Added.
              * page/FrameView.cpp:
              * page/FrameView.h:
              * page/gdk: Removed.
              * page/gdk/DragControllerGdk.cpp: Removed.
              * page/gdk/EventHandlerGdk.cpp: Removed.
              * page/gdk/FrameGdk.cpp: Removed.
              * page/gtk: Added.
              * page/gtk/DragControllerGdk.cpp: Removed.
              * page/gtk/DragControllerGtk.cpp: Added.
              * page/gtk/EventHandlerGdk.cpp: Removed.
              * page/gtk/EventHandlerGtk.cpp: Added.
              (WebCore::EventHandler::createDraggingClipboard):
              * page/gtk/FrameGdk.cpp: Removed.
              * page/gtk/FrameGtk.cpp: Added.
              * platform/ContextMenuItem.h:
              * platform/Cursor.h:
              * platform/DragData.h:
              * platform/DragImage.h:
              * platform/FontData.h:
              * platform/NotImplemented.h:
              * platform/PlatformKeyboardEvent.h:
              * platform/PlatformMenuDescription.h:
              * platform/PlatformMouseEvent.h:
              * platform/PlatformWheelEvent.h:
              * platform/ScrollView.h:
              * platform/Widget.h:
              * platform/gdk: Removed.
              * platform/gdk/ClipboardGdk.cpp: Removed.
              * platform/gdk/ClipboardGdk.h: Removed.
              * platform/gdk/ContextMenuGdk.cpp: Removed.
              * platform/gdk/ContextMenuItemGdk.cpp: Removed.
              * platform/gdk/CookieJarGdk.cpp: Removed.
              * platform/gdk/CursorGdk.cpp: Removed.
              * platform/gdk/DragDataGdk.cpp: Removed.
              * platform/gdk/DragImageGdk.cpp: Removed.
              * platform/gdk/FileChooserGdk.cpp: Removed.
              * platform/gdk/FileSystemGdk.cpp: Removed.
              * platform/gdk/FontCacheGdk.cpp: Removed.
              * platform/gdk/FontDataGdk.cpp: Removed.
              * platform/gdk/FontGdk.cpp: Removed.
              * platform/gdk/FontPlatformData.h: Removed.
              * platform/gdk/FontPlatformDataGdk.cpp: Removed.
              * platform/gdk/GlyphPageTreeNodeGdk.cpp: Removed.
              * platform/gdk/KeyEventGdk.cpp: Removed.
              * platform/gdk/KeyboardCodes.h: Removed.
              * platform/gdk/LocalizedStringsGdk.cpp: Removed.
              * platform/gdk/LoggingGdk.cpp: Removed.
              * platform/gdk/MIMETypeRegistryGdk.cpp: Removed.
              * platform/gdk/MouseEventGdk.cpp: Removed.
              * platform/gdk/PasteboardGdk.cpp: Removed.
              * platform/gdk/PlatformScreenGdk.cpp: Removed.
              * platform/gdk/PlatformScrollBar.h: Removed.
              * platform/gdk/PlatformScrollBarGdk.cpp: Removed.
              * platform/gdk/PopupMenuGdk.cpp: Removed.
              * platform/gdk/RenderThemeGdk.cpp: Removed.
              * platform/gdk/RenderThemeGdk.h: Removed.
              * platform/gdk/ScrollViewGdk.cpp: Removed.
              * platform/gdk/SearchPopupMenuGdk.cpp: Removed.
              * platform/gdk/SharedTimerLinux.cpp: Removed.
              * platform/gdk/SoundGdk.cpp: Removed.
              * platform/gdk/SystemTimeLinux.cpp: Removed.
              * platform/gdk/TemporaryLinkStubs.cpp: Removed.
              * platform/gdk/WheelEventGdk.cpp: Removed.
              * platform/gdk/WidgetGdk.cpp: Removed.
              * platform/graphics/GraphicsContext.h:
              * platform/graphics/cairo/GraphicsContextCairo.cpp:
              (WebCore::GraphicsContextPlatformPrivate::GraphicsContextPlatformPrivate):
              (WebCore::GraphicsContext::setPlatformFont):
              * platform/graphics/gdk: Removed.
              * platform/graphics/gdk/IconGdk.cpp: Removed.
              * platform/graphics/gdk/ImageGdk.cpp: Removed.
              * platform/graphics/gtk: Added.
              * platform/graphics/gtk/IconGdk.cpp: Removed.
              * platform/graphics/gtk/IconGtk.cpp: Added.
              * platform/graphics/gtk/ImageGdk.cpp: Removed.
              * platform/graphics/gtk/ImageGtk.cpp: Added.
              * platform/gtk: Added.
              * platform/gtk/ClipboardGdk.cpp: Removed.
              * platform/gtk/ClipboardGdk.h: Removed.
              * platform/gtk/ClipboardGtk.cpp: Added.
              (WebCore::ClipboardGtk::ClipboardGtk):
              (WebCore::ClipboardGtk::~ClipboardGtk):
              (WebCore::ClipboardGtk::clearData):
              (WebCore::ClipboardGtk::clearAllData):
              (WebCore::ClipboardGtk::getData):
              (WebCore::ClipboardGtk::setData):
              (WebCore::ClipboardGtk::types):
              (WebCore::ClipboardGtk::dragLocation):
              (WebCore::ClipboardGtk::dragImage):
              (WebCore::ClipboardGtk::setDragImage):
              (WebCore::ClipboardGtk::dragImageElement):
              (WebCore::ClipboardGtk::setDragImageElement):
              (WebCore::ClipboardGtk::createDragImage):
              (WebCore::ClipboardGtk::declareAndWriteDragImage):
              (WebCore::ClipboardGtk::writeURL):
              (WebCore::ClipboardGtk::writeRange):
              (WebCore::ClipboardGtk::hasData):
              * platform/gtk/ClipboardGtk.h: Added.
              * platform/gtk/ContextMenuGdk.cpp: Removed.
              * platform/gtk/ContextMenuGtk.cpp: Added.
              * platform/gtk/ContextMenuItemGdk.cpp: Removed.
              * platform/gtk/ContextMenuItemGtk.cpp: Added.
              * platform/gtk/CookieJarGdk.cpp: Removed.
              * platform/gtk/CookieJarGtk.cpp: Added.
              * platform/gtk/CursorGdk.cpp: Removed.
              * platform/gtk/CursorGtk.cpp: Added.
              * platform/gtk/DragDataGdk.cpp: Removed.
              * platform/gtk/DragDataGtk.cpp: Added.
              * platform/gtk/DragImageGdk.cpp: Removed.
              * platform/gtk/DragImageGtk.cpp: Added.
              * platform/gtk/FileChooserGdk.cpp: Removed.
              * platform/gtk/FileChooserGtk.cpp: Added.
              * platform/gtk/FileSystemGdk.cpp: Removed.
              * platform/gtk/FileSystemGtk.cpp: Added.
              * platform/gtk/FontCacheGdk.cpp: Removed.
              * platform/gtk/FontCacheGtk.cpp: Added.
              * platform/gtk/FontDataGdk.cpp: Removed.
              * platform/gtk/FontDataGtk.cpp: Added.
              * platform/gtk/FontGdk.cpp: Removed.
              * platform/gtk/FontGtk.cpp: Added.
              * platform/gtk/FontPlatformDataGdk.cpp: Removed.
              * platform/gtk/FontPlatformDataGtk.cpp: Added.
              * platform/gtk/GlyphPageTreeNodeGdk.cpp: Removed.
              * platform/gtk/GlyphPageTreeNodeGtk.cpp: Added.
              * platform/gtk/KeyEventGdk.cpp: Removed.
              * platform/gtk/KeyEventGtk.cpp: Added.
              * platform/gtk/LocalizedStringsGdk.cpp: Removed.
              * platform/gtk/LocalizedStringsGtk.cpp: Added.
              * platform/gtk/LoggingGdk.cpp: Removed.
              * platform/gtk/LoggingGtk.cpp: Added.
              * platform/gtk/MIMETypeRegistryGdk.cpp: Removed.
              * platform/gtk/MIMETypeRegistryGtk.cpp: Added.
              * platform/gtk/MouseEventGdk.cpp: Removed.
              * platform/gtk/MouseEventGtk.cpp: Added.
              * platform/gtk/PasteboardGdk.cpp: Removed.
              * platform/gtk/PasteboardGtk.cpp: Added.
              * platform/gtk/PlatformScreenGdk.cpp: Removed.
              * platform/gtk/PlatformScreenGtk.cpp: Added.
              * platform/gtk/PlatformScrollBarGdk.cpp: Removed.
              * platform/gtk/PlatformScrollBarGtk.cpp: Added.
              * platform/gtk/PopupMenuGdk.cpp: Removed.
              * platform/gtk/PopupMenuGtk.cpp: Added.
              * platform/gtk/RenderThemeGdk.cpp: Removed.
              * platform/gtk/RenderThemeGdk.h: Removed.
              * platform/gtk/RenderThemeGtk.cpp: Added.
              (WebCore::theme):
              (WebCore::RenderThemeGtk::RenderThemeGtk):
              (WebCore::RenderThemeGtk::close):
              (WebCore::RenderThemeGtk::addIntrinsicMargins):
              (WebCore::RenderThemeGtk::supportsFocus):
              (WebCore::RenderThemeGtk::determineState):
              (WebCore::RenderThemeGtk::determineShadow):
              (WebCore::RenderThemeGtk::getThemeData):
              (WebCore::RenderThemeGtk::setCheckboxSize):
              (WebCore::RenderThemeGtk::paintCheckbox):
              (WebCore::RenderThemeGtk::setRadioSize):
              (WebCore::RenderThemeGtk::paintRadio):
              (WebCore::RenderThemeGtk::paintButton):
              (WebCore::RenderThemeGtk::adjustTextFieldStyle):
              (WebCore::RenderThemeGtk::paintTextField):
              (WebCore::RenderThemeGtk::paintTextArea):
              (WebCore::RenderThemeGtk::adjustButtonStyle):
              (WebCore::RenderThemeGtk::systemFont):
              (WebCore::RenderThemeGtk::gtkButton):
              (WebCore::RenderThemeGtk::gtkCheckbox):
              (WebCore::RenderThemeGtk::gtkRadioButton):
              (WebCore::RenderThemeGtk::gtkWindowContainer):
              * platform/gtk/RenderThemeGtk.h: Added.
              * platform/gtk/ScrollViewGdk.cpp: Removed.
              * platform/gtk/ScrollViewGtk.cpp: Added.
              * platform/gtk/SearchPopupMenuGdk.cpp: Removed.
              * platform/gtk/SearchPopupMenuGtk.cpp: Added.
              * platform/gtk/SoundGdk.cpp: Removed.
              * platform/gtk/SoundGtk.cpp: Added.
              * platform/gtk/WheelEventGdk.cpp: Removed.
              * platform/gtk/WheelEventGtk.cpp: Added.
              * platform/gtk/WidgetGdk.cpp: Removed.
              * platform/gtk/WidgetGtk.cpp: Added.
              * platform/network/ResourceHandle.h:
      
      WebKitTools:
      2007-09-20  Holger Hans Peter Freyther  <zecke@selfish.org>
      
              Rubber stamped by Adam.
      
              * GdkLauncher: Removed.
              * GdkLauncher/Bakefiles.bkgen: Removed.
              * GdkLauncher/ENV: Removed.
              * GdkLauncher/GdkLauncher.pro: Removed.
              * GdkLauncher/gdklauncher.bkl: Removed.
              * GdkLauncher/main.cpp: Removed.
              * GdkLauncher/mk: Removed.
              * GdkLauncher/simple.svg: Removed.
              * GdkLauncher/text.html: Removed.
              * GtkLauncher: Added.
              * GtkLauncher/GdkLauncher.pro: Removed.
              * GtkLauncher/GtkLauncher.pro: Added.
              * GtkLauncher/main.cpp:
              (updateWindowTitle):
              (main):
              * Scripts/build-webkit:
              * Scripts/regenerate-makefiles:
              * Scripts/run-javascriptcore-tests:
              * Scripts/run-launcher:
              * Scripts/run-webkit-tests:
              * Scripts/webkitdirs.pm:
      
      
      
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@25703 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2752405f
  4. 21 Sep, 2007 1 commit
  5. 07 Aug, 2007 2 commits
    • zecke's avatar
      WebCore: · da4d5df9
      zecke authored
      2007-08-08  Holger Hans Peter Freyther  <zecke@selfish.org>
      
              Reviewed by Adam.
      
              Kill class FrameGdk and move the stubs to page/gdk/FrameGdk.cpp and the
              remainings into WebKitGtkFrame.
              The DRT functionality of class FrameGdk is currently lost.
      
              * WebCore.pro:
              * loader/gdk/FrameLoaderClientGdk.cpp:
              * loader/gdk/FrameLoaderClientGdk.h:
              * page/gdk/FrameGdk.cpp: Renamed from WebCore/platform/gdk/FrameGdk.cpp.
              (WebCore::Frame::issueTransposeCommand):
              (WebCore::Frame::cleanupPlatformScriptObjects):
              (WebCore::Frame::dragImageForSelection):
              (WebCore::Frame::dashboardRegionsChanged):
              * platform/gdk/FrameGdk.h: Removed.
              * platform/gdk/TemporaryLinkStubs.cpp: Removed Frame stub, added the loadResourceIntoArray stub
              * platform/gdk/WidgetGdk.cpp:
      
      WebKit:
      2007-08-08  Holger Hans Peter Freyther  <zecke@selfish.org>
      
              Reviewed by Adam.
      
              Moved code from class FrameGdk into WebKitGtkFrame. Update the
              webkitgrkprivate.h header file to not include FrameGdk.h.
      
              * gtk/Api/webkitgtkframe.cpp:
              * gtk/Api/webkitgtkprivate.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@24923 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      da4d5df9
    • zecke's avatar
      WebCore: · a96bd754
      zecke authored
      2007-08-08  Holger Hans Peter Freyther  <zecke@selfish.org>
      
              Reviewed by Adam.
      
              Remove the event handling code and move it to WebKit/gtk/Api/webkitgtkpage.cpp
      
              * platform/gdk/FrameGdk.cpp:
              * platform/gdk/FrameGdk.h:
      
      WebKit:
      2007-08-08  Holger Hans Peter Freyther  <zecke@selfish.org>
      
              Reviewed by Adam.
      
              Reimplement GtkWidget::event and handle the keyboard and mouse
              events inside WebKitGtkPage.
      
              * gtk/Api/webkitgtkpage.cpp:
              (FrameGdkExposeData::frame_gdk_expose_child):
              (FrameGdkExposeData::webkit_gtk_page_rendering_area_handle_gdk_event):
              (FrameGdkExposeData::webkit_gtk_page_register_rendering_area_events):
              (FrameGdkExposeData::webkit_gtk_page_class_init):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@24917 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a96bd754
  6. 23 Jul, 2007 1 commit
    • zecke's avatar
      2007-07-22 Holger Hans Peter Freyther <zecke@selfish.org> · 5604daf5
      zecke authored
              Reviewed by Adam.
      
              Add WebKit/gtk/Api and WebCoreSupport API to the INCLUDEPATH to allow GdkLauncher to be
              build against it.
      
              * WebKit.pri:
      
      
      WebCore:
      2007-07-22  Holger Hans Peter Freyther  <zecke@selfish.org>
      
              Reviewed by Adam.
      
              WARNING: NO TEST CASES ADDED OR CHANGED
      
              Add the WebKit/Gtk API to the buildsystem, ask qmake to create a
              pkg-config file and install headers and libraries.
      
              Start to emit signals from FrameLoaderClientGdk, hide the kit Frame
              inside the the FrameLoaderClientGdk.
      
              Move ChromeClientGdk to WebKit/gtk/WebCoreSupport
      
              * WebCore.pro:
              * loader/gdk/FrameLoaderClientGdk.cpp:
              * loader/gdk/FrameLoaderClientGdk.h:
              * platform/gdk/ChromeClientGdk.h: Removed.
              * platform/gdk/FrameGdk.cpp: Remove code not belonging here
              * platform/gdk/FrameGdk.h:
              * platform/gdk/ScrollViewGdk.cpp: The gdkDrawable won't exist at that time and it is fine
              * platform/gdk/TemporaryLinkStubs.cpp: Removed ChromeClientGdk stubs
      
      WebKit:
      2007-07-22  Holger Hans Peter Freyther  <zecke@selfish.org>
      
              Reviewed by Adam.
      
              Add the first API and partial implementation of the WebKit/Gtk port as
              of http://bugs.webkit.org/show_bug.cgi?id=14678.
      
              The delegates of WebView will be modeled as signals. Delegates like the
              WebPolicyDelegate will be implemented as signals with default handlers.
      
              Start moving files to WebKit/gtk/WebCoreSupport.
      
              * gtk: Added.
              * gtk/Api: Added.
              * gtk/Api/headers.pri: Added.
              * gtk/Api/webkitgtk-marshal.list: Added.
              * gtk/Api/webkitgtkdefines.h: Added.
              * gtk/Api/webkitgtkframe.cpp: Added.
              * gtk/Api/webkitgtkframe.h: Added.
              * gtk/Api/webkitgtkframedata.cpp: Added.
              * gtk/Api/webkitgtkframedata.h: Added.
              * gtk/Api/webkitgtkglobal.cpp: Added.
              * gtk/Api/webkitgtkglobal.h: Added.
              * gtk/Api/webkitgtknetworkrequest.cpp: Added.
              * gtk/Api/webkitgtknetworkrequest.h: Added.
              * gtk/Api/webkitgtkpage.cpp: Added.
              * gtk/Api/webkitgtkpage.h: Added.
              * gtk/Api/webkitgtkprivate.cpp: Added.
              * gtk/Api/webkitgtkprivate.h: Added.
              * gtk/Api/webkitgtksettings.cpp: Added.
              * gtk/Api/webkitgtksettings.h: Added.
              * gtk/WebCoreSupport: Added.
              * gtk/WebCoreSupport/ChromeClientGdk.cpp: Added.
              (WebCore::ChromeClientGdk::ChromeClientGdk):
              (WebCore::ChromeClientGdk::chromeDestroyed):
              (WebCore::ChromeClientGdk::windowRect):
              (WebCore::ChromeClientGdk::setWindowRect):
              (WebCore::ChromeClientGdk::pageRect):
              (WebCore::ChromeClientGdk::scaleFactor):
              (WebCore::ChromeClientGdk::focus):
              (WebCore::ChromeClientGdk::unfocus):
              (WebCore::ChromeClientGdk::createWindow):
              (WebCore::ChromeClientGdk::createModalDialog):
              (WebCore::ChromeClientGdk::show):
              (WebCore::ChromeClientGdk::canRunModal):
              (WebCore::ChromeClientGdk::runModal):
              (WebCore::ChromeClientGdk::setToolbarsVisible):
              (WebCore::ChromeClientGdk::toolbarsVisible):
              (WebCore::ChromeClientGdk::setStatusbarVisible):
              (WebCore::ChromeClientGdk::statusbarVisible):
              (WebCore::ChromeClientGdk::setScrollbarsVisible):
              (WebCore::ChromeClientGdk::scrollbarsVisible):
              (WebCore::ChromeClientGdk::setMenubarVisible):
              (WebCore::ChromeClientGdk::menubarVisible):
              (WebCore::ChromeClientGdk::setResizable):
              (WebCore::ChromeClientGdk::closeWindowSoon):
              (WebCore::ChromeClientGdk::canTakeFocus):
              (WebCore::ChromeClientGdk::takeFocus):
              (WebCore::ChromeClientGdk::canRunBeforeUnloadConfirmPanel):
              (WebCore::ChromeClientGdk::runBeforeUnloadConfirmPanel):
              (WebCore::ChromeClientGdk::addMessageToConsole):
              (WebCore::ChromeClientGdk::runJavaScriptAlert):
              (WebCore::ChromeClientGdk::runJavaScriptConfirm):
              (WebCore::ChromeClientGdk::runJavaScriptPrompt):
              (WebCore::ChromeClientGdk::setStatusbarText):
              (WebCore::ChromeClientGdk::shouldInterruptJavaScript):
              (WebCore::ChromeClientGdk::tabsToLinks):
              (WebCore::ChromeClientGdk::windowResizerRect):
              (WebCore::ChromeClientGdk::addToDirtyRegion):
              (WebCore::ChromeClientGdk::scrollBackingStore):
              (WebCore::ChromeClientGdk::updateBackingStore):
              (WebCore::ChromeClientGdk::mouseDidMoveOverElement):
              (WebCore::ChromeClientGdk::setToolTip):
              (WebCore::ChromeClientGdk::print):
              * gtk/WebCoreSupport/ChromeClientGdk.h: Added.
      
      WebKitTools:
      2007-07-22  Holger Hans Peter Freyther  <zecke@selfish.org>
      
              Reviewed by Adam.
      
              Make the GdkLauncher use the new WebKit/Gtk API. Change webkitdirs.pm to
              honor --qmakearg for the Gdk/Gtk build as well.
      
              * GdkLauncher/main.cpp: Switch to the new API
              * Scripts/webkitdirs.pm: Allow to specify --qmakearg, e.g. to control the WEBKIT_{INC,LIB}_DIR 
      
      
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@24537 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5604daf5
  7. 04 Mar, 2007 1 commit
    • kjk's avatar
      WebCore: · 65a9f5ed
      kjk authored
              Reviewed by Nikolas Zimmermann.
      
              Move ScrollView stubs to ScrollViewGdk.cpp
      
              * platform/gdk/FrameGdk.h: remove comment that no longer makes sense
              * platform/gdk/ScrollViewGdk.cpp:
              (WebCore::ScrollView::addChild):
              (WebCore::ScrollView::removeChild):
              (WebCore::ScrollView::scrollPointRecursively):
              (WebCore::ScrollView::inWindow):
              (WebCore::ScrollView::wheelEvent):
              (WebCore::ScrollView::updateScrollbars):
              (WebCore::ScrollView::updateScrollInfo):
              (WebCore::ScrollView::windowToContents):
              (WebCore::ScrollView::contentsToWindow):
              (WebCore::ScrollView::scrollbarUnderMouse):
              * platform/gdk/TemporaryLinkStubs.cpp:
      
        WebKitTools:
      
              Reviewed by Nikolas Zimmermann.
      
              Load a url given on a command line in a way that also
              works for local (file://) urls.
      
              * GdkLauncher/main.cpp:
              (main):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@19954 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      65a9f5ed
  8. 20 Feb, 2007 1 commit
    • kjk's avatar
      Reviewed by Maciej S. · 781540ce
      kjk authored
              Gdk build fixes for recent refactorings.
      
              * Projects/gdk/webcore-gdk.bkl:
              * WebCoreSources.bkl:
              * page/gdk/DragControllerGdk.cpp:
              (WebCore::DragController::dragOperation):
              (WebCore::DragController::maxDragImageSize):
              * page/gdk/EventHandlerGdk.cpp:
              (WebCore::EventHandler::createDraggingClipboard):
              * platform/DragImage.h:
              * platform/gdk/ChromeClientGdk.h:
              * platform/gdk/CursorGdk.cpp:
              (WebCore::verticalTextCursor):
              (WebCore::cellCursor):
              (WebCore::contextMenuCursor):
              (WebCore::noDropCursor):
              (WebCore::copyCursor):
              (WebCore::progressCursor):
              (WebCore::aliasCursor):
              (WebCore::noneCursor):
              (WebCore::notAllowedCursor):
              * platform/gdk/EditorClientGdk.cpp:
              (WebCore::EditorClientGdk::shouldChangeSelectedRange):
              (WebCore::EditorClientGdk::isEditable):
              (WebCore::EditorClientGdk::textFieldDidBeginEditing):
              (WebCore::EditorClientGdk::textFieldDidEndEditing):
              (WebCore::EditorClientGdk::textDidChangeInTextField):
              (WebCore::EditorClientGdk::doTextFieldCommandFromEvent):
              (WebCore::EditorClientGdk::textWillBeDeletedInTextField):
              (WebCore::EditorClientGdk::textDidChangeInTextArea):
              * platform/gdk/EditorClientGdk.h:
              * platform/gdk/FrameGdk.cpp:
              (WebCore::Frame::print):
              (WebCore::Frame::issueTransposeCommand):
              (WebCore::Frame::respondToChangedSelection):
              (WebCore::Frame::cleanupPlatformScriptObjects):
              (WebCore::Frame::isCharacterSmartReplaceExempt):
              (WebCore::Frame::dragImageForSelection):
              * platform/gdk/FrameGdk.h:
              * platform/gdk/MimeTypeRegistryGdk.cpp: Added.
              * platform/gdk/TemporaryLinkStubs.cpp:
              (ChromeClientGdk::tabsToLinks):
              (ChromeClientGdk::windowResizerRect):
              (ChromeClientGdk::addToDirtyRegion):
              (ChromeClientGdk::scrollBackingStore):
              (ChromeClientGdk::updateBackingStore):
              * webcore-base.bkl:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@19741 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      781540ce
  9. 08 Feb, 2007 1 commit
    • kjk's avatar
      Reviewed by Adam Roben. · db1e270a
      kjk authored
              Linux/gdk build fixes.
      
              * platform/gdk/EditorClientGdk.cpp: Added. Based on qt version.
              (WebCore::EditorClientGdk::shouldDeleteRange):
              (WebCore::EditorClientGdk::shouldShowDeleteInterface):
              (WebCore::EditorClientGdk::isContinuousSpellCheckingEnabled):
              (WebCore::EditorClientGdk::isGrammarCheckingEnabled):
              (WebCore::EditorClientGdk::spellCheckerDocumentTag):
              (WebCore::EditorClientGdk::shouldBeginEditing):
              (WebCore::EditorClientGdk::shouldEndEditing):
              (WebCore::EditorClientGdk::shouldInsertText):
              (WebCore::EditorClientGdk::shouldApplyStyle):
              (WebCore::EditorClientGdk::didBeginEditing):
              (WebCore::EditorClientGdk::respondToChangedContents):
              (WebCore::EditorClientGdk::didEndEditing):
              (WebCore::EditorClientGdk::didWriteSelectionToPasteboard):
              (WebCore::EditorClientGdk::didSetSelectionTypesForPasteboard):
              (WebCore::EditorClientGdk::selectWordBeforeMenuEvent):
              (WebCore::EditorClientGdk::isEditable):
              (WebCore::EditorClientGdk::registerCommandForUndo):
              (WebCore::EditorClientGdk::registerCommandForRedo):
              (WebCore::EditorClientGdk::clearUndoRedoOperations):
              (WebCore::EditorClientGdk::canUndo):
              (WebCore::EditorClientGdk::canRedo):
              (WebCore::EditorClientGdk::undo):
              (WebCore::EditorClientGdk::redo):
              (WebCore::EditorClientGdk::shouldInsertNode):
              (WebCore::EditorClientGdk::pageDestroyed):
              (WebCore::EditorClientGdk::smartInsertDeleteEnabled):
              (WebCore::EditorClientGdk::toggleContinuousSpellChecking):
              (WebCore::EditorClientGdk::toggleGrammarChecking):
              (WebCore::EditorClientGdk::handleKeyPress):
              (WebCore::EditorClientGdk::EditorClientGdk):
              (WebCore::EditorClientGdk::setPage):
              * platform/gdk/EditorClientGdk.h: Added. Ditto.
              * platform/gdk/FrameGdk.cpp: Add exitAfterLoading and dumpRenderTreeAfterLoading
              as small debugging features. Remove FrameGdkClient as no other platform has Frame*Client
              anymore. Adjust for new APIs.
              (WebCore::FrameGdk::FrameGdk):
              (WebCore::FrameGdk::onDidFinishLoad):
              (WebCore::FrameGdk::dumpRenderTree):
              (WebCore::FrameGdk::keyPress):
              (WebCore::FrameGdk::handleGdkEvent):
              (WebCore::FrameGdk::focusWindow):
              (WebCore::FrameGdk::unfocusWindow):
              (WebCore::FrameGdk::getObjectInstanceForWidget):
              (WebCore::FrameGdk::getEmbedInstanceForWidget):
              (WebCore::FrameGdk::bindingRootObject):
              (WebCore::FrameGdk::print):
              (WebCore::FrameGdk::getAppletInstanceForWidget):
              (WebCore::FrameGdk::issueCutCommand):
              (WebCore::FrameGdk::issueCopyCommand):
              (WebCore::FrameGdk::issuePasteCommand):
              (WebCore::FrameGdk::issueTransposeCommand):
              (WebCore::FrameGdk::issuePasteAndMatchStyleCommand):
              (WebCore::FrameGdk::markedTextRange):
              (WebCore::FrameGdk::shouldChangeSelection):
              (WebCore::FrameGdk::respondToChangedSelection):
              (WebCore::FrameGdk::mimeTypeForFileName):
              * platform/gdk/FrameGdk.h: Ditto.
              (WebCore::FrameGdk::setExitAfterLoading):
              (WebCore::FrameGdk::exitAfterLoading):
              (WebCore::FrameGdk::setDumpRenderTreeAfterLoading):
              (WebCore::FrameGdk::dumpRenderTreeAfterLoading):
              (WebCore::GdkFrame):
              * platform/gdk/TemporaryLinkStubs.cpp: Adjust to new APIs. Small cleanups.
              (FrameView::updateBorder):
              (Widget::setEnabled):
              (Widget::isEnabled):
              (Widget::enableFlushDrawing):
              (Widget::removeFromParent):
              (Widget::paint):
              (Widget::setIsSelected):
              (Widget::invalidate):
              (Widget::invalidateRect):
              (PlatformMouseEvent::PlatformMouseEvent):
              (WebCore::findWordBoundary):
              (ChromeClientGdk::chromeDestroyed):
              (ChromeClientGdk::closeWindowSoon):
              (ChromeClientGdk::canTakeFocus):
              (ChromeClientGdk::takeFocus):
              (ChromeClientGdk::canRunBeforeUnloadConfirmPanel):
              (ChromeClientGdk::addMessageToConsole):
              (ChromeClientGdk::runBeforeUnloadConfirmPanel):
              (ChromeClientGdk::runJavaScriptAlert):
              (ChromeClientGdk::runJavaScriptConfirm):
              (ChromeClientGdk::runJavaScriptPrompt):
              (ChromeClientGdk::setStatusbarText):
              (ChromeClientGdk::shouldInterruptJavaScript):
              (WebCore::inputElementAltText):
              (WebCore::resetButtonDefaultLabel):
              (WebCore::searchableIndexIntroduction):
              (WebCore::fileButtonChooseFileLabel):
              (WebCore::fileButtonNoFileSelectedLabel):
              (WebCore::contextMenuItemTagOpenLinkInNewWindow):
              (WebCore::contextMenuItemTagDownloadLinkToDisk):
              (WebCore::contextMenuItemTagCopyLinkToClipboard):
              (WebCore::contextMenuItemTagOpenImageInNewWindow):
              (WebCore::contextMenuItemTagDownloadImageToDisk):
              (WebCore::contextMenuItemTagCopyImageToClipboard):
              (WebCore::contextMenuItemTagOpenFrameInNewWindow):
              (WebCore::contextMenuItemTagCopy):
              (WebCore::contextMenuItemTagGoBack):
              (WebCore::contextMenuItemTagGoForward):
              (WebCore::contextMenuItemTagStop):
              (WebCore::contextMenuItemTagReload):
              (WebCore::contextMenuItemTagCut):
              (WebCore::contextMenuItemTagPaste):
              (WebCore::contextMenuItemTagNoGuessesFound):
              (WebCore::contextMenuItemTagIgnoreSpelling):
              (WebCore::contextMenuItemTagLearnSpelling):
              (WebCore::contextMenuItemTagSearchWeb):
              (WebCore::contextMenuItemTagLookUpInDictionary):
              (WebCore::contextMenuItemTagOpenLink):
              (WebCore::contextMenuItemTagIgnoreGrammar):
              (WebCore::contextMenuItemTagSpellingMenu):
              (WebCore::contextMenuItemTagShowSpellingPanel):
              (WebCore::contextMenuItemTagCheckSpelling):
              (WebCore::contextMenuItemTagCheckSpellingWhileTyping):
              (WebCore::contextMenuItemTagCheckGrammarWithSpelling):
              (WebCore::contextMenuItemTagFontMenu):
              (WebCore::contextMenuItemTagBold):
              (WebCore::contextMenuItemTagItalic):
              (WebCore::contextMenuItemTagUnderline):
              (WebCore::contextMenuItemTagOutline):
              (WebCore::contextMenuItemTagWritingDirectionMenu):
              (WebCore::contextMenuItemTagDefaultDirection):
              (WebCore::contextMenuItemTagLeftToRight):
              (WebCore::contextMenuItemTagRightToLeft):
              (PlugInInfoStore::createPluginInfoForPluginAtIndex):
              (PlugInInfoStore::pluginCount):
              (WebCore::PlugInInfoStore::supportsMIMEType):
              (WebCore::refreshPlugins):
              (SearchPopupMenu::saveRecentSearches):
              (SearchPopupMenu::loadRecentSearches):
              (SearchPopupMenu::SearchPopupMenu):
              (Path::apply):
              (PlatformScrollbar::PlatformScrollbar):
              (PlatformScrollbar::~PlatformScrollbar):
              (PlatformScrollbar::width):
              (PlatformScrollbar::height):
              (PlatformScrollbar::setEnabled):
              (PlatformScrollbar::paint):
              (PlatformScrollbar::updateThumbPosition):
              (PlatformScrollbar::updateThumbProportion):
              (PlatformScrollbar::setRect):
              (ResourceHandle::willLoadFromCache):
              (ResourceHandle::loadsBlocked):
              (ResourceHandle::loadResourceSynchronously):
              (PageCache::close):
              (Editor::ignoreSpelling):
              (Editor::learnSpelling):
              (Editor::isSelectionUngrammatical):
              (Editor::isSelectionMisspelled):
              (Editor::guessesForMisspelledSelection):
              (Editor::guessesForUngrammaticalSelection):
              (Editor::markMisspellingsAfterTypingToPosition):
              (Editor::newGeneralClipboard):
              (Pasteboard::generalPasteboard):
              (Pasteboard::writeSelection):
              (Pasteboard::writeURL):
              (Pasteboard::clear):
              (Pasteboard::canSmartReplace):
              (Pasteboard::documentFragment):
              (Pasteboard::plainText):
              (Pasteboard::Pasteboard):
              (Pasteboard::~Pasteboard):
              (ContextMenu::ContextMenu):
              (ContextMenu::~ContextMenu):
              (ContextMenu::appendItem):
              (ContextMenu::setPlatformDescription):
              (ContextMenu::platformDescription):
              (ContextMenuItem::ContextMenuItem):
              (ContextMenuItem::~ContextMenuItem):
              (ContextMenuItem::releasePlatformDescription):
              (ContextMenuItem::type):
              (ContextMenuItem::setType):
              (ContextMenuItem::action):
              (ContextMenuItem::setAction):
              (ContextMenuItem::title):
              (ContextMenuItem::setTitle):
              (ContextMenuItem::platformSubMenu):
              (ContextMenuItem::setSubMenu):
              (ContextMenuItem::setChecked):
              (ContextMenuItem::setEnabled):
              (WebCore::systemBeep):
              (WebCore::userIdleTime):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@19512 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      db1e270a
  10. 15 Jan, 2007 1 commit
    • eseidel's avatar
      2007-01-15 Eric Seidel <eric@webkit.org> · 8eddecf9
      eseidel authored
              Reviewed by bdash.
      
              Update header guards to follow new style guidelines using new clean-header-guards script.
      
              * bindings/js/JSHTMLElementWrapperFactory.h:
              * bindings/js/JSHTMLInputElementBase.h:
              * bindings/js/JSHTMLOptionElementConstructor.h:
              * bindings/js/JSSVGElementWrapperFactory.h:
              * bindings/js/JSSVGPODTypeWrapper.h:
              * bindings/js/JSXMLHttpRequest.h:
              * bindings/js/JSXSLTProcessor.h:
              * bindings/js/kjs_binding.h:
              * bindings/js/kjs_css.h:
              * bindings/js/kjs_dom.h:
              * bindings/js/kjs_domnode.h:
              * bindings/js/kjs_events.h:
              * bindings/js/kjs_html.h:
              * bindings/js/kjs_navigator.h:
              * bindings/js/kjs_proxy.h:
              * bindings/js/kjs_traversal.h:
              * bindings/js/kjs_window.h:
              * bridge/EditorClient.h:
              * bridge/History.h:
              * css/CSSStyleSheet.h:
              * css/CSSValue.h:
              * css/CSSValueList.h:
              * css/DashboardRegion.h:
              * css/FontFamilyValue.h:
              * css/FontValue.h:
              * css/MediaFeatureNames.h:
              * css/MediaList.h:
              * css/Pair.h:
              * css/RectImpl.h:
              * css/ShadowValue.h:
              * css/StyleBase.h:
              * css/StyleList.h:
              * css/StyleSheet.h:
              * css/StyleSheetList.h:
              * css/cssstyleselector.h:
              * dom/BeforeTextInsertedEvent.h:
              * dom/CDATASection.h:
              * dom/CharacterData.h:
              * dom/ChildNodeList.h:
              * dom/Comment.h:
              * dom/DOMImplementation.h:
              * dom/DocPtr.h:
              * dom/Document.h:
              * dom/DocumentFragment.h:
              * dom/DocumentMarker.h:
              * dom/DocumentType.h:
              * dom/EditingText.h:
              * dom/Entity.h:
              * dom/EntityReference.h:
              * dom/EventNames.h:
              * dom/EventTargetNode.h:
              * dom/NameNodeList.h:
              * dom/NamedNodeMap.h:
              * dom/Node.h:
              * dom/NodeList.h:
              * dom/Notation.h:
              * dom/Position.h:
              * dom/ProcessingInstruction.h:
              * dom/Range.h:
              * dom/StyleElement.h:
              * dom/Text.h:
              * editing/AppendNodeCommand.h:
              * editing/ApplyStyleCommand.h:
              * editing/BreakBlockquoteCommand.h:
              * editing/CommandByName.h:
              * editing/CompositeEditCommand.h:
              * editing/DeleteButton.h:
              * editing/DeleteButtonController.h:
              * editing/DeleteFromTextNodeCommand.h:
              * editing/DeleteSelectionCommand.h:
              * editing/InsertIntoTextNodeCommand.h:
              * editing/InsertLineBreakCommand.h:
              * editing/InsertNodeBeforeCommand.h:
              * editing/InsertParagraphSeparatorCommand.h:
              * editing/InsertTextCommand.h:
              * editing/JoinTextNodesCommand.h:
              * editing/MergeIdenticalElementsCommand.h:
              * editing/ModifySelectionListLevel.h:
              * editing/MoveSelectionCommand.h:
              * editing/RemoveCSSPropertyCommand.h:
              * editing/RemoveNodeAttributeCommand.h:
              * editing/RemoveNodeCommand.h:
              * editing/RemoveNodePreservingChildrenCommand.h:
              * editing/ReplaceSelectionCommand.h:
              * editing/SetNodeAttributeCommand.h:
              * editing/SplitElementCommand.h:
              * editing/SplitTextNodeCommand.h:
              * editing/SplitTextNodeContainingElementCommand.h:
              * editing/TextGranularity.h:
              * editing/TypingCommand.h:
              * editing/WrapContentsInDummySpanCommand.h:
              * history/BackForwardList.h:
              * history/HistoryItem.h:
              * history/HistoryItemTimer.h:
              * history/PageCache.h:
              * html/CanvasGradient.h:
              * html/CanvasPattern.h:
              * html/CanvasRenderingContext2D.h:
              * html/CanvasStyle.h:
              * html/FormDataList.h:
              * html/HTMLAnchorElement.h:
              * html/HTMLAppletElement.h:
              * html/HTMLAreaElement.h:
              * html/HTMLBRElement.h:
              * html/HTMLBaseElement.h:
              * html/HTMLBaseFontElement.h:
              * html/HTMLBlockquoteElement.h:
              * html/HTMLBodyElement.h:
              * html/HTMLButtonElement.h:
              * html/HTMLCanvasElement.h:
              * html/HTMLCollection.h:
              * html/HTMLDListElement.h:
              * html/HTMLDirectoryElement.h:
              * html/HTMLDivElement.h:
              * html/HTMLElement.h:
              * html/HTMLElementFactory.h:
              * html/HTMLEmbedElement.h:
              * html/HTMLFieldSetElement.h:
              * html/HTMLFontElement.h:
              * html/HTMLFormCollection.h:
              * html/HTMLFormElement.h:
              * html/HTMLFrameSetElement.h:
              * html/HTMLGenericFormElement.h:
              * html/HTMLHRElement.h:
              * html/HTMLHeadElement.h:
              * html/HTMLHeadingElement.h:
              * html/HTMLHtmlElement.h:
              * html/HTMLImageElement.h:
              * html/HTMLImageLoader.h:
              * html/HTMLInputElement.h:
              * html/HTMLIsIndexElement.h:
              * html/HTMLKeygenElement.h:
              * html/HTMLLIElement.h:
              * html/HTMLLabelElement.h:
              * html/HTMLLegendElement.h:
              * html/HTMLLinkElement.h:
              * html/HTMLMapElement.h:
              * html/HTMLMarqueeElement.h:
              * html/HTMLMenuElement.h:
              * html/HTMLMetaElement.h:
              * html/HTMLModElement.h:
              * html/HTMLNameCollection.h:
              * html/HTMLOListElement.h:
              * html/HTMLObjectElement.h:
              * html/HTMLOptGroupElement.h:
              * html/HTMLOptionElement.h:
              * html/HTMLOptionsCollection.h:
              * html/HTMLParagraphElement.h:
              * html/HTMLParamElement.h:
              * html/HTMLParser.h:
              * html/HTMLPlugInElement.h:
              * html/HTMLPreElement.h:
              * html/HTMLQuoteElement.h:
              * html/HTMLScriptElement.h:
              * html/HTMLSelectElement.h:
              * html/HTMLStyleElement.h:
              * html/HTMLTableCaptionElement.h:
              * html/HTMLTableCellElement.h:
              * html/HTMLTableColElement.h:
              * html/HTMLTableElement.h:
              * html/HTMLTablePartElement.h:
              * html/HTMLTableRowElement.h:
              * html/HTMLTableSectionElement.h:
              * html/HTMLTextAreaElement.h:
              * html/HTMLTextFieldInnerElement.h:
              * html/HTMLTitleElement.h:
              * html/HTMLUListElement.h:
              * ksvg2/css/SVGRenderStyle.h:
              * ksvg2/css/SVGRenderStyleDefs.h:
              * ksvg2/events/JSSVGLazyEventListener.h:
              * ksvg2/events/SVGZoomEvent.h:
              * ksvg2/misc/KCanvasRenderingStyle.h:
              * ksvg2/misc/PointerEventsHitRules.h:
              * ksvg2/misc/SVGDocumentExtensions.h:
              * ksvg2/misc/SVGImageLoader.h:
              * ksvg2/misc/TimeScheduler.h:
              * ksvg2/svg/GradientAttributes.h:
              * ksvg2/svg/LinearGradientAttributes.h:
              * ksvg2/svg/PatternAttributes.h:
              * ksvg2/svg/RadialGradientAttributes.h:
              * ksvg2/svg/SVGAElement.h:
              * ksvg2/svg/SVGAngle.h:
              * ksvg2/svg/SVGAnimateColorElement.h:
              * ksvg2/svg/SVGAnimateElement.h:
              * ksvg2/svg/SVGAnimateMotionElement.h:
              * ksvg2/svg/SVGAnimateTransformElement.h:
              * ksvg2/svg/SVGAnimatedPathData.h:
              * ksvg2/svg/SVGAnimatedPoints.h:
              * ksvg2/svg/SVGAnimatedTemplate.h:
              * ksvg2/svg/SVGAnimationElement.h:
              * ksvg2/svg/SVGCircleElement.h:
              * ksvg2/svg/SVGClipPathElement.h:
              * ksvg2/svg/SVGColor.h:
              * ksvg2/svg/SVGComponentTransferFunctionElement.h:
              * ksvg2/svg/SVGCursorElement.h:
              * ksvg2/svg/SVGDOMImplementation.h:
              * ksvg2/svg/SVGDefsElement.h:
              * ksvg2/svg/SVGDescElement.h:
              * ksvg2/svg/SVGDocument.h:
              * ksvg2/svg/SVGElement.h:
              * ksvg2/svg/SVGElementInstance.h:
              * ksvg2/svg/SVGElementInstanceList.h:
              * ksvg2/svg/SVGEllipseElement.h:
              * ksvg2/svg/SVGExternalResourcesRequired.h:
              * ksvg2/svg/SVGFEBlendElement.h:
              * ksvg2/svg/SVGFEColorMatrixElement.h:
              * ksvg2/svg/SVGFEComponentTransferElement.h:
              * ksvg2/svg/SVGFECompositeElement.h:
              * ksvg2/svg/SVGFEDiffuseLightingElement.h:
              * ksvg2/svg/SVGFEDisplacementMapElement.h:
              * ksvg2/svg/SVGFEDistantLightElement.h:
              * ksvg2/svg/SVGFEFloodElement.h:
              * ksvg2/svg/SVGFEFuncAElement.h:
              * ksvg2/svg/SVGFEFuncBElement.h:
              * ksvg2/svg/SVGFEFuncGElement.h:
              * ksvg2/svg/SVGFEFuncRElement.h:
              * ksvg2/svg/SVGFEGaussianBlurElement.h:
              * ksvg2/svg/SVGFEImageElement.h:
              * ksvg2/svg/SVGFELightElement.h:
              * ksvg2/svg/SVGFEMergeElement.h:
              * ksvg2/svg/SVGFEMergeNodeElement.h:
              * ksvg2/svg/SVGFEOffsetElement.h:
              * ksvg2/svg/SVGFEPointLightElement.h:
              * ksvg2/svg/SVGFESpecularLightingElement.h:
              * ksvg2/svg/SVGFESpotLightElement.h:
              * ksvg2/svg/SVGFETileElement.h:
              * ksvg2/svg/SVGFETurbulenceElement.h:
              * ksvg2/svg/SVGFilterElement.h:
              * ksvg2/svg/SVGFilterPrimitiveStandardAttributes.h:
              * ksvg2/svg/SVGFitToViewBox.h:
              * ksvg2/svg/SVGForeignObjectElement.h:
              * ksvg2/svg/SVGGElement.h:
              * ksvg2/svg/SVGGradientElement.h:
              * ksvg2/svg/SVGImageElement.h:
              * ksvg2/svg/SVGLangSpace.h:
              * ksvg2/svg/SVGLength.h:
              * ksvg2/svg/SVGLengthList.h:
              * ksvg2/svg/SVGLineElement.h:
              * ksvg2/svg/SVGLinearGradientElement.h:
              * ksvg2/svg/SVGList.h:
              * ksvg2/svg/SVGListTraits.h:
              * ksvg2/svg/SVGLocatable.h:
              * ksvg2/svg/SVGMarkerElement.h:
              * ksvg2/svg/SVGMaskElement.h:
              * ksvg2/svg/SVGMetadataElement.h:
              * ksvg2/svg/SVGNumberList.h:
              * ksvg2/svg/SVGPaint.h:
              * ksvg2/svg/SVGParserUtilities.h:
              * ksvg2/svg/SVGPathElement.h:
              * ksvg2/svg/SVGPathSeg.h:
              * ksvg2/svg/SVGPathSegArc.h:
              * ksvg2/svg/SVGPathSegClosePath.h:
              * ksvg2/svg/SVGPathSegCurvetoCubic.h:
              * ksvg2/svg/SVGPathSegCurvetoCubicSmooth.h:
              * ksvg2/svg/SVGPathSegCurvetoQuadratic.h:
              * ksvg2/svg/SVGPathSegCurvetoQuadraticSmooth.h:
              * ksvg2/svg/SVGPathSegLineto.h:
              * ksvg2/svg/SVGPathSegLinetoHorizontal.h:
              * ksvg2/svg/SVGPathSegLinetoVertical.h:
              * ksvg2/svg/SVGPathSegList.h:
              * ksvg2/svg/SVGPathSegMoveto.h:
              * ksvg2/svg/SVGPatternElement.h:
              * ksvg2/svg/SVGPointList.h:
              * ksvg2/svg/SVGPolyElement.h:
              * ksvg2/svg/SVGPolygonElement.h:
              * ksvg2/svg/SVGPolylineElement.h:
              * ksvg2/svg/SVGPreserveAspectRatio.h:
              * ksvg2/svg/SVGRadialGradientElement.h:
              * ksvg2/svg/SVGRectElement.h:
              * ksvg2/svg/SVGRenderingIntent.h:
              * ksvg2/svg/SVGSVGElement.h:
              * ksvg2/svg/SVGScriptElement.h:
              * ksvg2/svg/SVGSetElement.h:
              * ksvg2/svg/SVGStopElement.h:
              * ksvg2/svg/SVGStringList.h:
              * ksvg2/svg/SVGStylable.h:
              * ksvg2/svg/SVGStyleElement.h:
              * ksvg2/svg/SVGStyledElement.h:
              * ksvg2/svg/SVGStyledLocatableElement.h:
              * ksvg2/svg/SVGStyledTransformableElement.h:
              * ksvg2/svg/SVGSwitchElement.h:
              * ksvg2/svg/SVGSymbolElement.h:
              * ksvg2/svg/SVGTRefElement.h:
              * ksvg2/svg/SVGTSpanElement.h:
              * ksvg2/svg/SVGTests.h:
              * ksvg2/svg/SVGTextContentElement.h:
              * ksvg2/svg/SVGTextElement.h:
              * ksvg2/svg/SVGTextPositioningElement.h:
              * ksvg2/svg/SVGTitleElement.h:
              * ksvg2/svg/SVGTransform.h:
              * ksvg2/svg/SVGTransformList.h:
              * ksvg2/svg/SVGTransformable.h:
              * ksvg2/svg/SVGURIReference.h:
              * ksvg2/svg/SVGUnitTypes.h:
              * ksvg2/svg/SVGUseElement.h:
              * ksvg2/svg/SVGViewElement.h:
              * ksvg2/svg/SVGZoomAndPan.h:
              * loader/CachedCSSStyleSheet.h:
              * loader/CachedImage.h:
              * loader/CachedXSLStyleSheet.h:
              * loader/DocumentLoader.h:
              * loader/Request.h:
              * loader/SubresourceLoader.h:
              * loader/icon/IconDataCache.h:
              * loader/icon/IconDatabase.h:
              * loader/icon/IconLoader.h:
              * loader/icon/SQLDatabase.h:
              * loader/icon/SQLStatement.h:
              * loader/icon/SQLTransaction.h:
              * page/Frame.h:
              * page/FrameLoadRequest.h:
              * page/FrameTree.h:
              * page/FrameView.h:
              * page/PageState.h:
              * page/Plugin.h:
              * page/qt/FrameQt.h:
              * page/qt/FrameQtClient.h:
              * platform/Arena.h:
              * platform/ArrayImpl.h:
              * platform/Cursor.h:
              * platform/DeprecatedArray.h:
              * platform/DeprecatedCString.h:
              * platform/FileChooser.h:
              * platform/Font.h:
              * platform/FontCache.h:
              * platform/FontData.h:
              * platform/FontDescription.h:
              * platform/FontFamily.h:
              * platform/GlyphBuffer.h:
              * platform/GlyphMap.h:
              * platform/GlyphWidthMap.h:
              * platform/Logging.h:
              * platform/Pasteboard.h:
              * platform/PlatformString.h:
              * platform/PlugInInfoStore.h:
              * platform/PopupMenu.h:
              * platform/PopupMenuClient.h:
              * platform/ScrollBar.h:
              * platform/ScrollView.h:
              * platform/SearchPopupMenu.h:
              * platform/Shared.h:
              * platform/Sound.h:
              * platform/SystemTime.h:
              * platform/Timer.h:
              * platform/Widget.h:
              * platform/cf/RetainPtr.h:
              * platform/gdk/ChromeClientGdk.h:
              * platform/gdk/FontPlatformData.h:
              * platform/gdk/FrameGdk.h:
              * platform/gdk/KeyboardCodes.h:
              * platform/gdk/RenderPopupMenuGdk.h:
              * platform/gdk/RenderThemeGdk.h:
              * platform/graphics/BitmapImage.h:
              * platform/graphics/Color.h:
              * platform/graphics/FloatPoint.h:
              * platform/graphics/FloatPoint3D.h:
              * platform/graphics/FloatRect.h:
              * platform/graphics/Icon.h:
              * platform/graphics/Image.h:
              * platform/graphics/ImageAnimationObserver.h:
              * platform/graphics/ImageBuffer.h:
              * platform/graphics/ImageSource.h:
              * platform/graphics/IntPoint.h:
              * platform/graphics/IntRect.h:
              * platform/graphics/IntSize.h:
              * platform/graphics/IntSizeHash.h:
              * platform/graphics/PathTraversalState.h:
              * platform/graphics/Pen.h:
              * platform/graphics/qt/ImageDecoderQt.h:
              * platform/graphics/svg/SVGImage.h:
              * platform/graphics/svg/SVGImageEmptyClients.h:
              * platform/graphics/svg/SVGPaintServer.h:
              * platform/graphics/svg/SVGPaintServerGradient.h:
              * platform/graphics/svg/SVGPaintServerLinearGradient.h:
              * platform/graphics/svg/SVGPaintServerPattern.h:
              * platform/graphics/svg/SVGPaintServerRadialGradient.h:
              * platform/graphics/svg/SVGPaintServerSolid.h:
              * platform/graphics/svg/SVGResource.h:
              * platform/graphics/svg/SVGResourceClipper.h:
              * platform/graphics/svg/SVGResourceFilter.h:
              * platform/graphics/svg/SVGResourceMarker.h:
              * platform/graphics/svg/SVGResourceMasker.h:
              * platform/graphics/svg/cg/CgSupport.h:
              * platform/graphics/svg/filters/SVGDistantLightSource.h:
              * platform/graphics/svg/filters/SVGFEBlend.h:
              * platform/graphics/svg/filters/SVGFEColorMatrix.h:
              * platform/graphics/svg/filters/SVGFEComponentTransfer.h:
              * platform/graphics/svg/filters/SVGFEComposite.h:
              * platform/graphics/svg/filters/SVGFEConvolveMatrix.h:
              * platform/graphics/svg/filters/SVGFEDiffuseLighting.h:
              * platform/graphics/svg/filters/SVGFEDisplacementMap.h:
              * platform/graphics/svg/filters/SVGFEFlood.h:
              * platform/graphics/svg/filters/SVGFEGaussianBlur.h:
              * platform/graphics/svg/filters/SVGFEImage.h:
              * platform/graphics/svg/filters/SVGFEMerge.h:
              * platform/graphics/svg/filters/SVGFEMorphology.h:
              * platform/graphics/svg/filters/SVGFEOffset.h:
              * platform/graphics/svg/filters/SVGFESpecularLighting.h:
              * platform/graphics/svg/filters/SVGFETile.h:
              * platform/graphics/svg/filters/SVGFETurbulence.h:
              * platform/graphics/svg/filters/SVGFilterEffect.h:
              * platform/graphics/svg/filters/SVGLightSource.h:
              * platform/graphics/svg/filters/SVGPointLightSource.h:
              * platform/graphics/svg/filters/SVGSpotLightSource.h:
              * platform/mac/FontPlatformData.h:
              * platform/mac/PlatformScrollBar.h:
              * platform/network/AuthenticationChallenge.h:
              * platform/network/Credential.h:
              * platform/network/HTTPHeaderMap.h:
              * platform/network/ProtectionSpace.h:
              * platform/network/ResourceError.h:
              * platform/network/ResourceRequest.h:
              * platform/network/ResourceResponse.h:
              * platform/network/cf/FormDataStreamCFNet.h:
              * platform/network/cf/ResourceRequestCFNet.h:
              * platform/network/cf/ResourceResponseCFNet.h:
              * platform/network/gdk/ResourceHandleManager.h:
              * platform/network/mac/AuthenticationMac.h:
              * platform/network/mac/FormDataStreamMac.h:
              * platform/network/qt/ResourceHandleManagerKDE.h:
              * platform/network/qt/ResourceHandleManagerQt.h:
              * platform/network/win/ResourceHandleWin.h:
              * platform/qt/FontPlatformData.h:
              * platform/qt/KeyboardCodes.h:
              * platform/qt/PlatformScrollBar.h:
              * platform/qt/ScrollViewCanvasQt.h:
              * platform/qt/SharedTimerQt.h:
              * platform/win/FontPlatformData.h:
              * platform/win/PlatformScrollBar.h:
              * rendering/AutoTableLayout.h:
              * rendering/HitTestRequest.h:
              * rendering/HitTestResult.h:
              * rendering/InlineBox.h:
              * rendering/InlineFlowBox.h:
              * rendering/Length.h:
              * rendering/ListMarkerBox.h:
              * rendering/RenderBox.h:
              * rendering/RenderMenuList.h:
              * rendering/RenderPart.h:
              * rendering/RenderPartObject.h:
              * rendering/RenderPath.h:
              * rendering/RenderReplaced.h:
              * rendering/RenderSVGContainer.h:
              * rendering/RenderSVGImage.h:
              * rendering/RenderSVGInline.h:
              * rendering/RenderSVGInlineText.h:
              * rendering/RenderSVGTSpan.h:
              * rendering/RenderSVGText.h:
              * rendering/RenderStyle.h:
              * rendering/RenderTableCol.h:
              * rendering/RenderThemeWin.h:
              * rendering/bidi.h:
              * xml/DOMParser.h:
              * xml/XPathEvaluator.h:
              * xml/XPathExpression.h:
              * xml/XPathExpressionNode.h:
              * xml/XPathFunctions.h:
              * xml/XPathNSResolver.h:
              * xml/XPathNamespace.h:
              * xml/XPathParser.h:
              * xml/XPathPath.h:
              * xml/XPathPredicate.h:
              * xml/XPathResult.h:
              * xml/XPathStep.h:
              * xml/XPathUtil.h:
              * xml/XPathValue.h:
              * xml/XPathVariableReference.h:
              * xml/XSLImportRule.h:
              * xml/XSLStyleSheet.h:
              * xml/XSLTProcessor.h:
              * xml/xmlhttprequest.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@18874 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8eddecf9
  11. 18 Dec, 2006 1 commit
  12. 12 Nov, 2006 1 commit
    • bdash's avatar
      2006-11-12 Mark Rowe <bdash@webkit.org> · 3e7c4ace
      bdash authored
              Reviewed by Mitz.
      
              Linux/Gdk compilation fixes, and bakefile cleanups.  Based on patches by
              Alp Toker.
      
              * Projects/gdk/webcore-gdk.bkl:
              * WebCoreSources.bkl:
              * page/PageState.cpp:
              * platform/gdk/ChromeClientGdk.h:
              (WebCore::ChromeClientGdk::ref):
              (WebCore::ChromeClientGdk::deref):
              * platform/gdk/FrameGdk.cpp:
              (WebCore::FrameGdkClientDefault::openURL):
              (WebCore::FrameGdkClientDefault::didReceiveData):
              (WebCore::FrameGdkClientDefault::receivedAllData):
              (WebCore::FrameGdk::FrameGdk):
              (WebCore::FrameGdk::~FrameGdk):
              * platform/gdk/FrameGdk.h:
              * platform/gdk/KeyEventGdk.cpp:
              (WebCore::keyIdentifierForGdkKeyCode):
              * platform/gdk/ScreenClientGdk.h: Removed.
              * platform/gdk/TemporaryLinkStubs.cpp:
              (FrameGdk::canPaste):
              (FrameGdk::originalRequestURL):
              (TextField::TextField):
              * platform/network/gdk/ResourceHandleManager.cpp:
              (WebCore::ResourceHandleManager::downloadTimerCallback):
              (WebCore::ResourceHandleManager::add):
              (WebCore::ResourceHandleManager::cancel):
              * webcore-base.bkl:
      2006-11-12  Mark Rowe  <bdash@webkit.org>
      
              Reviewed by Mitz.
      
              Clean up of JavaScriptCore bakefiles.
      
              * JavaScriptCoreSources.bkl:
              * jscore.bkl:
      2006-11-12  Mark Rowe  <bdash@webkit.org>
      
              Reviewed by Mitz.
      
              Clean up of GdkLauncher bakefile.
      
              * GdkLauncher/gdklauncher.bkl:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17741 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3e7c4ace
  13. 06 Nov, 2006 1 commit
    • bdash's avatar
      2006-11-06 Krzysztof Kowalczyk <kkowalczyk@gmail.com> · 808883b8
      bdash authored
              Reviewed by Maciej.
      
              Remove warning about garbage after #else. #else clause applies for all
              non-mac platforms, not only win.
      
              * kjs/date_object.cpp:
      2006-11-06  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>
      
              Reviewed by Maciej.
      
              Linux\Gdk build fixes.
      
              * loader/icon/IconDatabase.cpp:
              * loader/icon/SQLStatement.h:
              * platform/gdk/ChromeClientGdk.h: Added.
              (WebCore::ChromeClientGdk::~ChromeClientGdk):
              * platform/gdk/CursorGdk.cpp:
              (WebCore::pointerCursor):
              * platform/gdk/FrameGdk.cpp:
              (WebCore::doScroll):
              (WebCore::FrameGdk::FrameGdk):
              (WebCore::FrameGdk::submitForm):
              (WebCore::FrameGdk::urlSelected):
              (WebCore::FrameGdk::openURL):
              (WebCore::FrameGdk::handleGdkEvent):
              * platform/gdk/FrameGdk.h:
              (WebCore::FrameGdk::client):
              * platform/gdk/RenderPopupMenuGdk.cpp:
              (WebCore::PopupMenu::updateFromElement):
              * platform/gdk/ScreenGdk.cpp:
              * platform/gdk/TemporaryLinkStubs.cpp:
              (Slider::focusPolicy):
              (WebCore::ServeSynchronousRequest):
              (FrameGdk::goBackOrForward):
              (FrameGdk::getHistoryLength):
              (FrameGdk::historyURL):
              (ChromeClientGdk::canRunModal):
              (ChromeClientGdk::runModal):
              (WebCore::systemBeep):
              (WebCore::CachedResource::setPlatformResponse):
              (Path::transform):
              (ResourceLoader::loadsBlocked):
              (IconLoader::notifyIconChanged):
              * platform/network/gdk/ResourceHandleManager.cpp:
              (WebCore::writeCallback):
              (WebCore::ResourceHandleManager::downloadTimerCallback):
              (WebCore::ResourceHandleManager::remove):
              (WebCore::ResourceHandleManager::add):
      2006-11-06  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>
      
              Reviewed by Maciej.
      
              Linux\gdk build fixes.
      
              * GdkLauncher/main.cpp:
              (LauncherFrameGdk::LauncherFrameGdk):
              (main):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17636 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      808883b8
  14. 04 Nov, 2006 1 commit
    • darin's avatar
      WebCore: · 7c9aa2d4
      darin authored
              Reviewed by Maciej.
      
              - converted more of the loader machinery to work with cross-platform
                data structures instead of Macintosh-specific ones
      
                converted most uses of NSURL to KURL and NSEvent to DOM Event in
                loader classes
      
                moved download function out of FrameLoader.h to avoid reference to
                NSURLConnection
      
                added DOM Event parameters to various functions so that the handlers
                can use the DOM Event instead of the global "current NSEvent";
                includes Frame::submitForm, HTMLFormElement::prepareSubmit,
                HTMLFormElement::submit, FrameLoader::load
      
                moved the setMainFrame call that hands ownership to the Page
                into one of the Frame constructors, and removed it from all
                the clients
      
                removed const from Event parameter to the urlSelected function
                (we rarely use const with DOM elements)
      
                removed some redundant includes and declarations from various
                header files
      
                removed NSURL parameter from userAgent function -- if we need it we
                can add it back, but converting from NSURL to KURL and back is
                inefficient enough that it's best to have it out for now (since it's
                been unused for years) -- if we add it back, we can choose an
                appropriate parameter type that's always inexpensive to pass
      
                did some basic cleanup in the IconLoader class, including removing
                an unnecessary loop that added icon data a byte at a time
      
                renamed safeLoad to load, since it's no different from the other
                FrameLoader load functions, safety-wise
      
                fixed some code that was trying to distinguish null frame name from
                empty string frame name -- both should be handled the same, but callers
                were doing it by checking for empty and turning it into null (in a way
                that was causing extra round trips between NSString and WebCore::String)
      
                corrected all uses of "get" and "post" to be uppercase "GET" and "POST"
                and got rid of case-insensitive compares of methods
      
              * WebCore.exp:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/kjs_navigator.cpp:
              (KJS::Navigator::getValueProperty):
              * bridge/mac/FrameMac.h:
              * bridge/mac/FrameMac.mm:
              (WebCore::FrameMac::submitForm):
              (WebCore::FrameMac::urlSelected):
              (WebCore::FrameMac::userAgent):
              * bridge/mac/FrameViewMac.mm:
              * bridge/mac/WebCoreAXObject.mm:
              (-[WebCoreAXObject rendererForView:]):
              * bridge/mac/WebCorePageBridge.h:
              * bridge/mac/WebCorePageBridge.mm:
              * bridge/mac/WebCoreSettings.mm:
              * bridge/win/FrameWin.cpp:
              (WebCore::FrameWin::urlSelected):
              (WebCore::FrameWin::submitForm):
              * bridge/win/FrameWin.h:
              * dom/MouseRelatedEvent.cpp:
              * dom/MouseRelatedEvent.h:
              * dom/UIEvent.cpp:
              (WebCore::UIEvent::~UIEvent):
              * dom/UIEvent.h:
              * dom/UIEventWithKeyState.h:
              * dom/XMLTokenizer.cpp:
              (WebCore::openFunc):
              * html/HTMLAnchorElement.cpp:
              (WebCore::HTMLAnchorElement::defaultEventHandler):
              * html/HTMLButtonElement.cpp:
              (WebCore::HTMLButtonElement::defaultEventHandler):
              * html/HTMLFormElement.cpp:
              (WebCore::HTMLFormElement::submitClick):
              (WebCore::HTMLFormElement::prepareSubmit):
              (WebCore::HTMLFormElement::submit):
              * html/HTMLFormElement.h:
              * html/HTMLInputElement.cpp:
              (WebCore::HTMLInputElement::defaultEventHandler):
              * html/HTMLSelectElement.cpp:
              (WebCore::HTMLSelectElement::menuListDefaultEventHandler):
              * loader/DocumentLoader.h:
              * loader/FrameLoader.h:
              * loader/FrameLoaderClient.h:
              * loader/NavigationAction.h:
              (WebCore::NavigationAction::event):
              * loader/icon/IconLoader.cpp:
              (WebCore::IconLoader::create):
              (WebCore::IconLoader::startLoading):
              (WebCore::IconLoader::didReceiveData):
              (WebCore::IconLoader::didFinishLoading):
              * loader/icon/IconLoader.h:
              * loader/loader.cpp:
              * loader/mac/DocumentLoaderMac.mm:
              (WebCore::DocumentLoader::URL):
              (WebCore::DocumentLoader::unreachableURL):
              (WebCore::DocumentLoader::replaceRequestURLForAnchorScroll):
              (WebCore::DocumentLoader::URLForHistory):
              * loader/mac/FrameLoaderMac.mm:
              (WebCore::FrameLoader::load):
              (WebCore::FrameLoader::willSendRequest):
              (WebCore::FrameLoader::clientRedirected):
              (WebCore::FrameLoader::shouldReload):
              (WebCore::FrameLoader::notifyIconChanged):
              (WebCore::FrameLoader::URL):
              (WebCore::FrameLoader::reloadAllowingStaleData):
              (WebCore::FrameLoader::reload):
              (WebCore::FrameLoader::didChangeTitle):
              (WebCore::FrameLoader::continueLoadAfterNavigationPolicy):
              (WebCore::FrameLoader::checkLoadCompleteForThisFrame):
              (WebCore::FrameLoader::post):
              (WebCore::FrameLoader::addExtraFieldsToRequest):
              (WebCore::FrameLoader::loadResourceSynchronously):
              * loader/mac/IconLoaderMac.mm:
              (WebCore::IconLoader::notifyIconChanged):
              * loader/mac/LoaderFunctionsMac.mm:
              * loader/mac/MainResourceLoaderMac.mm:
              (WebCore::shouldLoadAsEmptyDocument):
              (WebCore::MainResourceLoader::continueAfterContentPolicy):
              * loader/mac/NavigationActionMac.mm:
              (WebCore::navigationType):
              (WebCore::NavigationAction::NavigationAction):
              * loader/mac/ResourceLoaderMac.mm:
              * loader/mac/SubresourceLoaderMac.mm:
              * page/Frame.cpp:
              (WebCore::Frame::Frame):
              (WebCore::Frame::urlSelected):
              (WebCore::Frame::submitFormAgain):
              (WebCore::Frame::submitForm):
              (WebCore::Frame::endIfNotLoading):
              (WebCore::Frame::hitTestResultAtPoint):
              * page/Frame.h:
              * page/FramePrivate.h:
              * platform/gdk/FrameGdk.cpp:
              (WebCore::FrameGdk::FrameGdk):
              (WebCore::FrameGdk::submitForm):
              (WebCore::FrameGdk::urlSelected):
              * platform/gdk/FrameGdk.h:
              * platform/mac/TextFieldMac.mm:
              * platform/network/HTTPHeaderMap.h:
              * platform/network/ResourceHandle.h:
              * platform/network/ResourceHandleClient.h:
              * platform/network/ResourceHandleInternal.h:
              * platform/network/mac/ResourceHandleMac.mm:
              * platform/network/mac/ResourceResponseMac.h:
              * platform/network/mac/ResourceResponseMac.mm:
              (-[NSURLResponse WebCore]):
              * platform/network/win/ResourceHandleWin.cpp:
              * platform/qt/FrameQt.cpp:
              (WebCore::FrameQt::submitForm):
              (WebCore::FrameQt::urlSelected):
              * platform/qt/FrameQt.h:
              * rendering/RenderLineEdit.cpp:
              (WebCore::RenderLineEdit::returnPressed):
              * xml/XSLTProcessor.cpp:
              (WebCore::docLoaderFunc):
              * xml/xmlhttprequest.cpp:
      
      WebKit:
      
              Reviewed by Maciej.
      
              - converted more of the loader machinery to work with cross-platform
                data structures instead of Macintosh-specific ones
      
                store the computed user agent string as a WebCore::String instead
                of an NSString to avoid overhead converting it every time we get it
      
              * COM/WebFrame.cpp:
              (WebFrame::initWithName):
              * ChangeLog:
              * Misc/WebElementDictionary.m:
              (-[WebElementDictionary _image]):
              (-[WebElementDictionary _targetWebFrame]):
              * WebCoreSupport/WebFrameLoaderClient.h:
              * WebCoreSupport/WebFrameLoaderClient.mm:
              (WebFrameLoaderClient::dispatchWillPerformClientRedirect):
              (WebFrameLoaderClient::shouldTreatURLAsSameAsCurrent):
              (WebFrameLoaderClient::setTitle):
              (WebFrameLoaderClient::userAgent):
              (WebFrameLoaderClient::actionDictionary):
              * WebCoreSupport/WebPageBridge.mm:
              (WebCore::if):
              * WebView/WebDataSource.mm:
              (-[WebDataSource _URL]):
              (-[WebDataSource _URLForHistory]):
              (-[WebDataSource unreachableURL]):
              * WebView/WebHTMLView.m:
              (-[WebHTMLView elementAtPoint:allowShadowContent:]):
              * WebView/WebPDFView.mm:
              (-[WebPDFView PDFViewWillClickOnLink:withURL:]):
              (-[WebPDFView _path]):
              * WebView/WebView.mm:
              (-[WebViewPrivate init]):
              (-[WebViewPrivate dealloc]):
              (-[WebViewPrivate finalize]):
              (-[WebView _preferencesChangedNotification:]):
              (-[WebView _cachedResponseForURL:]):
              (-[WebView setApplicationNameForUserAgent:]):
              (-[WebView setCustomUserAgent:]):
              (-[WebView customUserAgent]):
              (-[WebView userAgentForURL:]):
              (-[WebView _computeUserAgent]):
              (-[WebView WebCore::]):
              * WebView/WebViewInternal.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17597 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7c9aa2d4
  15. 29 Oct, 2006 1 commit
    • mjs's avatar
      Rubber stamped by Darin. · 1d734efa
      mjs authored
              - renamed ResourceLoader to ResourceHandle (and same for related classes)
      
              * CMakeLists.txt:
              * Projects/gdk/webcore-gdk.bkl:
              * WebCore.vcproj/WebCore/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * WebCoreSources.bkl:
              * bridge/mac/FrameMac.mm:
              * bridge/win/FrameWin.cpp:
              * dom/XMLTokenizer.cpp:
              * loader/Cache.cpp:
              * loader/CachedResource.h:
              * loader/LoaderFunctions.h:
              * loader/icon/IconLoader.cpp:
              (IconLoader::startLoading):
              (IconLoader::didReceiveData):
              (IconLoader::didFinishLoading):
              * loader/icon/IconLoader.h:
              * loader/loader.cpp:
              (WebCore::Loader::servePendingRequests):
              (WebCore::Loader::receivedAllData):
              (WebCore::Loader::receivedResponse):
              (WebCore::Loader::didReceiveData):
              (WebCore::Loader::cancelRequests):
              (WebCore::Loader::jobForRequest):
              * loader/loader.h:
              * loader/mac/IconLoaderMac.mm:
              (IconLoader::receivedResponse):
              * loader/mac/LoaderFunctionsMac.mm:
              * loader/mac/WebLoader.h:
              * loader/mac/WebSubresourceLoader.h:
              * loader/mac/WebSubresourceLoader.mm:
              (WebCore::SubresourceLoader::SubresourceLoader):
              (WebCore::SubresourceLoader::create):
              * platform/gdk/FrameGdk.cpp:
              (WebCore::FrameGdkClientDefault::FrameGdkClientDefault):
              (WebCore::FrameGdkClientDefault::openURL):
              (WebCore::FrameGdkClientDefault::submitForm):
              (WebCore::FrameGdkClientDefault::receivedResponse):
              (WebCore::FrameGdkClientDefault::didReceiveData):
              (WebCore::FrameGdkClientDefault::receivedAllData):
              * platform/gdk/FrameGdk.h:
              * platform/gdk/TemporaryLinkStubs.cpp:
              (WebCore::ServeSynchronousRequest):
              (WebCore::ResourceHandle::assembleResponseHeaders):
              (WebCore::ResourceHandle::retrieveCharset):
              * platform/network/ResourceHandle.cpp: Added.
              (WebCore::ResourceHandle::ResourceHandle):
              (WebCore::ResourceHandle::create):
              (WebCore::ResourceHandle::isErrorPage):
              (WebCore::ResourceHandle::error):
              (WebCore::ResourceHandle::setError):
              (WebCore::ResourceHandle::responseEncoding):
              (WebCore::ResourceHandle::responseHTTPHeadersAsString):
              (WebCore::ResourceHandle::kill):
              (WebCore::ResourceHandle::requestHeaders):
              (WebCore::ResourceHandle::url):
              (WebCore::ResourceHandle::postData):
              (WebCore::ResourceHandle::method):
              (WebCore::ResourceHandle::client):
              * platform/network/ResourceHandle.h: Added.
              (WebCore::ResourceHandle::getInternal):
              * platform/network/ResourceHandleClient.h: Added.
              (WebCore::ResourceHandleClient::~ResourceHandleClient):
              (WebCore::ResourceHandleClient::didReceiveData):
              (WebCore::ResourceHandleClient::didFinishLoading):
              (WebCore::ResourceHandleClient::receivedRedirect):
              (WebCore::ResourceHandleClient::receivedResponse):
              (WebCore::ResourceHandleClient::receivedAllData):
              * platform/network/ResourceHandleInternal.h: Added.
              (WebCore::ResourceHandleInternal::ResourceHandleInternal):
              * platform/network/ResourceLoader.cpp: Removed.
              * platform/network/ResourceLoader.h: Removed.
              * platform/network/ResourceLoaderClient.h: Removed.
              * platform/network/ResourceLoaderInternal.h: Removed.
              * platform/network/cf/ResourceHandleCFNet.cpp: Added.
              (WebCore::willSendRequest):
              (WebCore::didReceiveResponse):
              (WebCore::didReceiveData):
              (WebCore::didFinishLoading):
              (WebCore::didFail):
              (WebCore::willCacheResponse):
              (WebCore::didReceiveChallenge):
              (WebCore::ResourceHandleInternal::~ResourceHandleInternal):
              (WebCore::ResourceHandle::~ResourceHandle):
              (WebCore::ResourceHandle::start):
              (WebCore::ResourceHandle::cancel):
              * platform/network/cf/ResourceLoaderCFNet.cpp: Removed.
              * platform/network/gdk/ResourceHandleCurl.cpp: Added.
              (WebCore::ResourceHandleInternal::~ResourceHandleInternal):
              (WebCore::ResourceHandle::~ResourceHandle):
              (WebCore::ResourceHandle::start):
              (WebCore::ResourceHandle::cancel):
              * platform/network/gdk/ResourceHandleManager.cpp: Added.
              (WebCore::ResourceHandleManager::ResourceHandleManager):
              (WebCore::ResourceHandleManager::get):
              (WebCore::ResourceHandleManager::useSimpleTransfer):
              (WebCore::writeCallback):
              (WebCore::ResourceHandleManager::downloadTimerCallback):
              (WebCore::ResourceHandleManager::remove):
              (WebCore::ResourceHandleManager::add):
              (WebCore::ResourceHandleManager::cancel):
              * platform/network/gdk/ResourceHandleManager.h: Added.
              * platform/network/gdk/ResourceLoaderCurl.cpp: Removed.
              * platform/network/gdk/ResourceLoaderManager.cpp: Removed.
              * platform/network/gdk/ResourceLoaderManager.h: Removed.
              * platform/network/mac/ResourceHandleMac.mm: Added.
              (WebCore::ResourceHandleInternal::~ResourceHandleInternal):
              (WebCore::ResourceHandle::~ResourceHandle):
              (WebCore::ResourceHandle::start):
              (WebCore::ResourceHandle::assembleResponseHeaders):
              (WebCore::ResourceHandle::retrieveResponseEncoding):
              (WebCore::ResourceHandle::receivedResponse):
              (WebCore::ResourceHandle::cancel):
              (WebCore::ResourceHandle::redirectedToURL):
              (WebCore::ResourceHandle::addData):
              (WebCore::ResourceHandle::finishJobAndHandle):
              (WebCore::ResourceHandle::reportError):
              * platform/network/mac/ResourceLoaderMac.mm: Removed.
              * platform/network/qt/ResourceHandleManager.cpp: Added.
              (WebCore::ResourceHandleManager::ResourceHandleManager):
              (WebCore::ResourceHandleManager::~ResourceHandleManager):
              (WebCore::ResourceHandleManager::self):
              (WebCore::ResourceHandleManager::slotData):
              (WebCore::ResourceHandleManager::slotMimetype):
              (WebCore::ResourceHandleManager::slotResult):
              (WebCore::ResourceHandleManager::remove):
              (WebCore::ResourceHandleManager::add):
              (WebCore::ResourceHandleManager::cancel):
              * platform/network/qt/ResourceHandleManager.h: Added.
              * platform/network/qt/ResourceHandleQt.cpp: Added.
              (WebCore::ResourceHandleInternal::~ResourceHandleInternal):
              (WebCore::ResourceHandle::~ResourceHandle):
              (WebCore::ResourceHandle::start):
              (WebCore::ResourceHandle::cancel):
              (WebCore::ResourceHandle::assembleResponseHeaders):
              (WebCore::ResourceHandle::retrieveResponseEncoding):
              (WebCore::ResourceHandle::receivedResponse):
              (WebCore::ResourceHandle::extractCharsetFromHeaders):
              * platform/network/qt/ResourceLoaderManager.cpp: Removed.
              * platform/network/qt/ResourceLoaderManager.h: Removed.
              * platform/network/qt/ResourceLoaderQt.cpp: Removed.
              * platform/network/win/ResourceHandleWin.cpp: Added.
              (WebCore::):
              (WebCore::addToOutstandingJobs):
              (WebCore::lookupResourceHandle):
              (WebCore::ResourceHandleWndProc):
              (WebCore::initializeOffScreenResourceHandleWindow):
              (WebCore::ResourceHandleInternal::~ResourceHandleInternal):
              (WebCore::ResourceHandle::~ResourceHandle):
              (WebCore::ResourceHandle::onHandleCreated):
              (WebCore::ResourceHandle::onRequestRedirected):
              (WebCore::ResourceHandle::onRequestComplete):
              (WebCore::ResourceHandle::start):
              (WebCore::ResourceHandle::fileLoadTimer):
              (WebCore::ResourceHandle::cancel):
              (WebCore::ResourceHandle::setHasReceivedResponse):
              (WebCore::ResourceHandle::hasReceivedResponse):
              * platform/network/win/ResourceHandleWin.h: Added.
              * platform/network/win/ResourceLoaderWin.cpp: Removed.
              * platform/network/win/ResourceLoaderWin.h: Removed.
              * platform/qt/FrameQt.cpp:
              * platform/qt/FrameQtClient.cpp:
              (WebCore::FrameQtClientDefault::openURL):
              (WebCore::FrameQtClientDefault::submitForm):
              (WebCore::FrameQtClientDefault::receivedResponse):
              (WebCore::FrameQtClientDefault::didReceiveData):
              (WebCore::FrameQtClientDefault::receivedAllData):
              * platform/qt/FrameQtClient.h:
              * platform/win/TemporaryLinkStubs.cpp:
              (WebCore::ResourceHandle::assembleResponseHeaders):
              (WebCore::ResourceHandle::retrieveResponseEncoding):
              (WebCore::ServeSynchronousRequest):
              * xml/XSLTProcessor.cpp:
              * xml/xmlhttprequest.cpp:
              (WebCore::XMLHttpRequest::send):
              (WebCore::XMLHttpRequest::didFinishLoading):
              (WebCore::XMLHttpRequest::receivedRedirect):
              (WebCore::XMLHttpRequest::didReceiveData):
              * xml/xmlhttprequest.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17410 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1d734efa
  16. 24 Oct, 2006 3 commits
    • ggaren's avatar
      Rolling back in, now fixed: · c68cb259
      ggaren authored
              
              Nixed a few more redundant loading functions in Frame. Did my best to update
              the non-Mac builds.
      
              * bridge/mac/FrameMac.h:
              * bridge/mac/FrameMac.mm:
              (WebCore::FrameMac::urlSelected): Kept always 'true' argument for userGesture
              always 'true', because changing it broke the world, and testing seems to
              indicate that the one caller that might have passed 'false' didn't need to.
              * page/Frame.cpp:
              (WebCore::Frame::requestFrame):
              (WebCore::Frame::frameLoader):
              (WebCore::Frame::redirectionTimerFired):
              * page/Frame.h:
              * platform/gdk/FrameGdk.cpp:
              * platform/gdk/FrameGdk.h:
              * platform/gdk/TemporaryLinkStubs.cpp:
              (FrameGdk::issueCopyCommand):
              * platform/qt/FrameQt.cpp:
              * platform/qt/FrameQt.h:
              * platform/win/TemporaryLinkStubs.cpp:
              (WebCore::FrameWin::shouldInterruptJavaScript):
              (WebCore::FrameWin::issueCopyCommand):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17267 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c68cb259
    • ggaren's avatar
      Rolling out my last change because it broke the world. · ae8922c4
      ggaren authored
              * bridge/mac/FrameMac.h:
              * bridge/mac/FrameMac.mm:
              (WebCore::FrameMac::openURL):
              (WebCore::FrameMac::openURLRequest):
              (WebCore::FrameMac::urlSelected):
              * page/Frame.cpp:
              (WebCore::Frame::openURL):
              (WebCore::Frame::frameLoader):
              (WebCore::Frame::requestFrame):
              (WebCore::Frame::redirectionTimerFired):
              * page/Frame.h:
              * platform/gdk/FrameGdk.cpp:
              (WebCore::FrameGdk::openURL):
              * platform/gdk/FrameGdk.h:
              * platform/gdk/TemporaryLinkStubs.cpp:
              * platform/qt/FrameQt.cpp:
              (WebCore::FrameQt::openURL):
              (WebCore::FrameQt::openURLRequest):
              * platform/qt/FrameQt.h:
              * platform/win/TemporaryLinkStubs.cpp:
              (WebCore::FrameWin::openURL):
              (WebCore::FrameWin::openURLRequest):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17260 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ae8922c4
    • ggaren's avatar
      Reviewed by Anders. · 2d2aed6d
      ggaren authored
              Nixed a few more redundant loading functions in Frame. Did my best to update
              the non-Mac builds.
      
              * bridge/mac/FrameMac.h:
              * bridge/mac/FrameMac.mm:
              (WebCore::FrameMac::urlSelected): Changed always 'true' argument for userGesture
              to actually check for a user gesture. New callers rely on this behavior,
              and it seems like the previous behavior must have been a bug.
              * page/Frame.cpp:
              (WebCore::Frame::requestFrame):
              (WebCore::Frame::frameLoader):
              (WebCore::Frame::redirectionTimerFired):
              * page/Frame.h:
              * platform/gdk/FrameGdk.cpp:
              * platform/gdk/FrameGdk.h:
              * platform/gdk/TemporaryLinkStubs.cpp:
              (FrameGdk::issueCopyCommand):
              * platform/qt/FrameQt.cpp:
              * platform/qt/FrameQt.h:
              * platform/win/TemporaryLinkStubs.cpp:
              (WebCore::FrameWin::shouldInterruptJavaScript):
              (WebCore::FrameWin::issueCopyCommand):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17256 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2d2aed6d
  17. 23 Oct, 2006 1 commit
    • mjs's avatar
      Reviewed by Anders. · 60a92c62
      mjs authored
              - start converting ResourceLoaderClient to new API
      
              Did the bits I could do without introducing new types:
              
              - renamed receivedData to didReceiveData
              - renamed version of receivedAllData that doesn't pass any data to didFinishLoading
      
              * bridge/mac/WebCoreResourceLoaderImp.mm:
              (-[WebCoreResourceLoaderImp addData:]):
              (-[WebCoreResourceLoaderImp finishJobAndHandle:]):
              * loader/icon/IconLoader.cpp:
              (IconLoader::didReceiveData):
              (IconLoader::didFinishLoading):
              * loader/icon/IconLoader.h:
              * loader/loader.cpp:
              (WebCore::Loader::didReceiveData):
              * loader/loader.h:
              * platform/gdk/FrameGdk.cpp:
              (WebCore::FrameGdkClientDefault::didReceiveData):
              * platform/gdk/FrameGdk.h:
              * platform/network/ResourceLoaderClient.h:
              (WebCore::ResourceLoaderClient::didReceiveData):
              (WebCore::ResourceLoaderClient::didFinishLoading):
              (WebCore::ResourceLoaderClient::receivedResponse):
              * platform/network/cf/ResourceLoaderCFNet.cpp:
              (WebCore::didReceiveData):
              (WebCore::didFinishLoading):
              (WebCore::didFail):
              (WebCore::ResourceLoader::cancel):
              * platform/network/gdk/ResourceLoaderManager.cpp:
              (WebCore::writeCallback):
              (WebCore::ResourceLoaderManager::downloadTimerCallback):
              (WebCore::ResourceLoaderManager::remove):
              * platform/network/qt/ResourceLoaderManager.cpp:
              (WebCore::ResourceLoaderManager::slotData):
              (WebCore::ResourceLoaderManager::remove):
              * platform/network/win/ResourceLoaderWin.cpp:
              (WebCore::ResourceLoader::onRequestComplete):
              (WebCore::ResourceLoader::fileLoadTimer):
              (WebCore::ResourceLoader::cancel):
              * platform/qt/FrameQtClient.cpp:
              (WebCore::FrameQtClientDefault::didReceiveData):
              * platform/qt/FrameQtClient.h:
              * xml/xmlhttprequest.cpp:
              (WebCore::XMLHttpRequest::processSyncLoadResults):
              (WebCore::XMLHttpRequest::didFinishLoading):
              (WebCore::XMLHttpRequest::didReceiveData):
              * xml/xmlhttprequest.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17212 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      60a92c62
  18. 15 Oct, 2006 1 commit
    • bdash's avatar
      2006-10-15 Krzysztof Kowalczyk <kkowalczyk@gmail.com> · 1dc19f48
      bdash authored
              Reviewed by Anders.
      
              Remove junk (as gcc calls it) after #else clause.
      
              * wtf/FastMalloc.cpp:
              (WTF::do_free):
      
      2006-10-15  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>
      
              Reviewed by Anders.
      
              Misc Gdk/Linux build fixes.
      
              * platform/gdk/BrowserExtensionGdk.h:
              * platform/gdk/FrameGdk.cpp:
              (WebCore::FrameGdk::submitForm):
              (WebCore::FrameGdk::urlSelected):
              * platform/gdk/FrameGdk.h:
              * platform/gdk/RenderPopupMenuGdk.cpp:
              (WebCore::PopupMenu::PopupMenu):
              (WebCore::PopupMenu::~PopupMenu):
              (WebCore::PopupMenu::clear):
              (WebCore::PopupMenu::populate):
              (WebCore::PopupMenu::show):
              (WebCore::PopupMenu::hide):
              (WebCore::PopupMenu::addSeparator):
              (WebCore::PopupMenu::addGroupLabel):
              (WebCore::PopupMenu::addOption):
              * platform/gdk/RenderPopupMenuGdk.h:
              * platform/gdk/RenderThemeGdk.cpp:
              * platform/gdk/RenderThemeGdk.h:
              (WebCore::RenderThemeGdk::RenderThemeGdk):
              * platform/gdk/TemporaryLinkStubs.cpp:
              (BrowserExtensionGdk::createNewWindow):
              (BrowserExtensionGdk::BrowserExtensionGdk):
              (BrowserExtensionGdk::setTypedIconURL):
              (BrowserExtensionGdk::setIconURL):
              (BrowserExtensionGdk::getHistoryLength):
              (WebCore::CheckIfReloading):
              (WebCore::CacheObjectExpiresTime):
              (WebCore::ResponseURL):
              (WebCore::IsResponseURLEqualToURL):
              (WebCore::ResponseIsMultipart):
              (WebCore::ResponseMIMEType):
              (WebCore::CachedResource::setResponse):
              (WebCore::CachedResource::setAllData):
              (FileChooser::disconnectUploadControl):
              * rendering/RenderTheme.h:
              * rendering/RenderThemeMac.h:
      
      2006-10-15  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>
      
              Reviewed by Anders.
      
              Make compiler not complain about unused gk. SpinneretWebHost was not setting
              initial refcount upon creation, so it is completely bogus.
      
              * GdkLauncher/main.cpp:
              (main):
              * Spinneret/Spinneret/Spinneret.h:
              (SpinneretWebHost::SpinneretWebHost):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17065 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1dc19f48
  19. 14 Oct, 2006 1 commit
    • bdash's avatar
      2006-10-14 Krzysztof Kowalczyk <kkowalczyk@gmail.com> · e0bfe232
      bdash authored
              Reviewed by Maciej.
      
              Define KXMLCORE_USE_CURL for platforms that wish to use CURL as
              networking, and set it for GDK build
      
              * wtf/Platform.h:
      
      2006-10-14  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>
      
              Reviewed by Maciej.
      
              Fix GDK build by defining FrameGdkClient() constructor as non-virtual.
              Pure virtual classes require non-pure destructor, who knew.
      
              Make CURL networking dependent on USE(CURL) instead of PLATFORM(GDK),
              so that other platforms can also use CURL, if they wish.
      
              Silence compiler warning about unused variable in SharedTimerLinux.cpp
      
              * platform/ResourceLoaderInternal.h:
              (WebCore::ResourceLoaderInternal::ResourceLoaderInternal):
              * platform/gdk/FrameGdk.h:
              (WebCore::FrameGdkClient::~FrameGdkClient):
              * platform/gdk/ResourceLoaderManager.cpp:
              (WebCore::ResourceLoaderManager::downloadTimerCallback):
              * platform/gdk/SharedTimerLinux.cpp:
              (WebCore::stopSharedTimer):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17055 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e0bfe232
  20. 12 Oct, 2006 1 commit
    • bdash's avatar
      2006-10-12 Krzysztof Kowalczyk <kkowalczyk@gmail.com> · 8f25c14c
      bdash authored
              Reviewed by Maciej.
      
              Update Gdk\Linux build for recent changes, based on Qt code
      
              * platform/gdk/FrameGdk.cpp:
              (WebCore::FrameGdkClientDefault::FrameGdkClientDefault):
              (WebCore::FrameGdkClientDefault::~FrameGdkClientDefault):
              (WebCore::FrameGdkClientDefault::setFrame):
              (WebCore::FrameGdkClientDefault::openURL):
              (WebCore::FrameGdkClientDefault::submitForm):
              (WebCore::FrameGdkClientDefault::receivedResponse):
              (WebCore::FrameGdkClientDefault::receivedData):
              (WebCore::FrameGdkClientDefault::receivedAllData):
              (WebCore::FrameGdk::FrameGdk):
              (WebCore::FrameGdk::openURL):
              (WebCore::FrameGdk::submitForm):
              (WebCore::FrameGdk::urlSelected):
              * platform/gdk/FrameGdk.h:
              * platform/gdk/TemporaryLinkStubs.cpp:
              (FrameGdk::createJavaAppletWidget):
              (FileChooser::create):
      
      2006-10-12  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>
      
              Reviewed by Maciej.
      
              Also regenerate GdkLauncher makefiles, since not doing that might
              lead to mismatch between WebCore and GdkLauncher compiler settings.
      
              * Scripts/regenerate-makefiles:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17003 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8f25c14c
  21. 09 Oct, 2006 1 commit
    • bdash's avatar
      2006-10-09 Krzysztof Kowalczyk <kkowalczyk@gmail.com> · b9ca62e5
      bdash authored
              Reviewed by Geoff.
      
              Improve gdk build compiler flags (show warning, no rtti and exceptions).
      
              * jscore.bkl:
      
      2006-10-09  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>
      
              Reviewed by Geoff.
      
              Improve gdk build compiler options.
      
              * Bakefiles.bkgen:
              * presets.bkl:
      
      2006-10-09  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>
      
              Reviewed by Geoff.
      
              Fix memory leaks discovered via valgrind. Gdk build fixes.
      
              * Projects/gdk/webcore-gdk.bkl:
              * make-generated-sources.sh:
              * platform/cairo/ImageCairo.cpp:
              (WebCore::Image::draw):
              * platform/gdk/FrameGdk.cpp:
              (WebCore::FrameGdk::handleGdkEvent):
              * platform/gdk/FrameGdk.h:
              * platform/gdk/PlatformScrollBar.h:
              (WebCore::PlatformScrollbar::horizontalScrollbarHeight):
              (WebCore::PlatformScrollbar::verticalScrollbarWidth):
      
      2006-10-09  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>
      
              Reviewed by Geoff.
      
              Add -exit-after-loading option to make gdklauncher quit after fully loading and rendering
              a page. This allows automatic testing via e.g. valgrind.
      
              * GdkLauncher/gdklauncher.bkl:
              * GdkLauncher/main.cpp:
              (LauncherFrameGdk::LauncherFrameGdk):
              (LauncherFrameGdk::setExitAfterLoading):
              (LauncherFrameGdk::handledOnloadEvents):
              (handle_event):
              (main):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16945 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b9ca62e5
  22. 19 Sep, 2006 1 commit
    • eseidel's avatar
      2006-09-19 Krzysztof Kowalczyk <kkowalczyk@gmail.com> · dd76a7cd
      eseidel authored
              Reviewed by eseidel.  Landed by eseidel.
              
              Build fix only, no tests affected.
      
              * platform/gdk/FontPlatformDataGdk.cpp:
              (WebCore::FontPlatformData::FontPlatformData):
              (WebCore::FontPlatformData::~FontPlatformData):
              * platform/gdk/FrameGdk.h:
              * platform/gdk/TemporaryLinkStubs.cpp:
              (FrameGdk::isLoadTypeReload):
              (FrameGdk::originalRequestURL):
              (IconDatabase::setIconURLForPageURL):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16445 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dd76a7cd
  23. 15 Sep, 2006 1 commit
    • bdash's avatar
      2006-09-15 Krzysztof Kowalczyk <kkowalczyk@gmail.com> · e2ec6f25
      bdash authored
              Reviewed by Adam.
      
              http://bugzilla.opendarwin.org/show_bug.cgi?id=10864
              Bug 10864: Linux\GDK build fixes
      
              * JavaScriptCoreSources.bkl:
              * jscore.bkl:
      
      2006-09-15  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>
      
              Reviewed by Adam.
      
              http://bugzilla.opendarwin.org/show_bug.cgi?id=10864
              Bug 10864: Linux\GDK build fixes
      
              * Projects/gdk/webcore-gdk.bkl:
              * WebCoreSources.bkl:
              * platform/gdk/FontCacheGdk.cpp:
              * platform/gdk/FontDataGdk.cpp:
              (WebCore::FontData::platformInit):
              * platform/gdk/FontGdk.cpp:
              (WebCore::Font::drawGlyphs):
              * platform/gdk/FrameGdk.cpp:
              (WebCore::FrameGdk::handleGdkEvent):
              * platform/gdk/FrameGdk.h:
              * platform/gdk/ImageGdk.cpp: Added.
              (WebCore::Image::initPlatformData):
              (WebCore::Image::invalidatePlatformData):
              (WebCore::Image::loadPlatformResource):
              (WebCore::Image::supportsType):
              * platform/gdk/RenderPopupMenuGdk.cpp:
              (WebCore::RenderPopupMenuGdk::hidePopup):
              * platform/gdk/RenderPopupMenuGdk.h:
              * platform/gdk/ScreenGdk.cpp:
              (WebCore::drawableForPage):
              (WebCore::screenRect):
              (WebCore::screenDepth):
              (WebCore::usableScreenRect):
              (WebCore::scaleFactor):
              * platform/gdk/SystemTimeLinux.cpp:
              (WebCore::currentTime):
              * platform/gdk/TemporaryLinkStubs.cpp:
              (FrameGdk::bindingRootObject):
              (FrameGdk::markMisspellings):
              (WebCore::screenDepthPerComponent):
              (WebCore::screenIsMonochrome):
              (WebCore::fileButtonChooseFileLabel):
              (WebCore::fileButtonNoFileSelectedLabel):
              (FrameGdk::shouldChangeSelection):
              (FrameGdk::respondToChangedSelection):
              (FrameGdk::respondToChangedContents):
              (Path::contains):
              (PlatformScrollBar::PlatformScrollBar):
              (PlatformScrollBar::~PlatformScrollBar):
              (PlatformScrollBar::width):
              (PlatformScrollBar::height):
              (PlatformScrollBar::setEnabled):
              (PlatformScrollBar::paint):
              (PlatformScrollBar::setScrollBarValue):
              (PlatformScrollBar::setKnobProportion):
              (PlatformScrollBar::setRect):
              (ScrollBar::ScrollBar):
              (FileChooser::FileChooser):
              (FileChooser::~FileChooser):
              (FileChooser::openFileChooser):
              (FileChooser::basenameForWidth):
              (FileChooser::uploadControlDetaching):
              (FileChooser::chooseFile):
              (Icon::Icon):
              (Icon::~Icon):
              (Icon::newIconForFile):
              (Icon::paint):
              (IconLoader::stopLoading):
              (IconLoader::startLoading):
              (IconLoader::createForFrame):
              (IconDatabase::isIconExpiredForIconURL):
              (IconDatabase::hasEntryForIconURL):
              (IconDatabase::sharedIconDatabase):
              * platform/gdk/WidgetGdk.cpp:
              * webcore-base.bkl:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16382 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e2ec6f25
  24. 24 Aug, 2006 1 commit
    • darin's avatar
      LayoutTests: · 35384069
      darin authored
              Reviewed by Justin.
      
              - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=10169
                REGRESSION: NativeTextArea: Text dragged from <input type=text> to textarea disappears
      
              * fast/forms/drag-into-textarea-expected.txt: Added.
              * fast/forms/drag-into-textarea.html: Added.
      
      WebCore:
      
              Reviewed by Justin.
      
              - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=10169
                REGRESSION: NativeTextArea: Text dragged from <input type=text> to textarea disappears
              - eliminate the EditCommandPtr class from editing; use PassRefPtr and RefPtr instead
              - other editing-related cleanup
      
              Test: fast/forms/drag-into-textarea.html
      
              * bridge/mac/FrameMac.h: Changed EditCommandPtr parameters to use PassRefPtr<EditCommand> instead.
              * bridge/win/FrameWin.h: Ditto.
              * bridge/mac/FrameMac.mm:
              (WebCore::FrameMac::registerCommandForUndoOrRedo): Ditto.
              (WebCore::FrameMac::registerCommandForUndo): Ditto.
              (WebCore::FrameMac::registerCommandForRedo): Ditto.
      
              * bridge/mac/WebCoreFrameBridge.mm:
              (-[WebCoreFrameBridge replaceSelectionWithFragment:selectReplacement:smartReplace:matchStyle:]):
              Use applyCommand instead of EditCommandPtr. Also remove now-unneeded document parameter.
              (-[WebCoreFrameBridge moveSelectionToDragCaret:smartMove:]): Ditto.
              (-[WebCoreFrameBridge deleteSelectionWithSmartDelete:]): Ditto.
      
              * editing/AppendNodeCommand.h: Removed document parameter from constructor. Changed new child
              parameter to be a PassRefPtr. Reversed order of child and parent parameters.
              * editing/AppendNodeCommand.cpp:
              (WebCore::AppendNodeCommand::AppendNodeCommand): Ditto.
              (WebCore::AppendNodeCommand::doApply): Ditto.
              (WebCore::AppendNodeCommand::doUnapply): Ditto.
      
              * editing/ApplyStyleCommand.h: Removed document parameter from constructor.
              * editing/ApplyStyleCommand.cpp: (WebCore::ApplyStyleCommand::ApplyStyleCommand): Ditto.
      
              * editing/BreakBlockquoteCommand.h: Removed unneeded include of DeprecatedPtrList.h.
              * editing/BreakBlockquoteCommand.cpp: Moved the include of DeprecatedPtrList.h here.
              (WebCore::BreakBlockquoteCommand::doApply): Changed code to construct a Selection explicitly
              since setEndingSelection is no longer overloaded for Position.
      
              * editing/CompositeEditCommand.h: Added isFirstCommand function. Changed m_cmds from
              a DeprecatedValueList<EditCommandPtr> to a Vector<RefPtr<EditCommand>> and renamed it
              m_commands and made both doUnapply and doReapply private.
              * editing/CompositeEditCommand.cpp:
              (WebCore::CompositeEditCommand::doUnapply): Rewrote to use m_commands.
              (WebCore::CompositeEditCommand::doReapply): Ditto.
              (WebCore::CompositeEditCommand::applyCommandToComposite): Removed code to explicitly set up
              starting and ending selection -- now done inside setParent. Rewrote to use m_commands.
              (WebCore::CompositeEditCommand::applyStyle): Changed to not use EditCommandPtr.
              (WebCore::CompositeEditCommand::applyStyledElement): Ditto.
              (WebCore::CompositeEditCommand::removeStyledElement): Ditto.
              (WebCore::CompositeEditCommand::insertParagraphSeparator): Ditto.
              (WebCore::CompositeEditCommand::insertNodeBefore): Ditto.
              (WebCore::CompositeEditCommand::appendNode): Ditto.
              (WebCore::CompositeEditCommand::removeNode): Ditto.
              (WebCore::CompositeEditCommand::removeNodePreservingChildren): Ditto.
              (WebCore::CompositeEditCommand::splitTextNode): Ditto.
              (WebCore::CompositeEditCommand::splitElement): Ditto.
              (WebCore::CompositeEditCommand::mergeIdenticalElements): Ditto.
              (WebCore::CompositeEditCommand::wrapContentsInDummySpan): Ditto.
              (WebCore::CompositeEditCommand::splitTextNodeContainingElement): Ditto.
              (WebCore::CompositeEditCommand::joinTextNodes): Ditto.
              (WebCore::CompositeEditCommand::inputText): Ditto.
              (WebCore::CompositeEditCommand::insertTextIntoNode): Ditto.
              (WebCore::CompositeEditCommand::deleteTextFromNode): Ditto.
              (WebCore::CompositeEditCommand::replaceTextInNode): Ditto.
              (WebCore::CompositeEditCommand::deleteSelection): Ditto.
              (WebCore::CompositeEditCommand::removeCSSProperty): Ditto.
              (WebCore::CompositeEditCommand::removeNodeAttribute): Ditto. Also fixed a bug where the code
              would not remove an empty attribute -- will not come up in practice, but wrong in theory.
              (WebCore::CompositeEditCommand::setNodeAttribute): Changed to not use EditCommandPtr.
              (WebCore::CompositeEditCommand::rebalanceWhitespaceAt): Ditto.
              (WebCore::CompositeEditCommand::deleteInsignificantText): Rewrote to use a for loop.
              (WebCore::CompositeEditCommand::moveParagraphs): Changed to not use EditCommandPtr.
              (WebCore::CompositeEditCommand::breakOutOfEmptyListItem): Changed code to construct a
              Selection explicitly since setEndingSelection is no longer overloaded for Position.
              (WebCore::createBlockPlaceholderElement): Collapsed this code so that the
              block placeholder class string is no longer spread across multiple functions.
              Perhaps we can get rid of this altogether at some point.
      
              * editing/DeleteFromTextNodeCommand.h: Removed unneeded document parameter from one constructor.
              Also removed unneeded destructor.
              * editing/DeleteFromTextNodeCommand.cpp:
              (WebCore::DeleteFromTextNodeCommand::DeleteFromTextNodeCommand): Ditto.
      
              * editing/DeleteSelectionCommand.h: Removed unneeded document parameter from one constructor.
              * editing/DeleteSelectionCommand.cpp: (WebCore::DeleteSelectionCommand::DeleteSelectionCommand): Ditto.
      
              * editing/EditCommand.h: Removed ECommandState, isCompositeStep(), parent(), state(), setState(),
              and most overloads of setStartingSelection() and setEndingSelection(). Made document() protected
              and non-virtual. Made setStartingSelection() setEndingSelection(), and styleAtPosition() protected.
              Made doApply(), doUnapply(), and doReapply() private. Added startingRootEditableElement(),
              endingRootEditableElement(), m_startingRootEditableElement, and m_endingRootEditableElement, which
              are needed so we can determine which editable elements an editing operation affects. Changed setParent()
              and m_parent to use CompositeEditCommand instead of EditCommand. Removed EditCommandPtr. Added
              applyCommand() function that's convenient to use on a newly-created command.
              * editing/EditCommand.cpp:
              (WebCore::EditCommand::EditCommand): Removed initialization for m_state, and added it for starting
              and ending root editable elements.
              (WebCore::EditCommand::apply): Simplified check for top level by just checking m_parent. Removed
              code to assert and set m_start. Eliminated use of EditCommandPtr.
              (WebCore::EditCommand::unapply): Ditto.
              (WebCore::EditCommand::reapply): Ditto.
              (WebCore::EditCommand::setStartingSelection): Changed to set root editable element too. Also made this
              not change the starting selection of the parent unless this is the first command in the parent -- didn't
              make sense the way it was.
              (WebCore::EditCommand::setEndingSelection): Changed to set root editable element too.
              (WebCore::EditCommand::setParent): Added code to set the starting and ending selection on the child
              based on the ending selection of the parent, formerly done by callers.
              (WebCore::applyCommand): Added.
      
              * editing/FormatBlockCommand.h: Tweaked formatting.
              * editing/FormatBlockCommand.cpp: (WebCore::FormatBlockCommand::FormatBlockCommand): Ditto.
              * editing/InsertLineBreakCommand.h: Ditto.
              * editing/InsertLineBreakCommand.cpp: (WebCore::InsertLineBreakCommand::doApply):
      
              * editing/IndentOutdentCommand.cpp:
              (WebCore::IndentOutdentCommand::splitTreeToNode): Removed use of EditCommandPtr.
              (WebCore::IndentOutdentCommand::outdentParagraph): Updated for change to list type enum.
              (WebCore::IndentOutdentCommand::outdentRegion): Removed use of EditCommandPtr.
      
              * editing/InsertIntoTextNodeCommand.h: Removed unneeded document parameter to constructor.
              * editing/InsertIntoTextNodeCommand.cpp:
              (WebCore::InsertIntoTextNodeCommand::InsertIntoTextNodeCommand): Ditto.
      
              * editing/InsertListCommand.h: Renamed EListType to EList, and took the "Type" suffix off
              the constants.
              * editing/InsertListCommand.cpp:
              (WebCore::InsertListCommand::InsertListCommand): Ditto.
              (WebCore::InsertListCommand::doApply): Ditto.
      
              * editing/InsertNodeBeforeCommand.h: Removed unneeded document parameter from constructor
              and changed the parameter of the node to insert to a PassRefPtr.
              * editing/InsertNodeBeforeCommand.cpp:
              (WebCore::InsertNodeBeforeCommand::InsertNodeBeforeCommand): Ditto.
      
              * editing/InsertParagraphSeparatorCommand.cpp:
              (WebCore::InsertParagraphSeparatorCommand::doApply): Remvoed use of EditCommandPtr.
      
              * editing/InsertTextCommand.h: Changed insertTab to take const Position&.
              * editing/InsertTextCommand.cpp:
              (WebCore::InsertTextCommand::input): Ditto.
              (WebCore::InsertTextCommand::insertTab): Ditto.
      
              * editing/JSEditor.h: Tweaked formatting and names.
              * editing/JSEditor.cpp: Ditto. Also changed places that use EditCommandPtr.
      
              * editing/JoinTextNodesCommand.h: Removed unneeeded document pointer
              * editing/JoinTextNodesCommand.cpp:
              (WebCore::JoinTextNodesCommand::JoinTextNodesCommand): Ditto.
              * editing/MergeIdenticalElementsCommand.h: Ditto.
              * editing/MergeIdenticalElementsCommand.cpp:
              (WebCore::MergeIdenticalElementsCommand::MergeIdenticalElementsCommand): Ditto.
      
              * editing/ModifySelectionListLevel.h: Changed EListType to be named Type and be a member of
              IncreaseSelectionListLevelCommand. Also changed m_listElement to be a RefPtr<Node>.
              * editing/ModifySelectionListLevel.cpp:
              (WebCore::getStartEndListChildren): Changed parameters to be references instead of pointers.
              (WebCore::IncreaseSelectionListLevelCommand::IncreaseSelectionListLevelCommand):
              Changed to use Type instead of EListType.
              (WebCore::canIncreaseListLevel): Changed parameters to be references instead of pointers.
              (WebCore::IncreaseSelectionListLevelCommand::doApply): Updated for change to canIncreaseListLevel.
              (WebCore::IncreaseSelectionListLevelCommand::canIncreaseSelectionListLevel): Ditto.
              (WebCore::IncreaseSelectionListLevelCommand::increaseSelectionListLevelWithType):
              Changed to not use EditCommandPtr.
              (WebCore::canDecreaseListLevel): Changed parameters to be references instead of pointers.
              (WebCore::DecreaseSelectionListLevelCommand::doApply): Updated for change to canDecreaseListLevel.
              (WebCore::DecreaseSelectionListLevelCommand::canDecreaseSelectionListLevel): Ditto.
              (WebCore::DecreaseSelectionListLevelCommand::decreaseSelectionListLevel): Changed to not use
              EditCommandPtr.
      
              * editing/MoveSelectionCommand.h: Removed unnecessary document parameter and changed the fragment
              parameter to be a PassRefPtr.
              * editing/MoveSelectionCommand.cpp:
              (WebCore::MoveSelectionCommand::MoveSelectionCommand): Ditto.
              (WebCore::MoveSelectionCommand::doApply): Got rid of use of EditCommandPtr.
      
              * editing/RebalanceWhitespaceCommand.h: Removed unnecessary document parameter.
              * editing/RebalanceWhitespaceCommand.cpp:
              (WebCore::RebalanceWhitespaceCommand::RebalanceWhitespaceCommand): Ditto.
              (WebCore::RebalanceWhitespaceCommand::doApply): Got rid of use of EditCommandPtr.
      
              * editing/RemoveCSSPropertyCommand.h: Tweaked formatting.
      
              * editing/RemoveNodeAttributeCommand.h: Removed unnecessary document parameter.
              * editing/RemoveNodeAttributeCommand.cpp:
              (WebCore::RemoveNodeAttributeCommand::RemoveNodeAttributeCommand): Ditto.
      
              * editing/RemoveNodeCommand.h: Removed unnecessary document parameter.
              * editing/RemoveNodeCommand.cpp:
              (WebCore::RemoveNodeCommand::RemoveNodeCommand): Ditto.
      
              * editing/RemoveNodePreservingChildrenCommand.h: Removed unnecessary document parameter.
              * editing/RemoveNodePreservingChildrenCommand.cpp:
              (WebCore::RemoveNodePreservingChildrenCommand::RemoveNodePreservingChildrenCommand): Ditto.
      
              * editing/ReplaceSelectionCommand.h: Change fragment parameter to a PassRefPtr.
              * editing/ReplaceSelectionCommand.cpp:
              (WebCore::ReplacementFragment::ReplacementFragment): Ditto.
              (WebCore::ReplaceSelectionCommand::ReplaceSelectionCommand): Ditto.
              (WebCore::ReplaceSelectionCommand::doApply): Ditto.
              (WebCore::ReplaceSelectionCommand::completeHTMLReplacement): Ditto.
      
              * editing/Selection.h: Changed SEL_DEFAULT_AFFINITY to be a constant rather than
              a macro. Added constructors that take visible positions. Changed setBase and
              setExtent to take const Position& for better efficiency.
              * editing/Selection.cpp:
              (WebCore::Selection::Selection): Removed unnecessary double initialization of m_state
              and m_baseIsFirst in existing constructors. Added VisiblePosition-based constructors.
      
              * editing/SetNodeAttributeCommand.h: Removed unnneeded document parameter.
              * editing/SetNodeAttributeCommand.cpp:
              (WebCore::SetNodeAttributeCommand::SetNodeAttributeCommand): Ditto.
      
              * editing/SplitElementCommand.h: Removed unnneeded document parameter.
              * editing/SplitElementCommand.cpp:
              (WebCore::SplitElementCommand::SplitElementCommand): Ditto.
      
              * editing/SplitTextNodeCommand.h: Removed unnneeded document parameter.
              * editing/SplitTextNodeCommand.cpp:
              (WebCore::SplitTextNodeCommand::SplitTextNodeCommand): Ditto.
      
              * editing/SplitTextNodeContainingElementCommand.h: Removed unnneeded document parameter.
              * editing/SplitTextNodeContainingElementCommand.cpp:
              (WebCore::SplitTextNodeContainingElementCommand::SplitTextNodeContainingElementCommand): Ditto.
      
              * editing/TypingCommand.h: Replaced uses of EditCommandPtr with EditCommand*.
              Renamed openForMoveTyping() with isOpenForMoreTyping().
              * editing/TypingCommand.cpp:
              (WebCore::TypingCommand::deleteKeyPressed): Updated to remove use of EditCommandPtr.
              (WebCore::TypingCommand::forwardDeleteKeyPressed): Ditto.
              (WebCore::TypingCommand::insertText): Ditto.
              (WebCore::TypingCommand::insertLineBreak): Ditto.
              (WebCore::TypingCommand::insertParagraphSeparatorInQuotedContent): Ditto.
              (WebCore::TypingCommand::insertParagraphSeparator): Ditto.
              (WebCore::TypingCommand::isOpenForMoreTypingCommand): Ditto.
              (WebCore::TypingCommand::closeTyping): Ditto.
              (WebCore::TypingCommand::typingAddedToOpenCommand): Ditto.
              (WebCore::TypingCommand::insertTextRunWithoutNewlines): Ditto.
      
              * editing/WrapContentsInDummySpanCommand.h: Removed unnneeded document parameter.
              * editing/WrapContentsInDummySpanCommand.cpp:
              (WebCore::WrapContentsInDummySpanCommand::WrapContentsInDummySpanCommand): Ditto.
      
              * editing/htmlediting.h: Changed type of NON_BREAKING_SPACE to UChar instead of
              unsigned short.
      
              * page/Frame.h: Changed lastEditCommand() to return an EditCommand* and changed
              appliedEditing(), unappliedEditing(), reappliedEditing(), registerCommandForUndo(),
              and registerCommandForRedo() to take PassRefPtr<EditCommand>.
              * page/FramePrivate.h: Changed m_lastEditCommand to be a RefPtr<EditCommand>.
              * page/Frame.cpp:
              (WebCore::Frame::didOpenURL): Fixed for change to m_lastEditCommand.
              (WebCore::Frame::setFocusNodeIfNeeded): Call the rootEditableElement function
              from Selection to simplify the code.
              (WebCore::Frame::selectAll): Ditto.
              (WebCore::Frame::lastEditCommand): Updated for change to m_lastEditCommand.
              (WebCore::dispatchEditableContentChangedEvents): Added. This sends an event to
              both of the root editable elements involved in a change -- the start selection
              might be in a different element than the end selection.
              (WebCore::Frame::appliedEditing): Changed to call dispatchEditableContentChangedEvents,
              and to do it before setting the ending selection. Also update to use PassRefPtr instead
              of EditCommandPtr and change the order of setting m_lastEditCommand since passing it
              to registerCommandForUndo will take ownership and set it to 0.
              (WebCore::Frame::unappliedEditing): Ditto.
              (WebCore::Frame::reappliedEditing): Ditto.
              (WebCore::Frame::computeAndSetTypingStyle): Updated for removal of EditCommandPtr.
              (WebCore::Frame::applyStyle): Ditto.
              (WebCore::Frame::applyParagraphStyle): Ditto.
      
              * platform/gdk/FrameGdk.h: Updated for above changes.
              * platform/gdk/TemporaryLinkStubs.cpp: Updated for above changes.
              * platform/win/TemporaryLinkStubs.cpp: Updated for above changes.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16026 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      35384069
  25. 31 Jul, 2006 1 commit
    • mjs's avatar
      WebCore: · 63474f34
      mjs authored
              Rubber-stamped by Tim Hatcher.
      
              - renamed TransferJob to ResourceLoader
      
              * Projects/gdk/webcore-gdk.bkl:
              * WebCore.vcproj/WebCore/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * WebCoreSources.bkl:
              * bridge/mac/FrameMac.mm:
              * bridge/mac/WebCoreResourceLoaderImp.h:
              * bridge/mac/WebCoreResourceLoaderImp.mm:
              (-[WebCoreResourceLoaderImp redirectedToURL:]):
              (-[WebCoreResourceLoaderImp addData:]):
              (-[WebCoreResourceLoaderImp finishJobAndHandle:]):
              * bridge/win/FrameWin.cpp:
              * dom/XMLTokenizer.cpp:
              (WebCore::openFunc):
              * loader/Cache.cpp:
              * loader/LoaderFunctions.h:
              * loader/loader.cpp:
              (WebCore::Loader::servePendingRequests):
              (WebCore::Loader::receivedAllData):
              (WebCore::Loader::receivedResponse):
              (WebCore::Loader::receivedData):
              (WebCore::Loader::cancelRequests):
              (WebCore::Loader::jobForRequest):
              * loader/loader.h:
              * loader/mac/LoaderFunctionsMac.mm:
              (WebCore::ServeSynchronousRequest):
              * platform/ResourceLoader.cpp: Added.
              (WebCore::ResourceLoader::ResourceLoader):
              (WebCore::ResourceLoader::isErrorPage):
              (WebCore::ResourceLoader::error):
              (WebCore::ResourceLoader::setError):
              (WebCore::ResourceLoader::queryMetaData):
              (WebCore::ResourceLoader::addMetaData):
              (WebCore::ResourceLoader::kill):
              (WebCore::ResourceLoader::url):
              (WebCore::ResourceLoader::postData):
              (WebCore::ResourceLoader::method):
              (WebCore::ResourceLoader::client):
              * platform/ResourceLoader.h: Added.
              (WebCore::ResourceLoader::getInternal):
              * platform/ResourceLoaderClient.h: Added.
              (WebCore::ResourceLoaderClient::~ResourceLoaderClient):
              (WebCore::ResourceLoaderClient::receivedRedirect):
              (WebCore::ResourceLoaderClient::receivedResponse):
              (WebCore::ResourceLoaderClient::receivedData):
              (WebCore::ResourceLoaderClient::receivedAllData):
              * platform/ResourceLoaderInternal.h: Added.
              (WebCore::ResourceLoaderInternal::ResourceLoaderInternal):
              * platform/TransferJob.cpp: Removed.
              * platform/TransferJob.h: Removed.
              * platform/TransferJobClient.h: Removed.
              * platform/TransferJobInternal.h: Removed.
              * platform/gdk/FrameGdk.cpp:
              (WebCore::FrameGdk::openURL):
              (WebCore::FrameGdk::urlSelected):
              (WebCore::FrameGdk::receivedData):
              (WebCore::FrameGdk::receivedAllData):
              * platform/gdk/FrameGdk.h:
              * platform/gdk/ResourceLoaderCurl.cpp: Added.
              (WebCore::ResourceLoaderInternal::~ResourceLoaderInternal):
              (WebCore::ResourceLoader::~ResourceLoader):
              (WebCore::ResourceLoader::start):
              (WebCore::ResourceLoader::cancel):
              * platform/gdk/ResourceLoaderManager.cpp: Added.
              (WebCore::ResourceLoaderManager::ResourceLoaderManager):
              (WebCore::ResourceLoaderManager::get):
              (WebCore::ResourceLoaderManager::useSimpleTransfer):
              (WebCore::writeCallback):
              (WebCore::ResourceLoaderManager::downloadTimerCallback):
              (WebCore::ResourceLoaderManager::remove):
              (WebCore::ResourceLoaderManager::add):
              (WebCore::ResourceLoaderManager::cancel):
              * platform/gdk/ResourceLoaderManager.h: Added.
              * platform/gdk/TemporaryLinkStubs.cpp:
              (WebCore::ServeSynchronousRequest):
              (WebCore::ResourceLoader::assembleResponseHeaders):
              (WebCore::ResourceLoader::retrieveCharset):
              * platform/gdk/TransferJobCurl.cpp: Removed.
              * platform/gdk/TransferJobManager.cpp: Removed.
              * platform/gdk/TransferJobManager.h: Removed.
              * platform/mac/ResourceLoaderMac.mm: Added.
              (WebCore::ResourceLoaderInternal::~ResourceLoaderInternal):
              (WebCore::ResourceLoader::~ResourceLoader):
              (WebCore::ResourceLoader::start):
              (WebCore::ResourceLoader::assembleResponseHeaders):
              (WebCore::ResourceLoader::retrieveCharset):
              (WebCore::ResourceLoader::setLoader):
              (WebCore::ResourceLoader::receivedResponse):
              (WebCore::ResourceLoader::cancel):
              * platform/mac/TransferJobMac.mm: Removed.
              * platform/win/ResourceLoaderWin.cpp: Added.
              (WebCore::addToOutstandingJobs):
              (WebCore::lookupResourceLoader):
              (WebCore::ResourceLoaderWndProc):
              (WebCore::initializeOffScreenResourceLoaderWindow):
              (WebCore::ResourceLoaderInternal::~ResourceLoaderInternal):
              (WebCore::ResourceLoader::~ResourceLoader):
              (WebCore::ResourceLoader::start):
              (WebCore::ResourceLoader::fileLoadTimer):
              (WebCore::ResourceLoader::cancel):
              * platform/win/ResourceLoaderWin.h: Added.
              * platform/win/TemporaryLinkStubs.cpp:
              (WebCore::ServeSynchronousRequest):
              (WebCore::ResourceLoader::assembleResponseHeaders):
              (WebCore::ResourceLoader::retrieveCharset):
              * platform/win/TransferJobWin.cpp: Removed.
              * platform/win/TransferJobWin.h: Removed.
              * xml/XSLTProcessor.cpp:
              (WebCore::docLoaderFunc):
              * xml/xmlhttprequest.cpp:
              (WebCore::XMLHttpRequest::send):
              (WebCore::XMLHttpRequest::receivedAllData):
              (WebCore::XMLHttpRequest::receivedRedirect):
              (WebCore::XMLHttpRequest::receivedData):
              * xml/xmlhttprequest.h:
      
      WebKit:
      
              Reviewed by Tim Hatcher.
              
              - renamed TransferJob to ResourceLoader in WebCore
      
              * COM/WebFrame.cpp:
              (WebFrame::loadDataSource):
              (WebFrame::receivedRedirect):
              (WebFrame::receivedResponse):
              (WebFrame::receivedData):
              (WebFrame::receivedAllData):
              (WebFrame::setStatusText):
              * COM/WebFrame.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15730 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      63474f34
  26. 29 Jul, 2006 1 commit
    • darin's avatar
      JavaScriptCore: · ad19609e
      darin authored
              Reviewed by Darin.
      
              - fixes for Linux build
      
              * JavaScriptCoreSources.bkl: Added new files to build, kjs/PropertyNameArray.cpp
              and kjs/testkjs.cpp, and removed old files.
      
      WebCore:
      
              Reviewed and tweaked by Darin.
      
              - fixes for Linux build
                (still might not compile, since Darin tweaked but was unable to test).
      
              * WebCoreSources.bkl: Added some new sources, removed some obsolete ones.
              * Projects/gdk/webcore-gdk.bkl: Added RenderPopupMenuGdk.cpp
      
              * html/HTMLPlugInElement.h: Removed incorrect syntax with class name
              before ::.
      
              * platform/gdk/FrameGdk.h:
              * platform/gdk/FrameGdk.cpp: Updated parameters of constructor. Moved a couple stubs
              out of this file.
              * platform/gdk/RenderPopupMenuGdk.h: Added.
              * platform/gdk/RenderPopupMenuGdk.cpp: Added. Just a file full of empty stubs.
              * platform/gdk/RenderThemeGdk.h:
              * platform/gdk/RenderThemeGdk.cpp: (WebCore::RenderThemeGdk::createPopupMenu): Added.
      
              * platform/gdk/TemporaryLinkStubs.cpp: Add some new stubs.
      
      WebKitTools:
      
              Reviewed by Darin.
      
              - fixes for Linux build
      
              * GdkLauncher/mk: Added call to bakefile_gen before calling make.
              * GdkLauncher/gdklauncher.bkl: Tweak comment.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15691 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ad19609e
  27. 30 Jun, 2006 1 commit
    • darin's avatar
      Reviewed and worked over a lot by Darin. · 6fb113f0
      darin authored
              - check in first set of GDK-specific sources
      
              * platform/gdk/BrowserExtensionGdk.h: Added.
              * platform/gdk/CookieJarGdk.cpp: Added.
              * platform/gdk/CursorGdk.cpp: Added.
              * platform/gdk/FontCacheGdk.cpp: Added.
              * platform/gdk/FontDataGdk.cpp: Added.
              * platform/gdk/FontGdk.cpp: Added.
              * platform/gdk/FontPlatformData.h: Added.
              * platform/gdk/FontPlatformDataGdk.cpp: Added.
              * platform/gdk/FrameGdk.cpp: Added.
              * platform/gdk/FrameGdk.h: Added.
              * platform/gdk/GlyphMapGdk.cpp: Added.
              * platform/gdk/KeyEventGdk.cpp: Added.
              * platform/gdk/KeyboardCodes.h: Added.
              * platform/gdk/MouseEventGdk.cpp: Added.
              * platform/gdk/PageGdk.cpp: Added.
              * platform/gdk/RenderThemeGdk.cpp: Added.
              * platform/gdk/RenderThemeGdk.h: Added.
              * platform/gdk/ScreenGdk.cpp: Added.
              * platform/gdk/ScrollViewGdk.cpp: Added.
              * platform/gdk/SharedTimerLinux.cpp: Added.
              * platform/gdk/SystemTimeLinux.cpp: Added.
              * platform/gdk/TemporaryLinkStubs.cpp: Added.
              * platform/gdk/TransferJobCurl.cpp: Added.
              * platform/gdk/TransferJobManager.cpp: Added.
              * platform/gdk/TransferJobManager.h: Added.
              * platform/gdk/WheelEventGdk.cpp: Added.
              * platform/gdk/WidgetGdk.cpp: Added.
              * platform/gdk/gdk-encodings.txt: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15124 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6fb113f0
  28. 21 Jun, 2006 1 commit
  29. 20 Jun, 2006 1 commit
  30. 02 Jun, 2006 1 commit
    • sfalken's avatar
      2006-06-02 Steve Falkenburg <sfalken@apple.com> · 4eea401f
      sfalken authored
              Reviewed by darin.
      
              Platform hookup fixes
      
              * bridge/win/FrameWin.cpp:
              (WebCore::FrameWin::urlSelected):
              (WebCore::FrameWin::setTitle):
              (WebCore::FrameWin::setStatusBarText):
              * bridge/win/FrameWin.h:
              * platform/win/TemporaryLinkStubs.cpp:
              (FrameWin::overrideMediaType):
              * platform/win/TransferJobWin.cpp:
              (WebCore::TransferJobWndProc):
              (WebCore::TransferJob::start):
              (WebCore::TransferJob::fileLoadTimer):
              (WebCore::TransferJob::cancel):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14689 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4eea401f
  31. 01 Jun, 2006 1 commit
  32. 05 May, 2006 1 commit
  33. 30 Mar, 2006 1 commit
    • eseidel's avatar
      2006-03-30 Eric Seidel <eseidel@apple.com> · 15ed36df
      eseidel authored
              Reviewed by hyatt.
      
              Fix text form controls, and add basic submit support!
      
              * bridge/win/FrameWin.cpp:
              (WebCore::FrameWin::submitForm):
              * bridge/win/FrameWin.h:
              * platform/win/KeyEventWin.cpp:
              (WebCore::keyIdentifierForWindowsKeyCode):
              (WebCore::PlatformKeyboardEvent::PlatformKeyboardEvent):
              * platform/win/TemporaryLinkStubs.cpp:
              (FrameWin::incomingReferrer):
              * platform/win/TransferJobWin.cpp:
              (WebCore::TransferJob::start):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13583 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      15ed36df
  34. 24 Mar, 2006 1 commit
    • eseidel's avatar
      2006-03-24 Eric Seidel <eseidel@apple.com> · 0f359fc5
      eseidel authored
              Reviewed by mjs.
      
              Fix win32 build.
              Uninify mac/win dependency handling.
              Fix class vs. struct linker problem for win32.
      
              * WebCore.vcproj/WebCore/WebCore.vcproj: Add DerivedSources
              * WebCore.vcproj/WebCore/build-generated-files.sh:
              * bridge/win/BrowserExtensionWin.h:
              * bridge/win/FrameWin.h:
              * generate-derived-sources:
              * kwq/AccessibilityObjectCache.h:
              * platform/GraphicsContext.cpp:
              (WebCore::GraphicsContext::createGraphicsContextPrivate):
              (WebCore::GraphicsContext::destroyGraphicsContextPrivate):
              * platform/GraphicsContext.h:
              * platform/cairo/GraphicsContextCairo.cpp:
              * platform/mac/GraphicsContextMac.mm:
              * platform/win/TemporaryLinkStubs.cpp:
              (QLineEdit::selectedText):
              (FrameWin::createPlugin):
              (BrowserExtensionWin::setTypedIconURL):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13470 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0f359fc5
  35. 21 Mar, 2006 1 commit
    • darin's avatar
      Reviewed by Eric and Darin. · 0424485e
      darin authored
              - get Windows building again
      
              * WebCore.vcproj/WebCore/WebCore.vcproj:
              * bridge/win/FrameWin.cpp:
              (WebCore::FrameWin::userAgent):
              * bridge/win/FrameWin.h:
              * platform/GraphicsContext.h:
              * platform/cairo/ImageCairo.cpp:
              (WebCore::Image::supportsType):
              * platform/win/TemporaryLinkStubs.cpp:
              (FrameWin::mimeTypeForFileName):
              (FrameWin::objectContentType):
              (FrameWin::createPlugin):
              (FrameWin::overrideMediaType):
              (FrameWin::passSubframeEventToSubframe):
              (FrameWin::createFrame):
              (FrameWin::incomingReferrer):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13429 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0424485e
  36. 19 Mar, 2006 1 commit
  37. 18 Mar, 2006 1 commit