1. 07 Oct, 2018 1 commit
    • Michael Natterer's avatar
      app: remove the image's "Enable Color Management" toggle · c399b894
      Michael Natterer authored
      It was not doing anything right since space invasion. We now treat the
      built-in sRGB profile like any other profile and never bypass
      conversions based on some weird toggle.
      
      Instead, introduce a "Use sRGB Profile" toggle which, when enabled,
      hides whatever profile away so the image actually uses the built-in
      sRGB profile.
      
      This is different from discarding and then re-assigning the same
      profile only by being faster and more convenient.
      c399b894
  2. 21 Jul, 2018 1 commit
    • Michael Natterer's avatar
      Initial space invasion commit in GIMP · e09e563a
      Michael Natterer authored
      All babl formats now have a space equivalent to a color profile,
      determining the format's primaries and TRCs. This commit makes GIMP
      aware of this.
      
      libgimp:
      
      - enum GimpPrecision: rename GAMMA values to NON_LINEAR and keep GAMMA
        as deprecated aliases, add PERCEPTUAL values so we now have LINEAR,
        NON_LINEAR and PERCPTUAL for each encoding, matching the babl
        encoding variants RGB, R'G'B' and R~G~B~.
      
      - gimp_color_transform_can_gegl_copy() now returns TRUE if both
        profiles can return a babl space, increasing the amount of fast babl
        color conversions significantly.
      
      - TODO: no solution yet for getting libgimp drawable proxy buffers in
        the right format with space.
      
      plug-ins:
      
      - follow the GimpPrecision change.
      
      - TODO: everything else unchanged and partly broken or sub-optimal,
        like setting a new image's color profile too late.
      
      app:
      
      - add enum GimpTRCType { LINEAR, NON_LINEAR, PERCEPTUAL } as
        replacement for all "linear" booleans.
      
      - change gimp-babl functions to take babl spaces and GimpTRCType
        parameters and support all sorts of new perceptual ~ formats.
      
      - a lot of places changed in the early days of goat invasion didn't
        take advantage of gimp-babl utility functions and constructed
        formats manually. They all needed revisiting and many now use much
        simpler code calling gimp-babl API.
      
      - change gimp_babl_format_get_color_profile() to really extract a
        newly allocated color profile from the format, and add
        gimp_babl_get_builtin_color_profile() which does the same as
        gimp_babl_format_get_color_profile() did before. Visited all callers
        to decide whether they are looking for the format's actual profile,
        or for one of the builtin profiles, simplifying code that only needs
        builtin profiles.
      
      - drawables have a new get_space_api(), get_linear() is now get_trc().
      
      - images now have a "layer space" and an API to get it,
        gimp_image_get_layer_format() returns formats in that space.
      
      - an image's layer space is created from the image's color profile,
        change gimpimage-color-profile to deal with that correctly
      
      - change many babl_format() calls to babl_format_with_space() and take
        the space from passed formats or drawables
      
      - add function gimp_layer_fix_format_space() which replaces the
        layer's buffer with one that has the image's layer format, but
        doesn't change pixel values
      
      - use gimp_layer_fix_format_space() to make sure layers loaded from
        XCF and created by plug-ins have the right space when added to the
        image, because it's impossible to always assign the right space upon
        layer creation
      
      - "assign color profile" and "discard color profile" now require use
        of gimp_layer_fix_format_space() too because the profile is now
        embedded in all formats via the space.  Add
        gimp_image_assign_color_profile() which does all that and call it
        instead of a simple gimp_image_set_color_profile(), also from the
        PDB set-color-profile functions, which are essentially "assign" and
        "discard" calls.
      
      - generally, make sure a new image's color profile is set before
        adding layers to it, gimp_image_set_color_profile() is more than
        before considered know-what-you-are-doing API.
      
      - take special precaution in all places that call
        gimp_drawable_convert_type(), we now must pass a new_profile from
        all callers that convert layers within the same image (such as
        image_convert_type, image_convert_precision), because the layer's
        new space can't be determined from the image's layer format during
        the call.
      
      - change all "linear" properties to "trc", in all config objects like
        for levels and curves, in the histogram, in the widgets. This results
        in some GUI that now has three choices instead of two.
        TODO: we might want to reduce that back to two later.
      
      - keep "linear" boolean properties around as compat if needed for file
        pasring, but always convert the parsed parsed boolean to
        GimpTRCType.
      
      - TODO: the image's "enable color management" switch is currently
        broken, will fix that in another commit.
      e09e563a
  3. 11 Jul, 2018 1 commit
  4. 24 Jul, 2016 1 commit
    • Michael Natterer's avatar
      Bug 768952 - Select by color works correctly only in srgb · f06f691a
      Michael Natterer authored
      Separate clearing/creating the image's cached color transforms from
      clearing/creating its color profile. Clear the transforms when the
      color profile changes, and when image type or precision change. Create
      the transforms only on demand, so clearing them multiple times doesn't
      trigger any redundant (and expensive) transform creations.
      f06f691a
  5. 26 May, 2016 1 commit
    • Michael Natterer's avatar
      libgimpcolor: add new object GimpColorTransform · cc928879
      Michael Natterer authored
      which encapsulates a cmsHTRANSFORM and does all the pixel format
      conversion magic. It has API to create transforms and proofing
      transforms, and to convert pixels arrays and GeglBuffers.
      
      Before, each place which has a transform had to keep around the
      transform and its input and output Babl formats, and had to implement
      lots of stuff itself. Now all that lives in GimpColorTransform,
      removing lots of logic from many places, and pretty much removing lcms
      from the public API entirely.
      
      This removes including <lcms2.h>, LCMS_LIBS and LCMS_CFLAGS from
      almost all directories and potentially allows to replace lcms by
      something else.
      cc928879
  6. 22 May, 2016 1 commit
  7. 08 May, 2016 1 commit
  8. 30 Apr, 2016 1 commit
  9. 15 Apr, 2016 1 commit
    • Michael Natterer's avatar
      app: cache more lcms transforms in GimpImage · 0ee27de4
      Michael Natterer authored
      Keep around transforms not only to/from the image's pixels to
      "R'G'B'A double" (GimpRGB's format), but also to/from "R'G'B'A u8"
      (GdkPixbuf's format). Also add API to access all cached transforms
      and the Babl formats expected when calling lcms.
      0ee27de4
  10. 20 Sep, 2015 1 commit
    • Michael Natterer's avatar
      Bug 748749 - picked colors don't match image colors... · 9550fbff
      Michael Natterer authored
      ...when a color profile is active
      
      This commit adds more (still unused) infrastructure to fix this bug:
      
      Ee now keep around color transforms from layer pixels to "R'G'B'A
      double" (which is GimpRGB's format) and back. Also add utility
      function gimp_image_color_profile_pixel_to_srgb() which converts a
      picked pixel to GimpRGB, using the cached color transform.
      9550fbff
  11. 26 Aug, 2015 1 commit
  12. 23 Aug, 2015 1 commit
    • Michael Natterer's avatar
      app: implement the "Convert to RGB Working Space" import dialog in the core · b51ee77e
      Michael Natterer authored
      Add gimp_image_import_color_profile(), a GUI vtable entry
      query_profile_policy() and a new dialog which returns the profile
      policy and the profile to convert to. Get rid of the wrapper that
      calls the lcms plug-in for that dialog, the plug-in is now completely
      unused.
      
      This commit doesn't add any new features, it's just the former lcms
      plug-in dialog implemented in app/ (except the little fix that it is
      now aware of linear vs. gamma images).
      b51ee77e
  13. 17 Aug, 2015 1 commit
  14. 02 Aug, 2015 2 commits
  15. 10 Jul, 2015 1 commit
    • Michael Natterer's avatar
      libgimpcolor, *: change GimpColorProfile to be a GObject · c102dde9
      Michael Natterer authored
      it used to be a typedef to gpointer and actually was a cmsHPROFILE.
      
      Change its API to be more "standard", remove the public close()
      function. The object caches both the cmsHPROFILE and the data/length
      ICC blob, so conversions between the two become obsolete (simply call
      get_lcms_profile() or get_icc_profile()).
      
      Adapt everything to the new API, but port it in a naive way for now,
      the code doesn't take advantage of the new possibilities yet (like
      refcounting).
      c102dde9
  16. 16 Jun, 2015 3 commits
  17. 09 Jun, 2015 2 commits
  18. 02 Jun, 2015 1 commit
  19. 29 May, 2015 1 commit
  20. 29 Mar, 2014 1 commit
  21. 23 Mar, 2014 1 commit
  22. 17 Mar, 2014 1 commit
  23. 17 Jan, 2009 1 commit
    • Michael Natterer's avatar
      Change licence to GPLv3 (and to LGPLv3 for libgimp). · d9b5207a
      Michael Natterer authored
      2009-01-17  Michael Natterer  <mitch@gimp.org>
      
      	* all files with a GPL header and all COPYING files:
      
      	Change licence to GPLv3 (and to LGPLv3 for libgimp).
      
      	Cleaned up some copyright headers and regenerated the parsers in
      	the ImageMap plugin.
      
      
      svn path=/trunk/; revision=27913
      d9b5207a
  24. 09 Dec, 2006 1 commit
  25. 27 Oct, 2003 1 commit
    • Sven Neumann's avatar
      app/text/Makefile.am new files that load and save text layers to/from XCF. · c0ebe2a8
      Sven Neumann authored
      2003-10-27  Sven Neumann  <sven@gimp.org>
      
      	* app/text/Makefile.am
      	* app/text/gimptextlayer-xcf.[ch]: new files that load and save
      	text layers to/from XCF.
      
      	* app/xcf/xcf-load.c
      	* app/xcf/xcf-save.c
      	* app/text/gimptextlayer.c: removed that code here and use the new
      	functions instead.
      
      	* app/text/gimptext-parasite.[ch] (gimp_text_from_parasite): added
      	a GError parameter.
      
      	* app/text/gimptextlayer.[ch]: store the name of the parasite that
      	the text layer was created from (if read from XCF). Remove the
      	parasite when the text layer is edited. If a text layer wasn't
      	touched, the original parasite is written back to the XCF file.
      
      	* app/text/gimptextlayout.c (gimp_text_layout_new): handle a NULL
      	text string.
      
      	* app/tools/gimptextoptions.c: implement GimpToolOptions::reset
      	and save the text across a reset.
      c0ebe2a8
  26. 24 Jun, 2003 2 commits
    • Sven Neumann's avatar
      added new function gimp_config_serialize_to_fd() for the sake of · 7a6a908a
      Sven Neumann authored
      2003-06-24  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpconfig.[ch]: added new function
      	gimp_config_serialize_to_fd() for the sake of completeness and
      	since it's a nice way to generate debugging output.
      
      	* app/text/Makefile.am
      	* app/text/gimptext-xlfd.[ch]: new files with routines to handle X
      	Logical Font Descriptions in an attempt to improve backwards
      	compatibility.
      
      	* app/text/gimptext-parasite.[ch]
      	* app/xcf/xcf-load.c: promote layers with GDynText parasite to
      	GimpTextLayer. Work in progress, we need to improve font matching.
      7a6a908a
    • Sven Neumann's avatar
      Added persistent storage of text layers in XCF files. We use a parasite in · 6b5e42de
      Sven Neumann authored
      2003-06-24  Sven Neumann  <sven@gimp.org>
      
              Added persistent storage of text layers in XCF files. We use a
      	parasite in order to keep the file format backwards compatible.
      	Fixes bug #111781.
      
      	* app/text/Makefile.am
      	* app/text/gimptext-parasite.[ch]: new files that hold functions
      	to convert a GimpText object to a GimpParasite and back.
      
      	* app/text/gimptextlayer.[ch]: added an ugly hack that allows to
      	convert a normal layer to a text layer.
      
      	* app/xcf/xcf-save.c: when saving a text layer, store an extra
      	parasite that holds all information about the text.
      
      	* app/xcf/xcf-load.c: if a "gimp-text-layer" parasite is found and
      	it can be successfully deserialized to a GimpText object, convert
      	the layer to a text layer and remove the parasite.
      
      	* app/Makefile.am: had to change linkage order.
      
      	* devel-docs/parasites.txt: documented the new "gimp-text-layer"
      	parasite.
      
      	* app/text/gimptext-parasite.[ch]
      	* app/gui/session.c (session_save): plugged minor memory leaks.
      6b5e42de
  27. 18 Oct, 2001 1 commit
    • Michael Natterer's avatar
      app/Makefile.am removed. · be86df2a
      Michael Natterer authored
      2001-10-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/module_db.[ch]: removed.
      
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/core/gimpmoduleinfo.[ch]
      	* app/core/gimpmodules.[ch]: new files containing the module info
      	object and the module list handling code.
      
      	* app/gui/Makefile.am
      	* app/gui/module-browser.[ch]: new files containing the GUI.
      
      	* app/xcf/xcf.[ch]: pass a "Gimp" pointer to xcf_exit().
      
      	* app/core/gimp.[ch]: handle modules and xcf init/exit here too.
      
      	* app/app_procs.c: don't touch the modules and xcf stuff any more.
      
      	* app/gui/dialogs-constructors.c: changed accordingly.
      
      2001-10-18  Michael Natterer  <mitch@gimp.org>
      
      	* POTFILES.in: module_db.c has moved.
      be86df2a
  28. 29 Dec, 2000 1 commit
    • Michael Natterer's avatar
      app/Makefile.am app/channel_pvt.h app/drawable_pvt.h app/gdisplayF.h · 8d6c335f
      Michael Natterer authored
      2000-12-29  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/channel_pvt.h
      	* app/drawable_pvt.h
      	* app/gdisplayF.h
      	* app/gimpdrawableP.h
      	* app/gimpimageP.h
      	* app/layer_pvt.h
      	* app/toolsF.h: removed these files.
      
      	* app/apptypes.h
      	* tools/pdbgen/enums.pl: added tons of opaque typedefs and enums.
      
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/channel.pdb
      	* tools/pdbgen/pdb/color.pdb
      	* tools/pdbgen/pdb/convert.pdb
      	* tools/pdbgen/pdb/display.pdb
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/fileops.pdb
      	* tools/pdbgen/pdb/gradient_select.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/help.pdb
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/layer.pdb
      	* tools/pdbgen/pdb/pattern_select.pdb
      	* tools/pdbgen/pdb/patterns.pdb
      	* tools/pdbgen/pdb/selection.pdb
      	* tools/pdbgen/pdb/tools.pdb
      	* app/*: chainsaw #include cleanup:
      
      	- Never (never!!) include stuff in header files except where we
      	  need access to structures' contents (like derived objects).
      	- Added prototypes and proper formating in many files.
      	- The #include order in *all* *.c files is as follows:
      
      	#include "config.h"
      
      	#include <system stuff>
      
      	#include <gtk/gtk.h>
      
      	#include "apptypes.h"
      
      	#include "gimp stuff"
      
      	#include "libgimp stuff"
      
      	#include "libgimp/gimpintl.h"
      
      	By following this scheme we can easily see a file's dependencies
      	from it's #include's and can grep for the inclusion to find out
      	where a file is used.
      
      	* tools/pdbgen/app.pl: changed to follow the include scheme above.
      
      	* libgimp/Makefile.am
      	* libgimp/gimpuitypes.h: new file, included from libgimp/gimpui.h
      	and from app/apptypes.h.
      
      	* libgimp/gimpcolorbutton.[ch]
      	* libgimp/gimpdialog.[ch]
      	* libgimp/gimphelpui.[ch]
      	* libgimp/gimpparasite.[ch]
      	* libgimp/gimppatheditor.[ch]
      	* libgimp/gimpprotocol.c
      	* libgimp/gimpquerybox.[ch]
      	* libgimp/gimpsizeentry.[ch]
      	* libgimp/gimptypes.h
      	* libgimp/gimpui.h
      	* libgimp/gimpunit.h
      	* libgimp/gimpunitmenu.[ch]
      	* libgimp/gimpwidgets.[ch]: changed accordingly.
      
      	* plug-ins/FractalExplorer/Dialogs.c
      	* plug-ins/gdyntext/message_window.c
      	* plug-ins/imagemap/imap_default_dialog.c
      	* plug-ins/imagemap/imap_file.c: these files used to include
      	"libgimp/gimpui.h" without including "libgimp/gimp.h". This is
      	no longer possible because the libgimpui headers don't inlcude
      	"libgimp/gimpunit.h" any more.
      8d6c335f
  29. 16 Dec, 2000 1 commit
    • Sven Neumann's avatar
      Last-minute cleanup: · dfa2bed5
      Sven Neumann authored
      2000-12-16  Sven Neumann  <sven@gimp.org>
      
      	Last-minute cleanup:
      
      	* app/gimpdrawableF.h
      	* app/gimphistogramF.h
      	* app/gimpimageF.h
      	* app/gimplistF.h
      	* app/gimplutF.h
      	* app/gimpobjectF.h
      	* app/gimpsetF.h
      	* app/layerF.h
      	* app/parasitelistF.h: removed these files
      
      	* app/Makefile.am
      	* tools/pdbgen/Makefile.am: changed accordingly
      
      	* app/[almost every file]: include cleanup
      dfa2bed5
  30. 18 Nov, 2000 1 commit
    • Michael Natterer's avatar
      app/fileops.c Make sure that we don't try to destroy query_boxes twice or · cdd0a514
      Michael Natterer authored
      2000-11-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/fileops.c
      	* libgimp/gimpquerybox.[ch]: Make sure that we don't try to destroy
      	query_boxes twice or try to disconnect not-any-more connected
      	handlers.
      
      	* app/color_notebook.c
      	* app/gimpcontext.[ch]
      	* app/gimphelp.[ch]
      	* app/lc_dialog.[ch]
      	* app/menus.h
      	* app/preferences_dialog.c
      	* app/tools.[ch]
      	* libgimp/gimpcolorbutton.[ch]
      	* libgimp/gimpdialog.[ch]
      	* libgimp/gimpexport.[ch]
      	* libgimp/gimpfileselection.[ch]
      	* libgimp/gimphelpui.[ch]
      	* libgimp/gimppatheditor.[ch]
      	* libgimp/gimppixmap.[ch]
      	* libgimp/gimpsizeentry.[ch]
      	* libgimp/gimpui.[ch]
      	* libgimp/gimpunitmenu.[ch]
      	* libgimp/gimpwidgets.[ch]: in a coding attack, changed help_data
      	and many other strings passed to UI functions to (const gchar *).
      	As a consequence, I had to fix lots of warnings ;)
      
      	* plug-ins/common/tga.c
      	* plug-ins/imagemap/imap_main.c: fixed warnings.
      
      	Code cleanup and indentation all over the place.
      cdd0a514
  31. 21 May, 2000 1 commit
    • Michael Natterer's avatar
      These changes enable help support for 3rd party plug-ins which install · 9c6b0b0c
      Michael Natterer authored
      2000-05-21  Michael Natterer  <mitch@gimp.org>
      
      	These changes enable help support for 3rd party plug-ins which
      	install their help files outside GIMP's main help dir.
      
      	Instead of calling gimp_help(), gimp_plugin_help_func() etc.,
      	all help callbacks now have to call gimp_standard_help_func()
      	which has different implementations in the app and in libgimp.
      
      	There is a new function gimp_plugin_help_register() which can
      	be called during plug-in query. plug_in.c keeps a list of
      	executable_name/help_path pairs. Plug-ins have to pass their
      	exec. name to gimp_help() which uses the list to find the plug-in's
      	help directory.
      
      	* app/gimphelp.[ch]: gimp_help() now takes a help_path parameter.
      	help_path == NULL means the standard help directory. Various
      	changes to pass the help_path to the help browser.
      
      	* app/gimprc.c: save the plug-in's help_path in the pluginrc file.
      
      	* app/menus.c: ugly hack to enable help_paths in the "F1" callback.
      
      	* app/plug_in.[ch]: many help_path related changes. Use g_basename()
      	instead of strrchr(str,G_DIR_SEPARATOR), cosmetic cleanups.
      
      	* app/internal_procs.c
      	* app/gimphelp_cmds.c
      	* tools/pdbgen/pdb/gimphelp.pdb: new procedure
      	gimp_plugin_help_register(). gimp_help() takes a second parameter
      	which is the executable name (not the help_path).
      
      	* app/color_notebook.c
      	* app/commands.c
      	* app/lc_dialog.c
      	* app/preferences_dialog.c
      	* app/tools.c: call gimp_standard_help_func() instead of gimp_help().
      
      	* libgimp/gimp.c: new function gimp_get_progname() which returns
      	the full path of the plug-in's executable.
      
      	* libgimp/gimp.h: export the new function,
      	removed gimp_plugin_help_func(), gimp_help() takes the executable
      	name as second parameter.
      
      	* libgimp/gimpcompat.h: added gimp_plugin_help_func().
      
      	* libgimp/gimphelp.c: a wrapper for gimp_plugin_help_register(),
      	changed the calls to gimp_help.
      
      	* libgimp/gimphelpui.[ch]: call gimp_standard_help_func() instead
      	of gimp_help().
      
      	* plug-ins/helpbrowser/helpbrowser.c: now called with an additional
      	help_path parameter. Various changes to enable
      	help_path != gimp_standard_help_path.
      
      	Unrelated stuff:
      
      	* app/batch.h: added missing GPL header.
      
      	* app/gimpunit.c: had a LGPL header, merged some fprintf's into
      	one call.
      
      	* app/procedural_db.[ch]: cosmetic: g* types, s/g_malloc/g_new/,
      	prototypes, indentation.
      
      	* app/resize.c: use less packing widgets. didn't find the "offset"
      	redraw bug :(
      9c6b0b0c
  32. 11 Jan, 2000 1 commit
    • Michael Natterer's avatar
      app/gimphelp.h libgimp/gimp.h declare the gimp_standard_help_func in · d5e99ee9
      Michael Natterer authored
      2000-01-11  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimphelp.h
      	* libgimp/gimp.h
      	* libgimp/gimphelpui.[ch]: declare the gimp_standard_help_func in
      	gimphelpui.h because libgimp widgets must not include libgimp/gimp.h.
      
      	* libgimp/gimpdialog.c
      	* libgimp/gimpexport.c
      	* libgimp/gimpunitmenu.c: use the dialog constructor for the
      	export dialog and the unit selection.
      
      	* plug-ins/gpc/gpc.[ch]
      	* plug-ins/megawidget/megawidget.[ch]: removed unused functions
      	(dialog creation and some other stuff). The rest of these libs is
      	scheduled for removal, too...
      
      	* plug-ins/AlienMap/AlienMap.c
      	* plug-ins/AlienMap/Makefile.am
      	* plug-ins/AlienMap2/AlienMap2.c
      	* plug-ins/AlienMap2/Makefile.am
      	* plug-ins/borderaverage/Makefile.am
      	* plug-ins/borderaverage/borderaverage.c
      	* plug-ins/common/align_layers.c
      	* plug-ins/common/blur.c
      	* plug-ins/common/colortoalpha.c
      	* plug-ins/common/compose.c
      	* plug-ins/common/decompose.c
      	* plug-ins/common/gauss_iir.c
      	* plug-ins/common/gauss_rle.c
      	* plug-ins/common/mapcolor.c
      	* plug-ins/common/max_rgb.c
      	* plug-ins/common/mblur.c
      	* plug-ins/common/noisify.c
      	* plug-ins/common/spread.c
      	* plug-ins/common/xbm.c
      	* plug-ins/common/xpm.c
      	* plug-ins/fp/Makefile.am
      	* plug-ins/fp/fp_gtk.c
      	* plug-ins/rcm/Makefile.am
      	* plug-ins/rcm/rcm_callback.[ch]
      	* plug-ins/rcm/rcm_dialog.c
      	* plug-ins/sinus/sinus.c: standard ui (spacings etc.) for some
      	more plugins. Did some indentation, prototyping and I18N fixes.
      d5e99ee9
  33. 05 Jan, 2000 1 commit
    • Michael Natterer's avatar
      removed most functions. Show the help page in an idle function to avoid · ee6ad0e2
      Michael Natterer authored
      2000-01-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimphelp.[ch]: removed most functions. Show the help page in
      	an idle function to avoid confusion with calling the temporary
      	help browser procedure in the middle of the "gimp_help" PDB call.
      	(I beleive this should work, so this is maybe a workaround for
      	some other bug).
      
      	* app/gimpui.[ch]: removed the dialog functions.
      
      	* libgimp/Makefile.am
      	* libgimp/gimpdialog.[ch]
      	* libgimp/gimphelp.c
      	* libgimp/gimphelpui.[ch]: new files. Moved most of the help
      	functions and the dialog constructors to libgimp and libgimpui.
      
      	* libgimp/gimp.h: declaration of the "gimp_help*" functions.
      
      	* libgimp/gimpui.h: include "gimpdialog.h" and "gimphelpui.h".
      
      	* plug-ins/common/grid.c: use the dialog constructor. It's now
      	possible to show the plugin's help with "F1".
      ee6ad0e2
  34. 19 Dec, 1999 2 commits