Thanks for the PR. I do not know if you saw but there is also the Tuio package (I added a smoke test) because there was no test. But normally it uses OSC. s
On 22 May 2021, at 00:54, Günter Khyo via Pharo-dev <pharo-dev@lists.pharo.org> wrote:
Thanks to Sven's tips I fixed the package and ditched the hacky Stream class. I also cleaned up some messy parts in the implementation. I noticed that the current implementation does not handle blobs and the server packet processing logic could be improved. Also, I am not sure whether recursive bundles are handled correctly (more test cases needed) and to which extent they are used in OSC applications, so one would have to do a fair bit of polishing for an "industry grade" implementation.
In any case, if there are any users that would like to use and test OSC, I am happy to take feedback and make necessary additions/modifications.
Stef, I'll send you a pull request tomorrow, now I have to catch some sleep.
On 5/21/21 6:23 PM, ducasse wrote:
Thanks. I do not think that it is good to reintroduce this super ugly class. at the minimum it should be in a separate branch.
S
On 21 May 2021, at 18:06, Günter Khyo via Pharo-dev <pharo-dev@lists.pharo.org <mailto:pharo-dev@lists.pharo.org>> wrote:
Hi Stef,
Great! I'll send you a pull-request for the "hotfix" this evening. As I mentioned to Sven, I'll do some rework on the implementation and documentation when I find the time.
Günter
On 5/21/21 5:55 PM, ducasse wrote:
I checked and all the tests pass on Pharo80. Now I did a little pass on the tests. I do not have the time to migrate this lib to P9. But I would accept Pull Requests :)
S.
On 21 May 2021, at 17:46, ducasse <stepharo@netcourrier.com <mailto:stepharo@netcourrier.com>> wrote:
The old travis was telling that the code works in 6.1, 7 and 8.0 I added GithubActions for Pharo 80 and I will see.
S
On 21 May 2021, at 17:40, ducasse <stepharo@netcourrier.com <mailto:stepharo@netcourrier.com>> wrote:
Hi gunter
Iâm maintaining OSC https://github.com/Ducasse/OSC <https://github.com/Ducasse/OSC> and TUIO https://github.com/Ducasse/TUIO <https://github.com/Ducasse/TUIO>
Please do some PR if something does not work.
S
On 21 May 2021, at 14:02, Günter Khyo via Pharo-dev <pharo-dev@lists.pharo.org <mailto:pharo-dev@lists.pharo.org>> wrote:
Hi,
I have ported the Open Sound Control package to Pharo 9.0. Since the Catalog Browser is marked as legacy, I was wondering how to submit the patch. Is there a git repository? I attached the fileout to this email in case anybody wants to take a look at the package or knows how/where to add it to Pharo 9.0,
Patch Note:
OSC relies on the removed RWTextOrBinaryStream class which has very specific behavior that I could not emulate using the available stream and codec classes, so I pulled in the class from Squeak 5, renamed it to OSCStream and added it to the OSC package. This seemed to be the easiest way to do it without changing the OSC implementation, but I welcome any suggestions for a cleaner solution.
Günter
<OSC.st <http://osc.st/>>
<OSC.st>