You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by au...@locus.apache.org on 2000/11/30 20:41:08 UTC

cvs commit: xml-xalan/c/src/XPath XNodeSetAllocator.cpp XNumberAllocator.cpp XPathEnvSupportDefault.cpp XPathExecutionContextDefault.cpp XPathExecutionContextDefault.hpp XPathExpression.cpp XStringAllocator.cpp

auriemma    00/11/30 11:41:07

  Modified:    c/src/XPath XNodeSetAllocator.cpp XNumberAllocator.cpp
                        XPathEnvSupportDefault.cpp
                        XPathExecutionContextDefault.cpp
                        XPathExecutionContextDefault.hpp
                        XPathExpression.cpp XStringAllocator.cpp
  Log:
  HP port based on work from Trevor Smigiel and Troy Heber.
  
  Revision  Changes    Path
  1.2       +1 -1      xml-xalan/c/src/XPath/XNodeSetAllocator.cpp
  
  Index: XNodeSetAllocator.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XPath/XNodeSetAllocator.cpp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- XNodeSetAllocator.cpp	2000/10/13 21:24:02	1.1
  +++ XNodeSetAllocator.cpp	2000/11/30 19:40:57	1.2
  @@ -116,4 +116,4 @@
   XNodeSetAllocator::reset()
   {
   	m_allocator.reset();
  -}
  \ No newline at end of file
  +}
  
  
  
  1.2       +1 -1      xml-xalan/c/src/XPath/XNumberAllocator.cpp
  
  Index: XNumberAllocator.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XPath/XNumberAllocator.cpp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- XNumberAllocator.cpp	2000/10/13 21:24:02	1.1
  +++ XNumberAllocator.cpp	2000/11/30 19:40:57	1.2
  @@ -115,4 +115,4 @@
   XNumberAllocator::reset()
   {
   	m_allocator.reset();
  -}
  \ No newline at end of file
  +}
  
  
  
  1.22      +7 -0      xml-xalan/c/src/XPath/XPathEnvSupportDefault.cpp
  
  Index: XPathEnvSupportDefault.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XPath/XPathEnvSupportDefault.cpp,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- XPathEnvSupportDefault.cpp	2000/11/21 21:08:33	1.21
  +++ XPathEnvSupportDefault.cpp	2000/11/30 19:40:58	1.22
  @@ -62,7 +62,14 @@
   
   
   #include <algorithm>
  +
  +
  +
  +#if defined(XALAN_OLD_STREAM_HEADERS)
  +#include <iostream.h>
  +#else
   #include <iostream>
  +#endif
   
   
   
  
  
  
  1.26      +1 -1      xml-xalan/c/src/XPath/XPathExecutionContextDefault.cpp
  
  Index: XPathExecutionContextDefault.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XPath/XPathExecutionContextDefault.cpp,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- XPathExecutionContextDefault.cpp	2000/11/21 21:08:36	1.25
  +++ XPathExecutionContextDefault.cpp	2000/11/30 19:40:58	1.26
  @@ -382,7 +382,7 @@
   #endif
   
   	// Search from the back to the front, since we push the latest borrowed on the back.
  -	const NodeRefListCacheType::reverse_iterator	i =
  +	NodeRefListCacheType::reverse_iterator	i =
   		find(m_busyCachedNodeLists.rbegin(), m_busyCachedNodeLists.rend(), theList);
   
   	if (i == m_busyCachedNodeLists.rend())
  
  
  
  1.26      +1 -2      xml-xalan/c/src/XPath/XPathExecutionContextDefault.hpp
  
  Index: XPathExecutionContextDefault.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XPath/XPathExecutionContextDefault.hpp,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- XPathExecutionContextDefault.hpp	2000/11/21 21:08:37	1.25
  +++ XPathExecutionContextDefault.hpp	2000/11/30 19:40:59	1.26
  @@ -110,8 +110,7 @@
   	 * @param theCurrentNode     current node in the source tree
   	 * @param theContextNodeList node list for current context
   	 * @param thePrefixResolver  pointer to prefix resolver to use
  -	 */
  -	explicit
  +	 */	
   	XPathExecutionContextDefault(
   			XPathEnvSupport&		theXPathEnvSupport,
   			XPathSupport&			theXPathSupport,
  
  
  
  1.20      +7 -0      xml-xalan/c/src/XPath/XPathExpression.cpp
  
  Index: XPathExpression.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XPath/XPathExpression.cpp,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- XPathExpression.cpp	2000/11/21 21:08:38	1.19
  +++ XPathExpression.cpp	2000/11/30 19:40:59	1.20
  @@ -61,7 +61,14 @@
   
   #include <algorithm>
   #include <cstdio>
  +
  +
  +
  +#if defined(XALAN_OLD_STREAM_HEADERS)
  +#include <strstream.h>
  +#else
   #include <strstream>
  +#endif
   
   
   
  
  
  
  1.3       +1 -1      xml-xalan/c/src/XPath/XStringAllocator.cpp
  
  Index: XStringAllocator.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XPath/XStringAllocator.cpp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- XStringAllocator.cpp	2000/11/20 20:04:32	1.2
  +++ XStringAllocator.cpp	2000/11/30 19:41:00	1.3
  @@ -147,4 +147,4 @@
   XStringAllocator::reset()
   {
   	m_allocator.reset();
  -}
  \ No newline at end of file
  +}