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