⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Timeline



Mar 20, 2002:

5:11 PM Changeset in webkit [792] by sullivan
  • 6 edits in trunk/WebKit

Added displayTitle field to IFURIEntry. This is intended to hold the string
used in menu items, window titles, etc. Alexander uses this to cache the
center-truncated title for pages with very long titles.

  • History.subproj/IFURIEntry.h:
  • History.subproj/IFURIEntry.m: (-[IFURIEntry setDisplayTitle:]), (-[IFURIEntry dictionaryRepresentation]), (-[IFURIEntry initFromDictionaryRepresentation:]):

Made Go, Window, and Debug menus use center-truncated strings for long URLs.

  • StringTruncator.h,
  • StringTruncator.m: New class, donated by Albert Dul, that truncates a string to a given width, inserting an ellipses in the center.
  • Defaults.plist,
  • PreferenceKeys.h: New (non-UI) user default for maximum menu item width.
  • AppController.h:
  • AppController.m: (-[AppController setUpStringTruncator]): set the StringTruncator to use the menu font at the menu font size. (-[AppController awakeFromNib]): call setUpStringTruncator. (_URLMenuTitleMaxWidth): read the max width from prefs and cache it in a variable. (-[AppController menuTitleForURL:withTitle:]): New method, uses center-truncated string technology. (-[AppController _menuTitleForURIEntry:]): Calls menuTitleForURL:withTitle, storing result using -[IFURIEntry setDisplayTitle] so we never have to measure this entry again. (-[AppController insertHistoryEntry:intoMenu:atIndex:]): Use _menuTitleForURIEntry. (-[AppController _removeHistoryFromMenu]): added leading underscore to name (I gotta do this more systematically). (-[AppController _addHistoryToMenu]): broke out into separate method for convenience. (-[AppController updateHistoryInMenu]): report timing with WebKitDebug
  • BrowserDocument.m: (-[BrowserDocument displayName]): Use center-truncated string technology.
  • Debug/DebugUtilities.m: (+[DebugUtilities addBookmarkToMenu:forURL:keyEquivalent:]), (+[DebugUtilities loadDebugBookmarks:]): Use center-truncated string technology for debug bookmarks (not cached).
  • WebBrowser.pbproj/project.pbxproj: Updated for new files.
4:47 PM Changeset in webkit [791] by mjs
  • 5 edits in branches/LABYRINTH_KDE_3_MERGE/WebCore
  • src/kdelibs/khtml/rendering/render_applet.cpp: (RenderApplet::RenderApplet): Handle Java parameters properly, with Chris's assistance.
5:02 AM Changeset in webkit [790]
  • 431 copies
    98 deletes in tags/MERGED_FROM_TRUNK

This commit was manufactured by cvs2svn to create tag
'MERGED_FROM_TRUNK'.

5:02 AM Changeset in webkit [789] by mjs
  • 129 edits
    2 adds in branches/LABYRINTH_KDE_3_MERGE

Merged accumlated changes from HEAD, up to
MERGED_TO_KDE_3_MERGE_BRANCH tag.

Mar 19, 2002:

8:01 PM Changeset in webkit [788]
  • 166 copies
    228 deletes in tags/MERGED_TO_LABYRINTH_KDE_3_MERGE_BRANCH

This commit was manufactured by cvs2svn to create tag
'MERGED_TO_LABYRINTH_KDE_3_MERGE_BRANCH'.

8:01 PM Changeset in webkit [787] by rjw
  • 15 edits in trunk/WebCore

Fixed NSPopupButton performance bottleneck.

7:47 PM Changeset in webkit [786] by mjs
  • 7 edits in branches/LABYRINTH_KDE_3_MERGE/WebCore

Fixed two more crashers. Tree now looks pretty stable.

  • src/kdelibs/khtml/html/html_objectimpl.cpp: (HTMLObjectElementImpl::detach): Don't send an unload event, that needs the view to be a live, which it won't be when the DOM is being destroyed.
  • src/kwq/KWQListImpl.mm: (KWQListImpl::getFirst): Return d->head->data, not d->head. Whoops!
6:15 PM Changeset in webkit [785] by rjw
  • 4 edits in trunk/WebKit

Fixed IFWebView leak.

6:04 PM Changeset in webkit [784] by mjs
  • 7 edits in branches/LABYRINTH_KDE_3_MERGE/WebCore

Fixed two crashers:

  • src/kdelibs/khtml/rendering/render_object.h: Don't attempt to schedule a relayout ever. We control layout timing. This was resulting in calls on destroyed/trashed objects before.
  • src/kdelibs/khtml/xml/dom_nodeimpl.cpp: (NodeImpl::dispatchEvent): Check if view()->part() is NULL (looks like a bug in the KDE code that this wasn't checked).
2:57 PM Changeset in webkit [783] by rjw
  • 7 edits in trunk/WebCore

iChanged float width cache to use shorts.

2:06 PM Changeset in webkit [782] by mjs
  • 128 edits in branches/LABYRINTH_KDE_3_MERGE

WebCore:

Changes needed to get WebCore to link: implement all the missing functions.

  • src/kdelibs/khtml/html/htmltokenizer.cpp: (HTMLTokenizer::end):
  • src/kdelibs/khtml/xml/xml_tokenizer.cpp: (XMLTokenizer::end):
  • src/kdelibs/khtml/xml/xml_tokenizer.h:
  • src/kwq/KWQApplication.mm: (QApplication::_initialize), (QApplication::focusWidget):
  • src/kwq/KWQColorGroup.mm: (QColorGroup::operator==):
  • src/kwq/KWQComboBox.mm: (QComboBox::currentItem):
  • src/kwq/KWQCursor.mm: (QCursor::operator=), (QCursor::handle):
  • src/kwq/KWQEvent.mm: (QMouseEvent::QMouseEvent), (QKeyEvent::isAutoRepeat), (QKeyEvent::text), (QKeyEvent::ascii), (QKeyEvent::count), (QKeyEvent::isAccepted), (QCustomEvent::QCustomEvent), (QContextMenuEvent::QContextMenuEvent), (QContextMenuEvent::globalPos), (QContextMenuEvent::reason), (QContextMenuEvent::state), (QContextMenuEvent::x), (QContextMenuEvent::y):
  • src/kwq/KWQFontMetrics.mm: (QFontMetrics::boundingRect):
  • src/kwq/KWQKCursor.mm: (KCursor::whatsThisCursor):
  • src/kwq/KWQKDebug.mm: (kdBacktrace):
  • src/kwq/KWQKHTMLPart.mm: (KHTMLPart::metaRefreshEnabled), (KHTMLPart::executeScript), (KHTMLPart::requestObject), (KHTMLPart::setJSDefaultStatusBarText), (KHTMLPart::referrer), (KHTMLPart::lastModified):
  • src/kwq/KWQKMimeType.mm: (KMimeType::comment), (KMimeType::mimeType), (KMimeType::defaultMimeType):
  • src/kwq/KWQKPrinter.mm: (KPrinter::KPrinter):
  • src/kwq/KWQKProtocolManager.mm: (KProtocolManager::proxyFor):
  • src/kwq/KWQKstddirs.mm: (KStandardDirs::saveLocation):
  • src/kwq/KWQLineEdit.mm: (QLineEdit::edited), (QLineEdit::setEdited):
  • src/kwq/KWQListImpl.h:
  • src/kwq/KWQListImpl.mm: (KWQListImpl::getFirst), (KWQListImpl::take):
  • src/kwq/KWQMapImpl.h:
  • src/kwq/KWQMapImpl.mm: (KWQMapImpl::removeEqualInternal):
  • src/kwq/KWQNSTextField.h:
  • src/kwq/KWQNSTextField.mm: (-[KWQNSTextField edited]), (-[KWQNSTextField setEdited:]), (-[KWQNSTextField textDidChange:]):
  • src/kwq/KWQObject.mm: (QObject::eventFilter):
  • src/kwq/KWQPainter.mm: (QPainter::drawConvexPolygon), (QPainter::drawText):
  • src/kwq/KWQPalette.mm: (QPalette::operator==):
  • src/kwq/KWQRadioButton.mm: (QRadioButton::isChecked):
  • src/kwq/KWQRect.mm: (QRect::isEmpty), (QRect::intersect), (QRect::unite):
  • src/kwq/KWQRegion.mm: (QRegion::translate), (QRegion::boundingRect):
  • src/kwq/KWQScrollView.mm: (QScrollView::updateContents):
  • src/kwq/KWQString.mm: (QString::endsWith):
  • src/kwq/KWQStyle.h:
  • src/kwq/KWQTextArea.h:
  • src/kwq/KWQTextArea.mm: (-[KWQTextArea paragraphs]), (RangeOfParagraph), (-[KWQTextArea paragraphLength:]), (-[KWQTextArea textForParagraph:]), (-[KWQTextArea lineOfCharAtIndex:inParagraph:]), (-[KWQTextArea getCursorPositionAsIndex:inParagraph:]), (-[KWQTextArea setCursorPositionToIndex:inParagraph:]):
  • src/kwq/KWQTextEdit.mm: (QMultiLineEdit::QMultiLineEdit), (KEdit::KEdit), (KEdit::~KEdit), (QTextEdit::QTextEdit), (QTextEdit::setText), (QTextEdit::text), (QTextEdit::paragraphs), (QTextEdit::paragraphLength), (QTextEdit::lineOfChar), (QTextEdit::getCursorPosition), (QTextEdit::setCursorPosition), (QTextEdit::wordWrap), (QTextEdit::setWordWrap), (QTextEdit::setTextFormat), (QTextEdit::isReadOnly), (QTextEdit::setReadOnly), (QTextEdit::selectAll):
  • src/kwq/KWQVectorImpl.mm: (KWQVectorImpl::at), (KWQVectorImpl::data):
  • src/kwq/KWQWidget.mm: (QWidget::frameGeometry), (QWidget::cursor), (QWidget::unsetCursor):
  • src/kwq/KWQbrowserextension.mm:
  • src/kwq/KWQtextstream.mm: (QTextStream::QTextStream), (QTextStream::operator<<), (endl):
  • src/kwq/KWQxml.mm: (QXmlAttributes::uri), (QXmlParseException::lineNumber):
  • src/kwq/Makefile.am:
  • src/kwq/kdecore/kstandarddirs.h:
  • src/kwq/kdecore/kstaticdeleter.h:
  • src/kwq/kdeui/keditcl.h:
  • src/kwq/kio/kmimetype.h:
  • src/kwq/qt/qarray.h:
  • src/kwq/qt/qevent.h:
  • src/kwq/qt/qlist.h:
  • src/kwq/qt/qmap.h:
  • src/kwq/qt/qpalette.h:
  • src/kwq/qt/qptrqueue.h:
  • src/kwq/qt/qscrollview.h:
  • src/kwq/qt/qstring.h:
  • src/kwq/qt/qtextedit.h:

WebKit:

  • WebView.subproj/IFWebView.mm: (-[IFWebView layout]): layout() no longer takes an argument.
10:23 AM Changeset in webkit [781]
  • 166 copies
    228 deletes in tags/ALEXANDER_0_2_PRE_5

This commit was manufactured by cvs2svn to create tag
'ALEXANDER_0_2_PRE_5'.

10:23 AM Changeset in webkit [780] by rjw
  • 9 edits in trunk/WebCore

Improved cache-miss case for non-latin1 characters.

Note: See TracTimeline for information about the timeline view.