1 2005-12-21 Timothy Hatcher <timothy@apple.com>
3 * JavaScriptGlue.xcodeproj/project.pbxproj:
4 Set tab width to 8, indent width to 4 and uses tabs to false per file.
6 2005-12-19 Darin Adler <darin@apple.com>
8 Reviewed by Geoff Garen and Eric Seidel.
10 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=4923
11 stop using <ostream> in WebCore, eliminating the <cmath> troubles it causes
13 * kxmlcore/AlwaysInline.h: Added.
15 2005-12-15 Darin Adler <darin@apple.com>
19 * JSRun.cpp: (JSRun::Evaluate): Updated for change to Interpreter::evaluate.
21 2005-12-15 Darin Adler <darin@apple.com>
23 Reviewed by Tim Hatcher.
25 * JavaScriptGlue.xcodeproj/project.pbxproj: Removed some redundant build
26 settings, turned off prebinding explicitly for our Development and
27 Deployment builds, remove .exp file from sources. All "clean-up".
31 2005-12-13 Geoffrey Garen <ggaren@apple.com>
33 - Fixed build after Anders's last checkin to JavaScriptCore.
38 (UserObjectImp::userObjectGetter): Updated to reflect new argument that
39 getters take (unused here).
42 2005-12-13 Maciej Stachowiak <mjs@apple.com>
46 - added forwarding header for HashCountedSet
48 * kxmlcore/HashCountedSet.h: Added.
50 2005-12-10 Darin Adler <darin@apple.com>
52 Rubber stamped by Maciej.
54 - updated for KJS class renaming
56 * many files and functions
58 2005-12-10 Darin Adler <darin@apple.com>
62 - eliminated the old Undefined(), Null(), Boolean(), Number(), and String()
64 Code now uses jsUndefined(), jsNull(), jsBoolean(), jsNumber(), and jsString().
69 (UserObjectImp::callAsFunction):
70 (UserObjectImp::toPrimitive):
72 2005-12-05 Maciej Stachowiak <mjs@apple.com>
74 - added new forwarding headers
76 * kxmlcore/PassRefPtr.h: Added.
77 * kxmlcore/RefPtr.h: Added.
79 2005-12-05 Maciej Stachowiak <mjs@apple.com>
81 * kxmlcore/PassRefPtr.h: Added.
83 2005-11-26 Maciej Stachowiak <mjs@apple.com>
85 Rubber stamped by Eric.
87 - renamed InterpreterLock to JSLock
92 (KJSValueToCFTypeInternal):
94 (JSValueWrapper::JSObjectCopyPropertyNames):
95 (JSValueWrapper::JSObjectCopyProperty):
96 (JSValueWrapper::JSObjectSetProperty):
97 (JSValueWrapper::JSObjectCallFunction):
98 (JSValueWrapper::JSObjectCopyCFValue):
103 (JSUnlockInterpreter):
105 (UserObjectImp::callAsFunction):
107 2005-11-16 Maciej Stachowiak <mjs@apple.com>
111 Updated to use new API to drop all locks.
113 * JavaScriptGlue.cpp:
115 (JSUnlockInterpreter):
117 (UserObjectImp::callAsFunction):
119 2005-11-14 Geoffrey Garen <ggaren@apple.com>
123 - Part of the fix for <rdar://problem/4342216> Installer crash in
124 KJS::ValueImp::marked() when garbage collector runs inside call to
125 ConstantValues::init()
127 Added locking in JSRunCreate, since JSRun::JSRun constructs an object.
129 * JavaScriptGlue.cpp:
132 2005-11-10 Geoffrey Garen <ggaren@apple.com>
136 - Fixed <rdar://problem/4334445> installer crashed on my
137 dual g4 450Mhz after clicking language
139 - Reversed backwards NULL check.
140 - Inserted guards against NULL fJSUserObject data member.
141 - Cleaned up some style.
144 (KJSValueToCFTypeInternal):
146 (UserObjectImp::~UserObjectImp):
147 (UserObjectImp::callAsFunction):
148 (UserObjectImp::userObjectGetter):
149 (UserObjectImp::getOwnPropertySlot):
150 (UserObjectImp::put):
151 (UserObjectImp::mark):
153 2005-11-04 Timothy Hatcher <timothy@apple.com>
157 * JavaScriptGlue.xcodeproj/project.pbxproj:
158 Fixed the FRAMEWORK_SEARCH_PATHS to look in the WebKit
159 Frameworks for the Default config.
161 2005-11-03 Timothy Hatcher <timothy@apple.com>
163 Reviewed by Darin and Vicki.
165 * JavaScriptGlue.xcodeproj/project.pbxproj:
166 Change to use $(SYSTEM_LIBRARY_DIR) consistently and place
167 $(NEXT_ROOT) in a few spots to make build-root work.
169 2005-11-01 Maciej Stachowiak <mjs@apple.com>
173 <rdar://problem/4324107> get JavaScriptGlue working with TOT JavaScriptCore again
175 - reverted all this stuff to use ReferenceList instead of IdentifierSequencedSet
178 (KJSValueToCFTypeInternal):
179 * JSValueWrapper.cpp:
180 (JSValueWrapper::JSObjectCopyPropertyNames):
182 (UserObjectImp::propList):
185 2005-10-11 Timothy Hatcher <timothy@apple.com>
187 Setup the proper Framework search path for the Default config.
188 Prepping for a TOT submission and build by B&I.
190 * JavaScriptGlue.xcodeproj/project.pbxproj:
192 2005-10-10 Darin Adler <darin@apple.com>
196 - converted tabs to spaces, NULL to 0, added some (void), got rid of __ prefixes
197 in headers (reserved for compiler/library)
208 * JSValueWrapper.cpp:
210 * JavaScriptGlue.cpp:
215 2005-10-10 Darin Adler <darin@apple.com>
217 * .cvsignore: Added. Ignore Makefile.in and Makefile.
219 2005-10-07 Timothy Hatcher <timothy@apple.com>
223 Build fix, needed to disable RTTI. Upgraded to a native target.
225 * JavaScriptGlue.xcodeproj/project.pbxproj:
228 2005-10-05 Maciej Stachowiak <mjs@apple.com>
230 Reviewed by Eric and Darin.
232 <rdar://problem/4260506> Port JavaScriptGlue to TOT JavaScriptCore
236 (JSRun::GlobalObject):
238 (JSInterpreter::JSInterpreter):
240 (KJSValueToJSObject):
242 (KJSValueToCFTypeInternal):
245 * JSValueWrapper.cpp:
246 (JSValueWrapper::JSValueWrapper):
247 (JSValueWrapper::GetValue):
248 (JSValueWrapper::JSObjectCopyPropertyNames):
249 (JSValueWrapper::JSObjectCopyProperty):
250 (JSValueWrapper::JSObjectSetProperty):
251 (JSValueWrapper::JSObjectCallFunction):
252 (JSValueWrapper::JSObjectMark):
254 * JavaScriptGlue.cpp:
255 (JSRunCopyGlobalObject):
256 * JavaScriptGlue.xcodeproj/project.pbxproj:
257 * Makefile.am: Added.
259 (UserObjectPrototypeImp::GlobalUserObjectPrototypeImp):
260 (UserObjectImp::UserObjectImp):
261 (UserObjectImp::callAsFunction):
262 (UserObjectImp::getPropertyNames):
263 (UserObjectImp::userObjectGetter):
264 (UserObjectImp::getOwnPropertySlot):
265 (UserObjectImp::put):
266 (UserObjectImp::toPrimitive):
267 (UserObjectImp::mark):
269 * kxmlcore/FastMalloc.h: Added.
270 * kxmlcore/HashSet.h: Added.
272 2005-09-14 Maciej Stachowiak <mjs@apple.com>
276 - fixed <rdar://problem/4214783> REGRESSION: kjs_fast_malloc crash due to lack of locking on multiple threads (seen selecting volumes in the installer)
278 Make sure to lock using the InterpreterLock class in all places that need it
279 (including anything that uses the collector, the parser, the protect count hash table,
280 and anything that allocates via fast_malloc).
285 (KJSValueToCFTypeInternal):
287 * JSValueWrapper.cpp:
288 (JSValueWrapper::JSObjectCopyPropertyNames):
289 (JSValueWrapper::JSObjectCopyProperty):
290 (JSValueWrapper::JSObjectSetProperty):
291 (JSValueWrapper::JSObjectCallFunction):
292 (JSValueWrapper::JSObjectCopyCFValue):
293 * JavaScriptGlue.cpp:
296 2005-09-27 Adele Peterson <adele@apple.com>
300 <rdar://problem/4223297> JavaScriptGlue: Submit 64-bit compatible versions of your API and SPIs by September 15
302 * JavaScriptGlue.h: Changed UInt32 to CFTypeID for JSTypeID
304 2005-09-06 Geoffrey Garen <ggaren@apple.com>
306 -upgraded project files to XCode 2.1
308 * JavaScriptGlue.pbproj/project.pbxproj: Removed.
309 * JavaScriptGlue.xcodeproj/.cvsignore: Added.
310 * JavaScriptGlue.xcodeproj/project.pbxproj: Added.
312 2005-09-01 Maciej Stachowiak <mjs@apple.com>
314 Rubber stamped by hyatt.
316 - initial import of JavaScriptGlue into our repository
318 * English.lproj/InfoPlist.strings: Added.
324 (JSBase::RetainCount):
326 (JSBase::CopyDescription):
329 * JSObject.cpp: Added.
330 (JSUserObject::JSUserObject):
331 (JSUserObject::~JSUserObject):
332 (JSUserObject::CopyPropertyNames):
333 (JSUserObject::CopyProperty):
334 (JSUserObject::SetProperty):
335 (JSUserObject::ImplementsCall):
336 (JSUserObject::CallFunction):
337 (JSUserObject::CopyCFValue):
338 (JSUserObject::Equal):
339 (JSUserObject::Mark):
340 (JSUserObject::GetData):
342 (JSUserObject::DataType):
348 (JSRun::GlobalObject):
349 (JSRun::GetInterpreter):
351 (JSRun::CheckSyntax):
353 (JSInterpreter::JSInterpreter):
354 (JSInterpreter::JSInterpreter::~JSInterpreter):
355 (JSInterpreter::Flags):
356 * JSUtils.cpp: Added.
359 (CFStringToIdentifier):
360 (IdentifierToCFString):
361 (KJSValueToJSObject):
363 (KJSValueToCFTypeInternal):
369 * JSValueWrapper.cpp: Added.
370 (JSValueWrapper::JSValueWrapper):
371 (JSValueWrapper::~JSValueWrapper):
372 (JSValueWrapper::GetValue):
373 (JSValueWrapper::GetExecState):
374 (JSValueWrapper::GetJSObectCallBacks):
375 (JSValueWrapper::JSObjectDispose):
376 (JSValueWrapper::JSObjectCopyPropertyNames):
377 (JSValueWrapper::JSObjectCopyProperty):
378 (JSValueWrapper::JSObjectSetProperty):
379 (JSValueWrapper::JSObjectCallFunction):
380 (JSValueWrapper::JSObjectCopyCFValue):
381 (JSValueWrapper::JSObjectMark):
382 * JSValueWrapper.h: Added.
383 * JavaScriptGlue.cpp: Added.
393 (JSObjectCreateInternal):
394 (JSObjectCopyCFValue):
396 (JSObjectCopyProperty):
397 (JSObjectSetProperty):
398 (JSObjectCallFunction):
401 (JSRunCopyGlobalObject):
405 (JSTypeGetCFArrayCallBacks):
408 (JSObjectCreateWithCFType):
410 (JSObjectCopyPropertyNames):
411 (CFJSObjectCopyProperty):
412 (CFJSObjectSetProperty):
413 (CFJSObjectCopyCFValue):
415 (CFJSObjectCopyPropertyNames):
416 (JSCreateCFArrayFromJSArray):
417 (JSCreateJSArrayFromCFArray):
419 (JSUnlockInterpreter):
420 * JavaScriptGlue.exp: Added.
421 * JavaScriptGlue.h: Added.
422 * JavaScriptGlue.pbproj/project.pbxproj: Added.
423 * UserObjectImp.cpp: Added.
424 (UserObjectPrototypeImp::UserObjectPrototypeImp):
425 (UserObjectPrototypeImp::GlobalUserObjectPrototypeImp):
426 (UserObjectImp::UserObjectImp):
427 (UserObjectImp::~UserObjectImp):
428 (UserObjectImp::classInfo):
429 (UserObjectImp::implementsCall):
430 (UserObjectImp::call):
431 (UserObjectImp::propList):
432 (UserObjectImp::hasProperty):
433 (UserObjectImp::get):
434 (UserObjectImp::put):
435 (UserObjectImp::GetJSUserObject):
436 (UserObjectImp::toPrimitive):
437 (UserObjectImp::toBoolean):
438 (UserObjectImp::toNumber):
439 (UserObjectImp::toString):
440 (UserObjectImp::mark):
441 * UserObjectImp.h: Added.