Changeset 69669 in webkit
- Timestamp:
- Oct 13, 2010 10:21:07 AM (14 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r69665 r69669 1 2010-10-13 Adam Barth <abarth@webkit.org> 2 3 Reviewed by Maciej Stachowiak. 4 5 [WTFURL] Add a mechanism for classifying types of characters 6 https://bugs.webkit.org/show_bug.cgi?id=45085 7 8 Various characters have different escaping rules depending on where 9 they are in URLs. This patch adds a table containing that information. 10 11 * JavaScriptCore.xcodeproj/project.pbxproj: 12 * wtf/url/src/URLCharacterTypes.cpp: Added. 13 * wtf/url/src/URLCharacterTypes.h: Added. 14 (WTF::URLCharacterTypes::isQueryChar): 15 (WTF::URLCharacterTypes::isIPv4Char): 16 (WTF::URLCharacterTypes::isHexChar): 17 (WTF::URLCharacterTypes::isCharOfType): 18 1 19 2010-10-13 Xan Lopez <xlopez@igalia.com> 2 20 -
trunk/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj
r69663 r69669 312 312 9714AF60122F32070092D9F5 /* URLString.h in Headers */ = {isa = PBXBuildFile; fileRef = 9714AF59122F31F50092D9F5 /* URLString.h */; }; 313 313 971EDEA61169E0D3005E4262 /* Terminator.h in Headers */ = {isa = PBXBuildFile; fileRef = 97F6903A1169DF7F00A6BB46 /* Terminator.h */; settings = {ATTRIBUTES = (Private, ); }; }; 314 972A485F12661E0800F4514F /* URLCharacterTypes.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 972A485D12661E0800F4514F /* URLCharacterTypes.cpp */; }; 314 315 A1712B3B11C7B212007A5315 /* RegExpCache.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A1712B3A11C7B212007A5315 /* RegExpCache.cpp */; }; 315 316 A1712B3F11C7B228007A5315 /* RegExpCache.h in Headers */ = {isa = PBXBuildFile; fileRef = A1712B3E11C7B228007A5315 /* RegExpCache.h */; settings = {ATTRIBUTES = (Private, ); }; }; … … 945 946 9714AF58122F31F50092D9F5 /* ParsedURL.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ParsedURL.h; path = url/api/ParsedURL.h; sourceTree = "<group>"; }; 946 947 9714AF59122F31F50092D9F5 /* URLString.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = URLString.h; path = url/api/URLString.h; sourceTree = "<group>"; }; 948 972A485D12661E0800F4514F /* URLCharacterTypes.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = URLCharacterTypes.cpp; path = url/src/URLCharacterTypes.cpp; sourceTree = "<group>"; }; 949 972A485E12661E0800F4514F /* URLCharacterTypes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = URLCharacterTypes.h; path = url/src/URLCharacterTypes.h; sourceTree = "<group>"; }; 947 950 97F6903A1169DF7F00A6BB46 /* Terminator.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Terminator.h; sourceTree = "<group>"; }; 948 951 A1712B3A11C7B212007A5315 /* RegExpCache.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = RegExpCache.cpp; sourceTree = "<group>"; }; … … 1956 1959 9714AF31122F27E70092D9F5 /* RawURLBuffer.h */, 1957 1960 9714AF32122F27E70092D9F5 /* URLBuffer.h */, 1961 972A485D12661E0800F4514F /* URLCharacterTypes.cpp */, 1962 972A485E12661E0800F4514F /* URLCharacterTypes.h */, 1958 1963 9714AF33122F27E70092D9F5 /* URLComponent.h */, 1959 1964 9714AF34122F27E70092D9F5 /* URLParser.h */, … … 2792 2797 932F5BDD0822A1C700736975 /* jsc.cpp in Sources */, 2793 2798 DDE82AD31209D955005C1756 /* GCHandle.cpp in Sources */, 2799 972A485F12661E0800F4514F /* URLCharacterTypes.cpp in Sources */, 2794 2800 ); 2795 2801 runOnlyForDeploymentPostprocessing = 0;
Note: See TracChangeset
for help on using the changeset viewer.