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