commit bbb663612afa98c274279edbe167f86dd7b3f6d8
Author: Peter TB Brett <email address hidden>
Date: Sun Nov 18 16:03:31 2012 +0000
Final .po file update before release.
commit 87f1e0e76965a514277c949dbf2191993962cb88
Author: Peter TB Brett <email address hidden>
Date: Sun Nov 18 15:26:09 2012 +0000
Update version numbers to 1.8.0-20121118.
commit 9a7ed8306b3cfa753b311453203f4ece919a7dd8
Author: Peter TB Brett <email address hidden>
Date: Sun Nov 18 15:19:25 2012 +0000
Update docs for 1.8.0.
commit ab37d4abc3e64078aeb2b6e5bda69f7afefc31bd
Merge: 22b71fb 3d3d9b7
Author: Peter TB Brett <email address hidden>
Date: Sun Nov 18 17:14:21 2012 +0000
Merge branch 'wiki-import' into stable-1.8.
commit 22b71fb85dd6b5665c3961d9d06e1355ebf5b358
Author: levente <email address hidden>
Date: Fri Apr 20 00:00:00 2012 +0000
gsch2pcb: Handle unit suffixes at element update.
gsch2pcb rewrites the Element() line while it updates an element. The
coordinates are interpreted by atoi(). New versions of PCB uses unit
suffixes like 12.4mm. When this read by atoi(), it'll return only the
integer part. It then writes back to the Element, without suffix. PCB
then interpret as micro inches.
Closes-bug: lp-986053
Reviewed-by: Peter TB Brett <email address hidden>
commit 3d3d9b7b71e05e0d1fbeef81bf95a75a05f6d3df
Author: Peter TB Brett <email address hidden>
Date: Sun Nov 18 10:46:11 2012 -0500
Automatic wiki import (Sun Nov 18 15:46:11 UTC 2012)
commit 7f6d142d6a17d77d3185f8bbc690d13f2e128c18
Author: Krzysztof Kościuszkiewicz <email address hidden>
Date: Mon Jan 30 23:32:34 2012 +0100
gschem: fix segfault when multiple windows are closed
Reported-by Vladimir Zhbanov <email address hidden>, introduced in
commit 8342bddce4487edf4a7214d5d6ab83cb73a066d4.
Add new function gschem_toplevel_alloc_libgeda_toplevel which allocates
the TOPLEVEL and appends new hooks that force pin cues redraw when net
connectivity changes.
Previously each new TOPLEVEL had invalidation hooks attached which had
the GSCHEM_TOPLEVEL hardcoded, pointing at the very first window created
when gschem was launched.
Closes-bug: lp-1070243
commit 7c9f572ccf61966f4e97377f892dbe76df760194
Author: Peter TB Brett <email address hidden>
Date: Sun Nov 18 07:40:46 2012 +0000
scheme-api: Add unit test for connections to nets in symbols.
Affects-bug: lp-994361
commit f0b0b0d7e26cae671692a23edc0251a59c3a7e6b
Author: Peter TB Brett <email address hidden>
Date: Sat Nov 17 22:39:42 2012 +0000
gschem: Add "fully-connected" net to "drawing primitives" example.
Useful for testing how net ends appear, now that the
"connection-tracking" function has been added that affects when
warning markers are printed at the ends of nets.
commit b05cebd0abac635d91d680e43c6291a4739f5e9f
Author: Peter TB Brett <email address hidden>
Date: Sat Nov 17 21:38:44 2012 +0000
libgeda: Draw arrows on 'connected' dangling net ends.
Follow-on patch from commit 1598b5884ba8, to add arrow endings on printed output.
Affects-bug: lp-1014160
commit 1598b5884ba8790efe713907c5707240c97a934e
Author: Peter TB Brett <email address hidden>
Date: Sat Nov 17 21:35:31 2012 +0000
gschem: Draw arrows on 'connected' dangling net ends.
Recently, gschem was changed to not draw anything at a net endpoint
when it thinks the net is connected. This has the drawback that in
some cases the eye can be fooled into thinking that two nets are
connected together when they are not, with the concomitant risk of
badly breaking a design.
This patch alters gschem to draw an arrow in 'junction colour' on
dangling net segment ends when it thinks the net is properly
connected. This is not an ideal solution, but should go most of the
way towards solving the "invisible errors wrecking my expensive
boards" problem.
A follow-up patch should probably do the same for printed output.
Affects-bug: lp-1014160
commit e9b3fa86d721324688ab6d28bfbc2f417e7828a0
Author: Joe Mac <email address hidden>
Date: Sat Nov 17 21:31:24 2012 +0000
gattrib: Make "Add new attribute column" actually insert column.
I first saw bug 698608, which seems to be a duplicate of this bug, and
came up with a patch that corrects the behavior and inserts the empty
data column under the right column heading. The problem was that the
header gets alphabetically sorted into the others (after device,
footprint, and value) but the code immediately following that inserts
the new column after the last column, which seems to be making the
assumption that the headers do not get sorted.
My patch adds a new s_string_list function
(s_string_list_find_in_list()) that searches for a given string in the
list and returns the index (or -1, if it's not there), unlike the
existing function (s_string_list_in_list()) (that I copied from but
didn't touch) which just returns 1 as soon as it finds a matching
string, or 0, if it's not there. I then added code in
s_toplevel_add_new_attrib() that uses the new function to determine
where the new column header was placed and insert the new data column
at that index (instead of at the end).
Closes-bug: lp-698575
Reviewed-by: Peter TB Brett <email address hidden>
commit 67c6022ba512e33b242aa62d0448385893471554
Author: Jeff Mallatt <email address hidden>
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 <email address hidden>
commit 9b3d4d13339ee0f20ddb6d19bf294e3a2e97aabd
Merge: 928786d 846f4cf
Author: Peter TB Brett <email address hidden>
Date: Sat Nov 17 20:35:18 2012 +0000
Merge branch 'wiki-import' into stable-1.8
Conflicts:
configure.ac
docs/Makefile.am
commit 846f4cfa3a6c75e7e443a95a1f0e969f0334d313
Author: Peter TB Brett <email address hidden>
Date: Sat Nov 17 15:16:46 2012 -0500
Automatic wiki import (Sat Nov 17 20:16:46 UTC 2012)
commit cb5a7ec70bc10d0d4ac1462fd5ecbd3b4b019ffc
Author: Peter TB Brett <email address hidden>
Date: Sat Nov 17 19:26:13 2012 +0000
Update configure.ac to remove deleted Makefile.
commit e5f92e7eb4800a2e00a3d1bfd7f5c2922ce9976a
Author: Peter TB Brett <email address hidden>
Date: Sat Nov 17 19:01:43 2012 +0000
docs: Remove wiki-related scripts that are no longer needed.
commit 7036a55451875d323e833a85c32133e1a63333fa
Author: Peter TB Brett <email address hidden>
Date: Sat Nov 17 18:48:11 2012 +0000
Drastically simplify wiki Makefiles.
Removes the need to explicitly list all wiki files in the Makefiles
and keep those lists up-to-date when the wiki changes.
commit 928786d234aa95d368fe3cc8c62783cc5717dfe2
Author: Bert Timmerman <email address hidden>
Date: Sat Nov 17 09:17:24 2012 +0000
Fix bad keyword in PostScript headers.
Signed-off-by: Bert Timmerman <email address hidden>
commit 5c2c75614ee878fc792aaa6407aecc030cfd95dc
Author: Peter TB Brett <email address hidden>
Date: Fri Nov 16 23:04:09 2012 +0000
gnetlist: Add -o option to --help output.
Closes-bug: lp-1079714
commit 546d2bb9333209059a00810ddf386242651cdb95
Author: Sergey Alyoshin <email address hidden>
Date: Fri Nov 16 22:13:06 2012 +0000
gschem: unreference existing view models on library refresh
Closes-bug: lp-1075142
commit 91865f5d9ad9730ca62c75a29349b7ebd296ad74
Author: Peter TB Brett <email address hidden>
Date: Fri Nov 16 21:28:10 2012 +0000
libgeda: Fix potential NULL dereference in o_read_buffer().
In the case that a schematic file contained an embedded component
section start symbol before any object definitions, a segfault would
occur due to a NULL deference.
Coverity-ID: 201783
Closes-bug: lp-1079586
commit e6cdf09ad9330c2066363809f7839f698ca2476b
Author: Peter TB Brett <email address hidden>
Date: Thu Nov 15 23:22:20 2012 +0000
Hand-merge Dutch translations from master branch.
Merge Dutch translation improvements made by Bert Timmerman in from
the unstable branch (commits 4b17c888, f9bd70f6, and a164660f).
commit f7fab3715f984c374f41d7c2d74fc2802bbb4e7a
Author: Gareth Edwards <email address hidden>
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 <email address hidden>
Date: Thu Nov 15 08:32:50 2012 +0000
gnetlist: Updated bug filing and homepage URLs in usage message
commit 7fa131aa1b861c1c1c5f3c48230742ee60e4d2b7
Author: Gareth Edwards <email address hidden>
Date: Thu Nov 15 08:52:22 2012 +0000
utils: fix typo in pads_backannotate man page
commit 24ef353613c1a0114920a90c89167127cbcdf925
Author: Gareth Edwards <email address hidden>
Date: Wed Nov 14 21:45:45 2012 +0000
gschem: update translations with new URLs in usage message
Commit 10e8788d updated the address for filing bugs and the gEDA/gaf
webpage. Update the translation strings to match.
Affects-bug: lp-926456
commit 96a2822b1e5b5ee9d789dea2cd7b0efa04c70b01
Author: Gareth Edwards <email address hidden>
Date: Thu Nov 8 19:07:28 2012 +0000
gschem: replace deprecated calls to g_strcasecmp ()
g_strcasecmp() is deprecated, so replace it with a combination of calls
to g_utf8_collate() and g_utf8_casefold() in various bits of dialog code.
commit eeba9560d8c015a6ce3bba2ad9d489e42a4bd8b0
Author: Gareth Edwards <email address hidden>
Date: Wed Oct 31 22:59:41 2012 +0000
gschem: remove unused pointer values in multiattrib code
In function multiattrib_action_promote_attribute(), the pointer
"o_new" returned by "o_attrib_add_attrib()" is never used. In
function attrib_edit_dialog_ok(), Pointer "new" returned by
"o_attrib_add_attrib()" is never used. In
gschem_action_connect_proxy(), "label" is unused. Replace all with
cast to (void).
Coverity-ID: 201684
Coverity-ID: 201683
Coverity-ID: 201682
commit fcc86ea9c48b5a85fa03ac099f3c4c1e0584e0d6
Author: Sergey Alyoshin <email address hidden>
Date: Thu Nov 1 21:22:39 2012 +0000
Add TAGS files produced after make tags to .gitignore
Closes-bug: lp-1027402
commit b53f5f835abcaa8f8ff4b32cb650cfbb2e2da38c
Author: Gareth Edwards <email address hidden>
Date: Mon Mar 19 20:54:37 2012 +0000
libgeda: Remove redundant checks against NULL in s_encoding.c
The variable dst can't be NULL (g_new() will terminate on error) so there is
no reason to repeatedly check it against NULL. Remove the checks.
Coverity-ID: 201596
Closes-bug: lp-959702
commit 098044feb4e53d9cc49a57a0071e36b62d6c9d9f
Author: Gareth Edwards <email address hidden>
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 e7b0a2338de5f31d2bab6d3348fec69ae9c9c2fa
Author: Gareth Edwards <email address hidden>
Date: Mon Oct 29 15:14:10 2012 +0000
gschem: replace deprecated call to g_strcasecmp () in gschem-version Guile function.
g_rc_gschem_version() was using g_strcasecmp () which has been deprecated since
glib 2.2. Replace it with UTF8 implementations as recommended in the glib
documentation.
commit d189176e41b642ddd227cf35dc0535574560084a
Author: Gareth Edwards <email address hidden>
Date: Mon Oct 29 18:14:46 2012 +0000
gschem: suppress compiler warning in line type dialog code
gcc is complaining that "end" may not be set. Pre-set it to a sensible
default at declaration.
commit 85113c7d1245ca1b3aed45a7fc4cf771b5795f40
Author: Gareth Edwards <email address hidden>
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 0e8dada182d9045677e92d44f9254f1f07b375b3
Author: Gareth Edwards <email address hidden>
Date: Fri Mar 16 21:54:45 2012 +0000
gschem: fix unsafe use of strncpy
Make sure string is zero-terminated after using strncpy.
Coverity-ID: 201559
Coverity-ID: 201560
Coverity-ID: 201561
Coverity-ID: 201562
commit ac4757af8ef6db9509e137f49ae1b106ea4698a4
Author: Gareth Edwards <email address hidden>
Date: Fri Mar 16 21:35:44 2012 +0000
gschem: Remove dead code
Default statement in switch in o_arc.c will never be executed due to the
earlier "if" statement.
Coverity-ID: 201571
commit ce0a9ee83906859b632e19a4c16f9ec0fa1f3958
Author: Gareth Edwards <email address hidden>
Date: Fri Mar 16 21:18:32 2012 +0000
libgeda: fix dereference after NULL check
Retest for NULL before making a member comparison.
Coverity-ID: 201599
commit 9f3084edd1a6cf70bb6f4a6458d7caebce93a833
Author: Gareth Edwards <email address hidden>
Date: Mon Jul 2 22:13:32 2012 +0100
libgeda: only include top level glib header
glib 2.0 does not permit the inclusion of glib/gmem.h, glib/gmessages.h etc. but only
the top level glib.h file. Remove references in s_path.c to the sub-files and only
include the top level file.
Closes-bug: lp-934261
commit 10e8788d2bc4d227dc62bd46013ab29ca5b4219c
Author: Gareth Edwards <email address hidden>
Date: Mon Mar 19 22:28:51 2012 +0000
gschem: update usage with bug-filing address
Change the bug filing address from email to the launchpad site. Also
update the website address for the gEDA project and update the copyright
date range for the file to include 2012.
Closes-bug: lp-926456
commit f0923997c5ea727f6b73afad23ee2f974ac6b6b0
Author: Gareth Edwards <email address hidden>
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 8eb5b8724c3ce8c2d3e7db9c030ad97dc585c1ee
Author: Peter TB Brett <email address hidden>
Date: Wed Nov 14 17:32:48 2012 +0000
gattrib: Import translations from Launchpad
commit a6dff5449e17ebe2bd3a6a4ee4ca0fabef9d04bb
Author: Peter TB Brett <email address hidden>
Date: Wed Nov 14 17:15:13 2012 +0000
gschem: Import translations from Launchpad
N.b. Did not import AF, AR, or ZH_CN translations, as
Launchpad translations were less fully-translated than translations
already in tree.
commit 92ea83ad1e12f6e5150f956a0c12586b6187c455
Author: Peter TB Brett <email address hidden>
Date: Wed Nov 14 17:08:57 2012 +0000
libgeda: Import translations from Launchpad
N.b. Did not import DE, HU, PL, RU, or ZH_CN translations, as
Launchpad translations were less fully-translated than translations
already in tree.
commit eee335e47010e24b309520c5d740ea542d9d60ce
Author: Peter TB Brett <email address hidden>
Date: Sat Feb 11 23:08:57 2012 +0000
libgeda: Correct 'const const' in header file.
Reported-by: Dan McMahill <email address hidden>
commit 74f1fcc061a4f08ed4bcce3dba7c6e1f3006c41d
Author: Peter TB Brett <email address hidden>
Date: Thu Feb 9 12:51:41 2012 +0000
gschem: Fix unchecked return value.
Coverity-ID: 201567
commit f7ee97307f4fbb95f76b57611260f8eb4142a6af
Author: Peter TB Brett <email address hidden>
Date: Thu Feb 9 12:44:43 2012 +0000
libgeda: Remove dead code.
Coverity-ID: 201570
commit 4aad1adbe2fe6da7b26013c97dd1359775008447
Author: Peter TB Brett <email address hidden>
Date: Thu Feb 9 12:19:22 2012 +0000
libgeda: Fix explicit NULL dereference.
In s_hierarchy_down_schematic_single(), NULL may be dereferenced if an
invalid flag argument is passed to the function. Adding a default
branch to the switch statement should resolve this.
Coverity-ID: 201600
commit a110456ce03822ed543efd27e827d497076ebf41
Author: Peter TB Brett <email address hidden>
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 6a5247b6d5706c95f8f9af3b9f056b035603ee2f
Author: Peter TB Brett <email address hidden>
Date: Thu Feb 9 12:07:10 2012 +0000
gschem: Fix dereference after NULL check.
In o_undo_savestate(), we assume that u_current must be non-NULL.
Make this explicit by adding an assertion.
Coverity-ID: 201602
commit ab3a3cbcbf3000579504ac454698ea34e0eaf9e1
Author: Peter TB Brett <email address hidden>
Date: Thu Feb 9 11:59:16 2012 +0000
libgeda: Fix explicit NULL dereference.
When printing a text OBJECT with an invalid show_name_value field,
o_text_print() could dereference NULL. Adding a default case to the
switch statement should fix this.
Coverity-ID: 201603
commit 02b5c2057d616cce6f70fceed72f7105a1fc2bef
Author: Peter TB Brett <email address hidden>
Date: Thu Feb 9 11:49:05 2012 +0000
libgeda: Fix dereferences after NULL checks.
In some cases, it is actually correct to *remove* the NULL checks,
since the functions in question are internal libgeda implementations
and can assume that the caller has sanity checked arguments.
Coverity-ID: 201604
Coverity-ID: 201605
Coverity-ID: 201606
Coverity-ID: 201607
Coverity-ID: 201608
Coverity-ID: 201609
Coverity-ID: 201610
Coverity-ID: 201611
commit 133970aaf70c1ed864765fdf51bbe165cb16337f
Author: Peter TB Brett <email address hidden>
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 7d75ec2492fba838f10f049966626189a7c1428d
Author: Peter TB Brett <email address hidden>
Date: Thu Feb 9 11:39:42 2012 +0000
libgeda: Fix comparison of array with NULL.
Comparing arrays to NULL has no effect.
Coverity-ID: 201622
commit d5e24a5b478e74ce2a4d0220c882247f4ae4ad92
Author: Peter TB Brett <email address hidden>
Date: Thu Feb 9 11:38:11 2012 +0000
libgeda: Fix dereferences before NULL checks.
Coverity-ID: 201630
Coverity-ID: 201629
commit e5465cc12e620be1c4cf6d2b41f672d6c13f97cc
Author: Peter TB Brett <email address hidden>
Date: Thu Feb 9 11:27:51 2012 +0000
gschem: Fix buffer overruns in buffer handling code.
Off-by-one errors.
Coverity-ID: 201623
Coverity-ID: 201624
Coverity-ID: 201625
commit 3a79b63d7b99b755ec42c6ec506181415eae321c
Author: Peter TB Brett <email address hidden>
Date: Thu Feb 9 11:27:44 2012 +0000
libgeda: Fix buffer overrun in s_menu_return_entry().
Off-by-one error.
Coverity-ID: 201626
commit c17cb9cd38af503e681fc673145e3f10e3cb5249
Author: Peter TB Brett <email address hidden>
Date: Thu Feb 9 11:27:38 2012 +0000
libgeda: Fix resource leak in f_print_header().
f_print_header() leaked a file pointer to the PostScript prolog file.
Coverity-ID: 201627
commit 9dba58e5c846089e955b5fe992250d76e150831c
Author: Peter TB Brett <email address hidden>
Date: Thu Feb 9 11:27:31 2012 +0000
libgeda: Fix uninitialised scalar variables.
Coverity-ID: 201659
Coverity-ID: 201660
Coverity-ID: 201661
Coverity-ID: 201662
Coverity-ID: 201663
Coverity-ID: 201664
Coverity-ID: 201665
commit 05dbec381e6bf1cfba9bde7ce7039d5d3d098d13
Author: Vladimir Zhbanov <email address hidden>
Date: Tue Feb 7 16:33:48 2012 +0400
Fixed wrong behaviour during gschem navigation
If you go down the same symbol during navigation from different places
you always come back to the schematic where you've done this first. This
patch fixes such a wrong behaviour.
Closes-bug: lp-698543
commit bc18e318ca1314586fc8626fcb8bd1937c69c10d
Author: Vladimir Zhbanov <email address hidden>
Date: Sun Jan 29 11:41:26 2012 +0400
libgeda: Fix incorrect Postscript output for missing pictures
Closes-bug: lp-923257
commit ea3a3214312203f886c10faa5a28ade7c5e9d4f6
Author: Peter TB Brett <email address hidden>
Date: Tue Jan 31 10:50:10 2012 +0000
gschem: Don't import srfi-69 in keymap.scm.
We don't currently use SRFI 69 functions in the keymap system anyway.
Closes-bug: lp-923874
commit fce53e03ceeb12966ce53ae9116ddd9333791a50
Author: Krzysztof Kościuszkiewicz <email address hidden>
Date: Thu Jan 19 00:02:21 2012 +0100
libgeda: rewrite s_cue_output_single
(cherry picked from commit b3dfc6c7124810598042a78fe2800f36699769c3)
commit 61447f19df1a6549dcc68fa66cd8bc1aa1e3ac1d
Author: Krzysztof Kościuszkiewicz <email address hidden>
Date: Wed Jan 18 23:57:19 2012 +0100
libgeda: fix printing of junction cues
Closes bug "disappearing dots in gschem" reported by
Gabriel Paubert <email address hidden>. Issue was introduced in
commit 65c68f9.
Additionally, now junction cues are also printed when 3 or
more pins are connected (same behavior as for net segments).
(cherry picked from commit f8a9c86e2e2fa7fa451cd504e62ebee6a3e73d2d)
commit 82e62f3dcb2a55f69a892b9922edeb4fde80244a
Author: Krzysztof Kościuszkiewicz <email address hidden>
Date: Wed Jan 18 23:54:10 2012 +0100
gschem: cleanup o_cue_draw_lowlevel
(cherry picked from commit bbcb153180b2c45fe74012059b428b06ad61eaae)
commit 18658e26cb65aa99b7dba4954a973000e057929f
Author: Krzysztof Kościuszkiewicz <email address hidden>
Date: Wed Jan 18 23:53:41 2012 +0100
gschem: fix drawing of junction cues
Closes bug "disappearing dots in gschem" reported by
Gabriel Paubert <email address hidden>. Issue was introduced in
commit 6cae96e.
Additionally, now junction cues are also drawn when 3 or more pins are
connected (same behavior as for net segments).
(cherry picked from commit 0df45c9f859537bf9683b7fa8fb3d4b35828672e)
commit 7943b8a2c696265b334dbfa4dce1101e95754024
Author: Vladimir Zhbanov <email address hidden>
Date: Sun Jan 15 19:24:45 2012 +0400
Updated Russian translation
commit 59eafeb48043ec092e7b33017698a4ed10b0f5f6
Author: Vladimir Zhbanov <email address hidden>
Date: Tue Jan 17 02:53:52 2012 +0400
libgeda,gschem: add three missing files to POTFILES.in
Reported by Sergey Alyoshin
commit b0a8dc828c4a94f90ca90b966f141924d45d3c64
Author: Peter TB Brett <email address hidden>
Date: Sun Jan 15 18:51:08 2012 +0000
gschem: Use correct textdomain in Scheme code.
Reported-by: Sergey Alyoshin
Closes-bug: lp-916803
commit cc53dd4e0671c27fde2738d12be7d44a416e753d
Author: Vladimir Zhbanov <email address hidden>
Date: Sun Jan 15 19:02:28 2012 +0400
gschem l10n: add missing file to POTFILES.in
x_rc.c is missing in POTFILES.in (reported by Sergey Alyoshin)
and contains typo (missing space) in one of strings.
commit 037b21c18cb674ac50970e8474138b6809d3fcb6
Author: Nathan Schulte <email address hidden>
Date: Fri Jan 13 19:32:21 2012 -0600
gschem: Fix formatting and code style
Affects-bug: lp-916234
commit e0140ecc98a57fc480a152717b53ac6fe5463611
Author: Nathan Schulte <email address hidden>
Date: Fri Jan 13 19:23:04 2012 -0600
gschem: Fix bug with selection and hidden attributes
Fixes a regression caused by 9b73a4c7f6f5e9dade0ddaca5aadc9ecb326bb5c.
When selecting an object via box selection it's invisible attributes
are now automatically selected as well.
Closes-bug: lp-916234
commit 29b8540801de26686e9b282db5f987181aab2130
Author: Dan White <email address hidden>
Date: Sat Dec 10 17:01:16 2011 -0600
gnetlist: makedepend documentation
commit 0b344aaa401513c5e9b075849358805ea8cb301d
Author: Gareth Edwards <email address hidden>
Date: Thu Jan 12 20:28:17 2012 +0000
libgeda: fix potential memory leaks in Scheme API
Add dynamic contexts and supporting unwind handlers to
g_rc_component_library() and g_rc_component_library_command() functions.
commit 13664d6acc70b939668493bb43e60eeaa9c202ea
Author: Peter TB Brett <email address hidden>
Date: Thu Jan 12 00:14:35 2012 +0000
gschem: Remove some unused variables and labels.
commit 230241f2ae70b1a1eb91fa3ce766b4e18e1eec54
Author: Peter TB Brett <email address hidden>
Date: Thu Jan 12 00:14:20 2012 +0000
libgeda: Fix incorrect variable type in o_net_refresh_conn_cache().
commit d006915458a097cef78aa738d3123e88eeab9c7f
Merge: 321c005 f86efb8
Author: Peter TB Brett <email address hidden>
Date: Wed Jan 11 15:01:43 2012 -0800
Merge pull request #10 from gareth8118/entropy_reduction
Another couple of dynamic context fixes in gschem.
commit f86efb8f2d426810c6405f4a9696280e1cf63215
Author: Gareth Edwards <email address hidden>
Date: Wed Jan 11 21:52:17 2012 +0000
gschem: fix potential memory leak in g_funcs_filesel()
Guard against non-local guile exit using a dynamic context.
commit cfaf93e4a1fd5592ed40caf7ed643a7011f8d727
Author: Gareth Edwards <email address hidden>
Date: Wed Jan 11 21:37:27 2012 +0000
gschem: Fix potential memory leak in g_rc_paper_sizes()
Move the conversion of the "papername" string from a Scheme object to
be the last Scheme call in the function, so that no potential
non-local exits in guile could cause the string not to be freed.
commit 321c005a6170b34fc9f3e9f6ab1e4ab931120f81
Author: Gareth Edwards <email address hidden>
Date: Wed Jan 11 07:37:47 2012 +0000
gschem: display gschemrc filename properly on version failure
Add a new Scheme function "rc-filename" to libgeda to extract the
filename of the Scheme file under evaluation, and use this in the
"gschem-version" Scheme function in gschem to show which file is
wrong.
Closes-bug: lp-910663
commit 684211777ffcf0414887f814207da97dc37dd5fa
Merge: 72be40e cbdd5af
Author: Peter TB Brett <email address hidden>
Date: Wed Jan 11 20:06:11 2012 +0000
Merge branch 'entropy_reduction' of git://github.com/gareth8118/geda-gaf into for-stable-1.8
commit cbdd5af9825c99a38164fdd76f49be6a5e887821
Author: Gareth Edwards <email address hidden>
Date: Wed Jan 4 22:35:21 2012 +0000
gschem: add function documentation for g_rc_gschem_version()
commit 933fe9c5c4b90998979cd2fafc12625e89c388d9
Author: Gareth Edwards <email address hidden>
Date: Thu Sep 1 06:47:22 2011 +0100
libgeda: Add doxygen definition to s_toplevel_new()
commit cff8761501a0215ea2f152497d31760e1842f3d0
Author: Gareth Edwards <email address hidden>
Date: Wed Jan 4 19:11:09 2012 +0000
libgeda: Doxygen for g_rc.c.
Add a brief doxygen comment for the g_rc.c file in the header. Also
added explanatory not to bug tag for g_rc_parse().
commit 72be40e1081e56050a81e73e74c5a4e0c645fe3d
Author: Nathan Schulte <email address hidden>
Date: Sat Jan 7 15:16:44 2012 -0600
gschem: Fix a bug with invert selection
When invert selecting "nothing", all currently selected objects are
deselected. This is annoying when you "miss" trying to invert select a
small group of objects. This is now fixed such that "missing" and
selecting "nothing" does not deselect everything.
Closes-bug: lp-912489
commit 97bea3a73c9c8d25d54454ea28a942b9c9c38c57
Author: Nathan Schulte <email address hidden>
Date: Tue Jan 10 12:28:51 2012 -0600
gschem: Fix bug with invert selection and attributes
This fixes a bug that causes attributes to be left unselected when
selected in the same select box as their parent object.
Closes-bug: lp-912475
commit 1e057e8fdb3d924e02d9c03d0b4fd2af3d26e2c5
Author: Peter TB Brett <email address hidden>
Date: Tue Jan 10 10:29:46 2012 +0000
Update NEWS.
commit 3671d4acdab78025b658cdba81f53c2ecec0208d
Author: Peter TB Brett <email address hidden>
Date: Tue Jan 10 09:20:26 2012 +0000
Update translations.
commit 88a3237e51f50d1a4dd7661a4cf3706a2d89475f
Author: Gareth Edwards <email address hidden>
Date: Wed Jan 4 19:08:15 2012 +0000
HACKING: Update mailing list URL
commit fac4d11b8c7beb6a711a83ba002682bab0168816
Author: Peter TB Brett <email address hidden>
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 <email address hidden>
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 <email address hidden>
Date: Mon Jan 9 20:30:16 2012 +0000
gnetlist: Re-indent g_get_nets() function. [whitespace]
commit 31440e054a54001bf462f7da9d31bfc0f0063d3f
Merge: c6db159 0884425
Author: Peter TB Brett <email address hidden>
Date: Mon Jan 9 20:13:41 2012 +0000
Merge branch 'bug-700448-load-error'.
Eivind Kvedalen has provided some changes to libgeda and tools that
provide better error detection when loading schematic and symbol
files, and I have made a few improvements and bugfixes based on his
branch.
Closes-bug: lp-700448
Conflicts:
libgeda/src/a_basic.c
commit 08844256caf27c2ac0be8614388f6e30c034437d
Author: Peter TB Brett <email address hidden>
Date: Mon Jan 9 19:48:55 2012 +0000
gschem: Improve clipboard paste error dialog.
commit fbb6ccced155992563052f4c23ac40dec43998f4
Author: Peter TB Brett <email address hidden>
Date: Mon Jan 9 19:40:01 2012 +0000
gschem: Make file load error dialog more useful.
commit 815eef2cb1f35519633e6fe93332f39e9743ae6c
Author: Peter TB Brett <email address hidden>
Date: Mon Jan 9 19:36:47 2012 +0000
gnetlist: Make file load error message clearer.
commit c6db15997c306c23c02dec9cc8f1e9a645f03fcb
Author: Krzysztof Kościuszkiewicz <email address hidden>
Date: Mon Jan 9 02:26:35 2012 +0100
libgeda: check NULL pointers in o_net_refresh_conn_cache
commit 2f30211e0b0ae7aaac0b57b50a73331e89402b4f
Author: Peter TB Brett <email address hidden>
Date: Fri Jan 6 21:32:43 2012 +0000
libgeda: Fix possible access-after-free in o_picture_read().
commit f23d270aa84b07f2ce4336acc658eb9d070a8fbc
Author: Peter TB Brett <email address hidden>
Date: Fri Jan 6 23:58:20 2012 +0000
libgeda: Messages in GErrors should not be newline-terminated.
commit 8104930a0523c175987c35e80e33cd8dd4a4a97f
Author: Peter TB Brett <email address hidden>
Date: Sat Jan 7 00:19:39 2012 +0000
libgeda: More robust line ending detection when parsing.
Correctly handle '\r', '\n', and '\r\n' line endings.
commit 2c5ec1261714ff0a1157582ef0daead543c1da65
Author: Peter TB Brett <email address hidden>
Date: Sat Jan 7 00:18:03 2012 +0000
libgeda: Remove s_textbuffer_seek().
It's never been used anyway.
commit f0ac4bcbc0fe5ab0c32e45875003f1be35a7bc1c
Author: Peter TB Brett <email address hidden>
Date: Sat Jan 7 00:00:20 2012 +0000
libgeda: Return a const string from s_textbuffer_next etc.
Also constify everywhere that string is used. This helped identify
several places to avoid unnecessary strdup()/free() pairs.
commit 312cd9e728c04bf2e593a81a739a71443b420634
Author: Peter TB Brett <email address hidden>
Date: Fri Jan 6 23:37:54 2012 +0000
libgeda: Another unit test for load errors.
commit 5480167063451e1c6cf5701f1b198d896c6adf65
Author: Peter TB Brett <email address hidden>
Date: Fri Jan 6 23:35:26 2012 +0000
libgeda: Report error on loading an unterminated attribute list.
commit b8c34b0fda239294f449010c07e2077736b76c97
Author: Peter TB Brett <email address hidden>
Date: Fri Jan 6 23:48:30 2012 +0000
libgeda: Don't repeatedly reverse new attribute list.
Add a unit test to make sure this is done correctly.
commit 7b64ae90034cf9a1e655259e071cc9e236b00ff2
Author: Peter TB Brett <email address hidden>
Date: Fri Jan 6 23:48:30 2012 +0000
libgeda: Correct error code numbering for EDA_ERRORs.
commit 08573f2f4f53afa3735081ea129cd1d86f14a6a2
Author: Peter TB Brett <email address hidden>
Date: Fri Jan 6 23:48:30 2012 +0000
gschem: Correctly checked-cast arguments when creating dialog.
commit d978cfae017194ffe79a37c69c7fc1befb727199
Author: Peter TB Brett <email address hidden>
Date: Fri Jan 6 23:48:30 2012 +0000
libgeda: Fix attempt to free uninitialised pointer.
commit 8342bddce4487edf4a7214d5d6ab83cb73a066d4
Author: Krzysztof Kościuszkiewicz <email address hidden>
Date: Wed May 18 22:27:51 2011 +0200
gschem: refresh pin-cues on connectivity change
Closes-bug: lp-707064
commit 531a20a15301167d29012c44bfc2b1b0a837d7bb
Author: Krzysztof Kościuszkiewicz <email address hidden>
Date: Tue May 3 23:18:29 2011 +0200
libgeda: use hooks to refresh conn cache
Affects-bug: lp-707064
commit 81d2d6019ecb4ef0b9f109153cd1c9803e39045a
Author: Krzysztof Kościuszkiewicz <email address hidden>
Date: Mon May 2 20:33:21 2011 +0200
libgeda: add hook for TOPLEVEL object creation
Affects-bug: lp-707064
commit 0810ec21f6d50823664f872c735244fc29a6ed5b
Author: Krzysztof Kościuszkiewicz <email address hidden>
Date: Sat Apr 30 01:11:18 2011 +0200
libgeda: add hooks for connection change notification
Affects-bug: lp-707064
commit dafe58d7440161eadd4f524564fbe9e6e88ee65a
Author: Peter Clifton <email address hidden>
Date: Sat May 1 13:47:23 2010 +0100
Attribute change hooks
Affects-bug: lp-707064
commit 65c68f98cc4bf5d26a091abf336b2e00c7bbcabb
Author: Krzysztof Kościuszkiewicz <email address hidden>
Date: Sun Mar 13 01:10:08 2011 +0100
libgeda: skip printing endpoint cues on fully connected nets
Affects-bug: lp-707064
commit 6cae96ed0629a87bd71cecce4cc966e58b8bd0af
Author: Krzysztof Kosciuszkiewicz <email address hidden>
Date: Fri Mar 11 00:13:23 2011 +0100
gschem: skip drawing endpoint cues on fully connected nets
Affects-bug: lp-707064
commit 042612a5cc35bfafbf0f862a6db78ec66cd022a7
Author: Krzysztof Kościuszkiewicz <email address hidden>
Date: Tue Mar 15 01:01:10 2011 +0100
libgeda: add functions to track net connectivity
o_net_is_fully_connected can be used to check if the net is connected to
at least two separate endpoints - endpoint being a pin, bus or a named
net (through a netname attribute).
o_net_refresh_conn_cache should be used to update cached state after
connectivity change.
For each net segment the number of connected enpoints is cached in new
fields of OBJECT structure: net_num_connected and valid_num_connected.
Affects-bug: lp-707064
commit c90c6a2728179785c4da5241e043cdcbcf197915
Author: Krzysztof Kosciuszkiewicz <email address hidden>
Date: Sun Jan 23 21:19:48 2011 +0100
libgeda: print unconnected pin ends as boxes
Closes-bug: lp-706552
commit b5f994f7c439cb0fbc863eec4843594165986683
Author: Krzysztof Kosciuszkiewicz <email address hidden>
Date: Sat Jan 22 17:55:42 2011 +0100
gschem: replace pin end markings with boxes
Affects-bug: lp-706552
commit e09936bfe0b2db080cab5376088f24656b0e2ad7
Author: Eivind Kvedalen <email address hidden>
Date: Fri Jan 6 22:59:05 2012 +0100
Make sure attributes are stored internally in the same order as before, or
else the gsymcheck tests will fail.
commit 58af3327f4fbca32597f7081cc84453fdf4c8dee
Author: Nathan Schulte <email address hidden>
Date: Thu Jan 5 12:49:50 2012 -0600
gschem: Fix bug with inverted (control key) selection.
Fixes a regression caused by commit 7f88749446b6. The previous commit
made it so that making a selection with the control key pressed no
longer inverts the selection state of the objects selected, but
instead starts a new selection.
Reviewed-by: Peter TB Brett <email address hidden>
Closes-bug: lp-721445
commit 80845206868cb5d5b70357a5ca23f8da07151fc2
Author: Peter TB Brett <email address hidden>
Date: Thu Jan 5 17:30:15 2012 +0000
scheme-api: Correct prototype of edascm_init_impl().
Fixes bug introduced in commit 5cdf4de59028.
commit c15feccddc359d1ac3e62ed3b2182c7cc3aa938a
Author: Peter TB Brett <email address hidden>
Date: Thu Jan 5 15:39:37 2012 +0000
scheme-api: Improve doxygen docs for C API functions.
commit 5cdf4de59028fad80072611a1194a4a8e224c363
Author: Peter TB Brett <email address hidden>
Date: Thu Jan 5 15:40:12 2012 +0000
scheme-api: Ensure init functions are called in Scheme mode.
This patch makes sure that any libguile functions called by
edascm_init() are called in Guile mode, even if for some reason
edascm_init() is called from a thread that is not yet in Guile mode.
commit 501d784118e135be1ead32b1233e64bc62e8d41e
Author: Peter TB Brett <email address hidden>
Date: Tue Jan 3 21:50:55 2012 +0000
scheme-api: Fix path operations involving curves.
Curve control points were not being processed correctly, meaning that
it was not possible to insert a curve into a path.
commit ded664073d4e32b087a55359e15a43c65a26a653
Author: Peter TB Brett <email address hidden>
Date: Tue Jan 3 20:59:19 2012 +0000
scheme-api: Improve testsuite coverage.
commit 206b5f430917287d4d1d46acd5af32ab8ea34877
Author: Eivind Kvedalen <email address hidden>
Date: Tue Jan 3 00:31:13 2012 +0100
Updated error messages in o_picture_read, o_path_read, and o_text_read to
follow style of other similar error messages.
commit 46ffae4667dda3520b31b92370dcafe1e24017a0
Author: Eivind Kvedalen <email address hidden>
Date: Tue Jan 3 00:30:40 2012 +0100
Made edascm_string_format_sym local.
commit 3ffd19131319cd74689dcb388e53cf12948c26d5
Author: Eivind Kvedalen <email address hidden>
Date: Tue Jan 3 00:27:12 2012 +0100
Updated unit tests for scheme api (string->page function).
commit 7fa7d9ec42e089fcba9f2876c45330c406b19891
Author: Eivind Kvedalen <email address hidden>
Date: Tue Jan 3 00:25:39 2012 +0100
Use an "Ok" button instead of "Close" button for dialog box if
parsing data from clipboard fails.
commit 5d69c79dbc7be5516cd87d47765a63bdb2dcdd33
Author: Eivind Kvedalen <email address hidden>
Date: Tue Jan 3 00:24:54 2012 +0100
Renamed exception invalid-string to string-format in documentation.
commit 64a7d0283c3c15e1b27077ee5a9c1ec209c0a807
Author: Eivind Kvedalen <email address hidden>
Date: Mon Jan 2 22:48:56 2012 +0100
Rebase fixes for o_picture.c.
commit 2b025def49c1bfeedb0650b4c34d527fa29a5090
Author: Eivind Kvedalen <email address hidden>
Date: Wed Sep 7 20:49:20 2011 +0200
Changed invalid-string -> string-format
commit b0541a1258d82b40b7b604a15d177780fd1b7cf9
Author: Eivind Kvedalen <email address hidden>
Date: Wed Sep 7 20:34:02 2011 +0200
Changed enum EDA_ERROR_READ -> EDA_ERROR_PARSE, and made replaced G_FILE_ERROR_FAILED by
EDA_ERROR_READ in appropriate places.
commit 8c4438ef6071fede03c687c317a1f9d1489dd5f4
Author: Eivind Kvedalen <email address hidden>
Date: Wed Sep 7 20:33:02 2011 +0200
Improved error reporting/behaviour when a symbol cannot be loaded.
commit 4cebffe4ffc464cc16ac08191083deb0cbc76bbc
Author: Eivind Kvedalen <email address hidden>
Date: Wed Sep 7 20:32:09 2011 +0200
Use GtkMeessageDialog instead of the generic dialog.
commit 09bd3be24aff7139ca4c8d3dc99f520c873a8b2d
Author: Eivind Kvedalen <email address hidden>
Date: Wed Sep 7 20:31:00 2011 +0200
Fixed missing end of function.
commit d1305adf92982b3a159707c940bafb8c293223fe
Author: Eivind Kvedalen <email address hidden>
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 86f652cdad7f0635b431dc462918a04ed9b257bf
Author: Peter TB Brett <email address hidden>
Date: Mon Jan 2 20:57:22 2012 +0000
Add note to README about needing Texinfo when building from git.
commit 5033a7a8765b35c405cd5cc44269b67d17dc2b19
Author: Peter TB Brett <email address hidden>
Date: Mon Jan 2 19:20:17 2012 +0000
gschem: Correctly construct expressions for running hooks.
In commit 71cc3eb5583b, the way hooks were run was changed from
directly calling libguile's scm_run_hook(). Instead, an expression
was constructed as a Scheme list structure, to be evaluated.
Unfortunately, the way that the expression was constructed was wrong,
and led to the Guile evaluator attempting (and failing) to evaluate
gEDA OBJECT smobs.
commit c5d37e544e04f42db420f9f6f3e4d042311947b7
Author: Peter TB Brett <email address hidden>
Date: Mon Jan 2 18:52:27 2012 +0000
gschem: Don't dirty page by adding default titleblock.
The hook that adds the default titleblock to a newly-created, empty
schematic page shouldn't mark the page as having been changed. gschem
will now no longer prompt to save when you run gschem and immediately
quit.
commit d68a5277f1a4f1ad67a3cd9448b11d1a3dda6d01
Author: Peter TB Brett <email address hidden>
Date: Mon Jan 2 18:27:58 2012 +0000
gschem: Unbreak most of the dialog boxes.
In commit 78c8ee905dad, OBJECT smobs were altered to store a TOPLEVEL
pointer for use when freeing them during garbage collection. The
TOPLEVEL pointer is obtained using edascm_current_toplevel().
Unfortunately, since edascm_current_toplevel() raises a Scheme error
when the TOPLEVEL fluid is not set, this means that
edascm_from_object() can crash gEDA applications if it is not called
from inside a Scheme catch context *and* the TOPLEVEL fluid isn't set
in the current dynamic context.
This exposed a bug in commit 71cc3eb5583b, where OBJECT smobs were
created *before* setting the TOPLEVEL fluid. As a result, gschem
crashed pretty reliably when hooks were triggered via dialog boxes
rather than via keystrokes or menu item (e.g. when adding attributes
with the "Add Attribute" dialog box). This patch fixes the issue.
commit 95f48e6f1b8e624ec7d25d9854c97d86d62b50dc
Merge: 2844f08 528ae27
Author: Peter TB Brett <email address hidden>
Date: Sun Jan 1 11:10:58 2012 -0800
Merge pull request #5 from gareth8118/key_term_fix
gschem: add zero termination to invalid keycode list.
commit 528ae278c95dd38dee2c4747effb18d723cbc271
Author: Gareth Edwards <email address hidden>
Date: Sun Jan 1 18:46:02 2012 +0000
gschem: add zero termination to invalid keycode list.
A loop in g_key_is_valid() scans a list of keycodes to see if the current
one matches. Add a zero to the end of the list so that the search terminates
correctly.
commit 2844f086d7df446674b659451b9f63865f715b6c
Author: Peter TB Brett <email address hidden>
Date: Sun Jan 1 12:16:05 2012 +0000
scheme-api: Correctly export libgeda gettext function.
Makes promote-attribs! work again.
commit 5751075dd5f5e0429cae9859cab3d6873b21c772
Author: Peter TB Brett <email address hidden>
Date: Sat Dec 31 23:51:30 2011 +0000
Revert disabling of geda-scheme.info file.
This reverts commit c2e926e58e63 and a2465ee90bac, because `make
distcheck' works just fine.