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

gEDA-cvs: geda_manager.git: branch: master updated (72d1c73d2146c537a242502d139fca072097407c)



The branch, master has been updated
       via  72d1c73d2146c537a242502d139fca072097407c (commit)
      from  895308418f34abe748e161245b1592840530f538 (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
=========

 gedamanager                         |    1 -
 src/gui/Gsch2pcb.py                 |    1 -
 src/gui/MainWindow.py               |    1 -
 src/gui/NewProject.py               |    1 -
 src/gui/Preferences.py              |    1 -
 src/utils/Callbacks.py              |    1 -
 src/utils/Decorators.py             |    1 -
 src/utils/DependencyLoop.py         |    1 -
 src/utils/Helpers.py                |   24 +++++++++++++++---------
 src/utils/Icons.py                  |    3 ++-
 src/utils/ProcessDependencyEvent.py |    1 -
 src/utils/Project.py                |    1 -
 src/utils/Settings.py               |    5 ++---
 13 files changed, 19 insertions(+), 23 deletions(-)


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

commit 72d1c73d2146c537a242502d139fca072097407c
Author: Newell Jensen <jensen@xxxxxxxxxxxxxxxx>
Date:   Wed Dec 31 14:33:50 2008 -0800

    Most recent changes.  Made changes to license portion of files.

:100755 100755 e1be46e... 1d33b6b... M	gedamanager
:100644 100644 c8a8092... 68909b0... M	src/gui/Gsch2pcb.py
:100644 100644 45e7f09... 403addb... M	src/gui/MainWindow.py
:100644 100644 454c48a... f408639... M	src/gui/NewProject.py
:100644 100644 382cec7... 8c0f023... M	src/gui/Preferences.py
:100644 100644 e7daf0e... f5fff74... M	src/utils/Callbacks.py
:100644 100644 3546f34... bc13c70... M	src/utils/Decorators.py
:100644 100644 5b1af6c... 3e6fddc... M	src/utils/DependencyLoop.py
:100644 100644 8998443... 571acaf... M	src/utils/Helpers.py
:100644 100644 7d82133... 5508c72... M	src/utils/Icons.py
:100644 100644 c2974d5... 696e4e1... M	src/utils/ProcessDependencyEvent.py
:100644 100644 65f69c7... ef602a2... M	src/utils/Project.py
:100644 100644 d6df9a2... 9307580... M	src/utils/Settings.py

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

commit 72d1c73d2146c537a242502d139fca072097407c
Author: Newell Jensen <jensen@xxxxxxxxxxxxxxxx>
Date:   Wed Dec 31 14:33:50 2008 -0800

    Most recent changes.  Made changes to license portion of files.

diff --git a/gedamanager b/gedamanager
index e1be46e..1d33b6b 100755
--- a/gedamanager
+++ b/gedamanager
@@ -2,7 +2,6 @@
 """
 gEDA Manager
 Copyright (C) 2008 Newell Jensen
-Copyright (C) 2008 gEDA Contributors (see ChangeLog for details)
 
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
diff --git a/src/gui/Gsch2pcb.py b/src/gui/Gsch2pcb.py
index c8a8092..68909b0 100644
--- a/src/gui/Gsch2pcb.py
+++ b/src/gui/Gsch2pcb.py
@@ -1,7 +1,6 @@
 """
 gEDA Manager
 Copyright (C) 2008 Newell Jensen
-Copyright (C) 2008 gEDA Contributors (see ChangeLog for details)
 
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
diff --git a/src/gui/MainWindow.py b/src/gui/MainWindow.py
index 45e7f09..403addb 100644
--- a/src/gui/MainWindow.py
+++ b/src/gui/MainWindow.py
@@ -1,7 +1,6 @@
 """
 gEDA Manager
 Copyright (C) 2008 Newell Jensen
-Copyright (C) 2008 gEDA Contributors (see ChangeLog for details)
 
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
diff --git a/src/gui/NewProject.py b/src/gui/NewProject.py
index 454c48a..f408639 100644
--- a/src/gui/NewProject.py
+++ b/src/gui/NewProject.py
@@ -1,7 +1,6 @@
 """
 gEDA Manager
 Copyright (C) 2008 Newell Jensen
-Copyright (C) 2008 gEDA Contributors (see ChangeLog for details)
 
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
diff --git a/src/gui/Preferences.py b/src/gui/Preferences.py
index 382cec7..8c0f023 100644
--- a/src/gui/Preferences.py
+++ b/src/gui/Preferences.py
@@ -1,7 +1,6 @@
 """
 gEDA Manager
 Copyright (C) 2008 Newell Jensen
-Copyright (C) 2008 gEDA Contributors (see ChangeLog for details)
 
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
diff --git a/src/utils/Callbacks.py b/src/utils/Callbacks.py
index e7daf0e..f5fff74 100644
--- a/src/utils/Callbacks.py
+++ b/src/utils/Callbacks.py
@@ -1,7 +1,6 @@
 """
 gEDA Manager
 Copyright (C) 2008 Newell Jensen
-Copyright (C) 2008 gEDA Contributors (see ChangeLog for details)
 
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
diff --git a/src/utils/Decorators.py b/src/utils/Decorators.py
index 3546f34..bc13c70 100644
--- a/src/utils/Decorators.py
+++ b/src/utils/Decorators.py
@@ -1,7 +1,6 @@
 """
 gEDA Manager
 Copyright (C) 2008 Newell Jensen
-Copyright (C) 2008 gEDA Contributors (see ChangeLog for details)
 
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
diff --git a/src/utils/DependencyLoop.py b/src/utils/DependencyLoop.py
index 5b1af6c..3e6fddc 100644
--- a/src/utils/DependencyLoop.py
+++ b/src/utils/DependencyLoop.py
@@ -1,7 +1,6 @@
 """
 gEDA Manager
 Copyright (C) 2008 Newell Jensen
-Copyright (C) 2008 gEDA Contributors (see ChangeLog for details)
 
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
diff --git a/src/utils/Helpers.py b/src/utils/Helpers.py
index 8998443..571acaf 100644
--- a/src/utils/Helpers.py
+++ b/src/utils/Helpers.py
@@ -1,7 +1,6 @@
 """
 gEDA Manager
 Copyright (C) 2008 Newell Jensen
-Copyright (C) 2008 gEDA Contributors (see ChangeLog for details)
 
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
@@ -472,12 +471,14 @@ def run_command(mw, filepath, highlighted_source=None, ext=None):
                 tools['pcb'] = Popen(['pcb', filepath])
             elif tools['pcb'].poll() == None: # Process is still running
                 pass
-        elif ext == 'gbr':
+        elif ext == 'gbr' or ext == 'cnc':
             if tools['gerbv'] == None or tools['gerbv'].poll() == 0:
                 tools['gerbv'] = Popen(['gerbv', filepath])
             elif tools['gerbv'].poll() == None: # Process is still running
                 pass
         #elif (ext in files or ext in configfiles):
+        elif ext in ['ps','eps','pdf']:
+            Popen(['evince', filepath])
         else:
             if mw.settings.editor != None and mw.settings.editor != '':
                 Popen([mw.settings.editor, filepath])                
@@ -504,7 +505,6 @@ def run_command(mw, filepath, highlighted_source=None, ext=None):
         if program in netlists: # use gnetlist
             current_flags = flags['gnetlist'].copy()
             inner_flags = current_flags['backends'][:]
-            print 'inner_flags:',inner_flags
             # Now replace '*backend choosen*' with program
             index = inner_flags.index('*backend choosen*')
             inner_flags[index] = program
@@ -567,20 +567,27 @@ def run_command(mw, filepath, highlighted_source=None, ext=None):
         elif program == 'iverilog-compile':
             current_flags = flags['iverilog'].copy()
             inner_flags = current_flags['compile'][:]
-            # Need to add logic like above for .vvp output file
+            index = inner_flags.index('*your_filename.vvp*')
+            inner_flags[index] = highlighted_source.rsplit('.')[0] + '.vvp' 
             inner_flags.append(highlighted_source)
             final = ['iverilog'] + inner_flags
             subproc = Popen(final, stdout=PIPE)
-        elif program == 'iverliog-translate':
+        elif program == 'iverilog-translate':
             current_flags = flags['iverilog'].copy()
             inner_flags = current_flags['translate'][:]
-            output_file = highlighted_source.rsplit('.')[0] + '.vhd'
-            inner_flags.append(output_file)
+            index = inner_flags.index('*your_filename.vhd*')
+            inner_flags[index] = highlighted_source.rsplit('.')[0] + '.vhd' 
             inner_flags.append(highlighted_source)
             final = ['iverilog'] + inner_flags
             subproc = Popen(final, stdout=PIPE)
         elif program == 'vvp':
-            not_implemented(mw)
+            inner_flags = flags[program][:]
+            inner_flags.append(highlighted_source)
+            final = [program] + inner_flags
+            subproc = Popen(final, stdout=PIPE)
+            # I need to get output and put into textbuffer
+            output = subproc.communicate()[0]
+            print 'output:',output
         elif program == 'refdes_renum':
             current_flags = flags[program][:]
             current_flags.append(highlighted_source)
@@ -614,7 +621,6 @@ def run_command(mw, filepath, highlighted_source=None, ext=None):
             inner_flags = current_flags['bom'][:]
             inner_flags.append(highlighted_source)
             final = ['pcb'] + inner_flags
-            print 'final:',final
             subproc = Popen(final, stdout=PIPE)
         elif program == 'pcb-gerber':
             current_flags = flags['pcb'].copy()
diff --git a/src/utils/Icons.py b/src/utils/Icons.py
index 7d82133..5508c72 100644
--- a/src/utils/Icons.py
+++ b/src/utils/Icons.py
@@ -1,7 +1,6 @@
 """
 gEDA Manager
 Copyright (C) 2008 Newell Jensen
-Copyright (C) 2008 gEDA Contributors (see ChangeLog for details)
 
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
@@ -101,6 +100,7 @@ class Icons:
         image = gtk.gdk.pixbuf_new_from_file('images/bitmaps/page_white_acrobat.png')
         gtk.icon_theme_add_builtin_icon('pdf', 22, image)
         gtk.icon_theme_add_builtin_icon('ps', 22, image)
+        gtk.icon_theme_add_builtin_icon('eps', 22, image)
         image = gtk.gdk.pixbuf_new_from_file('images/bitmaps/GTKWave_logo.png')
         gtk.icon_theme_add_builtin_icon('gtkwave', 22, image)
         image = gtk.gdk.pixbuf_new_from_file('images/bitmaps/nglogo.jpg')
@@ -109,6 +109,7 @@ class Icons:
 
         self.icon_lut = {'ngspice': 'ngspice',
                          'gtkwave': 'gtkwave',
+                         'eps': 'eps',
                          'ps': 'ps',
                          'pdf': 'pdf',
                          'vvp': 'vvp',
diff --git a/src/utils/ProcessDependencyEvent.py b/src/utils/ProcessDependencyEvent.py
index c2974d5..696e4e1 100644
--- a/src/utils/ProcessDependencyEvent.py
+++ b/src/utils/ProcessDependencyEvent.py
@@ -1,7 +1,6 @@
 """
 gEDA Manager
 Copyright (C) 2008 Newell Jensen
-Copyright (C) 2008 gEDA Contributors (see ChangeLog for details)
 
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
diff --git a/src/utils/Project.py b/src/utils/Project.py
index 65f69c7..ef602a2 100644
--- a/src/utils/Project.py
+++ b/src/utils/Project.py
@@ -1,7 +1,6 @@
 """
 gEDA Manager
 Copyright (C) 2008 Newell Jensen
-Copyright (C) 2008 gEDA Contributors (see ChangeLog for details)
 
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
diff --git a/src/utils/Settings.py b/src/utils/Settings.py
index d6df9a2..9307580 100644
--- a/src/utils/Settings.py
+++ b/src/utils/Settings.py
@@ -1,7 +1,6 @@
 """
 gEDA Manager
 Copyright (C) 2008 Newell Jensen
-Copyright (C) 2008 gEDA Contributors (see ChangeLog for details)
 
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
@@ -41,8 +40,8 @@ class Settings:
         self.flags = None
         self.default_flags = {'gnucap': ['-b'],
                               'ngspice': ['-b'],
-                              'refdes_renum': ['--verbose'],
-                              'grenum': ['-v'],
+                              'refdes_renum': ['--verbose','--gentle'],
+                              'grenum': [],
                               'gsch2pcb': ['-v'],
                               'gschem': ['-v'],
                               'gnetlist': {'gnetlist': ['-v'], 'backends': ['-v','-g','*backend choosen*','-o','*your_filename_backend.net*']},




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