- 03 Mar, 2006 6 commits
-
-
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
-
mjs authored
- move TransferJob from kwq to platform, separate platform from non-platform bits * ForwardingHeaders/kio/job.h: Removed. * ForwardingHeaders/kio/jobclasses.h: Removed. * WebCore.xcodeproj/project.pbxproj: * bridge/mac/MacFrame.mm: * dom/xml_tokenizer.cpp: * khtml/xsl/xslt_processorimpl.cpp: * kwq/KWQKJobClasses.h: Removed. * kwq/KWQKJobClasses.mm: Removed. * kwq/KWQLoader.mm: * kwq/KWQResourceLoader.mm: * kwq/TransferJobClient.h: Removed. * loader/Cache.cpp: * loader/loader.cpp: * page/Frame.cpp: * platform/TransferJob.cpp: Added. (WebCore::TransferJob::TransferJob): (WebCore::TransferJob::queryMetaData): (WebCore::TransferJob::addMetaData): * platform/TransferJob.h: Added. * platform/TransferJobClient.h: Added. * platform/mac/TransferJobMac.mm: Added. (WebCore::TransferJobInternal::~TransferJobInternal): (WebCore::TransferJob::retrieveCharset): (WebCore::TransferJob::cancel): * xml/xmlhttprequest.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13112 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mjs authored
- enough link stubs to "display" local copy of WebKit site w/o hitting breakpoint * platform/win/TemporaryLinkStubs.cpp: (QLineEdit::setReadOnly): (QTextEdit::setCursorPosition): (QLineEdit::setCursorPosition): (QFontMetrics::width): (GraphicsContext::drawText): (GraphicsContext::drawLineForText): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13111 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mjs authored
- remove function that is now gone * platform/win/TemporaryLinkStubs.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13110 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mjs authored
- move logic to kick off load from KWQLoader function to a TransferJob method * kwq/KWQKJobClasses.h: * kwq/KWQKJobClasses.mm: (WebCore::TransferJob::start): * kwq/KWQLoader.h: * kwq/KWQLoader.mm: * loader/loader.cpp: (WebCore::Loader::servePendingRequests): * xml/xmlhttprequest.cpp: (WebCore::XMLHttpRequest::send): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13109 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mjs authored
- remove unused loader parameter to KWQServeRequest. * kwq/KWQLoader.h: * kwq/KWQLoader.mm: (KWQServeRequest): * loader/loader.cpp: (WebCore::Loader::servePendingRequests): * xml/xmlhttprequest.cpp: (WebCore::XMLHttpRequest::send): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13108 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 02 Mar, 2006 18 commits
-
-
mjs authored
- remove one of the versions of KWQServeRequest. * kwq/KWQLoader.h: * kwq/KWQLoader.mm: * loader/loader.cpp: (WebCore::Loader::servePendingRequests): * platform/win/TemporaryLinkStubs.cpp: (Widget::isEnabled): (KWQServeRequest): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13107 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mjs authored
- win32 build fix. * platform/win/MouseEventWin.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13106 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eseidel authored
Reviewed by mjs. * quality/reporting.html: display a nicer message to those using 10.2 git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13105 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
justing authored
<http://bugzilla.opendarwin.org/show_bug.cgi?id=3894> uses of <cmath> should change to <math> * ksvg2/svg/SVGAnimateTransformElementImpl.cpp: * ksvg2/svg/SVGAnimationElementImpl.cpp: * ksvg2/svg/SVGHelper.cpp: * ksvg2/svg/SVGLengthImpl.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13104 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
bdakin authored
Fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=3230 CSS1: Words with inline elements get extra capital letters Update existing tests for new results and add new test git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13103 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
bdakin authored
Fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=3230 CSS1: Words with inline elements get extra capital letters Does not use UBreakIterator (yet?) for this, but a relatively simple change that fixes our failure in the CSS1 test suite (5.4.5). git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13102 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eseidel authored
Reviewed by ggaren. * Spinneret/Spinneret/WebView.cpp: (WebKit::registerWebViewWithInstance): (WebKit::WebView::WebView): (WebKit::WebView::mouseMoved): (WebKit::WebView::mouseDown): (WebKit::WebView::mouseUp): (WebKit::WebView::mouseDoubleClick): (WebKit::WebViewWndProc): * Spinneret/Spinneret/WebView.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13101 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
justing authored
Patch reviewed by sullivan Test written by mitz <http://bugzilla.opendarwin.org/show_bug.cgi?id=7542> REGRESSION: (r13028) Scrolling causes incomplete drawing of <ul> bullets * fast/lists/scrolled-marker-paint-expected.checksum: Added. * fast/lists/scrolled-marker-paint-expected.png: Added. * fast/lists/scrolled-marker-paint-expected.txt: Added. * fast/lists/scrolled-marker-paint.html: Added. WebCore: Reviewed by sullivan <http://bugzilla.opendarwin.org/show_bug.cgi?id=7542> REGRESSION: (r13028) Scrolling causes incomplete drawing of <ul> bullets * rendering/render_list.cpp: (WebCore::RenderListMarker::paint): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13100 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eseidel authored
Reviewed by ggaren. Add (partially stubbed out) mouse event handling for Win32. * WebCore.vcproj/WebCore/WebCore.vcproj: * platform/IntPoint.h: * platform/MouseEvent.h: * platform/win/IntPointWin.cpp: Added. (WebCore::IntPoint::IntPoint): (WebCore::IntPoint::operator POINT): * platform/win/MouseEventWin.cpp: Added. (WebCore::MouseEvent::MouseEvent): * platform/win/TemporaryLinkStubs.cpp: (QLineEdit::setMaxLength): (ScrollView::scrollBy): (WebCore::Widget::setFocus): (FrameWin::respondToChangedSelection): (FrameWin::runJavaScriptPrompt): (FrameWin::recordFormValue): (FrameWin::registerCommandForRedo): (FrameWin::runJavaScriptAlert): (FrameWin::runJavaScriptConfirm): (FrameWin::openURL): (FrameWin::registerCommandForUndo): (FrameWin::addMessageToConsole): (FrameWin::mimeTypeForFileName): (FrameWin::shouldChangeSelection): (FrameWin::markMisspellingsInAdjacentWords): (FrameWin::markMisspellings): (FrameWin::personalbarVisible): (FrameWin::objectContentType): (FrameWin::createFrame): (FrameWin::createPlugin): (BrowserExtensionWin::setTypedIconURL): (BrowserExtensionWin::getHistoryLength): (BrowserExtensionWin::canRunModal): (BrowserExtensionWin::openURLNotify): (BrowserExtensionWin::createNewWindow): (BrowserExtensionWin::canRunModalNow): (BrowserExtensionWin::runModal): (BrowserExtensionWin::goBackOrForward): (BrowserExtensionWin::setIconURL): (FrameWin::passSubframeEventToSubframe): (FrameWin::lastEventIsMouseUp): (BrowserExtensionWin::BrowserExtensionWin): (Widget::setCursor): (ScrollView::visibleHeight): (ScrollView::visibleWidth): (ScrollView::setContentsPos): (ScrollView::contentsX): (ScrollView::contentsY): (ScrollView::contentsHeight): (ScrollView::contentsWidth): (ScrollView::viewportToContents): (TransferJob::TransferJob): (TransferJob::addMetaData): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13099 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
justing authored
Reviewed by mjs <http://tinymce.moxiecode.com/example_full.php?example=true> TinyMCE: Undo still enabled after a location change, crashes if performed * editing/undo/undo-iframe-location-change-expected.txt: Added. * editing/undo/undo-iframe-location-change.html: Added. WebCore: Reviewed by mjs <http://tinymce.moxiecode.com/example_full.php?example=true> TinyMCE: Undo still enabled after a location change, crashes if performed Can't clear undo/redo operations registered by subframes in didOpenURL, because subframes have already been detached. * page/Frame.cpp: (WebCore::Frame::didOpenURL): (WebCore::Frame::closeURL): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13098 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mjs authored
* kjs/identifier.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13093 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mjs authored
- add fpconst.cpp to win32 build, it is now needed * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj: * kjs/fpconst.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13092 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mjs authored
- fix windows build, broken by my last patch * kjs/JSImmediate.cpp: * kjs/identifier.cpp: * kxmlcore/FastMalloc.cpp: * kxmlcore/Platform.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13091 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eseidel authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13090 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mjs authored
Reviewed by Darin. - Set up new prototype macros and avoid using #if without defined() in JSC Added new PLATFORM macros and related, to make sure #if's all check if relevant macros are defined, and to separate core OS-level dependencies from operating environment dependencies so you can, e.g., build KDE on Mac or Windows. * kxmlcore/Platform.h: Added. - deploy them everywhere in JavaScriptCore * JavaScriptCore.xcodeproj/project.pbxproj: * bindings/jni/jni_utility.cpp: (KJS::Bindings::convertValueToJValue): * bindings/objc/WebScriptObject.mm: * bindings/objc/objc_instance.mm: (ObjcInstance::end): * bindings/softlinking.h: * bindings/testbindings.mm: (main): * kjs/JSLock.cpp: * kjs/collector.cpp: (KJS::Collector::markCurrentThreadConservatively): (KJS::Collector::markOtherThreadConservatively): (KJS::Collector::markStackObjectsConservatively): * kjs/config.h: * kjs/date_object.cpp: (gmtoffset): (KJS::formatTime): (KJS::DateProtoFunc::callAsFunction): (KJS::DateObjectImp::construct): (KJS::makeTime): * kjs/dtoa.cpp: * kjs/fpconst.cpp: (KJS::sizeof): (KJS::): * kjs/grammar.y: * kjs/identifier.cpp: * kjs/internal.cpp: * kjs/interpreter.cpp: (KJS::Interpreter::evaluate): (KJS::Interpreter::createLanguageInstanceForValue): * kjs/interpreter.h: * kjs/lookup.cpp: * kjs/lookup.h: * kjs/math_object.cpp: * kjs/object.cpp: * kjs/object.h: * kjs/operations.cpp: (KJS::isNaN): (KJS::isInf): (KJS::isPosInf): (KJS::isNegInf): * kjs/operations.h: * kjs/regexp.cpp: (KJS::RegExp::RegExp): (KJS::RegExp::~RegExp): (KJS::RegExp::match): * kjs/regexp.h: * kjs/testkjs.cpp: (StopWatch::start): (StopWatch::stop): (StopWatch::getElapsedMS): * kjs/ustring.cpp: * kjs/ustring.h: * kxmlcore/AlwaysInline.h: * kxmlcore/Assertions.cpp: * kxmlcore/Assertions.h: * kxmlcore/FastMalloc.cpp: (KXMLCore::): * kxmlcore/FastMalloc.h: * kxmlcore/FastMallocInternal.h: * kxmlcore/HashTable.h: * kxmlcore/TCPageMap.h: * kxmlcore/TCSpinLock.h: (TCMalloc_SpinLock::Lock): (TCMalloc_SpinLock::Unlock): (TCMalloc_SlowLock): * kxmlcore/TCSystemAlloc.cpp: (TCMalloc_SystemAlloc): * os-win32/stdint.h: JavaScriptGlue: Not reviewed, but I noticed these trivial extra changes were needed to avoid breaking the build with my reviewed patch for: http://bugzilla.opendarwin.org/show_bug.cgi?id=7387 Add config.h, includes of it, and Platform.h forwarding header. * JSBase.cpp: * JSObject.cpp: * JSRun.cpp: * JSUtils.cpp: * JSValueWrapper.cpp: * JavaScriptGlue.cpp: * UserObjectImp.cpp: * config.h: Added. * kxmlcore/Platform.h: Added. WebCore: Reviewed by Darin. - WebCore updates for "Set up new prototype macros and avoid using #if without defined() in JSC" http://bugzilla.opendarwin.org/show_bug.cgi?id=7387 Add Platform.h * ForwardingHeaders/kxmlcore/Platform.h: Added. * bridge/mac/WebCoreFrameNamespaces.m: * bridge/mac/WebCoreViewFactory.m: * bridge/mac/WebDashboardRegion.m: * config.h: * platform/Logging.cpp: * platform/mac/ScrollViewMac.mm: (WebCore::ScrollView::addChild): * platform/mac/WebCoreCookieAdapter.m: * platform/mac/WebCoreGraphicsBridge.m: * platform/mac/WebCoreHistory.m: * platform/mac/WebCoreImageRendererFactory.m: * platform/mac/WebCoreKeyGenerator.m: * platform/mac/WebCoreView.m: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13089 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eseidel authored
* WebCore.xcodeproj/project.pbxproj: update GraphicsContext.cpp path to fix build git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13088 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eseidel authored
Reviewed by NOBODY (OOPS!). Make spinneret take advantage of the new GraphicsContextCairo. * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: (main): updated to match style guidelines. * Spinneret/Spinneret/Spinneret.cpp: (_tWinMain): * Spinneret/Spinneret/WebView.cpp: (WebKit::registerWebViewWithInstance): (WebKit::WebView::WebView): (WebKit::WebView::~WebView): (WebKit::WebView::drawRect): (WebKit::WndProc): * Spinneret/Spinneret/WebView.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13087 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eseidel authored
Reviewed by andersca. Add first-stab GraphicsContextCairo. Shuffle a few more link stubs around, remove uncessary WebCore:: * WebCore.vcproj/WebCore/WebCore.vcproj: * platform/GraphicsContext.cpp: Added. * platform/GraphicsContext.h: * platform/cairo/GraphicsContextCairo.cpp: (WebCore::GraphicsContextState::GraphicsContextState): (WebCore::setColor): (WebCore::fillRectSourceOver): (WebCore::GraphicsContextPrivate::GraphicsContextPrivate): (WebCore::GraphicsContextPrivate::~GraphicsContextPrivate): (WebCore::GraphicsContext::GraphicsContext): (WebCore::GraphicsContext::~GraphicsContext): (WebCore::GraphicsContext::pen): (WebCore::GraphicsContext::setPen): (WebCore::GraphicsContext::setBrush): (WebCore::GraphicsContext::brush): (WebCore::GraphicsContext::save): (WebCore::GraphicsContext::restore): (WebCore::GraphicsContext::drawRect): (WebCore::GraphicsContext::setColorFromBrush): (WebCore::GraphicsContext::setColorFromPen): (WebCore::adjustLineToPixelBounderies): (WebCore::GraphicsContext::drawLine): (WebCore::GraphicsContext::drawEllipse): (WebCore::GraphicsContext::drawArc): (WebCore::GraphicsContext::drawConvexPolygon): (WebCore::GraphicsContext::drawFloatImage): (WebCore::GraphicsContext::drawTiledImage): (WebCore::GraphicsContext::drawScaledAndTiledImage): (WebCore::GraphicsContext::fillRect): (WebCore::GraphicsContext::addClip): (WebCore::GraphicsContext::setPaintingDisabled): (WebCore::GraphicsContext::paintingDisabled): * platform/cairo/ImageCairo.cpp: * platform/cg/GraphicsContextCG.cpp: Removed. * platform/win/TemporaryLinkStubs.cpp: (QLineEdit::selectAll): (Widget::mapFromGlobal): (QLineEdit::cursorPosition): (QTextEdit::setScrollBarModes): (QTextEdit::selectAll): (QComboBox::focusPolicy): (GraphicsContext::clearShadow): (QTextEdit::setCursorPosition): (GraphicsContext::drawText): (QLineEdit::setLiveSearch): (QComboBox::QComboBox): (Widget::lockDrawingFocus): (QTextEdit::setSelectionRange): (QSlider::QSlider): (ScrollView::scrollYOffset): (QComboBox::sizeHint): (QLineEdit::edited): (QTextEdit::text): (QSlider::value): (WebCore::Widget::setFocus): (WebCore::TransferJob::addMetaData): (FrameWin::respondToChangedContents): (FrameWin::unfocusWindow): (FrameWin::locationbarVisible): (FrameWin::respondToChangedSelection): (FrameWin::clearUndoRedoOperations): (FrameWin::issueRedoCommand): (FrameWin::getObjectInstanceForWidget): (FrameWin::getEmbedInstanceForWidget): (FrameWin::canRedo): (FrameWin::canUndo): (FrameWin::runJavaScriptPrompt): (FrameWin::recordFormValue): (FrameWin::registerCommandForRedo): (FrameWin::runJavaScriptAlert): (FrameWin::runJavaScriptConfirm): (FrameWin::openURL): (FrameWin::saveDocumentState): (FrameWin::print): (FrameWin::getAppletInstanceForWidget): (FrameWin::passMouseDownEventToWidget): (FrameWin::registerCommandForUndo): (FrameWin::issueCutCommand): (FrameWin::issueCopyCommand): (FrameWin::addMessageToConsole): (FrameWin::passWheelEventToChildWidget): (FrameWin::issueUndoCommand): (FrameWin::mimeTypeForFileName): (FrameWin::clearRecordedFormValues): (FrameWin::issuePasteCommand): (FrameWin::shouldChangeSelection): (FrameWin::scheduleClose): (FrameWin::markMisspellingsInAdjacentWords): (FrameWin::markMisspellings): (FrameWin::menubarVisible): (FrameWin::personalbarVisible): (FrameWin::lastEventIsMouseUp): (FrameWin::statusbarVisible): (FrameWin::toolbarVisible): (FrameWin::issueTransposeCommand): (FrameWin::userAgent): (FrameWin::canPaste): (FrameWin::incomingReferrer): (FrameWin::objectContentType): (FrameWin::passSubframeEventToSubframe): (FrameWin::createFrame): (FrameWin::canGoBackOrForward): (FrameWin::issuePasteAndMatchStyleCommand): (FrameWin::createPlugin): (FrameWin::generateFrameName): (QTextEdit::setWritingDirection): (QFontMetrics::checkSelectionPoint): (GraphicsContext::GraphicsContext): (QFontMetrics::isFixedPitch): (FrameWin::restoreDocumentState): (FrameWin::partClearedInBegin): (FrameWin::createEmptyDocument): (FrameWin::overrideMediaType): (FrameWin::setTitle): (FrameWin::handledOnloadEvents): (FrameWin::markedTextRange): (GraphicsContext::font): (GraphicsContext::setFont): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13086 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 01 Mar, 2006 16 commits
-
-
ap authored
* WebCoreSupport/WebFrameBridge.m: (-[WebFrameBridge syncLoadResourceWithMethod:URL:customHeaders:postData:finalURL:responseHeaders:statusCode:]): * WebCoreSupport/WebSubresourceLoader.m: (+[WebSubresourceLoader startLoadingResource:withMethod:URL:customHeaders:referrer:forDataSource:]): (+[WebSubresourceLoader startLoadingResource:withMethod:URL:customHeaders:postData:referrer:forDataSource:]): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13085 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ap authored
- http://bugzilla.opendarwin.org/show_bug.cgi?id=7540 REGRESSION: frequent cache-related crashes - http://bugzilla.opendarwin.org/show_bug.cgi?id=7393 A stale comment about XMLHttpRequest responses being never cached * WebCoreSupport/WebFrameBridge.m: Don't call setHTTPHeader if the method is GET. (-[WebFrameBridge syncLoadResourceWithMethod:URL:customHeaders:postData:finalURL:responseHeaders:statusCode:]): * WebCoreSupport/WebSubresourceLoader.m: Ditto. Also removed a stale comment about XMLHTTPRequests. (+[WebSubresourceLoader startLoadingResource:withMethod:URL:customHeaders:referrer:forDataSource:]): (+[WebSubresourceLoader startLoadingResource:withMethod:URL:customHeaders:postData:referrer:forDataSource:]): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13084 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ap authored
Changed an Objective-C forward declaration from "class" to "@class". This doesn't appear to fix any problems, though. * platform/StringImpl.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13083 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
justing authored
harrison forgot to update these pixel results. We should probably move this test out of unsupported-content, since lists are no longer unsupported, but i'll let him do that when he gets back. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13082 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
justing authored
Reviewed by darin <http://bugzilla.opendarwin.org/show_bug.cgi?id=7059> TinyMCE: Select All + delete sends you Back intsead of deleting * editing/resources/select-all-iframe-src.html: Added. * editing/selection/select-all-iframe-expected.checksum: Added. * editing/selection/select-all-iframe-expected.png: Added. * editing/selection/select-all-iframe-expected.txt: Added. * editing/selection/select-all-iframe.html: Added. WebCore: Reviewed by darin <http://bugzilla.opendarwin.org/show_bug.cgi?id=7059> TinyMCE: Select All + delete sends you Back intsead of deleting * page/Frame.cpp: (WebCore::Frame::selectFrameElementInParentIfFullySelected): WebKitTools: Reviewed by darin Give the events that eventSender sends a unique eventNumber * DumpRenderTree/DumpRenderTree.m: (-[EventSendingController mouseDown]): (-[EventSendingController mouseUp]): (-[EventSendingController mouseMoveToX:Y:]): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13081 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
harrison authored
<rdar://problem/4359736> Support outlining ability with lists Added Mail SPI for list level changes. It is SPI because it is not complete support for outlining. See <rdar://problem/4457070> "API for html lists as note outlines". * WebView/WebHTMLView.m: (-[WebHTMLView _canIncreaseSelectionListLevel]): (-[WebHTMLView _canDecreaseSelectionListLevel]): (-[WebHTMLView _increaseSelectionListLevel]): (-[WebHTMLView _decreaseSelectionListLevel]): * WebView/WebHTMLViewPrivate.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13080 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
harrison authored
(missed these in my earlier commit for <rdar://problem/4359736>) * bridge/mac/WebCoreFrameBridge.h: * bridge/mac/WebCoreFrameBridge.mm: (-[WebCoreFrameBridge canIncreaseSelectionListLevel]): (-[WebCoreFrameBridge canDecreaseSelectionListLevel]): (-[WebCoreFrameBridge increaseSelectionListLevel]): (-[WebCoreFrameBridge decreaseSelectionListLevel]): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13079 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eseidel authored
Reviewed by hyatt. Add a stub win32 application to test WebCore drawing on windows. * Spinneret: Added. * Spinneret/Spinneret: Added. * Spinneret/Spinneret.sln: Added. * Spinneret/Spinneret/Resource.h: Added. * Spinneret/Spinneret/Spinneret.cpp: Added. (_tWinMain): (MyRegisterClass): (InitInstance): (WndProc): (About): * Spinneret/Spinneret/Spinneret.h: Added. * Spinneret/Spinneret/Spinneret.ico: Added. * Spinneret/Spinneret/Spinneret.rc: Added. * Spinneret/Spinneret/Spinneret.vcproj: Added. * Spinneret/Spinneret/WebView.cpp: Added. (WebKit::WebView::WebViewPrivate::WebViewPrivate): (WebKit::WebView::WebViewPrivate::~WebViewPrivate): (WebKit::registerWebViewWithInstance): (WebKit::WebView::createWebView): (WebKit::WebView::WebView): (WebKit::WebView::~WebView): (WebKit::WebView::drawRect): (WebKit::WebView::windowHandle): (WebKit::WndProc): * Spinneret/Spinneret/WebView.h: Added. * Spinneret/Spinneret/small.ico: Added. * Spinneret/Spinneret/stdafx.cpp: Added. * Spinneret/Spinneret/stdafx.h: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13078 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
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
-
harrison authored
<rdar://problem/4359736> Support outlining ability with lists * unsupported-content/list-delete-002-expected.txt: Updated. * unsupported-content/list-delete-002.html: Updated. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13076 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
harrison authored
<rdar://problem/4359736> Support outlining ability with lists Added Mail SPI for list level changes. It is SPI because it is not complete support for outlining. See <rdar://problem/4457070> "API for html lists as note outlines". Additional support is to end a list when return is typed on empty list item. * WebCore.vcproj/WebCore/WebCore.vcproj: * WebCore.xcodeproj/project.pbxproj: Added ModifySelectionListLevelCommand.cpp and ModifySelectionListLevelCommand.h * bridge/mac/WebCoreFrameBridge.h: * bridge/mac/WebCoreFrameBridge.mm: (-[WebCoreFrameBridge canIncreaseSelectionListLevel]): (-[WebCoreFrameBridge canDecreaseSelectionListLevel]): (-[WebCoreFrameBridge increaseSelectionListLevel]): (-[WebCoreFrameBridge decreaseSelectionListLevel]): Supply list level calls in the bridge. * editing/InsertParagraphSeparatorCommand.cpp: (WebCore::createListItemElement): New. Creates an li. (WebCore::InsertParagraphSeparatorCommand::doApply): - slight logic cleanup - on empty list item, end the list * editing/ModifySelectionListLevelCommand.cpp: Added. (WebCore::ModifySelectionListLevelCommand::ModifySelectionListLevelCommand): (WebCore::ModifySelectionListLevelCommand::preservesTypingStyle): (WebCore::ModifySelectionListLevelCommand::doApply): (WebCore::ModifySelectionListLevelCommand::canIncreaseSelectionListLevel): (WebCore::ModifySelectionListLevelCommand::canDecreaseSelectionListLevel): (WebCore::ModifySelectionListLevelCommand::increaseSelectionListLevel): (WebCore::ModifySelectionListLevelCommand::decreaseSelectionListLevel): (WebCore::modifySelectionListLevel): (WebCore::getStartEndListChildren): (WebCore::canIncreaseListLevel): (WebCore::canDecreaseListLevel): (WebCore::ModifySelectionListLevelCommand::insertSiblingNodeRangeBefore): (WebCore::ModifySelectionListLevelCommand::insertSiblingNodeRangeAfter): (WebCore::ModifySelectionListLevelCommand::appendSiblingNodeRange): (WebCore::ModifySelectionListLevelCommand::increaseListLevel): (WebCore::ModifySelectionListLevelCommand::decreaseListLevel): * editing/ModifySelectionListLevelCommand.h: Added. New editing command for adjusting the list level. * editing/ReplaceSelectionCommand.cpp: (WebCore::ReplaceSelectionCommand::doApply): Slight logic cleanup * editing/htmlediting.cpp: (WebCore::isListElement): (WebCore::enclosingListChild): New helpers. (WebCore::isTableElement): Allow caller to pass 0... return false in that case. * editing/htmlediting.h: New helpers. * rendering/RenderContainer.cpp: (WebCore::updateListMarkerNumbers): Allow for list children that are not li nodes. Ignore and continue rather than stopping. (WebCore::RenderContainer::addChild): Allow for nil beforeChild, meaning "add at end". git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13075 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eseidel authored
Reviewed by justing. Update ESelectionGranulartiy enum to use newer CamelCase styling. * bridge/mac/WebCoreFrameBridge.mm: (-[WebCoreFrameBridge alterCurrentSelection:direction:granularity:]): * editing/Selection.cpp: (WebCore::Selection::Selection): (WebCore::Selection::validate): * editing/SelectionController.cpp: (WebCore::SelectionController::modifyExtendingRightForward): (WebCore::SelectionController::modifyMovingRightForward): (WebCore::SelectionController::modifyExtendingLeftBackward): (WebCore::SelectionController::modifyMovingLeftBackward): (WebCore::SelectionController::modify): * editing/TypingCommand.cpp: (WebCore::TypingCommand::deleteKeyPressed): (WebCore::TypingCommand::forwardDeleteKeyPressed): * editing/jsediting.cpp: * editing/text_granularity.h: (WebCore::): * page/Frame.cpp: (WebCore::Frame::selectClosestWordFromMouseEvent): (WebCore::Frame::handleMousePressEventTripleClick): (WebCore::Frame::handleMousePressEventSingleClick): (WebCore::Frame::handleMouseMoveEventSelection): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13074 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
lypanov authored
Reviewed by Maciej. - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=5966 Fixes already existing test: svg/W3C-SVG-1.1/coords-viewattr-02-b.svg * kcanvas/RenderSVGImage.cpp: (WebCore::RenderSVGImage::adjustRectsForAspectRatio): (WebCore::RenderSVGImage::paint): * kcanvas/RenderSVGImage.h: 2006-03-01 Alexander Kellett <lypanov@kde.org> - http://bugzilla.opendarwin.org/show_bug.cgi?id=5966 Update expected results * svg/W3C-SVG-1.1/coords-viewattr-02-b-expected.checksum: * svg/W3C-SVG-1.1/coords-viewattr-02-b-expected.png: * svg/W3C-SVG-1.1/coords-viewattr-02-b-expected.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13073 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
thatcher authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13072 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ap authored
- http://bugzilla.opendarwin.org/show_bug.cgi?id=3812 XMLHttpRequest: PUT, DELETE, HEAD and all other methods but POST actually do a GET. HEAD is currently unimplemented because of what seems to be a bug in NSURLConnection, and does a GET instead. WebCore: * kwq/KWQKJobClasses.h: Add a method parameter to TransferJob. * kwq/KWQKJobClasses.mm: (WebCore::TransferJobPrivate::TransferJobPrivate): (WebCore::TransferJob::TransferJob): (WebCore::TransferJob::method): * bridge/mac/WebCoreFrameBridge.h: URL loading functions now take a method parameter. * dom/xml_tokenizer.cpp: (WebCore::openFunc): * khtml/xsl/xslt_processorimpl.cpp: (DOM::docLoaderFunc): * kwq/KWQLoader.mm: (KWQServeRequest): (KWQServeSynchronousRequest): * loader/loader.cpp: (WebCore::Loader::servePendingRequests): * page/Frame.cpp: (WebCore::Frame::didOpenURL): * xml/xmlhttprequest.cpp: (WebCore::XMLHttpRequest::send): Honor the method passed in open(). * khtml/ecma/JSXMLHttpRequest.cpp: (KJS::JSXMLHttpRequestProtoFunc::callAsFunction): Don't serialize null as "null". WebKit: All WebKit changes are to use the method parameter passed from WebCore. * WebCoreSupport/WebFrameBridge.m: (-[WebFrameBridge startLoadingResource:withMethod:URL:customHeaders:]): (-[WebFrameBridge startLoadingResource:withMethod:URL:customHeaders:postData:]): (-[WebFrameBridge syncLoadResourceWithMethod:URL:customHeaders:postData:finalURL:responseHeaders:statusCode:]): * WebCoreSupport/WebSubresourceLoader.h: * WebCoreSupport/WebSubresourceLoader.m: (+[WebSubresourceLoader startLoadingResource:withMethod:URL:customHeaders:referrer:forDataSource:]): (+[WebSubresourceLoader startLoadingResource:withMethod:URL:customHeaders:postData:referrer:forDataSource:]): LayoutTests: * http/tests/xmlhttprequest/methods-async-expected.txt: Added. * http/tests/xmlhttprequest/methods-async.html: Added. * http/tests/xmlhttprequest/methods-expected.txt: Added. * http/tests/xmlhttprequest/methods.cgi: Added. * http/tests/xmlhttprequest/methods.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13071 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
thatcher authored
Reviewed by Darin. http://bugzilla.opendarwin.org/show_bug.cgi?id=7450 elementAtPoint is expensive and should return a smart dictionary Support for WebKit. This removes the old elementAtPoint: on the bridge. WebKit now uses the bridge method getInnerNonSharedNode:innerNode:URLElement:atPoint: * WebCore.exp: removes the WebCore* dictionary keys * bindings/objc/DOM.mm: (-[DOMElement image]): new method to get an NSImage if the element has an image renderer * bindings/objc/DOMHTML.mm: (-[DOMHTMLElement titleDisplayString]): new method that returns the title after doing the backslash as currency symbol conversion (-[DOMHTMLInputElement altDisplayString]): ditto for alt (-[DOMHTMLImageElement altDisplayString]): ditto (-[DOMHTMLAppletElement altDisplayString]): ditto (-[DOMHTMLAreaElement altDisplayString]): ditto (-[DOMHTMLAnchorElement absoluteLinkURL]): new method to get the absolute NSURL (-[DOMHTMLAreaElement absoluteLinkURL]): ditto (-[DOMHTMLLinkElement absoluteLinkURL]): ditto (-[DOMHTMLInputElement absoluteImageURL]): new method to get the absolute image location as an NSURL (-[DOMHTMLImageElement absoluteImageURL]): ditto (-[DOMHTMLObjectElement absoluteImageURL]): ditto * bindings/objc/DOMPrivate.h: * bridge/mac/WebCoreFrameBridge.h: * bridge/mac/WebCoreFrameBridge.mm: (-[WebCoreFrameBridge getInnerNonSharedNode:innerNode:URLElement:atPoint:]): (-[WebCoreFrameBridge isPointInsideSelection:]): * dom/DocumentImpl.cpp: (WebCore::DocumentImpl::prepareMouseEvent): (WebCore::DocumentImpl::backslashAsCurrencySymbol): * dom/DocumentImpl.h: * rendering/render_layer.cpp: (WebCore::RenderLayer::hitTest): * rendering/render_object.h: (WebCore::RenderObject::NodeInfo::URLElement): (WebCore::RenderObject::NodeInfo::setURLElement): WebKit: Reviewed by Darin. http://bugzilla.opendarwin.org/show_bug.cgi?id=7450 elementAtPoint is expensive and should return a smart dictionary elementAtPoint for WebHTMLView now returns a WebElementDictionary, when objectForKey is called it will lookup in the DOM, cache and return the value * Misc/WebElementDictionary.h: Added. * Misc/WebElementDictionary.m: Added. (addLookupKey): (cacheValueForKey): (+[WebElementDictionary initializeLookupTable]): (-[WebElementDictionary initWithInnerNonSharedNode:innerNode:URLElement:andPoint:]): (-[WebElementDictionary dealloc]): (-[WebElementDictionary _fillCache]): (-[WebElementDictionary count]): (-[WebElementDictionary keyEnumerator]): (-[WebElementDictionary objectForKey:]): (-[WebElementDictionary _domNode]): (-[WebElementDictionary _webFrame]): (-[WebElementDictionary _targetWebFrame]): (-[WebElementDictionary _title]): (-[WebElementDictionary _imageRect]): (-[WebElementDictionary _isSelected]): * Misc/WebNSViewExtras.m: (-[NSView _web_dragImage:element:rect:event:pasteboard:source:offset:]): * WebKit.xcodeproj/project.pbxproj: * WebView/WebHTMLView.m: (-[WebHTMLView _updateMouseoverWithEvent:]): (-[WebHTMLView _startDraggingImage:at:operation:event:sourceIsDHTML:DHTMLWroteData:]): (-[NSArray elementAtPoint:]): * WebView/WebView.m: * WebView/WebViewPrivate.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13070 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-