webengine/osswebengine/JavaScriptGlue/ChangeLog
changeset 0 dd21522fd290
equal deleted inserted replaced
-1:000000000000 0:dd21522fd290
       
     1 2007-10-11  Mark Rowe  <mrowe@apple.com>
       
     2 
       
     3         Reviewed by Tim Hatcher.
       
     4 
       
     5         Fix for <rdar://problem/5488678>.  Disable debugging symbols in production builds for 10.4
       
     6         PowerPC to prevent a huge STABS section from being generated.
       
     7 
       
     8         * Configurations/Base.xcconfig:
       
     9 
       
    10 2007-10-04  Mark Rowe  <mrowe@apple.com>
       
    11 
       
    12         Reviewed by Oliver.
       
    13 
       
    14         Switch to default level of debugging symbols to resolve <rdar://problem/5488678>.
       
    15         The "full" level appears to offer no observable benefits even though the documentation
       
    16         suggests it be used for dead code stripping.  This should also decrease link times.
       
    17 
       
    18         * Configurations/Base.xcconfig:
       
    19 
       
    20 2007-09-03  Mark Rowe  <mrowe@apple.com>
       
    21 
       
    22         Reviewed by Tim Hatcher.
       
    23 
       
    24         <rdar://problem/5452164> Production build with in symbols directory has no debug info
       
    25 
       
    26         Enable debug symbol generation on all build configurations.  Production builds are stripped
       
    27         of symbols by Xcode during deployment post-processing.
       
    28 
       
    29         * Configurations/Base.xcconfig:
       
    30         * JavaScriptGlue.xcodeproj/project.pbxproj:
       
    31 
       
    32 2007-08-09  Mark Rowe  <mrowe@apple.com>
       
    33 
       
    34         Reviewed by Antti.
       
    35 
       
    36         <rdar://problem/5400709> Versioning in debug and release builds should include minor and tiny version before +
       
    37 
       
    38         * Configurations/Version.xcconfig:
       
    39         * JavaScriptGlue.xcodeproj/project.pbxproj: Add a shell script phase to make to dependency between
       
    40         Version.xcconfig and Info.plist explicit to Xcode.
       
    41 
       
    42 2007-07-16  Sam Weinig  <sam@webkit.org>
       
    43 
       
    44         Reviewed by Oliver.
       
    45 
       
    46         Turn off -Wshorten-64-to-32 warning for 64-bit builds.
       
    47 
       
    48         * Configurations/Base.xcconfig:
       
    49 
       
    50 2007-04-27  Mark Rowe  <mrowe@apple.com>
       
    51 
       
    52         Reviewed by Oliver.
       
    53 
       
    54         * JavaScriptGlue.xcodeproj/project.pbxproj: Improve dependencies in Xcode project
       
    55         by marking JavaScriptGlue as a dependency of testjsglue.
       
    56 
       
    57 2007-03-24  Mark Rowe  <mrowe@apple.com>
       
    58 
       
    59         Reviewed by Dave Hyatt.
       
    60 
       
    61         * JavaScriptGlue.xcodeproj/project.pbxproj: Use GCC 4.0 for testjsglue.
       
    62 
       
    63 2007-03-24  Mark Rowe  <mrowe@apple.com>
       
    64 
       
    65         Rubber-stamped by Darin.
       
    66 
       
    67         * Configurations/JavaScriptGlue.xcconfig: Remove unnecessary INFOPLIST_PREPROCESS.
       
    68 
       
    69 2007-03-19  Andrew Wellington  <proton@wiretapped.net>
       
    70 
       
    71         Reviewed by Maciej.
       
    72 
       
    73         Really set Xcode editor to use 4 space indentation (http://webkit.org/coding/coding-style.html)
       
    74 
       
    75         * JavaScriptGlue.xcodeproj/project.pbxproj:
       
    76 
       
    77 2007-03-18  Andrew Wellington  <proton@wiretapped.net>
       
    78 
       
    79         Reviewed by Mark Rowe
       
    80         
       
    81         Set Xcode editor to use 4 space indentation (http://webkit.org/coding/coding-style.html)
       
    82 
       
    83         * JavaScriptGlue.xcodeproj/project.pbxproj:
       
    84 
       
    85 2007-03-17  Timothy Hatcher  <timothy@apple.com>
       
    86 
       
    87         Reviewed by Mark Rowe.
       
    88 
       
    89         Made Version.xcconfig smarter when building for different configurations.
       
    90         Now uses the 522+ OpenSource version for Debug and Release, while using the    
       
    91         full 522.4 version for Production builds. The system prefix is also computed
       
    92         based on the current system, so 4522.4 on Tiger and 5522.4 on Leopard.
       
    93 
       
    94         * Configurations/JavaScriptGlue.xcconfig:
       
    95         * Configurations/Version.xcconfig:
       
    96 
       
    97 2007-03-15  Timothy Hatcher  <timothy@apple.com>
       
    98 
       
    99         Reviewed by John.
       
   100 
       
   101         * Factored out most of our common build settings into .xcconfig files. Anything that was common in
       
   102           each build configuration was factored out into the shared .xcconfig file.
       
   103         * Adds a Version.xcconfig file to define the current framework version, to be used in other places.
       
   104         * Use the new $(BUNDLE_VERSION) (defined in Version.xcconfig) in the preprocessed Info.plist.
       
   105         * Use the versions defined in Version.xcconfig to set $(DYLIB_CURRENT_VERSION).
       
   106 
       
   107         * Configurations/Base.xcconfig: Added.
       
   108         * Configurations/DebugRelease.xcconfig: Added.
       
   109         * Configurations/JavaScriptGlue.xcconfig: Added.
       
   110         * Configurations/Version.xcconfig: Added.
       
   111         * Info.plist:
       
   112         * JavaScriptGlue.xcodeproj/project.pbxproj:
       
   113 
       
   114 === Safari-5522.4 ===
       
   115 
       
   116 2007-03-12  Geoffrey Garen  <ggaren@apple.com>
       
   117 
       
   118         Reviewed by Oliver Hunt.
       
   119         
       
   120         Updated in light of fix for <rdar://problem/4681051> Installer crashes 
       
   121         in KJS::Collector::markOtherThreadConservatively(KJS::Collector::Thread*) 
       
   122         trying to install iLife 06 using Rosetta on an Intel Machine
       
   123         
       
   124         * JavaScriptGlue.cpp:
       
   125         (JSLockInterpreter): Ensure backwards compatibility by calling 
       
   126         registerThread() when explicitly taking the JSLock. (This doesn't happen 
       
   127         automatically anymore.) I doubt this actally matters, but in JavaScriptGlue
       
   128         territory, that kind of thinking will get you killed.
       
   129 
       
   130 2007-03-06  Geoffrey Garen  <ggaren@apple.com>
       
   131 
       
   132         Reviewed by Maciej Stachowiak.
       
   133 
       
   134         Fixed all known crashers exposed by run-webkit-tests --threaded while using
       
   135         a PAC file (for maximum carnage). See JavaScriptCore ChangeLog for 
       
   136         more details.
       
   137 
       
   138         * JSBase.cpp:
       
   139         (JSBase::Release): Lock when deleting, because we may be deleting an object
       
   140         (like a JSRun) that holds thread-unsafe data.
       
   141 
       
   142         * JSUtils.cpp:
       
   143         (CFStringToUString): Don't lock, because our caller locks. Also, locking
       
   144         inside a function that returns thread-unsafe data by copy will only mask
       
   145         threading problems.
       
   146 
       
   147         * JavaScriptGlue.cpp:
       
   148         (JSRunEvaluate): Added missing JSLock.
       
   149         (JSRunCheckSyntax): Converted to JSLock.
       
   150         * JavaScriptGlue.xcodeproj/project.pbxproj:
       
   151 
       
   152 2007-02-22  Geoffrey Garen  <ggaren@apple.com>
       
   153 
       
   154         Reviewed by Darin Adler.
       
   155         
       
   156         Fixed <rdar://problem/4942528> Installer.app Stuck "Examining additional 
       
   157         volumes..."
       
   158         
       
   159         The problem was that JavaScriptGlue held a JSObject in a static pointer
       
   160         without protecting it from garbage collection. 
       
   161         
       
   162             sUserObjectPrototypeImp  = new UserObjectPrototypeImp();
       
   163             static ProtectedPtr<UserObjectPrototypeImp> protectPrototype; // valiant, brave, but useless
       
   164 
       
   165         Through an interesting comedy of errors, this object would be collected 
       
   166         and then assigned as the prototype of another object allocated at the 
       
   167         same address, thus becoming its own prototype. (See http://www.ziplo.com/grandpa.htm
       
   168         for further explanation of this phenomenon.) Hence the infinte loop in 
       
   169         property lookup.
       
   170         
       
   171         The solution is equally humorous: all of this code was completely useless --
       
   172         it only served to create an empty object in the prototype chain -- so
       
   173         I just removed it.
       
   174 
       
   175         * UserObjectImp.cpp:
       
   176         (UserObjectImp::UserObjectImp):
       
   177         * UserObjectImp.h:
       
   178 
       
   179 2007-02-19  Timothy Hatcher  <timothy@apple.com>
       
   180 
       
   181         Reviewed by Geoff.
       
   182 
       
   183         <rdar://problem/4636301> Deprecate JavaScriptGlue
       
   184 
       
   185         * JavaScriptGlue.h: adds DEPRECATED_IN_MAC_OS_X_VERSION_10_5_AND_LATER to everything
       
   186         * JavaScriptGlue.xcodeproj/project.pbxproj: use -Wno-deprecated-declarations to keep the project building
       
   187         * config.h: define DEPRECATED_IN_MAC_OS_X_VERSION_10_5_AND_LATER as empty on other systems
       
   188 
       
   189 2007-02-16  Darin Adler  <darin@apple.com>
       
   190 
       
   191         Reviewed by Anders.
       
   192 
       
   193         - fix <rdar://problem/5000216> JavaScriptGlue framework started turning all CFNumbers
       
   194           into signed 32bit values
       
   195 
       
   196         Circumstantial evidence seems to indicate that JavaScriptGlue was depending on a bug
       
   197         in CFNumber where CFNumberIsFloatType was returning true for 64-bit integer values.
       
   198 
       
   199         * JSUtils.cpp: (JSObjectKJSValue): Removed the call to CFNumberIsFloatType in the
       
   200         conversion of numeric values, and always use kCFNumberDoubleType, since double is
       
   201         the internal format of numbers in JavaScriptCore. There's no value to having a
       
   202         separate code path for integers. There's also no reason to check the return value
       
   203         from CFNumberGetValue -- if it returns false it still does the best it can to convert
       
   204         to a double, which is what we want.
       
   205 
       
   206         * UserObjectImp.cpp: (UserObjectImp::toString): Removed a similar code path that
       
   207         tried to handle integers separate from double. Instead, always use a double. For
       
   208         compatibility, use a format without a decimal point when CFNumberIsFloatType returns
       
   209         false. Also removed a bogus cast to float; the "%f" format string takes a double,
       
   210         not a float, so all the cast did was cut down on precision.
       
   211 
       
   212 2007-01-25  Mark Rowe  <mrowe@apple.com>
       
   213 
       
   214         Reviewed by Maciej.
       
   215 
       
   216         * Info.plist: Update copyright string.
       
   217 
       
   218 2006-12-19  Timothy Hatcher  <timothy@apple.com>
       
   219 
       
   220         Reviewed by Darin.
       
   221 
       
   222         <rdar://problem/4891774> Local WebCore/WebBrowser builds fail in 9A328 due to warning about ObjC-2.0 language features
       
   223 
       
   224         * JavaScriptGlue.xcodeproj/project.pbxproj:
       
   225 
       
   226 === Safari-521.26 ===
       
   227 
       
   228 2006-08-15  Mark Rowe  <opendarwin.org@bdash.net.nz>
       
   229 
       
   230         Reviewed by Tim H.
       
   231 
       
   232         Build fix:  DWARF and -gfull are incompatible with symbol separation.
       
   233 
       
   234         * JavaScriptGlue.xcodeproj/project.pbxproj:
       
   235 
       
   236 2006-08-15  Mark Rowe  <opendarwin.org@bdash.net.nz>
       
   237 
       
   238         Reviewed by Tim H.
       
   239 
       
   240         http://bugs.webkit.org/show_bug.cgi?id=10394
       
   241         Bug 10394: WebKit Release and Production configurations should enable dead code stripping
       
   242 
       
   243         * JavaScriptGlue.xcodeproj/project.pbxproj:
       
   244 
       
   245 2006-08-15  Mark Rowe  <opendarwin.org@bdash.net.nz>
       
   246 
       
   247         Reviewed by Tim H.
       
   248 
       
   249         http://bugs.webkit.org/show_bug.cgi?id=10384
       
   250         Bug 10384: Switch to DWARF for Release configuration
       
   251 
       
   252         * JavaScriptGlue.xcodeproj/project.pbxproj:
       
   253 
       
   254 2006-08-04  Sam Weinig  <sam.weinig@gmail.com>
       
   255 
       
   256         Reviewed by Darin.
       
   257 
       
   258         - patch for http://bugs.webkit.org/show_bug.cgi?id=10192
       
   259           Make WebCore (and friends) compile with -Wshorten-64-to-32
       
   260 
       
   261           * Adds -Wshorten-64-to-32 flag to Xcode project.
       
   262 
       
   263         * JavaScriptGlue.xcodeproj/project.pbxproj:
       
   264 
       
   265 2006-08-03  Sam Weinig  <sam.weinig@gmail.com>
       
   266 
       
   267         Reviewed by Darin.
       
   268 
       
   269         - patch for http://bugs.webkit.org/show_bug.cgi?id=10176
       
   270           Make WebCore compile with -Wundef
       
   271 
       
   272           * Adds -Wundef flag to Xcode project
       
   273 
       
   274         * JavaScriptGlue.xcodeproj/project.pbxproj:
       
   275 
       
   276 2006-07-29  Sam Weinig  <sam.weinig@gmail.com>
       
   277 
       
   278         Reviewed by Darin.
       
   279 
       
   280         - patch for http://bugs.webkit.org/show_bug.cgi?id=10080
       
   281           Adopt pedantic changes from the Unity project to improve 
       
   282           cross-compiler compatibility
       
   283 
       
   284           Changes include:
       
   285           * Turning on gcc warning for missing newline at the end of a source file
       
   286             (GCC_WARN_ABOUT_MISSING_NEWLINE in Xcode, -Wnewline in gcc).
       
   287 
       
   288         * JavaScriptGlue.xcodeproj/project.pbxproj:
       
   289 
       
   290 === Safari-521.19 ===
       
   291 
       
   292 2006-07-19  Geoffrey Garen  <ggaren@apple.com>
       
   293 
       
   294         Fixed by Darin & Maciej, reviewed by me.
       
   295         
       
   296         - Fixed <rdar://problem/4638934> Leopard 9A227: Installer crashes right 
       
   297         after LCA and while preparing Installation
       
   298 
       
   299         Compile release/production with NDEBUG set, to ensure binary compatibility
       
   300         between JavaScriptGlue and JavaScriptCore. In debug builds, JavaScriptCore 
       
   301         includes an extra debug data member in HashSet.
       
   302         
       
   303         * JavaScriptGlue.xcodeproj/project.pbxproj:
       
   304 
       
   305 === Safari-521.18 ===
       
   306 
       
   307 2006-07-15  Maciej Stachowiak  <mjs@apple.com>
       
   308 
       
   309         Reviewed by Darin.
       
   310 
       
   311         - switch property lists to be vector+set of Identifiers instead of list of References
       
   312         
       
   313         * JSUtils.cpp:
       
   314         (KJSValueToCFTypeInternal): updated for JSC SPI changes
       
   315         * JSValueWrapper.cpp:
       
   316         (JSValueWrapper::JSObjectCopyPropertyNames): ditto
       
   317         * UserObjectImp.cpp:
       
   318         (UserObjectImp::getPropertyNames): ditto
       
   319         * UserObjectImp.h:
       
   320 
       
   321 === Safari-521.17 ===
       
   322 
       
   323 2006-07-14  Geoffrey Garen  <ggaren@apple.com>
       
   324 
       
   325         Reviewed by Maciej.
       
   326         
       
   327         - Updated JSInterpreter to work with Interpreter ref-counting in JavaScriptCore.
       
   328 
       
   329         (JSInterpreter::JSInterpreter::~JSInterpreter): Now protected to catch
       
   330         manual delete.
       
   331 
       
   332 2006-07-12  Anders Carlsson  <acarlsson@apple.com>
       
   333 
       
   334         Build fix
       
   335         
       
   336         * JSUtils.cpp:
       
   337         (KJSValueToCFTypeInternal):
       
   338         * JSValueWrapper.cpp:
       
   339         (JSValueWrapper::JSObjectCopyPropertyNames):
       
   340         * UserObjectImp.cpp:
       
   341         (UserObjectImp::getPropertyList):
       
   342         
       
   343 === Safari-521.15 ===
       
   344 
       
   345 2006-07-07  Geoffrey Garen  <ggaren@apple.com>
       
   346 
       
   347         - build fix
       
   348 
       
   349         * JSUtils.cpp:
       
   350         (KJSValueToCFTypeInternal):
       
   351         * JSValueWrapper.cpp:
       
   352         (JSValueWrapper::JSObjectCopyPropertyNames):
       
   353 
       
   354 2006-07-03  Geoffrey Garen  <ggaren@apple.com>
       
   355 
       
   356         Reviewed by Maciej.
       
   357         
       
   358         * JSRun.cpp:
       
   359         (JSRun::CheckSyntax): Updated to use new checkSyntax syntax in JSC.
       
   360         * JavaScriptGlue.xcodeproj/project.pbxproj:
       
   361 
       
   362 === Safari-521.14 ===
       
   363 
       
   364 2006-06-28  Timothy Hatcher  <timothy@apple.com>
       
   365 
       
   366         Prefer the Stabs debugging symbols format until DWARF bugs are fixed.
       
   367 
       
   368         * JavaScriptGlue.xcodeproj/project.pbxproj:
       
   369 
       
   370 2006-06-24  David Kilzer  <ddkilzer@kilzer.net>
       
   371 
       
   372         Reviewed by Timothy.
       
   373 
       
   374         * Info.plist: Fixed copyright to include 2003-2006.
       
   375 
       
   376 === JavaScriptGlue-521.13 ===
       
   377         
       
   378 2006-06-20  Geoffrey Garen  <ggaren@apple.com>
       
   379 
       
   380         Reviewed by Anders.
       
   381         
       
   382         - Required for JS API: Rename propList to getPropertyList and have it
       
   383         take its target property list by reference so that subclasses can
       
   384         add properties to the list before calling through to their superclasses.
       
   385 
       
   386         * JSUtils.cpp:
       
   387         (KJSValueToCFTypeInternal):
       
   388         * JSValueWrapper.cpp:
       
   389         (JSValueWrapper::JSObjectCopyPropertyNames):
       
   390         * UserObjectImp.cpp:
       
   391         (UserObjectImp::getPropertyList):
       
   392         * UserObjectImp.h:
       
   393 
       
   394 2006-06-15  Timothy Hatcher  <timothy@apple.com>
       
   395 
       
   396         Reviewed by Geoff and Darin.
       
   397         
       
   398         Prefer the DWARF debugging symbols format for use in Xcode 2.3.
       
   399 
       
   400         * JavaScriptGlue.xcodeproj/project.pbxproj:
       
   401 
       
   402 2006-06-12  Geoffrey Garen  <ggaren@apple.com>
       
   403 
       
   404         Reviewed by TimO, Maciej.
       
   405         
       
   406         - JSGlue part of merging InterpreterImp into Interpreter.
       
   407         
       
   408         Since there's now a kjs forwarding header, I moved all forwarding
       
   409         headers into a "ForwardingHeaders" directory, like in WebCore.
       
   410 
       
   411         * ForwardingHeaders: Added.
       
   412         * ForwardingHeaders/kjs: Added.
       
   413         * ForwardingHeaders/kjs/ExecState.h: Added.
       
   414         * ForwardingHeaders/wtf: Added.
       
   415         * JavaScriptGlue.xcodeproj/project.pbxproj:
       
   416         * config.h:
       
   417         * wtf: Removed.
       
   418         * wtf/AlwaysInline.h: Removed.
       
   419         * wtf/Assertions.h: Removed.
       
   420         * wtf/FastMalloc.h: Removed.
       
   421         * wtf/Forward.h: Removed.
       
   422         * wtf/HashCountedSet.h: Removed.
       
   423         * wtf/HashSet.h: Removed.
       
   424         * wtf/Noncopyable.h: Removed.
       
   425         * wtf/OwnArrayPtr.h: Removed.
       
   426         * wtf/OwnPtr.h: Removed.
       
   427         * wtf/PassRefPtr.h: Removed.
       
   428         * wtf/Platform.h: Removed.
       
   429         * wtf/RefPtr.h: Removed.
       
   430         * wtf/Vector.h: Removed.
       
   431 
       
   432 === JavaScriptGlue-521.10 ===
       
   433 
       
   434 2006-05-09  Maciej Stachowiak  <mjs@apple.com>
       
   435 
       
   436         Rubber stamped by Anders.
       
   437         
       
   438         - renamed kxmlcore to wtf
       
   439         
       
   440         kxmlcore --> wtf
       
   441         KXMLCore --> WTF
       
   442         KXC --> WTF
       
   443 
       
   444         * config.h:
       
   445         * kxmlcore: Removed.
       
   446         * kxmlcore/AlwaysInline.h: Removed.
       
   447         * kxmlcore/Assertions.h: Removed.
       
   448         * kxmlcore/FastMalloc.h: Removed.
       
   449         * kxmlcore/Forward.h: Removed.
       
   450         * kxmlcore/HashCountedSet.h: Removed.
       
   451         * kxmlcore/HashSet.h: Removed.
       
   452         * kxmlcore/Noncopyable.h: Removed.
       
   453         * kxmlcore/OwnArrayPtr.h: Removed.
       
   454         * kxmlcore/OwnPtr.h: Removed.
       
   455         * kxmlcore/PassRefPtr.h: Removed.
       
   456         * kxmlcore/Platform.h: Removed.
       
   457         * kxmlcore/RefPtr.h: Removed.
       
   458         * kxmlcore/Vector.h: Removed.
       
   459         * wtf: Added.
       
   460 
       
   461 2006-04-11  Darin Adler  <darin@apple.com>
       
   462 
       
   463         - try to fix Windows build
       
   464 
       
   465         * kxmlcore/HashForward.h: Removed.
       
   466 
       
   467 2006-04-10  Darin Adler  <darin@apple.com>
       
   468 
       
   469         Rubber-stamped by John Sullivan.
       
   470 
       
   471         - added forwarding headers for the new Forward.h and HashForward.h files
       
   472 
       
   473         * kxmlcore/Forward.h: Added.
       
   474         * kxmlcore/HashForward.h: Added.
       
   475 
       
   476 2006-04-04  Timothy Hatcher  <timothy@apple.com>
       
   477 
       
   478         Reviewed by Darin.
       
   479 
       
   480         The Debug and Release frameworks are now built with install paths relative to the build products directory.
       
   481         This removes the need for other projects to build with -framework WebCore and -framework JavaScriptCore. 
       
   482 
       
   483         * JavaScriptGlue.xcodeproj/project.pbxproj:
       
   484 
       
   485 2006-04-02  Eric Seidel  <eseidel@apple.com>
       
   486 
       
   487         Reviewed by andersca.
       
   488 
       
   489         Add missing forwarding header.
       
   490 
       
   491         * kxmlcore/Vector.h: Added.
       
   492 
       
   493 2006-03-31  Geoffrey Garen  <ggaren@apple.com>
       
   494 
       
   495         Reviewed by Darin.
       
   496 
       
   497         - Fixed <rdar://problem/4430836> JavaScript patch crashing Quartz
       
   498         Composer
       
   499 
       
   500         JSValueWrappers used to hold on to the ExecState that pertained at
       
   501         the time of their creation. Since ExecStates are transient, that
       
   502         design was totally bogus, and it would crash once the ExecState had
       
   503         been deallocated.
       
   504 
       
   505         Unfortunately, there's no clean solution to this problem, since
       
   506         the JSGlue API has no notion of state. The solution here is to use
       
   507         a shared, global ExecState for the purpose of JSGlue calls. Given
       
   508         the pre-existing limitations in the JSGlue API, this design
       
   509         shouldn't actually introduce any new limitations (see comments in
       
   510         JSValueWrapper.cpp).
       
   511 
       
   512         I tested with Quartz Composer and PAC files, neither of which are
       
   513         layout-testable.
       
   514         
       
   515         * JSUtils.cpp:
       
   516         (KJSValueToJSObject):
       
   517         * JSValueWrapper.cpp:
       
   518         (JSValueWrapper::JSValueWrapper):
       
   519         (JSValueWrapper::GetValue):
       
   520         (getProcessGlobalExecState):
       
   521         (JSValueWrapper::JSObjectCopyPropertyNames):
       
   522         (JSValueWrapper::JSObjectCopyProperty):
       
   523         (JSValueWrapper::JSObjectSetProperty):
       
   524         (JSValueWrapper::JSObjectCallFunction):
       
   525         (JSValueWrapper::JSObjectCopyCFValue):
       
   526         * JSValueWrapper.h:
       
   527 
       
   528         Also added a test harness file. It was helpful while I was testing,
       
   529         and may come in handy in the future:
       
   530         
       
   531         * JavaScriptGlue.xcodeproj/project.pbxproj:
       
   532         testjsglue.cpp: Added.
       
   533 
       
   534 2006-03-28  Darin Adler  <darin@apple.com>
       
   535 
       
   536         Reviewed by Geoff.
       
   537 
       
   538         - added a build step that checks for init routines
       
   539 
       
   540         * JavaScriptGlue.xcodeproj/project.pbxproj: Added a custom build phase that invokes the
       
   541         check-for-global-initializers script.
       
   542 
       
   543 2006-03-02  Maciej Stachowiak  <mjs@apple.com>
       
   544 
       
   545         Not reviewed, but I noticed these trivial extra changes were needed to avoid
       
   546         breaking the build with my reviewed patch for:
       
   547         
       
   548         http://bugs.webkit.org/show_bug.cgi?id=7387
       
   549         
       
   550         Add config.h, includes of it, and Platform.h forwarding header.
       
   551 
       
   552         * JSBase.cpp:
       
   553         * JSObject.cpp:
       
   554         * JSRun.cpp:
       
   555         * JSUtils.cpp:
       
   556         * JSValueWrapper.cpp:
       
   557         * JavaScriptGlue.cpp:
       
   558         * UserObjectImp.cpp:
       
   559         * config.h: Added.
       
   560         * kxmlcore/Platform.h: Added.
       
   561 
       
   562 === JavaScriptGlue-521.7 ===
       
   563 
       
   564 2006-02-10  Geoffrey Garen  <ggaren@apple.com>
       
   565 
       
   566         Reviewed by eric.
       
   567 
       
   568         - Fixed build.
       
   569 
       
   570         * UserObjectImp.cpp:
       
   571         (UserObjectImp::toPrimitive):
       
   572         * UserObjectImp.h:
       
   573 
       
   574 2006-02-03  Timothy Hatcher  <timothy@apple.com>
       
   575 
       
   576         Reviewed by Justin.
       
   577 
       
   578         Renamed configuration names to Debug, Release and Production.
       
   579 
       
   580         * JavaScriptGlue.xcodeproj/project.pbxproj:
       
   581 
       
   582 2006-02-01  Darin Adler  <darin@apple.com>
       
   583 
       
   584         - added some forwarding headers to make new JavaScriptCore changes work
       
   585 
       
   586         * kxmlcore/Assertions.h: Added.
       
   587         * kxmlcore/Noncopyable.h: Added.
       
   588         * kxmlcore/OwnPtr.h: Added.
       
   589         * kxmlcore/OwnArrayPtr.h: Added.
       
   590 
       
   591 2006-01-16  Timothy Hatcher  <timothy@apple.com>
       
   592 
       
   593         Adding the license header to all files so we can
       
   594         move JavaScriptGlue into the open source repository.
       
   595 
       
   596         * LICENSE: Added.
       
   597         * JSBase.cpp: license header added.
       
   598         * JSBase.h: ditto.
       
   599         * JSObject.cpp: ditto.
       
   600         * JSObject.h: ditto.
       
   601         * JSRun.cpp: ditto.
       
   602         * JSRun.h: ditto.
       
   603         * JSUtils.cpp: ditto.
       
   604         * JSUtils.h: ditto.
       
   605         * JSValueWrapper.cpp: ditto.
       
   606         * JSValueWrapper.h: ditto.
       
   607         * JavaScriptGlue.cpp: ditto.
       
   608         * JavaScriptGlue.h: ditto.
       
   609         * UserObjectImp.cpp: ditto.
       
   610         * UserObjectImp.h: ditto.
       
   611 
       
   612 2005-12-21  Timothy Hatcher  <timothy@apple.com>
       
   613 
       
   614         * JavaScriptGlue.xcodeproj/project.pbxproj:
       
   615           Set tab width to 8, indent width to 4 and uses tabs to false per file.
       
   616 
       
   617 2005-12-19  Darin Adler  <darin@apple.com>
       
   618 
       
   619         Reviewed by Geoff Garen and Eric Seidel.
       
   620 
       
   621         - fix http://bugs.webkit.org/show_bug.cgi?id=4923
       
   622           stop using <ostream> in WebCore, eliminating the <cmath> troubles it causes
       
   623 
       
   624         * kxmlcore/AlwaysInline.h: Added.
       
   625 
       
   626 2005-12-15  Darin Adler  <darin@apple.com>
       
   627 
       
   628         Reviewed by Maciej.
       
   629 
       
   630         * JSRun.cpp: (JSRun::Evaluate): Updated for change to Interpreter::evaluate.
       
   631 
       
   632 2005-12-15  Darin Adler  <darin@apple.com>
       
   633 
       
   634         Reviewed by Tim Hatcher.
       
   635 
       
   636         * JavaScriptGlue.xcodeproj/project.pbxproj: Removed some redundant build
       
   637         settings, turned off prebinding explicitly for our Development and
       
   638         Deployment builds, remove .exp file from sources. All "clean-up".
       
   639 
       
   640 === Safari-521~5 ===
       
   641 
       
   642 2005-12-13  Geoffrey Garen  <ggaren@apple.com>
       
   643 
       
   644     - Fixed build after Anders's last checkin to JavaScriptCore.
       
   645     
       
   646         Reviewed by darin.
       
   647 
       
   648         * UserObjectImp.cpp:
       
   649         (UserObjectImp::userObjectGetter): Updated to reflect new argument that 
       
   650     getters take (unused here).
       
   651         * UserObjectImp.h:
       
   652 
       
   653 2005-12-13  Maciej Stachowiak  <mjs@apple.com>
       
   654 
       
   655         Reviewed by Eric.
       
   656 
       
   657     - added forwarding header for HashCountedSet
       
   658 
       
   659         * kxmlcore/HashCountedSet.h: Added.
       
   660 
       
   661 2005-12-10  Darin Adler  <darin@apple.com>
       
   662 
       
   663         Rubber stamped by Maciej.
       
   664 
       
   665         - updated for KJS class renaming
       
   666 
       
   667         * many files and functions
       
   668 
       
   669 2005-12-10  Darin Adler  <darin@apple.com>
       
   670 
       
   671         Reviewed by Maciej.
       
   672 
       
   673         - eliminated the old Undefined(), Null(), Boolean(), Number(), and String()
       
   674 
       
   675         Code now uses jsUndefined(), jsNull(), jsBoolean(), jsNumber(), and jsString().
       
   676 
       
   677         * JSUtils.cpp:
       
   678         (JSObjectKJSValue):
       
   679         * UserObjectImp.cpp:
       
   680         (UserObjectImp::callAsFunction):
       
   681         (UserObjectImp::toPrimitive):
       
   682 
       
   683 2005-12-05  Maciej Stachowiak  <mjs@apple.com>
       
   684 
       
   685         - added new forwarding headers
       
   686 
       
   687         * kxmlcore/PassRefPtr.h: Added.
       
   688         * kxmlcore/RefPtr.h: Added.
       
   689 
       
   690 2005-12-05  Maciej Stachowiak  <mjs@apple.com>
       
   691 
       
   692         * kxmlcore/PassRefPtr.h: Added.
       
   693 
       
   694 2005-11-26  Maciej Stachowiak  <mjs@apple.com>
       
   695 
       
   696         Rubber stamped by Eric.
       
   697 
       
   698     - renamed InterpreterLock to JSLock
       
   699 
       
   700         * JSUtils.cpp:
       
   701         (CFStringToUString):
       
   702         (JSObjectKJSValue):
       
   703         (KJSValueToCFTypeInternal):
       
   704         * JSValueWrapper.cpp:
       
   705         (JSValueWrapper::JSObjectCopyPropertyNames):
       
   706         (JSValueWrapper::JSObjectCopyProperty):
       
   707         (JSValueWrapper::JSObjectSetProperty):
       
   708         (JSValueWrapper::JSObjectCallFunction):
       
   709         (JSValueWrapper::JSObjectCopyCFValue):
       
   710         * JavaScriptGlue.cpp:
       
   711         (JSRunCreate):
       
   712         (JSCollect):
       
   713         (JSLockInterpreter):
       
   714         (JSUnlockInterpreter):
       
   715         * UserObjectImp.cpp:
       
   716         (UserObjectImp::callAsFunction):
       
   717 
       
   718 2005-11-16  Maciej Stachowiak  <mjs@apple.com>
       
   719 
       
   720         Reviewed by Geoff.
       
   721 
       
   722     Updated to use new API to drop all locks.
       
   723 
       
   724         * JavaScriptGlue.cpp:
       
   725         (JSLockInterpreter):
       
   726         (JSUnlockInterpreter):
       
   727         * UserObjectImp.cpp:
       
   728         (UserObjectImp::callAsFunction):
       
   729 
       
   730 2005-11-14  Geoffrey Garen  <ggaren@apple.com>
       
   731 
       
   732         Reviewed by mjs.
       
   733 
       
   734         - Part of the fix for <rdar://problem/4342216> Installer crash in 
       
   735           KJS::ValueImp::marked() when garbage collector runs inside call to 
       
   736           ConstantValues::init()
       
   737           
       
   738         Added locking in JSRunCreate, since JSRun::JSRun constructs an object.
       
   739         
       
   740         * JavaScriptGlue.cpp:
       
   741         (JSRunCreate):
       
   742 
       
   743 2005-11-10  Geoffrey Garen  <ggaren@apple.com>
       
   744 
       
   745         Reviewed by Maciej.
       
   746 
       
   747         - Fixed <rdar://problem/4334445> installer crashed on my 
       
   748           dual g4 450Mhz after clicking language
       
   749 
       
   750         - Reversed backwards NULL check.
       
   751         - Inserted guards against NULL fJSUserObject data member.
       
   752         - Cleaned up some style.
       
   753 
       
   754         * JSUtils.cpp:
       
   755         (KJSValueToCFTypeInternal):
       
   756         * UserObjectImp.cpp:
       
   757         (UserObjectImp::~UserObjectImp):
       
   758         (UserObjectImp::callAsFunction):
       
   759         (UserObjectImp::userObjectGetter):
       
   760         (UserObjectImp::getOwnPropertySlot):
       
   761         (UserObjectImp::put):
       
   762         (UserObjectImp::mark):
       
   763 
       
   764 2005-11-04  Timothy Hatcher  <timothy@apple.com>
       
   765 
       
   766         Reviewed by Darin.
       
   767 
       
   768         * JavaScriptGlue.xcodeproj/project.pbxproj:
       
   769           Fixed the FRAMEWORK_SEARCH_PATHS to look in the WebKit
       
   770           Frameworks for the Default config.
       
   771 
       
   772 2005-11-03  Timothy Hatcher  <timothy@apple.com>
       
   773 
       
   774         Reviewed by Darin and Vicki.
       
   775 
       
   776         * JavaScriptGlue.xcodeproj/project.pbxproj:
       
   777           Change to use $(SYSTEM_LIBRARY_DIR) consistently and place
       
   778           $(NEXT_ROOT) in a few spots to make build-root work.
       
   779 
       
   780 2005-11-01  Maciej Stachowiak  <mjs@apple.com>
       
   781 
       
   782     Reviewed by: Eric.
       
   783     
       
   784         <rdar://problem/4324107> get JavaScriptGlue working with TOT JavaScriptCore again
       
   785 
       
   786     - reverted all this stuff to use ReferenceList instead of IdentifierSequencedSet
       
   787 
       
   788         * JSUtils.cpp:
       
   789         (KJSValueToCFTypeInternal):
       
   790         * JSValueWrapper.cpp:
       
   791         (JSValueWrapper::JSObjectCopyPropertyNames):
       
   792         * UserObjectImp.cpp:
       
   793         (UserObjectImp::propList):
       
   794         * UserObjectImp.h:
       
   795 
       
   796 2005-10-11  Timothy Hatcher  <timothy@apple.com>
       
   797 
       
   798         Setup the proper Framework search path for the Default config.
       
   799         Prepping for a TOT submission and build by B&I.
       
   800 
       
   801         * JavaScriptGlue.xcodeproj/project.pbxproj:
       
   802 
       
   803 2005-10-10  Darin Adler  <darin@apple.com>
       
   804 
       
   805         Reviewed by Eric.
       
   806 
       
   807         - converted tabs to spaces, NULL to 0, added some (void), got rid of __ prefixes
       
   808           in headers (reserved for compiler/library)
       
   809 
       
   810         * Info.plist:
       
   811         * JSBase.cpp:
       
   812         * JSBase.h:
       
   813         * JSObject.cpp:
       
   814         * JSObject.h:
       
   815         * JSRun.cpp:
       
   816         * JSRun.h:
       
   817         * JSUtils.cpp:
       
   818         * JSUtils.h:
       
   819         * JSValueWrapper.cpp:
       
   820         * JSValueWrapper.h:
       
   821         * JavaScriptGlue.cpp:
       
   822         * JavaScriptGlue.h:
       
   823         * UserObjectImp.cpp:
       
   824         * UserObjectImp.h:
       
   825 
       
   826 2005-10-10  Darin Adler  <darin@apple.com>
       
   827 
       
   828         * .cvsignore: Added. Ignore Makefile.in and Makefile.
       
   829 
       
   830 2005-10-07  Timothy Hatcher  <timothy@apple.com>
       
   831 
       
   832         Reviewed by Maciej.
       
   833         
       
   834         Build fix, needed to disable RTTI. Upgraded to a native target.
       
   835 
       
   836         * JavaScriptGlue.xcodeproj/project.pbxproj:
       
   837         * Info.plist
       
   838 
       
   839 2005-10-05  Maciej Stachowiak  <mjs@apple.com>
       
   840 
       
   841         Reviewed by Eric and Darin.
       
   842 
       
   843     <rdar://problem/4260506> Port JavaScriptGlue to TOT JavaScriptCore
       
   844 
       
   845         * JSRun.cpp:
       
   846         (JSRun::JSRun):
       
   847         (JSRun::GlobalObject):
       
   848         * JSRun.h:
       
   849         (JSInterpreter::JSInterpreter):
       
   850         * JSUtils.cpp:
       
   851         (KJSValueToJSObject):
       
   852         (JSObjectKJSValue):
       
   853         (KJSValueToCFTypeInternal):
       
   854         (KJSValueToCFType):
       
   855         * JSUtils.h:
       
   856         * JSValueWrapper.cpp:
       
   857         (JSValueWrapper::JSValueWrapper):
       
   858         (JSValueWrapper::GetValue):
       
   859         (JSValueWrapper::JSObjectCopyPropertyNames):
       
   860         (JSValueWrapper::JSObjectCopyProperty):
       
   861         (JSValueWrapper::JSObjectSetProperty):
       
   862         (JSValueWrapper::JSObjectCallFunction):
       
   863         (JSValueWrapper::JSObjectMark):
       
   864         * JSValueWrapper.h:
       
   865         * JavaScriptGlue.cpp:
       
   866         (JSRunCopyGlobalObject):
       
   867         * JavaScriptGlue.xcodeproj/project.pbxproj:
       
   868         * Makefile.am: Added.
       
   869         * UserObjectImp.cpp:
       
   870         (UserObjectPrototypeImp::GlobalUserObjectPrototypeImp):
       
   871         (UserObjectImp::UserObjectImp):
       
   872         (UserObjectImp::callAsFunction):
       
   873         (UserObjectImp::getPropertyNames):
       
   874         (UserObjectImp::userObjectGetter):
       
   875         (UserObjectImp::getOwnPropertySlot):
       
   876         (UserObjectImp::put):
       
   877         (UserObjectImp::toPrimitive):
       
   878         (UserObjectImp::mark):
       
   879         * UserObjectImp.h:
       
   880         * kxmlcore/FastMalloc.h: Added.
       
   881         * kxmlcore/HashSet.h: Added.
       
   882 
       
   883 2005-09-14  Maciej Stachowiak  <mjs@apple.com>
       
   884 
       
   885         Reviewed by Geoff.
       
   886 
       
   887     - fixed <rdar://problem/4214783> REGRESSION: kjs_fast_malloc crash due to lack of locking on multiple threads (seen selecting volumes in the installer)
       
   888 
       
   889     Make sure to lock using the InterpreterLock class in all places that need it
       
   890     (including anything that uses the collector, the parser, the protect count hash table,
       
   891     and anything that allocates via fast_malloc).
       
   892 
       
   893         * JSUtils.cpp:
       
   894         (CFStringToUString):
       
   895         (JSObjectKJSValue):
       
   896         (KJSValueToCFTypeInternal):
       
   897         * JSUtils.h:
       
   898         * JSValueWrapper.cpp:
       
   899         (JSValueWrapper::JSObjectCopyPropertyNames):
       
   900         (JSValueWrapper::JSObjectCopyProperty):
       
   901         (JSValueWrapper::JSObjectSetProperty):
       
   902         (JSValueWrapper::JSObjectCallFunction):
       
   903         (JSValueWrapper::JSObjectCopyCFValue):
       
   904         * JavaScriptGlue.cpp:
       
   905         (JSCollect):
       
   906 
       
   907 2005-09-27  Adele Peterson  <adele@apple.com>
       
   908 
       
   909         Reviewed by Maciej.
       
   910 
       
   911         <rdar://problem/4223297> JavaScriptGlue: Submit 64-bit compatible versions of your API and SPIs by September 15
       
   912 
       
   913         * JavaScriptGlue.h: Changed UInt32 to CFTypeID for JSTypeID
       
   914 
       
   915 2005-09-06  Geoffrey Garen  <ggaren@apple.com>
       
   916 
       
   917         -upgraded project files to XCode 2.1
       
   918 
       
   919         * JavaScriptGlue.pbproj/project.pbxproj: Removed.
       
   920         * JavaScriptGlue.xcodeproj/.cvsignore: Added.
       
   921         * JavaScriptGlue.xcodeproj/project.pbxproj: Added.
       
   922 
       
   923 2005-09-01  Maciej Stachowiak  <mjs@apple.com>
       
   924 
       
   925         Rubber stamped by hyatt.
       
   926 
       
   927     - initial import of JavaScriptGlue into our repository
       
   928 
       
   929         * English.lproj/InfoPlist.strings: Added.
       
   930         * JSBase.cpp: Added.
       
   931         (JSBase::JSBase):
       
   932         (JSBase::~JSBase):
       
   933         (JSBase::Retain):
       
   934         (JSBase::Release):
       
   935         (JSBase::RetainCount):
       
   936         (JSBase::GetTypeID):
       
   937         (JSBase::CopyDescription):
       
   938         (JSBase::Equal):
       
   939         * JSBase.h: Added.
       
   940         * JSObject.cpp: Added.
       
   941         (JSUserObject::JSUserObject):
       
   942         (JSUserObject::~JSUserObject):
       
   943         (JSUserObject::CopyPropertyNames):
       
   944         (JSUserObject::CopyProperty):
       
   945         (JSUserObject::SetProperty):
       
   946         (JSUserObject::ImplementsCall):
       
   947         (JSUserObject::CallFunction):
       
   948         (JSUserObject::CopyCFValue):
       
   949         (JSUserObject::Equal):
       
   950         (JSUserObject::Mark):
       
   951         (JSUserObject::GetData):
       
   952         * JSObject.h: Added.
       
   953         (JSUserObject::DataType):
       
   954         * JSRun.cpp: Added.
       
   955         (JSRun::JSRun):
       
   956         (JSRun::~JSRun):
       
   957         (JSRun::Flags):
       
   958         (JSRun::GetSource):
       
   959         (JSRun::GlobalObject):
       
   960         (JSRun::GetInterpreter):
       
   961         (JSRun::Evaluate):
       
   962         (JSRun::CheckSyntax):
       
   963         * JSRun.h: Added.
       
   964         (JSInterpreter::JSInterpreter):
       
   965         (JSInterpreter::JSInterpreter::~JSInterpreter):
       
   966         (JSInterpreter::Flags):
       
   967         * JSUtils.cpp: Added.
       
   968         (CFStringToUString):
       
   969         (UStringToCFString):
       
   970         (CFStringToIdentifier):
       
   971         (IdentifierToCFString):
       
   972         (KJSValueToJSObject):
       
   973         (JSObjectKJSValue):
       
   974         (KJSValueToCFTypeInternal):
       
   975         (KJSValueToCFType):
       
   976         (GetCFNull):
       
   977         * JSUtils.h: Added.
       
   978         (RetainCFType):
       
   979         (ReleaseCFType):
       
   980         * JSValueWrapper.cpp: Added.
       
   981         (JSValueWrapper::JSValueWrapper):
       
   982         (JSValueWrapper::~JSValueWrapper):
       
   983         (JSValueWrapper::GetValue):
       
   984         (JSValueWrapper::GetExecState):
       
   985         (JSValueWrapper::GetJSObectCallBacks):
       
   986         (JSValueWrapper::JSObjectDispose):
       
   987         (JSValueWrapper::JSObjectCopyPropertyNames):
       
   988         (JSValueWrapper::JSObjectCopyProperty):
       
   989         (JSValueWrapper::JSObjectSetProperty):
       
   990         (JSValueWrapper::JSObjectCallFunction):
       
   991         (JSValueWrapper::JSObjectCopyCFValue):
       
   992         (JSValueWrapper::JSObjectMark):
       
   993         * JSValueWrapper.h: Added.
       
   994         * JavaScriptGlue.cpp: Added.
       
   995         (JSSetCFNull):
       
   996         (JSGetCFNull):
       
   997         (JSRetain):
       
   998         (JSRelease):
       
   999         (JSCopyDescription):
       
  1000         (JSEqual):
       
  1001         (JSGetTypeID):
       
  1002         (JSGetRetainCount):
       
  1003         (JSObjectCreate):
       
  1004         (JSObjectCreateInternal):
       
  1005         (JSObjectCopyCFValue):
       
  1006         (JSObjectGetData):
       
  1007         (JSObjectCopyProperty):
       
  1008         (JSObjectSetProperty):
       
  1009         (JSObjectCallFunction):
       
  1010         (JSRunCreate):
       
  1011         (JSRunCopySource):
       
  1012         (JSRunCopyGlobalObject):
       
  1013         (JSRunEvaluate):
       
  1014         (JSRunCheckSyntax):
       
  1015         (JSCollect):
       
  1016         (JSTypeGetCFArrayCallBacks):
       
  1017         (JSCFRetain):
       
  1018         (JSCFRelease):
       
  1019         (JSObjectCreateWithCFType):
       
  1020         (CFJSObjectDispose):
       
  1021         (JSObjectCopyPropertyNames):
       
  1022         (CFJSObjectCopyProperty):
       
  1023         (CFJSObjectSetProperty):
       
  1024         (CFJSObjectCopyCFValue):
       
  1025         (CFJSObjectEqual):
       
  1026         (CFJSObjectCopyPropertyNames):
       
  1027         (JSCreateCFArrayFromJSArray):
       
  1028         (JSCreateJSArrayFromCFArray):
       
  1029         (JSLockInterpreter):
       
  1030         (JSUnlockInterpreter):
       
  1031         * JavaScriptGlue.exp: Added.
       
  1032         * JavaScriptGlue.h: Added.
       
  1033         * JavaScriptGlue.pbproj/project.pbxproj: Added.
       
  1034         * UserObjectImp.cpp: Added.
       
  1035         (UserObjectPrototypeImp::UserObjectPrototypeImp):
       
  1036         (UserObjectPrototypeImp::GlobalUserObjectPrototypeImp):
       
  1037         (UserObjectImp::UserObjectImp):
       
  1038         (UserObjectImp::~UserObjectImp):
       
  1039         (UserObjectImp::classInfo):
       
  1040         (UserObjectImp::implementsCall):
       
  1041         (UserObjectImp::call):
       
  1042         (UserObjectImp::propList):
       
  1043         (UserObjectImp::hasProperty):
       
  1044         (UserObjectImp::get):
       
  1045         (UserObjectImp::put):
       
  1046         (UserObjectImp::GetJSUserObject):
       
  1047         (UserObjectImp::toPrimitive):
       
  1048         (UserObjectImp::toBoolean):
       
  1049         (UserObjectImp::toNumber):
       
  1050         (UserObjectImp::toString):
       
  1051         (UserObjectImp::mark):
       
  1052         * UserObjectImp.h: Added.
       
  1053