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

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



The branch, master has been updated
       via  2fb3523ddbb232ea378e55d51a463414b9f4a11d (commit)
       via  12f31f0da3cc1e00a5b8f86938ffcb8274deb77d (commit)
      from  b90b5b507fc9624b217908003548131396cfba86 (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/file.c       |    2 +-
 src/pcb-printf.c |    2 --
 src/pcb-printf.h |    2 +-
 3 files changed, 2 insertions(+), 4 deletions(-)


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

commit 2fb3523ddbb232ea378e55d51a463414b9f4a11d
Author: Andrew Poelstra (local) <apoelstra@xxxxxxxxxxxxxx>
Commit: Andrew Poelstra (local) <apoelstra@xxxxxxxxxxxxxx>

    Bump PCB_FILE_VERSION_BASELINE up to 20091103.
    
    The unit-parsing support that we now require from the pcb parser
    was added by DJ in December 2008. So I am bumping up the output
    version in file.c to the next release, 20091103.

:100644 100644 c22f5c5... 99ba274... M	src/file.c

commit 12f31f0da3cc1e00a5b8f86938ffcb8274deb77d
Author: Andrew Poelstra (local) <apoelstra@xxxxxxxxxxxxxx>
Commit: Andrew Poelstra (local) <apoelstra@xxxxxxxxxxxxxx>

    Make pcb-printf output unit suffixes with %mr spec
    
    This marks a change in the file format, but as we only use
    the mm and mil suffixes (for now, anyway), it should not be
    a breaking one.
    
    I did not update the file format version that is output.

:100644 100644 20d5c9e... c57a570... M	src/pcb-printf.c
:100644 100644 453b6ef... cbd9bbd... M	src/pcb-printf.h

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

commit 2fb3523ddbb232ea378e55d51a463414b9f4a11d
Author: Andrew Poelstra (local) <apoelstra@xxxxxxxxxxxxxx>
Commit: Andrew Poelstra (local) <apoelstra@xxxxxxxxxxxxxx>

    Bump PCB_FILE_VERSION_BASELINE up to 20091103.
    
    The unit-parsing support that we now require from the pcb parser
    was added by DJ in December 2008. So I am bumping up the output
    version in file.c to the next release, 20091103.

diff --git a/src/file.c b/src/file.c
index c22f5c5..99ba274 100644
--- a/src/file.c
+++ b/src/file.c
@@ -160,7 +160,7 @@ static char *pcb_basename (char *p);
 /* Hole[] in Polygon.  */
 #define PCB_FILE_VERSION_HOLES 20100606
 /* First version ever saved.  */
-#define PCB_FILE_VERSION_BASELINE 20070407
+#define PCB_FILE_VERSION_BASELINE 20091103
 
 int
 PCBFileVersionNeeded (void)

commit 12f31f0da3cc1e00a5b8f86938ffcb8274deb77d
Author: Andrew Poelstra (local) <apoelstra@xxxxxxxxxxxxxx>
Commit: Andrew Poelstra (local) <apoelstra@xxxxxxxxxxxxxx>

    Make pcb-printf output unit suffixes with %mr spec
    
    This marks a change in the file format, but as we only use
    the mm and mil suffixes (for now, anyway), it should not be
    a breaking one.
    
    I did not update the file format version that is output.

diff --git a/src/pcb-printf.c b/src/pcb-printf.c
index 20d5c9e..c57a570 100644
--- a/src/pcb-printf.c
+++ b/src/pcb-printf.c
@@ -412,9 +412,7 @@ static gchar *CoordsToString(Coord coord[], int n_coords, const char *printf_spe
           g_string_append_printf (buff, " %s", suffix);
           break;
         case FILE_MODE:
-#if 0
           g_string_append_printf (buff, "%s", suffix);
-#endif
           break;
         }
     }
diff --git a/src/pcb-printf.h b/src/pcb-printf.h
index 453b6ef..cbd9bbd 100644
--- a/src/pcb-printf.h
+++ b/src/pcb-printf.h
@@ -89,7 +89,7 @@ enum e_allow {
                    ALLOW_M  | ALLOW_KM | ALLOW_CMIL |
                    ALLOW_MIL | ALLOW_IN,
 #else
-  ALLOW_READABLE = ALLOW_CMIL,
+  ALLOW_READABLE = ALLOW_MIL | ALLOW_MM,
 #endif
 
   ALLOW_ALL = ~0




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