[PD-dev] recentfiles_list explanation

2011-03-14 Thread Yvan Volochine
hello sorry if this is obvious but I'm looking into pd source for the 1st time today... I'm trying to get recentfiles written to ~/.pdsettings and I think I'm missing something obvious. (see my patch attached or here: http://pastebin.com/3apUXLzs ). so far I can read from .pdsettings and get the

Re: [PD-dev] recentfiles_list explanation

2011-03-14 Thread Yvan Volochine
> I'm trying to get recentfiles written to ~/.pdsettings and I think I'm > missing something obvious. > (see my patch attached or here: http://pastebin.com/3apUXLzs ). > > so far I can read from .pdsettings and get the recentfiles in the File > menu (when I wrote them in theremanually) > but, in s_

Re: [PD-dev] recentfiles_list explanation

2011-03-15 Thread Yvan Volochine
On 3/15/11, Hans-Christoph Steiner wrote: > On Tue, 2011-03-15 at 03:45 +0100, Yvan Volochine wrote: >> > I'm trying to get recentfiles written to ~/.pdsettings and I think I'm >> > missing something obvious. [snip] > > Hey Yvan, > > It's great th

Re: [PD-dev] recentfiles_list explanation

2011-03-16 Thread yvan volochine
On 03/16/2011 06:16 PM, Hans-Christoph Steiner wrote: ~/.pd/recentfiles.conf would always only contain recentfiles configuration. That's a good idea, but I think it should fit into the Free Desktop Standards. Isn't that something like ~/.local/pd? Then that does not cover Windows, which uses t

Re: [PD-dev] recentfiles_list explanation

2011-03-16 Thread yvan volochine
On 03/16/2011 06:28 PM, Hans-Christoph Steiner wrote: The way that the recent files are currently written to the File menu are carefully tailored to the way its normally done on the native platform. GNOME and Windows do it by putting them directly inline on the File menu, Mac OS X does it on the

Re: [PD-dev] recentfiles_list explanation

2011-03-16 Thread yvan volochine
On 03/16/2011 08:18 PM, Hans-Christoph Steiner wrote: alright I 'll think about it and write a gui-plugin instead. I don't have neither gnome nor kde but I think inlining 10 recent items in the file menu is a bit too much =) It seems that almost everything that you are doing should go into the

Re: [PD-dev] recentfiles_list explanation

2011-03-17 Thread yvan volochine
On 03/16/2011 05:02 AM, yv wrote: also, I created a new file and put all this recentfiles stuff in it, tcl/pd_guiprefs.tcl and I didn't find out where I should add it so it ends up in tcl/pkgIndex.tcl. any hints ? hiho I still don't really know what to do with tcl/pkgIndex.tcl I ran tcl/pkg_mk

[PD-dev] add a new tcl file to pd source [was: recentfiles_list explanation]

2011-03-18 Thread yvan volochine
hi as my work on recent files is nearly done, I'd like to know what's the proper way to add a new *.tcl file to pd source. as I said in the other thread, I added my new file to: pd/tcl/Makefile.am pd/tcl/po/Makefile.am then I ran manually tcl/pkg_mkIndex.tcl and my file ends up in tcl/pkgInd

Re: [PD-dev] add a new tcl file to pd source [was: recentfiles_list explanation]

2011-03-19 Thread yvan volochine
On 03/18/2011 06:16 PM, Hans-Christoph Steiner wrote: Good news! Add the file here, like it sounds like you already have: pd/tcl/Makefile.am pd/po/Makefile.am Then manually edit pkgIndex.tcl, I haven't had good luck with pkg_mkIndex.tcl. it worked for me, it filled out pkdIndex.tcl and it

Re: [PD-dev] add a new tcl file to pd source [was: recentfiles_list explanation]

2011-03-22 Thread yvan volochine
On 03/20/2011 04:41 AM, Hans-Christoph Steiner wrote: On Mar 19, 2011, at 2:54 PM, yvan volochine wrote: On 03/18/2011 06:16 PM, Hans-Christoph Steiner wrote: Good news! Add the file here, like it sounds like you already have: pd/tcl/Makefile.am pd/po/Makefile.am Then manually edit

[PD-dev] read a *.plist array in tcl

2011-03-24 Thread yvan volochine
hi when reading from a *.plist file in tcl, if the value asked is an array, I get a string: if {![catch {exec defaults read org.puredata $akey} arr]} { puts $arr } // this string is printed ( "foo", "bar" ) is there any elegant way to get this array as a tcl list directly ? cheers, _y _

Re: [PD-dev] read a *.plist array in tcl

2011-03-25 Thread yvan volochine
On 03/25/2011 05:35 PM, Hans-Christoph Steiner wrote: On Thu, 2011-03-24 at 19:43 +0100, yvan volochine wrote: hi when reading from a *.plist file in tcl, if the value asked is an array, I get a string: if {![catch {exec defaults read org.puredata $akey} arr]} { puts $arr } // this

Re: [PD-dev] read a *.plist array in tcl

2011-03-26 Thread yvan volochine
On 03/25/2011 09:48 PM, Hans-Christoph Steiner wrote: is there any elegant way to get this array as a tcl list directly ? Some Tcl regsub tricks seem to work pretty well, see attachment. hey thanks it might be a bit slower than [string map] but it handles better special chars in filenames

[PD-dev] erase object text

2011-04-01 Thread yvan volochine
hi, is there a way to erase the text from an object box that's being edited (in tcl) ? I tryed with pdtk_sekectall and pdtk_text_set but I couldn't get it to work (pd keeps the 'old' text). cheers, _y ___ Pd-dev mailing list Pd-dev@iem.at http://li

Re: [PD-dev] erase object text

2011-04-01 Thread yvan volochine
On 04/01/2011 10:43 PM, Miller Puckette wrote: Can't be done -- the actual text editing is done in Pd and the TCL code is just to display the current state of affairs down in Pd. There might be a way to do it via messages to Pd though -- for instance, simlulating the necessary mouse/keyboard act

[PD-dev] submitting gui-plugins

2011-04-02 Thread yvan volochine
hi, I have a couple of gui-plugins[*] I'd like to submit but I'm afraid I couldn't find how :/ I created an account on the wiki but I don't know how to add something in projects/software/gui-plugin. cheers, _y ps: I realized that my RecentFiles patch fits in a Gui-Plugin, as well as other

Re: [PD-dev] submitting gui-plugins

2011-04-02 Thread yvan volochine
On 04/02/2011 03:14 PM, András Murányi wrote: log in, go to http://puredata.info/community/projects/software and click "add new software project" at the right side of the vertical navigation bar, under "All sorts of software built on..." d'oh! I suggest that you don't group your stuff up but

Re: [PD-dev] erase object text

2011-04-02 Thread yvan volochine
On 04/01/2011 11:29 PM, yvan volochine wrote: On 04/01/2011 10:43 PM, Miller Puckette wrote: Can't be done -- the actual text editing is done in Pd and the TCL code is just to display the current state of affairs down in Pd. There might be a way to do it via messages to Pd though -

Re: [PD-dev] erase object text

2011-04-02 Thread yvan volochine
On 04/02/2011 05:38 PM, yvan volochine wrote: On 04/01/2011 11:29 PM, yvan volochine wrote: On 04/01/2011 10:43 PM, Miller Puckette wrote: Can't be done -- the actual text editing is done in Pd and the TCL code is just to display the current state of affairs down in Pd. There might be

Re: [PD-dev] erase object text

2011-04-03 Thread yvan volochine
On 04/03/2011 01:53 AM, Hans-Christoph Steiner wrote: Have you tried watching the actual traffic that pd-gui sends to pd? Run pd from the command line like 'pd -stderr -d 3' and you'll see the communications between pd and pd-gui. -d 1 would be one direction of that traffic, and -d 2 would be the

Re: [PD-dev] submitting gui-plugins

2011-04-03 Thread yvan volochine
On 04/03/2011 02:06 AM, Hans-Christoph Steiner wrote: Looking forward to trying the auto-completion plugin! http://puredata.info/community/projects/software/auto-completion-plugin/?searchterm=None =) cheers, _y ___ Pd-dev mailing list Pd-dev@iem.a

[PD-dev] tcl registry pd-0.43

2011-04-05 Thread yvan volochine
hi, I use `package require registry' in a Gui-Plugin and it seems that it's not included in pd-0.43 win binaries. I have no experience on win32 so I'd like to know if this package is included when users build pd themselves ? thanks, _y ___ Pd-dev m

Re: [PD-dev] tcl registry pd-0.43

2011-04-07 Thread yvan volochine
On 04/06/2011 08:04 PM, Hans-Christoph Steiner wrote: According to the Tcl/Tk 8.4 docs, it should be included. What if you just try to use 'registry' without the 'package require registry'? http://tcl.tk/man/tcl8.4/TclCmd/registry.htm it should but it's not. running tclsh84.exe shipped with p

Re: [PD-dev] tcl registry pd-0.43

2011-04-11 Thread yvan volochine
On 04/11/2011 06:01 AM, Hans-Christoph Steiner wrote: While avoiding bloat is a worthy goal, it seems to me that a good place to draw that line is at the standard Tcl/Tk. I don't think adding those libs will add a lot, but it does mean that people can rely on the standard Tcl/Tk docs to know wha

[PD-dev] focus textbox

2011-05-04 Thread yvan volochine
hi, for a gui-plugin I have the following focus problem: say I create a window on top of an existing tkcanvas and I'd like to give the focus back to an existing textbox ($tag) without killing the new window. I do: $tkcanvas focus $tag which gives the focus to $tag (keys events work) but I do

Re: [PD-dev] focus textbox

2011-05-04 Thread yvan volochine
say I create a window on top of an existing tkcanvas and I'd like to give the focus back to an existing textbox ($tag) without killing the new window. I do: $tkcanvas focus $tag which gives the focus to $tag (keys events work) but I don't see the cursor until I focus any another window and focus

[PD-dev] hello-hallo-salut-konichiwa-ciao-hola-messalame

2011-05-06 Thread yvan volochine
hi, I'd like to join the Pure-Data developers team on sf.net. I am a musician (and programmer) and I have been using pd for some years (like 5 years ago) to eventually use SuperCollider only. now that I managed to make my girlfriend switch to linux and that she uses pd a lot (daily), I had t

Re: [PD-dev] hello-hallo-salut-konichiwa-ciao-hola-messalame

2011-05-09 Thread yvan volochine
On 05/08/2011 06:18 PM, Hans-Christoph Steiner wrote: Thanks for the introduction, its been great to see your development efforts here, definitely valuable. Looking at your website, it seems that you got burned by C'74 dropping support for VSTs. You might be happy to see there is development for

Re: [PD-dev] hello-hallo-salut-konichiwa-ciao-hola-messalame

2011-05-27 Thread yvan volochine
On 05/27/2011 05:18 PM, Hans-Christoph Steiner wrote: Its defintiely been long enough for the lazy consensus. If you are still interesting, post your sourceforge account name, and I'll add you. cool =) my username: elgusanorojo cheers, _y ___ Pd-de

Re: [PD-dev] tkwidgets

2011-08-25 Thread yvan volochine
On 08/17/2011 08:54 PM, Hans-Christoph Steiner wrote: I've started a private git branch of tkwidgets that I intent to push once I get somewhere with it. The idea is to try out a new idea for how GUI objects can work. Basically, I think I can make it so that Tcl handles more of the interaction wit

Re: [PD-dev] [PD] tkwidgets

2011-08-26 Thread yvan volochine
On 08/26/2011 07:28 PM, Jonathan Wilkes wrote: It might be a good idea to list the problems with tcl/tk so we can weigh them against the difficulty of using a different GUI toolkit. The problems I see are: * difficult to implement a decent zoom function for a canvas * can't display png without

Re: [PD-dev] Pd-extended-0.43 appearance

2011-10-22 Thread yvan volochine
On 10/21/2011 11:15 PM, Hans-Christoph Steiner wrote: - or, even better, make pd send pd messages to pd-gui instead of Tcl, and move GUI size, mouse, click, etc handling to pd-gui. Then we get zoomable GUIs and all sorts of other good things. Big project tho this would be really neat indeed. do

Re: [PD-dev] [ pure-data-Feature Requests-3531000 ] Proposal for an alternative file format

2012-06-02 Thread yvan volochine
On 06/02/2012 07:50 PM, s p wrote: So, ... moving the discussion here from sourceforge's tracker : @Sébastien will you write a .json -> .pd converter too? Rich, notice the double arrow ".json<-> .pd" ;) the proposal is for a new, easier to read / parse, format for existing patches. This

Re: [PD-dev] Gui plugins management (Was: I have 3 broken installs)

2013-03-03 Thread yvan volochine
On 03/03/13 11:46, András Murányi wrote: The plugin overwrites the original ::pd_menus::update_recentfiles_on_menu so I guess it's aiming to do something better. the plugin just prepend numbers to recentfile names and add keyboard shortcuts so, combined with menubar plugin[1], you can access y

Re: [PD-dev] Gui plugins management (Was: I have 3 broken installs)

2013-03-03 Thread yvan volochine
On 03/03/13 12:29, yvan volochine wrote: ps: [OT] I notice that recentfile support was broken on linux by 356fa6abd89d9 will submit a patch later to fix that.. done: https://sourceforge.net/tracker/?func=detail&aid=3606687&group_id=55736&atid=478072 cheers, y -- http://yvanv

Re: [PD-dev] [pure-data:patches] #513 automake build fixes

2013-07-04 Thread yvan volochine
On 02/07/13 12:37, IOhannes m zmölnig wrote: ** [patches:#513] automake build fixes** [snip] after the latest updates in the puredata git repository ("0.45.0test"), the automake build-system is broken, since files have been removed from the source-tree. the attached patchset fixes this (so Pd

Re: [PD-dev] [pure-data:patches] #513 automake build fixes

2013-07-08 Thread yvan volochine
On 08/07/13 10:43, IOhannes m zmoelnig wrote: config.status: creating Makefile config.status: error: cannot find input file: `portaudio-2.0.pc.in' configure: error: ./configure failed for portaudio using 3.9.8-1-ARCH, automake-1.14 and gcc-4.8.1 you did run `autogen.sh` prior to everything, d

Re: [PD-dev] [pure-data:patches] #513 automake build fixes

2013-07-14 Thread yvan volochine
After a bit more research I found out that the following commit [1] is causing the automake build failure: commit 496c888ebdddbc29ec042ff5e3137cfd0df80281 Author: Miller Puckette Date: Tue Jun 18 19:06:29 2013 -0700 Portaudio tp 2013/06/19 snapshot if I do: $ git pull orig

Re: [PD-dev] [pure-data:patches] #513 automake build fixes

2013-07-17 Thread yvan volochine
On 17/07/13 03:37, Miller Puckette wrote: OK... try with the newest commit (25bb9ce583bddfe9fc417df2785f07aa0846bf5d) yep, works fine now.. =) thanks! y -- http://yvanvolochine.com http://soundcloud.com/yvanvolochine http://soundcloud.com/elgusanorojo http://github.com/gusano http://vimeo.com

[PD-dev] [pure-data:patches] #519 Add instructions on how to enable jack when building on linux

2013-12-28 Thread Yvan Volochine
--- ** [patches:#519] Add instructions on how to enable jack when building on linux** **Status:** open **Labels:** INSTALL.txt **Created:** Sat Dec 28, 2013 09:19 PM UTC by Yvan Volochine **Last Updated:** Sat Dec 28, 2013 09:19 PM UTC **Owner:** nobody This just adds a note in INSTALL.txt