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

gEDA-cvs: gaf.git: branch: master updated (1.5.2-20090328-114-g8cb3182)



The branch, master has been updated
       via  8cb318276281c1eacb9dc5246ed5b338839a55d8 (commit)
       via  055db3fd1f3acb07df92f2fadd4f3b4d093937f8 (commit)
       via  82c4e182c71d8a4fb9584b059a2f3215f6438cfe (commit)
      from  7d719ebe1767d2ba802174fb172f0e1a896a857b (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
=========

 gattrib/src/gattrib.c            |   14 --------------
 gnetlist/scheme/gnet-pcbpins.scm |    7 -------
 gnetlist/src/gnetlist.c          |   13 +------------
 gschem/src/gschem.c              |   14 +-------------
 gschem/src/x_attribedit.c        |   29 ++++++++++++++++++-----------
 gsymcheck/src/gsymcheck.c        |   14 +-------------
 utils/gschlas/gschlas.c          |   14 +-------------
 7 files changed, 22 insertions(+), 83 deletions(-)


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

commit 8cb318276281c1eacb9dc5246ed5b338839a55d8
Author: Krzysztof KoÅ?ciuszkiewicz <k.kosciuszkiewicz+geda@xxxxxxxxx>
Commit: Peter TB Brett <peter@xxxxxxxxxxxxx>

    gschem: Add name completion to attribute edit dialog

:100644 100644 74dbfca... 82ff00f... M	gschem/src/x_attribedit.c

commit 055db3fd1f3acb07df92f2fadd4f3b4d093937f8
Author: Peter TB Brett <peter@xxxxxxxxxxxxx>
Commit: Peter TB Brett <peter@xxxxxxxxxxxxx>

    gsch2pcb is not experimental anymore.
    
    So we don't need to scream about it being EXPERIMENTAL!!!!!!1111oneone
    and possibly put new users off it.

:100644 100644 2c675a6... 16f451d... M	gnetlist/scheme/gnet-pcbpins.scm

commit 82c4e182c71d8a4fb9584b059a2f3215f6438cfe
Author: Peter TB Brett <peter@xxxxxxxxxxxxx>
Commit: Peter TB Brett <peter@xxxxxxxxxxxxx>

    Reduce stderr spew.
    
    It's not necessary to spew massive amounts of output to stderr on
    startup. It's ugly and not legally necessary.
    
    This patch modifies the tools only to spew a GPL header to stderr when
    entering gnetlist's interactive mode -- and to be nice and quiet the rest of
    the time.

:100644 100644 3f29e7f... 0e24500... M	gattrib/src/gattrib.c
:100644 100644 d18a925... 25e5916... M	gnetlist/src/gnetlist.c
:100644 100644 e768aa5... 805ef75... M	gschem/src/gschem.c
:100644 100644 c3cba93... cb01e8b... M	gsymcheck/src/gsymcheck.c
:100644 100644 085a328... 124df97... M	utils/gschlas/gschlas.c

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

commit 8cb318276281c1eacb9dc5246ed5b338839a55d8
Author: Krzysztof KoÅ?ciuszkiewicz <k.kosciuszkiewicz+geda@xxxxxxxxx>
Commit: Peter TB Brett <peter@xxxxxxxxxxxxx>

    gschem: Add name completion to attribute edit dialog

diff --git a/gschem/src/x_attribedit.c b/gschem/src/x_attribedit.c
index 74dbfca..82ff00f 100644
--- a/gschem/src/x_attribedit.c
+++ b/gschem/src/x_attribedit.c
@@ -294,7 +294,7 @@ void attrib_edit_dialog (GSCHEM_TOPLEVEL *w_current, OBJECT *attr_obj, int flag)
   GtkWidget *show_options;
   GtkWidget *show_options_menu;
   GtkWidget *glade_menuitem;
-  GtkWidget *attrib_combo;
+  GtkWidget *attrib_combo_box_entry;
   GtkWidget *attrib_combo_entry;
   GtkWidget *value_entry;
   GtkWidget *visbutton;
@@ -303,10 +303,10 @@ void attrib_edit_dialog (GSCHEM_TOPLEVEL *w_current, OBJECT *attr_obj, int flag)
   GtkWidget *addtocompsbutton;
   GtkWidget *addtonetsbutton;
   GtkWidget *overwritebutton;
+  GtkEntryCompletion *attrib_combo_entry_completion;
 
   /* gschem specific */
   GList *s_current = NULL;
-  GList *combo_items = NULL;
   char* string = NULL;
   int nsel=0, i, len;
   char *name = NULL;
@@ -380,13 +380,14 @@ void attrib_edit_dialog (GSCHEM_TOPLEVEL *w_current, OBJECT *attr_obj, int flag)
                     (GtkAttachOptions) (GTK_FILL),
                     (GtkAttachOptions) (GTK_FILL), 0, 0);
 
-  attrib_combo = gtk_combo_new ();
-  gtk_table_attach (GTK_TABLE (table), attrib_combo, 1, 2, 0, 1,
+  attrib_combo_box_entry = gtk_combo_box_entry_new_text ();
+  attrib_combo_entry = gtk_bin_get_child(GTK_BIN(attrib_combo_box_entry));
+  gtk_table_attach (GTK_TABLE (table), attrib_combo_box_entry, 1, 2, 0, 1,
                     (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                     (GtkAttachOptions) (0), 0, 0);
-  attrib_combo_entry = GTK_COMBO (attrib_combo)->entry;
-  gtk_widget_ref (attrib_combo_entry);
-  gtk_object_set_data_full (GTK_OBJECT (aewindow), "attrib_combo_entry", attrib_combo_entry,
+  g_object_ref (attrib_combo_entry);
+  g_object_set_data_full (G_OBJECT (aewindow),
+                         "attrib_combo_entry", attrib_combo_entry,
                             (GtkDestroyNotify) gtk_widget_unref);
 
   /* Value entry */
@@ -540,13 +541,19 @@ void attrib_edit_dialog (GSCHEM_TOPLEVEL *w_current, OBJECT *attr_obj, int flag)
   i = 0;
   string = (char *) s_attrib_get(i);
   while (string != NULL) {
-    combo_items = g_list_append(combo_items, string);
+    gtk_combo_box_append_text(GTK_COMBO_BOX(attrib_combo_box_entry), string);
     i++;
     string = (char *) s_attrib_get(i);
   }
-  combo_items = g_list_prepend(combo_items, name);
-  gtk_combo_set_popdown_strings(GTK_COMBO(attrib_combo), combo_items);
-  g_list_free(combo_items);
+
+  /* Add completion to attribute combo box entry */
+  attrib_combo_entry_completion = gtk_entry_completion_new();
+  gtk_entry_completion_set_model(attrib_combo_entry_completion,
+          gtk_combo_box_get_model(GTK_COMBO_BOX(attrib_combo_box_entry)));
+  gtk_entry_completion_set_text_column(attrib_combo_entry_completion, 0);
+  gtk_entry_completion_set_inline_completion(attrib_combo_entry_completion, TRUE);
+  gtk_entry_completion_set_popup_single_match(attrib_combo_entry_completion, FALSE);
+  gtk_entry_set_completion(GTK_ENTRY(attrib_combo_entry), attrib_combo_entry_completion);
   
   /* gschem specific */
   gtk_widget_show_all(aewindow);

commit 055db3fd1f3acb07df92f2fadd4f3b4d093937f8
Author: Peter TB Brett <peter@xxxxxxxxxxxxx>
Commit: Peter TB Brett <peter@xxxxxxxxxxxxx>

    gsch2pcb is not experimental anymore.
    
    So we don't need to scream about it being EXPERIMENTAL!!!!!!1111oneone
    and possibly put new users off it.

diff --git a/gnetlist/scheme/gnet-pcbpins.scm b/gnetlist/scheme/gnet-pcbpins.scm
index 2c675a6..16f451d 100644
--- a/gnetlist/scheme/gnet-pcbpins.scm
+++ b/gnetlist/scheme/gnet-pcbpins.scm
@@ -93,13 +93,6 @@
 ;; The top level netlister for pcbpins
 (define pcbpins
   (lambda (filename)
-    (newline)
-    (display "---------------------------------\n")
-    (display "gEDA/gnetlist pcbpins Backend\n")
-    (display "This backend is EXPERIMENTAL\n")
-    (display "Use at your own risk!\n")
-    (display "---------------------------------\n\n")
-    
     (let ((port (open-output-file filename)))
       
       ;; write the header

commit 82c4e182c71d8a4fb9584b059a2f3215f6438cfe
Author: Peter TB Brett <peter@xxxxxxxxxxxxx>
Commit: Peter TB Brett <peter@xxxxxxxxxxxxx>

    Reduce stderr spew.
    
    It's not necessary to spew massive amounts of output to stderr on
    startup. It's ugly and not legally necessary.
    
    This patch modifies the tools only to spew a GPL header to stderr when
    entering gnetlist's interactive mode -- and to be nice and quiet the rest of
    the time.

diff --git a/gattrib/src/gattrib.c b/gattrib/src/gattrib.c
index 3f29e7f..0e24500 100644
--- a/gattrib/src/gattrib.c
+++ b/gattrib/src/gattrib.c
@@ -151,20 +151,6 @@ void gattrib_main(void *closure, int argc, char *argv[])
     ("This is free software, and you are welcome to redistribute it under certain\n");
   s_log_message
     ("conditions; please see the COPYING file for more details.\n\n");
-  
-  if (!quiet_mode) {
-    fflush(stderr);
-    fflush(stdout);
-    fprintf(stderr, 
-	    "gEDA/gattrib version %s%s.%s\n", PREPEND_VERSION_STRING, 
-            DOTTED_VERSION, DATE_VERSION);
-    fprintf(stderr,
-	    "gEDA/gattrib comes with ABSOLUTELY NO WARRANTY; see COPYING for more details.\n");
-    fprintf(stderr,
-	    "This is free software, and you are welcome to redistribute it under certain\n");
-    fprintf(stderr,
-	    "conditions; please see the COPYING file for more details.\n\n");
-  }
 
   /* ------  register guile (scheme) functions.  Necessary to parse RC file.  ------ */
   g_register_funcs();
diff --git a/gnetlist/src/gnetlist.c b/gnetlist/src/gnetlist.c
index d18a925..25e5916 100644
--- a/gnetlist/src/gnetlist.c
+++ b/gnetlist/src/gnetlist.c
@@ -153,18 +153,7 @@ void main_prog(void *closure, int argc, char *argv[])
     s_log_message
         ("conditions; please see the COPYING file for more details.\n\n");
 
-    if (!quiet_mode) {
-        fprintf(stderr, "gEDA/gnetlist version %s%s.%s\n",
-                PREPEND_VERSION_STRING, DOTTED_VERSION, DATE_VERSION);
-        fprintf(stderr,
-                "gEDA/gnetlist comes with ABSOLUTELY NO WARRANTY; see COPYING for more details.\n");
-        fprintf(stderr,
-                "This is free software, and you are welcome to redistribute it under certain\n");
-        fprintf(stderr,
-                "conditions; please see the COPYING file for more details.\n\n");
-    }
-
-#ifdef __MINGW32__
+#if defined(__MINGW32__) && defined(DEBUG)
     fprintf(stderr, "This is the MINGW32 port.\n\n");
 #endif
 
diff --git a/gschem/src/gschem.c b/gschem/src/gschem.c
index e768aa5..805ef75 100644
--- a/gschem/src/gschem.c
+++ b/gschem/src/gschem.c
@@ -189,19 +189,7 @@ void main_prog(void *closure, int argc, char *argv[])
   s_log_message(
                 _("conditions; please see the COPYING file for more details.\n\n")); 
 
-  if (!quiet_mode) {
-    fprintf(stderr, 
-            _("gEDA/gschem version %s%s.%s\n"), PREPEND_VERSION_STRING, 
-            DOTTED_VERSION, DATE_VERSION);
-    fprintf(stderr, 
-            _("gEDA/gschem comes with ABSOLUTELY NO WARRANTY; see COPYING for more details.\n"));
-    fprintf(stderr, 
-            _("This is free software, and you are welcome to redistribute it under certain\n"));
-    fprintf(stderr, 
-            _("conditions; please see the COPYING file for more details.\n\n")); 
-  }
-
-#ifdef __MINGW32__
+#if defined(__MINGW32__) && defined(DEBUG)
   fprintf(stderr, _("This is the MINGW32 port.\n"));
 #endif  
 
diff --git a/gsymcheck/src/gsymcheck.c b/gsymcheck/src/gsymcheck.c
index c3cba93..cb01e8b 100644
--- a/gsymcheck/src/gsymcheck.c
+++ b/gsymcheck/src/gsymcheck.c
@@ -65,20 +65,8 @@ main_prog(void *closure, int argc, char *argv[])
   s_log_init ("gsymcheck");
 
   logging_dest=STDOUT_TTY;
-  if (!quiet_mode)
-  {
-    s_log_message(
-                  "gEDA/gsymcheck version %s%s.%s\n", PREPEND_VERSION_STRING,
-                  DOTTED_VERSION, DATE_VERSION);
-    s_log_message(
-                  "gEDA/symcheck comes with ABSOLUTELY NO WARRANTY; see COPYING for more details.\n");
-    s_log_message(
-                  "This is free software, and you are welcome to redistribute it under certain\n");
-    s_log_message(
-                  "conditions; please see the COPYING file for more details.\n\n"); 
-  }
 
-#ifdef __MINGW32__
+#if defined(__MINGW32__) && defined(DEBUG)
   fprintf(stderr, "This is the MINGW32 port.\n");
 #endif  
 
diff --git a/utils/gschlas/gschlas.c b/utils/gschlas/gschlas.c
index 085a328..124df97 100644
--- a/utils/gschlas/gschlas.c
+++ b/utils/gschlas/gschlas.c
@@ -70,20 +70,8 @@ main_prog(void *closure, int argc, char *argv[])
   s_log_init ("gschlas");
 	
   logging_dest=STDOUT_TTY;
-  if (!quiet_mode)
-  {
-    s_log_message(
-                  "gEDA/gschlas version %s%s.%s\n", PREPEND_VERSION_STRING, 
-                  DOTTED_VERSION, DATE_VERSION);
-    s_log_message(
-                  "gEDA/gschlas comes with ABSOLUTELY NO WARRANTY; see COPYING for more details.\n");
-    s_log_message(
-                  "This is free software, and you are welcome to redistribute it under certain\n");
-    s_log_message(
-                  "conditions; please see the COPYING file for more details.\n\n"); 
-  }
 
-#ifdef __MINGW32__
+#if defined(__MINGW32__) && defined(DEBUG)
   fprintf(stderr, "This is the MINGW32 port.\n");
 #endif  
 



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