Timeline
Aug 25, 2004:
- 5:49 PM Changeset in webkit [7371] by
-
- 2 edits in trunk/WebCore
Reviewed by John and Maciej.
- Fixes SAP bug <rdar://problem/3751295> Personalize link at the top gives an error in the pop-up window.
- khtml/ecma/kjs_window.cpp: (WindowFunc::tryCall): Passes a referrer to KHTMLPart::begin()
- 4:40 PM Changeset in webkit [7370] by
-
- 4 edits in trunk/WebCore
Updated to <canvas> API to match the spec. (Still need
to implement gradients and patterns.)
Reviewed by Ken.
- khtml/ecma/kjs_html.cpp: (KJS::Context2DFunction::tryCall): (Context2D::getValueProperty): (Context2D::drawingContext): (Context2D::colorRefFromValue): (Context2D::colorFromValue): (Context2D::setShadow): (Context2D::putValue): (Context2D::save): (Context2D::restore): (Context2D::Context2D):
- khtml/ecma/kjs_html.h: (KJS::Context2D::):
- khtml/ecma/kjs_html.lut.h: (KJS::):
- 2:54 PM Changeset in webkit [7369] by
-
- 2 edits in trunk
Reviewed by me
- layout-tests/editing/deleting/delete-3775172-fix.html: Wrong version of test checked in a moment ago.
- 2:54 PM Changeset in webkit [7368] by
-
- 1 edit2 adds in trunk
Reviewed by me
Added test case for <rdar://problem/3775172> Blot crashes after typing one character then deleting it
- layout-tests/editing/deleting/delete-3775172-fix-expected.txt: Added.
- layout-tests/editing/deleting/delete-3775172-fix.html: Added.
- 2:49 PM Changeset in webkit [7367] by
-
- 2 edits in trunk
Reviewed by me
- layout-tests/editing/style/style-3690704-fix-expected.txt: Fewer styling spans added on this test as a result of the previously-checked-in fix.
- 2:34 PM Changeset in webkit [7366] by
-
- 2 edits in trunk/WebCore
Reviewed by John
Fix for this bug:
<rdar://problem/3775214> BR elements cause unnecessary spans to be added when applying style
- khtml/editing/htmlediting_impl.cpp: (khtml::ApplyStyleCommandImpl::doApply): BR elements can be grouped more liberally with other nodes now in the iteration when attempting to find nodes that can be styled together with one span.
- layout-tests/editing/style/style-3690704-fix-expected.txt: Updated with new results after bug fix.
- 2:33 PM Changeset in webkit [7365] by
-
- 3 edits in trunk/WebCore
Reviewed by John
Fix for this bug:
<rdar://problem/3775172> Blot crashes after typing one character then deleting it
- khtml/css/css_computedstyle.cpp: (DOM::CSSComputedStyleDeclarationImpl::getPropertyCSSValue): Bail early if the element being queried does not have a renderer or that renderer does not have a style. Prevents a crash in the cases that it does not.
- khtml/editing/htmlediting_impl.cpp: (khtml::DeleteSelectionCommandImpl::doApply): Add one more case to deleting when the start and end nodes are different. If the downstream end node is the last node in the block, then it may need to be deleted completely. Before this patch, the code erroneously assumed that any deletion in this node had to be trimming of a text node. This was asserted, and the description in 3775172 shows a simple case where this assertion does not hold. The additional case and associated checks now make it all better.
- layout-tests/editing/deleting/delete-3775172-fix.html: Added.
- 2:19 PM Changeset in webkit [7364] by
-
- 3 edits in trunk/WebCore
Fix for 3365086, large tables crash Safari. Make sure to use ints rather than shorts for row and column
counts. Also fix a pathological array resize scenario for tables as rows are added.
Reviewed by darin
- khtml/rendering/render_table.cpp: (RenderTable::splitColumn): (RenderTable::appendColumn): (RenderTableSection::RenderTableSection): (RenderTableSection::ensureRows): (RenderTableSection::setCellWidths): (RenderTableSection::calcRowHeight): (RenderTableSection::layoutRows): (RenderTableSection::paint): (RenderTableSection::recalcCells): (RenderTableSection::clearGrid):
- khtml/rendering/render_table.h: (khtml::RenderTableSection::numRows):
- 1:01 PM Changeset in webkit [7363] by
-
- 3 edits in trunk/WebCore
To save memory in the common case, move the margin*Collapse variables into the CSS3 struct instead of
bloating the surround struct.
- khtml/rendering/render_style.cpp: (StyleSurroundData::StyleSurroundData): (StyleSurroundData::operator==): (marginBottomCollapse): (StyleCSS3NonInheritedData::operator==): (RenderStyle::diff):
- khtml/rendering/render_style.h: (khtml::RenderStyle::marginTopCollapse): (khtml::RenderStyle::marginBottomCollapse): (khtml::RenderStyle::setMarginTopCollapse): (khtml::RenderStyle::setMarginBottomCollapse):
- 12:04 PM Changeset in webkit [7362] by
-
- 12 edits in trunk/WebCore
Fix the "extra space in TypePad blogs" Emerson problem by adding the ability to collapse away margins.
Also added support for explicitly preventing margin collapsing.
Reviewed by mjs
- khtml/css/cssparser.cpp: (CSSParser::parseValue):
- khtml/css/cssproperties.c: (hash_prop): (findProp):
- khtml/css/cssproperties.h:
- khtml/css/cssproperties.in:
- khtml/css/cssstyleselector.cpp: (khtml::CSSStyleSelector::applyProperty):
- khtml/css/cssvalues.c: (hash_val): (findValue):
- khtml/css/cssvalues.h:
- khtml/css/cssvalues.in:
- khtml/rendering/render_block.cpp: (khtml::RenderBlock::isSelfCollapsingBlock): (khtml::RenderBlock::layoutBlockChildren):
- khtml/rendering/render_style.cpp: (StyleSurroundData::StyleSurroundData): (StyleSurroundData::operator==): (RenderStyle::diff):
- khtml/rendering/render_style.h: (khtml::): (khtml::RenderStyle::marginTopCollapse): (khtml::RenderStyle::marginBottomCollapse): (khtml::RenderStyle::setMarginTopCollapse): (khtml::RenderStyle::setMarginBottomCollapse): (khtml::RenderStyle::initialMarginTopCollapse): (khtml::RenderStyle::initialMarginBottomCollapse):
- 10:52 AM Changeset in webkit [7361]
-
- 12 copies3 deletes in tags/WebKit-125~2~2
This commit was manufactured by cvs2svn to create tag
'WebKit-125~2~2'.
- 10:52 AM Changeset in webkit [7360] by
-
- 1 edit in branches/SecurityUpdate-10~3~4-branch/WebKit/WebKit.pbproj/project.pbxproj
Bump version.
- 10:51 AM Changeset in webkit [7359] by
-
- 2 edits in branches/SecurityUpdate-10~3~4-branch/WebKit
- fixed build, had merged wrong version of bug fix
- WebCoreSupport.subproj/WebBridge.m: (-[WebBridge canTargetLoadInFrame:]): Use _frame instead of webFrame method.
- 10:05 AM Changeset in webkit [7358]
-
- 9 copies2 deletes in tags/WebKit-85~8~3
This commit was manufactured by cvs2svn to create tag
'WebKit-85~8~3'.
- 10:05 AM Changeset in webkit [7357] by
-
- 1 edit in branches/WebKit-85~7-branch/WebKit/ChangeLog
More comments in the ChangeLog about this wacky versioning
- 9:53 AM Changeset in webkit [7356] by
-
- 3 edits in branches/WebKit-85~7-branch/WebKit
Change the CFBV to 85.7 and the CFBSVS to 1.0.1 based on Tim Shaw's
recommendation. Even though this seems backwards, this is the only way
to ensure that the Security Update is properly installed. It should
install on 10.2.8 configs with all the latest Security Updates, but not
overwrite the copy of WebKit included with Safari 1.0.3 (CFBV 85.8.2, CFBSVS 1.0.2)
- English.lproj/InfoPlist.strings:
- WebKit.pbproj/project.pbxproj:
Aug 24, 2004:
- 5:57 PM Changeset in webkit [7355]
-
- 52 copies2 deletes in tags/WebCore-125~6~9
This commit was manufactured by cvs2svn to create tag
'WebCore-125~6~9'.
- 5:57 PM Changeset in webkit [7354] by
-
- 2 edits in branches/SecurityUpdate-10~3~4-branch/WebCore
Added release marker and bumped version.
- 5:56 PM Changeset in webkit [7353] by
-
- 3 edits in branches/SecurityUpdate-10~3~4-branch/WebCore
Rolled change in for 10.3.4 version of Security Update.
2004-07-09 Chris Blumenberg <cblu@apple.com>
Allowed my change for 3715785 to compile on Jaguar.
Reviewed by kocienda.
- kwq/WebCoreBridge.h:
- kwq/WebCoreBridge.mm: (-[WebCoreBridge domain]): new, allows access to the domain without using the DOM API which doesn't exist on Jaguar
- 5:48 PM Changeset in webkit [7352]
-
- 12 copies3 deletes in tags/WebKit-125~2~1
This commit was manufactured by cvs2svn to create tag
'WebKit-125~2~1'.
- 5:48 PM Changeset in webkit [7351] by
-
- 2 edits in branches/SecurityUpdate-10~3~4-branch/WebKit
Bump version number, add ChangeLog version marker.
- 5:45 PM Changeset in webkit [7350] by
-
- 2 edits in branches/SecurityUpdate-10~3~4-branch/WebKit
Rolled in security fix for 10.3.4 version of Security Update.
2004-07-20 Maciej Stachowiak <mjs@apple.com>
Reviewed by Chris.
<rdar://problem/3721690> REGRESSION (125.7-148u) clicking on links at macosx.apple.com/Builds does not load new page in frame
- Plugins.subproj/npruntime.h:
- WebCoreSupport.subproj/WebBridge.m: (-[WebBridge canTargetLoadInFrame:]): Don't apply the restrictions to frames that are in the same window (Mozilla does this too).
2004-07-09 Chris Blumenberg <cblu@apple.com>
Allowed my change for 3715785 to compile on Jaguar.
Reviewed by kocienda.
- WebCoreSupport.subproj/WebBridge.m: (-[WebBridge canTargetLoadInFrame:]): don't use the DOM API since it doesn't exist on Jaguar, instead call the new domain method on the bridge
2004-07-06 Chris Blumenberg <cblu@apple.com>
Fixed: <rdar://problem/3715785> multiple frame injection vulnerability reported by Secunia, affects almost all browsers
Reviewed by john, trey, kocienda.
- WebCoreSupport.subproj/WebBridge.m: (-[WebBridge canTargetLoadInFrame:]): new method, return YES if the requesting frame is local, the target frame is an entire window or if the domain of the parent of the targeted frame equals this domain (-[WebBridge loadURL:referrer:reload:userGesture:target:triggeringEvent:form:formValues:]): call canTargetLoadInFrame: to make sure we can load the request (-[WebBridge postWithURL:referrer:target:data:contentType:triggeringEvent:form:formValues:]): ditto
- 5:33 PM Changeset in webkit [7349] by
-
- 3 edits in trunk
set the TOT version number to '161u', since we burned 160 on ParisExpo-2004-branch
- 5:31 PM Changeset in webkit [7348]
-
- 15 copies in tags/Safari-160
This commit was manufactured by cvs2svn to create tag 'Safari-160'.
- 5:31 PM Changeset in webkit [7347] by
-
- 6 edits in branches/ParisExpo-2004-branch
Safari-160 stamp (for the Expo build).
- 5:24 PM Changeset in webkit [7346] by
-
- 2 edits in branches/ParisExpo-2004-branch/WebCore
- merge this fix from HEAD for the Expo build
2004-08-20 Ken Kocienda <kocienda@apple.com>
Reviewed by Trey
Fix for this bug:
<rdar://problem/3768378> crash typing newline in Blot
- khtml/editing/htmlediting_impl.cpp: (khtml::InputNewlineCommandImpl::doApply): Adding an assert in a recent change showed up that inserting newlines that was not being handled correctly for the case described in the bug. I added a new case to handle inserting BR's when at the caret max offset for a node, and this new code runs instead of the fall-through case that should not have been running and triggered the assert.
- 5:09 PM Changeset in webkit [7345] by
-
- 6 edits in branches/ParisExpo-2004-branch/WebCore
- merge this fix from HEAD for the Expo build
2004-08-23 Maciej Stachowiak <mjs@apple.com>
Reviewed by Darin.
<rdar://problem/3770306> XMLHttpRequest does not honor character set encoding
- khtml/ecma/xmlhttprequest.cpp: (KJS::XMLHttpRequest::slotData): Get encoding from the transfer job.
- kwq/KWQKJobClasses.h:
- kwq/KWQKJobClasses.mm: (KIO::TransferJobPrivate::TransferJobPrivate): Added retrievedCharset flag. (KIO::TransferJob::retrieveCharset): New method, gets the charset from the response. (KIO::TransferJob::queryMetaData): Handle charset. (KIO::TransferJob::emitReceivedResponse): Clear retreivedCharset flag.
- kwq/KWQLoader.h:
- kwq/KWQLoader.mm: (KWQResponseTextEncodingName): New function, gets the encoding from the response.
- 4:37 PM Changeset in webkit [7344] by
-
- 2 edits in trunk/WebKit
Fixed with help from Trey:
<rdar://problem/3764856> REGRESSION !25-154): Safari accepts mouse clicks (follows links) when not key
Reviewed by rjw.
- WebView.subproj/WebHTMLView.m: (-[WebHTMLView _isSelectionEvent:]): brought back from CVS (-[WebHTMLView acceptsFirstMouse:]): only call eventMayStartDrag if _isSelectionEvent returns YES since we only want to allow selection dragging on the first mouse down (-[WebHTMLView shouldDelayWindowOrderingForEvent:]): ditto
- 4:23 PM Changeset in webkit [7343] by
-
- 8 edits in trunk
WebCore:
Reviewed by Hyatt
Improved the ability of the bridge to report selection state.
- khtml/editing/htmlediting_impl.cpp: (khtml::TypingCommandImpl::doApply): Bail when there is no selection.
- kwq/WebCoreBridge.h: Added an enum to report selection state. These constants mirror those used in DOM::Selection.
- kwq/WebCoreBridge.mm: (-[WebCoreBridge selectionState]): Replacement for haveSelection. Returns a value from an enum telling whether the selection is in the None, Caret, or Range state, rather than just true/false for the Range state as it did before.
WebKit:
Reviewed by Hyatt
Improved the checks used to see if certain operations can be done based
on the state of the selection and whether the selection is editable. I
added some helpers and improved some others to assist in making these
determinations.
This helps to fix this bug:
<rdar://problem/3764987> Crash after adding newline to quoted text
Since some editing methods expect the the selection to be in a certain state
in order to work, these checks help obviate crashes like 3764987.
- WebView.subproj/WebHTMLView.m: (-[WebHTMLView _writeSelectionToPasteboard:]): _haveSelection name changed to _hasSelection. (-[WebHTMLView _canCopy]): Checks to see if state is appropriate to perform this operation. (-[WebHTMLView _canCut]): Ditto. Function added. (-[WebHTMLView _canDelete]): Ditto. Function refined. (-[WebHTMLView _canPaste]): Ditto. Function refined. (-[WebHTMLView _canType]): Ditto. Function added. (-[WebHTMLView _hasSelection]): Name changed from _haveSelection. (-[WebHTMLView _hasSelectionOrInsertionPoint]): Added. (-[WebHTMLView _isEditable]): Added. (-[WebHTMLView takeFindStringFromSelection:]): _haveSelection name changed to _hasSelection. (-[WebHTMLView validateUserInterfaceItem:]): Ditto (-[WebHTMLView validRequestorForSendType:returnType:]): Ditto (-[WebHTMLView keyDown:]): (-[WebHTMLView copy:]): Uses new _canCopy check. (-[WebHTMLView cut:]): Uses new _canCut check. (-[WebHTMLView delete:]): Now uses _canDelete check. (-[WebHTMLView paste:]): Now uses _canPaste check. (-[WebHTMLView _updateFontPanel]): _haveSelection name changed to _hasSelection.
- WebView.subproj/WebHTMLViewPrivate.h:
- WebView.subproj/WebView.m: (-[WebView writeSelectionWithPasteboardTypes:toPasteboard:]): Use selectionState check to determine whether or not operation can be done.
- 2:17 PM Changeset in webkit [7342] by
-
- 2 edits in trunk/WebKit
Fixed <rdar://problem/3770469> Some PDFs open with line of previous page above PDF view
Set height resize flags on WebPDFView.
Reviewed by Chris.
- WebView.subproj/WebPDFView.m: (-[WebPDFView initWithFrame:]):
- 1:39 PM Changeset in webkit [7341] by
-
- 2 edits in trunk/WebCore
Make sure the ifdef XSLT is present for Panther.
- khtml/xml/xml_tokenizer.cpp: (khtml::XMLTokenizer::insertErrorMessageBlock):
- 1:38 PM Changeset in webkit [7340] by
-
- 4 edits in trunk/WebCore
Polish the XML error message so that it indicates when a document is the result of an XSL transformation
when reporting line/col #s.
- khtml/xml/dom_docimpl.cpp: (DocumentImpl::applyXSLTransform):
- khtml/xml/xml_tokenizer.cpp: (khtml::XMLTokenizer::insertErrorMessageBlock):
- khtml/xsl/xslt_processorimpl.cpp: (DOM::XSLTProcessorImpl::documentFromXMLDocPtr):
- 1:23 PM Changeset in webkit [7339] by
-
- 5 edits in trunk/WebCore
Add support for Atom and RSS MIME types to the set of XML types.
Reviewed by rjw
- khtml/ecma/xmlhttprequest.cpp: (KJS::XMLHttpRequest::getValueProperty):
- khtml/khtml_part.cpp: (KHTMLPart::begin):
- khtml/misc/loader.cpp: (CachedXSLStyleSheet::CachedXSLStyleSheet): (CachedXBLDocument::CachedXBLDocument):
- khtml/xml/dom_xmlimpl.cpp: (DOM::ProcessingInstructionImpl::checkStyleSheet):
- 1:22 PM Changeset in webkit [7338] by
-
- 3 edits in trunk/WebKit
Add Atom and RSS MIME types to set of supported XML types.
Reviewed by rjw
- WebView.subproj/WebDataSource.m: (+[WebDataSource _repTypesAllowImageTypeOmission:]):
- WebView.subproj/WebFrameView.m: (+[WebFrameView _viewTypesAllowImageTypeOmission:]):
- 11:37 AM Changeset in webkit [7337] by
-
- 2 edits in trunk/LayoutTests/fast/overflow
Change the file so that it isn't even close to RSS any more, since our sniffing code is broken.
- 11:02 AM Changeset in webkit [7336] by
-
- 2 edits in trunk/WebCore
Fixed: <rdar://problem/3746447> hang loading geocities.com/cinemaorchestra
Reviewed by john.
- khtml/rendering/render_frames.cpp: (RenderPartObject::updateWidget): do nothing if the src URL is the same as the part's URL
- 10:00 AM Changeset in webkit [7335] by
-
- 2 edits in trunk/WebCore
Reviewed by Chris
Fix for this bug:
<rdar://problem/3773564> REGRESSION (125-159): Code to remove HTML styles before applying new HTML styles is broken
- khtml/editing/htmlediting_impl.cpp: (khtml::ApplyStyleCommandImpl::doApply): Unrelated change to constrain downstream position of selection start to block boundaries. This is a new feature of the downstream function and I missed this usage when adding the feature. (khtml::ApplyStyleCommandImpl::removeCSSStyle): There once was code to remove style attributes from spans which became emptied as a result of removing CSS properties, but I do not see such code in the tree any more. A quick review of the ChangeLog did not reveal anything. I do not remember making such a change myself...
In any case, I have restored logic to prune out styling spans we insert if the process of
removing styles caused a span-plus-styles node to become emptied of markup which changes the style
of its contents. This fixes the bug.
- 8:23 AM Changeset in webkit [7334] by
-
- 5 edits in trunk/WebCore
Reviewed by John
Fix for this bug:
<rdar://problem/3765535> paste of text with newlines into text with newlines results in broken doc, crash
This is a "belt and suspenders" fix. The issue is with the paste code path which was creating
zero-length DOM text nodes when a selection being pasted ended with a newline. The normal
code path for parsing HTML does not allow this, but the code to convert newlines to BR's
during paste was creating such nodes. This will no longer happen.
In the case where someone inserts such zero-length nodes using the DOM API, the render tree
will no longer create render objects for these nodes, and it was these empty render text
nodes that was confusing the code doing editing navigation.
- khtml/xml/dom_textimpl.cpp: (CharacterDataImpl::rendererIsNeeded): Do not create renderers for zero-length DOM text nodes.
- khtml/xml/dom_textimpl.h:
- kwq/WebCoreBridge.mm: (-[WebCoreBridge documentFragmentWithText:]): Do not insert zero-length DOM text nodes as part of converting line-end sequences to BR's.
Aug 23, 2004:
- 9:13 PM Changeset in webkit [7333] by
-
- 3 edits in trunk/WebCore
Reviewed by Richard.
- reduce cost of innerHTML from O(N2) to O(N*D) where N is the number of nodes and D is the maximum DOM tree depth.
- khtml/xml/dom_nodeimpl.cpp: (NodeImpl::recursive_toString): New static helper method for recursive_toHTML - this is recursive for children but iterative for siblings. (NodeImpl::recursive_toHTML): Call the helper with this as the first argument.
- khtml/xml/dom_nodeimpl.h:
- 8:22 PM Changeset in webkit [7332] by
-
- 7 edits in trunk/WebCore
Fix for 3558334.
Init the encodedURL explicitly for CSSStyleSelectors. Construction time was too early to be passing in the
document m_url, since it doesn't get set during construction.
Fix for 3769643, crash on vancouverblast.org.
Reviewed by darin
- khtml/css/cssstyleselector.cpp: (khtml::CSSStyleSelector::CSSStyleSelector): (khtml::CSSStyleSelector::init): (khtml::CSSStyleSelector::setEncodedURL):
- khtml/css/cssstyleselector.h:
- khtml/xml/dom_docimpl.cpp: (DocumentImpl::DocumentImpl): (DocumentImpl::setURL): (DocumentImpl::recalcStyleSelector):
- khtml/xml/dom_docimpl.h: (DOM::DocumentImpl::URL):
- 7:50 PM Changeset in webkit [7331] by
-
- 2 edits in trunk/WebKit
Reviewed by Kevin.
- remove annoying ERROR spew and replace with comment
- WebView.subproj/WebHTMLView.m: (-[WebHTMLView validAttributesForMarkedText]):
- 6:19 PM Changeset in webkit [7330] by
-
- 2 edits in trunk/WebKit
Reviewed by Richard.
- a bit of code cleanup
- WebView.subproj/WebDataSource.m: (-[WebDataSource _stringWithData:]): Call textEncodingName instead of copying it's code. (-[WebDataSource textEncodingName]): Tweak formatting.
- 5:12 PM Changeset in webkit [7329] by
-
- 2 edits in trunk/WebKit
Fixed build.
- WebKit.pbproj/project.pbxproj: make sure we're doing -f on a file, not a directory
- 4:36 PM Changeset in webkit [7328] by
-
- 6 edits2 adds in trunk/WebKit
Fixed: <rdar://problem/3674867> use new Security framework SPI's to reenable cert acquisition
Reviewed by john.
- WebCoreSupport.subproj/WebKeyGeneration.cpp:
- WebCoreSupport.subproj/WebKeyGeneration.h:
- WebCoreSupport.subproj/WebKeyGenerator.h:
- WebCoreSupport.subproj/WebKeyGenerator.m: (-[WebKeyGenerator signedPublicKeyAndChallengeStringWithStrengthIndex:challenge:pageURL:]): re-enabled cert code, call Panther version on Panther, Tiger version on Tiger (-[WebKeyGenerator addCertificatesToKeychainFromData:]): ditto
- WebCoreSupport.subproj/WebNewKeyGeneration.c: Added. (gnrAddContextAttribute): (gnrGetSubjPubKey): (gnrNullAlgParams): (gnrSign): (gnrFreeCssmData): (nssArraySize): (signedPublicKeyAndChallengeString): (addCertificateToKeychainFromData): (addCertificatesToKeychainFromData):
- WebCoreSupport.subproj/WebNewKeyGeneration.h: Added.
- WebKit.pbproj/project.pbxproj:
- 4:02 PM Changeset in webkit [7327] by
-
- 1 edit in trunk/WebCore/ChangeLog-2005-08-23
Get rid of stray conflict markers.
- 2:17 PM Changeset in webkit [7326] by
-
- 2 edits in trunk/WebCore
Reviewed by Maciej.
- fixed rdar://problem/3681094> Crash in KJS::WindowFunc::tryCall with application/xhtml+xml Content-Type
- khtml/ecma/kjs_window.cpp: (WindowFunc::tryCall): since this is an xml document, we get the domain from the xmlDocImpl(), not docImpl().
- 12:05 PM Changeset in webkit [7325] by
-
- 3 edits in trunk
bump all version numbers to 160u, since I just submitted WebBrowser-159
- 11:06 AM Changeset in webkit [7324] by
-
- 2 edits in trunk/WebCore
Reviewed by Darin.
<rdar://problem/3771426> assertion failed due to reentering dispatchImageLoadEventsNow
- khtml/xml/dom_docimpl.cpp: (DocumentImpl::dispatchImageLoadEventsNow): Avoid re-entering this function, since it uses a data member for the copy of the list of events to be dispatched.
- 10:52 AM Changeset in webkit [7323] by
-
- 6 edits in trunk/WebCore
Reviewed by Darin.
<rdar://problem/3770306> XMLHttpRequest does not honor character set encoding
- khtml/ecma/xmlhttprequest.cpp: (KJS::XMLHttpRequest::slotData): Get encoding from the transfer job.
- kwq/KWQKJobClasses.h:
- kwq/KWQKJobClasses.mm: (KIO::TransferJobPrivate::TransferJobPrivate): Added retrievedCharset flag. (KIO::TransferJob::retrieveCharset): New method, gets the charset from the response. (KIO::TransferJob::queryMetaData): Handle charset. (KIO::TransferJob::emitReceivedResponse): Clear retreivedCharset flag.
- kwq/KWQLoader.h:
- kwq/KWQLoader.mm: (KWQResponseTextEncodingName): New function, gets the encoding from the response.
- 10:44 AM Changeset in webkit [7322] by
-
- 2 edits in trunk/WebCore
Apply leo's fix to marquees.
Reviewed by hyatt
- khtml/rendering/render_layer.cpp: (Marquee::start):
- 9:12 AM Changeset in webkit [7321] by
-
- 5 edits in trunk/WebCore
Reviewed by Maciej.
- added an ascii() member function to DOMString and DOMStringImpl to help debugging
- khtml/dom/dom_string.h: Add ascii member function for debugging.
- khtml/dom/dom_string.cpp: (DOM::DOMString::ascii): Added. Calls through to DOMStringImpl::ascii.
- khtml/xml/dom_stringimpl.h: Add ascii member function for debugging.
- khtml/xml/dom_stringimpl.cpp: (DOM::DOMStringImpl::ascii): Added. Makes a new buffer and puts a simple ASCII version in it. Maybe make it better about characters outside the 0x20-0x7E range some day, but for now this is way better than what we had before.