- 18 May, 2009 14 commits
-
-
cfleizach@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=25776 git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43833 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
kov@webkit.org authored
Reviewed by Jan Alonzo. https://bugs.webkit.org/show_bug.cgi?id=25854 [GTK] Should tell servers we only support identity as content encoding Let servers know we only support identity as content encoding. We will implement this in libsoup. * platform/network/soup/ResourceHandleSoup.cpp: (WebCore::ResourceHandle::startHttp): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43832 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ap@webkit.org authored
<rdar://problem/6881160> REGRESSION (r41425): Unable to create battle.net account due to CAPTCHA failure. The problem was that after loading and displaying a CAPTCHA image, it was loaded from the server again due to preloading. So, the server expected the last loaded (invisible) CAPTCHA text to be typed and posted back. I don't know how to make tests for preloading. * loader/DocLoader.cpp: (WebCore::DocLoader::checkForPendingPreloads): There is never a reason to preload after loading for real - and if cache policy is CachePolicyReload, that actually results in another load from network layer. * loader/FrameLoader.cpp: (WebCore::FrameLoader::cachePolicy): It's not good for cachePolicy() to lie, but I don't know how to re-do r41425 properly. Added a FIXME. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43831 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ariya@webkit.org authored
Reviewed by Simon Hausmann. Done together with Balazs Kelemen <kelemen.balazs@stud.u-szeged.hu>. https://bugs.webkit.org/show_bug.cgi?id=24551 [Qt] Reuse FontPlatformData for the same FontDescription. This effectively prevents growing heap usage for loading every web page. * platform/graphics/qt/FontCacheQt.cpp: (WebCore::qHash): Necessary for FontPlatformDataCache. (WebCore::FontCache::getCachedFontPlatformData): Reuse the instance if it exists, otherwise create a new one and insert it in the cache. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43830 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ariya@webkit.org authored
Reviewed by Ariya Hidayat. Makes QtLauncher to accept multiple urls in command line and opens these in separate windows. * QtLauncher/main.cpp: (MainWindow::newWindow): (main): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43829 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ariya@webkit.org authored
Reviewed by Ariya Hidayat. https://bugs.webkit.org/show_bug.cgi?id=24551 [Qt] Fix the leak in FontFallbackList::fontDataAt() function. When creating a new instance of SimpleFontData, put it in the font list so that it can deleted later on. * platform/graphics/qt/FontFallbackListQt.cpp: (WebCore::FontFallbackList::invalidate): (WebCore::FontFallbackList::releaseFontData): (WebCore::FontFallbackList::fontDataAt): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43828 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jmalonzo@webkit.org authored
Reviewed by Xan Lopez. [Gtk] Various autotools build refactoring and fixes https://bugs.webkit.org/show_bug.cgi?id=25286 Add support for running unit tests. Also run the tests whenever the 'check' target runs. * GNUmakefile.am: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43827 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jmalonzo@webkit.org authored
Reviewed by Xan Lopez. [Gtk] Various autotools build refactoring and fixes https://bugs.webkit.org/show_bug.cgi?id=25286 Style fixes * GNUmakefile.am: * WebCore/GNUmakefile.am git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43826 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jmalonzo@webkit.org authored
Reviewed by Xan Lopez. [Gtk] Various autotools build refactoring and fixes https://bugs.webkit.org/show_bug.cgi?id=25286 Add -no-install and -no-fast-install to programs and tests that we don't install. Also remove -O2 since this is already handled at configure time. * GNUmakefile.am: * JavaScriptCore/GNUmakefile.am: * WebKitTools/GNUmakefile.am: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43825 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jmalonzo@webkit.org authored
Reviewed by Xan Lopez. [Gtk] Various autotools build refactoring and fixes https://bugs.webkit.org/show_bug.cgi?id=25286 Add JavaScriptCore/ to JSC include path only since it's not required when building WebCore. * GNUmakefile.am: 2009-05-17 Jan Michael Alonzo <jmalonzo@webkit.org> Reviewed by Xan Lopez. [Gtk] Various autotools build refactoring and fixes https://bugs.webkit.org/show_bug.cgi?id=25286 Refactor library cflags * GNUmakefile.am: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43824 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Eric Seidel. Skip new tests from r43822 on Gtk https://bugs.webkit.org/show_bug.cgi?id=25780 * platform/gtk/Skipped: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43823 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Oliver Hunt. Add missing files from r43821 https://bugs.webkit.org/show_bug.cgi?id=25780 * editing/pasteboard/get-data-text-plain-drop-expected.txt: Added. * editing/pasteboard/get-data-text-plain-drop.html: Added. * editing/pasteboard/get-data-text-plain-paste-expected.txt: Added. * editing/pasteboard/get-data-text-plain-paste.html: Added. * editing/pasteboard/resources/TEMPLATE.html: Copied from LayoutTests/editing/execCommand/resources/TEMPLATE.html. * editing/pasteboard/resources/get-data-text-plain-paste.js: Added. (handlePaste): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43822 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Eric Seidel. https://bugs.webkit.org/show_bug.cgi?id=25716 * Scripts/make-js-test-wrappers: Added exception to avoid overwriting a custom-written test. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43821 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Eric Seidel. https://bugs.webkit.org/show_bug.cgi?id=25716 * Scripts/make-js-test-wrappers: Added exception to avoid overwriting a custom-written test. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43820 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 17 May, 2009 10 commits
-
-
sfalken@apple.com authored
* JavaScriptCore.vcproj/JavaScriptCore.make: * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43818 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mitz@apple.com authored
- move fast/repaint/repaint.js into the resources subdirectory * fast/repaint/repaint.js: Removed. * fast/repaint/resources/repaint.js: Copied from fast/repaint/repaint.js. * (89 tests changed to load the script from the new location) git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43817 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
staikos@webkit.org authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43816 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
darin@apple.com authored
Fix done by Simon Fraser (reviewed by me). <rdar://problem/6893775> Page with screen-only stylesheet with overflow and height transitions has bad layout and overlapping garbled text when printing * manual-tests/print-with-height-transition-in-screen-stylesheet.html: Added. * page/animation/AnimationController.cpp: (WebCore::AnimationController::updateAnimations): Don't run transitions when printing. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43815 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
darin@apple.com authored
Reviewed by Simon Fraser. <rdar://problem/6870241> REGRESSION: Programmatically selected popup menu item not shown * html/HTMLSelectElement.cpp: (WebCore::HTMLSelectElement::setSelectedIndex): Added a call to updateFromElement and also a type check on the selected index to avoid a bad cast to HTMLOptionElement. * manual-tests/select-option-in-onload.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43814 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
simon.fraser@apple.com authored
Reviewed by Anders Carlsson Rename local variables for readability. * rendering/RenderBoxModelObject.cpp: (WebCore::RenderBoxModelObject::paintBorder): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43813 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
darin@apple.com authored
* platform/gtk/Skipped: Disable another media test that seems to be failing at least intermittently. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43812 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
darin@apple.com authored
Reviewed by Mark Rowe. Bug 25840: fix some warnings seen on the GTK bot https://bugs.webkit.org/show_bug.cgi?id=25840 * platform/ScrollView.cpp: (WebCore::ScrollView::platformScrollbarModes): Initialize results here. This is really just to quiet warnings. I think this code is unreachable. Someone could put ASSERT_NOT_REACHED() in here too at some point. * plugins/PluginStream.cpp: (WebCore::PluginStream::startStream): Use proper printf format for int here, %d, not %lu. This could cause a real problem when compiled 64-bit, so it's good to fix. * rendering/RenderTextControl.cpp: (WebCore::getNextSoftBreak): Initialize breakOffset to 0 here. This is really just to quiet the warning, but still seems like a good idea. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43811 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
darin@apple.com authored
Reviewed by Darin Adler. Bug 25769: Fix accessibility warnings on GTK https://bugs.webkit.org/show_bug.cgi?id=25769 * page/AccessibilityTable.cpp: (WebCore::AccessibilityTable::columnCount): Get rid of excess const. (WebCore::AccessibilityTable::rowCount): Ditto. * page/AccessibilityTable.h: Ditto. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43810 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
darin@apple.com authored
2009-05-17 Kai Brüning <kai@granus.net> Reviewed by Darin Adler. bug 25822: DOM normalize does not remove empty text node between element nodes https://bugs.webkit.org/show_bug.cgi?id=25822 Test: fast/dom/Node/normalize.html * dom/Node.cpp: (WebCore::Node::normalize): Changed to remove any empty text nodes. LayoutTests: 2009-05-17 Kai Brüning <kai@granus.net> Reviewed by Darin Adler. Test case for bug 25822: DOM normalize does not remove empty text node between element nodes https://bugs.webkit.org/show_bug.cgi?id=25822 The test case strives to test the whole functionality of Node's normalize(). * fast/dom/Node/normalize-expected.txt: Added. * fast/dom/Node/normalize.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43809 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 16 May, 2009 12 commits
-
-
mrowe@apple.com authored
Reviewed by Darin Adler. Allow Strings to be created with one malloc node with no copying https://bugs.webkit.org/show_bug.cgi?id=25779 Add new methods to String and StringImpl, refactoring existing methods in StringImpl to use new createUninitialized() method. * platform/text/PlatformString.h: (WebCore::String::createUninitialized): * platform/text/StringImpl.cpp: (WebCore::StringImpl::createUninitialized): (WebCore::StringImpl::create): * platform/text/StringImpl.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43808 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rdar://problem/6827041mrowe@apple.com authored
dramatically improve animated GIF decoding performance Reviewed by Darin Adler. Recent versions of ImageIO discard previously decoded image frames if the client application no longer holds references to them, so there's no need to throw away the decoder unless we're explicitly asked to destroy all of the frames. This drops peak CPU usage when displaying <http://www.aintitcool.com/files/HoD2.gif> from over 90% to below 3%. * platform/graphics/cg/ImageSourceCG.cpp: (WebCore::ImageSource::clear): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43807 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andersca@apple.com authored
2009-05-16 Anders Carlsson <andersca@apple.com> Reviewed by Sam Weinig and Dan Bernstein. Fix <rdar://problem/6889644>. * English.lproj/Localizable.strings: WebKit/mac: 2009-05-16 Anders Carlsson <andersca@apple.com> Reviewed by Sam Weinig and Dan Bernstein. Fix <rdar://problem/6889644> * Plugins/Hosted/NetscapePluginHostManager.mm: (WebKit::NetscapePluginHostManager::spawnPluginHost): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43806 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mitz@apple.com authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43805 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mitz@apple.com authored
* WebInspector/WebInspector.mm: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43804 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andersca@apple.com authored
Reviewed by Dan Bernstein. <rdar://problem/6895347> Mouse wheeling in the QuickTime plug-in (incorrectly) scrolls the page Fix logic. The plug-in returns true if it handled the event. * Plugins/WebNetscapePluginView.mm: (-[WebNetscapePluginView sendEvent:isDrawRect:]): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43803 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mitz@apple.com authored
Reviewed by Alexey Proskuryakov. - fix <rdar://problem/6873305> Two distinct characters are not displayed correctly with 2 of the font selections from the stickies widget Test: platform/mac/editing/pasteboard/text-precomposed.html Ensure that "text/plain" data retrieved from the clipboard is always precomposed. This makes Clipboard::getData() and Pasteboard::documentFragment() consistent with Pasteboard::plainText() and -[WebHTMLView _documentFragmentFromPasteboard:forType:inContext:subresources:]. * platform/mac/ClipboardMac.mm: (WebCore::ClipboardMac::getData): * platform/mac/PasteboardMac.mm: (WebCore::Pasteboard::documentFragment): WebKit/mac: Reviewed by Alexey Proskuryakov. - fix <rdar://problem/6873305> Two distinct characters are not displayed correctly with 2 of the font selections from the stickies widget * WebView/WebHTMLView.mm: (-[WebHTMLView _plainTextFromPasteboard:]): Return precomposed text. This is consistent with -_documentFragmentFromPasteboard:forType:inContext:subresources:. LayoutTests: Reviewed by Alexey Proskuryakov. - test for <rdar://problem/6873305> Two distinct characters are not displayed correctly with 2 of the font selections from the stickies widget * platform/mac/editing/pasteboard/text-precomposed-expected.txt: Added. * platform/mac/editing/pasteboard/text-precomposed.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43802 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
zecke@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=25787 Copy over the log routine from the OSX TestNetscapePlugin to the copy of Gtk. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43801 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
zecke@webkit.org authored
WebKitTools: 2009-05-11 Holger Hans Peter Freyther <zecke@selfish.org> Reviewed by Jan Michael Alonzo. https://bugs.webkit.org/show_bug.cgi?id=25787 Forward port r39877 from main.c of OSX to TestNetscapePlugin of Gtk. * DumpRenderTree/gtk/TestNetscapePlugin/TestNetscapePlugin.cpp: (webkit_test_plugin_new_instance): LayoutTests: 2009-05-11 Holger Hans Peter Freyther <zecke@selfish.org> Reviewed by Jan Michael Alonzo. https://bugs.webkit.org/show_bug.cgi?id=25787 Enable plugins/npruntime.html * platform/gtk/Skipped: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43800 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mrowe@apple.com authored
* css/CSSComputedStyleDeclaration.cpp: (WebCore::valueForFamily): Declare valueForFamily as static. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43799 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
darin@apple.com authored
Fix some failures from recent changes. * platform/gtk/Skipped: Added recently-added test to the "no expected results" section. * platform/win/fast/css/getComputedStyle/computed-style-expected.txt: Updated. * platform/win/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt: Ditto. * svg/css/getComputedStyle-basic-expected.txt: Ditto. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43798 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
darin@apple.com authored
2009-05-15 Darin Adler <darin@apple.com> Reviewed by Dan Bernstein. <rdar://problem/6883872> REGRESSION (r43243): computed style for font-family is returning only the generic font, if any generic font is in the family list Test: fast/css/getComputedStyle/computed-style-font-family.html * css/CSSComputedStyleDeclaration.cpp: Sorted computedProperties alphabetically. Added CSSPropertyClip and CSSPropertyWordBreak. (WebCore::identifierForFamily): Added. Maps internal font family names to identifiers. (WebCore::valueForFamily): Added. Creates either an identifier or a string as appropriate. (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue): Implemented the font-family property as specified in the CSS standard. Fixed clip to return "auto" when there is no clip set instead of nothing at all. Gave inheritableProperties and numInheritableProperties internal linkage since there was no reason for them to have external linkage. LayoutTests: 2009-05-15 Darin Adler <darin@apple.com> Reviewed by Dan Bernstein. <rdar://problem/6883872> REGRESSION (r43243): computed style for font-family is returning only the generic font, if any generic font is in the family list * fast/css/getComputedStyle/computed-style-font-family-expected.txt: Added. * fast/css/getComputedStyle/computed-style-font-family.html: Added. * fast/css/getComputedStyle/computed-style.html: Updated array of properties to dump that are not visible when iterating the computed style object. Removed pointless unused array of unimplemented properties. * fast/css/getComputedStyle/computed-style-without-renderer.html: Ditto. * platform/mac/fast/css/getComputedStyle/computed-style-expected.txt: Updated. * platform/mac/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt: Ditto. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43797 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 15 May, 2009 4 commits
-
-
kov@webkit.org authored
Reviewed by Jan Alonzo. Plug memory leak. * webkit/webkitwebsettings.cpp: (free_spell_checking_language): (webkit_web_settings_finalize): (webkit_web_settings_set_property): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43796 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
abarth@webkit.org authored
2009-05-15 Adam Barth <abarth@webkit.org> Reviewed by Oliver Hunt. https://bugs.webkit.org/show_bug.cgi?id=25741 Append instead of throwing when insertItemBefore gets an out-of-bound index. Test: svg/dom/svglist-insertItemBefore-appends.html * svg/SVGList.h: (WebCore::SVGList::insertItemBefore): LayoutTests: 2009-05-15 Adam Barth <abarth@webkit.org> Reviewed by Oliver Hunt. https://bugs.webkit.org/show_bug.cgi?id=25741 Test that insertBeforeItem behaves properly for out of bounds indices. * svg/dom/svglist-exception-on-out-bounds-error-expected.txt: * svg/dom/svglist-exception-on-out-bounds-error.html: * svg/dom/svglist-insertItemBefore-appends-expected.txt: Added. * svg/dom/svglist-insertItemBefore-appends.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43795 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
kevino@webkit.org authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43794 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
simon.fraser@apple.com authored
Reviewed by Darin Adler https://bugs.webkit.org/show_bug.cgi?id=25829 Fix -webkit-background-clip:text when the renderer had a non (0,0) x, y offset. Test: fast/backgrounds/background-clip-text.html * rendering/RenderBoxModelObject.cpp: (WebCore::RenderBoxModelObject::paintFillLayerExtended): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43793 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-