Adding release markers.
[WebKit-https.git] / JavaScriptGlue / ChangeLog
1 === Safari-521~5 ===
2
3 2005-12-13  Geoffrey Garen  <ggaren@apple.com>
4
5         - Fixed build after Anders's last checkin to JavaScriptCore.
6         
7         Reviewed by darin.
8
9         * UserObjectImp.cpp:
10         (UserObjectImp::userObjectGetter): Updated to reflect new argument that 
11         getters take (unused here).
12         * UserObjectImp.h:
13
14 2005-12-13  Maciej Stachowiak  <mjs@apple.com>
15
16         Reviewed by Eric.
17
18         - added forwarding header for HashCountedSet
19
20         * kxmlcore/HashCountedSet.h: Added.
21
22 2005-12-10  Darin Adler  <darin@apple.com>
23
24         Rubber stamped by Maciej.
25
26         - updated for KJS class renaming
27
28         * many files and functions
29
30 2005-12-10  Darin Adler  <darin@apple.com>
31
32         Reviewed by Maciej.
33
34         - eliminated the old Undefined(), Null(), Boolean(), Number(), and String()
35
36         Code now uses jsUndefined(), jsNull(), jsBoolean(), jsNumber(), and jsString().
37
38         * JSUtils.cpp:
39         (JSObjectKJSValue):
40         * UserObjectImp.cpp:
41         (UserObjectImp::callAsFunction):
42         (UserObjectImp::toPrimitive):
43
44 2005-12-05  Maciej Stachowiak  <mjs@apple.com>
45
46         - added new forwarding headers
47
48         * kxmlcore/PassRefPtr.h: Added.
49         * kxmlcore/RefPtr.h: Added.
50
51 2005-12-05  Maciej Stachowiak  <mjs@apple.com>
52
53         Reviewed by NOBODY (OOPS!).
54
55         * kxmlcore/PassRefPtr.h: Added.
56
57 2005-11-26  Maciej Stachowiak  <mjs@apple.com>
58
59         Rubber stamped by Eric.
60
61         - renamed InterpreterLock to JSLock
62
63         * JSUtils.cpp:
64         (CFStringToUString):
65         (JSObjectKJSValue):
66         (KJSValueToCFTypeInternal):
67         * JSValueWrapper.cpp:
68         (JSValueWrapper::JSObjectCopyPropertyNames):
69         (JSValueWrapper::JSObjectCopyProperty):
70         (JSValueWrapper::JSObjectSetProperty):
71         (JSValueWrapper::JSObjectCallFunction):
72         (JSValueWrapper::JSObjectCopyCFValue):
73         * JavaScriptGlue.cpp:
74         (JSRunCreate):
75         (JSCollect):
76         (JSLockInterpreter):
77         (JSUnlockInterpreter):
78         * UserObjectImp.cpp:
79         (UserObjectImp::callAsFunction):
80
81 2005-11-16  Maciej Stachowiak  <mjs@apple.com>
82
83         Reviewed by Geoff.
84
85         Updated to use new API to drop all locks.
86
87         * JavaScriptGlue.cpp:
88         (JSLockInterpreter):
89         (JSUnlockInterpreter):
90         * UserObjectImp.cpp:
91         (UserObjectImp::callAsFunction):
92
93 2005-11-14  Geoffrey Garen  <ggaren@apple.com>
94
95         Reviewed by mjs.
96
97         - Part of the fix for <rdar://problem/4342216> Installer crash in 
98           KJS::ValueImp::marked() when garbage collector runs inside call to 
99           ConstantValues::init()
100           
101         Added locking in JSRunCreate, since JSRun::JSRun constructs an object.
102         
103         * JavaScriptGlue.cpp:
104         (JSRunCreate):
105
106 2005-11-10  Geoffrey Garen  <ggaren@apple.com>
107
108         Reviewed by Maciej.
109
110         - Fixed <rdar://problem/4334445> installer crashed on my 
111           dual g4 450Mhz after clicking language
112
113         - Reversed backwards NULL check.
114         - Inserted guards against NULL fJSUserObject data member.
115         - Cleaned up some style.
116
117         * JSUtils.cpp:
118         (KJSValueToCFTypeInternal):
119         * UserObjectImp.cpp:
120         (UserObjectImp::~UserObjectImp):
121         (UserObjectImp::callAsFunction):
122         (UserObjectImp::userObjectGetter):
123         (UserObjectImp::getOwnPropertySlot):
124         (UserObjectImp::put):
125         (UserObjectImp::mark):
126
127 2005-11-04  Timothy Hatcher  <timothy@apple.com>
128
129         Reviewed by Darin.
130
131         * JavaScriptGlue.xcodeproj/project.pbxproj:
132           Fixed the FRAMEWORK_SEARCH_PATHS to look in the WebKit
133           Frameworks for the Default config.
134
135 2005-11-03  Timothy Hatcher  <timothy@apple.com>
136
137         Reviewed by Darin and Vicki.
138
139         * JavaScriptGlue.xcodeproj/project.pbxproj:
140           Change to use $(SYSTEM_LIBRARY_DIR) consistently and place
141           $(NEXT_ROOT) in a few spots to make build-root work.
142
143 2005-11-01  Maciej Stachowiak  <mjs@apple.com>
144
145         Reviewed by: Eric.
146         
147         <rdar://problem/4324107> get JavaScriptGlue working with TOT JavaScriptCore again
148
149         - reverted all this stuff to use ReferenceList instead of IdentifierSequencedSet
150
151         * JSUtils.cpp:
152         (KJSValueToCFTypeInternal):
153         * JSValueWrapper.cpp:
154         (JSValueWrapper::JSObjectCopyPropertyNames):
155         * UserObjectImp.cpp:
156         (UserObjectImp::propList):
157         * UserObjectImp.h:
158
159 2005-10-11  Timothy Hatcher  <timothy@apple.com>
160
161         Setup the proper Framework search path for the Default config.
162         Prepping for a TOT submission and build by B&I.
163
164         * JavaScriptGlue.xcodeproj/project.pbxproj:
165
166 2005-10-10  Darin Adler  <darin@apple.com>
167
168         Reviewed by Eric.
169
170         - converted tabs to spaces, NULL to 0, added some (void), got rid of __ prefixes
171           in headers (reserved for compiler/library)
172
173         * Info.plist:
174         * JSBase.cpp:
175         * JSBase.h:
176         * JSObject.cpp:
177         * JSObject.h:
178         * JSRun.cpp:
179         * JSRun.h:
180         * JSUtils.cpp:
181         * JSUtils.h:
182         * JSValueWrapper.cpp:
183         * JSValueWrapper.h:
184         * JavaScriptGlue.cpp:
185         * JavaScriptGlue.h:
186         * UserObjectImp.cpp:
187         * UserObjectImp.h:
188
189 2005-10-10  Darin Adler  <darin@apple.com>
190
191         * .cvsignore: Added. Ignore Makefile.in and Makefile.
192
193 2005-10-07  Timothy Hatcher  <timothy@apple.com>
194
195         Reviewed by Maciej.
196         
197         Build fix, needed to disable RTTI. Upgraded to a native target.
198
199         * JavaScriptGlue.xcodeproj/project.pbxproj:
200         * Info.plist
201
202 2005-10-05  Maciej Stachowiak  <mjs@apple.com>
203
204         Reviewed by Eric and Darin.
205
206         <rdar://problem/4260506> Port JavaScriptGlue to TOT JavaScriptCore
207
208         * JSRun.cpp:
209         (JSRun::JSRun):
210         (JSRun::GlobalObject):
211         * JSRun.h:
212         (JSInterpreter::JSInterpreter):
213         * JSUtils.cpp:
214         (KJSValueToJSObject):
215         (JSObjectKJSValue):
216         (KJSValueToCFTypeInternal):
217         (KJSValueToCFType):
218         * JSUtils.h:
219         * JSValueWrapper.cpp:
220         (JSValueWrapper::JSValueWrapper):
221         (JSValueWrapper::GetValue):
222         (JSValueWrapper::JSObjectCopyPropertyNames):
223         (JSValueWrapper::JSObjectCopyProperty):
224         (JSValueWrapper::JSObjectSetProperty):
225         (JSValueWrapper::JSObjectCallFunction):
226         (JSValueWrapper::JSObjectMark):
227         * JSValueWrapper.h:
228         * JavaScriptGlue.cpp:
229         (JSRunCopyGlobalObject):
230         * JavaScriptGlue.xcodeproj/project.pbxproj:
231         * Makefile.am: Added.
232         * UserObjectImp.cpp:
233         (UserObjectPrototypeImp::GlobalUserObjectPrototypeImp):
234         (UserObjectImp::UserObjectImp):
235         (UserObjectImp::callAsFunction):
236         (UserObjectImp::getPropertyNames):
237         (UserObjectImp::userObjectGetter):
238         (UserObjectImp::getOwnPropertySlot):
239         (UserObjectImp::put):
240         (UserObjectImp::toPrimitive):
241         (UserObjectImp::mark):
242         * UserObjectImp.h:
243         * kxmlcore/FastMalloc.h: Added.
244         * kxmlcore/HashSet.h: Added.
245
246 2005-09-14  Maciej Stachowiak  <mjs@apple.com>
247
248         Reviewed by Geoff.
249
250         - fixed <rdar://problem/4214783> REGRESSION: kjs_fast_malloc crash due to lack of locking on multiple threads (seen selecting volumes in the installer)
251
252         Make sure to lock using the InterpreterLock class in all places that need it
253         (including anything that uses the collector, the parser, the protect count hash table,
254         and anything that allocates via fast_malloc).
255
256         * JSUtils.cpp:
257         (CFStringToUString):
258         (JSObjectKJSValue):
259         (KJSValueToCFTypeInternal):
260         * JSUtils.h:
261         * JSValueWrapper.cpp:
262         (JSValueWrapper::JSObjectCopyPropertyNames):
263         (JSValueWrapper::JSObjectCopyProperty):
264         (JSValueWrapper::JSObjectSetProperty):
265         (JSValueWrapper::JSObjectCallFunction):
266         (JSValueWrapper::JSObjectCopyCFValue):
267         * JavaScriptGlue.cpp:
268         (JSCollect):
269
270 2005-09-27  Adele Peterson  <adele@apple.com>
271
272         Reviewed by Maciej.
273
274         <rdar://problem/4223297> JavaScriptGlue: Submit 64-bit compatible versions of your API and SPIs by September 15
275
276         * JavaScriptGlue.h: Changed UInt32 to CFTypeID for JSTypeID
277
278 2005-09-06  Geoffrey Garen  <ggaren@apple.com>
279
280         -upgraded project files to XCode 2.1
281
282         * JavaScriptGlue.pbproj/project.pbxproj: Removed.
283         * JavaScriptGlue.xcodeproj/.cvsignore: Added.
284         * JavaScriptGlue.xcodeproj/project.pbxproj: Added.
285
286 2005-09-01  Maciej Stachowiak  <mjs@apple.com>
287
288         Rubber stamped by hyatt.
289
290         - initial import of JavaScriptGlue into our repository
291
292         * English.lproj/InfoPlist.strings: Added.
293         * JSBase.cpp: Added.
294         (JSBase::JSBase):
295         (JSBase::~JSBase):
296         (JSBase::Retain):
297         (JSBase::Release):
298         (JSBase::RetainCount):
299         (JSBase::GetTypeID):
300         (JSBase::CopyDescription):
301         (JSBase::Equal):
302         * JSBase.h: Added.
303         * JSObject.cpp: Added.
304         (JSUserObject::JSUserObject):
305         (JSUserObject::~JSUserObject):
306         (JSUserObject::CopyPropertyNames):
307         (JSUserObject::CopyProperty):
308         (JSUserObject::SetProperty):
309         (JSUserObject::ImplementsCall):
310         (JSUserObject::CallFunction):
311         (JSUserObject::CopyCFValue):
312         (JSUserObject::Equal):
313         (JSUserObject::Mark):
314         (JSUserObject::GetData):
315         * JSObject.h: Added.
316         (JSUserObject::DataType):
317         * JSRun.cpp: Added.
318         (JSRun::JSRun):
319         (JSRun::~JSRun):
320         (JSRun::Flags):
321         (JSRun::GetSource):
322         (JSRun::GlobalObject):
323         (JSRun::GetInterpreter):
324         (JSRun::Evaluate):
325         (JSRun::CheckSyntax):
326         * JSRun.h: Added.
327         (JSInterpreter::JSInterpreter):
328         (JSInterpreter::JSInterpreter::~JSInterpreter):
329         (JSInterpreter::Flags):
330         * JSUtils.cpp: Added.
331         (CFStringToUString):
332         (UStringToCFString):
333         (CFStringToIdentifier):
334         (IdentifierToCFString):
335         (KJSValueToJSObject):
336         (JSObjectKJSValue):
337         (KJSValueToCFTypeInternal):
338         (KJSValueToCFType):
339         (GetCFNull):
340         * JSUtils.h: Added.
341         (RetainCFType):
342         (ReleaseCFType):
343         * JSValueWrapper.cpp: Added.
344         (JSValueWrapper::JSValueWrapper):
345         (JSValueWrapper::~JSValueWrapper):
346         (JSValueWrapper::GetValue):
347         (JSValueWrapper::GetExecState):
348         (JSValueWrapper::GetJSObectCallBacks):
349         (JSValueWrapper::JSObjectDispose):
350         (JSValueWrapper::JSObjectCopyPropertyNames):
351         (JSValueWrapper::JSObjectCopyProperty):
352         (JSValueWrapper::JSObjectSetProperty):
353         (JSValueWrapper::JSObjectCallFunction):
354         (JSValueWrapper::JSObjectCopyCFValue):
355         (JSValueWrapper::JSObjectMark):
356         * JSValueWrapper.h: Added.
357         * JavaScriptGlue.cpp: Added.
358         (JSSetCFNull):
359         (JSGetCFNull):
360         (JSRetain):
361         (JSRelease):
362         (JSCopyDescription):
363         (JSEqual):
364         (JSGetTypeID):
365         (JSGetRetainCount):
366         (JSObjectCreate):
367         (JSObjectCreateInternal):
368         (JSObjectCopyCFValue):
369         (JSObjectGetData):
370         (JSObjectCopyProperty):
371         (JSObjectSetProperty):
372         (JSObjectCallFunction):
373         (JSRunCreate):
374         (JSRunCopySource):
375         (JSRunCopyGlobalObject):
376         (JSRunEvaluate):
377         (JSRunCheckSyntax):
378         (JSCollect):
379         (JSTypeGetCFArrayCallBacks):
380         (JSCFRetain):
381         (JSCFRelease):
382         (JSObjectCreateWithCFType):
383         (CFJSObjectDispose):
384         (JSObjectCopyPropertyNames):
385         (CFJSObjectCopyProperty):
386         (CFJSObjectSetProperty):
387         (CFJSObjectCopyCFValue):
388         (CFJSObjectEqual):
389         (CFJSObjectCopyPropertyNames):
390         (JSCreateCFArrayFromJSArray):
391         (JSCreateJSArrayFromCFArray):
392         (JSLockInterpreter):
393         (JSUnlockInterpreter):
394         * JavaScriptGlue.exp: Added.
395         * JavaScriptGlue.h: Added.
396         * JavaScriptGlue.pbproj/project.pbxproj: Added.
397         * UserObjectImp.cpp: Added.
398         (UserObjectPrototypeImp::UserObjectPrototypeImp):
399         (UserObjectPrototypeImp::GlobalUserObjectPrototypeImp):
400         (UserObjectImp::UserObjectImp):
401         (UserObjectImp::~UserObjectImp):
402         (UserObjectImp::classInfo):
403         (UserObjectImp::implementsCall):
404         (UserObjectImp::call):
405         (UserObjectImp::propList):
406         (UserObjectImp::hasProperty):
407         (UserObjectImp::get):
408         (UserObjectImp::put):
409         (UserObjectImp::GetJSUserObject):
410         (UserObjectImp::toPrimitive):
411         (UserObjectImp::toBoolean):
412         (UserObjectImp::toNumber):
413         (UserObjectImp::toString):
414         (UserObjectImp::mark):
415         * UserObjectImp.h: Added.
416