purr-data issueshttps://git.purrdata.net/jwilkes/purr-data/-/issues2019-04-24T16:49:36Zhttps://git.purrdata.net/jwilkes/purr-data/-/issues/538put list processing API in public interface2019-04-24T16:49:36ZJonathan Wilkesput list processing API in public interfaceSuppose we have an external class "foo" which takes a single float input and produce a single output.
Now suppose the developer wants to revise "foo" so that it can handle lists. E.g., for a list of 5 floats it outputs a list of size 5....Suppose we have an external class "foo" which takes a single float input and produce a single output.
Now suppose the developer wants to revise "foo" so that it can handle lists. E.g., for a list of 5 floats it outputs a list of size 5.
Some problems:
* what kind of data structure does the developer use to build up the output list? An array would be fast but statically allocated to some small size. Automatic allocation on the stack is more flexible but more dangerous and not necessarily portable. Heap allocation is a good catchall but is not realtime safe.
* suppose the input list can be a mixture of floats and symbols. How then to handle anythings vs. lists? To convert an anything to a list you must allocate a container of size (argc + 1), put the selector at index 0, then put argv after that.
These problems are handled in x_list.c, but we need a public interface so that external devs can all use the same tools for processing lists. This is especially important because memory allocation in externals has a high probability of causing crasher bugs.Jonathan WilkesJonathan Wilkeshttps://git.purrdata.net/jwilkes/purr-data/-/issues/537Supporting Ubuntu 18.042019-05-08T09:59:24ZPatrickSupporting Ubuntu 18.04Would it be possible to add support for Ubuntu 18.04?
The best audio distribution, in my humble opinion, is [Ubuntu Studio](https://ubuntustudio.org). Would be nice to try to follow the release cycle (same as Ubuntu I think).Would it be possible to add support for Ubuntu 18.04?
The best audio distribution, in my humble opinion, is [Ubuntu Studio](https://ubuntustudio.org). Would be nice to try to follow the release cycle (same as Ubuntu I think).https://git.purrdata.net/jwilkes/purr-data/-/issues/536tar_em_up.sh etc2019-08-24T00:16:16ZPatricktar_em_up.sh etcThe line 310 of tar_em_up.sh deleted my /etc (on this sandbox I run everything as root).The line 310 of tar_em_up.sh deleted my /etc (on this sandbox I run everything as root).https://git.purrdata.net/jwilkes/purr-data/-/issues/535Windows - Gem video not loading2019-09-30T03:10:21ZPatrickWindows - Gem video not loadingOn Windows it's not possible to load any video (any codec). There's a post on the forum with more [information](https://forum.pdpatchrepo.info/topic/9408/video-unable-to-open-play-on-windows-7). The problem is also on Windows 10.On Windows it's not possible to load any video (any codec). There's a post on the forum with more [information](https://forum.pdpatchrepo.info/topic/9408/video-unable-to-open-play-on-windows-7). The problem is also on Windows 10.https://git.purrdata.net/jwilkes/purr-data/-/issues/534add an externals regression tester to scripts2019-04-19T02:52:48ZJonathan Wilkesadd an externals regression tester to scriptsWe don't currently have a regression tester for external objects. Go ahead and add one in scripts.
The core regression tests can disable standard paths and preferences for maximum sanity. For now, let's just load all the standard libs s...We don't currently have a regression tester for external objects. Go ahead and add one in scripts.
The core regression tests can disable standard paths and preferences for maximum sanity. For now, let's just load all the standard libs so we can grab and load the specific externals we want to write tests for. Later we can figure out a cleaner way to do this.3.0.0Jonathan WilkesJonathan Wilkeshttps://git.purrdata.net/jwilkes/purr-data/-/issues/533switch STACKITER logic to inlet handlers2019-04-18T00:26:45ZJonathan Wilkesswitch STACKITER logic to inlet handlersSwitch STACKITER logic to inlets. Currently the stack overflow check happens inside the outlets. But wireless messages in an infinite loop don't currently get checked and can cause crashes.Switch STACKITER logic to inlets. Currently the stack overflow check happens inside the outlets. But wireless messages in an infinite loop don't currently get checked and can cause crashes.3.0.0Jonathan WilkesJonathan Wilkeshttps://git.purrdata.net/jwilkes/purr-data/-/issues/532switch arg meaning for key, keyname, keyup2020-05-22T10:20:08ZJonathan Wilkesswitch arg meaning for key, keyname, keyupApparently Pd-l2ork 1.0 has autorepeat with `[key]` and no autorepeat with `[key 1]`. But in Purr Data it's reversed.
Change the arg so that "1" means no autorepeat and "0" means autorepeat.
This is a breaking change.Apparently Pd-l2ork 1.0 has autorepeat with `[key]` and no autorepeat with `[key 1]`. But in Purr Data it's reversed.
Change the arg so that "1" means no autorepeat and "0" means autorepeat.
This is a breaking change.3.0.0https://git.purrdata.net/jwilkes/purr-data/-/issues/531decrease recursion limit to 10002020-05-23T08:21:12ZJonathan Wilkesdecrease recursion limit to 1000The increased size of STACKITER to 10000 can cause crashes on Windows.
Decrease it to 1000 where it used to be.
Even though recursion in Pd is treacherous, this could possibly break patches which depend on the larger limit. So we'll ne...The increased size of STACKITER to 10000 can cause crashes on Windows.
Decrease it to 1000 where it used to be.
Even though recursion in Pd is treacherous, this could possibly break patches which depend on the larger limit. So we'll need to bump the major version when this gets changed.3.0.0https://git.purrdata.net/jwilkes/purr-data/-/issues/530remove jessie builds from CI2019-04-25T04:40:39ZJonathan Wilkesremove jessie builds from CIThe way LTS works in Debian, they just drop the jessie-backports repo and cause apt-get update to output an error.
I removed that repo from /etc/apt/sources.list to get 2.9.0 to build successfully. But let's go ahead and take their erro...The way LTS works in Debian, they just drop the jessie-backports repo and cause apt-get update to output an error.
I removed that repo from /etc/apt/sources.list to get 2.9.0 to build successfully. But let's go ahead and take their error seriously and drop Jessie from CI and the release binaries.3.0.0Jonathan WilkesJonathan Wilkeshttps://git.purrdata.net/jwilkes/purr-data/-/issues/529add part of contributor's guide about running and writing tests2019-04-16T21:30:41ZJonathan Wilkesadd part of contributor's guide about running and writing testsFor adding a new core feature or fixing a bug, tests need to be run and created.
For porting stuff, here's a guide:
1. Diff the contents against the version of Pd from which you're porting.
2. Notice any differences in the diff and not...For adding a new core feature or fixing a bug, tests need to be run and created.
For porting stuff, here's a guide:
1. Diff the contents against the version of Pd from which you're porting.
2. Notice any differences in the diff and note the functions
3. For each relevant function do `git log -L :<funcname>:<file>` where "funcname" is the name of the function where a change happened and "file" is the filename. (Often it only takes one try to find the relevant commits for all the relevant changed code. But if not, repeat with the next function...)
4. Read the commit message for any relevant commits to understand *why* there might be discrepancies.
5. Start porting the changes.
6. Get it compiling.
7. Run the regression tests.
8. Write new tests for the code that was added.Jonathan WilkesJonathan Wilkeshttps://git.purrdata.net/jwilkes/purr-data/-/issues/528add step to windows build instructions2019-04-14T18:37:00ZJonathan Wilkesadd step to windows build instructionsBefore step number 5, add a sentence telling to close the terminal and open a new one.Before step number 5, add a sentence telling to close the terminal and open a new one.Jonathan WilkesJonathan Wilkeshttps://git.purrdata.net/jwilkes/purr-data/-/issues/527Unathorized Visual Objects show up blank in latest Purr-data2019-04-16T21:16:03ZBrandon HaleUnathorized Visual Objects show up blank in latest Purr-dataHello again,
I am not sure if this is known by the purr-data team, but a lot of the tcl visual objects from [here](https://puredata.info/downloads/unauthorized) show up in purr-data as blank objects. Objects like scratcher~, sonogram~, ...Hello again,
I am not sure if this is known by the purr-data team, but a lot of the tcl visual objects from [here](https://puredata.info/downloads/unauthorized) show up in purr-data as blank objects. Objects like scratcher~, sonogram~, pianoroll, and playlist do not appear at all.https://git.purrdata.net/jwilkes/purr-data/-/issues/526Escape character lost on copy and save.2019-04-09T08:32:16ZArthurEscape character lost on copy and save.I need to be able to escape the comma in message boxes in order the send text, strings including comma's, white space, etc. to a serial port. I can enter a comma with a backslash escape character and this won't break up the message into ...I need to be able to escape the comma in message boxes in order the send text, strings including comma's, white space, etc. to a serial port. I can enter a comma with a backslash escape character and this won't break up the message into multiples. BUT, the backslash gets lost, stripped out on saving the patch or even on copying the message box in patch..
Edit: Purr Data 2.8.1 on Linux
![Screenshot_from_2019-04-07_22-56-05](/uploads/b9265407190be6db87835e5749df8392/Screenshot_from_2019-04-07_22-56-05.png)https://git.purrdata.net/jwilkes/purr-data/-/issues/525Garbled Text Purr-data 2.6.02019-12-01T19:03:46ZBrandon HaleGarbled Text Purr-data 2.6.0Hello,
I am using Purr-data Pd-l2ork-2.6.0 20181001-rev.4f8d1ccf (the one from the Ubuntu 18.04 repository) on Ubuntu Studio 18.04 and I currently have an issue with garbled text. The program works fine, but text has some weird artefac...Hello,
I am using Purr-data Pd-l2ork-2.6.0 20181001-rev.4f8d1ccf (the one from the Ubuntu 18.04 repository) on Ubuntu Studio 18.04 and I currently have an issue with garbled text. The program works fine, but text has some weird artefacts in it. ![Screenshot_2019-04-03_14-52-44](/uploads/6de33aa68e6403491407c3bf835f3e72/Screenshot_2019-04-03_14-52-44.png)
![Screenshot_2019-04-03_14-52-13](/uploads/1c3e11142e89b984187c252fd130c384/Screenshot_2019-04-03_14-52-13.png)
![Screenshot_2019-04-03_14-51-45](/uploads/bfc7f56af44a956f315fd57b07f06b40/Screenshot_2019-04-03_14-51-45.png)
Notice in the pictures above the weird lines after certain text characters. This happens at all zoom levels too. What could this problem be?https://git.purrdata.net/jwilkes/purr-data/-/issues/524pack - stored pointer going stale2019-03-28T19:37:00ZmyQwilpack - stored pointer going staleConsider the following patch:
[namecanvas foo]
[traverse foo, bang(
|
[pointer]
|
[list $1 123 $1(
|
[pack p f p]
|
[print]
Clicking the traverse message results in the console printing "(pointe...Consider the following patch:
[namecanvas foo]
[traverse foo, bang(
|
[pointer]
|
[list $1 123 $1(
|
[pack p f p]
|
[print]
Clicking the traverse message results in the console printing "(pointer) 123 (pointer)". However, if I were to then delete the list message and make a direct connection from the pointer to the pack object, I'll get a stale pointer error. But this doesn't happen in pd-vanilla, where I'll keep getting the same message printed over.
[p-test.pd](/uploads/875a79ddf8282540e8e94f55a8015482/p-test.pd)https://git.purrdata.net/jwilkes/purr-data/-/issues/523Purr Data 2.8.1 crashes when loading subpatch with widened text box2019-09-09T21:48:04ZChristof RessiPurr Data 2.8.1 crashes when loading subpatch with widened text box[purr-data-crash.zip](/uploads/782cea6a541f40432abd8a8b3349bbe1/purr-data-crash.zip)
I'm on Windows 7. I've narrowed down the problem to a very simple patch (see above) which crashes Purr Data with a socket error (shown in the picture)....[purr-data-crash.zip](/uploads/782cea6a541f40432abd8a8b3349bbe1/purr-data-crash.zip)
I'm on Windows 7. I've narrowed down the problem to a very simple patch (see above) which crashes Purr Data with a socket error (shown in the picture). I've seen encountered the same error on other occasions. Is this a known issue? Basically, I can't open many of my Pd vanilla patches in Purr Data...3.0.0https://git.purrdata.net/jwilkes/purr-data/-/issues/522Key autorepeat disable option not working on Windows2019-03-25T02:09:36ZIvica BukvicKey autorepeat disable option not working on WindowsThis is on the latest purr-data 2.8.1 and Win 8.1 64bit. Basically optional argument does not disable autorepeat. The help file should be also updated as in pd-l2ork I reversed the behavior to ensure backwards compatibility to no arg bei...This is on the latest purr-data 2.8.1 and Win 8.1 64bit. Basically optional argument does not disable autorepeat. The help file should be also updated as in pd-l2ork I reversed the behavior to ensure backwards compatibility to no arg being autorepeat on. The help file should be also updated accordingly. Hope this helps.https://git.purrdata.net/jwilkes/purr-data/-/issues/521fix background in dmg installer for osx2019-03-19T14:42:04ZJonathan Wilkesfix background in dmg installer for osxFor the OSX dmg installer, the background image isn't getting displayed in the little window where the user drags Purr Data's icon into the Applications folder.
The relevant background image is `purr-data/packages/darwin_app/background....For the OSX dmg installer, the background image isn't getting displayed in the little window where the user drags Purr Data's icon into the Applications folder.
The relevant background image is `purr-data/packages/darwin_app/background.png`
Might want to check both `purr-data/packages/darwin_app/Makefile` as well as the build output to see if there's an error somewhere.https://git.purrdata.net/jwilkes/purr-data/-/issues/520update pdlua help patch2019-03-19T03:19:11ZJonathan Wilkesupdate pdlua help patch[Here](https://git.purrdata.net/Konsumer/pd-lua/commit/23d4387be8c727f146acc29c476a7d2ad29157d1) is a revision for the pdlua help patch. It needs to be considered upstream in github, then I can pull for the Purr Data gitlab mirror.[Here](https://git.purrdata.net/Konsumer/pd-lua/commit/23d4387be8c727f146acc29c476a7d2ad29157d1) is a revision for the pdlua help patch. It needs to be considered upstream in github, then I can pull for the Purr Data gitlab mirror.Albert GräfAlbert Gräfhttps://git.purrdata.net/jwilkes/purr-data/-/issues/519pdlua loadbang2019-03-19T03:15:11Zkonsumerpdlua loadbangIf I make a pdlua patch, and then load it in a loadbang, it isn't available immediately, in the same patch, for example:
![Screenshot_2019-03-15_22-59-11](/uploads/432a87f605f7d99d4d4e15118c3977f5/Screenshot_2019-03-15_22-59-11.png)
If...If I make a pdlua patch, and then load it in a loadbang, it isn't available immediately, in the same patch, for example:
![Screenshot_2019-03-15_22-59-11](/uploads/432a87f605f7d99d4d4e15118c3977f5/Screenshot_2019-03-15_22-59-11.png)
If I rename created external, then rename it back it works.
I can get around this by dynamic-patching off the loadbang into a subpatch or by closing it and re-opening it, but both are not ideal.
![Screenshot_2019-03-15_23-14-17](/uploads/c0822973809d7bc87d3676d0dd741608/Screenshot_2019-03-15_23-14-17.png)