1. 02 Jan, 2001 10 commits
  2. 01 Jan, 2001 3 commits
    • Michael Natterer's avatar
      app/commands.[ch] app/fileops.[ch] app/gdisplay.c Implemented "Save a Copy · 9ccab852
      Michael Natterer authored
      2001-01-02  Michael Natterer  <mitch@gimp.org>
      
      	* app/commands.[ch]
      	* app/fileops.[ch]
      	* app/gdisplay.c
      	* app/menus.c: Implemented "Save a Copy as..." which saves the image
      	without changing it's filename.
      
      	* app/layers_dialogP.h: export layers_dialog_layer_merge_query()
      	here instead of defining it in commands.c
      
      	* TODO.xml: mark this entry as done :)
      9ccab852
    • Michael Natterer's avatar
      added a TODO item for "Save a Copy..." · 6684bb77
      Michael Natterer authored
      2001-01-01  Michael Natterer  <mitch@gimp.org>
      
      	* TODO.xml: added a TODO item for "Save a Copy..."
      6684bb77
    • Michael Natterer's avatar
      plug-ins/libgck/gck/gck.h removed the GckRGB color type and all it's · 4245ab65
      Michael Natterer authored
      2001-01-01  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/libgck/gck/gck.h
      	* plug-ins/libgck/gck/gckcolor.c: removed the GckRGB color type
      	and all it's functions.
      
      	* libgimp/Makefile.am
      	* libgimp/gimpcolor.[ch]: new files containing the new GimpRGB color
      	type and assorted functions.
      
      	* libgimp/gimpcolorspace.[ch]: colorspace conversion routines for
      	the new GimpRGB type. Also taken from LibGCK.
      
      	* libgimp/gimp.h
      	* libgimp/gimptypes.h: #include "gimpcolor.h". It's ugly to include
      	it in both files but unavoidable to follow our new "*.c" file include
      	policy. This will go away as libgimp will be chopped up into pieces
      	anyway.
      
      	* app/apptypes.h
      	* app/asupsample.[ch]
      	* app/blend.c
      	* app/color_transfer.h
      	* app/gradient_header.h: removed "color_t" and use GimpRGB instead.
      
      	* plug-ins/Lighting/lighting_apply.c
      	* plug-ins/Lighting/lighting_image.c
      	* plug-ins/Lighting/lighting_image.h
      	* plug-ins/Lighting/lighting_main.c
      	* plug-ins/Lighting/lighting_main.h
      	* plug-ins/Lighting/lighting_preview.c
      	* plug-ins/Lighting/lighting_shade.c
      	* plug-ins/Lighting/lighting_shade.h
      	* plug-ins/MapObject/mapobject_apply.c
      	* plug-ins/MapObject/mapobject_image.c
      	* plug-ins/MapObject/mapobject_image.h
      	* plug-ins/MapObject/mapobject_main.c
      	* plug-ins/MapObject/mapobject_main.h
      	* plug-ins/MapObject/mapobject_preview.c
      	* plug-ins/MapObject/mapobject_shade.c
      	* plug-ins/MapObject/mapobject_shade.h
      	* modules/colorsel_triangle.c: s/GckRGB/GimpRGB/g
      
      	* plug-ins/gdyntext/gdyntextcompat.h: check also for GIMP's minor
      	version when deciding if to add a missing PDB wrapper.
      	(All this compat cruft including libgimp/gimpcompat.h should go
      	away ASAP)
      4245ab65
  3. 31 Dec, 2000 4 commits
    • Michael Natterer's avatar
      More preparation for LibGCK removal: · 40916e09
      Michael Natterer authored
      2000-12-31  Michael Natterer  <mitch@gimp.org>
      
      	More preparation for LibGCK removal:
      
      	* libgimp/gimpcolorspace.[ch]: added a "_int" suffix to all functions
      	operating on 3 gint pointers, just like the gdouble functions have
      	a "_double" suffix.
      
      	* app/color_balance.c
      	* app/hue_saturation.c
      	* app/paint_funcs.c
      	* modules/colorsel_triangle.c
      	* plug-ins/common/CML_explorer.c
      	* plug-ins/common/scatter_hsv.c
      	* plug-ins/common/sparkle.c
      	* plug-ins/common/vinvert.c
      	* plug-ins/gflare/gflare.c: changed accordingly.
      40916e09
    • Sven Neumann's avatar
      Simon Budig <simon@gimp.org> · f7ccaf1b
      Sven Neumann authored
      2000-12-31  Sven Neumann  <sven@gimp.org>
                  Simon Budig <simon@gimp.org>
      
      	* app/gimpbrush.c
      	* plug-ins/common/gih.c: explicitely cast offset to (off_t) when
      	seeking back. Should fix the problems reading grayscale BrushPipes
      	on IRIX.
      f7ccaf1b
    • Michael Natterer's avatar
      cleaned up a bit. · f16e01a2
      Michael Natterer authored
      2000-12-31  Michael Natterer  <mitch@gimp.org>
      
      	* app/apptypes.h: cleaned up a bit.
      
      	* app/asupsample.[ch]
      	* app/blend.[ch]
      	* app/channel.h
      	* app/gimpprogress.[ch]
      	* app/layer.h
      	* app/perspective_tool.c
      	* app/plug_in.h
      	* app/rotate_tool.c
      	* app/scale_tool.c
      	* app/shear_tool.c
      	* app/transform_core.[ch]: s/gimp_progress/GimpProgress/g and some
      	changes related to the apptypes.h cleanup.
      f16e01a2
    • Michael Natterer's avatar
      app/airbrush.[ch] app/bezier_select.c app/bezier_selectP.h app/blend.[ch] · 2db88815
      Michael Natterer authored
      2000-12-31  Michael Natterer  <mitch@gimp.org>
      
      	* app/airbrush.[ch]
      	* app/bezier_select.c
      	* app/bezier_selectP.h
      	* app/blend.[ch]
      	* app/boundary.h
      	* app/brightness_contrast.[ch]
      	* app/bucket_fill.c
      	* app/by_color_select.c
      	* app/clone.[ch]
      	* app/color_balance.c
      	* app/color_picker.c
      	* app/commands.c
      	* app/convolve.[ch]
      	* app/crop.c
      	* app/crop.h
      	* app/curves.c
      	* app/dodgeburn.[ch]
      	* app/edit_selection.[ch]
      	* app/ellipse_select.c
      	* app/eraser.[ch]
      	* app/flip_tool.[ch]
      	* app/free_select.[ch]
      	* app/fuzzy_select.[ch]
      	* app/gdisplay.c
      	* app/gimage.c
      	* app/histogram_tool.[ch]
      	* app/hue_saturation.[ch]
      	* app/image_map.[ch]
      	* app/ink.[ch]
      	* app/iscissors.c
      	* app/levels.c
      	* app/magnify.[ch]
      	* app/move.c
      	* app/nav_window.[ch]
      	* app/paint_core.[ch]
      	* app/paintbrush.[ch]
      	* app/path_bezier.[ch]
      	* app/path_tool.c
      	* app/pencil.[ch]
      	* app/perspective_tool.[ch]
      	* app/posterize.c
      	* app/rect_select.[ch]
      	* app/rotate_tool.[ch]
      	* app/scale_tool.[ch]
      	* app/selection.[ch]
      	* app/shear_tool.[ch]
      	* app/smudge.[ch]
      	* app/text_tool.[ch]
      	* app/threshold.c
      	* app/tools.[ch]
      	* app/transform_core.[ch]: removed the "gdisp_ptr" madness and
      	useless casts all over the place. Introduced a "PaintState" enum
      	instead of #define's. Various cleanups.
      2db88815
  4. 30 Dec, 2000 2 commits
    • Michael Natterer's avatar
      One more 17C3 commit ... · 5e18bba9
      Michael Natterer authored
      2000-12-30  Michael Natterer  <mitch@gimp.org>
      
      	One more 17C3 commit ...
      
      	* plug-ins/libgck/gck/gck.h
      	* plug-ins/libgck/gck/gckcolor.c: removed unused stuff.
      
      	* plug-ins/Lighting/lighting_apply.c
      	* plug-ins/Lighting/lighting_image.[ch]
      	* plug-ins/Lighting/lighting_main.c
      	* plug-ins/Lighting/lighting_preview.[ch]
      	* plug-ins/Lighting/lighting_shade.c
      	* plug-ins/Lighting/lighting_ui.c
      	* plug-ins/MapObject/mapobject_apply.c
      	* plug-ins/MapObject/mapobject_image.[ch]
      	* plug-ins/MapObject/mapobject_main.c
      	* plug-ins/MapObject/mapobject_preview.c
      	* plug-ins/MapObject/mapobject_shade.[ch]
      	* plug-ins/MapObject/mapobject_ui.c: cleanups in preparation for
      	removal of LibGCK.
      5e18bba9
    • Michael Natterer's avatar
      removed all the "typedef gimage_function gimp_image_function" stuff so we · 4a0f7c58
      Michael Natterer authored
      2000-12-30  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimage.[ch]: removed all the
      	"typedef gimage_function gimp_image_function" stuff so we can clearly
      	see what is really a GImage function.
      	Removed gimage_get_ID(). Use pdb_id_to_image() instead.
      
      	* app/airbrush.c
      	* app/desaturate.c
      	* app/disp_callbacks.c
      	* app/equalize.c
      	* app/fileops.c
      	* app/floating_sel.c
      	* app/gdisplay_ops.c
      	* app/gimpdrawable.c
      	* app/global_edit.c
      	* app/image_map.c
      	* app/invert.c
      	* app/lc_dialog.c
      	* app/paths_dialog.c
      	* app/plug_in.c
      	* app/xcf.c
      
      	* app/color_cmds.c
      	* app/convert_cmds.c
      	* app/image_cmds.c
      	* tools/pdbgen/pdb/color.pdb
      	* tools/pdbgen/pdb/convert.pdb
      	* tools/pdbgen/pdb/image.pdb: changed accordingly.
      4a0f7c58
  5. 29 Dec, 2000 5 commits
    • Sven Neumann's avatar
      more things to do · a75a7239
      Sven Neumann authored
      2000-12-29  Sven Neumann  <sven@gimp.org>
      
      	* TODO.xml: more things to do
      a75a7239
    • 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
    • Asbjørn Pettersen's avatar
      remove gimp_color_display_register · 9111fe06
      Asbjørn Pettersen authored
      9111fe06
    • Simon Budig's avatar
      modules/colorsel_triangle.c Fixed the same 16->8bit conversion bug as in · c7f6e3d2
      Simon Budig authored
      2000-12-29  Simon Budig  <simon@gimp.org>
      
              * modules/colorsel_triangle.c   Fixed the same 16->8bit conversion
              bug as in gimp-1-2 and removed duplicated code.
      c7f6e3d2
    • Simon Budig's avatar
      gimp_splash.ppm A new splash... gimp1_2_splash.ppm A new file for the old · a78110b8
      Simon Budig authored
      2000-12-28  Simon Budig  <simon@gimp.org>
      
              * gimp_splash.ppm     A new splash...
              * gimp1_2_splash.ppm  A new file for the old splash
      
              * modules/colorsel_triangle.c   Fixed a warning.
      a78110b8
  6. 28 Dec, 2000 5 commits
    • Simon Budig's avatar
      modules/colorsel_triangle.c Cleanup, indentation madness, first steps · 6b527191
      Simon Budig authored
      2000-12-28  Simon Budig  <simon@gimp.org>
      
              * modules/colorsel_triangle.c
              Cleanup, indentation madness, first steps towards a one-click
              color-selector.
      6b527191
    • Sven Neumann's avatar
      app/channel.c use gtk_object_sink() instead of gtk_object_unref() when · ebe7d2f9
      Sven Neumann authored
      2000-12-28  Sven Neumann  <sven@gimp.org>
      
      	* app/channel.c
      	* app/layer.c: use gtk_object_sink() instead of gtk_object_unref()
      	when deleting a layer or channel since only floating objects should
      	be destroyed this way. A layer or channel that has been attached
      	to an image shall never be deleted.
      
      	* app/layer_cmds.c
      	* libgimp/gimplayer_pdb.c
      	* tools/pdbgen/pdb/layer.pdb: reenabled the gimp_layer_delete() PDB
      	function since it might be useful under rare circumstances.
      ebe7d2f9
    • Sven Neumann's avatar
      app/commands.c small new feature: display a layer preview popup when · 4e5c3195
      Sven Neumann authored
      2000-12-28  Sven Neumann  <sven@gimp.org>
      
      	* app/commands.c
      	* app/layer_select.[ch]: small new feature: display a layer preview
      	popup when switching the active layer using PageUp/PageDown. Could
      	need a little tweaking...
      4e5c3195
    • Michael Natterer's avatar
      app/channel.[ch] app/drawable.h app/gimpdrawable.[ch] app/gimpdrawableP.h · 0d440e10
      Michael Natterer authored
      2000-12-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/channel.[ch]
      	* app/drawable.h
      	* app/gimpdrawable.[ch]
      	* app/gimpdrawableP.h
      	* app/gimpimage.[ch]
      	* app/gimpimageP.h
      	* app/layer.[ch]
      	* app/layer_pvt.h: started a major cleanup of all image/drawable
      	files. Added tons of "const GimpImage *" declarations and properly
      	formated the headers.
      
      	* app/bezier_select.c
      	* app/channels_dialog.c
      	* app/crop.c
      	* app/fileops.[ch]
      	* app/fuzzy_select.c
      	* app/gdisplay.c
      	* app/layers_dialog.c
      	* app/move.c
      	* app/paint_funcs.[ch]
      	* app/qmask.c
      	* app/undo.c: changed accordingly plus the usual portion of coding
      	style paranoia. This is not finished but Sven promised to buy me
      	a beer if I commit now ;)
      0d440e10
    • Sven Neumann's avatar
      app/boundaryF.h app/gdisplayP.h app/gimplistP.h app/gimplutP.h · c11acc6c
      Sven Neumann authored
      2000-12-28  Sven Neumann  <sven@gimp.org>
      
      	* app/boundaryF.h
      	* app/gdisplayP.h
      	* app/gimplistP.h
      	* app/gimplutP.h
      	* app/gimpsetP.h
      	* app/parasitelistP.h
      	* app/pixel_regionP.h: removed these files
      
      	* app/Makefile.am
      	* app/apptypes.h
      	* app/boundary.[ch]
      	* app/floating_sel.h
      	* app/gdisplay.c
      	* app/gimplist.h
      	* app/gimplut.[ch]
      	* app/gimpset.[ch]
      	* app/parasitelist.[ch]
      	* app/pixel_processor.c
      	* app/pixel_region.[ch]: moved structure definitions into the
      	normal headers, various cleanups
      c11acc6c
  7. 27 Dec, 2000 10 commits
    • Sven Neumann's avatar
      app/channel_cmds.c app/layer_cmds.c libgimp/gimpchannel_pdb.c · 243c5f49
      Sven Neumann authored
      2000-12-28  Sven Neumann  <sven@gimp.org>
      
      	* app/channel_cmds.c
      	* app/layer_cmds.c
      	* libgimp/gimpchannel_pdb.c
      	* libgimp/gimplayer_pdb.c
      	* plug-ins/common/warp.c
      	* plug-ins/gap/gap_exchange_image.c
      	* plug-ins/gap/gap_range_ops.c
      	* plug-ins/perl/examples/bricks
      	* plug-ins/perl/examples/glowing_steel
      	* tools/pdbgen/pdb/channel.pdb
      	* tools/pdbgen/pdb/layer.pdb:
      
      	Two of the gimp-perl scripts used to call gimp_layer_delete() after
      	gimp_image_remove_layer(). This will fail since the layer is already
      	scheduled for destruction by removing it from the associated image or
      	by deleting that image. It is thus dangerous and superfluous to export
      	this feature through the PDB. The gimp_layer_delete() is hereby
      	obsolete and does nothing any longer. I have removed the code calling
      	it from all over the place (it was commented out in almost all places).
      
      	The PDB help for gimp_channel_delete() now explicetly tells the user
      	about the proper usage of the procedure.
      243c5f49
    • Michael Natterer's avatar
      app/bezier_select.[ch] massive cleanup (prototypes, indentation, ...) · 7355ee11
      Michael Natterer authored
      2000-12-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/bezier_select.[ch]
      	* app/bezier_selectP.h: massive cleanup (prototypes, indentation, ...)
      7355ee11
    • Michael Natterer's avatar
      cleanup, proper prototypes, ... · f8769ee5
      Michael Natterer authored
      2000-12-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/measure.c: cleanup, proper prototypes, ...
      f8769ee5
    • Michael Natterer's avatar
      the size of the string holding the image data was one byte too short (we · b45bde77
      Michael Natterer authored
      2000-12-27  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/common/csource.c: the size of the string holding the
      	image data was one byte too short (we forgot the trailing '\0').
      	Reported by <goswin.brederlow@student.uni-tuebingen.de>
      b45bde77
    • Sven Neumann's avatar
      TODO.xml new files. TODO.xml is a first start on a roadmap towards · c6ea8d67
      Sven Neumann authored
      2000-12-27  Sven Neumann  <sven@gimp.org>
      
      	* TODO.xml
      	* docs/make-todo: new files. TODO.xml is a first start on a roadmap
      	towards gimp-1.4. All new features and major changes need to be
      	defined here to be accepted into the gimp-1.3 branch.
      c6ea8d67
    • Michael Natterer's avatar
      gimp_image_merge_layers(): apply the layer mask only if layer->apply_mask · 7f298013
      Michael Natterer authored
      2000-12-27  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimpimage.c: gimp_image_merge_layers(): apply the layer mask
      	only if layer->apply_mask is TRUE, cleanup.
      7f298013
    • Simon Budig's avatar
      plug-ins/mosaic/mosaic.c plug-ins/script-fu/scripts/textured-logo.scm · 28550495
      Simon Budig authored
      2000-12-27  Simon Budig  <simon@gimp.org>
      
              * plug-ins/mosaic/mosaic.c
              * plug-ins/script-fu/scripts/textured-logo.scm
              Implemented a toggle to ask the user, if he wants to allow some
              tiles to be split in two pieces. This enables perfect hexagonal/
              squared/octagonal tiles. Changed the PDB-Interface and changed the
              script using this plug-in.
      28550495
    • Michael Natterer's avatar
      app/gimage.h implemented gimp_image_get_layer_by_index(), small cleanups. · 4c5757ee
      Michael Natterer authored
      2000-12-27  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimage.h
      	* app/gimpimage.[ch]: implemented gimp_image_get_layer_by_index(),
      	small cleanups.
      
      	* app/commands.c
      	* app/layers_dialog.c: use the new function instead of accessing
      	the layer list directly.
      4c5757ee
    • Michael Natterer's avatar
      layers_dialog_scroll_index(): don't fiddle around with magic numbers when · 8d37156c
      Michael Natterer authored
      2000-12-27  Michael Natterer  <mitch@gimp.org>
      
      	* app/layers_dialog.c: layers_dialog_scroll_index(): don't fiddle
      	around with magic numbers when calculating the layer widget's
      	height but simply ask one of them for it's allocation.  Fixes
      	positioning when the preview is smaller than the layer widget list
      	item.
      8d37156c
    • Tomas Ogren's avatar
      Remove the last comma in an enum, xlc barfs · 33e77726
      Tomas Ogren authored
      2000-12-27  Tomas Ogren  <stric@ing.umu.se>
      
      * plug-ins/ifscompose/ifscompose_storage.c: Remove the last comma in
      an enum, xlc barfs
      33e77726
  8. 26 Dec, 2000 1 commit