Timeline
Sep 10, 2005:
- 10:27 PM Changeset in webkit [10517] by
-
- 1 edit2 adds in trunk/JavaScriptCore
Reviewed and landed by Darin.
- Makefile.vc: Added.
- README-Win32.txt: Added.
- 2:33 PM Changeset in webkit [10516] by
-
- 2 edits in trunk/WebCore
Reviewed and landed by Darin.
- fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4820 hexadecimal HTML entities split across TCP packets are not parsed correctly
Wasn't able to make a layout test for this because there's no easy way to
simulate separate writes to the tokenizer.
- khtml/html/htmltokenizer.cpp: (khtml::HTMLTokenizer::parseEntity): Rolled back to code more like the original KDE stuff -- our change broke this -- but changed the limit so it works with 8-character entities.
- 2:22 PM Changeset in webkit [10515] by
-
- 1 edit2 deletes in trunk
- remove test case I just added -- it's not working
- layout-tests/fast/dom/document-write-infinite-recursion-expected.txt: Removed.
- layout-tests/fast/dom/document-write-infinite-recursion.html: Removed.
- 2:03 PM Changeset in webkit [10514] by
-
- 3 edits2 adds in trunk
Reviewed by Maciej.
- fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4806 REGRESSION <area> elements misnested inside <div> elements not working
Test cases added:
- layout-tests/fast/parser/area-in-div.html: Added.
- layout-tests/fast/parser/area-in-div-expected.txt: Added.
- khtml/html/htmlparser.h: Declared mapCreateErrorCheck.
- khtml/html/htmlparser.cpp: (HTMLParser::handleError): Fix formatting and indentation. (HTMLParser::formCreateErrorCheck): Added code to create the form too, so we can squirrel the form pointer away. Return false to prevent the factory from creating it. (HTMLParser::mapCreateErrorCheck): Added. Same kind of thing here, but without the logic that prevents creating a form if there's already a form open. (HTMLParser::getNode): Added the code to put the map function into the table. Also removed the form special-case code here that accomplishes what is now done inside the formCreateErrorCheck above instead.
- 1:47 PM Changeset in webkit [10513] by
-
- 2 edits2 adds in trunk
Reviewed by Maciej.
- fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4367 Crash when executing setTimeout / Date / document.write Javascript (bugtraq)
Test cases added:
- layout-tests/fast/dom/document-write-infinite-recursion.html: Added.
- layout-tests/fast/dom/document-write-infinite-recursion-expected.txt: Added.
- khtml/xml/dom_docimpl.cpp: (DocumentImpl::implicitClose): Simplify a bit to make more readable. Remove the code to delete the tokenizer an extra time -- that can end up deleting the newly created tokenizer that's still needed for the newly opened page. (DocumentImpl::write): Added an assertion to catch the badness that caused infinite recursion so it's easier to recognize next time.
- 12:10 PM Changeset in webkit [10512] by
-
- 2 edits in trunk/JavaScriptCore
- fixed compilation for WebCore (another try)
- kjs/simple_number.h: Added more "using" lines.
- 11:58 AM Changeset in webkit [10511] by
-
- 2 edits in trunk/JavaScriptCore
- fixed compilation for WebCore
- kjs/simple_number.h: Have to include <cmath> here to work around a bug in the GCC standard C++ library headers.
- 11:24 AM Changeset in webkit [10510] by
-
- 5 edits in trunk/JavaScriptCore
Windows changes by Krzysztof Kowalczyk <kkowalczyk@gmail.com>.
- fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4870 win portability: fix IS_NEGATIVE_ZERO macro in simple_number.h
- kjs/simple_number.h: (KJS::isNegativeZero): Added. Inline function. Has a case for Windows that uses _fpclass and a case for other platforms that uses signbit. (KJS::SimpleNumber::fits): Use inline isNegativeZero instead of macro IS_NEGATIVE_ZERO.
- kjs/internal.cpp: Remove definition of now-unneeded negZero global.
- kjs/value.cpp: Touched the file because Xcode didn't know it needed to recompile it.
- improved test engine
- tests/mozilla/jsDriver.pl: Sort tests in numeric order instead of using a plain-ASCII sort; now test 33 will be after test 5 in any given set of numbered tests.
- 10:36 AM Changeset in webkit [10509] by
-
- 2 edits in trunk/WebKit
Reviewed and landed by Darin.
- WebCoreSupport.subproj/WebImageRenderer.m: (-[WebImageRenderer drawImageInRect:fromRect:compositeOperator:context:]): Removed unused local variable.
- 9:50 AM Changeset in webkit [10508] by
-
- 1 edit1 add in trunk
- add expected success result for newly-enabled test
- layout-tests/dom/html/level2/html/HTMLIFrameElement11-expected.txt: Added.
Sep 9, 2005:
- 11:10 PM Changeset in webkit [10507] by
-
- 3 edits4 adds in trunk
Reviewed by Dave Hyatt.
- fix <rdar://problem/4234256> REGRESSION: image tag broken in TOT
Test cases added:
- layout-tests/fast/replaced/image-tag-expected.checksum: Added.
- layout-tests/fast/replaced/image-tag-expected.png: Added.
- layout-tests/fast/replaced/image-tag-expected.txt: Added.
- layout-tests/fast/replaced/image-tag.html: Added.
- khtml/html/htmlnames.h:
- khtml/html/htmlfactory.cpp: (DOM::HTMLElementFactory::createHTMLElement):
- 3:14 PM Changeset in webkit [10506] by
-
- 3 edits1 add in trunk/WebKit
Reviewed by John Sullivan.
- History.subproj/WebBackForwardList.m: (-[WebBackForwardList removeItem:]): SPI to remove a given WebHistoryItem.
- History.subproj/WebBackForwardListPrivate.h: Added.
- WebKit.xcodeproj/project.pbxproj: Added WebBackForwardListPrivate.h as a private header.
- 11:34 AM Changeset in webkit [10505] by
-
- 4 edits in trunk
WebCore:
Reviewed by Tim Omernick.
Test cases added: none, doesn't affect layout
- fixed <rdar://problem/4250792> Find in HTML doesn't reveal match if only match was already selected
- kwq/KWQKHTMLPart.mm: (KWQKHTMLPart::findString): If we end up finding the previously-selected text, just go through the normal success code path instead of bailing out early.
WebKit:
Reviewed by Tim Omernick.
fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4070:
Find in plain text won't find only occurrence if it overlaps selection
- Misc.subproj/WebSearchableTextView.m: (-[NSString findString:selectedRange:options:wrap:]): in the wrap case, extend the search range far enough that text overlapping the selection (including the exact-match case) will be considered.
- 11:30 AM Changeset in webkit [10504]
-
- 227 copies14 deletes in tags/WebCore-416~7
This commit was manufactured by cvs2svn to create tag
'WebCore-416~7'.
- 11:30 AM Changeset in webkit [10503]
-
- 344 copies33 deletes in branches/Safari-Den-branch
This commit was manufactured by cvs2svn to create branch
'Safari-Den-branch'.
- 11:30 AM Changeset in webkit [10502]
-
- 344 copies33 deletes in tags/Safari-Den-anchor
This commit was manufactured by cvs2svn to create tag
'Safari-Den-anchor'.
- 11:30 AM Changeset in webkit [10501] by
-
- 2 edits in branches/Safari-2-0-branch/WebCore
Versioning for Safari-2-0-branch - WebCore-416.7
- 11:29 AM Changeset in webkit [10500]
-
- 49 copies22 deletes in tags/WebKit-416~7
This commit was manufactured by cvs2svn to create tag 'WebKit-416~7'.
- 11:29 AM Changeset in webkit [10499] by
-
- 2 edits in branches/Safari-2-0-branch/WebKit
Versioning for Safari-2-0-branch - WebKit-416.7
- 10:49 AM Changeset in webkit [10498] by
-
- 2 edits in branches/Safari-2-0-branch/WebCore
Merged fix from TOT to Safari-2-0-branch
2005-09-07 Vicki Murley <vicki@apple.com>
Reviewed by Justin.
- fix <rdar://problem/4246096> REGRESSION links to named anchors don't scroll to the right place (4825)
This is really just a better fix for 4233844. Also consolidated manual-tests/scrollToAnchorWithNewline.html
and the test case from Bugzilla bug 4825 into manual-tests/scrollToAnchor.html.
Test cases added:
- manual-tests/scrollToAnchor.html: Added.
- khtml/xml/dom_nodeimpl.cpp: (DOM::ContainerNodeImpl::getUpperLeftCorner): when calculating scroll position, skip child nodes of the anchor if they do not have text boxes.
- 10:17 AM Changeset in webkit [10497] by
-
- 20 edits in branches/Safari-2-0-branch
WebCore:
Merged fix from TOT to Safari-2-0-branch
2005-09-08 Justin Garcia <justin.garcia@apple.com>
Reviewed by darin
WebCore portion of multipart/x-mixed-replace support
- khtml/misc/loader.cpp: (Request::Request): (Loader::slotReceivedResponse): Only allow a multipart load for images, clear out the old multipart section to prepare for a replace (Loader::slotData): Multipart sections are delivered to the coreLoader by WebKit all at once, send eof to CachedImage::data
- khtml/misc/loader.h: (khtml::CachedObject::isImage): Added (khtml::CachedImage::isImage):
- kwq/KWQKJobClasses.h:
- kwq/KWQKJobClasses.mm: (KIO::TransferJob::cancel): Added a way to cancel a subresource loader from WebCore
- kwq/KWQLoader.h:
- kwq/KWQLoader.mm: (KWQResponseIsMultipart):
- kwq/KWQResourceLoader.h:
- kwq/KWQResourceLoader.mm: (-[KWQResourceLoader jobCanceledLoad]):
WebKit:
Merged fix from TOT to Safari-2-0-branch
2005-09-08 Justin Garcia <justin.garcia@apple.com>
Reviewed by darin
WebKit portion of multipart/x-mixed-replace support
- WebCoreSupport.subproj/WebSubresourceLoader.m: (+[WebSubresourceLoader startLoadingResource:withRequest:customHeaders:referrer:forDataSource:]): Subresource case: Check for Foundation level multipart support (-[WebSubresourceLoader didReceiveResponse:]): Send previously received data in a multipart section to the coreLoader (-[WebSubresourceLoader didReceiveData:lengthReceived:]): Don't send data to the coreLoader until it has been completely received
- WebView.subproj/WebDataSource.m: (-[WebDataSource _startLoading:]): Main resource case: check for Foundation level multipart support (+[WebDataSource _repTypesAllowImageTypeOmission:]): Some server apps send data right after declaring content multipart/x-mixed-replace, and expect it to be treated as html (-[WebDataSource _commitIfReady:]): Don't ask the WebFrame to close its old WebDataSource when loading a multipart section, because we're going to reuse it (-[WebDataSource _receivedData:]): For non text/html multipart sections, we commit the data all at once, at the end (-[WebDataSource _doesProgressiveLoadWithMIMEType:]): Added heuristic for when to commit the load incrementally (-[WebDataSource _commitLoadWithData:]): Moved from _receivedData into its own function (-[WebDataSource _revertToProvisionalState]): (-[WebDataSource _setupForReplaceByMIMEType:]): Commits the data received for the previous multipart section if it wasn't loaded progresively, clears out the WebFrame and WebDatasource for the next multipart section
- WebView.subproj/WebDataSourcePrivate.h:
- WebView.subproj/WebFrame.m: (-[WebFrame _transitionToCommitted:]): The very first multipart section is treated as a normal load, so that the back/forward list and history are updated. All later sections have a new load type, WebFrameLoadTypeReplace, and are treated like reloads (-[WebFrame _checkLoadCompleteForThisFrame]): Ditto (-[WebFrame _itemForRestoringDocState]): Ditto (-[WebFrame _setupForReplace]): Clears out the WebFrame for the next multipart section
- WebView.subproj/WebFrameInternal.h:
- WebView.subproj/WebFramePrivate.h:
- WebView.subproj/WebFrameView.m: (+[WebFrameView _viewTypesAllowImageTypeOmission:]): See above
- WebView.subproj/WebLoader.h:
- WebView.subproj/WebLoader.m: (-[NSURLProtocol clearResourceData]): (-[NSURLProtocol setSupportsMultipartContent:]):
- WebView.subproj/WebMainResourceLoader.m: Straightforward (-[WebMainResourceLoader didReceiveResponse:]):