From 14029710b5ac9e67688a8ff4b3b88a846d55a040 Mon Sep 17 00:00:00 2001 From: Jonathan Wilkes Date: Thu, 25 Nov 2010 01:28:20 +0000 Subject: added META subpatch svn path=/trunk/externals/moocow/pdstring/; revision=14525 --- src/any2bytes-help.pd | 16 ++++++++++++++-- src/any2wchars-help.pd | 14 +++++++++++++- src/bytes2any-help.pd | 16 ++++++++++++++-- src/bytes2wchars-help.pd | 14 ++++++++++++-- src/bytes2wchars-test.pd | 2 +- src/pdstring-help.pd | 11 ++++++++++- src/printbytes-help.pd | 11 ++++++++++- src/printbytes-test.pd | 2 +- src/printwchars-help.pd | 20 +++++++++++++++----- src/printwchars-test.pd | 2 +- src/raw-arraytest.pd | 2 +- src/string2any.pd | 2 +- src/stringalias-test.pd | 2 +- src/unsigned.pd | 12 ++++++------ src/wchars2any-help.pd | 15 ++++++++++++++- src/wchars2any.pd | 2 +- src/wchars2bytes-help.pd | 13 ++++++++++++- src/wchars2bytes-test.pd | 2 +- 18 files changed, 128 insertions(+), 30 deletions(-) diff --git a/src/any2bytes-help.pd b/src/any2bytes-help.pd index ef0ce17..9a67b2c 100644 --- a/src/any2bytes-help.pd +++ b/src/any2bytes-help.pd @@ -1,4 +1,4 @@ -#N canvas 90 20 636 478 10; +#N canvas 0 26 636 478 10; #X msg 109 197 0; #X msg 77 197 -1; #X text 19 47 INLETS:; @@ -15,7 +15,7 @@ text buffer). This should get re-allocated when necessary. Specify 0 (zero) to use the default value.; #X text 184 367 Second argument: initial EOS character. See above. ; -#X text 320 458 Bryan Jurish ; +#X text 320 398 Bryan Jurish ; #X text 19 439 SEE ALSO:; #X msg 139 197 42; #X text 184 194 The second inlet sets the terminating EOS ("end-of-string") @@ -31,6 +31,18 @@ For backwards compatibility \, the default EOS character is 0 (zero). #X text 263 63 1 - lists of byte-valued floats; #X text 49 5 any2bytes : convert pd messages to a list of byte values ; +#N canvas 260 141 494 344 META 0; +#X text 12 145 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42.; +#X text 12 25 LICENSE GPL v2; +#X text 12 45 DESCRIPTION convert pd messages to a list of byte values +; +#X text 12 65 INLET_0 anything; +#X text 12 85 INLET_1 float; +#X text 12 105 OUTLET_0 list; +#X text 12 125 AUTHOR Bryan Jurish ; +#X text 12 5 KEYWORDS control conversion symbol_op; +#X restore 583 456 pd META; #X connect 0 0 19 1; #X connect 1 0 19 1; #X connect 5 0 19 0; diff --git a/src/any2wchars-help.pd b/src/any2wchars-help.pd index 3ed9e63..019ea5f 100644 --- a/src/any2wchars-help.pd +++ b/src/any2wchars-help.pd @@ -1,4 +1,4 @@ -#N canvas 72 8 636 478 10; +#N canvas 0 26 636 478 10; #X msg 109 197 0; #X msg 77 197 -1; #X text 19 47 INLETS:; @@ -28,6 +28,18 @@ values; #X text 184 367 Second argument: initial EOS character. See [any2bytes]. ; #X obj 168 438 locale; +#N canvas 260 141 494 344 META 0; +#X text 12 145 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42.; +#X text 12 25 LICENSE GPL v2; +#X text 12 65 INLET_0 anything; +#X text 12 85 INLET_1 float; +#X text 12 105 OUTLET_0 list; +#X text 12 125 AUTHOR Bryan Jurish ; +#X text 12 5 KEYWORDS control conversion symbol_op; +#X text 12 45 DESCRIPTION convert pd messages to a list of wchar_t +values; +#X restore 583 446 pd META; #X connect 0 0 17 1; #X connect 1 0 17 1; #X connect 5 0 17 0; diff --git a/src/bytes2any-help.pd b/src/bytes2any-help.pd index 0663ec3..dbd6cc1 100644 --- a/src/bytes2any-help.pd +++ b/src/bytes2any-help.pd @@ -1,4 +1,4 @@ -#N canvas 507 20 612 604 10; +#N canvas 0 26 612 604 10; #X text 13 52 INLETS:; #X text 309 54 OUTLETS:; #X text 325 68 1 - pd messages; @@ -23,7 +23,7 @@ text buffer). This should get re-allocated when necessary. Specify #X text 159 477 Right outlet gives a bang after the entire input list has been processed.; #X text 189 531 Parsed pd messages are sent to the left outlet.; -#X text 306 580 Bryan Jurish ; +#X text 276 580 Bryan Jurish ; #X text 27 83 2 - EOS character (float); #X text 161 121 lists of floats are converted to pd messages.; #X text 168 161 ... selector is ignored ...; @@ -37,6 +37,18 @@ has been processed.; #X obj 24 529 print bytes2any-help; #X msg 54 161 StringThing 97; #X obj 24 350 bytes2any 128 0; +#N canvas 260 141 494 344 META 0; +#X text 12 145 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42.; +#X text 12 25 LICENSE GPL v2; +#X text 12 65 INLET_0 anything; +#X text 12 85 INLET_1 float; +#X text 12 125 AUTHOR Bryan Jurish ; +#X text 12 45 DESCRIPTION convert pd messages to a list of wchar_t +values; +#X text 12 105 OUTLET_0 anything; +#X text 12 5 KEYWORDS control conversion symbol_op anything_op; +#X restore 553 576 pd META; #X connect 4 0 26 0; #X connect 5 0 26 0; #X connect 6 0 26 1; diff --git a/src/bytes2wchars-help.pd b/src/bytes2wchars-help.pd index 3d3d0b6..08dea05 100644 --- a/src/bytes2wchars-help.pd +++ b/src/bytes2wchars-help.pd @@ -1,4 +1,4 @@ -#N canvas 610 14 566 410 10; +#N canvas 0 26 543 410 10; #X text 81 5 bytes2wchars : convert bytes to wide characters; #X text 11 27 SYNTAX: bytes2wchars [INITIAL_BUFSIZE]; #X text 11 46 INLETS:; @@ -24,7 +24,7 @@ locale's LC_CTYPE category: here are some examples:; #X restore 103 190 pd locale_LC_CTYPE; #X msg 45 255 195 164 195 182 195 188; #X text 219 253 ... the same string encoded in UTF-8; -#X text 205 387 Bryan Jurish ; +#X text 185 387 Bryan Jurish ; #X text 11 371 SEE ALSO:; #X obj 26 388 pdstring; #X obj 93 388 locale; @@ -36,6 +36,16 @@ values; #X msg 49 281 207 128 206 180; #X text 217 225 ISO-8859-1 bytes "ä \, ö \, ü"; #X text 219 283 "&pi &delta" in UTF-8; +#N canvas 260 141 494 344 META 0; +#X text 12 125 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42.; +#X text 12 25 LICENSE GPL v2; +#X text 12 65 INLET_0 anything; +#X text 12 85 OUTLET_0 list; +#X text 12 105 AUTHOR Bryan Jurish ; +#X text 12 45 DESCRIPTION convert bytes to wide characters; +#X text 12 5 KEYWORDS control conversion; +#X restore 483 376 pd META; #X connect 6 0 7 0; #X connect 8 0 6 0; #X connect 9 0 6 0; diff --git a/src/bytes2wchars-test.pd b/src/bytes2wchars-test.pd index faeaea1..f186c3f 100644 --- a/src/bytes2wchars-test.pd +++ b/src/bytes2wchars-test.pd @@ -1,4 +1,4 @@ -#N canvas 600 24 578 300 10; +#N canvas 103 31 578 300 10; #X obj 114 136 bytes2wchars; #X obj 138 168 print wchars; #X obj 285 238 locale; diff --git a/src/pdstring-help.pd b/src/pdstring-help.pd index b4bc97d..919d6e4 100644 --- a/src/pdstring-help.pd +++ b/src/pdstring-help.pd @@ -1,4 +1,4 @@ -#N canvas 193 20 501 441 10; +#N canvas 0 26 483 483 10; #X text 199 414 Bryan Jurish ; #X text 54 3 [pdstring] library : byte and wide-character strings; #X obj 51 76 bytes2any; @@ -105,3 +105,12 @@ enabled \, e.g. by the [locale] external.; #X obj 43 203 printwchars; #X text 148 203 print wide character strings to pd console; #X text 149 100 print byte strings to pd console; +#N canvas 260 141 494 344 META 0; +#X text 12 105 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42.; +#X text 12 25 LICENSE GPL v2; +#X text 12 85 AUTHOR Bryan Jurish ; +#X text 12 45 DESCRIPTION byte and wide-character strings; +#X text 12 65 INLET_0; +#X text 12 5 KEYWORDS control symbol_op needs_work (INLET_0?); +#X restore 421 454 pd META; diff --git a/src/printbytes-help.pd b/src/printbytes-help.pd index da5481a..844244f 100644 --- a/src/printbytes-help.pd +++ b/src/printbytes-help.pd @@ -1,4 +1,4 @@ -#N canvas 66 62 450 300 10; +#N canvas 0 26 450 333 10; #X text 43 5 printbytes - print byte strings to pd console; #X obj 44 172 printbytes mybytes; #X text 141 266 Bryan Jurish ; @@ -16,6 +16,15 @@ #X msg 73 137 207 128 206 180; #X text 189 137 "&pi &delta" in UTF-8; #X text 157 89 "ä ö ü" in ISO-8859-1; +#N canvas 260 141 494 344 META 0; +#X text 12 105 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42.; +#X text 12 25 LICENSE GPL v2; +#X text 12 65 INLET_0 anything; +#X text 12 85 AUTHOR Bryan Jurish ; +#X text 12 5 KEYWORDS control; +#X text 12 45 DESCRIPTION print byte strings to pd console; +#X restore 391 305 pd META; #X connect 8 0 1 0; #X connect 9 0 1 0; #X connect 11 0 1 0; diff --git a/src/printbytes-test.pd b/src/printbytes-test.pd index e2e23e9..5319286 100644 --- a/src/printbytes-test.pd +++ b/src/printbytes-test.pd @@ -1,4 +1,4 @@ -#N canvas 30 10 564 356 10; +#N canvas 0 31 564 356 10; #X obj 36 280 printbytes; #X msg 33 21 A B C; #X obj 36 106 any2bytes; diff --git a/src/printwchars-help.pd b/src/printwchars-help.pd index a097bca..024eaed 100644 --- a/src/printwchars-help.pd +++ b/src/printwchars-help.pd @@ -1,4 +1,4 @@ -#N canvas 82 52 450 300 10; +#N canvas 0 26 450 333 10; #X text 141 266 Bryan Jurish ; #X text 17 231 SEE ALSO:; #X obj 86 230 pdstring; @@ -14,8 +14,18 @@ ; #X text 157 89 "ä ö ü"; #X msg 71 115 960 948; +#N canvas 260 141 494 344 META 0; +#X text 12 105 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42.; +#X text 12 25 LICENSE GPL v2; +#X text 12 65 INLET_0 anything; +#X text 12 85 AUTHOR Bryan Jurish ; +#X text 12 5 KEYWORDS control; +#X text 12 45 DESCRIPTION print wide character strings to pd console +; +#X restore 391 305 pd META; #X obj 44 172 printwchars mywchars; -#X connect 6 0 14 0; -#X connect 7 0 14 0; -#X connect 9 0 14 0; -#X connect 13 0 14 0; +#X connect 6 0 15 0; +#X connect 7 0 15 0; +#X connect 9 0 15 0; +#X connect 13 0 15 0; diff --git a/src/printwchars-test.pd b/src/printwchars-test.pd index e104607..d9364ef 100644 --- a/src/printwchars-test.pd +++ b/src/printwchars-test.pd @@ -1,4 +1,4 @@ -#N canvas 30 10 564 356 10; +#N canvas 0 31 564 356 10; #X msg 33 21 A B C; #X msg 311 287 C; #N canvas 0 0 338 182 locale_LC_CTYPE 0; diff --git a/src/raw-arraytest.pd b/src/raw-arraytest.pd index e0bfffe..ecd09ad 100644 --- a/src/raw-arraytest.pd +++ b/src/raw-arraytest.pd @@ -1,4 +1,4 @@ -#N canvas 424 14 776 478 10; +#N canvas 0 31 776 478 10; #N canvas 0 0 450 300 (subpatch) 0; #X array array1 4 float 3; #A 0 0 66 67 68; diff --git a/src/string2any.pd b/src/string2any.pd index ccdf97b..39693ca 100644 --- a/src/string2any.pd +++ b/src/string2any.pd @@ -1,4 +1,4 @@ -#N canvas 332 122 450 300 10; +#N canvas 0 31 450 300 10; #X obj 41 47 inlet; #X obj 141 47 inlet; #X obj 41 117 outlet; diff --git a/src/stringalias-test.pd b/src/stringalias-test.pd index b762c54..a0fd6f5 100644 --- a/src/stringalias-test.pd +++ b/src/stringalias-test.pd @@ -1,4 +1,4 @@ -#N canvas 34 2 450 300 10; +#N canvas 0 31 450 300 10; #X floatatom 56 81 8 0 0 0 - - -; #X symbolatom 46 59 10 0 0 0 - - -; #X floatatom 54 178 4 0 0 0 - - -; diff --git a/src/unsigned.pd b/src/unsigned.pd index d86c773..feda783 100644 --- a/src/unsigned.pd +++ b/src/unsigned.pd @@ -1,4 +1,4 @@ -#N canvas 206 54 450 300 10; +#N canvas 0 31 450 300 10; #X floatatom 253 98 5 0 0 1 byte_value - -; #X obj 267 158 print s2a; #X floatatom 253 220 5 0 0 0 - - -; @@ -11,9 +11,9 @@ #X obj 86 127 bytes2any; #X obj 86 187 any2bytes; #X obj 100 157 print s2b; -#X obj 253 128 string2any; #X obj 253 188 any2string; -#X connect 0 0 12 0; +#X obj 253 128 string2any; +#X connect 0 0 13 0; #X connect 3 0 0 0; #X connect 4 0 0 0; #X connect 6 0 9 0; @@ -22,6 +22,6 @@ #X connect 9 0 10 0; #X connect 9 0 11 0; #X connect 10 0 5 0; -#X connect 12 0 1 0; -#X connect 12 0 13 0; -#X connect 13 0 2 0; +#X connect 12 0 2 0; +#X connect 13 0 1 0; +#X connect 13 0 12 0; diff --git a/src/wchars2any-help.pd b/src/wchars2any-help.pd index e5df0fc..07f282d 100644 --- a/src/wchars2any-help.pd +++ b/src/wchars2any-help.pd @@ -1,4 +1,4 @@ -#N canvas 103 20 612 604 10; +#N canvas 0 26 581 648 10; #X text 13 52 INLETS:; #X text 309 54 OUTLETS:; #X text 325 68 1 - pd messages; @@ -34,6 +34,19 @@ has been processed.; #X obj 169 570 locale; #X msg 71 186 960 948; #X text 171 183 ... real wide characters: "&pi &delta"; +#N canvas 304 188 494 344 META 0; +#X text 12 165 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42.; +#X text 12 25 LICENSE GPL v2; +#X text 12 145 AUTHOR Bryan Jurish ; +#X text 12 65 INLET_0 anything; +#X text 12 105 OUTLET_0 anything; +#X text 12 5 KEYWORDS control anything_op; +#X text 12 85 INLET_1 float; +#X text 12 125 OUTLET_1 bang; +#X text 12 45 DESCRIPTION convert lists of wchar_t values to pd messages +; +#X restore 526 617 pd META; #X connect 4 0 23 0; #X connect 5 0 23 0; #X connect 6 0 23 1; diff --git a/src/wchars2any.pd b/src/wchars2any.pd index 63bdc26..6ec0025 100644 --- a/src/wchars2any.pd +++ b/src/wchars2any.pd @@ -1,4 +1,4 @@ -#N canvas 398 276 384 218 10; +#N canvas 0 31 384 218 10; #X obj 68 22 inlet; #X obj 221 22 inlet; #X obj 68 112 bytes2any \$1 \$2; diff --git a/src/wchars2bytes-help.pd b/src/wchars2bytes-help.pd index b892bea..fe6b5e9 100644 --- a/src/wchars2bytes-help.pd +++ b/src/wchars2bytes-help.pd @@ -1,4 +1,4 @@ -#N canvas 66 8 522 426 10; +#N canvas 0 26 488 455 10; #X text 11 46 INLETS:; #X text 269 48 OUTLETS:; #X text 283 64 1 - byte-valued float lists; @@ -35,6 +35,17 @@ locale's LC_CTYPE category: here are some examples:; #X text 159 259 "&pi &delta" \, not ISO-8859-1 safe; #X obj 24 310 wchars2bytes; #X obj 24 334 print wchars2bytes-help; +#N canvas 304 188 494 344 META 0; +#X text 12 125 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42.; +#X text 12 25 LICENSE GPL v2; +#X text 12 105 AUTHOR Bryan Jurish ; +#X text 12 85 OUTLET_0 anything; +#X text 12 45 DESCRIPTION convert wide characters to (multiple) bytes +; +#X text 12 65 INLET_0 list; +#X text 12 5 KEYWORDS control conversion; +#X restore 436 432 pd META; #X connect 4 0 22 0; #X connect 5 0 22 0; #X connect 6 0 7 0; diff --git a/src/wchars2bytes-test.pd b/src/wchars2bytes-test.pd index 2a5bcc5..e528d56 100644 --- a/src/wchars2bytes-test.pd +++ b/src/wchars2bytes-test.pd @@ -1,4 +1,4 @@ -#N canvas 376 34 606 300 10; +#N canvas 0 31 606 300 10; #X obj 114 136 bytes2wchars; #X obj 138 168 print wchars; #X obj 323 222 locale; -- cgit v1.2.1