- 06 Jan, 2011 1 commit
-
-
jamesr@google.com authored
Reviewed by Simon Fraser. Implement mozilla's animationTime property https://bugs.webkit.org/show_bug.cgi?id=51952 Tests for window.webkitAnimationTime. * animations/animation-time-expected.txt: Added. * animations/animation-time.html: Added. * animations/script-tests/animation-time.js: Added. 2011-01-06 James Robinson <jamesr@chromium.org> Reviewed by Simon Fraser. Implement mozilla's animationTime property https://bugs.webkit.org/show_bug.cgi?id=51952 Chromium DRT support for webkitAnimationTime. * DumpRenderTree/chromium/WebViewHost.cpp: (WebViewHost::paintInvalidatedRegion): 2011-01-06 James Robinson <jamesr@chromium.org> Reviewed by Simon Fraser. Implement mozilla's animationTime property https://bugs.webkit.org/show_bug.cgi?id=51952 Implements mozilla's animationTime property as described here: https://developer.mozilla.org/en/DOM/window.mozAnimationStartTime and http://hacks.mozilla.org/2010/08/more-efficient-javascript-animations-with-mozrequestanimationframe/ The property is called webkitAnimationTime as calling it the 'Start' time is not very informative. This property exposes a notion of a 'current' time to use for declarative animations and allows scripts to synchronize imperative animations with declarative ones if they choose to. Once queried this time is saved and used for all declarative animation updates until the embedder paints/composites the next frame and clears it, or 15ms elapse (in case the embedder isn't producing frames, for example if the page is in a background tab). This patch also ensures that all declarative animations started in the same script execution block are synchronized even if some time elapses while script is running. Test: fast/animation/animation-time.html * WebCore.gypi: * page/DOMWindow.cpp: (WebCore::DOMWindow::webkitAnimationTime): * page/DOMWindow.h: * page/DOMWindow.idl: * page/Frame.cpp: (WebCore::Frame::currentAnimationTime): * page/Frame.h: * page/Page.cpp: (WebCore::Page::Page): * page/Page.h: (WebCore::Page::animationTime): * page/animation/AnimationController.cpp: (WebCore::AnimationControllerPrivate::beginAnimationUpdateTime): * page/animation/AnimationTimeController.cpp: Added. (WebCore::AnimationTimeController::AnimationTimeController): (WebCore::AnimationTimeController::~AnimationTimeController): (WebCore::AnimationTimeController::currentAnimationTime): (WebCore::AnimationTimeController::clearCurrentAnimationTime): (WebCore::AnimationTimeController::clearCurrentAnimationTimeTimerFired): * page/animation/AnimationTimeController.h: Added. (WebCore::AnimationTimeController::create): 2011-01-06 James Robinson <jamesr@chromium.org> Reviewed by Simon Fraser. Implement mozilla's animationTime property https://bugs.webkit.org/show_bug.cgi?id=51952 WebKit API support for webkitAnimationTime. * public/WebWidget.h: * src/WebPopupMenuImpl.cpp: (WebKit::WebPopupMenuImpl::clearCurrentAnimationTime): * src/WebPopupMenuImpl.h: * src/WebViewImpl.cpp: (WebKit::WebViewImpl::clearCurrentAnimationTime): * src/WebViewImpl.h: 2011-01-06 James Robinson <jamesr@chromium.org> Reviewed by Simon Fraser. Implement mozilla's animationTime property https://bugs.webkit.org/show_bug.cgi?id=51952 Tells the page to clear the current animation time after producing a frame. * WebProcess/WebPage/WebPage.cpp: (WebKit::WebPage::drawRect): * WebProcess/WebPage/ChunkedUpdateDrawingArea.cpp: (WebKit::ChunkedUpdateDrawingArea::display): (WebKit::ChunkedUpdateDrawingArea::setSize): * WebProcess/WebPage/mac/LayerBackedDrawingAreaMac.mm: (WebKit::LayerBackedDrawingArea::syncCompositingLayers): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75169 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 14 Dec, 2010 1 commit
-
-
mihaip@chromium.org authored
Reviewed by Dimitri Glazkov. Move asynchronous event dispatching out of Document https://bugs.webkit.org/show_bug.cgi?id=49785 Move asynchonous event code out of Document and into a standalone EventQueue class (which supports async events for both regular nodes and the window object). No new tests necessary, since no new functionality is exposed (existing layout tests pass). * Android.mk: * CMakeLists.txt: * GNUmakefile.am: * WebCore.gypi: * WebCore.pro: * WebCore.vcproj/WebCore.vcproj: * WebCore.xcodeproj/project.pbxproj: * dom/Document.cpp: (WebCore::Document::Document): (WebCore::Document::enqueueWindowEvent): (WebCore::Document::enqueueHashchangeEvent): * dom/DOMAllInOne.cpp: (WebCore::Document::eventQueue): * dom/Document.h: * dom/EventQueue.cpp: Added. (WebCore::EventQueue::EventQueue): (WebCore::EventQueue::enqueueEvent): (WebCore::EventQueue::pendingEventTimerFired): (WebCore::EventQueue::dispatchEvent): * dom/EventQueue.h: Added. * storage/StorageEventDispatcher.cpp: (WebCore::StorageEventDispatcher::dispatch): 2010-12-14 Mihai Parparita <mihaip@chromium.org> Reviewed by Dimitri Glazkov. Move asynchronous event dispatching out of Document https://bugs.webkit.org/show_bug.cgi?id=49785 Change enqueueEvent callsite. * src/StorageAreaProxy.cpp: (WebCore::StorageAreaProxy::storageEvent): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74062 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 03 Dec, 2010 1 commit
-
-
dglazkov@chromium.org authored
Reviewed by Darin Adler. REGRESSION(r72783): DOMActivate fires multiple times from input type=file https://bugs.webkit.org/show_bug.cgi?id=50396 * fast/events/shadow-boundary-crossing-2-expected.txt: Changed expectations. * fast/events/shadow-boundary-crossing-2.html: Added the correct test for event retargeting, renamed previous test to be more specific in what it tests. 2010-12-03 Dimitri Glazkov <dglazkov@chromium.org> Reviewed by Darin Adler. REGRESSION(r72783): DOMActivate fires multiple times from input type=file https://bugs.webkit.org/show_bug.cgi?id=50396 Test: fast/events/shadow-boundary-crossing-2.html * dom/EventContext.cpp: Reverted changes made in r72783. * dom/EventContext.h: Ditto. * dom/Node.cpp: (WebCore::Node::containsIncludingShadowDOM): Added. (WebCore::Node::dispatchGenericEvent): Reverted changes made in r72783. * dom/Node.h: Added decl. * html/HTMLLabelElement.cpp: (WebCore::HTMLLabelElement::defaultEventHandler): Reverted changes made in r72783. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73270 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 28 Nov, 2010 1 commit
-
-
dglazkov@chromium.org authored
Reviewed by Darin Adler. Default event handlers should also be using event retargeting. https://bugs.webkit.org/show_bug.cgi?id=49986 * fast/events/shadow-boundary-crossing-2.html: Added a test. * fast/events/shadow-boundary-crossing-2-expected.txt: Modified expectations to include new test. 2010-11-28 Dimitri Glazkov <dglazkov@chromium.org> Reviewed by Darin Adler. Default event handlers should also be using event retargeting. https://bugs.webkit.org/show_bug.cgi?id=49986 Test: fast/events/shadow-boundary-crossing-2.html * dom/EventContext.cpp: (WebCore::EventContext::defaultEventHandler): Added. * dom/EventContext.h: Added decl. * dom/Node.cpp: (WebCore::Node::dispatchGenericEvent): Changed to use event retargeting for default event handlers. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72783 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 12 Nov, 2010 1 commit
-
-
dglazkov@chromium.org authored
Reviewed by Darin Adler. Implement shadow DOM-aware event targeting and introduce EventContext to track the context of each event dispatch. https://bugs.webkit.org/show_bug.cgi?id=46015 Added more test coverage around events crossing shadow DOM boundaries and tweaked existing tests. * fast/events/shadow-boundary-crossing-2-expected.txt: Added. * fast/events/shadow-boundary-crossing-2.html: Added. * fast/events/shadow-boundary-crossing.html: Tuned to better reflect its point: the event should indeed fire (it used to be swallowed), but its target should be a non-shadow node. * media/audio-delete-while-slider-thumb-clicked.html : Tweaked to actually click on the scrubber thumb (it was off by 2 pixels). 2010-11-05 Dimitri Glazkov <dglazkov@chromium.org> Reviewed by Darin Adler. Implement shadow DOM-aware event targeting and introduce EventContext to track the context of each event dispatch. https://bugs.webkit.org/show_bug.cgi?id=46015 Test: fast/events/shadow-boundary-crossing-2.html This patch adds the notion of EventContext (and a very similar-acting WindowEventContext, specifically for DOMWindow), an abstraction that carries information around dispatching an event for any given Node. This abstraction is necessary to ensure that events, fired from shadow DOM nodes are properly retargeted to appear as if they are coming from their host, thus never exposing the shadow DOM nodes to the world outside. * Android.mk: Added EventContext, WindowEventContext files. * CMakeLists.txt: Ditto. * GNUmakefile.am: Ditto. * WebCore.gypi: Ditto. * WebCore.pro: Ditto. * WebCore.xcodeproj/project.pbxproj: Ditto. * WebCore.vcproj/WebCore.vcproj: Ditto. * dom/ContainerNode.cpp: (WebCore::notifyChildInserted): Changed to be shadow DOM-aware. * dom/EventContext.cpp: Added. * dom/EventContext.h: Added. * dom/Node.cpp: (WebCore::Node::markAncestorsWithChildNeedsStyleRecalc): Changed to be shadow DOM-aware. (WebCore::Node::createRendererIfNeeded): Ditto. (WebCore::Node::parentOrHostNode): Added new helper method. (WebCore::Node::enclosingLinkEventParentOrSelf): Changed to be shadow DOM-aware. (WebCore::eventTargetRespectingSVGTargetRules): Collapsed two helper methods into one. (WebCore::Node::getEventAncestors): Renamed and refactored to collect a vector of EventContexts. (WebCore::Node::topEventContext): Added. (WebCore::eventHasListeners): Changed to use EventContexts. (WebCore::Node::dispatchGenericEvent): Ditto. * dom/Node.h: Removed eventParentNode that's no longer needed, added parentOrHostNode decl, and changed signature of eventAncestors to use EventContexts. * dom/Text.cpp: (WebCore::Text::createRenderer): Changed to be shadow DOM-aware. * dom/WindowEventContext.cpp: Added. * dom/WindowEventContext.h: Added. * inspector/InspectorDOMAgent.cpp: (WebCore::InspectorDOMAgent::getEventListenersForNode): Changed to use EventContexts. * page/EventHandler.cpp: (WebCore::EventHandler::updateMouseEventTargetNode): Removed code that's no longer necessary. * rendering/RenderTextControlMultiLine.cpp: (WebCore::RenderTextControlMultiLine::subtreeHasChanged): Removed event invocation that's no longer necessary. * rendering/ShadowElement.h: Made m_shadowParent a RefPtr to avoid stale references when parent is deleted. * rendering/TextControlInnerElements.cpp: (WebCore::TextControlInnerTextElement::defaultEventHandler): Flipped the condition back from where it was prior to r60418. * svg/SVGElement.cpp: Removed eventParentNode that's no longer needed. * svg/SVGElement.h: Ditto. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@71934 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 27 Jul, 2010 1 commit
-
-
jianli@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=40587 Reviewed by David Levin. Remove DragData::createClipboard and add Clipboard::create for it to be called directly in DragController. This is because we need to pass Frame pointer to Clipboard class and use it to get ScriptExecutionContext in order to construct File objects in Clipboard::files(). * bindings/js/SerializedScriptValue.cpp: (WebCore::DeserializingTreeWalker::convertIfTerminal): * bindings/v8/SerializedScriptValue.cpp: (WebCore::ZigZag::Reader::readBlob): (WebCore::ZigZag::Reader::readFile): (WebCore::ZigZag::Reader::readFileList): * dom/Clipboard.h: * editing/Editor.cpp: (WebCore::Editor::dispatchCPPEvent): * editing/Editor.h: * editing/android/EditorAndroid.cpp: (WebCore::Editor::newGeneralClipboard): * editing/brew/EditorBrew.cpp: (WebCore::Editor::newGeneralClipboard): * editing/chromium/EditorChromium.cpp: (WebCore::Editor::newGeneralClipboard): * editing/haiku/EditorHaiku.cpp: (WebCore::Editor::newGeneralClipboard): * editing/mac/EditorMac.mm: (WebCore::Editor::newGeneralClipboard): * editing/qt/EditorQt.cpp: (WebCore::Editor::newGeneralClipboard): * editing/wx/EditorWx.cpp: (WebCore::Editor::newGeneralClipboard): * html/Blob.cpp: (WebCore::Blob::Blob): (WebCore::Blob::slice): * html/Blob.h: (WebCore::Blob::create): * html/Blob.idl: * html/BlobBuilder.cpp: (WebCore::BlobBuilder::getBlob): * html/BlobBuilder.h: * html/BlobBuilder.idl: * html/File.cpp: (WebCore::File::File): * html/File.h: (WebCore::File::create): * html/HTMLInputElement.cpp: (WebCore::HTMLInputElement::appendFormData): (WebCore::HTMLInputElement::setFileListFromRenderer): * page/DragController.cpp: (WebCore::DragController::dragExited): (WebCore::DragController::performDrag): (WebCore::DragController::tryDHTMLDrag): * page/chromium/EventHandlerChromium.cpp: (WebCore::EventHandler::createDraggingClipboard): * page/gtk/EventHandlerGtk.cpp: (WebCore::EventHandler::createDraggingClipboard): * page/win/EventHandlerWin.cpp: (WebCore::EventHandler::createDraggingClipboard): * platform/DragData.h: * platform/android/ClipboardAndroid.cpp: (WebCore::Clipboard::create): * platform/android/DragDataAndroid.cpp: * platform/brew/ClipboardBrew.cpp: (WebCore::Clipboard::create): * platform/brew/DragDataBrew.cpp: * platform/chromium/ClipboardChromium.cpp: (WebCore::Clipboard::create): (WebCore::ClipboardChromium::ClipboardChromium): (WebCore::ClipboardChromium::create): (WebCore::ClipboardChromium::files): * platform/chromium/ClipboardChromium.h: * platform/chromium/DragDataChromium.cpp: * platform/efl/ClipboardEfl.cpp: (WebCore::Editor::newGeneralClipboard): (WebCore::Clipboard::create): * platform/efl/DragDataEfl.cpp: * platform/gtk/ClipboardGtk.cpp: (WebCore::Editor::newGeneralClipboard): (WebCore::Clipboard::create): (WebCore::ClipboardGtk::ClipboardGtk): (WebCore::ClipboardGtk::files): * platform/gtk/ClipboardGtk.h: (WebCore::ClipboardGtk::create): * platform/gtk/DragDataGtk.cpp: * platform/haiku/ClipboardHaiku.cpp: (WebCore::Clipboard::create): * platform/haiku/DragDataHaiku.cpp: * platform/mac/ClipboardMac.mm: (WebCore::Clipboard::create): (WebCore::ClipboardMac::files): * platform/mac/DragDataMac.mm: * platform/qt/ClipboardQt.cpp: (WebCore::Clipboard::create): * platform/qt/DragDataQt.cpp: * platform/win/ClipboardWin.cpp: (WebCore::Clipboard::create): (WebCore::ClipboardWin::ClipboardWin): (WebCore::ClipboardWin::files): * platform/win/ClipboardWin.h: (WebCore::ClipboardWin::create): * platform/win/DragDataWin.cpp: * platform/win/EditorWin.cpp: (WebCore::Editor::newGeneralClipboard): * platform/wince/DragDataWince.cpp: * platform/wince/EditorWince.cpp: (WebCore::Editor::newGeneralClipboard): * platform/wx/ClipboardWx.cpp: (WebCore::Clipboard::create): * platform/wx/DragDataWx.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64152 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 10 Feb, 2009 1 commit
-
-
treat@webkit.org authored
Fix Qt build following r40793. * editing/qt/EditorQt.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@40815 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 14 Jun, 2008 1 commit
-
-
darin@apple.com authored
2008-06-14 Darin Adler <darin@apple.com> Reviewed by Sam. - more of https://bugs.webkit.org/show_bug.cgi?id=17257 start ref counts at 1 instead of 0 for speed * kjs/nodes.cpp: (KJS::ParserRefCounted::hasOneRef): Added. Replaces refcount. * kjs/nodes.h: Replaced refcount with hasOneRef. * wtf/ListRefPtr.h: (WTF::ListRefPtr::~ListRefPtr): Changed to use hasOneRef instead of refcount, so this class can be used with the RefCounted template. * wtf/RefCounted.h: (WTF::RefCounted::hasOneRef): Made const, since there's no reason for it to be non-const. WebCore: 2008-06-14 Darin Adler <darin@apple.com> Reviewed by Sam. - more work on https://bugs.webkit.org/show_bug.cgi?id=17257 start ref counts at 1 instead of 0 for speed * WebCore.base.exp: Added some new exports needed for functions that are now non-virtual. * WebCore.xcodeproj/project.pbxproj: Moved the "icon" group to the correct location in the project. Before it was inside "appcache"! * css/CSSStyleSelector.cpp: (WebCore::CSSStyleSelector::applyProperty): * dom/Clipboard.cpp: (WebCore::Clipboard::Clipboard): * editing/mac/EditorMac.mm: (WebCore::Editor::newGeneralClipboard): * editing/qt/EditorQt.cpp: (WebCore::Editor::newGeneralClipboard): * editing/wx/EditorWx.cpp: (WebCore::Editor::newGeneralClipboard): * loader/DocumentLoader.cpp: (WebCore::DocumentLoader::DocumentLoader): * loader/DocumentLoader.h: (WebCore::DocumentLoader::create): * loader/icon/IconDatabase.cpp: (WebCore::IconDatabase::defaultIcon): (WebCore::IconDatabase::setIconDataForIconURL): (WebCore::IconDatabase::setIconURLForPageURL): (WebCore::IconDatabase::getOrCreateIconRecord): (WebCore::IconDatabase::performURLImport): * loader/icon/IconDatabase.h: * loader/icon/IconRecord.cpp: (WebCore::IconRecord::IconRecord): * loader/icon/IconRecord.h: (WebCore::IconRecord::create): * page/EventHandler.h: * page/Frame.cpp: (WebCore::Frame::Frame): * page/Frame.h: (WebCore::Frame::create): * page/gtk/EventHandlerGtk.cpp: (WebCore::EventHandler::createDraggingClipboard): * page/mac/EventHandlerMac.mm: (WebCore::EventHandler::createDraggingClipboard): * page/qt/EventHandlerQt.cpp: (WebCore::EventHandler::createDraggingClipboard): * page/win/EventHandlerWin.cpp: (WebCore::EventHandler::createDraggingClipboard): * page/wx/EventHandlerWx.cpp: (WebCore::EventHandler::createDraggingClipboard): * platform/Cursor.h: (WebCore::SharedCursor::create): (WebCore::SharedCursor::~SharedCursor): (WebCore::SharedCursor::SharedCursor): * platform/DragData.h: * platform/PopupMenu.h: (WebCore::PopupMenu::create): (WebCore::PopupMenu::isActive): * platform/ScrollBar.cpp: (WebCore::Scrollbar::Scrollbar): * platform/SearchPopupMenu.h: (WebCore::SearchPopupMenu::create): * platform/graphics/FontFamily.cpp: (WebCore::FontFamily::FontFamily): (WebCore::operator==): * platform/graphics/FontFamily.h: (WebCore::FontFamily::FontFamily): (WebCore::SharedFontFamily::create): (WebCore::SharedFontFamily::SharedFontFamily): (WebCore::operator!=): (WebCore::FontFamily::next): (WebCore::FontFamily::appendFamily): (WebCore::FontFamily::releaseNext): * platform/graphics/Icon.h: * platform/graphics/gtk/IconGtk.cpp: (WebCore::Icon::Icon): (WebCore::Icon::~Icon): (WebCore::Icon::newIconForFile): * platform/graphics/mac/IconMac.mm: (WebCore::Icon::Icon): (WebCore::Icon::newIconForFile): * platform/graphics/qt/IconQt.cpp: (WebCore::Icon::Icon): (WebCore::Icon::newIconForFile): * platform/graphics/win/IconWin.cpp: (WebCore::Icon::Icon): (WebCore::Icon::~Icon): (WebCore::Icon::newIconForFile): * platform/gtk/ClipboardGtk.cpp: (WebCore::Editor::newGeneralClipboard): * platform/gtk/ClipboardGtk.h: (WebCore::ClipboardGtk::create): * platform/gtk/PlatformScrollBar.h: (WebCore::PlatformScrollbar::create): * platform/gtk/PopupMenuGtk.cpp: (WebCore::PopupMenu::PopupMenu): * platform/gtk/ScrollViewGtk.cpp: (WebCore::ScrollViewScrollbar::create): (WebCore::ScrollView::ScrollViewPrivate::setHasHorizontalScrollbar): (WebCore::ScrollView::ScrollViewPrivate::setHasVerticalScrollbar): * platform/mac/ClipboardMac.h: (WebCore::ClipboardMac::create): * platform/mac/DragDataMac.mm: (WebCore::DragData::createClipboard): (WebCore::DragData::containsCompatibleContent): * platform/mac/PlatformScrollBar.h: (WebCore::PlatformScrollbar::create): (WebCore::PlatformScrollbar::horizontalScrollbarHeight): (WebCore::PlatformScrollbar::verticalScrollbarWidth): * platform/mac/PopupMenuMac.mm: (WebCore::PopupMenu::PopupMenu): * platform/qt/ClipboardQt.h: (WebCore::ClipboardQt::create): * platform/qt/DragDataQt.cpp: (WebCore::DragData::createClipboard): * platform/qt/PlatformScrollBar.h: (WebCore::PlatformScrollbar::create): * platform/qt/PopupMenuQt.cpp: (WebCore::PopupMenu::PopupMenu): * platform/qt/ScrollViewQt.cpp: (WebCore::ScrollView::ScrollViewPrivate::setHasHorizontalScrollbar): (WebCore::ScrollView::ScrollViewPrivate::setHasVerticalScrollbar): * platform/win/ClipboardWin.h: (WebCore::ClipboardWin::create): * platform/win/CursorWin.cpp: (WebCore::Cursor::Cursor): (WebCore::loadSharedCursor): * platform/win/DragDataWin.cpp: (WebCore::DragData::createClipboard): * platform/win/EditorWin.cpp: (WebCore::Editor::newGeneralClipboard): * platform/win/PlatformScrollBar.h: (WebCore::PlatformScrollbar::create): * platform/win/PopupMenuWin.cpp: (WebCore::PopupMenu::PopupMenu): (WebCore::PopupMenu::show): * platform/win/ScrollViewWin.cpp: (WebCore::ScrollView::ScrollViewPrivate::setHasHorizontalScrollbar): (WebCore::ScrollView::ScrollViewPrivate::setHasVerticalScrollbar): * platform/wx/ClipboardWx.h: (WebCore::ClipboardWx::create): * platform/wx/PlatformScrollBar.h: (WebCore::PlatformScrollbar::create): * platform/wx/PopupMenuWx.cpp: (WebCore::PopupMenu::PopupMenu): * platform/wx/TemporaryLinkStubs.cpp: (Icon::Icon): (Icon::newIconForFile): * rendering/RenderLayer.cpp: (WebCore::RenderLayer::createScrollbar): * rendering/RenderListBox.cpp: (WebCore::RenderListBox::updateFromElement): * svg/graphics/SVGImage.cpp: (WebCore::SVGImage::dataChanged): * svg/graphics/SVGImageEmptyClients.h: (WebCore::SVGEmptyFrameLoaderClient::createDocumentLoader): WebKit/gtk: 2008-06-14 Darin Adler <darin@apple.com> Reviewed by Sam. - more https://bugs.webkit.org/show_bug.cgi?id=17257 start ref counts at 1 instead of 0 for speed * WebCoreSupport/FrameLoaderClientGtk.cpp: (WebKit::FrameLoaderClient::createDocumentLoader): Use create instead of new. * webkit/webkitwebframe.cpp: (webkit_web_frame_new): Ditto. (webkit_web_frame_init_with_web_view): Ditto. WebKit/mac: 2008-06-14 Darin Adler <darin@apple.com> Reviewed by Sam. - more of https://bugs.webkit.org/show_bug.cgi?id=17257 start ref counts at 1 instead of 0 for speed * WebCoreSupport/WebFrameLoaderClient.mm: (WebFrameLoaderClient::createDocumentLoader): Use create instead of new. (WebFrameLoaderClient::createFrame): Remove now-obsolete adoptRef that was balanced by a ref call inside the Frame constructor. The lifetime rules for Frame are now the conventional ones without a special case. * WebView/WebDataSource.mm: (-[WebDataSource _initWithDocumentLoader:]): Changed argument to be a PassRefPtr, since this function takes ownership of the DocumentLoader. (-[WebDataSource initWithRequest:]): Use create instead of new. * WebView/WebDataSourceInternal.h: Changed _initWithDocumentLoader argument to be a PassRefPtr and also cleaned up the header a bit. * WebView/WebDocumentLoaderMac.h: (WebDocumentLoaderMac::create): Added. Also made the constructor and a couple of virtual functions private. * WebView/WebFrame.mm: (+[WebFrame _createFrameWithPage:frameName:frameView:ownerElement:]): Use create instead of new. WebKit/qt: 2008-06-14 Darin Adler <darin@apple.com> Reviewed by Sam. - more https://bugs.webkit.org/show_bug.cgi?id=17257 start ref counts at 1 instead of 0 for speed * Api/qwebframe.cpp: (QWebFramePrivate::init): Use create instead of new. * WebCoreSupport/FrameLoaderClientQt.cpp: (WebCore::FrameLoaderClientQt::createDocumentLoader): Ditto. WebKit/win: 2008-06-14 Darin Adler <darin@apple.com> Reviewed by Sam. - more of https://bugs.webkit.org/show_bug.cgi?id=17257 start ref counts at 1 instead of 0 for speed * WebCoreSupport/WebFrameLoaderClient.cpp: (WebFrameLoaderClient::createFrame): Remove now-obsolete adoptRef that was balanced by a ref call inside the Frame constructor. The lifetime rules for Frame are now the conventional ones without a special case. * WebFrame.cpp: (WebFrame::init): Renamed function from initWithWebFrameView and removed the unused IWebFrameView argument (every caller was passing 0). Also changed this to return the WebCore Frame object, which is needed to straighten out the lifetime and ownership issues. * WebFrame.h: Ditto. * WebView.cpp: (WebView::initWithFrame): Changed to call new init function and use the return value. WebKit/wx: 2008-06-14 Darin Adler <darin@apple.com> Reviewed by Sam. - more https://bugs.webkit.org/show_bug.cgi?id=17257 start ref counts at 1 instead of 0 for speed * WebKitSupport/FrameLoaderClientWx.cpp: (WebCore::FrameLoaderClientWx::createDocumentLoader): Use create function instead of new. LayoutTests: 2008-06-14 Darin Adler <darin@apple.com> Reviewed by Maciej. - test for https://bugs.webkit.org/show_bug.cgi?id=19538 <rdar://problem/5957595> Reading transition property from the style JS gives the wrong value * fast/dom/CSSStyleDeclaration/resources/transition-property-names.js: Added. * fast/dom/CSSStyleDeclaration/transition-property-names-expected.txt: Added. * fast/dom/CSSStyleDeclaration/transition-property-names.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@34544 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 31 Oct, 2007 1 commit
-
-
hausmann authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@27312 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 18 May, 2007 1 commit
-
-
zack authored
Return a valid pointer to a Clipboard object from newGeneralClipboard. r=me git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21568 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 09 May, 2007 1 commit
-
-
lars authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21327 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 25 Apr, 2007 1 commit
-
-
bdash authored
Fix non-Mac builds after r21081. Stub out new Editor methods for Qt and Gdk, and new SVGEmptyEditorClient methods for all non-Mac builds. * editing/qt/EditorQt.cpp: (WebCore::Editor::showSpellingGuessPanel): (WebCore::Editor::spellingPanelIsShowing): * page/qt/EventHandlerQt.cpp: (WebCore::EventHandler::passWheelEventToWidget): (WebCore::EventHandler::passMousePressEventToScrollbar): * platform/gdk/TemporaryLinkStubs.cpp: (Editor::showSpellingGuessPanel): (Editor::spellingPanelIsShowing): * platform/graphics/svg/SVGImageEmptyClients.h: (WebCore::SVGEmptyEditorClient::ignoreWordInSpellDocument): (WebCore::SVGEmptyEditorClient::learnWord): (WebCore::SVGEmptyEditorClient::checkSpellingOfString): (WebCore::SVGEmptyEditorClient::checkGrammarOfString): (WebCore::SVGEmptyEditorClient::udpateSpellingUIWithGrammarString): (WebCore::SVGEmptyEditorClient::updateSpellingUIWithMisspelledWord): (WebCore::SVGEmptyEditorClient::showSpellingUI): (WebCore::SVGEmptyEditorClient::spellingUIIsShowing): (WebCore::SVGEmptyEditorClient::getGuessesForWord): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21086 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 11 Apr, 2007 1 commit
-
-
bdash authored
Qt build fix. * WebCore.pro: * editing/qt/EditorQt.cpp: (WebCore::Editor::markBadGrammar): * history/qt/CachedPageQt.cpp: Added. (WebCore::CachedPage::close): * history/qt/PageCacheQt.cpp: Removed. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20848 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 16 Mar, 2007 1 commit
-
-
lars authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20236 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 28 Dec, 2006 1 commit
-
-
eseidel authored
Reviewed by Eric Seidel <eric@webkit.org> - Fix font sizes - Make Qt plattform build again: - Adjust Qt platform to the Image class split. - Introduce BitmapImage class - add stub PDFDocumentImage class * WebCore.pro: * editing/qt/EditorQt.cpp: (WebCore::Editor::markMisspellingsAfterTypingToPosition): * loader/qt/FrameLoaderQt.cpp: (WebCore::FrameLoader::partClearedInBegin): * platform/graphics/qt/ImageQt.cpp: (WebCore::BitmapImage::initPlatformData): (WebCore::BitmapImage::invalidatePlatformData): (WebCore::Image::loadPlatformResource): (WebCore::BitmapImage::draw): (WebCore::BitmapImage::drawTiled): (WebCore::BitmapImage::checkForSolidColor): * platform/graphics/svg/SVGPaintServerLinearGradient.h: * platform/graphics/svg/SVGPaintServerRadialGradient.h: * platform/graphics/svg/qt/SVGPaintServerLinearGradientQt.cpp: (WebCore::SVGPaintServerLinearGradient::setup): * platform/graphics/svg/qt/SVGPaintServerPatternQt.cpp: (WebCore::SVGPaintServerPattern::setup): * platform/graphics/svg/qt/SVGPaintServerQt.cpp: (WebCore::SVGPaintServer::teardown): * platform/graphics/svg/qt/SVGPaintServerRadialGradientQt.cpp: (WebCore::SVGPaintServerRadialGradient::setup): * platform/graphics/svg/qt/SVGPaintServerSolidQt.cpp: (WebCore::SVGPaintServerSolid::setup): * platform/qt/FrameQt.cpp: (WebCore::FrameQt::FrameQt): (WebCore::FrameQt::bindingRootObject): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@18463 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 08 Dec, 2006 1 commit
-
-
zack authored
Patch fixes compile of all Qt/KDE code after the recent API changes. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@18096 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 16 Nov, 2006 1 commit
-
-
ap authored
Reviewed and landed by ap. http://bugs.webkit.org/show_bug.cgi?id=11509: Windows build bustage. Also reorganizes WebCore.vcproj to add files whose absence wasn't causing compile errors, but which should have been there, and to make the include directory ordering (and contents) sane. Also reorganizes TemporaryLinkStubs.cpp to put headers and function groups in alphabetical order, and ensure that all functions in the file call notImplemented(). WebCore: * WebCore.vcproj/WebCore/WebCore.vcproj: * bridge/win/ChromeClientWin.h: (WebCore::ChromeClientWin::ref): (WebCore::ChromeClientWin::deref): * bridge/win/ContextMenuClientWin.h: Added. (WebCore::ContextMenuClientWin::~ContextMenuClientWin): (WebCore::ContextMenuClientWin::ref): (WebCore::ContextMenuClientWin::deref): * bridge/win/EditorClientWin.h: * bridge/win/FrameWin.cpp: (WebCore::FrameWin::~FrameWin): (WebCore::FrameWin::keyPress): * bridge/win/FrameWin.h: * bridge/win/PageWin.cpp: Removed. * editing/EditCommand.h: * loader/FormState.h: * loader/FrameLoader.h: * page/EventHandler.cpp: * platform/MimeTypeRegistry.cpp: (WebCore::initialiseSupportedImageMIMETypes): * platform/graphics/win/ImageWin.cpp: * platform/network/ResourceError.cpp: * platform/network/ResourceHandleInternal.h: * platform/network/win/ResourceHandleWin.cpp: (WebCore::ResourceHandle::onHandleCreated): (WebCore::ResourceHandle::onRequestRedirected): (WebCore::ResourceHandle::start): (WebCore::ResourceHandle::cancel): * platform/win/ScreenWin.cpp: (WebCore::monitorInfo): (WebCore::screenRect): (WebCore::screenAvailableRect): (WebCore::screenDepth): * platform/win/SoundWin.cpp: Added. (WebCore::systemBeep): * platform/win/TemporaryLinkStubs.cpp: (WebCore::CacheObjectExpiresTime): (WebCore::CheckCacheObjectStatus): (WebCore::CheckIfReloading): (WebCore::defaultLanguage): (WebCore::fileButtonChooseFileLabel): (WebCore::fileButtonNoFileSelectedLabel): (WebCore::findNextSentenceFromIndex): (WebCore::findNextWordFromIndex): (WebCore::findSentenceBoundary): (WebCore::findWordBoundary): (WebCore::focusRingColor): (WebCore::historyContains): (WebCore::inputElementAltText): (WebCore::IsResponseURLEqualToURL): (WebCore::cellCursor): (WebCore::contextMenuCursor): (WebCore::moveCursor): (WebCore::verticalTextCursor): (WebCore::refreshPlugins): (WebCore::resetButtonDefaultLabel): (WebCore::ResponseIsMultipart): (WebCore::ResponseMIMEType): (WebCore::ResponseURL): (WebCore::screenDepthPerComponent): (WebCore::screenIsMonochrome): (WebCore::searchableIndexIntroduction): (WebCore::ServeSynchronousRequest): (WebCore::setFocusRingColorChangeFunction): (WebCore::submitButtonDefaultLabel): (WebCore::CachedResource::setPlatformResponse): (WebCore::CachedResource::setAllData): (WebCore::ChromeClientWin::setWindowRect): (WebCore::ChromeClientWin::windowRect): (WebCore::ChromeClientWin::pageRect): (WebCore::ChromeClientWin::scaleFactor): (WebCore::ChromeClientWin::focus): (WebCore::ChromeClientWin::unfocus): (WebCore::ChromeClientWin::createWindow): (WebCore::ChromeClientWin::createModalDialog): (WebCore::ChromeClientWin::show): (WebCore::ChromeClientWin::canRunModal): (WebCore::ChromeClientWin::runModal): (WebCore::ChromeClientWin::setToolbarsVisible): (WebCore::ChromeClientWin::toolbarsVisible): (WebCore::ChromeClientWin::setStatusbarVisible): (WebCore::ChromeClientWin::statusbarVisible): (WebCore::ChromeClientWin::setScrollbarsVisible): (WebCore::ChromeClientWin::scrollbarsVisible): (WebCore::ChromeClientWin::setMenubarVisible): (WebCore::ChromeClientWin::menubarVisible): (WebCore::ChromeClientWin::setResizable): (WebCore::ContextMenu::appendItem): (WebCore::ContextMenuClientWin::addCustomContextMenuItems): (WebCore::DocumentLoader::setFrame): (WebCore::DocumentLoader::frameLoader): (WebCore::DocumentLoader::URL): (WebCore::DocumentLoader::isStopping): (WebCore::DocumentLoader::stopLoading): (WebCore::DocumentLoader::setLoading): (WebCore::DocumentLoader::updateLoading): (WebCore::DocumentLoader::setupForReplaceByMIMEType): (WebCore::DocumentLoader::isLoadingInAPISense): (WebCore::DocumentLoader::stopRecordingResponses): (WebCore::EditorClientWin::shouldDeleteRange): (WebCore::EditorClientWin::shouldShowDeleteInterface): (WebCore::EditorClientWin::isContinuousSpellCheckingEnabled): (WebCore::EditorClientWin::isGrammarCheckingEnabled): (WebCore::EditorClientWin::spellCheckerDocumentTag): (WebCore::EventHandler::focusDocumentView): (WebCore::EventHandler::handleDrag): (WebCore::EventHandler::handleMouseUp): (WebCore::EventHandler::lastEventIsMouseUp): (WebCore::EventHandler::passMousePressEventToSubframe): (WebCore::EventHandler::passMouseMoveEventToSubframe): (WebCore::EventHandler::passMouseReleaseEventToSubframe): (WebCore::EventHandler::passWheelEventToSubframe): (WebCore::EventHandler::passWidgetMouseDownEventToWidget): (WebCore::EventHandler::passMousePressEventToScrollbar): (WebCore::EventHandler::shouldDragAutoNode): (WebCore::EventHandler::tabsToAllControls): (WebCore::EventHandler::tabsToLinks): (WebCore::Frame::setNeedsReapplyStyles): (WebCore::FrameLoader::didFirstLayout): (WebCore::FrameLoader::overrideMediaType): (WebCore::FrameLoader::createJavaAppletWidget): (WebCore::FrameLoader::redirectDataToPlugin): (WebCore::FrameLoader::getHistoryLength): (WebCore::FrameLoader::setTitle): (WebCore::FrameLoader::referrer): (WebCore::FrameLoader::saveDocumentState): (WebCore::FrameLoader::restoreDocumentState): (WebCore::FrameLoader::goBackOrForward): (WebCore::FrameLoader::historyURL): (WebCore::FrameLoader::urlSelected): (WebCore::FrameLoader::createFrame): (WebCore::FrameLoader::submitForm): (WebCore::FrameLoader::partClearedInBegin): (WebCore::FrameLoader::originalRequestURL): (WebCore::FrameLoader::canGoBackOrForward): (WebCore::FrameLoader::objectContentType): (WebCore::FrameLoader::createPlugin): (WebCore::FrameLoader::detachFromParent): (WebCore::FrameLoader::checkLoadCompleteForThisFrame): (WebCore::FrameView::updateBorder): (WebCore::FrameWin::bindingRootObject): (WebCore::FrameWin::canPaste): (WebCore::FrameWin::issuePasteAndMatchStyleCommand): (WebCore::FrameWin::markedTextRange): (WebCore::FrameWin::passSubframeEventToSubframe): (WebCore::FrameWin::lastEventIsMouseUp): (WebCore::FrameWin::addMessageToConsole): (WebCore::FrameWin::shouldChangeSelection): (WebCore::FrameWin::respondToChangedSelection): (WebCore::FrameWin::clearUndoRedoOperations): (WebCore::FrameWin::markMisspellingsInAdjacentWords): (WebCore::FrameWin::respondToChangedContents): (WebCore::GraphicsContext::addRoundedRectClip): (WebCore::GraphicsContext::setShadow): (WebCore::GraphicsContext::clearShadow): (WebCore::GraphicsContext::beginTransparencyLayer): (WebCore::GraphicsContext::endTransparencyLayer): (WebCore::GraphicsContext::clearRect): (WebCore::GraphicsContext::strokeRect): (WebCore::GraphicsContext::setLineWidth): (WebCore::GraphicsContext::setLineCap): (WebCore::GraphicsContext::setLineJoin): (WebCore::GraphicsContext::setMiterLimit): (WebCore::GraphicsContext::setAlpha): (WebCore::GraphicsContext::setCompositeOperation): (WebCore::GraphicsContext::clip): (WebCore::GraphicsContext::rotate): (WebCore::GraphicsContext::scale): (WebCore::Icon::Icon): (WebCore::Icon::~Icon): (WebCore::Icon::newIconForFile): (WebCore::Icon::paint): (WebCore::IconDatabase::isIconExpiredForIconURL): (WebCore::IconDatabase::hasEntryForIconURL): (WebCore::IconDatabase::sharedIconDatabase): (WebCore::IconDatabase::setIconURLForPageURL): (WebCore::IconDatabase::setIconDataForIconURL): (WebCore::Image::drawTiled): (WebCore::Image::getHBITMAP): (WebCore::Path::Path): (WebCore::Path::~Path): (WebCore::Path::contains): (WebCore::Path::translate): (WebCore::Path::boundingRect): (WebCore::Path::operator=): (WebCore::Path::clear): (WebCore::Path::moveTo): (WebCore::Path::addLineTo): (WebCore::Path::addQuadCurveTo): (WebCore::Path::addBezierCurveTo): (WebCore::Path::addArcTo): (WebCore::Path::closeSubpath): (WebCore::Path::addArc): (WebCore::Path::addRect): (WebCore::Path::addEllipse): (WebCore::Path::transform): (WebCore::PlatformMouseEvent::PlatformMouseEvent): (WebCore::PlatformScrollbar::PlatformScrollbar): (WebCore::PlatformScrollbar::~PlatformScrollbar): (WebCore::PlatformScrollbar::width): (WebCore::PlatformScrollbar::height): (WebCore::PlatformScrollbar::setEnabled): (WebCore::PlatformScrollbar::paint): (WebCore::PlatformScrollbar::updateThumbPosition): (WebCore::PlatformScrollbar::updateThumbProportion): (WebCore::PlatformScrollbar::setRect): (WebCore::PlugInInfoStore::createPluginInfoForPluginAtIndex): (WebCore::PlugInInfoStore::pluginCount): (WebCore::PlugInInfoStore::supportsMIMEType): (WebCore::PolicyCheck::PolicyCheck): (WebCore::PolicyCheck::clear): (WebCore::PolicyCheck::clearRequest): (WebCore::PolicyCheck::call): (WebCore::RenderThemeWin::systemFont): (WebCore::RenderThemeWin::paintMenuList): (WebCore::RenderThemeWin::adjustMenuListStyle): (WebCore::ResourceLoader::cancel): (WebCore::ScrollView::addChild): (WebCore::ScrollView::removeChild): (WebCore::ScrollView::scrollPointRecursively): (WebCore::ScrollView::inWindow): (WebCore::ScrollView::paint): (WebCore::ScrollView::wheelEvent): (WebCore::ScrollView::themeChanged): (WebCore::ScrollView::convertChildToSelf): (WebCore::ScrollView::convertSelfToChild): (WebCore::ScrollView::geometryChanged): (WebCore::ScrollView::scrollbarUnderMouse): (WebCore::ScrollView::setFrameGeometry): (WebCore::ScrollView::windowResizerRect): (WebCore::ScrollView::resizerOverlapsContent): (WebCore::TextField::selectAll): (WebCore::TextField::addSearchResult): (WebCore::TextField::selectionStart): (WebCore::TextField::hasSelectedText): (WebCore::TextField::selectedText): (WebCore::TextField::setAutoSaveName): (WebCore::TextField::checksDescendantsForFocus): (WebCore::TextField::setSelection): (WebCore::TextField::setMaxResults): (WebCore::TextField::edited): (WebCore::TextField::focusPolicy): (WebCore::TextField::TextField): (WebCore::TextField::~TextField): (WebCore::TextField::setFont): (WebCore::TextField::setAlignment): (WebCore::TextField::setWritingDirection): (WebCore::TextField::maxLength): (WebCore::TextField::setMaxLength): (WebCore::TextField::text): (WebCore::TextField::setText): (WebCore::TextField::cursorPosition): (WebCore::TextField::setCursorPosition): (WebCore::TextField::setEdited): (WebCore::TextField::setReadOnly): (WebCore::TextField::setPlaceholderString): (WebCore::TextField::setColors): (WebCore::TextField::sizeForCharacterWidth): (WebCore::TextField::baselinePosition): (WebCore::TextField::setLiveSearch): (WebCore::Widget::enableFlushDrawing): (WebCore::Widget::isEnabled): (WebCore::Widget::focusPolicy): (WebCore::Widget::disableFlushDrawing): (WebCore::Widget::removeFromParent): (WebCore::Widget::lockDrawingFocus): (WebCore::Widget::unlockDrawingFocus): (WebCore::Widget::capturingMouse): (WebCore::Widget::setCapturingMouse): (WebCore::Widget::capturingTarget): (WebCore::Widget::capturingChild): (WebCore::Widget::setCapturingChild): (WebCore::Widget::convertChildToSelf): (WebCore::Widget::convertSelfToChild): (WebCore::Widget::setParent): (WebCore::Widget::parent): (WebCore::Widget::setEnabled): (WebCore::Widget::paint): (WebCore::Widget::setIsSelected): (WebCore::Widget::invalidate): (WebCore::Widget::invalidateRect): * platform/win/WidgetWin.cpp: (WebCore::Widget::clearFocus): WebKit: * COM/WebFrame.cpp: (WebFrame::initWithName): (WebFrame::loadHTMLString): (WebFrame::stopLoading): (WebFrame::reload): (WebFrame::loadDataSource): (WebFrame::didReceiveData): (WebFrame::receivedResponse): (WebFrame::receivedAllData): * COM/WebFrame.h: * COM/WebView.cpp: (WebView::mouseMoved): (WebView::mouseDown): (WebView::mouseUp): (WebView::mouseDoubleClick): * WebKit.vcproj/WebKit.vcproj: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17816 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 05 Nov, 2006 1 commit
-
-
sfalken authored
Fix build breaks * loader/DocumentLoader.h: * platform/win/ScreenWin.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17606 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 21 Sep, 2006 1 commit
-
-
ggaren authored
Reviewed by Maciej. * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj: Updated to include the right path. * wtf/FastMalloc.h: #include Platform.h, since we use Platform macros. WebCore: Reviewed by Maciej. Some Widget refactoring. * WebCore.vcproj/WebCore/WebCore.vcproj: * bridge/mac/FrameMac.mm: * bridge/win/FrameWin.cpp: (WebCore::FrameWin::runJavaScriptAlert): (WebCore::FrameWin::runJavaScriptConfirm): * bridge/win/PageWin.cpp: (WebCore::Page::Page): (WebCore::rootWindowForFrame): * html/CanvasRenderingContext2D.cpp: (WebCore::CanvasRenderingContext2D::translate): * page/FrameView.cpp: (WebCore::FrameView::isFrameView): * page/Page.h: (WebCore::Page::setInstanceHandle): (WebCore::Page::instanceHandle): * platform/GraphicsContext.h: * platform/ScrollView.h: * platform/Widget.h: * platform/cairo/GraphicsContextCairo.cpp: (WebCore::GraphicsContext::translate): (WebCore::GraphicsContext::origin): * platform/mac/WidgetMac.mm: (WebCore::Widget::clearFocus): * platform/win/ResourceLoaderWin.cpp: (WebCore::initializeOffScreenResourceLoaderWindow): * platform/win/ScreenWin.cpp: (WebCore::monitorInfo): * platform/win/ScrollViewWin.cpp: (WebCore::ScrollView::updateContents): (WebCore::ScrollView::visibleWidth): (WebCore::ScrollView::visibleHeight): (WebCore::ScrollView::visibleContentRect): (WebCore::ScrollView::viewportToContents): (WebCore::ScrollView::contentsToViewport): (WebCore::ScrollView::scrollBy): (WebCore::ScrollView::updateScrollInfo): (WebCore::ScrollView::updateScrollBars): * platform/win/SharedTimerWin.cpp: (WebCore::initializeOffScreenTimerWindow): * platform/win/TemporaryLinkStubs.cpp: (FrameView::updateBorder): (ScrollView::paint): (GraphicsContext::clip): * platform/win/WidgetWin.cpp: (WebCore::Widget::Widget): (WebCore::Widget::parentWindow): (WebCore::Widget::setParentWindow): (WebCore::Widget::frameGeometry): (WebCore::Widget::hasFocus): (WebCore::Widget::setFocus): (WebCore::Widget::show): (WebCore::Widget::hide): (WebCore::Widget::setFrameGeometry): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16515 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 24 Aug, 2006 1 commit
-
-
ggaren authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16028 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 31 May, 2006 2 commits
-
-
hyatt authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14649 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ggaren authored
- Fixed <rdar://problem/4559720> window sizing: make javascript window and screen sizing methods and properties work @ HIDPI The general approach here is to change some ints to floats, make a few key functions that scale between WebView and window/screen coordinates, and change other functions that work with screen coordinates to use the scaling functions for their underlying implementations. * manual-tests/window-open-features.html: Removed. * manual-tests/window-sizing.html: Added. More test coverage. * bindings/js/kjs_window.cpp: Changed ints to floats and IntRects to FloatRects, because window coordinates can be fractional when scaled to WebView/DOM coordinates. (KJS::floatFeature): (KJS::showModalDialog): (KJS::Window::getValueProperty): (KJS::constrainToVisible): (KJS::WindowFunc::callAsFunction): * bridge/BrowserExtension.h: * bridge/mac/BrowserExtensionMac.mm: (WebCore::BrowserExtensionMac::createNewWindow): Removed custom scaling code and replaced with calls to Page::windowRect and Page::setWindowRect. Renamed 'page' and 'bridge' to 'pageBridge' and 'frameBridge,' respectively. * bridge/mac/PageMac.mm: (WebCore::Page::windowRect): Changed to use scaling (WebCore::Page::setWindowRect): ditto * bridge/mac/WebCoreFrameBridge.mm: (globalPoint): * page/Page.h: * platform/IntRect.h: * platform/Screen.h: * platform/mac/MouseEventMac.mm: (WebCore::globalPositionForEvent): Changed to use flipScreenPoint * platform/mac/ScreenMac.mm: (WebCore::flipScreenRect): New key function (WebCore::flipScreenPoint): New key function (WebCore::scaleScreenRectToView): New key function (WebCore::scaleViewRectToScreen): New key function (WebCore::screenRect): Changed to use scaling (WebCore::usableScreenRect): ditto Feeble attempt to preserve Windows build: * platform/win/ScreenWin.cpp: (WebCore::scaleScreenRectToWidget): stub -- doesn't actually scale (WebCore::scaleWidgetRectToScreen): ditto * bridge/win/PageWin.cpp: (WebCore::Page::Page): (WebCore::Page::widget): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14643 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 08 Mar, 2006 1 commit
-
-
eseidel authored
Reviewed by mjs. Add stubs to allow JavaScript-enabled WebCore to not crash. Add ScreenWin implementation. Add alert() support. * WebCore.vcproj/WebCore/WebCore.vcproj: * bridge/win/FrameWin.cpp: (WebCore::FrameWin::runJavaScriptAlert): (WebCore::FrameWin::runJavaScriptConfirm): * platform/win/ScreenWin.cpp: Added. (WebCore::monitorInfoForWidget): (WebCore::WebCore::screenRect): (WebCore::WebCore::screenDepth): (WebCore::WebCore::usableScreenRect): * platform/win/TemporaryLinkStubs.cpp: (FrameWin::canUndo): (FrameWin::runJavaScriptPrompt): (FrameWin::canPaste): (WebCore::setCookies): (WebCore::cookies): (WebCore::cookiesEnabled): (PlugInInfoStore::createPluginInfoForPluginAtIndex): (PlugInInfoStore::pluginCount): (WebCore::refreshPlugins): (FrameWin::clearUndoRedoOperations): (FrameWin::incomingReferrer): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13212 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 03 Mar, 2006 1 commit
-
-
eseidel authored
Reviewed by mjs. Wire up WidgetWin, CursorWin, ScrollViewWin. Stub out methods for selection and cursors. * Viewer/ImageDocument.h: * WebCore.vcproj/WebCore/WebCore.vcproj: * bridge/win/FrameWin.cpp: * khtml/ecma/kjs_proxy.cpp: (WebCore::KJSProxyImpl::initScriptIfNeeded): * platform/IntRect.h: (WebCore::IntRect::IntRect): * platform/Widget.h: * platform/win/CursorWin.cpp: (WebCore::eastResizeCursor): (WebCore::northResizeCursor): (WebCore::northEastResizeCursor): (WebCore::northWestResizeCursor): (WebCore::southResizeCursor): (WebCore::southEastResizeCursor): (WebCore::southWestResizeCursor): (WebCore::westResizeCursor): * platform/win/IntRectWin.cpp: (WebCore::IntRect::IntRect): (WebCore::IntRect::operator RECT): * platform/win/MouseEventWin.cpp: * platform/win/ScrollViewWin.cpp: Added. (WebCore::ScrollView::updateContents): * platform/win/TemporaryLinkStubs.cpp: (QTextEdit::textWithHardLineBreaks): (QLineEdit::setPlaceholderString): (QScrollBar::scroll): (GraphicsContext::beginTransparencyLayer): (Widget::setIsSelected): (QLineEdit::selectedText): (QComboBox::sizeHint): (KWQFileButton::focusPolicy): (QTextEdit::focusPolicy): (QSlider::focusPolicy): (QListBox::focusPolicy): (QLineEdit::focusPolicy): (WebCore::moveCursor): (ScrollView::scrollBy): (KWQKCookieJar::cookieEnabled): (WebCore::TransferJob::TransferJob): (WebCore::screenDepth): (WebCore::usableScreenRect): (FrameWin::getObjectInstanceForWidget): (FrameWin::getEmbedInstanceForWidget): (FrameWin::getAppletInstanceForWidget): (FrameWin::passMouseDownEventToWidget): (FrameWin::issuePasteCommand): (FrameWin::issueTransposeCommand): (QSlider::setFont): (QLineEdit::setFont): (QListBox::setFont): (QFontMetrics::QFontMetrics): (QComboBox::setFont): (QTextEdit::setFont): (QTextEdit::setWritingDirection): (QFontMetrics::setFontDescription): (QFontMetrics::checkSelectionPoint): (FrameWin::addMessageToConsole): (FrameWin::shouldChangeSelection): (ScrollView::resizeContents): (ScrollView::visibleHeight): (ScrollView::visibleWidth): (ScrollView::setContentsPos): (ScrollView::contentsX): (ScrollView::contentsY): (ScrollView::contentsHeight): (ScrollView::contentsWidth): (ScrollView::viewportToContents): * platform/win/WidgetWin.cpp: Added. (WebCore::Widget::Widget): (WebCore::Widget::~Widget): (WebCore::Widget::windowHandle): (WebCore::Widget::setWindowHandle): (WebCore::Widget::setActiveWindow): (WebCore::Widget::frameGeometry): (WebCore::Widget::hasFocus): (WebCore::Widget::setFocus): (WebCore::Widget::clearFocus): (WebCore::Widget::font): (WebCore::Widget::setFont): (WebCore::Widget::setCursor): (WebCore::Widget::show): (WebCore::Widget::hide): (WebCore::Widget::setFrameGeometry): (WebCore::Widget::mapFromGlobal): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13113 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 01 Mar, 2006 1 commit
-
-
eseidel authored
Reviewed by mjs. Fix win32 build, add IntRectWin and GraphicsContextCairo stub. * Viewer/ImageDocument.cpp: * Viewer/ImageMainFrame.cpp: * WebCore.vcproj/WebCore/WebCore.vcproj: * platform/IntRect.h: * platform/cairo/GraphicsContextCairo.cpp: Added. * platform/win/TemporaryLinkStubs.cpp: (GraphicsContext::drawLineForText): (WebCore::GraphicsContext::fillRect): (WebCore::TransferJob::TransferJob): (GraphicsContext::GraphicsContext): (WebCore::GraphicsContext::~GraphicsContext): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13077 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 23 Feb, 2006 1 commit
-
-
darin authored
- moved QMouseEvent, QKeyEvent, QWheelEvent, and "Foundation extras" from kwq to platform directory - moved history function from kwq to bridge directory - eliminated QEvent, MousePressEvent, MouseDoubleClickEvent, MouseMoveEvent, MoveReleaseEvent, and DrawContents classes - merged NodeImpl::MouseEvent and the MouseEvent from khtml_events.h into a single class in the page directory - broke khtmllayout.h out into a file for the Length structure in the css directory and a file for the GapRects structure in the rendering directory - redid the Length structure to work more portably by not relying on bitfield layout and improve the names to no longer explicitly mention "width" - reduced use of QGuardedPtr and other uses of the QObject "destroyed" signal * ForwardingHeaders/kparts: Removed. * ForwardingHeaders/qevent.h: Removed. * khtml/khtml_events.cpp: Removed. * khtml/khtml_events.h: Removed. * khtml/misc/khtmllayout.h: Removed. * kwq/KWQEvent.h: Removed. * kwq/KWQEvent.mm: Removed. * kwq/KWQFoundationExtras.h: Removed. * kwq/KWQKHistoryProvider.mm: Removed. * kwq/KWQKPartsHistoryProvider.h: Removed. * bridge/History.h: Added. * bridge/mac/HistoryMac.mm: Added. * css/Length.h: Added. * page/MouseEventWithHitTestResults.h: Added. * platform/KeyEvent.h: Added. * platform/MouseEvent.h: Added. * platform/WheelEvent.h: Added. * platform/mac/FoundationExtras.h: Added. * platform/mac/KeyEventMac.mm: Added. * platform/mac/MouseEventMac.mm: Added. * platform/mac/WheelEventMac.mm: Added. * rendering/GapRects.h: Added. * WebCore.xcodeproj/project.pbxproj: Updated for above changes. * WebCore.vcproj/WebCore/WebCore.vcproj: Updated for above changes. * bridge/mac/MacFrame.h: Removed unused parameters from urlSelected functions. Replaced MouseEvent, MousePressEvent, MouseMoveEvent, and MouseReleaseEvent with MouseEventWithHitTestResults. * bridge/mac/MacFrame.mm: (WebCore::MacFrame::urlSelected): Removed unused parameters. (WebCore::MacFrame::wheelEvent): Changed to use WheelEvent. (WebCore::MacFrame::keyEvent): Changed to use KeyEvent. (WebCore::MacFrame::khtmlMousePressEvent): Changed parameter type. (WebCore::MacFrame::khtmlMouseMoveEvent): Ditto. (WebCore::MacFrame::khtmlMouseReleaseEvent): Ditto. (WebCore::MacFrame::passSubframeEventToSubframe): Ditto. (WebCore::MacFrame::mouseDown): Changed to use MouseEvent. (WebCore::MacFrame::mouseDragged): Ditto. (WebCore::MacFrame::mouseUp): Ditto. (WebCore::MacFrame::mouseMoved): Ditto. (WebCore::MacFrame::sendContextMenuEvent): Ditto. * css/csshelper.h: Removed a bunch of unused declarations. * dom/DocumentImpl.h: * dom/DocumentImpl.cpp: (WebCore::DocumentImpl::prepareMouseEvent): Changed to take a MouseEvent and return a MouseEventWithHitTestResults. (WebCore::DocumentImpl::defaultEventHandler): Changed to use KeyEvent. * dom/NodeImpl.h: Removed NodeImpl::MouseEvent and NodeImpl::MouseEventType. * dom/NodeImpl.cpp: (WebCore::NodeImpl::dispatchMouseEvent): Changed to always get the type and detail values from the caller, never from the event. Changed to use MouseEvent. (WebCore::NodeImpl::dispatchKeyEvent): Changed to use KeyEvent. (WebCore::NodeImpl::dispatchWheelEvent): Changed to use WheelEvent. * dom/dom2_eventsimpl.h: * dom/dom2_eventsimpl.cpp: (WebCore::KeyboardEventImpl::KeyboardEventImpl): Changed to use KeyEvent. (WebCore::KeyboardEventImpl::charCode): Ditto. * dom/dom_elementimpl.h: Removed unused mouseEventHandler function. * khtml/ecma/domparser.h: Use RefPtr instead of QGuardedPtr to hold the reference to the document. * khtml/ecma/kjs_proxy.h: (WebCore::KJSProxyImpl::haveInterpreter): Added. For use in the Frame destructor so we can get an existing KJS::Window object without creating a new interpreter and window object. * khtml/ecma/kjs_window.h: Merged WindowQObject into Window. Changed all the guarded pointers to Frame to use plain old pointers that are cleared by the Frame explicitly (by the function disconnectFrame). Made the pointers to all the sub-objects of KJS::Window be mutable so we don't have to const_cast in the functions to get (and lazily create) them. * khtml/ecma/kjs_window.cpp: (KJS::DOMWindowTimer::DOMWindowTimer): Use Window* instead of WindowQObject*. (KJS::History::disconnectFrame): Added. Clears m_frame. (KJS::FrameArray::disconnectFrame): Added. Clears m_frame. (KJS::Window::Window): Removed code to create a WindowQObject. (KJS::Window::~Window): Removed code to delete a WindowQObject. (KJS::Window::location): Remove now-unneeded const_cast. (KJS::Window::selection): Ditto. (KJS::Window::locationbar): Ditto. (KJS::Window::menubar): Ditto. (KJS::Window::personalbar): Ditto. (KJS::Window::statusbar): Ditto. (KJS::Window::toolbar): Ditto. (KJS::Window::scrollbars): Ditto. (KJS::Window::getValueProperty): Update since m_frame is now a raw pointer. (KJS::Window::getOwnPropertySlot): Ditto. (KJS::Window::toBoolean): Ditto. (KJS::Window::scheduleClose): Remove assert that WindowQObject* is not null. (KJS::Window::isSafeScript): Update since m_frame is now a raw pointer. (KJS::Window::clear): Remove code to delete a WindowQObject. Added a call to clearAllTimeouts instead. (KJS::Window::clearAllTimeouts): Added. Does equivalent of the WindowQObject destructor. (KJS::Window::installTimeout): Moved to Window from WindowQObject. (KJS::Window::pauseTimeouts): Ditto. (KJS::Window::resumeTimeouts): Ditto. (KJS::Window::clearTimeout): Ditto. (KJS::Window::timerFired): Ditto. (KJS::Window::disconnectFrame): Added. Sets all the frame pointers to 0. (KJS::FrameArray::getOwnPropertySlot): Update since m_frame is now a raw pointer. (KJS::Location::getOwnPropertySlot): Ditto. (KJS::Location::put): Ditto. (KJS::Selection::getOwnPropertySlot): Ditto. (KJS::BarInfo::getOwnPropertySlot): Ditto. * khtml/html/html_baseimpl.h: Forward-declare Length instead of including khtmllayout.h. * khtml/html/html_imageimpl.h: Ditto. * khtml/html/html_inlineimpl.cpp: (WebCore::HTMLAnchorElementImpl::defaultEventHandler): Changed to use KeyEvent and removed the code to extract the button and state from the DOM even to pass to urlSelected. * ksvg2/svg/SVGAElementImpl.cpp: (SVGAElementImpl::defaultEventHandler): Ditto. * khtml/html/htmltokenizer.cpp: (WebCore::HTMLTokenizer::timerFired): Change to use a RefPtr instead of a QGuardedPtr. * khtml/misc/helper.h: * khtml/misc/helper.cpp: Removed printpainter and setPrintPainter. * ksvg2/svg/SVGDocumentImpl.h: * ksvg2/svg/SVGDocumentImpl.cpp: (WebCore::SVGDocumentImpl::dispatchKeyEvent): Change to use KeyEvent. * kwq/KWQComboBox.mm: (-[KWQPopUpButton becomeFirstResponder]): (-[KWQPopUpButton resignFirstResponder]): * kwq/KWQFileButton.mm: (KWQFileButton::focusChanged): * kwq/KWQListBox.mm: (-[KWQTableView becomeFirstResponder]): (-[KWQTableView resignFirstResponder]): * kwq/KWQSlider.mm: (-[KWQSlider becomeFirstResponder]): (-[KWQSlider resignFirstResponder]): * kwq/KWQTextArea.mm: (-[KWQTextAreaTextView becomeFirstResponder]): (-[KWQTextAreaTextView resignFirstResponder]): * kwq/KWQTextField.mm: (-[KWQTextFieldController setHasFocus:]): Updated to use new eventFilterFocusIn/Out instead of the general purpose eventFilter function. This allows us to remove QEvent and the focus events. * kwq/KWQNamespace.h: Removed ButtonState. * kwq/KWQObject.h: * kwq/KWQObject.cpp: Replaced eventFilter function with eventFilterFocusIn and eventFilterFocusOut, allowing us to remove QEvent. Removed event function. * kwq/KWQSlot.cpp: (KWQSlot::KWQSlot): Removed the parentDestroyed slot. (KWQSlot::call): Ditto. * page/Frame.h: * page/Frame.cpp: (WebCore::UserStyleSheetLoader::UserStyleSheetLoader): Renamed from PartStyleSheetLoader. Removed a lot of unneeded null checks. Use a raw Frame pointer instead of a QGuardedPtr, and count on the Frame to delete us when it's being deleted. (WebCore::UserStyleSheetLoader::~UserStyleSheetLoader): No longer a virtual function. This is not a polymorphic class. (WebCore::UserStyleSheetLoader::setStyleSheet): Remove code to delete ourselves -- that's now the frame's responsibility. (WebCore::Frame::~Frame): Call disconnectFrame on the KJS::Window and delete m_userStyleSheetLoader. (WebCore::Frame::changeLocation): Update since urlSelected no longer takes button and state parameters. (WebCore::Frame::setUserStyleSheet): Delete existing loader to stop a load in progress before starting a new load. Store reference to loader. (WebCore::Frame::urlSelected): Remove button and state parameters and unused local variable hasTarget. (WebCore::Frame::selectClosestWordFromMouseEvent): Change from QMouseEvent to MouseEvent. (WebCore::Frame::handleMousePressEventDoubleClick): Change from MousePressEvent to MouseEventWithHitTestResults. (WebCore::Frame::handleMousePressEventTripleClick): Ditto. (WebCore::Frame::handleMousePressEventSingleClick): Ditto. (WebCore::Frame::khtmlMousePressEvent): Ditto. (WebCore::Frame::handleMouseMoveEventSelection): Change from MouseMoveEvent to MouseEventWithHitTestResults. (WebCore::Frame::khtmlMouseMoveEvent): Ditto. (WebCore::Frame::khtmlMouseReleaseEvent): Change from MouseReleaseEvent to MouseEventWithHitTestResults. (WebCore::Frame::khtmlMouseDoubleClickEvent): Change from MouseReleaseDoubleClickEvent to MouseEventWithHitTestResults. (WebCore::Frame::passWidgetMouseDownEventToWidget): Change from NodeImpl::MouseEvent to MouseEventWithHitTestResults. * page/FramePrivate.h: Added m_userStyleSheetLoader. * page/FrameView.h: * page/FrameView.cpp: (WebCore::FrameView::viewportMousePressEvent): Change from QMouseEvent to MouseEvent and from NodeImpl::MouseEvent to MouseEventWithHitTestResults. (WebCore::FrameView::viewportMouseDoubleClickEvent): Ditto. (WebCore::selectCursor): Ditto. (WebCore::FrameView::viewportMouseMoveEvent): Ditto. (WebCore::FrameView::viewportMouseReleaseEvent): Ditto. (WebCore::FrameView::keyPressEvent): Change from QKeyEvent to KeyEvent. (WebCore::FrameView::dispatchMouseEvent): Change from QMouseEvent to MouseEvent and from NodeImpl::MouseEvent to MouseEventWithHitTestResults. (WebCore::FrameView::viewportWheelEvent): Change from QWheelEvent to WheelEvent. (WebCore::FrameView::hoverTimerFired): Update for change to prepareMouseEvent parameters. * platform/Widget.h: * platform/Widget.cpp: Removed event function. * rendering/render_form.h: Removed LineEditWidget, ComboBoxWidget, TextAreaWidget. * rendering/render_form.cpp: (WebCore::RenderFormElement::slotClicked): Changed from QMouseEvent to MouseEvent. (WebCore::RenderFormElement::addIntrinsicMarginsIfAllowed): Updated for changes to the Length class. (WebCore::RenderSelect::setWidgetWritingDirection): Updated for removal of ComboBoxWidget. (WebCore::RenderSelect::slotSelected): Ditto. (WebCore::RenderSelect::createComboBox): Ditto. * rendering/render_replaced.h: * rendering/render_replaced.cpp: (WebCore::RenderWidget::destroy): Updated since removeEventFilter no longer takes a parameter. (WebCore::RenderWidget::setQWidget): Ditto. (WebCore::RenderWidget::eventFilterFocusIn): Added. Replaces eventFilter. (WebCore::RenderWidget::eventFilterFocusOut): Ditto. * css/css_computedstyle.cpp: (WebCore::valueForLength): (WebCore::CSSComputedStyleDeclarationImpl::getPropertyCSSValue): * css/cssstyleselector.cpp: (WebCore::checkPseudoState): (WebCore::CSSStyleSelector::applyProperty): (WebCore::CSSStyleSelector::getComputedSizeFromSpecifiedSize): * khtml/html/html_imageimpl.cpp: (WebCore::HTMLAreaElementImpl::getRegion): * rendering/RenderBlock.cpp: (WebCore::RenderBlock::MarginInfo::MarginInfo): (WebCore::RenderBlock::isSelfCollapsingBlock): (WebCore::RenderBlock::layoutBlock): (WebCore::RenderBlock::determineHorizontalPosition): (WebCore::RenderBlock::leftRelOffset): (WebCore::RenderBlock::rightRelOffset): (WebCore::RenderBlock::calcMinMaxWidth): (WebCore::getBPMWidth): (WebCore::RenderBlock::calcInlineMinMaxWidth): (WebCore::RenderBlock::calcBlockMinMaxWidth): * rendering/RenderTable.cpp: (WebCore::RenderTable::calcWidth): (WebCore::RenderTable::layout): * rendering/RenderTableCell.cpp: (WebCore::RenderTableCell::calcMinMaxWidth): * rendering/RenderTableSection.cpp: (WebCore::RenderTableSection::addChild): (WebCore::RenderTableSection::addCell): (WebCore::RenderTableSection::calcRowHeight): (WebCore::RenderTableSection::layoutRows): * rendering/RenderText.h: (khtml::RenderText::marginLeft): (khtml::RenderText::marginRight): * rendering/bidi.cpp: (khtml::getBPMWidth): * rendering/render_applet.cpp: (WebCore::RenderApplet::createWidgetIfNecessary): * rendering/render_box.cpp: (WebCore::RenderBox::paintBackgroundExtended): (WebCore::RenderBox::getClipRect): (WebCore::RenderBox::relativePositionOffset): (WebCore::RenderBox::calcWidth): (WebCore::RenderBox::calcWidthUsing): (WebCore::RenderBox::sizesToIntrinsicWidth): (WebCore::RenderBox::calcHorizontalMargins): (WebCore::RenderBox::calcHeight): (WebCore::RenderBox::calcHeightUsing): (WebCore::RenderBox::calcPercentageHeight): (WebCore::RenderBox::calcReplacedWidth): (WebCore::RenderBox::calcReplacedWidthUsing): (WebCore::RenderBox::calcReplacedHeight): (WebCore::RenderBox::calcReplacedHeightUsing): (WebCore::RenderBox::availableHeightUsing): (WebCore::RenderBox::calcVerticalMargins): (WebCore::RenderBox::calcAbsoluteHorizontal): (WebCore::RenderBox::calcAbsoluteHorizontalValues): (WebCore::RenderBox::calcAbsoluteVertical): (WebCore::RenderBox::calcAbsoluteVerticalValues): * rendering/render_br.cpp: (WebCore::RenderBR::lineHeight): * rendering/render_flexbox.cpp: (khtml::RenderFlexibleBox::calcHorizontalMinMaxWidth): (khtml::RenderFlexibleBox::calcVerticalMinMaxWidth): (khtml::RenderFlexibleBox::calcMinMaxWidth): (khtml::RenderFlexibleBox::allowedChildFlex): * rendering/render_flow.cpp: (WebCore::RenderFlow::lineHeight): * rendering/render_frames.cpp: (WebCore::RenderFrameSet::layout): * rendering/render_image.cpp: (WebCore::RenderImage::isWidthSpecified): (WebCore::RenderImage::isHeightSpecified): * rendering/render_layer.cpp: (WebCore::Marquee::direction): (WebCore::Marquee::start): (WebCore::Marquee::updateMarqueeStyle): (WebCore::Marquee::timerFired): * rendering/render_line.cpp: (WebCore::InlineFlowBox::marginLeft): (WebCore::InlineFlowBox::marginRight): * rendering/render_object.cpp: (WebCore::RenderObject::mustRepaintBackgroundOrBorder): (WebCore::RenderObject::paintBorderImage): (WebCore::RenderObject::paddingTop): (WebCore::RenderObject::paddingBottom): (WebCore::RenderObject::paddingLeft): (WebCore::RenderObject::paddingRight): (WebCore::RenderObject::getVerticalPosition): (WebCore::RenderObject::lineHeight): (WebCore::RenderObject::addDashboardRegions): * rendering/render_style.h: * rendering/render_theme_mac.mm: (WebCore::RenderThemeMac::addIntrinsicMargins): * rendering/table_layout.cpp: (WebCore::FixedTableLayout::calcWidthArray): (WebCore::FixedTableLayout::calcMinMaxWidth): (WebCore::FixedTableLayout::layout): (WebCore::AutoTableLayout::recalcColumn): (WebCore::AutoTableLayout::fullRecalc): (WebCore::AutoTableLayout::calcMinMaxWidth): (WebCore::AutoTableLayout::calcEffectiveWidth): (WebCore::AutoTableLayout::layout): (WebCore::AutoTableLayout::calcPercentages): Updated for changes to the Length class. Also removed a check of the printpainter global, never used in WebCore. * bindings/objc/DOM.mm: * bindings/objc/DOMCSS.mm: * bindings/objc/DOMHTML.mm: * bridge/mac/WebCoreFrameBridge.mm: * css/csshelper.cpp: * editing/SelectionController.cpp: * khtml/ecma/kjs_html.h: * kwq/KWQAccObject.mm: * kwq/KWQAccObjectCache.mm: * kwq/KWQClipboard.mm: * kwq/KWQFont.mm: * kwq/KWQFontMetrics.mm: * kwq/KWQKJobClasses.mm: * kwq/KWQKURL.mm: * kwq/KWQLoader.mm: * kwq/KWQPageState.mm: * kwq/KWQPainter.mm: * kwq/WebCoreSettings.mm: * platform/StringImpl.cpp: * platform/mac/CursorMac.mm: * platform/mac/WidgetMac.mm: * rendering/RenderBlock.h: * rendering/render_canvas.cpp: * rendering/render_line.h: * rendering/render_style.cpp: * rendering/table_layout.h: Updated includes. * bindings/js/JSDOMCore.cpp: Touched, because I got strange failures if this didn't rebuild. * bindings/js/JSDOMEvents.cpp: Ditto. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12953 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 22 Feb, 2006 1 commit
-
-
eseidel authored
Reviewed by darin. Adding stub FrameWin class to expose link errors. * WebCore.vcproj/WebCore/WebCore.vcproj: * bridge/win/FrameWin.cpp: Added. * bridge/win/FrameWin.h: Added. (WebCore::Win): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12933 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 14 Feb, 2006 1 commit
-
-
darin authored
- moved editing sources from khtml/editing to editing, and renamed files with single classes * WebCore.xcodeproj/project.pbxproj: Added new, removed old. * WebCore.vcproj/WebCore/WebCore.vcproj: Ditto. * bridge/mac/MacFrame.mm: * bridge/mac/WebCoreFrameBridge.mm: * dom/DocumentImpl.cpp: * dom/dom2_rangeimpl.cpp: * dom/dom_position.cpp: * khtml/khtml_events.cpp: * kwq/KWQAccObject.mm: * kwq/KWQAccObjectCache.h: * kwq/KWQEditCommand.mm: * page/Frame.cpp: * page/FramePrivate.h: * rendering/RenderBlock.cpp: * rendering/RenderContainer.cpp: * rendering/RenderText.cpp: * rendering/render_br.cpp: * rendering/render_inline.cpp: * rendering/render_object.cpp: * rendering/render_replaced.cpp: Fixed up includes. * editing: Added. * editing/AppendNodeCommand.cpp: Added. * editing/AppendNodeCommand.h: Added. * editing/ApplyStyleCommand.cpp: Added. * editing/ApplyStyleCommand.h: Added. * editing/BreakBlockquoteCommand.cpp: Added. * editing/BreakBlockquoteCommand.h: Added. * editing/CompositeEditCommand.cpp: Added. * editing/CompositeEditCommand.h: Added. * editing/DeleteFromTextNodeCommand.cpp: Added. * editing/DeleteFromTextNodeCommand.h: Added. * editing/DeleteSelectionCommand.cpp: Added. * editing/DeleteSelectionCommand.h: Added. * editing/EditCommand.cpp: Added. * editing/EditCommand.h: Added. * editing/InsertIntoTextNodeCommand.cpp: Added. * editing/InsertIntoTextNodeCommand.h: Added. * editing/InsertLineBreakCommand.cpp: Added. * editing/InsertLineBreakCommand.h: Added. * editing/InsertNodeBeforeCommand.cpp: Added. * editing/InsertNodeBeforeCommand.h: Added. * editing/InsertParagraphSeparatorCommand.cpp: Added. * editing/InsertParagraphSeparatorCommand.h: Added. * editing/InsertTextCommand.cpp: Added. * editing/InsertTextCommand.h: Added. * editing/JoinTextNodesCommand.cpp: Added. * editing/JoinTextNodesCommand.h: Added. * editing/MergeIdenticalElementsCommand.cpp: Added. * editing/MergeIdenticalElementsCommand.h: Added. * editing/MoveSelectionCommand.cpp: Added. * editing/MoveSelectionCommand.h: Added. * editing/RebalanceWhitespaceCommand.cpp: Added. * editing/RebalanceWhitespaceCommand.h: Added. * editing/RemoveCSSPropertyCommand.cpp: Added. * editing/RemoveCSSPropertyCommand.h: Added. * editing/RemoveNodeAttributeCommand.cpp: Added. * editing/RemoveNodeAttributeCommand.h: Added. * editing/RemoveNodeCommand.cpp: Added. * editing/RemoveNodeCommand.h: Added. * editing/RemoveNodePreservingChildrenCommand.cpp: Added. * editing/RemoveNodePreservingChildrenCommand.h: Added. * editing/ReplaceSelectionCommand.cpp: Added. * editing/ReplaceSelectionCommand.h: Added. * editing/Selection.cpp: * editing/SelectionController.cpp: * editing/SetNodeAttributeCommand.cpp: Added. * editing/SetNodeAttributeCommand.h: Added. * editing/SplitElementCommand.cpp: Added. * editing/SplitElementCommand.h: Added. * editing/SplitTextNodeCommand.cpp: Added. * editing/SplitTextNodeCommand.h: Added. * editing/SplitTextNodeContainingElementCommand.cpp: Added. * editing/SplitTextNodeContainingElementCommand.h: Added. * editing/TypingCommand.cpp: Added. * editing/TypingCommand.h: Added. * editing/VisiblePosition.cpp: Added. * editing/VisiblePosition.h: Added. * editing/VisibleRange.cpp: Added. * editing/VisibleRange.h: Added. * editing/WrapContentsInDummySpanCommand.cpp: Added. * editing/WrapContentsInDummySpanCommand.h: Added. * editing/append_node_command.cpp: Removed. * editing/append_node_command.h: Removed. * editing/apply_style_command.cpp: Removed. * editing/apply_style_command.h: Removed. * editing/break_blockquote_command.cpp: Removed. * editing/break_blockquote_command.h: Removed. * editing/composite_edit_command.cpp: Removed. * editing/composite_edit_command.h: Removed. * editing/delete_from_text_node_command.cpp: Removed. * editing/delete_from_text_node_command.h: Removed. * editing/delete_selection_command.cpp: Removed. * editing/delete_selection_command.h: Removed. * editing/edit_command.cpp: Removed. * editing/edit_command.h: Removed. * editing/htmlediting.cpp: * editing/insert_into_text_node_command.cpp: Removed. * editing/insert_into_text_node_command.h: Removed. * editing/insert_line_break_command.cpp: Removed. * editing/insert_line_break_command.h: Removed. * editing/insert_node_before_command.cpp: Removed. * editing/insert_node_before_command.h: Removed. * editing/insert_paragraph_separator_command.cpp: Removed. * editing/insert_paragraph_separator_command.h: Removed. * editing/insert_text_command.cpp: Removed. * editing/insert_text_command.h: Removed. * editing/join_text_nodes_command.cpp: Removed. * editing/join_text_nodes_command.h: Removed. * editing/jsediting.cpp: * editing/markup.cpp: * editing/merge_identical_elements_command.cpp: Removed. * editing/merge_identical_elements_command.h: Removed. * editing/move_selection_command.cpp: Removed. * editing/move_selection_command.h: Removed. * editing/rebalance_whitespace_command.cpp: Removed. * editing/rebalance_whitespace_command.h: Removed. * editing/remove_css_property_command.cpp: Removed. * editing/remove_css_property_command.h: Removed. * editing/remove_node_attribute_command.cpp: Removed. * editing/remove_node_attribute_command.h: Removed. * editing/remove_node_command.cpp: Removed. * editing/remove_node_command.h: Removed. * editing/remove_node_preserving_children_command.cpp: Removed. * editing/remove_node_preserving_children_command.h: Removed. * editing/replace_selection_command.cpp: Removed. * editing/replace_selection_command.h: Removed. * editing/set_node_attribute_command.cpp: Removed. * editing/set_node_attribute_command.h: Removed. * editing/split_element_command.cpp: Removed. * editing/split_element_command.h: Removed. * editing/split_text_node_command.cpp: Removed. * editing/split_text_node_command.h: Removed. * editing/split_text_node_containing_element.cpp: Removed. * editing/split_text_node_containing_element_command.h: Removed. * editing/typing_command.cpp: Removed. * editing/typing_command.h: Removed. * editing/visible_position.cpp: Removed. * editing/visible_position.h: Removed. * editing/visible_range.cpp: Removed. * editing/visible_range.h: Removed. * editing/visible_units.cpp: * editing/wrap_contents_in_dummy_span_command.cpp: Removed. * editing/wrap_contents_in_dummy_span_command.h: Removed. * khtml/editing: Removed. * khtml/editing/Selection.cpp: Removed. * khtml/editing/Selection.h: Removed. * khtml/editing/SelectionController.cpp: Removed. * khtml/editing/SelectionController.h: Removed. * khtml/editing/append_node_command.cpp: Removed. * khtml/editing/append_node_command.h: Removed. * khtml/editing/apply_style_command.cpp: Removed. * khtml/editing/apply_style_command.h: Removed. * khtml/editing/break_blockquote_command.cpp: Removed. * khtml/editing/break_blockquote_command.h: Removed. * khtml/editing/composite_edit_command.cpp: Removed. * khtml/editing/composite_edit_command.h: Removed. * khtml/editing/delete_from_text_node_command.cpp: Removed. * khtml/editing/delete_from_text_node_command.h: Removed. * khtml/editing/delete_selection_command.cpp: Removed. * khtml/editing/delete_selection_command.h: Removed. * khtml/editing/edit_actions.h: Removed. * khtml/editing/edit_command.cpp: Removed. * khtml/editing/edit_command.h: Removed. * khtml/editing/html_interchange.cpp: Removed. * khtml/editing/html_interchange.h: Removed. * khtml/editing/htmlediting.cpp: Removed. * khtml/editing/htmlediting.h: Removed. * khtml/editing/insert_into_text_node_command.cpp: Removed. * khtml/editing/insert_into_text_node_command.h: Removed. * khtml/editing/insert_line_break_command.cpp: Removed. * khtml/editing/insert_line_break_command.h: Removed. * khtml/editing/insert_node_before_command.cpp: Removed. * khtml/editing/insert_node_before_command.h: Removed. * khtml/editing/insert_paragraph_separator_command.cpp: Removed. * khtml/editing/insert_paragraph_separator_command.h: Removed. * khtml/editing/insert_text_command.cpp: Removed. * khtml/editing/insert_text_command.h: Removed. * khtml/editing/join_text_nodes_command.cpp: Removed. * khtml/editing/join_text_nodes_command.h: Removed. * khtml/editing/jsediting.cpp: Removed. * khtml/editing/jsediting.h: Removed. * khtml/editing/markup.cpp: Removed. * khtml/editing/markup.h: Removed. * khtml/editing/merge_identical_elements_command.cpp: Removed. * khtml/editing/merge_identical_elements_command.h: Removed. * khtml/editing/move_selection_command.cpp: Removed. * khtml/editing/move_selection_command.h: Removed. * khtml/editing/rebalance_whitespace_command.cpp: Removed. * khtml/editing/rebalance_whitespace_command.h: Removed. * khtml/editing/remove_css_property_command.cpp: Removed. * khtml/editing/remove_css_property_command.h: Removed. * khtml/editing/remove_node_attribute_command.cpp: Removed. * khtml/editing/remove_node_attribute_command.h: Removed. * khtml/editing/remove_node_command.cpp: Removed. * khtml/editing/remove_node_command.h: Removed. * khtml/editing/remove_node_preserving_children_command.cpp: Removed. * khtml/editing/remove_node_preserving_children_command.h: Removed. * khtml/editing/replace_selection_command.cpp: Removed. * khtml/editing/replace_selection_command.h: Removed. * khtml/editing/set_node_attribute_command.cpp: Removed. * khtml/editing/set_node_attribute_command.h: Removed. * khtml/editing/split_element_command.cpp: Removed. * khtml/editing/split_element_command.h: Removed. * khtml/editing/split_text_node_command.cpp: Removed. * khtml/editing/split_text_node_command.h: Removed. * khtml/editing/split_text_node_containing_element.cpp: Removed. * khtml/editing/split_text_node_containing_element_command.h: Removed. * khtml/editing/text_affinity.h: Removed. * khtml/editing/text_granularity.h: Removed. * khtml/editing/typing_command.cpp: Removed. * khtml/editing/typing_command.h: Removed. * khtml/editing/visible_position.cpp: Removed. * khtml/editing/visible_position.h: Removed. * khtml/editing/visible_range.cpp: Removed. * khtml/editing/visible_range.h: Removed. * khtml/editing/visible_text.cpp: Removed. * khtml/editing/visible_text.h: Removed. * khtml/editing/visible_units.cpp: Removed. * khtml/editing/visible_units.h: Removed. * khtml/editing/wrap_contents_in_dummy_span_command.cpp: Removed. * khtml/editing/wrap_contents_in_dummy_span_command.h: Removed. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12803 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 03 Oct, 2005 1 commit
-
-
mjs authored
Reviewed by Darin. <rdar://problem/4283967> REGRESSION: 3% regression on PLT from new FastMalloc http://bugzilla.opendarwin.org/show_bug.cgi?id=5243 A number of optimizations to the new threadsafe malloc that make it actually as fast as dlmalloc (I measured wrong before) and as memory-efficient as the system malloc. - use fastMalloc for everything - it now gets applied to all new/delete allocations via a private inline operator new that is now included into every file via config.h. - tweaked some of the numeric parameters for size classes and amount of wasted memory allowed per allocation - this saves on memory use and consequently improves speed. - so long as the allocator is not being used on background threads, get the per-thread cache from a global variable instead of from pthread_getspecific, since the latter is slow. - inline more functions, and force the ones GCC refuses to inline with attribute(always_inline), nearly all of these have one call site so inlining them has to be a win. - use some tricks to calculate allocation size more efficiently and fewer times for small allocations, to avoid hitting the huge size table array. - avoid hitting the per-thread cache on code paths that don't need it. - implement inline assembly version of spinlock for PowerPC (was already done for x86) * bindings/NP_jsobject.cpp: * bindings/c/c_class.cpp: * bindings/c/c_instance.cpp: * bindings/c/c_runtime.cpp: * bindings/c/c_utility.cpp: * bindings/jni/jni_class.cpp: * bindings/jni/jni_instance.cpp: * bindings/jni/jni_jsobject.cpp: * bindings/jni/jni_objc.mm: * bindings/jni/jni_runtime.cpp: * bindings/jni/jni_utility.cpp: * bindings/npruntime.cpp: * bindings/objc/WebScriptObject.mm: * bindings/objc/objc_class.mm: * bindings/objc/objc_instance.mm: * bindings/objc/objc_runtime.mm: * bindings/objc/objc_utility.mm: * bindings/runtime.cpp: * bindings/runtime_array.cpp: * bindings/runtime_method.cpp: * bindings/runtime_object.cpp: * bindings/runtime_root.cpp: * bindings/testbindings.cpp: * bindings/testbindings.mm: * kjs/array_object.cpp: (ArrayInstanceImp::ArrayInstanceImp): (ArrayInstanceImp::~ArrayInstanceImp): (ArrayInstanceImp::resizeStorage): * kjs/bool_object.cpp: * kjs/collector.cpp: (KJS::Collector::registerThread): * kjs/config.h: * kjs/debugger.cpp: * kjs/error_object.cpp: * kjs/function.cpp: * kjs/function_object.cpp: * kjs/identifier.cpp: (KJS::Identifier::rehash): * kjs/internal.cpp: (KJS::Parser::saveNewNode): (KJS::clearNewNodes): * kjs/interpreter.cpp: * kjs/lexer.cpp: (Lexer::doneParsing): (Lexer::makeIdentifier): (Lexer::makeUString): * kjs/list.cpp: * kjs/math_object.cpp: * kjs/nodes.cpp: * kjs/nodes.h: * kjs/nodes2string.cpp: * kjs/number_object.cpp: (integer_part_noexp): (char_sequence): * kjs/object.cpp: * kjs/object_object.cpp: * kjs/property_map.cpp: * kjs/property_slot.cpp: * kjs/protected_values.cpp: (KJS::ProtectedValues::rehash): * kjs/reference.cpp: * kjs/reference_list.cpp: * kjs/regexp.cpp: * kjs/regexp_object.cpp: * kjs/scope_chain.cpp: * kjs/scope_chain.h: * kjs/string_object.cpp: * kjs/testkjs.cpp: * kjs/ustring.h: * kjs/value.cpp: * kxmlcore/Assertions.mm: * kxmlcore/FastMalloc.cpp: (KXMLCore::InitSizeClasses): (KXMLCore::DLL_IsEmpty): (KXMLCore::DLL_Prepend): (KXMLCore::TCMalloc_Central_FreeList::Insert): (KXMLCore::TCMalloc_Central_FreeList::Remove): (KXMLCore::TCMalloc_Central_FreeList::Populate): (KXMLCore::TCMalloc_ThreadCache::Allocate): (KXMLCore::TCMalloc_ThreadCache::FetchFromCentralCache): (KXMLCore::fastMallocRegisterThread): (KXMLCore::TCMalloc_ThreadCache::GetCache): (KXMLCore::TCMalloc_ThreadCache::GetCacheIfPresent): (KXMLCore::TCMalloc_ThreadCache::CreateCacheIfNecessary): (KXMLCore::do_malloc): (KXMLCore::do_free): (KXMLCore::realloc): * kxmlcore/FastMalloc.h: (operator new): (operator delete): (operator new[]): (operator delete[]): * kxmlcore/HashTable.cpp: * kxmlcore/TCSpinLock.h: (TCMalloc_SpinLock::Lock): (TCMalloc_SpinLock::Unlock): (TCMalloc_SlowLock): * kxmlcore/TCSystemAlloc.cpp: WebCore: Reviewed by Darin. <rdar://problem/4283967> REGRESSION: 3% regression on PLT from new FastMalloc http://bugzilla.opendarwin.org/show_bug.cgi?id=5243 - use fastMalloc for everything - it now gets applied to all new/delete allocations via a private inline operator new that is now included into every file via config.h * WebCore.xcodeproj/project.pbxproj: * WebCorePrefix.h: * khtml/css/css_base.cpp: * khtml/css/css_base.h: * khtml/css/css_computedstyle.cpp: * khtml/css/css_ruleimpl.cpp: * khtml/css/css_stylesheetimpl.cpp: * khtml/css/css_valueimpl.cpp: * khtml/css/css_valueimpl.h: * khtml/css/csshelper.cpp: * khtml/css/cssparser.cpp: (ValueList::ValueList): (ValueList::~ValueList): (ValueList::addValue): (CSSParser::CSSParser): (CSSParser::~CSSParser): (CSSParser::setupParser): (CSSParser::addProperty): * khtml/css/cssstyleselector.cpp: * khtml/css/cssstyleselector.h: * khtml/dom/dom2_events.cpp: * khtml/dom/dom2_traversal.cpp: * khtml/dom/dom_misc.cpp: * khtml/dom/dom_string.cpp: * khtml/ecma/domparser.cpp: * khtml/ecma/kjs_binding.cpp: * khtml/ecma/kjs_css.cpp: * khtml/ecma/kjs_dom.cpp: * khtml/ecma/kjs_events.cpp: * khtml/ecma/kjs_html.cpp: (KJS::KJS::Context2DFunction::callAsFunction): (KJS::Gradient::~Gradient): (KJS::Gradient::addColorStop): (KJS::Gradient::colorStops): * khtml/ecma/kjs_navigator.cpp: * khtml/ecma/kjs_proxy.cpp: * khtml/ecma/kjs_range.cpp: * khtml/ecma/kjs_traversal.cpp: * khtml/ecma/kjs_views.cpp: * khtml/ecma/kjs_window.cpp: * khtml/ecma/xmlhttprequest.cpp: * khtml/ecma/xmlserializer.cpp: * khtml/editing/SelectionController.cpp: * khtml/editing/append_node_command.cpp: * khtml/editing/apply_style_command.cpp: * khtml/editing/break_blockquote_command.cpp: * khtml/editing/composite_edit_command.cpp: * khtml/editing/delete_from_text_node_command.cpp: * khtml/editing/delete_selection_command.cpp: * khtml/editing/edit_command.cpp: * khtml/editing/html_interchange.cpp: * khtml/editing/htmlediting.cpp: * khtml/editing/insert_into_text_node_command.cpp: * khtml/editing/insert_line_break_command.cpp: * khtml/editing/insert_node_before_command.cpp: * khtml/editing/insert_paragraph_separator_command.cpp: * khtml/editing/insert_text_command.cpp: * khtml/editing/join_text_nodes_command.cpp: * khtml/editing/jsediting.cpp: * khtml/editing/markup.cpp: * khtml/editing/merge_identical_elements_command.cpp: * khtml/editing/move_selection_command.cpp: * khtml/editing/rebalance_whitespace_command.cpp: * khtml/editing/remove_css_property_command.cpp: * khtml/editing/remove_node_attribute_command.cpp: * khtml/editing/remove_node_command.cpp: * khtml/editing/remove_node_preserving_children_command.cpp: * khtml/editing/replace_selection_command.cpp: * khtml/editing/set_node_attribute_command.cpp: * khtml/editing/split_element_command.cpp: * khtml/editing/split_text_node_command.cpp: * khtml/editing/split_text_node_containing_element.cpp: * khtml/editing/typing_command.cpp: * khtml/editing/visible_position.cpp: * khtml/editing/visible_range.cpp: * khtml/editing/visible_text.cpp: (khtml::CircularSearchBuffer::~CircularSearchBuffer): (khtml::CircularSearchBuffer::CircularSearchBuffer): * khtml/editing/visible_units.cpp: * khtml/editing/wrap_contents_in_dummy_span_command.cpp: * khtml/html/html_baseimpl.cpp: * khtml/html/html_blockimpl.cpp: * khtml/html/html_canvasimpl.cpp: * khtml/html/html_documentimpl.cpp: * khtml/html/html_elementimpl.cpp: * khtml/html/html_formimpl.cpp: * khtml/html/html_headimpl.cpp: * khtml/html/html_imageimpl.cpp: * khtml/html/html_inlineimpl.cpp: * khtml/html/html_listimpl.cpp: * khtml/html/html_miscimpl.cpp: * khtml/html/html_objectimpl.cpp: * khtml/html/html_tableimpl.cpp: * khtml/html/htmlfactory.cpp: * khtml/html/htmlnames.cpp: * khtml/html/htmlparser.cpp: * khtml/html/htmltokenizer.cpp: (khtml::HTMLTokenizer::enlargeBuffer): (khtml::HTMLTokenizer::enlargeScriptBuffer): * khtml/khtml_events.cpp: * khtml/khtml_part.cpp: * khtml/khtmlview.cpp: * khtml/misc/arena.cpp: * khtml/misc/arena.h: * khtml/misc/decoder.cpp: * khtml/misc/formdata.cpp: * khtml/misc/helper.cpp: * khtml/misc/loader.cpp: * khtml/misc/stringit.cpp: * khtml/rendering/bidi.cpp: * khtml/rendering/break_lines.cpp: * khtml/rendering/font.cpp: * khtml/rendering/render_arena.cpp: * khtml/rendering/render_block.cpp: * khtml/rendering/render_box.cpp: * khtml/rendering/render_br.cpp: * khtml/rendering/render_canvas.cpp: * khtml/rendering/render_canvasimage.cpp: (RenderCanvasImage::~RenderCanvasImage): (RenderCanvasImage::createDrawingContext): * khtml/rendering/render_container.cpp: * khtml/rendering/render_flexbox.cpp: * khtml/rendering/render_flow.cpp: * khtml/rendering/render_form.cpp: * khtml/rendering/render_frames.cpp: * khtml/rendering/render_image.cpp: * khtml/rendering/render_inline.cpp: * khtml/rendering/render_layer.cpp: * khtml/rendering/render_line.cpp: * khtml/rendering/render_list.cpp: * khtml/rendering/render_object.cpp: * khtml/rendering/render_replaced.cpp: * khtml/rendering/render_style.cpp: * khtml/rendering/render_style.h: * khtml/rendering/render_table.cpp: * khtml/rendering/render_text.cpp: * khtml/rendering/render_theme.cpp: * khtml/rendering/render_theme_mac.mm: * khtml/rendering/table_layout.cpp: * khtml/xbl/xbl_binding.cpp: * khtml/xbl/xbl_binding_manager.cpp: * khtml/xbl/xbl_docimpl.cpp: * khtml/xbl/xbl_protobinding.cpp: * khtml/xbl/xbl_protohandler.cpp: * khtml/xbl/xbl_protoimplementation.cpp: * khtml/xbl/xbl_tokenizer.cpp: * khtml/xml/EventNames.cpp: * khtml/xml/dom2_eventsimpl.cpp: * khtml/xml/dom2_eventsimpl.h: * khtml/xml/dom2_rangeimpl.cpp: * khtml/xml/dom2_rangeimpl.h: * khtml/xml/dom2_traversalimpl.cpp: * khtml/xml/dom2_traversalimpl.h: * khtml/xml/dom2_viewsimpl.cpp: * khtml/xml/dom2_viewsimpl.h: * khtml/xml/dom_atomicstring.cpp: * khtml/xml/dom_docimpl.cpp: * khtml/xml/dom_docimpl.h: * khtml/xml/dom_elementimpl.cpp: * khtml/xml/dom_elementimpl.h: * khtml/xml/dom_nodeimpl.cpp: * khtml/xml/dom_nodeimpl.h: * khtml/xml/dom_position.cpp: * khtml/xml/dom_qname.cpp: * khtml/xml/dom_stringimpl.cpp: * khtml/xml/dom_stringimpl.h: * khtml/xml/dom_textimpl.cpp: * khtml/xml/dom_xmlimpl.cpp: * khtml/xml/xml_tokenizer.cpp: * khtml/xsl/xsl_stylesheetimpl.cpp: * khtml/xsl/xslt_processorimpl.cpp: * kwq/DOM-CSS.mm: * kwq/DOM.mm: * kwq/DOMEvents.mm: * kwq/DOMHTML.mm: * kwq/DOMInternal.mm: (DOMString::DOMString): * kwq/DOMUtility.mm: * kwq/DOMViews.mm: * kwq/KWQAccObject.mm: * kwq/KWQAccObjectCache.mm: * kwq/KWQApplication.mm: * kwq/KWQArrayImpl.h: * kwq/KWQArrayImpl.mm: * kwq/KWQBuffer.mm: * kwq/KWQButton.mm: * kwq/KWQCString.mm: * kwq/KWQCharsets.mm: * kwq/KWQClipboard.mm: * kwq/KWQCollection.mm: * kwq/KWQColor.mm: * kwq/KWQComboBox.mm: * kwq/KWQCursor.mm: * kwq/KWQDateTime.mm: * kwq/KWQDictImpl.mm: * kwq/KWQEditCommand.mm: * kwq/KWQEvent.mm: * kwq/KWQExceptions.mm: * kwq/KWQFile.mm: * kwq/KWQFileButton.mm: * kwq/KWQFont.mm: * kwq/KWQFontFamily.h: * kwq/KWQFontFamily.mm: * kwq/KWQFontMetrics.mm: * kwq/KWQFormData.mm: * kwq/KWQFrame.mm: * kwq/KWQGlobal.mm: * kwq/KWQGuardedPtr.mm: * kwq/KWQKCharsets.mm: * kwq/KWQKConfigBase.mm: * kwq/KWQKCookieJar.mm: * kwq/KWQKCursor.mm: * kwq/KWQKGlobal.mm: * kwq/KWQKGlobalSettings.mm: * kwq/KWQKHTMLFactory.mm: * kwq/KWQKHTMLPart.cpp: * kwq/KWQKHTMLPart.mm: * kwq/KWQKHTMLPartBrowserExtension.mm: * kwq/KWQKHTMLView.mm: * kwq/KWQKHistoryProvider.mm: * kwq/KWQKJavaAppletWidget.mm: * kwq/KWQKJob.mm: * kwq/KWQKJobClasses.mm: * kwq/KWQKLocale.mm: * kwq/KWQKPartsBrowserInterface.mm: * kwq/KWQKPartsEvent.mm: * kwq/KWQKPartsPart.mm: * kwq/KWQKSSLKeyGen.mm: * kwq/KWQKStandardDirs.mm: * kwq/KWQKStringHandler.mm: * kwq/KWQKURL.mm: (KURL::KURL): (KURL::decode_string): (KURL::parse): (KURL::encode_string): (encodeRelativeString): * kwq/KWQKWin.mm: * kwq/KWQKWinModule.mm: * kwq/KWQLabel.mm: * kwq/KWQLineEdit.mm: * kwq/KWQListBox.mm: * kwq/KWQListImpl.mm: * kwq/KWQLoader.mm: (KWQIsResponseURLEqualToURL): * kwq/KWQMapImpl.h: * kwq/KWQMapImpl.mm: * kwq/KWQMovie.mm: * kwq/KWQObject.mm: * kwq/KWQPageState.mm: * kwq/KWQPaintDeviceMetrics.mm: * kwq/KWQPainter.mm: * kwq/KWQPalette.mm: * kwq/KWQPen.mm: * kwq/KWQPixmap.mm: * kwq/KWQPoint.mm: * kwq/KWQPointArray.mm: * kwq/KWQPtrDictImpl.mm: * kwq/KWQPushButton.mm: * kwq/KWQRect.mm: * kwq/KWQRegExp.mm: * kwq/KWQRegion.mm: * kwq/KWQRenderTreeDebug.cpp: * kwq/KWQResourceLoader.mm: * kwq/KWQScrollBar.mm: * kwq/KWQScrollView.mm: * kwq/KWQSignal.mm: * kwq/KWQSignalStubs.mm: * kwq/KWQSize.mm: * kwq/KWQSlider.mm: * kwq/KWQSlot.mm: * kwq/KWQString.h: * kwq/KWQString.mm: (ALLOC_CHAR): (REALLOC_CHAR): (DELETE_CHAR): (ALLOC_QCHAR): (REALLOC_QCHAR): (DELETE_QCHAR): (_printQStringAllocationStatistics): (allocateHandle): (KWQStringData::operator new): (KWQStringData::operator delete): (freeHandle): * kwq/KWQStringList.mm: * kwq/KWQStyle.mm: * kwq/KWQTextArea.mm: * kwq/KWQTextCodec.mm: * kwq/KWQTextEdit.mm: * kwq/KWQTextField.mm: * kwq/KWQTextStream.mm: * kwq/KWQTextUtilities.mm: * kwq/KWQTimer.mm: * kwq/KWQValueListImpl.h: * kwq/KWQValueListImpl.mm: * kwq/KWQVariant.mm: * kwq/KWQVectorImpl.mm: (KWQVectorImpl::KWQVectorImpl): (KWQVectorImpl::~KWQVectorImpl): (KWQVectorImpl::clear): (KWQVectorImpl::resize): (KWQVectorImpl::assign): * kwq/KWQWMatrix.mm: * kwq/KWQWidget.mm: * kwq/KWQWindowWidget.mm: * kwq/WebCoreBridge.mm: * kwq/WebCoreCache.mm: * kwq/WebCoreEncodings.mm: * kwq/WebCoreJavaScript.mm: * kwq/WebCoreScriptDebugger.mm: * kwq/WebCoreSettings.mm: * kwq/WebCoreTextRendererFactory.mm: * kwq/can-convert.mm: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@10701 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 23 Sep, 2004 1 commit
-
-
darin authored
- added new VisibleRange class; not used yet * WebCore.pbproj/project.pbxproj: Added visible_range.h and visible_range.cpp. * khtml/editing/visible_range.cpp: Added. * khtml/editing/visible_range.h: Added. - tweaks * kwq/WebCoreBridge.mm: (-[WebCoreBridge alterCurrentSelection:direction:granularity:]): Use switch statement instead of if statement so we get a warning if we ever add a new granularity. * khtml/editing/selection.h: khtml, not DOM, namespace * khtml/editing/visible_position.h: Ditto. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@7654 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 21 Jan, 2003 1 commit
-
-
darin authored
- correct our copyrights to 2003; copyright is based on year of publication, not year worked on git-svn-id: http://svn.webkit.org/repository/webkit/trunk@3376 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 31 May, 2002 1 commit
-
-
darin authored
* Makefile.am: Removed some strange uses of "./" and improved stamp-related rules. * WebCore-tests.exp: Removed QDir functions. * khtml/Makefile.am: Removed java subdirectory. * khtml/java/*: Removed. * khtml/rendering/render_applet.cpp: Rearrange APPLE_CHANGES so that we use our own KJavaAppletWidget rather than a QWidget. * kwq/khtml/java/kjavaappletcontext.h: Added. * kwq/khtml/java/kjavaappletwidget.h: Added. * kwq/KWQKJavaAppletWidget.mm: Added. Replaces WCJavaAppletWidget.mm. * kwq/KWQsignals.mm: Removed java-related signals. * khtml/css/Makefile.am: * khtml/misc/Makefile.am: Improve stamp-related rules. * khtml/misc/loader.cpp: Move around and add ifdefs so we don't need as much KWQ code. Maybe revisit this later -- related to the KDE implementation of animated and progressive loading images, which we probably don't need, but it may integrate slightly better than doing our hacks inside QPixmap. * kwq/KWQApplication.mm: * kwq/KWQFontInfo.mm: * kwq/KWQInputDialog.mm: * kwq/KWQKFileDialog.mm: * kwq/KWQKHTMLPartBrowserExtension.mm: * kwq/KWQKWin.mm: * kwq/KWQKWinModule.mm: * kwq/KWQKstddirs.mm: * kwq/KWQPixmap.mm: Simplified, removed unused code, minor tweaks. * kwq/Makefile.am: Removed all the old files, added some new ones. * kwq/KWQBitmap.mm: Removed. * kwq/KWQBrush.mm: Removed. * kwq/KWQDCOPClient.mm: Removed. * kwq/KWQDataStream.h: Removed. * kwq/KWQDir.mm: Removed. * kwq/KWQFontDatabase.mm: Removed. * kwq/KWQImage.mm: Removed. * kwq/KWQKInstance.mm: Removed. * kwq/KWQPaintDevice.mm: Removed. * kwq/KWQPart.mm: Removed. * kwq/KWQasyncimageio.mm: Removed. * kwq/KWQasyncio.mm: Removed. * kwq/KWQbrowserextension.mm: Removed. * kwq/WCJavaAppletWidget.h: Removed. * kwq/WCJavaAppletWidget.mm: Removed. * kwq/qt/qdatastream.h: Removed. * kwq/qt/qdir.h: Removed. * kwq/qt/qlayout.h: Removed. * kwq/KWQCursor.mm: (QCursor::handle): Return the cursor object as an integer rather than just returning 0; makes the code that uses handle() more likely to work although it introduces a 64-bit cleanliness problem. * kwq/KWQEvent.mm: Initialize event type in QEvent subclasses. * kwq/WebCoreImageRenderer.h: Added NSObject and NSCopying protocols to the WebCoreImageRenderer protocol. * kwq/kwqdebug.h: Use displayableString in DEBUG_OBJECT for better logging. * kwq/dcop/dcopclient.h: * kwq/kdecore/kstddirs.h: * kwq/kdecore/kwin.h: * kwq/kdecore/kwinmodule.h: * kwq/kfile/kfiledialog.h: * kwq/kparts/browserextension.h: * kwq/kparts/event.h: * kwq/qt/qapplication.h: * kwq/qt/qasyncimageio.h: * kwq/qt/qasyncio.h: * kwq/qt/qbitmap.h: * kwq/qt/qbrush.h: * kwq/qt/qbutton.h: * kwq/qt/qcheckbox.h: * kwq/qt/qcollection.h: * kwq/qt/qcolor.h: * kwq/qt/qcombobox.h: * kwq/qt/qcursor.h: * kwq/qt/qdrawutil.h: * kwq/qt/qevent.h: * kwq/qt/qfont.h: * kwq/qt/qfontdatabase.h: * kwq/qt/qfontinfo.h: * kwq/qt/qimage.h: * kwq/qt/qinputdialog.h: * kwq/qt/qintcache.h: * kwq/qt/qintdict.h: * kwq/qt/qpaintdevice.h: * kwq/qt/qpixmap.h: * kwq/qt/qstring.h: Removed lots of unused stuff, including old conditionals and the like. * khtml/khtml_part.cpp: (KHTMLPart::khtmlMouseMoveEvent): Add missing parenthesis. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1245 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 05 Oct, 2001 1 commit
-
-
rjw authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@292 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 10 Sep, 2001 1 commit
-
-
kocienda authored
- Adding a no-arg constructor for every class that didn't have one - Adding a destructor for every class that didn't have one - Adding a private copy constructor for every class that didn't have one - Adding a private assignment operator for every class that didn't have one - Pretty formatting git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 06 Sep, 2001 2 commits
-
-
kocienda authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@115 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
kocienda authored
destructors, assignment operators, etc. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 05 Sep, 2001 2 commits
-
-
kocienda authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@109 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
kocienda authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 30 Aug, 2001 1 commit
-
-
kocienda authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@54 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 27 Aug, 2001 1 commit
-
-
gramps authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-