mirror of
https://github.com/gnustep/libs-gsweb.git
synced 2025-05-31 09:11:11 +00:00
2000-11-01 Manuel Guesdon <mguesdon@orange-concept.com>
* GSWeb.framework/GSWApplication.m: removed a trace * GSWeb.framework/GSWTemplateParserXML.m: fix XML properties key case bug * GSWeb.framework/GSWElementIDString.[hm]: changed implementation to conform to NSString cluster. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@7968 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
89c644876b
commit
4f956cb725
5 changed files with 21 additions and 7 deletions
|
@ -1,3 +1,11 @@
|
||||||
|
2000-11-01 Manuel Guesdon <mguesdon@orange-concept.com>
|
||||||
|
|
||||||
|
* GSWeb.framework/GSWApplication.m: removed a trace
|
||||||
|
* GSWeb.framework/GSWTemplateParserXML.m: fix XML
|
||||||
|
properties key case bug
|
||||||
|
* GSWeb.framework/GSWElementIDString.[hm]: changed
|
||||||
|
implementation to conform to NSString cluster.
|
||||||
|
|
||||||
2000-11-01 Mirko Viviani <mirko.viviani@rccr.cremona.it>
|
2000-11-01 Mirko Viviani <mirko.viviani@rccr.cremona.it>
|
||||||
|
|
||||||
* GSWeb.framework/GSWApplication.m (GSWApplicationMain): fixed path
|
* GSWeb.framework/GSWApplication.m (GSWApplicationMain): fixed path
|
||||||
|
|
|
@ -769,7 +769,6 @@ int GSWApplicationMain(NSString* _applicationClassName,
|
||||||
NSString* _path=nil;
|
NSString* _path=nil;
|
||||||
LOGObjectFnStart();
|
LOGObjectFnStart();
|
||||||
NSDebugMLLog(@"bundles",@"[GSWResourceManager _applicationGSWBundle]:%@",[GSWResourceManager _applicationGSWBundle]);
|
NSDebugMLLog(@"bundles",@"[GSWResourceManager _applicationGSWBundle]:%@",[GSWResourceManager _applicationGSWBundle]);
|
||||||
GSWLogDumpObject([GSWResourceManager _applicationGSWBundle],2);
|
|
||||||
_path=[[GSWResourceManager _applicationGSWBundle] path]; //return : H:\Wotests\ObjCTest3
|
_path=[[GSWResourceManager _applicationGSWBundle] path]; //return : H:\Wotests\ObjCTest3
|
||||||
NSDebugMLLog(@"low",@"_path:%@",_path);
|
NSDebugMLLog(@"low",@"_path:%@",_path);
|
||||||
LOGObjectFnStop();
|
LOGObjectFnStop();
|
||||||
|
|
|
@ -26,13 +26,16 @@
|
||||||
#ifndef _GSWElementIDString_h__
|
#ifndef _GSWElementIDString_h__
|
||||||
#define _GSWElementIDString_h__
|
#define _GSWElementIDString_h__
|
||||||
|
|
||||||
|
/*
|
||||||
//====================================================================
|
//====================================================================
|
||||||
@interface GSWElementIDString : NSMutableString
|
@interface GSWElementIDString : NSMutableString
|
||||||
@end
|
@end
|
||||||
|
*/
|
||||||
//====================================================================
|
//====================================================================
|
||||||
|
/*
|
||||||
@interface GSWElementIDString (GSWElementIDStringGSW)
|
@interface GSWElementIDString (GSWElementIDStringGSW)
|
||||||
|
*/
|
||||||
|
@interface NSMutableString (GSWElementIDStringGSW)
|
||||||
-(void)deleteAllElementIDComponents;
|
-(void)deleteAllElementIDComponents;
|
||||||
-(void)deleteLastElementIDComponent;
|
-(void)deleteLastElementIDComponent;
|
||||||
-(void)incrementLastElementIDComponent;
|
-(void)incrementLastElementIDComponent;
|
||||||
|
@ -44,6 +47,8 @@
|
||||||
#endif
|
#endif
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
#define GSWElementIDString NSMutableString
|
||||||
|
|
||||||
#endif //_GSWElementIDString_h__
|
#endif //_GSWElementIDString_h__
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -25,9 +25,10 @@ static char rcsId[] = "$Id$";
|
||||||
|
|
||||||
#include <GSWeb/GSWeb.h>
|
#include <GSWeb/GSWeb.h>
|
||||||
|
|
||||||
|
#undef GSWElementIDString
|
||||||
|
/*
|
||||||
//====================================================================
|
//====================================================================
|
||||||
@implementation GSWElementIDString
|
@implementation GSWElementIDString
|
||||||
|
|
||||||
//--------------------------------------------------------------------
|
//--------------------------------------------------------------------
|
||||||
-(id)copyWithZone:(NSZone*)zone
|
-(id)copyWithZone:(NSZone*)zone
|
||||||
{
|
{
|
||||||
|
@ -39,10 +40,11 @@ static char rcsId[] = "$Id$";
|
||||||
{
|
{
|
||||||
return [[[self class] allocWithZone: zone] initWithString: self];
|
return [[[self class] allocWithZone: zone] initWithString: self];
|
||||||
};
|
};
|
||||||
@end
|
|
||||||
|
|
||||||
|
@end
|
||||||
|
*/
|
||||||
//====================================================================
|
//====================================================================
|
||||||
@implementation GSWElementIDString (GSWElementIDStringGSW)
|
@implementation NSMutableString (GSWElementIDStringGSW)
|
||||||
|
|
||||||
//--------------------------------------------------------------------
|
//--------------------------------------------------------------------
|
||||||
-(void)deleteAllElementIDComponents
|
-(void)deleteAllElementIDComponents
|
||||||
|
|
|
@ -643,7 +643,7 @@ text [Type:XML_TEXT_NODE] [{}] ####
|
||||||
};
|
};
|
||||||
//if (currentNode->type==XML_ELEMENT_NODE)
|
//if (currentNode->type==XML_ELEMENT_NODE)
|
||||||
{
|
{
|
||||||
nodeAttributes=[currentNode propertiesAsDictionary];
|
nodeAttributes=[currentNode propertiesAsDictionaryWithKeyTransformationSel:@selector(lowercaseString)];
|
||||||
nodeNameAttribute=[nodeAttributes objectForKey:@"name"];
|
nodeNameAttribute=[nodeAttributes objectForKey:@"name"];
|
||||||
NSDebugMLog(@"node=%p nodeAttributes=%@",currentNode,nodeAttributes);
|
NSDebugMLog(@"node=%p nodeAttributes=%@",currentNode,nodeAttributes);
|
||||||
NSDebugMLog(@"node=%p nodeNameAttribute=%@",currentNode,nodeNameAttribute);
|
NSDebugMLog(@"node=%p nodeNameAttribute=%@",currentNode,nodeNameAttribute);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue