[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-bug: [ geda-Patches-1555067 ] Enhanced autonumber text dialog



Patches item #1555067, was opened at 2006-09-08 23:43
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=818428&aid=1555067&group_id=161080

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Werner Hoch (werner2101)
Assigned to: Nobody/Anonymous (nobody)
Summary: Enhanced autonumber text dialog

Initial Comment:
Moved the autonumber stuff to a new file "x_autonumber.c".

The search option can handle the "*" wildcard to
renumber all elements of a schemetic.

The sortorder has two additional entries: bottum up,
and right to left. That's useful for busses.

Added two options the dialog:
The scope option controlls which numbers can be used or
not for renumbering the selected elements.
  * uniq numbers in the whole hierarchy
  * uniq numbers on every page
  * don't care about uniq numbers
The last one is usefull for netnames, ...
The second for true hierarchical schematics.

The automatic slotting checkbox enables the sloting
feature of the callback function.

The dialog now keeps it's entries when closed and reopend.

To handle the hierarchical structure I've change the
callback function to use iteration instead of recursion.
This solves two (rare) bugs.

---------------
Known issues:
When adding "slot=" attributes to the symbols,
o_slot_end() adds an entry to the o_undo queue. This
means undo does not really work well.

If there are two symbols with the same refdes and the
same slot number and they are not renumbered, then
other symbols may have a wrong slot and refdes.
--> tracking the used elements would be necessary.

All algorithms are slow. But it's not a problem as long
as you have below 5000 schematic elements.

The patch is against the current CVS.

Regards
Werner


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=818428&aid=1555067&group_id=161080


_______________________________________________
geda-bug mailing list
geda-bug@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-bug