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

gEDA-cvs: pcb.git: branch: master updated (deb80ab342b56788e0c9d75d6119cc734e9eba60)



The branch, master has been updated
       via  deb80ab342b56788e0c9d75d6119cc734e9eba60 (commit)
      from  9f72cd4f9766f938cf7c44beab1929bef23ada5e (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
=========

 src/hid/common/flags.c |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)


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

commit deb80ab342b56788e0c9d75d6119cc734e9eba60
Author: DJ Delorie <dj@xxxxxxxxxxx>
Commit: DJ Delorie <dj@xxxxxxxxxxx>

    Update file names to top/bottom convention
    
    Yes, I know this will break some scripts - mine included.  I couldn't
    think of a good way to auto-detect when the old names should be used.

:100644 100644 9b53328... 23c7c57... M	src/hid/common/flags.c

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

commit deb80ab342b56788e0c9d75d6119cc734e9eba60
Author: DJ Delorie <dj@xxxxxxxxxxx>
Commit: DJ Delorie <dj@xxxxxxxxxxx>

    Update file names to top/bottom convention
    
    Yes, I know this will break some scripts - mine included.  I couldn't
    think of a good way to auto-detect when the old names should be used.

diff --git a/src/hid/common/flags.c b/src/hid/common/flags.c
index 9b53328..23c7c57 100644
--- a/src/hid/common/flags.c
+++ b/src/hid/common/flags.c
@@ -155,35 +155,35 @@ layer_type_to_file_name (int idx)
   switch (idx)
     {
     case SL (SILK, TOP):
-      return "frontsilk";
+      return "topsilk";
     case SL (SILK, BOTTOM):
-      return "backsilk";
+      return "bottomsilk";
     case SL (MASK, TOP):
-      return "frontmask";
+      return "topmask";
     case SL (MASK, BOTTOM):
-      return "backmask";
+      return "bottommask";
     case SL (PDRILL, 0):
       return "plated-drill";
     case SL (UDRILL, 0):
       return "unplated-drill";
     case SL (PASTE, TOP):
-      return "frontpaste";
+      return "toppaste";
     case SL (PASTE, BOTTOM):
-      return "backpaste";
+      return "bottompaste";
     case SL (INVISIBLE, 0):
       return "invisible";
     case SL (FAB, 0):
       return "fab";
     case SL (ASSY, TOP):
-      return "frontassembly";
+      return "topassembly";
     case SL (ASSY, BOTTOM):
-      return "backassembly";
+      return "bottomassembly";
     default:
       group = GetLayerGroupNumberByNumber(idx);
       if (group == GetLayerGroupNumberByNumber(component_silk_layer))
-	return "front";
+	return "top";
       else if (group == GetLayerGroupNumberByNumber(solder_silk_layer))
-	return "back";
+	return "bottom";
       else if (PCB->LayerGroups.Number[group] == 1
 	       && (strcmp (PCB->Data->Layer[idx].Name, "route") == 0 ||
 		   strcmp (PCB->Data->Layer[idx].Name, "outline") == 0))




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