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

gEDA-cvs: gaf.git: branch: master updated (1.5.2-20090328-225-g48cfd28)



The branch, master has been updated
       via  48cfd281de766e976cce21103333e566ed6dfcab (commit)
       via  a34e326784706cb761ba689a75bef19a5b1ee880 (commit)
       via  b0fa7dd7839915703d9101006bed1c7305477e30 (commit)
       via  211e381f2295cb29673199c0c767c254bfe3f2e4 (commit)
      from  9a928684c64bbd4343a71dcc3176073c075588d0 (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
=========

 NEWS                            |    3 +++
 configure.ac                    |    2 +-
 gnetlist/docs/gnetlist.1        |    2 +-
 gschem/docs/gschem.1            |    2 +-
 gschem/include/gschem_defines.h |    1 +
 gschem/src/o_cue.c              |    4 ++++
 gschem/src/o_grips.c            |    4 ++--
 gsymcheck/docs/gsymcheck.1      |    2 +-
 utils/man/grenum.1              |    2 +-
 9 files changed, 15 insertions(+), 7 deletions(-)


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

commit 48cfd281de766e976cce21103333e566ed6dfcab
Author: Ales Hvezda <ahvezda@xxxxxxxx>
Commit: Ales Hvezda <ahvezda@xxxxxxxx>

    Updated toplevel NEWS with another change

:100644 100644 3eb55f1... a28166b... M	NEWS

commit a34e326784706cb761ba689a75bef19a5b1ee880
Author: Mark Rages <markrages@xxxxxxxxx>
Commit: Ales Hvezda <ahvezda@xxxxxxxx>

    Modify the drawing of the grips to set a hard limit on the screen size
    
    This patch changes the size of the grips in gschem.  In the past, the
    grip size was always directly related to the zoom factor (you would
    get really large grips when zoomed in a lot).  Now the grip sizes are a
    fixed size at certain zoom factors (grip sizes are reasonably sized when
    zoomed in a lot).  This patch also renders the grips on top of endpoint
    cues so that you can see the grip rectangle when you are zoomed in a lot
    (there might be a better way of doing this, but this works for now).
    
    Signed-off-by: Ales Hvezda <ahvezda@xxxxxxxx>

:100644 100644 cd34528... a849436... M	gschem/include/gschem_defines.h
:100644 100644 f5daa76... e465539... M	gschem/src/o_cue.c
:100644 100644 1889c0f... 36b421f... M	gschem/src/o_grips.c

commit b0fa7dd7839915703d9101006bed1c7305477e30
Author: Ales Hvezda <ahvezda@xxxxxxxx>
Commit: Ales Hvezda <ahvezda@xxxxxxxx>

    Updated the versions of the software in all man pages

:100644 100644 9d8e5df... b8c61ed... M	gnetlist/docs/gnetlist.1
:100644 100644 2e5fee1... 2f2ee16... M	gschem/docs/gschem.1
:100644 100644 bebef33... e394ebf... M	gsymcheck/docs/gsymcheck.1
:100644 100644 995402f... 53a199e... M	utils/man/grenum.1

commit 211e381f2295cb29673199c0c767c254bfe3f2e4
Author: Ales Hvezda <ahvezda@xxxxxxxx>
Commit: Ales Hvezda <ahvezda@xxxxxxxx>

    Updated the AX_GIT_VERSION in prep for the next release

:100644 100644 b603b8d... 6dbd5f1... M	configure.ac

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

commit 48cfd281de766e976cce21103333e566ed6dfcab
Author: Ales Hvezda <ahvezda@xxxxxxxx>
Commit: Ales Hvezda <ahvezda@xxxxxxxx>

    Updated toplevel NEWS with another change

diff --git a/NEWS b/NEWS
index 3eb55f1..a28166b 100644
--- a/NEWS
+++ b/NEWS
@@ -71,6 +71,9 @@ Notable changes in gEDA/gaf 1.5.3
 
 * Cleaned up the slot dialog box in 'gschem'.
 
+* Changed the grip size rendering in 'gschem' to be reasonably sized when
+  zoomed in a lot.
+
 * Introduction of a new attribute searching API in 'libgeda' and 'gschem'.
 
 * Improvements and cleanup to the 'gnetlist' and 'gsymcheck' test suites.

commit a34e326784706cb761ba689a75bef19a5b1ee880
Author: Mark Rages <markrages@xxxxxxxxx>
Commit: Ales Hvezda <ahvezda@xxxxxxxx>

    Modify the drawing of the grips to set a hard limit on the screen size
    
    This patch changes the size of the grips in gschem.  In the past, the
    grip size was always directly related to the zoom factor (you would
    get really large grips when zoomed in a lot).  Now the grip sizes are a
    fixed size at certain zoom factors (grip sizes are reasonably sized when
    zoomed in a lot).  This patch also renders the grips on top of endpoint
    cues so that you can see the grip rectangle when you are zoomed in a lot
    (there might be a better way of doing this, but this works for now).
    
    Signed-off-by: Ales Hvezda <ahvezda@xxxxxxxx>

diff --git a/gschem/include/gschem_defines.h b/gschem/include/gschem_defines.h
index cd34528..a849436 100644
--- a/gschem/include/gschem_defines.h
+++ b/gschem/include/gschem_defines.h
@@ -31,6 +31,7 @@
 #define GRIP_SIZE3		80
 #define SMALL_ZOOMFACTOR1	150
 #define SMALL_ZOOMFACTOR2	30
+#define MAXIMUM_GRIP_PIXELS     30
 
 /* for bus_ripper_type */
 #define COMP_BUS_RIPPER         0
diff --git a/gschem/src/o_cue.c b/gschem/src/o_cue.c
index f5daa76..e465539 100644
--- a/gschem/src/o_cue.c
+++ b/gschem/src/o_cue.c
@@ -56,6 +56,10 @@ void o_cue_redraw_all (GSCHEM_TOPLEVEL *w_current, GList *list, gboolean draw_se
 	  w_current->toplevel->DONT_REDRAW = 0 || redraw_state;
 	}
         o_cue_draw_single(w_current, o_current);
+
+	if (o_current->selected && w_current->draw_grips) {
+	  o_line_draw_grips (w_current, o_current);
+	}
         break;
 
       case(OBJ_COMPLEX):
diff --git a/gschem/src/o_grips.c b/gschem/src/o_grips.c
index 1889c0f..36b421f 100644
--- a/gschem/src/o_grips.c
+++ b/gschem/src/o_grips.c
@@ -1544,7 +1544,7 @@ void o_grips_end_bus(GSCHEM_TOPLEVEL *w_current, OBJECT *o_current, int whichone
  *  and height of a grip in screen units.
  *
  *  <B>GRIP_SIZE1</B> and <B>GRIP_SIZE2</B> and <B>GRIP_SIZE3</B> are macros defined
- *  in libgeda #defines.h. They are the half width/height of a grip in
+ *  in gschem_defines.h. They are the half width/height of a grip in
  *  world unit for a determined range of zoom factors.
  *
  *  \param [in] w_current  The GSCHEM_TOPLEVEL object.
@@ -1567,7 +1567,7 @@ int o_grips_size(GSCHEM_TOPLEVEL *w_current)
     size = SCREENabs (w_current, GRIP_SIZE3);
   }
   
-  return size;
+  return min(size, MAXIMUM_GRIP_PIXELS/2);
 }
 
 /*! \brief Draw grip centered at <B>x</B>, <B>y</B>

commit b0fa7dd7839915703d9101006bed1c7305477e30
Author: Ales Hvezda <ahvezda@xxxxxxxx>
Commit: Ales Hvezda <ahvezda@xxxxxxxx>

    Updated the versions of the software in all man pages

diff --git a/gnetlist/docs/gnetlist.1 b/gnetlist/docs/gnetlist.1
index 9d8e5df..b8c61ed 100644
--- a/gnetlist/docs/gnetlist.1
+++ b/gnetlist/docs/gnetlist.1
@@ -1,4 +1,4 @@
-.TH gnetlist 1 "March 28th, 2009" Version 1.5.2.20090328
+.TH gnetlist 1 "August 29th, 2009" Version 1.5.3.20090829
 .SH NAME
 gnetlist - gEDA/gaf Netlist extraction/generation
 .SH SYNOPSIS
diff --git a/gschem/docs/gschem.1 b/gschem/docs/gschem.1
index 2e5fee1..2f2ee16 100644
--- a/gschem/docs/gschem.1
+++ b/gschem/docs/gschem.1
@@ -1,4 +1,4 @@
-.TH gschem 1 "March 28th, 2009" Version 1.5.2.20090328
+.TH gschem 1 "August 29th, 2009" Version 1.5.3.20090829
 .SH NAME
 gschem - gEDA/gaf Schematic Capture
 .SH SYNOPSIS
diff --git a/gsymcheck/docs/gsymcheck.1 b/gsymcheck/docs/gsymcheck.1
index bebef33..e394ebf 100644
--- a/gsymcheck/docs/gsymcheck.1
+++ b/gsymcheck/docs/gsymcheck.1
@@ -1,4 +1,4 @@
-.TH gsymcheck 1 "March 28th, 2009" Version 1.5.2.20090328
+.TH gsymcheck 1 "August 29th, 2009" Version 1.5.3.20090829
 .SH NAME
 gsymcheck - gEDA/gaf Symbol Checker
 .SH SYNOPSIS
diff --git a/utils/man/grenum.1 b/utils/man/grenum.1
index 995402f..53a199e 100644
--- a/utils/man/grenum.1
+++ b/utils/man/grenum.1
@@ -1,4 +1,4 @@
-.TH grenum 1 "March 28th, 2009" Version 1.5.2.20090328
+.TH grenum 1 "August 29th, 2009" Version 1.5.3.20090829
 
 .SH NAME
 .B grenum

commit 211e381f2295cb29673199c0c767c254bfe3f2e4
Author: Ales Hvezda <ahvezda@xxxxxxxx>
Commit: Ales Hvezda <ahvezda@xxxxxxxx>

    Updated the AX_GIT_VERSION in prep for the next release

diff --git a/configure.ac b/configure.ac
index b603b8d..6dbd5f1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -24,7 +24,7 @@ AC_GNU_SOURCE # FIXME for some reason this is needed?
 # Do version number magic
 #####################################################################
 
-AX_GIT_VERSION([20090328])
+AX_GIT_VERSION([20090829])
 
 # This is used for keeping the ChangeLog files up-to-date
 AC_SUBST([CHANGELOG_BASE], [1.0-20070526])




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