- 07 Apr, 2008 6 commits
-
-
alp@webkit.org authored
Reviewed by Alp Toker. http://bugs.webkit.org/show_bug.cgi?id=18297 Bug #18297 - Acid2/Acid3 -tests don't load load with soup. Fixes in the libsoup backend: data url parsing, acid tests, redirects, response headers handling and re-entrancy issues on job cancellation. Thanks to Dan Winship for libsoup hints. * platform/network/ResourceHandleInternal.h: (WebCore::ResourceHandleInternal::ResourceHandleInternal): add m_cancelled and remove unuseful m_session * platform/network/soup/ResourceHandleSoup.cpp: (WebCore::restartedCallback): added to route redirects to webkit (WebCore::dataCallback): add response headers, some checks and fix re-entrancy (WebCore::parseDataUrl): be an idle callback for the main loop (WebCore::ResourceHandle::start): (WebCore::ResourceHandle::cancel): fixed re-entrancy git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31682 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ap@webkit.org authored
* configure.ac: Add autoconf flag for HTML5 client-side session and persistent storage support. WebCore: * GNUmakefile.am: Fix dom_storage conditional and typo: ENABLE_DOM_STORAG. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31681 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
beidson@apple.com authored
Whoops, idls don't go in the vcproj! * WebCore.vcproj/WebCore.vcproj: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31680 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
beidson@apple.com authored
Attempt to tickle Windows build into accepting this idl * storage/StorageEvent.idl: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31679 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
beidson@apple.com authored
Reviewed by Sam HTML5 Session and Local Storage Land a bunch of empty files and interfaces to keep things building while I finish off the rest of the implementation of SessionStorage * DerivedSources.make: * GNUmakefile.am: * WebCore.pro: * WebCore.vcproj/WebCore.vcproj: * WebCore.xcodeproj/project.pbxproj: * WebCoreSources.bkl: * storage/OriginStorage.cpp: Added. * storage/OriginStorage.h: Added. * storage/SessionStorage.cpp: Added. * storage/SessionStorage.h: Added. * storage/Storage.cpp: Added. (WebCore::Storage::length): (WebCore::Storage::key): (WebCore::Storage::getItem): (WebCore::Storage::setItem): (WebCore::Storage::removeItem): * storage/Storage.h: Added. * storage/Storage.idl: Added. * storage/StorageEvent.cpp: Added. * storage/StorageEvent.h: Added. (WebCore::StorageEvent::key): (WebCore::StorageEvent::oldValue): (WebCore::StorageEvent::newValue): (WebCore::StorageEvent::uri): (WebCore::StorageEvent::source): (WebCore::StorageEvent::initStorageEvent): * storage/StorageEvent.idl: Added. * storage/StorageMap.cpp: Added. * storage/StorageMap.h: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31678 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ap@webkit.org authored
Make UString thread-safe. No change on SunSpider total, although individual tests have changed a lot, up to 3%. * kjs/InitializeThreading.cpp: (KJS::initializeThreading): Call UString::null() to initialize a static. * kjs/identifier.cpp: (KJS::CStringTranslator::translate): (KJS::UCharBufferTranslator::translate): Use "true" for a boolean value instead of 1, because it's C++. * kjs/ustring.h: (KJS::CString::adopt): Added a method to create from a char* buffer without copying. (KJS::UString::Rep::ref): Removed an assertion for JSLock::lockCount, as it's no longer necessary to hold JSLock when working with strings. (KJS::UString::Rep::deref): Ditto. (KJS::UString::Rep::isStatic): Added a field to quickly determine that this is an empty or null static string. * kjs/ustring.cpp: (KJS::): Removed normalStatBufferSize and statBufferSize, as there is no reason to have such an advanced implementation of a debug-only ascii() method. Removed a long-obsolete comment about UChar. (KJS::UString::Rep::createCopying): Removed an assertion for JSLock::lockCount. (KJS::UString::Rep::create): Ditto. (KJS::UString::Rep::destroy): Ditto. Do not do anything for static null and empty strings, as refcounting is not reliable for those. Reordered branches for a noticeable speed gain - apparently this functiton is hot enough for SunSpider to see an effect from this! (KJS::UString::null): Moved a star, added a comment. (KJS::UString::cstring): Reimplemented to not call ascii(), which is not thread-safe. (KJS::UString::ascii): Simplified statBuffer handling logic. (KJS::UString::toDouble): Use cstring() instead of ascii(). git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31677 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 06 Apr, 2008 1 commit
-
-
alp@webkit.org authored
Reviewed by Alp Toker. Fix webkit_web_view_get_transparent() return value. * webkit/webkitwebview.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31676 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 05 Apr, 2008 11 commits
-
-
kevino@webkit.org authored
Don't assume wxWebKit to be part of the wx package. This allows us to run it from any directory on the PYTHONPATH rather than having to copy files into the wxPython directory. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31667 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
kevino@webkit.org authored
Add CSS to the MIMETypeRegistry, which ensures CSS files get the right MIMEType when loaded from disk. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31666 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rwlbuis@webkit.org authored
http://bugs.webkit.org/show_bug.cgi?id=17129 Incorrect style resolution in CSS styled SVG, with multiple style sheets Fix the style resolution on the svg by ensuring xml-stylesheet pseudo attributes title and alternate are transferred to the stylesheet created from the ProcessingInstruction. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31664 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mitz@apple.com authored
Reviewed by Darin Adler. - fix <rdar://problem/5843719> Excessive repainting of cells in tables with non-auto height Test: fast/repaint/table-two-pass-layout-overpaint.html * rendering/RenderTable.cpp: (WebCore::RenderTable::layout): Changed the first pass over the sections to only call calcRowHeight() and recalcOuterBorder() but not layoutRows(), because the section's final height is unknown yet. Removed caching of m_height before the call to calcHeight(), because for non-positioned tables, calcHeight() only calculates the vertical margins and does not change m_height. Added a second pass over the sections, after the table height is known, to call layoutRows() on each section, with additional height if needed. Did minimal cleanup including caching the value of collapseBorders() in a local variable and changing a while loop into a for loop. * rendering/RenderTableSection.cpp: (WebCore::RenderTableSection::calcRowHeight): Changed to return the height of the section based on row height calculations. (WebCore::RenderTableSection::layoutRows): Removed a call to recalcOuterBorder(), which is now done by RenderTable::layout(). * rendering/RenderTableSection.h: Changed calcRowHeight() to have a return value. LayoutTests: Reviewed by Darin Adler. - repaint test for <rdar://problem/5843719> Excessive repainting of cells in tables with non-auto height * fast/repaint/table-two-pass-layout-overpaint.html: Added. * platform/mac/fast/repaint/table-two-pass-layout-overpaint-expected.checksum: Added. * platform/mac/fast/repaint/table-two-pass-layout-overpaint-expected.png: Added. * platform/mac/fast/repaint/table-two-pass-layout-overpaint-expected.txt: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31663 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hausmann@webkit.org authored
Fixes: Disable "unimplemented" warnings when building WebKit inside Qt. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31662 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hausmann@webkit.org authored
Fixes: Right clicking an image and choosing "copy image" doesnt put anything in the clipboard. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31661 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hausmann@webkit.org authored
Fixes: Right click, and "Open image" open the link instead of the image. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31660 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hausmann@webkit.org authored
Rubber-stamped by Holger Revert "* Load images incrementally. This will show warnings on the console" This rolls out -r29739. This unfortunately caused some crashes and drawing errors. Backing out for now. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31659 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hausmann@webkit.org authored
Added doc stub for QWebSettings so class docs are generated git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31658 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hausmann@webkit.org authored
* Propose the addition of updateRequest and scrollRequest to the QWebPage. * The question is if these signals belong to QWebPage or QWebFrame. -It is more easy to have them in QWebPage because ScrollView is invoking the ChromeClient with the right coordinates -On the other hand someone wants to render frames separately. But this is partly doomed as you can have overlapping frames and what you paint would not relate to what you normally see on webpages. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31657 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
sfalken@apple.com authored
Reviewed by Ada Chan. * WebView.cpp: (WebView::WebView): (WebView::deleteBackingStore): (WebView::paint): Added active check. (WebView::deleteBackingStoreSoon): (WebView::cancelDeleteBackingStoreSoon): Added. (WebView::active): Added. (WebView::updateActiveState): Moved active check code from here to active(). * WebView.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31656 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 04 Apr, 2008 21 commits
-
-
sfalken@apple.com authored
Explicitly call DestroyWindow on the tooltip. Destroying its parent won't destroy the tooltip, since it not a WS_CHILD style window. Reviewed by Ada Chan. * WebView.cpp: (WebView::~WebView): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31655 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
kevino@webkit.org authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31654 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mitz@apple.com authored
- speed up CSSFontSelector::getFontData() * css/CSSFontSelector.cpp: (WebCore::fontDataForGenericFamily): Factored out of getFontData(). (WebCore::CSSFontSelector::getFontData): Changed to call fontDataForGenericFamily() directly if the map is empty. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31653 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jhoneycutt@apple.com authored
Reviewed by Oliver. Replace AccessibilityObject::isRenderImage() with a virtual RenderObject::isRenderImage(). * page/AccessibilityObject.cpp: (WebCore::AccessibilityObject::accessibilityIsIgnored): (WebCore::AccessibilityObject::addChildren): * page/AccessibilityObject.h: (WebCore::AccessibilityObject::isDetached): * rendering/RenderImage.h: (WebCore::RenderImage::isRenderImage): * rendering/RenderObject.h: (WebCore::RenderObject::isRenderImage): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31652 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
sfalken@apple.com authored
Timer will be reset if a paint occurs, so this won't negatively impact performance. Reviewed by Ada Chan. * WebView.cpp: (WebView::paint): Call deleteBackingStoreSoon after paint. (WebViewWndProc): Add DeleteBackingStoreTimer. (WebView::deleteBackingStoreSoon): Added. * WebView.h: Add deleteBackingStoreSoon. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31651 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mitz@apple.com authored
* platform/graphics/wx/FontPlatformDataWx.cpp: (WebCore::fontWeightToWxFontWeight): (WebCore::FontPlatformData::FontPlatformData): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31650 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jhoneycutt@apple.com authored
Reviewed by Beth. Some more clean-up of AccessibilityObject: - Rearranged/grouped methods. - Marked many methods const. - Changed many methods to take args by const ref instead of by val. - Made headingLevel() static. - Renamed detached() to isDetached(), loaded() to isLoaded(), documentLinks to getDocumentLinks(). - Made clearChildren(), removeAXObjectID(), isDetached() private. - Added notImplemented() calls for unimplemented methods. - Replaced stringForReplacedNode method with static function. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31649 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
timothy@apple.com authored
This is important when the user typed text that is a different case than the completion. This has no affect on the Console, since it matches completions case-sensitively. This is used in the up-coming Database Query view for words like "SELECT" and "INSERT". Reviewed by Adam Roben. * page/inspector/TextPrompt.js: (WebInspector.TextPrompt.prototype.clearAutoComplete): Restore the user typed text in the original DOM range that complete() saved away. (WebInspector.TextPrompt.prototype.complete): Store away the fullWordRange and it's text content so clearAutoComplete can restore it. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31648 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
timothy@apple.com authored
Don't trim whitespace when looking for the current match, this prevents tabbing through matches in the up-coming Database Query view. Reviewed by Adam Roben. * page/inspector/TextPrompt.js: Removed a trimTrailingWhitespace() call. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31646 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
timothy@apple.com authored
a new TextPrompt object. This TextPrompt object will be used later other parts of the Inspector that need text completion and history. Not functionality changed, just moved code around. Reviewed by Adam Roben. * WebCore.vcproj/WebCore.vcproj: Add TextPrompt.js. * page/inspector/Console.js: Call the new prompt object and delete all the code that moved. * page/inspector/TextPrompt.js: Added. Moved code from Console.js. * page/inspector/WebKit.qrc: Add TextPrompt.js. * page/inspector/inspector.html: Add TextPrompt.js. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31645 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
timothy@apple.com authored
immediately if the element is already expanded. Reviewed by Adam Roben. * page/inspector/treeoutline.js: (TreeElement.prototype.get shouldRefreshChildren): Return this._shouldRefreshChildren. (TreeElement.prototype.set shouldRefreshChildren): If changing to true, and already expanded, call expand again to trigger the refresh. Sets this._shouldRefreshChildren. (TreeElement.prototype._attach): Check for this._shouldRefreshChildren. (TreeElement.prototype.expand): Ditto. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31644 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jhoneycutt@apple.com authored
Reviewed by Beth. Some clean up of AccessibilityObject: - Use existing isImage() in more places. - Use existing isTextControl() in more places. - Added isRenderImage(). Check this before casting to RenderImage, since other, non-RenderImage derived RenderObjects (e.g. RenderListMarker) can return true for isImage(). - Fix two copy/paste errors with improper semicolons. * page/AccessibilityObject.cpp: (WebCore::AccessibilityObject::isImageButton): Use isImage(). (WebCore::AccessibilityObject::isRenderImage): Added. (WebCore::AccessibilityObject::isAnchor): Use isImage(). (WebCore::AccessibilityObject::isAttachment): Same. (WebCore::AccessibilityObject::accessibilityDescription): Same. (WebCore::AccessibilityObject::accessibilityIsIgnored): Use isRenderImage() instead of isImage(). (WebCore::AccessibilityObject::url): Use isImage(). (WebCore::AccessibilityObject::textControl): Remove improper semicolon, and use isTextControl(). (WebCore::AccessibilityObject::textMarkerForIndex): Same. (WebCore::AccessibilityObject::indexForTextMarker): Use isTextControl(). (WebCore::AccessibilityObject::doAXRangeForLine): Same. (WebCore::AccessibilityObject::doAXRangeForIndex): Same (WebCore::AccessibilityObject::doAXStringForRange): Same. (WebCore::AccessibilityObject::roleValue): Use isImage(). (WebCore::AccessibilityObject::addChildren): Use isRenderImage(). * page/AccessibilityObject.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31643 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
timothy@apple.com authored
Reviewed by Adam Roben. * page/inspector/treeoutline.js: (TreeOutline.prototype.treeElementFromPoint): Check listNode for null/undefined before accessing any properties. Return null if listNode is null. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31642 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
timothy@apple.com authored
does not change the actual focus of that input element. You see this in the search field. Reviewed by Adam Roben. * page/inspector/inspector.js: (WebInspector.set currentFocusElement): Call blur and focus if the node implements them. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31641 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hyatt@apple.com authored
Improve the background size heuristic for SVGs used as background images with no intrinsic size specified. Treat them as having a background-size of 100%. This means their maximal size will be the box established by background-origin. Reviewed by Beth * rendering/RenderBox.cpp: (WebCore::RenderBox::calculateBackgroundSize): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31640 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
timothy@apple.com authored
from view-source.css for the DOCTYPE in the DOM tree. Reviewed by Adam Roben. * css/view-source.css: Add and correct comments about keeping in-sync with inspector.css. * page/inspector/ElementsPanel.js: (WebInspector.DocumentPanel.prototype.updateBreadcrumb): Add a case for Node.DOCUMENT_TYPE_NODE. * page/inspector/inspector.css: Add a rule for .webkit-html-doctype. * page/inspector/utilities.js: (nodeTitleInfo): Use the webkit-html-doctype class for nodes with Node.DOCUMENT_TYPE_NODE. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31639 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mitz@apple.com authored
* icu/unicode/uscript.h: Copied from WebKit/mac/icu/unicode/uscript.h. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31638 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
aroben@apple.com authored
WebCore: Copy icu/ to PrivateHeaders for WebKit's benefit Rubberstamped by Tim Hatcher. * WebCore.xcodeproj/project.pbxproj: Renamed the Copy Forwarding Headers build phase to Copy Forwarding and ICU Headers, and added the icu/ directory to it. WebKit/mac: Use WebCore's ICU headers instead of our own copy Rubberstamped by Tim Hatcher. * Configurations/WebKit.xcconfig: Pick up ICU headers from WebCore's PrivateHeaders. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31637 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rdar://problem/5804776aroben@apple.com authored
Fix <rdar://problem/5804776> Would like to use WebCore's ForwardingHeaders in WebKit without manually creating copies WebCore: Fix <rdar://problem/5804776> Would like to use WebCore's ForwardingHeaders in WebKit without manually creating copies Patch by Tim Hatcher, typed by me. * WebCore.xcodeproj/project.pbxproj: Added a new build phase, Copy Forwarding Headers, that copies the ForwardingHeaders directory to WebCore's PrivateHeaders directory. WebKit/mac: Fix <rdar://problem/5804776> Would like to use WebCore's ForwardingHeaders in WebKit without manually creating copies Patch by Tim Hatcher, typed by me. * Configurations/WebKit.xcconfig: Use the copy of ForwardingHeaders in WebCore's PrivateHeaders instead of our own copy. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31636 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
adachan@apple.com authored
Changed the signature of imageTitleForFilename so we can pass in the width and height as integers. Reviewed by Dan. * page/mac/WebCoreViewFactory.h: * platform/mac/LocalizedStringsMac.mm: (WebCore::imageTitle): WebKit: Updated the format string for window title for a standalone image to take integers. Reviewed by Dan. * English.lproj/Localizable.strings: WebKit/mac: Now we pass width and height directly as integers to format the window title for a standalone image. Reviewed by Dan. * WebCoreSupport/WebViewFactory.mm: (-[WebViewFactory imageTitleForFilename:width:height:]): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31635 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rdar://problem/5830598adachan@apple.com authored
<rdar://problem/5830598> Image file opened in the browser window shows "Localized String Not Found' in window's title bar instead file name Save WebCoreLocalizedStrings.cpp with UTF8 encoding. Changed the format string to take in integers. Reviewed by Dan. * English.lproj/Localizable.strings: Updated. * WebCoreLocalizedStrings.cpp: (WebCore::imageTitle): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31634 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 03 Apr, 2008 1 commit
-
-
mitz@apple.com authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31630 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-