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

gEDA-cvs: gaf.git: branch: master updated (1.5.0-20080706-133-g9a54c6d)



The branch, master has been updated
       via  9a54c6de1fa6af39ec97b8bb0cd1a251094ad3f1 (commit)
       via  908ea935a7bb807927402eb8f5aa6c6a703e1792 (commit)
       via  bcda75d109f12bc4d763bcaa05c08cbf3f0451c1 (commit)
      from  3ac41f06858892ececf94264b0f6b6cacfd168a5 (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/o_move.c                  |   21 ++++++++-------------
 gschem/src/o_text.c                  |    5 -----
 {gschem => libgeda}/po/POTFILES.skip |    0 
 3 files changed, 8 insertions(+), 18 deletions(-)
 copy {gschem => libgeda}/po/POTFILES.skip (100%)


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

commit 9a54c6de1fa6af39ec97b8bb0cd1a251094ad3f1
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Date:   Sun Aug 17 01:34:20 2008 +0100

    Only explicitly switch object types which are "special" in o_move.c
    
    For other objects, which should use the default move action, use the
    "default:" construct, rather than explicitly listing them in
    "case OBJ_...:" statements. This makes adding new objects types simpler.

:100644 100644 1043614... 3586873... M	gschem/src/o_move.c

commit 908ea935a7bb807927402eb8f5aa6c6a703e1792
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Date:   Sun Aug 17 01:34:11 2008 +0100

    Add libgeda/po/POTFILES.skip for intl/plural.c
    
    Fixes make distcheck.

:000000 100644 0000000... dbd58b1... A	libgeda/po/POTFILES.skip

commit bcda75d109f12bc4d763bcaa05c08cbf3f0451c1
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Date:   Sun Aug 17 01:33:56 2008 +0100

    Remove some unused #defines from o_text.c

:100644 100644 797f05e... ee1bf49... M	gschem/src/o_text.c

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

commit 9a54c6de1fa6af39ec97b8bb0cd1a251094ad3f1
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Date:   Sun Aug 17 01:34:20 2008 +0100

    Only explicitly switch object types which are "special" in o_move.c
    
    For other objects, which should use the default move action, use the
    "default:" construct, rather than explicitly listing them in
    "case OBJ_...:" statements. This makes adding new objects types simpler.

diff --git a/gschem/src/o_move.c b/gschem/src/o_move.c
index 1043614..3586873 100644
--- a/gschem/src/o_move.c
+++ b/gschem/src/o_move.c
@@ -182,19 +182,6 @@ void o_move_end(GSCHEM_TOPLEVEL *w_current)
 
 
     switch (object->type) {
-      case (OBJ_NET):
-      case (OBJ_PIN):
-      case (OBJ_BUS):
-      case (OBJ_LINE):
-      case (OBJ_BOX):
-      case (OBJ_PICTURE):
-      case (OBJ_CIRCLE):
-      case (OBJ_ARC):
-      case (OBJ_TEXT):
-        o_move_end_lowlevel(w_current, object, SINGLE, diff_x, diff_y,
-                            &other_objects, &connected_objects);
-        break;
-
       case (OBJ_COMPLEX):
       case (OBJ_PLACEHOLDER):
 
@@ -205,6 +192,9 @@ void o_move_end(GSCHEM_TOPLEVEL *w_current)
                                  (w_current, object), SCM_EOL));
         }
 
+        /* TODO: Fix so we can just pass the complex to o_move_end_lowlevel,
+         * IE.. by falling through the bottom of this case statement. */
+
         /* this next section of code is from */
         /* o_complex_world_translate_world */
         object->complex->x = object->complex->x + diff_x;
@@ -224,6 +214,11 @@ void o_move_end(GSCHEM_TOPLEVEL *w_current)
         object->w_bottom = bottom;
 
         break;
+
+      default:
+        o_move_end_lowlevel(w_current, object, SINGLE, diff_x, diff_y,
+                            &other_objects, &connected_objects);
+        break;
     }
 
     s_current = g_list_next(s_current);

commit 908ea935a7bb807927402eb8f5aa6c6a703e1792
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Date:   Sun Aug 17 01:34:11 2008 +0100

    Add libgeda/po/POTFILES.skip for intl/plural.c
    
    Fixes make distcheck.

diff --git a/libgeda/po/POTFILES.skip b/libgeda/po/POTFILES.skip
new file mode 100644
index 0000000..dbd58b1
--- /dev/null
+++ b/libgeda/po/POTFILES.skip
@@ -0,0 +1 @@
+intl/plural.c

commit bcda75d109f12bc4d763bcaa05c08cbf3f0451c1
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Date:   Sun Aug 17 01:33:56 2008 +0100

    Remove some unused #defines from o_text.c

diff --git a/gschem/src/o_text.c b/gschem/src/o_text.c
index 797f05e..ee1bf49 100644
--- a/gschem/src/o_text.c
+++ b/gschem/src/o_text.c
@@ -35,11 +35,6 @@
 #include <dmalloc.h>
 #endif
 
-#define WINONLY	1
-#define BACKING 2
-
-/* font storage and friends are staying global so that all can access */
-#define NUM_CHARS 255
 
 /*! \todo Finish function documentation!!!
  *  \brief




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