[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: pcb.git: branch: master updated (238d32ce8acb01c7533c48a22779d8748fa60eb5)
The branch, master has been updated
via 238d32ce8acb01c7533c48a22779d8748fa60eb5 (commit)
via 82659182e02012ffc0c7b90a8055cf007a9f33ad (commit)
from dbf835c02cda1d16157a83f8c1b9b1da2a05400a (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
=========
src/action.c | 2 +-
src/file.c | 6 +++++-
2 files changed, 6 insertions(+), 2 deletions(-)
=================
Commit Messages
=================
commit 238d32ce8acb01c7533c48a22779d8748fa60eb5
Author: DJ Delorie <dj@xxxxxxxxxxx>
Commit: DJ Delorie <dj@xxxxxxxxxxx>
Check for special name "(local)" to mean "."
When expanding a tree of footprints, we want the symbolic name
"(local)" to mean the "." subdir. Now that we check for chdir()
failures, we can no longer "just work" because the chdir didn't
change directories.
:100644 100644 bfe0de0... 4e4d55d... M src/file.c
commit 82659182e02012ffc0c7b90a8055cf007a9f33ad
Author: David Dandar <ddandar@xxxxxxxxxxxxxxxxxxxxx>
Commit: DJ Delorie <dj@xxxxxxxxxxx>
Let RealignGrid align grid to a pin or pad snap.
SF patch 2476262:
Realign grid has been broken for a while. Darn mm and mil mix components
were killing me. I got desperate and fixed it, but I'm not sure if it's
the right fix. It does work though. Hope this helps.
:100644 100644 88907af... e3576bf... M src/action.c
=========
Changes
=========
commit 238d32ce8acb01c7533c48a22779d8748fa60eb5
Author: DJ Delorie <dj@xxxxxxxxxxx>
Commit: DJ Delorie <dj@xxxxxxxxxxx>
Check for special name "(local)" to mean "."
When expanding a tree of footprints, we want the symbolic name
"(local)" to mean the "." subdir. Now that we check for chdir()
failures, we can no longer "just work" because the chdir didn't
change directories.
diff --git a/src/file.c b/src/file.c
index bfe0de0..4e4d55d 100644
--- a/src/file.c
+++ b/src/file.c
@@ -1157,7 +1157,11 @@ LoadNewlibFootprintsFromDir(char *libpath, char *toppath)
return 0;
}
- strcpy (subdir, libpath);
+ if (strcmp (libpath, "(local)") == 0)
+ strcpy (subdir, ".");
+ else
+ strcpy (subdir, libpath);
+
if (chdir (subdir))
{
ChdirErrorMessage (subdir);
commit 82659182e02012ffc0c7b90a8055cf007a9f33ad
Author: David Dandar <ddandar@xxxxxxxxxxxxxxxxxxxxx>
Commit: DJ Delorie <dj@xxxxxxxxxxx>
Let RealignGrid align grid to a pin or pad snap.
SF patch 2476262:
Realign grid has been broken for a while. Darn mm and mil mix components
were killing me. I got desperate and fixed it, but I'm not sure if it's
the right fix. It does work though. Hope this helps.
diff --git a/src/action.c b/src/action.c
index 88907af..e3576bf 100644
--- a/src/action.c
+++ b/src/action.c
@@ -2831,7 +2831,7 @@ ActionDisplay (int argc, char **argv, int childX, int childY)
oldGrid = PCB->Grid;
PCB->Grid = 1.0;
- if (MoveCrosshairAbsolute (childX, childY))
+ if (MoveCrosshairAbsolute (Crosshair.X, Crosshair.Y))
RestoreCrosshair (false); /* was hidden by MoveCrosshairAbs */
SetGrid (oldGrid, true);
}
_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs