1. 27 Apr, 2002 3 commits
  2. 26 Apr, 2002 1 commit
  3. 24 Apr, 2002 2 commits
  4. 23 Apr, 2002 4 commits
  5. 22 Apr, 2002 1 commit
  6. 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
  7. 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
  8. 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
  9. 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
  10. 16 Apr, 2002 5 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
    • Sven Neumann's avatar
      create the thumbnail directories if they don't exist. · 8dfccd03
      Sven Neumann authored
      2002-04-16  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpimagefile.c (gimp_imagefile_png_thumb_path): create
      	the thumbnail directories if they don't exist.
      	(gimp_imagefile_png_thumb_name): reimplemented w/o snprintf().
      
      	* app/pdb/color_cmds.c
      	* tools/pdbgen/pdb/color.pdb: merged fix for bug #78877 from stable
      	branch.
      8dfccd03
    • Michael Natterer's avatar
      fixed temp_buf_copy() and temp_buf_to_[color|gray]() to (1) not crash and · 99e575d1
      Michael Natterer authored
      2002-04-16  Michael Natterer  <mitch@gimp.org>
      
      	* app/base/temp-buf.c: fixed temp_buf_copy() and
      	temp_buf_to_[color|gray]() to (1) not crash and (2) to assume the
      	correct pixelformat. Bugs were never noticed because the code was
      	never used until today...
      
      	* app/core/gimpviewable.c (gimp_viewable_get_new_preview_pixbuf):
      	use temp_buf_copy() to convert GRAY* TempBufs to RGB* before
      	creating the pixbuf.
      
      	* app/app_procs.c: don't try to open command line images if the
      	filename could not be converted to an URI.
      
      	* app/file/file-open.c
      	* app/file/file-save.c: use g_file_test() instead of stat().
      
      	* app/file/file-utils.[ch]: cleanup, changed
      	file_utils_filename_to_uri() to take a list of procs, not a Gimp
      	pointer.
      
      	* app/core/gimpimage.c: changed accordingly.
      
      	* app/core/gimpimagefile.[ch]: implemented thumbnail saving
      	following the thumbnail standard v0.5 (the implementation is not
      	yet fully standard compliant).
      
      	* app/gui/file-open-dialog.c: use the new thubmnail functions and
      	removed all .xvpics code. Not finished yet...
      
      	* app/core/gimpdocuments.c
      	* app/widgets/gimpdocumentview.c: changed accordingly.
      
      	* tools/pdbgen/pdb/fileops.pdb (file_save_thumbnail): set "success"
      	correctly.
      
      	* app/pdb/fileops_cmds.c: regenerated.
      99e575d1
    • Sven Neumann's avatar
      don't draw anything if an idle update is pending. · 3da95025
      Sven Neumann authored
      2002-04-16  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimppreview.c (gimp_preview_expose_event): don't draw
      	anything if an idle update is pending.
      
      	* libgimpwidgets/gimpcolorarea.c (gimp_color_area_expose): reordered
      	conditions so that the one that is most expensive to check comes last.
      3da95025
  11. 15 Apr, 2002 2 commits
  12. 14 Apr, 2002 4 commits
    • Michael Natterer's avatar
      serialize the unit factor with g_ascii_formatd() so it is locale · 2a8bab17
      Michael Natterer authored
      2002-04-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpunits.c: serialize the unit factor with
      	g_ascii_formatd() so it is locale independent.
      2a8bab17
    • Michael Natterer's avatar
      added utility functions file_utils_uri_to_utf8_basename() and · 65cfa8db
      Michael Natterer authored
      2002-04-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/file/file-utils.[ch]: added utility functions
      	file_utils_uri_to_utf8_basename() and
      	file_utils_uri_to_utf8_filename().
      
      	* app/nav_window.c
      	* app/undo_history.c
      	* app/display/gimpdisplayshell.c
      	* app/gui/info-window.c
      	* app/gui/menus.c
      	* app/gui/palette-import-dialog.c
      	* app/tools/gimpbycolorselecttool.c
      	* app/widgets/gimpcontainerview-utils.c: use the new functions.
      65cfa8db
    • Michael Natterer's avatar
      Use UTF-8 encoded escaped URIs for GimpImage and GimpImageFile. · 5e51cebc
      Michael Natterer authored
      2002-04-14  Michael Natterer  <mitch@gimp.org>
      
      	Use UTF-8 encoded escaped URIs for GimpImage and GimpImageFile.
      
      	* app/file/file-open.[ch]
      	* app/file/file-save.[ch]
      	* app/file/file-utils.[ch]: port everything to using URIs, removed
      	file_open_absolute_filename() and added file_utils_filename_to_uri()
      	instead.
      
      	* app/core/gimpimage.[ch]: added gimp_image_[get|set]_uri() which
      	works like the old gimp_image_[get|set]_filename().
      	Changed gimp_image_[get|set]_filename() to call uri conversion
      	functions.
      
      	* app/app_procs.c: removed lots of code and use the new uri
      	functions to open images passed on the command line.
      
      	* app/gui/file-open-dialog.c
      	* app/gui/file-save-dialog.c: changed accordingly.
      
      	* app/nav_window.c
      	* app/undo_history.c
      	* app/display/gimpdisplayshell.c
      	* app/gui/info-window.c
      	* app/gui/palette-import-dialog.c
      	* app/tools/gimpbycolorselecttool.c
      	* app/widgets/gimpcontainerview-utils.c:
      	s/gimp_image_get_filename()/gimp_image_get_uri()/g. Need to add
      	a utility function which returns the basename in unescaped UTF-8.
      
      	* app/gui/file-commands.c
      	* app/widgets/gimpdocumentview.c: use "uri", not "filename" as
      	variable name where appropriate.
      
      	* app/gui/menus.c: some broken code for the "Open Recent" items,
      	will be fixed soon...
      
      	* app/widgets/gimpdnd.c: evil (!!!) hackery to convert dropped
      	filenames to uris.
      
      	* tools/pdbgen/pdb/fileops.pdb: changed accordingly. Clarified
      	the meaning of the "raw_filename" parameter.
      
      	* tools/pdbgen/pdb/message.pdb: use g_message("%s", message),
      	*not* g_message(message).
      
      	* app/pdb/fileops_cmds.c
      	* app/pdb/message_cmds.c
      	* libgimp/gimpfileops_pdb.c: regenerated.
      5e51cebc
    • Michael Natterer's avatar
      removed some #if 0'ed stuff. · 6d215cae
      Michael Natterer authored
      2002-04-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimp.c: removed some #if 0'ed stuff.
      
      	* app/gui/edit-commands.c (edit_copy_cmd_callback): call
      	gdisplays_flush() so the menus are updated correctly.
      
      	* app/widgets/gimpitemfactory.c (gimp_item_factory_set_color):
      	pack the original menu item label with TRUE, TRUE into the created
      	hbox so it's accel. label is visible.
      6d215cae
  13. 13 Apr, 2002 1 commit
  14. 12 Apr, 2002 6 commits
    • Chyla Zbigniew's avatar
    • Michael Natterer's avatar
      Well, sometimes the most obvious solution is not the first one... · adad0f47
      Michael Natterer authored
      2002-04-12  Michael Natterer  <mitch@gimp.org>
      
      	Well, sometimes the most obvious solution is not the first one...
      
      	* app/gimphelp.[ch]: removed _gimp_standard_help_func().
      
      	* app/libgimp_glue.c (gimp_standard_help_func): call gimp_help()
      	directly.
      adad0f47
    • Michael Natterer's avatar
      removed usage of "the_gimp" by passing around more "Gimp" pointers. · b46ab216
      Michael Natterer authored
      2002-04-12  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimphelp.[ch]: removed usage of "the_gimp" by passing around
      	more "Gimp" pointers. Renamed gimp_standard_help_func() to
      	_gimp_standard_help_func() and declare it in the header.  Don't
      	include "app_procs.h".
      
      	* app/libgimp_glue.[ch]: added gimp_standard_help_func() here.
      	Call _gimp_standard_help_func (the_gimp, ...) like all other
      	wrappers in this file do. I know this is ugly but better let's
      	have all uglyness in one place (here) :-)
      
      	* app/widgets/gimpitemfactory.[ch]: added a "Gimp" member to the
      	GimpItemFactory struct. Pass it to gimp_help(),
      
      	* app/gui/menus.c: pass a Gimp to gimp_item_factory_new(), removed
      	useless inclusion of "gimphelp.h".
      
      	* tools/pdbgen/pdb/help.pdb: pass a Gimp to gimp_help()
      
      	* app/pdb/help_cmds.c: regenerated.
      
      	* app/gui/tips-dialog.c: removed gtk_quit_add_destroy() here too
      	because the tips dialog is created by a dialog factory which takes
      	care of dialog destruction.
      b46ab216
    • Sven Neumann's avatar
      app/gui/file-open-dialog.c merged fix for bug #51781 from stable branch: · d0429f27
      Sven Neumann authored
      2002-04-12  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/file-open-dialog.c
      	* app/gui/file-save-dialog.c: merged fix for bug #51781 from stable
      	branch: don't gtk_quit_add_destroy() the fileload and filesave widgets.
      d0429f27
    • Sven Neumann's avatar
      fixed uninstall target (bug #78536). · 0b2fa49e
      Sven Neumann authored
      2002-04-12  Sven Neumann  <sven@gimp.org>
      
      	* data/misc/Makefile.am: fixed uninstall target (bug #78536).
      0b2fa49e
    • Sven Neumann's avatar
      plug-ins/common/gtm.c plug-ins/common/illusion.c plug-ins/common/ps.c · ffb7a3d5
      Sven Neumann authored
      2002-04-12  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/gtm.c
      	* plug-ins/common/illusion.c
      	* plug-ins/common/ps.c
      	* plug-ins/common/sparkle.c
      	* plug-ins/common/wind.c
      	* plug-ins/maze/maze_face.c
      	* plug-ins/sel2path/sel2path.c
      	* plug-ins/sel2path/sel2path_adv_dialog.c: applied a patch from
      	<iccii@hotmail.com> that adds calls to gimp_help_free() even though I
      	think that omitting gimp_help_free() is tolerable lazyness (#76984).
      ffb7a3d5