Timeline



Nov 21, 2007:

11:06 PM Changeset in webkit [27955] by eric@webkit.org
  • 2 edits in trunk/WebKitTools

2007-11-21 Eric Seidel <eric@webkit.org>

Speculative build fix for Tiger.

  • DumpRenderTree/mac/PixelDumpSupport.mm: include unistd.h
10:48 PM Changeset in webkit [27954] by mrowe@apple.com
  • 1 edit in trunk/JavaScriptCore/ChangeLog

Update changelog entry to match reality.

9:54 PM Changeset in webkit [27953] by timothy@apple.com
  • 3 edits in trunk/WebCore

Reviewed by Eric Seidel.

Show Fonts as Yellow in the network timeline.

  • page/inspector/NetworkPanel.js:
  • page/inspector/inspector.css:
9:23 PM Changeset in webkit [27952] by mitz@apple.com
  • 6 edits
    4 adds in trunk

WebCore:

Reviewed by Eric Seidel.

  • fix <rdar://problem/5607037> REGRESSION (r27351): Departure date does not repaint when changed on Google Maps public transit planner (16034)

Test: fast/repaint/subtree-root-skipped.html

  • page/FrameView.cpp: (WebCore::FrameViewPrivate::FrameViewPrivate): Initialize the layout root to 0. (WebCore::FrameView::layoutRoot): Changed to return a RenderObject instead of a Node. (WebCore::FrameView::layout): Changed for layout root being a renderer rather than a DOM node. Also replaced clearing the repaint rects set with asserting that it is empty if this is the top-level call to layout(). If it is not, the set may contain rects from enclosing layout() and those should not be removed. (WebCore::FrameView::scheduleRelayout): Changed for layout root being a renderer rather than a DOM node. (WebCore::isObjectAncestorContainerOf): Added this helper function that tests whether one object will be marked by calling markContainingBlocksForLayout() on the other. (WebCore::FrameView::scheduleRelayoutOfSubtree): Changed for layout root being a renderer rather than a DOM node. Changed the check if new and current layout roots are on the same path from the root to use the subgraph of the render tree defined by container()hood instead of the DOM tree and parenthood.
  • page/FrameView.h:
  • rendering/RenderBox.cpp: (WebCore::RenderBox::calcWidth): Changed for layout root being a renderer rather than a DOM node.
  • rendering/RenderObject.cpp: (WebCore::RenderObject::~RenderObject): Added an assertion that the object being deleted is not currently the layout root. (WebCore::RenderObject::scheduleRelayout): Changed for layout root being a renderer rather than a DOM node.

LayoutTests:

Reviewed by Eric Seidel.

  • repaint test for <rdar://problem/5607037> REGRESSION (r27351): Departure date does not repaint when changed on Google Maps public transit planner (16034)
  • fast/repaint/subtree-root-skipped.html: Added.
  • platform/mac-leopard/fast/repaint/subtree-root-skipped-expected.checksum: Added.
  • platform/mac-leopard/fast/repaint/subtree-root-skipped-expected.png: Added.
  • platform/mac/fast/repaint/subtree-root-skipped-expected.txt: Added.
8:32 PM Changeset in webkit [27951] by mrowe@apple.com
  • 15 edits in trunk

Fix JavaScriptGlue, WebCore and WebKit to build without warnings using GCC 4.2.

Reviewed by Eric.

8:13 PM Changeset in webkit [27950] by mrowe@apple.com
  • 2 edits in trunk/WebKitSite

2007-11-21 Mark Rowe <mrowe@apple.com>

Reviewed by Eric.

Update coding style to cover control statements with no body.

  • coding/coding-style.html:
8:03 PM Changeset in webkit [27949] by eric@webkit.org
  • 8 edits
    4 copies
    2 adds in trunk/WebKitTools

2007-11-21 Eric Seidel <eric@webkit.org>

Reviewed by Tim Hatcher.

Break out more of DumpRenderTree.mm into individual files

  • DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
  • DumpRenderTree/mac/CheckedMalloc.cpp: Added. (checkedMalloc): (checkedRealloc): (makeLargeMallocFailSilently):
  • DumpRenderTree/mac/CheckedMalloc.h: Added.
  • DumpRenderTree/mac/DumpRenderTree.mm: (crashHandler): (dump):
  • DumpRenderTree/mac/DumpRenderTreeMac.h:
  • DumpRenderTree/mac/DumpRenderTreePasteboard.h:
  • DumpRenderTree/mac/DumpRenderTreePasteboard.m:
  • DumpRenderTree/mac/DumpRenderTreeWindow.h:
  • DumpRenderTree/mac/DumpRenderTreeWindow.mm:
  • DumpRenderTree/mac/JavaScriptThreading.cpp: Added. (javaScriptThreads): (runJavaScriptThread): (startJavaScriptThreads): (stopJavaScriptThreads):
  • DumpRenderTree/mac/JavaScriptThreading.h: Added.
  • DumpRenderTree/mac/PixelDumpSupport.h: Added.
  • DumpRenderTree/mac/PixelDumpSupport.mm: Added. (restoreColorSpace): (setDefaultColorProfileToRGB): (initializeColorSpaceAndScreeBufferForPixelTests): (md5HashStringForBitmap): (dumpWebViewAsPixelsAndCompareWithExpected):
7:28 PM Changeset in webkit [27948] by alp@webkit.org
  • 2 edits in trunk/WebCore

2007-11-21 Alp Toker <alp@atoker.com>

Reviewed by Mark Rowe.

http://bugs.webkit.org/show_bug.cgi?id=16071
Curl backend handles EINTR incorrectly

Defer timers during select() to avoid interruption by timer signals.

  • platform/network/curl/ResourceHandleManager.cpp: (WebCore::ResourceHandleManager::downloadTimerCallback):
7:08 PM Changeset in webkit [27947] by mrowe@apple.com
  • 13 edits in trunk

Fix <rdar://problem/5602936> Need to resolve new GCC 4.2 warnings.

Reviewed by Tim Hatcher.

Fix all warnings emitted by GCC 4.2 when building JavaScriptCore. This allows builds with
-Werror to succeed. At present they will crash when executed due to code that is not safe
under strict aliasing (<rdar://problem/5536806>).

This required some format strings to be modified in WebCore and WebKit as their format
specifiers did not match the argument type.

7:01 PM Changeset in webkit [27946] by kevino@webkit.org
  • 2 edits
    1 move in trunk/WebKitTools

Restore the wx buildbot for Mac by automatically installing dependencies not provided by the OS into WebKitLibraries.

Reviewed by Mark Rowe

6:19 PM Changeset in webkit [27945] by eric@webkit.org
  • 4 edits in trunk/WebKitTools

2007-11-21 Eric Seidel <eric@webkit.org>

Reviewed by Adam.

More refactoring for greater code readability

  • DumpRenderTree/mac/DumpRenderTree.mm: (initializeGlobalsFromCommandLineOptions): (initializeColorSpaceAndScreeBufferForPixelTests): (addTestPluginsToPluginSearchPath): (useLongRunningServerMode): (runTestingServerLoop): (prepareConsistentTestingEnvironment): (dumpRenderTree): (main): (dumpFramesAsText): (dumpBackForwardListForWebView): (sizeWebViewForCurrentTest): (methodNameStringForFailedTest): (dumpBackForwardListForAllWindows): (dumpWebViewAsPixelsAndCompareWithExpected): (invalidateAnyPreviousWaitToDumpWatchdog): (dump):
  • DumpRenderTree/mac/DumpRenderTreeMac.h:
  • DumpRenderTree/mac/UIDelegate.mm: (-[UIDelegate webView:createWebViewWithRequest:]):
4:24 PM Changeset in webkit [27944] by alp@webkit.org
  • 2 edits in trunk/WebCore

2007-11-21 Xan Lopez <xan@gnome.org>

Reviewed by Alp Toker.

Clarify scroll event processing with a comment.

  • platform/gtk/PlatformScrollBarGtk.cpp: (gtkScrollEventCallback):
3:40 PM Changeset in webkit [27943] by timothy@apple.com
  • 2 edits in trunk/WebCore

Reviewed by Adam Roben.

Bug 16085: Web Inspector's Network Timeline graph code clean up and misc. fixes
http://bugs.webkit.org/show_bug.cgi?id=16085


Changes include:

  • Refactor the drawing code as nested functions instead of global functions.
  • Compute the segment percentages only once per call to drawSummaryGraph.
  • Account for percentages that rounded down to total less-than 100%.
  • Draw the pill shadow better using the canvas shadow drawing properties.
  • Removes a couple canvas context saves and restores.
  • page/inspector/NetworkPanel.js:
11:29 AM Changeset in webkit [27942] by eric@webkit.org
  • 2 edits in trunk/WebKitTools

2007-11-21 Eric Seidel <eric@webkit.org>

Reviewed by Tim Hatcher.

Abstract more of DRT into static methods

  • DumpRenderTree/mac/DumpRenderTree.mm: (setDefaultsToConsistentValuesForTesting): (setupSignalHandlers): (allocateGlobalControllers): (releaseAndZero): (releaseGlobalControllers): (dumpRenderTree): (shouldLogFrameLoadDelegates): (createCFURLFromPathOrURL): (resetWebViewToConsistentStateBeforeTesting): (runTest):
11:28 AM Changeset in webkit [27941] by eric@webkit.org
  • 4 edits
    2 copies
    2 adds in trunk/WebKitTools

2007-11-21 Eric Seidel <eric@webkit.org>

Reviewed by Tim Hatcher.

Pull DumpRenderTreeWindow and DumpRenderTreePasteboard out into their own files

  • DumpRenderTree/DumpRenderTree.h:
  • DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
  • DumpRenderTree/mac/DumpRenderTree.mm: (dumpRenderTree): (dump): (runTest):
  • DumpRenderTree/mac/DumpRenderTreePasteboard.h: Added.
  • DumpRenderTree/mac/DumpRenderTreePasteboard.m: Added. (+[DumpRenderTreePasteboard _pasteboardWithName:]): (+[DumpRenderTreePasteboard releaseLocalPasteboards]): (-[DumpRenderTreePasteboard declareType:owner:]): (+[LocalPasteboard alloc]): (-[LocalPasteboard init]): (-[LocalPasteboard dealloc]): (-[LocalPasteboard name]): (-[LocalPasteboard releaseGlobally]): (-[LocalPasteboard declareTypes:owner:]): (-[LocalPasteboard addTypes:owner:]): (-[LocalPasteboard changeCount]): (-[LocalPasteboard types]): (-[LocalPasteboard availableTypeFromArray:]): (-[LocalPasteboard setData:forType:]): (-[LocalPasteboard dataForType:]): (-[LocalPasteboard setPropertyList:forType:]): (-[LocalPasteboard setString:forType:]):
  • DumpRenderTree/mac/DumpRenderTreeWindow.h: Added.
  • DumpRenderTree/mac/DumpRenderTreeWindow.mm: Added. (+[DumpRenderTreeWindow allWindows]): (-[DumpRenderTreeWindow initWithContentRect:styleMask:backing:defer:]): (-[DumpRenderTreeWindow dealloc]): (-[DumpRenderTreeWindow isKeyWindow]): (-[DumpRenderTreeWindow keyDown:]):
10:48 AM BuildingGtk edited by alp@atoker.com
Add public API and GtkLauncher to the list of code modules (diff)
8:18 AM QtWebKitContrib edited by treat@kde.org
(diff)
8:15 AM BuildingQtOnWindows edited by treat@kde.org
(diff)
8:14 AM QtWebKitContrib edited by treat@kde.org
(diff)
8:13 AM BuildingQtOnLinux edited by treat@kde.org
(diff)
8:11 AM BuildingQtOnLinux edited by treat@kde.org
(diff)
8:08 AM QtWebKitContrib edited by treat@kde.org
(diff)
8:07 AM QtWebKitTodo edited by treat@kde.org
(diff)
8:07 AM QtWebKit edited by treat@kde.org
(diff)
8:06 AM QtWebKitContrib edited by treat@kde.org
(diff)
8:01 AM QtWebKitContrib created by treat@kde.org
7:16 AM QtWebKit edited by treat@kde.org
(diff)
5:02 AM Changeset in webkit [27940] by treat@webkit.org
  • 3 edits in trunk/WebKit/qt
  • Connect up the signal for all subframes too.
4:20 AM Changeset in webkit [27939] by ap@webkit.org
  • 2 edits in trunk/LayoutTests

Reviewed by Maciej.

<rdar://problem/5230233> dom/xhtml/level2/html/frame.xhtml is failing on Windows

This isn't actually a test, but an unused resource - we should re-work the W3C test rig to
support subresource loading from (X)HTML.
Anyway, it doesn't fail for me, I suppose this problem was fixed since the bug was filed.

  • platform/win/Skipped:
4:07 AM QtWebKitTodo edited by Simon Hausmann
(diff)
3:54 AM Changeset in webkit [27938] by ap@webkit.org
  • 3 edits in trunk/LayoutTests

Reviewed by Maciej.

Fix a copy/paste error in the test (introduced in bug 12194).

  • http/tests/xmlhttprequest/zero-length-response-sync-expected.txt:
  • http/tests/xmlhttprequest/zero-length-response-sync.html:
2:01 AM WikiStart edited by Adam Roben
(diff)
12:10 AM Changeset in webkit [27937] by ap@webkit.org
  • 11 edits in trunk/WebCore

Reviewed by Adam Roben.

http://bugs.webkit.org/show_bug.cgi?id=16056
Unicode not being interpreted correctly in Web Inspector source view

Cannot be tested automatically.

  • loader/CachedCSSStyleSheet.cpp: (WebCore::CachedCSSStyleSheet::encoding):
  • loader/CachedCSSStyleSheet.h:
  • loader/CachedResource.h: (WebCore::CachedResource::encoding):
  • loader/CachedScript.cpp: (WebCore::CachedScript::encoding):
  • loader/CachedScript.h:
  • loader/CachedXBLDocument.cpp: (WebCore::CachedXBLDocument::encoding):
  • loader/CachedXBLDocument.h:
  • loader/CachedXSLStyleSheet.cpp: (WebCore::CachedXSLStyleSheet::encoding):
  • loader/CachedXSLStyleSheet.h: Teach textual CachedResources to report their encodings.
  • page/InspectorController.cpp: (WebCore::addSourceToFrame): (WebCore::updateResourceResponse): Use the actual encoding - the network layer has little idea about it.

Nov 20, 2007:

11:29 PM Changeset in webkit [27936] by mrowe@apple.com
  • 3 edits in trunk/WebCore

Fix <rdar://problem/5609579> (DOMParser().parseFromString() freezes Safari when parsing large nodes with XML entities)
http://bugs.webkit.org/show_bug.cgi?id=16076

Reviewed by Maciej Stachowiak.

XMLTokenizer was calling CharacterData::appendData twice per entity in the fragment of XML being
parsed (once for text before the entity, once for the entity itself). This triggered O(n2) copying
of the CharacterData's string due to resizing. We now prevent this happening by buffering all the
content for a given Text node in the XMLTokenizer before sending it out to the node in a single go.

10:55 PM Changeset in webkit [27935] by timothy@apple.com
  • 4 edits in trunk/WebCore

Reviewed by Mark Rowe.

Animate the status area and tip balloons in the Web Inspector
with CSS animations.

  • page/inspector/NetworkPanel.js:
  • page/inspector/inspector.css:
  • page/inspector/inspector.js:
5:14 PM Changeset in webkit [27934] by kevino@webkit.org
  • 6 edits in trunk

wx build fix for Windows. Don't use WebCore/move-js-headers.sh as it indiscriminately copies any headers inside JavaScriptCore, which includes Tiger ICU headers.

2:11 PM Changeset in webkit [27933] by alp@webkit.org
  • 2 edits in trunk/WebCore

2007-11-20 Alp Toker <alp@atoker.com>

Reviewed by Mark Rowe.

Avoid pointlessly mallocing and freeing this transform matrix.

  • platform/gtk/FontPlatformDataGtk.cpp: (WebCore::FontPlatformData::FontPlatformData):
1:46 PM Changeset in webkit [27932] by alp@webkit.org
  • 2 edits in trunk/WebCore

2007-11-20 Naiem Shaik <naiem.shaik@gmail.com>

Reviewed by Alp Toker.

http://bugs.webkit.org/show_bug.cgi?id=15763
[GTK] Enter key does not take to the link highlighted.

Add missing keycode cases.

  • platform/gtk/KeyEventGtk.cpp: (WebCore::keyIdentifierForGdkKeyCode): (WebCore::windowsKeyCodeForKeyEvent): (WebCore::PlatformKeyboardEvent::PlatformKeyboardEvent):
1:36 PM Changeset in webkit [27931] by mrowe@apple.com
  • 5 edits in trunk

Fix http://bugs.webkit.org/show_bug.cgi?id=16074
Bug 16074: execCommand("InsertHorizontalRule", false, "") results in id="" being inserted

For consistency with InsertOrderedList and InsertUnorderedList a value parameter of "" should
not result in an id being set.

Reviewed by Sam Weinig.

10:01 AM Changeset in webkit [27930] by treat@webkit.org
  • 3 edits in trunk/WebKitTools
  • Prepend git branch name to $baseProductDir
9:38 AM Changeset in webkit [27929] by mitz@apple.com
  • 3 edits in trunk/WebCore

Reviewed by Adam Roben.

  • fix <rdar://problem/5090708> Textareas render broken-looking scrollbars when too short to show full scrollbar
  • platform/win/PlatformScrollBar.h:
  • platform/win/PlatformScrollBarSafari.cpp: Added the "hit inset" constants (representing how far the track eats into the button). (WebCore::PlatformScrollbar::paint): Changed to paint the buttons and the thumb only if they should be showing. (WebCore::PlatformScrollbar::hasButtons): Added. Returns whether the arrows should be drawn. (WebCore::PlatformScrollbar::hasThumb): Added. Returns whether the thumb should be drawn. (WebCore::PlatformScrollbar::forwardButtonRect): (WebCore::PlatformScrollbar::trackRect): Changed to return the entire bounds of the scrollbar if the scrollbar has no buttons. (WebCore::PlatformScrollbar::paintTrack): Changed to paint a disabled track along the entire scrollbar if it has not buttons. (WebCore::PlatformScrollbar::hitTest): Changed to hit test only the parts that the scrollbar has in its current dimensions.
8:06 AM Changeset in webkit [27928] by mrowe@apple.com
  • 4 edits in trunk

2007-11-20 Mark Rowe <mrowe@apple.com>

Reviewed by Alp Toker.

  • WebKit.pri: Add in -Wno-unused-parameter to silence warnings in WebCore.

2007-11-20 Mark Rowe <mrowe@apple.com>

Reviewed by Alp Toker.

  • config.h: Change #if to #ifdef to silence warnings on non-Apple platforms.
7:53 AM Changeset in webkit [27927] by mrowe@apple.com
  • 3 edits in trunk/WebKitTools

2007-11-20 Mark Rowe <mrowe@apple.com>

Reviewed by Simon Hausmann.

  • Scripts/build-webkit: Pass "clean" flag down into buildQMakeProject.
  • Scripts/webkitdirs.pm: Respect the "clean" flag passed down from build-webkit. Have it trigger a "make distclean" rather than "make clean" to ensure that the built product and generated Makefile's are removed.
7:35 AM Changeset in webkit [27926] by alp@webkit.org
  • 2 edits in trunk

2007-11-20 Alp Toker <alp@atoker.com>

Reviewed by Simon Hausmann.

Clean up GTK+ port configuration.

Use similar compiler warning flags to the Mac build.

Add the qmake changes needed for DirectFB support.

  • WebKit.pri:
7:27 AM Changeset in webkit [27925] by Simon Hausmann
  • 5 edits in trunk

Remove static linkage of QtWebKit against the ICO image format plugin.

Instead build the support for the ICO image format as a proper standalone qt image format plugin and install it.

Signed-off-by: Adam Treat <treat@kde.org>

6:52 AM Changeset in webkit [27924] by ddkilzer@apple.com
  • 1 edit in trunk/WebCore/bindings/scripts/CodeGeneratorObjC.pm

Fix typo.

6:48 AM Changeset in webkit [27923] by ddkilzer@apple.com
  • 2 edits in trunk/WebCore

no-svg build broken after r27278
<http://bugs.webkit.org/show_bug.cgi?id=16061>

Reviewed by Eric.

  • bindings/scripts/CodeGeneratorObjC.pm: Always generate DOMHTMLEmbedElementPrivate.h and DOMHTMLObjectElementPrivate.h for no-svg build.
6:23 AM Changeset in webkit [27922] by Simon Hausmann
  • 2 edits in trunk/WebKit/qt

Added a default argument to textContent for the hoveringOverLink signal to keep existing two-argument connections working

Signed-off-by: George Staikos <staikos@kde.org>

5:26 AM Changeset in webkit [27921] by treat@webkit.org
  • 4 edits in trunk/WebCore
  • Don't use so much heap memory.
4:37 AM Changeset in webkit [27920] by treat@webkit.org
  • 3 edits in trunk/WebCore
  • Make gif animations work for instance.
1:06 AM Changeset in webkit [27919] by Simon Hausmann
  • 4 edits in trunk/WebKit/qt

Add an argument to pass the link text in the hovering signal

Signed-off-by: Simon Hausmann <hausmann@kde.org>

1:03 AM Changeset in webkit [27918] by Simon Hausmann
  • 6 edits in trunk/LayoutTests

Adjust some test result after fixing a bug related to computation
of QFont::xHeight() in Qt.

1:02 AM Changeset in webkit [27917] by Simon Hausmann
  • 5 edits in trunk

Fix text break interators.

The break iterators where trying to be smart about the input
string and caching their results. Unfortunately a pointer/string length
comparison is not good enough in all cases (since some input is stack based
temp strings). Removed the caching but at the same time started to use a more
efficient constructor of QTextBoundaryFinder that doesn't need to malloc for
most strings.

Fixes two test cases that test "text-transform: capitalize".

12:50 AM Changeset in webkit [27916] by treat@webkit.org
  • 2 edits in trunk/WebCore
  • Build in release mode
12:29 AM Changeset in webkit [27915] by treat@webkit.org
  • 4 edits in trunk
  • Be quiet and allow suppression of NotImplemented calls at runtime.

Nov 19, 2007:

6:39 PM Changeset in webkit [27914] by alp@webkit.org
  • 3 edits in trunk/WebCore

2007-11-19 Doug Turner <dougt@meer.net>

Reviewed by Alp Toker.

http://bugs.webkit.org/show_bug.cgi?id=16054
Crash when GlyphPage::fill is called with more than 256 bytes of data

http://bugs.webkit.org/show_bug.cgi?id=14446
[GDK] Crash on http://www.wikipedia.org/

setGlyphDataForIndex() uses a fixed array of size 256 which we can't
exceed. We need to return failure if the buffer has Unicode
supplementary characters for now.

This strategy matches the Win port, which also doesn't support this
case yet.

Add an assertion so nobody makes this mistake again.

  • platform/GlyphPageTreeNode.h: (WebCore::GlyphPage::setGlyphDataForIndex):
  • platform/gtk/GlyphPageTreeNodeGtk.cpp: (WebCore::GlyphPage::fill):
4:24 PM Changeset in webkit [27913] by kevino@webkit.org
  • 2 edits in trunk/JavaScriptCore

wx port build fix (wx headers include ctype functions).

2:53 PM Changeset in webkit [27912] by Antti Koivisto
  • 5 edits in trunk/LayoutTests

Rubber-stamped by bdash.


Improve coverage of these tests.

  • media/video-muted-expected.txt:
  • media/video-muted.html:
  • media/video-volume-expected.txt:
  • media/video-volume.html:
11:39 AM BuildingGtk edited by alp@atoker.com
Note the targets supported by the GTK+ port (diff)
11:00 AM Changeset in webkit [27911] by kevino@webkit.org
  • 1 edit
    2 deletes in trunk/JavaScriptCore

Remove outdated and unused Windows port files.

Reviewed by Adam Roben.

10:01 AM Changeset in webkit [27910] by alp@webkit.org
  • 2 edits in trunk/WebCore

2007-11-19 Doug Turner <dougt@meer.net>

Reviewed by Timothy Hatcher.

http://bugs.webkit.org/show_bug.cgi?id=16050
sqlite3_prepare16_v2 build bustage.

Using the correct SQLITE_VERSION_NUMBER around sqlite_prepare16_v2
to fix build bustage.

  • platform/sql/SQLiteStatement.cpp: (WebCore::SQLiteStatement::prepare):
9:56 AM Changeset in webkit [27909] by mrowe@apple.com
  • 2 edits in trunk/WebCore

2007-11-19 Mark Rowe <mrowe@apple.com>

Build fix. Don't over-qualify the constructor name.

  • storage/DatabaseDetails.h:
9:51 AM Changeset in webkit [27908] by beidson@apple.com
  • 11 edits
    1 add in trunk

WebCore:

Reviewed by Maciej

Stub out the WebCore parts of the WebKit API

  • WebCore.base.exp:
  • WebCore.xcodeproj/project.pbxproj:
  • storage/DatabaseDetails.h: Added. Simple container for vitals on a specific database (WebCore::DatabaseDetails::DatabaseDetails::DatabaseDetails): (WebCore::DatabaseDetails::DatabaseDetails): (WebCore::DatabaseDetails::isValid): (WebCore::DatabaseDetails::name): (WebCore::DatabaseDetails::version): (WebCore::DatabaseDetails::displayName): (WebCore::DatabaseDetails::expectedUsage): (WebCore::DatabaseDetails::currentUsage):
  • storage/DatabaseTracker.cpp: Added various methods for API usage (WebCore::DatabaseTracker::detailsForNameAndOrigin): (WebCore::DatabaseTracker::usageForOrigin): (WebCore::DatabaseTracker::quotaForOrigin): (WebCore::DatabaseTracker::setQuota):
  • storage/DatabaseTracker.h:

WebKit:

Reviewed by Maciej

  • WebKit.xcodeproj/project.pbxproj: Sorted!

WebKit/mac:

Reviewed by Maciej

Finished hooking up the WebKit API for database management.
Most of the API is actually implemented in WebCore and some of those methods might
only be stubs for now.

  • Storage/WebDatabaseManager.mm: (-[WebDatabaseManager origins]): Call through to the WebCore tracker and construct an API result (-[WebDatabaseManager databasesWithOrigin:]): Ditto (-[WebDatabaseManager detailsForDatabase:withOrigin:]): Ditto
  • Storage/WebSecurityOrigin.mm: (-[WebSecurityOrigin usage]): Call through to WebCore (-[WebSecurityOrigin quota]): Ditto (-[WebSecurityOrigin setQuota:]): Ditto (-[WebSecurityOrigin _core]): Get WebCore version of this object
  • Storage/WebSecurityOriginInternal.h:
9:28 AM Changeset in webkit [27907] by kevino@webkit.org
  • 2 edits in trunk/WebCore

wx port build fix for !USE(WXGC).

7:59 AM Changeset in webkit [27906] by alp@webkit.org
  • 2 edits
    1 add
    1 delete in trunk/WebKitTools

2007-11-19 Alp Toker <alp@atoker.com>

Reviewed by Mark Rowe.

http://bugs.webkit.org/show_bug.cgi?id=16040
[GTK] GtkLauncher should be written in C

Port GtkLauncher to plain C.

Use a more conventional GTK+ coding style.

Use a toolbar instead of menus.

Various signature fixes and cleanups.

Add a license header. Assume all previous modifications were copyright
assigned to Apple Inc. by default.

  • GtkLauncher/GtkLauncher.pro:
  • GtkLauncher/main.c: Added. (activate_url_entry_cb): (update_title): (link_hover_cb): (title_change_cb): (progress_change_cb): (destroy_cb): (go_back_cb): (go_forward_cb): (create_browser): (create_statusbar): (create_toolbar): (create_window): (main):
  • GtkLauncher/main.cpp: Removed.
7:53 AM Changeset in webkit [27905] by alp@webkit.org
  • 3 edits in trunk/WebCore

2007-11-19 Alp Toker <alp@atoker.com>

Reviewed by Mark Rowe.

GTK+ drawing fixes.

Add a check to avoid crashing when the GraphicsContext is not
associated with a GdkDrawable. This was noticed when adding printing
support but might be triggered in other situations too.

Do not render themes when painting is disabled. This is an
optimisation for cases where GraphicsContext is used to calculate page
dimensions etc. without actually rendering.

  • platform/graphics/cairo/GraphicsContextCairo.cpp: (WebCore::GraphicsContext::gdkDrawable):
  • platform/gtk/RenderThemeGtk.cpp: (WebCore::paintMozWidget):
7:33 AM Changeset in webkit [27904] by treat@webkit.org
  • 2 edits in trunk/WebKit/qt
  • Don't segfault when event pos is outside of the widget.
5:43 AM Changeset in webkit [27903] by mrowe@apple.com
  • 2 edits in trunk/WebCore

2007-11-13 Rahul Abrol <ra5ul@comcast.net>

Reviewed by Tim Hatcher.

http://bugs.webkit.org/show_bug.cgi?id=15977
Resizing images preference now toggles default image state.

  • loader/ImageDocument.cpp: (WebCore::ImageDocument::ImageDocument): (WebCore::ImageDocument::createDocumentStructure): (WebCore::ImageDocument::imageChanged):
5:02 AM Changeset in webkit [27902] by mrowe@apple.com
  • 6 edits in trunk/WebCore

Roll out r27896 as it caused lots of build breakages.

4:51 AM Changeset in webkit [27901] by mrowe@apple.com
  • 2 edits in trunk/WebCore

2007-11-19 Mark Rowe <mrowe@apple.com>

Build fix.

  • platform/image-decoders/gif/GIFImageDecoder.cpp: (WebCore::GIFImageDecoder::initFrameBuffer):
4:47 AM Changeset in webkit [27900] by mrowe@apple.com
  • 2 edits in trunk/WebCore

2007-11-19 Mark Rowe <mrowe@apple.com>

Build fix.

  • platform/image-decoders/gif/GIFImageDecoder.cpp: (WebCore::GIFImageDecoder::initFrameBuffer): Remove reference to SkBitmap type that doesn't belong.
4:37 AM Changeset in webkit [27899] by mrowe@apple.com
  • 14 edits in trunk

2007-11-19 Kevin Ollivier <kevino@theolliviers.com>

Build script fixes to ensure they do the right thing for the
wx port, and update build-wxwebkit to reflect the way the
build scripts now work.

Reviewed by Adam.

  • Scripts/build-testkjs:
  • Scripts/build-webkit:
  • Scripts/run-javascriptcore-tests:
  • Scripts/webkitdirs.pm:
  • wx/build-wxwebkit:

2007-11-19 Kevin Ollivier <kevino@theolliviers.com>

Add pcre directory to JSCore includes, and update the wx port
to reflect the Shared -> RefCounted name change. Also, fix
WebFrame.cpp to re-enable code that should never have been
committed disabled.

Reviewed by Adam.

2007-11-19 Kevin Ollivier <kevino@theolliviers.com>

Update wx port build sources with recent changes, update
wx FontPlatformData to be a class (MSVC7 gets confused
otherwise...) and implement its hash() method.

Reviewed by Adam.

  • WebCoreSources.bkl:
  • platform/wx/FontPlatformData.h: (WebCore::FontPlatformData::hash):
4:30 AM Changeset in webkit [27898] by mrowe@apple.com
  • 8 edits
    4 adds in trunk

2007-11-19 Julien Chaffraix <julien.chaffraix@gmail.com>

Reviewed by Darin.

http://bugs.webkit.org/show_bug.cgi?id=12194
Bug 12194: Trying to access XMLHttpRequest.responseText or responseXML when they
are not available should raise an exception

Tests: http/tests/xmlhttprequest/xmlhttprequest-responseText-exception.html

http/tests/xmlhttprequest/xmlhttprequest-responseXML-exception.html

  • bindings/js/JSXMLHttpRequest.cpp: (KJS::JSXMLHttpRequest::getValueProperty):
  • xml/XMLHttpRequest.cpp: (WebCore::XMLHttpRequest::getResponseText): (WebCore::XMLHttpRequest::getResponseXML):
  • xml/XMLHttpRequest.h:

2007-11-19 Julien Chaffraix <julien.chaffraix@gmail.com>

Reviewed by Darin.

http://bugs.webkit.org/show_bug.cgi?id=12194
Bug 12194: Trying to access XMLHttpRequest.responseText or responseXML when they are not
available should raise an exception

  • http/tests/xmlhttprequest/xmlhttprequest-responseText-exception-expected.txt: Added.
  • http/tests/xmlhttprequest/xmlhttprequest-responseText-exception.html: Added.
  • http/tests/xmlhttprequest/xmlhttprequest-responseXML-exception-expected.txt: Added.
  • http/tests/xmlhttprequest/xmlhttprequest-responseXML-exception.html: Added.
  • http/tests/xmlhttprequest/zero-length-response-expected.txt: Updated result
  • http/tests/xmlhttprequest/zero-length-response-sync-expected.txt: Updated result
  • http/tests/xmlhttprequest/zero-length-response-sync.html: Corrected URL & added exception handling to test case
4:22 AM Changeset in webkit [27897] by mrowe@apple.com
  • 2 edits in trunk/WebCore

2007-11-19 Peter Kasting <zerodpx@gmail.com>

Reviewed by Darin Adler.

http://bugs.webkit.org/show_bug.cgi?id=15971
The GIF decoder should not fail decoding if the caller asks it to
decode again when no new data has arrived since the last call.

  • platform/image-decoders/gif/GIFImageReader.cpp: (GIFImageReader::read):
4:22 AM Changeset in webkit [27896] by mrowe@apple.com
  • 6 edits in trunk/WebCore

2007-11-19 Peter Kasting <zerodpx@gmail.com>

Reviewed by Darin Adler.

http://bugs.webkit.org/show_bug.cgi?id=15974
GIF decoding should respect frames' specified disposal methods.

  • platform/image-decoders/ImageDecoder.h: (WebCore::RGBA32Buffer::): (WebCore::RGBA32Buffer::RGBA32Buffer): (WebCore::RGBA32Buffer::disposalMethod): (WebCore::RGBA32Buffer::setDisposalMethod):
  • platform/image-decoders/gif/GIFImageDecoder.cpp: (WebCore::GIFImageDecoder::frameBufferAtIndex): (WebCore::GIFImageDecoder::initFrameBuffer): (WebCore::GIFImageDecoder::prepEmptyFrameBuffer): (WebCore::GIFImageDecoder::haveDecodedRow): (WebCore::GIFImageDecoder::frameComplete):
  • platform/image-decoders/gif/GIFImageDecoder.h:
  • platform/image-decoders/gif/GIFImageReader.cpp: (GIFImageReader::read):
  • platform/image-decoders/gif/GIFImageReader.h: (GIFFrameReader::GIFFrameReader):

Nov 18, 2007:

11:14 PM Changeset in webkit [27895] by beidson@apple.com
  • 2 edits in trunk/WebCore

Reviewed by Eric

Fix a crash hashing a default SecurityOriginData object

  • storage/DatabaseTracker.cpp: (WebCore::SecurityOriginDataHash::hash): The default object has some default strings with NULL StringImpls - don't try to hash those!
4:40 PM Changeset in webkit [27894] by eric@webkit.org
  • 2 edits in trunk/JavaScriptCore

2007-11-18 Eric Seidel <eric@webkit.org>

Reviewed by Oliver.

  • tests/mozilla/jsDriver.pl: exit non-0 when user aborts test run
3:04 PM Changeset in webkit [27893] by timothy@apple.com
  • 4 edits in trunk/WebCore

Reviewed by Sam Weinig.

Bug 16043: Remove InspectorController.log now that console.log works
http://bugs.webkit.org/show_bug.cgi?id=16043

Remove the last uses of InspectorController.log. Once use was no longer needed,
checking an erro case that can't happen anymore. The other case now uses console.error.

  • page/InspectorController.cpp: Remove the log function. (WebCore::InspectorController::windowScriptObjectAvailable): Remove the log function from InspectorController script class.
  • page/inspector/DocumentPanel.js: Remove a use of InspectorController.log that isn't needed.
  • page/inspector/Panel.js: Change InspectorController.log to console.log and early return.
3:01 PM Changeset in webkit [27892] by timothy@apple.com
  • 2 edits in trunk/WebCore

Reviewed by Brady.

Bug 16041: REGRESSION: the Database panel in the Inspector stopped showing errors
http://bugs.webkit.org/show_bug.cgi?id=16041

  • page/inspector/DatabasePanel.js: Implement error callbacks to pass to executeSql() and transaction(). Refactored some code for the success and error callbacks to use.
2:18 PM Changeset in webkit [27891] by eric@webkit.org
  • 2 edits in trunk/WebKitTools

2007-11-18 Eric Seidel <eric@webkit.org>

Reviewed by Anders.

Make run-javascriptcore-tests report failures on exit (to support git bisect)

  • Scripts/run-javascriptcore-tests:
9:54 AM Changeset in webkit [27890] by ap@webkit.org
  • 3 edits in trunk/WebKitTools

Reviewed by Adam Roben.

Make run-webkit-tests work with Windows debug build.

  • DumpRenderTree/win/DumpRenderTree.cpp: (main): Only use memory checks with debug CRT.
  • DumpRenderTree/win/DumpRenderTree.vcproj: Switched Debug configuration to release CRT, as it is supposed to run with release Apple libraries. Removed _DEBUG preprocessor symbol, as it goes with debug CRT (AFAIK, it is supposed to be added automatically, and shouldn't be needed in Debug_internal configuration, but I didn't dare to change that).
9:15 AM Changeset in webkit [27889] by kevino@webkit.org
  • 3 edits
    5 adds in trunk/WebKitTools

Add wxWebKit sample and build script, and integrate it with build-webkit. Also make build-webkit --clean work for all ports.

Reviewed by Darin Adler.

7:44 AM QtWebKitTodo edited by treat@kde.org
Updates (diff)
3:31 AM Changeset in webkit [27888] by alp@webkit.org
  • 2 edits in trunk/WebKit/gtk

2007-11-18 Christian Dywan <christian@twotoasts.de>

Reviewed by Alp.

http://bugs.webkit.org/show_bug.cgi?id=15891
[GTK] Javascript console and dialogs are not implemented

Correct script-prompt to return NULL when cancelled.

Small changes to avoid compiler warnings.

  • Api/webkitgtkpage.cpp:
1:49 AM Changeset in webkit [27887] by ap@webkit.org
  • 1 edit in trunk/LayoutTests/fast/parser/html-whitespace.html

Restoring a binary svn:mime-type on the test.

1:46 AM Changeset in webkit [27886] by ap@webkit.org
  • 3 edits
    2 adds in trunk

Reviewed by Maciej.

<rdar://problem/5546393> Whitespace handling doesn't match HTML5.

HTML5 definition is the same as MSIE's, with the exception that the latter strips null
characters. Firefox also treats U+0008 as whitespace, but not U+000B or U+000C.

Test: fast/parser/html-whitespace.html

  • html/HTMLTokenizer.cpp: (WebCore::HTMLTokenizer::parseSpecial): (WebCore::HTMLTokenizer::parseTag): Use isASCIISpace, which matches HTML5 definition of whitespace, and also what we use to check for whitespace almost everywhere.
1:09 AM Changeset in webkit [27885] by mrowe@apple.com
  • 20 edits in trunk

Fix: <rdar://problem/5607032> (REGRESSION: testapi exits with assertion failure in debug build) and <rdar://problem/5440659> (JSGlobalContextCreate throws away globalObjectClass's prototype)

Split Interpreter's initialization into two distinct steps: the creation of the global prototypes
and constructors, and storing them on the global object. This allows JSClassRef's passed to
JSGlobalContextCreate to be instantiated with the correct prototype.

Reviewed by Darin Adler.

Nov 17, 2007:

10:58 PM Changeset in webkit [27884] by timothy@apple.com
  • 3 edits in trunk/WebKit

Attempt to fix port builds.
'

10:40 PM Changeset in webkit [27883] by timothy@apple.com
  • 41 edits
    2 adds in trunk

WebCore:

Reviewed by Mark Rowe.

Bug 13470: i18n: The Web Inspector is not localizable
http://bugs.webkit.org/show_bug.cgi?id=13470

Add support for localization to the Web Inspector. Clients need to
implement localizedStringsURL() to return the URL of the
InspectorLocalizedStrings.js that best matches the user's language.

  • English.lproj: Added.
  • English.lproj/InspectorLocalizedStrings.js: Added.
  • WebCore.xcodeproj/project.pbxproj: Add InspectorLocalizedStrings.js.
  • page/InspectorClient.h: Add localizedStringsURL.
  • page/InspectorController.cpp: Add localizedStringsURL that calls the client. Also added a version exposed to JavaScript.
  • page/InspectorController.h: Add localizedStringsURL.
  • page/inspector/ConsolePanel.js: Call WebInspector.UIString for user visible strings.
  • page/inspector/DatabasePanel.js: Ditto.
  • page/inspector/DocumentPanel.js: Ditto.
  • page/inspector/ImagePanel.js: Ditto.
  • page/inspector/MetricsSidebarPane.js: Ditto.
  • page/inspector/NetworkPanel.js: Ditto.
  • page/inspector/Panel.js: Ditto.
  • page/inspector/PropertiesSidebarPane.js: Ditto.
  • page/inspector/Resource.js: Ditto.
  • page/inspector/ResourceCategory.js: Ditto.
  • page/inspector/SourcePanel.js: Ditto.
  • page/inspector/StylesSidebarPane.js: Ditto.
  • page/inspector/inspector.css: Use pre-wrap so database errors can use \n.
  • page/inspector/inspector.html: Remove some user visible strings.
  • page/inspector/inspector.js: Added WebInspector.UIString and call WebInspector.UIString for user visible strings. Some code needed to be moved to WebInspector.loaded to use UIString after the localized strings get loaded.
  • platform/graphics/svg/SVGImageEmptyClients.h: (WebCore::SVGEmptyFrameLoaderClient::redirectDataToPlugin): Remove WebCore:: prefix. (WebCore::SVGEmptyInspectorClient::createPage): Ditto. (WebCore::SVGEmptyInspectorClient::localizedStringsURL): Add empty stub. (WebCore::SVGEmptyInspectorClient::highlight): Remove WebCore:: prefix. (WebCore::SVGEmptyInspectorClient::inspectedURLChanged): Ditto.

WebKit:

Reviewed by Mark Rowe.

Bug 13470: i18n: The Web Inspector is not localizable
http://bugs.webkit.org/show_bug.cgi?id=13470

Update the localized strings and the file encoding of WebInspectorClient.mm.

  • English.lproj/Localizable.strings:
  • StringsNotToBeLocalized.txt:
  • WebKit.xcodeproj/project.pbxproj:

WebKit/gtk:

Reviewed by Mark Rowe.

Bug 13470: i18n: The Web Inspector is not localizable
http://bugs.webkit.org/show_bug.cgi?id=13470

  • WebCoreSupport/InspectorClientGtk.cpp: (WebKit::InspectorClient::localizedStringsURL): Empty stub.
  • WebCoreSupport/InspectorClientGtk.h: Add localizedStringsURL.

WebKit/mac:

Reviewed by Mark Rowe.

Bug 13470: i18n: The Web Inspector is not localizable
http://bugs.webkit.org/show_bug.cgi?id=13470

Implement the localizedStringsURL() client method to return the
localized URL of InspectorLocalizedStrings.js in WebCore.

  • WebCoreSupport/WebInspectorClient.h: Added localizedStringsURL.
  • WebCoreSupport/WebInspectorClient.mm: (WebInspectorClient::localizedStringsURL): Added. (WebInspectorClient::updateWindowTitle): Localized the window title. (-[WebInspectorWindowController init]): Remove a FIXME that dosen't make sense anymore. (-[WebInspectorWindowController initWithInspectedWebView:]): Code style cleanup.

WebKit/qt:

Reviewed by Mark Rowe.

Bug 13470: i18n: The Web Inspector is not localizable
http://bugs.webkit.org/show_bug.cgi?id=13470

  • WebCoreSupport/InspectorClientQt.cpp: (WebCore::InspectorClientQt::localizedStringsURL): Empty stub.
  • WebCoreSupport/InspectorClientQt.h: Added localizedStringsURL.

WebKit/win:

Reviewed by Mark Rowe.

Bug 13470: i18n: The Web Inspector is not localizable
http://bugs.webkit.org/show_bug.cgi?id=13470

  • English.lproj/Localizable.strings: Updated.
  • WebInspectorClient.cpp: (WebInspectorClient::localizedStringsURL): Empty stub.
  • WebInspectorClient.h: Added localizedStringsURL.

WebKit/wx:

Reviewed by Mark Rowe.

Bug 13470: i18n: The Web Inspector is not localizable
http://bugs.webkit.org/show_bug.cgi?id=13470

  • WebKitSupport/InspectorClientWx.cpp: (WebCore::InspectorClientWx::localizedStringsURL): Empty stub.
  • WebKitSupport/InspectorClientWx.h: Added localizedStringsURL.
9:36 PM Changeset in webkit [27882] by mrowe@apple.com
  • 2 edits in trunk/JavaScriptCore

Prevent testapi from reporting false leaks.

Clear out local variables pointing at JSObjectRefs to allow their values to be collected.

Reviewed by Sam Weinig.

9:36 PM Changeset in webkit [27881] by mrowe@apple.com
  • 2 edits in trunk/JavaScriptCore

Prevent testapi from crashing if testapi.js can not be found by nil-checking the result of createStringWithContentsOfFile.

Reviewed by Sam Weinig.

5:14 PM Changeset in webkit [27880] by timothy@apple.com
  • 1 edit in trunk/WebCore/WebCore.xcodeproj/project.pbxproj

Remove IDL files from the WebCore.framework Resources.

3:14 PM Changeset in webkit [27879] by alp@webkit.org
  • 2 edits in trunk/JavaScriptCore

2007-11-17 Alp Toker <alp@atoker.com>

Reviewed by Eric.

http://bugs.webkit.org/show_bug.cgi?id=16032
JS minidom is not portable

Use a plain UTF-8 string instead of a CFString.

Print to stdout, not stderr like CFShow() would have done, since that
behaviour seems unintentional.

  • API/minidom.c: (main):
12:49 PM Changeset in webkit [27878] by Adam Roben
  • 7 edits
    1 copy in trunk

Make it easy to run Safari in the debugger on Windows

WebKitSite:

Update Windows debugging instructions

Reviewed by Mark Rowe.

  • building/debug.html:

WebKitTools:

Make it easy to run Safari in the debugger on Windows

I've added a new script, debug-safari, which launches Safari in the
debugger. On OS X it just calls gdb-safari.

Reviewed by Mark Rowe.

  • FindSafari/FindSafari.cpp: (_tmain): Added a /debugger flag, which in combination with /printSafariLauncher will print a script that launches Safari in the debugger.
  • Scripts/debug-safari: Added.
  • Scripts/run-safari: Changed to call runSafari().
  • Scripts/run-webkit-nightly.cmd: Prepends the launcher script with vsvars32.bat, which will let us find VS/VC++ Express, and passes the first argument along to FindSafari.
  • Scripts/webkitdirs.pm: (sub runSafari): Added.
12:02 PM Changeset in webkit [27877] by timothy@apple.com
  • 2 edits in trunk/WebCore

Reviewed by Adam.

Reworte String.sprintf to fix many bad bugs and to not use RegExp. Also added
String.vsprintf so it can be used later for the localization function.

This version only supports argument reordering, precision for floats, and these
format characters: d, f, s and @. Any unsupported format characters are logged
and substituted like strings.

  • page/inspector/utilities.js:
9:06 AM Changeset in webkit [27876] by sfalken@apple.com
  • 1 copy in tags/Safari-525.1.1b

New tag.

8:53 AM Changeset in webkit [27875] by sfalken@apple.com
  • 2 edits in trunk/JavaScriptCore

Windows build fix.

2:39 AM Changeset in webkit [27874] by ap@webkit.org
  • 4 edits in trunk

Windows build fix

WebKit:

  • WebView.cpp: (WebView::deleteSelection): Use canSmartCopyOrDelete() directly.

WebCore:

  • editing/Editor.h: Made canSmartCopyOrDelete public, as Windows WebView still needs it.
12:58 AM Changeset in webkit [27873] by ap@webkit.org
  • 10 edits in trunk

Reviewed by Darin.

http://bugs.webkit.org/show_bug.cgi?id=15969
Eliminate Editor::deleteRange()

No change in functionality.

WebCore:

  • editing/CompositeEditCommand.h: Removed unimplemented deleteKeyPressed().
  • editing/Editor.cpp: (WebCore::Editor::deleteWithDirection): (WebCore::Editor::cut): (WebCore::Editor::performDelete):
  • editing/Editor.h: Moved relevant Editor::deleteRange() functionality to its callers. Removed deleteSelectionWithSmartDelete(void), which was more confusing than helpful in my opinion.
  • editing/mac/EditorMac.mm: (WebCore::initializeKillRingIfNeeded): (WebCore::Editor::addToKillRing): (WebCore::Editor::yank): (WebCore::Editor::yankAndSelect): (WebCore::Editor::setMark): (WebCore::unionDOMRanges): (WebCore::Editor::deleteToMark): (WebCore::Editor::selectToMark): (WebCore::Editor::swapWithMark): Pushed kill ring handling down from WebCore.
  • page/mac/WebCoreFrameBridge.h:
  • page/mac/WebCoreFrameBridge.mm: Removed setMarkDOMRange (the corresponding getter is still needed).
  • WebCore.base.exp: No longer need to export Editor::deleteRange() and Editor::insertTextWithoutSendingTextEvent(). Export the new kill ring functions.

WebKit:

  • WebView/WebHTMLView.mm: (+[WebHTMLView initialize]): (-[WebHTMLView yank:]): (-[WebHTMLView yankAndSelect:]): (-[WebHTMLView setMark:]): (-[WebHTMLView deleteToMark:]): (-[WebHTMLView selectToMark:]): (-[WebHTMLView swapWithMark:]): Pushed all kill ring methods to WebCore. They were guilty of using Editor::deleteRange()!
12:28 AM Changeset in webkit [27872] by ap@webkit.org
  • 2 edits in trunk/WebKitTools

Reviewed by Adam Roben.

  • Scripts/run-webkit-tests: Avoid an uninitialized warning if WEBKIT_TESTFONTS is not defined.
Note: See TracTimeline for information about the timeline view.