Timeline
Jun 12, 2004:
- 10:38 PM Changeset in webkit [6821] by
-
- 3 edits in trunk
fix the release markers in the ChangeLogs, which said '144' instead of 'Safari-144' (oops)
Jun 11, 2004:
- 6:04 PM Changeset in webkit [6820] by
-
- 17 edits in trunk
WebCore:
Support for WebKit drag & drop API.
Reviewed by trey.
- kwq/WebCoreBridge.h:
- kwq/WebCoreBridge.mm: (-[WebCoreBridge _positionForPoint:]): new (-[WebCoreBridge moveDragCaretToPoint:]): call _positionForPoint (-[WebCoreBridge editableDOMRangeForPoint:]): new
WebKit:
Implemented the remainder of the drag & drop API.
Reviewed by trey.
- Misc.subproj/WebNSPasteboardExtras.h:
- Misc.subproj/WebNSPasteboardExtras.m: (-[NSPasteboard _web_declareAndWriteDragImage:URL:title:archive:source:]): new
- Misc.subproj/WebNSViewExtras.h:
- Misc.subproj/WebNSViewExtras.m: (-[NSView _web_dragImage:rect:event:pasteboard:source:]): simplified, this method now just creates a drag image and starts the drag
- WebCoreSupport.subproj/WebBridge.m: (-[WebBridge allowDHTMLDrag:UADrag:]): now calls _delegateDragSourceActionMask on WebHTMLView to interact with the delegate
- WebView.subproj/WebDefaultUIDelegate.m:
- WebView.subproj/WebHTMLView.m: (-[WebHTMLView _startDraggingImage:at:operation:event:sourceIsDHTML:DHTMLWroteData:]): call new delegate method, cleaned-up a little (-[WebHTMLView draggingUpdatedWithDraggingInfo:actionMask:]): call drag caret methods on WebView instead of WebBridge so WebView can make sure only 1 HTML view has a drag cursor (-[WebHTMLView draggingCancelledWithDraggingInfo:]): ditto (-[WebHTMLView concludeDragForDraggingInfo:actionMask:]): ditto (-[WebHTMLView _delegateDragSourceActionMask]): new, gets drag source action mask from delegate
- WebView.subproj/WebHTMLViewInternal.h:
- WebView.subproj/WebImageView.h:
- WebView.subproj/WebImageView.m: (-[WebImageView mouseDown:]): get the drag source action mask from the delegate (-[WebImageView mouseDragged:]): inform the delegate of the drag
- WebView.subproj/WebView.m: (-[WebViewPrivate dealloc]): assert that dragCursorBridge is nil (-[WebView _close]): release dragCursorBridge (-[WebView _bridgeAtPoint:]): new (-[WebView editableDOMRangeForPoint:]): new API (-[WebView moveDragCaretToPoint:]): new API (-[WebView removeDragCaret]): new API (-[WebView _frameViewAtWindowPoint:]): moved so this can be called internally
- WebView.subproj/WebViewInternal.h:
- WebView.subproj/WebViewPrivate.h:
- 2:01 PM Changeset in webkit [6819] by
-
- 4 edits in trunk/WebCore
Reviewed by Dave.
- fixed <rdar://problem/3645846>: (REGRESSION: Stuck "Loading" when logging into Google's Gmail on newer versions of Safari)
- khtml/html/html_baseimpl.cpp: (HTMLFrameElementImpl::parseHTMLAttribute): Call through to base class for ATTR_ID so the "has ID" bit gets set.
- khtml/html/html_imageimpl.cpp: (HTMLImageElementImpl::parseHTMLAttribute): Move ATTR_COMPOSITE code up and out of the way so it doesn't screw up ATTR_ID parsing. (HTMLMapElementImpl::parseHTMLAttribute): Call through to base class for ATTR_ID so the "has ID" bit gets set.
- khtml/html/html_objectimpl.cpp: (HTMLAppletElementImpl::parseHTMLAttribute): Remove ATTR_ID case; not needed. (HTMLParamElementImpl::parseHTMLAttribute): Call through to base class for ATTR_ID so the "has ID" bit gets set.
- 12:37 PM Changeset in webkit [6818] by
-
- 3 edits in trunk/WebCore
Reviewed by Hyatt
Fix for this bug:
<rdar://problem/3659587>: "when typing in Blot, bold style does not carry over to next line after pressing 'return'"
Did some work to improve the insert newline command. The refinement is to insert the newline
at the upstream position of the caret, ensuring that the newline takes on the
appropriate style, and does not let the caret "escape" from an element that is
conferring style.
- khtml/editing/htmlediting_impl.cpp: (khtml::InputNewlineCommandImpl::insertNodeAfterPosition): New helper. Adds smarts about adding newlines when the selection is a caret in a block. (khtml::InputNewlineCommandImpl::insertNodeBeforePosition): Ditto. (khtml::InputNewlineCommandImpl::doApply): Simplified cases. One case in the code could not happen.
- khtml/editing/htmlediting_impl.h:
Fix for this bug:
<rdar://problem/3654864>: "Pasting content at start of line places it at end of previous line"
(khtml::InputTextCommandImpl::prepareForTextInsertion): Simple code mistake. Content was indeed
being added to the line before. Fixed to add new content after the line break.
- 12:21 PM Changeset in webkit [6817] by
-
- 13 edits in trunk
WebCore:
Prep work for latest delegate API for dragging. In addition, I also straightened out all
the cases of DHTML setting a drag image or setting pasteboard data, and how that would
override WebKit's default behavior (which follows how WinIE does things).
Reviewed by Chris.
- khtml/rendering/render_object.cpp: (RenderObject::draggableNode): Obey new params for whether a DHTML or UserAgent (i.e., WebKit) drag source is allowed.
- khtml/rendering/render_object.h:
- kwq/KWQKHTMLPart.h:
- kwq/KWQKHTMLPart.mm: (KWQKHTMLPart::dispatchDragSrcEvent): Setting pasteboard data was moved out of here, now caller's responsibility. (KWQKHTMLPart::khtmlMouseMoveEvent): Ask bridge for allowable drag actions (DHTML vs UA). Only send drag events if DHTML is allowed. Only generate a drag image if the source is a DHTML element. Note whether event handler set any pasteboard data, and pass that fact to WebKit. (KWQKHTMLPart::dragSourceMovedTo): Only send drag events if DHTML is allowed. (KWQKHTMLPart::dragSourceEndedAt): Only send drag events if DHTML is allowed.
- kwq/WebCoreBridge.h:
WebKit:
Prep work for latest delegate API for dragging. In addition, I also straightened out all
the cases of DHTML setting a drag image or setting pasteboard data, and how that would
override WebKit's default behavior (which follows how WinIE does things).
Reviewed by Chris.
- Misc.subproj/WebNSViewExtras.h:
- Misc.subproj/WebNSViewExtras.m: (-[NSView _web_dragImage:archive:rect:URL:title:event:dragImage:dragLocation:writePasteboard:]): New args to allow WebCore override of dragImage and pasteboard data.
- WebCoreSupport.subproj/WebBridge.m: (-[WebBridge allowDHTMLDrag:UADrag:]): New method to return the drag action info to WC. (-[WebBridge startDraggingImage:at:operation:event:sourceIsDHTML:DHTMLWroteData:]): Pass along new args.
- WebView.subproj/WebHTMLView.m: (-[WebHTMLView _startDraggingImage:at:operation:event:sourceIsDHTML:DHTMLWroteData:]): Allow WebCore to override drag image and pasteboard data for any type of drag. (-[WebHTMLView mouseDragged:]): Pass NO for new args.
- WebView.subproj/WebHTMLViewPrivate.h:
- WebView.subproj/WebImageView.m: (-[WebImageView mouseDragged:]): Pass NO/nil for new args.
- 12:07 PM Changeset in webkit [6816] by
-
- 1 edit in trunk/WebCore/WebCore.pbproj/project.pbxproj
Reviewed by Dave.
- fixed <rdar://problem/3688971>: (on dual-800 tower, url field animation doesn't work half the time)
- BrowserWindowController.m: (-[BrowserWindowController installRSSTransitionImageView]): Set the window's first responder to nil before hiding the webview if the focus had been in the webview. It's not clear why the behavior on one machine was different than others, but this fix is sensible and definitely fixes the problem on Jess's machine.
- 11:33 AM Changeset in webkit [6815] by
-
- 3 edits in trunk
Reviewed by Trey
Lay some groundwork for better testing of inserting newlines. Layout
tests that use this new code will be coming soon.
- khtml/editing/jsediting.cpp: Add commands for bold and inserting newlines.
- layout-tests/editing/editing.js: Added new insertNewline command. which calls through to TypingCommand::insertNewline. There was no way to get to this command from JS before this addition.
- 11:06 AM Changeset in webkit [6814] by
-
- 3 edits in trunk/WebCore
Reviewed by Darin
Javascript execCommand system wants to use case-insensitive QDict.
The interface for QDict offers this feature, but it was never implemented.
Now it is.
- kwq/KWQDictImpl.h: Declare bool to store case-sensitive bit.
- kwq/KWQDictImpl.mm: (KWQDictImpl::KWQDictImpl): No longer drops caseSensitive on the floor; stores it in instance variable. (KWQDictImpl::insert): Make lowercase version of key for operation, if necessary. (KWQDictImpl::remove): Ditto. (KWQDictImpl::find): Ditto. (KWQDictIteratorImpl::currentStringKey): Whitespace cleanup.
Jun 10, 2004:
- 5:08 PM Changeset in webkit [6813] by
-
- 3 edits in trunk
set version number to 145u; the tree is open
- 5:00 PM Changeset in webkit [6812]
-
- 3 copies in tags/Safari-144
This commit was manufactured by cvs2svn to create tag 'Safari-144'.
- 5:00 PM Changeset in webkit [6811] by
-
- 6 edits in trunk
Safari-144 stamp
- 2:19 PM Changeset in webkit [6810] by
-
- 6 edits in trunk
Reviewed by John.
- kjs/lexer.cpp:
(Lexer::setCode):
- fixed <rdar://problem/3682398>: (error console line numbers are offset by 1)
- kjs/lexer.h:
(KJS::Lexer::lineNo):
- fixed <rdar://problem/3682398>: (error console line numbers are offset by 1)
WebKit:
Reviewed by John.
- WebView.subproj/WebResource.m: (-[WebResource description]):
-added per request of cblu
(-[WebResource _response]):
-added this method to the header
(-[WebResource _stringValue]):
- gives the string value of the NSData representation
- WebView.subproj/WebResourcePrivate.h:
WebBrowser:
Reviewed by John.
- BrowserDocumentController.h:
- BrowserDocumentController.m: -added support to open an HTMLSourceDocument powered by a WebResource (-[BrowserDocumentController openHTMLSourceDocumentWithResource:]):
- Debug/DebugUtilities.m: (-[BrowserDocument showJavaScriptConsole:]):
- Debug/ErrorCell.m:
- doesn't display "Line:" if a line number is not present
- magic numbers are now #define'd
(-[ErrorCell drawInteriorWithFrame:inView:]):
- Debug/ErrorConsoleController.h:
- Debug/ErrorConsoleController.m:
(-[ErrorConsoleController init]):
(-[ErrorConsoleController awakeFromNib]):
- properly set the model's table view here, instead of init
(-[ErrorConsoleController clear:]):
- removes errors from the model
(-[ErrorConsoleController findResourceInWebFrame:forURL:]):
- fixes <rdar://problem/3682337>: (safari error console does not open the correct source document when an error is double-clicked)
(-[ErrorConsoleController findResourceInDocument:forURL:]):
- fixes <rdar://problem/3682337>: (safari error console does not open the correct source document when an error is double-clicked)
(-[ErrorConsoleController findResourceInURL:]):
- fixes <rdar://problem/3682337>: (safari error console does not open the correct source document when an error is double-clicked)
(-[ErrorConsoleController showPageSourceWindow:]):
- fixes <rdar://problem/3682337>: (safari error console does not open the correct source document when an error is double-clicked)
- Debug/ErrorConsoleModel.h:
- Debug/ErrorConsoleModel.m: (-[ErrorConsoleModel setTable:]): (-[ErrorConsoleModel selectedURL]): (-[ErrorConsoleModel selectedLineNumber]):
- HTMLSourceController.h:
- HTMLSourceController.m:
(-[HTMLSourceController selectLineAtIndex:]):
(-[HTMLSourceController textView]):
(-[HTMLSourceController rangeForLine:]):
- fixes rdr://problem/3682360 (error console should highlight/select offending code when viewing error source)
- HTMLSourceDocument.h:
- HTMLSourceDocument.m:
(-[HTMLSourceDocument initWithResource:]):
(-[HTMLSourceDocument makeWindowControllers]):
(-[HTMLSourceDocument displayName]):
- now WebResource aware
(-[HTMLSourceDocument resource]):
(-[HTMLSourceDocument setResource:]):
- WebBrowser.pbproj/project.pbxproj:
- 2:07 PM Changeset in webkit [6809] by
-
- 3 edits in trunk/WebCore
Reviewed by Darin
Fix for this bug:
<rdar://problem/3654850>: "Style changes do not work across blocks"
Now, applying styles works across blocks. I did quite a bit
of internal redsign on the member functions of this class to
make this work. As a bonus, from an architectural standpoint,
all style changes are now done "in place". There is no more
copying of content in order to perform style changes.
- khtml/editing/htmlediting_impl.cpp: (khtml::ApplyStyleCommandImpl::doApply): (khtml::ApplyStyleCommandImpl::removeHTMLStyleNode): (khtml::ApplyStyleCommandImpl::removeCSSStyle): (khtml::ApplyStyleCommandImpl::removeStyle): (khtml::ApplyStyleCommandImpl::nodeFullySelected): (khtml::ApplyStyleCommandImpl::splitTextAtStartIfNeeded): (khtml::ApplyStyleCommandImpl::splitTextAtEndIfNeeded): (khtml::ApplyStyleCommandImpl::surroundNodeRangeWithElement): (khtml::ApplyStyleCommandImpl::applyStyleIfNeeded): (khtml::ApplyStyleCommandImpl::positionInsertionPoint):
- khtml/editing/htmlediting_impl.h:
- 1:36 PM Changeset in webkit [6808] by
-
- 15 edits in trunk
WebCore:
Reviewed by Ken.
- filled out execCommand a lot more
- fixed <rdar://problem/3685231>: (execCommand italic is not implemented)
- fixed <rdar://problem/3685232>: (execCommand bold is not implemented)
- fixed <rdar://problem/3675899>: (Make queryCommandIndeterm work as specified in the Javascript execCommand Compatibility Plan)
- fixed <rdar://problem/3675901>: (Make queryCommandState work as specified in the Javascript execCommand Compatibility Plan)
- fixed <rdar://problem/3675904>: (Make queryCommandValue work as specified in the Javascript execCommand Compatibility Plan)
- khtml/editing/jsediting.cpp: (DOM::JSEditor::queryCommandIndeterm): Changed to use KHTMLPart::TriState instead of CommandState. (DOM::JSEditor::queryCommandState): Ditto. (execStyleChange): Changed to use KHTMLPart::applyStyle. (stateStyle): Used KHTMLPart::selectionHasStyle for this. (selectionStartHasStyle): Use KHTMLPart::selectionStartHasStyle for this. (valueStyle): Used KHTMLPart::selectionStartStylePropertyValue for this. (execBold): Implemented toggling, using selectionStartHasStyle. (execItalic): Implemented toggling, using selectionStartHasStyle. (execPrint): Implemented. (enabledRedo): Implemented, using canRedo. (enabledUndo): Implemented, using canUndo. (stateNone): Renamed from stateNo. (valueBackColor): Implemented, using valueStyle. (valueFontName): Implemented, using valueStyle. (valueFontSize): Implemented, using valueStyle. (valueForeColor): Implemented, using valueStyle. (valueFontSize): Implemented, using valueStyle.
- khtml/khtml_part.h: Added editing operations.
- khtml/khtml_part.cpp: (KHTMLPart::copyToPasteboard): Added. (KHTMLPart::cutToPasteboard): Added. (KHTMLPart::redo): Added. (KHTMLPart::undo): Added. (KHTMLPart::applyStyle): Added. (updateState): Added. (KHTMLPart::selectionHasStyle): Added. (KHTMLPart::selectionStartHasStyle): Added. (KHTMLPart::selectionStartStylePropertyValue): Added. (KHTMLPart::selectionComputedStyle): Added. (KHTMLPart::print): Added.
- khtml/ecma/kjs_window.cpp: (WindowFunc::tryCall): Call print() on plain old part, not KWQ(part).
- kwq/KWQKHTMLPart.h: Removed print(), added _haveUndoRedoOperations.
- kwq/KWQKHTMLPart.mm: (KHTMLPart::print): Moved from KWQKHTMLPart to KHTMLPart. (KWQKHTMLPart::registerCommandForUndo): Moved code here from bridge. (KWQKHTMLPart::registerCommandForRedo): Moved code here from bridge. (KWQKHTMLPart::clearUndoRedoOperations): Moved code here from bridge. (KWQKHTMLPart::issueUndoCommand): Moved code here from bridge. (KWQKHTMLPart::issueRedoCommand): Moved code here from bridge. (KWQKHTMLPart::issuePasteCommand): Moved code here from bridge. (KHTMLPart::canUndo): Added. (KHTMLPart::canRedo): Added.
- kwq/WebCoreBridge.h: Added undoManager, removed undo-related methods.
- kwq/WebCoreBridge.mm: (-[WebCoreBridge applyStyle:]): Changed to call KHTMLPart::applyStyle.
- WebCore.pbproj/.cvsignore: Updated for new Xcode files.
WebKit:
Reviewed by Ken.
- WebCoreSupport.subproj/WebBridge.m: Removed undo-related methods. (-[WebBridge undoManager]): Added.
- WebKit.pbproj/.cvsignore: Updated for new Xcode files.
- 9:27 AM Changeset in webkit [6807] by
-
- 3 edits in trunk/WebKit
Reviewed by Darin
Fix for this bug:
<rdar://problem/3672088>: "Editable WebViews should maintain a selection even when they're not firstResponder"
Add some code to determine whether a WebHTMLView should maintain an
inactive selection when the view is not first responder. Traditionally,
these views have not maintained such selections, clearing them when the
view was not first responder. However, for appls embedding this view as
an editing widget, it is desirable to act more like an NSTextView. For
now, however, the view only acts in this way when the web view is set to
be editable with -[WebView setEditable:YES]. This will maintain
traditional behavior for WebKit clients dating back to before this
change, and will likely be a decent switch for the long term, since
clients to ste the web view to be editable probably want it to act like
a "regular" Cocoa view in terms of its selection behavior.
- WebView.subproj/WebHTMLView.m: (-[WebHTMLView updateTextBackgroundColor]): Add code to tell whether the view is resigning first responder, and if it is, use the inactive text background color. (-[WebHTMLView maintainsInactiveSelection]): New helper which does checks to see if the new selection behavior should be used, or whether we should continue with traditional WebKit behavior. (-[WebHTMLView resignFirstResponder]): Call new maintainsInactiveSelection helper. If true, do not clear the selection.
- WebView.subproj/WebHTMLViewInternal.h: Add resigningFirstResponder flag.
Jun 9, 2004:
- 10:28 PM Changeset in webkit [6806] by
-
- 4 edits in trunk/WebCore
Reviewed by Dave.
<rdar://problem/3671555>: Blot scrolls to the top every time you type
- khtml/xml/dom_selection.cpp: (DOM::Selection::getRepaintRect): If the caret position is invalid, recompute it.
- 8:25 PM Changeset in webkit [6805] by
-
- 9 edits in trunk/WebCore
Fix for 3607091, implement a style that prevents zoom and min font size from taking effect.
The name of the new style is "-apple-text-size-adjust" with values of "none" and "auto." The default
is "auto."
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::styleForElement): (khtml::CSSStyleSelector::pseudoStyleForElement): (khtml::CSSStyleSelector::applyDeclarations): (khtml::CSSStyleSelector::applyProperty): (khtml::CSSStyleSelector::checkForTextSizeAdjust):
- khtml/css/cssstyleselector.h:
- khtml/rendering/render_style.cpp: (textSizeAdjust): (StyleCSS3InheritedData): (StyleCSS3InheritedData::operator==): (RenderStyle::diff):
- khtml/rendering/render_style.h: (khtml::RenderStyle::lineClamp): (khtml::RenderStyle::textSizeAdjust): (khtml::RenderStyle::setTextSizeAdjust): (khtml::RenderStyle::initialTextSizeAdjust):
- 4:50 PM Changeset in webkit [6804] by
-
- 9 edits in trunk/WebKit
Implemented drag destination portion of the new drag & drop API.
Reviewed by trey.
- WebView.subproj/WebDefaultUIDelegate.m: (-[WebDefaultUIDelegate webView:dragDestinationActionMaskForDraggingInfo:]): new delegate implementation (-[WebDefaultUIDelegate webView:willPerformDragDestinationAction:forDraggingInfo:]): ditto
- WebView.subproj/WebDocumentInternal.h:
- WebView.subproj/WebHTMLView.m: (-[WebHTMLView draggingUpdatedWithDraggingInfo:actionMask:]): handle the action mask (-[WebHTMLView concludeDragForDraggingInfo:actionMask:]): ditto
- WebView.subproj/WebUIDelegate.h:
- WebView.subproj/WebUIDelegatePrivate.h:
- WebView.subproj/WebView.m: (-[WebView _dragOperationForDraggingInfo:]): call new delegate methods (-[WebView performDragOperation:]): ditto
- WebView.subproj/WebViewInternal.h:
- WebView.subproj/WebViewPrivate.h:
- 3:58 PM Changeset in webkit [6803] by
-
- 11 edits in trunk/WebCore
Implement parsing and setting of the text-overflow CSS3 property.
Reviewed by kocienda
- 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_style.cpp: (textOverflow): (StyleCSS3NonInheritedData::operator==): (RenderStyle::diff):
- khtml/rendering/render_style.h: (khtml::RenderStyle::textOverflow): (khtml::RenderStyle::setTextOverflow): (khtml::RenderStyle::initialTextOverflow):
- 1:19 PM Changeset in webkit [6802] by
-
- 22 edits in trunk/WebCore
Fix for 3678031, implement better flexing for Emerson headers. This involved adding support for max-width: intrinsic,
fixing the box layout algorithm to properly deal with max-widths, and implementing support for baseline alignment
so that boxes can be aligned vertically along their interior baselines.
Reviewed by kocienda
- khtml/css/cssparser.cpp: (CSSParser::parseValue): (CSSParser::parseShadow):
- khtml/css/cssparser.h:
- 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/misc/khtmllayout.h: (khtml::):
- khtml/rendering/render_block.cpp: (khtml::RenderBlock::baselinePosition): (khtml::RenderBlock::getBaselineOfFirstLineBox):
- khtml/rendering/render_block.h:
- khtml/rendering/render_box.cpp: (RenderBox::RenderBox): (RenderBox::overrideWidth): (RenderBox::overrideHeight): (RenderBox::calcWidth): (RenderBox::calcHeight):
- khtml/rendering/render_box.h: (khtml::RenderBox::overrideSize): (khtml::RenderBox::setOverrideSize):
- khtml/rendering/render_flexbox.cpp: (khtml::RenderFlexibleBox::calcMinMaxWidth): (khtml::RenderFlexibleBox::layoutBlock): (khtml::RenderFlexibleBox::layoutHorizontalBox): (khtml::RenderFlexibleBox::layoutVerticalBox): (khtml::RenderFlexibleBox::placeChild): (khtml::RenderFlexibleBox::allowedChildFlex):
- khtml/rendering/render_flexbox.h:
- khtml/rendering/render_image.cpp: (RenderImage::isWidthSpecified): (RenderImage::isHeightSpecified):
- khtml/rendering/render_object.h: (khtml::RenderObject::getBaselineOfFirstLineBox): (khtml::RenderObject::overrideSize): (khtml::RenderObject::overrideWidth): (khtml::RenderObject::overrideHeight): (khtml::RenderObject::setOverrideSize):
- khtml/rendering/render_style.cpp: (StyleFlexibleBoxData::StyleFlexibleBoxData): (StyleFlexibleBoxData::operator==): (ShadowData::operator==):
- khtml/rendering/render_style.h: (khtml::RenderStyle::boxPack): (khtml::RenderStyle::setBoxPack):
- khtml/rendering/table_layout.cpp: (AutoTableLayout::layout):
- 12:46 PM Changeset in webkit [6801] by
-
- 8 edits in trunk
WebKit:
Implemented PDF rendering for the drawImage() function
in Context2D. This allows PDF files to be drawn in scaled
or rotated context without rasterization artifacts.
The PDF image is currently NOT cached. Caching can/will be added
as an optimization. The hooks are already in place to flush
the cache as necessary.
Reviewed by John.
- WebCoreSupport.subproj/WebImageRenderer.h:
- WebCoreSupport.subproj/WebImageRenderer.m: (-[WebImageRenderer dealloc]): (-[WebImageRenderer _needsRasterFlush]): (-[WebImageRenderer drawClippedToValidInRect:fromRect:]): (-[WebImageRenderer _PDFDocumentRef]): (-[WebImageRenderer _PDFDraw]): (-[WebImageRenderer _PDFDrawFromRect:toRect:operation:alpha:flipped:]): (-[WebImageRenderer MIMEType]): (ReleasePDFDocumentData): (-[WebPDFDocument initWithData:]): (-[WebPDFDocument dealloc]): (-[WebPDFDocument documentRef]): (-[WebPDFDocument mediaBox]): (-[WebPDFDocument bounds]): (-[WebPDFDocument adjustCTM:]): (-[WebPDFDocument setCurrentPage:]): (-[WebPDFDocument currentPage]): (-[WebPDFDocument pageCount]):
Added back check for old plugin API.
- WebView.subproj/WebFrame.m: (-[WebFrame _reloadForPluginChanges]):
- WebView.subproj/WebHTMLView.m: (-[WebHTMLView addSubview:]):
- WebCoreSupport.subproj/WebBridge.m: (-[WebBridge frameRequiredForMIMEType:URL:]):
WebCore:
Added support for drawing un-rasterized transformed PDFs.
Reviewed by John.
- khtml/ecma/kjs_html.cpp: (KJS::Context2DFunction::tryCall):
- 10:29 AM Changeset in webkit [6800] by
-
- 2 edits in trunk/WebCore
Reviewed by Ken.
- implemented still more execCommand commands
- khtml/editing/jsediting.cpp: Added a lot more commands, and reformatted a bit.