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