[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: pcb.git: branch: master updated (1ecad8ef9ef72a04c7eaa238748c80b1957bda6c)
The branch, master has been updated
via 1ecad8ef9ef72a04c7eaa238748c80b1957bda6c (commit)
via a82f26085b99bd1af02eee0f7dd5ac54e08376d4 (commit)
via 06b2b313635b7eafd6c93b8878ef842021970c85 (commit)
from 419971a4139205e6c3b6cc255b37d7124ae3165b (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/fontmode.c | 9 +++++++++
src/hid/lesstif/dialogs.c | 2 +-
src/parse_l.l | 2 +-
3 files changed, 11 insertions(+), 2 deletions(-)
=================
Commit Messages
=================
commit 1ecad8ef9ef72a04c7eaa238748c80b1957bda6c
Author: DJ Delorie <dj@xxxxxxxxxxx>
Commit: DJ Delorie <dj@xxxxxxxxxxx>
Fix FontEdit()
Move top/bottom meta-layers to layers 0 and 1 so they'll exist after we
trim out the layers. Set up DRC values to avoid interfereing with the
font layout.
Closes-bug: lp-808591
:100644 100644 8130b59... 985a38f... M src/fontmode.c
commit a82f26085b99bd1af02eee0f7dd5ac54e08376d4
Author: DJ Delorie <dj@xxxxxxxxxxx>
Commit: DJ Delorie <dj@xxxxxxxxxxx>
Use correct units when setting up the Sizes dialog.
Replace %mm with %mS so it auto-selects units, to match the scanning
that's done when you save the settings.
:100644 100644 75e4a20... 5d744f9... M src/hid/lesstif/dialogs.c
commit 06b2b313635b7eafd6c93b8878ef842021970c85
Author: DJ Delorie <dj@xxxxxxxxxxx>
Commit: DJ Delorie <dj@xxxxxxxxxxx>
Avoid segfault tmp-saving partial board.
Check for both PCB and PCB->Data to avoid trying to save a backup copy
of a partially created layout.
:100644 100644 9ebb8e2... 33a115d... M src/parse_l.l
=========
Changes
=========
commit 1ecad8ef9ef72a04c7eaa238748c80b1957bda6c
Author: DJ Delorie <dj@xxxxxxxxxxx>
Commit: DJ Delorie <dj@xxxxxxxxxxx>
Fix FontEdit()
Move top/bottom meta-layers to layers 0 and 1 so they'll exist after we
trim out the layers. Set up DRC values to avoid interfereing with the
font layout.
Closes-bug: lp-808591
diff --git a/src/fontmode.c b/src/fontmode.c
index 8130b59..985a38f 100644
--- a/src/fontmode.c
+++ b/src/fontmode.c
@@ -85,6 +85,15 @@ FontEdit (int argc, char **argv, Coord Ux, Coord Uy)
if (hid_actionl ("New", "Font", 0))
return 1;
+ Settings.grid_unit = get_unit_struct("mil");
+ Settings.Bloat = PCB->Bloat = 1;
+ Settings.Shrink = PCB->Shrink = 1;
+ Settings.minWid = PCB->minWid = 1;
+ Settings.minSlk = PCB->minSlk = 1;
+
+ MoveLayerToGroup (max_copper_layer + COMPONENT_LAYER, 0);
+ MoveLayerToGroup (max_copper_layer + SOLDER_LAYER, 1);
+
while (PCB->Data->LayerN > 4)
MoveLayer (4, -1);
for (l = 0; l < 4; l++)
commit a82f26085b99bd1af02eee0f7dd5ac54e08376d4
Author: DJ Delorie <dj@xxxxxxxxxxx>
Commit: DJ Delorie <dj@xxxxxxxxxxx>
Use correct units when setting up the Sizes dialog.
Replace %mm with %mS so it auto-selects units, to match the scanning
that's done when you save the settings.
diff --git a/src/hid/lesstif/dialogs.c b/src/hid/lesstif/dialogs.c
index 75e4a20..5d744f9 100644
--- a/src/hid/lesstif/dialogs.c
+++ b/src/hid/lesstif/dialogs.c
@@ -1141,7 +1141,7 @@ sz_val2str (Widget w, Coord u, int pcbu)
{
static char buf[40];
if (pcbu)
- pcb_sprintf (buf, "%m+%.2mm", Settings.grid_unit->allow, u);
+ pcb_sprintf (buf, "%m+%.2mS", Settings.grid_unit->allow, u);
else
pcb_sprintf (buf, "%#mS %%", u);
XmTextSetString (w, buf);
commit 06b2b313635b7eafd6c93b8878ef842021970c85
Author: DJ Delorie <dj@xxxxxxxxxxx>
Commit: DJ Delorie <dj@xxxxxxxxxxx>
Avoid segfault tmp-saving partial board.
Check for both PCB and PCB->Data to avoid trying to save a backup copy
of a partially created layout.
diff --git a/src/parse_l.l b/src/parse_l.l
index 9ebb8e2..33a115d 100644
--- a/src/parse_l.l
+++ b/src/parse_l.l
@@ -278,7 +278,7 @@ static int Parse(char *Executable, char *Path, char *Filename, char *Parameter)
CreateBeLenient (true);
#if !defined(HAS_ATEXIT) && !defined(HAS_ON_EXIT)
- if (PCB)
+ if (PCB && PCB->Data)
SaveTMPData();
returncode = yyparse();
RemoveTMPData();
_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs