~ubuntu-branches/ubuntu/natty/pd-zexy/natty

« back to all changes in this revision

Viewing changes to tests/list2lists/negativelength.pd

  • Committer: Bazaar Package Importer
  • Author(s): Jonas Smedegaard, IOhannes m zmölnig, Jonas Smedegaard
  • Date: 2010-08-20 12:17:41 UTC
  • mfrom: (2.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20100820121741-4kxozn8b9rhee9fr
Tags: 2.2.3-1
* New upstream version

[ IOhannes m zmölnig ]
* Adopt package, on behalf of Multimedia Team.
  Closes: #546964
* Simply debian/rules with CDBS, and don't unconditionally strip
  binaries.
  Closes: #437763
* Install into /usr/lib/pd/extra/zexy/. Document usage in REAME.Debian
  and warn about change in NEWS.
* git'ify package. Add Vcs-* stanzas to control file.
* Use dpkg source format 3.0 (quilt). Drop build-dependency on quilt.

[ Jonas Smedegaard ]
* Enable CDBS copyright-check routine.
* Add copyright and licensing header to debian/rules.
* Add myself as uploader.
* Rewrite debian/copyright using rev. 135 of draft DEP5 format.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#N canvas 57 57 608 610 10;
 
2
#X obj 86 213 t b b;
 
3
#X obj 86 190 inlet run_test;
 
4
#X obj 86 488 outlet;
 
5
#X msg 86 420 0;
 
6
#X obj 86 455 t f;
 
7
#X obj 134 327 list2lists;
 
8
#X msg 134 276 1 2 3 4;
 
9
#X text 73 33 currently [list2lists] does not check for negative list
 
10
lengths and allows them just fine \, which can easily lead to segfaults
 
11
(e.g. with a list-length of "-8000");
 
12
#X text 76 90 i don't knw exactly how this should be handled;
 
13
#X text 125 114 i guess it would be best to just issue an error and
 
14
clamp the list-length to 0;
 
15
#X msg 201 305 list 2 -2 2;
 
16
#X text 223 333 the wrong output will be "1 2 \, bang \, 1 2";
 
17
#X msg 147 226 bang;
 
18
#X obj 134 351 route bang;
 
19
#X obj 134 252 t b b b;
 
20
#X obj 123 406 repack 100;
 
21
#X msg 134 376 symbol BANG;
 
22
#X obj 123 429 unpack 0 0 s 0 0;
 
23
#X obj 203 476 +;
 
24
#X obj 206 500 != 0;
 
25
#X floatatom 128 511 5 0 0 0 - - -;
 
26
#X obj 203 454 == 3;
 
27
#X obj 243 450 == 4;
 
28
#X connect 0 0 3 0;
 
29
#X connect 0 1 14 0;
 
30
#X connect 1 0 0 0;
 
31
#X connect 3 0 4 0;
 
32
#X connect 4 0 2 0;
 
33
#X connect 4 0 20 0;
 
34
#X connect 5 0 13 0;
 
35
#X connect 6 0 5 0;
 
36
#X connect 10 0 5 1;
 
37
#X connect 12 0 14 0;
 
38
#X connect 13 0 16 0;
 
39
#X connect 13 1 15 0;
 
40
#X connect 14 0 15 0;
 
41
#X connect 14 1 6 0;
 
42
#X connect 14 2 10 0;
 
43
#X connect 15 0 17 0;
 
44
#X connect 16 0 15 0;
 
45
#X connect 17 3 21 0;
 
46
#X connect 17 4 22 0;
 
47
#X connect 18 0 19 0;
 
48
#X connect 19 0 4 0;
 
49
#X connect 21 0 18 0;
 
50
#X connect 22 0 18 1;