1 2005-12-19 Darin Adler <darin@apple.com>
3 Reviewed by Geoff Garen and Eric Seidel.
5 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=4923
6 stop using <ostream> in WebCore, eliminating the <cmath> troubles it causes
8 * kxmlcore/AlwaysInline.h: Added.
10 2005-12-15 Darin Adler <darin@apple.com>
14 * JSRun.cpp: (JSRun::Evaluate): Updated for change to Interpreter::evaluate.
16 2005-12-15 Darin Adler <darin@apple.com>
18 Reviewed by Tim Hatcher.
20 * JavaScriptGlue.xcodeproj/project.pbxproj: Removed some redundant build
21 settings, turned off prebinding explicitly for our Development and
22 Deployment builds, remove .exp file from sources. All "clean-up".
26 2005-12-13 Geoffrey Garen <ggaren@apple.com>
28 - Fixed build after Anders's last checkin to JavaScriptCore.
33 (UserObjectImp::userObjectGetter): Updated to reflect new argument that
34 getters take (unused here).
37 2005-12-13 Maciej Stachowiak <mjs@apple.com>
41 - added forwarding header for HashCountedSet
43 * kxmlcore/HashCountedSet.h: Added.
45 2005-12-10 Darin Adler <darin@apple.com>
47 Rubber stamped by Maciej.
49 - updated for KJS class renaming
51 * many files and functions
53 2005-12-10 Darin Adler <darin@apple.com>
57 - eliminated the old Undefined(), Null(), Boolean(), Number(), and String()
59 Code now uses jsUndefined(), jsNull(), jsBoolean(), jsNumber(), and jsString().
64 (UserObjectImp::callAsFunction):
65 (UserObjectImp::toPrimitive):
67 2005-12-05 Maciej Stachowiak <mjs@apple.com>
69 - added new forwarding headers
71 * kxmlcore/PassRefPtr.h: Added.
72 * kxmlcore/RefPtr.h: Added.
74 2005-12-05 Maciej Stachowiak <mjs@apple.com>
76 * kxmlcore/PassRefPtr.h: Added.
78 2005-11-26 Maciej Stachowiak <mjs@apple.com>
80 Rubber stamped by Eric.
82 - renamed InterpreterLock to JSLock
87 (KJSValueToCFTypeInternal):
89 (JSValueWrapper::JSObjectCopyPropertyNames):
90 (JSValueWrapper::JSObjectCopyProperty):
91 (JSValueWrapper::JSObjectSetProperty):
92 (JSValueWrapper::JSObjectCallFunction):
93 (JSValueWrapper::JSObjectCopyCFValue):
98 (JSUnlockInterpreter):
100 (UserObjectImp::callAsFunction):
102 2005-11-16 Maciej Stachowiak <mjs@apple.com>
106 Updated to use new API to drop all locks.
108 * JavaScriptGlue.cpp:
110 (JSUnlockInterpreter):
112 (UserObjectImp::callAsFunction):
114 2005-11-14 Geoffrey Garen <ggaren@apple.com>
118 - Part of the fix for <rdar://problem/4342216> Installer crash in
119 KJS::ValueImp::marked() when garbage collector runs inside call to
120 ConstantValues::init()
122 Added locking in JSRunCreate, since JSRun::JSRun constructs an object.
124 * JavaScriptGlue.cpp:
127 2005-11-10 Geoffrey Garen <ggaren@apple.com>
131 - Fixed <rdar://problem/4334445> installer crashed on my
132 dual g4 450Mhz after clicking language
134 - Reversed backwards NULL check.
135 - Inserted guards against NULL fJSUserObject data member.
136 - Cleaned up some style.
139 (KJSValueToCFTypeInternal):
141 (UserObjectImp::~UserObjectImp):
142 (UserObjectImp::callAsFunction):
143 (UserObjectImp::userObjectGetter):
144 (UserObjectImp::getOwnPropertySlot):
145 (UserObjectImp::put):
146 (UserObjectImp::mark):
148 2005-11-04 Timothy Hatcher <timothy@apple.com>
152 * JavaScriptGlue.xcodeproj/project.pbxproj:
153 Fixed the FRAMEWORK_SEARCH_PATHS to look in the WebKit
154 Frameworks for the Default config.
156 2005-11-03 Timothy Hatcher <timothy@apple.com>
158 Reviewed by Darin and Vicki.
160 * JavaScriptGlue.xcodeproj/project.pbxproj:
161 Change to use $(SYSTEM_LIBRARY_DIR) consistently and place
162 $(NEXT_ROOT) in a few spots to make build-root work.
164 2005-11-01 Maciej Stachowiak <mjs@apple.com>
168 <rdar://problem/4324107> get JavaScriptGlue working with TOT JavaScriptCore again
170 - reverted all this stuff to use ReferenceList instead of IdentifierSequencedSet
173 (KJSValueToCFTypeInternal):
174 * JSValueWrapper.cpp:
175 (JSValueWrapper::JSObjectCopyPropertyNames):
177 (UserObjectImp::propList):
180 2005-10-11 Timothy Hatcher <timothy@apple.com>
182 Setup the proper Framework search path for the Default config.
183 Prepping for a TOT submission and build by B&I.
185 * JavaScriptGlue.xcodeproj/project.pbxproj:
187 2005-10-10 Darin Adler <darin@apple.com>
191 - converted tabs to spaces, NULL to 0, added some (void), got rid of __ prefixes
192 in headers (reserved for compiler/library)
203 * JSValueWrapper.cpp:
205 * JavaScriptGlue.cpp:
210 2005-10-10 Darin Adler <darin@apple.com>
212 * .cvsignore: Added. Ignore Makefile.in and Makefile.
214 2005-10-07 Timothy Hatcher <timothy@apple.com>
218 Build fix, needed to disable RTTI. Upgraded to a native target.
220 * JavaScriptGlue.xcodeproj/project.pbxproj:
223 2005-10-05 Maciej Stachowiak <mjs@apple.com>
225 Reviewed by Eric and Darin.
227 <rdar://problem/4260506> Port JavaScriptGlue to TOT JavaScriptCore
231 (JSRun::GlobalObject):
233 (JSInterpreter::JSInterpreter):
235 (KJSValueToJSObject):
237 (KJSValueToCFTypeInternal):
240 * JSValueWrapper.cpp:
241 (JSValueWrapper::JSValueWrapper):
242 (JSValueWrapper::GetValue):
243 (JSValueWrapper::JSObjectCopyPropertyNames):
244 (JSValueWrapper::JSObjectCopyProperty):
245 (JSValueWrapper::JSObjectSetProperty):
246 (JSValueWrapper::JSObjectCallFunction):
247 (JSValueWrapper::JSObjectMark):
249 * JavaScriptGlue.cpp:
250 (JSRunCopyGlobalObject):
251 * JavaScriptGlue.xcodeproj/project.pbxproj:
252 * Makefile.am: Added.
254 (UserObjectPrototypeImp::GlobalUserObjectPrototypeImp):
255 (UserObjectImp::UserObjectImp):
256 (UserObjectImp::callAsFunction):
257 (UserObjectImp::getPropertyNames):
258 (UserObjectImp::userObjectGetter):
259 (UserObjectImp::getOwnPropertySlot):
260 (UserObjectImp::put):
261 (UserObjectImp::toPrimitive):
262 (UserObjectImp::mark):
264 * kxmlcore/FastMalloc.h: Added.
265 * kxmlcore/HashSet.h: Added.
267 2005-09-14 Maciej Stachowiak <mjs@apple.com>
271 - fixed <rdar://problem/4214783> REGRESSION: kjs_fast_malloc crash due to lack of locking on multiple threads (seen selecting volumes in the installer)
273 Make sure to lock using the InterpreterLock class in all places that need it
274 (including anything that uses the collector, the parser, the protect count hash table,
275 and anything that allocates via fast_malloc).
280 (KJSValueToCFTypeInternal):
282 * JSValueWrapper.cpp:
283 (JSValueWrapper::JSObjectCopyPropertyNames):
284 (JSValueWrapper::JSObjectCopyProperty):
285 (JSValueWrapper::JSObjectSetProperty):
286 (JSValueWrapper::JSObjectCallFunction):
287 (JSValueWrapper::JSObjectCopyCFValue):
288 * JavaScriptGlue.cpp:
291 2005-09-27 Adele Peterson <adele@apple.com>
295 <rdar://problem/4223297> JavaScriptGlue: Submit 64-bit compatible versions of your API and SPIs by September 15
297 * JavaScriptGlue.h: Changed UInt32 to CFTypeID for JSTypeID
299 2005-09-06 Geoffrey Garen <ggaren@apple.com>
301 -upgraded project files to XCode 2.1
303 * JavaScriptGlue.pbproj/project.pbxproj: Removed.
304 * JavaScriptGlue.xcodeproj/.cvsignore: Added.
305 * JavaScriptGlue.xcodeproj/project.pbxproj: Added.
307 2005-09-01 Maciej Stachowiak <mjs@apple.com>
309 Rubber stamped by hyatt.
311 - initial import of JavaScriptGlue into our repository
313 * English.lproj/InfoPlist.strings: Added.
319 (JSBase::RetainCount):
321 (JSBase::CopyDescription):
324 * JSObject.cpp: Added.
325 (JSUserObject::JSUserObject):
326 (JSUserObject::~JSUserObject):
327 (JSUserObject::CopyPropertyNames):
328 (JSUserObject::CopyProperty):
329 (JSUserObject::SetProperty):
330 (JSUserObject::ImplementsCall):
331 (JSUserObject::CallFunction):
332 (JSUserObject::CopyCFValue):
333 (JSUserObject::Equal):
334 (JSUserObject::Mark):
335 (JSUserObject::GetData):
337 (JSUserObject::DataType):
343 (JSRun::GlobalObject):
344 (JSRun::GetInterpreter):
346 (JSRun::CheckSyntax):
348 (JSInterpreter::JSInterpreter):
349 (JSInterpreter::JSInterpreter::~JSInterpreter):
350 (JSInterpreter::Flags):
351 * JSUtils.cpp: Added.
354 (CFStringToIdentifier):
355 (IdentifierToCFString):
356 (KJSValueToJSObject):
358 (KJSValueToCFTypeInternal):
364 * JSValueWrapper.cpp: Added.
365 (JSValueWrapper::JSValueWrapper):
366 (JSValueWrapper::~JSValueWrapper):
367 (JSValueWrapper::GetValue):
368 (JSValueWrapper::GetExecState):
369 (JSValueWrapper::GetJSObectCallBacks):
370 (JSValueWrapper::JSObjectDispose):
371 (JSValueWrapper::JSObjectCopyPropertyNames):
372 (JSValueWrapper::JSObjectCopyProperty):
373 (JSValueWrapper::JSObjectSetProperty):
374 (JSValueWrapper::JSObjectCallFunction):
375 (JSValueWrapper::JSObjectCopyCFValue):
376 (JSValueWrapper::JSObjectMark):
377 * JSValueWrapper.h: Added.
378 * JavaScriptGlue.cpp: Added.
388 (JSObjectCreateInternal):
389 (JSObjectCopyCFValue):
391 (JSObjectCopyProperty):
392 (JSObjectSetProperty):
393 (JSObjectCallFunction):
396 (JSRunCopyGlobalObject):
400 (JSTypeGetCFArrayCallBacks):
403 (JSObjectCreateWithCFType):
405 (JSObjectCopyPropertyNames):
406 (CFJSObjectCopyProperty):
407 (CFJSObjectSetProperty):
408 (CFJSObjectCopyCFValue):
410 (CFJSObjectCopyPropertyNames):
411 (JSCreateCFArrayFromJSArray):
412 (JSCreateJSArrayFromCFArray):
414 (JSUnlockInterpreter):
415 * JavaScriptGlue.exp: Added.
416 * JavaScriptGlue.h: Added.
417 * JavaScriptGlue.pbproj/project.pbxproj: Added.
418 * UserObjectImp.cpp: Added.
419 (UserObjectPrototypeImp::UserObjectPrototypeImp):
420 (UserObjectPrototypeImp::GlobalUserObjectPrototypeImp):
421 (UserObjectImp::UserObjectImp):
422 (UserObjectImp::~UserObjectImp):
423 (UserObjectImp::classInfo):
424 (UserObjectImp::implementsCall):
425 (UserObjectImp::call):
426 (UserObjectImp::propList):
427 (UserObjectImp::hasProperty):
428 (UserObjectImp::get):
429 (UserObjectImp::put):
430 (UserObjectImp::GetJSUserObject):
431 (UserObjectImp::toPrimitive):
432 (UserObjectImp::toBoolean):
433 (UserObjectImp::toNumber):
434 (UserObjectImp::toString):
435 (UserObjectImp::mark):
436 * UserObjectImp.h: Added.