commit 875406c9d1211fd88e3e7e1ee5349cba41a7becf Author: Peter TB Brett <peter@peter-b.co.uk> Date: Wed Sep 25 22:17:56 2013 +0100 Update NEWS and version information for 1.8.2. commit 1dd3f5d77dc013624f6848801f4885c485595425 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Wed Sep 25 22:34:27 2013 +0100 build-sys: Don't use Automake test driver unless actually necessary. Most of the tests in geda-gaf actually provide their own test drivers in the form of a shell script. It's actually better just to run them directly in a check-local rule than to use the Automake test driver (which eats all the output now that parallel tests are being used). (imported from commit b7a373f8846fa91c92e4a628e0691b7f865af3e0) commit f5cda460b09a7af60d4a00a469321c524816af3e Author: Peter TB Brett <peter@peter-b.co.uk> Date: Wed Sep 25 22:40:12 2013 +0100 gnetlist: Don't use gettext macros. Commit dcd9b1c6eb47 introduced a translatable string to gnetlist, but in the stable-1.8 branch gnetlist is not yet internationalised. commit dcd9b1c6eb472b80117d945896c56092acfdeac7 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Sun Sep 22 10:12:21 2013 +0100 gnetlist: Error on clashes with netattrib-generated refdes. Exit with an error if a refdes is found in input files that conflicts with autogenerated netattrib-related refdes. Closes-bug: lp-1226246 commit c58247b598517b875d8cb2b80eb812e92ee9c87f Author: Peter TB Brett <peter@peter-b.co.uk> Date: Sun Sep 22 10:11:23 2013 +0100 gnetlist: Safer use of nettattrib-generated refdes. Two-pronged attack to make gnetlist's use of autogenerated "POWER" refdes less likely to cause a problem. 1) Use a longer, more specific prefix string. This will make it much much less likely that a collision with a user net name will occur. 2) When testing for autogenerated refdes, test for the exact prefix using strncmp() instead of just checking that it appears somewhere in the string. Affects-bug: lp-1226246 commit d088ec192ac9fbc1dff3509527cb238520c2ee33 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Fri Nov 23 21:24:42 2012 +0000 Update version numbers to 1.8.1. commit 2f5799e3936040e186db0ebc9c5188e62a2706d8 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Tue Nov 20 00:18:50 2012 +0000 commit 87f1e0e76965a514277c949dbf2191993962cb88 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Sun Nov 18 15:26:09 2012 +0000 Update version numbers to 1.8.0-20121118. commit 67c6022ba512e33b242aa62d0448385893471554 Author: Jeff Mallatt <jjm@codewell.com> Date: Fri May 25 18:31:49 2012 -0400 gnetlist: Stop drc2 backend from crashing when output is to stdout. Fixes bug where emitting to stdout (-o -) and finding errors/warnings caused crash attempting to emit final 'See output file' message. Closes-bug: lp-1004757 Reviewed-by: Peter TB Brett <peter@peter-b.co.uk> commit 5c2c75614ee878fc792aaa6407aecc030cfd95dc Author: Peter TB Brett <peter@peter-b.co.uk> Date: Fri Nov 16 23:04:09 2012 +0000 gnetlist: Add -o option to --help output. Closes-bug: lp-1079714 commit f7fab3715f984c374f41d7c2d74fc2802bbb4e7a Author: Gareth Edwards <gareth@edwardsfamily.org.uk> Date: Wed Nov 14 22:58:12 2012 +0000 Replace references to geda.seul.org with up-to-date URLs. Update lots of links to seul.org to www.geda-project.org, wiki.geda-project.org, gedasymbols.org and www.gnu.org as appropriate. commit 7a68dc68dd3ccbf4d4b2b2056cefc573152cfa92 Author: Gareth Edwards <gareth@edwardsfamily.org.uk> Date: Thu Nov 15 08:32:50 2012 +0000 gnetlist: Updated bug filing and homepage URLs in usage message commit 098044feb4e53d9cc49a57a0071e36b62d6c9d9f Author: Gareth Edwards <gareth@edwardsfamily.org.uk> Date: Mon Mar 19 21:45:11 2012 +0000 gnetlist: remove unused pointer value from s_traverse_component() The value 'nets' used to store the result of s_traverse_net() is never used, to cast function value to (void) to explicitly show that. Coverity-ID: 201679 commit 85113c7d1245ca1b3aed45a7fc4cf771b5795f40 Author: Gareth Edwards <gareth@edwardsfamily.org.uk> Date: Mon Mar 19 21:38:42 2012 +0000 gnetlist: cleanly discard unused power tag in s_netattrib.c In the function s_netattrib_return_netname(), cast the first call to strtok (which is discarding the power tag) to (void) rather than storing it and never using it in the current_pin pointer. Coverity-ID: 201678 commit f0923997c5ea727f6b73afad23ee2f974ac6b6b0 Author: Gareth Edwards <gareth@edwardsfamily.org.uk> Date: Sun Mar 18 11:36:59 2012 +0000 Update FSF mailing address. Change all references to the FSF mailing address to the new Franklin Street location. Closes-bug: lp-934934 commit a110456ce03822ed543efd27e827d497076ebf41 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Thu Feb 9 12:11:46 2012 +0000 gnetlist: Fix dereference after NULL check. Replace the NULL check with an assertion. Coverity-ID: 201601 commit 133970aaf70c1ed864765fdf51bbe165cb16337f Author: Peter TB Brett <peter@peter-b.co.uk> Date: Thu Feb 9 11:45:50 2012 +0000 gnetlist: Fix missing break in switch. This was clearly an error, since in the APPEND case the built value would would be leaked. Coverity-ID: 201618 commit 29b8540801de26686e9b282db5f987181aab2130 Author: Dan White <dan@whiteaudio.com> Date: Sat Dec 10 17:01:16 2011 -0600 gnetlist: makedepend documentation commit fac4d11b8c7beb6a711a83ba002682bab0168816 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Mon Jan 9 21:05:55 2012 +0000 gnetlist: Output refdes when g_get_nets() fails. Affects-bug: lp-912976 commit d207c8af8e1928b26a1f30deabb3e71f9e8ff507 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Mon Jan 9 20:33:14 2012 +0000 gnetlist: Clean up g_get_nets() control flow. Reorganise things to reduce insane nesting depth. commit ddddb8fafd9c2598e8b9697adc6dda8bb71bed6d Author: Peter TB Brett <peter@peter-b.co.uk> Date: Mon Jan 9 20:30:16 2012 +0000 gnetlist: Re-indent g_get_nets() function. [whitespace] commit 815eef2cb1f35519633e6fe93332f39e9743ae6c Author: Peter TB Brett <peter@peter-b.co.uk> Date: Mon Jan 9 19:36:47 2012 +0000 gnetlist: Make file load error message clearer. commit d1305adf92982b3a159707c940bafb8c293223fe Author: Eivind Kvedalen <eivind@kvedalen.name> Date: Tue Jun 28 21:43:13 2011 +0200 Partial fix for bug #700448. NULL is returned from o_*_read and o_read_buffer functions if parsing of the input buffer fails. An error object is returned in these cases, describing in detail what error occured. gnetlist is updated to exit with status code 2 if the input file can't be read. gschem is updated to report errors when using o_read_buffer. TODO: * Prone to segfaults on bad input files (separate patch) commit e2eda476fb8f3a16aeba8eab0cc8b7fa12e37d6b Author: Ales Hvezda <ahvezda@seul.org> Date: Sat Dec 31 16:00:23 2011 -0500 Updated man page date and version in prep for a new release (1.7.2) commit 14b0299cac74632fd12026bbde5e9a1ad458df53 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Fri Dec 30 23:12:28 2011 +0000 gnetlist: Fix premature free in g_get_nets(). commit de82b5d95ac7a1527f2347f5e6c836c1b2ff2a0d Author: Gareth Edwards <gareth@edwardsfamily.org.uk> Date: Fri Dec 23 19:08:19 2011 +0000 Don't install sch2eaglepos.sh sch2eaglepos.sh is already distributed to the examples and doesn't need to be in $prefix/bin as well. Follow the Debian packager's lead by not installing it. Affects-bug: lp-698849 commit 77e61fd5cf2526f1446985676ddc04fcb3d9f4de Author: Gareth Edwards <gareth@edwardsfamily.org.uk> Date: Sun Dec 18 18:31:04 2011 +0000 Expand html man page names properly. Fixes an issue in 7d0ed87ac where the expansion of filenames was not happening properly due to a typo in the make subsitution macro. commit d046a1d95d549283c362fd4dcfa9320bc30eafec Author: Gareth Edwards <gareth@edwardsfamily.org.uk> Date: Sun Dec 18 12:00:32 2011 +0000 Add manpage for mk_verilog_syms. Add manpage for mk_verilog_syms, add to build targets and gitignore, but don't install it. Also, determine html targets for manpages automatically from the list of manpages. Affects-bug: lp-698849 commit 7a17bc39a023245325343459429345eb0c623f5c Author: Dan McMahill <dan@mcmahill.net> Date: Sun Dec 18 09:03:02 2011 -0500 Finish the delete as part of moving sw2asc.in over to utils from gnetlist. commit 44c8ea19dd71d3ae9757a5f9161c09bcaa47eebf Author: Peter TB Brett <peter@peter-b.co.uk> Date: Sun Dec 18 09:34:42 2011 +0000 Update .gitignore files for sw2asc move. commit 6db1ebe332d3dd78367459dc4676af6fcce8b330 Author: Dan McMahill <dan@mcmahill.net> Date: Sat Dec 17 12:14:37 2011 -0500 Move the sw2asc script out of the gnetlist tree and into the utils tree where it belongs. This script is not really a gnetlist utility but rather one used to help extract some simulation results. It is used with the SWITCAP2 switched capacitor circuit simulator which is supported by a gnetlist backend and gschem library. commit 8741d194a6c2fa304d15123d398a9c3758169e6e Author: Peter TB Brett <peter@peter-b.co.uk> Date: Wed Dec 14 12:27:26 2011 +0000 gnetlist: Add basic concatenated net support for verilog. Frank Thomson says: "I modified gnet-verilog.scm to support the basic verilog format concatenated net naming like {a,b,c[3:0]}." Closes-bug: lp-821618 commit ba144aca892cef5841de2009b094d08fa11a0b6b Author: Vladimir Zhbanov <vzhbanov@gmail.com> Date: Wed Dec 14 00:02:09 2011 +0400 gnetlist: Fixed typos in comments/debug output of spice-sdb backend. Closes-bug: lp-904104 commit 523f5bd65a7cea56bdfca7cab5650832273e24bc Author: Peter TB Brett <peter@peter-b.co.uk> Date: Mon Dec 12 21:58:11 2011 +0000 gnetlist: Fix tests for internationalised Scheme API. Missed some places where the Scheme load path needed extending in commit 8d4c574efc3a. This broke distcheck. commit 0e506ebd5d5cc87a7f373b83b24f2ad3c90fd18b Author: Peter TB Brett <peter@peter-b.co.uk> Date: Mon Dec 12 14:13:22 2011 +0000 Remove per-tool INSTALL files. Only one top-level INSTALL file is needed, and that is provided by automake. commit 8d4c574efc3a081324ef92d16e6feb6720c86c33 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Mon Dec 12 10:31:12 2011 +0000 scheme-api: Translate strings. Makes the messages emitted by Scheme API functions internationalizable. This required an update to the gnetlist testsuite to set the library path for built-but-not-installed Scheme modules. Closes-bug: lp-901013 commit c5b473354b2340b42d1a48436fb4da113b34657f Author: Peter TB Brett <peter@peter-b.co.uk> Date: Sun Dec 11 22:18:22 2011 +0000 gsch2pcb: Make --m4-file and -m4-pcbdir arguments work again. These options were broken in commit 6d935086d299, and haven't worked since before 1.6.x. Since no-one had reported it a bug in all that time, it's obvious that no-one was actually using them, and we could probably get away with just deleting them. But making them work again will work as well. Closes-bug: lp-897661 commit 50e6718b8484a737a2092af97132f8785b6c6137 Author: Dan White <dan@whiteaudio.com> Date: Sun Jan 2 12:49:58 2011 -0600 gnetlist: spice-sdb "no_end_card" option suppresses ".end" Add the option "no_end_card" to suppress the ".end" for netlists destined to be .include'd in other files. Closes-bug: 698735 Reviewed-by: Peter TB Brett <peter@peter-b.co.uk> commit 574c85ad6decf49fc64bad0214f045a69fe1d1c3 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Sun Dec 11 01:29:44 2011 +0000 gsch2pcb: Fix broken gnetlist backend. Fix breakage to gsch2pcb backend introduced in commit 579fbb4828a7. commit fbb3b8c871116fe5e0b29140d92b15ecc9a6f8e1 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Sun Dec 4 18:49:51 2011 +0000 gnetlist: Fix some "set but not used" warnings. commit 579fbb4828a71ae2c78f270c3e7d1779c52e8997 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Tue Nov 29 13:23:33 2011 +0000 gsch2pcb: Remove "m4-command" project file option. The "m4-command" option permitted in gsch2pcb project files allows the M4 command line generated by gsch2pcb to be replaced by an arbitrary command line. This patch removes the option. commit 50867f1f01c6fe2aaf20180db6d2626acbd3c8a0 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Tue Nov 29 13:18:27 2011 +0000 gnetlist: Correct comment typo in backend-getopt module. commit 2171faf3ba82744a32aa17c0722262dc42bd062d Author: Peter TB Brett <peter@peter-b.co.uk> Date: Tue Nov 29 13:47:05 2011 +0000 build-sys: Correct `dist-hook' for gnetlist common tests. In commit b0613e375ab8, it became valid for some common tests not to generate output, and subsequently in commit fde0b77b96ef, some `bom2' and `bom' backend golden files were removed to make use of this. However, the `dist-hook' rule in the gnetlist common test Makefile.am still assumed that all tests needed golden output files. This patch corrects this, and un-breaks `make distcheck'. commit fde0b77b96ef92d5e220dafeb31c92c03f7df0bf Author: Peter TB Brett <peter@peter-b.co.uk> Date: Tue Nov 29 09:32:17 2011 +0000 gnetlist: Regenerate `bom' and `bom2' test results. In commit 76bc345ee043, the `bom' and `bom2' backends were modified to be more informative about attribute list specifications. As a side-effect of this work, the backend options for these backends are now much more strictly validated. Tests which pass `-O include_mode' or `-O sort_mode' to gnetlist therefore now fail for the BOM backends, and this patch updates the golden files appropriately. Affects-bug: lp-810202 Reported-by: Dan McMahill <dan@mcmahill.net> commit b0613e375ab887d4a5ed5c3022a12c485cad1ab2 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Tue Nov 29 09:52:30 2011 +0000 gnetlist: Make common tests cope with no output. Some gnetlist backends may fail, expectedly, without generating output. Update common gnetlist test harness to cope with this. commit f42bdab5a5db15c80fa704fe37a62f602c188d9f Author: Peter TB Brett <peter@peter-b.co.uk> Date: Mon Nov 28 10:26:33 2011 +0000 gnetlist: Add ewnet backend to man page. commit f2aae0e26fefb8db388ac9d74a8c14921f116a0b Author: Dan McMahill <dan@mcmahill.net> Date: Sat Nov 19 03:10:35 2011 -0500 Add ULTIboard backend. This is the electroncs workbench layout tool currently sold by National Instruments. commit 1ca1d9b32c62d0563bbe2169aa3764fe03cf86d8 Author: Dan McMahill <dan@mcmahill.net> Date: Sat Nov 19 02:46:18 2011 -0500 Add the ewnet backend to the tests. commit c9d4f6638bbc7ba84534c2460037f19915114a95 Author: Karl Hammar <karl@aspodata.se> Date: Tue Jul 26 16:08:01 2011 +0200 Correct SCM_ASSERT() usage with incorrect SCM_ARGx. From guile documentation: -- Macro: void SCM_ASSERT (int TEST, SCM OBJ, unsigned int POSITION, const char *SUBR) ... -- Macro: int SCM_ARG1 ... -- Macro: int SCM_ARG7 One of the above values can be used for POSITION to indicate the number of the argument of SUBR which is being checked. ... Some SCM_ASSERT() calls have the wrong SCM_ARGx for its TEST and OBJ. Reviewed-by: Peter TB Brett <peter@peter-b.co.uk> commit 76bc345ee043764b919980c3de6d27f78546cf73 Author: Jared Casper <jaredcasper@gmail.com> Date: Fri Jul 15 12:18:07 2011 +0100 gnetlist: bom/bom2 backend attribute list improvements - Checks for the existence of the attribute file, gives a helpful error message if none is found (no default) - Adds an attrib_file command line option to the backend for specifying an alternate attribute file - Adds an attribs command line option for specifying the attributes directly from the command line Closes-bug: lp-810202 commit 9c540461df266e548684ab2f0bd3294605cf749e Merge: f7cc583 12260ba Author: Peter TB Brett <peter@peter-b.co.uk> Date: Sun Jun 19 18:16:48 2011 +0100 Merge changes from main unstable branch commit 12260baebf9f828e9297fc794e911224b8dcd163 Author: Ales Hvezda <ahvezda@seul.org> Date: Sun Jun 19 10:36:02 2011 -0400 Updated all man page dates/versions commit e4872a662d21173526f9fe486d45d33877494035 Author: Ivan Stankovic <pokemon@fly.srk.fer.hr> Date: Fri Jun 17 21:53:57 2011 +0200 gnetlist: g_graphical_objs_in_net...: remove use of deprecated SCM_STRING_CHARS Reviewed-by: Peter TB Brett <peter@peter-b.co.uk> commit 92b4b15049eaaab356e738a6e9f8acd9ca3e7320 Author: Ivan Stankovic <pokemon@fly.srk.fer.hr> Date: Fri Jun 17 21:48:16 2011 +0200 gnetlist: g_get_attribute_by_pinnumber: remove use of deprecated SCM_STRING_CHARS Reviewed-by: Peter TB Brett <peter@peter-b.co.uk> commit 7c1670feb3f8879e5c6ef0fd9cdb3f9679e98482 Author: Ivan Stankovic <pokemon@fly.srk.fer.hr> Date: Fri Jun 17 21:46:41 2011 +0200 gnetlist: g_get_attribute_by_pinseq: remove use of deprecated SCM_STRING_CHARS Reviewed-by: Peter TB Brett <peter@peter-b.co.uk> commit 37b429e766bf17517bd22a80bfa83281260abae9 Author: Ivan Stankovic <pokemon@fly.srk.fer.hr> Date: Fri Jun 17 21:42:05 2011 +0200 gnetlist: g_get_nets: remove use of deprecated SCM_STRING_CHARS Reviewed-by: Peter TB Brett <peter@peter-b.co.uk> commit 971d122c1c17189dbf33d0d92de3cefb27fc0b97 Author: Ivan Stankovic <pokemon@fly.srk.fer.hr> Date: Fri Jun 17 23:00:25 2011 +0200 gnetlist: remove remaining use of deprecated SCM_STRING_CHARS Reviewed-by: Peter TB Brett <peter@peter-b.co.uk> commit eddb9a7f7a6852a46db1ed0ff6a5c74516ff664a Author: Ivan Stankovic <pokemon@fly.srk.fer.hr> Date: Fri Jun 17 21:57:58 2011 +0200 gnetlist: g_rc_gnetlist_version: remove use of deprecated SCM_STRING_CHARS Reviewed-by: Peter TB Brett <peter@peter-b.co.uk> commit 3a1cb7a8c532c32138b2f5b39d2ca49fcbd3bd31 Author: Ivan Stankovic <pokemon@fly.srk.fer.hr> Date: Fri Jun 17 21:49:34 2011 +0200 gnetlist: g_get_toplevel_attribute: remove use of deprecated SCM_STRING_CHARS Reviewed-by: Peter TB Brett <peter@peter-b.co.uk> commit 407210c4c308f6c71004971a33c758b5e235e6de Author: Ivan Stankovic <pokemon@fly.srk.fer.hr> Date: Fri Jun 17 21:43:43 2011 +0200 gnetlist: g_get_pins_nets: remove use of deprecated SCM_STRING_CHARS Reviewed-by: Peter TB Brett <peter@peter-b.co.uk> commit 1139c095be36fd5041875917aaf3c972335de1f2 Author: Ivan Stankovic <pokemon@fly.srk.fer.hr> Date: Fri Jun 17 21:38:21 2011 +0200 gnetlist: g_get_all_connections: remove use of deprecated SCM_STRING_CHARS Reviewed-by: Peter TB Brett <peter@peter-b.co.uk> commit 8cc6911684a66ba4c8bfebc5407d0f917578d6e1 Author: Ivan Stankovic <pokemon@fly.srk.fer.hr> Date: Fri Jun 17 21:31:19 2011 +0200 gnetlist: g_get_pins: remove use of deprecated SCM_STRING_CHARS Reviewed-by: Peter TB Brett <peter@peter-b.co.uk> commit b60e14588df1d5c45f1ed2751786f7062b709729 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Thu Jun 16 22:31:21 2011 +0100 gnetlist: Add new `makedepend' backend to NEWS and tests. Closes-bug: lp-698740 commit 8c66dc1b9545ed60d25fe7fa2a7f9aa95c2b4a92 Merge: 25952c3 5f4308e Author: Peter TB Brett <peter@peter-b.co.uk> Date: Wed Jun 15 18:12:44 2011 +0100 Merge changes from main unstable branch Conflicts: gschem/src/g_funcs.c commit d5d1a98f0e95589c33bff881198cca01a1b08c7e Author: Clif Cox <clif@eugeneweb.com> Date: Mon Jun 13 13:38:39 2011 +0100 Updated the problematic name attributes in some symbols In some gnetlist backends the name=? attributes cause problems because they look like valid attribute values. eg file=? may be mistaken for a valid filepath, and value=? for an actual value. Changing them to name=unknown is one way to solve this problem in the interim. It's now safe to remove the special checks for these "?" like the one in spice-sdb. This patch updates these problematic name=? attributes in some symbols to name=unknown, and removes FIXME code snipit that checked for the ? value in spice-sdb. It also updates gnetlist tests to reflect these changes. Turns out that the test input file TwoStageAmp.sch had a ? in it, which of couse caused problems. Then when it was removed vams's output changed so it had to be fixed, which wasn't a very clever fix but seems to work. Closes-bug: lp-698741 Reviewed-by: Peter TB Brett <peter@peter-b.co.uk> commit cb7a91bc125926f13c23fdfe67fc26e992015a95 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Mon Jun 13 13:19:02 2011 +0100 gnetlist: Update golden files. commit b6bc950edee6e2e3baa7906f75ebb29c08dac2c8 Author: Clif Cox <clif@eugeneweb.com> Date: Fri Jan 14 09:50:46 2011 -0800 gnetlist: flexable netlisting for NGspice Code Models Closes-bug: lp-702752 Reviewed-by: Peter TB Brett <peter@peter-b.co.uk> commit 1295421746393d17405b3c4bf37b96caac5f44d0 Author: Clif Cox <clif@eugeneweb.com> Date: Mon Jun 13 09:07:24 2011 +0100 gnetlist: Add some comments to spice-sdb backend. Affects-bug: lp-702752 commit 91865253d6e4422b06648fe5b0334a5013a7d08a Merge: 4bccef2 09c6613 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Sat Jun 11 21:42:48 2011 +0100 Merge changes from main unstable branch Conflicts: libgeda/src/g_register.c libgeda/src/g_smob.c commit 09c6613f93b65d3f9193e7dbc65bd696cf8a6b06 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Sat Jun 11 20:35:37 2011 +0100 libgeda: Use UTF-8 instead of locale Scheme string functions. Note that there are several places where locale string functions are still used, because the input depends on the current locale (e.g. strings obtained from command-line options or from the filesystem). There are still a lot of places where we're still treating locale-dependent strings as UTF-8 strings (and probably vice-versa). Enough bugs for everybody to share! commit 1121d83a5450ad9040cabb7ef9a8cfb6c2a395f3 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Fri Jun 10 13:46:15 2011 +0100 scheme-api: Only use (ice-9 syncase) if define-syntax missing. In Guile 2.0, syntax-case is built in by default and importing the (ice-9 syncase) module isn't required. commit 9538145da79933763ed79eae6869f92d467e10d0 Author: Dan White <dan@whiteaudio.com> Date: Sat May 28 09:50:41 2011 -0500 gnetlist: makedepend backend Gnetlist backend to determine a schematic's dependencies. Output is in the form of: source.sch: depend1.sch depend2.sch source.cir: source.sch depend1.cir depend2.cir other.inc ...written to "source.d" file for inclusion into a project's Makefile. First line collects all source= attributes in the input pages. Second line lists transformed source='s/sch/cir/' and file= attributes (.include files). Affects-bug: lp-698740 Reviewed-by: Peter TB Brett <peter@peter-b.co.uk> commit 220ecbd09393ae0d8cc43d26cfe7c8427888c744 Author: Dan White <dan@whiteaudio.com> Date: Tue Jun 7 13:08:29 2011 -0500 Add gnetlist:get-input-files scheme function. Returns the list of files loaded by gnetlist. This returns the last elements of gnetlist:get-command-line not consumed by getopt. Affects-bug: lp-698740 Reviewed-by: Peter TB Brett <peter@peter-b.co.uk> commit 9415bf958a9cf16461733be58d0f8f257b5b4726 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Thu Jun 9 15:59:34 2011 +0100 gnetlist: Fix up tests to work with new Scheme API. Now that gnetlist supports the -L <path> option to add to the Guile load path, it's possible to make in-tree and out-of-tree builds pass `make check'. commit 1543eda1dbb823fd3052a3b831eae5b8316ed690 Merge: 19963e9 014b30b Author: Peter TB Brett <peter@peter-b.co.uk> Date: Thu Jun 9 15:06:46 2011 +0100 Merge changes from main unstable branch Conflicts: gschem/scheme/gschem.scm libgeda/include/prototype_priv.h libgeda/src/g_smob.c libgeda/src/o_basic.c commit e89ef317e6603e41f2fde56ec02cf98775e51b27 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Sat Jun 4 09:36:01 2011 +0100 Use scm_is_false instead of comparing with SCM_BOOL_F. commit 6bc584e027a6a4c7df5c87c03ac6cbcb0284db8b Author: Peter TB Brett <peter@peter-b.co.uk> Date: Sat Jun 4 01:14:33 2011 +0100 gnetlist: Properly check pintype-can-drive variable in drc2 backend. Fixes a minor regression introduced in commit 7fe9484b2913. commit 7fe9484b291373e0f47c201b793d0a9f994317b6 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Sat Jun 4 00:51:44 2011 +0100 gnetlist: Make drc2 backend work with Guile 2.0. commit 053960f4f5c2c05ca0676fd74b6c5feea3b1b5d6 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Fri Jun 3 22:43:20 2011 +0100 gnetlist: Make vams backend worke with Guile 2.0. commit 7c203900136fb3f5cfdc70053aa52e87326226f4 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Fri Jun 3 22:31:47 2011 +0100 gnetlist: Make gsch2pcb backend work with Guile 2.0. commit 5785b75e225b1876453a67799a0184830584e77a Author: Peter TB Brett <peter@peter-b.co.uk> Date: Thu Jan 6 17:33:32 2011 +0000 gnetlist: Add convenience library to help backends parse `-O' options. Based on a suggestion by Patrick Bernaud that it would be useful for gnetlist backends to be able to accept more complex options on the gnetlist command line, this patch adds the (gnetlist backend-getopt) Scheme module to gnetlist. This provides convenience functions that allow a backend to easily handle several different types of `-O' backend option: flag options, options with arguments, and options with optional arguments. commit 0348b21c1e4772774c239da706736764df8805ca Author: Peter TB Brett <peter@peter-b.co.uk> Date: Thu Jan 6 20:32:54 2011 +0000 gnetlist: Refactor `gnetlist:get-calling-flags'. Reimplement `gnetlist:get-calling-flags' in Scheme, based on a new `gnetlist:backend-arguments' function. commit 7bd75fad7cbd3b0e3520cf40ac64cf0986b16c84 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Fri Jun 3 16:42:55 2011 +0100 gnetlist: Remove dead code. Remove some dead legacy code from gnetlist that was hidden in an #if 0 block. commit fb917f8b61f58b3cde5f1730b94c28c5992edea1 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Fri Jun 3 15:58:31 2011 +0100 Remove uses of deprecated scm_makfrom0str. commit 4d566fcde7d57daeac1ad5629b5bb1baacc3a030 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Fri Jun 3 18:21:15 2011 +0100 Update gsch2pcb backend golden files. gsch2pcb backend output was altered in commit dc5914e6538a, but the testsuite golden files were not updated. Correct version of 5a5fe91b382b. commit 43c59a0c55c94a499aea448785b62ab1242e8da7 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Fri Jun 3 18:18:35 2011 +0100 Revert "Update gsch2pcb backend golden files." This reverts commit 5a5fe91b382be44b07f02ca229d751a7fb225838. commit 5a5fe91b382be44b07f02ca229d751a7fb225838 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Fri Jun 3 18:07:31 2011 +0100 Update gsch2pcb backend golden files. gsch2pcb backend output was altered in commit dc5914e6538a, but the testsuite golden files were not updated. commit dc5914e6538ad26336e6f3637609b1edf61413f8 Author: DJ Delorie <dj@delorie.com> Date: Mon Apr 11 20:06:48 2011 -0400 Update default layer stack. Changes to layer stack and names to match PCB. commit dbb2d15d8d477ace013d0ddadea7e34f5d777b31 Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Sat Mar 26 12:50:42 2011 +0000 Remove pcbconfdir configure option and its use in gsch2pcb's m4 path PCB doesn't use this path, so remove it. commit 06925a44059c630ed99aa25ebebce8146cc56e47 Author: Krzysztof KoÅciuszkiewicz <k.kosciuszkiewicz@gmail.com> Date: Sun Mar 20 01:56:49 2011 +0100 gnetlist: fix multiple renames for same source net It might happen an existing rename for A->B exists when a new rename A->C is added. This means B and C should be made equivalent. This patch arbitrarily choses one of these nets by renaming C->B instead of originally requested A->C. Closes-bug: lp-698570 Closes-bug: lp-698395 commit de856e25a83158237aaf33f29f024b72944a60fe Author: Peter TB Brett <peter@peter-b.co.uk> Date: Fri Jan 28 14:12:30 2011 +0000 Fix compilation with Guile 1.9.x. commit eb2a355b688053d917dcb85981062451b27c5e8f Author: Peter TB Brett <peter@peter-b.co.uk> Date: Mon Jan 24 08:37:46 2011 +0000 gsch2pcb: Don't pass invalid function names to m4. This fixes a long-standing bug with gsch2pcb. gsch2pcb expects `footprint' attributes to be of the form: footprint=NAME ARG1 ARG2 This gets transformed to: PKG_NAME (`NAME-ARG1-ARG2',`refdes',`value',`ARG1',`ARG2') for macro-expansion by M4. For this to work, it requires that NAME matches the regular expression ^[A-Za-z0-9_]$ so that PKG_NAME is a valid M4 function name. It is quite common for users (especially those using John Luciani's footprint library) to define and wish to use footprint names which contain hyphens '-'. Since this character is not valid in M4 function names, this practice causes non-obvious breakage to occur. This patch stops gsch2pcb from ever attempting to macro-expand a footprint NAME which is obviously not valid as part of an M4 function name. Closes-bug: lp-698806 commit ef5108e96d5745746c2820290738fa2740320e48 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Mon Jan 24 08:35:58 2011 +0000 gnetlist: Use `string-join' in gsch2pcb backend. The gsch2pcb backend for gnetlist has its own version of the `string-join' function from the Guile standard library. commit 0255a45d7a06830c5b7a6e927a6cbdde5083ba33 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Mon Jan 24 08:28:31 2011 +0000 gnetlist: Use `string-split' in gsch2pcb backend. The gsch2pcb backend for gnetlist has its own version of string-split. Use the Guile standard library version instead. commit 19963e962d5baf1cad6de44a2e411f7e5610159c Author: Peter TB Brett <peter@peter-b.co.uk> Date: Tue Jan 18 21:48:52 2011 +0000 gnetlist: Fix testsuite for Scheme API branch. Some Scheme procedures used by gnetlist were moved to the (geda deprecated) module, but the relevant Scheme files couldn't be found by the gnetlist testsuite. This patch makes sure the gnetlist environment gets set up correctly. commit 9379c19a7563a02c271c8640fdb814ef0add5981 Merge: f9156f1 23383c5 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Tue Jan 18 22:36:59 2011 +0000 Merge changes from main unstable branch Conflicts: gnetlist/src/gnetlist.c gschem/src/g_hook.c gschem/src/gschem.c libgeda/include/libgeda/prototype.h libgeda/src/g_basic.c libgeda/src/g_smob.c commit 23383c5d04f17d5fd7491f2c631bfc1e3f15e96f Author: Peter TB Brett <peter@peter-b.co.uk> Date: Tue Jan 18 22:29:08 2011 +0000 Revert "Updated the problematic name attribute in some symbols" This reverts commit 5b1ee0d69f2fad7400f34543c482d51a55ce08c3. This commit broke the gnetlist testsuite, and another approach will need to be found. commit 5b1ee0d69f2fad7400f34543c482d51a55ce08c3 Author: Clif Cox <clif@eugeneweb.com> Date: Mon Jan 17 13:15:50 2011 -0800 Updated the problematic name attribute in some symbols Reviewed-by: Peter TB Brett <peter@peter-b.co.uk> Closes-bug: lp-698741 commit b9c8d80db3e471adf6984318868b95a4b0d83192 Author: Dan White <dan@whiteaudio.com> Date: Mon Jan 17 20:25:56 2011 +0000 gnetlist: spice-sdb MOS subcircuits Device=SUBCKT_{N,P}MOS are written almost like the corresponding normal device except the model is implmented as a subcircuit. Closes-bug: lp-698737 commit 799d67452921ed1447e8b030ee268fe8c34c5785 Author: Ales Hvezda <ahvezda@seul.org> Date: Sun Jan 16 00:15:29 2011 -0500 Updated version strings in all man pages commit 502ab80495c45e092eca6052edd6cf8e7ff55429 Merge: 27f7a52 e1c3ba4 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Thu Jan 13 19:59:35 2011 +0000 Merge branch 'stable-1.6' Conflicts: NEWS libgeda/include/prototype_priv.h libgeda/src/gdk-pixbuf-hacks.c libgeda/src/o_basic.c libgeda/src/o_complex_basic.c utils/src/gsch2pcb.c commit 7ca2b049dbcfb9f0eb8d3dd3fcf21cbd66c0ec95 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Wed Jan 12 17:03:44 2011 +0000 Print message and exit if rc file load fails. Modifies g_rc_parse() to print useful messages to standard error and exit with non-zero status if an error other than ENOENT occurs while attempting to parse any configuration file. N.b. only copes with rc files loaded at startup; rc files loaded later (e.g. a gafrc auto-loaded while loading a schematic using gschem "File->Open") can't cause the application to die. Since this means that under some circumstances gschem and gattrib can appear to do nothing silently (e.g. when launched from via a .desktop file) subsequent patches need to make gschem and gattrib generate appropriate warning and/or error message dialogs. Affects-bug: lp-698578 commit de3e47e27d27cd745afafce54541fc12ef71244e Author: Alan Somers <asomers@gmail.com> Date: Sun Jan 9 13:35:44 2011 -0700 gnetlist: Fix spelling errors in run_tests.sh Reviewed-by: Peter TB Brett <peter@peter-b.co.uk> Closes-bug: lp-700795 commit 536a3a5148d0b13cc2a45c21af299e2f16611b92 Author: Alan Somers (none) <somers@tryptophan> Date: Sun Jan 9 13:22:27 2011 -0700 gnetlist: Fixed tests for new connected-noconnects DRC2 option. Reviewed-by: Peter TB Brett <peter@peter-b.co.uk> Closes-bug: lp-698743 commit 5dfbb76b54a70f2f3c0fc90752326ec3855bb9a7 Author: Alan Somers (none) <somers@tryptophan> Date: Thu Jan 6 18:18:16 2011 -0700 gnetlist: Added testcase for connected noconnects in drc2 Reviewed-by: Peter TB Brett <peter@peter-b.co.uk> Affects-bug: lp-698743 commit b8d3805b22aab292f0b07ab45c4ab019545c8fbc Author: Alan Somers <asomers@gmail.com> Date: Wed Jan 5 23:14:04 2011 -0700 gnetlist: NoConnection nets with more than 1 pin are an error in drc2 backend. Adding the NoConnection DRC attribute to a net causes the drc2 backend to ignore it when checking for unconnected nets. However, drc2 currently doesn't enforce that the net is actually unconnected. It's possible to mark two pins as NoConnection and then accidentally wire them together. This patch to gnet-drc2.scm checks for that case. Reviewed-by: Peter TB Brett <peter@peter-b.co.uk> Affects-bug: lp-698743 commit 8a3a0bb070d1b288fceac2fcdd7b317a8f77a464 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Fri Jan 7 22:00:09 2011 +0000 Update FSF address in copyright headers. The FSF have now moved to 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. Our GPL and LPGL copyright headers need to updated to reflect this. Only files remaining with old address are wiki files (although the wiki has now been updated) and PostScript files. commit 86c305d9a2c62f062cbd9b63810a0173e4855310 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Fri Jan 7 14:53:51 2011 +0000 Install HTML versions of manpages even without groff. If groff isn't available, try to install HTML manpages anyway. This allows users to install manpages even if they don't have groff as long as they aren't compiling from git and don't edit the manpages. Closes-bug: lp-698586 commit cc2ea46161c1994b3cb294c81154be3656f7c81e Author: Peter TB Brett <peter@peter-b.co.uk> Date: Thu Jan 6 14:02:10 2011 +0000 gnetlist: Remove options specific to `spice-sdb' backend. The gnetlist `-e', `-I', `-n' and `-s' command-line options are only used by the `spice-sdb' backend. They have equivalents based on the `-O' option. Remove them. Acked-by: Stuart Brorson <sdb@cloud9.net> commit 9e18ec2b836e1c5729b5d7381ed3e545ab5aab1a Author: Peter TB Brett <peter@peter-b.co.uk> Date: Thu Jan 6 18:29:13 2011 +0000 gnetlist: Exit if a Scheme error occurs. If a Scheme error occurs, gnetlist ignores it silently apart from printing a message to the log file. This is not a good thing. This patch makes Scheme errors stop gnetlist noisily. The error messages could be improved, but they're better than nothing. commit 77621ac14298e1ec41a994a47ce10e1104fa5cc4 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Thu Jan 6 17:14:49 2011 +0000 gnetlist: Fail more usefully if backend can't be found in load path. commit 942226e52f706afd9c0c130672c89e169510e794 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Thu Jan 6 16:41:34 2011 +0000 gnetlist: Fail more usefully if no schematics specified. Make sure exit status if no schematics are specified is non-zero, and make it more obvious why things have failed. commit ae45df48397e579284a1591bb0ff350b5f3f287a Author: Peter TB Brett <peter@peter-b.co.uk> Date: Thu Jan 6 16:04:26 2011 +0000 gnetlist: Add `--list-backends' option. Remove `-g help'. Instead of overloading the `-g' option to obtain a list of available backends, provide a distinct option. commit ca2741e817c3f8b16e396de9eae1676bc1c612c1 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Thu Jan 6 13:37:05 2011 +0000 gnetlist: Add `-L' option for adding to Guile load path. commit 53185307c7a707b0ab6ff7a9bf73c3d83bf8d988 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Thu Jan 6 01:17:16 2011 +0000 gnetlist: Build Scheme expressions instead of listing Scheme scripts. Instead of making lists of Scheme scripts to load from the `-l' and `-m' command-line options, build Scheme expressions which do the same thing. commit 571bcba5610c9002efd69a0cb7f2729e8ac71767 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Wed Jan 5 17:35:17 2011 +0000 gnetlist: Behave more usefully with bad arguments. At the moment gnetlist exits with status 0 (success) when it receives bad command line arguments. Correct this, and make it more obvious why things have failed. commit 8029e76df046b392876f1997960fd7fd7d293bc2 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Wed Jan 5 17:17:23 2011 +0000 gnetlist: Clean up formatting of `parsecmd.c'. commit f6d5b71a26b2f6877d9daffbe150f41d233e501a Author: Peter TB Brett <peter@peter-b.co.uk> Date: Wed Jan 5 17:26:09 2011 +0000 gnetlist: Add `-V', `--version' argument. commit b2f24756d4d53df1cc73e1588b592d0c4c4f8166 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Wed Jan 5 16:57:09 2011 +0000 gnetlist: Improve `--help' usage message. commit 19dcc79af1e7a43e1b28e8378a5c1cd4392137f2 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Wed Jan 5 15:05:17 2011 +0000 gnetlist: Update man page. commit cb47d3a0c3a5ac2b5b6ea9f94b66a2b5735de7e0 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Wed Jan 5 16:08:35 2011 +0000 gnetlist: Rename partslist backends' common functions file. Rename partslist backend common functions file so it doesn't show up in the output of `gnetlist -ghelp'. commit 7a3e9f294d12732cd6fb043412c1bf92eaf5b268 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Wed Jan 5 11:52:35 2011 +0000 Make `scheme-directory' rc function prepend to Guile load path. Guile already provides infrastructure for loading Scheme files from a library, so this patch makes gEDA use it properly. With this (fully backward-compatible) patch it's now possible to load Scheme files, including gnetlist backends, from more than one directory. Note: This commit makes the gnetlist test suite pass again. commit 258eb0591088a064631c1736b2c3f86aa9e07856 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Wed Jan 5 10:42:42 2011 +0000 gnetlist: Load Scheme from Guile load path, not `scheme-directory'. gnetlist now searches for Scheme files to load using the Guile load path, rather than TOPLEVEL.scheme_directory. Additionally, the `-g help' option now outputs the list of know backends in a single column rather than in three columns. Note: in this commit the gnetlist testsuite does not pass. commit 3f8480f6a2b9674e904d1f50c1788bdf79b539bc Author: Peter TB Brett <peter@peter-b.co.uk> Date: Tue Jan 4 22:28:40 2011 +0000 gnetlist: Don't install `mk_verilog_syms' program. `mk_verilog_syms' totally undocumented, and is also only used for generating the symbols installed as the `verilog' symbol library. It doesn't need to be installed in the system $PATH. commit 8bef5cf39dce867509d77d9ab6794f17f27d2216 Author: Patrick Bernaud <patrickb@chez.com> Date: Tue Jan 4 19:08:02 2011 +0100 gnetlist: Set Guile's program arguments from command line. Reviewed-by: Peter TB Brett <peter@peter-b.co.uk> commit f86eecd36a603fd3b51ce926de605bbdb3d6caaf Author: Patrick Bernaud <patrickb@chez.com> Date: Tue Jan 4 19:07:57 2011 +0100 gnetlist: Translate 'gnetlist:get-slots/get-unique-slots' from C into Scheme. Reviewed-by: Peter TB Brett <peter@peter-b.co.uk> commit a0f88128241e9b8e5138ccf7bcc862b4f9ff638f Author: Peter TB Brett <peter@peter-b.co.uk> Date: Tue Jan 4 19:05:04 2011 +0000 gnetlist: Convert protelII test golden files to DOS line endings. Convert golden files that were missed in commit 007feece464d. commit 007feece464d1b07e45bfd66b5d9b07be5b77c00 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Tue Jan 4 17:17:18 2011 +0000 gnetlist: Make protelII backend output Windows line-endings. [2902321] This removes the need to run `unix2dos' (or similar) on a gnetlist-generated netlist before loading into Protel. commit 91e46719dcf1722db86c527eebd3f32b696ce06b Author: Ø£Ø٠د اÙÙ ØÙ Ùد٠(Ahmed El-Mahmoudy) <aelmahmoudy@sabily.org> Date: Tue Jan 4 15:37:48 2011 +0000 gnetlist: Fix bashism in sch2eaglepos.sh [2999951] Note that even with #!/bin/bash the original code gave the error that 3 is an invalid file descriptor. commit b31c5728f430bd5e223b557cca9eeace74a563f1 Author: Richard Barlow <richardbarlow@users.sourceforge.net> Date: Tue Jan 4 15:37:48 2011 +0000 gnetlist: Handle hierarchy refdes correctly in partslist*. [3044478] When producing a part list with the partslist[1-3] backend the refdes values output to the file do not contain the prepended refdeses of the parent component. E.g. Master schematic with symbol 'S1' (representing sub-schematic) and a resistor 'R1' Sub-schematic containing resistor 'R1' The geda backend produces a netlist containing two resistors 'R1' and 'S1/R1', they're unique and everything is fine and dandy. The partslist[1-3] backends contain two components with the refdes 'R1' which then causes problems when processing this file further. This is caused by the partslist[1-3] backends adding the value of the refdes attribute to the file rather than the value returned by the 'packages' function. The supplied patch alters the backends to use the value from the packages function directly, rather than looking up the refdes attribute of the component. commit 2dc5ea4877955e55d57e59de3e2eaa0098171037 Author: Dan McMahill <dan@mcmahill.net> Date: Tue Jan 4 15:37:47 2011 +0000 Use @builddir@ instead of $(builddir) because versions of automake before 1.10 didn't define it. Should fix build problems noted by Stuart Brorson and John Griessen. commit 1e93f7bea2cbe0fa8887337c261093b55c31dd6d Author: Peter TB Brett <peter@peter-b.co.uk> Date: Mon Jan 3 23:07:25 2011 +0000 Revert "Remove some CVS keywords." This reverts commit f5ada1de1372bd3772b4f4bd33afa59803c1dade, which was pushed to the repository in error. commit f5ada1de1372bd3772b4f4bd33afa59803c1dade Author: Peter TB Brett <peter@peter-b.co.uk> Date: Tue Dec 21 12:37:10 2010 +0000 Remove some CVS keywords. commit 9a141d60f045c620ce647fa0efe522593f46880b Author: Clif Cox <clif@eugeneweb.com> Date: Mon Jan 3 21:58:22 2011 +0000 gnetlist: Cleaned up several routines in spice-sdb. [3117075] Combine write-ic and write-subcircuit with a fix to the unbound type variable. Fully document a check for the special "?" value explaining why it fails silently. Clean up write-net-names-on-component to make it a bit more flexible. Combine write-probe-item and write-net-names-on-component. Add a range utility function. Reviewed-by: Peter TB Brett <peter@peter-b.co.uk> commit 746737d8bff55ce807b12d62b3a665f7843b5965 Author: Clif Cox <clif@eugeneweb.com> Date: Sun Dec 26 23:08:11 2010 -0800 gnetlist: White space consistancy cleanup in spice-sdb. [3117075] Reviewed-by: Peter TB Brett <peter@peter-b.co.uk> commit fda647ce9ff7b57c465382c55a47304183766a0b Author: Patrick Bernaud <patrickb@chez.com> Date: Mon Jan 3 09:55:19 2011 +0100 gnetlist: Silence warning in drc2 backend for multiple slot attributes. Slot attributes have different values across symbol instances of a same package. But 'gnetlist:get-package-attribute' does not like that. So the value has to get directly extracted from the list returned by 'gnetlist:get-all-package-attributes'. Reviewed-by: Peter TB Brett <peter@peter-b.co.uk> commit a834442e3296bb6a0331ae10610f302006b2c3ea Author: Patrick Bernaud <patrickb@chez.com> Date: Mon Jan 3 09:55:13 2011 +0100 gnetlist: Add access to all attributes from components with multiple symbol instances. This commit introduces 'gnetlist:get-all-package-attributes' to retrieve every first attribute value for package consisting of multiple symbol instances. 'gnetlist:get-package-attribute' gets redefined to use the above procedure. To preserve backward compatibility, it returns the first value found in file order and warns when detecting different, possibly conflicting values. This behavior is configurable. Derived from patch #3071482, C code by Sebastian Gieltjes. Reviewed-by: Peter TB Brett <peter@peter-b.co.uk> commit 5ce6132459b30cd8c228c71797ea04b90e9018d9 Author: Patrick Bernaud <patrickb@chez.com> Date: Sun Jan 2 18:19:29 2011 +0100 gnetlist: Fix memory leak in g_get_package_attribute(). Reviewed-by: Peter TB Brett <peter@peter-b.co.uk> commit d5860bb3620502efcea4185380a6945d0c5eab41 Author: John Doty <jpd@noqsi.com> Date: Sun Dec 12 19:29:46 2010 -0700 gnetlist: Refactor 'osmond' backend for simplicity. As I said on the chat, I've refactored gnet-osmond. Only four functions. The longest is five lines, the deepest is only three parentheses deep. No recursion needed. Much simpler than the original "cargo cult" version. Signed-off-by: Peter TB Brett <peter@peter-b.co.uk> commit f66597934bf8c88519396956637792533ba3a151 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Sun Dec 12 08:14:06 2010 +0000 Don't use page_current in hierarchy traversal. With this patch, the only remaining functions in libgeda which care about the "current page" are: - o_get_page_compat() [deprecated] - s_page_goto() - s_page_delete() - s_page_delete_list() - s_toplevel_new() commit 0b94d2379a5bd5d14690f941690e0df761df13c9 Merge: 63cd6d7 a33839a Author: Peter TB Brett <peter@peter-b.co.uk> Date: Sun Dec 12 09:48:07 2010 +0000 Merge some changes from Peter Brett. Merge a series of more generally useful changes from Peter Brett's `guile-scheme-api' branch, most of which remove uses of TOPLEVEL.page_current from libgeda. commit 63cd6d754fce280800eac55c6cafa21888942f96 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Sat Dec 11 00:59:33 2010 +0000 gnetlist: Fix some stack overflow problems in vipec backend. commit 972c793b9df047af5924609ae1038b411c3fd2f5 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Sat Dec 11 01:09:05 2010 +0000 gnetlist: Fix some stack overflow problems in gnetlist core. commit 6f0827327fc951b3fd6e8d2fa9278103f4f0f626 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Sat Dec 11 00:39:17 2010 +0000 gnetlist: Fix some stack overflow problems with vams backend. commit c73f2b33e05e5d0c8120871797fa0baa9edc02da Author: Peter TB Brett <peter@peter-b.co.uk> Date: Sat Dec 11 00:24:44 2010 +0000 gnetlist: Fix some stack overflow problems with spice backend. commit cd4a6d9bb44b7ebc5f55bd31af07d2110b99f850 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Fri Dec 10 23:10:08 2010 +0000 gnetlist: Fix some stack overflow problems with drc2 backend. commit 0cc44928d36699cb04401db91719ae4a05b17c65 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Fri Dec 10 22:39:37 2010 +0000 gnetlist: Add stack torture test. This exposes stack exhaustion failures in drc2, spice-sdb, spice, vams, and vipec backends. commit fc8bcac43b6f3dd611f6030ffe36465d67be379d Author: Peter TB Brett <peter@peter-b.co.uk> Date: Thu Nov 11 19:33:28 2010 +0000 scheme-api: Port legacy Scheme procedures in C to new smob system. Make all users of legacy Scheme smobs in libgeda use new Scheme smob system. This is a preliminary patch so that unit tests can be written to verify that functions ported to new API work the same way as the originals. commit a61805445c844b30f0e9de1c8003249fdedeee66 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Tue Nov 2 10:38:29 2010 +0000 gnetlist: Use TOPLEVEL fluid. Modifies gnetlist to use edascm_c_current_toplevel() instead of a global variable to allow Scheme functions to access the global libgeda state. commit 3abdca2a4ee088184e976822c444069d67e20a20 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Tue Nov 2 10:27:25 2010 +0000 libgeda: Add PAGE argument to file load/save functions. commit c26ed9d5b126f7e2b67285e465438aa9b5ee4ffd Author: Peter TB Brett <peter@peter-b.co.uk> Date: Tue Nov 2 10:27:23 2010 +0000 libgeda: Make g_read_file() take a TOPLEVEL argument. commit 9410bf545fce0db3bdeb4bee547d855b09c9c671 Author: Ø£Ø٠د اÙÙ ØÙ Ùد٠(Ahmed El-Mahmoudy) <aelmahmoudy@sabily.org> Date: Sun Oct 31 19:32:13 2010 +0000 gnetlist: Fix bashism in sch2eaglepos.sh [2999951] Note that even with #!/bin/bash the original code gave the error that 3 is an invalid file descriptor. commit e25d29875ecd1438926d0ec79279c177edcf99f0 Author: Richard Barlow <richardbarlow@users.sourceforge.net> Date: Sun Oct 31 19:21:34 2010 +0000 gnetlist: Handle hierarchy refdes correctly in partslist*. [3044478] When producing a part list with the partslist[1-3] backend the refdes values output to the file do not contain the prepended refdeses of the parent component. E.g. Master schematic with symbol 'S1' (representing sub-schematic) and a resistor 'R1' Sub-schematic containing resistor 'R1' The geda backend produces a netlist containing two resistors 'R1' and 'S1/R1', they're unique and everything is fine and dandy. The partslist[1-3] backends contain two components with the refdes 'R1' which then causes problems when processing this file further. This is caused by the partslist[1-3] backends adding the value of the refdes attribute to the file rather than the value returned by the 'packages' function. The supplied patch alters the backends to use the value from the packages function directly, rather than looking up the refdes attribute of the component. commit af272ebddf16808aa948378d269a1f5c19220754 Author: Sebastian Gieltjes <bas@gieltjes.dds.nl> Date: Sun Oct 31 19:04:39 2010 +0000 gnetlist: Modified commandline string generation [3071449] Every netlister is able to request the invoked commandline and now gets a valid string in return. Removed a debug output command. commit 8d05ef23b0bb7675d95362e539f3cae730c0a268 Author: Carlos Nieves Onega <cnieves@iespana.es> Date: Sat Oct 2 01:15:55 2010 +0200 Do drc-matrix lower triangular instead of simetric. Applied patch from Karl Hammar. Since drc-matrix is simetric (connection a->b is the same as connection b-> a), do drc-matrix lower triangular and let get-drc-matrixelement swap row/column if row < column. drc2:is_simetric-drc-matrix check can now be removed. commit 7de00720bc4ca441deca49bdee6597c3f8ca1331 Author: Dan McMahill <dan@mcmahill.net> Date: Mon Apr 12 20:29:14 2010 -0400 Use @builddir@ instead of $(builddir) because versions of automake before 1.10 didn't define it. Should fix build problems noted by Stuart Brorson and John Griessen. commit 7bf44da290d1a3a6761b60739b4ce3561ad0c152 Author: Stuart Brorson <sdb@cloud9.net> Date: Sat Apr 3 14:47:58 2010 -0500 Apply patch from agaran, which implements probes in spice-sdb. commit 0e5defe4871370a93c6ccb8bbf4a10e5df098884 Author: Ales Hvezda <ahvezda@seul.org> Date: Sun Feb 14 21:26:37 2010 -0500 Updated man page dates (cherry picked from commit 11921dc18209ed4ea12288114634bb94a5b9b8a9) (from stable-1.6) commit c31d9a1a90db32dd1e1d41f9d3d5ef5888424ba1 Author: Ales Hvezda <ahvezda@seul.org> Date: Sun Feb 14 17:09:45 2010 -0500 Updated copyright text/header in most source files. Updated all copyright text dates that should be updated for the new year. Fixed a bunch of GNU text typos (these should have been either GPL or gEDA). Removed some $Id$ tags which are no longer used/needed. Fixed a few file header that were just plain incorrect. (cherry picked from commit bd34cfde2450790b357e574281f9562adce64303) (from stable-1.6 branch) commit 11921dc18209ed4ea12288114634bb94a5b9b8a9 Author: Ales Hvezda <ahvezda@seul.org> Date: Sun Feb 14 21:26:37 2010 -0500 Updated man page dates commit bd34cfde2450790b357e574281f9562adce64303 Author: Ales Hvezda <ahvezda@seul.org> Date: Sun Feb 14 17:09:45 2010 -0500 Updated copyright text/header in most source files. Updated all copyright text dates that should be updated for the new year. Fixed a bunch of GNU text typos (these should have been either GPL or gEDA). Removed some $Id$ tags which are no longer used/needed. Fixed a few file header that were just plain incorrect. commit c603cb9f75068837eb8f5a309f590fb3d8e5156e Author: Ø£Ø٠د اÙÙ ØÙ Ùد٠(Ahmed El-Mahmoudy) <aelmahmoudy@users.sourceforge.net> Date: Fri Nov 20 16:23:15 2009 +0000 Fix for some manpage issues. [2901183] Fixes undefined use of `l' macro, and incorrect uses of `-' character. (cherry picked from commit 93dd5a941f34d1dd58cf9a57a07dec1e01ce3afe) commit 03acdbfaadaa35d11cf510ea4651b47584178514 Author: Peter Brett <peter@peter-b.co.uk> Date: Sat Jan 30 13:37:17 2010 +0000 Clean up some left-over font directory cruft. commit 93dd5a941f34d1dd58cf9a57a07dec1e01ce3afe Author: Ø£Ø٠د اÙÙ ØÙ Ùد٠(Ahmed El-Mahmoudy) <aelmahmoudy@users.sourceforge.net> Date: Fri Nov 20 16:23:15 2009 +0000 Fix for some manpage issues. [2901183] Fixes undefined use of `l' macro, and incorrect uses of `-' character. commit 858982a2a05ff3e128de3621f1d301ecd989f35c Author: Gareth Edwards <gareth@edwardsfamily.org.uk> Date: Fri Nov 20 06:39:59 2009 +0000 Changed message on failure to generate doxygen docs If --enable-doxygen was not a configure flag, change the error message on an attempt to build doxygen documentation to suggest the configure flag was the cause of the failure rather than the lack of a doxygen install itself. commit 1248c66c7973f8d3835f6107d3f1ed9c5c880b43 Author: Gareth Edwards <gareth@edwardsfamily.org.uk> Date: Fri Nov 20 06:39:59 2009 +0000 Added doxygen targets to remaining applications. commit 3fd50335ddfe0ed7f358d46a0fba23bff25073e6 Author: Ales Hvezda <ahvezda@seul.org> Date: Sun Oct 4 21:23:05 2009 -0400 Updated date and version in all man pages commit 45002f0be0efb9638bcb96e67bbd1e5d3cd602c6 Author: Ales Hvezda <ahvezda@seul.org> Date: Sun Aug 30 19:26:36 2009 -0400 Updated all manpage versions in prep for a new release (v1.5.4) commit b0fa7dd7839915703d9101006bed1c7305477e30 Author: Ales Hvezda <ahvezda@seul.org> Date: Sat Aug 29 16:51:44 2009 -0400 Updated the versions of the software in all man pages commit e869033324d7595cc11d42007109a605823e1640 Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Mon Aug 17 12:01:24 2009 +0100 gnetlist: Fix problem with attached net attribute not being honored. Bug tracked down and fix proposed by Robert Fitzsimons. Seems to be an artifact introduced by the change to use the new attrib API (b4996e267b5d9696f7e8122c40b31482ef852904). Signed-off-by: Peter Clifton <pcjc2@cam.ac.uk> Tested-by: Robert Fitzsimons <robfitz@273k.net> commit ff6ea4955d0490d6436bc74d840325e76098304f Author: Peter TB Brett <peter@peter-b.co.uk> Date: Thu Aug 13 07:56:57 2009 +0100 build-sys: Don't use AC_HEADER_DIRENT. The Autoconf manual says that AC_HEADER_DIRENT is now unnecessary: This macro is obsolescent, as all current systems with directory libraries have `dirent.h'. New programs need not use this macro. This patch removes AC_HEADER_DIRENT and all checks for HAVE_DIRENT_H. It turned out that in most of the places where `dirent.h' was being #include'd it wasn't needed anyway. (Fix for a Cygwin build bug reported by Dan McMahill). commit cf772193f3042184e5ca624cc7b1e8daef6f4a53 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Thu Aug 13 06:43:16 2009 +0100 build-sys: Improve HTML conversion rules. We want to make sure the HTML version of the man pages is always distributed, but make building/installing it optional (in case users don't have a proper groff installed). This can be achieved by making sure that Automake only tries to install the HTML man pages if a working groff is available. In addition, `make distcheck' is set up to behave as if groff is not installed. Unfortunately, this still isn't ideal, because users who build from a source archive (with pre-built HTML) won't get HTML installed unless they have a working groff. In the long run, what needs to happen is to use a mechanism like `missing' to handle rebuilding of HTML man pages -- or just drop HTML man pages altogether. commit 98fc06c271432b9f59ca49865b8ca9dbe844b9de Author: Ales Hvezda <ahvezda@seul.org> Date: Sat Aug 8 00:44:40 2009 -0400 More Makefile.am cleanup Details on this commit: * Removed even more trace of the old prototype mechanism from the Makefiles. * Removed the cleanup of configure scripts which are no longer there (or for that matter were never in the same directory as some of these Makefiles). * Removal of some files from the *CLEANFILES rules which never existed. * Line length tweaks and fixes commit 4866b0224a471a2b1cf5ee5e9043d1eba5b89d61 Author: Ales Hvezda <ahvezda@seul.org> Date: Sat Aug 8 00:24:35 2009 -0400 Added some of the doc support files to EXTRA_DIST Some of these newer doxygen files still need some Makefile infrastructure, but at least they will be distributed as part of the gEDA-geda tarball. commit a4a8c19bb3389548d641a0874a77c77f623ad7a5 Author: Ales Hvezda <ahvezda@seul.org> Date: Fri Aug 7 23:02:01 2009 -0400 Makefile.am cleanup (removal of ChangeLog and Makefile.in files) Details on this commit: * Now that we are no longer storing machine generated ChangeLogs inside the git repository, make maintainer-clean should remove the machine generated ChangeLogs. This way nobody accidently edits the ChangeLog. Only 7 ChangeLogs are left after a make maintainer-clean (intl, po, and one toplevel ChangeLog). * Some directories were missing the removal of Makefile.in when make maintainer-clean is run. Only 3 Makefile.in files remain now after make maintainer-clean (only in the intl directories). * Removed $Id$ tags from some of the Makefiles since we are no longer using CVS. * Removed some unnecessary ChangeLogs from ever being created (from example/gTAG gschem/scripts, and symbol/font). Note 1: There are still some machine generated files still hanging around, but I'm going to leave those alone for now as the .gitignore mechanism properly masks those. Note 2: Made sure that all files that are to be removed in the *CLEANFILES lists comes before the #*# otherwise they will be ignored. commit 33847dd773fbe332c154fcc1a82e5fdd7c2201c4 Author: Ales Hvezda <ahvezda@seul.org> Date: Fri Aug 7 22:07:45 2009 -0400 Removed all trace of the prototype.h creation mechanism plus other removal The old prototype.h creation mechanism hasn't been used in years and now has been fully removed. Also removed common/outputs/Makefile.am since it no longer used either. commit fb5b8305674f2d96586424851e9cc18878c06505 Author: Ales Hvezda <ahvezda@seul.org> Date: Fri Aug 7 21:45:46 2009 -0400 Oops. Accidentally added gnet-PCBboard.scm back when it was removed explicitly. The PCBboard backend was explicitly removed in commit: ca91e1be91ae1d0c0b4bbfddf814309be09e84b2 Removed the actual gnet-PCBboard.scm.in file now, so that nobody else wonders what is up with this file. commit 1a3b04db4b811a853b9d2d7c5c57038f2146f919 Author: Ales Hvezda <ahvezda@seul.org> Date: Fri Aug 7 21:21:22 2009 -0400 Added a bunch of files that should be included in any distribution The only file which I might want to not distribute is update-version.sh, which technically is a developer/maintainer only file, but for now I'll include it. Also libgeda/docs/images isn't integrated into the build properly yet, so it will not be in the distribution for now. commit 35796a78cdab838a29e763480ad81f0ac53326c8 Author: Ales Hvezda <ahvezda@seul.org> Date: Fri Aug 7 20:51:02 2009 -0400 Oops forgot to add the cleanup of gnetlistrc commit 193f4af0a269e627b6a6a45a71ba57e7a5525e73 Author: Ales Hvezda <ahvezda@seul.org> Date: Fri Aug 7 20:47:13 2009 -0400 Cleaned up the gnetlistrc after make check completes Also made sure that any randomly hanging around gnetlistrc is cleaned up when the various make clean commands are executed. commit 62c9f5557f759b75aab6cc6f3b8bd1c1e8f4c70a Author: Ales Hvezda <ahvezda@seul.org> Date: Fri Aug 7 20:31:37 2009 -0400 Fixed gnetlist/tests to pass a simple make check The gnetlistrc file was renamed and copied appropriately so that it isn't overriden when the vhdl test runs. Also force the copy to be consistent with the gnetlistrc.vhdl copy. commit d4ebb75eafabaa45b354d3994fa5ca8f419ee18f Author: Ales Hvezda <ahvezda@seul.org> Date: Fri Aug 7 20:16:14 2009 -0400 MAINTAINERCLEANFILES tweaks to remove some of the machine generated files There are a whole bunch of other machine generated files which should probably also be removed, but those can be addressed in a later commit. commit 803b0190f3a3d72bffe181f74c6269fa01950500 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Fri Aug 7 09:42:40 2009 +0100 gnetlist: Tell tests how to find uninstalled files. Tell test how to find the symbols and config files they need without installing them. Mostly horrible hacks: - gnetlistrc files were added to every test directory to explicitly load the component libraries required by the test. - The GEDADATARC environment variable was set to allow the tests to load the appropriate system-<app>rc file. Unfortunately, it wasn't possible to get the tests to load system-gafrc. - Some careful choices of whether to use ${srcdir} or ${builddir}. With this commit, make distcheck once again passes. commit fc2b205314545d92ea2a7e8f40a7a4c7d5af893d Author: Peter TB Brett <peter@peter-b.co.uk> Date: Thu Aug 6 17:15:29 2009 +0100 Don't store git-generated ChangeLog files in repository. Don't store ChangeLog files in the git repository and have to remember to update them each time a release is made. Instead, get `make dist' to create the ChangeLogs for you if a git repository is detected. Note: make distcheck does not pass in this commit. commit 77d96e9154d9cfc81b25353ef99b8f8f42999bfb Author: Peter TB Brett <peter@peter-b.co.uk> Date: Thu Aug 6 14:35:12 2009 +0100 Add top-level NEWS file. This contains important user-visible changes. It should be kept up-to-date, in order to make writing release notes easier. commit 09fcc6d689defb8f43bfc27aac87ee4ac34ce66a Author: Peter TB Brett <peter@peter-b.co.uk> Date: Thu Aug 6 12:33:07 2009 +0100 Update top-level README file. Well, actually rewrite it entirely. Note: make distcheck does not pass in this commit. commit 433c672579aabb282999377139c9242b319ba044 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Thu Aug 6 12:38:31 2009 +0100 Only need a single `AUTHORS' file. Move the gschem one to the toplevel (adding several missing names on the way), and remove most of the others. The `AUTHORS' files in the `symbols' and `utils' directories are retained, because they contain some useful information. Note: make distcheck does not pass in this commit. commit ed7134fd403b9f1dc0a75d50e4e7bcfb2fd95cb8 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Thu Aug 6 11:19:57 2009 +0100 Only need one copy of GPLv2. Also, update to latest version of GPLv2 (from http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt). This corrects the FSF contact address, along with some minor formatting modernisations. Note: make distcheck does not pass in this commit. commit a3386972e29cad042a9875743df8d4331b7d9d08 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Thu Aug 6 21:15:25 2009 +0100 Add gnetlist to unified build system. Note: make distcheck does not pass in this commit. commit e55e9e247eb33c4a5be56687b4610c6649ef74d7 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Tue Aug 4 22:06:16 2009 +0100 Remove existing build infrastructure. This simply strips out all configure, m4 and autogen scripts from the whole repository, including the toplevel Makefile. This commit does not compile (what a surprise)! commit 50854a890f67baa5194b470b14f7ee17051d0393 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Fri Aug 7 09:32:32 2009 +0100 gnetlist: Use sane (but uninformative) defaults for config variables. This stops gnetlist from complaining and calling exit(-1) if system-gnetlistrc wasn't loaded. The defaults used are the same as the default settings in system-gnetlistrc, according to the principle of least surprise. commit 89684e7fb17efa69e0fa897de31219e5a82ba414 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Fri Aug 7 22:03:16 2009 +0100 gnetlist: Correctly copy golden files to distdir. This bug was introduced in 1c8b245984, which didn't correctly account for out-of-sourcedir builds of the distribution archive. commit f23c623d63138a29ef849666942837d42ed3c9dc Author: Peter TB Brett <peter@peter-b.co.uk> Date: Thu Aug 6 08:39:00 2009 +0100 gnetlist: Clean up correctly after `hierarchy' tests. The current mechanism fails distcheck with multithreaded make due to the configuration files not being deleted correctly (race condition). commit 39c97a1fba873ce706754714a58f854e41c96622 Author: Uwe Hermann <uwe@hermann-uwe.de> Date: Wed Aug 5 00:08:58 2009 +0200 Fix cosmetic issues, typos, etc. in gnetlist. commit 4e5fe4331c8b245984e66798932418c59af8d064 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Mon Aug 3 22:40:44 2009 +0100 gnetlist: Recursive make less recursively. 1. The gnetlist testsuite uses a large number of almost-identical directories which each contain a predictably-named set of result files. In the past, each of these directories have included their own Makefile.am. By using a `dist-hook' rule in gnetlist/tests/common/Makefile.am, all of these Makefiles can be removed. 2. Several directories similarly use a Makefile.am with an EXTRA_DIST rule for only a handful of files. If this information is added to a higher-level directory, several recursive Makefiles can be removed. Reducing the number of Makefiles that need to be recursively processed saves time during automake invocation, during configuration and at compile-time. commit 8720d6b66941f51df7a45244de65cb0993e699ab Author: Bert Timmerman <bert.timmerman@xs4all.nl> Date: Tue Jul 28 17:51:56 2009 +0200 gnetlist: Ignore output generated by Doxygen. commit a601a60d7650b12e039014de5e11ba9bcd9aeca6 Author: Bert Timmerman <bert.timmerman@xs4all.nl> Date: Tue Jul 28 19:02:03 2009 +0200 gnetlist: Generate consistent style Doxygen documentation. Follow the documentation style as with gschem and libgeda. commit 055db3fd1f3acb07df92f2fadd4f3b4d093937f8 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Mon Jul 20 18:33:09 2009 +0100 gsch2pcb is not experimental anymore. So we don't need to scream about it being EXPERIMENTAL!!!!!!1111oneone and possibly put new users off it. commit 82c4e182c71d8a4fb9584b059a2f3215f6438cfe Author: Peter TB Brett <peter@peter-b.co.uk> Date: Mon Jul 20 18:12:25 2009 +0100 Reduce stderr spew. It's not necessary to spew massive amounts of output to stderr on startup. It's ugly and not legally necessary. This patch modifies the tools only to spew a GPL header to stderr when entering gnetlist's interactive mode -- and to be nice and quiet the rest of the time. commit 7d719ebe1767d2ba802174fb172f0e1a896a857b Author: Jared Casper <jaredcasper@gmail.com> Date: Sun Jul 19 08:44:29 2009 +0100 Quote pins names if they contain comma or close parenthesis. [2823703] A comma or close parenthesis will cause problems with the pcb action script, so if one of the arguments to ChangePinName contains one it should be quoted. Any quote characters within the argument are escaped. Right now it only quotes if there is a comma or close parenthesis. We could just quote all pin names to future proof it against more special characters in the action argument, but this seems less intrusive and doesn't affect those without a new pcb that accepts quotes in the arguments. (Minor formatting changes and addition of comments made by Peter B prior to committing). commit 605ace65a691d3960e258a9b52fa940be3517448 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Sun Jul 19 07:44:32 2009 +0100 gnetlist: Fix DEBUG builds. [2823755] Fix a bug in s_traverse.c where defining DEBUG broke the build. This patch simply removes the offending #ifdef'd code. Thanks to Kai-Martin Knaak for the bug report. commit ca91e1be91ae1d0c0b4bbfddf814309be09e84b2 Author: Dan McMahill <dan@mcmahill.net> Date: Wed Jul 1 22:26:06 2009 -0400 Remove gschem2pcb and the PCBboard gnetlist backend. gschem2pcb is the old script which has long since been replaced with gsch2pcb. The PCBboard gnetlist backend was only used by gschem2pcb and has been superceded by the gsch2pcb gnetlist backend. This removes a lot of duplicated and no-longer-maintained code and hopefully removes a new user pitfall (using gschem2pcb instead of gsch2pcb). commit 0be6e3a9612de6b36ab5e3a734af2b9fbb042efd Author: Dan McMahill <dan@mcmahill.net> Date: Tue Jun 30 18:07:36 2009 -0400 Add a -d | --debug option that preserves the run directory. This helps with testing/debugging because it allows an easy creation of a scratch directory for running gnetlist. commit 6d935086d2997cbb2877a0107e3481e7033fdf99 Author: Dan McMahill <dan@mcmahill.net> Date: Tue Jun 30 18:03:43 2009 -0400 Allow user configuration of the pcb m4 program and directories via gafrc. Allow user configuration of the pcb m4 program and directories via gafrc. Besides allowing for additional runtime control by users, this provides a mechanism that the testsuite can use to focus on testing gnetlist and not testing changes in pcb's footprint library. The testsuite now uses cat - >> outputfile Instead of feeding the gnetlist output through m4 before comparing to our reference. This lets us test only the part gnetlist controls. commit 374018276325d7d9efa42fb060ccb3cfc58be397 Merge: 2f8006b 64cdf2b Author: Dan McMahill <dan@mcmahill.net> Date: Wed Jun 24 18:27:39 2009 -0400 Merge branch 'master' of ssh://dan@git.gpleda.org/home/git/gaf commit 2f8006bf63db3e4d7f4e90b7730c627a506eaae4 Author: Dan McMahill <dan@mcmahill.net> Date: Wed Jun 24 18:22:38 2009 -0400 Fix the testsuite when building outside the source tree. Since gnetlist currently only looks in a single directory for scheme files and since some of our scheme files are generated at build time we need to copy over the other source .scm files to the build directory for the testsuite to run. Longer term, we should either a) consolidate all of the testsuite into a single master script that starts by merging all the scheme files into a single directory or b) teach gnetlist to have a scheme search path. Even with this, testsuite consolidation would be good. commit a8d4c630292368994eddcc4d2320db0298d6062a Author: Peter TB Brett <peter@peter-b.co.uk> Date: Tue Jun 23 10:47:03 2009 +0100 gnetlist: Remove some uses of SCM_STRING_CHARS. This is required to get gnetlist's `make check' to work on recent releases of Guile 1.8. commit 5f52ce5d7f4be7ee1eb2246b896135d01fb320c0 Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Mon Jun 22 10:50:36 2009 +0100 Rename OBJECT->complex_parent field to OBJECT->parent We might wish to track the ownership of text prim_objs as well as complex, so calling this field complex_parent is confusing. commit b8c503e7b1bfa7b797abac53d073ceab4779fbb1 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Fri Jun 12 00:39:31 2009 +0100 Don't recommend drc2 every time gnetlist runs. On Thursday 11 June 2009 17:48:48 John Doty wrote: > drc2 has a very narrow view of how the world works. If you are doing > a pure digital design using a single logic family using hidden power > pins, it's not *too* bad. But generally, it hides real errors behind > a flood of messages about things that aren't errors at all. gEDA is > much more flexible than drc2 understands. It's generally only useful > if you've learned to find the few real issues in the flood. > > DEVELOPERS: > > WHY DO WE RECOMMEND THIS FLAWED, NARROW, EXPERT TOOL, REPEATEDLY AND > OBNOXIOUSLY, TO ALL WHO USE GNETLIST, EVERY TIME THEY USE IT? commit 67aeb9b999d29080118a7af899ad1de362ccd2b8 Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Mon Jun 8 23:31:22 2009 +0100 Fix autogen.sh scripts to look for AC_CONFIG_HEADER to run autoheader Since commit #9a7c363c572d32a30fa1522cd7d14b21c2958ca8, the configure scripts in gEDA use AC_CONFIG_HEADER, not AM_CONFIG_HEADER Fixes build problems noted by various users. Identified by Dan McMahill. commit 61f488315da15d0be48acbe65ee9c1bf69c60e03 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Mon Jun 8 10:57:32 2009 +0100 Require GLib 2.12.0 or newer. We now require GTK+ 2.10.0, and since that requires GLib 2.12.0, we can bump the GLib version we require up to match. Thanks to Peter Clifton for spotting this. commit 9a7c363c572d32a30fa1522cd7d14b21c2958ca8 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Mon Jun 8 10:48:25 2009 +0100 Use AC_CONFIG_HEADER instead of AM_CONFIG_HEADER. This fixes an issue with config.h.in not being correctly regenerated with autoheader on changes to configure.ac. Thanks to Maciej Pijanka for working out the solution to this problem! commit 209e55a6a0ab33478cea41c154be64d7ec0620ea Author: Peter TB Brett <peter@peter-b.co.uk> Date: Sun Jun 7 19:34:30 2009 +0100 Require GTK+ 2.10 or newer. commit d5e06e6ee657f80d1cb8d82884122ac958e9d3a4 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Sun Jun 7 19:34:30 2009 +0100 Remove Guile 1.6 support. commit b4862c3c120c8144f47393333e2e6bec2f302bc7 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Sun Jun 7 19:34:29 2009 +0100 Require Guile 1.8.0 or newer. Guile 1.8 became the stable branch of Guile on 2006-02-12, over three *years* ago. All major distributions ship it, including Debian stable. Expecting its availability makes testing of new Scheme-based features much easier, as most gEDA developers normally write and test code against 1.8. Furthermore, it allows better advantage to be taken of 1.8-only features (such as improvements in debugging support), without requiring vast swathes of hard-to-maintain preprocessor trickery. commit 9686b31bc86c7e57a26bad0c65e21b97ed713e5b Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Sat Jun 6 10:38:58 2009 +0100 Make o_attrib_get_name_value() take an attrib OBJECT, not char * Rename the old function as exported API o_attrib_string_get_name_value(), so existing code (such as validating potential attribute strings) can still work unaltered. The new o_attrib_get_name_value() wraps o_attrib_string_get_name_value(). commit aa7b65e3a1cc59eadf247ed0fe74afeaeb7c5fe3 Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Sat Jun 6 01:47:43 2009 +0100 Make use of the new API o_attrib_search_attached_attribs_by_name() commit 04a22009e68284327bdb57bf7c31e5788b0bfc67 Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Sat Jun 6 01:44:19 2009 +0100 Make use of new API o_attrib_search_inherited_attribs_by_name() Replaces the less specific API, o_attrib_search_name() previously used to search for floating attributes inside complex objects. commit 33b113b078e9647d7304b4c2caa04da1dd367e4f Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Sat Jun 6 01:34:53 2009 +0100 Use o_attrib_search_object_attribs_by_name() where appropriate commit b4996e267b5d9696f7e8122c40b31482ef852904 Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Sat Jun 6 01:32:38 2009 +0100 gnetlist: Use new attrib API for s_netattrib_{handle,net_search}() Also tidy up the function implementation somewhat. commit 52fc6981d5dc91cb08e3314d5b77bdb7505418ba Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Sat Jun 6 01:32:34 2009 +0100 Remove o_attrib_search_string_list() and o_attrib_search_string_single() Reworked the one remaining caller of these functions to use o_complex_find_pin_by_attribute(), which utilises the newer APIs. commit 58859ac33ddd97e1cb7aa6eeaff832d3ed87c725 Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Sat Jun 6 01:32:27 2009 +0100 Replace o_complex_return_pin() with new o_complex_find_pin_by_attribute() Implement a more generic version of o_complex_return_pin(). The old function takes a pinnumber as its argument, and finds a pin which has a matching "pinnumber=..." attribute. The new function takes an explicit attribute name argument as well as the value, so we can find pins by any attached attribute. This is useful so we can search by "pinseq=..." attributes as well. commit 8a2e32035cdac22ca6d355560bb9fdf935a99af8 Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Sat Jun 6 01:29:17 2009 +0100 Move logic of function o_attrib_search_toplevel_all() to its one caller This function was only used in one place, and probably didn't deserve its own API in libgeda. The function it is called from is not used anyway, so could probably be removed completely at some point. (Although it forms part of the scheme API for gnetlist, comments above it suggest that it is "still highly temp and doesn't work right"). It is not requied by any known (shipped) gnetlist backends. commit ca55a937a7f865e851e8352e7c80005b1d94f36f Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Sat Jun 6 01:28:47 2009 +0100 Remove o_attrib_search_component() in favour of the new API Calling o_attrib_search_object_attribs_by_name() with a count parameter of 0 is functionally identical. commit 989908d06ad71c2cc883e32b23f61a34200f1b98 Author: Dan McMahill <dan@mcmahill.net> Date: Fri Jun 5 10:17:22 2009 -0400 Point at the correct gnetlist and scheme files for all tests. When running the tests, point at the not-yet-installed scheme files. This lets 'make check' test out what you just built instead of something that is installed that may be sorely out of date. Point at the locally built but perhaps not yet installed gnetlist when running 'make check'. This helps make sure we are testing the right gnetlist. While here also improve the shell portability a little by using FOO=value export FOO instead of export FOO=value which is not quite as portable. commit ab590ab70cddfe6a0954d56a31c0ebd1f0bc7691 Author: Ales Hvezda <ahvezda@seul.org> Date: Sat Mar 28 15:55:19 2009 -0400 Updated ChangeLogs one more time for 1.5.2 commit 546d4dbe0124d3f9421116b9e5a8889cccf97b84 Author: Ales Hvezda <ahvezda@seul.org> Date: Sat Mar 28 15:22:19 2009 -0400 Updated all ChangeLogs Updated the ChangeLogs by running: ./update-changelogs.sh 1.0-20070526..master in the toplevel directory commit 21e8c0b232e08927fd091a1d46413990b4c61358 Author: Ales Hvezda <ahvezda@seul.org> Date: Sat Mar 28 15:18:34 2009 -0400 Updated all dates in the relavent man pages (for 1.5.2.20090328) commit 859abe69912ba99ca27bb58c378284e9eec56259 Author: Ales Hvezda <ahvezda@seul.org> Date: Sat Mar 28 15:13:59 2009 -0400 Updated all versions to 1.5.2 20090328 36:0:0 Updated by running: ./update-versions.sh 1.5.2 20090328 36:0:0 commit c3081930ed224394f645de4bfb51e86fa3e15e65 Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Fri Feb 20 23:26:12 2009 +0000 Remove obsolete references to libgd and libgdgeda commit 3c0d85eae92d5764aa7dee2899c6a066c3470ee3 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Wed Jan 21 14:11:39 2009 +0000 Write logs to $HOME/.gEDA/logs/. Rewrite s_log_init() to put log files in a centralised location. A user application (e.g. gnetlist) provides a prefix, and log file is opened at: $HOME/.gEDA/logs/<prefix>-<YYYYmmdd>-<serial>.log [1] The serial is found by the following procedure: 1. Read through the directory to find the highest existing <serial>. 2. Starting with that number, repeatedly attempt to open() incrementing files with O_CREAT|O_EXCL flags to guarantee that a new file is created. 3. If after LOG_OPEN_ATTEMPTS = 5 attempts a unique filename hasn't been found, fail. The logic *intentionally* does not fill in gaps in the sequence -- if I delete logs, I still want a new log to appear at the end of the list. [1] The actual location is a subdirectory "logs" of the user config directory, which may not be ~/.gEDA on all platforms. commit fda82eb96e2c785efe91fd59d01f6e7e26b897ed Author: Peter TB Brett <peter@peter-b.co.uk> Date: Sun Jan 18 01:48:58 2009 +0000 Protect some strings passed to pkgconfig. Ensure that pkgconfig version requirement strings are protected from M4 expansion. commit ee250c9bd2e88bf352a03d1719603b7d54fe430c Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Tue Jan 13 23:58:30 2009 +0000 Avoid underlinking of apps due to missing explicit depends These went unnoticed because the apps were resolving the necessary symbols when pulling in libgeda and its dependencies. Fix applications using GLib and guile within the suite to explicitly pull in the appropriate CFLAGS and LIBS. This commit removes some LDFLAGS and LIBS from grenum, since they weren't being used. commit 75d03b030f4e3e491710a409bbcf18cc4a16f300 Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Sat Jan 10 23:26:28 2009 +0000 Remove executable permissions from some data-files in the repository commit 1645fda42758a837c7ccf1efd32fd3b484e22421 Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Sat Jan 10 22:17:44 2009 +0000 Remove unused GTK dependencies from text-based tools commit a344ff9c33b9bbb7b1a622b70dcedf393e1de09a Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Sat Jan 10 20:41:43 2009 +0000 Remove some unused Gdk* typed variables from globals.[ch] across the suite commit 42a5bebc27f842b1955d9626f2521eea124259a0 Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Fri Jan 9 01:04:14 2009 +0000 gnetlist: Teach netlist traversal code to understand buses (still disabled) Up until recently, the connection scanning code has rejected some, but not all buses. This means that it is unlikely graphical buses formed a useful part of anyone's design, since the netlist code in s_traverse_net() would not follow connections to another bus segment. The only possible bus-pin connectivity has ever been "pin-bus-pin", or "pin-bus-net-...". This behaviour appears to have been accidental, and would not have been easy for a user to take advantage of. The traversal code would not move on to a subsequent bus, but would, for example, allow a pin->bus->!bus connection, which could then connect onwards. The bus mixed up in this would for all intents and purposes behave as a net. The pin->bus validity bug was actually fixed in libgeda when adding support for bus pins. This commit formalises it further, since if support for netlisting bus pins were enabled it would otherwise still be possible to get a buspin-bus-net-... connection if you tried hard. Introduce type-checking between pins, nets and buses such that they can not netlist where the object types don't match. For buses, the code to name a connection based on "netname", "net" or "label" attributes is disabled - pending decision as to what constructs we wish to use for naming buses. Add a gnetlistrc setting (unnamed-busname ...) which sets the default naming (if the connection scanning code were run on bus pins). This commit lays some of the ground work for shared connection scanning code for determining the connectivity of buses and bus pins. commit a838dece88323eb782b0ac301c5825ed693fbf0f Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Fri Jan 9 00:57:40 2009 +0000 gnetlist: Disable traversal of bus pins when checking connectivity. We don't want graphical buses to be netlisted at present. Currently their output (although not correct connectivity in all but simple cases) can get muddled up with the normal netlist fed to backends. commit d18bfe1738347a1546f5bf1dd5011fb796176de1 Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Thu Jan 8 23:05:32 2009 +0000 gnetlist: Refactor s_traverse_component() and s_traverse_net() slightly. Removes some duplicated code by not special-casing the first level of recursion when tracing out connections. The only outward change from this commit should be that nets / pins found immediately connected to a pin being inspected get their "n" or "P" print in the verbose debugging output. (One of the codepaths being consolidated didn't have them before). Unconneced pins no longer get a "p" print, since the traversal code isn't executed for them. commit 2d888258d954c993aa03e4a1beb7b03e62df4d95 Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Thu Jan 8 00:45:28 2009 +0000 gnetlist: Avoid depending on GHashTable ordering for output consistency If the GLib hash table changes (which it has in late versions of GLib), the netlist output ordering changes due to our mis-use of GHashTable to list all unique component names without enforcing any eplicit order on the enumeration of the hash table contents. Since ordering may be important to backends, want to have known output ordering whilst removing duplicate entrys, but without an explicit sort of the refdes list. This commit introduces an incremental build of the list, first checking the hash table for a hit, and only adding the new refdes if it wasn't already in the has table. This is gives the output a predictable order (based on the input), rather than inserting all refdes into the hash table, and building the list in whatever order the table implentation traverses them in. This change does unfortunately means a large number or ordering related changes are also made in the gnetlist test suite's golden files. There are also some non-ordering changes in the checked in golden files. These is encountered in the pretty well obsolete PCBboard backend - which errors out when it hits certain components it can't find footprints for. Changing the ordering changes the point at which it dies, and thus the netlist output. Lets just accept these changes as is. commit d57fcbf52893127f5a37656f65c6f076c6d51470 Author: Maciej Pijanka <agaran@pld-linux.org> Date: Thu Jan 8 00:33:25 2009 +0000 gnetlist: Fix test/hierarchy*/Makefile.am to detect failures Unfortunately the exit code weren't getting propagated back from diff, so the test-suite would continue on inspite of errors. commit d7b7b23721b4054172587c9961d4b87f47bee198 Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Wed Dec 31 17:26:03 2008 +0000 libgeda: Remove non-private access of PAGE->object_list This allows us to keep better track of where the PAGE must be updated should we have any spatially keyed data-structures in the future. Rename PAGE->object_list PAGE->_object_list to try and discorage any use of it outside libgeda (ideally, outside s_page.c) in the future. commit ca6556ace0a06ec1dd697852f7a1f0ffb86bfb97 Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Wed Dec 31 17:25:57 2008 +0000 Add "const" to some places where we deal with GLists of OBJECTs. These GLists themselves are not (and shouldn't be) modified, although the OBJECTs they point at may well be. commit 714580df3fee12732d5e1180722f008a47aaf973 Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Fri Dec 26 21:53:42 2008 +0000 gschem: Don't define key-bindings for keys which have no-action If we do this, then when we set "no-action" to a menu item's key binding, the code will try to display one of the keys associated with "no-action" as a binding for that menu item. commit 3c49636e1a9e9e703fab4c6aafc69affb4fd2bab Author: Ales Hvezda <ahvezda@seul.org> Date: Sun Dec 21 16:23:26 2008 -0500 Updated ChangeLogs one more time. commit 2f3e07a1fa7fd92ab163d2cd966efd98ab306512 Author: Ales Hvezda <ahvezda@seul.org> Date: Sun Dec 21 14:40:21 2008 -0500 Updated ChangeLogs again in prep for the 1.5.1 release commit 76d02f7f935d930d8093bd49b7eb0836d3b1aa6e Author: Ales Hvezda <ahvezda@seul.org> Date: Sun Dec 21 14:06:17 2008 -0500 Updated all ChangeLogs in prep for the 1.5.1 release. The update was done by running: ./update-changelogs.sh 1.0-20070526..master commit 680e08085d44c9876bdadef0ca7ef25b474c2006 Author: Ales Hvezda <ahvezda@seul.org> Date: Sun Dec 21 13:39:29 2008 -0500 Updated all versions to 1.5.1 20081221 35:0:0 Updated by running: ./update-versions.sh 1.5.1 20081221 35:0:0 commit 4f9f4336a123f91318ec2d1ffd8e9739eb756348 Author: Ales Hvezda <ahvezda@seul.org> Date: Sun Dec 21 13:10:23 2008 -0500 Updated dates and versions in all man pages commit d8cc920d932f1557f3d93da6abd1d99e690f39ef Author: Peter TB Brett <peter@peter-b.co.uk> Date: Sat Dec 20 21:47:12 2008 +0000 gnetlist: Optimise connection traversal algorithm Increase performance for traversing schematic connections by optimising tracking of how many times objects have been visited. commit 8b171391d26ee79ecccff732ff9ccb257460b815 Author: Ales Hvezda <ahvezda@seul.org> Date: Sat Dec 20 16:06:27 2008 -0500 Fixed up drc2's gnetlistrc to work with both make check and make distcheck commit edf990235cac2fe6ac2ca6e120f198fd14d05ed7 Author: Ales Hvezda <ahvezda@seul.org> Date: Sat Dec 20 14:56:02 2008 -0500 Added missing liquidpcb to the subdirs in order to make distcheck work better commit 45dae54fa28ec09313806a80781f9dd6b8d35485 Author: Ales Hvezda <ahvezda@seul.org> Date: Sat Dec 20 14:42:40 2008 -0500 Ignored a few machine generated scripts commit 24d24fcc3ab6ecbec321d38fc011513df521c122 Author: Ales Hvezda <ahvezda@seul.org> Date: Sat Dec 20 14:40:42 2008 -0500 Fixed a typo in tests.list which caused the JD_nomunge test to not run Fixing this typo also required the regen of all Makefile.am, creation of JD_nomunge.retcode, and changed a few golden files. commit 59a09888c3a0f70af8312da604a98cb2d0c411d5 Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Sat Dec 20 19:36:09 2008 +0000 gnetlist: Fix regen_sub_makefile.sh Needs /bin/bash, and an -e argument to the second echo. commit 581f8cec3d5e717fa78417772759b4525a52f458 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Sat Dec 20 18:56:35 2008 +0000 gnetlist: Restore bom2 ordering The changes in 51c2a5c9f7f9ad1c99b9da2774a051ae97f3e62e caused the ordering of components in the BOM output to be reversed. This changes the ordering back to the way it was before. commit 51c2a5c9f7f9ad1c99b9da2774a051ae97f3e62e Author: Peter TB Brett <peter@peter-b.co.uk> Date: Sat Dec 20 18:23:22 2008 +0000 gnetlist: Improve bom2 backend performance. Change part of bom2 backend to use tail recursion, avoiding stack overflows for very large schematics. Tested with up to 1024 devices, but gnetlist core performance made testing with larger schematics problematic. commit fff0850cbff67ded4dc53138679e2f5f445f86cd Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Sat Dec 20 17:08:50 2008 +0000 Revert "gnetlist: Update golden files for backends which hit errors." This reverts commit 9928a19d3374c5d7ff672f8435a5f29476b2bba2. gnetlist should not exit with a status of 0 when encountering an error. This behaviour change has been fixed in commit 16102ef095c959b5c1febb9b9259dda23c739258, which reverted part of commit 2a4fdb13021d0153e788fe3b2fc005f273dcdf4b, where the changes were first introduced. commit 9904adcf923855f10a64c5fb15cde22d0766155d Author: Peter TB Brett <peter@peter-b.co.uk> Date: Sat Dec 20 16:44:01 2008 +0000 Fix potential buffer overflows in gnetlist. gnetlist's main_prog() had several uses of sprintf() into a fixed length buffer with unchecked user input. Replace these with g_strdup_printf() and g_build_filename(). commit 16102ef095c959b5c1febb9b9259dda23c739258 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Sat Dec 20 16:07:03 2008 +0000 Quick fix for gnetlist exit status. In 2a4fdb13021d0153e788fe3b2fc005f273dcdf4b, gnetlist was modified to use g_scm_c_eval_string_protected() to call into backends. Unfortunately, this had the side effect of stopping Guile errors thrown by backends from causing gnetlist to exit with non-zero exit status. This is a quick fix which partially reverts the offending commit. commit 6329c5a7bdae9573f01f92403e4645e79e66aab5 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Sat Dec 20 14:41:05 2008 +0000 Update copyright header dates to 2008. (And I'll have to do this all again in a few days time). commit 9928a19d3374c5d7ff672f8435a5f29476b2bba2 Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Thu Dec 18 20:54:25 2008 +0000 gnetlist: Update golden files for backends which hit errors. Gnetlist now returns with an exit code of 0, even when it encounters problems from inside the backend's scheme code, and that code exits with an (error ...) call. Update the golden files to reflect this. commit d13aadcbac4af912e0555b3696b59fc904c6cd9f Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Thu Dec 18 20:54:02 2008 +0000 gnetlist: Checkin missing change to systemc backend This part of the fixes for the systemc backend got missed from commit #bfd49ad477a49235c3e5ee1eda54e5009f6e347a commit 4ff7f410e4e601b85e5b6d0b8d4b6b930e49072b Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Thu Dec 18 20:51:48 2008 +0000 gnetlist: Update common test-suite outputs for "systemc" backend Updated after fixing the backend to run again. NB: A cursory inspection of the "golden" files, suggests that the outputs being checked in are not actually correct. However, the test-suite will serve to tell us if any changes are made in gnetlist which affect this backend. commit bfd49ad477a49235c3e5ee1eda54e5009f6e347a Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Thu Dec 18 20:44:59 2008 +0000 gnetlist: Fixup systemc backend Don't escape < and > characters in strings, as guile doesn't like this. Apply similar fixes as those made to the VHDL and verilog backends after some changes in gnetlist to accomodate slotting in spice-sdb. Since the netlist backend is loaded before gnetlist has traversed the schematic, it must not execute any code which queries gnetlist on load. All such work is to be done only when gnetlist invokes the "systemc" method. Move (define c_p #f) to outside (systemc:components ...)'s (lambda ...) function, since guile doesn't appreciate us mixing declarations and expressions. This variable is tested and (set! c_p #t) later on, which doesn't feel very scheme like. The fix works for now though. Check to see if the regexp matched netname, checking for "name<type>" has hit a match before trying to get a piece of that match. If the regexp returns #f, instead just treat the identifier as a "name" and use that. This allows net names which don't conform to the regexp to at least give some vaguely sensible output, without crashing the backend. Comment some debugging prints to stdout, giving a cleaner looking run. commit 55850bb331afc0596a18dac1807a487cb475b30d Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Thu Dec 18 19:05:47 2008 +0000 gnetlist: Add new "liquidpcb" backend to the common test-suite commit 617797b5a47d370c4fee19110c826502b7e3082b Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Tue Dec 9 16:19:09 2008 +0000 Remove linkage between OBJECTs and use GList for OBJECTs on the page This affords quite a lot of code clean-up, since we no longer have to maintain two versions of each operation which works on lists. commit d3a0d4da489f9cd213472e58d18f21774760984b Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Mon Dec 8 17:57:17 2008 +0000 Tolerated changes in golden files for the spice netlist backend. The way slotted parts are handled has changed since 1.2.0, as has the output of the spice backend for slotted parts. Since the spice backend doesn't properly support slotted components, we allow these output changes. commit 227e5102e722675c93ecf897b1b1c422dd7f032c Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Mon Dec 8 17:48:06 2008 +0000 gnetlist: Revert removal of spice backend testing This backend was removed from the common test-suite prior to the last release due to failures. We still want to test the backend, although we may wish to accept some changes to the golden files before the next release. commit 40e4a0836529f91ee141463832beb4fea0d845ec Author: Dan McMahill <dan@mcmahill.net> Date: Mon Dec 1 20:34:02 2008 -0500 Use the uninstalled scheme files instead of installed scheme files. When running the tests, point at the not-yet-installed scheme files. This lets 'make check' test out what you just built instead of something that is installed that may be sorely out of date. commit 817e5dcfe478ae02f60d74ca1574518a1976bd17 Author: Dan McMahill <dan@mcmahill.net> Date: Mon Dec 1 02:55:24 2008 -0500 Run all tests and report failures at the end. Also add missing .PHONY. - Add missing .PHONY to the tests target. - Rather than exiting on the first test that fails, run them all and keep track of how many failed and which ones. This lets you run through all the tests and then come back to the failed ones. commit 635546dcc9615c490e85ff6e7ef0c7d990af6842 Author: Dan McMahill <dan@mcmahill.net> Date: Sun Nov 30 00:04:02 2008 -0500 Specify the path to the gnetlist binary being tested. Point at the locally built but perhaps not yet installed gnetlist when running 'make check'. This helps make sure we are testing the right gnetlist. commit 51896e033129dada3f96a3448e189e19554c239a Author: Dan McMahill <dan@mcmahill.net> Date: Sat Nov 29 22:11:32 2008 -0500 Remove files which are now generated at configure time from templates. These files are now generated from the .in versions at configure time to make sure we get a suitable awk implementation called out. commit 1625b379e7066ffe2a8283a4977c794ff55b7db4 Author: Dan McMahill <dan@mcmahill.net> Date: Sat Nov 29 21:11:07 2008 -0500 General portability cleanup of scripts. Expand the autoconf tests for awk to make sure that we have picked up and awk that is good enough for the scripts that use them. Now use this result in various scripts instead of hard coding 'gawk' (not available on all systems) or 'awk' (picks up the original awk which is not sufficiently advanced on solaris). Also avoid calling out /bin/bash on scripts for which /bin/sh (even on solaris) should be sufficient. Not all systems have /bin/bash. Finally, improve temp file usage in shell scripts for improved security. commit 1d6a2045f618cb2441d386811a49fc3c1686ff13 Author: Dan McMahill <dan@mcmahill.net> Date: Sat Nov 29 20:54:19 2008 -0500 General portability cleanup of scripts. Expand the autoconf tests for awk to make sure that we have picked up and awk that is good enough for the scripts that use them. Now use this result in various scripts instead of hard coding 'gawk' (not available on all systems) or 'awk' (picks up the original awk which is not sufficiently advanced on solaris). Also avoid calling out /bin/bash on scripts for which /bin/sh (even on solaris) should be sufficient. Not all systems have /bin/bash. Finally, improve temp file usage in shell scripts for improved security. commit 5bf126369c5f5a60f5ae039170c33ff4c767a4ee Author: Dan McMahill <dan@mcmahill.net> Date: Wed Nov 26 22:48:08 2008 -0500 Avoid insecure temp file usage. Fixes the security vulnerability noted in http://secunia.com/advisories/32806/ The issue is insecure temp file usage. The fix is to create a private directory and keep temp files in there. commit c7dfc632ea75a802822fc139a93a96a3dfdcd1b2 Author: Dan McMahill <dan@mcmahill.net> Date: Tue Nov 18 22:47:00 2008 -0500 When testing gnetlist, point to the one we just built. Make sure that 'make check' works correctly prior to installation. The old test seemed to be picking up a previously installed gnetlist instead of the one we just built. Makes for some confusing debugging if there is another version installed and in your path somewhere. commit f470af7a28afe423ded6171ea3c8a2b31ff56f43 Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Sat Nov 1 20:47:41 2008 +0000 Revert applying -Werror to compiler flags when linking with GCC (CODE!!) Depending on the gcc version, the original developers might not see the warning until the software gets into the end user's hands (and tries building it with an older/newer version of gcc). Most warnings are not catastropic, but by using -Werror they are _all_ catastropic. If a developer wants to get rid of all warnings, they should either: 1) run make -s and see/fix all the warnings, and/or 2) modify the Makefile's themselves and add the -Werror flag temporarily. (Comments explaining rationale snipped out of an email from Ales). commit 3a748314907a0167fc06fe08be498f40c6c7f318 Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Sat Nov 1 17:46:01 2008 +0000 More placeholders for fixing some warn-unused bugs Some were missed in the last (accidental) commit relating to these warnings. commit 2b1c2026611ef56fba3c07e88d1292b19047e818 Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Sat Nov 1 17:45:57 2008 +0000 Use -Werror when building with gcc compilers. (More Makefile.am) Hopefully this will help to ensure compiler warnings get noticed and fixed by developers. Some Makefile.am with compiled sources were missed in the last (accidental) commit relating to these CFLAGS. commit 09eacbfb36e2b00758bce8d8add2f8f56cdcfdbb Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Sat Nov 1 16:09:26 2008 +0000 Use -Werror when building with gcc compilers. Hopefully this will help to ensure compiler warnings get noticed and fixed by developers. commit 816c8735215b76faeaa15bfc5de01d345aedc87d Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Sun Oct 26 20:07:13 2008 +0000 Update golden files for gsch2pcb backend These were out of date since changes were made to make the gsch2pcb backend to emit boards which fit better with PCB's current default options and layer stackup. commit aa6b1cf719bc8c31c1763a6160e133e6e3bc46ce Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Sun Oct 26 20:07:12 2008 +0000 Update golden files for PCBboard backend The "singlenet" output now emits the PKG_DIP14 package correctly, whereas the previous golden file just has the M4 macro listed unexpanded. Whether some bug was fixed, or if this was just a mistake when the previous golden files were generated is unknown, but the new output is better. commit 2b5ac5d34a71bfb5f91012ac14bbf2e442858303 Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Sun Oct 26 20:07:12 2008 +0000 gnetlist: Update golden files for desired BOM2 changes BOM2 now has a qty column, so update the test-suite to match. commit bcaf9f8dafcd25335b61b2ea80d071bde720bbd1 Author: Cesar Strauss <cestrauss@gmail.com> Date: Sun Oct 26 10:41:31 2008 +0000 Use pkg-config support for Guile if present. Using pkg-config allows easier cross-compilation, since the build process can use a pkg-config binary native to the build machine with .pc files for the host machine. commit 2a4fdb13021d0153e788fe3b2fc005f273dcdf4b Author: Peter TB Brett <peter@peter-b.co.uk> Date: Tue Oct 21 16:52:09 2008 +0100 Validate calls to scm_c_eval_string(). [2105219] Because the reporter's version of Guile is broken, a lovely garbage collector segfault occurs if a null string is passed to scm_c_eval_string(). For now, wrap all calls to scm_c_eval_string() with mutable arguments in g_scm_c_eval_string_protected(), and since the latter function seems to behave when passed a NULL string this bug should just go away. commit 79ab7bd82c3f2bb5266a6065512730157798ec2d Author: Ales Hvezda <ahvezda@seul.org> Date: Mon Oct 13 21:44:38 2008 -0400 Added first cut of the LiquidPCB (http://www.liquidpcb.org) backend Also added a couple of trivial tests for this new backend as well as updated the man page for gnetlist. commit f0a96de8b545dbd900e87db6abf54a0b6df830ab Author: Werner Hoch <werner.ho@gmx.de> Date: Sat Oct 11 09:02:03 2008 +0200 .gitignore: log files and source tagging files added Added the files of the "global" source tagging program and the logfiles of the gEDA programs to .gitignore. commit 2a9f5584219a894557aa7fd97f94a9a941c5bc1b Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Wed Oct 1 18:17:19 2008 +0100 gnetlist / gsch2pcb: Update default board to match current PCB version. Ensures greater compatibility with layouts created using PCB from the outset, rather than via gsch2pcb. commit a17b67c07298e707fbfa2d10f8ec18c16b0b7482 Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Wed Oct 1 17:57:42 2008 +0100 gnetlist / gsch2pcb: Fix default PCB board to have lines clear polys. This bad default keeps biting users of the gsch2pcb work-flow. commit 05d7c0a430e2334fc24f561268f5dbcee62d14ad Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Wed Sep 24 02:37:02 2008 +0100 gnetlist: Tidy vams_get_package_attributes() and vams_get_attribs_list() Refactor the code to be cleaner, fixup whitespace, remove old debug cruft. commit fbdc2486cc9bf99bc79408ef5b08189a94c89bc1 Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Wed Sep 24 02:36:22 2008 +0100 Remove ineffective search inside symbol in vams_get_package_attributes() The call to vams_get_attribs_list (...->complex->prim_objs, ...) will always fail to return names. This function operates on the passed OBJECT, looking at OBJECT->attribs. In this case, the passed OBJECT will always be a complex head node with no attributes. We _might_ want to list the names of any floating attributes inside the object (as seems to have been intended in the original code), however all "interesting" generic attributes will probably have been promoted to the outside anyway. Promotable attributes inside symbols are only hidden by default (not deleted), so listing the internal attributes would mean we end up with two copies of each promotable attribute in our SCM list. There are also quite a number of uninteresting attributes inside most symbols which we may not want listing as generics. For now delete the broken code attempting to list internal attribute names. This commit doesn't change any netlist output. commit f4dab83b1ca0e197f02f520a6ae525aeac5a252d Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Wed Sep 24 01:07:43 2008 +0100 gnetlist: Use the complex_parent property of an OBJECT, not the HEAD node. This saves having to traverse back to the HEAD node for each lookup. commit b4ed5e92d203c7449b7d33e924a41b093e1de930 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Tue Aug 26 12:55:07 2008 +0100 Remove duplicate definitions of do_logging. Also sets the default in libgeda to TRUE. commit c95bd0a1f21be899510e07af28d0190fc09dc469 Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Sun Aug 24 22:27:29 2008 +0100 Remove unused #define DEFAULT_SERIES_NAME ... defines commit a974a4c6d2c233c9209c5b4597f7d4f86154f484 Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Sun Aug 24 22:27:28 2008 +0100 Remove default-series-name from all rc files Fixes brokenness leftover from previous removal of "series_name". commit 73a73cd0cb54d0f9430075aa00359b7840bd8d2c Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Sun Aug 17 02:19:49 2008 +0100 Add qty column to bom2 gnetlist backend It is convenient for board-assembly houses who want to see a qty. against each line-item they have to procure. commit e36585def8789540f25464edecbf119706882958 Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Sun Aug 17 01:59:29 2008 +0100 gnetlist: Don't drop all hierarchy prefix for children without refdes=... If a hierarchy block is missing its refdes=... attribute, insert it without any change of hierarchy prefix. The block's contents keep the same hierarchy level as the instantiating schematic. Previously the block was inserted at the root level, with no hierarchical name mangling. This may be useful in some cases if you want to suspend hiearchy mangling for certain portions of a hierarchical design. (NB: You would then be responsible for avoiding refdes name clashes). A similar effect can be be obtained on a design wide basis by setting the options: (hierarchy-*-mangle "disabled") in a gnetlistrc file. commit 1a1460c65a9d4e0aee35e39fff0f083c95bd380d Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Sat Aug 16 19:18:24 2008 +0100 Remove the ATTRIB struct as it only contained one variable. The OBJECT.attribs GList now points directly at the text objects which hold and display the attribute name and value. commit 11a2692a1ab8bcee14178286fd719d1ec39e6b9a Author: Peter TB Brett <peter@peter-b.co.uk> Date: Sat Aug 16 15:24:16 2008 +0100 Draw func cleanup. Rather than having libgeda require other applications to provide the *_draw_func symbols, libgeda should provide them itself. Other applications should then override them as required near their call to libgeda_init(). commit 723e8d1c735b27f2bfc39dec296464bb8d5b2020 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Thu Aug 14 23:27:12 2008 +0100 Don't register recalc funcs as draw funcs. Some applications which don't draw schematics set the draw funcs to be the recalc funcs. This is silly. commit 57a4fd272e10a68e05051a9ab9309e252e2103f7 Author: Patrick Bernaud <b-patrick@wanadoo.fr> Date: Fri Jul 11 16:03:12 2008 +0200 Purge AC_CHECK_FUNCS() in configure.ac in each package of unused functions. commit 872287f23b4880b01babed777efe7976783feab2 Author: Patrick Bernaud <b-patrick@wanadoo.fr> Date: Fri Jul 11 16:03:05 2008 +0200 Cleanup of libgeda o_attrib_get_name_value(). Rewrote o_attrib_get_name_value(): it now has support for UTF-8 attribute strings ; plus it can return only the name or the value or both name and value. Finally adapted code wherever it can benefits this new feature. commit a76cf5cdda91c7070f4765107d3f8be89bbd05b6 Author: Patrick Bernaud <b-patrick@wanadoo.fr> Date: Fri Jul 11 16:03:01 2008 +0200 Remove unnecessary strippings of trailing directory separator. These strippings is no more necessary as GLib functions for building filenames (in particular g_build_filename()) takes care of any trailing directory separator for us. commit cd70e88b8c7faa4beea8b13b846e92807a252e63 Author: Patrick Bernaud <b-patrick@wanadoo.fr> Date: Fri Jul 11 16:03:00 2008 +0200 Replace getcwd() with g_get_current_dir(). commit 90b0ece453efc80490c6c277386f4f5f7bfdc4af Author: Patrick Bernaud <b-patrick@wanadoo.fr> Date: Fri Jul 11 16:02:59 2008 +0200 Simplify build of filenames with g_build_filename() (!). Modified code where possible to use preferably g_build_filename() instead of g_build_path(), or g_strconcat() and friends. commit 19d6d561eb5aea8e580d6ecf72d20bdfc3180ace Author: Patrick Bernaud <b-patrick@wanadoo.fr> Date: Fri Jul 11 16:02:58 2008 +0200 Remove unnecessary check following memory allocation with GLib g_malloc(). There is no need to check g_malloc() returned value as when the function fails to allocate memory, it terminates the application. commit a3513b7e6dc7bf6c36d95d4da86082beeb79831d Author: Patrick Bernaud <b-patrick@wanadoo.fr> Date: Fri Jul 11 16:02:57 2008 +0200 Replace standard string manipulations with GLib string utility functions. commit da1d2e7b304f9d832bdee9c8dfb9fe4604e19cc9 Author: Patrick Bernaud <b-patrick@wanadoo.fr> Date: Fri Jul 11 16:02:56 2008 +0200 Remove tests for NULL prior to freeing with g_free(). Testing if pointer on memory to free is not NULL is unnecessary since g_free() does the test itself. commit 21bdf2fbbad2146234fd32a0fe04bddcaddb64f8 Author: Ales Hvezda <ahvezda@seul.org> Date: Sun Jul 6 22:21:00 2008 -0400 Updated versions in the important man pages commit 8479d01b6a4a819ae105659a9b9f1e6ab2d85136 Author: Ales Hvezda <ahvezda@seul.org> Date: Sun Jul 6 22:03:02 2008 -0400 Updated all ChangeLogs by running ./update-changelogs.sh 1.0-20070526..master commit 24a38431a0d955928639311af924b8b0acf1e0db Author: Ales Hvezda <ahvezda@-e false.(none)> Date: Sun Jul 6 10:03:24 2008 -0400 Oops needed to remove outputs/spice from configure.ac as well This is an additional fix to f3ed4237658fc27a6e60e1da0c8fc9c2af2646ed commit f3ed4237658fc27a6e60e1da0c8fc9c2af2646ed Author: Ales Hvezda <ahvezda@-e false.(none)> Date: Sun Jul 6 09:55:14 2008 -0400 Fixed common gnetlist regression tests to pass * Removed the testing of the "spice" backend completely. It is no longer supported or maintained. Removed from backends.list and the outputs/spice directory * Updated return codes for the drc2 backend * Allowed --regen to update one PCBBoard golden file (singlenet.sch). (this test is really not pcb friendly) commit 7ae9572f269c8b973bb4a38014e28dbc10cdcb32 Author: Ales Hvezda <ahvezda@-e false.(none)> Date: Sun Jul 6 08:38:24 2008 -0400 Bumped versions to 1.5.0/20080706/34:0:0 for the next development release commit aaa1abbcfac8e67901c5b2a279e0a13f88d774b0 Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Sat May 31 18:04:40 2008 +0100 Tolerated changes in golden files for the vipec netlist backend. The way slotted parts are handled has changed since 1.2.0, as has the output of the vipec backend for slotted parts. Since this backend isn't likely to care about slotted parts, we allow these output changes as harmless. commit ae9d82b1fdcd14acde5cbf4d54718ef3566aec80 Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Sat May 31 18:03:50 2008 +0100 Desired changes in golden file output for spice-sdb Slotted parts are now handled correctly. Was partly broken in 1.2.0. commit 850a80faa3038f688ef3630aff61a05c64904abc Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Sat May 31 17:48:57 2008 +0100 Update pads backend golden files to match the new \r\n line ends. The \r\n line end change was made after 1.2.0, so we need to update. commit 345cd09f3517380a466a3254b1f6dc16ef2ce896 Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Sat May 31 17:47:49 2008 +0100 Remove the spice-sdb backend specific directory of gnetlist tests. They are now covered for all backends in the "common" tests directory. commit 8a0e4e649e0aab8820fcca32214f99322788bc31 Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Sat May 31 17:43:08 2008 +0100 Commit golden files from netlist backends as produced by gEDA 1.2.0 We want to track changes in netlist backend behaviour since version 1.2.0, as changes in slotted part handling since then have caused unintended differences in outputs for some backends. We can explicitly confirm thoses changes as desired or tolerable by checking in new golden files. commit dc5a2e6b352ac4e5833ec86c0685da747362e04a Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Wed Feb 13 16:47:40 2008 +0000 Add a common set of tests to gnetlist evolved from the spice-sdb tests. The tests are applied to all backends, with control files being used to document the expected return codes, and golden files with the expected output. These files are generated from a 1.5.0 development release of of the gEDA suite, and do not in all cases represent "correct" behaviour, merely "gEDA 1.5.0" behaviour. commit c1b1d3646043f27302b36a4b541bc9b34fbfe6b9 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Sat Mar 22 19:31:04 2008 +0000 gnetlist: Remove first-val-or-#f The first-val-or-#f function should have been removed in commit 406234a95a4a4a6ff65c60eb2d63e32c80623a2a when its use was optimised away. commit af0d9f2e8825f7d23c691deec0e70f1eaaac0e38 Author: Ales Hvezda <ahvezda@seul.org> Date: Wed Mar 5 05:27:41 2008 -0500 Updated version to 1.5.0 to mark the start of the next development cycle commit b62e01773459c0c5df66482aa71c623191242bfd Merge: 2915020 d68fe13 Author: Dan McMahill <dan@mcmahill.net> Date: Wed Feb 27 12:40:21 2008 +0000 Merge branch 'master' of git+ssh://dan@git.gpleda.org/home/git/gaf commit 291502025248298b4d42cfbd80ff605dc62c3f92 Author: Dan McMahill <dan@mcmahill.net> Date: Wed Feb 27 12:36:12 2008 +0000 Make the pads netlist backend use CR/LF instead of just LF. Based on a discussion on the gEDA mailing lists it seems that PADS (which runs only on windows) needs DOS style netlists and not unix style netlists. So rather than forcing a unix2dos step in beween netlisting and using the result, go ahead and teach the pads netlist backend to directly write out a DOS style netlist. Update the testsuite accordingly. commit db168efbbe2656ef2103852e92e02ec3ce58e300 Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Wed Feb 13 14:59:45 2008 +0000 Fix verilog and VHDL netlist backends These were inadvertently broken when making core gnetlist changes to accomodate slotting in spice-sdb. Since the netlist backend is loaded before gnetlist has traversed the schematic, the backends must not execute any code which queries gnetlist on load. All such work is to be done only when gnetlist invokes the (<backend>) method. commit b202ee510fb90cedd038ce5ec41cc6de453dbeea Author: Ales Hvezda <ahvezda@seul.org> Date: Sun Jan 27 11:47:13 2008 -0500 Updated ChangeLogs for the 1.4.0 release commit 3d43c5d642ebe12a69380e8accf5533d338ee5e5 Author: Ales Hvezda <ahvezda@seul.org> Date: Sat Jan 26 20:07:45 2008 -0500 Bumped versions to 1.4.0/20080127/33:0:0 for the next stable release commit ecda6ee9e101563f7fed092150532256fd9b343e Author: Ales Hvezda <ahvezda@seul.org> Date: Sat Jan 26 19:50:16 2008 -0500 Updated all dates and versions in all man pages commit d2047bc2a06e6534ff32464d36f8a95aec11b9d7 Author: Ales Hvezda <ahvezda@seul.org> Date: Fri Jan 11 01:11:12 2008 -0500 Updated all ChangeLogs for this release (1.3.1) commit 0dfb874e72040b74679152d75ab2e50b735bdbd4 Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Fri Jan 11 02:01:58 2008 +0000 Revert "gnetlist: Strip trailing lower case suffixes from PCB package names" Stripping lower case refdes suffixes when netlisting for PCB (which ignores lowercase refdes suffixes) caused breakage when relying on matching a pinlabel=xxx to refdes=xxx inside a hierarchical schematic, where "xxx" had a lowercase suffix. This reverts commit e8b3be0fbcbf7518b05b437e13eeaa11478345aa. commit c1e3075cb263a6098d2351440b680247456ae0d0 Author: Ales Hvezda <ahvezda@seul.org> Date: Thu Jan 10 00:27:16 2008 -0500 Updated and correct the gEDA/gaf man pages a little bit. This is the fix for SF Bug: [ 1556064 ] man page version out of date commit e8b3be0fbcbf7518b05b437e13eeaa11478345aa Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Thu Jan 10 01:52:45 2008 +0000 gnetlist: Strip trailing lower case suffixes from PCB package names Adds a custom (get-uref ...) function to the PCB, pcbpins and gsch2pcb back-ends. These strip lowercase suffixes from the uref, to ensure that slotted package names like IC1a and IC1b are treated as the same, IC1 by gsch2pcb. This suffix stripping matches the fact that PCB ignores the lower-case suffix on net names. It would have been possible to leave the suffixes in the PCB and pcbpins output, although in the PCB netlist case, this causes any implicit power nets in each slot to be duplicated in the netlist, which PCB reports as an error. commit 24431dfb4348c1fa012acb4992e3dd24a78359b5 Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Thu Jan 10 01:52:32 2008 +0000 Fix spice-sdb slotting to work without modified pinseq attributes Removes all previous code which iterated over slots for a given package, replacing it with a custom (get-uref ...) procedure which ensures each slot of a component is given a unique uref when gnetlist traverses the schematic. This means each slot will appear as a separate "package" in the gnetlist data-structures, even if each slot uses the same refdes= attribute. The format for the package uref is "(refdes/uref).(slot)", in keeping with the existing spice-sdb slotting code. commit 406234a95a4a4a6ff65c60eb2d63e32c80623a2a Author: Peter TB Brett <peter@peter-b.co.uk> Date: Thu Jan 10 01:52:08 2008 +0000 More efficient searching of attributes in (gnetlist:get-uref ...) Only evaluates get-attrib-value-by-attrib-name once per call, and has the added advantage of only defining helper functions in local namespace. commit 3279e37ff18bfa353ada00f63d0ccf94975daf56 Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Thu Jan 10 01:29:58 2008 +0000 gnetlist: Add scheme procedure get-uref to determine uref of an OBJECT Moves the logic to determine an uref based on the component attributes into the Scheme procedure (get-uref ...), which is passed an OBJECT smob for interrogation. commit fa9779d19f1a6a626948ec996735978941883f5d Author: Bernd Jendrissek <bernd.jendrissek@gmail.com> Date: Thu Jan 10 00:58:35 2008 +0200 Fix two use after free bugs. The gnetlist testsuite would sometimes screw up the terminal by outputting angry control characters. This was because a warning message used a string that had already been freed. commit aafa53bb3e4b248e178a654883db2ba1177c5750 Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Thu Jan 10 00:25:20 2008 +0000 gnetlist: Load gnetlist.scm and backend before schematic traversal. Allows gnetlist.scm and backends to define scheme procedures and variables which may be used to control the schematic traversal process. Since some portions of of gnetlist.scm are evaluated immediately upon load, yet require execution _after_ schematic traversal, these portions have been split out from gnetlist.scm into a new file, gnetlist-post.scm which is loaded after traversal. The moved definitions are those of "packages", "all-unique-nets", "all-nets", "all-pins", and the refdes aliasing functionality. commit 82dd20fe6d7a5022cebcc40c2a6ad73af230901c Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Wed Jan 9 23:00:55 2008 +0000 Change some tabs in gnetlist.c to spaces. Alter some other whitespace. commit c29a844384a176d2880ee47aac8999ef017e50a2 Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Wed Jan 9 22:08:05 2008 +0000 gnetlist: Clean up some old comments and EOL whitespece in gnetlist.c commit b2380c0f70344117be7045a5fc1483698fdf4358 Author: Ales Hvezda <ahvezda@seul.org> Date: Sat Jan 5 20:57:51 2008 -0500 Bumped versions to 1.3.1/20080110/32:0:0 for the next development snapshot Note, libgeda's so did not change at this time. commit 5f3cde4f20975275cb38b52cd3155fda41201209 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Tue Jan 1 17:24:18 2008 +0000 Fix configure checks for Guile (again). The previous patch missed changing the gschem configure script (generated from configure.ac.in), and got the logic wrong anyway. commit b9ffb4675fbca6e92a4f713c28486e74dcbbeef4 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Tue Jan 1 15:42:13 2008 +0000 Fix configure checks for Guile. Quote variables to protect them and alter version test logic so that it doesn't think version 2.1 is older than 1.8. commit 2f7e3ae60480743a8268d392272d05bd77dd75c8 Author: Ales Hvezda <ahvezda@seul.org> Date: Mon Dec 31 20:43:08 2007 -0500 Updated all ChangeLogs for the past development release (1.3.0) This step was supposed to happen before the 1.3.0 tarballs were released. These changes will be picked up in a subsequent release. commit ba474af87840a0d49e04a00de96b7df2944c09bd Author: Ales Hvezda <ahvezda@seul.org> Date: Sat Dec 29 09:57:43 2007 -0500 Bumped versions to 1.3.0/20071229/32:0:0 for the next development snapshot commit 9d3166d44b07da85ac1c4e0185daf0c67e7096ea Author: Ales Hvezda <ahvezda@seul.org> Date: Sat Dec 29 09:52:29 2007 -0500 Commented out test which now no longer runs correctly because of slotting fix. The slotting fix is commit 5852e531717ba947b7acca39e50f71edd5921f06. commit e5f31fa0ba725c4a8a7dcacb47166a1468a357b6 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Sun Dec 23 21:26:02 2007 +0000 gnetlist: Make drc2 backend not emit exceptions. The drc2 backend reports drc violations by emitting an error, but it can do it more gracefully using the Guile display function. commit e4c80c8a9930ebef25427053d33c5038feed31d0 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Sun Dec 23 21:12:49 2007 +0000 gnetlist: Fix segfault on failing to load schematic. Segfault was introduced when schematic load error messages were added in commit b635ebb641383360e5e7864830d42d13cf7f4d12. commit fc7b46cce236e52af5d9f9b4f38061595ed5129e Author: Peter TB Brett <peter@peter-b.co.uk> Date: Sun Dec 23 20:57:33 2007 +0000 gnetlist: Hide a debug message from spice-sdb [1856326] A user complained that it appeared to be an error message and was offputting for users. Changed it to use debug-spew. commit 3b040cf8d60a8fbe45f6e7c5f3d71a3dea119357 Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Wed Dec 19 17:48:57 2007 +0000 Add intltoolize to the build infrastructure Provide intltoolize infrastructure for translating .desktop and MIME XML files. Run gettextize after intltoolize if required, so that the infrastructure for providing libintl on a non GNU system still works. commit b635ebb641383360e5e7864830d42d13cf7f4d12 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Fri Dec 7 21:48:17 2007 +0000 Print useful messages when f_open() fails. This reinstates error messages removed by the patch which modified f_open() to use GError for error reporting. commit be301530f468e4d0057b3be68e218ac444c2d2be Author: Peter TB Brett <peter@peter-b.co.uk> Date: Fri Dec 7 17:20:55 2007 +0000 Make libgeda's f_open() & f_open_flags use GError. This patch actually *removes* error message output from file loading errors is some cases. This is for the sake of keeping the patch concise, and will be addressed in later patches. commit ae225157603f063747709fa3d639ed8cdf63f6b1 Merge: 1abfd25 43b5713 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Tue Nov 27 07:53:37 2007 +0000 Merge with Cesar's mingw/pu branch Merge commit 'cesar/mingw/pu' into premerge commit 8b490a404e682ac4f1e4cbd46e22c92f58b2ae76 Author: Tomaž Å olc <tomaz.solc@tablix.org> Date: Fri Nov 23 21:42:50 2007 +0000 Compilation fixes for Mac OS X 10.5 [1832417] This patch contains changes to gEDA source tree that were necessary to compile on Mac OS X (10.5 Leopard, PPC). commit 43b571362e5fb663115ee1630b94c88cb74f0c13 Author: Cesar Strauss <cestrauss@gmail.com> Date: Sun Nov 11 18:24:10 2007 -0200 Replace index and rindex by strchr and strrchr. These are functionally equivalent, and more portable to MinGW. commit bdd7ef7ee9047c3942b43c165396ebe48d31e95a Author: Cesar Strauss <cestrauss@gmail.com> Date: Sun Nov 11 14:17:21 2007 -0200 Use g_path_is_absolute from GLIB instead of platform specific code. commit 40c0582e39d6a7ed0a41e0e5deedc0bfd03bbddc Author: Cesar Strauss <cestrauss@gmail.com> Date: Thu Nov 15 19:11:12 2007 -0200 Use forward slashes as path separators on MinGW. They are also acceptable as path separators on MinGW. commit d715ba7dc3e02d77e671b9ab54b994379daefec5 Author: Cesar Strauss <cestrauss@gmail.com> Date: Thu Nov 15 13:34:40 2007 -0200 Tell git to ignore .exe files. commit 23ead18086e59aab22945c37ff95f49e5747f277 Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Wed Oct 17 04:50:39 2007 +0100 Remove the ATTRIB linked list in favour of a GList The ATTRIB.copied_to pointer is moved from the ATTRIB struct to reside in the source OBJECT being copied. The ATTRIB *attached_to pointer of an attribute's text OBJECT is changed to OBJECT *attached_to, pointing directly at the OBJECT to which that attribute is attached. This avoids the need to traverse the ATTRIB list and retrieve this pointer from the HEAD attribute node. (A HEAD node is not used in the GList of ATTRIBs). The ATTRIB structure now only contains one element, OBJECT *object. This points to the text OBJECT holding and displaying that attribute's "name=value". commit 4595948e41b2d195eb78a820fc15d0d8596067a4 Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Thu Oct 4 02:34:50 2007 +0100 Avoid accessing (GList)->{next|priv} directly to aid debugging. Instead use g_list_{next|previous}, allowing us to catch errors where changing from gEDA structures which had their own next and prev pointers. To debug, edit the glist.h include file from glib, renaming the next and prev elements in the GList structure and macros. Recompile gEDA to see any bad accesses such as those where the HEAD nodes were previously skipped. commit 2e3c06cbcdce8254f70162ecebd650980cf70ee9 Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Sun Sep 9 00:18:34 2007 +0100 Remove the globally exported variable_set_func. Only gattrib provided a non-NULL export of this symbol, and such imports into libgeda prevent libgeda being dynamically linked on some platforms. To better match the other tools in the suite, gattrib's i_vars_set() and i_window_vars_set() functions were combined into a single i_vars_set(). commit 8952ec9bd4f4985fae8aadd6c4103b933464152a Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Sun Sep 9 00:01:14 2007 +0100 Remove unused extern variables from libgeda, gnetlist and utils. commit adca8b7d5897b11331c6a20392d22ad1e58ee572 Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Mon Sep 3 12:15:43 2007 +0100 Replace the linked list of PAGEs with a GedaList (typecast to GedaPageList) commit 086908ed44c9abc6d5907888695933b59ead4684 Author: Ales Hvezda <ahvezda@seul.org> Date: Sun Sep 2 22:48:59 2007 -0400 Last minute updates to the READMEs for all projects Cherry picked from stable-1.2 branch, since these changes apply to master too. (cherry picked from commit 88fcb8d1bcdaa1436572d6a0ebe86f4df242a8d6) commit 0aad767df307a70d9fefc73fb08a49908cc26706 Author: Ales Hvezda <ahvezda@seul.org> Date: Sun Sep 2 16:50:29 2007 -0400 Fix for Bug#1776547: graphical versus source The usage described in Bug#1776547 is pretty unique, but it might be handy to support in general. The recursive source= and graphical= behavior is a unexpected side effect of the traversal of graphical symbols/components (552e06e921e4b6eb758b9483d1913c39b3fef5f5). The fix is to explicitly check for the graphical= attribute and if it is found to not further traverse the hierarchy. Regression tests were added so this behavior doesn't change in the future. commit 6056ef48272778419d39e0233f395bfd60019ab9 Author: Ales Hvezda <ahvezda@seul.org> Date: Sun Aug 19 22:40:19 2007 -0400 Update ChangeLogs using: ./update-changelogs.sh 1.0-20070526..master commit 92b3b65d0cec286b0ce59fc43cc07dcb60c39fa1 Author: Ales Hvezda <ahvezda@seul.org> Date: Sat Aug 18 16:14:30 2007 -0400 Bumped versions to 1.1.2/20070818/30:2:0 for the next development snapshot commit 72c4db8aa20c22baa4243a0d27b3bb3f32f3ef64 Author: Ales Hvezda <ahvezda@seul.org> Date: Tue Aug 14 07:46:06 2007 -0400 Moved 3 rc promotion keywords from gschem into libgeda (fix for bug#1748143) All the promotion keywords were moved from gschem into libgeda to fix: [ 1748143 ] gschlas causes duplicate prompted attributes The primary cause of this bug was that the promotion variables within TOPLEVEL were not being setup by gschlas and so duplicate refdes attributes were showing up in the schematic. The three rc keywords that were moved are: (attribute-promotion ... ) (promote-invisible ... ) (keep-invisible ... ) commit 703151a94b0eece6b24b3b18ce2465eeae068814 Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Thu Aug 9 12:36:17 2007 +0100 Remove old prototypes from various prototype.h where no function exists. commit 71600215311af0a98ed371ab750b09182de139a1 Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Sat Aug 11 00:52:25 2007 +0100 Revert inadvertent commits: dbfe00a20de3f875e519ef60629b968977fc5db8 (commit) f1451161914a0ed0bb43123279906d82cb7d5b49 (commit) 2ad315fc0badd16a9614d1107b22c973908893d5 (commit) d8844bb48969aa45a05cbe6836fc96c198e88c19 (commit) ee1b64a1ae07eb99eae5d63307e9fe23f9604662 (commit) commit d8844bb48969aa45a05cbe6836fc96c198e88c19 Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Fri Aug 10 21:26:10 2007 +0100 Replace the linked list of PAGEs with a GedaList (typecast to GedaPageList) commit 0f5c72daacfa7d78666769e4063122934861da5c Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Sun Aug 5 22:36:56 2007 +0100 Alter guile 1.6 compat tests to work with older autoconf versions Don't use AC_DEFINE to define function like macros, instead use AC_CHECK_DECLS to set a HAVE_DECL_..., then use AH_VERBATIM to insert a test which defines a replacement if necessary. commit 5c098070b87709540345afb1b3b79d9db470ed53 Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Thu Aug 2 22:09:52 2007 +0100 Fix configure checks enabling guile 1.6.x compatability routines. commit c31bd4adb677d671af8bdf5aed71f96a4995f9b1 Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Tue Jul 31 20:03:51 2007 +0100 Changed configure.ac(.in) to allow guile-1.6 Introduces compatibility #defines where guile 1.8 funcs are missing in guile 1.6. Also adds missing configure.ac checks for guile in packages gattrib, gnetlist, gsymcheck and utils. commit 525b4a0ff3a1b8cc321f117513796e4571702da8 Author: Bernd Jendrisse <bernd.jendrissek@gmail.com> Date: Sun Jul 29 09:56:33 2007 -0400 Applied patch to use $(GROFF) instead of which groff commit 31f65059cf1ce5be9b8a0987d4538fed075a6805 Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Wed Jul 25 02:09:15 2007 +0100 Fixed two calls to free() where g_free() should have been used. Updated Doxygen comments to note where memory should be freed with g_free() rather than free(). Commented three instances where free() is correct. commit e978b9098c7567ad3b9c834a5e4914de3bc039ec Author: Ales Hvezda <ahvezda@seul.org> Date: Sun Jul 8 18:18:39 2007 -0400 Updated ChangeLogs using ./update-changelogs.sh 1.0-20070526..master commit d7e8f5abc35644e90bfabf84396023cab09f2968 Author: Ales Hvezda <ahvezda@seul.org> Date: Sun Jul 8 16:18:57 2007 -0400 Updated configure.ac[.in] and Makefile versions in prep for a release. The update was done by running ./update-versions.sh 1.1.1 20070708 30:1 at the toplevel. libgeda's shared library version is now 30:1:0 commit 3f3505662fe4bb8c585aea0ea965296bd923956c Author: Carlos Nieves Onega <cnieves@iespana.es> Date: Sun Jul 8 21:16:17 2007 +0200 Added *~ to .gitignore files. commit 0cde8c1cf6c863946c3d4acdc9e9165c99526bef Author: Ales Hvezda <ahvezda@seul.org> Date: Thu Jul 5 01:52:04 2007 -0400 Updated gnetlist ChangedLog to include the new backend addition commit b692c010f9ccf0b89ff1ad653ff1c5a812887cc3 Author: Ales Hvezda <ahvezda@seul.org> Date: Thu Jul 5 01:43:47 2007 -0400 Added new gnetlist backend by John P. Doty commit dd995d808b9f4440db48d2daa2473a9d9cfd88ef Author: Ales Hvezda <ahvezda@seul.org> Date: Thu Jul 5 01:36:31 2007 -0400 Updated ChangeLogs using ./update-changelogs.sh 1.0-20070526..master commit 099c49e5689afda4b8a5221dde73f9fdf1972ce7 Author: Ales Hvezda <ahvezda@seul.org> Date: Thu Jul 5 00:11:45 2007 -0400 Updated all version strings to 1.1.0 and 20070705 commit 87731dda219b0986fed0d1a7789e17678dd79d8c Author: Ales Hvezda <ahvezda@seul.org> Date: Wed Jul 4 23:55:07 2007 -0400 Removed AM_MAINTAINER_MODE from all configure.ac[.in] files. Maintainer mode is no longer needed or desired now that we are no longer using CVS. Hopefully this will prevent some of the odd problems that were observed during the last release when the Makefile's didn't get auto regenerated. commit dc7b8c53f4bc94626634887e46167a367a91f707 Author: Ales Hvezda <ahvezda@seul.org> Date: Wed Jul 4 23:32:15 2007 -0400 Changed gEDA/gaf's version mechanism to use new dotted X.Y.Z convention Added DOTTED_VERSION and DATE_VERSION variables to all configure.ac[.in] files. Changed all version related output to be DOTTED_VERSION.DATE_VERSION. Updated the configure.ac[.in] files to have consistent top sections. Updated code and various scheme files to use the new DOTTED_VERSION and DATE_VERSION variables available via config.h. Stopped using PREPEND_VERSION_STRING as the mechanism for doing the dotted versions (not intended for that use). Updated update-versions.sh script to set the version in all the configure.ac[.in] files and the toplevel Makefile. Went through all the g_rc.c files and make the handling of rc file mismatch handling consistent. commit 5237ea395af0ac1c4cecd18ea2a28291e3d48a90 Author: Ales Hvezda <ahvezda@seul.org> Date: Wed Jul 4 23:22:14 2007 -0400 Updated spice-sdb golden file to pass make check. commit b44a1e527497e55471a75b0af410e78310ed50d8 Author: Dan McMahill <dan@mcmahill.net> Date: Tue Jun 26 18:11:39 2007 -0400 guile-1.8.1 fixes and testsuite additions. Updated the cascade and pcbpins backends to work with guile-1.8.1. While here added a testsuite entry for these two backends. commit f8680b18c8e27617eccbbf158acb84ccac7ac386 Author: Dan McMahill <dan@mcmahill.net> Date: Tue Jun 26 16:20:58 2007 -0400 Portability fixes for the testsuite. Get the testsuite fully working on SunOS-5.9/sparc. This entails two issues. The "-I" option to diff is a GNU extension and is not supported by the solaris diff. Work around this by using sed to filter out the lines which were to be ignored. This addresses the tests run by gnetlist/tests/runtest.sh. The other issue is that the longopts tests in the spice-sdb testsuite should not be run on a system that does not have getopt_long(). To address this, extend the run_tests.sh to allow a variable in the tests.list file to disable a test unless set to "yes". commit 57b2848a7e69d19e18ac03a1264cb55d41c65d0e Author: Ales Hvezda <ahvezda@laptop.ales.net> Date: Mon Jun 25 22:31:07 2007 -0400 Changed/updated the #define mechanism for creating custom gEDA/gaf versions. Previously this mechanism was used to create custom versions of gEDA/gaf. With the coming of stable and development versions of gEDA/gaf, this mechanism was changed so that end users can tell the difference between a stable release vs a development release (by looking at the version string). The CUSTOM_VERSION #define was changed PREPEND_VERSION_STRING and is now prepended to any strings that output the VERSION string. commit dc0917b142d9c00af33065ce9eaac8b0a6dc3448 Merge: fee96ef 0ad58a2 Author: Dan McMahill <dan@mcmahill.net> Date: Mon Jun 25 09:45:22 2007 -0400 Merge branch 'master' of git+ssh://dan@git.gpleda.org/home/git/gaf commit fee96effc220e78acddf9721a6bd9d0c34bef881 Author: Dan McMahill <dan@mcmahill.net> Date: Mon Jun 25 09:39:17 2007 -0400 Add missing reference files to distribution and re-enable checks. Updated the list of reference files that go into EXTRA_DIST so that 'make distcheck' can work again. Now the this is fixed, re-enable the spice-sdb teststuite. commit 0ed9cf080cfc8509cb29cbe4e976f86b2821c407 Author: Ales Hvezda <ahvezda@laptop.ales.net> Date: Sun Jun 24 23:48:51 2007 -0400 Updated copyright text/header in most source files. Updated all copyright text dates that have my name (Ales) associated with them. Added gEDA contributer copyright text where appropriate. Fixed a bunch of GNU text typos (these should have been either GPL or gEDA). Removed some $Id$ tags which are no longer used/needed. Fixed a few file header that were just plain incorrect. commit a4e956c6272ea982ec54327dcc5e3aa528ac8c99 Author: Ales Hvezda <ahvezda@laptop.ales.net> Date: Sun Jun 24 22:22:32 2007 -0400 Added *.o (all object files) to all src .gitignore files. commit edff766e8b15c311505810241528026f722e30b6 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Sat Jun 23 18:19:11 2007 +0100 Make sure various files are installed. Several new files were not being distributed. This patch addresses the problem by adding files to EXTRA_DIST in automake input files. commit e57c37a66edc1c4d4e4d7160001749df51b96c4b Author: Peter Clifton <pcjc2@cam.ac.uk> Date: Sat Jun 23 18:17:29 2007 +0100 Move all .cvsignore files to .gitignore files commit 065595ccd8b5e77616c29a37742357cfab0ae7f7 Author: Peter TB Brett <peter@peter-b.co.uk> Date: Sat Jun 23 16:11:44 2007 +0100 Changes to ChangeLog usage. With actual changes this time. Old-style changelogs as of gaf 1.0 (release of 26th June 2007) are moved to ChangeLog-1.0; new (blank) ChangeLogs replace them. A script has been added to the gaf top level to allow maintainers to update all the ChangeLog files immediately prior to making out a release. commit b7089bcc123e52bbadd6e635c823d937e620b75b Author: Ales Hvezda <ahvezda@seul.org> Date: Sat Jun 9 18:29:22 2007 +0000 Commited new version of gnet-calay from John with various fixes. commit eed0be648afd9bc421a8d0059de621df778c5fbe Author: Carlos Nieves Onega <cnieves@iespana.es> Date: Sat Jun 9 16:09:36 2007 +0000 Avoid writting '\r' to files on MinGW. Applied patch #1733826 from Cesar Strauss. Thanks. When using the "w" mode in fopen, MinGW translates LF into CR-LF. This creates havoc when reading the same file again, when sharing schematics files with other systems, and when placing them in a VCS. This can be avoided by using the "wb" mode. The "b" is ignored on all POSIX conforming systems, according to these sources: http://www.die.net/doc/linux/man/man3/fopen.3.html http://www.opengroup.org/onlinepubs/009695399/functions/fopen.html There are other ways, however. Adding #include <fcntl.h> int _fmode = _O_BINARY; on some source file should work as well. Another way is linking against the MinGW supplied binmode.o, which does exactly that. commit 3d58ffc27e6d915c4b1ebbd6f6b96d98d6126b7b Author: Peter TB Brett <peter@peter-b.co.uk> Date: Mon Jun 4 16:15:37 2007 +0000 Replace deprecated Guile functions & macros. Replace deprecated SCM_STRINGP, SCM_INUM, SXM_INUMP & SCM_MAKINUM with recommended equivalents for Guile 1.8.