1. 02 May, 2002 4 commits
    • Nate Summers's avatar
      app/core/core-types.h moved GimpToolInfo back into the core. · 79755fa6
      Nate Summers authored
              * app/core/core-types.h
              * libgimptool/gimptooltypes.h: moved GimpToolInfo back into the core.
      
              * libgimptool/gimptoolcontrol.h
              * app/tools/gimptoolcontrol.c: got rid of gimp_tool_control_new
      
              * libgimptool/gimptool.c (gimp_tool_init): create the GimpToolControl
              here instead of in the descendant classes
      
              * app/tools/gimpairbrushtool.c
              * app/tools/gimpbezierselecttool.c
              * app/tools/gimpblendtool.c
              * app/tools/gimpbucketfilltool.c
              * app/tools/gimpbycolorselecttool.c
              * app/tools/gimpclonetool.c
              * app/tools/gimpcolorbalancetool.c
              * app/tools/gimpcolorpickertool.c
              * app/tools/gimpconvolvetool.c
              * app/tools/gimpcroptool.c
              * app/tools/gimpcurvestool.c
              * app/tools/gimpdodgeburntool.c
              * app/tools/gimpeditselectiontool.c
              * app/tools/gimpellipseselecttool.c
              * app/tools/gimperasertool.c
              * app/tools/gimpfliptool.c
              * app/tools/gimpfreeselecttool.c
              * app/tools/gimpfuzzyselecttool.c
              * app/tools/gimphistogramtool.c
              * app/tools/gimphuesaturationtool.c
              * app/tools/gimpinktool.c
              * app/tools/gimpiscissorstool.c
              * app/tools/gimplevelstool.c
              * app/tools/gimpmagnifytool.c
              * app/tools/gimpmeasuretool.c
              * app/tools/gimpmovetool.c
              * app/tools/gimppaintbrushtool.c
              * app/tools/gimppathtool.c
              * app/tools/gimppenciltool.c
              * app/tools/gimpperspectivetool.c
              * app/tools/gimprectselecttool.c
              * app/tools/gimprotatetool.c
              * app/tools/gimpscaletool.c
              * app/tools/gimpsheartool.c
              * app/tools/gimpsmudgetool.c
              * app/tools/gimptexttool.c
              * app/tools/gimpvectortool.c
              * plug-ins/tools/tool-safe-mode.c: changed accordingly
      
              * libgimpproxy/gimpproxytypes.h: autogenerated
      79755fa6
    • Nate Summers's avatar
      app/core/core-types.h moved GimpToolInfo back into the core. · 00feb59a
      Nate Summers authored
      
       	* app/core/core-types.h
       	* libgimptool/gimptooltypes.h: moved GimpToolInfo back into the core.
      
       	* libgimptool/gimptoolcontrol.h
      	* app/tools/gimptoolcontrol.c: got rid of gimp_tool_control_new
      
       	* libgimptool/gimptool.c (gimp_tool_init): create the GimpToolControl
       	here instead of in the descendant classes
      
      	* app/tools/gimpairbrushtool.c
       	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpblendtool.c
       	* app/tools/gimpbucketfilltool.c
       	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpclonetool.c
       	* app/tools/gimpcolorbalancetool.c
       	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpconvolvetool.c
       	* app/tools/gimpcroptool.c
      	* app/tools/gimpcurvestool.c
       	* app/tools/gimpdodgeburntool.c
       	* app/tools/gimpeditselectiontool.c
       	* app/tools/gimpellipseselecttool.c
      	* app/tools/gimperasertool.c
       	* app/tools/gimpfliptool.c
      	* app/tools/gimpfreeselecttool.c
       	* app/tools/gimpfuzzyselecttool.c
      	* app/tools/gimphistogramtool.c
       	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimpinktool.c
       	* app/tools/gimpiscissorstool.c
      	* app/tools/gimplevelstool.c
       	* app/tools/gimpmagnifytool.c
      	* app/tools/gimpmeasuretool.c
       	* app/tools/gimpmovetool.c
      	* app/tools/gimppaintbrushtool.c
       	* app/tools/gimppathtool.c
      	* app/tools/gimppenciltool.c
       	* app/tools/gimpperspectivetool.c
      	* app/tools/gimprectselecttool.c
       	* app/tools/gimprotatetool.c
      	* app/tools/gimpscaletool.c
       	* app/tools/gimpsheartool.c
      	* app/tools/gimpsmudgetool.c
       	* app/tools/gimptexttool.c
       	* app/tools/gimpvectortool.c
       	* plug-ins/tools/tool-safe-mode.c: changed accordingly
      
      	* libgimpproxy/gimpproxytypes.h: autogenerated
      00feb59a
    • Sven Neumann's avatar
      fixed typo. · bbbc0347
      Sven Neumann authored
      2002-05-02  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpimagefile.c (gimp_imagefile_save_thumbnail): fixed
      	typo.
      
      	* plug-ins/rcm/rcm_misc.c (rcm_reduce_image): merged fix for bug
      	#80561 from stable branch.
      bbbc0347
    • Michael Natterer's avatar
      fixed communication with the SIOD interpreter: · 22925df2
      Michael Natterer authored
      2002-05-02  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/script-fu/script-fu-console.c: fixed communication
      	with the SIOD interpreter:
      
      	- set the GError variable to NULL before using it.
      	- set the GIOChannel used to read SIOD's output to binary mode.
      22925df2
  2. 30 Apr, 2002 4 commits
  3. 29 Apr, 2002 4 commits
    • Sven Neumann's avatar
      adapt the thumbnail size to the image size so that thumbs of small images · ef30d535
      Sven Neumann authored
      2002-04-29  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpimagefile.c: adapt the thumbnail size to the image size
      	so that thumbs of small images don't end up in the "large" directory.
      ef30d535
    • Sven Neumann's avatar
      accept any size so we don't depend on the values of GimpThumbnailSize. We · 84e768d0
      Sven Neumann authored
      2002-04-29  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpimagefile.[ch]: accept any size so we don't depend on
      	the values of GimpThumbnailSize. We might want to allow other thumbnail
      	sizes than only 0, 128 or 256.
      84e768d0
    • Sven Neumann's avatar
      added new enum GimpThumbnailSize. · 9b6cde9d
      Sven Neumann authored
      2002-04-29  Sven Neumann  <sven@gimp.org>
      
      	* app/core/core-enums.[ch]: added new enum GimpThumbnailSize.
      
      	* app/gimprc.c
      	* app/config/gimpcoreconfig.[ch]
      	* app/core/gimpcoreconfig.[ch]: replaced old gimprc value
      	write_thumbnails with thumbnail_size.
      
      	* app/core/gimpimagefile.[ch]: allow to specify a thumbnail size.
      
      	* app/core/gimpdocuments.c
      	* app/file/file-open.c
      	* app/file/file-save.c
      	* app/gui/preferences-dialog.c
      	* app/widgets/gimpdocumentview.c: changed accordingly.
      
      	* app/gui/file-open-dialog.c: create the preview according to the
      	users choice of thumbnail size. Doesn't update on changes yet.
      9b6cde9d
    • Sven Neumann's avatar
      save empty thumbnails to ~/.thumbnails/fail/gimp-1.3 if we cannot create a · 927a1005
      Sven Neumann authored
      2002-04-29  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpimagefile.[ch]: save empty thumbnails to
      	~/.thumbnails/fail/gimp-1.3 if we cannot create a thumbnail. Added
      	new state GIMP_IMAGEFILE_STATE_THUMBNAIL_EXISTS to indicate that a
      	thumbnail was found but is not yet loaded. Removed unused thumb_mtime
      	from GimpImagefile struct and simplified some parts of the code.
      
      	* app/gui/file-open-dialog.c: cosmetic changes.
      927a1005
  4. 28 Apr, 2002 3 commits
    • Michael Natterer's avatar
      added "gchar *name_changed_signal" to GimpViewableClass which defaults to · 63ca433d
      Michael Natterer authored
      2002-04-29  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpviewable.[ch]: added "gchar *name_changed_signal"
      	to GimpViewableClass which defaults to "name_changed".
      
      	* app/widgets/gimplistitem.c
      	* app/widgets/gimpmenuitem.c: connect to
      	viewable_class->name_changed_signal instead of just
      	"name_changed". Fixed possible UI inconsistency where the previous
      	viewable's tooltip would have been displayed.
      
      	* app/core/gimpimagefile.[ch]: set name_changed_signal to
      	"info_changed" so views can update their tooltips correctly.
      	Merged the separate image_state and thumb_state states into one
      	state variable and extended the state enum. Added description
      	strings for all states. Show the file size for all files, not only
      	for those with a thumbnail. Enabled display of outdated
      	thumbnails.
      
      	* app/gui/file-open-dialog.c: some changes because
      	gimp_imagefile_get_description() returns 3 instead of 2 lines of
      	text now.
      
      	* app/widgets/gimpcontainerview-utils.c: show the imagefile's
      	description in the tooltip.
      
      	* app/gui/menus.c
      	* app/gui/documents-commands.[ch]
      	* app/widgets/gimpdocumentview.c: added functions to remove
      	"dangling" document history entries. Updated the context menu so
      	all functions can be accessed through it.
      63ca433d
    • Sven Neumann's avatar
      app/tools/gimpairbrushtool.c app/tools/gimpblendtool.c · 05581ddf
      Sven Neumann authored
      2002-04-28  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimpairbrushtool.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpconvolvetool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpdodgeburntool.c
      	* app/tools/gimperasertool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimpsmudgetool.c
      	* app/tools/gimptexttool.c
      	* app/tools/paint_options.c
      	* app/tools/selection_options.c
      	* app/tools/transform_options.c: in preparation of a more generic tool
      	options framework: use the options value, not the default value when
      	setting up the tool options UI. Doesn't make any difference since both
      	are initialized to the same value, but reduces usage of the ugly foo_d
      	variables.
      
      	* app/tools/gimpmagnifytool.c: don't change the resize_windows_on_zoom
      	gimprc value in response to changes in the tool options. Only use it
      	as default value when resetting the tool options.
      05581ddf
    • Sven Neumann's avatar
      invalidate layer previews so we don't crash when an image preview is · b94fc9f7
      Sven Neumann authored
      2002-04-28  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpimage-convert.c (gimp_image_convert): invalidate layer
      	previews so we don't crash when an image preview is generated after
      	converting the image from RGB to GRAY.
      
      	* app/core/gimpimage.c (gimp_image_get_new_preview): added some
      	assertions to make it easier to find similar problems in the future.
      b94fc9f7
  5. 27 Apr, 2002 4 commits
  6. 26 Apr, 2002 1 commit
  7. 24 Apr, 2002 2 commits
  8. 23 Apr, 2002 4 commits
  9. 22 Apr, 2002 1 commit
  10. 21 Apr, 2002 3 commits
    • Nate Summers's avatar
      *'s · bf4b03cc
      Nate Summers authored
      bf4b03cc
    • Nate Summers's avatar
      I'm the changelog and I'm ok! · 47793264
      Nate Summers authored
      47793264
    • Nate Summers's avatar
      app/tools/gimptoolcontrol.[ch] resurrected the motion hints and cursor · 810b9831
      Nate Summers authored
      
       	* app/tools/gimptoolcontrol.[ch]
       	* libgimptool/gimptool.c: resurrected the motion hints and cursor
       	changing code.
      
       	app/tools/gimpairbrushtool.c
      	app/tools/gimpbezierselecttool.c
       	app/tools/gimpblendtool.c
       	app/tools/gimpbucketfilltool.c
       	app/tools/gimpbycolorselecttool.c
       	app/tools/gimpclonetool.c
       	app/tools/gimpcolorbalancetool.c
       	app/tools/gimpcolorpickertool.c
       	app/tools/gimpconvolvetool.c
       	app/tools/gimpcroptool.c
       	app/tools/gimpcurvestool.c
       	app/tools/gimpdodgeburntool.c
       	app/tools/gimpeditselectiontool.c
       	app/tools/gimpellipseselecttool.c
       	app/tools/gimperasertool.c
       	app/tools/gimpfliptool.c
       	app/tools/gimpfuzzyselecttool.c
       	app/tools/gimphistogramtool.c
       	app/tools/gimphuesaturationtool.c
       	app/tools/gimpimagemaptool.c
       	app/tools/gimpinktool.c
       	app/tools/gimpiscissorstool.c
       	app/tools/gimplevelstool.c
       	app/tools/gimpmagnifytool.c
       	app/tools/gimpmeasuretool.c
       	app/tools/gimpmovetool.c
       	app/tools/gimppaintbrushtool.c
       	app/tools/gimppainttool.c
       	app/tools/gimppathtool.c
       	app/tools/gimppenciltool.c
       	app/tools/gimpperspectivetool.c
       	app/tools/gimprectselecttool.c
       	app/tools/gimprotatetool.c
       	app/tools/gimpscaletool.c
       	app/tools/gimpselectiontool.c
       	app/tools/gimpsheartool.c
       	app/tools/gimpsmudgetool.c
       	app/tools/gimptexttool.c
       	app/tools/gimptransformtool.c
       	app/tools/gimpvectortool.c: set the motion mode; fix a few parameters
      
       	* app/tools/gimpinktool.c (gimp_ink_tool_button_press): uncommented
       	some code I had temporarily commented out and didn't uncomment before
       	committing
      
       	* libgimptool/gimptoolcontrol.h
       	* app/tools/gimptoolcontrol-displayshell.[ch]: merged with
       	gimptoolcontrol.[ch].  The distinction was fairly arbitrary.
      
       	* plug-ins/tools/gimptoolcontrol.c: added some stubs
      
              * app/tools/Makefile.am
       	* app/tools/tool_manager.c
       	* app/display/gimpdisplayshell-callbacks.c: changed accordingly
      
       	* libgimp/gimpimage_pdb.c: applied a patch from Pippen to correct
       	documentation on the undo operations
      810b9831
  11. 19 Apr, 2002 3 commits
    • Michael Natterer's avatar
      made gimp_imagefile_save_thumbnail() return a gboolean indicating success. · 095314f0
      Michael Natterer authored
      2002-04-19  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimagefile.[ch]: made gimp_imagefile_save_thumbnail()
      	return a gboolean indicating success.
      
      	* app/file/file-save.c
      	* tools/pdbgen/pdb/fileops.pdb: use gimp_imagefile_save_thumbnail()
      	to save thumbnails.
      
      	* app/file/file-utils.[ch]: removed the .xvpics thumbnail saving code.
      
      	* app/pdb/fileops_cmds.c: regenerated.
      095314f0
    • Michael Natterer's avatar
      all functions return the opened image and the pdb status plus a GError · 84ee76d5
      Michael Natterer authored
      2002-04-19  Michael Natterer  <mitch@gimp.org>
      
      	* app/file/file-open.[ch]: all functions return the opened image
      	and the pdb status plus a GError now. Removed all g_message()
      	calls from file_open_image(). Instead, display all error messages
      	in file_open_with_proc_and_display() if it got no error return
      	location passed.
      
      	* app/app_procs.c
      	* app/core/gimpimagefile.c
      	* app/gui/file-commands.c
      	* app/gui/file-open-dialog.c
      	* app/widgets/gimpdnd.c
      	* app/widgets/gimpdocumentview.c: changed accordingly.
      
      	* app/gui/file-open-dialog.c: only treat the "entered_filename" as
      	URI if it contains "://".
      84ee76d5
    • Michael Natterer's avatar
      speak in terms of "uri", not "filename". Return the created imagefile. · b96f184b
      Michael Natterer authored
      2002-04-19  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpdocuments.[ch] (gimp_documents_add): speak in terms
      	of "uri", not "filename". Return the created imagefile.
      
      	* app/core/gimpimagefile.[ch]: factored out private function
      	gimp_imagefile_save_png_thumb() and call it from
      	gimp_imagefile_create_thumbnail().
      	Added public function gimp_imagefile_save_thumbnail() which takes
      	an imagefile and an image.
      
      	* app/file/file-open.c: create thumbnails for all images opened
      	interactively using gimp_imagefile_save_thumbnail().
      
      	* app/xcf/xcf-load.c (xcf_load_image): set the filename with
      	gimp_image_set_filename() so it gets converted to an URI as for
      	external plug-ins.
      b96f184b
  12. 18 Apr, 2002 4 commits
    • Michael Natterer's avatar
      oops, thumbnails were created in the wrong directory since my last commit. · cb978d94
      Michael Natterer authored
      2002-04-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimagefile.c: oops, thumbnails were created in the
      	wrong directory since my last commit.
      cb978d94
    • Michael Natterer's avatar
      added a progress bar to the preview frame to show the progress when · 7e53bff1
      Michael Natterer authored
      2002-04-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/file-open-dialog.c: added a progress bar to the preview
      	frame to show the progress when creating many previews. Also added
      	some more ugly static variables...
      7e53bff1
    • Michael Natterer's avatar
      create the thumbnail subdir strings only once in class_init, minor stuff. · 9c400c40
      Michael Natterer authored
      2002-04-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimagefile.[ch]: create the thumbnail subdir strings
      	only once in class_init, minor stuff.
      
      	* app/widgets/gimppreview.c: set widget_class->activate_signal to
      	the preview's "clicked" id so we can create mnemonics for it.
      
      	* app/gui/file-open-dialog.c: make the whole preview area clickable,
      	block some signals of the "Preview" button so it behaves like
      	the tree view headers.
      9c400c40
    • Michael Natterer's avatar
      save the number of layers in the thumbnail and show it in the description. · 31c19e8d
      Michael Natterer authored
      2002-04-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimagefile.[ch]: save the number of layers in the
      	thumbnail and show it in the description.
      
      	* app/gui/file-dialog-utils.[ch]: added file_dialog_new() which
      	contains a lot of factored out code from file-open and file-save.
      
      	* app/gui/file-open-dialog.c
      	* app/gui/file-save-dialog.c: use file_dialog_new(), reduce use of
      	global variables, added utility functions to reduce code
      	duplication, cleanup.
      
      	* app/gui/file-open-dialog.c: use a temporary imagefile to create
      	previews so the dialog's preview can show the progress when
      	creating many thumbnails.
      
      2002-04-18  Michael Natterer  <mitch@gimp.org>
      
      	* POTFILES.in: added app/gui/file-dialog-utils.c
      31c19e8d
  13. 17 Apr, 2002 1 commit
    • Michael Natterer's avatar
      shouldn't free the filename before using it :) · c811d2bb
      Michael Natterer authored
      2002-04-17  Michael Natterer  <mitch@gimp.org>
      
      	* app/file/file-save.c: shouldn't free the filename before using it :)
      
      	* app/core/gimpimagefile.c: emit the "info_changed" signal more
      	often, assemble the description string differently.
      
      	* app/gui/file-open-dialog.c: moved the preview into a frame right
      	of the file selection box, lots of gui and other cleanup...
      c811d2bb
  14. 16 Apr, 2002 2 commits
    • Sven Neumann's avatar
      app/core/gimpimagefile.[ch] moved code to generate a literate description · 48fb6b37
      Sven Neumann authored
      2002-04-17  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpimagefile.[ch]
      	* app/gui/file-open-dialog.c: moved code to generate a literate
      	description of the image to the GimpImagefile object.
      48fb6b37
    • Michael Natterer's avatar
      register GimpImageType. · 4aa4803d
      Michael Natterer authored
      2002-04-17  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/core-enums.[ch]: register GimpImageType.
      
      	* app/core/gimpimagefile.[ch]: read and write more image properties
      	in thumbnails.
      
      	* app/gui/file-open-dialog.c: changed accordingly.
      
      	* app/widgets/gimpdialogfactory.c: disabled debugging output.
      
      	* app/widgets/gimpdocumentview.c: changed the "Refresh" button to
      	regenerate the preview on click and reload all previews on
      	shift+click.
      
      	* tools/pdbgen/enums.pl: regenerated.
      4aa4803d