3 2005-12-13 Geoffrey Garen <ggaren@apple.com>
5 - Fixed build after Anders's last checkin to JavaScriptCore.
10 (UserObjectImp::userObjectGetter): Updated to reflect new argument that
11 getters take (unused here).
14 2005-12-13 Maciej Stachowiak <mjs@apple.com>
18 - added forwarding header for HashCountedSet
20 * kxmlcore/HashCountedSet.h: Added.
22 2005-12-10 Darin Adler <darin@apple.com>
24 Rubber stamped by Maciej.
26 - updated for KJS class renaming
28 * many files and functions
30 2005-12-10 Darin Adler <darin@apple.com>
34 - eliminated the old Undefined(), Null(), Boolean(), Number(), and String()
36 Code now uses jsUndefined(), jsNull(), jsBoolean(), jsNumber(), and jsString().
41 (UserObjectImp::callAsFunction):
42 (UserObjectImp::toPrimitive):
44 2005-12-05 Maciej Stachowiak <mjs@apple.com>
46 - added new forwarding headers
48 * kxmlcore/PassRefPtr.h: Added.
49 * kxmlcore/RefPtr.h: Added.
51 2005-12-05 Maciej Stachowiak <mjs@apple.com>
53 Reviewed by NOBODY (OOPS!).
55 * kxmlcore/PassRefPtr.h: Added.
57 2005-11-26 Maciej Stachowiak <mjs@apple.com>
59 Rubber stamped by Eric.
61 - renamed InterpreterLock to JSLock
66 (KJSValueToCFTypeInternal):
68 (JSValueWrapper::JSObjectCopyPropertyNames):
69 (JSValueWrapper::JSObjectCopyProperty):
70 (JSValueWrapper::JSObjectSetProperty):
71 (JSValueWrapper::JSObjectCallFunction):
72 (JSValueWrapper::JSObjectCopyCFValue):
77 (JSUnlockInterpreter):
79 (UserObjectImp::callAsFunction):
81 2005-11-16 Maciej Stachowiak <mjs@apple.com>
85 Updated to use new API to drop all locks.
89 (JSUnlockInterpreter):
91 (UserObjectImp::callAsFunction):
93 2005-11-14 Geoffrey Garen <ggaren@apple.com>
97 - Part of the fix for <rdar://problem/4342216> Installer crash in
98 KJS::ValueImp::marked() when garbage collector runs inside call to
99 ConstantValues::init()
101 Added locking in JSRunCreate, since JSRun::JSRun constructs an object.
103 * JavaScriptGlue.cpp:
106 2005-11-10 Geoffrey Garen <ggaren@apple.com>
110 - Fixed <rdar://problem/4334445> installer crashed on my
111 dual g4 450Mhz after clicking language
113 - Reversed backwards NULL check.
114 - Inserted guards against NULL fJSUserObject data member.
115 - Cleaned up some style.
118 (KJSValueToCFTypeInternal):
120 (UserObjectImp::~UserObjectImp):
121 (UserObjectImp::callAsFunction):
122 (UserObjectImp::userObjectGetter):
123 (UserObjectImp::getOwnPropertySlot):
124 (UserObjectImp::put):
125 (UserObjectImp::mark):
127 2005-11-04 Timothy Hatcher <timothy@apple.com>
131 * JavaScriptGlue.xcodeproj/project.pbxproj:
132 Fixed the FRAMEWORK_SEARCH_PATHS to look in the WebKit
133 Frameworks for the Default config.
135 2005-11-03 Timothy Hatcher <timothy@apple.com>
137 Reviewed by Darin and Vicki.
139 * JavaScriptGlue.xcodeproj/project.pbxproj:
140 Change to use $(SYSTEM_LIBRARY_DIR) consistently and place
141 $(NEXT_ROOT) in a few spots to make build-root work.
143 2005-11-01 Maciej Stachowiak <mjs@apple.com>
147 <rdar://problem/4324107> get JavaScriptGlue working with TOT JavaScriptCore again
149 - reverted all this stuff to use ReferenceList instead of IdentifierSequencedSet
152 (KJSValueToCFTypeInternal):
153 * JSValueWrapper.cpp:
154 (JSValueWrapper::JSObjectCopyPropertyNames):
156 (UserObjectImp::propList):
159 2005-10-11 Timothy Hatcher <timothy@apple.com>
161 Setup the proper Framework search path for the Default config.
162 Prepping for a TOT submission and build by B&I.
164 * JavaScriptGlue.xcodeproj/project.pbxproj:
166 2005-10-10 Darin Adler <darin@apple.com>
170 - converted tabs to spaces, NULL to 0, added some (void), got rid of __ prefixes
171 in headers (reserved for compiler/library)
182 * JSValueWrapper.cpp:
184 * JavaScriptGlue.cpp:
189 2005-10-10 Darin Adler <darin@apple.com>
191 * .cvsignore: Added. Ignore Makefile.in and Makefile.
193 2005-10-07 Timothy Hatcher <timothy@apple.com>
197 Build fix, needed to disable RTTI. Upgraded to a native target.
199 * JavaScriptGlue.xcodeproj/project.pbxproj:
202 2005-10-05 Maciej Stachowiak <mjs@apple.com>
204 Reviewed by Eric and Darin.
206 <rdar://problem/4260506> Port JavaScriptGlue to TOT JavaScriptCore
210 (JSRun::GlobalObject):
212 (JSInterpreter::JSInterpreter):
214 (KJSValueToJSObject):
216 (KJSValueToCFTypeInternal):
219 * JSValueWrapper.cpp:
220 (JSValueWrapper::JSValueWrapper):
221 (JSValueWrapper::GetValue):
222 (JSValueWrapper::JSObjectCopyPropertyNames):
223 (JSValueWrapper::JSObjectCopyProperty):
224 (JSValueWrapper::JSObjectSetProperty):
225 (JSValueWrapper::JSObjectCallFunction):
226 (JSValueWrapper::JSObjectMark):
228 * JavaScriptGlue.cpp:
229 (JSRunCopyGlobalObject):
230 * JavaScriptGlue.xcodeproj/project.pbxproj:
231 * Makefile.am: Added.
233 (UserObjectPrototypeImp::GlobalUserObjectPrototypeImp):
234 (UserObjectImp::UserObjectImp):
235 (UserObjectImp::callAsFunction):
236 (UserObjectImp::getPropertyNames):
237 (UserObjectImp::userObjectGetter):
238 (UserObjectImp::getOwnPropertySlot):
239 (UserObjectImp::put):
240 (UserObjectImp::toPrimitive):
241 (UserObjectImp::mark):
243 * kxmlcore/FastMalloc.h: Added.
244 * kxmlcore/HashSet.h: Added.
246 2005-09-14 Maciej Stachowiak <mjs@apple.com>
250 - fixed <rdar://problem/4214783> REGRESSION: kjs_fast_malloc crash due to lack of locking on multiple threads (seen selecting volumes in the installer)
252 Make sure to lock using the InterpreterLock class in all places that need it
253 (including anything that uses the collector, the parser, the protect count hash table,
254 and anything that allocates via fast_malloc).
259 (KJSValueToCFTypeInternal):
261 * JSValueWrapper.cpp:
262 (JSValueWrapper::JSObjectCopyPropertyNames):
263 (JSValueWrapper::JSObjectCopyProperty):
264 (JSValueWrapper::JSObjectSetProperty):
265 (JSValueWrapper::JSObjectCallFunction):
266 (JSValueWrapper::JSObjectCopyCFValue):
267 * JavaScriptGlue.cpp:
270 2005-09-27 Adele Peterson <adele@apple.com>
274 <rdar://problem/4223297> JavaScriptGlue: Submit 64-bit compatible versions of your API and SPIs by September 15
276 * JavaScriptGlue.h: Changed UInt32 to CFTypeID for JSTypeID
278 2005-09-06 Geoffrey Garen <ggaren@apple.com>
280 -upgraded project files to XCode 2.1
282 * JavaScriptGlue.pbproj/project.pbxproj: Removed.
283 * JavaScriptGlue.xcodeproj/.cvsignore: Added.
284 * JavaScriptGlue.xcodeproj/project.pbxproj: Added.
286 2005-09-01 Maciej Stachowiak <mjs@apple.com>
288 Rubber stamped by hyatt.
290 - initial import of JavaScriptGlue into our repository
292 * English.lproj/InfoPlist.strings: Added.
298 (JSBase::RetainCount):
300 (JSBase::CopyDescription):
303 * JSObject.cpp: Added.
304 (JSUserObject::JSUserObject):
305 (JSUserObject::~JSUserObject):
306 (JSUserObject::CopyPropertyNames):
307 (JSUserObject::CopyProperty):
308 (JSUserObject::SetProperty):
309 (JSUserObject::ImplementsCall):
310 (JSUserObject::CallFunction):
311 (JSUserObject::CopyCFValue):
312 (JSUserObject::Equal):
313 (JSUserObject::Mark):
314 (JSUserObject::GetData):
316 (JSUserObject::DataType):
322 (JSRun::GlobalObject):
323 (JSRun::GetInterpreter):
325 (JSRun::CheckSyntax):
327 (JSInterpreter::JSInterpreter):
328 (JSInterpreter::JSInterpreter::~JSInterpreter):
329 (JSInterpreter::Flags):
330 * JSUtils.cpp: Added.
333 (CFStringToIdentifier):
334 (IdentifierToCFString):
335 (KJSValueToJSObject):
337 (KJSValueToCFTypeInternal):
343 * JSValueWrapper.cpp: Added.
344 (JSValueWrapper::JSValueWrapper):
345 (JSValueWrapper::~JSValueWrapper):
346 (JSValueWrapper::GetValue):
347 (JSValueWrapper::GetExecState):
348 (JSValueWrapper::GetJSObectCallBacks):
349 (JSValueWrapper::JSObjectDispose):
350 (JSValueWrapper::JSObjectCopyPropertyNames):
351 (JSValueWrapper::JSObjectCopyProperty):
352 (JSValueWrapper::JSObjectSetProperty):
353 (JSValueWrapper::JSObjectCallFunction):
354 (JSValueWrapper::JSObjectCopyCFValue):
355 (JSValueWrapper::JSObjectMark):
356 * JSValueWrapper.h: Added.
357 * JavaScriptGlue.cpp: Added.
367 (JSObjectCreateInternal):
368 (JSObjectCopyCFValue):
370 (JSObjectCopyProperty):
371 (JSObjectSetProperty):
372 (JSObjectCallFunction):
375 (JSRunCopyGlobalObject):
379 (JSTypeGetCFArrayCallBacks):
382 (JSObjectCreateWithCFType):
384 (JSObjectCopyPropertyNames):
385 (CFJSObjectCopyProperty):
386 (CFJSObjectSetProperty):
387 (CFJSObjectCopyCFValue):
389 (CFJSObjectCopyPropertyNames):
390 (JSCreateCFArrayFromJSArray):
391 (JSCreateJSArrayFromCFArray):
393 (JSUnlockInterpreter):
394 * JavaScriptGlue.exp: Added.
395 * JavaScriptGlue.h: Added.
396 * JavaScriptGlue.pbproj/project.pbxproj: Added.
397 * UserObjectImp.cpp: Added.
398 (UserObjectPrototypeImp::UserObjectPrototypeImp):
399 (UserObjectPrototypeImp::GlobalUserObjectPrototypeImp):
400 (UserObjectImp::UserObjectImp):
401 (UserObjectImp::~UserObjectImp):
402 (UserObjectImp::classInfo):
403 (UserObjectImp::implementsCall):
404 (UserObjectImp::call):
405 (UserObjectImp::propList):
406 (UserObjectImp::hasProperty):
407 (UserObjectImp::get):
408 (UserObjectImp::put):
409 (UserObjectImp::GetJSUserObject):
410 (UserObjectImp::toPrimitive):
411 (UserObjectImp::toBoolean):
412 (UserObjectImp::toNumber):
413 (UserObjectImp::toString):
414 (UserObjectImp::mark):
415 * UserObjectImp.h: Added.