mirror of
https://github.com/gnustep/libs-gsweb.git
synced 2025-02-23 19:51:13 +00:00
some minor speed improvements
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@20381 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
cdcd073840
commit
c81e5f5d65
1 changed files with 26 additions and 1 deletions
|
@ -485,6 +485,7 @@ static SEL appendStringSel = NULL;
|
||||||
(*_urlASImp)(_url,appendStringSel,@"?");
|
(*_urlASImp)(_url,appendStringSel,@"?");
|
||||||
(*_urlASImp)(_url,appendStringSel,_queryString);
|
(*_urlASImp)(_url,appendStringSel,_queryString);
|
||||||
};
|
};
|
||||||
|
_flags.composed=YES;
|
||||||
//NSDebugMLLog(@"low",@"url %@ class=%@",_url,[_url class]);
|
//NSDebugMLLog(@"low",@"url %@ class=%@",_url,[_url class]);
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -863,6 +864,10 @@ static SEL appendStringSel = NULL;
|
||||||
//--------------------------------------------------------------------
|
//--------------------------------------------------------------------
|
||||||
-(void)setURLApplicationName:(NSString*)aString
|
-(void)setURLApplicationName:(NSString*)aString
|
||||||
{
|
{
|
||||||
|
if (_applicationName==aString) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
LOGObjectFnStart();
|
LOGObjectFnStart();
|
||||||
ASSIGN(_applicationName,aString);
|
ASSIGN(_applicationName,aString);
|
||||||
_flags.beginningComposed=NO;
|
_flags.beginningComposed=NO;
|
||||||
|
@ -873,6 +878,10 @@ static SEL appendStringSel = NULL;
|
||||||
//--------------------------------------------------------------------
|
//--------------------------------------------------------------------
|
||||||
-(void)setURLPrefix:(NSString*)aString
|
-(void)setURLPrefix:(NSString*)aString
|
||||||
{
|
{
|
||||||
|
if (_prefix==aString) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
LOGObjectFnStart();
|
LOGObjectFnStart();
|
||||||
ASSIGN(_prefix,aString);
|
ASSIGN(_prefix,aString);
|
||||||
_flags.beginningComposed=NO;
|
_flags.beginningComposed=NO;
|
||||||
|
@ -884,6 +893,10 @@ static SEL appendStringSel = NULL;
|
||||||
//NDFN
|
//NDFN
|
||||||
-(void)setURLProtocol:(NSString*)aString
|
-(void)setURLProtocol:(NSString*)aString
|
||||||
{
|
{
|
||||||
|
if (_protocol==aString) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
LOGObjectFnStart();
|
LOGObjectFnStart();
|
||||||
ASSIGN(_protocol,aString);
|
ASSIGN(_protocol,aString);
|
||||||
_flags.beginningComposed=NO;
|
_flags.beginningComposed=NO;
|
||||||
|
@ -895,6 +908,10 @@ static SEL appendStringSel = NULL;
|
||||||
//NDFN
|
//NDFN
|
||||||
-(void)setURLHost:(NSString*)aString
|
-(void)setURLHost:(NSString*)aString
|
||||||
{
|
{
|
||||||
|
if (_host==aString) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
LOGObjectFnStart();
|
LOGObjectFnStart();
|
||||||
ASSIGN(_host,aString);
|
ASSIGN(_host,aString);
|
||||||
_flags.beginningComposed=NO;
|
_flags.beginningComposed=NO;
|
||||||
|
@ -906,8 +923,13 @@ static SEL appendStringSel = NULL;
|
||||||
//NDFN
|
//NDFN
|
||||||
-(void)setURLPortString:(NSString*)aString
|
-(void)setURLPortString:(NSString*)aString
|
||||||
{
|
{
|
||||||
|
int myport = [aString intValue];
|
||||||
|
|
||||||
LOGObjectFnStart();
|
LOGObjectFnStart();
|
||||||
_port=[aString intValue];
|
if (_port==myport) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
_port=myport;
|
||||||
_flags.beginningComposed=NO;
|
_flags.beginningComposed=NO;
|
||||||
_flags.composed=NO;
|
_flags.composed=NO;
|
||||||
LOGObjectFnStop();
|
LOGObjectFnStop();
|
||||||
|
@ -917,6 +939,9 @@ static SEL appendStringSel = NULL;
|
||||||
//NDFN
|
//NDFN
|
||||||
-(void)setURLPort:(int)port
|
-(void)setURLPort:(int)port
|
||||||
{
|
{
|
||||||
|
if (_port==port) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
LOGObjectFnStart();
|
LOGObjectFnStart();
|
||||||
_port=port;
|
_port=port;
|
||||||
_flags.beginningComposed=NO;
|
_flags.beginningComposed=NO;
|
||||||
|
|
Loading…
Reference in a new issue