Reviewed by Darin.
[WebKit-https.git] / JavaScriptGlue / ChangeLog
1 2005-11-04  Timothy Hatcher  <timothy@apple.com>
2
3         Reviewed by Darin.
4
5         * JavaScriptGlue.xcodeproj/project.pbxproj:
6           Fixed the FRAMEWORK_SEARCH_PATHS to look in the WebKit
7           Frameworks for the Default config.
8
9 2005-11-03  Timothy Hatcher  <timothy@apple.com>
10
11         Reviewed by Darin and Vicki.
12
13         * JavaScriptGlue.xcodeproj/project.pbxproj:
14           Change to use $(SYSTEM_LIBRARY_DIR) consistently and place
15           $(NEXT_ROOT) in a few spots to make build-root work.
16
17 2005-11-01  Maciej Stachowiak  <mjs@apple.com>
18
19         Reviewed by: Eric.
20         
21         <rdar://problem/4324107> get JavaScriptGlue working with TOT JavaScriptCore again
22
23         - reverted all this stuff to use ReferenceList instead of IdentifierSequencedSet
24
25         * JSUtils.cpp:
26         (KJSValueToCFTypeInternal):
27         * JSValueWrapper.cpp:
28         (JSValueWrapper::JSObjectCopyPropertyNames):
29         * UserObjectImp.cpp:
30         (UserObjectImp::propList):
31         * UserObjectImp.h:
32
33 2005-10-11  Timothy Hatcher  <timothy@apple.com>
34
35         Setup the proper Framework search path for the Default config.
36         Prepping for a TOT submission and build by B&I.
37
38         * JavaScriptGlue.xcodeproj/project.pbxproj:
39
40 2005-10-10  Darin Adler  <darin@apple.com>
41
42         Reviewed by Eric.
43
44         - converted tabs to spaces, NULL to 0, added some (void), got rid of __ prefixes
45           in headers (reserved for compiler/library)
46
47         * Info.plist:
48         * JSBase.cpp:
49         * JSBase.h:
50         * JSObject.cpp:
51         * JSObject.h:
52         * JSRun.cpp:
53         * JSRun.h:
54         * JSUtils.cpp:
55         * JSUtils.h:
56         * JSValueWrapper.cpp:
57         * JSValueWrapper.h:
58         * JavaScriptGlue.cpp:
59         * JavaScriptGlue.h:
60         * UserObjectImp.cpp:
61         * UserObjectImp.h:
62
63 2005-10-10  Darin Adler  <darin@apple.com>
64
65         * .cvsignore: Added. Ignore Makefile.in and Makefile.
66
67 2005-10-07  Timothy Hatcher  <timothy@apple.com>
68
69         Reviewed by Maciej.
70         
71         Build fix, needed to disable RTTI. Upgraded to a native target.
72
73         * JavaScriptGlue.xcodeproj/project.pbxproj:
74         * Info.plist
75
76 2005-10-05  Maciej Stachowiak  <mjs@apple.com>
77
78         Reviewed by Eric and Darin.
79
80         <rdar://problem/4260506> Port JavaScriptGlue to TOT JavaScriptCore
81
82         * JSRun.cpp:
83         (JSRun::JSRun):
84         (JSRun::GlobalObject):
85         * JSRun.h:
86         (JSInterpreter::JSInterpreter):
87         * JSUtils.cpp:
88         (KJSValueToJSObject):
89         (JSObjectKJSValue):
90         (KJSValueToCFTypeInternal):
91         (KJSValueToCFType):
92         * JSUtils.h:
93         * JSValueWrapper.cpp:
94         (JSValueWrapper::JSValueWrapper):
95         (JSValueWrapper::GetValue):
96         (JSValueWrapper::JSObjectCopyPropertyNames):
97         (JSValueWrapper::JSObjectCopyProperty):
98         (JSValueWrapper::JSObjectSetProperty):
99         (JSValueWrapper::JSObjectCallFunction):
100         (JSValueWrapper::JSObjectMark):
101         * JSValueWrapper.h:
102         * JavaScriptGlue.cpp:
103         (JSRunCopyGlobalObject):
104         * JavaScriptGlue.xcodeproj/project.pbxproj:
105         * Makefile.am: Added.
106         * UserObjectImp.cpp:
107         (UserObjectPrototypeImp::GlobalUserObjectPrototypeImp):
108         (UserObjectImp::UserObjectImp):
109         (UserObjectImp::callAsFunction):
110         (UserObjectImp::getPropertyNames):
111         (UserObjectImp::userObjectGetter):
112         (UserObjectImp::getOwnPropertySlot):
113         (UserObjectImp::put):
114         (UserObjectImp::toPrimitive):
115         (UserObjectImp::mark):
116         * UserObjectImp.h:
117         * kxmlcore/FastMalloc.h: Added.
118         * kxmlcore/HashSet.h: Added.
119
120 2005-09-14  Maciej Stachowiak  <mjs@apple.com>
121
122         Reviewed by Geoff.
123
124         - fixed <rdar://problem/4214783> REGRESSION: kjs_fast_malloc crash due to lack of locking on multiple threads (seen selecting volumes in the installer)
125
126         Make sure to lock using the InterpreterLock class in all places that need it
127         (including anything that uses the collector, the parser, the protect count hash table,
128         and anything that allocates via fast_malloc).
129
130         * JSUtils.cpp:
131         (CFStringToUString):
132         (JSObjectKJSValue):
133         (KJSValueToCFTypeInternal):
134         * JSUtils.h:
135         * JSValueWrapper.cpp:
136         (JSValueWrapper::JSObjectCopyPropertyNames):
137         (JSValueWrapper::JSObjectCopyProperty):
138         (JSValueWrapper::JSObjectSetProperty):
139         (JSValueWrapper::JSObjectCallFunction):
140         (JSValueWrapper::JSObjectCopyCFValue):
141         * JavaScriptGlue.cpp:
142         (JSCollect):
143
144 2005-09-27  Adele Peterson  <adele@apple.com>
145
146         Reviewed by Maciej.
147
148         <rdar://problem/4223297> JavaScriptGlue: Submit 64-bit compatible versions of your API and SPIs by September 15
149
150         * JavaScriptGlue.h: Changed UInt32 to CFTypeID for JSTypeID
151
152 2005-09-06  Geoffrey Garen  <ggaren@apple.com>
153
154         -upgraded project files to XCode 2.1
155
156         * JavaScriptGlue.pbproj/project.pbxproj: Removed.
157         * JavaScriptGlue.xcodeproj/.cvsignore: Added.
158         * JavaScriptGlue.xcodeproj/project.pbxproj: Added.
159
160 2005-09-01  Maciej Stachowiak  <mjs@apple.com>
161
162         Rubber stamped by hyatt.
163
164         - initial import of JavaScriptGlue into our repository
165
166         * English.lproj/InfoPlist.strings: Added.
167         * JSBase.cpp: Added.
168         (JSBase::JSBase):
169         (JSBase::~JSBase):
170         (JSBase::Retain):
171         (JSBase::Release):
172         (JSBase::RetainCount):
173         (JSBase::GetTypeID):
174         (JSBase::CopyDescription):
175         (JSBase::Equal):
176         * JSBase.h: Added.
177         * JSObject.cpp: Added.
178         (JSUserObject::JSUserObject):
179         (JSUserObject::~JSUserObject):
180         (JSUserObject::CopyPropertyNames):
181         (JSUserObject::CopyProperty):
182         (JSUserObject::SetProperty):
183         (JSUserObject::ImplementsCall):
184         (JSUserObject::CallFunction):
185         (JSUserObject::CopyCFValue):
186         (JSUserObject::Equal):
187         (JSUserObject::Mark):
188         (JSUserObject::GetData):
189         * JSObject.h: Added.
190         (JSUserObject::DataType):
191         * JSRun.cpp: Added.
192         (JSRun::JSRun):
193         (JSRun::~JSRun):
194         (JSRun::Flags):
195         (JSRun::GetSource):
196         (JSRun::GlobalObject):
197         (JSRun::GetInterpreter):
198         (JSRun::Evaluate):
199         (JSRun::CheckSyntax):
200         * JSRun.h: Added.
201         (JSInterpreter::JSInterpreter):
202         (JSInterpreter::JSInterpreter::~JSInterpreter):
203         (JSInterpreter::Flags):
204         * JSUtils.cpp: Added.
205         (CFStringToUString):
206         (UStringToCFString):
207         (CFStringToIdentifier):
208         (IdentifierToCFString):
209         (KJSValueToJSObject):
210         (JSObjectKJSValue):
211         (KJSValueToCFTypeInternal):
212         (KJSValueToCFType):
213         (GetCFNull):
214         * JSUtils.h: Added.
215         (RetainCFType):
216         (ReleaseCFType):
217         * JSValueWrapper.cpp: Added.
218         (JSValueWrapper::JSValueWrapper):
219         (JSValueWrapper::~JSValueWrapper):
220         (JSValueWrapper::GetValue):
221         (JSValueWrapper::GetExecState):
222         (JSValueWrapper::GetJSObectCallBacks):
223         (JSValueWrapper::JSObjectDispose):
224         (JSValueWrapper::JSObjectCopyPropertyNames):
225         (JSValueWrapper::JSObjectCopyProperty):
226         (JSValueWrapper::JSObjectSetProperty):
227         (JSValueWrapper::JSObjectCallFunction):
228         (JSValueWrapper::JSObjectCopyCFValue):
229         (JSValueWrapper::JSObjectMark):
230         * JSValueWrapper.h: Added.
231         * JavaScriptGlue.cpp: Added.
232         (JSSetCFNull):
233         (JSGetCFNull):
234         (JSRetain):
235         (JSRelease):
236         (JSCopyDescription):
237         (JSEqual):
238         (JSGetTypeID):
239         (JSGetRetainCount):
240         (JSObjectCreate):
241         (JSObjectCreateInternal):
242         (JSObjectCopyCFValue):
243         (JSObjectGetData):
244         (JSObjectCopyProperty):
245         (JSObjectSetProperty):
246         (JSObjectCallFunction):
247         (JSRunCreate):
248         (JSRunCopySource):
249         (JSRunCopyGlobalObject):
250         (JSRunEvaluate):
251         (JSRunCheckSyntax):
252         (JSCollect):
253         (JSTypeGetCFArrayCallBacks):
254         (JSCFRetain):
255         (JSCFRelease):
256         (JSObjectCreateWithCFType):
257         (CFJSObjectDispose):
258         (JSObjectCopyPropertyNames):
259         (CFJSObjectCopyProperty):
260         (CFJSObjectSetProperty):
261         (CFJSObjectCopyCFValue):
262         (CFJSObjectEqual):
263         (CFJSObjectCopyPropertyNames):
264         (JSCreateCFArrayFromJSArray):
265         (JSCreateJSArrayFromCFArray):
266         (JSLockInterpreter):
267         (JSUnlockInterpreter):
268         * JavaScriptGlue.exp: Added.
269         * JavaScriptGlue.h: Added.
270         * JavaScriptGlue.pbproj/project.pbxproj: Added.
271         * UserObjectImp.cpp: Added.
272         (UserObjectPrototypeImp::UserObjectPrototypeImp):
273         (UserObjectPrototypeImp::GlobalUserObjectPrototypeImp):
274         (UserObjectImp::UserObjectImp):
275         (UserObjectImp::~UserObjectImp):
276         (UserObjectImp::classInfo):
277         (UserObjectImp::implementsCall):
278         (UserObjectImp::call):
279         (UserObjectImp::propList):
280         (UserObjectImp::hasProperty):
281         (UserObjectImp::get):
282         (UserObjectImp::put):
283         (UserObjectImp::GetJSUserObject):
284         (UserObjectImp::toPrimitive):
285         (UserObjectImp::toBoolean):
286         (UserObjectImp::toNumber):
287         (UserObjectImp::toString):
288         (UserObjectImp::mark):
289         * UserObjectImp.h: Added.
290