Re: [PD] auto-completion with popup [was: 3 new gui-plugins]

2011-09-21 Thread yvan volochine

salut Mathieu

replying on the list because I think it's of general interest ;)


I'll give a try at desiredata and let you know.


J'ai bien peur que ça marche seulement juste assez pour pouvoir voir de
quoi ont l'air certaines features, et encore... il y en a plusieurs qui
sont brisées.


I did try DD and it worked ok (for my simple test patches at least).

the killer feature I'd *love* to see ported to pd is select 
object|pathchord with keyboard. (using the mouse to connect objects or 
open help patch is really bad IMHO)


I had a take at it. alas, there are still a lot of GUI things happening 
on the pd side and at the time I didn't find an easy way to just get the 
currently selected object(s) in tcl. (any hint on this is welcome).


right now I'm very busy but I might try this one again one day...

nice work auf jeden Fall =)

cheers,
_y

--
yvan.voloch...@gmail.com
http://yvanvolochine.com

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] auto-completion with popup [was: 3 new gui-plugins]

2011-09-19 Thread Mathieu Bouchard

Le 2011-09-20 à 00:48:00, Mathieu Bouchard a écrit :

En effet, le projet a été abandonné. Je pense parfois à le redémarrer, mais


Sorry, this mail was meant to be sent in private.

 ___
| Mathieu Bouchard  tél: +1.514.383.3801  Villeray, Montréal, QC___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] auto-completion with popup [was: 3 new gui-plugins]

2011-09-19 Thread Mathieu Bouchard

Le 2011-04-04 à 22:40:00, yvan volochine a écrit :

hi no I never tried it (when I discovered it back in the years, my linux 
knowledge was close to null and I thought that the project was dropped 
(for some reasons..)) it always looked amazing to me, congrats ! (as 
well as gridflow)


En effet, le projet a été abandonné. Je pense parfois à le redémarrer, 
mais après le 2ième congrès de PureData, j'ai pas fait grand chose à part 
essayer de fusionner DesireData avec les diffs 39-40, 40-41 et 41-42.



I'll give a try at desiredata and let you know.


J'ai bien peur que ça marche seulement juste assez pour pouvoir voir de 
quoi ont l'air certaines features, et encore... il y en a plusieurs qui 
sont brisées.


Je sais pas ce que ça me prendrait pour me donner le goût de tout remettre 
ça en marche. Jonathan essaye de me le faire faire, de temps en temps.


 ___
| Mathieu Bouchard  tél: +1.514.383.3801  Villeray, Montréal, QC
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] auto-completion with popup [was: 3 new gui-plugins]

2011-05-12 Thread yvan volochine

On 05/12/2011 04:32 AM, JF wrote:

Just saw this new version now. Looks absolutely awesome Yvan. Can't wait to try 
it out and thanks for including the 'All' mode that I bugged you about - I hope 
it's of use to more users than just me!


well I'm sorry to tell you that this was eventually removed :/
it's already hacky to deal with pd GUI so having this was a bit too much 
messing with keyboard bindings.
OTOH you just have to hit TAB once and type normally to get the same 
behavior.


latest version has *a lot* of new/cool features, I will announce it here 
later.


cheers,
_y

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] auto-completion with popup [was: 3 new gui-plugins]

2011-05-11 Thread JF
Just saw this new version now. Looks absolutely awesome Yvan. Can't wait to try 
it out and thanks for including the 'All' mode that I bugged you about - I hope 
it's of use to more users than just me!

John.

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] auto-completion with popup [was: 3 new gui-plugins]

2011-05-11 Thread Hans-Christoph Steiner


On May 10, 2011, at 2:55 PM, András Murányi wrote:




On Tue, May 10, 2011 at 12:19, IOhannes m zmoelnig   
wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2011-05-08 18:40, Hans-Christoph Steiner wrote:
>
> Also, I think Pd-extended should include a number of plugins by  
default,
> like perhaps your completion plugin.  So that would mean that the  
plugin

> reports would be shown by default.

though it's a bit annoying that the user cannot chose to _not_ use a
certain plugin. (moving the foo-plugins folder into a "disabled/"  
folder
is probably a not such a good idea either, as in this case this  
would be

a global operation that effects all users on the machine)

(right, there is the plugins-plugin which might solve this; i don't  
know

about it's persistency though)

If I'm getting right what you mean by persistence, plugins-plugin  
uses the "move to /disabled" method too. Actually, I don't really  
sympathise with that method, and I was trying to advocate something  
else (also because you may not have write access to every folder)  
and I'll be happy to update the plugin as soon as a cleaner method  
is agreed on.


Andras



I think its also something that needs to be addressed, but I'm not  
sure there is a clear idea of how it should be done.  I agree there  
should be some kind of -noprefs/-nostdlib type flag that disables the  
loading of plugins, perhaps just -noplugins?


The plugins-plugin might be able to override the current plugins  
loading logic by being loaded first, then breaking out of the loop  
that loads the rest.  That'd be a big hack, but could be an easy way  
to test out different ideas of handling the loading of plugins.


.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


Re: [PD] auto-completion with popup [was: 3 new gui-plugins]

2011-05-10 Thread András Murányi
On Tue, May 10, 2011 at 12:19, IOhannes m zmoelnig  wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On 2011-05-08 18:40, Hans-Christoph Steiner wrote:
> >
> > Also, I think Pd-extended should include a number of plugins by default,
> > like perhaps your completion plugin.  So that would mean that the plugin
> > reports would be shown by default.
>
> though it's a bit annoying that the user cannot chose to _not_ use a
> certain plugin. (moving the foo-plugins folder into a "disabled/" folder
> is probably a not such a good idea either, as in this case this would be
> a global operation that effects all users on the machine)
>
> (right, there is the plugins-plugin which might solve this; i don't know
> about it's persistency though)
>

If I'm getting right what you mean by persistence, plugins-plugin uses the
"move to /disabled" method too. Actually, I don't really sympathise with
that method, and I was trying to advocate something else (also because you
may not have write access to every folder) and I'll be happy to update the
plugin as soon as a cleaner method is agreed on.

Andras
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] auto-completion with popup [was: 3 new gui-plugins]

2011-05-10 Thread IOhannes m zmoelnig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2011-05-08 18:40, Hans-Christoph Steiner wrote:
> 
> Also, I think Pd-extended should include a number of plugins by default,
> like perhaps your completion plugin.  So that would mean that the plugin
> reports would be shown by default.

though it's a bit annoying that the user cannot chose to _not_ use a
certain plugin. (moving the foo-plugins folder into a "disabled/" folder
is probably a not such a good idea either, as in this case this would be
a global operation that effects all users on the machine)

(right, there is the plugins-plugin which might solve this; i don't know
about it's persistency though)

maybe it would be nice if the GUI repsonded to the "-nostdlib"  flag (or
something equivalent)


fgasdm,r
IOhannes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk3JESoACgkQkX2Xpv6ydvSIZACgrYAdjfTqLqC5c43vQdzA8w+h
kxcAnjE9Y+R0FxRm+CvXemXjLknQF8xk
=RZtY
-END PGP SIGNATURE-



smime.p7s
Description: S/MIME Cryptographic Signature
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] auto-completion with popup [was: 3 new gui-plugins]

2011-05-09 Thread yvan volochine

On 05/08/2011 06:40 PM, Hans-Christoph Steiner wrote:
[SNIP]

Those Gem, etc version reports are just the thing that the people I
talked to were complaining about. If you are totally new, then being hit
with a wall of mystery text can be intimidating.

 From my perspective, I also don't want to see anything but errors by
default, because I can always easily switch to see the debug log. I
think in this case, the interests of newbies and advanced users align
nicely.


no problem, I removed it from completion-plugin.
will do the others later.


Also, I think Pd-extended should include a number of plugins by default,
like perhaps your completion plugin. So that would mean that the plugin
reports would be shown by default.


that's up to you.
BTW I just pushed a cleaner version on github.
and I couldn't reproduce any of the bugs you reported, but I have only 
x11-tcl on my osx machine, maybe that's why :/


cheers,
_y

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] auto-completion with popup [was: 3 new gui-plugins]

2011-05-08 Thread Hans-Christoph Steiner


On May 7, 2011, at 2:02 PM, yvan volochine wrote:


IMHO it would be better to see what kind of extra libs/plugins are
loaded without debug level (it's easy to forget that you have this
maybe-buggy thing in your path).
I'd vote for posting those by default.


i'd do a gui-plugin that raises the debug-level.


That's always a possibility, you can set the default debug level  
with a

one liner like:

set ::loglevel 4

As for what should be the default behavior, that's a tough question.
I've heard from a lot of newbies that having lots of text in the Pd
window at startup is quite intimidating, so I think its good to  
really
only show errors and strong warnings by default. More advanced  
users can

hopefully figure out how to set the log level.


I see gui-plugins more like "add-ons" and seeing that some of them  
behave strangely, I think it's a good habit to have infos about  
external libs being loaded in default debug level.


from a noob pov it could easily lead to problems such as:

- why is pd behaving strangely suddenly ?
- remove all your gui-plugins and try again ?
- ooh, I forgot that I used xxx-plugin which is breaking pd !

this kind of infos posted at startup would make sense to me:
Gem version x
Gridflow version x
xxx-plugin version x
...

but maybe that's just me ;)
I understand your point though and I'll remove it from my code.



Those Gem, etc version reports are just the thing that the people I  
talked to were complaining about.  If you are totally new, then being  
hit with a wall of mystery text can be intimidating.


From my perspective, I also don't want to see anything but errors by  
default, because I can always easily switch to see the debug log. I  
think in this case, the interests of newbies and advanced users align  
nicely.


Also, I think Pd-extended should include a number of plugins by  
default, like perhaps your completion plugin.  So that would mean that  
the plugin reports would be shown by default.


.hc



I have the audacity to believe that peoples everywhere can have three  
meals a day for their bodies, education and culture for their minds,  
and dignity, equality and freedom for their spirits.  - Martin  
Luther King, Jr.




___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] auto-completion with popup [was: 3 new gui-plugins]

2011-05-08 Thread Hans-Christoph Steiner


On May 8, 2011, at 3:33 AM, IOhannes m zmölnig wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 05/07/2011 08:02 PM, yvan volochine wrote:


from a noob pov it could easily lead to problems such as:

- why is pd behaving strangely suddenly ?
- remove all your gui-plugins and try again ?
- ooh, I forgot that I used xxx-plugin which is breaking pd !


if xxx-plugin was breaking Pd, then you probably don't have a chance  
to

see the verbose messages either.

anyhow, i think the default behaviour should not be targetted at the
worst case but at the normal case, which i hope is the none-broken  
one.


if things do break, the user (and that's not only the noob) ought to  
be

given an easy way to inspect the problem (that is why i pushed hard to
replace the numeric log-levels with symbolic ones)



On that note, I tried to figure out how to get the symbolic levels to  
show up on the menubutton, but I couldn't get it to work.  So I  
settled on just in the menu itself.


.hc




"We have nothing to fear from love and commitment." - New York Senator  
Diane Savino, trying to convince the NY Senate to pass a gay marriage  
bill



___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] auto-completion with popup [was: 3 new gui-plugins]

2011-05-08 Thread IOhannes m zmölnig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 05/07/2011 08:02 PM, yvan volochine wrote:
> 
> from a noob pov it could easily lead to problems such as:
> 
> - why is pd behaving strangely suddenly ?
> - remove all your gui-plugins and try again ?
> - ooh, I forgot that I used xxx-plugin which is breaking pd !

if xxx-plugin was breaking Pd, then you probably don't have a chance to
see the verbose messages either.

anyhow, i think the default behaviour should not be targetted at the
worst case but at the normal case, which i hope is the none-broken one.

if things do break, the user (and that's not only the noob) ought to be
given an easy way to inspect the problem (that is why i pushed hard to
replace the numeric log-levels with symbolic ones)


mfgtasdr
IOhannes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk3GR0QACgkQkX2Xpv6ydvTOEwCggGDyMwyt96UyZL8e4ky9I8P9
JREAniva5Jb3V72VCRyecCMwEvxRcbto
=f+8z
-END PGP SIGNATURE-

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] auto-completion with popup [was: 3 new gui-plugins]

2011-05-07 Thread yvan volochine

IMHO it would be better to see what kind of extra libs/plugins are
loaded without debug level (it's easy to forget that you have this
maybe-buggy thing in your path).
I'd vote for posting those by default.


i'd do a gui-plugin that raises the debug-level.


That's always a possibility, you can set the default debug level with a
one liner like:

set ::loglevel 4

As for what should be the default behavior, that's a tough question.
I've heard from a lot of newbies that having lots of text in the Pd
window at startup is quite intimidating, so I think its good to really
only show errors and strong warnings by default. More advanced users can
hopefully figure out how to set the log level.


I see gui-plugins more like "add-ons" and seeing that some of them 
behave strangely, I think it's a good habit to have infos about external 
libs being loaded in default debug level.


from a noob pov it could easily lead to problems such as:

- why is pd behaving strangely suddenly ?
- remove all your gui-plugins and try again ?
- ooh, I forgot that I used xxx-plugin which is breaking pd !

this kind of infos posted at startup would make sense to me:
Gem version x
Gridflow version x
xxx-plugin version x
...

but maybe that's just me ;)
I understand your point though and I'll remove it from my code.

cheers,
_y

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] auto-completion with popup [was: 3 new gui-plugins]

2011-05-07 Thread Hans-Christoph Steiner


On May 7, 2011, at 10:05 AM, IOhannes m zmölnig wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 05/07/2011 01:58 PM, yvan volochine wrote:


IMHO it would be better to see what kind of extra libs/plugins are
loaded without debug level (it's easy to forget that you have this
maybe-buggy thing in your path).
I'd vote for posting those by default.


i'd do a gui-plugin that raises the debug-level.



That's always a possibility, you can set the default debug level with  
a one liner like:


set ::loglevel 4

As for what should be the default behavior, that's a tough question.   
I've heard from a lot of newbies that having lots of text in the Pd  
window at startup is quite intimidating, so I think its good to really  
only show errors and strong warnings by default.  More advanced users  
can hopefully figure out how to set the log level.


.hc



Computer science is no more related to the computer than astronomy is  
related to the telescope.  -Edsger Dykstra




___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] auto-completion with popup [was: 3 new gui-plugins]

2011-05-07 Thread IOhannes m zmölnig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 05/07/2011 01:58 PM, yvan volochine wrote:
> 
> IMHO it would be better to see what kind of extra libs/plugins are
> loaded without debug level (it's easy to forget that you have this
> maybe-buggy thing in your path).
> I'd vote for posting those by default.

i'd do a gui-plugin that raises the debug-level.

fgasmdr
IOhannes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk3FUZ0ACgkQkX2Xpv6ydvRVdgCfe1LpP79W4DdskXReW8jtwFGq
HAQAoKDXkYdaCbwko5YZ8ZHkumiWBPFm
=hCDJ
-END PGP SIGNATURE-


debug-plugin.tcl
Description: Tcl script
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] auto-completion with popup [was: 3 new gui-plugins]

2011-05-07 Thread yvan volochine

hi hans, thanks for testing


On Mac OS X, I can't select the


the ??


Why did you need to override ::dialog_font::ok? Perhaps something needs
to be fixed so you don't need to do that.


to be able to change the completion fontsize on the fly when changing 
the fontsize via ::dialog_font instead of editing *.cfg, restarting, etc

I forgot to use the config(font_size) there btw, will fix that


little bugs:
- type a letter in the box, highlight the letter with the mouse, then
hit Tab, and I get a Tcl error
- arrow keys or typing doesn't work in pop-up menu


on which OS ?
I can't reproduce any of those neither on linux nor osx (tcl-8.5).

there seem to be weird focus thingz going on on os x.
I'll try to simplify the whole focus behavior.


A couple little suggestions:
- for simplicity's sake, the namespace should be named the same as the
plugin, perhaps the plugin could also be called 'completion'.


makes sense, I'll do that


- pd will automatically post which plugins its loaded if you switch the
Pd window to the debug level, so you probably don't need the pdtk_post
at the end.


IMHO it would be better to see what kind of extra libs/plugins are 
loaded without debug level (it's easy to forget that you have this 
maybe-buggy thing in your path).

I'd vote for posting those by default.

cheers,
_y

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] auto-completion with popup [was: 3 new gui-plugins]

2011-05-07 Thread IOhannes m zmölnig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 05/07/2011 03:05 AM, Patrice Colet wrote:
> 
>> anyhow, you might want to update your tcl/tk.
> 
> I have to find where did I put my pd-vanilla makefile.mingw or code another 
> one to have 8.5 in it.
>

no need for that.
since 0.43, Pd doesn't link against libtcl any more; so you should be
able to just replace wish.exe and the accompanying tcl/tk libraries
(tk.dll and the like), restart and by happy.

famsdr
IOhannes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk3FD68ACgkQkX2Xpv6ydvS0yQCgmOWdis0GsNGjPhM29yO7F725
BeoAoMyZN8L6eg38UYxxLnNArSMj5ErX
=2U9G
-END PGP SIGNATURE-

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] auto-completion with popup [was: 3 new gui-plugins]

2011-05-06 Thread Patrice Colet

- "IOhannes m zmölnig"  a écrit :
> 
> i _assume_ that you are using Pd on w32 and the w32-binaries come
> with
> tcl/tk 8.4. if so, you should say that (you are on w32), to help us
> understand your problem.
>

Oh yes, like always I forgot to mention about using w32 version,
tcl-tk is included in it.
 
> anyhow, you might want to update your tcl/tk.

I have to find where did I put my pd-vanilla makefile.mingw or code another one 
to have 8.5 in it.


-- 
Patrice Colet 

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] auto-completion with popup [was: 3 new gui-plugins]

2011-05-06 Thread Hans-Christoph Steiner


This is a big improvement, the creation-on-enter is awesome, that  
really should be included in the core.  Too bad it has be done is such  
a weird way (fake move the mouse, click, move it back, click).  On Mac  
OS X, I can't select the


Why did you need to override ::dialog_font::ok? Perhaps something  
needs to be fixed so you don't need to do that.


little bugs:
- type a letter in the box, highlight the letter with the mouse, then  
hit Tab, and I get a Tcl error

- arrow keys or typing doesn't work in pop-up menu


A couple little suggestions:
- for simplicity's sake, the namespace should be named the same as the  
plugin, perhaps the plugin could also be called 'completion'.


- pd will automatically post which plugins its loaded if you switch  
the Pd window to the debug level, so you probably don't need the  
pdtk_post at the end.


.hc

On May 6, 2011, at 11:17 AM, yvan volochine wrote:


hey,

I found the time to refine autocompletion-plugin so I ended up kinda  
rewriting it (screenshot below).


there are lots of changes, it would be nice if some of you could  
test it and tell me what's wrong or what is weird etc...


latest is here:
http://github.com/gusano/pd_stuffs/tree/master/gui-plugins/autocompletion

I tested it only on linux and pd-0.43.1-test2 (vanilla).

list of changes:

- new GUI (à la DesireData)
- added support for osx and win32 (untested)
- added bash-completion-mode behavior (more or less)
- added *.cfg file for options
- completions update while typing
- added 'All' mode (requested: completions popup as soon as you type)
- hiting 'Enter' without the popup unedits and select the object
...

I'd like to track down bugs before releasing it this time ;)

thanks for the help.

cheers,
_y
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list






"[W]e have invented the technology to eliminate scarcity, but we are  
deliberately throwing it away to benefit those who profit from  
scarcity."-John Gilmore




___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] auto-completion with popup [was: 3 new gui-plugins]

2011-05-06 Thread Hans-Christoph Steiner


On May 6, 2011, at 7:16 PM, IOhannes m zmölnig wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 05/07/2011 12:17 AM, Patrice Colet wrote:
ok, but pd-vanilla is actually 0.43 and has tcl/tk-8.4, while pd- 
extended is 0.42 and has tcl/tk-8.5,


"pd-vanilla does not "have" tcl/tk 8.4
actually it doesn't have any tcl/tk, and can be used 8.4 or 8.5 or 8.6
(other versions i have not tested).

i _assume_ that you are using Pd on w32 and the w32-binaries come with
tcl/tk 8.4. if so, you should say that (you are on w32), to help us
understand your problem.

anyhow, you might want to update your tcl/tk.



If you are talking about Pd-vanilla on Windows, then it does indeed  
have Tcl/Tk 8.4.  Its included in it.  And Pd-vanilla on Mac OS X is  
linked against the built-in version of Tcl/Tk, so on Mac OS X older  
than 10.6, Pd-vanilla binaries will use 8.4.7, which is even worse  
than 8.4.19.


.hc



Programs should be written for people to read, and only incidentally  
for machines to execute.

 - from Structure and Interpretation of Computer Programs


___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] auto-completion with popup [was: 3 new gui-plugins]

2011-05-06 Thread IOhannes m zmölnig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 05/07/2011 12:17 AM, Patrice Colet wrote:
>  ok, but pd-vanilla is actually 0.43 and has tcl/tk-8.4, while pd-extended is 
> 0.42 and has tcl/tk-8.5, 

"pd-vanilla does not "have" tcl/tk 8.4
actually it doesn't have any tcl/tk, and can be used 8.4 or 8.5 or 8.6
(other versions i have not tested).

i _assume_ that you are using Pd on w32 and the w32-binaries come with
tcl/tk 8.4. if so, you should say that (you are on w32), to help us
understand your problem.

anyhow, you might want to update your tcl/tk.

fg,asdr
IOhannes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk3EgUAACgkQkX2Xpv6ydvRavQCdHOy4C8OIxMmNlxnPgxywBkpN
pZQAnRdEvnKshm4SrCn9fnYuvQPkBBty
=tQbZ
-END PGP SIGNATURE-

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] auto-completion with popup [was: 3 new gui-plugins]

2011-05-06 Thread Patrice Colet
 ok, but pd-vanilla is actually 0.43 and has tcl/tk-8.4, while pd-extended is 
0.42 and has tcl/tk-8.5, 
so now it's not possible to use the new plugin release without recompiling 
vanilla,
or using a recent nightly build of pd-extended, that reduces a lot the chances 
for using it.

 I've installed the version 0.33 on vanilla and it doesn't look so bad,
if it's just a matter of using pdsend instead of using pd it's possible to use 
both with this code:

if {[llength [info procs ::pdsend]] == 0} {
proc ::pdsend {args} {::pd "[join $args { }] ;"}}

Miller, why pd-vanilla still uses 8.4 ???

I'm actually coding an interface that is 8.4 compatible but with weird 
behaviors, and working well with 8.5 and it's new options.


- "yvan volochine"  a écrit :

> On 05/06/2011 08:16 PM, Patrice Colet wrote:
> >   thank you for this plugin, is it possible to have a 8.4 compatible
> code?
> > then it would be possible to load it within pd-vanilla
> 
> no sorry I won't support tcl-8.4 (and its ugly fonts)
> 
> note that gui-plugins work only in pd >= 0.43 (vanilla or not)
> if you use pd-0.43 you should update tcl/tk to 8.5 anyway.
> 
> cheers,
> _y
> 
> >> I found the time to refine autocompletion-plugin so I ended up
> kinda
> >> rewriting it (screenshot below).
> >>
> >> there are lots of changes, it would be nice if some of you could
> test
> >> it
> >> and tell me what's wrong or what is weird etc...
> >>
> >> latest is here:
> >>
> http://github.com/gusano/pd_stuffs/tree/master/gui-plugins/autocompletion
> >>
> >> I tested it only on linux and pd-0.43.1-test2 (vanilla).
> >>
> >> list of changes:
> >>
> >> - new GUI (à la DesireData)
> >> - added support for osx and win32 (untested)
> >> - added bash-completion-mode behavior (more or less)
> >> - added *.cfg file for options
> >> - completions update while typing
> >> - added 'All' mode (requested: completions popup as soon as you
> type)
> >> - hiting 'Enter' without the popup unedits and select the object
> >> ...
> >>
> >> I'd like to track down bugs before releasing it this time ;)
> >>
> >> thanks for the help.
> 
> 
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list

-- 
Patrice Colet 

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] auto-completion with popup [was: 3 new gui-plugins]

2011-05-06 Thread yvan volochine

On 05/06/2011 08:16 PM, Patrice Colet wrote:

  thank you for this plugin, is it possible to have a 8.4 compatible code?
then it would be possible to load it within pd-vanilla


no sorry I won't support tcl-8.4 (and its ugly fonts)

note that gui-plugins work only in pd >= 0.43 (vanilla or not)
if you use pd-0.43 you should update tcl/tk to 8.5 anyway.

cheers,
_y


I found the time to refine autocompletion-plugin so I ended up kinda
rewriting it (screenshot below).

there are lots of changes, it would be nice if some of you could test
it
and tell me what's wrong or what is weird etc...

latest is here:
http://github.com/gusano/pd_stuffs/tree/master/gui-plugins/autocompletion

I tested it only on linux and pd-0.43.1-test2 (vanilla).

list of changes:

- new GUI (à la DesireData)
- added support for osx and win32 (untested)
- added bash-completion-mode behavior (more or less)
- added *.cfg file for options
- completions update while typing
- added 'All' mode (requested: completions popup as soon as you type)
- hiting 'Enter' without the popup unedits and select the object
...

I'd like to track down bugs before releasing it this time ;)

thanks for the help.



___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] auto-completion with popup [was: 3 new gui-plugins]

2011-05-06 Thread Patrice Colet
hello,

 thank you for this plugin, is it possible to have a 8.4 compatible code?
then it would be possible to load it within pd-vanilla

- "yvan volochine"  a écrit :

> hey,
> 
> I found the time to refine autocompletion-plugin so I ended up kinda 
> rewriting it (screenshot below).
> 
> there are lots of changes, it would be nice if some of you could test
> it 
> and tell me what's wrong or what is weird etc...
> 
> latest is here:
> http://github.com/gusano/pd_stuffs/tree/master/gui-plugins/autocompletion
> 
> I tested it only on linux and pd-0.43.1-test2 (vanilla).
> 
> list of changes:
> 
> - new GUI (à la DesireData)
> - added support for osx and win32 (untested)
> - added bash-completion-mode behavior (more or less)
> - added *.cfg file for options
> - completions update while typing
> - added 'All' mode (requested: completions popup as soon as you type)
> - hiting 'Enter' without the popup unedits and select the object
> ...
> 
> I'd like to track down bugs before releasing it this time ;)
> 
> thanks for the help.
> 
> cheers,
> _y
> 
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list

-- 
Patrice Colet 

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] auto-completion with popup [was: 3 new gui-plugins]

2011-05-06 Thread yvan volochine

hey,

I found the time to refine autocompletion-plugin so I ended up kinda 
rewriting it (screenshot below).


there are lots of changes, it would be nice if some of you could test it 
and tell me what's wrong or what is weird etc...


latest is here:
http://github.com/gusano/pd_stuffs/tree/master/gui-plugins/autocompletion

I tested it only on linux and pd-0.43.1-test2 (vanilla).

list of changes:

- new GUI (à la DesireData)
- added support for osx and win32 (untested)
- added bash-completion-mode behavior (more or less)
- added *.cfg file for options
- completions update while typing
- added 'All' mode (requested: completions popup as soon as you type)
- hiting 'Enter' without the popup unedits and select the object
...

I'd like to track down bugs before releasing it this time ;)

thanks for the help.

cheers,
_y
<>___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] auto-completion with popup [was: 3 new gui-plugins]

2011-04-07 Thread yvan volochine

On 04/06/2011 11:09 PM, Mathieu Bouchard wrote:

On Wed, 6 Apr 2011, yvan volochine wrote:


BTW I gave a quick try to DesireData
CTRL + arrows to select surrounding objects is amazing ! (although a
bit buggy here)
this + connect via keyboard shortcuts would be insanely cool :P


btw, here's the article on keyboard-only interface, from 2nd Pd
Convention (Montréal 2007) :

http://artengine.ca/~catalogue-pd/18-Lee-Bouchard.pdf


interesting, thanks.

_y

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] auto-completion with popup [was: 3 new gui-plugins]

2011-04-06 Thread Mathieu Bouchard

On Wed, 6 Apr 2011, Hans-Christoph Steiner wrote:

On Apr 6, 2011, at 3:27 PM, yvan volochine wrote:

BTW I gave a quick try to DesireData
CTRL + arrows to select surrounding objects is amazing ! (although a bit 
buggy here)


This should be doable in a GUI plugin, but the easy way to do it would be 
basically making a keyboard controlled selection box.


You don't know what feature Yvan is talking about, and you are proposing a 
different feature instead, which has different advantages/roles.



this + connect via keyboard shortcuts would be insanely cool :P

This is probably not doable without C modifications.


How is "Pd Toolkit" doing it, again ?

 ___
| Mathieu Bouchard  tél: +1.514.383.3801  Villeray, Montréal, QC
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] auto-completion with popup [was: 3 new gui-plugins]

2011-04-06 Thread Mathieu Bouchard

On Wed, 6 Apr 2011, yvan volochine wrote:


BTW I gave a quick try to DesireData
CTRL + arrows to select surrounding objects is amazing ! (although a bit 
buggy here)

this + connect via keyboard shortcuts would be insanely cool :P


btw, here's the article on keyboard-only interface, from 2nd Pd Convention 
(Montréal 2007) :


  http://artengine.ca/~catalogue-pd/18-Lee-Bouchard.pdf

And there's also a guy who lives in my neighbourhood who wrote something 
called MAX Toolkit (before 2007). I think someone redid that in Pd in 2009 
or so, I don't remember when. But those are not keyboard-only interfaces.


 ___
| Mathieu Bouchard  tél: +1.514.383.3801  Villeray, Montréal, QC
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] auto-completion with popup [was: 3 new gui-plugins]

2011-04-06 Thread Hans-Christoph Steiner


On Apr 6, 2011, at 3:27 PM, yvan volochine wrote:


On 04/06/2011 09:23 PM, Mathieu Bouchard wrote:

On Wed, 6 Apr 2011, Hans-Christoph Steiner wrote:


It would be great if as many of those desiredata improvements as
possible were available as GUI plugins, I think I a lot of people
would use them.


Yeah. It would be great if they were. But they aren't.

That's why I mention some of them, once in a while.


BTW I gave a quick try to DesireData
CTRL + arrows to select surrounding objects is amazing ! (although a  
bit buggy here)


This should be doable in a GUI plugin, but the easy way to do it would  
be basically making a keyboard controlled selection box.



this + connect via keyboard shortcuts would be insanely cool :P


This is probably not doable without C modifications.



cheers,
_y

ps: and stick to grid !!!


This could be doable in a GUI plugin, but it might be a bit odd.

.hc





"We have nothing to fear from love and commitment." - New York Senator  
Diane Savino, trying to convince the NY Senate to pass a gay marriage  
bill



___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] auto-completion with popup [was: 3 new gui-plugins]

2011-04-06 Thread yvan volochine

On 04/06/2011 09:23 PM, Mathieu Bouchard wrote:

On Wed, 6 Apr 2011, Hans-Christoph Steiner wrote:


It would be great if as many of those desiredata improvements as
possible were available as GUI plugins, I think I a lot of people
would use them.


Yeah. It would be great if they were. But they aren't.

That's why I mention some of them, once in a while.


BTW I gave a quick try to DesireData
CTRL + arrows to select surrounding objects is amazing ! (although a bit 
buggy here)

this + connect via keyboard shortcuts would be insanely cool :P

cheers,
_y

ps: and stick to grid !!!

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] auto-completion with popup [was: 3 new gui-plugins]

2011-04-06 Thread Mathieu Bouchard

On Wed, 6 Apr 2011, Hans-Christoph Steiner wrote:

It would be great if as many of those desiredata improvements as 
possible were available as GUI plugins, I think I a lot of people would 
use them.


Yeah. It would be great if they were. But they aren't.

That's why I mention some of them, once in a while.

 ___
| Mathieu Bouchard  tél: +1.514.383.3801  Villeray, Montréal, QC
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] auto-completion with popup [was: 3 new gui-plugins]

2011-04-06 Thread Hans-Christoph Steiner


On Apr 4, 2011, at 4:05 PM, Mathieu Bouchard wrote:


On Mon, 4 Apr 2011, yvan volochine wrote:

I got the popup thing working with auto-completion =) thanks to hc  
for the help and inspiration


Btw, had you tried DesireData's auto-completion ?

1. just name suggestions
http://artengine.ca/desiredata/gallery/completions.gif

2. with short descriptions in 15 languages
http://artengine.ca/desiredata/gallery/completions2.gif

3. can pick from popup list using arrow
http://code.goto10.org/projects/desiredata/attachment/wiki/UserDocs/dd_comp.png

there were some more improvements after (3) to make it look better.

That's something I started to write in 2004, and Chun Lee improved  
it in 2006 or 2007.



It would be great if as many of those desiredata improvements as  
possible were available as GUI plugins, I think I a lot of people  
would use them.


.hc



“We must become the change we want to see. - Mahatma Gandhi


___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] auto-completion with popup [was: 3 new gui-plugins]

2011-04-04 Thread yvan volochine

On 04/04/2011 10:05 PM, Mathieu Bouchard wrote:

On Mon, 4 Apr 2011, yvan volochine wrote:


I got the popup thing working with auto-completion =) thanks to hc for
the help and inspiration


Btw, had you tried DesireData's auto-completion ?

1. just name suggestions
http://artengine.ca/desiredata/gallery/completions.gif

2. with short descriptions in 15 languages
http://artengine.ca/desiredata/gallery/completions2.gif

3. can pick from popup list using arrow
http://code.goto10.org/projects/desiredata/attachment/wiki/UserDocs/dd_comp.png


there were some more improvements after (3) to make it look better.

That's something I started to write in 2004, and Chun Lee improved it in
2006 or 2007.


hi
no I never tried it (when I discovered it back in the years, my linux 
knowledge was close to null and I thought that the project was dropped 
(for some reasons..))

it always looked amazing to me, congrats ! (as well as gridflow)

I had to use pd again not long ago and thought that I should try to code 
these goodies for the sake of patching faster and with (nearly) no mouse 
(although I hate tcl, gui-plugins are cool =)


I'll give a try at desiredata and let you know.

cheers,
_y

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] auto-completion with popup [was: 3 new gui-plugins]

2011-04-04 Thread Mathieu Bouchard

On Mon, 4 Apr 2011, Pedro Lopes wrote:


p.s.: Mathieu: The last image gave me a wrong link. 


I've had problems too. I don't understand what's going on : 
http://code.goto10.org/ redirects to 
http://lists.goto10.org/cgi-bin/mailman/listinfo/


Yet I did access the correct page and copy the link into my email. Weird 
stuff is happening for sure.


 ___
| Mathieu Bouchard  tél: +1.514.383.3801  Villeray, Montréal, QC
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] auto-completion with popup [was: 3 new gui-plugins]

2011-04-04 Thread Pedro Lopes
p.s.: Mathieu: The last image gave me a wrong link.

On Mon, Apr 4, 2011 at 9:05 PM, Mathieu Bouchard  wrote:

> On Mon, 4 Apr 2011, yvan volochine wrote:
>
>  I got the popup thing working with auto-completion =) thanks to hc for the
>> help and inspiration
>>
>
> Btw, had you tried DesireData's auto-completion ?
>
> 1. just name suggestions
> http://artengine.ca/desiredata/gallery/completions.gif
>
> 2. with short descriptions in 15 languages
> http://artengine.ca/desiredata/gallery/completions2.gif
>
> 3. can pick from popup list using arrow
>
> http://code.goto10.org/projects/desiredata/attachment/wiki/UserDocs/dd_comp.png
>
> there were some more improvements after (3) to make it look better.
>
> That's something I started to write in 2004, and Chun Lee improved it in
> 2006 or 2007.
>
>  ___
> | Mathieu Bouchard  tél: +1.514.383.3801  Villeray, Montréal, QC
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>


-- 
Pedro Lopes (MSc)
contact: pedro.lo...@ist.utl.pt
website: http://web.ist.utl.pt/Pedro.Lopes /
http://pedrolopesresearch.wordpress.com/ | http://twitter.com/plopesresearch
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] auto-completion with popup [was: 3 new gui-plugins]

2011-04-04 Thread Mathieu Bouchard

On Mon, 4 Apr 2011, yvan volochine wrote:

I got the popup thing working with auto-completion =) thanks to hc for 
the help and inspiration


Btw, had you tried DesireData's auto-completion ?

1. just name suggestions
http://artengine.ca/desiredata/gallery/completions.gif

2. with short descriptions in 15 languages
http://artengine.ca/desiredata/gallery/completions2.gif

3. can pick from popup list using arrow
http://code.goto10.org/projects/desiredata/attachment/wiki/UserDocs/dd_comp.png

there were some more improvements after (3) to make it look better.

That's something I started to write in 2004, and Chun Lee improved it in 
2006 or 2007.


 ___
| Mathieu Bouchard  tél: +1.514.383.3801  Villeray, Montréal, QC
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[PD] auto-completion with popup [was: 3 new gui-plugins]

2011-04-04 Thread yvan volochine

hiho

I got the popup thing working with auto-completion =)
thanks to hc for the help and inspiration

http://puredata.info/community/projects/software/auto-completion-plugin

enjoy !

as usual, bug reports are welcome (I didn't test the popup on osx/win...)

cheers,
_y

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list