Timeline
Mar 28, 2008:
- 11:46 PM squirrelfish edited by
- (diff)
- 11:45 PM squirrelfish edited by
- (diff)
- 9:29 PM Changeset in webkit [31430] by
-
- 7 edits in branches/squirrelfish/JavaScriptCore
Bug 18204: SquirrelFish: continue/break do not correctly handle scope popping
<http://bugs.webkit.org/show_bug.cgi?id=18204>
Reviewed by Maciej.
We now track the scope depth as part of a loop context, and add an
extra instruction op_jump_scopes that is used to perform a jump across
dynamic scope boundaries.
- 8:38 PM Changeset in webkit [31429] by
-
- 3 edits in trunk/WebCore
2008-03-28 Stephanie <Stephanie Lewis>
Fix 64bit build
- WebCore.LP64.exp:
- loader/archive/cf/LegacyWebArchiveMac.mm: (WebCore::createResourceResponseFromMacArchivedData):
- 8:31 PM Changeset in webkit [31428] by
-
- 3 edits in branches/squirrelfish/JavaScriptCore
2008-03-28 Sam Weinig <sam@webkit.org>
Reviewed by Geoffrey Garen.
Add emitCode support for ConditionalNode.
- kjs/nodes.cpp: (KJS::ConditionalNode::emitCode):
- kjs/nodes.h:
- 8:28 PM Changeset in webkit [31427] by
-
- 2 edits in trunk/WebCore
2008-03-28 Steve Falkenburg <sfalken@apple.com>
Enabled LTCG on files within "page".
Rubber stamped by Oliver.
- WebCore.vcproj/WebCore.vcproj:
- 8:07 PM Changeset in webkit [31426] by
-
- 3 edits4 adds in trunk
WebCore:
Reviewed by Dave Hyatt.
- fix a percentage background position regression from r31389
Test: fast/backgrounds/background-position-1.html
- rendering/Length.h: (WebCore::Length::calcValue): Divide by 100. (WebCore::Length::calcMinValue): Ditto.
LayoutTests:
Reviewed by Dave Hyatt.
- pixel test for a percentage background position regression from r31389
- fast/backgrounds/background-position-1.html: Added.
- platform/mac/fast/backgrounds/background-position-1-expected.checksum: Added.
- platform/mac/fast/backgrounds/background-position-1-expected.png: Added.
- platform/mac/fast/backgrounds/background-position-1-expected.txt: Added.
- 7:21 PM Changeset in webkit [31425] by
-
- 1 edit in trunk/WebCore/rendering/RenderBlock.cpp
Oops. Back out unintentional change to RenderBlock.cpp
- 7:21 PM Changeset in webkit [31424] by
-
- 7 edits in trunk/WebCore
2008-03-28 David Hyatt <hyatt@apple.com>
Back out the Ahem font antialiasing hack, since it is now no longer required for LCD antialiased text
to match the reference rendering on Acid 3.
- platform/graphics/SimpleFontData.h:
- platform/graphics/mac/FontMac.mm: (WebCore::Font::drawGlyphs):
- platform/graphics/mac/SimpleFontDataMac.mm: (WebCore::SimpleFontData::platformInit):
- platform/graphics/win/FontCGWin.cpp: (WebCore::Font::drawGlyphs):
- platform/graphics/win/SimpleFontDataCGWin.cpp: (WebCore::SimpleFontData::platformInit):
- rendering/RenderBlock.cpp: (WebCore::RenderBlock::positionNewFloats):
- 5:51 PM Changeset in webkit [31423] by
-
- 8 edits2 deletes in trunk/WebKit
WebKit:
2008-03-28 Brady Eidson <beidson@apple.com>
Rubberstamped by Darin Adler
Remove WebArchiver.h/mm
- WebKit.xcodeproj/project.pbxproj:
WebKit/mac:
2008-03-28 Brady Eidson <beidson@apple.com>
Rubberstamped by Darin Adler
Remove WebArchiver.h/mm
- WebView/WebArchiver.h: Removed.
- WebView/WebArchiver.mm: Removed.
- DOM/WebDOMOperations.mm:
- WebCoreSupport/WebDragClient.mm:
- WebCoreSupport/WebEditorClient.mm:
- WebView/WebDataSource.mm:
- WebView/WebHTMLView.mm:
- 5:49 PM Changeset in webkit [31422] by
-
- 2 edits in branches/Safari-3-1-branch/WebKitLibraries
Merged fix from r31420.
- 5:40 PM Changeset in webkit [31421] by
-
- 5 edits in trunk/WebKit/mac
2008-03-28 Brady Eidson <beidson@apple.com>
Reviewed by Darin Adler
Now that WebCore can create archives from a frame selection directly, we don't need it in WebArchiver anymore
- WebCoreSupport/WebEditorClient.mm: (WebEditorClient::dataForArchivedSelection):
- WebView/WebArchiver.h: Nuke archiveSelectionInFrame, as there are no remaining users
- WebView/WebArchiver.mm: Ditto
- WebView/WebHTMLView.mm: (-[WebHTMLView _writeSelectionWithPasteboardTypes:toPasteboard:cachedAttributedString:]):
- 5:35 PM Changeset in webkit [31420] by
-
- 2 edits in trunk/WebKitLibraries
Versioning.
- 5:18 PM Changeset in webkit [31419] by
-
- 6 edits in trunk
WebCore:
2008-03-28 Brady Eidson <beidson@apple.com>
Reviewed by Darin Adler
More Kit->Core WebArchive changes.
Create an archive from the current selection in a frame
- WebCore.base.exp:
- loader/archive/cf/LegacyWebArchive.cpp: (WebCore::LegacyWebArchive::createFromSelection):
- loader/archive/cf/LegacyWebArchive.h:
WebKit/mac:
2008-03-28 Brady Eidson <beidson@apple.com>
Reviewed by Darin Adler
More Kit->Core WebArchive changes.
Create an archive from the current selection in a frame
- WebView/WebArchiver.mm: Remove one more *undeclared* method, the last method will drop off easily in a followup
- 5:14 PM Changeset in webkit [31418] by
-
- 2 edits in trunk/WebCore
2008-03-28 Kevin McCullough <kmccullough@apple.com>
- Somehow managed to duplicate code :(
- xml/XMLHttpRequest.cpp: (WebCore::XMLHttpRequest::didFinishLoading):
- 5:04 PM Changeset in webkit [31417] by
-
- 7 edits in branches/squirrelfish/JavaScriptCore
2008-03-28 Geoffrey Garen <ggaren@apple.com>
Reviewed by Oliver Hunt.
Responding to feedback, added some comments, fixed up a few names, and
clarified that "locals" always means all local variables, functions,
and parameters.
- 5:01 PM Changeset in webkit [31416] by
-
- 9 edits in branches/squirrelfish/JavaScriptCore
2008-03-28 Geoffrey Garen <ggaren@apple.com>
Reviewed by Oliver Hunt.
Added support for "this".
Supply an implicit "this" value as the first argument to every function.
Alias the "this" keyword to that argument.
1% regression overall, 2.5% regression on empty function calls. Seems
like a reasonable cost for now, since we're doing more work.
(Eventually, we might decide to create a version of op_call specialized
for a known null "this" value.)
- VM/CodeBlock.cpp: (KJS::CodeBlock::dump):
- VM/CodeGenerator.cpp: (KJS::CodeGenerator::emitCall):
- VM/CodeGenerator.h: (KJS::CodeGenerator::CodeGenerator):
- VM/Machine.cpp: (KJS::Machine::privateExecute):
- kjs/CommonIdentifiers.cpp: (KJS::CommonIdentifiers::CommonIdentifiers):
- kjs/CommonIdentifiers.h:
- kjs/nodes.cpp: (KJS::ThisNode::emitCode): (KJS::FunctionCallResolveNode::emitCode):
- kjs/nodes.h:
- 4:50 PM Changeset in webkit [31415] by
-
- 2 edits in trunk/WebCore
2008-03-28 Kevin McCullough <kmccullough@apple.com>
- Missed some changes in previous checkin.
- xml/XMLHttpRequest.cpp: (WebCore::XMLHttpRequest::send): Get identifier from synchronous loader. (WebCore::XMLHttpRequest::didFinishLoading):
- 4:28 PM Changeset in webkit [31414] by
-
- 7 edits in trunk/WebCore
2008-03-28 Kevin McCullough <kmccullough@apple.com>
Reviewed by Adam.
-<rdar://problem/5712804> XMLHttpRequests do not show response contents, preview images (14313)
-<rdar://problem/5712931> XMLHttpRequests should be shown separately and grouped (14315)
-<rdar://problem/5732836> XMLHttpRequest: Inspector should show network activity/XHR in Console (17233)
- Send the XMLHttpRequest data to the Inspector Controller.
- loader/FrameLoader.cpp: Return the identifier for this resource since we need it in the XHR case. (WebCore::FrameLoader::loadResourceSynchronously):
- loader/FrameLoader.h: Ditto.
- page/InspectorController.cpp: (WebCore::XMLHttpRequestResource::XMLHttpRequestResource): We only need the data since the type will be XHR and the encoding is not used (we decoded earlier). (WebCore::XMLHttpRequestResource::~XMLHttpRequestResource): Locking is necessary when setting and clearing the KJS::UString::Rep. (WebCore::InspectorResource::setXMLHttpRequestProperties): (WebCore::InspectorResource::sourceString): Return the decoded source. (WebCore::addSourceToFrame): No longer do the decoding here, it has been encapsulated in the InspectorResource. (WebCore::InspectorController::resourceRetrievedByXMLHttpRequest):
- page/InspectorController.h: Pass a UString instead of copying to a WebCore::String. In case we never ask for the string's contents this will save us an extra copy.
- xml/XMLHttpRequest.cpp: (WebCore::XMLHttpRequest::send): In the synchronous load case we normally do not keep the identifier but we need it to find the InspectorResource in order to tell it that it was loaded via XHR. (WebCore::XMLHttpRequest::didFinishLoading): Tell the InspectorController that its resource was loaded via XHR.
- xml/XMLHttpRequest.h: Ditto.
- 4:28 PM Changeset in webkit [31413] by
-
- 2 edits in trunk/LayoutTests
2008-03-28 Stephanie Lewis <Stephanie Lewis>
Update Windows Skipped list. Bugs filed.
- platform/win/Skipped:
- 4:11 PM Changeset in webkit [31412] by
-
- 10 edits in trunk
WebCore:
2008-03-28 Brady Eidson <beidson@apple.com>
Reviewed by Sam Weinig
WebArchive saga continues - Can now make archives from ranges in WebCore
Again, previous layout test coverage exercised this code
- WebCore.base.exp:
- editing/markup.cpp: (WebCore::createFullMarkup): Added a "markup from range" variant that copies the previous WebKit implementation
- editing/markup.h:
- loader/archive/cf/LegacyWebArchive.cpp: (WebCore::LegacyWebArchive::create):
- loader/archive/cf/LegacyWebArchive.h:
WebKit/mac:
2008-03-28 Brady Eidson <beidson@apple.com>
Reviewed by Sam Weinig
WebArchive saga continues - Can now make archives from ranges in WebCore
- DOM/WebDOMOperations.mm: (-[DOMRange webArchive]): (-[DOMRange markupString]):
- WebView/WebArchiver.h: Remove newly obsolete [WebArchiver archiveRange:]
- WebView/WebArchiver.mm:
- 3:39 PM Changeset in webkit [31411] by
-
- 5 edits in branches/squirrelfish/JavaScriptCore
Bug 18192: Squirrelfish needs support for break and continue
<http://bugs.webkit.org/show_bug.cgi?id=18192>
Reviewed by Geoff
Added a loop context stack to the code generator to provide the
correct jump labels for continue and goto. Added logic to the
currently implemented loop constructs to manage entry and exit
from the loop contexts. Finally, implemented codegen for break
and continue (and a pass through for LabelNode)
- 3:09 PM Changeset in webkit [31410] by
-
- 2 edits in trunk/WebCore
2008-03-28 Stephanie Lewis <Stephanie Lewis>
windows build fix.
- platform/win/MainThreadWin.cpp: (WebCore::initializeThreadingAndMainThread):
- 2:29 PM Changeset in webkit [31409] by
-
- 8 edits in trunk
WebCore:
2008-03-28 Brady Eidson <beidson@apple.com>
Reviewed by Sam Weinig
More Kit->Core webarchive code movement
- WebCore.base.exp:
- editing/markup.cpp: (WebCore::createFullMarkup): Replacement for [DOMNode markupString], creating full markup at this node including the document type string, which the WebKit implementation did indirectly
- editing/markup.h:
WebKit/mac:
2008-03-28 Brady Eidson <beidson@apple.com>
Reviewed by Sam Weinig
More Kit->Core webarchive code movement
- DOM/WebDOMOperations.mm: (-[DOMNode markupString]): Call createFullMarkup() instead
- WebView/WebFrame.mm: Remove obsolete _markupStringFromNode
- WebView/WebFrameInternal.h: Ditto
- 2:01 PM Changeset in webkit [31408] by
-
- 5 edits2 adds in branches/Safari-3-1-branch
Merge r31071.
- 2:01 PM Changeset in webkit [31407] by
-
- 2 edits2 adds in branches/Safari-3-1-branch/WebCore
Merge r31358.
- 2:00 PM Changeset in webkit [31406] by
-
- 2 edits in branches/Safari-3-1-branch/WebCore
Merge r31336.
- 1:56 PM Changeset in webkit [31405] by
-
- 10 edits in trunk/WebCore
2008-03-28 Darin Adler <Darin Adler>
Reviewed by Maciej.
- cut down on copying and refcount churn a little by using references a bit more for KURL and String
- bindings/js/JSXMLHttpRequest.cpp: (WebCore::jsXMLHttpRequestPrototypeFunctionOpen): Use const KURL& instead of KURL.
- css/StyleSheet.h: (WebCore::StyleSheet::href): Return const String& instead of String. (WebCore::StyleSheet::title): Ditto.
- dom/Document.cpp: (WebCore::Document::completeURL): Use const KURL* for a local variable instead of KURL to avoid copying the KURL.
- dom/Element.cpp: (WebCore::Element::baseURI): Use const KURL& instead of KURL.
- html/HTMLAnchorElement.cpp: (WebCore::HTMLAnchorElement::hostname): Ditto.
- html/HTMLFrameElementBase.cpp: (WebCore::HTMLFrameElementBase::isURLAllowed): Ditto.
- html/HTMLKeygenElement.cpp: Removed unneeded include of KURL.
- page/ContextMenuController.cpp: (WebCore::ContextMenuController::contextMenuItemSelected): Get rid of temporary KURL.
- platform/SecurityOrigin.cpp: (WebCore::SecurityOrigin::createForFrame): Use const KURL& instead of KURL.
- 1:21 PM Changeset in webkit [31404] by
-
- 14 edits3 adds in trunk
Reviewed by Sam Weinig.
Fix a dtoa thread safety issue.
WebCore can call kjs_strtod without holding JS lock, but we didn't have thread safety
compiled in for dtoa.
This is a 0.5% regression on SunSpider, which Sam Weinig has volunteered to cover with
his recent improvement.
- kjs/dtoa.cpp: (Bigint::Balloc): (Bigint::Bfree): Changed to use fastMalloc/fastDelete - they are much faster than the dtoa custom version was in the presence of locking (but somewhat slower in single-threaded case). (Bigint::pow5mult): Got rid of the dreaded double-checked locking anti-pattern (had to restructure the code to avoid significant performance implications). (Bigint::lshift): Rewrote to avoid an allocation, if possible.
(Bigint::rv_alloc):
(Bigint::kjs_freedtoa):
(Bigint::kjs_dtoa):
Check for USE(MULTIPLE_THREADS), not dtoa legacy MULTIPLE_THREADS.
- kjs/InitializeThreading.cpp: Added. (KJS::initializeThreading):
- kjs/InitializeThreading.h: Added. Initialize threading at KJS level, if enabled.
- kjs/dtoa.h: Expose dtoa mutex for KJS::initializeThreading.
- kjs/testkjs.cpp: (kjsmain): Call initializeThreading.
- JavaScriptCore.exp: Export KJS::initializeThreading.
- GNUmakefile.am:
- JavaScriptCore.exp:
- JavaScriptCore.pri:
- JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
- JavaScriptCoreSources.bkl:
- JavaScriptCore.xcodeproj/project.pbxproj: Added InitializeThreading.{h,cpp}.
- wtf/Threading.h: Removed a using directive for WTF::initializeThreading - it is only to be called from KJS::initializeThreading, and having it in the global namespace is useless.
- 1:02 PM Changeset in webkit [31403] by
-
- 2 edits in trunk/WebCore
2008-03-28 Brent Fulgham <bfulgham@gmail.com>
Reviewed by Maciej, landed by Brady
Correct build regression (http://bugs.webkit.org/show_bug.cgi?id=18148)
- platform/graphics/win/GraphicsContextCairoWin.cpp: (WebCore::GraphicsContext::getWindowsContext): (WebCore::GraphicsContext::releaseWindowsContext):
- 1:01 PM Changeset in webkit [31402] by
-
- 4 edits in trunk/WebKit/mac
2008-03-28 Brady Eidson <beidson@apple.com>
Reviewed by Sam Weinig
Fold [WebArchiver archiveFrame:] into WebDataSource - the last remaining caller
- WebView/WebArchiver.h:
- WebView/WebArchiver.mm:
- WebView/WebDataSource.mm: (-[WebDataSource webArchive]):
- 12:57 PM Changeset in webkit [31401] by
-
- 3 edits in trunk/WebKit/mac
2008-03-28 Brady Eidson <beidson@apple.com>
Reviewed by Sam Weinig
Remove unused [WebArchiver archiveNode:], made obsolete in r31400
- WebView/WebArchiver.h:
- WebView/WebArchiver.mm:
- 12:47 PM Changeset in webkit [31400] by
-
- 7 edits in trunk
WebCore:
2008-03-28 Brady Eidson <beidson@apple.com>
Reviewed by Darin
"Yet another transitional step" to empty out WebKit-based code for archiving.
With this patch, the key operation of "Creating a WebArchive rooted at a single Node" takes place
entirely within WebCore, and opens the door to saving WebArchives on Windows.
This is another "zero behavior change" patch, and current editing/ and webarchive/ layout tests
covered the relevant code
- WebCore.base.exp:
- loader/archive/cf/LegacyWebArchive.cpp: (WebCore::LegacyWebArchive::create):
- loader/archive/cf/LegacyWebArchive.h:
WebKit/mac:
2008-03-28 Brady Eidson <beidson@apple.com>
Reviewed by Darin
"Yet another transitional step" to empty out WebKit-based code for archiving.
With this patch, the key operation of "Creating a WebArchive rooted at a single Node" takes place
entirely within WebCore, and opens the door to saving WebArchives on Windows.
- DOM/WebDOMOperations.mm:
- WebView/WebArchiver.mm: (+[WebArchiver _archiveWithMarkupString:fromFrame:nodes:]):
- 11:26 AM Changeset in webkit [31399] by
-
- 2 edits in trunk/WebCore
2008-03-28 Jasper Bryant-Greene <jasper@unix.geek.nz>
Reviewed by Alp Toker.
http://bugs.webkit.org/show_bug.cgi?id=18061
PlatformScrollBarGtk attempts to allocate negative width and/or height for widgets
Missing clampNegativeToZero() call meant that we tried to allocate widgets with negative width and/or height.
- platform/gtk/PlatformScrollBarGtk.cpp: (PlatformScrollbar::geometryChanged):
- 10:53 AM Changeset in webkit [31398] by
-
- 6 edits1 add in trunk
2008-03-28 Brady Eidson <beidson@apple.com>
Reviewed by Darin
Export Unicode/UTF8.h and convertUTF16ToUTF8() for more flexible conversion in WebCore
- JavaScriptCore.exp:
- JavaScriptCore.xcodeproj/project.pbxproj:
WebCore:
2008-03-28 Brady Eidson <beidson@apple.com>
Reviewed by Darin
Using convertUTF16ToUTF8() from WTF, add a helper function that gives you a UTF8 SharedBuffer
created from a String.
- ForwardingHeaders/wtf/unicode/UTF8.h: Added.
- platform/text/PlatformString.h:
- platform/text/String.cpp: (WebCore::utf8Buffer):
- 10:37 AM Changeset in webkit [31397] by
-
- 3 edits in trunk/WebCore
2008-03-28 Darin Adler <Darin Adler>
Reviewed by Adam.
- eliminate a tiny bit of unnecessary refcount churn
- bindings/js/JSEventTargetBase.cpp: (WebCore::eventNameForPropertyToken): Return const AtomicString&.
- bindings/js/JSEventTargetBase.h: (WebCore::JSEventTargetBase::getValueProperty): Update for above change. (WebCore::JSEventTargetBase::putValueProperty): Ditto.
- 10:03 AM Changeset in webkit [31396] by
-
- 3 edits in trunk/LayoutTests
2008-03-28 Darin Adler <Darin Adler>
Reviewed by Sam.
- fast/encoding/invalid-xml-expected.txt: Update to reflect a true success.
- fast/encoding/resources/invalid-xml.js: Eliminate race condition by not ending the test until the js-test-post.js script has loaded.
- 9:26 AM Changeset in webkit [31395] by
-
- 3 edits in trunk/LayoutTests
Rubber-stamped by Brady.
Enable server-side includes via AddHandler, hopefully making Apache 1.3 happy.
- http/tests/misc/.htaccess:
- http/tests/misc/resources/acid3/.htaccess:
- 9:16 AM Changeset in webkit [31394] by
-
- 3 edits in trunk/WebKitSite
2008-03-28 Darin Adler <Darin Adler>
- building/build.html: Add another mention of using the Cygwin shell.
- building/tools.html: Fix a typo on the name Cygwin.
- 7:15 AM Changeset in webkit [31393] by
-
- 1 edit1 add in trunk/LayoutTests
Not reviewed.
Enable mod_include for acid3.html - the previous check-in only had it in resources
subdirectory.
- http/tests/misc/.htaccess: Added.
- 2:44 AM Changeset in webkit [31392] by
-
- 2 edits in trunk/WebCore
Fix the Qt build.
- rendering/Length.h: Include wtf/MathExtras.h for round().
- 2:23 AM Changeset in webkit [31391] by
-
- 1 edit23 adds in trunk/LayoutTests
Reviewed by mjs.
Add Acid3 test as an http test
http://bugs.webkit.org/show_bug.cgi?id=18176
- http/tests/misc/acid3-expected.checksum: Added.
- http/tests/misc/acid3-expected.png: Added.
- http/tests/misc/acid3-expected.txt: Added.
- http/tests/misc/acid3.html: Added.
- http/tests/misc/resources/acid3/.htaccess: Added.
- http/tests/misc/resources/acid3/empty.css: Added.
- http/tests/misc/resources/acid3/empty.html: Added.
- http/tests/misc/resources/acid3/empty.png: Added.
- http/tests/misc/resources/acid3/empty.txt: Added.
- http/tests/misc/resources/acid3/empty.xml: Added.
- http/tests/misc/resources/acid3/font.svg: Added.
- http/tests/misc/resources/acid3/font.ttf: Added.
- http/tests/misc/resources/acid3/instructions.inc: Added.
- http/tests/misc/resources/acid3/reference.html: Added.
- http/tests/misc/resources/acid3/reference.png: Added.
- http/tests/misc/resources/acid3/support-a.png.404: Added.
- http/tests/misc/resources/acid3/support-b.png: Added.
- http/tests/misc/resources/acid3/support-c.png: Added.
- http/tests/misc/resources/acid3/svg.xml: Added.
- http/tests/misc/resources/acid3/xhtml.1: Added.
- http/tests/misc/resources/acid3/xhtml.2: Added.
- http/tests/misc/resources/acid3/xhtml.3: Added.
- 1:54 AM Changeset in webkit [31390] by
-
- 5 adds in trunk/LayoutTests
Add layout tests for background position rounding.
- 1:53 AM Changeset in webkit [31389] by
-
- 3 edits in trunk/WebCore
2008-03-28 David Hyatt <hyatt@apple.com>
Fix a bug where background-position truncates instead of rounding when it evaluates to fractional
pixel values. This matches other browsers.
Reviewed by maciej
Added fast/backgrounds/background-position-rounding.html
- rendering/Length.h: (WebCore::Length::calcValue): (WebCore::Length::calcMinValue):
- rendering/RenderBox.cpp: (WebCore::RenderBox::calculateBackgroundImageGeometry):
Mar 27, 2008:
- 11:41 PM Changeset in webkit [31388] by
-
- 5 edits in trunk
2008-03-27 Darin Adler <Darin Adler>
Reviewed by Mark Rowe.
<rdar://problem/5826236> Regular expressions with large nested repetition counts can have their
compiled length calculated incorrectly.
- pcre/pcre_compile.cpp: (multiplyWithOverflowCheck): (calculateCompiledPatternLength): Check for overflow when dealing with nested repetition counts and bail with an error rather than returning incorrect results.
2008-03-27 Mark Rowe <mrowe@apple.com>
Reviewed by Adam Roben.
Tests for <rdar://problem/5826236> Regular expressions with large nested repetition counts can have their
compiled length calculated incorrectly.
- fast/js/regexp-overflow-expected.txt:
- fast/js/resources/regexp-overflow.js:
- 10:49 PM Changeset in webkit [31387] by
-
- 2 edits in trunk/WebCore
wx build fix. Return a default value for operator == when !USE(WXGC) (not implemented in that case).
- 10:42 PM Changeset in webkit [31386] by
-
- 2 edits in trunk/WebCore
2008-03-27 Maciej Stachowiak <mjs@apple.com>
- fix build
- svg/SVGGlyphMap.h: (WebCore::GlyphMapNode::create):
- 10:37 PM Changeset in webkit [31385] by
-
- 2 edits in trunk/WebCore
2008-03-27 Brady Eidson <beidson@apple.com>
Forgot a small requested change before committing
- loader/DocumentLoader.cpp: (WebCore::DocumentLoader::mainResource):
- 10:33 PM Changeset in webkit [31384] by
-
- 10 edits in trunk
WebCore:
2008-03-27 Brady Eidson <beidson@apple.com>
Reviewed by Adam Roben
Move [WebDataSource mainResource] and [WebDataSource subresources] down into WebCore
as the push to core-ify WebArchives continues.
This patch also introduces a behavior change. WebCore allows ArchiveResources with null or empty data.
WebKit has had the inexplicable distinction of allowing empty Data in a WebResource, but not null.
Since WebResource is API, I decided to leave it be to avoid a behavior change. But internally created resources
(as in "while archiving a page") are accepting of null or empty data.
This actually fixes a bug where not all subframes are archived, and resulted in a layout test change.
- WebCore.base.exp:
- loader/DocumentLoader.cpp: (WebCore::DocumentLoader::archiveResourceForURL): Make this const (WebCore::DocumentLoader::mainResource): (WebCore::DocumentLoader::subresource): Make this const and relocate (WebCore::DocumentLoader::getSubresources):
- loader/DocumentLoader.h:
WebKit/mac:
2008-03-27 Brady Eidson <beidson@apple.com>
Reviewed by Adam Roben
Move [WebDataSource mainResource] and [WebDataSource subresources] down into WebCore
as the push to core-ify WebArchives continues.
This patch also introduces a behavior change. WebCore allows ArchiveResources with null or empty data.
WebKit has had the inexplicable distinction of allowing empty Data in a WebResource, but not null.
Since WebResource is API, I decided to leave it be to avoid a behavior change. But internally created resources
(as in "while archiving a page") are accepting of null or empty data.
This actually fixes a bug where not all subframes are archived, and resulted in a layout test change.
- WebView/WebDataSource.mm: (-[WebDataSource mainResource]): Call DocumentLoader implementation (-[WebDataSource subresources]): Ditto
- WebView/WebFrame.mm: Remove [WebFrame _getAllResourceDatas:andResponses:] as its only caller is obsolete
- WebView/WebFrameInternal.h:
LayoutTests:
2008-03-27 Brady Eidson <beidson@apple.com>
Reviewed by Adam Roben
Updated results, as we now more consistently archive empty frames/empty resources
- webarchive/archive-empty-frame-source-expected.txt:
- 10:25 PM Changeset in webkit [31383] by
-
- 2 edits in trunk/WebCore
2008-03-27 Maciej Stachowiak <mjs@apple.com>
Reviewed by Darin.
- fixed many buildbot leaks in glyph map code
- svg/SVGGlyphMap.h: (WebCore::GlyphMapNode::create): Use explicit create pattern, to avoid overreffing and therefore leaking these objects. (WebCore::SVGGlyphMap::add): Call create instead of using new.
- 8:39 PM Changeset in webkit [31382] by
-
- 8 edits in branches/squirrelfish/JavaScriptCore
2008-03-27 Sam Weinig <sam@webkit.org>
Reviewed by Geoffrey Garen.
Add emitCode support for UnaryPlusNode, NegateNode, BitwiseNotNode and LogicalNotNode.
- VM/CodeBlock.cpp: (KJS::printUnaryOp): (KJS::CodeBlock::dump):
- VM/CodeGenerator.cpp: (KJS::CodeGenerator::emitToJSNumber): (KJS::CodeGenerator::emitNegate): (KJS::CodeGenerator::emitBitNot): (KJS::CodeGenerator::emitNot):
- VM/CodeGenerator.h:
- VM/Machine.cpp: (KJS::Machine::privateExecute):
- VM/Opcode.h:
- kjs/nodes.cpp: (KJS::UnaryPlusNode::emitCode): (KJS::NegateNode::emitCode): (KJS::BitwiseNotNode::emitCode): (KJS::LogicalNotNode::emitCode):
- kjs/nodes.h:
- 8:37 PM Changeset in webkit [31381] by
-
- 2 edits in trunk/WebCore
2008-03-27 Maciej Stachowiak <mjs@apple.com>
Rubber stamped by Oliver.
- re-fix Acid3, some code was incorrectly moved when fixing the Qt build
- rendering/SVGRootInlineBox.cpp: (WebCore::SVGRootInlineBox::buildLayoutInformationForTextBox):
- 8:06 PM Changeset in webkit [31380] by
-
- 3 edits in branches/squirrelfish/JavaScriptCore
2008-03-27 Cameron Zwarich <cwzwarich@uwaterloo.ca>
Reviewed by Maciej Stachowiak.
Add support for LogicalAndNode and LogicalOrNode.
- kjs/nodes.cpp: (KJS::LogicalAndNode::emitCode): (KJS::LogicalOrNode::emitCode):
- kjs/nodes.h:
- 8:02 PM squirrelfish edited by
- (diff)
- 8:01 PM squirrelfish edited by
- (diff)
- 7:52 PM Changeset in webkit [31379] by
-
- 3 edits in branches/squirrelfish/JavaScriptCore
2008-03-27 Sam Weinig <sam@webkit.org>
Clean up code and debug output.
- VM/CodeBlock.cpp: (KJS::CodeBlock::dump):
- VM/Machine.cpp: (KJS::Machine::privateExecute):
- 7:09 PM Changeset in webkit [31378] by
-
- 2 edits in branches/squirrelfish/JavaScriptCore
2008-03-27 Geoffrey Garen <ggaren@apple.com>
Moved an ASSERT to a more logical place.
- VM/Machine.cpp: (KJS::Machine::privateExecute):
- 6:10 PM Changeset in webkit [31377] by
-
- 3 edits in trunk/WebKit/mac
2008-03-27 Brady Eidson <beidson@apple.com>
Reviewed by Adam
Change the "init from WebCore resource" version of WebResource to take PassRefPtr
(more efficient)
- WebView/WebResource.mm: (-[WebResource _initWithCoreResource:]):
- WebView/WebResourceInternal.h:
- 3:14 PM Changeset in webkit [31376] by
-
- 3 edits in trunk/WebCore
Fix compilation against Qt 4.4 and one missing SVG_FONTS #ifdef.
- 2:44 PM Changeset in webkit [31375] by
-
- 8 edits in branches/squirrelfish/JavaScriptCore
2008-03-27 Sam Weinig <sam@webkit.org>
Reviewed by Oliver Hunt.
Add emitCode support for InstanceOfNode.
- VM/CodeBlock.cpp: (KJS::CodeBlock::dump):
- VM/CodeGenerator.cpp: (KJS::CodeGenerator::emitInstanceOf):
- VM/CodeGenerator.h:
- VM/Machine.cpp: (KJS::Machine::privateExecute):
- VM/Opcode.h:
- kjs/nodes.cpp: (KJS::InstanceOfNode::emitCode):
- kjs/nodes.h:
- 2:37 PM Changeset in webkit [31374] by
-
- 11 edits in trunk/WebCore
Fix the Qt build and the build without ENABLE(SVG_FONTS)
- 1:58 PM Changeset in webkit [31373] by
-
- 9 edits in branches/squirrelfish/JavaScriptCore
Bug 18142: squirrelfish needs to support dynamic scoping/with
<http://bugs.webkit.org/show_bug.cgi?id=18142>
Reviewed by Maciej
Add support for dynamic scoping and add code to handle 'with'
statements.
- 12:37 PM Changeset in webkit [31372] by
-
- 8 edits in branches/squirrelfish/JavaScriptCore
2008-03-27 Sam Weinig <sam@webkit.org>
Reviewed by Geoffrey Garen.
Add emitCode support for NullNode, FalseNode, TrueNode, IfNode, IfElseNode, DoWhileNode and WhileNode
- VM/CodeBlock.cpp: (KJS::CodeBlock::dump): Dump op_jfalse opcode.
- VM/CodeGenerator.cpp: (KJS::CodeGenerator::emitJumpIfFalse): Identical to emitJumpIfTrue except it emits the op_jfalse opcode. (KJS::CodeGenerator::emitLoad): Add and emitLoad override for booleans.
- VM/CodeGenerator.h:
- VM/Machine.cpp: (KJS::Machine::privateExecute): Adds execution of op_jfalse. It is identical to op_jtrue, except the the condition is reversed.
- VM/Opcode.h: Add op_jfalse.
- kjs/nodes.cpp: (KJS::NullNode::emitCode): Added. (KJS::FalseNode::emitCode): Added. (KJS::TrueNode::emitCode): Added. (KJS::IfNode::emitCode): Added. (KJS::IfElseNode::emitCode): Added. (KJS::DoWhileNode::emitCode): Added. (KJS::WhileNode::emitCode): Added.
- kjs/nodes.h:
- 3:56 AM Changeset in webkit [31371] by
-
- 1 edit in trunk/WebCore/WebCore.base.exp
Removed whitespace that crept in from r31357.
- 12:12 AM Changeset in webkit [31370] by
-
- 4 edits7 moves in trunk/WebCore
2008-03-26 Timothy Hatcher <timothy@apple.com>
Rename some Inspector files to facilitate the up-coming UI refresh changes.
Rubber-stamped by Adam Roben.
- WebCore.vcproj/WebCore.vcproj:
- page/inspector/Console.js: Copied from page/inspector/ConsolePanel.js.
- page/inspector/ConsolePanel.js: Removed.
- page/inspector/DocumentPanel.js: Removed.
- page/inspector/ElementsPanel.js: Copied from page/inspector/DocumentPanel.js.
- page/inspector/FontPanel.js: Removed.
- page/inspector/FontView.js: Copied from page/inspector/FontPanel.js.
- page/inspector/ImagePanel.js: Removed.
- page/inspector/ImageView.js: Copied from page/inspector/ImagePanel.js.
- page/inspector/NetworkPanel.js: Removed.
- page/inspector/ResourcePanel.js: Removed.
- page/inspector/ResourceView.js: Copied from page/inspector/ResourcePanel.js.
- page/inspector/ResourcesPanel.js: Copied from page/inspector/NetworkPanel.js.
- page/inspector/SourcePanel.js: Removed.
- page/inspector/SourceView.js: Copied from page/inspector/SourcePanel.js.
- page/inspector/WebKit.qrc:
- page/inspector/inspector.html: