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