[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677

darin darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 07:39:13 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit acc492dca3f3ef3bb6fad9e2337150c846a1aaf9
Author: darin <darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Tue Apr 29 18:27:35 2003 +0000

            Reviewed by John.
    
    	- fixed 2959353 -- eliminate globally initialized objects from JavaScriptCore
    
            * JavaScriptCore.pbproj/project.pbxproj: Added fpconst.cpp.
            * kjs/fpconst.cpp: Added. Defines KJS::NaN and KJS::Inf in a way that does not require a
            framework init routine.
    
            * kjs/identifier.h: Use a new KJS_IDENTIFIER_EACH_GLOBAL macro so we can do things to
            the entire set of identifiers easily. Also added an init function that sets up these globals
            in a way that does not require a framework init routine.
            * kjs/identifier.cpp: (Identifier::init): Initialize the property ane globals in a way that
            does not require a framework init routine.
    
            * kjs/internal.cpp: (InterpreterImp::initGlobalObject): Call Identifier::init.
    
            * kjs/ustring.h: Remove UChar::null and UString::null, and add UString::null(). We can't have
            a global object of a class that has a constructor if we want to avoid framework init routines,
            and luckily very little code relies on these.
            * kjs/ustring.cpp:
            (UCharReference::ref): Use our own global specific to this function rather than returning
            UChar::null when past the end of the string. This is dangerous because if the caller modifies
            it, that affects what all subsequent callers will see.
            (UString::Rep::create): Added assertions.
            (UString::UString): Got rid of code here that used to set up UString::null.
            (UString::null): Added. Returns a global null string, and can be used in some of the places
            where we used to use the UString::null global.
            (UString::operator[]): Fixed case where this used to return UChar::null to return '\0' instead.
    
            * kjs/regexp.cpp: (RegExp::match): Change uses of UString::null to UString::null().
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@4207 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/JavaScriptCore/ChangeLog b/JavaScriptCore/ChangeLog
index 430d5fc..fe82607 100644
--- a/JavaScriptCore/ChangeLog
+++ b/JavaScriptCore/ChangeLog
@@ -1,4 +1,4 @@
-2003-04-28  Darin Adler  <darin at apple.com>
+2003-04-29  Darin Adler  <darin at apple.com>
 
         Reviewed by John.
 
diff --git a/JavaScriptCore/ChangeLog-2003-10-25 b/JavaScriptCore/ChangeLog-2003-10-25
index 430d5fc..fe82607 100644
--- a/JavaScriptCore/ChangeLog-2003-10-25
+++ b/JavaScriptCore/ChangeLog-2003-10-25
@@ -1,4 +1,4 @@
-2003-04-28  Darin Adler  <darin at apple.com>
+2003-04-29  Darin Adler  <darin at apple.com>
 
         Reviewed by John.
 

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list