1. 17 Dec, 2001 1 commit
    • Michael Natterer's avatar
      added -DGDK_PIXBUF_DISABLE_DEPRECATED to CPPFLAGS. · be1215a2
      Michael Natterer authored
      2001-12-18  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in: added -DGDK_PIXBUF_DISABLE_DEPRECATED to CPPFLAGS.
      
      	* app/core/gimpbuffer.[ch]: gimp_buffer_get_[width|height]:
      	added "const" to the GimpBuffer parameter.
      
      	* app/core/gimpchannel.c: indentation and comment changes.
      
      	* app/core/gimpdrawable-desaturate.c: don't include
      	"paint-funcs/paint-funcs.h".
      
      	* app/display/gimpdisplayshell.c: don't include "base/temp-buf.h".
      
      	* app/gui/gui.c: removed the image container's "name_changed"
      	handler.
      
      	* app/gui/palette-import-dialog.[ch]: use GimpPreview and
      	GimpContainerMenu instead of doing the same manually. Removed lots
      	of code. Not perfect yet.
      
      	* app/tools/gimpfuzzyselecttool.c: no need to include tile stuff.
      
      	* app/widgets/gimpcontainerview-utils.c: better g_warning() message.
      
      	* tools/pdbgen/pdb/paint_tools.pdb: don't include
      	"base/tile-manager.h".
      
      	* app/pdb/paint_tools_cmds.c: regenerated.
      
      	* data/images/Makefile.am
      	* data/images/gimp_logo.ppm: removed...
      	* data/images/gimp_logo.png: ...and added as PNG.
      
      	* app/gui/about-dialog.c: use gdk_pixbuf_new_from_file() to load
      	the PNG logo instead of manually parsing the PPM.
      be1215a2
  2. 12 Dec, 2001 1 commit
    • Michael Natterer's avatar
      made gimp->global_buffer a GimpBuffer, not TileManager. · 9b8bf8de
      Michael Natterer authored
      2001-12-13  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimp.[ch]: made gimp->global_buffer a GimpBuffer,
      	not TileManager.
      
      	* app/core/gimpbuffer.[ch]: added a "gboolean copy_pixels" to
      	gimp_buffer_new().
      
      	* app/core/gimpimage-new.c
      	* app/core/gimpedit.[ch]
      	* app/core/gimpimage-qmask.c
      	* app/widgets/gimpbufferpreview.c
      	* app/widgets/gimpbufferview.c
      	* app/widgets/gimpcontainerview-utils.c: chaned accordingly, don't
      	include "base/tile-manager.h".
      
      	* app/core/gimpdrawable.[ch]: added gimp_drawable_copy().
      
      	* app/core/gimpchannel.[ch]
      	* app/core/gimplayer.[ch]
      	* app/core/gimplayermask.[ch]: use it in
      	gimp_[channel|layer|layer_mask]_copy(), added "GType new_type" as
      	paramater to all of them.
      
      	* app/core/gimpimage-duplicate.c
      	* app/gui/channels-commands.c
      	* app/gui/edit-commands.c
      	* app/gui/layers-commands.c
      	* app/widgets/gimpchannellistview.c
      	* tools/pdbgen/pdb/channel.pdb
      	* tools/pdbgen/pdb/layer.pdb
      	* tools/pdbgen/pdb/selection.pdb: changed accordingly.
      
      	* app/pdb/channel_cmds.c
      	* app/pdb/layer_cmds.c
      	* app/pdb/selection_cmds.c: regenerated.
      
      	* app/core/gimplayer.[ch]: removed the "layer_type" parameter from
      	gimp_layer_new_from_tiles() because it always needed to be equal
      	to gimp_image_base_type_with_alpha() of the passed image.
      
      	* app/core/gimpdrawable-transform.c
      	* app/core/gimpedit.c
      	* app/core/gimpimage-mask.c: cahanged accordingly.
      
      	* app/core/gimpimage.[ch]: added some new GIMP_IMAGE_TYPE_FOO()
      	marcos to get rid of magic values like "pixels = 3" all over the
      	place.
      
      	* app/core/gimplayer.[ch]: added gimp_layer_new_from_drawable()
      	which creates a layer from an other image's drawable.
      
      	* app/core/gimpimage-convert.[ch]: made the RGB and GRAY converters
      	public to use them above, use the new GIMP_IMAGE_TYPE() macros.
      
      	* app/display/gimpdisplayshell-dnd.c
      	* app/gui/toolbox.c: removed tile manager stuff and use the new
      	functions.
      
      	* app/widgets/gimpdrawablelistview.[ch]: added a
      	"convert_drawable_func" which is used to handle drops from other
      	images.
      
      	* app/widgets/gimpdrawablelistitem.c
      	* app/widgets/gimplayerlistitem.c
      	* app/widgets/gimplistitem.[ch]: implemented DND of layers between
      	images using gimp_layer_new_from_drawable().
      
      	* app/gui/dialogs-constructors.c: changed accordingly.
      9b8bf8de
  3. 22 Nov, 2001 1 commit
    • Sven Neumann's avatar
      bumped version number to 1.3.1. Require Glib/GTK+-1.3.11 and Pango-0.22. · 757017a8
      Sven Neumann authored
      2001-11-23  Sven Neumann  <sven@gimp.org>
      
      	* configure.in: bumped version number to 1.3.1.
      	Require Glib/GTK+-1.3.11 and Pango-0.22. Removed GDK_DISABLE_COMPAT_H
      	and GTK_DISABLE_COMPAT_H from our default CFLAGS since they don't
      	exist any longer.
      
      	* RELEASE-TO-CVS.patch: removed since the glib/gtk+ API is supposed to
      	be frozen now.
      
      	* HACKING: removed reference to RELEASE-TO-CVS.patch
      
      	* app/gui/menus.c
      	* app/tools/gimptexttool.c: applied RELEASE-TO-CVS.patch to conform
      	to the new GTK+/Pango API.
      
      	* app/core/Makefile.am: generate marshallers with gimp_marshal prefix.
      
      	* app/core/gimpmarshal.list: added all marshallers we use.
      
      	* app/core/gimpmarshal.[ch]: regenerated.
      
      	* app/[lots of .c files]: use gimp_marshal_* for all marshallers.
      
      	* data/images/
      	* app/app_procs.c
      	* app/gui/splash.c:
      
      	* libgimpbase/Makefile.am
      	* libgimpbase/gimpbase.h
      	* libgimpbase/gimputils.[ch]: removed since they are no longer needed.
      
      	* app/gimprc.c
      	* plug-ins/common/ps.c
      	* plug-ins/gdyntext/gdyntext.c
      	* plug-ins/gdyntext/gdyntextcompat.c
      	* plug-ins/gfig/gfig.c
      	* plug-ins/gflare/gflare.c
      	* plug-ins/script-fu/script-fu-scripts.c: use glib functions instead
      	of gimp_strescape() and gimpstrcompress().
      
      	* cleaned up all header files: use G_BEGIN_DECLS/G_END_DECLS, declared
      	all _get_type function as G_GNUC_CONST.
      
      	* tools/pdbgen/enumcode.pl
      	* tools/pdbgen/lib.pl: make them generate header files using
      	G_BEGIN_DECLS/G_END_DECLS.
      
      	* pixmaps/Makefile.am
      	* pixmaps/wilber3.xpm: removed ...
      	* data/images/tips_wilber.png: ... and added here as PNG
      
      	* app/gui/tips-dialog.c: load the Wilber on demand using GdkPixbuf.
      
      	* data/images/gimp_splash.ppm: removed ...
      	* data/images/gimp_splash.png: ... and added as PNG
      
      	* app/app_procs.c
      	* app/gui/splash.[ch]: load the splash image using GdkPixbuf.
      
      	* app/gui/about-dialog.c: sink the GtkPreview.
      757017a8
  4. 25 Oct, 2001 1 commit
    • Michael Natterer's avatar
      app/core/gimpbrushgenerated.h app/core/gimpbrushpipe.h · 6eeec175
      Michael Natterer authored
      2001-10-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpbrushgenerated.h
      	* app/core/gimpbrushpipe.h
      	* app/core/gimpbuffer.h
      	* app/core/gimpdatafactory.h
      	* app/core/gimpdrawable.h
      	* app/core/gimpgradient.h
      	* app/core/gimpimage.h: added some missing FOO_GET_CLASS() macros.
      6eeec175
  5. 11 Aug, 2001 1 commit
    • Michael Natterer's avatar
      added a TODO entry about additional image/file info. · 357f463d
      Michael Natterer authored
      2001-08-11  Michael Natterer  <mitch@gimp.org>
      
      	* TODO.xml: added a TODO entry about additional image/file info.
      
      	* app/file-save.c: #include "core/gimpdocuments.h"
      
      	* app/core/gimpcontainer.[ch]: made virtual functions out of some
      	signals.
      
      	* app/core/*.[ch]: more GObject stuff: ported all
      	gimp_foo_get_type() functions and replaced almost all "destroy"
      	implementations with either "finalize" or "dispose" functions.
      357f463d
  6. 24 Jul, 2001 1 commit
    • Michael Natterer's avatar
      Port to glib/gtk+ 2.0 episode I (every segfault has it's beginning) · 06b16890
      Michael Natterer authored
      2001-07-24  Michael Natterer  <mitch@gimp.org>
      
      	Port to glib/gtk+ 2.0 episode I (every segfault has it's beginning)
      
      	* configure.in: require glib/gtk+ >= 1.3.7, commented out the
      	gtkxmhtml stuff.
      
      	From now on, you will need glib, pango, atk and gtk+ HEAD from CVS
      	to hack or use GIMP HEAD.
      
      	Beware, it crashes randomly :)
      
      	* app/core/Makefile.am
      	* app/core/gimpmarshal.list: new file plus rules to generate
      	gimpmarshal.[ch] from it.
      
      	* app/core/*
      	* app/tools/*
      	* app/widgets/*
      	* libgimpwidgets/*: started to use the glib object system. All
      	core/ objects are still gtk objects however. All signals are
      	created using g_signal_new(). There are many gtk+ artefacts left.
      	Finally, we will _not_ use the gtk_signal_foo() wrappers and
      	friends any more.
      
      	* app/colormaps.c
      	* app/devices.[ch]
      	* app/disp_callbacks.c
      	* app/errorconsole.c
      	* app/file-save.[ch]
      	* app/interface.c
      	* app/module_db.c
      	* app/nav_window.c
      	* app/ops_buttons.c
      	* app/scroll.c
      	* app/user_install.c
      	* app/gui/about-dialog.c
      	* app/gui/brush-editor.c
      	* app/gui/brushes-commands.c
      	* app/gui/color-notebook.c
      	* app/gui/colormap-dialog.c
      	* app/gui/dialogs-commands.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/file-commands.c
      	* app/gui/file-dialog-utils.c
      	* app/gui/file-new-dialog.c
      	* app/gui/file-open-dialog.[ch]
      	* app/gui/file-save-dialog.c
      	* app/gui/gradient-editor.c
      	* app/gui/gradients-commands.c
      	* app/gui/image-commands.c
      	* app/gui/info-dialog.[ch]
      	* app/gui/layer-select.c
      	* app/gui/layers-commands.c
      	* app/gui/menus.c
      	* app/gui/offset-dialog.c
      	* app/gui/palette-editor.c
      	* app/gui/palettes-commands.c
      	* app/gui/patterns-commands.c
      	* app/gui/preferences-dialog.c
      	* app/gui/resize-dialog.[ch]
      	* app/gui/splash.c
      	* app/gui/tips-dialog.c
      	* app/gui/tool-options-dialog.c
      	* app/gui/toolbox.c
      	* app/gui/tools-commands.c
      	* libgimp/gimpbrushmenu.c
      	* libgimp/gimpmenu.c
      	* libgimp/gimppatternmenu.c
      	* libgimp/gimpui.c
      	* libgimpbase/gimpenv.c: tons and tons of changes like "const
      	gchar*", switch from GdkDeviceInfo to GdkDevice (very incomplete
      	and currently disables), lots of s/gtk_signal/g_signal/,
      	removal/replacement of deprecated stuff,
      	s/GtkSignalFunc/GCallback/ and lots of small changes and fixes
      	while I was on it, zillions of warnings left...
      
      	* modules/Makefile.am: disabled the water color selector
      	temporarily (XInput issues).
      
      	* plug-ins/Makefile.am
      	* plug-ins/common/.cvsignore
      	* plug-ins/common/Makefile.am
      	* plug-ins/common/plugin-defs.pl: simply excluded all plug-ins
      	which did not build (including Script-Fu). They are trivial to
      	fix.
      06b16890
  7. 26 Jun, 2001 1 commit
    • Michael Natterer's avatar
      app/Makefile.am removed. · d26c2668
      Michael Natterer authored
      2001-06-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/color_transfer.[ch]: removed.
      
      	* app/tools/Makefile.am
      	* app/tools/gimpcolorbalancetool-transfer.[ch]: added.
      
      	* app/tools/gimpcolorbalancetool.c: changed accordingly.
      
      	* app/base/Makefile.am
      	* app/base/tile-manager-crop.[ch]: formerly known as crop_buffer().
      
      	* app/tools/gimptexttool.c: changed accordingly.
      
      	* app/context_manager.[ch]: added the global clipboard and the
      	named buffer list here.
      
      	* app/app_procs.c: don't call color_transfer_init() and don't free
      	the buffer stuff (done by the context manager now).
      
      	* app/errorconsole.c: don't #include "gui/commands.h"
      
      	* app/global_edit.[ch]: removed lots of stuff which is now done by
      	gui/edit-commands.* or the new GimpBuffer object. The "paste
      	named" dialog will go away and this file will be moved to core/
      	soon.
      
      	* app/image_new.c: no need to declare the global_buffer extern any
      	more.
      
      	* app/qmask.c: don't #include "global_edit.h"
      
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/core/gimpbuffer.[ch]: new object (aka named buffer)
      
      	* app/core/gimpcontext.[ch]: added a GimpBuffer attribute.
      
      	* app/core/gimpimage.[ch]: one s/int/gboolean/.
      
      	* app/core/gimppattern.c: hmm...
      
      	* app/gui/commands.[ch]: split up in small files:
      
      	* app/gui/Makefile.am
      	* app/gui/edit-commands.[ch]
      	* app/gui/file-commands.[ch]
      	* app/gui/image-commands.[ch]
      	* app/gui/select-commands.[ch]
      	* app/gui/view-commands.[ch]: new files.
      
      	* app/gui/dialogs-constructors.[ch]
      	* app/gui/dialogs.c: added the named buffer list & grid.
      
      	* app/gui/file-new-dialog.[ch]
      	* app/gui/menus.c
      	* app/gui/palette-editor.c
      	* app/gui/test-commands.c: changed accordingly.
      
      	* app/pdb/edit_cmds.c
      	* tools/pdbgen/pdb/edit.pdb: changed for the global_edit stuff.
      
      	* app/widgets/Makefile.am
      	* app/widgets/gimpbufferpreview.[ch]
      	* app/widgets/gimpbufferview.[ch]
      	* app/widgets/gimpcontainereditor.[ch]: new widgets.
      
      	* app/widgets/gimpcontainerview-utils.c
      	* app/widgets/gimpdatafactoryview.[ch]
      	* app/widgets/gimpdnd.[ch]
      	* app/widgets/gimpdrawablepreview.c
      	* app/widgets/gimplayerlistview.c
      	* app/widgets/gimppreview.c
      	* app/widgets/widgets-types.h: changed accordingly for the new
      	GimpBuffer object and it's views, misc. cleanups.
      
      	* pixmaps/Makefile.am
      	* pixmaps/paste-as-new.xpm
      	* pixmaps/paste-into.xpm
      	* pixmaps/paste.xpm: new pixmaps (they all look the same... Tigert? ;-)
      
      	* po/POTFILES.in: added the new files.
      d26c2668
  8. 07 Feb, 2001 1 commit
    • Michael Natterer's avatar
      V2001-02-07 Michael Natterer <mitch@gimp.org> · 5ffb34db
      Michael Natterer authored
      	* app/Makefile.am
      	* app/gimpdrawable-preview.[ch]: new files formerly known as
      	gimpdrawablepreview.[ch].
      
      	This is a new naming scheme for methods of objects which live
      	outside their object's file. The old name implied a derived object
      	(and is in fact now taken by a GimpPreview subclass, see below).
      
      	Further candidates for renaming are e.g. gimpdrawable-invert.[ch],
      	gimpimage-convert.[ch] etc.  Finaly, the main objects (image,
      	drawable) will go to their own directories together with their
      	subclasses.
      
      	* app/apptypes.h: added typedefs for the new objects:
      
      	* app/gimpbrushpreview.[ch]
      	* app/gimppatternpreview.[ch]: new subclasses of GimpPreview.
      
      	* app/gimpdrawablepreview.[ch]: contains a subclass of GimpPreview
      	now.
      
      	* app/gimpviewable.[ch]: renamed the virtual functions to
      	"get_preview" and "get_new_preview" to avoid confusion with the
      	new GimpPreview subclasses.
      
      	* app/gimppreview.[ch]: virtualized "create_preview" and
      	"create_popup".
      
      	* app/gimpmarshal.[ch]: new marsaller for GimpPreview.
      
      	* app/channels_dialog.c
      	* app/fileops.c
      	* app/gimpbrush.c
      	* app/gimpdnd.c
      	* app/gimpdrawable.c
      	* app/gimpimage.c
      	* app/gimppattern.c
      	* app/layer_select.c
      	* app/layers_dialog.c
      	* app/lc_dialog.c
      	* app/nav_window.c
      	* app/palette_import.c
      	* app/undo_history.c
      	* app/pdb/drawable_cmds.c
      	* app/pdb/image_cmds.c
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/image.pdb: changed accordingly.
      5ffb34db
  9. 04 Feb, 2001 1 commit
    • Michael Natterer's avatar
      app/Makefile.am app/apptypes.h new object. Everything that can have a · f029c6b5
      Michael Natterer authored
      2001-02-04  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/apptypes.h
      	* app/gimpviewable.[ch]: new object. Everything that can have a
      	preview will be a GimpViewable. The virtual functions are
      	"invalidate_preview", "preview" and "preview_new".
      
      	* app/gimpmarshal.[ch]: new marshaller needed for the viewable.
      
      	* app/gimpdrawable.[ch]
      	* app/gimpimage.[ch]: derived from GimpViewable. Removed the
      	preview stuff from the public interface.
      
      	Made a single boolean out of GimpImage's "comp_preview_valid"
      	array because we have only one copposite preview.
      
      	* app/gimplayer.c: made the preview stuff private.
      
      	* app/gimppreviewcache.[ch]: removed gimp_preview_scale()...
      
      	* app/temp_buf.[ch]: ...and added it as temp_buf_scale() here.
      
      	* app/gimpdrawablepreview.[ch]: is a private method of
      	GimpDrawable now.
      
      	* app/channels_dialog.c
      	* app/convert.c
      	* app/drawable.c
      	* app/fileops.c
      	* app/floating_sel.c
      	* app/gimage.c
      	* app/gimage_mask.c
      	* app/gimpchannel.c
      	* app/gimpcontainer.c
      	* app/gimpdnd.c
      	* app/layer_select.c
      	* app/layers_dialog.c
      	* app/lc_dialog.c
      	* app/nav_window.c
      	* app/palette_import.c
      	* app/undo.c
      	* app/undo_history.c
      	* app/pdb/drawable_cmds.c
      	* app/pdb/image_cmds.c
      	* app/tools/crop.c
      	* app/tools/edit_selection.c
      	* app/tools/ink.c
      	* app/tools/paint_core.c
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/image.pdb
      	* po/POTFILES.in: changed accordingly.
      f029c6b5
  10. 29 Jan, 2001 1 commit
    • Michael Natterer's avatar
      app/Makefile.am new file with one set of functions... · bd7a4bf1
      Michael Natterer authored
      2001-01-29  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/gimpdrawablepreview.[ch]: new file with one set of functions...
      
      	* app/channel.[ch]
      	* app/layer.[ch]: ...instead of having everything duplicated three
      	times here.
      
      	* app/channels_dialog.c
      	* app/floating_sel.c
      	* app/floating_sel.h
      	* app/gimpdnd.c
      	* app/gimpimage.c
      	* app/layer_select.c
      	* app/layers_dialog.c
      	* app/selection.c
      	* app/pdb/drawable_cmds.c
      	* tools/pdbgen/pdb/drawable.pdb: changed accordingly, cleanup.
      bd7a4bf1
  11. 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
  12. 03 Oct, 1999 1 commit
    • Michael Natterer's avatar
      The GIMP Help System part II: press "F1" while browsing a menu to show the · a11f3334
      Michael Natterer authored
      1999-10-03  Michael Natterer  <mitch@gimp.org>
      
      	The GIMP Help System part II: press "F1" while browsing a menu
      	to show the help page for the menu entry you're currently over
      	with the mouse.
      
      	* app/color_notebook.c: all color selectors have to register with
      	a help page now.
      
      	* app/color_select.[ch]: register with a help string. Removed
      	the dialog part of the files because it's use was deprecated
      	anyway (use color notebooks instead).
      
      	* app/colormap_dialog.i.c
      	* app/colormap_dialog.p.h
      	* app/palette.c
      	* app/palette_select.c: use a color notebook instead of a color
      	selector.
      
      	* app/gimphelp.c
      	* app/gimpui.c: minor changes.
      
      	* app/gimprc.c: "use help" defaults to TRUE now.
      
      	* app/lc_dialog.c
      	* app/lc_dialogP.h: a special help function which shows the help
      	for the currently selected notebook page.
      
      	* app/menus.c: some weird code which catches "key_press_event"
      	in all menu shells and pops up the corresp. help page for the
      	selected item. Embedded the GtkItemFactoryEntry in a new
      	GimpItemFactoryEntry to allow a help path to be stored.
      	Will be partially exported and moved to gimphelp.[ch] later to
      	catch key_press for plug-in menu items (don't try this now ;-)
      
      	* app/app_procs.c
      	* app/brush_edit.c
      	* app/brush_select.c
      	* app/channel_ops.c
      	* app/channels_dialog.c
      	* app/commands.c
      	* app/convert.c
      	* app/devices.c
      	* app/file_new_dialog.c
      	* app/fileops.c
      	* app/gdisplay.c
      	* app/gdisplay_color.c
      	* app/gdisplay_color_ui.c
      	* app/gdisplay_ops.c
      	* app/global_edit.c
      	* app/gradient.c
      	* app/gradient_select.c
      	* app/interface.c
      	* app/layers_dialog.c
      	* app/module_db.c
      	* app/paths_dialog.c
      	* app/pattern_select.c
      	* app/preferences_dialog.c
      	* app/qmask.c
      	* app/resize.c
      	* app/undo_history.c: changed all dialog constructors to point
      	to the right place in the new help file structure.
      
      	* configure.in
      	* help/*: the basic new help file structure.
      
      	* modules/colorsel_gtk.c
      	* modules/colorsel_triangle.c
      	* modules/colorsel_water.c: register a help page.
      
      	* plug-ins/helpbrowser/helpbrowser.c: load the help files
      	according to the new help file structure.
      a11f3334
  13. 23 Aug, 1999 1 commit
  14. 11 Jan, 1999 1 commit
    • GMT 1999  Austin Donnelly's avatar
      Bit of a large checkin this - it's basically three things: 1 - GimpModules · d8be79f0
      GMT 1999 Austin Donnelly authored
      Sun Jan 11 00:24:21 GMT 1999  Austin Donnelly  <austin@greenend.org.uk>
      
      	Bit of a large checkin this - it's basically three things:
      	  1 - GimpModules using gmodules to dynamically load and
      	       initialise modules at gimp start of day.
      	  2 - Color selectors now register themselves with a color
      	       notebook.
      	  3 - progress bars have been cleaned up a bit, so now have
      	       progress indictations on all transform tool and gradient
      	       fill operations.  Not done bucket fill, but that seems to
      	       be the next candidate.
      
      	New directories:
      	* modules/: new directory for dynamically loadable modules.
      
      	New files:
      	* modules/.cvsignore
      	* modules/Makefile.am
      	* modules/colorsel_gtk.c: GTK color selector wrapped up as a
      	    color selector the gimp can use.
      
      	* app/gimpprogress.[ch]: progress bars within gimp core, either as
      	    popups, or in the status bar.  This is mainly code moved out
      	    of plug-in.c
      
      	* app/color_notebook.[ch]: color selector notebook, implementing
      	    very similar interface to color_select.h so it can be used as
      	    a drop-in replacement for it.
      
      	* libgimp/color_selector.h: API color selectors need to implement
      	    to become a page in the color_notebook.
      
      	* libgimp/gimpmodule.h: API gimp modules need to implement to be
      	    initialised by gimp at start of day.
      
      	Modified files:
      	* Makefile.am: add modules/ to SUBDIRS
      	* libgimp/Makefile.am: install gimpmodule.h and color_selector.h
      	* app/gimprc.[ch]: recognise module-path variable.
      	* gimprc.in: set module-path variable to something sensible
      	    (currently "${gimp_dir}/modules:${gimp_plugin_dir}/modules").
      	* app/Makefile.am: build color notebook and gimpprogress
      	* app/app_procs.c: register internal GIMP color selector with
      	    color notebook.
      	* app/asupsample.c: call progress function less frequently for
      	    better performance.
      	* app/asupsample.h: progress_func_t typedef moved to gimpprogress.h
      	* app/blend.c: make callbacks to a progress function
      	* app/color_area.c: use a color notebook rather than a color selector
      	* app/color_panel.c: ditto
      	* app/color_select.c: export color selector interface for notebook
      	* app/color_select.h: color_select_init() prototype
      	* app/flip_tool.c: flip the image every time, rather than every
      	    second click.
      	* app/interface.c: move progress bar stuff out to
      	    gimpprogress.c.  Make the code actually work while we're at it.
      	* app/interface.h: move prototypes for progress functions out to
      	    gimpprogress.h
      	* app/plug_in.c: load and initialise modules (if possible). Move
      	    progress bar handling code out to gimpprogress.c
      	* app/plug_in.h: keep only a gimp_progress * for each plugin, not
      	    a whole bunch of GtkWidgets.
      	* app/scale_tool.c
      	* app/rotate_tool.c
      	* app/shear_tool.c
      	* app/perspective_tool.c: progress bar during operation.
      	    De-sensitise the dialog to discourage the user from running
      	    two transforms in parallel.
      	* app/transform_core.c: recalculate grid coords when bounding box
      	    changes.  Only initialise the action area of the dialog once,
      	    to avoid multiple "ok" / "reset" buttons appearing.  Undraw
      	    transform tool with correct matrix to get rid of handle
      	    remains on screen.  Call a progress function as we apply the
      	    transform matrix.  A few new i18n markups.  Invalidate
      	    floating selection marching ants after applying matrix.
      	* app/transform_core.h: transform_core_do() takes an optional
      	    progress callback argument (and data).
      	* plug-ins/oilify/oilify.c: send progress bar updates after every
      	    pixel region, not only if they processed a multiple of 5
      	    pixels (which was quite unlikely, and therefore gave a jerky
      	    progress indication).
      d8be79f0
  15. 09 Jun, 1998 1 commit
  16. 13 Apr, 1998 1 commit
  17. 26 Jan, 1998 1 commit
  18. 24 Nov, 1997 1 commit