⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Timeline



Jul 31, 2008:

8:10 PM Changeset in webkit [35507] by mrowe@apple.com
  • 4 edits in trunk

Versioning.

7:52 PM Changeset in webkit [35506] by mrowe@apple.com
  • 4 edits in tags/Safari-6528

Versioning.

7:52 PM Changeset in webkit [35505] by mrowe@apple.com
  • 3 edits in tags/Safari-6528/WebKit/mac

Merge r35428 and r35430.

7:32 PM Changeset in webkit [35504] by mrowe@apple.com
  • 1 copy in tags/Safari-6528

New tag.

5:08 PM Changeset in webkit [35503] by ddkilzer@apple.com
  • 5 edits in trunk/LayoutTests

Updated test results for DumpRenderTree fix in r35497

  • svg/custom/image-with-prefix-in-webarchive-expected.webarchive: Contents of the main resource are now displayed instead of encoded data.
  • svg/webarchive/svg-cursor-subresources-expected.webarchive: Ditto.
  • svg/webarchive/svg-feimage-subresources-expected.webarchive: Ditto.
  • svg/webarchive/svg-script-subresouces-expected.webarchive: Ditto. Also updated MIME types for JavaScript source now that we don't mangle application/x-javascript into text/javascript.
4:16 PM Changeset in webkit [35502] by andersca@apple.com
  • 5 edits
    2 deletes in trunk/WebKit/win

2008-07-31 Anders Carlsson <andersca@apple.com>

Reviewed by Adam.

Get rid of FormValuesPropertyBag and use COMPropertyBag instead.


  • COMPropertyBag.h: Implement parts of IPropertyBag2. Currently just one method (CountProperties) is implemented.


  • WebCoreSupport/FormValuesPropertyBag.cpp: Removed.
  • WebCoreSupport/FormValuesPropertyBag.h: Removed.


  • WebFrame.cpp: (WebFrame::dispatchWillSubmitForm): Create a COMPropertyBag instead.


  • WebKit.vcproj/WebKit.vcproj:
3:18 PM Changeset in webkit [35501] by Adam Roben
  • 2 edits in trunk/WebKitTools

Follow-up to r35500

  • WinLauncher/WinLauncher.vcproj: Set the manifest properties for the Release configuration, too.
3:12 PM Changeset in webkit [35500] by Adam Roben
  • 2 edits in trunk/WebKitTools

2008-07-31 Stefan Landvogt <stefan.landvogt@gmail.com>

Fix Bug 20245: WinLauncher does not start in WebKit-debug right out of
the box

<https://bugs.webkit.org/show_bug.cgi?id=20245>

Reviewed by Adam Roben.

  • WinLauncher/WinLauncher.vcproj: adding the following properties to WinLauncher > Properties > Manifest Tool > Isolated COM Type Library File: $(WebKitOutputDir)\lib\WebKit.tlb Component File Name: WebKit$(WebKitDLLConfigSuffix) Doing the change on "All Configurations"
2:42 PM Changeset in webkit [35499] by sullivan@apple.com
  • 11 edits in trunk

WebCore:

2008-07-31 John Sullivan <sullivan@apple.com>

WebCore part of <rdar://problem/6116650> Text-only zoom setting should be stored in WebKit prefs

Reviewed by Hyatt

  • WebCore.base.exp: export symbol for WebCoreSettings::setZoomsTextOnly()


  • page/Frame.cpp: (WebCore::Frame::isZoomFactorTextOnly): use value from Settings instead of data member (WebCore::Frame::shouldApplyTextZoom): call isZoomFactorTextOnly() to get value instead of accessing now-removed data member (WebCore::Frame::shouldApplyPageZoom): ditto (WebCore::Frame::setZoomFactor): set value into Settings rather than into data member (WebCore::FramePrivate::FramePrivate): don't set initial value of now-removed data member; this is managed by Settings now


  • page/FramePrivate.h: removed m_zoomFactorIsTextOnly


  • page/Settings.cpp: (WebCore::Settings::setZoomsTextOnly): new function, sets values and reapplies styles in all frames


  • page/Settings.h: (WebCore::Settings::zoomsTextOnly): new function, returns value of new data member

WebKit/mac:

2008-07-31 John Sullivan <sullivan@apple.com>

WebKit part of <rdar://problem/6116650> Text-only zoom setting should be stored in WebKit prefs

Reviewed by Hyatt

  • WebView/WebPreferenceKeysPrivate.h: added WebKitZoomsTextOnlyPreferenceKey


  • WebView/WebPreferences.mm: (+[WebPreferences initialize]): default value of YES for WebKitZoomsTextOnlyPreferenceKey (-[WebPreferences zoomsTextOnly]): getter for WebKitZoomsTextOnlyPreferenceKey (-[WebPreferences setZoomsTextOnly:]): setter for WebKitZoomsTextOnlyPreferenceKey


  • WebView/WebPreferencesPrivate.h: declare zoomsTextOnly/setZoomsTextOnly:


  • WebView/WebView.mm: (-[WebView _preferencesChangedNotification:]): update WebCore::Settings value for zoomsTextOnly
2:35 PM Changeset in webkit [35498] by Adam Roben
  • 2 edits in trunk/WebKitTools

Windows build bot fix

  • DumpRenderTree/win/ImageDiff.vcproj: Don't fail if files that only exist for people at Apple can't be found. Also updated the ICU version to 3.8.
2:21 PM Changeset in webkit [35497] by ddkilzer@apple.com
  • 10 edits
    1 add
    1 delete in trunk

Fix layout test results for webarchive/test-xml-stylesheet.xml

WebKit:

Fix layout test results for webarchive/test-xml-stylesheet.xml

Reviewed by Darin.

  • WebKit.xcodeproj/project.pbxproj: Added WebHTMLRepresentationInternal.h. Changed WebHTMLRepresentationInternal.h and WebHTMLRepresentationPrivate.h to private so they're copied into PrivateHeaders.

WebKit/mac:

Fix layout test results for webarchive/test-xml-stylesheet.xml

Reviewed by Darin.

Needed to expose -[WebHTMLRepresentation supportedNonImageMIMETypes]
for DumpRenderTree.

  • WebView/WebHTMLRepresentationInternal.h: Added.

WebKitTools:

Fix layout test results for webarchive/test-xml-stylesheet.xml

Reviewed by Darin.

  • DumpRenderTree/mac/DumpRenderTree.mm: (convertMIMEType): Work around the "text/xml" local file type regression in Leopard using the BUILDING_ON_LEOPARD macro. Also stop mangling "application/x-javascript" into "text/javascript". (convertWebResourceDataToString): When checking whether to dump a resource as text, also check to see if the MIME type is in the -[WebHTMLRepresentation supportedNonImageMIMETypes] array.
  • DumpRenderTree/mac/DumpRenderTreeMac.h: Added BUILDING_ON_LEOPARD macro.

LayoutTests:

Fix layout test results for webarchive/test-xml-stylesheet.xml

Reviewed by Darin.

  • platform/mac/webarchive/test-xml-stylesheet-expected.txt: Removed unused test results.
  • webarchive/test-duplicate-resources-expected.webarchive: Updated results now that we don't mangle application/x-javascript into text/javascript.
  • webarchive/test-script-src-expected.webarchive: Ditto.
  • webarchive/test-xml-stylesheet-expected.webarchive: Updated results now that we handle application/xml correctly.
2:10 PM Changeset in webkit [35496] by Simon Fraser
  • 2 edits in trunk/WebCore

2008-07-31 Simon Fraser <Simon Fraser>

Reviewed by Dave Hyatt

Null-check parent clip rects, because they may not have been
set up yet.
https://bugs.webkit.org/show_bug.cgi?id=20243

  • rendering/RenderLayer.cpp: (WebCore::RenderLayer::calculateClipRects):
1:55 PM Changeset in webkit [35495] by andersca@apple.com
  • 2 copies in trunk/WebKit/win/WebCoreSupport

Did not mean to remove these files.

1:54 PM Changeset in webkit [35494] by andersca@apple.com
  • 2 edits
    2 deletes in trunk/WebKit/win

2008-07-31 Anders Carlsson <andersca@apple.com>

Reviewed by Jon.


Tweak the names.

  • WebCoreSupport/WebFrameLoaderClient.cpp: (WebFrameLoaderClient::createPlugin):
1:48 PM Changeset in webkit [35493] by andersca@apple.com
  • 5 edits
    3 adds in trunk/WebKit/win

2008-07-31 Anders Carlsson <andersca@apple.com>

Reviewed by Jon.

<rdar://problem/5826110>


Add a way for WebKit clients to embed custom content in web pages.


  • Interfaces/IWebEmbeddedView.idl: Added. New interface which an embedded view must implement.


  • Interfaces/IWebUIDelegatePrivate.idl: Add new UI delegate method for creating an embedded view.


  • Interfaces/WebKit.idl: Include IWebEmbeddedView.idl.


  • WebCoreSupport/EmbeddedWidget.cpp: Added.
  • WebCoreSupport/EmbeddedWidget.h: Added. Add EmbeddedWidget, a widget subclass which can hold an IWebEmbeddedView.


  • WebCoreSupport/WebFrameLoaderClient.cpp: (WebFrameLoaderClient::createPlugin): Check if the UI delegate wants to create an embedded view.


  • WebKit.vcproj/WebKit.vcproj: Add EmbeddedWidget.{cpp|h}
1:46 PM Changeset in webkit [35492] by mitz@apple.com
  • 2 edits in trunk/WebCore

Reviewed by Dave Hyatt.

  • fix <rdar://problem/6058958> REGRESSION (r34210): Seams are visible in border-image
  • platform/graphics/cg/ImageCG.cpp: (WebCore::BitmapImage::draw): To work around a Core Graphics interpolation issue, reverted to using a temporary subimage for drawing a portion of the image with scaling and high-quality interpolation in effect.
1:44 PM Changeset in webkit [35491] by Chris Fleizach
  • 8 edits
    2 adds in trunk

<rdar://problem/3563671> VO doesn't highlight characters when interacting when static text in web areas

Add ability to get bounds for individual characters through accessibility

1:39 PM Changeset in webkit [35490] by ddkilzer@apple.com
  • 1 edit in trunk/WebCore/ChangeLog

Removed da BOM from the ChangeLog.

12:15 PM Changeset in webkit [35489] by ap@webkit.org
  • 2 edits in trunk/WebKit/mac

Release build fix.

  • Plugins/WebBaseNetscapePluginView.mm: (-[WebBaseNetscapePluginView setWindowIfNecessary]): Don't define to npErr in release builds, as it is only used for logging.
10:50 AM Changeset in webkit [35488] by sullivan@apple.com
  • 2 edits in trunk/WebKit/mac

2008-07-31 John Sullivan <sullivan@apple.com>

Fixed <https://bugs.webkit.org/show_bug.cgi?id=5195>
drawing with cacheDisplayInRect:toBitmapImageRep: doesn't trigger layout on Leopard

Reviewed by Dan

  • WebView/WebHTMLView.mm: (-[WebHTMLView _recursive:displayRectIgnoringOpacity:inContext:topView:]): include Leopard in the #ifdef that forces a layout if needed
10:33 AM Changeset in webkit [35487] by kevino@webkit.org
  • 7 edits in trunk

Second attempt at Windows/wx build fix. Instead of avoiding inclusion of windows.h, use defines, etc. to avoid conflicts in each affected file.

10:20 AM Changeset in webkit [35486] by Simon Hausmann
  • 2 edits in trunk/WebCore

2008-07-31 Erik Bunce <elbunce@thehive.com>

Reviewed by Simon.

https://bugs.webkit.org/show_bug.cgi?id=20224

Include the Writing Direction sub-menu in the context menu of all
platforms but GTK. This fixes a regression introduced by revision
34426.

10:14 AM Changeset in webkit [35485] by beidson@apple.com
  • 9 edits in trunk

WebCore:

2008-07-31 Brady Eidson <beidson@apple.com>

Reviewed by Adam and Hyatt

Fix for <rdar://problem/6099748>

Adds a "don't enforce CSS mime type in strict mode" quirk for iWeb 2

  • WebCore.base.exp:
  • html/HTMLLinkElement.cpp: (WebCore::HTMLLinkElement::setCSSStyleSheet):
  • loader/CachedCSSStyleSheet.cpp: (WebCore::CachedCSSStyleSheet::canUseSheet):
  • loader/CachedCSSStyleSheet.h: (WebCore::CachedCSSStyleSheet::sheetText):
  • page/Settings.cpp:

(WebCore::Settings::Settings):
(WebCore::Settings::setEnforceCSSMIMETypeInStrictMode):

  • page/Settings.h: (WebCore::Settings::enforceCSSMIMETypeInStrictMode):

WebKit/mac:

2008-07-30 Brady Eidson <beidson@apple.com>

Reviewed by Adam and Hyatt

Fix for <rdar://problem/6099748>

  • WebView/WebView.mm: (-[WebView _preferencesChangedNotification:]): Set the "don't enforce CSS mime type in strict mode" quirk when running under iWeb 2
9:56 AM Changeset in webkit [35484] by andersca@apple.com
  • 3 edits in trunk/JavaScriptCore

2008-07-31 Anders Carlsson <andersca@apple.com>

Reviewed by Adam.

Fix Windows build.


  • kjs/collector.h:
  • wtf/FastMalloc.cpp:
8:11 AM Changeset in webkit [35483] by Simon Hausmann
  • 2 edits in trunk/WebCore

2008-07-31 Erik Bunce <elbunce@thehive.com>

Reviewed by Simon.

Added the ability to get SQLite headers and source from the location·
specified via the SQLITE3SRCDIR environtment variable.

8:10 AM Changeset in webkit [35482] by Simon Hausmann
  • 2 edits in trunk/WebKitTools

2008-07-31 Erik Bunce <elbunce@thehive.com>

Reviewed by Simon.

Make run-launcher set DYLD_LIBRARY_PATH to make things work on Mac OS X.

8:03 AM Changeset in webkit [35481] by Simon Hausmann
  • 2 edits in trunk/WebKit/qt

2008-07-31 Erik Bunce <elbunce@thehive.com>

Reviewed by Simon.

Make sure edit actions get updated when the contents change.

8:00 AM Changeset in webkit [35480] by Simon Hausmann
  • 2 edits in trunk/WebKit/qt

2008-07-31 Erik Bunce <elbunce@thehive.com>

Reviewed by Simon.

Add simple edit test abilities to QtLauncher.

8:00 AM Changeset in webkit [35479] by Simon Hausmann
  • 2 edits in trunk/JavaScriptCore

2008-07-31 Csaba Osztrogonac <oszi@inf.u-szeged.hu>

Reviewed by Simon.

Bug 20170: [Qt] missing namespace defines in JavaScriptCore.pro
<https://bugs.webkit.org/show_bug.cgi?id=20170>

5:19 AM Changeset in webkit [35478] by ap@webkit.org
  • 102 edits
    5 deletes in trunk

Rubber-stamped by Maciej.

Eliminate JSLock (it was already disabled, removing the stub implementaion and all
call sites now).

2:58 AM Changeset in webkit [35477] by ap@webkit.org
  • 2 edits in trunk/JavaScriptCore

Rubber-stamped by Oliver Hunt.

Fix the Mac project to not display "test/" as part of file name for tests.

1:44 AM Changeset in webkit [35476] by eric@webkit.org
  • 10 edits in trunk/JavaScriptCore

Reviewed by Alexey Proskuryakov.

Rename USE(MULTIPLE_THREADS) to ENABLE(JSC_MULTIPLE_THREADS)
to better match the use/enable pattern (and better describe
the usage of the feature in question.)

I also fixed a couple other ENABLE_ macros to be pre-processor
definition override-able to match the rest of the ENABLE_ macros
since it seems to be our convention that build systems can set
ENABLE_ macros in Makefiles.

  • kjs/InitializeThreading.cpp: (KJS::initializeThreadingOnce):
  • kjs/JSGlobalData.cpp: (KJS::JSGlobalData::JSGlobalData): (KJS::JSGlobalData::~JSGlobalData):
  • kjs/MathObject.cpp:
  • kjs/collector.cpp: (KJS::Heap::Heap): (KJS::Heap::~Heap): (KJS::allocateBlock): (KJS::Heap::markStackObjectsConservatively):
  • kjs/collector.h:
  • kjs/dtoa.cpp: (KJS::pow5mult): (KJS::rv_alloc): (KJS::freedtoa): (KJS::dtoa):
  • wtf/FastMalloc.cpp:
  • wtf/Platform.h:
  • wtf/RefCountedLeakCounter.cpp:
12:37 AM Changeset in webkit [35475] by jhoneycutt@apple.com
  • 2 edits in trunk/WebKit/win

Windows build fix.

Jul 30, 2008:

11:38 PM Changeset in webkit [35474] by eric@webkit.org
  • 4 edits in trunk/JavaScriptCore

Reviewed by Mark Rowe.

Try to clean up our usage of USE(MULTIPLE_THREADS) vs. USE(PTHREADS) a little.
It looks like JSC assumes that if MULTIPLE_THREADS is defined, then pthreads will always be available
I'm not sure that's always the case for gtk, certainly not for Windows. We should eventually go back
and fix wtf/Threading.h to cover all these cases some day.

  • kjs/JSLock.cpp:
  • kjs/collector.h:
  • wtf/Platform.h:
11:14 PM Changeset in webkit [35473] by mrowe@apple.com
  • 2 edits in trunk/WebKit/win

Windows build fix.

9:04 PM Changeset in webkit [35472] by timothy@apple.com
  • 4 edits in trunk/WebCore

Fix various minor bugs with style editing in the Inspector.

  • Restores the scroll position to 0,0 when finished editing a string that was longer than the editing input area.
  • Adjusts the margin of the list item to ensure the text does not shift when entering and exiting editing mode.
  • Reliably remembers if a shorthand has children when the children haven't been populated yet.
  • Reliably remembers if a shorthand was expanded, and expands if needed after editing finishes.
  • Hides color swatches when editing.

https://bugs.webkit.org/show_bug.cgi?id=20238

Reviewed by Adam Roben.

  • page/inspector/StylesSidebarPane.js: (WebInspector.StylePropertyTreeElement.prototype.startEditing): Store the expanded state and children state in wasExpanded and reallyHasChildren properties. (WebInspector.StylePropertyTreeElement.prototype.editingEnded): Removed the wasExpanded argument and use the reallyHasChildren and wasExpanded properties to restore state. Deletes the state properties. (WebInspector.StylePropertyTreeElement.prototype.editingCancelled): Removed the wasExpanded argument. (WebInspector.StylePropertyTreeElement.prototype.editingCommitted): Removed the wasExpanded argument.
  • page/inspector/inspector.css: Tweak the margin and hides the color swatches. ALso removes a rule that was not needed.
  • page/inspector/inspector.js: (WebInspector.startEditing): Restore the scrollLeft and scrollTop to zero when editing finishes.
6:21 PM Changeset in webkit [35471] by andersca@apple.com
  • 3 edits
    2 deletes in trunk/WebKit/win

2008-07-30 Anders Carlsson <andersca@apple.com>

Reviewed by Mitz.

Use a COMPropertyBag instead of the HTTPHeaderPropertyBag.


  • HTTPHeaderPropertyBag.cpp: Removed.
  • HTTPHeaderPropertyBag.h: Removed.
  • WebURLResponse.cpp: (WebURLResponse::allHeaderFields):
6:11 PM Changeset in webkit [35470] by andersca@apple.com
  • 3 edits in trunk/WebKit/win

2008-07-30 Anders Carlsson <andersca@apple.com>

Fix copyright years.


  • COMPropertyBag.h:
  • COMVariantSetter.h:
5:33 PM Changeset in webkit [35469] by alice.liu@apple.com
  • 5 edits in trunk/WebCore

2008-07-30 Alice Liu <alice.liu@apple.com>

Implement userIdleTime() for Windows, and place a band-aid over other
platform implementations of userIdleTime(). This will fix the issue
of indefinitely postposing releasing pages from the PageCache
on non-Mac platforms, causing us to hang onto just about everything
else about a web page.


Reviewed by Sam Weinig.

  • platform/gtk/TemporaryLinkStubs.cpp:
  • platform/wx/TemporaryLinkStubs.cpp:
  • platform/qt/TemporaryLinkStubs.cpp: (WebCore::userIdleTime): set to FLT_MAX
  • platform/win/SystemTimeWin.cpp: (WebCore::userIdleTime): implemented
5:19 PM Changeset in webkit [35468] by andersca@apple.com
  • 3 edits in trunk/WebKit/win

2008-07-30 Anders Carlsson <andersca@apple.com>

Reviewed by Sam.

More property bag work.


  • COMPropertyBag.h: (COMPropertyBag::COMPropertyBag): (::adopt): (::Read):
  • COMVariantSetter.h: (COMIUnknownVariantSetter::setVariant):
5:01 PM Changeset in webkit [35467] by Beth Dakin
  • 11 edits in trunk

WebCore:

2008-07-30 Beth Dakin <Beth Dakin>

Reviewed by Anders Carlsson.

Fixes <rdar://problem/6041390>

Adds the ability to have a frame that is "disconnected" from the
main frame from the perspective of top and parent in
Javascript.

  • WebCore.base.exp:
  • page/DOMWindow.cpp: (WebCore::DOMWindow::parent): (WebCore::DOMWindow::top):
  • page/Frame.cpp: (WebCore::Frame::isDisconnectedFrame): (WebCore::Frame::setIsDisconnectedFrame): (WebCore::FramePrivate::FramePrivate):
  • page/Frame.h:
  • page/FramePrivate.h:
  • page/FrameTree.cpp: (WebCore::FrameTree::parent): (WebCore::FrameTree::top):
  • page/FrameTree.h:

WebKit/mac:

2008-07-30 Beth Dakin <Beth Dakin>

Reviewed by Anders Carlsson.

Fixes <rdar://problem/6041390>

Adds the ability to have a frame that is "disconnected" from the
main frame from the perspective of top and parent in
Javascript.

  • WebView/WebFrame.mm: (-[WebFrame _setIsDisconnectedFrame]):
  • WebView/WebFramePrivate.h:
4:14 PM Changeset in webkit [35466] by eric@webkit.org
  • 5 edits in trunk/JavaScriptCore

Reviewed by Oliver.

MSVC warns when structs are called classes or vice versa.
Make all the source refer to JSGlobalData as a class.

  • kjs/CommonIdentifiers.h:
  • kjs/JSGlobalData.h:
  • kjs/Parser.h:
  • kjs/lexer.h:
4:13 PM Changeset in webkit [35465] by eric@webkit.org
  • 2 edits
    1 add in trunk/WebCore

Reviewed by Justin.

Crash Safari when dragging images into Google presentations
https://bugs.webkit.org/show_bug.cgi?id=20161

Test: manual-tests/remove-on-drop-crash.html

  • editing/ReplaceSelectionCommand.cpp: (WebCore::ReplaceSelectionCommand::doApply):
  • manual-tests/remove-on-drop-crash.html: Added.
3:59 PM Changeset in webkit [35464] by jess@apple.com
  • 2 edits in trunk/WebKitTools

2008-07-30 Jessica Kahn <jess@apple.com>

Reviewed by Adam Roben.

Slightly stricter checking for previous change, suggested by Adam.


  • Scripts/extract-localizable-strings:
3:29 PM Changeset in webkit [35463] by andersca@apple.com
  • 3 edits
    2 adds in trunk/WebKit/win

2008-07-30 Anders Carlsson <andersca@apple.com>

Reviewed by Sam.

Add COMPropertyBag, a simple template class that implements the IPropertyBag interface. All
property bag values must be of the same type.


The COMVariantSetter helpers are now in COMVariantSetter.h


  • COMEnumVariant.h:
  • COMPropertyBag.h: Added.
  • COMVariantSetter.h: Added.
  • WebKit.vcproj/WebKit.vcproj:
3:22 PM Changeset in webkit [35462] by jess@apple.com
  • 2 edits in trunk/WebKitTools

2008-07-30 Jessica Kahn <jess@apple.com>

Reviewed by Darin Adler.

Added support for UI_STRING and UI_STRING_KEY macros with flexible prefixes.


  • Scripts/extract-localizable-strings:
2:12 PM Changeset in webkit [35461] by christian@webkit.org
  • 2 edits in trunk/WebCore

Build fix for Cairo < 1.6

  • platform/graphics/cairo/PathCairo.cpp: (WebCore::Path::boundingRect): use cairo_stroke_extends for < 1.6

Reviewed by Mark.

1:34 PM Changeset in webkit [35460] by alice.liu@apple.com
  • 52 edits in trunk/WebKit/win

2008-07-30 Alice Liu <alice.liu@apple.com>

Reviewed by Adam Roben.

Adding logging of COM class names and counts to facilitate
investigating memory issues.

  • Interfaces/IWebKitStatistics.idl:
  • WebKitDLL.cpp:
  • WebKitDLL.h:
  • WebKitStatistics.cpp: (WebKitStatistics::comClassNameCounts):
  • WebKitStatistics.h:
1:17 PM Changeset in webkit [35459] by kmccullough@apple.com
  • 2 edits in trunk/WebCore

2008-07-29 Kevin McCullough <kmccullough@apple.com>

Reviewed by Geoff.

<rdar://problem/6110314> Crash in profiler dereferencing null frame or
page (20214)

  • Null check.
  • page/Console.cpp: (WebCore::Console::finishedProfiling):
1:16 PM Changeset in webkit [35458] by ap@webkit.org
  • 3 edits in trunk/JavaScriptCore

Reviewed by Geoff Garen.

Add consistency checks to UString to document and enforce its design.

  • kjs/ustring.cpp: (KJS::UString::Rep::create): (KJS::UString::Rep::destroy): (KJS::UString::Rep::checkConsistency): (KJS::UString::expandCapacity): (KJS::UString::expandPreCapacity): (KJS::UString::UString): (KJS::UString::spliceSubstringsWithSeparators): (KJS::UString::append):
  • kjs/ustring.h: (KJS::UString::Rep::checkConsistency):
1:02 PM Changeset in webkit [35457] by hyatt@apple.com
  • 2 edits in trunk/WebCore

2008-07-30 David Hyatt <hyatt@apple.com>

https://bugs.webkit.org/show_bug.cgi?id=18070


Full page zoom needs to work properly with JS mouse events. Make sure to adjust the coordinates of the
JS mouse event to account for zoom.

Reviewed by olliej

  • dom/EventTargetNode.cpp: (WebCore::EventTargetNode::dispatchMouseEvent):
12:00 PM Changeset in webkit [35456] by weinig@apple.com
  • 17 edits
    4 moves
    10 deletes in trunk

WebCore:

2008-07-29 Sam Weinig <sam@webkit.org>

Reviewed by Darin Adler.

Update Cross-site XMLHttpRequests using Access control to
the latest spec. (Editor's Draft 8 July 2008)

  • This leaves us at about the same place as we previously were still needing preflight caching and better redirect support.
  • GNUmakefile.am:
  • WebCore.pro:
  • WebCore.vcproj/WebCore.vcproj:
  • WebCore.xcodeproj/project.pbxproj:
  • WebCoreSources.bkl:
  • xml/AccessControlList.cpp: Removed.
  • xml/AccessControlList.h: Removed.
  • xml/AccessItem.cpp: Removed.
  • xml/AccessItem.h: Removed.
  • xml/AccessItemRule.cpp: Removed.
  • xml/AccessItemRule.h: Removed.
  • xml/XMLHttpRequest.cpp: (WebCore::isOnAccessControlSimpleRequestHeaderWhitelist): (WebCore::XMLHttpRequest::XMLHttpRequest): (WebCore::XMLHttpRequest::isSimpleCrossSiteAccessRequest): (WebCore::XMLHttpRequest::makeCrossSiteAccessRequest): (WebCore::XMLHttpRequest::makeSimpleCrossSiteAccessRequest): (WebCore::XMLHttpRequest::makeCrossSiteAccessRequestWithPreflight): (WebCore::XMLHttpRequest::handleAsynchronousPreflightResult): (WebCore::XMLHttpRequest::abort): (WebCore::XMLHttpRequest::clearRequest): (WebCore::XMLHttpRequest::didFinishLoading): (WebCore::XMLHttpRequest::didFinishLoadingPreflight): (WebCore::XMLHttpRequest::accessControlCheck): (WebCore::XMLHttpRequest::didReceiveResponse): (WebCore::parseAccessControlAllowList): (WebCore::XMLHttpRequest::didReceiveResponsePreflight):
  • xml/XMLHttpRequest.h:

LayoutTests:

2008-07-29 Sam Weinig <sam@webkit.org>

Reviewed by Darin Adler.

Update Cross-site XMLHttpRequests using Access control to
the latest spec. (Editor's Draft 8 July 2008)

  • Update syntax in tests a remove tests for removed features.
  • http/tests/xmlhttprequest/access-control-basic-allow-async.html:
  • http/tests/xmlhttprequest/access-control-basic-blacklist-request-headers-expected.txt: Removed.
  • http/tests/xmlhttprequest/access-control-basic-blacklist-request-headers.html: Removed.
  • http/tests/xmlhttprequest/access-control-basic-exclude.html: Removed.
  • http/tests/xmlhttprequest/access-control-basic-non-simple-allow-async-expected.txt: Copied from LayoutTests/http/tests/xmlhttprequest/access-control-basic-not-get-allow-async-expected.txt.
  • http/tests/xmlhttprequest/access-control-basic-non-simple-allow-async.html: Copied from LayoutTests/http/tests/xmlhttprequest/access-control-basic-not-get-allow-async.html.
  • http/tests/xmlhttprequest/access-control-basic-non-simple-allow-expected.txt: Copied from LayoutTests/http/tests/xmlhttprequest/access-control-basic-not-get-allow-expected.txt.
  • http/tests/xmlhttprequest/access-control-basic-non-simple-allow.html: Copied from LayoutTests/http/tests/xmlhttprequest/access-control-basic-not-get-allow.html.
  • http/tests/xmlhttprequest/access-control-basic-not-get-allow-async-expected.txt: Removed.
  • http/tests/xmlhttprequest/access-control-basic-not-get-allow-async.html: Removed.
  • http/tests/xmlhttprequest/access-control-basic-not-get-allow-expected.txt: Removed.
  • http/tests/xmlhttprequest/access-control-basic-not-get-allow.html: Removed.
  • http/tests/xmlhttprequest/resources/access-control-basic-allow-access-control-origin-header.cgi:
  • http/tests/xmlhttprequest/resources/access-control-basic-allow-print-headers.cgi:
  • http/tests/xmlhttprequest/resources/access-control-basic-allow-star.cgi:
  • http/tests/xmlhttprequest/resources/access-control-basic-allow.cgi:
  • http/tests/xmlhttprequest/resources/access-control-basic-exclude.cgi: Removed.
  • http/tests/xmlhttprequest/resources/access-control-basic-get-fail-non-simple.cgi:
  • http/tests/xmlhttprequest/resources/access-control-basic-non-get-allow.cgi:
  • http/tests/xmlhttprequest/resources/access-control-basic-whitelist-response-headers.cgi:
11:17 AM Changeset in webkit [35455] by christian@webkit.org
  • 5 edits in trunk

[GTK] Auto generate webkitmarshal.list

Auto generate webkitmarshal.list from source files to reduce the
number of conflicts when merging git branches or when applying
patches.
Also rename webkit-marshal.* to webkitmarshal.* for consistency.

Reviewed by Holger.

10:38 AM Changeset in webkit [35454] by barraclough@apple.com
  • 14 edits
    2 copies in trunk/JavaScriptCore

2008-07-30 Gavin Barraclough <barraclough@apple.com>

Reviewed by Geoff Garen.

Fixes for Windows and non-AllInOne file build with SamplingTool, plus review fixes.

  • GNUmakefile.am: Adding SamplingTool.cpp to build.
  • JavaScriptCore.exp: Export hooks to init & control SamplingTool.
  • JavaScriptCore.pri: Adding SamplingTool.cpp to build.
  • JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj: Adding SamplingTool.cpp to build.
  • JavaScriptCore.xcodeproj/project.pbxproj: Adding SamplingTool.cpp to build.
  • JavaScriptCoreSources.bkl: Adding SamplingTool.cpp to build.
  • VM/Machine.cpp: MACHINE_SAMPLING_callingNativeFunction renamed MACHINE_SAMPLING_callingHostFunction
  • VM/Machine.h:
  • VM/Opcode.cpp: SamplingTool moved to SamplingTool.cpp/.h, opcodeNames generated from FOR_EACH_OPCODE_ID.
  • VM/Opcode.h:
  • VM/SamplingTool.cpp: Added .cpp/.h for SamplingTool.
  • VM/SamplingTool.h:
  • kjs/Shell.cpp: Switched SAMPLING_TOOL_ENABLED to ENABLE_SAMPLING_TOOL.
  • wtf/Platform.h: Added ENABLE_SAMPLING_TOOL config option.
  • kjs/nodes.cpp: Header include to fix non-AllInOne builds.
10:09 AM Changeset in webkit [35453] by andersca@apple.com
  • 2 edits in trunk/WebKitTools

2008-07-30 Anders Carlsson <andersca@apple.com>

Reviewed by Adam.

Copy icu38* files instead of icu36* files.


  • DumpRenderTree/win/DumpRenderTree.vcproj:
9:58 AM Changeset in webkit [35452] by ap@webkit.org
  • 2 edits in trunk/JavaScriptCore

2008-07-30 Ariya Hidayat <ariya.hidayat@trolltech.com>

Reviewed by Alexey Proskuryakov.

Fix compilation without multi-threading support.

  • kjs/collector.cpp: (KJS::Heap::Heap):
9:37 AM Changeset in webkit [35451] by andersca@apple.com
  • 1 edit
    1 add in trunk/JavaScriptCore

2008-07-30 Anders Carlsson <andersca@apple.com>

Add WebKitAvailability.h forwarding header.


  • ForwardingHeaders/JavaScriptCore/WebKitAvailability.h: Added.
9:24 AM Changeset in webkit [35450] by andersca@apple.com
  • 2 edits in trunk/JavaScriptCore

2008-07-30 Anders Carlsson <andersca@apple.com>

Fix the else.


  • API/WebKitAvailability.h:
9:22 AM Changeset in webkit [35449] by andersca@apple.com
  • 3 edits in trunk/JavaScriptCore

2008-07-30 Anders Carlsson <andersca@apple.com>

  • API/WebKitAvailability.h: Fix Windows (and other non-Mac builds).


  • JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj: Add WebKitAvailability.h to the project.
9:17 AM Changeset in webkit [35448] by andersca@apple.com
  • 2 edits in trunk/JavaScriptCore

2008-07-30 Anders Carlsson <andersca@apple.com>

One step closer towards fixing the Windows build.


  • JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreGenerated.make: Make sure to copy WebKitAvailability.h
8:24 AM Changeset in webkit [35447] by christian@webkit.org
  • 2 edits in trunk/WebKit/gtk

Typo in comment for bracer ending block

https://bugs.webkit.org/show_bug.cgi?id=20205

  • webkit/webkitprivate.cpp: Typo fix in comment for the brace

that ends the WebKit namespace; WebCore -> WebKit

Reviewed by Sam.

7:42 AM Changeset in webkit [35446] by barraclough@apple.com
  • 2 edits in trunk/JavaScriptCore

2008-07-29 Gavin Barraclough <barraclough@apple.com>

Reviewed by Geoff Garen.

Bug 20209: Atomize constant strings
<https://bugs.webkit.org/show_bug.cgi?id=20209>

Prevents significant performance degradation seen when a script contains multiple
identical strings that are used as keys to identify properties on objects.

No performance change on SunSpider.

  • kjs/nodes.cpp: Atomize constant strings.
1:00 AM Changeset in webkit [35445] by oliver@apple.com
  • 2 edits in trunk/JavaScriptCore

<rdar://problem/6111648> JavaScript exceptions fail if the scope chain includes the global object

Reviewed by Alexey Proskuryakov.

In an attempt to remove the branch I just added to KJS::depth I
used the existence of a Variable Object at a point in the scope
chain as an indicator of function or global scope activation.
However this assumption results in incorrect behaviour if the
global object is injected into the scope chain with 'with'.

12:09 AM Changeset in webkit [35444] by ap@webkit.org
  • 2 edits in trunk/JavaScriptCore

Reviewed by Geoff Garen.

Don't call JSGarbageCollect() on a released context.

  • API/testapi.c: (main):
Note: See TracTimeline for information about the timeline view.