Timeline



May 17, 2005:

10:55 AM Changeset in webkit [9177] by cblu
  • 3 edits in trunk/WebKit

Fixed: <rdar://problem/4119282> clicking a link in an RTF file opens the link with NSWorkspace without the usual security checks or WebView delegate control

Reviewed by mjs.

  • WebCoreSupport.subproj/WebBridge.m: (-[WebBridge loadURL:referrer:reload:userGesture:target:triggeringEvent:form:formValues:]): pass the passed referrer to canLoadURL::: not [self referrer] (-[WebBridge postWithURL:referrer:target:data:contentType:triggeringEvent:form:formValues:]): ditto
  • WebView.subproj/WebTextView.m: (-[WebTextView clickedOnLink:atIndex:]): call the loadURL bridge method so that security checks are made, command/option clicks work, policy delegate is consulted etc.
9:28 AM Changeset in webkit [9176] by cblu
  • 5 edits in trunk/WebKit

WebKit:

Fixed: <rdar://problem/4120255> web archives on remote servers can be viewed directly (with major security issues); should download instead

Reviewed by mjs.

  • WebView.subproj/WebBaseResourceHandleDelegate.h:
  • WebView.subproj/WebMainResourceClient.m: (-[WebMainResourceClient continueAfterContentPolicy:response:]): if the WebKit client has chosen to "use" a remote web archive, stop the load with an error

WebBrowser:

Fixed: <rdar://problem/4120255> web archives on remote servers can be viewed directly (with major security issues); should download instead

  • BrowserWebView.m: (-[BrowserWebView webView:decidePolicyForMIMEType:request:frame:decisionListener:]): download remote web archives

May 16, 2005:

3:11 PM Changeset in webkit [9175] by darin
  • 4 edits in trunk

WebCore:

  • attempt to get things building under "Saffron" development tools
  • WebCore.pbproj/project.pbxproj: Use BUILT_PRODUCTS_DIR instead of SYMROOT.

WebKit:

  • attempt to get things building under "Saffron" development tools
  • WebKit.pbproj/project.pbxproj: Use BUILT_PRODUCTS_DIR instead of SYMROOT.
3:03 PM Changeset in webkit [9174] by adele
  • 5 edits in trunk

Tests:

Changes by Darin. Reviewed by myself.

Added new layoutTestController method to dump the document as text.

  • DumpRenderTree/main.m: (-[LayoutTestController dumpAsText]): new method on layoutTestController to dump the innerText of the body instead of dumping the render tree; better for tests that are not really about layout (+[LayoutTestController isSelectorExcludedFromWebScript:]): added new dumpAsText selector (dump): changed name of showRenderTree since it now sometimes dumps text instead (-[WaitUntilDoneDelegate webView:locationChangeDone:forDataSource:]): calls new dump function (-[LayoutTestController notifyDone]): calls new dump function (dumpRenderTree): initializes global variables dumpAsText and waitLayoutTest

WebCore:

Changes by Darin. Reviewed by myself.

Changed the Render Tree debug code to write out an indication that the affinity is upstream
when writing out caret position. Updated the one layout test with output affected by the change.
Also updated one test to use the new dumpAsText method in dumpRenderTree.

  • kwq/KWQRenderTreeDebug.cpp: (writeSelection): writes out affinity if it's upstream in the caret case
  • layout-tests/editing/style/create-block-for-style-004-expected.txt: new results that contain the affinity
  • layout-tests/fast/js/char-at.html: now calls layoutController.dumpAsText()
  • layout-tests/fast/js/char-at-expected.txt: plain text result (replaces old render tree result)
12:19 PM Changeset in webkit [9173] by darin
  • 14 edits in trunk/WebCore

Reviewed by Adele.

  • fixed issues preventing us from compiling with newer versions of gcc 4.0
  • khtml/dom/dom2_events.cpp: Add definitions of some static data member constants, as required by the C++ standard and the gcc 4.0 compiler.
  • khtml/editing/selection.h: Specified KHTMLPart friend class as ::KHTMLPart, since if it's not explicitly qualified, it means DOM::KHTMLPart.
  • khtml/dom/dom_string.cpp: (DOM::strcasecmp): Removed redundant and illegal DOM:: prefix. (DOM::operator==): Ditto.
  • khtml/ecma/kjs_binding.cpp: (KJS::getStringOrNull): Removed redundant and illegal KJS:: prefix. (KJS::ValueToVariant): Ditto.
  • khtml/ecma/kjs_css.cpp: (KJS::getCSSRuleConstructor): Ditto. (KJS::getCSSValueConstructor): Ditto. (KJS::getCSSPrimitiveValueConstructor): Ditto.
  • khtml/ecma/kjs_events.cpp: (KJS::getEventConstructor): Ditto. (KJS::getEventExceptionConstructor): Ditto. (KJS::getMutationEventConstructor): Ditto.
  • khtml/ecma/kjs_traversal.cpp: (KJS::getNodeFilterConstructor): Ditto.
  • khtml/misc/loader_client.h: Added an empty virtual destructor to CachedObjectClient to quiet the compiler. This doesn't really do any good, but also does no harm.
  • khtml/misc/loader.cpp: (CachedObjectClient::~CachedObjectClient): Added.
  • khtml/rendering/render_block.cpp: (khtml::RenderBlock::fillBlockSelectionGaps): Initialize a couple of variables that should have been initialized to 0. Not just about making the compiler happy -- warning found a real bug!
  • kwq/KWQTextArea.mm: (RangeOfParagraph): Change else structure to work around compiler warning bug.
11:57 AM Changeset in webkit [9172] by darin
  • 2 edits in trunk/JavaScriptCore

Reviewed by Adele.

  • fixed issues preventing us from compiling with newer versions of gcc 4.0
  • kjs/ustring.cpp: (KJS::operator==): Remove redundant and illegal KJS:: prefix on this function's definition. (KJS::operator<): Ditto. (KJS::compare): Ditto.

May 13, 2005:

11:44 AM Changeset in webkit [9171] by sullivan
  • 2 edits in trunk/WebCore
  • kwq/KWQTextArea.mm: (-[KWQTextAreaTextView _trackResizeFromMouseDown:]): added Radar numbers to FIXMEs about resizable textareas (-[KWQTextAreaTextView resetCursorRects]): ditto (-[KWQTextAreaTextView mouseDown:]): ditto
10:23 AM Changeset in webkit [9170] by sullivan
  • 2 edits in trunk/WebKit

Reviewed by Kevin.

  • fixed <rdar://problem/4093306> Safari crashes if Esc key is held down during series of authentication sheets
  • Panels.subproj/WebAuthenticationPanel.m: (-[WebAuthenticationPanel cancel:]): retain and autorelease self. This is a workaround for an AppKit key-handling issue, which I wrote up as: <rdar://problem/4118422> Key-down events can be sent to a closed window if a key is kept pressed down
9:48 AM Changeset in webkit [9169] by darin
  • 33 edits in trunk/WebCore

Reviewed by Chris Blumenberg.

  • more "getting off the C++ DOM wrappers" changes This pass involves replacing uses of DOM::Range with use of DOM::RangeImpl plus some more use of DOM::DocumentImpl instead of DOM::Document.
  • khtml/dom/dom2_range.cpp:
  • khtml/dom/dom2_range.h:
  • khtml/ecma/kjs_window.cpp: (KJS::Window::get): (KJS::WindowFunc::tryCall): (KJS::Window::updateLayout): (KJS::ScheduledAction::execute): (KJS::Selection::toString):
  • khtml/ecma/xmlhttprequest.cpp: (KJS::XMLHttpRequestProtoFunc::tryCall):
  • khtml/editing/htmlediting.cpp: (khtml::InsertLineBreakCommand::doApply):
  • khtml/editing/selection.cpp: (khtml::Selection::Selection): (khtml::Selection::moveTo): (khtml::Selection::toRange):
  • khtml/editing/selection.h:
  • khtml/editing/visible_position.cpp: (khtml::makeRange): (khtml::startVisiblePosition): (khtml::endVisiblePosition): (khtml::setStart): (khtml::setEnd):
  • khtml/editing/visible_position.h:
  • khtml/editing/visible_range.h:
  • khtml/editing/visible_text.cpp: (khtml::TextIterator::TextIterator): (khtml::TextIterator::range): (khtml::SimplifiedBackwardsTextIterator::SimplifiedBackwardsTextIterator): (khtml::SimplifiedBackwardsTextIterator::range): (khtml::CharacterIterator::CharacterIterator): (khtml::CharacterIterator::range): (khtml::WordAwareIterator::WordAwareIterator): (khtml::WordAwareIterator::advance): (khtml::TextIterator::rangeLength): (khtml::TextIterator::rangeFromLocationAndLength): (khtml::plainText): (khtml::findPlainText):
  • khtml/editing/visible_text.h: (khtml::WordAwareIterator::range):
  • khtml/editing/visible_units.cpp: (khtml::previousBoundary): (khtml::nextBoundary):
  • khtml/html/html_elementimpl.cpp: (HTMLElementImpl::innerText):
  • khtml/html/htmltokenizer.cpp: (khtml::HTMLTokenizer::scriptExecution):
  • khtml/khtml_part.cpp: (KHTMLPart::text): (KHTMLPart::selectedText): (KHTMLPart::shouldBeginEditing): (KHTMLPart::shouldEndEditing): (KHTMLPart::selectionComputedStyle):
  • khtml/khtml_part.h:
  • khtml/khtmlview.h:
  • khtml/rendering/render_text.cpp: (InlineTextBox::paint):
  • khtml/xml/dom2_rangeimpl.cpp: (DOM::operator==): (DOM::rangeOfContents):
  • khtml/xml/dom2_rangeimpl.h: (DOM::operator!=):
  • khtml/xml/dom_docimpl.cpp: (DocumentImpl::relinquishesEditingFocus): (DocumentImpl::acceptsEditingFocus): (DocumentImpl::addMarker): (DocumentImpl::removeMarker):
  • khtml/xml/dom_docimpl.h:
  • khtml/xml/dom_position.cpp: (DOM::startPosition):
  • khtml/xml/dom_position.h:
  • kwq/DOMHTML.mm: (-[DOMHTMLLinkElement href]): (-[DOMHTMLBaseElement href]): (-[DOMHTMLInputElement src]): (-[DOMHTMLAnchorElement href]): (-[DOMHTMLImageElement src]): (-[DOMHTMLAreaElement href]):
  • kwq/KWQAccObject.mm: (-[KWQAccObject textUnderElement]): (-[KWQAccObject value]): (-[KWQAccObject doAXStringForTextMarkerRange:]): (-[KWQAccObject doAXAttributedStringForTextMarkerRange:]):
  • kwq/KWQKHTMLPart.h: (KWQKHTMLPart::markedTextRange):
  • kwq/KWQKHTMLPart.mm: (KWQKHTMLPart::findString): (KWQKHTMLPart::advanceToNextMisspelling): (KWQKHTMLPart::fontForSelection): (KWQKHTMLPart::markMisspellings): (KWQKHTMLPart::respondToChangedSelection): (KWQKHTMLPart::shouldBeginEditing): (KWQKHTMLPart::shouldEndEditing): (convertAttributesToUnderlines): (KWQKHTMLPart::setMarkedTextRange):
  • kwq/WebCoreBridge.mm: (-[WebCoreBridge elementAtPoint:]): (-[WebCoreBridge rangeByExpandingSelectionWithGranularity:]): (-[WebCoreBridge rangeByAlteringCurrentSelection:direction:granularity:]): (-[WebCoreBridge rangeByAlteringCurrentSelection:verticalDistance:]): (-[WebCoreBridge selectedDOMRange]): (-[WebCoreBridge convertToNSRange:DOM::]): (-[WebCoreBridge convertToDOMRange:]): (-[WebCoreBridge convertToObjCDOMRange:]): (-[WebCoreBridge selectNSRange:]): (-[WebCoreBridge selectedNSRange]): (-[WebCoreBridge markDOMRange]): (-[WebCoreBridge markedTextDOMRange]): (-[WebCoreBridge markedTextNSRange]): (-[WebCoreBridge replaceMarkedTextWithText:]): (-[WebCoreBridge smartDeleteRangeForProposedRange:]): (-[WebCoreBridge dragCaretDOMRange]): (-[WebCoreBridge editableDOMRangeForPoint:]): (-[WebCoreBridge rangeOfCharactersAroundCaret]):
1:37 AM Changeset in webkit [9168] by mjs
  • 5 edits
    8 adds in trunk/WebCore

Reviewed by Dave.

  • more splitting up of htmlediting.cpp
  • WebCore.pbproj/project.pbxproj:
  • khtml/editing/composite_edit_command.cpp:
  • khtml/editing/delete_from_text_node_command.cpp: Added.
  • khtml/editing/delete_from_text_node_command.h: Added.
  • khtml/editing/delete_selection_command.cpp: Added.
  • khtml/editing/delete_selection_command.h: Added.
  • khtml/editing/htmlediting.cpp:
  • khtml/editing/htmlediting.h:
  • khtml/editing/insert_into_text_node_command.cpp: Added.
  • khtml/editing/insert_into_text_node_command.h: Added.
  • khtml/editing/insert_node_before_command.cpp: Added.
  • khtml/editing/insert_node_before_command.h: Added.
Note: See TracTimeline for information about the timeline view.