1. 10 Jun, 2002 1 commit
    • darin's avatar
      JavaScriptCore: · f028f81b
      darin authored
      	Merged in changes from KDE 3.0.1.
      
      	* kjs/collector.cpp:
      	* kjs/date_object.cpp:
      	* kjs/function.cpp:
      	* kjs/internal.cpp:
      	* kjs/lookup.h:
      	* kjs/object.cpp:
      	* kjs/operations.cpp:
      	* kjs/regexp.cpp:
      	* kjs/regexp_object.cpp:
      	* kjs/regexp_object.h:
      	* kjs/string_object.cpp:
      	* kjs/testkjs.cpp:
      	* kjs/ustring.cpp:
      	* kjs/value.cpp:
      	* kjs/value.h:
      	Do the merge, and add APPLE_CHANGES as needed to make things compile.
      
      	* kjs/date_object.lut.h: Re-generated.
      
      WebCore:
      
      	Merged in changes from KDE 3.0.1.
      
      	* kwq/kdecore/kurl.h:
      	* kwq/KWQKURL.mm: (operator==): New, needed by some 3.0.1 code.
      
      	* kwq/qt/qpalette.h: Add QPalette::NColorGroups and QColorGroup::NColorRoles.
      	* kwq/KWQPalette.mm: Simplify by getting rid of "private" indirection.
      	(QPalette::color): New, needed by some 3.0.1 code.
      	* kwq/KWQColorGroup.mm: Simplify by getting rid of "private" indirection.
      
      	* kwq/qt/qstring.h:
      	* kwq/KWQString.mm: (QConstString::QConstString): Change parameter to const QChar *
      	to match Qt so we compile.
      
      	* kwq/qt/qtextedit.h:
      	* kwq/KWQTextEdit.mm: (QTextEdit::setTabStopWidth): Add unimplemented placeholder,
      	needed by some 3.0.1 code.
      
      	* kwq/qt/qvaluelist.h:
      	* kwq/KWQValueListImpl.h:
      	* kwq/KWQValueListImpl.mm: Simplify implementation.
      
      	* WebCore-tests.exp: Update for changes in QValueList implementation.
      
      	* kwq/kdecore/klibloader.h: Add include of <kio/global.h> to make something compile.
      
      	* kwq/khtml/java/kjavaappletcontext.h: Add JType and constructor that takes DCOPObject*.
      
      	* kwq/kio/global.h: Add KIO::CacheControl.
      
      	* khtml/css/css_ruleimpl.cpp:
      	* khtml/css/css_ruleimpl.h:
      	* khtml/css/css_stylesheetimpl.cpp:
      	* khtml/css/css_stylesheetimpl.h:
      	* khtml/css/css_valueimpl.cpp:
      	* khtml/css/css_valueimpl.h:
      	* khtml/css/cssparser.cpp:
      	* khtml/css/cssparser.h:
      	* khtml/css/cssstyleselector.cpp:
      	* khtml/css/cssstyleselector.h:
      	* khtml/css/html4.css:
      	* khtml/dom/css_rule.cpp:
      	* khtml/dom/css_rule.h:
      	* khtml/dom/css_stylesheet.cpp:
      	* khtml/dom/css_stylesheet.h:
      	* khtml/dom/css_value.cpp:
      	* khtml/dom/dom2_events.cpp:
      	* khtml/dom/dom2_range.cpp:
      	* khtml/dom/dom2_range.h:
      	* khtml/dom/dom2_views.cpp:
      	* khtml/dom/dom_doc.cpp:
      	* khtml/dom/dom_element.cpp:
      	* khtml/dom/dom_exception.h:
      	* khtml/dom/dom_node.cpp:
      	* khtml/dom/dom_string.cpp:
      	* khtml/dom/dom_text.cpp:
      	* khtml/dom/dom_xml.cpp:
      	* khtml/dom/html_base.cpp:
      	* khtml/dom/html_block.cpp:
      	* khtml/dom/html_document.cpp:
      	* khtml/dom/html_element.cpp:
      	* khtml/dom/html_element.h:
      	* khtml/dom/html_form.cpp:
      	* khtml/dom/html_head.cpp:
      	* khtml/dom/html_image.cpp:
      	* khtml/dom/html_inline.cpp:
      	* khtml/dom/html_list.cpp:
      	* khtml/dom/html_misc.cpp:
      	* khtml/dom/html_object.cpp:
      	* khtml/dom/html_table.cpp:
      	* khtml/ecma/kjs_html.cpp:
      	* khtml/ecma/kjs_proxy.cpp:
      	* khtml/ecma/kjs_traversal.cpp:
      	* khtml/ecma/kjs_window.cpp:
      	* khtml/html/html_baseimpl.cpp:
      	* khtml/html/html_formimpl.cpp:
      	* khtml/html/html_miscimpl.h:
      	* khtml/html/html_objectimpl.cpp:
      	* khtml/html/html_objectimpl.h:
      	* khtml/html/htmlparser.cpp:
      	* khtml/html/htmlparser.h:
      	* khtml/html/htmltokenizer.cpp:
      	* khtml/html/htmltokenizer.h:
      	* khtml/khtml_part.cpp:
      	* khtml/khtmlpart_p.h:
      	* khtml/khtmlview.cpp:
      	* khtml/misc/helper.cpp:
      	* khtml/misc/khtmllayout.h:
      	* khtml/misc/loader.cpp:
      	* khtml/misc/loader.h:
      	* khtml/misc/loader_client.h:
      	* khtml/misc/shared.h: Added.
      	* khtml/rendering/bidi.cpp:
      	* khtml/rendering/break_lines.cpp:
      	* khtml/rendering/font.cpp:
      	* khtml/rendering/render_applet.cpp:
      	* khtml/rendering/render_applet.h:
      	* khtml/rendering/render_container.cpp:
      	* khtml/rendering/render_form.cpp:
      	* khtml/rendering/render_form.h:
      	* khtml/rendering/render_frames.cpp:
      	* khtml/rendering/render_image.cpp:
      	* khtml/rendering/render_object.cpp:
      	* khtml/rendering/render_object.h:
      	* khtml/rendering/render_replaced.cpp:
      	* khtml/rendering/render_replaced.h:
      	* khtml/rendering/render_root.cpp:
      	* khtml/rendering/render_style.cpp:
      	* khtml/rendering/render_style.h:
      	* khtml/rendering/render_table.cpp:
      	* khtml/rendering/render_table.h:
      	* khtml/rendering/render_text.cpp:
      	* khtml/rendering/render_text.h:
      	* khtml/xml/dom2_eventsimpl.h:
      	* khtml/xml/dom2_rangeimpl.h:
      	* khtml/xml/dom2_traversalimpl.cpp:
      	* khtml/xml/dom2_traversalimpl.h:
      	* khtml/xml/dom2_viewsimpl.h:
      	* khtml/xml/dom_docimpl.cpp:
      	* khtml/xml/dom_docimpl.h:
      	* khtml/xml/dom_elementimpl.h:
      	* khtml/xml/dom_nodeimpl.cpp:
      	* khtml/xml/dom_nodeimpl.h:
      	* khtml/xml/dom_stringimpl.cpp:
      	* khtml/xml/dom_stringimpl.h:
      	* khtml/xml/xml_tokenizer.h:
      	Merge in 3.0.1 changes and add APPLE_CHANGES as necessary to get it to compile.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1326 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f028f81b
  2. 03 Jun, 2002 1 commit
    • darin's avatar
      * acconfig.h: Remove APPLE_CHANGES (done in compiler invocation), · b95d6c41
      darin authored
      	_KWQ_ (not needed any more), _KWQ_PEDANTIC_ (not needed any more),
      	and _KWQ_IOSTREAM_ (set by KWQDef.h now).
      
      	* configure.in: Remove explict gcc3 and g++3; not needed on Jaguar.
      	Remove APPLE_CHANGES, _KWQ_, _KWQK_PEDANTIC_, and _KWQ_IOSTREAM_.
      	Do an AC_SUBST on COMMON_CFLAGS so the flags are used to generate the
      	.pfe files. Add conditional stuff so that WebCore exports less and
      	the Tests subdirectory is not build in Deployment style builds.
      
      	* Makefile.am: Only build Tests subdir when configure.in says it should.
      
      	* Tests/draw/*: Removed.
      
      	* Tests/qt/qbuffer-test.cpp: (main): Update for QBuffer changes.
      	* Tests/qt/qrect-test.cpp: (main): Remove unused variable.
      
      	* Tools/jersey/README: Fix newlines.
      	* Tools/jersey/html/advanced.html: Fix newlines.
      
      WebCore:
      
      	Get rid of many unneeded APPLE_CHANGES.
      	Also get rid of _KWQ_ and _KWQ_PEDANTIC_.
      
      	* WebCore.exp: Don't export DomShared::ref/deref any more.
      	* WebCore-tests.exp: Changed around as needed due to changes in
      	the classes being tested.
      
      	* khtml/html/htmlparser.cpp:
      	* khtml/html/htmltokenizer.cpp:
      	Simplified APPLE_CHANGES for better merging.
      
      	* khtml/dom/dom_misc.h:
      	* khtml/dom/dom_misc.cpp:
      	* khtml/dom/html_document.cpp:
      	* khtml/khtmlview.cpp:
      	* khtml/ecma/kjs_css.h:
      	* khtml/ecma/kjs_dom.cpp:
      	* khtml/ecma/kjs_dom.h:
      	* khtml/ecma/kjs_window.cpp:
      	* khtml/html/html_formimpl.cpp:
      	* khtml/html/html_objectimpl.cpp:
      	* khtml/misc/helper.cpp:
      	* khtml/rendering/bidi.cpp:
      	* khtml/rendering/render_flow.cpp:
      	* khtml/rendering/render_form.cpp:
      	* khtml/rendering/render_text.cpp:
      	* khtml/xml/xml_tokenizer.h:
      	* kwq/qt/qtextedit.h:
      	Remove now-unneeded APPLE_CHANGES.
      
      	* khtml/misc/loader.cpp: (CachedImage::pixmap): Turned off more of
      	the QMovie code.
      
      	* khtml/html/html_documentimpl.cpp:
      	* khtml/html/htmltokenizer.h:
      	* khtml/xml/dom_elementimpl.h:
      	* kwq/KWQKHTMLPart.mm:
      	Formatting and other minor tweaks.
      
      	* kwq/KWQApplication.mm: (QApplication::sendEvent): Implemented.
      	* kwq/KWQChar.mm: (QChar::direction): Improved implementation.
      
      	* kwq/KWQCollection.h: Removed.
      	* kwq/KWQIcon.h: Removed.
      
      	* kwq/Makefile.am: Removed following files.
      	* kwq/KWQKCompletionBox.mm: Removed.
      	* kwq/KWQKFactory.mm: Removed.
      	* kwq/KWQListBox.mm: Removed.
      	* kwq/KWQKImageIO.mm: Removed.
      
      	* kwq/KWQObject.mm: (QObject::event): Added, does nothing.
      	(QObject::inherits): Put in real implementation (good enough for us).
      
      	* kwq/WCWebDataSource.h: Removed extern declaration of global.
      
      	* kwq/KWQCursor.mm: (QCursor::handle): Made the handle be an
      	NSCursor *.
      
      	* kwq/external.h: Moved [IFWebView setFrameSize:] here.
      	Got rid of IFAnimatedImage.
      
      	* kwq/KWQDef.h: Remove unused Q_INT8, Q_INT16, Q_UINT8, Q_UINT16,
      	QCOORD, WFlags, WId, ASSERT, CHECK_PTR, Q_EXPORT, Q_PACKED,
      	QT_STATIC_CONST, QT_STATIC_CONST_IMPL. Define _KWQ_IOSTREAM_ only
      	when NDEBUG is not defined.
      
      	* kwq/KWQBuffer.mm:
      	* kwq/KWQCString.mm:
      	* kwq/KWQCollection.mm:
      	* kwq/KWQCompletion.h:
      	* kwq/KWQCompletion.mm:
      	* kwq/KWQFrame.h:
      	* kwq/KWQFrame.mm:
      	* kwq/KWQHBox.mm:
      	* kwq/KWQKFileItem.mm:
      	* kwq/KWQKIconLoader.mm:
      	* kwq/KWQKLineEdit.mm:
      	* kwq/KWQKProtocolManager.mm:
      	* kwq/KWQLabel.mm:
      	* kwq/KWQListBox.h:
      	* kwq/KWQMovie.mm:
      	* kwq/KWQWidget.mm:
      	* kwq/KWQxml.mm:
      	* kwq/qt/qbuffer.h:
      	* kwq/kdecore/kdebug.h:
      	* kwq/kdecore/kglobal.h:
      	* kwq/kdecore/kglobalsettings.h:
      	* kwq/kdecore/kiconloader.h:
      	* kwq/kdecore/kstaticdeleter.h:
      	* kwq/kdecore/kstringhandler.h:
      	* kwq/kdeui/kcombobox.h:
      	* kwq/kdeui/kcompletionbox.h:
      	* kwq/kdeui/klineedit.h:
      	* kwq/kdeui/klistbox.h:
      	* kwq/kdeui/kmessagebox.h:
      	* kwq/kio/kfileitem.h:
      	* kwq/kio/kimageio.h:
      	* kwq/kio/kmimetype.h:
      	* kwq/kio/kprotocolmanager.h:
      	* kwq/kio/netaccess.h:
      	* kwq/qt/qxml.h:
      	* kwq/kparts/browserinterface.h:
      	* kwq/kparts/factory.h:
      	* kwq/kparts/part.h:
      	* kwq/qt/qarray.h:
      	* kwq/qt/qcollection.h:
      	* kwq/qt/qcstring.h:
      	* kwq/qt/qcursor.h:
      	* kwq/qt/qdict.h:
      	* kwq/qt/qhbox.h:
      	* kwq/qt/qlabel.h:
      	* kwq/qt/qlist.h:
      	* kwq/qt/qmap.h:
      	* kwq/qt/qmovie.h:
      	* kwq/qt/qobject.h:
      	* kwq/qt/qpaintdevicemetrics.h:
      	* kwq/qt/qpainter.h:
      	* kwq/qt/qpoint.h:
      	* kwq/qt/qradiobutton.h:
      	* kwq/qt/qrect.h:
      	* kwq/qt/qregion.h:
      	* kwq/qt/qscrollview.h:
      	* kwq/qt/qsize.h:
      	* kwq/qt/qstack.h:
      	* kwq/qt/qstringlist.h:
      	* kwq/qt/qtextedit.h:
      	* kwq/qt/qvaluelist.h:
      	* kwq/qt/qvector.h:
      	* kwq/qt/qwidget.h:
      	* kwq/qt/qxml.h:
      	Removed unused stuff.
      
      	* kwq/KWQListBox.mm:
      	* kwq/KWQMapImpl.h:
      	* kwq/KWQMapImpl.mm:
      	* kwq/KWQPainter.mm:
      	* kwq/KWQPoint.mm:
      	* kwq/KWQRadioButton.mm:
      	* kwq/KWQRect.mm:
      	* kwq/KWQRegion.mm:
      	* kwq/KWQScrollBar.h:
      	* kwq/KWQScrollView.mm:
      	* kwq/KWQSize.mm:
      	* kwq/KWQStringList.mm:
      	* kwq/KWQbrowserinterface.mm:
      	Simplified.
      
      	* kwq/kdecore/kurl.h:
      	Added include to match what's expected by clients.
      
      	* kwq/qt/qobjectlist.h: Added. Empty file to make includers happy.
      
      	* kwq/khtml/khtml_printsettings.h: Added. Empty file.
      	* kwq/qt/qobjectlist.h: Added. Empty file.
      
      	* kwq/kio/kssl/ksslkeygen.h: Define just enough to make callers
      	happy.
      
      	* kwq/qt/qobject.h: Added event().
      	* kwq/kparts/part.h: Added bool return type to event().
      	* kwq/qt/qvector.h: Added QGVector base class.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1256 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b95d6c41
  3. 23 May, 2002 1 commit
  4. 21 May, 2002 1 commit
  5. 15 Apr, 2002 1 commit
    • darin's avatar
      Merged KDE 3.0 final code in and: · b70665a4
      darin authored
      JavaScriptCore:
      
      	* kjs/internal.cpp:
      	* kjs/property_map.cpp:
      	* kjs/ustring.h:
      	Removed some unneeded <config.h> includes so we are more similar
      	to the real KDE sources.
      
      	Merged changes from KDE 3.0 final and did some build fixes.
      
      	* JavaScriptCore.pbproj/project.pbxproj: Added nodes2string.cpp.
      
      	* kjs/grammar.*: Regenerated.
      	* kjs/*.lut.h: Regenerated.
      
      WebCore:
      
      	* src/kdelibs/khtml/rendering/render_text.cpp: (TextSlave::printDecoration):
      	Remove some minor gratuitous diffs vs. KDE.
      
      	* src/kdelibs/khtml/rendering/render_text.cpp: (TextSlave::printDecoration):
              Richard updated to reflect changes in KDE.
      
      	* src/kdelibs/khtml/css/css_valueimpl.cpp:
      	(FontFamilyValueImpl::FontFamilyValueImpl): Fix comment.
      	* src/kdelibs/khtml/css/cssstyleselector.cpp: Remove some gratuitous diffs vs. KDE.
      	* src/kdelibs/khtml/html/html_objectimpl.cpp:
      	(HTMLEmbedElementImpl::parseAttribute): Remove unneeded copy from KWQ's early days.
      	* src/kdelibs/khtml/html/html_tableimpl.cpp:
      	(HTMLTableElementImpl::parseAttribute),
      	(HTMLTablePartElementImpl::parseAttribute): Remove unneeded copy from KWQ's early days.
      	* src/kdelibs/khtml/html/htmltokenizer.cpp: (HTMLTokenizer::processToken): Redo the
      	APPLE_CHANGES ifdef here.
      	* src/kdelibs/khtml/khtmlpart_p.h: Update to latest kde.
      	* src/kdelibs/khtml/khtmlview.cpp: (KHTMLView::KHTMLView): Add ifdef APPLE_CHANGES.
      	(KHTMLView::~KHTMLView): Add ifdef APPLE_CHANGES.
      	(KHTMLView::print): Remove code left in here during merge process.
      	* src/kwq/KWQKHTMLPart.mm: Remove unused setFontSizes(), fontSizes(), and
      	resetFontSizes(). After the merge is landed, remove more.
      	* src/libwebcore.exp: Export updateStyleSelector() for WebKit.
      
      	Fix text to it displays at the right font size.
      
      	* src/kdelibs/khtml/css/cssstyleselector.cpp:
      	(CSSStyleSelector::computeFontSizes): Apply the same SCREEN_RESOLUTION hack here
      	that we do elsewhere.
      	* src/kdelibs/khtml/rendering/font.cpp: (Font::width): Use kMin instead of max (oops).
      	(Font::update): Turn off font database chicanery.
      	* src/kwq/KWQKHTMLPart.mm: (KHTMLPart::zoomFactor): Use zoom factor 100, not 1.
      
      	More fixes so text displays (still at wrong font size).
      
      	* src/kdelibs/khtml/rendering/font.cpp: (max): New helper.
      	(Font::drawText): Simplified implementation for now.
      	(Font::width): Simplified implementation for now.
      	* src/kwq/KWQColorGroup.mm: Reinstated QCOLOR_GROUP_SIZE.
      
      	* src/kwq/qt/qfontmetrics.h: Removed charWidth and changed _width to take QChar *.
      	* src/kwq/KWQFontMetrics.mm: Removed charWidth and changed _width to take QChar *.
      
      	Merged changes from KDE 3.0 final. Other fixes to get things compiling.
      
      	* src/kdelibs/khtml/css/css_valueimpl.cpp:
      	(CSSStyleDeclarationImpl::setProperty): Fix unused variable.
      	* src/kdelibs/khtml/khtmlview.cpp: (KHTMLView::contentsContextMenuEvent):
      	Fix unused variable.
      	* src/kdelibs/khtml/rendering/font.cpp: (Font::drawText), (Font::width),
      	(Font::update): Disable special "nsbp" logic for now. We can reenable it
      	if necessary.
      	* src/kdelibs/khtml/rendering/render_replaced.cpp: Fix mismerge.
      	* src/kdelibs/khtml/rendering/render_text.cpp: (RenderText::nodeAtPoint):
      	Fix unused variable.
      	* src/kwq/KWQApplication.mm: (QDesktopWidget::width), (QApplication::desktop):
      	Fix mismerge.
      	* src/kwq/KWQColorGroup.mm: Fix QCOLOR_GROUP_SIZE.
      	* src/kwq/KWQFontMetrics.mm: (QFontMetrics::lineSpacing): New.
      	(QFontMetrics::width): Remove unused optimization.
      	* src/kwq/qt/qfontmetrics.h: Add lineSpacing().
      
              Merged changes from previous merge pass.
      
              2002-03-25  Darin Adler  <darin@apple.com>
      
              Last bit of making stuff compile and link. Probably will drop the merge now
              and take it up again when it's time to merge in KDE 3.0 final.
      
      	* src/kwq/KWQEvent.mm: (QFocusEvent::reason): New.
      	* src/kwq/KWQPainter.mm: (QPainter::drawText): New overload.
      
              2002-03-25  Darin Adler  <darin@apple.com>
      
      	* src/kdelibs/khtml/rendering/font.cpp: (Font::width): Make it call _width so we
              don't lose the optimization.
      
      	* src/kwq/KWQApplication.mm: (QDesktopWidget::screenNumber): New.
      	(QDesktopWidget::screenGeometry): New.
              (QApplication::style): New.
      	* src/kwq/KWQColorGroup.mm: (QColorGroup::highlight): New.
      	(QColorGroup::highlightedText): New.
      	* src/kwq/KWQFont.mm: (QFont::setPixelSize): New.
      	* src/kwq/KWQFontMetrics.mm: (QFontMetrics::charWidth): New.
      	* src/kwq/KWQKGlobal.mm: (KGlobal::locale): Implement.
              (KLocale::KLocale): New.
      	(KLocale::languageList): New.
      	* src/kwq/KWQKHTMLPart.mm: (KHTMLPart::sheetUsed): New.
      	(KHTMLPart::setSheetUsed): New.
              (KHTMLPart::zoomFactor): New.
      	* src/kwq/KWQKHTMLSettings.mm: (KHTMLSettings::mediumFontSize): New.
      	* src/kwq/KWQScrollView.mm: (QScrollView::childX): New.
              (QScrollView::childY): New.
      
      	* src/kwq/qt/qapplication.h: style() returns a QStyle &.
      	* src/kwq/qt/qpalette.h: Add Highlight and HighlightedText.
      
              2002-03-24  Darin Adler  <darin@apple.com>
      
              More compiling. Still won't link.
      
      	* src/kdelibs/khtml/khtmlview.cpp: Disable printing and drag and drop code.
      	* src/kdelibs/khtml/rendering/render_text.cpp: (TextSlave::printDecoration):
              Temporarily turn off our smarter underlining since it relies on access to the
              string, and TextSlave doesn't have that any more.
      	(RenderText::nodeAtPoint): Get rid of a workaround we don't need any more for
              a bug that was fixed by KDE folks.
      	* src/kwq/KWQApplication.mm: (QApplication::desktop): Make the desktop be a
              QDesktopWidget.
      	* src/kwq/qt/qnamespace.h: Add MetaButton.
      	* src/kwq/qt/qtooltip.h: Add a maybeTip virtual function member and a virtual
              destructor.
      
              2002-03-24  Darin Adler  <darin@apple.com>
      
              Some fixes to get more stuff to compile.
      
      	* src/kdelibs/khtml/ecma/kjs_dom.cpp: (DOMDocument::getValueProperty):
              Don't try to look at the private m_bComplete to display "complete". Just do
              "loading" and "loaded".
              * src/kdelibs/khtml/khtmlpart_p.h: #ifdef this all out for APPLE_CHANGES.
      	* src/kdelibs/khtml/rendering/font.cpp: (Font::update): Add an explicit cast to
              int to avoid float -> int warning.
      	* src/kdelibs/khtml/rendering/render_table.cpp: (RenderTable::calcColMinMax):
              Add an explicit cast to int to avoid uint compared with int warning.
      	* src/kdelibs/khtml/xml/dom_docimpl.cpp: (DocumentImpl::recalcStyleSelector):
              Use sheetUsed() and setSheetUsed() functions on KHTMLPart intead of getting
              at private fields the way the real KDE code does.
      
              * src/kwq/KWQKHTMLPart.h: Declare zoomFactor(), sheetUsed(), and setSheetUsed().
      	* src/kwq/KWQStyle.h: Add PM_DefaultFramWidth as another metric.
      	* src/kwq/kdecore/klocale.h: Add languageList().
      	* src/kwq/khtml/khtml_settings.h: Add mediumFontSize().
      	* src/kwq/qt/qapplication.h: Add style() and QDesktopWidget.
      	* src/kwq/qt/qevent.h: Add reason().
      	* src/kwq/qt/qfont.h: Add setPixelSize(int).
      	* src/kwq/qt/qfontmetrics.h: Add charWidth() and _charWidth() functions.
      	* src/kwq/qt/qpainter.h: Add drawText() overload with position parameter.
      	* src/kwq/qt/qpalette.h: Add highlight() and highlightedText().
      	* src/kwq/qt/qscrollview.h: Add childX() and childY().
      
      	* src/kwq/KWQApplication.mm: Change KWQDesktopWidget to QDesktopWidget.
      
      WebKit:
      
      	* WebView.subproj/IFPreferences.h:
      	* WebView.subproj/IFPreferences.mm: (+[IFPreferences load]): Remove the old
      	WebKitFontSizes preference.
      	(-[IFPreferences mediumFontSize]), (-[IFPreferences setMediumFontSize:]): New.
      
      	* WebView.subproj/IFWebView.mm: (-[IFWebView reapplyStyles]): Call
      	updateStyleSelector() instead of recalcStyle().
      
              Merged changes from previous merge branch.
      
              2002-03-25  Darin Adler  <darin@apple.com>
      
      	* WebView.subproj/IFPreferences.mm: (+[IFPreferences load]):
              Add WebKitMediumFontSizePreferenceKey.
      
      WebBrowser:
      
      	* Preferences.subproj/TextPreferences.m: (-[TextPreferences defaultFontSize]),
      	(-[TextPreferences setDefaultFontSize:]): Just get and set the new mediumFontSize
      	preference rather than doing the whole fontSizes preference dance.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1024 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b70665a4
  6. 21 Mar, 2002 1 commit
  7. 17 Mar, 2002 1 commit
  8. 15 Mar, 2002 2 commits
  9. 14 Mar, 2002 1 commit
  10. 06 Mar, 2002 1 commit
  11. 12 Feb, 2002 1 commit
    • mjs's avatar
      * borrowed-classes.txt: Stopped borrowing QVector, QList, · 20320915
      mjs authored
      	QCollection and QTL.
      
      	Extended tests for QList, QSortedList (to test QList::sort more
      	thoroughly) and QVector. Especially excercise autodeletion
      	semantics and corner cases more thoroughly.
      
      	* Tests/qt/qlist-test.chk:
      	* Tests/qt/qlist-test.cpp: (operator<<), (main):
      	* Tests/qt/qsortedlist-test.chk:
      	* Tests/qt/qsortedlist-test.cpp: (main):
      	* Tests/qt/qvector-test.chk:
      	* Tests/qt/qvector-test.cpp: (operator<<), (printVectorNullTolerant), (main):
      
      	* Tests/qt/qmap-test.cpp (CheckRedBlackRules): Tweak a bit to
      	violate QMap's abstraction for glass-box testing.
      WebCore:
      	Reimplemented QList, QVector and QCollection from
      	scratch. Implemented copy-on-write optimization for QMap.
      
      	Minimally reimplement QCollection.
      
      	* src/kwq/qt/qcollection.h:
      	* src/kwq/KWQCollection.mm: (QCollection::QCollection), (QCollection::operator=),
      	(QCollection::~QCollection), (QCollection::autoDelete),
      	(QCollection::setAutoDelete):
      
      	* src/kwq/qt/qdict.h, src/kwq/qt/qptrdict.h: Include
      	qcollection.h, not _qcollection.h
      
      	Reimplement QList as a doubly-linked list.
      
      	* src/kwq/qt/qlist.h:
      	* src/kwq/KWQListImpl.h:
      	* src/kwq/KWQListImpl.mm: (KWQListImpl::KWQListPrivate::copyList),
      	(KWQListImpl::KWQListPrivate::KWQListPrivate),
      	(KWQListImpl::KWQListPrivate::~KWQListPrivate),
      	(KWQListIteratorImpl::KWQListIteratorPrivate::KWQListIteratorPrivate),
      	(KWQListImpl::KWQListImpl), (KWQListImpl::~KWQListImpl), (KWQListImpl::isEmpty),
      	(KWQListImpl::count), (KWQListImpl::clear), (KWQListImpl::sort),
      	(KWQListImpl::at), (KWQListImpl::insert), (KWQListImpl::remove),
      	(KWQListImpl::removeFirst), (KWQListImpl::removeLast), (KWQListImpl::removeRef),
      	(KWQListImpl::getLast), (KWQListImpl::current), (KWQListImpl::first),
      	(KWQListImpl::last), (KWQListImpl::next), (KWQListImpl::prev),
      	(KWQListImpl::take), (KWQListImpl::append), (KWQListImpl::prepend),
      	(KWQListImpl::containsRef), (KWQListImpl::assign), (KWQListImpl::addIterator),
      	(KWQListImpl::removeIterator), (KWQListIteratorImpl::KWQListIteratorImpl),
      	(KWQListIteratorImpl::~KWQListIteratorImpl), (KWQListIteratorImpl::count),
      	(KWQListIteratorImpl::toFirst), (KWQListIteratorImpl::toLast),
      	(KWQListIteratorImpl::current), (KWQListIteratorImpl::operator--),
      	(KWQListIteratorImpl::operator++), (KWQListIteratorImpl::operator=):
      
      	Reimplement QVector in terms of CFArray.
      
      	* src/kwq/qt/qvector.h:
      	* src/kwq/KWQVectorImpl.h:
      	* src/kwq/KWQVectorImpl.mm: (KWQVectorImpl::KWQVectorPrivate::KWQVectorPrivate),
      	(KWQVectorImpl::KWQVectorPrivate::~KWQVectorPrivate),
      	(KWQVectorImpl::KWQVectorImpl), (KWQVectorImpl::~KWQVectorImpl),
      	(KWQVectorImpl::clear), (KWQVectorImpl::isEmpty), (KWQVectorImpl::count),
      	(KWQVectorImpl::size), (KWQVectorImpl::remove), (KWQVectorImpl::resize),
      	(KWQVectorImpl::insert), (KWQVectorImpl::at), (KWQVectorImpl::assign),
      	(KWQVectorImpl::KWQVectorImpl::swap):
      
      	Implemented copy-on-write optimization for QMap. This had the
      	pleasant side effect of improving the separation between pointer
      	manipulation and key/value manipulation.
      
      	* src/kwq/qt/qmap.h:
      	* src/kwq/KWQMapImpl.h:
      	* src/kwq/KWQMapImpl.mm: (KWQMapImpl::KWQMapPrivate::KWQMapPrivate),
      	(KWQMapImpl::KWQMapPrivate::~KWQMapPrivate), (KWQMapImpl::KWQMapImpl),
      	(KWQMapImpl::~KWQMapImpl), (KWQMapImpl::copyOnWrite), (KWQMapImpl::copyTree),
      	(KWQMapImpl::rebalanceAfterInsert), (KWQMapImpl::rebalanceAfterRemove),
      	(KWQMapImpl::findInternal), (KWQMapImpl::insertInternal),
      	(KWQMapImpl::removeInternal), (KWQMapImpl::swap), (KWQMapImpl::countInternal),
      	(KWQMapImpl::clearInternal), (KWQMapImpl::beginInternal),
      	(KWQMapImpl::endInternal):
      
      	* src/kwq/Makefile.am: Add new files to build.
      
      	* src/kdelibs/khtml/rendering/render_text.cpp
      	(TextSlaveArray::findFirstMatching): Fix two places where the KDE
      	code was depending on implementation details of QVector.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@612 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      20320915
  12. 09 Jan, 2002 1 commit
  13. 20 Dec, 2001 1 commit
  14. 18 Dec, 2001 1 commit
  15. 29 Nov, 2001 1 commit
  16. 12 Nov, 2001 1 commit
  17. 08 Nov, 2001 1 commit
    • kocienda's avatar
      A large set of changes: · 60bddac0
      kocienda authored
      	- I did a pass over all .mm files in WebCore/src/kwq, adding
      	actual return values for all functions that return something
      	(there were *many* cases where callers were left dangling).
      	- I added numerous log statements throughout the code.
      	- I made the log statement system configurable at runtime, so the
      	amount of logging can be increased or decreased as desired.
      	- I added an implementation for QVariant.
      	- I cleaned up the implementations of QBrush and QPen.
      	- I made general fixups and cleanups in various places.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@423 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      60bddac0
  18. 19 Oct, 2001 1 commit
  19. 24 Aug, 2001 1 commit