Update of /cvsroot/pure-data/pd/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30655
Modified Files: Tag: desiredata desire.tk TODO ChangeLog Log Message: experimenting with snap to grid(tidy_up)
Index: desire.tk =================================================================== RCS file: /cvsroot/pure-data/pd/src/Attic/desire.tk,v retrieving revision 1.1.2.600.2.167 retrieving revision 1.1.2.600.2.168 diff -C2 -d -r1.1.2.600.2.167 -r1.1.2.600.2.168 *** desire.tk 16 Jan 2007 12:06:28 -0000 1.1.2.600.2.167 --- desire.tk 17 Jan 2007 00:42:27 -0000 1.1.2.600.2.168 *************** *** 1972,1976 **** $self selection= $obj } ! def Canvas Object {} {$self new_object obj} def Canvas Message {} {$self new_object msg} --- 1972,2002 ---- $self selection= $obj } ! set grid 5 ! def Canvas snapx {} { ! $@history atomically [list move] { ! $self snapx2 ! } ! } ! def Canvas snapx2 {} { ! set grid $::grid ! set new_xy {} ! set snapped {} ! foreach child $@children { ! mset {x y} [$child xy] ! set x1 [expr $x - ($x%$grid)] ! #set y1 [expr $y - ($y%$grid)] ! set i 0 ! while {[lsearch $new_xy [list $x1 $y]] > 0} { ! incr i ! set x1 [expr $x1+($grid*$i)] ! # set y1 [expr $y1+($grid*$i)] ! } ! # need to test overlap.. ! lappend new_xy [list $x1 $y] ! lappend snapped $child ! $child moveto $x1 $y ! } ! incr ::grid 5 ! } def Canvas Object {} {$self new_object obj} def Canvas Message {} {$self new_object msg} *************** *** 4149,4154 **** } #-----------------------------------------------------------------------------------# - def Canvas selection_move {dx dy} { if {![$self editmode]} {return} foreach o $@selection { --- 4175,4184 ---- } #-----------------------------------------------------------------------------------# def Canvas selection_move {dx dy} { + $@history atomically [list move] { + $self selection_move2 $dx $dy + } + } + def Canvas selection_move2 {dx dy} { if {![$self editmode]} {return} foreach o $@selection { *************** *** 4345,4348 **** --- 4375,4379 ---- set @text [$self remove_braces [join [lrange $mess 4 end]]] } + # if {$@wires2 != ""} {$self changed_wires} $self outside_of_the_box }
Index: TODO =================================================================== RCS file: /cvsroot/pure-data/pd/src/Attic/TODO,v retrieving revision 1.1.2.28.2.34 retrieving revision 1.1.2.28.2.35 diff -C2 -d -r1.1.2.28.2.34 -r1.1.2.28.2.35 *** TODO 15 Jan 2007 21:45:08 -0000 1.1.2.28.2.34 --- TODO 17 Jan 2007 00:42:29 -0000 1.1.2.28.2.35 *************** *** 2,9 ****
---------------------------------------------------------------- 0.40.pre6 ! <chun> 1. fix double delete [pd] ! <chun> 2. new way to do View get_canvas ! [ ] switch iemguis to using only t_atoms [ ] GOP problems are back due to recent changes in canvas_map and canvas_vis [ ] [route] should accept mixed types (float, symbol) --- 2,10 ----
---------------------------------------------------------------- 0.40.pre6 ! [ ] it might make sense to always upload subpatches but upload instances only when needed ! [ ] server don't send delete message back after client sending "object_delete" (http://pastebin.ca/318343) ! [ ] serial got sent too early when creating [pd] with push & #N canvas (http://pastebin.ca/318318) [ ] switch iemguis to using only t_atoms + [ ] Slider returns wrong value if range is not defualt. ie 0-1 [ ] GOP problems are back due to recent changes in canvas_map and canvas_vis [ ] [route] should accept mixed types (float, symbol) *************** *** 13,17 **** [ ] get rid of stderr in server [ ] slider val has to change back to centipixels but as a float. - [x] <matju> chun: this is a feature called "loading", which is in pd but not in dd. [ ] prevent hidden subpatches/abstraction-instances from being loaded in the client all of the time. [ ] -lib in .ddrc crashes server: http://pastebin.ca/286300 --- 14,17 ---- *************** *** 19,34 **** <- .x8068058 reload 2 14 -1e+37 1e+37 0 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 256; -> change x8068058 x8067c50 {#X obj 335 166 nbx 8 14 -1e+37 1e+37 0 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 256;} - [x] fix {;} {$1} in TextBox, loads fine, but there is bug in redraw [ ] <tim168> matju: in a message box in dd a "," gets replaced by "(,)" [ ] fix gop [ ] reimplement View get_canvas so that it does not rely on [focus] ! [x] gop content drawn on wrong canvas ! [x] gop content should not be able to move... ! [x] gop content should not be able to make wire ! [x] rightclick open don't work on nested gop ! [x] futurewire broken ! [x] drawn from inlet ! [x] can't connect from outlet other than the hot outlet ! [x] FloatBox remains hilited after hit Return [ ] gobj_changed3: no appendix in 0x807b620 (don't know how to reproduce yet) [ ] fix deleteing/closing Canvas --- 19,26 ---- <- .x8068058 reload 2 14 -1e+37 1e+37 0 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 256; -> change x8068058 x8067c50 {#X obj 335 166 nbx 8 14 -1e+37 1e+37 0 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 256;} [ ] <tim168> matju: in a message box in dd a "," gets replaced by "(,)" [ ] fix gop [ ] reimplement View get_canvas so that it does not rely on [focus] ! [ ] gop contains can be drawn if not uploaded to client [ ] gobj_changed3: no appendix in 0x807b620 (don't know how to reproduce yet) [ ] fix deleteing/closing Canvas *************** *** 36,42 **** [ ] server sends -> x806a3b8 delete twice [ ] fix deletion order - [x] closing opened [pd] window broken [ ] graphical array rendering optimization - [x] firefox style find bar + Breadth-first search [ ] fix double delete of [pd]. [ ] added "version 2" syntax parser (optional), which has nested lists, --- 28,32 ---- *************** *** 45,54 **** [x] add "info" display if no result returned [x] fix infinite loop if no result returned - [x] fix client editor key not showing up - [x] the original wire don't delete after object insertion - [x] "click off" should also work with object insertion - [x] after ctrl+1 focus gets lost if click on the ObjectBox - [x] ctrl+c brok for GUI objects [ ] note that Marius Schebella is interested in benchmarks
[ ] PureUnity --- 35,41 ---- [x] add "info" display if no result returned [x] fix infinite loop if no result returned [ ] note that Marius Schebella is interested in benchmarks + [ ] atomically with multiple level + [ ] tidy_up/snap to grid
[ ] PureUnity *************** *** 61,70 ****
---------------------------------------------------------------- 0.40.pre7-... - - <shift8> matju: another big bug for me - v/h sliders in existing patches bounce - repeatedly back to bottom when some kind of event occurs. you have to move the - mouse very gently back and forth until the slider stays at the location you want, - then without moving the mouse, release the mouse button :( - [ ] MIDI loopback pseudo-device (inside pd) [ ] audio loopback pseudo-device (inside pd) --- 48,51 ----
Index: ChangeLog =================================================================== RCS file: /cvsroot/pure-data/pd/src/Attic/ChangeLog,v retrieving revision 1.1.4.11.2.15 retrieving revision 1.1.4.11.2.16 diff -C2 -d -r1.1.4.11.2.15 -r1.1.4.11.2.16 *** ChangeLog 15 Jan 2007 21:45:08 -0000 1.1.4.11.2.15 --- ChangeLog 17 Jan 2007 00:42:29 -0000 1.1.4.11.2.16 *************** *** 25,29 **** [operator1-rule] [operator1-test] [operator2-rule] [operator2-test] ! ...
Desire 0.40.pre5 (2006.12.19) (-r desiredata; ./configure && make) : --- 25,29 ---- [operator1-rule] [operator1-test] [operator2-rule] [operator2-test] ! * new parser for string support
Desire 0.40.pre5 (2006.12.19) (-r desiredata; ./configure && make) :