You can subscribe to this list here.
| 2003 |
Jan
|
Feb
(4) |
Mar
(5) |
Apr
|
May
(5) |
Jun
(30) |
Jul
(2) |
Aug
(18) |
Sep
(14) |
Oct
(7) |
Nov
(21) |
Dec
(44) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2004 |
Jan
(63) |
Feb
(94) |
Mar
(54) |
Apr
(39) |
May
(34) |
Jun
(25) |
Jul
(10) |
Aug
(33) |
Sep
(16) |
Oct
(62) |
Nov
(12) |
Dec
(2) |
| 2005 |
Jan
(71) |
Feb
(8) |
Mar
(50) |
Apr
|
May
(2) |
Jun
(12) |
Jul
(19) |
Aug
(8) |
Sep
(3) |
Oct
(2) |
Nov
|
Dec
(8) |
| 2006 |
Jan
(10) |
Feb
(1) |
Mar
(301) |
Apr
(232) |
May
(26) |
Jun
(20) |
Jul
(26) |
Aug
(79) |
Sep
(92) |
Oct
(174) |
Nov
(17) |
Dec
(93) |
| 2007 |
Jan
(27) |
Feb
(179) |
Mar
(37) |
Apr
(81) |
May
(20) |
Jun
(5) |
Jul
|
Aug
(40) |
Sep
(68) |
Oct
(8) |
Nov
(47) |
Dec
(34) |
| 2008 |
Jan
(154) |
Feb
(15) |
Mar
(5) |
Apr
(21) |
May
(4) |
Jun
(1) |
Jul
(4) |
Aug
(6) |
Sep
(8) |
Oct
(9) |
Nov
(35) |
Dec
(50) |
| 2009 |
Jan
(8) |
Feb
(10) |
Mar
(6) |
Apr
(9) |
May
(7) |
Jun
(40) |
Jul
(7) |
Aug
(5) |
Sep
(2) |
Oct
(16) |
Nov
(42) |
Dec
(5) |
| 2010 |
Jan
(3) |
Feb
(15) |
Mar
(32) |
Apr
(18) |
May
(6) |
Jun
(9) |
Jul
|
Aug
(11) |
Sep
(16) |
Oct
|
Nov
(4) |
Dec
(35) |
| 2011 |
Jan
(24) |
Feb
(6) |
Mar
(27) |
Apr
(119) |
May
(72) |
Jun
(20) |
Jul
(31) |
Aug
(88) |
Sep
(86) |
Oct
(14) |
Nov
(11) |
Dec
(30) |
| 2012 |
Jan
(4) |
Feb
(3) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2017 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: <gi...@gp...> - 2011-09-18 19:17:47
|
The branch, pcb-20110918 has been created
at 2a05dd78fb05c967845933591ad21183c259445a (commit)
commit 2a05dd78fb05c967845933591ad21183c259445a
Author: DJ Delorie <dj...@de...>
Date: Sun Sep 18 15:13:18 2011 -0400
Today is the 18th :-)
commit e7881e1cd1ddffde9d685c32661e713caf715c42
Author: DJ Delorie <dj...@de...>
Date: Sun Sep 18 15:10:58 2011 -0400
Update Changelog and NEWS for 20110918
commit 9b21e7d14d2d5e86c7ffd76972e362bc1d2ebdb0
Author: DJ Delorie <dj...@de...>
Date: Sun Sep 18 13:38:01 2011 -0400
Remove src/hid/common/hidgl_package_vrml_y.c from POTFILES.in
Reverts 61bd0cb1e134bbea96abd6fd2d5fb94d09c0b3c8 as this file doesn't
exist in this repository, causing a distcheck failure.
commit df25b6b3f1326a2adccfbf1e20223c4cfa8a4057
Author: DJ Delorie <dj...@de...>
Date: Sun Sep 18 13:20:55 2011 -0400
Update golden files for nanometers
hid_png3 was off by a pixel on a line end. I retested my UV and TT
films to verify that the nanometers conversion didn't affect line
*widths* and updated the golden file to accept this one-pixel
difference.
commit c8214a0ca40ed31ea31a98904c798dc8f7bfe322
Author: DJ Delorie <dj...@de...>
Date: Sat Sep 17 17:28:33 2011 -0400
[windows] use unix-style path separators when calling gnetlist
commit c9b8eaee755a5e192732814e275f6a0ce67386b3
Merge: 70db91fc3dfb8b378962794fc8f86f71b52f7af8 7452c9e8fc227353e9fec7b2a8d0b5014a9ba828
Author: Felix Ruoff <Fe...@po...>
Date: Sat Sep 17 22:50:17 2011 +0200
Merge branch 'master' of ssh://git.gpleda.org/pcb
commit 70db91fc3dfb8b378962794fc8f86f71b52f7af8
Author: Kai-Martin Knaak <km...@li...>
Date: Fri Sep 16 01:07:32 2011 +0200
remove panner control from documentation
There is no panner control in the GUI (anymore?) since at least five years.
this pathc removes its description from the texi manual.
Closes-bug: lp-851443
commit 7452c9e8fc227353e9fec7b2a8d0b5014a9ba828
Author: Kai-Martin Knaak <km...@li...>
Date: Fri Sep 16 01:07:32 2011 +0200
remove panner control from documentation
There is no panner control in the GUI (anymore?) since at least five years.
this pathc removes its description from the texi manual.
commit 07d0e2691bc9dbbf5eb743468cce5ab82f28f32a
Author: Peter Clifton <pc...@ca...>
Date: Sat Sep 17 16:08:59 2011 +0100
Don't adjust the Library command settings if they are NULL, or
an empty string.
(The empty string part is a fixup for
commit 31df66e87a810aac852139da9119b15c47fa8c71
- this will teach me for bikeshedding)
The NULL part should fix bug lp-852598
Closes-bug: lp-852598
commit 31df66e87a810aac852139da9119b15c47fa8c71
Author: Peter Clifton <pc...@ca...>
Date: Sat Sep 17 15:13:09 2011 +0100
Bikeshed commit 11700ba8c3c951a788c8190073eb09822060dfdd
I don't like magic strings, and IMO, using a blank LibraryContentsCommand
string to imply "don't use this feature" is better than "*NONE*".
commit aa73c06889aa6c8ac7b7ff5816ee4863915c7994
Author: Peter Clifton <pc...@ca...>
Date: Sat Sep 17 14:52:41 2011 +0100
hid/gtk: 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 was one possible way to fix the "zoom doesn't work" bug on Win32
for locales which use "," as the decimal separator.
DJ fixed the Zoom action to be locale independent in
commit fd5399c67b988f2f7c9d1a0b4ab7c13bc2e95158, which worked around
the problem for this particular action, but I feel it would be best
that we made our locale handling consistent between Linux and Win32
as well.
Affects-bug: lp-843577
commit 09aab0bb01e914cc773d2115292695645f561bd5
Author: Dima Kogan <di...@se...>
Date: Thu Sep 8 14:31:13 2011 -0700
fixed an instance of the "only-optimize-autorouted" flag being ignored
Signed-off-by: Dima Kogan <di...@se...>
commit 11700ba8c3c951a788c8190073eb09822060dfdd
Author: DJ Delorie <dj...@de...>
Date: Fri Sep 16 23:30:41 2011 -0400
Skip the M4 library on Windows
On Windows, set the LibraryContentsCommand to the magic string "*NONE*"
and check for that string while loading the libraries. This avoids the
windows pcb.exe from trying to run bash or m4 scripts, which are
normally not available, yet allows the user a way to re-enable them if
they want.
commit fd5399c67b988f2f7c9d1a0b4ab7c13bc2e95158
Author: DJ Delorie <dj...@de...>
Date: Fri Sep 16 14:08:04 2011 -0400
De-localize zoom parsing
The values used for Zoom() were being parsed with strtod(), which
switches between '.' and ',' depending on locale. Switch to
g_ascii_strtod() which always uses '.' and thus always matches our
actions.
Note: I didn't change the command line parsing, because I didn't think
we should impose '.'-centric syntax on other locales.
commit a2bcea72cf4161eb928582a28fac3443309d8050
Author: DJ Delorie <dj...@de...>
Date: Fri Sep 16 01:23:25 2011 -0400
Add DIL footprint names and R025.
Existing tutorials say to use "DIL 16 300" for DIPs (we use "N 16 300")
and often call for the R025 footprint, so add them as aliases so the
m4-to-newlib converter includes them.
commit 8147be7a70654c6c29d0e29e222c4014cf19fa5d
Author: DJ Delorie <dj...@de...>
Date: Fri Sep 16 01:01:00 2011 -0400
Fix m4-to-newlib converter filenames
The m4 library uses macros and parameters to describe footprints, which
allows for a *very* flexible footprint naming scheme. While it is
impossible for pcb to know all valid footprint values, it does have a
list of "standard" ones, and knows how to obtain those. However, the m4
to newlib converter wasn't using the same footprint naming convention as
everyone else, so produced *.fp files that weren't always useful. For
example, there were a large number of 300.fp files that all collided.
With this fix, the footprint name matches the value in [...] in the
library window, which is what we tell people to use for the "footprint="
attribute anyway.
commit a8b69632f0219923fdbc9df8c44abeed7356b495
Author: DJ Delorie <dj...@de...>
Date: Fri Sep 16 01:00:32 2011 -0400
Wrap all XmStrings in gettext()
commit 61bd0cb1e134bbea96abd6fd2d5fb94d09c0b3c8
Author: Peter Clifton <pc...@ca...>
Date: Thu Sep 15 23:32:33 2011 +0100
Add another missing source file to POTFILES.in
commit fa0768e9a8a1367fedcac74858fe3d08a89f8a71
Author: DJ Delorie <dj...@de...>
Date: Thu Sep 15 15:23:27 2011 -0400
Add locale functions
Add textdomain() and setlocale() to connect to our message catalogs.
commit 8b130d1ee31a41df5dc90c0a729e902b33e11976
Author: Peter Clifton <pc...@ca...>
Date: Thu Sep 15 18:57:32 2011 +0100
Add some missing files to POTFILES.in
(And sorted the file contents).
Reported-by: Bert Timmerman <ber...@xs...>
Affects-bug: lp-846368
commit dd644140ce265bb87a71ff0855a9b1a7083047cb
Author: Bert Timmerman <ber...@xs...>
Date: Fri Sep 9 23:12:23 2011 +0200
Updated the Dutch translation.
commit a537b78f5edc8c8c106ee146987797ef99ceb60a
Author: Peter Clifton <pc...@ca...>
Date: Thu Sep 15 00:24:17 2011 +0100
report.c: Don't leave actions in the undo stack or change the user's flags
Some actions in ReportNetLength*() would have been lumped in with
whatever actions were next added to the undo stack. These functions
also left the user's board with a different "FOUND" flags on various
items.
In the case of the "Report(AllNetLenths)" action, a very long undo stack
would be created, which is not very helpful to the user.
These changes hide the internal flag changes made during the net length
calculation from the undo system.
We are able to get back to the inital board state because we save the
operations caused by our initial RestConnections() on the undo stack.
After we have done our work (modifying various flags in the process),
we reset the flags again (this time bypassing the Undo system), so the
board is consistent with the ResetConnections() call we DID save undo
data for. We then Undo() these changes before we leave the function.
commit 9a8e559401db73ea3c9f9ecddb9f50a179a91bb2
Author: Peter Clifton <pc...@ca...>
Date: Thu Sep 15 17:06:15 2011 +0100
report.c: Return 1 for all failure conditions in ReportNetLengthByName()
commit d0a3105c8dfe80d6a03d358ae850a9587236a23f
Author: Peter Clifton <pc...@ca...>
Date: Wed Sep 14 23:27:45 2011 +0100
undo.c: Add error message where RestoreUndoSerialNumber() will break things
If operations are addded to the undo stack between a call to
IncrementUndoSerialNumber() and a subsequent call for
RestoreUndoSerialNumber(), those added operations will be placed in the
undo stack with an inconsistent serial number.
The {Save,Restore}UndoSerialNumber() API is pretty fragile in this
regard, and we should avoid using it where possible.
An better alternative might be to implement a "LockUndoSerialNumber()"
call which temporarily disables IncrementUndoSerialNumber(), and a
"UnlockUndoSerialNumber()" call which re-enables its increment function.
Better yet - we could make these functions nestable, so we need not
worry whether some action uses this new feature internally when we are
also using it.
commit a7d774b4e0fc7c2aa86a12819c169bc1392b20de
Author: Peter Clifton <pc...@ca...>
Date: Wed Sep 14 21:58:28 2011 +0100
undo.c: Handle undo failures in a more sane manner
Our current error-case handling can cause serial number inconsistency
when something goes wrong when performing an Undo operation. There are
also various logic flaws in our handling, as it only catches failures
where every sub-undo operation with that serial number fails.
Remove the confusing do-loop which decrements the serial number in the
failure case, and return some sensible error message instead.
This patch also removes the code which looked like it was intended to
loop over the undo stack until a serial number was found to operate on.
It is advantageous for code like the DRC to be able to add increment
the undo serial number, then safely perform an Undo - even if there were
no changes logged in the undo system during the previous serial number.
Closes-bug: lp-848509
commit 7705118c47da4941c55d644e20b937e981168e7b
Author: Peter Clifton <pc...@ca...>
Date: Wed Sep 14 21:49:31 2011 +0100
undo.c: Allow undo of locked objects
Our internal actions can make changes to locked objects, then
use the undo mechanism to revert these changes. An example is
DRC, which changes flags on objects and uses the Undo system
to restore their original values.
Affects-bug: lp-848509
commit d63f3f35cb2d0f6d0bef71ecb4bf17208ed76ad7
Author: Peter Clifton <pc...@ca...>
Date: Wed Sep 14 23:02:02 2011 +0100
find.c: Remove stray RestoreUndoSerialNumber() calls
These will cause havoc with the undo system, as we don't actually
save a serial number to restore to.
Until a commit efd212c1deb264e9a7f2be17e9338fbb60e22cc0 we were
saving a serial number at the start of each "ResetConnections (true);"
call, and it would have been that serial number which got restored.
With this and some other fixes to the undo system, these restores
are no longer required.
Affects-bug: lp-848509
commit c8e0f875155405bdcdb6835e8439a2c2fd4fb4a0
Author: Peter Clifton <pc...@ca...>
Date: Wed Sep 14 21:40:27 2011 +0100
gtk: Fix ghid_zoom_view_fit() to work when the board is flipped.
Affects-bug: lp-850311
commit 0ac0076bc9af38dd07700cbb7a6d3f21a8fc2621
Author: Peter Clifton <pc...@ca...>
Date: Tue Sep 13 19:15:02 2011 +0100
Fixup OpenGL includes for better compatibility with OSX
Not tested ;)
commit 90ed0e3f7f467cacd7d858daee023b5aa5e417b9
Author: Peter Clifton <pc...@ca...>
Date: Tue Sep 13 19:15:02 2011 +0100
Better autoconf tests for GL and GLU (from GtkGLExt - GPL v2 or later)
These tests should give better cross platform support for our build.
commit a1197b36497057088057dd0dc4135d19fefda116
Author: Peter Clifton <pc...@ca...>
Date: Tue Sep 13 19:15:02 2011 +0100
Remove the m4 directory from the root .gitignore file and add its own
commit 1ffdc656f5c601db9b4625b9aad14b4d33a49868
Author: DJ Delorie <dj...@de...>
Date: Tue Sep 13 01:55:39 2011 -0400
[lesstif] set units for styles dialog in more places
The styles dialog was segfaulting as the units hadn't been set yet, if
you open the style dialog before doing anything with the grid.
commit 6bbcd9e693a26816abccbd8acdb95100d23c01f9
Author: Peter Clifton <pc...@ca...>
Date: Tue Sep 13 01:21:47 2011 +0100
hid/gtk: Remove misplaced (and redundant) hidgl_flush_triangles() call.
If we were to flush the triangle buffer in ghid_show_crosshair(), we
should do it before we set XOR mode on the GL context (assuming the
buffer might be dirty when we are called), and we should do it after
we finish drawing (if we wish to leave the buffer clean when we return).
The location the flush was in before this commit is just plain wrong.
As we currently have flushes of the triangle buffer wrapping the call
to ghid_show_crosshair(), just leave the flushing out of this function.
Does this commit message provide an adequate example of simple patch,
complex commit message phenomenon?
commit ff9abb9212b375ee7affdffe17803039a8525cfc
Author: Peter Clifton <pc...@ca...>
Date: Tue Sep 13 01:01:45 2011 +0100
hid/gtk: Remove auto-pan feature (kill it with fire).
This seems to be fairly universally unpopular on geda-user, and its
implementation is a little fragile, often leading the board to pan off
to some corner of the board as the poor user reaches for the layer
selector or a menu without having remembered to click the feature off.
The fact that the pan direction and speed was set the instant you leave
the drawing window also made it particularly unhelpful. A proper
implementation should have grabbed the mouse - or at least implemented
some buffer zone in which the mouse could be used to give feedback on
the pan direction.
commit be3aec15d207ca92ee23553c93cce957751343eb
Author: DJ Delorie <dj...@de...>
Date: Sun Sep 11 22:10:45 2011 -0400
[windows] set GDK_PIXBUF_MODULE_FILE
If we're using a local gdk-pixbuf installation, we need to set this env
variable to point to it.
commit 732e10a394d7d3210f7b70dcfafc08b6c40c5210
Author: Bdale Garbee <bd...@ga...>
Date: Sun Sep 11 21:06:13 2011 -0400
Invoke eps2png in $(srcdir), no .
commit cb95aa44bfde8231ab80ae3642a2f380636b4f8d
Author: Peter Clifton <pc...@ca...>
Date: Mon Sep 12 01:49:47 2011 +0100
hid/common: Remove #include "draw.h" from hidgl.c (twice!)
commit 2aeb72bfcee45672651a9bcf2950785e67b578a6
Author: Dima Kogan <di...@se...>
Date: Sun Sep 11 14:54:00 2011 +0200
Re-ordered all references in the style selector dialog to have one consistent ordering.
Everything that refers to the settings in the style selector dialog now does so
in order of
Line thickness
Hole size
Hole thickness (hole + annular ring)
keepaway region size
This wasn't 100% consistent previously, which resulted in a bug (fixed in a
previous patch). This patch doesn't touch the functionality, but improves the
style to avoid future bugs.
Modified to apply on recent route style selector changes by Bert Timmerman.
Signed-off-by: Andrew Poelstra (local) <apo...@wp...>
Affects-bug: lp-844635
commit 59ee4898847f16cec5e08a40229c5108290fc1f8
Author: Dima Kogan <di...@se...>
Date: Sun Sep 11 08:34:59 2011 -0700
Swap via-hole and -ring size connection in route style selector dialog
Closes-bug: lp-844635
Signed-off-by: Andrew Poelstra (local) <apo...@wp...>
commit c62863b2b6e8da2c60c9a7d0d5464582563f7b58
Author: Andrew Poelstra (local) <apo...@wp...>
Date: Sat Sep 10 23:41:57 2011 -0700
Repopulate route style selector on PCBChanged action
When loading a new pcb, Bad Things happen to the route style
selector because pcb's route style data is freed. This patch
removes all styles from the route style selector and re-adds
them whenever a new pcb is loaded.
commit 8876712e765a81629d8437664565fedd0945ecb8
Author: Andrew Poelstra (local) <apo...@wp...>
Date: Sat Sep 10 23:41:10 2011 -0700
Add ghid_route_style_selector_empty to GHidRouteStyleSelector
commit 499fe7a6b88a526f6b48d671107ac3d9ec725290
Author: Andrew Poelstra (local) <apo...@wp...>
Date: Sat Sep 10 23:28:03 2011 -0700
Add finalize function to GHidRouteStyleSelector
commit 9dde48253c590a80a18d4a0f12e3f90c1cfedb26
Author: Bert Timmerman <ber...@xs...>
Date: Fri Sep 9 18:58:18 2011 +0200
Remove the src/hid/gtk/gui-dialog-size.c entry from the translatable files list.
This is a completion of commit:
a914d5ba58104d8559395b66798b35761afb991a
"Replace old route style selector with GHidRouteStyleSelector"
dated 20110903 11:09 PM
commit 7d7b21bc0a770553fdf6cd70bb3eeab4c06f7071
Author: Peter Clifton <pc...@ca...>
Date: Fri Sep 9 01:59:06 2011 +0100
hid/gtk: Filter out double clicks on the layer selector widget
This makes things behave a little nicer if you click to toggle a layer's
visibility twice in quick succession. Previously, this would be
interpreted as a double-click, causing an extra synthetic click event
which would toggle the visibility an extra time.
commit a3b303c83ceb535e6068623b77eb10b14c0ca97a
Author: Peter Clifton <pc...@ca...>
Date: Wed Sep 7 21:23:50 2011 +0100
hid/gtk: Update file-changed notification bar to match gedit a bit more
1. Add a stock "refresh" image to the "Reload" button.
2. Change the message text when the board has modifications.
3. Reload without further prompting if the user presses "Reload",
even if the board is modified. (We already warned them due to 2.)
commit ba4c4e33a07491a0b1952d600f4166c89f4b54ab
Author: Peter Clifton <pc...@ca...>
Date: Wed Sep 7 21:23:50 2011 +0100
hid/gtk: Reimplement file-change monitor without GFileMonitor
I must have had a brain-fail when I hooked up setting up the file-changed
monitor in the function which sets the window title.
NB: That also gets called after every menu operation!
A better place to hook up the monitor would be ghid_sync_with_new_layout(),
however changing this alone revealed another issue - we would get notified
for changes WE make to the files. We were avoiding those events as the
file-monitor was being reset before it could pop up, at the end of the
menu action which invoked the save).
However - due to a race condition bug in GLib / GIO, we would sometimes
see change notify events for changes we made, even when we hooked up
the GFileMonitor AFTER having saved (and synced) our changes to disk.
Rather than attempt to work around this bug, implement the file-change
notification in a much more simple way - look at the file mtime when we
update the layout, and at each time the mouse pointer enters the main
window. FWIW, this is how gedit currently achieves the same feature.
commit 6762885654463db6b39e6a6dfbc1911d196146fc
Author: DJ Delorie <dj...@de...>
Date: Tue Sep 6 23:39:17 2011 -0400
Warn user if footprints can't be found on import
Since the message log doesn't make it obvious, add a pop-up dialog
whenever there are missing footprints during an import.
Affects-bug: lp-828388
commit d46ff633fa3f700c3314a4043dc60fa40b4d827f
Author: DJ Delorie <dj...@de...>
Date: Tue Sep 6 01:56:33 2011 -0400
Fix math error in IsPointOnLine()
The math in C didn't match the math in the comment (and, apparently,
hasn't for quite some time).
To test: Draw three lines, from 1000,3000 to 1500,2500, then to
2000,3000, then back to the start at 1000,3000. Without this patch, the
first and last lines are removed and replaced with a copy of the second
line.
commit 23fdbee2cd45accc1f11856e47508cc49251687e
Author: Peter Clifton <pc...@ca...>
Date: Mon Sep 5 22:55:37 2011 +0100
Implement a new RevertPCB() call, sharing code with LoadPCB()
The RevertPCB() takes no filename parameter, and aside from that,
the only difference to LoadPCB is that when it calls the GUI's
"PCBChanged" action, it passes a new "revert" argument. This should
let the GUIs optionally do less work resetting the view state for a
board being reverted.
commit 84ae26807325c8d2d95cd3ec3c2a6e61c217626e
Author: Peter Clifton <pc...@ca...>
Date: Tue Sep 6 00:22:51 2011 +0100
Add a HID API call, notify_pcb_filename_change()
This is so the core can tell the GUI when the PCB being edited is saved
into a different file.
|
|
From: <gi...@gp...> - 2011-09-18 19:13:33
|
The branch, master has been updated
via 2a05dd78fb05c967845933591ad21183c259445a (commit)
from e7881e1cd1ddffde9d685c32661e713caf715c42 (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 | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
=================
Commit Messages
=================
commit 2a05dd78fb05c967845933591ad21183c259445a
Author: DJ Delorie <dj...@de...>
Commit: DJ Delorie <dj...@de...>
Today is the 18th :-)
:100644 100644 5d8aa04... 3036428... M NEWS
=========
Changes
=========
commit 2a05dd78fb05c967845933591ad21183c259445a
Author: DJ Delorie <dj...@de...>
Commit: DJ Delorie <dj...@de...>
Today is the 18th :-)
diff --git a/NEWS b/NEWS
index 5d8aa04..3036428 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,5 @@
========================================================================
-Release Notes for PCB snapshot 20110917
+Release Notes for PCB snapshot 20110918
========================================================================
This release represents over 797 commits and as such this summary
clearly is not complete. See the ChangeLog file for the complete list
|
|
From: <gi...@gp...> - 2011-09-18 19:11:28
|
The branch, master has been updated
via e7881e1cd1ddffde9d685c32661e713caf715c42 (commit)
from 9b21e7d14d2d5e86c7ffd76972e362bc1d2ebdb0 (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
=========
ChangeLog | 5481 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
NEWS | 95 ++
2 files changed, 5576 insertions(+), 0 deletions(-)
=================
Commit Messages
=================
commit e7881e1cd1ddffde9d685c32661e713caf715c42
Author: DJ Delorie <dj...@de...>
Commit: DJ Delorie <dj...@de...>
Update Changelog and NEWS for 20110918
:100644 100644 672dae6... 182a0ba... M ChangeLog
:100644 100644 d3435ec... 5d8aa04... M NEWS
=========
Changes
=========
commit e7881e1cd1ddffde9d685c32661e713caf715c42
Author: DJ Delorie <dj...@de...>
Commit: DJ Delorie <dj...@de...>
Update Changelog and NEWS for 20110918
diff --git a/ChangeLog b/ChangeLog
index 672dae6..182a0ba 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,5484 @@
+2011-09-18 DJ Delorie * dj AT delorie dot com *
+
+ * po/POTFILES.in: Remove src/hid/common/hidgl_package_vrml_y.c from
+ POTFILES.in Reverts 61bd0cb1e134bbea96abd6fd2d5fb94d09c0b3c8 as this file
+ doesn't exist in this repository, causing a distcheck failure.
+
+2011-09-18 DJ Delorie * dj AT delorie dot com *
+
+ * : Update golden files for nanometers hid_png3 was off by a pixel on a line end. I retested my UV and TT
+ films to verify that the nanometers conversion didn't affect line
+ *widths* and updated the golden file to accept this one-pixel
+ difference.
+
+2011-09-17 DJ Delorie * dj AT delorie dot com *
+
+ * src/action.c: [windows] use unix-style path separators when
+ calling gnetlist
+
+2011-09-17 Felix Ruoff * Felix AT posaunenmission dot de *
+
+ * : commit 70db91fc3dfb8b378962794fc8f86f71b52f7af8 Author:
+ Kai-Martin Knaak * kmk AT lilalaser dot de * Date: Fri Sep 16
+ 01:07:32 2011 +0200
+
+2011-09-16 Kai-Martin Knaak * kmk AT lilalaser dot de *
+
+ * doc/pcb.texi: remove panner control from documentation There is no panner control in the GUI (anymore?) since at least five
+ years. this pathc removes its description from the texi manual.
+
+2011-09-17 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/file.c, src/main.c: Don't adjust the Library command settings
+ if they are NULL, or an empty string. (The empty string part is a fixup for commit
+ 31df66e87a810aac852139da9119b15c47fa8c71 - this will teach me for bikeshedding) The NULL part should fix bug lp-852598 Closes-bug: lp-852598
+
+2011-09-17 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/file.c, src/main.c: Bikeshed commit
+ 11700ba8c3c951a788c8190073eb09822060dfdd I don't like magic strings, and IMO, using a blank
+ LibraryContentsCommand string to imply "don't use this feature" is
+ better than "*NONE*".
+
+2011-09-17 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/hid/gtk/gui-top-window.c: hid/gtk: 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 was one possible way to fix the "zoom doesn't work" bug on
+ Win32 for locales which use "," as the decimal separator. DJ fixed the Zoom action to be locale independent in commit
+ fd5399c67b988f2f7c9d1a0b4ab7c13bc2e95158, which worked around the
+ problem for this particular action, but I feel it would be best that
+ we made our locale handling consistent between Linux and Win32 as
+ well. Affects-bug: lp-843577
+
+2011-09-08 Dima Kogan * dima AT secretsauce dot net *
+
+ * src/djopt.c: fixed an instance of the "only-optimize-autorouted"
+ flag being ignored Signed-off-by: Dima Kogan * dima AT secretsauce dot net *
+
+2011-09-16 DJ Delorie * dj AT delorie dot com *
+
+ * src/file.c, src/main.c: Skip the M4 library on Windows On Windows, set the LibraryContentsCommand to the magic string
+ "*NONE*" and check for that string while loading the libraries.
+ This avoids the windows pcb.exe from trying to run bash or m4
+ scripts, which are normally not available, yet allows the user a way
+ to re-enable them if they want.
+
+2011-09-16 DJ Delorie * dj AT delorie dot com *
+
+ * src/hid/gtk/gtkhid-main.c, src/hid/lesstif/main.c: De-localize
+ zoom parsing The values used for Zoom() were being parsed with strtod(), which
+ switches between '.' and ',' depending on locale. Switch to
+ g_ascii_strtod() which always uses '.' and thus always matches our
+ actions. Note: I didn't change the command line parsing, because I didn't
+ think we should impose '.'-centric syntax on other locales.
+
+2011-09-16 DJ Delorie * dj AT delorie dot com *
+
+ * lib/generic.list: Add DIL footprint names and R025. Existing tutorials say to use "DIL 16 300" for DIPs (we use "N 16
+ 300") and often call for the R025 footprint, so add them as aliases
+ so the m4-to-newlib converter includes them.
+
+2011-09-16 DJ Delorie * dj AT delorie dot com *
+
+ * lib/m4lib_to_newlib.sh: Fix m4-to-newlib converter filenames The m4 library uses macros and parameters to describe footprints,
+ which allows for a *very* flexible footprint naming scheme. While
+ it is impossible for pcb to know all valid footprint values, it does
+ have a list of "standard" ones, and knows how to obtain those.
+ However, the m4 to newlib converter wasn't using the same footprint
+ naming convention as everyone else, so produced *.fp files that
+ weren't always useful. For example, there were a large number of
+ 300.fp files that all collided. With this fix, the footprint name matches the value in [...] in the
+ library window, which is what we tell people to use for the
+ "footprint=" attribute anyway.
+
+2011-09-16 DJ Delorie * dj AT delorie dot com *
+
+ * src/hid/lesstif/lesstif.h: Wrap all XmStrings in gettext()
+
+2011-09-15 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * po/POTFILES.in: Add another missing source file to POTFILES.in
+
+2011-09-15 DJ Delorie * dj AT delorie dot com *
+
+ * src/main.c: Add locale functions Add textdomain() and setlocale() to connect to our message catalogs.
+
+2011-09-15 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * po/POTFILES.in: Add some missing files to POTFILES.in (And sorted the file contents). Reported-by: Bert Timmerman * bert dot timmerman AT xs4all dot nl *
+ Affects-bug: lp-846368
+
+2011-09-09 Bert Timmerman * bert dot timmerman AT xs4all dot nl *
+
+ * po/nl.po: Updated the Dutch translation.
+
+2011-09-15 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/report.c: report.c: Don't leave actions in the undo stack or
+ change the user's flags Some actions in ReportNetLength*() would have been lumped in with
+ whatever actions were next added to the undo stack. These functions
+ also left the user's board with a different "FOUND" flags on various
+ items. In the case of the "Report(AllNetLenths)" action, a very long undo
+ stack would be created, which is not very helpful to the user. These changes hide the internal flag changes made during the net
+ length calculation from the undo system. We are able to get back to the inital board state because we save
+ the operations caused by our initial RestConnections() on the undo
+ stack. After we have done our work (modifying various flags in the
+ process), we reset the flags again (this time bypassing the Undo
+ system), so the board is consistent with the ResetConnections() call
+ we DID save undo data for. We then Undo() these changes before we
+ leave the function.
+
+2011-09-15 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/report.c: report.c: Return 1 for all failure conditions in
+ ReportNetLengthByName()
+
+2011-09-14 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/undo.c: undo.c: Add error message where
+ RestoreUndoSerialNumber() will break things If operations are addded to the undo stack between a call to
+ IncrementUndoSerialNumber() and a subsequent call for
+ RestoreUndoSerialNumber(), those added operations will be placed in
+ the undo stack with an inconsistent serial number. The {Save,Restore}UndoSerialNumber() API is pretty fragile in this
+ regard, and we should avoid using it where possible. An better alternative might be to implement a
+ "LockUndoSerialNumber()" call which temporarily disables
+ IncrementUndoSerialNumber(), and a "UnlockUndoSerialNumber()" call
+ which re-enables its increment function. Better yet - we could make these functions nestable, so we need not
+ worry whether some action uses this new feature internally when we
+ are also using it.
+
+2011-09-14 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/undo.c: undo.c: Handle undo failures in a more sane manner Our current error-case handling can cause serial number
+ inconsistency when something goes wrong when performing an Undo
+ operation. There are also various logic flaws in our handling, as it
+ only catches failures where every sub-undo operation with that
+ serial number fails. Remove the confusing do-loop which decrements the serial number in
+ the failure case, and return some sensible error message instead. This patch also removes the code which looked like it was intended
+ to loop over the undo stack until a serial number was found to
+ operate on. It is advantageous for code like the DRC to be able to
+ add increment the undo serial number, then safely perform an Undo -
+ even if there were no changes logged in the undo system during the
+ previous serial number. Closes-bug: lp-848509
+
+2011-09-14 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/undo.c: undo.c: Allow undo of locked objects Our internal actions can make changes to locked objects, then use
+ the undo mechanism to revert these changes. An example is DRC, which
+ changes flags on objects and uses the Undo system to restore their
+ original values. Affects-bug: lp-848509
+
+2011-09-14 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/find.c: find.c: Remove stray RestoreUndoSerialNumber() calls These will cause havoc with the undo system, as we don't actually
+ save a serial number to restore to. Until a commit efd212c1deb264e9a7f2be17e9338fbb60e22cc0 we were
+ saving a serial number at the start of each "ResetConnections
+ (true);" call, and it would have been that serial number which got
+ restored. With this and some other fixes to the undo system, these restores
+ are no longer required. Affects-bug: lp-848509
+
+2011-09-14 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/hid/gtk/gtkhid-main.c: gtk: Fix ghid_zoom_view_fit() to work
+ when the board is flipped. Affects-bug: lp-850311
+
+2011-09-13 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/hid/common/hidgl.c, src/hid/gtk/gtkhid-gl.c: Fixup OpenGL
+ includes for better compatibility with OSX Not tested ;)
+
+2011-09-13 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * autogen.sh, configure.ac, m4/ax_check_gl.m4, m4/ax_check_glu.m4,
+ m4/ax_lang_compiler_ms.m4, m4/ax_pthread.m4: Better autoconf tests
+ for GL and GLU (from GtkGLExt - GPL v2 or later) These tests should give better cross platform support for our build.
+
+2011-09-13 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * .gitignore, m4/.gitignore: Remove the m4 directory from the root
+ .gitignore file and add its own
+
+2011-09-13 DJ Delorie * dj AT delorie dot com *
+
+ * src/hid/lesstif/styles.c: [lesstif] set units for styles dialog in
+ more places The styles dialog was segfaulting as the units hadn't been set yet,
+ if you open the style dialog before doing anything with the grid.
+
+2011-09-13 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/hid/gtk/gtkhid-gl.c: hid/gtk: Remove misplaced (and redundant)
+ hidgl_flush_triangles() call. If we were to flush the triangle buffer in ghid_show_crosshair(), we
+ should do it before we set XOR mode on the GL context (assuming the
+ buffer might be dirty when we are called), and we should do it after
+ we finish drawing (if we wish to leave the buffer clean when we
+ return). The location the flush was in before this commit is just plain
+ wrong. As we currently have flushes of the triangle buffer wrapping the
+ call to ghid_show_crosshair(), just leave the flushing out of this
+ function. Does this commit message provide an adequate example of simple
+ patch, complex commit message phenomenon?
+
+2011-09-13 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/hid/gtk/gtkhid-gdk.c, src/hid/gtk/gtkhid-gl.c,
+ src/hid/gtk/gtkhid-main.c, src/hid/gtk/gui-config.c,
+ src/hid/gtk/gui-output-events.c, src/hid/gtk/gui.h: hid/gtk: Remove
+ auto-pan feature (kill it with fire). This seems to be fairly universally unpopular on geda-user, and its
+ implementation is a little fragile, often leading the board to pan
+ off to some corner of the board as the poor user reaches for the
+ layer selector or a menu without having remembered to click the
+ feature off. The fact that the pan direction and speed was set the instant you
+ leave the drawing window also made it particularly unhelpful. A
+ proper implementation should have grabbed the mouse - or at least
+ implemented some buffer zone in which the mouse could be used to
+ give feedback on the pan direction.
+
+2011-09-11 DJ Delorie * dj AT delorie dot com *
+
+ * src/hid/gtk/gtkhid-main.c: [windows] set GDK_PIXBUF_MODULE_FILE If we're using a local gdk-pixbuf installation, we need to set this
+ env variable to point to it.
+
+2011-09-11 Bdale Garbee * bdale AT gag dot com *
+
+ * doc/Makefile.am: Invoke eps2png in $(srcdir), no .
+
+2011-09-12 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/hid/common/hidgl.c: hid/common: Remove #include "draw.h" from
+ hidgl.c (twice!)
+
+2011-09-11 Dima Kogan * dima AT secretsauce dot net *
+
+ * src/hid/gtk/ghid-route-style-selector.c,
+ src/hid/gtk/ghid-route-style-selector.h, src/hid/gtk/gtkhid-main.c:
+ Re-ordered all references in the style selector dialog to have one
+ consistent ordering. Everything that refers to the settings in the style selector dialog
+ now does so in order of Line thickness Hole size Hole thickness (hole + annular ring)
+ keepaway region size This wasn't 100% consistent previously, which resulted in a bug
+ (fixed in a previous patch). This patch doesn't touch the
+ functionality, but improves the style to avoid future bugs. Modified to apply on recent route style selector changes by Bert
+ Timmerman. Signed-off-by: Andrew Poelstra (local) * apoelstra AT wpsoftware
+ dot net * Affects-bug: lp-844635
+
+2011-09-11 Dima Kogan * dima AT secretsauce dot net *
+
+ * src/hid/gtk/ghid-route-style-selector.c: Swap via-hole and -ring
+ size connection in route style selector dialog Closes-bug: lp-844635 Signed-off-by: Andrew Poelstra (local) * apoelstra AT wpsoftware
+ dot net *
+
+2011-09-10 Andrew Poelstra (local) * apoelstra AT wpsoftware dot net *
+
+ * src/hid/gtk/gtkhid-main.c, src/hid/gtk/gui-top-window.c,
+ src/hid/gtk/gui.h: Repopulate route style selector on PCBChanged
+ action When loading a new pcb, Bad Things happen to the route style
+ selector because pcb's route style data is freed. This patch removes
+ all styles from the route style selector and re-adds them whenever a
+ new pcb is loaded.
+
+2011-09-10 Andrew Poelstra (local) * apoelstra AT wpsoftware dot net *
+
+ * src/hid/gtk/ghid-route-style-selector.c,
+ src/hid/gtk/ghid-route-style-selector.h: Add
+ ghid_route_style_selector_empty to GHidRouteStyleSelector
+
+2011-09-10 Andrew Poelstra (local) * apoelstra AT wpsoftware dot net *
+
+ * src/hid/gtk/ghid-route-style-selector.c: Add finalize function to
+ GHidRouteStyleSelector
+
+2011-09-09 Bert Timmerman * bert dot timmerman AT xs4all dot nl *
+
+ * po/POTFILES.in: Remove the src/hid/gtk/gui-dialog-size.c entry
+ from the translatable files list. This is a completion of commit:
+ a914d5ba58104d8559395b66798b35761afb991a "Replace old route style
+ selector with GHidRouteStyleSelector" dated 20110903 11:09 PM
+
+2011-09-09 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/hid/gtk/ghid-layer-selector.c: hid/gtk: Filter out double
+ clicks on the layer selector widget This makes things behave a little nicer if you click to toggle a
+ layer's visibility twice in quick succession. Previously, this would
+ be interpreted as a double-click, causing an extra synthetic click
+ event which would toggle the visibility an extra time.
+
+2011-09-07 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/hid/gtk/gui-top-window.c: hid/gtk: Update file-changed
+ notification bar to match gedit a bit more 1. Add a stock "refresh" image to the "Reload" button. 2. Change the message text when the board has modifications. 3. Reload without further prompting if the user presses "Reload", even if the board is modified. (We already warned them due to
+ 2.)
+
+2011-09-07 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/hid/gtk/gtkhid-main.c, src/hid/gtk/gui-top-window.c,
+ src/hid/gtk/gui.h: hid/gtk: Reimplement file-change monitor without
+ GFileMonitor I must have had a brain-fail when I hooked up setting up the
+ file-changed monitor in the function which sets the window title.
+ NB: That also gets called after every menu operation! A better place to hook up the monitor would be
+ ghid_sync_with_new_layout(), however changing this alone revealed
+ another issue - we would get notified for changes WE make to the
+ files. We were avoiding those events as the file-monitor was being
+ reset before it could pop up, at the end of the menu action which
+ invoked the save). However - due to a race condition bug in GLib / GIO, we would
+ sometimes see change notify events for changes we made, even when we
+ hooked up the GFileMonitor AFTER having saved (and synced) our
+ changes to disk. Rather than attempt to work around this bug, implement the
+ file-change notification in a much more simple way - look at the
+ file mtime when we update the layout, and at each time the mouse
+ pointer enters the main window. FWIW, this is how gedit currently
+ achieves the same feature.
+
+2011-09-06 DJ Delorie * dj AT delorie dot com *
+
+ * src/action.c: Warn user if footprints can't be found on import Since the message log doesn't make it obvious, add a pop-up dialog
+ whenever there are missing footprints during an import. Affects-bug: lp-828388
+
+2011-09-06 DJ Delorie * dj AT delorie dot com *
+
+ * src/search.c: Fix math error in IsPointOnLine() The math in C didn't match the math in the comment (and, apparently,
+ hasn't for quite some time). To test: Draw three lines, from 1000,3000 to 1500,2500, then to
+ 2000,3000, then back to the start at 1000,3000. Without this patch,
+ the first and last lines are removed and replaced with a copy of the
+ second line.
+
+2011-09-05 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/action.c, src/file.c, src/file.h, src/hid/common/actions.c:
+ Implement a new RevertPCB() call, sharing code with LoadPCB() The RevertPCB() takes no filename parameter, and aside from that,
+ the only difference to LoadPCB is that when it calls the GUI's
+ "PCBChanged" action, it passes a new "revert" argument. This should
+ let the GUIs optionally do less work resetting the view state for a
+ board being reverted.
+
+2011-09-06 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/action.c, src/command.c, src/hid.h: Add a HID API call,
+ notify_pcb_filename_change() This is so the core can tell the GUI when the PCB being edited is
+ saved into a different file.
+
+2011-09-05 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/file.c, src/hid.h: Add a HID API call, notify_save_pcb()
+ called around saving the PCB The intention of this API is so that GUIs monitoring the active PCB
+ file on disk for changes, can filter out changes which occur as we
+ save the file ourselves.
+
+2011-09-06 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/action.c, src/command.c, src/file.c: file.c: Don't set the PCB
+ filename or changed flags inside SavePCB (Filename) Save this for the caller to do. (action.c already set the filename
+ for the SaveAs case anyway).
+
+2011-09-06 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/hid/gtk/gtkhid-main.c: Revert "hid/gtk: Avoid the deprecated
+ gdk_drawable_get_display()" This reverts commit c6d6ca16e58b5c7f2248c21e3248825f54e52374. Turns out the replacement API I used was only introduced in GTK
+ 2.24, which is still a little new for us here.
+
+2011-09-05 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/hid/gtk/gui-top-window.c, src/hid/gtk/gui-utils.c: hid/gtk:
+ Remove usage of deprecated gtk_range_set_update_policy() We only set this to the default value anyway, and the API has been
+ removed with no replacements.
+
+2011-09-05 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/hid/gtk/gui-top-window.c, src/hid/gtk/gui-utils.c: hid/gtk:
+ Replace gtk_container_border_width with
+ gtk_container_set_border_width Replaces the old deprecated API.
+
+2011-09-05 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/hid/gtk/gui-utils.c: hid/gtk: Use g_signal_connect(), not
+ gtk_signal_connect() gtk_signal_connect() is deprecated.
+
+2011-09-05 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/hid/gtk/gui-dialog-print.c: hid/gtk: Re-write the tool-tip
+ handling code to use newer tooltip API Use the gtk_widget_set_tooltip* API introduced in GTK 2.12. This
+ avoids the APIs deprecated in GTK 2.12, and also avoids the
+ requirement to pack GTK_WIDGET_NO_WINDOW widgets inside
+ gtk_event_box() widgets to make their tooltips work.
+
+2011-09-05 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/hid/gtk/gui-drc-window.c, src/hid/gtk/gui-library-window.c,
+ src/hid/gtk/gui-log-window.c, src/hid/gtk/gui-netlist-window.c,
+ src/hid/gtk/gui-pinout-window.c, src/hid/gtk/gui-top-window.c:
+ hid/gtk: Replace usage of the deprecated gtk_widget_set_uposition()
+ call The closest replacement is gtk_window_move(), and looking at the GTK
+ sources, appears to be what gtk_widget_set_uposition() calls
+ internally. We are still rather at the mercy of the user's window manager as to
+ whether it will honour the request we make, and arguably we ought to
+ remove this (mis-)feature anyway.
+
+2011-09-05 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/hid/gtk/gui-dialog.c: hid/gtk: Replace deprecated function
+ call gtk_box_pack_start_defaults()
+
+2011-09-05 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/hid/gtk/gtkhid-main.c: hid/gtk: Avoid the deprecated
+ gdk_drawable_get_display() Grab the active display using gdk_window_get_display() on the window
+ belonging to the drawing area.
+
+2011-09-05 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/hid/gtk/gtkhid-main.c: hid/gtk: Use the g_timeout_add()
+ function, not the deprecated GTK one.
+
+2011-09-05 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/hid/gtk/ghid-main-menu.c: hid/gtk: Fix not accessing
+ GtkMenuShell's children harder I missed a critical part of the fix from commit
+ 3584101f67f6ca2f0a252c312cb0c6c9c4fa016f
+
+2011-09-05 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/hid/gtk/gui-pinout-preview.c: hid/gtk: Replace
+ GTK_WIDGET_REALIZED() test with a check for window != NULL This avoids the use of the deprecated GTK_WIDGET_REALIZED macro,
+ without needing to use the GTK2.20 function
+ gtk_widget_get_realized(). The check for a NULL window should be
+ sufficient here I hope.
+
+2011-09-05 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/hid/gtk/gui-command-window.c: hid/gtk: Use gtk_bin_get_child()
+ accessor In GTK3.0, direct access to bin->child will be impossible.
+
+2011-09-05 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/hid/gtk/gui-config.c: hid/gtk: Use gtk_notebook_get_n_pages()
+ rather than diving in and counting In GTK3.0, direct access to notebook->children will be impossible.
+
+2011-09-05 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/hid/gtk/ghid-main-menu.c: hid/gtk: Don't access a
+ GtkMenuShell's children directly In GTK3.0, direct access to shell->children will be impossible.
+
+2011-09-05 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/hid/gtk/ghid-main-menu.c: hid/gtk: Free list returned from
+ gtk_container_get_children() We can (and should) g_list_free() the list of children returned when
+ we are finished with it. Whilst we are at it, convert the while loop to a for loop and use a
+ tighter condition on the loop termination test. The existing test
+ worked, but would leave a negative number in the object counter we
+ test against. This would not work if the object counters were ever
+ unsigned integers (as they might plausibly be).
+
+2011-09-05 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/hid/gtk/ghid-route-style-selector.c,
+ src/hid/gtk/gtkhid-main.c, src/hid/gtk/gui-dialog-print.c,
+ src/hid/gtk/gui-dialog.c, src/hid/gtk/gui-library-window.c,
+ src/hid/gtk/gui-utils.c: hid/gtk: Use accessors to get the vbox from
+ GtkDialog In GTK3.0, direct access to dialog->vbox will be impossible.
+
+2011-09-05 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/hid/gtk/gui-output-events.c: hid/gtk: Use accessor functions
+ for handling GtkAdjustments In GTK3.0, direct access to these member variables will be
+ impossible.
+
+2011-09-05 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/hid/gtk/gui-config.c, src/hid/gtk/gui-top-window.c: hid/gtk:
+ Don't use GTK_WIDGET_SET_FLAGS() Call the appropriate setter function instead. (For GTK3.0
+ compatibility).
+
+2011-09-05 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/hid/gtk/gui-library-window.c: hid/gtk: Don't test for NOOP
+ before calling gtk_widget_set_sensitive() We were using a deprecated test macro anyway, GTK already does a
+ NOOP test inside gtk_widget_set_sensitive().
+
+2011-09-05 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/hid/gtk/gui-utils.c, src/hid/gtk/gui.h: hid/gtk: Remove unused
+ function ghid_button_set_text()
+
+2011-09-05 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/hid/gtk/gui-utils.c, src/hid/gtk/gui.h: hid/gtk: Remove unused
+ function ghid_button_active()
+
+2011-09-05 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/hid/gtk/gtkhid-gdk.c, src/hid/gtk/gui-drc-window.c: hid/gtk:
+ Use gtk_widget_get_style() accessor, rather than direct access In GTK3.0, direct access to widget->style will be impossible. Swap out the GTK_WIDGET_STATE() macro for gtk_widget_get_state(),
+ which does not directly access the GSeal'd member widget->state.
+
+2011-09-05 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/hid/gtk/gtkhid-gdk.c, src/hid/gtk/gtkhid-main.c,
+ src/hid/gtk/gui-misc.c, src/hid/gtk/gui-output-events.c,
+ src/hid/gtk/gui-pinout-preview.c, src/hid/gtk/gui-top-window.c,
+ src/hid/gtk/gui-utils.c: hid/gtk: Use gtk_widget_get_window()
+ accessor In GTK3.0, direct access to widget->window will be impossible.
+
+2011-09-05 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/hid/gtk/gtkhid-gl.c, src/hid/gtk/gui-drc-window.c,
+ src/hid/gtk/gui-keyref-window.c, src/hid/gtk/gui-library-window.c,
+ src/hid/gtk/gui-log-window.c, src/hid/gtk/gui-netlist-window.c,
+ src/hid/gtk/gui-top-window.c: hid/gtk: Use
+ gtk_widget_get_allocation() accessor In GTK3.0, direct access to widget->allocation will be impossible.
+
+2011-09-05 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/hid/gtk/gtkhid-gdk.c, src/hid/gtk/gtkhid-gl.c: hid/gtk: Use
+ gtk_widget_get_allocation() not gdk_window_get_geometry() This avoids an unnecessary round-trip the the X server on X11
+ platforms.
+
+2011-09-05 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/hid/gtk/gtkhid-gdk.c: hid/gtk: Avoid warning caused by early
+ drawing before gport->pixmap is set Avoids a command line warning: (pcb:28876): Gdk-CRITICAL **: IA__gdk_draw_drawable: assertion
+ `GDK_IS_DRAWABLE (src)' failed With the GDK renderer in use. This trigger appears to be some state changes triggered as the new
+ layer selector widget initialises.
+
+2011-09-05 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/hid/gtk/gui-misc.c: hid/gtk: Clean and make
+ gport_set_cursor_type() more GTK3.0 compatible Also removes the DEFAULT_CURSOR return value (for the case of no
+ window being setup) to GDK_X_CURSOR (the 0 enum value), as the code
+ path which returned DEFAULT_CURSOR would never have been hit.
+
+2011-09-05 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/hid/gtk/ghid-cell-renderer-visibility.c: hid/gtk: Use
+ gtk_cell_renderer_get_{align,pad} accessors In GTK3.0, direct access to these fields will be impossible.
+
+2011-09-05 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/hid/gtk/gui-top-window.c: hid/gtk: Avoid double-destroying the
+ file-changed info_bar on "Reload" This was caused by an addition I made in the earlier patch to
+ destroy the info_bar when the user manually reverts or loads a new
+ file). The callback on revert button was trying to delete it (again) after
+ the revert _action_ we call triggered a destroy of the widget. Avoid
+ this by destroying the info_bar before we call the revert action.
+
+2011-09-05 Andrew Poelstra * asp11 AT sfu dot ca *
+
+ * src/hid/gtk/ghid-layer-selector.c: gtk: use
+ gtk_action_block_activate() in layer selector The GHidLayerSelector widget now uses gtk_action_block_activate()
+ instead of storing/blocking signal IDs. This is the proper way to
+ suppress signal emission since 2.16. This also fixes the lockup bug that was supposed to be fixed by the
+ recent commit 8857757, but still occured when using the menus to
+ toggle layers.
+
+2011-09-05 DJ Delorie * dj AT delorie dot com *
+
+ * src/const.h, src/draw.c, src/misc.c, src/print.c, src/report.c:
+ Fix text scaling exceeding Coord max. The old way of scaling text was to multiply by scale/100 but this
+ could easily overflow on reasonably sized boards with a 32-bit Coord
+ type. The new code scales by (double)scale/100.0 instead. Since we
+ don't store scaled values in the PCB file, a loss of precision won't
+ matter, but a double has 53 bits of precision - in nanometers,
+ that's a board about the size of North America. Closes-bug: lp-832451
+
+2011-09-05 DJ Delorie * dj AT delorie dot com *
+
+ * configure.ac, globalconst.h, src/global.h: Add configure selection
+ of 32/64 Coord type --enable-coord64 Force 64-bit coordinate types --enable-coord32 Force 32-bit coordinate types Defaults to "long" as before, but if you give one of the above, the
+ type changes to a suitable 32-bit or 64-bit type. Note that this is
+ only guaranteed to be the size you choose if you have <stdint.h>
+ which most OSs provide, else the "int" and "long long" types are
+ used instead.
+
+2011-09-05 Andrew Poelstra * asp11 AT sfu dot ca *
+
+ * src/hid/gtk/ghid-layer-selector.c: gtk: Fix "clicking on layer
+ selector separator bug" If you click on the selector between real and virtual layers in the
+ pcb layer selector, it will toggle the first layer. This patch
+ simply ignores the click.
+
+2011-09-05 Andrew Poelstra * asp11 AT sfu dot ca *
+
+ * src/hid/gtk/ghid-layer-selector.c, src/hid/gtk/gui-top-window.c:
+ gtk: fix behavior when hiding the last visible layer When you try to toggle the last layer invisible, pcb should refuse
+ to let you do so, since something has to be selected, and we don't
+ allow selection of invisible layers. What actually happens is that pcb locks up. This patch fixes that.
+
+2011-09-05 Andrew Poelstra * asp11 AT sfu dot ca *
+
+ * src/hid/gtk/gui-top-window.c: gtk: Force silk and rat layers
+ visible when they are selected.
+
+2011-09-05 Andrew Poelstra * asp11 AT sfu dot ca *
+
+ * src/hid/gtk/ghid-route-style-selector.c,
+ src/hid/gtk/ghid-route-style-selector.h, src/hid/gtk/gtkhid-main.c:
+ Implement RouteStylesChanged action This action looks at the actual route-style settings (i.e.,
+ Settings.LineThickness), and gives these to the route style
+ selector. The selector looks in its list and selects a style, if one
+ matches. Otherwise, it does nothing.
+
+2011-09-04 Andrew Poelstra * asp11 AT sfu dot ca *
+
+ * src/hid/gtk/ghid-route-style-selector.c,
+ src/hid/gtk/ghid-route-style-selector.h,
+ src/hid/gtk/gui-command-window.c, src/hid/gtk/gui-top-window.c,
+ src/hid/gtk/gui.h: Add Ctrl+F1,F2,F3,... accelerators to route style
+ selector Since we now have three accelerator groups to worry about (those of
+ the layer selector, route style selector and main menu), I have
+ moved the hooking/unhooking code into two functions: ghid_install_accel_groups () ghid_remove_accel_groups () These should be used whenever accelerators need to be disabled, for
+ example, when the user has the command box active.
+
+2011-09-03 Andrew Poelstra * asp11 AT sfu dot ca *
+
+ * src/hid/gtk/gui-top-window.c, src/hid/gtk/gui.h: Remove the last
+ of ghidgui->toggle_holdoff
+
+2011-09-03 Andrew Poelstra * asp11 AT sfu dot ca *
+
+ * src/Makefile.am, src/hid/gtk/gtkhid-main.c,
+ src/hid/gtk/gui-dialog-size.c, src/hid/gtk/gui-top-window.c,
+ src/hid/gtk/gui.h: Replace old route style selector with
+ GHidRouteStyleSelector TODO: The RouteStylesChanged action is now very broken. Menu accelerators need to be installed
+
+2011-09-03 Andrew Poelstra * asp11 AT sfu dot ca *
+
+ * src/hid/gtk/ghid-main-menu.c, src/hid/gtk/ghid-main-menu.h:
+ Introduce functions for GHidRouteStyleSelector handling to menu
+
+2011-09-03 Andrew Poelstra * asp11 AT sfu dot ca *
+
+ * src/Makefile.am, src/hid/gtk/ghid-route-style-selector.c,
+ src/hid/gtk/ghid-route-style-selector.h: Introduce
+ GHidRouteStyleSelector widget, don't use it yet
+
+2011-09-04 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/hid/gtk/gui-top-window.c, src/hid/gtk/gui.h: hid/gtk: Add file
+ change notification for the currently open PCB If the file is modified on disk, a bar appears at the top of the PCB
+ area offering the user a choice as to whether they wish to reload
+ the board or cancel (do nothing). If the user has changes, and hits reload - they are prompted as to
+ whether they wish to throw away their changes. Requires GTK 2.18 or higher due to use of the GtkInfoBar widget.
+
+2011-09-05 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * configure.ac: Require GTK 2.18 or later for the GTK HID. This is for some new widgets, like the GtkInfoBar.
+
+2011-09-04 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/hid/gtk/gui-top-window.c, src/hid/gtk/gui.h: hid/gtk: Fix
+ styling of menubar area so it is consistent across its width This relies on some nasty tricks copying GtkStyle's between the
+ menubar widget and a new GtkEventBox widget we pack the top bar in
+ to give us a background to paint on. We also adjust the styles of
+ the coordinate read- out labels and frames to ensure they are
+ legible. There may still be some inconsistencies, as the coordinate selector
+ button is themed as if it were a toolbar button, hence the
+ colourings used may be designed to work with a different background
+ colour than we have.
+
+2011-09-04 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/hid/gtk/gui-top-window.c, src/hid/gtk/gui.h: hid/gtk: Create a
+ GtkToolbar of mode buttons for compact vertical mode Rather than packing our mode buttons into an hbox, use a proper
+ GtkToolbar so theming will match the rest of the user's desktop. This simplifies code to switch compact mode on and off, as we have
+ two distinct widgets to show / hide, rather than having to reparent
+ the mode buttons each time. It does, however mean we have to be careful not to double-trigger
+ events when keeping the two sets of mode buttons in sync with each
+ other, so that isn't ideal. In the longer term, we probably ought to split out the mode button
+ area on the left-hand toolbar as a separate self-contained widget.
+
+2011-09-03 Andrew Poelstra * asp11 AT sfu dot ca *
+
+ * src/hid/gtk/ghid-cell-renderer-visibility.c: gtk: Prelight toggle
+ swatches in layer selector This brightens the layer visibility swatches subtly when the mouse
+ hovers over them. IMHO this improves the discoverability of the
+ widget without being distracting or misleading.
+
+2011-09-03 Andrew Poelstra * asp11 AT sfu dot ca *
+
+ * src/hid/gtk/ghid-layer-selector.c: gtk: Don't gray out invisible
+ layers' text in the selector
+
+2011-09-03 Andrew Poelstra * asp11 AT sfu dot ca *
+
+ * src/hid/gtk/ghid-layer-selector.c: gtk: toggle non-activatable
+ layers on click, without checking for swatch
+
+2011-09-03 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/hid/gtk/gui-config.c, src/hid/gtk/gui-top-window.c,
+ src/hid/gtk/gui.h: hid/gtk: Remove compact_vbox and compact_hbox
+
+2011-09-03 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/hid/gtk/gui-config.c, src/hid/gtk/gui-top-window.c,
+ src/hid/gtk/gui.h: hid/gtk: Always show the PCB name on the
+ title-bar, not the toolbar This saves space and reduces code complexity
+
+2011-09-03 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/hid/gtk/gui-top-window.c, src/hid/gtk/gui.h: hid/gtk: Don't
+ use a GtkEventBox as a container widget We weren't making use of the events from the event box, and appeared
+ just to be using it as a convenient container to allow setting the
+ sensitivity on our entire left hand toolbar at once. Scrap the event box widget and just store a pointer to the vbox
+ widget which the left toobar items are packed into. We can set the
+ sensitivity on this and get the desired effect.
+
+2011-09-03 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/hid/gtk/gui-pinout-window.c, src/hid/gtk/gui-top-window.c:
+ hid/gtk: Don't pack the drawing area in a GtkViewport widget (For both the main window and the pinout preview). The GtkViewport
+ widget is designed to add scroll bars to a widget which doesn't have
+ native scroll capabilities. We are handling out own scroll-bars, so
+ the only gain we had from the GtkViewport we added was a shadow
+ around the widget. If we decide we want the shadow back, a more appropriate widget to
+ pack the drawing area with might be a GtkFrame.
+
+2011-09-03 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/hid/gtk/gui-top-window.c: hid/gtk: Remove the vbox used to
+ pack ghidgui->compact_hbox The main effect here is that the contents of the compact_hbox will
+ get more vertical space assigned to them if the menu bar section is
+ taller than the natural size of those widgets. The visual change seems acceptable, and we could use every bit of
+ code-cleanup in ghid_build_pcb_top_window()
+
+2011-09-03 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/hid/gtk/gui-top-window.c: hid/gtk: Remove some more temporary
+ variable assignments These make the code harder to follow, as the same temporary variable
+ is used again and again to refer to different widgets.
+
+2011-09-03 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/hid/gtk/gui-top-window.c, src/hid/gtk/gui.h: hid/gtk: Don't
+ use an hbox to pack the board name label The hbox only has one child, so use the name label directly.
+
+2011-09-03 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/hid/gtk/gui-top-window.c: hid/gtk: Skip the generic "hbox"
+ variable when storing the widget anyway For widgets we keep references to in the ghidgui structure, we avoid
+ confusion by assigning directly to the more descriptive ghidgui
+ variable.
+
+2011-09-03 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/hid/gtk/gui-top-window.c: hid/gtk: Don't pack a frame around
+ the menu bar
+
+2011-09-02 Andrew Poelstra * asp11 AT sfu dot ca *
+
+ * src/hid/gtk/gui-dialog-size.c, src/misc.c, src/misc.h: Move
+ make_route_string() from gtk into misc.c
+
+2011-09-02 Andrew Poelstra * asp11 AT sfu dot ca *
+
+ * src/mymem.c, src/mymem.h: Const-correct StripWhiteSpaceAndDup in
+ mymem.c
+
+2011-09-01 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/hid/gtk/gtkhid-main.c: hid/gtk: Attempt to fix logic to flip
+ component / solder group visibility on flip Should get back to better behaviour. I probably broke this somewhat
+ with commit f903b4be6b85efc110852f7be40edf8245f0a513, which
+ attempted to re-state the previous logic in a clearer fashon. The logic now should: If flipping sides, and only ONE of the solder / component layers
+ (groups) is visible, and that layer (group) is _active_, then swap
+ the visibilities of the component / solder layers (groups), and make
+ the newly visible layer (group) active. There are still bugs in this code relating to the assumption that
+ the first entry in the layer group is the one which is being
+ toggled. This breaks if the first entry in the group is that
+ corresponding to the silk for that side of the board.
+
+2011-08-31 Andrew Poelstra * asp11 AT sfu dot ca *
+
+ * src/hid/gtk/ghid-layer-selector.c: gtk: fix typo preventing layer
+ selector menu items from working
+
+2011-08-31 Andrew Poelstra * asp11 AT sfu dot ca *
+
+ * src/hid/gtk/gui-top-window.c: gtk: remove in_toggle_view
+ recursion-prevention flag We don't call ToggleView programmatically anywhere, so it is
+ impossible for there to be recursion.
+
+2011-08-31 Andrew Poelstra * asp11 AT sfu dot ca *
+
+ * src/hid/gtk/ghid-main-menu.c: Block signals in
+ ghid_main_menu_update_toggle_state() The function ghid_main_menu_update_toggle_state() is supposed to
+ sync the menu checkboxes to the actual state of pcb, by checking the
+ flags given in the resource file. If this function is emitting signals and changing pcb's state, this
+ is a bug. Fortunately, this appears not to be the case, so the
+ effect of this commit is to eliminate one more use of
+ ghidgui->toggle_holdoff.
+
+2011-08-31 Andrew Poelstra * asp11 AT sfu dot ca *
+
+ * src/hid/gtk/gui-top-window.c: gtk: sync visiibility of layer
+ selector with core state in LayersChanged
+
+2011-08-31 Andrew Poelstra * asp11 AT sfu dot ca *
+
+ * src/hid/gtk/ghid-layer-selector.c,
+ src/hid/gtk/ghid-layer-selector.h: Use signal blocking for
+ visibility toggling in GHidLayerSelector
+
+2011-08-31 Andrew Poelstra * asp11 AT sfu dot ca *
+
+ * src/hid/gtk/gui-config.c: Add call to
+ ghid_layer_buttons_color_update() when loading new colors
+
+2011-08-30 Andrew Poelstra * asp11 AT sfu dot ca *
+
+ * src/change.c: Change change.c to treat text scale as mils
+
+2011-08-30 Andrew Poelstra * asp11 AT sfu dot ca *
+
+ * src/hid/gtk/ghid-layer-selector.c: Configure layer selector to
+ only accept left-clicks Suggested by Kai-Martin Knaak, seconded by me.
+
+2011-08-30 Andrew Poelstra * asp11 AT sfu dot ca *
+
+ * src/hid/gtk/gui-top-window.c: Fix invalid free of ~/.pcb/filename
+ path in gui-top-window.c
+
+2011-08-29 Andrew Poelstra * asp11 AT sfu dot ca *
+
+ * src/hid/gtk/ghid-layer-selector.c,
+ src/hid/gtk/ghid-layer-selector.h: minor: fix comment and forward
+ declaration in ghid-layer-selector
+
+2011-08-29 Andrew Poelstra * asp11 AT sfu dot ca *
+
+ * src/hid/gtk/ghid-layer-selector.c: Remove default layer selection
+ from ghid-layer-selector.c Having the layer selector select its own first layer is not needed -
+ pcb does this for us, after making the widget. It's not the sort of
+ decision a widget should be making on its own, anyway.
+
+2011-08-29 Andrew Poelstra * asp11 AT sfu dot ca *
+
+ * src/hid/gtk/ghid-layer-selector.c: Use g_signal_handler_block
+ instead of flags in ghid-layer-selector.c Thanks to Peter C. for this code-cleanliness tip. Now the two
+ layer-selection interfaces (menu button and selector widget) set
+ each other's GUI state but do not raise any signals past the
+ original.
+
+2011-08-29 Andrew Poelstra * asp11 AT sfu dot ca *
+
+ * src/hid/gtk/ghid-layer-selector.c: Add missing free_ldata() in
+ ghid-layer-selector.c
+
+2011-08-29 Andrew Poelstra * asp11 AT sfu dot ca *
+
+ * src/hid/gtk/gui-command-window.c: Disable layer selector's
+ GtkAccelGroup while in command mode
+
+2011-08-30 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/draw.c: draw.c: Add const qualifiers to some BoxType
+ *drawn_area parameters
+
+2011-08-30 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/misc.c, src/misc.h: misc.c: Add const qualifier to BoxType *
+ parameter passed to CountHoles
+
+2011-08-30 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/draw.c: draw.c: Fold DrawLayerCommon() into DrawLayer() Since the last commit, DrawLayer() just calls DrawLayerCommon with
+ the "clear_pins" argument set to true. The only other
+ DrawLayerCommon caller passes clear_pins as true, so having
+ functions is redundant.
+
+2011-08-30 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/draw.c: DrawLayer(): Pass true to clear_pins of
+ DrawLayerCommon This should not affect any rendering. If the check planes flag is
+ set, we should only draw polygons, nothing more. Only a handful of
+ cases draw layers via this code-path, and in all but the exporter
+ cases, they are not called if CHECKPLANES is set. The exporters which call DrawLayer explicitly clear the CHECKPLANES
+ flag (since commit 3c01bd38cb59922692408b71cd5d77892dbe6ade), so
+ nothing should be affected by this argument change.
+
+2011-08-30 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/hid/gerber/gerber.c, src/hid/ps/eps.c, src/hid/ps/ps.c:
+ hid/{ps,eps,gerber}: Clear CHECKPLANESFLAG before exporting Ensure we are in a sensible view state before exporting. This update
+ those HIDs which cleared other similar renedering flags before
+ exporting to include the CHECKPLANES flag.
+
+2011-08-30 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/draw.c: draw.c: Have DrawLayerGroup() call DrawPPV for non-gui
+ exporters This means DrawLayerGroup() can have a void return type as most of
+ the other drawing functions, and makes things a little neater. Only the GUI renderers special case the pin / pad / via to wait
+ until a later rendering oass than the layers they reside on.
+
+2011-08-29 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/hid/gtk/gtkhid-main.c: hid/gtk: Remove unused "button"
+ parameter from Popup function. Remove the dead code and comments refering to the fact the
+ function's second argument indicates a mouse button number.
+
+2011-08-29 Andrew Poelstra * asp11 AT sfu dot ca *
+
+ * src/hid/gtk/ghid-layer-selector.c,
+ src/hid/gtk/ghid-layer-selector.h, src/hid/gtk/ghid-main-menu.c,
+ src/hid/gtk/ghid-main-menu.h, src/hid/gtk/gui-top-window.c: Link
+ GHidLayerSelector and GHidMainMenu Layer visibility-toggle and selection menu items now appear in the
+ main menu. Accelerators work correctly and are reassigned on
+ deletion/addition of layers to simulate the old behavior.
+
+2011-08-29 Andrew Poelstra * asp11 AT sfu dot ca *
+
+ * src/hid/gtk/ghid-layer-selector.c: Clean up layer data handling in
+ ghid-layer-selector.c
+
+2011-08-29 Andrew Poelstra * asp11 AT sfu dot ca *
+
+ * src/hid/gtk/ghid-layer-selector.c: Give GHidLayerSelector an
+ internal layer structure Before we had various arrays to resize and index; now each row has a
+ structure associated with it, that is easier to access and maintain.
+
+2011-08-28 Andrew Poelstra * asp11 AT sfu dot ca *
+
+ * src/hid/gtk/gtkhid-main.c, src/hid/gtk/gui-command-window.c,
+ src/hid/gtk/gui-output-events.c, src/hid/gtk/gui-top-window.c,
+ src/hid/gtk/gui.h: Replace gtk UI manager with GHidMainMenu widget This commit replaces the old UI manager with a customize gtk widget
+ that builds menus directly from a resource tree. This eliminates the
+ translate-to-XML step, the ugly hacks used to access individual
+ actions, and all the associated manual memory management. This will also give us the ability to have more dynamic menus, in
+ particular layer lists without maximum capacities. Layers and route styles are still not hooked into the menu. This
+ means that those accelerators DO NOT WORK. (This will be fixed in a
+ later commit.) Checkboxes have been replaced with radio buttons
+ where appropriate. There are now tearoffs on the context-menu's
+ submenus. Other than that, there should be no user-visible changes. ;)
+
+2011-08-28 Andrew Poelstra * asp11 AT sfu dot ca *
+
+ * src/Makefile.am, src/hid/gtk/ghid-main-menu.c,
+ src/hid/gtk/ghid-main-menu.h: Created ghid-main-menu.[ch] Still need to hook up layer selector and route styles.
+
+2011-08-29 Andrew Poelstra * asp11 AT sfu dot ca *
+
+ * src/hid/gtk/gui-top-window.c: Fix select-hidden-layer behavior When you select a hidden layer, it should toggle the visibility so
+ that the currently-selected layer is always visible. We were
+ toggling twice.
+
+2011-08-29 Andrew Poelstra * asp11 AT sfu dot ca *
+
+ * src/hid/gtk/ghid-layer-selector.c, src/hid/gtk/gui-top-window.c:
+ Prevent recursion in layer selector events
+
+2011-08-29 Andrew Poelstra * asp11 AT sfu dot ca *
+
+ * src/Makefile.am, src/hid/gtk/ghid-coord-entry.c,
+ src/hid/gtk/ghid-coord-entry.h, src/hid/gtk/gtk-pcb-coord-entry.c,
+ src/hid/gtk/gtk-pcb-coord-entry.h, src/hid/gtk/gui-config.c,
+ src/hid/gtk/gui-dialog-print.c, src/hid/gtk/gui-dialog-size.c,
+ src/hid/gtk/gui-utils.c, src/hid/gtk/gui.h: Rename GtkPcbCoordEntry
+ to GHidCoordEntry
+
+2011-08-29 Andrew Poelstra * asp11 AT sfu dot ca *
+
+ * src/Makefile.am, src/hid/gtk/ghid-layer-selector.c,
+ src/hid/gtk/ghid-layer-selector.h,
+ src/hid/gtk/gtk-pcb-layer-selector.c,
+ src/hid/gtk/gtk-pcb-layer-selector.h, src/hid/gtk/gui-top-window.c:
+ Rename GtkPcbLayerSelector to GHidLayerSelector
+
+2011-08-29 Andrew Poelstra * asp11 AT sfu dot ca *
+
+ * src/Makefile.am, src/hid/gtk/ghid-cell-renderer-visibility.c,
+ src/hid/gtk/ghid-cell-renderer-visibility.h,
+ src/hid/gtk/gtk-pcb-cell-renderer-visibility.c,
+ src/hid/gtk/gtk-pcb-cell-renderer-visibility.h,
+ src/hid/gtk/gtk-pcb-layer-selector.c: Rename
+ GtkPcbCellRendererVisibility to GHidCellRendererVisibility
+
+2011-08-28 Andrew Poelstra * asp11 AT sfu dot ca *
+
+ * src/gpcb-menu.res.in: Add mnemonics to menus in default
+ gpcb-menu.res.in You can now access the main menu without a mouse, by doing Alt+F,
+ for example, to select the File menu.
+
+2011-08-27 Andrew Poelstra * asp11 AT sfu dot ca *
+
+ * src/hid/common/hid_resource.c, src/hid/common/hid_resource.h,
+ src/hid/gtk/gui-top-window.c, src/res_parse.y, src/resource.h: gtk:
+ Const-correct add_resource_to_menu and related functions Five files have had const keywords added: ../common/hid_resource.c ../common/hid_resource.h gui-top-window.c ../../res_parse.y ../../resource.h No casts were added. No compilation warnings were added.
+
+2011-08-27 Andrew Poelstra * asp11 AT sfu dot ca *
+
+ * src/hid/gtk/gtk-pcb-layer-selector.c: Delete GtkAction along with
+ layer in gtk-pcb-layer-selector.c
+
+2011-08-29 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/hid/ps/eps.c: hid/ps/eps.c: Remove assigned by unused
+ lastgroup variable
+
+2010-10-21 Markus Hitter * mah AT jump-ing dot de *
+
+ * src/hid/gcode/gcode.c: HID-gcode: make use of MAXPATHLEN. Affects-bug: lp-699497
+
+2011-08-28 Felix Ruoff * Felix AT posaunenmission dot de *
+
+ * src/hid/bom/bom.c, src/hid/gerber/gerber.c, src/main.c: Add
+ attributes to docu for commandline options
+
+2011-08-28 Felix Ruoff * Felix AT posaunenmission dot de *
+
+ * doc/pcb.texi: Docu: Fix some references to command-line options and remove the documentation for a non-working X11-Interface option.
+
+2011-08-28 Dima Kogan * dkogan AT cds dot caltech dot edu *
+
+ * src/find.c: Better handling of unplated vias The attached patch adds checks in the geometry intersection
+ functions to no longer treat unplated vias (mounting holes) as
+ conducting. The implementation in the patch will act as if the
+ unplated via doesn't intersect with metal objects at all, which is
+ possibly not what is desired. Should the conductivity check happen
+ on a higher level from the geometry intersection routines? A case
+ that would require this is not obvious to me. Closes-bug: lp-699499
+
+2011-08-14 Felix Ruoff * Felix AT posaunenmission dot de *
+
+ * src/hid/gcode/gcode.c, src/hid/gerber/gerber.c,
+ src/hid/lpr/lpr.c, src/hid/nelma/nelma.c, src/hid/png/png.c,
+ src/hid/ps/ps.c: Unify HID description (no fullstop at end of
+ description) Most parts of this patch-serie was written by Kai-Martin Knaak.
+ Adaption to actual git HEAD and some modifications by Felix Ruoff.
+
+2011-08-14 Felix Ruoff * Felix AT posaunenmission dot de *
+
+ * src/hid/ps/ps.c: Add docu for ps HID commandline options Most parts of this patch-serie was written by Kai-Martin Knaak.
+ Adaption to actual git HEAD and some modifications by Felix Ruoff.
+
+2011-08-14 Felix Ruoff * Felix AT posaunenmission dot de *
+
+ * src/hid/ps/eps.c: Add docu for eps HID commandline options Most parts of this patch-serie was written by Kai-Martin Knaak.
+ Adaption to actual git HEAD and some modifications by Felix Ruoff.
+
+2011-08-14 Felix Ruoff * Felix AT posaunenmission dot de *
+
+ * src/hid/png/png.c: Add docu for png HID commandline options Most parts of this patch-serie was written by Kai-Martin Knaak.
+ Adaption to actual git HEAD and some modifications by Felix Ruoff.
+
+2011-08-14 Felix Ruoff * Felix AT posaunenmission dot de *
+
+ * src/hid/nelma/nelma.c: Add docu for nemla HID commandline options Most parts of this patch-serie was written by Kai-Martin Knaak.
+ Adaption to actual git HEAD and some modifications by Felix Ruoff.
+
+2011-08-14 Felix Ruoff * Felix AT posaunenmission dot de *
+
+ * src/hid/lpr/lpr.c: Add docu for lpt HID commandline options Most parts of this patch-serie was written by Kai-Martin Knaak.
+ Adaption to actual git HEAD and some modifications by Felix Ruoff.
+
+2011-08-14 Felix Ruoff * Felix AT posaunenmission dot de *
+
+ * src/hid/gerber/gerber.c: Add docu for Gerber HID commandline
+ options Most parts of this patch-serie was written by Kai-Martin Knaak.
+ Adaption to actual git HEAD and some modifications by Felix Ruoff.
+
+2011-08-14 Felix Ruoff * Felix AT posaunenmission dot de *
+
+ * src/hid/bom/bom.c: Add docu for the BOM HID commandline options Most parts of this patch-serie was written by Kai-Martin Knaak.
+ Adaption to actual git HEAD and some modifications by Felix Ruoff.
+
+2011-08-14 Felix Ruoff * Felix AT posaunenmission dot de *
+
+ * src/hid/gtk/gui-top-window.c, src/hid/lesstif/main.c: Add docu for
+ commandline-options for GTK+ and lesstif GUI Most parts of this patch-serie was written by Kai-Martin Knaak.
+ Adaption to actual git HEAD and some modifications by Felix Ruoff.
+
+2011-08-18 Felix Ruoff * Felix AT posaunenmission dot de *
+
+ * src/main.c: Add docu for DRC commandline options Most parts of this patch-serie was written by Kai-Martin Knaak.
+ Adaption to actual git HEAD and some modifications by Felix Ruoff.
+
+2011-08-18 Felix Ruoff * Felix AT posaunenmission dot de *
+
+ * src/main.c: Add docu for general gui commandline options Most parts of this patch-serie was written by Kai-Martin Knaak.
+ Adaption to actual git HEAD and some modifications by Felix Ruoff.
+
+2011-08-18 Felix Ruoff * Felix AT posaunenmission dot de *
+
+ * src/main.c: Add docu for path commandline options Most parts of this patch-serie was written by Kai-Martin Knaak.
+ Adaption to actual git HEAD and some modifications by Felix Ruoff.
+
+2011-08-18 Felix Ruoff * Felix AT posaunenmission dot de *
+
+ * src/main.c: Add docu for commandline commands Most parts of this patch-serie was written by Kai-Martin Knaak.
+ Adaption to actual git HEAD and some modifications by Felix Ruoff.
+
+2011-08-18 Felix Ruoff * Felix AT posaunenmission dot de *
+
+ * src/main.c: Add docu for layer names commandline options Most parts of this patch-serie was written by Kai-Martin Knaak.
+ Adaption to actual git HEAD and some modifications by Felix Ruoff.
+
+2011-08-18 Felix Ruoff * Felix AT posaunenmission dot de *
+
+ * src/main.c: Add docu for size commandline options Most parts of this patch-serie was written by Kai-Martin Knaak.
+ Adaption to actual git HEAD and some modifications by Felix Ruoff.
+
+2011-08-18 Felix Ruoff * Felix AT posaunenmission dot de *
+
+ * src/main.c: Add docu for color commandline options Most parts of this patch-serie was written by Kai-Martin Knaak.
+ Adaption to actual git HEAD and some modifications by Felix Ruoff.
+
+2011-08-28 Felix Ruoff * Felix AT posaunenmission dot de *
+
+ * doc/pcb.texi, src/main.c: Docu: Add general description for
+ commandline options ... and for general options. (Patch 3/19 of this patch-serie is
+ missing on purpose) Most parts of this patch-serie was written by Kai-Martin Knaak.
+ Adaption to actual git HEAD and some modifications by Felix Ruoff.
+
+2011-08-28 Felix Ruoff * Felix AT posaunenmission dot de *
+
+ * doc/pcb.texi: Remove out-dated docu for commandline options Most parts of this patch-serie was written by Kai-Martin Knaak.
+ Adaption to actual git HEAD and some modifications by Felix Ruoff.
+
+2011-08-28 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/draw.c, src/misc.c, src/misc.h: Move CountHoles() from draw.c
+ to misc.c and export it This function may be more generally useful.
+
+2011-08-28 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/draw.c: draw.c: Move doing_assy flag assignment into
+ PrintAssembly() Keeps things tidier
+
+2011-08-28 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/hid/gcode/gcode.c, src/hid/nelma/nelma.c: hid/{nelma,gcode}:
+ Remove assigned but unused variables lastcap and lastgroup
+
+2011-08-28 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/draw.h, src/main.c: Remove traces of LoadBackgroundImage()
+ from the core of PCB
+
+2011-08-27 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/hid/gtk/gtkhid-gdk.c, src/hid/gtk/gtkhid-gl.c: hid/gtk: Use
+ view_data struct to simplify saving and restoring views
+
+2011-08-27 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/hid/gtk/gtkhid-gdk.c, src/hid/gtk/gtkhid-gl.c,
+ src/hid/gtk/gtkhid-main.c, src/hid/gtk/gui-output-events.c,
+ src/hid/gtk/gui-top-window.c, src/hid/gtk/gui.h: hid/gtk:
+ Encapsulate view parameters in a structure
+
+2011-08-27 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/hid/gtk/gtkhid-main.c: hid/gtk: Remove unnecessary prototype
+
+2011-08-27 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/hid/gtk/gui.h: hid/gtk: crosshair_{x,y} should be Coord, not
+ int.
+
+2011-08-27 Peter Clifton * pcjc2 AT cam dot ac dot uk *
+
+ * src/fontmode.c: fontmode.c: Add missing #include "pcb-printf.h"
+
+2011-08-26 DJ Delorie * dj AT delorie dot com *
+
+ * src/fontmode.c: 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
+
+2011-08-26 DJ Delorie * dj AT delorie dot com *
+
+ * src/hid/lesstif/dialogs.c: 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.
+
+2011-08-26 DJ Delorie * dj AT delorie dot com *
+
+ * src/parse_l.l: 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.
+
+2011-08-26 Andrew Poelstra * asp11 AT sfu dot ca *
+
+ * src/hid/gtk/gui-top-window.c: gtk: Sync selection with pcb state
+ in ghid_layer_buttons_update It was possible for PCB's active layer to come out of sync with the
+ selected entry in the layer selector. This fixes that.
+
+2011-08-26 Andrew Poelstra * asp11 AT sfu dot ca *
+
+ * src/hid/gtk/gtk-pcb-layer-selector.c,
+ src/hid/gtk/gtk-pcb-layer-selector.h, src/hid/gtk/gui-top-window.c:
+ Support adding/deletion of layers in GtkPcbLayerSelector If you add a layer to a GtkPcbLayerSelector, and its ID is already
+ in the selector, it will update the layer instead of adding a new
+ one. This way, we can update the layer selector by: 1. Deleting all recently-deleted and non-copper layers. 2. Re-adding all layers (including new ones) 3. Re-adding all non-copper layers (so they go to the end) The old layer selector maintained MAX_LAYER + n layers (where n was
+ the number of non-copper layers), and showed/hid the gui widget to
+ managed deletion and adding of layers. The new one has no notion of
+ MAX_LAYER, nor does it care whether a layer is copper or not. :)
+
+20...
[truncated message content] |
|
From: <gi...@gp...> - 2011-09-18 17:39:02
|
The branch, master has been updated
via 9b21e7d14d2d5e86c7ffd76972e362bc1d2ebdb0 (commit)
from df25b6b3f1326a2adccfbf1e20223c4cfa8a4057 (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
=========
po/POTFILES.in | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
=================
Commit Messages
=================
commit 9b21e7d14d2d5e86c7ffd76972e362bc1d2ebdb0
Author: DJ Delorie <dj...@de...>
Commit: DJ Delorie <dj...@de...>
Remove src/hid/common/hidgl_package_vrml_y.c from POTFILES.in
Reverts 61bd0cb1e134bbea96abd6fd2d5fb94d09c0b3c8 as this file doesn't
exist in this repository, causing a distcheck failure.
:100644 100644 b664517... d3d3bbb... M po/POTFILES.in
=========
Changes
=========
commit 9b21e7d14d2d5e86c7ffd76972e362bc1d2ebdb0
Author: DJ Delorie <dj...@de...>
Commit: DJ Delorie <dj...@de...>
Remove src/hid/common/hidgl_package_vrml_y.c from POTFILES.in
Reverts 61bd0cb1e134bbea96abd6fd2d5fb94d09c0b3c8 as this file doesn't
exist in this repository, causing a distcheck failure.
diff --git a/po/POTFILES.in b/po/POTFILES.in
index b664517..d3d3bbb 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -19,7 +19,6 @@ src/find.c
src/gpcb-menu.res.in
src/hid/batch/batch.c
src/hid/common/actions.c
-src/hid/common/hidgl_package_vrml_y.c
src/hid/common/hidnogui.c
src/hid/gerber/gerber.c
src/hid/gtk/ghid-cell-renderer-visibility.c
|
|
From: <gi...@gp...> - 2011-09-18 17:22:15
|
The branch, master has been updated
via df25b6b3f1326a2adccfbf1e20223c4cfa8a4057 (commit)
from c8214a0ca40ed31ea31a98904c798dc8f7bfe322 (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
=========
tests/golden/hid_png3/gerber_oneline.png | Bin 844 -> 845 bytes
1 files changed, 0 insertions(+), 0 deletions(-)
=================
Commit Messages
=================
commit df25b6b3f1326a2adccfbf1e20223c4cfa8a4057
Author: DJ Delorie <dj...@de...>
Commit: DJ Delorie <dj...@de...>
Update golden files for nanometers
hid_png3 was off by a pixel on a line end. I retested my UV and TT
films to verify that the nanometers conversion didn't affect line
*widths* and updated the golden file to accept this one-pixel
difference.
:100644 100644 e863afb... 9c5e865... M tests/golden/hid_png3/gerber_oneline.png
=========
Changes
=========
commit df25b6b3f1326a2adccfbf1e20223c4cfa8a4057
Author: DJ Delorie <dj...@de...>
Commit: DJ Delorie <dj...@de...>
Update golden files for nanometers
hid_png3 was off by a pixel on a line end. I retested my UV and TT
films to verify that the nanometers conversion didn't affect line
*widths* and updated the golden file to accept this one-pixel
difference.
diff --git a/tests/golden/hid_png3/gerber_oneline.png b/tests/golden/hid_png3/gerber_oneline.png
index e863afb..9c5e865 100644
Binary files a/tests/golden/hid_png3/gerber_oneline.png and b/tests/golden/hid_png3/gerber_oneline.png differ
|
|
From: <gi...@gp...> - 2011-09-17 21:30:04
|
The branch, master has been updated
via c8214a0ca40ed31ea31a98904c798dc8f7bfe322 (commit)
from c9b8eaee755a5e192732814e275f6a0ce67386b3 (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 | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
=================
Commit Messages
=================
commit c8214a0ca40ed31ea31a98904c798dc8f7bfe322
Author: DJ Delorie <dj...@de...>
Commit: DJ Delorie <dj...@de...>
[windows] use unix-style path separators when calling gnetlist
:100644 100644 1923cf9... 2edb9a9... M src/action.c
=========
Changes
=========
commit c8214a0ca40ed31ea31a98904c798dc8f7bfe322
Author: DJ Delorie <dj...@de...>
Commit: DJ Delorie <dj...@de...>
[windows] use unix-style path separators when calling gnetlist
diff --git a/src/action.c b/src/action.c
index 1923cf9..2edb9a9 100644
--- a/src/action.c
+++ b/src/action.c
@@ -7354,6 +7354,15 @@ tempfile_name_new (char * name)
* in case someone decides to create multiple temp names.
*/
tmpfile = strdup (tmpnam (NULL));
+#ifdef __WIN32__
+ {
+ /* Guile doesn't like \ separators */
+ char *c;
+ for (c = tmpfile; *c; c++)
+ if (*c == '\\')
+ *c = '/';
+ }
+#endif
#endif
return tmpfile;
|
|
From: <gi...@gp...> - 2011-09-17 20:50:47
|
The branch, master has been updated
via c9b8eaee755a5e192732814e275f6a0ce67386b3 (commit)
via 70db91fc3dfb8b378962794fc8f86f71b52f7af8 (commit)
from 7452c9e8fc227353e9fec7b2a8d0b5014a9ba828 (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
=========
=================
Commit Messages
=================
commit 70db91fc3dfb8b378962794fc8f86f71b52f7af8
Author: Kai-Martin Knaak <km...@li...>
Commit: Felix Ruoff <Fe...@po...>
remove panner control from documentation
There is no panner control in the GUI (anymore?) since at least five years.
this pathc removes its description from the texi manual.
Closes-bug: lp-851443
:100644 100644 855244a... d543a2c... M doc/pcb.texi
=========
Changes
=========
commit 70db91fc3dfb8b378962794fc8f86f71b52f7af8
Author: Kai-Martin Knaak <km...@li...>
Commit: Felix Ruoff <Fe...@po...>
remove panner control from documentation
There is no panner control in the GUI (anymore?) since at least five years.
this pathc removes its description from the texi manual.
Closes-bug: lp-851443
diff --git a/doc/pcb.texi b/doc/pcb.texi
index 855244a..d543a2c 100644
--- a/doc/pcb.texi
+++ b/doc/pcb.texi
@@ -522,10 +522,7 @@ of another by pressing @emph{Ctrl-Btn1}, or
@emph{Btn3}, but don't use @emph{Btn2}.
The undo function (@emph{U} key or @samp{undo last operation}
from the @b{Edit} menu) will take you back
-point by point if you use it while in the line mode. If you drag
-the pointer out of the Layout area while drawing a line, the
-display will auto-scroll (assuming sufficient zoom for scrolling).
-To stop auto-scroll, simply pass the pointer over the panner control.
+point by point if you use it while in the line mode.
@cindex two line mode
New lines can be restricted to 45 degree angles if desired. You can toggle this
@@ -740,16 +737,14 @@ if that works, then @pcb{} hasn't been installed properly.
@node Application Window
@section The Application Window
-The main window consists of six areas:
-the menu at the top, the panner control in the upper left corner, the layer
-controls located below the panner, the tool buttons
+The main window consists of five areas:
+the menu at the top, the layer control in the upper left, the tool buttons
located below the layer controls, the Layout area to the right of these, and the
status line at the bottom of the window.
@menu
* Menu::
* Status-line and Input-field:: What is the program configuration.
-* Panner Control:: Used to pan the layout view when zoomed in.
* Layer Controls:: Switch layers on/off; change current one.
* Tool Selectors:: Select a layout tool.
* Layout Area:: Where the layout is drawn.
@@ -1020,53 +1015,6 @@ are the distance and angle from the mark to the cross hair. The values displayed
are always in units of 0.001 inch (1 mil).
Pressing @emph{Ctrl-M} again turns the marker off.
-@node Panner Control
-@subsection The Panner Control
-@cindex Panner control
-@cindex View, adjusting
-
-The panner control, located at the upper left side of the window, is used to
-adjust what portion of the layout is seen in the Layout area. The outer
-rectangle of the panner represents the whole layout (extended to have the
-panner aspect ratio), while the inner control rectangle represents the
-portion seen through the Layout area. Slowly drag this part around with
-the mouse (@emph{Btn1}) to see how it pans the layout. Release the panner
-control, but leave the pointer within the outer most rectangle of the
-control. Now hit a few keyboard arrow keys. Each arrow key moves the region
-seen one-half window size in the arrow direction. If you want to see a
-portion of the layout that is off the top of the screen, you need to
-drag the panner up, or hit the up arrow key.
-
-Move the pointer back into the Layout area.
-Increase the zoom by hitting the @emph{Z} key. See how the inner part of
-the panner becomes smaller to reflect that you are viewing a smaller
-part of the layout. Now zoom out by hitting @emph{Shift-Z}. If you
-hit the arrow key with the pointer in the Layout area, it moves
-the pointer rather than scrolling the window. In general the keyboard
-shortcuts depend on which region of @code{Pcb's} window the pointer
-is over. For the most part, the key strokes in this manual refer to
-the case when the pointer is in the Layout area. You can do fine
-scrolling in the Layout area by dragging it directly with the
-Panner tool. Press the @emph{Escape} key to select the panner tool.
-Now drag in the layout area with @emph{Btn1} down. You can scroll the drawing
-window while the pointer is inside it with @emph{Mod-Arrow}
-keys.
-
-If you are moving or drawing an object and go beyond the drawing
-window borders, the window will auto-scroll. If you want to stop
-the auto-scrolling while the pointer is outside the Layout area,
-simply pass the pointer briefly over the panner control area, or
-a menu button.
-
-Another way to navigate around a layout is with @emph{Shift-Btn3}.
-When pressed down, the layout will zoom so the whole extent of
-objects is visible, and will return to the previous zoom when
-you release the button, but will be centered at the cross hair
-position where the button is released. You can do this while in
-the middle of drawing an object. Try it now to center near
-U7.
-
-
@node Layer Controls
@subsection The Layer Controls
@cindex layer controls
@@ -1074,7 +1022,7 @@ U7.
@cindex layers, changing which is active
@cindex change active layer
-The layer control panel, located below the panner control, is used to turn on
+The layer control panel, located in the upper left, is used to turn on
and off the display of layer groups and to select the active drawing layer.
If a layer hasn't been named, the label "@emph{(unknown)}" is used as the default.
If this happens, it probably means the application resources are not installed
@@ -1149,7 +1097,6 @@ Every tool gives the cursor a unique shape that identifies it.
The tool selector buttons themselves are icons that illustrate their function.
Each layout tool can also be selected from the keyboard:
@example
- @emph{Escape} key Panner tool
@emph{F1} key Via tool
@emph{F2} key Line tool
@emph{F3} key Arc tool
|
|
From: <gi...@gp...> - 2011-09-17 20:46:48
|
The branch, master has been updated
via 7452c9e8fc227353e9fec7b2a8d0b5014a9ba828 (commit)
from 07d0e2691bc9dbbf5eb743468cce5ab82f28f32a (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
=========
doc/pcb.texi | 61 +++------------------------------------------------------
1 files changed, 4 insertions(+), 57 deletions(-)
=================
Commit Messages
=================
commit 7452c9e8fc227353e9fec7b2a8d0b5014a9ba828
Author: Kai-Martin Knaak <km...@li...>
Commit: Felix Ruoff <Fe...@po...>
remove panner control from documentation
There is no panner control in the GUI (anymore?) since at least five years.
this pathc removes its description from the texi manual.
:100644 100644 855244a... d543a2c... M doc/pcb.texi
=========
Changes
=========
commit 7452c9e8fc227353e9fec7b2a8d0b5014a9ba828
Author: Kai-Martin Knaak <km...@li...>
Commit: Felix Ruoff <Fe...@po...>
remove panner control from documentation
There is no panner control in the GUI (anymore?) since at least five years.
this pathc removes its description from the texi manual.
diff --git a/doc/pcb.texi b/doc/pcb.texi
index 855244a..d543a2c 100644
--- a/doc/pcb.texi
+++ b/doc/pcb.texi
@@ -522,10 +522,7 @@ of another by pressing @emph{Ctrl-Btn1}, or
@emph{Btn3}, but don't use @emph{Btn2}.
The undo function (@emph{U} key or @samp{undo last operation}
from the @b{Edit} menu) will take you back
-point by point if you use it while in the line mode. If you drag
-the pointer out of the Layout area while drawing a line, the
-display will auto-scroll (assuming sufficient zoom for scrolling).
-To stop auto-scroll, simply pass the pointer over the panner control.
+point by point if you use it while in the line mode.
@cindex two line mode
New lines can be restricted to 45 degree angles if desired. You can toggle this
@@ -740,16 +737,14 @@ if that works, then @pcb{} hasn't been installed properly.
@node Application Window
@section The Application Window
-The main window consists of six areas:
-the menu at the top, the panner control in the upper left corner, the layer
-controls located below the panner, the tool buttons
+The main window consists of five areas:
+the menu at the top, the layer control in the upper left, the tool buttons
located below the layer controls, the Layout area to the right of these, and the
status line at the bottom of the window.
@menu
* Menu::
* Status-line and Input-field:: What is the program configuration.
-* Panner Control:: Used to pan the layout view when zoomed in.
* Layer Controls:: Switch layers on/off; change current one.
* Tool Selectors:: Select a layout tool.
* Layout Area:: Where the layout is drawn.
@@ -1020,53 +1015,6 @@ are the distance and angle from the mark to the cross hair. The values displayed
are always in units of 0.001 inch (1 mil).
Pressing @emph{Ctrl-M} again turns the marker off.
-@node Panner Control
-@subsection The Panner Control
-@cindex Panner control
-@cindex View, adjusting
-
-The panner control, located at the upper left side of the window, is used to
-adjust what portion of the layout is seen in the Layout area. The outer
-rectangle of the panner represents the whole layout (extended to have the
-panner aspect ratio), while the inner control rectangle represents the
-portion seen through the Layout area. Slowly drag this part around with
-the mouse (@emph{Btn1}) to see how it pans the layout. Release the panner
-control, but leave the pointer within the outer most rectangle of the
-control. Now hit a few keyboard arrow keys. Each arrow key moves the region
-seen one-half window size in the arrow direction. If you want to see a
-portion of the layout that is off the top of the screen, you need to
-drag the panner up, or hit the up arrow key.
-
-Move the pointer back into the Layout area.
-Increase the zoom by hitting the @emph{Z} key. See how the inner part of
-the panner becomes smaller to reflect that you are viewing a smaller
-part of the layout. Now zoom out by hitting @emph{Shift-Z}. If you
-hit the arrow key with the pointer in the Layout area, it moves
-the pointer rather than scrolling the window. In general the keyboard
-shortcuts depend on which region of @code{Pcb's} window the pointer
-is over. For the most part, the key strokes in this manual refer to
-the case when the pointer is in the Layout area. You can do fine
-scrolling in the Layout area by dragging it directly with the
-Panner tool. Press the @emph{Escape} key to select the panner tool.
-Now drag in the layout area with @emph{Btn1} down. You can scroll the drawing
-window while the pointer is inside it with @emph{Mod-Arrow}
-keys.
-
-If you are moving or drawing an object and go beyond the drawing
-window borders, the window will auto-scroll. If you want to stop
-the auto-scrolling while the pointer is outside the Layout area,
-simply pass the pointer briefly over the panner control area, or
-a menu button.
-
-Another way to navigate around a layout is with @emph{Shift-Btn3}.
-When pressed down, the layout will zoom so the whole extent of
-objects is visible, and will return to the previous zoom when
-you release the button, but will be centered at the cross hair
-position where the button is released. You can do this while in
-the middle of drawing an object. Try it now to center near
-U7.
-
-
@node Layer Controls
@subsection The Layer Controls
@cindex layer controls
@@ -1074,7 +1022,7 @@ U7.
@cindex layers, changing which is active
@cindex change active layer
-The layer control panel, located below the panner control, is used to turn on
+The layer control panel, located in the upper left, is used to turn on
and off the display of layer groups and to select the active drawing layer.
If a layer hasn't been named, the label "@emph{(unknown)}" is used as the default.
If this happens, it probably means the application resources are not installed
@@ -1149,7 +1097,6 @@ Every tool gives the cursor a unique shape that identifies it.
The tool selector buttons themselves are icons that illustrate their function.
Each layout tool can also be selected from the keyboard:
@example
- @emph{Escape} key Panner tool
@emph{F1} key Via tool
@emph{F2} key Line tool
@emph{F3} key Arc tool
|
|
From: <gi...@gp...> - 2011-09-17 15:17:38
|
The branch, master has been updated
via 07d0e2691bc9dbbf5eb743468cce5ab82f28f32a (commit)
from 31df66e87a810aac852139da9119b15c47fa8c71 (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/file.c | 3 ++-
src/main.c | 11 ++++++++---
2 files changed, 10 insertions(+), 4 deletions(-)
=================
Commit Messages
=================
commit 07d0e2691bc9dbbf5eb743468cce5ab82f28f32a
Author: Peter Clifton <pc...@ca...>
Commit: Peter Clifton <pc...@ca...>
Don't adjust the Library command settings if they are NULL, or
an empty string.
(The empty string part is a fixup for
commit 31df66e87a810aac852139da9119b15c47fa8c71
- this will teach me for bikeshedding)
The NULL part should fix bug lp-852598
Closes-bug: lp-852598
:100644 100644 8888432... c22f5c5... M src/file.c
:100644 100644 ddd5675... d5a8487... M src/main.c
=========
Changes
=========
commit 07d0e2691bc9dbbf5eb743468cce5ab82f28f32a
Author: Peter Clifton <pc...@ca...>
Commit: Peter Clifton <pc...@ca...>
Don't adjust the Library command settings if they are NULL, or
an empty string.
(The empty string part is a fixup for
commit 31df66e87a810aac852139da9119b15c47fa8c71
- this will teach me for bikeshedding)
The NULL part should fix bug lp-852598
Closes-bug: lp-852598
diff --git a/src/file.c b/src/file.c
index 8888432..c22f5c5 100644
--- a/src/file.c
+++ b/src/file.c
@@ -1417,7 +1417,8 @@ ReadLibraryContents (void)
* skip this. This is used by default on Windows builds (set in main.c),
* as we can't normally run shell scripts or expect to have m4 present.
*/
- if (*Settings.LibraryContentsCommand != '\0')
+ if (Settings.LibraryContentsCommand != NULL &&
+ Settings.LibraryContentsCommand[0] != '\0')
{
/* First load the M4 stuff. The variable Settings.LibraryPath
* points to it.
diff --git a/src/main.c b/src/main.c
index ddd5675..d5a8487 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1442,7 +1442,10 @@ REGISTER_ATTRIBUTES (main_attribute_list)
{
char *tmps;
- if (Settings.LibraryCommand[0] != PCB_DIR_SEPARATOR_C && Settings.LibraryCommand[0] != '.')
+ if (Settings.LibraryCommand != NULL &&
+ Settings.LibraryCommand[0] != '\0' &&
+ Settings.LibraryCommand[0] != PCB_DIR_SEPARATOR_C &&
+ Settings.LibraryCommand[0] != '.')
{
Settings.LibraryCommand
=
@@ -1450,8 +1453,10 @@ REGISTER_ATTRIBUTES (main_attribute_list)
Settings.LibraryCommand,
NULL);
}
- if (Settings.LibraryContentsCommand[0] != PCB_DIR_SEPARATOR_C
- && Settings.LibraryContentsCommand[0] != '.')
+ if (Settings.LibraryContentsCommand != NULL &&
+ Settings.LibraryContentsCommand[0] != '\0' &&
+ Settings.LibraryContentsCommand[0] != PCB_DIR_SEPARATOR_C &&
+ Settings.LibraryContentsCommand[0] != '.')
{
Settings.LibraryContentsCommand
=
|
|
From: <gi...@gp...> - 2011-09-17 14:30:40
|
The branch, master has been updated
via 31df66e87a810aac852139da9119b15c47fa8c71 (commit)
from aa73c06889aa6c8ac7b7ff5816ee4863915c7994 (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/file.c | 11 +++++------
src/main.c | 5 +++--
2 files changed, 8 insertions(+), 8 deletions(-)
=================
Commit Messages
=================
commit 31df66e87a810aac852139da9119b15c47fa8c71
Author: Peter Clifton <pc...@ca...>
Commit: Peter Clifton <pc...@ca...>
Bikeshed commit 11700ba8c3c951a788c8190073eb09822060dfdd
I don't like magic strings, and IMO, using a blank LibraryContentsCommand
string to imply "don't use this feature" is better than "*NONE*".
:100644 100644 a9575b1... 8888432... M src/file.c
:100644 100644 3f692e4... ddd5675... M src/main.c
=========
Changes
=========
commit 31df66e87a810aac852139da9119b15c47fa8c71
Author: Peter Clifton <pc...@ca...>
Commit: Peter Clifton <pc...@ca...>
Bikeshed commit 11700ba8c3c951a788c8190073eb09822060dfdd
I don't like magic strings, and IMO, using a blank LibraryContentsCommand
string to imply "don't use this feature" is better than "*NONE*".
diff --git a/src/file.c b/src/file.c
index a9575b1..8888432 100644
--- a/src/file.c
+++ b/src/file.c
@@ -1413,12 +1413,11 @@ ReadLibraryContents (void)
LibraryMenuTypePtr menu = NULL;
LibraryEntryTypePtr entry;
-
- /* On Windows, the magic string '*NONE*' is set in main.c as we
- normally cannot run shell scripts or expect to have m4. This
- allows the user to still override it if they have a
- windows-compatible library generator. */
- if (strcmp (Settings.LibraryContentsCommand, "*NONE*"))
+ /* If we don't have a command to execute to find the library contents,
+ * skip this. This is used by default on Windows builds (set in main.c),
+ * as we can't normally run shell scripts or expect to have m4 present.
+ */
+ if (*Settings.LibraryContentsCommand != '\0')
{
/* First load the M4 stuff. The variable Settings.LibraryPath
* points to it.
diff --git a/src/main.c b/src/main.c
index 3f692e4..ddd5675 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1122,13 +1122,14 @@ Defaults to @code{"QueryLibrary.sh '%p' '%f' %a"}
@ftable @code
@item --lib-contents-command <string>
Command to query the contents of the library. @*
-Defaults to @code{"ListLibraryContents.sh %p %f"} or, on Windows, *NONE*
+Defaults to @code{"ListLibraryContents.sh %p %f"} or,
+on Windows builds, an empty string (to disable this feature).
@end ftable
%end-doc
*/
SSET (LibraryContentsCommand,
#ifdef __WIN32__
- "*NONE*",
+ "",
#else
"ListLibraryContents.sh '%p' '%f'",
#endif
|
|
From: <gi...@gp...> - 2011-09-17 13:59:12
|
The branch, master has been updated
via aa73c06889aa6c8ac7b7ff5816ee4863915c7994 (commit)
from 09aab0bb01e914cc773d2115292695645f561bd5 (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/hid/gtk/gui-top-window.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
=================
Commit Messages
=================
commit aa73c06889aa6c8ac7b7ff5816ee4863915c7994
Author: Peter Clifton <pc...@ca...>
Commit: Peter Clifton <pc...@ca...>
hid/gtk: 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 was one possible way to fix the "zoom doesn't work" bug on Win32
for locales which use "," as the decimal separator.
DJ fixed the Zoom action to be locale independent in
commit fd5399c67b988f2f7c9d1a0b4ab7c13bc2e95158, which worked around
the problem for this particular action, but I feel it would be best
that we made our locale handling consistent between Linux and Win32
as well.
Affects-bug: lp-843577
:100644 100644 35bdc69... 98bfcfe... M src/hid/gtk/gui-top-window.c
=========
Changes
=========
commit aa73c06889aa6c8ac7b7ff5816ee4863915c7994
Author: Peter Clifton <pc...@ca...>
Commit: Peter Clifton <pc...@ca...>
hid/gtk: 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 was one possible way to fix the "zoom doesn't work" bug on Win32
for locales which use "," as the decimal separator.
DJ fixed the Zoom action to be locale independent in
commit fd5399c67b988f2f7c9d1a0b4ab7c13bc2e95158, which worked around
the problem for this particular action, but I feel it would be best
that we made our locale handling consistent between Linux and Win32
as well.
Affects-bug: lp-843577
diff --git a/src/hid/gtk/gui-top-window.c b/src/hid/gtk/gui-top-window.c
index 35bdc69..98bfcfe 100644
--- a/src/hid/gtk/gui-top-window.c
+++ b/src/hid/gtk/gui-top-window.c
@@ -1700,13 +1700,13 @@ ghid_parse_arguments (int *argc, char ***argv)
/* Do our own setlocale() stufff since we want to override LC_NUMERIC
*/
gtk_set_locale ();
- setlocale (LC_NUMERIC, "POSIX"); /* use decimal point instead of comma */
+ setlocale (LC_NUMERIC, "C"); /* use decimal point instead of comma */
#endif
/*
* Prevent gtk_init() and gtk_init_check() from automatically
* calling setlocale (LC_ALL, "") which would undo LC_NUMERIC if ENABLE_NLS
- * We also don't want locale set if no ENABLE_NLS to keep POSIX LC_NUMERIC.
+ * We also don't want locale set if no ENABLE_NLS to keep "C" LC_NUMERIC.
*/
gtk_disable_setlocale ();
|
|
From: <gi...@gp...> - 2011-09-17 03:44:20
|
The branch, master has been updated
via 09aab0bb01e914cc773d2115292695645f561bd5 (commit)
from 11700ba8c3c951a788c8190073eb09822060dfdd (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/djopt.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
=================
Commit Messages
=================
commit 09aab0bb01e914cc773d2115292695645f561bd5
Author: Dima Kogan <di...@se...>
Commit: DJ Delorie <dj...@de...>
fixed an instance of the "only-optimize-autorouted" flag being ignored
Signed-off-by: Dima Kogan <di...@se...>
:100644 100644 1d8332d... 7b5a223... M src/djopt.c
=========
Changes
=========
commit 09aab0bb01e914cc773d2115292695645f561bd5
Author: Dima Kogan <di...@se...>
Commit: DJ Delorie <dj...@de...>
fixed an instance of the "only-optimize-autorouted" flag being ignored
Signed-off-by: Dima Kogan <di...@se...>
diff --git a/src/djopt.c b/src/djopt.c
index 1d8332d..7b5a223 100644
--- a/src/djopt.c
+++ b/src/djopt.c
@@ -2988,6 +2988,9 @@ ActionDJopt (int argc, char **argv, Coord x, Coord y)
{
line_s *ls;
+ if(autorouted_only && !autorouted (line))
+ continue;
+
/* don't mess with thermals */
if (TEST_FLAG (USETHERMALFLAG, line))
continue;
|
|
From: <gi...@gp...> - 2011-09-17 03:31:52
|
The branch, master has been updated
via 11700ba8c3c951a788c8190073eb09822060dfdd (commit)
from fd5399c67b988f2f7c9d1a0b4ab7c13bc2e95158 (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/file.c | 131 +++++++++++++++++++++++++++++++----------------------------
src/main.c | 9 +++-
2 files changed, 76 insertions(+), 64 deletions(-)
=================
Commit Messages
=================
commit 11700ba8c3c951a788c8190073eb09822060dfdd
Author: DJ Delorie <dj...@de...>
Commit: DJ Delorie <dj...@de...>
Skip the M4 library on Windows
On Windows, set the LibraryContentsCommand to the magic string "*NONE*"
and check for that string while loading the libraries. This avoids the
windows pcb.exe from trying to run bash or m4 scripts, which are
normally not available, yet allows the user a way to re-enable them if
they want.
:100644 100644 be7f6a5... a9575b1... M src/file.c
:100644 100644 d371c8f... 3f692e4... M src/main.c
=========
Changes
=========
commit 11700ba8c3c951a788c8190073eb09822060dfdd
Author: DJ Delorie <dj...@de...>
Commit: DJ Delorie <dj...@de...>
Skip the M4 library on Windows
On Windows, set the LibraryContentsCommand to the magic string "*NONE*"
and check for that string while loading the libraries. This avoids the
windows pcb.exe from trying to run bash or m4 scripts, which are
normally not available, yet allows the user a way to re-enable them if
they want.
diff --git a/src/file.c b/src/file.c
index be7f6a5..a9575b1 100644
--- a/src/file.c
+++ b/src/file.c
@@ -1414,82 +1414,89 @@ ReadLibraryContents (void)
LibraryEntryTypePtr entry;
- /* First load the M4 stuff. The variable Settings.LibraryPath
- * points to it.
- */
- free (command);
- command = EvaluateFilename (Settings.LibraryContentsCommand,
- Settings.LibraryPath, Settings.LibraryFilename,
- NULL);
+ /* On Windows, the magic string '*NONE*' is set in main.c as we
+ normally cannot run shell scripts or expect to have m4. This
+ allows the user to still override it if they have a
+ windows-compatible library generator. */
+ if (strcmp (Settings.LibraryContentsCommand, "*NONE*"))
+ {
+ /* First load the M4 stuff. The variable Settings.LibraryPath
+ * points to it.
+ */
+ free (command);
+ command = EvaluateFilename (Settings.LibraryContentsCommand,
+ Settings.LibraryPath, Settings.LibraryFilename,
+ NULL);
#ifdef DEBUG
- printf("In ReadLibraryContents, about to execute command %s\n", command);
+ printf("In ReadLibraryContents, about to execute command %s\n", command);
#endif
- /* This uses a pipe to execute a shell script which provides the names of
- * all M4 libs and footprints. The results are placed in resultFP.
- */
- if (command && *command && (resultFP = popen (command, "r")) == NULL)
- {
- PopenErrorMessage (command);
- }
-
- /* the M4 library contents are separated by colons;
- * template : package : name : description
- */
- while (resultFP != NULL && fgets (inputline, MAX_LIBRARY_LINE_LENGTH, resultFP))
- {
- size_t len = strlen (inputline);
-
- /* check for maximum linelength */
- if (len)
+ /* This uses a pipe to execute a shell script which provides the names of
+ * all M4 libs and footprints. The results are placed in resultFP.
+ */
+ if (command && *command && (resultFP = popen (command, "r")) == NULL)
{
- len--;
- if (inputline[len] != '\n')
- Message
- ("linelength (%i) exceeded; following characters will be ignored\n",
- MAX_LIBRARY_LINE_LENGTH);
- else
- inputline[len] = '\0';
+ PopenErrorMessage (command);
}
- /* if the line defines a menu */
- if (!strncmp (inputline, "TYPE=", 5))
- {
- menu = GetLibraryMenuMemory (&Library);
- menu->Name = strdup (UNKNOWN (&inputline[5]));
- menu->directory = strdup (Settings.LibraryFilename);
- }
- else
+ /* the M4 library contents are separated by colons;
+ * template : package : name : description
+ */
+ while (resultFP != NULL && fgets (inputline, MAX_LIBRARY_LINE_LENGTH, resultFP))
{
- /* allocate a new menu entry if not already done */
- if (!menu)
+ size_t len = strlen (inputline);
+
+ /* check for maximum linelength */
+ if (len)
+ {
+ len--;
+ if (inputline[len] != '\n')
+ Message
+ ("linelength (%i) exceeded; following characters will be ignored\n",
+ MAX_LIBRARY_LINE_LENGTH);
+ else
+ inputline[len] = '\0';
+ }
+
+ /* if the line defines a menu */
+ if (!strncmp (inputline, "TYPE=", 5))
{
menu = GetLibraryMenuMemory (&Library);
- menu->Name = strdup (UNKNOWN ((char *) NULL));
+ menu->Name = strdup (UNKNOWN (&inputline[5]));
menu->directory = strdup (Settings.LibraryFilename);
}
- entry = GetLibraryEntryMemory (menu);
- entry->AllocatedMemory = strdup (inputline);
-
- /* now break the line into pieces separated by colons */
- if ((entry->Template = strtok (entry->AllocatedMemory, ":")) !=
- NULL)
- if ((entry->Package = strtok (NULL, ":")) != NULL)
- if ((entry->Value = strtok (NULL, ":")) != NULL)
- entry->Description = strtok (NULL, ":");
-
- /* create the list entry */
- len = strlen (EMPTY (entry->Value)) +
- strlen (EMPTY (entry->Description)) + 4;
- entry->ListEntry = (char *)calloc (len, sizeof (char));
- sprintf (entry->ListEntry,
- "%s, %s", EMPTY (entry->Value),
- EMPTY (entry->Description));
+ else
+ {
+ /* allocate a new menu entry if not already done */
+ if (!menu)
+ {
+ menu = GetLibraryMenuMemory (&Library);
+ menu->Name = strdup (UNKNOWN ((char *) NULL));
+ menu->directory = strdup (Settings.LibraryFilename);
+ }
+ entry = GetLibraryEntryMemory (menu);
+ entry->AllocatedMemory = strdup (inputline);
+
+ /* now break the line into pieces separated by colons */
+ if ((entry->Template = strtok (entry->AllocatedMemory, ":")) !=
+ NULL)
+ if ((entry->Package = strtok (NULL, ":")) != NULL)
+ if ((entry->Value = strtok (NULL, ":")) != NULL)
+ entry->Description = strtok (NULL, ":");
+
+ /* create the list entry */
+ len = strlen (EMPTY (entry->Value)) +
+ strlen (EMPTY (entry->Description)) + 4;
+ entry->ListEntry = (char *)calloc (len, sizeof (char));
+ sprintf (entry->ListEntry,
+ "%s, %s", EMPTY (entry->Value),
+ EMPTY (entry->Description));
+ }
}
+ if (resultFP != NULL)
+ pclose (resultFP);
}
- if (resultFP != NULL)
- pclose (resultFP);
/* Now after reading in the M4 libs, call a function to
* read the newlib footprint libraries. Then sort the whole
diff --git a/src/main.c b/src/main.c
index d371c8f..3f692e4 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1122,11 +1122,16 @@ Defaults to @code{"QueryLibrary.sh '%p' '%f' %a"}
@ftable @code
@item --lib-contents-command <string>
Command to query the contents of the library. @*
-Defaults to @code{"ListLibraryContents.sh %p %f"}
+Defaults to @code{"ListLibraryContents.sh %p %f"} or, on Windows, *NONE*
@end ftable
%end-doc
*/
- SSET (LibraryContentsCommand, "ListLibraryContents.sh '%p' '%f'",
+ SSET (LibraryContentsCommand,
+#ifdef __WIN32__
+ "*NONE*",
+#else
+ "ListLibraryContents.sh '%p' '%f'",
+#endif
"lib-contents-command", "Command to query the contents of the library"),
/* %start-doc options "5 Paths"
|
|
From: <gi...@gp...> - 2011-09-16 18:09:34
|
The branch, master has been updated
via fd5399c67b988f2f7c9d1a0b4ab7c13bc2e95158 (commit)
from a2bcea72cf4161eb928582a28fac3443309d8050 (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/hid/gtk/gtkhid-main.c | 2 +-
src/hid/lesstif/main.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
=================
Commit Messages
=================
commit fd5399c67b988f2f7c9d1a0b4ab7c13bc2e95158
Author: DJ Delorie <dj...@de...>
Commit: DJ Delorie <dj...@de...>
De-localize zoom parsing
The values used for Zoom() were being parsed with strtod(), which
switches between '.' and ',' depending on locale. Switch to
g_ascii_strtod() which always uses '.' and thus always matches our
actions.
Note: I didn't change the command line parsing, because I didn't think
we should impose '.'-centric syntax on other locales.
:100644 100644 e0cfbc9... 9b239e1... M src/hid/gtk/gtkhid-main.c
:100644 100644 1885761... a4b34ee... M src/hid/lesstif/main.c
=========
Changes
=========
commit fd5399c67b988f2f7c9d1a0b4ab7c13bc2e95158
Author: DJ Delorie <dj...@de...>
Commit: DJ Delorie <dj...@de...>
De-localize zoom parsing
The values used for Zoom() were being parsed with strtod(), which
switches between '.' and ',' depending on locale. Switch to
g_ascii_strtod() which always uses '.' and thus always matches our
actions.
Note: I didn't change the command line parsing, because I didn't think
we should impose '.'-centric syntax on other locales.
diff --git a/src/hid/gtk/gtkhid-main.c b/src/hid/gtk/gtkhid-main.c
index e0cfbc9..9b239e1 100644
--- a/src/hid/gtk/gtkhid-main.c
+++ b/src/hid/gtk/gtkhid-main.c
@@ -217,7 +217,7 @@ Zoom (int argc, char **argv, Coord x, Coord y)
vp = argv[0];
if (*vp == '+' || *vp == '-' || *vp == '=')
vp++;
- v = strtod (vp, 0);
+ v = g_ascii_strtod (vp, 0);
if (v <= 0)
return 1;
switch (argv[0][0])
diff --git a/src/hid/lesstif/main.c b/src/hid/lesstif/main.c
index 1885761..a4b34ee 100644
--- a/src/hid/lesstif/main.c
+++ b/src/hid/lesstif/main.c
@@ -515,7 +515,7 @@ ZoomAction (int argc, char **argv, Coord x, Coord y)
}
if (*vp == '+' || *vp == '-' || *vp == '=')
vp++;
- v = strtod (vp, 0);
+ v = g_ascii_strtod (vp, 0);
if (v <= 0)
return 1;
switch (argv[0][0])
|
|
From: <gi...@gp...> - 2011-09-16 05:24:46
|
The branch, master has been updated
via a2bcea72cf4161eb928582a28fac3443309d8050 (commit)
from 8147be7a70654c6c29d0e29e222c4014cf19fa5d (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
=========
lib/generic.list | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
=================
Commit Messages
=================
commit a2bcea72cf4161eb928582a28fac3443309d8050
Author: DJ Delorie <dj...@de...>
Commit: DJ Delorie <dj...@de...>
Add DIL footprint names and R025.
Existing tutorials say to use "DIL 16 300" for DIPs (we use "N 16 300")
and often call for the R025 footprint, so add them as aliases so the
m4-to-newlib converter includes them.
:100755 100755 8009b37... bc31768... M lib/generic.list
=========
Changes
=========
commit a2bcea72cf4161eb928582a28fac3443309d8050
Author: DJ Delorie <dj...@de...>
Commit: DJ Delorie <dj...@de...>
Add DIL footprint names and R025.
Existing tutorials say to use "DIL 16 300" for DIPs (we use "N 16 300")
and often call for the R025 footprint, so add them as aliases so the
m4-to-newlib converter includes them.
diff --git a/lib/generic.list b/lib/generic.list
index 8009b37..bc31768 100755
--- a/lib/generic.list
+++ b/lib/generic.list
@@ -26,26 +26,38 @@
#
# mask package values...
#
+generic8_dil:DIL:DIL 8
generic8_dil:N:DIL 8
generic8smd_dil:D:SMD 8
+generic14_dil:DIL:DIL 14
generic14_dil:N:DIL 14
generic14smd_dil:D:SMD 14
+generic16_dil:DIL:DIL 16
generic16_dil:N:DIL 16
generic16smd_dil:D:SMD 16
+generic18_dil:DIL:DIL 18
generic18_dil:N:DIL 18
generic18smd_dil:D:SMD 18
+generic20_dil:DIL:DIL 20
generic20_dil:N:DIL 20
generic20smd_dil:D:SMD 20
+generic24_dil:DIL:DIL 24
generic24_dil:N:DIL 24
generic24smd_dil:D:SMD 24
+generic24w_dil:DIL:W-DIL 24
generic24w_dil:N:W-DIL 24
generic24smdw_dil:DW:SMD-W 24
+generic28_dil:DIL:DIL 28
generic28_dil:N:DIL 28
generic28smd_dil:D:SMD 28
+generic28w_dil:DIL:W-DIL 28
generic28w_dil:N:W-DIL 28
generic28smdw_dil:DW:SMD-W 28
+generic32_dil:DIL:DIL 32
generic32_dil:N:DIL 32
+generic40_dil:DIL:DIL 40
generic40_dil:N:DIL 40
+generic64_dil:DIL:DIL 64
generic64_dil:N:DIL 64
generic44_plcc:PLCC:PLCC 44
generic44_plcc:PLCC_SOCKET:PLCC 44 socket
@@ -90,6 +102,7 @@ oscillator_32:OSC:32 MHz OSC
ovenized_oscillator_5:OVEN_OSC:5 MHz OSC
+r_025:R025:0.25W Resistor (300 mil)
generic_resistor_axial_300:AXIAL_LAY:300
generic_resistor_axial_400:AXIAL_LAY:400
generic_resistor_axial_500:AXIAL_LAY:500
|
|
From: <gi...@gp...> - 2011-09-16 05:09:51
|
The branch, master has been updated
via 8147be7a70654c6c29d0e29e222c4014cf19fa5d (commit)
via a8b69632f0219923fdbc9df8c44abeed7356b495 (commit)
from 61bd0cb1e134bbea96abd6fd2d5fb94d09c0b3c8 (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
=========
lib/m4lib_to_newlib.sh | 11 +++++++++--
src/hid/lesstif/lesstif.h | 8 +++++++-
2 files changed, 16 insertions(+), 3 deletions(-)
=================
Commit Messages
=================
commit 8147be7a70654c6c29d0e29e222c4014cf19fa5d
Author: DJ Delorie <dj...@de...>
Commit: DJ Delorie <dj...@de...>
Fix m4-to-newlib converter filenames
The m4 library uses macros and parameters to describe footprints, which
allows for a *very* flexible footprint naming scheme. While it is
impossible for pcb to know all valid footprint values, it does have a
list of "standard" ones, and knows how to obtain those. However, the m4
to newlib converter wasn't using the same footprint naming convention as
everyone else, so produced *.fp files that weren't always useful. For
example, there were a large number of 300.fp files that all collided.
With this fix, the footprint name matches the value in [...] in the
library window, which is what we tell people to use for the "footprint="
attribute anyway.
:100644 100644 ca491de... 09499b6... M lib/m4lib_to_newlib.sh
commit a8b69632f0219923fdbc9df8c44abeed7356b495
Author: DJ Delorie <dj...@de...>
Commit: DJ Delorie <dj...@de...>
Wrap all XmStrings in gettext()
:100644 100644 1ca229d... 235bf57... M src/hid/lesstif/lesstif.h
=========
Changes
=========
commit 8147be7a70654c6c29d0e29e222c4014cf19fa5d
Author: DJ Delorie <dj...@de...>
Commit: DJ Delorie <dj...@de...>
Fix m4-to-newlib converter filenames
The m4 library uses macros and parameters to describe footprints, which
allows for a *very* flexible footprint naming scheme. While it is
impossible for pcb to know all valid footprint values, it does have a
list of "standard" ones, and knows how to obtain those. However, the m4
to newlib converter wasn't using the same footprint naming convention as
everyone else, so produced *.fp files that weren't always useful. For
example, there were a large number of 300.fp files that all collided.
With this fix, the footprint name matches the value in [...] in the
library window, which is what we tell people to use for the "footprint="
attribute anyway.
diff --git a/lib/m4lib_to_newlib.sh b/lib/m4lib_to_newlib.sh
index ca491de..09499b6 100644
--- a/lib/m4lib_to_newlib.sh
+++ b/lib/m4lib_to_newlib.sh
@@ -194,8 +194,16 @@ first == 1 {
line=$0;
split(line, a, "[:]");
- # pick out the name of the footprint
+ template = a[1];
+ package = a[2];
comp = a[3];
+ comment = a[4];
+
+ # pick out the name of the footprint
+ match (comment, /(.*)\[(.*)\]/, fp);
+ comp = fp[2];
+ comment = a[3] ", " fp[1];
+
txtcomp = comp;
urlcomp = comp;
@@ -203,7 +211,6 @@ first == 1 {
gsub(/ /, "%20", urlcomp);
gsub(/ /, "\\ ", comp);
- comment = a[4];
# extract the footprint
# path library template value package
commit a8b69632f0219923fdbc9df8c44abeed7356b495
Author: DJ Delorie <dj...@de...>
Commit: DJ Delorie <dj...@de...>
Wrap all XmStrings in gettext()
diff --git a/src/hid/lesstif/lesstif.h b/src/hid/lesstif/lesstif.h
index 1ca229d..235bf57 100644
--- a/src/hid/lesstif/lesstif.h
+++ b/src/hid/lesstif/lesstif.h
@@ -64,4 +64,10 @@ extern void lesstif_attributes_dialog (char *, AttributeListType *);
#define need_idle_proc lesstif_need_idle_proc
#define show_crosshair lesstif_show_crosshair
-#define XmStringCreatePCB(x) XmStringCreateLtoR((x), XmFONTLIST_DEFAULT_TAG)
+static XmString
+XmStringCreatePCB (char *x)
+{
+ if (x && x[0])
+ x = gettext (x);
+ return XmStringCreateLtoR (x, XmFONTLIST_DEFAULT_TAG);
+}
|
|
From: <gi...@gp...> - 2011-09-15 22:34:55
|
The branch, master has been updated
via 61bd0cb1e134bbea96abd6fd2d5fb94d09c0b3c8 (commit)
from fa0768e9a8a1367fedcac74858fe3d08a89f8a71 (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
=========
po/POTFILES.in | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
=================
Commit Messages
=================
commit 61bd0cb1e134bbea96abd6fd2d5fb94d09c0b3c8
Author: Peter Clifton <pc...@ca...>
Commit: Peter Clifton <pc...@ca...>
Add another missing source file to POTFILES.in
:100644 100644 d3d3bbb... b664517... M po/POTFILES.in
=========
Changes
=========
commit 61bd0cb1e134bbea96abd6fd2d5fb94d09c0b3c8
Author: Peter Clifton <pc...@ca...>
Commit: Peter Clifton <pc...@ca...>
Add another missing source file to POTFILES.in
diff --git a/po/POTFILES.in b/po/POTFILES.in
index d3d3bbb..b664517 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -19,6 +19,7 @@ src/find.c
src/gpcb-menu.res.in
src/hid/batch/batch.c
src/hid/common/actions.c
+src/hid/common/hidgl_package_vrml_y.c
src/hid/common/hidnogui.c
src/hid/gerber/gerber.c
src/hid/gtk/ghid-cell-renderer-visibility.c
|
|
From: <gi...@gp...> - 2011-09-15 19:24:09
|
The branch, master has been updated
via fa0768e9a8a1367fedcac74858fe3d08a89f8a71 (commit)
from 8b130d1ee31a41df5dc90c0a729e902b33e11976 (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/main.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
=================
Commit Messages
=================
commit fa0768e9a8a1367fedcac74858fe3d08a89f8a71
Author: DJ Delorie <dj...@de...>
Commit: DJ Delorie <dj...@de...>
Add locale functions
Add textdomain() and setlocale() to connect to our message catalogs.
:100644 100644 1c19a3c... d371c8f... M src/main.c
=========
Changes
=========
commit fa0768e9a8a1367fedcac74858fe3d08a89f8a71
Author: DJ Delorie <dj...@de...>
Commit: DJ Delorie <dj...@de...>
Add locale functions
Add textdomain() and setlocale() to connect to our message catalogs.
diff --git a/src/main.c b/src/main.c
index 1c19a3c..d371c8f 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1757,7 +1757,9 @@ main (int argc, char *argv[])
InitPaths (argv[0]);
bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
+ textdomain(GETTEXT_PACKAGE);
bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8");
+ setlocale(LC_ALL,"");
srand ( time(NULL) ); /* Set seed for rand() */
|
|
From: <gi...@gp...> - 2011-09-15 17:59:49
|
The branch, master has been updated
via 8b130d1ee31a41df5dc90c0a729e902b33e11976 (commit)
from dd644140ce265bb87a71ff0855a9b1a7083047cb (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
=========
po/POTFILES.in | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
=================
Commit Messages
=================
commit 8b130d1ee31a41df5dc90c0a729e902b33e11976
Author: Peter Clifton <pc...@ca...>
Commit: Peter Clifton <pc...@ca...>
Add some missing files to POTFILES.in
(And sorted the file contents).
Reported-by: Bert Timmerman <ber...@xs...>
Affects-bug: lp-846368
:100644 100644 c3eb4ea... d3d3bbb... M po/POTFILES.in
=========
Changes
=========
commit 8b130d1ee31a41df5dc90c0a729e902b33e11976
Author: Peter Clifton <pc...@ca...>
Commit: Peter Clifton <pc...@ca...>
Add some missing files to POTFILES.in
(And sorted the file contents).
Reported-by: Bert Timmerman <ber...@xs...>
Affects-bug: lp-846368
diff --git a/po/POTFILES.in b/po/POTFILES.in
index c3eb4ea..d3d3bbb 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -21,11 +21,15 @@ src/hid/batch/batch.c
src/hid/common/actions.c
src/hid/common/hidnogui.c
src/hid/gerber/gerber.c
+src/hid/gtk/ghid-cell-renderer-visibility.c
+src/hid/gtk/ghid-coord-entry.c
+src/hid/gtk/ghid-main-menu.c
+src/hid/gtk/ghid-route-style-selector.c
src/hid/gtk/gtkhid-main.c
src/hid/gtk/gui-command-window.c
src/hid/gtk/gui-config.c
-src/hid/gtk/gui-dialog-print.c
src/hid/gtk/gui-dialog.c
+src/hid/gtk/gui-dialog-print.c
src/hid/gtk/gui-drc-window.c
src/hid/gtk/gui-keyref-window.c
src/hid/gtk/gui-library-window.c
@@ -33,6 +37,7 @@ src/hid/gtk/gui-log-window.c
src/hid/gtk/gui-misc.c
src/hid/gtk/gui-netlist-window.c
src/hid/gtk/gui-top-window.c
+src/hid/lesstif/dialogs.c
src/hid/ps/ps.c
src/main.c
src/misc.c
|
|
From: <gi...@gp...> - 2011-09-15 17:39:19
|
The branch, master has been updated
via dd644140ce265bb87a71ff0855a9b1a7083047cb (commit)
from a537b78f5edc8c8c106ee146987797ef99ceb60a (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
=========
po/nl.po | 1386 +++++++++++++++++++++++++++++++-------------------------------
1 files changed, 695 insertions(+), 691 deletions(-)
=================
Commit Messages
=================
commit dd644140ce265bb87a71ff0855a9b1a7083047cb
Author: Bert Timmerman <ber...@xs...>
Commit: Peter Clifton <pc...@ca...>
Updated the Dutch translation.
:100644 100644 4105867... 751e9d1... M po/nl.po
=========
Changes
=========
commit dd644140ce265bb87a71ff0855a9b1a7083047cb
Author: Bert Timmerman <ber...@xs...>
Commit: Peter Clifton <pc...@ca...>
Updated the Dutch translation.
diff --git a/po/nl.po b/po/nl.po
index 4105867..751e9d1 100644
--- a/po/nl.po
+++ b/po/nl.po
@@ -8,8 +8,8 @@ msgid ""
msgstr ""
"Project-Id-Version: pcb VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2010-12-31 19:41+0100\n"
-"PO-Revision-Date: 2010-12-31 19:42+0100\n"
+"POT-Creation-Date: 2011-09-09 21:46+0200\n"
+"PO-Revision-Date: 2011-09-09 23:10+0100\n"
"Last-Translator: Bert Timmerman <ber...@xs...>\n"
"Language-Team: Bert Timmerman <ber...@xs...>\n"
"Language: \n"
@@ -29,49 +29,44 @@ msgstr "PCB Ontwerp"
msgid "PCB Designer"
msgstr "PCB Ontwerper"
-#: ../data/pcb.xml.in.h:1
-#: ../data/x-excellon.desktop.in.h:1
+#: ../data/pcb.xml.in.h:1 ../data/x-excellon.desktop.in.h:1
msgid "Excellon drill file"
msgstr "Excellon boor bestand"
-#: ../data/pcb.xml.in.h:2
-#: ../data/x-gerber.desktop.in.h:1
+#: ../data/pcb.xml.in.h:2 ../data/x-gerber.desktop.in.h:1
msgid "Gerber file"
msgstr "Gerber bestand"
-#: ../data/pcb.xml.in.h:3
-#: ../data/x-pcb-footprint.desktop.in.h:1
+#: ../data/pcb.xml.in.h:3 ../data/x-pcb-footprint.desktop.in.h:1
msgid "PCB footprint"
msgstr "PCB voetafdruk"
-#: ../data/pcb.xml.in.h:4
-#: ../data/x-pcb-layout.desktop.in.h:1
+#: ../data/pcb.xml.in.h:4 ../data/x-pcb-layout.desktop.in.h:1
msgid "PCB layout"
msgstr "PCB opmaak"
-#: ../data/pcb.xml.in.h:5
-#: ../data/x-pcb-netlist.desktop.in.h:1
+#: ../data/pcb.xml.in.h:5 ../data/x-pcb-netlist.desktop.in.h:1
msgid "PCB netlist"
msgstr "PCB netlijst"
-#: ../src/action.c:567
+#: ../src/action.c:570
#, c-format
msgid "Unknown stroke %s\n"
msgstr "Onbekende slag %s\n"
-#: ../src/action.c:764
+#: ../src/action.c:763
#, c-format
msgid "Error: function hash size too small (%d vs %lu at %s:%d)\n"
msgstr "Fout: functie hash grootte te klein (%d vs. %lu op %s:%d)\n"
#. Change 'char' to 'int' and remove this when we get to 256
#. strings to hash.
-#: ../src/action.c:772
+#: ../src/action.c:771
#, c-format
msgid "Error: function hash type too small (%d vs %lu at %s:%d)\n"
msgstr "Fout: functie hash type te klein (%d vs. %lu op %s:%d)\n"
-#: ../src/action.c:1027
+#: ../src/action.c:1023
msgid ""
"You must turn via visibility on before\n"
"you can place vias\n"
@@ -79,60 +74,45 @@ msgstr ""
"Je moet zichtbaarheid aanzetten voordat\n"
"je vias kan plaatsen\n"
-#: ../src/action.c:1393
-#: ../src/change.c:2273
+#: ../src/action.c:1394 ../src/change.c:2297
msgid "Enter text:"
msgstr "Voer tekst in:"
-#: ../src/action.c:1471
-#: ../src/action.c:1614
-#: ../src/action.c:1673
-#: ../src/action.c:1727
-#: ../src/action.c:4102
-#: ../src/action.c:6825
-#: ../src/move.c:490
-#: ../src/move.c:581
-#: ../src/move.c:681
-#: ../src/move.c:758
-#: ../src/rotate.c:434
+#: ../src/action.c:1472 ../src/action.c:1615 ../src/action.c:1674
+#: ../src/action.c:1728 ../src/action.c:4060 ../src/action.c:6755
+#: ../src/move.c:484 ../src/move.c:575 ../src/move.c:673 ../src/move.c:747
+#: ../src/rotate.c:427
msgid "Sorry, the object is locked\n"
msgstr "Sorry, het object is op slot\n"
-#: ../src/action.c:1863
-#, c-format
+#: ../src/action.c:1864
msgid ""
-"Rules are minspace %d.%02d, minoverlap %d.%d minwidth %d.%02d, minsilk %d.%02d\n"
-"min drill %d.%02d, min annular ring %d.%02d\n"
+"%m+Rules are minspace %$mS, minoverlap %$mS minwidth %$mS, minsilk %$mS\n"
+"min drill %$mS, min annular ring %$mS\n"
msgstr ""
-"Regels zijn min ruimte %d.%02d, min overlappend %d.%d min wijdte %d.%02d, min opdruk %d.%02d\n"
-"min boordiam %d.%02d, min ring %d.%02d\n"
+"%m+Regels zijn min ruimte %$mS, min overlappend %$mS min wijdte %$mS, min "
+"opdruk %$mS\n"
+"min boordiam %$mS, min ring %$mS\n"
-#: ../src/action.c:1878
+#: ../src/action.c:1876
msgid "No DRC problems found.\n"
msgstr "Geen DRC problemen gevonden.\n"
-#: ../src/action.c:1880
+#: ../src/action.c:1878
#, c-format
msgid "Found %d design rule errors.\n"
msgstr "Vond %d fouten op ontwerp regels.\n"
-#: ../src/action.c:1882
+#: ../src/action.c:1880
#, c-format
msgid "Aborted DRC after %d design rule errors.\n"
msgstr "DRC afgebroken na %d fouten in ontwerp regels.\n"
-# FIXME: original string needs correction.
-# "Don't combine metric/imperial grids like that!\n"
-#: ../src/action.c:2252
-msgid "Don't combine metric/English grids like that!\n"
-msgstr "Combineer geen Engelse/metrische rasters op deze manier!\n"
-
-#: ../src/action.c:2361
+#: ../src/action.c:2303
msgid "Click on a connection"
msgstr "Klik op een verbinding"
-#: ../src/action.c:2865
-#: ../src/action.c:8000
+#: ../src/action.c:2828 ../src/action.c:7932
msgid "Click on an element"
msgstr "Klik op een element"
@@ -140,11 +120,11 @@ msgstr "Klik op een element"
#. * We deal with the case where name already exists in this
#. * function so the GUI doesn't need to deal with it
#.
-#: ../src/action.c:3316
+#: ../src/action.c:3277
msgid "Save Renumber Annotation File As ..."
msgstr "Sla het hernummer annotatie bestand op als ..."
-#: ../src/action.c:3317
+#: ../src/action.c:3278
msgid ""
"Choose a file to record the renumbering to.\n"
"This file may be used to back annotate the\n"
@@ -154,18 +134,16 @@ msgstr ""
"Dit bestand kan genruikt worden om de veranderingen\n"
"naar het schema over te brengen.\n"
-#: ../src/action.c:3342
-#: ../src/action.c:6147
-#: ../src/hid/gtk/gtkhid-main.c:1318
+#: ../src/action.c:3303 ../src/action.c:6078
msgid "File exists! Ok to overwrite?"
msgstr "Bestand bestaat! Ok om te overschrijven ?"
-#: ../src/action.c:3352
+#: ../src/action.c:3313
#, c-format
msgid "Could not open %s\n"
msgstr "Kan %s niet openen\n"
-#: ../src/action.c:3941
+#: ../src/action.c:3900
msgid ""
"Auto-placement can NOT be undone.\n"
"Do you want to continue anyway?\n"
@@ -173,64 +151,52 @@ msgstr ""
"Automatisch plaatsen kan NIET ongedaan worden.\n"
"Wil je evengoed toch door gaan?\n"
-#: ../src/action.c:4192
-#: ../src/action.c:4261
-#: ../src/action.c:4625
-#: ../src/action.c:4715
-#: ../src/action.c:4770
-#: ../src/action.c:4848
-#: ../src/action.c:4911
-#: ../src/action.c:4971
-#: ../src/action.c:5032
-#: ../src/action.c:5092
-#: ../src/action.c:5155
-#: ../src/action.c:5220
-#: ../src/action.c:5284
-#: ../src/action.c:5334
-#: ../src/action.c:6594
-#: ../src/action.c:8201
+#: ../src/action.c:4148 ../src/action.c:4215 ../src/action.c:4578
+#: ../src/action.c:4666 ../src/action.c:4720 ../src/action.c:4796
+#: ../src/action.c:4857 ../src/action.c:4915 ../src/action.c:4974
+#: ../src/action.c:5032 ../src/action.c:5093 ../src/action.c:5156
+#: ../src/action.c:5218 ../src/action.c:5266 ../src/action.c:6525
+#: ../src/action.c:8133
msgid "Select an Object"
msgstr "Selecteer een Object"
-#: ../src/action.c:4663
-#: ../src/action.c:5955
+#: ../src/action.c:4616 ../src/action.c:5890
msgid "Enter the layout name:"
msgstr "Voer de layout naam in:"
-#: ../src/action.c:4671
+#: ../src/action.c:4624
msgid "Enter the layer name:"
-msgstr "Voer de laagnaam in:"
+msgstr "Voer de laag naam in:"
-#: ../src/action.c:5444
-#: ../src/action.c:5630
+#: ../src/action.c:5374 ../src/action.c:5560
msgid "Enter pattern:"
msgstr "Voer het patroon in:"
-#: ../src/action.c:5515
+#: ../src/action.c:5447
msgid "Select the Element's Mark Location"
msgstr "Selecteer het lokatiemerk van het Element"
-#: ../src/action.c:5907
+#: ../src/action.c:5845
msgid "OK to override layout data?"
msgstr "OK om opmaak gegevens te overschrijven ?"
-#: ../src/action.c:5922
+#: ../src/action.c:5860
msgid "OK to override changes?"
msgstr "OK om wijzigingen door te voeren ?"
-#: ../src/action.c:5950
+#: ../src/action.c:5885
msgid "OK to clear layout data?"
msgstr "OK om opmaak gegevens te wissen ?"
-#: ../src/action.c:6113
+#: ../src/action.c:6044
msgid "Buffer has no elements!\n"
msgstr "Buffer heeft geen elementen!\n"
-#: ../src/action.c:6119
+#: ../src/action.c:6050
msgid "Save Paste Buffer As ..."
msgstr "Sla plak buffer op als ..."
-#: ../src/action.c:6120
+#: ../src/action.c:6051
msgid ""
"Choose a file to save the contents of the\n"
"paste buffer to.\n"
@@ -238,102 +204,105 @@ msgstr ""
"Kies een bestand om de inhoud van de\n"
"plak buffer in op te slaan.\n"
-#: ../src/action.c:6547
+#: ../src/action.c:6479
msgid "Nothing found under crosshair\n"
msgstr "Niets onder kruisdraad gevonden\n"
-#: ../src/action.c:6809
+#: ../src/action.c:6740
#, c-format
msgid "%s(): Flag \"%s\" is not valid\n"
msgstr "%s(): Vlag \"%s\" is niet geldig\n"
-#: ../src/action.c:6904
+#: ../src/action.c:6832
#, c-format
msgid "Could not open actions file \"%s\".\n"
msgstr "Kon aktiebestand \"%s\" niet openen.\n"
-#: ../src/action.c:7254
+#: ../src/action.c:7188
#, c-format
msgid "Cannot change attribute of %s - element not found\n"
msgstr "Kan attribuut van %s niet wijzigen - element niet gevonden\n"
#. error
-#: ../src/action.c:7322
+#: ../src/action.c:7256
msgid "Cannot fork!"
msgstr "Kan niet afsplitsen!"
-#: ../src/action.c:7470
+#: ../src/action.c:7402
#, c-format
msgid "%s(): Unable to determine temp directory name from the temp file\n"
-msgstr "%s(): Onmogelijk om de naam van de tijdelijke werkmap vast te stellen aan de hand van het tijdelijke bestand\n"
+msgstr ""
+"%s(): Onmogelijk om de naam van de tijdelijke werkmap vast te stellen aan "
+"de hand van het tijdelijke bestand\n"
-#: ../src/action.c:7493
+#: ../src/action.c:7425
#, c-format
msgid "Failed to unlink \"%s\"\n"
msgstr "Faalde om \"%s\" te ontkoppelen\n"
-#: ../src/action.c:7645
+#: ../src/action.c:7577
msgid "Enter dispersion:"
msgstr "Voer een verspreiding in:"
-#: ../src/action.c:7671
+#: ../src/action.c:7603
msgid "Click on a location"
msgstr "Klik op een locatie"
-#: ../src/action.c:7695
+#: ../src/action.c:7626
msgid "Bad syntax for Import(setnewpoint)"
msgstr "Slechte spelling voor Import(setnewpoint)"
-#: ../src/action.c:7781
-#: ../src/action.c:7843
+#: ../src/action.c:7712 ../src/action.c:7775
msgid "Could not create temp file"
msgstr "Kan geen tijdelijk bestand creeren"
-#: ../src/action.c:7897
+#: ../src/action.c:7829
#, c-format
msgid "Unknown import mode: %s\n"
msgstr "Onbekende importmodus: %s\n"
-#: ../src/action.c:7941
+#: ../src/action.c:7873
msgid "This GUI doesn't support Attribute Editing\n"
msgstr "Deze GUI ondersteund geen Attribuut bewerkingen\n"
-#: ../src/action.c:7968
+#: ../src/action.c:7900
#, c-format
msgid "No layer named %s\n"
msgstr "Geen laag genaamd %s\n"
-#: ../src/action.c:7994
+#: ../src/action.c:7926
msgid "Too many elements selected\n"
msgstr "Te veel elementen geselecteerd\n"
-#: ../src/action.c:8007
+#: ../src/action.c:7939
msgid "No element found there\n"
msgstr "Geen element hier gevonden\n"
-#: ../src/action.c:8111
+#: ../src/action.c:8043
msgid "Click on Object or Flip Point"
msgstr "Klik op Object of Draaipunt"
-#: ../src/action.c:8183
+#: ../src/action.c:8115
msgid "Select item to use attributes from"
msgstr "Selecteer een item om attributen van te gebruiken"
-#: ../src/autoplace.c:776
-#: ../src/rats.c:746
-#: ../src/rats.c:840
+#: ../src/autoplace.c:770 ../src/rats.c:746 ../src/rats.c:840
msgid "Can't add rat lines because no netlist is loaded.\n"
msgstr "Kan geen ratlijnen toevogen omdat er geen netlijst geladen is.\n"
-#: ../src/autoplace.c:783
+#: ../src/autoplace.c:777
msgid "No elements selected to autoplace.\n"
msgstr "Geen elementen geselecteerd voor automatisch plaatsen.\n"
-#: ../src/buffer.c:933
+#: ../src/autoroute.c:4893
+msgid "Autorouting tracks"
+msgstr "Autorouting printsporen"
+
+#: ../src/buffer.c:872
msgid "Error! Buffer doesn't contain a single element\n"
msgstr "Fout! Buffer bevat geen enkel element\n"
-#: ../src/buffer.c:1154
+#: ../src/buffer.c:1047
msgid ""
"Warning: All of the pads are on the opposite\n"
"side from the component - that's probably not what\n"
@@ -343,7 +312,7 @@ msgstr ""
"zijde van het component - dat is waarschijnlijk niet wat\n"
"U wilde\n"
-#: ../src/buffer.c:1185
+#: ../src/buffer.c:1126
msgid ""
"There was nothing to convert!\n"
"Elements must have some silk, pads or pins.\n"
@@ -351,7 +320,7 @@ msgstr ""
"Er was niets te converteren!\n"
"Elementen moeten opdruk, pads of pennen hebben.\n"
-#: ../src/buffer.c:1190
+#: ../src/buffer.c:1131
msgid ""
"There were polygons that can't be made into pins!\n"
"So they were not included in the element\n"
@@ -359,91 +328,118 @@ msgstr ""
"Er waren polygons die niet tot pen gemaakt kunnen worden !\n"
"Deze zijn niet in het element opgenomen\n"
-#: ../src/buffer.c:1494
+#: ../src/buffer.c:1432
msgid "You can't mirror a buffer that has elements!\n"
msgstr "Je kunt geen buffer spiegelen die elementen bevat!\n"
-#: ../src/buffer.c:1502
+#: ../src/buffer.c:1440
msgid "You can't mirror a buffer that has text!\n"
msgstr "je kunt geen buffer spiegelen die een tekst bevat!\n"
-#: ../src/change.c:753
+#: ../src/change.c:762
msgid ""
-"To change the clearance of objects in a polygon, change the objects, not the polygon.\n"
-"Hint: To set a minimum clearance for a group of objects, select them all then :MinClearGap(Selected,=10,mil)"
+"To change the clearance of objects in a polygon, change the objects, not the "
+"polygon.\n"
+"Hint: To set a minimum clearance for a group of objects, select them all "
+"then :MinClearGap(Selected,=10,mil)"
msgstr ""
-"Om de vrijloop van een objekt te wijzigen in een polygoon, wijzig de objekten, niet het polygoon.\n"
-"Hint: Om een minimum vrijloop in te stellen voor een groep van objekten, selecteer deze allemaal en dan :MinClearGap(Selected,=10,mil)"
+"Om de vrijloop van een objekt te wijzigen in een polygoon, wijzig de "
+"objekten, niet het polygoon.\n"
+"Hint: Om een minimum vrijloop in te stellen voor een groep van objekten, "
+"selecteer deze allemaal en dan :MinClearGap(Selected,=10,mil)"
-#: ../src/change.c:1044
+#: ../src/change.c:1053
#, c-format
msgid "Error: The name \"%s\" is not unique!\n"
msgstr "Fout: De naam \"%s\" is niet uniek!\n"
-#: ../src/change.c:2253
+#: ../src/change.c:2277
msgid "Linename:"
msgstr "Lijnnaam:"
-#: ../src/change.c:2258
+#: ../src/change.c:2282
msgid "Vianame:"
msgstr "Vianaam:"
-#: ../src/change.c:2263
+#: ../src/change.c:2287
#, c-format
msgid "%s Pin Name:"
-msgstr "%s Pennaam:"
+msgstr "%s Pen Naam:"
-#: ../src/change.c:2268
+#: ../src/change.c:2292
#, c-format
msgid "%s Pad Name:"
-msgstr "%s Padnaam:"
+msgstr "%s Pad Naam:"
-#: ../src/change.c:2278
+#: ../src/change.c:2302
msgid "Elementname:"
msgstr "Elementnaam:"
-#: ../src/create.c:251
-#, c-format
-msgid "Dropping via at (%d, %d) because it's hole would overlap with the via at (%d, %d)\n"
-msgstr "Laat via op (%d, %d) vallen omdat het gat de via op (%d, %d) bedekt\n"
+#: ../src/create.c:254
+msgid ""
+"%m+Dropping via at %$mD because it's hole would overlap with the via at %"
+"$mD\n"
+msgstr "%m+Laat via op %$mD vallen omdat het gat de via op %$mD bedekt\n"
-#: ../src/create.c:273
-#, c-format
-msgid "Mapped via drill hole to %.2f mils from %.2f mils per vendor table\n"
-msgstr "Opgezochte via boorgat naar %.2f mils vanaf %.2f mils uit de vendor tabel\n"
+#: ../src/create.c:275
+msgid "%m+Mapped via drill hole to %$mS from %$mS per vendor table\n"
+msgstr "%m+Opgezochte via boorgat naar %$mS vanaf %$mS uit de vendor tabel\n"
-#: ../src/create.c:291
-#, c-format
-msgid "Increased via thickness to %.2f mils to allow enough copper at (%.2f,%.2f).\n"
-msgstr "Vergrootte de via dikte naar %.2f mils om genoeg koper te hebben op (%.2f,%.2f).\n"
+#: ../src/create.c:293
+msgid "%m+Increased via thickness to %$mS to allow enough copper at %$mD.\n"
+msgstr ""
+"%m+Vergrootte de via dikte naar %$mS om genoeg koper te hebben op %$mD.\n"
-#: ../src/create.c:823
-#, c-format
-msgid "Did not map pin #%s (%s) drill hole because %6.2f mil is below the minimum allowed size\n"
-msgstr "Heb pen #%s (%s) boorgat niet opgezocht omdat %6.2f mil beneden de minimaal toeglaten afmeting is\n"
+#: ../src/create.c:812
+msgid ""
+"%m+Did not map pin #%s (%s) drill hole because %$mS is below the minimum "
+"allowed size\n"
+msgstr ""
+"%m+Heb pen #%s (%s) boorgat niet opgezocht omdat %$mS beneden de minimaal "
+"toeglaten afmeting is\n"
-#: ../src/create.c:831
-#, c-format
-msgid "Did not map pin #%s (%s) drill hole because %6.2f mil is above the maximum allowed size\n"
-msgstr "Heb pen #%s (%s) boorgat niet opgezocht omdat %6.2f mil boven de maximaal toegelaten afmeting is\n"
+#: ../src/create.c:818
+msgid ""
+"%m+Did not map pin #%s (%s) drill hole because %$mS is above the maximum "
+"allowed size\n"
+msgstr ""
+"%m+Heb pen #%s (%s) boorgat niet opgezocht omdat %$mS boven de maximaal "
+"toegelaten afmeting is\n"
-#: ../src/create.c:840
-#, c-format
-msgid "Did not map pin #%s (%s) drill hole because %6.2f mil does not leave enough copper\n"
-msgstr "Heb pen #%s (%s) boorgat niet opgezocht omdat %6.2f mil laat niet genoeg koper over\n"
+#: ../src/create.c:825
+msgid ""
+"%m+Did not map pin #%s (%s) drill hole because %$mS does not leave enough "
+"copper\n"
+msgstr ""
+"%m+Heb pen #%s (%s) boorgat niet opgezocht omdat %$mS laat niet genoeg koper "
+"over\n"
-#: ../src/create.c:854
-#, c-format
-msgid "Mapped pin drill hole to %.2f mils from %.2f mils per vendor table\n"
-msgstr "Opgezochte pen boorgat naar %.2f mils vanaf %.2f mils uit de vendor tabel\n"
+#: ../src/create.c:837
+msgid "%m+Mapped pin drill hole to %$mS from %$mS per vendor table\n"
+msgstr "%m+Opgezochte pen boorgat naar %$mS vanaf %$mS uit de vendor tabel\n"
-#: ../src/create.c:959
+#: ../src/create.c:942
#, c-format
msgid "Can't find font-symbol-file '%s'\n"
msgstr "Kan font-symbol-file '%s' niet vinden\n"
-#: ../src/error.c:109
-#: ../src/error.c:113
+#: ../src/crosshair.c:763
+msgid ""
+"WARNING: A plugin is using the deprecated API HideCrosshair().\n"
+" This API may be removed in a future release of PCB.\n"
+msgstr ""
+"WAARSCHUWING: Een plugin gebruikt de vervallen API HideCrosshair().\n"
+" Deze API kan verwijderd worden in een toekomstige uitgave van PCB.\n"
+
+#: ../src/crosshair.c:778
+msgid ""
+"WARNING: A plugin is using the deprecated API RestoreCrosshair().\n"
+" This API may be removed in a future release of PCB.\n"
+msgstr ""
+"WAARSCHUWING: Een plugin gebruikt de vervallen API RestoreCrosshair().\n"
+" Deze API kan verwijderd worden in een toekomstige uitgave van PCB.\n"
+
+#: ../src/error.c:109 ../src/error.c:113
#, c-format
msgid ""
"Can't open file\n"
@@ -454,8 +450,7 @@ msgstr ""
" '%s'\n"
"fopen() retourneerde: '%s'\n"
-#: ../src/error.c:129
-#: ../src/error.c:133
+#: ../src/error.c:129 ../src/error.c:133
#, c-format
msgid ""
"Can't execute command\n"
@@ -464,10 +459,9 @@ msgid ""
msgstr ""
"Kan opdracht niet uitvoeren\n"
" '%s'\n"
-"popen() retourneerdd: '%s'\n"
+"popen() retourneerde: '%s'\n"
-#: ../src/error.c:149
-#: ../src/error.c:153
+#: ../src/error.c:149 ../src/error.c:153
#, c-format
msgid ""
"Can't scan directory\n"
@@ -478,8 +472,7 @@ msgstr ""
" '%s'\n"
"opendir() retourneerde: '%s'\n"
-#: ../src/error.c:169
-#: ../src/error.c:173
+#: ../src/error.c:169 ../src/error.c:173
#, c-format
msgid ""
"Can't change working directory to\n"
@@ -490,58 +483,61 @@ msgstr ""
" '%s'\n"
"chdir() retourneerde: '%s'\n"
-#: ../src/file.c:226
+#: ../src/file.c:268
#, c-format
msgid "File '%s' exists, use anyway?"
msgstr "Bestand '%s' bestaat al, evengoed gebruiken?"
#. not used
#. CheckAndOpenFile deals with the case where fname already exists
-#: ../src/file.c:268
+#: ../src/file.c:310
msgid "Save Connection Data As ..."
msgstr "Sla Verbinding gegevens op als ..."
-#: ../src/file.c:269
+#: ../src/file.c:311
msgid "Choose a file to save all connection data to."
msgstr "Kies een bestand om alle verbindinggegevens op te slaan."
-#: ../src/file.c:386
+#: ../src/file.c:431
#, c-format
msgid "File '%s' has no font information, using default font\n"
-msgstr "Bestand '%s' heeft geen lettertype informatie, gebruik standaard lettertype\n"
+msgstr ""
+"Bestand '%s' heeft geen lettertype informatie, gebruik standaard lettertype\n"
-#: ../src/file.c:992
+#: ../src/file.c:1022
#, c-format
msgid "Trying to save your layout in '%s'\n"
msgstr "Probeer jouw opmaak op te slaan in '%s'\n"
# FIXME: is this an Error: or a Warning: ?
-#: ../src/file.c:1156
-msgid "LoadNewlibFootprintsFromDir: Could not determine initial working directory\n"
+#: ../src/file.c:1186
+msgid ""
+"LoadNewlibFootprintsFromDir: Could not determine initial working directory\n"
msgstr "LoadNewlibFootprintsFromDir: Kon geen initieele werkmap vaststellen\n"
# FIXME: is this an Error: or a Warning: ?
-#: ../src/file.c:1174
-msgid "LoadNewlibFootprintsFromDir: Could not determine new working directory\n"
+#: ../src/file.c:1204
+msgid ""
+"LoadNewlibFootprintsFromDir: Could not determine new working directory\n"
msgstr "LoadNewlibFootprintsFromDir: Kon geen nieuwe werkmap vaststellen\n"
# FIXME: is this an Error: or a Warning: ?
-#: ../src/file.c:1281
+#: ../src/file.c:1312
msgid "ParseLibraryTree: Could not determine initial working directory\n"
-msgstr "ParseLibraryTree: Kon geen initieele erkmap vaststellen\n"
+msgstr "ParseLibraryTree: Kon geen initieele werkmap vaststellen\n"
# FIXME: is this an Error: or a Warning: ?
-#: ../src/file.c:1316
+#: ../src/file.c:1347
msgid "ParseLibraryTree: Could not determine new working directory\n"
msgstr "ParseLibraryTree: Kon geen nieuwe werkmap vaststellen\n"
#. nothing to do
-#: ../src/file.c:1499
+#: ../src/file.c:1530
#, c-format
msgid "Importing PCB netlist %s\n"
msgstr "Importeer PCB netlijst %s\n"
-#: ../src/file.c:1537
+#: ../src/file.c:1568
#, c-format
msgid ""
"Line length (%i) exceeded in netlist file.\n"
@@ -550,76 +546,74 @@ msgstr ""
"Lijn lengte (%i) overschreden in netlijst bestand.\n"
"toegevoegde karakters worden genegeerd.\n"
-#: ../src/file.c:1591
+#: ../src/file.c:1622
msgid "Empty netlist file!\n"
msgstr "Leeg netlijst bestand!\n"
-#: ../src/file.c:1632
+#: ../src/file.c:1663
#, c-format
msgid "Importing edif netlist %s\n"
msgstr "Importeer edif netlijst %s\n"
-#: ../src/find.c:248
-#, c-format
-msgid "near (%.*f, %.*f)\n"
-msgstr "bij (%.*f, %.*f)\n"
+#: ../src/find.c:235
+msgid "%m+near %$mD\n"
+msgstr "%m+bij %$mD\n"
-#: ../src/find.c:256
+#: ../src/find.c:243
#, c-format
msgid "WARNING! Design Rule error - %s\n"
msgstr "WAARSCHUWING! Ontwerp Regel fout - %s\n"
-#: ../src/find.c:257
-#, c-format
-msgid "near location (%.*f, %.*f)\n"
-msgstr "nabij locatie (%.*f, %.*f)\n"
+#: ../src/find.c:244
+msgid "%m+near location %$mD\n"
+msgstr "%m+nabij locatie %$mD\n"
#.
#. * message when asked about continuing DRC checks after next
#. * violation is found.
#.
-#: ../src/find.c:266
+#: ../src/find.c:253
msgid "Press Next to continue DRC checking"
msgstr "Druk op Volgende om DRC controle voor te zetten"
-#: ../src/find.c:267
+#: ../src/find.c:254
msgid "Next"
msgstr "Volgende"
-#: ../src/find.c:268
+#: ../src/find.c:255
msgid "Cancel"
msgstr "Afbreken"
-#: ../src/find.c:947
+#: ../src/find.c:937
#, c-format
msgid "bad layer number %d max_copper_layer=%d in find.c\n"
msgstr "slecht laag nummer %d max_copper_layer=%d in find.c\n"
-#: ../src/find.c:994
+#: ../src/find.c:984
msgid "WARNING: Hole too close to pin.\n"
msgstr "WAARSCHUWING: Gat te dicht bij pen.\n"
-#: ../src/find.c:996
+#: ../src/find.c:986
msgid "WARNING: Hole too close to via.\n"
msgstr "WAARSCHUWING: Gat te dicht bij via.\n"
-#: ../src/find.c:1060
+#: ../src/find.c:1050
msgid "WARNING: Hole too close to line.\n"
msgstr "WAARSCHUWING: Gat te dicht bij lijn.\n"
-#: ../src/find.c:1080
+#: ../src/find.c:1070
msgid "WARNING: Hole too close to pad.\n"
msgstr "WAARSCHUWING: Gat te dicht bij pad.\n"
-#: ../src/find.c:1100
+#: ../src/find.c:1090
msgid "WARNING: Hole touches arc.\n"
msgstr "WAARSCHUWING: Gat raakt boog.\n"
-#: ../src/find.c:3664
+#: ../src/find.c:3552
msgid "Potential for broken trace"
msgstr "Mogelijk gebroken spoor"
-#: ../src/find.c:3665
+#: ../src/find.c:3553
msgid ""
"Insufficient overlap between objects can lead to broken tracks\n"
"due to registration errors with old wheel style photo-plotters."
@@ -627,45 +621,44 @@ msgstr ""
"Onvoldoende overlapping tussen objecten kan leiden tot gebroken sporen\n"
"door de registratie fouten met oude wiel stijl foto-plotters."
-#: ../src/find.c:3722
+#: ../src/find.c:3605
msgid "Copper areas too close"
msgstr "Kopergebieden te dicht bijeen"
-#: ../src/find.c:3723
-#: ../src/find.c:3867
+#: ../src/find.c:3606 ../src/find.c:3746
msgid ""
"Circuits that are too close may bridge during imaging, etching,\n"
"plating, or soldering processes resulting in a direct short."
msgstr ""
-"Circuits die te dicht bijeen zijn kunnen bruggen vormen tijdens belichten, etsen,\n"
+"Circuits die te dicht bijeen zijn kunnen bruggen vormen tijdens belichten, "
+"etsen,\n"
"beplaten, of soldeer processen resulterend in een directe kortsluiting."
-#: ../src/find.c:3812
+#: ../src/find.c:3691
msgid "Line with insufficient clearance inside polygon\n"
msgstr "Lijn met onvoldoende vrijloop binnen polygoon\n"
-#: ../src/find.c:3821
+#: ../src/find.c:3700
msgid "Arc with insufficient clearance inside polygon\n"
msgstr "Boog met onvoldoende vrijloop binnen polygoon\n"
-#: ../src/find.c:3831
+#: ../src/find.c:3710
msgid "Pad with insufficient clearance inside polygon\n"
msgstr "Pad met onvoldoende vrijloop binnen polygoon\n"
-#: ../src/find.c:3840
+#: ../src/find.c:3719
msgid "Pin with insufficient clearance inside polygon\n"
msgstr "Pen met onvoldoende vrijloop binnen polygoon\n"
-#: ../src/find.c:3849
+#: ../src/find.c:3728
msgid "Via with insufficient clearance inside polygon\n"
msgstr "Via met onvoldoende vrijloop binnen polygoon\n"
-#: ../src/find.c:3993
+#: ../src/find.c:3870
msgid "Line width is too thin"
msgstr "Lijn wijdte is te dun"
-#: ../src/find.c:3994
-#: ../src/find.c:4038
+#: ../src/find.c:3871 ../src/find.c:3913
msgid ""
"Process specifications dictate a minimum feature-width\n"
"that can reliably be reproduced"
@@ -675,16 +668,15 @@ msgstr ""
# FIXME: original string has room for improvement.
# "Arc width is too small"
-#: ../src/find.c:4037
+#: ../src/find.c:3912
msgid "Arc width is too thin"
msgstr "Boogwijdte is te dun"
-#: ../src/find.c:4082
+#: ../src/find.c:3955
msgid "Pin annular ring too small"
msgstr "Pen ring is te smal"
-#: ../src/find.c:4083
-#: ../src/find.c:4205
+#: ../src/find.c:3956 ../src/find.c:4072
msgid ""
"Annular rings that are too small may erode during etching,\n"
"resulting in a broken connection"
@@ -692,22 +684,22 @@ msgstr ""
"Ringen die te smal zijn kunnen eroderen tijdens het etsen,\n"
"resulterend in een verbroken verbinding"
-#: ../src/find.c:4116
+#: ../src/find.c:3987
msgid "Pin drill size is too small"
msgstr "Pen boordiameter is te smal"
-#: ../src/find.c:4117
-#: ../src/find.c:4239
+#: ../src/find.c:3988 ../src/find.c:4104
msgid "Process rules dictate the minimum drill size which can be used"
-msgstr "Proces regels dicteren een minimum boordiameter die gebruikt kan worden"
+msgstr ""
+"Proces regels dicteren een minimum boordiameter die gebruikt kan worden"
# FIXME: original string has room for improvement.
# "Pad is too small"
-#: ../src/find.c:4159
+#: ../src/find.c:4028
msgid "Pad is too thin"
msgstr "Pad is te dun"
-#: ../src/find.c:4160
+#: ../src/find.c:4029
msgid ""
"Pads which are too thin may erode during etching,\n"
"resulting in a broken or unreliable connection"
@@ -715,21 +707,21 @@ msgstr ""
"Pads die te dun zijn kunnen eroderen tijdens het etsen,\n"
"resulerend in een onbetrouwbare verbinding"
-#: ../src/find.c:4204
+#: ../src/find.c:4071
msgid "Via annular ring too small"
msgstr "Via ring te smal"
-#: ../src/find.c:4238
+#: ../src/find.c:4103
msgid "Via drill size is too small"
msgstr "Via boordiameter is te klein"
# FIXME: original string has room for improvement.
# "Silk line is too small"
-#: ../src/find.c:4286
+#: ../src/find.c:4148
msgid "Silk line is too thin"
msgstr "Opdruklijn is te dun"
-#: ../src/find.c:4287
+#: ../src/find.c:4149
msgid ""
"Process specifications dictate a minimum silkscreen feature-width\n"
"that can reliably be reproduced"
@@ -739,12 +731,12 @@ msgstr ""
# FIXME: original string has room for improvement.
# "Element %s has %i silk lines which are too small"
-#: ../src/find.c:4341
+#: ../src/find.c:4201
#, c-format
msgid "Element %s has %i silk lines which are too thin"
msgstr "Element %s heeft %i opdruklijnen welke te dun zijn"
-#: ../src/find.c:4352
+#: ../src/find.c:4212
msgid ""
"Process specifications dictate a minimum silkscreen\n"
"feature-width that can reliably be reproduced"
@@ -752,12 +744,12 @@ msgstr ""
"Proces specificaties dicteren een minimum opdruk wijdte\n"
"die betrouwbaar kan worden gereproduceerd"
-#: ../src/find.c:4392
+#: ../src/find.c:4250
#, c-format
msgid "Warning: %d pad%s the nopaste flag set.\n"
msgstr "Waarschuwing: %d pad%s de geen-pasta flag gezet.\n"
-#: ../src/find.c:4489
+#: ../src/find.c:4347
#, c-format
msgid "Internal error in BuildObjectList: unknown object type %i\n"
msgstr "Interne fout in BuildObjectList: onbekend object type %i\n"
@@ -767,173 +759,297 @@ msgstr "Interne fout in BuildObjectList: onbekend object type %i\n"
msgid "ERROR! Invalid action name, action \"%s\" not registered.\n"
msgstr "FOUT! Ongeldige aktienaam, aktie \"%s\" is niet geregistreerd.\n"
-#: ../src/hid/common/actions.c:315
+#: ../src/hid/common/actions.c:316
#, c-format
msgid "Syntax error: %s\n"
msgstr "Spelfout: %s\n"
-#: ../src/hid/common/actions.c:316
+#: ../src/hid/common/actions.c:317
msgid " expected: Action(arg1, arg2)"
msgstr " verwachtte: Action(arg1, arg2)"
-#: ../src/hid/common/hidnogui.c:339
+#: ../src/hid/common/hidnogui.c:361
msgid "OK to lose data ?"
msgstr "OK om gegevens te verliezen ?"
-#: ../src/hid/gerber/gerber.c:160
-msgid "Error, too many apertures needed for Gerber file.\n"
-msgstr "Fout, te veel openingen nodig voor Gerber bestand.\n"
+#: ../src/hid/gtk/ghid-cell-renderer-visibility.c:236
+msgid "Visibility state"
+msgstr "Zichtbaarheid staat"
+
+#: ../src/hid/gtk/ghid-cell-renderer-visibility.c:237
+msgid "Visibility of the layer"
+msgstr "Zichtbaarheid van de laag"
+
+#: ../src/hid/gtk/ghid-cell-renderer-visibility.c:242
+#: ../src/hid/gtk/ghid-cell-renderer-visibility.c:243
+msgid "Layer color"
+msgstr "Laag kleur"
+
+#: ../src/hid/gtk/ghid-cell-renderer-visibility.c:257
+msgid "toggled"
+msgstr "geschakeld"
+
+#: ../src/hid/gtk/ghid-coord-entry.c:87
+msgid "Change Units"
+msgstr "Verander Eenheden"
+
+#: ../src/hid/gtk/ghid-main-menu.c:117
+#, c-format
+msgid ""
+"Don't know how to parse \"%s\" as an accelerator in the menu resource file.\n"
+msgstr ""
+"Weet niet hoe \"%s\" te parsen als een versneller in het menu bron bestand.\n"
-#: ../src/hid/gtk/gtkhid-main.c:86
+#: ../src/hid/gtk/ghid-main-menu.c:123
+msgid ""
+"Format is:\n"
+"modifiers<Key>k\n"
+"where \"modifiers\" is a space separated list of key modifiers\n"
+"and \"k\" is the name of the key.\n"
+"Allowed modifiers are:\n"
+" Ctrl\n"
+" Shift\n"
+" Alt\n"
+"Please note that case is important.\n"
+msgstr ""
+"Formaat is:\n"
+"modifiers<Key>k\n"
+"waar \"modifiers\" een spatie gescheiden lijst van toets modifiers is\n"
+"en \"k\" is de naam van de toets.\n"
+"Toegestane modifiers zijn:\n"
+" Ctrl\n"
+" Shift\n"
+" Alt\n"
+"Merk op dat hoofdletters belangrijk zijn.\n"
+
+#: ../src/hid/gtk/ghid-main-menu.c:158
+#, c-format
+msgid ""
+"Duplicate accelerator found: \"%s\"\n"
+"The second occurance will be dropped\n"
+msgstr ""
+"Dubbele versneller gevonden: \"%s\"\n"
+"De tweede gebeurtenis wordt genegeerd\n"
+
+#. if we got this far it is supposed to be an X
+#. * resource. For now ignore it and warn the user
+#: ../src/hid/gtk/ghid-main-menu.c:335
+#, c-format
+msgid ""
+"The gtk gui currently ignores \"%s\"as part of a menuitem resource.\n"
+"Feel free to provide patches\n"
+msgstr ""
+"De huidige gtk gui negeert \"%s\" als deel van menuitem bron.\n"
+"Voel U niet belemmert om verbeterstukjes te geven.\n"
+
+#: ../src/hid/gtk/ghid-main-menu.c:369
+#, c-format
+msgid ""
+"GTK GUI currently ignores \"%s\" in the menu\n"
+"resource file.\n"
+msgstr ""
+"GTK GUI negeert nu \"%s\" in het menu\n"
+"bron bestand.\n"
+
+#: ../src/hid/gtk/ghid-route-style-selector.c:123
+msgid "New Style"
+msgstr "Nieuwe Stijl"
+
+#. Build dialog
+#: ../src/hid/gtk/ghid-route-style-selector.c:169
+msgid "Edit Route Styles"
+msgstr "Bewerk Route Stijlen"
+
+#: ../src/hid/gtk/ghid-route-style-selector.c:175
+msgid "Edit Style:"
+msgstr "Bewerk Stijl:"
+
+#: ../src/hid/gtk/ghid-route-style-selector.c:195
+msgid "Route Style Data"
+msgstr "Route Stijl Gegevens"
+
+#: ../src/hid/gtk/ghid-route-style-selector.c:199
+msgid "Name:"
+msgstr "Naam:"
+
+#: ../src/hid/gtk/ghid-route-style-selector.c:207
+msgid "Line width:"
+msgstr "Lijn wijdte:"
+
+#: ../src/hid/gtk/ghid-route-style-selector.c:210
+msgid "Via hole size:"
+msgstr "Via gat maat:"
+
+#: ../src/hid/gtk/ghid-route-style-selector.c:213
+msgid "Via ring size:"
+msgstr "Via ring maat:"
+
+#: ../src/hid/gtk/ghid-route-style-selector.c:216
+msgid "Clearance:"
+msgstr "Vrijloop:"
+
+#: ../src/hid/gtk/ghid-route-style-selector.c:220
+msgid "Set as Default"
+msgstr "Stel in als Standaard"
+
+#: ../src/hid/gtk/ghid-route-style-selector.c:223
+msgid "Save route style settings as default"
+msgstr "Sla route stijl op als standaard"
+
+#: ../src/hid/gtk/ghid-route-style-selector.c:229
+msgid "New (this session only)"
+msgstr "Nieuw (alleen deze sessie)"
+
+#. Create edit button
+#: ../src/hid/gtk/ghid-route-style-selector.c:375
+msgid "Route Styles"
+msgstr "Route Stijlen"
+
+#: ../src/hid/gtk/gtkhid-main.c:161
msgid "Various zoom factor changes."
msgstr "Verschillende zoomfactoren gewijzigd."
-#: ../src/hid/gtk/gtkhid-main.c:339
+#: ../src/hid/gtk/gtkhid-main.c:244
#, c-format
msgid "ghid_calibrate() -- not implemented\n"
msgstr "ghid_calibrate() -- niet geïmplementeerd\n"
-#: ../src/hid/gtk/gtkhid-main.c:689
-#: ../src/hid/gtk/gui-dialog.c:165
+#: ../src/hid/gtk/gtkhid-main.c:572 ../src/hid/gtk/gui-dialog.c:172
msgid "_Cancel"
msgstr "Afbreken"
-#: ../src/hid/gtk/gtkhid-main.c:690
-#: ../src/hid/gtk/gui-dialog.c:169
+#: ../src/hid/gtk/gtkhid-main.c:573 ../src/hid/gtk/gui-dialog.c:176
msgid "_OK"
msgstr "_OK"
-#: ../src/hid/gtk/gtkhid-main.c:1095
+#: ../src/hid/gtk/gtkhid-main.c:727
+msgid "Progress"
+msgstr "Voortgang"
+
+#: ../src/hid/gtk/gtkhid-main.c:1097
msgid "Tell the user about this version of PCB."
msgstr "Vertel de gebruiker over deze versie van PCB."
-#: ../src/hid/gtk/gtkhid-main.c:1117
+#: ../src/hid/gtk/gtkhid-main.c:1119
msgid "Get a coordinate."
msgstr "Verkrijg een coordinaat."
-#: ../src/hid/gtk/gtkhid-main.c:1184
+#: ../src/hid/gtk/gtkhid-main.c:1187
#, c-format
msgid "LayerGroupsChanged -- not implemented\n"
msgstr "LayerGroupsChanged -- niet geïmplementeerd\n"
#. in case we have a dialog for loading a netlist file
-#: ../src/hid/gtk/gtkhid-main.c:1228
-#: ../src/hid/gtk/gui-dialog.c:316
+#: ../src/hid/gtk/gtkhid-main.c:1231 ../src/hid/gtk/gui-dialog.c:323
msgid "Load netlist file"
msgstr "Laad netlijst bestand"
#. in case we have a dialog for loading a footprint file
-#: ../src/hid/gtk/gtkhid-main.c:1234
-#: ../src/hid/gtk/gui-dialog.c:289
+#: ../src/hid/gtk/gtkhid-main.c:1237 ../src/hid/gtk/gui-dialog.c:296
msgid "Load element to buffer"
msgstr "Laad element naar buffer"
-#: ../src/hid/gtk/gtkhid-main.c:1240
-#: ../src/hid/gtk/gui-dialog.c:303
+#: ../src/hid/gtk/gtkhid-main.c:1243 ../src/hid/gtk/gui-dialog.c:310
msgid "Load layout file to buffer"
msgstr "Laad opmaak bestand naar buffer"
#. in case we have a dialog for loading a layout file
-#: ../src/hid/gtk/gtkhid-main.c:1246
-#: ../src/hid/gtk/gui-dialog.c:302
+#: ../src/hid/gtk/gtkhid-main.c:1249 ../src/hid/gtk/gui-dialog.c:309
msgid "Load layout file"
msgstr "Laad opmaak bestand"
-#: ../src/hid/gtk/gtkhid-main.c:1272
+#: ../src/hid/gtk/gtkhid-main.c:1275
msgid "Save layout and/or element data to a user-selected file."
-msgstr "Sla opmaak en/of element data op naar een door de gebruiker geselecteerd bestand."
+msgstr ""
+"Sla opmaak en/of element data op naar een door de gebruiker geselecteerd "
+"bestand."
-#: ../src/hid/gtk/gtkhid-main.c:1303
+#: ../src/hid/gtk/gtkhid-main.c:1306
msgid "Save element as"
msgstr "Sla element op als"
-#: ../src/hid/gtk/gtkhid-main.c:1305
+#: ../src/hid/gtk/gtkhid-main.c:1308
msgid "Save layout as"
msgstr "Sla opmaak op als "
-#: ../src/hid/gtk/gtkhid-main.c:1321
-#, c-format
-msgid "Overwriting %s\n"
-msgstr "Overschrijf %s\n"
-
-#: ../src/hid/gtk/gtkhid-main.c:1364
+#: ../src/hid/gtk/gtkhid-main.c:1350
msgid "Swaps the side of the board you're looking at."
msgstr "Verwissel de zijde van het bord waar U naar kijkt."
-#: ../src/hid/gtk/gtkhid-main.c:1489
+#: ../src/hid/gtk/gtkhid-main.c:1438
msgid "Print the layout."
msgstr "Druk de opmaak af."
-#: ../src/hid/gtk/gtkhid-main.c:1514
+#: ../src/hid/gtk/gtkhid-main.c:1463
msgid "Can't find a suitable printer HID"
msgstr "Kan geen bruikbare printer HID vinden"
-#: ../src/hid/gtk/gtkhid-main.c:1524
+#: ../src/hid/gtk/gtkhid-main.c:1473
msgid "Can't print empty layout"
msgstr "Kan geen lege laag printen"
-#: ../src/hid/gtk/gtkhid-main.c:1534
+#: ../src/hid/gtk/gtkhid-main.c:1483
msgid "Enter Values here:"
msgstr "Voer waarden in:"
-#: ../src/hid/gtk/gtkhid-main.c:1536
+#: ../src/hid/gtk/gtkhid-main.c:1485
msgid "x-calibration"
msgstr "x-calibratie"
-#: ../src/hid/gtk/gtkhid-main.c:1536
+#: ../src/hid/gtk/gtkhid-main.c:1485
msgid "X scale for calibrating your printer"
msgstr "X schaal om de afdrukker te kalibreren"
-#: ../src/hid/gtk/gtkhid-main.c:1538
+#: ../src/hid/gtk/gtkhid-main.c:1487
msgid "y-calibration"
msgstr "y-calibratie"
-#: ../src/hid/gtk/gtkhid-main.c:1538
+#: ../src/hid/gtk/gtkhid-main.c:1487
msgid "Y scale for calibrating your printer"
msgstr "Y schaal om de afdrukker te kalibreren"
-#: ../src/hid/gtk/gtkhid-main.c:1547
+#: ../src/hid/gtk/gtkhid-main.c:1496
msgid "Calibrate the printer."
msgstr "Kalibreer de afdrukker."
-#: ../src/hid/gtk/gtkhid-main.c:1564
+#: ../src/hid/gtk/gtkhid-main.c:1513
msgid "Printer Calibration Values"
msgstr "Afdrukker kalibreer waarden"
-#: ../src/hid/gtk/gtkhid-main.c:1565
+#: ../src/hid/gtk/gtkhid-main.c:1514
msgid "Enter calibration values for your printer"
msgstr "Voer kalibreerwaarden in voor Uw afdrukker"
-#: ../src/hid/gtk/gtkhid-main.c:1584
+#: ../src/hid/gtk/gtkhid-main.c:1533
msgid "Can't export empty layout"
msgstr "Kan geen lege laag exporteren"
-#: ../src/hid/gtk/gtkhid-main.c:1617
+#: ../src/hid/gtk/gtkhid-main.c:1561
#, c-format
msgid "%g redraws per second\n"
msgstr "%g hertekenen per seconde\n"
-#: ../src/hid/gtk/gtkhid-main.c:1628
+#: ../src/hid/gtk/gtkhid-main.c:1572
msgid "Moves the pointer to the center of the window."
msgstr "Verplaats de aanwijzer naar het minden van het venster."
-#: ../src/hid/gtk/gtkhid-main.c:1696
+#: ../src/hid/gtk/gtkhid-main.c:1624
msgid "Move the cursor."
msgstr "Verplaats de aanwijzer."
-#: ../src/hid/gtk/gtkhid-main.c:1790
+#: ../src/hid/gtk/gtkhid-main.c:1708
msgid "Open various GUI windows."
msgstr "Open verschillende GUI vensters."
-#: ../src/hid/gtk/gtkhid-main.c:1866
+#: ../src/hid/gtk/gtkhid-main.c:1784
msgid "Set the default measurement units."
msgstr "Ste de standaard meetunits in."
-#: ../src/hid/gtk/gtkhid-main.c:1908
+#: ../src/hid/gtk/gtkhid-main.c:1831
msgid "Scroll the viewport."
msgstr "Verschuif het uitzicht."
-#: ../src/hid/gtk/gtkhid-main.c:1962
+#: ../src/hid/gtk/gtkhid-main.c:1881
msgid ""
"Start or stop panning (Mode = 1 to start, 0 to stop)\n"
"Optional thumb argument is ignored for now in gtk hid.\n"
@@ -941,15 +1057,17 @@ msgstr ""
"Start of stop schuiven (Modus = 1 om te starten, 0 om te stoppen)\n"
"Optioneel duimargument is voorlopig genegeerd in gtk hid.\n"
-#: ../src/hid/gtk/gtkhid-main.c:1990
+#: ../src/hid/gtk/gtkhid-main.c:1909
msgid ""
-"The gtk gui currently ignores the optional first argument to the Pan action.\n"
+"The gtk gui currently ignores the optional first argument to the Pan "
+"action.\n"
"Feel free to provide patches.\n"
msgstr ""
-"De huidige gtk gui negeert het optionele eerste argument van de schuif actie.\n"
+"De huidige gtk gui negeert het optionele eerste argument van de schuif "
+"actie.\n"
"Voel U niet belemmert om verbeterstukjes te geven.\n"
-#: ../src/hid/gtk/gtkhid-main.c:2016
+#: ../src/hid/gtk/gtkhid-main.c:1935
msgid ""
"Bring up the popup menu specified by @code{MenuName}.\n"
"If called by a mouse event then the mouse button number\n"
@@ -959,48 +1077,41 @@ msgstr ""
"Als door een muisgebeurtenis geroepen dan moet het muisknopnummer\n"
"gespecificeerd worden als tweede optionele argument."
-#: ../src/hid/gtk/gtkhid-main.c:2047
-#, c-format
-msgid "Popup(): malloc failed\n"
-msgstr "Popup(): malloc faalde\n"
-
-#: ../src/hid/gtk/gtkhid-main.c:2052
-#, c-format
-msgid "Loading popup \"%s\". Button = %u\n"
-msgstr "Laad opduikvenster \"%s\". Knop = %u\n"
-
-#: ../src/hid/gtk/gtkhid-main.c:2059
+#: ../src/hid/gtk/gtkhid-main.c:1959
#, c-format
msgid "The specified popup menu \"%s\" has not been defined.\n"
msgstr "Het gespecificeerde opduikmenu \"%s\" is niet gedefiniëerd.\n"
-#: ../src/hid/gtk/gtkhid-main.c:2076
+#: ../src/hid/gtk/gtkhid-main.c:1976
msgid "Asks user which schematics to import into PCB.\n"
msgstr "Vraag de gebruiker welke schema's geïmporteerd in PCB moeten worden.\n"
-#: ../src/hid/gtk/gtkhid-main.c:2097
+#: ../src/hid/gtk/gtkhid-main.c:1997
msgid "Load schematics"
msgstr "Laad schema's"
-#: ../src/hid/gtk/gtkhid-main.c:2127
+#: ../src/hid/gtk/gtkhid-main.c:2027
msgid "Click on a location to center"
msgstr "Klik op een locatie om te centreren"
-#: ../src/hid/gtk/gtkhid-main.c:2137
+#: ../src/hid/gtk/gtkhid-main.c:2037
msgid "Click on a place to pan"
msgstr "Klik op een plaats om te schuiven"
-#: ../src/hid/gtk/gtkhid-main.c:2147
+#: ../src/hid/gtk/gtkhid-main.c:2047
msgid "Click on a place to scroll"
msgstr "Klik op een plaats om te rollen"
-#: ../src/hid/gtk/gtkhid-main.c:2150
+#: ../src/hid/gtk/gtkhid-main.c:2050
msgid "Click on zoom focus"
msgstr "Klik op zoom focus"
#: ../src/hid/gtk/gui-command-window.c:80
-msgid "Common commands easily accessible via the gui may not be included here.\n"
-msgstr "Gemakkelijk bereikbare algemene opdrachten middels de gui zijn hier niet bijgesloten.\n"
+msgid ""
+"Common commands easily accessible via the gui may not be included here.\n"
+msgstr ""
+"Gemakkelijk bereikbare algemene opdrachten middels de gui zijn hier niet "
+"bijgesloten.\n"
#: ../src/hid/gtk/gui-command-window.c:82
msgid ""
@@ -1008,8 +1119,10 @@ msgid ""
"if preceded by a '+' or '-'. Where 'units' are indicated, use \n"
"'mil' or 'mm' otherwise PCB internal units will be used.\n"
msgstr ""
-"In de gebruikers opdrachten hieronder, kunnen 'size' waarden kunnen absoluut of relatief zijn\n"
-"als deze voorzien zijn van een '+' of '-'. Waar 'units' zijn aangegeven, gebruik \n"
+"In de gebruikers opdrachten hieronder, kunnen 'size' waarden kunnen absoluut "
+"of relatief zijn\n"
+"als deze voorzien zijn van een '+' of '-'. Waar 'units' zijn aangegeven, "
+"gebruik \n"
"'mil' of 'mm' anders worden interne PCB eenheden gebruikt.\n"
#: ../src/hid/gtk/gui-command-window.c:96
@@ -1041,25 +1154,30 @@ msgid "\tFlip elements to the opposite side of the board.\n"
msgstr "\tVerplaats elementen naar de andere zijde van het bord.\n"
#: ../src/hid/gtk/gui-command-window.c:131
-msgid "\tToggle, set or clear a thermal (on the current layer) to pins or vias.\n"
-msgstr "\tWissel, zet, of wis de thermal (op de huidige laag) naar pennen of vias.\n"
+msgid ""
+"\tToggle, set or clear a thermal (on the current layer) to pins or vias.\n"
+msgstr ""
+"\tWissel, zet, of wis de thermal (op de huidige laag) naar pennen of vias.\n"
#: ../src/hid/gtk/gui-command-window.c:135
-msgid "\tLoad a vendor file. If 'filename' omitted, pop up file select dialog.\n"
-msgstr "\tLaad een leverancier bestand. Als de 'bestandnaam' is weggelaten, toon een selectie venster.\n"
+msgid ""
+"\tLoad a vendor file. If 'filename' omitted, pop up file select dialog.\n"
+msgstr ""
+"\tLaad een leverancier bestand. Als de 'bestandnaam' is weggelaten, toon "
+"een selectie venster.\n"
-#: ../src/hid/gtk/gui-command-window.c:318
+#: ../src/hid/gtk/gui-command-window.c:316
msgid "PCB Command Entry"
msgstr "PCB Opdracht Invoer"
#. Make the command reference scrolled text view. Use high level
#. | utility functions in gui-utils.c
#.
-#: ../src/hid/gtk/gui-command-window.c:336
+#: ../src/hid/gtk/gui-command-window.c:334
msgid "Command Reference"
msgstr "Opdrachtreferentie"
-#: ../src/hid/gtk/gui-command-window.c:466
+#: ../src/hid/gtk/gui-command-window.c:459
msgid "Enter command:"
msgstr "Voer opdracht in:"
@@ -1079,20 +1197,16 @@ msgstr "Wissel venster opmaak voor een kleinere horizontale afmeting"
msgid "Alternate window layout to allow smaller vertical size"
msgstr "Wissel venster opmaak voor een kleinere verticale afmeting"
-#: ../src/hid/gtk/gui-config.c:903
-msgid "Put layout name on the window title bar"
-msgstr "Plaats de opmaak naam in de title van het venster"
-
-#: ../src/hid/gtk/gui-config.c:905
+#: ../src/hid/gtk/gui-config.c:900
msgid "Backups"
msgstr "Reserverkopie"
-#: ../src/hid/gtk/gui-config.c:909
+#: ../src/hid/gtk/gui-config.c:904
#, c-format
msgid "If layout is modified at exit, save into PCB.%i.save"
msgstr "Als bij het afsluiten de opmaak gewijzigd is, sla op in PCB.%i.save"
-#: ../src/hid/gtk/gui-config.c:912
+#: ../src/hid/gtk/gui-config.c:907
msgid ""
"Seconds between auto backups\n"
"(set to zero to disable auto backups)"
@@ -1100,110 +1214,87 @@ msgstr ""
"Seconden tussen automatisch reservekopie maken\n"
"(zet op nul om het maken van reservekopieen uit te schakelen)"
-#: ../src/hid/gtk/gui-config.c:915
+#: ../src/hid/gtk/gui-config.c:910
msgid "Misc"
msgstr "Div"
-#: ../src/hid/gtk/gui-config.c:919
+#: ../src/hid/gtk/gui-config.c:914
msgid "Number of commands to remember in the history list"
msgstr "Aantal opdrachten om te onthouden in de geschiedenis lijst"
-#: ../src/hid/gtk/gui-config.c:923
+#: ../src/hid/gtk/gui-config.c:918
msgid "Auto pan speed"
msgstr "Auto schuif snelheid"
-#: ../src/hid/gtk/gui-config.c:1021
-#: ../src/hid/gtk/gui-dialog-size.c:173
-#, c-format
-msgid "<b>%s</b> grid units are selected"
-msgstr "<b>%s</b> raster eenheden zijn geselecteerd"
-
-#: ../src/hid/gtk/gui-config.c:1022
-#: ../src/hid/gtk/gui-config.c:1186
-#: ../src/hid/gtk/gui-dialog-size.c:174
-msgid "mm"
-msgstr "mm"
-
-#: ../src/hid/gtk/gui-config.c:1022
-#: ../src/hid/gtk/gui-config.c:1186
-#: ../src/hid/gtk/gui-dialog-size.c:174
-msgid "mil"
-msgstr "mil"
-
#. ---- Board Size ----
-#: ../src/hid/gtk/gui-config.c:1032
+#: ../src/hid/gtk/gui-config.c:1007
msgid "Board Size"
msgstr "Printplaat Afmetingen"
-#: ../src/hid/gtk/gui-config.c:1048
+#: ../src/hid/gtk/gui-config.c:1021
msgid "Width"
msgstr "Breedte"
# FIXME: this should be changed to "Length" if and when 3D geometrical GUIs, 3D-exporters, 3D-printers emerge or are used.
-#: ../src/hid/gtk/gui-config.c:1055
+#: ../src/hid/gtk/gui-config.c:1026
msgid "Height"
msgstr "Hoogte"
-#: ../src/hid/gtk/gui-config.c:1059
+#: ../src/hid/gtk/gui-config.c:1029
msgid "Use this board size as the default for new layouts"
msgstr "Gebruik deze printplaat afmetingen als standaard voor nieuwe opmaken"
#. ---- Text Scale ----
-#: ../src/hid/gtk/gui-config.c:1062
+#: ../src/hid/gtk/gui-config.c:1032
msgid "Text Scale"
msgstr "Tekst Schaal"
#. ---- DRC Sizes ----
-#: ../src/hid/gtk/gui-config.c:1080
+#: ../src/hid/gtk/gui-config.c:1050
msgid "Design Rule Checking"
msgstr "Ontwerp Regel Controle"
-#: ../src/hid/gtk/gui-config.c:1095
+#: ../src/hid/gtk/gui-config.c:1063
msgid "Minimum copper spacing"
msgstr "Minimum koper afstand"
-#: ../src/hid/gtk/gui-config.c:1103
+#: ../src/hid/gtk/gui-config.c:1069
msgid "Minimum copper width"
msgstr "Minimum koper breedte"
-#: ../src/hid/gtk/gui-config.c:1111
+#: ../src/hid/gtk/gui-config.c:1075
msgid "Minimum touching copper overlap"
msgstr "Minimum overlap overlappend koper"
-#: ../src/hid/gtk/gui-config.c:1119
+#: ../src/hid/gtk/gui-config.c:1081
msgid "Minimum silk width"
msgstr "Minimum opdruk breedte"
-#: ../src/hid/gtk/gui-config.c:1127
+#: ../src/hid/gtk/gui-config.c:1087
msgid "Minimum drill diameter"
msgstr "Minimum boor diameter"
-#: ../src/hid/gtk/gui-config.c:1135
+#: ../src/hid/gtk/gui-config.c:1093
msgid "Minimum annular ring"
msgstr "Minimum annulaire ring"
-#: ../src/hid/gtk/gui-config.c:1140
+#: ../src/hid/gtk/gui-config.c:1098
msgid "Use DRC values as the default for new layouts"
msgstr "Gebruik DRC waarden als de standaard voor nieuwe opmaken"
-#: ../src/hid/gtk/gui-config.c:1185
-#, c-format
-msgid "Increment/Decrement values to use in <b>%s</b> units mode.\n"
-msgstr "Vergroot/Verklein waarden om in <b>%s</b> eenheden modus te gebruiken.\n"
-
-#: ../src/hid/gtk/gui-config.c:1197
+#: ../src/hid/gtk/gui-config.c:1137
msgid "Grid Increment/Decrement"
msgstr "Raster Vergroten/Verkleinen"
-#: ../src/hid/gtk/gui-config.c:1214
+#: ../src/hid/gtk/gui-config.c:1146
msgid "For 'g' and '<shift>g' grid change actions"
msgstr "Voor 'g' en '<shift>g' raster wijzig acties"
-#: ../src/hid/gtk/gui-config.c:1219
+#: ../src/hid/gtk/gui-config.c:1151
msgid "Size Increment/Decrement"
msgstr "Afmeting Vergroten/Verkleinen"
-#: ../src/hid/gtk/gui-config.c:1236
+#: ../src/hid/gtk/gui-config.c:1160
msgid ""
"For 's' and '<shift>s' size change actions on lines,\n"
"pads, pins and text.\n"
@@ -1213,19 +1304,19 @@ msgstr ""
"pads, pennen en tekst.\n"
"Gebruik '<ctrl>s' en '<shift><ctrl>s' voor boorgaten."
-#: ../src/hid/gtk/gui-config.c:1242
+#: ../src/hid/gtk/gui-config.c:1166
msgid "Line Increment/Decrement"
msgstr "Lijn Vergroten/Verkleinen"
-#: ../src/hid/gtk/gui-config.c:1261
+#: ../src/hid/gtk/gui-config.c:1175
msgid "For 'l' and '<shift>l' routing line width change actions"
msgstr "Voor 'l' en '<shift>l' routing lijn breedte wijzig acties"
-#: ../src/hid/gtk/gui-config.c:1265
+#: ../src/hid/gtk/gui-config.c:1179
msgid "Clear Increment/Decrement"
msgstr "Wis Vergroten/Verkleinen"
-#: ../src/hid/gtk/gui-config.c:1285
+#: ../src/hid/gtk/gui-config.c:1188
msgid ""
"For 'k' and '<shift>k' line clearance inside polygon size\n"
"change actions"
@@ -1233,19 +1324,19 @@ msgstr ""
"Voor 'k' en '<shift>k' lijn vrijloop binnen polygoon afmeting\n"
"wijzig acties"
-#: ../src/hid/gtk/gui-config.c:1310
+#: ../src/hid/gtk/gui-config.c:1212
msgid "Element Directories"
msgstr "Element bestandsmappen"
-#: ../src/hid/gtk/gui-config.c:1316
+#: ../src/hid/gtk/gui-config.c:1218
msgid "<small>Enter a \""
msgstr "<small>Voer een \""
-#: ../src/hid/gtk/gui-config.c:1357
+#: ../src/hid/gtk/gui-config.c:1259
msgid "<h>Layer Names\n"
msgstr "<h>Laag Namen\n"
-#: ../src/hid/gtk/gui-config.c:1358
+#: ../src/hid/gtk/gui-config.c:1260
msgid ""
"You may enter layer names for the layers drawn on the screen.\n"
"The special 'component side' and 'solder side' are layers which\n"
@@ -1257,11 +1348,11 @@ msgstr ""
"worden afgedrukt, dus deze moeten minstens een van de andere lagen die\n"
"op het scherm getekend zijn in hun groep hebben\n"
-#: ../src/hid/gtk/gui-config.c:1363
+#: ../src/hid/gtk/gui-config.c:1265
msgid "<h>Layer Groups\n"
msgstr "<h>Laag Groepen\n"
-#: ../src/hid/gtk/gui-config.c:1364
+#: ../src/hid/gtk/gui-config.c:1266
msgid ""
"Each layer on the screen may be in its own group which allows the\n"
"maximum number of board layers. However, for boards with fewer\n"
@@ -1277,7 +1368,7 @@ msgstr ""
"signaal groepen met zichtbare kleuren op het scherm\n"
"onderscheiden kunnen worden\n"
-#: ../src/hid/gtk/gui-config.c:1371
+#: ../src/hid/gtk/gui-config.c:1273
msgid ""
"For example, for a 4 layer board a useful layer group arrangement\n"
"can be to have 3 screen displayed layers grouped into the same group\n"
@@ -1295,69 +1386,63 @@ msgstr ""
"Zou jij knoppen selecteren en namen invoeren op de Setup pagina voor\n"
"een struktuur met vier laag groepen gelijkend op deze:\n"
-#: ../src/hid/gtk/gui-config.c:1379
+#: ../src/hid/gtk/gui-config.c:1281
msgid "<b>Group 1:"
msgstr "<b>Groep 1:"
-#: ../src/hid/gtk/gui-config.c:1381
-#: ../src/hid/gtk/gui-misc.c:512
-#: ../src/hid/gtk/gui-misc.c:536
+#: ../src/hid/gtk/gui-config.c:1283 ../src/hid/gtk/gui-misc.c:416
msgid "solder"
msgstr "soldeer"
-#: ../src/hid/gtk/gui-config.c:1383
+#: ../src/hid/gtk/gui-config.c:1285
msgid "GND-solder"
msgstr "Aarde-soldeer"
-#: ../src/hid/gtk/gui-config.c:1385
+#: ../src/hid/gtk/gui-config.c:1287
msgid "Vcc-solder"
msgstr "Voeding-soldeer"
-#: ../src/hid/gtk/gui-config.c:1387
-#: ../src/hid/gtk/gui-config.c:1639
+#: ../src/hid/gtk/gui-config.c:1289 ../src/hid/gtk/gui-config.c:1541
msgid "solder side"
msgstr "soldeer zijde"
-#: ../src/hid/gtk/gui-config.c:1389
+#: ../src/hid/gtk/gui-config.c:1291
msgid "<b>Group 2:"
msgstr "<b>Groep 2:"
-#: ../src/hid/gtk/gui-config.c:1391
-#: ../src/hid/gtk/gui-misc.c:512
-#: ../src/hid/gtk/gui-misc.c:536
+#: ../src/hid/gtk/gui-config.c:1293 ../src/hid/gtk/gui-misc.c:416
msgid "component"
msgstr "komponent"
-#: ../src/hid/gtk/gui-config.c:1393
+#: ../src/hid/gtk/gui-config.c:1295
msgid "GND-component"
msgstr "Aarde-komponent"
-#: ../src/hid/gtk/gui-config.c:1395
+#: ../src/hid/gtk/gui-config.c:1297
msgid "Vcc-component"
msgstr "Voeding-komponent"
-#: ../src/hid/gtk/gui-config.c:1397
-#: ../src/hid/gtk/gui-config.c:1637
+#: ../src/hid/gtk/gui-config.c:1299 ../src/hid/gtk/gui-config.c:1539
msgid "component side"
msgstr "komponent zijde"
-#: ../src/hid/gtk/gui-config.c:1399
+#: ../src/hid/gtk/gui-config.c:1301
msgid "<b>Group 3:"
msgstr "<b>Groep 3:"
-#: ../src/hid/gtk/gui-config.c:1401
+#: ../src/hid/gtk/gui-config.c:1303
msgid "signal1"
msgstr "signaal1"
-#: ../src/hid/gtk/gui-config.c:1403
+#: ../src/hid/gtk/gui-config.c:1305
msgid "<b>Group 4:"
msgstr "<b>Groep 4:"
-#: ../src/hid/gtk/gui-config.c:1405
+#: ../src/hid/gtk/gui-config.c:1307
msgid "signal2"
msgstr "signaal2"
-#: ../src/hid/gtk/gui-config.c:1519
+#: ../src/hid/gtk/gui-config.c:1421
msgid ""
"Both 'solder side' or 'component side' layers must have at least\n"
"\tone other layer in their group.\n"
@@ -1365,7 +1450,7 @@ msgstr ""
"Zowel 'soldeer zijde' als 'komponent zijde' lagen moeten tenminste\n"
"\teen andere laag in hun groep hebben.\n"
-#: ../src/hid/gtk/gui-config.c:1526
+#: ../src/hid/gtk/gui-config.c:1428
msgid ""
"The 'solder side' and 'component side' layers are not allowed\n"
"\tto be in the same layer group #\n"
@@ -1375,226 +1460,166 @@ msgstr ""
#. working copy
#. So can know if PCB changes on us
-#: ../src/hid/gtk/gui-config.c:1617
+#: ../src/hid/gtk/gui-config.c:1519
msgid "Group #"
msgstr "Groep #"
#. -- Change tab
-#: ../src/hid/gtk/gui-config.c:1705
+#: ../src/hid/gtk/gui-config.c:1607
msgid "Change"
msgstr "Verandering"
-#: ../src/hid/gtk/gui-config.c:1707
+#: ../src/hid/gtk/gui-config.c:1609
msgid "Operations on currently selected layer:"
msgstr "Handelingen op huidige geselecteerde laag:"
-#: ../src/hid/gtk/gui-config.c:1736
+#: ../src/hid/gtk/gui-config.c:1638
msgid "Add new layer above currently selected layer:"
msgstr "Voeg nieuwe laag boven de huidige geselecteerde laag toe:"
#. -- Groups tab
-#: ../src/hid/gtk/gui-config.c:1746
+#: ../src/hid/gtk/gui-config.c:1648
msgid "Groups"
msgstr "Groepen"
#. -- Info tab
-#: ../src/hid/gtk/gui-config.c:1762
+#: ../src/hid/gtk/gui-config.c:1664
msgid "Info"
msgstr "Info"
-#: ../src/hid/gtk/gui-config.c:1811
+#: ../src/hid/gtk/gui-config.c:1713
#, c-format
msgid "Current colors loaded: <b>%s</b>"
msgstr "Huidige geladen kleuren: <b>%s</b>"
-#: ../src/hid/gtk/gui-config.c:1856
+#: ../src/hid/gtk/gui-config.c:1758
msgid "Load Color File"
msgstr "Laad Kleur Bestand"
-#: ../src/hid/gtk/gui-config.c:1885
+#: ../src/hid/gtk/gui-config.c:1788
msgid "Save Color File"
msgstr "Sla Kleur Bestand op"
-#: ../src/hid/gtk/gui-config.c:1891
+#: ../src/hid/gtk/gui-config.c:1794
msgid "Sorry, not overwriting the default color file!"
msgstr "Sorry, het standaard kleur bestand niet overschreven!"
-#: ../src/hid/gtk/gui-config.c:1945
+#: ../src/hid/gtk/gui-config.c:1848
#, c-format
msgid "PCB %s Color"
msgstr "PCB %s Kleur"
#. ---- Main colors ----
-#: ../src/hid/gtk/gui-config.c:1975
+#: ../src/hid/gtk/gui-config.c:1878
msgid "Main colors"
msgstr "Hoofd kleuren"
#. ---- Layer colors ----
-#: ../src/hid/gtk/gui-config.c:1990
+#: ../src/hid/gtk/gui-config.c:1893
msgid "Layer colors"
msgstr "Laag kleuren"
#. ---- Selected colors ----
-#: ../src/hid/gtk/gui-config.c:2005
+#: ../src/hid/gtk/gui-config.c:1908
msgid "Selected colors"
msgstr "Geselecteerde kleuren"
-#: ../src/hid/gtk/gui-config.c:2031
+#: ../src/hid/gtk/gui-config.c:1934
msgid "<b>Warning:</b> unsaved color changes will be lost at program exit."
-msgstr "<b>Waarschuwing:</b> niet opgeslagen kleur veranderingen zullen verloren gaan bij programma einde."
+msgstr ""
+"<b>Waarschuwing:</b> niet opgeslagen kleur veranderingen zullen verloren "
+"gaan bij programma einde."
-#: ../src/hid/gtk/gui-config.c:2046
+#: ../src/hid/gtk/gui-config.c:1949
msgid "Load"
msgstr "Laad"
-#: ../src/hid/gtk/gui-config.c:2049
+#: ../src/hid/gtk/gui-config.c:1952
msgid "Save"
msgstr "Opslaan"
-#: ../src/hid/gtk/gui-config.c:2051
+#: ../src/hid/gtk/gui-config.c:1954
msgid "Defaults"
msgstr "Defaults"
-#: ../src/hid/gtk/gui-config.c:2091
-msgid "<b>mm</b> "
-msgstr "<b>mm</b> "
-
-#: ../src/hid/gtk/gui-config.c:2091
-msgid "<b>mil</b> "
-msgstr "<b>mil</b> "
-
-#: ../src/hid/gtk/gui-config.c:2183
+#: ../src/hid/gtk/gui-config.c:2088
msgid "PCB Preferences"
msgstr "PCB Instellingen"
-#: ../src/hid/gtk/gui-config.c:2208
+#: ../src/hid/gtk/gui-config.c:2113
msgid "General"
msgstr "Algemeen"
-#. XXX not used yet
-#: ../src/hid/gtk/gui-config.c:2215
-#: ../src/hid/gtk/gui-dialog-size.c:190
+#: ../src/hid/gtk/gui-config.c:2120
msgid "Sizes"
msgstr "Afmetingen"
-#: ../src/hid/gtk/gui-config.c:2221
+#: ../src/hid/gtk/gui-config.c:2126
msgid "Increments"
msgstr "Stappen"
-#: ../src/hid/gtk/gui-config.c:2227
+#: ../src/hid/gtk/gui-config.c:2132
msgid "Library"
msgstr "Bibliotheek"
-#: ../src/hid/gtk/gui-config.c:2233
+#: ../src/hid/gtk/gui-config.c:2138
msgid "Layers"
msgstr "Lagen"
-#: ../src/hid/gtk/gui-config.c:2240
+#: ../src/hid/gtk/gui-config.c:2145
msgid "Colors"
msgstr "Kleuren"
-#. non-zero means cancel was picked
-#: ../src/hid/gtk/gui-dialog-print.c:342
-msgid "PCB Print Layout"
-msgstr "PCB Print Opmaak"
-
-#: ../src/hid/gtk/gui-dialog-print.c:374
-msgid "PCB Export Layout"
-msgstr "PCB Export Opmaak"
-
-#: ../src/hid/gtk/gui-dialog-print.c:410
-msgid "Can't find a suitable exporter HID"
-msgstr "Kan geen geschikte exporteer HID vinden"
-
-#: ../src/hid/gtk/gui-dialog-size.c:160
-#, c-format
-msgid "%s Sizes"
-msgstr "%s Afmetingen"
-
-#: ../src/hid/gtk/gui-dialog-size.c:183
-msgid "Route style...
[truncated message content] |
|
From: <gi...@gp...> - 2011-09-15 17:00:58
|
The branch, master has been updated
via a537b78f5edc8c8c106ee146987797ef99ceb60a (commit)
via 9a8e559401db73ea3c9f9ecddb9f50a179a91bb2 (commit)
via d0a3105c8dfe80d6a03d358ae850a9587236a23f (commit)
via a7d774b4e0fc7c2aa86a12819c169bc1392b20de (commit)
via 7705118c47da4941c55d644e20b937e981168e7b (commit)
via d63f3f35cb2d0f6d0bef71ecb4bf17208ed76ad7 (commit)
from c8e0f875155405bdcdb6835e8439a2c2fd4fb4a0 (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/find.c | 2 -
src/report.c | 97 +++++++++++++++++++++---------
src/undo.c | 188 +++++++++++++++++++++++++++++++++-------------------------
3 files changed, 177 insertions(+), 110 deletions(-)
=================
Commit Messages
=================
commit a537b78f5edc8c8c106ee146987797ef99ceb60a
Author: Peter Clifton <pc...@ca...>
Commit: Peter Clifton <pc...@ca...>
report.c: Don't leave actions in the undo stack or change the user's flags
Some actions in ReportNetLength*() would have been lumped in with
whatever actions were next added to the undo stack. These functions
also left the user's board with a different "FOUND" flags on various
items.
In the case of the "Report(AllNetLenths)" action, a very long undo stack
would be created, which is not very helpful to the user.
These changes hide the internal flag changes made during the net length
calculation from the undo system.
We are able to get back to the inital board state because we save the
operations caused by our initial RestConnections() on the undo stack.
After we have done our work (modifying various flags in the process),
we reset the flags again (this time bypassing the Undo system), so the
board is consistent with the ResetConnections() call we DID save undo
data for. We then Undo() these changes before we leave the function.
:100644 100644 cf3635b... d461bd2... M src/report.c
commit 9a8e559401db73ea3c9f9ecddb9f50a179a91bb2
Author: Peter Clifton <pc...@ca...>
Commit: Peter Clifton <pc...@ca...>
report.c: Return 1 for all failure conditions in ReportNetLengthByName()
:100644 100644 4d5e27b... cf3635b... M src/report.c
commit d0a3105c8dfe80d6a03d358ae850a9587236a23f
Author: Peter Clifton <pc...@ca...>
Commit: Peter Clifton <pc...@ca...>
undo.c: Add error message where RestoreUndoSerialNumber() will break things
If operations are addded to the undo stack between a call to
IncrementUndoSerialNumber() and a subsequent call for
RestoreUndoSerialNumber(), those added operations will be placed in the
undo stack with an inconsistent serial number.
The {Save,Restore}UndoSerialNumber() API is pretty fragile in this
regard, and we should avoid using it where possible.
An better alternative might be to implement a "LockUndoSerialNumber()"
call which temporarily disables IncrementUndoSerialNumber(), and a
"UnlockUndoSerialNumber()" call which re-enables its increment function.
Better yet - we could make these functions nestable, so we need not
worry whether some action uses this new feature internally when we are
also using it.
:100644 100644 7832600... 17bebb9... M src/undo.c
commit a7d774b4e0fc7c2aa86a12819c169bc1392b20de
Author: Peter Clifton <pc...@ca...>
Commit: Peter Clifton <pc...@ca...>
undo.c: Handle undo failures in a more sane manner
Our current error-case handling can cause serial number inconsistency
when something goes wrong when performing an Undo operation. There are
also various logic flaws in our handling, as it only catches failures
where every sub-undo operation with that serial number fails.
Remove the confusing do-loop which decrements the serial number in the
failure case, and return some sensible error message instead.
This patch also removes the code which looked like it was intended to
loop over the undo stack until a serial number was found to operate on.
It is advantageous for code like the DRC to be able to add increment
the undo serial number, then safely perform an Undo - even if there were
no changes logged in the undo system during the previous serial number.
Closes-bug: lp-848509
:100644 100644 fe3a6c7... 7832600... M src/undo.c
commit 7705118c47da4941c55d644e20b937e981168e7b
Author: Peter Clifton <pc...@ca...>
Commit: Peter Clifton <pc...@ca...>
undo.c: Allow undo of locked objects
Our internal actions can make changes to locked objects, then
use the undo mechanism to revert these changes. An example is
DRC, which changes flags on objects and uses the Undo system
to restore their original values.
Affects-bug: lp-848509
:100644 100644 576b9cb... fe3a6c7... M src/undo.c
commit d63f3f35cb2d0f6d0bef71ecb4bf17208ed76ad7
Author: Peter Clifton <pc...@ca...>
Commit: Peter Clifton <pc...@ca...>
find.c: Remove stray RestoreUndoSerialNumber() calls
These will cause havoc with the undo system, as we don't actually
save a serial number to restore to.
Until a commit efd212c1deb264e9a7f2be17e9338fbb60e22cc0 we were
saving a serial number at the start of each "ResetConnections (true);"
call, and it would have been that serial number which got restored.
With this and some other fixes to the undo system, these restores
are no longer required.
Affects-bug: lp-848509
:100644 100644 6edd29d... 877deb4... M src/find.c
=========
Changes
=========
commit a537b78f5edc8c8c106ee146987797ef99ceb60a
Author: Peter Clifton <pc...@ca...>
Commit: Peter Clifton <pc...@ca...>
report.c: Don't leave actions in the undo stack or change the user's flags
Some actions in ReportNetLength*() would have been lumped in with
whatever actions were next added to the undo stack. These functions
also left the user's board with a different "FOUND" flags on various
items.
In the case of the "Report(AllNetLenths)" action, a very long undo stack
would be created, which is not very helpful to the user.
These changes hide the internal flag changes made during the net length
calculation from the undo system.
We are able to get back to the inital board state because we save the
operations caused by our initial RestConnections() on the undo stack.
After we have done our work (modifying various flags in the process),
we reset the flags again (this time bypassing the Undo system), so the
board is consistent with the ResetConnections() call we DID save undo
data for. We then Undo() these changes before we leave the function.
diff --git a/src/report.c b/src/report.c
index cf3635b..d461bd2 100644
--- a/src/report.c
+++ b/src/report.c
@@ -545,6 +545,10 @@ ReportFoundPins (int argc, char **argv, Coord x, Coord y)
return 0;
}
+/* Assumes that we start with a blank connection state,
+ * e.g. ResetConnections() has been run.
+ * Does not add its own changes to the undo system
+ */
static double
XYtoNetLength (Coord x, Coord y, int *found)
{
@@ -552,7 +556,11 @@ XYtoNetLength (Coord x, Coord y, int *found)
length = 0;
*found = 0;
- LookupConnection (x, y, true, PCB->Grid, FOUNDFLAG);
+
+ /* NB: The third argument here, 'false' ensures LookupConnection
+ * does not add its changes to the undo system.
+ */
+ LookupConnection (x, y, false, PCB->Grid, FOUNDFLAG);
ALLLINE_LOOP (PCB->Data);
{
@@ -591,6 +599,17 @@ ReportAllNetLengths (int argc, char **argv, Coord x, Coord y)
int ni;
int found;
+ /* Reset all connection flags and save an undo-state to get back
+ * to the state the board was in when we started this function.
+ *
+ * After this, we don't add any changes to the undo system, but
+ * ensure we get back to a point where we can Undo() our changes
+ * by resetting the connections with ResetConnections() before
+ * calling Undo() at the end of the procedure.
+ */
+ ResetConnections (true);
+ IncrementUndoSerialNumber ();
+
for (ni = 0; ni < PCB->NetlistLib.MenuN; ni++)
{
char *netname = PCB->NetlistLib.Menu[ni].Name + 2;
@@ -647,17 +666,18 @@ ReportAllNetLengths (int argc, char **argv, Coord x, Coord y)
if (argc < 1)
units_name = Settings.grid_unit->suffix;
- if (ResetConnections (true))
- Draw ();
- /* NB: XYtoNetLength calls LookupConnection, which performs an undo
- * serial number update, so we don't need to add one here.
- */
length = XYtoNetLength (x, y, &found);
+ /* Reset connectors for the next lookup */
+ ResetConnections (false);
+
pcb_sprintf(buf, "%$m*", units_name, length);
gui->log("Net %s length %s\n", netname, buf);
}
}
+
+ ResetConnections (false);
+ Undo (true);
return 0;
}
@@ -668,17 +688,25 @@ ReportNetLength (int argc, char **argv, Coord x, Coord y)
char *netname = 0;
int found = 0;
- if (ResetConnections (true))
- Draw ();
- /* NB: XYtoNetLength calls LookupConnection, which performs an undo
- * serial number update, so we don't need to add one here.
- */
gui->get_coords ("Click on a connection", &x, &y);
+ /* Reset all connection flags and save an undo-state to get back
+ * to the state the board was in when we started this function.
+ *
+ * After this, we don't add any changes to the undo system, but
+ * ensure we get back to a point where we can Undo() our changes
+ * by resetting the connections with ResetConnections() before
+ * calling Undo() at the end of the procedure.
+ */
+ ResetConnections (true);
+ IncrementUndoSerialNumber ();
+
length = XYtoNetLength (x, y, &found);
if (!found)
{
+ ResetConnections (false);
+ Undo (true);
gui->log ("No net under cursor.\n");
return 1;
}
@@ -737,7 +765,10 @@ ReportNetLength (int argc, char **argv, Coord x, Coord y)
END_LOOP;
}
END_LOOP;
- got_net_name:
+
+got_net_name:
+ ResetConnections (false);
+ Undo (true);
{
char buf[50];
@@ -747,6 +778,7 @@ ReportNetLength (int argc, char **argv, Coord x, Coord y)
else
gui->log ("Net length: %s\n", buf);
}
+
return 0;
}
@@ -778,12 +810,6 @@ ReportNetLengthByName (char *tofind, int x, int y)
if (!tofind)
return 1;
- SaveUndoSerialNumber ();
- ResetFoundPinsViasAndPads (true);
- RestoreUndoSerialNumber ();
- ResetFoundLinesAndPolygons (true);
- RestoreUndoSerialNumber ();
-
#if defined(USE_RE)
use_re = 1;
for (i = 0; i < PCB->NetlistLib.MenuN; i++)
@@ -864,24 +890,38 @@ ReportNetLengthByName (char *tofind, int x, int y)
gui->log ("No net named %s\n", tofind);
return 1;
}
+
#ifdef HAVE_REGCOMP
if (use_re)
regfree (&elt_pattern);
#endif
+ /* Reset all connection flags and save an undo-state to get back
+ * to the state the board was in when we started.
+ *
+ * After this, we don't add any changes to the undo system, but
+ * ensure we get back to a point where we can Undo() our changes
+ * by resetting the connections with ResetConnections() before
+ * calling Undo() when we are finished.
+ */
+ ResetConnections (true);
+ IncrementUndoSerialNumber ();
+
length = XYtoNetLength (x, y, &found);
netname = net->Name + 2;
- if (!found && net_found)
- {
- gui->log ("Net found, but no lines or arcs were flagged.\n");
- return 1;
- }
- else if (!found)
- {
- gui->log ("Net not found.\n");
+ ResetConnections (false);
+ Undo (true);
+
+ if (!found)
+ {
+ if (net_found)
+ gui->log ("Net found, but no lines or arcs were flagged.\n");
+ else
+ gui->log ("Net not found.\n");
+
return 1;
- }
+ }
{
char buf[50];
@@ -891,6 +931,7 @@ ReportNetLengthByName (char *tofind, int x, int y)
else
gui->log ("Net length: %s\n", buf);
}
+
return 0;
}
commit 9a8e559401db73ea3c9f9ecddb9f50a179a91bb2
Author: Peter Clifton <pc...@ca...>
Commit: Peter Clifton <pc...@ca...>
report.c: Return 1 for all failure conditions in ReportNetLengthByName()
diff --git a/src/report.c b/src/report.c
index 4d5e27b..cf3635b 100644
--- a/src/report.c
+++ b/src/report.c
@@ -812,7 +812,7 @@ ReportNetLengthByName (char *tofind, int x, int y)
if ((elt_pattern = re_comp (tofind)) != NULL)
{
Message (_("re_comp error: %s\n"), elt_pattern);
- return (false);
+ return (1);
}
#endif
}
commit d0a3105c8dfe80d6a03d358ae850a9587236a23f
Author: Peter Clifton <pc...@ca...>
Commit: Peter Clifton <pc...@ca...>
undo.c: Add error message where RestoreUndoSerialNumber() will break things
If operations are addded to the undo stack between a call to
IncrementUndoSerialNumber() and a subsequent call for
RestoreUndoSerialNumber(), those added operations will be placed in the
undo stack with an inconsistent serial number.
The {Save,Restore}UndoSerialNumber() API is pretty fragile in this
regard, and we should avoid using it where possible.
An better alternative might be to implement a "LockUndoSerialNumber()"
call which temporarily disables IncrementUndoSerialNumber(), and a
"UnlockUndoSerialNumber()" call which re-enables its increment function.
Better yet - we could make these functions nestable, so we need not
worry whether some action uses this new feature internally when we are
also using it.
diff --git a/src/undo.c b/src/undo.c
index 7832600..17bebb9 100644
--- a/src/undo.c
+++ b/src/undo.c
@@ -76,6 +76,9 @@
RCSID ("$Id$");
+static bool between_increment_and_restore = false;
+static bool added_undo_between_increment_and_restore = false;
+
/* ---------------------------------------------------------------------------
* some local data types
*/
@@ -254,6 +257,9 @@ GetUndoSlot (int CommandType, int ID, int Kind)
break;
}
+ if (between_increment_and_restore)
+ added_undo_between_increment_and_restore = true;
+
/* copy typefield and serial number to the list */
ptr = &UndoList[UndoN++];
ptr->Type = CommandType;
@@ -1177,6 +1183,10 @@ Redo (bool draw)
void
RestoreUndoSerialNumber (void)
{
+ if (added_undo_between_increment_and_restore)
+ Message (_("ERROR: Operations were added to the Undo stack with an incorrect serial number\n"));
+ between_increment_and_restore = false;
+ added_undo_between_increment_and_restore = false;
Serial = SavedSerial;
}
@@ -1187,6 +1197,8 @@ void
SaveUndoSerialNumber (void)
{
Bumped = false;
+ between_increment_and_restore = false;
+ added_undo_between_increment_and_restore = false;
SavedSerial = Serial;
}
@@ -1205,6 +1217,7 @@ IncrementUndoSerialNumber (void)
SetChangedFlag (true);
Serial++;
Bumped = true;
+ between_increment_and_restore = true;
}
}
commit a7d774b4e0fc7c2aa86a12819c169bc1392b20de
Author: Peter Clifton <pc...@ca...>
Commit: Peter Clifton <pc...@ca...>
undo.c: Handle undo failures in a more sane manner
Our current error-case handling can cause serial number inconsistency
when something goes wrong when performing an Undo operation. There are
also various logic flaws in our handling, as it only catches failures
where every sub-undo operation with that serial number fails.
Remove the confusing do-loop which decrements the serial number in the
failure case, and return some sensible error message instead.
This patch also removes the code which looked like it was intended to
loop over the undo stack until a serial number was found to operate on.
It is advantageous for code like the DRC to be able to add increment
the undo serial number, then safely perform an Undo - even if there were
no changes logged in the undo system during the previous serial number.
Closes-bug: lp-848509
diff --git a/src/undo.c b/src/undo.c
index fe3a6c7..7832600 100644
--- a/src/undo.c
+++ b/src/undo.c
@@ -932,50 +932,71 @@ Undo (bool draw)
UndoListTypePtr ptr;
int Types = 0;
int unique;
+ bool error_undoing = false;
unique = TEST_FLAG (UNIQUENAMEFLAG, PCB);
CLEAR_FLAG (UNIQUENAMEFLAG, PCB);
andDraw = draw;
- do
+ if (Serial == 0)
{
- if (!UndoN)
- {
- if (!Serial)
- Message (_("Nothing to undo - buffer is empty\n"));
- else
- Serial--;
- return (false);
- }
+ Message (_("ERROR: Attempt to Undo() with Serial == 0\n"
+ " Please save your work and report this bug.\n"));
+ return 0;
+ }
+
+ if (UndoN == 0)
+ {
+ Message (_("Nothing to undo - buffer is empty\n"));
+ return 0;
+ }
+
+ Serial --;
+
+ ptr = &UndoList[UndoN - 1];
- /* lock undo module to prevent from loops
- * and loop over all entries with the same serial number
+ if (ptr->Serial > Serial)
+ {
+ Message (_("ERROR: Bad undo serial number %d in undo stack - expecting %d or lower\n"
+ " Please save your work and report this bug.\n"),
+ ptr->Serial, Serial);
+
+ /* It is likely that the serial number got corrupted through some bad
+ * use of the SaveUndoSerialNumber() / RestoreUndoSerialNumber() APIs.
+ *
+ * Reset the serial number to be consistent with that of the last
+ * operation on the undo stack in the hope that this might clear
+ * the problem and allow the user to hit Undo again.
*/
- ptr = &UndoList[UndoN - 1];
- if (ptr->Serial != Serial - 1)
- {
- Message (_("Undo bad serial number %d expecting %d\n"),
- ptr->Serial, Serial - 1);
- Serial = ptr->Serial + 1;
- return (false);
- }
- LockUndo ();
- Serial = ptr->Serial;
- for (; UndoN && ptr->Serial == Serial; ptr--, UndoN--, RedoN++)
- Types |= PerformUndo (ptr);
- /* release lock */
- UnlockUndo ();
+ Serial = ptr->Serial + 1;
+ return 0;
}
- while (Types == 0);
+
+ LockUndo (); /* lock undo module to prevent from loops */
+
+ /* Loop over all entries with the correct serial number */
+ for (; UndoN && ptr->Serial == Serial; ptr--, UndoN--, RedoN++)
+ {
+ int undid = PerformUndo (ptr);
+ if (undid == 0)
+ error_undoing = true;
+ Types |= undid;
+ }
+
+ UnlockUndo ();
+
+ if (error_undoing)
+ Message (_("ERROR: Failed to undo some operations\n"));
+
if (Types && andDraw)
Draw ();
/* restore the unique flag setting */
if (unique)
SET_FLAG (UNIQUENAMEFLAG, PCB);
-
- return (Types);
+
+ return Types;
}
static int
@@ -1096,34 +1117,58 @@ Redo (bool draw)
{
UndoListTypePtr ptr;
int Types = 0;
+ bool error_undoing = false;
andDraw = draw;
- do
+
+ if (RedoN == 0)
{
- if (!RedoN)
- {
- Message
- (_
- ("Nothing to redo. Perhaps changes have been made since last undo\n"));
- return (false);
- }
+ Message (_("Nothing to redo. Perhaps changes have been made since last undo\n"));
+ return 0;
+ }
+
+ ptr = &UndoList[UndoN];
- /* lock undo module to prevent from loops
- * and loop over all entries with the same serial number
+ if (ptr->Serial < Serial)
+ {
+ Message (_("ERROR: Bad undo serial number %d in redo stack - expecting %d or higher\n"
+ " Please save your work and report this bug.\n"),
+ ptr->Serial, Serial);
+
+ /* It is likely that the serial number got corrupted through some bad
+ * use of the SaveUndoSerialNumber() / RestoreUndoSerialNumber() APIs.
+ *
+ * Reset the serial number to be consistent with that of the first
+ * operation on the redo stack in the hope that this might clear
+ * the problem and allow the user to hit Redo again.
*/
- LockUndo ();
- ptr = &UndoList[UndoN];
Serial = ptr->Serial;
- for (; RedoN && ptr->Serial == Serial; ptr++, UndoN++, RedoN--)
- Types |= PerformUndo (ptr);
- /* Make next serial number current in case we take a new branch */
- Serial++;
- UnlockUndo ();
+ return 0;
}
- while (Types == 0);
+
+ LockUndo (); /* lock undo module to prevent from loops */
+
+ /* and loop over all entries with the correct serial number */
+ for (; RedoN && ptr->Serial == Serial; ptr++, UndoN++, RedoN--)
+ {
+ int undid = PerformUndo (ptr);
+ if (undid == 0)
+ error_undoing = true;
+ Types |= undid;
+ }
+
+ /* Make next serial number current */
+ Serial++;
+
+ UnlockUndo ();
+
+ if (error_undoing)
+ Message (_("ERROR: Failed to redo some operations\n"));
+
if (Types && andDraw)
Draw ();
- return (Types);
+
+ return Types;
}
/* ---------------------------------------------------------------------------
@@ -1155,12 +1200,11 @@ IncrementUndoSerialNumber (void)
{
if (!Locked)
{
- /* don't increment if nothing was added */
- if (UndoN == 0 || UndoList[UndoN - 1].Serial != Serial)
- return;
+ /* Set the changed flag if anything was added prior to this bump */
+ if (UndoN > 0 && UndoList[UndoN - 1].Serial == Serial)
+ SetChangedFlag (true);
Serial++;
Bumped = true;
- SetChangedFlag (true);
}
}
commit 7705118c47da4941c55d644e20b937e981168e7b
Author: Peter Clifton <pc...@ca...>
Commit: Peter Clifton <pc...@ca...>
undo.c: Allow undo of locked objects
Our internal actions can make changes to locked objects, then
use the undo mechanism to revert these changes. An example is
DRC, which changes flags on objects and uses the Undo system
to restore their original values.
Affects-bug: lp-848509
diff --git a/src/undo.c b/src/undo.c
index 576b9cb..fe3a6c7 100644
--- a/src/undo.c
+++ b/src/undo.c
@@ -295,8 +295,6 @@ UndoRotate (UndoListTypePtr Entry)
SearchObjectByID (PCB->Data, &ptr1, &ptr2, &ptr3, Entry->ID, Entry->Kind);
if (type != NO_TYPE)
{
- if (TEST_FLAG (LOCKFLAG, (ArcTypePtr) ptr2))
- return (false);
RotateObject (type, ptr1, ptr2, ptr3,
Entry->Data.Rotate.CenterX, Entry->Data.Rotate.CenterY,
(4 - Entry->Data.Rotate.Steps) & 0x03);
@@ -345,8 +343,6 @@ UndoChangeName (UndoListTypePtr Entry)
SearchObjectByID (PCB->Data, &ptr1, &ptr2, &ptr3, Entry->ID, Entry->Kind);
if (type != NO_TYPE)
{
- if (TEST_FLAG (LOCKFLAG, (TextTypePtr) ptr3))
- return (false);
Entry->Data.ChangeName.Name =
(char *)(ChangeObjectName (type, ptr1, ptr2, ptr3,
Entry->Data.ChangeName.Name));
@@ -370,8 +366,6 @@ UndoChange2ndSize (UndoListTypePtr Entry)
SearchObjectByID (PCB->Data, &ptr1, &ptr2, &ptr3, Entry->ID, Entry->Kind);
if (type != NO_TYPE)
{
- if (TEST_FLAG (LOCKFLAG, (PinTypePtr) ptr2))
- return (false);
swap = ((PinTypePtr) ptr2)->DrillingHole;
if (andDraw)
EraseObject (type, ptr1, ptr2);
@@ -400,8 +394,6 @@ UndoChangeAngles (UndoListTypePtr Entry)
{
LayerTypePtr Layer = (LayerTypePtr) ptr1;
ArcTypePtr a = (ArcTypePtr) ptr2;
- if (TEST_FLAG (LOCKFLAG, a))
- return (false);
r_delete_entry (Layer->arc_tree, (BoxTypePtr) a);
old_sa = a->StartAngle;
old_da = a->Delta;
@@ -434,8 +426,6 @@ UndoChangeClearSize (UndoListTypePtr Entry)
SearchObjectByID (PCB->Data, &ptr1, &ptr2, &ptr3, Entry->ID, Entry->Kind);
if (type != NO_TYPE)
{
- if (TEST_FLAG (LOCKFLAG, (LineTypePtr) ptr2))
- return (false);
swap = ((PinTypePtr) ptr2)->Clearance;
RestoreToPolygon (PCB->Data, type, ptr1, ptr2);
if (andDraw)
@@ -465,8 +455,6 @@ UndoChangeMaskSize (UndoListTypePtr Entry)
SearchObjectByID (PCB->Data, &ptr1, &ptr2, &ptr3, Entry->ID, Entry->Kind);
if (type & (VIA_TYPE | PIN_TYPE | PAD_TYPE))
{
- if (TEST_FLAG (LOCKFLAG, (PinTypePtr) ptr2))
- return (false);
swap =
(type ==
PAD_TYPE ? ((PadTypePtr) ptr2)->Mask : ((PinTypePtr) ptr2)->Mask);
@@ -500,8 +488,6 @@ UndoChangeSize (UndoListTypePtr Entry)
SearchObjectByID (PCB->Data, &ptr1, &ptr2, &ptr3, Entry->ID, Entry->Kind);
if (type != NO_TYPE)
{
- if (TEST_FLAG (LOCKFLAG, (PinTypePtr) ptr2))
- return (false);
/* Wow! can any object be treated as a pin type for size change?? */
/* pins, vias, lines, and arcs can. Text can't but it has it's own mechanism */
swap = ((PinTypePtr) ptr2)->Thickness;
@@ -537,9 +523,6 @@ UndoFlag (UndoListTypePtr Entry)
FlagType f1, f2;
PinTypePtr pin = (PinTypePtr) ptr2;
- if (TEST_FLAG (LOCKFLAG, pin))
- return (false);
-
swap = pin->Flags;
must_redraw = 0;
@@ -583,8 +566,6 @@ UndoMirror (UndoListTypePtr Entry)
if (type == ELEMENT_TYPE)
{
ElementTypePtr element = (ElementTypePtr) ptr3;
- if (TEST_FLAG (LOCKFLAG, element))
- return (false);
if (andDraw)
EraseElement (element);
MirrorElementCoordinates (PCB->Data, element, Entry->Data.Move.DY);
@@ -611,8 +592,6 @@ UndoCopyOrCreate (UndoListTypePtr Entry)
SearchObjectByID (PCB->Data, &ptr1, &ptr2, &ptr3, Entry->ID, Entry->Kind);
if (type != NO_TYPE)
{
- if (TEST_FLAG (LOCKFLAG, (PinTypePtr) ptr2))
- return (false);
if (!RemoveList)
RemoveList = CreateNewBuffer ();
if (andDraw)
@@ -640,8 +619,6 @@ UndoMove (UndoListTypePtr Entry)
SearchObjectByID (PCB->Data, &ptr1, &ptr2, &ptr3, Entry->ID, Entry->Kind);
if (type != NO_TYPE)
{
- if (TEST_FLAG (LOCKFLAG, (LineTypePtr) ptr2))
- return (false);
MoveObject (type, ptr1, ptr2, ptr3,
-Entry->Data.Move.DX, -Entry->Data.Move.DY);
Entry->Data.Move.DX *= -1;
@@ -691,8 +668,6 @@ UndoMoveToLayer (UndoListTypePtr Entry)
SearchObjectByID (PCB->Data, &ptr1, &ptr2, &ptr3, Entry->ID, Entry->Kind);
if (type != NO_TYPE)
{
- if (TEST_FLAG (LOCKFLAG, (LineTypePtr) ptr2))
- return (false);
swap = GetLayerNumber (PCB->Data, (LayerTypePtr) ptr1);
MoveObjectToLayer (type, ptr1, ptr2, ptr3,
LAYER_PTR (Entry->Data.
@@ -724,8 +699,6 @@ UndoRemovePoint (UndoListTypePtr Entry)
{
case POLYGON_TYPE: /* restore the removed point */
{
- if (TEST_FLAG (LOCKFLAG, polygon))
- return (false);
/* recover the point */
if (andDraw && layer->On)
ErasePolygon (polygon);
@@ -774,8 +747,6 @@ UndoInsertPoint (UndoListTypePtr Entry)
{
case POLYGONPOINT_TYPE: /* removes an inserted polygon point */
{
- if (TEST_FLAG (LOCKFLAG, polygon))
- return (false);
if (andDraw && layer->On)
ErasePolygon (polygon);
commit d63f3f35cb2d0f6d0bef71ecb4bf17208ed76ad7
Author: Peter Clifton <pc...@ca...>
Commit: Peter Clifton <pc...@ca...>
find.c: Remove stray RestoreUndoSerialNumber() calls
These will cause havoc with the undo system, as we don't actually
save a serial number to restore to.
Until a commit efd212c1deb264e9a7f2be17e9338fbb60e22cc0 we were
saving a serial number at the start of each "ResetConnections (true);"
call, and it would have been that serial number which got restored.
With this and some other fixes to the undo system, these restores
are no longer required.
Affects-bug: lp-848509
diff --git a/src/find.c b/src/find.c
index 6edd29d..877deb4 100644
--- a/src/find.c
+++ b/src/find.c
@@ -3534,7 +3534,6 @@ DRCFind (int What, void *ptr1, void *ptr2, void *ptr3)
drc = false;
Bloat = -PCB->Shrink;
TheFlag = SELECTEDFLAG;
- RestoreUndoSerialNumber ();
ListStart (What, ptr1, ptr2, ptr3);
DoIt (true, true);
DumpList ();
@@ -3588,7 +3587,6 @@ DRCFind (int What, void *ptr1, void *ptr2, void *ptr3)
User = true;
drc = false;
Bloat = 0;
- RestoreUndoSerialNumber ();
TheFlag = SELECTEDFLAG;
ListStart (What, ptr1, ptr2, ptr3);
DoIt (true, true);
|
|
From: <gi...@gp...> - 2011-09-14 23:27:09
|
The branch, master has been updated
via c8e0f875155405bdcdb6835e8439a2c2fd4fb4a0 (commit)
from 0ac0076bc9af38dd07700cbb7a6d3f21a8fc2621 (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/hid/gtk/gtkhid-main.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
=================
Commit Messages
=================
commit c8e0f875155405bdcdb6835e8439a2c2fd4fb4a0
Author: Peter Clifton <pc...@ca...>
Commit: Peter Clifton <pc...@ca...>
gtk: Fix ghid_zoom_view_fit() to work when the board is flipped.
Affects-bug: lp-850311
:100644 100644 4383ee5... e0cfbc9... M src/hid/gtk/gtkhid-main.c
=========
Changes
=========
commit c8e0f875155405bdcdb6835e8439a2c2fd4fb4a0
Author: Peter Clifton <pc...@ca...>
Commit: Peter Clifton <pc...@ca...>
gtk: Fix ghid_zoom_view_fit() to work when the board is flipped.
Affects-bug: lp-850311
diff --git a/src/hid/gtk/gtkhid-main.c b/src/hid/gtk/gtkhid-main.c
index 4383ee5..e0cfbc9 100644
--- a/src/hid/gtk/gtkhid-main.c
+++ b/src/hid/gtk/gtkhid-main.c
@@ -128,9 +128,10 @@ ghid_zoom_view_rel (Coord center_x, Coord center_y, double factor)
static void
ghid_zoom_view_fit (void)
{
- ghid_pan_view_abs (0, 0, 0, 0);
- ghid_zoom_view_abs (0, 0, MAX (PCB->MaxWidth / gport->width,
- PCB->MaxHeight / gport->height));
+ ghid_pan_view_abs (SIDE_X (0), SIDE_Y (0), 0, 0);
+ ghid_zoom_view_abs (SIDE_X (0), SIDE_Y (0),
+ MAX (PCB->MaxWidth / gport->width,
+ PCB->MaxHeight / gport->height));
}
static void
|
|
From: <gi...@gp...> - 2011-09-13 18:15:26
|
The branch, master has been updated
via 0ac0076bc9af38dd07700cbb7a6d3f21a8fc2621 (commit)
via 90ed0e3f7f467cacd7d858daee023b5aa5e417b9 (commit)
via a1197b36497057088057dd0dc4135d19fefda116 (commit)
from 1ffdc656f5c601db9b4625b9aad14b4d33a49868 (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
=========
.gitignore | 1 -
autogen.sh | 2 +-
configure.ac | 27 ++---
m4/.gitignore | 29 +++++
m4/ax_check_gl.m4 | 155 +++++++++++++++++++++++++
m4/ax_check_glu.m4 | 141 +++++++++++++++++++++++
m4/ax_lang_compiler_ms.m4 | 41 +++++++
m4/ax_pthread.m4 | 277 +++++++++++++++++++++++++++++++++++++++++++++
src/hid/common/hidgl.c | 13 ++-
src/hid/gtk/gtkhid-gl.c | 8 +-
10 files changed, 670 insertions(+), 24 deletions(-)
create mode 100644 m4/.gitignore
create mode 100644 m4/ax_check_gl.m4
create mode 100644 m4/ax_check_glu.m4
create mode 100644 m4/ax_lang_compiler_ms.m4
create mode 100644 m4/ax_pthread.m4
=================
Commit Messages
=================
commit 0ac0076bc9af38dd07700cbb7a6d3f21a8fc2621
Author: Peter Clifton <pc...@ca...>
Commit: Peter Clifton <pc...@ca...>
Fixup OpenGL includes for better compatibility with OSX
Not tested ;)
:100644 100644 0bbd621... 21edb5d... M src/hid/common/hidgl.c
:100644 100644 1f51fc1... 15c9468... M src/hid/gtk/gtkhid-gl.c
commit 90ed0e3f7f467cacd7d858daee023b5aa5e417b9
Author: Peter Clifton <pc...@ca...>
Commit: Peter Clifton <pc...@ca...>
Better autoconf tests for GL and GLU (from GtkGLExt - GPL v2 or later)
These tests should give better cross platform support for our build.
:100755 100755 3eeeca2... 166a3d0... M autogen.sh
:100644 100644 71ab1c4... a802790... M configure.ac
:000000 100644 0000000... 808e0f4... A m4/ax_check_gl.m4
:000000 100644 0000000... 1680f3c... A m4/ax_check_glu.m4
:000000 100644 0000000... 1c85d77... A m4/ax_lang_compiler_ms.m4
:000000 100644 0000000... 37502dd... A m4/ax_pthread.m4
commit a1197b36497057088057dd0dc4135d19fefda116
Author: Peter Clifton <pc...@ca...>
Commit: Peter Clifton <pc...@ca...>
Remove the m4 directory from the root .gitignore file and add its own
:100644 100644 57f69fe... 41f5aa1... M .gitignore
:000000 100644 0000000... 7bba957... A m4/.gitignore
=========
Changes
=========
commit 0ac0076bc9af38dd07700cbb7a6d3f21a8fc2621
Author: Peter Clifton <pc...@ca...>
Commit: Peter Clifton <pc...@ca...>
Fixup OpenGL includes for better compatibility with OSX
Not tested ;)
diff --git a/src/hid/common/hidgl.c b/src/hid/common/hidgl.c
index 0bbd621..21edb5d 100644
--- a/src/hid/common/hidgl.c
+++ b/src/hid/common/hidgl.c
@@ -38,8 +38,17 @@
* http://www.opengl.org/registry/ABI/
*/
#define GL_GLEXT_PROTOTYPES 1
-#include <GL/gl.h>
-#include <GL/glu.h>
+#ifdef HAVE_OPENGL_GL_H
+# include <OpenGL/gl.h>
+#else
+# include <GL/gl.h>
+#endif
+
+#ifdef HAVE_OPENGL_GLU_H
+# include <OpenGL/glu.h>
+#else
+# include <GL/glu.h>
+#endif
#include "action.h"
#include "crosshair.h"
diff --git a/src/hid/gtk/gtkhid-gl.c b/src/hid/gtk/gtkhid-gl.c
index 1f51fc1..15c9468 100644
--- a/src/hid/gtk/gtkhid-gl.c
+++ b/src/hid/gtk/gtkhid-gl.c
@@ -17,8 +17,14 @@
* in order to get prototypes:
* http://www.opengl.org/registry/ABI/
*/
+
#define GL_GLEXT_PROTOTYPES 1
-#include <GL/gl.h>
+#ifdef HAVE_OPENGL_GL_H
+# include <OpenGL/gl.h>
+#else
+# include <GL/gl.h>
+#endif
+
#include <gtk/gtkgl.h>
#include "hid/common/hidgl.h"
#include "hid/common/draw_helpers.h"
commit 90ed0e3f7f467cacd7d858daee023b5aa5e417b9
Author: Peter Clifton <pc...@ca...>
Commit: Peter Clifton <pc...@ca...>
Better autoconf tests for GL and GLU (from GtkGLExt - GPL v2 or later)
These tests should give better cross platform support for our build.
diff --git a/autogen.sh b/autogen.sh
index 3eeeca2..166a3d0 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -84,7 +84,7 @@ rm -f po/Makefile.in.in.orig
#
echo "Running aclocal..."
-aclocal $ACLOCAL_FLAGS || exit 1
+aclocal -I m4 $ACLOCAL_FLAGS || exit 1
echo "Done with aclocal"
echo "Running autoheader..."
diff --git a/configure.ac b/configure.ac
index 71ab1c4..a802790 100644
--- a/configure.ac
+++ b/configure.ac
@@ -410,24 +410,13 @@ Either do not use --enable-gl or enable the gtk HID.])
;;
esac
- AC_CHECK_HEADERS(GL/gl.h)
- case $ac_cv_header_GL_gl_h in
- no )
- AC_MSG_ERROR([You don't seem to have the GL library headers installed.])
- ;;
- * ) ;;
- esac
-
- AC_CHECK_HEADERS(GL/glu.h)
- case $ac_cv_header_GL_glu_h in
- no )
- AC_MSG_ERROR([You don't seem to have the GL glu library headers installed.])
- ;;
- * ) ;;
- esac
+ AX_CHECK_GL
+ AS_IF([test X$no_gl = Xyes],
+ [AC_MSG_FAILURE([OpenGL is required.])])
- GLU_CFLAGS=
- GLU_LIBS=-lGLU
+ AX_CHECK_GLU
+ AS_IF([test X$no_glu = Xyes],
+ [AC_MSG_FAILURE([The OpenGL GLU library is required.])])
AC_DEFINE([ENABLE_GL], 1,
[Define to 1 if GL support is to be compiled in])
@@ -1121,8 +1110,8 @@ AC_DEFINE_UNQUOTED([COORD_MAX],[$COORD_MAX],
# ------------- Complete set of CFLAGS and LIBS -------------------
-CFLAGS="$CFLAGS $X_CFLAGS $DBUS_CFLAGS $GLIB_CFLAGS $GTK_CFLAGS $CAIRO_CFLAGS $GTKGLEXT_CFLAGS $GLU_CFLAGS"
-LIBS="$LIBS $XM_LIBS $DBUS_LIBS $X_LIBS $GLIB_LIBS $GTK_LIBS $DMALLOC_LIBS $GD_LIBS $INTLLIBS $CAIRO_LIBS $GTKGLEXT_LIBS $GLU_LIBS"
+CFLAGS="$CFLAGS $X_CFLAGS $DBUS_CFLAGS $GLIB_CFLAGS $GTK_CFLAGS $CAIRO_CFLAGS $GTKGLEXT_CFLAGS $GLU_CFLAGS $GL_CFLAGS"
+LIBS="$LIBS $XM_LIBS $DBUS_LIBS $X_LIBS $GLIB_LIBS $GTK_LIBS $DMALLOC_LIBS $GD_LIBS $INTLLIBS $CAIRO_LIBS $GTKGLEXT_LIBS $GLU_LIBS $GL_LIBS"
# if we have gcc then add -Wall
diff --git a/m4/ax_check_gl.m4 b/m4/ax_check_gl.m4
new file mode 100644
index 0000000..808e0f4
--- /dev/null
+++ b/m4/ax_check_gl.m4
@@ -0,0 +1,155 @@
+# -*- mode: autoconf -*-
+#
+# AX_CHECK_GL
+#
+# Check for an OpenGL implementation. If GL is found, the required compiler
+# and linker flags are included in the output variables "GL_CFLAGS" and
+# "GL_LIBS", respectively. If no usable GL implementation is found, "no_gl"
+# is set to "yes".
+#
+# If the header "GL/gl.h" is found, "HAVE_GL_GL_H" is defined. If the header
+# "OpenGL/gl.h" is found, HAVE_OPENGL_GL_H is defined. These preprocessor
+# definitions may not be mutually exclusive.
+#
+# version: 2.6
+# author: Braden McDaniel <br...@en...>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+#
+# As a special exception, the you may copy, distribute and modify the
+# configure scripts that are the output of Autoconf when processing
+# the Macro. You need not follow the terms of the GNU General Public
+# License when using or distributing such scripts.
+#
+AC_DEFUN([AX_CHECK_GL],
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
+AC_REQUIRE([AC_PATH_X])dnl
+AC_REQUIRE([AC_PROG_SED])dnl
+AC_REQUIRE([AX_PTHREAD])dnl
+
+AC_LANG_PUSH([C])
+AX_LANG_COMPILER_MS
+AS_IF([test X$ax_compiler_ms = Xno],
+ [GL_CFLAGS="${PTHREAD_CFLAGS}"; GL_LIBS="${PTHREAD_LIBS}"])
+
+#
+# Use x_includes and x_libraries if they have been set (presumably by
+# AC_PATH_X).
+#
+AS_IF([test X$no_x != Xyes -a -n "$x_includes"],
+ [GL_CFLAGS="-I$x_includes $GL_CFLAGS"])
+
+AC_CHECK_HEADERS([windows.h])
+
+ax_save_CPPFLAGS=$CPPFLAGS
+CPPFLAGS="$GL_CFLAGS $CPPFLAGS"
+AC_CHECK_HEADERS([GL/gl.h OpenGL/gl.h], , , [
+# if defined(HAVE_WINDOWS_H) && defined(_WIN32)
+# include <windows.h>
+# endif
+])
+CPPFLAGS=$ax_save_CPPFLAGS
+
+m4_define([AX_CHECK_GL_PROGRAM],
+ [AC_LANG_PROGRAM([[
+# if defined(HAVE_WINDOWS_H) && defined(_WIN32)
+# include <windows.h>
+# endif
+# ifdef HAVE_GL_GL_H
+# include <GL/gl.h>
+# elif defined(HAVE_OPENGL_GL_H)
+# include <OpenGL/gl.h>
+# else
+# error no gl.h
+# endif]],
+ [[glBegin(0)]])])
+
+m4_define([AX_CHECK_GL_GLX_PROGRAM],
+ [AC_LANG_PROGRAM([[
+# if defined(HAVE_WINDOWS_H) && defined(_WIN32)
+# include <windows.h>
+# endif
+# ifdef HAVE_GL_GL_H
+# include <GL/gl.h>
+# elif defined(HAVE_OPENGL_GL_H)
+# include <OpenGL/gl.h>
+# else
+# error no gl.h
+# endif]],
+ [[glXQueryVersion(0, 0, 0)]])])
+
+AC_CACHE_CHECK([for OpenGL library], [ax_cv_check_gl_libgl],
+[ax_cv_check_gl_libgl=no
+case $host_cpu in
+ x86_64) ax_check_gl_libdir=lib64 ;;
+ *) ax_check_gl_libdir=lib ;;
+esac
+ax_save_CPPFLAGS=$CPPFLAGS
+CPPFLAGS="$CPPFLAGS $GL_CFLAGS"
+ax_save_LDFLAGS=$LDFLAGS
+AS_IF([test X$no_x != Xyes -a -n "$x_libraries"],
+ [LDFLAGS="$LDFLAGS -L$x_libraries"])
+ax_save_LIBS=$LIBS
+ax_check_libs="-lopengl32 -lGL"
+for ax_lib in $ax_check_libs; do
+ AS_IF([test X$ax_compiler_ms = Xyes],
+ [ax_try_lib=`echo $ax_lib | $SED -e 's/^-l//' -e 's/$/.lib/'`],
+ [ax_try_lib=$ax_lib])
+ LDFLAGS="$ax_save_LDFLAGS $GL_LIBS"
+ LIBS="$ax_try_lib $ax_save_LIBS"
+AC_LINK_IFELSE([AX_CHECK_GL_PROGRAM],
+ [ax_cv_check_gl_libgl=$ax_try_lib; break],
+ [ax_check_gl_nvidia_flags="-L/usr/$ax_check_gl_libdir/nvidia"
+ LDFLAGS="$ax_save_LDFLAGS $GL_LIBS $ax_check_gl_nvidia_flags"
+ AC_LINK_IFELSE([AX_CHECK_GL_PROGRAM],
+ [ax_cv_check_gl_libgl="$ax_check_gl_nvidia_flags $ax_try_lib"; break],
+ [ax_check_gl_dylib_flag='-dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib'
+ LDFLAGS="$ax_save_LDFLAGS $GL_LIBS $ax_check_gl_dylib_flag"
+ AC_LINK_IFELSE([AX_CHECK_GL_PROGRAM],
+ [ax_cv_check_gl_libgl="$ax_check_gl_dylib_flag $ax_try_lib"; break])])])
+done
+
+#
+# If no_x is "yes", we don't want to wind up using a libGL that is
+# linked with X11. Test to see if the found libGL includes GLX
+# functions. If it does and no_x is "yes", we want to reset
+# ax_cv_check_gl_libgl back to "no".
+#
+# Note that LDFLAGS and LIBS should still have whatever values they
+# had when we broke out of the test loop above; use that.
+#
+AS_IF([test "X$ax_cv_check_gl_libgl" != Xno],
+ [AC_LINK_IFELSE([AX_CHECK_GL_GLX_PROGRAM],
+ [AS_IF([test X$no_x = Xyes],
+ [ax_cv_check_gl_libgl=no])])])
+
+LIBS=$ax_save_LIBS
+AS_IF([test "X$ax_cv_check_gl_libgl" = Xno -a X$no_x = Xyes],
+ [LDFLAGS="$ax_save_LDFLAGS -framework OpenGL"
+ AC_LINK_IFELSE([AX_CHECK_GL_PROGRAM],
+ [ax_cv_check_gl_libgl='-framework OpenGL'])])
+
+LDFLAGS=$ax_save_LDFLAGS
+CPPFLAGS=$ax_save_CPPFLAGS])
+
+AS_IF([test "X$ax_cv_check_gl_libgl" = Xno],
+ [no_gl=yes; GL_CFLAGS=""; GL_LIBS=""],
+ [GL_LIBS="$ax_cv_check_gl_libgl $GL_LIBS"])
+AC_LANG_POP([C])
+
+AC_SUBST([GL_CFLAGS])
+AC_SUBST([GL_LIBS])
+])dnl
diff --git a/m4/ax_check_glu.m4 b/m4/ax_check_glu.m4
new file mode 100644
index 0000000..1680f3c
--- /dev/null
+++ b/m4/ax_check_glu.m4
@@ -0,0 +1,141 @@
+# -*- mode: autoconf -*-
+#
+# AX_CHECK_GLU
+#
+# Check for GLU. If GLU is found, the required preprocessor and linker flags
+# are included in the output variables "GLU_CFLAGS" and "GLU_LIBS",
+# respectively. If no GLU implementation is found, "no_glu" is set to "yes".
+#
+# If the header "GL/glu.h" is found, "HAVE_GL_GLU_H" is defined. If the
+# header "OpenGL/glu.h" is found, HAVE_OPENGL_GLU_H is defined. These
+# preprocessor definitions may not be mutually exclusive.
+#
+# Some implementations (in particular, some versions of Mac OS X) are known
+# to treat the GLU tesselator callback function type as "GLvoid (*)(...)"
+# rather than the standard "GLvoid (*)()". If the former condition is
+# detected, this macro defines "HAVE_VARARGS_GLU_TESSCB".
+#
+# version: 2.4
+# author: Braden McDaniel <br...@en...>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+#
+# As a special exception, the you may copy, distribute and modify the
+# configure scripts that are the output of Autoconf when processing
+# the Macro. You need not follow the terms of the GNU General Public
+# License when using or distributing such scripts.
+#
+AC_DEFUN([AX_CHECK_GLU],
+[AC_REQUIRE([AX_CHECK_GL])dnl
+AC_REQUIRE([AC_PROG_CXX])dnl
+GLU_CFLAGS=$GL_CFLAGS
+
+ax_save_CPPFLAGS=$CPPFLAGS
+CPPFLAGS="$GL_CFLAGS $CPPFLAGS"
+AC_CHECK_HEADERS([GL/glu.h OpenGL/glu.h], , , [
+# if defined(HAVE_WINDOWS_H) && defined(_WIN32)
+# include <windows.h>
+# endif
+])
+CPPFLAGS=$ax_save_CPPFLAGS
+
+m4_define([AX_CHECK_GLU_PROGRAM],
+ [AC_LANG_PROGRAM([[
+# if defined(HAVE_WINDOWS_H) && defined(_WIN32)
+# include <windows.h>
+# endif
+# ifdef HAVE_GL_GLU_H
+# include <GL/glu.h>
+# elif defined(HAVE_OPENGL_GLU_H)
+# include <OpenGL/glu.h>
+# else
+# error no glu.h
+# endif]],
+ [[gluBeginCurve(0)]])])
+
+AC_CACHE_CHECK([for OpenGL Utility library], [ax_cv_check_glu_libglu],
+[ax_cv_check_glu_libglu=no
+ax_save_CPPFLAGS=$CPPFLAGS
+CPPFLAGS="$GL_CFLAGS $CPPFLAGS"
+ax_save_LDFLAGS=$LDFLAGS
+ax_save_LIBS=$LIBS
+
+#
+# First, check for the possibility that everything we need is already in
+# GL_LIBS.
+#
+LDFLAGS="$ax_save_LDFLAGS $GL_LIBS"
+#
+# libGLU typically links with libstdc++ on POSIX platforms.
+# However, setting the language to C++ means that test program
+# source is named "conftest.cc"; and Microsoft cl doesn't know what
+# to do with such a file.
+#
+AC_LANG_PUSH([C++])
+AS_IF([test X$ax_compiler_ms = Xyes],
+ [AC_LANG_PUSH([C])])
+AC_LINK_IFELSE([AX_CHECK_GLU_PROGRAM],
+ [ax_cv_check_glu_libglu=yes],
+ [LIBS=""
+ ax_check_libs="-lglu32 -lGLU"
+ for ax_lib in ${ax_check_libs}; do
+ AS_IF([test X$ax_compiler_ms = Xyes],
+ [ax_try_lib=`echo $ax_lib | $SED -e 's/^-l//' -e 's/$/.lib/'`],
+ [ax_try_lib=$ax_lib])
+ LIBS="$ax_try_lib $ax_save_LIBS"
+ AC_LINK_IFELSE([AX_CHECK_GLU_PROGRAM],
+ [ax_cv_check_glu_libglu=$ax_try_lib; break])
+ done])
+AS_IF([test X$ax_compiler_ms = Xyes],
+ [AC_LANG_POP([C])])
+AC_LANG_POP([C++])
+
+LIBS=$ax_save_LIBS
+LDFLAGS=$ax_save_LDFLAGS
+CPPFLAGS=$ax_save_CPPFLAGS])
+AS_IF([test "X$ax_cv_check_glu_libglu" = Xno],
+ [no_glu=yes; GLU_CFLAGS=""; GLU_LIBS=""],
+ [AS_IF([test "X$ax_cv_check_glu_libglu" = Xyes],
+ [GLU_LIBS=""],
+ [GLU_LIBS="$ax_cv_check_glu_libglu"])])
+AC_SUBST([GLU_CFLAGS])
+AC_SUBST([GLU_LIBS])
+
+#
+# Some versions of Mac OS X include a broken interpretation of the GLU
+# tesselation callback function signature when using the C++ compiler.
+#
+AS_IF([test "X$ax_cv_check_glu_libglu" != Xno],
+ [AC_CACHE_CHECK([for varargs GLU tesselator callback function type],
+ [ax_cv_varargs_glu_tesscb],
+ [AC_LANG_PUSH([C++])
+ ax_cv_varargs_glu_tesscb=no
+ ax_save_CXXFLAGS=$CXXFLAGS
+ CXXFLAGS="$GL_CFLAGS $CXXFLAGS"
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
+# ifdef HAVE_GL_GLU_H
+# include <GL/glu.h>
+# else
+# include <OpenGL/glu.h>
+# endif]],
+ [[GLvoid (*func)(...); gluTessCallback(0, 0, func)]])],
+ [ax_cv_varargs_glu_tesscb=yes])
+ CXXFLAGS=$ax_save_CXXFLAGS
+ AC_LANG_POP([C++])])
+ AS_IF([test X$ax_cv_varargs_glu_tesscb = Xyes],
+ [AC_DEFINE([HAVE_VARARGS_GLU_TESSCB], [1],
+ [Use nonstandard varargs form for the GLU tesselator callback])])])
+])
diff --git a/m4/ax_lang_compiler_ms.m4 b/m4/ax_lang_compiler_ms.m4
new file mode 100644
index 0000000..1c85d77
--- /dev/null
+++ b/m4/ax_lang_compiler_ms.m4
@@ -0,0 +1,41 @@
+# -*- mode: autoconf -*-
+#
+# Check whether the compiler for the current language is Microsoft.
+#
+# This macro is modeled after _AC_LANG_COMPILER_GNU in the GNU Autoconf
+# implementation.
+#
+# version: 1.0
+# author: Braden McDaniel <br...@en...>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+#
+# As a special exception, the you may copy, distribute and modify the
+# configure scripts that are the output of Autoconf when processing
+# the Macro. You need not follow the terms of the GNU General Public
+# License when using or distributing such scripts.
+#
+AC_DEFUN([AX_LANG_COMPILER_MS],
+[AC_CACHE_CHECK([whether we are using the Microsoft _AC_LANG compiler],
+ [ax_cv_[]_AC_LANG_ABBREV[]_compiler_ms],
+[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([], [[#ifndef _MSC_VER
+ choke me
+#endif
+]])],
+ [ax_compiler_ms=yes],
+ [ax_compiler_ms=no])
+ax_cv_[]_AC_LANG_ABBREV[]_compiler_ms=$ax_compiler_ms
+])])
diff --git a/m4/ax_pthread.m4 b/m4/ax_pthread.m4
new file mode 100644
index 0000000..37502dd
--- /dev/null
+++ b/m4/ax_pthread.m4
@@ -0,0 +1,277 @@
+# ===========================================================================
+# http://www.nongnu.org/autoconf-archive/ax_pthread.html
+# ===========================================================================
+#
+# SYNOPSIS
+#
+# AX_PTHREAD([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
+#
+# DESCRIPTION
+#
+# This macro figures out how to build C programs using POSIX threads. It
+# sets the PTHREAD_LIBS output variable to the threads library and linker
+# flags, and the PTHREAD_CFLAGS output variable to any special C compiler
+# flags that are needed. (The user can also force certain compiler
+# flags/libs to be tested by setting these environment variables.)
+#
+# Also sets PTHREAD_CC to any special C compiler that is needed for
+# multi-threaded programs (defaults to the value of CC otherwise). (This
+# is necessary on AIX to use the special cc_r compiler alias.)
+#
+# NOTE: You are assumed to not only compile your program with these flags,
+# but also link it with them as well. e.g. you should link with
+# $PTHREAD_CC $CFLAGS $PTHREAD_CFLAGS $LDFLAGS ... $PTHREAD_LIBS $LIBS
+#
+# If you are only building threads programs, you may wish to use these
+# variables in your default LIBS, CFLAGS, and CC:
+#
+# LIBS="$PTHREAD_LIBS $LIBS"
+# CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
+# CC="$PTHREAD_CC"
+#
+# In addition, if the PTHREAD_CREATE_JOINABLE thread-attribute constant
+# has a nonstandard name, defines PTHREAD_CREATE_JOINABLE to that name
+# (e.g. PTHREAD_CREATE_UNDETACHED on AIX).
+#
+# ACTION-IF-FOUND is a list of shell commands to run if a threads library
+# is found, and ACTION-IF-NOT-FOUND is a list of commands to run it if it
+# is not found. If ACTION-IF-FOUND is not specified, the default action
+# will define HAVE_PTHREAD.
+#
+# Please let the authors know if this macro fails on any platform, or if
+# you have any other suggestions or comments. This macro was based on work
+# by SGJ on autoconf scripts for FFTW (http://www.fftw.org/) (with help
+# from M. Frigo), as well as ac_pthread and hb_pthread macros posted by
+# Alejandro Forero Cuervo to the autoconf macro repository. We are also
+# grateful for the helpful feedback of numerous users.
+#
+# LICENSE
+#
+# Copyright (c) 2008 Steven G. Johnson <st...@al...>
+#
+# This program is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or (at your
+# option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+# Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+# As a special exception, the respective Autoconf Macro's copyright owner
+# gives unlimited permission to copy, distribute and modify the configure
+# scripts that are the output of Autoconf when processing the Macro. You
+# need not follow the terms of the GNU General Public License when using
+# or distributing such scripts, even though portions of the text of the
+# Macro appear in them. The GNU General Public License (GPL) does govern
+# all other use of the material that constitutes the Autoconf Macro.
+#
+# This special exception to the GPL applies to versions of the Autoconf
+# Macro released by the Autoconf Archive. When you make and distribute a
+# modified version of the Autoconf Macro, you may extend this special
+# exception to the GPL to apply to your modified version as well.
+
+AU_ALIAS([ACX_PTHREAD], [AX_PTHREAD])
+AC_DEFUN([AX_PTHREAD], [
+AC_REQUIRE([AC_CANONICAL_HOST])
+AC_LANG_SAVE
+AC_LANG_C
+ax_pthread_ok=no
+
+# We used to check for pthread.h first, but this fails if pthread.h
+# requires special compiler flags (e.g. on True64 or Sequent).
+# It gets checked for in the link test anyway.
+
+# First of all, check if the user has set any of the PTHREAD_LIBS,
+# etcetera environment variables, and if threads linking works using
+# them:
+if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then
+ save_CFLAGS="$CFLAGS"
+ CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
+ save_LIBS="$LIBS"
+ LIBS="$PTHREAD_LIBS $LIBS"
+ AC_MSG_CHECKING([for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS])
+ AC_TRY_LINK_FUNC(pthread_join, ax_pthread_ok=yes)
+ AC_MSG_RESULT($ax_pthread_ok)
+ if test x"$ax_pthread_ok" = xno; then
+ PTHREAD_LIBS=""
+ PTHREAD_CFLAGS=""
+ fi
+ LIBS="$save_LIBS"
+ CFLAGS="$save_CFLAGS"
+fi
+
+# We must check for the threads library under a number of different
+# names; the ordering is very important because some systems
+# (e.g. DEC) have both -lpthread and -lpthreads, where one of the
+# libraries is broken (non-POSIX).
+
+# Create a list of thread flags to try. Items starting with a "-" are
+# C compiler flags, and other items are library names, except for "none"
+# which indicates that we try without any flags at all, and "pthread-config"
+# which is a program returning the flags for the Pth emulation library.
+
+ax_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
+
+# The ordering *is* (sometimes) important. Some notes on the
+# individual items follow:
+
+# pthreads: AIX (must check this before -lpthread)
+# none: in case threads are in libc; should be tried before -Kthread and
+# other compiler flags to prevent continual compiler warnings
+# -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
+# -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
+# lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
+# -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
+# -pthreads: Solaris/gcc
+# -mthreads: Mingw32/gcc, Lynx/gcc
+# -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
+# doesn't hurt to check since this sometimes defines pthreads too;
+# also defines -D_REENTRANT)
+# ... -mt is also the pthreads flag for HP/aCC
+# pthread: Linux, etcetera
+# --thread-safe: KAI C++
+# pthread-config: use pthread-config program (for GNU Pth library)
+
+case "${host_cpu}-${host_os}" in
+ *solaris*)
+
+ # On Solaris (at least, for some versions), libc contains stubbed
+ # (non-functional) versions of the pthreads routines, so link-based
+ # tests will erroneously succeed. (We need to link with -pthreads/-mt/
+ # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
+ # a function called by this macro, so we could check for that, but
+ # who knows whether they'll stub that too in a future libc.) So,
+ # we'll just look for -pthreads and -lpthread first:
+
+ ax_pthread_flags="-pthreads pthread -mt -pthread $ax_pthread_flags"
+ ;;
+esac
+
+if test x"$ax_pthread_ok" = xno; then
+for flag in $ax_pthread_flags; do
+
+ case $flag in
+ none)
+ AC_MSG_CHECKING([whether pthreads work without any flags])
+ ;;
+
+ -*)
+ AC_MSG_CHECKING([whether pthreads work with $flag])
+ PTHREAD_CFLAGS="$flag"
+ ;;
+
+ pthread-config)
+ AC_CHECK_PROG(ax_pthread_config, pthread-config, yes, no)
+ if test x"$ax_pthread_config" = xno; then continue; fi
+ PTHREAD_CFLAGS="`pthread-config --cflags`"
+ PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
+ ;;
+
+ *)
+ AC_MSG_CHECKING([for the pthreads library -l$flag])
+ PTHREAD_LIBS="-l$flag"
+ ;;
+ esac
+
+ save_LIBS="$LIBS"
+ save_CFLAGS="$CFLAGS"
+ LIBS="$PTHREAD_LIBS $LIBS"
+ CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
+
+ # Check for various functions. We must include pthread.h,
+ # since some functions may be macros. (On the Sequent, we
+ # need a special flag -Kthread to make this header compile.)
+ # We check for pthread_join because it is in -lpthread on IRIX
+ # while pthread_create is in libc. We check for pthread_attr_init
+ # due to DEC craziness with -lpthreads. We check for
+ # pthread_cleanup_push because it is one of the few pthread
+ # functions on Solaris that doesn't have a non-functional libc stub.
+ # We try pthread_create on general principles.
+ AC_TRY_LINK([#include <pthread.h>
+ static void routine(void* a) {a=0;}
+ static void* start_routine(void* a) {return a;}],
+ [pthread_t th; pthread_attr_t attr;
+ pthread_join(th, 0);
+ pthread_attr_init(&attr);
+ pthread_cleanup_push(routine, 0);
+ pthread_create(&th,0,start_routine,0);
+ pthread_cleanup_pop(0); ],
+ [ax_pthread_ok=yes])
+
+ LIBS="$save_LIBS"
+ CFLAGS="$save_CFLAGS"
+
+ AC_MSG_RESULT($ax_pthread_ok)
+ if test "x$ax_pthread_ok" = xyes; then
+ break;
+ fi
+
+ PTHREAD_LIBS=""
+ PTHREAD_CFLAGS=""
+done
+fi
+
+# Various other checks:
+if test "x$ax_pthread_ok" = xyes; then
+ save_LIBS="$LIBS"
+ LIBS="$PTHREAD_LIBS $LIBS"
+ save_CFLAGS="$CFLAGS"
+ CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
+
+ # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
+ AC_MSG_CHECKING([for joinable pthread attribute])
+ attr_name=unknown
+ for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
+ AC_TRY_LINK([#include <pthread.h>], [int attr=$attr; return attr;],
+ [attr_name=$attr; break])
+ done
+ AC_MSG_RESULT($attr_name)
+ if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then
+ AC_DEFINE_UNQUOTED(PTHREAD_CREATE_JOINABLE, $attr_name,
+ [Define to necessary symbol if this constant
+ uses a non-standard name on your system.])
+ fi
+
+ AC_MSG_CHECKING([if more special flags are required for pthreads])
+ flag=no
+ case "${host_cpu}-${host_os}" in
+ *-aix* | *-freebsd* | *-darwin*) flag="-D_THREAD_SAFE";;
+ *solaris* | *-osf* | *-hpux*) flag="-D_REENTRANT";;
+ esac
+ AC_MSG_RESULT(${flag})
+ if test "x$flag" != xno; then
+ PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
+ fi
+
+ LIBS="$save_LIBS"
+ CFLAGS="$save_CFLAGS"
+
+ # More AIX lossage: must compile with xlc_r or cc_r
+ if test x"$GCC" != xyes; then
+ AC_CHECK_PROGS(PTHREAD_CC, xlc_r cc_r, ${CC})
+ else
+ PTHREAD_CC=$CC
+ fi
+else
+ PTHREAD_CC="$CC"
+fi
+
+AC_SUBST(PTHREAD_LIBS)
+AC_SUBST(PTHREAD_CFLAGS)
+AC_SUBST(PTHREAD_CC)
+
+# Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
+if test x"$ax_pthread_ok" = xyes; then
+ ifelse([$1],,AC_DEFINE(HAVE_PTHREAD,1,[Define if you have POSIX threads libraries and header files.]),[$1])
+ :
+else
+ ax_pthread_ok=no
+ $2
+fi
+AC_LANG_RESTORE
+])dnl AX_PTHREAD
commit a1197b36497057088057dd0dc4135d19fefda116
Author: Peter Clifton <pc...@ca...>
Commit: Peter Clifton <pc...@ca...>
Remove the m4 directory from the root .gitignore file and add its own
diff --git a/.gitignore b/.gitignore
index 57f69fe..41f5aa1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,7 +3,6 @@ Makefile.in
*.cache
/config.*
/configure
-/m4
/aclocal.m4
ABOUT-NLS
/intl
diff --git a/m4/.gitignore b/m4/.gitignore
new file mode 100644
index 0000000..7bba957
--- /dev/null
+++ b/m4/.gitignore
@@ -0,0 +1,29 @@
+codeset.m4
+gettext.m4
+glibc21.m4
+iconv.m4
+intdiv0.m4
+intmax.m4
+inttypes_h.m4
+inttypes.m4
+inttypes-pri.m4
+isc-posix.m4
+lcmessage.m4
+lib-ld.m4
+lib-link.m4
+lib-prefix.m4
+longdouble.m4
+longlong.m4
+m4_ax_func_mkdir.m4
+nls.m4
+po.m4
+printf-posix.m4
+progtest.m4
+signed.m4
+size_max.m4
+stdint_h.m4
+uintmax_t.m4
+ulonglong.m4
+wchar_t.m4
+wint_t.m4
+xsize.m4
|
|
From: <gi...@gp...> - 2011-09-13 05:56:50
|
The branch, master has been updated
via 1ffdc656f5c601db9b4625b9aad14b4d33a49868 (commit)
from 6bbcd9e693a26816abccbd8acdb95100d23c01f9 (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/hid/lesstif/styles.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
=================
Commit Messages
=================
commit 1ffdc656f5c601db9b4625b9aad14b4d33a49868
Author: DJ Delorie <dj...@de...>
Commit: DJ Delorie <dj...@de...>
[lesstif] set units for styles dialog in more places
The styles dialog was segfaulting as the units hadn't been set yet, if
you open the style dialog before doing anything with the grid.
:100644 100644 b6e3b51... 5ec19d8... M src/hid/lesstif/styles.c
=========
Changes
=========
commit 1ffdc656f5c601db9b4625b9aad14b4d33a49868
Author: DJ Delorie <dj...@de...>
Commit: DJ Delorie <dj...@de...>
[lesstif] set units for styles dialog in more places
The styles dialog was segfaulting as the units hadn't been set yet, if
you open the style dialog before doing anything with the grid.
diff --git a/src/hid/lesstif/styles.c b/src/hid/lesstif/styles.c
index b6e3b51..5ec19d8 100644
--- a/src/hid/lesstif/styles.c
+++ b/src/hid/lesstif/styles.c
@@ -192,6 +192,7 @@ units_cb ()
unit = get_unit_struct ("mil");
else
unit = get_unit_struct ("mm");
+ ustr = XmStringCreateLocalized ((char *)unit->suffix);
update_values ();
}
@@ -355,6 +356,9 @@ AdjustStyle (int argc, char **argv, Coord x, Coord y)
{
int i;
+ unit = Settings.grid_unit;
+ ustr = XmStringCreateLocalized ((char *)unit->suffix);
+
n = 0;
stdarg (XmNautoUnmanage, False);
stdarg (XmNtitle, "Route Styles");
|
|
From: <gi...@gp...> - 2011-09-13 00:29:00
|
The branch, master has been updated
via 6bbcd9e693a26816abccbd8acdb95100d23c01f9 (commit)
via ff9abb9212b375ee7affdffe17803039a8525cfc (commit)
from be3aec15d207ca92ee23553c93cce957751343eb (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/hid/gtk/gtkhid-gdk.c | 37 +------------
src/hid/gtk/gtkhid-gl.c | 35 ------------
src/hid/gtk/gtkhid-main.c | 16 +-----
src/hid/gtk/gui-config.c | 15 -----
src/hid/gtk/gui-output-events.c | 112 ---------------------------------------
src/hid/gtk/gui.h | 5 +-
6 files changed, 5 insertions(+), 215 deletions(-)
=================
Commit Messages
=================
commit 6bbcd9e693a26816abccbd8acdb95100d23c01f9
Author: Peter Clifton <pc...@ca...>
Commit: Peter Clifton <pc...@ca...>
hid/gtk: Remove misplaced (and redundant) hidgl_flush_triangles() call.
If we were to flush the triangle buffer in ghid_show_crosshair(), we
should do it before we set XOR mode on the GL context (assuming the
buffer might be dirty when we are called), and we should do it after
we finish drawing (if we wish to leave the buffer clean when we return).
The location the flush was in before this commit is just plain wrong.
As we currently have flushes of the triangle buffer wrapping the call
to ghid_show_crosshair(), just leave the flushing out of this function.
Does this commit message provide an adequate example of simple patch,
complex commit message phenomenon?
:100644 100644 d82d800... 1f51fc1... M src/hid/gtk/gtkhid-gl.c
commit ff9abb9212b375ee7affdffe17803039a8525cfc
Author: Peter Clifton <pc...@ca...>
Commit: Peter Clifton <pc...@ca...>
hid/gtk: Remove auto-pan feature (kill it with fire).
This seems to be fairly universally unpopular on geda-user, and its
implementation is a little fragile, often leading the board to pan off
to some corner of the board as the poor user reaches for the layer
selector or a menu without having remembered to click the feature off.
The fact that the pan direction and speed was set the instant you leave
the drawing window also made it particularly unhelpful. A proper
implementation should have grabbed the mouse - or at least implemented
some buffer zone in which the mouse could be used to give feedback on
the pan direction.
:100644 100644 96e54a6... 2d2d4c7... M src/hid/gtk/gtkhid-gdk.c
:100644 100644 f5a99a9... d82d800... M src/hid/gtk/gtkhid-gl.c
:100644 100644 79987ff... 4383ee5... M src/hid/gtk/gtkhid-main.c
:100644 100644 698f57a... dba0635... M src/hid/gtk/gui-config.c
:100644 100644 c483c3c... 20e8e03... M src/hid/gtk/gui-output-events.c
:100644 100644 dede39c... 5ba5aeb... M src/hid/gtk/gui.h
=========
Changes
=========
commit 6bbcd9e693a26816abccbd8acdb95100d23c01f9
Author: Peter Clifton <pc...@ca...>
Commit: Peter Clifton <pc...@ca...>
hid/gtk: Remove misplaced (and redundant) hidgl_flush_triangles() call.
If we were to flush the triangle buffer in ghid_show_crosshair(), we
should do it before we set XOR mode on the GL context (assuming the
buffer might be dirty when we are called), and we should do it after
we finish drawing (if we wish to leave the buffer clean when we return).
The location the flush was in before this commit is just plain wrong.
As we currently have flushes of the triangle buffer wrapping the call
to ghid_show_crosshair(), just leave the flushing out of this function.
Does this commit message provide an adequate example of simple patch,
complex commit message phenomenon?
diff --git a/src/hid/gtk/gtkhid-gl.c b/src/hid/gtk/gtkhid-gl.c
index d82d800..1f51fc1 100644
--- a/src/hid/gtk/gtkhid-gl.c
+++ b/src/hid/gtk/gtkhid-gl.c
@@ -760,8 +760,6 @@ ghid_show_crosshair (gboolean paint_new_location)
glEnable (GL_COLOR_LOGIC_OP);
glLogicOp (GL_XOR);
- hidgl_flush_triangles (&buffer);
-
glColor3f (cross_color.red / 65535.,
cross_color.green / 65535.,
cross_color.blue / 65535.);
commit ff9abb9212b375ee7affdffe17803039a8525cfc
Author: Peter Clifton <pc...@ca...>
Commit: Peter Clifton <pc...@ca...>
hid/gtk: Remove auto-pan feature (kill it with fire).
This seems to be fairly universally unpopular on geda-user, and its
implementation is a little fragile, often leading the board to pan off
to some corner of the board as the poor user reaches for the layer
selector or a menu without having remembered to click the feature off.
The fact that the pan direction and speed was set the instant you leave
the drawing window also made it particularly unhelpful. A proper
implementation should have grabbed the mouse - or at least implemented
some buffer zone in which the mouse could be used to give feedback on
the pan direction.
diff --git a/src/hid/gtk/gtkhid-gdk.c b/src/hid/gtk/gtkhid-gdk.c
index 96e54a6..2d2d4c7 100644
--- a/src/hid/gtk/gtkhid-gdk.c
+++ b/src/hid/gtk/gtkhid-gdk.c
@@ -1017,9 +1017,6 @@ draw_crosshair (GdkGC *xor_gc, gint x, gint y)
prev = Crosshair.shape;
}
-#define VCW 16
-#define VCD 8
-
static void
show_crosshair (gboolean paint_new_location)
{
@@ -1028,7 +1025,6 @@ show_crosshair (gboolean paint_new_location)
GtkStyle *style = gtk_widget_get_style (gport->drawing_area);
gint x, y;
static gint x_prev = -1, y_prev = -1;
- static gboolean draw_markers, draw_markers_prev = FALSE;
static GdkGC *xor_gc;
static GdkColor cross_color;
@@ -1051,45 +1047,16 @@ show_crosshair (gboolean paint_new_location)
gdk_gc_set_foreground (xor_gc, &cross_color);
if (x_prev >= 0 && !paint_new_location)
- {
- draw_crosshair (xor_gc, x_prev, y_prev);
- if (draw_markers_prev)
- {
- gdk_draw_rectangle (window, xor_gc, TRUE,
- 0, y_prev - VCD, VCD, VCW);
- gdk_draw_rectangle (window, xor_gc, TRUE,
- gport->width - VCD, y_prev - VCD, VCD, VCW);
- gdk_draw_rectangle (window, xor_gc, TRUE,
- x_prev - VCD, 0, VCW, VCD);
- gdk_draw_rectangle (window, xor_gc, TRUE,
- x_prev - VCD, gport->height - VCD, VCW, VCD);
- }
- }
+ draw_crosshair (xor_gc, x_prev, y_prev);
if (x >= 0 && paint_new_location)
{
draw_crosshair (xor_gc, x, y);
- draw_markers = ghidgui->auto_pan_on && have_crosshair_attachments ();
- if (draw_markers)
- {
- gdk_draw_rectangle (window, xor_gc, TRUE,
- 0, y - VCD, VCD, VCW);
- gdk_draw_rectangle (window, xor_gc, TRUE,
- gport->width - VCD, y - VCD, VCD, VCW);
- gdk_draw_rectangle (window, xor_gc, TRUE,
- x - VCD, 0, VCW, VCD);
- gdk_draw_rectangle (window, xor_gc, TRUE,
- x - VCD, gport->height - VCD, VCW, VCD);
- }
x_prev = x;
y_prev = y;
- draw_markers_prev = draw_markers;
}
else
- {
- x_prev = y_prev = -1;
- draw_markers_prev = FALSE;
- }
+ x_prev = y_prev = -1;
}
void
diff --git a/src/hid/gtk/gtkhid-gl.c b/src/hid/gtk/gtkhid-gl.c
index f5a99a9..d82d800 100644
--- a/src/hid/gtk/gtkhid-gl.c
+++ b/src/hid/gtk/gtkhid-gl.c
@@ -737,16 +737,10 @@ draw_crosshair (gint x, gint y, gint z)
prev = Crosshair.shape;
}
-#define VCW 16 /* Crosshair pan-marker width in pixels */
-#define VCD 8 /* Crosshair pan-marker depth in pixels */
-
void
ghid_show_crosshair (gboolean paint_new_location)
{
gint x, y, z;
- gboolean draw_markers;
- int vcw = VCW * gport->view.coord_per_px;
- int vcd = VCD * gport->view.coord_per_px;
static int done_once = 0;
static GdkColor cross_color;
@@ -779,33 +773,6 @@ ghid_show_crosshair (gboolean paint_new_location)
glEnd ();
}
- draw_markers = ghidgui->auto_pan_on && have_crosshair_attachments ();
- if (x >= 0 && paint_new_location && draw_markers)
- {
- glBegin (GL_QUADS);
- glVertex3i (SIDE_X (gport->view.x0), y - vcd, z);
- glVertex3i (SIDE_X (gport->view.x0), y - vcd + vcw, z);
- glVertex3i (SIDE_X (gport->view.x0 + vcd), y - vcd + vcw, z);
- glVertex3i (SIDE_X (gport->view.x0 + vcd), y - vcd, z);
-
- glVertex3i (SIDE_X (gport->view.x0 + gport->view.width), y - vcd, z);
- glVertex3i (SIDE_X (gport->view.x0 + gport->view.width), y - vcd + vcw, z);
- glVertex3i (SIDE_X (gport->view.x0 + gport->view.width - vcd), y - vcd + vcw, z);
- glVertex3i (SIDE_X (gport->view.x0 + gport->view.width - vcd), y - vcd, z);
-
- glVertex3i (x - vcd, SIDE_Y (gport->view.y0), z);
- glVertex3i (x - vcd, SIDE_Y (gport->view.y0 + vcd), z);
- glVertex3i (x - vcd + vcw, SIDE_Y (gport->view.y0 + vcd), z);
- glVertex3i (x - vcd + vcw, SIDE_Y (gport->view.y0), z);
-
- glVertex3i (x - vcd, SIDE_Y (gport->view.y0 + gport->view.height - vcd), z);
- glVertex3i (x - vcd, SIDE_Y (gport->view.y0 + gport->view.height), z);
- glVertex3i (x - vcd + vcw, SIDE_Y (gport->view.y0 + gport->view.height), z);
- glVertex3i (x - vcd + vcw, SIDE_Y (gport->view.y0 + gport->view.height - vcd), z);
-
- glEnd ();
- }
-
glDisable (GL_COLOR_LOGIC_OP);
}
diff --git a/src/hid/gtk/gtkhid-main.c b/src/hid/gtk/gtkhid-main.c
index 79987ff..4383ee5 100644
--- a/src/hid/gtk/gtkhid-main.c
+++ b/src/hid/gtk/gtkhid-main.c
@@ -1893,15 +1893,13 @@ N_("Start or stop panning (Mode = 1 to start, 0 to stop)\n"
/* %start-doc actions Pan
Start or stop panning. To start call with Mode = 1, to stop call with
-Mode = 0. If the Mode is turned on and off with the cross hairs at
-the same coordinates, the auto pan mode is toggled.
+Mode = 0.
%end-doc */
static int
PanAction (int argc, char **argv, Coord x, Coord y)
{
- static int on_x, on_y;
int mode;
if (!ghidgui)
@@ -1921,18 +1919,6 @@ PanAction (int argc, char **argv, Coord x, Coord y)
gport->panning = mode;
- if (mode == 1)
- {
- on_x = x;
- on_y = y;
- }
- else if (x == on_x && y == on_y)
- {
- notify_crosshair_change (false);
- ghidgui->auto_pan_on = !ghidgui->auto_pan_on;
- notify_crosshair_change (true);
- }
-
return 0;
}
diff --git a/src/hid/gtk/gui-config.c b/src/hid/gtk/gui-config.c
index 698f57a..dba0635 100644
--- a/src/hid/gtk/gui-config.c
+++ b/src/hid/gtk/gui-config.c
@@ -128,7 +128,6 @@ static ConfigAttribute config_attributes[] = {
{"grid", CONFIG_Unused, NULL},
{"history-size", CONFIG_Integer, &_ghidgui.history_size},
- {"auto-pan-speed", CONFIG_Integer, &_ghidgui.auto_pan_speed},
{"top-window-width", CONFIG_Integer, &_ghidgui.top_window_width},
{"top-window-height", CONFIG_Integer, &_ghidgui.top_window_height},
{"log-window-width", CONFIG_Integer, &_ghidgui.log_window_width},
@@ -256,8 +255,6 @@ ghid_config_init (void)
ghidgui->n_mode_button_columns = 3;
ghidgui->small_label_markup = TRUE;
- ghidgui->auto_pan_on = TRUE;
- ghidgui->auto_pan_speed = 3;
ghidgui->history_size = 5;
dup_string (&color_file, "");
@@ -866,14 +863,6 @@ config_history_spin_button_cb (GtkSpinButton * spin_button, gpointer data)
}
static void
-config_auto_pan_speed_spin_button_cb (GtkSpinButton * spin_button,
- gpointer data)
-{
- ghidgui->auto_pan_speed = gtk_spin_button_get_value_as_int (spin_button);
- ghidgui->config_modified = TRUE;
-}
-
-static void
config_general_tab_create (GtkWidget * tab_vbox)
{
GtkWidget *vbox;
@@ -912,10 +901,6 @@ config_general_tab_create (GtkWidget * tab_vbox)
5.0, 25.0, 1.0, 1.0, 0, 0,
config_history_spin_button_cb, NULL, FALSE,
_("Number of commands to remember in the history list"));
- ghid_spin_button (vbox, NULL, ghidgui->auto_pan_speed,
- 1.0, 10.0, 1.0, 1.0, 0, 0,
- config_auto_pan_speed_spin_button_cb, NULL, FALSE,
- _("Auto pan speed"));
}
diff --git a/src/hid/gtk/gui-output-events.c b/src/hid/gtk/gui-output-events.c
index c483c3c..20e8e03 100644
--- a/src/hid/gtk/gui-output-events.c
+++ b/src/hid/gtk/gui-output-events.c
@@ -52,7 +52,6 @@
#define TOOLTIP_UPDATE_DELAY 200
-static gint x_pan_speed, y_pan_speed;
void
ghid_port_ranges_changed (void)
{
@@ -149,45 +148,6 @@ ghid_note_event_location (GdkEventButton * ev)
return moved;
}
-gboolean
-have_crosshair_attachments (void)
-{
- gboolean result = FALSE;
-
- switch (Settings.Mode)
- {
- case COPY_MODE:
- case MOVE_MODE:
- case INSERTPOINT_MODE:
- if (Crosshair.AttachedObject.Type != NO_TYPE)
- result = TRUE;
- break;
- case PASTEBUFFER_MODE:
- case VIA_MODE:
- result = TRUE;
- break;
- case POLYGON_MODE:
- case POLYGONHOLE_MODE:
- if (Crosshair.AttachedLine.State != STATE_FIRST)
- result = TRUE;
- break;
- case ARC_MODE:
- if (Crosshair.AttachedBox.State != STATE_FIRST)
- result = TRUE;
- break;
- case LINE_MODE:
- if (Crosshair.AttachedLine.State != STATE_FIRST)
- result = TRUE;
- break;
- default:
- if (Crosshair.AttachedBox.State == STATE_SECOND
- || Crosshair.AttachedBox.State == STATE_THIRD)
- result = TRUE;
- break;
- }
- return result;
-}
-
static gboolean
ghid_idle_cb (gpointer data)
{
@@ -603,26 +563,10 @@ ghid_port_window_enter_cb (GtkWidget * widget,
return FALSE;
}
-static gboolean
-ghid_pan_idle_cb (gpointer data)
-{
- gdouble dx = 0, dy = 0;
-
- if (gport->has_entered)
- return FALSE;
-
- dy = gport->view.coord_per_px * y_pan_speed;
- dx = gport->view.coord_per_px * x_pan_speed;
- ghid_pan_view_rel (dx, dy);
- return TRUE;
-}
-
gint
ghid_port_window_leave_cb (GtkWidget * widget,
GdkEventCrossing * ev, GHidPort * out)
{
- Coord x0, y0, x, y, dx, dy, w, h;
-
/* printf("leave mode: %d detail: %d\n", ev->mode, ev->detail); */
/* Window leave events can also be triggered because of focus grabs. Some
@@ -637,62 +581,6 @@ ghid_port_window_leave_cb (GtkWidget * widget,
return FALSE;
}
- if(out->has_entered && !ghidgui->in_popup)
- {
- /* if actively drawing, start scrolling */
-
- if (have_crosshair_attachments () && ghidgui->auto_pan_on)
- {
- /* GdkEvent coords are set to 0,0 at leave events, so must figure
- | out edge the cursor left.
- */
- w = ghid_port.width * out->view.coord_per_px;
- h = ghid_port.height * out->view.coord_per_px;
-
- x0 = EVENT_TO_PCB_X (0);
- y0 = EVENT_TO_PCB_Y (0);
- ghid_get_coords (NULL, &x, &y);
- x -= x0;
- y -= y0;
-
- if (gport->view.flip_x)
- x = -x;
- if (gport->view.flip_y)
- y = -y;
-
- dx = w - x;
- dy = h - y;
-
- x_pan_speed = y_pan_speed = 2 * ghidgui->auto_pan_speed;
-
- if (x < dx)
- {
- x_pan_speed = -x_pan_speed;
- dx = x;
- }
- if (y < dy)
- {
- y_pan_speed = -y_pan_speed;
- dy = y;
- }
- if (dx < dy)
- {
- if (dy < h / 3)
- y_pan_speed = y_pan_speed - (3 * dy * y_pan_speed) / h;
- else
- y_pan_speed = 0;
- }
- else
- {
- if (dx < w / 3)
- x_pan_speed = x_pan_speed - (3 * dx * x_pan_speed) / w;
- else
- x_pan_speed = 0;
- }
- g_idle_add (ghid_pan_idle_cb, NULL);
- }
- }
-
out->has_entered = FALSE;
ghid_screen_update ();
diff --git a/src/hid/gtk/gui.h b/src/hid/gtk/gui.h
index dede39c..5ba5aeb 100644
--- a/src/hid/gtk/gui.h
+++ b/src/hid/gtk/gui.h
@@ -127,7 +127,7 @@ typedef struct
gboolean adjustment_changed_holdoff,
command_entry_status_line_active,
- auto_pan_on, in_popup;
+ in_popup;
gboolean config_modified,
small_label_markup,
@@ -147,7 +147,7 @@ typedef struct
keyref_window_height,
library_window_width,
library_window_height,
- netlist_window_height, history_size, settings_mode, auto_pan_speed;
+ netlist_window_height, history_size, settings_mode;
}
GhidGui;
@@ -277,7 +277,6 @@ void ghid_port_ranges_changed (void);
void ghid_port_ranges_scale (void);
gboolean ghid_note_event_location (GdkEventButton * ev);
-gboolean have_crosshair_attachments (void);
gboolean ghid_port_key_press_cb (GtkWidget * drawing_area,
GdkEventKey * kev, gpointer data);
gboolean ghid_port_key_release_cb (GtkWidget * drawing_area,
|