Enlightenment CVS committal

Author  : pfritz
Project : e17
Module  : docs

Dir     : e17/docs/api/ecrin/src/bin


Modified Files:
        enum.c function.c gui_ewl.c 


Log Message:
*API BREAK* see the discussion in the mailing list. misc and e_modules will 
follow

===================================================================
RCS file: /cvs/e/e17/docs/api/ecrin/src/bin/enum.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- enum.c      23 Aug 2005 07:27:03 -0000      1.1
+++ enum.c      25 Jul 2007 17:00:54 -0000      1.2
@@ -62,13 +62,13 @@
   printf ("\n");
   printf ("enum %s\n", e->name);
   printf ("{\n");
-  ecore_list_goto_first (e->items);
+  ecore_list_first_goto (e->items);
   while ((item = ecore_list_next (e->items)))
     {
       printf ("  %s", item->name);
       if (item->value)
        printf (" = %s", item->value);
-      if (ecore_list_index (e->items) != ecore_list_nodes (e->items))
+      if (ecore_list_index (e->items) != ecore_list_count (e->items))
        printf (",");
       printf ("\n");
     }
@@ -130,7 +130,7 @@
     free (e->name);
 
   /* free the list */
-  ecore_list_goto_first (e->items);
+  ecore_list_first_goto (e->items);
   while ((item = ecore_list_next (e->items)))
     {
       ecrin_enum_item_free (item);
===================================================================
RCS file: /cvs/e/e17/docs/api/ecrin/src/bin/function.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- function.c  23 Aug 2005 07:27:03 -0000      1.1
+++ function.c  25 Jul 2007 17:00:54 -0000      1.2
@@ -51,7 +51,7 @@
   printf ("%s", str);
   memset (space, ' ', 4096);
   space[strlen (str)] = '\0';
-  ecore_list_goto_first (function->params);
+  ecore_list_first_goto (function->params);
   while ((param = ecore_list_next (function->params)))
     {
       if (ecore_list_index (function->params) != 1)
@@ -59,7 +59,7 @@
       printf ("%s", param->type);
       if (param->name)
         printf (" %s", param->name);
-      if (ecore_list_index (function->params) != ecore_list_nodes 
(function->params))
+      if (ecore_list_index (function->params) != ecore_list_count 
(function->params))
        printf (",\n");
       else
         printf (")\n");
@@ -132,7 +132,7 @@
     free (function->return_type);
 
   /* free the list */
-  ecore_list_goto_first (function->params);
+  ecore_list_first_goto (function->params);
   while ((param = ecore_list_next (function->params)))
     {
       ecrin_function_param_free (param);
===================================================================
RCS file: /cvs/e/e17/docs/api/ecrin/src/bin/gui_ewl.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- gui_ewl.c   23 Aug 2005 07:27:03 -0000      1.1
+++ gui_ewl.c   25 Jul 2007 17:00:54 -0000      1.2
@@ -35,12 +35,12 @@
   char       *key;
 
   l = ecore_list_new ();
-  ecore_list_goto_first(keys);
+  ecore_list_first_goto(keys);
   while ((key = ecore_list_next(keys)))
     {
       char *str;
 
-      ecore_list_goto_first (l);
+      ecore_list_first_goto (l);
       while ((str = ecore_list_next(l)) &&
              (strcasecmp (key, str) >= 0)) { }
 
@@ -48,7 +48,7 @@
         ecore_list_append (l, key);
       else
         {
-          ecore_list_goto_index (l, ecore_list_index (l) - 1);
+          ecore_list_index_goto (l, ecore_list_index (l) - 1);
           ecore_list_insert (l, key);
         }
     }
@@ -67,7 +67,7 @@
   aiguille = ewl_text_text_get (EWL_TEXT (w));
 
   /* We clear the list */
-  ecore_list_goto_first(list_rows);
+  ecore_list_first_goto(list_rows);
   while ((row = ecore_list_next(list_rows)))
     {
       ewl_tree_row_destroy (EWL_TREE (list), row);
@@ -75,7 +75,7 @@
 
   ecrin_ewl_list_fill_package (aiguille);
 
-/*   ecore_list_goto_first(list_rows); */
+/*   ecore_list_first_goto(list_rows); */
 /*   while ((row = ecore_list_next(list_rows))) */
 /*     { */
 /*       Ewl_Widget *child; */
@@ -113,7 +113,7 @@
   snprintf (str, 4096, "enum %s\n", e->name);
   ewl_text_text_append (EWL_TEXT (text), str);
   ewl_text_text_append (EWL_TEXT (text), "{\n");
-  ecore_list_goto_first (e->items);
+  ecore_list_first_goto (e->items);
   while ((item = ecore_list_next (e->items)))
     {
       snprintf (str, 4096, "  %s", item->name);
@@ -121,7 +121,7 @@
       if (item->value)
        snprintf (str, 4096, " = %s", item->value);
       ewl_text_text_append (EWL_TEXT (text), str);
-      if (ecore_list_index (e->items) != ecore_list_nodes (e->items))
+      if (ecore_list_index (e->items) != ecore_list_count (e->items))
         ewl_text_text_append (EWL_TEXT (text), ",");
       ewl_text_text_append (EWL_TEXT (text), "\n");
     }
@@ -187,7 +187,7 @@
   ewl_text_text_append (EWL_TEXT (text), str);
   memset (space, ' ', 4096);
   space[strlen (str)] = '\0';
-  ecore_list_goto_first (function->params);
+  ecore_list_first_goto (function->params);
   while ((param = ecore_list_next (function->params)))
     {
       if (ecore_list_index (function->params) != 1)
@@ -199,7 +199,7 @@
           snprintf (str, 4096, " %s", param->name);
           ewl_text_text_append (EWL_TEXT (text), str);
         }
-      if (ecore_list_index (function->params) != ecore_list_nodes 
(function->params))
+      if (ecore_list_index (function->params) != ecore_list_count 
(function->params))
         {
           snprintf (str, 4096, ",\n");
           ewl_text_text_append (EWL_TEXT (text), str);
@@ -237,7 +237,7 @@
                                         &label);
 
 
-  ecore_list_goto_first(sorted_keys);
+  ecore_list_first_goto(sorted_keys);
   while ((key = ecore_list_next(sorted_keys)))
     {
       Ewl_Widget      *prow;
@@ -284,7 +284,7 @@
   if (!aiguille)
     aiguille = "";
 
-  ecore_list_goto_first(sorted_keys);
+  ecore_list_first_goto(sorted_keys);
   while ((key = ecore_list_next(sorted_keys)))
     {
       Ecrin_Hash_Data *data;



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to