hi
I rewrote autocompletion-plugin which is now called 'completion-plugin'.
there are some cool new features:
...
there is a video demo there: http://vimeo.com/23557543
you can grab the code there: http://github.com/gusano/pd_stuffs/tree/master/gui-plugins/completion
requirements:
I could test it on linux and osx only.
OSX note: there are some focus problems with tcl8.5 (x11), but not with tcl8.5 built with aqua support.
as usual, bug reports are welcome ;)
cheers, _y
Pd-announce mailing list Pd-announce@iem.at http://lists.puredata.info/listinfo/pd-announce
Brilliant!
M
On Thu, May 12, 2011 at 6:11 PM, yvan volochine yvan.pd@gmail.com wrote:
hi
I rewrote autocompletion-plugin which is now called 'completion-plugin'.
there are some cool new features:
- new GUI (inspired from desire-data)
- added an option file
- auto-creation of completed objects (via Return key)
- added a 'save_mode' so pd remembers keywords for send/receive/table,
etc..
- added a nearly-bash-completion mode
- completions update as you type
...
there is a video demo there: http://vimeo.com/23557543
you can grab the code there: http://github.com/gusano/pd_stuffs/tree/master/gui-plugins/completion
requirements:
- pd-0.43
- tcl8.5
I could test it on linux and osx only.
OSX note: there are some focus problems with tcl8.5 (x11), but not with tcl8.5 built with aqua support.
as usual, bug reports are welcome ;)
cheers, _y
Pd-announce mailing list Pd-announce@iem.at http://lists.puredata.info/listinfo/pd-announce
that's great. don't know if you want to, but I would suggest to copy
another useful max feature: when you click on a send or receive object
(the same for their audio versions), a pop-up comes up listing how many
other objects exist using the same variable, and by clicking in any of
these objects it takes you to the patch where they are.
João
hi
I rewrote autocompletion-plugin which is now called 'completion-plugin'.
there are some cool new features:
- new GUI (inspired from desire-data)
- added an option file
- auto-creation of completed objects (via Return key)
- added a 'save_mode' so pd remembers keywords for send/receive/table,
etc..
- added a nearly-bash-completion mode
- completions update as you type
...
there is a video demo there: http://vimeo.com/23557543
you can grab the code there: http://github.com/gusano/pd_stuffs/tree/master/gui-plugins/completion
requirements:
- pd-0.43
- tcl8.5
I could test it on linux and osx only.
OSX note: there are some focus problems with tcl8.5 (x11), but not with tcl8.5
built with aqua support.as usual, bug reports are welcome ;)
cheers, _y
Pd-announce mailing list Pd-announce@iem.at http://lists.puredata.info/listinfo/pd-announce
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list
I'd love to try this out but I'm using Pd-Vanilla, and so tcl 8.4. Whats the easiest way to get pd on OS X to look at my copy of tcl 8.5? I installed it in /usr/local/bin via ActiveTcl... I was hoping not to have to compile for source but oh well.
cheers, Rich
On Sun, May 15, 2011 at 4:19 AM, João Pais jmmmpais@googlemail.com wrote:
that's great. don't know if you want to, but I would suggest to copy another useful max feature: when you click on a send or receive object (the same for their audio versions), a pop-up comes up listing how many other objects exist using the same variable, and by clicking in any of these objects it takes you to the patch where they are.
João
hi
I rewrote autocompletion-plugin which is now called 'completion-plugin'.
there are some cool new features:
- new GUI (inspired from desire-data)
- added an option file
- auto-creation of completed objects (via Return key)
- added a 'save_mode' so pd remembers keywords for send/receive/table,
etc..
- added a nearly-bash-completion mode
- completions update as you type
...
there is a video demo there: http://vimeo.com/23557543
you can grab the code there: http://github.com/gusano/pd_stuffs/tree/master/gui-plugins/completion
requirements:
- pd-0.43
- tcl8.5
I could test it on linux and osx only.
OSX note: there are some focus problems with tcl8.5 (x11), but not with tcl8.5 built with aqua support.
as usual, bug reports are welcome ;)
cheers, _y
Pd-announce mailing list Pd-announce@iem.at http://lists.puredata.info/listinfo/pd-announce
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-- Friedenstr. 58 10249 Berlin (Deutschland) Tel +49 30 42020091 | Mob +49 162 6843570 Studio +49 30 69509190 jmmmpais@googlemail.com | skype: jmmmpjmmmp
Pd-announce mailing list Pd-announce@iem.at http://lists.puredata.info/listinfo/pd-announce
Ah I got it working from Miller's git repo, its nice! I'm sure it will make programming in pd much faster once I'm used to it.
Still, does anyone know how to update to tcl 8.5 when using a precompiled binary version of pd?
Cheers, Rich
On Sun, May 15, 2011 at 5:05 PM, Rich E reakinator@gmail.com wrote:
I'd love to try this out but I'm using Pd-Vanilla, and so tcl 8.4. Whats the easiest way to get pd on OS X to look at my copy of tcl 8.5? I installed it in /usr/local/bin via ActiveTcl... I was hoping not to have to compile for source but oh well.
cheers, Rich
On Sun, May 15, 2011 at 4:19 AM, João Pais jmmmpais@googlemail.comwrote:
that's great. don't know if you want to, but I would suggest to copy another useful max feature: when you click on a send or receive object (the same for their audio versions), a pop-up comes up listing how many other objects exist using the same variable, and by clicking in any of these objects it takes you to the patch where they are.
João
hi
I rewrote autocompletion-plugin which is now called 'completion-plugin'.
there are some cool new features:
- new GUI (inspired from desire-data)
- added an option file
- auto-creation of completed objects (via Return key)
- added a 'save_mode' so pd remembers keywords for send/receive/table,
etc..
- added a nearly-bash-completion mode
- completions update as you type
...
there is a video demo there: http://vimeo.com/23557543
you can grab the code there: http://github.com/gusano/pd_stuffs/tree/master/gui-plugins/completion
requirements:
- pd-0.43
- tcl8.5
I could test it on linux and osx only.
OSX note: there are some focus problems with tcl8.5 (x11), but not with tcl8.5 built with aqua support.
as usual, bug reports are welcome ;)
cheers, _y
Pd-announce mailing list Pd-announce@iem.at http://lists.puredata.info/listinfo/pd-announce
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-- Friedenstr. 58 10249 Berlin (Deutschland) Tel +49 30 42020091 | Mob +49 162 6843570 Studio +49 30 69509190 jmmmpais@googlemail.com | skype: jmmmpjmmmp
Pd-announce mailing list Pd-announce@iem.at http://lists.puredata.info/listinfo/pd-announce
Hi Rich,
Can you explain how you got this working on OS X? I've downloaded tcl 8.5, but I'm a little unclear on what you did.
Thanks, Scott
On Sun, May 15, 2011 at 3:11 AM, Rich E reakinator@gmail.com wrote:
Ah I got it working from Miller's git repo, its nice! I'm sure it will make programming in pd much faster once I'm used to it.
Still, does anyone know how to update to tcl 8.5 when using a precompiled binary version of pd?
Cheers, Rich
On Sun, May 15, 2011 at 5:05 PM, Rich E reakinator@gmail.com wrote:
I'd love to try this out but I'm using Pd-Vanilla, and so tcl 8.4. Whats the easiest way to get pd on OS X to look at my copy of tcl 8.5? I installed it in /usr/local/bin via ActiveTcl... I was hoping not to have to compile for source but oh well.
cheers, Rich
On Sun, May 15, 2011 at 4:19 AM, João Pais jmmmpais@googlemail.comwrote:
that's great. don't know if you want to, but I would suggest to copy another useful max feature: when you click on a send or receive object (the same for their audio versions), a pop-up comes up listing how many other objects exist using the same variable, and by clicking in any of these objects it takes you to the patch where they are.
João
hi
I rewrote autocompletion-plugin which is now called 'completion-plugin'.
there are some cool new features:
- new GUI (inspired from desire-data)
- added an option file
- auto-creation of completed objects (via Return key)
- added a 'save_mode' so pd remembers keywords for send/receive/table,
etc..
- added a nearly-bash-completion mode
- completions update as you type
...
there is a video demo there: http://vimeo.com/23557543
you can grab the code there: http://github.com/gusano/pd_stuffs/tree/master/gui-plugins/completion
requirements:
- pd-0.43
- tcl8.5
I could test it on linux and osx only.
OSX note: there are some focus problems with tcl8.5 (x11), but not with tcl8.5 built with aqua support.
as usual, bug reports are welcome ;)
cheers, _y
Pd-announce mailing list Pd-announce@iem.at http://lists.puredata.info/listinfo/pd-announce
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-- Friedenstr. 58 10249 Berlin (Deutschland) Tel +49 30 42020091 | Mob +49 162 6843570 Studio +49 30 69509190 jmmmpais@googlemail.com | skype: jmmmpjmmmp
Pd-announce mailing list Pd-announce@iem.at http://lists.puredata.info/listinfo/pd-announce
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
This sounds awesome, is there any way to get it included in pd-extended?
pp
From: Scott McCoid <mccoid.scott@gmail.commailto:mccoid.scott@gmail.com> Date: Tue, 17 May 2011 08:16:59 -0400 To: Rich E <reakinator@gmail.commailto:reakinator@gmail.com> Cc: "pd-list@iem.atmailto:pd-list@iem.at" <pd-list@iem.atmailto:pd-list@iem.at> Subject: Re: [PD] [PD-announce] completion-plugin new version
Hi Rich,
Can you explain how you got this working on OS X? I've downloaded tcl 8.5, but I'm a little unclear on what you did.
Thanks, Scott
On Sun, May 15, 2011 at 3:11 AM, Rich E <reakinator@gmail.commailto:reakinator@gmail.com> wrote: Ah I got it working from Miller's git repo, its nice! I'm sure it will make programming in pd much faster once I'm used to it.
Still, does anyone know how to update to tcl 8.5 when using a precompiled binary version of pd?
Cheers, Rich
On Sun, May 15, 2011 at 5:05 PM, Rich E <reakinator@gmail.commailto:reakinator@gmail.com> wrote: I'd love to try this out but I'm using Pd-Vanilla, and so tcl 8.4. Whats the easiest way to get pd on OS X to look at my copy of tcl 8.5? I installed it in /usr/local/bin via ActiveTcl... I was hoping not to have to compile for source but oh well.
cheers, Rich
On Sun, May 15, 2011 at 4:19 AM, João Pais <jmmmpais@googlemail.commailto:jmmmpais@googlemail.com> wrote: that's great. don't know if you want to, but I would suggest to copy another useful max feature: when you click on a send or receive object (the same for their audio versions), a pop-up comes up listing how many other objects exist using the same variable, and by clicking in any of these objects it takes you to the patch where they are.
João
hi
I rewrote autocompletion-plugin which is now called 'completion-plugin'.
there are some cool new features:
...
there is a video demo there: http://vimeo.com/23557543
you can grab the code there: http://github.com/gusano/pd_stuffs/tree/master/gui-plugins/completion
requirements:
I could test it on linux and osx only.
OSX note: there are some focus problems with tcl8.5 (x11), but not with tcl8.5 built with aqua support.
as usual, bug reports are welcome ;)
cheers, _y
Pd-announce mailing list Pd-announce@iem.atmailto:Pd-announce@iem.at http://lists.puredata.info/listinfo/pd-announce
Pd-list@iem.atmailto:Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-- Friedenstr. 58 10249 Berlin (Deutschland) Tel +49 30 42020091tel:%2B49%2030%2042020091 | Mob +49 162 6843570tel:%2B49%20162%206843570 Studio +49 30 69509190tel:%2B49%2030%2069509190 jmmmpais@googlemail.commailto:jmmmpais@googlemail.com | skype: jmmmpjmmmp
Pd-announce mailing list Pd-announce@iem.atmailto:Pd-announce@iem.at http://lists.puredata.info/listinfo/pd-announce
Pd-list@iem.atmailto:Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
That's the idea eventually. Right now we are working making it really
easy to find, download, and install GUI plugins so that people can
have a very quick dev cycle. Pd-extended is very slow.
You can host your own GUI plugins on the new puredata.info downloads
page, or you can also find GUI plugins there:
http://puredata.info/downloads
.hc
On May 17, 2011, at 10:33 AM, Pagano, Patrick wrote:
This sounds awesome, is there any way to get it included in pd- extended?
pp
From: Scott McCoid mccoid.scott@gmail.com Date: Tue, 17 May 2011 08:16:59 -0400 To: Rich E reakinator@gmail.com Cc: "pd-list@iem.at" pd-list@iem.at Subject: Re: [PD] [PD-announce] completion-plugin new version
Hi Rich,
Can you explain how you got this working on OS X? I've downloaded
tcl 8.5, but I'm a little unclear on what you did.Thanks, Scott
On Sun, May 15, 2011 at 3:11 AM, Rich E reakinator@gmail.com wrote:
Ah I got it working from Miller's git repo, its nice! I'm sure it
will make programming in pd much faster once I'm used to it.Still, does anyone know how to update to tcl 8.5 when using a
precompiled binary version of pd?Cheers, Rich
On Sun, May 15, 2011 at 5:05 PM, Rich E reakinator@gmail.com wrote:
I'd love to try this out but I'm using Pd-Vanilla, and so tcl
8.4. Whats the easiest way to get pd on OS X to look at my copy
of tcl 8.5? I installed it in /usr/local/bin via ActiveTcl... I
was hoping not to have to compile for source but oh well.cheers, Rich
On Sun, May 15, 2011 at 4:19 AM, João Pais
jmmmpais@googlemail.com wrote:that's great. don't know if you want to, but I would suggest to
copy another useful max feature: when you click on a send or
receive object (the same for their audio versions), a pop-up
comes up listing how many other objects exist using the same
variable, and by clicking in any of these objects it takes you to
the patch where they are.João
hi
I rewrote autocompletion-plugin which is now called 'completion- plugin'.
there are some cool new features:
- new GUI (inspired from desire-data)
- added an option file
- auto-creation of completed objects (via Return key)
- added a 'save_mode' so pd remembers keywords for send/receive/
table, etc..
- added a nearly-bash-completion mode
- completions update as you type
...
there is a video demo there: http://vimeo.com/23557543
you can grab the code there: http://github.com/gusano/pd_stuffs/tree/master/gui-plugins/completion
requirements:
- pd-0.43
- tcl8.5
I could test it on linux and osx only.
OSX note: there are some focus problems with tcl8.5 (x11), but not with
tcl8.5 built with aqua support.as usual, bug reports are welcome ;)
cheers, _y
Pd-announce mailing list Pd-announce@iem.at http://lists.puredata.info/listinfo/pd-announce
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-- Friedenstr. 58 10249 Berlin (Deutschland) Tel +49 30 42020091 | Mob +49 162 6843570 Studio +49 30 69509190 jmmmpais@googlemail.com | skype: jmmmpjmmmp
Pd-announce mailing list Pd-announce@iem.at http://lists.puredata.info/listinfo/pd-announce
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
kill your television
On 05/17/2011 02:16 PM, Scott McCoid wrote:
Can you explain how you got this working on OS X? I've downloaded tcl 8.5, but I'm a little unclear on what you did.
on OSX 10.5.8, after installing tcl8.5 from activestate, a new 'wish' ends up in /usr/local/bin.
so if your PATH is set correctly, default 'wish' should be the new one (8.5 that is). check this with: $ which wish that should be the new one in /usr/local/bin and not 8.4 one (in /usr/bin).
once this is done, just build pd from git et voilà .
HTH, _y
On May 17, 2011, at 11:05 AM, yvan volochine wrote:
On 05/17/2011 02:16 PM, Scott McCoid wrote:
Can you explain how you got this working on OS X? I've downloaded tcl 8.5, but I'm a little unclear on what you did.
on OSX 10.5.8, after installing tcl8.5 from activestate, a new
'wish' ends up in /usr/local/bin.so if your PATH is set correctly, default 'wish' should be the new
one (8.5 that is). check this with: $ which wish that should be the new one in /usr/local/bin and not 8.4 one (in / usr/bin).once this is done, just build pd from git et voilà.
Actually, on Mac OS X, Pd doesn't use the 'wish' command line
program. It is its own Wish.app. Then it needs the Tcl.framework and
Tk.framework.
.hc
"A cellphone to me is just an opportunity to be irritated wherever you
are." - Linus Torvalds
Hi Hans,
I was able to get this working, it ended up being pretty straight forward. Thanks to everyone for clearing this up!
Scott
On Fri, May 27, 2011 at 11:14 AM, Hans-Christoph Steiner hans@at.or.atwrote:
On May 17, 2011, at 11:05 AM, yvan volochine wrote:
On 05/17/2011 02:16 PM, Scott McCoid wrote:
Can you explain how you got this working on OS X? I've downloaded tcl 8.5, but I'm a little unclear on what you did.
on OSX 10.5.8, after installing tcl8.5 from activestate, a new 'wish' ends up in /usr/local/bin.
so if your PATH is set correctly, default 'wish' should be the new one (8.5 that is). check this with: $ which wish that should be the new one in /usr/local/bin and not 8.4 one (in /usr/bin).
once this is done, just build pd from git et voilà.
Actually, on Mac OS X, Pd doesn't use the 'wish' command line program. It is its own Wish.app. Then it needs the Tcl.framework and Tk.framework.
.hc
"A cellphone to me is just an opportunity to be irritated wherever you are." - Linus Torvalds
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
You have to compile Pd against Tcl/Tk 8.5 to make it work with 8.5.
If you use Snow Leopard/10.6, then it has 8.5 included. Just make
sure whatever version you install, it puts the Tcl.framework and
Tk.framework into /Library/Framesowrks, then the build will use it.
.hc
On May 17, 2011, at 8:16 AM, Scott McCoid wrote:
Hi Rich,
Can you explain how you got this working on OS X? I've downloaded
tcl 8.5, but I'm a little unclear on what you did.Thanks, Scott
On Sun, May 15, 2011 at 3:11 AM, Rich E reakinator@gmail.com wrote: Ah I got it working from Miller's git repo, its nice! I'm sure it
will make programming in pd much faster once I'm used to it.Still, does anyone know how to update to tcl 8.5 when using a
precompiled binary version of pd?Cheers, Rich
On Sun, May 15, 2011 at 5:05 PM, Rich E reakinator@gmail.com wrote: I'd love to try this out but I'm using Pd-Vanilla, and so tcl 8.4.
Whats the easiest way to get pd on OS X to look at my copy of tcl
8.5? I installed it in /usr/local/bin via ActiveTcl... I was hoping
not to have to compile for source but oh well.cheers, Rich
On Sun, May 15, 2011 at 4:19 AM, João Pais jmmmpais@googlemail.com
wrote: that's great. don't know if you want to, but I would suggest to copy
another useful max feature: when you click on a send or receive
object (the same for their audio versions), a pop-up comes up
listing how many other objects exist using the same variable, and by
clicking in any of these objects it takes you to the patch where
they are.João
hi
I rewrote autocompletion-plugin which is now called 'completion- plugin'.
there are some cool new features:
- new GUI (inspired from desire-data)
- added an option file
- auto-creation of completed objects (via Return key)
- added a 'save_mode' so pd remembers keywords for send/receive/
table, etc..
- added a nearly-bash-completion mode
- completions update as you type
...
there is a video demo there: http://vimeo.com/23557543
you can grab the code there: http://github.com/gusano/pd_stuffs/tree/master/gui-plugins/completion
requirements:
- pd-0.43
- tcl8.5
I could test it on linux and osx only.
OSX note: there are some focus problems with tcl8.5 (x11), but not with tcl8.5
built with aqua support.as usual, bug reports are welcome ;)
cheers, _y
Pd-announce mailing list Pd-announce@iem.at http://lists.puredata.info/listinfo/pd-announce
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-- Friedenstr. 58 10249 Berlin (Deutschland) Tel +49 30 42020091 | Mob +49 162 6843570 Studio +49 30 69509190 jmmmpais@googlemail.com | skype: jmmmpjmmmp
Pd-announce mailing list Pd-announce@iem.at http://lists.puredata.info/listinfo/pd-announce
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Computer science is no more related to the computer than astronomy is
related to the telescope. -Edsger Dykstra
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2011-05-27 17:12, Hans-Christoph Steiner wrote:
You have to compile Pd against Tcl/Tk 8.5 to make it work with 8.5. If
hmm, but 0.43 is not compiled against any version of tcl/tk but uses a tcl/tk interpreter found on the disk. or is this some special trick with how the binary is started on OSX?
fgamsdr IOhannes
On May 30, 2011, at 3:22 AM, IOhannes m zmoelnig wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2011-05-27 17:12, Hans-Christoph Steiner wrote:
You have to compile Pd against Tcl/Tk 8.5 to make it work with
8.5. Ifhmm, but 0.43 is not compiled against any version of tcl/tk but uses a tcl/tk interpreter found on the disk. or is this some special trick with how the binary is started on OSX?
The Pd.app is actually the wish program (i.e Pd.app/Contents/MacOS/Pd
== /usr/bin/wish). So I misspoke when I said compiled. But if you
have a Pd.app that includes the 8.4 Wish then it won't really work
with 8.5 Tcl/Tk frameworks.
.hc
I hate it when they say, "He gave his life for his country." Nobody
gives their life for anything. We steal the lives of these kids. -
Admiral Gene LeRocque
On 05/14/2011 08:19 PM, João Pais wrote:
that's great. don't know if you want to, but I would suggest to copy another useful max feature: when you click on a send or receive object (the same for their audio versions), a pop-up comes up listing how many other objects exist using the same variable, and by clicking in any of these objects it takes you to the patch where they are.
hi João,
AFAICS this is currently not possible because most of the gui is still handle by pd (instead of tcl), therefore sub-patches are not accessible, etc..
cheers, _y
On Sun, 15 May 2011, yvan volochine wrote:
On 05/14/2011 08:19 PM, João Pais wrote:
that's great. don't know if you want to, but I would suggest to copy another useful max feature: when you click on a send or receive object (the same for their audio versions), a pop-up comes up listing how many other objects exist using the same variable, and by clicking in any of these objects it takes you to the patch where they are.
AFAICS this is currently not possible because most of the gui is still handle by pd (instead of tcl), therefore sub-patches are not accessible, etc..
You need to modify the 'find' method in the canvas class. You make one version that doesn't auto-select an item, but instead sends a list of all matches to the tcl side for your use. But this would only find those that are textually the same. It will not find [r $1-poil] and [r patate-poil] to be the same even though $0=patate in the first case. It may also claim that another [r $1-poil] is the same as the first [r $1-poil] although they have a different content of $1.
There is a table of all receive-symbols by actual symbol (not textual symbol). You use gensym() on the text, it gives a t_symbol*, you lookup s_thing, it gives you a t_pd*. You check whether it's a t_bindlist*. If it's not, you have 1 (or 0) receivers. Else, you walk the bindlist and collect all receivers. But there is not a similar list of actual senders.
So, to get a list of senders, you need to do dollar-expansion on the contents of all [s] boxes during the search !
| Mathieu Bouchard ---- tél: +1.514.383.3801 ---- Villeray, Montréal, QC
On 05/21/2011 11:46 PM, Mathieu Bouchard wrote:
that's great. don't know if you want to, but I would suggest to copy another useful max feature: when you click on a send or receive object (the same for their audio versions), a pop-up comes up listing how many other objects exist using the same variable, and by clicking in any of these objects it takes you to the patch where they are.
AFAICS this is currently not possible because most of the gui is still handle by pd (instead of tcl), therefore sub-patches are not accessible, etc..
You need to modify the 'find' method in the canvas class. You make one version that doesn't auto-select an item, but instead sends a list of all matches to the tcl side for your use.
[SNIP]
that's what I meant, it's currently not possible in a gui-plugin (i.e. in tcl only)
cheers, _y
On May 23, 2011, at 7:16 AM, yvan volochine wrote:
On 05/21/2011 11:46 PM, Mathieu Bouchard wrote:
that's great. don't know if you want to, but I would suggest to
copy another useful max feature: when you click on a send or receive
object (the same for their audio versions), a pop-up comes up listing
how many other objects exist using the same variable, and by clicking in
any of these objects it takes you to the patch where they are.AFAICS this is currently not possible because most of the gui is
still handle by pd (instead of tcl), therefore sub-patches are not accessible, etc..You need to modify the 'find' method in the canvas class. You make
one version that doesn't auto-select an item, but instead sends a list of all matches to the tcl side for your use.[SNIP]
that's what I meant, it's currently not possible in a gui-plugin
(i.e. in tcl only)
It wouldn't be hard to code this in C, the question for me is what
would the interface be, both in terms of coding in Tcl and the GUI
itself.
This plugin is really looking quite amazing. I am curious about the
send/receive symbols in it. Does it use all s/r symbols that are
active? That list could get quite long, but I guess that's what it is
supposed to do.
One little deployment suggestion: the 'extra_objects' folder is a
good idea with auto-loading the text files, etc. I think it would be
easiest if it just loaded any .txt file that was in 'extra_objects',
then people could just drop their own custom ones in there without
having to edit the completion-plugin.tcl. Then the
add_libraries_externals loading logic could try loading a standard
filename like completion.cfg from each of the loaded libraries. So
anyone can add a 'completion.cfg' to their library, and it'll be
loaded. Perhaps that's a bigger problem than should be tackled now,
but I'm thinking it would be very nice, and not too hard to make the
completion context aware, so that the completion list would be per-
patch. I.e. taking into account [import mylib], etc.
.hc
I spent 33 years and four months in active military service and during
that period I spent most of my time as a high class muscle man for Big
Business, for Wall Street and the bankers. - General Smedley Butler
On 05/27/2011 05:37 PM, Hans-Christoph Steiner wrote:
It wouldn't be hard to code this in C, the question for me is what would the interface be, both in terms of coding in Tcl and the GUI itself.
I wouldn't spend too much time on this but rather move on and completely separate pd and its GUI so all these kind of GUI goodies would be a snap to add (my 0.02€).
This plugin is really looking quite amazing. I am curious about the send/receive symbols in it. Does it use all s/r symbols that are active? That list could get quite long, but I guess that's what it is supposed to do.
alas no, I thought this would be the way to go until I realized that you can't access subpatches/abstractions objects (or can you?). therefore I decided to add to completion list any *new* s/r symbols (and same for table, throw~, etc). I designed this with a livecoding approach in mind.
One little deployment suggestion: the 'extra_objects' folder is a good idea with auto-loading the text files, etc. I think it would be easiest if it just loaded any .txt file that was in 'extra_objects', then people could just drop their own custom ones in there without having to edit the completion-plugin.tcl. Then the add_libraries_externals loading logic could try loading a standard filename like completion.cfg from each of the loaded libraries. So anyone can add a 'completion.cfg' to their library, and it'll be loaded. Perhaps that's a bigger problem than should be tackled now, but I'm thinking it would be very nice, and not too hard to make the completion context aware, so that the completion list would be per-patch. I.e. taking into account [import mylib], etc.
the *.txt solution would be better indeed, but I won't have much time soon. pull requests on my github are of course welcome ;)
being aware of [import] might be a bit too much as this plugin is rather hacky already.
cheers, _y
On Mon, 23 May 2011, yvan volochine wrote:
On 05/21/2011 11:46 PM, Mathieu Bouchard wrote:
You need to modify the 'find' method in the canvas class. You make one version that doesn't auto-select an item, but instead sends a list of all matches to the tcl side for your use.
[SNIP] that's what I meant, it's currently not possible in a gui-plugin (i.e. in tcl only)
And then what ?
You don't have to stick to the assumption that GUI plugins have to be Tcl only.
Actually, GUI plugins don't have to be GUI plugins.
| Mathieu Bouchard ---- tél: +1.514.383.3801 ---- Villeray, Montréal, QC
On 05/30/2011 03:28 PM, Mathieu Bouchard wrote:
On Mon, 23 May 2011, yvan volochine wrote:
On 05/21/2011 11:46 PM, Mathieu Bouchard wrote:
You need to modify the 'find' method in the canvas class. You make one version that doesn't auto-select an item, but instead sends a list of all matches to the tcl side for your use.
[SNIP] that's what I meant, it's currently not possible in a gui-plugin (i.e. in tcl only)
And then what ?
You don't have to stick to the assumption that GUI plugins have to be Tcl only.
http://puredata.info/docs/guiplugins: "From Pd 0.43 on, Tcl/Tk plugins can be used to add optional functionality to the GUI..."
no need to be agressive, I'm (kinda) back into pd after years away and didn't follow pd recent development, I assumed that Gui-Plugins had to be Tcl/Tk plugins (as stated on this page).
anyway, I don't know C and shouldn't have any free time soon so feel free to implement this requested s/r behavior.
cheers, _y
On May 30, 2011, at 9:59 AM, yvan volochine wrote:
On 05/30/2011 03:28 PM, Mathieu Bouchard wrote:
On Mon, 23 May 2011, yvan volochine wrote:
On 05/21/2011 11:46 PM, Mathieu Bouchard wrote:
You need to modify the 'find' method in the canvas class. You
make one version that doesn't auto-select an item, but instead sends a
list of all matches to the tcl side for your use.[SNIP] that's what I meant, it's currently not possible in a gui-plugin
(i.e. in tcl only)And then what ?
You don't have to stick to the assumption that GUI plugins have to be Tcl only.
http://puredata.info/docs/guiplugins: "From Pd 0.43 on, Tcl/Tk plugins can be used to add optional
functionality to the GUI..."no need to be agressive, I'm (kinda) back into pd after years away
and didn't follow pd recent development, I assumed that Gui-Plugins
had to be Tcl/Tk plugins (as stated on this page).anyway, I don't know C and shouldn't have any free time soon so feel
free to implement this requested s/r behavior.cheers, _y
The GUI plugin stuff is all Tcl/Tk right now. That said, you could
write a Tcl/Tk extension in C, and include that in a GUI plugin. I
don't think anyone has done that yet. I was hoping to see a working
Python/Tkinter GUI plugin for Pd, I think that should be possible
without a lot of work.
.hc
Terrorism is not an enemy. It cannot be defeated. It's a tactic.
It's about as sensible to say we declare war on night attacks and
expect we're going to win that war. We're not going to win the war on
terrorism. - retired U.S. Army general, William Odom