1. 31 Oct, 2005 4 commits
    • Sven Neumann's avatar
      added new action command data_copy_location_cmd_callback(). · fb28e0be
      Sven Neumann authored
      2005-10-31  Sven Neumann  <sven@gimp.org>
      
      	* app/actions/data-commands.[ch]: added new action command
      	data_copy_location_cmd_callback().
      
      	* app/actions/brushes-actions.c
      	* app/actions/gradients-actions.c
      	* app/actions/palettes-actions.c
      	* app/actions/patterns-actions.c
      	* app/widgets/gimphelp-ids.h
      	* menus/brushes-menu.xml
      	* menus/gradients-menu.xml
      	* menus/palettes-menu.xml
      	* menus/patterns-menu.xml: added Copy Location menu entries to all
      	data views. Allows to retrieve the file location for data files.
      fb28e0be
    • Tor Lillqvist's avatar
      Drop unnecessary <sys/stat.h>. (gtk_config): Drop the GIMP 1.2.x and · b6dc7ab0
      Tor Lillqvist authored
      2005-10-31  Tor Lillqvist  <tml@novell.com>
      
      	* gimptool-win32.c.in: Drop unnecessary <sys/stat.h>.
      	(gtk_config): Drop the GIMP 1.2.x and gtk+-1-3-win32-production
      	support.
      	(get_cflags): Output GIMP's -I switch before GTK's CFLAGS. Use
      	"include/gimp-2.0" instead of just "include".
      	(get_libs, get_libs_noui): Update the list of libraries to match
      	reality, use GIMP_API_VERSION in library names.
      	(get_sys_plugin_dir): Use GIMP_PLUGIN_VERSION and not
      	GIMP_MAJOR_VERSION.GIMP_MINOR_VERSION in the plug-in folder name.
      b6dc7ab0
    • Sven Neumann's avatar
      app/core/gimpdata.[ch] applied a heavily modified version of the patch · c00173cc
      Sven Neumann authored
      2005-10-31  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpdata.[ch]
      	* app/core/gimpdatafactory.c: applied a heavily modified version
      	of the patch provided by Shlomi Fish in bug #311740. Introduces a
      	cache to speed up reloading of data files.
      
      	* app/actions/data-commands.c: set gimp busy while refreshing data
      	factories.
      
      	* app/widgets/gimpwidgets-utils.c (gimp_widget_accel_changed):
      	free the return value of gimp_get_accel_string().
      c00173cc
    • Michael Natterer's avatar
      add GimpViewType parameter. · 2b6a5f45
      Michael Natterer authored
      2005-10-31  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpviewablebutton.[ch] (gimp_viewable_button_new):
      	add GimpViewType parameter.
      
      	* app/widgets/gimptemplateeditor.c
      	* app/widgets/gimpviewablebox.c: pass view types, using grid view
      	for brushes and patterns ass suggested in bug #315443.
      2b6a5f45
  2. 30 Oct, 2005 2 commits
    • Michael Natterer's avatar
      Fixed bug #316395: · e3e53dca
      Michael Natterer authored
      2005-10-30  Michael Natterer  <mitch@gimp.org>
      
      	Fixed bug #316395:
      
      	* app/actions/dialogs-actions.c (dialogs_dockable_actions)
      	* app/actions/quick-mask-actions.c (quick_mask_toggle_actions):
      	added tooltips to action entries.
      
      	* app/display/gimpdisplayshell.c (gimp_display_shell_new): use
      	gimp_widget_set_accel_help() to set the tooltip so it contains
      	the accelerator.
      
      	* app/dialogs/dialogs-constructors.c (dialogs_dockable_constructor):
      	attach the dialog's identifier to the dockable widget (hack).
      
      	* app/widgets/gimpdockbook.c (gimp_dockbook_get_tab_widget): use
      	the attached identifier to find the action for this dockable in
      	the dock's UI manager (HACK HACK). Use the found action to set
      	a tooltip with accelerator.
      
      	* app/widgets/gimpwidgets-utils.c (gimp_widget_set_accel_help):
      	fixed bug in fallback code what should never be used.
      e3e53dca
    • Michael Natterer's avatar
      removed shift+ctrl+t accelerator from dialogs-tool-options because it's · 86888a6a
      Michael Natterer authored
      2005-10-30  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/dialogs-actions.c (dialogs_dockable_actions): removed
      	shift+ctrl+t accelerator from dialogs-tool-options because it's
      	already taken by view-show-guides. Fixes bug #320196.
      86888a6a
  3. 29 Oct, 2005 4 commits
    • Michael Natterer's avatar
      added global "oldgimp_major" an "oldgimp_minor" variables. · 27a2c5b0
      Michael Natterer authored
      2005-10-29  Michael Natterer  <mitch@gimp.org>
      
      	* app/dialogs/user-install-dialog.c: added global "oldgimp_major"
      	an "oldgimp_minor" variables.
      
      	(user_install_dialog_run): set them to the version of the gimp
      	directory that should be migrated.
      
      	(user_install_migrate_files): skip "menurc" only when migrating
      	from 2.0. Fixes bug #317170.
      27a2c5b0
    • Michael Natterer's avatar
      Fix bug #145492: · dea7c482
      Michael Natterer authored
      2005-10-29  Michael Natterer  <mitch@gimp.org>
      
      	 Fix bug #145492:
      
      	* app/actions/file-commands.c (file_save_cmd_callback)
      	* app/dialogs/file-save-dialog.c (file_save_dialog_save_image):
      	set the "file-quit" action insensitive while the image is being
      	saved to prevent data loss.
      
      	* app/widgets/gimptoolbox.c (gimp_toolbox_delete_event): activate
      	the "file-quit" action instead of calling gimp_exit() directly so
      	trying to close the toolbox while saving is impossible too.
      dea7c482
    • Michael Natterer's avatar
      allocate both oversize buffers with the right size, instead of one twice · 77697d70
      Michael Natterer authored
      2005-10-29  Michael Natterer  <mitch@gimp.org>
      
      	* app/paint/gimpconvolve.c (gimp_convolve_motion): allocate both
      	oversize buffers with the right size, instead of one twice with
      	the wrong size. Was broken since porting to pixel_region_init_data().
      	Spotted by Seth Burgess. Fixes bug #317340.
      77697d70
    • Michael Natterer's avatar
      improved documentation of gimp-image-clean-all and gimp-image-is-dirty. · be8215ef
      Michael Natterer authored
      2005-10-29  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/image.pdb: improved documentation of
      	gimp-image-clean-all and gimp-image-is-dirty. Fixes bug #318075.
      
      	* app/pdb/image_cmds.c
      	* libgimp/gimpimage_pdb.c: regenerated.
      be8215ef
  4. 28 Oct, 2005 7 commits
    • Michael Natterer's avatar
      removed "colors-transform-menu". · bc3bd4d6
      Michael Natterer authored
      2005-10-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/image-actions.c: removed "colors-transform-menu".
      
      	* menus/image-menu.xml.in: revamped again: Moved desaturate and
      	the invert items to the toplevel, into a separator-enclosed group.
      	Changed Modify to a placeholder again. Things that have no useful
      	category can't go to a sub-menu, so please don't invent one just
      	for the sake of it.
      
      	* plug-ins/common/channel_mixer.c: -> Colors/Components
      	* plug-ins/common/vinvert.c: -> Colors/Invert
      bc3bd4d6
    • Carol Spears's avatar
      Changed colors-modify-menu to colors-transform-menu moved Desaturate and · f956fd85
      Carol Spears authored
      * app/actions/image-actions.c: Changed colors-modify-menu to colors-transform-menu
      * menus/image-menu.xml.in: moved Desaturate and Invert into the tools section of the colors-menu.
      f956fd85
    • Sven Neumann's avatar
      renamed to "Alien Map". · 554b4947
      Sven Neumann authored
      2005-10-28  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/AlienMap2.c: renamed to "Alien Map".
      554b4947
    • Sven Neumann's avatar
      also moved into Colors/Modify. · 82e0f99c
      Sven Neumann authored
      2005-10-28  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/hot.c: also moved into Colors/Modify.
      
      	* menus/image-menu.xml.in: moved Info submenu to the bottom.
      82e0f99c
    • Sven Neumann's avatar
      applied a patch by Tobias Lenz that makes use of the state that was added · d5d9640f
      Sven Neumann authored
      2005-10-28  Sven Neumann  <sven@gimp.org>
      
      	* app/base/siox.c: applied a patch by Tobias Lenz that makes use
      	of the state that was added to SIOX in order to speed up the tool.
      d5d9640f
    • Sven Neumann's avatar
      added new signal "activate" and emit it if the user activates an item in · d6da6d0f
      Sven Neumann authored
      2005-10-28  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimppageselector.[ch]: added new signal "activate"
      	and emit it if the user activates an item in the icon view.
      
      	* plug-ins/common/poppler.c
      	* plug-ins/common/postscript.c: activate the dialog if the page
      	selector emits "activate" as suggested in bug #320080.
      d6da6d0f
    • Sven Neumann's avatar
      INSTALL handle gimpprint just like other libraries. It doesn't make sense · 572f255c
      Sven Neumann authored
      2005-10-28  Sven Neumann  <sven@gimp.org>
      
      	* INSTALL
      	* configure.in: handle gimpprint just like other libraries. It
      	doesn't make sense any longer to require it.
      
      	* app/paint/gimpink-blob.c: commented out unused code.
      572f255c
  5. 27 Oct, 2005 2 commits
    • Manish Singh's avatar
      declare component_pixels, combine_mask_and_alpha_channel_{stipple,stroke}. · 58a93cc1
      Manish Singh authored
      2005-10-27  Manish Singh  <yosh@gimp.org>
      
              * app/paint-funcs/paint-funcs.h: declare component_pixels,
              combine_mask_and_alpha_channel_{stipple,stroke}. Fixes bug #319811.
      58a93cc1
    • Michael Natterer's avatar
      check for gnome-keyring. · 2084dc2c
      Michael Natterer authored
      2005-10-27  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in: check for gnome-keyring.
      
      	* plug-ins/uri/uri-backend.h
      	* plug-ins/uri/uri-backend-wget.c
      	* plug-ins/uri/uri-backend-gnomevfs.c: added "plugin_name",
      	boolean "run" and "run_mode" parameters to uri_backend_init().
      
      	* plug-ins/uri/uri-backend-gnomevfs.c (uri_backend_init):
      	initialize the gnome authentication manager only when called
      	interactively from "run". Also call gimp_ui_init() when using the
      	auth manager, since recent versions seem to require an already
      	initialized GTK+. When running noninteractively and gnome-keyring
      	is available, implement the needed GnomeVFS authentication
      	callbacks ourselves and ask gnome-keyring directly.
      
      	* plug-ins/uri/uri.c: pass the additional parameters to
      	uri_backend_init().
      2084dc2c
  6. 26 Oct, 2005 3 commits
  7. 25 Oct, 2005 8 commits
    • Michael Natterer's avatar
      Fixed bug #313547: · 27b76451
      Michael Natterer authored
      2005-10-26  Michael Natterer  <mitch@gimp.org>
      
      	Fixed bug #313547:
      
      	* app/widgets/gimpdataeditor.c
      	(gimp_data_editor_set_aux_info)
      	(gimp_data_editor_get_aux_info): store the state of edit_active
      	in sessionrc.
      
      	(gimp_data_editor_constructor): enable edit_active by default.
      27b76451
    • Michael Natterer's avatar
      Let the data editors optionally follow the active brush, palette and · f546e1e7
      Michael Natterer authored
      2005-10-25  Michael Natterer  <mitch@gimp.org>
      
      	Let the data editors optionally follow the active brush, palette
      	and gradient. Still needs to be saved in sessionrc and probably
      	be enabled by default. Addresses bug #313547.
      
      	* app/widgets/gimpdataeditor.[ch]: added new functions
      	gimp_data_editor_set,get_edit_active().
      
      	Make it configurable from the palette and gradient editor menus:
      
      	* app/actions/gradient-editor-actions.c
      	* app/actions/palette-editor-actions.c: added actions...
      
      	* app/actions/data-editor-commands.[ch]: ...and callbacks...
      	(new file).
      
      	* app/widgets/gimphelp-ids.h: ...help IDs...
      
      	* menus/gradient-editor-menu.xml
      	* menus/palette-editor-menu.xml: ...and menu items.
      
      	Add menu to the brush editor and make it configurable there too:
      
      	* app/actions/Makefile.am
      	* app/actions/actions.c
      	* app/actions/brush-editor-actions.[ch]
      	* app/menus/menus.c
      	* menus/Makefile.am
      	* menus/brush-editor-menu.xml: added all the bits needed for
      	the new menu.
      
      	* app/widgets/gimpbrusheditor.[ch]: use the menu. Added menu_factory
      	paramater to the contstructor.
      
      	* app/dialogs/dialogs-constructors.c: changed accordingly.
      f546e1e7
    • Michael Natterer's avatar
      app/display/gimpdisplayshell-close.c app/widgets/gimpactionview.c · 3af60ead
      Michael Natterer authored
      2005-10-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/gimpdisplayshell-close.c
      	* app/widgets/gimpactionview.c
      	* modules/controller_midi.c: g_source_unref() GSources after
      	attaching them.
      3af60ead
    • David Odin's avatar
      correctly pass the region offset to pixel_region_get_row(). · 0fe6fad4
      David Odin authored
      * app/paint-funcs/scale-funcs.c (subsample_region): correctly pass
        the region offset to pixel_region_get_row().
      0fe6fad4
    • William Skaggs's avatar
      Bill skaggs <weskaggs@primate.ucdavis.edu> · 9a6085b2
      William Skaggs authored
      	* app/tools/gimppaintoptions-gui.c (jitter_options_gui):
      	Use a scale entry instead of spinbutton for jitter amount,
      	as discussed in bug #163049.
      9a6085b2
    • Michael Natterer's avatar
      the color samples are always RGB or RGBA, so always compare 3 or 4 bytes · c218c4be
      Michael Natterer authored
      2005-10-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimage-contiguous-region.c
      	(struct ContinuousRegionData)
      	(gimp_image_contiguous_region_by_color)
      	(contiguous_region_by_color): the color samples are always RGB or
      	RGBA, so always compare 3 or 4 bytes of pixel data, and not just
      	the number of bytes of the drawable/projection. Fixes "select by
      	color" on GRAYA (bug #319683).
      c218c4be
    • Sven Neumann's avatar
      add G_GNUC_INTERNAL to declaration of wrapped PDB functions. · dc4757ce
      Sven Neumann authored
      2005-10-25  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/lib.pl: add G_GNUC_INTERNAL to declaration of
      	wrapped PDB functions.
      
      	* libgimp/gimpchannel_pdb.h
      	* libgimp/gimpdrawable_pdb.h
      	* libgimp/gimpgimprc_pdb.h
      	* libgimp/gimpimage_pdb.h
      	* libgimp/gimplayer_pdb.h
      	* libgimp/gimpplugin_pdb.h
      	* libgimp/gimpproceduraldb_pdb.h
      	* libgimp/gimpprogress_pdb.h
      	* libgimp/gimpselection_pdb.h
      	* libgimp/gimpunit_pdb.h: regenerated.
      
      	* libgimp/gimptile.h
      	* libgimp/gimpunitcache.h
      	* libgimpthumb/gimpthumb-utils.h
      	* libgimpwidgets/gimpcolorarea.h
      	* libgimpwidgets/gimphelpui.h: declare internal functions as such
      	using G_GNUC_INTERNAL.
      dc4757ce
    • Sven Neumann's avatar
      added getter and setter for path visibility (bug #319617). · a0fa08c1
      Sven Neumann authored
      2005-10-25  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/pdb/paths.pdb: added getter and setter for path
      	visibility (bug #319617).
      
      	* app/pdb/internal_procs.c
      	* app/pdb/paths_cmds.c
      	* libgimp/gimppaths_pdb.[ch]: regenerated.
      
      	* libgimp/gimp.def: updated.
      a0fa08c1
  8. 24 Oct, 2005 4 commits
  9. 21 Oct, 2005 1 commit
  10. 20 Oct, 2005 5 commits