[Gimp-developer] ANNOUNCE: GIMP 2.0.6

2004-11-03 Thread Sven Neumann
GIMP version 2.0.6 is now available from

  ftp://ftp.gimp.org/pub/gimp/v2.0/.

Please use one of the mirrors listed at
  
  http://www.gimp.org/downloads/#mirrors

This is a bug-fix release in the stable 2.0 series. This is a bugfix
release in the stable GIMP 2.0 series. It fixes a couple of smaller
problems and a crash that occurred with Pango-1.2 (but not with newer
versions of Pango). This is the last release in the GIMP 2.0, tree
which will be obsoleted by GIMP 2.2 very soon. A pre-release for GIMP
2.2 is already available for you to test.

Here's a detailed list of fixes since version 2.0.5:

- fixed gimp_file_load_thumbnail()
- fixed gimp_displays_reconnect() (#154638)
- initialize tool options with default values before deserializiation (#120832)
- let the BMP loader deal better with broken BMP files (#15540)
- fixed help-browser crashes on missing images (#138275)
- fixed opacity handling in grid plug-in (#156750)
- fixed text tool crashes with Pango 1.2 (#154144)


Happy GIMPing, Sven
___
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer


Re: [Gimp-developer] open thumbnail and raw files

2004-11-03 Thread Joseph Heled

Sven Neumann wrote:
Hi,
Joseph Heled [EMAIL PROTECTED] writes:

The gimp Open Image dialog contains preview thumbnail. To generate
them, gimp calls the plugin to generate them. Now, for raw digital
camera files (.nef, .crw ...) this is a very expensive operation - and
obviously one would love to use the prepared/pre-stored thumbnail
which exists in the file.
From what I could see, there is no way I (the plugin author) can
detect if the call is for a thumbnail or not.
Can someone tell me if I am right or wrong?
If wrong - how do I do it?
If right, is there a chance this can be changed?

You are right. You could suggest an API and we could consider to add
it for GIMP 2.4.
The most natural place is to add an optional argument to the run() gimp
arguments. However I am not sure if this is possible. The plugin is a file
loader, registered under Load
gimp_install_procedure (file_rawphoto_load,
  ...,
  PLUG_IN_VERSION,
  Load/rawphoto,
I guess Load implies some magic, since it is not visible in the regular menus.
And perhaps 3 arguments is hardwired for such plugins? Can someone enlighten me?
(P.S it would certainly make sense to run this plugin non interactively from a
script, and in that case supply even additional arguments ...)
-Joseph

Sven

___
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer


[Gimp-developer] ANNOUNCE: gimp-help-2 0.5

2004-11-03 Thread Roman Joost
Hi,

after the pre-release of GIMP 2.2 is released, there is also a
new development snapshot available of the GIMP user manual
You can download this snapshot from ftp.gimp.org:

ftp://ftp.gimp.org/pub/gimp/help/testing/gimp-help-2-0.5.tar.gz

There is also a browsable up to date CVS version online on:

http://docs.gimp.org

Note, that this snapshot don't include french content, which is
requested by our french docwriters. Documentation in this release is
available for English, Chinese, German and Swedish. 

The documentation covers mostly the upcoming GIMP 2.2. It
contains besides documentation also technical fixes, which should let us
build a PDF version in the future. The Team from Novell/SuSE helped us a
lot to fix technical issues. In that regard big thanks to Thomas
Schraitle, Kenneth Wimer and David Neary (who is not employed by
Novell/SuSE but helped us communicating the whole thing).

Contributors:

Raymond Ostertag, Julien Hardelin, Cédric Gémy, Sébastien Barre,
Niklas Mattison, William Skaggs, Cai Qian, Eric Lamarque, Sven
Neumann, Daniel Egger, Roman Joost

Happy Gimping,

Roman


signature.asc
Description: Digital signature


Re: [Gimp-developer] open thumbnail and raw files

2004-11-03 Thread Sven Neumann
Hi,

Joseph Heled [EMAIL PROTECTED] writes:

 The most natural place is to add an optional argument to the run()
 gimp arguments. However I am not sure if this is possible.

The plug-in interface must remain API and ABI compatible to GIMP 2.0
so changing any of the existing functions is not an option.

 The plugin is a file loader, registered under Load

 gimp_install_procedure (file_rawphoto_load,
 ...,
 PLUG_IN_VERSION,
 Load/rawphoto,

 I guess Load implies some magic, since it is not visible in the
 regular menus. And perhaps 3 arguments is hardwired for such plugins?
 Can someone enlighten me?

The Load menu is a concept that isn't used in 2.2 any longer. Please
have a look at how file plug-ins register in GIMP 2.2. The new API is
backward compatible with the old one of course. But it doesn't really
make sense to look at the old APIs if we want to discuss further
enhancements.

 (P.S it would certainly make sense to run this plugin non
 interactively from a script, and in that case supply even additional
 arguments ...)

There's nothing that keeps you from doing that. If you are looking for
an example, check out the SVG loader plug-in.


Sven
___
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer


Re: [Gimp-developer] open thumbnail and raw files

2004-11-03 Thread Joseph Heled

Sven Neumann wrote:
Hi,
Joseph Heled [EMAIL PROTECTED] writes:

Great. So what I suggest - i.e. a forth argument to run() to indicate
a request for a thumbnail should work and not break other plugins?
I think you need to make yourself familiar with the GIMP API. Did
you
ever look at the API reference manual?
Not in full, but I can't see why it will help, since this is internal
to gimp itself.

No it isn't. If I understand your approach, you suggested to add
parameters to run() 
Not at all. I meant to add a parameter to 'param'
run(const gchar* name,
gint nparams,
const GimpParam* param,
...)
This affect only load plugins with 4 declared arguments (by the plugin), the 
forth named thumbnail.

  static GimpParamDef load_args[] =
{
  { GIMP_PDB_INT32,  run_mode, Interactive, non-interactive },
  { GIMP_PDB_STRING, filename, The name of the file to load },
  { GIMP_PDB_STRING, raw_filename, URI of the file to load },
  { GIMP_PDB_INT32,  thumbnail,use embedded thumbnail },
(I would need to be superman to make a working change to run() in 15 minutes ... :)
-Joseph
even though run() of course has a fixed set of
parameters. Since it is probably the most important function in the
GIMP API and implemented by all plug-ins, there is certainly not an
option to change it. What we need here is a way for load plug-ins to
register and additional procedure to load the thumbnail. This could
probably be designed in a way that would allow plug-ins to reuse their
main procedure.
I am however not going to continue this discussion in private mail. If
you want to talk about it, please use the mailing-list.
No problem. I thought it is best not to inflict my ignorance on the whole list.
Sven

___
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer