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