Changeset 12315 in webkit for trunk/JavaScriptCore
- Timestamp:
- Jan 23, 2006, 9:10:45 AM (19 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r12309 r12315 1 2006-01-23 Darin Adler <[email protected]> 2 3 Reviewed by John Sullivan. 4 5 - change needed for fix to http://bugzilla.opendarwin.org/show_bug.cgi?id=6617 6 REGRESSION: Crash in cloneChildNodes when clicking element 7 8 * kxmlcore/PassRefPtr.h: Fix assignment operator from RefPtr of a different 9 type by calling get() instead of going directly at m_ptr. 10 * kxmlcore/RefPtr.h: Ditto. 11 12 - other changes 13 14 * JavaScriptCore.xcodeproj/project.pbxproj: Xcode decided to change this file. 15 It's just a resorted list of keys in a dictionary. 16 17 * kjs/fpconst.cpp: Wrap this file in #if __APPLE__ since the alternate version 18 in internal.cpp is in #if !__APPLE__. This file is to give us the "no init 19 routine" property we want to have on OS X. 20 1 21 2006-01-22 Maciej Stachowiak <[email protected]> 2 22 -
trunk/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj
r12161 r12315 381 381 933A349A038AE7C6008635CE /* identifier.h */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 4; lastKnownFileType = sourcecode.c.h; path = identifier.h; sourceTree = "<group>"; tabWidth = 8; }; 382 382 933A349D038AE80F008635CE /* identifier.cpp */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 4; lastKnownFileType = sourcecode.cpp.cpp; path = identifier.cpp; sourceTree = "<group>"; tabWidth = 8; }; 383 935F69F608244FEA003D1A45 /* dftables */ = {isa = PBXFileReference; includeInIndex = 0; lastKnownFileType = "compiled.mach-o.executable"; path = dftables; sourceTree = BUILT_PRODUCTS_DIR; };383 935F69F608244FEA003D1A45 /* dftables */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = dftables; sourceTree = BUILT_PRODUCTS_DIR; }; 384 384 9364B273045B7D6C00A9CAC1 /* fpconst.cpp */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 4; lastKnownFileType = sourcecode.cpp.cpp; path = fpconst.cpp; sourceTree = "<group>"; tabWidth = 8; }; 385 385 9373524E038DA8C2008635CE /* context.h */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 4; lastKnownFileType = sourcecode.c.h; path = context.h; sourceTree = "<group>"; tabWidth = 8; }; -
trunk/JavaScriptCore/kjs/fpconst.cpp
r12301 r12315 1 1 /* 2 * Copyright (C) 2003 Apple Computer, Inc.2 * Copyright (C) 2003, 2006 Apple Computer, Inc. 3 3 * 4 4 * This library is free software; you can redistribute it and/or … … 21 21 #include "config.h" 22 22 23 namespace KJS { 24 23 25 // This file exists because JavaScriptCore needs to define the NaN and Inf globals in a way 24 26 // that does not use a static initializer so we don't have a framework initialization routine. … … 30 32 // It would be good to figure out a 100% clean way that still avoids code that runs at init time. 31 33 32 namespace KJS { 34 #if __APPLE__ 33 35 34 36 #ifdef WORDS_BIGENDIAN … … 40 42 #endif 41 43 42 }; 44 #endif 45 46 } -
trunk/JavaScriptCore/kxmlcore/PassRefPtr.h
r12150 r12315 75 75 template <typename T> template <typename U> inline PassRefPtr<T>& PassRefPtr<T>::operator=(const RefPtr<U>& o) 76 76 { 77 T* optr = o. m_ptr;77 T* optr = o.get(); 78 78 if (optr) 79 79 optr->ref(); -
trunk/JavaScriptCore/kxmlcore/RefPtr.h
r12150 r12315 75 75 template <typename T> RefPtr<T>& RefPtr<T>::operator=(const RefPtr<T>& o) 76 76 { 77 T* optr = o. m_ptr;77 T* optr = o.get(); 78 78 if (optr) 79 79 optr->ref(); … … 87 87 template <typename T> template <typename U> RefPtr<T>& RefPtr<T>::operator=(const RefPtr<U>& o) 88 88 { 89 T *optr = o.m_ptr;89 T* optr = o.get(); 90 90 if (optr) 91 91 optr->ref();
Note:
See TracChangeset
for help on using the changeset viewer.