[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-cvs: branch: master updated (1.1.2.20070818-50-g5a1c785)



The branch, master has been updated
       via  5a1c7855c84f3d9b6a439e529b6c147f943e3b95 (commit)
       via  b363eb966b6ec92cfc4337cef15cf04839a7939b (commit)
       via  4c7705297748e544ceeb1ac119ee44f7a72595c4 (commit)
      from  d0d00ac3599befcfcf25ae498dc17f6cc241b7da (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


=========
 Summary
=========

 gschem/include/prototype.h  |    1 -
 gschem/src/o_text.c         |    9 ----
 libgeda/include/prototype.h |    4 --
 libgeda/src/o_attrib.c      |   87 -------------------------------------------
 4 files changed, 0 insertions(+), 101 deletions(-)


=================
 Commit Messages
=================

commit 5a1c7855c84f3d9b6a439e529b6c147f943e3b95
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Date:   Sat Sep 8 15:26:33 2007 +0100

    Remove unused function o_attrib_count_toplevel().

:100644 100644 894edd4... 2baaacb... M	libgeda/include/prototype.h
:100644 100644 612a98f... 29eda2f... M	libgeda/src/o_attrib.c

commit b363eb966b6ec92cfc4337cef15cf04839a7939b
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Date:   Sat Sep 8 15:26:32 2007 +0100

    Remove empty functions o_attrib_{edit,select_draw,unselect_draw}().

:100644 100644 9e1aefa... 894edd4... M	libgeda/include/prototype.h
:100644 100644 c24e3ba... 612a98f... M	libgeda/src/o_attrib.c

commit 4c7705297748e544ceeb1ac119ee44f7a72595c4
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Date:   Sat Sep 8 15:26:31 2007 +0100

    Remove unused function o_text_input().

:100644 100644 60bc669... 4fe3d46... M	gschem/include/prototype.h
:100644 100644 40aa72a... e2718d0... M	gschem/src/o_text.c

=========
 Changes
=========

commit 5a1c7855c84f3d9b6a439e529b6c147f943e3b95
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Date:   Sat Sep 8 15:26:33 2007 +0100

    Remove unused function o_attrib_count_toplevel().

diff --git a/libgeda/include/prototype.h b/libgeda/include/prototype.h
index 894edd4..2baaacb 100644
--- a/libgeda/include/prototype.h
+++ b/libgeda/include/prototype.h
@@ -189,7 +189,6 @@ char *o_attrib_search_slotdef(OBJECT *object, int slotnumber);
 char *o_attrib_search_component(OBJECT *object, char *name);
 void o_attrib_slot_update(TOPLEVEL *toplevel, OBJECT *object);
 void o_attrib_slot_copy(TOPLEVEL *toplevel, OBJECT *original, OBJECT *target);
-int o_attrib_count_toplevel(TOPLEVEL *toplevel, char *name);
 char *o_attrib_search_toplevel_all(GedaPageList *page_list, char *name);
 OBJECT **o_attrib_return_attribs(OBJECT *object_list, OBJECT *sel_object);
 void o_attrib_free_returned(OBJECT **found_objects);
diff --git a/libgeda/src/o_attrib.c b/libgeda/src/o_attrib.c
index 612a98f..29eda2f 100644
--- a/libgeda/src/o_attrib.c
+++ b/libgeda/src/o_attrib.c
@@ -2057,48 +2057,6 @@ void o_attrib_slot_copy(TOPLEVEL *toplevel, OBJECT *original, OBJECT *target)
   g_free(slotdef);
 }
 
-/*! \brief Get the number of TOPLEVEL attributes in all loaded pages.
- *  \par Function Description
- *  This function will return the number of TOPLEVEL attributes
- *  in all loaded pages.
- *
- *  \param [in] toplevel  The TOPLEVEL object to search.
- *  \param [in] name       Attribute name to search for.
- *  \return Count of TOPLEVEL attributes in all loaded pages.
- */
-/* returns the number of toplevel attributes in all loaded pages */
-int o_attrib_count_toplevel(TOPLEVEL *toplevel, char *name)
-{
-  const GList *iter;
-  int ret_value=0;
-  int counter=0;
-  PAGE *p_current;
-  char *string;
-
-  iter = geda_list_get_glist( toplevel->pages );
-
-  while( iter != NULL ) {
-    p_current = (PAGE *)iter->data;
-
-    counter = 0;
-    string = o_attrib_search_name(p_current->object_head,
-                                  name, counter);
-    printf("%s %d\n", name, counter);
-    while(string) {
-      printf("inside\n");
-      ret_value++;
-      g_free(string);
-      string=NULL;
-      counter++;
-
-      string = o_attrib_search_name(p_current->object_head,
-                                    name, counter);
-    }
-
-    iter = g_list_next( iter );
-  }
-  return(ret_value);
-}
 
 /*! \brief Search for first TOPLEVEL attribute.
  *  \par Function Description

commit b363eb966b6ec92cfc4337cef15cf04839a7939b
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Date:   Sat Sep 8 15:26:32 2007 +0100

    Remove empty functions o_attrib_{edit,select_draw,unselect_draw}().

diff --git a/libgeda/include/prototype.h b/libgeda/include/prototype.h
index 9e1aefa..894edd4 100644
--- a/libgeda/include/prototype.h
+++ b/libgeda/include/prototype.h
@@ -156,9 +156,6 @@ ATTRIB *add_attrib_head(OBJECT *parent);
 ATTRIB *o_attrib_add(TOPLEVEL *toplevel, ATTRIB *list_head, OBJECT *item);
 void o_attrib_free(TOPLEVEL *toplevel, ATTRIB *current);
 void o_attrib_attach(TOPLEVEL *toplevel, OBJECT *parent_list, OBJECT *text_object, OBJECT *object);
-void o_attrib_edit(OBJECT *list, OBJECT *item);
-void o_attrib_select_draw(ATTRIB *list);
-void o_attrib_unselect_draw(ATTRIB *list);
 void o_attrib_free_all(TOPLEVEL *toplevel, ATTRIB *list);
 void o_attrib_print(ATTRIB *attributes);
 void o_attrib_delete(ATTRIB *a_current);
diff --git a/libgeda/src/o_attrib.c b/libgeda/src/o_attrib.c
index c24e3ba..612a98f 100644
--- a/libgeda/src/o_attrib.c
+++ b/libgeda/src/o_attrib.c
@@ -330,51 +330,6 @@ void o_attrib_attach(TOPLEVEL *toplevel, OBJECT *parent_list,
   }
 }
 
-/*! \todo Empty function.
- *  \brief
- *  \par Function Description
- *
- *  \param [in] list
- *  \param [in] item
- */
-/* only can edit a text, special case of edit text */
-void o_attrib_edit(OBJECT *list, OBJECT *item)
-{
-
-}
-
-/*! \todo Empty function.
- *  \brief
- *  \par Function Description
- *
- *  \param [in] list
- *
- *  \note
- *  should this be st_attrib or st_object?
- */
-void o_attrib_select_draw(ATTRIB *list)
-{
-  /* draw list */
-  /* either white */
-  /* or a white bounding box? */
-}
-
-/*! \todo Empty function.
- *  \brief
- *  \par Function Description
- *
- *  \param [in] list
- *
- *  \note
- *  should this be st_attrib or st_object?
- */
-void o_attrib_unselect_draw(ATTRIB *list)
-{
-  /* draw list */
-  /* either white */
-  /* or a white bounding box? */
-
-}
 
 /*! \brief Free all attribute items in a list.
  *  \par Function Description

commit 4c7705297748e544ceeb1ac119ee44f7a72595c4
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Date:   Sat Sep 8 15:26:31 2007 +0100

    Remove unused function o_text_input().

diff --git a/gschem/include/prototype.h b/gschem/include/prototype.h
index 60bc669..4fe3d46 100644
--- a/gschem/include/prototype.h
+++ b/gschem/include/prototype.h
@@ -703,7 +703,6 @@ void o_text_draw_rectangle(TOPLEVEL *w_current, OBJECT *o_current);
 void o_text_draw(TOPLEVEL *w_current, OBJECT *o_current);
 void o_text_erase(TOPLEVEL *w_current, OBJECT *o_current);
 void o_text_draw_xor(TOPLEVEL *w_current, int dx, int dy, OBJECT *o_current);
-void o_text_input(TOPLEVEL *w_current);
 void o_text_start(TOPLEVEL *w_current, int screen_x, int screen_y);
 void o_text_end(TOPLEVEL *w_current);
 void o_text_rubberattrib(TOPLEVEL *w_current);
diff --git a/gschem/src/o_text.c b/gschem/src/o_text.c
index 40aa72a..e2718d0 100644
--- a/gschem/src/o_text.c
+++ b/gschem/src/o_text.c
@@ -310,15 +310,6 @@ void o_text_draw_xor(TOPLEVEL *w_current, int dx, int dy, OBJECT *o_current)
   }
 }
 
-/*! \todo Finish function documentation!!!
- *  \brief
- *  \par Function Description
- *
- */
-void o_text_input(TOPLEVEL *w_current)
-{
-  text_input_dialog(w_current);
-}
 
 /*! \todo Finish function documentation!!!
  *  \brief




_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs