[PD-cvs] pd/src desire.tk,1.1.2.600.2.384,1.1.2.600.2.385
chunlee
chunlee at users.sourceforge.net
Fri Aug 17 02:28:51 CEST 2007
- Previous message: [PD-cvs] doc/tutorials/intro 09.the_basic_atoms.pd, NONE, 1.1 10.bang.pd, NONE, 1.1 11.event_driven_processing.pd, NONE, 1.1 12.counters.pd, NONE, 1.1 13.hot_and_cold_inlets.pd, NONE, 1.1 16.top_to_bottom.pd, NONE, 1.1 17.depth_first.pd, NONE, 1.1 18.inlets_and_outlets.pd, NONE, 1.1 19.storage_objects.pd, NONE, 1.1 20.creation_arguments.pd, NONE, 1.1 21.atomic_messages.pd, NONE, 1.1 22.selectors.pd, NONE, 1.1 23.subpatches.pd, NONE, 1.1 27.creation_arguments.pd, NONE, 1.1 28.turning_on_and_off.pd, NONE, 1.1 29.properties.pd, NONE, 1.1 30.sliders.pd, NONE, 1.1 31.gui_objects.pd, NONE, 1.1 32.guis.pd, NONE, 1.1 33.nervous_guis.pd, NONE, 1.1 34.EXERCISE-make_a_gui_object_dynamic.pd, NONE, 1.1 35.selecting_events.pd, NONE, 1.1 36.comparing_numbers.pd, NONE, 1.1 37.math.pd, NONE, 1.1 39.math_expr.pd, NONE, 1.1 40.number_limitations.pd, NONE, 1.1 41.floats_and_ints.pd, NONE, 1.1 42.EXERCISE-help_americans.pd, NONE, 1.1 43.building_lists.pd, NONE, 1.1 44.using_lists.pd, NONE, 1.1 45.sorting_messages_by_type.pd, NONE, 1.1 46.trigger_conversion.pd, NONE, 1.1 47.grabbing_keystrokes.pd, NONE, 1.1 48.building_messages.pd, NONE, 1.1 49.pure_data_files.pd, NONE, 1.1 50.multiple_messages.pd, NONE, 1.1 51.send_messages_to_pd.pd, NONE, 1.1 01.hello_world.pd, 1.1, 1.2 05.objects.pd, 1.3, 1.4 06.connections.pd, 1.1, 1.2 07.messages.pd, 1.1, 1.2 08.EXERCISE-make_your_first_patch.pd, 1.1, 1.2 14.right_to_left_order.pd, 1.1, 1.2 15.ordering_messages.pd, 1.1, 1.2 25.Example-all_just_data.pd, 1.2, 1.3 26.EXERCISE-hmmm.pd, 1.1, 1.2 38.init_to_0.pd, 1.1, 1.2 09.bang.pd, 1.2, NONE 10.event_driven_processing.pd, 1.1, NONE 11.counters.pd, 1.2, NONE 12.hot_and_cold_inlets.pd, 1.1, NONE 13.building_messages.pd, 1.1, NONE 16.depth_first.pd, 1.1, NONE 16.ordering_messages.pd, 1.1, NONE 17.inlets_and_outlets.pd, 1.1, NONE 18.storage_objects.pd, 1.1, NONE 19.atoms.pd, 1.1, NONE 20.atomic_messages.pd, 1.1, NONE 21.selectors.pd, 1.1, NONE 22.subpatches.pd, 1.1, NONE 23.inlets_and_outlets.pd, 1.2, NONE 26.creation_arguments.pd, 1.1, NONE 27.turning_on_and_off.pd, 1.1, NONE 28.properties.pd, 1.1, NONE 29.sliders.pd, 1.1, NONE 30.gui_objects.pd, 1.1, NONE 30.guis.pd, 1.1, NONE 31.guis.pd, 1.1, NONE 31.nervous_guis.pd, 1.1, NONE 32.EXERCISE-make_a_gui_object_dynamic.pd, 1.1, NONE 33.selecting_events.pd, 1.1, NONE 34.comparing_numbers.pd, 1.1, NONE 35.math.pd, 1.1, NONE 36.init_to_0.pd, 1.1, NONE 37.math_expr.pd, 1.1, NONE 38.EXERCISE-help_americans.pd, 1.2, NONE 39.building_lists.pd, 1.1, NONE 40.using_lists.pd, 1.1, NONE 41.sorting_messages_by_type.pd, 1.1, NONE 42.trigger_conversion.pd, 1.1, NONE 43.grabbing_keystrokes.pd, 1.1, NONE 44.multiple_messages.pd, 1.1, NONE 45.send_messages_to_pd.pd, 1.1, NONE 46.pure_data_files.pd, 1.2, NONE 47.send_messages_to_pd.pd, 1.1, NONE building_lists.pd, 1.1, NONE comparing_numbers.pd, 1.2, NONE creation_arguments.pd, 1.1, NONE floats_and_ints.pd, 1.1, NONE init_to_0.pd, 1.1, NONE multiple_messages.pd, 1.1, NONE number_limitations.pd, 1.1, NONE pure_data_files.pd, 1.1, NONE selecting_events.pd, 1.1, NONE send_messages_to_pd.pd, 1.1, NONE using_lists.pd, 1.1, NONE
- Next message: [PD-cvs] pd/src s_inter.c,1.5.4.10.2.25.2.24,1.5.4.10.2.25.2.25
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/pure-data/pd/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4221
Modified Files:
Tag: desiredata
desire.tk
Log Message:
added def to return implicit wires in selection
Index: desire.tk
===================================================================
RCS file: /cvsroot/pure-data/pd/src/Attic/desire.tk,v
retrieving revision 1.1.2.600.2.384
retrieving revision 1.1.2.600.2.385
diff -C2 -d -r1.1.2.600.2.384 -r1.1.2.600.2.385
*** desire.tk 16 Aug 2007 20:11:09 -0000 1.1.2.600.2.384
--- desire.tk 17 Aug 2007 00:28:45 -0000 1.1.2.600.2.385
***************
*** 3923,3926 ****
--- 3923,3951 ----
def Canvas outlet_expand {k outlet} {set reconnect [$self broken_wires o $k $inlet]}
+ def Canvas include_wires {} {$self find_include_wires [$@objectsel values]}
+
+ def Canvas find_include_wires {objs} {
+ set l {}; set h $@objects
+ foreach obj $objs {
+ set k [$h search $obj]
+ for {set i 0} {$i < [$obj ninlets]} {incr i} {
+ set ws [$self com_wires i $k $i]; if {[llength $ws]} {foreach w $ws {lappend l $w}}
+ }
+ for {set o 0} {$o < [$obj noutlets]} {incr o} {
+ set ws [$self com_wires o $k $o]; if {[llength $ws]} {foreach w $ws {lappend l $w}}
+ }
+ }
+ puts [lsort -unique $l]
+ }
+
+ def Canvas com_wires {type k port} {
+ set h $@objectsel; set obj [$@objects get $k]; set wires [$obj wires2]; set l {}
+ foreach wire $wires {
+ mset {f2 o2 t2 i2} [$wire connects]
+ if {$t2==$k && $i2==$port && $type=="i" && [$h exists $f2]} {lappend l $wire}
+ if {$f2==$k && $o2==$port && $type=="o" && [$h exists $t2]} {lappend l $wire}
+ }
+ return $l
+ }
def Canvas broken_wires {type k port canvas} {
- Previous message: [PD-cvs] doc/tutorials/intro 09.the_basic_atoms.pd, NONE, 1.1 10.bang.pd, NONE, 1.1 11.event_driven_processing.pd, NONE, 1.1 12.counters.pd, NONE, 1.1 13.hot_and_cold_inlets.pd, NONE, 1.1 16.top_to_bottom.pd, NONE, 1.1 17.depth_first.pd, NONE, 1.1 18.inlets_and_outlets.pd, NONE, 1.1 19.storage_objects.pd, NONE, 1.1 20.creation_arguments.pd, NONE, 1.1 21.atomic_messages.pd, NONE, 1.1 22.selectors.pd, NONE, 1.1 23.subpatches.pd, NONE, 1.1 27.creation_arguments.pd, NONE, 1.1 28.turning_on_and_off.pd, NONE, 1.1 29.properties.pd, NONE, 1.1 30.sliders.pd, NONE, 1.1 31.gui_objects.pd, NONE, 1.1 32.guis.pd, NONE, 1.1 33.nervous_guis.pd, NONE, 1.1 34.EXERCISE-make_a_gui_object_dynamic.pd, NONE, 1.1 35.selecting_events.pd, NONE, 1.1 36.comparing_numbers.pd, NONE, 1.1 37.math.pd, NONE, 1.1 39.math_expr.pd, NONE, 1.1 40.number_limitations.pd, NONE, 1.1 41.floats_and_ints.pd, NONE, 1.1 42.EXERCISE-help_americans.pd, NONE, 1.1 43.building_lists.pd, NONE, 1.1 44.using_lists.pd, NONE, 1.1 45.sorting_messages_by_type.pd, NONE, 1.1 46.trigger_conversion.pd, NONE, 1.1 47.grabbing_keystrokes.pd, NONE, 1.1 48.building_messages.pd, NONE, 1.1 49.pure_data_files.pd, NONE, 1.1 50.multiple_messages.pd, NONE, 1.1 51.send_messages_to_pd.pd, NONE, 1.1 01.hello_world.pd, 1.1, 1.2 05.objects.pd, 1.3, 1.4 06.connections.pd, 1.1, 1.2 07.messages.pd, 1.1, 1.2 08.EXERCISE-make_your_first_patch.pd, 1.1, 1.2 14.right_to_left_order.pd, 1.1, 1.2 15.ordering_messages.pd, 1.1, 1.2 25.Example-all_just_data.pd, 1.2, 1.3 26.EXERCISE-hmmm.pd, 1.1, 1.2 38.init_to_0.pd, 1.1, 1.2 09.bang.pd, 1.2, NONE 10.event_driven_processing.pd, 1.1, NONE 11.counters.pd, 1.2, NONE 12.hot_and_cold_inlets.pd, 1.1, NONE 13.building_messages.pd, 1.1, NONE 16.depth_first.pd, 1.1, NONE 16.ordering_messages.pd, 1.1, NONE 17.inlets_and_outlets.pd, 1.1, NONE 18.storage_objects.pd, 1.1, NONE 19.atoms.pd, 1.1, NONE 20.atomic_messages.pd, 1.1, NONE 21.selectors.pd, 1.1, NONE 22.subpatches.pd, 1.1, NONE 23.inlets_and_outlets.pd, 1.2, NONE 26.creation_arguments.pd, 1.1, NONE 27.turning_on_and_off.pd, 1.1, NONE 28.properties.pd, 1.1, NONE 29.sliders.pd, 1.1, NONE 30.gui_objects.pd, 1.1, NONE 30.guis.pd, 1.1, NONE 31.guis.pd, 1.1, NONE 31.nervous_guis.pd, 1.1, NONE 32.EXERCISE-make_a_gui_object_dynamic.pd, 1.1, NONE 33.selecting_events.pd, 1.1, NONE 34.comparing_numbers.pd, 1.1, NONE 35.math.pd, 1.1, NONE 36.init_to_0.pd, 1.1, NONE 37.math_expr.pd, 1.1, NONE 38.EXERCISE-help_americans.pd, 1.2, NONE 39.building_lists.pd, 1.1, NONE 40.using_lists.pd, 1.1, NONE 41.sorting_messages_by_type.pd, 1.1, NONE 42.trigger_conversion.pd, 1.1, NONE 43.grabbing_keystrokes.pd, 1.1, NONE 44.multiple_messages.pd, 1.1, NONE 45.send_messages_to_pd.pd, 1.1, NONE 46.pure_data_files.pd, 1.2, NONE 47.send_messages_to_pd.pd, 1.1, NONE building_lists.pd, 1.1, NONE comparing_numbers.pd, 1.2, NONE creation_arguments.pd, 1.1, NONE floats_and_ints.pd, 1.1, NONE init_to_0.pd, 1.1, NONE multiple_messages.pd, 1.1, NONE number_limitations.pd, 1.1, NONE pure_data_files.pd, 1.1, NONE selecting_events.pd, 1.1, NONE send_messages_to_pd.pd, 1.1, NONE using_lists.pd, 1.1, NONE
- Next message: [PD-cvs] pd/src s_inter.c,1.5.4.10.2.25.2.24,1.5.4.10.2.25.2.25
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Pd-cvs
mailing list