Timeline
Feb 12, 2005:
- 8:08 PM Changeset in webkit [8588] by
-
- 2 edits in trunk/WebCore
Reviewed by Ken and John.
Re-fixed a specific case of the following:
<rdar://problem/3790449> REGRESSION (Mail): underline behavior is flaky because of how CSS handles text-decoration
Oddly, Cmd-B, Cmd-U, type some text, return, Cmd-U, Cmd-B, type
some text, worked fine. But hitting the second Cmd-B before the
second Cmd-U still failed to remove underlining. The reason for
this is that our code to compute the style of the current position
did not work when you had a typing style and were positioned right
at a <br> element. For various reasons, this did not show up for
bold and italic, since those are handled through the font manager.
The following change fixes this - for elements that can't have
children, we add the dummy span after the element of interest,
rather than as a child of it.
- khtml/khtml_part.cpp: (KHTMLPart::selectionComputedStyle):
Feb 11, 2005:
- 5:51 PM Changeset in webkit [8587] by
-
- 2 edits in trunk/WebKit
Fixed <rdar://problem/4002505> 8A378: Endlessly animating gif's on http://www.entropy.ch
If animated images had no loop count property we were incorrectly
looping forver. Note, that in the course of fixing this bug
I found that ImageIO is incorrectly NOT reporting the loop count
for a whole class of animated GIFs.
Reviewed by Ken Kocienda.
- WebCoreSupport.subproj/WebImageData.m: (-[WebImageData _repetitionCount]):
- 5:03 PM Changeset in webkit [8586] by
-
- 2 edits in trunk/WebCore
Reviewed by Darin.
<rdar://problem/3978980> Double Clicking on a line in Mail selected the entire body
- khtml/editing/visible_units.cpp: (khtml::startOfWord): (khtml::endOfWord): Pay attention to being at the end of a paragraph.
(khtml::previousLinePosition):
(khtml::nextLinePosition):
(khtml::endOfParagraph):
Use DOWNSTREAM per recent affinity changes.
- 4:58 PM Changeset in webkit [8585] by
-
- 17 edits1 add in trunk
WebCore:
Fixed <rdar://problem/3985118> DOM objects not being marshaled on JS->native calls
Re-factored how 'native' wrappers for JS objects are created. The interpreter now
creates these wrappers. The WebCore subclass of the interpreter now overrides
createLanguageInstanceForValue() and creates a DOM ObjC wrapper for DOM objects.
- WebCore.pbproj/project.pbxproj:
- khtml/ecma/kjs_binding.cpp: (ScriptInterpreter::createLanguageInstanceForValue):
- khtml/ecma/kjs_binding.h:
- kwq/DOMUtility.mm: Added. (KJS::ScriptInterpreter::createObjcInstanceForValue):
- kwq/KWQKHTMLPart.mm: (KWQKHTMLPart::getAppletInstanceForView): (getInstanceForView): (KWQKHTMLPart::getEmbedInstanceForView): (KWQKHTMLPart::getObjectInstanceForView):
Fixed <rdar://problem/3985118> DOM objects not being marshaled on JS->native calls
Re-factored how 'native' wrappers for JS objects are created. The interpreter now
creates these wrappers. The WebCore subclass of the interpreter now overrides
createLanguageInstanceForValue() and creates a DOM ObjC wrapper for DOM objects.
Reviewed by Ken.
- bindings/c/c_utility.cpp: (convertValueToNPVariant):
- bindings/jni/jni_instance.cpp: (JavaInstance::invokeMethod):
- bindings/jni/jni_runtime.cpp: (JavaField::valueFromInstance): (JavaArray::valueAt):
- bindings/objc/WebScriptObject.mm: (-[WebScriptObject _setExecutionContext:KJS::Bindings::]): (+[WebScriptObject _convertValueToObjcValue:KJS::originExecutionContext:Bindings::executionContext:Bindings::]):
- bindings/objc/WebScriptObjectPrivate.h:
- bindings/objc/objc_utility.h:
- bindings/objc/objc_utility.mm: (KJS::Bindings::convertObjcValueToValue): (KJS::Bindings::createObjcInstanceForValue):
- bindings/runtime.cpp: (Instance::createBindingForLanguageInstance): (Instance::createRuntimeObject): (Instance::createLanguageInstanceForValue):
- bindings/runtime.h:
- kjs/interpreter.cpp: (Interpreter::createLanguageInstanceForValue):
- kjs/interpreter.h:
- 3:50 PM Changeset in webkit [8584] by
-
- 4 edits in trunk/WebCore
Fixed: <rdar://problem/3937352> Quote level not maintained when copied and pasted within a Mail message
Reviewed by harrison.
- khtml/editing/markup.cpp: (khtml::isMailBlockquote): new (khtml::createMarkup): retain the Mail quote level by including all ancestor mail block quotes
- khtml/rendering/render_block.cpp: (khtml::RenderBlock::positionForCoordinates): default to downstream for the affinity since the affinity is only upstream when the cursor is clicked to the right of a wrapped line
- khtml/rendering/render_text.cpp: (RenderText::positionForCoordinates): ditto
- 3:22 PM Changeset in webkit [8583] by
-
- 2 edits in trunk/WebCore
Reviewed by Darin.
fix for <rdar://problem/4004004> no need to add body element for xml documents
In the fix for <rdar://problem/3758785> we decided to add a body element when closing a document
to ensure that the onload handler would fire. This is unnecessary for xml documents,
so now we also check to see if we're dealing with an html document before adding the body element.
- khtml/xml/dom_docimpl.cpp: (DocumentImpl::close):
- 2:59 PM Changeset in webkit [8582] by
-
- 3 edits in trunk
Reviewed by Darin.
- layout-tests/apple-only/base/www.excite.com/index-expected.txt: updates tests because of custom tag change.
- layout-tests/apple-only/base/www.msnbc.com/index-expected.txt:
- layout-tests/apple-only/base/www.time.com/index-expected.txt:
- layout-tests/apple-only/base/www.travelocity.com/index-expected.txt:
- layout-tests/apple-only/base/www.zdnet.com/index-expected.txt:
- layout-tests/fast/overflow/003-expected.txt:
- layout-tests/fast/js/window-object-cross-frame-calls-expected.txt: updated test because of added Body (see rdar://problem/3758785)
- 2:47 PM Changeset in webkit [8581] by
-
- 3 edits in trunk
versioning for TOT, Safari 2.0 (186+)
- 2:22 PM Changeset in webkit [8580]
-
- 1 copy in tags/Safari-186
This commit was manufactured by cvs2svn to create tag 'Safari-186'.
- 2:22 PM Changeset in webkit [8579] by
-
- 6 edits in trunk
Safari-186 stamp
- 11:59 AM Changeset in webkit [8578] by
-
- 2 edits in trunk/WebKit
Reviewed by Darin.
- fix deployment build on Panther
- WebView.subproj/WebHTMLView.m: (-[WebHTMLView changeBaseWritingDirection:]): ifdef out NSWritingDirectionNatural (-[WebHTMLView toggleBaseWritingDirection:]): fix a spacing issue
- 9:05 AM Changeset in webkit [8577] by
-
- 4 edits in trunk/WebCore
Reviewed by John.
- fixed <rdar://problem/3915449> paths are relative to the old src URL after document.open, which is supposed to clear the document, including the URL
- khtml/xml/dom_docimpl.h: Added a new openInternal function for use by KHTMLPart.
- khtml/xml/dom_docimpl.cpp: (DocumentImpl::open): Changed to do everything we did before, but also clear the URL and set the base URL based on the enclosing document. This is the basic JavaScript/DOM operation of opening a document, which is supposed to clear the document, including the URL. In the long run we might want to do even more document "resetting and clearing" in here, but this URL clearing is what's needed now to fix the most important problem. (DocumentImpl::openInternal): Moved the old open code in here, except for the "parsing" check, which is unnecessary and inappropriate in the one place we call this.
- khtml/khtml_part.cpp: (KHTMLPart::begin): Call openInternal instead of open.