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