You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by an...@locus.apache.org on 2000/10/17 02:52:01 UTC
cvs commit: xml-xerces/c/src/util/Compilers BorlandCDefs.hpp CSetDefs.hpp GCCDefs.hpp IBMVAOS2Defs.hpp MVSCPPDefs.hpp SunCCDefs.hpp
andyh 00/10/16 17:52:01
Modified: c/src/util/Compilers BorlandCDefs.hpp CSetDefs.hpp
GCCDefs.hpp IBMVAOS2Defs.hpp MVSCPPDefs.hpp
SunCCDefs.hpp
Log:
Change XMLCh back to unsigned short on all platforms.
Revision Changes Path
1.7 +15 -15 xml-xerces/c/src/util/Compilers/BorlandCDefs.hpp
Index: BorlandCDefs.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/util/Compilers/BorlandCDefs.hpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- BorlandCDefs.hpp 2000/09/07 00:07:12 1.6
+++ BorlandCDefs.hpp 2000/10/17 00:52:00 1.7
@@ -1,37 +1,37 @@
/*
* The Apache Software License, Version 1.1
- *
+ *
* Copyright (c) 1999-2000 The Apache Software Foundation. All rights
* reserved.
- *
+ *
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
- *
+ *
* 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
+ * notice, this list of conditions and the following disclaimer.
+ *
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
- *
+ *
* 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
+ * if any, must include the following acknowledgment:
* "This product includes software developed by the
* Apache Software Foundation (http://www.apache.org/)."
* Alternately, this acknowledgment may appear in the software itself,
* if and wherever such third-party acknowledgments normally appear.
- *
+ *
* 4. The names "Xerces" and "Apache Software Foundation" must
* not be used to endorse or promote products derived from this
- * software without prior written permission. For written
+ * software without prior written permission. For written
* permission, please contact apache\@apache.org.
- *
+ *
* 5. Products derived from this software may not be called "Apache",
* nor may "Apache" appear in their name, without prior written
* permission of the Apache Software Foundation.
- *
+ *
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
@@ -45,7 +45,7 @@
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
* ====================================================================
- *
+ *
* This software consists of voluntary contributions made by many
* individuals on behalf of the Apache Software Foundation, and was
* originally based on software copyright (c) 1999, International
@@ -55,7 +55,7 @@
*/
/*
- * $Id: BorlandCDefs.hpp,v 1.6 2000/09/07 00:07:12 aruna1 Exp $
+ * $Id: BorlandCDefs.hpp,v 1.7 2000/10/17 00:52:00 andyh Exp $
*/
@@ -85,8 +85,8 @@
// ---------------------------------------------------------------------------
// Define our version of the XML character
// ---------------------------------------------------------------------------
-typedef wchar_t XMLCh;
-
+// typedef wchar_t XMLCh;
+typedef unsigned short XMLCh;
// ---------------------------------------------------------------------------
// Define our version of a strict UTF16 character
1.9 +17 -14 xml-xerces/c/src/util/Compilers/CSetDefs.hpp
Index: CSetDefs.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/util/Compilers/CSetDefs.hpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- CSetDefs.hpp 2000/03/09 18:54:44 1.8
+++ CSetDefs.hpp 2000/10/17 00:52:00 1.9
@@ -1,37 +1,37 @@
/*
* The Apache Software License, Version 1.1
- *
+ *
* Copyright (c) 1999-2000 The Apache Software Foundation. All rights
* reserved.
- *
+ *
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
- *
+ *
* 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
+ * notice, this list of conditions and the following disclaimer.
+ *
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
- *
+ *
* 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
+ * if any, must include the following acknowledgment:
* "This product includes software developed by the
* Apache Software Foundation (http://www.apache.org/)."
* Alternately, this acknowledgment may appear in the software itself,
* if and wherever such third-party acknowledgments normally appear.
- *
+ *
* 4. The names "Xerces" and "Apache Software Foundation" must
* not be used to endorse or promote products derived from this
- * software without prior written permission. For written
+ * software without prior written permission. For written
* permission, please contact apache\@apache.org.
- *
+ *
* 5. Products derived from this software may not be called "Apache",
* nor may "Apache" appear in their name, without prior written
* permission of the Apache Software Foundation.
- *
+ *
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
@@ -45,7 +45,7 @@
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
* ====================================================================
- *
+ *
* This software consists of voluntary contributions made by many
* individuals on behalf of the Apache Software Foundation, and was
* originally based on software copyright (c) 1999, International
@@ -56,6 +56,9 @@
/*
* $Log: CSetDefs.hpp,v $
+ * Revision 1.9 2000/10/17 00:52:00 andyh
+ * Change XMLCh back to unsigned short on all platforms.
+ *
* Revision 1.8 2000/03/09 18:54:44 abagchi
* Added header-guards to include inlines only once
*
@@ -111,7 +114,7 @@
// Define our version of the XML character
// ---------------------------------------------------------------------------
//typedef unsigned short XMLCh;
-typedef wchar_t XMLCh;
+typedef unsigned short XMLCh;
// ---------------------------------------------------------------------------
// Define unsigned 16 and 32 bits integers
@@ -131,7 +134,7 @@
// ---------------------------------------------------------------------------
// Provide some common string ops that are different/notavail on CSet
// ---------------------------------------------------------------------------
-inline char toupper(const char toUpper)
+inline char toupper(const char toUpper)
{
if ((toUpper >= 'a') && (toUpper <= 'z'))
return char(toUpper - 0x20);
1.11 +18 -15 xml-xerces/c/src/util/Compilers/GCCDefs.hpp
Index: GCCDefs.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/util/Compilers/GCCDefs.hpp,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- GCCDefs.hpp 2000/03/09 01:22:29 1.10
+++ GCCDefs.hpp 2000/10/17 00:52:00 1.11
@@ -1,37 +1,37 @@
/*
* The Apache Software License, Version 1.1
- *
+ *
* Copyright (c) 1999-2000 The Apache Software Foundation. All rights
* reserved.
- *
+ *
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
- *
+ *
* 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
+ * notice, this list of conditions and the following disclaimer.
+ *
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
- *
+ *
* 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
+ * if any, must include the following acknowledgment:
* "This product includes software developed by the
* Apache Software Foundation (http://www.apache.org/)."
* Alternately, this acknowledgment may appear in the software itself,
* if and wherever such third-party acknowledgments normally appear.
- *
+ *
* 4. The names "Xerces" and "Apache Software Foundation" must
* not be used to endorse or promote products derived from this
- * software without prior written permission. For written
+ * software without prior written permission. For written
* permission, please contact apache\@apache.org.
- *
+ *
* 5. Products derived from this software may not be called "Apache",
* nor may "Apache" appear in their name, without prior written
* permission of the Apache Software Foundation.
- *
+ *
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
@@ -45,7 +45,7 @@
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
* ====================================================================
- *
+ *
* This software consists of voluntary contributions made by many
* individuals on behalf of the Apache Software Foundation, and was
* originally based on software copyright (c) 1999, International
@@ -56,6 +56,9 @@
/*
* $Log: GCCDefs.hpp,v $
+ * Revision 1.11 2000/10/17 00:52:00 andyh
+ * Change XMLCh back to unsigned short on all platforms.
+ *
* Revision 1.10 2000/03/09 01:22:29 abagchi
* Added header guards to include inlines only once
*
@@ -114,8 +117,8 @@
// ---------------------------------------------------------------------------
// Define our version of the XML character
// ---------------------------------------------------------------------------
-// typedef unsigned short XMLCh; // is another option, now considered old
-typedef wchar_t XMLCh;
+// typedef wchar_t XMLCh; // is another option, now considered old
+typedef unsigned short XMLCh;
// ---------------------------------------------------------------------------
// Define unsigned 16 and 32 bits integers
@@ -134,7 +137,7 @@
// ---------------------------------------------------------------------------
// Provide some common string ops that are different/notavail on GCC
// ---------------------------------------------------------------------------
-inline char toupper(const char toUpper)
+inline char toupper(const char toUpper)
{
if ((toUpper >= 'a') && (toUpper <= 'z'))
return char(toUpper - 0x20);
1.7 +15 -15 xml-xerces/c/src/util/Compilers/IBMVAOS2Defs.hpp
Index: IBMVAOS2Defs.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/util/Compilers/IBMVAOS2Defs.hpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- IBMVAOS2Defs.hpp 2000/06/22 22:20:35 1.6
+++ IBMVAOS2Defs.hpp 2000/10/17 00:52:00 1.7
@@ -1,37 +1,37 @@
/*
* The Apache Software License, Version 1.1
- *
+ *
* Copyright (c) 1999-2000 The Apache Software Foundation. All rights
* reserved.
- *
+ *
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
- *
+ *
* 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
+ * notice, this list of conditions and the following disclaimer.
+ *
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
- *
+ *
* 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
+ * if any, must include the following acknowledgment:
* "This product includes software developed by the
* Apache Software Foundation (http://www.apache.org/)."
* Alternately, this acknowledgment may appear in the software itself,
* if and wherever such third-party acknowledgments normally appear.
- *
+ *
* 4. The names "Xerces" and "Apache Software Foundation" must
* not be used to endorse or promote products derived from this
- * software without prior written permission. For written
+ * software without prior written permission. For written
* permission, please contact apache\@apache.org.
- *
+ *
* 5. Products derived from this software may not be called "Apache",
* nor may "Apache" appear in their name, without prior written
* permission of the Apache Software Foundation.
- *
+ *
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
@@ -45,7 +45,7 @@
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
* ====================================================================
- *
+ *
* This software consists of voluntary contributions made by many
* individuals on behalf of the Apache Software Foundation, and was
* originally based on software copyright (c) 1999, International
@@ -55,7 +55,7 @@
*/
/*
- * $Id: IBMVAOS2Defs.hpp,v 1.6 2000/06/22 22:20:35 aruna1 Exp $
+ * $Id: IBMVAOS2Defs.hpp,v 1.7 2000/10/17 00:52:00 andyh Exp $
*/
@@ -86,8 +86,8 @@
// ---------------------------------------------------------------------------
// Define our version of the XMLCh.
// ---------------------------------------------------------------------------
-//typedef unsigned short XMLCh;
-typedef wchar_t XMLCh;
+typedef unsigned short XMLCh;
+// typedef wchar_t XMLCh;
// ---------------------------------------------------------------------------
// Define unsigned 16 and 32 bits integers
1.7 +5 -2 xml-xerces/c/src/util/Compilers/MVSCPPDefs.hpp
Index: MVSCPPDefs.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/util/Compilers/MVSCPPDefs.hpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- MVSCPPDefs.hpp 2000/03/09 18:54:44 1.6
+++ MVSCPPDefs.hpp 2000/10/17 00:52:00 1.7
@@ -56,6 +56,9 @@
/*
* $Log: MVSCPPDefs.hpp,v $
+ * Revision 1.7 2000/10/17 00:52:00 andyh
+ * Change XMLCh back to unsigned short on all platforms.
+ *
* Revision 1.6 2000/03/09 18:54:44 abagchi
* Added header-guards to include inlines only once
*
@@ -119,8 +122,8 @@
// ---------------------------------------------------------------------------
// Define our version of the XML character
// ---------------------------------------------------------------------------
-//typedef unsigned short XMLCh;
-typedef wchar_t XMLCh;
+typedef unsigned short XMLCh;
+// typedef wchar_t XMLCh;
// ---------------------------------------------------------------------------
// Define unsigned 16 and 32 bits integers
1.11 +5 -1 xml-xerces/c/src/util/Compilers/SunCCDefs.hpp
Index: SunCCDefs.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/util/Compilers/SunCCDefs.hpp,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- SunCCDefs.hpp 2000/10/13 23:38:37 1.10
+++ SunCCDefs.hpp 2000/10/17 00:52:00 1.11
@@ -56,6 +56,9 @@
/*
* $Log: SunCCDefs.hpp,v $
+ * Revision 1.11 2000/10/17 00:52:00 andyh
+ * Change XMLCh back to unsigned short on all platforms.
+ *
* Revision 1.10 2000/10/13 23:38:37 andyh
* Solaris: change detection for native support for type bool to defined(_BOOL)
* Contributed by Edward Bortner.
@@ -116,7 +119,7 @@
// ---------------------------------------------------------------------------
// Define our version of the XML character
// ---------------------------------------------------------------------------
-typedef wchar_t XMLCh;
+typedef unsigned short XMLCh;
// ---------------------------------------------------------------------------