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