mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
Added new character set implementations
This commit is contained in:
parent
41f4fa411a
commit
b1f47e6f22
7 changed files with 129 additions and 5 deletions
18
Source/CharSets/URLFragmentAllowedCharSet.h
Normal file
18
Source/CharSets/URLFragmentAllowedCharSet.h
Normal file
File diff suppressed because one or more lines are too long
18
Source/CharSets/URLHostAllowedCharSet.h
Normal file
18
Source/CharSets/URLHostAllowedCharSet.h
Normal file
File diff suppressed because one or more lines are too long
18
Source/CharSets/URLPasswordAllowedCharSet.h
Normal file
18
Source/CharSets/URLPasswordAllowedCharSet.h
Normal file
File diff suppressed because one or more lines are too long
18
Source/CharSets/URLPathAllowedCharSet.h
Normal file
18
Source/CharSets/URLPathAllowedCharSet.h
Normal file
File diff suppressed because one or more lines are too long
18
Source/CharSets/URLQueryAllowedCharSet.h
Normal file
18
Source/CharSets/URLQueryAllowedCharSet.h
Normal file
File diff suppressed because one or more lines are too long
18
Source/CharSets/URLUserAllowedCharSet.h
Normal file
18
Source/CharSets/URLUserAllowedCharSet.h
Normal file
File diff suppressed because one or more lines are too long
|
@ -49,6 +49,12 @@
|
|||
#undef GNUSTEP_INDEX_CHARSET
|
||||
|
||||
#import "NSCharacterSetData.h"
|
||||
#import "CharSets/URLFragmentAllowedCharSet.h"
|
||||
#import "CharSets/URLHostAllowedCharSet.h"
|
||||
#import "CharSets/URLPasswordAllowedCharSet.h"
|
||||
#import "CharSets/URLPathAllowedCharSet.h"
|
||||
#import "CharSets/URLQueryAllowedCharSet.h"
|
||||
#import "CharSets/URLUserAllowedCharSet.h"
|
||||
|
||||
#define GSUNICODE_MAX 1114112
|
||||
#define GSBITMAP_SIZE 8192
|
||||
|
@ -835,27 +841,37 @@ static Class concreteMutableClass = nil;
|
|||
|
||||
+ (id) URLFragmentAllowedCharacterSet;
|
||||
{
|
||||
return nil;
|
||||
return [self _staticSet: urlFragmentAllowedCharSet
|
||||
length: sizeof(urlFragmentAllowedCharSet)
|
||||
number: 0];
|
||||
}
|
||||
|
||||
+ (id) URLPasswordAllowedCharacterSet;
|
||||
{
|
||||
return nil;
|
||||
return [self _staticSet: urlPasswordAllowedCharSet
|
||||
length: sizeof(urlPasswordAllowedCharSet)
|
||||
number: 0];
|
||||
}
|
||||
|
||||
+ (id) URLPathAllowedCharacterSet;
|
||||
{
|
||||
return nil;
|
||||
return [self _staticSet: urlPathAllowedCharSet
|
||||
length: sizeof(urlPathAllowedCharSet)
|
||||
number: 0];
|
||||
}
|
||||
|
||||
+ (id) URLQueryAllowedCharacterSet;
|
||||
{
|
||||
return nil;
|
||||
return [self _staticSet: urlQueryAllowedCharSet
|
||||
length: sizeof(urlQueryAllowedCharSet)
|
||||
number: 0];
|
||||
}
|
||||
|
||||
+ (id) URLUserAllowedCharacterSet
|
||||
{
|
||||
return nil;
|
||||
return [self _staticSet: urlUserAllowedCharSet
|
||||
length: sizeof(urlUserAllowedCharSet)
|
||||
number: 0];
|
||||
}
|
||||
|
||||
- (NSData*) bitmapRepresentation
|
||||
|
|
Loading…
Reference in a new issue