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

gEDA-cvs: branch: master updated (1.3.0-20071229-26-g6b36311)



The branch, master has been updated
       via  6b36311d3be00d9b4901a876f5f4da4f892e3bce (commit)
      from  46065f70f5e6480e16e0c51bb2d964f57ca80e3b (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/src/gschem.c           |    2 --
 gschem/src/i_callbacks.c      |    1 -
 gschem/src/o_misc.c           |    1 -
 gschem/src/x_image.c          |    7 -------
 libgeda/src/f_basic.c         |    4 ----
 libgeda/src/g_rc.c            |    1 -
 libgeda/src/o_arc_basic.c     |    4 ----
 libgeda/src/o_attrib.c        |    2 --
 libgeda/src/o_box_basic.c     |    3 ---
 libgeda/src/o_bus_basic.c     |    4 ----
 libgeda/src/o_circle_basic.c  |    3 ---
 libgeda/src/o_complex_basic.c |   19 ++-----------------
 libgeda/src/o_line_basic.c    |    3 ---
 libgeda/src/o_net_basic.c     |    3 ---
 libgeda/src/o_picture.c       |   13 -------------
 libgeda/src/o_pin_basic.c     |    8 --------
 libgeda/src/o_text_basic.c    |    6 ------
 libgeda/src/s_clib.c          |    4 ----
 libgeda/src/s_page.c          |    2 --
 libgeda/src/s_slib.c          |    3 ---
 20 files changed, 2 insertions(+), 91 deletions(-)


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

commit 6b36311d3be00d9b4901a876f5f4da4f892e3bce
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Date:   Sat Jan 5 22:10:31 2008 +0000

    Remove extraneous printf where they duplicate log messages.

:100644 100644 e337242... 5c9b6db... M	gschem/src/gschem.c
:100644 100644 3fc10b6... a4e0fa6... M	gschem/src/i_callbacks.c
:100644 100644 e52e8c4... b30131a... M	gschem/src/o_misc.c
:100644 100644 aad3eb5... 7b7e41a... M	gschem/src/x_image.c
:100644 100644 6bcd193... 9de4366... M	libgeda/src/f_basic.c
:100644 100644 2fd5146... 942f86f... M	libgeda/src/g_rc.c
:100644 100644 4c66082... 06aa8be... M	libgeda/src/o_arc_basic.c
:100644 100644 4d5a1d0... ca7248f... M	libgeda/src/o_attrib.c
:100644 100644 2c3cd44... dd488eb... M	libgeda/src/o_box_basic.c
:100644 100644 5e6958c... 987472e... M	libgeda/src/o_bus_basic.c
:100644 100644 488afc7... 0a58d4e... M	libgeda/src/o_circle_basic.c
:100644 100644 b0a6819... 8ae2a49... M	libgeda/src/o_complex_basic.c
:100644 100644 2d957c5... 034f0dd... M	libgeda/src/o_line_basic.c
:100644 100644 b70bfee... bf6c919... M	libgeda/src/o_net_basic.c
:100644 100644 a076325... 27e9d6e... M	libgeda/src/o_picture.c
:100644 100644 c59de6d... 7e7f258... M	libgeda/src/o_pin_basic.c
:100644 100644 970efaa... e127be5... M	libgeda/src/o_text_basic.c
:100644 100644 8cbfe23... fc4d437... M	libgeda/src/s_clib.c
:100644 100644 007f900... 3543047... M	libgeda/src/s_page.c
:100644 100644 c7db1d5... ac5ea74... M	libgeda/src/s_slib.c

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

commit 6b36311d3be00d9b4901a876f5f4da4f892e3bce
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Date:   Sat Jan 5 22:10:31 2008 +0000

    Remove extraneous printf where they duplicate log messages.

diff --git a/gschem/src/gschem.c b/gschem/src/gschem.c
index e337242..5c9b6db 100644
--- a/gschem/src/gschem.c
+++ b/gschem/src/gschem.c
@@ -251,8 +251,6 @@ void main_prog(void *closure, int argc, char *argv[])
      * integrated. */
     s_log_message(_("Failed to read init scm file [%s]\n"),
                   input_str);
-    fprintf(stderr,
-            _("Failed to read init scm file [%s]\n"), input_str);
   }
   g_free(input_str);
 
diff --git a/gschem/src/i_callbacks.c b/gschem/src/i_callbacks.c
index 3fc10b6..a4e0fa6 100644
--- a/gschem/src/i_callbacks.c
+++ b/gschem/src/i_callbacks.c
@@ -2811,7 +2811,6 @@ DEFINE_I_CALLBACK(hierarchy_down_schematic)
       /* now do some error fixing */
       if (page_control == -1) {
         s_log_message(_("Cannot find source [%s]\n"), current_filename);
-        fprintf(stderr, _("Cannot find source [%s]\n"), current_filename);
 
         /* restore this for the next page */
         page_control = saved_page_control;
diff --git a/gschem/src/o_misc.c b/gschem/src/o_misc.c
index e52e8c4..b30131a 100644
--- a/gschem/src/o_misc.c
+++ b/gschem/src/o_misc.c
@@ -904,7 +904,6 @@ void o_autosave_backups(GSCHEM_TOPLEVEL *w_current)
 
       if (real_filename == NULL) {
         s_log_message (_("o_autosave_backups: Can't get the real filename of %s."), p_current->page_filename);
-        fprintf (stderr, "o_autosave_backups: Can't get the real filename of %s.\n", p_current->page_filename);
       } else {
         /* Get the directory in which the real filename lives */
         dirname = g_path_get_dirname (real_filename);
diff --git a/gschem/src/x_image.c b/gschem/src/x_image.c
index aad3eb5..7b7e41a 100644
--- a/gschem/src/x_image.c
+++ b/gschem/src/x_image.c
@@ -267,7 +267,6 @@ static void x_image_update_dialog_filename(GtkComboBox *combo,
         new_image_filename);
   } else {
     s_log_message("x_image_update_dialog_filename: No parent file chooser found!.\n");
-    fprintf(stderr, "x_image_update_dialog_filename: No parent file chooser found!.\n");
   }
 
   g_free(file_name);
@@ -299,8 +298,6 @@ void x_image_write_eps(GSCHEM_TOPLEVEL *w_current, const char* filename)
   toplevel->print_output_type = EXTENTS_NOMARGINS;
   result = f_print_file (toplevel, filename);
   if (result) {
-    fprintf(stderr, "x_image_lowlevel: Unable to save eps file  %s.\n",
-        filename);
     s_log_message(_("x_image_lowlevel: Unable to write eps file %s.\n"),
         filename);
   }   
@@ -379,9 +376,6 @@ void x_image_lowlevel(GSCHEM_TOPLEVEL *w_current, const char* filename,
     pixbuf = x_image_get_pixbuf(w_current);
     if (pixbuf != NULL) {
       if (!gdk_pixbuf_save(pixbuf, filename, filetype, &gerror, NULL)) {
-        fprintf(stderr, "x_image_lowlevel: Unable to save %s file  %s.\n",
-            filetype, filename);
-        fprintf(stderr, "%s\n", gerror->message);
         s_log_message(_("x_image_lowlevel: Unable to write %s file %s.\n"),
             filetype, filename);
         s_log_message(gerror->message);
@@ -422,7 +416,6 @@ void x_image_lowlevel(GSCHEM_TOPLEVEL *w_current, const char* filename,
         g_object_unref(pixbuf);
     }
     else {
-      fprintf(stderr, "x_image_lowlevel: Unable to get pixbuf from gschem's window.\n");
       s_log_message(_("x_image_lowlevel: Unable to get pixbuf from gschem's window.\n"));
     }
   }
diff --git a/libgeda/src/f_basic.c b/libgeda/src/f_basic.c
index 6bcd193..9de4366 100644
--- a/libgeda/src/f_basic.c
+++ b/libgeda/src/f_basic.c
@@ -365,7 +365,6 @@ int f_save(TOPLEVEL *toplevel, const char *filename)
 
   if (real_filename == NULL) {
     s_log_message (_("Can't get the real filename of %s."), filename);
-    fprintf (stderr, _("Can't get the real filename of %s.\n"), filename);
     return 0;
   }
   
@@ -392,7 +391,6 @@ int f_save(TOPLEVEL *toplevel, const char *filename)
 	
       if (rename(real_filename, backup_filename) != 0) {
 	s_log_message (_("Can't save backup file: %s."), backup_filename);
-	fprintf (stderr, _("Can't save backup file: %s."), backup_filename);
       }
       else {
 	/* Make the backup file readonly so a 'rm *' command will ask 
@@ -538,7 +536,6 @@ char *follow_symlinks (const gchar *filename, GError **error)
       
       if (len == -1) {
 	s_log_message(_("Could not read symbolic link information for %s"), followed_filename);
-	fprintf(stderr, _("Could not read symbolic link information for %s"), followed_filename);
 	g_free (followed_filename);
 	return NULL;
       }
@@ -579,7 +576,6 @@ char *follow_symlinks (const gchar *filename, GError **error)
   /* Too many symlinks */
   
   s_log_message(_("The file has too many symbolic links."));
-  fprintf(stderr, _("The file has too many symbolic links."));
   
   return NULL;
 #endif /* __MINGW32__ */
diff --git a/libgeda/src/g_rc.c b/libgeda/src/g_rc.c
index 2fd5146..942f86f 100644
--- a/libgeda/src/g_rc.c
+++ b/libgeda/src/g_rc.c
@@ -388,7 +388,6 @@ void g_rc_parse(TOPLEVEL *toplevel,
      * same. Inefficient!
      */
     s_log_message(_("Could not find any %s file!\n"), rcname);
-    fprintf(stderr, _("Could not find a %s file\n"), rcname);
     exit(-1);
   }
 }
diff --git a/libgeda/src/o_arc_basic.c b/libgeda/src/o_arc_basic.c
index 4c66082..06aa8be 100644
--- a/libgeda/src/o_arc_basic.c
+++ b/libgeda/src/o_arc_basic.c
@@ -286,15 +286,11 @@ OBJECT *o_arc_read(TOPLEVEL *toplevel, OBJECT *object_list, char buf[],
 
   /* Error check */
   if (radius <= 0) {
-    fprintf(stderr,
-            _("Found a zero radius arc [ %c %d, %d, %d, %d, %d, %d ]\n"),
-            type, x1, y1, radius, start_angle, end_angle, color);
     s_log_message (_("Found a zero radius arc [ %c %d, %d, %d, %d, %d, %d ]\n"),
                    type, x1, y1, radius, start_angle, end_angle, color);
   }
 	
   if (color < 0 || color > MAX_COLORS) {
-    fprintf(stderr, _("Found an invalid color [ %s ]\n"), buf);
     s_log_message(_("Found an invalid color [ %s ]\n"), buf);
     s_log_message(_("Setting color to WHITE\n"));
     color = WHITE;
diff --git a/libgeda/src/o_attrib.c b/libgeda/src/o_attrib.c
index 4d5a1d0..ca7248f 100644
--- a/libgeda/src/o_attrib.c
+++ b/libgeda/src/o_attrib.c
@@ -623,8 +623,6 @@ int o_attrib_get_name_value(char *string, char **name_ptr, char **value_ptr )
     s_log_message("Found attrib/text with spaces beside the ='s [%s]\n", 
 	          string);
     s_log_message("You can ignore the above message if the text is not intended to be an attribute\n");
-    fprintf(stderr, "Found an attribute with spaces beside the ='s [%s]\n", 
-            string);
 #endif
 
     return(FALSE);
diff --git a/libgeda/src/o_box_basic.c b/libgeda/src/o_box_basic.c
index 2c3cd44..dd488eb 100644
--- a/libgeda/src/o_box_basic.c
+++ b/libgeda/src/o_box_basic.c
@@ -333,14 +333,11 @@ OBJECT *o_box_read(TOPLEVEL *toplevel, OBJECT *object_list, char buf[],
   }
 
   if (width == 0 || height == 0) {
-    fprintf(stderr, _("Found a zero width/height box [ %c %d %d %d %d %d ]\n"),
-            type, x1, y1, width, height, color);
     s_log_message(_("Found a zero width/height box [ %c %d %d %d %d %d ]\n"),
                   type, x1, y1, width, height, color);
   }
 
   if (color < 0 || color > MAX_COLORS) {
-    fprintf(stderr, _("Found an invalid color [ %s ]\n"), buf);
     s_log_message(_("Found an invalid color [ %s ]\n"), buf);
     s_log_message(_("Setting color to WHITE\n"));
     color = WHITE;
diff --git a/libgeda/src/o_bus_basic.c b/libgeda/src/o_bus_basic.c
index 5e6958c..987472e 100644
--- a/libgeda/src/o_bus_basic.c
+++ b/libgeda/src/o_bus_basic.c
@@ -146,8 +146,6 @@ OBJECT *o_bus_read(TOPLEVEL *toplevel, OBJECT *object_list, char buf[],
   d_y2 = y2; 
 
   if (x1 == x2 && y1 == y2) {
-    fprintf(stderr, _("Found a zero length bus [ %c %d %d %d %d %d ]\n"),
-            type, x1, y1, x2, y2, color);
     s_log_message(_("Found a zero length bus [ %c %d %d %d %d %d ]\n"),
                     type, x1, y1, x2, y2, color);
   }
@@ -157,14 +155,12 @@ OBJECT *o_bus_read(TOPLEVEL *toplevel, OBJECT *object_list, char buf[],
   }
 
   if (color < 0 || color > MAX_COLORS) {
-    fprintf(stderr, _("Found an invalid color [ %s ]\n"), buf);
     s_log_message(_("Found an invalid color [ %s ]\n"), buf);
     s_log_message(_("Setting color to WHITE\n"));
     color = WHITE;
   }
 
   if (ripper_dir < -1 || ripper_dir > 1) {
-    fprintf(stderr, _("Found an invalid bus ripper direction [ %s ]\n"), buf);
     s_log_message(_("Found an invalid bus ripper direction [ %s ]\n"), buf);
     s_log_message(_("Resetting direction to neutral (no direction)\n"));
     ripper_dir = 0;
diff --git a/libgeda/src/o_circle_basic.c b/libgeda/src/o_circle_basic.c
index 488afc7..0a58d4e 100644
--- a/libgeda/src/o_circle_basic.c
+++ b/libgeda/src/o_circle_basic.c
@@ -287,15 +287,12 @@ OBJECT *o_circle_read(TOPLEVEL *toplevel, OBJECT *object_list, char buf[],
 
 
   if (radius == 0) {
-    fprintf(stderr, _("Found a zero radius circle [ %c %d %d %d %d ]\n"),
-            type, x1, y1, radius, color);
     s_log_message(_("Found a zero radius circle [ %c %d %d %d %d ]\n"),
                   type, x1, y1, radius, color);
 	
   }
   
   if (color < 0 || color > MAX_COLORS) {
-    fprintf(stderr, _("Found an invalid color [ %s ]\n"), buf);
     s_log_message(_("Found an invalid color [ %s ]\n"), buf);
     s_log_message(_("Setting color to WHITE\n"));
     color = WHITE;
diff --git a/libgeda/src/o_complex_basic.c b/libgeda/src/o_complex_basic.c
index b0a6819..8ae2a49 100644
--- a/libgeda/src/o_complex_basic.c
+++ b/libgeda/src/o_complex_basic.c
@@ -713,7 +713,6 @@ OBJECT *o_complex_read(TOPLEVEL *toplevel, OBJECT *object_list,
       break;
 
     default:
-      fprintf(stderr, _("Found a component with an invalid rotation [ %c %d %d %d %d %d %s ]\n"), type, x1, y1, selectable, angle, mirror, basename);
       s_log_message(_("Found a component with an invalid rotation [ %c %d %d %d %d %d %s ]\n"), type, x1, y1, selectable, angle, mirror, basename);
       break;
   }
@@ -726,9 +725,6 @@ OBJECT *o_complex_read(TOPLEVEL *toplevel, OBJECT *object_list,
       break;
 		
     default:
-      fprintf(stderr,
-              _("Found a component with an invalid mirror flag [ %c %d %d %d %d %d %s ]\n"),
-              type, x1, y1, selectable, angle, mirror, basename);
       s_log_message(_("Found a component with an invalid mirror flag [ %c %d %d %d %d %d %s ]\n"), type, x1, y1, selectable, angle, mirror, basename);
       break;
   }
@@ -1487,11 +1483,6 @@ o_complex_check_symversion(TOPLEVEL* toplevel, OBJECT* object)
       ((inside_present && outside_present) && (inside_value > outside_value)))
   {
     
-    fprintf(stderr,
-            _("WARNING: Symbol version mismatch on refdes %s (%s):\n"
-              "\tSymbol in library is newer than "
-              "instantiated symbol\n"),
-            refdes, object->complex_basename);
     s_log_message(_("WARNING: Symbol version mismatch on refdes %s (%s):\n"
                     "\tSymbol in library is newer than "
                     "instantiated symbol\n"),
@@ -1520,12 +1511,9 @@ o_complex_check_symversion(TOPLEVEL* toplevel, OBJECT* object)
     if (inside_major > outside_major)
     {
       char* refdes_copy;
-      fprintf(stderr, _("\tMAJOR VERSION CHANGE (file %.3f, "
-                        "instantiated %.3f, %s)!\n"),
-              inside_value, outside_value, refdes);
       s_log_message(_("\tMAJOR VERSION CHANGE (file %.3f, "
-                      "instantiated %.3f)!\n"),
-                    inside_value, outside_value);
+                      "instantiated %.3f, %s)!\n"),
+                    inside_value, outside_value, refdes);
 
       /* add the refdes to the major_changed_refdes GList */
       /* make sure refdes_copy is freed somewhere */
@@ -1541,9 +1529,6 @@ o_complex_check_symversion(TOPLEVEL* toplevel, OBJECT* object)
 
     if (inside_minor > outside_minor)
     {
-      fprintf(stderr, _("\tMinor version change (file %.3f, "
-                        "instantiated %.3f)\n"),
-              inside_value, outside_value);
       s_log_message(_("\tMinor version change (file %.3f, "
                       "instantiated %.3f)\n"),
                     inside_value, outside_value);
diff --git a/libgeda/src/o_line_basic.c b/libgeda/src/o_line_basic.c
index 2d957c5..034f0dd 100644
--- a/libgeda/src/o_line_basic.c
+++ b/libgeda/src/o_line_basic.c
@@ -285,14 +285,11 @@ OBJECT *o_line_read(TOPLEVEL *toplevel, OBJECT *object_list, char buf[],
    * It also checks is the required color is valid.
    */
   if (x1 == x2 && y1 == y2) {
-    fprintf(stderr, _("Found a zero length line [ %c %d %d %d %d %d ]\n"),
-            type, x1, y1, x2, y2, color);
     s_log_message(_("Found a zero length line [ %c %d %d %d %d %d ]\n"),
                   type, x1, y1, x2, y2, color);
   }
   
   if (color < 0 || color > MAX_COLORS) {
-    fprintf(stderr, _("Found an invalid color [ %s ]\n"), buf);
     s_log_message(_("Found an invalid color [ %s ]\n"), buf);
     s_log_message(_("Setting color to WHITE\n"));
     color = WHITE;
diff --git a/libgeda/src/o_net_basic.c b/libgeda/src/o_net_basic.c
index b70bfee..bf6c919 100644
--- a/libgeda/src/o_net_basic.c
+++ b/libgeda/src/o_net_basic.c
@@ -154,8 +154,6 @@ OBJECT *o_net_read(TOPLEVEL *toplevel, OBJECT *object_list, char buf[],
   d_y2 = y2;
 
   if (x1 == x2 && y1 == y2) {
-    fprintf(stderr, _("Found a zero length net [ %c %d %d %d %d %d ]\n"),
-            type, x1, y1, x2, y2, color);
     s_log_message(_("Found a zero length net [ %c %d %d %d %d %d ]\n"),
                   type, x1, y1, x2, y2, color);
   }
@@ -166,7 +164,6 @@ OBJECT *o_net_read(TOPLEVEL *toplevel, OBJECT *object_list, char buf[],
   }
 
   if (color < 0 || color > MAX_COLORS) {
-    fprintf(stderr, _("Found an invalid color [ %s ]\n"), buf);
     s_log_message(_("Found an invalid color [ %s ]\n"), buf);
     s_log_message(_("Setting color to WHITE\n"));
     color = WHITE;
diff --git a/libgeda/src/o_picture.c b/libgeda/src/o_picture.c
index a076325..27e9d6e 100644
--- a/libgeda/src/o_picture.c
+++ b/libgeda/src/o_picture.c
@@ -80,8 +80,6 @@ OBJECT *o_picture_read(TOPLEVEL *toplevel, OBJECT *object_list,
 	 &type, &x1, &y1, &width, &height, &angle, &mirrored, &embedded);
   
   if (num_conv != 8) {
-    fprintf(stderr, _("Error reading picture definition line: %s.\n"),
-            first_line);
     s_log_message (_("Error reading picture definition line: %s.\n"),
                    first_line);
   }
@@ -96,15 +94,11 @@ OBJECT *o_picture_read(TOPLEVEL *toplevel, OBJECT *object_list,
   }
 
   if (width == 0 || height == 0) {
-    fprintf(stderr, _("Found a zero width/height picture [ %c %d %d %d %d ]\n"),
-            type, x1, y1, width, height);
     s_log_message(_("Found a zero width/height picture [ %c %d %d %d %d ]\n"),
                   type, x1, y1, width, height);
   }
 
   if ( (mirrored > 1) || (mirrored < 0)) {
-    fprintf(stderr, _("Found a picture with a wrong 'mirrored' parameter: %c.\n"),
-	    mirrored);
     s_log_message(_("Found a picture with a wrong 'mirrored' parameter: %c.\n"),
 	    mirrored);
     s_log_message(_("Setting mirrored to 0\n"));
@@ -112,8 +106,6 @@ OBJECT *o_picture_read(TOPLEVEL *toplevel, OBJECT *object_list,
   }
 
   if ( (embedded > 1) || (embedded < 0)) {
-    fprintf(stderr, _("Found a picture with a wrong 'embedded' parameter: %c.\n"),
-	    embedded);
     s_log_message(_("Found a picture with a wrong 'embedded' parameter: %c.\n"),
 	    embedded);
     s_log_message(_("Setting embedded to 0\n"));
@@ -128,7 +120,6 @@ OBJECT *o_picture_read(TOPLEVEL *toplevel, OBJECT *object_list,
     break;
 
     default:
-      fprintf(stderr, _("Found an unsupported picture angle [ %d ]\n"), angle);
       s_log_message(_("Found an unsupported picture angle [ %d ]\n"), angle);
       s_log_message(_("Setting angle to 0\n"));
       angle=0;
@@ -200,15 +191,12 @@ OBJECT *o_picture_read(TOPLEVEL *toplevel, OBJECT *object_list,
   if (pixbuf == NULL) {
     char *temp_filename;
 
-    fprintf(stderr, _("Loading warning picture.\n"));
     s_log_message (_("Loading warning picture.\n"));
     
     temp_filename = g_strconcat(toplevel->bitmap_directory,
                                 G_DIR_SEPARATOR_S, "gschem-warning.png", NULL);
     pixbuf = gdk_pixbuf_new_from_file (temp_filename, NULL);
     if (pixbuf == NULL) {
-      fprintf(stderr, _("Error loading picture from file: %s.\n"),
-              temp_filename);
       s_log_message( _("Error loading picture from file: %s.\n"),
                      temp_filename);
     }      
@@ -269,7 +257,6 @@ char *o_picture_save(OBJECT *object)
                                 &encoded_picture_length,
                                 TRUE);
     if (encoded_picture == NULL) {
-      fprintf(stderr, _("ERROR: o_picture_save: unable to encode the picture.\n"));
       s_log_message(_("ERROR: o_picture_save: unable to encode the picture.\n"));
     }
   }
diff --git a/libgeda/src/o_pin_basic.c b/libgeda/src/o_pin_basic.c
index c59de6d..7e7f258 100644
--- a/libgeda/src/o_pin_basic.c
+++ b/libgeda/src/o_pin_basic.c
@@ -137,15 +137,9 @@ OBJECT *o_pin_read(TOPLEVEL *toplevel, OBJECT *object_list, char buf[],
   }
 
   if (whichend == -1) {
-    fprintf(stderr,
-            _("Found a pin which did not have the whichone field set.\n"
-              "Verify and correct manually.\n"));
     s_log_message(_("Found a pin which did not have the whichone field set.\n"
                     "Verify and correct manually.\n"));
   } else if (whichend < -1 || whichend > 1) {
-    fprintf(stderr,
-            _("Found an invalid whichend on a pin (reseting to zero): %d\n"),
-            whichend);
     s_log_message(_("Found an invalid whichend on a pin (reseting to zero): %d\n"),
                   whichend);
     whichend = 0;
@@ -157,12 +151,10 @@ OBJECT *o_pin_read(TOPLEVEL *toplevel, OBJECT *object_list, char buf[],
   d_y2 = y2; 
 
   if (x1 == x2 && y1 == y2) {
-    fprintf(stderr, _("Found a zero length pin: [ %s ]\n"), buf);
     s_log_message(_("Found a zero length pin: [ %s ]\n"), buf);
   }
 
   if (color < 0 || color > MAX_COLORS) {
-    fprintf(stderr, _("Found an invalid color [ %s ]\n"), buf);
     s_log_message(_("Found an invalid color [ %s ]\n"), buf);
     s_log_message(_("Setting color to WHITE\n"));
     color = WHITE;
diff --git a/libgeda/src/o_text_basic.c b/libgeda/src/o_text_basic.c
index 970efaa..e127be5 100644
--- a/libgeda/src/o_text_basic.c
+++ b/libgeda/src/o_text_basic.c
@@ -1071,7 +1071,6 @@ OBJECT *o_text_read(TOPLEVEL *toplevel, OBJECT *object_list,
   }
 
   if (size == 0) {
-    fprintf(stderr, _("Found a zero size text string [ %c %d %d %d %d %d %d %d %d ]\n"), type, x, y, color, size, visibility, show_name_value, angle, alignment);
     s_log_message(_("Found a zero size text string [ %c %d %d %d %d %d %d %d %d ]\n"), type, x, y, color, size, visibility, show_name_value, angle, alignment);
   }
 
@@ -1084,8 +1083,6 @@ OBJECT *o_text_read(TOPLEVEL *toplevel, OBJECT *object_list,
     break;
 
     default:
-      fprintf(stderr, _("Found an unsupported text angle [ %c %d %d %d %d %d %d %d %d ]\n"),
-              type, x, y, color, size, visibility, show_name_value, angle, alignment);
       s_log_message(_("Found an unsupported text angle [ %c %d %d %d %d %d %d %d %d ]\n"),
                     type, x, y, color, size, visibility, show_name_value, angle, alignment);
       s_log_message(_("Setting angle to 0\n"));
@@ -1108,8 +1105,6 @@ OBJECT *o_text_read(TOPLEVEL *toplevel, OBJECT *object_list,
     break;
 		
     default:
-      fprintf(stderr, _("Found an unsupported text alignment [ %c %d %d %d %d %d %d %d %d ]\n"),
-              type, x, y, color, size, visibility, show_name_value, angle, alignment);
       s_log_message(_("Found an unsupported text alignment [ %c %d %d %d %d %d %d %d %d ]\n"),
                     type, x, y, color, size, visibility, show_name_value, angle, alignment);
       s_log_message(_("Setting alignment to LOWER_LEFT\n"));
@@ -1118,7 +1113,6 @@ OBJECT *o_text_read(TOPLEVEL *toplevel, OBJECT *object_list,
   }
 
   if (color < 0 || color > MAX_COLORS) {
-    fprintf(stderr, _("Found an invalid color [ %s ]\n"), first_line);
     s_log_message(_("Found an invalid color [ %s ]\n"), first_line);
     s_log_message(_("Setting color to WHITE\n"));
     color = WHITE;
diff --git a/libgeda/src/s_clib.c b/libgeda/src/s_clib.c
index 8cbfe23..fc4d437 100644
--- a/libgeda/src/s_clib.c
+++ b/libgeda/src/s_clib.c
@@ -1362,10 +1362,6 @@ const CLibSymbol *s_clib_get_symbol_by_name (const gchar *name)
   if (symlist == NULL) {
     s_log_message (_("Component [%s] was not found in the component library\n"),
                    name);
-    /*! \bug Why does this need to go to stderr as well? */
-    fprintf(stderr,
-	    _("Component [%s] was not found in any component library\n"),
-	    name);
     return NULL;
   }
 
diff --git a/libgeda/src/s_page.c b/libgeda/src/s_page.c
index 007f900..3543047 100644
--- a/libgeda/src/s_page.c
+++ b/libgeda/src/s_page.c
@@ -162,8 +162,6 @@ void s_page_delete (TOPLEVEL *toplevel, PAGE *page)
   if (real_filename == NULL) {
     s_log_message (_("s_page_delete: Can't get the real filename of %s."),
                    page->page_filename);
-    fprintf (stderr, _("s_page_delete: Can't get the real filename of %s.\n"),
-             page->page_filename);
   }
   else {
     backup_filename = f_get_autosave_filename (real_filename);
diff --git a/libgeda/src/s_slib.c b/libgeda/src/s_slib.c
index c7db1d5..ac5ea74 100644
--- a/libgeda/src/s_slib.c
+++ b/libgeda/src/s_slib.c
@@ -203,9 +203,6 @@ char *s_slib_search_lowlevel(const char *basename)
 
     s_log_message(_("Could not find [%s] in any SourceLibrary\n"), basename);
 
-#if DEBUG 
-    fprintf(stderr, _("Could not find [%s] in any SourceLibrary\n"), basename);
-#endif
     return(NULL);
   }
 }




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