2010-10-16 Patrick Gansterer <paroga@webkit.org>
authorparoga@webkit.org <paroga@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 16 Oct 2010 10:45:23 +0000 (10:45 +0000)
committerparoga@webkit.org <paroga@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 16 Oct 2010 10:45:23 +0000 (10:45 +0000)
        Reviewed by Adam Barth.

        Rename StringHasherFunctions.h to StringHasher.h
        https://bugs.webkit.org/show_bug.cgi?id=47200

        Now StringHasherFunctions.h only contains the StringHasher class, so rename it to the correct name.

        * GNUmakefile.am:
        * JavaScriptCore.gypi:
        * JavaScriptCore.xcodeproj/project.pbxproj:
        * wtf/StringHashFunctions.h: Removed.
        * wtf/StringHasher.h: Copied from JavaScriptCore/wtf/StringHashFunctions.h.
        * wtf/text/StringHash.h:
        * wtf/text/StringImpl.h:
2010-10-16  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Adam Barth.

        Rename StringHasherFunctions.h to StringHasher.h
        https://bugs.webkit.org/show_bug.cgi?id=47200

        * ForwardingHeaders/wtf/StringHashFunctions.h: Removed.
        * ForwardingHeaders/wtf/StringHasher.h: Copied from JavaScriptGlue/ForwardingHeaders/wtf/StringHashFunctions.h.
2010-10-16  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Adam Barth.

        Rename StringHasherFunctions.h to StringHasher.h
        https://bugs.webkit.org/show_bug.cgi?id=47200

        * ForwardingHeaders/wtf/StringHashFunctions.h: Removed.
        * ForwardingHeaders/wtf/StringHasher.h: Copied from WebCore/ForwardingHeaders/wtf/StringHashFunctions.h.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69912 268f45cc-cd09-0410-ab3c-d52691b4dbfc

13 files changed:
JavaScriptCore/ChangeLog
JavaScriptCore/GNUmakefile.am
JavaScriptCore/JavaScriptCore.gypi
JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj
JavaScriptCore/wtf/StringHasher.h [moved from JavaScriptCore/wtf/StringHashFunctions.h with 97% similarity]
JavaScriptCore/wtf/text/StringHash.h
JavaScriptCore/wtf/text/StringImpl.h
JavaScriptGlue/ChangeLog
JavaScriptGlue/ForwardingHeaders/wtf/StringHashFunctions.h [deleted file]
JavaScriptGlue/ForwardingHeaders/wtf/StringHasher.h [new file with mode: 0644]
WebCore/ChangeLog
WebCore/ForwardingHeaders/wtf/StringHashFunctions.h [deleted file]
WebCore/ForwardingHeaders/wtf/StringHasher.h [new file with mode: 0644]

index b7a4280..c71b72c 100644 (file)
@@ -1,3 +1,20 @@
+2010-10-16  Patrick Gansterer  <paroga@webkit.org>
+
+        Reviewed by Adam Barth.
+
+        Rename StringHasherFunctions.h to StringHasher.h
+        https://bugs.webkit.org/show_bug.cgi?id=47200
+
+        Now StringHasherFunctions.h only contains the StringHasher class, so rename it to the correct name.
+
+        * GNUmakefile.am:
+        * JavaScriptCore.gypi:
+        * JavaScriptCore.xcodeproj/project.pbxproj:
+        * wtf/StringHashFunctions.h: Removed.
+        * wtf/StringHasher.h: Copied from JavaScriptCore/wtf/StringHashFunctions.h.
+        * wtf/text/StringHash.h:
+        * wtf/text/StringImpl.h:
+
 2010-10-15  Oliver Hunt  <oliver@apple.com>
 
         Reviewed by Sam Weinig.
index 0a31035..ba694b9 100644 (file)
@@ -495,7 +495,7 @@ javascriptcore_sources += \
        JavaScriptCore/wtf/StaticConstructors.h \
        JavaScriptCore/wtf/StdLibExtras.h \
        JavaScriptCore/wtf/StringExtras.h \
-       JavaScriptCore/wtf/StringHashFunctions.h \
+       JavaScriptCore/wtf/StringHasher.h \
        JavaScriptCore/wtf/TCPackedCache.h \
        JavaScriptCore/wtf/TCPageMap.h \
        JavaScriptCore/wtf/TCSpinLock.h \
index 00447b5..1190a96 100644 (file)
             'wtf/StaticConstructors.h',
             'wtf/StdLibExtras.h',
             'wtf/StringExtras.h',
-            'wtf/StringHashFunctions.h',
+            'wtf/StringHasher.h',
             'wtf/TCPackedCache.h',
             'wtf/qt/MainThreadQt.cpp',
             'wtf/qt/StringQt.cpp',
index d172036..0f29c0e 100644 (file)
                5D53726F0E1C54880021E549 /* Tracing.h in Headers */ = {isa = PBXBuildFile; fileRef = 5D53726E0E1C54880021E549 /* Tracing.h */; };
                5D5D8AB60E0D0A7200F9C692 /* jsc in Copy Into Framework */ = {isa = PBXBuildFile; fileRef = 932F5BE10822A1C700736975 /* jsc */; };
                5D5D8AD10E0D0EBE00F9C692 /* libedit.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 5D5D8AD00E0D0EBE00F9C692 /* libedit.dylib */; };
-               5D63E9AD10F2BD6E00FC8AE9 /* StringHashFunctions.h in Headers */ = {isa = PBXBuildFile; fileRef = 5D63E9AC10F2BD6E00FC8AE9 /* StringHashFunctions.h */; settings = {ATTRIBUTES = (Private, ); }; };
+               5D63E9AD10F2BD6E00FC8AE9 /* StringHasher.h in Headers */ = {isa = PBXBuildFile; fileRef = 5D63E9AC10F2BD6E00FC8AE9 /* StringHasher.h */; settings = {ATTRIBUTES = (Private, ); }; };
                5D6A566B0F05995500266145 /* Threading.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 5D6A566A0F05995500266145 /* Threading.cpp */; };
                5DE6E5B30E1728EC00180407 /* create_hash_table in Headers */ = {isa = PBXBuildFile; fileRef = F692A8540255597D01FF60F7 /* create_hash_table */; settings = {ATTRIBUTES = (); }; };
                6507D29E0E871E5E00D7D896 /* JSTypeInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = 6507D2970E871E4A00D7D896 /* JSTypeInfo.h */; settings = {ATTRIBUTES = (Private, ); }; };
                5D53726E0E1C54880021E549 /* Tracing.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Tracing.h; sourceTree = "<group>"; };
                5D53727D0E1C55EC0021E549 /* TracingDtrace.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TracingDtrace.h; sourceTree = "<group>"; };
                5D5D8AD00E0D0EBE00F9C692 /* libedit.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libedit.dylib; path = /usr/lib/libedit.dylib; sourceTree = "<absolute>"; };
-               5D63E9AC10F2BD6E00FC8AE9 /* StringHashFunctions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = StringHashFunctions.h; sourceTree = "<group>"; };
+               5D63E9AC10F2BD6E00FC8AE9 /* StringHasher.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = StringHasher.h; sourceTree = "<group>"; };
                5D6A566A0F05995500266145 /* Threading.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = Threading.cpp; sourceTree = "<group>"; };
                5DA479650CFBCF56009328A0 /* TCPackedCache.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TCPackedCache.h; sourceTree = "<group>"; };
                5DBD18AF0C5401A700C15EAE /* MallocZoneSupport.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MallocZoneSupport.h; sourceTree = "<group>"; };
                                868BFA5F117D048200B908B1 /* StaticConstructors.h */,
                                FE1B44790ECCD73B004F4DD1 /* StdLibExtras.h */,
                                E11D51750B2E798D0056C188 /* StringExtras.h */,
-                               5D63E9AC10F2BD6E00FC8AE9 /* StringHashFunctions.h */,
+                               5D63E9AC10F2BD6E00FC8AE9 /* StringHasher.h */,
                                5DA479650CFBCF56009328A0 /* TCPackedCache.h */,
                                6541BD6E08E80A17002CBEE7 /* TCPageMap.h */,
                                6541BD6F08E80A17002CBEE7 /* TCSpinLock.h */,
                                BC18C4660E16F5CD00B34460 /* StringConstructor.h in Headers */,
                                BC18C4670E16F5CD00B34460 /* StringExtras.h in Headers */,
                                868BFA0D117CEFD100B908B1 /* StringHash.h in Headers */,
-                               5D63E9AD10F2BD6E00FC8AE9 /* StringHashFunctions.h in Headers */,
+                               5D63E9AD10F2BD6E00FC8AE9 /* StringHasher.h in Headers */,
                                868BFA0F117CEFD100B908B1 /* StringImpl.h in Headers */,
                                86B99AE4117E578100DF5A90 /* StringImplBase.h in Headers */,
                                BC18C4680E16F5CD00B34460 /* StringObject.h in Headers */,
similarity index 97%
rename from JavaScriptCore/wtf/StringHashFunctions.h
rename to JavaScriptCore/wtf/StringHasher.h
index 3ad7701..63ce74f 100644 (file)
@@ -18,8 +18,8 @@
  * Boston, MA 02110-1301, USA.
  *
  */
-#ifndef WTF_StringHashFunctions_h
-#define WTF_StringHashFunctions_h
+#ifndef WTF_StringHasher_h
+#define WTF_StringHasher_h
 
 #include <wtf/unicode/Unicode.h>
 
@@ -167,4 +167,4 @@ private:
 
 } // namespace WTF
 
-#endif // WTF_StringHashFunctions_h
+#endif // WTF_StringHasher_h
index a41e796..d7aabdb 100644 (file)
@@ -26,7 +26,7 @@
 #include "WTFString.h"
 #include <wtf/Forward.h>
 #include <wtf/HashTraits.h>
-#include <wtf/StringHashFunctions.h>
+#include <wtf/StringHasher.h>
 #include <wtf/unicode/Unicode.h>
 
 namespace WTF {
index 4dce56f..897751d 100644 (file)
@@ -29,7 +29,7 @@
 #include <wtf/Forward.h>
 #include <wtf/OwnFastMallocPtr.h>
 #include <wtf/StdLibExtras.h>
-#include <wtf/StringHashFunctions.h>
+#include <wtf/StringHasher.h>
 #include <wtf/Vector.h>
 #include <wtf/text/StringImplBase.h>
 #include <wtf/unicode/Unicode.h>
index 3a50e56..4da0a9b 100644 (file)
@@ -1,3 +1,13 @@
+2010-10-16  Patrick Gansterer  <paroga@webkit.org>
+
+        Reviewed by Adam Barth.
+
+        Rename StringHasherFunctions.h to StringHasher.h
+        https://bugs.webkit.org/show_bug.cgi?id=47200
+
+        * ForwardingHeaders/wtf/StringHashFunctions.h: Removed.
+        * ForwardingHeaders/wtf/StringHasher.h: Copied from JavaScriptGlue/ForwardingHeaders/wtf/StringHashFunctions.h.
+
 2010-09-09  Michael Saboff  <msaboff@apple.com>
 
         Reviewed by Gavin Barraclough.
diff --git a/JavaScriptGlue/ForwardingHeaders/wtf/StringHashFunctions.h b/JavaScriptGlue/ForwardingHeaders/wtf/StringHashFunctions.h
deleted file mode 100644 (file)
index e903ddd..0000000
+++ /dev/null
@@ -1 +0,0 @@
-#include <JavaScriptCore/StringHashFunctions.h>
diff --git a/JavaScriptGlue/ForwardingHeaders/wtf/StringHasher.h b/JavaScriptGlue/ForwardingHeaders/wtf/StringHasher.h
new file mode 100644 (file)
index 0000000..1380335
--- /dev/null
@@ -0,0 +1 @@
+#include <JavaScriptCore/StringHasher.h>
index b35c856..ddad971 100644 (file)
@@ -1,3 +1,13 @@
+2010-10-16  Patrick Gansterer  <paroga@webkit.org>
+
+        Reviewed by Adam Barth.
+
+        Rename StringHasherFunctions.h to StringHasher.h
+        https://bugs.webkit.org/show_bug.cgi?id=47200
+
+        * ForwardingHeaders/wtf/StringHashFunctions.h: Removed.
+        * ForwardingHeaders/wtf/StringHasher.h: Copied from WebCore/ForwardingHeaders/wtf/StringHashFunctions.h. 
 2010-10-15  Ryosuke Niwa  <rniwa@webkit.org>
 
         Reviewed by Darin Adler.
diff --git a/WebCore/ForwardingHeaders/wtf/StringHashFunctions.h b/WebCore/ForwardingHeaders/wtf/StringHashFunctions.h
deleted file mode 100644 (file)
index 72c1194..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-#ifndef WebCore_FWD_StringHashFunctions_h
-#define WebCore_FWD_StringHashFunctions_h
-#include <JavaScriptCore/StringHashFunctions.h>
-#endif
diff --git a/WebCore/ForwardingHeaders/wtf/StringHasher.h b/WebCore/ForwardingHeaders/wtf/StringHasher.h
new file mode 100644 (file)
index 0000000..fbc0d8d
--- /dev/null
@@ -0,0 +1,4 @@
+#ifndef WebCore_FWD_StringHasher_h
+#define WebCore_FWD_StringHasher_h
+#include <JavaScriptCore/StringHasher.h>
+#endif