gEDA 1.7.0
This is the first unstable release in the 1.7.x unstable series.
Milestone information
- Project:
- gEDA
- Series:
- unstable-1.7
- Version:
- 1.7.0
- Released:
- Registrant:
- Peter TB Brett
- Release registered:
- Active:
- No. Drivers cannot target bugs and blueprints to this milestone.
Activities
- Assigned to you:
- No blueprints or bugs assigned to you.
- Assignees:
- 11 Peter TB Brett
- Blueprints:
- No blueprints are targeted to this milestone.
- Bugs:
- 11 Fix Released
Download files for this release
Release notes
* All gEDA/gaf applications now handle configuration files much more
strictly, and provide much more useful feedback when an error
occurs.
* Several changes to `gschem' command-line options:
- The `-t' option is no longer supported.
- Several command-line options now support a long-form alternative.
- The `-s' option can now be used to run multiple Scheme scripts
during `gschem' startup.
- A new `-c' option is available, which runs a Scheme expression
during `gschem' startup.
- A new `-L' option is available, which adds a directory to the
Scheme load path.
- A new `-V' or `--version' option is available, which displays
version information.
* `gschem' now provides a "Select All" function, which is bound to
<Control a> by default, along with a corresponding "Deselect"
function.
* In the `gschem' "Add component" dialog, filtering the component
library will expand matching libraries. If the filter is cancelled,
all libraries are collapsed. Components can now be selected by
double-clicking on them in the component list.
* The `gschem' "Edit Text Properties" dialog now has an easier to use
"Alignment" menu.
* Printed text size now better matches on-screen text size in
`gschem'.
* Special characters, including commas, are now escaped or quoted
appropriately in `gattrib' CSV output.
* Several changes to `gnetlist' command-line options:
- Four command-line options specific to the `spice-sdb' backend have
been removed. They can be replaced with `-O <option>' according
to the following table:
-e, --embedd -O embedd_mode
-I, --include -O include_mode
-n, --nomunge -O nomunge_mode
-s, --sort -O sort_mode
- The list of available backends is now obtained using a new
`--
backends.
- A new `-L' option is available, which adds a directory to the
Scheme load path.
- A new `-V' or `--version' option is available, which displays
version information.
- When run with invalid command-line arguments, `gnetlist' now exits
with non-zero exit status.
* Several `gnetlist' backends have now been fixed so that it should no
longer be necessary to set an expanded Guile stack in gEDA's config
files.
* The `spice-sdb' backend for `gnetlist' now supports probes
(`TESTPOINT' devices).
* The undocumented `mk_verilog_syms' program is no longer installed.
The symbols it creates are still installed to
`${prefix}
Changelog
commit dc66dc0af3426f9
Author: Ales Hvezda <email address hidden>
Date: Sun Jan 16 01:59:23 2011 -0500
Another set of changes to all the po files
These changes were made when 'make distcheck' was run to create the
1.7.0 tarball.
commit 5497774003ce854
Author: Ales Hvezda <email address hidden>
Date: Sun Jan 16 00:58:07 2011 -0500
Updated docs from the gEDA wiki
commit cb0eaabe02c154e
Author: Ales Hvezda <email address hidden>
Date: Sun Jan 16 00:16:42 2011 -0500
Updated copyright data in gschem's about box
commit 799d67452921ed1
Author: Ales Hvezda <email address hidden>
Date: Sun Jan 16 00:15:29 2011 -0500
Updated version strings in all man pages
commit 2e2e2bf53458d6f
Author: Ales Hvezda <email address hidden>
Date: Sun Jan 16 00:12:48 2011 -0500
Manually ran make update-po in order to prep for the make distcheck
commit 5093ab820cdee5c
Author: Ales Hvezda <email address hidden>
Date: Sat Jan 15 23:28:29 2011 -0500
Updated package version, release date, and libgeda revision for 1.7.0
commit 1c531ec953bb3a7
Author: Peter Clifton <email address hidden>
Date: Sat Jan 15 13:45:08 2011 +0000
gschem: Delete "Edit"->"Make Inv Text Vis" menu item
This menu item trips up more people than it helps. Remove
it and associated code. (By popular request on geda-user.)
commit c5a0980c4cd20ff
Author: Krzysztof Kosciuszkiewicz <email address hidden>
Date: Thu Jan 13 01:50:59 2011 +0100
libgeda: remove LEAVE_VISIBILIT
Closes-bug: lp-701431
Reviewed-by: Peter Clifton <email address hidden>
commit 183f9cc1aca8a85
Author: Krzysztof Kosciuszkiewicz <email address hidden>
Date: Thu Jan 13 00:57:07 2011 +0100
gattrib: remove references to LEAVE_VISIBILIT
None of the callers of s_visibility_
LEAVE_
Affects-bug: lp-701431
Reviewed-by: Peter Clifton <email address hidden>
commit 4a9536ce1da2bc7
Author: Krzysztof Kosciuszkiewicz <email address hidden>
Date: Thu Jan 13 01:40:43 2011 +0100
libgeda: use visibility getter in o_text_basic.c
Affects-bug: lp-701431
Reviewed-by: Peter Clifton <email address hidden>
commit 43251b8588235a7
Author: Krzysztof Kosciuszkiewicz <email address hidden>
Date: Thu Jan 13 01:39:57 2011 +0100
libgeda: add TOPLEVEL* argument to o_XXX_save
Affects-bug: lp-701431
Reviewed-by: Peter Clifton <email address hidden>
commit 5eef74de6e885d5
Author: Krzysztof Kosciuszkiewicz <email address hidden>
Date: Thu Jan 13 01:37:59 2011 +0100
gattrib: use accessors for object visibility
Affects-bug: lp-701431
Reviewed-by: Peter Clifton <email address hidden>
commit 2a6c81e6b88e23b
Author: Krzysztof Kosciuszkiewicz <email address hidden>
Date: Tue Jan 11 23:59:22 2011 +0100
gschem: write object visibility field with setter
Replace direct write to visibility field with calls to o_set_visibility.
Affects-bug: lp-701431
Reviewed-by: Peter Clifton <email address hidden>
commit 0fad1e0c5aafa04
Author: Krzysztof Kosciuszkiewicz <email address hidden>
Date: Tue Jan 11 23:55:09 2011 +0100
gschem: read object visibility field with getter
Replace direct attribute access with calls to o_is_visible.
Affects-bug: lp-701431
Reviewed-by: Peter Clifton <email address hidden>
commit 97c5273a7ec9792
Author: Krzysztof Kosciuszkiewicz <email address hidden>
Date: Tue Jan 11 21:46:29 2011 +0100
libgeda: export accessors for object visibility
o_is_visible and o_set_visibility are now in exported interface.
Affects-bug: lp-701431
Reviewed-by: Peter Clifton <email address hidden>
commit 0f664b4c54ca3c3
Author: Peter TB Brett <email address hidden>
Date: Thu Jan 13 20:56:47 2011 +0000
libgeda: Fix potential buffer overflow.
Closes-bug: lp-702209
commit 502ab80495c45e0
Merge: 27f7a52 e1c3ba4
Author: Peter TB Brett <email address hidden>
Date: Thu Jan 13 19:59:35 2011 +0000
Merge branch 'stable-1.6'
Conflicts:
NEWS
libgeda/
libgeda/
libgeda/
libgeda/
utils/
commit 27f7a522a2bb895
Merge: 2d8cf61 ab3c87c
Author: Peter TB Brett <email address hidden>
Date: Wed Jan 12 17:05:23 2011 +0000
Merge changes to configuration error reporting.
commit ab3c87c4e1f02f4
Author: Peter TB Brett <email address hidden>
Date: Wed Jan 12 17:03:45 2011 +0000
Update NEWS re changes to rc file error handling.
commit bbab4c1f8c9fc13
Author: Peter TB Brett <email address hidden>
Date: Wed Jan 12 17:03:45 2011 +0000
gschem: Warning dialogs when rc file load fails.
When loading configuration files at gschem startup, display
informative dialog boxes if an error occurs.
This still does not apply to configuration files loaded "on-the-fly"
when loading new pages from disk.
Affects-bug: lp-698578
commit 8b4f5fc4444c93e
Author: Peter TB Brett <email address hidden>
Date: Wed Jan 12 17:03:45 2011 +0000
libgeda: Add g_rc_parse_
Add an alternative to g_rc_parse() which accepts an optional error
handler function.
commit 7ca2b049dbcfb9f
Author: Peter TB Brett <email address hidden>
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 f82c6d0e497d7d1
Author: Peter TB Brett <email address hidden>
Date: Wed Jan 12 17:03:44 2011 +0000
Upgrade g_read_file() to support GError.
Allow g_read_file() to return error information in a GError if an
error occurs while loading the requested rc file or Scheme script.
commit d50f80399fc8de5
Author: Peter TB Brett <email address hidden>
Date: Wed Jan 12 17:03:44 2011 +0000
Invert g_read_file() return values.
Make g_read_file() return TRUE on success and FALSE on failure. It
turns out that not only had the return value on success been incorrect
for some time, there was only one use of g_read_file() that cared
about the return value anyway.
commit 90f0f24ea7cb4c1
Author: Peter TB Brett <email address hidden>
Date: Wed Jan 12 17:03:44 2011 +0000
libgeda: Whitespace changes to g_read_file().
Redo indentation in g_read_file().
commit 91e8f087d133320
Author: Peter TB Brett <email address hidden>
Date: Wed Jan 12 17:03:44 2011 +0000
libgeda: Add a function for turning a Guile error into a GError.
Splits out the backtrace/error logging in g_basic.c into a static
function that can also populate a GError with the error details,
simplifying it greatly in the process by reusing libguile functions to
do most of the hard work.
commit 717b5819e626d0b
Author: Peter TB Brett <email address hidden>
Date: Wed Jan 12 17:03:44 2011 +0000
libgeda: Rework config file parsing API.
Implement a new libgeda API for loading config files, which has the
following advantages:
1) All error reporting happens via GError, for more informative error
messages. The EDA_ERROR_RC_TWICE error code is added to indicate
that a config file has been prevented from being loaded twice.
2) It is possible to load local config files without chdir() into
their directory, and to specify a target *file* to load
3) As many as possible of the bugs & corner cases that still
need fixing have been documented.
commit 2d8cf61e790e6a1
Author: Peter TB Brett <email address hidden>
Date: Wed Jan 12 17:03:43 2011 +0000
Distribute a copy of the LGPL v2.1.
Since we have several source files which are LGPL licensed, and they
state that the reader should have received a copy of the LGPL with
this program, distribute a copy of the LGPL with this program.
commit 34290684615f5cf
Author: Peter TB Brett <email address hidden>
Date: Wed Jan 12 17:03:43 2011 +0000
libgeda: Add a GError domain for libgeda errors.
This patch defines the EDA_ERROR domain for GErrors, and is required
in order to be able to return or handle libgeda-specific GErrors. It
does not define any error codes yet.
commit da0fbc2cc3317e6
Author: Peter TB Brett <email address hidden>
Date: Wed Jan 12 17:03:43 2011 +0000
libgeda: Simplify g_scm_eval_
Instead of defining a body function and calling scm_c_catch()
ourselves, build a Scheme expression and evaluate it using
g_scm_
commit f300ff057ab77b5
Author: Peter Clifton <email address hidden>
Date: Tue Jan 11 23:20:41 2011 +0000
gattrib: Add TOPLEVEL * attributes to various functions
Rather than using the global variable pr_current, pass the variable
explitly where we can. This patch removes all useage of pr_current
in s_toplevel.c and s_object.c
The remaining usage of pr_current exists in the gui protions of
gattrib.
commit 29994756d3dd499
Author: Peter Clifton <email address hidden>
Date: Tue Jan 11 23:20:31 2011 +0000
gattrib: Rename TOPLEVELs passed as arguments to "toplevel"
Lets us notice the difference between pr_current the global variable
and those passed as arguments.
commit 77477fe829b9c05
Author: Peter Clifton <email address hidden>
Date: Tue Jan 11 23:26:42 2011 +0000
gattrib: Remove unused function s_toplevel_
commit 2d07ac493363383
Author: Krzysztof Kosciuszkiewicz <email address hidden>
Date: Tue Jan 11 01:36:15 2011 +0100
libgeda: invalidate bounds in attribute promotion
Call o_bounds_invalidate in o_complex_
and in o_complex_
Reviewed-by: Peter TB Brett <email address hidden>
Reviewed-by: Peter Clifton <email address hidden>
Closes-bug: lp-700841
commit 45cb94eff246e34
Author: Krzysztof Kosciuszkiewicz <email address hidden>
Date: Tue Jan 11 08:37:07 2011 +0100
libgeda: getter for object visibility field
Add method o_is_visible to query value of visibility field.
Reviewed-by: Peter TB Brett <email address hidden>
Reviewed-by: Peter Clifton <email address hidden>
Affects-bug: lp-700841
Affects-bug: lp-701431
commit 37f3c42bf3d509b
Author: Krzysztof Kosciuszkiewicz <email address hidden>
Date: Tue Jan 11 08:33:43 2011 +0100
libgeda: setter for object visibility field
Add method o_set_visibility to change value of visibility field.
If object visibility is changed, mark its cached bounds as invalid.
Reviewed-by: Peter TB Brett <email address hidden>
Reviewed-by: Peter Clifton <email address hidden>
Affects-bug: lp-700841
Affects-bug: lp-701431
commit bb27719f730b078
Author: Krzysztof Kosciuszkiewicz <email address hidden>
Date: Tue Jan 11 01:26:24 2011 +0100
libgeda: add recursion in o_bounds_invalidate
Instead of invalidating cached bounds for single object, follow the
hierarchy and invalidate cached bounds of all parents as well.
Reviewed-by: Peter TB Brett <email address hidden>
Reviewed-by: Peter Clifton <email address hidden>
Affects-bug: lp-700841
commit de3e47e27d27cd7
Author: Alan Somers <email address hidden>
Date: Sun Jan 9 13:35:44 2011 -0700
gnetlist: Fix spelling errors in run_tests.sh
Reviewed-by: Peter TB Brett <email address hidden>
Closes-bug: lp-700795
commit 536a3a5148d0b13
Author: Alan Somers (none) <somers@tryptophan>
Date: Sun Jan 9 13:22:27 2011 -0700
gnetlist: Fixed tests for new connected-
Reviewed-by: Peter TB Brett <email address hidden>
Closes-bug: lp-698743
commit 5dfbb76b54a70f2
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 <email address hidden>
Affects-bug: lp-698743
commit b8d3805b22aab29
Author: Alan Somers <email address hidden>
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 <email address hidden>
Affects-bug: lp-698743
commit 8ea29eed4fdc4b7
Author: Peter TB Brett <email address hidden>
Date: Sat Jan 8 11:48:28 2011 +0000
gsch2pcb: Don't allow `gnetlist-arg' in project file.
Closes-bug: lp-700194
commit 3fa62435953d75e
Author: Krzysztof Kosciuszkiewicz <email address hidden>
Date: Tue Jan 4 01:49:51 2011 +0100
gschem: replace gtk_signal_connect with g_signal_connect
gtk_
Reviewed-by: Peter TB Brett <email address hidden>
Closes-bug: lp-698742
commit 355fd9bae3392c1
Author: Krzysztof Kosciuszkiewicz <email address hidden>
Date: Sat Jan 8 02:46:28 2011 +0100
gschem: fix secondary label in close confirmation dialog
Secondary label used a pointer string that was previously freed. This
bug was introduced in commit d8803215ea59.
Reviewed-by: Peter TB Brett <email address hidden>
Closes-bug: lp-700189
commit 86c305d9a2c62f0
Author: Peter TB Brett <email address hidden>
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 cfed6e31d2781f3
Author: Peter TB Brett <email address hidden>
Date: Fri Jan 7 13:02:16 2011 +0000
gschem: Add "Deselect" to "Edit" menu.
Add an action to deselect all objects on the page to the gschem "Edit"
menu. Ideally, it would be bound to <Control Shift A>, but gschem
keybindings can only have a single modifier key. For now, don't bind
the action to a key.
Related-bugs: lp-699794
commit d8803215ea591b9
Author: Peter TB Brett <email address hidden>
Date: Fri Jan 7 09:45:11 2011 +0000
Remove warnings when building with "--disable-nls".
Closes-bug: lp-698450
commit eaaa0acc2c5f61c
Author: Peter TB Brett <email address hidden>
Date: Fri Jan 7 09:33:22 2011 +0000
build-sys: Fix build.
In commit 7cf7a33ea187, a Makefile.am file was removed, but
configure.ac was not updated to reflect this.
commit d1569f38123674f
Author: Peter TB Brett <email address hidden>
Date: Thu Jan 6 23:28:49 2011 +0000
gschem: Fix some compilation warnings.
Removes a bunch of unused variables that were causing compilation
warnings.
commit 66f1e3b13af2801
Author: Peter TB Brett <email address hidden>
Date: Thu Jan 6 15:54:26 2011 +0000
Update docs to reflect move from SF.net to Launchpad for bugs.
commit 7cf7a33ea187092
Author: Peter TB Brett <email address hidden>
Date: Thu Jan 6 22:48:26 2011 +0000
utils: Tidy up manpages.
Put utils manpages in utils/docs to match other manpages. Ensure
gxyrs.html is created & distributed.
commit 7256891e6800b47
Author: Peter TB Brett <email address hidden>
Date: Thu Jan 6 22:33:59 2011 +0000
gattrib: Add man page.
commit cc2ea46161c1994
Author: Peter TB Brett <email address hidden>
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 <email address hidden>
commit 9e18ec2b836e1c5
Author: Peter TB Brett <email address hidden>
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 f5e8bbd51c7bc46
Author: Peter TB Brett <email address hidden>
Date: Thu Jan 6 17:27:52 2011 +0000
Update NEWS.
Add info on new `--list-backends' option to gnetlist (missed out from
commit ae45df48397e).
commit 77621ac14298e1e
Author: Peter TB Brett <email address hidden>
Date: Thu Jan 6 17:14:49 2011 +0000
gnetlist: Fail more usefully if backend can't be found in load path.
commit 942226e52f706af
Author: Peter TB Brett <email address hidden>
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 ae45df48397e579
Author: Peter TB Brett <email address hidden>
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 ca2741e817c3f8b
Author: Peter TB Brett <email address hidden>
Date: Thu Jan 6 13:37:05 2011 +0000
gnetlist: Add `-L' option for adding to Guile load path.
commit 53185307c7a707b
Author: Peter TB Brett <email address hidden>
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 5dcaa34495465cf
Author: Peter TB Brett <email address hidden>
Date: Thu Jan 6 00:40:20 2011 +0000
gschem: Add `-c EXPR' to evaluate Scheme EXPR on load.
Adds a `-c' option to gschem, which allows a Scheme expression to be
evaluated on gschem load. Multiple `-s' and `-c' options can be
specified, and they are applied in order.
commit 0881305f47b16bb
Author: Peter TB Brett <email address hidden>
Date: Thu Jan 6 00:24:40 2011 +0000
gschem: Allow multiple `-s' scripts to be specified.
commit c3193a03970dfe1
Author: Peter TB Brett <email address hidden>
Date: Wed Jan 5 13:50:20 2011 +0000
gschem: Add `-L' option for adding to Guile load path.
commit 69e7af1d627a4ce
Author: Peter TB Brett <email address hidden>
Date: Wed Jan 5 23:43:22 2011 +0000
libgeda: Always add gEDA default Scheme directory to search path.
Make sure that the default directory for gEDA Scheme files is added to
the Guile %load-path during libgeda initialisation. This ensures that
even if there is a problem loading system-gafrc (for some reason),
gEDA Scheme code can still be found.
Remove the current `scheme-directory' directive from system-gafrc, and
replace it with a commented-out example of its use.
commit 92bbcfafd4e8e6c
Author: Peter TB Brett <email address hidden>
Date: Wed Jan 5 17:49:08 2011 +0000
gsch2pcb: Add man page.
commit 571bcba5610c900
Author: Peter TB Brett <email address hidden>
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 8029e76df046b39
Author: Peter TB Brett <email address hidden>
Date: Wed Jan 5 17:17:23 2011 +0000
gnetlist: Clean up formatting of `parsecmd.c'.
commit f6d5b71a26b2f68
Author: Peter TB Brett <email address hidden>
Date: Wed Jan 5 17:26:09 2011 +0000
gnetlist: Add `-V', `--version' argument.
commit b2f24756d4d53df
Author: Peter TB Brett <email address hidden>
Date: Wed Jan 5 16:57:09 2011 +0000
gnetlist: Improve `--help' usage message.
commit 19dcc79af1e7a43
Author: Peter TB Brett <email address hidden>
Date: Wed Jan 5 15:05:17 2011 +0000
gnetlist: Update man page.
commit cb47d3a0c3a5ac2
Author: Peter TB Brett <email address hidden>
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 d56ec6d94b1ecd8
Author: Peter TB Brett <email address hidden>
Date: Wed Jan 5 17:10:15 2011 +0000
gschem: Provide long-form options and update man page.
Make gschem support long-form alternatives for several command-line
options. Additionally, make some further improvements to the gschem man page.
commit 0f9554ec1bcb37d
Author: Peter TB Brett <email address hidden>
Date: Wed Jan 5 13:52:56 2011 +0000
gschem: Remove `-t' option from usage message.
The `-t' option was removed in commit 65b79e360357, but was not
removed from the usage message at the that time.
commit e54ba540a83520c
Merge: 3f8480f 7a3e9f2
Author: Peter TB Brett <email address hidden>
Date: Wed Jan 5 13:38:52 2011 +0000
Merge changes to Scheme file loading.
commit 7a3e9f294d12732
Author: Peter TB Brett <email address hidden>
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-
including gnetlist backends, from more than one directory.
Note: This commit makes the gnetlist test suite pass again.
commit 258eb0591088a06
Author: Peter TB Brett <email address hidden>
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.
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 3f8480f6a2b9674
Author: Peter TB Brett <email address hidden>
Date: Tue Jan 4 22:28:40 2011 +0000
gnetlist: Don't install `mk_verilog_syms' program.
`mk_
generating the symbols installed as the `verilog' symbol library. It
doesn't need to be installed in the system $PATH.
commit 8bef5cf39dce867
Author: Patrick Bernaud <email address hidden>
Date: Tue Jan 4 19:08:02 2011 +0100
gnetlist: Set Guile's program arguments from command line.
Reviewed-by: Peter TB Brett <email address hidden>
commit f86eecd36a603fd
Author: Patrick Bernaud <email address hidden>
Date: Tue Jan 4 19:07:57 2011 +0100
gnetlist: Translate 'gnetlist:
Reviewed-by: Peter TB Brett <email address hidden>
commit 2a9e92fa59aafcd
Author: Patrick Bernaud <email address hidden>
Date: Tue Jan 4 19:08:19 2011 +0100
gschem: Do not attempt to set GtkWindow's type after construction.
Reviewed-by: Peter TB Brett <email address hidden>
commit a0f88128241e9b8
Author: Peter TB Brett <email address hidden>
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 007feece464d1b0
Author: Peter TB Brett <email address hidden>
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-
commit 0d658babe176af4
Author: Peter TB Brett <email address hidden>
Date: Tue Jan 4 15:11:09 2011 +0000
gschem: Add "Select All" bound to Ctrl-A. [3143355]
commit e045f84435ed3e0
Author: Peter TB Brett <email address hidden>
Date: Tue Jan 4 14:33:46 2011 +0000
build-sys: Check for pdflatex if doxygen is enabled. [3108442]
commit dc5dc7051c988d6
Author: Peter TB Brett <email address hidden>
Date: Tue Jan 4 11:51:39 2011 +0000
gsch2pcb: Clean up formatting.
Re-format gsch2pcb.c using GNU indent, followed by manual pass to tidy
comments.
commit e4905ac16ec2a0c
Author: Peter TB Brett <email address hidden>
Date: Tue Jan 4 12:09:00 2011 +0000
Expand HACKING file
Add some information on gEDA C and Scheme coding style to the HACKING
file.
commit 7221bc50ee41a06
Author: Peter TB Brett <email address hidden>
Date: Mon Jan 3 23:36:52 2011 +0000
Update NEWS file.
commit 371bd6130c77ae0
Author: Krzysztof Kosciuszkiewicz <email address hidden>
Date: Mon Jan 3 00:40:03 2011 +0100
gschem: expand component tree after filtering
This patch changes the behavior of the component selection dialog.
After filtering by name is applied the tree view of matching components
is automatically expanded so that all leafs are immediately selectable.
The tree view is collapsed when the filter is cleared.
Reviewed-by: Peter TB Brett <email address hidden>
commit 1e93f7bea2cbe0f
Author: Peter TB Brett <email address hidden>
Date: Mon Jan 3 23:07:25 2011 +0000
Revert "Remove some CVS keywords."
This reverts commit f5ada1de1372bd3
was pushed to the repository in error.
commit f5ada1de1372bd3
Author: Peter TB Brett <email address hidden>
Date: Tue Dec 21 12:37:10 2010 +0000
Remove some CVS keywords.
commit 9a141d60f045c62
Author: Clif Cox <email address hidden>
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-
it a bit more flexible. Combine write-probe-item and
write-
Reviewed-by: Peter TB Brett <email address hidden>
commit 746737d8bff55ce
Author: Clif Cox <email address hidden>
Date: Sun Dec 26 23:08:11 2010 -0800
gnetlist: White space consistancy cleanup in spice-sdb. [3117075]
Reviewed-by: Peter TB Brett <email address hidden>
commit 35c3a2862d6ee68
Author: Dima Kogan <email address hidden>
Date: Wed Nov 3 21:29:24 2010 -0700
gattrib: Escape special chars & quote commas in CSV output.
Signed-off-by: Dima Kogan <email address hidden>
Reviewed-by: Peter TB Brett <email address hidden>
commit fda647ce9ff7b57
Author: Patrick Bernaud <email address hidden>
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:
value has to get directly extracted from the list returned by
'gnetlist:
Reviewed-by: Peter TB Brett <email address hidden>
commit a834442e3296bb6
Author: Patrick Bernaud <email address hidden>
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:
retrieve every first attribute value for package consisting of
multiple symbol instances.
'gnetlist:
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 <email address hidden>
commit a49c4cf66556570
Author: Felix Ruoff <email address hidden>
Date: Sun Jan 2 22:22:37 2011 +0100
gschem: Replace recent file list with GtkRecentManager.
This patch replaces the implemented recent-file - list by the recent-manager provided by GTK since version 2.10.
Only schematic-files (*.sch) and symbol-files (*.sym) will be shown (case insensitive).
Known differences to previous version:
* No 'free recent list' option
* Shows just filename (not full path) as menu-label
* Full file-path avaiable as tooltip
* Shows filetype-icons
Reviewed-by: Peter TB Brett <email address hidden>
commit 5ce6132459b30cd
Author: Patrick Bernaud <email address hidden>
Date: Sun Jan 2 18:19:29 2011 +0100
gnetlist: Fix memory leak in g_get_package_
Reviewed-by: Peter TB Brett <email address hidden>
commit 3b0905a748953a6
Author: Felix Ruoff <email address hidden>
Date: Sat Oct 9 18:35:33 2010 +0200
gschem: Fix warning on moving over menu-item without action
Fix a warning at the info-dialog if the mouse moves over a menu-item
which has no action defined, e.g. the top item of a submenu.
Reviewed-by: Peter TB Brett <email address hidden>
commit 2a1d0d17247f272
Author: Peter TB Brett <email address hidden>
Date: Wed Dec 22 21:58:15 2010 +0000
Update dates in README license section.
commit ec2648696c55742
Author: Peter TB Brett <email address hidden>
Date: Wed Dec 22 21:57:34 2010 +0000
gschem: Update man page.
Numerous changes:
- Simplify synopsis section.
- Improve English grammar.
- Generally abbreviate.
- Update copyright information.
- Add instructions for accessing full manual from inside gschem.
- Describe GEDADATARC environment variable.
commit 65b79e3603571b1
Author: Peter TB Brett <email address hidden>
Date: Wed Dec 22 22:08:19 2010 +0000
gschem: Remove non-functional -t option.
The -t option hasn't done anything for quite some time now (since
commit d96ad3c39121, in fact). Since no-one's complained that it's
broken, remove it completely.
commit f3d2f1a8b2820ab
Author: Gareth Edwards <email address hidden>
Date: Sat Dec 18 23:12:10 2010 +0000
Don't set construct-only 'type' property on log dialog. [3140276]
Running gschem gives a warning:
(gschem:62319): GLib-GObject-
property "type" for object `Log' can't be set after construction
This patch removes the attempt to set the CONSTRUCT-ONLY GtkWindow property
"type" from the g_object_set call in the Log instance initializer and moves
it into the g_object_new call when the Log instance is created.
Signed-off-by: Peter TB Brett <email address hidden>
commit 0f95f7181b3824c
Author: Gareth Edwards <email address hidden>
Date: Sat Dec 18 23:11:47 2010 +0000
Added doxygen comments to Log class functions [3140275]
Added some doxygen comments to the class functions for the Log class
throughout x_log.c
Signed-off-by: Peter TB Brett <email address hidden>
commit d5860bb3620502e
Author: John Doty <email address hidden>
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 <email address hidden>
commit f66597934bf8c88
Author: Peter TB Brett <email address hidden>
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_
- s_toplevel_new()
commit 4a2272be60b5e72
Author: Peter TB Brett <email address hidden>
Date: Sat Dec 11 21:30:04 2010 +0000
libgeda: Pre-refactor cosmetic changes.
This patch cleans up whitespace in s_hierarchy.c, and changes some
constructs of the form:
for (x; y; z) {
if (!foo) {
if (!bar) {
/* Lots of stuff */
}
}
}
to:
for (x; y; z) {
if (foo) continue;
if (bar) continue;
/* Lots of stuff */
}
commit 3d7719ca26bd4a7
Author: Peter TB Brett <email address hidden>
Date: Sat Dec 11 11:36:11 2010 +0000
Add PAGE argument to o_net_consolida
commit b87d7edc2be45da
Author: Peter TB Brett <email address hidden>
Date: Sat Dec 11 11:29:04 2010 +0000
libgeda: Remove some more uses of page_current.
Removes some uses of TOPLEVEL.
a33839adef1f.
commit 0b94d2379a5bd5d
Merge: 63cd6d7 a33839a
Author: Peter TB Brett <email address hidden>
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-
TOPLEVEL.
commit 63cd6d754fce280
Author: Peter TB Brett <email address hidden>
Date: Sat Dec 11 00:59:33 2010 +0000
gnetlist: Fix some stack overflow problems in vipec backend.
commit 972c793b9df047a
Author: Peter TB Brett <email address hidden>
Date: Sat Dec 11 01:09:05 2010 +0000
gnetlist: Fix some stack overflow problems in gnetlist core.
commit 6f0827327fc951b
Author: Peter TB Brett <email address hidden>
Date: Sat Dec 11 00:39:17 2010 +0000
gnetlist: Fix some stack overflow problems with vams backend.
commit c73f2b33e05e5d0
Author: Peter TB Brett <email address hidden>
Date: Sat Dec 11 00:24:44 2010 +0000
gnetlist: Fix some stack overflow problems with spice backend.
commit cd4a6d9bb44b7eb
Author: Peter TB Brett <email address hidden>
Date: Fri Dec 10 23:10:08 2010 +0000
gnetlist: Fix some stack overflow problems with drc2 backend.
commit 0cc44928d36699c
Author: Peter TB Brett <email address hidden>
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 0db9dce07c52cb5
Author: Peter TB Brett <email address hidden>
Date: Wed Nov 17 11:59:02 2010 +0000
Revert po file changes in previous commit.
This reverts most of the incorrectly-
commit 5cc5a1743e97.
commit 5cc5a1743e97218
Author: Peter TB Brett <email address hidden>
Date: Wed Nov 17 11:33:25 2010 +0000
gschem: Make 7-byte SHA-1 prefix using %.7s format specifier.
This is slightly more elegant than using g_strndup().
Suggested-by: Patrick Bernaud <email address hidden>
commit 6dff7f35a0ab76a
Author: Peter TB Brett <email address hidden>
Date: Wed Nov 17 08:47:51 2010 +0000
gschem: Use g_strndup() instead of strndup().
strndup() is not in the OS X libc.
Reported-by: Matthew Wampler-Doty <email address hidden>
commit ee7e4a8e823dd36
Author: Peter TB Brett <email address hidden>
Date: Sat Nov 13 17:42:14 2010 +0000
Remove DONT_REDRAW flag.
Because we now use the GTK/Cairo renderer for gschem, we use the GTK
model for redrawing. In this model, objects are queued for redrawing
by invalidating them, and at some point later all invalidated regions
of the viewable area are drawn together.
Due to this mechanism, the TOPLEVEL.
it as always set and then restored without visiting the GTK main loop,
and thus no drawing would occur in that context anyway.
This patch removes the now-useless TOPLEVEL.
commit 700d8c7bb6ed397
Author: Peter TB Brett <email address hidden>
Date: Sat Nov 13 13:12:03 2010 +0000
libgeda: Allow registration of multiple change notify functions.
A mechanism for getting notifications when OBJECTs are changed was
added in commit 8b1faf85362b, but this only allowed one set of change
handlers to be added to a TOPLEVEL. This patch allows the multiple
sets of handlers to be registered, and also fleshes out the API
documentation.
commit 49fb65103d192a4
Author: Peter TB Brett <email address hidden>
Date: Fri Nov 12 23:30:15 2010 +0000
gschem: Add -V (version info) command-line option.
commit 41ea61b2f156ec7
Author: Peter TB Brett <email address hidden>
Date: Thu Nov 11 10:43:55 2010 +0000
libgeda: Correctly clear weak references.
Fix a really really stupid logic bug introduced in commit
f8ddb85e74bb.
commit 03a529b993bc5f7
Author: Peter TB Brett <email address hidden>
Date: Sun Nov 7 12:23:18 2010 +0000
gschem: Extract translatable strings directly from system-gschemrc.
Reduces the number of matching lists of menu accelerator strings from
three to two...
commit 64fc02d71b235f5
Author: Peter TB Brett <email address hidden>
Date: Sun Nov 7 10:40:24 2010 +0000
desktop-i18n: Don't have misleading ".h" suffixes in .po files.
commit 803ea8cd6ee3203
Author: Peter TB Brett <email address hidden>
Date: Sun Nov 7 13:54:15 2010 +0000
Update po files, fixing Language and Language-Team strings.
Updates all po files using update-po, making sure all po files have
their Language string set, and set all Language-Team strings to
<email address hidden>.
commit 7ca926a07d9506c
Author: Peter TB Brett <email address hidden>
Date: Sun Nov 7 09:45:58 2010 +0000
build-sys: Some versions of autopoint actually work.
Some more recent versions of autopoint correctly populate po
directories other than $srcdir/po. To cope with this, test whether
$srcdir/po has been created before attempting to copy
autopoint-
commit 1cec80d84654293
Author: Peter TB Brett <email address hidden>
Date: Sun Nov 7 09:26:14 2010 +0000
gsymcheck: Update canonical output for test suite.
In f8f053afef5a3e6
introduced a change in behaviour to gsymcheck, causing it to correctly
pick up on connections in a symbol which it failed to detect before.
This commit updates the canonical outputs in the test suite.
commit a33839adef1f8c7
Author: Peter TB Brett <email address hidden>
Date: Tue Nov 2 10:27:25 2010 +0000
libgeda: Get rid of some uses of page_current.
Remove some uses of page_current from functions used only by libgeda.
This will make it more painless to remove page_current completely.
commit e883ed4bf0681db
Author: Peter TB Brett <email address hidden>
Date: Tue Nov 2 10:27:24 2010 +0000
libgeda: Remove o_save_curr_page().
commit 3abdca2a4ee0881
Author: Peter TB Brett <email address hidden>
Date: Tue Nov 2 10:27:25 2010 +0000
libgeda: Add PAGE argument to file load/save functions.
commit 4a3a3d9e4cc72fa
Author: Peter TB Brett <email address hidden>
Date: Tue Nov 2 10:27:24 2010 +0000
libgeda: Add PAGE argument to print functions.
commit c26ed9d5b126f7e
Author: Peter TB Brett <email address hidden>
Date: Tue Nov 2 10:27:23 2010 +0000
libgeda: Make g_read_file() take a TOPLEVEL argument.
commit 66e54fd03f75f70
Author: Peter Clifton <email address hidden>
Date: Mon Nov 1 20:55:23 2010 +0000
Fix MINGW LDFLAGS for gattrib
Rather embarassingly, I messed this up in commit e5f32954a1 where
I claimed to have fixed this very issue!
"There was a mistake in gschem and gattrib's Makefile.am, where it
included the non-existant MINGW_GUI_CFLAGS rather than pulling in
MINGW_
Reported-By: Peter TB Brett <email address hidden>
commit bb8ca8df886f6a8
Author: Wojciech Kazubski <email address hidden>
Date: Mon Nov 1 18:24:56 2010 +0000
gschem: Don't crop the png output [3100660] [3100680]
Gschem sometimes crops the image exported to bitmap file (png,
bmp... but not eps). This appears in certain range of picture
proportions, landscape but close to square.
This patch alters the algorithm that adjusts the image proportions to
remove this problem.
commit 019990c574e3806
Author: Patrick Bernaud <email address hidden>
Date: Sun Oct 31 19:50:59 2010 +0000
libgeda: Check attribute string before requesting name/value [3032626]
commit 9410bf545fce0db
Author: أحمد المحمودي (Ahmed El-Mahmoudy) <email address hidden>
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 7fdc71ea471ab0f
Author: أحمد المحمودي (Ahmed El-Mahmoudy) <email address hidden>
Date: Sun Oct 31 19:29:57 2010 +0000
utils: Don't use string exceptions in Python code. [3014181]
utils/
Python 2.5, and has been removed in Python 2.6. The attached patch fixes this
issue.
commit e25d29875ecd143
Author: Richard Barlow <email address hidden>
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 af272ebddf16808
Author: Sebastian Gieltjes <email address hidden>
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 dd1fe705e38e990
Author: Peter TB Brett <email address hidden>
Date: Wed Mar 10 22:26:33 2010 +0000
Add a HACKING file with info on how to submit patches.
It's been argued that gEDA's patch submission process is poorly
documented. This patch attempts to document it. (At some point the
HACKING file should also contain info on the coding style, etc).
commit 9d129b1ed3f923f
Author: Edward Hennessy <email address hidden>
Date: Sun Oct 10 18:24:56 2010 -0700
Added build directory variables to libgeda.pc.in.
commit 8d05ef23b0bb767
Author: Carlos Nieves Onega <email address hidden>
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-
drc2:
commit cd369fce23897f3
Author: Carlos Nieves Onega <email address hidden>
Date: Mon Sep 13 04:05:03 2010 +0200
Added gxyrs man page.
Added gxyrs man page. This closes bug #2836717.
commit e5f32954a1fb235
Author: Peter Clifton <email address hidden>
Date: Sat May 1 13:42:35 2010 +0100
Fix hiding the command prompt window on Win32 builds with -mwindows
There was a mistake in gschem and gattrib's Makefile.am, where it
included the non-existant MINGW_GUI_CFLAGS rather than pulling in
MINGW_
commit 3d47666301a99a9
Author: Ales Hvezda <email address hidden>
Date: Fri Apr 30 20:02:12 2010 -0400
Removed some trailing whitespace
commit 377aa12de8f461c
Author: Ales Hvezda <email address hidden>
Date: Fri Apr 30 19:53:50 2010 -0400
Added some contributes to the AUTHORS file (also to test commit e-mail)
commit 0768fc349168189
Author: Robert Drehmel <email address hidden>
Date: Thu Apr 22 11:13:06 2010 +0100
gschem: Fix memory corruption in o_update_
s_page_
be g_list_free'd afterwards.
commit 7de00720bc4ca44
Author: Dan McMahill <email address hidden>
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 7bf44da290d1a3a
Author: Stuart Brorson <email address hidden>
Date: Sat Apr 3 14:47:58 2010 -0500
Apply patch from agaran, which implements probes in spice-sdb.
commit 8e19b5509a40826
Author: Peter Clifton <email address hidden>
Date: Fri Apr 2 16:55:25 2010 +0100
gschem: Introduce B/W colour scheme
commit cfa5600cd838b79
Author: Peter TB Brett <email address hidden>
Date: Fri Mar 12 02:08:35 2010 +0000
libgeda: Remove f_save_close().
This function is not currently used, and relies on
TOPLEVEL.
commit 82edfe8fd716cba
Author: Peter TB Brett <email address hidden>
Date: Fri Mar 12 02:08:34 2010 +0000
libgeda: Misc. doxygen fixes.
commit 8913ba1fa9d340a
Author: Peter TB Brett <email address hidden>
Date: Thu Mar 11 13:10:47 2010 +0000
build-sys: Build desktop-i18n locale data correctly with DESTDIR set.
When doing an out-of-tree build with DESTDIR set, desktop-i18n's
temporary locale data tree was getting put in the wrong place. Fix
this by clearing DESTDIR and forcing prefix and localedir to the
correct values.
Fix suggested & tested by: Dan McMahill <email address hidden>
Bug reported & fix tested by: Charles Lepple <email address hidden>
commit 923116bc968ff32
Author: Peter TB Brett <email address hidden>
Date: Sun Mar 7 23:16:03 2010 +0000
libgeda: Add PAGE argument to tile functions.
With this patch, the tile system no longer uses TOPLEVEL.
anywhere.
commit 2c445565d558f07
Author: Peter TB Brett <email address hidden>
Date: Sun Mar 7 23:16:03 2010 +0000
libgeda: Add o_box_modify_all().
o_box_modify() allows one corner of a box to be moved. Unfortunately,
it swaps the internal coordinates of the BOX structure around in a way
that could potentially cause unexpected behaviour. For instance,
suppose you wish to modify a box as shown below:
^ ^
| |
4| 4| +-----+
| | | |
3| 3| | |
| | | |
2| +--+ 2| +-----+
| | | |
1| | | 1|
| | | |
0| +--+ 0|
| |
0 1 2 3 4 0 1 2 3 4
(A) Original box (B) Desired box
Calling o_box_modify() as follows will not work as expected:
o_box_modify (toplevel, box, 2, 4, BOX_UPPER_LEFT);
o_box_modify (toplevel, box, 4, 2, BOX_LOWER_RIGHT);
It will instead result in the transformations below:
^ ^
| |
4| +--+ 4| +--------+
| | | | | |
3| | | 3| | |
| | | | | |
2| | | 2| +--------+
| | | |
1| | | 1|
| | | |
0| +--+ 0|
| |
0 1 2 3 4 0 1 2 3 4
(C) After first call (D) After second call
This is due to the fact o_box_modify() behaves as though the corner
specified by the whichone argument had been dragged.
This patch adds the o_box_modify_all() function, which allows all four
corners of the box to be modified at once, avoiding the problems
inherent in repeated o_box_modify() calls.
commit 83530e16e28ebba
Author: Peter TB Brett <email address hidden>
Date: Sun Mar 7 23:16:03 2010 +0000
libgeda: Remove uses of deprecated SCM_STRING_CHARS.
commit 3b76382b7624bd6
Author: Peter Clifton <email address hidden>
Date: Sun Mar 7 21:12:39 2010 +0000
gschem: Remove unused connection field from the STRETCH struct
This field was only ever used for debug purposes, remove it.
commit 9c42a66c0a985ef
Author: Peter Clifton <email address hidden>
Date: Sun Mar 7 19:00:01 2010 +0000
Move STRETCH structure and s_stretch.c from libgeda to gschem
This structure and related functions deal with rubberbanding nets during
move operations. They are only used from within gschem, although there
is of course setup and tear-down in libgeda. Move this all to gschem.
This isn't a 1-1 move, since various headers and structures needed to
be fixed up in the process. The stretch_list now lives in the
GSCHEM_
action state to persist when a GSCHEM_TOPLEVEL changes active PAGE.
A free of the stretch list is removed from s_page_delete(), but no
equivalent is re-added in gschem. Action state is torn down when an
action is cancelled, which is done before deleting any GSCHEM_TOPLEVEL.
commit d4820b644781b33
Author: Peter Clifton <email address hidden>
Date: Sun Mar 7 18:39:43 2010 +0000
gschem: Exit any current event state before switching pages
If we don't do this, state from an operation on one page can cause
corruption and genereral chaos. This was reproducable by moving
some objects (em), then switching pages with a key-binding.
commit f8ddb85e74bbf05
Author: Peter TB Brett <email address hidden>
Date: Sun Mar 7 13:03:15 2010 +0000
libgeda: Add weak refs to OBJECT/
Weak references are useful when you want to keep an eye on an object
but not necessarily hang on to it when it comes to its useful life.
This patch adds an internal libgeda API for using weak references.
There are two types of weak references implemented by this patch:
* full-powered weak references, where an arbitrary callback function
can be registered on an object to be notified when an object is
destroyed
* weak pointers, which are set to NULL when the object is destroyed.
This functionality will hopefully allow several pieces of housekeeping
code in libgeda to be simplified.
The API is designed to be as close as possible to the GObject weak ref
API. See e.g. g_object_
commit d4908a377f6a1eb
Author: Peter TB Brett <email address hidden>
Date: Sun Mar 7 17:40:38 2010 +0000
gschem: Correct some type casts; comment out not-yet-used variable.
commit 8a290f30e3f89e7
Author: Peter Clifton <email address hidden>
Date: Sun Mar 7 15:00:40 2010 +0000
gschem: Tidy up o_move_
Delete some debug printf and generally tidy up the function. Should
be no functional changes.
commit b5cf93429f13cf9
Author: Peter TB Brett <email address hidden>
Date: Thu Nov 12 18:14:18 2009 +0000
gschem: Pass the current GSCHEM_TOPLEVEL to menu signal handlers.
This has the beneficial side-effect of fixing a memory leak.
commit 84c708ec13ab8cb
Author: Peter TB Brett <email address hidden>
Date: Wed Mar 3 11:01:19 2010 +0000
gschem: Rewrite o_update_
Instead of deleting the contents of a compound OBJECT and adding new
contents loaded from file, make o_update_
OBJECT, move attributes across, and then replace the original OBJECT
with the new OBJECT.
This works much more nicely with the use of an event-based
connection-
Fixes a crash bug reported by Peter Clifton <email address hidden>, where
component prim_objs were not being correctly removed and re-added to
the page's tile system.
commit 1126d3899e03492
Author: Peter TB Brett <email address hidden>
Date: Wed Mar 3 09:02:47 2010 +0000
libgeda: Add s_page_replace().
Add a function to replace one object in the PAGE object list with
another while preserving its position in the list.
commit 8531f91cdf9862a
Merge: 6e5fa46 cc0ced2
Author: Peter Clifton <email address hidden>
Date: Wed Mar 3 01:12:00 2010 +0000
Merge branch 'event_
commit cc0ced2f6d765e5
Author: Peter Clifton <email address hidden>
Date: Sun Feb 28 18:37:24 2010 +0000
gschem: Remove o_invalidate_
This invalidate calls are not required, as any relevant changes will
cause change notifications from within libgeda to trigger redraws of
specific areas of the page.
NB: Changing the embedded status of an object doesn't actually cause a
change notification at present, since it should not affect the how the
objects are rendered.
commit 5e8f2be04fd2a13
Author: Peter Clifton <email address hidden>
Date: Wed Mar 3 00:57:23 2010 +0000
gschem: Remove o_invalidate_all() call from i_callback_
This invalidate call is not required, as any changes will cause
change notifications from within libgeda to trigger specific areas
of the page to be redrawn.
commit b59058138ce5057
Author: Peter Clifton <email address hidden>
Date: Wed Feb 24 16:33:08 2010 +0000
Use change notification to redraw objects when connectivity changes
Emit change notifications in the connectivity tracking functions
s_conn_
gschem from the somewhat complex task of tracking which objects were
connected to a given object before and after a particular set of
operations.
This change leads to a significant simplification of many operations,
and removes quantities of code from:
o_pin_end()
o_net_end()
o_move_end()
o_
o_
o_
o_
o_
o_
o_
o_delete()
commit cf6ea830c56a04e
Author: Peter Clifton <email address hidden>
Date: Sun Feb 28 18:37:23 2010 +0000
Use change notification to redraw when a pin's type is modified
Emit change notifications in o_pin_set_type(), and remove
o_invalidate() calls where this function is used in gschem.
commit 5e43eb790eee741
Author: Peter Clifton <email address hidden>
Date: Wed Mar 3 00:34:35 2010 +0000
Add change notification when objects are modified via o_*_modify()
Emit change notification in the o_*_modify() functions, and remove
some o_invalidate() calls where o_arc_modify() is also used in
gschem's arc editing dialog.
The o_*_modify() routines are also used in o_grips.c, where there
is no explicit o_invalidate() call after them. o_grips_end() calls
o_invalidate(), which is strictly un-necessary, but I've left it for
clarity, as it comes after resetting the OBJECT's dont_redraw flag.
commit 51461b59d30487e
Author: Peter Clifton <email address hidden>
Date: Sun Feb 28 18:37:23 2010 +0000
Use change notification to redraw when an object's fill properties change
Emit change notifications in o_set_fill_
o_invalidate() calls where this function is used in gschem.
commit ca60bcbdab636a6
Author: Peter Clifton <email address hidden>
Date: Sun Feb 28 18:37:22 2010 +0000
Use change notification to redraw when an object's line properties change
Emit change notification in o_set_line_
o_invalidate() calls where this function is used in gschem.
commit 51c180d13751366
Author: Peter Clifton <email address hidden>
Date: Sun Feb 28 18:37:22 2010 +0000
Use change notifications to redraw objects with selection changes
Emit change notifications when an OBJECT's selected flag is changed,
and removes o_invalidate() calls where the selection is manipulated
in gschem.
commit 47ebe0bb0145d95
Author: Peter Clifton <email address hidden>
Date: Sun Feb 28 18:37:22 2010 +0000
Use change notifications for redraw when text is recreated
Emit change notifications in the o_text_recreate() function, and
remove o_invalidate() calls from gschem where o_text_recreate(),
or other functions calling it are made.
commit 5c14a649bd63395
Author: Peter Clifton <email address hidden>
Date: Sun Feb 28 18:37:21 2010 +0000
Use change notifications for objects added / removed from the page
Adds emission of the change and pre-change notify events for adding
and removing objects from the page respectively.
Remove explicit invalidation calls after performing these actions
in gschem.
commit 0a93ef44cea25ec
Author: Peter Clifton <email address hidden>
Date: Sun Feb 28 18:37:21 2010 +0000
libgeda: Process updates prior to removing an object from the page.
Renames the private function object_removed to pre_object_removed,
and moves its calls prior to removing the object from the page.
For the existing updates, the order doesn't matter, however other
things we might like to do per-object when removing them from the
page, such as emitting notifications of what we're about to do,
must be done before the object is actually removed.
commit ccf8b757df96f9e
Author: Peter Clifton <email address hidden>
Date: Sun Feb 28 18:37:21 2010 +0000
gschem: Hookup change notify functions to invalidate on-screen objects
When change pre-change and change notifications are emitted on objects,
we need to invalidate their on-screen representation.
The pre-change notification is used to invalidate the area where an
object is currently drawn, which is expected (usually) to be followed
by a change notification - so the new object bounds are invalidated
to be repainted.
Certain operations might skip one of these events. For cases where the
bounding box of an object is known to remain constant, the "pre-change"
notification could potentially be omitted. Adding an object to the page
will (obviously) only be able to generate a "change" notification, and
removing an object will only generate a "pre-change" notification.
commit 8b1faf85362bb30
Author: Peter Clifton <email address hidden>
Date: Sun Feb 28 18:37:20 2010 +0000
libgeda: Add mechanism to call hook function when an object changes.
Introduces two new functions wihin libgeda, o_emit_
and o_emit_
an object being modified, respectively. This mechanism is primarily
intended as a means for libgeda to trigger on-screen updates when
objects are changed, and as such - at present, only a single pair of
call-backs can be registered (per TOPLEVEL). These call-backs are
registered via the new public function o_set_change_
The o_emit_
queue a redraw for the screen region where an object used to reside,
prior to operations which change its bounding box, and similarly, the
o_emit_
modified object.
commit 6e5fa46cc04db09
Author: Peter Clifton <email address hidden>
Date: Wed Feb 24 16:32:51 2010 +0000
gschem: Make sure we invalidate the rubberbanded object before cancelling
This showed up as a rendering artefact left behind after grip-resizing
objects to an invalid size, then letting go of the grip. The grip
operation is cancelled, and the original object re-drawn - but it is
possible that the rubber-banded view of the object just before
cancelling the action covers an area of the screen not touched by the
original object.
commit 9aa23d8ec931963
Author: Peter Clifton <email address hidden>
Date: Wed Feb 24 16:30:49 2010 +0000
libgeda: Better match on-screen text height when printing
commit f1a4a40d964c7ea
Author: Peter Clifton <email address hidden>
Date: Sun Feb 28 18:33:06 2010 +0000
libgeda: Remove unused gdk-pixbuf-hacks.c and prototypes
These were unused since switching to cairo rendering of pictures.
gdk_
all bite the dust.
commit 331b9111417cf62
Author: Peter Clifton <email address hidden>
Date: Sat Feb 20 14:36:57 2010 +0000
libgeda: Re-indent o_line_modify()
Keeps this NOP change separate from a more functional change one
of my branches.
commit 4a2baceb1bf4546
Author: Peter Clifton <email address hidden>
Date: Sat Feb 20 14:27:07 2010 +0000
gschem: Remove some redundant alias variables in o_pin_end()
Whilst I'm here, remove a NULL test.. o_pin_new() doesn't return NULL.
commit 4474d121a1c2c81
Author: Peter Clifton <email address hidden>
Date: Sat Feb 20 01:59:11 2010 +0000
gschem: Make o_grips_
commit 960875cc1d57986
Author: Peter Clifton <email address hidden>
Date: Sat Feb 20 02:05:47 2010 +0000
gschem: Tidy up some coding style in text_edit_dialog
Don't initialise variables to NULL un-necessarily. Also, tidy up
some bits of the function which could usefully be grouped together.
commit 92302408ad3d0ba
Author: Peter Clifton <email address hidden>
Date: Sat Feb 20 02:04:38 2010 +0000
gschem: Fix object type for align_menu in text_edit_dialog
The type is GtkListStore *, not GtkWidget *. I've renamed the variable
from align_menu to align_menu_model to reflect its contents more clearly.
As a cleanup, don't bother casting align_menu_model to G_OBJECT when
calling g_object_unref(). g_object_unref() takes a gpointer argument so
it isn't necessary.
commit 833a0a181cbc012
Author: Peter Clifton <email address hidden>
Date: Sat Feb 20 00:12:44 2010 +0000
gschem: Move o_invalidate calls out of o_grips_
Put the o_invalidate() calls in o_grips_start() and o_grips_end()
instead, which dispatch to the more specific functions.
commit c3e6a002e3361f4
Author: Peter Clifton <email address hidden>
Date: Sat Feb 20 00:20:05 2010 +0000
gschem: Cancel box grip operation if height is collapsed to zero
The cancel worked for the case where width was collapsed to zero, but
not height. Seems to be due to 1) To a copy-paste error meaning the
box height was always read as zero, and 2) A logic error in that either
a zero width, OR zero height box should abort the grip opeation.
commit fc0d1ec31bc40dc
Author: Peter Clifton <email address hidden>
Date: Sat Feb 20 00:05:28 2010 +0000
libgeda: Remove unused variables from o_text_
These were left-over from factoring out update_
commit 351bdfd3b45c828
Author: Peter Clifton <email address hidden>
Date: Fri Feb 19 23:08:43 2010 +0000
Move o_text_recreate() call inside o_text_set_string()
All callers of o_text_set_string() call o_text_recreate() to update
the text object. o_text_set_string() should call it directly.
Despite being a hold over from the old "prim_objs" based text rendering
system, this function still does useful work preparing the string to be
displayed on screen.
commit 54ef9936ca0f046
Author: Peter Clifton <email address hidden>
Date: Fri Feb 19 23:16:14 2010 +0000
gschem: Don't second-guess whether to call o_invalidate on text objects
The o_invalidate() call is a NOP if the text is invisible (or hidden
text is not shown), so there is no need to check before calling.
commit 7a2311b5e144601
Author: Peter Clifton <email address hidden>
Date: Fri Feb 19 23:28:04 2010 +0000
gschem: Rename o_attrib_
This function had a todo note "get a better name". Lets go with
o_attrib_
Whilst I'm here, complete the doxygen comments for this function.
commit 6045569126c44bd
Author: Peter Clifton <email address hidden>
Date: Fri Feb 19 23:25:21 2010 +0000
gschem: Tidy the o_attrib_
This function does nothing when toplevel-
true. Returning immediately when this is the case, rather
than looping over the entire selection not doing anything.
commit 5cad2cd9a184e1a
Author: Peter Clifton <email address hidden>
Date: Fri Feb 19 22:52:58 2010 +0000
gschem: Tidy up o_grips_
Somewhat of a pointless change, but I ended up moving these functions
about a bit in another patch - so I figured a NOP patch to do most of
the tidying would be better than mixing this with functional changes.
commit 8e3d9a6a219ee16
Author: Peter Clifton <email address hidden>
Date: Fri Feb 19 22:50:35 2010 +0000
gschem: Remove the view_update_cues function
This function doesn't do anything different to view->redraw.
commit e5aecb64ebaa24e
Author: Peter TB Brett <email address hidden>
Date: Wed Feb 17 18:24:13 2010 +0000
Kill ADDING_SEL flag with FIRE!
The TOPLEVEL.ADDING_SEL flag has long preyed upon intrepid programmers
venturing into the labyrinthine and treacherous depths of the gEDA
source code, introducing strange and hard-to-trace logic errors and
segmentation faults to hinder them on their various quests to fix bugs
and add features.
But no more! The beast lies slain! No more will developers need to
perform the dance of "flag save and restore" to placate the ravening
beast! No more will they mutter strange incantations for hours as they
seek to determine whether the flag should be set or unset!
In serious terms: the flag was only used for controlling whether or
not objects should be added to the tile system. By ensuring that
objects are only added to or removed from the tile system when added
to or removed from the tile's corresponding page, it's then possible
to replace the flag check by checking whether the OBJECT is currently
part of a PAGE.
commit 76010e59b8a1495
Author: Peter TB Brett <email address hidden>
Date: Wed Feb 17 17:41:48 2010 +0000
libgeda: Remove some uses of page_current.
Change some places that use page_current to use o_get_page() or
o_get_
commit f8f053afef5a3e6
Author: Peter TB Brett <email address hidden>
Date: Wed Feb 17 16:33:02 2010 +0000
libgeda: Link tile system contents to page contents.
Instead of adding objects to tile system on object creation and
removing them on object deletion, add and remove objects from tile
system at the same time as they are added to/removed from a page.
This makes more sense, since each page has a separate tile structure.
And has the added advantage of getting rid of a place where the
ADDING_SEL flag is needed!
commit a25595e2e628c2d
Author: Peter TB Brett <email address hidden>
Date: Wed Feb 17 20:48:39 2010 +0000
libgeda: Hide some s_conn_* functions from public API.
commit f21bae619b0df02
Author: Peter TB Brett <email address hidden>
Date: Wed Feb 17 16:24:02 2010 +0000
libgeda: Hide some s_tile_* functions from public API.
commit e19d39a3125cb33
Author: Peter TB Brett <email address hidden>
Date: Wed Feb 17 12:18:58 2010 +0000
libgeda: Fix build.
Commit 9b24bf40 introduces a stupid error.
commit 42c4df51736485b
Author: Peter TB Brett <email address hidden>
Date: Wed Feb 17 11:45:39 2010 +0000
libgeda: Clear PAGE.object_
Clear the current page's object_lastplace magic pointer (which
actually should be in gschem somewhere) when removing an OBJECT from
the page, instead of doing it on OBJECT deletion.
commit 9b24bf40fd35e09
Author: Peter TB Brett <email address hidden>
Date: Wed Feb 17 11:45:39 2010 +0000
libgeda: Add parent PAGE pointer to OBJECT structure.
There are numerous examples of libgeda & gschem code that assumes,
when operating on an OBJECT, that it is part of the "current" PAGE as
set in the TOPLEVEL structure. This has a number of disadvantages,
including the need for regular frobbing of the ADDING_SEL flag and
page_current pointers, but most importantly restricting the ability to
work with more than one PAGE at once. Furthermore, it is not
convenient or practical to add a PAGE argument to all functions that
may eventually need to manipulate or update the current page based on
changes to OBJECTs.
Instead, this patch adds a parent PAGE pointer that is updated *only*
when adding or removing an OBJECT to a PAGE.
In order to ensure consistency in the case of compound objects, only
the "top-level" compound object has its page pointer set; in general,
*either* OBJECT.parent *or* OBJECT.page may be non-NULL.
commit ace44e31ae453dc
Author: Richard Barlow <email address hidden>
Date: Mon Feb 15 15:15:49 2010 +0000
gschem: Improve the text edit dialog's alignment menu
This patch alters the way the alignment for text is set in the text edit
dialogue. I've always felt that the linear list of options doesn't work
very well and slows down my work flow quite a bit.
The GtkOptionsMenu, which is now deprecated, has been replaced with a
GtkComboBox. The alignment options are laid out in a table allowing the
correct option to be selected much quicker.
commit 4cc14fdd8ab72dc
Merge: e85bf2f 11921dc
Author: Peter Clifton <email address hidden>
Date: Mon Feb 15 20:33:11 2010 +0000
Merge remaining release engineering updates from the stable-1.6 branch
commit e85bf2f10366736
Merge: 0e5defe 93b0370
Author: Peter Clifton <email address hidden>
Date: Mon Feb 15 20:30:22 2010 +0000
Merge translations from the stable-1.6 branch
NB: Translations were merged manually
commit 0e5defe4871370a
Author: Ales Hvezda <email address hidden>
Date: Sun Feb 14 21:26:37 2010 -0500
Updated man page dates
(cherry picked from commit 11921dc18209ed4
(from stable-1.6)
commit d34cd2260f47ce1
Author: Ales Hvezda <email address hidden>
Date: Sun Feb 14 18:30:45 2010 -0500
Removed a bunch of obsolete wiki snapshot creation/cleanup scripts
(cherry picked from commit 0a2711ce62dd3f1
(from stable-1.6)
commit 88391eddcb73dd9
Author: Ales Hvezda <email address hidden>
Date: Sun Feb 14 18:26:23 2010 -0500
Updated the wiki snapshot from the official wiki
(cherry picked from commit 1b200e957de912e
(from stable-1.6)
commit f556ef7d48cbda4
Author: Ales Hvezda <email address hidden>
Date: Sun Feb 14 18:00:02 2010 -0500
Tweaked scripts with updated paths
Eventually these scripts should be fixed or rewritten so that they
do not have any hardcoded paths.
(cherry picked from commit 19e4de650dad959
(from stable-1.6)
commit c82f997a9d8e969
Author: Ales Hvezda <email address hidden>
Date: Mon Feb 15 14:37:41 2010 -0500
Missed one copyright that should have been updated
commit c31d9a1a90db32d
Author: Ales Hvezda <email address hidden>
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 bd34cfde2450790
(from stable-1.6 branch)
commit 5df2c5c6f400fac
Author: Peter Clifton <email address hidden>
Date: Mon Feb 15 19:26:10 2010 +0000
Make update-po
commit f186753e6e229e2
Author: أحمد المحمودي (Ahmed El-Mahmoudy) <email address hidden>
Date: Mon Feb 15 15:04:35 2010 +0000
gschem: Fix a couple of typos in the gschem manpage
commit e20d11966e03c54
Author: Peter Clifton <email address hidden>
Date: Sat Feb 13 13:13:02 2010 +0000
gschem/po: Apply updated Dutch translations from Bert Timmerman
commit 11dd19eedb4fedf
Author: Peter Clifton <email address hidden>
Date: Fri Feb 12 18:17:56 2010 +0000
gschem: Fix hard-coded menu names to match new accelerators
Fixes breakage caused by changing the root menu names to include
accelerators.
commit 885f9686ce09970
Author: Werner Hoch <email address hidden>
Date: Fri Feb 12 10:57:07 2010 +0100
gschem: updated german translation
copied from 7ebe889c777237e
commit 8ec97e543267984
Author: Carlos Nieves Onega <email address hidden>
Date: Thu Feb 11 19:01:01 2010 +0100
Fixed some menu accelerators for spanish translation.
There were some duplicated, or assigned to letter with accents.
commit c5454e79e1a79e2
Author: Carlos Nieves Onega <email address hidden>
Date: Thu Feb 11 17:54:24 2010 +0100
Updated spanish translation.
commit e94dd5222f22672
Author: Peter Clifton <email address hidden>
Date: Thu Feb 11 00:21:54 2010 +0000
gschem: Provide accelerator mnemonics for root menus
commit a800451bef4df21
Author: Peter Clifton <email address hidden>
Date: Wed Feb 10 19:52:44 2010 +0000
gschem: Allow mnemonics for root menus, such as _File, _Edit etc..
commit 9c71110a49be8a6
Author: Peter Clifton <email address hidden>
Date: Wed Feb 10 21:05:38 2010 +0000
gschem: Fix update of pinnumbers after auto-renumberering slots
Call o_slot_end() rather than o_text_
ensure the object's pinnumbers are updated correctly.
NB: This patch requires the changes making o_slot_end() to take an
OBJECT * arguement, as the objects being updated aren't necessarily
selected.
commit 040db4675fcbd77
Author: Peter Clifton <email address hidden>
Date: Wed Feb 10 21:36:37 2010 +0000
gschem: Pass o_slot_end() an OBJECT *object parameter
The OBJECT * parameter points to the object who's slot is being
updated - not the slot attribute itself.
Previously o_slot_end() used the first object in the selection.
This call is used for other cases where slotting needs to be
updated - not all will necessarily have the object selected.
commit d03c03949e17313
Author: Peter Clifton <email address hidden>
Date: Wed Feb 10 22:18:45 2010 +0000
gschem: Remove the exit(-1) error path from o_slot_end()
This is not a friendly way to treat the user.. g_return_if_fail() instead.
commit 2998c43e60e95a2
Author: Peter Clifton <email address hidden>
Date: Wed Feb 10 19:53:09 2010 +0000
gschem: Remove unused "len" parameter from o_slot_end()
commit b635dd1c3b9297d
Author: Peter Clifton <email address hidden>
Date: Wed Feb 10 19:59:08 2010 +0000
gschem: Fix slot editing routines to not edit inherited attributes (#2949232)
Fixes a bug where symbols without a promoted slot= attribute had their
non-promited slot= attribute modified. Also, a similar bug was lurking
in the auto-number code, which could break the auto-number slots feature
or cause crashes when the remove numbers feature was used on slotted
components without a promoted slot= attribute.
Tidied up some variable names to make all the fixed functions consistent.
A neater fix might have been changing the interface to s_slot_
back, such that it only reports non-inherited attributes. This would
ideally involve renaming the function in libgeda, to (say, for example)
s_slot_
port to stable-1.6 as well, I don't want to break libgeda ABI. It seems
unwise to change the function's behaviour without a break in API, hence
the solution in this patch.. to have callers to s_slot_
!o_
Reported-by: John Doty <email address hidden>
commit 375c146d8700ea0
Author: Bert Timmerman <email address hidden>
Date: Sun Feb 7 12:07:16 2010 +0000
gschem/po: Merge updated Dutch translations.
Translations merged by Peter Clifton <email address hidden>
commit 124a73f493b1594
Merge: 0b87692 9d6d0a0
Author: Peter Clifton <email address hidden>
Date: Sun Feb 7 01:34:00 2010 +0000
Merge updated translations from stable-1.6 branch
commit 0b87692907ad836
Author: Peter Clifton <email address hidden>
Date: Sat Feb 6 23:09:51 2010 +0000
gschem: Fix rcstrings.c to relect text in menus
This makes our menus translatable again. Looks like most cases were
due to adding "_" to the menu text to make _Accelerators.
commit 99c5e8ce7cb7d2f
Merge: 89ad783 d3b0112
Author: Peter Clifton <email address hidden>
Date: Sat Feb 6 21:36:08 2010 +0000
Manually merge translations from the stable-1.6 branch
For newly translated languages, this was fairly simple, using msgmerge
to update the stable-1.6 "$LANG.po" files with the current git HEAD
translation template ".pot" files.
For existing languages, I used msgcat to combine the two, allowing it
to choose the "newer" translation - ie.. the one on the stable-1.6
branch if there were any conflicts.
To assist, I used the following short script:
\#!/bin/sh
LINGUAS=`cat LINGUAS`
TEMPLATE=
NEW_
OLD_DIR="HEAD"
for TR_LANG in $LINGUAS
do
echo "Attempting to merge for language ${TR_LANG}"
if [ -e ${OLD_DIR}
echo -n "Old translation exists.. merging"
msgcat --use-first ${NEW_DIR}
msgmerge merge_tmp.po ${TEMPLATE} -o ${TR_LANG}.po
else
echo -n "Translation is new, updating"
msgmerge ${NEW_DIR}
fi
done
(Modified appropriately for each */po/ directory.)
The current translations were placed in po/HEAD/ and the (newer)
stable-1.6 translations were placed in po/stable-1.6/
The script requires the LINGUAS file to be updated to include all
new languages before it is run.
The resulting changes have been reviewed to ensure nothing
massively broken happened during the merge, and committed as a merge
to show the origin of the translations.
commit 89ad783e3f1298e
Author: Peter Clifton <email address hidden>
Date: Sun Jan 31 12:36:15 2010 +0000
gschem/po: Fix plural form header for es.po
Looks like something accidentally mangled this header.
commit 7b97171ff386bb9
Author: Peter Clifton <email address hidden>
Date: Sun Jan 31 11:09:45 2010 +0000
Update en_GB translation
commit bf82ca8680254c7
Author: Peter Clifton <email address hidden>
Date: Sun Jan 31 10:45:01 2010 +0000
Run make update-po in the */po/ directories
commit 3c64f506a6b3bab
Author: Peter Clifton <email address hidden>
Date: Sun Jan 31 10:42:19 2010 +0000
gschem: Remove _() translatable markers from some internal strings
Save work for the translators, as we don't really need or want to
translate the descriptive strings for GObject properties.
Introduce a P_() helper as in GTK code. This means we can find the
potentially translatable strings at a later date.
commit 041d55bf82f356e
Author: Peter Clifton <email address hidden>
Date: Sun Jan 31 10:51:05 2010 +0000
gschem/po: Fix keywords passed to xgettext, it is N_, not _N
This was broken accidentally in
commit 7cf778da5905cf4
commit cce79ff0e9cd2be
Author: Peter Brett <email address hidden>
Date: Sun Jan 31 10:01:03 2010 +0000
libgeda: Remove unused variable.
commit ce53e956128a330
Author: Peter Brett <email address hidden>
Date: Sun Jan 31 10:01:02 2010 +0000
Move snap state tracking out of libgeda.
Since snapping is only relevant to gschem, store snap state in the
GSCHEM_TOPLEVEL structure.
commit 3f30ab76bbf247e
Author: Peter Brett <email address hidden>
Date: Sun Jan 31 10:01:00 2010 +0000
gschem: Fix some warnings about non-literal format strings.
commit 16090ce2eedc014
Author: Peter Clifton <email address hidden>
Date: Sun Jan 31 02:00:34 2010 +0000
gschem: Don't update page connectivity from o_place_rotate() Bug #2904715
This fixes bug #2904715, where gschem would crash if an object being
multi-copied contained nets, and the place-buffer was rotated (by 90
degrees) four times during the place operation.
Items in the place list should never have their connectivity updated
on the page. (They don't belong to the page, so have no business
being referenced from the page, or objects on it).
Rather than calling o_rotate_
call o_glist_
Rotate hook handling was split from o_rotate_
function, o_rotate_
chance to remove a few pointless tests of o_current != NULL in there.
We know o_current isn't going to be NULL, and we already dereferenced
it (unchecked) a few lines above.
As o_place_rotate() is always called from within an action - and in
those cases, o_rotate_
I have not included the conditional undo update in o_place_rotate().
commit 2eae6d63738a0a2
Author: Peter Clifton <email address hidden>
Date: Sun Jan 31 01:03:00 2010 +0000
gschem: Don't duplicate registration of new zero-length rubber-band nets
o_net_new() adds the net into the tile system and updates conectivity
(assuming toplevel-
commit f1a5270236c9827
Author: Peter Clifton <email address hidden>
Date: Sun Jan 31 00:35:42 2010 +0000
libgeda: Tidy up some calls in o_complex_
Convert a couple of short while loops over a GList into a for() structure.
Remove a completely redundant if statement. The if () {...} and else {...}
branches had the same code in them!
commit b50377f6c0438e4
Author: Peter Brett <email address hidden>
Date: Sat Jan 30 15:54:34 2010 +0000
Don't use %-style patterns in Makefiles.
%-style patterns are a GNU make extension.
commit 7cf778da5905cf4
Author: Peter Brett <email address hidden>
Date: Sat Jan 30 15:54:28 2010 +0000
Add --from-code=UTF-8 to XGETTEXT_OPTIONS.
Some of the translatable strings in the source code contain UTF-8
encoded characters. Without setting the --from-code argument
appropriately, xgettext chokes on these strings, which can result in
an infinitely-
Reported-by: Peter <email address hidden>
commit 39209cd034abc40
Author: Peter Clifton <email address hidden>
Date: Sat Jan 30 15:34:47 2010 +0000
libgeda: Fix postscript output issue with unclosed paths
Continues the fix from commit 012a3c3ddf55b02
Ensure we always have a space before the "fill" command in the output
postscript.
commit 03acdbfaadaa35d
Author: Peter Brett <email address hidden>
Date: Sat Jan 30 13:37:17 2010 +0000
Clean up some left-over font directory cruft.
commit 012a3c3ddf55b02
Author: Peter Clifton <email address hidden>
Date: Wed Jan 27 18:17:45 2010 +0000
libgeda: Fix postscript output issue with certain paths
Ensure we always have a space before the "stroke" command.
Reported-by: Donald Tillman <email address hidden>
commit 620ee00b6211b04
Author: Peter Clifton <email address hidden>
Date: Tue Jan 19 23:17:06 2010 +0000
gschem: Set font description explictly, rather than by parsing a string
This makes the font description string robust against numeric locale
settings, which could cause problems if "," gets used as the decimal
separator in the requested font size.
This issue caused text rendering to be broken in gschem on Win32 for
locales where "," was used as the decimal specifier. The underlying
bug (failing to override the LC_NUMERIC settings) is now fixed,
although it is just as well to be as robust as possible here.
Thanks to Cesar and Bert for testing this fix.
Tested-by: Cesar Strauss <email address hidden>
Tested-by: Bert Timmerman <email address hidden>
commit 5d130060e694cfd
Author: Peter Clifton <email address hidden>
Date: Tue Jan 19 23:11:36 2010 +0000
Set the LC_NUMERIC locale to "C" rather than "POSIX"
This value is supported on Win32 platforms, whereas "POSIX" doesn't
appear to have any effect.
This is required in order to get correct postscript output in locales
where "," is used as the decimal point separator. It also affects the
font strings passed to Pango, causing broken text rendering in gschem.
Thanks to Cesar for testing this change indeed fixes the issue.
Tested-by: Cesar Strauss <email address hidden>
commit 7ffb3884c477ea4
Author: Peter Clifton <email address hidden>
Date: Thu Dec 31 12:52:19 2009 +0000
gschem: Re-trace about logo to have transparency in anti-aliasing
The previous version was partially flattened, so the anti-aliasing
only worked on a light coloured background. Re-trace the gate, red
net end cues and re-export.
Is otherwise identical to the website logo.
commit 7f8f8beb4d2ab3e
Author: Ales Hvezda <email address hidden>
Date: Wed Dec 30 21:41:53 2009 -0500
Changed the new gschem about logo to be the same as the gEDA website logo
commit 1af6cf8dcc23174
Author: Peter Clifton <email address hidden>
Date: Wed Dec 30 20:29:04 2009 +0000
gschem: New about dialog, including gEDA logo graphics
commit 322ed1852405e6d
Author: Dan McMahill <email address hidden>
Date: Wed Nov 25 09:25:20 2009 -0500
Add a locale.h check otherwise it never gets included in gschem.c
gschem/
but configure.ac didn't provide that test. This caused build failures
on newer (5.0) NetBSD systems. It is unclear if there are any systems
capable of running gaf where locale.h doesn't exist but is still
NLS capable.
commit f30b66a2d02592c
Author: Gareth Edwards <email address hidden>
Date: Fri Nov 20 22:17:52 2009 +0000
libgeda: clean up doxygen warnings [2899355]
Some of the doxygen comments for libgeda have
fallen into bitrot, particularly around parameter names and lists.
This patch updates doxygen comments to fix almost all warnings generated
in the libgeda doxygen run.
commit f1e5729f9638731
Author: Gareth Edwards <email address hidden>
Date: Fri Nov 20 22:17:43 2009 +0000
gschem: Clean up doxygen warnings [2899355]
Quite a few of the doxygen comments for gschem have
fallen into bitrot, particularly around parameter names and lists.
This patch updates doxygen comments to fix almost all warnings generated
in the gschem doxygen run. Also corrected apostrophe error on main page.
commit 93dd5a941f34d1d
Author: أحمد المحمودي (Ahmed El-Mahmoudy) <email address hidden>
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 4885969f50e7942
Author: أحمد المحمودي (Ahmed El-Mahmoudy) <email address hidden>
Date: Fri Nov 20 16:09:19 2009 +0000
Don't use Encoding field in .desktop files [2901187]
The .desktop files contain the deprecated Encoding field. The Encoding
key is now deprecated by the FreeDesktop standard and all strings are
required to be encoded in UTF-8.
commit 405aebd1b3a3f15
Author: Gareth Edwards <email address hidden>
Date: Fri Nov 20 06:39:59 2009 +0000
Added doxygen target to top level Makefile template
Added a doxygen target to the top level Makefile.am that calls
the same target in the relevant tool subdirectories to produce all
the doxygen documentation at once (if --enable-doxygen was
passed in the configure options).
commit 858982a2a05ff3e
Author: Gareth Edwards <email address hidden>
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 ea34de8e761f40b
Author: Gareth Edwards <email address hidden>
Date: Fri Nov 20 06:39:59 2009 +0000
Don't drop a file called "doxygen"
Remove the file redirection that causes a file called "doxygen"
to be created in the */docs/ directories if --enable-doxygen
is *not* one of the configure flags.
commit 1248c66c7973f8d
Author: Gareth Edwards <email address hidden>
Date: Fri Nov 20 06:39:59 2009 +0000
Added doxygen targets to remaining applications.
commit c112db1048279a8
Author: Gareth Edwards <email address hidden>
Date: Fri Nov 20 06:39:58 2009 +0000
Improved help text and messaging for --enable-doxygen switch.
As per Stefan Salewski's email of 10 Oct 2009, clarified the
configure help text for the --enable-doxygen switch and the transcript
message.
commit ef86dc34509308a
Author: Peter Clifton <email address hidden>
Date: Mon Nov 16 20:42:26 2009 +0000
Don't immediately redraw rubberband objects after placing
This allows the user to see the placed (and selected) object
without it being overwriten by any object still attached to the
mouse cursor. (This made it appear that the object had not been
placed).
The rubberband objects attached to the cursor are re-drawn as soon
as the mouse moves.
commit 90ab35e96c4c2a9
Author: Sergey Alyoshin <email address hidden>
Date: Thu Nov 12 19:01:00 2009 +0000
gschem: Updated Russian translation.
commit 69f7faf706f7eba
Author: Roland Lutz <email address hidden>
Date: Thu Nov 12 18:48:55 2009 +0000
Allow double-click to select component in Compselect dialog [#2661223]
commit e1c4dab66eea9b2
Author: Jason Childs <email address hidden>
Date: Thu Nov 12 18:33:55 2009 +0000
libgeda: Use g_file_
(One half of patch #2628677; crediting Jason because this part of
the patch was applied unmodified. -- Peter)
commit e9355f593ea77d8
Author: Gareth Edwards <email address hidden>
Date: Thu Nov 12 14:29:47 2009 +0000
libgeda doxygen: Corrected images make target [#2889717]
The doxygen target under libgeda/docs was not calling the correct
target in the images/ subdirectory at the start of the documentation
build. Changed from 'make' to 'make images'.
commit b1a64452464e959
Author: Peter TB Brett <email address hidden>
Date: Mon Nov 2 18:18:18 2009 +0000
Add AC_PROG_MKDIR_P.
Some versions of Automake don't define MKDIR_P by default. Add the
AC_PROG_MKDIR_P macro to make sure that it gets defined.
Original patch contributed by Karl Hammar <email address hidden>.
commit a7c7e96e17937ea
Author: Werner Hoch <email address hidden>
Date: Sun Oct 18 23:03:23 2009 +0100
gschem: Fix rendering with zoomed out dashed lines. Bug #2876373
Rather than using SCREENabs, use the screen_width function to
determine the on-screen size of dash elements. This clamps the
width at a rendereable size, so cairo does not get tripped into
an error state (and stop drawing other objects on the schematic).
commit 015c11809800969
Author: Werner Hoch <email address hidden>
Date: Sat Oct 17 11:29:26 2009 +0200
updated german translation for libgeda
commit dac4cc228ac75df
Author: Werner Hoch <email address hidden>
Date: Sat Oct 17 11:05:27 2009 +0200
updated german translation for gschem
commit 9cf811f0bd4269f
Author: Bert Timmerman <email address hidden>
Date: Sat Oct 17 10:14:14 2009 +0200
Updated the Dutch translations for gschem
commit 1928bfe038ce99b
Author: Bert Timmerman <email address hidden>
Date: Sat Oct 17 10:13:15 2009 +0200
Updated the Dutch translations for libgeda.
commit 70349cdffe0aa25
Author: Peter Clifton <email address hidden>
Date: Sat Oct 17 03:39:49 2009 +0100
examples: Use filled paths to make some symbols look nicer
I've been using the lightning detector example to make screen-shots,
so I'm committing the symbol changes I made for those.
commit 4e558bed59a13d9
Author: Werner Hoch <email address hidden>
Date: Tue Oct 6 20:12:02 2009 +0200
gschem, gattrib desktop file: add trailing semicolon
the openSUSE buildservice claims that it's necessary to add a
trailing semicolon to the Categories list entries.
commit 84fae3a8201c2d1
Author: Werner Hoch <email address hidden>
Date: Tue Oct 6 19:49:34 2009 +0200
Minor correction of symbol resistor-2.sym
Reported by Christian Riggenbach <email address hidden>
on geda-user mailing list
commit 3388b0e409c091f
Author: Werner Hoch <email address hidden>
Date: Fri Jan 2 12:12:39 2009 +0100
symbols: reworked two pic16 symbols
added pinlabel, pintype and attributes. Fixed text alignments.