Adding versioning and markers from earlier.
[WebKit-https.git] / JavaScriptGlue / ChangeLog
1 === Safari-521.18 ===
2
3 2006-07-15  Maciej Stachowiak  <mjs@apple.com>
4
5         Reviewed by Darin.
6
7         - switch property lists to be vector+set of Identifiers instead of list of References
8         
9         * JSUtils.cpp:
10         (KJSValueToCFTypeInternal): updated for JSC SPI changes
11         * JSValueWrapper.cpp:
12         (JSValueWrapper::JSObjectCopyPropertyNames): ditto
13         * UserObjectImp.cpp:
14         (UserObjectImp::getPropertyNames): ditto
15         * UserObjectImp.h:
16
17 === Safari-521.17 ===
18
19 2006-07-14  Geoffrey Garen  <ggaren@apple.com>
20
21         Reviewed by Maciej.
22         
23         - Updated JSInterpreter to work with Interpreter ref-counting in JavaScriptCore.
24
25         (JSInterpreter::JSInterpreter::~JSInterpreter): Now protected to catch
26         manual delete.
27
28 2006-07-12  Anders Carlsson  <acarlsson@apple.com>
29
30         Build fix
31         
32         * JSUtils.cpp:
33         (KJSValueToCFTypeInternal):
34         * JSValueWrapper.cpp:
35         (JSValueWrapper::JSObjectCopyPropertyNames):
36         * UserObjectImp.cpp:
37         (UserObjectImp::getPropertyList):
38         
39 === Safari-521.15 ===
40
41 2006-07-07  Geoffrey Garen  <ggaren@apple.com>
42
43         - build fix
44
45         * JSUtils.cpp:
46         (KJSValueToCFTypeInternal):
47         * JSValueWrapper.cpp:
48         (JSValueWrapper::JSObjectCopyPropertyNames):
49
50 2006-07-03  Geoffrey Garen  <ggaren@apple.com>
51
52         Reviewed by Maciej.
53         
54         * JSRun.cpp:
55         (JSRun::CheckSyntax): Updated to use new checkSyntax syntax in JSC.
56         * JavaScriptGlue.xcodeproj/project.pbxproj:
57
58 === Safari-521.14 ===
59
60 2006-06-28  Timothy Hatcher  <timothy@apple.com>
61
62         Prefer the Stabs debugging symbols format until DWARF bugs are fixed.
63
64         * JavaScriptGlue.xcodeproj/project.pbxproj:
65
66 2006-06-24  David Kilzer  <ddkilzer@kilzer.net>
67
68         Reviewed by Timothy.
69
70         * Info.plist: Fixed copyright to include 2003-2006.
71
72 === JavaScriptGlue-521.13 ===
73         
74 2006-06-20  Geoffrey Garen  <ggaren@apple.com>
75
76         Reviewed by Anders.
77         
78         - Required for JS API: Rename propList to getPropertyList and have it
79         take its target property list by reference so that subclasses can
80         add properties to the list before calling through to their superclasses.
81
82         * JSUtils.cpp:
83         (KJSValueToCFTypeInternal):
84         * JSValueWrapper.cpp:
85         (JSValueWrapper::JSObjectCopyPropertyNames):
86         * UserObjectImp.cpp:
87         (UserObjectImp::getPropertyList):
88         * UserObjectImp.h:
89
90 2006-06-15  Timothy Hatcher  <timothy@apple.com>
91
92         Reviewed by Geoff and Darin.
93         
94         Prefer the DWARF debugging symbols format for use in Xcode 2.3.
95
96         * JavaScriptGlue.xcodeproj/project.pbxproj:
97
98 2006-06-12  Geoffrey Garen  <ggaren@apple.com>
99
100         Reviewed by TimO, Maciej.
101         
102         - JSGlue part of merging InterpreterImp into Interpreter.
103         
104         Since there's now a kjs forwarding header, I moved all forwarding
105         headers into a "ForwardingHeaders" directory, like in WebCore.
106
107         * ForwardingHeaders: Added.
108         * ForwardingHeaders/kjs: Added.
109         * ForwardingHeaders/kjs/ExecState.h: Added.
110         * ForwardingHeaders/wtf: Added.
111         * JavaScriptGlue.xcodeproj/project.pbxproj:
112         * config.h:
113         * wtf: Removed.
114         * wtf/AlwaysInline.h: Removed.
115         * wtf/Assertions.h: Removed.
116         * wtf/FastMalloc.h: Removed.
117         * wtf/Forward.h: Removed.
118         * wtf/HashCountedSet.h: Removed.
119         * wtf/HashSet.h: Removed.
120         * wtf/Noncopyable.h: Removed.
121         * wtf/OwnArrayPtr.h: Removed.
122         * wtf/OwnPtr.h: Removed.
123         * wtf/PassRefPtr.h: Removed.
124         * wtf/Platform.h: Removed.
125         * wtf/RefPtr.h: Removed.
126         * wtf/Vector.h: Removed.
127
128 === JavaScriptGlue-521.10 ===
129
130 2006-05-09  Maciej Stachowiak  <mjs@apple.com>
131
132         Rubber stamped by Anders.
133         
134         - renamed kxmlcore to wtf
135         
136         kxmlcore --> wtf
137         KXMLCore --> WTF
138         KXC --> WTF
139
140         * config.h:
141         * kxmlcore: Removed.
142         * kxmlcore/AlwaysInline.h: Removed.
143         * kxmlcore/Assertions.h: Removed.
144         * kxmlcore/FastMalloc.h: Removed.
145         * kxmlcore/Forward.h: Removed.
146         * kxmlcore/HashCountedSet.h: Removed.
147         * kxmlcore/HashSet.h: Removed.
148         * kxmlcore/Noncopyable.h: Removed.
149         * kxmlcore/OwnArrayPtr.h: Removed.
150         * kxmlcore/OwnPtr.h: Removed.
151         * kxmlcore/PassRefPtr.h: Removed.
152         * kxmlcore/Platform.h: Removed.
153         * kxmlcore/RefPtr.h: Removed.
154         * kxmlcore/Vector.h: Removed.
155         * wtf: Added.
156
157 2006-04-11  Darin Adler  <darin@apple.com>
158
159         - try to fix Windows build
160
161         * kxmlcore/HashForward.h: Removed.
162
163 2006-04-10  Darin Adler  <darin@apple.com>
164
165         Rubber-stamped by John Sullivan.
166
167         - added forwarding headers for the new Forward.h and HashForward.h files
168
169         * kxmlcore/Forward.h: Added.
170         * kxmlcore/HashForward.h: Added.
171
172 2006-04-04  Timothy Hatcher  <timothy@apple.com>
173
174         Reviewed by Darin.
175
176         The Debug and Release frameworks are now built with install paths relative to the build products directory.
177         This removes the need for other projects to build with -framework WebCore and -framework JavaScriptCore. 
178
179         * JavaScriptGlue.xcodeproj/project.pbxproj:
180
181 2006-04-02  Eric Seidel  <eseidel@apple.com>
182
183         Reviewed by andersca.
184
185         Add missing forwarding header.
186
187         * kxmlcore/Vector.h: Added.
188
189 2006-03-31  Geoffrey Garen  <ggaren@apple.com>
190
191         Reviewed by Darin.
192
193         - Fixed <rdar://problem/4430836> JavaScript patch crashing Quartz
194         Composer
195
196         JSValueWrappers used to hold on to the ExecState that pertained at
197         the time of their creation. Since ExecStates are transient, that
198         design was totally bogus, and it would crash once the ExecState had
199         been deallocated.
200
201         Unfortunately, there's no clean solution to this problem, since
202         the JSGlue API has no notion of state. The solution here is to use
203         a shared, global ExecState for the purpose of JSGlue calls. Given
204         the pre-existing limitations in the JSGlue API, this design
205         shouldn't actually introduce any new limitations (see comments in
206         JSValueWrapper.cpp).
207
208         I tested with Quartz Composer and PAC files, neither of which are
209         layout-testable.
210         
211         * JSUtils.cpp:
212         (KJSValueToJSObject):
213         * JSValueWrapper.cpp:
214         (JSValueWrapper::JSValueWrapper):
215         (JSValueWrapper::GetValue):
216         (getProcessGlobalExecState):
217         (JSValueWrapper::JSObjectCopyPropertyNames):
218         (JSValueWrapper::JSObjectCopyProperty):
219         (JSValueWrapper::JSObjectSetProperty):
220         (JSValueWrapper::JSObjectCallFunction):
221         (JSValueWrapper::JSObjectCopyCFValue):
222         * JSValueWrapper.h:
223
224         Also added a test harness file. It was helpful while I was testing,
225         and may come in handy in the future:
226         
227         * JavaScriptGlue.xcodeproj/project.pbxproj:
228         testjsglue.cpp: Added.
229
230 2006-03-28  Darin Adler  <darin@apple.com>
231
232         Reviewed by Geoff.
233
234         - added a build step that checks for init routines
235
236         * JavaScriptGlue.xcodeproj/project.pbxproj: Added a custom build phase that invokes the
237         check-for-global-initializers script.
238
239 2006-03-02  Maciej Stachowiak  <mjs@apple.com>
240
241         Not reviewed, but I noticed these trivial extra changes were needed to avoid
242         breaking the build with my reviewed patch for:
243         
244         http://bugzilla.opendarwin.org/show_bug.cgi?id=7387
245         
246         Add config.h, includes of it, and Platform.h forwarding header.
247
248         * JSBase.cpp:
249         * JSObject.cpp:
250         * JSRun.cpp:
251         * JSUtils.cpp:
252         * JSValueWrapper.cpp:
253         * JavaScriptGlue.cpp:
254         * UserObjectImp.cpp:
255         * config.h: Added.
256         * kxmlcore/Platform.h: Added.
257
258 === JavaScriptGlue-521.7 ===
259
260 2006-02-10  Geoffrey Garen  <ggaren@apple.com>
261
262         Reviewed by eric.
263
264         - Fixed build.
265
266         * UserObjectImp.cpp:
267         (UserObjectImp::toPrimitive):
268         * UserObjectImp.h:
269
270 2006-02-03  Timothy Hatcher  <timothy@apple.com>
271
272         Reviewed by Justin.
273
274         Renamed configuration names to Debug, Release and Production.
275
276         * JavaScriptGlue.xcodeproj/project.pbxproj:
277
278 2006-02-01  Darin Adler  <darin@apple.com>
279
280         - added some forwarding headers to make new JavaScriptCore changes work
281
282         * kxmlcore/Assertions.h: Added.
283         * kxmlcore/Noncopyable.h: Added.
284         * kxmlcore/OwnPtr.h: Added.
285         * kxmlcore/OwnArrayPtr.h: Added.
286
287 2006-01-16  Timothy Hatcher  <timothy@apple.com>
288
289         Adding the license header to all files so we can
290         move JavaScriptGlue into the open source repository.
291
292         * LICENSE: Added.
293         * JSBase.cpp: license header added.
294         * JSBase.h: ditto.
295         * JSObject.cpp: ditto.
296         * JSObject.h: ditto.
297         * JSRun.cpp: ditto.
298         * JSRun.h: ditto.
299         * JSUtils.cpp: ditto.
300         * JSUtils.h: ditto.
301         * JSValueWrapper.cpp: ditto.
302         * JSValueWrapper.h: ditto.
303         * JavaScriptGlue.cpp: ditto.
304         * JavaScriptGlue.h: ditto.
305         * UserObjectImp.cpp: ditto.
306         * UserObjectImp.h: ditto.
307
308 2005-12-21  Timothy Hatcher  <timothy@apple.com>
309
310         * JavaScriptGlue.xcodeproj/project.pbxproj:
311           Set tab width to 8, indent width to 4 and uses tabs to false per file.
312
313 2005-12-19  Darin Adler  <darin@apple.com>
314
315         Reviewed by Geoff Garen and Eric Seidel.
316
317         - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=4923
318           stop using <ostream> in WebCore, eliminating the <cmath> troubles it causes
319
320         * kxmlcore/AlwaysInline.h: Added.
321
322 2005-12-15  Darin Adler  <darin@apple.com>
323
324         Reviewed by Maciej.
325
326         * JSRun.cpp: (JSRun::Evaluate): Updated for change to Interpreter::evaluate.
327
328 2005-12-15  Darin Adler  <darin@apple.com>
329
330         Reviewed by Tim Hatcher.
331
332         * JavaScriptGlue.xcodeproj/project.pbxproj: Removed some redundant build
333         settings, turned off prebinding explicitly for our Development and
334         Deployment builds, remove .exp file from sources. All "clean-up".
335
336 === Safari-521~5 ===
337
338 2005-12-13  Geoffrey Garen  <ggaren@apple.com>
339
340     - Fixed build after Anders's last checkin to JavaScriptCore.
341     
342         Reviewed by darin.
343
344         * UserObjectImp.cpp:
345         (UserObjectImp::userObjectGetter): Updated to reflect new argument that 
346     getters take (unused here).
347         * UserObjectImp.h:
348
349 2005-12-13  Maciej Stachowiak  <mjs@apple.com>
350
351         Reviewed by Eric.
352
353     - added forwarding header for HashCountedSet
354
355         * kxmlcore/HashCountedSet.h: Added.
356
357 2005-12-10  Darin Adler  <darin@apple.com>
358
359         Rubber stamped by Maciej.
360
361         - updated for KJS class renaming
362
363         * many files and functions
364
365 2005-12-10  Darin Adler  <darin@apple.com>
366
367         Reviewed by Maciej.
368
369         - eliminated the old Undefined(), Null(), Boolean(), Number(), and String()
370
371         Code now uses jsUndefined(), jsNull(), jsBoolean(), jsNumber(), and jsString().
372
373         * JSUtils.cpp:
374         (JSObjectKJSValue):
375         * UserObjectImp.cpp:
376         (UserObjectImp::callAsFunction):
377         (UserObjectImp::toPrimitive):
378
379 2005-12-05  Maciej Stachowiak  <mjs@apple.com>
380
381         - added new forwarding headers
382
383         * kxmlcore/PassRefPtr.h: Added.
384         * kxmlcore/RefPtr.h: Added.
385
386 2005-12-05  Maciej Stachowiak  <mjs@apple.com>
387
388         * kxmlcore/PassRefPtr.h: Added.
389
390 2005-11-26  Maciej Stachowiak  <mjs@apple.com>
391
392         Rubber stamped by Eric.
393
394     - renamed InterpreterLock to JSLock
395
396         * JSUtils.cpp:
397         (CFStringToUString):
398         (JSObjectKJSValue):
399         (KJSValueToCFTypeInternal):
400         * JSValueWrapper.cpp:
401         (JSValueWrapper::JSObjectCopyPropertyNames):
402         (JSValueWrapper::JSObjectCopyProperty):
403         (JSValueWrapper::JSObjectSetProperty):
404         (JSValueWrapper::JSObjectCallFunction):
405         (JSValueWrapper::JSObjectCopyCFValue):
406         * JavaScriptGlue.cpp:
407         (JSRunCreate):
408         (JSCollect):
409         (JSLockInterpreter):
410         (JSUnlockInterpreter):
411         * UserObjectImp.cpp:
412         (UserObjectImp::callAsFunction):
413
414 2005-11-16  Maciej Stachowiak  <mjs@apple.com>
415
416         Reviewed by Geoff.
417
418     Updated to use new API to drop all locks.
419
420         * JavaScriptGlue.cpp:
421         (JSLockInterpreter):
422         (JSUnlockInterpreter):
423         * UserObjectImp.cpp:
424         (UserObjectImp::callAsFunction):
425
426 2005-11-14  Geoffrey Garen  <ggaren@apple.com>
427
428         Reviewed by mjs.
429
430         - Part of the fix for <rdar://problem/4342216> Installer crash in 
431           KJS::ValueImp::marked() when garbage collector runs inside call to 
432           ConstantValues::init()
433           
434         Added locking in JSRunCreate, since JSRun::JSRun constructs an object.
435         
436         * JavaScriptGlue.cpp:
437         (JSRunCreate):
438
439 2005-11-10  Geoffrey Garen  <ggaren@apple.com>
440
441         Reviewed by Maciej.
442
443         - Fixed <rdar://problem/4334445> installer crashed on my 
444           dual g4 450Mhz after clicking language
445
446         - Reversed backwards NULL check.
447         - Inserted guards against NULL fJSUserObject data member.
448         - Cleaned up some style.
449
450         * JSUtils.cpp:
451         (KJSValueToCFTypeInternal):
452         * UserObjectImp.cpp:
453         (UserObjectImp::~UserObjectImp):
454         (UserObjectImp::callAsFunction):
455         (UserObjectImp::userObjectGetter):
456         (UserObjectImp::getOwnPropertySlot):
457         (UserObjectImp::put):
458         (UserObjectImp::mark):
459
460 2005-11-04  Timothy Hatcher  <timothy@apple.com>
461
462         Reviewed by Darin.
463
464         * JavaScriptGlue.xcodeproj/project.pbxproj:
465           Fixed the FRAMEWORK_SEARCH_PATHS to look in the WebKit
466           Frameworks for the Default config.
467
468 2005-11-03  Timothy Hatcher  <timothy@apple.com>
469
470         Reviewed by Darin and Vicki.
471
472         * JavaScriptGlue.xcodeproj/project.pbxproj:
473           Change to use $(SYSTEM_LIBRARY_DIR) consistently and place
474           $(NEXT_ROOT) in a few spots to make build-root work.
475
476 2005-11-01  Maciej Stachowiak  <mjs@apple.com>
477
478     Reviewed by: Eric.
479     
480         <rdar://problem/4324107> get JavaScriptGlue working with TOT JavaScriptCore again
481
482     - reverted all this stuff to use ReferenceList instead of IdentifierSequencedSet
483
484         * JSUtils.cpp:
485         (KJSValueToCFTypeInternal):
486         * JSValueWrapper.cpp:
487         (JSValueWrapper::JSObjectCopyPropertyNames):
488         * UserObjectImp.cpp:
489         (UserObjectImp::propList):
490         * UserObjectImp.h:
491
492 2005-10-11  Timothy Hatcher  <timothy@apple.com>
493
494         Setup the proper Framework search path for the Default config.
495         Prepping for a TOT submission and build by B&I.
496
497         * JavaScriptGlue.xcodeproj/project.pbxproj:
498
499 2005-10-10  Darin Adler  <darin@apple.com>
500
501         Reviewed by Eric.
502
503         - converted tabs to spaces, NULL to 0, added some (void), got rid of __ prefixes
504           in headers (reserved for compiler/library)
505
506         * Info.plist:
507         * JSBase.cpp:
508         * JSBase.h:
509         * JSObject.cpp:
510         * JSObject.h:
511         * JSRun.cpp:
512         * JSRun.h:
513         * JSUtils.cpp:
514         * JSUtils.h:
515         * JSValueWrapper.cpp:
516         * JSValueWrapper.h:
517         * JavaScriptGlue.cpp:
518         * JavaScriptGlue.h:
519         * UserObjectImp.cpp:
520         * UserObjectImp.h:
521
522 2005-10-10  Darin Adler  <darin@apple.com>
523
524         * .cvsignore: Added. Ignore Makefile.in and Makefile.
525
526 2005-10-07  Timothy Hatcher  <timothy@apple.com>
527
528         Reviewed by Maciej.
529         
530         Build fix, needed to disable RTTI. Upgraded to a native target.
531
532         * JavaScriptGlue.xcodeproj/project.pbxproj:
533         * Info.plist
534
535 2005-10-05  Maciej Stachowiak  <mjs@apple.com>
536
537         Reviewed by Eric and Darin.
538
539     <rdar://problem/4260506> Port JavaScriptGlue to TOT JavaScriptCore
540
541         * JSRun.cpp:
542         (JSRun::JSRun):
543         (JSRun::GlobalObject):
544         * JSRun.h:
545         (JSInterpreter::JSInterpreter):
546         * JSUtils.cpp:
547         (KJSValueToJSObject):
548         (JSObjectKJSValue):
549         (KJSValueToCFTypeInternal):
550         (KJSValueToCFType):
551         * JSUtils.h:
552         * JSValueWrapper.cpp:
553         (JSValueWrapper::JSValueWrapper):
554         (JSValueWrapper::GetValue):
555         (JSValueWrapper::JSObjectCopyPropertyNames):
556         (JSValueWrapper::JSObjectCopyProperty):
557         (JSValueWrapper::JSObjectSetProperty):
558         (JSValueWrapper::JSObjectCallFunction):
559         (JSValueWrapper::JSObjectMark):
560         * JSValueWrapper.h:
561         * JavaScriptGlue.cpp:
562         (JSRunCopyGlobalObject):
563         * JavaScriptGlue.xcodeproj/project.pbxproj:
564         * Makefile.am: Added.
565         * UserObjectImp.cpp:
566         (UserObjectPrototypeImp::GlobalUserObjectPrototypeImp):
567         (UserObjectImp::UserObjectImp):
568         (UserObjectImp::callAsFunction):
569         (UserObjectImp::getPropertyNames):
570         (UserObjectImp::userObjectGetter):
571         (UserObjectImp::getOwnPropertySlot):
572         (UserObjectImp::put):
573         (UserObjectImp::toPrimitive):
574         (UserObjectImp::mark):
575         * UserObjectImp.h:
576         * kxmlcore/FastMalloc.h: Added.
577         * kxmlcore/HashSet.h: Added.
578
579 2005-09-14  Maciej Stachowiak  <mjs@apple.com>
580
581         Reviewed by Geoff.
582
583     - fixed <rdar://problem/4214783> REGRESSION: kjs_fast_malloc crash due to lack of locking on multiple threads (seen selecting volumes in the installer)
584
585     Make sure to lock using the InterpreterLock class in all places that need it
586     (including anything that uses the collector, the parser, the protect count hash table,
587     and anything that allocates via fast_malloc).
588
589         * JSUtils.cpp:
590         (CFStringToUString):
591         (JSObjectKJSValue):
592         (KJSValueToCFTypeInternal):
593         * JSUtils.h:
594         * JSValueWrapper.cpp:
595         (JSValueWrapper::JSObjectCopyPropertyNames):
596         (JSValueWrapper::JSObjectCopyProperty):
597         (JSValueWrapper::JSObjectSetProperty):
598         (JSValueWrapper::JSObjectCallFunction):
599         (JSValueWrapper::JSObjectCopyCFValue):
600         * JavaScriptGlue.cpp:
601         (JSCollect):
602
603 2005-09-27  Adele Peterson  <adele@apple.com>
604
605         Reviewed by Maciej.
606
607         <rdar://problem/4223297> JavaScriptGlue: Submit 64-bit compatible versions of your API and SPIs by September 15
608
609         * JavaScriptGlue.h: Changed UInt32 to CFTypeID for JSTypeID
610
611 2005-09-06  Geoffrey Garen  <ggaren@apple.com>
612
613         -upgraded project files to XCode 2.1
614
615         * JavaScriptGlue.pbproj/project.pbxproj: Removed.
616         * JavaScriptGlue.xcodeproj/.cvsignore: Added.
617         * JavaScriptGlue.xcodeproj/project.pbxproj: Added.
618
619 2005-09-01  Maciej Stachowiak  <mjs@apple.com>
620
621         Rubber stamped by hyatt.
622
623     - initial import of JavaScriptGlue into our repository
624
625         * English.lproj/InfoPlist.strings: Added.
626         * JSBase.cpp: Added.
627         (JSBase::JSBase):
628         (JSBase::~JSBase):
629         (JSBase::Retain):
630         (JSBase::Release):
631         (JSBase::RetainCount):
632         (JSBase::GetTypeID):
633         (JSBase::CopyDescription):
634         (JSBase::Equal):
635         * JSBase.h: Added.
636         * JSObject.cpp: Added.
637         (JSUserObject::JSUserObject):
638         (JSUserObject::~JSUserObject):
639         (JSUserObject::CopyPropertyNames):
640         (JSUserObject::CopyProperty):
641         (JSUserObject::SetProperty):
642         (JSUserObject::ImplementsCall):
643         (JSUserObject::CallFunction):
644         (JSUserObject::CopyCFValue):
645         (JSUserObject::Equal):
646         (JSUserObject::Mark):
647         (JSUserObject::GetData):
648         * JSObject.h: Added.
649         (JSUserObject::DataType):
650         * JSRun.cpp: Added.
651         (JSRun::JSRun):
652         (JSRun::~JSRun):
653         (JSRun::Flags):
654         (JSRun::GetSource):
655         (JSRun::GlobalObject):
656         (JSRun::GetInterpreter):
657         (JSRun::Evaluate):
658         (JSRun::CheckSyntax):
659         * JSRun.h: Added.
660         (JSInterpreter::JSInterpreter):
661         (JSInterpreter::JSInterpreter::~JSInterpreter):
662         (JSInterpreter::Flags):
663         * JSUtils.cpp: Added.
664         (CFStringToUString):
665         (UStringToCFString):
666         (CFStringToIdentifier):
667         (IdentifierToCFString):
668         (KJSValueToJSObject):
669         (JSObjectKJSValue):
670         (KJSValueToCFTypeInternal):
671         (KJSValueToCFType):
672         (GetCFNull):
673         * JSUtils.h: Added.
674         (RetainCFType):
675         (ReleaseCFType):
676         * JSValueWrapper.cpp: Added.
677         (JSValueWrapper::JSValueWrapper):
678         (JSValueWrapper::~JSValueWrapper):
679         (JSValueWrapper::GetValue):
680         (JSValueWrapper::GetExecState):
681         (JSValueWrapper::GetJSObectCallBacks):
682         (JSValueWrapper::JSObjectDispose):
683         (JSValueWrapper::JSObjectCopyPropertyNames):
684         (JSValueWrapper::JSObjectCopyProperty):
685         (JSValueWrapper::JSObjectSetProperty):
686         (JSValueWrapper::JSObjectCallFunction):
687         (JSValueWrapper::JSObjectCopyCFValue):
688         (JSValueWrapper::JSObjectMark):
689         * JSValueWrapper.h: Added.
690         * JavaScriptGlue.cpp: Added.
691         (JSSetCFNull):
692         (JSGetCFNull):
693         (JSRetain):
694         (JSRelease):
695         (JSCopyDescription):
696         (JSEqual):
697         (JSGetTypeID):
698         (JSGetRetainCount):
699         (JSObjectCreate):
700         (JSObjectCreateInternal):
701         (JSObjectCopyCFValue):
702         (JSObjectGetData):
703         (JSObjectCopyProperty):
704         (JSObjectSetProperty):
705         (JSObjectCallFunction):
706         (JSRunCreate):
707         (JSRunCopySource):
708         (JSRunCopyGlobalObject):
709         (JSRunEvaluate):
710         (JSRunCheckSyntax):
711         (JSCollect):
712         (JSTypeGetCFArrayCallBacks):
713         (JSCFRetain):
714         (JSCFRelease):
715         (JSObjectCreateWithCFType):
716         (CFJSObjectDispose):
717         (JSObjectCopyPropertyNames):
718         (CFJSObjectCopyProperty):
719         (CFJSObjectSetProperty):
720         (CFJSObjectCopyCFValue):
721         (CFJSObjectEqual):
722         (CFJSObjectCopyPropertyNames):
723         (JSCreateCFArrayFromJSArray):
724         (JSCreateJSArrayFromCFArray):
725         (JSLockInterpreter):
726         (JSUnlockInterpreter):
727         * JavaScriptGlue.exp: Added.
728         * JavaScriptGlue.h: Added.
729         * JavaScriptGlue.pbproj/project.pbxproj: Added.
730         * UserObjectImp.cpp: Added.
731         (UserObjectPrototypeImp::UserObjectPrototypeImp):
732         (UserObjectPrototypeImp::GlobalUserObjectPrototypeImp):
733         (UserObjectImp::UserObjectImp):
734         (UserObjectImp::~UserObjectImp):
735         (UserObjectImp::classInfo):
736         (UserObjectImp::implementsCall):
737         (UserObjectImp::call):
738         (UserObjectImp::propList):
739         (UserObjectImp::hasProperty):
740         (UserObjectImp::get):
741         (UserObjectImp::put):
742         (UserObjectImp::GetJSUserObject):
743         (UserObjectImp::toPrimitive):
744         (UserObjectImp::toBoolean):
745         (UserObjectImp::toNumber):
746         (UserObjectImp::toString):
747         (UserObjectImp::mark):
748         * UserObjectImp.h: Added.
749