Re: gEDA-user: Zoom bug on Windows

2011-09-16 Thread DJ Delorie

> > Should we just accept the fact that Windows won't have
> > script-generated footprints, and #ifdef it out?
> 
> So the correct answer to the dialog in winXP would have been a binary
> of a m4 compiler?

No, because the contents script requires bash, not m4.  But you can't
*generate* the footprints without m4.


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Zoom bug on Windows

2011-09-16 Thread DJ Delorie

> It sounds like 'bash' needs to be selected as the program to run

That would be tricky, as we don't install bash.


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: unconnected tracks

2011-09-16 Thread Kai-Martin Knaak
Peter Clifton wrote:

> On Fri, 2011-09-16 at 02:02 +0200, Kai-Martin Knaak wrote:
>> here comes the forgotten patch for more intuitive select and
>> unselect menu items.
> 
> If there are corresponding items in pcb-menu.res, it would be good to
> keep those in sync as we change gpcb-menu.res, otherwise - looks
> good.

Here comes a supplemented patch.
I also corrected a glitch: The original patch changed gpcb-menu.res 
rather than gpcb-menu.res.in .

---<)kaimartin(>---
-- 
Kai-Martin Knaak, Email: k...@familieknaak.de
http://pool.sks-keyservers.net:11371/pks/lookup?search=0x6C0B9F53
Still unhappy with moderation of geda-user. 
Why? Because it is completely intransparent.>From 597e6ff58522e22ea1ed9629b60f4d9d1202d267 Mon Sep 17 00:00:00 2001
From: Kai-Martin Knaak 
Date: Sat, 17 Sep 2011 00:48:37 +0200
Subject: [PATCH] More accurate description of Select() and Unselect() action

Unlike the menu and the texi manual suggest, Select(Connection) does not check
for connectivity. Instead, it acts on visible objects with the found flag set.
In addition, the select() and unselect() actions act only on objects in visible
layers. This patch changes the menu and the texi documentation accordingly.
---
 doc/pcb.texi |8 
 src/action.c |6 +++---
 src/gpcb-menu.res.in |4 ++--
 src/pcb-menu.res.in  |4 ++--
 4 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/doc/pcb.texi b/doc/pcb.texi
index d543a2c..cdf4a04 100644
--- a/doc/pcb.texi
+++ b/doc/pcb.texi
@@ -3942,9 +3942,9 @@ There are no defaults.
 @itemx Select(ElementByName|ObjectByName|PadByName|PinByName)
 @itemx Select(TextByName|ViaByName)
 Toggles either the selection flag of the object at the cross hair position
-(@emph{ToggleObject}) or selects all visible objects, all inside a
-rectangle or all objects which have been found during the last connection
-scan. The @emph{ByName} functions use a @ref{Regular Expressions} search,
+(@emph{ToggleObject}) or selects all visible objects, all visible objects inside
+a rectangle or all objects which are visible and have the ``found'' flag set.
+The @emph{ByName} functions use a @ref{Regular Expressions} search,
 always case insensitive, to select the objects.
 Default:
 @example
@@ -4084,7 +4084,7 @@ UnloadVendor()
 @cindex unselect objects
 @item Unselect(All|Block|Connection)
 Unselects all visible objects, all inside a rectangle or all objects which
-have been found during the last connection scan.
+are visible and the ``found'' flag set.
 Default:
 @example
 !Shift : Mode(Save) Mode(None) Unselect(Block)
diff --git a/src/action.c b/src/action.c
index 1923cf9..d241025 100644
--- a/src/action.c
+++ b/src/action.c
@@ -5316,13 +5316,13 @@ type specified are selected.
 Selects the object under the cursor.
 
 @item Block
-Selects all objects in a rectangle indicated by the cursor.
+Selects all visible objects in a rectangle indicated by the cursor.
 
 @item All
-Selects all objects on the board.
+Selects all objects on visible layers.
 
 @item Connection
-Selects all connections with the ``found'' flag set.
+Selects all visible objects with the ``found'' flag set.
 
 @item Convert
 Converts the selected objects to an element.  This uses the highest
diff --git a/src/gpcb-menu.res.in b/src/gpcb-menu.res.in
index 7e63811..c69ae46 100644
--- a/src/gpcb-menu.res.in
+++ b/src/gpcb-menu.res.in
@@ -229,10 +229,10 @@ MainMenu =
 #
   {"Select" m=l
{"Select all visible objects" Select(All)}
-   {"Select all connected objects" Select(Connection)}
+   {"Select visible found objects" Select(Connection)}
-
{"Unselect all objects" Unselect(All)}
-   {"unselect all connected objects" Unselect(Connection)}
+   {"Unselect visible found objects" Unselect(Connection)}
-
{"Select by name"
 {"All objects" Select(ObjectByName) active=have_regex}
diff --git a/src/pcb-menu.res.in b/src/pcb-menu.res.in
index 7e6e8bd..477edf1 100644
--- a/src/pcb-menu.res.in
+++ b/src/pcb-menu.res.in
@@ -221,10 +221,10 @@ MainMenu =
 
   {Select
{"Select all visible objects" Select(All)}
-   {"Select all connected objects" Select(Connection)}
+   {"Select visible found objects" Select(Connection)}
-
{"Unselect all objects" Unselect(All)}
-   {"unselect all connected objects" Unselect(Connection)}
+   {"Unselect visible found objects" Unselect(Connection)}
-
{"Select by name" foreground=grey50 sensitive=false}
{"All objects" Select(ObjectByName) active=have_regex}
-- 
1.7.5.4




___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Zoom bug on Windows

2011-09-16 Thread Kai-Martin Knaak
DJ Delorie wrote:

> 
>> (I still have to find a way to get rid of the ListLibraryContents.sh
>> problem)
> 
> Should we just accept the fact that Windows won't have
> script-generated footprints, and #ifdef it out?

So the correct answer to the dialog in winXP would have been a binary
of a m4 compiler?

As for the removal: I couldn't care less. My only connection to m4 is
the effort necessary to not use it. Currently, my PCB post install script 
moves the m4 library out of the way, so gnetlist called by import 
schematics does not find it and prefer it over the footprints in my 
own lib. 

---<)kaimartin(>---
-- 
Kai-Martin Knaak, Email: k...@familieknaak.de
http://pool.sks-keyservers.net:11371/pks/lookup?search=0x6C0B9F53
Still unhappy with moderation of geda-user. 
Why? Because it is completely intransparent.



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: New gtk menu system

2011-09-16 Thread Colin D Bennett
On Fri, 16 Sep 2011 20:25:19 +0200
Kai-Martin Knaak  wrote:

> Kai-Martin Knaak wrote:
> 
> > See the attached screenshots
> > how this theme renders mouse-over of route styles.
> 
> Sigh. When will I ever learn to attach right with the original
> post... Here come the announced attchments. 

Hey, I know how you feel.  Maybe you need The AttachWarner plugin
for Claws Mail:


Regards,
Colin


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Zoom bug on Windows

2011-09-16 Thread Colin D Bennett
On Fri, 16 Sep 2011 21:23:50 +0200
Kai-Martin Knaak  wrote:

> DJ Delorie wrote:
> 
> > Try this snapshot:
> > 
> > ftp://ftp.delorie.com/pub/geda-windows/snapshots/pcb-20110916.exe
> 
> I tried in a virtual box with winXP. Now, I better understand
> Bobs problem. On the first call of the application, I got a
> dialog that asked which application to use for
> "ListLibraryContents.sh". The windows noob in me guessed, that
> this is supposed to be the pcb binary. So I happily navigated to
> the snapshot dir and selected pcb. This was a terrible mistake. 
> Whenever I try to start PCB, it enters a loop and literally
> spawns more and more copies of PCB until all memory is used.
> These opies are not easy to kill, because they don't react fast
> enough. WinXP insists to ask wether it should sende a report to
> microoft for every single kill...
> 
> Unfortunately, a remove and reinstall does not remove this
> problem. The faulty setting must resides somewhere in the windows
> configs. How I can get rid of them? And what should be the
> correct setting in the first place?

It sounds like 'bash' needs to be selected as the program to run
"ListLibraryContents.sh", although I think pcb should explicitly
be calling a Bourne shell to run the script.  See src/main.c around
lines 1129-1130:

  SSET (LibraryContentsCommand, "ListLibraryContents.sh '%p' '%f'",
"lib-contents-command", "Command to query the contents of the library"),

You should be able to delete or edit the file association Windows
made for *.sh files.  E.g., on Windows XP try
<http://support.microsoft.com/kb/307859>.  You can also use regedit
to manually edit the registry if you need to.

Regards,
Colin


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Zoom bug on Windows

2011-09-16 Thread Bert Timmerman
Hi all, 

> -Original Message-
> From: geda-user-boun...@moria.seul.org 
> [mailto:geda-user-boun...@moria.seul.org] On Behalf Of 
> Kai-Martin Knaak
> Sent: Friday, September 16, 2011 9:53 PM
> To: geda-u...@seul.org
> Subject: Re: gEDA-user: Zoom bug on Windows
> 
> DJ Delorie wrote:
> 
> > Another try (url changed to make sure you don't get a stale copy):
> > 
> > ftp://ftp.delorie.com/pub/geda-windows/snapshots/pcb-20110916-2.exe
> 
> Sucess!
> This binary is able to zoom on my virtualboxed winXP. 
> (I still have to find a way to get rid of the 
> ListLibraryContents.sh problem)
> 
> ---<)kaimartin(>---
> -- 
> Kai-Martin Knaak  tel: 
> +49-511-762-2895
> Universität Hannover, Inst. für Quantenoptik  fax: 
> +49-511-762-2211  
> Welfengarten 1, 30167 Hannover   
> http://www.iqo.uni-hannover.de
> -> not happy with moderation of geda-user mailinglist
> 
> 
> 

Got pcb-20110916-2.exe zooming too with:

- Keys "z" and "Z"

- Pull down menu

- Scroll wheel

Thanks guys.

Kind regards,

Bert Timmerman



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Zoom bug on Windows

2011-09-16 Thread DJ Delorie

> (I still have to find a way to get rid of the ListLibraryContents.sh problem)

Should we just accept the fact that Windows won't have
script-generated footprints, and #ifdef it out?

I did fix the newlib generator to produce the "right" footprint names
from the m4 library, see if pcblib-newlib/ is good enough.


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Zoom bug on Windows

2011-09-16 Thread Kai-Martin Knaak
DJ Delorie wrote:

> Another try (url changed to make sure you don't get a stale copy):
> 
> ftp://ftp.delorie.com/pub/geda-windows/snapshots/pcb-20110916-2.exe

Sucess!
This binary is able to zoom on my virtualboxed winXP. 
(I still have to find a way to get rid of the ListLibraryContents.sh problem)

---<)kaimartin(>---
-- 
Kai-Martin Knaak  tel: +49-511-762-2895
Universität Hannover, Inst. für Quantenoptik  fax: +49-511-762-2211 
Welfengarten 1, 30167 Hannover   http://www.iqo.uni-hannover.de
-> not happy with moderation of geda-user mailinglist



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Zoom bug on Windows

2011-09-16 Thread Kai-Martin Knaak
DJ Delorie wrote:

> Try this snapshot:
> 
> ftp://ftp.delorie.com/pub/geda-windows/snapshots/pcb-20110916.exe

I tried in a virtual box with winXP. Now, I better understand Bobs problem. 
On the first call of the application, I got a dialog that asked which 
application to use for "ListLibraryContents.sh". The windows noob in me 
guessed, that this is supposed to be the pcb binary. So I happily navigated 
to the snapshot dir and selected pcb. This was a terrible mistake.
 
Whenever I try to start PCB, it enters a loop and literally spawns more
and more copies of PCB until all memory is used. These opies are not easy 
to kill, because they don't react fast enough. WinXP insists to ask wether
it should sende a report to microoft for every single kill...

Unfortunately, a remove and reinstall does not remove this problem. The 
faulty setting must resides somewhere in the windows configs. How I can
get rid of them? And what should be the correct setting in the first place?

Anyway, after I clicked through the kill of 66 of the 67 copies, I got
a responding PCB application. A sample layout did load fine. Zoom still
does not work -- Not with the mouse and not with zZ. pan is ok, though. 
My keyboard is German. The locale of the windows binary is "DE". 

---<)kaimartin(>---
-- 
Kai-Martin Knaak  tel: +49-511-762-2895
Universität Hannover, Inst. für Quantenoptik  fax: +49-511-762-2211 
Welfengarten 1, 30167 Hannover   http://www.iqo.uni-hannover.de
-> not happy with moderation of geda-user mailinglist



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Zoom bug on Windows

2011-09-16 Thread DJ Delorie

Another try (url changed to make sure you don't get a stale copy):

ftp://ftp.delorie.com/pub/geda-windows/snapshots/pcb-20110916-2.exe


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: help with pcb dsn plugin

2011-09-16 Thread Jared Casper
I just posted this to the related bug tracker, but thought some people
that would be interested wouldn't be following that, so reposting
here:

I wanted try out this freerouting.net thing so went ahead and updated
this patch to work with the latest git head and nanometer awesomeness.

Here's what I did:

-- extensive style changes for my own sanity. There was inconsistent
style throughout (like all of pcb's code), so I chose the one I
personally like best (linux kernel style with indent of 4 instead of
8). :)

-- Brought all the handling of coordinates up to date with the new
Coord type and nm precision. There were a few places where dimensions
were being rounded to the nearest mil, etc. which would've been bad
for metric based boards. This has all been taken care of and appears
to be working in some simple tests. DSN files are now in mm units with
nm precision.

-- Removed the somewhat dubious code for finding the rotation of the
part copied over from bom.c. We don't have the original footprint
anyway, so the rotation was not being used. The code is still there in
bom.c if it is needed in the future.

-- Fixed some minor issues like a small memory leak, etc.

-- Fixed issues registering the action and updated config values to use Coord.

-- New line from the session file weren't clearing polygons.

-- Possibly some other stuff, I forget, I just went through the whole
thing top to bottom and fixed anything I saw weird.

Some things still not quite handled:

-- Existing polygons on the pcb don't make it into the dsn.

-- Parts rotated at non-orthogonal angles probably won't work since
rectangular pads won't be rotated correctly.

-- As noted in the bug report, there is no copyright/license notice
from the original authors.  Maybe some legal issues with the Specctra
file format as well (I doubt it though, the text-based file format
would be trivial to reverse-engineer even without  the spec).

-- Probably some other stuff.

It appears to be working with some early tests, and freerouting.net is
pretty awesome.

Jared

On Sun, Jun 12, 2011 at 12:45 PM, Josh Jordan  wrote:
>    I was able to fix the action problem and create a single patch, if
>    anyone is interested in using freerouting.net.  Turn on only the layers
>    you want routed on before exporting.
>    -Josh Jordan
>    --- On Sun, 6/12/11, Josh Jordan  wrote:
>
>      From: Josh Jordan 
>      Subject: gEDA-user: help with pcb dsn plugin
>      To: geda-user@moria.seul.org
>      Date: Sunday, June 12, 2011, 12:14 PM
>
>        I made a dsn export/import plugin a few years back that I am trying
>    to
>        merge into latest git pcb version.   It works to export and the dsn
>    can
>        be routed with freerouting.net, and the import function appears in
>    the
>        menu, but the import action does not work.  The function name is
>        ActionLoadDsnFrom() but somehow during compilation it lists a
>        "LoaddsnFrom" in the list of actions.  It says "Unknown Action"
>    when I
>        try to use LoaddsnFrom or ActionLoadDsnFrom, or LoadDsnFrom.  Is
>    there
>        a way to list what actions exist in pcb?
>        I had to make 2 patches, the first one with "git diff" it only
>    shows
>        files that were changed.  The second patch is from "git add -i
>        /src/hid/dsn", "git commit" and "git format-patch -1" and it will
>    only
>        show files that were added.  If anyone knows how to make the patch
>    with
>        1 command that would also help.
>        Thanks,
>        Josh Jordan
>
>      -Inline Attachment Follows-
>
>    ___
>    geda-user mailing list
>    [1]geda-user@moria.seul.org
>    [2]http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
>
> References
>
>   1. file://localhost/mc/compose?to=geda-user@moria.seul.org
>   2. http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
>
>
>
> ___
> geda-user mailing list
> geda-user@moria.seul.org
> http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
>
>
From a0bb98376c96e91876bebdcc6d958c8a9f07d6e4 Mon Sep 17 00:00:00 2001
From: Jared Casper 
Date: Thu, 15 Sep 2011 17:12:52 -0700
Subject: [PATCH] Add SPECCTRA dsn export and session file (.ses) import.

Original patch by Josh Jordan and Dan McMahill.
---
 configure.ac |2 +-
 src/Makefile.am  |   18 ++-
 src/gpcb-menu.res.in |1 +
 src/hid/dsn/dsn.c|  609 ++
 src/hid/dsn/dsn.h|3 +
 src/hid/dsn/hid.conf |1 +
 src/pcb-menu.res.in  |1 +
 7 files changed, 633 insertions(+), 2 deletions(-)
 create mode 100644 src/hid/dsn/dsn.c
 create mode 100644 src/hid/dsn/dsn.h
 create mode 100644 src/hid/dsn/hid.conf

diff --git a/configure.ac b/configure.ac
index a802790..197e325 100644
--- a/configure.ac
+++ b/configure.ac
@@ -436,7 +436,7 @@ esac
 
 AC_MSG_CHECKING([for which exporters to use])
 AC_ARG_WITH([exporters],
-[  --with-e

Re: gEDA-user: Zoom bug on Windows

2011-09-16 Thread DJ Delorie

> Nope, pcb-20110916.exe is still not zooming with z/Z or the pull down menu.

My bad, the script built a new snapshot but failed to download it
because the local cache already had a file by that name.  I'm
rebuilding...


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Zoom bug on Windows

2011-09-16 Thread Bert Timmerman
Hi Peter, 

> -Original Message-
> From: geda-user-boun...@moria.seul.org 
> [mailto:geda-user-boun...@moria.seul.org] On Behalf Of Peter Clifton
> Sent: Friday, September 16, 2011 4:08 PM
> To: geda-dev; geda-user
> Subject: gEDA-user: Zoom bug on Windows
> 
> I have an idea what might be the root cause of the zoom bug...
> 
> I will take bets that all the locales where this was reported 
> - Dutch, Finish, German - use "," as a decimal separator 
> rather than ".".
> 
> The action we execute on zoom is "Zoom(+1.2)" or "Zoom(-1.2)" 
> which would not work if those numbers were miss-interpreted.
> 
> Perhaps we are failing to set the appropriate LC_NUMERIC (or 
> equivalent) on Win32. I recall a similar bug in gschem or 
> gerbv which required us to use "C" not "POSIX" when setting 
> the locale.
> 
> A quick grep shows:
> 
> src/hid/gtk/gui-top-window.c:  setlocale (LC_NUMERIC, 
> "POSIX"); /* use decimal point instead of comma */
>  FAIL ___^
> 
> 
> The gschem commit in question was this:
> 
> 
> commit a78d166a1b57b80ff46e2ac98a14989b8af77c3e
> Author: Peter Clifton 
> Date:   Tue Jan 19 23:11:36 2010 +
> 
> Set the LC_NUMERIC locale to "C" rather than "POSIX"
> 
> This value is supported on Win32 platforms, whereas 
> "POSIX" doesn't
> appear to have any effect.
> 
> This is required in order to get correct postscript 
> output in locales
> where "," is used as the decimal point separator. It also 
> affects the
> font strings passed to Pango, causing broken text 
> rendering in gschem.
> 
> Thanks to Cesar for testing this change indeed fixes the issue.
> 
> Tested-by: Cesar Strauss 
> (cherry picked from commit 
> 5d130060e694cfd3b3be177f1fae4a576728ff25)
> 
> 
> A better solution would be to use locale agnostic string 
> processing routines here.
> 
> 
> --
> Peter Clifton
> 
> Electrical Engineering Division,
> Engineering Department,
> University of Cambridge,
> 9, JJ Thomson Avenue,
> Cambridge
> CB3 0FA
> 
> Tel: +44 (0)7729 980173 - (No signal in the lab!)
> Tel: +44 (0)1223 748328 - (Shared lab phone, ask for me)
> 

Nope, pcb-20110916.exe is still not zooming with z/Z or the pull down menu.

Kind regards,

Bert Timmerman.



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Zoom bug on Windows

2011-09-16 Thread DJ Delorie

> I will take bets that all the locales where this was reported - Dutch,
> Finish, German - use "," as a decimal separator rather than ".".

Try this snapshot:

ftp://ftp.delorie.com/pub/geda-windows/snapshots/pcb-20110916.exe
9,243,114 bytes

I switched from strdot() to g_ascii_strtod() to parse Zoom() values,
but left the other strtod()'s alone (command line parsing).


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: New gtk menu system

2011-09-16 Thread Kai-Martin Knaak
Andrew Poelstra wrote:

> Why do you want this feedback? The highlighting is meant to give a
> tactile feel to the layer selector, nothing more.

There is more to it. Obvious feedback can make a fast switch of layers 
more efficient.


> Pcb doesn't care
> what layer the mouse is over. 

It does not care, what scrollbar, or what toolbox button the mouse is over,
either. Yet both of them highlight. 


> The user shouldn't care what layer the mouse is over.

For sure I do. I want to know exactly, what layer is going to be activated
before I give the mouse a click. It is pleasant to see this on first glance
without having to actually focus the eyes to the widget. (Yes, the accel
keys are even better at it. But this is not the point.)


> The old highlight mode was awful. 

I don't want to have it back!! ;-)
All I am asking for, is that the highlighting of the new box is obvious.


> (The default gtk button prelighting is even less visible than
> my layer swatch business -- look at the "Route Styles" button.)

This depends on the GTK style. Some styles feature very obvious 
highlighting on mouse-over of radio buttons, some make it less 
obvious and some don't hint at all. I for one use a slightly
modified version of the theme wasp, which is one of the default 
themes distributed with gnome in debian. See the attached screenshots
how this theme renders mouse-over of route styles. The other clickable
items in the PCB GUI behave in a similar way -- Tool box, scroll bar,
and even menu items. For consistency, the layer box should behave the 
same. 
While at it, you might also consider to change the background color 
of the layer box to be consistent with the rest of the GUI widgets.
Currently, it sticks out.

BTW, wasp is not the only theme to do such obvious highlighting. The 
popular nuvola and gorilla themes do the same.


> I have never seen a select box with prelighting
> like you suggest, and evidently neither have the gtk folks.

They do so with radio buttons. And the PCB layer box certainly has a 
radio button aspect to it. 

---<)kaimartin(>---
-- 
Kai-Martin Knaak  tel: +49-511-762-2895
Universität Hannover, Inst. für Quantenoptik  fax: +49-511-762-2211 
Welfengarten 1, 30167 Hannover   http://www.iqo.uni-hannover.de
-> not happy with moderation of geda-user mailinglist



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Zoom bug on Windows

2011-09-16 Thread Kai-Martin Knaak
Peter Clifton wrote:

> I will take bets that all the locales where this was reported - Dutch,
> Finish, German - use "," as a decimal separator rather than ".".

Bingo!
Looks like the world is split in half on this:
http://en.wikipedia.org/wiki/File:DecimalSeparator.svg

--<)kaimartin(>---
-- 
Kai-Martin Knaak  tel: +49-511-762-2895
Universität Hannover, Inst. für Quantenoptik  fax: +49-511-762-2211 
Welfengarten 1, 30167 Hannover   http://www.iqo.uni-hannover.de
-> not happy with moderation of geda-user mailinglist



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: windows testers wanted

2011-09-16 Thread Hannu Vuolasaho




From: pc...@cam.ac.uk
To: geda-user@moria.seul.org
Date: Fri, 16 Sep 2011 13:06:38 +0100
Subject: Re: gEDA-user: windows testers wanted


2) Could you try turning off "text-services" in windows?


I'm looking to figure out whether something is blocking your short-cuts
(like a hidden or transparent IME window or something like that).

Do other keyboard shortcuts work? - For example, does typing ":" bring
up a command window - either in the status bar area of PCB, or as a
separate window?

Text-services was disabled. : V 1234 o TAB etc. works. And Z key on keyboard 
works also. 

One interesting thing. zoom(-1.9)...zoom(+0.1)...zoom(+1.9) commands don't have 
any effect from command prompt or from executefile().
And I get V, zoom(+2.1) zoom(-2.9) same view back.

So. I believe my zZ is working but zooming don't.

Hannu Vuolasaho

  


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Zoom bug on Windows

2011-09-16 Thread Hannu Vuolasaho




From: pc...@cam.ac.uk
To: geda-...@seul.org; geda-u...@geda.seul.org
Date: Fri, 16 Sep 2011 15:08:01 +0100
Subject: gEDA-user: Zoom bug on Windows


I have an idea what might be the root cause of the zoom bug...

I will take bets that all the locales where this was reported - Dutch,
Finish, German - use "," as a decimal separator rather than ".".

The action we execute on zoom is "Zoom(+1.2)" or "Zoom(-1.2)" which
would not work if those numbers were miss-interpreted.

CONFIRM!

regional settings English(United states) Zz Zoom works.

Scrolling works, trackpad zoom works.

Hannu Vuolasaho
  


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


gEDA-user: Zoom bug on Windows

2011-09-16 Thread Peter Clifton
I have an idea what might be the root cause of the zoom bug...

I will take bets that all the locales where this was reported - Dutch,
Finish, German - use "," as a decimal separator rather than ".".

The action we execute on zoom is "Zoom(+1.2)" or "Zoom(-1.2)" which
would not work if those numbers were miss-interpreted.

Perhaps we are failing to set the appropriate LC_NUMERIC (or equivalent)
on Win32. I recall a similar bug in gschem or gerbv which required us to
use "C" not "POSIX" when setting the locale.

A quick grep shows:

src/hid/gtk/gui-top-window.c:  setlocale (LC_NUMERIC, "POSIX"); /* use decimal 
point instead of comma */
 FAIL ___^


The gschem commit in question was this:


commit a78d166a1b57b80ff46e2ac98a14989b8af77c3e
Author: Peter Clifton 
Date:   Tue Jan 19 23:11:36 2010 +

Set the LC_NUMERIC locale to "C" rather than "POSIX"

This value is supported on Win32 platforms, whereas "POSIX" doesn't
appear to have any effect.

This is required in order to get correct postscript output in locales
where "," is used as the decimal point separator. It also affects the
font strings passed to Pango, causing broken text rendering in gschem.

Thanks to Cesar for testing this change indeed fixes the issue.

Tested-by: Cesar Strauss 
(cherry picked from commit 5d130060e694cfd3b3be177f1fae4a576728ff25)


A better solution would be to use locale agnostic string processing
routines here.


-- 
Peter Clifton

Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA

Tel: +44 (0)7729 980173 - (No signal in the lab!)
Tel: +44 (0)1223 748328 - (Shared lab phone, ask for me)


signature.asc
Description: This is a digitally signed message part


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: windows testers wanted

2011-09-16 Thread Peter Clifton
On Fri, 2011-09-16 at 13:06 +0100, Peter Clifton wrote:

> As for the z / Z shortcuts, could you
> 
> 1) Describe where those keys are on your keyboard?
>Are they the non-shifted, and shifted versions of the same physical
> button?
>Do you have to hold any other modifier keys?

(Ignore this one... I just saw your previous email linking to a picture
of the layout - thanks).

-- 
Peter Clifton

Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA

Tel: +44 (0)7729 980173 - (No signal in the lab!)
Tel: +44 (0)1223 748328 - (Shared lab phone, ask for me)


signature.asc
Description: This is a digitally signed message part


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: windows testers wanted

2011-09-16 Thread Peter Clifton
On Fri, 2011-09-16 at 03:01 +0300, Hannu Vuolasaho wrote:

> With 10mil/px  I got red screen and then used scrollbars to pan out of
> there. Did it zoom right? Nanometer bug? +/- 20% don't work. I believe
> all more views and zooms work from menu.

Can you confirm that other menu items (e.g. File->Load layout) work
correctly?


As for the z / Z shortcuts, could you

1) Describe where those keys are on your keyboard?
   Are they the non-shifted, and shifted versions of the same physical
button?
   Do you have to hold any other modifier keys?

2) Could you try turning off "text-services" in windows?

From http://support.microsoft.com/kb/306993

To turn text services on or off (using Classic view in Control Panel): 

Click Start, click Control Panel, and then double-click Regional and Language 
Options. 
 1. On the Languages tab, under Text services and input languages, click 
Details. 
 2. Under Preferences, click Language Bar. 
 3. To turn text services off, select the Turn off advanced text services 
check box. 
 4. To turn text services on, clear the check box.
 5. Click Yes if you are prompted to confirm your selection. 
 6. Notes: 
Use this procedure to turn off handwriting recognition, speech 
recognition, and some accessibility features temporarily. These 
services can affect performance, and if you are not using them 
with your current program, you can turn them off temporarily.
  * If you are not using a text service at all, you should remove it.
  * Turning off text services does not affect multiple languages or 
keyboards that you have added under Installed services in the 
Text Services and Input Languages dialog box. 


I'm looking to figure out whether something is blocking your short-cuts
(like a hidden or transparent IME window or something like that).

Do other keyboard shortcuts work? - For example, does typing ":" bring
up a command window - either in the status bar area of PCB, or as a
separate window?


Best regards,

-- 
Peter Clifton

Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA

Tel: +44 (0)7729 980173 - (No signal in the lab!)
Tel: +44 (0)1223 748328 - (Shared lab phone, ask for me)


signature.asc
Description: This is a digitally signed message part


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: windows testers wanted

2011-09-16 Thread Hannu Vuolasaho


> Date: Thu, 15 Sep 2011 21:21:04 -0400
> From: bob.padd...@gmail.com
> To: geda-user@moria.seul.org
> Subject: Re: gEDA-user: windows testers wanted
>
> On Thu, Sep 15, 2011 at 8:01 PM, Hannu Vuolasaho  wrote:
>
> > Installer is 20110915-dj but I don't understand the differences in results.
>
> Under your control-panel what is Regions/Languages set for?

Finnish layout http://en.wikipedia.org/wiki/File:KB_Finnish_Multilingual.svg
And Finland as region. Keycode should be same for Z key. I don't know how 
Windows behaves with that.

Hannu Vuolasaho

  


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: unconnected tracks

2011-09-16 Thread Peter Clifton
On Fri, 2011-09-16 at 02:02 +0200, Kai-Martin Knaak wrote:
> here comes the forgotten patch for more intuitive select and unselect
> menu items.

If there are corresponding items in pcb-menu.res, it would be good to
keep those in sync as we change gpcb-menu.res, otherwise - looks good.

-- 
Peter Clifton

Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA

Tel: +44 (0)7729 980173 - (No signal in the lab!)
Tel: +44 (0)1223 748328 - (Shared lab phone, ask for me)


signature.asc
Description: This is a digitally signed message part


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user