Ignore:
Timestamp:
Jul 21, 2002, 10:38:39 PM (23 years ago)
Author:
darin
Message:

JavaScriptCore:

  • kjs/*: Roll KDE 3.0.2 changes in. Also switch to not using APPLE_CHANGES for some of the changes that we definitely want to contribute upstream.

WebCore:

  • khtml/*: Roll KDE 3.0.2 changes in. Also switch to not using APPLE_CHANGES for some of the changes that we definitely want to contribute upstream.
  • WebCore.pbproj/project.pbxproj: Add KWQStyle.mm, remove KWQStyle.h, moving contents into qstyle.h.
  • kwq/KWQApplication.mm: (QApplication::globalStrut): Remove _logNotYetImplemented().
  • kwq/KWQButton.mm: (QButton::QButton): Use plain release, not autorelease.
  • kwq/KWQComboBox.mm: (QComboBox::init): Use plain release, not autorelease.
  • kwq/KWQListBox.mm: (QListBox::QListBox): Use plain release, not autorelease.
  • kwq/KWQPainter.mm: (QPainter::drawArc): Use plain release, not autorelease.
  • kwq/KWQKHTMLPartBrowserExtension.mm: Remove import of KWQKHTMLPartImpl.h, now that it's always part of khtml_part.h.
  • kwq/KWQKHTMLPartImpl.cpp: Simplify.
  • kwq/KWQKHTMLPartImpl.h: Add wrapper to allow multiple inclusion. Don't include khtml_part.h any more, since that file now includes this one to minimize changes to KDE code that needs to get to functions in here.
  • kwq/KWQKHTMLPartImpl.mm: (KHTMLPart::onURL), (KHTMLPart::nodeActivated), (KHTMLPart::setStatusBarText): Moved here from khtml_part.cpp.
  • kwq/KWQLoaderImpl.mm: Include khtml_part.h instead of KWQKHTMLPartImpl.h.
  • kwq/KWQPushButton.mm: (buttonFontMetrics), (QPushButton::fontMetrics): Added. Used by the form code to size buttons.
  • kwq/KWQStyle.mm: Added. (QStyle::sizeFromContents): Added. Used by the form code to size buttons.
  • kwq/KWQStyle.h: Removed.
  • kwq/qt/qstyle.h: Moved contents of KWQStyle.h in here.
  • kwq/qt/qwidget.h: Include <qstyle.h> rather than KWQStyle.h.
  • kwq/WebCoreBridge.mm: (-[WebCoreBridge isFrameSet]): Call straight to impl.
  • kwq/kdeui/klineedit.h: Add KLineEdit::frameWidth().
  • kwq/qt/qnamespace.h: Remove GUIStyle, MacStyle, and WindowsStyle.
  • kwq/qt/qpaintdevice.h: Add QInternal, QInternal::Printer, and QPaintDevice::devType().
  • kwq/qt/qpainter.h: Add QPainter::device().
  • kwq/qt/qpushbutton.h: Add QPushButton::fontMetrics().
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/kjs/internal.cpp

    r1371 r1623  
    22/*
    33 *  This file is part of the KDE libraries
    4  *  Copyright (C) 1999-2001 Harri Porten ([email protected])
     4 *  Copyright (C) 1999-2002 Harri Porten ([email protected])
    55 *  Copyright (C) 2001 Peter Kelly ([email protected])
    66 *
     
    837837
    838838  // Constructors (Object, Array, etc.)
    839 
    840   ObjectObjectImp *objectObj = new ObjectObjectImp(globExec,objProto,funcProto);
    841   b_Object = Object(objectObj);
    842   FunctionObjectImp *funcObj = new FunctionObjectImp(globExec,funcProto);
    843   b_Function = Object(funcObj);
    844   ArrayObjectImp *arrayObj = new ArrayObjectImp(globExec,funcProto,arrayProto);
    845   b_Array = Object(arrayObj);
    846   StringObjectImp *stringObj = new StringObjectImp(globExec,funcProto,stringProto);
    847   b_String = Object(stringObj);
    848   BooleanObjectImp *booleanObj = new BooleanObjectImp(globExec,funcProto,booleanProto);
    849   b_Boolean = Object(booleanObj);
    850   NumberObjectImp *numberObj = new NumberObjectImp(globExec,funcProto,numberProto);
    851   b_Number = Object(numberObj);
    852   DateObjectImp *dateObj = new DateObjectImp(globExec,funcProto,dateProto);
    853   b_Date = Object(dateObj);
    854   RegExpObjectImp *regexpObj = new RegExpObjectImp(globExec,regexpProto,funcProto);
    855   b_RegExp = Object(regexpObj);
    856   ErrorObjectImp *errorObj = new ErrorObjectImp(globExec,funcProto,errorProto);
    857   b_Error = Object(errorObj);
     839  b_Object = Object(new ObjectObjectImp(globExec, objProto, funcProto));
     840  b_Function = Object(new FunctionObjectImp(globExec, funcProto));
     841  b_Array = Object(new ArrayObjectImp(globExec, funcProto, arrayProto));
     842  b_String = Object(new StringObjectImp(globExec, funcProto, stringProto));
     843  b_Boolean = Object(new BooleanObjectImp(globExec, funcProto, booleanProto));
     844  b_Number = Object(new NumberObjectImp(globExec, funcProto, numberProto));
     845  b_Date = Object(new DateObjectImp(globExec, funcProto, dateProto));
     846  b_RegExp = Object(new RegExpObjectImp(globExec, funcProto, regexpProto));
     847  b_Error = Object(new ErrorObjectImp(globExec, funcProto, errorProto));
    858848
    859849  // Error object prototypes
     
    10171007  }
    10181008
    1019   // no program node means a syntax occurred
     1009  // no program node means a syntax error occurred
    10201010  if (!progNode) {
    10211011    Object err = Error::create(globExec,SyntaxError,errMsg.ascii(),errLine);
Note: See TracChangeset for help on using the changeset viewer.