1 2007-03-15 Timothy Hatcher <timothy@apple.com>
5 * Factored out most of our common build settings into .xcconfig files. Anything that was common in
6 each build configuration was factored out into the shared .xcconfig file.
7 * Adds a Version.xcconfig file to define the current framework version, to be used in other places.
8 * Use the new $(BUNDLE_VERSION) (defined in Version.xcconfig) in the preprocessed Info.plist.
9 * Use the versions defined in Version.xcconfig to set $(DYLIB_CURRENT_VERSION).
11 * Configurations/Base.xcconfig: Added.
12 * Configurations/DebugRelease.xcconfig: Added.
13 * Configurations/JavaScriptGlue.xcconfig: Added.
14 * Configurations/Version.xcconfig: Added.
16 * JavaScriptGlue.xcodeproj/project.pbxproj:
18 2007-03-12 Geoffrey Garen <ggaren@apple.com>
20 Reviewed by Oliver Hunt.
22 Updated in light of fix for <rdar://problem/4681051> Installer crashes
23 in KJS::Collector::markOtherThreadConservatively(KJS::Collector::Thread*)
24 trying to install iLife 06 using Rosetta on an Intel Machine
27 (JSLockInterpreter): Ensure backwards compatibility by calling
28 registerThread() when explicitly taking the JSLock. (This doesn't happen
29 automatically anymore.) I doubt this actally matters, but in JavaScriptGlue
30 territory, that kind of thinking will get you killed.
32 2007-03-06 Geoffrey Garen <ggaren@apple.com>
34 Reviewed by Maciej Stachowiak.
36 Fixed all known crashers exposed by run-webkit-tests --threaded while using
37 a PAC file (for maximum carnage). See JavaScriptCore ChangeLog for
41 (JSBase::Release): Lock when deleting, because we may be deleting an object
42 (like a JSRun) that holds thread-unsafe data.
45 (CFStringToUString): Don't lock, because our caller locks. Also, locking
46 inside a function that returns thread-unsafe data by copy will only mask
50 (JSRunEvaluate): Added missing JSLock.
51 (JSRunCheckSyntax): Converted to JSLock.
52 * JavaScriptGlue.xcodeproj/project.pbxproj:
54 2007-02-22 Geoffrey Garen <ggaren@apple.com>
56 Reviewed by Darin Adler.
58 Fixed <rdar://problem/4942528> Installer.app Stuck "Examining additional
61 The problem was that JavaScriptGlue held a JSObject in a static pointer
62 without protecting it from garbage collection.
64 sUserObjectPrototypeImp = new UserObjectPrototypeImp();
65 static ProtectedPtr<UserObjectPrototypeImp> protectPrototype; // valiant, brave, but useless
67 Through an interesting comedy of errors, this object would be collected
68 and then assigned as the prototype of another object allocated at the
69 same address, thus becoming its own prototype. (See http://www.ziplo.com/grandpa.htm
70 for further explanation of this phenomenon.) Hence the infinte loop in
73 The solution is equally humorous: all of this code was completely useless --
74 it only served to create an empty object in the prototype chain -- so
78 (UserObjectImp::UserObjectImp):
81 2007-02-19 Timothy Hatcher <timothy@apple.com>
85 <rdar://problem/4636301> Deprecate JavaScriptGlue
87 * JavaScriptGlue.h: adds DEPRECATED_IN_MAC_OS_X_VERSION_10_5_AND_LATER to everything
88 * JavaScriptGlue.xcodeproj/project.pbxproj: use -Wno-deprecated-declarations to keep the project building
89 * config.h: define DEPRECATED_IN_MAC_OS_X_VERSION_10_5_AND_LATER as empty on other systems
91 2007-02-16 Darin Adler <darin@apple.com>
95 - fix <rdar://problem/5000216> JavaScriptGlue framework started turning all CFNumbers
96 into signed 32bit values
98 Circumstantial evidence seems to indicate that JavaScriptGlue was depending on a bug
99 in CFNumber where CFNumberIsFloatType was returning true for 64-bit integer values.
101 * JSUtils.cpp: (JSObjectKJSValue): Removed the call to CFNumberIsFloatType in the
102 conversion of numeric values, and always use kCFNumberDoubleType, since double is
103 the internal format of numbers in JavaScriptCore. There's no value to having a
104 separate code path for integers. There's also no reason to check the return value
105 from CFNumberGetValue -- if it returns false it still does the best it can to convert
106 to a double, which is what we want.
108 * UserObjectImp.cpp: (UserObjectImp::toString): Removed a similar code path that
109 tried to handle integers separate from double. Instead, always use a double. For
110 compatibility, use a format without a decimal point when CFNumberIsFloatType returns
111 false. Also removed a bogus cast to float; the "%f" format string takes a double,
112 not a float, so all the cast did was cut down on precision.
114 2007-01-25 Mark Rowe <mrowe@apple.com>
118 * Info.plist: Update copyright string.
120 2006-12-19 Timothy Hatcher <timothy@apple.com>
124 <rdar://problem/4891774> Local WebCore/WebBrowser builds fail in 9A328 due to warning about ObjC-2.0 language features
126 * JavaScriptGlue.xcodeproj/project.pbxproj:
128 === Safari-521.26 ===
130 2006-08-15 Mark Rowe <opendarwin.org@bdash.net.nz>
134 Build fix: DWARF and -gfull are incompatible with symbol separation.
136 * JavaScriptGlue.xcodeproj/project.pbxproj:
138 2006-08-15 Mark Rowe <opendarwin.org@bdash.net.nz>
142 http://bugs.webkit.org/show_bug.cgi?id=10394
143 Bug 10394: WebKit Release and Production configurations should enable dead code stripping
145 * JavaScriptGlue.xcodeproj/project.pbxproj:
147 2006-08-15 Mark Rowe <opendarwin.org@bdash.net.nz>
151 http://bugs.webkit.org/show_bug.cgi?id=10384
152 Bug 10384: Switch to DWARF for Release configuration
154 * JavaScriptGlue.xcodeproj/project.pbxproj:
156 2006-08-04 Sam Weinig <sam.weinig@gmail.com>
160 - patch for http://bugs.webkit.org/show_bug.cgi?id=10192
161 Make WebCore (and friends) compile with -Wshorten-64-to-32
163 * Adds -Wshorten-64-to-32 flag to Xcode project.
165 * JavaScriptGlue.xcodeproj/project.pbxproj:
167 2006-08-03 Sam Weinig <sam.weinig@gmail.com>
171 - patch for http://bugs.webkit.org/show_bug.cgi?id=10176
172 Make WebCore compile with -Wundef
174 * Adds -Wundef flag to Xcode project
176 * JavaScriptGlue.xcodeproj/project.pbxproj:
178 2006-07-29 Sam Weinig <sam.weinig@gmail.com>
182 - patch for http://bugs.webkit.org/show_bug.cgi?id=10080
183 Adopt pedantic changes from the Unity project to improve
184 cross-compiler compatibility
187 * Turning on gcc warning for missing newline at the end of a source file
188 (GCC_WARN_ABOUT_MISSING_NEWLINE in Xcode, -Wnewline in gcc).
190 * JavaScriptGlue.xcodeproj/project.pbxproj:
192 === Safari-521.19 ===
194 2006-07-19 Geoffrey Garen <ggaren@apple.com>
196 Fixed by Darin & Maciej, reviewed by me.
198 - Fixed <rdar://problem/4638934> Leopard 9A227: Installer crashes right
199 after LCA and while preparing Installation
201 Compile release/production with NDEBUG set, to ensure binary compatibility
202 between JavaScriptGlue and JavaScriptCore. In debug builds, JavaScriptCore
203 includes an extra debug data member in HashSet.
205 * JavaScriptGlue.xcodeproj/project.pbxproj:
207 === Safari-521.18 ===
209 2006-07-15 Maciej Stachowiak <mjs@apple.com>
213 - switch property lists to be vector+set of Identifiers instead of list of References
216 (KJSValueToCFTypeInternal): updated for JSC SPI changes
217 * JSValueWrapper.cpp:
218 (JSValueWrapper::JSObjectCopyPropertyNames): ditto
220 (UserObjectImp::getPropertyNames): ditto
223 === Safari-521.17 ===
225 2006-07-14 Geoffrey Garen <ggaren@apple.com>
229 - Updated JSInterpreter to work with Interpreter ref-counting in JavaScriptCore.
231 (JSInterpreter::JSInterpreter::~JSInterpreter): Now protected to catch
234 2006-07-12 Anders Carlsson <acarlsson@apple.com>
239 (KJSValueToCFTypeInternal):
240 * JSValueWrapper.cpp:
241 (JSValueWrapper::JSObjectCopyPropertyNames):
243 (UserObjectImp::getPropertyList):
245 === Safari-521.15 ===
247 2006-07-07 Geoffrey Garen <ggaren@apple.com>
252 (KJSValueToCFTypeInternal):
253 * JSValueWrapper.cpp:
254 (JSValueWrapper::JSObjectCopyPropertyNames):
256 2006-07-03 Geoffrey Garen <ggaren@apple.com>
261 (JSRun::CheckSyntax): Updated to use new checkSyntax syntax in JSC.
262 * JavaScriptGlue.xcodeproj/project.pbxproj:
264 === Safari-521.14 ===
266 2006-06-28 Timothy Hatcher <timothy@apple.com>
268 Prefer the Stabs debugging symbols format until DWARF bugs are fixed.
270 * JavaScriptGlue.xcodeproj/project.pbxproj:
272 2006-06-24 David Kilzer <ddkilzer@kilzer.net>
276 * Info.plist: Fixed copyright to include 2003-2006.
278 === JavaScriptGlue-521.13 ===
280 2006-06-20 Geoffrey Garen <ggaren@apple.com>
284 - Required for JS API: Rename propList to getPropertyList and have it
285 take its target property list by reference so that subclasses can
286 add properties to the list before calling through to their superclasses.
289 (KJSValueToCFTypeInternal):
290 * JSValueWrapper.cpp:
291 (JSValueWrapper::JSObjectCopyPropertyNames):
293 (UserObjectImp::getPropertyList):
296 2006-06-15 Timothy Hatcher <timothy@apple.com>
298 Reviewed by Geoff and Darin.
300 Prefer the DWARF debugging symbols format for use in Xcode 2.3.
302 * JavaScriptGlue.xcodeproj/project.pbxproj:
304 2006-06-12 Geoffrey Garen <ggaren@apple.com>
306 Reviewed by TimO, Maciej.
308 - JSGlue part of merging InterpreterImp into Interpreter.
310 Since there's now a kjs forwarding header, I moved all forwarding
311 headers into a "ForwardingHeaders" directory, like in WebCore.
313 * ForwardingHeaders: Added.
314 * ForwardingHeaders/kjs: Added.
315 * ForwardingHeaders/kjs/ExecState.h: Added.
316 * ForwardingHeaders/wtf: Added.
317 * JavaScriptGlue.xcodeproj/project.pbxproj:
320 * wtf/AlwaysInline.h: Removed.
321 * wtf/Assertions.h: Removed.
322 * wtf/FastMalloc.h: Removed.
323 * wtf/Forward.h: Removed.
324 * wtf/HashCountedSet.h: Removed.
325 * wtf/HashSet.h: Removed.
326 * wtf/Noncopyable.h: Removed.
327 * wtf/OwnArrayPtr.h: Removed.
328 * wtf/OwnPtr.h: Removed.
329 * wtf/PassRefPtr.h: Removed.
330 * wtf/Platform.h: Removed.
331 * wtf/RefPtr.h: Removed.
332 * wtf/Vector.h: Removed.
334 === JavaScriptGlue-521.10 ===
336 2006-05-09 Maciej Stachowiak <mjs@apple.com>
338 Rubber stamped by Anders.
340 - renamed kxmlcore to wtf
348 * kxmlcore/AlwaysInline.h: Removed.
349 * kxmlcore/Assertions.h: Removed.
350 * kxmlcore/FastMalloc.h: Removed.
351 * kxmlcore/Forward.h: Removed.
352 * kxmlcore/HashCountedSet.h: Removed.
353 * kxmlcore/HashSet.h: Removed.
354 * kxmlcore/Noncopyable.h: Removed.
355 * kxmlcore/OwnArrayPtr.h: Removed.
356 * kxmlcore/OwnPtr.h: Removed.
357 * kxmlcore/PassRefPtr.h: Removed.
358 * kxmlcore/Platform.h: Removed.
359 * kxmlcore/RefPtr.h: Removed.
360 * kxmlcore/Vector.h: Removed.
363 2006-04-11 Darin Adler <darin@apple.com>
365 - try to fix Windows build
367 * kxmlcore/HashForward.h: Removed.
369 2006-04-10 Darin Adler <darin@apple.com>
371 Rubber-stamped by John Sullivan.
373 - added forwarding headers for the new Forward.h and HashForward.h files
375 * kxmlcore/Forward.h: Added.
376 * kxmlcore/HashForward.h: Added.
378 2006-04-04 Timothy Hatcher <timothy@apple.com>
382 The Debug and Release frameworks are now built with install paths relative to the build products directory.
383 This removes the need for other projects to build with -framework WebCore and -framework JavaScriptCore.
385 * JavaScriptGlue.xcodeproj/project.pbxproj:
387 2006-04-02 Eric Seidel <eseidel@apple.com>
389 Reviewed by andersca.
391 Add missing forwarding header.
393 * kxmlcore/Vector.h: Added.
395 2006-03-31 Geoffrey Garen <ggaren@apple.com>
399 - Fixed <rdar://problem/4430836> JavaScript patch crashing Quartz
402 JSValueWrappers used to hold on to the ExecState that pertained at
403 the time of their creation. Since ExecStates are transient, that
404 design was totally bogus, and it would crash once the ExecState had
407 Unfortunately, there's no clean solution to this problem, since
408 the JSGlue API has no notion of state. The solution here is to use
409 a shared, global ExecState for the purpose of JSGlue calls. Given
410 the pre-existing limitations in the JSGlue API, this design
411 shouldn't actually introduce any new limitations (see comments in
414 I tested with Quartz Composer and PAC files, neither of which are
418 (KJSValueToJSObject):
419 * JSValueWrapper.cpp:
420 (JSValueWrapper::JSValueWrapper):
421 (JSValueWrapper::GetValue):
422 (getProcessGlobalExecState):
423 (JSValueWrapper::JSObjectCopyPropertyNames):
424 (JSValueWrapper::JSObjectCopyProperty):
425 (JSValueWrapper::JSObjectSetProperty):
426 (JSValueWrapper::JSObjectCallFunction):
427 (JSValueWrapper::JSObjectCopyCFValue):
430 Also added a test harness file. It was helpful while I was testing,
431 and may come in handy in the future:
433 * JavaScriptGlue.xcodeproj/project.pbxproj:
434 testjsglue.cpp: Added.
436 2006-03-28 Darin Adler <darin@apple.com>
440 - added a build step that checks for init routines
442 * JavaScriptGlue.xcodeproj/project.pbxproj: Added a custom build phase that invokes the
443 check-for-global-initializers script.
445 2006-03-02 Maciej Stachowiak <mjs@apple.com>
447 Not reviewed, but I noticed these trivial extra changes were needed to avoid
448 breaking the build with my reviewed patch for:
450 http://bugs.webkit.org/show_bug.cgi?id=7387
452 Add config.h, includes of it, and Platform.h forwarding header.
458 * JSValueWrapper.cpp:
459 * JavaScriptGlue.cpp:
462 * kxmlcore/Platform.h: Added.
464 === JavaScriptGlue-521.7 ===
466 2006-02-10 Geoffrey Garen <ggaren@apple.com>
473 (UserObjectImp::toPrimitive):
476 2006-02-03 Timothy Hatcher <timothy@apple.com>
480 Renamed configuration names to Debug, Release and Production.
482 * JavaScriptGlue.xcodeproj/project.pbxproj:
484 2006-02-01 Darin Adler <darin@apple.com>
486 - added some forwarding headers to make new JavaScriptCore changes work
488 * kxmlcore/Assertions.h: Added.
489 * kxmlcore/Noncopyable.h: Added.
490 * kxmlcore/OwnPtr.h: Added.
491 * kxmlcore/OwnArrayPtr.h: Added.
493 2006-01-16 Timothy Hatcher <timothy@apple.com>
495 Adding the license header to all files so we can
496 move JavaScriptGlue into the open source repository.
499 * JSBase.cpp: license header added.
501 * JSObject.cpp: ditto.
505 * JSUtils.cpp: ditto.
507 * JSValueWrapper.cpp: ditto.
508 * JSValueWrapper.h: ditto.
509 * JavaScriptGlue.cpp: ditto.
510 * JavaScriptGlue.h: ditto.
511 * UserObjectImp.cpp: ditto.
512 * UserObjectImp.h: ditto.
514 2005-12-21 Timothy Hatcher <timothy@apple.com>
516 * JavaScriptGlue.xcodeproj/project.pbxproj:
517 Set tab width to 8, indent width to 4 and uses tabs to false per file.
519 2005-12-19 Darin Adler <darin@apple.com>
521 Reviewed by Geoff Garen and Eric Seidel.
523 - fix http://bugs.webkit.org/show_bug.cgi?id=4923
524 stop using <ostream> in WebCore, eliminating the <cmath> troubles it causes
526 * kxmlcore/AlwaysInline.h: Added.
528 2005-12-15 Darin Adler <darin@apple.com>
532 * JSRun.cpp: (JSRun::Evaluate): Updated for change to Interpreter::evaluate.
534 2005-12-15 Darin Adler <darin@apple.com>
536 Reviewed by Tim Hatcher.
538 * JavaScriptGlue.xcodeproj/project.pbxproj: Removed some redundant build
539 settings, turned off prebinding explicitly for our Development and
540 Deployment builds, remove .exp file from sources. All "clean-up".
544 2005-12-13 Geoffrey Garen <ggaren@apple.com>
546 - Fixed build after Anders's last checkin to JavaScriptCore.
551 (UserObjectImp::userObjectGetter): Updated to reflect new argument that
552 getters take (unused here).
555 2005-12-13 Maciej Stachowiak <mjs@apple.com>
559 - added forwarding header for HashCountedSet
561 * kxmlcore/HashCountedSet.h: Added.
563 2005-12-10 Darin Adler <darin@apple.com>
565 Rubber stamped by Maciej.
567 - updated for KJS class renaming
569 * many files and functions
571 2005-12-10 Darin Adler <darin@apple.com>
575 - eliminated the old Undefined(), Null(), Boolean(), Number(), and String()
577 Code now uses jsUndefined(), jsNull(), jsBoolean(), jsNumber(), and jsString().
582 (UserObjectImp::callAsFunction):
583 (UserObjectImp::toPrimitive):
585 2005-12-05 Maciej Stachowiak <mjs@apple.com>
587 - added new forwarding headers
589 * kxmlcore/PassRefPtr.h: Added.
590 * kxmlcore/RefPtr.h: Added.
592 2005-12-05 Maciej Stachowiak <mjs@apple.com>
594 * kxmlcore/PassRefPtr.h: Added.
596 2005-11-26 Maciej Stachowiak <mjs@apple.com>
598 Rubber stamped by Eric.
600 - renamed InterpreterLock to JSLock
605 (KJSValueToCFTypeInternal):
606 * JSValueWrapper.cpp:
607 (JSValueWrapper::JSObjectCopyPropertyNames):
608 (JSValueWrapper::JSObjectCopyProperty):
609 (JSValueWrapper::JSObjectSetProperty):
610 (JSValueWrapper::JSObjectCallFunction):
611 (JSValueWrapper::JSObjectCopyCFValue):
612 * JavaScriptGlue.cpp:
616 (JSUnlockInterpreter):
618 (UserObjectImp::callAsFunction):
620 2005-11-16 Maciej Stachowiak <mjs@apple.com>
624 Updated to use new API to drop all locks.
626 * JavaScriptGlue.cpp:
628 (JSUnlockInterpreter):
630 (UserObjectImp::callAsFunction):
632 2005-11-14 Geoffrey Garen <ggaren@apple.com>
636 - Part of the fix for <rdar://problem/4342216> Installer crash in
637 KJS::ValueImp::marked() when garbage collector runs inside call to
638 ConstantValues::init()
640 Added locking in JSRunCreate, since JSRun::JSRun constructs an object.
642 * JavaScriptGlue.cpp:
645 2005-11-10 Geoffrey Garen <ggaren@apple.com>
649 - Fixed <rdar://problem/4334445> installer crashed on my
650 dual g4 450Mhz after clicking language
652 - Reversed backwards NULL check.
653 - Inserted guards against NULL fJSUserObject data member.
654 - Cleaned up some style.
657 (KJSValueToCFTypeInternal):
659 (UserObjectImp::~UserObjectImp):
660 (UserObjectImp::callAsFunction):
661 (UserObjectImp::userObjectGetter):
662 (UserObjectImp::getOwnPropertySlot):
663 (UserObjectImp::put):
664 (UserObjectImp::mark):
666 2005-11-04 Timothy Hatcher <timothy@apple.com>
670 * JavaScriptGlue.xcodeproj/project.pbxproj:
671 Fixed the FRAMEWORK_SEARCH_PATHS to look in the WebKit
672 Frameworks for the Default config.
674 2005-11-03 Timothy Hatcher <timothy@apple.com>
676 Reviewed by Darin and Vicki.
678 * JavaScriptGlue.xcodeproj/project.pbxproj:
679 Change to use $(SYSTEM_LIBRARY_DIR) consistently and place
680 $(NEXT_ROOT) in a few spots to make build-root work.
682 2005-11-01 Maciej Stachowiak <mjs@apple.com>
686 <rdar://problem/4324107> get JavaScriptGlue working with TOT JavaScriptCore again
688 - reverted all this stuff to use ReferenceList instead of IdentifierSequencedSet
691 (KJSValueToCFTypeInternal):
692 * JSValueWrapper.cpp:
693 (JSValueWrapper::JSObjectCopyPropertyNames):
695 (UserObjectImp::propList):
698 2005-10-11 Timothy Hatcher <timothy@apple.com>
700 Setup the proper Framework search path for the Default config.
701 Prepping for a TOT submission and build by B&I.
703 * JavaScriptGlue.xcodeproj/project.pbxproj:
705 2005-10-10 Darin Adler <darin@apple.com>
709 - converted tabs to spaces, NULL to 0, added some (void), got rid of __ prefixes
710 in headers (reserved for compiler/library)
721 * JSValueWrapper.cpp:
723 * JavaScriptGlue.cpp:
728 2005-10-10 Darin Adler <darin@apple.com>
730 * .cvsignore: Added. Ignore Makefile.in and Makefile.
732 2005-10-07 Timothy Hatcher <timothy@apple.com>
736 Build fix, needed to disable RTTI. Upgraded to a native target.
738 * JavaScriptGlue.xcodeproj/project.pbxproj:
741 2005-10-05 Maciej Stachowiak <mjs@apple.com>
743 Reviewed by Eric and Darin.
745 <rdar://problem/4260506> Port JavaScriptGlue to TOT JavaScriptCore
749 (JSRun::GlobalObject):
751 (JSInterpreter::JSInterpreter):
753 (KJSValueToJSObject):
755 (KJSValueToCFTypeInternal):
758 * JSValueWrapper.cpp:
759 (JSValueWrapper::JSValueWrapper):
760 (JSValueWrapper::GetValue):
761 (JSValueWrapper::JSObjectCopyPropertyNames):
762 (JSValueWrapper::JSObjectCopyProperty):
763 (JSValueWrapper::JSObjectSetProperty):
764 (JSValueWrapper::JSObjectCallFunction):
765 (JSValueWrapper::JSObjectMark):
767 * JavaScriptGlue.cpp:
768 (JSRunCopyGlobalObject):
769 * JavaScriptGlue.xcodeproj/project.pbxproj:
770 * Makefile.am: Added.
772 (UserObjectPrototypeImp::GlobalUserObjectPrototypeImp):
773 (UserObjectImp::UserObjectImp):
774 (UserObjectImp::callAsFunction):
775 (UserObjectImp::getPropertyNames):
776 (UserObjectImp::userObjectGetter):
777 (UserObjectImp::getOwnPropertySlot):
778 (UserObjectImp::put):
779 (UserObjectImp::toPrimitive):
780 (UserObjectImp::mark):
782 * kxmlcore/FastMalloc.h: Added.
783 * kxmlcore/HashSet.h: Added.
785 2005-09-14 Maciej Stachowiak <mjs@apple.com>
789 - fixed <rdar://problem/4214783> REGRESSION: kjs_fast_malloc crash due to lack of locking on multiple threads (seen selecting volumes in the installer)
791 Make sure to lock using the InterpreterLock class in all places that need it
792 (including anything that uses the collector, the parser, the protect count hash table,
793 and anything that allocates via fast_malloc).
798 (KJSValueToCFTypeInternal):
800 * JSValueWrapper.cpp:
801 (JSValueWrapper::JSObjectCopyPropertyNames):
802 (JSValueWrapper::JSObjectCopyProperty):
803 (JSValueWrapper::JSObjectSetProperty):
804 (JSValueWrapper::JSObjectCallFunction):
805 (JSValueWrapper::JSObjectCopyCFValue):
806 * JavaScriptGlue.cpp:
809 2005-09-27 Adele Peterson <adele@apple.com>
813 <rdar://problem/4223297> JavaScriptGlue: Submit 64-bit compatible versions of your API and SPIs by September 15
815 * JavaScriptGlue.h: Changed UInt32 to CFTypeID for JSTypeID
817 2005-09-06 Geoffrey Garen <ggaren@apple.com>
819 -upgraded project files to XCode 2.1
821 * JavaScriptGlue.pbproj/project.pbxproj: Removed.
822 * JavaScriptGlue.xcodeproj/.cvsignore: Added.
823 * JavaScriptGlue.xcodeproj/project.pbxproj: Added.
825 2005-09-01 Maciej Stachowiak <mjs@apple.com>
827 Rubber stamped by hyatt.
829 - initial import of JavaScriptGlue into our repository
831 * English.lproj/InfoPlist.strings: Added.
837 (JSBase::RetainCount):
839 (JSBase::CopyDescription):
842 * JSObject.cpp: Added.
843 (JSUserObject::JSUserObject):
844 (JSUserObject::~JSUserObject):
845 (JSUserObject::CopyPropertyNames):
846 (JSUserObject::CopyProperty):
847 (JSUserObject::SetProperty):
848 (JSUserObject::ImplementsCall):
849 (JSUserObject::CallFunction):
850 (JSUserObject::CopyCFValue):
851 (JSUserObject::Equal):
852 (JSUserObject::Mark):
853 (JSUserObject::GetData):
855 (JSUserObject::DataType):
861 (JSRun::GlobalObject):
862 (JSRun::GetInterpreter):
864 (JSRun::CheckSyntax):
866 (JSInterpreter::JSInterpreter):
867 (JSInterpreter::JSInterpreter::~JSInterpreter):
868 (JSInterpreter::Flags):
869 * JSUtils.cpp: Added.
872 (CFStringToIdentifier):
873 (IdentifierToCFString):
874 (KJSValueToJSObject):
876 (KJSValueToCFTypeInternal):
882 * JSValueWrapper.cpp: Added.
883 (JSValueWrapper::JSValueWrapper):
884 (JSValueWrapper::~JSValueWrapper):
885 (JSValueWrapper::GetValue):
886 (JSValueWrapper::GetExecState):
887 (JSValueWrapper::GetJSObectCallBacks):
888 (JSValueWrapper::JSObjectDispose):
889 (JSValueWrapper::JSObjectCopyPropertyNames):
890 (JSValueWrapper::JSObjectCopyProperty):
891 (JSValueWrapper::JSObjectSetProperty):
892 (JSValueWrapper::JSObjectCallFunction):
893 (JSValueWrapper::JSObjectCopyCFValue):
894 (JSValueWrapper::JSObjectMark):
895 * JSValueWrapper.h: Added.
896 * JavaScriptGlue.cpp: Added.
906 (JSObjectCreateInternal):
907 (JSObjectCopyCFValue):
909 (JSObjectCopyProperty):
910 (JSObjectSetProperty):
911 (JSObjectCallFunction):
914 (JSRunCopyGlobalObject):
918 (JSTypeGetCFArrayCallBacks):
921 (JSObjectCreateWithCFType):
923 (JSObjectCopyPropertyNames):
924 (CFJSObjectCopyProperty):
925 (CFJSObjectSetProperty):
926 (CFJSObjectCopyCFValue):
928 (CFJSObjectCopyPropertyNames):
929 (JSCreateCFArrayFromJSArray):
930 (JSCreateJSArrayFromCFArray):
932 (JSUnlockInterpreter):
933 * JavaScriptGlue.exp: Added.
934 * JavaScriptGlue.h: Added.
935 * JavaScriptGlue.pbproj/project.pbxproj: Added.
936 * UserObjectImp.cpp: Added.
937 (UserObjectPrototypeImp::UserObjectPrototypeImp):
938 (UserObjectPrototypeImp::GlobalUserObjectPrototypeImp):
939 (UserObjectImp::UserObjectImp):
940 (UserObjectImp::~UserObjectImp):
941 (UserObjectImp::classInfo):
942 (UserObjectImp::implementsCall):
943 (UserObjectImp::call):
944 (UserObjectImp::propList):
945 (UserObjectImp::hasProperty):
946 (UserObjectImp::get):
947 (UserObjectImp::put):
948 (UserObjectImp::GetJSUserObject):
949 (UserObjectImp::toPrimitive):
950 (UserObjectImp::toBoolean):
951 (UserObjectImp::toNumber):
952 (UserObjectImp::toString):
953 (UserObjectImp::mark):
954 * UserObjectImp.h: Added.