Author: rfm
Date: Mon Nov  2 00:28:18 2015
New Revision: 39114

URL: http://svn.gna.org/viewcvs/gnustep?rev=39114&view=rev
Log:
another stub

Modified:
    libs/base/trunk/Source/NSString.m
    libs/base/trunk/Source/NSXMLNode.m

Modified: libs/base/trunk/Source/NSString.m
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/base/trunk/Source/NSString.m?rev=39114&r1=39113&r2=39114&view=diff
==============================================================================
--- libs/base/trunk/Source/NSString.m   (original)
+++ libs/base/trunk/Source/NSString.m   Mon Nov  2 00:28:18 2015
@@ -107,6 +107,22 @@
 #if     defined(HAVE_UNICODE_USEARCH_H)
 # include <unicode/usearch.h>
 #endif
+
+/* Create local inline versions of key functions for case-insensitive 
operations
+ */
+#import "Additions/unicode/caseconv.h"
+static inline unichar
+uni_toupper(unichar ch)
+{
+  unichar result = gs_toupper_map[ch / 256][ch % 256];
+  return result ? result : ch;
+}
+static inline unichar
+uni_tolower(unichar ch)
+{
+  unichar result = gs_tolower_map[ch / 256][ch % 256];
+  return result ? result : ch;
+}
 
 #import "GNUstepBase/Unicode.h"
 

Modified: libs/base/trunk/Source/NSXMLNode.m
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/base/trunk/Source/NSXMLNode.m?rev=39114&r1=39113&r2=39114&view=diff
==============================================================================
--- libs/base/trunk/Source/NSXMLNode.m  (original)
+++ libs/base/trunk/Source/NSXMLNode.m  Mon Nov  2 00:28:18 2015
@@ -2090,4 +2090,272 @@
 }
 @end
 
+#else
+
+#import "Foundation/NSXMLNode.h"
+
+@implementation NSXMLNode
+
++ (id) attributeWithName: (NSString*)name
+            stringValue: (NSString*)stringValue
+{
+  return nil;
+}
+
++ (id) attributeWithName: (NSString*)name
+                    URI: (NSString*)URI
+            stringValue: (NSString*)stringValue
+{
+  return nil;
+}
+
++ (id) commentWithStringValue: (NSString*)stringValue
+{
+  return nil;
+}
+
++ (id) DTDNodeWithXMLString: (NSString*)string
+{
+  return nil;
+}
+
++ (id) document
+{
+  return nil;
+}
+
++ (id) documentWithRootElement: (NSXMLElement*)element
+{
+  return nil;
+}
+
++ (id) elementWithName: (NSString*)name
+{
+  return nil;
+}
+
++ (id) elementWithName: (NSString*)name
+             children: (NSArray*)children
+           attributes: (NSArray*)attributes
+{
+  return nil;
+}
+
++ (id) elementWithName: (NSString*)name
+                  URI: (NSString*)URI
+{
+  return nil;
+}
+
++ (id) elementWithName: (NSString*)name
+          stringValue: (NSString*)string
+{
+  return nil;
+}
+
++ (NSString*) localNameForName: (NSString*)name
+{
+  return nil;
+}
+
++ (id) namespaceWithName: (NSString*)name
+            stringValue: (NSString*)stringValue
+{
+  return nil;
+}
+
++ (NSXMLNode*) predefinedNamespaceForPrefix: (NSString*)name
+{
+  return nil;
+}
+
++ (NSString*) prefixForName: (NSString*)name
+{
+  return nil;
+}
+
++ (id) processingInstructionWithName: (NSString*)name
+                        stringValue: (NSString*)stringValue
+{
+  return nil;
+}
+
++ (id) textWithStringValue: (NSString*)stringValue
+{
+  return nil;
+}
+
+- (NSString*) canonicalXMLStringPreservingComments: (BOOL)comments
+{
+  return nil;
+}
+
+- (NSXMLNode*) childAtIndex: (NSUInteger)index
+{
+  return nil;
+}
+
+- (NSUInteger) childCount
+{
+  return 0;
+}
+
+- (NSArray*) children
+{
+  return nil;
+}
+
+- (id) copyWithZone: (NSZone*)zone
+{
+  return nil;
+}
+
+- (void) detach
+{
+}
+
+- (NSUInteger) index
+{
+  return 0;
+}
+
+- (id) init
+{
+  DESTROY(self);
+  return nil;
+}
+
+- (id) initWithKind: (NSXMLNodeKind)theKind
+{
+  return [self init];
+}
+
+- (id) initWithKind: (NSXMLNodeKind)theKind options: (NSUInteger)theOptions
+{
+  return [self init];
+}
+
+- (NSXMLNodeKind) kind
+{
+  return 0;
+}
+
+- (NSUInteger) level
+{
+  return 0;
+}
+
+- (NSString*) localName
+{
+  return nil;
+}
+
+- (NSString*) name
+{
+  return nil;
+}
+
+- (NSXMLNode*) nextNode
+{
+  return nil;
+}
+
+- (NSXMLNode*) nextSibling
+{
+  return nil;
+}
+
+- (id) objectValue
+{
+  return nil;
+}
+
+- (NSXMLNode*) parent
+{
+  return nil;
+}
+
+- (NSString*) prefix
+{
+  return nil;
+}
+
+- (NSXMLNode*) previousNode
+{
+  return nil;
+}
+
+- (NSXMLNode*) previousSibling
+{
+  return nil;
+}
+
+- (NSXMLDocument*) rootDocument
+{
+  return nil;
+}
+
+- (NSString*) stringValue
+{
+  return nil;
+}
+
+- (void) setObjectValue: (id)value
+{
+}
+
+- (void) setName: (NSString *)name
+{
+}
+
+- (void) setStringValue: (NSString*)string
+{
+}
+
+- (void) setStringValue: (NSString*)string resolvingEntities: (BOOL)resolve
+{
+}
+
+- (void) setURI: (NSString*)URI
+{
+}
+
+- (NSString*) URI
+{
+  return nil;
+}
+
+- (NSString*) XMLString
+{
+  return nil;
+}
+
+- (NSString*) XMLStringWithOptions: (NSUInteger)theOptions
+{
+  return nil;
+}
+
+- (NSString*) XPath
+{
+  return nil;
+}
+
+- (NSArray*) nodesForXPath: (NSString*)anxpath error: (NSError**)error
+{
+  return nil;
+}
+
+ - (NSArray*) objectsForXQuery: (NSString*)xquery
+                    constants: (NSDictionary*)constants
+                        error: (NSError**)error
+{
+  return nil;
+}
+
+- (NSArray*) objectsForXQuery: (NSString*)xquery error: (NSError**)error
+{
+  return nil;
+}
+@end
+
 #endif /* HAVE_LIBXML */


_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs

Reply via email to