top level:
[WebKit-https.git] / JavaScriptGlue / ChangeLog
1 2005-10-05  Maciej Stachowiak  <mjs@apple.com>
2
3         Reviewed by Eric and Darin.
4
5         <rdar://problem/4260506> Port JavaScriptGlue to TOT JavaScriptCore
6
7         * JSRun.cpp:
8         (JSRun::JSRun):
9         (JSRun::GlobalObject):
10         * JSRun.h:
11         (JSInterpreter::JSInterpreter):
12         * JSUtils.cpp:
13         (KJSValueToJSObject):
14         (JSObjectKJSValue):
15         (KJSValueToCFTypeInternal):
16         (KJSValueToCFType):
17         * JSUtils.h:
18         * JSValueWrapper.cpp:
19         (JSValueWrapper::JSValueWrapper):
20         (JSValueWrapper::GetValue):
21         (JSValueWrapper::JSObjectCopyPropertyNames):
22         (JSValueWrapper::JSObjectCopyProperty):
23         (JSValueWrapper::JSObjectSetProperty):
24         (JSValueWrapper::JSObjectCallFunction):
25         (JSValueWrapper::JSObjectMark):
26         * JSValueWrapper.h:
27         * JavaScriptGlue.cpp:
28         (JSRunCopyGlobalObject):
29         * JavaScriptGlue.xcodeproj/project.pbxproj:
30         * Makefile.am: Added.
31         * UserObjectImp.cpp:
32         (UserObjectPrototypeImp::GlobalUserObjectPrototypeImp):
33         (UserObjectImp::UserObjectImp):
34         (UserObjectImp::callAsFunction):
35         (UserObjectImp::getPropertyNames):
36         (UserObjectImp::userObjectGetter):
37         (UserObjectImp::getOwnPropertySlot):
38         (UserObjectImp::put):
39         (UserObjectImp::toPrimitive):
40         (UserObjectImp::mark):
41         * UserObjectImp.h:
42         * kxmlcore/FastMalloc.h: Added.
43         * kxmlcore/HashSet.h: Added.
44
45 2005-09-14  Maciej Stachowiak  <mjs@apple.com>
46
47         Reviewed by Geoff.
48
49         - fixed <rdar://problem/4214783> REGRESSION: kjs_fast_malloc crash due to lack of locking on multiple threads (seen selecting volumes in the installer)
50
51         Make sure to lock using the InterpreterLock class in all places that need it
52         (including anything that uses the collector, the parser, the protect count hash table,
53         and anything that allocates via fast_malloc).
54
55         * JSUtils.cpp:
56         (CFStringToUString):
57         (JSObjectKJSValue):
58         (KJSValueToCFTypeInternal):
59         * JSUtils.h:
60         * JSValueWrapper.cpp:
61         (JSValueWrapper::JSObjectCopyPropertyNames):
62         (JSValueWrapper::JSObjectCopyProperty):
63         (JSValueWrapper::JSObjectSetProperty):
64         (JSValueWrapper::JSObjectCallFunction):
65         (JSValueWrapper::JSObjectCopyCFValue):
66         * JavaScriptGlue.cpp:
67         (JSCollect):
68
69 2005-09-27  Adele Peterson  <adele@apple.com>
70
71         Reviewed by Maciej.
72
73         <rdar://problem/4223297> JavaScriptGlue: Submit 64-bit compatible versions of your API and SPIs by September 15
74
75         * JavaScriptGlue.h: Changed UInt32 to CFTypeID for JSTypeID
76
77 2005-09-06  Geoffrey Garen  <ggaren@apple.com>
78
79         -upgraded project files to XCode 2.1
80
81         * JavaScriptGlue.pbproj/project.pbxproj: Removed.
82         * JavaScriptGlue.xcodeproj/.cvsignore: Added.
83         * JavaScriptGlue.xcodeproj/project.pbxproj: Added.
84
85 2005-09-01  Maciej Stachowiak  <mjs@apple.com>
86
87         Rubber stamped by hyatt.
88
89         - initial import of JavaScriptGlue into our repository
90
91         * English.lproj/InfoPlist.strings: Added.
92         * JSBase.cpp: Added.
93         (JSBase::JSBase):
94         (JSBase::~JSBase):
95         (JSBase::Retain):
96         (JSBase::Release):
97         (JSBase::RetainCount):
98         (JSBase::GetTypeID):
99         (JSBase::CopyDescription):
100         (JSBase::Equal):
101         * JSBase.h: Added.
102         * JSObject.cpp: Added.
103         (JSUserObject::JSUserObject):
104         (JSUserObject::~JSUserObject):
105         (JSUserObject::CopyPropertyNames):
106         (JSUserObject::CopyProperty):
107         (JSUserObject::SetProperty):
108         (JSUserObject::ImplementsCall):
109         (JSUserObject::CallFunction):
110         (JSUserObject::CopyCFValue):
111         (JSUserObject::Equal):
112         (JSUserObject::Mark):
113         (JSUserObject::GetData):
114         * JSObject.h: Added.
115         (JSUserObject::DataType):
116         * JSRun.cpp: Added.
117         (JSRun::JSRun):
118         (JSRun::~JSRun):
119         (JSRun::Flags):
120         (JSRun::GetSource):
121         (JSRun::GlobalObject):
122         (JSRun::GetInterpreter):
123         (JSRun::Evaluate):
124         (JSRun::CheckSyntax):
125         * JSRun.h: Added.
126         (JSInterpreter::JSInterpreter):
127         (JSInterpreter::JSInterpreter::~JSInterpreter):
128         (JSInterpreter::Flags):
129         * JSUtils.cpp: Added.
130         (CFStringToUString):
131         (UStringToCFString):
132         (CFStringToIdentifier):
133         (IdentifierToCFString):
134         (KJSValueToJSObject):
135         (JSObjectKJSValue):
136         (KJSValueToCFTypeInternal):
137         (KJSValueToCFType):
138         (GetCFNull):
139         * JSUtils.h: Added.
140         (RetainCFType):
141         (ReleaseCFType):
142         * JSValueWrapper.cpp: Added.
143         (JSValueWrapper::JSValueWrapper):
144         (JSValueWrapper::~JSValueWrapper):
145         (JSValueWrapper::GetValue):
146         (JSValueWrapper::GetExecState):
147         (JSValueWrapper::GetJSObectCallBacks):
148         (JSValueWrapper::JSObjectDispose):
149         (JSValueWrapper::JSObjectCopyPropertyNames):
150         (JSValueWrapper::JSObjectCopyProperty):
151         (JSValueWrapper::JSObjectSetProperty):
152         (JSValueWrapper::JSObjectCallFunction):
153         (JSValueWrapper::JSObjectCopyCFValue):
154         (JSValueWrapper::JSObjectMark):
155         * JSValueWrapper.h: Added.
156         * JavaScriptGlue.cpp: Added.
157         (JSSetCFNull):
158         (JSGetCFNull):
159         (JSRetain):
160         (JSRelease):
161         (JSCopyDescription):
162         (JSEqual):
163         (JSGetTypeID):
164         (JSGetRetainCount):
165         (JSObjectCreate):
166         (JSObjectCreateInternal):
167         (JSObjectCopyCFValue):
168         (JSObjectGetData):
169         (JSObjectCopyProperty):
170         (JSObjectSetProperty):
171         (JSObjectCallFunction):
172         (JSRunCreate):
173         (JSRunCopySource):
174         (JSRunCopyGlobalObject):
175         (JSRunEvaluate):
176         (JSRunCheckSyntax):
177         (JSCollect):
178         (JSTypeGetCFArrayCallBacks):
179         (JSCFRetain):
180         (JSCFRelease):
181         (JSObjectCreateWithCFType):
182         (CFJSObjectDispose):
183         (JSObjectCopyPropertyNames):
184         (CFJSObjectCopyProperty):
185         (CFJSObjectSetProperty):
186         (CFJSObjectCopyCFValue):
187         (CFJSObjectEqual):
188         (CFJSObjectCopyPropertyNames):
189         (JSCreateCFArrayFromJSArray):
190         (JSCreateJSArrayFromCFArray):
191         (JSLockInterpreter):
192         (JSUnlockInterpreter):
193         * JavaScriptGlue.exp: Added.
194         * JavaScriptGlue.h: Added.
195         * JavaScriptGlue.pbproj/project.pbxproj: Added.
196         * UserObjectImp.cpp: Added.
197         (UserObjectPrototypeImp::UserObjectPrototypeImp):
198         (UserObjectPrototypeImp::GlobalUserObjectPrototypeImp):
199         (UserObjectImp::UserObjectImp):
200         (UserObjectImp::~UserObjectImp):
201         (UserObjectImp::classInfo):
202         (UserObjectImp::implementsCall):
203         (UserObjectImp::call):
204         (UserObjectImp::propList):
205         (UserObjectImp::hasProperty):
206         (UserObjectImp::get):
207         (UserObjectImp::put):
208         (UserObjectImp::GetJSUserObject):
209         (UserObjectImp::toPrimitive):
210         (UserObjectImp::toBoolean):
211         (UserObjectImp::toNumber):
212         (UserObjectImp::toString):
213         (UserObjectImp::mark):
214         * UserObjectImp.h: Added.
215