You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by mi...@apache.org on 2007/06/18 14:55:02 UTC

svn commit: r548345 - in /webservices/axis2/scratch/c/guththila_ng: ./ axiom/src/parser/guththila/ guththila/ guththila/include/ guththila/src/

Author: milinda
Date: Mon Jun 18 05:55:00 2007
New Revision: 548345

URL: http://svn.apache.org/viewvc?view=rev&rev=548345
Log: (empty)

Modified:
    webservices/axis2/scratch/c/guththila_ng/axiom/src/parser/guththila/guththila_xml_writer_wrapper.c
    webservices/axis2/scratch/c/guththila_ng/configure.ac
    webservices/axis2/scratch/c/guththila_ng/guththila/configure.ac
    webservices/axis2/scratch/c/guththila_ng/guththila/include/guththila_attribute.h
    webservices/axis2/scratch/c/guththila_ng/guththila/include/guththila_buffer.h
    webservices/axis2/scratch/c/guththila_ng/guththila/include/guththila_error.h
    webservices/axis2/scratch/c/guththila_ng/guththila/include/guththila_namespace.h
    webservices/axis2/scratch/c/guththila_ng/guththila/include/guththila_reader.h
    webservices/axis2/scratch/c/guththila_ng/guththila/include/guththila_stack.h
    webservices/axis2/scratch/c/guththila_ng/guththila/include/guththila_token.h
    webservices/axis2/scratch/c/guththila_ng/guththila/include/guththila_xml_writer.h
    webservices/axis2/scratch/c/guththila_ng/guththila/src/guththila_attribute.c
    webservices/axis2/scratch/c/guththila_ng/guththila/src/guththila_buffer.c
    webservices/axis2/scratch/c/guththila_ng/guththila/src/guththila_namespace.c
    webservices/axis2/scratch/c/guththila_ng/guththila/src/guththila_token.c
    webservices/axis2/scratch/c/guththila_ng/guththila/src/guththila_xml_writer.c

Modified: webservices/axis2/scratch/c/guththila_ng/axiom/src/parser/guththila/guththila_xml_writer_wrapper.c
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/c/guththila_ng/axiom/src/parser/guththila/guththila_xml_writer_wrapper.c?view=diff&rev=548345&r1=548344&r2=548345
==============================================================================
--- webservices/axis2/scratch/c/guththila_ng/axiom/src/parser/guththila/guththila_xml_writer_wrapper.c (original)
+++ webservices/axis2/scratch/c/guththila_ng/axiom/src/parser/guththila/guththila_xml_writer_wrapper.c Mon Jun 18 05:55:00 2007
@@ -264,58 +264,12 @@
     int compression)
 {
     guththila_xml_writer_wrapper_impl_t *writer_impl;
-//
+
     axutil_allocator_t *allocator;
     AXIS2_ENV_CHECK(env, NULL);
-//
+
     writer_impl = (guththila_xml_writer_wrapper_impl_t *)AXIS2_MALLOC(env->allocator,
         sizeof(guththila_xml_writer_wrapper_impl_t));
-//
-//    if (!writer_impl)
-//    {
-//        AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
-//        return NULL;
-//    }
-//
-//    allocator = axutil_allocator_init(NULL);
-//    writer_impl->wr = guththila_xml_writer_create((axutil_env_t *)env, NULL);
-//
-//    if (!(writer_impl->parser))
-//    {
-//        AXIS2_FREE(env->allocator, writer_impl);
-//        AXIS2_FREE(env->allocator, allocator);
-//        AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
-//        return NULL;
-//    }
-//
-//    guththila_create_xml_stream_writer((axutil_env_t*) env,
-//        writer_impl->parser,
-//        filename);
-//
-//    if (!(writer_impl->parser->xsw))
-//    {
-//        AXIS2_FREE(env->allocator, writer_impl->parser);
-//        AXIS2_FREE(env->allocator, writer_impl);
-//        AXIS2_FREE(env->allocator, allocator);
-//        AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
-//        return NULL;
-//    }
-//
-//    writer_impl->writer.ops = NULL;
-//    writer_impl->writer.ops = (axiom_xml_writer_ops_t*)AXIS2_MALLOC(env->allocator,
-//sizeof(axiom_xml_writer_ops_t));
-//    if (!(writer_impl->writer.ops))
-//    {
-//        AXIS2_FREE(env->allocator, writer_impl);
-//        AXIS2_FREE(env->allocator, allocator);
-//
-//        AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
-//        return NULL;
-//    }
-//    /* ops */
-//    writer_impl->writer.ops = &axiom_xml_writer_ops_var;
-//
-//    return &(writer_impl->writer);
 	return &(writer_impl->writer);
 }
 
@@ -340,14 +294,6 @@
     }
 
     /* creating guththila parser */
-    //writer_impl->parser = guththila_create((axutil_env_t *)env, NULL);
-
-    //if (!(writer_impl->parser))
-    //{
-    //    AXIS2_FREE(env->allocator, writer_impl);
-    //    AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
-    //    return NULL;
-    //}
     /* guththila xml stream writer for memory */
     
 	writer_impl->wr = guththila_create_xml_stream_writer_for_memory();

Modified: webservices/axis2/scratch/c/guththila_ng/configure.ac
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/c/guththila_ng/configure.ac?view=diff&rev=548345&r1=548344&r2=548345
==============================================================================
--- webservices/axis2/scratch/c/guththila_ng/configure.ac (original)
+++ webservices/axis2/scratch/c/guththila_ng/configure.ac Mon Jun 18 05:55:00 2007
@@ -64,8 +64,8 @@
 #CFLAGS="$CFLAGS -ansi -Wall -D_LARGEFILE64_SOURCE -Wno-implicit-function-declaration"
 CFLAGS="$CFLAGS -D_LARGEFILE64_SOURCE"
 if test "$GCC" = "yes"; then
-    CFLAGS="$CFLAGS -ansi -Wall -Werror -Wno-implicit-function-declaration -g"
-#    CFLAGS="$CFLAGS -ansi -Wall -Wno-implicit-function-declaration"
+    CFLAGS="$CFLAGS -ansi -Wall -Wno-implicit-function-declaration -g"
+   # CFLAGS="$CFLAGS -ansi -Wall -Wno-implicit-function-declaration"
 fi
 LDFLAGS="$LDFLAGS -lpthread"
 

Modified: webservices/axis2/scratch/c/guththila_ng/guththila/configure.ac
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/c/guththila_ng/guththila/configure.ac?view=diff&rev=548345&r1=548344&r2=548345
==============================================================================
--- webservices/axis2/scratch/c/guththila_ng/guththila/configure.ac (original)
+++ webservices/axis2/scratch/c/guththila_ng/guththila/configure.ac Mon Jun 18 05:55:00 2007
@@ -50,7 +50,7 @@
 
 CFLAGS="$CFLAGS -D_LARGEFILE64_SOURCE"
 if test "$GCC" = "yes"; then
-    CFLAGS="$CFLAGS -ansi -ggdb3 -Wall -Wno-implicit-function-declaration -Werror"
+    CFLAGS="$CFLAGS -ansi -ggdb3 -Wall -Wno-implicit-function-declaration "
 fi
 
 LDFLAGS="$LDFLAGS -lpthread"

Modified: webservices/axis2/scratch/c/guththila_ng/guththila/include/guththila_attribute.h
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/c/guththila_ng/guththila/include/guththila_attribute.h?view=diff&rev=548345&r1=548344&r2=548345
==============================================================================
--- webservices/axis2/scratch/c/guththila_ng/guththila/include/guththila_attribute.h (original)
+++ webservices/axis2/scratch/c/guththila_ng/guththila/include/guththila_attribute.h Mon Jun 18 05:55:00 2007
@@ -50,4 +50,5 @@
 
 EXTERN_C_END()
 
-#endif
\ No newline at end of file
+#endif
+

Modified: webservices/axis2/scratch/c/guththila_ng/guththila/include/guththila_buffer.h
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/c/guththila_ng/guththila/include/guththila_buffer.h?view=diff&rev=548345&r1=548344&r2=548345
==============================================================================
--- webservices/axis2/scratch/c/guththila_ng/guththila/include/guththila_buffer.h (original)
+++ webservices/axis2/scratch/c/guththila_ng/guththila/include/guththila_buffer.h Mon Jun 18 05:55:00 2007
@@ -79,3 +79,4 @@
 
 EXTERN_C_END()
 #endif 
+

Modified: webservices/axis2/scratch/c/guththila_ng/guththila/include/guththila_error.h
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/c/guththila_ng/guththila/include/guththila_error.h?view=diff&rev=548345&r1=548344&r2=548345
==============================================================================
--- webservices/axis2/scratch/c/guththila_ng/guththila/include/guththila_error.h (original)
+++ webservices/axis2/scratch/c/guththila_ng/guththila/include/guththila_error.h Mon Jun 18 05:55:00 2007
@@ -95,4 +95,5 @@
 
 EXTERN_C_END()
 
-#endif
\ No newline at end of file
+#endif
+

Modified: webservices/axis2/scratch/c/guththila_ng/guththila/include/guththila_namespace.h
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/c/guththila_ng/guththila/include/guththila_namespace.h?view=diff&rev=548345&r1=548344&r2=548345
==============================================================================
--- webservices/axis2/scratch/c/guththila_ng/guththila/include/guththila_namespace.h (original)
+++ webservices/axis2/scratch/c/guththila_ng/guththila/include/guththila_namespace.h Mon Jun 18 05:55:00 2007
@@ -49,4 +49,5 @@
 
 EXTERN_C_END()
 
-#endif
\ No newline at end of file
+#endif
+

Modified: webservices/axis2/scratch/c/guththila_ng/guththila/include/guththila_reader.h
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/c/guththila_ng/guththila/include/guththila_reader.h?view=diff&rev=548345&r1=548344&r2=548345
==============================================================================
--- webservices/axis2/scratch/c/guththila_ng/guththila/include/guththila_reader.h (original)
+++ webservices/axis2/scratch/c/guththila_ng/guththila/include/guththila_reader.h Mon Jun 18 05:55:00 2007
@@ -74,3 +74,4 @@
 EXTERN_C_END()
 
 #endif
+

Modified: webservices/axis2/scratch/c/guththila_ng/guththila/include/guththila_stack.h
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/c/guththila_ng/guththila/include/guththila_stack.h?view=diff&rev=548345&r1=548344&r2=548345
==============================================================================
--- webservices/axis2/scratch/c/guththila_ng/guththila/include/guththila_stack.h (original)
+++ webservices/axis2/scratch/c/guththila_ng/guththila/include/guththila_stack.h Mon Jun 18 05:55:00 2007
@@ -56,4 +56,5 @@
 
 EXTERN_C_END()
 
-#endif
\ No newline at end of file
+#endif
+

Modified: webservices/axis2/scratch/c/guththila_ng/guththila/include/guththila_token.h
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/c/guththila_ng/guththila/include/guththila_token.h?view=diff&rev=548345&r1=548344&r2=548345
==============================================================================
--- webservices/axis2/scratch/c/guththila_ng/guththila/include/guththila_token.h (original)
+++ webservices/axis2/scratch/c/guththila_ng/guththila/include/guththila_token.h Mon Jun 18 05:55:00 2007
@@ -83,4 +83,5 @@
 
 EXTERN_C_END()
 
-#endif
\ No newline at end of file
+#endif
+

Modified: webservices/axis2/scratch/c/guththila_ng/guththila/include/guththila_xml_writer.h
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/c/guththila_ng/guththila/include/guththila_xml_writer.h?view=diff&rev=548345&r1=548344&r2=548345
==============================================================================
--- webservices/axis2/scratch/c/guththila_ng/guththila/include/guththila_xml_writer.h (original)
+++ webservices/axis2/scratch/c/guththila_ng/guththila/include/guththila_xml_writer.h Mon Jun 18 05:55:00 2007
@@ -256,4 +256,5 @@
 int GUTHTHILA_CALL guththila_write_xtoken(guththila_xml_writer_t *wr, char *buff, size_t buff_len);
 EXTERN_C_END()
 
-#endif
\ No newline at end of file
+#endif
+

Modified: webservices/axis2/scratch/c/guththila_ng/guththila/src/guththila_attribute.c
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/c/guththila_ng/guththila/src/guththila_attribute.c?view=diff&rev=548345&r1=548344&r2=548345
==============================================================================
--- webservices/axis2/scratch/c/guththila_ng/guththila/src/guththila_attribute.c (original)
+++ webservices/axis2/scratch/c/guththila_ng/guththila/src/guththila_attribute.c Mon Jun 18 05:55:00 2007
@@ -95,4 +95,5 @@
 	free(at_list->list);
 	guththila_stack_free_data(&at_list->fr_stack);
 	free(at_list);
-}
\ No newline at end of file
+}
+

Modified: webservices/axis2/scratch/c/guththila_ng/guththila/src/guththila_buffer.c
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/c/guththila_ng/guththila/src/guththila_buffer.c?view=diff&rev=548345&r1=548344&r2=548345
==============================================================================
--- webservices/axis2/scratch/c/guththila_ng/guththila/src/guththila_buffer.c (original)
+++ webservices/axis2/scratch/c/guththila_ng/guththila/src/guththila_buffer.c Mon Jun 18 05:55:00 2007
@@ -150,4 +150,6 @@
 	if (pos > buffer->pre_tot_data) {
 		return buffer->buff[buffer->cur_buff] + pos - buffer->pre_tot_data;
 	}
-}
\ No newline at end of file
+	return NULL;
+}
+

Modified: webservices/axis2/scratch/c/guththila_ng/guththila/src/guththila_namespace.c
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/c/guththila_ng/guththila/src/guththila_namespace.c?view=diff&rev=548345&r1=548344&r2=548345
==============================================================================
--- webservices/axis2/scratch/c/guththila_ng/guththila/src/guththila_namespace.c (original)
+++ webservices/axis2/scratch/c/guththila_ng/guththila/src/guththila_namespace.c Mon Jun 18 05:55:00 2007
@@ -95,4 +95,5 @@
 	free(namesp_list->list);
 	guththila_stack_free_data(&namesp_list->fr_stack);
 	free(namesp_list);
-}
\ No newline at end of file
+}
+

Modified: webservices/axis2/scratch/c/guththila_ng/guththila/src/guththila_token.c
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/c/guththila_ng/guththila/src/guththila_token.c?view=diff&rev=548345&r1=548344&r2=548345
==============================================================================
--- webservices/axis2/scratch/c/guththila_ng/guththila/src/guththila_token.c (original)
+++ webservices/axis2/scratch/c/guththila_ng/guththila/src/guththila_token.c Mon Jun 18 05:55:00 2007
@@ -159,4 +159,5 @@
 		}
 	}
 	return 0;
-}
\ No newline at end of file
+}
+

Modified: webservices/axis2/scratch/c/guththila_ng/guththila/src/guththila_xml_writer.c
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/c/guththila_ng/guththila/src/guththila_xml_writer.c?view=diff&rev=548345&r1=548344&r2=548345
==============================================================================
--- webservices/axis2/scratch/c/guththila_ng/guththila/src/guththila_xml_writer.c (original)
+++ webservices/axis2/scratch/c/guththila_ng/guththila/src/guththila_xml_writer.c Mon Jun 18 05:55:00 2007
@@ -1255,4 +1255,5 @@
 {
 	guththila_write(wr, buff, size);
 	return GUTHTHILA_SUCCESS;
-}
\ No newline at end of file
+}
+



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org