JavaScriptGlue/ChangeLog
changeset 0 4f2f89ce4247
equal deleted inserted replaced
-1:000000000000 0:4f2f89ce4247
       
     1 2010-07-01  Oliver Hunt  <oliver@apple.com>
       
     2 
       
     3         Reviewed by Maciej Stachowiak.
       
     4 
       
     5         Add a FixedArray template to encapsulate fixed length arrays
       
     6         https://bugs.webkit.org/show_bug.cgi?id=41506
       
     7 
       
     8         Add forwarding header.
       
     9 
       
    10         * ForwardingHeaders/wtf/FixedArray.h: Added.
       
    11 
       
    12 2010-06-02  Gavin Barraclough  <barraclough@apple.com>
       
    13 
       
    14         Reviewed by Oliver Hunt.
       
    15 
       
    16         Bug 40094 - The return type of NativeFunction should be EncodedJSValue
       
    17         On Windows & Linux, using JSVALUE32_64, EncodedJSValue is returned in registers, but JSValue is not.
       
    18 
       
    19         * JSObject.cpp:
       
    20         (nativeCallFunction):
       
    21 
       
    22 2010-05-28  Geoffrey Garen  <ggaren@apple.com>
       
    23 
       
    24         Reviewed by Sam Weinig, Gavin Barraclough, Oliver Hunt.
       
    25 
       
    26         Simplified the host calling convention.
       
    27 
       
    28         PART ONE: Functional code changes.
       
    29         
       
    30         [ None in JavaScriptGlue ]
       
    31         
       
    32         PART TWO: Global search and replace.
       
    33         
       
    34         In the areas below, I used global search-and-replace to change
       
    35             (ExecState*, JSObject*, JSValue, const ArgList&) => (ExecState*)
       
    36             args.size() => exec->argumentCount()
       
    37             args.at(i) => exec->argument(i)
       
    38 
       
    39         * JSObject.cpp:
       
    40         (nativeCallFunction):
       
    41         * UserObjectImp.cpp:
       
    42         (UserObjectImp::callAsFunction):
       
    43         * UserObjectImp.h:
       
    44 
       
    45 2010-04-23  Sam Weinig  <sam@webkit.org>
       
    46 
       
    47         Reviewed by David Levin.
       
    48 
       
    49         Fix for https://bugs.webkit.org/show_bug.cgi?id=38060
       
    50         Split up Threading.h
       
    51 
       
    52         Add necessary forwarding headers.
       
    53 
       
    54         * ForwardingHeaders/wtf/Atomics.h: Added.
       
    55         * ForwardingHeaders/wtf/ThreadSafeShared.h: Added.
       
    56         * ForwardingHeaders/wtf/ThreadingPrimitives.h: Added.
       
    57 
       
    58 2010-04-22  Sam Weinig  <sam@webkit.org>
       
    59 
       
    60         Reviewed by Anders Carlsson.
       
    61 
       
    62         Fix for https://bugs.webkit.org/show_bug.cgi?id=38022
       
    63         Move isMainThread predicate function to MainThread.h
       
    64 
       
    65         Added forwarding header for MainThread.h
       
    66 
       
    67         * ForwardingHeaders/wtf/MainThread.h: Added.
       
    68 
       
    69 2010-04-22  Gavin Barraclough  <barraclough@apple.com>
       
    70 
       
    71         Rubber stamped by Sam Weinig
       
    72 
       
    73         Do not get the globaldata for the APIShim via the
       
    74         global object; global object construction creates identifiers
       
    75         which results in the ASSERTs checking the thread data's
       
    76         identifierTable has been set failing.
       
    77 
       
    78         * JSUtils.cpp:
       
    79         (unprotectGlobalObject):
       
    80         (getThreadGlobalData):
       
    81         (getThreadGlobalObject):
       
    82         (JSGlueAPIEntry::JSGlueAPIEntry):
       
    83         (JSGlueAPICallback::~JSGlueAPICallback):
       
    84 
       
    85 2010-04-21  Geoffrey Garen  <ggaren@apple.com>
       
    86 
       
    87         Reviewed by Sam Weinig.
       
    88 
       
    89         <rdar://problem/7879485> Leopard: Crash after opening Software Update dialog
       
    90 
       
    91         * JSUtils.cpp:
       
    92         (unprotectGlobalObject): Use the version of JSGlueAPIEntry that doesn't
       
    93         call pthread_getspecific, since it's not safe to call pthread_getspecific
       
    94         from a thread-specific data destructor. (<rdar://problem/7889842>
       
    95         pthread_getspecific returns 0 when called from thread-specific data
       
    96         destructor function)
       
    97 
       
    98         (getThreadGlobalObject): Make sure to set the currentIdentifierTable
       
    99         when first constructing our JSGlobalObject, since JSGlueAPIEntry has not
       
   100         yet had an opportunity to do so.
       
   101 
       
   102         (JSGlueAPIEntry::JSGlueAPIEntry):
       
   103         * JSUtils.h: New version of JSGlueAPIEntry that doesn't call
       
   104         pthread_getspecific.
       
   105 
       
   106 2010-04-21  Gavin Barraclough  <barraclough@apple.com>
       
   107 
       
   108         Reviewed by NOBODY (build fix).
       
   109         Errk! tree on fire, add fwd!
       
   110 
       
   111         * ForwardingHeaders/wtf/text/StringHash.h: Added.
       
   112 
       
   113 2010-04-20  Gavin Barraclough  <barraclough@apple.com>
       
   114 
       
   115         Reviewed by Oliver Hunt, Darin Adler.
       
   116 
       
   117         Bug 37906 - Remove JSC::UStringImpl; unify with StringImpl.
       
   118         Add forwarding header.
       
   119 
       
   120         * ForwardingHeaders/wtf/ASCIICType.h: Added.
       
   121         * ForwardingHeaders/wtf/text/StringImpl.h: Added.
       
   122 
       
   123 2010-04-20  Gavin Barraclough  <barraclough@apple.com>
       
   124 
       
   125         Reviewed by Oliver Hunt.
       
   126 
       
   127         Bug 37895 - Share common code from UStringImplBase with StringImpl
       
   128         Add forwarding header.
       
   129 
       
   130         * ForwardingHeaders/wtf/text/StringImplBase.h: Added.
       
   131 
       
   132 2010-04-20  Gavin Barraclough  <barraclough@apple.com>
       
   133 
       
   134         Rubber stamped by Maciej Stachowiak (relanding r57829).
       
   135         Added missing JS_EXPORTDATA
       
   136 
       
   137         * ForwardingHeaders/wtf/WTFThreadData.h: Copied from JavaScriptGlue/ForwardingHeaders/wtf/WTFThreadData.h.
       
   138         * JSUtils.cpp:
       
   139         (JSGlueAPIEntry::JSGlueAPIEntry):
       
   140         (JSGlueAPIEntry::~JSGlueAPIEntry):
       
   141         (JSGlueAPICallback::JSGlueAPICallback):
       
   142         (JSGlueAPICallback::~JSGlueAPICallback):
       
   143 
       
   144 2010-04-19  Gavin Barraclough  <barraclough@apple.com>
       
   145 
       
   146         Reviewed by NOBODY (rolling out r57829).
       
   147         This broke windows.
       
   148 
       
   149         * ForwardingHeaders/wtf/WTFThreadData.h: Removed.
       
   150         * JSUtils.cpp:
       
   151         (JSGlueAPIEntry::JSGlueAPIEntry):
       
   152         (JSGlueAPIEntry::~JSGlueAPIEntry):
       
   153         (JSGlueAPICallback::JSGlueAPICallback):
       
   154         (JSGlueAPICallback::~JSGlueAPICallback):
       
   155 
       
   156 2010-04-16  Gavin Barraclough  <barraclough@apple.com>
       
   157 
       
   158         Reviewed by Sam Weinig.
       
   159 
       
   160         https://bugs.webkit.org/show_bug.cgi?id=37745
       
   161         Move string uniquing tables to (new) WTFThreadData class.
       
   162 
       
   163         Remove AtomicString's dependency on ThreadGlobalData so that we can move
       
   164         WebCore's string classes up to WTF.
       
   165 
       
   166         * ForwardingHeaders/wtf/WTFThreadData.h: Added.
       
   167         * JSUtils.cpp: Update 
       
   168         (JSGlueAPIEntry::JSGlueAPIEntry):
       
   169         (JSGlueAPIEntry::~JSGlueAPIEntry):
       
   170         (JSGlueAPICallback::JSGlueAPICallback):
       
   171         (JSGlueAPICallback::~JSGlueAPICallback):
       
   172 
       
   173 2010-03-31  Gavin Barraclough  <barraclough@apple.com>
       
   174 
       
   175         Reviewed by Geoff Garen.
       
   176 
       
   177         Bug 36871 - Remove JSC::CString
       
   178         Use WTF::CString instead (which until recently was WebCore::CString).
       
   179 
       
   180         * ForwardingHeaders/wtf/text: Added.
       
   181         * ForwardingHeaders/wtf/text/CString.h: Added.
       
   182 
       
   183 2010-03-11  Mark Rowe  <mrowe@apple.com>
       
   184 
       
   185         Reviewed by David Kilzer.
       
   186 
       
   187         <rdar://problem/7745082> Make it possible to build WebKit for older Mac OS X versions from the current Mac OS X version
       
   188 
       
   189         Default to using the appropriate SDK if the target Mac OS X version is not the current Mac OS X version.
       
   190 
       
   191         * Configurations/Base.xcconfig:
       
   192 
       
   193 2010-03-11  Mark Rowe  <mrowe@apple.com>
       
   194 
       
   195         Reviewed by Tim Hatcher.
       
   196 
       
   197         <rdar://problem/7745082> Make it possible to build WebKit for older Mac OS X versions from the current Mac OS X version
       
   198 
       
   199         Introduce TARGET_MAC_OS_X_VERSION_MAJOR to represent the Mac OS X version that is being targeted.  It defaults to the
       
   200         current Mac OS X version unless otherwise specified.
       
   201 
       
   202         Key off TARGET_MAC_OS_X_VERSION_MAJOR where we'd previously been keying off MAC_OS_X_VERSION_MAJOR.
       
   203 
       
   204         Explicitly map from the target Mac OS X version to the preferred compiler since Xcode's default compiler choice
       
   205         may not be usable when targetting a different Mac OS X version.
       
   206 
       
   207         Key off TARGET_GCC_VERSION rather than MAC_OS_X_VERSION_MAJOR in locations where we'd previously been keying off
       
   208         MAC_OS_X_VERSION_MAJOR but the decision is really related to the compiler version being used.
       
   209 
       
   210         * Configurations/Base.xcconfig:
       
   211         * Configurations/DebugRelease.xcconfig:
       
   212         * Configurations/Version.xcconfig:
       
   213         * JavaScriptGlue.xcodeproj/project.pbxproj:
       
   214 
       
   215 2010-03-01  Oliver Hunt  <oliver@apple.com>
       
   216 
       
   217         Reviewed by Maciej Stachowiak.
       
   218 
       
   219         Refactor named getter function signature to be in line with indexing getter signature
       
   220         https://bugs.webkit.org/show_bug.cgi?id=35563
       
   221 
       
   222         Fix method signature and update code as appropriate
       
   223 
       
   224         * UserObjectImp.cpp:
       
   225         (UserObjectImp::userObjectGetter):
       
   226         * UserObjectImp.h:
       
   227 
       
   228 2010-02-09  Alexey Proskuryakov  <ap@apple.com>
       
   229 
       
   230         Reviewed by Geoffrey Garen.
       
   231 
       
   232         https://bugs.webkit.org/show_bug.cgi?id=34490
       
   233         WebCore::ImageEventSender::dispatchPendingEvents() crashes in certain conditions
       
   234 
       
   235         * ForwardingHeaders/wtf/ValueCheck.h: Added.
       
   236 
       
   237 2010-02-04  Mark Rowe  <mrowe@apple.com>
       
   238 
       
   239         Reviewed by Timothy Hatcher.
       
   240 
       
   241         Build fix.  Remove a symbol corresponding to an inline function from the linker export
       
   242         file to prevent a weak external failure.
       
   243 
       
   244         * JavaScriptGlue.xcodeproj/project.pbxproj: Accommodate rename of script.
       
   245 
       
   246 2010-01-28  Oliver Hunt  <oliver@apple.com>
       
   247 
       
   248         Reviewed by Gavin Barraclough.
       
   249 
       
   250         Simplify anonymous slot implementation
       
   251         https://bugs.webkit.org/show_bug.cgi?id=34282
       
   252 
       
   253         Update JSGlue Structure usage to pass the anonymous slot count.
       
   254 
       
   255         * UserObjectImp.h:
       
   256         (UserObjectImp::createStructure):
       
   257 
       
   258 2010-01-12  Kent Hansen  <kent.hansen@nokia.com>
       
   259 
       
   260         Reviewed by Geoffrey Garen.
       
   261 
       
   262         [ES5] Implement Object.getOwnPropertyNames
       
   263         https://bugs.webkit.org/show_bug.cgi?id=32242
       
   264 
       
   265         Add new argument to the reimplementation of getOwnPropertyNames().
       
   266 
       
   267         * UserObjectImp.cpp:
       
   268         (UserObjectImp::getOwnPropertyNames):
       
   269         * UserObjectImp.h:
       
   270 
       
   271 2010-01-07  Alexey Proskuryakov  <ap@apple.com>
       
   272 
       
   273         Mac build fix.
       
   274 
       
   275         * config.h: Define JS_EXPORTCLASS for JavaScriptGlue.
       
   276 
       
   277 2010-01-05  Gavin Barraclough  <barraclough@apple.com>
       
   278 
       
   279         Reviewed by Sam Weinig.
       
   280 
       
   281         https://bugs.webkit.org/show_bug.cgi?id=33236
       
   282         Remove m_identifierTable pointer from UString
       
   283 
       
   284         Add API shims similar to those used in the JSC API to track the current identifierTable.
       
   285 
       
   286         * JSBase.cpp:
       
   287         (JSBase::Release):
       
   288         * JSUtils.cpp:
       
   289         (JSObjectKJSValue):
       
   290         (KJSValueToCFTypeInternal):
       
   291         (unprotectGlobalObject):
       
   292         (JSGlueAPIEntry::JSGlueAPIEntry):
       
   293         (JSGlueAPIEntry::~JSGlueAPIEntry):
       
   294         (JSGlueAPICallback::JSGlueAPICallback):
       
   295         (JSGlueAPICallback::~JSGlueAPICallback):
       
   296         * JSUtils.h:
       
   297         * JSValueWrapper.cpp:
       
   298         (JSValueWrapper::JSObjectCopyPropertyNames):
       
   299         (JSValueWrapper::JSObjectCopyProperty):
       
   300         (JSValueWrapper::JSObjectSetProperty):
       
   301         (JSValueWrapper::JSObjectCallFunction):
       
   302         (JSValueWrapper::JSObjectCopyCFValue):
       
   303         * JavaScriptGlue.cpp:
       
   304         (JSRunCreate):
       
   305         (JSRunEvaluate):
       
   306         (JSRunCheckSyntax):
       
   307         (JSCollect):
       
   308         * JavaScriptGlue.xcodeproj/project.pbxproj:
       
   309         * UserObjectImp.cpp:
       
   310         (UserObjectImp::callAsFunction):
       
   311 
       
   312 2010-01-04  Gavin Barraclough <barraclough@apple.com>
       
   313 
       
   314         Reviewed by Sam Weinig.
       
   315 
       
   316         Add a forwarding header so that StringHashFunctions.h can be found.
       
   317 
       
   318         * ForwardingHeaders/wtf/StringHashFunctions.h: Added.
       
   319 
       
   320 2010-01-04  Dan Bernstein  <mitz@apple.com>
       
   321 
       
   322         Reviewed by Ada Chan and Mark Rowe.
       
   323 
       
   324         Updated copyright string
       
   325 
       
   326         * Info.plist:
       
   327 
       
   328 2009-12-21  Gavin Barraclough  <barraclough@apple.com>
       
   329 
       
   330         Reviewed by Darin Adler.
       
   331 
       
   332         https://bugs.webkit.org/show_bug.cgi?id=32831
       
   333         Replace UString::Rep implementation, following introduction of ropes to JSC.
       
   334 
       
   335         * ForwardingHeaders/wtf/PossiblyNull.h: Added.
       
   336             - add forwarding header.
       
   337 
       
   338 2009-12-16  Mark Rowe  <mrowe@apple.com>
       
   339 
       
   340         Build fix.  Disable debug variants of WebKit frameworks.
       
   341 
       
   342         * JavaScriptGlue.xcodeproj/project.pbxproj:
       
   343 
       
   344 2009-12-13  Geoffrey Garen  <ggaren@apple.com>
       
   345 
       
   346         Reviewed by Sam Weinig.
       
   347         
       
   348         Changed GC from mark-sweep to mark-allocate.
       
   349         
       
   350         * JavaScriptGlue.cpp:
       
   351         (JSCollect): Updated for rename. Fixed a bug where JSGlue would not check
       
   352         to avoid nested GC calls.
       
   353 
       
   354 2009-12-08  Dmitry Titov  <dimich@chromium.org>
       
   355 
       
   356         Rubber-stamped by David Levin.
       
   357 
       
   358         Revert and reopen "Add asserts to RefCounted to make sure ref/deref happens on the right thread."
       
   359         It may have caused massive increase of reported leaks on the bots.
       
   360         https://bugs.webkit.org/show_bug.cgi?id=31639
       
   361 
       
   362         * ForwardingHeaders/wtf/ThreadVerifier.h: Removed.
       
   363 
       
   364 2009-12-08  Dmitry Titov  <dimich@chromium.org>
       
   365 
       
   366         Reviewed by Darin Adler.
       
   367 
       
   368         Add asserts to RefCounted to make sure ref/deref happens on the right thread.
       
   369         https://bugs.webkit.org/show_bug.cgi?id=31639
       
   370 
       
   371         * ForwardingHeaders/wtf/ThreadVerifier.h: Added.
       
   372 
       
   373 2009-11-24  Mark Rowe  <mrowe@apple.com>
       
   374 
       
   375         Fix production builds where the source tree may be read-only.
       
   376 
       
   377         * JavaScriptGlue.xcodeproj/project.pbxproj:
       
   378 
       
   379 2009-11-08  David Levin  <levin@chromium.org>
       
   380 
       
   381         Reviewed by NOBODY (chromium build fix).
       
   382 
       
   383         Added the use jsc define for files that use
       
   384         this config file and DateMath.h. This should
       
   385         be able to go away when DateMath is properly
       
   386         split into wtf and jsc portions which is this bug:
       
   387         https://bugs.webkit.org/show_bug.cgi?id=31246
       
   388 
       
   389         * config.h:
       
   390 
       
   391 2009-11-06  Geoffrey Garen  <ggaren@apple.com>
       
   392 
       
   393         Reviewed by Oliver Hunt.
       
   394 
       
   395         https://bugs.webkit.org/show_bug.cgi?id=31197
       
   396         Implemented a timezone cache not based on Mac OS X's notify_check API.
       
   397         
       
   398         * ForwardingHeaders/wtf/CurrentTime.h: Added.
       
   399 
       
   400 2009-10-27  Geoffrey Garen  <ggaren@apple.com>
       
   401 
       
   402         Build fix: Updated for JavaScriptCore export changes.
       
   403 
       
   404         * ForwardingHeaders/wtf/DateInstanceCache.h: Added.
       
   405 
       
   406 2009-10-27  Geoffrey Garen  <ggaren@apple.com>
       
   407 
       
   408         Reviewed by Oliver Hunt.
       
   409 
       
   410         Updated for JavaScriptCore export changes.
       
   411 
       
   412         * ForwardingHeaders/wtf/DateMath.h: Added.
       
   413 
       
   414 2009-10-27  Dan Bernstein  <mitz@apple.com>
       
   415 
       
   416         Reviewed by Darin Adler.
       
   417 
       
   418         Updated license
       
   419 
       
   420         * LICENSE:
       
   421 
       
   422 2009-10-16  Oliver Hunt  <oliver@apple.com>
       
   423 
       
   424         Reviewed by Gavin Barraclough.
       
   425 
       
   426         Make typeinfo flags default to false
       
   427         https://bugs.webkit.org/show_bug.cgi?id=30372
       
   428 
       
   429         Last part -- replace HasDefaultGetPropertyNames with OverridesGetPropertyNames
       
   430         flag.
       
   431 
       
   432         * UserObjectImp.h:
       
   433         (UserObjectImp::createStructure):
       
   434 
       
   435 2009-10-15  Oliver Hunt  <oliver@apple.com>
       
   436 
       
   437         Reviewed by Darin Adler.
       
   438 
       
   439         Make typeinfo flags default to false
       
   440         https://bugs.webkit.org/show_bug.cgi?id=30372
       
   441 
       
   442         Part 2 -- Reverse the TypeInfo HasDefaultMark flag to OverridesMarkChildren, etc
       
   443 
       
   444         * UserObjectImp.h:
       
   445         (UserObjectImp::createStructure):
       
   446 
       
   447 2009-10-14  Oliver Hunt  <oliver@apple.com>
       
   448 
       
   449         Reviewed by Geoff Garen.
       
   450 
       
   451         Make typeinfo flags default to false
       
   452         https://bugs.webkit.org/show_bug.cgi?id=30372
       
   453         
       
   454         Part 1. Reverse the HasStandardGetOwnPropertySlot flag.
       
   455 
       
   456         * UserObjectImp.h:
       
   457         (UserObjectImp::createStructure):
       
   458 
       
   459 2009-09-28  Geoffrey Garen  <ggaren@apple.com>
       
   460 
       
   461         Reviewed by Sam Weinig.
       
   462 
       
   463         Removed virtual destructor from JSGlobalObjectData to eliminate pointer
       
   464         fix-ups when accessing JSGlobalObject::d.
       
   465         
       
   466         Replaced with an explicit destructor function pointer.
       
   467 
       
   468         * JSRun.cpp:
       
   469         (JSGlueGlobalObject::destroyData):
       
   470         * JSRun.h:
       
   471         (JSGlueGlobalObject::Data::Data):
       
   472 
       
   473 2009-09-12  Oliver Hunt  <oliver@apple.com>
       
   474 
       
   475         Reviewed by Maciej Stachowiak.
       
   476 
       
   477         [ES5] Implement Object.keys
       
   478         https://bugs.webkit.org/show_bug.cgi?id=29170
       
   479 
       
   480         Switch over to getOwnPropertyNames instead of getPropertyNames.
       
   481 
       
   482         * UserObjectImp.cpp:
       
   483         (UserObjectImp::getOwnPropertyNames):
       
   484         * UserObjectImp.h:
       
   485 
       
   486 2009-09-02  Darin Adler  <darin@apple.com>
       
   487 
       
   488         Reviewed by Geoff Garen.
       
   489 
       
   490         * JSValueWrapper.cpp:
       
   491         (JSValueWrapper::JSObjectMark): Removed a check of the mark
       
   492         bit. It's OK to do more work in this case, and there is no
       
   493         longer a public function to access the mark bit.
       
   494 
       
   495 2009-08-14  Darin Adler  <darin@apple.com>
       
   496 
       
   497         Reviewed by Sam Weinig.
       
   498 
       
   499         Rename the confusing isObject(<class>) to inherits(<class>).
       
   500         It still works on non-objects, returning false.
       
   501 
       
   502         * JSUtils.cpp:
       
   503         (KJSValueToJSObject):
       
   504         (KJSValueToCFTypeInternal):
       
   505         Changed from isObject to inherits.
       
   506 
       
   507 2009-08-13  Oliver Hunt  <oliver@apple.com>
       
   508 
       
   509         Reviewed by Maciej Stachowiak.
       
   510 
       
   511         Devirtualise marking
       
   512         https://bugs.webkit.org/show_bug.cgi?id=28294
       
   513 
       
   514         Continue to jump through hoops to deal with the exposed marking routines
       
   515         in JavaScriptGlue.
       
   516 
       
   517         * JSValueWrapper.cpp:
       
   518         (JSValueWrapper::JSObjectMark):
       
   519 
       
   520 2009-08-07  Oliver Hunt  <oliver@apple.com>
       
   521 
       
   522         Reviewed by Sam Weinig.
       
   523 
       
   524         Stack overflow crash in JavaScript garbage collector mark pass
       
   525         https://bugs.webkit.org/show_bug.cgi?id=12216
       
   526 
       
   527         Make JSGlue interact with the new iterative mark logic.
       
   528 
       
   529         * JSValueWrapper.cpp:
       
   530         (JSValueWrapper::JSObjectMark):
       
   531           Unfortunately JSGlue exposes recursive marking so we can only flatten
       
   532           the recursion.  We just create a local mark stack if necessary and mark
       
   533           the given object iteratively from this point.
       
   534         * UserObjectImp.cpp:
       
   535         (UserObjectImp::markChildren):
       
   536         * UserObjectImp.h:
       
   537 
       
   538 2009-08-06  Mark Rowe  <mrowe@apple.com>
       
   539 
       
   540         Rubber-stamped by Sam Weinig.
       
   541 
       
   542         Add explicit dependencies for our build verification scripts to ensure that they always run after linking has completed.
       
   543 
       
   544         * JavaScriptGlue.xcodeproj/project.pbxproj:
       
   545 
       
   546 2009-07-27  Alexey Proskuryakov  <ap@webkit.org>
       
   547 
       
   548         Reviewed by Darin Adler.
       
   549 
       
   550         https://bugs.webkit.org/show_bug.cgi?id=27735
       
   551         Give a helpful name to JSLock constructor argument
       
   552 
       
   553         * JSBase.cpp:
       
   554         (JSBase::Release):
       
   555         * JSUtils.cpp:
       
   556         (JSObjectKJSValue):
       
   557         (KJSValueToCFTypeInternal):
       
   558         (unprotectGlobalObject):
       
   559         * JSValueWrapper.cpp:
       
   560         (JSValueWrapper::JSObjectCopyPropertyNames):
       
   561         (JSValueWrapper::JSObjectCopyProperty):
       
   562         (JSValueWrapper::JSObjectSetProperty):
       
   563         (JSValueWrapper::JSObjectCallFunction):
       
   564         (JSValueWrapper::JSObjectCopyCFValue):
       
   565         * JavaScriptGlue.cpp:
       
   566         (JSRunCreate):
       
   567         (JSRunEvaluate):
       
   568         (JSRunCheckSyntax):
       
   569         (JSCollect):
       
   570         (JSLockInterpreter):
       
   571         (JSUnlockInterpreter):
       
   572 
       
   573 2009-07-10  Adam Roben  <aroben@apple.com>
       
   574 
       
   575         Sort all our Xcode projects
       
   576 
       
   577         Accomplished using sort-Xcode-project-file.
       
   578 
       
   579         Requested by Dave Kilzer.
       
   580 
       
   581         * JavaScriptGlue.xcodeproj/project.pbxproj:
       
   582 
       
   583 2009-07-08  Darin Adler  <darin@apple.com>
       
   584 
       
   585         Reviewed by Dan Bernstein
       
   586 
       
   587         - fix <rdar://problem/6971484> REGRESSION (r30534): "Scrolling Credits"
       
   588           effect does not scroll on iMovie 7.1.4 on Tiger
       
   589 
       
   590         In <http://trac.webkit.org/changeset/30534>, the prototype of
       
   591         JSObject::put() which UserObjectImp had been overriding changed, but
       
   592         UserObjectImp wasn't updated, so its override was no longer getting
       
   593         called after that.
       
   594 
       
   595         * UserObjectImp.cpp:
       
   596         (UserObjectImp::put): Match the current prototype of JSObject::put().
       
   597         The PutPropertySlot argument is unused.
       
   598         * UserObjectImp.h: Ditto.
       
   599 
       
   600 2009-06-19  Zoltan Horvath  <hzoltan@inf.u-szeged.hu>
       
   601 
       
   602         Reviewed by Darin Adler.
       
   603 
       
   604         Add FastAllocBase.h to JavaScriptGlue's ForwardingHeaders/wtf, because it's needed by HashCountedSet.h on MAC.
       
   605 
       
   606         * ForwardingHeaders/wtf/FastAllocBase.h: Added.
       
   607 
       
   608 2009-06-02  Mark Rowe  <mrowe@apple.com>
       
   609 
       
   610         Reviewed by Anders Carlsson.
       
   611 
       
   612         Remove workaround that was added to address <rdar://problem/5488678> as it no longer affects our Tiger builds.
       
   613 
       
   614         * Configurations/Base.xcconfig:
       
   615 
       
   616 2009-05-25  David Levin  <levin@chromium.org>
       
   617 
       
   618         Reviewed by Maciej Stachowiak and Oliver Hunt.
       
   619 
       
   620         https://bugs.webkit.org/show_bug.cgi?id=25126
       
   621 
       
   622         Added forwarding headers.
       
   623 
       
   624         * ForwardingHeaders/wtf/CrossThreadRefCounted.h: Added.
       
   625         * ForwardingHeaders/wtf/OwnFastMallocPtr.h: Added.
       
   626 
       
   627 2009-05-23  David Kilzer  <ddkilzer@apple.com>
       
   628 
       
   629         Part 1 of 2: Bug 25495: Implement PassOwnPtr and replace uses of std::auto_ptr
       
   630 
       
   631         <https://bugs.webkit.org/show_bug.cgi?id=25495>
       
   632 
       
   633         Reviewed by Oliver Hunt.
       
   634 
       
   635         * ForwardingHeaders/wtf/OwnPtrCommon.h: Added.
       
   636         * ForwardingHeaders/wtf/PassOwnPtr.h: Added.
       
   637 
       
   638 2009-05-14  Mark Rowe  <mrowe@apple.com>
       
   639 
       
   640         Rubber-stamped by Darin Adler.
       
   641 
       
   642         <rdar://problem/6681868> When building with Xcode 3.1.3 should be using gcc 4.2
       
   643 
       
   644         The meaning of XCODE_VERSION_ACTUAL is more sensible in newer versions of Xcode.
       
   645         Update our logic to select the compiler version to use the more appropriate XCODE_VERSION_MINOR
       
   646         if the version of Xcode supports it, and fall back to XCODE_VERSION_ACTUAL if not.
       
   647 
       
   648         * Configurations/Base.xcconfig:
       
   649 
       
   650 2009-05-07  Oliver Hunt  <oliver@apple.com>
       
   651 
       
   652         Reviewed by Gavin Barraclough.
       
   653 
       
   654         Add calling convention annotation
       
   655 
       
   656         * JSObject.cpp:
       
   657 
       
   658 2009-05-01  Geoffrey Garen  <ggaren@apple.com>
       
   659 
       
   660         Rubber Stamped by Sam Weinig.
       
   661         
       
   662         Renamed JSValuePtr => JSValue.
       
   663 
       
   664         * JSObject.cpp:
       
   665         (nativeCallFunction):
       
   666         * JSUtils.cpp:
       
   667         (KJSValueToJSObject):
       
   668         (JSObjectKJSValue):
       
   669         (KJSValueToCFTypeInternal):
       
   670         (KJSValueToCFType):
       
   671         * JSUtils.h:
       
   672         * JSValueWrapper.cpp:
       
   673         (JSValueWrapper::JSValueWrapper):
       
   674         (JSValueWrapper::GetValue):
       
   675         (JSValueWrapper::JSObjectCopyProperty):
       
   676         (JSValueWrapper::JSObjectSetProperty):
       
   677         (JSValueWrapper::JSObjectCallFunction):
       
   678         * JSValueWrapper.h:
       
   679         * UserObjectImp.cpp:
       
   680         (UserObjectImp::callAsFunction):
       
   681         (UserObjectImp::userObjectGetter):
       
   682         (UserObjectImp::getOwnPropertySlot):
       
   683         (UserObjectImp::put):
       
   684         (UserObjectImp::toPrimitive):
       
   685         * UserObjectImp.h:
       
   686         (UserObjectImp::createStructure):
       
   687 
       
   688 2009-04-29  Oliver Hunt  <oliver@apple.com>
       
   689 
       
   690         Reviewed by Gavin Barraclough.
       
   691 
       
   692         Clean up ArgList to be a trivial type
       
   693 
       
   694         Start using MarkedArgumentBuffer to create argument lists for function calls
       
   695 
       
   696         * JSValueWrapper.cpp:
       
   697         (JSValueWrapper::JSObjectCallFunction):
       
   698 
       
   699 2009-04-28  Geoffrey Garen  <ggaren@apple.com>
       
   700 
       
   701         Rubber stamped by Beth Dakin.
       
   702         
       
   703         Missed one.
       
   704 
       
   705         * UserObjectImp.cpp:
       
   706         (UserObjectImp::callAsFunction):
       
   707 
       
   708 2009-04-21  Geoffrey Garen  <ggaren@apple.com>
       
   709 
       
   710         Reviewed by Mark Rowe.
       
   711 
       
   712         Tiger crash fix: Put VM tags in their own header file, and fixed up the
       
   713         #ifdefs so they're not used on Tiger.
       
   714 
       
   715         * ForwardingHeaders/wtf/VMTags.h: Copied from JavaScriptGlue/ForwardingHeaders/wtf/HashTraits.h.
       
   716 
       
   717 2009-04-20  Sam Weinig  <sam@webkit.org>
       
   718 
       
   719         Rubber-stamped by Tim Hatcher.
       
   720 
       
   721         Add licenses for xcconfig files.
       
   722 
       
   723         * Configurations/Base.xcconfig:
       
   724         * Configurations/DebugRelease.xcconfig:
       
   725         * Configurations/JavaScriptGlue.xcconfig:
       
   726         * Configurations/Version.xcconfig:
       
   727 
       
   728 2009-03-13  Mark Rowe  <mrowe@apple.com>
       
   729 
       
   730         Rubber-stamped by Dan Bernstein.
       
   731 
       
   732         Take advantage of the ability of recent versions of Xcode to easily switch the active
       
   733         architecture.
       
   734 
       
   735         * Configurations/DebugRelease.xcconfig:
       
   736 
       
   737 2009-02-24  Mark Rowe  <mrowe@apple.com>
       
   738 
       
   739         Rubber-stamped by Dan Bernstein.
       
   740 
       
   741         <rdar://problem/6407844> JavaScriptGlue should use -Os rather than -O2
       
   742 
       
   743         * Configurations/Base.xcconfig:
       
   744 
       
   745 2009-01-28  Sam Weinig  <sam@webkit.org>
       
   746 
       
   747         Reviewed by Gavin Barraclough.
       
   748 
       
   749         Fix for <rdar://problem/6525537>
       
   750         Hang occurs when closing Installer window (iTunes, Aperture)
       
   751 
       
   752         * JSUtils.cpp:
       
   753         (getThreadGlobalObject): Use the shared JSGlobalData instance.
       
   754 
       
   755 2009-01-22  Mark Rowe  <mrowe@apple.com>
       
   756 
       
   757         Rubber-stamped by Anders Carlsson.
       
   758 
       
   759         Disable GCC_WARN_ABOUT_MISSING_PROTOTYPES temporarily.
       
   760 
       
   761         Current versions of Xcode only respect it for C and Objective-C files,
       
   762         and our code doesn't currently compile if it is applied to C++ and
       
   763         Objective-C++ files.
       
   764 
       
   765         * Configurations/Base.xcconfig:
       
   766 
       
   767 2009-01-19  Sam Weinig  <sam@webkit.org>
       
   768 
       
   769         Rubber-stamped by Gavin Barraclough.
       
   770 
       
   771         Remove temporary operator-> from JSValuePtr.
       
   772 
       
   773         * JSUtils.cpp:
       
   774         (KJSValueToJSObject):
       
   775         (KJSValueToCFTypeInternal):
       
   776         * JSValueWrapper.cpp:
       
   777         (JSValueWrapper::JSObjectCopyPropertyNames):
       
   778         (JSValueWrapper::JSObjectCopyProperty):
       
   779         (JSValueWrapper::JSObjectSetProperty):
       
   780         (JSValueWrapper::JSObjectCallFunction):
       
   781         (JSValueWrapper::JSObjectMark):
       
   782         * UserObjectImp.cpp:
       
   783         (UserObjectImp::getOwnPropertySlot):
       
   784 
       
   785 2009-01-14  Dan Bernstein  <mitz@apple.com>
       
   786 
       
   787         Reviewed by John Sullivan.
       
   788 
       
   789         - update copyright
       
   790 
       
   791         * Info.plist:
       
   792 
       
   793 2009-01-09  David Levin  <levin@chromium.org>
       
   794 
       
   795         Reviewed by Oliver Hunt.
       
   796 
       
   797         https://bugs.webkit.org/show_bug.cgi?id=23175
       
   798 
       
   799         Added forwarding header.
       
   800 
       
   801         * ForwardingHeaders/wtf/PtrAndFlags.h: Added.
       
   802 
       
   803 2009-01-05  Gavin Barraclough  <baraclough@apple.com>
       
   804 
       
   805         Rubber Stamped by Oliver Hunt.
       
   806 
       
   807         Replace all uses of JSValue* with new wrapper class, JSValuePtr.
       
   808         See JavaScriptCore/ChangeLog for more detailed description.
       
   809 
       
   810         * JSObject.cpp:
       
   811         (nativeCallFunction):
       
   812         * JSUtils.cpp:
       
   813         (KJSValueToJSObject):
       
   814         (JSObjectKJSValue):
       
   815         (KJSValueToCFTypeInternal):
       
   816         (KJSValueToCFType):
       
   817         * JSUtils.h:
       
   818         * JSValueWrapper.cpp:
       
   819         (JSValueWrapper::JSValueWrapper):
       
   820         (JSValueWrapper::GetValue):
       
   821         (JSValueWrapper::JSObjectCopyProperty):
       
   822         (JSValueWrapper::JSObjectSetProperty):
       
   823         (JSValueWrapper::JSObjectCallFunction):
       
   824         * JSValueWrapper.h:
       
   825         * UserObjectImp.cpp:
       
   826         (UserObjectImp::callAsFunction):
       
   827         (UserObjectImp::userObjectGetter):
       
   828         (UserObjectImp::getOwnPropertySlot):
       
   829         (UserObjectImp::put):
       
   830         (UserObjectImp::toPrimitive):
       
   831         * UserObjectImp.h:
       
   832         (UserObjectImp::createStructure):
       
   833 
       
   834 2008-12-15  Mark Rowe  <mrowe@apple.com>
       
   835 
       
   836         Rubber-stamped by Cameron Zwarich.
       
   837 
       
   838         <rdar://problem/6289933> Change WebKit-related projects to build with GCC 4.2 on Leopard.
       
   839 
       
   840         * Configurations/Base.xcconfig:
       
   841         * Configurations/DebugRelease.xcconfig:
       
   842 
       
   843 2008-12-08  David Kilzer  <ddkilzer@apple.com>
       
   844 
       
   845         Bug 22555: Sort "children" sections in Xcode project files
       
   846 
       
   847         <https://bugs.webkit.org/show_bug.cgi?id=22555>
       
   848 
       
   849         Reviewed by Eric Seidel.
       
   850 
       
   851         * JavaScriptGlue.xcodeproj/project.pbxproj: Sorted.
       
   852 
       
   853 2008-11-17  Geoffrey Garen  <ggaren@apple.com>
       
   854 
       
   855         Reviewed by Sam Weinig.
       
   856         
       
   857         Updated for JavaScriptCore rename.
       
   858 
       
   859         * ForwardingHeaders/runtime/CallFrame.h: Copied from JavaScriptGlue/ForwardingHeaders/runtime/ExecState.h.
       
   860         * ForwardingHeaders/runtime/ExecState.h: Removed.
       
   861         * config.h:
       
   862 
       
   863 2008-11-17  Geoffrey Garen  <ggaren@apple.com>
       
   864 
       
   865         Reviewed by Sam Weinig.
       
   866         
       
   867         Updated for JavaScriptCore rename.
       
   868 
       
   869         * ForwardingHeaders/interpreter: Added.
       
   870         * ForwardingHeaders/interpreter/CallFrame.h: Copied from ForwardingHeaders/runtime/ExecState.h.
       
   871         * ForwardingHeaders/runtime/ExecState.h: Removed.
       
   872 
       
   873 2008-11-15  Darin Adler  <darin@apple.com>
       
   874 
       
   875         Rubber stamped by Geoff Garen.
       
   876 
       
   877         - do the long-planned StructureID -> Structure rename
       
   878 
       
   879         * JSRun.cpp:
       
   880         (JSGlueGlobalObject::JSGlueGlobalObject):
       
   881         (JSRun::JSRun):
       
   882         * JSRun.h:
       
   883         (JSGlueGlobalObject::userObjectStructure):
       
   884         * JSUtils.cpp:
       
   885         (getThreadGlobalObject):
       
   886         * UserObjectImp.cpp:
       
   887         (UserObjectImp::UserObjectImp):
       
   888         * UserObjectImp.h:
       
   889         (UserObjectImp::createStructure):
       
   890 
       
   891 2008-11-15  Geoffrey Garen  <ggaren@apple.com>
       
   892 
       
   893         Reviewed by Sam Weinig.
       
   894         
       
   895         Updated for JavaScriptCore renames.
       
   896 
       
   897         * JSRun.cpp:
       
   898         (JSRun::Evaluate):
       
   899         (JSRun::CheckSyntax):
       
   900 
       
   901 2008-11-05  Cameron Zwarich  <zwarich@apple.com>
       
   902 
       
   903         Not reviewed.
       
   904 
       
   905         Fix the JavaScriptGlue build. This wouldn't show up unless one was
       
   906         doing a clean build, because changes in JavaScriptCore don't cause
       
   907         anything in JavaScriptGlue to get rebuilt.
       
   908 
       
   909         * JSRun.cpp:
       
   910         * JSUtils.h:
       
   911         * JavaScriptGlue.cpp:
       
   912 
       
   913 2008-11-04  Cameron Zwarich  <zwarich@apple.com>
       
   914 
       
   915         Reviewed by Mark Rowe.
       
   916 
       
   917         Remove JavaScriptGlue forwarding headers that are no longer necessary,
       
   918         and correct the path of the ExecState.h forwarding header.
       
   919 
       
   920         * ForwardingHeaders/kjs: Removed.
       
   921         * ForwardingHeaders/kjs/CTI.h: Removed.
       
   922         * ForwardingHeaders/kjs/ExecState.h: Removed.
       
   923         * ForwardingHeaders/kjs/JSValue.h: Removed.
       
   924         * ForwardingHeaders/kjs/PutPropertySlot.h: Removed.
       
   925         * ForwardingHeaders/kjs/ustring.h: Removed.
       
   926         * ForwardingHeaders/runtime: Added.
       
   927         * ForwardingHeaders/runtime/ExecState.h: Copied from ForwardingHeaders/kjs/ExecState.h.
       
   928         * config.h:
       
   929 
       
   930 2008-10-31  Stephanie Lewis  <slewis@apple.com>
       
   931 
       
   932         Fix build by including right files.
       
   933 
       
   934         * JSRun.cpp:
       
   935 
       
   936 2008-10-30  Mark Rowe  <mrowe@apple.com>
       
   937 
       
   938         Reviewed by Jon Homeycutt.
       
   939 
       
   940         Explicitly default to building for only the native architecture in debug and release builds.
       
   941 
       
   942         * Configurations/DebugRelease.xcconfig:
       
   943 
       
   944 2008-10-24  Darin Adler  <darin@apple.com>
       
   945 
       
   946         - finish rolling out https://bugs.webkit.org/show_bug.cgi?id=21732
       
   947 
       
   948         * JSObject.cpp:
       
   949         (nativeCallFunction):
       
   950         * JSUtils.cpp:
       
   951         (KJSValueToJSObject):
       
   952         (JSObjectKJSValue):
       
   953         (KJSValueToCFTypeInternal):
       
   954         (KJSValueToCFType):
       
   955         * JSUtils.h:
       
   956         * JSValueWrapper.cpp:
       
   957         (JSValueWrapper::JSValueWrapper):
       
   958         (JSValueWrapper::GetValue):
       
   959         (JSValueWrapper::JSObjectCopyProperty):
       
   960         (JSValueWrapper::JSObjectSetProperty):
       
   961         (JSValueWrapper::JSObjectCallFunction):
       
   962         * JSValueWrapper.h:
       
   963         * UserObjectImp.cpp:
       
   964         (UserObjectImp::callAsFunction):
       
   965         (UserObjectImp::userObjectGetter):
       
   966         (UserObjectImp::getOwnPropertySlot):
       
   967         (UserObjectImp::put):
       
   968         (UserObjectImp::toPrimitive):
       
   969         * UserObjectImp.h:
       
   970         (UserObjectImp::createStructureID):
       
   971         Use JSValue* instead of JSValuePtr.
       
   972 
       
   973 2008-10-23  Darin Adler  <darin@apple.com>
       
   974 
       
   975         - roll out https://bugs.webkit.org/show_bug.cgi?id=21732
       
   976 
       
   977         * JSValueWrapper.cpp:
       
   978         (JSValueWrapper::GetValue): Added missing call to .get().
       
   979         * JSValueWrapper.h: ProtectedPtr<JSValue> instead of ProtectedPtr<JSValuePtr>.
       
   980 
       
   981 2008-10-22  Darin Adler  <darin@apple.com>
       
   982 
       
   983         Reviewed by Sam Weinig.
       
   984 
       
   985         - fix https://bugs.webkit.org/show_bug.cgi?id=21294
       
   986           Bug 21294: Devirtualize getOwnPropertySlot()
       
   987 
       
   988         * JSRun.cpp:
       
   989         (JSGlueGlobalObject::JSGlueGlobalObject): Moved constructor here.
       
   990         Set up flags in its new location in global object data, and set up
       
   991         a structure for UserObjectImp too.
       
   992         (JSRun::JSRun): Added code to give the JSGlueGlobalObject its own unique
       
   993         structure, rather than using the default one from JSGlobalObject.
       
   994 
       
   995         * JSRun.h: Made JSGlueGlobalObject take a structure ID. Also moved
       
   996         the data into a separate data object. And added userObjectStructure,
       
   997         a Structure to be used by UserObjectImp.
       
   998 
       
   999         * JSUtils.cpp: Removed unused sharedGlobalData global.
       
  1000         (JSObjectKJSValue): Pass Structure in when creating UserObjectImp.
       
  1001         (unprotectGlobalObject): Use JSGlueGLobalObject type specifically.
       
  1002         (initializeGlobalObjectKey): Removed code to set up unused sharedGlobalData.
       
  1003         (getThreadGlobalObject): Added. Shared by JSObjectKJSValue and
       
  1004         getThreadGlobalExecState. Also now passes in a structure ID when creating
       
  1005         the global object.
       
  1006         (getThreadGlobalExecState): Changed to call getThreadGlobalObject.
       
  1007 
       
  1008         * UserObjectImp.cpp:
       
  1009         (UserObjectImp::UserObjectImp): Changed to take a structure.
       
  1010         * UserObjectImp.h:
       
  1011         (UserObjectImp::createStructureID): Added. Returns a structure without
       
  1012         HasStandardGetOwnPropertySlot since this class overrides getOwnPropertySlot.
       
  1013 
       
  1014 2008-10-20  Sam Weinig  <sam@webkit.org>
       
  1015 
       
  1016         Reviewed by Cameron Zwarich.
       
  1017 
       
  1018         Fix for https://bugs.webkit.org/show_bug.cgi?id=21766
       
  1019         REGRESSION: 12 JSC tests fail
       
  1020 
       
  1021         The JSGlobalObject constructor no longer takes a JSGlobalData
       
  1022         as an argument.
       
  1023 
       
  1024         * JSRun.cpp:
       
  1025         (JSRun::JSRun):
       
  1026         * JSRun.h:
       
  1027         (JSGlueGlobalObject::JSGlueGlobalObject):
       
  1028         * JSUtils.cpp:
       
  1029         (getThreadGlobalExecState):
       
  1030 
       
  1031 2008-10-19  Darin Adler  <darin@apple.com>
       
  1032 
       
  1033         Reviewed by Oliver Hunt.
       
  1034 
       
  1035         - next step of https://bugs.webkit.org/show_bug.cgi?id=21732
       
  1036           improve performance by eliminating JSValue as a base class for JSCell
       
  1037 
       
  1038         Remove most uses of JSValue, which will be removed in a future patch.
       
  1039 
       
  1040         * JSValueWrapper.h: Use JSValuePtr instead of JSValue*.
       
  1041 
       
  1042 2008-10-18  Darin Adler  <darin@apple.com>
       
  1043 
       
  1044         Reviewed by Oliver Hunt.
       
  1045 
       
  1046         - next step of https://bugs.webkit.org/show_bug.cgi?id=21732
       
  1047           improve performance by eliminating JSValue as a base class for JSCell
       
  1048 
       
  1049         Tweak a little more to get closer to where we can make JSValuePtr a class.
       
  1050 
       
  1051         * JSObject.cpp:
       
  1052         (nativeCallFunction): Call asObject.
       
  1053 
       
  1054         * JSUtils.cpp:
       
  1055         (KJSValueToJSObject): Use JSValuePtr and asObject.
       
  1056         (JSObjectKJSValue): Ditto.
       
  1057         (KJSValueToCFTypeInternal): Ditto.
       
  1058         (KJSValueToCFType): Ditto.
       
  1059         * JSUtils.h: Ditto.
       
  1060 
       
  1061         * UserObjectImp.cpp:
       
  1062         (UserObjectImp::callAsFunction): Use JSValuePtr and asObject.
       
  1063         (UserObjectImp::userObjectGetter): Ditto.
       
  1064         (UserObjectImp::getOwnPropertySlot): Ditto.
       
  1065         (UserObjectImp::put): Ditto.
       
  1066         (UserObjectImp::toPrimitive): Ditto.
       
  1067         * UserObjectImp.h: Ditto.
       
  1068 
       
  1069 2008-10-18  Darin Adler  <darin@apple.com>
       
  1070 
       
  1071         Reviewed by Cameron Zwarich.
       
  1072 
       
  1073         - next step on https://bugs.webkit.org/show_bug.cgi?id=21732
       
  1074           improve performance by eliminating JSValue as a base class for JSCell
       
  1075 
       
  1076         Use JSValuePtr everywhere instead of JSValue*. In the future, we'll be
       
  1077         changing JSValuePtr to be a class, and then eventually renaming it
       
  1078         to JSValue once that's done.
       
  1079 
       
  1080         * JSObject.cpp:
       
  1081         * JSValueWrapper.cpp:
       
  1082         * UserObjectImp.cpp:
       
  1083         * UserObjectImp.h:
       
  1084         Replace JSValue* with JSValuePtr.
       
  1085 
       
  1086 2008-10-13  Maciej Stachowiak  <mjs@apple.com>
       
  1087 
       
  1088         Rubber stamped by Mark Rowe.
       
  1089         
       
  1090         - use gcc 4.2 when building with Xcode 3.1 or newer on Leopard, even though this is not the default
       
  1091 
       
  1092         * Configurations/DebugRelease.xcconfig:
       
  1093 
       
  1094 2008-10-06  Maciej Stachowiak  <mjs@apple.com>
       
  1095 
       
  1096         Not reviewed. Build fix.
       
  1097 
       
  1098         - revert toBoolean changes (r37333 and r37335); need to make WebCore work with these
       
  1099 
       
  1100         * JSUtils.cpp:
       
  1101         (KJSValueToCFTypeInternal):
       
  1102 
       
  1103 2008-10-06  Maciej Stachowiak  <mjs@apple.com>
       
  1104 
       
  1105         Not reviewed.
       
  1106         
       
  1107         - fix build; toBoolean no longer takes an ExecState
       
  1108 
       
  1109         * JSUtils.cpp:
       
  1110         (KJSValueToCFTypeInternal):
       
  1111 
       
  1112 2008-10-04  Mark Rowe  <mrowe@apple.com>
       
  1113 
       
  1114         Reviewed by Tim Hatcher.
       
  1115 
       
  1116         Add a 'Check For Weak VTables' build phase to catch weak vtables as early as possible.
       
  1117 
       
  1118         * JavaScriptGlue.xcodeproj/project.pbxproj:
       
  1119 
       
  1120 2008-10-01  Geoffrey Garen  <ggaren@apple.com>
       
  1121 
       
  1122         Reviewed by Darin Adler and Cameron Zwarich.
       
  1123 
       
  1124         * JSRun.cpp:
       
  1125         (JSRun::Evaluate):
       
  1126         (JSRun::CheckSyntax): Provide a SourceCode to the Interpreter, since
       
  1127         other APIs are no longer supported.
       
  1128 
       
  1129 2008-09-29  Geoffrey Garen  <ggaren@apple.com>
       
  1130 
       
  1131         Not reviewed.
       
  1132         
       
  1133         Forwarding headers to fix the build.
       
  1134 
       
  1135         * ForwardingHeaders/kjs/CTI.h: Copied from ForwardingHeaders/kjs/ExecState.h.
       
  1136         * ForwardingHeaders/kjs/ustring.h: Copied from ForwardingHeaders/kjs/ExecState.h.
       
  1137         * ForwardingHeaders/masm: Added.
       
  1138         * ForwardingHeaders/masm/X86Assembler.h: Added.
       
  1139         * ForwardingHeaders/profiler: Added.
       
  1140         * ForwardingHeaders/profiler/Profiler.h: Added.
       
  1141 
       
  1142 2008-09-08  Sam Weinig  <sam@webkit.org>
       
  1143 
       
  1144         Reviewed by Maciej Stachowiak and Oliver Hunt.
       
  1145 
       
  1146         Add forwarding headers.
       
  1147 
       
  1148         * ForwardingHeaders/wtf/HashFunctions.h: Added.
       
  1149         * ForwardingHeaders/wtf/HashTraits.h: Added.
       
  1150 
       
  1151 2008-09-02  Geoffrey Garen  <ggaren@apple.com>
       
  1152 
       
  1153         Reviewed by Sam Weinig.
       
  1154         
       
  1155         Implemented the rest of Darin's review comments for the 09-01 inline
       
  1156         caching patch.
       
  1157         
       
  1158         * ForwardingHeaders/kjs/PutPropertySlot.h: Added.
       
  1159 
       
  1160 2008-09-01  Geoffrey Garen  <ggaren@apple.com>
       
  1161 
       
  1162         Reviewed by Darin Adler.
       
  1163 
       
  1164         First cut at inline caching for access to vanilla JavaScript properties.
       
  1165         
       
  1166         Updated for JavaScriptCore changes. Mostly mechanical addition of StructureIDs
       
  1167         to JavaScriptGlue classes, and PutPropertySlot& arguments to put functions.
       
  1168 
       
  1169 2008-08-22  Anders Carlsson  <andersca@apple.com>
       
  1170 
       
  1171         Fix build for real this time.
       
  1172         
       
  1173         * UserObjectImp.h:
       
  1174 
       
  1175 2008-08-22  Anders Carlsson  <andersca@apple.com>
       
  1176 
       
  1177         Fix build.
       
  1178         
       
  1179         * UserObjectImp.cpp:
       
  1180         (UserObjectImp::toPrimitive):
       
  1181         * UserObjectImp.h:
       
  1182 
       
  1183 2008-08-19  Alexey Proskuryakov  <ap@webkit.org>
       
  1184 
       
  1185         Reviewed by Geoff Garen.
       
  1186 
       
  1187         Bring back shared JSGlobalData and implicit locking, because too many clients rely on it.
       
  1188 
       
  1189         * JSBase.cpp:
       
  1190         (JSBase::Release):
       
  1191         * JSUtils.cpp:
       
  1192         (JSObjectKJSValue):
       
  1193         (KJSValueToCFTypeInternal):
       
  1194         (unprotectGlobalObject):
       
  1195         * JSUtils.h:
       
  1196         * JSValueWrapper.cpp:
       
  1197         (JSValueWrapper::JSObjectCopyPropertyNames):
       
  1198         (JSValueWrapper::JSObjectCopyProperty):
       
  1199         (JSValueWrapper::JSObjectSetProperty):
       
  1200         (JSValueWrapper::JSObjectCallFunction):
       
  1201         (JSValueWrapper::JSObjectCopyCFValue):
       
  1202         * JavaScriptGlue.cpp:
       
  1203         (JSRunCreate):
       
  1204         (JSRunEvaluate):
       
  1205         (JSRunCheckSyntax):
       
  1206         (JSCollect):
       
  1207         (JSLockInterpreter):
       
  1208         (JSUnlockInterpreter):
       
  1209         * UserObjectImp.cpp:
       
  1210         (UserObjectImp::callAsFunction):
       
  1211 
       
  1212 2008-08-12  Darin Adler  <darin@apple.com>
       
  1213 
       
  1214         Reviewed by Geoff.
       
  1215 
       
  1216         - eliminate JSValue::type()
       
  1217 
       
  1218         * JSUtils.cpp:
       
  1219         (KJSValueToCFTypeInternal): Replaced uses of JSValue::type() with
       
  1220         JSValue::is functions.
       
  1221         * UserObjectImp.cpp:
       
  1222         (UserObjectImp::getOwnPropertySlot): Ditto.
       
  1223         (UserObjectImp::toPrimitive): Take PreferredPrimitiveType argument
       
  1224         instead of JSType argument.
       
  1225         * UserObjectImp.h: Ditto.
       
  1226 
       
  1227 2008-08-17  Geoffrey Garen  <ggaren@apple.com>
       
  1228 
       
  1229         Reviewed by Cameron Zwarich.
       
  1230         
       
  1231         Updated project files to XCode 3.1.
       
  1232 
       
  1233         * JavaScriptGlue.xcodeproj/project.pbxproj:
       
  1234 
       
  1235 2008-08-15  Mark Rowe  <mrowe@apple.com>
       
  1236 
       
  1237         Rubber-stamped by Geoff Garen.
       
  1238 
       
  1239         <rdar://problem/6139914> Please include a _debug version of JavaScriptCore framework
       
  1240 
       
  1241         * Configurations/Base.xcconfig: Factor out the debug-only settings so that they can shared
       
  1242         between the Debug configuration and debug Production variant.
       
  1243         * JavaScriptGlue.xcodeproj/project.pbxproj: Enable the debug variant.
       
  1244 
       
  1245 2008-07-31  Alexey Proskuryakov  <ap@webkit.org>
       
  1246 
       
  1247         Rubber-stamped by Maciej.
       
  1248 
       
  1249         Eliminate JSLock (it was already disabled, removing the stub implementaion and all
       
  1250         call sites now).
       
  1251 
       
  1252         * JSBase.cpp:
       
  1253         (JSBase::Release):
       
  1254         * JSUtils.cpp:
       
  1255         (JSObjectKJSValue):
       
  1256         (KJSValueToCFTypeInternal):
       
  1257         (unprotectGlobalObject):
       
  1258         * JSUtils.h:
       
  1259         * JSValueWrapper.cpp:
       
  1260         (JSValueWrapper::JSObjectCopyPropertyNames):
       
  1261         (JSValueWrapper::JSObjectCopyProperty):
       
  1262         (JSValueWrapper::JSObjectSetProperty):
       
  1263         (JSValueWrapper::JSObjectCallFunction):
       
  1264         (JSValueWrapper::JSObjectCopyCFValue):
       
  1265         * JavaScriptGlue.cpp:
       
  1266         (JSRunCreate):
       
  1267         (JSRunEvaluate):
       
  1268         (JSRunCheckSyntax):
       
  1269         (JSCollect):
       
  1270         (JSLockInterpreter):
       
  1271         (JSUnlockInterpreter):
       
  1272         * UserObjectImp.cpp:
       
  1273         (UserObjectImp::callAsFunction):
       
  1274 
       
  1275 2008-07-29  Alexey Proskuryakov  <ap@webkit.org>
       
  1276 
       
  1277         Reviewed by Geoff Garen.
       
  1278 
       
  1279         Implement JSContextGroup APIs to make concurrent execution possible for
       
  1280         JavaScriptCore clients.
       
  1281 
       
  1282         * JSRun.cpp:
       
  1283         (JSRun::JSRun):
       
  1284         * JSUtils.cpp:
       
  1285         (getThreadGlobalExecState):
       
  1286         Changed JavaScriptGlue to use a JSGlobalData of its own, now that there is no shared
       
  1287         instance.
       
  1288 
       
  1289 2008-07-23  Alexey Proskuryakov  <ap@webkit.org>
       
  1290 
       
  1291         Reviewed by Geoff Garen.
       
  1292 
       
  1293         Make JSClassRef work with any context, not just the first one it was used in.
       
  1294 
       
  1295         * ForwardingHeaders/wtf/HashMap.h: Added.
       
  1296 
       
  1297 2008-07-22  Geoffrey Garen  <ggaren@apple.com>
       
  1298 
       
  1299         Reviewed by Oliver Hunt and Sam Weinig.
       
  1300 
       
  1301         Next step toward putting doubles in registers: Prepare the Register class
       
  1302         and its clients for registers that don't contain JSValue*s.
       
  1303         
       
  1304 2008-07-21  Mark Rowe  <mrowe@apple.com>
       
  1305 
       
  1306         Reviewed by Sam Weinig.
       
  1307 
       
  1308         <rdar://problem/6091287> Revamp the handling of CFBundleShortVersionString to be fixed at the major component of the version number.
       
  1309 
       
  1310         * Configurations/Version.xcconfig:
       
  1311         * Info.plist:
       
  1312 
       
  1313 2008-07-18  Geoffrey Garen  <ggaren@apple.com>
       
  1314 
       
  1315         Reviewed by Cameron Zwarich.
       
  1316         
       
  1317         Three renames:
       
  1318         
       
  1319         "CallTypeNative" => "CallTypeHost"
       
  1320         "code" => "byteCode"
       
  1321         "generatedCode" => "generatedByteCode"
       
  1322 
       
  1323         * ChangeLog:
       
  1324         * JSObject.cpp:
       
  1325         (JSUserObject::getCallData):
       
  1326 
       
  1327 2008-07-14  Alexey Proskuryakov  <ap@webkit.org>
       
  1328 
       
  1329         Reviewed by Geoff Garen.
       
  1330 
       
  1331         Eliminate per-thread JavaScript global data instance support and make arbitrary
       
  1332         global data/global object combinations possible.
       
  1333 
       
  1334         * ForwardingHeaders/wtf/ThreadSpecific.h: Added.
       
  1335         * JSRun.cpp:
       
  1336         (JSRun::JSRun):
       
  1337         * JSUtils.cpp:
       
  1338         (getThreadGlobalExecState):
       
  1339         Adapt to the new way of asking for shared JSGlobalData.
       
  1340 
       
  1341 2008-07-10  Mark Rowe  <mrowe@apple.com>
       
  1342 
       
  1343         Reviewed by Sam Weinig.
       
  1344 
       
  1345         Define WEBKIT_VERSION_MIN_REQUIRED=WEBKIT_VERSION_LATEST when building WebKit to ensure that no symbols end up with the weak_import attribute.
       
  1346 
       
  1347         * Configurations/JavaScriptGlue.xcconfig:
       
  1348 
       
  1349 2008-07-09  Mark Rowe  <mrowe@apple.com>
       
  1350 
       
  1351         Reviewed by Geoff Garen.
       
  1352 
       
  1353         Don't warn about deprecated functions in production builds.
       
  1354 
       
  1355         * Configurations/Base.xcconfig:
       
  1356         * Configurations/DebugRelease.xcconfig:
       
  1357 
       
  1358 2008-07-08  Alexey Proskuryakov  <ap@webkit.org>
       
  1359 
       
  1360         Reviewed by Darin Adler.
       
  1361 
       
  1362         <rdar://problem/6058368> REGRESSION: Crash occurs in KJS::Machine after launching
       
  1363         Apple Installer
       
  1364 
       
  1365         The problem was that JSUserObject::getCallData() was setting call type to native, but
       
  1366         left callData.native.function uninitialized.
       
  1367 
       
  1368         * JSObject.cpp:
       
  1369         (JSUserObject::getCallData): Initialize callData.native.function.
       
  1370         (nativeCallFunction): Call UserObjectImp::callAsFunction().
       
  1371 
       
  1372 2008-07-04  Sam Weinig  <sam@webkit.org>
       
  1373 
       
  1374         Rubber-stamped by Dan Bernstein.
       
  1375 
       
  1376         * JSObject.h: Rename the header guard as it now conflicts with the
       
  1377         JSObject in JavaScriptCore.
       
  1378 
       
  1379 2008-07-01  Alexey Proskuryakov  <ap@webkit.org>
       
  1380 
       
  1381         Reviewed by Darin Adler.
       
  1382 
       
  1383         Disable JSLock for per-thread contexts.
       
  1384 
       
  1385         * ForwardingHeaders/wtf/Locker.h: Added.
       
  1386         * ForwardingHeaders/wtf/Threading.h: Added.
       
  1387         * JSBase.cpp:
       
  1388         (JSBase::Release):
       
  1389         * JSUtils.cpp:
       
  1390         (JSObjectKJSValue):
       
  1391         (KJSValueToCFTypeInternal):
       
  1392         (unprotectGlobalObject):
       
  1393         * JSUtils.h:
       
  1394         * JSValueWrapper.cpp:
       
  1395         (JSValueWrapper::JSObjectCopyPropertyNames):
       
  1396         (JSValueWrapper::JSObjectCopyProperty):
       
  1397         (JSValueWrapper::JSObjectSetProperty):
       
  1398         (JSValueWrapper::JSObjectCallFunction):
       
  1399         (JSValueWrapper::JSObjectCopyCFValue):
       
  1400         * JavaScriptGlue.cpp:
       
  1401         (JSRunCreate):
       
  1402         (JSRunEvaluate):
       
  1403         (JSRunCheckSyntax):
       
  1404         (JSCollect):
       
  1405         (JSLockInterpreter):
       
  1406         (JSUnlockInterpreter):
       
  1407         * UserObjectImp.cpp:
       
  1408         (UserObjectImp::callAsFunction):
       
  1409         Pass a parameter (always true) to JSLock and JSLock::DropAllLocks to indicate that JSG
       
  1410         clients always need implicit mutex protection.
       
  1411         Added includes that are now needed.
       
  1412 
       
  1413 2008-06-26  Darin Adler  <darin@apple.com>
       
  1414 
       
  1415         Reviewed by Geoff.
       
  1416 
       
  1417         * JSUtils.cpp: Added include of <JavaScriptCore/JSString.h> since jsString
       
  1418         will soon be changed to return a JSString*.
       
  1419         * UserObjectImp.cpp: Ditto.
       
  1420 
       
  1421 2008-06-23  Darin Adler  <darin@apple.com>
       
  1422 
       
  1423         Reviewed by Geoff.
       
  1424 
       
  1425         * JSValueWrapper.cpp:
       
  1426         (JSValueWrapper::JSObjectCallFunction): Updated to use getCallData and call instead
       
  1427         of the old callAsFunction.
       
  1428 
       
  1429 2008-06-17  Alexey Proskuryakov  <ap@webkit.org>
       
  1430 
       
  1431         Reviewed by Darin Adler.
       
  1432 
       
  1433         Prepare JavaScript heap for being per-thread.
       
  1434 
       
  1435         * JSRun.cpp: (JSRun::JSRun): Create JSGlueGlobalObject in a shared JS heap.
       
  1436 
       
  1437         * JSUtils.h: Made getThreadGlobalExecState available throughout JSGlue.
       
  1438 
       
  1439         * JSUtils.cpp:
       
  1440         (JSObjectKJSValue): Pass an ExecState where now required.
       
  1441         (unprotectGlobalObject):
       
  1442         (initializeGlobalObjectKey):
       
  1443         (getThreadGlobalExecState):
       
  1444         Moved these functions from JSValueWrapper.cpp, as the global exec state is now needed
       
  1445         elsewhere. I'm not quite sure how this relates to the global object from JSRun, but
       
  1446         since the new uses are all for Heap access, there doesn't seem to be any behavior change.
       
  1447 
       
  1448         * JavaScriptGlue.cpp:
       
  1449         (JSLockInterpreter): Don't call registerThread explicitly, as JSLock will do that.
       
  1450 
       
  1451         * UserObjectImp.cpp: (UserObjectImp::toPrimitive): Pass ExecState* where now required.
       
  1452 
       
  1453 2008-06-17  Mark Rowe  <mrowe@apple.com>
       
  1454 
       
  1455         Reviewed by Darin Adler.
       
  1456 
       
  1457         <rdar://problem/5775802> JavaScriptGlue should not force use of GCC 4.0.
       
  1458 
       
  1459         * JavaScriptGlue.xcodeproj/project.pbxproj:
       
  1460 
       
  1461 2008-06-16  Maciej Stachowiak  <mjs@apple.com>
       
  1462 
       
  1463         Reviewed by Alexey.
       
  1464 
       
  1465         - removed nearly unused types.h and LocalStorageEntry.h headers
       
  1466 
       
  1467         * JSUtils.h:
       
  1468 
       
  1469 2008-06-16  Alexey Proskuryakov  <ap@webkit.org>
       
  1470 
       
  1471         Reviewed by Geoff Garen.
       
  1472 
       
  1473         Make Identifier construction use an explicitly passed IdentifierTable.
       
  1474 
       
  1475         * JSUtils.cpp:
       
  1476         (CFStringToIdentifier):
       
  1477         (KJSValueToCFTypeInternal):
       
  1478         * JSUtils.h:
       
  1479         * JSValueWrapper.cpp:
       
  1480         (JSValueWrapper::JSObjectCopyPropertyNames):
       
  1481         (JSValueWrapper::JSObjectCopyProperty):
       
  1482         (JSValueWrapper::JSObjectSetProperty):
       
  1483         * UserObjectImp.cpp:
       
  1484         (UserObjectImp::getPropertyNames):
       
  1485         Pass ExecState or JSGlobalData everywhere.
       
  1486 
       
  1487 2008-06-15  Darin Adler  <darin@apple.com>
       
  1488 
       
  1489         - rename KJS::List to KJS::ArgList
       
  1490 
       
  1491         * JSValueWrapper.cpp:
       
  1492         (JSValueWrapper::JSObjectCallFunction):
       
  1493         * UserObjectImp.cpp:
       
  1494         (UserObjectImp::callAsFunction):
       
  1495         * UserObjectImp.h:
       
  1496 
       
  1497 2008-06-15  Darin Adler  <darin@apple.com>
       
  1498 
       
  1499         - new names for a few key JavaScriptCore files
       
  1500 
       
  1501         * ForwardingHeaders/kjs/JSValue.h: Copied from JavaScriptGlue/ForwardingHeaders/kjs/value.h.
       
  1502         * ForwardingHeaders/kjs/value.h: Removed.
       
  1503         * JSUtils.h:
       
  1504 
       
  1505 2008-06-03  Darin Adler  <darin@apple.com>
       
  1506 
       
  1507         - update for JavaScriptCore changes for https://bugs.webkit.org/show_bug.cgi?id=19269
       
  1508           speed up SunSpider by eliminating the toObject call for most get/put/delete
       
  1509 
       
  1510         * UserObjectImp.cpp:
       
  1511         (UserObjectImp::userObjectGetter): Removed originalObject argument.
       
  1512         * UserObjectImp.h: Ditto.
       
  1513 
       
  1514 2008-06-02  Geoffrey Garen  <ggaren@apple.com>
       
  1515 
       
  1516         Reviewed by Alexey Proskuryakov.
       
  1517 
       
  1518         Removed JSObject::call, since it just called JSObject::callAsFunction.
       
  1519 
       
  1520         SunSpider reports no change.
       
  1521 
       
  1522 2008-05-28  Geoffrey Garen  <ggaren@apple.com>
       
  1523 
       
  1524         Reviewed by Oliver Hunt.
       
  1525         
       
  1526         Fixed total destruction in Software Update.app.
       
  1527         
       
  1528         Updated JavaScriptGlue to honor squirrelfish's new getCallData mechanism for
       
  1529         indicating that an object can be called as a function.
       
  1530 
       
  1531 2008-05-10  Maciej Stachowiak  <mjs@apple.com>
       
  1532 
       
  1533         Reviewed by Oliver.
       
  1534 
       
  1535         - JavaScriptGlue part of fix for: "SQUIRRELFISH: function toString broken after calling"
       
  1536         https://bugs.webkit.org/show_bug.cgi?id=18869
       
  1537         
       
  1538         * JSRun.cpp:
       
  1539         (JSRun::Evaluate): Use UString version of eveluate() instead of
       
  1540         the now departed UChar*/length variant; use of the lower-level
       
  1541         version was gratuitous in any case.
       
  1542         (JSRun::CheckSyntax): Ditto for checkSyntax().
       
  1543 
       
  1544 2008-04-30  Geoffrey Garen  <ggaren@apple.com>
       
  1545 
       
  1546         Build fix: supply missing parameter that used to be implicit.
       
  1547 
       
  1548         * JSRun.cpp:
       
  1549         (JSRun::Evaluate):
       
  1550 
       
  1551 2008-03-30  Geoffrey Garen  <ggaren@apple.com>
       
  1552 
       
  1553         Reviewed by Oliver Hunt.
       
  1554         
       
  1555         Build fix.
       
  1556 
       
  1557         * ForwardingHeaders/wtf/UnusedParam.h: Copied from ForwardingHeaders/wtf/OwnPtr.h.
       
  1558 
       
  1559 2008-05-12  Alexey Proskuryakov  <ap@webkit.org>
       
  1560 
       
  1561         Roll out recent  threading changes (r32807, r32810, r32819, r32822) to simplify
       
  1562         SquirrelFish merging.
       
  1563 
       
  1564         * JSUtils.cpp:
       
  1565         (JSObjectKJSValue):
       
  1566         * JSUtils.h:
       
  1567         * JSValueWrapper.cpp:
       
  1568         (unprotectGlobalObject):
       
  1569         (initializeGlobalObjectKey):
       
  1570         (getThreadGlobalExecState):
       
  1571         * JavaScriptGlue.cpp:
       
  1572         (JSCollect):
       
  1573         (JSLockInterpreter):
       
  1574         * UserObjectImp.cpp:
       
  1575         (UserObjectImp::toPrimitive):
       
  1576 
       
  1577 2008-05-02  Alexey Proskuryakov  <ap@webkit.org>
       
  1578 
       
  1579         Reviewed by Darin Adler.
       
  1580 
       
  1581         Make JavaScriptGlue and JavaScriptCore API functions implicitly call initializeThreading
       
  1582         for the sake of non-WebKit clients.
       
  1583 
       
  1584         * JavaScriptGlue.cpp:
       
  1585         (JSRunCreate):
       
  1586         (JSCollect):
       
  1587         (JSCreateJSArrayFromCFArray):
       
  1588         (JSLockInterpreter):
       
  1589         These are all possible JavaScriptGlue entry points.
       
  1590 
       
  1591 2008-05-02  Alexey Proskuryakov  <ap@webkit.org>
       
  1592 
       
  1593         Reviewed by Geoffrey Garen.
       
  1594 
       
  1595         https://bugs.webkit.org/show_bug.cgi?id=18826
       
  1596         Make JavaScript heap per-thread
       
  1597 
       
  1598         * JSValueWrapper.cpp:
       
  1599         * JSUtils.h:
       
  1600         Moved getThreadGlobalExecState() to JSUtils and made it extern, as ExecState is now needed
       
  1601         for all JS allocations.
       
  1602 
       
  1603         * JSUtils.cpp:
       
  1604         (JSObjectKJSValue): Pass ExecState to functions that now need it.
       
  1605         (unprotectGlobalObject): Moved from JSValueWrapper.cpp.
       
  1606         (initializeGlobalObjectKey): Ditto.
       
  1607         (getThreadGlobalExecState): Ditto.
       
  1608 
       
  1609         * UserObjectImp.cpp: (UserObjectImp::toPrimitive): Pass ExecState to jsString and jsNumber.
       
  1610 
       
  1611         * JavaScriptGlue.cpp:
       
  1612         (JSCollect): Use current thread's heap.
       
  1613         (JSLockInterpreter): Removed JSLock::registerThread(), because a JS heap doesn't need to
       
  1614         know about other threads.
       
  1615 
       
  1616 2008-04-25  Alexey Proskuryakov  <ap@webkit.org>
       
  1617 
       
  1618         Reviewed by Darin Adler.
       
  1619 
       
  1620         Fix run-webkit-tests --threading
       
  1621         and provisionally fix <https://bugs.webkit.org/show_bug.cgi?id=18661>
       
  1622         Proxy server issue in Sunday's Nightly
       
  1623 
       
  1624         * UserObjectImp.cpp: Adjusted for the new member added to ClassInfo.
       
  1625 
       
  1626 2008-04-25  Mark Rowe  <mrowe@apple.com>
       
  1627 
       
  1628         Reviewed by Adele Peterson.
       
  1629 
       
  1630         <rdar://problem/5891264> Don't install the JavaScriptGlue headers
       
  1631 
       
  1632         * JavaScriptGlue.xcodeproj/project.pbxproj:
       
  1633 
       
  1634 2008-04-25  Mark Rowe  <mrowe@apple.com>
       
  1635 
       
  1636         Rubber-stamped by Sam Weinig.
       
  1637 
       
  1638         Add some content to an empty ICU header file to prevent verification errors.
       
  1639 
       
  1640         * icu/unicode/utf_old.h:
       
  1641 
       
  1642 2008-04-02  Mark Rowe  <mrowe@apple.com>
       
  1643 
       
  1644         Reviewed by Oliver Hunt.
       
  1645 
       
  1646         Ensure that debug symbols are generated for x86_64 and ppc64 builds.
       
  1647 
       
  1648         * Configurations/Base.xcconfig:
       
  1649 
       
  1650 2008-03-20  Maciej Stachowiak  <mjs@apple.com>
       
  1651 
       
  1652         - fix build
       
  1653 
       
  1654         * ForwardingHeaders/wtf/ListRefPtr.h: Added.
       
  1655 
       
  1656 2008-03-01  Mark Rowe  <mrowe@apple.com>
       
  1657 
       
  1658         Reviewed by Tim Hatcher.
       
  1659 
       
  1660         Update Xcode configuration to support building debug and release from the mysterious future.
       
  1661 
       
  1662         * Configurations/Base.xcconfig:
       
  1663         * Configurations/DebugRelease.xcconfig:
       
  1664 
       
  1665 2008-02-29  Geoffrey Garen  <ggaren@apple.com>
       
  1666 
       
  1667         Reviewed by David Harrison.
       
  1668         
       
  1669         Fixed <rdar://problem/5765063> TOT REGRESSION: Software Update crash in
       
  1670         KJS::Collector::collect() (missing JSLock)
       
  1671 
       
  1672         * JSValueWrapper.cpp:
       
  1673         (unprotectGlobalObject): Added missing JSLock.
       
  1674 
       
  1675 2008-02-05  Mark Rowe  <mrowe@apple.com>
       
  1676 
       
  1677         Reviewed by Oliver Hunt.
       
  1678 
       
  1679         Update versioning to support the mysterious future.
       
  1680 
       
  1681         * Configurations/Version.xcconfig: Add SYSTEM_VERSION_PREFIX_1060.
       
  1682 
       
  1683 2008-01-28  Eric Seidel  <eric@webkit.org>
       
  1684 
       
  1685         Reviewed by darin.
       
  1686         
       
  1687         Add icu headers to JSG in preparation for depending on ::UChar.
       
  1688 
       
  1689         * Configurations/Base.xcconfig:
       
  1690         * ForwardingHeaders/wtf/unicode: Added.
       
  1691         * ForwardingHeaders/wtf/unicode/Unicode.h: Added.
       
  1692         * ForwardingHeaders/wtf/unicode/icu: Added.
       
  1693         * ForwardingHeaders/wtf/unicode/icu/UnicodeIcu.h: Added.
       
  1694         * icu: Copied from ../JavaScriptCore/icu.
       
  1695 
       
  1696 2007-12-19  Geoffrey Garen  <ggaren@apple.com>
       
  1697 
       
  1698         Build fix.
       
  1699 
       
  1700         * ForwardingHeaders/wtf/VectorTraits.h: Added.
       
  1701 
       
  1702 2007-12-10  Timothy Hatcher  <timothy@apple.com>
       
  1703 
       
  1704         Reviewed by Mark Rowe.
       
  1705 
       
  1706         <rdar://problem/5639463> Bundle versions on Tiger should be 4523.x not 523.x
       
  1707 
       
  1708         * Configurations/Version.xcconfig: Some Tiger versions of Xcode don't set MAC_OS_X_VERSION_MAJOR,
       
  1709           so assume Tiger and use a 4 for the SYSTEM_VERSION_PREFIX.
       
  1710 
       
  1711 2007-12-04  Geoffrey Garen  <ggaren@apple.com>
       
  1712 
       
  1713         Reviewed by Darin Adler.
       
  1714 
       
  1715         Third step in refactoring JSGlobalObject: Moved data members and data
       
  1716         member access from Interpreter to JSGlobalObject. Replaced JSInterpreter
       
  1717         subclass with JSGlobalObject subclass.
       
  1718         
       
  1719         * JSRun.cpp:
       
  1720         (JSRun::JSRun):
       
  1721         (JSRun::Evaluate):
       
  1722         (JSRun::CheckSyntax):
       
  1723         * JSRun.h:
       
  1724         (JSGlueGlobalObject::JSGlueGlobalObject):
       
  1725         * JSUtils.cpp:
       
  1726         (KJSValueToCFTypeInternal):
       
  1727         * JSValueWrapper.cpp:
       
  1728         (getThreadGlobalExecState):
       
  1729 
       
  1730 2007-12-02  Geoffrey Garen  <ggaren@apple.com>
       
  1731 
       
  1732         Reviewed by Eric Seidel.
       
  1733 
       
  1734         Updated to match the JavaScriptCore change to move virtual methods from
       
  1735         Interpreter to JSGlobalObject.
       
  1736         
       
  1737         * JSRun.cpp:
       
  1738         * JSRun.h:
       
  1739         * JSValueWrapper.cpp:
       
  1740         (getThreadGlobalExecState):
       
  1741         * JavaScriptGlue.cpp:
       
  1742         (JSRunCopyGlobalObject):
       
  1743         (JSRunEvaluate):
       
  1744 
       
  1745 2007-11-30  Geoffrey Garen  <ggaren@apple.com>
       
  1746 
       
  1747         Reviewed by Beth Dakin.
       
  1748         
       
  1749         Modified to follow new JSGlobalObject/Interpreter ownership rules 
       
  1750         in JavaScriptCore.
       
  1751 
       
  1752         * JSRun.cpp:
       
  1753         (JSRun::JSRun):
       
  1754         (JSRun::GetInterpreter):
       
  1755         (JSRun::Evaluate):
       
  1756         (JSRun::CheckSyntax):
       
  1757         * JSRun.h:
       
  1758         * JSValueWrapper.cpp:
       
  1759         (unprotectGlobalObject):
       
  1760         (initializeGlobalObjectKey):
       
  1761         (getThreadGlobalExecState):
       
  1762 
       
  1763 2007-11-29  Mark Rowe  <mrowe@apple.com>
       
  1764 
       
  1765         Reviewed by Maciej.
       
  1766 
       
  1767         Fix REGRESSION(r27885): Installer hits assertion failure in JavaScriptGlue.
       
  1768 
       
  1769         * JSValueWrapper.cpp:
       
  1770         (getThreadGlobalExecState): Set the global object on the Interpreter before using it.
       
  1771 
       
  1772 2007-11-27  Anders Carlsson  <andersca@apple.com>
       
  1773         
       
  1774         Build fix.
       
  1775         
       
  1776         * JSUtils.cpp:
       
  1777         (KJSValueToCFTypeInternal):
       
  1778         * JSValueWrapper.cpp:
       
  1779         (JSValueWrapper::JSObjectCopyPropertyNames):
       
  1780 
       
  1781 2007-11-21  Mark Rowe  <mrowe@apple.com>
       
  1782 
       
  1783         Reviewed by Eric.
       
  1784 
       
  1785         Fix JavaScriptGlue to build without warnings using GCC 4.2.
       
  1786 
       
  1787         * Configurations/Base.xcconfig:
       
  1788         * JSRun.h:
       
  1789 
       
  1790 2007-11-17  Mark Rowe  <mrowe@apple.com>
       
  1791 
       
  1792         Reviewed by Darin Adler.
       
  1793 
       
  1794         Fix: <rdar://problem/5607032> REGRESSION: testapi exits with assertion failure in debug build
       
  1795              <rdar://problem/5440659> JSGlobalContextCreate throws away globalObjectClass's prototype
       
  1796              http://bugs.webkit.org/show_bug.cgi?id=16033
       
  1797 
       
  1798         Update for changes in Interpreter method signatures.
       
  1799 
       
  1800         * JSRun.h:
       
  1801 
       
  1802 2007-11-13  Geoffrey Garen  <ggaren@apple.com>
       
  1803 
       
  1804         Reviewed by Anders Carlsson.
       
  1805 
       
  1806         Renamed Shared to RefCounted.
       
  1807 
       
  1808         * ForwardingHeaders/wtf/RefCounted.h: Copied from JavaScriptGlue/ForwardingHeaders/wtf/Shared.h.
       
  1809         * ForwardingHeaders/wtf/Shared.h: Removed.
       
  1810 
       
  1811 2007-11-13  Geoffrey Garen  <ggaren@apple.com>
       
  1812 
       
  1813         Reviewed by Sam Weinig.
       
  1814 
       
  1815         Moved Shared.h into wtf so it could be used in more places.
       
  1816 
       
  1817         * ForwardingHeaders/wtf/Shared.h: Added.
       
  1818 
       
  1819 2007-11-08  Mark Rowe  <mrowe@apple.com>
       
  1820 
       
  1821         Build fix.
       
  1822 
       
  1823         * ForwardingHeaders/wtf/MathExtras.h: Copied from WebCore/ForwardingHeaders/wtf/MathExtras.h.
       
  1824 
       
  1825 2007-11-05  Geoffrey Garen  <ggaren@apple.com>
       
  1826 
       
  1827         Build fix.
       
  1828 
       
  1829         * ForwardingHeaders/kjs/value.h: Added.
       
  1830 
       
  1831 2007-11-03  Sam Weinig  <sam@webkit.org>
       
  1832 
       
  1833         Build-fix.
       
  1834 
       
  1835         * UserObjectImp.cpp:
       
  1836 
       
  1837 2007-11-03  David D. Kilzer  <ddkilzer@webkit.org>
       
  1838 
       
  1839         Sort files(...); sections of Xcode project files.
       
  1840 
       
  1841         Rubber-stamped by Darin Adler.
       
  1842 
       
  1843         * JavaScriptGlue.xcodeproj/project.pbxproj:
       
  1844 
       
  1845 2007-10-25  Eric Seidel  <eric@webkit.org>
       
  1846 
       
  1847         Reviewed by Geoff.
       
  1848         
       
  1849         Make JSG build again after JSGlobalObject change.
       
  1850 
       
  1851         * JSRun.cpp:
       
  1852         (JSRun::JSRun):
       
  1853         (JSRun::GlobalObject):
       
  1854         * JSRun.h:
       
  1855         (JSInterpreter::JSInterpreter):
       
  1856         * JSUtils.h:
       
  1857 
       
  1858 2007-10-11  Mark Rowe  <mrowe@apple.com>
       
  1859 
       
  1860         Reviewed by Tim Hatcher.
       
  1861 
       
  1862         Fix for <rdar://problem/5488678>.  Disable debugging symbols in production builds for 10.4
       
  1863         PowerPC to prevent a huge STABS section from being generated.
       
  1864 
       
  1865         * Configurations/Base.xcconfig:
       
  1866 
       
  1867 2007-10-04  Mark Rowe  <mrowe@apple.com>
       
  1868 
       
  1869         Reviewed by Oliver.
       
  1870 
       
  1871         Switch to default level of debugging symbols to resolve <rdar://problem/5488678>.
       
  1872         The "full" level appears to offer no observable benefits even though the documentation
       
  1873         suggests it be used for dead code stripping.  This should also decrease link times.
       
  1874 
       
  1875         * Configurations/Base.xcconfig:
       
  1876 
       
  1877 2007-09-03  Mark Rowe  <mrowe@apple.com>
       
  1878 
       
  1879         Reviewed by Tim Hatcher.
       
  1880 
       
  1881         <rdar://problem/5452164> Production build with in symbols directory has no debug info
       
  1882 
       
  1883         Enable debug symbol generation on all build configurations.  Production builds are stripped
       
  1884         of symbols by Xcode during deployment post-processing.
       
  1885 
       
  1886         * Configurations/Base.xcconfig:
       
  1887         * JavaScriptGlue.xcodeproj/project.pbxproj:
       
  1888 
       
  1889 2007-08-09  Mark Rowe  <mrowe@apple.com>
       
  1890 
       
  1891         Reviewed by Antti.
       
  1892 
       
  1893         <rdar://problem/5400709> Versioning in debug and release builds should include minor and tiny version before +
       
  1894 
       
  1895         * Configurations/Version.xcconfig:
       
  1896         * JavaScriptGlue.xcodeproj/project.pbxproj: Add a shell script phase to make to dependency between
       
  1897         Version.xcconfig and Info.plist explicit to Xcode.
       
  1898 
       
  1899 2007-07-16  Sam Weinig  <sam@webkit.org>
       
  1900 
       
  1901         Reviewed by Oliver.
       
  1902 
       
  1903         Turn off -Wshorten-64-to-32 warning for 64-bit builds.
       
  1904 
       
  1905         * Configurations/Base.xcconfig:
       
  1906 
       
  1907 2007-04-27  Mark Rowe  <mrowe@apple.com>
       
  1908 
       
  1909         Reviewed by Oliver.
       
  1910 
       
  1911         * JavaScriptGlue.xcodeproj/project.pbxproj: Improve dependencies in Xcode project
       
  1912         by marking JavaScriptGlue as a dependency of testjsglue.
       
  1913 
       
  1914 2007-03-24  Mark Rowe  <mrowe@apple.com>
       
  1915 
       
  1916         Reviewed by Dave Hyatt.
       
  1917 
       
  1918         * JavaScriptGlue.xcodeproj/project.pbxproj: Use GCC 4.0 for testjsglue.
       
  1919 
       
  1920 2007-03-24  Mark Rowe  <mrowe@apple.com>
       
  1921 
       
  1922         Rubber-stamped by Darin Adler.
       
  1923 
       
  1924         * Configurations/JavaScriptGlue.xcconfig: Remove unnecessary INFOPLIST_PREPROCESS.
       
  1925 
       
  1926 2007-03-19  Andrew Wellington  <proton@wiretapped.net>
       
  1927 
       
  1928         Reviewed by Maciej.
       
  1929 
       
  1930         Really set Xcode editor to use 4 space indentation (http://webkit.org/coding/coding-style.html)
       
  1931 
       
  1932         * JavaScriptGlue.xcodeproj/project.pbxproj:
       
  1933 
       
  1934 2007-03-18  Andrew Wellington  <proton@wiretapped.net>
       
  1935 
       
  1936         Reviewed by Mark Rowe
       
  1937         
       
  1938         Set Xcode editor to use 4 space indentation (http://webkit.org/coding/coding-style.html)
       
  1939 
       
  1940         * JavaScriptGlue.xcodeproj/project.pbxproj:
       
  1941 
       
  1942 2007-03-17  Timothy Hatcher  <timothy@apple.com>
       
  1943 
       
  1944         Reviewed by Mark Rowe.
       
  1945 
       
  1946         Made Version.xcconfig smarter when building for different configurations.
       
  1947         Now uses the 522+ OpenSource version for Debug and Release, while using the    
       
  1948         full 522.4 version for Production builds. The system prefix is also computed
       
  1949         based on the current system, so 4522.4 on Tiger and 5522.4 on Leopard.
       
  1950 
       
  1951         * Configurations/JavaScriptGlue.xcconfig:
       
  1952         * Configurations/Version.xcconfig:
       
  1953 
       
  1954 2007-03-15  Timothy Hatcher  <timothy@apple.com>
       
  1955 
       
  1956         Reviewed by John.
       
  1957 
       
  1958         * Factored out most of our common build settings into .xcconfig files. Anything that was common in
       
  1959           each build configuration was factored out into the shared .xcconfig file.
       
  1960         * Adds a Version.xcconfig file to define the current framework version, to be used in other places.
       
  1961         * Use the new $(BUNDLE_VERSION) (defined in Version.xcconfig) in the preprocessed Info.plist.
       
  1962         * Use the versions defined in Version.xcconfig to set $(DYLIB_CURRENT_VERSION).
       
  1963 
       
  1964         * Configurations/Base.xcconfig: Added.
       
  1965         * Configurations/DebugRelease.xcconfig: Added.
       
  1966         * Configurations/JavaScriptGlue.xcconfig: Added.
       
  1967         * Configurations/Version.xcconfig: Added.
       
  1968         * Info.plist:
       
  1969         * JavaScriptGlue.xcodeproj/project.pbxproj:
       
  1970 
       
  1971 === Safari-5522.4 ===
       
  1972 
       
  1973 2007-03-12  Geoffrey Garen  <ggaren@apple.com>
       
  1974 
       
  1975         Reviewed by Oliver Hunt.
       
  1976         
       
  1977         Updated in light of fix for <rdar://problem/4681051> Installer crashes 
       
  1978         in KJS::Collector::markOtherThreadConservatively(KJS::Collector::Thread*) 
       
  1979         trying to install iLife 06 using Rosetta on an Intel Machine
       
  1980         
       
  1981         * JavaScriptGlue.cpp:
       
  1982         (JSLockInterpreter): Ensure backwards compatibility by calling 
       
  1983         registerThread() when explicitly taking the JSLock. (This doesn't happen 
       
  1984         automatically anymore.) I doubt this actally matters, but in JavaScriptGlue
       
  1985         territory, that kind of thinking will get you killed.
       
  1986 
       
  1987 2007-03-06  Geoffrey Garen  <ggaren@apple.com>
       
  1988 
       
  1989         Reviewed by Maciej Stachowiak.
       
  1990 
       
  1991         Fixed all known crashers exposed by run-webkit-tests --threaded while using
       
  1992         a PAC file (for maximum carnage). See JavaScriptCore ChangeLog for 
       
  1993         more details.
       
  1994 
       
  1995         * JSBase.cpp:
       
  1996         (JSBase::Release): Lock when deleting, because we may be deleting an object
       
  1997         (like a JSRun) that holds thread-unsafe data.
       
  1998 
       
  1999         * JSUtils.cpp:
       
  2000         (CFStringToUString): Don't lock, because our caller locks. Also, locking
       
  2001         inside a function that returns thread-unsafe data by copy will only mask
       
  2002         threading problems.
       
  2003 
       
  2004         * JavaScriptGlue.cpp:
       
  2005         (JSRunEvaluate): Added missing JSLock.
       
  2006         (JSRunCheckSyntax): Converted to JSLock.
       
  2007         * JavaScriptGlue.xcodeproj/project.pbxproj:
       
  2008 
       
  2009 2007-02-22  Geoffrey Garen  <ggaren@apple.com>
       
  2010 
       
  2011         Reviewed by Darin Adler.
       
  2012         
       
  2013         Fixed <rdar://problem/4942528> Installer.app Stuck "Examining additional 
       
  2014         volumes..."
       
  2015         
       
  2016         The problem was that JavaScriptGlue held a JSObject in a static pointer
       
  2017         without protecting it from garbage collection. 
       
  2018         
       
  2019             sUserObjectPrototypeImp  = new UserObjectPrototypeImp();
       
  2020             static ProtectedPtr<UserObjectPrototypeImp> protectPrototype; // valiant, brave, but useless
       
  2021 
       
  2022         Through an interesting comedy of errors, this object would be collected 
       
  2023         and then assigned as the prototype of another object allocated at the 
       
  2024         same address, thus becoming its own prototype. (See http://www.ziplo.com/grandpa.htm
       
  2025         for further explanation of this phenomenon.) Hence the infinte loop in 
       
  2026         property lookup.
       
  2027         
       
  2028         The solution is equally humorous: all of this code was completely useless --
       
  2029         it only served to create an empty object in the prototype chain -- so
       
  2030         I just removed it.
       
  2031 
       
  2032         * UserObjectImp.cpp:
       
  2033         (UserObjectImp::UserObjectImp):
       
  2034         * UserObjectImp.h:
       
  2035 
       
  2036 2007-02-19  Timothy Hatcher  <timothy@apple.com>
       
  2037 
       
  2038         Reviewed by Geoff.
       
  2039 
       
  2040         <rdar://problem/4636301> Deprecate JavaScriptGlue
       
  2041 
       
  2042         * JavaScriptGlue.h: adds DEPRECATED_IN_MAC_OS_X_VERSION_10_5_AND_LATER to everything
       
  2043         * JavaScriptGlue.xcodeproj/project.pbxproj: use -Wno-deprecated-declarations to keep the project building
       
  2044         * config.h: define DEPRECATED_IN_MAC_OS_X_VERSION_10_5_AND_LATER as empty on other systems
       
  2045 
       
  2046 2007-02-16  Darin Adler  <darin@apple.com>
       
  2047 
       
  2048         Reviewed by Anders.
       
  2049 
       
  2050         - fix <rdar://problem/5000216> JavaScriptGlue framework started turning all CFNumbers
       
  2051           into signed 32bit values
       
  2052 
       
  2053         Circumstantial evidence seems to indicate that JavaScriptGlue was depending on a bug
       
  2054         in CFNumber where CFNumberIsFloatType was returning true for 64-bit integer values.
       
  2055 
       
  2056         * JSUtils.cpp: (JSObjectKJSValue): Removed the call to CFNumberIsFloatType in the
       
  2057         conversion of numeric values, and always use kCFNumberDoubleType, since double is
       
  2058         the internal format of numbers in JavaScriptCore. There's no value to having a
       
  2059         separate code path for integers. There's also no reason to check the return value
       
  2060         from CFNumberGetValue -- if it returns false it still does the best it can to convert
       
  2061         to a double, which is what we want.
       
  2062 
       
  2063         * UserObjectImp.cpp: (UserObjectImp::toString): Removed a similar code path that
       
  2064         tried to handle integers separate from double. Instead, always use a double. For
       
  2065         compatibility, use a format without a decimal point when CFNumberIsFloatType returns
       
  2066         false. Also removed a bogus cast to float; the "%f" format string takes a double,
       
  2067         not a float, so all the cast did was cut down on precision.
       
  2068 
       
  2069 2007-01-25  Mark Rowe  <mrowe@apple.com>
       
  2070 
       
  2071         Reviewed by Maciej.
       
  2072 
       
  2073         * Info.plist: Update copyright string.
       
  2074 
       
  2075 2006-12-19  Timothy Hatcher  <timothy@apple.com>
       
  2076 
       
  2077         Reviewed by Darin Adler.
       
  2078 
       
  2079         <rdar://problem/4891774> Local WebCore/WebBrowser builds fail in 9A328 due to warning about ObjC-2.0 language features
       
  2080 
       
  2081         * JavaScriptGlue.xcodeproj/project.pbxproj:
       
  2082 
       
  2083 === Safari-521.26 ===
       
  2084 
       
  2085 2006-08-15  Mark Rowe  <opendarwin.org@bdash.net.nz>
       
  2086 
       
  2087         Reviewed by Tim H.
       
  2088 
       
  2089         Build fix:  DWARF and -gfull are incompatible with symbol separation.
       
  2090 
       
  2091         * JavaScriptGlue.xcodeproj/project.pbxproj:
       
  2092 
       
  2093 2006-08-15  Mark Rowe  <opendarwin.org@bdash.net.nz>
       
  2094 
       
  2095         Reviewed by Tim H.
       
  2096 
       
  2097         http://bugs.webkit.org/show_bug.cgi?id=10394
       
  2098         Bug 10394: WebKit Release and Production configurations should enable dead code stripping
       
  2099 
       
  2100         * JavaScriptGlue.xcodeproj/project.pbxproj:
       
  2101 
       
  2102 2006-08-15  Mark Rowe  <opendarwin.org@bdash.net.nz>
       
  2103 
       
  2104         Reviewed by Tim H.
       
  2105 
       
  2106         http://bugs.webkit.org/show_bug.cgi?id=10384
       
  2107         Bug 10384: Switch to DWARF for Release configuration
       
  2108 
       
  2109         * JavaScriptGlue.xcodeproj/project.pbxproj:
       
  2110 
       
  2111 2006-08-04  Sam Weinig  <sam.weinig@gmail.com>
       
  2112 
       
  2113         Reviewed by Darin Adler.
       
  2114 
       
  2115         - patch for http://bugs.webkit.org/show_bug.cgi?id=10192
       
  2116           Make WebCore (and friends) compile with -Wshorten-64-to-32
       
  2117 
       
  2118           * Adds -Wshorten-64-to-32 flag to Xcode project.
       
  2119 
       
  2120         * JavaScriptGlue.xcodeproj/project.pbxproj:
       
  2121 
       
  2122 2006-08-03  Sam Weinig  <sam.weinig@gmail.com>
       
  2123 
       
  2124         Reviewed by Darin Adler.
       
  2125 
       
  2126         - patch for http://bugs.webkit.org/show_bug.cgi?id=10176
       
  2127           Make WebCore compile with -Wundef
       
  2128 
       
  2129           * Adds -Wundef flag to Xcode project
       
  2130 
       
  2131         * JavaScriptGlue.xcodeproj/project.pbxproj:
       
  2132 
       
  2133 2006-07-29  Sam Weinig  <sam.weinig@gmail.com>
       
  2134 
       
  2135         Reviewed by Darin Adler.
       
  2136 
       
  2137         - patch for http://bugs.webkit.org/show_bug.cgi?id=10080
       
  2138           Adopt pedantic changes from the Unity project to improve 
       
  2139           cross-compiler compatibility
       
  2140 
       
  2141           Changes include:
       
  2142           * Turning on gcc warning for missing newline at the end of a source file
       
  2143             (GCC_WARN_ABOUT_MISSING_NEWLINE in Xcode, -Wnewline in gcc).
       
  2144 
       
  2145         * JavaScriptGlue.xcodeproj/project.pbxproj:
       
  2146 
       
  2147 === Safari-521.19 ===
       
  2148 
       
  2149 2006-07-19  Geoffrey Garen  <ggaren@apple.com>
       
  2150 
       
  2151         Fixed by Darin & Maciej, reviewed by me.
       
  2152         
       
  2153         - Fixed <rdar://problem/4638934> Leopard 9A227: Installer crashes right 
       
  2154         after LCA and while preparing Installation
       
  2155 
       
  2156         Compile release/production with NDEBUG set, to ensure binary compatibility
       
  2157         between JavaScriptGlue and JavaScriptCore. In debug builds, JavaScriptCore 
       
  2158         includes an extra debug data member in HashSet.
       
  2159         
       
  2160         * JavaScriptGlue.xcodeproj/project.pbxproj:
       
  2161 
       
  2162 === Safari-521.18 ===
       
  2163 
       
  2164 2006-07-15  Maciej Stachowiak  <mjs@apple.com>
       
  2165 
       
  2166         Reviewed by Darin Adler.
       
  2167 
       
  2168         - switch property lists to be vector+set of Identifiers instead of list of References
       
  2169         
       
  2170         * JSUtils.cpp:
       
  2171         (KJSValueToCFTypeInternal): updated for JSC SPI changes
       
  2172         * JSValueWrapper.cpp:
       
  2173         (JSValueWrapper::JSObjectCopyPropertyNames): ditto
       
  2174         * UserObjectImp.cpp:
       
  2175         (UserObjectImp::getPropertyNames): ditto
       
  2176         * UserObjectImp.h:
       
  2177 
       
  2178 === Safari-521.17 ===
       
  2179 
       
  2180 2006-07-14  Geoffrey Garen  <ggaren@apple.com>
       
  2181 
       
  2182         Reviewed by Maciej.
       
  2183         
       
  2184         - Updated JSInterpreter to work with Interpreter ref-counting in JavaScriptCore.
       
  2185 
       
  2186         (JSInterpreter::JSInterpreter::~JSInterpreter): Now protected to catch
       
  2187         manual delete.
       
  2188 
       
  2189 2006-07-12  Anders Carlsson  <acarlsson@apple.com>
       
  2190 
       
  2191         Build fix
       
  2192         
       
  2193         * JSUtils.cpp:
       
  2194         (KJSValueToCFTypeInternal):
       
  2195         * JSValueWrapper.cpp:
       
  2196         (JSValueWrapper::JSObjectCopyPropertyNames):
       
  2197         * UserObjectImp.cpp:
       
  2198         (UserObjectImp::getPropertyList):
       
  2199         
       
  2200 === Safari-521.15 ===
       
  2201 
       
  2202 2006-07-07  Geoffrey Garen  <ggaren@apple.com>
       
  2203 
       
  2204         - build fix
       
  2205 
       
  2206         * JSUtils.cpp:
       
  2207         (KJSValueToCFTypeInternal):
       
  2208         * JSValueWrapper.cpp:
       
  2209         (JSValueWrapper::JSObjectCopyPropertyNames):
       
  2210 
       
  2211 2006-07-03  Geoffrey Garen  <ggaren@apple.com>
       
  2212 
       
  2213         Reviewed by Maciej.
       
  2214         
       
  2215         * JSRun.cpp:
       
  2216         (JSRun::CheckSyntax): Updated to use new checkSyntax syntax in JSC.
       
  2217         * JavaScriptGlue.xcodeproj/project.pbxproj:
       
  2218 
       
  2219 === Safari-521.14 ===
       
  2220 
       
  2221 2006-06-28  Timothy Hatcher  <timothy@apple.com>
       
  2222 
       
  2223         Prefer the Stabs debugging symbols format until DWARF bugs are fixed.
       
  2224 
       
  2225         * JavaScriptGlue.xcodeproj/project.pbxproj:
       
  2226 
       
  2227 2006-06-24  David Kilzer  <ddkilzer@kilzer.net>
       
  2228 
       
  2229         Reviewed by Timothy.
       
  2230 
       
  2231         * Info.plist: Fixed copyright to include 2003-2006.
       
  2232 
       
  2233 === JavaScriptGlue-521.13 ===
       
  2234         
       
  2235 2006-06-20  Geoffrey Garen  <ggaren@apple.com>
       
  2236 
       
  2237         Reviewed by Anders.
       
  2238         
       
  2239         - Required for JS API: Rename propList to getPropertyList and have it
       
  2240         take its target property list by reference so that subclasses can
       
  2241         add properties to the list before calling through to their superclasses.
       
  2242 
       
  2243         * JSUtils.cpp:
       
  2244         (KJSValueToCFTypeInternal):
       
  2245         * JSValueWrapper.cpp:
       
  2246         (JSValueWrapper::JSObjectCopyPropertyNames):
       
  2247         * UserObjectImp.cpp:
       
  2248         (UserObjectImp::getPropertyList):
       
  2249         * UserObjectImp.h:
       
  2250 
       
  2251 2006-06-15  Timothy Hatcher  <timothy@apple.com>
       
  2252 
       
  2253         Reviewed by Geoff and Darin.
       
  2254         
       
  2255         Prefer the DWARF debugging symbols format for use in Xcode 2.3.
       
  2256 
       
  2257         * JavaScriptGlue.xcodeproj/project.pbxproj:
       
  2258 
       
  2259 2006-06-12  Geoffrey Garen  <ggaren@apple.com>
       
  2260 
       
  2261         Reviewed by TimO, Maciej.
       
  2262         
       
  2263         - JSGlue part of merging InterpreterImp into Interpreter.
       
  2264         
       
  2265         Since there's now a kjs forwarding header, I moved all forwarding
       
  2266         headers into a "ForwardingHeaders" directory, like in WebCore.
       
  2267 
       
  2268         * ForwardingHeaders: Added.
       
  2269         * ForwardingHeaders/kjs: Added.
       
  2270         * ForwardingHeaders/kjs/ExecState.h: Added.
       
  2271         * ForwardingHeaders/wtf: Added.
       
  2272         * JavaScriptGlue.xcodeproj/project.pbxproj:
       
  2273         * config.h:
       
  2274         * wtf: Removed.
       
  2275         * wtf/AlwaysInline.h: Removed.
       
  2276         * wtf/Assertions.h: Removed.
       
  2277         * wtf/FastMalloc.h: Removed.
       
  2278         * wtf/Forward.h: Removed.
       
  2279         * wtf/HashCountedSet.h: Removed.
       
  2280         * wtf/HashSet.h: Removed.
       
  2281         * wtf/Noncopyable.h: Removed.
       
  2282         * wtf/OwnArrayPtr.h: Removed.
       
  2283         * wtf/OwnPtr.h: Removed.
       
  2284         * wtf/PassRefPtr.h: Removed.
       
  2285         * wtf/Platform.h: Removed.
       
  2286         * wtf/RefPtr.h: Removed.
       
  2287         * wtf/Vector.h: Removed.
       
  2288 
       
  2289 === JavaScriptGlue-521.10 ===
       
  2290 
       
  2291 2006-05-09  Maciej Stachowiak  <mjs@apple.com>
       
  2292 
       
  2293         Rubber stamped by Anders.
       
  2294         
       
  2295         - renamed kxmlcore to wtf
       
  2296         
       
  2297         kxmlcore --> wtf
       
  2298         KXMLCore --> WTF
       
  2299         KXC --> WTF
       
  2300 
       
  2301         * config.h:
       
  2302         * kxmlcore: Removed.
       
  2303         * kxmlcore/AlwaysInline.h: Removed.
       
  2304         * kxmlcore/Assertions.h: Removed.
       
  2305         * kxmlcore/FastMalloc.h: Removed.
       
  2306         * kxmlcore/Forward.h: Removed.
       
  2307         * kxmlcore/HashCountedSet.h: Removed.
       
  2308         * kxmlcore/HashSet.h: Removed.
       
  2309         * kxmlcore/Noncopyable.h: Removed.
       
  2310         * kxmlcore/OwnArrayPtr.h: Removed.
       
  2311         * kxmlcore/OwnPtr.h: Removed.
       
  2312         * kxmlcore/PassRefPtr.h: Removed.
       
  2313         * kxmlcore/Platform.h: Removed.
       
  2314         * kxmlcore/RefPtr.h: Removed.
       
  2315         * kxmlcore/Vector.h: Removed.
       
  2316         * wtf: Added.
       
  2317 
       
  2318 2006-04-11  Darin Adler  <darin@apple.com>
       
  2319 
       
  2320         - try to fix Windows build
       
  2321 
       
  2322         * kxmlcore/HashForward.h: Removed.
       
  2323 
       
  2324 2006-04-10  Darin Adler  <darin@apple.com>
       
  2325 
       
  2326         Rubber-stamped by John Sullivan.
       
  2327 
       
  2328         - added forwarding headers for the new Forward.h and HashForward.h files
       
  2329 
       
  2330         * kxmlcore/Forward.h: Added.
       
  2331         * kxmlcore/HashForward.h: Added.
       
  2332 
       
  2333 2006-04-04  Timothy Hatcher  <timothy@apple.com>
       
  2334 
       
  2335         Reviewed by Darin Adler.
       
  2336 
       
  2337         The Debug and Release frameworks are now built with install paths relative to the build products directory.
       
  2338         This removes the need for other projects to build with -framework WebCore and -framework JavaScriptCore. 
       
  2339 
       
  2340         * JavaScriptGlue.xcodeproj/project.pbxproj:
       
  2341 
       
  2342 2006-04-02  Eric Seidel  <eseidel@apple.com>
       
  2343 
       
  2344         Reviewed by andersca.
       
  2345 
       
  2346         Add missing forwarding header.
       
  2347 
       
  2348         * kxmlcore/Vector.h: Added.
       
  2349 
       
  2350 2006-03-31  Geoffrey Garen  <ggaren@apple.com>
       
  2351 
       
  2352         Reviewed by Darin Adler.
       
  2353 
       
  2354         - Fixed <rdar://problem/4430836> JavaScript patch crashing Quartz
       
  2355         Composer
       
  2356 
       
  2357         JSValueWrappers used to hold on to the ExecState that pertained at
       
  2358         the time of their creation. Since ExecStates are transient, that
       
  2359         design was totally bogus, and it would crash once the ExecState had
       
  2360         been deallocated.
       
  2361 
       
  2362         Unfortunately, there's no clean solution to this problem, since
       
  2363         the JSGlue API has no notion of state. The solution here is to use
       
  2364         a shared, global ExecState for the purpose of JSGlue calls. Given
       
  2365         the pre-existing limitations in the JSGlue API, this design
       
  2366         shouldn't actually introduce any new limitations (see comments in
       
  2367         JSValueWrapper.cpp).
       
  2368 
       
  2369         I tested with Quartz Composer and PAC files, neither of which are
       
  2370         layout-testable.
       
  2371         
       
  2372         * JSUtils.cpp:
       
  2373         (KJSValueToJSObject):
       
  2374         * JSValueWrapper.cpp:
       
  2375         (JSValueWrapper::JSValueWrapper):
       
  2376         (JSValueWrapper::GetValue):
       
  2377         (getProcessGlobalExecState):
       
  2378         (JSValueWrapper::JSObjectCopyPropertyNames):
       
  2379         (JSValueWrapper::JSObjectCopyProperty):
       
  2380         (JSValueWrapper::JSObjectSetProperty):
       
  2381         (JSValueWrapper::JSObjectCallFunction):
       
  2382         (JSValueWrapper::JSObjectCopyCFValue):
       
  2383         * JSValueWrapper.h:
       
  2384 
       
  2385         Also added a test harness file. It was helpful while I was testing,
       
  2386         and may come in handy in the future:
       
  2387         
       
  2388         * JavaScriptGlue.xcodeproj/project.pbxproj:
       
  2389         testjsglue.cpp: Added.
       
  2390 
       
  2391 2006-03-28  Darin Adler  <darin@apple.com>
       
  2392 
       
  2393         Reviewed by Geoff.
       
  2394 
       
  2395         - added a build step that checks for init routines
       
  2396 
       
  2397         * JavaScriptGlue.xcodeproj/project.pbxproj: Added a custom build phase that invokes the
       
  2398         check-for-global-initializers script.
       
  2399 
       
  2400 2006-03-02  Maciej Stachowiak  <mjs@apple.com>
       
  2401 
       
  2402         Not reviewed, but I noticed these trivial extra changes were needed to avoid
       
  2403         breaking the build with my reviewed patch for:
       
  2404         
       
  2405         http://bugs.webkit.org/show_bug.cgi?id=7387
       
  2406         
       
  2407         Add config.h, includes of it, and Platform.h forwarding header.
       
  2408 
       
  2409         * JSBase.cpp:
       
  2410         * JSObject.cpp:
       
  2411         * JSRun.cpp:
       
  2412         * JSUtils.cpp:
       
  2413         * JSValueWrapper.cpp:
       
  2414         * JavaScriptGlue.cpp:
       
  2415         * UserObjectImp.cpp:
       
  2416         * config.h: Added.
       
  2417         * kxmlcore/Platform.h: Added.
       
  2418 
       
  2419 === JavaScriptGlue-521.7 ===
       
  2420 
       
  2421 2006-02-10  Geoffrey Garen  <ggaren@apple.com>
       
  2422 
       
  2423         Reviewed by eric.
       
  2424 
       
  2425         - Fixed build.
       
  2426 
       
  2427         * UserObjectImp.cpp:
       
  2428         (UserObjectImp::toPrimitive):
       
  2429         * UserObjectImp.h:
       
  2430 
       
  2431 2006-02-03  Timothy Hatcher  <timothy@apple.com>
       
  2432 
       
  2433         Reviewed by Justin.
       
  2434 
       
  2435         Renamed configuration names to Debug, Release and Production.
       
  2436 
       
  2437         * JavaScriptGlue.xcodeproj/project.pbxproj:
       
  2438 
       
  2439 2006-02-01  Darin Adler  <darin@apple.com>
       
  2440 
       
  2441         - added some forwarding headers to make new JavaScriptCore changes work
       
  2442 
       
  2443         * kxmlcore/Assertions.h: Added.
       
  2444         * kxmlcore/Noncopyable.h: Added.
       
  2445         * kxmlcore/OwnPtr.h: Added.
       
  2446         * kxmlcore/OwnArrayPtr.h: Added.
       
  2447 
       
  2448 2006-01-16  Timothy Hatcher  <timothy@apple.com>
       
  2449 
       
  2450         Adding the license header to all files so we can
       
  2451         move JavaScriptGlue into the open source repository.
       
  2452 
       
  2453         * LICENSE: Added.
       
  2454         * JSBase.cpp: license header added.
       
  2455         * JSBase.h: ditto.
       
  2456         * JSObject.cpp: ditto.
       
  2457         * JSObject.h: ditto.
       
  2458         * JSRun.cpp: ditto.
       
  2459         * JSRun.h: ditto.
       
  2460         * JSUtils.cpp: ditto.
       
  2461         * JSUtils.h: ditto.
       
  2462         * JSValueWrapper.cpp: ditto.
       
  2463         * JSValueWrapper.h: ditto.
       
  2464         * JavaScriptGlue.cpp: ditto.
       
  2465         * JavaScriptGlue.h: ditto.
       
  2466         * UserObjectImp.cpp: ditto.
       
  2467         * UserObjectImp.h: ditto.
       
  2468 
       
  2469 2005-12-21  Timothy Hatcher  <timothy@apple.com>
       
  2470 
       
  2471         * JavaScriptGlue.xcodeproj/project.pbxproj:
       
  2472           Set tab width to 8, indent width to 4 and uses tabs to false per file.
       
  2473 
       
  2474 2005-12-19  Darin Adler  <darin@apple.com>
       
  2475 
       
  2476         Reviewed by Geoff Garen and Eric Seidel.
       
  2477 
       
  2478         - fix http://bugs.webkit.org/show_bug.cgi?id=4923
       
  2479           stop using <ostream> in WebCore, eliminating the <cmath> troubles it causes
       
  2480 
       
  2481         * kxmlcore/AlwaysInline.h: Added.
       
  2482 
       
  2483 2005-12-15  Darin Adler  <darin@apple.com>
       
  2484 
       
  2485         Reviewed by Maciej.
       
  2486 
       
  2487         * JSRun.cpp: (JSRun::Evaluate): Updated for change to Interpreter::evaluate.
       
  2488 
       
  2489 2005-12-15  Darin Adler  <darin@apple.com>
       
  2490 
       
  2491         Reviewed by Tim Hatcher.
       
  2492 
       
  2493         * JavaScriptGlue.xcodeproj/project.pbxproj: Removed some redundant build
       
  2494         settings, turned off prebinding explicitly for our Development and
       
  2495         Deployment builds, remove .exp file from sources. All "clean-up".
       
  2496 
       
  2497 === Safari-521~5 ===
       
  2498 
       
  2499 2005-12-13  Geoffrey Garen  <ggaren@apple.com>
       
  2500 
       
  2501     - Fixed build after Anders's last checkin to JavaScriptCore.
       
  2502     
       
  2503         Reviewed by darin.
       
  2504 
       
  2505         * UserObjectImp.cpp:
       
  2506         (UserObjectImp::userObjectGetter): Updated to reflect new argument that 
       
  2507     getters take (unused here).
       
  2508         * UserObjectImp.h:
       
  2509 
       
  2510 2005-12-13  Maciej Stachowiak  <mjs@apple.com>
       
  2511 
       
  2512         Reviewed by Eric.
       
  2513 
       
  2514     - added forwarding header for HashCountedSet
       
  2515 
       
  2516         * kxmlcore/HashCountedSet.h: Added.
       
  2517 
       
  2518 2005-12-10  Darin Adler  <darin@apple.com>
       
  2519 
       
  2520         Rubber stamped by Maciej.
       
  2521 
       
  2522         - updated for KJS class renaming
       
  2523 
       
  2524         * many files and functions
       
  2525 
       
  2526 2005-12-10  Darin Adler  <darin@apple.com>
       
  2527 
       
  2528         Reviewed by Maciej.
       
  2529 
       
  2530         - eliminated the old Undefined(), Null(), Boolean(), Number(), and String()
       
  2531 
       
  2532         Code now uses jsUndefined(), jsNull(), jsBoolean(), jsNumber(), and jsString().
       
  2533 
       
  2534         * JSUtils.cpp:
       
  2535         (JSObjectKJSValue):
       
  2536         * UserObjectImp.cpp:
       
  2537         (UserObjectImp::callAsFunction):
       
  2538         (UserObjectImp::toPrimitive):
       
  2539 
       
  2540 2005-12-05  Maciej Stachowiak  <mjs@apple.com>
       
  2541 
       
  2542         - added new forwarding headers
       
  2543 
       
  2544         * kxmlcore/PassRefPtr.h: Added.
       
  2545         * kxmlcore/RefPtr.h: Added.
       
  2546 
       
  2547 2005-12-05  Maciej Stachowiak  <mjs@apple.com>
       
  2548 
       
  2549         * kxmlcore/PassRefPtr.h: Added.
       
  2550 
       
  2551 2005-11-26  Maciej Stachowiak  <mjs@apple.com>
       
  2552 
       
  2553         Rubber stamped by Eric.
       
  2554 
       
  2555     - renamed InterpreterLock to JSLock
       
  2556 
       
  2557         * JSUtils.cpp:
       
  2558         (CFStringToUString):
       
  2559         (JSObjectKJSValue):
       
  2560         (KJSValueToCFTypeInternal):
       
  2561         * JSValueWrapper.cpp:
       
  2562         (JSValueWrapper::JSObjectCopyPropertyNames):
       
  2563         (JSValueWrapper::JSObjectCopyProperty):
       
  2564         (JSValueWrapper::JSObjectSetProperty):
       
  2565         (JSValueWrapper::JSObjectCallFunction):
       
  2566         (JSValueWrapper::JSObjectCopyCFValue):
       
  2567         * JavaScriptGlue.cpp:
       
  2568         (JSRunCreate):
       
  2569         (JSCollect):
       
  2570         (JSLockInterpreter):
       
  2571         (JSUnlockInterpreter):
       
  2572         * UserObjectImp.cpp:
       
  2573         (UserObjectImp::callAsFunction):
       
  2574 
       
  2575 2005-11-16  Maciej Stachowiak  <mjs@apple.com>
       
  2576 
       
  2577         Reviewed by Geoff.
       
  2578 
       
  2579     Updated to use new API to drop all locks.
       
  2580 
       
  2581         * JavaScriptGlue.cpp:
       
  2582         (JSLockInterpreter):
       
  2583         (JSUnlockInterpreter):
       
  2584         * UserObjectImp.cpp:
       
  2585         (UserObjectImp::callAsFunction):
       
  2586 
       
  2587 2005-11-14  Geoffrey Garen  <ggaren@apple.com>
       
  2588 
       
  2589         Reviewed by mjs.
       
  2590 
       
  2591         - Part of the fix for <rdar://problem/4342216> Installer crash in 
       
  2592           KJS::ValueImp::marked() when garbage collector runs inside call to 
       
  2593           ConstantValues::init()
       
  2594           
       
  2595         Added locking in JSRunCreate, since JSRun::JSRun constructs an object.
       
  2596         
       
  2597         * JavaScriptGlue.cpp:
       
  2598         (JSRunCreate):
       
  2599 
       
  2600 2005-11-10  Geoffrey Garen  <ggaren@apple.com>
       
  2601 
       
  2602         Reviewed by Maciej.
       
  2603 
       
  2604         - Fixed <rdar://problem/4334445> installer crashed on my 
       
  2605           dual g4 450Mhz after clicking language
       
  2606 
       
  2607         - Reversed backwards NULL check.
       
  2608         - Inserted guards against NULL fJSUserObject data member.
       
  2609         - Cleaned up some style.
       
  2610 
       
  2611         * JSUtils.cpp:
       
  2612         (KJSValueToCFTypeInternal):
       
  2613         * UserObjectImp.cpp:
       
  2614         (UserObjectImp::~UserObjectImp):
       
  2615         (UserObjectImp::callAsFunction):
       
  2616         (UserObjectImp::userObjectGetter):
       
  2617         (UserObjectImp::getOwnPropertySlot):
       
  2618         (UserObjectImp::put):
       
  2619         (UserObjectImp::mark):
       
  2620 
       
  2621 2005-11-04  Timothy Hatcher  <timothy@apple.com>
       
  2622 
       
  2623         Reviewed by Darin Adler.
       
  2624 
       
  2625         * JavaScriptGlue.xcodeproj/project.pbxproj:
       
  2626           Fixed the FRAMEWORK_SEARCH_PATHS to look in the WebKit
       
  2627           Frameworks for the Default config.
       
  2628 
       
  2629 2005-11-03  Timothy Hatcher  <timothy@apple.com>
       
  2630 
       
  2631         Reviewed by Darin and Vicki.
       
  2632 
       
  2633         * JavaScriptGlue.xcodeproj/project.pbxproj:
       
  2634           Change to use $(SYSTEM_LIBRARY_DIR) consistently and place
       
  2635           $(NEXT_ROOT) in a few spots to make build-root work.
       
  2636 
       
  2637 2005-11-01  Maciej Stachowiak  <mjs@apple.com>
       
  2638 
       
  2639     Reviewed by: Eric.
       
  2640     
       
  2641         <rdar://problem/4324107> get JavaScriptGlue working with TOT JavaScriptCore again
       
  2642 
       
  2643     - reverted all this stuff to use ReferenceList instead of IdentifierSequencedSet
       
  2644 
       
  2645         * JSUtils.cpp:
       
  2646         (KJSValueToCFTypeInternal):
       
  2647         * JSValueWrapper.cpp:
       
  2648         (JSValueWrapper::JSObjectCopyPropertyNames):
       
  2649         * UserObjectImp.cpp:
       
  2650         (UserObjectImp::propList):
       
  2651         * UserObjectImp.h:
       
  2652 
       
  2653 2005-10-11  Timothy Hatcher  <timothy@apple.com>
       
  2654 
       
  2655         Setup the proper Framework search path for the Default config.
       
  2656         Prepping for a TOT submission and build by B&I.
       
  2657 
       
  2658         * JavaScriptGlue.xcodeproj/project.pbxproj:
       
  2659 
       
  2660 2005-10-10  Darin Adler  <darin@apple.com>
       
  2661 
       
  2662         Reviewed by Eric.
       
  2663 
       
  2664         - converted tabs to spaces, NULL to 0, added some (void), got rid of __ prefixes
       
  2665           in headers (reserved for compiler/library)
       
  2666 
       
  2667         * Info.plist:
       
  2668         * JSBase.cpp:
       
  2669         * JSBase.h:
       
  2670         * JSObject.cpp:
       
  2671         * JSObject.h:
       
  2672         * JSRun.cpp:
       
  2673         * JSRun.h:
       
  2674         * JSUtils.cpp:
       
  2675         * JSUtils.h:
       
  2676         * JSValueWrapper.cpp:
       
  2677         * JSValueWrapper.h:
       
  2678         * JavaScriptGlue.cpp:
       
  2679         * JavaScriptGlue.h:
       
  2680         * UserObjectImp.cpp:
       
  2681         * UserObjectImp.h:
       
  2682 
       
  2683 2005-10-10  Darin Adler  <darin@apple.com>
       
  2684 
       
  2685         * .cvsignore: Added. Ignore Makefile.in and Makefile.
       
  2686 
       
  2687 2005-10-07  Timothy Hatcher  <timothy@apple.com>
       
  2688 
       
  2689         Reviewed by Maciej.
       
  2690         
       
  2691         Build fix, needed to disable RTTI. Upgraded to a native target.
       
  2692 
       
  2693         * JavaScriptGlue.xcodeproj/project.pbxproj:
       
  2694         * Info.plist
       
  2695 
       
  2696 2005-10-05  Maciej Stachowiak  <mjs@apple.com>
       
  2697 
       
  2698         Reviewed by Eric and Darin.
       
  2699 
       
  2700     <rdar://problem/4260506> Port JavaScriptGlue to TOT JavaScriptCore
       
  2701 
       
  2702         * JSRun.cpp:
       
  2703         (JSRun::JSRun):
       
  2704         (JSRun::GlobalObject):
       
  2705         * JSRun.h:
       
  2706         (JSInterpreter::JSInterpreter):
       
  2707         * JSUtils.cpp:
       
  2708         (KJSValueToJSObject):
       
  2709         (JSObjectKJSValue):
       
  2710         (KJSValueToCFTypeInternal):
       
  2711         (KJSValueToCFType):
       
  2712         * JSUtils.h:
       
  2713         * JSValueWrapper.cpp:
       
  2714         (JSValueWrapper::JSValueWrapper):
       
  2715         (JSValueWrapper::GetValue):
       
  2716         (JSValueWrapper::JSObjectCopyPropertyNames):
       
  2717         (JSValueWrapper::JSObjectCopyProperty):
       
  2718         (JSValueWrapper::JSObjectSetProperty):
       
  2719         (JSValueWrapper::JSObjectCallFunction):
       
  2720         (JSValueWrapper::JSObjectMark):
       
  2721         * JSValueWrapper.h:
       
  2722         * JavaScriptGlue.cpp:
       
  2723         (JSRunCopyGlobalObject):
       
  2724         * JavaScriptGlue.xcodeproj/project.pbxproj:
       
  2725         * Makefile.am: Added.
       
  2726         * UserObjectImp.cpp:
       
  2727         (UserObjectPrototypeImp::GlobalUserObjectPrototypeImp):
       
  2728         (UserObjectImp::UserObjectImp):
       
  2729         (UserObjectImp::callAsFunction):
       
  2730         (UserObjectImp::getPropertyNames):
       
  2731         (UserObjectImp::userObjectGetter):
       
  2732         (UserObjectImp::getOwnPropertySlot):
       
  2733         (UserObjectImp::put):
       
  2734         (UserObjectImp::toPrimitive):
       
  2735         (UserObjectImp::mark):
       
  2736         * UserObjectImp.h:
       
  2737         * kxmlcore/FastMalloc.h: Added.
       
  2738         * kxmlcore/HashSet.h: Added.
       
  2739 
       
  2740 2005-09-14  Maciej Stachowiak  <mjs@apple.com>
       
  2741 
       
  2742         Reviewed by Geoff.
       
  2743 
       
  2744     - fixed <rdar://problem/4214783> REGRESSION: kjs_fast_malloc crash due to lack of locking on multiple threads (seen selecting volumes in the installer)
       
  2745 
       
  2746     Make sure to lock using the InterpreterLock class in all places that need it
       
  2747     (including anything that uses the collector, the parser, the protect count hash table,
       
  2748     and anything that allocates via fast_malloc).
       
  2749 
       
  2750         * JSUtils.cpp:
       
  2751         (CFStringToUString):
       
  2752         (JSObjectKJSValue):
       
  2753         (KJSValueToCFTypeInternal):
       
  2754         * JSUtils.h:
       
  2755         * JSValueWrapper.cpp:
       
  2756         (JSValueWrapper::JSObjectCopyPropertyNames):
       
  2757         (JSValueWrapper::JSObjectCopyProperty):
       
  2758         (JSValueWrapper::JSObjectSetProperty):
       
  2759         (JSValueWrapper::JSObjectCallFunction):
       
  2760         (JSValueWrapper::JSObjectCopyCFValue):
       
  2761         * JavaScriptGlue.cpp:
       
  2762         (JSCollect):
       
  2763 
       
  2764 2005-09-27  Adele Peterson  <adele@apple.com>
       
  2765 
       
  2766         Reviewed by Maciej.
       
  2767 
       
  2768         <rdar://problem/4223297> JavaScriptGlue: Submit 64-bit compatible versions of your API and SPIs by September 15
       
  2769 
       
  2770         * JavaScriptGlue.h: Changed UInt32 to CFTypeID for JSTypeID
       
  2771 
       
  2772 2005-09-06  Geoffrey Garen  <ggaren@apple.com>
       
  2773 
       
  2774         -upgraded project files to XCode 2.1
       
  2775 
       
  2776         * JavaScriptGlue.pbproj/project.pbxproj: Removed.
       
  2777         * JavaScriptGlue.xcodeproj/.cvsignore: Added.
       
  2778         * JavaScriptGlue.xcodeproj/project.pbxproj: Added.
       
  2779 
       
  2780 2005-09-01  Maciej Stachowiak  <mjs@apple.com>
       
  2781 
       
  2782         Rubber stamped by hyatt.
       
  2783 
       
  2784     - initial import of JavaScriptGlue into our repository
       
  2785 
       
  2786         * English.lproj/InfoPlist.strings: Added.
       
  2787         * JSBase.cpp: Added.
       
  2788         (JSBase::JSBase):
       
  2789         (JSBase::~JSBase):
       
  2790         (JSBase::Retain):
       
  2791         (JSBase::Release):
       
  2792         (JSBase::RetainCount):
       
  2793         (JSBase::GetTypeID):
       
  2794         (JSBase::CopyDescription):
       
  2795         (JSBase::Equal):
       
  2796         * JSBase.h: Added.
       
  2797         * JSObject.cpp: Added.
       
  2798         (JSUserObject::JSUserObject):
       
  2799         (JSUserObject::~JSUserObject):
       
  2800         (JSUserObject::CopyPropertyNames):
       
  2801         (JSUserObject::CopyProperty):
       
  2802         (JSUserObject::SetProperty):
       
  2803         (JSUserObject::ImplementsCall):
       
  2804         (JSUserObject::CallFunction):
       
  2805         (JSUserObject::CopyCFValue):
       
  2806         (JSUserObject::Equal):
       
  2807         (JSUserObject::Mark):
       
  2808         (JSUserObject::GetData):
       
  2809         * JSObject.h: Added.
       
  2810         (JSUserObject::DataType):
       
  2811         * JSRun.cpp: Added.
       
  2812         (JSRun::JSRun):
       
  2813         (JSRun::~JSRun):
       
  2814         (JSRun::Flags):
       
  2815         (JSRun::GetSource):
       
  2816         (JSRun::GlobalObject):
       
  2817         (JSRun::GetInterpreter):
       
  2818         (JSRun::Evaluate):
       
  2819         (JSRun::CheckSyntax):
       
  2820         * JSRun.h: Added.
       
  2821         (JSInterpreter::JSInterpreter):
       
  2822         (JSInterpreter::JSInterpreter::~JSInterpreter):
       
  2823         (JSInterpreter::Flags):
       
  2824         * JSUtils.cpp: Added.
       
  2825         (CFStringToUString):
       
  2826         (UStringToCFString):
       
  2827         (CFStringToIdentifier):
       
  2828         (IdentifierToCFString):
       
  2829         (KJSValueToJSObject):
       
  2830         (JSObjectKJSValue):
       
  2831         (KJSValueToCFTypeInternal):
       
  2832         (KJSValueToCFType):
       
  2833         (GetCFNull):
       
  2834         * JSUtils.h: Added.
       
  2835         (RetainCFType):
       
  2836         (ReleaseCFType):
       
  2837         * JSValueWrapper.cpp: Added.
       
  2838         (JSValueWrapper::JSValueWrapper):
       
  2839         (JSValueWrapper::~JSValueWrapper):
       
  2840         (JSValueWrapper::GetValue):
       
  2841         (JSValueWrapper::GetExecState):
       
  2842         (JSValueWrapper::GetJSObectCallBacks):
       
  2843         (JSValueWrapper::JSObjectDispose):
       
  2844         (JSValueWrapper::JSObjectCopyPropertyNames):
       
  2845         (JSValueWrapper::JSObjectCopyProperty):
       
  2846         (JSValueWrapper::JSObjectSetProperty):
       
  2847         (JSValueWrapper::JSObjectCallFunction):
       
  2848         (JSValueWrapper::JSObjectCopyCFValue):
       
  2849         (JSValueWrapper::JSObjectMark):
       
  2850         * JSValueWrapper.h: Added.
       
  2851         * JavaScriptGlue.cpp: Added.
       
  2852         (JSSetCFNull):
       
  2853         (JSGetCFNull):
       
  2854         (JSRetain):
       
  2855         (JSRelease):
       
  2856         (JSCopyDescription):
       
  2857         (JSEqual):
       
  2858         (JSGetTypeID):
       
  2859         (JSGetRetainCount):
       
  2860         (JSObjectCreate):
       
  2861         (JSObjectCreateInternal):
       
  2862         (JSObjectCopyCFValue):
       
  2863         (JSObjectGetData):
       
  2864         (JSObjectCopyProperty):
       
  2865         (JSObjectSetProperty):
       
  2866         (JSObjectCallFunction):
       
  2867         (JSRunCreate):
       
  2868         (JSRunCopySource):
       
  2869         (JSRunCopyGlobalObject):
       
  2870         (JSRunEvaluate):
       
  2871         (JSRunCheckSyntax):
       
  2872         (JSCollect):
       
  2873         (JSTypeGetCFArrayCallBacks):
       
  2874         (JSCFRetain):
       
  2875         (JSCFRelease):
       
  2876         (JSObjectCreateWithCFType):
       
  2877         (CFJSObjectDispose):
       
  2878         (JSObjectCopyPropertyNames):
       
  2879         (CFJSObjectCopyProperty):
       
  2880         (CFJSObjectSetProperty):
       
  2881         (CFJSObjectCopyCFValue):
       
  2882         (CFJSObjectEqual):
       
  2883         (CFJSObjectCopyPropertyNames):
       
  2884         (JSCreateCFArrayFromJSArray):
       
  2885         (JSCreateJSArrayFromCFArray):
       
  2886         (JSLockInterpreter):
       
  2887         (JSUnlockInterpreter):
       
  2888         * JavaScriptGlue.exp: Added.
       
  2889         * JavaScriptGlue.h: Added.
       
  2890         * JavaScriptGlue.pbproj/project.pbxproj: Added.
       
  2891         * UserObjectImp.cpp: Added.
       
  2892         (UserObjectPrototypeImp::UserObjectPrototypeImp):
       
  2893         (UserObjectPrototypeImp::GlobalUserObjectPrototypeImp):
       
  2894         (UserObjectImp::UserObjectImp):
       
  2895         (UserObjectImp::~UserObjectImp):
       
  2896         (UserObjectImp::classInfo):
       
  2897         (UserObjectImp::implementsCall):
       
  2898         (UserObjectImp::call):
       
  2899         (UserObjectImp::propList):
       
  2900         (UserObjectImp::hasProperty):
       
  2901         (UserObjectImp::get):
       
  2902         (UserObjectImp::put):
       
  2903         (UserObjectImp::GetJSUserObject):
       
  2904         (UserObjectImp::toPrimitive):
       
  2905         (UserObjectImp::toBoolean):
       
  2906         (UserObjectImp::toNumber):
       
  2907         (UserObjectImp::toString):
       
  2908         (UserObjectImp::mark):
       
  2909         * UserObjectImp.h: Added.
       
  2910