1 This ChangeLog is automatically generated from the git commit messages
2 during the snapshot process. See README.snapshots and utils/git2cl.
4 2014-03-16 DJ Delorie * dj AT delorie dot com *
6 * tests/golden/hid_gcode4/gcode_oneline-bottom.gcode,
7 tests/golden/hid_gcode4/gcode_oneline-top.gcode,
8 tests/golden/hid_gcode6/gcode_oneline-bottom.gcode,
9 tests/golden/hid_gcode6/gcode_oneline-top.gcode: update gcode golden
10 files Checked with linuxcnc - the old goldens had zeros where the
11 parameters should have been.
13 2014-02-23 Jorge Barros de Abreu * ficmatin10 AT gmail dot com *
15 * po/pt_BR.po: pt_BR adjusts and make update-po Signed-off-by: bert * bert dot timmerman AT xs4all dot nl *
17 2014-02-03 Jorge Barros de Abreu * ficmatin10 AT gmail dot com *
19 * po/pt_BR.po: pt_BR.po update Closes-bug: lp-1275446
21 2014-02-03 Jorge Barros de Abreu * ficmatin10 AT gmail dot com *
23 * po/pt_BR.po: Minor changes in po pt_BR.po file Closes-bug: lp-1274404
25 2014-02-03 Vladimir Zhbanov * vzhbanov AT gmail dot com *
27 * src/hid/gtk/gui-config.c: Fix segfault caused by lack of commas in
28 a format expression Closes-bug: lp-1275407
30 2014-02-01 Jorge Barros de Abreu * ficmatin10 AT gmail dot com *
32 * po/pt_BR.po: Preferencias do PCB to Preferências... Signed-off-by: bert * bert dot timmerman AT xs4all dot nl *
34 2014-02-01 Vladimir Zhbanov * vzhbanov AT gmail dot com *
36 * doc/pcb.texi: Fix order of sections in the documentation Prevent warnings output by "make" when pcb.texi is processed.
38 2014-01-31 Vladimir Zhbanov * vzhbanov AT gmail dot com *
40 * doc/pcb.texi: Fix several typos in the documentation
42 2014-01-31 أحمد المحمودي (Ahmed El-Mahmoudy) * aelmahmoudy AT sabily dot org *
44 * src/pcbtest.sh.in: Fix 'make distcheck' Use proper target directory for pcblib-newlib. Closes-bug: lp-855405 Commit-message-by: Vladimir Zhbanov * vzhbanov AT gmail dot com *
46 2014-01-31 Vladimir Zhbanov * vzhbanov AT gmail dot com *
48 * po/POTFILES.in, po/POTFILES.skip: Add one more localized file to
49 POTFILES.in Additionally, the file generated from it is moved to POTFILES.skip
51 2013-01-30 Sergey Alyoshin * alyoshin dot s AT gmail dot com *
53 * src/action.c, src/buffer.c, src/hid/common/actions.c,
54 src/hid/gtk/gtkhid-main.c, src/hid/gtk/gui-config.c,
55 src/hid/gtk/gui-dialog.c, src/hid/gtk/gui-drc-window.c,
56 src/hid/gtk/gui-output-events.c, src/hid/gtk/gui-top-window.c,
57 src/hid/lpr/lpr.c, src/misc.c, src/parse_y.y, src/report.c,
58 src/toporouter.c, src/vendor.c: Add strings to localization Signed-off-by: Bert Timmerman * bert dot timmerman AT xs4all dot nl
59 * Signed-off-by: bert * bert dot timmerman AT xs4all dot nl *
61 2014-01-30 Vladimir Zhbanov * vzhbanov AT gmail dot com *
63 * src/hid/bom/bom.c: Don't use localized unit names in comments of
64 the X-Y files Fix a bug causing 'make distcheck' to fail for all bom_hid# tests in
65 localized environments because of using of a localized unit name in
66 a comment line of the output X-Y file.
68 2014-01-29 Vladimir Zhbanov * vzhbanov AT gmail dot com *
70 * po/POTFILES.in: Add a missing file to POTFILES.in
72 2014-01-29 Vladimir Zhbanov * vzhbanov AT gmail dot com *
74 * data/Makefile.am: Remove a duplicated line INTLTOOL_XML_RULE is used twice in Makefile.am, which results in
75 having two same lines in generated Makefile.
77 2014-01-29 Vladimir Zhbanov * vzhbanov AT gmail dot com *
79 * data/Makefile.am: Fix 'make distcheck' 'make distcheck' has been broken again in
80 c74ba603517380bae59f1ff68a5f100c2fb1c960
82 2014-01-29 Vladimir Zhbanov * vzhbanov AT gmail dot com *
84 * src/Makefile.am: Fix 'make distcheck' Fix a bug introduced in 6aa50cc4c93fec243cba9cd37c86090496af3feb
86 2012-12-04 Sergey Alyoshin * alyoshin dot s AT gmail dot com *
88 * src/hid/gtk/gui-utils.c: Allow hotkeys in button labels Use _with_mnemonic functions to allow '_' hotkey. Signed-off-by: bert * bert dot timmerman AT xs4all dot nl *
90 2012-12-02 Sergey Alyoshin * alyoshin dot s AT gmail dot com *
92 * src/hid/gtk/gui-output-events.c, src/macro.h: Add UNKNOWN_NAME
93 macro UNKNOWN_NAME macro is the same as UNKNOWN, but allow to specify
94 "unknown name", which can be useful for localization. Signed-off-by: bert * bert dot timmerman AT xs4all dot nl *
96 2014-01-26 Sergey Alyoshin * alyoshin dot s AT gmail dot com *
98 * src/hid/gtk/gui-top-window.c: Add tooltips to mode menu buttons Signed-off-by: bert * bert dot timmerman AT xs4all dot nl *
100 2014-01-18 Sergey Alyoshin * alyoshin dot s AT gmail dot com *
102 * po/POTFILES.in, src/hid/lpr/lpr.c, src/hid/ps/ps.c: Add strings
103 from LPR and PS HID's to translation Signed-off-by: bert * bert dot timmerman AT xs4all dot nl *
105 2012-12-02 Sergey Alyoshin * alyoshin dot s AT gmail dot com *
107 * src/hid/gtk/gui-dialog-print.c: Print dialog i18n Signed-off-by: bert * bert dot timmerman AT xs4all dot nl *
109 2014-01-26 bert * bert dot timmerman AT xs4all dot nl *
111 * data/.gitignore: Ignore data/pcb.appdata.xml. Signed-off-by: bert * bert dot timmerman AT xs4all dot nl *
113 2014-01-25 bert * bert dot timmerman AT xs4all dot nl *
115 * data/Makefile.am, data/pcb.appdata.xml, data/pcb.appdata.xml.in,
116 po/POTFILES.in: Let appdata have translatable strings. Signed-off-by: bert * bert dot timmerman AT xs4all dot nl *
118 2014-01-12 bert * bert dot timmerman AT xs4all dot nl *
120 * data/Makefile.am: Added the appdata target to the Makefile. Signed-off-by: bert * bert dot timmerman AT xs4all dot nl *
122 2014-01-12 bert * bert dot timmerman AT xs4all dot nl *
124 * data/pcb.appdata.xml: Added an appdata file. Signed-off-by: bert * bert dot timmerman AT xs4all dot nl *
126 2013-02-03 Bert Timmerman * bert dot timmerman AT xs4all dot nl *
128 * src/hid/gtk/gui-netlist-window.c: Fixing a typo. Signed-off-by: Bert Timmerman * bert dot timmerman AT xs4all dot nl
129 * Signed-off-by: bert * bert dot timmerman AT xs4all dot nl *
131 2013-02-03 Sergey Alyoshin * alyoshin dot s AT gmail dot com *
133 * src/hid/gtk/gui-config.c, src/hid/gtk/gui-misc.c,
134 src/hid/gtk/gui-netlist-window.c, src/report.c: Add strings to
135 translation with context Signed-off-by: Bert Timmerman * bert dot timmerman AT xs4all dot nl
136 * Signed-off-by: bert * bert dot timmerman AT xs4all dot nl *
138 2012-12-01 Sergey Alyoshin * alyoshin dot s AT gmail dot com *
140 * src/gettext.h, src/global.h: Use gettext.h for pgettext() Signed-off-by: bert * bert dot timmerman AT xs4all dot nl *
142 2014-01-26 Sergey Alyoshin * alyoshin dot s AT gmail dot com *
144 * po/ru.po: Updated Russian translation Signed-off-by: bert * bert dot timmerman AT xs4all dot nl *
146 2014-01-25 Jorge Barros de Abreu * ficmatin10 AT gmail dot com *
148 * po/pt_BR.po: pt_BR language update Signed-off-by: bert * bert dot timmerman AT xs4all dot nl *
150 2013-09-02 Sergey Alyoshin * alyoshin dot s AT gmail dot com *
152 * src/find.c: Use ngettext for message with plural form Signed-off-by: bert * bert dot timmerman AT xs4all dot nl *
154 2014-01-16 xmd * shinobi dot jack AT gmail dot com *
156 * src/hid/gerber/gerber.c: gerber.c: added an option for Hackvana
157 file name convention. Signed-off-by: bert * bert dot timmerman AT xs4all dot nl *
159 2012-12-01 Sergey Alyoshin * alyoshin dot s AT gmail dot com *
161 * src/hid/gtk/ghid-main-menu.c: Menu items i18n This adds i18n for gtk menus Closes-bug: lp-1113758
163 2014-01-20 Vladimir Zhbanov * vzhbanov AT gmail dot com *
165 * autogen.sh, src/.gitignore, src/Makefile.am: Fix menu
166 gettextization Changes were made to eliminate errors output by 'make distcheck' or
167 'make -C po update-po'. Closes-bug: lp-913458
169 2012-12-01 Sergey Alyoshin * alyoshin dot s AT gmail dot com *
171 * po/POTFILES.in: Fix .res.in to .res.h in POTFILES.in Affects-bug: lp-913458
173 2014-01-18 Jorge Barros de Abreu * ficmatin10 AT gmail dot com *
175 * po/LINGUAS, po/pt_BR.po: Added pt_BR translation file. Signed-off-by: bert * bert dot timmerman AT xs4all dot nl *
177 2013-10-10 Kevin Redon * kevredon AT mail dot tsaitgaist dot info *
179 * src/djopt.c: add missing option splitlines in djopt_syntax Signed-off-by: bert * bert dot timmerman AT xs4all dot nl *
181 2013-10-10 Kevin Redon * kevredon AT mail dot tsaitgaist dot info *
183 * src/action.c: fix missing ) typo in changeclearsize_syntax Signed-off-by: bert * bert dot timmerman AT xs4all dot nl *
185 2013-10-27 Peter Clifton * peter AT clifton-electronics dot co dot uk *
187 * src/hid/gtk/gui-misc.c, src/hid/gtk/gui-top-window.c: Fix lockup
188 when a scroll event is received outside the drawing area This can occur if the user is dragging a component in the drawing
189 area (hence a pointer grab is in operation), and during this drag,
190 the user moves the mouse outside the drawing area and touches the
191 scroll wheel. We then hit the scroll event handler, mouse action handler, action
192 dispatcher etc.. and find we do not have a current location known.
193 (The cursor is outside the drawing area). We then prompt for a
194 location, and using a recursive main- loop, wait for some kind (e.g.
195 a mouse click) which gives one. The problem appears to be caused by the fact it is likely we get a
196 second scroll event with the first, and that we process this from
197 within the recursive main-loop. We are still outside the drawing
198 area, so prompt the user for a location, and enter another level of
199 recursion. (In my tests, I was able to hit 6 or 7 levels deep of
200 main-loop recursion). Our code fails to exit its recursive main-loop if it rucurses, and
201 in any case, we would not want to prompt the user "n" times in a
202 row. The failure to exit from recursion is probably due to the event
203 handlers attached by the first recursive main-loop being called
204 prior to those attached later. (We attempt to quit the first
205 recursive main-loop, but cannot, as there are others now running). As a quick work-around to the immediate problem, prevent scroll
206 events being received from within the recursive main-loop. This
207 prevents the lockup, but ideally we should re-think how we handle
208 these events to avoid requiring the user to click on a coordinate. I have also added a GDK_THREADS_{LEAVE,ENTER} pair around running
209 the main-loop, as this is what GTK's code does for gtk_dialog_run().
211 2013-08-03 Markus Hitter * mah AT jump-ing dot de *
213 * tests/golden/hid_bom1/Makefile.am,
214 tests/golden/hid_bom1/bom_general.bom,
215 tests/golden/hid_bom1/bom_general.xy,
216 tests/golden/hid_bom2/Makefile.am,
217 tests/golden/hid_bom2/bom_general.xy,
218 tests/golden/hid_bom2/test.bom,
219 tests/golden/hid_bom3/bom_general.bom,
220 tests/golden/hid_bom3/test.xy,
221 tests/golden/hid_bom4/bom_general.bom,
222 tests/golden/hid_bom4/bom_general.xy: Regenerate tests after "Make
223 xy file output IPC 7531 compliant.".
225 2012-12-31 dark141 AT gmail dot com * dark141 AT gmail dot com *
227 * src/hid/bom/bom.c: Make xy file output IPC 7531 compliant. Improved code style by Bert Timmerman * bert dot timmerman AT
230 2013-08-02 Eugene Mikhantiev * mikhantiev AT gmail dot com *
232 * po/POTFILES.skip: Add intl/plural.c to POTFILES.skip
234 2012-11-08 Markus Hitter * mah AT jump-ing dot de *
236 * src/action.c: src/action.c: add a number of comments. ... in the hope they're right.
238 2013-07-31 Markus Hitter * mah AT jump-ing dot de *
240 * src/res_parse.y: src/res_parse.y: handle resource globals
241 gracefully. Likely, res_file is used somewhere to check something. In case a
242 resource file was loaded earlier, but the current parsing is from a
243 string, res_file is still != NULL, so this check would mislead. Solution: Clear res_file and res_filename as soon as the file behind it gets closed. Also replace a number of zeros with the more appropriate NULL. Affects-bug: lp-1206882
245 2013-07-15 DJ Delorie * dj AT delorie dot com *
247 * src/action.c: Additional checks for existing names In ActionElementList, add an additional check for
248 DESCRIPTION_NAME(e) before comparing with an old footprint.
250 2013-06-22 Bert Timmerman * bert dot timmerman AT xs4all dot nl *
252 * src/Makefile.am: src/Makefile.am: revert the AM_CPPFLAGS change as
253 it breaks the building process. Signed-off-by: Bert Timmerman * bert dot timmerman AT xs4all dot nl
256 2013-06-18 Leo Bärring * leo dot barring AT gmail dot com *
258 * configure.ac, doc/extract-docs, doc/pcb.texi, gts/Makefile.am,
259 src/Makefile.am, src/hid/lesstif/main.c: Patch to resolve archlinux
260 build warn/errors. Signed-off-by: Bert Timmerman * bert dot timmerman AT xs4all dot nl
263 2013-04-19 Gabriel Paubert * paubert AT iram dot es *
265 * src/hid/gerber/gerber.c: Gerber: use 0.1mil resolution for
266 imperial drill files. Acked-by: Andrew Poelstra * apoelstra AT wpsoftware dot net *
267 Acked-by: Peter Stuge * peter AT stuge dot se *
269 2013-04-19 Gabriel Paubert * paubert AT iram dot es *
271 * src/pcb-printf.c, src/pcb-printf.h: pcb-printf: Add 0.1mil
272 resolution, improve documentation and a small cleanup. 0.1mil resolution is needed for improved imperial drill file
273 generation. Apart form this, the list of %m unit modifiers is now
274 fully documented and a redundant test was removed. Acked-by: Andrew Poelstra * apoelstra AT wpsoftware dot net *
275 Acked-by: Peter Stuge * peter AT stuge dot se *
277 2013-04-19 Gabriel Paubert * paubert AT iram dot es *
279 * src/hid/gerber/gerber.c: Gerber: reset aperture numbers on
280 initialization. This prevents aperture numbers from growing to infinity if you
281 export several times to Gerber in the same GUI session. Acked-by: Andrew Poelstra * apoelstra AT wpsoftware dot net *
282 Acked-by: Peter Stuge * peter AT stuge dot se *
284 2013-04-13 Bert Timmerman * bert dot timmerman AT xs4all dot nl *
286 * src/hid/ps/ps.c: ps.c: correction in printer calibration. Reported-by: Stephen R. Besch * sbesch AT buffalo dot edu * Signed-off-by: Bert Timmerman * bert dot timmerman AT xs4all dot nl
289 2012-11-01 Bert Timmerman * bert dot timmerman AT xs4all dot nl *
291 * doc/gs/installation.texi: doc/gs/installation.texi: better use
292 "yum localinstall" to keep the updater synchronised. Corrected some typos. Signed-off-by: Bert Timmerman * bert dot timmerman AT xs4all dot nl
295 2012-04-18 Bert Timmerman * bert dot timmerman AT xs4all dot nl *
297 * doc/gs/installation.texi: doc/gs/installation.texi: Added a remark
298 about administrator-privileges. Signed-off-by: Bert Timmerman * bert dot timmerman AT xs4all dot nl
301 2012-01-11 Bert Timmerman * bert dot timmerman AT xs4all dot nl *
303 * doc/gs/installation.texi: doc/gs/installation.texi: Added
304 information how to install pcb on Fedora. Signed-off-by: Bert Timmerman * bert dot timmerman AT xs4all dot nl
307 2012-08-13 Kai-Martin Knaak * kmk AT lilalaser dot de *
309 * src/.gitignore: add parse_y.output to src/.gitignore Signed-off-by: Bert Timmerman * bert dot timmerman AT xs4all dot nl
312 2012-12-02 Sergey Alyoshin * alyoshin dot s AT gmail dot com *
314 * src/hid/gtk/ghid-cell-renderer-visibility.c: Don't localize signal
315 name Signed-off-by: Bert Timmerman * bert dot timmerman AT xs4all dot nl
318 2013-01-03 Peter Clifton * peter AT clifton-electronics dot co dot uk *
320 * src/find.c: find.c: Remove some "flag" variable usage in DRCFind() Avoid confusion by passing *FLAG constants directly to some
321 functions. This removes several cases where we would set the
322 variable, use it once, then change it for the next usage, making the
323 code more succinct. I was not able to remove the flag variable entirely, as the while
324 loop calling DoIt() relies on it being changed inside the loop in
325 order to terminate. It should be possible to re-write the loop exit
326 condition if desired, but I'm not sure I completely understand the
327 behaviour of the existing code yet.
329 2013-01-03 Peter Clifton * peter AT clifton-electronics dot co dot uk *
331 * src/find.c: find.c: Remove "flag" variable in DRCAll(), and pass
332 explicitly each time. This avoids confusion by making the flag passed to each call
333 clearer. It removes several cases where we would set the variable,
334 use it once, then change it for the next usage, making the code more
337 2013-01-03 Peter Clifton * peter AT clifton-electronics dot co dot uk *
339 * src/find.c: find.c: Fix flag passed to ListStart() in DRCFind(). We should have set the flag before calling ListStart(), as it marks
340 the first item with that flag.
342 2013-01-03 Peter Clifton * peter AT clifton-electronics dot co dot uk *
344 * src/find.c: find.c: Fix possible un-assigned use of "flag" in
345 DRCFind(), fix bloated test. Caught by inspection.. no idea why the compiler didn't notice. Before commit 4cbfadfb7a496e60c25f47c88bdb374b4d3777bb, our local
346 "flag" variable was the file-global "TheFlag". If the "shrink" test
347 was not run, the code called ClearFlagOnAllObjects() with the
348 previously assigned "TheFlag". After the above commit, we would use
349 "flag" unassigned. If the shrink test is executed, the "FOUNDFLAG" is cleared from
350 objects, leaving a SELECTEDFLAG image on the copper in question as a
351 reference to compare against when considering the bloated geometry.
352 (This is the wrong reference, as we should be comparing against the
353 non-shrunk case). If the shrink test was not run, we left no reference for the boated
354 test. We should clear FOUNDFLAG _and_ SELECTEDFLAG after the shrunk test,
355 then construct a new reference to start with, using non-bloated
356 geometry. This partly fixes the behaviour of the bloated test, as it is now
357 run against a non-bloated reference, not a shrunk reference. This
358 fixes false reports of "Copper areas too close" for track objects
359 encountered after a "Potential for broken trace" warning. There are still other issues with the bloated DRC test. One
360 important one is that it may run multiple times on the same geometry
361 if a "Potential for broken trace" error is present, or if the
362 "shrink" test is not run. The repeated runs are because in the "Potential for broken trace"
363 case, only part of the track (or none if we skip the shrink test)
364 will get the DRCFLAG set. DRCFind then will be called repeatedly on
365 all pins, pads and vias, despite having already touched the geometry
366 with the bloated test. To fix this, we need to separate the shrink
367 and bloat tests into distinct passes, and set the DRCFLAG on objects
368 during both tests. We can't simply set the DRCFLAG from the bloated
369 test as it stands, as doing so would mask investigating "Potential
370 for broken trace" cases after the first encountered. An example of false "Copper areas too close" being fixed by this
371 commit is the following test-case: FileVersion[20091103] PCB["" 65.000mm 15.0000mm] Grid[984.251969 0.0000 0.0000 1] PolyArea[3100.006200]
372 Thermal[0.500000] DRC[0.5000mm 0.5000mm 0.5000mm 0.2500mm 0.4000mm
373 0.5000mm] Flags("nameonpcb,uniquename,clearnew,snappin")
374 Groups("1,c:2,s:3:4")
376 Styles["Signal,0.5000mm,1.0000mm,0.5000mm,0.2500mm:Power,25.00mil,60.00mil,35.00mil,10.00mil:Fat,40.00mil,60.00mil,35.00mil,10.00mil:Skinny,6.00mil,24.02mil,11.81mil,6.00mil"]Attribute("PCB::grid::unit" "mm") Attribute("PCB::grid::size"
377 "0.2500mm") Via[9.7500mm 7.2500mm 1.6000mm 0.5000mm 0.0000 0.5000mm "" ""]
378 Via[53.5000mm 7.2500mm 1.6000mm 0.5000mm 0.0000 0.5000mm "" ""]
379 Layer(1 "top") ( Line[9.7500mm 8.5000mm 28.0000mm 8.5000mm 0.5000mm 0.5000mm
380 "clearline"] Line[9.7500mm 7.2500mm 9.7500mm 8.5000mm 0.5000mm
381 0.5000mm "clearline"] Line[28.2500mm 8.5000mm 53.5000mm 8.5000mm
382 0.5000mm 0.5000mm "clearline"] Line[53.5000mm 7.2500mm 53.5000mm
383 8.5000mm 0.5000mm 0.5000mm "clearline"] ) Layer(2 "bottom") ( )
384 Layer(3 "silk") ( ) Layer(4 "silk") ( )
386 2013-01-03 DJ Delorie * dj AT delorie dot com *
388 * src/hid/png/png.c: png: --fill-holes Add an option to the PNG exporter to draw pin/via drill holes as
389 filled instead of hollow, for use with CNC machines that don't need
390 a "helper" hole in the copper. Also fixed a doc typo.
392 2013-01-03 Peter Clifton * peter AT clifton-electronics dot co dot uk *
394 * src/find.c: find.c: Use SetThing, rather than open-coding
395 assignments to thing_* I'm trying to identify all uses of SetThing and similar consructs,
396 so I can eventually kill them.
398 2013-01-03 Peter Clifton * peter AT clifton-electronics dot co dot uk *
400 * src/find.c: find.c: Remove unnecessary PIN/VIA test from
401 SetThing() This is not needed since commit
402 d581a90edc7fb7c0b4c6351611cc4a6689d7620b which put similar code into
403 ADD_PV_TO_LIST(), the only caller which could have previously
404 resulted in a SetThing call with the wrong type.
406 2013-01-03 Peter Clifton * peter AT clifton-electronics dot co dot uk *
408 * configure.ac: configure.ac: Test for libgd once, not per HID which
409 uses it. This avoids some repeated tests, so should help to speed up the
410 configure process a little. This commit also enforces testing for
411 the required PNG support in libgd if the gcode or nelma HIDs are
414 2013-01-03 Peter Clifton * peter AT clifton-electronics dot co dot uk *
416 * configure.ac: configure.ac: Remove CC_OR_CXX_FLAGS substitution
419 2013-01-03 Peter Clifton * peter AT clifton-electronics dot co dot uk *
421 * src/Makefile.am: src/Makefile.am: We don't gain anything by
422 setting AM_CFLAGS to C_OR_CXX_FLAGS We were duplicating command-line flags un-necessarily, and it does
423 not stop the a build with the C++ compiler using CFLAGS, as was (in
424 hindsight) the original intention before commit
425 72cdf2ecef3361a00fbd0ee3e540f7383e62272c where I changed a complete
426 CFLAGS override to a AM_CFLAGS addition. As we should not override CFLAGS in a Makefile (it prevents the user
427 from setting CFLAGS at "make" time), I'm removing this completely.
429 2013-01-03 Peter Clifton * peter AT clifton-electronics dot co dot uk *
431 * configure.ac: configure.ac: Use CPPFLAGS, not CFLAGS for our
432 include directives. We were previously using CFLAGS for adding pre-processor includes,
433 where these should really end up in the CPPFLAGS variable.
434 Confusingly, their constituents tend to come from variables set by
435 autoconf / pkgconfig expansions in the form of LIBNAME_CFLAGS. Doing this allows the user to easily override CFLAGS at build time
436 without needing to replicate the enture include path list.
438 2013-01-03 Peter Clifton * peter AT clifton-electronics dot co dot uk *
440 * configure.ac: configure.ac: Save and restore CPPFLAGS either side
441 of test for libgd Ensure we add GD_CFLAGS to the the main flag list later instead.
443 2013-01-03 Peter Clifton * peter AT clifton-electronics dot co dot uk *
445 * configure.ac: configure.ac: Don't add GD_CFLAGS to CFLAGS, only
446 CPPFLAGS GD_CFLAGS will almost certainly contain pre-processor flags, not
447 strictly compiler flags, and we don't need to have a copy in CFLAGS
450 2013-01-03 Peter Clifton * peter AT clifton-electronics dot co dot uk *
452 * configure.ac: configure.ac: Save and restore CPPFLAGS either side
453 of test for X11 stuff We add X_CFLAGS and X_LIBS to the main flag list later, so don't
454 leave an extra copy lying around in the CPPFLAGS variable.
456 2013-01-03 Peter Clifton * peter AT clifton-electronics dot co dot uk *
458 * configure.ac: configure.ac: Don't copy CFLAGS into CPPFLAGS for
459 X11 tests CFLAGS should work in its own right, and CPPFLAGS does not need a
462 2013-01-03 Peter Clifton * peter AT clifton-electronics dot co dot uk *
464 * configure.ac: configure.ac: Don't add win32 build flags to
465 CPPFLAGS as well as CFLAGS These are compiler flags only, not preprocessor flags.
467 2013-01-03 Peter Clifton * peter AT clifton-electronics dot co dot uk *
469 * configure.ac: Remove CYGWIN_CFLAGS and CYGWIN_CPPFLAGS from
470 configure.ac We no longer ship a build-script which requries these. Any specific
471 CFLAGS for a given build should be overridden by specifying CFLAGS
472 at configure or make time.
474 2013-01-01 Peter Clifton * peter AT clifton-electronics dot co dot uk *
476 * src/hid/gcode/gcode.c: hid/gcode: Add a more direct "#include
477 <locale.h>" for setlocale() The lack of this include caused a failure to build on my machine
478 when compiled without optimisation (-O0). With any optimisation
479 turned on, the build would work without the include. Having chased this strangeness down, it turns out that we were
480 including libintl.h via global.h, and that libintl.h includes
481 locale.h, IFF optimisation is turned on at the time it is
484 2013-01-01 Peter Clifton * peter AT clifton-electronics dot co dot uk *
486 * src/find.c: find.c: Remove some unnecessary includes.
488 2013-01-01 Peter Clifton * peter AT clifton-electronics dot co dot uk *
490 * src/find.c: find.c: Move file-global "NumberOfPads" into the
491 function which uses it
493 2012-12-24 Peter Clifton * peter AT clifton-electronics dot co dot uk *
495 * src/find.c: find.c: Pass flags to sub-functions without using
496 static variable "TheFlag".
498 2012-12-30 Peter Clifton * peter AT clifton-electronics dot co dot uk *
500 * src/find.c: find.c: Remove some un-needed forward declarations of
503 2012-12-25 Peter Clifton * peter AT clifton-electronics dot co dot uk *
505 * src/find.c, src/polygon.c, src/polygon.h: Refactor signature of
506 PlowsPolygon callback to take userdata This allows callers to pass arbitrary data into their callbacks
507 without resorting to nasty workarounds like global variables.
509 2012-12-30 Peter Clifton * peter AT clifton-electronics dot co dot uk *
511 * : commit 6963cfda0ca661a7a1397ef5b54e418f76b89260 Author: Peter
512 Clifton * peter AT clifton-electronics dot co dot uk * Date: Mon
513 Dec 24 00:13:41 2012 +0000
515 2012-12-30 Peter Clifton * peter AT clifton-electronics dot co dot uk *
517 * src/main.c: Change FOUND objects colour from green to purple... Aim to differentiate the region connected to the search origin from
518 those which should be (but are not yet) connected to it.
520 2012-12-10 Peter Clifton * peter AT clifton-electronics dot co dot uk *
522 * src/action.c: Tag physically/logically connected items differently
523 in the "Find" action This commit restores the semantic meaning of the "found" flag to
524 what it was before commit 764c3560a722c768a7048f5c70811ec363862882,
525 and uses the "connected" flag to identify which of the "found"
526 (logically connected) items are physically connected to the search
527 origin. The aim here is to differentiate between what an ohm-meter would
528 show connected with the board as-currently designed, and what it
529 would read if all rat-lines were implemented.
531 2012-12-24 Peter Clifton * peter AT clifton-electronics dot co dot uk *
533 * src/find.c: find.c: Use pointers to objects, not shallow copies of
534 their structures Since commit 4658e4074b4446337467f99fa2b8f9b7147e7e01, we don't
535 modify the copied objects, so we can use pointers instead.
537 2012-12-23 Peter Clifton * peter AT clifton-electronics dot co dot uk *
539 * src/action.c, src/gpcb-menu.res.in, src/pcb-menu.res.in: Add
540 option to "Select" action, differentiating "FOUND" and "SELECTED"
541 objects The exising "Select" action included the variant
542 "Select(Connected)", which selected any object with the "FOUNDFLAG"
543 set. As we now make a distinction between logical and physical
544 connectivity (FOUND and SELECTED) respectively, this commit
545 introduces a split into "Select(Found)" and "Select(Connected)"
546 variants. There is a change here, in that "Select(Connected)" now acts on
547 objects with the CONNECTED flag set, (not the FOUND flag as it did
550 2012-12-23 Peter Clifton * peter AT clifton-electronics dot co dot uk *
552 * src/draw.c, src/undo.h: draw.c: Support for coloring objects with
553 CONNECTEDFLAG set We now color objects with the FOUNDFLAG set in the FoundColor, not
554 the ConnectedColor as we did previously. Unsurprisingly, objects
555 with the CONNECTEDFLAG set get rendered in the ConnectedColor. CONNECTEDFLAG is tested before FOUNDFLAG, and takes precidence if an
556 object has both flags set.
558 2012-12-23 Peter Clifton * peter AT clifton-electronics dot co dot uk *
560 * src/create.c, src/global.h, src/main.c: Add FoundColor to resource
561 settings, distinct from the Connected color For now, set ConnectedColour and FoundColor to the same green, so we
562 can introduce this patch series without flip-flopping the renderered
565 2012-12-22 Peter Clifton * peter AT clifton-electronics dot co dot uk *
567 * src/const.h, src/strflags.c: Add a new flag, "connected" /
568 CONNECTEDFLAG. The intended use of this flag is to mark physical connections.
570 2012-12-22 Peter Clifton * peter AT clifton-electronics dot co dot uk *
572 * src/find.c: find.c: Avoid adding any rat-lines at all when AndRats
573 is false. Previously we were adding some rat-lines when searching for physical
574 connections. We should stop at the physical->rat boundary, not the
575 opposite end of the ratline.
577 2012-12-23 Peter Clifton * peter AT clifton-electronics dot co dot uk *
579 * src/find.c: find.c: Fix inverted logic in LookupConnection() When AndRats is true, we may consider starting with a ratline
580 object, otherwise we do no. I got this backwards by mistake.
582 2012-12-25 Peter Clifton * peter AT clifton-electronics dot co dot uk *
584 * src/find.c: find.c: Remove file-global "IsBad", use
585 PlowsPolygons() return value. This variable was used to communicate state from the drc_callback(),
586 however PlowsPolygons() returns the sum of the values returned by
587 its callback function. As our callback returns 0 on success, 1 on
588 DRC failure, we know any non-zero return from PlowsPolygons()
589 implies a DRC problem.
591 2012-12-24 Peter Clifton * peter AT clifton-electronics dot co dot uk *
593 * src/find.c: find.c: Avoid modifying bounds of the objects we are
594 passing down Bloat the bounding box into a local BoxType structure instead, to
595 avoid passing inconsistent objects to lower level functions.
597 2012-12-27 Peter Clifton * peter AT clifton-electronics dot co dot uk *
599 * src/find.c: find.c: Avoid repeated lookup of layer pointer by
600 number Rename a few "layer" varaibles to "layer_no", and re-use "layer"
601 where necessary as a LayerType *, rather than a Cardinal.
603 2012-12-24 Peter Clifton * peter AT clifton-electronics dot co dot uk *
605 * src/find.c: find.c: Tidy up some macro definitions (Whitespace only changes)
607 2012-12-24 Peter Clifton * peter AT clifton-electronics dot co dot uk *
609 * src/find.c: find.c: Remove unused function pv_touch_callback()
611 2012-12-24 Peter Clifton * peter AT clifton-electronics dot co dot uk *
613 * src/action.c: action.c: Fix drawing lines on silkscreen with
614 auto-enforce DRC enabled The auto-enforce DRC code was not incorrectly setting FOUNDFLAG on
615 one of each pair of line-segments drawn with a mouse-click. Completes the fix from commit
616 aa7196dc29a761ecddda1a40d68fedf39ab78c31 Affects-bug: lp-699291
618 2012-12-23 Peter Clifton * peter AT clifton-electronics dot co dot uk *
620 * src/action.c, src/find.c, src/find.h,
621 src/hid/gtk/gui-drc-window.c, src/hid/gtk/gui-netlist-window.c,
622 src/hid/lesstif/netlist.c, src/rats.c, src/report.c, src/select.c,
623 src/set.c: Rename ResetFound{LinesAndPolygons,PinsViasAndPads} and
624 ResetConnections These functions are not specific to the "found" flag, (or the soon
625 to be introduced "connected" flag, so to avoid confusion, rename
626 them: ClearFlagOnLinesAndPolygons () ClearFlagOnPinsViasAndPads () ClearFlagOnAllObjects ()
628 2012-12-23 Peter Clifton * peter AT clifton-electronics dot co dot uk *
630 * src/buffer.c, src/const.h, src/copy.c: Add #define list of flags
631 to unset when copying into a buffer Previously, the removal of FOUNDFLAG was hard-coded in various
632 places, lets consolidate the location to one header file, as when we
633 split the FOUNDFLAG to differentiate logical and physical
634 connectivity, we will only have one location to update.
636 2012-12-23 Peter Clifton * peter AT clifton-electronics dot co dot uk *
638 * src/hid/gtk/gui-drc-window.c: hid/gtk/gui-drc-window.c: Refactor
639 unset_found_flags() to use ResetConnections() There is a lot of code in this function which matches
640 ResetConnections(), we only need to take care of the undo buffer
641 management at the end.
643 2012-12-23 Peter Clifton * peter AT clifton-electronics dot co dot uk *
645 * src/const.h: const.h: Re-indent flags with spaces, rather than
646 tabs Whitespace only change. Allows adding flags with longer hex-strings
647 without having to shuffle the indenting too much.
649 2012-12-23 Peter Clifton * peter AT clifton-electronics dot co dot uk *
651 * src/const.h: const.h: Fix flag documentation for the NOPASTE flag We were listing the wrong flag value for this flag.
653 2012-12-19 Peter Clifton * peter AT clifton-electronics dot co dot uk *
655 * src/find.c: find.c: Refactor some duplicated code for adding
656 objects to various lists
658 2012-12-22 Peter Clifton * peter AT clifton-electronics dot co dot uk *
660 * src/hid/gtk/gtkhid-gl.c: hid/gtk: (GL) Disable scissor test for
661 pinout preview widget. The partial drawing is interacting badly with our double-buffering,
662 as we are not painting the entire buffer we are swapping onto the
663 screen. I have left a comment and some debug code, as this may need
664 revisiting to address what is really going on here.
666 2012-12-22 Peter Clifton * peter AT clifton-electronics dot co dot uk *
668 * src/hid/gtk/gtkhid-gl.c: hid/gtk: Disable GL alpha-blending for
669 the pinout preview We aren't using subcompositing for this, so don't alpha-blend.
671 2012-12-23 Peter Clifton * peter AT clifton-electronics dot co dot uk *
673 * src/hid/gtk/gtkhid-gl.c: hid/gtk: (GL) Start with the stencil test
674 disabled in all rendering Keep the pinout preview and pixmap rendering paths as close as
675 possible to the main drawing window one. There was probably no real
676 issue here, but it doesn't hurt to be consistent.
678 2012-12-22 Peter Clifton * peter AT clifton-electronics dot co dot uk *
680 * src/hid/gtk/gtkhid-gl.c: hid/gtk: Use common GL setup and teardown
681 code for different expose paths
683 2012-12-22 Peter Clifton * peter AT clifton-electronics dot co dot uk *
685 * src/buffer.c, src/copy.c, src/create.c, src/create.h,
686 src/parse_y.y: create.c: Remove Element parameter to
687 CreateNewElement() Lets always make a new element, not re-use old memory. It seems
688 saner to do this when we have an API with "New" in the name! No callers use the facility to fill in a pre-allocated (or already
689 used) ElementType structure any more.
691 2012-12-22 Peter Clifton * peter AT clifton-electronics dot co dot uk *
693 * src/parse_y.y: parse_y.y: Pass NULL explicitly to
694 CreateNewElement(), rather than via yyElement This makes things clearer.
696 2012-12-22 Peter Clifton * peter AT clifton-electronics dot co dot uk *
698 * src/buffer.c, src/copy.c, src/copy.h,
699 src/hid/gtk/gui-pinout-preview.c: copy.c: Remove "Dest" variable to
700 CopyElementLowLevel() function We no longer require this, as all callers pass NULL in order that
701 CopyElementLowLevel() allocates memory for the new element.
703 2012-12-22 Peter Clifton * peter AT clifton-electronics dot co dot uk *
705 * src/buffer.c: AddElementToBuffer(): Let CopyElementLowLevel()
706 create the element to copy into.
708 2012-12-22 Peter Clifton * peter AT clifton-electronics dot co dot uk *
710 * src/hid/gtk/gtkhid-gdk.c, src/hid/gtk/gtkhid-gl.c,
711 src/hid/gtk/gui-pinout-preview.c, src/hid/gtk/gui-pinout-preview.h:
712 hid/gtk: Make the pinout preview element use dynamicly allocated
713 memory. By embedding the element structure in our data-structure, we were
714 forcing various element initialisation and copy routines to be
715 require operating on a pre-allocated ElementType - rather than just
716 returning us a pointer to a newly allocated ElementType.
718 2012-12-22 Peter Clifton * peter AT clifton-electronics dot co dot uk *
720 * src/mymem.c: mymem.c: Allow elements to exist independently of a
721 buffer. If the DataType pointer to GetElementMemory is NULL, we allocate
722 memory but don't add to the buffer's element list or counters. This is useful as it will allow rendering of pinout previews without
723 needing separate (or static) memory allocation to hold the previewed
726 2012-12-22 Peter Clifton * peter AT clifton-electronics dot co dot uk *
728 * src/draw.c: draw.c: Always draw pin / hole names when in pinout
729 preview This was removed a long time ago by mistake when refactoring some of
730 this drawing code, and causes missing text in the Lesstif HID pinout
733 2012-12-22 Peter Clifton * peter AT clifton-electronics dot co dot uk *
735 * src/hid/common/extents.c: hid/common: Fix extents computation in
736 nm units We still had some fallout from the nm units conversion here, using
737 MAXINT rather than COORD_MAX for some bounds checking. This was completely breaking the lesstif HID pinout preview window.
739 2012-12-22 Peter Clifton * peter AT clifton-electronics dot co dot uk *
741 * src/buffer.c, src/copy.c, src/copy.h,
742 src/hid/gtk/gui-pinout-preview.c: copy.c: Add mask_flags parameter
743 to CopyElementLowLevel() This avoids us needing to unset ExtraFlags separately in buffer.c
745 2012-12-22 Peter Clifton * peter AT clifton-electronics dot co dot uk *
747 * src/action.c, src/hid/gtk/gui-netlist-window.c,
748 src/hid/lesstif/netlist.c, src/select.c, src/select.h: select.c:
749 Rename SelectConnection() to SelectByFlag() and add flag parameter
751 2012-12-22 Peter Clifton * peter AT clifton-electronics dot co dot uk *
753 * src/select.c: select.c: Rename "Flag" to "select" for clarity. This will help avoid confusion when adding a "flag" parameter to
754 specify which flag to check in SelectConnection().
756 2012-12-19 Peter Clifton * peter AT clifton-electronics dot co dot uk *
758 * src/find.c, src/find.h: find.c: Make some setup / teardown
759 functions not used outside of find.c static. This makes the following functions private to find.c: InitComponentLookup FreeComponentLookupMemory InitLayoutLookup FreeLayoutLookupMemory
761 2012-12-18 Peter Clifton * peter AT clifton-electronics dot co dot uk *
763 * src/find.c, src/find.h: find.c: Remove unused APIs SaveFindFlag()
764 and RestoreFindFlag() The find.c APIs which require flags setting up now take the flag as
765 a function parameter.
767 2012-12-18 Peter Clifton * peter AT clifton-electronics dot co dot uk *
769 * src/hid/gtk/gui-netlist-window.c, src/hid/lesstif/netlist.c,
770 src/rats.c, src/select.c: Remove calls to SaveFindFlag() These were needed before our APIs specified which flags they
771 operated on, but are now redundant. All entrypoints in find.c which
772 use flags now set the flag before commencing work.
774 2012-12-18 Peter Clifton * peter AT clifton-electronics dot co dot uk *
776 * src/find.c, src/find.h, src/hid/gtk/gui-netlist-window.c,
777 src/hid/lesstif/netlist.c, src/rats.c, src/select.c: find.c: Add
778 flag parameter to RatFindHook() API. This saves us having to expose an API to save and restore the find.c
779 static "theFlag" variable. The key difference (once the save/restore are removed), is that we
780 then won't restore "TheFlag" variable after we are done. This will
781 not matter as all entry-points in find.c now take a flag parameter
782 and there should not be reentrancy in these calls.
784 2012-12-16 Peter Clifton * peter AT clifton-electronics dot co dot uk *
786 * src/hid/batch/batch.c: hid/batch: Add missing #include
787 "hid_draw.h" I should have built-tested all HIDs when I refectored this.. oops.
789 2012-12-16 Peter Clifton * peter AT clifton-electronics dot co dot uk *
791 * src/hid/lesstif/main.c: hid/lesstif: Fix incorrect structure
792 assignment due to bad refactoring. I should have built-tested all HIDs when I refectored this.. oops. Reported-by: Ralf Gerbig * rge AT quengel dot org *
794 2012-12-15 Peter Clifton * peter AT clifton-electronics dot co dot uk *
796 * src/find.c, src/find.h: find.c: Make
797 Is{Arc,Line,Pad,Polygon}InPolygon() functions static These are only used from within find.c, so make them static so the
798 compiler is more free to optimise their usage.
800 2012-12-15 Peter Clifton * peter AT clifton-electronics dot co dot uk *
802 * src/find.c: Remove unused functions {LO,PV}TouchesLine() and their
803 callbacks Unused since we removed the unused function clearLine()
805 2012-12-15 Peter Clifton * peter AT clifton-electronics dot co dot uk *
807 * src/find.c, src/find.h: find.c: Remove unused function lineClear()
809 2012-12-14 Peter Clifton * peter AT clifton-electronics dot co dot uk *
811 * src/action.c, src/find.c, src/find.h,
812 src/hid/gtk/gui-netlist-window.c, src/hid/lesstif/netlist.c,
813 src/rats.c, src/report.c, src/select.c, src/set.c: Add flag
814 parameters to ResetFound{LinesAndPolygons,PinsViasAndPads},
815 ResetConnections This avoids relying on the state to be magically correct
817 2012-12-14 Peter Clifton * peter AT clifton-electronics dot co dot uk *
819 * src/autoroute.c: autoroute.c: Remove setting the Find flag to
820 DRCFLAG We don't use the find features directly, those we do already take
821 care of setting the appropriate flag.
823 2012-12-14 Peter Clifton * peter AT clifton-electronics dot co dot uk *
825 * src/find.c: find.c: Set TheFlag to FOUNDFLAG explicitly in
826 LookupUnusedPins() We relied on it being set to an appropriate value, instead set it to
827 FOUNDFLAG, similar to how LookupElementConnections() does.
829 2012-12-14 Peter Clifton * peter AT clifton-electronics dot co dot uk *
831 * src/hid/gtk/gui-netlist-window.c, src/hid/lesstif/netlist.c: (GTK, Lesstif): Netlist window - Set find flag to FOUNDFLAG
832 explicitly Our "Select net" functionality depends on find.c's "TheFlag"
833 variable being set to FOUNDFLAG. In some circumstances (e.g. after a
834 DRC check), this may not be the case, and selecting nets from the
835 netlist window breaks.
837 2012-12-14 Peter Clifton * peter AT clifton-electronics dot co dot uk *
839 * src/select.c: select.c: Set an explicit flag to search using when
840 selecting nets by name If find.c's "TheFlag" variable is not equal to FOUNDFLAG, our code
841 for selecting nets by name did not work. This could happen, for
842 example - after a DRC check, where "TheFlag" appears to be left
843 equal to SELECTEDFLAG.
845 2012-12-14 Peter Clifton * peter AT clifton-electronics dot co dot uk *
847 * src/toporouter.c: toporouter.c: Remove un-necessary call to
848 ResetConnections() This is not required by the call to CollectSubnets() which follows
849 it, and we don't have any other requirement to clear flags. Futhermore, as toporouter.c does not setup which flag is being
850 operated on, the effect of this call will depend on which flag has
851 been left in "TheFlag" variable in find.c.
853 2012-12-14 Peter Clifton * peter AT clifton-electronics dot co dot uk *
855 * src/autoroute.c: autoroute.c: Remove unnecessary call to
856 ResetConnections() This is not required to call CollectSubnets, (as the rats.c internal
857 function GatherSubnets() cleans the flag from objects before it uses
858 it). We also use DRCFLAG to mark nets in CreateRouteData(), however: 1. We should be able to assume the DRCFLAG is clear on all objects
859 at the point we un-necessary to reset it. 2. We call GatherSubnets() after we reset the DRCFLAG contents, and that leaves the objects in a clean state without that flag set.
861 2012-12-13 Peter Clifton * peter AT clifton-electronics dot co dot uk *
863 * src/hid/ps/ps.c: hid/ps: Add support for rendering "fullpoly"
864 polygons Affects-bug: lp-1089532
866 2012-12-13 Peter Clifton * peter AT clifton-electronics dot co dot uk *
868 * src/hid/common/draw_helpers.c: hid/common/draw_helpers.c: Fix
869 thindraw for "fullpoly" polygons Affects-bug: lp-1089532
871 2012-12-13 Peter Clifton * peter AT clifton-electronics dot co dot uk *
873 * src/hid/common/hidgl.c: hid/common/hidgl.c: Add support for
874 rendering "fullpoly" polygons This finally bit someone (and eneded up with them producing a bad
875 batch of boards), so it is about time I fixed this. Affects-bug: lp-1089532
877 2012-12-07 Kevin Redon * kevredon AT mail dot tsaitgaist dot info *
879 * src/create.c: Don't merge lines with different clearances When multiple lines (with same direction, thickness, and clear
880 flags) are moved, they are merged into one line. We should also
881 check the line clearances match to ensure the lines are suitable for
882 merging. [Commit message re-worded by Peter Clifton] Signed-off-by: Kevin Redon * kevredon AT mail dot tsaitgaist dot
885 2012-12-02 Peter Clifton * peter AT clifton-electronics dot co dot uk *
887 * src/hid/common/hidgl.c: hid/common/hidgl.c: Make (polygon->clipped
888 == NULL) test silent This is the case for other implementations of this API, so we should
889 aim to be consistent.
891 2012-12-02 Peter Clifton * peter AT clifton-electronics dot co dot uk *
893 * src/draw.c, src/hid/common/draw_helpers.c: Move polygon->Clipped
894 test into the HID implementations which require it. This keeps draw.c more consistent between object types.
896 2012-12-02 Peter Clifton * peter AT clifton-electronics dot co dot uk *
898 * src/hid/gtk/gtkhid-gl.c: hid/gtk: Call ghid_fill_pcb_polygon via
899 (HID_DRAW *)->fill_pcb_polygon() This indirection allows a more graceful fallback in the case where
900 we run out of stencil bits and replace our (HID_DRAW
901 *)->fill_pcb_polygon() vfunc pointer with the
902 common_fill_pcb_polygon() implementation.
904 2012-12-02 Peter Clifton * peter AT clifton-electronics dot co dot uk *
906 * src/draw.c, src/hid/common/draw_helpers.c,
907 src/hid/common/draw_helpers.h, src/hid/common/hidnogui.c,
908 src/hid/gtk/gtkhid-main.c, src/hid/lesstif/main.c, src/hid/ps/ps.c,
909 src/hid_draw.h: Add (HID_DRAW *)->draw_pcb_polygon() API This pushes special case thindraw vs. fill handling out of the core,
910 and into each individual HID implementation. We retain the old
911 implementation as a helper function, common_gui_draw_pcb_polygon()
912 in hid/common/draw_helpers.c. This keeps the API more consistent between polygons and other object
913 types by introducing the new (HID_DRAW *)->draw_pcb_polygon() API. I've left the (HID_DRAW *)->{fill,thindraw}_pcb_polygon() APIs for
914 now, as it means we can avoid a little code duplucation between the
915 GUIs. We may consider removing (or hiding) these APIs at some point,
916 as they are now _NOT_ intended to be called from outside of the
917 GUI's (HID_DRAW *)->draw_pcb_polygon() implementation.
919 2012-12-02 Peter Clifton * peter AT clifton-electronics dot co dot uk *
921 * src/hid/common/draw_helpers.c, src/hid/common/draw_helpers.h:
922 hid/common: Fix including draw_helpers.h from draw_helpers.c The prototype for hid_common_fill_pcb_pv() was incorrect. To avoid
923 this kind of mistake in the future, include the header file from the
926 2012-11-24 Peter Clifton * peter AT clifton-electronics dot co dot uk *
928 * src/draw.c: draw.c: Collapse line and arc drawing wrapper
929 functions into only callers
931 2012-11-24 Peter Clifton * peter AT clifton-electronics dot co dot uk *
933 * src/draw.c, src/draw.h, src/hid/common/draw_helpers.c,
934 src/hid_draw.h, src/print.c: Move DrawTextLowlevel() routine from
935 draw.c into the HID_DRAW API The API is now called draw_pcb_text, and the default implementation
936 resides in hid/common/draw_helpers.c
938 2012-11-24 Peter Clifton * peter AT clifton-electronics dot co dot uk *
940 * src/draw.c, src/hid/common/draw_helpers.c, src/hid_draw.h: Move
941 _draw_arc() routine from draw.c into HID_DRAW API The API is now called draw_pcb_arc, and the default implementation
942 resides in hid/common/draw_helpers.c
944 2012-11-24 Peter Clifton * peter AT clifton-electronics dot co dot uk *
946 * src/draw.c, src/hid/common/draw_helpers.c, src/hid_draw.h: Move
947 _draw_line() routine from draw.c into HID_DRAW API The API is now called draw_pcb_line, and the default implementation
948 resides in hid/common/draw_helpers.c
950 2012-11-24 Peter Clifton * peter AT clifton-electronics dot co dot uk *
952 * src/hid/common/hidgl.c: hidgl: Fixup signature gluTessCallback
953 functions to work on Win32 On windows these callbacks are invoked using stdcall calling
954 convention and we need to annotate then with the "CALLBACK" macro to
955 achieve this. If we ever end up using glew.h, we can probably drop the #ifndef
956 CALLBACK check which #defines CALLBACK to an empty string on other
959 2012-11-23 Eugene Mikhantiev * mikhantiev AT gmail dot com *
961 * src/Makefile.am: Add hid_draw.h to PCB_SRC in Makefile Signed-off-by: Bert Timmerman * bert dot timmerman AT xs4all dot nl
964 2012-11-23 Markus Hitter * mah AT jump-ing dot de *
966 * tests/golden/hid_gcode1/Makefile.am,
967 tests/golden/hid_gcode1/gcode_oneline-drillmill.gcode,
968 tests/golden/hid_gcode10/gcode_oneline-drillmill.gcode,
969 tests/golden/hid_gcode11/Makefile.am,
970 tests/golden/hid_gcode11/gcode_oneline-drillmill.gcode,
971 tests/golden/hid_gcode2/Makefile.am,
972 tests/golden/hid_gcode2/out-drillmill.gcode,
973 tests/golden/hid_gcode3/Makefile.am,
974 tests/golden/hid_gcode3/gcode_oneline-drillmill.gcode,
975 tests/golden/hid_gcode4/Makefile.am,
976 tests/golden/hid_gcode4/gcode_oneline-drillmill.gcode,
977 tests/golden/hid_gcode5/Makefile.am,
978 tests/golden/hid_gcode5/gcode_oneline-drillmill.gcode,
979 tests/golden/hid_gcode6/Makefile.am,
980 tests/golden/hid_gcode6/gcode_oneline-drillmill.gcode,
981 tests/golden/hid_gcode7/Makefile.am,
982 tests/golden/hid_gcode7/gcode_oneline-drillmill.gcode,
983 tests/golden/hid_gcode8/Makefile.am,
984 tests/golden/hid_gcode8/gcode_oneline-drillmill.gcode,
985 tests/golden/hid_gcode9/gcode_oneline-drillmill.gcode,
986 tests/tests.list: gcode HID: regenerate the test files. This covers the fixes introduced in the last three commits and also
987 removes a number of golden output files.
989 2012-11-23 Markus Hitter * mah AT jump-ing dot de *
991 * src/hid/gcode/gcode.c: gcode HID: distribute drillmill radius' to
992 all drills. Previously, it was distributed to only the first of it's size.
994 2012-11-22 Markus Hitter * mah AT jump-ing dot de *
996 * src/hid/gcode/gcode.c: gcode HID: don't write "empty" drillmill
997 files. All changes except the first and the last line are whitespace
998 changes. Closes-bug: lp-1074196
1000 2012-11-22 Markus Hitter * mah AT jump-ing dot de *
1002 * src/hid/gcode/gcode.c: gcode HID: choose the right set of
1003 drillmill drills. The logic was inverted.
1005 2012-11-22 Peter Clifton * peter AT clifton-electronics dot co dot uk *
1007 * src/draw.c: draw.c: Refactor color setting code to be more compact
1009 2012-11-21 Peter Clifton * peter AT clifton-electronics dot co dot uk *
1011 * src/crosshair.c, src/draw.c, src/hid.h,
1012 src/hid/common/draw_helpers.c, src/hid/common/extents.c,
1013 src/hid/common/hidnogui.c, src/hid/gcode/gcode.c,
1014 src/hid/gerber/gerber.c, src/hid/gtk/gui.h, src/hid/lesstif/main.c,
1015 src/hid/nelma/nelma.c, src/hid/png/png.c, src/hid/ps/eps.c,
1016 src/hid/ps/ps.c, src/hid_draw.h, src/print.c: Move HID drawing API
1017 prototypes into a separate header file Due to the mess of places we define various things in and the order
1018 we pull in headers, we cannot easily create APIs in hid.h which rely
1019 on being passed PCB data-structures.
1021 2012-11-21 Peter Clifton * peter AT clifton-electronics dot co dot uk *
1023 * src/hid.h, src/hid/batch/batch.c, src/hid/common/draw_helpers.c,
1024 src/hid/common/draw_helpers.h, src/hid/common/extents.c,
1025 src/hid/common/hidnogui.c, src/hid/gcode/gcode.c,
1026 src/hid/gerber/gerber.c, src/hid/gtk/gtkhid-gl.c,
1027 src/hid/gtk/gtkhid-main.c, src/hid/lesstif/main.c,
1028 src/hid/nelma/nelma.c, src/hid/png/png.c, src/hid/ps/eps.c,
1029 src/hid/ps/ps.c, src/hid/ps/ps.h: Rename HID_DRAW_API to just
1030 HID_DRAW Just because its neater
1032 2012-08-01 Sergey Alyoshin * alyoshin dot s AT gmail dot com *
1034 * src/hid/gtk/gui-top-window.c: Add strings to translation Signed-off-by: Bert Timmerman * bert dot timmerman AT xs4all dot nl
1037 2012-11-21 Eugene Mikhantiev * mikhantiev AT gmail dot com *
1039 * po/ru.po: Updated Russian translation Signed-off-by: Bert Timmerman * bert dot timmerman AT xs4all dot nl
1042 2012-11-20 Peter Clifton * peter AT clifton-electronics dot co dot uk *
1044 * src/hid/gtk/gtkhid-main.c, src/hid/lesstif/main.c: Revert moving
1045 common_draw_helpers_init() call in lesstif and GTK HIDs Not a functional change.. I'm just being anal and wishing to keep
1046 these matching the other HIDs.
1048 2012-11-19 Peter Clifton * peter AT clifton-electronics dot co dot uk *
1050 * src/crosshair.c, src/draw.c, src/hid.h, src/hid/batch/batch.c,
1051 src/hid/common/draw_helpers.c, src/hid/common/draw_helpers.h,
1052 src/hid/common/extents.c, src/hid/common/hidnogui.c,
1053 src/hid/gcode/gcode.c, src/hid/gerber/gerber.c,
1054 src/hid/gtk/gtkhid-gl.c, src/hid/gtk/gtkhid-main.c,
1055 src/hid/lesstif/main.c, src/hid/nelma/nelma.c, src/hid/png/png.c,
1056 src/hid/ps/eps.c, src/hid/ps/ps.c: HID: Merge {fill/thindraw}_pcb_*
1057 APIs into HID_DRAW_API structure I wanted to keep these separate from the pure graphics APIs, but
1058 after poking at this more and more, it seems hard to justify why we
1061 2012-11-20 Peter Clifton * peter AT clifton-electronics dot co dot uk *
1063 * src/autoroute.c: autoroute.c: Destroy debug graphics context when
1064 we're finished with it I caught this one by inspection, as we don't tend to build with
1065 autorouter debugging enabled. I tested quickly before comitting, and
1066 this change doesn't break anything. This said, I couldn't see any
1067 debug rendering output either (before or after this patch).. so that
1068 might be broken somewhere.
1070 2012-11-19 Peter Clifton * peter AT clifton-electronics dot co dot uk *
1072 * src/hid/lpr/lpr.c: hid/lpr: Don't initiialise the graphics API
1073 vtable Just being picky here.. I spent ages trying to work out why the old code didn't segfault,
1074 given it does not call common_draw_helpers_init() to setup the
1075 various pad, pin and polygon drawing routines. It turns out that when we actually go to export, we call into the ps
1076 HID directly - and ignore the lpr.c HID vtables. Lets avoid confusion by partly setting up the lpr vtables, and leave
1077 the graphics HID member as NULL.
1079 2012-11-19 Peter Clifton * peter AT clifton-electronics dot co dot uk *
1081 * src/hid/batch/batch.c: hid/batch: Fix build after splitting out
1082 graphics APIs I forgot this one, along with build-testing lesstif - oops. Fixes breakage from commit 273b243d90cda84e09f52b7ff995fa82afdc3de0 and from commit 741f203565ba9f92b0ace80d858073f75ced2716
1084 2012-11-19 Peter Clifton * peter AT clifton-electronics dot co dot uk *
1086 * src/draw.c, src/draw.h, src/print.c: draw.c: Add hidGC parameter
1087 to DrawTextLowLevel() function Avoid it assuming the correct gc to use is Output.fgGC
1089 2012-11-19 Peter Clifton * peter AT clifton-electronics dot co dot uk *
1091 * src/draw.c: draw.c: Add gc parameter to _draw_line() function Avoid it assuming the correct GC is Output.fgGC
1093 2012-11-18 Peter Clifton * peter AT clifton-electronics dot co dot uk *
1095 * src/hid/lesstif/main.c: Make lesstif_hid struct static again Changed to non-static un-necessarily in commit
1096 a1d8ee04cc571cca4cbe7ef86b40bef612a0c387
1098 2012-11-18 Eugene Mikhantiev * mikhantiev AT gmail dot com *
1100 * src/hid/lesstif/main.c: lesstif: corrections on recent HID API
1101 changes. Reported by Eugene Mikhantiev * mikhantiev AT gmail dot com * PCB can not be built with `--with-gui=lesstif' due to the HID API
1102 changes in commit 73b243d90cda84e09f52b7ff995fa82afdc3de0 Signed-off-by: Bert Timmerman * bert dot timmerman AT xs4all dot nl
1105 2012-11-15 Bert Timmerman * bert dot timmerman AT xs4all dot nl *
1107 * configure.ac: configure.ac: fixed a typo. Signed-off-by: Bert Timmerman * bert dot timmerman AT xs4all dot nl
1110 2012-11-15 Peter Clifton * pcjc2 AT cam dot ac dot uk *
1112 * src/action.c, src/find.c, src/find.h, src/netlist.c, src/report.c:
1113 Stop "find connected" following rat-lines. Fixes confusing output. Suppose we have two nets, A and B, and some components. If we
1114 connect a pin of a component which was supposed to be connected to
1115 net A, to net B, the "f" (find connected) action will falsely show
1116 the entirity of net A and net B connected to each other. In reality,
1117 the nets are not electrically connected, it is just the ratline
1118 between the mis-connected component pin (mis-connected to Net B),
1119 and net A, where the ratline for that pin should end up. It MIGHT be better if we fix this bug by not adding rat-lines to
1120 shorted connections, as often those rat-lines would take some
1121 convoluted route through the copper of the net which is shorted to
1122 that connection end-point. These rat-line(s) would no longer be
1123 spatially associated with the mis-connected wiring, and encourage
1124 the user to further short net A and net B together to complete the
1125 ratline. This bug was a contributing factor to a mistake in a production
1126 board I made recently, where as a last step in production, I added a
1127 star- ground short between two different ground planes (analogue and
1128 digital). The "find connected" action, "f" showed them connected
1129 together (as I expected), but unfortunately, due to a thermal I left
1130 out, they were not actually connected - despite PCB's green
1131 rendering suggesting that they were.
1133 2012-11-15 Peter Clifton * peter AT clifton-electronics dot co dot uk *
1135 * src/autoroute.c, src/crosshair.c, src/draw.c, src/hid.h,
1136 src/hid/common/draw_helpers.c, src/hid/common/extents.c,
1137 src/hid/common/hidnogui.c, src/hid/gcode/gcode.c,
1138 src/hid/gerber/gerber.c, src/hid/gtk/gtkhid-main.c,
1139 src/hid/lpr/lpr.c, src/hid/nelma/nelma.c, src/hid/png/png.c,
1140 src/hid/ps/eps.c, src/hid/ps/ps.c, src/hid/ps/ps.h, src/print.c:
1141 HID: Move non-PCB specific drawing calls into a separate API
1143 2012-11-14 Peter Clifton * peter AT clifton-electronics dot co dot uk *
1145 * src/Makefile.am, src/hid/gcode/gcode.c, src/hid/gcode/gcode.h:
1146 hid/gcode: Make gcode_hid structure static
1148 2012-11-14 Peter Clifton * peter AT clifton-electronics dot co dot uk *
1150 * src/hid.h, src/hid/common/extents.c, src/hid/common/hidnogui.c,
1151 src/hid/gcode/gcode.c, src/hid/gerber/gerber.c,
1152 src/hid/gtk/gtkhid-gdk.c, src/hid/gtk/gtkhid-gl.c,
1153 src/hid/gtk/gui.h, src/hid/nelma/nelma.c, src/hid/png/png.c,
1154 src/hid/ps/eps.c, src/hid/ps/ps.c: Convert mask type to enum
1156 2012-11-14 Peter Clifton * pcjc2 AT cam dot ac dot uk *
1158 * src/djopt.c, src/flags.c, src/hid.h, src/hid/gtk/gtkhid-main.c,
1159 src/hid/lesstif/main.c, src/vendor.c: Convert argument in HID_Flags
1160 to (void *) rather than (int) void * allows us to pass pointers on all platforms, 64bit or
1161 otherwise. We can still use casting macros to safely pass integer
1162 values via this pointer. Avoids the ugliness of castnig a size_t sized offset_of value into
1163 an int. Due to the size of our structures, this did not cause any
1164 actual bugs, but was not good practice.
1166 2012-11-13 Peter Clifton * peter AT clifton-electronics dot co dot uk *
1168 * src/djopt.c, src/draw.h: Remove unused references to
1169 SwitchDrawingWindow()
1171 2012-11-14 Peter Clifton * peter AT clifton-electronics dot co dot uk *
1173 * src/action.c, src/set.h: Remove unused prototypes SetZoom and
1174 RedrawZoom, along with old #ifdef'd code SetZoom() was removed in commit
1175 94e927e03850bfc0e8a0f3b161ae99b6784747f0 There were a few references to SetZoom left under an #ifdef
1176 HAVE_LIBSTROKE, which will not work, so I have commented those as
1179 2012-11-14 Peter Clifton * peter AT clifton-electronics dot co dot uk *
1181 * src/create.c, src/global.h, src/parse_y.y: Remove unused zoom
1182 settings from the PCB and settings data-structures
1184 2012-11-13 Bert Timmerman * bert dot timmerman AT xs4all dot nl *
1186 * src/parse_y.y: parse_y.y: As of November 2012 the cursor position
1187 is not written to file anymore Signed-off-by: Bert Timmerman * bert dot timmerman AT xs4all dot nl
1190 2012-11-13 Bert Timmerman * bert dot timmerman AT xs4all dot nl *
1192 * src/file.c: Removed the cursor position from being written to the
1193 pcb file. Signed-off-by: Bert Timmerman * bert dot timmerman AT xs4all dot nl
1196 2012-11-10 Peter Clifton * pcjc2 AT cam dot ac dot uk *
1198 * src/hid/common/hidgl.c, src/hid/common/hidgl.h,
1199 src/hid/gtk/gtkhid-gl.c: hid/common/hidgl: Add API to initialise a
1200 rendering pass Serves as a place to perform any necessary initialisation within
1201 hidgl.c, saving lots of separate calls being made by its callers.
1203 2012-11-10 Peter Clifton * pcjc2 AT cam dot ac dot uk *
1205 * src/hid/ps/ps.c: Fix outline drawing to only apply on copper
1206 layers This matches the old comments in the code, and fixes (removes)
1207 outline drawing on the solder mask prints. This partially reverts commit
1208 294494e56695251e63c0da9f243d6f59447f1c9f "Fix PS rect/outline
1209 logic", which changed the logic, and commit
1210 d2458383a60b670ad1c42163ac24fcc63fcab457 where I changed the comment
1213 2012-11-10 Peter Clifton * peter AT clifton-electronics dot co dot uk *
1215 * src/hid/gtk/ghid-layer-selector.c: hid/gtk: Fix stupid (missing
1216 semicolon) bug breaking compile I was _sure_ I'd buid tested this before pusing... obviously not!
1218 2011-09-09 Peter Clifton * pcjc2 AT cam dot ac dot uk *
1220 * src/hid/gtk/ghid-layer-selector.c: hid/gtk: Avoid using
1221 g_object_{set,set}_data() where we don't need to Personally I hate to see data stashed and recalled with these
1222 functions, especially where is just a case of passing appropriate
1223 data to callback functions.
1225 2012-11-10 Peter Clifton * pcjc2 AT cam dot ac dot uk *
1227 * src/hid/gtk/gtkhid-gl.c, src/hid/gtk/gui-top-window.c,
1228 src/hid/gtk/gui.h: Use trackball to allow rotation of 3D view
1230 2012-11-10 Peter Clifton * peter AT clifton-electronics dot co dot uk *
1232 * src/hid/gtk/gui-trackball.c: hid/gtk: Make the trackball widget
1233 sexy * Use cairo to render a nice sphere with radial gradients. * Use widget sensitivity of the track-ball drawing to better. differentiate between 2D / 3D views. * Allow double-clicking on the track-ball to reset the 3D view.
1235 2012-11-10 Peter Clifton * pcjc2 AT cam dot ac dot uk *
1237 * po/POTFILES.in, src/Makefile.am, src/hid/common/trackball.c,
1238 src/hid/common/trackball.h, src/hid/gtk/gui-trackball.c,
1239 src/hid/gtk/gui-trackball.h: Add virtual trackball code
1241 2012-11-10 Peter Clifton * pcjc2 AT cam dot ac dot uk *
1243 * src/hid/gtk/gtkhid-gl.c: hid/gtk: Add feature to force an
1244 immediate redraw if framerate is low If more than a certain time (currently hard-coded at 50ms) has
1245 elapsed since the last expose callback, invalidate_all() will wait
1246 and process updates before returning. This is handy to allow animation of auto-router progress, where the
1247 gui mainloop is not hit until the auto-routing operation is fully
1250 2012-11-01 Markus Hitter * mah AT jump-ing dot de *
1252 * tests/golden/hid_gcode1/Makefile.am,
1253 tests/golden/hid_gcode1/gcode_oneline-0.0350.drill.gcode,
1254 tests/golden/hid_gcode1/gcode_oneline-0.8890.drill.gcode,
1255 tests/golden/hid_gcode1/gcode_oneline-bottom.gcode,
1256 tests/golden/hid_gcode1/gcode_oneline-drillmill.gcode,
1257 tests/golden/hid_gcode1/gcode_oneline-outline.gcode,
1258 tests/golden/hid_gcode1/gcode_oneline-top.gcode,
1259 tests/golden/hid_gcode10/Makefile.am,
1260 tests/golden/hid_gcode10/gcode_oneline-0.8890.drill.gcode,
1261 tests/golden/hid_gcode10/gcode_oneline-bottom.gcode,
1262 tests/golden/hid_gcode10/gcode_oneline-drillmill.gcode,
1263 tests/golden/hid_gcode10/gcode_oneline-outline.gcode,
1264 tests/golden/hid_gcode10/gcode_oneline-top.gcode,
1265 tests/golden/hid_gcode11/Makefile.am,
1266 tests/golden/hid_gcode11/gcode_oneline-0.0350.drill.gcode,
1267 tests/golden/hid_gcode11/gcode_oneline-bottom.gcode,
1268 tests/golden/hid_gcode11/gcode_oneline-drillmill.gcode,
1269 tests/golden/hid_gcode11/gcode_oneline-outline.gcode,
1270 tests/golden/hid_gcode11/gcode_oneline-top.gcode,
1271 tests/golden/hid_gcode2/Makefile.am,
1272 tests/golden/hid_gcode2/out-0.0350.drill.gcode,
1273 tests/golden/hid_gcode2/out-0.8890.drill.gcode,
1274 tests/golden/hid_gcode2/out-bottom.gcode,
1275 tests/golden/hid_gcode2/out-drillmill.gcode,
1276 tests/golden/hid_gcode2/out-outline.gcode,
1277 tests/golden/hid_gcode2/out-top.gcode,
1278 tests/golden/hid_gcode3/Makefile.am,
1279 tests/golden/hid_gcode3/gcode_oneline-0.0350.drill.gcode,
1280 tests/golden/hid_gcode3/gcode_oneline-0.8890.drill.gcode,
1281 tests/golden/hid_gcode3/gcode_oneline-bottom.gcode,
1282 tests/golden/hid_gcode3/gcode_oneline-drillmill.gcode,
1283 tests/golden/hid_gcode3/gcode_oneline-outline.gcode,
1284 tests/golden/hid_gcode3/gcode_oneline-top.gcode,
1285 tests/golden/hid_gcode4/Makefile.am,
1286 tests/golden/hid_gcode4/gcode_oneline-0.0350.drill.gcode,
1287 tests/golden/hid_gcode4/gcode_oneline-0.8890.drill.gcode,
1288 tests/golden/hid_gcode4/gcode_oneline-bottom.gcode,
1289 tests/golden/hid_gcode4/gcode_oneline-drillmill.gcode,
1290 tests/golden/hid_gcode4/gcode_oneline-outline.gcode,
1291 tests/golden/hid_gcode4/gcode_oneline-top.gcode,
1292 tests/golden/hid_gcode5/Makefile.am,
1293 tests/golden/hid_gcode5/gcode_oneline-0.0350.drill.gcode,
1294 tests/golden/hid_gcode5/gcode_oneline-0.8890.drill.gcode,
1295 tests/golden/hid_gcode5/gcode_oneline-bottom.gcode,
1296 tests/golden/hid_gcode5/gcode_oneline-drillmill.gcode,
1297 tests/golden/hid_gcode5/gcode_oneline-outline.gcode,
1298 tests/golden/hid_gcode5/gcode_oneline-top.gcode,
1299 tests/golden/hid_gcode6/Makefile.am,
1300 tests/golden/hid_gcode6/gcode_oneline-0.0350.drill.gcode,
1301 tests/golden/hid_gcode6/gcode_oneline-0.8890.drill.gcode,
1302 tests/golden/hid_gcode6/gcode_oneline-bottom.gcode,
1303 tests/golden/hid_gcode6/gcode_oneline-drillmill.gcode,
1304 tests/golden/hid_gcode6/gcode_oneline-outline.gcode,
1305 tests/golden/hid_gcode6/gcode_oneline-top.gcode,
1306 tests/golden/hid_gcode7/Makefile.am,
1307 tests/golden/hid_gcode7/gcode_oneline-0.0350.drill.gcode,
1308 tests/golden/hid_gcode7/gcode_oneline-0.8890.drill.gcode,
1309 tests/golden/hid_gcode7/gcode_oneline-bottom.gcode,
1310 tests/golden/hid_gcode7/gcode_oneline-drillmill.gcode,
1311 tests/golden/hid_gcode7/gcode_oneline-outline.gcode,
1312 tests/golden/hid_gcode7/gcode_oneline-top.gcode,
1313 tests/golden/hid_gcode8/Makefile.am,
1314 tests/golden/hid_gcode8/gcode_oneline-0.8890.drill.gcode,
1315 tests/golden/hid_gcode8/gcode_oneline-bottom.gcode,
1316 tests/golden/hid_gcode8/gcode_oneline-drillmill.gcode,
1317 tests/golden/hid_gcode8/gcode_oneline-outline.gcode,
1318 tests/golden/hid_gcode8/gcode_oneline-top.gcode,
1319 tests/golden/hid_gcode9/Makefile.am,
1320 tests/golden/hid_gcode9/gcode_oneline-0.0350.drill.gcode,
1321 tests/golden/hid_gcode9/gcode_oneline-bottom.gcode,
1322 tests/golden/hid_gcode9/gcode_oneline-drillmill.gcode,
1323 tests/golden/hid_gcode9/gcode_oneline-outline.gcode,
1324 tests/golden/hid_gcode9/gcode_oneline-top.gcode, tests/tests.list:
1325 gocde HID: refresh all the G-code exporter tests. There have been a lot of new features recently and a bunch of
1326 comments refinements. Also the default unit was changed from inch to
1327 mm, so don't be surprised too much there's nothing left as before.
1328 All new test results have been hand-verified in a G-code viewer.
1330 2012-11-01 Markus Hitter * mah AT jump-ing dot de *
1332 * tests/run_tests.sh: testsuite: regenerate also Makefile.am. Previously, running ./run_tests.sh --regen <some test> would have
1333 simply deleted Makefile.am, which is required by the automatic
1334 Makefile generation mechanism. Now this file is regenerated
1337 2012-11-01 Markus Hitter * mah AT jump-ing dot de *
1339 * tests/run_tests.sh: testsuite: limit regenerations to one test at
1340 a time. Previously, an accidental "./run_tests.sh --regen" without arguments
1341 would regenerate all tests, causing a big mess.
1343 2012-11-01 Markus Hitter * mah AT jump-ing dot de *
1345 * src/hid/gcode/gcode.c: gcode HID: don't predrill drillmill holes. As mill bits - in opposite to drill bits - are expected to be stiff,
1346 predrilling drillmill holes is a waste of time.
1348 2012-11-01 Markus Hitter * mah AT jump-ing dot de *
1350 * src/hid/gcode/gcode.c: gcode HID: remove an obsolete TODO comment. Units come along in groups, units other than mm and inch should be
1351 handled properly already.
1353 2012-11-01 Markus Hitter * mah AT jump-ing dot de *
1355 * src/hid/gcode/gcode.c: gcode HID: don't drill drillmill holes. Actually, this just avoids writing out the drill G-code file for
1356 sizes >= drillmill diameters. While files written out can be
1357 ignored, not writing them should reduce confusion among all the
1360 2010-12-03 Markus Hitter * mah AT jump-ing dot de *
1362 * src/hid/gcode/gcode.c: gcode HID: implement drill-milling. This is, if a hole is equal or bigger than the milling tool, use the
1363 milling tool instead of a drill tool to manufacture the hole. Big
1364 advantage is, milling tools can create holes of arbitrary sizes by
1365 moving a circle. The feature is optional, on by default. G02/G03 circle movements are avoided, as not all machine controllers
1366 understand them. Instead, a polygon is milled, with enough sides to
1367 stay for any hole size within the user choosen accuracy. If the hole is only slightly bigger than the mill tool, don't move
1368 the circle; a simple plunge is enough.
1370 2012-10-28 Bert Timmerman * bert dot timmerman AT xs4all dot nl *
1372 * src/parse_y.y: Correction of two typos. Closes-bug: lp-1072285 Signed-off-by: Bert Timmerman * bert dot timmerman AT xs4all dot nl
1375 2012-09-03 Larry Doolittle * ldoolitt AT recycle dot lbl dot gov *
1377 * tools/pcbdiff: pcbdiff: add PCBDIFF_DPI to allow user-defined
1378 resolution. This should be the last part of fixing bug #1045907.
1380 2012-09-03 Larry Doolittle * ldoolitt AT recycle dot lbl dot gov *
1382 * tools/pcbdiff: pcbdiff: take out --only-visible. This option leads to PNGs of different sizes and making stereo
1383 images of PNGs of different sizes is (apparently) not possible.
1385 2012-09-09 Markus Hitter * mah AT jump-ing dot de *
1387 * tools/pcbdiff: pcbdiff: allow spaces in file names / file paths.
1389 2012-09-09 Markus Hitter * mah AT jump-ing dot de *
1391 * tools/pcbdiff: pcbdiff: add a level of abstraction for binaries. This may help for future developments, where searching in places
1392 other than PATH may be advised. It helps right now for quick
1395 2012-08-30 Larry Doolittle * ldoolitt AT recycle dot lbl dot gov *
1397 * ChangeLog, README, utils/git2cl: Improve documentation of
1398 ChangeLog file Note in the file where it comes from. Mention it and git commit
1399 messages in the README.
1401 2012-08-30 Larry Doolittle * ldoolitt AT recycle dot lbl dot gov *
1403 * src/hid/ps/eps.c: fix a format string mismatch
1405 2012-08-30 Larry Doolittle * ldoolitt AT recycle dot lbl dot gov *
1407 * ChangeLog, README, README.git, doc/pcb.texi, doc/refcard.tex,
1408 src/hid/batch/batch.c, src/main.c, src/misc.c: replace gpleda.org
1409 with geda-project.org
1411 2010-11-30 Markus Hitter * mah AT jump-ing dot de *
1413 * src/hid/gcode/gcode.c: gcode HID: add user defined feedrates for
1414 outline milling. This includes two new fields in the GUI, as plunging (moving into
1415 the material) has a different feedrate than the normal feedrate now.
1416 These different feedrates are needed by many tools, e.g. end mills.
1418 2010-11-30 Markus Hitter * mah AT jump-ing dot de *
1420 * src/hid/gcode/gcode.c: gcode HID: add user defined feedrates for
1421 drilling. This includes a new field in the GUI.
1423 2010-11-30 Markus Hitter * mah AT jump-ing dot de *
1425 * src/hid/gcode/gcode.c, src/hid/gcode/trace.c,
1426 src/hid/gcode/trace.h: gcode HID: add user defined feedrates for
1427 isolation milling. This includes two new fields in the GUI, as plunging (moving into
1428 the material) has a different feedrate from the normal feedrate now.
1429 These different feedrates are needed by many tools, e.g. end mills.
1431 2012-08-27 Markus Hitter * mah AT jump-ing dot de *
1433 * src/hid/gcode/gcode.c: gcode HID: move all the code common on file
1434 open into a subroutine.
1436 2012-08-27 Markus Hitter * mah AT jump-ing dot de *
1438 * src/hid/gcode/gcode.c: gcode HID: remove an unused struct. The common HID code has now a better alternative, anyways, so it's
1439 unlikely this will ever be used again.
1441 2012-08-27 Markus Hitter * mah AT jump-ing dot de *
1443 * src/hid/gcode/gcode.c: gcode HID: fix a potential memory leak.
1445 2012-08-27 Markus Hitter * mah AT jump-ing dot de *
1447 * src/hid/gcode/gcode.c: gcode HID: correct a few comments.
1449 2010-11-09 Markus Hitter * mah AT jump-ing dot de *
1451 * src/hid/gcode/gcode.c: gcode HID: create G-code for milling the
1452 outline of the board. This is a rarther simple implementation, which mills a rectangle
1453 with the maximum extents of the board.
1455 2010-11-02 Markus Hitter * mah AT jump-ing dot de *
1457 * src/hid/gcode/gcode.c: gcode HID: reorder user interface to a more
1458 logical sequence. The new sequence is: general - isolation milling - drilling -
1459 milling - output options. Also completed the term "mill" to "iso-mill", as outline milling is
1460 around the corner. Default measurement unit changed to mm, as I'm not aware of a single
1461 machine accepting "mil" as G-code unit.
1463 2012-08-22 Markus Hitter * mah AT jump-ing dot de *
1465 * src/hid/gcode/gcode.c: gcode HID: another few cleanups.
1467 2012-08-22 Markus Hitter * mah AT jump-ing dot de *
1469 * src/hid/gcode/gcode.c: gcode HID: release the PNG a lot earlier.
1471 2012-08-22 Markus Hitter * mah AT jump-ing dot de *
1473 * src/hid/gcode/gcode.c: gcode HID: rename gcode_f2 to gcode_f. ... as there's no longer a gcode_f used.
1475 2012-08-22 Markus Hitter * mah AT jump-ing dot de *
1477 * src/hid/gcode/gcode.c: gcode HID: make usage of gcode_f local. There's no need to keep a file open all the time, all the processing
1480 2012-08-22 Markus Hitter * mah AT jump-ing dot de *
1482 * src/hid/gcode/gcode.c: gcode HID: simplify the backside flipping
1483 algorithm. As the PNG has to be copied to a bitmap anyways, this can also be
1484 used to flip the back layer. The code flipping the PNG is still in place, but only needed for the
1485 PNG written do a file (for error checking).
1487 2012-08-22 Markus Hitter * mah AT jump-ing dot de *
1489 * src/hid/gcode/gcode.c: gcode HID: remove an untrue comment. Actually, gdImageCreate() creates an pallette-based image.
1491 2012-08-22 Markus Hitter * mah AT jump-ing dot de *
1493 * src/hid/gcode/gcode.c: gcode HID: fix the bug producing an
1494 inverted image. For copying an pallette-based image, the pallette has to be copied,
1497 2012-08-20 Markus Hitter * mah AT jump-ing dot de *
1499 * src/hid/gcode/gcode.c: gcode HID: make G-code output aware of
1500 dynamic extents. This also offsets the produced G-code so the rectangular edge
1501 closest to {0, 0} in pcb is {0, 0} in the G-code. Very useful when
1502 actually producing boards. The most simple way to achieve this is to draw just the part inside
1503 the outline into the intermediate image. No change to the PNG tracer
1504 needed. Unfortunately, this exposes a bug, making the traced PNG image
1505 inverted. This will be fixed with the next commit.
1507 2012-08-13 Kai-Martin Knaak * kmk AT lilalaser dot de *
1509 * src/hid/ps/eps.c: make EPS boundingbox parameters integers
1510 Currently, the bounding box parameters given in the header of an EPS
1511 file are floats. The standard calls for integers, though. Some
1512 applications like epstool fail if the boundingbox is anything but
1513 integer. This patch uses llrint() to output the nearest integer as
1514 bounding box parameters. In addition, it adds a high resolution
1515 header for the benefit of applications that can use the extra
1516 precision. Example of the bounding box lines produced by the patch: %%BoundingBox: 0 0 370 426 %%HiResBoundingBox: 0.000000 0.000000 369.503937 426.196850 Closes-bug: lp-1035999
1518 2012-08-20 Markus Hitter * mah AT jump-ing dot de *
1520 * src/hid/gcode/gcode.c: gcode HID: add header required for
1523 2012-08-20 Markus Hitter * mah AT jump-ing dot de *
1525 * src/hid/gcode/gcode.c: gcode HID: write board size according to
1526 dynamic extent. This isn't much, so far, more on dynamic extent to come.
1528 2012-08-20 Markus Hitter * mah AT jump-ing dot de *
1530 * src/hid/gcode/gcode.c: gcode HID: make gcode_toolradius an int. It's always used as such.
1532 2012-08-19 Markus Hitter * mah AT jump-ing dot de *
1534 * src/change.c, src/change.h, src/global.h: Introduce dynamic board
1535 size. The goal is to eventually define the board's extent by the outline
1536 layer, only. That way, all the exporters can export properly sized
1537 layouts. Undoubtly, this can also influence the GUIs. For example, "zoom to
1538 fit" becomes a slightly different meaning and drawing outside the
1539 board's extent becomes possible. Autorouting and similars can be
1540 limited to the actual board size. Resizing a board to the lower left
1541 no longer requires the error-prone moving of all the stuff and keeps
1544 2012-07-15 Markus Hitter * mah AT jump-ing dot de *
1546 * src/hid/gcode/gcode.c: gcode HID: write drill size into the file,
1547 too. So far, drill size was given by the file name only, which can change
1550 2012-07-15 Markus Hitter * mah AT jump-ing dot de *
1552 * src/hid/gcode/gcode.c: gcode HID: implement predrilling Predrilling is using the milling tool to mark all drill spots. This
1553 eases and enhances accuracy of manual drilling. This resolves patch #12 and obsoletes patch #11 and #13 of
1554 Traumflug's wishlist: https://bugs.launchpad.net/pcb/+bug/699497 The difference between patch #12 and this patch is, drills for
1555 predrilling are sorted regardless of size, so performance should be
1558 2012-07-08 Eric Brombaugh * ebrombaugh1 AT cox dot net *
1560 * src/hid/gtk/gui-dialog.c: gtk: point file selector dialogs at the
1561 current directory Recent Gtk versions (at least 3 and onward) have broken the file
1562 selection dialog in the case that no default directory was
1563 specified: rather than using the current working directory, it uses
1564 a fake "Recently Chosen Items" directory, from which save/load
1565 doesn't work. This patch fixes the behavior. Commit by Andrew Poelstra
1567 2012-07-07 Gabriel Paubert * paubert AT iram dot es *
1569 * src/hid/gerber/gerber.c: gerber: Implement option for metric
1570 output Compiles cleanly, all tests pass, default behaviour is completely
1573 2012-07-06 Andrew Poelstra * apoelstra AT wpsoftware dot net *
1575 * tests/golden/hid_bom1/bom_general.xy,
1576 tests/golden/hid_bom2/bom_general.xy, tests/golden/hid_bom3/test.xy:
1577 Fix comments in golden samples for hid_bom[123] tests With the nanometers switchover, a comment in the BOM output changes
1578 from "output in mils" to "output in mil", breaking tests.
1580 2012-07-06 Andrew Poelstra * apoelstra AT wpsoftware dot net *
1582 * src/hid/bom/bom.c: Fix bom.c behavior regarding xy-in-mm option If the --xy-in-mm option is passed, that should override any other
1583 unit selection behavior (since this is a legacy option, so anyone
1584 using it is not expecting the new many-unit features). Also, fix a test-breaking change in output precision. This has apparently been broken since da403312 (audit bom.c for the
1585 nanometers switchover), but was only noticed recently when the HID
1588 2012-07-06 Andrew Poelstra * apoelstra AT wpsoftware dot net *
1590 * tests/golden/hid_bom1/bom_general.bom,
1591 tests/golden/hid_bom1/bom_general.xy,
1592 tests/golden/hid_bom2/bom_general.xy,
1593 tests/golden/hid_bom2/test.bom,
1594 tests/golden/hid_bom3/bom_general.bom,
1595 tests/golden/hid_bom3/test.xy,
1596 tests/golden/hid_bom4/bom_general.bom,
1597 tests/golden/hid_bom4/bom_general.xy: Fix bom HID tests after commit
1598 d30d3142 changed the line ordering Due to changes in macro.h, the ordering of the BOM output changed,
1599 causing test failures.
1601 2012-06-14 Benjamin Bergman * ben AT benbergman dot ca *
1603 * src/hid/png/png.c: Add options to change photo-mode colors. Original patchset by Benjamin Bergman. Minor changes from Andrew
1604 Poelstra. Closes-bug: lp-1004796
1606 2012-05-25 DJ Delorie * dj AT delorie dot com *
1608 * src/hid/ps/ps.c: Fix ps-bloat logic The ps-bloat option was using the int_value field instead of the
1609 coord-value field, resulting in a bloat of zero all the time.
1612 2012-03-29 Andrew Poelstra * apoelstra AT wpsoftware dot net *
1614 * src/rats.c: Remove manhattan check from rats.c Since commit 644f8d9, I cannot get the autorouter to segfault when
1615 it attempts to deal with ratlines connected to non-manhattan lines.
1616 So, I see no reason not to draw such lines in the first place. However, when the autorouter is used, it will ignore any rats which
1617 lead to a non-manhattan line. (And therefore not connect two points,
1618 if the shortest connection would involve connecting diagonal
1619 traces.) This is unexpected behavior, though IMO no more unexpected than the
1620 old behavior, which was to ignore diagonal line segments and simply
1621 route amongst the manhattan ones. Closes-bug: lp-699248
1623 2012-03-29 Andrew Poelstra * apoelstra AT wpsoftware dot net *
1625 * src/autoroute.c: Fix segfault when routing to non-straight pads Since the autorouter does not handle non-manhattan lines, it will
1626 not route to non-straight pads. Therefore, when the autorouter
1627 searches for the pins/pads at the endpoints of a rat, it ignores any
1628 non-straght pads, returning NULL from the search. The autorouter then tries to dereference this pointer and crashes. The rest of the code, it seems, works to avoid ever giving such rats
1629 to the autorouter, but it can be done if the user explicitly selects
1630 such a rat and selects "Auto-route selected rats". This patch catches the NULL pointer and simply ignores the rat. It is possible that this is the cause of bug lp-699255, but this
1631 seems unlikely, since the backtrace on that report does not show the
1632 same NULL dereference, and the reporter was using "10-pin headers",
1633 which presumably have no pads that could be marked as non-straight. Affects-bug: lp-699255
1635 2012-03-29 Andrew Poelstra * apoelstra AT wpsoftware dot net *
1637 * src/hid/gcode/gcode.c: Wrap gcode_do_export in setlocale() calls During gcode export, we temporarily switch locales to C to ensure
1638 that output uses the proper decimal separator. Closes-bug: lp-912077
1640 2012-03-29 Andrew Poelstra (local) * apoelstra AT wpsoftware dot net *
1642 * src/find.c: Fix infinite loop on PCB::skip-drc attribute When doing a DRC check, pcb skips checking any layers who have the
1643 PCB::skip-drc attribute set. However, when determining whether the
1644 check is complete (via the ListsEmpty()) function, it doesn't skip
1645 these layers. The result is an infinite loop, since if there is work to be done on
1646 a skip-drc layer, the checker will keep running until it is done --
1647 i.e., will keep running forever. This patch skips skip-drc layers in ListsEmpty(). Closes-bug: lp-829123
1649 2012-03-28 Andrew Poelstra (local) * apoelstra AT wpsoftware dot net *
1651 * src/hid/gtk/gui-top-window.c, src/hid/lesstif/menu.c: Make
1652 SelectLayer() respond to layer name as well as index Closes-bug: lp-699470
1654 2012-03-28 Andrew Poelstra (local) * apoelstra AT wpsoftware dot net *
1656 * src/parse_l.l: Parse floating-point values without leading 0
1657 correctly Closes-bug: lp-916984
1659 2012-03-28 Andrew Poelstra (local) * apoelstra AT wpsoftware dot net *
1661 * src/hid/lesstif/main.c: Add missing const in lesstif/main.c
1663 2012-03-28 Andrew Poelstra (local) * apoelstra AT wpsoftware dot net *
1665 * src/hid/gtk/gui-config.c, src/main.c: Allow saving of user
1666 increment settings in Gtk. It seems there is no clean way of implementing this without really
1667 tearing up the setting-saving code and fixing the
1668 SettingType/PCBType dichotomy, but at 26 lines, this was at least
1669 short. Closes-bug: lp-699464
1671 2012-03-28 Andrew Poelstra (local) * apoelstra AT wpsoftware dot net *
1673 * src/hid/gtk/gui-config.c: Save CONFIG_Coord settings in Gtk The "Safe board width as default" checkbox has not been working
1674 since commit fa2a0e35 back in August, when I added HID_Coord and
1675 CONFIG_Coord to a couple of enums and forgot to update a switch
1676 statement. This patch fixes that. :-}
1678 2012-03-28 Andrew Poelstra (local) * apoelstra AT wpsoftware dot net *
1680 * src/hid/gtk/gui-config.c, src/main.c, src/pcb-printf.c,
1681 src/pcb-printf.h: Add grid-increment-mm (and similar) settings Added the following settings: grid-increment-mm grid-increment-mil size-increment-mm size-increment-mil line-increment-mm line-increment-mil clear-increment-mm clear-increment-mil These behave differently than the old settings of the same names
1682 (from 20090929 and earlier). They take a measure, not a real number.
1683 The -mm versions affect the increment settings when the user is
1684 using a metric grid, and the -mil versions affect the settings for
1685 imperial grids. Old ~/.pcb/preferences files likely have lines like grid-increment-mil = 5 which have been hanging around for several pcb versions. These
1686 should be safely ignored, since, for example, "5" is now read as
1687 "5nm", which is well below the minimum allowed increment setting. These settings can be read but (so far) not written out, either to
1688 the pcb or to the preferences file.
1690 2012-03-28 Andrew Poelstra (local) * apoelstra AT wpsoftware dot net *
1692 * src/hid/gtk/gui-config.c: Add separate metric and imperial
1693 increment settings to Gtk gui.
1695 2012-03-28 Andrew Poelstra (local) * apoelstra AT wpsoftware dot net *
1697 * src/hid/gtk/gtkhid-main.c, src/hid/lesstif/main.c, src/main.c,
1698 src/pcb-printf.c, src/pcb-printf.h: Collapse giant default increment
1699 table into only two We now store two sets of increments - one for imperial and one for
1700 metric. These will both be individually modifiable by the user.
1702 2012-02-06 Kai-Martin Knaak * kmk AT lilalaser dot de *
1704 * ChangeLog, src/draw.c, src/main.c, src/parse_l.l, src/parse_y.y,
1705 src/pcb-printf.c: Add "px" to the units allowed for --rat-thickness Add "px" to the set of units allowed for option --rat-thickness. The
1706 purpose is to give thickness in terms of a fixed number of screen
1707 pixels. Internally, this special unit is treated like nm. The
1708 drawing routine decides to go for fixed width if rat thickness is
1709 below 100nm. Commit by Andrew Poelstra. Closes-bug: lp-927422
1711 2012-03-27 Andrew Poelstra (local) * apoelstra AT wpsoftware dot net *
1713 * src/gpcb-menu.res.in, src/pcb-menu.res.in: Change menus to use
1714 user's settings for increments
1716 2012-03-27 Andrew Poelstra (local) * apoelstra AT wpsoftware dot net *
1718 * src/action.c: Allow '+' and '-' (without magnitudes) for
1719 user-preference in menu This does not actually change any menu files, just adds the
1720 capability to use the user's settings in the Increments dialog for
1723 2012-03-26 Andrew Poelstra (local) * apoelstra AT wpsoftware dot net *
1725 * src/misc.c: Check sscanf() return value in GetValue(). In case the user passes something like "+" with no digits to
1726 GetValue, sscanf fails and the function returns an indeterminate
1727 result. This patch fixes that, returning 0 instead if sscanf fails.
1729 2012-03-26 Andrew Poelstra (local) * apoelstra AT wpsoftware dot net *
1731 * src/change.c: Remove empty if statement from change.c git blame dates an empty-body if statement back to 2003, so (presumably) the correct behavior is that it be empty. Therefore, I
1732 removed the if to avoid confusing humans. After this commit, pcb compiles completely and cleanly with: clang version 2.9 (tags/RELEASE_29/final) gcc version 4.6.2 20111027 (Red Hat 4.6.2-1)
1734 2012-03-26 Andrew Poelstra (local) * apoelstra AT wpsoftware dot net *
1736 * src/res_parse.y: Add missing const in res_parse.y
1738 2012-03-26 Andrew Poelstra (local) * apoelstra AT wpsoftware dot net *
1740 * src/djopt.c: Remove superfluous check that unsigned int is
1741 nonnegative. It seems to me that we'll sooner fix layer management altogether,
1742 than change an index from an unsigned to signed variable. And in the
1743 meantime, this check is unnecessary and potentially confusing.
1745 2012-03-26 Andrew Poelstra (local) * apoelstra AT wpsoftware dot net *
1747 * src/change.c: Change no-ops from self-assignments to (void) casts This makes both clang and gcc happy (with nothing, both complain
1748 about unused variables, and clang doesn't like the self-assignment). splint still complains, but I think we'll have to live with that.
1750 2012-03-26 Andrew Poelstra (local) * apoelstra AT wpsoftware dot net *
1752 * src/hid/gtk/gui-dialog.c: Add missing cast in hid/gtk/gui-dialog.c
1754 2012-03-17 Sergey Alyoshin * alyoshin dot s AT gmail dot com *
1756 * src/parse_y.y: Fix segfault when reading Layer() with no name When reading pcb file with a line like Layer (2 "") the lexer gives us a NULL in place of the empty string, which caused
1757 a NULL-dereference and segfault. This patch allocates a new ""
1758 string when reading nameless layers. See
1760 http://www.delorie.com/archives/browse.cgi?p=geda-user/2012/03/17/10:13:37
1762 2012-03-02 Felix Ruoff * Felix AT posaunenmission dot de *
1764 * doc/pcb.texi: Fit docu to latest menu-item changes Affects-bug: lp-907040
1766 2012-03-06 Braddock Gaskill * braddock AT braddock dot com *
1768 * src/gpcb-menu.res.in: Standardize gtk-menu Changes some names of menu-items. Also reodered some of them. This
1769 will normalize the menu items to more closely follow modern menu
1770 conventions like the Gnome user interface guidelines. Closes-bug: lp-907040
1772 2012-03-02 Felix Ruoff * Felix AT posaunenmission dot de *
1774 * doc/pcb.texi: actualize outdated menu-docu actualized some documentation for the menue. Some items has changed
1775 their name and/or location in the past which was not changed in the
1778 2012-03-02 Felix Ruoff * Felix AT posaunenmission dot de *
1780 * doc/pcb.texi: Actualize docu for (g)pcb-menu.res.in Today, pcb checks for more than one keyword in the
1781 (g)pcb-menu.res.in: "Main Menu" and "Mouse".
1783 2012-02-21 Felix Ruoff * Felix AT posaunenmission dot de *
1785 * src/hid/gtk/gui-dialog.c: Add file-filter for schematics import
1787 2012-02-17 Dan White * dan AT whiteaudio dot com *
1789 * src/hid/gtk/gtkhid-main.c, src/hid/gtk/gui-dialog.c,
1790 src/hid/gtk/gui.h: hid/gtk: ImportGUI() can select multiple files ..with one small modification to the original patch by Felix Ruoff Closes-bug: lp-934616
1792 2011-12-18 Vladimir Zhbanov * vzhbanov AT gmail dot com *
1794 * src/main.c: Fixed command line batch output for some exporters This problem affects some exporters: gcode, eps, ps, nelma, probably
1795 gerber (although it should already have been fixed for it). When
1796 building pcb with non-C locale, pcb uses for output this locale's
1797 settings. With locales using comma as numeric separator it causes
1798 the wrong output for those formats. The problem does not affect an
1799 export from GUI. Closes-bug: lp-905968
1801 2012-01-20 Peter Clifton * peter AT clifton-electronics dot co dot uk *
1803 * src/line.c: Fiddle with the 45-degre line snapping code The results should be identical, but hopefully this is clearer code. I believe there were some masked bugs lurking in the old
1804 calculations, which shouldn't be present in the new code.
1806 2012-01-21 Peter Clifton * peter AT clifton-electronics dot co dot uk *
1808 * src/hid/gtk/gtkhid-gl.c: hid/gtk: Remove XOR colour logic from the
1809 GL rederer. This code was not being used, so remove it.
1811 2012-01-22 Peter Clifton * peter AT clifton-electronics dot co dot uk *
1813 * src/hid/common/draw_helpers.c: hid/common/draw_helpers.c: Fix
1814 prototype to draw_octagon_poly() The thin_draw parameter is a bool, not a Coord.
1816 2011-12-27 Peter Clifton * peter AT clifton-electronics dot co dot uk *
1818 * src/move.c: move.c: Fix off-by one in memory copy loop. Shorten the loop so we don't don't try to memmove a zero length
1819 chunk off the end of our array. Might have been harmless, but lets
1820 not take the chance. Rename some variables to make things a bit clearer as well. (Caught by Coverity). Coverity-CID: 12
1822 2012-01-12 Peter Clifton * peter AT clifton-electronics dot co dot uk *
1824 * src/action.c: Set changed flag on PCB when locking / unlocking
1827 2012-01-03 Peter Clifton * peter AT clifton-electronics dot co dot uk *
1829 * src/buffer.c: Update the crosshair constraints after mirroring or
1830 rotating the buffer. Avoids a bug where the paste location of the mirrored or rotated
1831 buffer contents are improperly constrained based upon their old
1834 2011-12-26 Peter Clifton * peter AT clifton-electronics dot co dot uk *
1836 * src/djopt.c: djopt.c: Fix incorrect allocation. I missed this fix from the commit
1837 ff2492399fd4743c3fd89ffd4fe6650ad0d80a4a (Caught by coverity) Coverity-cid: 239
1839 2011-12-25 Peter Clifton * peter AT clifton-electronics dot co dot uk *
1841 * gts/matrix.c, gts/refine.c, gts/split.c, gts/vopt.c: gts: Avoid
1842 performing computations with side-effects in g_assert statements g_assert (like assert), can be disabled at build time, so assertions
1843 should therefore not contain any expressions which have
1844 side-effects. Coverity caught a number of these in the copy gts library we have
1845 embedded. There were also a couple which coverity didn't complain
1846 about, which appear to be the same class of problem. Fix them by
1847 separating the computation and the assertion test, adding a
1848 temporary result variable as necessary. Coverity-cid: 56 Coverity-cid: 57 Coverity-cid: 57 Coverity-cid: 58
1851 2011-12-25 Peter Clifton * peter AT clifton-electronics dot co dot uk *
1853 * src/hid/gtk/gui-netlist-window.c: hid/gtk: Avoid warnings when
1854 netlist window is not created. 1. When the NetlistChanged action is fired, we should only update if
1855 the netlist window is visible. (It will be created up to date when
1856 the user asks for it). 2. Always show the netlist window when requested, even if it has no entries. This is good for consistent UI behaviour anyway, as the
1857 user should be shown a blank netlist window if they request it..
1858 even if the is no content to display.
1860 2011-12-24 Peter Clifton * peter AT clifton-electronics dot co dot uk *
1862 * src/hid/gtk/ghid-cell-renderer-visibility.c: hid/gtk: Add subtle
1863 gradient effect to layer selector swatches Just because gradients are pretty ;)
1865 2011-12-24 Peter Clifton * pcjc2 AT cam dot ac dot uk *
1867 * src/hid/gtk/gui-netlist-window.c: hid/gtk: Fix NetlistChanged
1868 action crash when exporting from the commandline. I broke this in commit 7308f512307158944482227d58e66373fd023d62 when
1869 I added a missing notification to the GUI when free'ing the netlist.
1870 It turns out that a command-line invoked export (such as used to
1871 export images in the doc/ build) will hit this code-path, and
1872 provoke the GUI netlist window code to try and update before the GUI
1873 is actually loaded. For now, lets fix this with a bandaid and just skip the netlist
1874 update if the GUI is not up. A brief inspection of the code (and test for the doc/ build)
1875 suggests that the Lesstif HID is not affected by this problem. (It
1876 has similar code to avoid creating the netlist window if the main
1877 window is not already created).
1879 2011-12-24 Peter Clifton * pcjc2 AT cam dot ac dot uk *
1881 * src/hid/gtk/gtkhid-main.c, src/hid/gtk/gui.h: hid/gtk: Move
1882 ghid_gui_is_up variable into the ghidgui structure. This lets us access it outside of gtkhid-main.c
1884 2011-12-24 Peter Clifton * pcjc2 AT cam dot ac dot uk *
1886 * src/global.h, src/mymem.h: Remove *TypePtr and *TypeHandle aliases
1887 now we no longer use them (May break build of plugins, hence keeping this as a separately
1890 2011-12-24 Peter Clifton * pcjc2 AT cam dot ac dot uk *
1892 * src/action.c, src/autoplace.c, src/autoroute.c, src/buffer.c,
1893 src/buffer.h, src/change.c, src/change.h, src/copy.c, src/copy.h,
1894 src/create.c, src/create.h, src/crosshair.c, src/data.c,
1895 src/data.h, src/djopt.c, src/draw.c, src/draw.h, src/drill.c,
1896 src/drill.h, src/edif.y, src/file.c, src/find.c, src/find.h,
1897 src/fontmode.c, src/global.h, src/hid/gerber/gerber.c,
1898 src/hid/gtk/gtkhid-gl.c, src/hid/gtk/gtkhid-main.c,
1899 src/hid/gtk/gui-drc-window.c, src/hid/gtk/gui-netlist-window.c,
1900 src/hid/gtk/gui-output-events.c, src/hid/gtk/gui.h,
1901 src/hid/lesstif/netlist.c, src/hid/nelma/nelma.c, src/hid/ps/ps.c,
1902 src/insert.c, src/insert.h, src/intersect.c, src/intersect.h,
1903 src/line.c, src/line.h, src/macro.h, src/mirror.c, src/mirror.h,
1904 src/misc.c, src/misc.h, src/move.c, src/move.h, src/mtspace.c,
1905 src/mymem.c, src/mymem.h, src/netlist.c, src/parse_l.h,
1906 src/parse_l.l, src/parse_y.y, src/polygon.c, src/polygon.h,
1907 src/polygon1.c, src/print.c, src/puller.c, src/rats.c, src/rats.h,
1908 src/remove.c, src/remove.h, src/report.c, src/rotate.c,
1909 src/rotate.h, src/rubberband.c, src/search.c, src/search.h,
1910 src/select.c, src/select.h, src/thermal.c, src/thermal.h,
1911 src/toporouter.c, src/undo.c, src/undo.h, src/vendor.c,
1912 src/vendor.h: Remove usage of *TypePtr and *TypeHandle type aliases Coverity already caught several bugs where we mixed up the various
1913 FooType FooTypePtr and FooTypeHandle types when passing to sizeof(). Personally I find it much easier to follow FooType * and FooType **,
1914 so drop the aliases and hopefully keep things earier to follow.
1916 2011-12-24 Peter Clifton * pcjc2 AT cam dot ac dot uk *
1918 * src/mymem.c: mymem.c: Fix incorrect types passed to sizeof() in a
1919 couple of places (Caught by coverity) Coverity-cid: 242 Coverity-cid: 243 Coverity-cid: 244 Coverity-cid:
1922 2011-12-24 Peter Clifton * pcjc2 AT cam dot ac dot uk *
1924 * src/djopt.c: djopt.c: Allocate correct size for structure pointer (Caught by coverity) Coverity-cid: 239
1926 2011-12-24 Peter Clifton * pcjc2 AT cam dot ac dot uk *
1928 * src/undo.c: undo.c: Fix incorrect sizeof() when allocting memory
1929 for netlist undo (Caught by coverity) Coverity-cid: 241
1931 2011-12-24 Peter Clifton * pcjc2 AT cam dot ac dot uk *
1933 * src/action.c: action.c: Unconditionally notify NetlistChanged()
1934 when loading new netlist We need to call NetlistChanged() even if the loading failed,
1935 otherwise the GUI is not informed that we free'd the old netlist.
1937 2011-12-24 Peter Clifton * pcjc2 AT cam dot ac dot uk *
1939 * src/mymem.c: Fix crash upon pressing "f" hotkey (find connected)
1940 after a board revert. Reproduction of this crash (before fix!): 1. Load a PCB with a netlist. 2. Open the netlist window to initialise the netlist. 3. File->Revert the PCB 4. Hit "f" key whilst the croshair is over any pad Analysis: When you File->Revert the layout, the GTK GUI's netlist window is
1941 not cleared as the old layout is free'd (or as an equivalent cause..
1942 "NetlistChanged(0)" is not called the reverted layout is loaded). Having had the netlist window open before the revert, the
1943 data-structures in the GUI are initialised, but point to the
1944 pre-revert layout. They are not explicitly updated with a
1945 "NetlistChanged" notification, so when the user next hits "f" for
1946 find, it will try to use the stale pointers it already had. Fix: Call "NetlistChanged (0);" after free'ing the netlist memory. The
1947 "FreeNetlistMemory()" call only free's the individual nets, the
1948 parent netlist structure which points to that memory and identifies
1949 how many nets are present is zeroed by the FreeNetlistMemory() call,
1950 so we can safely call NetlistChanged() at this point, before we have
1951 reloaded a new netlist.
1953 2011-12-24 Peter Clifton * pcjc2 AT cam dot ac dot uk *
1955 * doc/pcb.texi, src/hid/bom/bom.c,
1956 tests/golden/hid_bom1/bom_general.bom,
1957 tests/golden/hid_bom1/bom_general.xy,
1958 tests/golden/hid_bom2/bom_general.xy,
1959 tests/golden/hid_bom2/test.bom,
1960 tests/golden/hid_bom3/bom_general.bom,
1961 tests/golden/hid_bom3/test.xy,
1962 tests/golden/hid_bom4/bom_general.bom,
1963 tests/golden/hid_bom4/bom_general.xy: Remove $Id$ lines from bom
1964 exporter .xy and .bom output Modern version control systems don't use this kind of expansion, so
1965 these lines don't serve much purpose.
1967 2011-12-23 Peter Clifton * pcjc2 AT cam dot ac dot uk *
1969 * Makefile.am, README.cvs_branches, README_FILES/Makefile.am,
1970 acinclude.m4, autogen.sh, doc/ascii2texi.awk, doc/eps2png,
1971 doc/extract-docs, doc/fractional_size.tab, doc/gs/gs.texi,
1972 doc/gs/print-eps.scm, doc/ideas/database.txt,
1973 doc/ideas/keepouts.txt, doc/letter_size.tab, doc/metric_size.tab,
1974 doc/pcb.texi, doc/refcard.tex, doc/wire_size.tab, doc/wishlist.txt,
1975 example/Makefile.am, example/libraries/Makefile.am,
1976 example/libraries/example.inc, example/libraries/example.m4,
1977 globalconst.h, lib/CreateLibrary.sh.in,
1978 lib/CreateLibraryContents.sh.in, lib/ListLibraryContents.sh.in,
1979 lib/QueryLibrary.sh.in, lib/TTL_74xx_DIL.list, lib/TTL_74xx_DIL.m4,
1980 lib/amp.inc, lib/amphenol.inc, lib/amphenol.list, lib/amphenol.m4,
1981 lib/bourns.inc, lib/candk.inc, lib/common.m4, lib/connector.inc,
1982 lib/connector.list, lib/connector.m4, lib/crystal.list,
1983 lib/crystal.m4, lib/cts.inc, lib/dil.inc, lib/geda.inc,
1984 lib/gen_geda_list.awk, lib/gen_geda_m4.awk, lib/gen_list.awk,
1985 lib/gen_m4.awk, lib/generic.list, lib/generic.m4, lib/jerry.list,
1986 lib/jerry.m4, lib/johnstech.inc, lib/linear.list, lib/linear.m4,
1987 lib/logic.list, lib/logic.m4, lib/lsi.list, lib/lsi.m4,
1988 lib/m4lib_to_newlib.sh, lib/memory.list, lib/memory.m4,
1989 lib/minicircuits.inc, lib/misc.inc, lib/nichicon.inc,
1990 lib/optek.inc, lib/optical.list, lib/optical.m4, lib/panasonic.inc,
1991 lib/pci.inc, lib/pci.list, lib/pci.m4, lib/plcc.inc,
1992 lib/png_diff.sh, lib/qfn.inc, lib/qfp-ui.in, lib/qfp.inc,
1993 lib/qfp2.inc, lib/qfpdj.inc, lib/resistor_0.25W.list,
1994 lib/resistor_0.25W.m4, lib/resistor_adjust.list,
1995 lib/resistor_adjust.m4, lib/resistor_array.list,
1996 lib/resistor_array.m4, lib/rules.inc, lib/smt.inc,
1997 lib/texas_inst_amplifier.list, lib/texas_inst_amplifier.m4,
1998 lib/texas_inst_voltage_reg.list, lib/texas_inst_voltage_reg.m4,
1999 lib/transistor.list, lib/transistor.m4,
2000 newlib/2_pin_thru-hole_packages/Makefile.am, newlib/Makefile.am,
2001 newlib/connectors/Makefile.am, newlib/crystal/Makefile.am,
2002 newlib/electro-optics/Makefile.am, newlib/headers/Makefile.am,
2003 newlib/keystone/Makefile.am, newlib/msp430/Makefile.am,
2004 newlib/not_vetted_ingo/Makefile.am, newlib/sockets/Makefile.am,
2005 newlib/tests/Makefile.am, src/Makefile.am, src/action.h,
2006 src/autoplace.c, src/autoplace.h, src/autoroute.c, src/autoroute.h,
2007 src/box.h, src/buffer.c, src/buffer.h, src/change.c, src/change.h,
2008 src/clip.c, src/clip.h, src/command.c, src/command.h, src/compat.c,
2009 src/compat.h, src/const.h, src/copy.c, src/copy.h, src/create.c,
2010 src/create.h, src/crosshair.c, src/crosshair.h, src/data.c,
2011 src/data.h, src/djopt.c, src/djopt.h, src/dolists.h, src/draw.c,
2012 src/draw.h, src/drill.c, src/drill.h, src/error.c, src/error.h,
2013 src/file.c, src/find.c, src/find.h, src/flags.c, src/fontmode.c,
2014 src/gather-actions, src/global.h, src/heap.c, src/heap.h,
2015 src/hid/batch/batch.c, src/hid/bom/bom.c, src/hid/common/actions.c,
2016 src/hid/common/extents.c, src/hid/common/flags.c,
2017 src/hid/common/hidinit.c, src/hid/common/hidnogui.c,
2018 src/hid/gcode/curve.c, src/hid/gcode/decompose.c,
2019 src/hid/gcode/decompose.h, src/hid/gcode/gcode.h,
2020 src/hid/gcode/lists.h, src/hid/gcode/trace.c,
2021 src/hid/gcode/trace.h, src/hid/gerber/gerber.c,
2022 src/hid/gtk/gtkhid-gdk.c, src/hid/gtk/gtkhid-gl.c,
2023 src/hid/gtk/gtkhid-main.c, src/hid/gtk/gtkhid.h,
2024 src/hid/gtk/gui-command-window.c, src/hid/gtk/gui-config.c,
2025 src/hid/gtk/gui-dialog-print.c, src/hid/gtk/gui-dialog.c,
2026 src/hid/gtk/gui-drc-window.c, src/hid/gtk/gui-drc-window.h,
2027 src/hid/gtk/gui-icons-misc.data,
2028 src/hid/gtk/gui-icons-mode-buttons.data,
2029 src/hid/gtk/gui-keyref-window.c, src/hid/gtk/gui-library-window.c,
2030 src/hid/gtk/gui-log-window.c, src/hid/gtk/gui-misc.c,
2031 src/hid/gtk/gui-netlist-window.c, src/hid/gtk/gui-pinout-preview.c,
2032 src/hid/gtk/gui-pinout-preview.h, src/hid/gtk/gui-pinout-window.c,
2033 src/hid/gtk/gui-top-window.c, src/hid/gtk/gui-utils.c,
2034 src/hid/gtk/gui.h, src/hid/hidint.h, src/hid/lesstif/dialogs.c,
2035 src/hid/lesstif/lesstif.h, src/hid/lesstif/library.c,
2036 src/hid/lesstif/main.c, src/hid/lesstif/menu.c,
2037 src/hid/lesstif/netlist.c, src/hid/lesstif/styles.c,
2038 src/hid/lesstif/xincludes.h, src/hid/lpr/lpr.c,
2039 src/hid/nelma/nelma.c, src/hid/png/png.h, src/hid/ps/eps.c,
2040 src/hid/ps/ps.c, src/hid/ps/ps.h, src/icon.data,
2041 src/icons/Makefile.am, src/insert.c, src/insert.h, src/intersect.c,
2042 src/intersect.h, src/line.c, src/line.h, src/macro.h, src/main.c,
2043 src/mirror.c, src/mirror.h, src/misc.c, src/misc.h,
2044 src/mode_icon.data, src/move.c, src/move.h, src/mtspace.c,
2045 src/mtspace.h, src/mymem.c, src/mymem.h, src/netlist.c,
2046 src/parse_l.h, src/parse_l.l, src/parse_y.y, src/pcbtest.sh.in,
2047 src/polygon.h, src/print.c, src/print.h, src/puller.c, src/rats.c,
2048 src/rats.h, src/remove.c, src/remove.h, src/report.h,
2049 src/res_lex.l, src/res_parse.y, src/resource.h, src/rotate.c,
2050 src/rotate.h, src/rtree.c, src/rtree.h, src/rubberband.c,
2051 src/rubberband.h, src/search.c, src/search.h, src/select.c,
2052 src/select.h, src/set.c, src/set.h, src/strflags.c, src/strflags.h,
2053 src/thermal.c, src/thermal.h, src/undo.c, src/undo.h, src/vector.c,
2054 src/vector.h, src/vendor.c, src/vendor.h, tests/run_tests.sh,
2055 tools/Makefile.am, tools/MergePCBPS, tools/Merge_dimPCBPS,
2056 tutorial/Makefile.am: Remove remaining RCS $Id$ identifiers left
2057 over from our CVS days (Including a couple of $Id magic strings from files we got from
2058 potrace, which are used by the gcode exporter).
2060 2011-12-24 Peter Clifton * pcjc2 AT cam dot ac dot uk *
2062 * doc/eps2png: doc/eps2png: Remove version information from this
2063 utility This is obsolete since we switched from CVS, and refers to something
2064 called "Sciurix" (perhaps where we got this code from). Remove it
2065 for clarity. Also remove the -ident command line option, which we don't use, and
2066 refers to the above removed version information.
2068 2011-12-23 Peter Clifton * pcjc2 AT cam dot ac dot uk *
2070 * src/action.c, src/crosshair.c, src/global.h,
2071 src/hid/lesstif/main.c: Remove change log like comments from file
2072 headers We use git to track changes, not individual file headers.
2074 2011-12-23 Peter Clifton * pcjc2 AT cam dot ac dot uk *
2076 * src/hid/common/hidgl.c: hid/common/hidgl.c: Simplify angle
2077 calculation for drawing line caps Make use of atan2 to avoid special casing horizontal lines, and move
2078 make the input variables doubles to be consistent with that
2079 function. Our use of "tanl" was inappropriate for the float input,
2080 dobule output variables we were using before (spotted by Dan
2081 McMahill). I have modified the semantic meaning of angle, to keep the more
2082 conventional angle = atan2 (dy, dx); geometry. This means the angle
2083 now refers to the angle of the line, not the angle of the line-cap
2084 start. (The angle is adjusted before passing into the cap drawing
2087 2011-12-22 Dan McMahill * dan AT mcmahill dot net *
2089 * : commit c2a56b84d76e2c23eafce8cd0a562cb39b381c66 Author: Dan
2090 McMahill * dan AT mcmahill dot net * Date: Thu Dec 22 19:01:51
2093 2011-12-22 DJ Delorie * dj AT delorie dot com *
2095 * gts/Makefile.am: Don't install gts files Closes-bug: lp-854396
2097 2011-12-22 Andrew Poelstra * asp11 AT sfu dot ca *
2099 * src/set.c: Properly cancel rubberband move when user changes mode Closes-bug: lp-853609
2101 2011-12-21 Andrew Poelstra * asp11 AT sfu dot ca *
2103 * src/move.c: Update line RUBBERENDFLAG after move, even for trivial
2104 moves If you move a line segment, then drop it in its original place, the
2105 rubberband preview will be incorrect every other time you do this.
2106 This patch fixes that. Note that there is still incorrect behavior if the user starts a
2107 rubberband move, then hits Esc, then tries again. Affects-bug: lp-853609
2109 2011-12-21 Andrew Poelstra * asp11 AT sfu dot ca *
2111 * src/buffer.c, src/create.c, src/global.h, src/polygon.c: Revert
2112 previous commit, only update clipping for visible buffers This also fixes the undo bug, but without the performance hit. (It
2113 may not fix other synchronization bugs, but given that we haven't
2114 seen any, this should be okay.) Affects-bug: lp-699272
2116 2011-12-21 Andrew Poelstra * asp11 AT sfu dot ca *
2118 * src/buffer.c: Clip polygons after moving between buffers When moving a polygon between buffers (i.e., from the undo buffer to
2119 the PCB->Data buffer or vice-versa), line- and via-clipping is not
2120 recalculated. This means that any elements drawn on a buffer before
2121 the polygon is moved there, will not clip the polygon. One way (the only way, AFAIK) to make this happen is by bug
2122 lp-699272, which can reproduced as follows. I have inclided my
2123 explanation of what is happening at each step. 1. Draw a polygon with a line intersecting it, with clearpoly set and visible clearance between the two.a 2. Delete the polygon. [This moves the polygon verbatim, including its clipped form, from PCB->Data to RemoveList, the undo
2124 buffer.] 3. Delete the line. [This moves it from PCB->Data to RemoveList, calling RestoreToPolygon() to unclip any polygons on the screen (but there aren't any!), then ClearFromPolygon() to clip the polygon in the undo buffer (but this is already clipped!). In other words, the line is deleted and the polygon unchanged.] 4. Hit undo. [This moves the line from the undo buffer back to PCB->Data, calling RestoreToPolygon() to unclip the polygon in the undo buffer, then ClearFromPolygon() to clip any polygons
2125 on the screen (but there aren't any!). So the polygon is no
2126 longer clipped.] 5. Hit undo. [This brings the polygon back, copying it verbatim
2127 from the undo buffer to PCB->Data. As it is not clipped here, it
2128 isn't clipped on the screen, giving rise to the "no clipping" bug.] This patch adds a call to InitClip() to MovePolygonToBuffer(), which
2129 forces a recalculation of a polygon's clipping when it is moved
2130 between buffers. This is perhaps not the most efficient fix, but
2131 will prevent any such synchronization bugs. Closes-bug: lp-699272
2133 2011-12-20 Andrew Poelstra * asp11 AT sfu dot ca *
2135 * src/hid/gtk/ghid-route-style-selector.c: gtk: allow route style
2136 selector to have nothing selected The affects the the function ghid_route_style_selector_sync()
2137 function, which is called from the RouteStylesChanged action to keep
2138 the GUI in sync with pcb's state. It selects the route style that
2139 matches pcb's state, or if none exists, does nothing. This patch replaces "does nothing" with "deselects all styles", so
2140 that the GUI will not be misleading. Closes-bug: lp-699299
2142 2011-12-20 Andrew Poelstra * asp11 AT sfu dot ca *
2144 * src/hid/gtk/ghid-route-style-selector.c: gtk: fix memory leak in
2145 route style selector When the route style selector is emptied (e.g., when new styles are
2146 loaded from a .pcb file), any route style data not owned by pcb core
2147 is freed. However, this did not apply to all temporary route style
2148 data, even though the pcb core is completely unaware of those. This commit frees all temporary route style data.
2150 2011-12-20 Andrew Poelstra * asp11 AT sfu dot ca *
2152 * src/hid/gtk/ghid-main-menu.c: gtk: Add "plus" and "minus" to
2153 allowable keyboard shortcuts Closes-bug: sf-3081102
2155 2011-12-20 Andrew Poelstra * asp11 AT sfu dot ca *
2157 * src/hid/gtk/ghid-main-menu.c: gtk: check accelerator uniqueness in
2158 a case-insensitive way Closes-bug: lp-699496
2160 2011-12-20 Andrew Poelstra * asp11 AT sfu dot ca *
2162 * src/hid/gtk/ghid-route-style-selector.c,
2163 src/hid/gtk/gui-top-window.c: gtk: fix route style selector
2164 accelerators When the route-style list is changed, the menu items are not updated
2165 properly. (In fact, they come out of sync and point to invalid
2166 memory and lose their accelerators.) This commit fixes all that.
2168 2011-12-20 Andrew Poelstra * asp11 AT sfu dot ca *
2170 * src/hid/gtk/gui-library-window.c: gtk: library window: ignore
2171 element if LoadElementToBuffer fails In gtk/gui-library-window.c, the library window's selection-change
2172 callback calls LoadElementToBuffer() to read the selected element,
2173 so it can show a preview and select the element if necessary. The return value of this determines whether to set pcb's mode to
2174 PASTEBUFFER_MODE. However, the library window preview is attempted
2175 regardless. If LoadElementToBuffer failed, this causes a NULL
2176 reference and segfault. This patch skips the preview in the case that LoadElementToBuffer. Closes-bug: lp-853628 Closes-bug: lp-852600
2178 2011-12-19 Dan McMahill * dan AT mcmahill dot net *
2180 * : commit 93d1b34f9a0f3dae4f90f7fb4638626169d152d0 Author: Dan
2181 McMahill * dan AT mcmahill dot net * Date: Mon Dec 19 11:47:54
2184 2011-12-19 Peter Clifton * pcjc2 AT cam dot ac dot uk *
2186 * src/hid/gerber/gerber.c: hid/gerber: Fixup trailing zeros from
2187 commit b90fb6ae22ae83fdc0c802268dcbe74005bc705e (The trailing zero needs to be outside the format specifier)
2189 2011-12-19 Peter Clifton * pcjc2 AT cam dot ac dot uk *
2191 * src/action.c: action.c: Fix leak of schname in ActionImport()
2193 2011-12-19 Peter Clifton * pcjc2 AT cam dot ac dot uk *
2195 * src/heap.c: heap.c: Don't set the v variable twice to the same
2196 value in __upheap. (Caught with clang)
2198 2011-12-19 Peter Clifton * pcjc2 AT cam dot ac dot uk *
2200 * src/find.c: find.c: Tidy up some ugly code in
2201 LookupLOConnectionsToLOList() Cleaned up whilst chasing some clang warnings. It appears there is
2202 no real problem here, as max_copper_layers is going to be >0 for any
2203 PCB. If not, there are potential uses of uninitialised data.
2205 2011-12-19 Peter Clifton * pcjc2 AT cam dot ac dot uk *
2207 * src/action.c: src/action.c: Abort the Import(setnewport,mask)
2208 action if the mask isn't set This avoids using an uninitialised variable. (Caught by clang)
2210 2011-12-19 Peter Clifton * pcjc2 AT cam dot ac dot uk *
2212 * src/hid/png/png.c: hid/png/png.c: Remove buggy code for swapping
2213 x1/x2 and y1/y2 Since the png hid works, and this code is ineffective due to a typo,
2214 we probably ought to remove it. (Caught by clang)
2216 2011-12-19 Peter Clifton * pcjc2 AT cam dot ac dot uk *
2218 * src/hid/gerber/gerber.c: gerber.c: Tidy up use_gc() routine to
2219 avoid a static anlysis warning Don't unconditionally access the aptr variable right after we just
2220 NULL tested it. (Caught by clang)
2222 2011-12-19 Peter Clifton * pcjc2 AT cam dot ac dot uk *
2224 * src/hid/gerber/gerber.c: hid/gerber: Fix a couple of typos in
2225 drill_sort routine Should fix sorting of drill holes by coordinate. (Caught by clang)
2227 2011-12-19 Peter Clifton * pcjc2 AT cam dot ac dot uk *
2229 * src/hid/gerber/gerber.c: hid/gerber: Remove dead colour selection
2232 2011-12-19 Peter Clifton * pcjc2 AT cam dot ac dot uk *
2234 * src/hid/gcode/gcode.c, src/hid/nelma/nelma.c: Remove dead colour
2235 selection code from nelma and gcode hids (Silences some unused code warnings from clang)
2237 2011-12-19 Peter Clifton * pcjc2 AT cam dot ac dot uk *
2239 * src/action.c: action.c: Fixup some syntax so it appears as legal C
2240 before macro expansion "if TEST_FLAG (...) {" does not look like legal C until the
2241 TEST_FLAG macro is expanded. This works because the macro is wrapped
2242 with a () like all good function-like pre-processor macros. This bad style was upsetting cppcheck, which flagged up a syntax
2243 error for this line. (Obviously it was not expanding macros before
2246 2011-12-19 Peter Clifton * pcjc2 AT cam dot ac dot uk *
2248 * src/hid/gtk/gui-netlist-window.c: hid/gtk: Remove some assigned,
2249 but unused variables in the netlist window (Caught with clang)
2251 2011-12-19 Peter Clifton * pcjc2 AT cam dot ac dot uk *
2253 * src/hid/gtk/gui-netlist-window.c: hid/gtk: Fix broken pad-center
2254 finding code in the netlist window Looks like I made a copy+paste error in the code which shows the
2255 user the location of a particular netlist connection. (Caught with clang)
2257 2011-12-18 Andrew Poelstra * asp11 AT sfu dot ca *
2259 * tests/tests.list: Increase DPI of test hid_png3 Since the nanometers conversion, hid_png3 has failed due to rounding
2260 changes. I have changed the test's output DPI from 300 to 600, to
2261 decrease the chances of this happening in the future. Fixes-bug: lp-860037
2263 2011-12-18 Peter Clifton * pcjc2 AT cam dot ac dot uk *
2265 * src/hid/gtk/ghid-layer-selector.c: hid/gtk/ghid_layer_selector.c:
2266 Use g_malloc for the new_layer structure This eventually gets free'd with g_free(). We need match these
2267 allocations and de-allocations carefully, otherwise various
2268 corruption and crashes could occur. (Caught with cppcheck)
2270 2011-12-18 Peter Clifton * pcjc2 AT cam dot ac dot uk *
2272 * src/hid/common/hidnogui.c: hid/common/hidnogui.c: Plug leak in
2273 nogui_prompt_for and nogui_fileselect We forgot to free() the memory returned from read_stdin_line().
2274 There is actually no need to strdup the answer anyway, so pass the
2275 returned value directly and let the caller free it. (Caught with cppcheck)
2277 2011-12-18 Peter Clifton * pcjc2 AT cam dot ac dot uk *
2279 * src/hid/common/hidinit.c: hid/common: Don't leak the dir resource
2280 in hid_load_dir() Add missing closedir() call. (Caught with cppcheck)
2282 2011-12-18 Peter Clifton * pcjc2 AT cam dot ac dot uk *
2284 * src/file.c: file.c: Cleanup mixed pclose() / fclose() in
2285 ReadNetlist() In the "Empty netlist file!" error path, we called pclose()
2286 unconditionally where we should have tested "used_popen" first. (Caught with cppcheck)
2288 2011-12-18 Peter Clifton * pcjc2 AT cam dot ac dot uk *
2290 * src/file.c: file.c: Plug leak of libpaths variable in
2291 ParseLibraryTree() function (Caught with cppcheck)
2293 2011-12-18 Peter Clifton * pcjc2 AT cam dot ac dot uk *
2295 * src/hid/gtk/gtkhid-main.c: hid/gtk: Free share_dir variable after
2296 use (Caught with cppcheck)
2298 2011-12-18 Peter Clifton * pcjc2 AT cam dot ac dot uk *
2300 * src/hid/gcode/gcode.c: hid/gcode: Fix memory leak in error path (Caught with cppcheck)
2302 2011-12-18 Peter Clifton * pcjc2 AT cam dot ac dot uk *
2304 * src/hid/gcode/gcode.c: hid/gcode: Fix mismatched g_strdup_printf()
2305 and free() Allocations from the g_*() functions shuold be free'd with g_free(). (Caught with cppcheck)
2307 2011-12-18 Peter Clifton * pcjc2 AT cam dot ac dot uk *
2309 * src/hid/lpr/lpr.c: hid/lpr: Don't mis-match popen and fclose
2310 (should be pclose) (Caught with cppcheck)
2312 2011-12-16 Peter Clifton * pcjc2 AT cam dot ac dot uk *
2314 * src/search.c: search.c: Return the pad who's center is closest to
2315 the queried coordinate When snapping to pads we often find the case where the search radius
2316 is wider than the spacing between pads. SearchPadByLocation()
2317 previously returned the first pad it found whthin the search area,
2318 meaning you could have the crosshair right above a particular pad,
2319 yet snap to a different pad due to it being within the search radius
2320 of the crosshair, and happening to be tested first by the r-tree
2321 search code. This proof of concept change makes SearchPadByLocation() return the
2322 pad whos center coordinate is closest to the center of the search
2323 location. This fixes another annoying snapping behaviour for some parts such
2324 as "0805", when operating with a fairly course grid. (NB: Search
2325 radius for snapping is related to the size of the current grid).
2327 2011-12-16 Peter Clifton * pcjc2 AT cam dot ac dot uk *
2329 * src/crosshair.c: crosshair.c: Be paranoid about overflow when
2330 finding an pad-center coordinates Not aiming to fix any particular bug here, but I noticed the
2331 potential overflow here and thought I'd fix it. Longer term, we
2332 perhaps ought to write some convenience functions for performing
2333 operations like this correctly.
2335 2011-12-16 Peter Clifton * pcjc2 AT cam dot ac dot uk *
2337 * src/crosshair.c: crosshair.c: Snap to later-tested objects
2338 equi-distant with the current snap. This inequality adjustment means that when an element mark is
2339 on-grid, and the first-snap is a grid location snap, the test
2340 against the element mark will now pass, and mark the snap as a
2341 non-grid snap. This fixes the rather irritating bug where certain footprints, such
2342 as SMT resistors became impossible to grab by their element mark
2343 when that mark landed exactly on a grid point.
2345 2011-12-15 Andrew Poelstra * asp11 AT sfu dot ca *
2347 * src/hid/gerber/gerber.c: Fix plated-drill overflow bug in gerber.c Plated drills are printed in 1/10 mils rather than mils (it's a
2348 funny format). This was previously achieved by multiplying
2349 coordinates by 10, then printing them as mils. However, this caused
2350 an overflow for medium-large boards on 32-bit systems. This fix just prints a trailing 0 onto the measures, rather than
2351 computing the value times ten.
2353 2011-12-08 Dan McMahill * dan AT mcmahill dot net *
2355 * src/main.c: Add (protected) include for locale.h. Needed for
2356 setlocale() prototype as well as LC_ALL on some systems.
2358 2011-11-25 Andrew Poelstra (local) * apoelstra AT wpsoftware dot net *
2360 * src/hid/gerber/gerber.c: gerber.c: Use ` modifier in pcb-printf to
2361 fix internationalization bug
2363 2011-11-25 Andrew Poelstra (local) * apoelstra AT wpsoftware dot net *
2365 * src/hid/gerber/gerber.c: Revert "Fix locale-dependent gerber
2366 output" This reverts commit 2473e26c7d9581753a28f1f55a4a4b7ff109a3f2. A better fix would be to use the new pcb-printf specifier, rather
2367 than manually using g_ascii_strtod with the COORD_TO_ macros.
2369 2011-11-25 Andrew Poelstra (local) * apoelstra AT wpsoftware dot net *
2371 * src/pcb-printf.c, src/pcb-printf.h: Add ` modifier to pcb-printf,
2372 which forces '.' as a decimal separator This should be used for the gerber exporter and other formats that
2373 need to use '.' regardless of locale in order to obey their
2374 standards. Note that the %mr specifier (which restricts suffixes to mm and mil
2375 so that old pcb versions can read them) uses this by default, so no
2376 changes need to be made to file.c.
2378 2011-11-20 Dima Kogan * dima AT secretsauce dot net *
2380 * tests/golden/hid_gcode1/Makefile.am,
2381 tests/golden/hid_gcode10/Makefile.am,
2382 tests/golden/hid_gcode11/Makefile.am,
2383 tests/golden/hid_gcode2/Makefile.am,
2384 tests/golden/hid_gcode3/Makefile.am,
2385 tests/golden/hid_gcode4/Makefile.am,
2386 tests/golden/hid_gcode5/Makefile.am,
2387 tests/golden/hid_gcode6/Makefile.am,
2388 tests/golden/hid_gcode7/Makefile.am,
2389 tests/golden/hid_gcode8/Makefile.am,
2390 tests/golden/hid_gcode9/Makefile.am: gcode test Makefiles now dist
2391 the golden results with the new filenames
2393 2011-11-20 Dima Kogan * dima AT secretsauce dot net *
2395 * tests/run_tests.sh: gcode tests: date-stripping now supports all
2398 2011-11-19 DJ Delorie * dj AT delorie dot com *
2400 * src/set.c: Add missing pcb-printf.h set.c was calling pcb_g_strdup_printf() without #including
2401 pcb-printf.h, resulting in a missing prototype warning.
2403 2011-11-16 Dima Kogan * dima AT secretsauce dot net *
2405 * src/hid/png/png.c: png hid: fixed some instances of an 'int' being
2406 used instead of Coord. After the unit switch, some cases where an int has sufficed
2407 previously no longer work. An example is png output of tilted,
2408 square pads. Before this patch those pads do not get drawn
2409 correctly; their size is completely wrong.
2411 2011-11-19 Dima Kogan * dima AT secretsauce dot net *
2413 * src/hid/gcode/gcode.c: g-code hid: converted use of hypot() to
2416 2011-11-19 DJ Delorie * dj AT delorie dot com *
2418 * src/hid/gerber/gerber.c: Fix locale-dependent gerber output pcb_printf doesn't have a modifier that lets you select a unit (%mi)
2419 and locale-independent format (like %mr) at the same time. The
2420 gerber hid was using %mi to output to a file, but that resulted in
2421 ',' instead of '.' for some locales. This patch switches it to call
2422 g_ascii_formatd() on the value first, to ensure it's output with
2425 2011-11-19 Ahmed El-Mahmoudy * aelmahmoudy AT sabily dot org *
2427 * src/hid/common/hidgl.c: Fix typo (recieved -> received)
2429 2011-10-02 Alan Somers * asomers AT gmail dot com *
2431 * tools/Makefile.am, tools/pcbdiff: Adding a script to graphically
2434 2011-11-13 Dima Kogan * dima AT secretsauce dot net *
2436 * tests/golden/hid_gcode1/gcode_oneline-0.0350.drill.gcode,
2437 tests/golden/hid_gcode1/gcode_oneline-bottom.gcode,
2438 tests/golden/hid_gcode1/gcode_oneline-top.gcode,
2439 tests/golden/hid_gcode10/gcode_oneline-0.8890.drill.gcode,
2440 tests/golden/hid_gcode10/gcode_oneline-bottom.gcode,
2441 tests/golden/hid_gcode10/gcode_oneline-top.gcode,
2442 tests/golden/hid_gcode11/gcode_oneline-0.0350.drill.gcode,
2443 tests/golden/hid_gcode11/gcode_oneline-bottom.gcode,
2444 tests/golden/hid_gcode11/gcode_oneline-top.gcode,
2445 tests/golden/hid_gcode2/out-0.0350.drill.gcode,
2446 tests/golden/hid_gcode2/out-bottom.gcode,
2447 tests/golden/hid_gcode2/out-top.gcode,
2448 tests/golden/hid_gcode3/gcode_oneline-0.0350.drill.gcode,
2449 tests/golden/hid_gcode3/gcode_oneline-bottom.gcode,
2450 tests/golden/hid_gcode3/gcode_oneline-top.gcode,
2451 tests/golden/hid_gcode4/gcode_oneline-0.0350.drill.gcode,
2452 tests/golden/hid_gcode4/gcode_oneline-bottom.gcode,
2453 tests/golden/hid_gcode4/gcode_oneline-top.gcode,
2454 tests/golden/hid_gcode5/gcode_oneline-0.0350.drill.gcode,
2455 tests/golden/hid_gcode5/gcode_oneline-bottom.gcode,
2456 tests/golden/hid_gcode5/gcode_oneline-top.gcode,
2457 tests/golden/hid_gcode6/gcode_oneline-0.0350.drill.gcode,
2458 tests/golden/hid_gcode6/gcode_oneline-bottom.gcode,
2459 tests/golden/hid_gcode6/gcode_oneline-top.gcode,
2460 tests/golden/hid_gcode7/gcode_oneline-0.0350.drill.gcode,
2461 tests/golden/hid_gcode7/gcode_oneline-bottom.gcode,
2462 tests/golden/hid_gcode7/gcode_oneline-top.gcode,
2463 tests/golden/hid_gcode8/gcode_oneline-0.8890.drill.gcode,
2464 tests/golden/hid_gcode8/gcode_oneline-bottom.gcode,
2465 tests/golden/hid_gcode8/gcode_oneline-top.gcode,
2466 tests/golden/hid_gcode9/gcode_oneline-0.0350.drill.gcode,
2467 tests/golden/hid_gcode9/gcode_oneline-bottom.gcode,
2468 tests/golden/hid_gcode9/gcode_oneline-top.gcode: reference gcode
2469 tests now match the latest generated gcode
2471 2011-11-13 Dima Kogan * dima AT secretsauce dot net *
2473 * tests/run_tests.sh: gcode tests: stripping creation timestamp more
2476 2011-11-13 Dima Kogan * dima AT secretsauce dot net *
2478 * tests/run_tests.sh: fixed broken bom, xy and gcode testing I was comparing the reference files to themselves. Now comparing
2479 reference and test files
2481 2011-11-13 Dima Kogan * dima AT secretsauce dot net *
2483 * tests/run_tests.sh: test script: local-ized all variables passed
2484 into functions. stuff no longer gets overwritten
2486 2011-11-13 Dima Kogan * dima AT secretsauce dot net *
2488 * tests/run_tests.sh: test script: added missing boilerplate to set
2489 normalized filenames
2491 2011-11-13 Dima Kogan * dima AT secretsauce dot net *
2493 * tests/run_tests.sh: unit test script: fixed incorrect file
2496 2011-11-13 Dima Kogan * dima AT secretsauce dot net *
2498 * tests/golden/hid_gcode1/gcode_oneline-0.0350.drill.gcode,
2499 tests/golden/hid_gcode1/gcode_oneline-drill.gcode,
2500 tests/golden/hid_gcode10/gcode_oneline-0.8890.drill.gcode,
2501 tests/golden/hid_gcode10/gcode_oneline-drill.gcode,
2502 tests/golden/hid_gcode11/gcode_oneline-0.0350.drill.gcode,
2503 tests/golden/hid_gcode11/gcode_oneline-drill.gcode,
2504 tests/golden/hid_gcode2/out-0.0350.drill.gcode,
2505 tests/golden/hid_gcode2/out-drill.gcode,
2506 tests/golden/hid_gcode3/gcode_oneline-0.0350.drill.gcode,
2507 tests/golden/hid_gcode3/gcode_oneline-drill.gcode,
2508 tests/golden/hid_gcode4/gcode_oneline-0.0350.drill.gcode,
2509 tests/golden/hid_gcode4/gcode_oneline-drill.gcode,
2510 tests/golden/hid_gcode5/gcode_oneline-0.0350.drill.gcode,
2511 tests/golden/hid_gcode5/gcode_oneline-drill.gcode,
2512 tests/golden/hid_gcode6/gcode_oneline-0.0350.drill.gcode,
2513 tests/golden/hid_gcode6/gcode_oneline-drill.gcode,
2514 tests/golden/hid_gcode7/gcode_oneline-0.0350.drill.gcode,
2515 tests/golden/hid_gcode7/gcode_oneline-drill.gcode,
2516 tests/golden/hid_gcode8/gcode_oneline-0.8890.drill.gcode,
2517 tests/golden/hid_gcode8/gcode_oneline-drill.gcode,
2518 tests/golden/hid_gcode9/gcode_oneline-0.0350.drill.gcode,
2519 tests/golden/hid_gcode9/gcode_oneline-drill.gcode, tests/tests.list:
2520 gcode tests now look for the new size-specific drill files
2522 2011-11-13 Dima Kogan * dima AT secretsauce dot net *
2524 * tests/tests.list: updated tests.list to use tool diameter instead
2525 of radius when testing gcode
2527 2011-11-13 Dima Kogan * dima AT secretsauce dot net *
2529 * tests/tests.list: fixed incorrect comment in tests.list
2531 2011-11-13 Dima Kogan * dima AT secretsauce dot net *
2533 * src/hid/gcode/gcode.c: added some forgotten newlines in the gcode
2536 2011-11-13 Dima Kogan * dima AT secretsauce dot net *
2538 * src/hid/gcode/gcode.c: g-code exporter now outputs NC-drills for
2539 different hole sizes into different files
2541 2011-11-13 Dima Kogan * dima AT secretsauce dot net *
2543 * src/hid/gcode/gcode.c: a few tab->spaces conversions in comments
2545 2011-11-13 Dima Kogan * dima AT secretsauce dot net *
2547 * src/hid/gcode/gcode.c: removed some trailing whitespace in
2550 2011-09-10 Dima Kogan * dima AT secretsauce dot net *
2552 * src/hid/gcode/gcode.c: gcode exporter: reworked and cleaned up
2553 sort_drill() This function no longer deallocates the memory passed into it, which
2554 is a potential source of issues for the unsuspecting caller. Instead
2555 it sorts the data in-place
2557 2011-09-09 Dima Kogan * dima AT secretsauce dot net *
2559 * src/hid/gcode/gcode.c: gcode exporter: minor whitespace
2562 2011-09-09 Dima Kogan * dima AT secretsauce dot net *
2564 * src/hid/gcode/gcode.c: gcode exporter: made some functions static
2566 2011-11-13 Dima Kogan * dima AT secretsauce dot net *
2568 * tests/golden/hid_gcode1/gcode_oneline-bottom.gcode,
2569 tests/golden/hid_gcode1/gcode_oneline-drill.gcode,
2570 tests/golden/hid_gcode1/gcode_oneline-top.gcode,
2571 tests/golden/hid_gcode1/gcode_oneline.gcode.bottom.cnc,
2572 tests/golden/hid_gcode1/gcode_oneline.gcode.drill.cnc,
2573 tests/golden/hid_gcode1/gcode_oneline.gcode.top.cnc,
2574 tests/golden/hid_gcode10/gcode_oneline-bottom.gcode,
2575 tests/golden/hid_gcode10/gcode_oneline-drill.gcode,
2576 tests/golden/hid_gcode10/gcode_oneline-top.gcode,
2577 tests/golden/hid_gcode10/gcode_oneline.gcode.bottom.cnc,
2578 tests/golden/hid_gcode10/gcode_oneline.gcode.drill.cnc,
2579 tests/golden/hid_gcode10/gcode_oneline.gcode.top.cnc,
2580 tests/golden/hid_gcode11/gcode_oneline-bottom.gcode,
2581 tests/golden/hid_gcode11/gcode_oneline-drill.gcode,
2582 tests/golden/hid_gcode11/gcode_oneline-top.gcode,
2583 tests/golden/hid_gcode11/gcode_oneline.gcode.bottom.cnc,
2584 tests/golden/hid_gcode11/gcode_oneline.gcode.drill.cnc,
2585 tests/golden/hid_gcode11/gcode_oneline.gcode.top.cnc,
2586 tests/golden/hid_gcode2/out-bottom.gcode,
2587 tests/golden/hid_gcode2/out-drill.gcode,
2588 tests/golden/hid_gcode2/out-top.gcode,
2589 tests/golden/hid_gcode2/out.bottom.cnc,
2590 tests/golden/hid_gcode2/out.drill.cnc,
2591 tests/golden/hid_gcode2/out.top.cnc,
2592 tests/golden/hid_gcode3/gcode_oneline-bottom.gcode,
2593 tests/golden/hid_gcode3/gcode_oneline-drill.gcode,
2594 tests/golden/hid_gcode3/gcode_oneline-top.gcode,
2595 tests/golden/hid_gcode3/gcode_oneline.gcode.bottom.cnc,
2596 tests/golden/hid_gcode3/gcode_oneline.gcode.drill.cnc,
2597 tests/golden/hid_gcode3/gcode_oneline.gcode.top.cnc,
2598 tests/golden/hid_gcode4/gcode_oneline-bottom.gcode,
2599 tests/golden/hid_gcode4/gcode_oneline-drill.gcode,
2600 tests/golden/hid_gcode4/gcode_oneline-top.gcode,
2601 tests/golden/hid_gcode4/gcode_oneline.gcode.bottom.cnc,
2602 tests/golden/hid_gcode4/gcode_oneline.gcode.drill.cnc,
2603 tests/golden/hid_gcode4/gcode_oneline.gcode.top.cnc,
2604 tests/golden/hid_gcode5/gcode_oneline-bottom.gcode,
2605 tests/golden/hid_gcode5/gcode_oneline-drill.gcode,
2606 tests/golden/hid_gcode5/gcode_oneline-top.gcode,
2607 tests/golden/hid_gcode5/gcode_oneline.gcode.bottom.cnc,
2608 tests/golden/hid_gcode5/gcode_oneline.gcode.drill.cnc,
2609 tests/golden/hid_gcode5/gcode_oneline.gcode.top.cnc,
2610 tests/golden/hid_gcode6/gcode_oneline-bottom.gcode,
2611 tests/golden/hid_gcode6/gcode_oneline-drill.gcode,
2612 tests/golden/hid_gcode6/gcode_oneline-top.gcode,
2613 tests/golden/hid_gcode6/gcode_oneline.gcode.bottom.cnc,
2614 tests/golden/hid_gcode6/gcode_oneline.gcode.drill.cnc,
2615 tests/golden/hid_gcode6/gcode_oneline.gcode.top.cnc,
2616 tests/golden/hid_gcode7/gcode_oneline-bottom.gcode,
2617 tests/golden/hid_gcode7/gcode_oneline-drill.gcode,
2618 tests/golden/hid_gcode7/gcode_oneline-top.gcode,
2619 tests/golden/hid_gcode7/gcode_oneline.gcode.bottom.cnc,
2620 tests/golden/hid_gcode7/gcode_oneline.gcode.drill.cnc,
2621 tests/golden/hid_gcode7/gcode_oneline.gcode.top.cnc,
2622 tests/golden/hid_gcode8/gcode_oneline-bottom.gcode,
2623 tests/golden/hid_gcode8/gcode_oneline-drill.gcode,
2624 tests/golden/hid_gcode8/gcode_oneline-top.gcode,
2625 tests/golden/hid_gcode8/gcode_oneline.gcode.bottom.cnc,
2626 tests/golden/hid_gcode8/gcode_oneline.gcode.drill.cnc,
2627 tests/golden/hid_gcode8/gcode_oneline.gcode.top.cnc,
2628 tests/golden/hid_gcode9/gcode_oneline-bottom.gcode,
2629 tests/golden/hid_gcode9/gcode_oneline-drill.gcode,
2630 tests/golden/hid_gcode9/gcode_oneline-top.gcode,
2631 tests/golden/hid_gcode9/gcode_oneline.gcode.bottom.cnc,
2632 tests/golden/hid_gcode9/gcode_oneline.gcode.drill.cnc,
2633 tests/golden/hid_gcode9/gcode_oneline.gcode.top.cnc,
2634 tests/tests.list: renamed golden test files to match new gcode
2637 2011-11-16 Andrew Poelstra (local) * apoelstra AT wpsoftware dot net *
2639 * src/file.c, src/set.c: Add attribute PCB::grid::size for user's
2640 grid setting This stores the grid size using pcb-printf for full precision; the
2641 ordinary value in Grid[] needs to be in cmils for backward
2642 compatibility, so it cannot store metric settings correctly.
2644 2011-11-12 Richard Barlow * richard AT richardbarlow dot co dot uk *
2646 * src/pcb-printf.c: Fix parsing of route styles with units A bug appeared after route styles started being saved with units
2647 suffixed. When loading a PCB file the units were ignored and
2648 therefore it was assumed the values were in cmils. This was a problem in the get_unit_struct() function which didn't
2649 handle long strings well. If the unit was followed by more
2650 characters strcmp would return non-zero. The function has already
2651 worked out the length of the unit text and therefore strncmp should
2654 2011-11-06 DJ Delorie * dj AT delorie dot com *
2656 * lib/geda.inc: Add 4-pin DIP Add DIP4 to the collection of standard DIP packages
2658 2011-11-06 DJ Delorie * dj AT delorie dot com *
2660 * src/hid/ps/ps.c: Fix postscript alignment marks The delta-x and delta-y parameters of corner() are scales, not
2661 coordinates. Change them to "int" so the +1/-1 won't get scaled to
2664 2010-10-22 Markus Hitter * mah AT jump-ing dot de *
2666 * src/hid/gcode/gcode.c: HID-gcode: use drill cycles only for
2667 advanced G-code. Not all machine controllers understand drill cycles, so a more
2668 common denominatior is needed. Gladly, almost all the code was there
2669 in comments already. Affects-bug: lp-699497
2671 2010-10-22 Markus Hitter * mah AT jump-ing dot de *
2673 * src/hid/gcode/gcode.c: HID-gcode: simplify code a bit. This is mostly for additional code coming soon. Affects-bug: lp-699497
2675 2010-10-21 Markus Hitter * mah AT jump-ing dot de *
2677 * src/hid/gcode/gcode.c: HID-gcode: add a comment about the tool
2678 diameter into the G-code file. Affects-bug: lp-699497
2680 2010-10-21 Markus Hitter * mah AT jump-ing dot de *
2682 * src/hid/gcode/gcode.c: HID-gcode: switch from tool-radius to
2683 tool-diameter in the user interface. Affects-bug: lp-699497
2685 2011-10-26 Peter Clifton * pcjc2 AT cam dot ac dot uk *
2687 * src/insert.c: Fix computation of 45-degree edges when inserting a
2688 point into an edge Fixes a few mistakes introduced in commit
2689 b59ab044afe3ac362f8cb4da10ea410280b4323a which was bisected to and
2690 identified as the cuplrit by Gabriel Paubert. Reported-by: Gabriel Paubert * paubert AT iram dot es *
2692 2010-10-22 Markus Hitter * mah AT jump-ing dot de *
2694 * src/hid/gcode/gcode.c: HID-gcode: remove a leftover debug-printf. Affects-bug: lp-699497
2696 2010-10-20 Markus Hitter * mah AT jump-ing dot de *
2698 * src/hid/gcode/gcode.c: HID-gcode: Avoid more than one G or M code
2699 per line for advanced G-code. Some primitive G-code interpreters can't deal with multiple G or M
2700 codes in one line, so avoid them at no cost. Alberto Maccioni asked
2701 on geda-user make this optional. Affects-bug: lp-699497
2703 2010-10-21 Markus Hitter * mah AT jump-ing dot de *
2705 * src/hid/gcode/gcode.c, src/hid/gcode/trace.c,
2706 src/hid/gcode/trace.h: HID-gcode: add a flag wether to produce
2707 advanced G-code. Some primitive machine controllers don't understand what a variable
2708 is, while those understanding variables can work without as well.
2709 After all, using variables is just a convenience for later
2710 hand-editing of the G-code programs. More changes for primitive
2711 controllers are to come. Affects-bug: lp-699497
2713 2010-10-21 Markus Hitter * mah AT jump-ing dot de *
2715 * src/hid/gcode/gcode.c: HID-gcode: create better file names. If the user adds a suffix to a file name in the dialog, he expects
2716 the resulting files to have these suffixes as well. This patch is a combination of the following two patches by Markus
2717 Hitter. 0001-HID-gcode-let-the-system-library-allocate-the-tempor.patch
2718 0004-HID-gcode-create-better-file-names.patch The original patches are avaiable at the bug-report on launchpad
2719 lp-699497. The combination and modifications where done by Felix
2720 Ruoff. Affects-bug: lp-699497
2722 2010-10-31 Markus Hitter * mah AT jump-ing dot de *
2724 * src/hid/gcode/gcode.c: HID-gcode: get rid of tabulators in
2725 gcode.c. Pure whitespace change. Developers should decide wether to use tabs or not, but not mix
2726 both. Rebased to git head by Felix Ruoff Affects-bug: lp-699497
2728 2011-10-20 Kai-Martin Knaak * knaak AT iqo dot uni-hannover dot de *
2730 * src/.gitignore: add gpcb-menu.res and pcb-menu.res to gitignore The files src/gpcb-menu.res and src/pcb-menu.res are generated
2731 during the build. So git should not care for them. Closes-bug: lp-879086
2733 2011-10-20 Kai-Martin Knaak * knaak AT iqo dot uni-hannover dot de *
2735 * doc/.gitignore: add options.texi to gitignore The file doc/options.texi is produced by a script at compile time.
2736 So git should not take care for it. Affects-bug: lp-879086
2738 2011-10-20 Kai-Martin Knaak * knaak AT iqo dot uni-hannover dot de *
2740 * doc/.gitignore: add gcode related files to gitignore The files doc/gcode.pdf doc/gcode.png doc/gcode_control_img.pdf doc/gcode_control_img.png doc/gcode_tool_path.pdf doc/gcode_tool_path.png are produced at compile time. So git
2741 should not care for them. Affects-bug: lp-879086
2743 2011-10-23 Andrew Poelstra (local) * apoelstra AT wpsoftware dot net *
2745 * src/file.c: Bump PCB_FILE_VERSION_BASELINE up to 20091103. The unit-parsing support that we now require from the pcb parser was
2746 added by DJ in December 2008. So I am bumping up the output version
2747 in file.c to the next release, 20091103.
2749 2011-10-23 Andrew Poelstra (local) * apoelstra AT wpsoftware dot net *
2751 * src/pcb-printf.c, src/pcb-printf.h: Make pcb-printf output unit
2752 suffixes with %mr spec This marks a change in the file format, but as we only use the mm
2753 and mil suffixes (for now, anyway), it should not be a breaking one. I did not update the file format version that is output.
2755 2011-05-22 Felix Ruoff * Felix AT posaunenmission dot de *
2757 * src/gpcb-menu.res.in: hid/gtk: Remove double 'Remove Connected'
2760 2011-09-19 Kai-Martin Knaak * kmk AT lilalaser dot de *
2762 * src/hid/gtk/gui-config.c:
2763 top-bottom-in-preference-dialog-of-GTK-HID This patch replaces "component" and "solder" in the preference
2764 dialog of GTK HID with "top" and "bottom". Incindences were in the
2765 layer group tab and in the text of the info tab.
2767 2011-09-19 Kai-Martin Knaak * kmk AT lilalaser dot de *
2769 * src/hid/gtk/gui-misc.c: top/bottom in status line of GTK-HID This patch replaces "component" and "solder" in the leftmost item of
2770 the status line of the GTK HID with "top" and "bottom".
2772 2011-10-11 Peter Clifton * pcjc2 AT cam dot ac dot uk *
2774 * src/gpcb-menu.res.in, src/hid/common/hid_resource.c: Add support
2775 for mice / touchpads with a left/right scroll-wheel Tested-by: Dave McGuire * mcguire AT neurotica dot com *
2777 2011-10-05 Peter Clifton * pcjc2 AT cam dot ac dot uk *
2779 * globalconst.h, src/const.h, src/crosshair.c, src/global.h,
2780 src/misc.c, src/move.h, src/rotate.c, src/search.c: Add snapping to
2783 2011-10-03 Peter Clifton * pcjc2 AT cam dot ac dot uk *
2785 * src/hid/gtk/gtkhid-gdk.c, src/hid/gtk/gtkhid-gl.c: hid/gtk: Fix
2786 pinout preview rendering for back-side elements NB: There are still some bugs, in that when the board view is
2787 flipped, this doesn't currently trigger a repaint of any preview
2788 widgets which are open. They will refresh with the updated
2789 coordinate system when they are next repainted. (Which might requre
2790 a resize of the window on a compositing window manager). Ideally we would track the correct view with the preview widget, but
2791 for now this is a simple fix.
2793 2011-10-01 Peter Clifton * pcjc2 AT cam dot ac dot uk *
2795 * src/toporouter.c: toporouter.c: Convert some debugging constants
2796 to COORD units properly (Broken since we switched to nanometers)
2798 2011-10-01 Peter Clifton * pcjc2 AT cam dot ac dot uk *
2800 * src/toporouter.c: toporouter.c: Fix print of time taken by the
2801 toporouter The old code conflated microseconds, milliseconds and was generally
2804 2011-10-01 Peter Clifton * pcjc2 AT cam dot ac dot uk *
2806 * src/toporouter.c: toporouter.c: Remove unused, commented
2807 print_trace() function
2809 2011-10-01 Peter Clifton * pcjc2 AT cam dot ac dot uk *
2811 * src/toporouter.c, src/toporouter.h: toporouter.c: Remove unused
2812 (toporouter_t *)->stublength
2814 2011-10-01 Peter Clifton * pcjc2 AT cam dot ac dot uk *
2816 * src/toporouter.c, src/toporouter.h: toporouter.c: Remove unused
2817 (toporouter_t *)->viamax
2819 2011-10-01 Peter Clifton * pcjc2 AT cam dot ac dot uk *
2821 * src/toporouter.c, src/toporouter.h: toporouter.c: Remove unused
2822 (toporouter_t *)->serpintine_half_amplitude
2824 2011-10-01 Peter Clifton * pcjc2 AT cam dot ac dot uk *
2826 * src/toporouter.c: toporouter.c: Re-write
2827 {coord,point}_intersect_prop() to increase clariry. Since the wind_* values computed in this function can be -1, 0 or 1,
2828 it is clearer to test them using equality relations, not perform XOR
2829 operations on their bit-patterns. I believe the old code worked, but it would return an strange
2830 constant for "true". To ram the point home, I've changed the
2831 function to return bool.
2833 2011-10-01 Peter Clifton * pcjc2 AT cam dot ac dot uk *
2835 * src/toporouter.c: toporouter.c: Remove commented
2836 tvertex_intersect() function The implementation being used is a macro in toporouter.h
2838 2011-10-01 Peter Clifton * pcjc2 AT cam dot ac dot uk *
2840 * src/toporouter.c: toporouter.c: Remove unused function
2841 tvertex_intersect_prop()
2843 2011-10-01 Peter Clifton * pcjc2 AT cam dot ac dot uk *
2845 * src/toporouter.c: toporouter.c: Re-arrange the maths in
2846 {vertices,coords}_on_line() Should given an identical result, but with a couple fewer
2849 2011-10-01 Peter Clifton * pcjc2 AT cam dot ac dot uk *
2851 * src/toporouter.c: toporouter.c: Remove unused function
2854 2011-10-01 Peter Clifton * pcjc2 AT cam dot ac dot uk *
2856 * src/toporouter.c: toporouter.c: Remove unused wind_double()
2859 2011-10-01 Peter Clifton * pcjc2 AT cam dot ac dot uk *
2861 * src/toporouter.c: toporouter.c: Remove unused sloppy_.*wind()
2864 2011-10-01 Peter Clifton * pcjc2 AT cam dot ac dot uk *
2866 * src/toporouter.c: toporouter: Re-implement functions using atan
2867 with atan2 Simplifies and condenses the code a lot.
2869 2011-10-01 Peter Clifton * pcjc2 AT cam dot ac dot uk *
2871 * src/toporouter.c: toporouter.c: Replace coord_xangle() with
2872 coord_angle() The new function returning the "normal" coordinate system angle one
2873 would expect. Replace usage of coord_xangle() in
2874 export_pcb_drawarc() with the new function. PCB's arc angles are a bit nutty, so lets try to contain that
2875 strangeness to the arc exporting routine!
2877 2011-10-01 Peter Clifton * pcjc2 AT cam dot ac dot uk *
2879 * src/toporouter.c: toporouter.c: Remove unused point_xangle()
2880 function (Unused since the previous commit)
2882 2011-10-01 Peter Clifton * pcjc2 AT cam dot ac dot uk *
2884 * src/toporouter.c: toporouter.c: Remove unused region_span()
2887 2011-10-01 Peter Clifton * pcjc2 AT cam dot ac dot uk *
2889 * src/toporouter.c: toporouter: Remove unused
2890 vertex_move_towards_point[_values]() functions
2892 2011-10-01 Peter Clifton * pcjc2 AT cam dot ac dot uk *
2894 * src/toporouter.c: toporouter.c: Fix constants which assumed CMIL
2895 for PCB's internal units This should make the toporouter work again.
2897 2011-10-01 Peter Clifton * pcjc2 AT cam dot ac dot uk *
2899 * src/toporouter.c: toporouter.c: Fixup and clean
2900 read_board_constraints() and create_board_edge() Introduce a #defined constant which expresses how fine to break the
2901 board edges into (the old hard-coded constant was broken since we
2902 changed to nanometers).
2904 2011-10-01 Peter Clifton * pcjc2 AT cam dot ac dot uk *
2906 * src/toporouter.c: toporoute.c: Remove runtime Copyright message
2907 from toporouter Not only is Anthony now not the only author of this code, we don't
2908 do this for anything else.. why should we for this. It could
2909 potentially act to discorage others from working on this code, and
2912 2011-10-01 Peter Clifton * pcjc2 AT cam dot ac dot uk *
2914 * src/toporouter.c, src/toporouter.h: toporouter.[ch]: Add generic
2915 "contributors" copyright notice "Copyright (C) 2009-2011 PCB Contibrutors (See ChangeLog for
2918 2011-10-01 Peter Clifton * pcjc2 AT cam dot ac dot uk *
2920 * src/change.c: Revert "Change change.c to treat text scale as mils"
2921 and fix harder.. This reverts commit 9396377717f7c49cf38d753a35e32d004294b09e and
2922 fixes what was probably the underlying issue... I made a mistake in
2923 commit 2d21a8ad8f38e07b17450450a096f1ce4b3bef0e such that it added
2924 the existing text scale when setting an "absolute" text size, but
2925 ignored it when setting a relative change. (Clearly backwards). Additionally, I've switched to computing the new value in double
2926 arithmetic to avoid a potential overflow when the input value is
2927 large and we are using a 32-bit Coord type. See commit 2d21a8ad8f38e07b17450450a096f1ce4b3bef0e for a
2928 description of how text scale is defined and used. If we want to
2929 change how our text is sized / scaled in the future, we would need
2930 to change usage in many more places than the reverted commit
2933 2011-10-01 Peter Clifton * pcjc2 AT cam dot ac dot uk *
2935 * src/action.c: action.c: Fix the SetValue(TextScale, ...) action
2936 after nanometer conversion
2938 2011-10-01 Peter Clifton * pcjc2 AT cam dot ac dot uk *
2940 * src/hid/gtk/gtkhid-gl.c: hid/gtk: (GL Renderer) Use direct
2941 rendering for off-screen pixmaps We use direct rendering for the rest (where possible), so why slow
2942 down pixmap rendering. Also fixes a bug on my pcb+gl_experimental
2943 branch where pixel shaders can't be shared between the direct
2944 rendered widgets and the pixmap rendering code.
2946 2011-09-29 Peter Clifton * pcjc2 AT cam dot ac dot uk *
2948 * src/hid/gtk/ghid-layer-selector.c,
2949 src/hid/gtk/ghid-layer-selector.h, src/hid/gtk/gui-top-window.c:
2950 hid/gtk: Extend layer selector to allow editing layer names in situ Contains an unfortunate abstraciton break in the layer selector in
2951 order to temporarily disable PCB's accelerators whilst the layer is
2952 being renamed. It would be lovely to fix this and make things
2953 cleaner in the future.
2955 2011-09-29 Peter Clifton * pcjc2 AT cam dot ac dot uk *
2957 * src/hid/gtk/ghid-layer-selector.c,
2958 src/hid/gtk/ghid-layer-selector.h: hid/gtk: Layer selector - Rename
2959 "activatable" to "selectable" GTK has a special meaning for the word "activatable", meaning that
2960 the item can be double-clicked, or "activated" by hitting enter on
2961 it. We use it to mean selectable - so change the code to make this
2964 2011-09-29 Peter Clifton * pcjc2 AT cam dot ac dot uk *
2966 * src/hid/gtk/ghid-layer-selector.c: hid/gtk: Layer selector -
2967 remove unused variable
2969 2011-09-29 Peter Clifton * pcjc2 AT cam dot ac dot uk *
2971 * src/hid/gtk/ghid-layer-selector.c: hid/gtk: Refactor to remove
2972 some duplicated code in the layer selector
2974 2011-09-29 Peter Clifton * pcjc2 AT cam dot ac dot uk *
2976 * src/hid/gtk/ghid-layer-selector.c: hid/gtk: Better encapsulate
2977 some of the layer selector initialisation The work we do within ghid_layer_selector_new() is better placed in
2978 the appropriate class initialiser functions, otherwise we needn't go
2979 to the trouble of subclassing a widget in the first place.
2981 2011-09-29 Peter Clifton * pcjc2 AT cam dot ac dot uk *
2983 * src/hid/gtk/ghid-layer-selector.c: hid/gtk: Don't refleak the
2984 accel group created by the layer selector When the accel group is created, we have a reference to it - we
2987 2011-09-29 Peter Clifton * pcjc2 AT cam dot ac dot uk *
2989 * src/hid/gtk/gui-utils.c, src/hid/gtk/gui.h: hid/gtk: Remove the
2990 unused function utf8_dup_string
2992 2011-09-29 Peter Clifton * pcjc2 AT cam dot ac dot uk *
2994 * src/hid/gtk/gui-config.c: hid/gtk: Don't use dup_string where
2995 doing so would mix g_free() and free() The core uses malloc(), strdup(), free() etc.. The GTK HID
2996 primarily uses g_malloc(), g_strdup(), g_free() etc.. Mixing them can lead to bad behaviour and hard to debug crashes.
2997 This commit is not aimed at fixing any known bugs, but is "by
2998 inspection", as I spotted some of these when working on a layer
3001 2011-09-12 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3003 * src/draw.c, src/draw.h, src/hid/gtk/gtkhid-main.c: draw.c: Expose
3004 some drawing APIs for the HIDs to use directly... Exposes: DrawLayerGroup DrawPaste DrawSilk DrawMask DrawHoles PrintAssembly
3006 2011-09-29 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3008 * src/hid/gtk/gtkhid-gl.c: hid/gtk: Simplify and correct
3009 ghid_show_crosshair() logic for the GL renderer Drop the always-true parameter we were passed, and combine the code
3010 from ghid_show_crosshair() and draw_crosshair() into one function.
3012 2011-09-29 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3014 * src/hid/gtk/gtkhid-gdk.c: hid/gtk: Remove always-true parameter
3015 from show_crosshair() in GDK renderer Pass the render_priv pointer instead - this is vaguely useful. Also
3016 tidy the function a little to make it clearer, rolling the code from
3017 show_crosshair() and draw_crosshair() together into a combined
3018 "draw_crosshair()" function. The function no longer rejects negative x drawing coordinates, but
3019 we aren't passed those anyway.
3021 2011-09-29 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3023 * src/hid/gtk/gtkhid-gl.c: hid/gtk: Fix z-coordinate scaling for GL
3024 views. (Fixes a 3D rendering bug in my PCB+GL branches, no visible effect
3025 for git HEAD builds).
3027 2011-09-23 Andrew Poelstra (local) * apoelstra AT wpsoftware dot net *
3029 * src/pcb-printf.c: Move pcb-printf #if 0 guards for %mr specifier
3030 to fix internationalization Since the previous version of pcb cannot read files with suffixes on
3031 its measures, right now the %mr specifier outputs measures in cmils,
3032 no suffix. The future behavior would be to select appropriate units and use
3033 those, but for now this is disabled by an #if 0 block around the
3034 relevant call to CoordToString. This patch moves the #if 0 block to the suffix-specific part of the
3035 code, since we DO want the other behavior of the %mr spec,
3036 specifically, the forcing of '.' as a decimal separator.
3038 2011-09-23 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3040 * src/create.c: create.c: Don't emit RouteStylesChanged from within
3041 CreateNewPCB() The route style selector is hanging onto pointers of the current
3042 PCB's route styles. When the action "RouteStylesChanged" is called,
3043 these are compared against the current route style to identify which
3044 one the GUI should show as selected. When this call comes from within CreateNewPCB, and the OLD PCB has
3045 already been free'd, this causes free'd memory to be read, resulting
3046 in valgrind output such as: ==22404== Invalid read of size 8 ==22404== at 0x4D82B3: ghid_route_style_selector_sync
3047 (ghid-route-style-selector.c:594) ==22404== by 0x4BAB28:
3048 RouteStylesChanged (gtkhid-main.c:1157) ==22404== by 0x49E0D3:
3049 hid_actionv (actions.c:247) ==22404== by 0x447B7B: CreateNewPCB
3050 (create.c:194) ==22404== by 0x4273E8: ActionNew (action.c:5902) ==22404== Address 0xd3c4458 is 13,880 bytes inside a block of
3051 size 14,120 free'd ==22404== at 0x4C282E0: free
3052 (vg_replace_malloc.c:366) ==22404== by 0x4273DE: ActionNew
3053 (action.c:5901) Strictly speaking though - since CreateNewPCB does not directly
3054 assign to the current PCB variable - it has no business in calling
3055 the "RouteStylesChanged" action anyway. Suitable update is taken care of later on in ActionNew(), as it
3056 calls the "PCBChanged" action - the GTK implementation of which in
3057 turn updates the route selector correctly. Closes-bug: lp-856909
3059 2011-09-23 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3061 * src/action.c: action.c: Set PCB = NULL; after freeing it in
3062 ActionNew() When we call CreateNewPCB(), it trips over some code which wants to
3063 access the current PCB in order to determine whether to auto-save at
3064 exit. The code in question does check if PCB is NULL first, so this
3065 is a sufficient fix for this case. Fixes valgrind output such as: ==22404== Invalid read of size 8 ==22404== at 0x470944: Parse (parse_l.l:282) ==22404== by 0x471913: ParseFont (parse_l.l:356) ==22404== by 0x447973: CreateDefaultFont (create.c:941) ==22404== by 0x447C58: CreateNewPCB (create.c:211) ==22404== by 0x4273E8: ActionNew (action.c:5902) ==22404== Address 0xd3c4538 is 14,104 bytes inside a block of
3066 size 14,120 free'd ==22404== at 0x4C282E0: free
3067 (vg_replace_malloc.c:366) ==22404== by 0x4273DE: ActionNew
3068 (action.c:5901) Which is seen when starting an new layout from within PCB. Affects-bug: lp-856909
3070 2011-09-19 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3072 * src/hid/gtk/gtkhid-main.c: hid/gtk: Fix Pan action to stop after
3073 button release outside window Previously, we required in-view coordinates to stop and start the
3074 pan-action, and when the button was released outside the viewport,
3075 the code was querying the user to click at a particular location. Since the pan action doesn't even use the passed in coordinates,
3076 simply remove the requirement for the x-y coordinates from this
3077 action. Closes-bug: lp-699307
3079 2011-09-18 DJ Delorie * dj AT delorie dot com *
3081 * doc/Makefile.am: Add options.texi to dist files
3083 2011-09-18 DJ Delorie * dj AT delorie dot com *
3085 * NEWS: Today is the 18th :-)
3087 2011-09-18 DJ Delorie * dj AT delorie dot com *
3089 * ChangeLog, NEWS: Update Changelog and NEWS for 20110918
3091 2011-09-18 DJ Delorie * dj AT delorie dot com *
3093 * po/POTFILES.in: Remove src/hid/common/hidgl_package_vrml_y.c from
3094 POTFILES.in Reverts 61bd0cb1e134bbea96abd6fd2d5fb94d09c0b3c8 as this file
3095 doesn't exist in this repository, causing a distcheck failure.
3097 2011-09-18 DJ Delorie * dj AT delorie dot com *
3099 * : Update golden files for nanometers hid_png3 was off by a pixel on a line end. I retested my UV and TT
3100 films to verify that the nanometers conversion didn't affect line
3101 *widths* and updated the golden file to accept this one-pixel
3104 2011-09-17 DJ Delorie * dj AT delorie dot com *
3106 * src/action.c: [windows] use unix-style path separators when
3109 2011-09-17 Felix Ruoff * Felix AT posaunenmission dot de *
3111 * : commit 70db91fc3dfb8b378962794fc8f86f71b52f7af8 Author:
3112 Kai-Martin Knaak * kmk AT lilalaser dot de * Date: Fri Sep 16
3115 2011-09-16 Kai-Martin Knaak * kmk AT lilalaser dot de *
3117 * doc/pcb.texi: remove panner control from documentation There is no panner control in the GUI (anymore?) since at least five
3118 years. this pathc removes its description from the texi manual.
3120 2011-09-17 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3122 * src/file.c, src/main.c: Don't adjust the Library command settings
3123 if they are NULL, or an empty string. (The empty string part is a fixup for commit
3124 31df66e87a810aac852139da9119b15c47fa8c71 - this will teach me for bikeshedding) The NULL part should fix bug lp-852598 Closes-bug: lp-852598
3126 2011-09-17 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3128 * src/file.c, src/main.c: Bikeshed commit
3129 11700ba8c3c951a788c8190073eb09822060dfdd I don't like magic strings, and IMO, using a blank
3130 LibraryContentsCommand string to imply "don't use this feature" is
3131 better than "*NONE*".
3133 2011-09-17 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3135 * src/hid/gtk/gui-top-window.c: hid/gtk: Set the LC_NUMERIC locale
3136 to "C" rather than "POSIX" This value is supported on Win32 platforms, whereas "POSIX" doesn't
3137 appear to have any effect. This was one possible way to fix the "zoom doesn't work" bug on
3138 Win32 for locales which use "," as the decimal separator. DJ fixed the Zoom action to be locale independent in commit
3139 fd5399c67b988f2f7c9d1a0b4ab7c13bc2e95158, which worked around the
3140 problem for this particular action, but I feel it would be best that
3141 we made our locale handling consistent between Linux and Win32 as
3142 well. Affects-bug: lp-843577
3144 2011-09-08 Dima Kogan * dima AT secretsauce dot net *
3146 * src/djopt.c: fixed an instance of the "only-optimize-autorouted"
3147 flag being ignored Signed-off-by: Dima Kogan * dima AT secretsauce dot net *
3149 2011-09-16 DJ Delorie * dj AT delorie dot com *
3151 * src/file.c, src/main.c: Skip the M4 library on Windows On Windows, set the LibraryContentsCommand to the magic string
3152 "*NONE*" and check for that string while loading the libraries.
3153 This avoids the windows pcb.exe from trying to run bash or m4
3154 scripts, which are normally not available, yet allows the user a way
3155 to re-enable them if they want.
3157 2011-09-16 DJ Delorie * dj AT delorie dot com *
3159 * src/hid/gtk/gtkhid-main.c, src/hid/lesstif/main.c: De-localize
3160 zoom parsing The values used for Zoom() were being parsed with strtod(), which
3161 switches between '.' and ',' depending on locale. Switch to
3162 g_ascii_strtod() which always uses '.' and thus always matches our
3163 actions. Note: I didn't change the command line parsing, because I didn't
3164 think we should impose '.'-centric syntax on other locales.
3166 2011-09-16 DJ Delorie * dj AT delorie dot com *
3168 * lib/generic.list: Add DIL footprint names and R025. Existing tutorials say to use "DIL 16 300" for DIPs (we use "N 16
3169 300") and often call for the R025 footprint, so add them as aliases
3170 so the m4-to-newlib converter includes them.
3172 2011-09-16 DJ Delorie * dj AT delorie dot com *
3174 * lib/m4lib_to_newlib.sh: Fix m4-to-newlib converter filenames The m4 library uses macros and parameters to describe footprints,
3175 which allows for a *very* flexible footprint naming scheme. While
3176 it is impossible for pcb to know all valid footprint values, it does
3177 have a list of "standard" ones, and knows how to obtain those.
3178 However, the m4 to newlib converter wasn't using the same footprint
3179 naming convention as everyone else, so produced *.fp files that
3180 weren't always useful. For example, there were a large number of
3181 300.fp files that all collided. With this fix, the footprint name matches the value in [...] in the
3182 library window, which is what we tell people to use for the
3183 "footprint=" attribute anyway.
3185 2011-09-16 DJ Delorie * dj AT delorie dot com *
3187 * src/hid/lesstif/lesstif.h: Wrap all XmStrings in gettext()
3189 2011-09-15 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3191 * po/POTFILES.in: Add another missing source file to POTFILES.in
3193 2011-09-15 DJ Delorie * dj AT delorie dot com *
3195 * src/main.c: Add locale functions Add textdomain() and setlocale() to connect to our message catalogs.
3197 2011-09-15 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3199 * 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 *
3200 Affects-bug: lp-846368
3202 2011-09-09 Bert Timmerman * bert dot timmerman AT xs4all dot nl *
3204 * po/nl.po: Updated the Dutch translation.
3206 2011-09-15 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3208 * src/report.c: report.c: Don't leave actions in the undo stack or
3209 change the user's flags Some actions in ReportNetLength*() would have been lumped in with
3210 whatever actions were next added to the undo stack. These functions
3211 also left the user's board with a different "FOUND" flags on various
3212 items. In the case of the "Report(AllNetLenths)" action, a very long undo
3213 stack would be created, which is not very helpful to the user. These changes hide the internal flag changes made during the net
3214 length calculation from the undo system. We are able to get back to the inital board state because we save
3215 the operations caused by our initial RestConnections() on the undo
3216 stack. After we have done our work (modifying various flags in the
3217 process), we reset the flags again (this time bypassing the Undo
3218 system), so the board is consistent with the ResetConnections() call
3219 we DID save undo data for. We then Undo() these changes before we
3222 2011-09-15 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3224 * src/report.c: report.c: Return 1 for all failure conditions in
3225 ReportNetLengthByName()
3227 2011-09-14 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3229 * src/undo.c: undo.c: Add error message where
3230 RestoreUndoSerialNumber() will break things If operations are addded to the undo stack between a call to
3231 IncrementUndoSerialNumber() and a subsequent call for
3232 RestoreUndoSerialNumber(), those added operations will be placed in
3233 the undo stack with an inconsistent serial number. The {Save,Restore}UndoSerialNumber() API is pretty fragile in this
3234 regard, and we should avoid using it where possible. An better alternative might be to implement a
3235 "LockUndoSerialNumber()" call which temporarily disables
3236 IncrementUndoSerialNumber(), and a "UnlockUndoSerialNumber()" call
3237 which re-enables its increment function. Better yet - we could make these functions nestable, so we need not
3238 worry whether some action uses this new feature internally when we
3241 2011-09-14 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3243 * src/undo.c: undo.c: Handle undo failures in a more sane manner Our current error-case handling can cause serial number
3244 inconsistency when something goes wrong when performing an Undo
3245 operation. There are also various logic flaws in our handling, as it
3246 only catches failures where every sub-undo operation with that
3247 serial number fails. Remove the confusing do-loop which decrements the serial number in
3248 the failure case, and return some sensible error message instead. This patch also removes the code which looked like it was intended
3249 to loop over the undo stack until a serial number was found to
3250 operate on. It is advantageous for code like the DRC to be able to
3251 add increment the undo serial number, then safely perform an Undo -
3252 even if there were no changes logged in the undo system during the
3253 previous serial number. Closes-bug: lp-848509
3255 2011-09-14 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3257 * src/undo.c: undo.c: Allow undo of locked objects Our internal actions can make changes to locked objects, then use
3258 the undo mechanism to revert these changes. An example is DRC, which
3259 changes flags on objects and uses the Undo system to restore their
3260 original values. Affects-bug: lp-848509
3262 2011-09-14 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3264 * src/find.c: find.c: Remove stray RestoreUndoSerialNumber() calls These will cause havoc with the undo system, as we don't actually
3265 save a serial number to restore to. Until a commit efd212c1deb264e9a7f2be17e9338fbb60e22cc0 we were
3266 saving a serial number at the start of each "ResetConnections
3267 (true);" call, and it would have been that serial number which got
3268 restored. With this and some other fixes to the undo system, these restores
3269 are no longer required. Affects-bug: lp-848509
3271 2011-09-14 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3273 * src/hid/gtk/gtkhid-main.c: gtk: Fix ghid_zoom_view_fit() to work
3274 when the board is flipped. Affects-bug: lp-850311
3276 2011-09-13 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3278 * src/hid/common/hidgl.c, src/hid/gtk/gtkhid-gl.c: Fixup OpenGL
3279 includes for better compatibility with OSX Not tested ;)
3281 2011-09-13 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3283 * autogen.sh, configure.ac, m4/ax_check_gl.m4, m4/ax_check_glu.m4,
3284 m4/ax_lang_compiler_ms.m4, m4/ax_pthread.m4: Better autoconf tests
3285 for GL and GLU (from GtkGLExt - GPL v2 or later) These tests should give better cross platform support for our build.
3287 2011-09-13 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3289 * .gitignore, m4/.gitignore: Remove the m4 directory from the root
3290 .gitignore file and add its own
3292 2011-09-13 DJ Delorie * dj AT delorie dot com *
3294 * src/hid/lesstif/styles.c: [lesstif] set units for styles dialog in
3295 more places The styles dialog was segfaulting as the units hadn't been set yet,
3296 if you open the style dialog before doing anything with the grid.
3298 2011-09-13 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3300 * src/hid/gtk/gtkhid-gl.c: hid/gtk: Remove misplaced (and redundant)
3301 hidgl_flush_triangles() call. If we were to flush the triangle buffer in ghid_show_crosshair(), we
3302 should do it before we set XOR mode on the GL context (assuming the
3303 buffer might be dirty when we are called), and we should do it after
3304 we finish drawing (if we wish to leave the buffer clean when we
3305 return). The location the flush was in before this commit is just plain
3306 wrong. As we currently have flushes of the triangle buffer wrapping the
3307 call to ghid_show_crosshair(), just leave the flushing out of this
3308 function. Does this commit message provide an adequate example of simple
3309 patch, complex commit message phenomenon?
3311 2011-09-13 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3313 * src/hid/gtk/gtkhid-gdk.c, src/hid/gtk/gtkhid-gl.c,
3314 src/hid/gtk/gtkhid-main.c, src/hid/gtk/gui-config.c,
3315 src/hid/gtk/gui-output-events.c, src/hid/gtk/gui.h: hid/gtk: Remove
3316 auto-pan feature (kill it with fire). This seems to be fairly universally unpopular on geda-user, and its
3317 implementation is a little fragile, often leading the board to pan
3318 off to some corner of the board as the poor user reaches for the
3319 layer selector or a menu without having remembered to click the
3320 feature off. The fact that the pan direction and speed was set the instant you
3321 leave the drawing window also made it particularly unhelpful. A
3322 proper implementation should have grabbed the mouse - or at least
3323 implemented some buffer zone in which the mouse could be used to
3324 give feedback on the pan direction.
3326 2011-09-11 DJ Delorie * dj AT delorie dot com *
3328 * 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
3329 env variable to point to it.
3331 2011-09-11 Bdale Garbee * bdale AT gag dot com *
3333 * doc/Makefile.am: Invoke eps2png in $(srcdir), no .
3335 2011-09-12 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3337 * src/hid/common/hidgl.c: hid/common: Remove #include "draw.h" from
3340 2011-09-11 Dima Kogan * dima AT secretsauce dot net *
3342 * src/hid/gtk/ghid-route-style-selector.c,
3343 src/hid/gtk/ghid-route-style-selector.h, src/hid/gtk/gtkhid-main.c:
3344 Re-ordered all references in the style selector dialog to have one
3345 consistent ordering. Everything that refers to the settings in the style selector dialog
3346 now does so in order of Line thickness Hole size Hole thickness (hole + annular ring)
3347 keepaway region size This wasn't 100% consistent previously, which resulted in a bug
3348 (fixed in a previous patch). This patch doesn't touch the
3349 functionality, but improves the style to avoid future bugs. Modified to apply on recent route style selector changes by Bert
3350 Timmerman. Signed-off-by: Andrew Poelstra (local) * apoelstra AT wpsoftware
3351 dot net * Affects-bug: lp-844635
3353 2011-09-11 Dima Kogan * dima AT secretsauce dot net *
3355 * src/hid/gtk/ghid-route-style-selector.c: Swap via-hole and -ring
3356 size connection in route style selector dialog Closes-bug: lp-844635 Signed-off-by: Andrew Poelstra (local) * apoelstra AT wpsoftware
3359 2011-09-10 Andrew Poelstra (local) * apoelstra AT wpsoftware dot net *
3361 * src/hid/gtk/gtkhid-main.c, src/hid/gtk/gui-top-window.c,
3362 src/hid/gtk/gui.h: Repopulate route style selector on PCBChanged
3363 action When loading a new pcb, Bad Things happen to the route style
3364 selector because pcb's route style data is freed. This patch removes
3365 all styles from the route style selector and re-adds them whenever a
3368 2011-09-10 Andrew Poelstra (local) * apoelstra AT wpsoftware dot net *
3370 * src/hid/gtk/ghid-route-style-selector.c,
3371 src/hid/gtk/ghid-route-style-selector.h: Add
3372 ghid_route_style_selector_empty to GHidRouteStyleSelector
3374 2011-09-10 Andrew Poelstra (local) * apoelstra AT wpsoftware dot net *
3376 * src/hid/gtk/ghid-route-style-selector.c: Add finalize function to
3377 GHidRouteStyleSelector
3379 2011-09-09 Bert Timmerman * bert dot timmerman AT xs4all dot nl *
3381 * po/POTFILES.in: Remove the src/hid/gtk/gui-dialog-size.c entry
3382 from the translatable files list. This is a completion of commit:
3383 a914d5ba58104d8559395b66798b35761afb991a "Replace old route style
3384 selector with GHidRouteStyleSelector" dated 20110903 11:09 PM
3386 2011-09-09 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3388 * src/hid/gtk/ghid-layer-selector.c: hid/gtk: Filter out double
3389 clicks on the layer selector widget This makes things behave a little nicer if you click to toggle a
3390 layer's visibility twice in quick succession. Previously, this would
3391 be interpreted as a double-click, causing an extra synthetic click
3392 event which would toggle the visibility an extra time.
3394 2011-09-07 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3396 * src/hid/gtk/gui-top-window.c: hid/gtk: Update file-changed
3397 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
3400 2011-09-07 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3402 * src/hid/gtk/gtkhid-main.c, src/hid/gtk/gui-top-window.c,
3403 src/hid/gtk/gui.h: hid/gtk: Reimplement file-change monitor without
3404 GFileMonitor I must have had a brain-fail when I hooked up setting up the
3405 file-changed monitor in the function which sets the window title.
3406 NB: That also gets called after every menu operation! A better place to hook up the monitor would be
3407 ghid_sync_with_new_layout(), however changing this alone revealed
3408 another issue - we would get notified for changes WE make to the
3409 files. We were avoiding those events as the file-monitor was being
3410 reset before it could pop up, at the end of the menu action which
3411 invoked the save). However - due to a race condition bug in GLib / GIO, we would
3412 sometimes see change notify events for changes we made, even when we
3413 hooked up the GFileMonitor AFTER having saved (and synced) our
3414 changes to disk. Rather than attempt to work around this bug, implement the
3415 file-change notification in a much more simple way - look at the
3416 file mtime when we update the layout, and at each time the mouse
3417 pointer enters the main window. FWIW, this is how gedit currently
3418 achieves the same feature.
3420 2011-09-06 DJ Delorie * dj AT delorie dot com *
3422 * 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
3423 whenever there are missing footprints during an import. Affects-bug: lp-828388
3425 2011-09-06 DJ Delorie * dj AT delorie dot com *
3427 * src/search.c: Fix math error in IsPointOnLine() The math in C didn't match the math in the comment (and, apparently,
3428 hasn't for quite some time). To test: Draw three lines, from 1000,3000 to 1500,2500, then to
3429 2000,3000, then back to the start at 1000,3000. Without this patch,
3430 the first and last lines are removed and replaced with a copy of the
3433 2011-09-05 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3435 * src/action.c, src/file.c, src/file.h, src/hid/common/actions.c:
3436 Implement a new RevertPCB() call, sharing code with LoadPCB() The RevertPCB() takes no filename parameter, and aside from that,
3437 the only difference to LoadPCB is that when it calls the GUI's
3438 "PCBChanged" action, it passes a new "revert" argument. This should
3439 let the GUIs optionally do less work resetting the view state for a
3440 board being reverted.
3442 2011-09-06 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3444 * src/action.c, src/command.c, src/hid.h: Add a HID API call,
3445 notify_pcb_filename_change() This is so the core can tell the GUI when the PCB being edited is
3446 saved into a different file.
3448 2011-09-05 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3450 * src/file.c, src/hid.h: Add a HID API call, notify_save_pcb()
3451 called around saving the PCB The intention of this API is so that GUIs monitoring the active PCB
3452 file on disk for changes, can filter out changes which occur as we
3453 save the file ourselves.
3455 2011-09-06 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3457 * src/action.c, src/command.c, src/file.c: file.c: Don't set the PCB
3458 filename or changed flags inside SavePCB (Filename) Save this for the caller to do. (action.c already set the filename
3459 for the SaveAs case anyway).
3461 2011-09-06 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3463 * src/hid/gtk/gtkhid-main.c: Revert "hid/gtk: Avoid the deprecated
3464 gdk_drawable_get_display()" This reverts commit c6d6ca16e58b5c7f2248c21e3248825f54e52374. Turns out the replacement API I used was only introduced in GTK
3465 2.24, which is still a little new for us here.
3467 2011-09-05 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3469 * src/hid/gtk/gui-top-window.c, src/hid/gtk/gui-utils.c: hid/gtk:
3470 Remove usage of deprecated gtk_range_set_update_policy() We only set this to the default value anyway, and the API has been
3471 removed with no replacements.
3473 2011-09-05 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3475 * src/hid/gtk/gui-top-window.c, src/hid/gtk/gui-utils.c: hid/gtk:
3476 Replace gtk_container_border_width with
3477 gtk_container_set_border_width Replaces the old deprecated API.
3479 2011-09-05 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3481 * src/hid/gtk/gui-utils.c: hid/gtk: Use g_signal_connect(), not
3482 gtk_signal_connect() gtk_signal_connect() is deprecated.
3484 2011-09-05 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3486 * src/hid/gtk/gui-dialog-print.c: hid/gtk: Re-write the tool-tip
3487 handling code to use newer tooltip API Use the gtk_widget_set_tooltip* API introduced in GTK 2.12. This
3488 avoids the APIs deprecated in GTK 2.12, and also avoids the
3489 requirement to pack GTK_WIDGET_NO_WINDOW widgets inside
3490 gtk_event_box() widgets to make their tooltips work.
3492 2011-09-05 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3494 * src/hid/gtk/gui-drc-window.c, src/hid/gtk/gui-library-window.c,
3495 src/hid/gtk/gui-log-window.c, src/hid/gtk/gui-netlist-window.c,
3496 src/hid/gtk/gui-pinout-window.c, src/hid/gtk/gui-top-window.c:
3497 hid/gtk: Replace usage of the deprecated gtk_widget_set_uposition()
3498 call The closest replacement is gtk_window_move(), and looking at the GTK
3499 sources, appears to be what gtk_widget_set_uposition() calls
3500 internally. We are still rather at the mercy of the user's window manager as to
3501 whether it will honour the request we make, and arguably we ought to
3502 remove this (mis-)feature anyway.
3504 2011-09-05 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3506 * src/hid/gtk/gui-dialog.c: hid/gtk: Replace deprecated function
3507 call gtk_box_pack_start_defaults()
3509 2011-09-05 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3511 * src/hid/gtk/gtkhid-main.c: hid/gtk: Avoid the deprecated
3512 gdk_drawable_get_display() Grab the active display using gdk_window_get_display() on the window
3513 belonging to the drawing area.
3515 2011-09-05 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3517 * src/hid/gtk/gtkhid-main.c: hid/gtk: Use the g_timeout_add()
3518 function, not the deprecated GTK one.
3520 2011-09-05 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3522 * src/hid/gtk/ghid-main-menu.c: hid/gtk: Fix not accessing
3523 GtkMenuShell's children harder I missed a critical part of the fix from commit
3524 3584101f67f6ca2f0a252c312cb0c6c9c4fa016f
3526 2011-09-05 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3528 * src/hid/gtk/gui-pinout-preview.c: hid/gtk: Replace
3529 GTK_WIDGET_REALIZED() test with a check for window != NULL This avoids the use of the deprecated GTK_WIDGET_REALIZED macro,
3530 without needing to use the GTK2.20 function
3531 gtk_widget_get_realized(). The check for a NULL window should be
3532 sufficient here I hope.
3534 2011-09-05 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3536 * src/hid/gtk/gui-command-window.c: hid/gtk: Use gtk_bin_get_child()
3537 accessor In GTK3.0, direct access to bin->child will be impossible.
3539 2011-09-05 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3541 * src/hid/gtk/gui-config.c: hid/gtk: Use gtk_notebook_get_n_pages()
3542 rather than diving in and counting In GTK3.0, direct access to notebook->children will be impossible.
3544 2011-09-05 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3546 * src/hid/gtk/ghid-main-menu.c: hid/gtk: Don't access a
3547 GtkMenuShell's children directly In GTK3.0, direct access to shell->children will be impossible.
3549 2011-09-05 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3551 * src/hid/gtk/ghid-main-menu.c: hid/gtk: Free list returned from
3552 gtk_container_get_children() We can (and should) g_list_free() the list of children returned when
3553 we are finished with it. Whilst we are at it, convert the while loop to a for loop and use a
3554 tighter condition on the loop termination test. The existing test
3555 worked, but would leave a negative number in the object counter we
3556 test against. This would not work if the object counters were ever
3557 unsigned integers (as they might plausibly be).
3559 2011-09-05 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3561 * src/hid/gtk/ghid-route-style-selector.c,
3562 src/hid/gtk/gtkhid-main.c, src/hid/gtk/gui-dialog-print.c,
3563 src/hid/gtk/gui-dialog.c, src/hid/gtk/gui-library-window.c,
3564 src/hid/gtk/gui-utils.c: hid/gtk: Use accessors to get the vbox from
3565 GtkDialog In GTK3.0, direct access to dialog->vbox will be impossible.
3567 2011-09-05 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3569 * src/hid/gtk/gui-output-events.c: hid/gtk: Use accessor functions
3570 for handling GtkAdjustments In GTK3.0, direct access to these member variables will be
3573 2011-09-05 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3575 * src/hid/gtk/gui-config.c, src/hid/gtk/gui-top-window.c: hid/gtk:
3576 Don't use GTK_WIDGET_SET_FLAGS() Call the appropriate setter function instead. (For GTK3.0
3579 2011-09-05 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3581 * src/hid/gtk/gui-library-window.c: hid/gtk: Don't test for NOOP
3582 before calling gtk_widget_set_sensitive() We were using a deprecated test macro anyway, GTK already does a
3583 NOOP test inside gtk_widget_set_sensitive().
3585 2011-09-05 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3587 * src/hid/gtk/gui-utils.c, src/hid/gtk/gui.h: hid/gtk: Remove unused
3588 function ghid_button_set_text()
3590 2011-09-05 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3592 * src/hid/gtk/gui-utils.c, src/hid/gtk/gui.h: hid/gtk: Remove unused
3593 function ghid_button_active()
3595 2011-09-05 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3597 * src/hid/gtk/gtkhid-gdk.c, src/hid/gtk/gui-drc-window.c: hid/gtk:
3598 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(),
3599 which does not directly access the GSeal'd member widget->state.
3601 2011-09-05 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3603 * src/hid/gtk/gtkhid-gdk.c, src/hid/gtk/gtkhid-main.c,
3604 src/hid/gtk/gui-misc.c, src/hid/gtk/gui-output-events.c,
3605 src/hid/gtk/gui-pinout-preview.c, src/hid/gtk/gui-top-window.c,
3606 src/hid/gtk/gui-utils.c: hid/gtk: Use gtk_widget_get_window()
3607 accessor In GTK3.0, direct access to widget->window will be impossible.
3609 2011-09-05 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3611 * src/hid/gtk/gtkhid-gl.c, src/hid/gtk/gui-drc-window.c,
3612 src/hid/gtk/gui-keyref-window.c, src/hid/gtk/gui-library-window.c,
3613 src/hid/gtk/gui-log-window.c, src/hid/gtk/gui-netlist-window.c,
3614 src/hid/gtk/gui-top-window.c: hid/gtk: Use
3615 gtk_widget_get_allocation() accessor In GTK3.0, direct access to widget->allocation will be impossible.
3617 2011-09-05 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3619 * src/hid/gtk/gtkhid-gdk.c, src/hid/gtk/gtkhid-gl.c: hid/gtk: Use
3620 gtk_widget_get_allocation() not gdk_window_get_geometry() This avoids an unnecessary round-trip the the X server on X11
3623 2011-09-05 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3625 * src/hid/gtk/gtkhid-gdk.c: hid/gtk: Avoid warning caused by early
3626 drawing before gport->pixmap is set Avoids a command line warning: (pcb:28876): Gdk-CRITICAL **: IA__gdk_draw_drawable: assertion
3627 `GDK_IS_DRAWABLE (src)' failed With the GDK renderer in use. This trigger appears to be some state changes triggered as the new
3628 layer selector widget initialises.
3630 2011-09-05 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3632 * src/hid/gtk/gui-misc.c: hid/gtk: Clean and make
3633 gport_set_cursor_type() more GTK3.0 compatible Also removes the DEFAULT_CURSOR return value (for the case of no
3634 window being setup) to GDK_X_CURSOR (the 0 enum value), as the code
3635 path which returned DEFAULT_CURSOR would never have been hit.
3637 2011-09-05 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3639 * src/hid/gtk/ghid-cell-renderer-visibility.c: hid/gtk: Use
3640 gtk_cell_renderer_get_{align,pad} accessors In GTK3.0, direct access to these fields will be impossible.
3642 2011-09-05 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3644 * src/hid/gtk/gui-top-window.c: hid/gtk: Avoid double-destroying the
3645 file-changed info_bar on "Reload" This was caused by an addition I made in the earlier patch to
3646 destroy the info_bar when the user manually reverts or loads a new
3647 file). The callback on revert button was trying to delete it (again) after
3648 the revert _action_ we call triggered a destroy of the widget. Avoid
3649 this by destroying the info_bar before we call the revert action.
3651 2011-09-05 Andrew Poelstra * asp11 AT sfu dot ca *
3653 * src/hid/gtk/ghid-layer-selector.c: gtk: use
3654 gtk_action_block_activate() in layer selector The GHidLayerSelector widget now uses gtk_action_block_activate()
3655 instead of storing/blocking signal IDs. This is the proper way to
3656 suppress signal emission since 2.16. This also fixes the lockup bug that was supposed to be fixed by the
3657 recent commit 8857757, but still occured when using the menus to
3660 2011-09-05 DJ Delorie * dj AT delorie dot com *
3662 * src/const.h, src/draw.c, src/misc.c, src/print.c, src/report.c:
3663 Fix text scaling exceeding Coord max. The old way of scaling text was to multiply by scale/100 but this
3664 could easily overflow on reasonably sized boards with a 32-bit Coord
3665 type. The new code scales by (double)scale/100.0 instead. Since we
3666 don't store scaled values in the PCB file, a loss of precision won't
3667 matter, but a double has 53 bits of precision - in nanometers,
3668 that's a board about the size of North America. Closes-bug: lp-832451
3670 2011-09-05 DJ Delorie * dj AT delorie dot com *
3672 * configure.ac, globalconst.h, src/global.h: Add configure selection
3673 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
3674 type changes to a suitable 32-bit or 64-bit type. Note that this is
3675 only guaranteed to be the size you choose if you have <stdint.h>
3676 which most OSs provide, else the "int" and "long long" types are
3679 2011-09-05 Andrew Poelstra * asp11 AT sfu dot ca *
3681 * src/hid/gtk/ghid-layer-selector.c: gtk: Fix "clicking on layer
3682 selector separator bug" If you click on the selector between real and virtual layers in the
3683 pcb layer selector, it will toggle the first layer. This patch
3684 simply ignores the click.
3686 2011-09-05 Andrew Poelstra * asp11 AT sfu dot ca *
3688 * src/hid/gtk/ghid-layer-selector.c, src/hid/gtk/gui-top-window.c:
3689 gtk: fix behavior when hiding the last visible layer When you try to toggle the last layer invisible, pcb should refuse
3690 to let you do so, since something has to be selected, and we don't
3691 allow selection of invisible layers. What actually happens is that pcb locks up. This patch fixes that.
3693 2011-09-05 Andrew Poelstra * asp11 AT sfu dot ca *
3695 * src/hid/gtk/gui-top-window.c: gtk: Force silk and rat layers
3696 visible when they are selected.
3698 2011-09-05 Andrew Poelstra * asp11 AT sfu dot ca *
3700 * src/hid/gtk/ghid-route-style-selector.c,
3701 src/hid/gtk/ghid-route-style-selector.h, src/hid/gtk/gtkhid-main.c:
3702 Implement RouteStylesChanged action This action looks at the actual route-style settings (i.e.,
3703 Settings.LineThickness), and gives these to the route style
3704 selector. The selector looks in its list and selects a style, if one
3705 matches. Otherwise, it does nothing.
3707 2011-09-04 Andrew Poelstra * asp11 AT sfu dot ca *
3709 * src/hid/gtk/ghid-route-style-selector.c,
3710 src/hid/gtk/ghid-route-style-selector.h,
3711 src/hid/gtk/gui-command-window.c, src/hid/gtk/gui-top-window.c,
3712 src/hid/gtk/gui.h: Add Ctrl+F1,F2,F3,... accelerators to route style
3713 selector Since we now have three accelerator groups to worry about (those of
3714 the layer selector, route style selector and main menu), I have
3715 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
3716 example, when the user has the command box active.
3718 2011-09-03 Andrew Poelstra * asp11 AT sfu dot ca *
3720 * src/hid/gtk/gui-top-window.c, src/hid/gtk/gui.h: Remove the last
3721 of ghidgui->toggle_holdoff
3723 2011-09-03 Andrew Poelstra * asp11 AT sfu dot ca *
3725 * src/Makefile.am, src/hid/gtk/gtkhid-main.c,
3726 src/hid/gtk/gui-dialog-size.c, src/hid/gtk/gui-top-window.c,
3727 src/hid/gtk/gui.h: Replace old route style selector with
3728 GHidRouteStyleSelector TODO: The RouteStylesChanged action is now very broken. Menu accelerators need to be installed
3730 2011-09-03 Andrew Poelstra * asp11 AT sfu dot ca *
3732 * src/hid/gtk/ghid-main-menu.c, src/hid/gtk/ghid-main-menu.h:
3733 Introduce functions for GHidRouteStyleSelector handling to menu
3735 2011-09-03 Andrew Poelstra * asp11 AT sfu dot ca *
3737 * src/Makefile.am, src/hid/gtk/ghid-route-style-selector.c,
3738 src/hid/gtk/ghid-route-style-selector.h: Introduce
3739 GHidRouteStyleSelector widget, don't use it yet
3741 2011-09-04 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3743 * src/hid/gtk/gui-top-window.c, src/hid/gtk/gui.h: hid/gtk: Add file
3744 change notification for the currently open PCB If the file is modified on disk, a bar appears at the top of the PCB
3745 area offering the user a choice as to whether they wish to reload
3746 the board or cancel (do nothing). If the user has changes, and hits reload - they are prompted as to
3747 whether they wish to throw away their changes. Requires GTK 2.18 or higher due to use of the GtkInfoBar widget.
3749 2011-09-05 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3751 * configure.ac: Require GTK 2.18 or later for the GTK HID. This is for some new widgets, like the GtkInfoBar.
3753 2011-09-04 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3755 * src/hid/gtk/gui-top-window.c, src/hid/gtk/gui.h: hid/gtk: Fix
3756 styling of menubar area so it is consistent across its width This relies on some nasty tricks copying GtkStyle's between the
3757 menubar widget and a new GtkEventBox widget we pack the top bar in
3758 to give us a background to paint on. We also adjust the styles of
3759 the coordinate read- out labels and frames to ensure they are
3760 legible. There may still be some inconsistencies, as the coordinate selector
3761 button is themed as if it were a toolbar button, hence the
3762 colourings used may be designed to work with a different background
3763 colour than we have.
3765 2011-09-04 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3767 * src/hid/gtk/gui-top-window.c, src/hid/gtk/gui.h: hid/gtk: Create a
3768 GtkToolbar of mode buttons for compact vertical mode Rather than packing our mode buttons into an hbox, use a proper
3769 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
3770 two distinct widgets to show / hide, rather than having to reparent
3771 the mode buttons each time. It does, however mean we have to be careful not to double-trigger
3772 events when keeping the two sets of mode buttons in sync with each
3773 other, so that isn't ideal. In the longer term, we probably ought to split out the mode button
3774 area on the left-hand toolbar as a separate self-contained widget.
3776 2011-09-03 Andrew Poelstra * asp11 AT sfu dot ca *
3778 * src/hid/gtk/ghid-cell-renderer-visibility.c: gtk: Prelight toggle
3779 swatches in layer selector This brightens the layer visibility swatches subtly when the mouse
3780 hovers over them. IMHO this improves the discoverability of the
3781 widget without being distracting or misleading.
3783 2011-09-03 Andrew Poelstra * asp11 AT sfu dot ca *
3785 * src/hid/gtk/ghid-layer-selector.c: gtk: Don't gray out invisible
3786 layers' text in the selector
3788 2011-09-03 Andrew Poelstra * asp11 AT sfu dot ca *
3790 * src/hid/gtk/ghid-layer-selector.c: gtk: toggle non-activatable
3791 layers on click, without checking for swatch
3793 2011-09-03 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3795 * src/hid/gtk/gui-config.c, src/hid/gtk/gui-top-window.c,
3796 src/hid/gtk/gui.h: hid/gtk: Remove compact_vbox and compact_hbox
3798 2011-09-03 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3800 * src/hid/gtk/gui-config.c, src/hid/gtk/gui-top-window.c,
3801 src/hid/gtk/gui.h: hid/gtk: Always show the PCB name on the
3802 title-bar, not the toolbar This saves space and reduces code complexity
3804 2011-09-03 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3806 * src/hid/gtk/gui-top-window.c, src/hid/gtk/gui.h: hid/gtk: Don't
3807 use a GtkEventBox as a container widget We weren't making use of the events from the event box, and appeared
3808 just to be using it as a convenient container to allow setting the
3809 sensitivity on our entire left hand toolbar at once. Scrap the event box widget and just store a pointer to the vbox
3810 widget which the left toobar items are packed into. We can set the
3811 sensitivity on this and get the desired effect.
3813 2011-09-03 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3815 * src/hid/gtk/gui-pinout-window.c, src/hid/gtk/gui-top-window.c:
3816 hid/gtk: Don't pack the drawing area in a GtkViewport widget (For both the main window and the pinout preview). The GtkViewport
3817 widget is designed to add scroll bars to a widget which doesn't have
3818 native scroll capabilities. We are handling out own scroll-bars, so
3819 the only gain we had from the GtkViewport we added was a shadow
3820 around the widget. If we decide we want the shadow back, a more appropriate widget to
3821 pack the drawing area with might be a GtkFrame.
3823 2011-09-03 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3825 * src/hid/gtk/gui-top-window.c: hid/gtk: Remove the vbox used to
3826 pack ghidgui->compact_hbox The main effect here is that the contents of the compact_hbox will
3827 get more vertical space assigned to them if the menu bar section is
3828 taller than the natural size of those widgets. The visual change seems acceptable, and we could use every bit of
3829 code-cleanup in ghid_build_pcb_top_window()
3831 2011-09-03 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3833 * src/hid/gtk/gui-top-window.c: hid/gtk: Remove some more temporary
3834 variable assignments These make the code harder to follow, as the same temporary variable
3835 is used again and again to refer to different widgets.
3837 2011-09-03 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3839 * src/hid/gtk/gui-top-window.c, src/hid/gtk/gui.h: hid/gtk: Don't
3840 use an hbox to pack the board name label The hbox only has one child, so use the name label directly.
3842 2011-09-03 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3844 * src/hid/gtk/gui-top-window.c: hid/gtk: Skip the generic "hbox"
3845 variable when storing the widget anyway For widgets we keep references to in the ghidgui structure, we avoid
3846 confusion by assigning directly to the more descriptive ghidgui
3849 2011-09-03 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3851 * src/hid/gtk/gui-top-window.c: hid/gtk: Don't pack a frame around
3854 2011-09-02 Andrew Poelstra * asp11 AT sfu dot ca *
3856 * src/hid/gtk/gui-dialog-size.c, src/misc.c, src/misc.h: Move
3857 make_route_string() from gtk into misc.c
3859 2011-09-02 Andrew Poelstra * asp11 AT sfu dot ca *
3861 * src/mymem.c, src/mymem.h: Const-correct StripWhiteSpaceAndDup in
3864 2011-09-01 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3866 * src/hid/gtk/gtkhid-main.c: hid/gtk: Attempt to fix logic to flip
3867 component / solder group visibility on flip Should get back to better behaviour. I probably broke this somewhat
3868 with commit f903b4be6b85efc110852f7be40edf8245f0a513, which
3869 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
3870 (groups) is visible, and that layer (group) is _active_, then swap
3871 the visibilities of the component / solder layers (groups), and make
3872 the newly visible layer (group) active. There are still bugs in this code relating to the assumption that
3873 the first entry in the layer group is the one which is being
3874 toggled. This breaks if the first entry in the group is that
3875 corresponding to the silk for that side of the board.
3877 2011-08-31 Andrew Poelstra * asp11 AT sfu dot ca *
3879 * src/hid/gtk/ghid-layer-selector.c: gtk: fix typo preventing layer
3880 selector menu items from working
3882 2011-08-31 Andrew Poelstra * asp11 AT sfu dot ca *
3884 * src/hid/gtk/gui-top-window.c: gtk: remove in_toggle_view
3885 recursion-prevention flag We don't call ToggleView programmatically anywhere, so it is
3886 impossible for there to be recursion.
3888 2011-08-31 Andrew Poelstra * asp11 AT sfu dot ca *
3890 * src/hid/gtk/ghid-main-menu.c: Block signals in
3891 ghid_main_menu_update_toggle_state() The function ghid_main_menu_update_toggle_state() is supposed to
3892 sync the menu checkboxes to the actual state of pcb, by checking the
3893 flags given in the resource file. If this function is emitting signals and changing pcb's state, this
3894 is a bug. Fortunately, this appears not to be the case, so the
3895 effect of this commit is to eliminate one more use of
3896 ghidgui->toggle_holdoff.
3898 2011-08-31 Andrew Poelstra * asp11 AT sfu dot ca *
3900 * src/hid/gtk/gui-top-window.c: gtk: sync visiibility of layer
3901 selector with core state in LayersChanged
3903 2011-08-31 Andrew Poelstra * asp11 AT sfu dot ca *
3905 * src/hid/gtk/ghid-layer-selector.c,
3906 src/hid/gtk/ghid-layer-selector.h: Use signal blocking for
3907 visibility toggling in GHidLayerSelector
3909 2011-08-31 Andrew Poelstra * asp11 AT sfu dot ca *
3911 * src/hid/gtk/gui-config.c: Add call to
3912 ghid_layer_buttons_color_update() when loading new colors
3914 2011-08-30 Andrew Poelstra * asp11 AT sfu dot ca *
3916 * src/change.c: Change change.c to treat text scale as mils
3918 2011-08-30 Andrew Poelstra * asp11 AT sfu dot ca *
3920 * src/hid/gtk/ghid-layer-selector.c: Configure layer selector to
3921 only accept left-clicks Suggested by Kai-Martin Knaak, seconded by me.
3923 2011-08-30 Andrew Poelstra * asp11 AT sfu dot ca *
3925 * src/hid/gtk/gui-top-window.c: Fix invalid free of ~/.pcb/filename
3926 path in gui-top-window.c
3928 2011-08-29 Andrew Poelstra * asp11 AT sfu dot ca *
3930 * src/hid/gtk/ghid-layer-selector.c,
3931 src/hid/gtk/ghid-layer-selector.h: minor: fix comment and forward
3932 declaration in ghid-layer-selector
3934 2011-08-29 Andrew Poelstra * asp11 AT sfu dot ca *
3936 * src/hid/gtk/ghid-layer-selector.c: Remove default layer selection
3937 from ghid-layer-selector.c Having the layer selector select its own first layer is not needed -
3938 pcb does this for us, after making the widget. It's not the sort of
3939 decision a widget should be making on its own, anyway.
3941 2011-08-29 Andrew Poelstra * asp11 AT sfu dot ca *
3943 * src/hid/gtk/ghid-layer-selector.c: Use g_signal_handler_block
3944 instead of flags in ghid-layer-selector.c Thanks to Peter C. for this code-cleanliness tip. Now the two
3945 layer-selection interfaces (menu button and selector widget) set
3946 each other's GUI state but do not raise any signals past the
3949 2011-08-29 Andrew Poelstra * asp11 AT sfu dot ca *
3951 * src/hid/gtk/ghid-layer-selector.c: Add missing free_ldata() in
3952 ghid-layer-selector.c
3954 2011-08-29 Andrew Poelstra * asp11 AT sfu dot ca *
3956 * src/hid/gtk/gui-command-window.c: Disable layer selector's
3957 GtkAccelGroup while in command mode
3959 2011-08-30 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3961 * src/draw.c: draw.c: Add const qualifiers to some BoxType
3962 *drawn_area parameters
3964 2011-08-30 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3966 * src/misc.c, src/misc.h: misc.c: Add const qualifier to BoxType *
3967 parameter passed to CountHoles
3969 2011-08-30 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3971 * src/draw.c: draw.c: Fold DrawLayerCommon() into DrawLayer() Since the last commit, DrawLayer() just calls DrawLayerCommon with
3972 the "clear_pins" argument set to true. The only other
3973 DrawLayerCommon caller passes clear_pins as true, so having
3974 functions is redundant.
3976 2011-08-30 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3978 * src/draw.c: DrawLayer(): Pass true to clear_pins of
3979 DrawLayerCommon This should not affect any rendering. If the check planes flag is
3980 set, we should only draw polygons, nothing more. Only a handful of
3981 cases draw layers via this code-path, and in all but the exporter
3982 cases, they are not called if CHECKPLANES is set. The exporters which call DrawLayer explicitly clear the CHECKPLANES
3983 flag (since commit 3c01bd38cb59922692408b71cd5d77892dbe6ade), so
3984 nothing should be affected by this argument change.
3986 2011-08-30 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3988 * src/hid/gerber/gerber.c, src/hid/ps/eps.c, src/hid/ps/ps.c:
3989 hid/{ps,eps,gerber}: Clear CHECKPLANESFLAG before exporting Ensure we are in a sensible view state before exporting. This update
3990 those HIDs which cleared other similar renedering flags before
3991 exporting to include the CHECKPLANES flag.
3993 2011-08-30 Peter Clifton * pcjc2 AT cam dot ac dot uk *
3995 * src/draw.c: draw.c: Have DrawLayerGroup() call DrawPPV for non-gui
3996 exporters This means DrawLayerGroup() can have a void return type as most of
3997 the other drawing functions, and makes things a little neater. Only the GUI renderers special case the pin / pad / via to wait
3998 until a later rendering oass than the layers they reside on.
4000 2011-08-29 Peter Clifton * pcjc2 AT cam dot ac dot uk *
4002 * src/hid/gtk/gtkhid-main.c: hid/gtk: Remove unused "button"
4003 parameter from Popup function. Remove the dead code and comments refering to the fact the
4004 function's second argument indicates a mouse button number.
4006 2011-08-29 Andrew Poelstra * asp11 AT sfu dot ca *
4008 * src/hid/gtk/ghid-layer-selector.c,
4009 src/hid/gtk/ghid-layer-selector.h, src/hid/gtk/ghid-main-menu.c,
4010 src/hid/gtk/ghid-main-menu.h, src/hid/gtk/gui-top-window.c: Link
4011 GHidLayerSelector and GHidMainMenu Layer visibility-toggle and selection menu items now appear in the
4012 main menu. Accelerators work correctly and are reassigned on
4013 deletion/addition of layers to simulate the old behavior.
4015 2011-08-29 Andrew Poelstra * asp11 AT sfu dot ca *
4017 * src/hid/gtk/ghid-layer-selector.c: Clean up layer data handling in
4018 ghid-layer-selector.c
4020 2011-08-29 Andrew Poelstra * asp11 AT sfu dot ca *
4022 * src/hid/gtk/ghid-layer-selector.c: Give GHidLayerSelector an
4023 internal layer structure Before we had various arrays to resize and index; now each row has a
4024 structure associated with it, that is easier to access and maintain.
4026 2011-08-28 Andrew Poelstra * asp11 AT sfu dot ca *
4028 * src/hid/gtk/gtkhid-main.c, src/hid/gtk/gui-command-window.c,
4029 src/hid/gtk/gui-output-events.c, src/hid/gtk/gui-top-window.c,
4030 src/hid/gtk/gui.h: Replace gtk UI manager with GHidMainMenu widget This commit replaces the old UI manager with a customize gtk widget
4031 that builds menus directly from a resource tree. This eliminates the
4032 translate-to-XML step, the ugly hacks used to access individual
4033 actions, and all the associated manual memory management. This will also give us the ability to have more dynamic menus, in
4034 particular layer lists without maximum capacities. Layers and route styles are still not hooked into the menu. This
4035 means that those accelerators DO NOT WORK. (This will be fixed in a
4036 later commit.) Checkboxes have been replaced with radio buttons
4037 where appropriate. There are now tearoffs on the context-menu's
4038 submenus. Other than that, there should be no user-visible changes. ;)
4040 2011-08-28 Andrew Poelstra * asp11 AT sfu dot ca *
4042 * src/Makefile.am, src/hid/gtk/ghid-main-menu.c,
4043 src/hid/gtk/ghid-main-menu.h: Created ghid-main-menu.[ch] Still need to hook up layer selector and route styles.
4045 2011-08-29 Andrew Poelstra * asp11 AT sfu dot ca *
4047 * src/hid/gtk/gui-top-window.c: Fix select-hidden-layer behavior When you select a hidden layer, it should toggle the visibility so
4048 that the currently-selected layer is always visible. We were
4051 2011-08-29 Andrew Poelstra * asp11 AT sfu dot ca *
4053 * src/hid/gtk/ghid-layer-selector.c, src/hid/gtk/gui-top-window.c:
4054 Prevent recursion in layer selector events
4056 2011-08-29 Andrew Poelstra * asp11 AT sfu dot ca *
4058 * src/Makefile.am, src/hid/gtk/ghid-coord-entry.c,
4059 src/hid/gtk/ghid-coord-entry.h, src/hid/gtk/gtk-pcb-coord-entry.c,
4060 src/hid/gtk/gtk-pcb-coord-entry.h, src/hid/gtk/gui-config.c,
4061 src/hid/gtk/gui-dialog-print.c, src/hid/gtk/gui-dialog-size.c,
4062 src/hid/gtk/gui-utils.c, src/hid/gtk/gui.h: Rename GtkPcbCoordEntry
4065 2011-08-29 Andrew Poelstra * asp11 AT sfu dot ca *
4067 * src/Makefile.am, src/hid/gtk/ghid-layer-selector.c,
4068 src/hid/gtk/ghid-layer-selector.h,
4069 src/hid/gtk/gtk-pcb-layer-selector.c,
4070 src/hid/gtk/gtk-pcb-layer-selector.h, src/hid/gtk/gui-top-window.c:
4071 Rename GtkPcbLayerSelector to GHidLayerSelector
4073 2011-08-29 Andrew Poelstra * asp11 AT sfu dot ca *
4075 * src/Makefile.am, src/hid/gtk/ghid-cell-renderer-visibility.c,
4076 src/hid/gtk/ghid-cell-renderer-visibility.h,
4077 src/hid/gtk/gtk-pcb-cell-renderer-visibility.c,
4078 src/hid/gtk/gtk-pcb-cell-renderer-visibility.h,
4079 src/hid/gtk/gtk-pcb-layer-selector.c: Rename
4080 GtkPcbCellRendererVisibility to GHidCellRendererVisibility
4082 2011-08-28 Andrew Poelstra * asp11 AT sfu dot ca *
4084 * src/gpcb-menu.res.in: Add mnemonics to menus in default
4085 gpcb-menu.res.in You can now access the main menu without a mouse, by doing Alt+F,
4086 for example, to select the File menu.
4088 2011-08-27 Andrew Poelstra * asp11 AT sfu dot ca *
4090 * src/hid/common/hid_resource.c, src/hid/common/hid_resource.h,
4091 src/hid/gtk/gui-top-window.c, src/res_parse.y, src/resource.h: gtk:
4092 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.
4094 2011-08-27 Andrew Poelstra * asp11 AT sfu dot ca *
4096 * src/hid/gtk/gtk-pcb-layer-selector.c: Delete GtkAction along with
4097 layer in gtk-pcb-layer-selector.c
4099 2011-08-29 Peter Clifton * pcjc2 AT cam dot ac dot uk *
4101 * src/hid/ps/eps.c: hid/ps/eps.c: Remove assigned by unused
4104 2010-10-21 Markus Hitter * mah AT jump-ing dot de *
4106 * src/hid/gcode/gcode.c: HID-gcode: make use of MAXPATHLEN. Affects-bug: lp-699497
4108 2011-08-28 Felix Ruoff * Felix AT posaunenmission dot de *
4110 * src/hid/bom/bom.c, src/hid/gerber/gerber.c, src/main.c: Add
4111 attributes to docu for commandline options
4113 2011-08-28 Felix Ruoff * Felix AT posaunenmission dot de *
4115 * doc/pcb.texi: Docu: Fix some references to command-line options and remove the documentation for a non-working X11-Interface option.
4117 2011-08-28 Dima Kogan * dkogan AT cds dot caltech dot edu *
4119 * src/find.c: Better handling of unplated vias The attached patch adds checks in the geometry intersection
4120 functions to no longer treat unplated vias (mounting holes) as
4121 conducting. The implementation in the patch will act as if the
4122 unplated via doesn't intersect with metal objects at all, which is
4123 possibly not what is desired. Should the conductivity check happen
4124 on a higher level from the geometry intersection routines? A case
4125 that would require this is not obvious to me. Closes-bug: lp-699499
4127 2011-08-14 Felix Ruoff * Felix AT posaunenmission dot de *
4129 * src/hid/gcode/gcode.c, src/hid/gerber/gerber.c,
4130 src/hid/lpr/lpr.c, src/hid/nelma/nelma.c, src/hid/png/png.c,
4131 src/hid/ps/ps.c: Unify HID description (no fullstop at end of
4132 description) Most parts of this patch-serie was written by Kai-Martin Knaak.
4133 Adaption to actual git HEAD and some modifications by Felix Ruoff.
4135 2011-08-14 Felix Ruoff * Felix AT posaunenmission dot de *
4137 * src/hid/ps/ps.c: Add docu for ps HID commandline options Most parts of this patch-serie was written by Kai-Martin Knaak.
4138 Adaption to actual git HEAD and some modifications by Felix Ruoff.
4140 2011-08-14 Felix Ruoff * Felix AT posaunenmission dot de *
4142 * src/hid/ps/eps.c: Add docu for eps HID commandline options Most parts of this patch-serie was written by Kai-Martin Knaak.
4143 Adaption to actual git HEAD and some modifications by Felix Ruoff.
4145 2011-08-14 Felix Ruoff * Felix AT posaunenmission dot de *
4147 * src/hid/png/png.c: Add docu for png HID commandline options Most parts of this patch-serie was written by Kai-Martin Knaak.
4148 Adaption to actual git HEAD and some modifications by Felix Ruoff.
4150 2011-08-14 Felix Ruoff * Felix AT posaunenmission dot de *
4152 * src/hid/nelma/nelma.c: Add docu for nemla HID commandline options Most parts of this patch-serie was written by Kai-Martin Knaak.
4153 Adaption to actual git HEAD and some modifications by Felix Ruoff.
4155 2011-08-14 Felix Ruoff * Felix AT posaunenmission dot de *
4157 * src/hid/lpr/lpr.c: Add docu for lpt HID commandline options Most parts of this patch-serie was written by Kai-Martin Knaak.
4158 Adaption to actual git HEAD and some modifications by Felix Ruoff.
4160 2011-08-14 Felix Ruoff * Felix AT posaunenmission dot de *
4162 * src/hid/gerber/gerber.c: Add docu for Gerber HID commandline
4163 options Most parts of this patch-serie was written by Kai-Martin Knaak.
4164 Adaption to actual git HEAD and some modifications by Felix Ruoff.
4166 2011-08-14 Felix Ruoff * Felix AT posaunenmission dot de *
4168 * 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.
4169 Adaption to actual git HEAD and some modifications by Felix Ruoff.
4171 2011-08-14 Felix Ruoff * Felix AT posaunenmission dot de *
4173 * src/hid/gtk/gui-top-window.c, src/hid/lesstif/main.c: Add docu for
4174 commandline-options for GTK+ and lesstif GUI Most parts of this patch-serie was written by Kai-Martin Knaak.
4175 Adaption to actual git HEAD and some modifications by Felix Ruoff.
4177 2011-08-18 Felix Ruoff * Felix AT posaunenmission dot de *
4179 * src/main.c: Add docu for DRC commandline options Most parts of this patch-serie was written by Kai-Martin Knaak.
4180 Adaption to actual git HEAD and some modifications by Felix Ruoff.
4182 2011-08-18 Felix Ruoff * Felix AT posaunenmission dot de *
4184 * src/main.c: Add docu for general gui commandline options Most parts of this patch-serie was written by Kai-Martin Knaak.
4185 Adaption to actual git HEAD and some modifications by Felix Ruoff.
4187 2011-08-18 Felix Ruoff * Felix AT posaunenmission dot de *
4189 * src/main.c: Add docu for path commandline options Most parts of this patch-serie was written by Kai-Martin Knaak.
4190 Adaption to actual git HEAD and some modifications by Felix Ruoff.
4192 2011-08-18 Felix Ruoff * Felix AT posaunenmission dot de *
4194 * src/main.c: Add docu for commandline commands Most parts of this patch-serie was written by Kai-Martin Knaak.
4195 Adaption to actual git HEAD and some modifications by Felix Ruoff.
4197 2011-08-18 Felix Ruoff * Felix AT posaunenmission dot de *
4199 * src/main.c: Add docu for layer names commandline options Most parts of this patch-serie was written by Kai-Martin Knaak.
4200 Adaption to actual git HEAD and some modifications by Felix Ruoff.
4202 2011-08-18 Felix Ruoff * Felix AT posaunenmission dot de *
4204 * src/main.c: Add docu for size commandline options Most parts of this patch-serie was written by Kai-Martin Knaak.
4205 Adaption to actual git HEAD and some modifications by Felix Ruoff.
4207 2011-08-18 Felix Ruoff * Felix AT posaunenmission dot de *
4209 * src/main.c: Add docu for color commandline options Most parts of this patch-serie was written by Kai-Martin Knaak.
4210 Adaption to actual git HEAD and some modifications by Felix Ruoff.
4212 2011-08-28 Felix Ruoff * Felix AT posaunenmission dot de *
4214 * doc/pcb.texi, src/main.c: Docu: Add general description for
4215 commandline options ... and for general options. (Patch 3/19 of this patch-serie is
4216 missing on purpose) Most parts of this patch-serie was written by Kai-Martin Knaak.
4217 Adaption to actual git HEAD and some modifications by Felix Ruoff.
4219 2011-08-28 Felix Ruoff * Felix AT posaunenmission dot de *
4221 * doc/pcb.texi: Remove out-dated docu for commandline options Most parts of this patch-serie was written by Kai-Martin Knaak.
4222 Adaption to actual git HEAD and some modifications by Felix Ruoff.
4224 2011-08-28 Peter Clifton * pcjc2 AT cam dot ac dot uk *
4226 * src/draw.c, src/misc.c, src/misc.h: Move CountHoles() from draw.c
4227 to misc.c and export it This function may be more generally useful.
4229 2011-08-28 Peter Clifton * pcjc2 AT cam dot ac dot uk *
4231 * src/draw.c: draw.c: Move doing_assy flag assignment into
4232 PrintAssembly() Keeps things tidier
4234 2011-08-28 Peter Clifton * pcjc2 AT cam dot ac dot uk *
4236 * src/hid/gcode/gcode.c, src/hid/nelma/nelma.c: hid/{nelma,gcode}:
4237 Remove assigned but unused variables lastcap and lastgroup
4239 2011-08-28 Peter Clifton * pcjc2 AT cam dot ac dot uk *
4241 * src/draw.h, src/main.c: Remove traces of LoadBackgroundImage()
4242 from the core of PCB
4244 2011-08-27 Peter Clifton * pcjc2 AT cam dot ac dot uk *
4246 * src/hid/gtk/gtkhid-gdk.c, src/hid/gtk/gtkhid-gl.c: hid/gtk: Use
4247 view_data struct to simplify saving and restoring views
4249 2011-08-27 Peter Clifton * pcjc2 AT cam dot ac dot uk *
4251 * src/hid/gtk/gtkhid-gdk.c, src/hid/gtk/gtkhid-gl.c,
4252 src/hid/gtk/gtkhid-main.c, src/hid/gtk/gui-output-events.c,
4253 src/hid/gtk/gui-top-window.c, src/hid/gtk/gui.h: hid/gtk:
4254 Encapsulate view parameters in a structure
4256 2011-08-27 Peter Clifton * pcjc2 AT cam dot ac dot uk *
4258 * src/hid/gtk/gtkhid-main.c: hid/gtk: Remove unnecessary prototype
4260 2011-08-27 Peter Clifton * pcjc2 AT cam dot ac dot uk *
4262 * src/hid/gtk/gui.h: hid/gtk: crosshair_{x,y} should be Coord, not
4265 2011-08-27 Peter Clifton * pcjc2 AT cam dot ac dot uk *
4267 * src/fontmode.c: fontmode.c: Add missing #include "pcb-printf.h"
4269 2011-08-26 DJ Delorie * dj AT delorie dot com *
4271 * src/fontmode.c: Fix FontEdit() Move top/bottom meta-layers to layers 0 and 1 so they'll exist after
4272 we trim out the layers. Set up DRC values to avoid interfereing
4273 with the font layout. Closes-bug: lp-808591
4275 2011-08-26 DJ Delorie * dj AT delorie dot com *
4277 * src/hid/lesstif/dialogs.c: Use correct units when setting up the
4278 Sizes dialog. Replace %mm with %mS so it auto-selects units, to match the scanning
4279 that's done when you save the settings.
4281 2011-08-26 DJ Delorie * dj AT delorie dot com *
4283 * src/parse_l.l: Avoid segfault tmp-saving partial board. Check for both PCB and PCB->Data to avoid trying to save a backup
4284 copy of a partially created layout.
4286 2011-08-26 Andrew Poelstra * asp11 AT sfu dot ca *
4288 * src/hid/gtk/gui-top-window.c: gtk: Sync selection with pcb state
4289 in ghid_layer_buttons_update It was possible for PCB's active layer to come out of sync with the
4290 selected entry in the layer selector. This fixes that.
4292 2011-08-26 Andrew Poelstra * asp11 AT sfu dot ca *
4294 * src/hid/gtk/gtk-pcb-layer-selector.c,
4295 src/hid/gtk/gtk-pcb-layer-selector.h, src/hid/gtk/gui-top-window.c:
4296 Support adding/deletion of layers in GtkPcbLayerSelector If you add a layer to a GtkPcbLayerSelector, and its ID is already
4297 in the selector, it will update the layer instead of adding a new
4298 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
4299 the number of non-copper layers), and showed/hid the gui widget to
4300 managed deletion and adding of layers. The new one has no notion of
4301 MAX_LAYER, nor does it care whether a layer is copper or not. :)
4303 2011-08-26 Peter Clifton * pcjc2 AT cam dot ac dot uk *
4305 * src/hid/gtk/gui-drc-window.c: hid/gtk: Fix DRC preview pixmap
4306 rendering Another hard-coded constant in the old PCB coordinate system
4308 2011-08-26 Peter Clifton * pcjc2 AT cam dot ac dot uk *
4310 * src/hid/gtk/gtkhid-gdk.c: hid/gtk: Remove duplicated render pass
4311 in ghid_pinout_preview_expose() This looks like it was a copy+paste error.
4313 2011-08-26 Peter Clifton * pcjc2 AT cam dot ac dot uk *
4315 * src/hid/gtk/gui-pinout-preview.c,
4316 src/hid/gtk/gui-pinout-preview.h: hid/gtk: Fix pinout preview
4317 default zoom after unit conversion Apparently the scale factor equation was dependant on the old PCB
4318 units of 100th mils to produce a sensible zoom level. Since this code is monumentally obtuse, just re-write something
4319 completley new. The old code probably bit-rot when we split out the
4320 rendering widget. Lets just suggest a fixed size of 100 pixels natural size for each
4321 150 mil of element bounding box. That seems to work nicely.
4323 2011-08-26 Peter Clifton * pcjc2 AT cam dot ac dot uk *
4325 * src/misc.c: misc.c: Rework SetTextBoundingBox() to make it more
4326 clear how it works. Add lots of comments, change the coding style and rename variables
4327 to make them more obvious.
4329 2011-08-26 Peter Clifton * pcjc2 AT cam dot ac dot uk *
4331 * src/draw.c: Redefine pin / pad name label text size in terms of
4332 FONT_CAPHEIGHT This reduces the proliferation of various "magic numbers" which
4333 combine constants from several sources and aren't appearent why they
4334 are a particular number. There is a slight rounding error in the
4335 converted pin label size, but it is insignificant.
4337 2011-08-26 Peter Clifton * pcjc2 AT cam dot ac dot uk *
4339 * globalconst.h, src/change.c, src/report.c: Introduce global
4340 #define for the text cap-height of the PCB font. This should save the proliferation of rather opaque
4341 MIL_TO_COORD(45)'s in various places.
4343 2011-08-26 Peter Clifton * pcjc2 AT cam dot ac dot uk *
4345 * src/change.c, src/draw.c, src/report.c: Fix some text scale
4346 factors This commit fixes pin / pad name drawing, the pinout preview and two
4347 actions which change the size of text based on user input. To recap: Text->Scale is a percentage scaling (from the font definition). The
4348 default font has has an approximate cap-height of 45-50 mils, and
4349 PCB assumes this to be the case. Text->Scale is not a Coord, it is an integer, so use int as the
4350 resulting type for any calculations involving this number. (100% is
4351 stored as 100 in Text->scale). Code which scales text based upon
4352 other object sizes does so by dividing to a dimensionless scale
4353 factor. We may have to be careful about the width of intermediate
4354 results when scaling based on Coords if Coord is changed to 64bit at
4355 some point. ChangeTextSize() and ChangeElementNameSize accept absolute (or
4356 delta) sizes in units of distance. These are converted to a Scale by
4357 assuming a 100% scaled font is 45mils high. YMMV. Oh - and just to note.. the line-thickness is drawn at half the
4358 width stored in the font definition. This is clearly bonkers, but we
4359 would break designs if we changed it now. Grr. (Thanks a bunch
4360 commit 66592387176ba2578dfc14023a6fe49226f3a3df).
4362 2011-08-26 Peter Clifton * pcjc2 AT cam dot ac dot uk *
4364 * src/action.c, src/hid/ps/ps.c: action.c: Fix missing #include
4367 2011-08-26 Peter Clifton * pcjc2 AT cam dot ac dot uk *
4369 * : hid/ps: Fix inaccurate comment and twiddle some whitespace The whitespace changes in the if statement were from an earlier
4370 revision which actually had functional changes - but I prefer this
4371 way, so I'm committing it anyway. Also adds some != 0 to the end of strcmp tests, as I believe this
4372 aids clarity by reminding readers strcmp returns 0 for a match.
4374 2011-08-26 Peter Clifton * pcjc2 AT cam dot ac dot uk *
4376 * src/hid/gtk/gtkhid-main.c, src/hid/gtk/gui-output-events.c:
4377 hid/gtk: Allow zooming out past the board size (up to 1/10 viewport
4378 size) The 1/10 viewport size should be the same as the Lesstif HID allows.
4379 The purpose of the limit is to avoid zooming in so small the PCB is
4380 lost as a tiny dot, and also to avoid coodinate overflows when
4381 representing screen coordinats in PCB Coords. (Since we switched to
4382 nanometers, this could potentially raise its head more readily until
4383 we move to 64bit integers). The explicit pan fixup added to ghid_view_zoom_fit() is required as
4384 pan_common() no longer clamps the view back to the origin.
4386 2011-08-26 Peter Clifton * pcjc2 AT cam dot ac dot uk *
4388 * src/hid/gtk/gtkhid-main.c, src/hid/gtk/gui-output-events.c,
4389 src/hid/gtk/gui.h: hid/gtk: Remove ghid_port_ranges_pan for new
4390 replacement ghid_pan_view_rel ghid_pan_view_rel() does less heavy lifting directly, sharing common
4391 code with the other view altering routines for zooming and panning.
4393 2011-08-26 Peter Clifton * pcjc2 AT cam dot ac dot uk *
4395 * src/hid/gtk/gui.h: hid/gtk: Remove prototype for non-existant
4396 ghid_port_ranges_update_ranges The functionality this prototype implies is in
4397 ghid_port_ranges_scale().
4399 2011-08-26 Peter Clifton * pcjc2 AT cam dot ac dot uk *
4401 * src/hid/gtk/gtkhid-main.c: hid/gtk: Don't recompute view size in
4402 PCB coords in ScrollAction() We aleady keep around the view size in PCB coords, so use it
4405 2011-08-26 Peter Clifton * pcjc2 AT cam dot ac dot uk *
4407 * src/hid/gtk/gtkhid-main.c: hid/gtk: Add fixup for stored
4408 gport->pcb_{x,y} coords when changing view This updates the stored (in PCB coordinates) mouse pointer location
4409 on the board as we perform a pan / zoom. This is mostly relevant to
4410 panning and clipped zoom operations, as non-clipped zoom operations
4411 aim to leave the mouse pointer at the same PCB coordinate anyway.
4413 2011-08-26 Peter Clifton * pcjc2 AT cam dot ac dot uk *
4415 * src/polygon.c: polygon.c: Fix dicer to give up if the clipping
4416 region passed is invalid. Most of the dance checking return codes from polyBoolean_free was
4417 unnecessary, as it sets the output to NULL if there is a problem, so
4418 remove that. Whilst we're at it, fix up some variable names to make
4419 the operation of the function clearer.
4421 2011-08-26 Peter Clifton * pcjc2 AT cam dot ac dot uk *
4423 * src/polygon.c: polygon.c: Make RectPoly return NULL for zero or
4424 negatively sized rectangles Previously we would hit an assertion failure, where we could
4425 indicate the problem by returning NULL. I've hit an issue in which some expose events in the GTK (+GL) HID
4426 are collapsing to a zero-width region on the PCB, and some code is
4427 tripping up on the bad clip polygon produced using RectPoly on the
4428 coordinates. This causes segfaults in the branch which contains
4429 code to clip rendering of the soldermask at the board outline. We could (and perhaps should) test in the expose handler, but the
4430 failure mode here is not ideal. Since most builds of PCB run with
4431 asserts disabled, the asserts are not hit here and a bad polygon is
4432 silently gets created with no contours. This upsets the polygon
4433 algebra routines somewhat, but returning a NULL (empty) polygon
4436 2011-08-26 Andrew Poelstra * asp11 AT sfu dot ca *
4438 * src/hid/gtk/gui-config.c, src/hid/gtk/gui-top-window.c: gtk:
4439 remove call to ghid_layer_buttons_color_update The call to ghid_layer_buttons_color_update() in config_read() is
4440 now unnecessary; the Gtk layer selection widget does not exist, nor
4441 do the PCB struct's colors need to be synced with the ones in the
4442 Settings struct. So this call makes no sense. Oh, and it causes a segfault. Also: remove color-changing debug code from gui-top-window.c
4444 2011-08-26 Andrew Poelstra * asp11 AT sfu dot ca *
4446 * src/hid/gtk/gtk-pcb-coord-entry.c: Add doxygen comments to
4447 gtk-pcb-coord-entry.c No code changes.
4449 2011-08-26 Andrew Poelstra * asp11 AT sfu dot ca *
4451 * src/hid/gtk/gtk-pcb-cell-renderer-visibility.c,
4452 src/hid/gtk/gtk-pcb-layer-selector.c: Add doxygen comments to
4453 gtk-pcb-cell-renderer-visibility.c Also fix the file description for gtk-pcb-layer-selector.c. No code
4456 2011-08-26 Andrew Poelstra * asp11 AT sfu dot ca *
4458 * src/pcb-printf.c: Add doxygen comments to pcb-printf.c No code changes.
4460 2011-08-26 Andrew Poelstra * asp11 AT sfu dot ca *
4462 * src/flags.c: Fix const-correctness warning in flags.c
4464 2011-08-26 Andrew Poelstra * asp11 AT sfu dot ca *
4466 * globalconst.h: Make EMARK_SIZE unit-agnostic Closes-bug: lp-832455
4468 2011-08-26 Andrew Poelstra * asp11 AT sfu dot ca *
4470 * src/hid/gtk/gui-top-window.c, src/hid/gtk/gui.h: Use
4471 GtkPcbLayerSelector in gtk GUI Closes-bug: lp-699482
4473 2011-08-26 Andrew Poelstra * asp11 AT sfu dot ca *
4475 * src/Makefile.am, src/hid/gtk/gtk-pcb-cell-renderer-visibility.c,
4476 src/hid/gtk/gtk-pcb-cell-renderer-visibility.h,
4477 src/hid/gtk/gtk-pcb-layer-selector.c,
4478 src/hid/gtk/gtk-pcb-layer-selector.h: Introduce GtkPcbLayerSelector
4479 widget -- not used yet This widget will replace the layer-selection buttons in the Gtk GUI,
4480 as well as the layer selection and visibility-toggling parts of the
4481 menu. This is to make layer manipulation more consistent and more
4482 keyboard-accessible. In future, it would be good to update this widget with context menus
4483 with things like "hide all but this layer".
4485 2011-08-26 Andrew Poelstra * asp11 AT sfu dot ca *
4487 * src/hid/gtk/gui-top-window.c: Change Gtk layer_process() to use
4488 colors from Settings, not PCB Now the only code that uses the colors in the PCB struct is draw.c.
4489 Hopefully in a future commit we can remove this too and remove the
4490 duplication of color data in the Settings and PCB structs.
4492 2011-08-25 DJ Delorie * dj AT delorie dot com *
4494 * src/action.c: Fix File->Import for elements on back side. Mirror pasted footprints when replacing back-side elements. Also
4495 clear element cache when reloading the new footprint, to avoid
4496 getting a stale pointer. Closes-bug: lp-699331
4498 2011-08-25 DJ Delorie * dj AT delorie dot com *
4500 * src/report.c: Fix texinfo bug in report.c patch {} are special characters in texinfo
4502 2011-08-25 DJ Delorie * dj AT delorie dot com *
4504 * src/hid/lesstif/main.c: Lesstif: force widget update on grid unit
4505 change If the grid units change, force a redraw of the coordinates window
4508 2011-08-25 DJ Delorie * dj AT delorie dot com *
4510 * src/flags.c, src/hid/common/flags.c: Fix unitless menu flags. Numbers without units are counting numbers in flags, not cmil.
4511 Also, cache the lookup of units in flags.c
4513 2011-08-24 Bert Timmerman * bert dot timmerman AT xs4all dot nl *
4515 * src/report.c: This patch adds support for doing
4516 Report(netlength,net_name) Affects-bug: lp-699451 Updated patch to nanometers, fixed a few minor bugs, applied.
4518 2011-08-24 Peter Clifton * pcjc2 AT cam dot ac dot uk *
4520 * src/hid/gtk/gtkhid-main.c: hid/gtk: Don't compensate for crosshair
4521 position when panning Perhaps this was necessary before.. it is not now, and is causing
4522 the crosshair to be errenously offset whilst panning with the scroll
4525 2011-08-24 Peter Clifton * pcjc2 AT cam dot ac dot uk *
4527 * src/hid/gtk/gtkhid-main.c: hid/gtk: Simplify viewport setup in
4528 PCBChanged() This version still works ;)
4530 2011-08-24 Peter Clifton * pcjc2 AT cam dot ac dot uk *
4532 * src/hid/gtk/gtkhid-main.c: hid/gtk: Refactor common view clamping
4533 code from ghid_{pan,zoom}_view_abs Inspection of the zoom-fit code which triggers if the view exceeds
4534 the size of the board suggests that it will never be called, so
4537 2011-08-24 Peter Clifton * pcjc2 AT cam dot ac dot uk *
4539 * src/hid/gtk/gui-output-events.c: hid/gtk: A couple of NOOP
4540 cosmetic changes to ghid_port_ranges_pan()
4542 2011-08-24 Peter Clifton * pcjc2 AT cam dot ac dot uk *
4544 * src/hid/gtk/gtkhid-gdk.c, src/hid/gtk/gtkhid-gl.c: hid/gtk: Don't
4545 render of soldermask outside board area
4547 2011-08-22 Andrew Poelstra * asp11 AT sfu dot ca *
4549 * src/create.c: Fix negative-angle handling in create.c This bug could be seen by taking a component with an arc (say, a
4550 3-pin TO transistor, with curved silk), flipping it with 'b', and
4551 trying to move it. The arc would be inverted.
4553 2011-08-22 Andrew Poelstra * asp11 AT sfu dot ca *
4555 * src/report.c: Fix segfault in report.c text report output
4557 2011-08-22 Peter Clifton * pcjc2 AT cam dot ac dot uk *
4559 * src/hid/gtk/gtkhid-main.c, src/hid/gtk/gui-output-events.c,
4560 src/hid/gtk/gui.h: hid/gtk: Remove emit_changed parameter from
4561 ghid_port_ranges_scale. The one caller which passed TRUE, PCBChanged () also immediately
4562 aftwewards calls ghid_port_ranges_pan(), which will take car of any
4565 2011-08-20 Peter Clifton * pcjc2 AT cam dot ac dot uk *
4567 * src/hid/gtk/gtkhid-main.c: hid/gtk: Rework view flip code
4569 2011-08-20 Peter Clifton * pcjc2 AT cam dot ac dot uk *
4571 * src/hid/gtk/gtkhid-main.c, src/hid/gtk/gui.h: hid/gtk: Rework zoom
4574 2011-08-20 Peter Clifton * pcjc2 AT cam dot ac dot uk *
4576 * src/hid/gtk/gtkhid-main.c: hid/gtk: Some NOOP and whitespace
4577 changes to the SwapSides() function Split from of a later patch which reworks the view flipping APIs.
4578 Hopefully this makes the function a little simpler.
4580 2011-08-19 Peter Clifton * pcjc2 AT cam dot ac dot uk *
4582 * src/hid/gtk/gtkhid-gdk.c, src/hid/gtk/gtkhid-gl.c: hid/gtk:
4583 Convert line width to Coord units in renderer GC structs.
4585 2011-08-19 Peter Clifton * pcjc2 AT cam dot ac dot uk *
4587 * src/find.c: find.c: Remove unused variables in LineLineIntersect()
4589 2011-08-15 Andrew Poelstra * asp11 AT sfu dot ca *
4591 * src/main.c: Add --help and -? to options that will dump usage()
4592 without loading GUI Closes-bug: lp-826931
4594 2011-08-15 Andrew Poelstra * asp11 AT sfu dot ca *
4596 * src/hid/batch/batch.c: Fix compilation warnings in
4599 2011-08-15 Andrew Poelstra * asp11 AT sfu dot ca *
4601 * src/hid/gtk/gtk-pcb-coord-entry.c, src/hid/gtk/gui-dialog-print.c:
4602 Fix: spin increments not working in GtkPcbCoordEntry after unit
4605 2011-08-15 Andrew Poelstra * asp11 AT sfu dot ca *
4607 * src/hid/gtk/gui-config.c: Parse options of type CONFIG_Coord in
4610 2011-08-05 Andrew Poelstra * asp11 AT sfu dot ca *
4612 * globalconst.h, src/const.h, src/global.h, src/main.c: *** CONVERT
4613 PCB'S BASE UNITS TO NANOMETERS *** Convert base units to nm, change Coord from int to long, change
4614 LARGE_VALUE from a magic number to (LONG_MAX / 2 - 1). Fixes-bug: lp-772027
4616 2011-08-11 Andrew Poelstra * asp11 AT sfu dot ca *
4618 * src/const.h: Make MARK_SIZE base-unit-agnostic
4620 2011-08-10 Andrew Poelstra * asp11 AT sfu dot ca *
4622 * src/hid/gtk/gtk-pcb-coord-entry.c: Implement "change unit" submenu
4623 of GtkPcbCoordEntry context menu
4625 2011-08-10 Andrew Poelstra * asp11 AT sfu dot ca *
4627 * src/hid/gtk/gui-dialog-print.c, src/hid/ps/ps.c: Use
4628 GtkPcbCoordEntry in gui-dialog-print.c Also set ps-bloat to HID_Coord from HID_Integer in ps.c
4630 2011-08-10 Andrew Poelstra * asp11 AT sfu dot ca *
4632 * src/hid/gtk/gtk-pcb-coord-entry.c,
4633 src/hid/gtk/gtk-pcb-coord-entry.h, src/hid/gtk/gui-config.c,
4634 src/hid/gtk/gui-dialog-size.c, src/pcb-printf.c, src/pcb-printf.h:
4635 Use GtkPcbCoordEntry in gui-dialog-size.c
4637 2011-08-10 Andrew Poelstra * asp11 AT sfu dot ca *
4639 * src/Makefile.am, src/hid/gtk/gtk-pcb-coord-entry.c,
4640 src/hid/gtk/gtk-pcb-coord-entry.h, src/hid/gtk/gui-config.c,
4641 src/hid/gtk/gui-utils.c, src/hid/gtk/gui.h: Introduce
4642 GtkPcbCoordEntry widget, use it in gui-config.c The GtkPcbCoordEntry is a modified spinbox that handles pcb units
4643 internally and outputs them as human units. It uses the step sizes
4644 given in pcb-printf and adjusts automatically when units are
4645 changed. If you manually change the unit suffix, it will change its interal
4646 unit, so that if you change "10mil" to "10mm" it will do the right
4647 thing. TODO: handle overflows add a unit selector to the context menu
4649 2011-08-07 Andrew Poelstra * asp11 AT sfu dot ca *
4651 * src/hid/common/hidgl.c, src/hid/common/hidgl.h,
4652 src/hid/gtk/gtkhid-gl.c: Audit hidgl stuff, implement Coord I did not touch any code, only change 'int' to Coord where
4653 appropriate (and in a couple cases 'double' to Coord), under the
4654 assumption that any real changes should be done by Peter C.
4656 2011-08-07 Andrew Poelstra * asp11 AT sfu dot ca *
4658 * src/hid.h, src/hid/common/hidinit.c, src/hid/gtk/gui-config.c,
4659 src/hid/gtk/gui-dialog-print.c, src/hid/lesstif/dialogs.c,
4660 src/hid/lesstif/lesstif.h, src/hid/lesstif/main.c, src/main.c:
4661 Introduce HID_Coord type and related changes Give measure-specific HID options their own datatype, so that things
4662 like the --grid option can support suffixes instead of exposing the
4663 base unit. (In fact, since they use GetValue, they will keep right
4664 on pretending the base unit is cmil.) This gives us the opportunity to write measure-entry GUI widgets
4665 that will handle units correctly and whatnot, though I have not yet
4666 done this. Fixes-bug: lp-699640 Fixes-bug: lp-699641
4668 2011-08-11 Andrew Poelstra * asp11 AT sfu dot ca *
4670 * src/hid/lesstif/dialogs.c: Change lesstif_logv to use pcb-printf
4671 [rebase-after: audit lesstif]
4673 2011-08-05 Andrew Poelstra * asp11 AT sfu dot ca *
4675 * src/global.h, src/gpcb-menu.res.in, src/hid/lesstif/dialogs.c,
4676 src/hid/lesstif/main.c, src/hid/lesstif/styles.c,
4677 src/pcb-menu.res.in: Audit lesstif HID We can now remove LocationType and BDimension! This marks the
4678 completion of the code audit. Remaining to do is the conversion and
4681 2011-08-05 Andrew Poelstra * asp11 AT sfu dot ca *
4683 * src/hid/gtk/gtkhid-gdk.c, src/hid/gtk/gtkhid-gl.c,
4684 src/hid/gtk/gui-log-window.c, src/hid/gtk/gui-misc.c,
4685 src/hid/gtk/gui-output-events.c, src/hid/gtk/gui.h: Audit Gtk HID
4687 2011-08-05 Andrew Poelstra * asp11 AT sfu dot ca *
4689 * src/hid/common/draw_helpers.c, src/hid/common/extents.c,
4690 src/hid/common/hidnogui.c: Audit HID nogui/common code
4692 2011-08-05 Andrew Poelstra * asp11 AT sfu dot ca *
4694 * src/hid/nelma/nelma.c: Audit nelma HID
4696 2011-08-05 Andrew Poelstra * asp11 AT sfu dot ca *
4698 * src/hid/png/png.c: Audit png HID
4700 2011-08-04 Andrew Poelstra * asp11 AT sfu dot ca *
4702 * src/hid/gcode/gcode.c: Audit gcode HID
4704 2011-08-04 Andrew Poelstra * asp11 AT sfu dot ca *
4706 * src/hid/ps/ps.c: Audit ps.c
4708 2011-08-04 Andrew Poelstra * asp11 AT sfu dot ca *
4710 * src/hid/ps/eps.c: Audit eps.c
4712 2011-08-04 Andrew Poelstra * asp11 AT sfu dot ca *
4714 * src/hid/gerber/gerber.c: Audit gerber HID
4716 2011-08-04 Andrew Poelstra * asp11 AT sfu dot ca *
4718 * src/hid/bom/bom.c: Implement new unit selector in BOM HID, audit
4721 2011-08-05 Andrew Poelstra * asp11 AT sfu dot ca *
4723 * src/hid.h, src/hid/bom/bom.c, src/hid/common/hidinit.c,
4724 src/hid/gcode/gcode.c, src/hid/gerber/gerber.c,
4725 src/hid/gtk/gui-config.c, src/hid/gtk/gui-dialog-print.c,
4726 src/hid/gtk/gui-utils.c, src/hid/gtk/gui.h, src/hid/lpr/lpr.c,
4727 src/hid/nelma/nelma.c, src/hid/png/png.c, src/hid/ps/eps.c,
4728 src/hid/ps/ps.c, src/main.c: Introduce HID_Unit option type
4730 2011-08-04 Andrew Poelstra * asp11 AT sfu dot ca *
4732 * src/hid.h: Change drawing function coords in hid.h to Coord from
4733 int Note that this causes a slew of compilation warnings about
4734 mismatched pointer types, since the HIDs themselves are still using
4735 int-taking functions. These warnings will be cleaned up over the
4738 2011-08-04 Andrew Poelstra * asp11 AT sfu dot ca *
4740 * src/crosshair.c, src/crosshair.h: Audit crosshair.[ch], implement
4743 2011-08-04 Andrew Poelstra * asp11 AT sfu dot ca *
4745 * src/parse_y.y: Audit parse_y.y, implement Coord
4747 2011-08-04 Andrew Poelstra * asp11 AT sfu dot ca *
4749 * src/mtspace.c, src/mtspace.h: Audit mtspace.[ch], implement Coord
4751 2011-08-04 Andrew Poelstra * asp11 AT sfu dot ca *
4753 * src/pcb-printf.h, src/report.c: Audit report.c, implement Coord Includes fixes for the original pcb-printf conversion: Fix drill report spacing in report.c Use %ma spec outputting angles in report.c
4755 2011-08-04 Andrew Poelstra * asp11 AT sfu dot ca *
4757 * src/autoroute.c: Audit autoroute.[ch], implement Coord There are many magic numbers in this file. It is likely they will be
4758 skewed by base-unit changes, though I have worked to mitigate this.
4760 2011-08-04 Andrew Poelstra * asp11 AT sfu dot ca *
4762 * src/autoplace.c: Audit autoplace.c, implement Coord Note that there are -many- magic numbers in this file. I believe
4763 I've caught all of them that are supposed to be unit conversions and
4764 used macros instead.
4766 2011-08-04 Andrew Poelstra * asp11 AT sfu dot ca *
4768 * src/action.c, src/create.c, src/create.h: Audit create.[ch],
4771 2011-08-03 Andrew Poelstra * asp11 AT sfu dot ca *
4773 * src/intersect.c, src/line.c, src/line.h: Audit line.[ch],
4774 intersect.c, implement Coord
4776 2011-08-03 Andrew Poelstra * asp11 AT sfu dot ca *
4778 * src/find.c, src/find.h: Audit find.[ch], implement Coord Note that this commits brings major simplifications to some DRC
4779 functions. My tests show everything okay, but there will likely be
4780 some bugs (or bug fixes) as a result of this commit.
4782 2011-08-02 Andrew Poelstra * asp11 AT sfu dot ca *
4784 * src/find.c: Remove fBloat from find.c fBloat does nothing except act as a floating point copy of the
4785 integer Bloat variable. It should not be (and is not) necessary.
4787 2011-08-03 Andrew Poelstra * asp11 AT sfu dot ca *
4789 * src/find.c: Fix g_string_free (NULL) error
4791 2011-08-02 Andrew Poelstra * asp11 AT sfu dot ca *
4793 * src/global.h, src/hid/gtk/gui-drc-window.c,
4794 src/hid/gtk/gui-drc-window.h: Remove coord suffix/precision from DRC
4795 error struct Display units for DRC errors are now handled by the UI, rather than
4796 in the error struct. The struct now stores everything in Coord's,
4797 and pcb-printf worries about how to display them.
4799 2011-08-02 Andrew Poelstra * asp11 AT sfu dot ca *
4801 * src/file.c: Audit file.c, implement Coord
4803 2011-08-02 Andrew Poelstra * asp11 AT sfu dot ca *
4805 * src/find.c, src/pcb-printf.c, src/pcb-printf.h: Use pcb-printf in
4806 DRC code in find.c Also, expose pcb_vprintf in pcb_printf.h.
4808 2011-07-27 Andrew Poelstra * asp11 AT sfu dot ca *
4810 * src/draw.c, src/draw.h: Audit draw.[ch], implement Coord
4812 2011-07-27 Andrew Poelstra * asp11 AT sfu dot ca *
4814 * src/box.h, src/change.c, src/change.h: Audit change.[ch], box.h,
4817 2011-07-27 Andrew Poelstra * asp11 AT sfu dot ca *
4819 * src/copy.c, src/copy.h, src/insert.c, src/insert.h, src/mirror.c,
4820 src/mirror.h: Audit copy.[ch], insert.[ch], mirror.[ch], implement
4823 2011-07-27 Andrew Poelstra * asp11 AT sfu dot ca *
4825 * src/misc.c, src/misc.h: Audit misc.[ch], implement Coord
4827 2011-07-26 Andrew Poelstra * asp11 AT sfu dot ca *
4829 * src/move.c, src/move.h: Audit move.[ch], implement Coord
4831 2011-07-26 Andrew Poelstra * asp11 AT sfu dot ca *
4833 * src/polyarea.h, src/polygon.c, src/polygon.h, src/polygon1.c:
4834 Audit polygon*, polyarea.h, implement Coord
4836 2011-07-25 Andrew Poelstra * asp11 AT sfu dot ca *
4838 * src/rotate.c, src/rotate.h: Audit rotate.[ch], implement Coord
4840 2011-07-19 Andrew Poelstra * asp11 AT sfu dot ca *
4842 * src/search.c, src/search.h: Audit search.[ch], implement Coord
4843 unit This does not affect the "IsPointOnArc assumes circular arc" bug; it
4844 is just more obvious now with the cleaner code. Affects-bug: lp-815527
4846 2011-07-13 Andrew Poelstra * asp11 AT sfu dot ca *
4848 * src/rubberband.c, src/set.c, src/set.h, src/thermal.c,
4849 src/undo.c, src/undo.h: Audit undo.[ch], thermal.c, set.[ch],
4850 rubberband.c, introduce Coord
4852 2011-08-07 Andrew Poelstra * asp11 AT sfu dot ca *
4854 * src/action.c, src/buffer.c, src/buffer.h, src/command.c,
4855 src/djopt.c, src/djopt.h, src/fontmode.c, src/global.h, src/hid.h,
4856 src/hid/batch/batch.c, src/hid/common/actions.c,
4857 src/hid/common/hidnogui.c, src/hid/gtk/gtkhid-main.c,
4858 src/hid/gtk/gui-log-window.c, src/hid/gtk/gui-netlist-window.c,
4859 src/hid/gtk/gui-output-events.c, src/hid/gtk/gui-top-window.c,
4860 src/hid/gtk/gui.h, src/hid/lesstif/dialogs.c,
4861 src/hid/lesstif/lesstif.h, src/hid/lesstif/library.c,
4862 src/hid/lesstif/main.c, src/hid/lesstif/menu.c,
4863 src/hid/lesstif/netlist.c, src/hid/lesstif/styles.c, src/misc.c,
4864 src/move.c, src/netlist.c, src/puller.c, src/report.c,
4865 src/toporouter.c, src/vendor.c: Change get_coord and action
4866 signatures to use Coord
4868 2011-07-27 Andrew Poelstra * asp11 AT sfu dot ca *
4870 * src/file.c, src/hid/gtk/gtkhid-main.c, src/hid/lesstif/main.c:
4871 Introduce PCB::grid::unit attribute This is PCB's first use of the Attribute() field in the file format.
4872 It is a unit suffix string denoting the unit setting used by pcb
4873 when loading the file. Note the namespacing: as Attributes are persistent across
4874 file-saves, other programs may use them in future for purposes
4875 unknown and irrelevant to pcb. Therefore we will put all pcb
4876 attributes under the PCB namespace. If this attribute is missing or invalid (i.e., the unit given is
4877 unsupported by pcb-printf), PCB will then use the --grid-units
4878 command-line option. Failing that, it will use the grid-units entry
4879 in ~/.pcb/preferences. Failing that, it will use mils. Fixes-bug: lp-811393
4881 2011-08-10 Andrew Poelstra * asp11 AT sfu dot ca *
4883 * src/pcb-printf.c: Modify get_unit_struct()'s bad-unit forgiveness Suffixes passed to get_unit_struct() may now start or end with
4884 whitespace, without affecting the result. However, incomplete units
4885 will NOT be matched. This means that "mi" will no longer return the "mil" struct, for
4886 example. The reasons for this change are: 1. The old behavior returned the first potential match, regardless of other matches: "c" is always "cm", never "cmil". 2. Prevent surprises (due to point #1, or typos). 3. Prevent user dependence on behavior that will change as units are added or removed. It still supports plural units, like "inches" or "mils". However,
4887 it will read "miles" as "mil" because of this. ;)
4889 2011-08-05 Andrew Poelstra * asp11 AT sfu dot ca *
4891 * src/main.c, src/pcb-printf.c, src/pcb-printf.h: Add alias support,
4892 get_unit_list() to pcb-printf Add pcb-printf support for unit aliases (just one per unit for now,
4893 we will fix this if the need arises). Map "inch" to "in" and "pcb"
4894 to "cmil" for backward compatibility. Move initialize_units() call to main.c to ensure it is called before
4895 any other unit-handling code. Also, add the functions get_unit_list (); get_n_units (); which do exactly what they look like. These will
4896 be used to build HID-export unit selectors.
4898 2011-07-12 Andrew Poelstra * asp11 AT sfu dot ca *
4900 * src/gpcb-menu.res.in, src/pcb-menu.res.in: Use suffixed units in
4901 gpcb-menu.res and pcb-menu.res
4903 2011-07-04 Andrew Poelstra * asp11 AT sfu dot ca *
4905 * src/buffer.c, src/buffer.h, src/create.c, src/file.c,
4906 src/global.h, src/misc.c, src/misc.h, src/pcb-printf.c,
4907 src/pcb-printf.h, src/rotate.c: Make file.c use %mr pcb-printf spec I have changed the %mr spec to always output cmils, no suffix, and
4908 changed file.c to use this. The reason is that the %mc spec (cmils,
4909 no suffix) is locale- dependent, while %mr is not. When we change the actual file format, file.c can be left alone and
4910 the relevant changes should be done to the %mr spec in pcb-printf.
4912 2011-07-13 Andrew Poelstra * asp11 AT sfu dot ca *
4914 * src/hid/gtk/gui-config.c: Update hid/gtk/gui-config.c with new
4917 2011-07-13 Andrew Poelstra * asp11 AT sfu dot ca *
4919 * src/file.c, src/find.c, src/flags.c, src/global.h,
4920 src/gpcb-menu.res.in, src/hid/gtk/gtkhid-main.c,
4921 src/hid/gtk/gui-config.c, src/hid/gtk/gui-dialog-size.c,
4922 src/hid/gtk/gui-misc.c, src/hid/gtk/gui-top-window.c,
4923 src/hid/gtk/gui.h, src/hid/lesstif/dialogs.c,
4924 src/hid/lesstif/main.c, src/hid/lesstif/styles.c,
4925 src/pcb-menu.res.in, src/pcb-printf.h, src/report.c: Remove mm/mil
4926 dichotomy, support arbitrary user units Currently, pcb assumes the user's display units are either mm or
4927 mil, and uses the Settings.grid_unit_mm boolean (and flag
4928 "grid_unit_mm") to determine which is which. This patch removes the boolean and replaces it with the new
4929 Settings.grid_unit, which can be set to any unit supported by
4930 pcb-printf. The user-visible interface has not changed (there is
4931 still a mm/mil toggle in Gtk and the menus only contain mm and mil
4932 units), but new units can be accessed though the :SetUnits command. The flag is still there and can be used in pcb-menu.res as usual.
4933 However, the new flag "grid_unit_mil" should be checked to see if
4934 mils are selected, since this is no longer implied by grid_unit_mm
4935 == 0. There will be some user-visible changes to the precision of
4936 displayed values, since I have removed a lot of special-case code
4937 for this sort of this thing and use the default_prec of applicable
4938 units instead. Because of the new flexibility, some idioms have been changed: Settings.grid_unit_mm ? COORD_TO_MM (x) : COORD_TO_MIL (x) becomes coord_to_unit (Settings.grid_unit, x) Settings.grid_unit_mm ? "mm" : "mil" becomes Settings.grid_unit->suffix Settings.grid_unit_mm = 1; becomes Settings.grid_unit = get_unit_struct ("mm"); For GUI use, the Unit structure returned by get_unit_struct exposes
4939 certain members: suffix : "mm"/"mil"/etc in_suffix : i18n version of the above default_prec : precision used for spinboxes, labels, etc step_tiny : step_small : step_medium : step sizes for various spinboxes step_large : step_huge : Additionally, the *_increment_mm and *_increment_mil variables have
4940 their own structure containing default, min and max values. These
4941 can no longer be set on the command line.
4943 2011-07-12 Andrew Poelstra * asp11 AT sfu dot ca *
4945 * src/main.c: Cleanup default values in main.c
4947 2011-07-12 Andrew Poelstra * asp11 AT sfu dot ca *
4949 * src/misc.c, src/pcb-printf.c, src/pcb-printf.h: Introduce new
4950 structures (unit, increment) to pcb-printf Constants for gui spinbox steps are now in pcb-printf.h: Unit.step_tiny Unit.step_small Unit.step_medium Unit.step_large Unit.step_huge Additionally, the default/max/min values for the preferences
4951 Increments tab are in their own structure in pcb-printf.h. These changes are needed to bring all unit-specific constants into
4952 one place. The spinbox values can be shared by gtk and lesstif.
4954 2011-07-04 Andrew Poelstra * asp11 AT sfu dot ca *
4956 * src/misc.c, src/pcb-printf.c, src/pcb-printf.h: Add scale factor
4957 lookups to pcb_printf.c, tell GetValue to use them GetValue and pcb-printf have their own lookup tables to determine
4958 scale factors. To unify them, this patch adds two functions to pcb-
4959 printf, coord_to_unit and unit_to_coord. These a const char *suffix and return an appropriate scale factor. I have also added a NO_PRINT entry to the allow_mask array for
4960 suffixes like "inch" that we can read but never output. The definitive unit lookup table should now be in pcb_printf.c. Any
4961 other tables used in the code should be merged into this.
4963 2011-07-11 Andrew Poelstra * asp11 AT sfu dot ca *
4965 * src/action.c, src/autoplace.c, src/crosshair.c, src/crosshair.h,
4966 src/djopt.c, src/file.c, src/flags.c, src/fontmode.c, src/global.h,
4967 src/hid/common/hidgl.c, src/hid/gtk/gtkhid-gdk.c,
4968 src/hid/gtk/gui-config.c, src/hid/gtk/gui-misc.c,
4969 src/hid/gtk/gui.h, src/hid/lesstif/main.c, src/hid/lesstif/menu.c,
4970 src/main.c, src/misc.c, src/misc.h, src/set.c, src/set.h: Convert
4971 grid/increments from double to Coord Since Coord is an integer unit, there will be (often severe)
4972 precision errors until we convert the base unit to nm.
4974 2011-08-14 Felix Ruoff * Felix AT posaunenmission dot de *
4976 * src/global.h: Remove unused variable
4978 2011-08-14 Felix Ruoff * Felix AT posaunenmission dot de *
4980 * src/global.h, src/main.c: Remove broken --menu-file option The expected functionality is given by the option --pcb-menu for the
4981 GTK+ GUI and lesstif GUI.
4983 2011-08-13 DJ Delorie * dj AT delorie dot com *
4985 * src/change.c, src/find.c, src/global.h,
4986 src/hid/common/draw_helpers.c, src/misc.c, src/polygon.c,
4987 src/search.c: Make toggling the HOLE flag reversible Closes-bug: lp-699483 When toggling the HOLE flag, the Thickness is no longer changed.
4988 Instead, use PIN_SIZE() to select from Thickness or DrillingHole
4989 accordingly, and use that throughout. Mask size is handled thusly: For tented vias, the mask is opened up
4990 to just over the hole size. For untented vias, the mask gap is held
4991 constant. Also, various minor changes to ensure that untented holes are drawn
4994 2011-08-13 Jared Casper * jaredcasper AT gmail dot com *
4996 * src/action.c, src/create.c, src/create.h, src/file.c, src/main.c,
4997 src/parse_y.y: refdes labels in new layout can't be moved. The .pcb file that gsch2pcb creates does not have a font in it.
4998 When loading files, the bounding box for all the text is calculated
4999 as the file is read. In the case that there is no font, this is
5000 before the default font is installed, so the bounding box is way too
5001 small. This patch remedies this by making all new PCB structures contain
5002 the default font by calling CreateDefaultFont in CreateNewPCB
5003 (CreateDefaultFont now takes in a PCBTypePtr instead of using the
5004 global PCB). Previously, each time CreateNewPCB was called,
5005 CreateDefaultFont was called soon thereafter. In the case of loading a PCB from a file. The default font in the
5006 newly created struct PCB is marked invalid but not removed. If the
5007 .pcb file contains a font, the default font will be overwritten by
5008 the file's font. If it does not, PCB->Font will still be invalid
5009 after LoadPCB, a message is displayed that the default font is being
5010 used, and PCB->Font.Valid is set to true. Also fixes a related bug where the memory for a symbols lines wasn't
5011 being cleared when a new file was brought into place. Previously,
5012 this only happened if a new Font was loaded into an existing PCB.
5013 Now the font will be replaced every time a file with symbol
5014 information is loaded. Rebased to actual git-head by Felix Ruoff Closes-bug: lp-699478
5016 2011-08-13 DJ Delorie * dj AT delorie dot com *
5018 * src/hid/lesstif/dialogs.c, src/hid/lesstif/lesstif.h,
5019 src/hid/lesstif/library.c, src/hid/lesstif/main.c,
5020 src/hid/lesstif/menu.c, src/hid/lesstif/netlist.c,
5021 src/hid/lesstif/styles.c: Centralize Lesstif XmStringCreate* Closes-bug: lp-699472 To save time in the future, all XmString creation is done via
5022 XmStringCreatePCB which is a macro in lesstif.h. Meanwhile, this
5023 macro is defined to XmStringCreateLtoR instead of
5024 XmStringCreateLocalized.
5026 2011-08-13 Cesar Strauss * cstrauss AT not2005 dot cea dot inpe dot br *
5028 * Makefile.am, README.w32, configure.ac, w32/.gitignore,
5029 w32/Makefile.am, w32/README, w32/build-all.sh, w32/minipack.conf,
5031 w32/patches/gd/0001-Export-sysbols-when-building-as-a-DLL.patch,
5032 w32/patches/gd/0002-Libtool-requires-no-undefined-to-build-a-DLL.pa
5034 w32/patches/gd/0003-Avoid-conflit-between-libjpeg-and-windows-heade
5035 rs.patch, w32/patches/gettext/01-revert-sed-string.patch,
5036 w32/patches/gettext/02-Avoid-missing-open-argument-error.patch,
5037 w32/patches/gtk+/01-mousewheel.patch,
5038 w32/patches/zlib/01-shared-lib-support.patch,
5039 w32/patches/zlib/02-cross-build.patch, w32/recipes/atk.recipe,
5040 w32/recipes/cairo.recipe, w32/recipes/gd.recipe,
5041 w32/recipes/gettext.recipe, w32/recipes/glib.recipe,
5042 w32/recipes/gtk+.recipe, w32/recipes/jpeg.recipe,
5043 w32/recipes/libiconv.recipe, w32/recipes/libpng.recipe,
5044 w32/recipes/pango.recipe, w32/recipes/pcb.recipe,
5045 w32/recipes/pixman.recipe, w32/recipes/tiff.recipe,
5046 w32/recipes/zlib.recipe, w32/tools/mpk-build, w32/tools/mpk-clean,
5047 w32/tools/mpk-config.guess, w32/tools/mpk-help,
5048 w32/tools/mpk-install, w32/tools/mpk-remove, w32/tools/mpk-shell,
5049 w32/tools/mpk-source, w32/tools/mpk-unpack, w32/tools/mpk-version,
5050 w32/tools/tool.template: Add Windows cross-build script. Closes-bug: lp-699494
5052 2011-08-13 Cesar Strauss * cstrauss AT not2005 dot cea dot inpe dot br *
5054 * Makefile.am, README.win32, configure.ac, win32/.cvsignore,
5055 win32/Makefile.am, win32/Readme.txt, win32/build_pcb,
5056 win32/extract_gtk_win32, win32/pcb.nsi.in,
5057 win32/registerExtension.nsh: Remove previous Windows build script. Affects-bug: lp-699494
5059 2011-08-10 DJ Delorie * dj AT delorie dot com *
5061 * src/action.h, src/autoplace.h, src/autoroute.h, src/box.h,
5062 src/buffer.h, src/change.h, src/clip.h, src/command.h,
5063 src/compat.h, src/const.h, src/copy.h, src/create.h,
5064 src/crosshair.h, src/data.h, src/dbus-pcbmain.h, src/dbus.h,
5065 src/djopt.h, src/draw.h, src/edif_parse.h, src/error.h, src/file.h,
5066 src/find.h, src/global.h, src/heap.h, src/hid.h,
5067 src/hid/common/actions.h, src/hid/common/hid_resource.h,
5068 src/hid/common/hidgl.h, src/hid/common/hidinit.h,
5069 src/hid/common/hidnogui.h, src/hid/gcode/lists.h,
5070 src/hid/gtk/gtkhid.h, src/hid/gtk/gui-drc-window.h,
5071 src/hid/gtk/gui-library-window.h, src/hid/gtk/gui-pinout-preview.h,
5072 src/hid/gtk/gui.h, src/insert.h, src/intersect.h, src/line.h,
5073 src/lrealpath.h, src/macro.h, src/mirror.h, src/misc.h, src/move.h,
5074 src/mtspace.h, src/mymem.h, src/parse_l.h, src/pcb-printf.h,
5075 src/polyarea.h, src/polygon.h, src/print.h, src/rats.h,
5076 src/remove.h, src/report.h, src/resource.h, src/rotate.h,
5077 src/rtree.h, src/rubberband.h, src/search.h, src/select.h,
5078 src/set.h, src/strflags.h, src/thermal.h, src/toporouter.h,
5079 src/undo.h, src/vector.h, src/vendor.h: Fix header guard macro names Closes-bug: lp-699161 Make all headers use standard-compliant guard macro names.
5081 2011-08-10 DJ Delorie * dj AT delorie dot com *
5083 * configure.ac, src/hid/lesstif/main.c, src/hid/lesstif/xincludes.h:
5084 Detect XRender + Xinerama to avoid BadMatch Closes-bug: lp-699251 This seems to happen when your X server is using both Xinerama and
5085 XRender, and only affects the XRenderChangePicture() call with a
5086 clip_mask. So, I added code to detect Xinerama+XRender and disable
5087 XRender if they're found.
5089 2011-08-10 DJ Delorie * dj AT delorie dot com *
5091 * src/action.c: Don't set FOUND flag on silk lines. Closes-bug: lp-699291
5093 2011-08-08 Peter Clifton * pcjc2 AT cam dot ac dot uk *
5095 * src/hid/gtk/gtkhid-main.c: hid/gtk: Clean up ghid_pan_fixup ()
5097 2011-08-08 Peter Clifton * pcjc2 AT cam dot ac dot uk *
5099 * src/hid/gtk/gtkhid-main.c: hid/gtk: Re-write some routines with
5100 the new ghid_pcb_to_event_coords API. Cleans up ghid_set_crosshair() and Center() in gtkhid-main.c
5102 2011-08-08 Peter Clifton * pcjc2 AT cam dot ac dot uk *
5104 * src/hid/gtk/gtkhid-gdk.c, src/hid/gtk/gtkhid-gl.c,
5105 src/hid/gtk/gui.h: hid/gtk: Add API to convert pcb units into
5106 drawing widget coordinates.
5108 2011-08-07 Peter Clifton * pcjc2 AT cam dot ac dot uk *
5110 * src/misc.c: misc.c: Remove comment missed from commit e82ad9b
5112 2011-08-07 Peter Clifton * pcjc2 AT cam dot ac dot uk *
5114 * src/macro.h: macro.h: Remove now unused SCREEN_SIGN_{X,Y} macros
5116 2011-07-25 Peter Clifton * pcjc2 AT cam dot ac dot uk *
5118 * src/hid/gtk/gtkhid-gdk.c, src/hid/gtk/gtkhid-gl.c,
5119 src/hid/gtk/gui-netlist-window.c, src/hid/gtk/gui.h: hid/gtk:
5120 Implement an API to draw the user into a particular location This is renderer-specific, but the general idea is to help the user
5121 find a particular location on the board.
5123 2011-08-07 Peter Clifton * pcjc2 AT cam dot ac dot uk *
5125 * src/hid/gtk/gui-netlist-window.c, src/select.c, src/select.h: Move
5126 the SelectPin() function into the file of its only caller. The new function is in hid/gtk/gui-netlist-window.c, and is called
5127 toggle_pin_selected (). Whilst we're at it, simplify the function, removing its always-
5128 constant argument and condense the redrawing calls.
5130 2011-08-07 Peter Clifton * pcjc2 AT cam dot ac dot uk *
5132 * src/action.c: action.c: Remove unused parser token F_Scroll
5135 2011-08-07 Peter Clifton * pcjc2 AT cam dot ac dot uk *
5137 * src/action.c, src/action.h: action.c: Remove unused action
5140 2011-08-07 Peter Clifton * pcjc2 AT cam dot ac dot uk *
5142 * src/hid/gtk/gui-misc.c: hid/gtk: Remove dead "MovePointer"
5143 keyboard navigation code. This was not working correctly anyway, as the action was not
5144 properly registered. Obviously no-one missed it, so let it die. Whilst we are here, kill off the hard-coded panning actions in this
5145 sub-main loop. Eventually, we should use common code for any
5146 keyboard navigation. This only affects operation of the ghid_get_user_xy() function, e.g.
5147 the one which temporarily greys out the PCB user interface whilst
5148 waiting for the user to supply a location.
5150 2011-08-07 Peter Clifton * pcjc2 AT cam dot ac dot uk *
5152 * src/action.c: action.c: Simplify ActionMovePointer() The save / restore of the crosshair coordinates is unnecessary since
5153 we are emitting the appropriate change notifications.
5155 2011-08-07 Peter Clifton * pcjc2 AT cam dot ac dot uk *
5157 * src/action.c: action.c: Remove dead code, IgnoreMotionEvents
5159 2011-08-07 Peter Clifton * pcjc2 AT cam dot ac dot uk *
5161 * src/action.c, src/find.c, src/hid/gtk/gui-drc-window.c,
5162 src/misc.c, src/misc.h, src/select.c: misc.c: Remove unused "delta"
5163 argument from CenterDisplay() All the callers are passing absolute locations.
5165 2011-08-07 Peter Clifton * pcjc2 AT cam dot ac dot uk *
5167 * po/POTFILES.in, src/Makefile.am, src/gpcb-menu.res,
5168 src/gpcb-menu.res.in, src/pcb-menu.res, src/pcb-menu.res.in:
5169 Generate pcb-menu.res and gpcb-menu.res from ".in" files No functional changes here, just a preliminary cleaning before
5170 adding the topological autorouter to the menus. Doing so requies
5171 conditional inclusion of certain lines, as the toporouter is not
5172 always built. Based on a patch by Stanislav Brabec * sbrabec AT suse dot cz * Affects-bug: lp-812429
5174 2011-08-07 Peter Clifton * pcjc2 AT cam dot ac dot uk *
5176 * src/pcb-menu.res: pcb-menu.res: Fixup some more whitespace
5178 2011-07-18 Stanislav Brabec * sbrabec AT suse dot cz *
5180 * src/action.c: RipUp(): Rip arcs created by toporouter. Toporouter creates not only lines but also arcs. Rip up all auto
5181 routed tracks should rip these arcs as well. Closes-bug: lp-812380 Reviewed-by: Peter Clifton * pcjc2 AT cam dot ac dot uk *
5183 2011-08-07 Peter Clifton * pcjc2 AT cam dot ac dot uk *
5185 * po/POTFILES.in: POTFILES.in: Add src/crosshair.c and
5186 src/autoroute.c We were missing translations before. "make distcheck" now passes ;)
5188 2011-08-07 Peter Clifton * pcjc2 AT cam dot ac dot uk *
5190 * doc/Makefile.am: doc: Don't make any DVI targets We don't have rules to build all the prerequisites, and we don't
5191 care about DVI. This is one of the issues causing "make distcheck"
5194 2011-08-07 Peter Clifton * pcjc2 AT cam dot ac dot uk *
5196 * doc/Makefile.am, doc/gs/Makefile.am: doc: Remove execute
5197 permissions on Makefile.am and gs/Makefile.am
5199 2011-08-07 Peter Clifton * pcjc2 AT cam dot ac dot uk *
5201 * src/gpcb-menu.res, src/pcb-menu.res: Clean up whitespace in
5204 2011-08-03 Peter Clifton * pcjc2 AT cam dot ac dot uk *
5206 * src/crosshair.c: crosshair.c: Fix layer check for off-grid line
5207 snapping in line-draw mode
5209 2011-08-03 Peter Clifton * pcjc2 AT cam dot ac dot uk *
5211 * src/crosshair.c: crosshair.c: Revise heuristic for snapping on
5212 off-grid lines Only snap to an off-grid section of a line when: Drawing lines on the same layer as the one being snapped to When
5213 manipulating the end-point of a _different) line on the same layer
5214 as the one being snapped to. This should hopefully reduce the tendancy of the off-grid-line code
5215 to cause lots of unnecessary snapping.
5217 2011-08-01 Gabriel Paubert * paubert AT iram dot es *
5219 * src/hid/lesstif/main.c: Correct parameter order in Distance
5220 function in hid/lesstif/main.c in src/did/lesstif/main.c, the Distance function is called with the
5221 parameters in the wrong order. This small patches fixes the problem. I still think that the format
5222 is wrong, or at least the rounding to integer mm/mil taking only the
5223 grid into account, but I've not yet decided on how to fix it. The
5224 worse is that often the display is wrong because the decimal part is
5225 truncated (displaying say -24 between two grid points on a 5mil
5228 2011-07-27 Peter Clifton * pcjc2 AT cam dot ac dot uk *
5230 * src/hid/png/png.c: hid/png: Increase the maximum allowable DPI of
5231 the exporter Sometimes for rendering fiddly boards, you just need the detail. Move the arbitrary 1000 dpi limit to still arbitrary, 10000 dpi.
5233 2011-07-27 Peter Clifton * pcjc2 AT cam dot ac dot uk *
5235 * src/hid/ps/ps.c: hid/ps: Fix arc drawing since pcb_printf patch The last parameter to the arc macro we use for drawing arcs is
5236 unitless, so should be a double. This was broken by: commit fa9ae1f6b1eabaab961795ce7be53afe46eaa735 Convert ps/eps/lpr HID's to use pcb-printf I've reverted the change, and added an extra (double) cast compared
5237 to what was there before, I'm not sure we wouldn't get an integer
5238 division without it. One day I should learn these type promotion /
5239 casting rules properly! ;)
5241 2011-07-25 Peter Clifton * pcjc2 AT cam dot ac dot uk *
5243 * src/hid/gtk/gtkhid-gdk.c, src/hid/gtk/gtkhid-gl.c,
5244 src/hid/gtk/gui-top-window.c, src/hid/gtk/gui.h: hid/gtk: Add a
5245 shutdown function to the renderer backends This will be necessary to stop any event handlers / timers which
5246 should not fire as the GUI is being shut down. This code isn't actually very "live" at the moment, as the place
5247 I've hooked up its trigger (the destroy event of the main window),
5248 doesn't actually appear to get called. This seems to be because the core "Quit" action just kills the
5249 program dead, rather than attempting to shut down the GUI.
5251 2011-07-25 Peter Clifton * pcjc2 AT cam dot ac dot uk *
5253 * src/hid/gtk/gui-netlist-window.c: hid/gtk: Do not run a main loop
5254 from within the netlist window code. It turns out that this is a really bad idea.. if the main loop is
5255 kept busy, the new main-loop never exits and the events can become
5256 reentrant. I discovered this when testing code for an animation which used the
5257 main event loop for its timing. Each time a node was selected in the
5258 netlist window, stack-frame would grow - as the new nested main
5259 loops never became idle. Segfaults ensued quite readily, presumably
5260 due to the code not being designed to be reentrant. It appears from reading the code, that these: while (gtk_events_pending ()) /* Make sure everything gets
5261 built */ gtk_main_iteration (); Are not actually necessary.
5263 2011-07-25 Peter Clifton * pcjc2 AT cam dot ac dot uk *
5265 * src/hid/gtk/gui-netlist-window.c: hid/gtk: Skip check before
5266 calling ghid_netlist_window_create If the window already exists, ghid_netlist_window_create() is a
5267 NOOP, so there is no point in checking twice.
5269 2011-07-25 Peter Clifton * pcjc2 AT cam dot ac dot uk *
5271 * src/hid/gtk/gui-netlist-window.c, src/hid/gtk/gui.h: hid/gtk:
5272 Remove unused function ghid_netlist_nodes_update ()
5274 2011-07-25 DJ Delorie * dj AT delorie dot com *
5276 * src/default_font: Tweak default font. Minor changes to various glyphs to improve readability and
5277 legibility, such as making V look less like U, or 8 less like 0. No
5278 changes to font metrics, bounding boxes, or spacing.
5280 2011-07-25 Peter Clifton * pcjc2 AT cam dot ac dot uk *
5282 * src/hid/gtk/gtkhid-main.c: hid/gtk: Fix up paning when flipping
5283 the board. I'm not sure when this got broken, but it was probably my fault ;)
5285 2011-07-25 Peter Clifton * pcjc2 AT cam dot ac dot uk *
5287 * : commit f9ad6634a55f7f79106945e3307aafe0d39eae61 Author: Andrew
5288 Poelstra * asp11 AT sfu dot ca * Date: Mon Jul 25 00:33:23 2011
5291 2011-07-24 Peter Clifton * pcjc2 AT cam dot ac dot uk *
5293 * : hid/gtk: Refactor viewport handling
5295 2011-07-24 Peter Clifton * pcjc2 AT cam dot ac dot uk *
5297 * src/hid/gtk/gtkhid-main.c: hid/gtk: Fixup Zoom() and zoom_by() so
5298 they don't ignore passed coordinates. The Zoom() action was passing bogus coordinates (in pixels), and
5299 zoom_by() was ignoring the passed coordinates and just using the
5300 mouse pointer location last recorded in gport->pcb_x and
5301 gport->pcb_y. Fix zoom_by() to use the passed coordinates, fix Zoom() to not
5302 mangle the passed board coordinates into screen space.. zoom_by()
5303 wants board coords. Finally, remove a special case from the Zoom() action where if the
5304 passed coordinates were both zero, we would pass the PCB coordinates
5305 of the board center. I'm hopeful that things will "just work"
5308 2011-07-24 Peter Clifton * pcjc2 AT cam dot ac dot uk *
5310 * src/hid/gtk/gtkhid-main.c, src/hid/gtk/gui-output-events.c,
5311 src/hid/gtk/gui.h: hid/gtk: Introduce a zoom_fit() function, remove
5312 duplicated code. Several places in the code invoke a "zoom_fit" type function by
5313 calling zoom_to() or ghid_port_ranges_zoom() with bogus parameters. Implement a specific function which restricts this to one location,
5314 then remove the now redundant ghid_port_ranges_zoom(), which
5315 basically just duplicated the code from zoom_by() with an added
5316 check for a 0.0 zoom factor to trigger the zoom-to-fit feature.
5318 2011-07-24 Peter Clifton * pcjc2 AT cam dot ac dot uk *
5320 * src/hid/gtk/gtkhid-main.c: hid/gtk: Add missing static parameter
5321 to zoom_by() function.
5323 2011-07-24 Peter Clifton * pcjc2 AT cam dot ac dot uk *
5325 * src/hid/gtk/gtkhid-main.c: hid/gtk: Some cleanups to the zoom_to()
5326 function Still confusing, but at least its not the fault of the code
5329 2011-07-24 Peter Clifton * pcjc2 AT cam dot ac dot uk *
5331 * src/hid/gtk/gtkhid-main.c: hid/gtk: Remove old debugging code from
5332 zoom_to and zoom_by() functions This code was adding to clutter in the functions, and appears in
5333 some cases to be bit-rotten. (The coordinates it operated on don't
5334 appear to be have been consistent with the current GUI code).
5336 2011-07-24 Peter Clifton * pcjc2 AT cam dot ac dot uk *
5338 * src/hid/gtk/gtkhid-gdk.c, src/hid/gtk/gtkhid-gl.c,
5339 src/hid/gtk/gui-output-events.c, src/hid/gtk/gui.h: hid/gtk:
5340 Abstract away event coordinate conversion to PCB base units
5342 2010-12-26 Peter Clifton * pcjc2 AT cam dot ac dot uk *
5344 * src/hid/gtk/gtkhid-main.c, src/hid/gtk/gui-output-events.c,
5345 src/hid/gtk/gui.h: hid/gtk: Refactor semantics of, and rename
5346 view_x, view_y coordinates Rather than storing pointer coordinates in the imaginary "view"
5347 system, where the coordinates (in PCB base units) represent that of
5348 an unflipped board, store them such that they are directly
5349 meaningful on the board. As they now directly represent the cursor coordinats on the actual
5350 board, they don't require passing through the SIDE_{X,Y} macros
5351 before use with APIs that expect board coordinates. To avoid confusion, view_x and view_y have been renamed to pcb_x and
5352 pcb_y to reflect the change of semantics. In a number of cases, SIDE_{X,Y} macro calls were added to preserve
5353 correct functionality of old code which manipulates the mouse
5354 position in "view" coordinates. These are primarily concerned with
5355 zooming and panning. Also rename the confusingly titled VIEW_{X,Y} macros to
5358 2011-07-24 Peter Clifton * pcjc2 AT cam dot ac dot uk *
5360 * src/hid/gtk/gtkhid-gdk.c, src/hid/gtk/gtkhid-gl.c,
5361 src/hid/gtk/gtkhid-main.c, src/hid/gtk/gui-output-events.c,
5362 src/hid/gtk/gui.h: hid/gtk: Rename {x,y}_crosshair to
5363 crosshair_{x,y} (Just because!)
5365 2011-07-24 Peter Clifton * pcjc2 AT cam dot ac dot uk *
5367 * src/hid/gtk/gtkhid-gl.c: gtk+gl: Convert crosshair drawing to use
5368 PCB world coordinates Whilst I'm at it, add a z-coordinate to the crosshair drawing
5369 functions to future proof them for when we add some 3D effects.
5371 2011-07-08 Andrew Poelstra * asp11 AT sfu dot ca *
5373 * src/file.c, src/global.h, src/pcb-printf.c: Introduce Coord/Angle
5374 types, convert global.h and pcb-printf to use it For now Grid (in PCB and Settings) and its increments are still
5375 doubles to avoid serious breakage. Will change these to Coords in a
5376 separate commit. Also add %ma spec for Angle, tell file.c to use it, to prevent
5377 printf problems with Angle when changing ctypes.
5379 2011-07-24 Peter Clifton * pcjc2 AT cam dot ac dot uk *
5381 * gts/boolean.c, gts/cdt.c, gts/edge.c, gts/partition.c,
5382 gts/split.c: gts: Fixup warnings due to assigned but unused
5383 variables As I'm not 100% familiar with this code, I have commented out some
5384 of the redundant code rather than deleting it completely.
5386 2011-07-24 Peter Clifton * pcjc2 AT cam dot ac dot uk *
5388 * src/hid/common/hidgl.c: hid/common/hidgl.c: Cast the function
5389 pointers passed to gluTessCallback() Silences compiler warnings about incompatible pointer types
5391 2011-07-24 Peter Clifton * pcjc2 AT cam dot ac dot uk *
5393 * src/line.c: line.c: Fix a bogus compiler warning regarding a (X +
5394 c) >= X being always true. line.c: In function ‘EnforceLineDRC’: line.c:491:7: warning:
5395 assuming signed overflow does not occur when assuming that (X + c)
5396 >= X is always true [-Wstrict-overflow] It would appear that gcc (4.6.1-5ubuntu1) is identifying the
5397 conditional portions of INDEXOFCURRENT which would always evaluate a
5398 particular way if a given condition is met. It is "probably" safe to
5399 assume that this warning manifests due to gcc considering each
5400 portion of the INDEXOFCURRENT definition in turn. It appears we can avoid this particular warning by temporarily
5401 assigning INDEXOFCURRENT into a variable before we test with it.
5403 2011-07-24 Peter Clifton * pcjc2 AT cam dot ac dot uk *
5405 * src/toporouter.c: toporouter.c: Fixup warnings due to assigned but
5406 unused variables As I'm not 100% familiar with this code, I have commented out some
5407 of the redundant code rather than deleting it completely.
5409 2011-07-24 Peter Clifton * pcjc2 AT cam dot ac dot uk *
5411 * src/undo.c: undo.c: Fixup warnings due to assigned but unused
5414 2011-07-24 Peter Clifton * pcjc2 AT cam dot ac dot uk *
5416 * src/rtree.c: rtree.c: Fixup warnings due to assigned but unused
5417 variables Adds a nasty cludge using #ifndef NDEBUG around a variable
5418 assignment which is only used in a later assert() statement. (NB:
5419 assert() evaluates to nothing if NDEBUG is defined).
5421 2011-07-24 Peter Clifton * pcjc2 AT cam dot ac dot uk *
5423 * src/print.c: print.c: Fixup warnings due to assigned but unused
5426 2011-07-24 Peter Clifton * pcjc2 AT cam dot ac dot uk *
5428 * src/puller.c: puller.c: Fixup warnings due to assigned but unused
5431 2011-07-24 Peter Clifton * pcjc2 AT cam dot ac dot uk *
5433 * src/polygon1.c: polygon1.c: Fixup warnings due to assigned but
5434 unused variables Adds a nasty cludge using #ifndef NDEBUG around a variable
5435 assignment which is only used in a later assert() statement. (NB:
5436 assert() evaluates to nothing if NDEBUG is defined).
5438 2011-07-24 Peter Clifton * pcjc2 AT cam dot ac dot uk *
5440 * src/fontmode.c: fontmode.c: Fixup warnings due to assigned but
5443 2011-07-24 Peter Clifton * pcjc2 AT cam dot ac dot uk *
5445 * src/find.c: find.c: Fixup warnings due to assigned but unused
5448 2011-07-24 Peter Clifton * pcjc2 AT cam dot ac dot uk *
5450 * src/djopt.c: djopt.c: Fixup warnings due to assigned but unused
5453 2011-07-24 Peter Clifton * pcjc2 AT cam dot ac dot uk *
5455 * src/copy.c: copy.c: Fixup warnings due to assigned but unused
5458 2011-07-24 Peter Clifton * pcjc2 AT cam dot ac dot uk *
5460 * src/autoroute.c: autoroute.c: Fixup warnings due to assigned but
5461 unused variables Adds a nasty cludge using #ifndef NDEBUG around a variable
5462 assignment which is only used in a later assert() statement. (NB:
5463 assert() evaluates to nothing if NDEBUG is defined).
5465 2011-07-23 Peter Clifton * pcjc2 AT cam dot ac dot uk *
5467 * src/action.c: action.c: Fixup warnings due to assigned but unused
5470 2011-07-23 Peter Clifton * pcjc2 AT cam dot ac dot uk *
5472 * src/hid/gcode/trace.c: hid/gcode: Fixup warnings due to assigned
5473 but unused variables
5475 2011-07-23 Peter Clifton * pcjc2 AT cam dot ac dot uk *
5477 * src/hid/bom/bom.c: hid/bom: Fixup warnings due to assigned but
5480 2011-07-23 Peter Clifton * pcjc2 AT cam dot ac dot uk *
5482 * src/hid/gtk/gtkhid-main.c, src/hid/gtk/gui-library-window.c,
5483 src/hid/gtk/gui-top-window.c: hid/gtk: Fixup warnings due to
5484 assigned but unused variables
5486 2011-07-23 Peter Clifton * pcjc2 AT cam dot ac dot uk *
5488 * src/crosshair.c: crosshair.c: Snap to points along off-grid lines
5489 when drawing tracks This should greatly easy making tidy layouts where some lines have
5490 (perhaps by necessity) ended up off-grid. This patch adds code to snap onto the center of a line. It finds the
5491 nearest grid point to the cursor, then will allow snapping at the
5492 intersections between the line in question and the lines of an
5493 imaginary X and + centered on the nearest grid-point to the cursor. This allows neat drawing of horizontal, vertical and 45 degree lines
5494 which will land correctly on the existing line.
5496 2011-07-23 Peter Clifton * pcjc2 AT cam dot ac dot uk *
5498 * src/crosshair.c: crosshair.c: Rename some variables for clarity
5500 2011-07-23 Peter Clifton * pcjc2 AT cam dot ac dot uk *
5502 * src/crosshair.c: crosshair.c: Always allow snapping to the element
5503 mark (except in rat-draw mode)
5505 2011-07-23 Peter Clifton * pcjc2 AT cam dot ac dot uk *
5507 * src/crosshair.c: crosshair.c: Don't snap to an element's mark in
5510 2011-07-23 Peter Clifton * pcjc2 AT cam dot ac dot uk *
5512 * src/crosshair.c: crosshair.c: Drop checks to ensure the crosshair
5513 is inside the PCB It would seem that the MIN, MAX functions applied when setting
5514 Crosshair.X and Crosshair.Y should already constrain the coordinates
5515 such that the removed code was never triggered. It isn't obvious that these removed checks are even correct, or are
5516 being triggered. Drop the checks in the hope that the now simplified
5517 code continues to "just work" without the special casing.
5519 2011-07-23 Peter Clifton * pcjc2 AT cam dot ac dot uk *
5521 * src/parse_y.y: parse_y.y: Remove unused GRIDFIT macro
5523 2011-07-23 Peter Clifton * pcjc2 AT cam dot ac dot uk *
5525 * src/crosshair.c: Try snapping to element marks first, as they are
5526 only a weak snap. Because the element mark is never chosen in preference to a closer
5527 grid point, we should try snapping to it first - rather than last. Currently, we might have a crosshair location where (say), a pad is
5528 snapped to in preference to the nearest grid-point, then the element
5529 mark is tested and snapped to because it is closer than the pad.
5530 This can occur even when there is a closer grid point than the
5531 element mark, since the grid snap (nearest_is_grid == true) has
5532 already been discarded by the snap to the pad.
5534 2011-07-23 Peter Clifton * pcjc2 AT cam dot ac dot uk *
5536 * src/crosshair.c: Refactor crosshair snap code to reduce
5537 duplication and improve readability
5539 2011-07-23 Peter Clifton * pcjc2 AT cam dot ac dot uk *
5541 * src/search.c: Allow editing of ordinary text objects when element
5542 names are hidden Closes-bug: lp-810678
5544 2011-07-19 Andrew Poelstra * asp11 AT sfu dot ca *
5546 * src/hid/gtk/gui-netlist-window.c: Fix crash in netlist window
5547 caused by heirarchical netlists See http://archives.seul.org/geda/user/Jul-2011/msg00133.html
5549 2011-07-12 Andrew Poelstra * asp11 AT sfu dot ca *
5551 * src/hid/gtk/gui-top-window.c: Remove special grid-change handling
5554 2011-07-03 Andrew Poelstra * asp11 AT sfu dot ca *
5556 * src/hid/lesstif/dialogs.c, src/hid/lesstif/main.c,
5557 src/hid/lesstif/menu.c: Convert lesstif hid to use pcb-printf Should be no user-visible changes, except this bug: Closes-bug:
5560 2011-07-03 Andrew Poelstra * asp11 AT sfu dot ca *
5562 * src/pcb-printf.c: Add support for + and .* subspecifiers in
5565 2011-07-03 Andrew Poelstra * asp11 AT sfu dot ca *
5567 * src/hid/lesstif/main.c: Clean up coords_to_widget() in
5568 lesstif/main.c The coords_to_widget() function is used in exactly two places, for
5569 different purposes. To differentiate between the two uses, the
5570 ``state'' parameter is set to -1. The parameter is confusing enough without overloading it in this
5571 way. Therefore I have split the function into two: mark_delta_to_widget cursor_pos_to_widget Further, I have converted the code inside the functions to use
5572 g_printf_strdup instead of a fixed buffer. The functions should both
5573 be easier to read now than the original. There is one small change to user-visible output, which I think is
5574 justified: if you have a very small metric grid (<= 5um), the
5575 mark_delta output now uses .3f for both cartesian and radial
5576 display. Before it would use .3f for cartesian, .2f for radial.
5578 2011-07-01 Andrew Poelstra * asp11 AT sfu dot ca *
5580 * src/hid/gtk/gtkhid-main.c, src/hid/gtk/gui-dialog-size.c,
5581 src/hid/gtk/gui-misc.c, src/hid/gtk/gui-top-window.c: Convert gtk
5582 gui to use pcb-printf There should be no user-visible changes. Note that as long as base units are cmils, the .9999 bug in the
5583 cursor status is back. This is not a problem with smaller base units
5584 (I am using 17nm and all is okay.) Note also that the report dialogs are entirely based on report.c, so
5585 that is not part of this commit.
5587 2011-06-29 Andrew Poelstra * asp11 AT sfu dot ca *
5589 * src/hid/ps/eps.c, src/hid/ps/ps.c: Convert ps/eps/lpr HID's to use
5590 pcb-printf The postscript HID now uses pcb-printf to output all units as inches
5591 rather than cmils; therefore the default scale is now 1:1 rather
5592 than 1:10000. Therefore there will be a change in raw ps output but
5593 not in printed output. As inches are output with 5 digits after the decimal point, there
5594 will be no loss in precision, though in future this will be easy to
5595 increase. Also, minor code cleanups in ps.c to reduce global state and make
5596 global variables more visible.
5598 2011-06-28 Andrew Poelstra * asp11 AT sfu dot ca *
5600 * src/pcb-printf.c: Make pcb_fprintf ignore NULL file handle There is a lot of code in the HID's that looks like if (f != NULL) fprintf (f, "..."); I have moved the NULL check inside pcb-printf to remove this
5601 repetition/potential mistake.
5603 2011-06-26 Andrew Poelstra * asp11 AT sfu dot ca *
5605 * src/file.c: Make sure scale/direction are not output as measures
5608 2011-06-25 Andrew Poelstra * asp11 AT sfu dot ca *
5610 * src/report.c: Fix typo in unplated hole output in report.c
5612 2011-06-22 Andrew Poelstra * asp11 AT sfu dot ca *
5614 * src/toporouter.c: Convert toporouter trace code to use pcb-printf There is still a fair amount of trace code outputting measurements
5615 that are floating-point values. I left these alone since they will
5616 work independently of the actual type of BDimension. Everything should still be output in base units.
5618 2011-06-21 Andrew Poelstra * asp11 AT sfu dot ca *
5620 * src/polygon.c, src/polygon1.c: Convert polygon and polygon1.c
5621 debug code to use pcb-printf
5623 2011-06-21 Andrew Poelstra * asp11 AT sfu dot ca *
5625 * src/puller.c: Convert puller.c trace code to use pcb-printf Minor changes to trace output (addition of parens, mainly). Should
5626 be no user-visible output. No longer assumes BDimension == int.
5628 2011-06-21 Andrew Poelstra * asp11 AT sfu dot ca *
5630 * src/djopt.c: Convert djopt.c to use pcb-printf No change in user-visible output. Debug output is slightly changed since pcb-printf likes to put
5631 parens around tuples, so "%d,%d" is now effectively "(%d, %d)".
5632 Debug output is all base units, so the numbers will not change until
5633 the base unit size is changed.
5635 2011-06-21 Andrew Poelstra * asp11 AT sfu dot ca *
5637 * src/autoroute.c: Convert autoroute.c debug code to use pcb-printf Should be no change in output. Only change is that we no longer
5638 assume BDimension == int.
5640 2011-06-21 Andrew Poelstra * asp11 AT sfu dot ca *
5642 * src/action.c: Change action.c *WARN* lines to use pcb-printf Now instead of outputting unsuffixed cmils, warnings about
5643 locked/unnamed elements will refer to the part's position in either
5644 mm or mil, with an appropriate suffix. Non-warning-related output is unchanged.
5646 2011-06-21 Andrew Poelstra * asp11 AT sfu dot ca *
5648 * src/file.c: Convert file.c to use pcb-printf for cmil output file.c now uses pcb-printf, though in a limited way: everything is
5649 still output in unsuffixed cmils, though this is now independent of
5650 pcb's internal unit size. I have also removed the old-style output for symbols. Aside from that, everything should be the same. Any other change in
5651 output, or file format incompatibility of any kind, is a bug.
5653 2011-06-21 Andrew Poelstra * asp11 AT sfu dot ca *
5655 * src/pcb-printf.c, src/pcb-printf.h: Add # subspecifier to
5656 pcb-printf to prevent scaling for debug output
5658 2011-06-21 Andrew Poelstra * asp11 AT sfu dot ca *
5660 * src/puller.c: Convert puller.c to use Distance() intead of its own
5663 2011-06-21 Andrew Poelstra * asp11 AT sfu dot ca *
5665 * src/pcb-printf.c, src/pcb-printf.h: Add pcb_printf to pcb_*printf
5668 2011-06-19 Krzysztof Kościuszkiewicz * k dot kosciuszkiewicz AT gmail dot com *
5670 * doc/Makefile.am: doc: do not distribute dvi files DVI files cannot be generated without LaTeX, and since commit
5671 3afdb7efdaf6cc8094cc6143269e7df519183197 only pdfLaTeX is supported.
5673 2011-06-19 Andrew Poelstra * asp11 AT sfu dot ca *
5675 * src/hid/lesstif/menu.c: Allow 1...9 and Ctrl+1...9 accellerators
5676 for silk/rats in lesstif
5678 2011-06-19 Levente Kovacs * leventelist AT gmail dot com *
5680 * src/find.c, src/global.h: gEDA-user: skpi_drc patch On Fri, 17 Jun 2011 17:30:22 -0400 DJ Delorie * dj AT delorie dot
5681 com * wrote: > You want the (already global) AttributeGet() function. > >
5682 l->no_drc = AttributeGet (l, "PCB::skip-drc") != NULL; > > This does
5683 assume that the attribute has *some* value, even if the > value is
5684 the empty string. Thanks for pointing this out. Attached is the new patch. Levente -- Levente Kovacs http://levente.logonex.eu
5686 2011-06-20 DJ Delorie * dj AT delorie dot com *
5688 * src/hid/lesstif/main.c: Lesstif: ignore crosshair changes before
5691 2011-06-19 Andrew Poelstra * asp11 AT sfu dot ca *
5693 * src/hid/gtk/gui-top-window.c: Allow 1..9 accelerator keys to be
5694 applied to non-copper layers in gtk Closes-bug lp-699327
5696 2011-06-19 Andrew Poelstra * asp11 AT sfu dot ca *
5698 * src/report.c: Change report.c to use pcb-printf Right now there should be no change in the output from report.c;
5699 this is essentially just a code cleanup. The prec/UNIT nastiness is
5700 cleaned up -- precision is handled by the defaults in pcb-printf (.2
5701 for mil, .4 for mm, same as before) and unit selection is done with
5702 the %m+ specifier. It's easy now to expand to allow auto-scaling or even automatic
5703 selection of metric/imperial based on sig. figs., but I've played
5704 around with this and it looks like mixing units is confusing and
5705 hard-to-read, so we're sticking with just one of mm/mil for now.
5707 2011-06-19 Andrew Poelstra * asp11 AT sfu dot ca *
5709 * src/pcb-printf.c, src/pcb-printf.h: Add %m+ specifier to
5710 pcb-printf As long as our base units are cmils, allowing pcb-printf to guess
5711 the most natural units for displaying measures is a bad idea -- it
5712 cannot reliably count significant figures for many values. The
5713 result, for example, in report.c, is inconsistent and confusing
5714 dialogs with a mix of metric and imperial measurements. The %m+ specifier is used to force pcb-printf to only use certain
5715 units; in this case, the user's gui setting of metric/imperial.
5717 2011-06-19 Andrew Poelstra * asp11 AT sfu dot ca *
5719 * src/misc.c, src/misc.h: Add Distance() function to avoid overflow
5720 with sqrt(x*x + y*y)
5722 2011-06-19 Andrew Poelstra * asp11 AT sfu dot ca *
5724 * src/move.c: Fix typo (Polygon++ ==> PolygonN++) in src/move.c Closes-bug: lp-796059
5726 2011-06-19 Andrew Poelstra * asp11 AT sfu dot ca *
5728 * src/hid/gerber/gerber.c: Set file pointer to NULL after closing in
5729 gerber.c Closes-bug: lp-795734 When cleaning up the gerber HID, I had changed the file pointer used
5730 in maybe_close_f from a global to a (local) argument -- which made
5731 the line ``f = NULL'' effectively a no-op. However, the global variable f does need to be set to NULL for the
5732 code to recognize that the file is closed; otherwise it tries to
5733 keep using the (now invalid) file handle, causing crashes whenever
5734 the gerber HID is used more than once. This is now done after every call to maybe_close_f(), rather than
5735 depending on the function itself to have side effects.
5737 2011-06-17 DJ Delorie * dj AT delorie dot com *
5739 * src/hid/png/png.c: Check for empty layers in photo mode Now that the default stackup is for six layer boards, the PNG photo
5740 mode output needs to check to see if the user has used the inner
5741 layers, and automatically adapt - so that a two layer board *looks*
5742 like a two-layer board.
5744 2011-06-17 Gabriel Paubert * paubert AT iram dot es *
5746 * src/hid/gerber/gerber.c,
5747 tests/golden/hid_gerber3/arcs.plated-drill.cnc: Fix printf specifier
5748 for gerber drill output
5750 2011-06-16 Andrew Poelstra * asp11 AT sfu dot ca *
5752 * configure.ac, tests/golden/Makefile.am,
5753 tests/golden/hid_gerber3/Makefile.am,
5754 tests/golden/hid_gerber3/arcs.bottom.gbr,
5755 tests/golden/hid_gerber3/arcs.fab.gbr,
5756 tests/golden/hid_gerber3/arcs.group1.gbr,
5757 tests/golden/hid_gerber3/arcs.group4.gbr,
5758 tests/golden/hid_gerber3/arcs.plated-drill.cnc,
5759 tests/golden/hid_gerber3/arcs.top.gbr, tests/inputs/Makefile.am,
5760 tests/inputs/gerber_arcs.pcb, tests/tests.list: Add hid_gerber3 test
5761 to check arc rendering
5763 2011-06-16 Andrew Poelstra * asp11 AT sfu dot ca *
5765 * src/hid/gerber/gerber.c: Re-insert casts to unit conversion macros
5768 2011-06-12 Andrew Poelstra * asp11 AT sfu dot ca *
5770 * src/hid/gerber/gerber.c: Convert gerber hid to use pcb-printf
5772 2011-06-12 Andrew Poelstra * asp11 AT sfu dot ca *
5774 * src/hid/gcode/gcode.c: Convert gcode hid to use pcb-printf
5776 2011-06-12 Andrew Poelstra * asp11 AT sfu dot ca *
5778 * src/hid/bom/bom.c: Convert BOM hid to use pcb-printf
5780 2011-06-12 Andrew Poelstra * asp11 AT sfu dot ca *
5782 * src/pcb-printf.c, src/pcb-printf.h: Correct handling of %.*f in
5783 pcb-printf, remove from known issues
5785 2011-06-12 Andrew Poelstra * asp11 AT sfu dot ca *
5787 * src/hid/batch/batch.c: Convert batch HID to use pcb-printf
5789 2011-06-11 Andrew Poelstra * asp11 AT sfu dot ca *
5791 * src/Makefile.am, src/pcb-printf.c, src/pcb-printf.h: Add
5792 pcb-printf.c to allow custom specifiers for unit output From the header: /* This file defines a wrapper around sprintf, that * defines new specifiers that take pcb BDimension * objects as input. * * The new specifiers are: * %mm output a measure in mm * %mM output a measure in scaled (mm/um) metric * %ml output a measure in mil * %mL output a measure in scaled (mil/in) imperial * %ms output a measure in most natural mm/mil units * %mS output a measure in most natural scaled units * %md output a pair of measures in most natural mm/mil units * %mD output a pair of measures in most natural scaled units * %m3 output 3 measures in most natural scaled units * ... * %m9 output 9 measures in most natural scaled units * %m* output a measure with unit given as an additional * const char* parameter * %mr output a measure in a unit readable by parse_l.l * (this will always append a unit suffix) * * These accept the usual printf modifiers for %f, * as well as the additional modifier $ which is * used to output a unit suffix after the measure. * * KNOWN ISSUES: * No support for %zu size_t printf spec * No support for .* subspecifier for pcb specs */
5794 2011-06-09 DJ Delorie * dj AT delorie dot com *
5796 * globalconst.h, src/buffer.c, src/global.h, src/parse_y.y: Fix
5797 shift/reduce conflicts Closes-bug: lp-794743 I moved the interpretation of what "measurement" means even further
5798 up the heirarchy, by storing the original integer part as well as
5799 the units in a structure, and applying the new/old/unitless meanings
5800 where they're used. This way, there's no conflicts between a number
5801 which is a measurement, and a number which is a flag or mask, for
5802 the old formats that differ only in the number of parameters. I also cleaned up the parser rules for "zero or more" type lists, to
5803 remove most of the remaining conflicts. There's still one at the
5804 toplevel because we try to parse different types of files with the
5805 same parser. Lastly, the symbol rules were combined into a "symbol head" rule
5806 with a common "symbol body" rule. As a side effect, we can now reliably use units on old-style formats
5807 again, since the *100 scale factor is only applied if the units are
5810 2011-06-06 Andrew Poelstra * asp11 AT sfu dot ca *
5812 * src/autoroute.c, src/macro.h: Remove memory allocation from
5813 src/macro.h When we started using GLists for various objects, we also changed
5814 the looping macros to allocate copies of the list in order to avoid
5815 problems with list integrity in case items were removed during the
5816 iteration. However, this caused memory leaks whenever there was an early return
5817 from the middle of the list. Bug lp-792139 shows pcb using over 2Gb
5818 of memory and crashing when optimizing rats on a large board. This patch saves the next pointer before the loop body, rather than
5819 allocating a whole new list, to handle element deletions. Closes-bug: lp-792139
5821 2011-06-01 Krzysztof Kościuszkiewicz * k dot kosciuszkiewicz AT gmail dot com *
5823 * configure.ac, doc/Makefile.am, doc/gs/Makefile.inc: doc: use
5824 pdflatex instead of latex
5826 2011-06-01 Krzysztof Kościuszkiewicz * k dot kosciuszkiewicz AT gmail dot com *
5828 * doc/Makefile.am, doc/gs/Makefile.inc: doc: skip generation of GIF
5831 2011-06-04 Andrew Poelstra * asp11 AT sfu dot ca *
5833 * src/file.h, src/parse_l.l, src/parse_y.y: Add support for reading
5834 unit suffixes in parser Bumped PCB_FILE_VERSION up to 20110703. Removed old unit-reading code from parse_l.l since it was missing
5835 several units that we plan to support, and the scaling was backward
5836 for non-base units. Also, we now read all numbers as doubles, except those that need
5837 integers (array indices and flags, mainly). All measurements are
5838 round()ed to ints, after scaling, since that's what BDimension is
5839 and we don't want anomalies. The old NUMBER and FLOAT terminals in parse_y have been replaced by: 1. INTEGER - an integer, unscaled 2. number - floating or integer, unscaled 3. measure - a (possibly suffixed) measurement, with non-suffixed measurements read in cmils 4. oldmeasue - non-suffixed measurement, read in mils One exception is the PolyArea[] field. This is still read in cmil^2
5840 until we figure out what to do with it. This way the parser works independently of PCB's internal base
5841 units, and supports umil, cmil, mil, in, nm, um, mm, m and km unit
5842 suffixes. The parsing code should also be clearer now since not
5843 everything is NUMBER, with scale factors handled after-the-fact with
5844 /100's or in the lexer. Additionally, we now allow floating-point values for all
5845 measurements (even old-style mil fields), and pcb will allow spaces
5846 between measurements and their suffixes. Actually using these
5847 ``features'' will probably break tools that read .pcb files, though.
5849 2011-05-27 Felix Ruoff * Felix AT posaunenmission dot de *
5851 * doc/pcb.texi: Replace @extend with @noindent in docu-source If the @extend keyword is used to remove an intentation, the text
5852 will have a linebreak, where the source has one. If @noindent is
5853 used instead, the lines will be breaked as in normal paragraphs.
5855 2011-05-25 Felix Ruoff * Felix AT posaunenmission dot de *
5857 * src/hid/gtk/gtkhid-main.c: hid/gtk: Fix docu for 'ImportGUI()'
5859 2011-05-27 Felix Ruoff * Felix AT posaunenmission dot de *
5861 * doc/pcb.texi: Docu: Remove incomplete irritating sentence
5863 2011-05-31 Felix Ruoff * Felix AT posaunenmission dot de *
5865 * doc/pcb.texi: Remove repeated word in documentation
5867 2011-05-17 Alberto Maccioni * alberto dot maccioni AT gmail dot com *
5869 * doc/Makefile.am, doc/gcode.pcb, doc/gcode_control_img.eps,
5870 doc/gcode_tool_path.eps, doc/pcb.texi: Add documentation for G-Code
5871 export GUI This patch contains the documentation changes from lp:699476. It
5872 adds a new manual section on exporters and documents the gcode
5873 exporter. Sample pcb file is added with control image and the
5874 resulting toolpath. Reviewed-by: Felix Ruoff * Felix AT posaunenmission dot de *
5875 Reviewed-by: Krzysztof Kościuszkiewicz * k dot kosciuszkiewicz AT
5876 gmail dot com * Closes-bug: lp-699476
5878 2011-05-24 Andrew Poelstra * asp11 AT sfu dot ca *
5880 * src/hid/gerber/gerber.c: gEDA-dev:
5881 gerber-cleanup-0006-Change-a-couple-more-0-s-to-NULL-s.patch
5883 2011-05-24 Andrew Poelstra * asp11 AT sfu dot ca *
5885 * globalconst.h, src/hid/gerber/gerber.c: gEDA-dev:
5887 gerber-cleanup-0005-Remove-old-now-unused-aperture-structures-functions.patch
5889 2011-05-24 Andrew Poelstra * asp11 AT sfu dot ca *
5891 * src/hid/gerber/gerber.c: gEDA-dev:
5893 gerber-cleanup-0004-Use-new-aperture-functions-output-100-equal-to-origi.patch
5895 2011-05-24 Andrew Poelstra * asp11 AT sfu dot ca *
5897 * src/hid/gerber/gerber.c: gEDA-dev:
5899 gerber-cleanup-0003-Add-new-aperture-functions-but-don-t-use-them.patch
5901 2011-05-24 Andrew Poelstra * asp11 AT sfu dot ca *
5903 * src/hid/gerber/gerber.c: gEDA-dev:
5905 gerber-cleanup-0002-Remove-global-variable-dependence-from-maybe_close-a.patch
5907 2011-05-24 Andrew Poelstra * asp11 AT sfu dot ca *
5909 * src/hid/gerber/gerber.c: gEDA-dev:
5910 gerber-cleanup-0001-Remove-unused-Aperture-structure.patch
5912 2011-05-25 Felix Ruoff * Felix AT posaunenmission dot de *
5914 * src/hid/gtk/gui-output-events.c: hid/gtk: Fix tooltips Closes-bug: lp-786733
5916 2011-05-25 Felix Ruoff * Felix AT posaunenmission dot de *
5918 * doc/pcb.texi, src/global.h: gEDA-user: PCB: option dumpmenu
5919 missing A patch to remove this from documentation (and one variable from the
5920 source) is appended. Kind regards, Felix Am 25.05.2011 19:11, schrieb DJ Delorie: > I think that option is a
5921 leftover from my initial HID conversion. > > It would have been
5922 lesstif-specific anyway, the gtk hid has its own > menu file
5923 (gpcb-menu.res, same locations) > > >
5924 _______________________________________________ > geda-user mailing
5925 list > geda-user AT moria dot seul dot org >
5926 http://www.seul.org/cgi-bin/mailman/listinfo/geda-user > >From 94458c63ae97135964c41f4966b9cdf65ee4ec27 Mon Sep 17 00:00:00
5927 2001 From: Felix Ruoff * Felix AT posaunenmission dot de * Date:
5928 Wed, 25 May 2011 14:36:34 +0200 Subject: [PATCH 50/50] Remove
5929 commandline-option 'dumpmenu' from docu and source
5931 2011-05-23 Andrew Poelstra * asp11 AT sfu dot ca *
5933 * src/hid/gerber/gerber.c: gEDA-dev: Gerber hid code cleanup New patch is as follows (sizeof and casts fixed):
5935 2010-03-18 Newell Jensen * pillar2012 AT gmail dot com *
5937 * src/hid/png/png.c: hid/png: draw zero-length arcs properly on
5938 export Closes-bug: lp-699314 Reviewed-by: Patrick Bernaud * patrickb AT
5939 chez dot com * Reviewed-by: Krzysztof Kościuszkiewicz * k dot
5940 kosciuszkiewicz AT gmail dot com *
5942 2008-01-04 Wojciech Kazubski * wk0 AT o2 dot pl *
5944 * lib/geda.inc, lib/misc.inc: add more crystal footprints to m4
5945 library Currently m4 symbols contain one footprint for crystal holder
5946 (HC49), wich is not accurate, pin spacing is a bit too big and the
5947 outline is too small. This patch adds several m4 crystal holder footprints of different
5948 size, 2 or 3 pin, both standing and laying. Closes-bug: lp-699440 Reviewed-by: Bert Timmerman * bert dot
5949 timmerman AT xs4all dot nl * Reviewed-by: Krzysztof
5950 Kościuszkiewicz * k dot kosciuszkiewicz AT gmail dot com *
5952 2011-01-02 Felix Ruoff * Felix AT posaunenmission dot de *
5954 * src/hid/gtk/gtkhid-main.c, src/hid/gtk/gui-dialog.c: hid/gtk: use
5955 GTK dialog for confirming file-overwrite Since GTK 2.8 GTK provides an dialog for confirming
5956 file-overwriting. This dialog will be introduced by this patch.
5957 Needless code which was used for this will be removed. Closes-bug: lp-699508 Reviewed-by: Krzysztof Kościuszkiewicz * k
5958 dot kosciuszkiewicz AT gmail dot com *
5960 2011-01-09 Felix Ruoff * Felix AT posaunenmission dot de *
5962 * doc/refcard.tex: Fix refcard (missing footnote and add rotate
5963 buffer) The shortcut 'shift-F7' for rotating paste buffer by 90 degree is
5964 added as suggested in bug LP-699391 (formerly sf-1112590). Fix footnote used in the tabular environment. Closes-bug: lp-699391 Reviewed-by: Krzysztof Kościuszkiewicz * k
5965 dot kosciuszkiewicz AT gmail dot com *
5967 2011-05-17 Felix Ruoff * Felix AT posaunenmission dot de *
5969 * doc/pcb.texi: Fix doku for invisibleObjectsColor (color) Closes-bug: lp-699306
5971 2011-04-24 Felix Ruoff * Felix AT posaunenmission dot de *
5973 * src/gpcb-menu.res: Fix warning for gtk describing menuitems With GTK+ there are no 'describing menuitems' avaiable (the
5974 out-grayed items in lesstif-GUI). For this reason, the items in
5975 gpcb-menu.res are ignored and a warning is displayed at the
5976 message-log. This patch fixes this by removing these describing menuitems for the
5977 gtk-GUI and renamed the described items to a more explaining label.
5978 It also added mnemonics for these menu-items. Closes-bug: lp-769815
5980 2010-12-28 Felix Ruoff * Felix AT posaunenmission dot de *
5982 * src/hid/gtk/gui-output-events.c: hid/gtk: Cleanup conditional code
5983 because GTK 2.12 is required now Closes-bug: lp-699510
5985 2011-05-20 Colin D Bennett * colin AT gibibit dot com *
5987 * src/draw.c: Fix typo exporting plated vs unplated drills. Closes-bug: lp-785463
5989 2011-05-20 DJ Delorie * dj AT delorie dot com *
5991 * src/hid/png/png.c: Don't register the PNG hid if there are no file
5992 formats to use. In some cases, the GD library may not have any usable image formats
5993 for us to use, resulting in an empty filetypes[] table. Rather than
5994 trying to accomodate an empty table during export, it's easier (and
5995 perhaps better) to simply not register the PNG hid in that case.
5996 Thus, the exporter is simply not available when the table is empty.
5998 2011-03-23 Felix Ruoff * Felix AT posaunenmission dot de *
6000 * src/file.c: Ignore *.pcb files on generating library Closes-bug: lp-699261
6002 2011-05-20 DJ Delorie * dj AT delorie dot com *
6004 * src/hid/common/flags.c, src/hid/gcode/gcode.c,
6005 src/hid/gerber/gerber.c, src/hid/hidint.h, src/hid/nelma/nelma.c,
6006 src/hid/ps/ps.c: Add option to specify gerber output file style. --name-style <fixed|single|first|eagle> Naming style for individual gerber files Default is "fixed" which uses a fixed name (foo.top.gbr) for each
6007 layer. "single" uses the layer's name if there's exactly one layer
6008 in that group, else the fixed name. "first" always uses the layer
6009 name, choosing the first layer in each group for the name. "eagle"
6010 mode adds a three-character suffix instead of a separate type and
6011 extension. Affects-bug: lp-700877
6013 2011-05-19 DJ Delorie * dj AT delorie dot com *
6015 * src/move.c: Avoid top/bottom issues with layer deletion. PCB does not currently support boards without a top or bottom, so
6016 prevent the user from deleting them (they'd need to reassign the
6017 top/bottom groups first).
6019 2011-05-19 DJ Delorie * dj AT delorie dot com *
6021 * src/draw.c: Fix Mark size math wrt unplated holes. When computing the Mark size, check for the first pin being a hole
6022 and use the drill size rather than the copper size.
6024 2011-05-19 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6026 * src/buffer.c: buffer.c: Update polygon r-tree when adding a
6027 polygon to the buffer. This resulted in a crash when rotating a buffer containing a
6028 polygon, as the polygon r-tree associated with the buffer was NULL
6029 despite the polygon count being non-zero. Reported-by: Gabriel Paubert * paubert AT iram dot es *
6031 2011-05-18 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6033 * src/move.c: move.c: Adjust the object counters when moving objects
6034 between layers This fixes a crash introduced by commit
6035 2ce35292b9e96da38cb56878005aba20891689eb, "Convert board objects to
6036 GLists of g_slice allocated memory" It doesn't fix entirity of the defect reported in that bug, but it
6037 restores the prior behaviour where PCB would hang, not segfault. Reported-by: Colin Bennett * colin AT gibibit dot com * Affects-bug: lp-783640
6039 2011-05-17 Gabriel Paubert * paubert AT iram dot es *
6041 * src/hid/gtk/gui-output-events.c, src/hid/lesstif/menu.c: Lesstif +
6042 GTK HIDs: Ignore ISO Level3 shift modifier key This key press is found on some international keyboards (e.g.
6043 Spanish). If we don't ignore it, PCB complains about the key not
6044 being tied to an action when it is pressed. From the committer, Peter Clifton * pcjc2 AT cam dot ac dot uk *
6045 ... Thanks to Gabriel for reporting this and providing the patch
6046 for Lesstif. I have updated the patch to make the equivalent change
6047 to the GTK HID as well. Signed-off-By: Peter Clifton * pcjc2 AT cam dot ac dot uk *
6049 2011-05-17 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6051 * src/buffer.c: buffer.c: Fix crash in SmashBufferElement The element is allocated with g_slice_new, so must be free'd with
6052 g_slice_free. Broken since commit 2ce35292b9e96da38cb56878005aba20891689eb: Convert board objects to GLists of g_slice allocated memory
6054 2011-05-16 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6056 * src/rtree.c, src/rtree.h: rtree.c: Remove unused r_substitute()
6057 function This function was used to update r-trees when they contained objects
6058 changed memory location. Since we no longer shuffle objects around
6059 when we delete them, this function is no longer required.
6061 2011-05-13 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6063 * src/hid/gtk/gtkhid-gl.c: GTK/GL: Draw pretty translucent polygons
6064 in thindraw-poly mode Eventually we need some way to configure this.. it might be nice in
6065 non-thindraw mode too. If people want thin-draw to gain extra speed,
6066 rather than have it actually slower (due to fill + outline), then a
6067 way to turn it off would also be useful.
6069 2011-05-14 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6071 * src/hid/gtk/gtkhid-gl.c: GTK/GL: Add facility to set an alpha
6072 multiplier for the current rendering
6074 2011-05-14 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6076 * src/hid/gtk/gtkhid-gl.c: GTK/GL: Refactor alpha handling Replace "alpha_mult" in set_gl_color_for_gc () with just explicitly
6077 calling this the "a" (alpha) value of the colour in question.
6079 2011-05-14 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6081 * src/hid/gtk/gtkhid-gl.c: GTK/GL: Refactor GL colour setup handling
6083 2011-05-14 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6085 * src/hid/gtk/gtkhid-gdk.c, src/hid/gtk/gtkhid-gl.c: hid/gtk: Remove
6086 unused gc->erase parameter from GDK and GL renderers
6088 2011-05-14 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6090 * src/hid/gtk/gtkhid-gdk.c, src/hid/gtk/gtkhid-gl.c,
6091 src/hid/gtk/gtkhid-main.c, src/hid/gtk/gui.h: hid/gtk: Setup custom
6092 polygon renderer for the GL HID only
6094 2011-05-13 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6096 * src/hid/gtk/gtkhid-gl.c: gtk/gl: Don't set "magenta" for a NULL
6097 color passed to ghid_set_color The code has a strdup (name), followed by a test for name == NULL.
6098 If name _were_ ever NULL, the strdup would crash, so we can remove
6101 2011-05-13 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6103 * src/hid/common/hidgl.c: hid/common/hidgl.c: Use tags on circular
6104 contours to render them faster This lets us avoid the polygon tesselator for circular contours, and
6105 lets us render a different number of vertices in our appoximation
6106 depending upon zoom level.
6108 2011-05-13 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6110 * src/hid/common/hidgl.c: hid/common/hidgl.c: Fix vertex array state
6111 preservation Fixes a bug with crosshair attached objects not being visible when
6112 the grid was rendered. Reported-by: Colin D Bennett * colin AT gibibit dot com *
6113 Closes-bug: lp-780958
6115 2011-05-13 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6117 * src/Makefile.am, src/hid/batch/batch.c, src/hid/bom/bom.c,
6118 src/hid/common/hidinit.c, src/hid/common/hidnogui.c,
6119 src/hid/common/hidnogui.h, src/hid/gcode/gcode.c,
6120 src/hid/gerber/gerber.c, src/hid/gtk/gtkhid-main.c,
6121 src/hid/hidint.h, src/hid/lesstif/main.c, src/hid/lpr/lpr.c,
6122 src/hid/nelma/nelma.c, src/hid/png/png.c, src/hid/ps/eps.c,
6123 src/hid/ps/ps.c: Refactor application of the default hidnogui HID
6124 handlers. Replace usage of apply_default_hid() just prior to registering a HID
6125 with an early call to the new common_nogui_init() function which
6126 pre- applies the defaults, rather than post-replacing NULL handlers. As this was the last user of the apply_default_hid() function,
6127 remove it. Good riddance to yet another place which had to be
6128 updated every time a new HID member was added. The default nogui HID is now constructed explicitly by a call to
6129 nogui_hid_get_hid (), which is called from hid_init(). This is
6130 different to the other HIDs, as the nogui "hid" is never explicitly
6133 2011-05-13 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6135 * src/hid/batch/batch.c: hid/batch: #include
6136 "hid/common/draw_helpers.h" which was missing Fixes a compiler warning about an implicitly declared function.
6138 2011-05-13 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6140 * src/hid/lpr/lpr.c, src/hid/ps/ps.c, src/hid/ps/ps.h: hid/ps:
6141 Provide helper function to fill in HID members useful to other HIDs This avoids setting up the drawing routines of the lpr HID with
6142 apply_default_hid, which is a little opaque.
6144 2011-05-13 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6146 * src/hid/common/hidinit.c: hid/common: Remove unused function
6147 hid_register_gui() GUIs are registered with the same API as exporter HIDs.
6149 2011-05-13 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6151 * src/Makefile.am: src/Makefile.am: Use AM_CFLAGS instead of
6152 overriding CFLAGS directly
6154 2011-05-13 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6156 * src/hid/gtk/gtkhid-main.c, src/hid/lesstif/main.c: Apply the
6157 default hidnogui HID to the GUIs as well. This saves them having to re-implement NOOP implementations for
6158 functions the "nogui" HID provides a non "CRASH;" implementation
6161 2011-05-09 Ineiev * ineiev AT users dot berlios dot de *
6163 * src/hid/batch/batch.c: fix batch gui
6165 2011-05-10 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6167 * src/search.c: search.c: Don't allow selecting pads or pins of
6168 locked elements The locked flag test was mistakenly being applied ot the pad or pin
6169 its-self, not the parent element.
6171 2011-05-09 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6173 * src/hid/gtk/gtkhid-gl.c: GTK/GL: Split out sub-compositing setup
6174 into a separate function.
6176 2011-05-08 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6178 * src/hid/gtk/gtkhid-gl.c: GTK/GL: Make the silk layer translucent
6180 2011-05-05 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6182 * src/hid/gtk/gtkhid-gl.c: GTK/GL: Sub-composite objects on each
6183 layer using the stencil buffer This avoids the highlight where translucent objects on a given layer
6184 are drawn over each other. It enables us to have a translucent silk
6185 screen layer and still be able to read the text.
6187 2011-05-08 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6189 * src/draw.c, src/hid.h, src/hid/common/hidnogui.c: Add end_layer()
6190 function to HID API to mark the end of a layer's drawing This is going to be useful for the GTK/GL renderer to manage sub-
6191 compositing translucent objects within each layer.
6193 2011-05-05 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6195 * src/hid/gtk/gtkhid-gl.c: hid/gtk: Enable transparent lines in GL
6198 2011-05-08 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6200 * src/hid/common/hidgl.c, src/hid/common/hidgl.h,
6201 src/hid/gtk/gtkhid-gl.c: Manage stencil bitplanes so we don't have
6202 to clear them every time. Clearing the stencil buffer is a slow operation (especially on cards
6203 limited by fill rate (cough.. Intel.. cough), so the more clears we
6204 can avoid, the better.
6206 2011-05-08 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6208 * src/hid/common/hidgl.c: hid/common/hidgl.c: Tidy up polygon
6209 contour tessleation Move the gluTessBeginPolygon and gluTessEndPolygon calls inside
6210 tesselate_contour, rather than duplicating it in each caller. Also, fix up some comments which were out of date or inaccurate.
6212 2011-05-08 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6214 * src/hid.h, src/hid/common/draw_helpers.c,
6215 src/hid/common/hidnogui.c, src/hid/gerber/gerber.c,
6216 src/hid/png/png.c: HID: Remove "dicer" flag from HID structure. We don't pay any attention to this flag - always dicing the polygons
6217 in our common_fill_pcb_polygon routine. HIDs which don't want diced
6218 polygons implement their own hook for fill_pcb_polygon.
6220 2011-05-05 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6222 * src/hid/common/hidgl.c, src/hid/common/hidgl.h,
6223 src/hid/gtk/gtkhid-gdk.c, src/hid/gtk/gtkhid-gl.c,
6224 src/hid/gtk/gtkhid-main.c, src/hid/gtk/gui.h: Add raw polygons
6225 support for the GTK+GL HID, bypassing the no-holes dicer Uses the OpenGL stencil buffer to make drawing polygons with holes
6226 faster. 1. Turn Stenciling on, updates to colour buffer off 2. Clear stencil buffer to 0 3. Paint polygon holes, setting those areas of the stencil buffer to
6227 1 4. Switch on stencil test (== 0), turn on updates to colour buffer 5. Paint outer polygon through areas of the stencil buffer still 0 6. Clear stencil buffer, switch off stencilling. Caveat: This function might throw up if it is used whilst drawing the mask,
6228 since that uses stenciling as well. We don't use polygons on the
6229 mask, so its not a a problem. (Mask cutouts for octagonal pins do
6232 2011-05-05 DJ Delorie * dj AT delorie dot com *
6234 * src/hid/lesstif/main.c: Don't prematurely dismiss the progress
6237 2011-05-05 DJ Delorie * dj AT delorie dot com *
6239 * src/hid/lesstif/main.c: Improve lesstif progress dialog. Closing the progress dialog cancels the operation. Add a sliding
6240 scale that shows progress. Make the dialog modal so you can't edit
6241 the pcb while autorouting. Fix event loop to handle all pending
6242 events and redraw. Fix elapsed time logic.
6244 2011-05-05 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6246 * src/hid/gtk/gtkhid-main.c: hid/gtk: Don't auto-close progress
6247 dialog until commanded to We pass the cancel return value to our caller, but it is up to them
6248 to dismiss the progress dialog. Utilise the response_id to determine when the dialog has been closed
6249 or cancelled, rather than a separate stop_loop variable (which was a
6250 legacy from the blocking gtk_dialog_run() this code was based upon. Tidy up due to resulting simplifications.
6252 2011-05-05 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6254 * src/hid/lesstif/main.c: hid/lesstif: Fix testing timeout value in
6255 lesstif_progress This looks like a typo, but was me testing different values of time
6256 interval between processing events.
6258 2011-05-04 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6260 * src/hid/lesstif/main.c: hid/lesstif: Simple progress()
6261 implementation to present a cancel button Does not yet draw an actual progress bar, as I'm not familiar enough
6262 with coding for Lesstif.
6264 2011-05-05 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6266 * src/autoroute.c: autoroute.c: When live-drawing, only emit one via
6267 per location I'd accidentally put the live-draw via in a place where it would
6268 emit one via for every layer group - causing warnings in PCB's log
6271 2011-05-04 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6273 * src/hid/gtk/gui-library-window.c: hid/gtk: Fix crash in library
6274 window I missed a (GList *)->data dereference when converting to GList
6275 object storage. Unfortunately, the parameter in question was void *
6276 typed, so the compiler didn't notice my mistake.
6278 2011-05-03 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6280 * src/autoroute.c: autoroute.c: Provide a progress update for the
6281 autorouter Provide a completion metric related to what pass the auto-router is
6282 processing, how many objects on its heap within a given pass it has
6283 processed, and how many sub-nets it has routed from the total. The progress isn't entirely linear, but the subdivision of process
6284 steps means it does at least march along without too many pauses. It is now possible to cancel the autorouting with a non-zero
6285 response code from the gui's progress dialog. Tested with the GTK HID, Lesstif doesn't yet have an implementation
6288 2011-05-03 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6290 * src/hid/gtk/gtkhid-main.c: hid/gtk: Provide a simple progress
6291 dialog implementation
6293 2011-05-03 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6295 * src/hid/gtk/gtkhid-gdk.c, src/hid/gtk/gtkhid-gl.c,
6296 src/hid/gtk/gui-top-window.c, src/hid/gtk/gui.h: Fix mesa crash on
6297 startup (for some mesa versions) I'm not sure why it crashed, but it seems that providing a realize
6298 handler which fiddles with the GL context solves it. The underlying
6299 problem appears to have been fixed in later mesa versions. Leaving this commit for the benefit users of broken mesa versions.
6301 2011-05-03 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6303 * configure.ac: Make --enable-gl default when building the GTK HID Lets get this feature some testing for now - we may decide to revert
6304 the default before the next release, depending on how things
6307 2011-05-03 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6309 * configure.ac, src/Makefile.am, src/hid/common/hidgl.c,
6310 src/hid/common/hidgl.h, src/hid/gtk/gtkhid-gl.c, src/hid/gtk/gui.h:
6311 hid/gtk: Drop in GL renderer - WOOT! Much of the generic GL drawing stuff lives in a new common helper,
6312 hid/common/hidgl.[ch]. Unavoidably, there is a lot of GUI specific
6313 setup and teardown code. There are probably still bits of code in hid/gtk/gtkhid-gl.c which
6314 could be moved to a shared place if / when other HIDs wish to use GL
6315 rendering. Currently only rat lines are drawn transparent, as we need to sub-
6316 composite each layer to avoid a confusing field of hightlights being
6317 drawn where line ends overlap. configure --enable-gl now checks for the required GL, glu and
6318 GtkGLEext. More good stuff to come soon! Credits: Algorithm to calculate number of segments to use in circular curve approximation suggested by DJ Delorie. Thanks to Krzysztof Kościuszkiewicz for testing and debugging some issues with the GL_SCISSOR_TEST being used. An small team of dedicated testers who have provided feedback, bug reports and encoragement throught the long development of this branch.
6320 2011-05-03 Andrew Poelstra * asp11 AT sfu dot ca *
6322 * src/hid/common/flags.c, src/hid/gtk/gtkhid-main.c,
6323 src/hid/lesstif/main.c, src/main.c, src/misc.c, src/misc.h,
6324 src/parse_y.y: Universal use of GetValue This is a patch to make all numeric code use GetValue, to unify
6325 parsing code and make sure everything uses the same units. Contained
6326 is almost a complete rewrite of GetValue to simplify code that uses
6327 funny units. Reviewed-by: Peter Clifton * pcjc2 AT cam dot ac dot uk * When committing the patch from Launchpad, I rebased it to apply with
6328 strcasecmp and strncasecmp changed to strcmp and strncmp, as changed
6329 by commit 31b7309764f2e4bd40141038c30f1f38309efb4a Affects-bug: lp-772027
6331 2011-05-03 Andrew Poelstra * asp11 AT sfu dot ca *
6333 * src/hid/gtk/gtkhid-main.c, src/hid/lesstif/main.c,
6334 src/hid/png/png.c, src/misc.c, src/parse_l.l, src/report.c: Add
6335 case-sensitivity to all unit-reading code Reviewed-by: Peter Clifton * pcjc2 AT cam dot ac dot uk * This breaks existing behaviour for any users using capitalised units
6336 in scripts, but as in general, units ARE case sensitive, we should
6337 not support anything other than their canonical names. Affects-bug: lp-772027
6339 2011-05-03 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6341 * src/autoroute.c: autoroute.c: Simplify some long if statements In a couple of cases, almost all the processing logic was burried
6342 inside an if statement checking for validity of this processing
6343 pass. Re-organise to test for an invalid condition, then "continue;"
6344 the loop if that is hit. This reduces the nesting of some rather complex functions.
6346 2011-05-03 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6348 * src/action.c: change.c: Fix drawing artaefacts when rotating the
6349 buffer In commit 0213e4791f9aa4008c8d06a48c377b338f6e1a43 converting
6350 {Hide,Restore}Crosshair calls to become notify_crosshair_changed, I
6351 mixed up two of the true / false parameters to to
6352 nofify_crosshair_changed. This caused the GUI to get out of sync undrawing and redrawing the
6353 crosshair attached objects around the change. Manually checking the diff from the offending commit, I don't see
6354 any other calls which were transposed incorrectly. Reported-by: DJ Delorie * dj AT delorie dot com *
6356 2011-05-02 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6358 * src/hid/lesstif/main.c: hid/lesstif: Fix dropped crosshair
6359 artaefacts when dragging objects. It seems that the idle_proc redraw code assumed the crosshair was
6360 switched off upon entry, proceeding to redraw everything (and
6361 obliterate the crosshair in the process). The final show_crosshair
6362 (1) call only has any effect if the crosshair was notionally off
6363 before hand. As a quick work-around (you could probably do it with less flicker
6364 with a little more logic), ensure the crosshair is turned off just
6365 prior to redrawing the screen - so it will switch back on correctly
6368 2011-05-01 DJ Delorie * dj AT delorie dot com *
6370 * src/macro.h: Fix typo in new ELEMENTARC_LOOP macro. line -> arc
6372 2011-05-01 DJ Delorie * dj AT delorie dot com *
6374 * src/insert.c: Fix polygon clears on insert. Add the calls to update polygon clearances when a point is inserted
6377 2011-05-01 DJ Delorie * dj AT delorie dot com *
6379 * src/file.c, src/file.h: Make file version smarter. Restructure the FileVersion[] output to only output the actual
6380 needed version, in cases where a rarely used feature requires a new
6381 pcb. This avoids unnecessary backwards incompatibility.
6383 2011-05-01 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6385 * src/hid/gtk/gtkhid-gdk.c: hid/gtk: Fix conversion from world to
6386 screen in ghid_invalidate_lr I accidentally muddled the Vx and Vy conversions routines for the
6387 right and top coordinates. In general, this resulted in the
6388 incorrect region being invalidated - manifesting as artaefacts on
6389 the the screen, such as when dragging objects around. Also drop the (double) cast.. having checked, Vx and Vy take integer
6390 arguments. I'm not sure why the rest of this file casts to double.
6392 2011-05-01 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6394 * src/hid/gtk/gtkhid-gdk.c: hid/gtk: Rest clip region for bg_gc, as
6395 it is used for expose events. We set the clip region in the redraw_region() function to clip
6396 drawing to the area which we intend to repaint, but we did not clear
6397 the clip again. This caused expose events to be clipped to the last redraw area
6398 rather than the required damaged area.
6400 2011-05-01 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6402 * src/hid/gtk/gtkhid-gdk.c: hid/gtk: Remove unused variable in
6405 2011-04-30 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6407 * src/hid/lesstif/main.c: hid/lesstif: Remove unused variable in
6410 2011-04-30 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6412 * src/mymem.c: mymem.c: Provide an optional implementation of
6413 g_list_free_full () This API was only added in GLib 2.28, and it is just a small
6414 convenience function. If an insufficient GLib version is found,
6415 provide our own implementation.
6417 2011-04-30 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6419 * src/hid.h, src/hid/gtk/gtkhid-gdk.c, src/hid/lesstif/main.c:
6420 Remove live drawing parameters for HID->use_mask() These are no longer used by the autorouter, so lets clean the
6421 use_mask() interface to JUST deal with _masking_ from now on ;)
6423 2011-04-30 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6425 * src/autoroute.c: autoroute.c: Utilise new HID interface for debug
6426 drawing This gives the HID an opportunity to refuse the autorouter's
6427 drawing. Both the GTK/GDK and Lesstif GUIs accept this drawing, so
6428 either should be suitable for use whilst debugging workings of the
6429 auto-router. The PCB+GL renderer (not yet landed) needs quite a lot of setup
6430 calls to be made before it can allow the core do draw, hence the
6431 need for this notification / permissioning.
6433 2011-04-30 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6435 * src/autoroute.c: Fix livedraw to work with normal rendering APIs NB: This relies on the immutability of board object pointers, so
6436 must not be applied to older PCB code-bases which would often
6437 re-locate storage of board objects to keep them in a contiguous
6440 2011-04-30 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6442 * src/action.c, src/autoroute.c, src/buffer.c, src/create.c,
6443 src/djopt.c, src/draw.c, src/file.c, src/find.c, src/fontmode.c,
6444 src/global.h, src/macro.h, src/move.c, src/mymem.c, src/mymem.h,
6445 src/puller.c, src/rats.c, src/remove.c, src/toporouter.c: Convert
6446 board objects to GLists of g_slice allocated memory This enables pointers for these objects to be immutable during their
6447 lifetime, which is a _huge_ benefit for some operations. Having otherwise was becoming VERY tiresome, and was a perenial
6448 source of bugs tripping up novice and experts of the codebase alike. Due to the risks associated with modifying the structure being
6449 iterated over, this patch makes the relevant *_LOOP macros iterate
6450 over a shallow copy of the underlying GList. This is slight overkill
6451 for many cases, but until we have identified which do not modify the
6452 data-structures it is wise to keep as we are.
6454 2011-04-30 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6456 * src/puller.c: puller.c: Re-write parts to use hash tables to store
6457 stashed extra info This vastly simplifies some of the pointer arithmetic which was
6458 previously used to account for underlying location changes when
6459 objects moved. Having tested this, it produces different results than before
6460 application. This may be due to it zapping some underlying bug
6461 which has been removed in the patch, or perhaps more likely, that
6462 its slightly different iteration order over the lines and arcs (due
6463 to g_hash_table_foreach) will result in different pathologies being
6466 2011-04-30 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6468 * src/djopt.c: djopt.c: Tidy up padcleaner() using loop macros
6470 2011-04-30 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6472 * src/djopt.c: djopt.c: Tidy up element_name_for() by using loop
6475 2011-04-30 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6477 * src/move.c: src/move.c: Gratuitous cosmetic changes Split from a future patch which ended up making these changes to
6478 help with consistency. Pre-patching here to avoid a huge delta when
6481 2011-04-30 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6483 * src/buffer.c: src/buffer.c: More cosmetic changes
6485 2011-04-30 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6487 * src/buffer.c: src/buffer.c: Gratuitous cosmetic changes Split from a future patch which ended up making these changes to
6488 help with consistency. Pre-patching here to avoid a huge delta when
6491 2011-04-30 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6493 * src/remove.c: remove.c: Gratuitous cosmetic changes s/return (NULL)/return NULL/ Split from another patch where I just couldn't resist some tidying.
6495 2011-04-30 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6497 * src/move.c, src/move.h: Make Move*ToLayerLowLevel() local to
6498 move.c No point in exporting these functions.
6500 2011-04-30 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6502 * src/rats.c: rats.c: Tidy up FindPad() Changes are aimed to simplify the delta of a future patch relating
6503 to object storage. Moves indexed addressing of object structures to
6506 2011-04-30 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6508 * src/toporouter.c: src/toporouter.c: Tidy up escape() routine Changes are aimed to simplify the delta of a future patch relating
6509 to object storage. Moves indexed addressing of object structures to
6512 2011-04-30 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6514 * src/parse_y.y: parse.y: Convert an open-coded loop to use
6517 2011-04-30 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6519 * src/hid/gtk/gui-pinout-preview.c: hid/gtk: Remove unused code from
6522 2011-04-30 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6524 * src/draw.c: draw.c: Tidy up DrawEMark Changes are aimed to simplify the delta of a future patch relating
6525 to object storage. Moves indexed addressing of object structures to
6528 2011-04-30 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6530 * src/autoroute.c, src/crosshair.c, src/edif.y, src/global.h,
6531 src/mtspace.c, src/polygon1.c: Include glib.h from global.h To avoid compiler warnings, remove the now duplicated (or
6532 unecessary) #define ABS definitions from various files. There has been a build-time dependance on GLib since the toporouter
6533 was added. Lets start to make use of it where it is useful.
6535 2011-04-29 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6537 * src/hid/lesstif/main.c: hid/lesstif: Hook up debug drawing APIs
6539 2011-04-29 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6541 * src/hid/gtk/gtkhid-gdk.c, src/hid/gtk/gtkhid-main.c,
6542 src/hid/gtk/gui.h: hid/gtk: Hook up debug drawing APIs
6544 2011-04-29 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6546 * src/hid.h, src/hid/common/hidnogui.c: Add HID apis to handle live
6547 debug drawing from the core It is envisaved that this API should ONLY be used for debugging, not
6548 presenting a user-interface. In general, the GUIs may have their own
6549 special requirements for drawing the board, and this API is not
6550 meant to allow the core to augment or present user-visible drawing.
6551 This is reflected in the API naming. Request permission for debug drawing HID *ddraw = gui->request_debug_draw (void); Returns a HID pointer which should be used rather than the global
6552 gui-> for making drawing calls. If the return value is NULL, then
6553 permission has been denied, and the debug drawing must not continue. Flush pending drawing to the screen void ddraw->flush_debug_draw (void); May be implemented as a NOOP if the GUI has chosen to send the debug
6554 drawing directly to the screen. When finished, the user must inform the GUI to clean up resources: ddraw->finish_debug_draw (void); Any remaining rendering will be flushed to the screen.
6556 2011-04-29 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6558 * src/hid/lesstif/main.c: hid/lesstif: Ensure crosshair and mark
6559 updates go to the screen The "pixmap" global might be pointing at one of the backing pixmaps
6560 when we are called. Does not fix any known bug, just in preparation for another patch
6561 relating to debug drawing which may leave pixmap pointing to the
6564 2011-04-29 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6566 * src/hid/gtk/gtkhid-gdk.c: hid/gtk: Invalidate the damaged region,
6569 2011-04-29 Andrew Poelstra * asp11 AT sfu dot ca *
6571 * src/print.c: Subject: PCB / Physical unit macros patch 2: print.c This patch works correctly (i.e., no change in output) for my test
6572 file; about 6800 lines of postscript. The only differences were in
6573 the timestamps, which naturally were slightly different. I also confirmed visually that the before and after printouts look
6574 the same :) Rebased to git HEAD by Peter Clifton * pcjc2 AT cam dot ac dot uk *
6576 2011-04-28 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6578 * src/autoroute.c: autoroute.c: Remove a couple of completely unused
6581 2011-04-28 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6583 * src/global.h: global.h: Remove unused OutputType members Width and
6586 2011-04-28 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6588 * src/action.c: Fixup usage of the never initialised, obsolete,
6589 Output.{Width,Height} For the stroke handling case (relating to zooming) it isn't clear
6590 what is correct, but for now, substitute PCB->MaxWidth and
6591 PCB->MaxHeight. This may still leave stroke based zooming broken, but it was
6592 CERTAINLY broken before.
6594 2011-04-28 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6596 * src/hid/gtk/gui-pinout-preview.c: hid/gtk: Remove dead code (due
6597 to bitrot) from pinout_zoom_fit() function The code tried to compare against the uninitialised, unused
6598 Output.Width and Output.Height. Assuming these were initialised to
6599 zero by the compiler, the conditional would always cause the
6600 function to return FALSE. Remove the conditional, and drop the boolean return value from this
6601 function, short-cutting the caller to the utilised code-path. This removes the (long broken) feature where by the natural size (in
6602 pixels) of the pinout preview would be reduced if it was greater
6603 than 3/4 of the viewport size (in pixels) of the active PCB.
6605 2011-04-28 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6607 * src/global.h: Remove unused old{Obj,Line,Box}State members from
6608 the OutputType structure
6610 2011-04-28 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6612 * src/draw.c, src/main.c: main.c: Remove setup of global graphics
6613 contexts which are never used draw.c stashes these ones creates its own. Drop the unused ones, and
6614 drop the stashing in draw.c
6616 2011-04-28 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6618 * src/autoroute.c: autoroute.c: Use the autoroute graphics context,
6619 not Output.fgGC I'm aiming to confine Output.* graphics contexts to draw.c for now.
6621 2011-04-28 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6623 * src/data.c, src/data.h: Remove unused global variable
6624 Zoom_Multiplier Along with a following commented series of numbers which git log
6625 suggests was originally related to pre-defined zoom ratios.
6627 2011-04-28 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6629 * src/macro.h: macro.h: Remove unused (obsolete) conversion macro
6632 2011-04-28 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6634 * src/action.c: action.c: Replace use of obsolete conversion macro
6635 TO_PCB with a constant. This changes the location tolerance in NotifyLine()'s call to
6636 LookupConnection() from what previously evaluated to 100 internal
6637 units, to a constant of one internal unit. This is consistent with other similar calls to LookupConnection(),
6638 where it appears that a wide search area is not desired, so the
6639 smallest possible value is passed.
6641 2011-04-28 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6643 * src/data.c, src/data.h, src/file.c: Remove unused variables Xorig
6646 2011-04-28 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6648 * src/macro.h: macro.h: Remove unused, obsolete conversion macros
6649 TO_PCB_X and TO_PCB_Y
6651 2011-04-28 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6653 * src/action.c: action.c: Partially fix up some stroke handling bugs 1. Stroke event coordinates are already in PCB units, drop bogus
6654 conversions 2. Fix incorrect variable name
6656 2011-04-28 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6658 * src/file.c: file.c: Write out correct cursor location in the PCB
6661 2011-04-28 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6663 * src/data.c, src/data.h: data.c: Remove unused globals theScreen,
6664 clipBox, vxl, vxh, vyl, vyh
6666 2011-04-28 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6668 * src/draw.c, src/print.c, src/print.h: print.c: Pass an explicit
6669 graphics context to PrintFab() and friends This is a step towards being able to move the active graphics
6670 contexts out of the global scope.
6672 2011-04-28 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6674 * src/global.h, src/main.c: Remove unused Output.GridGC variable
6676 2011-04-28 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6678 * src/rtree.c: rtree.c: Remove old X11 based debug drawing code The core doesn't do drawing any more.. and can't assume that the
6679 GUI's graphics contexts are actually X11 or GDK graphics context, so
6680 this code can't work any more - remove it.
6682 2011-04-28 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6684 * src/hid/batch/batch.c, src/hid/common/extents.c,
6685 src/hid/gerber/gerber.c, src/hid/gtk/gtkhid-gdk.c,
6686 src/hid/gtk/gtkhid-main.c, src/hid/gtk/gui.h,
6687 src/hid/lesstif/main.c, src/hid/png/png.c, src/hid/ps/eps.c: HIDs:
6688 Remove NOOP set_draw_faded implementations
6690 2011-04-28 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6692 * src/hid/common/hidnogui.c: hid: Provided non-CRASH default
6693 implementation of HID->set_draw_faded There is no point in various HIDs providing their own NOOP
6696 2011-04-28 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6698 * src/hid.h, src/hid/batch/batch.c, src/hid/common/extents.c,
6699 src/hid/common/hidnogui.c, src/hid/gcode/gcode.c,
6700 src/hid/gerber/gerber.c, src/hid/gtk/gtkhid-gdk.c,
6701 src/hid/gtk/gtkhid-main.c, src/hid/gtk/gui.h,
6702 src/hid/lesstif/main.c, src/hid/nelma/nelma.c, src/hid/png/png.c,
6703 src/hid/ps/eps.c, src/hid/ps/ps.c: hid: Remove unused
6704 set_line_cap_angle API
6706 2011-04-27 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6708 * src/hid/gtk/gtkhid-gdk.c, src/hid/gtk/gui.h: hid/gtk: Make
6709 ghid_show_crosshair() local to the GDK implementation
6711 2011-04-27 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6713 * src/hid/gtk/gtkhid-main.c: hid/gtk: Invalidate the crosshair
6714 rather than drawing it immediately
6716 2011-04-27 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6718 * src/hid/gtk/gtkhid-gdk.c, src/hid/gtk/gui-output-events.c,
6719 src/hid/gtk/gui.h: Revert "hid/gtk: Add hooks to tell the render
6720 when we start/stop drawing" This reverts commit 332cb8ddc1cc032ac29c7d2b9a0051ccc228b6da. Since crosshair updates are now handled by notifications to the GUI,
6721 this isn't required for the forthcoming PCB+GL support.
6723 2011-04-27 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6725 * src/hid/gtk/gui-output-events.c: hid/gtk: Avoid extra crosshair
6726 and attached object redraws The crosshair movement is handled by a notify_crosshair_change()
6727 call in ghid_note_event_location().
6729 2011-04-27 Andrew Poelstra * asp11 AT sfu dot ca *
6731 * globalconst.h, src/action.c, src/autoplace.c, src/buffer.c,
6732 src/change.c, src/const.h, src/create.c, src/djopt.c, src/find.c,
6733 src/hid/batch/batch.c, src/hid/gcode/gcode.c,
6734 src/hid/gerber/gerber.c, src/hid/gtk/gtkhid-main.c,
6735 src/hid/gtk/gui-drc-window.c, src/hid/gtk/gui-misc.c,
6736 src/hid/gtk/gui-top-window.c, src/hid/gtk/gui.h,
6737 src/hid/lesstif/dialogs.c, src/hid/lesstif/lesstif.h,
6738 src/hid/lesstif/main.c, src/hid/lesstif/styles.c,
6739 src/hid/nelma/nelma.c, src/hid/png/png.c, src/hid/ps/eps.c,
6740 src/hid/ps/ps.c, src/main.c, src/misc.c, src/parse_l.l,
6741 src/print.c, src/report.c, src/vendor.c: PCB / Physical unit macros
6742 patch Specify various constants in physical units, converting to PCB
6743 internal units using macros. When reporting to the user (or
6744 exporting), convert dimensions to physical units using macros so the
6745 code does not rely on details of PCB's internal coordinates in so
6748 2011-04-27 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6750 * src/draw.c: draw.c: Remove old commented debug printf
6752 2011-04-27 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6754 * src/draw.c: draw.c: Remove unused function thin_callback()
6756 2011-04-26 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6758 * src/crosshair.c, src/crosshair.h, src/global.h,
6759 src/hid/lesstif/main.c: Move crosshair on / off functionality into
6760 lesstif HID. Lesstif is the only GUI which turns attached objects on and off,
6761 when the mouse leaves the viewport, so it might as well manage it
6764 2011-04-26 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6766 * src/crosshair.c, src/hid.h, src/hid/common/hidnogui.c,
6767 src/hid/gtk/gtkhid-gdk.c, src/hid/gtk/gtkhid-main.c,
6768 src/hid/gtk/gui.h, src/hid/lesstif/main.c: Give the HIDs control
6769 over attached object (crosshair, mark) drawing This is required if a renderer doesn't want to follow the current
6770 drawing model where it is assumed the core can call the HID's
6771 drawing APIs at any arbitrary point in time. Expose some API from crosshair.c to perform the actual drawing on
6772 demand, and add hooks to the HID structure to notify the GUI when it
6773 would previously have called the crosshair or mark drawing routines. This allows renderers with defined setup and tear-down requirements
6774 around drawing to execute them before the objects are drawn. CrosshairOn() and CrosshairOff() now simply set the Crosshair.On
6775 flag and call the appropriate notification hooks. This commit replaces all HideCrosshair() and RestoreCrosshair()
6776 calls with the new hooks notify_{crosshair|mark}_changed(), with an
6777 argument specifying whether a change is about to happen (false
6778 argument), or has been completed (true argument).
6780 2011-04-26 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6782 * src/action.c: action.c: Convert some explicit mark redrawing to
6785 2011-04-26 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6787 * src/crosshair.c, src/crosshair.h, src/set.c: Separate out mark
6788 change notification from crosshair change notification Hook it up to notify the crosshair (which also redraws the mark) for
6791 2011-04-26 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6793 * src/action.c, src/buffer.c, src/crosshair.c, src/crosshair.h,
6794 src/hid/gtk/gtkhid-main.c, src/hid/gtk/gui-misc.c,
6795 src/hid/gtk/gui-output-events.c, src/hid/lesstif/main.c,
6796 src/misc.c, src/set.c: Rename HideCrosshair() and RestoreCrosshair() Whist this is a tedious rename which will probably have implications
6797 for some plugins, it helps to clarify what is going on with the
6798 crosshair across forthcoming patches which put it under the control
6799 of the GUIs. The old APIs are retained for backwards compatibility with plugins,
6800 and will print a one-shot warning for each which is called.
6802 2011-04-26 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6804 * src/hid/gtk/gtkhid-gdk.c: hid/gtk: DrawMark from
6805 ghid_invalidate_all() as well as DrawAttached
6807 2011-04-26 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6809 * src/draw.c, src/hid/gtk/gtkhid-gdk.c,
6810 src/hid/gtk/gui-output-events.c, src/hid/gtk/gui-top-window.c,
6811 src/hid/gtk/gui.h: Let the GUIs manage the crosshair across a redraw Removes several {Hide/Restore}Crosshair() calls from the GTK HID. These are not requried any more, as they are followed by
6812 invalidate_all() calls which take care of the crosshair as well. Changes to draw.c were tested not to affect Lesstif HID
6814 2011-04-26 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6816 * src/hid/gtk/gui.h: hid/gtk: Remove duplicated prototype
6818 2011-04-26 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6820 * src/draw.c: draw.c: Remove obsolete comment
6822 2011-04-26 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6824 * src/draw.c: draw.c: Remove clip_box global variable in favour of a
6825 more targeted one Used for polygon clipping during drawing.
6827 2011-04-26 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6829 * src/draw.c: draw.c: EraseRat() should just gather the affected
6830 area These were missed (or incorrectly converted) in the previous patch
6831 series which split gathering routines from drawing routines. Tidy up DrawRat() to be consistent with the new code in EraseRat()
6833 2011-04-26 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6835 * src/draw.c: draw.c: Separate out common code for drawing holes Makes things a bit clearer
6837 2011-04-26 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6839 * src/draw.c: draw.c: Remove Gathering variable This variable is no longer needed since the "Gathering" Draw*
6840 functions are separate from the draw_... implementations which are
6841 triggered by the GUI calling for a repaint of the gathered area.
6843 2011-04-25 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6845 * src/draw.c: draw.c: Split "Gathering" routines from real drawing
6846 routines (Text) Moves code from DrawRegularText() into its only caller
6849 2011-04-25 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6851 * src/draw.c: draw.c: Split "Gathering" routines from real drawing
6852 routines (Polygons) Moves code from DrawPlainPolygon() into its only caller
6855 2011-04-25 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6857 * src/draw.c: draw.c: Split "Gathering" routines from real drawing
6860 2011-04-25 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6862 * src/draw.c: draw.c: Split "Gathering" routines from real drawing
6865 2011-04-26 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6867 * src/draw.c: draw.c: Split "Gathering" from real drawing routines
6870 2011-04-25 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6872 * src/draw.c: draw.c: Split "Gathering" routines from real drawing
6875 2011-04-25 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6877 * src/draw.c: draw.c: Split "Gathering" routines from real drawing
6878 routines (Pins + Vias)
6880 2011-04-26 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6882 * src/draw.c: draw.c: Split "Gathering" from real drawing routines
6883 (Element Pins and Pads)
6885 2011-04-25 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6887 * src/draw.c: draw.c: Split "Gathering" from real drawing routines
6890 2011-04-25 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6892 * src/draw.c: draw.c: Split "Gathering" from real drawing routines
6895 2011-04-26 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6897 * src/draw.c: draw.c: Split "Gathering" from real drawing routines
6900 2011-04-25 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6902 * src/draw.c: draw.c: Fold DrawHole into its only caller,
6905 2011-04-25 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6907 * src/draw.c: draw.c: Move DrawPlainPin and DrawPlainVia into their
6908 only callers Make their code part of pin_callback and via_callback. Drop the Gathering tests within this code, as their only callers are
6909 within a block where Gathering is definately set.
6911 2011-04-25 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6913 * src/action.c, src/autoplace.c, src/autoroute.c, src/draw.c,
6914 src/draw.h, src/find.c, src/toporouter.c, src/vendor.c: draw.c:
6915 Remove API ClearAndRedrawOutput(), in favour of Redraw(). These do the same thing anyway.
6917 2011-04-25 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6919 * src/action.c, src/draw.c, src/draw.h, src/set.c: draw.c: Remove
6920 UpdateAll() API, in favour of Redraw(), which is identical
6922 2011-04-25 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6924 * src/action.c, src/draw.c, src/draw.h: draw.c: Expose local
6925 Redraw() function, and remove wrapper RedrawOutput() Within the one caller ActionDisplay, combine the F_ClearAndRedraw
6926 and F_Redraw cases which have exactly the same effect.
6928 2011-04-25 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6930 * src/draw.c: draw.c: Drop unused area parameters from Redraw(...)
6932 2011-04-25 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6934 * src/draw.c: draw.c: Only set Gathering during
6935 hid_expose_callback() Removes setting of Gathering to false prior to calling UpdateAll()
6936 in ClearAndRedrawOutput(), and removes setting of Gathering to true
6937 after calling gui->invalidate_all() in Redraw()
6939 2011-04-25 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6941 * : Regenerate test golden files for the png output hid The colour drawn for vias changed due to the fix in commit
6942 c095adf5ea890284cddc2730944b980ac1275109 (Build was broken due to the above commit until commit
6943 c9b915d7f2f49f5ebde0abeb5756b1e11e756edc)
6945 2011-04-24 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6947 * src/draw.c: draw.c: Use the ON_SIDE() macro rather then open-code
6950 2011-04-24 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6952 * src/draw.c: draw.c: Add a DrawPaste() helper function for paste
6955 2011-04-24 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6957 * src/misc.c, src/misc.h: misc.c: Add query function IsPasteEmpty()
6958 to query a paste layer is empty
6960 2011-04-24 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6962 * src/draw.c, src/macro.h: Make the ON_SIDE() macro global, not
6965 2011-04-24 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6967 * src/hid/common/draw_helpers.c: hid/common: Fix
6968 common_thindraw_pcb_pad()'s handling of square pads I made a mistake in a logic test when simplifying this routine in
6969 commit 4efcedeeac06cd4d5e559a7fe0a0ee8685f2137a This caused slanted rendering of horizontal or vertical pads.
6971 2011-04-24 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6973 * src/draw.c: draw.c: Rename the "screen" parameter of
6974 DrawLayerGroup to "drawn_area" (For consistency with other code in draw.c)
6976 2011-04-24 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6978 * src/draw.c: draw.c: Use DrawPPV() where we can to save duplication
6980 2011-04-23 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6982 * src/draw.c: draw.c: Change PrintAssembly() to use a layer side
6983 parameter Drops the "swap_ident" parameter in favour of a more explicit "side"
6984 parameter. Also drops the side_group parameter, as we can easily
6985 determine that from the requested side to draw.
6987 2011-04-23 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6989 * src/draw.c: draw.c: Change DrawSilk() to use a layer side
6990 parameter, not SWAP_IDENT
6992 2011-04-24 Peter Clifton * pcjc2 AT cam dot ac dot uk *
6994 * src/draw.c: Make DrawPPV() always draw for non gui HIDs, rather than doing_assy The gui HIDs don't accept the assembly drawaing, so testing for
6995 !gui->gui will catch this case, and we can drop the doing_assy
6996 override for PCB->PinOn and PCB->ViaOn
6998 2011-04-23 Peter Clifton * pcjc2 AT cam dot ac dot uk *
7000 * src/draw.c: draw.c: Change DrawTop() to DrawPPV(), and teach it to
7001 work for any layer (PPV stands for Pins, Pads and Vias). Extend its functionality to
7002 work for pins and vias on any layer.
7004 2011-04-24 Peter Clifton * pcjc2 AT cam dot ac dot uk *
7006 * src/draw.c: draw.c: Rename DrawTop() "screen" parameter
7007 "drawn_area" For consistency with other code in draw.c
7009 2011-04-23 Peter Clifton * pcjc2 AT cam dot ac dot uk *
7011 * src/draw.c: draw.c: Fix order of farside object drawing Backside silk should be drawn before bakside pads
7013 2011-04-23 Peter Clifton * pcjc2 AT cam dot ac dot uk *
7015 * src/draw.c: draw.c: Add prototype for via_callback Fixes breakage since commit c095adf5ea890284cddc2730944b980ac1275109
7017 2011-04-23 Peter Clifton * pcjc2 AT cam dot ac dot uk *
7019 * src/draw.c: draw.c: Remove a couple of redundant if statements The outer if statement already ensures this code-path isn't followed
7020 for a gui hid.. don't repeat ourselves. One statement will always
7021 return false, hence is dead code - the other is always true.
7023 2011-04-23 Peter Clifton * pcjc2 AT cam dot ac dot uk *
7025 * src/draw.c: draw.c: Use the via callback when drawing vias. Since this code-path is only hit for exporters, (and the only
7026 difference between the pin and via callback is the drawing colour)
7027 it is not likely this matters, but lets be correct.
7029 2011-04-23 Peter Clifton * pcjc2 AT cam dot ac dot uk *
7031 * src/draw.c: draw.c: Add layer side parameter to DrawMask() Don't use the global variable SWAP_IDENT to choose which side to
7034 2011-04-23 Peter Clifton * pcjc2 AT cam dot ac dot uk *
7036 * src/draw.c: draw.c: Combine front and back element and name
7037 callbacks Pass an integer "side" parameter to determine which is desired
7039 2011-04-23 Peter Clifton * pcjc2 AT cam dot ac dot uk *
7041 * src/macro.h: Remove commented TEXT_IS_VISIBLE implementation I'm cleaning up code which uses SWAP_IDENT, and this comment scored
7044 2011-04-23 Peter Clifton * pcjc2 AT cam dot ac dot uk *
7046 * src/action.c, src/change.c, src/copy.c, src/draw.c, src/draw.h,
7047 src/find.c, src/hid/gtk/gui-drc-window.c, src/insert.c, src/move.c,
7048 src/polygon.c, src/rats.c, src/remove.c, src/rotate.c,
7049 src/select.c, src/toporouter.c, src/undo.c: draw.c: Remove unused
7050 parameter from various calls: DrawObject DrawVia DrawViaName DrawLine DrawArc DrawText DrawRegularText DrawPolygon DrawElement DrawElementPackage DrawElementPackageLowLevel DrawElementName DrawElementPinsAndPads DrawRat DrawPin DrawPinName DrawPad DrawPadName
7052 2011-04-23 Andrew Poelstra * asp11 AT sfu dot ca *
7054 * src/hid/png/png.c: hid/png: Fix incorrect um unit conversion in
7055 bloat parser. (Split from a larger patch by Peter Clifton * pcjc2 AT cam dot ac
7058 2011-04-23 Peter Clifton * pcjc2 AT cam dot ac dot uk *
7060 * globalconst.h: globalconst.h: Remove some unused constants
7062 2011-04-23 Peter Clifton * pcjc2 AT cam dot ac dot uk *
7064 * src/hid/png/png.c: hid/png: Fix segfault when no image formats are
7065 configured in. Based on a patch by Felix Ruoff * Felix AT posaunenmission dot de * Catch the case where the selected image format is actually the NULL
7066 terminator at the end of the format list. This happens when the list
7067 is empty. Don't strcmp against that terminator! Closes-bug: lp-699290 (sf-2669324)
7069 2011-04-23 Peter Clifton * pcjc2 AT cam dot ac dot uk *
7071 * src/hid/png/png.c: Revert "Fix potential segfault" This reverts commit 2d2040e92d5ebb069af42567855055b096532e71. This patch causes segfaults in the GTK and Lesstif hids, so
7072 reverting, as it removes the required NULL termination from an
7073 attribute enumeration. Any code which can't deal with an empty
7074 enumeration list should be fixed instead. Reopens-bug: lp-699290 (sf-2669324) Closes-bug: lp-769336
7076 2011-04-22 Peter Clifton * pcjc2 AT cam dot ac dot uk *
7078 * src/main.c, src/misc.c, src/polygon.c, src/polygon.h,
7079 src/thermal.c: Fix geometry errors caused by commit
7080 2d8dc8a3a3a55158b4e6278dd9f40588e4111c2d This fixes up problems from the following commit: [PATCH] fix bug 2793480 (vias/arcs-to-polygon clearances) frac_circle(): introduce radius_adjustment factor to make the polygon outline the arc rather than connet points on the arc ArcPolyNoIntersect(): compute number of segments so that polygon diverges from the arc no more than 0.02 of required thickness; adjust outer "arc" radius like in
7081 frac_circle() The object bounding boxes for arcs, vias, lines and rounded pads
7082 which determine the maximum area affected by that object were no
7083 longer correct, leading to artaefacts when doing incremental polygon
7084 processing. It also lead to missing fragments in (the non-curved + and x type
7085 thermals). These are also fixed up by this patch.
7087 2011-04-21 Peter Clifton * pcjc2 AT cam dot ac dot uk *
7089 * src/draw.c: draw.c: Tidy up hole_callback routine
7091 2011-04-21 Peter Clifton * pcjc2 AT cam dot ac dot uk *
7093 * src/draw.c: draw.c: Remove unnecessary pin_info struct. The argument specifying whether to clear pins was always true in any
7094 case where clearPin_callback was called (the only user of this
7097 2011-04-21 Peter Clifton * pcjc2 AT cam dot ac dot uk *
7099 * src/macro.h: macro.h: Remove unused X11 specific macros
7101 2011-04-21 Peter Clifton * pcjc2 AT cam dot ac dot uk *
7103 * src/macro.h: macro.h: Remove unused object visibility macros
7105 2011-04-21 Peter Clifton * pcjc2 AT cam dot ac dot uk *
7107 * src/draw.c, src/line.c, src/macro.h: Remove some old unused
7108 coordinate conversion macros from the core Sadly, there are still some left to expunge which are being used -
7109 and their usage appears broken in many cases!
7111 2011-04-21 Peter Clifton * pcjc2 AT cam dot ac dot uk *
7113 * tests/golden/hid_gcode1/Makefile.am,
7114 tests/golden/hid_gcode10/Makefile.am,
7115 tests/golden/hid_gcode11/Makefile.am,
7116 tests/golden/hid_gcode2/Makefile.am,
7117 tests/golden/hid_gcode3/Makefile.am,
7118 tests/golden/hid_gcode4/Makefile.am,
7119 tests/golden/hid_gcode5/Makefile.am,
7120 tests/golden/hid_gcode6/Makefile.am,
7121 tests/golden/hid_gcode7/Makefile.am,
7122 tests/golden/hid_gcode8/Makefile.am,
7123 tests/golden/hid_gcode9/Makefile.am,
7124 tests/golden/hid_gerber1/Makefile.am,
7125 tests/golden/hid_gerber2/Makefile.am: Fix test-suite harder Fixup Makefile.am files to match renames in last commit
7127 2011-04-21 Peter Clifton * pcjc2 AT cam dot ac dot uk *
7129 * tests/golden/hid_gcode1/gcode_oneline.gcode.back.cnc,
7130 tests/golden/hid_gcode1/gcode_oneline.gcode.bottom.cnc,
7131 tests/golden/hid_gcode1/gcode_oneline.gcode.front.cnc,
7132 tests/golden/hid_gcode1/gcode_oneline.gcode.top.cnc,
7133 tests/golden/hid_gcode10/gcode_oneline.gcode.back.cnc,
7134 tests/golden/hid_gcode10/gcode_oneline.gcode.bottom.cnc,
7135 tests/golden/hid_gcode10/gcode_oneline.gcode.front.cnc,
7136 tests/golden/hid_gcode10/gcode_oneline.gcode.top.cnc,
7137 tests/golden/hid_gcode11/gcode_oneline.gcode.back.cnc,
7138 tests/golden/hid_gcode11/gcode_oneline.gcode.bottom.cnc,
7139 tests/golden/hid_gcode11/gcode_oneline.gcode.front.cnc,
7140 tests/golden/hid_gcode11/gcode_oneline.gcode.top.cnc,
7141 tests/golden/hid_gcode2/out.back.cnc,
7142 tests/golden/hid_gcode2/out.bottom.cnc,
7143 tests/golden/hid_gcode2/out.front.cnc,
7144 tests/golden/hid_gcode2/out.top.cnc,
7145 tests/golden/hid_gcode3/gcode_oneline.gcode.back.cnc,
7146 tests/golden/hid_gcode3/gcode_oneline.gcode.bottom.cnc,
7147 tests/golden/hid_gcode3/gcode_oneline.gcode.front.cnc,
7148 tests/golden/hid_gcode3/gcode_oneline.gcode.top.cnc,
7149 tests/golden/hid_gcode4/gcode_oneline.gcode.back.cnc,
7150 tests/golden/hid_gcode4/gcode_oneline.gcode.bottom.cnc,
7151 tests/golden/hid_gcode4/gcode_oneline.gcode.front.cnc,
7152 tests/golden/hid_gcode4/gcode_oneline.gcode.top.cnc,
7153 tests/golden/hid_gcode5/gcode_oneline.gcode.back.cnc,
7154 tests/golden/hid_gcode5/gcode_oneline.gcode.bottom.cnc,
7155 tests/golden/hid_gcode5/gcode_oneline.gcode.front.cnc,
7156 tests/golden/hid_gcode5/gcode_oneline.gcode.top.cnc,
7157 tests/golden/hid_gcode6/gcode_oneline.gcode.back.cnc,
7158 tests/golden/hid_gcode6/gcode_oneline.gcode.bottom.cnc,
7159 tests/golden/hid_gcode6/gcode_oneline.gcode.front.cnc,
7160 tests/golden/hid_gcode6/gcode_oneline.gcode.top.cnc,
7161 tests/golden/hid_gcode7/gcode_oneline.gcode.back.cnc,
7162 tests/golden/hid_gcode7/gcode_oneline.gcode.bottom.cnc,
7163 tests/golden/hid_gcode7/gcode_oneline.gcode.front.cnc,
7164 tests/golden/hid_gcode7/gcode_oneline.gcode.top.cnc,
7165 tests/golden/hid_gcode8/gcode_oneline.gcode.back.cnc,
7166 tests/golden/hid_gcode8/gcode_oneline.gcode.bottom.cnc,
7167 tests/golden/hid_gcode8/gcode_oneline.gcode.front.cnc,
7168 tests/golden/hid_gcode8/gcode_oneline.gcode.top.cnc,
7169 tests/golden/hid_gcode9/gcode_oneline.gcode.back.cnc,
7170 tests/golden/hid_gcode9/gcode_oneline.gcode.bottom.cnc,
7171 tests/golden/hid_gcode9/gcode_oneline.gcode.front.cnc,
7172 tests/golden/hid_gcode9/gcode_oneline.gcode.top.cnc,
7173 tests/golden/hid_gerber1/gerber_oneline.back.gbr,
7174 tests/golden/hid_gerber1/gerber_oneline.bottom.gbr,
7175 tests/golden/hid_gerber1/gerber_oneline.front.gbr,
7176 tests/golden/hid_gerber1/gerber_oneline.top.gbr,
7177 tests/golden/hid_gerber2/out.back.gbr,
7178 tests/golden/hid_gerber2/out.bottom.gbr,
7179 tests/golden/hid_gerber2/out.front.gbr,
7180 tests/golden/hid_gerber2/out.top.gbr, tests/tests.list: Fix
7181 test-suite files to match component->front and solder->back rename Test-suite now passes again.
7183 2011-04-20 Peter Clifton * pcjc2 AT cam dot ac dot uk *
7185 * src/crosshair.c: hid/common: Draw the hole outline for pins / vias
7186 being moved or placed
7188 2011-04-21 Peter Clifton * pcjc2 AT cam dot ac dot uk *
7190 * src/crosshair.c: crosshair.c: Use a dummy via structure to draw
7193 2011-04-20 Peter Clifton * pcjc2 AT cam dot ac dot uk *
7195 * src/crosshair.c, src/draw.c, src/global.h, src/hid.h,
7196 src/hid/common/draw_helpers.c, src/hid/common/draw_helpers.h,
7197 src/hid/common/hidnogui.c: Consolidate pin / via drawing routines,
7198 moving them under the HID API Adds two new HID APIs, fill_pcb_pv and thindraw_pcb_pv, splitting
7199 drawing code from DrawPadLowlevel() to common_fill_pcb_pv() and
7200 common_thindraw_pcb_pv() in hid/common/draw_helpers.c. Octagonal vias and pins are now correctly drawn when attached to the
7203 2011-04-20 Peter Clifton * pcjc2 AT cam dot ac dot uk *
7205 * src/crosshair.c, src/draw.c, src/global.h, src/hid.h,
7206 src/hid/common/draw_helpers.c, src/hid/common/draw_helpers.h,
7207 src/hid/common/hidnogui.c: Consolidate pad drawing routines, moving
7208 them under the HID API Adds two new HID APIs, fill_pcb_pad and thindraw_pcb_pad, splitting
7209 drawing code from DrawPadLowlevel() to common_fill_pcb_pad() and
7210 common_thindraw_pcbpad() in hid/common/draw_helpers.c. I simplified the code somewhat as I moved it, reducing the number of
7211 special cases. gui->{thindraw|fill}_pcb_pad() is called from DrawPadLowlevel(), and
7212 is used to replace an incomplete thindraw implementation for pads in
7213 XORDrawElement(). Outlines for angled pads are now drawn in their entirety when
7214 attached to the cursor, not just their center line, and rounded end
7215 pads are also now drawn correctly in this mode.
7217 2011-04-20 Peter Clifton * pcjc2 AT cam dot ac dot uk *
7219 * src/hid/batch/batch.c, src/hid/common/draw_helpers.c,
7220 src/hid/common/draw_helpers.h, src/hid/common/extents.c,
7221 src/hid/gcode/gcode.c, src/hid/gerber/gerber.c,
7222 src/hid/gtk/gtkhid-main.c, src/hid/lesstif/main.c,
7223 src/hid/nelma/nelma.c, src/hid/png/png.c, src/hid/ps/eps.c,
7224 src/hid/ps/ps.c: hid/common: Provide a helper function for HIDs to
7225 use drawing helpers Gives the following changes to various HIDs: extents: now has thindraw_polygon implemented - should not be an
7226 issue gcode: now has thindraw_polygon implemented - should not
7227 be an issue gerber: now has thindraw_polygon implemented - should
7228 not be an issue nelma: now has thindraw_polygon implemented -
7229 should not be an issue png: now has thindraw_polygon implemented
7230 - should not be an issue eps: now has thindraw_polygon
7231 implemented - should not be an issue ps: now has
7232 thindraw_polygon implemented - should not be an issue batch: no
7233 longer has NOP fill_pcb_polygon and thindraw_pcb_polygon routines -
7234 should not be an issue, as the drawing calls the common helper
7235 routines use are still NOPs for the batch HID.
7237 2011-04-20 Peter Clifton * pcjc2 AT cam dot ac dot uk *
7239 * src/hid/common/draw_helpers.c: hid/common: Some formatting changes
7242 2011-04-20 Peter Clifton * pcjc2 AT cam dot ac dot uk *
7244 * src/hid/gcode/gcode.c, src/hid/png/png.c: Add missing HID
7245 structure zero initialisation for gcode and png HIDs. Missed from commit commit d67f4335b5d4f97330448b833ea1bf04377c3a57 "Initialise the HID vtable by function, rather than as a struct
7246 initialiser." I missed the memset from these two HIDs.
7248 2011-04-19 Peter Clifton * pcjc2 AT cam dot ac dot uk *
7250 * src/draw.c: draw.c: Fix damage area computation We should reset the left and top bounds to MAXINT, and the right and
7251 bottom bounds to -MAXINT. This way the correct bounds are computed
7252 when gathering. The code previously every coordinate to 0, meaning that the box
7253 encompasing (0, 0) up to the (max_x, max_y) would be invalidated,
7254 rather than (min_x, min_y) to (max_x, max_y). No improvement is going to be seen, as both the GTK and Lesstif GUIs
7255 ignore the damaged bounds and repaint the whole screen each time -
7256 it is just for correctness.
7258 2011-04-18 Peter Clifton * pcjc2 AT cam dot ac dot uk *
7260 * src/crosshair.c, src/crosshair.h, src/hid/lesstif/main.c: Don't
7261 abuse CrosshairOn() API to force a redraw. Expose DrawAttached() to the HIDs so they can call it themselves,
7262 and don't have to cheat by forcing Crosshair.On to false. Make DrawAttached() and DrawMark() a NOP if the relevant item is not
7263 being shown. Ie. if !Crosshair.On, both functions draw nothing. If
7264 !Marked.status, DrawMark() draws nothing. A minor change is required in CrosshairOff() to XOR un-draw before
7265 switching the flag to off. Not known to fix any particular bug, but it is possible that the
7266 crosshair should not be drawn at a given point (due to changes
7267 taking place inside a HideCrosshair() / RestoreCrosshair() pair. Tested with Lesstif and GTK HIDs.
7269 2011-04-18 Peter Clifton * pcjc2 AT cam dot ac dot uk *
7271 * src/crosshair.c, src/hid/gtk/gui-output-events.c: hid/gtk: Don't
7272 call CrosshairOn() when re-entering the viewport The GTK HID doesn't turn the crosshair off, so we don't turn it back
7273 on if we default to having it switched on in the first place. Make
7274 that default change, and remove the CrosshairOn() call. (Also tested not to break the Lesstif HID).
7276 2011-04-18 Peter Clifton * pcjc2 AT cam dot ac dot uk *
7278 * src/Makefile.am, src/hid/batch/batch.c, src/hid/bom/bom.c,
7279 src/hid/common/extents.c, src/hid/gcode/gcode.c,
7280 src/hid/gerber/gerber.c, src/hid/gtk/gtkhid-main.c,
7281 src/hid/lesstif/main.c, src/hid/lpr/lpr.c, src/hid/nelma/nelma.c,
7282 src/hid/nelma/nelma.h, src/hid/png/png.c, src/hid/png/png.h,
7283 src/hid/ps/eps.c, src/hid/ps/ps.c: Initialise the HID vtable by
7284 function, rather than as a struct initialiser. This allows adding new items without having to update every HID. It
7285 also reduces bloat for those HIDs which have a lot of zero entries.
7287 2011-04-12 DJ Delorie * dj AT delorie dot com *
7289 * src/misc.c: Add t/b synonyms for group list Allow 't' as well as 'c', and 'b' as well as 's', in the groups
7292 2011-03-31 Ineiev * ineiev AT users dot berlios dot de *
7294 * src/hid/png/png.c: Fix potential segfault Closes-bug: lp-699290 (sf-2669324)
7296 2011-04-11 DJ Delorie * dj AT delorie dot com *
7298 * src/hid/common/flags.c: Update file names to top/bottom convention Yes, I know this will break some scripts - mine included. I
7299 couldn't think of a good way to auto-detect when the old names
7302 2011-04-11 DJ Delorie * dj AT delorie dot com *
7304 * src/draw.c: Remove (now) unused variable.
7306 2011-04-11 DJ Delorie * dj AT delorie dot com *
7308 * src/draw.c: Don't draw an empty outline layer. If the design has an outline layer, and it's empty, draw an outline
7309 anyway - around the whole work area.
7311 2011-04-11 DJ Delorie * dj AT delorie dot com *
7313 * src/hid/ps/ps.c: Fix PS rect/outline logic PS's draw_rect was actually doing a fill_rect. Fixed. If the design has an outline layer, draw it in more of the cases
7314 where we would draw the synthetic outline.
7316 2011-04-11 DJ Delorie * dj AT delorie dot com *
7318 * src/misc.c, src/misc.h: Add IsEmpty functions Add functions to test if a given layer or layer group is "empty" -
7319 i.e. has none of its own drawing items on it.
7321 2011-04-11 DJ Delorie * dj AT delorie dot com *
7323 * src/hid/gerber/gerber.c: Fix gerber output Use the correct DRC minimums for drawn outlines on silk and copper
7324 layers. Draw rectangles as unfilled, not filled.
7326 2011-04-11 DJ Delorie * dj AT delorie dot com *
7328 * src/main.c: Tweak default layer stack. Change the default layer stack to reflect a six layer board,
7329 allowing for 2 or 4 layer designs with the same stack. Add an
7330 outline layer by default. Change the default names from
7331 "component/solder" to "top/bottom" to be consistent with names used
7332 by popular packages.
7334 2011-04-08 Krzysztof Kościuszkiewicz * k dot kosciuszkiewicz AT gmail dot com *
7336 * src/gpcb-menu.res, src/pcb-menu.res: Change menu location of "Move
7337 to current layer" To be consistent with other menu actions (like Flip/Flip selected): * "Move to current layer" is now located in the Info > Key
7338 bindings, * "Move selected to current layer" is now located in the
7339 Select menu. Closes-bug: lp-699106
7341 2011-04-01 Felix Ruoff * Felix AT posaunenmission dot de *
7343 * src/hid/gtk/gui-dialog.c: hid/gtk: Select adequate folder in
7344 file-save-dialog Since now, the 'Save layout as' - dialog gives full path and
7345 filename in name-line, but did not switches to given path in
7346 folder-list (lower part of the dialog). For me, this is
7347 uncomfortable, e.g. if I just want to switch to another near-by -
7348 folder. This solution was suggested by Krzysztof Kościuszkiewicz. Thank
7349 you! Closes-lp: 699491 Reviewed-by: Krzysztof Kościuszkiewicz * k dot
7350 kosciuszkiewicz AT gmail dot com *
7352 2011-04-07 Felix Ruoff * Felix AT posaunenmission dot de *
7354 * src/hid/gtk/gui-library-window.c: hid/gtk: expand library tree
7355 after filtering This patch changes the behavior of the library selection dialog.
7356 After filtering by name is applied the tree view of matching
7357 components is automatically expanded so that all leafs are
7358 immediately selectable. The tree view is collapsed when the filter
7359 is cleared. Patch is adapted from Krzysztof Kosciuszkiewicz's patch for gschem. Closes-bug: lp-753643 Reviewed-by: Krzysztof Kościuszkiewicz * k
7360 dot kosciuszkiewicz AT gmail dot com *
7362 2011-04-06 Peter Clifton * pcjc2 AT cam dot ac dot uk *
7364 * src/hid/gtk/gui-output-events.c, src/hid/gtk/gui.h: hid/gtk:
7365 Consolidate the mechanisms used for holding off scrollbar updates Don't duplicate mechanisms - it is confusing!
7367 2011-04-06 Peter Clifton * pcjc2 AT cam dot ac dot uk *
7369 * src/hid/gtk/gui-top-window.c: hid/gtk: Remove unused variables
7370 from {h,v}_adjument_changed_cb()
7372 2011-04-06 Peter Clifton * pcjc2 AT cam dot ac dot uk *
7374 * src/hid/gtk/gtkhid-gdk.c, src/hid/gtk/gui-output-events.c:
7375 hid/gtk: Only redraw the crosshair when necessary If we're about to repaint the screen from our backing pixmap, there
7376 is no point un-XOR drawing our current crosshair first.
7378 2011-04-06 Peter Clifton * pcjc2 AT cam dot ac dot uk *
7380 * src/crosshair.c: Don't issue CrosshairOff() from the
7381 DestroyCrosshair() function. We shouldn't assume we can make call GUI calls at this point. NB: The DestroyCrosshair() function is actually unused!
7383 2011-04-05 Ed Maste * emaste AT freebsd dot org *
7385 * configure.ac: Small change to get pcb to build on FreeBSD Add check for wish 8.5
7387 2011-04-06 Peter Clifton * pcjc2 AT cam dot ac dot uk *
7389 * src/action.c: action.c: Remove some unneded crosshair hide/restore
7390 calls Removed calls from various actions which should not have any effect
7391 on the objects drawn attached to the crosshair.
7393 2011-04-06 Peter Clifton * pcjc2 AT cam dot ac dot uk *
7395 * src/action.c: action.c: In ActionLoadFrom(), only hide the
7396 crosshair where required
7398 2011-04-06 Peter Clifton * pcjc2 AT cam dot ac dot uk *
7400 * src/action.c: action.c: In ActionUnselect(), only hide the
7401 crosshair where required
7403 2011-04-06 Peter Clifton * pcjc2 AT cam dot ac dot uk *
7405 * src/action.c: action.c: In ActionSelect(), only hide the crosshair
7408 2011-04-06 Peter Clifton * pcjc2 AT cam dot ac dot uk *
7410 * src/action.c: action.c: In ActionDisplay(), Only invalidate
7411 crosshair where needed Rather than wrapping the whole function in a crosshair hide/restore,
7412 only do it for the sub-paths which require it.
7414 2011-04-06 Peter Clifton * pcjc2 AT cam dot ac dot uk *
7416 * src/action.c: action.c: Combine the crosshair / restore for all
7417 paths in click_cb() Reduces code duplication in the different sub-paths of this routine.
7419 2011-04-06 Peter Clifton * pcjc2 AT cam dot ac dot uk *
7421 * src/action.c, src/buffer.c, src/hid/gtk/gui-command-window.c,
7422 src/report.c: Don't undraw the crosshair attached object when
7423 showing dialogue prompts
7425 2011-04-06 Peter Clifton * pcjc2 AT cam dot ac dot uk *
7427 * src/action.c: action.c: Remove commented out line of code Left from commit 089fbaf59c78fe75475db737e7e2827cd745d570 (Initial
7428 C++ compatibility patch)
7430 2011-04-03 Peter Clifton * pcjc2 AT cam dot ac dot uk *
7432 * : Commit hook test This commit is deliberately blank, but should close bug lp-700413
7433 due to the line below. Closes-bug: lp-700413
7435 2011-02-11 Felix Ruoff * Felix AT posaunenmission dot de *
7437 * src/draw.c: Remove unused function DrawVText() used GDK; it shouldn't have been implemented this way in
7438 any case. Closes-bug: lp-717294
7440 2011-03-23 Felix Ruoff * Felix AT posaunenmission dot de *
7442 * src/hid/gtk/gui-dialog-print.c: Fix warning at exporting png with
7443 GTK+ GUI An 'Gtk-CRITICAL'-Error was thrown on opening the png-exporter
7444 dialog because there is no default-string for the 'png-bloat'
7445 option. Closes-bug: lp-740526
7447 2011-03-28 Peter Clifton * pcjc2 AT cam dot ac dot uk *
7449 * src/crosshair.c: crosshair.c: Remove comment which is no longer
7452 2011-03-27 Peter Clifton * pcjc2 AT cam dot ac dot uk *
7454 * src/action.c, src/buffer.c, src/crosshair.c, src/crosshair.h,
7455 src/draw.c, src/hid/gtk/gtkhid-gdk.c, src/hid/gtk/gtkhid-main.c,
7456 src/hid/gtk/gui-command-window.c, src/hid/gtk/gui-misc.c,
7457 src/hid/gtk/gui-output-events.c, src/hid/gtk/gui-top-window.c,
7458 src/hid/lesstif/main.c, src/misc.c, src/report.c, src/set.c: Remove
7459 BlockToo argument from various crosshair hide / restore functions Goodness knows what it is supposed to do, but everything appears to
7460 work fine without it. For the majority of cases, the argument passed
7461 is true. When passed as false, the effect is to surpress drawing an attached
7462 selection / rubberband rectangle in the AttachedBox.state ==
7463 STATE_THIRD state. Digging through the version control history, this code appears to
7464 have been present since the project was initially placed under CVS
7465 control. The 23 places this argument was previously false are: ActionMovePointer - HideCrosshair (false); - RestoreCrosshair (false); EventMoveCrosshair - RestoreCrosshair (false); ActionDisplay - RestoreCrosshair (false); ActionFreeRotateBuffer - HideCrosshair(false); - RestoreCrosshair(false); MoveCrosshairAbsolute - HideCrosshair (false); ghid_invalidate_all - RestoreCrosshair (FALSE); ScrollAction (GTK HID) - HideCrosshair (FALSE); - RestoreCrosshair (FALSE); ghid_port_ranges_changed - HideCrosshair (FALSE); ghid_note_event_location - RestoreCrosshair (false); idle_proc (Lesstif HID) - CrosshairOn (0); CenterDisplay - RestoreCrosshair(false); ReportDialog - HideCrosshair (false); - RestoreCrosshair (false); ReportFoundPins - HideCrosshair (false); - RestoreCrosshair (false); ReportNetLength - HideCrosshair (false); - RestoreCrosshair (false); SetLocalRef - RestoreCrosshair (false); - HideCrosshair (false); - RestoreCrosshair (false);
7467 2011-03-27 Peter Clifton * pcjc2 AT cam dot ac dot uk *
7469 * src/action.c, src/crosshair.c, src/crosshair.h: Remove visibility
7470 overriding argument from DrawMark() Because of the places it was used, we can gaurantee this doesn't
7471 change any behaviour - the mark visibility status is always correct,
7472 so doesn't need overriding.
7474 2011-03-27 Peter Clifton * pcjc2 AT cam dot ac dot uk *
7476 * src/hid/gtk/gtkhid-gdk.c: hid/gtk: g_return_if_reached() for
7477 receipt of gui->use_mask(HID_MASK_BEFORE) This means one less untranslated printf which is never hit. If for
7478 some reason the core sends us one of these - logging a warning and
7479 continuing is probably better than a hard abort()
7481 2011-03-26 Peter Clifton * pcjc2 AT cam dot ac dot uk *
7483 * src/draw.c: draw.c: Don't make GUI drawing calls to erase objects Changing the colour here is unnecessary (as drawing is deferred).
7484 Delete the gui->set_color() calls.
7486 2011-03-26 Peter Clifton * pcjc2 AT cam dot ac dot uk *
7488 * src/change.c, src/find.c: Allow zero clearance pads and pins to
7489 touch polygons This was already supported for vias, lets be consistent.
7491 2011-03-27 Peter Clifton * pcjc2 AT cam dot ac dot uk *
7493 * src/draw.c: draw.c: Fix mask drawing at high zooms (only draw the
7494 bit on-screen) This probably papers over a bug in the GTK hid's fill_rect routine,
7495 as the only reason this should fix anything is because it avoids
7496 coordinate overflow at high zoom. The GTK hid really ought to clip coords to the screen before
7497 transforming them for rendering.
7499 2011-03-27 Peter Clifton * pcjc2 AT cam dot ac dot uk *
7501 * src/draw.c: draw.c: Tidy up mask drawing code Since the gerber HID now supports putting the outline on various
7502 layers, we can also safely remove the commented out code for doing
7505 2011-03-26 Peter Clifton * pcjc2 AT cam dot ac dot uk *
7507 * src/hid/gtk/gtkhid-main.c: hid/gtk: Make benchmark()
7508 implementation suit multiple drawing models Invalidate and process updates, rather than calling redraw directly.
7509 This suits the coming GL renderer which will use an
7510 invalidate/expose model.
7512 2011-03-26 Peter Clifton * pcjc2 AT cam dot ac dot uk *
7514 * src/hid/gtk/gtkhid-gdk.c, src/hid/gtk/gtkhid-main.c,
7515 src/hid/gtk/gui.h: hid/gtk: Move set_layer function into GDK
7516 specific code. Not that this is particularly GDK specific, just that the GL
7517 renderer hopefully coming soon needs to do some extra work.
7519 2011-03-27 Peter Clifton * pcjc2 AT cam dot ac dot uk *
7521 * src/hid/gtk/gtkhid-gdk.c, src/hid/gtk/gui-output-events.c,
7522 src/hid/gtk/gui.h: hid/gtk: Add hooks to tell the render when we
7523 start/stop drawing This is necessary if the renderer requires certain state to be
7524 configured before its drawing calls can be operated.
7526 2011-03-27 Peter Clifton * pcjc2 AT cam dot ac dot uk *
7528 * src/hid/gtk/gtkhid-gdk.c, src/hid/gtk/gui-pinout-preview.c,
7529 src/hid/gtk/gui-top-window.c, src/hid/gtk/gui.h: hid/gtk: Add hooks
7530 for the renderer to initalise drawing widgets
7532 2011-03-26 Peter Clifton * pcjc2 AT cam dot ac dot uk *
7534 * src/hid/gtk/gui-top-window.c: hid/gtk: Remove some unnecessary
7535 gtk_widget_realize() calls.
7537 2011-03-26 Peter Clifton * pcjc2 AT cam dot ac dot uk *
7539 * src/hid/gerber/gerber.c: hid/gerber: Remove unused variables
7540 outline_trace_size and absolute Left over accidentally from commit
7541 35b137c3e193471e07f0873dfb149cebd059dca2
7543 2011-03-26 Peter Clifton * pcjc2 AT cam dot ac dot uk *
7545 * src/hid/gtk/gtkhid-gdk.c, src/hid/gtk/gui-output-events.c,
7546 src/hid/gtk/gui-top-window.c, src/hid/gtk/gui.h: hid/gtk: Create a
7547 private structure for the gdk render backend This is in an effort to isolate some of its internals from the rest
7548 of the GTK hid. Also create a hook for configure events on the main drawing area to
7549 allow the renderer to reconfigure its-self as necessary as the area
7552 2011-03-26 Peter Clifton * pcjc2 AT cam dot ac dot uk *
7554 * src/Makefile.am, src/hid/gtk/gtkhid-gdk.c,
7555 src/hid/gtk/gui-output-events.c, src/hid/gtk/gui-pinout-preview.c,
7556 src/hid/gtk/gui-render-pixmap.c, src/hid/gtk/gui-top-window.c,
7557 src/hid/gtk/gui.h: hid/gtk: Move more GDK specific routines to
7560 2011-03-26 Peter Clifton * pcjc2 AT cam dot ac dot uk *
7562 * src/hid/gerber/gerber.c: hid/gerber: Remove option for thickness
7563 of auto-generated outline layer We don't mess with the thickness of the user's hand-drawn outline,
7564 and this option implies that we do. I cannot think of a sensible way
7565 to present the option without confusing the user, so lets remove it. Whilst the previous default of 10 mil was fine, 8 mil matches the
7566 width used on the fab drawing, so I have changed to that value.
7568 2011-03-26 Peter Clifton * pcjc2 AT cam dot ac dot uk *
7570 * src/print.c: src/print.c: Fix fab drawing width text annotation. The text hard-coded that the outline is 10mil, in fact it is not,
7571 the current #define sets it at 8 mil. Report the actual value used.
7573 2011-03-23 Ineiev * ineiev AT users dot berlios dot de *
7575 * src/hid/gtk/gui-misc.c: suppress annoying decimals in relative
7576 coordinates The threshold for non-aligned object is increased because in case of
7577 relative coordinates the round-off error may double. Closes-bug: lp-699452 (sf-2117383) Closes-bug: lp-699169
7580 2011-03-22 DJ Delorie * dj AT delorie dot com *
7582 * src/file.c, src/global.h: Save footprints as footprints. If the user loads a footprint as a PCB (i.e. File->Load) and tries
7583 to save it, save only the elements in the pcb, not the whole pcb.
7585 2011-03-22 DJ Delorie * dj AT delorie dot com *
7587 * src/misc.c, src/misc.h: Fix mkdir() in plugins. Plugins include misc.h without having a valid config.h, which meant
7588 they'd get a build error. This patch moves the error check into
7589 pcb's misc.c, which always has a config.h, and lets plugins have a
7590 MKDIR() macro that uses pcb's detected values.
7592 2011-03-22 DJ Delorie * dj AT delorie dot com *
7594 * src/hid/gerber/gerber.c: Add copy-outline mode New gerber export options to copy the outline layer onto one or more
7595 other layers. Some fabs want the outline separate; others want it
7596 on a "working" layer.
7598 2011-03-22 DJ Delorie * dj AT delorie dot com *
7600 * src/misc.c: Allow space between value and units in GetValue().
7602 2011-03-22 Ineiev * ineiev AT users dot berlios dot de *
7604 * src/polygon.c: simplify an expression return to the form written in d5d894d977e610 (lost in
7607 2011-03-06 Ineiev * ineiev AT users dot berlios dot de *
7609 * src/action.c, src/const.h, src/crosshair.c, src/gpcb-menu.res,
7610 src/hid/gtk/gui-misc.c, src/misc.c, src/misc.h, src/pcb-menu.res,
7611 src/set.c, src/set.h: (GTK HID) fix annoying decimals When in metric grid mode, the coordinates are displayed with
7612 irregular tails of nines, e.g. "116.9998 43.9999" when the grid is
7613 set to 1mm. The fix includes using more precise metric-to-imperial and crosshair
7614 calculations and fitting crosshair values into metric grids. To address the issue in a really reliable way we need at least one
7615 more separate variable, to explicitly mark the grid as metric (as
7616 opposed to the displayed units); this flag should also be saved in
7617 PCB files. First reported by Kai-Martin Knaak. Closes-bug: lp-699452 (sf-2117383) Closes-bug: lp-699169
7620 2009-11-27 Ineiev * ineiev AT users dot berlios dot de *
7622 * doc/pcb.texi: fix sections hierarhy
7624 2010-12-07 Felix Ruoff * Felix AT posaunenmission dot de *
7626 * src/action.c, src/buffer.c, src/djopt.c, src/fontmode.c,
7627 src/hid/gtk/gui-top-window.c, src/move.c: Cleanup action
7628 documentation Add missing documentation * Display(ToggleLockNames) * Display(ToggleOnlyNames) * Select(Object) Remove invalid documentation * Connection(Measure) * Display(Scroll, Direction) * Display(Step, direction, amount, units) Cosmetic modifications: * dots at end of sentences * capital letter at start of sentences * remove some curious signs at the beginning of some lines. * fix a couple of typos Closes-bug: lp-699506
7630 2011-03-12 DJ Delorie * dj AT delorie dot com *
7632 * src/misc.h: Make io.h inclusion conditional on the mingw case.
7634 2011-01-23 Bob Paddock * bobpspam AT gmail dot com *
7636 * configure.ac, m4/m4_ax_func_mkdir.m4, src/hid/common/hidinit.c,
7637 src/hid/gtk/gui-config.c, src/misc.h: mkdir() takes only one
7638 argument under WIN32. Add check whether mkdir() is mkdir or _mkdir, and whether it takes
7639 one or two arguments. WIN32 mkdir takes one argument and POSIX
7640 takes two. Use MKDIR() macro from misc.h everyplace to get correct behavior
7641 depending on platform.
7643 2011-01-23 Bob Paddock * bobpspam AT gmail dot com *
7645 * configure.ac, src/action.c, src/hid/png/png.c, src/main.c: Use
7646 rand() in place of random(). The 'random', 'srandom', functions are those from BSD derived
7647 UNIX's, and may not be available under WIN32. The 'rand' and
7648 'srand' functions are required by the ANSI standard. rand(): Return a random integer between 0 and RAND_MAX inclusive.
7649 random(): Return a random long integer between 0 and RAND_MAX
7650 inclusive. Standard MinGW stdlib.h only supports rand() and RAND_MAX is limited
7651 to the 32 bit value of 32767, which is significantly smaller than
7652 that returned by random(). This turncation of range should not
7653 effect usage in our application. Added srand( time(NULL) ) to main.c to set the seed.
7655 2010-12-31 Bert Timmerman * bert dot timmerman AT xs4all dot nl *
7657 * po/LINGUAS: Added an entry for the Dutch translation in LINGUAS.
7659 2010-12-31 Bert Timmerman * bert dot timmerman AT xs4all dot nl *
7661 * po/nl.po: First issue of the Dutch translation.
7663 2011-02-14 Krzysztof Kosciuszkiewicz * k dot kosciuszkiewicz AT gmail dot com *
7665 * src/hid/gtk/gui-library-window.c: hid/gtk: handle CTRL-C in
7666 library window Handle CTRL-C keypress in library window and copy name of the
7667 selected component into the default GTK clipboard. The change facilitates workflow where one browses footprints in pcb
7668 and copies component names into gattrib or gschem.
7670 2011-03-10 Felix Ruoff * Felix AT posaunenmission dot de *
7672 * doc/pcb.texi: Describe layer groupings in GTK+ GUI Add information to the documentation where the 'Edit Layer Grouping'
7673 option can be found in the GTK+ GUI. Closes-bug: lp-699175
7675 2011-03-07 Kai-Martin Knaak * kmk AT lilalaser dot de *
7677 * doc/pcb.texi: expand the regexp appendix in pcb manual * Add special character "|" to concatenate * Add special character $" to denote the end of a string * Mention the special meaning of brackets. * Make the table of examples conform to "example -> description" rather than the other way round. * Add examples for the use of "|", "[]" and "{}". Closes-bug: lp-723931
7679 2011-01-31 Markus Hitter * mah AT jump-ing dot de *
7681 * gts/.gitignore, tests/.gitignore: Clean up "git status" output. Closes-bug: lp-710719
7683 2011-02-25 Stephen Ecob * silicon dot on dot inspiration AT gmail dot com *
7685 * src/draw.c: better heuristics for paste openings Prohibit paste windows wider than mask ones (suggested by Kai-Martin
7686 Knaak). Suppress zero width paste windows (suggested by DJ Delorie). Discussed on
7687 http://www.seul.org/pipermail/geda-user/2011-February/052413.html Closes-bug: lp-718342
7689 2011-02-25 Peter Clifton * pcjc2 AT cam dot ac dot uk *
7691 * src/autoroute.c: Fix auto-router - we need to actually increment
7692 the dir variable! Was broken accidentally in commit
7693 5f0f788dc12a10a3c01ade7cf00d5ed63922ca47 (Initial C++ compatibility patch)
7695 2011-02-21 Ineiev * ineiev AT users dot berlios dot de *
7697 * src/polygon.c: fix polygon regression Introduced by 2d8dc8a3a3a55158b4e6278dd9f40588e4111c2d Reported by Kai-Martin Knaak
7699 2011-02-19 Peter Clifton * pcjc2 AT cam dot ac dot uk *
7701 * src/draw.c: Fix solder mask drawing glitch in pcb Applied patch from lp-699498 by rdrehmel Closes-bug: lp-699498
7703 2011-02-10 DJ Delorie * dj AT delorie dot com *
7705 * src/strflags.c: Use onsolder for text, not auto. The flags table wasn't using onsolder for text, which meant the
7706 default "auto" was used for it, which doesn't make sense. This
7707 makes text on the solder side use the "onsolder" name instead.
7709 2011-01-27 DJ Delorie * dj AT delorie dot com *
7711 * src/hid/lesstif/main.c: Conditionally use "class" or "c_class"
7712 depending on the compiler language. The X11 headers define some classes differently based on whether
7713 they're being used for C or C++, so we have to make our access to
7714 them conditional also.
7716 2011-01-27 DJ Delorie * dj AT delorie dot com *
7718 * src/hid/batch/batch.c: C++ compatibility for the batch HID. Just a keyword rename (xor).
7720 2011-01-27 DJ Delorie * dj AT delorie dot com *
7722 * src/hid/lesstif/dialogs.c, src/hid/lesstif/lesstif.h,
7723 src/hid/lesstif/main.c, src/hid/lesstif/menu.c,
7724 src/hid/lesstif/styles.c: C++ compatibility for the lesstif HID. Minor changes - casts, consts, keyword renames, so that the lesstif
7725 HID can be compiled as C or C++.
7727 2011-01-27 Peter Clifton * pcjc2 AT cam dot ac dot uk *
7729 * src/change.c: change.c: Restore and clear to polygons when
7730 changing hole sizes This is more consistent with other code-paths and is useful if the
7731 thermal gemoetry were to depend in on the hole size (which it
7732 doesn't currently, but used to do before the clipper branch).
7734 2011-01-24 Markus Hitter * mah AT jump-ing dot de *
7736 * configure.ac: configure.ac: remove the now obsolete test for
7737 gethostname(). No longer required since commit
7738 00c556b02dfa0113eab62b894eff4cf5d55b8e5f Reviewed-by: Peter Clifton * pcjc2 AT cam dot ac dot uk *
7739 Affects-bug: lp-703914
7741 2011-01-23 Markus Hitter * mah AT jump-ing dot de *
7743 * doc/gs/fb-blinker.pcb, doc/gs/fb-led-5.pcb, doc/gs/fb-led.pcb,
7744 doc/gs/fb-smt.pcb, doc/gs/term-annulus-1.pcb,
7745 doc/gs/term-clearance-1.pcb, doc/gs/term-element-1.pcb,
7746 doc/gs/term-pad-1.pcb, doc/gs/term-pin-1.pcb,
7747 doc/gs/term-platedhole-1.pcb, doc/gs/term-tented-1.pcb,
7748 doc/gs/term-thermal-1.pcb, doc/gs/term-thickness-1.pcb,
7749 doc/pad.pcb, doc/puller.pcb, doc/thermal.pcb, example/LED.pcb,
7750 example/LED2.pcb, tests/inputs/bom_general.pcb,
7751 tests/inputs/gcode_oneline.pcb, tests/inputs/gerber_oneline.pcb,
7752 tutorial/tut1.pcb: Remove all date, user and host comments on all
7753 test and sample files. These items are no longer written, so sample files shouldn't contain
7754 them either. Usually, this was line 2...4. Reviewed-by: Peter Clifton * pcjc2 AT cam dot ac dot uk *
7755 Affects-bug: lp-703914
7757 2011-01-23 Markus Hitter * mah AT jump-ing dot de *
7759 * src/file.c: src/file.c: don't write user name or date to the
7760 stored layout file. Notes from Peter Clifton: The consensus from bug lp-703914 was that that recording the
7761 username, data and host which produced the file is unnecessary and
7762 causes version control clashes which are otherwise unnecessary. Reviewed-by: Peter Clifton * pcjc2 AT cam dot ac dot uk *
7763 Closes-bug: lp-703914
7765 2011-01-22 Bob Paddock * bobpspam AT gmail dot com *
7767 * src/action.c: Compiling with MinGW requires cast to const for
7768 _spawnvp to compile without warning.
7770 2011-01-22 Bob Paddock * bobpspam AT gmail dot com *
7772 * src/hid/gcode/gcode.c, src/hid/nelma/nelma.c: Add missing
7773 Message() prototype to remove warning about same.
7775 2011-01-22 Bob Paddock * bobpspam AT gmail dot com *
7777 * src/polygon1.c: Initialize min_dist to zero before using in if().
7779 2011-01-23 Newell Jensen * pillar2012 AT gmail dot com *
7781 * configure.ac, src/action.c, src/autoplace.c, src/autoroute.c,
7782 src/change.c, src/create.c, src/dbus-pcbmain.c, src/draw.c,
7783 src/drill.c, src/edif.y, src/file.c, src/find.c, src/free_atexit.c,
7784 src/global.h, src/heap.c, src/hid.h, src/hid/bom/bom.c,
7785 src/hid/common/actions.c, src/hid/common/draw_helpers.c,
7786 src/hid/common/extents.c, src/hid/common/flags.c,
7787 src/hid/common/hid_resource.c, src/hid/common/hidinit.c,
7788 src/hid/common/hidnogui.c, src/hid/gcode/gcode.c,
7789 src/hid/gerber/gerber.c, src/hid/gtk/gtkhid-gdk.c,
7790 src/hid/gtk/gtkhid-main.c, src/hid/gtk/gui-command-window.c,
7791 src/hid/gtk/gui-config.c, src/hid/gtk/gui-dialog-print.c,
7792 src/hid/gtk/gui-dialog-size.c, src/hid/gtk/gui-dialog.c,
7793 src/hid/gtk/gui-drc-window.c, src/hid/gtk/gui-library-window.c,
7794 src/hid/gtk/gui-log-window.c, src/hid/gtk/gui-misc.c,
7795 src/hid/gtk/gui-netlist-window.c, src/hid/gtk/gui-output-events.c,
7796 src/hid/gtk/gui-pinout-preview.c, src/hid/gtk/gui-top-window.c,
7797 src/hid/gtk/gui-utils.c, src/hid/gtk/gui.h, src/hid/nelma/nelma.c,
7798 src/hid/png/png.c, src/hid/ps/eps.c, src/hid/ps/ps.c, src/insert.c,
7799 src/intersect.c, src/main.c, src/misc.c, src/move.c, src/mtspace.c,
7800 src/mymem.c, src/netlist.c, src/parse_l.l, src/parse_y.y,
7801 src/polygon.c, src/polygon1.c, src/puller.c, src/rats.c,
7802 src/rats.h, src/report.c, src/rtree.c, src/toporouter.c,
7803 src/undo.c, src/vector.c, src/vendor.c: Initial C++ compatibility
7804 patch Doesn't cover lesstif or batch hids. Makes source code build
7805 without warnings on C, and build with warnings on C++.
7807 2011-01-23 DJ Delorie * dj AT delorie dot com *
7809 * src/hid/lesstif/netlist.c: Add header for Draw() prototype. Silences a warning building the lesstif hid.
7811 2011-01-23 DJ Delorie * dj AT delorie dot com *
7813 * src/edif.y: FindContext() takes an int, not a pointer.
7815 2011-01-14 Markus Hitter * mah AT jump-ing dot de *
7817 * INSTALL: INSTALL: add instructions on how to create configure. Closes-bug: lp-702484
7819 2011-01-07 Jared Casper * jaredcasper AT gmail dot com *
7821 * configure.ac: Heed and remove warning issued by autoconf 2.68. Starting in autoconf 2.68, "the macros AC_PREPROC_IFELSE,
7822 AC_COMPILE_IFELSE, AC_LINK_IFELSE, and AC_RUN_IFELSE now warn if the
7823 first argument failed to use AC_LANG_SOURCE or AC_LANG_PROGRAM to
7824 generate the conftest file contents." Closes-bug: lp-700180 Reviewed-by: Peter Clifton * pcjc2 AT cam dot ac *
7826 2009-02-20 Ineiev * ineiev AT users dot sourceforge dot net *
7828 * src/hid/gtk/gui-output-events.c: hid/gtk: Fix disappearing
7829 reference mark Fixes the following symptoms (Bug sf-1882970 reported by Steven
7830 Michalske): (0) when the cursor leaves the window, the mark disappears (with attached objects); when the cursor enters again, the mark is redrawn only if there are any attached objects; (1) When there are no attached objects, the mark disappears on button press, but is not redrawn again when button press and release form a click. (Commit message edited by Peter Clifton * pcjc2 AT cam dot ac dot
7831 uk *) Reviewed-by: Peter Clifton * pcjc2 AT cam dot ac dot uk * Closes-bug: lp-699244 Closes-bug: lp-699453
7833 2011-01-11 DJ Delorie * dj AT delorie dot com *
7835 * src/hid/lpr/lpr.c, src/hid/ps/ps.c: Fix postscript page scaling Calculate page sizes *after* selecting the page, not before.
7837 2011-01-10 DJ Delorie * dj AT delorie dot com *
7839 * src/misc.c: Calculate text bounding boxes based on that actual
7840 drawn glyphs. Previously, a text's bounding box was calculated based on overall
7841 font metrics, not the actual glyphs. This meant that text clearing
7842 a polygon would have far more space around it than called for.
7844 2011-01-10 DJ Delorie * dj AT delorie dot com *
7846 * src/file.c: Make new PCB active during parsing Set the global PCB pointer to the "new" pcb while it's being loaded.
7847 Some of the creation functions use the DRC values in PCB to compute,
7848 for example, bounding boxes. Before, it used whatever was hanging
7849 around in the previous PCB (or the default values).
7851 2011-01-09 DJ Delorie * dj AT delorie dot com *
7853 * Makefile.am, configure.ac, gts/.gitignore, gts/Makefile.am,
7854 gts/NOTES, gts/bbtree.c, gts/boolean.c, gts/cdt.c, gts/container.c,
7855 gts/curvature.c, gts/edge.c, gts/eheap.c, gts/face.c, gts/fifo.c,
7856 gts/graph.c, gts/gts-private.h, gts/gts.h, gts/heap.c,
7857 gts/hsurface.c, gts/iso.c, gts/isotetra.c, gts/kdtree.c,
7858 gts/matrix.c, gts/misc.c, gts/named.c, gts/object.c, gts/oocs.c,
7859 gts/partition.c, gts/pgraph.c, gts/point.c, gts/predicates.c,
7860 gts/predicates.h, gts/psurface.c, gts/refine.c, gts/rounding.h,
7861 gts/segment.c, gts/split.c, gts/stripe.c, gts/surface.c,
7862 gts/triangle.c, gts/tribox3.c, gts/vertex.c, gts/vopt.c,
7863 src/Makefile.am, src/gts/.gitignore, src/gts/NOTES,
7864 src/gts/bbtree.c, src/gts/boolean.c, src/gts/cdt.c,
7865 src/gts/container.c, src/gts/curvature.c, src/gts/edge.c,
7866 src/gts/eheap.c, src/gts/face.c, src/gts/fifo.c, src/gts/graph.c,
7867 src/gts/gts-private.h, src/gts/gts.h, src/gts/heap.c,
7868 src/gts/hsurface.c, src/gts/iso.c, src/gts/isotetra.c,
7869 src/gts/kdtree.c, src/gts/matrix.c, src/gts/misc.c,
7870 src/gts/named.c, src/gts/object.c, src/gts/oocs.c,
7871 src/gts/partition.c, src/gts/pgraph.c, src/gts/point.c,
7872 src/gts/predicates.c, src/gts/predicates.h, src/gts/psurface.c,
7873 src/gts/refine.c, src/gts/rounding.h, src/gts/segment.c,
7874 src/gts/split.c, src/gts/stripe.c, src/gts/surface.c,
7875 src/gts/triangle.c, src/gts/tribox3.c, src/gts/vertex.c,
7876 src/gts/vopt.c: Add top-level build changes to enable C++
7877 compilation This patch moves GTS (gts.sourceforce.net) out of the src/ tree and
7878 gives it its own Makefile, and changes src/Makefile.am so that C++
7879 compilation is used if configure requests it. ./configure --enable-build-with-cxx ./configure
7880 --disable-build-with-cxx (the default is disable at the moment) Makefiles with these lines will use C++ if the user requests it: CC = @CC_OR_CXX@ CFLAGS = @CC_OR_CXX_FLAGS@
7882 2011-01-07 DJ Delorie * dj AT delorie dot com *
7884 * src/buffer.c: Support far-side polygons when converting buffer to
7887 2011-01-07 DJ Delorie * dj AT delorie dot com *
7889 * src/action.c: Fix command-injection bug in Import() Use "--" before the list of schematics, to prevent the src list from
7890 containing other gnetlist options (or arbitrary guile code)
7892 2011-01-07 Peter Clifton * pcjc2 AT cam dot ac dot uk *
7894 * src/hid/gtk/gui-top-window.c: hid/gtk: Fix prelight state for
7895 layer button to show current status One of the ways we identify whether a layer is switched on or off is
7896 by changing the background colour of the GtkToggleButton
7897 representing that layer. Fix the prelight (mouse-over) background style to match the current
7898 button state, so as to give immediate feed-back when the user
7899 presses the button, and make the interface less confusing. Closes-bug: lp-699150
7901 2010-12-28 Felix Ruoff * Felix AT posaunenmission dot de *
7903 * src/hid/gtk/gui-command-window.c, src/hid/gtk/gui-dialog-size.c,
7904 src/hid/gtk/gui-misc.c, src/hid/gtk/gui-output-events.c,
7905 src/hid/gtk/gui-top-window.c: hid/gtk: Modify window title to match
7906 the GNOME Human Interface Guidelines Modifies the title of the main window as suggested in the GNOME HIG:
7908 (http://library.gnome.org/devel/hig-book/nightly/windows-primary.html)The following will be shown there: - A star (*) if the layout has unsaved changes (this patch also removes this sign from the statusbar, where it currently is) - The name of the layout, if set in the config-dialog ('Put layout name on the window title bar') - The filename (in braces, if layout name is shown) - The string " - PCB" Closes-bug: lp-699509 Acked-by: Peter Clifton * pcjc2 AT cam dot ac
7909 dot uk * (Also modified commit message)
7911 2011-01-05 DJ Delorie * dj AT delorie dot com *
7913 * src/select.c: Fix "select pads on hidden far side" If an SMT pad is on the far side of the board, and the far side
7914 layer is not visible, do not select that pad. Exception: if that
7915 pad is part of an element which *is* on the visible side, the pad is
7916 selected as part of selecting the whole element. But, elements on
7917 the far side (the common case) won't have their pads selected when
7918 those pads aren't visible.
7920 2011-01-04 DJ Delorie * dj AT delorie dot com *
7922 * src/hid/lesstif/main.c: Allow zoom-out-past-board for Lesstif The lesstif GUI has been modified two ways: 1. You may zoom out "past" the board, making the board smaller than
7923 the window. Note that the crosshair is still limited to the board's
7924 extents. 2. You may pan the board so that edges need not be on the edge of
7925 the window, such as centering an edge for inspection. Note that the smallest the board can be is 1/10th the window size.
7926 While this is arbitrary, it's easily changed if needed, and avoids
7927 problems with miniscule boards (and thus maxiscule coordinate
7928 systems). The 'v' key still zooms the board to fit, but now centers the board
7929 in the window rather than placing it at the upper left.
7931 2011-01-04 DJ Delorie * dj AT delorie dot com *
7933 * src/hid/lesstif/netlist.c: ResetConncetions -> ResetConnections Typo.
7935 2011-01-04 DJ Delorie * dj AT delorie dot com *
7937 * src/hid/lesstif/menu.c: Fix lesstif segfault in key handling. When a key handler calls an action, the key table might change
7938 before the action returns (via nested key handlers), so save a
7939 pointer to the table we're parsing to ensure it will be around when
7942 2011-01-04 DJ Delorie * dj AT delorie dot com *
7944 * lib/geda.inc: Add 80-pin headers. Add 80 pin DIP and Ribbon 0.1" header macros to the usual list.
7946 2010-12-28 Peter Clifton * pcjc2 AT cam dot ac dot uk *
7948 * src/hid/gtk/gtkhid-main.c, src/hid/gtk/gui-netlist-window.c,
7949 src/hid/gtk/gui.h: hid/gtk: Fix warping pointer to correct location
7950 from netlist window We weren't updating the pointer location after having panned the
7951 connection into the center of the screen. Also fixes the open-coded panning code to work for flipped views.
7952 The patch is pretty horrible at best, but appears to fix the issue. Unfortunately the locical call to use (the "Center" action) cannot
7953 be made through the generic action code as we need to specify the
7954 location explicitly. We could perhaps export the Centre action
7955 function, or refactor it as a wrapper around a helper function which
7956 we would then export and call. I aim to eventually rework the GTK HID's coordinate transforms
7957 (including flipped views), event handling, view panning and pointer
7958 warping in order to give greater sepeatation between the renderer
7959 agnostic parts of the HID and the renderer. This will be needed for
7960 the 3D portions of the PCB+GL branch. It seems most sensible to start refactoring from a state where the
7961 existing code at least functions correctly (even if it isn't
7962 pretty), rather than work in fixes as I refactor.
7964 2010-12-27 Peter Clifton * pcjc2 AT cam dot ac dot uk *
7966 * src/hid/gtk/gtkhid-gdk.c, src/hid/gtk/gtkhid-main.c: hid/gtk:
7967 Remove unused Vx2 and Vy2 functions from gtkhid-{main,gdk}.c
7969 2010-12-26 Peter Clifton * pcjc2 AT cam dot ac dot uk *
7971 * src/hid/gtk/gui-output-events.c: hid/gtk: Remove unused file scope
7972 variables event_x and event_y
7974 2010-12-27 Peter Clifton * pcjc2 AT cam dot ac dot uk *
7976 * src/hid/gtk/gtkhid-main.c: hid/gtk: Compute warp pointer offset
7977 without reading current position This is closer to the way the old code which used the an
7978 XWarpPointer call worked, and makes the two code-paths where we warp
7979 the pointer consistent. Also, remove some unnecessary comments which
7980 were more relevant to explain why we previously had too
7983 2010-12-27 Peter Clifton * pcjc2 AT cam dot ac dot uk *
7985 * src/hid/gtk/gtkhid-main.c: hid/gtk: Fix "Center" action in a
7986 couple of ways We need to update the adjustments together otherwise the center
7987 action will only work on one axis at a time. Fix typo for out-of bounds check which mixed width and height.
7989 2010-12-27 Peter Clifton * pcjc2 AT cam dot ac dot uk *
7991 * configure.ac, src/hid/gtk/gtkhid-main.c: hid/gtk: Clean up mouse
7992 warping code now we require a later GTK version Remove the X11 specific implementation and remove some comments in
7993 the GDK one which were more relevant to explain why we previously
7994 had two implementations.
7996 2010-12-27 Peter Clifton * pcjc2 AT cam dot ac dot uk *
7998 * src/hid/gtk/gui-dialog.c: Cleanup conditional code now we require
8001 2010-12-27 Peter Clifton * pcjc2 AT cam dot ac dot uk *
8003 * configure.ac: Bump required GTK version in configure.ac test to
8004 2.12 This is required, as we utilise some of the newer APIs. NB: GTK+ 2.12.0 was released in September 2007
8006 2010-12-26 Peter Clifton * pcjc2 AT cam dot ac dot uk *
8008 * src/hid/gtk/gui.h: hid/gtk: Remove unused DRAW_Z, VIEW_Z macros
8010 2010-12-25 Peter Clifton * pcjc2 AT cam dot ac dot uk *
8012 * src/hid/gtk/gui-output-events.c: hid/gtk: Don't avoid panning when
8013 further X11 events are pending Since we are using motion hints, we should not get bogged down with
8014 motion events, so we should probably just act upon them.
8016 2010-12-25 Peter Clifton * pcjc2 AT cam dot ac dot uk *
8018 * src/hid/gtk/gui-output-events.c, src/hid/gtk/gui-top-window.c,
8019 src/hid/gtk/gui.h: hid/gtk: Use motion notify events to avoid too
8020 rapid pointer events Not fixing a specific problem - just a backport from the GL branch.
8022 2010-12-25 Peter Clifton * pcjc2 AT cam dot ac dot uk *
8024 * src/find.c, src/find.h, src/hid/gtk/gui-netlist-window.c,
8025 src/hid/lesstif/netlist.c, src/rats.c, src/select.c: Revert undo
8026 changes relating to RatFindHook calls This reverts commit 1aac06b665330507ca42f380e38f32875a979cd9 and commit d3b508ca272b7d89aa27f552ab78943f9bed27f9. I made a mistake by assuming the undo data saved by the RatFindHook
8027 (when looking up nets to select) was redundant. I had presumed this
8028 since the flags being set are reset again before we finish
8029 processing. What actually happens, is that further processing sets the SELECTED
8030 flag on the FOUND objects. Undo data is saved for the SELECTED flag
8031 addition, which stores the previous flags of the object. When an
8032 undo is performed, it also restores the FOUND flag we wanted to keep
8033 unset. In order to get back to our original state, we need the RatFindHook
8034 to store undo information for when the FOUND flag was initially set. The ResetConnections() call after the RatFindHook should still be ok
8035 not saving undo information, as it only touches object flags which
8036 will be restored anyway by the undo data now saved by the
8037 RatFindHook. NB: Revert was manually modified to retain an indenting change in
8038 find.c and to add the required changes to select.c, which had
8039 additions using the RatFindHook API since the above reverted commits
8042 2010-12-23 Peter Clifton * pcjc2 AT cam dot ac dot uk *
8044 * src/action.c, src/find.c, src/report.c, src/set.c: Remove Draw()
8045 call from ResetFound*() Let the caller do it This allows multiple changes to be grouped into one repaint
8046 operation. Use this where appropriate, such as the Netlist lookup
8049 2010-12-23 Martin Kupec * martin dot kupec AT kupson dot cz *
8051 * src/action.c, src/const.h, src/select.c: Add NetByName to the
8052 select action options v2: Check Net name appropriately v3: Ensure we set the changed flag Reviewed-by: Peter Clifton * pcjc2 AT cam dot ac dot uk *
8054 2010-12-24 Peter Clifton * pcjc2 AT cam dot ac dot uk *
8056 * src/find.c, src/find.h, src/hid/gtk/gui-netlist-window.c,
8057 src/hid/lesstif/netlist.c, src/rats.c: find.c: Remove "undo"
8058 parameter to RatFindHook Since all callers pass false for the "undo" parameter since the last
8059 commit, remove it from the function prototype. NB: The file-global variable "User", which it previously set can be
8060 assumed to be false, as it defaults to false - and is restored after
8061 any code which temporarily sets it to true.
8063 2010-12-24 Peter Clifton * pcjc2 AT cam dot ac dot uk *
8065 * src/hid/gtk/gui-netlist-window.c, src/hid/lesstif/netlist.c: We
8066 don't need the RatFindHook to save undo state when doing netlist
8067 lookup We already save undo information to get to a known state when
8068 resetting the FOUND flags. Since we later reset back to this state,
8069 we don't need to save undo data.
8071 2010-12-23 Peter Clifton * pcjc2 AT cam dot ac dot uk *
8073 * src/hid/gtk/gui-netlist-window.c, src/hid/lesstif/netlist.c: Fix
8074 netlist selection to save undo information for wiped "FOUND" flags When we wipe the found flags on objects, we should also queue them
8075 for redraw - this fixes that too, as the ResetConnections() argument
8076 controls both redraw AND saving undo data.
8078 2010-12-24 Peter Clifton * pcjc2 AT cam dot ac dot uk *
8080 * src/hid/gtk/gui-netlist-window.c, src/hid/lesstif/netlist.c:
8081 Remove unneeded Undo serial number save / restore in netlist lookup The RatFindHook function does not call anything which will increment
8082 the Undo serial number, so the save / restore calls are not
8085 2010-12-24 Peter Clifton * pcjc2 AT cam dot ac dot uk *
8087 * src/action.c, src/autoroute.c, src/find.c, src/find.h,
8088 src/hid/gtk/gui-netlist-window.c, src/hid/lesstif/netlist.c,
8089 src/rats.c, src/report.c, src/set.c, src/toporouter.c: Fix broken
8090 undo handling for ResetFound*() and ResetConnections() Many callers have this idiom: SaveUndoSerialNumber (); ResetFoundPinsViasAndPads (AndDraw); RestoreUndoSerialNumber (); ResetFoundLinesAndPolygons (AndDraw); The intent is to squash the two operations into one undo operation.
8091 The ResetFound* functions DO increment the Undo serial number but
8092 ONLY if that particular function makes a change. Assume for the example that the first ResetFound* call makes some
8093 change and increments the serial number. This is then reset by the
8094 caller. If the second ResetFound* call doesn't find anything, there
8095 is no overall increment to the serial number. Move the undo serial number handling out of the ResetFound* calls,
8096 and let the callers increment the serial number if desired. To
8097 facilitate this, return a boolean value from these functions to
8098 indicate whether any changes were made which could be undone. For convenience, expose previously static find.c function
8099 ResetConnections() in order to avoid repeating Undo handling in each
8100 caller to the two ResetFound* functions which are often called
8103 2010-12-23 Peter Clifton * pcjc2 AT cam dot ac dot uk *
8105 * src/action.c, src/hid/gtk/gui-netlist-window.c,
8106 src/hid/lesstif/netlist.c, src/select.c: select.c: Remove Draw()
8107 call from SelectConnection Make callers responsible for calling the final Draw(), to avoid
8108 multiple redraws if other operations are to occur, such as changing
8109 "FOUND" flags on objects after making the selection.
8111 2010-12-23 Patrick Bernaud * patrickb AT chez dot com *
8113 * src/free_atexit.h: Fix substitutions for leaky_*alloc functions
8115 2010-12-22 Tibor Palinkas * geda AT igor2 dot repo dot hu *
8117 * src/hid/gtk/gui-top-window.c: hid/gtk: Use leaky_* functions for
8118 deliberate leaks in ghid_ui_info_append Allocate cached temporary memory with the leak_* memory allocation
8119 wrapers which allow these to be freed at exit.
8121 2010-12-22 Tibor Palinkas * geda AT igor2 dot repo dot hu *
8123 * src/free_atexit.c, src/free_atexit.h: free_atexit.c: Add
8124 leaky_calloc() function for deliberately leaked calloc's Stores a pointer to the calloc'd memory to be free'd at exit of the
8125 program. Returned memory must not be free'd manually.
8127 2010-12-22 Peter Clifton * pcjc2 AT cam dot ac dot uk *
8129 * src/report.c: report.c: Fix missing return value
8131 2010-12-22 Peter Clifton * pcjc2 AT cam dot ac dot uk *
8133 * src/toporouter.c: toporouter.c: Make inline functions "static
8134 inline" gcc builds break for CFLAGS="-g" only builds (no -O2). Inlineing is
8135 only performed when optimisation is enabled, and unless we make all
8136 local inlined functions "static inline", it does not emit the
8137 non-inlined assembly for them, resulting in undefined symbols at
8140 2010-12-22 Peter Clifton * pcjc2 AT cam dot ac dot uk *
8142 * src/hid/gtk/gtkhid-gdk.c, src/hid/gtk/gtkhid-main.c,
8143 src/hid/gtk/gui-output-events.c, src/hid/gtk/gui.h: hid/gtk: Move
8144 more gdk specific drawing routines to gtkhid-gdk.c
8146 2010-12-22 Tibor Palinkas * geda AT igor2 dot repo dot hu *
8148 * src/Makefile.am, src/free_atexit.c, src/free_atexit.h, src/main.c:
8149 Add leaky_{malloc,realloc} functions for deliberate non-free'd
8150 allocations These are to be used for local allocations made and cached for the
8151 lifetime of the program (never free'd). Typically, these are stored
8152 in a static char * variable (or similar) within a function. The leaky_*() functions store the addresses of all memory they
8153 allocate, and for debugging builds, free it upon exit of the
8154 program, thus allowing leak detectors such as valgrind to ignore our
8155 deliberate "leaks". The memory returned by leaky_*() must not be free'd. Build system and PCB integration, and leaky_atexit.c reindenting by
8156 Peter Clifton * pcjc2 AT cam dot ac dot uk *
8158 2010-12-21 Peter Clifton * pcjc2 AT cam dot ac dot uk *
8160 * src/parse_l.l: parse_l.l: Fix warning implicit definition of
8161 function ‘CreateBeLenient’ Warning was introduced in commit
8162 e8dd18a2f7b83c6108d2c9398903d4be92e22d4c The required prototype was
8163 added to create.h, but create.h was not included in parse_l.l Note to developers: Please "make clean" and build with "make -s" before pushing changes.
8164 This kind of bug is really easy to catch, and I just recently spent
8165 a log of effort cleaning up PCB's compile so we can catch real bugs! Pretty please?
8167 2010-12-20 Martin Kupec * martin dot kupec AT kupson dot cz *
8169 * src/action.c: action.c: Change macro ARG, to return NULL instead
8170 of 0 When the argument number requested does not exist, return NULL, not
8171 0, as this is more in keeping with the type (char *) normally
8172 returned. Commit message modified by Peter Clifton * pcjc2 AT cam dot ac dot
8175 2010-12-20 Peter Clifton * pcjc2 AT cam dot ac dot uk *
8177 * : commit 7392b020deca9ef155f3b1449f1ad8fac6d6083b Author: Peter
8178 Clifton * pcjc2 AT cam dot ac dot uk * Date: Mon Dec 20 13:54:41
8181 2010-12-20 Peter Clifton * pcjc2 AT cam dot ac dot uk *
8183 * src/crosshair.c, src/search.c, src/search.h: Improve grid snapping
8186 2010-12-19 DJ Delorie * dj AT delorie dot com *
8188 * src/create.c, src/create.h, src/parse_l.l: Allow via copper to
8189 overlap; preserve illegal vias from file. Reduce "overlapping via" tests to check for overlapping drills, not
8190 overlapping copper. If a file being loaded has "illegal" vias, load
8191 them anyway - the check only happens at create time, if the user
8192 figures out a way around it, preserve it.
8194 2010-12-16 DJ Delorie * dj AT delorie dot com *
8196 * src/rats.c: Further work on rats patch. Add a lot of comments to clarify what's happening in that function
8197 (the previous patch was bogus because the function re-uses a
8198 structure in an unintended way). Fixed the logic to be mew
8201 2010-12-16 DJ Delorie * dj AT delorie dot com *
8203 * src/rats.c: Fix rats bug (SF 3137324) When adding rats from a netlist, we want to skip nets with too few
8204 connections, not netlists with too few nets.
8206 2009-02-20 Ineiev * ineiev AT users dot sourceforge dot net *
8208 * src/report.c: report object coordinates in selected units SF patch 1621915 HOW TO TEST load a pcb; Ctrl-R on objects of different types; the
8209 reported units should be either mm or mils according to selected
8210 units 04 Oct 2010: merged with Joerg Wunsch's patch 2995918 "Add
8211 human-readable info to polygon report"
8213 2010-12-12 Ineiev * ineiev AT users dot berlios dot de *
8215 * src/polygon.c: [PATCH] fix bug 2793480 (vias/arcs-to-polygon
8216 clearances) frac_circle(): introduce radius_adjustment factor to make the
8217 polygon outline the arc rather than connet points on the arc ArcPolyNoIntersect(): compute number of segments so that polygon
8218 diverges from the arc no more than 0.02 of required thickness;
8219 adjust outer "arc" radius like in frac_circle()
8221 2010-12-11 DJ Delorie * dj AT delorie dot com *
8223 * src/file.c: Check for special name "(local)" to mean "." When expanding a tree of footprints, we want the symbolic name
8224 "(local)" to mean the "." subdir. Now that we check for chdir()
8225 failures, we can no longer "just work" because the chdir didn't
8228 2010-12-11 David Dandar * ddandar AT users dot sourceforge dot net *
8230 * src/action.c: Let RealignGrid align grid to a pin or pad snap. SF patch 2476262: Realign grid has been broken for a while. Darn mm and mil mix
8231 components were killing me. I got desperate and fixed it, but I'm
8232 not sure if it's the right fix. It does work though. Hope this
8235 2010-12-11 Seb James * seb AT esfnet dot co dot uk *
8237 * src/rats.c: SF patch 1674895: This crash occurs in rats.c, around line 610 in the function
8238 DrawShortestRats() where CreateNewRat() is called with some
8239 arguments which don't exist. It occurred for me when I tried to "optimize rats nest" on an
8240 invalid design. There's no check in DrawShortestRats() that the firstposition and
8241 secondposition pointers are not NULL. firstposition->X (and Y) and
8242 secondposition->X (and Y) are passed as arguments to CreateNewRat().
8243 It is possible in some cases that firstposition and secondposition
8244 are not reset from 0 in the code preceding the call to
8245 CreateNewRat(). In these cases a segfault will occur.
8247 2010-10-09 Cesar Strauss * cstrauss AT not2005 dot cea dot inpe dot br *
8249 * configure.ac, src/action.c: Check for the _spawnvp function and
8252 2010-10-09 Cesar Strauss * cstrauss AT not2005 dot cea dot inpe dot br *
8254 * src/.gitignore: Ignore generated files on Windows.
8256 2010-12-07 Peter Clifton * pcjc2 AT cam dot ac dot uk *
8258 * src/action.c, src/buffer.c, src/command.c, src/create.c,
8259 src/drill.c, src/file.c, src/find.c, src/hid/common/flags.c,
8260 src/hid/gerber/gerber.c, src/hid/gtk/gtkhid-gdk.c,
8261 src/hid/gtk/gui-dialog-size.c, src/hid/gtk/gui-top-window.c,
8262 src/hid/lesstif/main.c, src/hid/lesstif/menu.c,
8263 src/hid/lesstif/styles.c, src/intersect.c, src/main.c, src/misc.c,
8264 src/mymem.c, src/mymem.h, src/netlist.c, src/parse_l.l,
8265 src/parse_y.y, src/rats.c, src/remove.c, src/report.c, src/undo.c:
8266 Remove My* memory allocation routines. Just use the standard APIs
8267 directly This means the following changes: 1. Replace all calls to MyCalloc() with calls to calloc() 2. Replace all calls to MyMalloc() with calls to malloc() 3. Replace all calls to MyRealloc() with calls to realloc() 4. Replace all calls to SaveFree() with calls to free() 5a. Where the MYFREE(x) macro is used and its pointer clearing
8268 side- effect is required, call free (x); and (x) = NULL; directly. 5b. Where the MYFREE(x) macro is used, and (x) is immediately re- assigned, or its location free'd or zero'd, skip the (x) =
8269 NULL; 6. Replace all calls to MyStrdup() with calls to the STRDUP(x)
8270 macro, which expands to (((x) != NULL) ? strdup (x) : NULL). NB: The previous commit already replaced various known "safe" calls
8271 of MyStrdup() with strdup(), when the argument is known to be
8272 non-NULL. 1,2,3 and 6. mean that we discard the following features of the mymem.c allocators: 7. Logging messages when MEM_DEBUF defined 8. Logic to assign 1 unit of memory if 0 is requested 9. Allocation failure handling via MyFatal() -> EmergencySave() With feedback from Stephen Ecob * silicon dot on dot inspiration AT
8273 gmail dot com * 7. Is old debug code which is rarely (if ever) used. Current debug
8274 tools such as Valgrind can do a much better job of memory debugging
8275 now. 8. This is really papering over the possibility of a caller bug, and should never have been included in the first place. 9. This is unlikely to actually ever save someone from loosing their
8276 PCB. Patch created with the assistance and testing of Stephen Ecob *
8277 silicon dot on dot inspiration AT gmail dot com *
8279 2010-12-07 Peter Clifton * pcjc2 AT cam dot ac dot uk *
8281 * src/action.c, src/buffer.c, src/copy.c, src/create.c, src/file.c,
8282 src/fontmode.c, src/main.c, src/misc.c, src/move.c, src/netlist.c,
8283 src/rats.c: Convet some "safe" usage of MyStrdup to plain strdup These cases are ones where we know the caller will not risk passing
8284 a NULL string to duplicate. Patch created with the assistance and testing of Stephen Ecob *
8285 silicon dot on dot inspiration AT gmail dot com *
8287 2010-12-09 Peter Clifton * pcjc2 AT cam dot ac dot uk *
8289 * src/create.c: Ensure CreateNewText() returns NULL if called with
8290 NULL text. Ensuring that text will not be NULL allows us to replace the
8291 MyStrdup call with a simple strdup.
8293 2010-12-10 Peter Clifton * pcjc2 AT cam dot ac dot uk *
8295 * src/file.c: file.c: c Attempt to handle failure of
8296 GetWorkingDirectory() and chdir() Report the error to the user if any GetWorkingDirectory or chdir
8297 call fails. Add attempts to change back to the original working
8298 directory on error paths. Ideally, these functions would be re-implemented to operate without
8299 changing the current working directory at all.
8301 2010-12-10 Peter Clifton * pcjc2 AT cam dot ac dot uk *
8303 * src/action.c, src/change.c: Plug some memory leaks of strings
8304 returned from gui->prompt_for()
8306 2010-12-10 Peter Clifton * pcjc2 AT cam dot ac dot uk *
8308 * src/vendor.c: vendor.c: Fix memory leak and unused variable in
8309 ActionLoadVendorFrom() Also, don't bother testing x != NULL before calling free (x).
8311 2010-12-10 Peter Clifton * pcjc2 AT cam dot ac dot uk *
8313 * src/hid/common/hidnogui.c: hid/common: Fix / re-write
8314 nogui_{prompt_for,fileselect,confirm_dialog}() Fixes some pretty nasty bugs in these functions: 1. These functions must return allocated memory, strdup will do
8315 nicely. 2. fgets will insert the newline character into the buffer, so we
8316 need to check if we just got a '\r' or '\n' as our first character,
8317 not just '\0' when deciding whether to return the default string or
8318 not. 3. DO NOT strcpy a the default string... we don't know if it will overflow our buffer 4. For the "fileselect" case, return NULL if the user didn't give us
8319 a filename, and the caller didn't specify a default string. Prompt
8320 for will return strdup (""), equivalent to what it previously did.
8322 2010-12-10 Peter Clifton * pcjc2 AT cam dot ac dot uk *
8324 * src/hid/batch/batch.c: hid/batch: Use hidnogui as a default base
8325 hid to avoid code duplication
8327 2010-12-09 Peter Clifton * pcjc2 AT cam dot ac dot uk *
8329 * src/action.c: action.c: Mark some strings as translateable in
8332 2010-12-09 Peter Clifton * pcjc2 AT cam dot ac dot uk *
8334 * src/misc.c, src/misc.h, src/mymem.c, src/mymem.h: Make the strings
8335 passed to AttributePutToList and MyStrdup (const char *) Silences some compiler warnings when using const char * strings.
8337 2010-12-09 Peter Clifton * pcjc2 AT cam dot ac dot uk *
8339 * src/hid/lesstif/dialogs.c, src/hid/lesstif/main.c,
8340 src/hid/lesstif/menu.c, src/hid/lesstif/netlist.c,
8341 src/hid/lesstif/styles.c: hid/lesstif: Revert some Boolean->bool
8342 type changes as required by Xt* APIs This is a partial revert of commit
8343 ad5eb5a165442be38624aa622beeb57dc1d2afbd For consistency, I have also reverted the changes of True->true and
8344 False->false when calling X11 APIs.
8346 2010-12-09 Peter Clifton * pcjc2 AT cam dot ac dot uk *
8348 * src/hid/lesstif/dialogs.c: hid/lesstif: Use an intervening size_t
8349 casts to aovid compiler warnings This is to avoid the compiler warning us what we already know.. that
8350 we are passing an integer value cast into what might be a different
8351 sized pointer. (On 64 bit builds).
8353 2010-12-09 Peter Clifton * pcjc2 AT cam dot ac dot uk *
8355 * src/hid/batch/batch.c: hid/batch: Add some missing header files
8358 2010-12-09 Peter Clifton * pcjc2 AT cam dot ac dot uk *
8360 * src/Makefile.am, src/hid/batch/batch.c, src/hid/common/hidinit.h,
8361 src/hid/gcode/gcode.c, src/hid/gerber/gerber.c, src/hid/lpr/lpr.c,
8362 src/hid/nelma/nelma.c, src/hid/png/png.c, src/hid/ps/eps.c,
8363 src/hid/ps/ps.c: hid/common: Provide a header to define
8364 hid_parse_command_line() Avoids having each caller having to pull it in with an extern
8367 2010-12-09 Peter Clifton * pcjc2 AT cam dot ac dot uk *
8369 * src/Makefile.am, src/hid/batch/batch.c, src/hid/common/actions.h,
8370 src/main.c: hid/common: Provide a header file to define
8371 print_actions() Avoids having each caller having to pull it in with an extern
8374 2010-12-09 Peter Clifton * pcjc2 AT cam dot ac dot uk *
8376 * src/hid/batch/batch.c: Fix function prototypes and dummy return
8377 values for batch HID Most of these are dummy functions, but we should get the prototypes
8378 right! Also, return 0 from dummy functions which are supposed to
8379 return an integer. Fixes various compiler warnings.
8381 2010-12-09 Peter Clifton * pcjc2 AT cam dot ac dot uk *
8383 * src/hid.h, src/hid/batch/batch.c, src/hid/common/hidnogui.c,
8384 src/hid/gtk/gtkhid-main.c, src/hid/gtk/gui-dialog.c,
8385 src/hid/gtk/gui.h, src/hid/lesstif/dialogs.c,
8386 src/hid/lesstif/lesstif.h: HID: Make arguments to the prompt_for
8387 method const char *, not char * Avoids compiler warnings calling gui->prompt_for() with a const char
8390 2010-12-09 Peter Clifton * pcjc2 AT cam dot ac dot uk *
8392 * src/action.c: Rename "r" variables used in calls to GetValue() to
8393 be more descriptive A purely cosmetic change.
8395 2010-12-09 Peter Clifton * pcjc2 AT cam dot ac dot uk *
8397 * src/action.c: action.c: Fix data types in GetValue calls We passed an (int *) rather than a (bool *) in ActionImport() and
8398 parse_layout_attribute_units()
8400 2010-12-09 Peter Clifton * pcjc2 AT cam dot ac dot uk *
8402 * src/misc.c, src/misc.h: Change unmodifed parameters to GetValue to
8403 const char * Silences some compiler warnings in action.c
8405 2010-12-09 Peter Clifton * pcjc2 AT cam dot ac dot uk *
8407 * src/autoroute.c: autoroute.c: #if 0 out an unused static function
8408 add_clearance() Silences compiler warning.
8410 2010-12-09 Peter Clifton * pcjc2 AT cam dot ac dot uk *
8412 * src/djopt.c: djopt.c: #if 0 out an unused static function
8413 nudge_corner() Silences a compiler warning.
8415 2010-12-09 Peter Clifton * pcjc2 AT cam dot ac dot uk *
8417 * src/buffer.c: buffer.c: Declare variables before code in
8418 ActionFreeRotateBuffer() Avoids compiler warning "ISO C90 forbids mixed declarations and
8421 2010-12-09 Peter Clifton * pcjc2 AT cam dot ac dot uk *
8423 * src/change.c: change.c: Remove unused variable in
8426 2010-12-09 Peter Clifton * pcjc2 AT cam dot ac dot uk *
8428 * src/action.c: Remove unused variables in ActionElementList() and
8431 2010-12-09 Peter Clifton * pcjc2 AT cam dot ac dot uk *
8433 * src/action.c: Add missing return value in ActionImport()
8435 2010-12-09 Peter Clifton * pcjc2 AT cam dot ac dot uk *
8437 * src/rtree.c: Silence used function warning for __r_tree_is_good()
8438 (Non-debug builds) __r_tree_is_good() and its helper functions are only used when
8439 debugging, and are called from assert() macros. If "NDEBUG" is
8440 defined, these expand to nothing, and the function is not called. Wrap __r_tree_is_good() and its helper, __r_tree_node_is_good() with
8443 2010-12-09 Peter Clifton * pcjc2 AT cam dot ac dot uk *
8445 * src/file.c: file.c: The "elapsed" variable in LoadPCB is debugging
8446 only Silence compiler warning by moving it inside the #ifdef DEBUG
8448 2010-12-09 Peter Clifton * pcjc2 AT cam dot ac dot uk *
8450 * src/flags.c: flags.c: Avoid compiler warning when casting our
8451 OffsetOf value Strictly, our OffsetOf calculation "could" return a number as large
8452 as the pointer size on the system - so the compiler will complain
8453 when we squash it directly into an int. Casting via a size_t will
8454 avoid the warning. Our structure offsets are small, so this is safe - if somewhat ugly.
8456 2010-12-09 Peter Clifton * pcjc2 AT cam dot ac dot uk *
8458 * src/toporouter.c: Toporouter: Comment unused debug variable Silences compiler warning
8460 2010-12-09 Peter Clifton * pcjc2 AT cam dot ac dot uk *
8462 * src/gts/pgraph.c: gts: Comment some unused variables left as
8463 placeholders Silences compiler warnings
8465 2010-12-09 Peter Clifton * pcjc2 AT cam dot ac dot uk *
8467 * src/gts/edge.c: gts: Add cast to silence compiler warning
8469 2010-12-09 Peter Clifton * pcjc2 AT cam dot ac dot uk *
8471 * src/parse_l.l, src/res_lex.l: *.l: Add #define YY_NO_INPUT to
8472 avoid defining unused "input()" function Silences compiler warnings
8474 2010-12-09 Stephen Ecob * silicon dot on dot inspiration AT gmail dot com *
8476 * src/buffer.c: Fix SmashBufferElement(), broken by fixing a memory
8477 leak in FreeDataMemory() Commit 466b0183758ef3ca44623c43de60a233b175d2ad broke
8478 SmashBufferElement() by changing FreeDataMemory() (which
8479 SmashBufferElement() calls via ClearBuffer()). SmashBufferElement()
8480 depended on the memory leak of Data->Element in FreeDataMemory(). This patch removes the dependence on the leak. Commit-message-reformatted-by: Peter Clifton * pcjc2 AT cam dot ac
8483 2010-12-07 Stephen Ecob * silicon dot on dot inspiration AT gmail dot com *
8485 * src/misc.c, src/mymem.c: Fixed some memory leaks associated with
8486 the global PCB structure.
8488 2010-11-28 DJ Delorie * dj AT delorie dot com *
8490 * src/djopt.c: Store is_pad flag for each line rather than trying to
8491 deduce if a line is a pad or not.
8493 2010-11-26 Peter Clifton * pcjc2 AT cam dot ac dot uk *
8495 * : commit 093a606b182229c8e28118ace1be7d6b6ad5cf7f Author: Peter
8496 Clifton * pcjc2 AT cam dot ac dot uk * Date: Fri Nov 26 03:26:08
8499 2010-11-26 Peter Clifton * pcjc2 AT cam dot ac dot uk *
8501 * src/polygon1.c: Various speedups to the polygon code. Attempt to fix polygon slowness by avoiding the need to create a
8502 completely new polygon for each boolean operation. This mostly
8503 relies upon r-tree searches to find contours to operate on - rather
8504 than searching each in turn. We avoid labelling all of the "A" polygon's contours, use the
8505 contour r-trees to dynamically search the required data. Added code to reparent holes which end up in the wrong polygon piece
8506 after inserting a new hole in InsertHoles. This means we don't have
8507 to dump every potental hole we encounter in the holes insersion
8508 queue, hopefully leading to better dynamic update performance. At this point, polygon performance has finally seen a net gain. HOWEVER: Due to differences in the order of polygon operations, the data-structures resulting from a boolean polygon operation may be sorted differently. In certain contrived cases, where a polygon is clipped into identically sized pieces, the resulting piece of polygon which PCB will keep and use on the board is different after this commit.
8510 2010-11-26 Peter Clifton * pcjc2 AT cam dot ac dot uk *
8512 * src/polygon1.c: Use heap structure to insert holes quicker in
8515 2010-11-26 Peter Clifton * pcjc2 AT cam dot ac dot uk *
8517 * src/polyarea.h, src/polygon.c, src/polygon1.c: Optimise polygon
8518 operations by keeping an rtree of POLYAREA contours Attempt to speed up the intersect() routine using this rtree rather
8519 than generating a new one at each call. Due to the increased overheads of keeping an r-tree up to date,
8520 there is a significant overall slow-down at this point in the patch
8523 2010-11-26 Peter Clifton * pcjc2 AT cam dot ac dot uk *
8525 * src/polygon1.c: Use rtree of countours when computing an
8526 intersection NOTE: This is more complex than the existing code, and on its own, actually slows things down a little. The intention is that the r-tree should be maintained
8527 continually, so it doesn't need to be recreated with each call
8530 2010-11-26 Peter Clifton * pcjc2 AT cam dot ac dot uk *
8532 * src/polygon.c: polygon.c: Accumulate vias and lines into batches
8533 before subtracting them Accumulate polygons to clear from lines and pins in batches, then
8534 clear from the polygon. Not quite sure why, but this _really_ seems
8535 to speed up loading very complex boards. (e.g. 50sec -> 10sec for
8536 one example). Possibly this is because withing the assembled batches, it is
8537 cheaper to produce a more unified contour (touching lines), and the
8538 complex contours of the main polygon are broken less frequently. It isn't quite clear why this helps so much for pins / vias (which
8539 won't usually touch each-other), however it changes a 50sec load
8540 time to 10 sec. This could perhaps be because any contours which
8541 are smashed by clearance of closely spaced vias / pins now only
8542 incurr the penalty of breaking the main contour once every batch
8543 (100 vias / pins). Batch sizes (20 for lines, 100 for pins / vias) aren't necessarily
8544 optimal! Also, clear pins and vias last... There is a chance these objects are simpler, and just end up as
8545 holes in the main polygon, rather than causing a contour
8546 intersection. This means it is cheaper to add them last. If we add them first, and make the polygon complex, objects (usually
8547 lines) which pierce the polygon's outer contour cause all the holes
8548 to be removed and queued for re-insersion after the new contour is
8551 2010-11-07 DJ Delorie * dj AT delorie dot com *
8553 * lib/geda.inc: Add more ACY, ACPY, ALF, RCY, RCYP, JUMPER, and
8554 HEADER macros to fill in the gaps.
8556 2010-11-07 DJ Delorie * dj AT delorie dot com *
8558 * src/toporouter.c: Comment out code to dump toporouter surfaces.
8560 2010-09-29 DJ Delorie * dj AT delorie dot com *
8562 * NEWS: Update NEWS from ChangeLog
8564 2010-09-29 DJ Delorie * dj AT delorie dot com *
8566 * ChangeLog: Update ChangeLog from git logs.
8568 2010-09-29 DJ Delorie * dj AT delorie dot com *
8570 * po/POTFILES.in: Fix for distcheck errors.
8572 2010-09-29 DJ Delorie * dj AT delorie dot com *
8574 * src/action.c: Make new text clear polygons
8576 2010-09-20 DJ Delorie * dj AT delorie dot com *
8578 * src/parse_l.l: Don't print "can't open ./default_font for reading"
8581 2010-09-19 DJ Delorie * dj AT delorie dot com *
8583 * src/file.c, src/parse_l.l: Wrap more messages in debug Messages about where fonts were found, or how many milliseconds it
8584 takes to load a file, are not normally needed. Wrap them in DEBUG
8587 2010-09-14 DJ Delorie * dj AT delorie dot com *
8589 * src/hid/png/png.c: If we don't use the outline to clip, don't draw
8592 2010-09-14 DJ Delorie * dj AT delorie dot com *
8594 * src/hid/png/png.c: Fix bug tracker # 3064887 PNG exported all black in photo mode if the "outline" was exactly
8595 the board size, because the left/bottom edges were clipped leaving a
8596 big hole. With this patch, we do two things: 1. Detect a non-trivial outline, and only do outline processing if
8597 found. Thus, a rectangular outline exactly the size of the board is
8598 just ignored - no black border on the output image. 2. Any outline line that's drawn exactly on the bottom/right edge is
8599 brought in by half a pixel to ensure it's drawn in the resulting
8602 2010-09-13 DJ Delorie * dj AT delorie dot com *
8604 * src/action.c: Avoid divide-by-zero Check for a zero dispersion before computing it.
8606 2010-09-11 Peter Clifton * pcjc2 AT cam dot ac dot uk *
8608 * src/thermal.c: thermal.c: Initialise flags of the LineType object
8609 in square_therm() Keeps valgrind quiet about conditionals based upon uninitialised
8610 variables.. must be a good thing.
8612 2010-09-10 Peter Clifton * pcjc2 AT cam dot ac dot uk *
8614 * src/action.c, src/autoplace.c, src/autoroute.c, src/buffer.c,
8615 src/copy.c, src/create.c, src/crosshair.c, src/data.h, src/djopt.c,
8616 src/draw.c, src/file.c, src/find.c, src/flags.c,
8617 src/hid/batch/batch.c, src/hid/common/extents.c,
8618 src/hid/common/flags.c, src/hid/gcode/gcode.c,
8619 src/hid/gerber/gerber.c, src/hid/gtk/gtkhid-main.c,
8620 src/hid/gtk/gui-config.c, src/hid/gtk/gui-output-events.c,
8621 src/hid/gtk/gui-top-window.c, src/hid/lesstif/dialogs.c,
8622 src/hid/lesstif/main.c, src/hid/lesstif/menu.c,
8623 src/hid/nelma/nelma.c, src/hid/png/png.c, src/hid/ps/eps.c,
8624 src/hid/ps/ps.c, src/line.c, src/macro.h, src/misc.c, src/move.c,
8625 src/polygon.c, src/print.c, src/puller.c, src/rats.c, src/rtree.c,
8626 src/rubberband.c, src/search.c, src/select.c, src/toporouter.c:
8627 Split usage of "max_layer" into max_copper_layer and max_group PCB has an equal number of layer groups as copper layers, so the
8628 "max_layer" #define'd variable has been used throught the codebase
8629 to delimit iteration over both layer groups, and layers. This makes it hard for people reading the codebase to identify
8630 whether a given loop is over layers or layer groups (since the
8631 counter variable is often fairly terse or indescript). Confusingly,
8632 in some of the code, layer groups indexes are stored in a variable
8633 called "layer". To aid understanding of the code, this commit removes the max_layer
8634 variable (#define'd to (PCB->Data->LayerN)), and replaces it with
8635 two similarly #define'd variables, "max_copper_layer" and
8636 "max_group". This commit also introduces convenience macros: #define solder_silk_layer (max_copper_layer + SOLDER_LAYER) #define component_silk_layer (max_copper_layer + COMPONENT_LAYER) Which make the code intention much clearer for a common case of the
8637 old max_layer variable usage.
8639 2010-09-10 DJ Delorie * dj AT delorie dot com *
8641 * src/hid/lesstif/main.c: Fix lesstif SwapSides magic layer option. If the first layer in the layer group is silk, the swap sides key
8642 won't auto-toggle the solder and component groups, nor properly
8643 activate them if it does. Add code to find a visible *copper* layer
8644 in the layer group and use that.
8646 2010-09-09 Ineiev * ineiev AT gmail dot com *
8648 * src/find.c: find.c: Add RATLINE_TYPE to switch statement in
8649 BuildObjectList Part of Ineiev's patch from:
8650 http://archives.seul.org/geda/user/Nov-2009/msg00456.html Modified-by: Peter Clifton * pcjc2 AT cam dot ac dot uk *
8652 2010-09-09 Peter Clifton * pcjc2 AT cam dot ac dot uk *
8654 * src/find.c: Fix crash due to uninitalised variable in DRC check
8655 Bug #3033772 Andrew Armenia noted that the second pointer returned from
8656 BuildObjectList(), "object_type_list" would be left uninitialised if
8657 the object type was not encountered. A subsequent call to free() in
8658 DRCFind() would then cause memory corruption. The issue was originally reported by Ineiev:
8659 http://archives.seul.org/geda/user/Nov-2009/msg00456.html That patch addresses the lack of a RATLINE_TYPE in the
8660 BuildObjectType function, but does not prevent a segfault for other
8663 2010-09-08 DJ Delorie * dj AT delorie dot com *
8665 * src/misc.c: Fix arc bounding box math. Calculations for Arc bounding boxes weren't taking into account the
8666 wide range of possible starting arcs. This patch uses modulus to
8667 force angles into canonical forms and iterates through quadrants to
8668 capture the full extents of each arc.
8670 2010-09-08 DJ Delorie * dj AT delorie dot com *
8672 * src/parse_y.y: Fix typo in parse_y.y A typo in parse_y.y was causing the documentation to be corrupted.
8674 2010-09-07 DJ Delorie * dj AT delorie dot com *
8676 * src/hid/gtk/gtkhid-main.c, src/hid/lesstif/main.c: Fix layer
8677 visibility logic for some boards. If the Groups() line listed the c/s layer before the copper layer,
8678 disabling silk would also disable the copper. This change searches
8679 the entire layer group looking for any layer that might need to be
8680 drawn, and uses that as the exemplar instead of blindly choosing the
8681 first layer in the list.
8683 2010-09-01 DJ Delorie * dj AT delorie dot com *
8685 * src/gpcb-menu.res, src/pcb-menu.res: Add import settings to menus At the bottom of the Settings menu, add a submenu for import
8686 settings for placing new elements.
8688 2010-09-01 DJ Delorie * dj AT delorie dot com *
8690 * src/action.c: Store units for import::disperse If the user specified the dispersement as "123mm" for example, store
8691 that string as-is for convenience.
8693 2010-09-01 DJ Delorie * dj AT delorie dot com *
8695 * src/misc.c: Enhance GetValue Allow cm and in as units. Allow the units to be part of the value
8698 2010-09-01 DJ Delorie * dj AT delorie dot com *
8700 * src/action.c: Add new-part-location to import Adds import::newX, import::newY, and import::disperse attributes.
8701 These determine where new parts are located when they're added to
8702 the layout, including some random variation to keep them from being
8703 all on exactly the same spot. Parameters were added to Import() to
8704 set these: In @code{Import()} is called with @code{setnewpoint} then the
8705 location of new components can be specified. This is where parts
8706 show up when they're added to the board. The default is the center
8707 of the board. @table @code @item Import(setnewpoint) Prompts the user to click on the board somewhere, uses that point.
8708 If called by a hotkey, uses the current location of the crosshair. @item Import(setnewpoint,mark) Uses the location of the mark. If no mark is present, the point is
8709 not changed. @item Import(setnewpoint,center) Resets the point to the center of the board. @item Import(setnewpoint,X,Y,units) Sets the point to the specific coordinates given. Example:
8710 @code{Import(setnewpoint,50,25,mm)} @end table Note that the X and Y locations are stored in attributes named
8711 @code{import::newX} and @code{import::newY} so you could change
8712 them manually if you wished. Calling @code{Import(setdisperse,D,units)} sets how much the newly
8713 placed elements are dispersed relative to the set point. For
8714 example, @code{Import(setdisperse,10,mm)} will offset each part
8715 randomly up to 10mm away from the point. The default dispersion is
8716 1/10th of the smallest board dimension. Dispersion is saved in the
8717 @code{import::disperse} attribute.
8719 2010-09-01 DJ Delorie * dj AT delorie dot com *
8721 * src/misc.c, src/misc.h: Add AttributeRemove functions Add AttributeRemoveFromList() and the wrapper AttributeRemove()
8723 2010-08-28 Peter Clifton * pcjc2 AT cam dot ac dot uk *
8725 * src/hid/gtk/gui-top-window.c: hid/gtk: Remove unused colour
8726 allocation for "BlackPixel"
8728 2010-08-28 Peter Clifton * pcjc2 AT cam dot ac dot uk *
8730 * src/hid/gtk/gui-top-window.c: hid/gtk: Remove unused extern HID
8731 ghid_hid from gui-top-window.c
8733 2010-08-25 Peter Clifton * pcjc2 AT cam dot ac dot uk *
8735 * src/draw.c: draw.c: Remove the unused "Erasing" flag / counter This variable tracks whether the object being drawn is to be erased.
8736 It is never actually tested, so remove it.
8738 2010-08-25 Peter Clifton * pcjc2 AT cam dot ac dot uk *
8740 * src/draw.c: draw.c: Initialise integer counters with 0, not
8741 "false". For the "doing_assy" flag, fix its type to "bool" rather than "int".
8743 2010-08-25 Peter Clifton * pcjc2 AT cam dot ac dot uk *
8745 * src/draw.c: draw.c: Remove "HaveGathered" parameter from
8746 DrawLineLowLevel() This is superflous, as it is only passed as TRUE when the Gathering
8747 variable it overrides is known to be FALSE anyway.
8749 2010-08-25 Peter Clifton * pcjc2 AT cam dot ac dot uk *
8751 * src/data.c, src/data.h, src/draw.c: Remove unused global variable
8752 "render", and "extern bool RedrawOnEnter" The "render" variable was set and reset, but was not used anywhere.
8754 2010-08-24 Peter Clifton * pcjc2 AT cam dot ac dot uk *
8756 * src/hid/gtk/gui-output-events.c: hid/gtk: Track previous state of
8757 crosshair attachements when undrawing For correctness - this doesn't necessarily fix any rendering bugs.
8759 2010-08-24 Peter Clifton * pcjc2 AT cam dot ac dot uk *
8761 * src/hid/gtk/gui-utils.c: hid/gtk: Simplify ghid_draw_area_update() If the rect passed is NULL, we can simply pass that on to
8762 gdk_window_invalidate_rect() which will invalidate the whole area.
8764 2010-08-24 Peter Clifton * pcjc2 AT cam dot ac dot uk *
8766 * src/hid/gtk/gui-utils.c, src/hid/gtk/gui.h: hid/gtk: Remove unused
8767 functions relating to string display Removes ghid_string_markup_extents() and ghid_string_markup()
8769 2010-08-24 Peter Clifton * pcjc2 AT cam dot ac dot uk *
8771 * src/hid/gtk/gui-utils.c: hid/gtk: Remove unused
8772 ghid_draw_area_clear() function
8774 2010-08-15 DJ Delorie * dj AT delorie dot com *
8776 * src/hid/gtk/gui-top-window.c: Merge GTK attributes. Since the new help system only allows one attribute (i.e. command
8777 line) list per HID, combine the two GTK lists into one.
8779 2010-08-15 DJ Delorie * dj AT delorie dot com *
8781 * src/hid/lesstif/main.c, src/hid/lesstif/menu.c: Merge lesstif
8782 attributes. Since the new help system only allows one attribute (i.e. command
8783 line) list per HID, combine the two Lesstif lists into one.
8785 2010-08-15 DJ Delorie * dj AT delorie dot com *
8787 * src/main.c: Print all command line options with help. Keep track of which attributes we've printed as part of the HID
8788 help. After that, print any remaining attributes we know about that
8789 we haven't already printed.
8791 2010-08-15 DJ Delorie * dj AT delorie dot com *
8793 * src/hid/gtk/gtkhid-main.c, src/hid/gtk/gui-top-window.c: Export
8794 GTK attributes. The new help system uses export attribute lists for help, so the
8795 Lesstif HID needs to export them.
8797 2010-08-15 DJ Delorie * dj AT delorie dot com *
8799 * src/hid/lesstif/main.c: Export lesstif attributes. The new help system uses export attribute lists for help, so the
8800 Lesstif HID needs to export them.
8802 2010-08-15 DJ Delorie * dj AT delorie dot com *
8804 * src/action.c: Check for NULL element name when adding attributes. When setting element attributes, if the element is as yet unnamed,
8805 use an "unnamed element" title instead of segfaulting.
8807 2010-08-15 Robert Spanton * rspanton AT zepler dot net *
8809 * po/ru.po, src/hid/gtk/gui-dialog.c: Add a keyboard shortcut to
8810 pcb's "close without saving" option This patch adds a keyboard mnemonic to the "close without saving"
8811 option in the close confirmation dialog box.
8813 2010-08-15 DJ Delorie * dj AT delorie dot com *
8815 * src/action.c: Update Import() docs Fix capitalization. Mention that elements that should be removed
8816 are left, but selected, after an Import.
8818 2010-08-15 DJ Delorie * dj AT delorie dot com *
8820 * src/buffer.c, src/gpcb-menu.res, src/pcb-menu.res: Add
8821 FreeRotateBuffer to the Menu Modify FreeRotateBuffer() to prompt the user if no angle is passed.
8822 Add an entry to the menus to call it that way.
8824 2010-08-10 kai-martin * kmk AT bibo dot iqo dot uni-hannover dot de *
8826 * src/action.c: modified: action.c (fix element name position on
8829 2010-08-14 DJ Delorie * dj AT delorie dot com *
8831 * tools/gnet-pcbfwd.scm: Quote strings Quote all strings that might contains commas or close parens, to
8832 avoid syntax errors when those names are passed to actions.
8834 2010-08-03 DJ Delorie * dj AT delorie dot com *
8836 * src/select.c: Don't select silk on the far side if the far side is
8837 not shown The logic for determining if a layer was "on" didn't take into
8838 account that the two silkscreen layers are handled differently.
8839 Thus, if you tried to select shown silk, you would select hidden
8840 silk on the other side too, unknowingly moving that around. With this patch, silk on the far side is only selected if the far
8841 side ("invisible" side) is shown.
8843 2010-06-06 Peter Clifton * pcjc2 AT cam dot ac dot uk *
8845 * src/action.c, src/const.h, src/crosshair.c, src/flags.c,
8846 src/gpcb-menu.res, src/hid/gtk/gui-icons-mode-buttons.data,
8847 src/hid/gtk/gui-misc.c, src/hid/gtk/gui-output-events.c,
8848 src/hid/gtk/gui-top-window.c, src/hid/lesstif/main.c,
8849 src/pcb-menu.res, src/set.c: Introduce POLYGONHOLE_MODE for creating
8850 holes in polygons Having selected polygon hole mode, the first click selects which
8851 polygon to cut a hole in. A second click defines the start point of
8852 the hole contour. The tool then behaves in a similar way to the
8853 polygon drawing tool, with the hole ending when the start point is
8854 re-clicked. To avoid creating illegal polygons, the hole drawn is subtracted
8855 from a representation of the original polygon with the
8856 poly_Boolean_free(). This consolidates any contours it intersects
8857 with and prevents the user defining contours which intersect each
8858 other. (Although we don't currently prevent the the user drawing
8859 self-intersecting contours). The resulting POLYAREA is re-processed into PolygonType objects,
8860 potentially more than one - if the hole drawn bisects the original
8861 polygon. To keep undo operations simple, these are added as
8862 completely new objects and the original polygon is deleted - along
8865 2010-06-06 Peter Clifton * pcjc2 AT cam dot ac dot uk *
8867 * src/polygon.c, src/polygon.h: Expose APIs for creating POLYAREA
8868 from PolygonType objects and back The PolygonPoly() API wraps polygon.c's original_poly() function,
8869 whilst PolyToPolygonsOnLayer() converts the passed POLYAREA and all
8870 those linked to it into discrete PolygonType objects on the board.
8872 2010-06-06 Peter Clifton * pcjc2 AT cam dot ac dot uk *
8874 * src/action.c, src/autoroute.c, src/buffer.c, src/copy.c,
8875 src/create.c, src/create.h, src/crosshair.c, src/file.c,
8876 src/file.h, src/global.h, src/insert.c, src/insert.h, src/mymem.c,
8877 src/mymem.h, src/parse_l.l, src/parse_y.y, src/polygon.c,
8878 src/polygon.h, src/remove.c, src/report.c, src/undo.c, src/undo.h:
8879 Support holes in input polygons (incl. file-format addition) PCB file-format date is now 20100606, and files saved with this or
8880 greater PCB version will not load with older versions of PCB. If a
8881 particular board doesn't make use of the polygon hole feature, the
8882 PCB revision date in the file can be manually reset to 20070407. The file-format addition is as follows. Previously, a polygon would
8883 be specified as a series of coordinates, such as: Layer(1 "component") ( Polygon("clearpoly") ( [6000 6000] [81000 6000] [81000 59000] [6000 59000] ) ) This commit introduces the ability to specify negative contours
8884 which form holes in the polygon shape, e.g.: Layer(1 "component") ( Polygon("") ( [6000 6000] [81000 6000] [81000 59000] [6000 59000] Hole ( [76000 55000] [76000 38000] [58000 38000] [58000 55000] ) Hole ( [10000 10000] [10000 28000] [27000 28000] [27000 10000] ) ) ) The winding order of the contours specified in the file does not
8885 matter, since PCB will automatically invert the order of the points
8886 as necessary (as it always did with the outer contour). Hole contours should not intersect or self-intersect (although this
8887 isn't checked for at load time). Hole contours must not intersect
8888 the polygon's outer contour. Technical details: The PolygonType structure has a number of new fields, the critical
8889 ones being an array of indices defining the start of hole contours. (PolygonType *)->HoleIndex[n] The number of hole contours is stored in (PolygonType
8890 *)->HoleIndexN, and the maximum allocated memory for indices in
8891 (...)->HoleIndexMax. The first hole contour starts at the point
8892 given by (...)->Points[(...)->HoleIndex[0]], and continues until the start of
8893 the next contour, or the last point defined. By storing all polygon points (including holes) in the existing
8894 array (...)->Points[], existing code which operates on the polygon as a
8895 whole, e.g. translation and rotation, can operate without change. For other operations, determining wrap-around to operate within the
8896 same contour requires more computation. Some helper functions have
8897 been introduced in polygon.c to aid this, next_contour_point() and
8898 prev_contour_point(). Where applicable, these have been used to
8899 simplify existing code which used ad-hoc wrap-around code. polygon_point_idx() computes the array index of a point in a polygon
8900 from its PointTypePtr address. This is used to replace a search
8901 idiom used in a number of places. polygon_point_contour() returns
8902 the number of the contour a given point index belongs in, 0 for the
8903 outer contour, 1 for the first hole etc.. Undo: Undo with holes has become a little more complex. The undo for a
8904 point removal must now record which contour the point came from.
8905 This is determined by the index of the removed point, and a new
8906 boolean flag "last_in_contour", indicating if the point was at the
8907 end of its contour. This flag is passed to InsertPointIntoObject(),
8908 which uses it to disambiguate inserting a point at an index on the
8909 boundary of two contours. Undo operations for removing hole contours "cheat" by saving a copy
8910 of the whole polygon into the undo buffer rather than attempting to
8911 describe the operation as a delta change to an existing polygon.
8912 When undoing, the object IDs are swapped to keep them consistent.
8914 2010-06-05 Jared Casper * jaredcasper AT gmail dot com *
8916 * src/hid/gtk/gui-log-window.c: Add missing return statement.
8918 2010-06-05 Jared Casper * jaredcasper AT gmail dot com *
8920 * src/gpcb-menu.res, src/pcb-menu.res: Fix Bug #2717258, Lock mode
8921 with F12. Binds F12 to lock mode in the default gcpb-menu.res and pcb-menu.res
8922 files, bringing them inline with existing documentation.
8924 2010-06-05 Peter Clifton * pcjc2 AT cam dot ac dot uk *
8926 * src/crosshair.c, src/hid/lesstif/main.c: Revert some "True" ->
8927 "true" string changes These were inadvertently changed by the mechanised Boolean -> bool
8928 replacement in commit ad5eb5a165442be38624aa622beeb57dc1d2afbd
8930 2010-06-05 Robert Spanton * rspanton AT zepler dot net *
8932 * src/action.c, src/action.h, src/autoplace.c, src/autoplace.h,
8933 src/autoroute.c, src/autoroute.h, src/box.h, src/buffer.c,
8934 src/buffer.h, src/change.c, src/change.h, src/clip.c, src/clip.h,
8935 src/command.c, src/copy.c, src/copy.h, src/create.c, src/create.h,
8936 src/crosshair.c, src/crosshair.h, src/data.c, src/data.h,
8937 src/djopt.c, src/draw.c, src/draw.h, src/drill.c, src/file.c,
8938 src/file.h, src/find.c, src/find.h, src/flags.c, src/global.h,
8939 src/gts/gts.h, src/hid/gerber/gerber.c,
8940 src/hid/gtk/gui-command-window.c, src/hid/gtk/gui-dialog-size.c,
8941 src/hid/gtk/gui-drc-window.c, src/hid/gtk/gui-library-window.c,
8942 src/hid/gtk/gui-misc.c, src/hid/gtk/gui-netlist-window.c,
8943 src/hid/gtk/gui-output-events.c, src/hid/gtk/gui-top-window.c,
8944 src/hid/lesstif/dialogs.c, src/hid/lesstif/library.c,
8945 src/hid/lesstif/main.c, src/hid/lesstif/menu.c,
8946 src/hid/lesstif/netlist.c, src/hid/lesstif/styles.c,
8947 src/hid/nelma/nelma.c, src/insert.c, src/insert.h, src/line.c,
8948 src/main.c, src/misc.c, src/misc.h, src/move.c, src/move.h,
8949 src/mtspace.c, src/mtspace.h, src/mymem.c, src/netlist.c,
8950 src/parse_l.l, src/parse_y.y, src/polygon.c, src/polygon.h,
8951 src/polygon1.c, src/rats.c, src/rats.h, src/remove.c, src/remove.h,
8952 src/report.c, src/rotate.c, src/rtree.c, src/rtree.h,
8953 src/rubberband.c, src/search.c, src/search.h, src/select.c,
8954 src/select.h, src/set.c, src/set.h, src/thermal.c,
8955 src/toporouter.c, src/undo.c, src/undo.h, src/vendor.c,
8956 src/vendor.h: Change all Booleans to bool. c99 provides bool. Declaring Boolean adds some obscurity to the
8957 code, and could also miss out on some machine-specific
8958 optimisations. This patch removes the definition of Boolean, and changes all
8959 instances of it to bool. If you've come across this commit because it's causing you issues
8960 when rebasing on mainline pcb, then you should find the following
8961 script useful. You can use it to rewrite all of your local commits
8962 to use bool instead of Boolean like so: git filter-branch --tree-filter rename-bool.sh HEAD...${HASH} Replacing ${HASH} with the latest commit that's in mainline. if [ ! -f src/autoplace.c ] then echo "This doesn't look like the PCB source directory." echo "Cowardly exiting to avoid causing misery!" exit fi chg_bool () { FNAME=$1 ADDR=$2 sed -i -e "${ADDR}s/\bBoolean\b/bool/g" "$FNAME" sed -i -e "${ADDR}s/\bTrue\b/true/g" "$FNAME" sed -i -e "${ADDR}s/\bFalse\b/false/g" "$FNAME" } find -name '*.[ch]' | while read f do chg_bool "$f" done find -name '*.[yl]' | while read f do # Replace first '%%' line with __TMP_MARKER_ sed -i -e '0,/^%%/s/^%%/__TMP_MARKER_/' "$f" # Replace in section before the first '%%' chg_bool "$f" "0,/^__TMP_MARKER_/" # Replace in section after the last '%%' chg_bool "$f" "/^%%/,$" # Remove the temporary marker: sed -i -e 's/^__TMP_MARKER_/%%/' "$f" done
8964 2010-06-03 Peter Clifton * pcjc2 AT cam dot ac dot uk *
8966 * src/file.c, src/parse_y.y: Refer to git, not cvs when reading a
8967 file from newer PCB.
8969 2010-06-02 Sergey Alyoshin * alyoshin dot s AT gmail dot com *
8971 * po/LINGUAS, po/ru.po: Add Russian translation
8973 2010-06-02 Sergey Alyoshin * alyoshin dot s AT gmail dot com *
8975 * po/POTFILES.in: Add source files with localized strings to .po
8978 2010-06-02 Sergey Alyoshin * alyoshin dot s AT gmail dot com *
8980 * src/hid/gtk/gui-keyref-window.c, src/rats.c: Adjust punctuation
8981 and capitalisation of some messages
8983 2010-06-02 Sergey Alyoshin * alyoshin dot s AT gmail dot com *
8985 * src/gpcb-menu.res: Add top level menu to localization
8987 2010-06-02 Sergey Alyoshin * alyoshin dot s AT gmail dot com *
8989 * src/gpcb-menu.res, src/pcb-menu.res: String unification and white
8990 space cleanup String Rip up selected auto-routed tracks unified, so it can be
8991 translated as one string. Also some white spaces at end of line
8994 2010-06-02 Sergey Alyoshin * alyoshin dot s AT gmail dot com *
8996 * src/hid/common/actions.c: Localize need coord message before
8999 2010-06-02 Sergey Alyoshin * alyoshin dot s AT gmail dot com *
9001 * src/action.c, src/change.c, src/create.c,
9002 src/hid/gtk/gtkhid-main.c, src/hid/gtk/gui-command-window.c,
9003 src/hid/gtk/gui-config.c, src/hid/gtk/gui-top-window.c,
9004 src/hid/ps/ps.c: Add strings to localization
9006 2010-06-02 Sergey Alyoshin * alyoshin dot s AT gmail dot com *
9008 * src/global.h, src/hid/gtk/gui.h: Move internationalization macros
9011 2010-06-02 Sergey Alyoshin * alyoshin dot s AT gmail dot com *
9013 * autogen.sh: Add rule to extract localized stings from .res files
9015 2010-06-02 Peter Clifton * pcjc2 AT cam dot ac dot uk *
9017 * src/hid/gtk/gtkhid-gdk.c: hid/gtk: Don't call gdk_draw_points()
9018 when we have no grid points to draw Fixes this warning seen when zooming close in on a course grid
9019 setting: Gdk-CRITICAL **: gdk_draw_points: assertion `(points != NULL) &&
9020 (n_points > 0)' failed
9022 2010-06-02 Peter Clifton * pcjc2 AT cam dot ac dot uk *
9024 * src/polygon1.c: Fix node_label() function to work with
9025 self-intersection Rather than just giving up if we encounter our own edges in the CVC
9026 list at first, skip them until we either run out of edges, or find
9027 one belonging to the other polygon. I'm not 100% sure this is the correct fix, but it "seems to work". Test-case: Layer(1 "component") ( Line[60000 70000 60000 90000 4000 2000 "clearline"] Line[80000 60000 80000 90000 4000 2000 "clearline"] Line[90000 90000 90000 50000 4000 6000 "clearline"] Line[60000 40000 80000 60000 4000 6000 "clearline"] Polygon("clearpoly") ( [10000 10000] [140000 10000] [140000 140000] [10000 140000] ) )
9029 2010-06-02 Peter Clifton * pcjc2 AT cam dot ac dot uk *
9031 * src/polygon1.c: Fix the polygon touching contour test in
9032 poly_ChkContour The following test-cases were used to help verify the changes: This polygon forms a self-touching shape like this: \| However, the right-hand edge does NOT have a node at the
9033 junction. /| This previously caused it to fail the
9034 self-intersection test. It should be reported as good. Polygon("") ( [85000 50000] [85000 90000] [83000 90000] [83536 63535] [85000 59999] [83535 56464] ) This polygon forms a self-intersecting shape like this: |/ (The vertical section is a straight line with no node in the
9035 middle) /| It must be reported as bad. Polygon("") ( [85000 50000] [85000 90000] [83000 90000] [83536 63535] [85000 59999] [89535 56464] ) This polygon self-intersects, and must be reported as bad: Polygon("") ( [160000 50000] [160000 90000] [170000 100000] [180000 120000] [180000 150000] [160000 150000] [160000 120000] [170000 100000] [180000 90000] [180000 50000] ) This polygon self-touches, and should be reported as good: Polygon("clearpoly") ( [120000 50000] [120000 90000] [130000 100000] [120000 120000] [120000 150000] [140000 150000] [140000 120000] [130000 100000] [140000 90000] [140000 50000] )
9037 2010-06-02 Peter Clifton * pcjc2 AT cam dot ac dot uk *
9039 * src/polygon1.c: Fix poly_ComputeInteriorPoint() to work correctly
9040 for holes The step where the algorithm finds a convex node to start from must
9041 take into account whether the polygon vertices are ordered as a hole
9042 or an outer contour. We now correctly compute a point inside the
9043 hole, rather than possibly outside it. This fixes an assertion on the following test-case. Prior to this
9044 commit, the incorrect "interior" point tested for the concave hole
9045 happens to lie inside the polygon's other hole, causing it to fail
9046 an assert during processing. Layer(2 "solder") ( Line[340000 160000 183700 108000 1500 3000 "clearline"] Line[92000 121000 120000 90000 1500 3000 "clearline"] Line[270000 90000 120000 90000 1500 3000 "clearline"] Polygon("clearpoly") ( [40000 40000] [320000 40000] [320000 200000] [40000 200000] ) ) The bug was created in my attempt to speed up poly_ContourInContour:
9047 commit 3d0a8bd1dae0816d364a774bf9b958faf2983ec7
9049 2010-05-11 Peter Clifton * pcjc2 AT cam dot ac dot uk *
9051 * src/polygon1.c: Speed up poly_ContourInContour() test by computing
9052 interior point NB: This introduces a behaviour change in the boundary case, that
9053 two identical contours will now be considered to be inside each
9054 other. First perform a test on an arbitrary boundary node (proving that the
9055 contour being testing for "insideness" is not outside the other
9056 contour. (This cannot not conclusively prove the contour is inside). In many cases, this simple node test gives enough evidence to return
9057 0 for the ContourInContour test computing and testing an interior
9058 point. Rather than checking each exterior point, compute a strictly
9059 interior point (not on the boundary), and test that against the
9060 second contour. Benchmarked to improve performance over other fixes for the buggy
9061 test. Example board load (CPU) times for a complex board: 21.50 (buggy contour_in_contour - single node point test) 24.43 (brute-force node point tests) 21.79 (single node test, then internal point test)
9063 2010-05-10 Peter Clifton * pcjc2 AT cam dot ac dot uk *
9065 * src/polygon1.c: Fix poly_ContourInContour() test not to return
9066 TRUE for touching contours This test could previously return true for touching contours, such
9067 as: __________.... |_________ | : :........ || : :: /\ : || :
9068 Note that the bounding box of A is inside that of B, :: / \ :/ \ :
9069 such that initial bounding box checks won't reject the ::/ A \/ B
9070 \: possibility of A being inside B. ::\ /\ /: :: \ / :\ /
9071 : ::..\/..:.\/..: When testing for insideness, the first point on A's contour is
9072 picked. In this case, unfortunately being the touching X point
9073 between the two contours. This point (correctly) returns as being
9074 inside B - and the false presumption is that the whole A contour is
9075 inside B. This commit introduces an unfortunately slow, but more robust test,
9076 where we check each node in A for whether it is inside B. We return
9077 as soon as we find an A node outside B, however this means the test
9078 is VERY much slower for the case where A _is_ inside B.
9080 2010-05-11 Peter Clifton * pcjc2 AT cam dot ac dot uk *
9082 * src/polygon1.c: Add comment explaining assumptions for
9083 poly_ContourInContour function Also, document its buggy boundary condition where the arbitrary
9084 point chosen to test happens to be a common node shared between two
9085 separate contours (which the test should return FALSE for).
9087 2010-05-10 Peter Clifton * pcjc2 AT cam dot ac dot uk *
9089 * configure.ac: Make --enable-dbus default for the GTK and Lesstif
9092 2010-05-10 Peter Clifton * pcjc2 AT cam dot ac dot uk *
9094 * src/main.c: Allow running of action scripts when running PCB as an
9097 2010-05-10 Peter Clifton * pcjc2 AT cam dot ac dot uk *
9099 * src/polygon1.c: Improve dump_poly() output Make it print each contour of a POLYAREA, and move the NEXT PLINE
9100 and NEXT POLY messages inside the loops interating over these
9103 2010-05-10 Peter Clifton * pcjc2 AT cam dot ac dot uk *
9105 * src/hid/gtk/gui-output-events.c: hid/gtk: Add tool-tip to identify
9106 element, pin and net when hovering
9108 2010-05-09 DJ Delorie * dj AT delorie dot com *
9110 * src/gpcb-menu.res, src/pcb-menu.res: Clarify the meaning of keys
9111 bound to SetValue() Clarifies that keys which are bound to SetValue change the styles,
9112 not the existing objects, so they really affect *new* objects.
9114 2010-05-04 DJ Delorie * dj AT delorie dot com *
9116 * src/hid/png/png.c: Fix PNG bloat for drills. Keep track of when the GC is doing an erase or drill, and invert the
9119 2010-04-23 DJ Delorie * dj AT delorie dot com *
9121 * src/hid/gtk/gtkhid-main.c: Allow for only one confirm button. The GTK confirm_dialog() hook now supports the user passing only one
9122 button. Before, if you passed just "ok" it would create two OK
9125 2010-04-23 DJ Delorie * dj AT delorie dot com *
9127 * src/change.c: Add hint about :MinClearGap(Selected,=10,mil) Add a hint to the user about how to change the clearance of a group
9130 2010-04-23 DJ Delorie * dj AT delorie dot com *
9132 * src/change.c, src/change.h: Handle attempts to change clearance on
9133 polygons. If the user attempts to change the clearance between polygons and
9134 objects within the polygon by pressing 'k' over the *polygon*,
9135 notice that attemp and tell the user how to accomplish what they
9138 2010-04-12 Kai-Martin Knaak * kmk AT lilalaser dot de *
9140 * doc/extract-docs: expand the syntax of documentating comments This is part of the effort to derive the command line option entries
9141 in the manual dynamically from the source. The expanded syntax
9142 allows for more control on the actual headings rendered in the
9143 manual. 1) accept keys enclosed in quotation marks ("). This allows for
9144 multiple word nodes in the documentation. 2) strip leading digits of the key after sort. This allows to
9145 control the order of nodes from the source.
9147 2010-04-16 Jared Casper * jaredcasper AT gmail dot com *
9149 * doc/pcb.texi, doc/thermal.pcb: Fix pr2136131. Clarify image of
9150 thermal in doc. Also added some text about changing the style of thermal using
9151 shift-click in the sections that talk about it.
9153 2010-03-18 Jared Casper * jaredcasper AT gmail dot com *
9155 * src/hid/common/actions.c: Check action name at registration. Prevent actions with spaces and '(' in their names from being
9156 registered; these will cause ambiguity and problems in
9157 hid_parse_actionstring.
9159 2010-03-18 Jared Casper * jaredcasper AT gmail dot com *
9161 * doc/pcb.texi, src/action.c, src/hid.h, src/hid/batch/batch.c,
9162 src/hid/common/actions.c, src/hid/common/hid_resource.c,
9163 src/hid/gtk/gui-command-window.c, src/hid/gtk/gui-top-window.c,
9164 src/hid/lesstif/main.c, src/hid/lesstif/menu.c, src/main.c:
9165 Consolidate hid action parsing. - Create a common routine hid_parse_command, which handles both
9166 action script style "action(arg1, arg2);" and command entry style
9167 "action arg1 arg2". This is done by making a static
9168 hid_parse_actionstring function, which takes a boolean to determine
9169 whether or not it should accept command entry style strings.
9170 hid_parse_actions functions as it currently does, only accepting
9171 action script style, but does so by calling hid_parse_actionstring
9172 with TRUE. - Use hid_parse_command across all hids for user command entry,
9173 removing command_parse in lesstif/main.c and batch/batch.c. - Added extra error handling to common hid_actionv to match
9174 lesstif_call_action and remove lesstif_call_action.
9176 2010-04-05 Dan McMahill * dan AT mcmahill dot net *
9178 * src/toporouter.c: Fix some "mixed declarations and code" issues.
9180 2010-04-04 Ineiev * ineiev AT gmail dot com *
9182 * src/misc.c: Fix "Request for bounding box of unsupported type
9183 1024" Tracker bug # 2893717
9185 https://sourceforge.net/tracker/?func=detail&atid=538811&aid=2893717&group_id=73743
9187 2010-04-03 DJ Delorie * dj AT duopoly dot delorie dot com *
9189 * src/hid/lesstif/dialogs.c: Fix doc typo
9191 2010-04-03 Stuart Brorson * sdb AT cloud9 dot net *
9193 * src/hid/gtk/gtkhid-main.c, src/hid/gtk/gui-dialog.c: Open
9194 schematic file chooser dialog if PCB name is not set. (cherry picked from commit 209e1031656f58ffe40189d93893457975c4042f)
9196 2010-04-03 DJ Delorie * dj AT duopoly dot delorie dot com *
9198 * src/hid/lesstif/dialogs.c: Implement lesstif ImportGUI()
9200 2010-04-03 DJ Delorie * dj AT duopoly dot delorie dot com *
9202 * src/action.c: Add missing newline.
9204 2010-04-03 DJ Delorie * dj AT duopoly dot delorie dot com *
9206 * src/action.c: Let the GUI deal with choosing schematics. If the PCB is as yet unnamed, or if the pcb name doesn't correspond
9207 to a schematic file, have Import() call ImportGUI() to let the user
9208 tell PCB what to do. Note: corresponding HID changes are separate commits.
9210 2010-04-03 DJ Delorie * dj AT duopoly dot delorie dot com *
9212 * src/misc.c, src/misc.h: Add AttributePut functionality. Add the logic to put arbitrary attributes into a PCB.
9214 2010-04-03 Stuart Brorson * sdb AT cloud9 dot net *
9216 * src/file.h: Remove conflicting declaration of ParseLibraryTree. This is a static function declared in file.c. Therefore I took it
9219 2010-04-03 Stuart Brorson * sdb AT cloud9 dot net *
9221 * src/action.c: Place components in middle of board instead of at
9224 2010-03-01 Stuart Brorson * sdb AT cloud9 dot net *
9226 * src/action.c, src/buffer.c, src/change.c, src/copy.c,
9227 src/create.c, src/file.c, src/file.h, src/global.h, src/main.c:
9228 Support for footprints not in subdirectories Added tons of debug spew to various files to aid in program tracing
9229 Also, modify library loading stuff in file.c to allow footprints to
9230 live directly in library directory (rather than only one level
9233 2010-04-02 Dan McMahill * dan AT mcmahill dot net *
9235 * src/hid/png/png.c: When built with less than all of the graphic
9236 formats that the png exporter supports, don't segfault anymore. The
9237 problem is an array is defined differently at compile time but the
9238 default value for the format was constant and a ways into the array.
9239 Problem reported by jean on irc.
9241 2010-04-01 Dan McMahill * dan AT mcmahill dot net *
9243 * src/hid/gtk/gui-top-window.c: Inform the user where (what file or
9244 compiled in defaults) the menu config came from. Should help with
9245 some of the gpcb-menu.res versus pcb-menu.res and the
9246 ./gpcb-menu.res versus ~/.pcb/gpcb-menu.res confusion which comes up
9249 2010-04-01 DJ Delorie * dj AT delorie dot com *
9251 * src/report.c: Return non-fail for ReportAllNetLengths()
9253 2010-04-01 DJ Delorie * dj AT delorie dot com *
9255 * src/report.c: Record the calculated length in Report(NetLength)
9257 2010-03-24 Dan McMahill * dan AT mcmahill dot net *
9259 * : commit d9e4279e4c0af142bc776bdd4a3b905388ce6b5a Author: Dan
9260 McMahill * dan AT mcmahill dot net * Date: Wed Mar 24 17:38:17
9263 2010-03-22 anthonix * anthonix AT anthonix-desktop dot (none) *
9265 * : commit 6081daa8966c8c83bb734789c38dd5c42dd97443 Author:
9266 anthonix * anthonix AT anthonix-desktop dot (none) * Date: Mon Mar
9267 22 12:38:01 2010 +1300
9269 2010-03-21 DJ Delorie * dj AT delorie dot com *
9271 * src/hid/lesstif/menu.c: Fix Typo
9273 2010-03-20 anthonix * anthonix AT anthonix-desktop dot (none) *
9275 * src/toporouter.c: Toporouter: Speccut bug fix
9277 2010-03-20 anthonix * anthonix AT anthonix-desktop dot (none) *
9279 * : commit 1ee723379413c20973bdad27b1e1cf1d722cf3d1 Author:
9280 anthonix * anthonix AT anthonix-desktop dot (none) * Date: Sat Mar
9281 20 19:45:05 2010 +1300
9283 2010-03-19 Anthony M. Blake * anthonix AT anthonix dot resnet dot scms dot waikato dot ac dot nz *
9285 * : commit e45f4e8d15f2c30f8ccb37de5b0bfa801fca572c Author: Anthony
9286 M. Blake * anthonix AT anthonix dot resnet dot scms dot waikato dot
9287 ac dot nz * Date: Fri Mar 19 16:25:38 2010 +1300
9289 2010-03-18 Dan McMahill * dan AT mcmahill dot net *
9291 * tests/run_tests.sh: Missed the copyright bump when adding the
9292 gcode compare routines a few weeks back.
9294 2010-03-18 Dan McMahill * dan AT mcmahill dot net *
9296 * configure.ac, tests/golden/Makefile.am,
9297 tests/golden/hid_png2/Makefile.am,
9298 tests/golden/hid_png3/Makefile.am, tests/tests.list: Add tests for
9299 --outfile and --dpi arguments to the PNG exporter
9301 2010-03-13 Kai-Martin Knaak * kmk AT lilalaser dot de *
9303 * README, doc/pcb.texi, src/main.c, win32/Readme.txt: replaces
9304 "pcb.sourceforge.net" with "pcb.gpleda.org"
9306 2010-03-14 Stuart Brorson * sdb AT cloud9 dot net *
9308 * src/hid.h, src/hid/common/actions.c: Apply patch from Patrick
9309 Bernaud: Add function to register single action. The possibility to register a single action has been introduced with
9310 commit 337fa8ba8094cee1ed291cec7bf29895ac7c9d72 but then reverted
9311 later when changing way of passing context to action callback.
9313 2010-03-14 Stuart Brorson * sdb AT cloud9 dot net *
9315 * src/hid/common/actions.c: Apply patch from Patrick Bernaud: Modify
9316 HID actions storage. It removes the HID_ActionNode structure and directly store
9317 registered actions in an array of HID_Action*. It also provides a nicer way of making sure the array is sorted and
9318 the code for binary search within the array has been removed in
9319 favor of a call to bsearch().
9321 2010-03-14 Stuart Brorson * sdb AT cloud9 dot net *
9323 * src/main.c: Apply patch from Patrick Bernaud: Set 'exporter'
9324 global variable before printing defaults. In print_defaults(), when the HID to print defaults is not a gui,
9325 set 'exporter' global variable prior to calling HID's
9326 get_export_options() callback.
9328 2010-03-14 Stuart Brorson * sdb AT cloud9 dot net *
9330 * src/main.c: Apply patch from Patrick Bernaud: Rewrite function
9331 that print HID options. The previous version of usage_hid() had a strange search for gui HID
9332 attributes through 'hid_attr_node' rather than requesting them
9333 directly from the HID. As a result it was calling the get_export_options() callback on
9334 exporter without prior setting of the exporter global variable.
9336 2010-03-14 Stuart Brorson * sdb AT cloud9 dot net *
9338 * src/hid/gtk/gui-dialog-print.c: Apply patch from Patrick Bernaud:
9339 gtkhid: Avoid use of 'exporter' when testing for exporter
9342 2010-03-14 Stuart Brorson * sdb AT cloud9 dot net *
9344 * src/hid/gtk/gui-dialog-print.c: Apply patch from Patrick Bernaud:
9345 gtkhid: Set and unset global variable 'exporter' when printing. The GTK hid was not setting the global variable 'exporter' before
9346 exporting the layout in ghid_dialog_print(): exporter HID relying on
9347 this variable being set were lost.
9349 2010-03-14 Stuart Brorson * sdb AT cloud9 dot net *
9351 * src/hid.h, src/hid/common/actions.c, src/hid/lesstif/menu.c: Apply
9352 patch from Patrick Bernaud: Provide context to callbacks of actions
9353 through global variable. Providing a context to action is necessary for scripting languages
9354 (for example). To do so, a global variable ('current_action') is
9355 being defined: it is saved, set and restored when running the
9356 callback of an action in a way similar to what PCB already does with
9357 HIDs. The callback function may access the action it belongs to and cast
9358 it the way it wants to extract information from a potentially
9359 extended HID_Action structure.
9361 2010-03-14 Stuart Brorson * sdb AT cloud9 dot net *
9363 * src/hid/common/actions.c: Apply patch from Patrick Bernaud: Sort
9364 actions by references in 'all_actions'. Previously, when building 'all_actions', a copy of every HID_Action
9365 was performed for each action. Now it builds 'all_actions' with
9366 pointers to the actual HID_Action structures (without reallocating).
9368 2010-03-14 Stuart Brorson * sdb AT cloud9 dot net *
9370 * src/hid.h, src/hid/common/actions.c, src/hid/hidint.h,
9371 src/hid/lesstif/menu.c: Apply patch from Patrick Bernaud: Revert
9372 "single-action register/deregister". This reverts commits 337fa8ba8094cee1ed291cec7bf29895ac7c9d72 and
9373 b274cf8fe9c8caf5bcd4edc28935c88cf5bab7f4 before the introduction of
9374 a new context passing scheme for actions.
9376 2010-03-14 Stuart Brorson * sdb AT cloud9 dot net *
9378 * src/hid.h: Apply patch from Patrick Bernaud: Fix comment for
9379 global variable 'gui' in hid.h. hid_start_gui() does not exist. The variable is instead set in
9380 main() and hid_expose_callback().
9382 2010-03-14 Stuart Brorson * sdb AT cloud9 dot net *
9384 * src/draw.c: Apply patch from Patrick Bernaud: Modify
9385 DrawSpecialPolygon() prototype to not take a pointer on HID. DrawSpecialPolygon() was the only function to take a HID as
9386 parameter. Every other draw function works on the current HID
9387 through global variable 'gui'.
9389 2010-03-14 Stuart Brorson * sdb AT cloud9 dot net *
9391 * src/hid/gtk/gui-dialog-print.c: Apply patch from Patrick Bernaud:
9392 Support HID_Mixed options in attribute dialog Since an HID_Mixed attribute is the combination of a real and an
9393 enum, reuse the code for HID_Enum to provide a combo box next to the
9394 spin button for the real part.
9396 2010-03-14 Stuart Brorson * sdb AT cloud9 dot net *
9398 * src/hid/common/hidinit.c, src/hid/gtk/gui-config.c, src/main.c:
9399 Apply patch from Patrick Bernaud. Modified code to not abort on HID_Mixed attributes. Th gtk HID is
9400 modified to understand such an attribute (though the attribute
9401 dialog has still no support for them), the lesstif HID is unchanged.
9403 2010-03-14 Stuart Brorson * sdb AT cloud9 dot net *
9405 * src/main.c: Applying patch from Patrick Bernaud. HIDs with a name too long were breaking alignement in usage() as the
9406 code requested insertion of a tab after the name even for HID names
9407 already exceeding the length of the tabulation. This is similar to how usage_attr() already does alignment of name
9410 2010-03-13 Dan McMahill * dan AT mcmahill dot net *
9412 * : commit b75d1fe8d42c138ae499898db5b926948b73f767 Author: Dan
9413 McMahill * dan AT mcmahill dot net * Date: Sat Mar 13 09:08:06
9416 2010-03-12 Peter Clifton * pcjc2 AT cam dot ac dot uk *
9418 * src/hid/gcode/gcode.c: Remove invalidate_wh from the new gcode HID
9421 2010-03-11 Peter Clifton * pcjc2 AT cam dot ac dot uk *
9423 * src/global.h, src/main.c, src/misc.c: Remove Settings.init_done
9424 variable and its usage This variable was previously used to allow action scripts run prior
9425 to loading the GUI to avoid GUI startup if they executed a "Quit"
9426 action. The requirement dates back prior to the HID split, where the "Quit"
9427 action would cause PCB to call gtk_main_quit(), an operation which
9428 is illegal if the GUI main loop was not yet started. The init_done
9429 flag was used in QuitApplication(), both to determine whether the
9430 GUI had started, and if not - to note that the GUI should not be
9431 initialised later. (Instead of calling gtk_main_quit()). With the HID split, the QuitApplication() function was changed to
9432 call exit(0) rather than gtk_main_quit(), so this dance isn't
9433 necessary at all now.. in either case, we can just exit the
9434 application immediately.
9436 2010-03-11 Peter Clifton * pcjc2 AT cam dot ac dot uk *
9438 * src/global.h: Remove unused HistorySize field from the settings
9441 2010-03-11 Peter Clifton * pcjc2 AT cam dot ac dot uk *
9443 * src/draw.c, src/hid.h, src/hid/batch/batch.c,
9444 src/hid/common/hidnogui.c, src/hid/gtk/gtkhid-main.c,
9445 src/hid/lesstif/main.c: Remove unused "last" parameter from HID
9446 "invalidate_lr" method
9448 2010-03-11 Peter Clifton * pcjc2 AT cam dot ac dot uk *
9450 * src/hid.h, src/hid/batch/batch.c, src/hid/bom/bom.c,
9451 src/hid/common/extents.c, src/hid/common/hidnogui.c,
9452 src/hid/gerber/gerber.c, src/hid/gtk/gtkhid-main.c,
9453 src/hid/lesstif/main.c, src/hid/lpr/lpr.c, src/hid/nelma/nelma.c,
9454 src/hid/png/png.c, src/hid/ps/eps.c, src/hid/ps/ps.c: Remove unused
9455 HID method invalidate_wh() invalidate_lr and invalidate_all are sufficient APIs for our needs.
9457 2010-03-11 Dan McMahill * dan AT mcmahill dot net *
9459 * data/pcb.desktop.in: Revert "As silly as it seems to group any
9460 sort of scientific or EDA" I've pushed really hard to sort this nonsense out, and this patch is
9461 not in my opinion suitable for applcation. gEDA, gerbv and PCB all
9462 deliberately omit the Education category.. this is not where we need
9463 to fix this issue. I strongly object to putting bogus categories into our apps. If
9464 Debian want to patch these in, let them. This reverts commit b402a144e19225f0648189bca6fbfad95d046047.
9466 2010-03-11 Dan McMahill * dan AT mcmahill dot net *
9468 * src/hid/ps/ps.c: Fix an obvious bug in the previous commit.
9471 2010-03-11 Dan McMahill * dan AT mcmahill dot net *
9473 * data/pcb.desktop.in: As silly as it seems to group any sort of
9474 scientific or EDA software under "Education", this appears to be the
9475 standard documented by
9476 http://standards.freedesktop.org/menu-spec/1.0/apa.html Noted in
9477 patch #2889228 by Ahmed El-Mahmoudy.
9479 2010-03-11 Dan McMahill * dan AT mcmahill dot net *
9481 * data/pcb.desktop.in: "Encoding" is deprecated.
9482 http://standards.freedesktop.org/desktop-entry-spec/1.0/apc.html
9483 Noted in patch #2889228
9485 2010-03-10 Dan McMahill * dan AT mcmahill dot net *
9487 * src/Makefile.am: It is gcode/hid.conf not gcode/gcode.conf that
9488 needs to be distributed. Also put this file in the correct sorted
9491 2010-03-10 Dan McMahill * dan AT mcmahill dot net *
9493 * configure.ac: Add missing AC_PROG_MKDIR_P check.
9495 2010-03-10 Dan McMahill * dan AT mcmahill dot net *
9497 * src/Makefile.am: Fix building outside of the source tree with
9498 dependency tracking disabled. In that case some directories need to
9499 be manually created. Fixes bug #2889226.
9501 2010-03-10 Dan McMahill * dan AT mcmahill dot net *
9503 * src/hid/ps/ps.c: In the rectangle fill code fix a bug in swapping
9504 of the coordinates. It doesn't appear that this code path is
9507 2010-03-10 Dan McMahill * dan AT mcmahill dot net *
9509 * src/hid/ps/ps.c: Add DSC to the postscript outputs to keep certain
9510 windows based postscript viewers a little happier. Patch supplied
9511 in patch #2700352 by Bob Paddock.
9513 2010-03-10 Dan McMahill * dan AT mcmahill dot net *
9515 * INSTALL, configure.ac: The gcode exporter used libgd so make sure
9516 we check for it and document that we need it. Noted by Patrick
9517 Bernaud in bug #2967313
9519 2010-03-10 Dan McMahill * dan AT mcmahill dot net *
9521 * tests/inputs/Makefile.am: Make sure the simple gcode test layout
9522 makes it into the distfile.
9524 2010-03-10 Dan McMahill * dan AT mcmahill dot net *
9526 * : commit 802576013b5d780cd87caafa31c694279ee2dc4f Author: Dan
9527 McMahill * dan AT mcmahill dot net * Date: Wed Mar 10 13:15:26
9530 2010-03-09 Stephen Ecob * silicon dot on dot inspiration AT gmail dot com *
9532 * src/djopt.c: Fix Freckles The autorouter sometimes ends a trace just past a pad. The
9533 optimizer cuts this trace at the pad center, leaving a tiny trace
9534 left over. This tiny trace is a "freckle" and it inhibits mitering.
9535 Check for such freckles and remove them.
9537 2010-03-09 Dan McMahill * dan AT mcmahill dot net *
9539 * tests/run_tests.sh: Make the xy file check actually do something.
9541 2010-03-09 Dan McMahill * dan AT mcmahill dot net *
9543 * configure.ac, tests/golden/Makefile.am,
9544 tests/golden/hid_gcode1/Makefile.am,
9545 tests/golden/hid_gcode1/gcode_oneline.gcode.back.cnc,
9546 tests/golden/hid_gcode1/gcode_oneline.gcode.drill.cnc,
9547 tests/golden/hid_gcode1/gcode_oneline.gcode.front.cnc,
9548 tests/golden/hid_gcode10/Makefile.am,
9549 tests/golden/hid_gcode10/gcode_oneline.gcode.back.cnc,
9550 tests/golden/hid_gcode10/gcode_oneline.gcode.drill.cnc,
9551 tests/golden/hid_gcode10/gcode_oneline.gcode.front.cnc,
9552 tests/golden/hid_gcode11/Makefile.am,
9553 tests/golden/hid_gcode11/gcode_oneline.gcode.back.cnc,
9554 tests/golden/hid_gcode11/gcode_oneline.gcode.drill.cnc,
9555 tests/golden/hid_gcode11/gcode_oneline.gcode.front.cnc,
9556 tests/golden/hid_gcode2/Makefile.am,
9557 tests/golden/hid_gcode2/out.back.cnc,
9558 tests/golden/hid_gcode2/out.drill.cnc,
9559 tests/golden/hid_gcode2/out.front.cnc,
9560 tests/golden/hid_gcode3/Makefile.am,
9561 tests/golden/hid_gcode3/gcode_oneline.gcode.back.cnc,
9562 tests/golden/hid_gcode3/gcode_oneline.gcode.drill.cnc,
9563 tests/golden/hid_gcode3/gcode_oneline.gcode.front.cnc,
9564 tests/golden/hid_gcode4/Makefile.am,
9565 tests/golden/hid_gcode4/gcode_oneline.gcode.back.cnc,
9566 tests/golden/hid_gcode4/gcode_oneline.gcode.drill.cnc,
9567 tests/golden/hid_gcode4/gcode_oneline.gcode.front.cnc,
9568 tests/golden/hid_gcode5/Makefile.am,
9569 tests/golden/hid_gcode5/gcode_oneline.gcode.back.cnc,
9570 tests/golden/hid_gcode5/gcode_oneline.gcode.drill.cnc,
9571 tests/golden/hid_gcode5/gcode_oneline.gcode.front.cnc,
9572 tests/golden/hid_gcode6/Makefile.am,
9573 tests/golden/hid_gcode6/gcode_oneline.gcode.back.cnc,
9574 tests/golden/hid_gcode6/gcode_oneline.gcode.drill.cnc,
9575 tests/golden/hid_gcode6/gcode_oneline.gcode.front.cnc,
9576 tests/golden/hid_gcode7/Makefile.am,
9577 tests/golden/hid_gcode7/gcode_oneline.gcode.back.cnc,
9578 tests/golden/hid_gcode7/gcode_oneline.gcode.drill.cnc,
9579 tests/golden/hid_gcode7/gcode_oneline.gcode.front.cnc,
9580 tests/golden/hid_gcode8/Makefile.am,
9581 tests/golden/hid_gcode8/gcode_oneline.gcode.back.cnc,
9582 tests/golden/hid_gcode8/gcode_oneline.gcode.drill.cnc,
9583 tests/golden/hid_gcode8/gcode_oneline.gcode.front.cnc,
9584 tests/golden/hid_gcode9/Makefile.am,
9585 tests/golden/hid_gcode9/gcode_oneline.gcode.back.cnc,
9586 tests/golden/hid_gcode9/gcode_oneline.gcode.drill.cnc,
9587 tests/golden/hid_gcode9/gcode_oneline.gcode.front.cnc,
9588 tests/inputs/gcode_oneline.pcb, tests/run_tests.sh,
9589 tests/tests.list: Add testsuite entries to test the gcode export HID
9590 and all of its command line options.
9592 2010-03-09 Dan McMahill * dan AT mcmahill dot net *
9594 * src/hid/gcode/gcode.c: Remove RCSID. We don't use those anymore.
9596 2010-03-09 Dan McMahill * dan AT mcmahill dot net *
9598 * src/hid/gcode/gcode.c: Change options like 'drill depth' to
9599 'drill-depth' as a space in a command line option is non-standard.
9600 Also be consistent with having or not having a "." at the end of the
9601 option help strings.
9603 2010-03-09 Dan McMahill * dan AT mcmahill dot net *
9605 * src/hid/gcode/gcode.c: Remove unix2dos system() call. It was not
9608 2010-03-09 Dan McMahill * dan AT mcmahill dot net *
9610 * src/hid/gcode/trace.c: Get rid of compiler warnings.
9612 2010-03-09 Dan McMahill * dan AT mcmahill dot net *
9614 * src/hid/gcode/gcode.c: Get rid of some gcc warnings.
9616 2010-03-09 Dan McMahill * dan AT mcmahill dot net *
9618 * src/hid/gcode/gcode.c: C++ style comments -> C style comments
9620 2010-03-09 Dan McMahill * dan AT mcmahill dot net *
9622 * doc/pcb.1: Fix nroff error. Noted in sf patch #2889227 by Ahmed
9625 2010-03-09 Dan McMahill * dan AT mcmahill dot net *
9627 * configure.ac: add the gcode exporter to the export hid list
9629 2010-03-09 Dan McMahill * dan AT mcmahill dot net *
9631 * INSTALL: add notes about what libs may be needed (none) for the
9634 2010-03-09 Dan McMahill * dan AT mcmahill dot net *
9636 * src/hid/gcode/auxiliary.h, src/hid/gcode/bitmap.h,
9637 src/hid/gcode/curve.c, src/hid/gcode/curve.h,
9638 src/hid/gcode/decompose.c, src/hid/gcode/decompose.h,
9639 src/hid/gcode/gcode.c, src/hid/gcode/gcode.h,
9640 src/hid/gcode/lists.h, src/hid/gcode/potracelib.h,
9641 src/hid/gcode/trace.c, src/hid/gcode/trace.h: indent to conform to
9642 the coding style used by pcb.
9644 2010-03-09 Dan McMahill * dan AT mcmahill dot net *
9646 * src/Makefile.am: gcode_lists.h should depend on gcode sources, not
9649 2010-03-09 Dan McMahill * dan AT mcmahill dot net *
9651 * src/hid/gcode/auxiliary.h, src/hid/gcode/bitmap.h,
9652 src/hid/gcode/curve.c, src/hid/gcode/curve.h,
9653 src/hid/gcode/decompose.c, src/hid/gcode/decompose.h,
9654 src/hid/gcode/gcode.c, src/hid/gcode/gcode.h,
9655 src/hid/gcode/hid.conf, src/hid/gcode/lists.h,
9656 src/hid/gcode/potracelib.h, src/hid/gcode/trace.c,
9657 src/hid/gcode/trace.h: Apply sf patch 2948711 from Alberto Maccioni
9658 which adds a g-code exporter.
9660 2010-03-08 Dan McMahill * dan AT mcmahill dot net *
9662 * configure.ac: When building the docs have configure check for
9663 epsf.tex being in the TeX installation. Problem noted by Kai-Martin
9664 Knaak and the method for checking suggested by Peter Clifton.
9666 2010-03-02 Peter Clifton * pcjc2 AT cam dot ac dot uk *
9668 * configure.ac: Fix test for whether to rebuild the shipped
9669 pcblib-newlib library ${top_srcdir} is a Makefile variable, we need $srcdir in
9672 2010-03-02 Peter Clifton * pcjc2 AT cam dot ac dot uk *
9674 * lib/Makefile.am: Fix make distcheck by removing regenerated newlib
9675 footprints The generated newlib files need to be removed by make distclean if
9676 they are being updated by the build process. If the files aren't
9677 being updated, we should not delete them as they were originally
9678 distributed with the source tarball.
9680 2010-03-02 Peter Clifton * pcjc2 AT cam dot ac dot uk *
9682 * tools/Makefile.am: Fix distribution of gnet-pcbfwd.scm in the dist
9683 tarball Use the dist_ prefix to make this simple, so our installed targets
9684 are now listed in dist_..._DATA, rather than ..._DATA and
9687 2010-03-01 DJ Delorie * dj AT delorie dot com *
9689 * src/parse_y.y: Allow empty attribute values. The STRING token is NULL when an empty string is indicated, but
9690 empty attributes are different than missing attributes, so if a
9691 STRING is NULL, store an empty string instead.
9693 2010-02-28 DJ Delorie * dj AT delorie dot com *
9695 * src/change.c: Fix bogus cast to BoxType Instead of casting, which hides real bugs, pass the address of the
9696 bounding box itself.
9698 2010-02-24 DJ Delorie * dj AT delorie dot com *
9700 * src/action.c: Add more flexibility to the import::make option. New attributes: make::outfile - the intermediate action file make::target - the
9701 makefile target to call (defaults to outfile or pcb_import)
9702 make::makefile - adds -f to make Added more documentation too.
9704 2010-02-24 DJ Delorie * dj AT delorie dot com *
9706 * src/buffer.c: Check both FOO and FOO.fp for footprints.
9708 2010-02-24 DJ Delorie * dj AT delorie dot com *
9710 * src/action.c: Check for NULL names.
9712 2010-02-24 Peter Clifton * pcjc2 AT cam dot ac dot uk *
9714 * src/main.c: Use strdup to copy environment strings into our
9715 settings structure. getenv returns a const char * which is part of the environment and
9718 2010-02-23 Peter Clifton * pcjc2 AT cam dot ac dot uk *
9720 * src/main.c: Fix default gnetlist executable name to be "gnetlist" The old value "defgnetlist" appears to have been a mistake.
9722 2010-02-22 Jared Casper * jaredcasper AT gmail dot com *
9724 * src/hid/gtk/gtkhid-main.c, src/hid/gtk/gui-library-window.c,
9725 src/hid/gtk/gui-log-window.c, src/hid/gtk/gui-netlist-window.c,
9726 src/hid/gtk/gui.h: hid/gtk: Prevent extra windows from showing
9727 unnecessarily Prevent the library, log, and netlist windows in the GTK HID from
9728 being shown unless explicitely requested. This is done by splitting
9729 ghid_*_window_show into ghid_*_window_create, which creates all the
9730 resources for the window, and ghid_*_window_show, which actually
9731 shows the window (and optionally "presents" it, which pulls it to
9732 the foreground and gives it focus). Since the NetlistShow action no longer actually shows the netlist
9733 window, but sets the node/net that is shown in the window (if and
9734 when it is visible), this patch also adds NetlistPresent which
9735 presents the netlist window. This can be added to the
9736 FindConnections menu item to restore the behavior of bringing up the
9737 netlist window on a find. Added an action LogShowOnAppend() which can restore the old behavior
9738 that the log window is shown whenever something is appended to it
9739 (currently off by default).
9741 2010-02-22 Dan McMahill * dan AT mcmahill dot net *
9743 * doc/pcb.texi: Document that it is pcb-menu.res for the lesstif HID
9744 and gpcb-menu.res for the GTK+ HID.
9746 2010-02-19 Dan McMahill * dan AT mcmahill dot net *
9748 * lib/m4lib_to_newlib.sh: Add some quoting to handle the case where
9749 there are spaces in some of the directory names. As noted by peque on irc, this script failed when the build
9750 directory was located somewhere that had a space in a directory
9751 name. Adding the extra quotes fixes that.
9753 2010-02-16 DJ Delorie * dj AT delorie dot com *
9755 * src/hid/lesstif/main.c: Revert an unintended change.
9757 2010-02-16 Ineiev * ineiev AT gmail dot com *
9759 * src/global.h: Fix broken build due to missing struct members Looks like a part of commit ef2efdd2a18a744eb715ffc1278aace1a2cded46
9760 was omitted by mistake.
9762 2010-02-07 Ineiev * ineiev AT gmail dot com *
9764 * src/find.c, src/search.c: Fix bugs in the arc intersection
9765 routine. Bug #2942582 This bug resulted in various false identificaton of connectivity
9766 between arcs and other object. Notes from Ineiev's emails: So I built a montecarlo; fixed some ugly unrealistic cases like thin
9767 arc merged in bloat and arc->Delta<-360; ran the test program
9768 (aat.c) several hours on different machins; that discovered no
9769 errors, though the number of points was not very high (a thousand or
9770 slightly more): the reference functions are really slow. That resulted in arc.bis.patch. I tested it also with already
9771 mentioned teardropped OSDCU.pcb and t1.pcb. Then, eliminate two
9772 precision losses. I feel I ought to stop here: the patch fixes many more bugs than
9773 originally reported.
9775 2010-02-13 Dan McMahill * dan AT mcmahill dot net *
9777 * : commit ef2efdd2a18a744eb715ffc1278aace1a2cded46 Author: Dan
9778 McMahill * dan AT mcmahill dot net * Date: Sat Feb 13 12:41:35
9781 2010-02-11 DJ Delorie * dj AT delorie dot com *
9783 * src/action.c, tools/gnet-pcbfwd.scm: Fix pcb forward annotation
9784 bugs Finish rename of pcblf -> pcbfwd, handle pcb-has-no-name case.
9786 2010-02-09 Dan McMahill * dan AT mcmahill dot net *
9788 * configure.ac, src/action.c: When mkdtemp() is available use it
9789 instead of tmpnam() for creating temp file names to be used by
9792 2010-02-06 Dan McMahill * dan AT mcmahill dot net *
9794 * src/misc.c: Remove some gcc warnings about unitialized variables. Remove some gcc warnings about uninitialized variables. The logic
9795 was such that if the variables weren't ever assigned to somethign
9796 then they also would not have been accessed but by getting rid of
9797 this warning, we increase the chances of paying attention to other
9798 warnings which may indicate real bugs.
9800 2010-02-06 Dan McMahill * dan AT mcmahill dot net *
9802 * src/misc.c: Add missing return on an action function which is
9803 supposed to return an int.
9805 2010-02-06 Dan McMahill * dan AT mcmahill dot net *
9807 * src/hid/gtk/gtkhid-main.c: Remove some gcc warnings. Use GPOINTER_TO_INT(), GINT_TO_POINTER() and remove a couple of
9808 unused variables to eliminate some gcc warnings.
9810 2010-02-06 Dan McMahill * dan AT mcmahill dot net *
9812 * src/netlist.c: In functions returning non-void, give a return
9815 2010-02-06 Dan McMahill * dan AT mcmahill dot net *
9817 * src/file.h: Add missing prototype for sort_netlist() which is
9818 called in netlist.c.
9820 2010-02-06 Dan McMahill * dan AT mcmahill dot net *
9822 * configure.ac, src/action.c: Remove some gcc warnings. Add missing headers for fork(), execvp(), wait(). Also remove a
9823 couple of unused variables.
9825 2010-02-01 DJ Delorie * dj AT delorie dot com *
9827 * src/hid/gtk/gui-netlist-window.c, src/hid/lesstif/netlist.c:
9828 Rename NetlistChanged() to avoid conflicts Rename the existing static NetlistChanged() functions in the Gtk and
9829 Lesstif HIDs to avoid conflicts with the core global
9830 NetlistChanged() function.
9832 2010-02-01 DJ Delorie * dj AT delorie dot com *
9834 * src/hid/png/png.c: swap png bloat too When computing the bloat offsets for filled rectangles, apply the
9835 bloat after sorting the Y coordinates but before swapping them if
9836 we're printing the solder side.
9838 2010-02-01 DJ Delorie * dj AT delorie dot com *
9840 * src/hid/png/png.c: Fix drawn circles When drawing a "line" that's zero length, check for rounded ends
9841 (circle) vs square ends (square).
9843 2010-01-31 DJ Delorie * dj AT delorie dot com *
9845 * src/action.c, src/data.h, src/hid.h, src/misc.h, src/netlist.c,
9846 src/rats.c, src/undo.c, tools/Makefile.am, tools/gnet-pcbfwd.scm,
9847 tools/gnet-pcblf.scm: Changed element/netlist syntax as follows: ElementList(start) ElementList(need,...) ElementList(done) Netlist(freeze) Netlist(add,...) Netlist(thaw) Hooked all NetlistChanged() actions into a wrapper that checks for
9850 2010-01-29 DJ Delorie * dj AT delorie dot com *
9852 * src/gpcb-menu.res, src/pcb-menu.res: Add import to gtk menu,
9853 change lesstif menu to match.
9855 2010-01-29 DJ Delorie * dj AT delorie dot com *
9857 * tools/Makefile.am, tools/gnet-pcblf.scm: Add the new netlister. Adds the new script-based netlister and the install rules. Note
9858 that this installs PCB's netlister in gEDA's data directory.
9859 Unusual, but it's the best way to keep pcb in sync with its own
9862 2010-01-01 DJ Delorie * dj AT delorie dot com *
9864 * src/action.c, src/global.h, src/gpcb-menu.res, src/hid.h,
9865 src/hid/batch/batch.c, src/hid/bom/bom.c,
9866 src/hid/common/hidnogui.c, src/hid/gtk/gtkhid-main.c,
9867 src/hid/lesstif/dialogs.c, src/hid/lesstif/lesstif.h,
9868 src/hid/lesstif/main.c, src/hid/lesstif/xincludes.h,
9869 src/hid/lpr/lpr.c, src/hid/nelma/nelma.c, src/hid/png/png.c,
9870 src/hid/ps/eps.c, src/hid/ps/ps.c, src/pcb-menu.res: Add attribute
9871 editor GUI to gtk and lesstif. Attributes(Layout|Layer|Element) Attributes(Layer,layername) Let the user edit the attributes of the layout, current or given
9872 layer, or selected element.
9874 2009-12-27 DJ Delorie * dj AT delorie dot com *
9876 * src/action.c, src/misc.c, src/misc.h, src/pcb-menu.res: Add
9877 Import() action Add an action to import schematics into the pcb. It allows for a
9878 list of schematics to be specified in the action or in the pcb, as
9879 well as supporting using a Makfile instead of gnetlist.
9881 2009-12-27 DJ Delorie * dj AT delorie dot com *
9883 * src/draw.c: Undo an accidental change.
9885 2009-04-21 DJ Delorie * dj AT delorie dot com *
9887 * src/action.c, src/buffer.c, src/buffer.h, src/change.c,
9888 src/change.h, src/create.c, src/draw.c, src/file.c,
9889 src/hid/lesstif/main.c, src/misc.c, src/misc.h, src/netlist.c:
9890 Work-in-progress for LF: netlist importing
9892 2010-01-01 DJ Delorie * dj AT delorie dot com *
9894 * src/hid/png/png.c: Check for empty layers. If you have a four-layer board but the inner layers are empty, photo
9895 mode dies. This checks for at least the more common case, but
9896 further work to protect against *any* empty layer is warranted.
9898 2010-01-01 DJ Delorie * dj AT delorie dot com *
9900 * src/hid/png/png.c: Fix photo-mode mask layer. The addition of mask support to PNG export broke photo mode; this
9901 patch undoes the mask support when photo mode is enabled.
9903 2009-12-27 DJ Delorie * dj AT delorie dot com *
9905 * src/hid/png/png.c, src/misc.c: Add support for specifying
9906 soldermask and solderside from the command line Added "solderside" and "mask" as valid layers for --layer-stack.
9907 Also added "silk" as an alias for "elements". Added mask support to
9908 the PNG exporter so that it draws soldermask properly. Also added
9909 support to PNG for showing the board from the solder side, and
9910 removed some leftover cruft from when it was copied from the PS hid.
9912 2009-12-22 anthonix * anthonix AT anthonix-desktop dot (none) *
9914 * src/toporouter.c: Toporouter: Removed superfluous debug function
9916 2009-12-22 anthonix * anthonix AT anthonix-desktop dot (none) *
9918 * src/toporouter.c, src/toporouter.h: Toporouter: A few fixes The main fix is in the 'special cut' code, which had a tricky corner
9919 case to deal with. The special cut code has also been commented in
9920 the critical spots. There are a few other minor fixes, and a couple of heuristic
9923 2009-12-13 DJ Delorie * dj AT delorie dot com *
9925 * src/action.c: Handle NULL strings when replacing elements. Sometimes, when you're building a board from the library, elements
9926 won't have values for their strings. When replacing those elements,
9927 replicate the NULL pointer rather than trying to strup it.
9929 2009-12-07 Chitlesh GOORAH * chitlesh dot goorah AT gmail dot com *
9931 * doc/refcard.tex: Update the quick reference From: Chitlesh GOORAH * chitlesh dot goorah AT gmail dot com * To:
9932 gEDA user mailing list Hello there, The current layout of the PCB command reference PDF document (the
9933 one currently being shipped) is broken. It looks like it on life
9934 support. http://chitlesh.fedorapeople.org/pcb/refcard_old.pdf I've updated only the layout of refcard.tex
9935 http://chitlesh.fedorapeople.org/pcb/refcard.tex to give
9936 http://chitlesh.fedorapeople.org/pcb/refcard.pdf . Unfortunately, I
9937 don't have enough time currently to update it to the latest key
9938 shortcuts. Can you guys please apply it to the next release ? I hope
9939 someone will update it in the meantime, else I'll dig into it next
9942 2009-11-25 Dan McMahill * dan AT mcmahill dot net *
9944 * src/main.c: In the -h (help) output, mention which gui the gui
9947 2009-11-25 Dan McMahill * dan AT mcmahill dot net *
9949 * doc/pcb.texi: Rather than having @code{Pcb} all over, refer to
9950 the program name with @pcb{}. To help keep how we refer to and mark up the name of the program,
9951 define a macro at the start and use it all over. Also change some of the "for X11" text since pcb really runs on what
9952 ever windowing system gtk (X11 or windows) or lesstif (X11 for this
9955 2009-11-23 Dan McMahill * dan AT mcmahill dot net *
9957 * : commit c81b2d09b281a357910759a373bd8e8bdc4b3cd1 Author: Dan
9958 McMahill * dan AT mcmahill dot net * Date: Mon Nov 23 21:16:36
9961 2009-11-15 Peter Clifton * pcjc2 AT cam dot ac dot uk *
9963 * src/hid/gtk/gtkhid-gdk.c: hid/gtk: Add a guard against GC's being
9964 passed from another HID Various other HIDs have this check.
9966 2009-11-15 Peter Clifton * pcjc2 AT cam dot ac dot uk *
9968 * src/hid/gtk/gtkhid-gdk.c, src/hid/gtk/gui.h: hid/gtk: Move
9969 definition of the device context inside gtkhid-gdk.c Keep it private to the drawing routines.
9971 2009-11-15 Peter Clifton * pcjc2 AT cam dot ac dot uk *
9973 * src/hid/gtk/gtkhid-main.c: hid/gtk: Remove unused HID
9976 2009-11-15 Peter Clifton * pcjc2 AT cam dot ac dot uk *
9978 * src/Makefile.am, src/hid/gtk/gtkhid-gdk.c,
9979 src/hid/gtk/gtkhid-main.c, src/hid/gtk/gui-top-window.c,
9980 src/hid/gtk/gui.h: hid/gtk: Move various gdk drawing routines into a
9981 new file gtkhid-gdk.c This separates some of the drawing code so it could be replaced more
9982 easily. Pretty much a straight move at this point, but renamed the static
9983 function "draw_grid()" to ghid_draw_grid() now it is no longer local
9984 to gtkhid-main. Removed all #include not required to build in gtkhid-main.c and
9987 2009-11-15 Peter Clifton * pcjc2 AT cam dot ac dot uk *
9989 * src/draw.c, src/hid.h, src/hid/gtk/gtkhid-main.c,
9990 src/hid/lesstif/main.c: Add SL_RATS layer ID to tell the GUI we're
9991 drawing rats Also, let the GUI decide whether it wants to draw rats or not,
9992 rather than have the core test PCB->RatsOn directly.
9994 2009-11-15 Peter Clifton * pcjc2 AT cam dot ac dot uk *
9996 * src/draw.c, src/draw.h: draw.c: Apply const qualifier to DrawLayer
9997 and DrawSilk bounds This keeps the compiler happier.
9999 2009-11-15 Peter Clifton * pcjc2 AT cam dot ac dot uk *
10001 * src/crosshair.c: By popular(*) request, Make the cross-hair snap
10002 to the center of pads * Popular.. or vocal?, I'm not sure. If more people don't like the new behaviour, there is always git
10003 revert. There was of course, a third possibility - adding support to snap to
10004 pad end-points _and_ their centers. I rejected this because of
10005 "nearly" square pads - it becomes difficult to know if you've picked
10006 up the center of the pad, and many of those asking for
10007 snap-to-center wanted it in order to pick up and align components by
10008 their pads. NB: Optimised rat-lines still go to the edge of pads, as this can
10009 often look less cluttered. Rat-lines drawn to the center of a pad
10010 will work correctly, and remain on the pad center until the next
10011 time "optimise" is run on the rats-nest.
10013 2009-11-15 Peter Clifton * pcjc2 AT cam dot ac dot uk *
10015 * src/find.c, src/rubberband.c: Add support for rat-lines ending at
10016 the center of pads Optimised rats are still located at the edges of pads, but the rat
10017 connection checking code will now also accept rats ending at the
10020 2009-11-14 Peter Clifton * pcjc2 AT cam dot ac dot uk *
10022 * src/draw.h: draw.h: Remove ClearPin prototype missed in last
10025 2009-11-14 Peter Clifton * pcjc2 AT cam dot ac dot uk *
10027 * src/draw.c: draw.c: Don't clear pins / vias from polygons... it is
10028 already done! Our polygons already the required holes for pins, vias, pads etc..
10029 so don't waste drawing clearances twice. This looks to be a legacy
10030 from the way PCB used to draw polygons.
10032 2009-11-14 Peter Clifton * pcjc2 AT cam dot ac dot uk *
10034 * src/hid/common/draw_helpers.c, src/polyarea.h, src/polygon.c,
10035 src/polygon1.c: polygons: Tag circular contours so they can be
10036 special-cased when drawing. Tagging circular contours allows GUIs (if they wish) to draw
10037 circular holes in polygons more accurately, and potentially faster -
10038 depending on whether they use mask based rendering or rely on the
10039 dicer. When zoomed far out (and using a mask based scheme), the drawing
10040 routine can use a lower vertex count approximation to the contour -
10041 leading to rendering speed improvements. This is used to reasonable
10042 effect in the experimental OpenGL branch. Modify hid/common/draw_helpers.c to use these tags when thin-drawing
10043 polygon contours with common_thindraw_pcb_polygon(). This allows the
10044 GUI to change the level of detail rendered with zoom, and serves to
10045 test this feature. DRC checking and output are still done using the fixed resolution
10046 approximation present in the polygon contour, so in this respect -
10047 it makes rendering somewhat unfaithful to the final output.
10049 2009-11-13 Peter Clifton * pcjc2 AT cam dot ac dot uk *
10051 * src/draw.c: draw.c: Draw all vias, pins and pads under the mask
10052 layer This fixes an issue where the rendering of a partially masked via is
10053 inaccurate. The down-side is that partially, or completely masked
10054 vias become obscured by the mask drawn above them. If the user is previewing the mask rendering, it is probably best
10055 that they see an accurate representation - even if this means hiding
10058 2009-11-13 Peter Clifton * pcjc2 AT cam dot ac dot uk *
10060 * src/draw.c: Fix thindraw mask drawing for pins, including
10061 octagonal ones We need to set the line-width for round pins when in thin-draw and
10062 clearing the mask. We need to tell DrawSpecialPolygon() whether we need thin-draw or
10063 not depending on whether we're clearing the mask or not. We don't
10064 need to set the line-width outside of DrawSpecialPolygon(), since it
10065 sets it its-self. Fix DrawSpecialPolygon() to set the line width and cap style on the
10068 2009-11-13 Peter Clifton * pcjc2 AT cam dot ac dot uk *
10070 * src/hid/common/draw_helpers.c: hid/common: Control update of
10071 NoHoles cache based on clip region If at least 50% of the bounding box of a polygon is within the clip
10072 region, compute the whole NoHoles polygon and cache it for later
10073 rendering. If less of the polygon is within the clip region, just compute what
10074 we need to draw the piece we've been asked for.
10076 2009-11-13 Peter Clifton * pcjc2 AT cam dot ac dot uk *
10078 * src/hid/common/draw_helpers.c: hid/common: Fix memory leak in
10079 polygon NoHoles clipping routine poly_CopyContour creates the edge tree, as does ContourToPoly(),
10080 which overwrite the one created in poly_CopyContour(). Replace call to ContourToPoly() with a discrete alternative without
10081 the poly_PreContour() call. Also, don't try to poly_Free() the output of poly_Boolean_free() in
10082 an error condition. poly_Boolean_free() re-uses the A input polygon
10083 for its output, so attempting to free that might be dangerous. poly_Boolean_free() should free its inputs (and any partial output)
10084 if it encounters an error.
10086 2009-11-12 Peter Clifton * pcjc2 AT cam dot ac dot uk *
10088 * src/hid/common/draw_helpers.c: hid/common: Clip no-holes polygon
10089 pieces before calling fill_contour This avoids integer overflow in some HIDs (GTK, Lesstif?) when
10090 drawing at high zoom level. Such overflow would lead to incorrectly
10091 drawn polygons. It is possible that a similar bug could effect thin-drawn polygons,
10092 but that has not manifested its-self so far. If we were to clip
10093 these in the future, we need to be careful to extend the clip region
10094 slightly off-screen, so the outlines are not drawn. Ideally we would clip these vertices using a Sutherland-Hodgman
10095 clipping algorithm, then we could simply discard edges which are
10096 clipped completely.
10098 2009-11-12 Peter Clifton * pcjc2 AT cam dot ac dot uk *
10100 * src/draw.c, src/hid/common/flags.c, src/hid/gerber/gerber.c,
10101 src/hid/png/png.c, src/hid/ps/ps.c, src/print.c: Use strcmp() for
10102 special layer names, rather than strcasecmp() Before commit 086aa491fae18f1ec72da047b772fa3510f72d0b, we were
10103 using strcmp() and strcasecmp() in different places. That commit
10104 changed to strcasecmp(). Lets choose to keep the more restrictive
10105 option for now, which reduces the number of "magic" layer names PCB
10108 2009-11-12 Patrick Bernaud * b-patrick AT wanadoo dot fr *
10110 * src/hid/gtk/gui-top-window.c: hid/gtk: Fix strncat length when
10111 building accelerator string. (CODE!) (Oops, I pushed an empty patch last time - Peter Clifton) Commit d6b396c4a34bb619c8e91da1e9cd9bd27ff54657 was not enough:
10112 strncat() must be given the remaining length of buffer to ensure it
10113 does not overflow. Plus it now emits a message in the unlikely case
10114 of a too small buffer for an accelerator.
10116 2009-11-12 Patrick Bernaud * b-patrick AT wanadoo dot fr *
10118 * : hid/gtk: Fix strncat length when building accelerator string. Commit d6b396c4a34bb619c8e91da1e9cd9bd27ff54657 was not enough:
10119 strncat() must be given the remaining length of buffer to ensure it
10120 does not overflow. Plus it now emits a message in the unlikely case
10121 of a too small buffer for an accelerator.
10123 2009-11-12 Peter Clifton * pcjc2 AT cam dot ac dot uk *
10125 * src/draw.c, src/find.c, src/polygon.c: Correct rendering and
10126 connectivity checks for zero clearance pads and pins NB: These areren't technically allowed by PCB, but it is nice that
10127 when a user hacks zero clearance in their PCB file, that we: a) Draw polygons without any cleared gaps in the output b) Correctly determine that these objects will be connected to the
10130 2009-11-12 Peter Clifton * pcjc2 AT cam dot ac dot uk *
10132 * src/draw.c, src/hid/gerber/gerber.c, src/hid/ps/ps.c: Use
10133 strcasecmp when looking for the "outline" or "route" layer A some cases previously used strcmp, leading to inconsistencies in
10134 our handling of these "special" layers.
10136 2009-11-12 Peter Clifton * pcjc2 AT cam dot ac dot uk *
10138 * src/polygon.c: polygon.c: Remove unused #define COARSE_CIRCLE 0
10140 2009-11-12 Peter Clifton * pcjc2 AT cam dot ac dot uk *
10142 * src/polygon.c: Speed up unsubtraction from polygons when objects
10143 are deleted This process worked by adding a new "blob" of polygon to cover in
10144 the hole made by the object being deleted. If this "blob"
10145 intersected the contour of the original polygon, it would cause the
10146 polygon's contour to be damaged. To avoid this, the unsubract code
10147 would always clip the resulting polygon against the original
10148 (pristine) polygon contour. Unfortunately.. this clipping operation is gauranteed to intersect
10149 the contour of the polygon - a very expensive operation, since all
10150 holes inside the polygon (many on a complex board) have to be
10151 re-processed. This speed-up is achieved by reversing the order of operation. The
10152 "blob" to be added to the polygon is first clipped against the
10153 pristine contour (a relatively cheap operation). This then allows us
10154 to add the new clipped blob to the more complex polygon on the board
10155 without worry that the contour may be compromised.
10157 2009-11-12 Peter Clifton * pcjc2 AT cam dot ac dot uk *
10159 * src/file.c: file.c: Add profiling of CPU seconds consumed during
10160 file load This information is useful to benchmark the load of complex boards
10161 which consume a lot of CPU cycles clipping polygons during loading. Adding this upstream will allow me to gain information from users
10162 describing load slowness, without having a copy their design.
10164 2009-11-11 Peter Clifton * pcjc2 AT cam dot ac dot uk *
10166 * src/hid/ps/ps.c: hid/ps: Don't use diced polygons for postscript
10167 output This speeds up postscript output on boards with complex polygons. It has the added advantage for some postscript and pdf readers that
10168 there are no accidental gaps rendered between pieces of the diced
10169 polygon due to non-global anti-aliasing in their renderer.
10171 2009-11-11 Peter Clifton * pcjc2 AT cam dot ac dot uk *
10173 * src/polygon.c: Play with number of line segments in line caps By changing from 36 lines-segments per circle to 40, we create a
10174 symmetry at 45 degrees - a common angle for lines on a circuit board
10175 to intersect at. This avoids building additional complexity in the
10176 polygons which are cut by these intersections.
10178 2009-11-11 Peter Clifton * pcjc2 AT cam dot ac dot uk *
10180 * src/polygon.c: Fixup frac_circle to avoid repeating a vertex the
10181 caller will add Before we were getting self-intersecting polygons in some cases, a
10182 big no-no. One less vertex should be added than the expected
10183 (CIRC_SEGS / range), since the caller adds the last vertex.
10185 2009-11-11 Peter Clifton * pcjc2 AT cam dot ac dot uk *
10187 * src/polygon1.c: polygon1.c: #ifdef DEBUG_ALL_LABELS build
10188 print_labels() Avoids warnings when building with DEBUG defined, but without
10191 2009-11-11 Peter Clifton * pcjc2 AT cam dot ac dot uk *
10193 * src/polygon1.c: polygon1.c: Tidy up poly_Valid debug print
10194 routines to match pline_dump Avoids a superfluous line: %d %d 10 10 ""] at the beginning of each output block.
10196 2009-11-11 Peter Clifton * pcjc2 AT cam dot ac dot uk *
10198 * src/polygon1.c: polygon1.c: Fixup pline_dump() (debug code) to
10199 match correct edge state The old code would mistakenly annotate with the edge state for the
10200 next edge. From polygon1.c: /* note that a vertex v's Flags.status represents the edge defined
10201 by * v to v->next (i.e. the edge is forward of v) */
10203 2009-11-11 Harry Eaton * haceaton AT users dot sourceforge dot net *
10205 * src/polygon1.c: Re-write node_label() to only label the edge being
10206 passed as its argument. Breifly, the old code tried to walk the entire CVCList labeling
10207 multiple edges. The new code tries only to label the argument vertex
10208 i.e. the forward ('N') edge from this vertex. It tries to look
10209 counter-clockwise just one edge which will give the answer in most
10210 cases. If that fails it looks further into the CVCList until it can
10211 find the answer, then stops. The code is much simpler because we
10212 know that the edge we are labeling is always departing the
10213 cross-vertex point. (Futher comments and original bug diagnosis by Peter Clifton) This prevents "double labeling", where the old routine could label
10214 any edges which intersect at the vertex passed to node_label(). This fixes a bug discovered by Stefan Salewski, where certain boards
10215 could trigger an assert failure when PCB was built with debugging. The bug, it would seem - is relating to the way (and order) we were
10216 labeling edges of polygon contours: 2 |/\ In this diagram, x is on the outer contour of our polygon,
10217 x | and is in fact two vertices at the same point, lets denote
10218 |\/ these as |\ and |/ 1 The labelling algorithm works up from point 1, gets to |\, whereupon
10219 it gets the CVCList for the spatial point x - which contains |\ AND
10220 |/ along with the (shared) edges from the clipping contour. node_label is called with the |\ vertex, but in the process of
10221 scanning the CVCList at this point, it also checks for SHARED edges.
10222 It _only_ checks shared edges against the |\ vertex, NOT the |/ one. During this pass, the | edge coming from the |/ vertex gets
10223 mis-labelled as "OUTSIDE", where is should eventually get labelled
10224 "SHARED" BUG: We then skip over calling node_label with the |/ vertex, since | has
10225 already been labelled. We next get to point 2. Point 2 looks at the | edge, and declares it to be "INSIDE". (It
10226 should already have been labelled "SHARED" by this point, so
10227 node_label doesn't know any better. The | edge is already labelled "OUTSIDE" when we go to label it
10228 "INSIDE".. assertion fail. This commit avoids missing the correct labelling of shared edges, by
10229 ensuring we never label any edges in advance of calling node_label
10232 2009-11-11 Peter Clifton * pcjc2 AT cam dot ac dot uk *
10234 * src/polygon1.c: Reindent polygon1.c with "indent" This is a painful one for me to push, as it will certainly cause
10235 rebase misery against all my local branches. Oh well... got to be done!
10237 2009-11-09 Peter Clifton * pcjc2 AT cam dot ac dot uk *
10239 * src/file.c: file.c: Don't walk off the end of a string in
10240 string_cmp() We need to check that we don't advance past the terminating \0 in
10243 2009-11-09 Peter Clifton * pcjc2 AT cam dot ac dot uk *
10245 * src/polygon1.c: polygon1.c: Fix some printf format arguments in
10246 DEBUG sections %ld is for long int, and we are passing int, so use %d
10248 2009-11-09 Peter Clifton * pcjc2 AT cam dot ac dot uk *
10250 * src/hid/gtk/gui-dialog.c, src/hid/gtk/gui-top-window.c: hid/gtk:
10251 Don't pass non-literat format argument to printf style functions.
10253 2009-11-09 Peter Clifton * pcjc2 AT cam dot ac dot uk *
10255 * src/hid/gtk/gui-top-window.c: Pass correct length to strncat We need to pass "sizeof (string) - 1", due to the NULL pointer.
10257 2009-11-08 Peter Clifton * pcjc2 AT cam dot ac dot uk *
10259 * win32/Makefile.am, win32/build_pcb, win32/pcb.nsi.in: win32:
10260 Install Readme.txt in @docdir@ Also removes unnecessary fiddling with pkgdatadir which was
10261 responsible for creating an empty directory $datadir/pcb-$VERSION/ Adjusted pcb.nsi.in to match new location of Readme.txt, but have
10262 not test-built the Win32 package due to non-availablility. Adjusted build_pcb to put @docdir@ at ${pcb_inst}/doc, as this fits
10263 the rest of the win32 build better.
10265 2009-11-07 Peter Clifton * pcjc2 AT cam dot ac dot uk *
10267 * example/Makefile.am, example/libraries/Makefile.am,
10268 tutorial/Makefile.am: Install examples under @docdir@ This is what distro packaging scripts have been doing anyway, so
10269 save them the work by moving our defaults. Suggested by Chitlesh GOORAH * chitlesh dot goorah AT gmail dot com
10272 2009-11-07 Peter Clifton * pcjc2 AT cam dot ac dot uk *
10274 * example/LED, example/LED.NET, example/LED.net, example/LED.pcb,
10275 example/LED2, example/LED2.pcb, example/Makefile.am: examples: Add
10276 ".pcb" extension to "PCB(2)", move "LED.NET" to "LED.net" ".pcb" change suggested by Chitlesh GOORAH * chitlesh dot goorah AT
10277 gmail dot com * ".net" change was my doing, to match our registered
10280 2009-11-06 Peter Clifton * pcjc2 AT cam dot ac dot uk *
10282 * src/hid/lesstif/main.c: lesstif: Remove errornous & operator in
10283 free () call GCC spotted this one.
10285 2009-11-05 Dan McMahill * dan AT mcmahill dot net *
10287 * README.snapshots: Fix some details on branching and pushing a
10290 2009-11-03 Dan McMahill * dan AT mcmahill dot net *
10292 * README.snapshots: Update how to release files on sourceforge since
10293 it has all changed.
10295 2009-11-03 Dan McMahill * dan AT mcmahill dot net *
10297 * configure.ac: Welcome to pcb-1.99z (decision time is looming)
10299 2009-11-03 Dan McMahill * dan AT mcmahill dot net *
10301 * : commit 7f38f164addcbfc0a9873d2e0782f921f2d005c9 Author: Dan
10302 McMahill * dan AT mcmahill dot net * Date: Tue Nov 3 17:56:38 2009
10305 2009-11-03 Dan McMahill * dan AT mcmahill dot net *
10307 * utils/git2cl: Be more agressive about obfuscating email addresses.
10309 2009-11-03 Peter Clifton * pcjc2 AT cam dot ac dot uk *
10311 * src/hid/batch/batch.c, src/move.c: Fix mistaken use of MAX_LAYER
10312 instead of max_layer. (Why this wasn't obvious, I can't possibly imagine ;)) Bug relates to batch HID, and move of text items onto the solder
10315 2009-11-02 Dan McMahill * dan AT mcmahill dot net *
10317 * NEWS: Add a few more news item for the upcoming release.
10319 2009-11-02 Dan McMahill * dan AT mcmahill dot net *
10321 * : commit ccd37c7db665e3b0f15bc5377a54f89ba997296d Author: Dan
10322 McMahill * dan AT mcmahill dot net * Date: Mon Nov 2 22:24:29 2009
10325 2009-09-22 Ineiev * ineiev AT users dot berlios dot de *
10327 * src/file.c, src/global.h, src/mymem.c, src/parse_y.y: add
10328 attributes to layers Fix memory leaks of attributes
10330 2009-10-30 Dan McMahill * dan AT mcmahill dot net *
10332 * configure.ac, doc/Makefile.am, lib/Makefile.am: Provide better
10333 support for building from anoncvs sources. There were a few conditionals which turned on additional portions of
10334 the makefiles if it was determined that the build was from sources
10335 obtained via git. Expand this to also detect if sources were from
10336 CVS since we still support anonymous cvs for tracking sources.
10338 2009-10-29 Dan McMahill * dan AT mcmahill dot net *
10340 * README.snapshots: Add some missing 'git push' to the instructions.
10342 2009-10-29 Dan McMahill * dan AT mcmahill dot net *
10344 * NEWS: Add some last minute news items for 20091101
10346 2009-10-29 Dan McMahill * dan AT mcmahill dot net *
10348 * README.snapshots: Recommend using the -O (obfuscate email
10349 addresses) option to git2cl
10351 2009-10-29 Dan McMahill * dan AT mcmahill dot net *
10353 * utils/git2cl: Teach git2cl how to obfuscate email addresses. Also
10356 2009-10-29 Dan McMahill * dan AT mcmahill dot net *
10358 * : commit dc0cdd25a1e490e7288622e9bcb5efd1f253c9cb Author: Dan
10359 McMahill * dan AT mcmahill dot net * Date: Wed Oct 28 22:58:43
10362 2009-10-28 Dan McMahill * dan AT mcmahill dot net *
10364 * README.snapshots: Take a first pass at updating the release
10365 documentation for git instead of cvs.
10367 2009-10-28 Dan McMahill * dan AT mcmahill dot net *
10369 * NEWS: Update the target release date for the next snapshot
10371 2009-10-22 Peter Clifton * pcjc2 AT cam dot ac dot uk *
10373 * src/polygon.c: Pass r_NoHolesPolygonDicer a POLYAREA *, not a
10374 PLINE * No functional changes to callers of NoHolesPolygonDicer() The allows state in the POLYAREA to be passed into the recursive
10375 dicer. This is needed in order to maintain an up to date r-tree of
10376 contours in the POLYAREA.
10378 2009-10-22 Peter Clifton * pcjc2 AT cam dot ac dot uk *
10380 * src/polygon1.c: Fix bug with polygon boolean operation PBO_XOR (I
10381 think!) If the contour in A is outside of B, it should be kept. It seems
10382 this case may have been missed. PCB does not use the PBO_XOR operation, so it is difficult to test
10383 whether this is correct or not.
10385 2009-10-21 Peter Clifton * pcjc2 AT cam dot ac dot uk *
10387 * src/global.h, src/polyarea.h, src/polygon1.c: Make rtree_t type
10388 available to polygon1.c This saves a load of casting, and helps the compiler doing its job
10389 catching programming errors.
10391 2009-10-21 Jared Casper * jaredcasper AT gmail dot com *
10393 * src/hid/gtk/gui-top-window.c: Fix a bug in gtk hid which caused
10394 layer buttons to get confused (sourceforge bug 1988951) In ghid_layer_enable_buttons_update, the layer_buttons array was
10395 being indexed using a counter which stoped at the current max_layer,
10396 which was wrong. Changed this to use the constants LAYER_BUTTON_*. Also made the handling of the silk and rats buttons match the
10397 (slightly more correct) handling of the other buttons in
10398 layer_enable_button_cb.
10400 2009-10-21 Peter Clifton * pcjc2 AT cam dot ac dot uk *
10402 * src/create.c, src/global.h, src/hid/common/draw_helpers.c,
10403 src/mymem.c, src/polygon.c, src/polygon.h: Add cache for "noholes",
10404 diced versions of polygons
10406 2009-10-21 Peter Clifton * pcjc2 AT cam dot ac dot uk *
10408 * src/hid/common/draw_helpers.c, src/polygon.c: Give callback from
10409 NoHolesPolygonDicer ownership of the returned contour This means callers of NoHolesPolygonDicer() should call
10410 poly_FreeContours on the contour they are passed (if they do not
10411 wish to retain it).
10413 2009-10-21 Peter Clifton * pcjc2 AT cam dot ac dot uk *
10415 * src/polyarea.h, src/polygon1.c: Replace poly_Clear(POLYAREA *)
10416 function with poly_FreeContours(PLINE **) The poly_Clear function only clears the contours of the polygon
10417 anyway, so make a more explicitly named function to do this work,
10418 and pass the contours directly. This will be useful should we want to deal with a series of contours
10419 separately from a POLYAREA object.
10421 2009-10-21 Peter Clifton * pcjc2 AT cam dot ac dot uk *
10423 * src/action.c, src/create.c, src/strflags.c: Fix "newfullpoly" flag
10424 test and save its state into the .pcb file. The flag controlling this behaviour is kept up to date as a PCB
10425 flag, not something which is updated in Settings.FullPoly. Change
10426 the test accordingly. Added a PCB flag "newfullpoly" to save this state in the .pcb file. NOTE: "full" polygons severly break connectivity checking, as the
10427 code always treats broken up pieces of the polygon as being
10428 connected. It _might_ have been better to leave this support broken - so users don't inadvertently create polygons with the "fullpoly"
10429 flag. TODO: Consider removing, hiding or adding warnings to this feature.
10431 2009-10-20 Peter Clifton * pcjc2 AT cam dot ac dot uk *
10433 * src/hid/gtk/gui-output-events.c: hid/gtk: Remove unused function
10436 2009-10-19 Peter Clifton * pcjc2 AT cam dot ac dot uk *
10438 * src/hid/common/actions.c: hid/common: Fix dereference bug in
10439 hid_find_action(). We want to check context for being NULL, not *context.
10441 2009-10-19 Peter Clifton * pcjc2 AT cam dot ac dot uk *
10443 * src/hid/common/actions.c: hid/common: Don't walk off end of string
10444 whilst parsing. Fixed a bug where the action parser would walk off the end of a
10445 string when given an action without a "(" in it, e.g. "benchmark".
10447 2009-10-17 Peter Clifton * pcjc2 AT cam dot ac dot uk *
10449 * src/find.c: Tidy up IsPolygonInPolygon No functional changes
10451 2009-10-17 Peter Clifton * pcjc2 AT cam dot ac dot uk *
10453 * src/global.h, src/polygon1.c, src/rtree.c: Add some annotations to
10454 help optimise branch prediction. Macros G_LIKELY and G_UNLIKELY were taken from GLib (LGPL 2), and
10455 renamed without the G_ prefix. This hasn't had much discernable effect
10457 2009-10-17 Peter Clifton * pcjc2 AT cam dot ac dot uk *
10459 * src/polygon1.c: Rework iteration over contours in "intersect" to
10460 improve performance We don't need to be using an r_tree search to determine if a
10461 contour's bounding box hits anything in another contour. Just
10462 compare the bounding boxes directly, then continue to the more
10463 expensive testing. Rather than counting the vertices of each POLYAREA then swapping to
10464 ensure we loop over the the small one, wait until we've worked out
10465 which contours we're comparing. Rather than swapping, we just choose
10466 which to loop over. This saves us time in the case where the larger
10467 intersecting contour belongs to the polygon with fewer vertices. In one case, this change reduced a complex board's load time from
10468 ~140 seconds to ~70.
10470 2009-10-14 Peter Clifton * pcjc2 AT cam dot ac dot uk *
10472 * src/.gitignore: Add dbus-introspect.h to src/.gitignore dbus-introspect.h is a generated file.
10474 2009-09-14 Dan McMahill * dan AT mcmahill dot net *
10476 * : commit 7ae3210e58b682577bbae1ff4d8ffc89a6666ad9 Author: Dan
10477 McMahill * dan AT mcmahill dot net * Date: Mon Sep 14 07:20:50
10480 2009-09-11 DJ Delorie * dj AT delorie dot com *
10482 * src/misc.c: Fix "Design Rule Checker moves elements and traces off
10483 grid" Patch from Ineiev * ineiev AT gmail dot com * to keep the grid from
10484 changing just because DRC ran.
10486 2009-08-29 Bert Timmerman * bert dot timmerman AT xs4all dot nl *
10488 * src/hid/batch/batch.c: gEDA-dev: [pcb patch] Correction of the pcb
10489 homepage url in the batch HID Hi, Subject says it all. Kind regards, Bert Timmerman. >From 54b7d8e1d7704c1f467e0711f94dc564cc0a2c6d Mon Sep 17 00:00:00
10490 2001 From: Bert Timmerman * bert dot timmerman AT xs4all dot nl *
10491 Date: Sat, 29 Aug 2009 21:57:22 +0200 Subject: [PATCH] Correction of
10492 the pcb homepage url in the batch HID.
10494 2009-08-14 Bert Timmerman * bert dot timmerman AT xs4all dot nl *
10496 * src/misc.c: gEDA-dev: pcb [PATCH] Correction of the geda homepage
10497 url and wiki url in the about dialog window. Hi all, Here is another one :) Kind regards, Bert Timmerman. >From c383fc1aabfcefb3c688bb5274f08874c86e7a8a Mon Sep 17 00:00:00
10498 2001 From: Bert Timmerman * bert dot timmerman AT xs4all dot nl *
10499 Date: Fri, 14 Aug 2009 00:33:26 +0200 Subject: [PATCH] Correction of
10500 the geda homepage url and wiki url in the about dialog window.
10502 2009-08-13 Bert Timmerman * bert dot timmerman AT xs4all dot nl *
10504 * src/misc.c: Correction of the pcb homepage url in the about dialog
10507 2009-03-31 Bert Timmerman * bert dot timmerman AT xs4all dot nl *
10509 * src/hid/gtk/gui-dialog.c: Apply filters to load filechooser
10510 dialogs. [1988982] [2686963] Applies filters to the filechooser dialogs when loading layouts,
10511 layouts (to buffer), elements (to buffer) and netlists. Default behaviour is to not filter in the filechooser dialog.
10512 Choosing a predefined filefilter in the filechooser dialog filters
10513 on registered mime types, lowercase and uppercase file extensions.
10514 Predefined filters are selected upon the action chosen in the "File"
10517 2009-08-04 Peter TB Brett * peter AT peter-b dot co dot uk *
10519 * README.cvs, README.git: Replace 'README.cvs' with 'README.git'.
10520 [2810417] Provide information on how to use git to access the PCB repository.
10521 Fixes bug #2810417.
10523 2009-08-04 Peter TB Brett * peter AT peter-b dot co dot uk *
10525 * doc/.gitignore: Add some generated .texi files to doc/.gitignore.
10527 2009-08-01 Uwe Hermann * uwe AT hermann-uwe dot de *
10529 * doc/gs/fb-blinker.texi, doc/gs/fb-smt.texi: gEDA-user: [PATCH]
10530 s/pj-102.fp/pj102.fp/ in PCB tutorial Replace pj-102.fp filename with pj102.fp to make the PCB example
10533 2009-07-30 Dan McMahill * dan AT mcmahill dot net *
10535 * src/hid/png/png.c: Do not try to call gdImageCreate() on a 0x0
10536 sized image. This hopefully addresses some of the segfaults seen recently with
10537 the latest version of gd. If a brush size scales to give a size of
10538 0 then bump it up to a single pixel.
10540 2009-07-29 Dan McMahill * dan AT mcmahill dot net *
10542 * src/hid/png/png.c: Check return codes from the various gd
10543 allocation functions. Check returns codes for gdImageCreate(), gdImageColorAllocate(), and
10544 gdImageColorAllocateAlpha() calls to check for problems.
10546 2009-07-27 Dan McMahill * dan AT mcmahill dot net *
10548 * src/action.c: Don't disperse locked elements. When dispersing elements do not disperse locked elements. Locked
10549 elements often times are mechanical and really should not be moved.
10550 Noted by Levente Kovacs on gEDA-user.
10552 2009-07-07 anthonix * anthonix AT anthonix-desktop dot (none) *
10554 * : commit 2f80c6fc0c4aa1b7b5bb85d0d45f8415564dbe68 Author:
10555 anthonix * anthonix AT anthonix-desktop dot (none) * Date: Tue Jul
10556 7 02:21:33 2009 +1200
10558 2009-07-02 Dan McMahill * dan AT mcmahill dot net *
10560 * po/POTFILES.in: add src/toporoute.c add src/toporoute.c which lets this pass 'make distcheck' again.
10562 2009-07-03 anthonix * anthonix AT anthonix-desktop dot (none) *
10564 * src/toporouter.c, src/toporouter.h: Toporouter: ROAR
10566 2009-06-27 anthonix * anthonix AT anthonix-desktop dot (none) *
10568 * : commit ffb17f87f0d5c4e06574750f36a15e51f4ff89d3 Author:
10569 anthonix * anthonix AT anthonix-desktop dot (none) * Date: Sat Jun
10570 27 11:27:55 2009 +1200
10572 2009-06-25 Dan McMahill * dan AT mcmahill dot net *
10574 * : commit b17582ba2e192f42cd87d8466f16ea48fbde0d5b Author: Dan
10575 McMahill * dan AT mcmahill dot net * Date: Thu Jun 25 22:58:29
10578 2009-06-26 anthonix * anthonix AT anthonix-desktop dot (none) *
10580 * : commit 889ee4f3a223c90d376c68524bce75423ef776bc Author:
10581 anthonix * anthonix AT anthonix-desktop dot (none) * Date: Fri Jun
10582 26 13:56:48 2009 +1200
10584 2009-06-26 anthonix * anthonix AT anthonix-desktop dot (none) *
10586 * src/toporouter.c, src/toporouter.h: Toporouter: One pass
10589 2009-06-25 Dan McMahill * dan AT mcmahill dot net *
10591 * tests/run_tests.sh: When using the gerber HID, always use
10592 --fab-author to make the resuls repeatable. Always use the --fab-author flag to the gerber HID to avoid many
10593 false failures which would occur when different users try to run the
10594 testsuite. Also fix a minor glitch when building from a read-only
10595 source tree while here.
10597 2009-06-24 Dan McMahill * dan AT mcmahill dot net *
10599 * Makefile.am, configure.ac: Top level configure stuff for the
10600 testsuite. Add top level configure stuff missed in the previous few commits for
10603 2009-06-24 Dan McMahill * dan AT mcmahill dot net *
10605 * tests/golden/Makefile.am, tests/golden/hid_png1/Makefile.am,
10606 tests/run_tests.sh, tests/tests.list: Teach the testsuite how to
10607 compare image files. Teach testsuite how to compare image files and add a very basic test
10610 2009-06-24 Dan McMahill * dan AT mcmahill dot net *
10612 * : commit 81fdd6f7753046121b268cc562faab2d4bcb69f6 Author: Dan
10613 McMahill * dan AT mcmahill dot net * Date: Wed Jun 24 22:16:17
10616 2009-06-23 Dan McMahill * dan AT mcmahill dot net *
10618 * src/buffer.c: Document the FreeRotateBuffer() action. Add syntax and help strings as well as the manual documentation for
10619 the FreeRotateBuffer() action.
10621 2009-06-23 Dan McMahill * dan AT mcmahill dot net *
10623 * doc/pcb.texi: Add a comment about breakouts for fine pitch power
10624 pins and the autorouter. Add a comment about breakouts for fine pitch power pins and the
10625 autorouter. Suggested by harry on geda-user.
10627 2009-06-22 Dan McMahill * dan AT mcmahill dot net *
10629 * doc/pcb.texi: Add a short chapter on using the autorouter. Add a short chapter on using the autorouter based on email
10630 instructions from harry on geda-user.
10632 2009-06-22 DJ Delorie * dj AT delorie dot com *
10634 * src/hid/png/png.c: Add bloat to PNG hid Add a --png-bloat option that takes a bloat setting, much like the
10635 postscript HID. Optionally, a units suffix is allowed: --png-bloat
10636 10px or --png-bloat 1.2mil.
10638 2009-06-21 harry * harry AT harry-laptop dot (none) *
10640 * src/autoroute.c: calculate total wire length for result
10642 2009-06-21 harry * harry AT harry-laptop dot (none) *
10644 * src/buffer.c, src/create.c, src/polygon1.c, src/rats.c,
10645 src/remove.c, src/search.c: Fix several errors, some more
10646 point-boxes that weren't half open and several found with valgrind.
10647 valgrind is your friend!
10649 2009-06-21 harry * harry AT harry-laptop dot (none) *
10651 * src/misc.c: fix single-point rectangles to correctly have
10654 2009-06-21 harry * harry AT harry-laptop dot (none) *
10656 * src/action.c: don't count one rat line twice when deleting them
10658 2009-06-21 Dan McMahill * dan AT mcmahill dot net *
10660 * src/pcbtest.sh.in: Improve the pre-install pcb wrapper script. The pcbtest.sh wrapper script is used to run pcb for testing before
10661 pcb is installed. Improve the robustness of this script to allow it
10662 to be run from a different directory from where it is created as
10663 well as allowing the export HID's to be called with it.
10665 2009-06-21 harry * harry AT harry-laptop dot (none) *
10667 * : commit dfc097708cf04983767be89b4e29a551cc0b3bc3 Author: harry *
10668 harry AT harry-laptop dot (none) * Date: Sun Jun 21 14:33:59 2009
10671 2009-06-21 harry * harry AT harry-laptop dot (none) *
10673 * src/autoroute.c, src/box.h, src/heap.c, src/heap.h, src/hid.h,
10674 src/hid/gtk/gtkhid-main.c, src/hid/lesstif/main.c, src/mtspace.c,
10675 src/mtspace.h, src/rtree.c, src/vector.c, src/vector.h: Major
10676 updates to the autorouter. Fixes bug created from prior changes
10677 elsewhere and changes significantly the way that expansion searching
10680 2009-06-20 DJ Delorie * dj AT delorie dot com *
10682 * src/hid/common/actions.c: Oops, re-comment-out a debug statement. Re-comment out a debug statement that was accidentally left
10683 uncommented in the last commit.
10685 2009-06-19 Jared Casper * jaredcasper AT gmail dot com *
10687 * src/hid/common/actions.c: Allow quoted strings and escaped
10688 characters in action arguments. Quoting works similar to bash quoting: A backslash (\) is the escape character. It preserves the literal
10689 value of the next character that follows. To get a literal '\' use
10690 "\\". Enclosing characters in single quotes preseves the literal value of
10691 each character within the quotes. A single quote may not occur
10692 between single quotes, even when preceded by a blackslash. Enclosing characters in double quotes preserves the literal value of
10693 all characters within the quotes, with the exception of '\' which
10694 maintains its special meaning as an escape character.
10696 2009-06-16 Dan McMahill * dan AT mcmahill dot net *
10698 * : commit 8039b7114c038b05688f0e7c2a527a187cda242e Author: Dan
10699 McMahill * dan AT mcmahill dot net * Date: Tue Jun 16 21:03:51
10702 2009-06-17 anthonix * anthonix AT anthonix-desktop dot (none) *
10704 * src/toporouter.c: Toporouter: Fix for routing_edge_insert() with
10707 2009-06-14 anthonix * anthonix AT anthonix-desktop dot (none) *
10709 * src/toporouter.c: Toporouter: Fix for TCS candidate vertices leak
10711 2009-06-14 anthonix * anthonix AT anthonix-desktop dot (none) *
10713 * src/toporouter.c: Toporouter: Fix for arc orientation in export
10716 2009-06-14 anthonix * anthonix AT anthonix-desktop dot (none) *
10718 * src/toporouter.c: Toporouter: Fix for arc orientation in export
10721 2009-06-14 anthonix * anthonix AT anthonix-desktop dot (none) *
10723 * src/toporouter.h: Toporouter: Wiring score calculation
10725 2009-06-14 anthonix * anthonix AT anthonix-desktop dot (none) *
10727 * src/toporouter.c: Toporouter: Better cleanup of routing edges
10729 2009-06-14 anthonix * anthonix AT anthonix-desktop dot (none) *
10731 * src/toporouter.c: Toporouter: Fix for arc removal not updating
10734 2009-06-14 anthonix * anthonix AT anthonix-desktop dot (none) *
10736 * src/toporouter.c, src/toporouter.h: Toporouter: Work on traces
10737 arcing back around vertices
10739 2009-06-10 Dan McMahill * dan AT mcmahill dot net *
10741 * lib/geda.inc: RESC3216M was defined twice. The first was supposed
10742 to be INDC3216M. Noted by John Luciana on the gEDA user list.
10744 2009-06-11 anthonix * anthonix AT anthonix-desktop dot (none) *
10746 * src/Makefile.am, src/gts/gts.h, src/gts/predicates.c,
10747 src/gts/predicates_init.c, src/toporouter.c, src/toporouter.h:
10748 Toporouter: Dynamic computation of GTS predicates
10750 2009-06-10 anthonix * anthonix AT anthonix-desktop dot (none) *
10752 * src/toporouter.c: Toporouter: Workaround for older GLib
10754 2009-06-10 anthonix * anthonix AT anthonix-desktop dot (none) *
10756 * src/toporouter.c: Toporouter: Workaround for older GLib
10758 2009-06-10 anthonix * anthonix AT anthonix-desktop dot (none) *
10760 * src/toporouter.c: Toporouter: Workaround for older GLib
10762 2009-06-10 anthonix * anthonix AT anthonix-desktop dot (none) *
10764 * src/toporouter.c: Toporouter: Workaround for older GLib
10766 2009-06-10 anthonix * anthonix AT anthonix-desktop dot (none) *
10768 * : commit 9653a6371aa41f873932062ef6d6b838bf98a987 Author:
10769 anthonix * anthonix AT anthonix-desktop dot (none) * Date: Wed Jun
10770 10 13:28:10 2009 +1200
10772 2009-06-09 Dan McMahill * dan AT mcmahill dot net *
10774 * : commit 6878692f1e13a09a7191c8f9cf09e05c403fbe33 Author:
10775 anthonix * anthonix AT anthonix-desktop dot (none) * Date: Wed Jun
10776 10 13:23:27 2009 +1200
10778 2009-06-10 anthonix * anthonix AT anthonix-desktop dot (none) *
10780 * src/toporouter.c: Toporouter: disabled some experimental stuff
10782 2009-06-10 anthonix * anthonix AT anthonix-desktop dot (none) *
10784 * src/toporouter.c, src/toporouter.h: Misc Toporouter Changes
10786 2009-06-09 Dan McMahill * dan AT mcmahill dot net *
10788 * src/gts/boolean.c, src/gts/split.c, src/gts/surface.c,
10789 src/report.c: Remove some unused variables Remove some unused variables. On some others which are only
10790 conditionally used, then only conditionally declare them. Same for
10791 some functions. This clears out some of the compiler warning
10794 2009-06-09 Dan McMahill * dan AT mcmahill dot net *
10796 * src/hid/gtk/gui-pinout-preview.c: Revert "avoid trying to use the
10797 background graphics context before it is created." This reverts commit 1138b9419b56c6c4a5861dce79ed058ee4e513ba. As
10798 noted by Peter Clifton, there is a visible artifact that results
10799 from this. We'll look for a better way to make sure the GC is
10800 created when it is needed.
10802 2009-06-08 Dan McMahill * dan AT mcmahill dot net *
10804 * src/hid/gtk/gui-pinout-preview.c: avoid trying to use the
10805 background graphics context before it is created. On startup, some code was trying to access the background graphics
10806 context before it was created. Check to make sure the context has
10807 been created before we do anything with it.
10809 2009-06-08 Jared A. Casper * jcasper AT youngmc dot Stanford dot EDU *
10811 * src/hid/common/actions.c, src/hid/gtk/gtkhid-main.c,
10812 src/hid/lesstif/main.c: Fix command line exporting. Previously, hid_actionv was changed to always call gui->get_coords
10813 wether or not the action had a need_coord_msg, in an attempt to
10814 always get the latest coords for things like zoom or pan that didn't
10815 have a need_coord_msg. However, this broke command line exporting
10816 because it was trying to call get_coords on the nogui hid. Added the check back in to only call gui->get_coords when the action
10817 has a need_coord_msg and added need_coord_msg's to actions that need
10820 2009-06-08 Jared Casper * jaredcasper AT gmail dot com *
10822 * src/gpcb-menu.res, src/hid/gtk/gtkhid-main.c,
10823 src/hid/gtk/gui-output-events.c: Adding ability to customize mouse
10824 scroll action in GTK. Changed the mouse_scroll gtk event handler to use do_mouse_action
10825 instead of manually handling the event. gtk treats scrolling
10826 differently as a mouse button event, and doesn't give a mouse button
10827 number, so this patch just hard codes up/down/left/right to buttons
10828 4 through 7. This corresponds to the default names used in the
10829 resource file, and, for X11, gtk hardcodes mouse buttons 4 - 7 to
10830 the scrolling events anyway. This may cause problems in quartz or
10831 windows if some mouse has a bunch of buttons and quartz/windows maps
10832 those buttons to numbers 4 - 7, but I don't have a system to test
10833 that (and in that case the names in the resource file would be wrong
10834 as well). Added a Scroll action to the gtk hid to be able to mimic the
10835 existing scroll wheel behavior with an action script.
10837 2009-06-08 Steven Michalske * smichalske AT gmail dot com *
10839 * src/line.c: Allow mod1(alt)(option) to bypass AUTO enforce DRC For Apples, which use ctrl-click to simulate right-click.
10841 2009-06-08 Steven Michalske * smichalske AT gmail dot com *
10843 * src/hid.h, src/hid/batch/batch.c, src/hid/bom/bom.c,
10844 src/hid/common/extents.c, src/hid/common/hidnogui.c,
10845 src/hid/gerber/gerber.c, src/hid/gtk/gtkhid-main.c,
10846 src/hid/gtk/gui.h, src/hid/lesstif/main.c, src/hid/lpr/lpr.c,
10847 src/hid/nelma/nelma.c, src/hid/png/png.c, src/hid/ps/eps.c,
10848 src/hid/ps/ps.c: Adding the ability to use mod1 (alt)(option) in
10849 HIDs This is useful for OSX installs as crtl-click, is mapped to right
10850 click. so when drawing a line that you want to force a DRC
10851 "Violation" and you need to use the control key, it will cancel the
10852 line being drawn, and start a new point. This is tested in the lesstif and GTK hids, under OSX wher ehte
10853 option key is the "alt" key. I leave it to the patch integrator th
10854 verify on linux for GTK and lesstif. This is a bit hackish on detecting the alt key/option key, I
10855 #ifdefed it to __APPLE__ because the option key returns 1<<13 not
10856 GDK_MOD1_MASK Under lesstif I might guess that the alt/mod1 is not
10857 quite the same as option.
10859 2009-06-07 Jared Casper * jaredcasper AT gmail dot com *
10861 * src/Makefile.am, src/action.c, src/gpcb-menu.res,
10862 src/hid/common/actions.c, src/hid/common/hid_resource.c,
10863 src/hid/common/hid_resource.h, src/hid/gtk/gtkhid-main.c,
10864 src/hid/gtk/gui-output-events.c, src/hid/gtk/gui-top-window.c,
10865 src/hid/gtk/gui.h, src/hid/lesstif/lesstif.h,
10866 src/hid/lesstif/main.c, src/hid/lesstif/menu.c: Teaching GTK hid to
10867 use mouse resources I had some free time over the weekend and have been wanting to get
10868 my hands dirty in the PCB code so I took a crack at this and wanted
10869 to get some feedback. Attached is a patch with a detailed commit message of what I did,
10870 but the general idea was to move the lesstif hid's handling of the
10871 mouse resources into a common hid file (which I called hid_resource)
10872 and have the gtk hid use that instead of being hardcoded. This way
10873 the hid's are only responsible for catching the button press,
10874 determining which modifier keys were active, then calling the common
10875 code to handle it. The common code does what the lesstif hid does,
10876 calls the actions defined in the resource file. In theory more
10877 common stuff could be moved to hid_resource, the code to find and
10878 load the resource file, for example, is nearly identical in both
10879 hids. I changed up the Mouse resource in gpcb-menu.res to match the
10880 hardcoded behavior of the gtk hid as closely as possible (see the
10881 commit message for details). I've played around with it a bit and it seems to be working, but as
10882 this my first time meddling with the code, I'm sure I missed some
10883 stuff. If anybody has time to look it over and/or try it out that
10884 would be great. Comments regarding the approach, formatting, style,
10885 etc. are all appreciated (I did my best to match the style of the
10886 surrounding code). Jared
10888 2009-06-05 Dan McMahill * dan AT mcmahill dot net *
10890 * src/edif.y: Use the appropriate header files instead of providing
10891 extern foo() prototypes. Use the correct headers for a handful of function prototypes. This
10892 should fix some build issues reported on geda-uers.
10894 2009-06-03 Dan McMahill * dan AT mcmahill dot net *
10896 * configure.ac: When building from git sources and building docs,
10897 force maintainer-mode. When building from git sources, maintainer mode is required to build
10898 the manual. So, unless the user has specified --disable-doc then
10899 force maintainer mode. When building from a tarball, the
10900 preformatted manual is already contained and we do not impose
10901 maintainer-mode. Hopefully this puts to rest the documentation
10902 building issues once and for all!
10904 2009-06-01 Dan McMahill * dan AT mcmahill dot net *
10906 * po/pcb.pot: Remove generated file that cause continual git churn. This file is generated and also removed by the clean target.
10907 Removing a file from the source tree via 'make clean' that is under
10908 version control just causes headaches.
10910 2009-06-01 Dan McMahill * dan AT mcmahill dot net *
10912 * doc/fractional_size.texi, doc/letter_size.texi,
10913 doc/metric_size.texi, doc/wire_size.texi: Remove additional
10914 generated files. Remove the .texi files that are generated from the ASCII .tab files
10915 from git to avoid gratitous storage of and changing of generated
10918 2009-05-29 Dan McMahill * dan AT mcmahill dot net *
10920 * doc/.gitignore, doc/gs/.gitignore: Add a few more missing
10921 .gitignore entries.
10923 2009-05-29 Dan McMahill * dan AT mcmahill dot net *
10925 * doc/.gitignore: Expand out the list of files since git didn't like
10926 the patterns I used.
10928 2009-05-29 Dan McMahill * dan AT mcmahill dot net *
10930 * doc/.gitignore: Add gitignore file for the manual
10932 2009-05-29 Dan McMahill * dan AT mcmahill dot net *
10934 * src/.gitignore, src/gts/.gitignore: Add some missing .gitignore
10935 entries for the new gts code
10937 2009-05-29 Dan McMahill * dan AT mcmahill dot net *
10939 * README.cvs: update this a bit to reflect the new repository home
10940 and also remove references to needing maintainer-mode
10942 2009-05-29 Dan McMahill * dan AT mcmahill dot net *
10944 * utils/git2cl: add git2cl utility to help update ChangeLog's for
10947 2009-05-29 Dan McMahill * dan AT mcmahill dot net *
10949 * doc/actions.texi, doc/pcbfile.texi, doc/version.texi: remove some
10950 generated files from git. These are only needed if you are building
10951 the documentation in which case you have all the tools and makefile
10952 rules for them to be regenrated anyway. Eliminates all the
10953 headaches associated with generated files in version control.
10955 2009-05-29 Dan McMahill * dan AT mcmahill dot net *
10957 * doc/gs/gafrc, doc/gs/gschemrc: these are generated at configure
10960 2009-05-29 Dan McMahill * dan AT mcmahill dot net *
10962 * doc/gs/gafrc.in, doc/gs/gschemrc.in: to handle the case where we
10963 may be building outside the source directory, generate gafrc and
10964 gschemrc at configure time.
10966 2009-05-29 Dan McMahill * dan AT mcmahill dot net *
10968 * doc/gs/print-eps.scm: comment out a color theme that relied on a
10969 path only present on DJ's machine. It isn't really needed anyway.
10971 2009-05-29 Dan McMahill * dan AT mcmahill dot net *
10973 * po/POTFILES.in: add a missing file.
10975 2009-05-29 Dan McMahill * dan AT mcmahill dot net *
10977 * configure.ac, doc/Makefile.am, doc/gs/Makefile.inc,
10978 lib/Makefile.am: Remove the use of maintainer mode to gate on/off
10979 rules for building the documentation. Instead look for the
10980 existance of $(top_srcdir)/.git and decide based on that if this is
10981 a tarball build (in which case the documentation ships already
10982 built) or a git build. If it is a git build, then simply require
10983 all the needed tools for building the docs. If the tools are not
10984 found then configure will exit with an explicit message saying why
10985 it has failed and that either tools need to be installed or
10986 --disable-doc needs to be given. Hopefully this will eliminate the
10987 previous strange behavior of needing --maintainer-mode when building
10990 2009-05-29 Dan McMahill * dan AT mcmahill dot net *
10992 * src/Makefile.am: add gts/predicates_init.h to DISTCLEANFILES.
10993 Also comment out the section that extracts REGISTER lines from the
10994 gts code. We currently don't have any REGISTER lines in the gts
10995 code and so make was exiting because a grep failed.
10997 2009-05-23 Dan McMahill * dan AT mcmahill dot net *
10999 * lib/geda.inc, lib/to.inc: Add TO18, TO39, and fix pinout on TO92. Added TO18 and TO39 footprints based on the JEDEC drawings. Note
11000 that the pinout used is the one from the JEDEC drawings and it may
11001 or may not match a particular vendors pin numbering. I have in fact
11002 seen different vendors number the pins differently on these
11003 packages. It is entirely up to the user to make sure that their CAD
11004 symbols have the correct mapping from E, B, C (for a bipolar) to
11005 pins 1, 2, 3 and that the JEDEC numbering is used. While here correct the TO92 pinout. It now also matches the JEDEC
11006 drawing and is more consistent with the most common vendor
11007 numberings. How on earth has this not caused problems before?
11009 2009-05-17 Jared Casper * jaredcasper AT gmail dot com *
11011 * ChangeLog, configure.ac, src/hid/lpr/hid.conf: Some cleanup of
11012 configure script Added top level check for pkg-config with PKG_PROG_PKG_CONFIG and
11013 removed AC_PATH_PROG call for pkg-config from inside a block
11014 conditional on enable_dbus. Added a PKG_CHECK_MODULE for cairo if the toporouter output is
11015 enabled. Added a check for HID dependencies. A hid's hid.conf can set a
11016 variable "deps" which is a list of other HIDs that must be included
11017 with that hid. Added ps the lpr's deps.
11019 2009-05-14 Dan McMahill * dan AT mcmahill dot net *
11021 * lib/m4lib_to_newlib.sh: Remove an extra '' quote in a comment
11022 which caused confusion on some systems.
11024 2009-05-05 Ineiev * ineiev AT gmail dot com *
11026 * ChangeLog, configure.ac, src/Makefile.am, src/gts/cdt.c,
11027 src/toporouter.c, src/toporouter.h: Toporouter: portability fixes 1) add #include <assert.h> 2) add configure options for toporouter --disable-toporouter
11028 switches off toporouter --disable-toporouter-output switches off
11029 toporouter cairo output 3) make toporouter compatible with glib < 2.10.0 provide
11030 slist_insert_sorted_with_data() for those cases 4) fix VPATH builds gts/predicates_init stuff was not quite clean 5) fix find_closest() implementation for glib < 2.4.0 The earlier
11031 version combined with toporouter produced segfault on tut1.pcb (on
11032 top of glib-2.0.1 and glib-2.6.4); furthermore, it accessed to
11033 undocumented glib structures.
11035 2009-04-30 Anthony Blake * tonyb33 AT gmail dot com *
11037 * src/gts/gts.h: gts.h fix Fixes the include of gtsconfig.h
11039 2009-04-24 Anthony Blake * tonyb33 AT gmail dot com *
11041 * gts/Makefile.am, gts/NOTES, gts/bbtree.c, gts/boolean.c,
11042 gts/cdt.c, gts/config.h.win32, gts/container.c, gts/curvature.c,
11043 gts/edge.c, gts/eheap.c, gts/face.c, gts/fifo.c, gts/graph.c,
11044 gts/gts-config.in, gts/gts-private.h, gts/gts.def, gts/gts.h,
11045 gts/gts.m4, gts/gtsconfig.h, gts/heap.c, gts/hsurface.c, gts/iso.c,
11046 gts/isotetra.c, gts/kdtree.c, gts/makefile.msc, gts/matrix.c,
11047 gts/misc.c, gts/named.c, gts/object.c, gts/oocs.c, gts/partition.c,
11048 gts/pgraph.c, gts/point.c, gts/predicates.c, gts/predicates.h,
11049 gts/predicates_init.c, gts/psurface.c, gts/refine.c,
11050 gts/rounding.h, gts/segment.c, gts/split.c, gts/stripe.c,
11051 gts/surface.c, gts/triangle.c, gts/tribox3.c, gts/vertex.c,
11052 gts/vopt.c, src/Makefile.am, src/gts/NOTES, src/gts/bbtree.c,
11053 src/gts/boolean.c, src/gts/cdt.c, src/gts/container.c,
11054 src/gts/curvature.c, src/gts/edge.c, src/gts/eheap.c,
11055 src/gts/face.c, src/gts/fifo.c, src/gts/graph.c,
11056 src/gts/gts-private.h, src/gts/gts.h, src/gts/heap.c,
11057 src/gts/hsurface.c, src/gts/iso.c, src/gts/isotetra.c,
11058 src/gts/kdtree.c, src/gts/matrix.c, src/gts/misc.c,
11059 src/gts/named.c, src/gts/object.c, src/gts/oocs.c,
11060 src/gts/partition.c, src/gts/pgraph.c, src/gts/point.c,
11061 src/gts/predicates.c, src/gts/predicates.h,
11062 src/gts/predicates_init.c, src/gts/psurface.c, src/gts/refine.c,
11063 src/gts/rounding.h, src/gts/segment.c, src/gts/split.c,
11064 src/gts/stripe.c, src/gts/surface.c, src/gts/triangle.c,
11065 src/gts/tribox3.c, src/gts/vertex.c, src/gts/vopt.c,
11066 src/toporouter.c, src/toporouter.h: GTS build script changes Changed build scripts to include GTS.
11068 2009-04-22 Anthony Blake * tonyb33 AT gmail dot com *
11070 * gts/Makefile.am, gts/NOTES, gts/bbtree.c, gts/boolean.c,
11071 gts/cdt.c, gts/config.h.win32, gts/container.c, gts/curvature.c,
11072 gts/edge.c, gts/eheap.c, gts/face.c, gts/fifo.c, gts/graph.c,
11073 gts/gts-config.in, gts/gts-private.h, gts/gts.def, gts/gts.h,
11074 gts/gts.m4, gts/gtsconfig.h, gts/heap.c, gts/hsurface.c, gts/iso.c,
11075 gts/isotetra.c, gts/kdtree.c, gts/makefile.msc, gts/matrix.c,
11076 gts/misc.c, gts/named.c, gts/object.c, gts/oocs.c, gts/partition.c,
11077 gts/pgraph.c, gts/point.c, gts/predicates.c, gts/predicates.h,
11078 gts/predicates_init.c, gts/psurface.c, gts/refine.c,
11079 gts/rounding.h, gts/segment.c, gts/split.c, gts/stripe.c,
11080 gts/surface.c, gts/triangle.c, gts/tribox3.c, gts/vertex.c,
11081 gts/vopt.c, src/Makefile.am, src/toporouter.c, src/toporouter.h:
11082 Added topological autorouter Topological autorouter (not yet exporting geometry) GTS with small
11083 but crucial bug fixes
11085 2009-04-19 Ben Jackson * ben AT ben dot com *
11087 * .gitignore: Add *.backup to gitignore (in case you test run PCB in
11090 2009-04-19 Ben Jackson * ben AT ben dot com *
11092 * src/hid/gtk/gui-config.c: GTK HID: Background color can be set
11093 live from config dialog Background, off-limit and grid color changes require a special
11094 update that was missing when colors were edited in the config
11097 2009-04-17 DJ Delorie * dj AT delorie dot com *
11099 * src/report.c: Add "report all net lengths" option Usage: Report (AllNetLengths[,(mm|in|mil|pcb)])
11101 2009-04-09 Ben Jackson * ben AT ben dot com *
11103 * .gitignore, data/.gitignore, lib/.gitignore, po/.gitignore,
11104 src/.gitignore, src/hid/.gitignore: Add initial gitignore files
11105 covering autogen files and GTK HID build
11107 2009-04-06 Peter Clifton * pcjc2 AT cam dot ac dot uk *
11109 * src/hid/gtk/gui-render-pixmap.c: GTK HID: Use clipping region when
11110 drawing DRC violation previews Should speed up rendering quite a bit for non-trivial boards.
11112 2009-04-06 Peter Clifton * pcjc2 AT cam dot ac dot uk *
11114 * src/hid/gtk/gtkhid-main.c, src/hid/gtk/gui.h: GTK HID: Move inline
11115 coordinate conversions from gtkhid-main.c to gui.h This allows other source files easy access to the routines Vx(),
11116 Vy(), Vz() and Px(), Py, Pz().
11118 2009-04-05 Peter Clifton * pcjc2 AT cam dot ac dot uk *
11120 * src/polygon.c: Allow PolygonHoles() to be passed a NULL region Passing a NULL region implies we wish to be called back for all
11121 holes in the polygon, as we don't have a region to test against. Fixes crash in the DRC window when the design has polygons, and is
11122 viewed with either thindraw, or thindraw polygons.
11124 2009-04-05 Peter Clifton * pcjc2 AT cam dot ac dot uk *
11126 * src/hid/gtk/gui-drc-window.c: GTK HID: Add "Refresh" button to DRC
11127 window to re-run the DRC. Allows the user to more quickly get an updated view of their
11128 progress fixing design rule violations.
11130 2009-04-05 Peter Clifton * pcjc2 AT cam dot ac dot uk *
11132 * src/hid/gtk/gui-drc-window.c: GTK HID: Fix pango markup in DRC
11133 window to be more compatible Avoid using the attribute alias "font_size" in the markup. Older
11134 pango versions only support "size", which is functionally identical.
11136 2009-04-03 Peter Clifton * pcjc2 AT cam dot ac dot uk *
11138 * src/hid/gtk/gtkhid-main.c: GTK HID: Fix cursor warping on flipped
11141 2009-04-03 Peter Clifton * pcjc2 AT cam dot ac dot uk *
11143 * src/Makefile.am, src/hid/gtk/gui-drc-window.c,
11144 src/hid/gtk/gui-drc-window.h, src/hid/gtk/gui-render-pixmap.c,
11145 src/hid/gtk/gui.h: GTK HID: Add preview images in the drc violations
11148 2009-04-03 Peter Clifton * pcjc2 AT cam dot ac dot uk *
11150 * src/Makefile.am, src/hid/gtk/gtkhid-main.c,
11151 src/hid/gtk/gui-config.c, src/hid/gtk/gui-drc-window.c,
11152 src/hid/gtk/gui-drc-window.h, src/hid/gtk/gui.h: GTK HID: Add DRC
11153 list window using the new DRC_GUI hooks.
11155 2009-04-02 Peter Clifton * pcjc2 AT cam dot ac dot uk *
11157 * src/action.c, src/find.c, src/global.h, src/gpcb-menu.res,
11158 src/hid.h, src/hid/batch/batch.c, src/hid/bom/bom.c,
11159 src/hid/common/hidnogui.c, src/hid/gerber/gerber.c,
11160 src/hid/gtk/gtkhid-main.c, src/hid/lesstif/main.c,
11161 src/hid/lpr/lpr.c, src/hid/nelma/nelma.c, src/hid/png/png.c,
11162 src/hid/ps/eps.c, src/hid/ps/ps.c: Refactor DRC reporting to work
11163 around a DrcViolationType structure. Add hooks to the HID structure allowing a GUI to consume this data
11164 directly (if it wants), rather than being called to display ordinary
11165 message dialog boxes. No HID yet utilises this interface. Remove log messages for individual design rule violations, instead
11166 writing log entries based on the title in the DrcViolationType. This
11167 modifies some of the logged messages slightly. All now prefix:
11168 "WARNING! Design Rule error - ", as was present on some of the old
11171 2009-04-01 Peter Clifton * pcjc2 AT cam dot ac dot uk *
11173 * src/polygon1.c: Fix leak of input objects for certain short-cut
11174 cases in poly_Boolean_free When either a or b input object is NULL, depending on the boolean
11175 operation selected, either a, b or NULL is returned as the result.
11176 Make sure we free any non NULL, and non-returned inputs when taking
11177 these shortcut paths.
11179 2009-04-01 Peter Clifton * pcjc2 AT cam dot ac dot uk *
11181 * src/polygon1.c: Fix leak of cross vertex connectivity lists when
11182 deleting contours Free these lists as we free the contour's nodes in poly_DelContour()
11184 2009-03-25 Tibor Palinkas * igor2 AT inno dot bme dot hu *
11186 * src/hid/lesstif/menu.c: pass context in lesstif Minor patch to get the action context properly passed to actions
11187 with lesstif, which doesn't use hid_actionv() for some reason.
11189 2009-03-25 DJ Delorie * dj AT delorie dot com *
11191 * src/hid.h, src/hid/common/actions.c, src/hid/hidint.h,
11192 src/hid/lesstif/menu.c: single-action register/deregister New API to support registering individual actions with a context for
11193 them, for example for scripting languages to register a hub
11194 dispatcher. From Igor2 AT inno dot bme dot hu (Tibor Palinkas)
11196 2009-03-08 DJ Delorie * dj AT delorie dot com *
11198 * src/report.c: bugfix: avoid NULL pin names with Report(NetLength) There was an assumption that all pins and pads have non-NULL names,
11199 but if you create a .pcb with a script you could end up with
11200 anything. Make sure the names we get are non-NULL before using
11203 2009-03-06 Peter Clifton * pcjc2 AT cam dot ac dot uk *
11205 * src/hid/gerber/gerber.c, src/hid/png/png.c: Fix exporters to cope
11206 with hairlines now they are passed as width 0, not 1 This fixes breakage introduced in commit
11207 8dd739f9bd72dc3c8beb6e4e5e32c124cac0d13b png exporter: - Needs a minimum 1x1 pixel brush for drawing hairlines - Report and patch by Levente Kovacs * leventelist AT gmail dot
11208 com * gerber exporter: - The hairline drawn around holes must be ignored - Report and diagnosis by Ineiev * ineiev AT gmail dot com *
11210 2009-03-05 Dan McMahill * dan AT mcmahill dot net *
11212 * README.snapshots: Add a note for next time about some increased
11213 test coverage. We need to do a distcheck build with a wider variety of requested
11214 HID's to catch things like the missing src/hid/batch/hid.conf
11216 2009-03-05 Dan McMahill * dan AT mcmahill dot net *
11218 * src/Makefile.am: add missing hid/batch/hid.conf to EXTRA_DIST.
11219 Noted by Stefan Salewski.
11221 2009-02-27 Dan McMahill * dan AT mcmahill dot net *
11223 * configure.ac: Bump the required autoconf version to 2.60. pdfdir, psdir, and friends appeared in version 2.60 of autoconf.
11224 Since we use those, we need 2.60 or higher. Problem noted by Bert
11227 2009-02-27 Dan McMahill * dan AT mcmahill dot net *
11229 * src/hid/png/png.c: Remove some now unused RCS ID's
11231 2009-02-21 Peter Clifton * pcjc2 AT cam dot ac dot uk *
11233 * src/Makefile.am, src/dbus.c, src/draw.c, src/global.h, src/hid.h,
11234 src/hid/batch/batch.c, src/hid/bom/bom.c,
11235 src/hid/common/draw_helpers.c, src/hid/common/draw_helpers.h,
11236 src/hid/common/extents.c, src/hid/common/hidinit.c,
11237 src/hid/common/hidnogui.c, src/hid/gerber/gerber.c,
11238 src/hid/gtk/gtkhid-main.c, src/hid/gtk/gui-config.c,
11239 src/hid/gtk/gui.h, src/hid/lesstif/main.c, src/hid/lpr/lpr.c,
11240 src/hid/nelma/nelma.c, src/hid/png/png.c, src/hid/ps/eps.c,
11241 src/hid/ps/ps.c, src/polygon.c, src/polygon.h: Add support for
11242 filling / thindrawing raw polygons to the HID interface Refactor core polygon drawing to use these member functions, and
11243 split the old code which used the HID's fill_polygon and draw_line
11244 functions into a helper function which the guis now use to convert
11245 the polygon into the primitives it knows how to draw. Alter the NoHoles dicer to pass back PLINE contours, rather than
11246 wrapping them in a POLYAREA and PolygonType.
11248 2009-02-21 Peter Clifton * pcjc2 AT cam dot ac dot uk *
11250 * src/draw.c, src/polygon.c, src/polygon.h: Add user_data parameter
11251 to NoHolesPolygonDicer Also switch the clip_box parameter before the ones defining the
11252 callback and its user_data.
11254 2009-02-21 Peter Clifton * pcjc2 AT cam dot ac dot uk *
11256 * src/draw.c: Thindraw with 0 width, not 1 PCB unit width. This allows the gui to differentiate between when the core wants
11257 hairline drawing, and when the core is drawing primitives which are
11258 actually 1 PCB unit wide.
11260 2009-02-21 Peter Clifton * pcjc2 AT cam dot ac dot uk *
11262 * src/draw.c: Thindraw polygons with circular line-caps. Set an explicit cap style for consistency with other "special"
11263 polygon drawing code.
11265 2009-02-17 Peter Clifton * pcjc2 AT cam dot ac dot uk *
11267 * src/polygon.c: Bisect and union self-intersecting arcs in
11268 ArcPoly() Avoids creating a self-intersecting contour which produces incorrect
11269 result. Bug noted when clearing a 360 degree arc from a polygon. For self-intersecting arcs, we now bisect, produce two polygons
11270 (with non-self-intersecting contours), then compute their union.
11272 2009-02-10 Peter Clifton * pcjc2 AT cam dot ac dot uk *
11274 * src/hid/bom/bom.c, src/hid/gerber/gerber.c, src/hid/lpr/lpr.c,
11275 src/hid/nelma/nelma.c, src/hid/png/png.c, src/hid/ps/eps.c,
11276 src/hid/ps/ps.c: Various HIDs: Add missing pointers for the watch
11277 and block hander methods These were missed when adding DBus support, since the initialisation
11278 of the HID structure assumes that unspecified members are zero, and
11279 all subsequent function pointers were explicitly 0, so as not to
11280 cause a type mismatch. Hids fixed: bom gerber lpr nelma png eps ps
11282 2009-02-10 Peter Clifton * pcjc2 AT cam dot ac dot uk *
11284 * src/hid/nelma/nelma.c: nelma: Fix prototype on set_layer() method
11285 to take the "empty" flag. Fixes warning about incompatible types when intialising the HID
11288 2009-02-10 Peter Clifton * pcjc2 AT cam dot ac dot uk *
11290 * src/polygon1.c: polygon1.c: Implement poly_Boolean() by calling
11291 poly_Boolean_free() Reduces duplicated code. The poly_Boolean() implemetation already
11292 copied the original contours, then duplicated the processing steps
11293 taken in poly_Boolean_free().
11295 2009-02-08 Peter Clifton * pcjc2 AT cam dot ac dot uk *
11297 * src/hid/gtk/gui-netlist-window.c: gtkhid: Return NULL from
11298 ghid_get_net_from_node_name() Fixes calling return; from function returning non-void type.
11300 2009-02-08 Peter Clifton * pcjc2 AT cam dot ac dot uk *
11302 * src/crosshair.c: crosshair.c: When drawing via DRC clearence, pass
11303 correct angle. 360 * 64 was a hold-over from before the HID split. The passed angle
11306 2009-01-24 Peter Clifton * pcjc2 AT cam dot ac dot uk *
11308 * src/polygon.c, src/polygon.h, src/rats.c: Make rats to polygons
11309 work for arbitrary clipped shapes The rat will still be drawn to the first point on the polygon, which
11310 might not necessarily be the closest.
11312 2009-01-14 DJ Delorie * dj AT delorie dot com *
11314 * src/hid/lesstif/dialogs.c: Skip undocumented options.
11316 2009-01-14 DJ Delorie * dj AT delorie dot com *
11318 * src/hid/gtk/gui-dialog-print.c: Don't show undocumented options.
11320 2009-01-11 Peter Clifton * pcjc2 AT cam dot ac dot uk *
11322 * src/hid/gtk/gui-netlist-window.c: GTK HID: Avoid critical warning
11323 looking up connectivity without netlist
11325 2009-01-10 DJ Delorie * dj AT delorie dot com *
11327 * src/hid/png/png.c: Add only-visible support to photo-mode, check
11328 for more outline fill spots.
11330 2009-01-10 DJ Delorie * dj AT delorie dot com *
11332 * src/hid/png/png.c: Add outline mode for photo-mode, from Mark
11335 2009-01-10 DJ Delorie * dj AT delorie dot com *
11337 * src/action.c: Handle wrap-around when searching the string hash
11340 2009-01-08 Dan McMahill * dan AT mcmahill dot net *
11342 * lib/misc.inc: for the axial footprints, put the mark on pin 1
11343 instead of on the body of the footprint. This gives you a much
11344 better chance of the pins being on-grid when working with the
11345 coarser grids typically found in a thru-hole design.
11347 2008-12-30 DJ Delorie * dj AT delorie dot com *
11349 * src/polygon.c: Add description of how polygon data works from Ben,
11350 and debug routines for dumping polygon structures within gdb.
11352 2008-12-27 DJ Delorie * dj AT delorie dot com *
11354 * src/action.c, src/const.h, src/draw.c, src/flags.c,
11355 src/gpcb-menu.res, src/pcb-menu.res, src/search.c, src/strflags.c:
11356 Add "hide names" option to hide all refdes on the board temporarily.
11358 2008-12-27 DJ Delorie * dj AT delorie dot com *
11360 * src/hid/gtk/gtkhid-main.c, src/hid/lesstif/main.c: Fix flipping of
11363 2008-12-27 DJ Delorie * dj AT delorie dot com *
11365 * src/parse_y.y: fix parsing of old-syntax arcs.
11367 2008-12-27 DJ Delorie * dj AT delorie dot com *
11369 * src/draw.c: Include explicit text/lines/etc on silk layers in
11372 2008-12-27 DJ Delorie * dj AT delorie dot com *
11374 * src/action.c: Make sure the user has specified an element for the
11377 2008-12-27 DJ Delorie * dj AT delorie dot com *
11379 * src/hid/gtk/gui-config.c: Add min-drill and min-ring to the saved
11380 config list, and save the config file *after* updating it, not
11383 2008-12-27 DJ Delorie * dj AT delorie dot com *
11385 * src/hid/gerber/gerber.c: sf patch 2162834 from d.ineiev - count
11386 apertures for diagonal pads
11388 2008-12-27 DJ Delorie * dj AT delorie dot com *
11390 * src/draw.c, src/hid.h, src/hid/batch/batch.c,
11391 src/hid/common/extents.c, src/hid/common/hidnogui.c,
11392 src/hid/gerber/gerber.c, src/hid/gtk/gtkhid-main.c,
11393 src/hid/lesstif/main.c, src/hid/png/png.c, src/hid/ps/eps.c,
11394 src/hid/ps/ps.c: Add "empty layer" hint to HID. Add option
11395 --all-layers to gerber export which causes it to export all layers,
11396 empty or otherwise.
11398 2008-12-27 DJ Delorie * dj AT delorie dot com *
11400 * src/hid/png/png.c: Rename ben-mode to photo-mode.
11402 2008-12-27 DJ Delorie * dj AT delorie dot com *
11404 * src/hid.h, src/main.c: Add an option for undocumented attributes.
11406 2008-12-27 Dan McMahill * dan AT mcmahill dot net *
11408 * configure.ac, newlib/Makefile.am: deprecate the analog-devices and
11409 burr-brown newlib libraries
11411 2008-12-27 Dan McMahill * dan AT mcmahill dot net *
11413 * newlib/analog-devices/ADC12138CIMSA,
11414 newlib/analog-devices/Makefile.am, newlib/burr-brown/Makefile.am,
11415 newlib/burr-brown/OPA340_SOT23-5: remove some footprints of
11418 2008-12-24 Peter Clifton * pcjc2 AT cam dot ac dot uk *
11420 * src/mymem.c: Regenerate rats r-tree when re-allocating a bigger
11421 rats array. Shuould fix crashes observed on a board with a large number of rats.
11423 2008-12-24 DJ Delorie * dj AT delorie dot com *
11425 * src/hid/common/hidinit.c: Typo.
11427 2008-12-24 DJ Delorie * dj AT delorie dot com *
11429 * src/hid/common/hidinit.c: Make sure we clean up if dlopen fails.
11431 2008-12-24 DJ Delorie * dj AT delorie dot com *
11433 * src/hid/common/hidinit.c: Avoid checking memory before short-named
11436 2008-12-24 Peter Clifton * pcjc2 AT cam dot ac dot uk *
11438 * src/hid/gtk/gui-netlist-window.c: Fix off-by one error in the GTK
11439 HID's netlist window model generation Broken when I added support for a hierarchical view of nets. The bug
11440 caused invalid memory to be read, possibly leading to a crash, as
11441 the last (and missing) element from g_new0 was supposed to be a
11444 2008-12-21 DJ Delorie * dj AT delorie dot com *
11446 * src/find.c: Fix via annulus calculations, from Jasper
11448 2008-12-21 DJ Delorie * dj AT delorie dot com *
11450 * src/hid/lesstif/menu.c: Set home from homedir.
11452 2008-12-20 DJ Delorie * dj AT delorie dot com *
11454 * doc/gs/gs.css: More missing files
11456 2008-12-20 DJ Delorie * dj AT delorie dot com *
11458 * doc/gs/gafrc, doc/gs/gschemrc: missed files
11460 2008-12-20 DJ Delorie * dj AT delorie dot com *
11462 * configure.ac: add texi2dvi check and doc/gs subdir
11464 2008-12-20 DJ Delorie * dj AT delorie dot com *
11466 * doc/eps2png, doc/gs/555.sym, doc/gs/555.symdef,
11467 doc/gs/Makefile.am, doc/gs/Makefile.inc, doc/gs/fb-blinker-sch.sch,
11468 doc/gs/fb-blinker.net, doc/gs/fb-blinker.pcb,
11469 doc/gs/fb-blinker.prj, doc/gs/fb-blinker.texi, doc/gs/fb-led-5.pcb,
11470 doc/gs/fb-led.pcb, doc/gs/fb-led.texi, doc/gs/fb-smt-sch.sch,
11471 doc/gs/fb-smt.net, doc/gs/fb-smt.pcb, doc/gs/fb-smt.prj,
11472 doc/gs/fb-smt.texi, doc/gs/firstboard.texi, doc/gs/gs.texi,
11473 doc/gs/installation.texi, doc/gs/introduction.texi,
11474 doc/gs/pj102.fp, doc/gs/powerjack.sym, doc/gs/print-eps.scm,
11475 doc/gs/term-annulus-1.pcb, doc/gs/term-clearance-1.pcb,
11476 doc/gs/term-element-1.pcb, doc/gs/term-pad-1.pcb,
11477 doc/gs/term-pin-1.pcb, doc/gs/term-platedhole-1.pcb,
11478 doc/gs/term-tented-1.pcb, doc/gs/term-thermal-1.pcb,
11479 doc/gs/term-thickness-1.pcb, doc/gs/terminology.texi,
11480 doc/gs/texinfo.tex: Add initial "getting started" guide.
11482 2008-12-20 DJ Delorie * dj AT delorie dot com *
11484 * src/hid.h: append '-' on all parameter names to prevent
11485 mis-interpretation of such. Example: "xor" is a C++ reserved name.
11487 2008-12-20 DJ Delorie * dj AT delorie dot com *
11489 * src/hid/gerber/gerber.c: Increase resolution of gerbers to 0.01
11490 mil; drills remain at 0.1 mil
11492 2008-12-20 DJ Delorie * dj AT delorie dot com *
11494 * src/parse_l.l: Add support for suffixes on numbers, like "mm",
11495 "um", "in", or "mil". No suffix defaults to "pcb units" as before.
11497 2008-12-20 DJ Delorie * dj AT delorie dot com *
11499 * src/flags.c: Add flags for whether various layers are shown.
11501 2008-12-20 DJ Delorie * dj AT delorie dot com *
11503 * src/action.c: Add MinClearGap() action.
11505 2008-12-12 Dan McMahill * dan AT mcmahill dot net *
11507 * configure.ac: try to clean up the logic around cross compiling and
11508 an executible pcb. Hopefully addresses some corner cases when cross
11511 2008-12-12 Dan McMahill * dan AT mcmahill dot net *
11513 * doc/Makefile.am, doc/version.texi, lib/Makefile.am,
11514 lib/m4lib_to_newlib.sh.in: use if FOO stuff endif instead of @FOOTRUE@ stuff as the latter prevents automake from properly understanding some
11517 2008-12-05 Dan McMahill * dan AT mcmahill dot net *
11519 * doc/actions.texi: regen
11521 2008-12-05 Dan McMahill * dan AT mcmahill dot net *
11523 * configure.ac, doc/Makefile.am, lib/Makefile.am,
11524 lib/m4lib_to_newlib.sh: Correctly deal with the case where one wants
11525 to do a maintainer cross compile which requires an installed pcb
11526 that can be executed on the build host. As part of this, also do
11527 not build the png previews of the pcblib-newlib library by default.
11528 They were not really used for anything and it really slows the
11529 build. They can be built with --enable-m4lib-png.
11531 2008-12-03 Dan McMahill * dan AT mcmahill dot net *
11533 * configure.ac, src/Makefile.am: check for windres as a build tool
11534 instead of hard coding 'windres'. Should help with cross-compiling
11535 with windows as the target. Noted as a patch for gerbv by Cesar
11538 2008-12-03 DJ Delorie * dj AT delorie dot com *
11540 * src/misc.c: Merge thermals from old flags, not overwrite them.
11542 2008-11-30 Dan McMahill * dan AT mcmahill dot net *
11544 * win32/pcb.nsi.in: fix some shortcut removal issues on Vista.
11546 2008-11-30 Dan McMahill * dan AT mcmahill dot net *
11548 * win32/build_pcb: add a --nsis-only option that only creates the
11551 2008-11-30 Dan McMahill * dan AT mcmahill dot net *
11553 * win32/build_pcb: fix up the PATH used during the build so pcb can
11554 run when generating the pcblib-newlib previews
11556 2008-11-30 Dan McMahill * dan AT mcmahill dot net *
11558 * win32/build_pcb, win32/pcb.nsi.in: try to fix the pdf and html
11559 manual links. Noted by Bob Paddock.
11561 2008-11-29 Dan McMahill * dan AT mcmahill dot net *
11563 * src/hid/gtk/gui-output-events.c: Fix bug 2011285 auto-pan on
11564 solder side not working properly. Patch provided in the bug report.
11566 2008-11-29 Dan McMahill * dan AT mcmahill dot net *
11568 * src/action.c, src/crosshair.c, src/global.h, src/gpcb-menu.res,
11569 src/hid/gtk/gui-output-events.c, src/hid/lesstif/main.c,
11570 src/pcb-menu.res: Add additional crosshair shapes. ctrl-right click
11571 cycles through. Patch 2170634 from D. Ineiev.
11573 2008-11-29 Dan McMahill * dan AT mcmahill dot net *
11575 * src/hid/gtk/gui-dialog.c: teach ghid_confirm_dialog to remember
11576 its last position and to come up at the same place the next time. Patch 1900832 from Tomaz Solc.
11578 2008-11-28 Dan McMahill * dan AT mcmahill dot net *
11580 * README.snapshots: Minor formatting updates for some long lines and
11581 also minor updates to reflect some sourceforge changes.
11583 2008-11-28 Dan McMahill * dan AT mcmahill dot net *
11585 * src/hid/gtk/gui-config.c: fix up the library path dialog for
11588 2008-11-28 Dan McMahill * dan AT mcmahill dot net *
11590 * src/hid/gtk/gui-config.c: Use PCB_PATH_DELIMETER instead of ":" in
11593 2008-11-28 Dan McMahill * dan AT mcmahill dot net *
11595 * configure.ac: bump rev after 20081128 branch
11597 2008-11-28 Dan McMahill * dan AT mcmahill dot net *
11599 * README.snapshots: update dates for 20081128 snapshot
11601 2008-11-28 Dan McMahill * dan AT mcmahill dot net *
11603 * NEWS: update for 20081128 snapshot
11605 2008-11-28 Dan McMahill * dan AT mcmahill dot net *
11607 * ChangeLog: update for 20081128 snapshot
11609 2008-11-28 Dan McMahill * dan AT mcmahill dot net *
11611 * doc/actions.texi: regen.
11613 2008-11-28 Dan McMahill * dan AT mcmahill dot net *
11615 * Makefile.am: Make DISTCHECK_CONFIGURE_FLAGS actually work again so
11616 we can check that 'make distcheck' passes for lesstif.
11618 2008-11-27 Dan McMahill * dan AT mcmahill dot net *
11620 * doc/Makefile.am: honor psdir, pdfdir, docdir, htmldir, dvidir.
11621 Noted in sf bug #1916057.
11623 2008-11-27 DJ Delorie * dj AT delorie dot com *
11625 * src/create.c: Test the two lines, not the line vs the current pcb,
11626 for compatible poly-join flags.
11628 2008-11-27 Dan McMahill * dan AT mcmahill dot net *
11630 * src/pcbtest.sh.in: get rid of an insecure usage of a temp file
11632 2008-11-25 Dan McMahill * dan AT mcmahill dot net *
11634 * src/main.c: do not free() the result of getenv(). Noted by Peter
11637 2008-11-25 Dan McMahill * dan AT mcmahill dot net *
11639 * src/global.h, src/hid/common/hidinit.c,
11640 src/hid/gtk/gui-top-window.c, src/hid/lesstif/menu.c, src/main.c:
11641 Determine the users home directory on program startup and remember
11642 it for use in other places later. This avoids repeated use of
11643 getenv("HOME") which may have issues especially under windows.
11645 2008-11-25 Dan McMahill * dan AT mcmahill dot net *
11647 * win32/build_pcb: create a DOS batch file wrapper for the installer
11648 to make it easier to run the installer immediately after building it
11649 from the cygwin shell. Without this, vista doesn't seem to like to
11650 run it for some reason.
11652 2008-11-25 Dan McMahill * dan AT mcmahill dot net *
11654 * doc/actions.texi, doc/version.texi: regen
11656 2008-11-25 Dan McMahill * dan AT mcmahill dot net *
11658 * win32/Makefile.am, win32/build_pcb, win32/extract_gtk_win32,
11659 win32/pcb.nsi.in, win32/registerExtension.nsh: - various minor updates for a more recent download of gtk and
11660 friends largely taken from gerbv. - associate .pcb and .fp file extensions with pcb - make sure we start up pcb in the My Documents area to discourage writing into Program Files.
11662 2008-11-24 Dan McMahill * dan AT mcmahill dot net *
11664 * po/POTFILES.in: add 2 missing files that have translations
11666 2008-11-23 DJ Delorie * dj AT delorie dot com *
11668 * src/hid/ps/ps.c: Fix the foo.ps.type.ps bug
11670 2008-11-19 DJ Delorie * dj AT delorie dot com *
11672 * src/djopt.c: Move splitlines even earlier, to avoid unwanted
11675 2008-11-11 DJ Delorie * dj AT delorie dot com *
11677 * src/create.c: Don't merge two lines if the join flag differs.
11679 2008-10-21 Peter Clifton * pcjc2 AT cam dot ac dot uk *
11681 * src/hid/gtk/gui-pinout-preview.c: Fix preview drawing broken by
11682 resetting "Gathering" mode after painting. Seems that the pinout preview widget relied on the bug fixed in
11683 commit 0647d028e6c755715d2fcdbd0b4f2be73d36ae7f. In the expose
11684 handler of the preview, We should be calling the
11685 hid_expose_callback() function rather than DrawElement() directly.
11687 2008-10-21 Peter Clifton * pcjc2 AT cam dot ac dot uk *
11689 * src/hid/gtk/gui-output-events.c: Remove logged warning when
11690 pressing a key with no defined binding Poping up the log window in these cases is very intrusive, and it
11691 triggered for keys such as capslock, Mod4/Windows etc. There is no
11692 real need to log errant key-presses, so remove this feature.
11694 2008-10-13 Peter Clifton * pcjc2 AT cam dot ac dot uk *
11696 * src/autoroute.c, src/mtspace.c: Fix two assertion test to allow
11697 compiling a debug build. Due to code-restructures, a couple of assert tests (not normally
11698 compiled) had bit-rotted. Remove one, rejig the other.
11700 2008-10-13 Peter Clifton * pcjc2 AT cam dot ac dot uk *
11702 * src/rtree.c: rtree.c: Fix typo in assertion test inside __r_search Caused false assertion failures when running a debugging build.
11704 2008-10-13 Peter Clifton * pcjc2 AT cam dot ac dot uk *
11706 * src/search.c: Fix IsPointInBox to work with wide as well as tall
11707 boxes Actually implement the test, rather than trying to construct a pad
11708 to test which has the right geometry.
11710 2008-10-13 Peter Clifton * pcjc2 AT cam dot ac dot uk *
11712 * src/rtree.c: Change rtree penalty function in rtree.c to use
11713 doubles, not long long. Since the exact integer result doesn't matter, this is ok.
11714 Marginally faster on Core Duo machine.
11716 2008-10-13 Peter Clifton * pcjc2 AT cam dot ac dot uk *
11718 * src/rtree.c: Check all r-tree node children for fit before working
11719 out penalties Working out the penalty involves multiplications which produce a
11720 "long long" result, and is seen to be appear in profiling. Make a pass at testing all children for the fast case of the child
11721 node containing the desired box, before working out size penalties
11722 to expanding each child.
11724 2008-10-13 Peter Clifton * pcjc2 AT cam dot ac dot uk *
11726 * src/heap.c: Increase initial heap size from 32 to 256 In complex boards with lots of polygons, we were realloc'ing up to
11727 this kind of number anyway, in x2 size steps. Save all the
11728 memcpy'ing by making the heap larger to start with. My test board still has some requirement for heaps >256, <512, but
11729 the frequency is low.
11731 2008-10-13 Peter Clifton * pcjc2 AT cam dot ac dot uk *
11733 * src/hid/gtk/gtkhid-main.c: GTK HID: Raise already open command
11734 window to top with ":" key Previously, ":" only opened the window, but would not raise it if
11737 2008-10-02 Peter Clifton * pcjc2 AT cam dot ac dot uk *
11739 * src/move.c: Fix array index out of bounds over layer groups Off by one error in for loop, picked out by a recent version of GCC
11740 being better at spotting this kind of bug. The effects (if any) this
11741 bug caused are unknown.
11743 2008-10-01 Peter Clifton * pcjc2 AT cam dot ac dot uk *
11745 * src/hid/gtk/gui-netlist-window.c: GTK HID: Fix crash when
11746 highlighting connectivity caused by net tree. Seems I caused a crash in the connectivity highlighting code which
11747 assumed the net model of in the netlist window is a list structure
11748 where each element represents a net. Adapted the code to hunt out
11749 the right net / node with a tree model of nets.
11751 2008-10-01 Dan McMahill * dan AT mcmahill dot net *
11753 * README.snapshots, utils/cvs2cl.pl: add a local coyp of cvs2cl.pl
11755 2008-09-30 Peter Clifton * pcjc2 AT cam dot ac dot uk *
11757 * src/polygon.c, src/polygon.h: Don't bother unsubtracting complex
11758 polygons when doing incremental updates Since the polygon is re-cleared against any objects existing within
11759 the bounding box of the update region, there is no point wasting CPU
11760 cycles intersecting a more complex polygon than necessary. Just take
11761 the UNION of the polygon being unsubtracted, and the bounding box of
11762 the hole to be filed in.
11764 2008-09-30 Peter Clifton * pcjc2 AT cam dot ac dot uk *
11766 * src/misc.c, src/polygon.c: Fix text bounds to include the area
11767 cleared into a polygon Fixes re-clearing the polygon when a closely touching object is
11768 incrementally updated.
11770 2008-09-30 Peter Clifton * pcjc2 AT cam dot ac dot uk *
11772 * src/draw.c: Ensure "Gathering" mode is set after painting the
11773 screen. In between repaints initiated from the GUI, with this flag set, all
11774 Draw{object_type} operations just update a dirtied bounds. A final
11775 Draw() call then calls the HID to invalidate the bounds gathered. Setting "Gathering = True" after an expose event callback ensures
11776 subsequent drawing is batched up for the next screen update.
11778 2008-09-30 Peter Clifton * pcjc2 AT cam dot ac dot uk *
11780 * src/draw.c: Add debugging code to visually check a pad's bounding
11781 box Proved useful in fixing the pad bounding box update routine.
11782 Disabled with #if 0 block.
11784 2008-09-30 Peter Clifton * pcjc2 AT cam dot ac dot uk *
11786 * src/misc.c, src/move.h: Fix bounding boxes for rotated square
11787 ended pads. Bounding box compution only worked for round ended pads before. In
11788 addition, the "move" code previously called SetLineBoundingBox for
11789 pads, which computes the wrong result.
11791 2008-09-30 Peter Clifton * pcjc2 AT cam dot ac dot uk *
11793 * src/hid/gtk/gui-library-window.c: GTK HID: Make double clicking on
11794 a footprint library expand / contract it Usability improvement.
11796 2008-09-30 DJ Delorie * dj AT delorie dot com *
11798 * src/buffer.c: Put exploded pads on the correct layer
11800 2008-09-23 Peter Clifton * pcjc2 AT cam dot ac dot uk *
11802 * src/hid/gtk/gui-netlist-window.c: Display nets as a hierarchical
11803 tree in the netlist window. The view splits netnames at "/" characters, and builds the netlist
11804 view as a tree accordingly. Allows more strutured viewing of nets
11805 coming from hierarchical designs.
11807 2008-09-23 Peter Clifton * pcjc2 AT cam dot ac dot uk *
11809 * src/hid/common/hidinit.c: Improve hashing algorithm for storing
11810 color data Curosry testing showed the old algorithm encountered a lot of hash
11811 collisions. Swap to a more sensible hashing algorithm.
11813 2008-09-23 Peter Clifton * pcjc2 AT cam dot ac dot uk *
11815 * src/hid/common/hidinit.c: Fix lru heuristic to shortcut color
11816 cache lookup Heuristic didn't work before as the lru element wasn't saved.
11818 2008-09-23 Peter Clifton * pcjc2 AT cam dot ac dot uk *
11820 * src/hid/batch/batch.c: Fix batch HID by adding stub functions for
11821 file watches and block hooks This was broken when these features were added to the HID interface.
11823 2008-09-11 DJ Delorie * dj AT delorie dot com *
11825 * src/polygon.c: Fix poly clearance around rotated pads - Robert
11826 Fitzsimons and Ineiev
11828 2008-09-11 DJ Delorie * dj AT delorie dot com *
11830 * src/hid/lesstif/main.c: Fix lesstif crosshair color - joel
11833 2008-08-22 Dan McMahill * dan AT mcmahill dot net *
11835 * README.cvs: update the anoncvs server name
11837 2008-08-19 Dan McMahill * dan AT mcmahill dot net *
11839 * configure.ac, src/Makefile.am: add a --enable-debug mode that does
11840 not disable assert()
11842 2008-08-16 DJ Delorie * dj AT delorie dot com *
11844 * src/hid/batch/batch.c: Add missing parameter name
11846 2008-08-06 DJ Delorie * dj AT delorie dot com *
11848 * globalconst.h: Bump up font size and aperture count.
11850 2008-08-03 DJ Delorie * dj AT delorie dot com *
11852 * src/hid/png/png.c: Add --ben-flip-x and --ben-flip-y options to
11853 produce "ben mode" images of the other side of the board.
11855 2008-07-10 Ben Jackson * ben AT ben dot com *
11857 * src/hid/png/png.c: Fix crash with 'ben-mode' if your layer stack
11858 is the reverse of DJ's.
11860 2008-07-08 DJ Delorie * dj AT delorie dot com *
11862 * src/hid/png/png.c: Add "Ben Mode". Fix export of thindrawn
11865 2008-07-05 DJ Delorie * dj AT delorie dot com *
11867 * src/action.c: Oops, fix bug from previous patch.
11869 2008-07-05 DJ Delorie * dj AT delorie dot com *
11871 * src/action.c: Do not require a second paramter for SaveTo(Layout)
11873 2008-06-02 DJ Delorie * dj AT delorie dot com *
11875 * src/print.c: Allow outline layers that have nothing but arcs.
11877 2008-05-28 DJ Delorie * dj AT delorie dot com *
11879 * src/macro.h: Add ELEMENTARC_LOOP
11881 2008-05-20 Peter Clifton * pcjc2 AT cam dot ac dot uk *
11883 * data/pcb.xml.in, doc/actions.texi, doc/pcbfile.texi: Add mime
11884 magic "M48" for detection of excellon drill files.
11886 2008-05-07 DJ Delorie * dj AT delorie dot com *
11888 * src/hid/gerber/gerber.c: Don't say ,TZ as we're not omitting
11891 2008-04-28 Dan McMahill * dan AT mcmahill dot net *
11893 * src/mtspace.c, src/report.c: fix a few more code before
11894 declarations bugs. Patch by der Mouse.
11896 2008-04-28 Dan McMahill * dan AT mcmahill dot net *
11898 * configure.ac: if the compiler takes it, turn on code before
11899 declarations warnings
11901 2008-04-28 Dan McMahill * dan AT mcmahill dot net *
11903 * src/edif.y, src/puller.c: Fix some code before declarations bugs
11904 noted by der Mouse.
11906 2008-04-13 Peter Clifton * pcjc2 AT cam dot ac dot uk *
11908 * src/action.c: Applied patch from Tomaz Solc fixing crosshair
11909 issues with ActionNew() ActionNew() function didn't call a RestoreCrosshair() after a
11910 HideCrosshair() in most cases. This causes symptoms similar to those described in #1900255 when
11911 "Start new layout" is selected in the File menu in GTK HID (most
11912 probably also in Lesstiff, but I haven't checked). This patch adds two missing RestoreCrosshair() calls and fixes that
11913 issue. Minor re-indentation by Peter Clifton during application.
11915 2008-04-13 Peter Clifton * pcjc2 AT cam dot ac dot uk *
11917 * src/misc.c: Applied patch from Tomaz Solc fixing a bug in the
11918 CenterDisplay function. This patch fixes a bug in the CenterDisplay function that doesn't do
11919 a RestoreCrosshair() after HideCrosshair(). This causes the crosshair stack overflow when using the DRC checker
11920 (which calls CenterDisplay a lot). Minor re-indentation by Peter Clifton during application.
11922 2008-04-13 Peter Clifton * pcjc2 AT cam dot ac dot uk *
11924 * src/crosshair.c, src/hid/gtk/gui-output-events.c: Applied patch
11925 from Tomaz Solc fixing bug #1882970. This patch fixes a bug where objects attached to the cursor (line
11926 segments during drawing, etc.) permanently disappear if mouse cursor
11927 leaves a window during dragging. Minor re-indentation by Peter Clifton during application.
11929 2008-04-13 Peter Clifton * pcjc2 AT cam dot ac dot uk *
11931 * src/hid/gtk/gtkhid-main.c: Apply patch from Igor to ensure when
11932 flipping the board, the cursor remains on the same point on the
11935 2008-04-13 Peter Clifton * pcjc2 AT cam dot ac dot uk *
11937 * doc/actions.texi, src/action.c, src/command.c, src/hid.h,
11938 src/hid/batch/batch.c, src/hid/bom/bom.c, src/hid/common/extents.c,
11939 src/hid/common/hidnogui.c, src/hid/gerber/gerber.c,
11940 src/hid/gtk/gtkhid-main.c, src/hid/gtk/gui-dialog.c,
11941 src/hid/gtk/gui.h, src/hid/lesstif/dialogs.c,
11942 src/hid/lesstif/main.c, src/hid/lpr/lpr.c, src/hid/nelma/nelma.c,
11943 src/hid/png/png.c, src/hid/ps/eps.c, src/hid/ps/ps.c: Add HID hook,
11944 close_confirm_dialog() for closing modified layouts. This allows GUI HIDs to present a more native looking "save before
11945 closing" dialog. The HID is responsible for any save which the user
11946 requests and the subsequent return codes from the HID are as before,
11947 0 for cancel and 1 for close. This checkin also fixes the GTK HID's Save() action to return 1 for
11948 cancel if the user cancels from the "Save As" dialog.
11950 2008-04-02 DJ Delorie * dj AT delorie dot com *
11952 * src/hid/png/png.c: Fix off-by-one bug drawing pads.
11954 2008-03-31 DJ Delorie * dj AT delorie dot com *
11956 * src/hid/ps/ps.c: When drawing zero-length lines, draw a square or
11957 circle according to the end cap value.
11959 2008-03-30 DJ Delorie * dj AT delorie dot com *
11961 * src/misc.c: If a layer selected through --layer-stack isn't found,
11962 let the user know and print a list of available layers.
11964 2008-03-24 DJ Delorie * dj AT delorie dot com *
11966 * src/hid/gerber/gerber.c: Ignore zero-radius filled circles.
11968 2008-03-16 Dan McMahill * dan AT mcmahill dot net *
11970 * src/find.c, src/parse_y.y: Only use the min annular ring parameter
11971 for checking the annular rings on pins and vias. Previously the
11972 minimum copper width setting was also used. Changed after a
11973 discussion on geda-user. Also make sure we use the minimum copper
11974 width as the default if the .pcb file doesn't specify the minimum
11977 2008-03-15 Dan McMahill * dan AT mcmahill dot net *
11979 * src/hid/gerber/gerber.c: Add a missing terminating '*' on the
11980 first G04 line of the output files. Noted on #geda.
11982 2008-02-27 Dan McMahill * dan AT mcmahill dot net *
11984 * src/Makefile.am: revert most of the previous commit which
11985 accidentally added some stuff that was not meant to be checked in.
11987 2008-02-26 Dan McMahill * dan AT mcmahill dot net *
11989 * src/Makefile.am, src/pcbtest.sh.in: use absolute paths (set at
11990 configure time) so this script may be called from other directories
11991 as part of a test suite.
11993 2008-02-22 Dan McMahill * dan AT mcmahill dot net *
11995 * lib/geda.inc: add 128 pin 14x14 mm LQFP with exposed padded. Add
11996 128 pin 14x14 mm TQFP with and without exposed paddle
11998 2008-02-10 DJ Delorie * dj AT delorie dot com *
12000 * src/hid/ps/ps.c: Allow negative bloats
12002 2008-02-01 Dan McMahill * dan AT mcmahill dot net *
12004 * README.snapshots: add file size to checksum file
12006 2008-02-01 Dan McMahill * dan AT mcmahill dot net *
12008 * po/LINGUAS, po/fr.po, po/fr_FR.po: move fr_FR to fr as the latter
12009 seems to be recommended these days
12011 2008-02-01 Dan McMahill * dan AT mcmahill dot net *
12013 * configure.ac: bump to 1.99x after branching 20080202
12015 2008-02-01 Dan McMahill * dan AT mcmahill dot net *
12017 * ChangeLog: update for 20080202
12019 2008-02-01 Dan McMahill * dan AT mcmahill dot net *
12021 * README.snapshots: update to deal with the desktop integration and
12024 2008-02-01 Dan McMahill * dan AT mcmahill dot net *
12026 * NEWS: add some news items for 20080202
12028 2008-02-01 Dan McMahill * dan AT mcmahill dot net *
12030 * src/misc.c: add 2008 to copyright year
12032 2008-02-01 Dan McMahill * dan AT mcmahill dot net *
12034 * doc/actions.texi: regen
12036 2008-02-01 Dan McMahill * dan AT mcmahill dot net *
12038 * src/hid/gtk/gui-utils.c: fix mark up rendering on status line
12040 2008-01-31 Dan McMahill * dan AT mcmahill dot net *
12042 * win32/build_pcb: add a --with-tex and --with-etex to work around
12043 some cygwin/tex bugs
12045 2008-01-31 Dan McMahill * dan AT mcmahill dot net *
12047 * win32/pcb.nsi.in: fix the start menu shortcut icon
12049 2008-01-31 Dan McMahill * dan AT mcmahill dot net *
12051 * win32/build_pcb: use tr to kill the extra \r that end up in the
12052 Makefiles courtesy of pkg-config. This builds all but the docs on
12055 2008-01-31 Dan McMahill * dan AT mcmahill dot net *
12057 * src/hid/gtk/gtkhid-main.c, src/hid/gtk/gtkhid.h,
12058 src/hid/gtk/gui-top-window.c: avoid segfaults on loading certain
12059 boards from the command line. This patch introduces a flag that
12060 indicates when the gui is up and calls to ghid_shift_is_pressed()
12061 and ghid_control_is_pressed() can proceed as normal.
12063 2008-01-30 Dan McMahill * dan AT mcmahill dot net *
12065 * win32/extract_gtk_win32: clean up a comment
12067 2008-01-30 Dan McMahill * dan AT mcmahill dot net *
12069 * win32/build_pcb, win32/extract_gtk_win32, win32/pcb.nsi.in: copy
12070 over build_pcb improvements from gerbv. Add gdwin32 to the extract
12073 2008-01-30 Dan McMahill * dan AT mcmahill dot net *
12075 * win32/Makefile.am, win32/extract_gtk_win32, win32/pcb.nsi.in: add
12076 script to help setup build environmnet. Also add all the various
12077 licenses to the installer.
12079 2008-01-29 Peter Clifton * pcjc2 AT cam dot ac dot uk *
12081 * icon-theme-installer: Fix bug in icon-theme-installer where the
12082 -?? size was not stripped from the installed icon name.
12084 2008-01-28 Dan McMahill * dan AT mcmahill dot net *
12086 * src/flags.c, src/gpcb-menu.res, src/pcb-menu.res: Repair the
12087 buffer # menus by changing CheckedWhen() to checked=. As part of
12088 this, added a buffer flag.
12090 2008-01-22 Dan McMahill * dan AT mcmahill dot net *
12092 * src/hid/gtk/gui-misc.c, src/hid/gtk/gui-utils.c,
12093 src/hid/gtk/gui.h: add a bunch of const fixups from Larry Doolittle.
12095 2008-01-22 Dan McMahill * dan AT mcmahill dot net *
12097 * src/find.c: After we run DRC, force a redraw since we've possibly
12098 turned on and off layers (like silk). Should address SF bug
12101 2008-01-16 Dan McMahill * dan AT mcmahill dot net *
12103 * autogen.sh: drop the intltool required version to 0.35 as that
12106 2008-01-16 Dan McMahill * dan AT mcmahill dot net *
12108 * Makefile.am, configure.ac, data/Makefile.am, icon-theme-installer:
12109 check for gtk-update-icon-cache and use it. For distcheck, disable
12110 that via setting the GTK_UPDATE_ICON_CACHE_BIN to 'true' to avoid
12111 creating a cache file which then is not removed. A better way would
12112 probably be a uninstall hook which noticed that it was a distcheck
12113 uninstall and simply removed the file.
12115 2008-01-16 Dan McMahill * dan AT mcmahill dot net *
12117 * doc/actions.texi: regen
12119 2008-01-16 Dan McMahill * dan AT mcmahill dot net *
12121 * win32/Makefile.am: remove deprecated icon generation code
12123 2008-01-15 Dan McMahill * dan AT mcmahill dot net *
12127 2008-01-15 Dan McMahill * dan AT mcmahill dot net *
12129 * data/regen_files: add some help output, add options to only do the
12130 .png's or the .ico, check for imagemagick and netpbm.
12132 2008-01-15 Dan McMahill * dan AT mcmahill dot net *
12134 * configure.ac, src/Makefile.am, win32/Xdefaults.tgif,
12135 win32/pcb_icon_big.obj, win32/pcb_icon_med.obj,
12136 win32/pcb_icon_sml.obj: Use the same icons for windows as in the
12137 kde/gnome desktop. Remove the old windows icons which were really
12138 placeholders anyway. Remove the rules for regenerating these
12141 2008-01-15 Dan McMahill * dan AT mcmahill dot net *
12143 * doc/Xdefaults.tgif: this file is no longer used. The drawings for
12144 the documentation are drawn with pcb.
12146 2008-01-15 Dan McMahill * dan AT mcmahill dot net *
12148 * doc/pcb.man.in, doc/pcb.man.raw: remove some old and very obsolete
12151 2008-01-15 Dan McMahill * dan AT mcmahill dot net *
12153 * data/Makefile.am, icon-theme-installer: Remove the use of
12154 #!/bin/bash for the benefit of systems which don't install bash in
12155 /bin. In the Makefile, call out the name of the shell to help
12156 systems like solaris where it is more likely that SHELL will be
12157 /bin/ksh instead of the broken solaris /bin/sh
12159 2008-01-15 Dan McMahill * dan AT mcmahill dot net *
12161 * autogen.sh: Check for the version of intltool. Also apply some
12162 fixups to the po/Makefile.in.in file created by intltoolize.
12164 2008-01-15 Dan McMahill * dan AT mcmahill dot net *
12166 * src/autoroute.c: fix an unitialized variable
12168 2008-01-15 Dan McMahill * dan AT mcmahill dot net *
12170 * src/edif.y, src/hid/lesstif/menu.c: fix a few gcc4 warnings
12172 2008-01-15 Dan McMahill * dan AT mcmahill dot net *
12174 * Makefile.am: skip adding m4/ChangeLog to the distfile. It seems
12175 to be installation dependent
12177 2008-01-14 Dan McMahill * dan AT mcmahill dot net *
12179 * Makefile.am: it helps if we build libintl before using it...
12181 2008-01-14 Dan McMahill * dan AT mcmahill dot net *
12183 * configure.ac: add missing $INTLLIBS to LIBS. Fixes building with
12186 2008-01-13 Dan McMahill * dan AT mcmahill dot net *
12188 * configure.ac, src/hid/gtk/gui-top-window.c: check for and include
12189 locale.h. Should fix solaris build problems.
12191 2008-01-13 Dan McMahill * dan AT mcmahill dot net *
12193 * mkinstalldirs: remove generated file. This comes from the
12194 ./autogen.sh bootstrap
12196 2008-01-12 Peter Clifton * pcjc2 AT cam dot ac dot uk *
12198 * data/regen_files: Fix script to regenerate icon files, including
12199 mask channel for windows icons.
12201 2008-01-12 Dan McMahill * dan AT mcmahill dot net *
12203 * autogen.sh: put in a check for autopoint version
12205 2008-01-11 Dan McMahill * dan AT mcmahill dot net *
12207 * data/README: note the regen_files script
12209 2008-01-11 Dan McMahill * dan AT mcmahill dot net *
12211 * data/regen_files: hopefully fix a few minor bugs in inkscape
12214 2008-01-11 Dan McMahill * dan AT mcmahill dot net *
12216 * data/Makefile.am, data/regen_files: add windows icon and script to
12219 2008-01-11 DJ Delorie * dj AT delorie dot com *
12221 * src/polygon1.c: Strict aliasing patch from Larry Doolittle.
12223 2008-01-11 Dan McMahill * dan AT mcmahill dot net *
12225 * lib/geda.inc: fix pincount for MSOP10
12227 2008-01-11 Dan McMahill * dan AT mcmahill dot net *
12229 * src/hid/batch/.cvsignore, src/hid/bom/.cvsignore,
12230 src/hid/common/.cvsignore, src/hid/gerber/.cvsignore,
12231 src/hid/gtk/.cvsignore, src/hid/lesstif/.cvsignore,
12232 src/hid/lpr/.cvsignore, src/hid/nelma/.cvsignore,
12233 src/hid/png/.cvsignore, src/hid/ps/.cvsignore: add .dirstamp
12235 2008-01-11 Peter Clifton * pcjc2 AT cam dot ac dot uk *
12237 * lib/gtag.m4: Fix typo in gtag.m4 file
12239 2008-01-10 Peter Clifton * pcjc2 AT cam dot ac dot uk *
12241 * configure.ac, src/Makefile.am, src/hid/gtk/gui.h, src/main.c:
12242 Activate gettext support in PCB by setting up the domain and locale
12245 2008-01-10 Peter Clifton * pcjc2 AT cam dot ac dot uk *
12247 * data/pcb.desktop.in: Add application/x-pcb-footprint to the
12248 mime-types PCB will be launched for
12250 2008-01-10 Peter Clifton * pcjc2 AT cam dot ac dot uk *
12252 * data/pcb.xml.in: Add an attempt at a glob pattern to match PCB
12253 footprints Searches for the string "Element[" starting between and offset of 0
12254 and 20 bytes into the file.
12256 2008-01-10 Peter Clifton * pcjc2 AT cam dot ac dot uk *
12258 * data/pcb.desktop.in: Fix mime type registered to open PCB to
12259 application/x-pcb-layout
12261 2008-01-10 Peter Clifton * pcjc2 AT cam dot ac dot uk *
12263 * data/Makefile.am: Fix data/Makefile.am where xdgdir was used
12264 instead of xdgdatadir
12266 2008-01-10 Peter Clifton * pcjc2 AT cam dot ac dot uk *
12268 * Makefile.am: Add intltool-XXX.in to EXTRA_DIST and add appropriate
12271 2008-01-10 Peter Clifton * pcjc2 AT cam dot ac dot uk *
12273 * Makefile.am, icon-theme-installer: Add missed icon-theme-installer
12274 script required for installing icons
12276 2008-01-10 Peter Clifton * pcjc2 AT cam dot ac dot uk *
12278 * Makefile.am: Add make distcheck ./configure flag
12279 --disable-desktop-database Ensures cache files won't be left during make distcheck which could
12280 break the distcheck.
12282 2008-01-10 Dan McMahill * dan AT mcmahill dot net *
12284 * win32/.cvsignore: add missing cvsignore
12286 2008-01-10 Dan McMahill * dan AT mcmahill dot net *
12288 * src/hid/common/.cvsignore: add hidlist.h
12290 2008-01-10 Dan McMahill * dan AT mcmahill dot net *
12292 * .cvsignore, src/.cvsignore, src/hid/.cvsignore,
12293 src/hid/batch/.cvsignore, src/hid/bom/.cvsignore,
12294 src/hid/common/.cvsignore, src/hid/gerber/.cvsignore,
12295 src/hid/gtk/.cvsignore, src/hid/lesstif/.cvsignore,
12296 src/hid/lpr/.cvsignore, src/hid/nelma/.cvsignore,
12297 src/hid/png/.cvsignore, src/hid/ps/.cvsignore, src/icons/.cvsignore:
12298 add a cvsignore file
12300 2008-01-10 Dan McMahill * dan AT mcmahill dot net *
12302 * data/README: fix a typo
12304 2008-01-10 Dan McMahill * dan AT mcmahill dot net *
12306 * Makefile.am, configure.ac: wire in the desktop stuff
12308 2008-01-10 Peter Clifton * pcjc2 AT cam dot ac dot uk *
12310 * src/Makefile.am, src/gpcb-menu.res, src/hid/gtk/gui-config.c,
12311 src/hid/gtk/gui-library-window.c, src/hid/gtk/gui-library-window.h,
12312 src/hid/gtk/gui.h: Change library window to give a preview and
12313 filterable list of components. Code for the libarary window is based on x_compselect.c from
12314 gEDA/gaf's gschem schematic editor, and the libray window code
12315 pre-existing in PCB. Also added a shortcut "i" to the library window, matching gschem's
12316 insert component shortcut.
12318 2008-01-10 Peter Clifton * pcjc2 AT cam dot ac dot uk *
12320 * configure.ac, po/LINGUAS, po/POTFILES.in: Ensure GETTEXT_PACKAGE
12321 is set, and add missing LINGUAS and POTFILES.in files.
12323 2008-01-10 Dan McMahill * dan AT mcmahill dot net *
12325 * Makefile.am, README.cvs, autogen.sh, configure.ac: add i18n
12328 2008-01-10 Peter Clifton * pcjc2 AT cam dot ac dot uk *
12330 * data/Makefile.am: Add Makefile.am for data dir, with rules to
12331 install icons and desktop data
12333 2008-01-10 Peter Clifton * pcjc2 AT cam dot ac dot uk *
12335 * data/pcb.desktop.in: Commit pcb.desktop.in template menu file for
12338 2008-01-10 Peter Clifton * pcjc2 AT cam dot ac dot uk *
12340 * data/pcb.xml.in, data/x-excellon.desktop.in,
12341 data/x-gerber.desktop.in, data/x-pcb-footprint.desktop.in,
12342 data/x-pcb-layout.desktop.in, data/x-pcb-netlist.desktop.in: Check
12343 in KDE mimelnk .desktop.in and XDG pcb.xml.in MIME registrations Files are annotated suitably for translation with intltool
12345 2008-01-10 Peter Clifton * pcjc2 AT cam dot ac dot uk *
12347 * data/README, data/application-x-excellon-16.svg,
12348 data/application-x-excellon-22.svg,
12349 data/application-x-excellon-32.svg,
12350 data/application-x-excellon-48.svg,
12351 data/application-x-excellon.svg, data/application-x-gerber-16.svg,
12352 data/application-x-gerber-22.svg, data/application-x-gerber-32.svg,
12353 data/application-x-gerber-48.svg, data/application-x-gerber.svg,
12354 data/application-x-pcb-footprint-16.svg,
12355 data/application-x-pcb-footprint-22.svg,
12356 data/application-x-pcb-footprint-32.svg,
12357 data/application-x-pcb-footprint-48.svg,
12358 data/application-x-pcb-footprint.svg,
12359 data/application-x-pcb-layout-16.svg,
12360 data/application-x-pcb-layout-22.svg,
12361 data/application-x-pcb-layout-32.svg,
12362 data/application-x-pcb-layout-48.svg,
12363 data/application-x-pcb-layout.svg,
12364 data/application-x-pcb-netlist-16.svg,
12365 data/application-x-pcb-netlist-22.svg,
12366 data/application-x-pcb-netlist-32.svg,
12367 data/application-x-pcb-netlist-48.svg,
12368 data/application-x-pcb-netlist.svg, data/pcb.svg: Check in MIME and
12369 app icons along with a README with origins and copyright
12371 2008-01-08 Peter Clifton * pcjc2 AT cam dot ac dot uk *
12373 * configure.ac, src/dbus-pcbmain.c: Avoid using deprecated
12374 dbus_watch_get_fd() in newer dbus versions. Use a configure test (copied from PulseAudio) for the newer API,
12375 dbus_watch_get_unix_fd(), and use that if available.
12377 2008-01-08 Dan McMahill * dan AT mcmahill dot net *
12379 * src/polygon1.c: add a FIXME comment
12381 2008-01-08 Peter Clifton * pcjc2 AT cam dot ac dot uk *
12383 * src/Makefile.am, src/hid/gtk/gtkhid-main.c,
12384 src/hid/gtk/gui-pinout-preview.c, src/hid/gtk/gui-pinout-preview.h,
12385 src/hid/gtk/gui-pinout-window.c, src/hid/gtk/gui.h: Refactored
12386 pinout preview code into a new widget, GhidPinoutPreview In the refactoring, fix a bug where if the pinout window was larger
12387 than the PCB window's viewport, elements in the preview were clipped
12388 to the viewport size. In a break from the old behaviour, the previewed element is centered
12389 in the preview area.
12391 2008-01-07 Dan McMahill * dan AT mcmahill dot net *
12393 * src/hid/gtk/gui-misc.c, src/hid/gtk/gui-output-events.c: remove a
12394 handful of strict aliasing rule violation warnings generate by gcc4
12396 2008-01-07 Dan McMahill * dan AT mcmahill dot net *
12398 * src/parse_l.l, src/res_lex.l: avoid some 'defined but not used'
12401 2008-01-07 Dan McMahill * dan AT mcmahill dot net *
12403 * src/autoroute.c, src/hid/nelma/nelma.c, src/misc.c: clear out a
12404 few more compiler warnings
12406 2008-01-07 Dan McMahill * dan AT mcmahill dot net *
12408 * src/gpcb-menu.res: remove some duplicated entries and remove some
12409 conflicting hot keys.
12411 2008-01-07 Dan McMahill * dan AT mcmahill dot net *
12413 * src/hid/gtk/gui-top-window.c: be a little smarter about parsing
12414 the hotkey parts of the menu resource file. Now give a sane message
12415 instead of segfaulting on a malformed input. Also check for
12416 duplicate hot keys and drop the duplicates with a message.
12418 2008-01-06 Dan McMahill * dan AT mcmahill dot net *
12420 * src/hid/gtk/gui-output-events.c: correctly scale the step sizes
12421 for scroll bar scrolling of the main drawing area. This addresses
12422 the "scoll bars scroll by tiny tiny steps" part of sf bug [ 1796016
12423 ] Cursor/scrolling madness
12425 2008-01-06 Dan McMahill * dan AT mcmahill dot net *
12427 * doc/Makefile.am: add some extra dependencies to get this working
12428 with parallel make jobs.
12430 2008-01-06 Dan McMahill * dan AT mcmahill dot net *
12432 * configure.ac: add min version for automake
12434 2008-01-06 Dan McMahill * dan AT mcmahill dot net *
12436 * configure.ac: specify the minimum autoconf version
12438 2008-01-06 Dan McMahill * dan AT mcmahill dot net *
12440 * Makefile.in, README.cvs, README_FILES/Makefile.in, aclocal.m4,
12441 config.h.in, configure, doc/Makefile.in, doc/actions.texi,
12442 doc/pcbfile.texi, doc/version.texi, example/Makefile.in,
12443 example/libraries/Makefile.in, lib/Makefile.in,
12444 newlib/2_pin_thru-hole_packages/Makefile.in, newlib/Makefile.in,
12445 newlib/analog-devices/Makefile.in, newlib/burr-brown/Makefile.in,
12446 newlib/connectors/Makefile.in, newlib/crystal/Makefile.in,
12447 newlib/electro-optics/Makefile.in, newlib/headers/Makefile.in,
12448 newlib/keystone/Makefile.in, newlib/msp430/Makefile.in,
12449 newlib/not_vetted_ingo/Makefile.in, newlib/sockets/Makefile.in,
12450 newlib/tests/Makefile.in, src/Makefile.in, src/icons/Makefile.in,
12451 tools/Makefile.in, tutorial/Makefile.in, win32/Makefile.in: remove a
12452 bunch of autotools generated files and update the instructions for
12453 building from cvs accordingly.
12455 2008-01-06 Dan McMahill * dan AT mcmahill dot net *
12457 * src/hid/png/png.c: before exporting png, clear out any existing
12458 color or brush cache. They are stale. Should fix sf bug [ 1807726 ] png HID exports transparent copper
12461 2008-01-06 Dan McMahill * dan AT mcmahill dot net *
12463 * src/hid/png/png.c: apply the patch provided in sf bug [ 1792119 ]
12464 Slanted squared pads: png output which corrects the drawing of non
12465 90-deg square cap lines in the png output.
12467 2008-01-05 Dan McMahill * dan AT mcmahill dot net *
12469 * src/Makefile.am, src/action.c, src/edif.y, src/edif_parse.h,
12470 src/file.c, src/file.h: add the ability to load edif netlists
12471 provided in sf patch [ 1516885 ] added edif netlist import by Jeff
12474 2008-01-05 Dan McMahill * dan AT mcmahill dot net *
12476 * src/hid/gtk/gtkhid-main.c, src/hid/gtk/gui-dialog.c: remove some
12479 2008-01-05 Dan McMahill * dan AT mcmahill dot net *
12481 * src/hid/gtk/gtkhid-main.c, src/hid/gtk/gui-dialog.c,
12482 src/hid/gtk/gui.h: fix a bug where sometimes the confirm dialog had
12483 corrupt button names.
12485 2008-01-05 Dan McMahill * dan AT mcmahill dot net *
12487 * src/action.c: apply the patch provided in sf bug [ 1850097 ] Grid
12488 off by 1 after setting to 1
12490 2008-01-05 Dan McMahill * dan AT mcmahill dot net *
12492 * src/hid/gtk/gtkhid-main.c: apply a patch provided in sf bug [
12493 1840422 ] GTK HID panning bug. Keeps the scroll bars in sync when
12494 the display is panned.
12496 2008-01-05 DJ Delorie * dj AT delorie dot com *
12498 * src/hid/common/actions.c: Re-initialize num so that multiple
12499 actions will be parsed properly.
12501 2008-01-05 Dan McMahill * dan AT mcmahill dot net *
12503 * src/hid/gtk/gtkhid-main.c: remove some code from set_cursor() that
12504 tries to limit the cursor position in a way which seems to cause
12505 spurious scrolling in a number of situations. Should hopefully fix sf bug [ 1796016 ] Cursor/scrolling madness
12507 2008-01-05 Dan McMahill * dan AT mcmahill dot net *
12509 * src/hid/gtk/gui-top-window.c: update a comment
12511 2008-01-04 Dan McMahill * dan AT mcmahill dot net *
12513 * src/buffer.c: Allow the conversion of a selection which contains
12514 only silk to an element instead of requiring a pad or pin. Useful
12515 for logos. Requested in sf bug [ 1820380 ] convert-to-element requires at least
12518 2008-01-04 Dan McMahill * dan AT mcmahill dot net *
12520 * configure.ac: add missing check for texi2dvi. sf bug [ 1840645 ] texi2dvi: Missing configure check
12522 2008-01-04 Dan McMahill * dan AT mcmahill dot net *
12524 * src/hid/ps/ps.c: Add an option that turns off the scale and file
12525 name in the postscript output. This is useful when trying to do a
12526 toner transfer or print transparencies that use the whole page. Requested in sf bug [ 1858547 ] unwanted text lines in printouts
12527 makes these useless
12529 2008-01-04 Dan McMahill * dan AT mcmahill dot net *
12531 * src/find.c, src/hid/gtk/gtkhid-main.c, src/hid/gtk/gui-dialog.c,
12532 src/hid/gtk/gui.h: Apply sf patch [ 1848465 ] brief error info in
12533 "DRC continue" dialog While here, add some missing bits of code in the dialog_confirm
12534 function for the gtk hid that lets you specify the ok and cancel
12537 2008-01-04 Dan McMahill * dan AT mcmahill dot net *
12539 * src/hid/gtk/gui-top-window.c: fix a printf format string compiler
12542 2008-01-04 Dan McMahill * dan AT mcmahill dot net *
12544 * src/action.c, src/file.c, src/hid/gerber/gerber.c, src/misc.c: add
12545 some casts to silence some gcc4 warnings
12547 2008-01-04 Dan McMahill * dan AT mcmahill dot net *
12549 * lib/geda.inc, lib/qfpdj.inc: apply sf patch 1784721 to move the
12550 QFP footprints to 0.01 mil resolution. Also the remaining SO
12551 packages have been moved to the hi-res format. Minor corrections to the patch by me.
12553 2008-01-03 Dan McMahill * dan AT mcmahill dot net *
12555 * lib/Makefile.am, lib/Makefile.in, lib/png_diff.sh: add a utility
12556 script for comparing .png's of an entire footprint library.
12558 2008-01-03 Dan McMahill * dan AT mcmahill dot net *
12560 * lib/m4lib_to_newlib.sh.in: add a -d|--dpi flag to use a fixed
12561 scale factor for the exported png files
12563 2008-01-03 Ben Jackson * ben AT ben dot com *
12565 * src/parse_y.y: Temporarily change PCB=yyPCB while InitClip after
12566 load (similar hacks exist in other load code)
12568 2008-01-03 Dan McMahill * dan AT mcmahill dot net *
12570 * lib/qfpdj.inc: add missing PKG_QFP_40
12572 2008-01-03 Dan McMahill * dan AT mcmahill dot net *
12574 * src/hid/gtk/gui-config.c, src/hid/gtk/gui-top-window.c: apply
12575 patch 1852864 GTK HID: scrolled layer preferences To enable a
12576 scroll window for the layers. This is needed if the user uses more
12577 than 8 or so layers.
12579 2008-01-02 Dan McMahill * dan AT mcmahill dot net *
12581 * src/hid/bom/bom.c: Fix a problem with the X-Y output file where
12582 the y values were mirrored and offset with respect to the RS274-X
12583 output. Given that this bug has been here since the code was
12584 written 3 years ago, I conclude that in fact no one has used this
12587 2007-12-26 Dan McMahill * dan AT mcmahill dot net *
12589 * src/lrealpath.c: change the preprocessor logic a bit to avoid
12590 #ifdef-ing in code that will never be reached.
12592 2007-12-26 Dan McMahill * dan AT mcmahill dot net *
12594 * src/puller.c: add a couple of casts to make pointer compares work
12595 on identical pointer types.
12597 2007-12-26 DJ Delorie * dj AT delorie dot com *
12599 * src/hid/png/png.c: Fix some off-by-one bugs.
12601 2007-12-26 Dan McMahill * dan AT mcmahill dot net *
12603 * src/puller.c: get rid of a handful of compiler warnings (printf
12604 format strings, and unused variables).
12606 2007-12-22 DJ Delorie * dj AT delorie dot com *
12608 * src/hid/lesstif/netlist.c: Cast parameters to right type.
12610 2007-12-21 Dan McMahill * dan AT mcmahill dot net *
12612 * lib/geda.inc: add 10x10mm TQFP64, 12x12mm TQFP80, and 12x12mm
12615 2007-12-19 Dan McMahill * dan AT mcmahill dot net *
12617 * lib/connector.inc: make sure both rows of CONNECTOR_DIL use 38 mil
12618 pins. Noted on geda-user by Michael Stovenour
12620 2007-12-19 DJ Delorie * dj AT delorie dot com *
12622 * src/hid/lesstif/dialogs.c: Resolve some const-cast issues.
12624 2007-12-18 DJ Delorie * dj AT delorie dot com *
12626 * lib/geda.inc: Add TSSOP14 and TSSOP16
12628 2007-12-13 Dan McMahill * dan AT mcmahill dot net *
12630 * lib/plcc.inc: fix a few more cases of = being used where == was
12633 2007-12-13 Dan McMahill * dan AT mcmahill dot net *
12635 * lib/plcc.inc: use == instead of = for testing equality. Gets rid
12636 of a bunch of warnings. Verified that pcblib-newlib contents did
12637 not change with this commit.
12639 2007-12-11 DJ Delorie * dj AT delorie dot com *
12641 * src/gpcb-menu.res, src/pcb-menu.res: Various changes from Kai;
12642 cut-copy swap for lesstif.
12644 2007-12-11 Peter Clifton * pcjc2 AT cam dot ac dot uk *
12646 * : Forced checkin with no changes due to missed log entry from in
12647 commit Initialise static variables x_prev and y_prev in
12648 ghid_port_window_motion_cb() to -1, to avoid the (unlikely) case
12649 they are used initialised.
12651 2007-12-10 DJ Delorie * dj AT delorie dot com *
12653 * src/hid/gtk/gui-output-events.c: Fix enter/leave logic to avoid
12654 leaving obsolete crosshair-attached elements on the screen when the
12655 cursor leaves the working area.
12657 2007-12-10 Ben Jackson * ben AT ben dot com *
12659 * src/hid/lesstif/main.c, src/pcb-menu.res: Add Zoom(Toggle) and
12660 bind it to ` (backtick). Fix all warnings in hid/lesstif/main.c
12662 2007-12-10 Ben Jackson * ben AT ben dot com *
12664 * src/draw.c: Make 'outline' layer test case-insensitive to match
12667 2007-12-10 Ben Jackson * ben AT ben dot com *
12669 * src/draw.c: Add gross hack to avoid using mask in DrawRats() for
12670 othet than lesstif HID, as lesstif and gtk provide different
12671 capabilities in CLEAR mode.
12673 2007-12-10 Ben Jackson * ben AT ben dot com *
12675 * src/draw.c, src/hid/lesstif/main.c, src/hid/lesstif/xincludes.h:
12676 Add XRENDER support to the Lesstif HID. Rat lines and soldermasks
12677 are now displayed at 50% intensity on top of other drawn elements.
12679 2007-12-09 Ben Jackson * ben AT ben dot com *
12681 * configure: Rebuild with 2.61
12683 2007-12-09 DJ Delorie * dj AT delorie dot com *
12685 * config.h.in, configure, configure.ac: Check for Xrender library.
12687 2007-12-08 Harry Eaton * haceaton AT users dot sourceforge dot net *
12689 * src/polygon1.c: Sometimes single-point touching will leave no
12690 starting point on the 'A' pline for an ISECTED contour. Check for
12691 starting points on the 'B' pline (only at the point of intersection)
12692 just in case it has a valid starting point.
12694 2007-12-04 Ben Jackson * ben AT ben dot com *
12696 * src/hid/png/png.c: ignore paste layers when exporting 'as shown':
12697 Correct logic for silk display; Add logic for mask display ignore
12698 soldermask layers for normal output add option to make
12699 background/erasures transparent
12701 2007-12-03 Ben Jackson * ben AT ben dot com *
12703 * src/crosshair.c: Avoid moving elements snapping to their own pins
12704 or pads. Don't snap moving vias to any kind of pins (they can't
12707 2007-12-03 Ben Jackson * ben AT ben dot com *
12709 * src/action.c: Don't create empty text objects.
12711 2007-12-02 Ben Jackson * ben AT ben dot com *
12713 * src/misc.c, src/polygon.c: Data->LayerN should generally be
12714 avoided. It's not initialized for buffers. All buffers should have
12715 max_layer available (which is a macro for PCB->Data->LayerN, the
12716 number of layers in the current board).
12718 2007-12-02 Ben Jackson * ben AT ben dot com *
12720 * src/action.c: Partial fix? [ 1775101 ] Undo with the line tool
12721 sometimes switches to wrong node If you auto-drc and you extend a
12722 line (causing a delete and re-add of a longer line), then undo, this
12723 patch ensures the restored short segment has FOUNDFLAG so you can
12726 2007-12-02 Ben Jackson * ben AT ben dot com *
12728 * src/macro.h, src/move.c: Fix [ 1820398 ] Inconsistant vias with
12729 move-to-layer Add explicit check for silk layer when making vias due
12732 2007-12-02 Ben Jackson * ben AT ben dot com *
12734 * src/action.c: Fix [ 1836169 ] undo of shift-paste element
12735 replacement broken Code was "stealing" the original name memory
12736 before removing it, so the element went into the undo buffer
12737 nameless. Copy string instead.
12739 2007-12-02 Ben Jackson * ben AT ben dot com *
12741 * src/action.c: Fix [ 1836172 ] shift-create two vias, undo twice,
12742 internal error Caused by my addition of shift-click vias -- the new
12743 via undo was happening before the new flag undo.
12745 2007-12-02 Ben Jackson * ben AT ben dot com *
12747 * src/buffer.c: Missed a spot when adding 'clearlineflag' support to
12748 Text. Also Fixed a bug in movearctobuffer
12750 2007-11-30 DJ Delorie * dj AT delorie dot com *
12752 * src/hid/gtk/gtkhid-main.c, src/hid/lesstif/dialogs.c,
12753 src/hid/ps/ps.c: Fix printer calibration.
12755 2007-11-30 DJ Delorie * dj AT delorie dot com *
12757 * src/gpcb-menu.res, src/pcb-menu.res: Add 50 mil grid setting. Add
12758 global puller submenu.
12760 2007-11-30 Ben Jackson * ben AT ben dot com *
12762 * src/action.c: Fix a typo. Do not use grid size for
12763 Connection(Find) search radius
12765 2007-11-30 DJ Delorie * dj AT delorie dot com *
12767 * src/hid/lesstif/menu.c: Attach the show soldermask layer button to
12770 2007-11-30 Ben Jackson * ben AT ben dot com *
12772 * src/polygon.c: In case 'biggest()' polygon is 0 area, init size =
12775 2007-11-27 Ben Jackson * ben AT ben dot com *
12777 * src/rats.c: Fix two bugs in my via-rats patch: 1) Certain combinations of objects (presumably rare!) could lead to
12778 a crash. 2) Fix a cut/paste error where the wrong coordinate was tested.
12779 Add explanatory comment.
12781 2007-11-25 DJ Delorie * dj AT delorie dot com *
12783 * src/puller.c: Add global puller.
12785 2007-11-25 DJ Delorie * dj AT delorie dot com *
12787 * src/hid/lesstif/main.c: Draw arc start/end radii in separate
12788 colors, and dotted, if enabled.
12790 2007-11-25 DJ Delorie * dj AT delorie dot com *
12792 * src/draw.c, src/draw.h: Export DrawLayer() for the ps exporter.
12794 2007-11-25 DJ Delorie * dj AT delorie dot com *
12796 * src/hid/ps/ps.c: Draw outline layer on all other copper layers
12797 when "draw outline" is selected. Make alignment marks less
12798 obtrusive. Make drill helpers half the board's minimum drill size,
12799 not twice PCB's minimum drill size. Include commented out helpers
12800 for brass paste stencil etching.
12802 2007-11-25 DJ Delorie * dj AT delorie dot com *
12804 * src/undo.c: Don't just clean out RemoveList, free it, so it's
12805 created properly later.
12807 2007-11-25 Ben Jackson * ben AT ben dot com *
12809 * src/polyarea.h: Add some prototypes for global functions returning
12810 double that will confuse the heck out of you if treated as returning
12813 2007-11-24 DJ Delorie * dj AT delorie dot com *
12815 * src/hid/lesstif/netlist.c: Don't crash if a scanned element has no
12818 2007-11-24 DJ Delorie * dj AT delorie dot com *
12820 * src/hid/lesstif/library.c: lesstif_show_library: Don't reset the
12821 dialog when we're just re-displaying it.
12823 2007-11-24 Ben Jackson * ben AT ben dot com *
12825 * src/action.c: Apply [ 1726201 ] SaveTo(PasteBuffer.file) for
12826 footprint creation with cleanups (original patch from Christian
12827 Riggenbach - gizmotron)
12829 2007-11-23 Ben Jackson * ben AT ben dot com *
12831 * src/actionlist.c: Remove obsolete (generated, even!) file
12833 2007-11-23 Ben Jackson * ben AT ben dot com *
12835 * src/gpcb-menu.res, src/pcb-menu.res: Change all the GetXY prompts
12836 for greater clarity.
12838 2007-11-23 Ben Jackson * ben AT ben dot com *
12840 * src/hid/gtk/gui-config.c: Apply patch [ 1835365 ] Fix for [
12841 1820385 ] Can't close the preference dialog from denis77
12843 2007-11-23 Ben Jackson * ben AT ben dot com *
12845 * src/autoroute.c: LIST_LOOP works on circular lists, but at least
12846 some code will produce a head pointer of NULL for an empty list,
12847 causing LIST_LOOP to crash. Since I'm not sure which is the bug, I
12848 changed LIST_LOOP to assert() on a NULL list head and skip the loop.
12849 With assert disabled, the loop becomes a no-op, which seems
12852 2007-11-23 DJ Delorie * dj AT delorie dot com *
12854 * src/search.c, src/search.h: Additional slanted-pad patch for
12857 2007-11-22 DJ Delorie * dj AT delorie dot com *
12859 * src/hid/lesstif/styles.c: Update the status line even when we
12860 don't have a styles dialog.
12862 2007-11-19 DJ Delorie * dj AT delorie dot com *
12864 * src/report.c: Add annulus and mask gap to pin/via report.
12866 2007-11-19 Dan McMahill * dan AT mcmahill dot net *
12868 * configure, configure.ac: add a missing AC_MSG_RESULT in the
12869 makeinfo version test. Patch from Peter Brett. While here, remove
12870 a bashism (== vs =).
12872 2007-11-18 DJ Delorie * dj AT delorie dot com *
12874 * globalconst.h: Expand min/max values.
12876 2007-11-14 DJ Delorie * dj AT delorie dot com *
12878 * src/misc.c, src/parse_y.y: Fix pin bound calculations based on new
12879 thermal calculations.
12881 2007-11-12 DJ Delorie * dj AT delorie dot com *
12883 * src/crosshair.c: Snap to pin/pads whenever we're within the
12884 pin/pad copper, unless shift is pressed, then snap to the nearest
12885 grid point if it's closer.
12887 2007-11-12 DJ Delorie * dj AT delorie dot com *
12889 * src/hid/common/hidnogui.c: Don't complain about checking the shift
12890 key when exporting pngs from the command line.
12892 2007-11-12 Ben Jackson * ben AT ben dot com *
12894 * src/buffer.c: Fix bugs intoduced by revision 1.41 while preserving
12897 2007-11-10 DJ Delorie * dj AT delorie dot com *
12899 * lib/connector.inc: Reduce silk width of connector/header/jumpers
12900 (some fabs clip it to the pads) to be similar to other elements.
12902 2007-11-10 DJ Delorie * dj AT delorie dot com *
12904 * lib/qfpdj.inc, lib/smt.inc: Move silk away from pads. Fix notch
12907 2007-11-05 Dan McMahill * dan AT mcmahill dot net *
12909 * lib/geda.inc: fix DIN41651_20 and DIN41651_20S. Those are 20 pin
12910 footprints not 10 pin footprints. Reported by Marshall Jose.
12912 2007-11-04 Ben Jackson * ben AT ben dot com *
12914 * src/change.c, src/change.h, src/move.c, src/polygon.c,
12915 src/rotate.c, src/strflags.c: Add support for clearing text from
12916 polygons. Text with the clearline flag (set with the J key by
12917 default, just like lines and arcs) will have a rounded rectangle
12918 hole cut in any overlapping polygons.
12920 2007-11-04 Ben Jackson * ben AT ben dot com *
12922 * src/action.c: Shift-click with the via tool to connect it to the
12923 current layer as you place it.
12925 2007-11-04 Ben Jackson * ben AT ben dot com *
12927 * src/hid/lesstif/netlist.c, src/netlist.c, src/rats.h: Plumb the
12928 NetlistShow() hid action in lesstif. Takes a pin name or a net name
12929 and sets the current selection in the netlist window. Does not pop
12932 2007-11-02 Dan McMahill * dan AT mcmahill dot net *
12934 * configure, doc/actions.texi, doc/version.texi: regen
12936 2007-11-02 DJ Delorie * dj AT delorie dot com *
12938 * src/draw.c: Properly thin-draw slanted pads.
12940 2007-11-02 DJ Delorie * dj AT delorie dot com *
12942 * src/find.c, src/polygon.c, src/search.c, src/search.h: Fixes for
12943 DRC of slanted pads. Tracker bug 1791388 and patch 1791392.
12945 2007-11-02 DJ Delorie * dj AT delorie dot com *
12947 * src/draw.c: Don't draw pins/holes on the outline layer. Include
12948 commented-out code to put board outline on mask layers, for fabs
12951 2007-11-02 Dan McMahill * dan AT mcmahill dot net *
12953 * src/action.c, src/buffer.c, src/hid/gtk/gui-output-events.c,
12954 src/hid/gtk/gui-top-window.c, src/select.c: fix some compiler
12957 2007-11-02 Dan McMahill * dan AT mcmahill dot net *
12959 * configure.ac: Improve the robustness of the makeinfo version test.
12960 Patch provided by Peter Brett.
12962 2007-11-02 Dan McMahill * dan AT mcmahill dot net *
12964 * src/hid/gtk/gui-top-window.c: Don't segfault when clicking the top
12965 right button which toggles units. Problem noted by and solution
12966 provided by Christian Riggenbach.
12968 2007-10-24 Ben Jackson * ben AT ben dot com *
12970 * src/search.c: Treat VIAFLAG rats (displayed as donuts) as round
12971 targets, not as the invisible lines they are internally.
12973 2007-10-23 DJ Delorie * dj AT delorie dot com *
12975 * src/hid/lesstif/dialogs.c: Make sure the leftmost end of the line
12976 is visible in the log window.
12978 2007-10-21 Ben Jackson * ben AT ben dot com *
12980 * src/action.c: Fix printf format warnings.
12982 2007-10-21 Ben Jackson * ben AT ben dot com *
12984 * src/crosshair.c, src/draw.c, src/rats.c: Ratlist generation is
12985 changed to favor connecting to polygons when they are available and
12986 surround the pin needing a connection. Such rats are still
12987 internally lines to the corner of the polygon, but have the VIAFLAG
12988 set. The drawing code is modified to show them as little donuts
12989 (suggesting the via that would be used to connect the pin, vs a
12990 line). The crosshair rubberband code is modified to NOT draw these
12991 lines while dragging. These changes are forward and backward
12994 2007-10-21 Ben Jackson * ben AT ben dot com *
12996 * src/action.c, src/find.c, src/find.h: Make DRC dialog
12997 next/continue to clarify its function. When DRC is over, message
12998 now indicates if it was cancelled (so log can distinguish lack of
12999 DRC errors from aborted DRC).
13001 2007-10-20 Ben Jackson * ben AT ben dot com *
13003 * src/rubberband.c: The correct point on a line now moves with a
13004 polygon (fix cut'n'paste typo) When you move a line endpoint, only
13005 *exactly* connected lines go with you. When you move a line, if
13006 another segment fully overlaps the end of the moving line, the
13007 entire segment (not an arbitrary end of it) will move. When you
13008 move an element, any segments completely covered by a pad move with
13009 the pad. (there are still some bugs in the drawing code as you
13012 2007-10-06 Dan McMahill * dan AT mcmahill dot net *
13014 * src/hid/gtk/gtkhid-main.c: Fix some really broken spurious panning
13015 of the drawing area which happens when the board is viewed from the
13016 back. Reported by Peter Clifton who also helped getting this patch
13019 2007-10-04 Peter Clifton * pcjc2 AT cam dot ac dot uk *
13021 * src/hid/gtk/gui-output-events.c: Reject double and triple clicks
13022 in ghid_port_button_press_cb() Fixes a bug where a component would be rotated by more steps than
13023 desired if clicking quickly with the rotate tool.
13025 2007-09-24 Ben Jackson * ben AT ben dot com *
13027 * src/polygon.c: Change rendering of rounded corners used when
13028 clearing polygons. This fixes a slight rotation in rounded
13029 rectangles and asymmetry of all rounded clearances besides complete
13030 circles (which were not affected by the bug). For an illustration,
13031 see: http://ad7gd.net/geda/roundrectanim.gif (include error code
13032 print in returns from the polygon code -- not much use)
13034 2007-09-24 Ben Jackson * ben AT ben dot com *
13036 * src/autoroute.c: Add (under ifdef) code I used to debug a report
13037 of "The rats nest is stale! Aborting autoroute...". It leaves the
13038 rat in question selected after the error.
13040 2007-09-19 Dan McMahill * dan AT mcmahill dot net *
13042 * src/misc.c: add missing 2007 in copyright year (for all the gtk
13045 2007-09-17 Dan McMahill * dan AT mcmahill dot net *
13047 * src/hid/gtk/gui-top-window.c: avoid free()-ing some memory a bit
13048 too soon. Patch from Ineiev.
13050 2007-09-14 Dan McMahill * dan AT mcmahill dot net *
13052 * src/gpcb-menu.res, src/pcb-menu.res: use mil and mm instead of
13053 mils and mms for grid units
13055 2007-09-13 Dan McMahill * dan AT mcmahill dot net *
13057 * README.snapshots: a few minor corrections
13059 2007-09-12 Dan McMahill * dan AT mcmahill dot net *
13061 * configure, configure.ac: welcome to 1.99w
13063 2007-09-12 Dan McMahill * dan AT mcmahill dot net *
13065 * NEWS: news for 20070912
13067 2007-09-12 Dan McMahill * dan AT mcmahill dot net *
13069 * ChangeLog: update for 20070912 snapshot
13071 2007-09-12 Dan McMahill * dan AT mcmahill dot net *
13073 * README.snapshots: set date for 20070912
13075 2007-09-12 Dan McMahill * dan AT mcmahill dot net *
13077 * Makefile.in, README_FILES/Makefile.in, aclocal.m4, configure,
13078 doc/Makefile.in, doc/actions.texi, doc/pcbfile.texi,
13079 doc/version.texi, example/Makefile.in,
13080 example/libraries/Makefile.in, lib/Makefile.in,
13081 newlib/2_pin_thru-hole_packages/Makefile.in, newlib/Makefile.in,
13082 newlib/analog-devices/Makefile.in, newlib/burr-brown/Makefile.in,
13083 newlib/connectors/Makefile.in, newlib/crystal/Makefile.in,
13084 newlib/electro-optics/Makefile.in, newlib/headers/Makefile.in,
13085 newlib/keystone/Makefile.in, newlib/msp430/Makefile.in,
13086 newlib/not_vetted_ingo/Makefile.in, newlib/sockets/Makefile.in,
13087 newlib/tests/Makefile.in, src/Makefile.in, src/icons/Makefile.in,
13088 tools/Makefile.in, tutorial/Makefile.in, win32/Makefile.in: regen
13090 2007-09-12 Dan McMahill * dan AT mcmahill dot net *
13092 * src/hid/gtk/gtkhid-main.c: fill in the missing code to get the gtk
13093 HID set_crosshair() function working as well as the Cursor() action
13095 2007-09-12 Dan McMahill * dan AT mcmahill dot net *
13097 * src/hid/lesstif/main.c: fix a typo in a help string
13099 2007-09-12 Dan McMahill * dan AT mcmahill dot net *
13101 * src/hid/gtk/gui-output-events.c: remove unused variable
13103 2007-09-11 DJ Delorie * dj AT delorie dot com *
13105 * src/hid/lesstif/main.c: Add missing else.
13107 2007-09-08 Ben Jackson * ben AT ben dot com *
13109 * src/buffer.c: Fix bugs with undoing "group" moves of objects over
13110 a polygon. The group code uses the buffer code (sort of an
13111 automatic cut/paste) so it applies to inserting elements and using
13112 the buffers as well.
13114 2007-09-08 Ben Jackson * ben AT ben dot com *
13116 * src/action.c: Fix [ 1751568 ] shorted nets stay orange after
13117 fixing and re-opt netlist
13119 2007-09-08 Ben Jackson * ben AT ben dot com *
13121 * src/rotate.c: Fix [ 1751574 ] undoing rotation that put an elt
13122 inside a poly didn't fix plow Properly restores/clears rubber band
13123 lines during rotate and undo. Still shockingly slow if you try this
13124 on an even moderately full board!
13126 2007-09-08 Ben Jackson * ben AT ben dot com *
13128 * src/find.c, src/rtree.h: Search for rat-end connections using 3x3
13129 "fat" ends to avoid having rat-to-polygon-corner connections missed.
13131 2007-09-08 Ben Jackson * ben AT ben dot com *
13133 * src/select.c: Fix [ 1751566 ] When 'far side' hidden, hidden
13134 elements don't deselect Change the SelectBlock to ignore visibility
13135 for deselect while looping over all elements. The diffs are large
13136 because the original code used VISIBLE_*_LOOP so all of the looping
13139 2007-09-08 Ben Jackson * ben AT ben dot com *
13141 * src/search.c: Apply [ 1751580 ] polys should not be
13142 selectable/considered when thin-drawn
13144 2007-09-08 Ben Jackson * ben AT ben dot com *
13146 * src/search.c: Fix the crash from [ 1724453 ] PCB Crashes with bad
13147 footprint (in its library) Does not fix whatever bug in the input
13148 allowed a bogus element in (see bug for description of the problem
13149 with the element and the source of the bad element).
13151 2007-09-08 Ben Jackson * ben AT ben dot com *
13153 * src/remove.c: Fix bugs 1751572 and 1743534 by allowing a remove on
13154 an endpoint to delete the segment if it's not just deleting a kink
13155 from a longer line.
13157 2007-09-08 Ben Jackson * ben AT ben dot com *
13159 * src/move.c: Fix [ 1751578 ] 'move to current layer' doesn't
13160 re-plow polygon correctly by clearing the NEW line pointer instead
13161 of the old (destroyed) one.
13163 2007-09-06 Dan McMahill * dan AT mcmahill dot net *
13165 * lib/dil.inc: Patch [ 1784693 ] Fix Mark position for SDIP packages
13167 2007-09-06 Dan McMahill * dan AT mcmahill dot net *
13169 * configure, configure.ac: Add newlib/keystone/Makefile. Forgot to
13170 check this in earlier.
13172 2007-09-05 Dan McMahill * dan AT mcmahill dot net *
13174 * newlib/Makefile.am, newlib/Makefile.in,
13175 newlib/keystone/KEYSTONE_1062.fp, newlib/keystone/Makefile.am,
13176 newlib/keystone/Makefile.in: add Keystone SMT battery holder for
13179 2007-09-05 Dan McMahill * dan AT mcmahill dot net *
13181 * lib/Makefile.am, lib/Makefile.in, lib/candk.inc, lib/common.m4,
13182 lib/nichicon.inc, lib/optek.inc: Add C&K ES series switches, Optek
13183 white LED, and Nichicon WT series of SMT electrolytics.
13185 2007-09-04 Dan McMahill * dan AT mcmahill dot net *
13187 * src/hid/gtk/gui-dialog-print.c, src/hid/gtk/gui.h: gut
13188 ghid_print_dialog() and use the attribute editor to do all of the
13189 dialog box work. Removes a bunch of duplicated code.
13191 2007-09-04 Dan McMahill * dan AT mcmahill dot net *
13193 * src/action.c, src/file.c, src/gpcb-menu.res, src/hid.h,
13194 src/hid/batch/batch.c, src/hid/bom/bom.c,
13195 src/hid/common/hidnogui.c, src/hid/gerber/gerber.c,
13196 src/hid/gtk/gtkhid-main.c, src/hid/gtk/gui-dialog-print.c,
13197 src/hid/gtk/gui-dialog.c, src/hid/gtk/gui.h,
13198 src/hid/lesstif/dialogs.c, src/hid/lesstif/lesstif.h,
13199 src/hid/lesstif/main.c, src/hid/lpr/lpr.c, src/hid/nelma/nelma.c,
13200 src/hid/png/png.c, src/hid/ps/ps.c, src/vendor.c: Add a
13201 ->fileselect() function to the HID interface. Now actions can use
13202 gui->fileselect() instead of gui->prompt_for() when they are
13203 specifically looking for a file. Currently the gtk HID implements
13204 this and the lesstif one has the old behaviour. While messing around with dialogs, add a "descr" argument to the
13205 attribute editor. That can be used as a tooltip, help string, or
13208 2007-08-26 Peter Clifton * pcjc2 AT cam dot ac dot uk *
13210 * src/hid/ps/ps.c: Fixed .ps output with "drill-copper" and
13211 "drill-helper" options. Holes in the soldermask (and other non-copper layers) are now drawn
13212 correctly when the "drill-copper" option is set to false. With the
13213 "drill-helper" option on, only holes on copper layers are affected.
13215 2007-08-22 Dan McMahill * dan AT mcmahill dot net *
13217 * src/hid.h, src/hid/batch/batch.c, src/hid/common/hidnogui.c,
13218 src/hid/gtk/gtkhid-main.c, src/hid/gtk/gui-dialog-print.c,
13219 src/hid/gtk/gui.h, src/hid/lesstif/dialogs.c,
13220 src/hid/lesstif/main.c, src/hid/ps/ps.c: add a title argument to the
13221 HID attribute_dialog function so the dialogs can have appropriate
13224 2007-08-22 Dan McMahill * dan AT mcmahill dot net *
13226 * src/hid/gtk/gtkhid-main.c, src/hid/gtk/gui-dialog-print.c,
13227 src/hid/gtk/gui.h: Implement the missing attribute editor dialog for
13228 the GTK HID and now that it is available, add the PrintCalibrate()
13229 action to match the lesstif one.
13231 2007-08-22 Dan McMahill * dan AT mcmahill dot net *
13233 * src/hid/ps/ps.c: indent
13235 2007-08-19 Dan McMahill * dan AT mcmahill dot net *
13237 * src/draw.c: when drawing the mark for an element also put an "L"
13238 on it if the element is locked. Patch from Bert Timmerman
13240 2007-08-17 Dan McMahill * dan AT mcmahill dot net *
13242 * doc/pcb.texi: clean up the regexp appendix a bit
13244 2007-08-17 Dan McMahill * dan AT mcmahill dot net *
13246 * lib/qfn.inc: use a default pad clearance of 20 mils instead of
13247 zero. Bug [ 1742394 ] Zero clearance QFN footprints.
13249 2007-08-17 Dan McMahill * dan AT mcmahill dot net *
13251 * src/gpcb-menu.res, src/hid/gtk/gui-top-window.c: Teach the GTK HID
13252 about active=<flag> in the menu resource file. Now that this works,
13253 sync up the active=have_regex menus with the lesstif menu resource
13256 2007-08-06 DJ Delorie * dj AT delorie dot com *
13258 * src/global.h: Give data->pcb a real type.
13260 2007-08-06 DJ Delorie * dj AT delorie dot com *
13262 * src/buffer.c: Make sure loaded buffers have a proper pcb
13265 2007-08-06 DJ Delorie * dj AT delorie dot com *
13267 * src/draw.c: [ 1751567 ] with thin-draw-poly on, soldermask display
13270 2007-08-06 DJ Delorie * dj AT delorie dot com *
13272 * src/select.c: Match whole names with regex's, when possible.
13275 2007-08-06 DJ Delorie * dj AT delorie dot com *
13277 * src/flags.c, src/pcb-menu.res: Fix the have_regex flag in
13278 pcb-menu.res [1751564]
13280 2007-08-06 DJ Delorie * dj AT delorie dot com *
13282 * src/hid/common/actions.c, src/hid/lesstif/menu.c: More empty
13283 :command checks [1751582]
13285 2007-08-06 DJ Delorie * dj AT delorie dot com *
13287 * src/polygon.c: Ben: Avoid duplicate passes through pad clearances.
13289 2007-08-05 DJ Delorie * dj AT delorie dot com *
13291 * src/action.c, src/const.h, src/draw.c, src/flags.c, src/global.h,
13292 src/gpcb-menu.res, src/main.c, src/pcb-menu.res, src/polygon.c,
13293 src/strflags.c: patch 1738364: flag for non-clipped polygons.
13295 2007-08-05 DJ Delorie * dj AT delorie dot com *
13297 * src/hid/bom/bom.c: Adds an export in mm to the BOM export dialog
13300 2007-08-05 DJ Delorie * dj AT delorie dot com *
13302 * src/set.c: Don't limit keepaway size to minimum *line* size.
13304 2007-08-04 DJ Delorie * dj AT delorie dot com *
13306 * src/hid/ps/ps.c: Apply bloat to drawn rectangles.
13308 2007-08-04 DJ Delorie * dj AT delorie dot com *
13310 * src/draw.c: Tracker 1753084 - fixes 1751589, merged soldermask has
13311 larger than expected outline.
13313 2007-08-03 DJ Delorie * dj AT delorie dot com *
13315 * src/hid/gtk/gui-top-window.c: More paranoid check for "gui is up"
13317 2007-08-02 DJ Delorie * dj AT delorie dot com *
13319 * src/hid/gtk/gui-top-window.c: Don't allow LayersChanged if there's
13322 2007-08-01 DJ Delorie * dj AT delorie dot com *
13324 * src/hid/lesstif/main.c: Protect against empty :command string.
13326 2007-08-01 DJ Delorie * dj AT delorie dot com *
13328 * src/strflags.c: Fixed a bug in flags_to_string where the LOCALREF
13329 pcb flag would be discarded.
13331 2007-08-01 DJ Delorie * dj AT delorie dot com *
13333 * src/action.c: Fix references to RouteStyleChanged (should be
13334 RouteStylesChanged). Call it when :RouteStyle is called.
13336 2007-08-01 DJ Delorie * dj AT delorie dot com *
13338 * src/file.c: When a board is loaded, the first route style is
13339 automatically selected if the old style doesn't happen to match any
13342 2007-08-01 DJ Delorie * dj AT delorie dot com *
13344 * src/misc.c: Add missing variable.
13346 2007-08-01 DJ Delorie * dj AT delorie dot com *
13348 * src/misc.c: When the layer stack is reset, bring the component
13349 layer to the front and make it active.
13351 2007-08-01 DJ Delorie * dj AT delorie dot com *
13353 * src/hid/lesstif/main.c: When swapping board sides, swap top/bot
13354 layers even if both layers are visible.
13356 2007-08-01 DJ Delorie * dj AT delorie dot com *
13358 * src/hid/lesstif/main.c: Swap the direction of scroll bars when the
13361 2007-08-01 DJ Delorie * dj AT delorie dot com *
13363 * src/hid/gerber/gerber.c, src/hid/ps/eps.c, src/hid/ps/ps.c:
13364 Gerber, PS, and EPS ignore the thindraw settings. Fix bug in PS
13365 when first item on the board is an arc. PS "drill helper" changed
13366 to a simple hole reduction so that copper extends to drilled hole
13367 even when hole is off-center.
13369 2007-08-01 DJ Delorie * dj AT delorie dot com *
13371 * src/hid/lesstif/menu.c: Don't free home_pcbmenu until after it's
13374 2007-06-28 Dan McMahill * dan AT mcmahill dot net *
13376 * src/hid/gtk/gui-config.c: Don't forget to fclose() the config file
13377 after we're done reading it. CID 27, scan #1.
13379 2007-06-28 Dan McMahill * dan AT mcmahill dot net *
13381 * src/hid/bom/bom.c: Fix a few memory leaks. Coverity ID 22, 23,
13384 2007-06-13 Dan McMahill * dan AT mcmahill dot net *
13386 * src/hid/gtk/gtkhid-main.c: add missing save_syntax and save_help.
13387 Also allow Save(PasteBuffer) so we have more compatibility with the
13388 lesstif HID. This also fixes the regression about saving buffer
13389 elements which appeared after the user menu branch was merged.
13391 2007-06-13 Dan McMahill * dan AT mcmahill dot net *
13393 * src/hid/lesstif/dialogs.c: add Save(PasteBuffer) to save_syntax.
13395 2007-06-09 DJ Delorie * dj AT delorie dot com *
13397 * src/action.c, src/pcb-menu.res: Add Delete() action. No
13398 arguments: delete selected ELSE object, but options for selected
13399 only, object only, selected rats, all rats.
13401 2007-05-29 Peter Clifton * pcjc2 AT cam dot ac dot uk *
13403 * src/draw.c: Revert patch to hide far-side (invisible) pads when
13404 near-side pins / pads are switched off. Old behaviour was
13407 2007-05-25 Peter Clifton * pcjc2 AT cam dot ac dot uk *
13409 * src/hid/ps/ps.c: Add option "drill-copper" to draw / not draw
13410 drill holes in the copper layers of the ps exporter. This is useful
13411 for plated through processes which require the etch mask to protect
13412 the vias / pins during etching.
13414 2007-05-25 Peter Clifton * pcjc2 AT cam dot ac dot uk *
13416 * src/draw.c: Change drawing code for square pads to use
13417 gui->fill_rect (...) as on Win32, the current method of drawing a
13418 zero length line doesn't work.
13420 2007-05-25 Peter Clifton * pcjc2 AT cam dot ac dot uk *
13422 * src/draw.c: Stop far side 'invisible' pads being drawn when pins /
13423 pads are switched off.
13425 2007-05-25 Peter Clifton * pcjc2 AT cam dot ac dot uk *
13427 * src/hid/gtk/gtkhid-main.c: Fix drawing of filled rectangles when
13428 the board is flipped. Makes soldermask view on the back of the
13431 2007-05-24 Dan McMahill * dan AT mcmahill dot net *
13435 2007-05-24 Dan McMahill * dan AT mcmahill dot net *
13437 * configure.ac: check for buggy versions of m4 which seem to think
13438 eval(-2/2) should be 2147483647. Noted by Peter Clifton.
13440 2007-05-23 Dan McMahill * dan AT mcmahill dot net *
13442 * src/hid/gtk/gui-top-window.c: Avoid a stack corruption. Noted by
13443 Peter Clifton. Should probably replace all instances of sprintf in
13444 pcb with snprintf, but that will take some work.
13446 2007-05-17 Dan McMahill * dan AT mcmahill dot net *
13448 * src/hid/gtk/gui-top-window.c, src/hid/lesstif/menu.c, src/main.c:
13449 check for getenv() return codes everywhere and deal if getenv
13450 returns NULL. Noted by Peter Clifton.
13452 2007-05-16 Dan McMahill * dan AT mcmahill dot net *
13454 * src/file.c: if the popen fails for the ListLibraryContents.sh
13455 shell script, continue on with the newlib processing instead of
13456 failing. This helps on systems where either the user has disabled
13457 m4 libraries or on systems like windows where the popen will not
13460 2007-05-04 Dan McMahill * dan AT mcmahill dot net *
13462 * src/todo: remove a few fixed things
13464 2007-05-04 Dan McMahill * dan AT mcmahill dot net *
13466 * lib/connector.inc: Increase the hole size on the DIN* connectors
13467 (are these named wrong btw?) from 28 mils to 40 mils. This is more
13468 in line with what is recommended for Tyco *-1634689-* box headers in
13469 Tyco drawing 1634689. Noted by Seb James.
13471 2007-05-02 Dan McMahill * dan AT mcmahill dot net *
13473 * src/create.c: When refusing to create overlapping vias spit out a
13474 warning. We should probably allow overlapping vias but turn it into
13475 a DRC violation. But until then, at least give a warning instead of
13476 silently dropping them. More details are in bug reports: [ 1687692
13477 ] Large Pads (150 mils) silently dropped [ 1266154 ] lost vias
13479 2007-05-02 Dan McMahill * dan AT mcmahill dot net *
13481 * src/file.c, src/file.h, src/misc.c: avoid triggering an emergency
13482 save on normal exit. Reported and patch provided in bug [ 1705607 ]
13483 Emergency save on normal exit.
13485 2007-05-01 Dan McMahill * dan AT mcmahill dot net *
13487 * src/hid/gtk/gui-pinout-window.c: - make arcs show up in the pinout window - don't rotate the element in the pinout window. Rather display
13488 with the same rotation as in the layout. Besides being more useful
13489 this avoid a segfault in some cases.
13491 2007-05-01 Dan McMahill * dan AT mcmahill dot net *
13493 * src/gpcb-menu.res: remove the menu mneumonics as some conflict
13496 2007-05-01 Dan McMahill * dan AT mcmahill dot net *
13498 * src/gpcb-menu.res, src/hid/gtk/gtkhid-main.c,
13499 src/hid/gtk/gui-output-events.c, src/hid/gtk/gui-top-window.c,
13500 src/hid/gtk/gui.h: Teach the GTK HID how to trap certain hotkeys
13501 which gtk usually captures for its own use. This lets PCB use the
13502 arrow keys and the tab key again. So restore the hotkey for
13503 flipping sides in the menu resource file. Start on the Cursor()
13504 action which is needed for the arrow keys. That part is not done
13507 2007-04-28 Harry Eaton * haceaton AT users dot sourceforge dot net *
13509 * src/polygon.c: Don't double the pad thickness when restoring to
13510 the polygon. For speedup, just add back a simple rectangle since it
13511 only has 4 points. Should do that for lines too, but didn't.
13513 ----------------------------------------------------------------------
13515 2007-04-27 Harry Eaton * haceaton AT users dot sourceforge dot net *
13517 * src/polygon.c: fix bloating of region to search for re-clearance
13518 after a portion of polyogn is restored.
13520 ----------------------------------------------------------------------
13522 2007-04-22 DJ Delorie * dj AT delorie dot com *
13524 * src/hid/gerber/gerber.c: Draw non-circular arcs manually.
13526 2007-04-21 DJ Delorie * dj AT delorie dot com *
13528 * src/action.c, src/buffer.c, src/copy.c, src/create.c,
13529 src/create.h, src/parse_y.y: Preserve width *and* height when
13532 2007-04-21 DJ Delorie * dj AT delorie dot com *
13534 * src/buffer.c: Add FreeRotatebuffer(Angle) (angle can be any angle)
13536 2007-04-21 DJ Delorie * dj AT delorie dot com *
13538 * src/crosshair.c, src/search.c: Allow for diagonal pads.
13540 2007-04-21 DJ Delorie * dj AT delorie dot com *
13542 * src/hid/lesstif/dialogs.c: Use ".fp" when loading element data.
13544 2007-04-21 DJ Delorie * dj AT delorie dot com *
13546 * src/buffer.c, src/create.c: Permit the existence of diagonal pads.
13548 2007-04-21 DJ Delorie * dj AT delorie dot com *
13550 * src/hid/gerber/gerber.c: Use polygons to draw square ended
13553 2007-04-21 Dan McMahill * dan AT mcmahill dot net *
13555 * src/autoplace.c: add a check to make sure malloc() succeeds.
13556 Noted in bug [ 1657886 ] Check return codes everywhere
13558 2007-04-21 Dan McMahill * dan AT mcmahill dot net *
13560 * src/gpcb-menu.res, src/pcb-menu.res: Change "Select all" to
13561 "Select all visible" to match up with what actually happens.
13562 Reported in bug [ 1013719 ] Select all objects: misleading name?
13564 2007-04-20 Dan McMahill * dan AT mcmahill dot net *
13566 * src/hid/gtk/gui-output-events.c, src/hid/gtk/gui-top-window.c,
13567 src/hid/lesstif/main.c, src/hid/ps/ps.c, src/hid/ps/ps.h: fix a
13568 handful of compiler warnings
13570 2007-04-20 Dan McMahill * dan AT mcmahill dot net *
13572 * doc/actions.texi: regen after usermenu merge
13574 2007-04-20 Dan McMahill * dan AT mcmahill dot net *
13576 * config.h.in, configure, configure.ac, src/Makefile.am,
13577 src/Makefile.in, src/action.c, src/gpcb-menu.res,
13578 src/hid/gtk/gtkhid-main.c, src/hid/gtk/gui-config.c,
13579 src/hid/gtk/gui-output-events.c, src/hid/gtk/gui-top-window.c,
13580 src/hid/gtk/gui.h, src/misc.c, src/pcbtest.sh.in, src/set.c,
13581 src/todo: Merge the usermenu branch. This reworks how the menus
13582 and hotkeys are defined and handled for the gtk HID. In particular,
13583 instead of being hard coded, the menus are loaded from a menu
13584 resource file like in the lesstif gui. All hotkeys are defined via
13585 the menu hotkeys and thus are visually presented in the menus. The
13586 gtk HID looks for "gpcb-menu.res" instead of "pcb-menu.res" so that
13587 the menu organization may be different between the lesstif and gtk
13590 2007-04-19 Dan McMahill * dan AT mcmahill dot net *
13592 * src/action.c, src/change.c, src/hid/gtk/gui-output-events.c,
13593 src/hid/gtk/gui-pinout-window.c, src/hid/gtk/gui-top-window.c,
13594 src/misc.c, src/output.c, src/output.h, src/set.c, src/thermal.c:
13595 Remove references to the now unused output.h. To help keep it that
13596 way, go ahead and remove the unused output.c and output.h files.
13598 2007-04-12 DJ Delorie * dj AT delorie dot com *
13600 * src/command.c: Allow :s without filename to use current filename.
13602 2007-04-11 Dan McMahill * dan AT mcmahill dot net *
13604 * configure, configure.ac, src/Makefile.am, src/Makefile.in,
13605 src/hid/nelma/hid.conf, src/hid/nelma/nelma.c,
13606 src/hid/nelma/nelma.h: add the nelma export HID provided in patch: [
13607 1601099 ] Nelma export HID by Tomaz Solc with a few minor updates by
13610 2007-04-11 Dan McMahill * dan AT mcmahill dot net *
13612 * src/hid/gtk/gui-output-events.c: Apply patch supplied in patch [
13613 1692014 ] Patch for "click on focus for zoom" bug from Tomaz Solc.
13615 2007-04-10 Dan McMahill * dan AT mcmahill dot net *
13617 * doc/actions.texi, doc/pcbfile.texi, doc/version.texi,
13618 src/Makefile.in: regen
13620 2007-04-08 Dan McMahill * dan AT mcmahill dot net *
13622 * src/hid/gtk/gui-config.c: Initialize command history size to 5 if
13623 no config setting is given. Patch [ 1608559 ] Patch for command
13626 2007-04-08 Dan McMahill * dan AT mcmahill dot net *
13628 * src/hid/gtk/gui-misc.c: add distance and angle to the relative
13629 readout. Mostly provided in patch submission [ 1621913 ] Euclidian
13630 distance from mark. Minor update (fix the fact that in PCB units,
13631 positive Y is down) from me.
13633 2007-04-08 Dan McMahill * dan AT mcmahill dot net *
13635 * src/file.c, src/file.h, src/parse_y.y: turn on the code which
13636 marks the file format version in the file. pcb has had the code in
13637 place for a bit now that parses that and gives a warning if the
13638 version of pcb is not new enough to read the current file version.
13640 2007-04-07 Dan McMahill * dan AT mcmahill dot net *
13642 * src/hid/gtk/gui-misc.c, src/hid/gtk/gui-top-window.c: prevent the
13643 cursor position labels from growing/shrinking as you move the cursor
13646 2007-04-06 Dan McMahill * dan AT mcmahill dot net *
13648 * src/flags.c: Change the stringflag in the settings from showdrc to
13649 showdrcmode since we already used showdrc for the flag. This fixes
13650 the menu choice for "crosshairs show drc clearance".
13652 2007-04-06 Dan McMahill * dan AT mcmahill dot net *
13654 * src/rats.c: avoid using an unitialized variable (even though we
13655 ignore the result of that access)
13657 2007-04-06 Dan McMahill * dan AT mcmahill dot net *
13659 * src/move.c: document MoveLayer() action
13661 2007-04-06 Dan McMahill * dan AT mcmahill dot net *
13663 * src/file.h: add missing prototypes
13665 2007-04-06 Dan McMahill * dan AT mcmahill dot net *
13667 * src/file.c: add missing header, remove unused variable
13669 2007-04-06 Dan McMahill * dan AT mcmahill dot net *
13671 * src/create.c, src/find.c: remove unused variable
13673 2007-04-06 Dan McMahill * dan AT mcmahill dot net *
13675 * src/action.c: format string fix
13677 2007-03-10 Harry Eaton * haceaton AT users dot sourceforge dot net *
13679 * src/rats.c: find rats regardless of how far the coordinates are
13682 ----------------------------------------------------------------------
13684 2007-03-10 Harry Eaton * haceaton AT users dot sourceforge dot net *
13686 * src/rats.c: Handle case for connections are close to or beyond
13689 ----------------------------------------------------------------------
13691 2007-03-09 DJ Delorie * dj AT delorie dot com *
13693 * src/Makefile.am, src/Makefile.in, src/clip.c, src/clip.h,
13694 src/hid/gtk/gtkhid-main.c, src/hid/lesstif/main.c: Add basic line
13695 clipping to both GUIs.
13697 2007-03-04 Dan McMahill * dan AT mcmahill dot net *
13699 * src/find.c: Fix a bug when looking for square pad to square pad
13700 clearance. The old way simply grew one of the pads by Bloat on all
13701 4 sides and looked for overlap. This is not the correct test in the
13702 case where the closest line between the two pads is a unique line
13703 from two of the corners. The new way should correctly handle all
13706 2007-03-04 DJ Delorie * dj AT delorie dot com *
13708 * src/Makefile.am, src/Makefile.in, src/action.c, src/action.h,
13709 src/autoroute.c, src/change.c, src/const.h, src/crosshair.c,
13710 src/data.c, src/data.h, src/djopt.c, src/draw.c, src/file.c,
13711 src/find.c, src/flags.c, src/global.h, src/hid.h,
13712 src/hid/batch/batch.c, src/hid/common/hidinit.c,
13713 src/hid/common/hidnogui.c, src/hid/gerber/gerber.c,
13714 src/hid/gtk/gtkhid-main.c, src/hid/lesstif/main.c,
13715 src/hid/lesstif/menu.c, src/hid/lesstif/netlist.c,
13716 src/hid/png/png.c, src/hid/ps/eps.c, src/hid/ps/ps.c, src/macro.h,
13717 src/main.c, src/misc.c, src/misc.h, src/parse_y.y,
13718 src/pcb-menu.res, src/report.c, src/search.c, src/set.c,
13719 src/strflags.c, src/strflags.h, src/todo: Made flags type big enough
13720 to hold PCB flags. Added hash table for parameter lookup in action.c Moved thindraw code out of lesstif hid. Added "thin draw polygons" flag to toplevel stuff. Fixed "check polygons" so it works again. Added "lock names" setting: When set, the arrow tool ignores element
13721 names and text objects, so you can select the elements or objects
13722 beneath them. Added "only names" setting: When set, the arrow tool can only select
13723 element names and text objects; you won't accidentally move an
13724 element. Made the crosshair-move code draw the outline of pads, not the
13725 centerline. It does still draw round-end pads as rectangles,
13726 though. Allow "--no-foo" to shut off boolean "--foo" options that default to
13727 on. Added "--layer-stack" option that takes a string and sets the layer
13728 stack to it (for eps/png export, mostly). Layers are numbers
13729 0..N-1, the names of the layers from the loaded PCB file, or the
13730 special names "rats", "invisible", "pins", "vias", or "elements".
13731 Layers may be separated by spaces, commas, semicolons, or colons. Added Display(Step,[1..9]) to move the cursor in steps. Implemented
13732 in lesstif HID, attached to arrow keys. Added "what to do with the
13733 pointer" parameter - warp pointer to match crosshair, or pan window
13734 to put crosshair under cursor. Make autorouter show live trials. Clean up various FIXMEs. Add support for string encoded PCB flags. thindraw exports: off by default? Follow current setting? Or put
13735 it in their own attribute list? Added Report(NetLength) which reports on the total length of
13736 segments (lines and arcs) for the net under the cursor. It will
13737 also tell you the name of the net. Remove obsolete UseLogWindow and RaiseLogWindow.
13739 2007-03-02 Dan McMahill * dan AT mcmahill dot net *
13741 * win32/pcb.nsi.in: remove some left over links on uninstall
13743 2007-02-27 DJ Delorie * dj AT delorie dot com *
13745 * src/file.c: Avoid segfaults when loading elements, fixes bug in
13746 load-element-as-pcb patch.
13748 2007-02-27 DJ Delorie * dj AT delorie dot com *
13750 * src/hid/ps/ps.c: Add calibration values to the attribute list so
13751 they can be stored in the settings file, or given on the command
13754 2007-02-24 DJ Delorie * dj AT delorie dot com *
13756 * src/file.c, src/parse_y.y: Allow the user to load a footprint as a
13757 pcb; create a suitably-sized pcb around it.
13759 2007-02-23 DJ Delorie * dj AT delorie dot com *
13761 * src/report.c: Report on pads as rectangles, not lines, so we get
13762 width and height for the pad and mask. Also, report the gap between
13763 the pad and the mask.
13765 2007-02-23 DJ Delorie * dj AT delorie dot com *
13767 * src/hid/ps/ps.c: Silence some compiler warnings.
13769 2007-02-23 DJ Delorie * dj AT delorie dot com *
13771 * src/hid/ps/ps.c: Don't print the scale if we're filling the page.
13772 Don't print (null) if there's no board name.
13774 2007-02-15 DJ Delorie * dj AT delorie dot com *
13776 * src/hid/lesstif/main.c: Attach status bar widgets to the correct
13779 2007-02-15 DJ Delorie * dj AT delorie dot com *
13781 * src/hid/lesstif/main.c: Don't use the crosshair's position to keep
13782 track of whether it's in the window or not; have a separate variable
13783 so we can avoid panning when we're just resetting the crosshair
13784 after a tool change.
13786 2007-02-15 DJ Delorie * dj AT delorie dot com *
13788 * src/autoroute.c, src/hid/ps/ps.c, src/parse_l.l, src/polygon.c:
13789 Move declarations before statements (patch by Ben Jackson * ben AT
13792 2007-02-13 DJ Delorie * dj AT delorie dot com *
13794 * src/action.c, src/change.c, src/draw.c, src/draw.h, src/move.c,
13795 src/print.c, src/remove.c, src/rotate.c, src/undo.c: Keep track of
13796 the minimum line size for text depending on which layer the text is
13797 on (copper, silk, pin numbers).
13799 2007-02-12 Dan McMahill * dan AT mcmahill dot net *
13801 * src/Makefile.am, src/Makefile.in, src/Pcb.ad.in, src/Pcb.ad.raw,
13802 src/Pcb.ad.small: Remove the appdefaults files. These were leftover
13803 from Xaw days and weren't really doing anything other than providing
13804 a filename conflict on case insensitive file systems (pcb vs Pcb).
13806 2007-02-12 DJ Delorie * dj AT delorie dot com *
13808 * src/hid/ps/ps.c: Compensate for rotated boards. Allow the print
13809 step to be skipped.
13811 2007-02-10 DJ Delorie * dj AT delorie dot com *
13813 * src/action.c, src/hid/lesstif/dialogs.c, src/hid/lpr/lpr.c,
13814 src/hid/ps/ps.c, src/pcb-menu.res: Add printer calibration code for
13817 2007-02-10 DJ Delorie * dj AT delorie dot com *
13819 * src/vendor.c: Cache vendor lookups. Use binary search instead of
13822 2007-02-10 DJ Delorie * dj AT delorie dot com *
13824 * src/file.c, src/parse_l.l: Properly deal with quoted characters in
13825 both string reading and string writing.
13827 2007-02-10 DJ Delorie * dj AT delorie dot com *
13829 * src/vendor.c: Call busy before applying the vendor map.
13831 2007-02-10 DJ Delorie * dj AT delorie dot com *
13833 * src/action.c, src/djopt.c, src/hid.h, src/hid/batch/batch.c,
13834 src/hid/gtk/gtkhid-main.c, src/hid/lesstif/main.c: Change the way
13835 the busy cursor is done. Called for autoplace, autoroute, and
13838 2007-02-10 DJ Delorie * dj AT delorie dot com *
13840 * src/hid/lesstif/main.c, src/pcb-menu.res: Add "C" for Center()
13841 action. Provide examples for zooming-with-centering in
13844 2007-02-10 Dan McMahill * dan AT mcmahill dot net *
13846 * README.cvs_branches: note the usermenu branch
13848 2007-02-09 DJ Delorie * dj AT delorie dot com *
13850 * src/create.c: Always initialize default layer names.
13852 2007-02-09 Dan McMahill * dan AT mcmahill dot net *
13854 * src/create.c: use MAX_LAYER in a spot instead of max_layer.
13855 Prevents a segfault with the lesstif hid.
13857 2007-02-09 Dan McMahill * dan AT mcmahill dot net *
13859 * configure, configure.ac: bump rev after 20070208 branch
13861 2007-02-09 Dan McMahill * dan AT mcmahill dot net *
13863 * ChangeLog, NEWS: update for 20070208 snapshot
13865 2007-02-08 Dan McMahill * dan AT mcmahill dot net *
13867 * configure, configure.ac, src/main.c: if we somehow fail to find
13868 the install path from lrealpath(argv[0]) or by searching through the
13869 PATH environment variable, fall back to the configure time path
13870 which is compiled into the binary.
13872 2007-02-08 Dan McMahill * dan AT mcmahill dot net *
13874 * doc/actions.texi, doc/version.texi: regen
13876 2007-02-08 Dan McMahill * dan AT mcmahill dot net *
13878 * lib/Makefile.am, lib/Makefile.in: Modify how the dependencies work
13879 a bit for the newlib library that is generated from the m4
13880 libraries. In particular, make sure that a normal user building
13881 from a tarball doesn't have to build the libraries since they take
13882 quite a bit of time. Also make sure things work with a read-only
13885 2007-02-08 Dan McMahill * dan AT mcmahill dot net *
13887 * src/main.c: When pcb is called with no path, i.e. "pcb" instead of
13888 "../src/pcb" or /usr/local/bin/pcb, then we can't just look at
13889 argv[0] to figure out the installation path. In this situation,
13890 search through PATH to find which pcb was called. Should fix
13891 problems noted on geda-dev by Tomaz Solc.
13893 2007-02-08 Harry Eaton * haceaton AT users dot sourceforge dot net *
13895 * src/pcbtest.sh.in: fix pcbtest script to use the new binary name
13896 ('pcb') even when not using gdb
13898 ----------------------------------------------------------------------
13900 2007-02-08 Harry Eaton * haceaton AT users dot sourceforge dot net *
13902 * src/polygon1.c: Prevent degenrate holes with no points from being
13903 added to polygon. This is a stop-gap measure until I figure out why
13904 coincident edges in opposite directions are being created in some
13907 ----------------------------------------------------------------------
13909 2007-02-08 Dan McMahill * dan AT mcmahill dot net *
13911 * Makefile.in, README_FILES/Makefile.in, aclocal.m4, configure,
13912 doc/Makefile.in, example/Makefile.in,
13913 example/libraries/Makefile.in, lib/Makefile.in,
13914 newlib/2_pin_thru-hole_packages/Makefile.in, newlib/Makefile.in,
13915 newlib/analog-devices/Makefile.in, newlib/burr-brown/Makefile.in,
13916 newlib/connectors/Makefile.in, newlib/crystal/Makefile.in,
13917 newlib/electro-optics/Makefile.in, newlib/headers/Makefile.in,
13918 newlib/msp430/Makefile.in, newlib/not_vetted_ingo/Makefile.in,
13919 newlib/sockets/Makefile.in, newlib/tests/Makefile.in,
13920 src/Makefile.in, src/icons/Makefile.in, tools/Makefile.in,
13921 tutorial/Makefile.in, win32/Makefile.in: regen
13923 2007-02-08 Dan McMahill * dan AT mcmahill dot net *
13925 * : remove these generated files
13927 2007-02-08 Dan McMahill * dan AT mcmahill dot net *
13929 * README.snapshots: update for 20070208 snapshot
13931 2007-02-08 Dan McMahill * dan AT mcmahill dot net *
13933 * configure.ac: add a GIF AM_CONDITIONAL to go along with the PNG
13936 2007-02-06 Dan McMahill * dan AT mcmahill dot net *
13938 * doc/Makefile.am, doc/Makefile.in: s/pcb-bin/pcb
13940 2007-02-06 Dan McMahill * dan AT mcmahill dot net *
13942 * win32/build_pcb: fix botched commit
13944 2007-02-06 Dan McMahill * dan AT mcmahill dot net *
13946 * win32/build_pcb: add a --enable-maintainer-mode flag
13948 2007-02-06 Dan McMahill * dan AT mcmahill dot net *
13950 * win32/pcb.nsi.in: Include in the installer the licenses for the
13951 included libraries (gd, png, jpeg, freetype, zlib).
13953 2007-02-06 Dan McMahill * dan AT mcmahill dot net *
13955 * win32/build_pcb, win32/pcb.nsi.in: Add in the png HID to the
13956 non-cygwin windows build.
13958 2007-02-06 Dan McMahill * dan AT mcmahill dot net *
13960 * lib/m4lib_to_newlib.sh.in: When generating the previews of the
13961 footprints, run pcb on an input and output file in the current
13962 directory instead of a different directory. This becomes important
13963 on filesystems that use \ instead of / for the directory separator.
13965 2007-02-06 Dan McMahill * dan AT mcmahill dot net *
13967 * config.h.in, configure, configure.ac: On non-cygwin windows, look
13968 for -lbgd instead of -lgd since the former is what is available as a
13971 2007-02-06 Dan McMahill * dan AT mcmahill dot net *
13973 * src/file.c: remove some illegal casts to unions.
13975 2007-02-06 Dan McMahill * dan AT mcmahill dot net *
13977 * lib/m4lib_to_newlib.sh.in: the executible is now pcb not pcb-bin
13979 2007-02-05 Dan McMahill * dan AT mcmahill dot net *
13981 * src/parse_l.l: If the passed path to Parse is "" then don't use
13984 2007-02-05 Dan McMahill * dan AT mcmahill dot net *
13986 * src/parse_l.l: make sure r is always initialized
13988 2007-02-04 Dan McMahill * dan AT mcmahill dot net *
13990 * Makefile.in, README_FILES/Makefile.in, acinclude.m4, aclocal.m4,
13991 config.h.in, configure, configure.ac, doc/Makefile.in,
13992 example/Makefile.in, example/libraries/Makefile.in,
13993 lib/Makefile.in, newlib/2_pin_thru-hole_packages/Makefile.in,
13994 newlib/Makefile.in, newlib/analog-devices/Makefile.in,
13995 newlib/burr-brown/Makefile.in, newlib/connectors/Makefile.in,
13996 newlib/crystal/Makefile.in, newlib/electro-optics/Makefile.in,
13997 newlib/headers/Makefile.in, newlib/msp430/Makefile.in,
13998 newlib/not_vetted_ingo/Makefile.in, newlib/sockets/Makefile.in,
13999 newlib/tests/Makefile.in, src/Makefile.in, src/file.c,
14000 src/icons/Makefile.in, src/main.c, src/parse_l.l,
14001 tools/Makefile.in, tutorial/Makefile.in, win32/Makefile.in: More
14002 work on the relocatability stuff to handle the annoying "\" instead
14003 of "/" for directory separators in windows. Use ";" instead of ":"
14004 for path seperators under windows since it is common to have
14005 "c:\some\path". With this change things seem to work under
14006 non-cygwin windows.
14008 2007-02-04 Dan McMahill * dan AT mcmahill dot net *
14010 * win32/pcb.nsi.in: install pcb.exe instead of pcb-bin.exe
14012 2007-02-04 Dan McMahill * dan AT mcmahill dot net *
14014 * configure, configure.ac, lib/Makefile.am, lib/Makefile.in,
14015 newlib/Makefile.am, newlib/Makefile.in, newlib/cypress/Makefile.am,
14016 newlib/cypress/Makefile.in,
14017 newlib/generic_SMD_packages/0805_reflow_solder,
14018 newlib/generic_SMD_packages/0805_wave_solder,
14019 newlib/generic_SMD_packages/1206_reflow_solder,
14020 newlib/generic_SMD_packages/Makefile.am,
14021 newlib/generic_SMD_packages/Makefile.in,
14022 newlib/generic_SMD_packages/SOT-23_Transistor,
14023 newlib/toko/Makefile.am, newlib/toko/Makefile.in: Remove some empty
14024 newlib directories, some poorly maintained footprints, and some
14025 "heavy" footprints. There is still much more to be done but this is
14028 2007-02-04 Dan McMahill * dan AT mcmahill dot net *
14030 * config.h.in, configure, configure.ac, doc/actions.texi,
14031 doc/pcb.texi, doc/version.texi, src/Makefile.am, src/Makefile.in,
14032 src/file.c, src/global.h, src/hid/common/hidinit.c,
14033 src/hid/gtk/gui-config.c, src/main.c, src/pcbtest.sh.in,
14034 src/script/Makefile.am, src/script/Makefile.in, src/script/pcb.in:
14035 Take a stab at making pcb installations be relocatable. By this I
14036 mean you can configure and install with ./configure --prefix=/original/path make make install mv
14037 /original/path /new/path and still have pcb work. To make this work, the binary path is determined at runtime and all
14038 of the other paths are computed relative to this. As part of this, go ahead and kill off the pcb wrapper script around
14039 pcb-bin. That was leftover from Xaw days and wasn't really needed
14040 anymore. As a side effect, the --program-prefix and
14041 --program-suffix configure options will probably work now.
14043 2007-02-03 Dan McMahill * dan AT mcmahill dot net *
14045 * acinclude.m4, config.h.in, configure, configure.ac: add autoconf
14047 http://autoconf-archive.cryp.to/adl_compute_relative_paths.html and
14048 http://autoconf-archive.cryp.to/adl_normalize_path.html and use them
14049 to find relative paths from $bindir (where the pcb binary gets
14050 installed) to the directories with the default font and the
14051 footprints. This is the first step in making an installation be
14054 2007-02-03 Dan McMahill * dan AT mcmahill dot net *
14056 * src/file.c, src/file.h, src/hid/gtk/gui-config.c, src/main.c: - Instead of tying the saving of preferences to the autobackup
14057 timer, save them when we press ok on the preferences form. - Move the autosave code out of the gtk hid and put it in the core.
14058 Now autosave should work on all gui's instead of just the gtk one.
14060 2007-02-03 Dan McMahill * dan AT mcmahill dot net *
14062 * src/hid/gtk/gui-netlist-window.c: Add a "find" and "rip-up" button
14063 to the netlist window. Patch from Hans Nieuwenhuis on the geda-user
14066 2007-02-03 Dan McMahill * dan AT mcmahill dot net *
14068 * globalconst.h, src/file.c: Instead of writing the backup file
14069 always to /tmp/something derive a backup name from the pcb file name
14070 (if the pcb file name exists, otherwise use PCB.%i.save in the
14071 current directory). This should make it easier to find the backup
14072 file for a particular layout and also helps in cases where /tmp is
14073 not appropriate (windows).
14075 2007-02-02 DJ Delorie * dj AT delorie dot com *
14077 * src/main.c: Add command line option for setting DrawGrid
14079 2007-02-02 DJ Delorie * dj AT delorie dot com *
14081 * src/report.c: Round drill sizes before reporting them.
14083 2007-02-02 DJ Delorie * dj AT delorie dot com *
14085 * src/netlist.c, src/rats.c, src/rats.h: Fix logic for adding new
14086 rat lines to the netlist.
14088 2007-02-02 DJ Delorie * dj AT delorie dot com *
14090 * src/hid/gtk/gtkhid-main.c: Fix gtk grid when board flipped.
14092 2007-02-02 Dan McMahill * dan AT mcmahill dot net *
14094 * Makefile.in, README_FILES/Makefile.in, configure,
14095 doc/Makefile.in, example/Makefile.in,
14096 example/libraries/Makefile.in,
14097 newlib/2_pin_thru-hole_packages/Makefile.in, newlib/Makefile.in,
14098 newlib/analog-devices/Makefile.in, newlib/burr-brown/Makefile.in,
14099 newlib/connectors/Makefile.in, newlib/crystal/Makefile.in,
14100 newlib/cypress/Makefile.in, newlib/electro-optics/Makefile.in,
14101 newlib/generic_SMD_packages/Makefile.in,
14102 newlib/headers/Makefile.in, newlib/msp430/Makefile.in,
14103 newlib/not_vetted_ingo/Makefile.in, newlib/sockets/Makefile.in,
14104 newlib/tests/Makefile.in, newlib/toko/Makefile.in, src/Makefile.in,
14105 src/icons/Makefile.in, src/script/Makefile.in, tools/Makefile.in,
14106 tutorial/Makefile.in, win32/Makefile.in: regen
14108 2007-02-01 DJ Delorie * dj AT delorie dot com *
14110 * src/draw.c: Draw plated holes when exporting.
14112 2007-01-29 DJ Delorie * dj AT delorie dot com *
14114 * src/hid/lesstif/main.c, src/hid/lesstif/netlist.c: Add more
14115 functionality to netlist dialog.
14117 2007-01-27 DJ Delorie * dj AT delorie dot com *
14119 * src/action.c: Make sure we have a current mark when we convert
14120 selection to an element.
14122 2007-01-22 Dan McMahill * dan AT mcmahill dot net *
14124 * lib/Makefile.am, lib/Makefile.in: Fix a problem where we ended up
14125 with "//" in a full path name. This caused problems on cygwin.
14127 2007-01-20 Dan McMahill * dan AT mcmahill dot net *
14129 * src/hid/gtk/gtkhid-main.c: add some code showing how to get the
14130 installation path on windows. Right now, just print out the
14131 directory to show it works until I figure out how to get it to the
14132 rest of the program.
14134 2007-01-20 Dan McMahill * dan AT mcmahill dot net *
14136 * win32/build_pcb: clean out the old install directory prior to
14137 installing to avoid leftover cruft showing up in the installer.
14139 2007-01-20 Dan McMahill * dan AT mcmahill dot net *
14141 * win32/build_pcb: add a number of flags to this script to help when
14142 using it with cvs sources or in debug mode. See "build_pcb --help"
14143 for details on the flags.
14145 2007-01-20 Dan McMahill * dan AT mcmahill dot net *
14147 * configure, configure.ac, src/main.c: Break apart PCBTREEDIR into
14148 the original plus PCBTREEPATH where the latter is a : seperated path
14149 and the former is just the base installation directory for newlib.
14151 2007-01-19 Dan McMahill * dan AT mcmahill dot net *
14153 * src/compat.c, src/compat.h, src/hid/common/hidinit.c: Add
14154 replacement wrappers for dlopen() and friends on windows. Update
14155 the hid initialization code to pull in the compat header. Also work
14156 around windows limitations with stat(). No change on real operating
14159 2007-01-19 Dan McMahill * dan AT mcmahill dot net *
14161 * config.h.in, configure, configure.ac: - check for dlfcn.h and windows.h - fix the test for if the PNG hid is being compiled in or not
14163 2007-01-17 Dan McMahill * dan AT mcmahill dot net *
14165 * src/file.c: exclude .html and .png files from newlib directories
14167 2007-01-17 Dan McMahill * dan AT mcmahill dot net *
14169 * configure, configure.ac, src/pcbtest.sh.in: add the generated
14170 (from m4lib) newlib to the library search path
14172 2007-01-16 Dan McMahill * dan AT mcmahill dot net *
14174 * lib/Makefile.am, lib/Makefile.in, lib/footprint.pcb: - Add missing template .pcb file for generating previews of all the
14175 footprints. Building the previews also verifies that there are no
14176 syntax errors in the m4lib footprints. - fix the logic for rebuilding the newlib library from m4 libs.
14178 2007-01-16 DJ Delorie * dj AT delorie dot com *
14180 * src/hid/gerber/gerber.c: Use a global aperture list instead of
14183 2007-01-16 DJ Delorie * dj AT delorie dot com *
14185 * src/file.c, src/macro.h, src/main.c, src/parse_l.l: Don't call
14186 popen() if we don't need to.
14188 2007-01-15 Dan McMahill * dan AT mcmahill dot net *
14190 * lib/Makefile.am, lib/Makefile.in: Build and install a newlib
14191 library from the m4lib library. Currently nothing else has changed,
14192 the default for pcb is still the old behaviour. This is just the
14195 2007-01-15 Dan McMahill * dan AT mcmahill dot net *
14197 * lib/m4lib_to_newlib.sh.in: Make building the png preview optional.
14198 Other minor cleanups.
14200 2007-01-15 Dan McMahill * dan AT mcmahill dot net *
14202 * configure, configure.ac: add an AM_CONDITIONAL indicating if the
14203 png HID was compiled in
14205 2007-01-15 DJ Delorie * dj AT delorie dot com *
14207 * doc/actions.texi, doc/pcbfile.texi, doc/version.texi: Update from
14210 2007-01-15 DJ Delorie * dj AT delorie dot com *
14212 * src/djopt.c: Keep canonicalizing lines until they're all
14213 canonicalized. Don't delete vias that aren't tented (assume they're
14214 test points). Add an option to just canonicalize lines.
14216 2007-01-14 Harry Eaton * haceaton AT users dot sourceforge dot net *
14218 * src/autoroute.c, src/mtspace.c, src/mtspace.h: More thurough via
14219 site searching, cost function changes and some better handling of
14220 certain search conditions. Much improved smoothing pass
14221 implementation. Doesn't gratuitously pack traces at minimum
14222 clearance during smoothing pass. Overall much better routing is
14225 ----------------------------------------------------------------------
14227 2007-01-11 DJ Delorie * dj AT delorie dot com *
14229 * src/hid/ps/ps.c: From: Hans Nieuwenhuis * vzzbx AT xs4all dot nl
14230 * Check for failed opens.
14232 2007-01-09 DJ Delorie * dj AT delorie dot com *
14234 * src/draw.c, src/hid/gerber/gerber.c: Don't draw plated holes on
14237 2007-01-09 Harry Eaton * haceaton AT users dot sourceforge dot net *
14239 * src/move.c: fix segfault when moving polygon to layer. Also user
14240 r_search to find the pin/via thermals.
14242 ----------------------------------------------------------------------
14244 2006-12-23 DJ Delorie * dj AT delorie dot com *
14246 * src/hid/lesstif/dialogs.c: Cast away const-ness.
14248 2006-12-22 Harry Eaton * haceaton AT users dot sourceforge dot net *
14250 * src/crosshair.c: don't indicate line end-point if the line is
14251 selected since move will move the whole selection.
14253 ----------------------------------------------------------------------
14255 2006-12-22 Harry Eaton * haceaton AT users dot sourceforge dot net *
14257 * src/crosshair.c, src/hid/gtk/gtkhid-main.c,
14258 src/hid/gtk/gui-misc.c, src/hid/gtk/gui.h, src/hid/lesstif/main.c,
14259 src/search.h, src/todo: provide a cursor shape change when the arrow
14260 mode crosshair is over a line end-point.
14262 ----------------------------------------------------------------------
14264 2006-12-22 DJ Delorie * dj AT delorie dot com *
14266 * src/todo: Take "enums" off the lesstif list.
14268 2006-12-22 DJ Delorie * dj AT delorie dot com *
14270 * src/hid/lesstif/dialogs.c: Add support for HID_Enum in attribute
14273 2006-12-22 DJ Delorie * dj AT delorie dot com *
14275 * src/hid/lesstif/main.c: Increase default size of main window.
14277 2006-12-21 Dan McMahill * dan AT mcmahill dot net *
14279 * win32/build_pcb: if the configure or build fails, then abort the
14282 2006-12-21 Dan McMahill * dan AT mcmahill dot net *
14284 * win32/pcb.nsi.in: the link should be to pcb-bin.exe not pcb
14286 2006-12-21 DJ Delorie * dj AT delorie dot com *
14288 * src/todo: Remove completed projects, add some new ones.
14290 2006-12-18 DJ Delorie * dj AT delorie dot com *
14292 * src/hid/common/hidnogui.c, src/hid/gtk/gtkhid-main.c,
14293 src/hid/lesstif/main.c: ... and return 0 for progress hooks.
14295 2006-12-18 DJ Delorie * dj AT delorie dot com *
14297 * src/hid/common/hidnogui.c, src/hid/gtk/gtkhid-main.c,
14298 src/hid/lesstif/main.c: Fix progress prototypes.
14300 2006-12-17 DJ Delorie * dj AT delorie dot com *
14302 * src/hid.h, src/hid/batch/batch.c, src/hid/bom/bom.c,
14303 src/hid/common/hidnogui.c, src/hid/gtk/gtkhid-main.c,
14304 src/hid/lesstif/main.c, src/hid/lpr/lpr.c, src/hid/png/png.c,
14305 src/hid/ps/ps.c: Add progress() hook to HID structure. No actual
14306 implementation yet.
14308 2006-12-17 DJ Delorie * dj AT delorie dot com *
14310 * src/hid/lesstif/main.c: Add automatic busy cursor. Add (disabled)
14311 debug code for arc thindraw.
14313 2006-12-17 DJ Delorie * dj AT delorie dot com *
14315 * lib/geda.inc: Add SDIP20. Fix comment.
14317 2006-12-15 DJ Delorie * dj AT delorie dot com *
14319 * src/parse_y.y: Allow attributes in old-style elements too.
14321 2006-12-14 Dan McMahill * dan AT mcmahill dot net *
14323 * src/hid/gtk/gui-output-events.c, src/hid/gtk/gui.h: Fix a bug in
14324 GTK hid that causes the view port to scroll in a random direction on
14325 a mouse click inside the view port (for example when drawing a
14326 line). This bug only shows itself when an X application that steals window
14327 focus is running together with PCB on the same X server. At least
14328 GNOME and XFCE window managers are known to do that. See the following and related GNOME bugs for some discussion about
14329 this: http://bugzilla.gnome.org/show_bug.cgi?id=102209 See also GTK documentation for GtkWidget and GdkEvent. Analysis and patch provided in patch [ 1610717 ] Patch for auto-pan
14330 bug by Tomaz Solc. This should also address bug report [ 1593578 ] Display sometimes
14331 auto-scrolls when drawing lines by Garth Webb.
14333 2006-12-14 Dan McMahill * dan AT mcmahill dot net *
14335 * src/Makefile.in: regen
14337 2006-12-14 Harry Eaton * haceaton AT users dot sourceforge dot net *
14339 * src/polygon1.c: avoid duplicate removal of duplicate points
14341 ----------------------------------------------------------------------
14343 2006-12-14 Harry Eaton * haceaton AT users dot sourceforge dot net *
14345 * src/hid/gtk/gui-config.c: beginnings of support for isleArea as a
14346 dialog changeable item
14348 ----------------------------------------------------------------------
14350 2006-12-14 Harry Eaton * haceaton AT users dot sourceforge dot net *
14352 * src/draw.c: fix arc drawing on the flipped board
14354 ----------------------------------------------------------------------
14356 2006-12-14 Dan McMahill * dan AT mcmahill dot net *
14358 * src/Makefile.am, src/Makefile.in: add missing lrealpath.h
14360 2006-12-14 Dan McMahill * dan AT mcmahill dot net *
14362 * src/dbus.c: change a libiberty.h include to lrealpath.h since
14363 thats what we have now
14365 2006-12-13 Dan McMahill * dan AT mcmahill dot net *
14367 * src/buffer.c, src/mymem.c, src/undo.c: Avoid some null pointer
14368 dereferences. Also make sure UndoList and RemoveList are
14369 initialized at startup to avoid any strange behavior there. This
14370 fixes a bug reported on geda-user where starting pcb with an empty
14371 board and then doing 'load layout to buffer' and pasting and then
14372 doing it again causes a segfault. Thanks to Peter Clifton for
14375 2006-12-13 Dan McMahill * dan AT mcmahill dot net *
14377 * src/dbus-pcbmain.c, src/dbus-pcbmain.h, src/dbus.c, src/dbus.h:
14378 indent new code -- no other changes
14380 2006-12-13 Dan McMahill * dan AT mcmahill dot net *
14382 * config.h.in, configure, src/Makefile.in: regen
14384 2006-12-13 Dan McMahill * dan AT mcmahill dot net *
14386 * acinclude.m4: fix underquoting of libiberty_NEED_DECLARATION
14388 2006-12-13 Dan McMahill * dan AT mcmahill dot net *
14390 * src/Makefile.am: when building dbus, compile in lrealpath.c
14392 2006-12-13 Dan McMahill * dan AT mcmahill dot net *
14394 * acinclude.m4, configure.ac: add configure checks needed for
14397 2006-12-13 Dan McMahill * dan AT mcmahill dot net *
14399 * src/lrealpath.c: remove ansidecls.h
14401 2006-12-13 Dan McMahill * dan AT mcmahill dot net *
14403 * src/lrealpath.c, src/lrealpath.h: add a header with the lrealpath
14404 prototype and point to that instead of libiberty.h
14406 2006-12-13 Dan McMahill * dan AT mcmahill dot net *
14408 * src/lrealpath.c: Add lrealpath.c from gcc's libiberty. For now
14409 lets just add this one libiberty function. This is the unmodified
14410 version from gcc current as of 2006-12-12. Last modified on
14413 2006-12-10 Harry Eaton * haceaton AT users dot sourceforge dot net *
14415 * src/misc.c: scan all layers for match because buffers don't always
14416 have LayerN set properly
14418 ----------------------------------------------------------------------
14420 2006-12-09 Harry Eaton * haceaton AT users dot sourceforge dot net *
14422 * src/autoroute.c: break loops when exploring new paths, plus some
14423 other enhancements.
14425 ----------------------------------------------------------------------
14427 2006-12-07 Dan McMahill * dan AT mcmahill dot net *
14429 * src/dbus.c: put back the unused variable but protect it with
14430 #ifdef DEBUG. From Peter Clifton
14432 2006-12-07 Dan McMahill * dan AT mcmahill dot net *
14434 * src/hid/gtk/gtkhid-main.c: fix broken dereference from last commit
14436 2006-12-07 Dan McMahill * dan AT mcmahill dot net *
14438 * src/dbus.c: remove an unused variable
14440 2006-12-07 Dan McMahill * dan AT mcmahill dot net *
14442 * src/hid/gtk/gtkhid-main.c, src/hid/lesstif/main.c: Don't try to
14443 cast to a union. This practice does not work with all compilers.
14444 Fixes compilation with sun compilers.
14446 2006-12-07 Dan McMahill * dan AT mcmahill dot net *
14448 * src/hid/ps/ps.c: add --scale for postscript scaling. Patch from
14449 Hans Nieuwenhuis on geda-user.
14451 2006-12-07 Dan McMahill * dan AT mcmahill dot net *
14453 * Makefile.in, README_FILES/Makefile.in, config.h.in, configure,
14454 configure.ac, doc/Makefile.in, doc/pcbfile.texi,
14455 example/Makefile.in, example/libraries/Makefile.in,
14456 lib/Makefile.in, newlib/2_pin_thru-hole_packages/Makefile.in,
14457 newlib/Makefile.in, newlib/analog-devices/Makefile.in,
14458 newlib/burr-brown/Makefile.in, newlib/connectors/Makefile.in,
14459 newlib/crystal/Makefile.in, newlib/cypress/Makefile.in,
14460 newlib/electro-optics/Makefile.in,
14461 newlib/generic_SMD_packages/Makefile.in,
14462 newlib/headers/Makefile.in, newlib/msp430/Makefile.in,
14463 newlib/not_vetted_ingo/Makefile.in, newlib/sockets/Makefile.in,
14464 newlib/tests/Makefile.in, newlib/toko/Makefile.in, src/Makefile.am,
14465 src/Makefile.in, src/dbus-pcbmain.c, src/dbus-pcbmain.h,
14466 src/dbus.c, src/dbus.h, src/dbus.xml, src/hid.h,
14467 src/hid/common/extents.c, src/hid/common/hidnogui.c,
14468 src/hid/gtk/gtkhid-main.c, src/hid/lesstif/main.c,
14469 src/icons/Makefile.in, src/main.c, src/script/Makefile.in,
14470 tools/Makefile.in, tutorial/Makefile.in, win32/Makefile.in: Initial
14471 checkin of Peter Cliftons DBus work. Currently dbus is disabled by
14472 default but can be enabled with --enable-dbus
14474 2006-12-06 Dan McMahill * dan AT mcmahill dot net *
14476 * src/hid/gtk/gui-top-window.c: Intercept window manager delete
14477 events. This prevents data loss when the window manager closes or
14478 deletes a window. Reported as [ 1458340 ] data loss with closing
14479 main PCB windows and also on geda-dev by Peter Clifton.
14481 2006-12-06 Dan McMahill * dan AT mcmahill dot net *
14483 * src/hid/gtk/gui-library-window.c, src/hid/gtk/gui-log-window.c,
14484 src/hid/gtk/gui-netlist-window.c, src/hid/gtk/gui-pinout-window.c:
14485 Stop preventing the library, log, netlist, and pinout windows from
14486 accepting focus. Preventing them from accepting focus had the side
14487 effect of breaking those dialogs on some systems with certain window
14490 2006-12-05 Harry Eaton * haceaton AT users dot sourceforge dot net *
14492 * src/autoroute.c: allow searching across expansion boxes in each
14493 direction which can find lower cost routes.
14495 ----------------------------------------------------------------------
14497 2006-12-05 Harry Eaton * haceaton AT users dot sourceforge dot net *
14499 * src/autoroute.c: Various changes to improve the ability to find
14500 routes and make better looking, more efficient routes.
14502 2006-12-03 Harry Eaton * haceaton AT users dot sourceforge dot net *
14504 * src/misc.c, src/polygon.c: use Data->LayerN instead of max_layer
14505 where Data may not be PCB->Data
14507 ----------------------------------------------------------------------
14509 2006-12-02 DJ Delorie * dj AT delorie dot com *
14511 * src/move.c: Handle edge conditions when adding/removing layers wrt
14514 2006-12-02 DJ Delorie * dj AT delorie dot com *
14516 * src/move.c: Move thermals when we move layers.
14518 2006-12-02 DJ Delorie * dj AT delorie dot com *
14520 * src/hid/ps/ps.c: Move layer ID text outside of the "board" area.
14521 Print board name, layer name, and mirror flag in lower left near
14522 margin. When both mirror and auto-mirror are checked, xor them.
14524 2006-12-01 Dan McMahill * dan AT mcmahill dot net *
14526 * src/hid/lpr/lpr.c, src/hid/ps/ps.c, src/hid/ps/ps.h: make sure the
14527 postscript header line makes it in the lpr HID. Should fix problems
14528 where the postscript text was being printed instead of executed.
14530 2006-11-16 Harry Eaton * haceaton AT users dot sourceforge dot net *
14532 * src/polygon.c, src/polygon.h, src/thermal.c: make clearances
14533 around rectangular pins and pads have rounded rectangle features
14535 ----------------------------------------------------------------------
14537 2006-11-15 Harry Eaton * haceaton AT users dot sourceforge dot net *
14539 * src/draw.c: remove dead code accidentally left behind
14541 ----------------------------------------------------------------------
14543 2006-11-14 Harry Eaton * haceaton AT users dot sourceforge dot net *
14545 * src/draw.c, src/polygon.c, src/polygon.h: always draw with dicing
14546 so that polygons can reside in holes of other polygons
14548 ----------------------------------------------------------------------
14550 2006-11-14 Harry Eaton * haceaton AT users dot sourceforge dot net *
14552 * src/hid/gtk/gtkhid-main.c, src/hid/gtk/gui.h: Make the invalidate
14553 rectangle only include the drawn region. This vastly speeds up
14554 drawing when zoomed in on a complex deisgn.
14556 ----------------------------------------------------------------------
14558 2006-11-13 Harry Eaton * haceaton AT users dot sourceforge dot net *
14560 * src/buffer.c: Warn if non-manhattan lines are trying to become
14563 2006-11-13 Harry Eaton * haceaton AT users dot sourceforge dot net *
14565 * src/polygon.c: preven silk clipping copper polygons and copper
14566 clipping silk polygons
14568 2006-11-11 Dan McMahill * dan AT mcmahill dot net *
14570 * src/parse_y.y: minor fix to the FileVersion documentation
14572 2006-11-10 Dan McMahill * dan AT mcmahill dot net *
14574 * src/hid/ps/ps.c: add us and international business card media
14576 2006-11-10 Dan McMahill * dan AT mcmahill dot net *
14578 * src/file.c, src/file.h, src/parse_l.l, src/parse_y.y: Add code to
14579 the parser which looks for a line like FileVersion[20061101] at the top of the .pcb file. If this line is seen and indicates a
14580 version which is too new for this version of pcb then issue a
14581 complaint and explain why. This should help out when the file
14582 format changes and someone tries to load a new design with an older
14583 version of pcb. Of course the real benefit won't happen until
14584 versions of pcb prior to this check all go away... For now, the actual output file from pcb hasn't changed. There is a
14585 two line change to include the FileVersion[] line that can be
14586 included the next time the file format is changed. However, there
14587 is no reason to not have the program start watching for it.
14589 2006-11-10 Harry Eaton * haceaton AT users dot sourceforge dot net *
14591 * src/buffer.c, src/undo.c: fix some segfaults due to clearing pcb
14592 pointer in data structure.
14594 2006-11-09 Dan McMahill * dan AT mcmahill dot net *
14596 * src/hid/ps/ps.c: Add several more media types and for the existing
14597 metric ones, recompute the bounding box size since pcb has more
14598 internal resolution that the old values.
14600 2006-11-08 Harry Eaton * haceaton AT users dot sourceforge dot net *
14602 * src/remove.c: prevent segfault when removing polyogn points
14603 resulting in fewer than 3 points in the poly
14605 ----------------------------------------------------------------------
14607 2006-11-06 Harry Eaton * haceaton AT users dot sourceforge dot net *
14609 * src/polygon.c, src/polygon1.c: fix some bugs for unusual clipping
14610 conditions. Specifically holes touching at one point (or edge) as an
14611 acceptable self-intersection and snap-rounding expanding the
14614 ----------------------------------------------------------------------
14616 2006-11-05 Dan McMahill * dan AT mcmahill dot net *
14618 * doc/actions.texi, doc/pcbfile.texi: regen
14620 2006-11-05 Dan McMahill * dan AT mcmahill dot net *
14622 * src/action.c, src/change.c, src/change.h, src/const.h,
14623 src/draw.c, src/find.c, src/strflags.c: Add a 'nopaste' flag for
14624 pads. This lets you produce fiducial marks that should not have
14625 solder paste. In addition you can use it for things like card edge
14626 connectors where you may not want solder paste. Since this is
14627 moderately dangerous (how do you make sure you don't set this flag
14628 somewhere where you _need_ solder paste), the drc check reports a
14629 count of how many times this flag is used.
14631 2006-11-04 Harry Eaton * haceaton AT users dot sourceforge dot net *
14633 * src/intersect.c: fix crash due to not checking for no overlaps.
14634 Thanks to Anread Kemnade for the patch.
14636 ----------------------------------------------------------------------
14638 2006-11-03 Dan McMahill * dan AT mcmahill dot net *
14640 * src/action.c: use *FILEVERSION* instead of *VERSION* for the
14641 annotation file to help avoid possible confusion between file
14642 version and program version.
14644 2006-10-29 DJ Delorie * dj AT delorie dot com *
14646 * src/report.c: Report units in mm or mils as selected by user.
14648 2006-10-29 Harry Eaton * haceaton AT users dot sourceforge dot net *
14650 * src/parse_y.y: fix polyarea ordering to correspond to file saving
14652 ----------------------------------------------------------------------
14654 2006-10-25 Harry Eaton * haceaton AT users dot sourceforge dot net *
14656 * src/action.c: fix setsame layer changing
14658 ----------------------------------------------------------------------
14660 2006-10-21 Harry Eaton * haceaton AT users dot sourceforge dot net *
14662 * src/find.c: allow pins/vias with zero clearance to touch polygons
14664 ----------------------------------------------------------------------
14666 2006-10-21 Harry Eaton * haceaton AT users dot sourceforge dot net *
14668 * src/polygon1.c: speed improvement by avoiding r_search call
14669 overhead when there is no overlap
14671 ----------------------------------------------------------------------
14673 2006-10-21 Harry Eaton * haceaton AT users dot sourceforge dot net *
14675 * src/file.c, src/global.h, src/main.c, src/parse_l.l: support for
14676 polygon island size in the pcb file
14678 ----------------------------------------------------------------------
14680 2006-10-21 Harry Eaton * haceaton AT users dot sourceforge dot net *
14682 * src/parse_y.y, src/polygon.c: Avoid use of 'max_layer' macro - it
14683 assumes the Data is the loaded PCB which doesn't work during file
14686 ----------------------------------------------------------------------
14688 2006-10-21 Harry Eaton * haceaton AT users dot sourceforge dot net *
14690 * src/polygon.c, src/thermal.c, src/thermal.h: use the saved thermal
14691 scale when loading a design
14693 ----------------------------------------------------------------------
14695 2006-10-20 Dan McMahill * dan AT mcmahill dot net *
14697 * src/hid/common/hidinit.c, src/hid/gerber/gerber.c: Cast the char's
14698 which are being fed to isspace() and friends to ints which is what
14701 2006-10-20 Harry Eaton * haceaton AT users dot sourceforge dot net *
14703 * src/rtree.c: check the coming regions, not the one we're at over
14706 ----------------------------------------------------------------------
14708 2006-10-20 Dan McMahill * dan AT mcmahill dot net *
14710 * src/hid/gtk/gui-misc.c, src/hid/gtk/gui-output-events.c: add a
14711 couple of casts and kill the rest of the remaining gcc and SunPRO
14714 2006-10-19 Dan McMahill * dan AT mcmahill dot net *
14716 * src/hid/lesstif/dialogs.c, src/hid/lesstif/menu.c,
14717 src/hid/lesstif/styles.c: cast to a size_t before converting
14718 callback data between ints and pointers
14720 2006-10-19 Dan McMahill * dan AT mcmahill dot net *
14722 * src/hid/gtk/gui-icons-misc.data, src/hid/gtk/gui-top-window.c:
14723 remove some SunPRO compiler complaints about initilizers being out
14726 2006-10-19 Dan McMahill * dan AT mcmahill dot net *
14728 * src/hid/common/hidinit.c: catch HID_Mixed in a switch
14730 2006-10-19 Dan McMahill * dan AT mcmahill dot net *
14732 * src/hid/bom/bom.c, src/hid/gerber/gerber.c, src/print.c: avoid gcc
14733 warnings when using %c with strftime
14735 2006-10-19 Dan McMahill * dan AT mcmahill dot net *
14737 * src/polygon1.c: #ifdef DEBUG out a couple of things which are
14738 defined but not used unless DEBUG is defined
14740 2006-10-19 Dan McMahill * dan AT mcmahill dot net *
14742 * src/draw.c: cast to a size_t before an int when passing an int to
14743 a callback function.
14745 2006-10-19 Harry Eaton * haceaton AT users dot sourceforge dot net *
14747 * src/rtree.c: even faster tree searching and insertion
14749 ----------------------------------------------------------------------
14751 2006-10-19 Dan McMahill * dan AT mcmahill dot net *
14753 * src/polygon1.c: modify the DEBUGP macro slightly so it can be
14754 legally called with only one argument like DEBUGP("\n");
14756 2006-10-19 Harry Eaton * haceaton AT users dot sourceforge dot net *
14758 * src/polygon1.c: oops, don't manage the contour bounding boxes in
14761 ----------------------------------------------------------------------
14763 2006-10-18 Dan McMahill * dan AT mcmahill dot net *
14765 * lib/geda.inc: {T,}QFN16_3{,_EP} needs to use PKG_QFN_50S not
14766 PKG_QFN_50. Noted by Matthias Wenzel.
14768 2006-10-18 Harry Eaton * haceaton AT users dot sourceforge dot net *
14770 * src/polygon1.c: speed up hole insertion further. Trees everywhere!
14772 ----------------------------------------------------------------------
14774 2006-10-18 Dan McMahill * dan AT mcmahill dot net *
14776 * configure, configure.ac: Only apply the -rdynamic check if we're
14777 using gcc. This probably isn't the correct long term fix but for
14778 now it lets users with SunPRO build again. The problem is -rdynamic
14779 with SunPRO's cc doesn't have the same behaviour as with gcc but it
14780 returns 0 so configure thinks it is ok to add -rdynamic.
14782 2006-10-17 Dan McMahill * dan AT mcmahill dot net *
14784 * src/hid/ps/ps.c: Use the media option to set the page size and
14785 margins. Selecting different paper size should work now.
14787 2006-10-17 Harry Eaton * haceaton AT users dot sourceforge dot net *
14789 * src/create.c, src/polyarea.h, src/polygon.c, src/polygon1.c,
14790 src/rtree.c: bug fixes for hole insertion and fast point inside
14793 ----------------------------------------------------------------------
14795 2006-10-17 Dan McMahill * dan AT mcmahill dot net *
14797 * config.h.in, configure, configure.ac: check for dlopen in -ldl.
14798 Needed on solaris 9
14800 2006-10-17 Dan McMahill * dan AT mcmahill dot net *
14802 * configure, configure.ac: be verbose about the rdynamic test
14804 2006-10-16 Dan McMahill * dan AT mcmahill dot net *
14806 * lib/geda.inc: add some 16 pin 3x3 mm QFN packages
14808 2006-10-15 DJ Delorie * dj AT delorie dot com *
14810 * src/buffer.c: If we're converting a buffer to an element and the
14811 buffer has no associated PCB; assign the current one so we have *a*
14812 group table to use.
14814 2006-10-15 DJ Delorie * dj AT delorie dot com *
14816 * src/hid/gtk/gui-top-window.c, src/hid/lesstif/menu.c: Keep
14817 ElemenOn and *SILK->On in sync.
14819 2006-10-14 Harry Eaton * haceaton AT users dot sourceforge dot net *
14821 * src/change.c: handle polygon clearance for unplated holes
14823 ----------------------------------------------------------------------
14825 2006-10-14 Harry Eaton * haceaton AT users dot sourceforge dot net *
14827 * src/find.c: fix rat<->polygon connection test
14829 ----------------------------------------------------------------------
14831 2006-10-14 Harry Eaton * haceaton AT users dot sourceforge dot net *
14833 * src/change.c, src/polygon.c: fix undo handling for all change
14834 operations that affect polygon clip
14836 ----------------------------------------------------------------------
14838 2006-10-13 Harry Eaton * haceaton AT users dot sourceforge dot net *
14840 * src/find.c: fix rat to polygon connection test
14842 ----------------------------------------------------------------------
14844 2006-10-13 Harry Eaton * haceaton AT users dot sourceforge dot net *
14846 * src/change.c: fix the sense of set/clear for line join
14848 ----------------------------------------------------------------------
14850 2006-10-12 Harry Eaton * haceaton AT users dot sourceforge dot net *
14852 * src/macro.h: Fix GROUP_LOOP macro
14854 2006-10-12 Harry Eaton * haceaton AT users dot sourceforge dot net *
14856 * src/create.c, src/global.h, src/heap.h, src/polygon.c,
14857 src/polygon1.c: fix GROUP_LOOP macro, optimize hole insertion and
14858 fix some small bugs
14860 ----------------------------------------------------------------------
14862 2006-10-12 Harry Eaton * haceaton AT users dot sourceforge dot net *
14864 * src/action.c: Morph selections
14866 ----------------------------------------------------------------------
14868 2006-10-11 Dan McMahill * dan AT mcmahill dot net *
14870 * src/hid/lesstif/dialogs.c, src/hid/lesstif/menu.c: fix a few
14873 2006-10-10 Dan McMahill * dan AT mcmahill dot net *
14875 * src/hid/lesstif/dialogs.c: remove some unused variables
14877 2006-10-10 Dan McMahill * dan AT mcmahill dot net *
14879 * src/hid/lesstif/menu.c: - include resource.h before lesstif.h to make sure we get a
14880 prototype for lesstif_note_mouse_resource(). - remove some unused variables.
14882 2006-10-10 Dan McMahill * dan AT mcmahill dot net *
14884 * src/hid/lesstif/main.c: remove some unused variables and add a
14885 missing return value
14887 2006-10-10 Dan McMahill * dan AT mcmahill dot net *
14889 * src/hid/lesstif/lesstif.h: - Be consistent with underscores in __RESOURCE_INCLUDED__. Now this
14890 file matches what resource.h has! - Add a couple of missing prototypes.
14892 2006-10-10 Dan McMahill * dan AT mcmahill dot net *
14894 * src/resource.h: be consistent with underscores in
14895 __RESOURCE_INCLUDED__
14897 2006-10-10 Harry Eaton * haceaton AT users dot sourceforge dot net *
14899 * src/draw.c, src/polyarea.h, src/polygon.c, src/polygon.h,
14900 src/polygon1.c: fix polygon search bug introduced with
14901 optimizations. fix a layer group bug in polygon clearing. speed up
14902 gerber generation a little
14904 ----------------------------------------------------------------------
14906 2006-10-09 Dan McMahill * dan AT mcmahill dot net *
14908 * doc/version.texi: regen
14910 2006-10-09 Dan McMahill * dan AT mcmahill dot net *
14912 * configure, configure.ac: bump rev to 1.99u in light of the clipper
14915 2006-10-09 Dan McMahill * dan AT mcmahill dot net *
14917 * doc/actions.texi, doc/ideas/database.txt, doc/pcbfile.texi,
14918 src/Makefile.am, src/Makefile.in, src/action.c, src/autoplace.c,
14919 src/autoroute.c, src/buffer.c, src/buffer.h, src/change.c,
14920 src/change.h, src/command.c, src/compat.c, src/const.h, src/copy.c,
14921 src/copy.h, src/create.c, src/crosshair.c, src/dev_ps.c,
14922 src/dev_ps.h, src/dev_rs274x.c, src/dev_rs274x.h, src/djopt.c,
14923 src/draw.c, src/drill.c, src/file.c, src/find.c, src/fontmode.c,
14924 src/global.h, src/hid.h, src/hid/batch/batch.c, src/hid/bom/bom.c,
14925 src/hid/common/extents.c, src/hid/common/hidnogui.c,
14926 src/hid/gerber/gerber.c, src/hid/gtk/gtkhid-main.c,
14927 src/hid/gtk/gui-pinout-window.c, src/hid/lesstif/main.c,
14928 src/hid/lpr/lpr.c, src/hid/png/png.c, src/hid/ps/eps.c,
14929 src/hid/ps/ps.c, src/insert.c, src/line.c, src/macro.h, src/main.c,
14930 src/mirror.c, src/misc.c, src/misc.h, src/move.c, src/mtspace.c,
14931 src/mymem.c, src/netlist.c, src/parse_y.y, src/polyarea.h,
14932 src/polygon.c, src/polygon.h, src/polygon1.c, src/print.c,
14933 src/puller.c, src/rats.c, src/remove.c, src/report.c, src/rotate.c,
14934 src/rtree.c, src/rubberband.c, src/search.c, src/search.h,
14935 src/select.c, src/strflags.c, src/thermal.c, src/thermal.h,
14936 src/undo.c, src/undo.h, src/vendor.c: Merge clipper branch back to
14939 2006-10-08 DJ Delorie * dj AT delorie dot com *
14941 * src/hid/common/hidinit.c: Add RTLD_GLOBAL.
14943 2006-10-07 Dan McMahill * dan AT mcmahill dot net *
14945 * src/hid/common/hidinit.c: add missing header for Message()
14946 prototype and remove an unused variable
14948 2006-10-07 Dan McMahill * dan AT mcmahill dot net *
14950 * src/hid.h: add missing hid_{load,save}_settings prototypes
14952 2006-10-06 DJ Delorie * dj AT delorie dot com *
14954 * src/hid/gtk/gui-dialog-print.c: Minor bug fix for exporter.
14956 2006-10-05 DJ Delorie * dj AT delorie dot com *
14958 * src/hid.h, src/hid/common/hidinit.c,
14959 src/hid/gtk/gui-dialog-print.c, src/hid/lesstif/dialogs.c,
14960 src/main.c: Add global "exporter" option.
14962 2006-10-02 DJ Delorie * dj AT delorie dot com *
14964 * doc/actions.texi, src/action.c, src/hid.h,
14965 src/hid/common/hidinit.c, src/main.c: Load settings from
14966 ./pcb.settings and ~/.pcb/settings. Add :savesettings action.
14968 2006-10-02 DJ Delorie * dj AT delorie dot com *
14970 * src/hid/common/hidinit.c: Remove debugging printf.
14972 2006-10-02 DJ Delorie * dj AT delorie dot com *
14974 * src/hid/common/hidinit.c: Fix plugin init function logic.
14976 2006-10-02 DJ Delorie * dj AT delorie dot com *
14978 * configure, configure.ac, src/hid.h, src/hid/batch/batch.c,
14979 src/hid/bom/bom.c, src/hid/common/extents.c,
14980 src/hid/common/hidinit.c, src/hid/common/hidnogui.c,
14981 src/hid/gerber/gerber.c, src/hid/gtk/gtkhid-main.c,
14982 src/hid/lesstif/main.c, src/hid/lpr/lpr.c, src/hid/png/png.c,
14983 src/hid/ps/eps.c, src/hid/ps/ps.c: Dynamically load plug-ins (hids,
14984 actions, etc) at runtime.
14986 2006-10-01 Dan McMahill * dan AT mcmahill dot net *
14988 * win32/build_pcb: extract the version from configure.ac instead of
14991 2006-10-01 DJ Delorie * dj AT delorie dot com *
14993 * src/hid/lesstif/menu.c: Fix off-by-one error.
14995 2006-10-01 Dan McMahill * dan AT mcmahill dot net *
14997 * config.h.in, configure, configure.ac: Check for popen(). So far
14998 nothing is done as a result of this.
15000 2006-10-01 Dan McMahill * dan AT mcmahill dot net *
15002 * win32/build_pcb: It should be "-mms-bitfields" instead of
15003 "--mms-bitfields". Noted by Cesar Strauss.
15005 2006-09-30 DJ Delorie * dj AT delorie dot com *
15007 * configure, configure.ac: Add -rdynamic when it's available.
15009 2006-09-30 DJ Delorie * dj AT delorie dot com *
15011 * src/todo: I did the one about separate ps files.
15013 2006-09-29 Dan McMahill * dan AT mcmahill dot net *
15015 * configure, configure.ac, win32/build_pcb: Move the gcc flags that
15016 cause builds under cygwin to produce non-cygwin binaries out of the
15017 configure script and into the script which is used to build a
15018 non-cygwin binary under cygwin. The end result should be the same for users who use
15019 ./win32/build_pcb but users who wish to compile a cygwin binary
15020 should be able to now. Adapated from patch #1567401 "Re-enabling the Cygwin port" by Cesar
15023 2006-09-27 Dan McMahill * dan AT mcmahill dot net *
15025 * doc/extract-docs: make this script more robust with respect to the
15026 formatting of the help and syntax strings. In particular, variable
15027 whitespace is now allowed in the "static const char" declaration and
15028 the string may not begin on the same line as the declaration. This
15029 allows the source code to run through indent(1) and still have the
15030 docs extracted properly.
15032 2006-09-26 Dan McMahill * dan AT mcmahill dot net *
15034 * configure, configure.ac: We don't directly need X stuff anymore
15035 unless we're using the lesstif HID so don't look for X except in
15036 that case. This avoids some issues seen on some systems which have
15037 older libraries in /usr/X11R6/lib (like freetype or fontconfig).
15039 2006-09-25 Dan McMahill * dan AT mcmahill dot net *
15041 * src/hid/lesstif/dialogs.c: use the unified "about" string.
15043 2006-09-25 Dan McMahill * dan AT mcmahill dot net *
15045 * src/mymem.c, src/mymem.h: const-ify DSAddString
15047 2006-09-25 Dan McMahill * dan AT mcmahill dot net *
15049 * src/hid/gtk/gui-dialog.c, src/misc.c, src/misc.h: Improve the gtk
15050 "about" dialog box output to explicitly list the HID's which have
15051 been compiled in. As part of this, pull out the code which
15052 generates the text of the dialog box into its own function so that
15053 it can be used by other HID's.
15055 2006-09-25 DJ Delorie * dj AT delorie dot com *
15057 * src/draw.c: A layer group that only contains a layer named
15058 "outline" or "route" will not have pins, pads, or vias drawn.
15060 2006-09-25 DJ Delorie * dj AT delorie dot com *
15062 * src/hid/common/flags.c: A layer group containing only an "outline"
15063 or "route" layer will be named "outline" when exported.
15065 2006-09-25 DJ Delorie * dj AT delorie dot com *
15067 * src/hid/gerber/gerber.c: Add a --verbose option to list gerber
15068 files as they're printed.
15070 2006-09-24 Dan McMahill * dan AT mcmahill dot net *
15072 * src/rats.c: When optimizing rats, if there are > 0 of them,
15073 display a message indicating how many. This way when the layout is
15074 not complete you see how far you have to go and also you see that
15075 the operation has done something.
15077 2006-09-24 DJ Delorie * dj AT delorie dot com *
15079 * src/draw.c: If Settings.RatThickness is less than 20, it's a pixel
15080 size, not a pcb size.
15082 2006-09-24 DJ Delorie * dj AT delorie dot com *
15084 * src/hid/lesstif/main.c: Display remaining rats in status bar.
15086 2006-09-24 DJ Delorie * dj AT delorie dot com *
15088 * src/hid/gtk/gui-output-events.c, src/hid/gtk/gui-top-window.c,
15089 src/search.h: Note pixel slop in gtk hid. Increase slop to 10
15092 2006-09-22 Dan McMahill * dan AT mcmahill dot net *
15094 * src/fontmode.c: add missing return value
15096 2006-09-22 Dan McMahill * dan AT mcmahill dot net *
15098 * src/create.c, src/file.c: remove some unused variables
15100 2006-09-22 DJ Delorie * dj AT delorie dot com *
15102 * src/buffer.c: Fix bug in poly point sorting for element
15105 2006-09-22 DJ Delorie * dj AT delorie dot com *
15107 * src/buffer.c: Allow rectangular polygons when converting a buffer
15110 2006-09-21 DJ Delorie * dj AT delorie dot com *
15112 * src/drill.c, src/mymem.c: Avoid attempts to realloc to zero bytes.
15114 2006-09-21 DJ Delorie * dj AT delorie dot com *
15116 * src/action.c: Fix undo for MinMaskGap()
15118 2006-09-21 DJ Delorie * dj AT delorie dot com *
15120 * doc/actions.texi, src/action.c: Add MinMaskGap() action.
15122 2006-09-20 DJ Delorie * dj AT delorie dot com *
15124 * src/hid/ps/ps.c: Add multi-file output option.
15126 2006-09-20 DJ Delorie * dj AT delorie dot com *
15128 * src/hid/common/flags.c, src/hid/gerber/gerber.c, src/hid/hidint.h:
15129 Break out layer->filename code. Fix bug in top/bottom detection.
15131 2006-09-14 Dan McMahill * dan AT mcmahill dot net *
15133 * src/hid/gerber/gerber.c: If the output file(s) can't be opened for
15134 writing then spit out an error message instead of segfaulting. The
15135 segfaults were noted in bug [ 1556894 ] "segfault when exporting to
15136 non-existing directory" reported by Stephan Boettcher.
15138 2006-09-13 DJ Delorie * dj AT delorie dot com *
15140 * src/draw.c: Draw the elements' marks.
15142 2006-09-13 Dan McMahill * dan AT mcmahill dot net *
15144 * lib/amp.inc, lib/amphenol.inc, lib/bga.inc, lib/bourns.inc,
15145 lib/connector.inc, lib/dil.inc, lib/gtag.m4, lib/johnstech.inc,
15146 lib/lsi.m4, lib/misc.inc, lib/pci.inc, lib/plcc.inc, lib/qfn.inc,
15147 lib/qfp.inc, lib/qfp2.inc, lib/qfpdj.inc, lib/resistor_adjust.inc,
15148 lib/to.inc, lib/zif.inc: quote the refdes parameter (name on board
15149 parameter) on the PKG_* macros. This prevents problems when a
15150 refdes matches the name of a macro and m4 expands it. Patch
15151 provided by Peter Clifton.
15153 2006-09-13 Dan McMahill * dan AT mcmahill dot net *
15155 * lib/to.inc: remove a ' in an output comment line which threw off a
15156 closing ) that broke the TO3_90 element.
15158 2006-09-13 DJ Delorie * dj AT delorie dot com *
15160 * src/hid/common/actions.c: * pcjc2 AT cam dot ac dot uk * Patch to
15161 fix bug #1553558, Stack corruption PCB bug in hid_parse_actions
15163 2006-09-04 Dan McMahill * dan AT mcmahill dot net *
15165 * configure, configure.ac, lib/Makefile.am, lib/Makefile.in,
15166 lib/m4lib_to_newlib.sh.in: Go ahead and let configure process the
15167 m4lib_to_newlib script. Also remove a couple of hardcoded paths in
15170 2006-09-03 Dan McMahill * dan AT mcmahill dot net *
15172 * lib/to.inc: Fix up the pads and drill sizes on the TO* packages.
15173 Based on patch [ 1108881 ] "Fix to m4 library hole sizes" by Walter
15174 Fetter Lages. I added comments containing the actual dimensions
15175 from the JEDEC drawings and comments about how the pad size and
15176 drill size were selected. Based on the JEDEC drawings I adjusted
15177 some of the drill and pad sizes. I did not change or examine pin
15178 locations, numbering, or silk.
15180 2006-09-03 Dan McMahill * dan AT mcmahill dot net *
15182 * lib/misc.inc: improve the drill sizes for several footprints.
15183 Changes provided by patch [ 1108881 ] "Fix to m4 library hole sizes"
15184 by Walter Fetter Lages.
15186 2006-09-02 Dan McMahill * dan AT mcmahill dot net *
15188 * src/hid/common/hidinit.c: ensure that derive_default_filename()
15189 always comes back with a valid string even when we don't have a name
15190 for the pcbfile. This fixes bug [ 1548756 ] "Segfault when
15191 exporting png files" reported by Werner Hoch.
15193 2006-09-01 Dan McMahill * dan AT mcmahill dot net *
15195 * lib/connector.inc: increase PKG_CONNECTOR and PKG_CONNECTOR_DIL
15196 hole size to something more reasonable.
15198 2006-09-01 Dan McMahill * dan AT mcmahill dot net *
15200 * lib/geda.inc: - remove the BRE* footprints. The required PKG_RECTANGULAR macro
15201 doesn't exist anywhere and I can't figure out what the correct
15202 behaviour should be anyway so rather than propagate a very
15203 questionable footprint name, kill it right here. - Fix the problem where the ACY*P and RCY*P packages called
15204 non-existant macros. They now produce the same footprints as the
15205 ACY* and RCY* packages but with a polarity marking. The suitability
15206 for any particular part number should be still verified before using
15209 2006-09-01 Dan McMahill * dan AT mcmahill dot net *
15211 * lib/misc.inc: expand the PKG_AXIAL_LAY and PKG_RADIAL_CAN macros
15212 to take an extra optional argument. When set to 1, this optional
15213 argument causes the part to have a "+" by pin 1 and "-" by pin 2.
15214 This was done instead of implementing the missing
15215 PKG_AXIAL_LAY_POLAR and PKG_RADIAL_CAN_POLAR macros.
15217 2006-09-01 Dan McMahill * dan AT mcmahill dot net *
15219 * lib/m4lib_to_newlib.sh.in: Rather than putting a huge list of
15220 footprints into one index file, break it out by library.
15222 2006-09-01 Dan McMahill * dan AT mcmahill dot net *
15224 * lib/geda.inc: remove unused PKG_DUMMY which did not do anything
15227 2006-09-01 Dan McMahill * dan AT mcmahill dot net *
15229 * lib/m4lib_to_newlib.sh.in: - put both the index.html file and the broken.html file in the
15230 output directory. - run pcb-bin from the src build directory to avoid complaints about
15231 not being able to find the font - use .fp as the file extension for footprints - fix up the .png output file names - fix up the links in the index file
15233 2006-09-01 DJ Delorie * dj AT delorie dot com *
15235 * src/action.c: Shift-click replaces element on pcb with element in
15238 2006-08-30 DJ Delorie * dj AT delorie dot com *
15240 * doc/actions.texi, doc/pcbfile.texi, doc/version.texi: Regenerate
15243 2006-08-30 DJ Delorie * dj AT delorie dot com *
15245 * src/parse_y.y: Doc typo.
15247 2006-08-30 DJ Delorie * dj AT delorie dot com *
15249 * src/copy.c: Copy attributes when copying element data.
15251 2006-08-30 DJ Delorie * dj AT delorie dot com *
15253 * src/create.c, src/create.h, src/file.c, src/global.h,
15254 src/parse_l.l, src/parse_y.y: Add arbitrary attributes to PCB and
15255 Element types. Ignore optional flags on Layer types.
15257 2006-08-30 DJ Delorie * dj AT delorie dot com *
15259 * src/draw.c: Remove obsolete comment.
15261 2006-08-29 Dan McMahill * dan AT mcmahill dot net *
15263 * lib/m4lib_to_newlib.sh.in: add the start of a m4lib to newlib
15266 2006-08-28 Dan McMahill * dan AT mcmahill dot net *
15268 * Makefile.in, README_FILES/Makefile.in, doc/Makefile.in,
15269 example/Makefile.in, example/libraries/Makefile.in,
15270 lib/Makefile.in, newlib/2_pin_thru-hole_packages/Makefile.in,
15271 newlib/Makefile.in, newlib/analog-devices/Makefile.in,
15272 newlib/burr-brown/Makefile.in, newlib/connectors/Makefile.in,
15273 newlib/crystal/Makefile.in, newlib/cypress/Makefile.in,
15274 newlib/electro-optics/Makefile.in,
15275 newlib/generic_SMD_packages/Makefile.in,
15276 newlib/headers/Makefile.in, newlib/msp430/Makefile.in,
15277 newlib/not_vetted_ingo/Makefile.in, newlib/sockets/Makefile.in,
15278 newlib/tests/Makefile.in, newlib/toko/Makefile.in, src/Makefile.in,
15279 src/icons/Makefile.in, src/script/Makefile.in, tools/Makefile.in,
15280 tutorial/Makefile.in, win32/Makefile.in: regen after the lex/yacc
15281 configure.ac change
15283 2006-08-27 DJ Delorie * dj AT delorie dot com *
15285 * src/hid/lesstif/main.c: Constrain arc start angles to -180..180
15288 2006-08-24 DJ Delorie * dj AT delorie dot com *
15290 * src/netlist.c: Fix rats enable/disable code.
15292 2006-08-23 Dan McMahill * dan AT mcmahill dot net *
15294 * configure, configure.ac: error out if yacc or lex could not be
15297 2006-08-23 Dan McMahill * dan AT mcmahill dot net *
15299 * doc/version.texi: bump rev after 20060822 branch
15301 2006-08-23 Dan McMahill * dan AT mcmahill dot net *
15303 * configure, configure.ac: bump rev after 20060822 branch
15305 2006-08-23 DJ Delorie * dj AT delorie dot com *
15307 * src/hid/ps/eps.c: When printing as-shown, mirror the image if
15308 we're viewing the solder side.
15310 2006-08-23 DJ Delorie * dj AT delorie dot com *
15312 * src/hid/ps/eps.c: Don't consider off layers for fast mask. Don't
15315 2006-08-22 DJ Delorie * dj AT delorie dot com *
15317 * src/hid/ps/eps.c: Don't print invisible silk.
15319 2006-08-22 Dan McMahill * dan AT mcmahill dot net *
15321 * README.snapshots: add a note about how I test the distcheck target
15322 for the lesstif HID
15324 2006-08-22 DJ Delorie * dj AT delorie dot com *
15326 * src/find.c: Special case: allow vias with exactly zero clearance.
15328 2006-08-22 Dan McMahill * dan AT mcmahill dot net *
15330 * ChangeLog, NEWS, README.snapshots: update for 20060822 snapshot
15332 2006-08-22 DJ Delorie * dj AT delorie dot com *
15334 * src/hid/lesstif/main.c: fill_rect needs the same point-ordering as
15337 2006-08-22 DJ Delorie * dj AT delorie dot com *
15339 * src/change.c: Allow via clearance to be reduced to zero.
15341 2006-08-22 DJ Delorie * dj AT delorie dot com *
15343 * src/draw.c: If a pad/via's clearance is zero, don't attempt to
15344 draw a zero-width clear.
15346 2006-08-21 DJ Delorie * dj AT delorie dot com *
15348 * src/main.c: Add default colors for layers 9..16
15350 2006-08-21 DJ Delorie * dj AT delorie dot com *
15352 * src/file.c: post-initialize PCBs loaded from files.
15354 2006-08-21 DJ Delorie * dj AT delorie dot com *
15356 * src/pcb-menu.res: Let right-mouse do "rotate" for now.
15358 2006-08-21 DJ Delorie * dj AT delorie dot com *
15360 * src/search.c, src/todo: Don't let search find backsilk if
15361 invisible objects are off.
15363 2006-08-21 DJ Delorie * dj AT delorie dot com *
15365 * src/draw.c: Draw via annulii on assembly drawings.
15367 2006-08-18 Dan McMahill * dan AT mcmahill dot net *
15369 * configure, doc/actions.texi, doc/pcbfile.texi: regen
15371 2006-08-18 Dan McMahill * dan AT mcmahill dot net *
15373 * src/action.c, src/global.h, src/undo.c, src/undo.h: add a
15374 Renumber() action which renumbers reference designators and outputs
15375 a "was/is" sort of file which can be used for back annotation if
15376 someone writes a utility to apply those changes to a schematic. For now Renumber() is still considered somewhat experimental and
15377 hence is not hooked up to the menus yet.
15379 2006-08-15 DJ Delorie * dj AT delorie dot com *
15381 * configure, configure.ac: Add X_CFLAGS to CFLAGS so that Xm/Xm.h
15384 2006-08-15 Dan McMahill * dan AT mcmahill dot net *
15386 * src/hid/ps/ps.c: add header for a missing prototype
15388 2006-08-15 Dan McMahill * dan AT mcmahill dot net *
15390 * src/action.c: Apply patch from patch [ 1496742 ] Make 'a' key
15391 (SetSame) work again submitted by Wim Lewis.
15393 2006-08-14 Dan McMahill * dan AT mcmahill dot net *
15395 * configure, configure.ac: when pkg-config fails to find the desired
15396 version of gtk or glib, then print the pkg-config output as part of
15397 the error message. Suggested in bug # 1507555 by Mark Whitis.
15399 2006-08-14 Dan McMahill * dan AT mcmahill dot net *
15401 * lib/geda.inc: use 0.01 mm instead of 0.05 mm for the roundoff for
15402 01005 footprints because they are so small. This bumps the gap
15403 between pads just over 6 mils instead of just under 6 mils.
15405 2006-08-11 Dan McMahill * dan AT mcmahill dot net *
15407 * src/hid/lpr/lpr.c: Fix bug [ 1534098 ] Segmentation fault in GTK
15408 print dialog reported by Mark Rages. Symptom was changing the lpr
15409 command in the gtk dialog box gave an instant crash.
15411 2006-08-10 Dan McMahill * dan AT mcmahill dot net *
15413 * src/Makefile.am, src/Makefile.in: add hid/batch/batch_lists.h to
15416 2006-08-10 Dan McMahill * dan AT mcmahill dot net *
15418 * lib/geda.inc: Add 01005 footprints.
15420 2006-08-04 Dan McMahill * dan AT mcmahill dot net *
15422 * src/copy.c: Remove extra calls to Draw(). This greatly speeds up
15423 copy operations. This is especially true when pasting large blocks
15424 of layout. Patch supplied by Tibor Palinkas as patch #1532922.
15426 2006-08-03 DJ Delorie * dj AT delorie dot com *
15428 * src/Makefile.am, src/Makefile.in, src/fontmode.c: Add font editing
15429 mode (FontEdit() and FontSave())
15431 2006-08-03 DJ Delorie * dj AT delorie dot com *
15433 * src/file.c: Use the old style (mil) syntax when saving font info,
15434 if the values permit it, for readability and to save file space.
15436 2006-08-03 DJ Delorie * dj AT delorie dot com *
15438 * src/action.c: Allow New() to take a name, so that the user need
15439 not be prompted during scripts and such.
15441 2006-08-03 DJ Delorie * dj AT delorie dot com *
15443 * src/move.c: When deleting a layer, make sure to zero out the
15444 now-unused slot at the end.
15446 2006-08-02 Dan McMahill * dan AT mcmahill dot net *
15448 * configure, configure.ac: After running PATH_XTRA and checking for
15449 various X libs (Xpm, etc), we need to use $X_LIBS as part of LIBS in
15450 subsequent library tests or we'll have a failure. This should
15451 address some issues noted recently on one of the gEDA lists and
15452 configuring with lesstif and the png HID's.
15454 2006-08-02 DJ Delorie * dj AT delorie dot com *
15456 * src/Pcb.ad.in, src/Pcb.ad.raw, src/Pcb.ad.small, src/action.c,
15457 src/autoroute.c, src/buffer.c, src/create.c, src/crosshair.c,
15458 src/data.c, src/dev_rs274x.c, src/djopt.c, src/draw.c, src/error.c,
15459 src/file.c, src/find.c, src/hid/gtk/gtkhid-main.c,
15460 src/hid/lesstif/main.c, src/line.c, src/misc.c, src/mtspace.h,
15461 src/mymem.c, src/netlist.c, src/output.c, src/parse_l.l,
15462 src/parse_y.y, src/polygon.c, src/puller.c, src/rats.c,
15463 src/rtree.c, src/rubberband.c, src/search.c, src/select.c,
15464 src/undo.c: spelling fixes from Larry.
15466 2006-08-02 DJ Delorie * dj AT delorie dot com *
15468 * src/hid/ps/ps.c, src/print.c, src/print.h: When the drill list
15469 fits "naturally", no offset is added, which makes me happy. When
15470 the drill list would otherwise fall off the left edge of the paper,
15471 just enough offset is added to keep that from happening.
15473 2006-08-02 DJ Delorie * dj AT delorie dot com *
15475 * src/hid/lesstif/netlist.c: Allow extended selections.
15477 2006-08-01 Dan McMahill * dan AT mcmahill dot net *
15479 * README.cvs: - Note that automake-1.7 and older are too old. - Add a pointer to the README.snapshot document
15481 2006-07-26 DJ Delorie * dj AT delorie dot com *
15483 * src/file.c: Enable loaded netlists by default.
15485 2006-07-26 DJ Delorie * dj AT delorie dot com *
15487 * src/hid/lesstif/lesstif.h, src/hid/lesstif/main.c,
15488 src/hid/lesstif/menu.c, src/pcb-menu.res: Add the ability to
15489 user-configure mouse actions.
15491 2006-07-24 DJ Delorie * dj AT delorie dot com *
15493 * src/hid/lesstif/lesstif.h, src/hid/lesstif/main.c,
15494 src/hid/lesstif/menu.c: Add support for multi-key hotkeys, via
15495 <Keys>abc syntax for a/b/c sequence.
15497 2006-07-23 DJ Delorie * dj AT delorie dot com *
15499 * src/hid/lesstif/dialogs.c: use "top" and "bottom" to describe the
15500 side flags, instead of using "solder" and "component", which are
15501 common layer names.
15503 2006-07-20 Harry Eaton * haceaton AT users dot sourceforge dot net *
15505 * src/autoroute.c, src/mtspace.c, src/rtree.c: Various improvements
15506 to speed up auto-routing. Mainly optimizing the r-tree searching
15509 ----------------------------------------------------------------------
15511 2006-07-14 DJ Delorie * dj AT delorie dot com *
15513 * src/crosshair.c, src/hid/gtk/gtkhid-main.c,
15514 src/hid/lesstif/main.c: Fix draw_rect vs board flipping bug.
15516 2006-07-14 DJ Delorie * dj AT delorie dot com *
15518 * src/autoplace.c, src/djopt.c, src/main.c, src/move.c, src/mymem.c:
15519 Minor patches from Larry.
15521 2006-07-13 Harry Eaton * haceaton AT users dot sourceforge dot net *
15523 * src/autoroute.c, src/rats.c: fix some autorouter bugs and improve
15524 ability to round around non-manhattan lines
15526 ----------------------------------------------------------------------
15528 2006-07-10 Dan McMahill * dan AT mcmahill dot net *
15530 * src/Makefile.am, src/Makefile.in: remove circular dependency which
15531 breaks non-GNU make programs.
15533 2006-07-08 Dan McMahill * dan AT mcmahill dot net *
15535 * INSTALL: summarize the dependencies for building pcb
15537 2006-07-08 Dan McMahill * dan AT mcmahill dot net *
15539 * INSTALL: fix a typo
15541 2006-07-08 Dan McMahill * dan AT mcmahill dot net *
15543 * README: remove some redundant and out of date notes
15545 2006-07-07 DJ Delorie * dj AT delorie dot com *
15547 * src/misc.c: Fix minor rounding bug in c_dtostr().
15549 2006-07-07 DJ Delorie * dj AT delorie dot com *
15551 * src/misc.c: Fix layer group parsing code. Avoid trailing colon in
15554 2006-07-04 Dan McMahill * dan AT mcmahill dot net *
15556 * src/hid/bom/bom.c, src/hid/common/hidinit.c,
15557 src/hid/gerber/gerber.c, src/hid/gtk/gui-top-window.c,
15558 src/hid/hidint.h, src/hid/png/png.c, src/hid/ps/eps.c,
15559 src/hid/ps/ps.c: Apply a patch from Larry Doolittle. Refactors filename handling code common to the file export HIDs
15560 (bom, gerber, png, eps, ps). The png code had one feature (last_made_filename) that was missing
15561 in the others. This refactoring brings all the HIDs to feature
15562 parity, which lets pcb -x bom --bomfile=foo.txt bar.pcb work as expected. The old code ignores the command line flag, and
15563 writes the bom to bar.bom. Likewise for .xy, .gbr, .eps, and .ps
15564 files. Also fixes a couple of spelling errors.
15566 2006-07-04 Dan McMahill * dan AT mcmahill dot net *
15568 * doc/actions.texi, doc/pcbfile.texi, src/Makefile.in,
15569 src/action.c, src/create.c, src/dev_rs274x.c, src/drill.c,
15570 src/file.c, src/find.c, src/mymem.c, src/mymem.h, src/parse_l.l,
15571 src/rats.c, src/remove.c, src/undo.c: Apply a patch from Larry
15572 Doolittle that switches from the MyFree() function to the new
15573 MYFREE() macro to avoid strict aliasing violations.
15575 2006-06-26 DJ Delorie * dj AT delorie dot com *
15577 * src/djopt.c: Don't delete vias with thermals. Try to split
15578 diagonal lines at pins and vias.
15580 2006-06-25 DJ Delorie * dj AT delorie dot com *
15582 * src/todo: MoveLayers cleanup tasks - thermals, pips, undo
15584 2006-06-22 Dan McMahill * dan AT mcmahill dot net *
15586 * README.cvs: add a comment about needing the png HID for building
15589 2006-06-21 DJ Delorie * dj AT delorie dot com *
15591 * src/hid/lesstif/main.c: Account for board flipping when zooming.
15593 2006-06-11 DJ Delorie * dj AT delorie dot com *
15595 * src/action.c: Remove obsolete ActionSwapSides()
15597 2006-06-11 DJ Delorie * dj AT delorie dot com *
15599 * src/hid/lesstif/main.c, src/pcb-menu.res: Merge lesstif's Flip()
15600 action into SwapSides to avoid conflict with core Flip().
15602 2006-06-11 DJ Delorie * dj AT delorie dot com *
15604 * src/hid/lesstif/menu.c: Print actions called when verbose.
15606 2006-06-10 DJ Delorie * dj AT delorie dot com *
15608 * globalconst.h, src/action.c, src/autoplace.c, src/autoroute.c,
15609 src/buffer.c, src/copy.c, src/create.c, src/create.h,
15610 src/crosshair.c, src/data.h, src/djopt.c, src/draw.c, src/file.c,
15611 src/find.c, src/global.h, src/hid/common/extents.c,
15612 src/hid/common/flags.c, src/hid/gerber/gerber.c,
15613 src/hid/gtk/gtkhid-main.c, src/hid/gtk/gui-config.c,
15614 src/hid/gtk/gui-top-window.c, src/hid/gtk/gui.h,
15615 src/hid/lesstif/dialogs.c, src/hid/lesstif/main.c,
15616 src/hid/lesstif/menu.c, src/hid/png/png.c, src/hid/ps/eps.c,
15617 src/hid/ps/ps.c, src/line.c, src/macro.h, src/main.c, src/misc.c,
15618 src/misc.h, src/move.c, src/move.h, src/parse_y.y,
15619 src/pcb-menu.res, src/polygon.c, src/print.c, src/rats.c,
15620 src/rtree.c, src/rubberband.c, src/search.c, src/undo.c, src/undo.h:
15621 flexible max_layers
15623 2006-06-09 DJ Delorie * dj AT delorie dot com *
15625 * src/hid/lesstif/main.c: Compensate for board flipping in the
15628 2006-06-06 DJ Delorie * dj AT delorie dot com *
15630 * src/hid/gerber/gerber.c: Fix rounding bug when collecting drill
15633 2006-06-03 DJ Delorie * dj AT delorie dot com *
15635 * src/djopt.c: Fix logic a bit, don't try to move pins.
15637 2006-06-03 DJ Delorie * dj AT delorie dot com *
15639 * src/pcb-menu.res: Syntax fix for DisperseElements()
15641 2006-05-29 DJ Delorie * dj AT delorie dot com *
15643 * src/todo: Remove lesstif board flipping item.
15645 2006-05-29 DJ Delorie * dj AT delorie dot com *
15647 * src/hid/lesstif/main.c, src/pcb-menu.res: Add Flip action, both
15648 vertical and horizontal.
15650 2006-05-29 DJ Delorie * dj AT delorie dot com *
15652 * src/djopt.c: Adjust endpoints of lines that don't quite reach
15655 2006-05-21 DJ Delorie * dj AT delorie dot com *
15657 * src/hid/lesstif/menu.c, src/report.c: Report on locked objects if
15658 there are no unlocked objects under the cursor. Save the cursor
15659 position even if we don't initially need it, in case we call an
15662 2006-05-21 DJ Delorie * dj AT delorie dot com *
15664 * src/hid/gerber/gerber.c: Reset layer value cache before we
15665 shortcut for counting apertures.
15667 2006-05-20 DJ Delorie * dj AT delorie dot com *
15669 * src/draw.c, src/hid.h, src/hid/common/extents.c,
15670 src/hid/gerber/gerber.c, src/hid/gtk/gtkhid-main.c,
15671 src/hid/lesstif/main.c, src/hid/png/png.c, src/hid/ps/eps.c,
15672 src/hid/ps/ps.c: Split plated and unplated drills in gerber output.
15674 2006-05-20 DJ Delorie * dj AT delorie dot com *
15676 * src/hid/gerber/gerber.c: Name internal gerber layers sanely.
15678 2006-05-20 DJ Delorie * dj AT delorie dot com *
15680 * src/hid/gerber/gerber.c: Change gerber names to be compatible with
15683 2006-05-20 DJ Delorie * dj AT delorie dot com *
15685 * src/const.h, src/search.c: Ignore locked objects unless
15686 LOCKED_TYPE is passed (lock tool).
15688 2006-05-16 Dan McMahill * dan AT mcmahill dot net *
15690 * configure, configure.ac: add the batch HID to the list of gui HIDs
15693 2006-05-15 DJ Delorie * dj AT delorie dot com *
15695 * src/hid/gtk/gui-top-window.c: Fig typo in ChangeDrillSize menu.
15697 2006-05-15 DJ Delorie * dj AT delorie dot com *
15699 * src/hid/batch/batch.c: Fix test for interactiveness.
15701 2006-05-15 DJ Delorie * dj AT delorie dot com *
15703 * src/Makefile.am, src/Makefile.in, src/hid/batch/batch.c,
15704 src/hid/batch/hid.conf: Add batch-mode HID.
15706 2006-05-14 DJ Delorie * dj AT delorie dot com *
15708 * src/crosshair.c: Fix drawing of box around text items in buffer.
15710 2006-05-14 DJ Delorie * dj AT delorie dot com *
15712 * src/draw.c: Add support for drawing/exporting paste layers.
15714 2006-05-01 Dan McMahill * dan AT mcmahill dot net *
15716 * doc/actions.texi, doc/version.texi, src/action.c: add Message()
15719 2006-04-30 Dan McMahill * dan AT mcmahill dot net *
15721 * src/buffer.c: fix a bug where mirroring a buffer with only traces
15722 triggered the "can't mirror a buffer with text" if there was text
15723 anywhere in the layout. Patch provided as part of bug #1467446.
15725 2006-04-29 Bill Wilson * billw2 AT users dot sourceforge dot net *
15727 * src/hid/gtk/gtkhid-main.c, src/hid/gtk/gui-dialog.c,
15728 src/hid/gtk/gui-top-window.c: Update status line after menu Save
15729 layout and Save layout as. Change file select response button from "Open" to "Ok". Don't try to Save layout when user hits Cancel and file name is
15732 2006-04-29 Bill Wilson * billw2 AT users dot sourceforge dot net *
15734 * src/hid/gtk/gui-output-events.c, src/hid/gtk/gui-utils.c: Couple
15735 of small typo bugs: a missing "break" and needed -1 arg to size
15738 2006-04-28 Dan McMahill * dan AT mcmahill dot net *
15740 * src/action.c: prevent segfaults when trying to undo in the middle
15741 of drawing ratlines. Problem noted by Daniel Wisehart, fixed by me.
15743 2006-04-28 DJ Delorie * dj AT delorie dot com *
15745 * src/file.c, src/misc.c, src/misc.h, src/parse_l.l: Use
15746 locale-independent strtod and dtostr functions.
15748 2006-04-27 Dan McMahill * dan AT mcmahill dot net *
15750 * config.h.in: regen
15752 2006-04-27 Dan McMahill * dan AT mcmahill dot net *
15754 * INSTALL: minor updates, mention gd-2.0.23 as having been used
15756 2006-04-27 Dan McMahill * dan AT mcmahill dot net *
15758 * configure, configure.ac: if gdlib-config is not found, try and
15759 just check for -lgd on the off chance that it works. The user in
15760 this case may have to add things like -lpng to their LDFLAGS
15761 variable in the environment or just update to a newer version of
15762 gdlib. gdlib-config has been around for at least a few years
15765 2006-04-26 Dan McMahill * dan AT mcmahill dot net *
15767 * README_FILES/Makefile.in: remove obsolete README file
15769 2006-04-26 Dan McMahill * dan AT mcmahill dot net *
15771 * INSTALL: bring the install docs up to date
15773 2006-04-26 Dan McMahill * dan AT mcmahill dot net *
15775 * README-GTK_PORT, README_FILES/INSTALL, README_FILES/Makefile.am,
15776 README_FILES/Makefile.in: remove obsolete README file
15778 2006-04-25 Dan McMahill * dan AT mcmahill dot net *
15780 * configure, configure.ac: complain if the png HID has been
15781 requested but all formats disabled
15783 2006-04-24 Dan McMahill * dan AT mcmahill dot net *
15785 * src/hid/gtk/gui-top-window.c: do not crash if the input pipe
15786 terminates when using --listen
15788 2006-04-24 Dan McMahill * dan AT mcmahill dot net *
15790 * src/hid/lesstif/main.c: remove a debugging printf
15792 2006-04-24 DJ Delorie * dj AT delorie dot com *
15794 * src/global.h: Comment tweak.
15796 2006-04-24 DJ Delorie * dj AT delorie dot com *
15798 * src/global.h: Define on-board objects in terms of base types.
15800 2006-04-23 Dan McMahill * dan AT mcmahill dot net *
15802 * src/buffer.c: when smashing the pastebuffer, don't set the pure
15803 hole flag on the vias unless is was set on the original pin.
15804 Reported by Levente Kovacs on geda-user.
15806 2006-04-23 Dan McMahill * dan AT mcmahill dot net *
15808 * doc/pcb.texi: update newlib creation section for the latest GTK
15809 HID. Addresses bug 1473640.
15811 2006-04-22 Dan McMahill * dan AT mcmahill dot net *
15813 * NEWS: add 20060422 release notes
15815 2006-04-22 Dan McMahill * dan AT mcmahill dot net *
15817 * README.snapshots: update for 20060422
15819 2006-04-22 Dan McMahill * dan AT mcmahill dot net *
15821 * ChangeLog: update for 20060422 snapshot
15823 2006-04-21 Dan McMahill * dan AT mcmahill dot net *
15825 * src/hid/gtk/gui-config.c: Comment out locale.h since the code
15826 which needed that was also commented out. Fixes builds on solaris
15827 with sunpro and the gtk HID.
15829 2006-04-21 Dan McMahill * dan AT mcmahill dot net *
15831 * src/macro.h: protect some GNU C specific stuff with #ifdef
15834 2006-04-21 Dan McMahill * dan AT mcmahill dot net *
15836 * src/hid/gtk/gui-utils.c: change from NONE_PRESSED to
15837 NO_BUTTON_PRESSED since the former is not part of the ButtonState
15838 enum while the latter is.
15840 2006-04-21 Dan McMahill * dan AT mcmahill dot net *
15842 * src/hid/lesstif/main.c: comment out with #if 0 the code related to
15843 lesstif_options and lesstif_resources since those were both empty.
15844 With this change pcb should build correctly on 64-bit Irix-6.5 with
15845 version 7.41 of the MIPSpro compilers. There are still a handful of
15846 compiler warnings to investigate.
15848 2006-04-20 DJ Delorie * dj AT delorie dot com *
15850 * doc/actions.texi, src/hid.h, src/hid/common/actions.c,
15851 src/hid/lesstif/dialogs.c, src/hid/lesstif/library.c,
15852 src/hid/lesstif/main.c, src/hid/lesstif/menu.c,
15853 src/hid/lesstif/netlist.c, src/hid/lesstif/styles.c: Document
15854 lesstif hid actions.
15856 2006-04-20 Dan McMahill * dan AT mcmahill dot net *
15858 * src/box.h, src/find.c: rely on the autoconf test for inline
15859 instead of using our own based on __GNUC__. This will let other
15860 non-gcc C99 compilers take advantage of inline.
15862 2006-04-19 Dan McMahill * dan AT mcmahill dot net *
15864 * config.h.in, configure, configure.ac, doc/actions.texi,
15865 doc/version.texi, src/Makefile.am, src/Makefile.in, src/djopt.c,
15866 src/draw.c, src/file.c, src/flags.c, src/hid/lesstif/dialogs.c,
15867 src/hid/lesstif/library.c, src/hid/lesstif/main.c,
15868 src/hid/lesstif/menu.c, src/hid/lesstif/netlist.c,
15869 src/hid/lesstif/styles.c, src/hid/lesstif/xincludes.h, src/misc.c,
15870 src/parse_y.y, src/strflags.c, src/strflags.h: - add checks for sys/param.h and compiler understanding of 'inline'. - remove a handful of warnings which showed up with the sunpro
15871 compiler. - move the X11 includes into a header where they can be included in
15872 a way which keeps them from messing up the namespace of the rest of pcb. Fixes some obscure warnings from sunpro.
15874 2006-04-19 Dan McMahill * dan AT mcmahill dot net *
15876 * src/hid/png/png.c: get this to properly link when --disable-gif is
15877 used and the installed libgd does not have gif support.
15879 2006-04-19 DJ Delorie * dj AT delorie dot com *
15881 * src/hid/ps/ps.c: Add --psfade option.
15883 2006-04-18 Bill Wilson * billw2 AT users dot sourceforge dot net *
15885 * src/command.c, src/data.c: Clean out Gtk HID related FIXMEs
15887 2006-04-18 Bill Wilson * billw2 AT users dot sourceforge dot net *
15889 * src/draw.c: Clean out Gtk HID related FIXMEs. Also old background
15890 image code which is now done in the Gtk and Lesstif HIDs.
15892 2006-04-18 Bill Wilson * billw2 AT users dot sourceforge dot net *
15894 * src/main.c, src/set.c: Clean out FIXMEs specific to the Gtk HID.
15896 2006-04-18 Bill Wilson * billw2 AT users dot sourceforge dot net *
15898 * src/misc.c, src/misc.h: Remove Gtk HID specific
15899 build_route_string() function.
15901 2006-04-18 Bill Wilson * billw2 AT users dot sourceforge dot net *
15903 * src/hid/gtk/gui-config.c, src/hid/gtk/gui-dialog-size.c,
15904 src/hid/gtk/gui-top-window.c: Fix route style "Save as default" bug. Update status line when new route style selected.
15906 2006-04-17 DJ Delorie * dj AT delorie dot com *
15908 * doc/actions.texi, doc/extract-docs, doc/pcb.texi,
15909 doc/pcbfile.texi, doc/version.texi, src/const.h, src/hid.h,
15910 src/hid/common/actions.c, src/hid/lesstif/main.c, src/parse_y.y:
15911 Remove all the prev-next-up links, reformat all the texi files to
15912 allow for automatic structure generation. Add helper hooks in the
15913 extractor to let the source files control what types of nodes and
15914 document structure is used for each category. Auto-create nodes and
15915 document substructure for each key within each category.
15917 2006-04-17 Bill Wilson * billw2 AT users dot sourceforge dot net *
15919 * src/hid/gtk/gui-config.c, src/hid/gtk/gui-top-window.c,
15920 src/hid/gtk/gui-utils.c, src/hid/gtk/gui.h: For the Gtk HID, add an
15921 alternate vertical window layout mode to help on lower vertical
15922 resolution displays.
15924 2006-04-17 DJ Delorie * dj AT delorie dot com *
15926 * src/netlist.c: Include sys/types.h so that regex compiles on more
15929 2006-04-16 Bill Wilson * billw2 AT users dot sourceforge dot net *
15931 * src/hid/gtk/gtkhid-main.c, src/hid/gtk/gui-command-window.c,
15932 src/hid/gtk/gui-keyref-window.c, src/hid/gtk/gui-library-window.c,
15933 src/hid/gtk/gui-log-window.c, src/hid/gtk/gui-netlist-window.c,
15934 src/hid/gtk/gui-top-window.c, src/hid/gtk/gui.h: Fix soldermask draw
15935 while TAB view from solder side. Don't raise windows if already shown so library & netlist window
15936 won't grab focus. Focus can still be grabbed if an already shown
15937 window is reshown via the top menu bar. Not sure yet how to handle
15940 2006-04-16 Dan McMahill * dan AT mcmahill dot net *
15942 * src/hid/png/png.c: switch the output scaling to default to 100 dpi
15943 instead of fixing the max dimension at 800 pixels. This at makes
15944 the default be a sort of to scale (for 100 dpi monitors it will be
15947 2006-04-15 DJ Delorie * dj AT delorie dot com *
15949 * doc/actions.texi, src/report.c: Document actions in report.c.
15951 2006-04-15 DJ Delorie * dj AT delorie dot com *
15953 * doc/Makefile.am, doc/Makefile.in, doc/actions.texi,
15954 doc/puller.pcb, doc/version.texi, src/puller.c: Document the puller
15957 2006-04-15 Bill Wilson * billw2 AT users dot sourceforge dot net *
15959 * src/hid/gtk/gui-output-events.c: Make ghid_get_coords() x value
15960 account for side viewed (when using TAB).
15962 2006-04-14 Bill Wilson * billw2 AT users dot sourceforge dot net *
15964 * src/hid/gtk/gtkhid-main.c, src/hid/gtk/gui-top-window.c,
15965 src/hid/gtk/gui.h: Support --bg-image in the Gtk HID. Images can be
15966 jpg, png, gif, etc. as supported by the Gdk installation. Zooming gets slow at higher zoom levels, but I can address that
15967 later when I have more time.
15969 2006-04-14 DJ Delorie * dj AT delorie dot com *
15971 * src/global.h: Make sure the Message and return are in the same
15974 2006-04-14 Dan McMahill * dan AT mcmahill dot net *
15976 * src/hid/gtk/gui-top-window.c: make sure we set the default icon
15977 _before_ any windows are created
15979 2006-04-14 Dan McMahill * dan AT mcmahill dot net *
15981 * configure, configure.ac: bump rev after 20060414 branch
15983 2006-04-14 Dan McMahill * dan AT mcmahill dot net *
15985 * NEWS: 20060414 release notes
15987 2006-04-14 Dan McMahill * dan AT mcmahill dot net *
15989 * ChangeLog: update for 20060414 snapshot
15991 2006-04-14 Dan McMahill * dan AT mcmahill dot net *
15993 * README.snapshots: update the instructions a bit
15995 2006-04-14 Dan McMahill * dan AT mcmahill dot net *
15997 * doc/actions.texi: regen
15999 2006-04-14 Dan McMahill * dan AT mcmahill dot net *
16001 * Makefile.am, Makefile.in: fix a distcheck problem
16003 2006-04-14 DJ Delorie * dj AT delorie dot com *
16005 * src/hid/lesstif/main.c: Add --bg-image option to lesstif hid to
16006 load a background image.
16008 2006-04-13 Dan McMahill * dan AT mcmahill dot net *
16010 * src/hid/gtk/gui-top-window.c: on win32, figure out the path to the
16011 installed package so we can set the newlib directory.
16013 2006-04-13 Dan McMahill * dan AT mcmahill dot net *
16015 * src/hid/gtk/gtkhid-main.c: add missing return value
16017 2006-04-13 Dan McMahill * dan AT mcmahill dot net *
16019 * src/compat.c: add a (lame) random() replacement
16021 2006-04-13 Dan McMahill * dan AT mcmahill dot net *
16023 * src/autoplace.c, src/strflags.c: add compat.h header for missing
16026 2006-04-13 Dan McMahill * dan AT mcmahill dot net *
16028 * Makefile.am, Makefile.in, README.win32: add a win32 README file
16030 2006-04-13 Dan McMahill * dan AT mcmahill dot net *
16032 * src/Makefile.am, src/Makefile.in: add a dependency on the icon
16033 resource object if this is win32
16035 2006-04-13 Dan McMahill * dan AT mcmahill dot net *
16037 * win32/Makefile.in: add missing file
16039 2006-04-13 Dan McMahill * dan AT mcmahill dot net *
16041 * : add generated icon file
16043 2006-04-13 Dan McMahill * dan AT mcmahill dot net *
16045 * Makefile.am, Makefile.in: add win32 to SUBDIRS
16047 2006-04-13 Dan McMahill * dan AT mcmahill dot net *
16049 * win32/Makefile.am, win32/Xdefaults.tgif: add a tgif Xdefaults file
16050 needed for generating the correct XPM version
16052 2006-04-13 Dan McMahill * dan AT mcmahill dot net *
16054 * win32/pcb_icon_big.obj, win32/pcb_icon_med.obj,
16055 win32/pcb_icon_sml.obj: replace wcalc icons with placeholder pcb
16058 2006-04-13 Dan McMahill * dan AT mcmahill dot net *
16060 * Makefile.in, README_FILES/Makefile.in, configure, configure.ac,
16061 doc/Makefile.in, example/Makefile.in,
16062 example/libraries/Makefile.in, lib/Makefile.in,
16063 newlib/2_pin_thru-hole_packages/Makefile.in, newlib/Makefile.in,
16064 newlib/analog-devices/Makefile.in, newlib/burr-brown/Makefile.in,
16065 newlib/connectors/Makefile.in, newlib/crystal/Makefile.in,
16066 newlib/cypress/Makefile.in, newlib/electro-optics/Makefile.in,
16067 newlib/generic_SMD_packages/Makefile.in,
16068 newlib/headers/Makefile.in, newlib/msp430/Makefile.in,
16069 newlib/not_vetted_ingo/Makefile.in, newlib/sockets/Makefile.in,
16070 newlib/tests/Makefile.in, newlib/toko/Makefile.in, src/Makefile.am,
16071 src/Makefile.in, src/icons/Makefile.in, src/script/Makefile.in,
16072 tools/Makefile.in, tutorial/Makefile.in: check for a few tools used
16073 to regenerate windows icons
16075 2006-04-13 Dan McMahill * dan AT mcmahill dot net *
16077 * src/error.c, src/file.c, src/find.c, src/main.c, src/misc.c,
16078 win32/build_pcb: add a few more checks to let this build under
16081 2006-04-13 Dan McMahill * dan AT mcmahill dot net *
16083 * config.h.in, configure, configure.ac: check for getcwd()
16085 2006-04-13 Dan McMahill * dan AT mcmahill dot net *
16087 * src/hid/gtk/pcb.rc: add windres file for win32 icons
16089 2006-04-13 Dan McMahill * dan AT mcmahill dot net *
16091 * config.h.in, configure, configure.ac: one more header check
16093 2006-04-13 Dan McMahill * dan AT mcmahill dot net *
16095 * config.guess, config.sub: add some new configure related files
16097 2006-04-13 Dan McMahill * dan AT mcmahill dot net *
16099 * src/Makefile.am, src/Makefile.in: add stuff to compile in icons
16102 2006-04-13 Dan McMahill * dan AT mcmahill dot net *
16104 * Makefile.in, README_FILES/Makefile.in, config.h.in, configure,
16105 configure.ac, doc/Makefile.in, example/Makefile.in,
16106 example/libraries/Makefile.in, lib/Makefile.in,
16107 newlib/2_pin_thru-hole_packages/Makefile.in, newlib/Makefile.in,
16108 newlib/analog-devices/Makefile.in, newlib/burr-brown/Makefile.in,
16109 newlib/connectors/Makefile.in, newlib/crystal/Makefile.in,
16110 newlib/cypress/Makefile.in, newlib/electro-optics/Makefile.in,
16111 newlib/generic_SMD_packages/Makefile.in,
16112 newlib/headers/Makefile.in, newlib/msp430/Makefile.in,
16113 newlib/not_vetted_ingo/Makefile.in, newlib/sockets/Makefile.in,
16114 newlib/tests/Makefile.in, newlib/toko/Makefile.in, src/Makefile.in,
16115 src/compat.c, src/compat.h, src/file.c, src/hid/gerber/gerber.c,
16116 src/icons/Makefile.in, src/misc.c, src/print.c,
16117 src/script/Makefile.in, tools/Makefile.in, tutorial/Makefile.in: Add
16118 a couple more configure checks for functions (gethostname and
16119 password related functions) and headers which may not be present on
16120 win32. This should be enough to get things to compile under cygwin
16121 although there are still runtime issues.
16123 2006-04-12 Dan McMahill * dan AT mcmahill dot net *
16125 * win32/Makefile.am, win32/Readme.txt, win32/build_pcb,
16126 win32/pcb.nsi.in, win32/pcb_icon_big.obj, win32/pcb_icon_med.obj,
16127 win32/pcb_icon_sml.obj: Add some stuff to help build under win32.
16128 Note: win32 support is not finished and PCB does not yet work
16129 correctly under win32, but this is some progress.
16131 2006-04-12 Dan McMahill * dan AT mcmahill dot net *
16133 * src/error.c, src/error.h, src/hid.h, src/hid/common/hidnogui.c,
16134 src/hid/gtk/gui-log-window.c, src/hid/gtk/gui.h,
16135 src/hid/lesstif/dialogs.c, src/hid/lesstif/main.c: const-ify the log
16138 2006-04-12 Dan McMahill * dan AT mcmahill dot net *
16140 * src/hid/gtk/gtkhid-main.c: add the About action
16142 2006-04-12 Dan McMahill * dan AT mcmahill dot net *
16144 * src/action.c, src/global.h, src/vendor.c: use AFAIL() when an
16145 action fails due to a syntax error
16147 2006-04-12 DJ Delorie * dj AT delorie dot com *
16149 * src/hid/ps/eps.c: Determine when we need to use the complex erase
16150 logic, and when we can just paint white. Painting white is a LOT
16151 faster, and avoids rasterization in ps2pdf.
16153 2006-04-12 Dan McMahill * dan AT mcmahill dot net *
16155 * doc/version.texi: add thermals to glossary
16157 2006-04-12 Dan McMahill * dan AT mcmahill dot net *
16159 * doc/pcb.texi: add thermal to the glossary
16161 2006-04-12 Dan McMahill * dan AT mcmahill dot net *
16163 * doc/Makefile.am, doc/Makefile.in: increase resolution of PDFs of
16164 drawings. 72dpi looked pretty bad on the thermal drawing
16166 2006-04-12 Dan McMahill * dan AT mcmahill dot net *
16168 * doc/Makefile.am, doc/Makefile.in: add thermal drawing
16170 2006-04-12 Dan McMahill * dan AT mcmahill dot net *
16172 * doc/thermal.pcb: change name of board
16174 2006-04-12 Dan McMahill * dan AT mcmahill dot net *
16176 * doc/thermal.pcb: add a drawing showing what a thermal relief looks
16179 2006-04-12 Dan McMahill * dan AT mcmahill dot net *
16181 * doc/database.txt, doc/ideas/database.txt, doc/ideas/keepouts.txt,
16182 doc/keepouts.txt: move these to an ideas subdirectory to hopefully
16183 more clearly indicate that not only are these not implemented yet
16184 but that they are not even certain to ever be implemented.
16186 2006-04-12 DJ Delorie * dj AT delorie dot com *
16188 * doc/actions.texi, doc/version.texi, src/netlist.c: Document
16189 actions in netlist.c
16191 2006-04-12 Dan McMahill * dan AT mcmahill dot net *
16193 * doc/actions.texi, src/action.c: add support for units and relative
16194 coordinates in PasteBuffer(ToLayout)
16196 2006-04-12 Dan McMahill * dan AT mcmahill dot net *
16198 * doc/database.txt, doc/keepouts.txt: add two documents in progress
16199 describing a plan for future work
16201 2006-04-11 Dan McMahill * dan AT mcmahill dot net *
16203 * doc/actions.texi, src/action.c, src/global.h: Add a "ToLayout"
16204 option for the PasteBuffer() action. You can now do things like
16205 PasteBuffer(ToLayout, 10000, 200000) to paste from the current
16206 buffer Also add a DumpLibrary() action.
16208 2006-04-11 DJ Delorie * dj AT delorie dot com *
16210 * doc/actions.texi, doc/extract-docs, src/action.c, src/command.c:
16211 Document actions in command.c.
16213 2006-04-11 Dan McMahill * dan AT mcmahill dot net *
16215 * lib/crystal.list, lib/crystal.m4, lib/generic.list,
16216 lib/generic.m4, lib/resistor_0.25W.list, lib/resistor_array.list,
16217 lib/texas_inst_voltage_reg.m4, lib/transistor.m4: - add a missing description and move some footprints from the wrong
16218 .list file to the correct .list file to be able to pick up the
16219 descriptions and parameters from the corresponding .m4 file. - all of the m4 libs should at least be correct in the sense that
16220 the pieces are all there and they all run through m4 correctly.
16221 They have not been verified any more for correctness, but this is
16224 2006-04-11 DJ Delorie * dj AT delorie dot com *
16226 * src/print.c, src/report.c: Print correct symbol counts for drills
16229 2006-04-11 Dan McMahill * dan AT mcmahill dot net *
16231 * Makefile.in, README_FILES/Makefile.in, example/Makefile.in,
16232 example/libraries/Makefile.in, lib/Makefile.in,
16233 newlib/2_pin_thru-hole_packages/Makefile.in, newlib/Makefile.in,
16234 newlib/analog-devices/Makefile.in, newlib/burr-brown/Makefile.in,
16235 newlib/connectors/Makefile.in, newlib/crystal/Makefile.in,
16236 newlib/cypress/Makefile.in, newlib/electro-optics/Makefile.in,
16237 newlib/generic_SMD_packages/Makefile.in,
16238 newlib/headers/Makefile.in, newlib/msp430/Makefile.in,
16239 newlib/not_vetted_ingo/Makefile.in, newlib/sockets/Makefile.in,
16240 newlib/tests/Makefile.in, newlib/toko/Makefile.in, src/Makefile.in,
16241 src/icons/Makefile.in, src/script/Makefile.in, tools/Makefile.in,
16242 tutorial/Makefile.in: regen (after checking for perl)
16244 2006-04-11 Dan McMahill * dan AT mcmahill dot net *
16246 * doc/actions.texi, doc/version.texi, src/action.c, src/select.c,
16247 src/select.h: - for the Select(*ByName) action, allow a 2nd argument to specify
16248 the name and only use the gui dialog box if the 2nd argument is not
16249 specified. - Add *ByName options for the Unselect() action.
16251 2006-04-11 Dan McMahill * dan AT mcmahill dot net *
16253 * src/hid/gtk/gtkhid-main.c: garbage collect some printf output
16255 2006-04-11 Dan McMahill * dan AT mcmahill dot net *
16257 * src/hid/gtk/gui-top-window.c: Fix bug [ 1462380 ] saving buffer
16258 elemnts to file does nothing.
16260 2006-04-11 Dan McMahill * dan AT mcmahill dot net *
16262 * configure, configure.ac, doc/Makefile.am, doc/Makefile.in: When
16263 building docs, look for a perl to use. This will let the user set
16264 PERL in their environment and have configure pick it up.
16266 2006-04-11 Harry Eaton * haceaton AT users dot sourceforge dot net *
16268 * src/find.c: turn off debugging by default
16270 ----------------------------------------------------------------------
16272 2006-04-11 Harry Eaton * haceaton AT users dot sourceforge dot net *
16274 * src/find.c: fixed list overflow with element connection listing
16276 ----------------------------------------------------------------------
16278 2006-04-11 Harry Eaton * haceaton AT users dot sourceforge dot net *
16280 * src/find.c: added overflow error reporting to the ADD* routines
16282 ----------------------------------------------------------------------
16284 2006-04-10 Harry Eaton * haceaton AT users dot sourceforge dot net *
16286 * src/find.c: fixed bug using in LookupLOConnectionsToPVList where
16287 the wrong variable was used.
16289 ----------------------------------------------------------------------
16291 2006-04-10 DJ Delorie * dj AT delorie dot com *
16293 * doc/actions.texi, doc/version.texi, src/action.c: Document the
16294 rest of the registered actions in action.c.
16296 2006-04-06 Dan McMahill * dan AT mcmahill dot net *
16298 * src/find.c: move some initializations inside a loop so they don't
16301 2006-04-06 Dan McMahill * dan AT mcmahill dot net *
16303 * src/main.c: declare dump_actions() right before using it
16305 2006-04-06 Dan McMahill * dan AT mcmahill dot net *
16307 * src/hid/png/png.c: add some missing const-s
16309 2006-04-06 Bill Wilson * billw2 AT users dot sourceforge dot net *
16311 * src/hid/gtk/gui-top-window.c: mode_button_toggled_cb() didn't sync
16312 ghidgui->settings_mode with current mode button state.
16314 2006-04-06 Dan McMahill * dan AT mcmahill dot net *
16316 * src/hid/gtk/gui-top-window.c: revert the previous, this part
16317 wasn't quite right.
16319 2006-04-05 Dan McMahill * dan AT mcmahill dot net *
16321 * src/mymem.c, src/mymem.h: add a MyMalloc to go along with MyCalloc
16323 2006-04-05 Bill Wilson * billw2 AT users dot sourceforge dot net *
16325 * src/hid/gtk/gui-netlist-window.c, src/hid/gtk/gui.h: Fix netlist
16326 window to scroll to net/node when user lookups connection.
16328 2006-04-05 Dan McMahill * dan AT mcmahill dot net *
16330 * src/hid/gtk/gui-output-events.c, src/hid/gtk/gui-top-window.c: - make the ESC key return you to the arrow tool if you are in via,
16331 thermal, lock, etc modes. - in line, poly, arc, etc. modes, the first ESC press returns you to
16332 "tool neutral" and the 2nd ESC press returns you to the arrow tool.
16334 2006-04-05 Dan McMahill * dan AT mcmahill dot net *
16336 * src/hid/gtk/gui-dialog.c, src/hid/lesstif/dialogs.c: add pointer
16337 to the geda homepage and wiki as well as the pcb home page in the
16340 2006-04-05 Dan McMahill * dan AT mcmahill dot net *
16342 * src/hid/gtk/gui-dialog-print.c: fix a bug which prevented the
16343 File->Export menu from working more than once in a pcb session.
16345 2006-04-05 DJ Delorie * dj AT delorie dot com *
16347 * src/action.c, src/djopt.c, src/hid.h, src/hid/common/actions.c,
16348 src/hid/gtk/gtkhid-main.c, src/hid/lesstif/dialogs.c,
16349 src/hid/lesstif/main.c, src/main.c, src/vendor.c: Initial chunk of
16350 inline action docs.
16352 2006-04-05 DJ Delorie * dj AT delorie dot com *
16354 * doc/Makefile.am, doc/Makefile.in, doc/actions.texi,
16355 doc/extract-docs, doc/pcb.texi, doc/version.texi: Fix eps->pdf rule
16356 to set size and resolution right. Limit pcb->* to visible areas.
16357 Add support for action extraction from sources.
16359 2006-04-05 Dan McMahill * dan AT mcmahill dot net *
16361 * src/script/Makefile.am, src/script/Makefile.in,
16362 src/script/pcb-print: remove the pcb-print script. It is obsolete
16363 now that the HID version directly supports command line export/print
16364 through the export HID's.
16366 2006-04-05 Harry Eaton * haceaton AT users dot sourceforge dot net *
16368 * src/find.c: Expand search box during bloat in case the box overlap
16369 would otherwise prevent checking. This repairs a really bad bug
16370 introduced when the rtrees were used to speed the find tracing.
16372 ----------------------------------------------------------------------
16374 2006-04-05 Harry Eaton * haceaton AT users dot sourceforge dot net *
16376 * src/misc.c: fixed pin/via bounding box to include thermal tails;
16379 ----------------------------------------------------------------------
16381 2006-04-05 Dan McMahill * dan AT mcmahill dot net *
16383 * src/hid/gtk/gui.h: Be a bit more careful with rouding issues when
16384 converting to pcb units. Hopefully this will help with the issue
16385 reported on the geda lists about 23.99 mil vias when the user
16386 thought they picked 24 mil ones. Patch posted on geda-user by DJ.
16388 2006-04-05 Dan McMahill * dan AT mcmahill dot net *
16390 * config.h.in, configure, configure.ac, src/hid/png/png.c: check to
16391 see which graphic file formats are supported by the installed GD.
16392 If the desired list is not found, abort and tell the user they can
16393 explicitly disable certain file types. Should deal with installed
16394 versions of gd which do not support GIF output.
16396 2006-04-05 Dan McMahill * dan AT mcmahill dot net *
16398 * src/hid/lesstif/styles.c: fix a prototype
16400 2006-03-28 Dan McMahill * dan AT mcmahill dot net *
16402 * src/dolists.h, src/hid/lesstif/dialogs.c, src/hid/lesstif/main.c,
16403 src/hid/lesstif/menu.c, src/hid/lesstif/styles.c: move variable
16404 declarations to the beginning of blocks to make gcc-2.95 and
16405 probably other non-gcc compilers happy.
16407 2006-03-28 Dan McMahill * dan AT mcmahill dot net *
16409 * src/find.c: Check to make sure a pointer is not NULL before
16410 dereferencing it. This seems to be the place where the segfault was
16411 happening sometimes when saving connection data. For now, spit out
16412 a warning message because I think there may be some other underlying
16413 bug which causes the NULL pointer in the first place.
16415 2006-03-28 Dan McMahill * dan AT mcmahill dot net *
16417 * src/mymem.h: do not redefine malloc if we are using dmalloc
16419 2006-03-28 Dan McMahill * dan AT mcmahill dot net *
16421 * src/action.c, src/autoplace.c, src/autoroute.c, src/buffer.c,
16422 src/change.c, src/command.c, src/crosshair.c, src/djopt.c,
16423 src/draw.c, src/error.c, src/file.c, src/insert.c, src/intersect.c,
16424 src/line.c, src/main.c, src/misc.c, src/mtspace.c, src/netlist.c,
16425 src/output.c, src/print.c, src/puller.c, src/report.c,
16426 src/res_parse.y, src/rtree.c, src/select.c, src/set.c,
16427 src/strflags.c, src/vector.c, src/vendor.c: put back dmalloc support
16429 2006-03-28 DJ Delorie * dj AT delorie dot com *
16431 * src/action.c, src/find.c, src/hid/gtk/gtkhid-main.c,
16432 src/hid/gtk/gui-misc.c, src/hid/gtk/gui-output-events.c,
16433 src/hid/gtk/gui-top-window.c, src/hid/lesstif/dialogs.c,
16434 src/hid/lesstif/library.c, src/hid/lesstif/main.c,
16435 src/hid/lesstif/netlist.c, src/main.c, src/set.c: hid_actionl must
16436 be terminated with NULL, not a plain 0, in case integers and
16437 pointers are different sizes.
16439 2006-03-28 Dan McMahill * dan AT mcmahill dot net *
16441 * src/hid/gtk/gui-top-window.c: access djopt_set_auto_only() via the
16442 associated action instead of directly
16444 2006-03-28 Dan McMahill * dan AT mcmahill dot net *
16446 * src/djopt.c, src/djopt.h: fix prototype for an action. kills one
16447 more compiler warning
16449 2006-03-28 Dan McMahill * dan AT mcmahill dot net *
16451 * src/hid/lesstif/main.c: add a missing typecase
16453 2006-03-27 Dan McMahill * dan AT mcmahill dot net *
16455 * src/action.c, src/hid/gtk/gui-top-window.c, src/pcb-menu.res: - When changing selected line size from the menu, do it to the
16456 selected arcs to. - Add a SelectedArcs option to the ChangeSize action.
16458 2006-03-27 Dan McMahill * dan AT mcmahill dot net *
16460 * src/select.c: Fix a bug where actions using SelectedPads did
16461 nothing and SelectedPins picked up both pins and pads. Noted by bug
16464 2006-03-27 Dan McMahill * dan AT mcmahill dot net *
16466 * src/strflags.c: avoid allocating 0 bytes
16468 2006-03-27 Dan McMahill * dan AT mcmahill dot net *
16470 * src/misc.c: fix a typo in a comment
16472 2006-03-27 Dan McMahill * dan AT mcmahill dot net *
16474 * src/main.c: No need to use strdup(Concat()) as Concat already
16475 gives us allocated memory that is not referenced anywhere else.
16477 2006-03-27 Dan McMahill * dan AT mcmahill dot net *
16479 * src/file.c: Fix an off by one overflow of a malloc'ed buffer.
16480 Found with ElectricFence.
16482 2006-03-27 Dan McMahill * dan AT mcmahill dot net *
16484 * src/misc.c: in a function which is supposed to return a string but
16485 is commented out with #ifdef FIXME, return a big warning string
16486 rather than no return value until I/we figure out how to fix it.
16487 Hopefully if this triggers bugs it will be easier to locate.
16489 2006-03-27 Dan McMahill * dan AT mcmahill dot net *
16491 * configure, configure.ac: add back in the --enable-efence and
16492 --enable-dmalloc configure flags to turn on ElectricFence and
16493 dmalloc debugging respectively.
16495 2006-03-27 DJ Delorie * dj AT delorie dot com *
16497 * src/action.c, src/command.c, src/djopt.c, src/hid.h,
16498 src/hid/common/actions.c, src/hid/gtk/gtkhid-main.c,
16499 src/hid/gtk/gui-netlist-window.c, src/hid/gtk/gui-top-window.c,
16500 src/hid/lesstif/dialogs.c, src/hid/lesstif/library.c,
16501 src/hid/lesstif/main.c, src/hid/lesstif/menu.c,
16502 src/hid/lesstif/netlist.c, src/hid/lesstif/styles.c, src/netlist.c,
16503 src/puller.c, src/report.c, src/vendor.c: hid actions: remove
16504 needs_coords, use need_coord_msg to determine when to get coords.
16506 2006-03-27 Dan McMahill * dan AT mcmahill dot net *
16508 * src/hid/gtk/gui-top-window.c, src/hid/gtk/gui-utils.c: Make sure
16509 we initialize some variables before using them. Fixes a segfault on
16510 startup problem noted on NetBSD/alpha when displaying to an 8-bit
16513 2006-03-27 Bill Wilson * billw2 AT users dot sourceforge dot net *
16515 * src/hid/gtk/gtkhid-main.c: I wrapped too much into the verbose
16516 option so the file load stopped working - fixed.
16518 2006-03-26 Dan McMahill * dan AT mcmahill dot net *
16520 * configure, configure.ac: bump the rev letter to help identify this
16521 as the HID version if someone pulls up the "about" dialog box.
16523 2006-03-26 Dan McMahill * dan AT mcmahill dot net *
16525 * src/hid/gtk/gtkhid-main.c: - Remove a debug printf which tried to print a NULL string. Avoids
16526 a segfault bug. - When chosing "Save Layout" on a new layout (that hadn't already
16527 been given a name or filename), correctly use the new file name that
16528 is selected with the dialog box.
16530 2006-03-26 Dan McMahill * dan AT mcmahill dot net *
16532 * src/hid/lesstif/dialogs.c: - remove a debug printf which was trying to print a NULL string.
16533 Fixes a segfault bug on solaris-2.9/sparc. - Fix the behaviour when doing "Save Layout" on a new board that didn't have a file name yet.
16535 2006-03-26 Dan McMahill * dan AT mcmahill dot net *
16537 * src/hid/lesstif/main.c: add a --listen option for the lesstif HID
16538 too (works the same as the gtk one -- listens on stdin for actions).
16540 2006-03-26 Bill Wilson * billw2 AT users dot sourceforge dot net *
16542 * src/hid/gtk/gui-netlist-window.c, src/hid/gtk/gui-output-events.c:
16543 Pan to a netlist window selected node if it's not visible. Fix a pan bug.
16545 2006-03-25 Dan McMahill * dan AT mcmahill dot net *
16547 * src/hid/gtk/gui-netlist-window.c: add cast to avoid compiler
16550 2006-03-25 DJ Delorie * dj AT delorie dot com *
16552 * src/action.c, src/hid/gtk/gui-top-window.c, src/pcb-menu.res: Add
16555 2006-03-25 Bill Wilson * billw2 AT users dot sourceforge dot net *
16557 * src/hid/gtk/gtkhid-main.c, src/hid/gtk/gui-netlist-window.c: Turn
16558 of Disable all nets button when NetlistChanged. Make some diagnostic output only if verbose.
16560 2006-03-25 Bill Wilson * billw2 AT users dot sourceforge dot net *
16562 * src/hid/gtk/gui-netlist-window.c: Set netlist nodes enabled by
16563 default when NetlistChanged.
16565 2006-03-25 Bill Wilson * billw2 AT users dot sourceforge dot net *
16567 * src/hid/gtk/gtkhid-main.c: Fix draw arc when flipped.
16569 2006-03-25 Dan McMahill * dan AT mcmahill dot net *
16571 * doc/actions.texi, doc/fractional_size.texi, doc/letter_size.texi,
16572 doc/metric_size.texi, doc/overview.texi, doc/pcbfile.texi,
16573 doc/wire_size.texi: add some of the generated files to see if that
16574 will help with those who don't read the README.cvs file...
16576 2006-03-25 Dan McMahill * dan AT mcmahill dot net *
16578 * src/hid/gtk/gui-top-window.c: use fileno(stdin) instead of 1 to
16579 get the stdin file descriptor.
16581 2006-03-25 Dan McMahill * dan AT mcmahill dot net *
16583 * src/drill.c: fix a segfault when printing a board with no drill
16586 2006-03-25 Dan McMahill * dan AT mcmahill dot net *
16588 * src/hid/gtk/gui-top-window.c: add a --listen option which causes
16589 pcb to listen on the standard input for actions. This should open
16590 the door to experimenting with having gschem interact directly with
16593 2006-03-25 Dan McMahill * dan AT mcmahill dot net *
16595 * src/hid/gtk/gui-config.c: Fix a bug in options parsing where the
16596 loop looking for matches continued after a match had already been
16599 2006-03-25 Dan McMahill * dan AT mcmahill dot net *
16601 * src/main.c: add a help string for --lib-newlib
16603 2006-03-25 Dan McMahill * dan AT mcmahill dot net *
16605 * doc/Makefile.am, doc/Makefile.in: minor cleanup of status output
16607 2006-03-24 DJ Delorie * dj AT delorie dot com *
16609 * src/hid/lesstif/menu.c: Also look for ~/.pcb/pcb-menu.res.
16610 Actually use the path we found ;-)
16612 2006-03-24 Dan McMahill * dan AT mcmahill dot net *
16614 * configure, configure.ac: List the available HID's in the
16615 ./configure --help output. Ideally, we'd have the help text be
16616 automatic, but until we figure out how, just statically list the HID
16619 2006-03-24 Dan McMahill * dan AT mcmahill dot net *
16621 * Makefile.in, README_FILES/Makefile.in, config.h.in, configure,
16622 doc/Makefile.in, example/Makefile.in,
16623 example/libraries/Makefile.in, lib/Makefile.in,
16624 newlib/2_pin_thru-hole_packages/Makefile.in, newlib/Makefile.in,
16625 newlib/analog-devices/Makefile.in, newlib/burr-brown/Makefile.in,
16626 newlib/connectors/Makefile.in, newlib/crystal/Makefile.in,
16627 newlib/cypress/Makefile.in, newlib/electro-optics/Makefile.in,
16628 newlib/generic_SMD_packages/Makefile.in,
16629 newlib/headers/Makefile.in, newlib/msp430/Makefile.in,
16630 newlib/not_vetted_ingo/Makefile.in, newlib/sockets/Makefile.in,
16631 newlib/tests/Makefile.in, newlib/toko/Makefile.in, src/Makefile.in,
16632 src/icons/Makefile.in, src/script/Makefile.in, tools/Makefile.in,
16633 tutorial/Makefile.in: regen
16635 2006-03-24 Dan McMahill * dan AT mcmahill dot net *
16637 * Makefile.am, README.cvs, configure.ac, doc/Makefile.am: - when not in maintainer mode, do not list all the dependencies for
16638 the manual. This allows regular users who are building from a
16639 tarball to avoid having to rebuild the manual and lets them simply
16640 take the preformatted one. This avoids recently noted issues with
16641 incompatibility with older versions of texinfo which seem somewhat
16642 common. It also removes the requirement for having latex installed
16643 and for building the png HID for pcb. - add a --disable-doc flag which allows users who are building from
16644 CVS to skip the doc directory and thus avoid the need for the
16645 documentation formatting tools.
16647 2006-03-24 Dan McMahill * dan AT mcmahill dot net *
16649 * README.snapshots: note the DISTCHECK_CONFIGURE_FLAGS variable
16651 2006-03-24 Bill Wilson * billw2 AT users dot sourceforge dot net *
16653 * src/hid/gtk/gui-top-window.c: Fix gtk magenta color messages ->
16654 initialize all new hidGC colornames to Settings.BackgroundColor
16655 because bgGC color outside of ghid_expose_callback() is never
16656 initialized and it's used to draw outside of the callback when an
16657 object is selected.
16659 2006-03-24 Dan McMahill * dan AT mcmahill dot net *
16661 * doc/Makefile.am, doc/Makefile.in: Fix the calculation of the names
16662 of the generated .texi tables for the drill sizes.
16664 2006-03-24 Dan McMahill * dan AT mcmahill dot net *
16666 * Makefile.in, README_FILES/Makefile.in, aclocal.m4,
16667 doc/Makefile.in, doc/pad.eps, example/Makefile.in,
16668 example/libraries/Makefile.in, lib/Makefile.in,
16669 newlib/2_pin_thru-hole_packages/Makefile.in, newlib/Makefile.in,
16670 newlib/analog-devices/Makefile.in, newlib/burr-brown/Makefile.in,
16671 newlib/connectors/Makefile.in, newlib/crystal/Makefile.in,
16672 newlib/cypress/Makefile.in, newlib/electro-optics/Makefile.in,
16673 newlib/generic_SMD_packages/Makefile.in,
16674 newlib/headers/Makefile.in, newlib/msp430/Makefile.in,
16675 newlib/not_vetted_ingo/Makefile.in, newlib/sockets/Makefile.in,
16676 newlib/tests/Makefile.in, newlib/toko/Makefile.in,
16677 src/icons/Makefile.in, src/script/Makefile.in, tools/Makefile.in,
16678 tutorial/Makefile.in: regen after configure.ac changes
16680 2006-03-24 Dan McMahill * dan AT mcmahill dot net *
16682 * autogen.sh: don't automatically run ./configure. Simplifies
16683 things a bit when trying to have several different builds share the
16686 2006-03-24 Dan McMahill * dan AT mcmahill dot net *
16688 * doc/extract-docs: put the generated files in the build directory
16689 instead of the source directory (in case they are not the same)
16691 2006-03-24 Dan McMahill * dan AT mcmahill dot net *
16693 * doc/Makefile.am, doc/Makefile.in: Rework the dependencies on the
16694 various generated files a bit to hopefully correctly include all
16695 dependencies. Also allow this to continue and just use the shipped
16696 preformatted docs in the case where latex and friends are not
16699 2006-03-24 Dan McMahill * dan AT mcmahill dot net *
16701 * src/pcbtest.sh.in: correctly find the font file correctly find the
16702 m4lib stuff when building outside the source tree.
16704 2006-03-24 Dan McMahill * dan AT mcmahill dot net *
16706 * configure, configure.ac, lib/ListLibraryContents.sh,
16707 lib/ListLibraryContents.sh.in: move ListLibraryContents.sh to being
16708 something created at configure time like the rest of the m4lib
16709 stuff. This puts it in the build directory and allows you to run
16710 pcb out of the build directory prior to installation even in the
16711 case of a read only source tree. While here add some
16712 AM_CONDITIONALS to indicate when latex and friends are not available
16713 for formating the reference card.
16715 2006-03-24 Dan McMahill * dan AT mcmahill dot net *
16717 * src/Makefile.am, src/Makefile.in: add missing lesstif header to
16718 get it in the distfile
16720 2006-03-23 Dan McMahill * dan AT mcmahill dot net *
16722 * src/hid/png/png.c: fix a bug when specifying the output file name
16724 2006-03-23 Dan McMahill * dan AT mcmahill dot net *
16726 * src/pcbtest.sh.in: also set the font path
16728 2006-03-23 Dan McMahill * dan AT mcmahill dot net *
16730 * src/pcbtest.sh.in: fix a couple of paths when building outside the
16733 2006-03-23 Dan McMahill * dan AT mcmahill dot net *
16735 * src/hid/lesstif/main.c, src/hid/lesstif/menu.c: avoid some
16736 compiler warnings on solaris-2.9/sparc (gcc-3.3.5)
16738 2006-03-23 Dan McMahill * dan AT mcmahill dot net *
16740 * src/hid/lesstif/main.c: check the result of the --install options
16741 _after_ the options have been processed. Thanks to DJ for finding
16744 2006-03-23 DJ Delorie * dj AT delorie dot com *
16746 * src/Makefile.am, src/Makefile.in: Change the way we handle built
16749 2006-03-23 Dan McMahill * dan AT mcmahill dot net *
16751 * src/strflags.c: avoid some compiler warnings on solaris-2.9/sparc
16754 2006-03-23 Bill Wilson * billw2 AT users dot sourceforge dot net *
16756 * src/hid/gtk/gui-config.c, src/hid/gtk/gui-top-window.c:
16757 ghid_invalidate_all() when colors change.
16759 2006-03-23 Dan McMahill * dan AT mcmahill dot net *
16761 * src/hid/common/actions.c, src/misc.c, src/mymem.c: avoid some
16762 compiler warnings on solaris-2.9/sparc (gcc-3.3.5)
16764 2006-03-23 Bill Wilson * billw2 AT users dot sourceforge dot net *
16766 * src/hid/gtk/gtkhid-main.c, src/hid/gtk/gui-output-events.c: Fix a
16769 2006-03-23 Dan McMahill * dan AT mcmahill dot net *
16771 * src/file.c: avoid some complier warnings on solaris-2.9/sparc
16774 2006-03-23 DJ Delorie * dj AT delorie dot com *
16776 * src/drill.c, src/drill.h, src/hid/gerber/gerber.c, src/print.c:
16777 Round drill sizes to nearest mil for fab drawings and gerber drill
16780 2006-03-23 DJ Delorie * dj AT delorie dot com *
16782 * src/mtspace.c: Avoid aliasing problems.
16784 2006-03-23 Dan McMahill * dan AT mcmahill dot net *
16786 * src/pcbtest.sh.in: add some missing arguments when running in gdb
16788 2006-03-23 Dan McMahill * dan AT mcmahill dot net *
16790 * src/main.c: don't include the full path for the default value of
16791 the LibraryCommand and LibraryContentsCommand. That prevented
16792 --lib-command-dir from working.
16794 2006-03-23 DJ Delorie * dj AT delorie dot com *
16796 * src/undo.c: Use void * pointers to avoid aliasing problems.
16798 2006-03-23 DJ Delorie * dj AT delorie dot com *
16800 * src/search.c: Use explicit void** pointers to avoid aliasing
16803 2006-03-23 DJ Delorie * dj AT delorie dot com *
16805 * src/hid/gerber/gerber.c, src/hid/lesstif/dialogs.c,
16806 src/hid/lesstif/lesstif.h, src/hid/lesstif/main.c,
16807 src/hid/lesstif/menu.c, src/hid/lesstif/netlist.c,
16808 src/hid/lesstif/styles.c: Misc bugfixes and changes, to silence
16811 2006-03-23 DJ Delorie * dj AT delorie dot com *
16813 * src/mymem.c, src/mymem.h: MyCalloc, MyRealloc, MyStrdup: make
16814 final parameter (tag string) const, to avoid compiler warnings.
16816 2006-03-23 Dan McMahill * dan AT mcmahill dot net *
16818 * src/action.c: fix the ChangeFlag action (compiler warning pointed
16821 2006-03-23 Dan McMahill * dan AT mcmahill dot net *
16823 * src/Makefile.am, src/Makefile.in: quote the regexp passed to grep
16824 to keep solaris-2.9 happy
16826 2006-03-23 DJ Delorie * dj AT delorie dot com *
16828 * src/hid/lesstif/main.c: Don't try to run the idle proc until the
16831 2006-03-23 Dan McMahill * dan AT mcmahill dot net *
16833 * src/action.c, src/command.c, src/djopt.c, src/dolists.h,
16834 src/flags.c, src/hid.h, src/hid/gtk/gtkhid-main.c,
16835 src/hid/gtk/gui-netlist-window.c, src/hid/gtk/gui-top-window.c,
16836 src/hid/lesstif/dialogs.c, src/hid/lesstif/library.c,
16837 src/hid/lesstif/main.c, src/hid/lesstif/netlist.c,
16838 src/hid/lesstif/styles.c, src/hid/png/png.c, src/hid/ps/eps.c,
16839 src/hid/ps/ps.c, src/main.c, src/netlist.c, src/puller.c,
16840 src/report.c, src/vendor.c: Revert the ";" thing. The REGISTER_*
16841 macros now contain ";" where needed and a ";" should not be used
16842 when the macros are called. This is because the REGISTER_* macros
16843 in hid.h expand to a function like int foo(){/* code here */} where
16844 no ";" should be used at the end. gcc ignores the resulting empty
16845 declaration but the sunpro c compiler doesn't like it.
16847 2006-03-22 Dan McMahill * dan AT mcmahill dot net *
16849 * src/action.c, src/action.h, src/actionlist.c, src/autoplace.c,
16850 src/autoplace.h, src/autoroute.c, src/autoroute.h, src/box.h,
16851 src/buffer.c, src/buffer.h, src/change.c, src/change.h, src/clip.c,
16852 src/clip.h, src/command.c, src/command.h, src/compat.c,
16853 src/compat.h, src/const.h, src/copy.c, src/copy.h, src/create.c,
16854 src/create.h, src/crosshair.c, src/crosshair.h, src/data.c,
16855 src/data.h, src/dev_ps.c, src/dev_ps.h, src/dev_rs274x.c,
16856 src/dev_rs274x.h, src/djopt.c, src/djopt.h, src/dolists.h,
16857 src/draw.c, src/draw.h, src/drill.c, src/drill.h, src/error.c,
16858 src/error.h, src/file.c, src/file.h, src/find.c, src/find.h,
16859 src/flags.c, src/global.h, src/heap.c, src/heap.h, src/hid.h,
16860 src/hid/hidint.h, src/hid/lesstif/dialogs.c,
16861 src/hid/lesstif/lesstif.h, src/hid/lesstif/library.c,
16862 src/hid/lesstif/main.c, src/hid/lesstif/menu.c,
16863 src/hid/lesstif/netlist.c, src/hid/lesstif/styles.c,
16864 src/hid/lpr/lpr.c, src/hid/png/png.c, src/hid/png/png.h,
16865 src/hid/ps/eps.c, src/hid/ps/ps.c, src/hid/ps/ps.h,
16866 src/icons/Makefile.in, src/insert.c, src/insert.h, src/intersect.c,
16867 src/intersect.h, src/line.c, src/macro.h, src/main.c, src/mirror.c,
16868 src/mirror.h, src/misc.c, src/misc.h, src/move.c, src/move.h,
16869 src/mtspace.c, src/mtspace.h, src/mymem.c, src/mymem.h,
16870 src/netlist.c, src/output.c, src/output.h, src/parse_l.h,
16871 src/polygon.c, src/polygon.h, src/print.c, src/print.h,
16872 src/puller.c, src/rats.c, src/rats.h, src/remove.h, src/report.c,
16873 src/resource.h, src/rotate.c, src/rotate.h, src/rtree.c,
16874 src/rtree.h, src/rubberband.c, src/rubberband.h,
16875 src/script/Makefile.in, src/search.c, src/search.h, src/select.c,
16876 src/select.h, src/set.c, src/set.h, src/strflags.c, src/strflags.h,
16877 src/undo.c, src/undo.h, src/vector.c, src/vector.h, src/vendor.c,
16878 src/vendor.h: indent
16880 2006-03-22 Dan McMahill * dan AT mcmahill dot net *
16882 * src/hid/bom/bom.c, src/hid/common/actions.c,
16883 src/hid/common/extents.c, src/hid/common/flags.c,
16884 src/hid/common/hidinit.c, src/hid/common/hidnogui.c,
16885 src/hid/gerber/gerber.c, src/hid/gtk/gtkhid-main.c,
16886 src/hid/gtk/gtkhid.h, src/hid/gtk/gui-command-window.c,
16887 src/hid/gtk/gui-config.c, src/hid/gtk/gui-dialog-print.c,
16888 src/hid/gtk/gui-dialog-size.c, src/hid/gtk/gui-dialog.c,
16889 src/hid/gtk/gui-keyref-window.c, src/hid/gtk/gui-library-window.c,
16890 src/hid/gtk/gui-log-window.c, src/hid/gtk/gui-misc.c,
16891 src/hid/gtk/gui-netlist-window.c, src/hid/gtk/gui-output-events.c,
16892 src/hid/gtk/gui-pinout-window.c, src/hid/gtk/gui-top-window.c,
16893 src/hid/gtk/gui-utils.c, src/hid/gtk/gui.h: indent
16895 2006-03-22 Dan McMahill * dan AT mcmahill dot net *
16897 * src/action.c, src/command.c, src/djopt.c, src/dolists.h,
16898 src/flags.c, src/hid.h, src/hid/gtk/gtkhid-main.c,
16899 src/hid/gtk/gui-netlist-window.c, src/hid/gtk/gui-top-window.c,
16900 src/hid/lesstif/dialogs.c, src/hid/lesstif/library.c,
16901 src/hid/lesstif/main.c, src/hid/lesstif/menu.c,
16902 src/hid/lesstif/netlist.c, src/hid/lesstif/styles.c,
16903 src/hid/png/png.c, src/hid/ps/eps.c, src/hid/ps/ps.c, src/main.c,
16904 src/netlist.c, src/puller.c, src/report.c, src/vendor.c: Take the
16905 ";" out of the REGISTER_* defines and put them in the invocations.
16906 This will let indent work correctly.
16908 2006-03-22 Dan McMahill * dan AT mcmahill dot net *
16910 * src/action.c, src/command.c, src/crosshair.c, src/draw.c,
16911 src/main.c, src/misc.c, src/polygon.c, src/polygon.h, src/puller.c,
16912 src/rats.c: fix several more compiler warnings by removing some
16913 unused variables and adding/removing return values where
16916 2006-03-22 Dan McMahill * dan AT mcmahill dot net *
16918 * src/hid/gtk/gui-icons-mode-buttons.data,
16919 src/hid/gtk/gui-top-window.c, src/hid/ps/eps.c: remove more compiler
16922 2006-03-22 Dan McMahill * dan AT mcmahill dot net *
16924 * src/hid/lpr/lpr.c: add missing member to the lpr_hid
16927 2006-03-22 Dan McMahill * dan AT mcmahill dot net *
16929 * src/file.c: remove unused variable
16931 2006-03-22 Dan McMahill * dan AT mcmahill dot net *
16933 * src/misc.c: add missing header
16935 2006-03-22 Dan McMahill * dan AT mcmahill dot net *
16937 * src/hid/common/flags.c: remove an unused variable
16939 2006-03-22 Dan McMahill * dan AT mcmahill dot net *
16941 * src/hid/common/hidnogui.c: remove compiler warning
16943 2006-03-22 Dan McMahill * dan AT mcmahill dot net *
16945 * src/vendor.c: remove unused variable
16947 2006-03-22 Dan McMahill * dan AT mcmahill dot net *
16949 * src/report.c: format string fix
16951 2006-03-22 Dan McMahill * dan AT mcmahill dot net *
16953 * src/puller.c: add a couple of missing headers
16955 2006-03-22 Dan McMahill * dan AT mcmahill dot net *
16957 * src/print.c: add missing draw.h header
16959 2006-03-22 Dan McMahill * dan AT mcmahill dot net *
16961 * src/flags.c: add RCSID and dmalloc.h
16963 2006-03-22 Dan McMahill * dan AT mcmahill dot net *
16965 * src/flags.c: remove a spurious ";"
16967 2006-03-22 Dan McMahill * dan AT mcmahill dot net *
16969 * src/hid/gerber/gerber.c: remove unused variable
16971 2006-03-22 Dan McMahill * dan AT mcmahill dot net *
16973 * src/hid/gtk/gui-misc.c: remove a duplicate header and Id
16975 2006-03-22 Dan McMahill * dan AT mcmahill dot net *
16977 * src/hid/lesstif/lesstif.h: add RCS Id
16979 2006-03-22 Dan McMahill * dan AT mcmahill dot net *
16981 * src/hid/lesstif/dialogs.c, src/hid/lesstif/library.c,
16982 src/hid/lesstif/main.c, src/hid/lesstif/menu.c,
16983 src/hid/lesstif/netlist.c, src/hid/lesstif/styles.c: add config.h,
16984 dmalloc.h, and RCS Id
16986 2006-03-22 Dan McMahill * dan AT mcmahill dot net *
16988 * src/hid/gtk/gui-misc.c: add dmalloc.h
16990 2006-03-22 Dan McMahill * dan AT mcmahill dot net *
16992 * src/hid/hidint.h: add RCS Id
16994 2006-03-22 Dan McMahill * dan AT mcmahill dot net *
16996 * src/hid/common/actions.c, src/hid/common/extents.c,
16997 src/hid/common/flags.c, src/hid/common/hidinit.c,
16998 src/hid/common/hidnogui.c, src/hid/gerber/gerber.c,
16999 src/hid/lpr/lpr.c: add config.h, dmalloc.h, and RCS Id
17001 2006-03-22 Dan McMahill * dan AT mcmahill dot net *
17003 * src/hid/ps/eps.c, src/hid/ps/ps.c, src/hid/ps/ps.h: remove
17004 compiler warning and add config.h, dmalloc.h, and RCS Id
17006 2006-03-22 Dan McMahill * dan AT mcmahill dot net *
17008 * src/hid/png/png.c: remove a compiler warning
17010 2006-03-22 Dan McMahill * dan AT mcmahill dot net *
17012 * src/hid/bom/bom.c: add missing header
17014 2006-03-22 Dan McMahill * dan AT mcmahill dot net *
17016 * src/Makefile.am, src/Makefile.in: add the generated headers to
17017 DISTCLEANFILES and add a bunch of missing headers to the various
17018 *_SOURCES. With this change, the 'distcheck' target works again.
17020 2006-03-22 Dan McMahill * dan AT mcmahill dot net *
17024 2006-03-22 Dan McMahill * dan AT mcmahill dot net *
17026 * configure.ac: add $srcdir in a couple of places for configuring
17027 outside of the source directory.
17029 2006-03-22 Dan McMahill * dan AT mcmahill dot net *
17031 * src/dolists.h: add missing RCS Id
17033 2006-03-22 Dan McMahill * dan AT mcmahill dot net *
17035 * configure, configure.ac, doc/Makefile.am, doc/Makefile.in,
17036 doc/pad.eps, doc/pad.obj: Replace the tgif drawing with a pcb
17037 drawing. The suffix rules are now in place to use .pcb files as
17038 part of the manual.
17040 2006-03-21 DJ Delorie * dj AT delorie dot com *
17042 * src/hid/lpr/lpr.c: Call lpr, don't just save the file.
17044 2006-03-21 DJ Delorie * dj AT delorie dot com *
17046 * src/hid/lesstif/library.c: Remove a debug printf.
17048 2006-03-21 DJ Delorie * dj AT delorie dot com *
17050 * src/action.c, src/file.c, src/main.c, src/misc.h, src/set.c,
17051 src/set.h: Remove UpdateSettingsOnScreen. Call InitCrosshair only
17054 2006-03-21 Dan McMahill * dan AT mcmahill dot net *
17056 * doc/pad.pcb: correctly identify the poly clearance
17058 2006-03-21 Dan McMahill * dan AT mcmahill dot net *
17060 * configure, doc/Makefile.in: regen
17062 2006-03-21 Dan McMahill * dan AT mcmahill dot net *
17064 * configure.ac, doc/Makefile.am: detect when tgif is not found and
17065 give a warning instead of crashing the build
17067 2006-03-21 Dan McMahill * dan AT mcmahill dot net *
17069 * doc/pad.eps: include the tgif output here until I replace the
17070 drawings with pcb drawings
17072 2006-03-21 Dan McMahill * dan AT mcmahill dot net *
17074 * doc/pad.pcb: improve this drawing a bit
17076 2006-03-21 Dan McMahill * dan AT mcmahill dot net *
17078 * src/hid/bom/bom.c: Use log() instead of logv(). Fixes compilation
17079 on NetBSD/alpha, gcc-3.3.3
17081 2006-03-21 DJ Delorie * dj AT delorie dot com *
17083 * compile: New file, from automake 1.9.
17085 2006-03-21 DJ Delorie * dj AT delorie dot com *
17087 * depcomp, doc/mdate-sh, doc/texinfo.tex, install-sh, missing,
17088 mkinstalldirs, ylwrap: Update to automake 1.9 files.
17090 2006-03-21 DJ Delorie * dj AT delorie dot com *
17092 * Makefile.in, README_FILES/Makefile.in, aclocal.m4, config.h.in,
17093 configure, doc/Makefile.in, example/Makefile.in,
17094 example/libraries/Makefile.in, lib/Makefile.in,
17095 newlib/2_pin_thru-hole_packages/Makefile.in, newlib/Makefile.in,
17096 newlib/analog-devices/Makefile.in, newlib/burr-brown/Makefile.in,
17097 newlib/connectors/Makefile.in, newlib/crystal/Makefile.in,
17098 newlib/cypress/Makefile.in, newlib/electro-optics/Makefile.in,
17099 newlib/generic_SMD_packages/Makefile.in,
17100 newlib/headers/Makefile.in, newlib/msp430/Makefile.in,
17101 newlib/not_vetted_ingo/Makefile.in, newlib/sockets/Makefile.in,
17102 newlib/tests/Makefile.in, newlib/toko/Makefile.in, src/Makefile.in,
17103 src/icons/Makefile.in, src/script/Makefile.in, tools/Makefile.in,
17104 tutorial/Makefile.in: regenerate everything with FC4.
17106 2006-03-21 DJ Delorie * dj AT delorie dot com *
17108 * config.h.in, configure, configure.ac, src/Makefile.am,
17109 src/Makefile.in, src/Pcb.ad.in, src/action.c, src/action.h,
17110 src/autoplace.c, src/autoroute.c, src/buffer.c, src/change.c,
17111 src/command.c, src/command.h, src/const.h, src/control.c,
17112 src/control.h, src/copy.c, src/create.c, src/create.h,
17113 src/crosshair.c, src/data.c, src/data.h, src/dialog.c,
17114 src/dialog.h, src/djopt.c, src/djopt.h, src/dolists.h, src/draw.c,
17115 src/draw.h, src/error.c, src/file.c, src/fileselect.c,
17116 src/fileselect.h, src/find.c, src/find.h, src/flags.c,
17117 src/global.h, src/gui-command-window.c, src/gui-config.c,
17118 src/gui-dialog-print.c, src/gui-dialog-size.c, src/gui-dialog.c,
17119 src/gui-icons-misc.data, src/gui-icons-mode-buttons.data,
17120 src/gui-keyref-window.c, src/gui-library-window.c,
17121 src/gui-log-window.c, src/gui-misc.c, src/gui-netlist-window.c,
17122 src/gui-output-events.c, src/gui-pinout-window.c,
17123 src/gui-top-window.c, src/gui-utils.c, src/gui.c, src/gui.h,
17124 src/heap.c, src/hid.h, src/hid/bom/bom.c, src/hid/bom/hid.conf,
17125 src/hid/common/actions.c, src/hid/common/extents.c,
17126 src/hid/common/flags.c, src/hid/common/hidinit.c,
17127 src/hid/common/hidnogui.c, src/hid/gerber/gerber.c,
17128 src/hid/gerber/hid.conf, src/hid/gtk/gtkhid-main.c,
17129 src/hid/gtk/gtkhid.h, src/hid/gtk/gui-command-window.c,
17130 src/hid/gtk/gui-config.c, src/hid/gtk/gui-dialog-print.c,
17131 src/hid/gtk/gui-dialog-size.c, src/hid/gtk/gui-dialog.c,
17132 src/hid/gtk/gui-icons-misc.data,
17133 src/hid/gtk/gui-icons-mode-buttons.data,
17134 src/hid/gtk/gui-keyref-window.c, src/hid/gtk/gui-library-window.c,
17135 src/hid/gtk/gui-log-window.c, src/hid/gtk/gui-misc.c,
17136 src/hid/gtk/gui-netlist-window.c, src/hid/gtk/gui-output-events.c,
17137 src/hid/gtk/gui-pinout-window.c, src/hid/gtk/gui-top-window.c,
17138 src/hid/gtk/gui-utils.c, src/hid/gtk/gui.h, src/hid/gtk/hid.conf,
17139 src/hid/hidint.h, src/hid/lesstif/dialogs.c,
17140 src/hid/lesstif/hid.conf, src/hid/lesstif/lesstif.h,
17141 src/hid/lesstif/library.c, src/hid/lesstif/main.c,
17142 src/hid/lesstif/menu.c, src/hid/lesstif/netlist.c,
17143 src/hid/lesstif/styles.c, src/hid/lpr/hid.conf, src/hid/lpr/lpr.c,
17144 src/hid/png/hid.conf, src/hid/png/png.c, src/hid/png/png.h,
17145 src/hid/ps/eps.c, src/hid/ps/hid.conf, src/hid/ps/ps.c,
17146 src/hid/ps/ps.h, src/insert.c, src/intersect.c, src/lgdialog.c,
17147 src/lgdialog.h, src/library.c, src/library.h, src/line.c,
17148 src/log.c, src/log.h, src/macro.h, src/main.c, src/menu.c,
17149 src/menu.h, src/misc.c, src/misc.h, src/move.c, src/mtspace.c,
17150 src/mymem.c, src/mymem.h, src/netlist.c, src/netlist.h,
17151 src/output.c, src/output.h, src/parse_l.l, src/parse_y.y,
17152 src/pcb-menu.res, src/pcbtest.sh.in, src/pinout.c, src/pinout.h,
17153 src/polygon.c, src/print.c, src/print.h, src/printdialog.c,
17154 src/printdialog.h, src/printpanner.c, src/printpanner.h,
17155 src/puller.c, src/rats.c, src/report.c, src/report.h,
17156 src/res_lex.l, src/res_parse.y, src/resmenu.c, src/resmenu.h,
17157 src/rotate.c, src/rtree.c, src/search.c, src/select.c,
17158 src/selector.c, src/selector.h, src/set.c, src/set.h,
17159 src/sizedialog.c, src/sizedialog.h, src/strflags.c, src/todo,
17160 src/undo.c, src/undo.h, src/vector.c, src/vendor.c, src/vendor.h:
17163 2006-03-21 Dan McMahill * dan AT mcmahill dot net *
17165 * README.cvs_branches: note what some of the branches are
17167 2006-03-21 Dan McMahill * dan AT mcmahill dot net *
17169 * README.snapshots: add a few more notes about the snapshot process
17171 2006-03-21 Dan McMahill * dan AT mcmahill dot net *
17173 * README_FILES/Makefile.in, aclocal.m4, example/Makefile.in,
17174 example/libraries/Makefile.in,
17175 newlib/2_pin_thru-hole_packages/Makefile.in, newlib/Makefile.in,
17176 newlib/analog-devices/Makefile.in, newlib/burr-brown/Makefile.in,
17177 newlib/connectors/Makefile.in, newlib/crystal/Makefile.in,
17178 newlib/cypress/Makefile.in, newlib/electro-optics/Makefile.in,
17179 newlib/generic_SMD_packages/Makefile.in,
17180 newlib/headers/Makefile.in, newlib/msp430/Makefile.in,
17181 newlib/not_vetted_ingo/Makefile.in, newlib/sockets/Makefile.in,
17182 newlib/tests/Makefile.in, newlib/toko/Makefile.in,
17183 src/icons/Makefile.in, src/script/Makefile.in, tools/Makefile.in:
17186 2006-03-21 Dan McMahill * dan AT mcmahill dot net *
17188 * NEWS: add news for the 20060321 snapshot
17190 2006-03-21 Dan McMahill * dan AT mcmahill dot net *
17192 * AUTHORS: update authors a bit
17194 2006-03-21 Dan McMahill * dan AT mcmahill dot net *
17196 * ChangeLog: update with changes for 20060321 snapshot.
17198 2006-03-21 Dan McMahill * dan AT mcmahill dot net *
17200 * Makefile.in, tutorial/Makefile.in: regen
17202 2006-03-21 Dan McMahill * dan AT mcmahill dot net *
17204 * doc/version.texi: bump updated date
17206 2006-03-21 Dan McMahill * dan AT mcmahill dot net *
17208 * doc/Makefile.in: regen
17210 2006-03-21 Dan McMahill * dan AT mcmahill dot net *
17212 * doc/Makefile.am: Minor updates to fix the 'distcheck' target.
17213 Adds a missing file (extract-docs) to the list of distributed files, uses $(srcdir) in a
17214 couple of spots, etc.
17216 2006-03-20 Dan McMahill * dan AT mcmahill dot net *
17220 2006-03-20 Dan McMahill * dan AT mcmahill dot net *
17222 * configure.ac: - replace obsolete AC_ERROR with AC_MSG_ERROR - store the path to the m4 executible
17224 2006-03-16 DJ Delorie * dj AT delorie dot com *
17226 * src/parse_y.y: Document ElementArc, ElementLine, and Mark.
17228 2006-03-14 Dan McMahill * dan AT mcmahill dot net *
17230 * doc/pad.pcb: add drawing of soldermask opening around a pad
17232 2006-03-14 Dan McMahill * dan AT mcmahill dot net *
17234 * lib/QueryLibrary.sh.in, lib/common.m4: add an optional -fp
17235 argument which will display the correct footprint= attribute for
17236 gschem. Generally useful for debugging.
17238 2006-03-14 Dan McMahill * dan AT mcmahill dot net *
17240 * lib/pci.inc, lib/pci.list, lib/pci.m4: Remove the abuse of the
17241 value field as a way of passing in multiple extra parameters. While
17242 here fix the pinlists. These footprints still have diagonal pads
17243 which are not allowed.
17245 2006-03-14 Dan McMahill * dan AT mcmahill dot net *
17247 * lib/Makefile.in, src/Makefile.in: regen
17249 2006-03-14 Dan McMahill * dan AT mcmahill dot net *
17251 * lib/Makefile.am, lib/genericsmt.inc, lib/genericsmt.list,
17252 lib/genericsmt.m4: garbage collect some footprints that were not at
17253 all conforming to the correct usage of the m4 library system. In
17254 addition, they were rather redundant.
17256 2006-03-13 Dan McMahill * dan AT mcmahill dot net *
17258 * lib/CreateLibraryContents.sh.in: put the correct gschem footprint=
17259 attribute in [] at the end of each description
17261 2006-03-12 DJ Delorie * dj AT delorie dot com *
17263 * doc/extract-docs: New file, for extracting inline documentation.
17265 2006-03-12 Dan McMahill * dan AT mcmahill dot net *
17267 * lib/QueryLibrary.sh.in: eat blank lines of which there can be many
17268 in the element output
17270 2006-03-11 DJ Delorie * dj AT delorie dot com *
17272 * doc/Makefile.am, doc/Makefile.in, doc/pcb.css, doc/pcb.texi,
17273 src/const.h, src/parse_y.y: Inline documentation.
17275 2006-03-11 DJ Delorie * dj AT delorie dot com *
17277 * src/action.c, src/change.c, src/change.h: Add "join" to SetFlag,
17278 ClrFlag, and ChangeFlag actions.
17280 2006-03-08 Harry Eaton * haceaton AT users dot sourceforge dot net *
17282 * src/autoroute.c: Fixed bug where pads were assumed to be on the
17283 same side as the element
17285 ----------------------------------------------------------------------
17287 2006-03-08 Harry Eaton * haceaton AT users dot sourceforge dot net *
17289 * src/crosshair.c: Crosshair snap to pad ends instead of center -
17290 necessary for rat drawing because rats only connect at pad end
17293 ----------------------------------------------------------------------
17295 2006-03-06 DJ Delorie * dj AT delorie dot com *
17297 * src/print.c: Fab author fixes from Karel.
17299 2006-03-06 Dan McMahill * dan AT mcmahill dot net *
17301 * src/parse_y.y: Fix reduce-reduce conflicts (patch from DJ).
17303 2006-03-03 Dan McMahill * dan AT mcmahill dot net *
17305 * doc/pcb.texi: - clarify that the manual does not currently document the very
17306 latest pcb output file format. - add a (sparsely populated) glossary appendix - add a note about how to change layers
17308 2006-03-03 Dan McMahill * dan AT mcmahill dot net *
17310 * globalconst.h, src/action.c, src/create.c, src/file.c,
17311 src/find.c, src/global.h, src/gui-config.c, src/parse_y.y,
17312 src/rotate.c, src/sizedialog.c, src/vendor.c: add DRC checks for
17313 minimum drill diameter and minimum annular ring.
17315 2006-03-02 Dan McMahill * dan AT mcmahill dot net *
17317 * src/rats.c: When manually adding nets, make sure we actually pick
17318 a unique name when a new net is created. Fixes a bug noted by
17319 Vanessa Dannenberg.
17321 2006-02-28 Dan McMahill * dan AT mcmahill dot net *
17323 * doc/pad.pcb: Add a pad drawing showing how a pad is drawn with a
17324 rectangular aperture. Not used yet, but this will replace the tgif
17325 drawing at some point.
17327 2006-01-29 Dan McMahill * dan AT mcmahill dot net *
17329 * src/error.c: apply some fixes for DragonFly BSD
17331 2006-01-18 Dan McMahill * dan AT mcmahill dot net *
17333 * src/action.c: format cleanup of ActionChangePinName() to bring
17334 more in line with GNU coding standards for C code formatting.
17336 2006-01-17 Dan McMahill * dan AT mcmahill dot net *
17338 * doc/pcb.texi: document ChangePinName action
17340 2006-01-17 Dan McMahill * dan AT mcmahill dot net *
17342 * src/action.c, src/action.h, src/command.c: add a ChangePinName()
17343 action which lets you change the name of a pin/pad on an element.
17344 For example, ChangePinName(U1, 7, VCC) changes the name of pin #7 on
17345 U1 to "VCC". This makes it simple to propagate pin names from a
17346 schematic capture tool to the layout without requiring the layout
17347 library to know the pin names for every component.
17349 2006-01-16 Harry Eaton * haceaton AT users dot sourceforge dot net *
17351 * src/buffer.c, src/copy.c, src/create.c, src/draw.c, src/find.c,
17352 src/insert.c, src/move.c, src/mymem.c, src/parse_y.y,
17353 src/polygon.c, src/print.c, src/remove.c, src/report.c,
17354 src/search.c, src/select.c: Updated to use rtrees for polygon
17357 2006-01-15 Harry Eaton * haceaton AT users dot sourceforge dot net *
17359 * src/polygon.c: Fixed bugs in GetClosestPolygonPoint where (a) the
17360 passed point was not used, and (b) projection of the segment past
17361 the end was being used when it shouldn't.
17363 ----------------------------------------------------------------------
17365 2006-01-02 Harry Eaton * haceaton AT users dot sourceforge dot net *
17367 * src/autoroute.c: Speed computation of route costs, it uses about
17368 13% of the CPU time during routing.
17370 ----------------------------------------------------------------------
17372 2006-01-02 Harry Eaton * haceaton AT users dot sourceforge dot net *
17374 * src/rtree.c: Speed up the rtree searches by establishing better
17375 balance of the cluster size during a node split. This reduces the
17376 tree depth resulting in faster searching.
17378 ----------------------------------------------------------------------
17380 2006-01-02 Harry Eaton * haceaton AT users dot sourceforge dot net *
17382 * src/strflags.c: Fixed clearline flag so that arcs also have this
17385 ----------------------------------------------------------------------
17387 2006-01-02 Harry Eaton * haceaton AT users dot sourceforge dot net *
17389 * src/change.c: Fixed bug where clearances could be set 1 below the
17392 ----------------------------------------------------------------------
17394 2005-12-09 Dan McMahill * dan AT mcmahill dot net *
17396 * doc/Makefile.in: regen [put the html manual in 1 file]
17398 2005-12-09 Dan McMahill * dan AT mcmahill dot net *
17400 * doc/Makefile.am: put the html manual in 1 file. Its a bit easier
17403 2005-12-09 Dan McMahill * dan AT mcmahill dot net *
17405 * doc/version.texi: bump date last touched
17407 2005-12-07 Dan McMahill * dan AT mcmahill dot net *
17409 * lib/smt.inc: cause the missing ) in PKG_SMT_2PAD_MM100 to appear
17411 2005-12-06 Dan McMahill * dan AT mcmahill dot net *
17413 * doc/pcb.texi: - added the pad drawing showing how a pad is drawn with an aperture. - added some comments about the evolving file format for layout
17416 2005-12-02 Dan McMahill * dan AT mcmahill dot net *
17418 * src/create.c, src/global.h, src/gui-netlist-window.c, src/rats.c:
17419 fix a bug which prevented disabling nets from the ratsnest
17421 2005-12-02 Dan McMahill * dan AT mcmahill dot net *
17423 * lib/geda.inc: fix duplicate PKG_SME4 which should have been called
17424 SME5. Reported by Wojciech Kazubski in bug #1353304
17426 2005-12-02 Dan McMahill * dan AT mcmahill dot net *
17428 * src/pcbtest.sh.in: Be sure to set the library path to the source
17429 tree. Patch supplied by Wim Lewis in patch #1362564
17431 2005-10-11 Dan McMahill * dan AT mcmahill dot net *
17433 * lib/geda.inc: redo the 0201, 0402, etc passives to bring them in
17434 line with the IPC recommendations. The pads on, for example 0603,
17435 were too small before. They worked, were really not adequate.
17437 2005-10-11 Dan McMahill * dan AT mcmahill dot net *
17439 * lib/smt.inc: add a PKG_SMT_2PAD_MM100 which directly takes
17440 dimensions for the pads, silk, and placement courtyard from IPC-7351
17441 for things like 0402 capacitor and resistor footprints.
17443 2005-09-06 Dan McMahill * dan AT mcmahill dot net *
17445 * autogen.sh: make this script a bit more verbose and also abort on
17448 2005-09-06 Dan McMahill * dan AT mcmahill dot net *
17452 2005-09-06 Dan McMahill * dan AT mcmahill dot net *
17454 * configure.ac: make sure to check for -lX11 even when we're using
17455 the gtk gui. action.c still has a direct call to an X function
17456 (XWarpPointer) so on some systems (Solaris) you need to explicitly
17457 link -lX11 instead of getting it through the gtk dependencies
17459 2005-08-05 Dan McMahill * dan AT mcmahill dot net *
17463 2005-08-05 Dan McMahill * dan AT mcmahill dot net *
17465 * configure.ac: check for gtk+ >= 2.4.0 instead of 2.2.0 since we
17468 2005-08-05 Dan McMahill * dan AT mcmahill dot net *
17470 * src/script/Makefile.am, src/script/Makefile.in: add pcb-print to
17471 the list of distributed files
17473 2005-08-05 Dan McMahill * dan AT mcmahill dot net *
17475 * src/script/pcb-print: fix a bug in the --add-alignment option.
17476 Noted by David Baird
17478 2005-08-04 Dan McMahill * dan AT mcmahill dot net *
17480 * src/gui-library-window.c: fix -auto-place for the library window
17482 2005-08-04 Dan McMahill * dan AT mcmahill dot net *
17484 * src/script/pcb-print: add script to make it easier to print from
17487 2005-08-04 Dan McMahill * dan AT mcmahill dot net *
17489 * src/action.c, src/action.h, src/command.c, src/global.h,
17490 src/gui-library-window.c, src/gui-log-window.c,
17491 src/gui-netlist-window.c, src/gui-pinout-window.c,
17492 src/gui-top-window.c, src/main.c, src/misc.c,
17493 src/script/Makefile.am, src/script/Makefile.in: - change the Print action to PrintDialog since it causes the print dialog box to come up - add a new Print action provided by David Baird as patch # 1212168. Modified by me to work with the gtk version of pcb. - to let this action work, allow actions to take a parameter list
17494 and # of parameters to allow large numbers of arguments. - modify the Quit action and some of the initialization code so that you can use Quit() in a startup script. - add a -auto-place command line option which causes the windows to
17495 be automatically placed rather than letting the window manager do
17496 it. This is useful when printing via the command line. - add a command line shell script for printing. This is a wrapper
17497 which takes a whole bunch of flags relating to the print parameters
17498 and translates that to the correct invocation of the Print() action. Shell script provided by David Baird as part of patch #1212168 and modified by me to make it portable.
17500 2005-07-31 Dan McMahill * dan AT mcmahill dot net *
17502 * lib/geda.inc: add 1008 package
17504 2005-07-27 Dan McMahill * dan AT mcmahill dot net *
17506 * lib/bourns.inc: fix the pin order.
17508 2005-07-24 Harry Eaton * haceaton AT users dot sourceforge dot net *
17510 * src/gui-config.c: Fix initial layer groups so that layer named
17511 'component' is actually on the component side and layer named
17512 'solder' is actually on the solder side. Unfortunately the GTK
17513 version saves the old bug in the .pcb/preferences file so no
17514 patching will fix existing installations. They must manually edit
17515 the layer groups and check the "use as default" to fix their
17518 ----------------------------------------------------------------------
17520 2005-07-23 Dan McMahill * dan AT mcmahill dot net *
17522 * aclocal.m4, configure: regen (fix botched commit which was missing
17525 2005-07-22 Dan McMahill * dan AT mcmahill dot net *
17527 * doc/pcb.texi, doc/version.texi: add appendix describing the
17528 centroid file format along with the algorithm for finding the
17529 centroid and rotation.
17531 2005-07-22 Dan McMahill * dan AT mcmahill dot net *
17533 * src/print.c: remove some redundant code to make things more clear
17535 2005-07-18 Dan McMahill * dan AT mcmahill dot net *
17537 * lib/genericsmt.m4: fix typo
17539 2005-07-18 Dan McMahill * dan AT mcmahill dot net *
17541 * aclocal.m4, configure: regen
17543 2005-07-18 Dan McMahill * dan AT mcmahill dot net *
17545 * configure.ac, src/vendor.c: add a check for sys/types.h and then
17546 if found, include in vendor.c. Needed to build on FreeBSD. Problem
17547 and fix reported in bug #1220963.
17549 2005-07-18 Dan McMahill * dan AT mcmahill dot net *
17551 * lib/qfn.inc: hires-ify the QFN packages. While here make sure we
17552 use an appropriate soldermask relief for this style of package.
17554 2005-07-18 Dan McMahill * dan AT mcmahill dot net *
17556 * src/gui-dialog-print.c, src/gui-dialog-size.c, src/set.c: remove
17557 the inclusion of menu.h. We don't use that file anymore and the
17558 only reason we could still build on some systems is we'd find the
17559 /usr/include/menu.h from curses! Problem noted in bug #1226924 by
17562 2005-07-18 Dan McMahill * dan AT mcmahill dot net *
17564 * doc/refcard.tex, src/gui-keyref-window.c, src/gui-output-events.c:
17565 apply patches provided by Bill Wilson in patch #1230708. Fix key bindings for drill size changes to be <mod>s and <shift><mod>s to agree with the Xaw default key bindings. Add missing key bindings '/' and '.' for cycle multiline mode and toggle 45 degree enforcement respectively. Fix refcard.tex to reflect the current set of key binding. Now the gtk key bindings and the refcard should be in sync and be the same as the default Xaw PCB bindings with one exception: the buffer selection binding is <control>1...5 instead of <shift>1...5. This can be fixed but at the cost of removing the shortcuts from the menus because gtk can't use <shift>digits as menu shortcuts.
17567 2005-07-18 Dan McMahill * dan AT mcmahill dot net *
17569 * INSTALL, NEWS, README-GTK_PORT: apply patches provided by Bill
17570 Wilson in patch #1230704 This patch adds a note to the README-GTK_PORT about runtime warnings if using early gtk+2.4.0 versions. It also makes small adjustments to the INSTALL file to remove an outdated Xt reference and a non-existent 68HC11 file reference. In addition, note that gtk+2.4 is needed, not gtk+2.2.
17572 2005-07-18 Dan McMahill * dan AT mcmahill dot net *
17574 * src/global.h, src/gui-config.c, src/gui-top-window.c, src/gui.h:
17575 apply patches provided by Bill Wilson in patch #1227292 As per a request on the gEDA list, this patch adds a Preferences option to make the layout name appear on the window title bar instead of on the main menu bar area. This is convenient when the layout name might be somewhat long and takes up too much horizontal space on the menu bar area.
17577 2005-07-18 Dan McMahill * dan AT mcmahill dot net *
17579 * src/file.c, src/gui-config.c, src/gui-top-window.c: apply patches
17580 provided by Bill Wilson in patch #1227205 When loading layouts using
17581 alternating mil/mm units, the PCB units displaying can get out of
17582 sync. This patch fixes it.
17584 2005-07-18 Dan McMahill * dan AT mcmahill dot net *
17586 * src/find.c, src/gui-utils.c: apply patches provided by Bill Wilson
17587 in patch #1215935 1) The DRC user interface issue has been reported on the gEDA
17588 mailing list and is listed on the PCB bugs page as request id
17589 1206762 dated 2005-05-23 01:29 and is fixed in this patch. 3) Fix a dangling DRC check g_message() which I overlooked fixing
17590 during the final Gtk port cleanup. 4) Adjust the DRC draw centering to be 1/4 screen offset since the
17591 continue dialog is centered (under window manager control) and that
17592 was covering up the DRC highlighted portion of the draw which was
17593 previously also centered. 2) The log window was not scrolling to keep most recent log items
17594 added in view and this patch fixes that.
17596 2005-07-18 Dan McMahill * dan AT mcmahill dot net *
17598 * src/const.h, src/global.h, src/gui-netlist-window.c: apply the
17599 patches provided by Wim Lewis in patch #1189989 to allow pcb to
17600 compile more cleanly on OpenBSD.
17602 2005-06-11 DJ Delorie * dj AT delorie dot com *
17604 * src/action.c, src/autoroute.c, src/buffer.c, src/change.c,
17605 src/const.h, src/copy.c, src/create.c, src/create.h,
17606 src/crosshair.c, src/data.h, src/dev_rs274x.c, src/djopt.c,
17607 src/draw.c, src/file.c, src/find.c, src/global.h,
17608 src/gui-top-window.c, src/insert.c, src/line.c, src/macro.h,
17609 src/misc.c, src/misc.h, src/move.c, src/mymem.c, src/parse_l.l,
17610 src/parse_y.y, src/polygon.c, src/print.c, src/rats.c,
17611 src/report.c, src/rotate.c, src/search.c, src/strflags.c,
17612 src/strflags.h, src/undo.c, src/undo.h: Update sources to support
17613 more than 8 layers.
17615 2005-06-08 Dan McMahill * dan AT mcmahill dot net *
17617 * NEWS: add news for 20050609
17619 2005-06-08 Dan McMahill * dan AT mcmahill dot net *
17621 * ChangeLog: add changes for 20050609
17623 2005-06-08 Dan McMahill * dan AT mcmahill dot net *
17625 * globalconst.h: reduce minimum board size from 1.2 to 0.6 inches
17627 2005-06-08 Dan McMahill * dan AT mcmahill dot net *
17629 * src/Makefile.in: regen [add missing strflags.h]
17631 2005-06-08 Dan McMahill * dan AT mcmahill dot net *
17633 * src/Makefile.am: add missing strflags.h
17635 2005-06-08 Dan McMahill * dan AT mcmahill dot net *
17639 2005-06-08 Dan McMahill * dan AT mcmahill dot net *
17641 * configure.ac: make sure we still set the X library rpath (yes, it
17642 is still possible to use --disable-rpath debian folks).
17644 2005-06-08 Dan McMahill * dan AT mcmahill dot net *
17646 * src/draw.c, src/global.h, src/gui-config.c,
17647 src/gui-output-events.c, src/gui-top-window.c, src/gui-utils.c,
17648 src/main.c: convert several c++ style comments to c comments. not
17649 all compilers like //
17651 2005-06-03 DJ Delorie * dj AT delorie dot com *
17653 * src/djopt.c: Avoid name conflict with abs/min/max
17655 2005-05-26 Dan McMahill * dan AT mcmahill dot net *
17657 * configure: regen [error out if m4 not found]
17659 2005-05-26 Dan McMahill * dan AT mcmahill dot net *
17661 * configure.ac: error out if m4 is not found
17663 2005-03-28 DJ Delorie * dj AT delorie dot com *
17665 * src/strflags.c: Fix the "all pads are ovals" bug.
17667 2005-03-21 DJ Delorie * dj AT delorie dot com *
17669 * src/strflags.c: Minor bugfixes related to error handling
17671 2005-03-21 DJ Delorie * dj AT delorie dot com *
17673 * src/Makefile.am, src/Makefile.in, src/file.c, src/parse_y.y,
17674 src/strflags.c, src/strflags.h: When saving files, convert flags to
17675 symbolic format instead of storing the actual internal bitfield.
17677 2005-03-21 DJ Delorie * dj AT delorie dot com *
17679 * src/const.h: Put parens around computed macros. Use ~0 instead of
17682 2005-03-14 Dan McMahill * dan AT mcmahill dot net *
17684 * src/gui-icons-misc.data, src/gui-icons-mode-buttons.data: add some
17685 files missed in the gtk-pcb checkin
17687 2005-03-13 Dan McMahill * dan AT mcmahill dot net *
17689 * doc/pcbrc-sample, src/file.c, src/global.h, src/gui-config.c,
17690 src/gui-top-window.c, src/gui.h, src/main.c, src/misc.c,
17691 src/misc.h, src/pcbtest.sh.in: add some config file patches from
17694 2005-03-12 Dan McMahill * dan AT mcmahill dot net *
17696 * README-GTK_PORT, configure, configure.ac, doc/version.texi,
17697 globalconst.h, po/fr_FR.po, po/pcb.pot, src/Makefile.am,
17698 src/Makefile.in, src/Pcb.ad.in, src/action.c, src/action.h,
17699 src/autoplace.c, src/autoroute.c, src/buffer.c, src/change.c,
17700 src/clip.c, src/clip.h, src/command.c, src/command.h, src/const.h,
17701 src/create.c, src/crosshair.c, src/data.c, src/data.h,
17702 src/dev_ps.c, src/dev_rs274x.c, src/djopt.c, src/djopt.h,
17703 src/draw.c, src/draw.h, src/drill.c, src/error.c, src/error.h,
17704 src/file.c, src/file.h, src/find.c, src/global.h,
17705 src/gui-command-window.c, src/gui-config.c, src/gui-dialog-print.c,
17706 src/gui-dialog-size.c, src/gui-dialog.c, src/gui-keyref-window.c,
17707 src/gui-library-window.c, src/gui-log-window.c, src/gui-misc.c,
17708 src/gui-netlist-window.c, src/gui-output-events.c,
17709 src/gui-pinout-window.c, src/gui-top-window.c, src/gui-utils.c,
17710 src/gui.h, src/heap.c, src/insert.c, src/intersect.c, src/line.c,
17711 src/macro.h, src/main.c, src/menu.h, src/misc.c, src/misc.h,
17712 src/move.c, src/mtspace.c, src/mymem.c, src/output.c, src/output.h,
17713 src/parse_l.l, src/parse_y.y, src/pcb-menu.res, src/pcbtest.sh.in,
17714 src/polygon.c, src/print.c, src/rats.c, src/rats.h, src/report.c,
17715 src/res_parse.y, src/rotate.c, src/rtree.c, src/script/pcb.in,
17716 src/select.c, src/select.h, src/set.c, src/set.h, src/undo.c,
17717 src/vector.c, src/vendor.c, src/vendor.h: Import Bill Wilson's port
17718 of pcb to gtk. Things seem to compile and run but this should be
17719 considered a work in progress at the moment.
17721 2005-03-12 Dan McMahill * dan AT mcmahill dot net *
17723 * doc/Makefile.in: regen
17725 2005-03-12 Dan McMahill * dan AT mcmahill dot net *
17727 * doc/Makefile.am: add a few missing files to EXTRA_DIST
17729 2005-03-10 Dan McMahill * dan AT mcmahill dot net *
17731 * ChangeLog: update with latest changes
17733 2005-03-10 Dan McMahill * dan AT mcmahill dot net *
17735 * Makefile.in, README_FILES/Makefile.in, doc/Makefile.in,
17736 doc/version.texi, example/Makefile.in,
17737 example/libraries/Makefile.in, lib/Makefile.in,
17738 newlib/2_pin_thru-hole_packages/Makefile.in, newlib/Makefile.in,
17739 newlib/analog-devices/Makefile.in, newlib/burr-brown/Makefile.in,
17740 newlib/connectors/Makefile.in, newlib/crystal/Makefile.in,
17741 newlib/cypress/Makefile.in, newlib/electro-optics/Makefile.in,
17742 newlib/generic_SMD_packages/Makefile.in,
17743 newlib/headers/Makefile.in, newlib/msp430/Makefile.in,
17744 newlib/not_vetted_ingo/Makefile.in, newlib/sockets/Makefile.in,
17745 newlib/tests/Makefile.in, newlib/toko/Makefile.in, src/Makefile.in,
17746 src/icons/Makefile.in, src/script/Makefile.in, tools/Makefile.in,
17747 tutorial/Makefile.in: regen after adding gtk configure.ac stuff
17749 2005-03-10 Dan McMahill * dan AT mcmahill dot net *
17751 * autogen.sh: use ACLOCAL_FLAGS if set
17753 2005-03-10 Dan McMahill * dan AT mcmahill dot net *
17755 * lib/geda.inc, lib/misc.inc, lib/to.inc: add MULTIWATT and friends.
17756 Fix drill size for several versions of the TO-220 package, fix some
17757 bugs which caused several TO-220 packages and others to generate
17758 syntax errors, and fix the drill size on several TO-* packages. You
17759 can't fit a 40 mil pin in a 20 mil hole!
17761 2005-02-23 DJ Delorie * dj AT delorie dot com *
17763 * src/global.h, src/main.c, src/print.c: Allow FAB author name to be
17766 2005-02-10 Dan McMahill * dan AT mcmahill dot net *
17768 * src/action.h: add a few missing prototypes
17770 2005-02-09 Dan McMahill * dan AT mcmahill dot net *
17772 * aclocal.m4: regen
17774 2005-02-09 Dan McMahill * dan AT mcmahill dot net *
17776 * configure: regen after adding --enable-gtk and --disable-xaw
17778 2005-02-09 Dan McMahill * dan AT mcmahill dot net *
17780 * configure.ac: add --enable-gtk and --disable-xaw configure flags
17781 which will turn on the configuring of gtk+ and turn off the
17782 configuring of Athena widgets respectively. At this time the effect
17783 is that you will not be able to compile if you use these options.
17784 They are added to help support some gtk+ development work.
17786 2005-02-02 Dan McMahill * dan AT mcmahill dot net *
17788 * src/data.c, src/dialog.c, src/printdialog.c: fix a segfault bug
17789 when using <Key>Up and <Key>Down to try and adjust the scale slider
17790 in the print dialog box. While here fix up the print dialog box so
17791 that you can use the arrow keys to fine adjust the scale slider.
17792 Noted in bug #1111847 filed by Bob Paddock.
17794 2005-02-02 Dan McMahill * dan AT mcmahill dot net *
17796 * src/rotate.c: fix a segfault bug on the pinout window (no null
17797 pointer dereference)
17799 2005-02-02 Dan McMahill * dan AT mcmahill dot net *
17801 * src/Pcb.ad.in: change units to 1/100 mil for pinout window offset
17803 2005-01-30 Dan McMahill * dan AT mcmahill dot net *
17805 * lib/geda.inc: Add DIP44. Provided by Walter Fetter Lages in patch
17808 2005-01-30 Dan McMahill * dan AT mcmahill dot net *
17810 * lib/misc.inc: fix drill size for ZIP packages. Noted by Walter
17811 Fetter Lages in patch #1108881
17813 2005-01-30 Dan McMahill * dan AT mcmahill dot net *
17815 * lib/connector.inc: fix drill size for PKG_BNC_LAY. Provided by
17816 Walter Fetter Lages in patch #1108881
17818 2005-01-30 Dan McMahill * dan AT mcmahill dot net *
17820 * lib/geda.inc: add TQFP packages provided by Walter Fetter Lages in
17821 patch #1108881. More to come from that patch...
17823 2005-01-29 Dan McMahill * dan AT mcmahill dot net *
17825 * doc/Makefile.in: regen
17827 2005-01-29 Dan McMahill * dan AT mcmahill dot net *
17829 * doc/Makefile.am: add flag to keep building the html manual as a
17830 single page. Having multiple pages seems to do strange things to
17833 2005-01-29 Dan McMahill * dan AT mcmahill dot net *
17835 * doc/Makefile.in: regen
17837 2005-01-29 Dan McMahill * dan AT mcmahill dot net *
17839 * doc/Makefile.am: fix typo in target for creating texi files from
17840 the ascii list of drills
17842 2005-01-29 Dan McMahill * dan AT mcmahill dot net *
17844 * doc/Makefile.in: regen
17846 2005-01-29 Dan McMahill * dan AT mcmahill dot net *
17848 * doc/Makefile.am, doc/ascii2texi.awk, doc/fractional_size.tab,
17849 doc/letter_size.tab, doc/metric_size.tab, doc/pcb.texi,
17850 doc/wire_size.tab: add an appendix with a big list of drill sizes.
17851 Included are American Standard wire size, letter size, fractional
17854 2005-01-27 Dan McMahill * dan AT mcmahill dot net *
17856 * NEWS: add news for snapshot 20050127
17858 2005-01-27 Dan McMahill * dan AT mcmahill dot net *
17860 * ChangeLog: update to get ready for next snapshot
17862 2005-01-27 Dan McMahill * dan AT mcmahill dot net *
17864 * Makefile.in, README_FILES/Makefile.in, aclocal.m4,
17865 doc/Makefile.in, example/Makefile.in,
17866 example/libraries/Makefile.in, lib/Makefile.in,
17867 newlib/2_pin_thru-hole_packages/Makefile.in, newlib/Makefile.in,
17868 newlib/analog-devices/Makefile.in, newlib/burr-brown/Makefile.in,
17869 newlib/connectors/Makefile.in, newlib/crystal/Makefile.in,
17870 newlib/cypress/Makefile.in, newlib/electro-optics/Makefile.in,
17871 newlib/generic_SMD_packages/Makefile.in,
17872 newlib/headers/Makefile.in, newlib/msp430/Makefile.in,
17873 newlib/not_vetted_ingo/Makefile.in, newlib/sockets/Makefile.in,
17874 newlib/tests/Makefile.in, newlib/toko/Makefile.in, src/Makefile.in,
17875 src/icons/Makefile.in, src/script/Makefile.in, tools/Makefile.in,
17876 tutorial/Makefile.in: update to latest automake
17878 2005-01-27 Dan McMahill * dan AT mcmahill dot net *
17880 * src/Pcb.ad.in, src/main.c: change pcb to Pcb in a commented out
17883 2005-01-27 Dan McMahill * dan AT mcmahill dot net *
17885 * lib/geda.inc, lib/misc.inc: fix the LED3 and LED5 footprints for
17886 T-1 and T-1 3/4 (3mm and 5mm) standard LED's. The old footprint had
17887 drill holes which were too small and also there was silk on the pad.
17889 2005-01-26 Dan McMahill * dan AT mcmahill dot net *
17891 * lib/plcc.inc: increase the padsize and drill size for through-hole
17894 2005-01-25 DJ Delorie * dj AT delorie dot com *
17896 * src/pcb-menu.res: Oops, take out test entry
17898 2005-01-25 DJ Delorie * dj AT delorie dot com *
17900 * src/menu.c, src/pcb-menu.res, src/resmenu.c, src/resmenu.h: Move
17901 right-click popup menu to pcb-menu.res also.
17903 2005-01-21 Dan McMahill * dan AT mcmahill dot net *
17905 * doc/version.texi: bump date
17907 2005-01-21 Dan McMahill * dan AT mcmahill dot net *
17909 * src/create.c: do not complain about MIN_PINORVIACOPPER on a
17912 2005-01-21 Dan McMahill * dan AT mcmahill dot net *
17914 * src/Pcb.ad.in, src/main.c, src/set.c: - break the status line into 2 lines as it was getting rather long - put the cursor position line below the menu as it is also getting rather long with the metric display. Besides keeping the 2 lines from being cutoff on smaller displays,
17915 it seems to avoid some of the strange Xaw issues seen in bug
17916 #1099862 and patch #1042731 where the porthole for the main drawing
17917 area is not properly sized and where the status line is sometimes
17918 covered by the porthole.
17920 2005-01-21 Dan McMahill * dan AT mcmahill dot net *
17922 * src/Makefile.in: regen
17924 2005-01-21 Dan McMahill * dan AT mcmahill dot net *
17926 * src/Makefile.am: for the .test/Pcb apps-default file (the one used
17927 when running before installation), use the pcb-menu.res file in the
17930 2005-01-21 Dan McMahill * dan AT mcmahill dot net *
17932 * doc/pcb.texi, src/action.c, src/pcb-menu.res: Add "Selected" and
17933 "All" arguments to DisperseElements so you have the option to not
17934 disperse all of them. Add corresponding menu choices.
17936 2005-01-18 Dan McMahill * dan AT mcmahill dot net *
17938 * src/print.c: avoid having text overlaying text in the fab drawing
17939 when a very small number of drill sizes are used. Problem reported
17940 in bug #1100163. Patch provided by Mick.
17942 2005-01-18 Dan McMahill * dan AT mcmahill dot net *
17946 2005-01-18 Dan McMahill * dan AT mcmahill dot net *
17948 * configure.ac: add a --disable-rpath flag to disable hardcoding of
17949 the X11 library path. Default behaviour is unchanged.
17951 2005-01-17 Dan McMahill * dan AT mcmahill dot net *
17953 * src/main.c: use LAYOUT_BOTTOM to always put the status line at the
17954 bottom of the main window. Gets rid of some annoying bugs on
17955 solaris and some other systems where the status line would sometimes
17956 get covered up when the window was resized.
17958 2005-01-17 Dan McMahill * dan AT mcmahill dot net *
17960 * src/create.c: in the message log produced when a via size has to
17961 be increased to meet the minimum copper, add a location to make it
17962 easier to locate the via.
17964 2005-01-17 Dan McMahill * dan AT mcmahill dot net *
17966 * src/Pcb.ad.in, src/main.c: Increase
17967 Pcb.masterForm*cursorPosition.width to make room for metric display.
17968 Provided by Mark Whitis in patch #1042731
17970 2005-01-17 Dan McMahill * dan AT mcmahill dot net *
17972 * doc/pcb.texi: add docs for ChangeClearSize() action. Also apply
17973 some other fixes provided in patch #1068842
17975 2005-01-14 Dan McMahill * dan AT mcmahill dot net *
17977 * lib/misc.inc: increase quoting of $2 in PKG_CRYSTAL to avoid the
17978 refdes from being expanded by m4. Lets you use "X1" as the refdes
17979 in gschem and gsch2pcb
17981 2005-01-13 Dan McMahill * dan AT mcmahill dot net *
17983 * README_FILES/Makefile.in: regen
17985 2005-01-13 Dan McMahill * dan AT mcmahill dot net *
17987 * doc/version.texi: udate data
17989 2005-01-13 Dan McMahill * dan AT mcmahill dot net *
17991 * src/pcb-menu.res: add DisperseElements() to menu
17993 2005-01-13 Dan McMahill * dan AT mcmahill dot net *
17995 * src/control.c, src/main.c, src/resmenu.c: remove some more
17998 2005-01-13 Dan McMahill * dan AT mcmahill dot net *
18000 * doc/pcb.texi, src/action.c, src/action.h, src/main.c: add a
18001 DisperseElements() action which will disperse all elemnents in a
18002 layout. The purpose is to spread out elements which are all on top
18003 of each other at the very beginning of a design.
18005 2005-01-06 Dan McMahill * dan AT mcmahill dot net *
18007 * README, README_FILES/LICENSE, README_FILES/MAILING,
18008 README_FILES/Makefile.am, README_FILES/README: remove duplicated
18009 files and fix some out of date info
18011 2005-01-06 Dan McMahill * dan AT mcmahill dot net *
18013 * src/djopt.c, src/rtree.c: cast some pointers to (void *) when
18014 printing debug output. reduces the # of compiler warnings
18016 2005-01-03 Dan McMahill * dan AT mcmahill dot net *
18018 * src/action.c, src/autoplace.c, src/autoroute.c, src/box.h,
18019 src/buffer.c, src/buffer.h, src/change.c, src/change.h, src/clip.c,
18020 src/clip.h, src/copy.c, src/copy.h, src/create.c, src/create.h,
18021 src/crosshair.c, src/crosshair.h, src/data.c, src/data.h,
18022 src/dev_ps.c, src/dev_rs274x.c, src/draw.c, src/file.c, src/find.c,
18023 src/find.h, src/global.h, src/insert.c, src/insert.h,
18024 src/intersect.c, src/line.c, src/macro.h, src/mirror.c,
18025 src/mirror.h, src/misc.c, src/misc.h, src/move.c, src/move.h,
18026 src/mtspace.c, src/output.c, src/output.h, src/pinout.c,
18027 src/polygon.c, src/polygon.h, src/print.c, src/print.h,
18028 src/printdialog.c, src/rotate.c, src/rotate.h, src/rubberband.c,
18029 src/search.c, src/search.h, src/set.c, src/set.h, src/undo.c,
18030 src/undo.h: change "Location" to "LocationType". Avoids some
18031 confusion with some compilers (SunPRO in particular) when "Location"
18032 is also used as part of a struct.
18034 2004-12-31 Dan McMahill * dan AT mcmahill dot net *
18036 * src/vendor.c: move the regfree() call _before_ the return from the
18037 function that calls it so that it actually happens.
18039 2004-12-12 Dan McMahill * dan AT mcmahill dot net *
18041 * src/vendor.c: remove a compiler warning
18043 2004-11-20 Dan McMahill * dan AT mcmahill dot net *
18045 * src/set.c: add metric output to the location display. Based on
18046 patches provided in patch #1042731 by Mark Whitis
18048 2004-11-20 Dan McMahill * dan AT mcmahill dot net *
18050 * src/main.c: adjust Pcb.masterForm*cursorPosition.width to match
18051 the app-defaults file value
18053 2004-11-20 Dan McMahill * dan AT mcmahill dot net *
18055 * src/actionlist.c: revert previous. Seems to have snuck in by
18056 mistake in the strcmp() cleanup.
18058 2004-11-20 Dan McMahill * dan AT mcmahill dot net *
18060 * src/pcb-menu.res: add <Key>. as the hotkey for toggling 45 degree
18061 line mode. addressed bug #1069665 filed by Mark Whitis.
18063 2004-11-19 Harry Eaton * haceaton AT users dot sourceforge dot net *
18065 * src/crosshair.c: Snap to pads go to pad centers and allow snapping
18066 to element mark too.
18068 ----------------------------------------------------------------------
18070 2004-11-19 Harry Eaton * haceaton AT users dot sourceforge dot net *
18072 * src/action.c, src/actionlist.c, src/autoplace.c, src/create.c,
18073 src/dev_rs274x.c, src/dialog.c, src/djopt.c, src/draw.c,
18074 src/file.c, src/fileselect.c, src/macro.h, src/main.c, src/misc.c,
18075 src/netlist.c, src/print.c, src/rats.c, src/res_parse.y,
18076 src/search.c, src/selector.c, src/set.c, src/vendor.c: Replace all
18077 strcmp with a macro that tests for NULL pointers
18079 ----------------------------------------------------------------------
18081 2004-11-08 Dan McMahill * dan AT mcmahill dot net *
18083 * src/control.c: Restore translation table for the mode buttons.
18084 This seems to fix the "mode buttons are not responsive" bug reported
18085 in bug #716517 Patch provided by Daniel Nilsson in patch #1023078.
18087 2004-11-07 Harry Eaton * haceaton AT users dot sourceforge dot net *
18089 * src/change.c, src/change.h: Allow element names to be edited over
18092 ----------------------------------------------------------------------
18094 2004-11-02 Dan McMahill * dan AT mcmahill dot net *
18096 * src/Pcb.ad.in: Fix the <Key>. binding to toggle 45 degree mode.
18097 Addresses bug #1022800
18099 2004-11-01 Dan McMahill * dan AT mcmahill dot net *
18101 * config.h.in, configure: regen [add support for ElectricFence
18102 debugging. --enable-efence]
18104 2004-11-01 Dan McMahill * dan AT mcmahill dot net *
18106 * configure.ac: add support for ElectricFence debugging.
18109 2004-11-01 Dan McMahill * dan AT mcmahill dot net *
18111 * doc/pcb.texi, doc/version.texi: clarify the units used by PCB a
18114 2004-10-31 Dan McMahill * dan AT mcmahill dot net *
18116 * doc/pcb.texi, src/vendor.c: Allow the use of regular expressions
18117 in the resources which specify elements which should not have their
18118 drill holes mapped to the vendor table.
18120 2004-10-30 Dan McMahill * dan AT mcmahill dot net *
18122 * src/pcb-menu.res, src/vendor.c: Modify the LoadVendor() action so
18123 if the file name is not give, the user is presented with a file
18124 selection dialog box to choose a file. Also add a menu choice for
18127 2004-10-30 Dan McMahill * dan AT mcmahill dot net *
18129 * src/script/pcb.in: Quote "$@" to keep args whole
18131 2004-10-29 Dan McMahill * dan AT mcmahill dot net *
18133 * src/Makefile.am, src/Makefile.in: add missing vendor.h
18135 2004-10-29 Dan McMahill * dan AT mcmahill dot net *
18137 * doc/pcb.texi: document vendor drill mapping
18139 2004-10-29 Dan McMahill * dan AT mcmahill dot net *
18141 * src/Makefile.in, src/actionlist.c: regen after adding vendor
18142 resource/mapping code
18144 2004-10-29 Dan McMahill * dan AT mcmahill dot net *
18146 * src/Makefile.am, src/action.c, src/change.c, src/change.h,
18147 src/create.c, src/pcb-menu.res, src/vendor.c, src/vendor.h: Add
18148 support for a loadable vendor resource. The primary purpose is to
18149 import a list of vendor supported or prefered drill sizes. The
18150 design is then modified to change drills to sizes in the drill list.
18151 Additionally, the vendor resource file may include DRC settings.
18153 2004-10-27 DJ Delorie * dj AT delorie dot com *
18155 * src/resmenu.c: Support multiple actions per line for -action and
18158 2004-10-27 DJ Delorie * dj AT delorie dot com *
18160 * src/pcbtest.sh.in: Quote "$@" to keep args whole
18162 2004-10-27 DJ Delorie * dj AT delorie dot com *
18164 * src/actionlist.c, src/global.h, src/main.c, src/resmenu.c: Add
18165 -action command line, to execute one action string at startup
18167 2004-10-27 DJ Delorie * dj AT delorie dot com *
18169 * src/pcb-menu.res, src/res_lex.l: Add support for comments.
18170 Comments begin with '#' and extend to the end of the line.
18172 2004-10-27 DJ Delorie * dj AT delorie dot com *
18174 * doc/pcb.texi, doc/version.texi: Document resource file comments
18176 2004-10-26 Dan McMahill * dan AT mcmahill dot net *
18178 * src/dialog.c: remove unused variable, make sure return returns a
18179 value on a non-void fn
18181 2004-10-25 Dan McMahill * dan AT mcmahill dot net *
18183 * src/dialog.c: Add date and compile time to the About dialog.
18184 Patch provided as patch #1053444 by Bob Paddock.
18186 2004-10-25 Dan McMahill * dan AT mcmahill dot net *
18188 * src/buffer.c: Fix one more (last one maybe?) hires bug where when
18189 converting a selection or buffer to element, the soldermask relief
18190 is 100x smaller than the default. Address bug report #1049033.
18192 2004-10-25 Dan McMahill * dan AT mcmahill dot net *
18194 * Makefile.in, README_FILES/Makefile.in, example/Makefile.in,
18195 example/libraries/Makefile.in, lib/Makefile.in,
18196 newlib/2_pin_thru-hole_packages/Makefile.in, newlib/Makefile.in,
18197 newlib/analog-devices/Makefile.in, newlib/burr-brown/Makefile.in,
18198 newlib/connectors/Makefile.in, newlib/crystal/Makefile.in,
18199 newlib/cypress/Makefile.in, newlib/electro-optics/Makefile.in,
18200 newlib/generic_SMD_packages/Makefile.in,
18201 newlib/headers/Makefile.in, newlib/msp430/Makefile.in,
18202 newlib/not_vetted_ingo/Makefile.in, newlib/sockets/Makefile.in,
18203 newlib/tests/Makefile.in, newlib/toko/Makefile.in, src/Makefile.in,
18204 src/icons/Makefile.in, src/script/Makefile.in, tools/Makefile.in,
18205 tutorial/Makefile.in: regen so that all Makefile.in files came from
18206 the same version of automake
18208 2004-10-25 Dan McMahill * dan AT mcmahill dot net *
18210 * doc/version.texi: update date on manual since there have been
18213 2004-10-23 Dan McMahill * dan AT mcmahill dot net *
18215 * doc/pcb.texi: minor fixups to make this happy again with the new
18218 2004-10-23 Dan McMahill * dan AT mcmahill dot net *
18220 * doc/texinfo.tex: update to texinfoversion 2004-09-06.16
18222 2004-10-21 Harry Eaton * haceaton AT users dot sourceforge dot net *
18224 * src/change.c: Fix borking of name_tree when changing an element
18227 ----------------------------------------------------------------------
18229 2004-10-21 Dan McMahill * dan AT mcmahill dot net *
18231 * doc/Makefile.in: regen
18233 2004-10-21 Dan McMahill * dan AT mcmahill dot net *
18235 * doc/Makefile.am: - override the mostlyclean-aminfo target to avoid deleting the .dvi,
18236 .html, .pdf, and .ps versions of the manual with 'make clean'.
18237 Since these files already go in the distfile, we don't want a 'make
18238 clean' to remove them as that would force a dependency on TeX. This
18239 issue was noted by Stuart Brorson. - while here let automake handle the html and pdf conversions
18240 automatically. This ends up defaulting to texi2pdf for PDF which
18241 seems to do a better job than ps2pdf anyway.
18243 2004-10-21 Dan McMahill * dan AT mcmahill dot net *
18245 * aclocal.m4, configure: regen
18247 2004-10-21 Dan McMahill * dan AT mcmahill dot net *
18249 * configure.ac: check for ps2pdf which is used for building the
18252 2004-10-21 Dan McMahill * dan AT mcmahill dot net *
18254 * acinclude.m4: improve the quoting so that aclocal-1.9.2 is happier
18256 2004-10-20 Dan McMahill * dan AT mcmahill dot net *
18258 * doc/pcb.texi: minor fixup in the newlib element creation guide.
18260 2004-10-20 Dan McMahill * dan AT mcmahill dot net *
18262 * doc/pcb.texi: Apply several improvements from Bob Paddock
18263 including: - spell check - improved section on modifying newlib footprints - add section on searching for elements - add section on measurements - add appendix on regular expressions Some texinfo fixes from me.
18265 2004-10-17 DJ Delorie * dj AT delorie dot com *
18267 * src/resmenu.c: Sort actions by modifier so that both Ctrl<Key>x
18270 2004-10-17 DJ Delorie * dj AT delorie dot com *
18272 * src/actionlist.c: Regenerated
18274 2004-10-17 DJ Delorie * dj AT delorie dot com *
18276 * src/action.c: Add FlagHaveRegex (have_regex) so that the
18277 SelectByName menu entries work.
18279 2004-10-12 DJ Delorie * dj AT delorie dot com *
18281 * src/global.h: Oops, overzealous patching ;-)
18283 2004-10-12 DJ Delorie * dj AT delorie dot com *
18285 * src/global.h: add non-gcc definition of ATTRIBUTE_UNUSED
18287 2004-10-12 Dan McMahill * dan AT mcmahill dot net *
18289 * src/global.h: add missing #else clause in defining
18290 ATTRIBUTE_UNUSED on non-gcc or older gcc version. Problem noted by
18293 2004-10-08 DJ Delorie * dj AT delorie dot com *
18295 * src/rats.c: Check for numberless pins.
18297 2004-10-08 DJ Delorie * dj AT delorie dot com *
18299 * src/print.c: Print plated and unplated hole counts on separate
18302 2004-10-06 DJ Delorie * dj AT delorie dot com *
18304 * src/print.c: Avoid checking pin numbers for unnumbered pins.
18306 2004-09-24 DJ Delorie * dj AT delorie dot com *
18308 * src/actionlist.c, src/data.c, src/dialog.c, src/global.h,
18309 src/main.c: Add command history to : widget.
18311 2004-09-24 Dan McMahill * dan AT mcmahill dot net *
18313 * README.snapshots: minor tweaks to instructions
18315 2004-09-21 Harry Eaton * haceaton AT users dot sourceforge dot net *
18317 * src/draw.c, src/move.c, src/pinout.c: Fixes for pinout window
18318 crash. Still need to fix pinout scroll range at high zoom
18320 2004-09-21 Harry Eaton * haceaton AT users dot sourceforge dot net *
18322 * src/misc.c: Fix error on non-quarter circle arc bounding box
18325 2004-09-21 Harry Eaton * haceaton AT users dot sourceforge dot net *
18327 * src/menu.c: Don't ask for X,Y coordinates in third-button pop-up
18328 menu; the coordinate is where the cursor was when the menu was
18331 2004-09-21 Harry Eaton * haceaton AT users dot sourceforge dot net *
18333 * src/draw.c: Fixed return value of Emark_callback. (Didn't really
18334 matter, we weren't count number of marks drawn).
18336 2004-09-21 Harry Eaton * haceaton AT users dot sourceforge dot net *
18338 * src/action.c: Allow Ctrl-drag to copy objects in arrow mode.
18340 2004-09-21 Harry Eaton * haceaton AT users dot sourceforge dot net *
18342 * src/polygon.c: Fix bug with polygon clearances from other layers
18345 2004-09-08 Dan McMahill * dan AT mcmahill dot net *
18347 * src/set.c: add an extra digit to the display of metric
18348 measurements. Patch from Gabriel Paubert.
18350 2004-09-04 Dan McMahill * dan AT mcmahill dot net *
18352 * NEWS: mention the background image in 20040903
18354 2004-09-03 Dan McMahill * dan AT mcmahill dot net *
18356 * NEWS: update with pcb-20040903 news items
18358 2004-09-03 Dan McMahill * dan AT mcmahill dot net *
18360 * ChangeLog: update to get ready for next snapshot
18362 2004-09-03 Dan McMahill * dan AT mcmahill dot net *
18364 * README.snapshots: add more detailed snapshot instructions
18366 2004-08-30 Dan McMahill * dan AT mcmahill dot net *
18368 * src/main.c, src/resmenu.h: add missing headers
18370 2004-08-30 Dan McMahill * dan AT mcmahill dot net *
18372 * src/parse_y.y: add missing prototype
18374 2004-08-30 Dan McMahill * dan AT mcmahill dot net *
18376 * src/find.c: remove unused variable
18378 2004-08-30 Dan McMahill * dan AT mcmahill dot net *
18380 * src/res_lex.l: add missing prototype
18382 2004-08-30 Dan McMahill * dan AT mcmahill dot net *
18384 * src/res_parse.y: clean up a few more compiler warnings
18386 2004-08-30 Dan McMahill * dan AT mcmahill dot net *
18388 * src/djopt.c: get rid of a bunch of format string compiler warnings
18389 along with some unused variable warnings
18391 2004-08-30 Dan McMahill * dan AT mcmahill dot net *
18393 * src/action.c, src/autoplace.c, src/autoroute.c, src/buffer.c,
18394 src/change.c, src/clip.c, src/command.c, src/compat.c,
18395 src/control.c, src/copy.c, src/create.c, src/crosshair.c,
18396 src/data.c, src/dev_ps.c, src/dev_rs274x.c, src/dialog.c,
18397 src/djopt.c, src/draw.c, src/drill.c, src/error.c, src/file.c,
18398 src/fileselect.c, src/find.c, src/global.h, src/gui.c, src/heap.c,
18399 src/insert.c, src/intersect.c, src/lgdialog.c, src/library.c,
18400 src/line.c, src/log.c, src/main.c, src/menu.c, src/mirror.c,
18401 src/misc.c, src/move.c, src/mtspace.c, src/mymem.c, src/netlist.c,
18402 src/output.c, src/parse_l.l, src/parse_y.y, src/pinout.c,
18403 src/polygon.c, src/print.c, src/printdialog.c, src/printpanner.c,
18404 src/rats.c, src/remove.c, src/report.c, src/res_lex.l,
18405 src/res_parse.y, src/resmenu.c, src/rotate.c, src/rtree.c,
18406 src/rubberband.c, src/search.c, src/select.c, src/selector.c,
18407 src/set.c, src/sizedialog.c, src/undo.c, src/vector.c: rework the
18408 lines which have static char *rcsid=.... to include an unused
18409 attribute on gcc. This gets rid of a bunch of gcc -Wall warnings
18410 which can cause some actual bugs to be lost in the noise. While here, make sure we include config.h and also dmalloc.h if
18411 dmalloc debugging has been requested.
18413 2004-08-29 Dan McMahill * dan AT mcmahill dot net *
18415 * src/draw.c: fix a "=" instead of "==" bug
18417 2004-08-28 Dan McMahill * dan AT mcmahill dot net *
18419 * README.cvs: update this to more closely match the current reality
18421 2004-08-28 Dan McMahill * dan AT mcmahill dot net *
18423 * src/actionlist.c: add actionlist.c for non-maintainers
18425 2004-08-28 Dan McMahill * dan AT mcmahill dot net *
18427 * configure: regen (if we are using gcc then add -Wall)
18429 2004-08-28 Dan McMahill * dan AT mcmahill dot net *
18431 * configure.ac: if we are using gcc then add -Wall
18433 2004-08-27 Dan McMahill * dan AT mcmahill dot net *
18435 * src/draw.c: add missing header (for isdigit)
18437 2004-08-27 Dan McMahill * dan AT mcmahill dot net *
18439 * src/dev_rs274x.c: use long int in some places to avoid assigning a
18442 2004-08-27 Dan McMahill * dan AT mcmahill dot net *
18444 * src/action.c, src/rtree.c: remove some unused variables
18446 2004-08-27 Dan McMahill * dan AT mcmahill dot net *
18448 * src/output.c, src/resmenu.c: add a missing header
18450 2004-08-27 Dan McMahill * dan AT mcmahill dot net *
18452 * src/main.c: remove an unused variable
18454 2004-08-27 Dan McMahill * dan AT mcmahill dot net *
18456 * doc/version.texi: bump updated date
18458 2004-08-27 Dan McMahill * dan AT mcmahill dot net *
18460 * doc/Makefile.in: regen (add pcb.1 to EXTRA_DIST)
18462 2004-08-27 Dan McMahill * dan AT mcmahill dot net *
18464 * doc/Makefile.am: add pcb.1 to EXTRA_DIST
18466 2004-08-27 Dan McMahill * dan AT mcmahill dot net *
18468 * doc/pcb.texi: document the ExecuteFile() action and the -script
18469 command line option
18471 2004-08-27 Dan McMahill * dan AT mcmahill dot net *
18473 * src/global.h, src/main.c, src/misc.c, src/resmenu.c: add an
18474 ExecuteFile(file) action which executes the actions contained in the
18475 specified file. In addition, add a "-script <filename>" option
18476 which will invoke ExecuteFile(<filename>) upon startup. Eventually
18477 (but not yet) this will be able to be used for things like
18478 generating postscript and RS-274-X output from the command line.
18480 2004-08-26 Dan McMahill * dan AT mcmahill dot net *
18482 * src/resmenu.c: Fix a minor memory leak bug which allocated space
18483 for 10 more pointers everytime invoke_action() was called. While here add a few comments about whats going on in this function.
18485 2004-08-25 Dan McMahill * dan AT mcmahill dot net *
18487 * doc/pcb.texi: update the table of the output files generated by
18490 2004-08-25 Dan McMahill * dan AT mcmahill dot net *
18492 * src/pcb-menu.res: use "Reference Designator" instead of "Name on
18493 PCB" as the former is more standard
18495 2004-08-25 Dan McMahill * dan AT mcmahill dot net *
18497 * src/file.c: exclude Makefile, Makefile.am, and Makefile.in as
18498 valid element names as these may reside in a lib directory
18500 2004-08-25 Dan McMahill * dan AT mcmahill dot net *
18502 * doc/pcb.texi: add a brief comment about what M4 is and where to
18505 2004-08-25 Dan McMahill * dan AT mcmahill dot net *
18507 * src/action.c: add one more Usage message. this time for the
18508 RemoveSelected() action
18510 2004-08-25 Dan McMahill * dan AT mcmahill dot net *
18512 * src/main.c, src/misc.c: allow --version, --help, and --copyright
18513 to also work since those are typically supported by GNU programs.
18515 2004-08-25 Dan McMahill * dan AT mcmahill dot net *
18517 * src/misc.c: In the Usage() function be sure to restore stderr at
18518 the beginning since this function calls exit(). This will ensure
18519 that the Usage() message can actually be seen in all cases. Fixes
18520 the following: clock AT oberon:~$ pcb --version clock AT oberon:~$ noted by Karel Kulhav on the gEDA mailing
18523 2004-08-24 Dan McMahill * dan AT mcmahill dot net *
18525 * doc/Makefile.in: regen after adding pcb.1
18527 2004-08-24 Dan McMahill * dan AT mcmahill dot net *
18529 * doc/Makefile.am, doc/pcb.1: add a man page which says where to
18530 look for the manual
18532 2004-07-31 Dan McMahill * dan AT mcmahill dot net *
18534 * src/find.c: avoid 'inline' unless we're using gcc.
18536 2004-07-31 Dan McMahill * dan AT mcmahill dot net *
18538 * src/res_parse.y: use foo?foo:bar instead of foo?:bar as the latter
18539 is a gcc extension. Makes the irix c compiler happy.
18541 2004-07-29 Dan McMahill * dan AT mcmahill dot net *
18543 * lib/geda.inc: update the 150 and 300 mil width SOIC packages per
18544 the IPC recommendations at footprint.ipc.org. Partially addresses
18545 the "silk on pad" bug noted in bug report #995401.
18547 2004-07-29 Dan McMahill * dan AT mcmahill dot net *
18549 * lib/smt.inc: improve the decision on adding or not adding a silk
18550 arc on the COMMON_SMT_DIL_MIL macro
18552 2004-07-17 Harry Eaton * haceaton AT users dot sourceforge dot net *
18554 * src/print.c: Only clear silk on same side as pad. Patch
18555 contributed by burto
18557 2004-07-10 DJ Delorie * dj AT delorie dot com *
18559 * doc/pcb.texi, src/draw.c, src/draw.h, src/global.h, src/main.c,
18560 src/misc.c: Add limited support for a behind-the-board background
18563 2004-07-08 Dan McMahill * dan AT mcmahill dot net *
18565 * src/rubberband.c: Fix a bug related to checking for the
18566 intersection of a circular region defined by an line end point and
18567 its radius and a rectangular pin/pad. The old code looked for the
18568 intersection of the smallest square which encloses the circular
18569 region and the rectangular pin/pad region. However this method
18570 claims that there are intersections when in fact there are not. For
18571 example a very wide trace has a significant area enclosed by the
18572 square which encloses the circular region defined by the line end
18573 and radius that is not enclosed by the circular region. The new code actually looks for intersection of the circular region
18574 and the square region.
18576 2004-07-07 Dan McMahill * dan AT mcmahill dot net *
18578 * src/rubberband.c: fix some errors where the diameter was used
18579 where the radius should have been used when looking for circular
18580 regions which intersect. Fixes bug report #978412. Partial patch
18581 provided in the bug report, additional bugs fixed by me. Note: a bug still exists when calculating line -> rectangular pad
18582 intersection. A fix will be coming.
18584 2004-07-02 Harry Eaton * haceaton AT users dot sourceforge dot net *
18586 * src/undo.c: Fix UndoChangeMaskSize assuming LINESTRUCT has the
18589 2004-06-30 Dan McMahill * dan AT mcmahill dot net *
18591 * src/pcbtest.sh.in, src/script/pcb.in: when running under gdb set
18592 XAPPLRESDIR and unset XUSERFILESEARCHPATH
18594 2004-06-30 Dan McMahill * dan AT mcmahill dot net *
18596 * src/resmenu.c: make 'str' static so that the memory allocated by
18597 MyStrdup() can properly be freed on the next call of invoke_action.
18599 2004-06-25 DJ Delorie * dj AT delorie dot com *
18601 * src/pcb-menu.res: Change size of selected objects, fix enlarge
18602 options to actually enlarge (bug 978408)
18604 2004-06-25 DJ Delorie * dj AT delorie dot com *
18606 * src/menu.c: Cut and Copy from the popup menu now wait for a click
18607 before acting (bug 978406)
18609 2004-06-24 DJ Delorie * dj AT delorie dot com *
18611 * src/Pcb.ad.in, src/main.c, src/menu.c, src/pcb-menu.res,
18612 src/resmenu.c, src/resmenu.h: Add support for menu accelerators.
18613 Replace hotkey translations with menu accelerators where
18616 2004-06-20 DJ Delorie * dj AT delorie dot com *
18618 * src/Makefile.am, src/Makefile.in: Run gather-actions only if
18621 2004-06-15 Harry Eaton * haceaton AT users dot sourceforge dot net *
18623 * src/action.c, src/autoroute.c, src/const.h, src/menu.c,
18624 src/pcb-menu.res: Fix live routing menu handling; patch segfault on
18625 breaking element with no element specified. Autorouter tweaks.
18627 2004-06-10 Dan McMahill * dan AT mcmahill dot net *
18629 * lib/geda.inc: add a few more 400mil width DIP packages (DIPxM)
18631 2004-06-10 Dan McMahill * dan AT mcmahill dot net *
18633 * src/dev_rs274x.c: make sure we define all aperture codes used by
18634 arcs. Fixes the bug reported in bug #969903 by Werner Hoch where an
18635 arc of a width not used by anything else in the layout does not have
18636 its aperture defined.
18638 2004-06-09 Dan McMahill * dan AT mcmahill dot net *
18640 * src/find.c: fix the function name strings passed to MyCalloc().
18642 2004-06-09 Dan McMahill * dan AT mcmahill dot net *
18644 * src/pcb-menu.res: Do not arbitrarily change the zoom setting
18645 whenever running DRC. Especially if there are no DRC errors, we
18646 don't want/need to change the zoom. Noted by Mark Becker.
18648 2004-06-09 Dan McMahill * dan AT mcmahill dot net *
18650 * src/pcb-menu.res: Add 0.5 and 0.1 mil grid selections. Requested
18651 in RFE #876549 by John Griessen.
18653 2004-06-09 Dan McMahill * dan AT mcmahill dot net *
18655 * src/find.c, src/misc.c, src/misc.h: Save layerstack settings prior
18656 to running DRC and restore them afterwards so that things like
18657 current input layer are not changed by DRC. Noted by Mark Becker.
18659 2004-06-05 Dan McMahill * dan AT mcmahill dot net *
18661 * configure: regen after rpath flag order change
18663 2004-06-05 Dan McMahill * dan AT mcmahill dot net *
18665 * configure.ac: change the order in the list of rpath flags which
18666 are tried out. This is because when -R was tried first, it was
18667 accepted on linux systems because even though gcc didn't like it, it
18668 still exited with 0. The new order seems to do the right thing on
18669 solaris, linux, and netbsd as the compiler now actually gives an
18670 error code for the flags it does not like.
18672 2004-06-05 DJ Delorie * dj AT delorie dot com *
18674 * src/djopt.c: Be even more picky about which line is chosen as an
18677 2004-06-04 Dan McMahill * dan AT mcmahill dot net *
18679 * configure: regen (If --enable-dmalloc is given but dmalloc is not
18680 found then error out instead of disabling dmalloc
18682 2004-06-04 Dan McMahill * dan AT mcmahill dot net *
18684 * configure.ac: If --enable-dmalloc is given but dmalloc is not
18685 found then error out instead of disabling dmalloc
18687 2004-06-03 Dan McMahill * dan AT mcmahill dot net *
18689 * src/action.c: add usage output for several more actions
18691 2004-06-03 Dan McMahill * dan AT mcmahill dot net *
18693 * src/action.c: Add usage output if the input arguments are not
18694 quite right for several actions. Still have more to add, but this
18697 2004-06-02 Dan McMahill * dan AT mcmahill dot net *
18699 * src/default_font: add @ character. Absence noted by Dave
18702 2004-06-01 Dan McMahill * dan AT mcmahill dot net *
18704 * src/pcb-menu.res: add a GetXY() to the 'copy selection to buffer'
18705 menu. Needed to have a resonable reference point for the copy.
18706 Noted by Mark Becker.
18708 2004-06-01 Dan McMahill * dan AT mcmahill dot net *
18710 * configure: regen (fail configuration if Xaw is not found)
18712 2004-06-01 Dan McMahill * dan AT mcmahill dot net *
18714 * configure.ac: fail configuration if Xaw is not found
18716 2004-05-31 Dan McMahill * dan AT mcmahill dot net *
18718 * README.snapshots: add a note to remember to do something better
18719 with versions on the next snapshot
18721 2004-05-31 Dan McMahill * dan AT mcmahill dot net *
18723 * NEWS: remove duplicated line
18725 2004-05-31 Dan McMahill * dan AT mcmahill dot net *
18727 * ChangeLog: update changelog with cvs2cl.pl. This file previously
18730 2004-05-31 Dan McMahill * dan AT mcmahill dot net *
18732 * doc/version.texi: bump updated date to match snapshot date
18734 2004-05-31 Dan McMahill * dan AT mcmahill dot net *
18736 * NEWS: add some release notes for the upcoming 20040530 snapshot
18738 2004-05-29 Dan McMahill * dan AT mcmahill dot net *
18740 * src/change.c: add missing prototype
18742 2004-05-29 Dan McMahill * dan AT mcmahill dot net *
18744 * globalconst.h: set MASKFRAME to be 3 (mils) instead of 0. This
18745 way the soldermask opening will be larger than the pads for
18746 components defined using the older style format which did not
18747 explicitly give soldermask relief size.
18749 2004-05-29 Dan McMahill * dan AT mcmahill dot net *
18751 * doc/pcb.texi: document the SetFlag(), ClrFlag(), and ChangeFlag()
18754 2004-05-29 Dan McMahill * dan AT mcmahill dot net *
18756 * doc/pcb.texi: correct location for Pcb appdefaults file
18758 2004-05-29 Dan McMahill * dan AT mcmahill dot net *
18760 * src/pcbtest.sh.in, src/script/pcb.in: For the pcb wrapper script,
18761 if the first argument is "-gdb", pick off that flag and run pcb
18762 inside of the gdb debugger. Should simplify debugging a bit.
18764 2004-05-29 Dan McMahill * dan AT mcmahill dot net *
18766 * src/action.c, src/action.h, src/change.c, src/change.h,
18767 src/main.c: Add SetFlag, ClrFlag, and ChangeFlag actions. These
18768 currently let you set, clear, or change the square, octagon, or
18769 thermal pads. For example :SetFlag(SelectedVias,thermal)
18770 :ClrFlag(SelectedObjects,square) :ChangeFlag(SelectedPads,octagon,1)
18772 2004-05-28 Dan McMahill * dan AT mcmahill dot net *
18774 * src/djopt.c: Fix the segfault bug noted in bug report #959073 by
18775 Bob Paddock. While here, also fix a bug which can potentially cause
18776 a floating point exception.
18778 2004-05-28 Dan McMahill * dan AT mcmahill dot net *
18780 * config.h.in, configure: regen after adding rint() test
18782 2004-05-28 Dan McMahill * dan AT mcmahill dot net *
18784 * configure.ac: add test for rint()
18786 2004-05-27 Dan McMahill * dan AT mcmahill dot net *
18788 * doc/version.texi: bump date
18790 2004-05-27 Dan McMahill * dan AT mcmahill dot net *
18792 * doc/pcb.texi: add INFO-DIR-SECTION Miscellaneous per bug #957369
18793 submitted by Mike Frysinger
18795 2004-05-23 Dan McMahill * dan AT mcmahill dot net *
18797 * lib/smt.inc: update the COMMON_SMT_2PAD_MIL macro to the newer
18798 element format. With this change, the soldermask relief and
18799 clearance can now be specified for the pads. This fixes the issue
18800 noted recently on the geda mailing list about 0805 footprints from
18801 the ~geda library having soldermask openings which are the same size
18804 2004-05-14 Dan McMahill * dan AT mcmahill dot net *
18806 * src/dev_ps.c: make sure we get the preamble in all EPS output
18807 files. Bug noted by David Koski
18809 2004-05-14 Dan McMahill * dan AT mcmahill dot net *
18811 * lib/geda.inc: add SOJ packages (lots of them)
18813 2004-05-14 Dan McMahill * dan AT mcmahill dot net *
18815 * lib/smt.inc: fix a hi-res bug in the polarity arc silk for some
18818 2004-05-14 Dan McMahill * dan AT mcmahill dot net *
18820 * src/res_parse.y: add missing string.h (for strcmp). Noted by Dave
18823 2004-05-14 Dan McMahill * dan AT mcmahill dot net *
18825 * src/pcbtest.sh.in, src/script/pcb.in: unset XUSERFILESEARCHPATH
18826 which causes a conflict with XAPPLRESDIR
18828 2004-05-14 Dan McMahill * dan AT mcmahill dot net *
18830 * src/resource.h: add a comment
18832 2004-05-13 Dan McMahill * dan AT mcmahill dot net *
18834 * src/misc.c: correct the pin/pad bounding box calculation. Bug
18835 noted by David Koski.
18837 2004-05-05 Dan McMahill * dan AT mcmahill dot net *
18839 * src/macro.h: fix typo in comment
18841 2004-05-02 DJ Delorie * dj AT delorie dot com *
18843 * src/djopt.c, src/pcb-menu.res: Add flag to default to optimizing
18844 only autorouted nets, plus menu option to control it.
18846 2004-05-02 DJ Delorie * dj AT delorie dot com *
18848 * src/resmenu.c: Don't use local var for widget name.
18850 2004-05-02 DJ Delorie * dj AT delorie dot com *
18852 * src/djopt.c: Fix bug wrt intersecting layer groups in miter
18854 2004-05-02 DJ Delorie * dj AT delorie dot com *
18856 * src/menu.c, src/resmenu.c: Remove gcc-isms
18858 2004-05-01 Dan McMahill * dan AT mcmahill dot net *
18860 * doc/pcb.texi: fix typo
18862 2004-05-01 Dan McMahill * dan AT mcmahill dot net *
18864 * src/resmenu.c: protect the inclusion of string.h with
18867 2004-04-30 Dan McMahill * dan AT mcmahill dot net *
18869 * lib/minicircuits.inc: adjust spacing between the 2 rows of pins to
18870 better match the datasheet
18872 2004-04-30 Dan McMahill * dan AT mcmahill dot net *
18874 * lib/smt.inc: clarify a comment
18876 2004-04-30 Dan McMahill * dan AT mcmahill dot net *
18878 * src/Pcb.ad.in, src/action.c, src/file.c, src/find.c,
18879 src/global.h, src/macro.h, src/main.c, src/parse_y.y,
18880 src/sizedialog.c: Add some DRC checking of silkscreen layers.
18881 Currently this check looks for minimum widths of silk lines.
18882 Currently not checked are: - silk polygons - silk text - wide silk lines made by overlapping several narrow silk lines
18884 2004-04-30 Dan McMahill * dan AT mcmahill dot net *
18886 * src/find.c: put a string which is repeated several times into a
18887 #define and use that macro instead.
18889 2004-04-29 Dan McMahill * dan AT mcmahill dot net *
18891 * src/autoplace.h, src/autoroute.h, src/djopt.h, src/drill.h,
18892 src/heap.h, src/intersect.h, src/netlist.h, src/output.c,
18893 src/rats.c, src/resmenu.h, src/rtree.h, src/selector.c,
18894 src/vector.h: RCS Id police
18896 2004-04-29 Dan McMahill * dan AT mcmahill dot net *
18898 * src/Makefile.in: regen
18900 2004-04-29 Dan McMahill * dan AT mcmahill dot net *
18902 * src/Makefile.am: minor fixes to get the distcheck target working
18905 2004-04-29 Dan McMahill * dan AT mcmahill dot net *
18907 * doc/pcb.texi: add a note about the centroid and bill of materials
18908 output. While here add a feature list near the top of the document
18909 to help a new user quickly answer the question "what is pcb and what
18912 2004-04-29 Dan McMahill * dan AT mcmahill dot net *
18914 * src/resmenu.c: RCS Id and config.h police
18916 2004-04-29 Dan McMahill * dan AT mcmahill dot net *
18918 * src/print.c: When printing to RS-274-X also generate a centroid
18919 data file (X-Y data) with the required data to drive a pick and
18920 place machine. The centroid of each part is calculated from the
18921 center of each pin/pad. The rotation is determined by looking at
18922 the angle of pin1 relative to the centroid. In addition, generate a bill of materials file. This lists the
18923 part, quantity, and list of reference designators.
18925 2004-04-29 Dan McMahill * dan AT mcmahill dot net *
18927 * src/res_lex.l, src/res_parse.y, src/resmenu.c: fix some 64-bit
18928 bugs to get this working on my alpha. Of prime importance, an int
18929 isn't big enough to hold a pointer.
18931 2004-04-29 Dan McMahill * dan AT mcmahill dot net *
18933 * src/resource.h: RCS Id police
18935 2004-04-28 Dan McMahill * dan AT mcmahill dot net *
18937 * src/res_lex.l, src/res_parse.y: RCS Id police
18939 2004-04-28 Dan McMahill * dan AT mcmahill dot net *
18941 * src/misc.c: put variable declarations at the beginning of
18942 functions. Avoids syntax error on gcc-2.95
18944 2004-04-28 Dan McMahill * dan AT mcmahill dot net *
18946 * lib/amp.inc, lib/bourns.inc, lib/johnstech.inc,
18947 lib/minicircuits.inc, lib/panasonic.inc: fix the EXTRACT_END flag
18949 2004-04-28 Dan McMahill * dan AT mcmahill dot net *
18951 * lib/Makefile.am, lib/Makefile.in, lib/common.m4, lib/cts.inc: add
18952 cts library containing CTS series 742/3/4/5/6 resistor packs
18954 2004-04-28 Dan McMahill * dan AT mcmahill dot net *
18956 * lib/johnstech.inc, lib/smt.inc: fix refdes silk size
18958 2004-04-28 Dan McMahill * dan AT mcmahill dot net *
18960 * lib/dil.inc, lib/geda.inc: Fix SDIP (shrink DIP) footprints.
18961 Patch from Wojciech Kazubski in RFE #929697 slightly modified by me.
18963 2004-04-28 Dan McMahill * dan AT mcmahill dot net *
18965 * lib/panasonic.inc: Correct the spacing between the rows of pads.
18966 Also fix one of the pad widths on a footprint which was obviously
18969 2004-04-28 Dan McMahill * dan AT mcmahill dot net *
18971 * lib/smt.inc: hires-ify the COMMON_SMT_DIL_MIL macro. The macro
18972 already took input arguments in 1/1000 mil so now we simple only
18973 reduce the resolution to 1/100 mil in the output instead of to 1
18974 mil. This also helps the COMMON_SMT_DIL_MM which calls the
18975 COMMON_SMT_DIL_MIL macro.
18977 2004-04-27 Dan McMahill * dan AT mcmahill dot net *
18979 * src/tmp.txt: test commit #3
18981 2004-04-27 Dan McMahill * dan AT mcmahill dot net *
18983 * src/tmp.txt: test commit #2
18985 2004-04-27 Dan McMahill * dan AT mcmahill dot net *
18987 * src/tmp.txt: test commit
18989 2004-04-27 DJ Delorie * dj AT delorie dot com *
18991 * doc/version.texi: add version.texi for non-maintainers
18993 2004-04-27 DJ Delorie * dj AT delorie dot com *
18995 * doc/pcb.texi, src/Makefile.am, src/Makefile.in, src/Pcb.ad.in,
18996 src/Pcb.ad.raw, src/Pcb.ad.small, src/action.h, src/dialog.c,
18997 src/gather-actions, src/global.h, src/gui.c, src/main.c,
18998 src/menu.c, src/menu.h, src/misc.c, src/misc.h, src/pcb-menu.res,
18999 src/res_lex.l, src/res_parse.y, src/resmenu.c, src/resmenu.h,
19000 src/resource.h, src/set.c, src/sizedialog.c: add file-driven menus
19002 2004-04-27 DJ Delorie * dj AT delorie dot com *
19004 * Makefile.in, ylwrap: add ylwrap
19006 2004-04-27 Harry Eaton * haceaton AT users dot sourceforge dot net *
19008 * src/autoroute.c: More autorouter improvements, some bug fixes
19010 2004-04-26 Harry Eaton * haceaton AT users dot sourceforge dot net *
19012 * src/autoroute.c, src/mtspace.c: Significant improvements to
19013 autorouting of congested designs
19015 2004-04-25 Harry Eaton * haceaton AT users dot sourceforge dot net *
19017 * src/global.h, src/rtree.c: Fix rtree memory management bugs
19019 2004-04-19 Harry Eaton * haceaton AT users dot sourceforge dot net *
19021 * src/rtree.c: Fix a bug that allocates too much memory to store
19024 2004-04-19 Harry Eaton * haceaton AT users dot sourceforge dot net *
19026 * src/buffer.c, src/move.c: Fix some bugs with rtree based name
19029 2004-04-19 Harry Eaton * haceaton AT users dot sourceforge dot net *
19031 * src/autoroute.c, src/find.c, src/rats.c: More autorouter
19032 improvements. Improve trace appearance, slightly speed up and allow
19033 it to use power planes
19035 2004-04-18 Harry Eaton * haceaton AT users dot sourceforge dot net *
19037 * src/action.c, src/change.c, src/copy.c, src/file.c, src/insert.c,
19038 src/move.c, src/polygon.c, src/polygon.h, src/remove.c,
19039 src/rotate.c: Fix pin-in-poly bug; because polys can overlap can
19040 never check one single polygon.
19042 2004-04-12 Harry Eaton * haceaton AT users dot sourceforge dot net *
19044 * src/autoroute.c, src/djopt.c: Restore mistakenly lost lines in
19045 djopt, and various improvements to auto-router
19047 2004-04-11 Harry Eaton * haceaton AT users dot sourceforge dot net *
19049 * src/move.c: Argh, another attempt to properly fix the bug
19051 2004-04-11 Harry Eaton * haceaton AT users dot sourceforge dot net *
19053 * src/djopt.c, src/move.c: Fixup some errors introduced in last
19056 2004-04-09 Harry Eaton * haceaton AT users dot sourceforge dot net *
19058 * src/djopt.c: Fix segfault with edge-connector elements (pads on
19061 2004-04-09 Harry Eaton * haceaton AT users dot sourceforge dot net *
19063 * src/draw.c, src/insert.c, src/move.c, src/output.c: Various bug
19066 2004-03-28 Harry Eaton * haceaton AT users dot sourceforge dot net *
19068 * src/action.c, src/autoroute.c, src/global.h, src/menu.c: Still
19069 more improvements to the router, plus can show it's action on
19072 2004-03-28 Harry Eaton * haceaton AT users dot sourceforge dot net *
19074 * src/autoroute.c, src/box.h, src/mtspace.c, src/mtspace.h: More
19075 improvements to the autorouter
19077 2004-03-26 Harry Eaton * haceaton AT users dot sourceforge dot net *
19079 * src/create.c: Forbid diagonal pads when created externally with an
19082 2004-03-25 Harry Eaton * haceaton AT users dot sourceforge dot net *
19084 * src/autoroute.c: Some improvements to autorouter - still need to
19085 better handle mtspace structures so there is not so much duplicate
19086 effort with multiple route styles
19088 2004-03-23 DJ Delorie * dj AT delorie dot com *
19090 * src/parse_y.y: Provide our own yywrap(), just in case.
19092 2004-03-22 Harry Eaton * haceaton AT users dot sourceforge dot net *
19094 * src/Pcb.ad.in: Fix a couple of key binding bugs
19096 2004-03-22 Harry Eaton * haceaton AT users dot sourceforge dot net *
19098 * src/find.c: Fix some re-drawing issues after finding connections
19100 2004-03-22 Harry Eaton * haceaton AT users dot sourceforge dot net *
19102 * src/autoroute.c: Fix some autoroute bugs; add proper style
19103 handling to autorouter
19105 2004-03-20 Harry Eaton * haceaton AT users dot sourceforge dot net *
19107 * src/report.c, src/rtree.c: Provide better rtree visualization
19110 2004-03-20 Harry Eaton * haceaton AT users dot sourceforge dot net *
19112 * src/buffer.c, src/change.c, src/create.c, src/dev_ps.c,
19113 src/draw.c, src/global.h, src/misc.c, src/move.c, src/move.h,
19114 src/mymem.c, src/print.c, src/printpanner.c, src/remove.c,
19115 src/rotate.c, src/search.c: Use rtree to search element names; fix
19116 postscript paper handling; fix silk names clipped over pins/pads
19118 2004-03-20 Harry Eaton * haceaton AT users dot sourceforge dot net *
19120 * src/rtree.c, src/rtree.h: Slight optimization of tree
19121 construction, plus add means to visualize tree
19123 2004-03-20 Harry Eaton * haceaton AT users dot sourceforge dot net *
19125 * src/file.c: Don't use _LOOP macros for writing files in order to
19126 preserver ordering so that diff can be effectively used on pcb files
19128 2004-03-19 Dan McMahill * dan AT mcmahill dot net *
19130 * lib/johnstech.inc: increase soldermask relief on mounting pads
19132 2004-03-18 Harry Eaton * haceaton AT users dot sourceforge dot net *
19134 * src/const.h, src/draw.c, src/polygon.c: Use sqrt(2)/2 defined in
19135 math library when available
19137 2004-03-18 Harry Eaton * haceaton AT users dot sourceforge dot net *
19139 * src/rats.c: Handle shorts to unnamed elements and pins
19141 2004-03-18 Harry Eaton * haceaton AT users dot sourceforge dot net *
19143 * src/line.c: Forgot to check this in with the _LOOP macro changes
19145 2004-03-18 Harry Eaton * haceaton AT users dot sourceforge dot net *
19147 * src/dev_ps.c, src/print.c: Add assembly drawing output for
19150 2004-03-17 Harry Eaton * haceaton AT users dot sourceforge dot net *
19152 * src/action.c, src/autoplace.c, src/autoroute.c, src/buffer.c,
19153 src/change.c, src/copy.c, src/create.c, src/crosshair.c,
19154 src/dev_ps.c, src/dev_rs274x.c, src/djopt.c, src/draw.c,
19155 src/drill.c, src/file.c, src/find.c, src/global.h, src/library.c,
19156 src/macro.h, src/menu.c, src/mirror.c, src/misc.c, src/move.c,
19157 src/mymem.c, src/netlist.c, src/pinout.c, src/polygon.c,
19158 src/print.c, src/rats.c, src/remove.c, src/report.c, src/rotate.c,
19159 src/rtree.c, src/rubberband.c, src/search.c, src/select.c,
19160 src/set.c, src/undo.c: Change _LOOP macros so that gdb can break
19163 2004-03-17 Dan McMahill * dan AT mcmahill dot net *
19165 * src/rtree.c: revert last change. Some compilers including
19166 gcc-2.95.3 do not like it. ok'ed by harry.
19168 2004-03-14 Harry Eaton * haceaton AT users dot sourceforge dot net *
19170 * src/autoplace.c, src/intersect.c: Various fixes to autoplacement
19173 2004-03-14 Harry Eaton * haceaton AT users dot sourceforge dot net *
19175 * src/set.c: auto drc bug fix
19177 2004-03-14 Harry Eaton * haceaton AT users dot sourceforge dot net *
19179 * src/action.c: Acknowledge placement
19181 2004-03-14 Harry Eaton * haceaton AT users dot sourceforge dot net *
19183 * src/netlist.c, src/rats.c: Fix memory leaks
19185 2004-03-13 Harry Eaton * haceaton AT users dot sourceforge dot net *
19187 * src/rotate.c: corrctly distinguish rubberand rat lines
19189 2004-03-11 Harry Eaton * haceaton AT users dot sourceforge dot net *
19191 * src/rtree.c: Remove unnecessary union identifier to clarify code
19193 2004-03-10 Harry Eaton * haceaton AT users dot sourceforge dot net *
19195 * src/action.c: Fix polygon insert point bug introduced when
19198 2004-03-10 Dan McMahill * dan AT mcmahill dot net *
19200 * lib/geda.inc: 100 pin QFP packages have 100 pins not 72
19202 2004-03-10 Harry Eaton * haceaton AT users dot sourceforge dot net *
19204 * src/error.c: Fix for bad pipe handling under cygwin
19206 2004-03-09 Harry Eaton * haceaton AT users dot sourceforge dot net *
19208 * src/draw.c: Minimize rectangle fills
19210 2004-03-09 Harry Eaton * haceaton AT users dot sourceforge dot net *
19212 * src/polygon.c: Oops - this fixes the error introduced moving to
19215 2004-03-09 Harry Eaton * haceaton AT users dot sourceforge dot net *
19217 * src/crosshair.c: Use SQUARE macro
19219 2004-03-09 Harry Eaton * haceaton AT users dot sourceforge dot net *
19221 * src/action.c, src/change.c, src/create.c, src/rats.c: clean up
19222 code to use SQUARE macro and fix via mask update bug
19224 2004-03-09 Harry Eaton * haceaton AT users dot sourceforge dot net *
19226 * src/draw.c, src/find.c, src/find.h, src/polygon.c, src/print.c,
19227 src/search.c, src/search.h: Erase silk over solder regions when they
19228 cross and display that way on screen
19230 2004-03-08 Harry Eaton * haceaton AT users dot sourceforge dot net *
19232 * src/rtree.c: Streamline code for clustering
19234 2004-03-08 Harry Eaton * haceaton AT users dot sourceforge dot net *
19236 * src/Pcb.ad.in, src/action.c: Added a function { AddRats(Close)
19237 bound to shift-n } that selects the shortest unselected ratline and
19238 centers the screen view on it.
19240 2004-03-08 Harry Eaton * haceaton AT users dot sourceforge dot net *
19242 * src/crosshair.c, src/crosshair.h, src/line.c, src/line.h: New
19243 Auto-DRC line drawing mode implemented.
19245 2004-03-07 Harry Eaton * haceaton AT users dot sourceforge dot net *
19247 * src/draw.c, src/draw.h: Forgot to checkin draw.h; fix some bugs
19248 with really high zoom
19250 2004-03-07 Harry Eaton * haceaton AT users dot sourceforge dot net *
19252 * src/find.c: Avoid doubling DRC clearance between non-clearing
19253 polygons and square pins/pads
19255 2004-03-07 Harry Eaton * haceaton AT users dot sourceforge dot net *
19257 * src/action.c, src/buffer.c, src/change.c, src/create.c,
19258 src/dialog.c, src/draw.c, src/find.c, src/global.h, src/move.c,
19259 src/move.h, src/mymem.c, src/output.c, src/printpanner.c,
19260 src/remove.c, src/rotate.c, src/rtree.c, src/search.c, src/select.c:
19261 Fixes for various bugs introduced with the rtree database
19264 2004-03-07 Harry Eaton * haceaton AT users dot sourceforge dot net *
19266 * src/menu.c, src/misc.c: A couple of bug fixes: absolute negative
19267 value entries (e.g. =-4) also check the correct zoom level in the
19270 2004-03-06 Harry Eaton * haceaton AT users dot sourceforge dot net *
19272 * src/select.h: Fix conditional compile variable name
19274 2004-03-05 Harry Eaton * haceaton AT users dot sourceforge dot net *
19276 * src/library.c, src/mymem.c, src/output.c, src/polygon.c: Fixes for
19277 several memory leaks and some uninitialized varibable bugs
19279 2004-03-05 Harry Eaton * haceaton AT users dot sourceforge dot net *
19281 * src/file.c, src/parse_l.l, src/parse_y.y: Save the DRC settings in
19284 2004-03-04 Harry Eaton * haceaton AT users dot sourceforge dot net *
19286 * src/Pcb.ad.in, src/dev_ps.c, src/global.h, src/printdialog.c,
19287 src/printpanner.c: Fix the postscript print panner bugs introduced
19288 with hi-res; also fix the long-standing bug where the default media
19289 selection wasn't used
19291 2004-03-04 Dan McMahill * dan AT mcmahill dot net *
19293 * src/select.h: one more regex bug fix noted by Matt Ettus
19295 2004-03-04 Dan McMahill * dan AT mcmahill dot net *
19297 * doc/pcb.texi: document the ToggleVisibility action
19299 2004-03-04 Dan McMahill * dan AT mcmahill dot net *
19301 * src/action.c, src/action.h, src/main.c: Added a new action which
19302 will toggle the visibility of layers without clicking on them.
19303 Intended to be bound to keys. Patch provided by Matt Ettus in patch
19306 2004-03-04 Dan McMahill * dan AT mcmahill dot net *
19308 * src/action.c, src/menu.c, src/select.c: enable the regex select
19309 stuff. A trial of a regex select of some components seems to work.
19310 Prompted by patches provided by Matt Ettus in patch submission
19313 2004-03-03 Dan McMahill * dan AT mcmahill dot net *
19315 * lib/geda.inc: a HEADER60_2 should have 60 pins not 50 as noted in
19318 2004-03-03 Harry Eaton * haceaton AT users dot sourceforge dot net *
19320 * globalconst.h, src/action.c, src/draw.c, src/misc.c, src/move.c,
19321 src/report.c: Fixes for element line boundry handling
19323 2004-03-01 Harry Eaton * haceaton AT users dot sourceforge dot net *
19325 * src/move.c: Fix for search element bounding box error
19327 2004-03-01 Harry Eaton * haceaton AT users dot sourceforge dot net *
19329 * src/crosshair.c, src/crosshair.h: These were updated too for the
19330 auto-DRC infrastructure
19332 2004-03-01 Harry Eaton * haceaton AT users dot sourceforge dot net *
19334 * src/action.c, src/change.c, src/control.c, src/control.h,
19335 src/find.c, src/find.h, src/global.h, src/misc.c, src/misc.h,
19336 src/move.c, src/output.c, src/search.c, src/set.c: Some intersection
19337 bug fixes and more rtree infrastructure change Also more ground work
19338 for auto drc line mode
19340 2004-02-29 DJ Delorie * dj AT delorie dot com *
19342 * src/Makefile.in: Regenerate.
19344 2004-02-28 Harry Eaton * haceaton AT users dot sourceforge dot net *
19346 * src/action.c, src/buffer.c, src/change.c, src/const.h,
19347 src/create.c, src/draw.c, src/find.c, src/global.h, src/insert.c,
19348 src/menu.c, src/misc.c, src/misc.h, src/move.c, src/remove.c,
19349 src/search.c, src/set.c, src/undo.c: More usage of rtrees for rats,
19350 pins and pads. Some foundation work for a new auto-drc line drawing
19351 mode, and some bug fixes.
19353 2004-02-27 Harry Eaton * haceaton AT users dot sourceforge dot net *
19355 * src/buffer.c, src/create.c, src/find.c, src/global.h, src/menu.c,
19356 src/misc.c, src/move.c, src/mymem.c, src/remove.c, src/rtree.c,
19357 src/rtree.h: Store pins/pads in rtree
19359 2004-02-27 Harry Eaton * haceaton AT users dot sourceforge dot net *
19361 * src/rtree.c: Fixes for some compiler warnings
19363 2004-02-27 Harry Eaton * haceaton AT users dot sourceforge dot net *
19365 * src/clip.c, src/clip.h: Oh Yeah, the drawing clipping won't work
19366 without these files!
19368 2004-02-27 Harry Eaton * haceaton AT users dot sourceforge dot net *
19370 * src/Makefile.am, src/Makefile.in, src/action.c, src/create.c,
19371 src/data.c, src/data.h, src/draw.c, src/global.h, src/insert.c,
19372 src/insert.h, src/line.c, src/line.h, src/macro.h, src/misc.c,
19373 src/output.c, src/parse_y.y, src/polygon.c, src/report.c: Fixes for
19374 clipping the drawing. Simple saturation could change the geometry
19375 when zoomed way in. Also some organizational changes to make the
19376 code easier to maintain.
19378 2004-02-27 Dan McMahill * dan AT mcmahill dot net *
19380 * doc/pcb.texi: clarify the pad creation a little
19382 2004-02-27 Harry Eaton * haceaton AT users dot sourceforge dot net *
19384 * src/misc.c: Fix for text bounding box error
19386 2004-02-25 Harry Eaton * haceaton AT users dot sourceforge dot net *
19388 * src/action.c, src/const.h, src/crosshair.c, src/menu.c: Add a
19389 feature to display design-rule clearance arround prospective
19392 2004-02-25 Harry Eaton * haceaton AT users dot sourceforge dot net *
19394 * src/find.c, src/search.c: Fix some DRC bugs with square pins
19396 2004-02-20 Dan McMahill * dan AT mcmahill dot net *
19398 * lib/misc.inc: whitespace fix
19400 2004-02-19 Dan McMahill * dan AT mcmahill dot net *
19402 * lib/connector.inc: add a PKG_CONNECTOR_DIL for 2 column headers
19403 with DIL pin numbering. This fixes the HEADER*_1 entries in the
19404 geda footprint library.
19406 2004-02-17 Harry Eaton * haceaton AT users dot sourceforge dot net *
19408 * src/buffer.c: Fix typo that caused bug in via tree handling.
19410 2004-02-17 Dan McMahill * dan AT mcmahill dot net *
19412 * lib/generic.list: remove extra whitespace in generic208_lqfp
19414 2004-02-17 Harry Eaton * haceaton AT users dot sourceforge dot net *
19416 * src/action.c, src/draw.c, src/find.c, src/polygon.c,
19417 src/polygon.h, src/print.c, src/report.c, src/rtree.c: Bug fixes for
19418 design rule checking
19420 2004-02-17 Harry Eaton * haceaton AT users dot sourceforge dot net *
19422 * src/rtree.c: Make rtree routines reentrant since now they are used
19423 that way when drawing during DRC.
19425 2004-02-15 Harry Eaton * haceaton AT users dot sourceforge dot net *
19427 * src/action.c, src/autoplace.c, src/autoroute.c, src/buffer.c,
19428 src/change.c, src/copy.c, src/create.c, src/dev_ps.c, src/draw.c,
19429 src/file.c, src/find.c, src/find.h, src/global.h, src/insert.c,
19430 src/macro.h, src/main.c, src/mirror.c, src/mirror.h, src/misc.c,
19431 src/misc.h, src/move.c, src/move.h, src/mtspace.c, src/mymem.c,
19432 src/mymem.h, src/parse_y.y, src/pinout.c, src/polygon.c,
19433 src/polygon.h, src/print.c, src/rats.c, src/remove.c, src/report.c,
19434 src/rotate.c, src/rotate.h, src/rtree.c, src/rtree.h,
19435 src/rubberband.c, src/search.c, src/search.h, src/select.c,
19436 src/undo.c: Large number of changes to keep most of the database in
19437 rtrees and avoid linear searches
19439 2004-02-15 Harry Eaton * haceaton AT users dot sourceforge dot net *
19441 * src/change.c: Fix minor bug in pad clearance adjustment
19443 2004-02-15 Dan McMahill * dan AT mcmahill dot net *
19445 * src/Makefile.in: regen after adding compat.c/h
19447 2004-02-15 Dan McMahill * dan AT mcmahill dot net *
19449 * src/Makefile.am, src/compat.c, src/compat.h, src/draw.c,
19450 src/set.c: add a place for putting our own implementation of
19451 missing/broken functions. For now add a logf and expf to help
19454 2004-02-15 Dan McMahill * dan AT mcmahill dot net *
19456 * tools/Makefile.am, tools/Makefile.in: install MergePCBPS and
19459 2004-02-15 Dan McMahill * dan AT mcmahill dot net *
19461 * config.h.in, configure: regen after adding logf and expf checks
19463 2004-02-15 Dan McMahill * dan AT mcmahill dot net *
19465 * configure.ac: add checks for logf and expf
19467 2004-02-15 Dan McMahill * dan AT mcmahill dot net *
19469 * src/create.c, src/dev_ps.c, src/dev_rs274x.c, src/draw.c,
19470 src/file.c, src/global.h, src/parse_l.l, src/parse_y.y: add a way to
19471 control the scale factor associated with thermals. This is a global
19472 value stored in the .pcb file. The default gives the same behaviour
19473 as previous version. By increasing the scale factor, the width of
19474 the spokes increases. Eventually it would be nice to make this be
19477 2004-02-15 Dan McMahill * dan AT mcmahill dot net *
19479 * src/report.c: correct the drill diameter in the drill report after
19482 2004-02-14 Harry Eaton * haceaton AT users dot sourceforge dot net *
19484 * src/polygon.c: Fixed syntax error and potential bug
19486 2004-02-14 Harry Eaton * haceaton AT users dot sourceforge dot net *
19488 * src/draw.c: Elliminate pre-computing of octagons - there are too
19489 many with .01 mil resolution
19491 2004-02-14 Harry Eaton * haceaton AT users dot sourceforge dot net *
19493 * src/find.c, src/polygon.c: More non-clearing polygon fixes
19495 2004-02-14 Harry Eaton * haceaton AT users dot sourceforge dot net *
19497 * src/buffer.c, src/dev_rs274x.c, src/draw.c, src/macro.h,
19498 src/menu.c, src/polygon.c, src/print.c, src/rubberband.c: Fixed some
19499 bugs with non-clearing polygons and made GROUP_LOOP macro
19501 2004-02-14 Harry Eaton * haceaton AT users dot sourceforge dot net *
19503 * src/action.c, src/crosshair.c, src/macro.h: Fix arc creation tool
19504 when crosshair is on-axis with start point
19506 2004-02-14 Harry Eaton * haceaton AT users dot sourceforge dot net *
19508 * src/report.c, src/report.h: Report on points and fix some
19511 2004-02-14 Harry Eaton * haceaton AT users dot sourceforge dot net *
19513 * src/set.c: Fix formatting mismatch
19515 2004-02-14 Harry Eaton * haceaton AT users dot sourceforge dot net *
19517 * src/polygon.c: Fixup includes and trivial bug
19519 2004-02-14 Harry Eaton * haceaton AT users dot sourceforge dot net *
19521 * src/move.c: fix includes for Message()
19523 2004-02-14 Harry Eaton * haceaton AT users dot sourceforge dot net *
19525 * src/menu.c: add left/right buffer mirror menu entry
19527 2004-02-13 Harry Eaton * haceaton AT users dot sourceforge dot net *
19529 * src/Pcb.ad.in, src/action.c, src/find.c, src/global.h,
19530 src/insert.c, src/main.c, src/polygon.c, src/polygon.h,
19531 src/print.c, src/report.c, src/set.c, src/sizedialog.c: More
19532 complete and sensible DRC checking
19534 2004-02-13 Harry Eaton * haceaton AT users dot sourceforge dot net *
19536 * src/move.c, src/search.c: Prevent changing layers of locked
19537 objects, find ratlines before other layer objects
19539 2004-02-13 Harry Eaton * haceaton AT users dot sourceforge dot net *
19541 * src/action.c, src/buffer.c, src/buffer.h, src/menu.c: Added
19542 function to mirror the buffer
19544 2004-02-13 Harry Eaton * haceaton AT users dot sourceforge dot net *
19546 * src/buffer.c: Recalculate arc bounding box when swaping the side
19548 2004-02-13 Harry Eaton * haceaton AT users dot sourceforge dot net *
19550 * src/dialog.c: Updated about dialog
19552 2004-02-13 Harry Eaton * haceaton AT users dot sourceforge dot net *
19554 * src/rats.c: Use warn color on pins/pads even when netname is known
19556 2004-02-13 Harry Eaton * haceaton AT users dot sourceforge dot net *
19558 * src/change.c: Only change masks with size change when they're
19559 non-zero to begin with
19561 2004-02-13 Harry Eaton * haceaton AT users dot sourceforge dot net *
19563 * src/change.c: Allow +0 change to mask size to make it equal the
19566 2004-02-13 Harry Eaton * haceaton AT users dot sourceforge dot net *
19568 * src/action.c, src/change.c, src/select.c: Proper handling of all
19571 2004-02-13 Harry Eaton * haceaton AT users dot sourceforge dot net *
19573 * src/action.c, src/select.c: Handle element name size changing
19576 2004-02-12 Harry Eaton * haceaton AT users dot sourceforge dot net *
19578 * src/change.c: Automatically adjust mask size when copper size is
19581 2004-02-10 Harry Eaton * haceaton AT users dot sourceforge dot net *
19583 * src/print.c: Fixed output bug with persistant thermal changes
19585 2004-02-09 Dan McMahill * dan AT mcmahill dot net *
19587 * tools/Makefile.in: regen after adding Merge_dimPCBPS
19589 2004-02-09 Dan McMahill * dan AT mcmahill dot net *
19591 * tools/Makefile.am: add Merge_dimPCBPS
19593 2004-02-09 Dan McMahill * dan AT mcmahill dot net *
19595 * tools/MergePCBPS, tools/Merge_dimPCBPS: #/bin/sh -> #!/bin/sh to
19596 make these execute correctly. While here, add RCS Id's.
19598 2004-02-07 Harry Eaton * haceaton AT users dot sourceforge dot net *
19600 * src/find.c: Find more errors when skipping through DRCs
19602 2004-02-06 Harry Eaton * haceaton AT users dot sourceforge dot net *
19604 * src/action.c, src/find.c, src/find.h: Added feature to continue
19605 checking drc after first error is found
19607 2004-02-06 Harry Eaton * haceaton AT users dot sourceforge dot net *
19609 * src/change.c: Prevent clearance size adjustment from changing
19610 joined lines to unjoined
19612 2004-02-06 Harry Eaton * haceaton AT users dot sourceforge dot net *
19614 * src/set.c: Fix bug where local reference mark was not erased
19617 2004-02-06 Harry Eaton * haceaton AT users dot sourceforge dot net *
19619 * src/file.c: Fix bug where loading pcb didn't restore saved view
19622 2004-02-06 Harry Eaton * haceaton AT users dot sourceforge dot net *
19624 * src/global.h, src/undo.c: Fixed undo change text size bug
19625 introduced with hi-res changes
19627 2004-02-06 Harry Eaton * haceaton AT users dot sourceforge dot net *
19629 * src/draw.c: Special drawing mode to examine planes for break-up
19630 due to tracks routing through them.
19632 2004-02-06 Harry Eaton * haceaton AT users dot sourceforge dot net *
19634 * tools/Merge_dimPCBPS: Add a tool to merge to PCB postscript files
19635 where the first one is printed in a light gray color. This is useful
19636 for making an assembly drawing where the front tracks are shown in
19637 light gray while the silkscreen is solid black.
19639 2004-02-06 Harry Eaton * haceaton AT users dot sourceforge dot net *
19641 * src/draw.c, src/macro.h, src/polygon.c, src/print.c: Make
19642 persistant thermal flags for easier changes to polygons
19644 2004-02-05 Harry Eaton * haceaton AT users dot sourceforge dot net *
19646 * src/action.c, src/const.h, src/menu.c: Add mode for poly viewing
19647 to help spot broken planes
19649 2004-02-05 Harry Eaton * haceaton AT users dot sourceforge dot net *
19651 * src/main.c: Fix text scaling intialization
19653 2004-02-05 Harry Eaton * haceaton AT users dot sourceforge dot net *
19655 * src/dev_rs274x.c: Fix a couple of gerber bugs introduced with
19658 2004-02-05 Harry Eaton * haceaton AT users dot sourceforge dot net *
19660 * src/polygon.c: Warn on unplated holes piercing polygons
19662 2004-02-05 Harry Eaton * haceaton AT users dot sourceforge dot net *
19664 * src/print.c: Don't clear pure-holes in polygons
19666 2004-02-05 Harry Eaton * haceaton AT users dot sourceforge dot net *
19668 * src/polygon.c: Fix bug in PIP flags
19670 2004-02-05 Harry Eaton * haceaton AT users dot sourceforge dot net *
19672 * src/dev_rs274x.c, src/find.c, src/find.h, src/print.c: Fixed some
19673 gerber hi-res bugs and some complex ground-plane print issues
19675 2004-02-04 DJ Delorie * dj AT delorie dot com *
19677 * example/libraries/Makefile.in: * Detect re_comp(), regcomp(), and <regex.h> (select.c doesn't use
19678 the new HAVE_* yet, this is a prelude to it). * Set -DNDEBUG for all src/* compiles. * Support maintainer mode (--enable-maintainer-mode) (I got tired of having half the world regenerated just because I did a "cvs
19679 update") * Detect tgif, if not found pad.{png,eps} just isn't built (what's that for, anyway?) Prebuilt copies of those should be checked in too at some point.
19681 2004-02-04 DJ Delorie * dj AT delorie dot com *
19683 * Makefile.in, README_FILES/Makefile.in, aclocal.m4, config.h.in,
19684 configure, configure.ac, doc/Makefile.am, doc/Makefile.in,
19685 example/Makefile.in, lib/Makefile.in,
19686 newlib/2_pin_thru-hole_packages/Makefile.in, newlib/Makefile.in,
19687 newlib/analog-devices/Makefile.in, newlib/burr-brown/Makefile.in,
19688 newlib/connectors/Makefile.in, newlib/crystal/Makefile.in,
19689 newlib/cypress/Makefile.in, newlib/electro-optics/Makefile.in,
19690 newlib/generic_SMD_packages/Makefile.in,
19691 newlib/headers/Makefile.in, newlib/msp430/Makefile.in,
19692 newlib/not_vetted_ingo/Makefile.in, newlib/sockets/Makefile.in,
19693 newlib/tests/Makefile.in, newlib/toko/Makefile.in, src/Makefile.am,
19694 src/Makefile.in, src/icons/Makefile.in, src/script/Makefile.in,
19695 tools/Makefile.in, tutorial/Makefile.in: * Detect re_comp(), regcomp(), and <regex.h> (select.c doesn't use
19696 the new HAVE_* yet, this is a prelude to it). * Set -DNDEBUG for all src/* compiles. * Support maintainer mode (--enable-maintainer-mode) (I got tired of having half the world regenerated just because I did a "cvs
19697 update") * Detect tgif, if not found pad.{png,eps} just isn't built (what's that for, anyway?) Prebuilt copies of those should be checked in too at some point.
19699 2004-02-04 DJ Delorie * dj AT delorie dot com *
19701 * src/draw.c: Don't assume that an all-ones pixel is white.
19703 2004-02-03 Harry Eaton * haceaton AT users dot sourceforge dot net *
19705 * src/menu.c: Fixes for hi-res bugs
19707 2004-02-03 Harry Eaton * haceaton AT users dot sourceforge dot net *
19709 * src/print.c: Changes to the fab drawing for improved clarity and
19710 allows for a an outline route by naming a layer "outline" or "route"
19712 2004-02-03 Harry Eaton * haceaton AT users dot sourceforge dot net *
19714 * src/error.c: Added a line count to Message mechanism
19716 2004-02-03 Dan McMahill * dan AT mcmahill dot net *
19718 * NEWS: note harry's hi-res changes.
19720 2004-02-02 Harry Eaton * haceaton AT users dot sourceforge dot net *
19722 * src/autoroute.c, src/heap.c, src/heap.h: More speed-ups for the
19725 2004-02-01 Harry Eaton * haceaton AT users dot sourceforge dot net *
19727 * src/print.c: Change gerber drill files to have .cnc suffix and
19728 name the component side output group "front", the solder-side output
19731 2004-02-01 Harry Eaton * haceaton AT users dot sourceforge dot net *
19733 * src/action.c, src/parse_y.y: A couple of bug fixes for arc
19736 2004-01-31 Harry Eaton * haceaton AT users dot sourceforge dot net *
19738 * src/autoroute.c: More speed-up changes. Limit the intial search in
19741 2004-01-31 Harry Eaton * haceaton AT users dot sourceforge dot net *
19743 * src/rtree.c: Minor comment changes and some tiny tweaks
19745 2004-01-31 Harry Eaton * haceaton AT users dot sourceforge dot net *
19747 * src/buffer.c: Fix bug in element name mirroring when elements are
19748 created on the solder side
19750 2004-01-30 Harry Eaton * haceaton AT users dot sourceforge dot net *
19752 * src/main.c: Fix initial screen/offscreen zoom
19754 2004-01-30 Harry Eaton * haceaton AT users dot sourceforge dot net *
19756 * src/polygon.c: Some Hi-res fixes plus elliminat too close to
19759 2004-01-30 Harry Eaton * haceaton AT users dot sourceforge dot net *
19761 * src/output.c: Fixed the auto-scroll broken when switched to hi-res
19763 2004-01-30 Harry Eaton * haceaton AT users dot sourceforge dot net *
19765 * src/rats.c: Fix bug introduced changing to hi-res
19767 2004-01-29 Harry Eaton * haceaton AT users dot sourceforge dot net *
19769 * src/autoroute.c, src/box.h: More speed ups to the auto-router
19770 code. This is only code streamlining, there is no algorithm change
19772 2004-01-28 Harry Eaton * haceaton AT users dot sourceforge dot net *
19774 * src/kdtree.c, src/kdtree.h: The kdtree has been replaced with
19775 rtree which is faster given the way it is used
19777 2004-01-28 Harry Eaton * haceaton AT users dot sourceforge dot net *
19779 * src/rtree.c, src/rtree.h: rtree for faster rectangle intersection
19782 2004-01-28 Harry Eaton * haceaton AT users dot sourceforge dot net *
19784 * src/Makefile.am, src/Makefile.in, src/autoplace.c,
19785 src/autoroute.c, src/mtspace.c: replaced kd-tree with r-tree for
19786 faster auto-routing
19788 2004-01-20 Harry Eaton * haceaton AT users dot sourceforge dot net *
19790 * src/action.c: Fix for smashing element in place
19792 2004-01-19 Harry Eaton * haceaton AT users dot sourceforge dot net *
19794 * src/autoroute.c, src/heap.h, src/kdtree.c, src/kdtree.h: Fixes for
19795 auto-router with hi-res and some speed-ups of its operation
19797 2004-01-19 Harry Eaton * haceaton AT users dot sourceforge dot net *
19799 * src/find.c: Speed up polygon/polygon intersection testing. The
19800 special case is *all* points inside polygon, not just some points so
19801 only one point need be tested
19803 2004-01-19 Harry Eaton * haceaton AT users dot sourceforge dot net *
19805 * src/const.h, src/data.c, src/data.h, src/draw.c, src/draw.h,
19806 src/file.c, src/global.h, src/macro.h, src/main.c, src/menu.c,
19807 src/parse_y.y, src/pinout.c, src/set.c, src/set.h: Modifications to
19808 support arbitrary zoom ratios
19810 2004-01-18 Harry Eaton * haceaton AT users dot sourceforge dot net *
19812 * src/menu.c: Fix for intermediate zoom levels
19814 2004-01-18 Harry Eaton * haceaton AT users dot sourceforge dot net *
19816 * globalconst.h, src/Pcb.ad.in, src/data.c, src/draw.c,
19817 src/macro.h, src/output.c, src/parse_y.y, src/set.c: Added some
19818 intermediate zooms, so now it goes by sqrt(2)
19820 2004-01-17 Harry Eaton * haceaton AT users dot sourceforge dot net *
19822 * src/menu.c: Add menu item to auto-route only selected rats
19824 2004-01-17 Harry Eaton * haceaton AT users dot sourceforge dot net *
19826 * src/output.c: Increase the minimum size of the panner control
19828 2004-01-17 Harry Eaton * haceaton AT users dot sourceforge dot net *
19830 * src/main.c: Fix some default sizes for hi-res when no resource
19833 2004-01-15 Harry Eaton * haceaton AT users dot sourceforge dot net *
19835 * src/action.c, src/action.h, src/menu.c: Added support to smash an
19838 2004-01-15 Harry Eaton * haceaton AT users dot sourceforge dot net *
19840 * src/action.c, src/const.h, src/menu.c, src/misc.c, src/set.c:
19841 Added Local reference measurement for line drawing and allow
19842 not-overriding the mark position for moves and line-drawing
19844 2004-01-15 Harry Eaton * haceaton AT users dot sourceforge dot net *
19846 * src/Pcb.ad.in, src/action.c, src/main.c, src/set.c, src/set.h: Fix
19847 to keep mode setting and add a function for moving an object by/to
19848 numerical coordinates
19850 2004-01-14 Harry Eaton * haceaton AT users dot sourceforge dot net *
19852 * src/Pcb.ad.in, src/action.c, src/command.c, src/misc.c: Tweaks for
19853 case-insensitive command arguments, keyboard adjust of grid and
19854 fixed a couple of absolute/relative bugs.
19856 2004-01-14 Harry Eaton * haceaton AT users dot sourceforge dot net *
19858 * src/misc.c: Turned off debugging messages
19860 2004-01-14 Harry Eaton * haceaton AT users dot sourceforge dot net *
19862 * src/macro.h, src/misc.c, src/output.c: Fixes for several
19863 solder-side viewing bugs introduced with hi-res changes
19865 2004-01-13 Harry Eaton * haceaton AT users dot sourceforge dot net *
19867 * src/djopt.c: Fixed for new definition of mils for savings report
19869 2004-01-13 Harry Eaton * haceaton AT users dot sourceforge dot net *
19871 * src/box.h, src/mtspace.c: Fix for mtspace coalesce; hi-res
19872 requires floats for area computation
19874 2004-01-10 Harry Eaton * haceaton AT users dot sourceforge dot net *
19876 * src/action.c, src/draw.c, src/report.c: Fixes for text scaling
19878 2004-01-10 Dan McMahill * dan AT mcmahill dot net *
19880 * src/parse_y.y: One more hi-res buglet. Correct parsing of 'Arc'.
19881 Thanks to Bill Wilson for catching this one.
19883 2004-01-09 Dan McMahill * dan AT mcmahill dot net *
19885 * lib/smt.inc: partially undo the last change with respect to
19886 quoting. Only quote $2. This keeps the reference designator from
19887 being expanded as desired but lets the Description field get
19888 expanded as desired.
19890 2004-01-08 Harry Eaton * haceaton AT users dot sourceforge dot net *
19892 * Makefile.in, aclocal.m4, configure, doc/Makefile.in,
19893 lib/Makefile.in, newlib/2_pin_thru-hole_packages/Makefile.in,
19894 newlib/Makefile.in, newlib/analog-devices/Makefile.in,
19895 newlib/burr-brown/Makefile.in, newlib/connectors/Makefile.in,
19896 newlib/crystal/Makefile.in, newlib/cypress/Makefile.in,
19897 newlib/electro-optics/Makefile.in,
19898 newlib/generic_SMD_packages/Makefile.in,
19899 newlib/headers/Makefile.in, newlib/msp430/Makefile.in,
19900 newlib/not_vetted_ingo/Makefile.in, newlib/sockets/Makefile.in,
19901 newlib/tests/Makefile.in, newlib/toko/Makefile.in, src/Pcb.ad.in,
19902 src/action.c, src/icons/Makefile.in, src/main.c, src/misc.c,
19903 src/script/Makefile.in: Fixes for absolute/relative size change.
19904 Also added repeat last typed command and fixed a few hi-res bugs.
19906 2004-01-06 Harry Eaton * haceaton AT users dot sourceforge dot net *
19908 * src/set.c: Fixed sign display in fractional mil part of crosshair
19910 2004-01-06 Harry Eaton * haceaton AT users dot sourceforge dot net *
19912 * src/action.c: Fix for Display(Save|Restore)
19914 2004-01-05 Dan McMahill * dan AT mcmahill dot net *
19916 * src/print.c: fix generation of fab drawing with the high
19919 2004-01-05 Dan McMahill * dan AT mcmahill dot net *
19921 * src/dev_rs274x.c: fix a couple of other bugs related to the high
19922 res changes. In particular, correct the aperture for the fab
19923 drawing and for the outline. Also fix up text output.
19925 2004-01-05 Dan McMahill * dan AT mcmahill dot net *
19927 * lib/johnstech.inc: Convert to a high resolution footprint. Pads
19928 are a little more accurate now.
19930 2004-01-05 Dan McMahill * dan AT mcmahill dot net *
19932 * src/dev_rs274x.c: correct the aperture definition output lines and
19933 the drill tool definition output lines after the hi-res change.
19934 Gerber output should be ok again.
19936 2004-01-05 Harry Eaton * haceaton AT users dot sourceforge dot net *
19938 * src/Pcb.ad.in: fixed missing continuation in scroll commands
19940 2004-01-05 Harry Eaton * haceaton AT users dot sourceforge dot net *
19942 * configure, configure.ac, globalconst.h, src/Makefile.in,
19943 src/Pcb.ad.in, src/action.c, src/action.h, src/autoplace.c,
19944 src/autoplace.h, src/autoroute.c, src/autoroute.h, src/box.h,
19945 src/buffer.c, src/buffer.h, src/change.c, src/change.h,
19946 src/const.h, src/copy.c, src/copy.h, src/create.c, src/create.h,
19947 src/crosshair.c, src/crosshair.h, src/data.c, src/data.h,
19948 src/dev_ps.c, src/dev_rs274x.c, src/djopt.c, src/djopt.h,
19949 src/draw.c, src/drill.h, src/file.c, src/find.c, src/find.h,
19950 src/global.h, src/gui.c, src/gui.h, src/heap.h, src/insert.c,
19951 src/insert.h, src/intersect.c, src/intersect.h, src/kdtree.c,
19952 src/kdtree.h, src/macro.h, src/main.c, src/menu.c, src/mirror.c,
19953 src/mirror.h, src/misc.c, src/misc.h, src/move.c, src/move.h,
19954 src/mtspace.c, src/mtspace.h, src/netlist.c, src/netlist.h,
19955 src/output.c, src/output.h, src/parse_y.y, src/pinout.c,
19956 src/polygon.c, src/polygon.h, src/print.c, src/print.h, src/rats.c,
19957 src/report.c, src/rotate.c, src/rotate.h, src/rubberband.c,
19958 src/search.c, src/search.h, src/set.c, src/set.h, src/sizedialog.c,
19959 src/undo.c, src/undo.h, src/vector.h: Many changes to add 0.01 mil
19962 2004-01-02 Harry Eaton * haceaton AT users dot sourceforge dot net *
19964 * src/change.c: Display pin/pad number when prompting for name
19966 2004-01-02 Harry Eaton * haceaton AT users dot sourceforge dot net *
19968 * src/draw.c: Minor correction to not attempt to write vertical null
19971 2004-01-02 Dan McMahill * dan AT mcmahill dot net *
19973 * doc/refcard.tex: add missing RCS Id
19975 2004-01-02 Dan McMahill * dan AT mcmahill dot net *
19977 * src/autoplace.c, src/autoplace.h, src/autoroute.c,
19978 src/autoroute.h, src/box.h, src/djopt.c, src/djopt.h, src/drill.h,
19979 src/gui.c, src/gui.h, src/heap.c, src/heap.h, src/intersect.c,
19980 src/intersect.h, src/kdtree.c, src/kdtree.h, src/mtspace.c,
19981 src/mtspace.h, src/netlist.c, src/netlist.h, src/rats.c,
19982 src/vector.c, src/vector.h: add missing RCS Id
19984 2004-01-01 Dan McMahill * dan AT mcmahill dot net *
19986 * lib/smt.inc: - modify the 2 pad smt base definition to put the origin of the
19987 footprint at the common centroid. Useful both for driving pick and
19988 place as noted in bug report 716519 and for centering a part on a
19989 grid. - while here make sure the $1, $2, and $3 arguments to the various macros are properly quoted. This helps avoid some obscure bugs with generated layouts from gEDA.
19991 2004-01-01 Harry Eaton * haceaton AT users dot sourceforge dot net *
19993 * src/draw.c: Font metrics need to be outside TO_DRAW() macros
19995 2004-01-01 Dan McMahill * dan AT mcmahill dot net *
19997 * lib/smt.inc: fix some quoting
19999 2004-01-01 Dan McMahill * dan AT mcmahill dot net *
20001 * lib/amphenol.inc: bump copyright date
20003 2004-01-01 Dan McMahill * dan AT mcmahill dot net *
20005 * lib/amphenol.inc: properly pass down the arguments to the
20006 underlying macro for the PKG_AMPHENOL_ARFX123{0,1,2} packages
20008 2004-01-01 Dan McMahill * dan AT mcmahill dot net *
20010 * doc/wishlist.txt: add element versioning and database of good
20013 2004-01-01 Dan McMahill * dan AT mcmahill dot net *
20015 * doc/wishlist.txt: add a features wish list. not sure if this is
20016 the best place for such a thing, but for now it'll do.
20018 2003-12-31 Dan McMahill * dan AT mcmahill dot net *
20020 * lib/Makefile.in: regen after adding amp library
20022 2003-12-31 Dan McMahill * dan AT mcmahill dot net *
20024 * lib/Makefile.am, lib/amp.inc, lib/common.m4: add Amp connector
20025 library. Currently its populated with the 767054 series of Mictor
20028 2003-12-31 Harry Eaton * haceaton AT users dot sourceforge dot net *
20030 * src/menu.c: Fixed menu selection of metric grids: The
20031 C-preprocessor won't change string literals of course.
20033 2003-12-31 Harry Eaton * haceaton AT users dot sourceforge dot net *
20035 * src/Pcb.ad.in, src/const.h, src/draw.c, src/misc.c: Added vertical
20036 text support for pinout descriptions
20038 2003-12-31 Dan McMahill * dan AT mcmahill dot net *
20040 * lib/smt.inc: with reverse order numbering in COMMON_SMT_DIL_MIL
20041 and COMMON_SMT_DIL_MM, make sure the pin number matches the pin
20044 2003-12-31 Dan McMahill * dan AT mcmahill dot net *
20046 * lib/panasonic.inc: fix typo in a comment
20048 2003-12-31 Dan McMahill * dan AT mcmahill dot net *
20050 * lib/geda.inc, lib/smt.inc: add SC70_3, SC70_4, SC70_5, and SC70_6
20051 footprints (the 3,4,5, and 6 pin SC70 family).
20053 2003-12-31 Dan McMahill * dan AT mcmahill dot net *
20055 * lib/to.inc: rename the SOT23 and SOT323 footprints here to
20056 SOT23_CEL and SOT323_CEL to avoid a conflict with the ones defined
20057 in the geda library. The "CEL" part reflects that the pin numbering
20058 is the one used by CEL which is different from what others seem to
20061 2003-12-31 Dan McMahill * dan AT mcmahill dot net *
20063 * lib/Makefile.in: regen after adding panasonic library
20065 2003-12-31 Dan McMahill * dan AT mcmahill dot net *
20067 * lib/Makefile.am, lib/common.m4, lib/panasonic.inc: Add the
20068 panasonic EXB series of chip resistor arrays.
20070 2003-12-31 Dan McMahill * dan AT mcmahill dot net *
20072 * lib/smt.inc: deal with SMT DIL packages with an odd number of pads
20075 2003-12-31 Dan McMahill * dan AT mcmahill dot net *
20077 * lib/smt.inc: add an extra argument to COMMON_SMT_DIL_MIL and
20078 COMMON_SMT_DIL_MM to allow the pins to go in the reverse order to
20079 deal with some non-standard pinouts like the mini-circuits KK81
20082 2003-12-31 Dan McMahill * dan AT mcmahill dot net *
20084 * lib/Makefile.in: regen after adding minicircuits
20086 2003-12-31 Dan McMahill * dan AT mcmahill dot net *
20088 * lib/Makefile.am, lib/common.m4, lib/minicircuits.inc: add several
20089 minicircuits packages
20091 2003-12-30 Dan McMahill * dan AT mcmahill dot net *
20093 * lib/Makefile.in: regen after adding bourns library
20095 2003-12-30 Dan McMahill * dan AT mcmahill dot net *
20097 * lib/geda.inc, lib/smt.inc: - add a handful of 3 pin SMT EMI filter footprints - add US* family of SMT packages.
20099 2003-12-30 Dan McMahill * dan AT mcmahill dot net *
20101 * lib/connector.inc: add through hole test point footprint.
20103 2003-12-30 Dan McMahill * dan AT mcmahill dot net *
20105 * lib/common.m4: include the bourns library
20107 2003-12-30 Dan McMahill * dan AT mcmahill dot net *
20109 * lib/amphenol.inc, lib/amphenol.list, lib/amphenol.m4: add some
20110 more SMA connectors
20112 2003-12-30 Dan McMahill * dan AT mcmahill dot net *
20114 * lib/Makefile.am, lib/bourns.inc: add bourns 3224G, 3224J, 3224W,
20115 and 3224X trim pots
20117 2003-12-30 Dan McMahill * dan AT mcmahill dot net *
20119 * doc/pcb.texi: add note about the dangers of whitespace in .list
20122 2003-12-30 Dan McMahill * dan AT mcmahill dot net *
20124 * lib/amphenol.m4: correct capitalization for amphenol_ARFX1229
20126 2003-12-30 Dan McMahill * dan AT mcmahill dot net *
20128 * lib/amphenol.list: remove extra whitespace at end of ARFX1229 line
20130 2003-12-30 Dan McMahill * dan AT mcmahill dot net *
20132 * lib/Makefile.in: regen after adding amphenol library
20134 2003-12-30 Dan McMahill * dan AT mcmahill dot net *
20136 * lib/Makefile.am, lib/amphenol.inc, lib/amphenol.list,
20137 lib/amphenol.m4, lib/common.m4: Add amphenol connectors. Start out
20138 with the ARFX1229 SMA connector.
20140 2003-12-30 Dan McMahill * dan AT mcmahill dot net *
20142 * lib/connector.inc, lib/geda.inc: add MTA100 connectors
20144 2003-12-30 Harry Eaton * haceaton AT users dot sourceforge dot net *
20146 * src/action.c, src/autoplace.c, src/buffer.c, src/change.c,
20147 src/copy.c, src/create.c, src/crosshair.c, src/dev_ps.c,
20148 src/dev_rs274x.c, src/dialog.c, src/draw.c, src/drill.c,
20149 src/file.c, src/find.c, src/library.c, src/menu.c, src/mirror.c,
20150 src/misc.c, src/move.c, src/mymem.c, src/netlist.c, src/pinout.c,
20151 src/polygon.c, src/print.c, src/rats.c, src/remove.c, src/report.c,
20152 src/rotate.c, src/rubberband.c, src/search.c, src/select.c,
20153 src/set.c, src/undo.c: Ok, this complete the formating changes.
20156 2003-12-29 Harry Eaton * haceaton AT users dot sourceforge dot net *
20158 * src/file.c: Fixed another glitch during format change
20160 2003-12-29 Harry Eaton * haceaton AT users dot sourceforge dot net *
20162 * src/find.c: Fixed a polygon/polygon intersection bug where a wrong
20163 point index was used
20165 2003-12-29 Harry Eaton * haceaton AT users dot sourceforge dot net *
20167 * src/file.c: Restored accidentally deleted line during formating
20170 2003-12-29 Harry Eaton * haceaton AT users dot sourceforge dot net *
20172 * src/action.c, src/autoplace.c, src/buffer.c, src/change.c,
20173 src/command.c, src/control.c, src/copy.c, src/create.c,
20174 src/crosshair.c, src/dev_ps.c, src/dev_rs274x.c, src/dialog.c,
20175 src/draw.c, src/drill.c, src/error.c, src/file.c, src/fileselect.c,
20176 src/find.c, src/gui.c, src/insert.c, src/kdtree.c, src/lgdialog.c,
20177 src/library.c, src/log.c, src/main.c, src/menu.c, src/mirror.c,
20178 src/misc.c, src/move.c, src/mtspace.c, src/mymem.c, src/netlist.c,
20179 src/output.c, src/pinout.c, src/polygon.c, src/print.c,
20180 src/printdialog.c, src/printpanner.c, src/rats.c, src/remove.c,
20181 src/report.c, src/rotate.c, src/rubberband.c, src/search.c,
20182 src/select.c, src/set.c, src/sizedialog.c, src/undo.c, src/vector.c:
20183 Cleaned up coding formating from long-ago indent diaster with _LOOP
20184 macros. These should be formating changes only.
20186 2003-12-28 Harry Eaton * haceaton AT users dot sourceforge dot net *
20188 * src/insert.c, src/polygon.c, src/remove.c, src/search.c,
20189 src/search.h, src/undo.c: fixed polygon undo bugs; speed-up of undo
20192 2003-12-26 DJ Delorie * dj AT delorie dot com *
20194 * src/djopt.c: Use the layer groups to determine which layers are
20195 solder and component. Fix bugs in check2 and padcleaner where
20196 deleted lines weren't skipped.
20198 2003-12-26 Harry Eaton * haceaton AT users dot sourceforge dot net *
20200 * src/djopt.c: added undo capability for trace optimizations
20202 2003-12-25 Harry Eaton * haceaton AT users dot sourceforge dot net *
20204 * src/autoroute.c, src/copy.c, src/dev_rs274x.c, src/draw.c,
20205 src/find.c, src/macro.h, src/polygon.c, src/print.c,
20206 src/rubberband.c, src/undo.c: using macro LAYER_PTR(n) to go from
20207 layer number to pointer. this simplifies the code a little bit
20209 2003-12-25 Harry Eaton * haceaton AT users dot sourceforge dot net *
20211 * src/move.c, src/remove.c: simplified ObjectMove undo serial number
20214 2003-12-24 Harry Eaton * haceaton AT users dot sourceforge dot net *
20216 * src/select.c: fixed bug where null F->Pad could be called (e.g.
20219 2003-12-22 Harry Eaton * haceaton AT users dot sourceforge dot net *
20221 * src/netlist.c: Both ends of an added rat line must have named
20224 2003-12-22 Harry Eaton * haceaton AT users dot sourceforge dot net *
20226 * src/find.c, src/search.c: Fixed various DRC errors with arcs,
20227 square pads and square pins
20229 2003-12-21 Harry Eaton * haceaton AT users dot sourceforge dot net *
20231 * src/netlist.c: Disallow drawing rat-lines to unnamed elements;
20232 fixed a problem with netlist window being doubly disposed.
20234 2003-12-20 Dan McMahill * dan AT mcmahill dot net *
20236 * lib/smt.inc: add -*- m4 -*-
20238 2003-12-17 Dan McMahill * dan AT mcmahill dot net *
20240 * lib/Makefile.am, lib/Makefile.in, lib/common.m4,
20241 lib/gen_list.awk, lib/gen_m4.awk, lib/johnstech.inc: add footprints
20242 for Johnstech Evaluation Socket for QFN packages Johnstech Socket
20243 Part Numbers 724810 through 724839. Note, the footprint has been
20244 checked by hand but not yet verified through fabrication.
20246 2003-12-01 Dan McMahill * dan AT mcmahill dot net *
20248 * configure: regen after -R fix
20250 2003-12-01 Dan McMahill * dan AT mcmahill dot net *
20252 * configure.ac: When trying out the various -R, --rpath, etc.
20253 compiler flags, actually try them out instead of just claiming to.
20254 Addresses part of bug report 850369 filed by Tom Saunders.
20256 2003-11-29 Harry Eaton * haceaton AT users dot sourceforge dot net *
20258 * src/crosshair.c: Allow snap to line end-points and vias when
20261 2003-11-20 Harry Eaton * haceaton AT users dot sourceforge dot net *
20263 * src/dev_rs274x.c: restored bug fixes that got lost, fixed some
20264 bugs and cleaned the code a little
20266 2003-11-20 Harry Eaton * haceaton AT users dot sourceforge dot net *
20268 * src/dev_rs274x.c: removed #include <varargs> that accidentally got
20269 in on the last commit
20271 2003-11-19 Harry Eaton * haceaton AT users dot sourceforge dot net *
20273 * src/dev_rs274x.c, src/print.c: Changed print.c and dev_rs274x.c in
20274 order to provide negative image ground planes for gerber output when
20275 possible. Some fab vendors can't handle or charge extra for
20276 composite ground planes which is the motivation for this. Negative
20277 image planes are made when (1) There are no lines, arcs, text, or
20278 pads on a layer and (2) There is exactly 1 polygon on the layer and (3) All vias/holes/pins pierce the polygon. The polygon is then
20279 assumed to consume all of the area and only the thermal reliefs and
20280 pin/via clearances are needed. haceaton 11/19/03
20282 2003-11-13 Dan McMahill * dan AT mcmahill dot net *
20284 * doc/Makefile.in: regen
20286 2003-11-13 Dan McMahill * dan AT mcmahill dot net *
20288 * doc/Makefile.am: add rules for creating postscript and png from a
20289 tgif drawing. Needed for improved docs.
20291 2003-11-13 Dan McMahill * dan AT mcmahill dot net *
20293 * config.h.in: regen after adding Xpm check
20295 2003-11-13 Dan McMahill * dan AT mcmahill dot net *
20297 * src/print.c: Change how the polarity of the soldermask relief
20298 layer is handled. The polarity is not changed but it now correctly
20299 works for postscript output as well as gerber output. Previously
20300 the postscript output produced white on a white background or black
20301 on a black background. This addresses PR 825680 filed by Russ Dill.
20303 2003-11-08 Dan McMahill * dan AT mcmahill dot net *
20305 * configure, configure.ac: use AC_PATH_PROGS to search through a
20306 list of candidates for wish
20308 2003-11-08 Dan McMahill * dan AT mcmahill dot net *
20310 * configure, src/Makefile.in, src/script/Makefile.in: regen after
20311 moving the pcb script to a subdirectory.
20313 2003-11-08 Dan McMahill * dan AT mcmahill dot net *
20315 * configure.ac, src/Makefile.am, src/pcb.in,
20316 src/script/Makefile.am, src/script/pcb.in: move the pcb script to a
20317 subdirectory to avoid name conflicts with the Pcb application
20318 default file on systems such as cygwin that are not case sensitive.
20320 2003-11-08 Dan McMahill * dan AT mcmahill dot net *
20322 * configure, configure.ac: search for libXpm which is needed on
20325 2003-11-08 Dan McMahill * dan AT mcmahill dot net *
20327 * configure, configure.ac: add a few more variants of wish (wish83,
20328 cygwish80, etc) to search for
20330 2003-10-15 Dan McMahill * dan AT mcmahill dot net *
20332 * src/dev_rs274x.c: fix two bugs related to gerber file generation.
20333 The first bug is triggered when the first aperture used in a file is
20334 the same as the last aperture used in the previous file. In this
20335 case the aperture selection code is missing from the output file. The second bug is when the first point drawn has its Y coordinate
20336 (in PCB coordinates) equal to zero. The output will be at gerber Y
20337 coordinate zero which is on the opposite side of the board. Thanks to Gabriel Paubert (paubert at iram dot es) for noting these
20338 bugs and supplying a patch.
20340 2003-10-13 Dan McMahill * dan AT mcmahill dot net *
20342 * src/report.c: correct the reporting of soldermask relief for pads
20343 and via's. Patch provided by Gabriel Paubert, paubert at iram dot
20344 es on the geda-dev mailing list.
20346 2003-10-11 Dan McMahill * dan AT mcmahill dot net *
20348 * src/report.c: show pad names in object report. patch supplied in
20349 bug report 787711 by Olof Tangrot.
20351 2003-10-11 Dan McMahill * dan AT mcmahill dot net *
20353 * src/cmask.grb, src/cpaste.grb, src/csilk.grb, src/pdrill.grb,
20354 src/smask.grb, src/spaste.grb, src/ssilk.grb, src/udrill.grb: remove
20355 some output files which should have never been in CVS.
20357 2003-10-03 Dan McMahill * dan AT mcmahill dot net *
20359 * lib/Makefile.in: regen after qfn.inc additions
20361 2003-10-03 Dan McMahill * dan AT mcmahill dot net *
20363 * lib/Makefile.am, lib/common.m4, lib/geda.inc, lib/qfn.inc: add 60
20364 members of the Quad Flat No-lead (QFN) package family. Based on
20365 package drawings downloaded from www.maxim-ic.com and Intersil
20366 technical brief TB389.1 "PCB Land Pattern Desugn and Surface Mount
20367 Guidelines for QFN (MLFP) Packages".
20369 2003-10-01 Dan McMahill * dan AT mcmahill dot net *
20371 * doc/Xdefaults.tgif, doc/pad.obj: add a figure to help with
20372 describing the pads. Also add an Xresources file needed to convert
20373 the tgif drawing to png
20375 2003-09-30 Dan McMahill * dan AT mcmahill dot net *
20377 * doc/pcb.texi: update copyright for last changes
20379 2003-09-30 Dan McMahill * dan AT mcmahill dot net *
20381 * configure, example/Makefile.in, example/libraries/Makefile.in:
20382 regen after example/libraries addition
20384 2003-09-30 Dan McMahill * dan AT mcmahill dot net *
20386 * configure.ac, example/Makefile.am: add example/libraries/Makefile
20388 2003-09-30 Dan McMahill * dan AT mcmahill dot net *
20390 * doc/pcb.texi, example/libraries/Makefile.am,
20391 example/libraries/example.inc, example/libraries/example.list,
20392 example/libraries/example.m4: Add two new chapters to the manual.
20393 The first attempts to provide some more documentation about library
20394 creation. It includes a complete example of adding footprints using
20395 M4 style libraries as well as giving instructions on creating newlib
20396 style footprints. The second added chapter shows how to take a
20397 design from start to finish using gEDA as the schematic capture and
20398 PCB as the layout tool. This chapter still needs work, but early
20399 feedback is good and its better than no documentation.
20401 2003-09-03 DJ Delorie * dj AT delorie dot com *
20403 * src/dev_ps.c, src/dev_rs274x.c, src/draw.c, src/drill.c,
20404 src/print.c, src/report.c: Add FAB drawing page. Use thinner traces
20407 2003-09-03 Dan McMahill * dan AT mcmahill dot net *
20409 * aclocal.m4, configure: regen
20411 2003-09-03 Dan McMahill * dan AT mcmahill dot net *
20413 * acinclude.m4, configure.ac: don't hardcode -lXaw in the FUNCPROTO
20416 2003-09-03 Dan McMahill * dan AT mcmahill dot net *
20420 2003-09-03 Dan McMahill * dan AT mcmahill dot net *
20422 * configure.ac: add a --with-xaw= option that lets you select an
20423 alternative to Xaw. For example, --with-xaw=Xaw3d will search for
20426 2003-09-03 Dan McMahill * dan AT mcmahill dot net *
20428 * doc/pcb.texi: add brief section about the trace optimizer.
20430 2003-08-31 Dan McMahill * dan AT mcmahill dot net *
20432 * lib/geda.inc: change 'Square' to 'Rectangular' to the comment for
20433 the rectangular QFP section.
20435 2003-08-30 Dan McMahill * dan AT mcmahill dot net *
20437 * lib/gen_geda_list.awk, lib/gen_geda_m4.awk: remove the lines which
20438 tried to copy the source file RCS Id to the generated files. CVS
20439 broke this feature by expanding keywords on me.
20441 2003-08-30 Dan McMahill * dan AT mcmahill dot net *
20443 * lib/geda.list, lib/geda.m4: these files are autogenerated now
20445 2003-08-30 Dan McMahill * dan AT mcmahill dot net *
20447 * lib/geda.inc, lib/qfpdj.inc: rework the QFP packages fixing
20448 several bugs and greatly expanding the footprint database. Patches
20449 supplied in bug report 785400 by Wojciech Kazubski. Many thanks for
20452 2003-08-30 Dan McMahill * dan AT mcmahill dot net *
20454 * lib/common.m4: add qfpdj.inc to the include list
20456 2003-08-30 Dan McMahill * dan AT mcmahill dot net *
20458 * lib/CreateLibraryContents.sh.in: when given a -I flag, look both
20459 there and the current directory for .list files. Needed for
20460 building outside the source tree directory.
20462 2003-08-30 Dan McMahill * dan AT mcmahill dot net *
20464 * lib/Makefile.am, lib/Makefile.in, lib/gen_geda_list.awk,
20465 lib/gen_geda_m4.awk: add scripts which autogenerate geda.m4 and
20466 geda.list from geda.inc.
20468 2003-08-26 Dan McMahill * dan AT mcmahill dot net *
20470 * lib/geda.inc, lib/geda.list, lib/geda.m4, lib/plcc.inc: Add
20471 20,28,32 pin PLCC footprints, both unsocketed and socketed (through
20472 hole). Provided in bug report 777539 by Troy Jacobson.
20474 2003-08-23 DJ Delorie * dj AT delorie dot com *
20476 * src/djopt.c: Support however many layers are configured.
20478 2003-08-16 Dan McMahill * dan AT mcmahill dot net *
20480 * doc/pcb.texi: add info-dir entry
20482 2003-08-16 Dan McMahill * dan AT mcmahill dot net *
20484 * newlib/2_pin_thru-hole_packages/Makefile.in: regen
20486 2003-08-16 Dan McMahill * dan AT mcmahill dot net *
20488 * newlib/2_pin_thru-hole_packages/Makefile.am: Makefile.am is not a
20489 library component so do not install it as one
20491 2003-08-15 Dan McMahill * dan AT mcmahill dot net *
20493 * README.snapshots: add a note on creating snapshots
20495 2003-08-15 Dan McMahill * dan AT mcmahill dot net *
20497 * doc/pcb.texi: add DJ and myself
20499 2003-08-14 Dan McMahill * dan AT mcmahill dot net *
20501 * lib/lsi.list, lib/lsi.m4: Remove extra space in one of the pin
20502 names in AT90S2313_dil and add missing AT90S4434_dil AT90S8535_dil
20503 AT90S8535_plcc. Patch provided in bug report 770829 by Daniel
20506 2003-08-06 Dan McMahill * dan AT mcmahill dot net *
20508 * lib/texas_inst_voltage_reg.m4: fix parse error on uA7952C. Patch
20509 provided in bug report 770829 by Daniel Mooney (dbmk).
20511 2003-08-05 Dan McMahill * dan AT mcmahill dot net *
20513 * lib/texas_inst_amplifier.m4: fix parse errors in TL083 and ua747.
20514 Patch provided in bug report 770829 by Daniel Mooney (dbmk).
20516 2003-08-05 Dan McMahill * dan AT mcmahill dot net *
20518 * lib/jerry.m4: fix parse errors on DS1225 and DS1230. Patch
20519 provided in bug report 770829 by Daniel Mooney (dbmk).
20521 2003-07-25 DJ Delorie * dj AT delorie dot com *
20523 * : second dummy commit
20525 2003-07-20 Dan McMahill * dan AT mcmahill dot net *
20527 * README.cvs: note that autoconf 2.13 is not new enough and mention
20528 how to get the version
20530 2003-07-20 DJ Delorie * dj AT delorie dot com *
20532 * src/dev_rs274x.c: polygon fills must have a defined aperture also
20534 2003-07-20 DJ Delorie * dj AT delorie dot com *
20536 * src/dev_rs274x.c, src/print.c: Solder mask layers are reliefs and
20537 normally are positive prints. Support inverted gerber plots.
20539 2003-07-07 DJ Delorie * dj AT delorie dot com *
20541 * src/dev_rs274x.c: Properly scale outline and alignment. Add
20542 segment to alignment to act as registration.
20544 2003-07-06 DJ Delorie * dj AT delorie dot com *
20546 * src/report.c: Sort drill report by hole size, list total hole
20549 2003-07-02 DJ Delorie * dj AT delorie dot com *
20551 * src/djopt.c: Fix off-by-one bug in handling bloat. Be more
20552 careful about cleaning up traces within pads.
20554 2003-07-01 DJ Delorie * dj AT delorie dot com *
20556 * src/sizedialog.c: The minimum size of a board should never be more
20557 than the current actual size of the board.
20559 2003-06-25 DJ Delorie * dj AT delorie dot com *
20561 * src/Pcb.ad.in, src/change.c: Automatically set CLEARLINEFLAG if
20562 the user modifies the clearance. Add keys for changing clearance by
20563 selection instead of pointer.
20565 2003-06-22 DJ Delorie * dj AT delorie dot com *
20567 * src/Makefile.in: Regenerate with djopt.c
20569 2003-06-22 DJ Delorie * dj AT delorie dot com *
20571 * src/action.c, src/const.h, src/crosshair.c, src/menu.c: Add
20572 orthogonal move feature
20574 2003-06-22 DJ Delorie * dj AT delorie dot com *
20576 * src/Pcb.ad.in, src/action.c, src/const.h, src/draw.c, src/menu.c:
20579 2003-06-22 DJ Delorie * dj AT delorie dot com *
20581 * src/Makefile.am, src/Pcb.ad.in, src/djopt.c, src/djopt.h,
20582 src/main.c, src/menu.c: Add trace optimizer.
20584 2003-06-13 Dan McMahill * dan AT mcmahill dot net *
20586 * Makefile.in, aclocal.m4, config.h.in, configure, depcomp: add
20587 automake/conf output to make it easier for users to build
20589 2003-06-13 Dan McMahill * dan AT mcmahill dot net *
20591 * README_FILES/Makefile.in, doc/Makefile.in, example/Makefile.in,
20592 lib/Makefile.in, newlib/2_pin_thru-hole_packages/Makefile.in,
20593 newlib/Makefile.in, newlib/analog-devices/Makefile.in,
20594 newlib/burr-brown/Makefile.in, newlib/connectors/Makefile.in,
20595 newlib/crystal/Makefile.in, newlib/cypress/Makefile.in,
20596 newlib/electro-optics/Makefile.in,
20597 newlib/generic_SMD_packages/Makefile.in,
20598 newlib/headers/Makefile.in, newlib/msp430/Makefile.in,
20599 newlib/not_vetted_ingo/Makefile.in, newlib/sockets/Makefile.in,
20600 newlib/tests/Makefile.in, newlib/toko/Makefile.in, src/Makefile.in,
20601 src/icons/Makefile.in, tools/Makefile.in, tutorial/Makefile.in: add
20602 the automake/conf generated files to make building from CVS sources
20605 2003-06-13 Dan McMahill * dan AT mcmahill dot net *
20607 * src/error.c: only declare sys_nerr if we're using the sys_errlist
20608 interface. This fixes compilation on NetBSD/alpha using gcc-3.3.
20610 2003-06-13 Dan McMahill * dan AT mcmahill dot net *
20612 * src/dev_rs274x.c: remove unused varargs.h header which breaks
20613 gcc-3.3 compilation
20615 2003-06-05 Dan McMahill * dan AT mcmahill dot net *
20617 * src/action.c, src/menu.c: Allow '=' at the beginning of the zoom
20618 exponent to indicate an absolute number rather than a relative
20619 number. This lets a value of "=-2" be used to indicate an absolute
20620 -2 while "-2" still indicates a relative -2. Also correct the
20621 position of the check mark on the zoom menu. Patch from DJ Delorie.
20623 2003-05-26 Dan McMahill * dan AT mcmahill dot net *
20625 * src/file.c, src/fileselect.c, src/misc.c, src/misc.h: Fix a bug in
20626 the way the current working directory is found. This caused the
20627 file dialog box to always start in the library tree directory. In addition add a loop in ParseLibraryTree() to allow multiple
20628 newlib style directory tree's to be specified in the Xresource.
20629 This provides an easy way to have per-user and per-project library
20630 directories. These directories may either be specified as an
20631 absolute or relative path. Patches provided by Tony (droghedra at users dot sourceforge dot
20632 net) in bug report 736010 with minor changes by me.
20634 2003-05-22 Dan McMahill * dan AT mcmahill dot net *
20636 * lib/Makefile.am: add missing rules.inc
20638 2003-05-22 Dan McMahill * dan AT mcmahill dot net *
20640 * src/menu.c: add 2 more levels of zooming to the menu. Inspired by
20641 an email from DJ Delorie on the gEDA mailing list.
20643 2003-05-21 Dan McMahill * dan AT mcmahill dot net *
20645 * src/parse_l.l: change yy_current_buffer to YY_CURRENT_BUFFER.
20646 This addresses the build \ problem reported in bug 734403 and also
20647 agrees with the man page for \ flex-2.5.4.\ \ In addition add a
20648 %option yylineno to address part of bug 736010\ where the line
20649 number associated with a parse error is incorrectly\ displayed as 1.
20652 2003-05-20 Dan McMahill * dan AT mcmahill dot net *
20654 * lib/common.m4: add missing bga.inc and resistor_adjust.inc
20655 included. The latter addresses part of bug report 734403.
20657 2003-03-17 Dan McMahill * dan AT mcmahill dot net *
20659 * : remove spurious file which should not have been imported. Noted
20662 2003-03-17 Dan McMahill * dan AT mcmahill dot net *
20664 * ...: remove spurious file which should not have been imported.
20665 Noted by Mark Becker.
20667 2003-03-05 Dan McMahill * dan AT mcmahill dot net *
20669 * src/error.c: if strerror() is present on our system then use it
20670 instead of trying to use sys_errlist. Patch from harry, with the
20671 check for strerror from me.
20673 2003-03-05 Dan McMahill * dan AT mcmahill dot net *
20675 * configure.ac: move the strerror test up in the configure process
20676 so we don't need to link to the X libraries for the test.
20678 2003-03-05 Dan McMahill * dan AT mcmahill dot net *
20680 * configure.ac: add check for strerror()
20682 2003-02-24 Dan McMahill * dan AT mcmahill dot net *
20684 * src/autoroute.c: when checking for a NULL pointer compare to NULL
20685 rather than 0 for enhanced portability.
20687 2003-02-21 Dan McMahill * dan AT mcmahill dot net *
20689 * configure.ac: bump to 1.99o since a 1.99n version was posted to
20690 the geda list. We should avoid further updates to this version
20691 number until a release. If users want snapshots, they can get them
20694 2003-02-21 Dan McMahill * dan AT mcmahill dot net *
20696 * src/kdtree.c: change c++ style comments to c style and remove the
20697 use of non-static initializers to allow the SunPRO c compiler to be
20698 able to compile this file.
20700 2003-02-21 Dan McMahill * dan AT mcmahill dot net *
20702 * src/autoroute.c: coding style fixes to allow this to be compiled
20703 with the SunPRO c compiler. Changes are moving from c++ style
20704 comments to c style comments and getting rid of non-static
20707 2003-02-21 Dan McMahill * dan AT mcmahill dot net *
20709 * README.cvs: - add section on checking out via anoncvs and updating via anoncvs. - point to INSTALL document for what to do afte bootstrapping the
20712 2003-02-20 Dan McMahill * dan AT mcmahill dot net *
20714 * doc/Imakefile, doc/pcb.texi.in, doc/pcb.texi.raw,
20715 doc/refcard.tex.in, doc/refcard.tex.raw: remove obsolete files
20717 2003-02-20 Dan McMahill * dan AT mcmahill dot net *
20719 * : these don't really belong in CVS. The sources are in the doc/
20720 directory and they do get generated and put into the distfile when a
20723 2003-02-20 Dan McMahill * dan AT mcmahill dot net *
20725 * : remove obsolete file (the contents live in pcb/newlib/ now
20727 2003-02-20 Dan McMahill * dan AT mcmahill dot net *
20729 * lib/CreateLibrary.sh.raw, lib/CreateLibraryContents.sh.raw,
20730 lib/Imakefile, lib/QueryLibrary.sh.raw: remove obsolete files
20732 2003-02-20 Dan McMahill * dan AT mcmahill dot net *
20734 * src/CreateSedScript.sh, src/Imakefile: remove obsolete files
20736 2003-02-20 Dan McMahill * dan AT mcmahill dot net *
20738 * src/1.grb, src/2.grb, src/3.grb, src/4.grb, src/5.grb: remove
20739 unneeded output files
20741 2003-02-20 Dan McMahill * dan AT mcmahill dot net *