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

gEDA-cvs: branch: master updated (1.1.2.20070818-182-ge5f31fa)



The branch, master has been updated
       via  e5f31fa0ba725c4a8a7dcacb47166a1468a357b6 (commit)
       via  e4c80c8a9930ebef25427053d33c5038feed31d0 (commit)
       via  fc7b46cce236e52af5d9f9b4f38061595ed5129e (commit)
      from  a4b3077e848339d9db363d89b4714e09228b3297 (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
=========

 gnetlist/scheme/gnet-drc2.scm      |    6 ++++--
 gnetlist/scheme/gnet-spice-sdb.scm |    2 +-
 gnetlist/src/gnetlist.c            |    2 +-
 3 files changed, 6 insertions(+), 4 deletions(-)


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

commit e5f31fa0ba725c4a8a7dcacb47166a1468a357b6
Author: Peter TB Brett <peter@xxxxxxxxxxxxx>
Date:   Sun Dec 23 21:26:02 2007 +0000

    gnetlist: Make drc2 backend not emit exceptions.
    
    The drc2 backend reports drc violations by emitting an error, but it
    can do it more gracefully using the Guile display function.

:100644 100644 27d8ddb... a8cc56f... M	gnetlist/scheme/gnet-drc2.scm

commit e4c80c8a9930ebef25427053d33c5038feed31d0
Author: Peter TB Brett <peter@xxxxxxxxxxxxx>
Date:   Sun Dec 23 21:12:49 2007 +0000

    gnetlist: Fix segfault on failing to load schematic.
    
    Segfault was introduced when schematic load error messages were added
    in commit b635ebb641383360e5e7864830d42d13cf7f4d12.

:100644 100644 5adc653... 7a7061b... M	gnetlist/src/gnetlist.c

commit fc7b46cce236e52af5d9f9b4f38061595ed5129e
Author: Peter TB Brett <peter@xxxxxxxxxxxxx>
Date:   Sun Dec 23 20:57:33 2007 +0000

    gnetlist: Hide a debug message from spice-sdb [1856326]
    
    A user complained that it appeared to be an error message and was
    offputting for users. Changed it to use debug-spew.

:100644 100644 8eae007... 8efbf7b... M	gnetlist/scheme/gnet-spice-sdb.scm

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

commit e5f31fa0ba725c4a8a7dcacb47166a1468a357b6
Author: Peter TB Brett <peter@xxxxxxxxxxxxx>
Date:   Sun Dec 23 21:26:02 2007 +0000

    gnetlist: Make drc2 backend not emit exceptions.
    
    The drc2 backend reports drc violations by emitting an error, but it
    can do it more gracefully using the Guile display function.

diff --git a/gnetlist/scheme/gnet-drc2.scm b/gnetlist/scheme/gnet-drc2.scm
index 27d8ddb..a8cc56f 100644
--- a/gnetlist/scheme/gnet-drc2.scm
+++ b/gnetlist/scheme/gnet-drc2.scm
@@ -1038,10 +1038,12 @@
 	 ;; If there are only warnings and it's in quiet mode, then
 	 ;; do not return an error.
 	 (if (> errors_number 0)
-	     (error "DRC errors found. See output file.")
+	     (begin (display "DRC errors found. See output file.")
+                    (newline))
 	     (if (> warnings_number 0)
 		 (if (not (calling-flag? "ignore-warnings-in-return-value" (gnetlist:get-calling-flags)))
-		     (error "DRC warnings found. See output file."))))
+		     (begin (display "DRC warnings found. See output file.")
+                            (newline)))))
 
 	 ))))
 

commit e4c80c8a9930ebef25427053d33c5038feed31d0
Author: Peter TB Brett <peter@xxxxxxxxxxxxx>
Date:   Sun Dec 23 21:12:49 2007 +0000

    gnetlist: Fix segfault on failing to load schematic.
    
    Segfault was introduced when schematic load error messages were added
    in commit b635ebb641383360e5e7864830d42d13cf7f4d12.

diff --git a/gnetlist/src/gnetlist.c b/gnetlist/src/gnetlist.c
index 5adc653..7a7061b 100644
--- a/gnetlist/src/gnetlist.c
+++ b/gnetlist/src/gnetlist.c
@@ -243,7 +243,7 @@ void main_prog(void *closure, int argc, char *argv[])
 
       s_page_goto (pr_current, s_page_new (pr_current, filename));
       
-      if (!f_open (pr_current, filename, NULL)) {
+      if (!f_open (pr_current, filename, &err)) {
         g_warning ("%s\n", err->message);
         fprintf (stderr, "%s\n", err->message);
         g_error_free (err);

commit fc7b46cce236e52af5d9f9b4f38061595ed5129e
Author: Peter TB Brett <peter@xxxxxxxxxxxxx>
Date:   Sun Dec 23 20:57:33 2007 +0000

    gnetlist: Hide a debug message from spice-sdb [1856326]
    
    A user complained that it appeared to be an error message and was
    offputting for users. Changed it to use debug-spew.

diff --git a/gnetlist/scheme/gnet-spice-sdb.scm b/gnetlist/scheme/gnet-spice-sdb.scm
index 8eae007..8efbf7b 100644
--- a/gnetlist/scheme/gnet-spice-sdb.scm
+++ b/gnetlist/scheme/gnet-spice-sdb.scm
@@ -383,7 +383,7 @@
 	   
 	 ((string=? (string (string-ref file-line 0)) ".")
 	  (begin
-	    (display "In get-file-type, first-char = .\n")  ;; DEBUG stuff
+	    (debug-spew "In get-file-type, first-char = .\n")  ;; DEBUG stuff
 	    (cond
 
 	      ((string-ci=? (safe-string-head file-line 7) ".subckt")  ;; found .subckt as first line.




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