Changeset 2256 in webkit for trunk/JavaScriptCore


Ignore:
Timestamp:
Oct 4, 2002, 8:31:11 PM (23 years ago)
Author:
darin
Message:
  • fixed 2992187 -- Should use curly quotes in status bar messages, window titles, and error dialogs
  • BrowserWindowController.m: (-[BrowserWindowController performQuickSearch:]): (-[BrowserWindowController goToToolbarLocation:]): Change the last two straight apostrophes to curly ones.
Location:
trunk/JavaScriptCore/kjs
Files:
4 edited

Legend:

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

    r1859 r2256  
    160160    friend class List;
    161161    friend class InterpreterImp;
    162   public:
     162    friend class ObjectImp;
     163  private:
    163164    ListImp();
    164165    ~ListImp();
  • trunk/JavaScriptCore/kjs/interpreter.cpp

    r1623 r2256  
    310310    ;
    311311
    312   fprintf(stderr,"ListImp::count = %d\n", KJS::ListImp::count);
    313312  Node::finalCheck();
    314313  Collector::finalCheck();
  • trunk/JavaScriptCore/kjs/types.cpp

    r1859 r2256  
    108108}
    109109
    110 List List::dynamicCast(const Value &v)
    111 {
    112   if (v.isNull() || v.type() != ListType)
    113     return 0;
    114 
    115   return static_cast<ListImp*>(v.imp());
    116 }
    117 
    118110void List::append(const Value& val)
    119111{
  • trunk/JavaScriptCore/kjs/types.h

    r1977 r2256  
    102102   * as properties of objects.
    103103   *
    104    * The list is explicitly shared. Note that while copy() returns a deep
     104   * The list is explicitly shared. Note that while copy() returns a
    105105   * copy of the list the referenced objects are still shared.
    106106   */
     
    109109  public:
    110110    List();
    111     List(ListImp *);
    112 
    113     /**
    114      * Converts a Value into an List. If the value's type is not
    115      * ListType, a null object will be returned (i.e. one with it's
    116      * internal pointer set to 0). If you do not know for sure whether the
    117      * value is of type List, you should check the @ref isNull()
    118      * methods afterwards before calling any methods on the returned value.
    119      *
    120      * @return The value converted to an List
    121      */
    122     static List dynamicCast(const Value &v);
     111
    123112    /**
    124113     * Append an object to the end of the list.
     
    159148    void clear();
    160149    /**
    161      * Returns a deep copy of the list. Ownership is passed to the user
     150     * Returns a shallow copy of the list. Ownership is passed to the user
    162151     * who is responsible for deleting the list then.
    163152     */
     
    193182    Value operator[](int i) const;
    194183
    195     ListImp *imp() const { return (ListImp *)Value::imp(); }
    196 
    197184    /**
    198185     * Returns a pointer to a static instance of an empty list. Useful if a
     
    203190    static void globalClear();
    204191#endif
     192
     193  private:
     194    List(ListImp *);
     195    ListImp *imp() const { return (ListImp *)Value::imp(); }
     196    friend class ObjectImp;
    205197  };
    206198
Note: See TracChangeset for help on using the changeset viewer.