1. 15 May, 2001 1 commit
    • Michael Natterer's avatar
      new directory app/base/ · d240f623
      Michael Natterer authored
      2001-05-15  Michael Natterer  <mitch@gimp.org>
      	* configure.in: new directory app/base/
      	* app/Makefile.am
      	* app/boundary.[ch]
      	* app/brush_scale.[ch]
      	* app/gimpchecks.h
      	* app/gimplut.[ch]
      	* app/pixel_processor.[ch]
      	* app/pixel_region.[ch]
      	* app/pixel_surround.[ch]
      	* app/temp_buf.[ch]
      	* app/tile.[ch]
      	* app/tile_cache.[ch]
      	* app/tile_manager.[ch]
      	* app/tile_manager_pvt.h
      	* app/tile_pvt.h
      	* app/tile_swap.[ch]: moved to base/
      	* app/base/Makefile.am
      	* app/base/base-types.h
      	* app/base/*: new directory for the sub-object pixel maniplation
      	and storage stuff. Does not include Gtk+ or anything outside
      	base/. Did some cleanup in all files.
      	* app/appenums.h
      	* app/apptypes.h
      	* app/core/gimpimage.h: removed types which are now in
      	* app/base/base-config.[ch]
      	* app/gimprc.[ch]: put the config variables for base/ to their own
      	file so base/ doesn not have to include gimprc.h (does not yet
      	work, i.e. the variables are un-configurable right now)
      	* app/main.c: set a log handler for "Gimp-Base".
      	* app/paint-funcs/Makefile.am
      	* app/paint-funcs/paint-funcs.[ch]: removed the color hash which
      	maps RGB to color indices because it's a totally standalone system
      	which has nothing to do with the paint-funcs and introduced a
      	GimpImage dependency.
      	paint-funcs/ should be considered on the same sub-object
      	(glib-only) level as base/, only in a different directory.
      	* app/core/Makefile.am
      	* app/core/gimpimage-colorhash.[ch]: put the color hash here.
      	* app/gimage.c: don't invalidate the color hash here...
      	* app/core/gimpimage.c: ... but in the colormap_changed() default
      	inplementation. Initialize the hash in class_init().
      	* tools/pdbgen/Makefile.am: scan app/base/base-types.h for enums.
      	* tools/pdbgen/enums.pl: regenerated.
      	* app/[lots]
      	* app/core/[of]
      	* app/gui/[files]
      	* app/pdb/[all]
      	* app/tools/[over]
      	* app/widgets/[the]
      	* tools/pdbgen/pdb/[place]: changed #includes accordingly. And use
      	base_config->value instead of the stuff from gimprc.h.
  2. 14 May, 2001 7 commits
    • Michael Natterer's avatar
      README.patch_xinput_airbrush removed because GTK+-2.0 will manage the · 9059fd20
      Michael Natterer authored
      2001-05-14  Michael Natterer  <mitch@gimp.org>
      	* README.patch_xinput_airbrush
      	* patch_xinput_airbrush: removed because GTK+-2.0 will manage the
      	number of valuators dynamically.
      	* app/Makefile.am: some more thinking about subdirectories.
      	* app/boundary.c
      	* app/pixel_processor.c
      	* app/pixel_region.c: removed #include's, code cleanup.
      	* libgimpwidgets/Makefile.am: install gimpbutton.h
      	* devel-docs/libgimp/tmpl/gimpadaptivesupersample.sgml
      	* devel-docs/libgimp/tmpl/gimpbilinear.sgml: removed ...
      	* devel-docs/libgimpcolor/tmpl/gimpadaptivesupersample.sgml
      	* devel-docs/libgimpcolor/tmpl/gimpbilinear.sgml: ... and added here.
      	* devel-docs/libgimp/libgimp-decl.txt
      	* devel-docs/libgimp/libgimp-sections.txt
      	* devel-docs/libgimp/libgimp.hierarchy
      	* devel-docs/libgimp/tmpl/gimpenums.sgml
      	* devel-docs/libgimpcolor/libgimpcolor-decl.txt
      	* devel-docs/libgimpcolor/libgimpcolor-docs.sgml
      	* devel-docs/libgimpcolor/libgimpcolor-sections.txt
      	* devel-docs/libgimpcolor/libgimpcolor.hierarchy
      	* devel-docs/libgimpcolor/tmpl/gimpcolortypes.sgml: regenerated.
    • Sven Neumann's avatar
      added some missing files · 9691c46b
      Sven Neumann authored
    • Sven Neumann's avatar
      app/Makefile.am don't reference header files which don't exist any longer · 20c2fb32
      Sven Neumann authored
      2001-05-14  Sven Neumann  <sven@gimp.org>
      	* app/Makefile.am
      	* libgimp/Makefile.am: don't reference header files which don't exist
      	any longer
    • Michael Natterer's avatar
      Oops. · d7865b46
      Michael Natterer authored
    • Michael Natterer's avatar
      New dir. Does nothing yet... · 6d9881fc
      Michael Natterer authored
    • Sven Neumann's avatar
      use GimpButton and connect to extended_clicked. · 1f17b126
      Sven Neumann authored
      2001-05-14  Sven Neumann  <sven@gimp.org>
              * app/ops_buttons.[ch]: use GimpButton and connect to extended_clicked.
              * app/docindex.c
              * app/gui/paths-dialog.c: changed accordingly.
    • Sven Neumann's avatar
      app/Makefile.am removed this file ... · fdbdb390
      Sven Neumann authored
      2001-05-14  Sven Neumann  <sven@gimp.org>
              * app/Makefile.am
              * app/pixmaps2.h: removed this file ...
              * app/tools/Makefile.am
              * app/tools/icons.h: ... and readded it here with some changes.
              * app/tools/*.c: include the new icons.h file
              * app/pdb/procedural_db.[ch]: declare name as const
  3. 13 May, 2001 6 commits
    • Michael Natterer's avatar
      app/Makefile.am removed. Stuff now lives in app_procs.[ch] and in · 0cbbef40
      Michael Natterer authored
      2001-05-13  Michael Natterer  <mitch@gimp.org>
      	* app/Makefile.am
      	* app/cursorutil.[ch]: removed. Stuff now lives in app_procs.[ch]
      	and in widgets/gimpcursor.[ch]
      	* app/appenv.h: added the "gimp_busy" boolean.
      	* app/app_procs.[ch]: added the "busy" stuff here.
      	* app/gui/gui.[ch]: "busy" stuff for the gui.
      	* app/widgets/Makefile.am
      	* app/widgets/gimpcursor.[ch]: exports only one function:
      	gimp_cursor_new() which returns a GdkCursor which has to be
      	* app/apptypes.h
      	* app/appenums.h: removed the cursor types.
      	* app/widgets/widgets-types.h: added here.
      	* app/tools/gimpeditselectiontool.[ch]: added
      	gtkutil_compress_motion() here (will go to some utils file in
      	* app/tools/tools-types.h: #include "widgets/widgets-types.h"
      	* app/dialog_handler.c
      	* app/disp_callbacks.c
      	* app/gdisplay.[ch]
      	* app/nav_window.c
      	* app/scroll.c
      	* app/xcf.c
      	* app/core/gimpimage-convert.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage.c
      	* app/gui/file-open-dialog.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpfuzzyselecttool.c
      	* app/tools/gimptransformtool.c
      	* tools/pdbgen/pdb/image.pdb
      	* app/pdb/image_cmds.c: use the new cursor and "busy" functions.
      	* app/gdisplay.h
      	* app/core/gimpbrush.c: added some ugly cross-includes.
      	* app/context_manager.c
      	* app/gdisplay_ops.c
      	* app/gimprc.c
      	* app/core/gimpdrawable-offset.c
      	* app/gui/file-save-dialog.c
      	* app/gui/gradient-editor.c
      	* app/gui/preferences-dialog.c
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimperasertool.c
      	* app/tools/gimpfliptool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimpiscissorstool.c
      	* app/tools/gimpmagnifytool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimpmovetool.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimprectselecttool.c
      	* app/tools/gimprotatetool.c
      	* app/tools/gimpselectiontool.c: removed inclusion of "cursorutil.h"
    • Marc Lehmann's avatar
      *** empty log message *** · 0a4ec8fb
      Marc Lehmann authored
    • Marc Lehmann's avatar
      *** empty log message *** · 574cc7ac
      Marc Lehmann authored
    • Michael Natterer's avatar
      app/appenums.h app/core/core-types.h moved some more types to core-types.h · b86ce96a
      Michael Natterer authored
      2001-05-13  Michael Natterer  <mitch@gimp.org>
      	* app/appenums.h
      	* app/core/core-types.h
      	* app/tools/tools-types.h: moved some more types to core-types.h
      	and tools-types.h.  Removed AUXILLARY_CHANNEL from the ChannelType
      	* app/gdisplay.[ch]: removed the "depth" and "color_type" fields
      	from the struct. Cleaned up the header.
      	* app/selection.c
      	* app/gui/info-window.c: use g_visual->depth instead of
      	* app/gimphelp.c: #include "core/core-types.h"
      	* tools/pdbgen/Makefile.am: added app/core/core-types.h to the
      	list of files to be scanned for enums.
      	* libgimp/gimpenums.h
      	* plug-ins/script-fu/script-fu-constants.c
      	* tools/pdbgen/enums.pl
      	* app/pdb/drawable_cmds.c
      	* app/pdb/image_cmds.c
      	* app/pdb/layer_cmds.c: regenerated.
    • Michael Natterer's avatar
      some percentage updates. · 1a5a50d9
      Michael Natterer authored
      2001-05-13  Michael Natterer  <mitch@gimp.org>
      	* TODO.xml: some percentage updates.
      	* autogen.sh: correctly parse latest autoconf's broken "--version"
      	* app/widgets/Makefile.am
      	* app/widgets/gimpcontainerview-utils.[ch]: new files which
      	provide a set of built-in get_name_func()s for GimpContainerView
      	and GimpContainerMenu.
      	* app/widgets/gimpcontainermenu.c
      	* app/widgets/gimpcontainerview.c: use them.
      	* app/widgets/gimpimagedock.c
      	* app/gui/dialogs-constructors.c: removed the get_name_func()s here.
    • Michael Natterer's avatar
      removed some forgotten tools types. · 637c714a
      Michael Natterer authored
      2001-05-13  Michael Natterer  <mitch@gimp.org>
      	* app/apptypes.h: removed some forgotten tools types.
      	* app/tools/tools-types.h: and added them here.
      	* app/interface.c
      	* app/disp_callbacks.[ch]: ported dropping of drawables to the
      	new DND system.
      	* app/app_procs.c
      	* app/core/gimpdatafactory.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimptoolinfo.h
      	* app/gui/gui.c
      	* app/tools/tool_options.c
      	* app/widgets/gimpchannellistview.c
      	* app/widgets/gimplayerlistview.c: removed/fixed includes.
      	* app/gui/brush-select.[ch]
      	* app/gui/pattern-select.[ch]: removed the display of the current
      	name (done by the grid view now).
      	* app/gui/palette-select.c: fixed palette preview size.
      	* app/gui/dialogs-constructors.c: added get_name() functions for
      	brushes, patterns, images and palettes.
      	* app/widgets/gimpcontainergridview.[ch]: added a label for the
      	name of the active item.
      	* app/widgets/gimpdnd.[ch]: removed the old drawable DND preview
      	icon code.
      	* tools/pdbgen/app.pl: braino: the $tool_eek hack has to be
      	initialized to 0 at the beginning of each file, otherwise we end
      	up including "tools/tools-types.h" everywhere.
      	* tools/pdbgen/pdb/color.pdb
      	* tools/pdbgen/pdb/text_tool.pdb
      	* tools/pdbgen/pdb/tools.pdb: add "tools/tools-types.h" where needed.
      	* app/pdb/color_cmds.c
      	* app/pdb/pattern_select_cmds.c
      	* app/pdb/patterns_cmds.c
      	* app/pdb/plug_in_cmds.c
      	* app/pdb/procedural_db_cmds.c
      	* app/pdb/selection_cmds.c
      	* app/pdb/undo_cmds.c
      	* app/pdb/unit_cmds.c: regenerated.
  4. 12 May, 2001 1 commit
    • Adam D. Moss's avatar
      Cunningly decrease the efficiency of the plugin. Add semi-broken code to · fcd23ba6
      Adam D. Moss authored
      2001-05-12  Adam D. Moss  <adam@gimp.org>
      	* plug-ins/common/animoptimize.c: Cunningly decrease
      	the efficiency of the plugin.  Add semi-broken code
      	to find or remove the statistical mode pixels across
      	all frames (ie. the animation background).  Checked in
      	mainly to avoid tree-drift until I have time to finish
  5. 11 May, 2001 2 commits
    • Michael Natterer's avatar
      app/Makefile.am taken behind the curtain and shot. (famous words of Seth · 3bd0b97e
      Michael Natterer authored
      2001-05-11  Michael Natterer  <mitch@gimp.org>
      	* app/Makefile.am
      	* app/lc_dialog.[ch]: taken behind the curtain and shot.
      	(famous words of Seth Burgess on #gimp)
      	* app/app_procs.c
      	* app/gdisplay.c
      	* app/gimage.c
      	* app/gui/commands.c
      	* app/gui/gui.c
      	* app/gui/menus.c
      	* app/gui/preferences-dialog.c: don't #include it or call it's
      	functions any more.
      	* app/gui/dialogs-commands.[ch]: added a constructor for a dock
      	which looks like the old L&C dialog (taken from test-commands.*)
      	* app/gui/test-commands.[ch]: removed here.
      	* app/gui/dialogs-constructors.[ch]: wrapped the old
      	paths-dialog.* stuff in a dockable which can be created only
      	once. Will go away as soon as the new path stuff is there.
      	* app/gui/dialogs.c: added the paths dockable, removed lc_dialog.
      	* app/gui/paths-dialog.c: some changes to make it work without the
      	lc_dialog around it. Will probably crash randomly and refuse to
      	update it's contents properly (scheduled for removal).
    • Michael Natterer's avatar
      app/gui/Makefile.am app/gui/channels-dialog.[ch] at the end of their · 02b52b70
      Michael Natterer authored
      2001-05-11  Michael Natterer  <mitch@gimp.org>
      	* app/gui/Makefile.am
      	* app/gui/channels-dialog.[ch]
      	* app/gui/layers-dialog.[ch]: at the end of their epoch, the
      	dinosaurs were wiped out by a "cvs remove" impact from space.
      	* app/lc_dialog.c: changed accordingly.
      	* app/gui/layer-select.c: use the new preview system (mostly code
      	* app/gui/menus.c: reorder the dialog factory menu.
  6. 10 May, 2001 4 commits
    • David Neary's avatar
      app/tools/gimpbycolorselecttool.[ch] Temporarily fixed an issue with undo · 42c39121
      David Neary authored
      2001-05-10  David Neary  <dneary@eircom.net>
              * app/tools/gimpbycolorselecttool.[ch]
              * app/undo.c: Temporarily fixed an issue with undo when
              there's a bycolorselect mask on the image - since
              gimp_by_color_select_tool_initialize_by_image() should be
              a private function, this needs changing.
    • Michael Natterer's avatar
      fixed button sensitivity. · 00750203
      Michael Natterer authored
      2001-05-10  Michael Natterer  <mitch@gimp.org>
      	* app/widgets/gimpchannellistview.c: fixed button sensitivity.
      	* app/widgets/gimpdialogfactory.c: write out newlines to
      	.sessionrc at the right places.
      	* app/widgets/gimpdock.c: s/gimp_dockable/gimp-dockable/ makes DND
      	re-arranging of dialogs work again.
    • David Neary's avatar
      Got rid of some annoying warnings about stuff like exit not having a · 0cba458c
      David Neary authored
      2001-05-10  David Neary  <dneary@eircom.net>
      	* tools/gimp-remote.c: Got rid of some annoying
      	warnings about stuff like exit not having a prototype.
      	Included string.h and stdlib.h.
    • David Neary's avatar
      Activate "Select by color" tool. · 67564fef
      David Neary authored
      2001-05-10  David Neary  <dneary@eircom.net>
              * app/tools/gimpbycolorselecttool.[ch]: Activate
              "Select by color" tool.
              * app/tools/Makefile.am
              * app/tools/tools.c
              * app/tools/gimptool.[ch]
              * app/tools/selection_options.c
              * tools/pdbgen/pdb/tools.pdb: Changed accordingly
  7. 09 May, 2001 3 commits
    • Michael Natterer's avatar
      app/Makefile.am removed. · d1022c34
      Michael Natterer authored
      2001-05-10  Michael Natterer  <mitch@gimp.org>
      	* app/Makefile.am
      	* app/asupsample.[ch]: removed.
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/tools/Makefile.am
      	* app/tools/tools-types.h: new files.
      	* app/tools/gimptoolinfo.[ch]: removed.
      	* app/core/gimptoolinfo.[ch]: added here.
      	* libgimp/Makefile.am
      	* libgimp/gimp.h
      	* libgimp/gimpadaptivesupersample.[ch]
      	* libgimp/gimpbilinear.[ch]: removed here...
      	* libgimpcolor/Makefile.am
      	* libgimpcolor/gimpcolortypes.h
      	* libgimpcolor/gimpadaptivesupersample.[ch]
      	* libgimpcolor/gimpbilinear.[ch]: ..and added here.
      	* tools/pdbgen/app.pl
      	* tools/pdbgen/pdb/paths.pdb
      	* app/*.c: changed tons of #include's
    • Michael Natterer's avatar
      Hacked up #include order stuff. · c69de20f
      Michael Natterer authored
    • Michael Natterer's avatar
      configure.in added new directory app/core/ for the core object system. · 8985b107
      Michael Natterer authored
      2001-05-09  Michael Natterer  <mitch@gimp.org>
      	* configure.in
      	* app/Makefile.am: added new directory app/core/ for the core
      	object system.
      	* app/gimage_mask.[ch]
      	* app/gimpbrush-header.h
      	* app/gimpbrush.[ch]
      	* app/gimpbrushgenerated.[ch]
      	* app/gimpbrushpipe.[ch]
      	* app/gimpchannel.[ch]
      	* app/gimpcontainer.[ch]
      	* app/gimpcontext.[ch]
      	* app/gimpdata.[ch]
      	* app/gimpdatafactory.[ch]
      	* app/gimpdatalist.h
      	* app/gimpdrawable-desaturate.[ch]
      	* app/gimpdrawable-equalize.[ch]
      	* app/gimpdrawable-invert.[ch]
      	* app/gimpdrawable-offset.[ch]
      	* app/gimpdrawable-preview.[ch]
      	* app/gimpdrawable.[ch]
      	* app/gimpgradient.[ch]
      	* app/gimpimage-convert.[ch]
      	* app/gimpimage-duplicate.[ch]
      	* app/gimpimage-undo.[ch]
      	* app/gimpimage.[ch]
      	* app/gimplayer.[ch]
      	* app/gimplayermask.[ch]
      	* app/gimplist.[ch]
      	* app/gimpmarshal.[ch]
      	* app/gimpobject.[ch]
      	* app/gimppalette-import.[ch]
      	* app/gimppalette.[ch]
      	* app/gimppattern-header.h
      	* app/gimppattern.[ch]
      	* app/gimpundo.[ch]
      	* app/gimpundostack.[ch]
      	* app/gimpviewable.[ch]: removed these files...
      	* app/core/*: ...and added them here.
      	* app/*.c
      	* app/gui/*.c
      	* app/pdb/*.c
      	* app/tools/*.c
      	* app/widgets/*.c
      	* plug-ins/common/gbr.c
      	* plug-ins/common/gih.c
      	* plug-ins/common/pat.c
      	* po/POTFILES.in
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/enums.pl
      	* tools/pdbgen/pdb.pl
      	* tools/pdbgen/pdb/*.pdb: changed accordingly.
  8. 08 May, 2001 6 commits
    • Michael Natterer's avatar
      removed GimpDropType. added GimpDropType. · 715bf7aa
      Michael Natterer authored
      2001-05-08  Michael Natterer  <mitch@gimp.org>
      	* app/appenums.h: removed GimpDropType.
      	* app/widgets/widgets-types.h: added GimpDropType.
      	* app/gui/channels-dialog.c
      	* app/gui/layers-dialog.c: #include "widgets/widgets-types.h"
    • Michael Natterer's avatar
      app/Makefile.am removed. · 9ecde4ea
      Michael Natterer authored
      2001-05-08  Michael Natterer  <mitch@gimp.org>
      	* app/Makefile.am
      	* app/gimpdnd.[ch]: removed.
      	* app/widgets/Makefile.am
      	* app/widgets/gimpdnd.[ch]: and moved here.
      	* app/devices.c
      	* app/docindex.c
      	* app/interface.c
      	* app/gui/about-dialog.c
      	* app/gui/channels-dialog.c
      	* app/gui/color-area.c
      	* app/gui/color-select.c
      	* app/gui/colormap-dialog.c
      	* app/gui/gradient-editor.c
      	* app/gui/indicator-area.c
      	* app/gui/layers-dialog.c
      	* app/gui/palette-editor.c
      	* app/gui/palette-select.c
      	* app/gui/toolbox.c
      	* app/tools/gimpblendtool.c
      	* app/tools/tool_manager.c
      	* app/tools/tool_options_dialog.c: changed #includes accordingly.
    • Michael Natterer's avatar
    • Valek Frob's avatar
      Updated russian translation. · 7dfb29cc
      Valek Frob authored
    • Michael Natterer's avatar
      added ChannelType. removed ChannelType. regenerated. · a229702d
      Michael Natterer authored
      2001-05-08  Michael Natterer  <mitch@gimp.org>
      	* app/appenums.h: added ChannelType.
      	* app/gimpimage.h: removed ChannelType.
      	* tools/pdbgen/enums.pl: regenerated.
      	* app/apptypes.h: don't include libgimpwidgets/gimpwidgetstypes.h
      	and widgets/widgets-types.h any more.
      	* app/devices.c
      	* app/gimpdnd.c
      	* app/gimprc.c
      	* app/lc_dialog.c
      	* app/gui/[many].c: include widgets/widgets-types.h
      	* app/tools/histogram_tool.h: include widgets/widgets-types.h here
      	because of an ugly dependency from pdb/color_cmds.c
      	* app/tools/tool_options_dialog.c
      	* app/widgets/widgets-types.h: include
      	libgimpwidgets/gimpwidgetstypes.h and apptypes.h so files in
      	widgets/ only have to include this file.
      	* app/widgets/*.c: include widgets-types.h instead of apptypes.h
      	* app/gimpdrawable-preview.c
      	* app/gui/gradient-editor.c: removed useless #includes.
    • Michael Natterer's avatar
      new signal "floating_selection_changed", removed ancient declaration of · f63cd1d9
      Michael Natterer authored
      2001-05-07  Michael Natterer  <mitch@gimp.org>
      	* app/gimpimage.[hc]: new signal "floating_selection_changed",
      	removed ancient declaration of _GimpImageRepaintArg.
      	* app/floating_sel.c
      	* app/undo.c: emit "floating_selection_changed" where approptiate.
      	* app/gimage_mask.c: s/"Floated Layer"/"Floating Selection"/
      	because we view this layer directly now (not some thing with an
      	"L" icon).
      	* app/gui/layers-commands.c: don't use confusing boolean variables
      	which indicate that something is not true (reversed their logic).
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpchannellistitem.[ch]: new widget. Does nothing yet.
      	* app/widgets/gimpchannellistview.c: set the button box
      	insensitive when there is a floating selection.
      	* app/widgets/gimpdrawablelistitem.c: made channel DND work again.
      	Very ugly btw.
      	* app/widgets/gimpdrawablelistview.c: connect to
      	"floating_selection_changed". Fake a change of the active drawable
      	so the button boxes get updated correctly.
      	* app/widgets/gimplayerlistview.c: set the sensitivity of the
      	buttons correctly.
      	* app/widgets/gimplistitem.c: create GimpChannelListItems for
      	channels.  Some very ugly code to work around broken
      	GTK_STATE_INSENSITIVE propagation in list items.
  9. 06 May, 2001 8 commits
    • Michael Natterer's avatar
      Removed forgotten conflict indicators. · f1c34ca5
      Michael Natterer authored
    • Michael Natterer's avatar
      enabled setting component activity. Connect an "extended_clicked" callback · 427104d7
      Michael Natterer authored
      2001-05-06  Michael Natterer  <mitch@gimp.org>
      	* app/widgets/gimpchannellistview.c: enabled setting component
      	activity. Connect an "extended_clicked" callback to the "To
      	Selection" button for add/sub/intersect.
      	* app/widgets/gimpcomponentlistitem.c: removed some commented out
      	* app/widgets/gimpdrawablelistview.c: stuff.
      	* app/widgets/gimplayerlistview.c: set "Raise" to insensitive if
      	the active layer has no alpha.
      	* libgimpwidgets/gimpbutton.c: fiddle around correctly with
      	GtkButton's internals.
    • Sven Neumann's avatar
      removed a few unused variables · 1a4e7860
      Sven Neumann authored
    • Sven Neumann's avatar
      libgimpwidgets/Makefile.am libgimpwidgets/gimpwidgets.h · 163b18cd
      Sven Neumann authored
      2001-05-06  Sven Neumann  <sven@gimp.org>
      	* libgimpwidgets/Makefile.am
      	* libgimpwidgets/gimpwidgets.h
      	* libgimpwidgets/gimpwidgetstypes.h
      	* libgimpwidgets/gimpoffsetarea.c
      	* libgimpwidgets/gimpoffsetarea.h: new widget GimpOffsetArea cut
      	of the resize dialog, allows to interactively specify offsets when
      	resizing images or drawables.
      	* libgimpwidgets/gimppixmap.c: removed empty destroy method.
      	* app/resize.c: use new GimpOffsetArea.
    • Michael Natterer's avatar
      libgimpwidgets/Makefile.am new widget derived from GtkButton. It adds an · 10afaf8d
      Michael Natterer authored
      2001-05-06  Michael Natterer  <mitch@gimp.org>
      	* libgimpwidgets/Makefile.am
      	* libgimpwidgets/gimpbutton.[ch]: new widget derived from
      	GtkButton.  It adds an "extended_clicked" signal which is emitted
      	instead of "clicked" if a modifier was pressed.
      	* libgimpwidgets/gimpchainbutton.[ch]
      	* libgimpwidgets/gimppixmap.[ch]: removed the opaque typedefs.
      	* libgimpwidgets/gimpwidgets.h
      	* libgimpwidgets/gimpwidgetstypes.h: and added them here. Added
      	* app/widgets/gimpdrawablelistview.c: use GimpButtons for "Raise"
      	and "Lower" and raise/lower to top/bottom on shift-click.
    • Michael Natterer's avatar
      renamed "restructure" to "alpha_changed" and only emit it in flatten(), · 5e2480d7
      Michael Natterer authored
      2001-05-06  Michael Natterer  <mitch@gimp.org>
      	* app/gimpimage.[ch]: renamed "restructure" to "alpha_changed" and
      	only emit it in flatten(), not in merge_layers().
      	* app/gimage.c
      	* app/gimplayer.c: changed accordingly.
      	* app/widgets/gimpcontainerlistview.c: set both scrollbar policies
      	to automatic.
    • Michael Natterer's avatar
      renamed the "resize" signal to "size_changed". · 950e35d5
      Michael Natterer authored
      2001-05-06  Michael Natterer  <mitch@gimp.org>
      	* app/gimpimage.[ch]: renamed the "resize" signal to "size_changed".
      	* app/gimage.c: changed accordingly.
      	* app/undo.c: renamed the "shrink_wrap" to "size_changed", call
      	gimp_image_size_changed() and let the handlers do the work.
      	* app/widgets/gimplistitem.[ch]: added a virtual set_preview_size()
      	method and a default implementation.
      	* app/widgets/gimplayerlistitem.c: added an inplementation of
      	set_preview_size() which set's the size of the mask preview.
      	* app/widgets/gimpchannellistview.c: implement set_preview_size()
      	and set the size of the component previews.
      	* app/widgets/gimpcontainerlistview.c: call
      	gimp_list_item_set_preview_size() instead of resizing the preview
      	* app/widgets/gimpcontainerview.c: emit "set_preview_size" even if
      	the size has not changed so we can use it to re-calculate the
      	preview size on image size change.
      	* app/widgets/gimpdrawablelistview.c: connect to the image's
      	"size_changed" signal and trigger preview size re-calculation in
      	the callback.
    • Michael Natterer's avatar
      added GimpDropMode... ...removed from here. · 59b06707
      Michael Natterer authored
      2001-05-06  Michael Natterer  <mitch@gimp.org>
      	* app/appenums.h: added GimpDropMode...
      	* app/gimpdnd.h: ...removed from here.
      	* app/gimpimage.[ch]:
      	- New signal "mode_changed".
      	- removed "const GimpImage*" from gimp_image_colormap_changed()
      	  because a signal emission is never "const" for the object
      	  which emits the signal.
      	- Fixed gimp_image_[set|get]_component_[active|visible]():
      	  ALPHA_CHANNEL maps to ALPHA_PIX only in RGB mode, use
      	* app/gimpimage-convert.c
      	* app/undo.c: call gimp_image_mode_changed().
      	* app/gimpviewable.c: added an implementation of
      	"invalidate_preview" which frees the preview temp_buf which may be
      	attached to the viewable. Subclasses need to chain up now.
      	* app/gimpdrawable.c
      	* app/gimpimage.c: chain up in invalidate_preview().
      	* app/widgets/gimpchannellistview.c: connect to the image's
      	"mode_changed" signal and rebuild the channel list in the
      	* app/widgets/gimpcontainerview.h: indentation.
      	* app/widgets/gimpdockbook.c: set the dockable's context to NULL
      	in gimp_dockbook_remove()
      	* app/widgets/gimpimagedock.c: forgot to actually set the dock's
      	image in gimp_image_dock_new().
      	* app/gui/dialogs-constructors.c: added a get_name_func() for tool
      	views which returns the tool's "blurb". It's safe to assume now
      	that a dockable's context will exist as long as the dockable
      	exists unless it's explicitely set to NULL, so remove ugly hacks
      	handling context destruction.
      	* app/tools/gimptool.c: removed COMPAT_CRUFT and useless #include's.
  10. 04 May, 2001 1 commit
    • Michael Natterer's avatar
      configure.in devel-docs/Makefile.am devel-docs/libgimpcolor/* · b4ad2ab0
      Michael Natterer authored
      2001-05-04  Michael Natterer  <mitch@gimp.org>
      	* configure.in
      	* devel-docs/Makefile.am
      	* devel-docs/libgimpcolor/*
      	* devel-docs/libgimpmath/*
      	* devel-docs/libgimpwidgets/*: added new gtk-doc modules for
      	libgimpcolor, libgimpmath and libgimpwidgets. Moved existing
      	documentation from the old files to the new templates.
      	* devel-docs/libgimp/*: regenerated all files and removed the
      	stuff which is in the new modules now.
      	* libgimpwidgets/gimpcolorarea.c
      	* libgimpwidgets/gimpcolorbutton.[ch]: some documentation fixes.
      	* po-libgimp/Makefile.in.in
      	* po-plug-ins/Makefile.in.in
      	* po-script-fu/Makefile.in.in: updated.
  11. 03 May, 2001 1 commit
    • Michael Natterer's avatar
      removed typedefs from the widgets/ subdir. · f5f8acf3
      Michael Natterer authored
      2001-05-03  Michael Natterer  <mitch@gimp.org>
      	* app/apptypes.h: removed typedefs from the widgets/ subdir.
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h: new file.
      	* app/widgets/gimpcontainermenu.[ch]
      	* app/widgets/gimpcontainerview.[ch]: synced them again and added a
      	* app/widgets/gimplistitem.[ch]
      	* app/widgets/gimpmenuitem.[ch]: add a "get_name_func" and use it
      	to get the item's name.
      	* app/widgets/gimpcontainerlistview.c
      	* app/widgets/gimpcontainermenuimpl.c: pass the get_name_func to
      	the created items.
      	* app/widgets/gimpchannellistview.c: gtk_widget_queue_resize() the
      	component frame after changing the image.
      	* app/widgets/gimpcomponentlistitem.c: set a custom
      	get_name_func() so the components are named Red, Green, ... again.
      	* app/widgets/gimpimagedock.c: set a custom get_name_func() which
      	returns names like in the old L&C dialog's image menu.
      	* tools/pdbgen/Makefile.am: don't scan apptypes.h for enums.