Activity log for bug #787637

Date Who What changed Old value New value Message
2011-05-24 15:51:01 KaiMartin bug added bug
2011-05-24 15:51:26 KaiMartin description The auto-uref.scm script does not work as expected. It uses even numbers only and produces duplicate refdeses. To reproduce: 0) add these lines in gschemrc to activate auto-uref: (load-from-path "auto-uref.scm") (add-hook! add-component-hook auto-uref) (add-hook! copy-component-hook auto-uref) 1) open gschem. 2) Open the symbol chooser dialog and add three symbols resistor-2.sym from the Basic_devices library. Refdeses should be R1, R2, R3, but will be R2, R4, R6. 3) save the sheet with save-as. 4) close gschem. 5) open gschem with the saved sheet. 6) Add some more resistor-1.sym via the chooser dialog. Refdeses will again be R2, R4, R6, etc. That is duplicates to the symbols already present on the sheet. ---<)kaimartin(>--- The auto-uref.scm script does not work as expected. It uses even numbers only and produces duplicate refdeses. To reproduce: 0) add these lines in gschemrc to activate auto-uref:    (load-from-path "auto-uref.scm")    (add-hook! add-component-hook auto-uref)    (add-hook! copy-component-hook auto-uref) 1) open gschem. 2) Open the symbol chooser dialog and add three symbols resistor-2.sym from the Basic_devices library. Refdeses should be R1, R2, R3, but will be R2, R4, R6. 3) save the sheet with save-as. 4) close gschem. 5) open gschem with the saved sheet. 6) Add some more resistor-1.sym via the chooser dialog. Refdeses will again be R2, R4, R6, etc. That is, duplicates to the symbols already present on the sheet. ---<)kaimartin(>---
2011-05-24 15:54:57 KaiMartin tags gschem scheme
2011-05-24 20:18:57 Krzysztof Kościuszkiewicz geda: status New Confirmed
2011-05-24 20:19:00 Krzysztof Kościuszkiewicz geda: importance Undecided Medium
2011-05-25 00:06:11 Krzysztof Kościuszkiewicz geda: assignee Krzysztof Kościuszkiewicz (k-kosciuszkiewicz)
2011-05-27 18:33:00 Peter Clifton attachment added Hook for un-numbering refdes on copy https://bugs.launchpad.net/geda/+bug/787637/+attachment/2144941/+files/unnumber-refdes.scm
2011-06-02 23:16:05 Krzysztof Kościuszkiewicz geda: status Confirmed Fix Committed
2011-06-02 23:16:09 Krzysztof Kościuszkiewicz geda: assignee Krzysztof Kościuszkiewicz (k-kosciuszkiewicz)
2011-06-10 08:36:58 Peter TB Brett geda: milestone 1.7.1
2011-06-19 15:48:29 Peter TB Brett geda: status Fix Committed Fix Released