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