1. 06 May, 2001 2 commits
    • 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.
  2. 08 Mar, 2001 1 commit
    • Michael Natterer's avatar
      app/apptypes.h app/channel_ops.c app/commands.c app/convert.[ch] · 469faaf3
      Michael Natterer authored
      2001-03-08  Michael Natterer  <mitch@gimp.org>
      	* app/apptypes.h
      	* app/channel_ops.c
      	* app/commands.c
      	* app/convert.[ch]
      	* app/fileops.c
      	* app/floating_sel.c
      	* app/gimage.h
      	* app/gimage_mask.[ch]
      	* app/gimpchannel.c
      	* app/global_edit.h
      	* app/image_map.c
      	* app/layer_select.[ch]
      	* app/layers_dialogP.h
      	* app/lc_dialog.c
      	* app/resize.c
      	* app/toolbox.c
      	* app/undo.h
      	* app/undo_history.c
      	* app/xcf.c
      	* app/tools/gimpbycolorselecttool.h
      	* app/tools/gimpcroptool.[ch]
      	* app/tools/gimpfuzzyselecttool.c
      	* app/tools/gimppainttool.c
      	* app/tools/transform_core.h: removed the GImage typedef, cleanup.
  3. 19 Feb, 2001 1 commit
    • Sven Neumann's avatar
      converted gimage->layers and gimage->channels to GimpLists. · 9e131cb2
      Sven Neumann authored
      2001-02-19  Sven Neumann  <sven@gimp.org>
      	* app/gimpimage.[ch]: converted gimage->layers and gimage->channels
      	to GimpLists.
      	* app/channel_ops.c
      	* app/channels_dialog.c
      	* app/commands.c
      	* app/convert.c
      	* app/floating_sel.c
      	* app/gdisplay.c
      	* app/gimpdrawable.c
      	* app/layers_dialog.c
      	* app/resize.c
      	* app/undo.c
      	* app/xcf.c
      	* app/pdb/display_cmds.c
      	* app/pdb/image_cmds.c
      	* app/pdb/layer_cmds.c
      	* app/tools/crop.c
      	* app/tools/edit_selection.c
      	* tools/pdbgen/pdb/display.pdb
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/layer.pdb: changed accordingly
  4. 01 Feb, 2001 1 commit
    • Michael Natterer's avatar
      app/Makefile.am app/gimpchannel.[ch] new files moved here by Yosh. · dde74f97
      Michael Natterer authored
      2001-02-01  Michael Natterer  <mitch@gimp.org>
      	* app/Makefile.am
      	* app/gimpchannel.[ch]
      	* app/gimplayer.[ch]: new files moved here by Yosh.
      	* app/channel.[ch]
      	* app/layer.[ch]: removed.
      	* app/gdisplay.c: cleanup stuff.
      	* app/[lotsa files].c
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/pdb.pl
      	* tools/pdbgen/pdb/channel.pdb
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/floating_sel.pdb
      	* tools/pdbgen/pdb/layer.pdb: changed includes accordingly.
  5. 28 Jan, 2001 1 commit
    • Michael Natterer's avatar
      removed the "Layer" typedef. · a2ae989f
      Michael Natterer authored
      2001-01-29  Michael Natterer  <mitch@gimp.org>
      	* app/apptypes.h: removed the "Layer" typedef.
      	* app/layer.[ch]: removed the defines of the old function names.
      	Don't implement methods of the parent class (get_name, get_tattoo, ...)
      	but define them as macros. They will go to a separate "pdb_glue.h"
      	header because they are used only by the PDB to simplify code
      	generation (no application file should say gimp_layer_get_tattoo()
      	but always gimp_drawable_get_tatoo()).
      	* app/channel.h
      	* app/channel_ops.c
      	* app/channels_dialog.c
      	* app/commands.c
      	* app/convert.c
      	* app/disp_callbacks.c
      	* app/floating_sel.[ch]
      	* app/gdisplay.c
      	* app/gimage.c
      	* app/gimage_mask.c
      	* app/gimage_mask.h
      	* app/gimpdnd.c
      	* app/gimpdrawable.h
      	* app/gimpimage.[ch]
      	* app/gimplayermask.h
      	* app/global_edit.c
      	* app/image_new.c
      	* app/layer_select.c
      	* app/layers_dialog.c
      	* app/resize.c
      	* app/undo.c
      	* app/xcf.[ch]
      	* app/pdb/drawable_cmds.c
      	* app/pdb/floating_sel_cmds.c
      	* app/pdb/image_cmds.c
      	* app/pdb/layer_cmds.c
      	* app/tools/bucket_fill.c
      	* app/tools/by_color_select.c
      	* app/tools/clone.c
      	* app/tools/crop.c
      	* app/tools/edit_selection.c
      	* app/tools/ink.c
      	* app/tools/move.c
      	* app/tools/paint_core.c
      	* app/tools/rect_select.c
      	* app/tools/text_tool.c
      	* app/tools/transform_core.c
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/floating_sel.pdb
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/layer.pdb: changed accordingly, cleanup.
  6. 24 Jan, 2001 1 commit
    • Michael Natterer's avatar
      Makefile.am configure.in added the new library below. · 7a4260da
      Michael Natterer authored
      2001-01-24  Michael Natterer  <mitch@gimp.org>
      	* Makefile.am
      	* configure.in
      	* gimptool.in: added the new library below.
      	* libgimpwidgets/Makefile.am
      	* libgimpwidgets/gimpchainbutton.[ch]
      	* libgimpwidgets/gimpcolorarea.[ch]
      	* libgimpwidgets/gimpcolorbutton.[ch]
      	* libgimpwidgets/gimpdialog.[ch]
      	* libgimpwidgets/gimpfileselection.[ch]
      	* libgimpwidgets/gimphelpui.[ch]
      	* libgimpwidgets/gimppatheditor.[ch]
      	* libgimpwidgets/gimppixmap.[ch]
      	* libgimpwidgets/gimpquerybox.[ch]
      	* libgimpwidgets/gimpsizeentry.[ch]
      	* libgimpwidgets/gimpunitmenu.[ch]
      	* libgimpwidgets/gimpwidgets.[ch]
      	* libgimpwidgets/gimpwidgets.def
      	* libgimpwidgets/gimpwidgetstypes.h: new shared library.
      	Currently there are some ugly dependencies into libgimp. These
      	will be removed and go to a "libgimpglue" library which will be
      	a library for functions which share a common interface between
      	plug-ins and the app but have different implementations.
      	Include "libgimp/gimpunit.h" from "libgimpwidgets/gimpwidgetstypes.h"
      	to simulate this upcoming separation.
      	* libgimp/Makefile.am
      	* libgimp/gimpchainbutton.[ch]
      	* libgimp/gimpcolorarea.[ch]
      	* libgimp/gimpcolorbutton.[ch]
      	* libgimp/gimpdialog.[ch]
      	* libgimp/gimpfileselection.[ch]
      	* libgimp/gimphelpui.[ch]
      	* libgimp/gimppatheditor.[ch]
      	* libgimp/gimppixmap.[ch]
      	* libgimp/gimpquerybox.[ch]
      	* libgimp/gimpsizeentry.[ch]
      	* libgimp/gimpunitmenu.[ch]
      	* libgimp/gimpwidgets.[ch]: removed from here.
      	* libgimp/gimpui.h
      	* libgimp/gimpuitypes.h
      	* libgimp/makefile.mingw.in
      	* libgimp/makefile.msc: changed accordingly.
      	* app/[all ui files]
      	* app/pdb/palette_cmds.c
      	* app/pdb/tools_cmds.c
      	* tools/pdbgen/pdb/palette.pdb
      	* tools/pdbgen/pdb/tools.pdb: #include "libgimpwidgets/gimpwidgets.h"
      	and removed useless includes.
      	* app/apptypes.h: #include "libgimpwidgets/gimpwidgetstypes.h"
      	* app/Makefile.am
      	* plug-ins/[all makefiles which link against libgimpui]:
      	link against libgimpwidgets.la
      	* po-libgimp/POTFILES.in: changed file locations.
  7. 23 Jan, 2001 1 commit
    • Michael Natterer's avatar
      Makefile.am configure.in added stuff for the new library below. · cb166972
      Michael Natterer authored
      2001-01-24  Michael Natterer  <mitch@gimp.org>
      	* Makefile.am
      	* configure.in
      	* gimptool.in: added stuff for the new library below.
      	* libgimpmath/.cvsignore
      	* libgimpmath/Makefile.am
      	* libgimpmath/gimpmath.def
      	* libgimpmath/gimpmath.h
      	* libgimpmath/gimpmathtypes.h
      	* libgimpmath/gimpmatrix.c
      	* libgimpmath/gimpmatrix.h
      	* libgimpmath/gimpvector.c
      	* libgimpmath/gimpvector.h
      	* libgimpmath/makefile.mingw.in
      	* libgimpmath/makefile.msc: new shared library. Depends on glib only.
      	* libgimp/Makefile.am
      	* libgimp/gimp.def
      	* libgimp/gimp.h: removed the math stuff.
      	* libgimp/gimpmath.h
      	* libgimp/gimpmatrix.[ch]
      	* libgimp/gimpvector.[ch]: removed.
      	* app/Makefile.am
      	* plug-ins/Lighting/Makefile.am
      	* plug-ins/MapObject/Makefile.am
      	* plug-ins/pagecurl/Makefile.am: link against libgimpmath.la
      	* app/[many files]
      	* libgimpcolor/gimpcolorspace.c
      	* libgimpcolor/gimprgb.c
      	* libgimp/gimpadaptivesupersample.c
      	* libgimp/gimpbilinear.c
      	* libgimp/gimpwidgets.c
      	* modules/colorsel_gtk.c
      	* modules/colorsel_triangle.c
      	* modules/colorsel_water.c
      	* plug-ins/libgck/gck/gckcolor.c
      	* tools/pdbgen/pdb/channel.pdb
      	* tools/pdbgen/pdb/image.pdb: include "libgimpmath/gimpmath.h",
      	removed the remaining includes of the old color stuff.
  8. 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.
  9. 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
  10. 15 Dec, 2000 1 commit
    • Michael Natterer's avatar
      configure.in Updated Gimp-Help. See help/ChangeLog for details. · 06e409e0
      Michael Natterer authored
      2000-12-15  Michael Natterer  <mitch@gimp.org>
      	* configure.in
      	* help/*: Updated Gimp-Help. See help/ChangeLog for details.
      	* app/channels_dialog.c
      	* app/gdisplay.c
      	* app/gradient.c
      	* app/layers_dialog.c
      	* app/menus.c
      	* app/paths_dialog.c
      	* app/preferences_dialog.c
      	* app/resize.c: fixed menu paths.
      	* plug-ins/helpbrowser/helpbrowser.c: load a special
      	"undocumented_filter.html" page if a filter was not found.
      	Adapted to the new help structure.
      2000-12-15  Michael Natterer  <mitch@gimp.org>
      	* makedummyhelpfile.sh
      	* makeindex.sh: removed.
      	* images/*: added some images.
      	* help/*: Updated to the latest version of the gimp-help CVS module.
      	This Version instoduces a bunch of new toplevel HTML files for
      	general topics, an autogenerated index, TOC, glossary,
      	an "image" directory on the "C" level, peace, love, and stuff...
      	Thanks to all help writers: Prof, Bex, Piers, ...
  11. 26 Oct, 2000 1 commit
  12. 18 Oct, 2000 1 commit
  13. 25 Jun, 2000 1 commit
  14. 23 Jun, 2000 1 commit
    • Matt Wilson's avatar
      allocate the tool's paint_core with g_new0. This prevents us from having · 74fdc62e
      Matt Wilson authored
      2000-06-22  Matt Wilson  <msw@redhat.com>
      	* app/paint_core.c (paint_core_new): allocate the tool's
      	paint_core with g_new0.  This prevents us from having cruft in
      	unused tools.  Systems with sensitive FPUs (Alpha) will raise
      	exception in the paint_core_cursor_update if paint_core->last{x,y}
      	are messy.
      	* app/bezier_select.c (tools_new_bezier_select)
      	* app/blend.c (blend_options_new)
      	* app/brightness_contrast.c (tools_new_brightness_contrast)
      	* app/bucket_fill.c (tools_new_bucket_fill)
      	* app/by_color_select.c (tools_new_by_color_select)
      	* app/color_balance.c (tools_new_color_balance)
      	* app/color_panel.c (color_panel_new)
      	* app/color_picker.c (tools_new_color_picker)
      	* app/crop.c (tools_new_crop)
      	* app/curves.c (tools_new_curves)
      	* app/ellipse_select.c (tools_new_ellipse_select)
      	* app/free_select.c (tools_new_free_select)
      	* app/fuzzy_select.c (tools_new_fuzzy_select)
      	* app/histogram_tool.c (tools_new_histogram_tool)
      	* app/hue_saturation.c (tools_new_hue_saturation)
      	* app/ink.c (tools_new_ink)
      	* app/iscissors.c (tools_new_iscissors)
      	* app/levels.c (tools_new_levels)
      	* app/magnify.c (tools_new_magnify)
      	* app/measure.c (tools_new_measure_tool)
      	* app/move.c (tools_new_move_tool)
      	* app/path_tool.c (tools_new_path_tool)
      	* app/posterize.c (tools_new_posterize)
      	* app/rect_select.c (tools_new_rect_select)
      	* app/resize.c (resize_widget_new)
      	* app/threshold.c (tools_new_threshold)
      	* app/transform_core.c (transform_core_new)
      	* app/xinput_airbrush.c (tools_new_xinput_airbrush): likewise (it
      	can only help and it really isn't slow.)
      	* app/color_area.c: #include <string.h> for memcpy declaration
      	* app/gimphelp.c: #include <string.h> for strlen declaration
  15. 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 :(
  16. 16 May, 2000 1 commit
  17. 06 Apr, 2000 1 commit
    • Michael Natterer's avatar
      app/commands.c app/layers_dialog.c behave like a widget: removed · 61184c16
      Michael Natterer authored
      2000-04-06  Michael Natterer  <mitch@gimp.org>
      	* app/commands.c
      	* app/layers_dialog.c
      	* app/resize.[ch]: behave like a widget:
      	removed resize_widget_free() and call
      	gtk_widget_destroy(resize->resize_shell) instead.
      	* app/interface.c: s/0/FALSE/
      	* app/color_area.c
      	* libgimp/gimpchainbutton.c: show the correct background also for
      	engine driven themes. The chainbutton's lines still don't draw
      	with the pixmap theme, which is probably a bug of the theme's
      	draw_polygon method.
  18. 08 Mar, 2000 1 commit
    • Tor Lillqvist's avatar
      app/cursorutil.c (gtkutil_compress_motion) Guard against gdk_event_get · 85f0393b
      Tor Lillqvist authored
      2000-03-08  Tor Lillqvist  <tml@iki.fi>
      * app/cursorutil.c (gtkutil_compress_motion)
      * app/edit_selection.c (process_event_queue_keys): Guard against
      gdk_event_get returning NULL (which can happen at least on Win32).
      * libgimp/gimp.def: Add a couple of new entry points.
      * plug-ins/makefile.{cygwin,msc}: Update according to the source
      file changes. Fix some typos in the .msc file.
      Fixes by Hans Breuer:
      * app/resize.c: Add some more includes.
      * libgimp/gimpenv.c
      * plug-ins/gflare/gflare.c: Win32 header lossage fixup.
  19. 26 Feb, 2000 1 commit
    • Garry R. Osgood's avatar
      app/commands.c app/gimpimage.c app/layer.c app/layer.h app/resize.c · 8769bbb4
      Garry R. Osgood authored
      2000-02-26 Garry R. Osgood <gosgood@idt.net>
      * app/commands.c
      * app/gimpimage.c
      * app/layer.c
      * app/layer.h
      * app/resize.c
      * app/resize.h
      Aliasing artifacts that changed relative positions
      of layers under scaling, giving rise to #5271, are
      minimized by a new layer.c function,
      layer_scale_by_factors(). Closes #5271. See
      http://idt.net/~gosgood/gimp-patch/patch07.html for
      further detail. See also usage documentation for
      layer_scale() and layer_scale_by_factors() in
      Provided logic for the Scale Image dialog box to
      pre-check an image's layers for the possibility that
      a particular scaling, s: 0 < s < 1, reduces a layer
      dimension to zero. Should this case prevail, a
      boolean dialog box warns the user of the
      possibility. The user may (1) Cancel, returning
      focus to Scale Image and the possibility of
      corrective adjustment, or (2) OK the scaling. The
      layers that will vanish upon the new scaling are
      culled from the GimpImage::layers list first.
  20. 07 Feb, 2000 1 commit
    • Michael Natterer's avatar
      app/* libgimp/* plug-ins/* did a global s/GUnit/GimpUnit/ and · ef178669
      Michael Natterer authored
      2000-02-07  Michael Natterer  <mitch@gimp.org>
      	* app/*
      	* libgimp/*
      	* plug-ins/*
      	* tools/pdbgen/*: did a global s/GUnit/GimpUnit/ and
      	* libgimp/gimpcolorspace.c: renamed the parameter names to match
      	the names in the header.
      	* libgimp/gimphelpui.h
      	* libgimp/gimpimage.c
      	* libgimp/gimpmatrix.h
      	* libgimp/gimpsizeentry.[ch]
      	* libgimp/gimpsizeentry.[ch]
      	* libgimp/gimpunit.[ch]
      	* libgimp/gimpunitmenu.[ch]
      	* libgimp/gimpwidgets.[ch]: added documentation and use g* types
      	all over the place (enables cross-referencing with the glib and
      	gtk+ html documentation).
      	* plug-ins/common/exchange.c
      	* plug-ins/common/max_rgb.c: small cleanups.
      	* plug-ins/common/mapcolor.c: the color buttons were attached in
      	the wrong order.
  21. 25 Jan, 2000 1 commit
    • Michael Natterer's avatar
      removed BOUNDS, MINIMUM and MAXIMUM. No need to include both <glib.h> and · 49230471
      Michael Natterer authored
      2000-01-25  Michael Natterer  <mitch@gimp.org>
      	* app/appenv.h: removed BOUNDS, MINIMUM and MAXIMUM. No need to
      	include both <glib.h> and <gtk/gtk.h>.
      	* app/*
      	* tools/pdbgen/pdb/text_tool.pdb: s/BOUNDS/CLAMP/,
      	same for MIN and MAX.
      	* app/preferences_dialog.c: the "Check Size" widget was connected
      	to the transparency_type variable.
      	* plug-ins/common/sobel.c: removed definitions of MIN and ROUND.
      	* libgimp/gimp.h: #include "gimplimits.h" and "gimpcolorspace.h".
      	* plug-ins/*: don't include the two files.
  22. 06 Jan, 2000 1 commit
    • Michael Natterer's avatar
      app/[all files using the dialog or action area constructors] added a · 884f2235
      Michael Natterer authored
      2000-01-06  Michael Natterer  <mitch@gimp.org>
      	* app/[all files using the dialog or action area constructors]
      	* libgimp/gimpdialog.[ch]: added a "slot_object" agrument to the
      	constructors' va_args lists to allow the action area buttons to be
      	connected wich gtk_signal_connect_object().
      	* libgimp/gimphelp.c: show the correct help page for plugins.
      	* plug-ins/common/CEL.c
      	* plug-ins/common/CML_explorer.c
      	* plug-ins/common/Makefile.am
      	* plug-ins/common/aa.c
      	* plug-ins/common/align_layers.c
      	* plug-ins/common/animationplay.c
      	* plug-ins/common/apply_lens.c
      	* plug-ins/common/blinds.c
      	* plug-ins/common/blur.c
      	* plug-ins/common/bumpmap.c
      	* plug-ins/common/checkerboard.c
      	* plug-ins/common/colorify.c
      	* plug-ins/common/colortoalpha.c
      	* plug-ins/common/compose.c
      	* plug-ins/common/convmatrix.c
      	* plug-ins/common/csource.c
      	* plug-ins/common/cubism.c
      	* plug-ins/common/curve_bend.c
      	* plug-ins/common/decompose.c
      	* plug-ins/common/deinterlace.c
      	* plug-ins/common/depthmerge.c
      	* plug-ins/common/despeckle.c
      	* plug-ins/common/destripe.c
      	* plug-ins/common/diffraction.c
      	* plug-ins/common/displace.c
      	* plug-ins/common/grid.c
      	* plug-ins/helpbrowser/Makefile.am
      	* plug-ins/helpbrowser/helpbrowser.c: use the dialog constructor
      	and enable the "F1" help key.
  23. 20 Nov, 1999 1 commit
    • Michael Natterer's avatar
      Reorganized the core menu items (everything except <Image>/Filters). · e46eaf86
      Michael Natterer authored
      1999-11-20  Michael Natterer  <mitch@gimp.org>
      	Reorganized the core menu items (everything except
      	<Image>/Filters). Everything is of course trivial to change again,
      	so please comment on the new "menu feeling" ;-)
      	* app/menus.[ch]:
      	- Applied the suggestions collected by Olof.
      	- Added "..." to all items which open a dialog.
      	- Introduced some additional separators (e.g. in "Dialogs").
      	- Reorder some plugins and the color correct tools after
      	- A menu entry to invoke the tooltips inspector.
      	- A debugging menu entry which dumps the menu paths and their help
      	  pages (will of course go away when the help sys is consistent).
      	There are currently two identical "Help" menus because
      	<Toolbox>/Help trashes the menu bar if the toolbox is too narrow
      	(gtk doesn't seem to support multi-line menubars, any idea?)
      	* app/app_procs.c: call menus_reorder_plugins() after loading the
      	plugins to beautify the "Xtns" menu.
      	* app/commands.[ch]: reordered some functions to match the new
      	menu structure (for easier source navigation) and renamed some to
      	be consistent (e.g. all help functions are now called help_*).
      	Show/Hide the rulers with ordinary gtk_widget_[show|hide]()
      	commands. I've tested it several times and it looks exactly the
      	same as the old code which used internal gtk knowledge.
      	* app/gdisplay.c: applied the menu changes to
      	* app/gimphelp.[ch]: new public function gimp_context_help() which
      	invokes the tooltips inspector. Code cleanup.
      	* app/resize.c: changed the dialogs' titles to match the menu entries.
      	* app/session.c: renamed the gradient selection cmd callback to be
      	consistent with brushes/patterns.
      	* app/tools.c: added "..." to the menu paths of the tools which
      	have dialogs.
      	* app/fileops.c
      	* app/channels_dialog.c
      	* app/layers_dialog.c
      	* app/paths_dialog.c: added some "...".
      	* plug-ins/common/align_layers.c
      	* plug-ins/common/autostretch_hsv.c
      	* plug-ins/common/c_astretch.c
      	* plug-ins/common/color_enhance.c
      	* plug-ins/common/compose.c
      	* plug-ins/common/decompose.c
      	* plug-ins/common/mail.c
      	* plug-ins/common/normalize.c
      	* plug-ins/common/threshold_alpha.c
      	* plug-ins/dbbrowser/dbbrowser.c
      	* plug-ins/fp/fp.c
      	* plug-ins/print/print.c
      	* plug-ins/rcm/rcm.c: changed the menu paths and added "...".
  24. 04 Oct, 1999 1 commit
  25. 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
      	* 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.
  26. 27 Sep, 1999 1 commit
    • Michael Natterer's avatar
      app/Makefile.am app/gimphelp.[ch] new files · 002aa905
      Michael Natterer authored
      1999-09-27  Michael Natterer  <mitch@gimp.org>
      	* app/Makefile.am
      	* app/gimphelp.[ch]
      	* app/gimpui.[ch]: new files
      	* app/interface.[ch]
      	* app/preferences_dialog.[ch]
      	The GIMP Help System part 1: Press "F1" in any dialog to pop up
      	the help page for this dialog.
      	Moved the widget constructors from preferences_dialog.[ch] and the
      	query boxes from interface.[ch] to gimpui.[ch].
      	The dialog constructors take a help_func and a help_data
      	parameter and install the "F1" accelerator which emits the new
      	"help" signal.
      	The "help" signal callback calls help_func(help_data) which finally
      	has to call gimp_help() which in turn invokes the help browser.
      	Still have to find a proper way to (1) prevent "F1" being assigned
      	to some menu item and (2) to catch "F1" while browsing the menu
      	trees in order to pop up the help for the selected item.
      	* app/menus.c: a <Toolbox>/File/Help... menu item.
      	* app/commands.[ch]: a command callback for the "Help..." menu item.
      	* app/gimprc.[ch]: new boolean gimprc variable "use_help".
      	* app/info_dialog.[ch]: pass a help function and data to the info
      	dialog constructor.
      	* app/tools.[ch]: store the tools help page names in the tool info
      	structure. Export a special tools_help_func() which shows the help
      	page for the active tool.
      	* app/[all files calling a dialog constructor]: pass the dialog's
      	help page to the constructor.
      	Most dialogs are now created by gimp_dialog_new() which also sets
      	up the action_area and the WM delete event callback, so I removed
      	the resp. code from these files.
      	Fixed some minor bugs and did some other stuff but didn't change
      	any logic except dialog creation.
      	* plug-ins/helpbrowser/helpbrowser.c: don't try to call a running
      	help browser and don't install any menu path (all done in
      	app/gimphelp.[ch] now).
  27. 27 Jul, 1999 1 commit
  28. 22 Jul, 1999 1 commit
    • Michael Natterer's avatar
      new ui for the "Layer Offset" dialog. · a4c1e8a5
      Michael Natterer authored
      1999-07-22  Michael Natterer  <mitschel@cs.tu-berlin.de>
      	* app/channel_ops.[ch]: new ui for the "Layer Offset" dialog.
      	* app/channels_dialog.c
      	* app/layers_dialog.c: major code cleanup: Folded some callbacks
      	into common ones, "widget" instead of "w", indentation, ...
      	* app/commands.c
      	* app/interface.[ch]
      	* app/global_edit.c: the query boxes must be shown by the caller
      	now. There's no need to split up the string for the message box
      	manually as the Gtk 1.2 label widget handles newlines corectly.
      	Added the "edge_lock" toggle to the "Shrink Selection" dialog.
      	Nicer spacings for the query and message boxes.
      	* app/ink.c: tried to grab the pointer in the blob preview but
      	failed. Left the code there as a reminder (commented out).
      	* app/menus.c: reordered <Image>/Select.
      	I was bored and grep-ed the sources for ancient or deprecated stuff:
      	* app/about_dialog.[ch]
      	* app/actionarea.[ch]
      	* app/app_procs.c
      	* app/brush_edit.c
      	* app/brush_select.c
      	* app/color_select.c
      	* app/convert.c
      	* app/devices.c
      	* app/gdisplay.c
      	* app/gdisplay_ops.c
      	* app/histogram_tool.[ch]
      	* app/info_window.c
      	* app/install.c
      	* app/ops_buttons.c
      	* app/palette.c
      	* app/palette_select.c
      	* app/paths_dialog.c
      	* app/pattern_select.c
      	* app/resize.c
      	* app/scale_toolc.c
      	* app/text_tool.c:
      	s/sprintf/g_snprintf/g, replaced some constant string lengths with
      	* app/bezier_select.c
      	* app/blend.c
      	* app/boundary.c
      	* app/errors.[ch]
      	* app/free_select.c
      	* app/gimpbrushlist.c
      	* app/gimprc.c
      	* app/iscissors.c
      	* app/main.c
      	* app/patterns.[ch]
      	* app/text_tool.c: namespace fanaticism: prefixed all gimp error
      	functions with "gimp_" and formated the messages more uniformly.
      	* app/gradient.c
      	* app/gradient_select.c: same stuff as above for the ui
      	code. There are still some sub-dialogs which need cleanup.
      	Did some cleanup in most of these files: prototypes, removed tons
      	of #include's, i18n fixes, s/w/widget/ as above, indentation, ...
  29. 31 May, 1999 1 commit
    • Michael Natterer's avatar
      app/commands.c app/crop.c app/file_new_dialog.c app/info_dialog.[ch] · 4a139952
      Michael Natterer authored
      1999-05-31  Michael Natterer  <mitschel@cs.tu-berlin.de>
      	* app/commands.c
      	* app/crop.c
      	* app/file_new_dialog.c
      	* app/info_dialog.[ch]
      	* app/interface.c
      	* app/layers_dialog.c
      	* app/resize.[ch]
      	* app/rotate_tool.c
      	* app/scale_tool.c
      	* app/shear_tool.c: finished the float->double migration for
      	resolution values. Standardized the order of function calls which
      	initialize sizeentries. Fixed some off-by-one errors by using
      	correct double->int casting. Use the g* counterparts of int and
      	double in some places. Various code cleanups.
      	* app/preferences_dialog.c: same changes as above plus a cleaner
      	implementation of the mem_size_unit stuff. The whole dialog should
      	behave like before.
  30. 22 May, 1999 1 commit
    • Michael Natterer's avatar
      app/[all files with resolution info] libgimp/gimp.h libgimp/gimpimage.c · dcfb450b
      Michael Natterer authored
      1999-05-22  Michael Natterer  <mitschel@cs.tu-berlin.de>
      	* app/[all files with resolution info]
      	* libgimp/gimp.h
      	* libgimp/gimpimage.c
      	* libgimp/gimpsizeentry.[ch]
      	* libgimp/gimpunit.[ch]
      	* plug-ins/newsprint/newsprint.c
      	* plug-ins/pgn/png.c
      	* plug-ins/tiff/tiff.c: double instead of float for all resolution
      	and unit-factor variables.
      	* app/commands.c
      	* app/crop.c
      	* app/interface.c
      	* app/layers_dialog.c
      	* app/move_tool.c
      	* app/resize.c
      	* app/rotate_tool.c
      	* app/scale_tool.c: pass the image's unit *and* gdisp->dot_for_dot
      	to all functions which create sizeentries. Never create a
      	sizeentry with UNIT_PIXEL but with the image's unit and set it's
      	unit to UNIT_PIXEL after creation if dot_for_dot is on.
      	This way the image's unit can always be picked from the menu
      	without selecting "More...".
      	* app/interface.c: made the query_*_box() functions use the
      	* plug-ins/gimpunitmenu.c: GTK_WIN_POS_MOUSE for the unit
      	selection dialog.
  31. 18 May, 1999 1 commit
    • Michael Natterer's avatar
      store resolution values as doubles, not floats. · e494bbd5
      Michael Natterer authored
      1999-05-18  Michael Natterer  <mitschel@cs.tu-berlin.de>
      	* app/app_procs.c (and many of the files below): store resolution
      	values as doubles, not floats.
      	* app/brush_select.c
      	* app/pattern_select.c: hide the "refresh" button in client
      	dialogs. Don't know if this is desired but it fixes a SEGV.
      	* app/file_new_dialog.c: New ui using code/ideas from Austin,
      	Marco and Nick. The "size" frame is still a bit bloated but I
      	didn't want to reduce it's functionality right now. It's closer to
      	the result of the last discussion but not perfect yet...
      	Added a dialog to confirm image sizes larger than the new
      	max_new_image_size value.
      	The new "reset" button uses the values from gimprc.
      	Removed some #include's, added the copyright header.
      	* app/gimprc.[ch]: new rc variable max_new_image_size.
      	* app/preferences_dialog.c: added the "max image size"
      	option. Generalized the mem size unit code.
      	* app/resize.c: an additional box lets the offset widget always
      	shrink correctly.
      	* app/text_tool.c: fixed a minor memory leak.
      	* libgimp/Makefile.am: add all widgets to libgimpui.*
      	* libgimp/gimpfileselection.c: cosmetic changes.
      	* libgimp/gimplimits.h: a maximum image size which should satisfy
      	everybody ;)
      	* libgimp/gimpsizeentry.c: allow the creation of sizeentries
      	without fields. This (finally) enables arbitrary layout of the
      	* plug-ins/script-fu/script-fu-scripts.c: use the fileselection
      	widget for script parameter SF_FILENAME.
  32. 09 May, 1999 1 commit
    • Michael Natterer's avatar
      libgimp/Makefile.am new file. Currently contains constants for image size · 5711df6a
      Michael Natterer authored
      1999-05-09  Michael Natterer  <mitschel@cs.tu-berlin.de>
      	* libgimp/Makefile.am
      	* libgimp/gimplimits.h: new file. Currently contains constants for
      	image size and resolution.
      	* app/file_new_dialog.c
      	* app/resize.c: use the new constants.
      	* app/layers_dialog.c: use a sizeentry in the "New Layer" query
      	box. Folded the "Layer Fill Type" callbacks into one function.
      	* app/text_tool.c
      	* app/text_tool_cmds.c
      	* tools/pdbgen/pdb/text_tool.pdb: did the calculations for
      	resolutions < 1.0 right this time.
      	* app/gimage_cmds.c
      	* tool/pdbgen/pdb/gimage.pdb: fixed a typo.
  33. 04 May, 1999 1 commit
    • Michael Natterer's avatar
      call gdisplays_resize_cursor_label(gimage) after changing the image's · e7c8de57
      Michael Natterer authored
      1999-05-02  Michael Natterer  <mitschel@cs.tu-berlin.de>
      	* app/commands.c: call gdisplays_resize_cursor_label(gimage)
      	after changing the image's unit.
      	* app/gdisplay.c: update the cursor label after resizing it's
      	frame, so the old (wrong) value gets overwritten.
      	* app/resize.c: it makes more sense to take the image's unit from
      	the "print size" frame rather than from "pixel dimensions".
      	Set reasonable boundaries to avoid over/underflows with crazy
      	resolutions. Code and gui cleanup.
      	The constants for min/max image size/resolution should probably go
      	to a central place.
      	* app/text_tool.c: set the resolution in the X font spec only if
      	the size is specified in points (reported by Austin).
      	* libgimp/gimpsizeentry.c: fixed a bad bug in the boundary and
      	resolution setting code (was not noticable before the new
      	resize/scale ui).
      	* plug-ins/gdyntext/*: version 1.4.3
      	* plug-ins/png/png.c: gcc suggested parentheses.
  34. 02 May, 1999 1 commit
    • Michael Natterer's avatar
      app/commands.c app/layers_dialog.c new scale/resize ui: Use size entries · 26b9002c
      Michael Natterer authored
      1999-05-02  Michael Natterer  <mitschel@cs.tu-berlin.de>
      	* app/commands.c
      	* app/layers_dialog.c
      	* app/resize.[ch]: new scale/resize ui:
      	Use size entries instead of text entries, chainbuttons instead of
      	check buttons. Put the stuff into frames. Added labels for the
      	original width and height.
      	It's possible to change resolution/unit now, please test if it
      	does the right thing.
      	* libgimp/gimpsizeentry.c: allow lower == upper when checking
  35. 14 Feb, 1999 1 commit
    • GMT 1999  Austin Donnelly's avatar
      don't #include resize.h - it's not needed ditto. · f45dfe17
      GMT 1999 Austin Donnelly authored
      Sun Feb 14 20:43:55 GMT 1999  Austin Donnelly  <austin@gimp.org>
      	* app/channels_dialog.c: don't #include resize.h - it's not needed
      	* app/preferences_dialog.c: ditto.
      	* app/resize.c: do all dialog creation here to factor out lots of
      	     common code in commands.c and layers_dialog.c.  Also cancel
      	     resize/scale dialog on destruction/removal of images/layers -
      	     proper fix for Peter Teichman's bug.
      	* app/resize.h: new prototype for resize_widget_new() - beginnings
      	     of resolution-aware scaling.
      	* app/commands.c: pull all the resize/scale dialog creation stuff
      	     out to resize.c
      	* app/layers_dialog.c: same again.
      	* app/layer.c: add REMOVED signal, sent when a layer is removed
      	     from an image.  Layers typically aren't destroyed until their
      	     undo info expires.
      	* app/layer.h: prototype for layer_removed() call.
      	* app/gimpimage.c: send out removed signal.
  36. 15 Jan, 1999 1 commit
  37. 03 Dec, 1998 1 commit
    • CST 1998 Shawn T. Amundson's avatar
      app/channel_ops.c app/color_balance.c app/color_select.c app/commands.c · b556943f
      CST 1998 Shawn T. Amundson authored
      Thu Dec  3 16:51:42 CST 1998 Shawn T. Amundson <amundson@gtk.org>
              * app/channel_ops.c
              * app/color_balance.c
              * app/color_select.c
              * app/commands.c
              * app/convert.c
              * app/curves.c
              * app/docindex.c
              * app/errorconsole.c
              * app/file_new_dialog.c
              * app/fileops.c
              * app/gdisplay_ops.c
              * app/histogram_tool.c
              * app/info_dialog.c
              * app/layer_select.c
              * app/levels.c
              * app/pattern_select.c
              * app/plug_in.c
              * app/posterize.c
              * app/resize.c
              * app/threshold.c
              * app/tips_dialog.c: use gtk_container_set_border_width and
                gtk_window_set_position instead of deprecated versions
  38. 14 Oct, 1998 1 commit
    • EDT 1998 Adrian Likins's avatar
      Lots of ii8n stuff here and some additions to the de.po. Applied · 25721826
      EDT 1998 Adrian Likins authored
      Wed Oct 14 17:46:15 EDT 1998 Adrian Likins <adrian@gimp.org>
              * app/*, po/de.po, de/POTFILES.in, libgimp/gimpintl.h:
              Lots of ii8n stuff here and some additions to the de.po.
              Applied gimp-egger-981005-1 ,gimp-egger-981006-1,
              gimp-egger-981007-1, gimp-egger-981008-1,
              gimp-egger-981009-1.patch, gimp-egger-981010-1.patch
              * plug-in/guillotine/guillotine.c: added the coordinates
              of the split images from the original image to the title.
              ie foo.jpg (0,0) for the image in the topleft.
              * plug-in/script-fu/scripts/neon-logo.scm,
              perspective-shadow.scm, predator.scm,rendermap.scm,
              ripply-anim.scm, select_to_image.scm,swirltile.scm,
              xach-effect.scm: updated scripts to use new script-fu stuff
      wooo boy! a big un!
      	in testing this, it looks like some of the po files are busted.
      but the code stuff seems okay.
  39. 13 Apr, 1998 1 commit