Timeline
Feb 5, 2008:
- 11:08 PM Changeset in webkit [30037] by
-
- 2 edits in trunk/WebCore
Build fix -- touch generate-bindings to trigger regeneration of bindings
- 10:18 PM Changeset in webkit [30036] by
-
- 224 edits in trunk/LayoutTests/platform/mac/svg/custom
Added the svn:mime-type property to PNGs that did not have it.
- 10:01 PM Changeset in webkit [30035] by
-
- 66 edits in trunk
RS=Eric.
Re-enable foreignObject by default as it is needed for a number of
non-fO related SVG tests and none of the old known crashes occur
anymore.
- 8:36 PM Changeset in webkit [30034] by
-
- 7 edits4 adds in trunk
Reviewed by Anders Carlsson.
Fix for http://bugs.webkit.org/show_bug.cgi?id=8080
NodeList (and other DOM lists) items are not enumeratable using for..in
- JavaScriptCore.exp:
WebCore:
Reviewed by Anders Carlsson.
Fix for http://bugs.webkit.org/show_bug.cgi?id=8080
NodeList (and other DOM lists) items are not enumeratable using for..in
- Match Firefox when enumerating DOM interfaces with indexGetters (support for the array bracket, nodeList[0], notation) by including all the items in the list before the attributes and methods of the interface.
Test: fast/dom/domListEnumeration.html
- ForwardingHeaders/kjs/PropertyNameArray.h: Added.
- bindings/js/JSDOMWindowCustom.cpp: (WebCore::JSDOMWindow::customGetPropertyNames): Use the new custom method model.
- bindings/js/JSHistoryCustom.cpp: (WebCore::JSHistory::customGetPropertyNames): ditto.
- bindings/scripts/CodeGeneratorJS.pm: Instead of just adding a declaration of getProperyNames and implementing the method in the Custom.cpp, move to a the model used by generated getOwnPropertySlot() and put() where the custom code is written in a separate customGetPropertyNames which returns a bool indicating whether to call up to the base class. This enables adding the list indexes to the PropertyNameArray for interfaces with indexGetters automatically.
LayoutTests:
Reviewed by Anders Carlsson.
Test for http://bugs.webkit.org/show_bug.cgi?id=8080
NodeList (and other DOM lists) items are not enumeratable using for..in
- fast/dom/domListEnumeration-expected.txt: Added.
- fast/dom/domListEnumeration.html: Added.
- fast/dom/resources/domListEnumeration.js: Added.
- 6:13 PM Changeset in webkit [30033] by
-
- 1 edit10 adds in trunk/LayoutTests
Reviewed by Oliver.
Add new dynamic update tests, for SVGClipPathElement.
- 5:29 PM Changeset in webkit [30032] by
-
- 9 edits3 adds in trunk
WebCore:
Reviewed by Darin Adler.
Fix for <rdar://problem/5726604>
dom-checker: deleting properties of the window object cross-domain should not be allowed
Fix flaw found while testing with dom-checker testing tool (http://code.google.com/p/dom-checker/).
Test: http/tests/security/cross-frame-access-delete.html
- bindings/js/JSDOMWindowCustom.cpp: (WebCore::JSDOMWindow::deleteProperty): Override deleteProperty to not delete cross-domain.
- bindings/js/JSHistoryCustom.cpp: (WebCore::JSHistory::deleteProperty): ditto.
- bindings/js/JSLocation.cpp: (WebCore::JSLocation::deleteProperty): ditto.
- bindings/js/JSLocation.h:
- bindings/scripts/CodeGeneratorJS.pm: Add deleteProperty declaration when CustomDeleteProperty is used.
- page/DOMWindow.idl: Add CustomDeleteProperty extended attribute.
- page/History.idl: ditto.
LayoutTests:
Reviewed by Darin Adler.
Test for <rdar://problem/5726604>
dom-checker: deleting properties of the window object cross-domain should not be allowed
- http/tests/security/cross-frame-access-delete-expected.txt: Added.
- http/tests/security/cross-frame-access-delete.html: Added.
- http/tests/security/resources/cross-frame-iframe-for-delete-test.html: Added.
- 5:24 PM Changeset in webkit [30031] by
-
- 4 edits in trunk/WebKit/gtk
2008-02-05 Mark Rowe <mrowe@apple.com>
Reviewed by Alp Toker.
Fix warnings seen on the Gtk port by declaring variables and using constants of the correct types.
- webkit/webkitwebbackforwardlist.cpp: (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_contains_item):
- webkit/webkitwebhistoryitem.cpp:
- webkit/webkitwebview.cpp:
- 5:16 PM Changeset in webkit [30030] by
-
- 2 edits in trunk/WebKitTools
Build fix. Don't override intermediate directory.
- Drosera/win/Drosera.vcproj/Drosera.vcproj:
- 4:57 PM Changeset in webkit [30029] by
-
- 2 edits in trunk/WebCore
2008-02-05 Alp Toker <alp@atoker.com>
Rubber-stamped by Mark Rowe.
Fix a "missing sentinel in function call" warning by using NULL
instead of 0.
- platform/gtk/RenderThemeGtk.cpp: (WebCore::RenderThemeGtk::caretBlinkFrequency):
- 3:09 PM Changeset in webkit [30028] by
-
- 5 edits30 adds in trunk
Reviewed by Oliver.
Fix dynamic updates of <circle> element's properties.
Added tests: svg/dynamic-updates/SVGCircleElement*
- 2:31 PM Changeset in webkit [30027] by
-
- 2 edits in trunk/WebCore
Wx build fix. Add WebCore/plugins to the include path.
- 2:28 PM Changeset in webkit [30026] by
-
- 3 edits in trunk/WebKitTools
Build fix for Windows. willCloseFrame is a pure virtual and we are
forced to have an implementation.
This partially reverts r30014.
- 2:24 PM Changeset in webkit [30025] by
-
- 4 edits in tags/Safari-5525.7.2
Versioning.
- 2:23 PM Changeset in webkit [30024] by
-
- 4 edits in trunk/WebCore
2008-02-05 Mark Rowe <mrowe@apple.com>
Mac build fix. Update the Xcode project to follow a moved file,
and track a rename in two files that were missed earlier.
- WebCore.xcodeproj/project.pbxproj:
- page/mac/WebCoreFrameBridge.mm: (-[WebCoreFrameBridge canProvideDocumentSource]):
- platform/mac/PlugInInfoStoreMac.mm: (WebCore::PluginInfoStore::pluginNameForMIMEType):
- 2:22 PM Changeset in webkit [30023] by
-
- 2 edits in tags/Safari-5525.7.2/WebKit/mac
Merge r30020.
- 1:57 PM Changeset in webkit [30022] by
-
- 1 edit in trunk/WebCore/ChangeLog
Forgot to mention bug
- 1:56 PM Changeset in webkit [30021] by
-
- 6 edits25 adds in trunk
Reviewed by Holger.
Fix dynamic SVG DOM updates of <a> element's href property.
This commit also introduces a new SVG Tests framework: LayoutTests/svg/dynamic-updates
Its purpose is to provide dynamic updating tests for each SVG class & property, aka.
one test per property per class. As a first pass it's sufficient to add testcases for all
SVG*Element classes, and their properties - and only common-used base-class properties.
For SVGAElement - for example - it makes most sense to test scripting its parent
SVGURIReference object ('href' property) and its own property 'target'.
Adding tests to see - for example - if SVGAElement reacts on changes on ie. its parent
SVGExternalResourcesRequired interface, should really be done in a second pass.
All tests within the new framework are supposed to be created using make-js-tests-wrappers.
- 1:54 PM Changeset in webkit [30020] by
-
- 2 edits in trunk/WebKit/mac
Unreviewed build fix. Add missing #import.
- 1:53 PM Changeset in webkit [30019] by
-
- 1 copy in tags/Safari-5525.7.2
New tag.
- 1:53 PM Changeset in webkit [30018] by
-
- 1 delete in tags/Safari-5525.72
Remove bogus tag.
- 1:52 PM Changeset in webkit [30017] by
-
- 1 copy in tags/Safari-5525.72
New tag.
- 1:51 PM Changeset in webkit [30016] by
-
- 4 edits6 adds in trunk
WebCore:
Reviewed by Alexey Proskuryakov.
<rdar://problem/5685601> webkit-block-placeholder class on placeholders seems unnecessary (12317)
- editing/CompositeEditCommand.cpp: (WebCore::createBlockPlaceholderElement): The khtml-block-placeholder class was needed when the editing code actively looked for <br>s of that type in order to handle them specially. That is no longer the case.
- editing/InsertParagraphSeparatorCommand.cpp: (WebCore::InsertParagraphSeparatorCommand::doApply): Fixed a bug where an extra block would be inserted when hitting return inside an editable root held open by a placeholder <br> or '\n'. Added test cases for the bug and for the special case code that was incorrectly triggered to cause the bug.
LayoutTests:
Reviewed by Alexey Proskuryakov.
<rdar://problem/5685601> webkit-block-placeholder class on placeholders seems unnecessary (12317)
- editing/inserting/5685601-1-expected.txt: Added.
- editing/inserting/5685601-1.html: Added.
- editing/inserting/5685601-2-expected.txt: Added.
- editing/inserting/5685601-2.html: Added.
- editing/inserting/5685601-3-expected.txt: Added.
- editing/inserting/5685601-3.html: Added.
- 1:46 PM Changeset in webkit [30015] by
-
- 20 edits6 moves in trunk
2008-02-05 Rodney Dawes <dobey@wayofthemonkey.com>
Reviewed by Anders Carlsson.
Part one of http://bugs.webkit.org/show_bug.cgi?id=16924.
Shared PluginDatabase, PluginInfoStore and PluginPackage implementations.
Remove the Win suffix on several plugin-related classes that will
soon be refactored to be more portable.
- 12:47 PM Changeset in webkit [30014] by
-
- 14 edits in trunk
WebKitTools/
2008-02-05 Holger Freyther <zecke@selfish.org>
Reviewed by Darin.
In http://bugs.webkit.org/show_bug.cgi?id=16853 it was identified that the
the output of the willCloseFrame and didClearWindowObject FrameLoadDelegate
depends on the order the tests are executed.
Propose to remove willCloseFrame and didlCearWindowObject output from the
FrameLoadDelegate and update the test results. The output of didClearWindowObject
is not interesting for any of the current tests and we have other ways to find
out if a frame was closed or not.
- DumpRenderTree/mac/FrameLoadDelegate.mm:
- DumpRenderTree/win/FrameLoadDelegate.cpp: (FrameLoadDelegate::didClearWindowObject):
- DumpRenderTree/win/FrameLoadDelegate.h:
LayoutTest:
2008-02-05 Holger Freyther <zecke@selfish.org>
Reviewed by Darin.
In http://bugs.webkit.org/show_bug.cgi?id=16853 it was identified that the
the output of the willCloseFrame and didClearWindowObject FrameLoadDelegate
depends on the order the tests are executed.
Propose to remove willCloseFrame and didlCearWindowObject output from the
FrameLoadDelegate and update the test results. The output of didClearWindowObject
is not interesting for any of the current tests and we have other ways to find
out if a frame was closed or not.
- http/tests/loading/bad-scheme-subframe-expected.txt:
- http/tests/loading/bad-server-subframe-expected.txt:
- http/tests/loading/basic-expected.txt:
- http/tests/loading/empty-subframe-expected.txt:
- http/tests/loading/gmail-assert-on-load-expected.txt:
- http/tests/loading/onload-vs-immediate-refresh-expected.txt:
- http/tests/loading/slow-parsing-subframe-expected.txt:
- platform/mac/http/tests/loading/simple-subframe-expected.txt:
- webarchive/loading/test-loading-archive-expected.txt:
- 11:52 AM Changeset in webkit [30013] by
-
- 3 edits2 adds in trunk
Reviewed by Darin.
http://bugs.webkit.org/show_bug.cgi?id=17158
Setting innerHTML in a detached XHTML element doesn't use the right namespace
Test: fast/dom/innerHTML-detached-element.xhtml
- dom/XMLTokenizer.cpp: (WebCore::XMLTokenizer::XMLTokenizer): Take parent element namespace into account.
- 11:45 AM Changeset in webkit [30012] by
-
- 4 edits in tags/Safari-5525.7.1
Versioning.
- 11:44 AM Changeset in webkit [30011] by
-
- 8 edits in tags/Safari-5525.7.1
Merge r30003.
- 11:41 AM Changeset in webkit [30010] by
-
- 2 edits in tags/Safari-5525.7.1/WebKit/mac
Merge r29869.
- 11:32 AM Changeset in webkit [30009] by
-
- 7 edits6 adds in trunk
WebCore:
Reviewed by Geoff.
Fix <rdar://problem/5698200>
eBay photo uploading hangs and causes slow script warning to pop up
In a case like this
var f = window.parent.parentFunction;
document.domain = document.domain; this makes window.parent inaccessible
f();
Firefox allows parentFunction to access parents properties. Match this behavior.
In a domain security check against the dynamic global object fails for the specific reason that one of
the frames has written to the document.domain property and another has not (but they match otherwise),
then recheck against the lexical global object.
Test: http/tests/security/cross-frame-access-callback-explicit-domain-ALLOW.html
http/tests/security/cross-frame-access-callback-explicit-domain-DENY.html
- bindings/js/kjs_window.cpp: (KJS::Window::allowsAccessFrom): (KJS::Window::printErrorMessage):
- bindings/js/kjs_window.h:
- loader/FrameLoader.cpp: (WebCore::FrameLoader::shouldAllowNavigation):
- platform/SecurityOrigin.cpp: (WebCore::SecurityOrigin::canAccess):
- platform/SecurityOrigin.h: (WebCore::SecurityOrigin::):
LayoutTests:
Reviewed by Geoff.
Test for <rdar://problem/5698200>
eBay photo uploading hangs and causes slow script warning to pop up
- http/tests/security/cross-frame-access-callback-explicit-domain-ALLOW-expected.txt: Added.
- http/tests/security/cross-frame-access-callback-explicit-domain-ALLOW.html: Added.
- http/tests/security/cross-frame-access-callback-explicit-domain-DENY-expected.txt: Added.
- http/tests/security/cross-frame-access-callback-explicit-domain-DENY.html: Added.
- http/tests/security/resources/cross-frame-iframe-callback-explicit-domain-ALLOW.html: Added.
- http/tests/security/resources/cross-frame-iframe-callback-explicit-domain-DENY.html: Added.
- 11:24 AM Changeset in webkit [30008] by
-
- 1 copy in tags/Safari-5525.7.1
New tag.
- 11:18 AM Changeset in webkit [30007] by
-
- 3 edits in trunk/WebCore
Remove an unused member from Document
Reviewed by Mitz.
- dom/Document.cpp: (WebCore::Document::recalcStyleSelector): There's no need to take m_printSheet into account anymore as it's never anything but the null string.
- dom/Document.h: Removed m_printSheet and methods relating to it.
- 10:36 AM Changeset in webkit [30006] by
-
- 2 edits in trunk/WebKit/win
Reviewed by Darin.
http://bugs.webkit.org/show_bug.cgi?id=15248
<rdar://problem/5497032> Can not enter accented characters using alt-numeric keypad (take two)
- WebView.cpp: (WebViewWndProc): KeyUp messages need to be translated, too.
- 9:31 AM Changeset in webkit [30005] by
-
- 7 edits in trunk
WebCore:
Reviewed by Darin Adler.
- WebCore part of <rdar://problem/5724303> Should implement writing direction shortcuts
- WebCore.base.exp: Added Editor::setBaseWritingDirection() and Frame::baseWritingDirectionForSelectionStart().
- page/mac/WebCoreFrameBridge.h: Removed -baseWritingDirectionForSelectionStart.
- page/mac/WebCoreFrameBridge.mm: Ditto.
WebKit/mac:
Reviewed by Darin Adler.
- WebKit part of <rdar://problem/5724303> Should implement writing direction shortcuts
The key bindings are Command-Control-left arrow and
Command-Control-right arrow. To match AppKit, the bindings are enabled
only when certain user defaults are set.
- WebView/WebHTMLView.mm: (-[WebHTMLView validateUserInterfaceItemWithoutDelegate:]): (-[WebHTMLView toggleBaseWritingDirection:]): Changed to call Frame::baseWritingDirectionForSelectionStart() and Editor::setBaseWritingDirection() directly. (-[WebHTMLView changeBaseWritingDirection:]): Ditto. (writingDirectionKeyBindingsEnabled): Added. (-[WebHTMLView _changeBaseWritingDirectionTo:]): Added this helper method. (-[WebHTMLView changeBaseWritingDirectionToLTR:]): Added. (-[WebHTMLView changeBaseWritingDirectionToRTL:]): Added.
- WebView/WebView.mm:
- 9:01 AM Changeset in webkit [30004] by
-
- 6 edits in trunk/WebKitSite
Update WordPress to 2.3.3 which includes security fixes.
- 7:52 AM Changeset in webkit [30003] by
-
- 8 edits in trunk
Update versioning to support the mysterious future.
Reviewed by Oliver Hunt.
- Configurations/Version.xcconfig: Add SYSTEM_VERSION_PREFIX_1060.
- 2:42 AM Changeset in webkit [30002] by
-
- 2 edits in trunk/WebCore
Fix the wxWidget Mac build by avoiding using ICU functions that were added after ICU 3.2.
- editing/SmartReplaceICU.cpp:
(WebCore::addAllCodePoints): Implement a replacement for uset_addAllCodePoints.
(WebCore::getSmartSet): Use addAllCodePoints instead of uset_addAllCodePoints.
- 1:56 AM Applications using WebKit edited by
- Added Microsoft products. (diff)
- 1:34 AM Changeset in webkit [30001] by
-
- 9 edits10 deletes in trunk
Pretend that r29998 never happened.
- 12:20 AM Changeset in webkit [30000] by
-
- 1 edit in trunk/WebCore/ChangeLog
30,000!
- 12:19 AM Changeset in webkit [29999] by
-
- 2 edits in trunk/WebKitTools
Workaround for http://bugs.webkit.org/show_bug.cgi?id=16842
Bug 16842: Hang in DRT in leaks mode due to signal handler doing unsafe things
Reviewed by Oliver Hunt.
Don't install the signal handler unless we are running the pixel tests.
It is currently only used to restore the color profile, but by catching
signals we can trigger a deadlock in DRT while running leak tests.
The deadlock is tracked by http://bugs.webkit.org/show_bug.cgi?id=16842,
and a more complete fix will need to be developed to address this for
pixel tests as well.
- DumpRenderTree/mac/DumpRenderTree.mm:
(dumpRenderTree):
- 12:16 AM Changeset in webkit [29998] by
-
- 9 edits10 adds in trunk
2008-02-04 Matt Perry <mpComplete@gmail.com>
Reviewed by Darin Adler.
Fix for http://bugs.webkit.org/show_bug.cgi?id=14959
No back forward entry added for pages created in javascript
A new HistoryItem is created for calls to Document::open. Calls to
Document::write save the written data to a SharedBuffer that is also
stored on the HistoryItem. When the user navigates back to a
HistoryItem that has a valid buffer, that data is used for the page
content.
Tests: http/tests/navigation/document-open-adds-history-item.html
http/tests/navigation/document-open-delayed-adds-history-item.html
http/tests/navigation/document-open-new-window-adds-history-item.html
http/tests/navigation/document-open-replace-no-history-item.html
- bindings/js/JSHTMLDocumentCustom.cpp: (WebCore::JSHTMLDocument::open):
- dom/Document.cpp: (WebCore::Document::open): (WebCore::Document::write): (WebCore::Document::clear):
- dom/Document.h:
- history/HistoryItem.cpp: (WebCore::HistoryItem::HistoryItem): (WebCore::HistoryItem::substituteData): (WebCore::HistoryItem::setSubstituteData):
- history/HistoryItem.h:
- loader/FrameLoader.cpp: (WebCore::FrameLoader::didExplicitOpen): (WebCore::FrameLoader::load): (WebCore::FrameLoader::reloadAllowingStaleData): (WebCore::FrameLoader::reload): (WebCore::FrameLoader::shouldTreatURLAsSameAsCurrent): (WebCore::FrameLoader::loadItem):
- loader/FrameLoader.h:
2008-02-04 Matt Perry <mpComplete@gmail.com>
Reviewed by Darin Adler.
Test cases for fix to http://bugs.webkit.org/show_bug.cgi?id=14959
No back forward entry added for pages created in javascript.
- http/tests/navigation/document-open-adds-history-item-expected.txt: Added.
- http/tests/navigation/document-open-adds-history-item.html: Added.
- http/tests/navigation/document-open-delayed-adds-history-item-expected.txt: Added.
- http/tests/navigation/document-open-delayed-adds-history-item.html: Added.
- http/tests/navigation/document-open-new-window-adds-history-item-expected.txt: Added.
- http/tests/navigation/document-open-new-window-adds-history-item.html: Added.
- http/tests/navigation/document-open-replace-no-history-item-expected.txt: Added.
- http/tests/navigation/document-open-replace-no-history-item.html: Added.
Feb 4, 2008:
- 11:58 PM Changeset in webkit [29997] by
-
- 3 edits3 adds in trunk
Fix for Bug 16889: REGRESSION (r29425): Canvas-based graphing calculator fails to run
Bug 17015: REGRESSION (r29414-29428): www.fox.com "shows" menu fails to render
Bug 17164: REGRESSION: JavaScript pop-up menu appears at wrong location when hovering image at http://news.chinatimes.com/
Reviewed by Oliver Hunt
<http://bugs.webkit.org/show_bug.cgi?id=16889>
<rdar://problem/5696255>
<http://bugs.webkit.org/show_bug.cgi?id=17015>
<http://bugs.webkit.org/show_bug.cgi?id=17164>
<rdar://problem/5720947>
The ActivationImp tear-off (r29425) introduced a problem with ReadModify
nodes that first resolve a slot, call valueForReadModifyNode(), and then
store a value in the previously resolved slot. Since valueForReadModifyNode()
may cause a tear-off, the slot needs to be resolved again, but this was
not happening with the existing code.
- 11:28 PM Changeset in webkit [29996] by
-
- 2 edits in trunk/WebKitTools
Gtk qmake build fix. Fix perl's complaint about an odd number of elements in anonymous hash.
- 10:55 PM Changeset in webkit [29995] by
-
- 2 edits in trunk/WebCore
Gtk build fix. wchar_t is only convertible to UChar on Windows.
- 10:54 PM Changeset in webkit [29994] by
-
- 4 edits in trunk
Fix for r29993. Should have been icon-database, not icondatabase:
2008-02-04 Jan Michael Alonzo <jmalonzo@unpluggable.com>
Reviewed by Alp Toker and Mark Rowe.
http://bugs.webkit.org/show_bug.cgi?id=16618
[GTK] build-webkit and run-webkit-tests autootools support
Add support for the autotools build to the WebKit build and test
scripts.
- 10:27 PM Changeset in webkit [29993] by
-
- 7 edits in trunk
2008-02-04 Jan Michael Alonzo <jmalonzo@unpluggable.com>
Reviewed by Mark Rowe.
http://bugs.webkit.org/show_bug.cgi?id=16618
[GTK] build-webkit and run-webkit-tests autootools support
- configure.ac: make the option name of icon database consistent with the rest of webkit (from -icon-database to icondatabase)
2008-02-04 Jan Michael Alonzo <jmalonzo@unpluggable.com>
Reviewed by Mark Rowe.
http://bugs.webkit.org/show_bug.cgi?id=16618
[GTK] build-webkit and run-webkit-tests autootools support
- Scripts/build-webkit: added --database and --icondatabase options
- Scripts/run-launcher:
- Scripts/run-webkit-tests:
- Scripts/webkitdirs.pm:
- 10:18 PM Changeset in webkit [29992] by
-
- 6 edits in trunk
Partial fix for <rdar://5621244> Drag & Drop doesn't work correctly in DRT
Reviewed by Steve F.
iImplement required DRT functionality to allow majority of Drag and Drop testcases to work.
Issues include:
- Uses Sleep() to implement leapForward reliably.
- 3 DND tests still fail for reasons that i have not yet determined
- Has to explicitly ignore an extraneous WM_MOUSELEAVE that i am at a loss to explain
- 9:51 PM Changeset in webkit [29991] by
-
- 4 edits in trunk/JavaScriptCore
2008-02-04 Cameron McCormack <cam@mcc.id.au>
Reviewed by Geoff Garen.
Remove some unneccesary UNUSED_PARAMs. Clarify ownership rule of return value of JSObjectCopyPropertyNames.
- API/JSNode.c: (JSNode_appendChild): (JSNode_removeChild): (JSNode_replaceChild): (JSNode_getNodeType): (JSNode_getFirstChild):
- API/JSNodeList.c: (JSNodeList_length):
- API/JSObjectRef.h:
- 9:47 PM Changeset in webkit [29990] by
-
- 5 edits1 add in trunk/WebCore
2008-02-04 Tony Chang <idealisms@gmail.com>
Reviewed by Darin Adler.
Port the CoreFoundation version of WebCore::isCharacterSmartReplaceExempt
for other platforms by using ICU directly.
- GNUmakefile.am: Add SmartReplaceICU.cpp.
- WebCore.pro: Ditto.
- WebCoreSources.bkl: Ditto.
- editing/SmartReplace.cpp: Don't use this empty implementation when ICU is available.
- editing/SmartReplaceICU.cpp: (getSmartSet): (WebCore::isCharacterSmartReplaceExempt):
- 9:32 PM Changeset in webkit [29989] by
-
- 3 edits2 adds in trunk
2008-02-04 Robert Sesek <rsesek@bluestatic.org>
Reviewed by Darin Adler.
Fix http://bugs.webkit.org/show_bug.cgi?id=17042
forms without action attributes submit to the <base> href instead of the originating page
Test: fast/forms/missing-action.html
- html/HTMLFormElement.cpp: (WebCore::HTMLFormElement::submit): Submit to origin if there is no action
2008-02-04 Robert Sesek <rsesek@bluestatic.org>
Reviewed by Darin Adler.
Test for Fix http://bugs.webkit.org/show_bug.cgi?id=17042
forms without action attributes submit to the <base> href instead of the originating page
- fast/forms/missing-action-expected.txt: Added.
- fast/forms/missing-action.html: Added.
- 9:18 PM Changeset in webkit [29988] by
-
- 3 edits in trunk/WebCore
Gtk build fix. Use std::numeric_limits in place of ULLONG_MAX as some Linux machines do not have ULLONG_MAX.
OriginUsageRecord::unknownDiskUsage becomes a static function to avoid the global initialiser which would otherwise be generated.
Reviewed by Tim Hatcher.
- 7:34 PM Changeset in webkit [29987] by
-
- 2 edits in trunk/WebCore
Speculative Gtk build fix.
- 7:25 PM Changeset in webkit [29986] by
-
- 6 edits in trunk
Fix http://bugs.webkit.org/show_bug.cgi?id=17175 (Bug 17175: Use of C++ compiler flags in CFLAGS).
Reviewed by Alp Toker and Mark Rowe.
Add global_cxxflags definition for inclusion in CXXFLAGS variables.
Only use -fno-rtti and $(SYMBOL_VISIBILITY_INLINES) with global_cxxflags as gcc complains they aren't valid for C.
- 5:41 PM Changeset in webkit [29985] by
-
- 16 edits in trunk/WebKit/gtk
2008-02-04 Christian Dywan <christian@imendio.com>
Reviewed by Alp Toker.
http://bugs.webkit.org/show_bug.cgi?id=17065
[GTK] Use a consistent coding style
- 5:33 PM Changeset in webkit [29984] by
-
- 5 edits in trunk/WebCore
Attempt to fix build of all non-Mac platforms
- GNUmakefile.am:
- WebCore.pro:
- WebCore.vcproj/WebCore.vcproj:
- WebCoreSources.bkl:
- 4:55 PM Changeset in webkit [29983] by
-
- 8 edits4 adds in trunk/WebCore
Reviewed by Darin
Fix for <rdar://problem/5628468> - Quotas need to be implemented per-origin, and not per-database
To accomplish this, we need to track the sizes of all databases in an origin to constantly keep an up to date
count of the origin's total disk usage. I've introduced the OriginQuotaManager and OriginUsageRecord classes
to accomplish this.
Whenever a transaction is known to mutate the size of a database (tracked by the DatabaseAuthorizer), it marks
that database as unknown in the OriginQuotaManager. When a transaction later comes along to ask the
OriginQuotaManager the usage for that origin, it stat's all of the unknown databases in the origin and returns
the result.
Since the OriginQuotaManager is interesting from both the main thread and a DatabaseThread, all accessors it
provides require it to be locked first. ASSERTs help guarantee this is always the case.
Layout test will involve adding functionality to DRT on multiple platforms and will be coming up shortly
- WebCore.xcodeproj/project.pbxproj:
- platform/SecurityOrigin.h: Changed to be ThreadSafeShared instead of RefCounted
- storage/Database.cpp: (WebCore::Database::databaseSize): Return the current filesize of this database on disk (WebCore::Database::maximumSize): Added - calculates maximum size of this database based on quota and usage
- storage/Database.h: Add databaseSize() accessor, and get rid of unused declared methods that *were* going to be the solution for this bug.
- storage/DatabaseTracker.cpp: (WebCore::DatabaseTracker::originQuotaManager): Accessor to the OriginQuotaManager which is lazily created (WebCore::DatabaseTracker::canEstablishDatabase): Fetch the usage for this database slightly earlier, which will ensure that the OriginQuotaManager is primed to track this origin (WebCore::DatabaseTracker::fullPathForDatabase): Ditto (WebCore::DatabaseTracker::populateOrigins): Create the OriginQuotaManager here. (WebCore::DatabaseTracker::usageForOrigin): Use the OriginQuotaManager instead of looping through each database in the origin (WebCore::DatabaseTracker::deleteOrigin): Remove this origin from the OriginQuotaManager as it is no longer interesting (WebCore::DatabaseTracker::deleteDatabase): Remove this database from the OriginQuotaManager as it is no longer interesting
- storage/DatabaseTracker.h:
- storage/OriginQuotaManager.cpp: Added. (WebCore::OriginQuotaManager::OriginQuotaManager): (WebCore::OriginQuotaManager::lock): (WebCore::OriginQuotaManager::unlock): (WebCore::OriginQuotaManager::trackOrigin): Add an origin to be tracked. Useful for when the very first database in a new origin is still in the process of being created (WebCore::OriginQuotaManager::tracksOrigin): (WebCore::OriginQuotaManager::addDatabase): (WebCore::OriginQuotaManager::removeDatabase): (WebCore::OriginQuotaManager::removeOrigin): Removes all records in a certain origin from being tracked (WebCore::OriginQuotaManager::markDatabase): Mark a specific database as having an unknown size - called when the DatabaseAuthorizer in a SQLTransaction knows the file size might change. (WebCore::OriginQuotaManager::diskUsage): Returns the disk usage for the given origin
- storage/OriginQuotaManager.h: Added.
- storage/OriginUsageRecord.cpp: Added. (WebCore::OriginUsageRecord::OriginUsageRecord): (WebCore::OriginUsageRecord::addDatabase): Adds an entry for the database in this origin's record (WebCore::OriginUsageRecord::removeDatabase): Removes that entry (WebCore::OriginUsageRecord::markDatabase): Marks the database as of unknown size (WebCore::OriginUsageRecord::diskUsage): Returns the cached disk usage value, or recalculates it if any databases are marked
- storage/OriginUsageRecord.h: Added.
- storage/SQLTransaction.cpp: (WebCore::SQLTransaction::openTransactionAndPreflight): Use Database::maximumSize() instead of attributing the entire quota to each database. (WebCore::SQLTransaction::runStatements): Use Database::maximumSize() instead of attributing the entire quota to each database. (WebCore::SQLTransaction::runCurrentStatement): Mark this databases's size as unknown in the OriginQuotaManager if this statement will change the size of the database
- storage/SQLTransaction.h:
- 4:36 PM Changeset in webkit [29982] by
-
- 3 edits in trunk/WebCore
Reviewed by Darin Adler.
<rdar://problem/5607381> CrashTracer: [REGRESSION] 1748 crashes in Safari at com.apple.WebCore: WebCore::Image::width const + 24
Use an empty image when the local image file could not be loaded.
No test case because it would require forcing tiff load failure.
- editing/DeleteButtonController.cpp: (WebCore::DeleteButtonController::createDeletionUI): Do not present the deletion UI in the (odd) event that the delete button could not be loaded.
- platform/graphics/mac/ImageMac.mm: (WebCore::Image::loadPlatformResource): Return an empty image instead of 0 if the load fails.
- 3:24 PM Changeset in webkit [29981] by
-
- 2 edits in trunk/WebCore
- dom/Document.cpp: (WebCore::Document::completeURL): Fixed misleading comment.
- 2:53 PM Changeset in webkit [29980] by
-
- 1 edit1 add in trunk/WebKitLibraries
<rdar://problem/5722735> Merge fix for SQLITE_FULL error
is given even if the max_page_count is increased (2920)
- libWebCoreSQLite3.a:
- 2:15 PM Changeset in webkit [29979] by
-
- 2 edits in trunk/WebCore
2008-02-04 Jon Honeycutt <jhoneycutt@apple.com>
Reviewed by Darin.
Blacklist Silverlight versions older than min required, not newer.
- plugins/win/PluginPackageWin.cpp: (WebCore::PluginPackageWin::isPluginBlacklisted):
- 2:14 PM Changeset in webkit [29978] by
-
- 3 adds in trunk/LayoutTests/platform/mac/fast/css
Add layout test for selector parsing changes.
- 2:14 PM Changeset in webkit [29977] by
-
- 1 add in trunk/LayoutTests/fast/css/simple-selector-chain-parsing.html
Add layout test for selector parsing changes.
- 2:12 PM Changeset in webkit [29976] by
-
- 2 edits in trunk/WebCore
Fix for bug 16751, misparsing of html*.test in CSS.
Reviewed by darin
Added fast/css/simple-selector-chain-parsing.html
- css/CSSGrammar.y:
- 1:38 PM Changeset in webkit [29975] by
-
- 2 edits in trunk/WebCore
Suggested by Geoff and Maciej.
- bindings/js/JSCustomSQLTransactionCallback.cpp: Reworded a misleading comment to be correct.
- 1:32 PM Changeset in webkit [29974] by
-
- 3 edits in trunk/WebCore
2008-02-04 Jon Honeycutt <jhoneycutt@apple.com>
Reviewed by Steve, Anders.
<rdar://problem/5211187> QuickTime and Flash plug-ins draw outside of
content area when inside an iframe or div with overflow when playing a
movie and scrolling the iframe/div area
Clip the update region to the zero rect when scrolling. Don't do this
for Java, because it results in repaint problems.
- plugins/PluginQuirkSet.h: Added the DontClipToZeroRectWhenScrolling quirk (WebCore::):
- plugins/win/PluginViewWin.cpp: (WebCore::PluginViewWin::updateWindow): Readded the old behavior of clipping to the zero rect when updating the window during a scroll. Added plug-in quirk to ignore this behavior for Java. Swapped order of the SetWindowRgn() and MoveWindow() calls to prevent Java from painting outside of its container during a scroll. (WebCore::PluginViewWin::determineQuirks): If this is Java, add the DontClipToZeroRectWhenScrolling quirk.
- 12:57 PM Changeset in webkit [29973] by
-
- 4 edits in trunk/WebCore
Reviewed by Mark Rowe.
<rdar://problem/5722972> Leopard needs to statically link SQLite
- Configurations/Base.xcconfig: Always have a header search path for WebCoreSQLite3.
- Configurations/DebugRelease.xcconfig: Ditto.
- Configurations/WebCore.xcconfig: Always link against WebCoreSQLite3.
- 12:29 PM Changeset in webkit [29972] by
-
- 2 edits in trunk/LayoutTests
- platform/win/Skipped: Added one more failure.
- 12:24 PM Changeset in webkit [29971] by
-
- 1 edit in trunk/LayoutTests/platform/win/Skipped
Fixed a typo
- 12:23 PM Changeset in webkit [29970] by
-
- 2 edits in trunk/LayoutTests
- platform/win/Skipped: Added some new failures.
- 12:17 PM Changeset in webkit [29969] by
-
- 2 edits in trunk/WebCore
Windows build fix
- bindings/scripts/CodeGeneratorCOM.pm: Touched to force a rebuild of the COM bindings.
- 11:04 AM Changeset in webkit [29968] by
-
- 3 edits3 adds in trunk
WebCore:
Reviewed by Tim Hatcher.
- fix <rdar://problem/5715481> REGRESSION (r26499): JavaScript document.lastModified is not supported
Re-add attribute inadvertantly lost by r26499.
Test: fast/js/lastModified.html: Added.
- dom/Document.idl: Add lastModified.
LayoutTests:
Reviewed by Tim Hatcher.
Test for <rdar://problem/5715481> REGRESSION (r26499): JavaScript document.lastModified is not supported
- fast/js/lastModified-expected.txt: Added.
- fast/js/lastModified.html: Added.
- fast/js/resources/lastModified.js: Added.
- 10:41 AM Changeset in webkit [29967] by
-
- 1 edit in trunk/WebCore/ChangeLog
Fix wrongly auto-merged change log.
- 10:40 AM Changeset in webkit [29966] by
-
- 3 edits in trunk/WebCore
Fix the search field if the inpsected Document has overridden
Document.evaluate or Document.querySelectorAll
Reviewed by Darin.
- manual-tests/inspector-document-methods-override.html: Added.
- page/InspectorController.cpp: (WebCore::InspectorController::didCommitLoad): Reworded a comment to force WebCore.vcproj to build.
- page/inspector/inspector.js: Call Document.prototype.{evaluate,querySelectorAll}.call instead of calling the functions directly on the inspected Document. This ensures we are calling the version of these functions we intended to.
- 10:37 AM Changeset in webkit [29965] by
-
- 3 edits1 add in trunk/WebCore
Fix the search field if the inpsected Document has overridden Document.evaluate or Document.querySelectorAll
Reviewed by Darin.
- manual-tests/inspector-document-methods-override.html: Added.
- page/InspectorController.cpp: (WebCore::InspectorController::didCommitLoad): Reworded a comment to force WebCore.vcproj to build.
- page/inspector/inspector.js: Call Document.prototype.{evaluate,querySelectorAll}.call instead of calling the functions directly on the inspected Document. This ensures we are calling the version of these functions we intended to.
- 10:26 AM ApplicationsGtk edited by
- Add another app: Clutter (diff)
- 9:31 AM ApplicationsGtk edited by
- List a few more apps (diff)
- 9:25 AM Changeset in webkit [29964] by
-
- 4 edits in trunk/WebCore
Reviewed by Tim Hatcher.
- possible fix for <rdar://problem/5714030> Crash in Database::deliverAllPendingCallbacks() reloading a page quickly
I don't fully understand the cause of the crash, but I think this might
be a helpful change.
- platform/sql/SQLiteTransaction.cpp: (WebCore::SQLiteTransaction::commit): If the commit fails, don't leave this transaction and database both marked as "still in progress". As far as I can tell this does no good, and also seems to do harm. (WebCore::SQLiteTransaction::rollback): Ditto.
- storage/Database.cpp: (WebCore::Database::performTransactionStep): Add some assertions to detect databases stuck in the "transaction in progress" state.
- storage/SQLTransaction.cpp: (WebCore::SQLTransaction::openTransactionAndPreflight): Ditto. (WebCore::SQLTransaction::postflightAndCommit): Ditto. (WebCore::SQLTransaction::cleanupAfterTransactionErrorCallback): Ditto.
- 9:23 AM Changeset in webkit [29963] by
-
- 19 edits1 copy5 adds in trunk
WebCore:
Reviewed by Geoff.
- fix <rdar://problem/5715692> REGRESSION (r28570): JavaScript window.scrollTo() calls no longer accept 'undefined' values
By default, we should accept non-numeric parameters and non-integral numbers for
parameters that expect integers, without throwing exceptions.
While creating the test for this, I ran into a couple minor bugs with the
functions involved, and this patch fixes those too.
Test: fast/dom/non-numeric-values-numeric-parameters.html
- bindings/js/JSHTMLOptionsCollectionCustom.cpp: (WebCore::JSHTMLOptionsCollection::add): Added. This function has unusual behavior when passed non-integral values for its second parameter, so it needs to be written by hand. I think that [Custom] is better here than inventing a new keyword.
- bindings/scripts/CodeGeneratorJS.pm: Changed default for "long" and "unsigned long" to ignore errors rather than failing due to type differences. Also changed a couple functions to use hashes.
- css/CSSStyleSheet.h: (WebCore::CSSStyleSheet::removeRule): Remove overload of removeRule without a second parameters. While we do allow this from JavaScript, it's not a true optional parameter, but rather just a case of "you can omit parameters and they are treated as undefined" combined with "undefined turns into 0 when passed to a function that takes an integer".
- css/CSSStyleSheet.idl: Removed [Optional] on the index parameter for removeRule. This is not truly an optional parameter.
- dom/ProgressEvent.cpp: (WebCore::ProgressEvent::initProgressEvent): Updated this function to match other DOM event init functions -- important to do nothing if this is called on the an already-dispatched event and we need to respect the bubble and cancelable arguments. Also removed initProgressEventNS. We don't support namespaced events, and if we add support, it should be across all event classes, not just ProgressEvent.
- dom/ProgressEvent.h: Removed initProgressEventNS.
- dom/ProgressEvent.idl: Ditto.
- dom/Range.cpp: (WebCore::Range::createContextualFragment): Added a check for 0. This can happen if the passed-in start container is a node that's not an HTML element and also does not have a parent.
- html/HTMLOptionsCollection.idl: Added the [Custom] attribute to add, since the rules for processing its parameters are unusual.
- page/DOMSelection.cpp: Removed the version of setPosition that has only one parameter. The offset is not really optional.
- page/DOMSelection.h: Ditto.
- page/DOMSelection.idl: Removed the [Optional] keyword for the second parameter of setPosition. It's not a true optional parameter (see discussion of removeRule above).
- page/DOMWindow.cpp: (WebCore::DOMWindow::adjustWindowRect): Simplified logic for constraining the X and Y coordinates, in a way that makes them work even when the window coordinates are infinite. Also strengthened the assertion.
WebKitTools:
Reviewed by Geoff.
- Scripts/make-js-test-wrappers: Look at the whole LayoutTests tree, not just the fast and svg subdirectories. Added some more exceptions for the benefit of the fast/dom subdirectory.
LayoutTests:
Reviewed by Geoff.
- test for <rdar://problem/5715692> REGRESSION (r28570): JavaScript window.scrollTo() calls no longer accept 'undefined' values
- fast/dom/non-numeric-values-numeric-parameters-expected.txt: Added.
- fast/dom/non-numeric-values-numeric-parameters.html: Added.
- fast/dom/resources/TEMPLATE.html: Copied from fast/dom/Element/resources/TEMPLATE.html.
- fast/dom/resources/non-numeric-values-numeric-parameters.js: Added.
- editing/selection/extend-expected.txt: Updated.
- editing/selection/extend.html: Removed test that extend throws if passed only one parameter. There's no reason for us to be strict about this -- we generally treat missing parameters the same as if "undefined" had been passed with few exceptions.
- 8:13 AM Changeset in webkit [29962] by
-
- 2 edits in trunk/WebKitTools
Windows Apple-only build fix
- DumpRenderTree/win/DumpRenderTree.vcproj: Added a new include directory.
- 5:34 AM QtWebKitTodo edited by
- (diff)
- 3:00 AM Changeset in webkit [29961] by
-
- 71 edits in trunk
2008-02-04 Alp Toker <alp@atoker.com>
Rubber-stamped by Mark Rowe.
Remove all trailing whitespace in the GTK+ port and related
components.