axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@apache.org
Subject svn commit: r368012 - in /webservices/axis2/trunk/c: configure.ac modules/core/Makefile.am modules/util/array_list.c test/core/Makefile.am test/core/context/test_context.c test/util/test_util.c
Date Wed, 11 Jan 2006 11:47:26 GMT
Author: samisa
Date: Wed Jan 11 03:47:01 2006
New Revision: 368012

URL: http://svn.apache.org/viewcvs?rev=368012&view=rev
Log:
Fixed the array list capacity problem. Also fixed the make system to be in sync with the removal
of empty handler folder

Modified:
    webservices/axis2/trunk/c/configure.ac
    webservices/axis2/trunk/c/modules/core/Makefile.am
    webservices/axis2/trunk/c/modules/util/array_list.c
    webservices/axis2/trunk/c/test/core/Makefile.am
    webservices/axis2/trunk/c/test/core/context/test_context.c
    webservices/axis2/trunk/c/test/util/test_util.c

Modified: webservices/axis2/trunk/c/configure.ac
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/configure.ac?rev=368012&r1=368011&r2=368012&view=diff
==============================================================================
--- webservices/axis2/trunk/c/configure.ac (original)
+++ webservices/axis2/trunk/c/configure.ac Wed Jan 11 03:47:01 2006
@@ -89,7 +89,6 @@
     modules/core/description/Makefile \
     modules/core/context/Makefile \
     modules/core/engine/Makefile \
-    modules/core/handlers/Makefile \
     modules/core/addr/Makefile \
     modules/core/phaseresolver/Makefile \
     modules/core/transport/Makefile \
@@ -112,7 +111,6 @@
     test/xml/Makefile \
     test/xml/om/Makefile \
     test/core/Makefile \
-    test/core/handlers/Makefile \
     test/core/description/Makefile \
     test/core/context/Makefile \
     test/core/clientapi/Makefile \

Modified: webservices/axis2/trunk/c/modules/core/Makefile.am
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/Makefile.am?rev=368012&r1=368011&r2=368012&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/Makefile.am (original)
+++ webservices/axis2/trunk/c/modules/core/Makefile.am Wed Jan 11 03:47:01 2006
@@ -1 +1 @@
-SUBDIRS = context engine handlers phaseresolver transport description deployment addr receivers
clientapi util
+SUBDIRS = context engine phaseresolver transport description deployment addr receivers clientapi
util

Modified: webservices/axis2/trunk/c/modules/util/array_list.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/util/array_list.c?rev=368012&r1=368011&r2=368012&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/util/array_list.c (original)
+++ webservices/axis2/trunk/c/modules/util/array_list.c Wed Jan 11 03:47:01 2006
@@ -153,6 +153,7 @@
             AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
             return AXIS2_FAILURE;
         }
+        array_list_impl->capacity = new_capacity;
     }
     return AXIS2_SUCCESS;
 }

Modified: webservices/axis2/trunk/c/test/core/Makefile.am
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/test/core/Makefile.am?rev=368012&r1=368011&r2=368012&view=diff
==============================================================================
--- webservices/axis2/trunk/c/test/core/Makefile.am (original)
+++ webservices/axis2/trunk/c/test/core/Makefile.am Wed Jan 11 03:47:01 2006
@@ -1 +1 @@
-SUBDIRS = handlers description context engine clientapi
+SUBDIRS = description context engine clientapi

Modified: webservices/axis2/trunk/c/test/core/context/test_context.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/test/core/context/test_context.c?rev=368012&r1=368011&r2=368012&view=diff
==============================================================================
--- webservices/axis2/trunk/c/test/core/context/test_context.c (original)
+++ webservices/axis2/trunk/c/test/core/context/test_context.c Wed Jan 11 03:47:01 2006
@@ -16,6 +16,8 @@
 	struct axis2_op_ctx *op_ctx = NULL;
 	struct axis2_op *op = NULL;
 	struct axis2_hash_t *op_ctx_map = NULL;
+	axis2_hash_t *svc_ctx_map = NULL;
+	axis2_hash_t *svc_grp_ctx_map = NULL;
 
 	axis2_status_t status = AXIS2_FAILURE;
 	axis2_allocator_t *allocator = axis2_allocator_init (NULL);
@@ -23,8 +25,6 @@
 
 	conf = axis2_conf_create(&env);
 
-/*	axis2_hash_t *svc_ctx_map;
-	axis2_hash_t *svc_grp_ctx_map;*/
 	
 	op = axis2_op_create(&env);
 
@@ -40,6 +40,12 @@
 	op = axis2_op_create(&env);
 	op_ctx = axis2_op_ctx_create(&env, op, svc_ctx);
 	op_ctx_map = AXIS2_CONF_CTX_GET_OP_CTX_MAP(conf_ctx, &env);
+
+    if (op_ctx_map)
+    {
+        axis2_hash_set(op_ctx_map, "op_ctx1", AXIS2_HASH_KEY_STRING, op_ctx);
+        axis2_hash_set(op_ctx_map, "op_ctx2", AXIS2_HASH_KEY_STRING, op_ctx);
+    }
 	/*op_ctx_map  = AXIS2_CONF_CTX_GET_OP_CTX_MAP(conf_ctx, &env);
 	svc_ctx_map = AXIS2_CONF_CTX_GET_SVC_CTX_MAP(conf_ctx, &env);
 	svc_grp_ctx_map = AXIS2_CONF_CTX_GET_SVC_GRP_CTX_MAP(conf_ctx, &env);*/

Modified: webservices/axis2/trunk/c/test/util/test_util.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/test/util/test_util.c?rev=368012&r1=368011&r2=368012&view=diff
==============================================================================
--- webservices/axis2/trunk/c/test/util/test_util.c (original)
+++ webservices/axis2/trunk/c/test/util/test_util.c Wed Jan 11 03:47:01 2006
@@ -145,6 +145,7 @@
     
     
     al = axis2_array_list_create (&env, 1);
+    printf("list size %d\n", AXIS2_ARRAY_LIST_SIZE (al, &env));
     
     entry = (a *) AXIS2_MALLOC(env->allocator, sizeof (a));
     entry->value = AXIS2_STRDUP("value1", &env);
@@ -180,6 +181,8 @@
     
     entry = (a *) AXIS2_ARRAY_LIST_GET (al, &env, 2);
     printf("entry->value:%s\n", entry->value);
+    int size = AXIS2_ARRAY_LIST_SIZE (al, &env);
+    printf("list size %d\n", AXIS2_ARRAY_LIST_SIZE (al, &env));
     
 }
 



Mime
View raw message