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

gEDA-cvs: gaf.git: branch: master updated (1.5.2-20090328-180-g358a398)



The branch, master has been updated
       via  358a39882c24bd916b90da7c34af5547c2a31b09 (commit)
       via  ee3878f7c238f75ba3305ab63d3b26e5a4849d7f (commit)
       via  1200d08028aa4a727be0ff702c98e35bdbdbf92a (commit)
      from  c5355bcf9d18c757dc53b0b6f2d773abbaa57b12 (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
=========

 README                     |    2 +-
 gschem/src/g_register.c    |   58 +++++++++++++++++++++++++++----------------
 libgeda/src/o_text_basic.c |    1 -
 3 files changed, 37 insertions(+), 24 deletions(-)


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

commit 358a39882c24bd916b90da7c34af5547c2a31b09
Author: Peter TB Brett <peter@xxxxxxxxxxxxx>
Commit: Peter TB Brett <peter@xxxxxxxxxxxxx>

    libgeda: Remove unused variable in o_text_load_font().
    
    The prim_objs variable was added in
    8af5fba2ec0248331ceb5d2746771e70b2813004, but its use was removed by
    c8628e4df819998e40d7954c5a5d41a2fbfbbb7d.

:100644 100644 c096d74... 853eea4... M	libgeda/src/o_text_basic.c

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

    gschem: Remove use of deprecated scm_create_hook().
    
    ...by providing our own create_hook() function.

:100644 100644 5173d30... e46dc8a... M	gschem/src/g_register.c

commit 1200d08028aa4a727be0ff702c98e35bdbdbf92a
Author: Peter TB Brett <peter@xxxxxxxxxxxxx>
Commit: Peter TB Brett <peter@xxxxxxxxxxxxx>

    Update README to reflect change in tarball name.

:100644 100644 cd3389d... 7112ba4... M	README

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

commit 358a39882c24bd916b90da7c34af5547c2a31b09
Author: Peter TB Brett <peter@xxxxxxxxxxxxx>
Commit: Peter TB Brett <peter@xxxxxxxxxxxxx>

    libgeda: Remove unused variable in o_text_load_font().
    
    The prim_objs variable was added in
    8af5fba2ec0248331ceb5d2746771e70b2813004, but its use was removed by
    c8628e4df819998e40d7954c5a5d41a2fbfbbb7d.

diff --git a/libgeda/src/o_text_basic.c b/libgeda/src/o_text_basic.c
index c096d74..853eea4 100644
--- a/libgeda/src/o_text_basic.c
+++ b/libgeda/src/o_text_basic.c
@@ -327,7 +327,6 @@ GList *o_text_load_font (TOPLEVEL *toplevel, gunichar needed_char)
   int found = TRUE;
   gchar *aux_str2;
   GError *err = NULL;
-  GList *prim_objs = NULL;
 
   /* retrieve the name of the file where the char is defined */
   aux_str2 = g_hash_table_lookup (font_char_to_file,

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

    gschem: Remove use of deprecated scm_create_hook().
    
    ...by providing our own create_hook() function.

diff --git a/gschem/src/g_register.c b/gschem/src/g_register.c
index 5173d30..e46dc8a 100644
--- a/gschem/src/g_register.c
+++ b/gschem/src/g_register.c
@@ -306,7 +306,25 @@ static struct gsubr_t gschem_funcs[] = {
   { "get-selected-component-attributes", 0, 0, 0, g_get_selected_component_attributes },
   
   { NULL,                        0, 0, 0, NULL } };
-  
+
+/*! \brief Define a hook.
+ * \par Function Description
+ * Creates a Guile new hook with \a n_args arguments, and binds it to
+ * the variable \a name, returning the newly created hook.
+ *
+ * \param n_args Number of arguments the hook should take.
+ * \param name   Name of variable to bind the hook to.
+ *
+ * \return the newly-created hook.
+ */
+static SCM
+create_hook (const char *name, int n_args)
+{
+  SCM hook = scm_make_hook (scm_from_int (n_args));
+  scm_c_define (name, hook);
+  return scm_permanent_object (hook);
+}
+
 /*! \brief Register function with Scheme.
  *  \par Function Description
  *  Creates <B>subr</B> objects to make <B>g_rc_*</B> functions that are defined *  #g_rc.c, #g_keys.c and #g_funcs.c visible to Scheme.
@@ -332,26 +350,22 @@ void g_register_funcs (void)
   scm_c_define_gsubr ("get-objects-in-page", 1, 0, 0, g_get_objects_in_page);
   scm_c_define_gsubr ("get-current-page", 0, 0, 0, g_get_current_page);
 
-  add_component_hook  = scm_create_hook ("add-component-hook", 1);
-  add_component_object_hook  = scm_create_hook ("add-component-object-hook", 
-						1);
-  rotate_component_object_hook  = scm_create_hook ("rotate-component-object-hook",
-						   1);
-  mirror_component_object_hook  = scm_create_hook ("mirror-component-object-hook", 
-						1);
-  copy_component_hook = scm_create_hook ("copy-component-hook", 1);
-  move_component_hook = scm_create_hook ("move-component-hook", 1);
-  deselect_component_hook = scm_create_hook ("deselect-component-hook", 1);
-  deselect_net_hook = scm_create_hook ("deselect-net-hook", 1);
-  deselect_all_hook = scm_create_hook ("deselect-all-hook", 1);
-  select_component_hook = scm_create_hook ("select-component-hook", 1);
-  select_net_hook = scm_create_hook ("select-net-hook", 1);
+  add_component_hook  = create_hook ("add-component-hook", 1);
+  add_component_object_hook  = create_hook ("add-component-object-hook", 1);
+  rotate_component_object_hook  = create_hook ("rotate-component-object-hook", 1);
+  mirror_component_object_hook  = create_hook ("mirror-component-object-hook", 1);
+  copy_component_hook = create_hook ("copy-component-hook", 1);
+  move_component_hook = create_hook ("move-component-hook", 1);
+  deselect_component_hook = create_hook ("deselect-component-hook", 1);
+  deselect_net_hook = create_hook ("deselect-net-hook", 1);
+  deselect_all_hook = create_hook ("deselect-all-hook", 1);
+  select_component_hook = create_hook ("select-component-hook", 1);
+  select_net_hook = create_hook ("select-net-hook", 1);
 
-  add_pin_hook = scm_create_hook ("add-pin-hook", 1);
-  mirror_pin_hook = scm_create_hook ("mirror-pin-hook", 1);
-  rotate_pin_hook = scm_create_hook ("rotate-pin-hook", 1);
-  add_attribute_hook = scm_create_hook ("add-attribute-hook", 1);
-  new_page_hook = scm_create_hook ("new-page-hook", 1);
-  complex_place_list_changed_hook = 
-    scm_create_hook ("complex-place-list-changed-hook", 1);
+  add_pin_hook = create_hook ("add-pin-hook", 1);
+  mirror_pin_hook = create_hook ("mirror-pin-hook", 1);
+  rotate_pin_hook = create_hook ("rotate-pin-hook", 1);
+  add_attribute_hook = create_hook ("add-attribute-hook", 1);
+  new_page_hook = create_hook ("new-page-hook", 1);
+  complex_place_list_changed_hook = create_hook ("complex-place-list-changed-hook", 1);
 }

commit 1200d08028aa4a727be0ff702c98e35bdbdbf92a
Author: Peter TB Brett <peter@xxxxxxxxxxxxx>
Commit: Peter TB Brett <peter@xxxxxxxxxxxxx>

    Update README to reflect change in tarball name.

diff --git a/README b/README
index cd3389d..7112ba4 100644
--- a/README
+++ b/README
@@ -101,7 +101,7 @@ Installation from a source archive
 
 First extract the archive to a sensible place:
 
-  tar -xzvf gEDA-<version>.tar.gz && cd gEDA-<version>
+  tar -xzvf gEDA-gaf-<version>.tar.gz && cd gEDA-gaf-<version>
 
 Run the configuration script.  You'll probably want to specify a
 custom directory to install gEDA to, for example:




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