[PD-dev] status of verbose() in 0.43?

IOhannes m zmoelnig zmoelnig at iem.at
Wed Feb 23 11:38:59 CET 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2011-02-23 09:05, IOhannes m zmoelnig wrote:
> On 2011-02-22 23:26, Hans-Christoph Steiner wrote:
> 
>> This would be very nice, I could see being about to double-click any
>> line in the log and have it pop up which object made the log message.  I
>> won't have time to implement this in the foreseeable future.
> 
> well, the thing is that for now we only have to reserve an additional
> variable "objectID" for the logpost(), which could be NULL/empty.
> 
> logpost(objectID, level, msg,...)
> 
> then, time permitting, fill in the missing code on both the C and the
> tcl side.
> 
> i only try to avoid re-defining functions in each release.
> 

anyhow, here is a draft for how this would work (to be applied on top of
pd-extended.git#fac011b1)

apart from changing the logpost() functions, it also adds a new global
method to Pd that allows for selecting/highlighting an object based on a
symbolic representation of it's address.

like alway, most work was spent in trying to figure out things in tcl :-)


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

iEYEARECAAYFAk1k48MACgkQkX2Xpv6ydvS8VwCfYq29mkl4YkiFmY7tRa4yraag
ucIAnijfsT7Io+WR0ImMnwxDgdhcCU1C
=dseN
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-find-errors-by-double-clicking-on-the-error-message.patch
Type: text/x-patch
Size: 14453 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20110223/c65fee0e/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3636 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20110223/c65fee0e/attachment-0003.bin>


More information about the Pd-dev mailing list