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