strange bug

2000-12-03 Thread Maneesh Yadav
Hi all, I ran across what I believe to be a strange bug, I have sinced fixed the source but I'll try to give a verbose explanation here, let me know if someone wants an example (the problem is that is a little unreproducible): I made a list file loader which opens a file with a newline delimited

Re: Plug-in problems

2000-11-30 Thread Maneesh Yadav
at :) > > As a matter of interest, what kind of techniques have people built up > for debugging plug-ins? > > Cheers, > Dave. > > Maneesh Yadav wrote: > > > > I think you need to allocate the return vals (the pointeryou get from the > > args is

Re: layer_get_offests(layerId, &x, &y);

2000-11-30 Thread Maneesh Yadav
.. Thanks Again, Maneesh On Thu, 30 Nov 2000, Nick Lamb wrote: > On Thu, Nov 30, 2000 at 01:13:33AM -0500, Maneesh Yadav wrote: > > No one knows how to get the offsets for a layer from libgimp do they? I > > see a set_offsets but no get... > > Shouldn't we put an accessor met

layer_get_offests(layerId, &x, &y);

2000-11-29 Thread Maneesh Yadav
No one knows how to get the offsets for a layer from libgimp do they? I see a set_offsets but no get... Shouldn't we put an accessor method in there...I would add it myself, but I don't get that pdb meta code...

Re: Plug-in problems

2000-11-29 Thread Maneesh Yadav
I think you need to allocate the return vals (the pointeryou get from the args is to let you tell the caller where the return vals are...like this: static GimpParam values[1]; *nreturn_vals = 0; *return_vals = values; values[0].type = GIMP_PDB_STATUS; values[0].data.d_status = GIMP_PDB_SUCCES

*squeak* feature request

2000-11-26 Thread Maneesh Yadav
I'm not sure what state the gimp is in (I think you guys are in a feature freeze right?), but I would like to humbly propose the following (if there isn't a way to do it already): A lot of plugins (obviously) work over an image on a tile by tile basis, and since the selection mask is applied auto

list file loader

2000-11-25 Thread Maneesh Yadav
could use "load to image to layer" calls (although I guess it is messy for the file itself could be multilayered)or maybe a more efficient "layer mover" (one that does not duplicate data, so we can transfer drawables between images)... On Fri, 24 Nov 2000, Jarda Benk

Re: simple q re: gimp_edit

2000-11-23 Thread Maneesh Yadav
I figured it out...I didn't realize I was using an older version...

simple q re: gimp_edit

2000-11-22 Thread Maneesh Yadav
Hi all, I needed a way to load up multiple image files to separate layers of a single image...I thought about it for awhile but the best I could come up with was making a list file loader (a filename per line) that loads each image with gimp_file_load and then copies and pastes the layers into a s