1. 11 May, 2005 1 commit
    • Michael Natterer's avatar
      Some dock refactoring which separates the docking logic from active image · 1f1305c3
      Michael Natterer authored
      2005-05-11  Michael Natterer  <mitch@gimp.org>
      
      	Some dock refactoring which separates the docking logic from
      	active image and UI manager stuff:
      
      	* app/widgets/gimpmenudock.[ch]: new widget renamed from
      	GimpImageDock, zero changes except the name change.
      
      	* app/widgets/gimpimagedock.[ch]: new widget derived from
      	GimpDock. Keeps the UI manager.
      
      	* app/widgets/gimpdock.[ch]: removed the UI manager. GimpDock only
      	contains the basic docking logic again.
      
      	* app/widgets/gimpmenudock.[ch]
      	* app/widgets/gimptoolbox.[ch]: derive them from GimpImageDock.
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/actions/dialogs-commands.c
      	* app/actions/dock-actions.c
      	* app/actions/dock-commands.c
      	* app/actions/dockable-commands.c
      	* app/dialogs/dialogs-constructors.c: changed accordingly.
      1f1305c3
  2. 07 May, 2005 2 commits
  3. 06 May, 2005 2 commits
    • Sven Neumann's avatar
      app/actions/layers-actions.c app/core/gimpimage.c · 2a08c79b
      Sven Neumann authored
      2005-05-06  Sven Neumann  <sven@gimp.org>
      
      	* app/actions/layers-actions.c
      	* app/core/gimpimage.c (gimp_image_position_layer)
      	* app/widgets/gimplayertreeview.c (gimp_layer_tree_view_drop_possible):
      	drop the limitation that layers not at the bottom of the stack
      	have to have an alpha channel. Allow the user to move the
      	background layer up in the stack or reposition it using DND.
      
      	* tips/gimp-tips.xml.in: changed the relevant tip and some more.
      2a08c79b
    • Michael Natterer's avatar
      added enum for the "load_color" actions. · b4f94205
      Michael Natterer authored
      2005-05-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/gradient-editor-commands.h: added enum for the
      	"load_color" actions.
      
      	* app/actions/gradient-editor-actions.c
      	* app/actions/gradient-editor-commands.c: use the new enum instead
      	of magic values, cleanup.
      
      	* app/actions/palette-editor-commands.c: cleanup.
      
      	* app/widgets/gimpbrusheditor.c
      	* app/widgets/gimpdataeditor.c: cleanup.
      
      	* app/widgets/gimpgradienteditor.c: added GtkObject::destroy() and
      	GtkWidget::unmap() implementations which destroy the color dialog.
      	Destroy color dialogs by cancelling them via gtk_dialog_response(),
      	so temporarily changed colors are restored correctly. Refactored
      	my last commit below a bit. Various cleanups.
      
      	* app/widgets/gimppaletteeditor.[ch]: no need to remember the
      	buttons in the GimpPaletteEditor struct.
      b4f94205
  4. 27 Apr, 2005 1 commit
  5. 16 Apr, 2005 1 commit
    • Sven Neumann's avatar
      Applied a patch (with minor modifications) from Karine Delvare that makes · b7ad665c
      Sven Neumann authored
      2005-04-16  Sven Neumann  <sven@gimp.org>
      
      	Applied a patch (with minor modifications) from Karine Delvare
      	that makes it possible to choose between various ways to remove
      	color from a drawable (bug #155507):
      
      	* libgimpbase/gimpbaseenums.h: added new enum GimpDesaturateMode.
      
      	* libgimpbase/gimpbaseenums.c
      	* libgimp/gimpenums.c.tail
      	* plug-ins/pygimp/gimpenums.py
      	* tools/pdbgen/enums.pl: regenerated.
      
      	* app/core/gimpdrawable-desaturate.[ch]: implement other formulas
      	to remove colors from a drawable.
      
      	* tools/pdbgen/pdb/color.pdb: let gimp_desaturate() call
      	gimp_drawable_desaturate() with GIMP_DESATURATE_LIGHTNESS so that
      	it behaves like it always did.
      
      	* app/pdb/color_cmds.c: regenerated.
      
      	* app/dialogs/Makefile.am
      	* app/dialogs/desaturate-dialog.[ch]: new files that define a simple
      	dialog to choose a mode for desaturation.
      
      	* app/actions/drawable-actions.[ch]: use the new dialog.
      b7ad665c
  6. 12 Apr, 2005 1 commit
    • Sven Neumann's avatar
      added gimp_data_factory_refresh(). · c3807c6a
      Sven Neumann authored
      2005-04-13  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpdatafactory.[ch]: added gimp_data_factory_refresh().
      
      	* app/actions/data-commands.c
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/convert.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/palettes.pdb
      	* tools/pdbgen/pdb/patterns.pdb: use the new function.
      
      	* app/pdb/brushes_cmds.c
      	* app/pdb/convert_cmds.c
      	* app/pdb/gradients_cmds.c
      	* app/pdb/palettes_cmds.c
      	* app/pdb/patterns_cmds.c: regenerated.
      c3807c6a
  7. 10 Apr, 2005 1 commit
  8. 07 Apr, 2005 2 commits
    • Sven Neumann's avatar
      changed GimpConfig utility functions to take GObject variables instead of · 333593da
      Sven Neumann authored
      2005-04-07  Sven Neumann  <sven@gimp.org>
      
      	* libgimpconfig/gimpconfig-utils.[ch]: changed GimpConfig utility
      	functions to take GObject variables instead of GimpConfig. There's
      	nothing GimpConfig specific about these utilities.
      
      	* app/actions/templates-commands.c
      	* app/actions/tool-options-commands.c
      	* app/base/base.c
      	* app/config/gimpcoreconfig.c
      	* app/config/gimpdisplayconfig.c
      	* app/config/gimprc.c
      	* app/core/gimpimage-grid.c
      	* app/core/gimpimage-new.c
      	* app/core/gimpstrokedesc.c
      	* app/dialogs/grid-dialog.c
      	* app/dialogs/image-new-dialog.c
      	* app/dialogs/stroke-dialog.c
      	* app/display/gimpdisplayshell.c
      	* app/text/gimptextlayer.c
      	* app/text/gimptextundo.c
      	* app/tools/gimptextoptions.c
      	* libgimpconfig/gimpconfig-iface.c: changed accordingly.
      333593da
    • Sven Neumann's avatar
      app/actions/plug-in-actions.c (plug_in_actions_add_branch) · ec1b12e1
      Sven Neumann authored
      2005-04-07  Sven Neumann  <sven@gimp.org>
      
      	* app/actions/plug-in-actions.c (plug_in_actions_add_branch)
      	* app/core/gimpinterpreterdb.c (resolve_extension)
      	* app/widgets/gimpcolorframe.c (gimp_color_frame_update): plugged
      	memleaks.
      ec1b12e1
  9. 05 Apr, 2005 1 commit
  10. 04 Apr, 2005 2 commits
    • Michael Natterer's avatar
      app/dialogs/Makefile.am removed. · ac8e7db9
      Michael Natterer authored
      2005-04-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/dialogs/Makefile.am
      	* app/dialogs/info-window.[ch]: removed.
      
      	* app/actions/view-actions.c
      	* app/actions/view-commands.[ch]
      	* menus/image-menu.xml.in: removed its action and menu stuff.
      
      	* app/display/gimpdisplayshell-cursor.c
      	* app/display/gimpdisplayshell-title.c
      	* app/display/gimpdisplayshell.[ch]: removed info window stuff.
      	This was the last display -> dialogs dependency.
      
      	* app/dialogs/dialogs.c: added ugly hack that references
      	info_dialog. Otherwise the still existing tools -> dialogs
      	dependency breaks the build.
      ac8e7db9
    • Michael Natterer's avatar
      More unfinished replacement for the info window: · dba31b14
      Michael Natterer authored
      2005-04-05  Michael Natterer  <mitch@gimp.org>
      
      	More unfinished replacement for the info window:
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpimagepropview.[ch]: new widget showing an image's
      	size, resolution, mode, memsize etc.
      
      	* app/dialogs/Makefile.am
      	* app/dialogs/image-properties-dialog.[ch]: a dialog keeping the
      	widget.
      
      	* app/widgets/gimphelp-ids.h: a help ID for the dialog.
      
      	* app/actions/image-actions.c
      	* app/actions/image-commands.[ch]
      	* menus/image-menu.xml.in: action and menu entry for the dialog.
      dba31b14
  11. 03 Apr, 2005 1 commit
    • Michael Natterer's avatar
      added new signals "sample-point-added" and "sample-point-removed" and · 0231374c
      Michael Natterer authored
      2005-04-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimage.[ch]: added new signals "sample-point-added"
      	and "sample-point-removed" and public functions to emit them.
      
      	* app/core/gimpimage-sample-points.c (gimp_image_add_sample_point)
      	(gimp_image_remove_sample_point): emit them accordingly.
      
      	* app/core/gimpimage-undo-push.c (undo_pop_image_sample_point):
      	ditto.
      
      	(undo_pop_image_guide)
      	(undo_pop_image_sample_point): added comments why we add/remove
      	stuff manually instead of using the GimpImage APIs.
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpcursorview.[ch]
      	* app/widgets/gimpsamplepointeditor.[ch]: new widgets.
      	GimpCursorView is a replacement for the info window's "Cursor"
      	page, GimpSamplePointEditor is a view on an image's sample points.
      	The sample point editor does nothing yet except keeping a 2x2 grid
      	of GimpColorFrames. Addresses bug #137776.
      
      	* app/dialogs/dialogs.c
      	* app/dialogs/dialogs-constructors.[ch]: register the new widgets
      	as dockable dialogs.
      
      	* app/actions/dialogs-actions.c (dialogs_dockable_actions)
      	* menus/dialogs-menuitems.xml: added actions and menu items for
      	the new dialogs.
      
      	* app/display/gimpdisplayshell-cursor.c
      	(gimp_display_shell_update_cursor)
      	(gimp_display_shell_clear_cursor): update the new cursor view.
      
      	* app/widgets/gimphelp-ids.h: help IDs for the new dialogs.
      
      	* app/widgets/widgets-enums.[ch] (enum GimpColorFrameMode):
      	changed description "Pixel values" to "Pixel" because the former
      	was too long.
      0231374c
  12. 24 Mar, 2005 5 commits
    • Michael Natterer's avatar
      app/core/core-enums.[ch] app/core/gimpimage-undo-push.[ch] eek, my · 46a25c2c
      Michael Natterer authored
      2005-03-24  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/core-enums.[ch]
      	* app/core/gimpimage-undo-push.[ch]
      	* app/core/gimplayermask.[ch]: eek, my fault... removed
      	GIMP_UNDO_LAYER_MASK_EDIT stuff again because that just determines
      	the active drawable, which must not affect undo.
      
      	* app/pdb/pdb_glue.h
      	* app/actions/layers-commands.c (layers_mask_edit_cmd_callback):
      	changed accordingly.
      
      	(layers_mask_disable_cmd_callback): reverted last change. the old
      	code was correct.
      46a25c2c
    • William Skaggs's avatar
      Bill Skaggs <weskaggs@primate.ucdavis.edu> · b5f1ae88
      William Skaggs authored
      	* app/core/core-enums.[ch]
      	* app/core/gimpimage-undo-push.[ch]
      	* app/core/gimplayermask.[ch]:
      	* app/pdb/pdb_glue.h
      	* app/actions/layers-commands.c: try again from clean tree;
      	hopefully will work this time.  (bug #148852)
      b5f1ae88
    • Michael Natterer's avatar
      Added API to explicitly register dynamic menu items hierarchies. Fixes bug · 0a5ce16b
      Michael Natterer authored
      2005-03-24  Michael Natterer  <mitch@gimp.org>
      
      	Added API to explicitly register dynamic menu items hierarchies.
      	Fixes bug #170623.
      
      	* app/core/gimp.h: added "GSList *plug_in_menu_branches".
      
      	* app/plug-in/plug-in-types.h
      
      	* app/plug-in/plug-ins.[ch]: added API to register plug-in menu
      	branches, just as for locale and help domans. Cleaned up handling
      	of locale and help domains.
      
      	(plug_ins_exit): free the registered menu branches.
      
      	* app/actions/plug-in-actions.[ch] (plug_in_actions_add_branch):
      	new function to explicitly add a menu branch action.
      
      	(plug_in_actions_setup): add the registered menu branches to each
      	new action group.
      
      	(plug_in_actions_build_path): always strip the untranslated menu
      	path from underlines before using it as hash table key or action
      	name.
      
      	* app/menus/plug-in-menus.c (plug_in_menus_add_proc): changed
      	accordingly: strip underlines from untranslated menu paths before
      	passing them to plug_in_menus_build_path().
      
      	* app/core/gimp-gui.[ch]: added gimp_menus_create_branch() plus
      	vtable entry to access the new stuff from the core. Renamed the
      	functions desling with items from gimp_foo_entry() to
      	gimp_foo_item().
      
      	* app/gui/gui-vtable.c: implement create_branch() and add the
      	branch action to all existing "plug-in" action groups. Note that
      	we don't need to create any menus because that happens implicitly
      	when adding menu items.
      
      	* tools/pdbgen/pdb/plug_in.pdb (plugin_menu_branch_register): new
      	PDB wrapper to access branch registering from plug-ins.
      
      	* app/pdb/internal_procs.c
      	* app/pdb/plug_in_cmds.c
      	* libgimp/gimpplugin_pdb.[ch]: regenerated.
      
      	* libgimp/gimp.def: changed accordingly.
      
      	* plug-ins/script-fu/script-fu-scripts.c (script_fu_find_scripts):
      	register the menu branches for all included scripts.
      0a5ce16b
    • Sven Neumann's avatar
      app/actions/layers-commands.c app/core/core-enums.[ch] · 4314dca0
      Sven Neumann authored
      2005-03-24  Sven Neumann  <sven@gimp.org>
      
      	* app/actions/layers-commands.c
      	* app/core/core-enums.[ch]
      	* app/core/gimpimage-undo-push.[ch]
      	* app/pdb/pdb_glue.h: reverted Bill's changes to fix the build.
      4314dca0
    • William Skaggs's avatar
      Bill Skaggs <weskaggs@primate.ucdavis.edu> · 72241e5e
      William Skaggs authored
      	* app/core/core-enums.[ch]
      	* app/core/gimpimage-undo-push.[ch]
      	* app/pdb/pdb_glue.h
      	* app/actions/layers-commands.c: make layer mask property changes
      	undoable, should fix bug #148852.  Note that a little shape-layer
      	stuff is in core-enums, will be needed shortly.
      72241e5e
  13. 21 Mar, 2005 1 commit
  14. 16 Mar, 2005 1 commit
    • Sven Neumann's avatar
      app/actions/layers-actions.c app/actions/plug-in-actions.c · d08584c0
      Sven Neumann authored
      2005-03-17  Sven Neumann  <sven@gimp.org>
      
      	* app/actions/layers-actions.c
      	* app/actions/plug-in-actions.c
      	* app/actions/view-actions.c
      	* plug-ins/common/compose.c
      	* plug-ins/common/dog.c
      	* plug-ins/pygimp/plug-ins/py-slice.py
      	* plug-ins/script-fu/scripts/i26-gunya2.scm
      	* plug-ins/script-fu/scripts/news-text.scm
      	* plug-ins/script-fu/scripts/text-circle.scm: applied patch from
      	Michael Terry that adds missing mnemonics (bug #106991).
      d08584c0
  15. 05 Mar, 2005 1 commit
    • Michael Natterer's avatar
      app/actions/view-actions.c app/actions/view-commands.[ch] · be6a9d2a
      Michael Natterer authored
      2005-03-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/view-actions.c
      	* app/actions/view-commands.[ch]
      	* app/config/gimprc-blurbs.h
      	* app/core/core-enums.[ch]
      	* app/core/gimp.c
      	* app/core/gimpimage-crop.c
      	* app/core/gimpimage-undo-push.[ch]
      	* app/core/gimpimage.c
      	* app/display/gimpdisplayoptions.[ch]
      	* app/display/gimpdisplayshell-appearance.[ch]
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell-draw.[ch]
      	* app/widgets/gimphelp-ids.h
      	* menus/image-menu.xml.in: reordered stuff to be in guides, grid,
      	sample points order. Some cleanup and indentation.
      be6a9d2a
  16. 04 Mar, 2005 3 commits
    • Michael Natterer's avatar
      in the spirit of the fix for bug #165618 below, allow tools to specify up · 1870b5d5
      Michael Natterer authored
      2005-03-04  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimptoolcontrol.[ch]: in the spirit of the fix for bug
      	#165618 below, allow tools to specify up to two "object actions"
      	(actions which select brushes, patterns, ...).
      
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimptexttool.c: set actions where appropriate.
      
      	* app/actions/actions.c (action_select_object): allow objects to
      	be selected by index.
      
      	* app/actions/context-actions.c: added actions which select
      	objects by index. Not really used but the same actions can be used
      	to generically pass any GimpActionSelectType enum value to the
      	action callbacks.
      
      	* app/actions/tools-actions.c
      	* app/actions/tools-commands.[ch]: added actions and callbacks
      	for the new generic tool objects.
      
      	Also fixed and cleaned up the new generic tool value code.
      1870b5d5
    • William Skaggs's avatar
      Bill Skaggs <weskaggs@primate.ucdavis.edu> · ea267753
      William Skaggs authored
      	* app/core/gimpimage-sample-points.c
      	* app/core/gimpimage-sample-points.h: new files
      
      	* app/actions/view-actions.c
      	* app/actions/view-commands.c
      	* app/actions/view-commands.h
      	* app/config/gimprc-blurbs.h
      	* app/core/Makefile.am
      	* app/core/core-enums.c
      	* app/core/core-enums.h
      	* app/core/core-types.h
      	* app/core/gimp.c
      	* app/core/gimp.h
      	* app/core/gimpimage-crop.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-flip.c
      	* app/core/gimpimage-rotate.c
      	* app/core/gimpimage-scale.c
      	* app/core/gimpimage-undo-push.c
      	* app/core/gimpimage-undo-push.h
      	* app/core/gimpimage.c
      	* app/core/gimpimage.h
      	* app/display/gimpdisplayoptions.c
      	* app/display/gimpdisplayoptions.h
      	* app/display/gimpdisplayshell-appearance.c
      	* app/display/gimpdisplayshell-appearance.h
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell-draw.c
      	* app/display/gimpdisplayshell-draw.h
      	* app/display/gimpdisplayshell-handlers.c
      	* app/display/gimpdisplayshell.c
      	* app/display/gimpdisplayshell.h
      	* app/widgets/gimphelp-ids.h
      	* menus/image-menu.xml.in: add support for a list of "sample
      	points" in each image, coded and handled very similarly to
      	guides, for use mainly in color correction.  See bug #137776.
      ea267753
    • Michael Natterer's avatar
      Fixed bug #165618: · a303b44c
      Michael Natterer authored
      2005-03-04  Michael Natterer  <mitch@gimp.org>
      
      	Fixed bug #165618:
      
      	* app/tools/gimptoolcontrol.[ch]: added new functions
      	gimp_tool_control_set/get_action_value_1/2/3/4() which allow tools
      	to specify their primary, secondary etc. "values" using
      	action-identifying strings like "context/context-brush-radius-set".
      
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpcolortool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimppainttool.c: set actions where appropriate. Still
      	needs some way to document the mapping in a user-visible way.
      
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbucketfilltool.c: tab removal and minor cleanups.
      
      	* app/actions/actions.[ch]: added utility function
      	action_select_property().
      
      	* app/actions/tools-actions.c
      	* app/actions/tools-commands.[ch]: added actions and callbacks for
      	setting the ink blob size, aspect and angle. Also added actions
      	and callbacks for the new generic tool values.
      a303b44c
  17. 26 Feb, 2005 1 commit
    • Sven Neumann's avatar
      removed the "last_visited" field from GimpGradient. Instead added the new · 8de1e94b
      Sven Neumann authored
      2005-02-27  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpgradient.[ch]: removed the "last_visited" field
      	from GimpGradient. Instead added the new function
      	gimp_gradient_get_color_at_segment() that allows the caller to do
      	the same optimization.
      
      	* app/actions/gradient-editor-commands.c
      	* app/core/gimpdrawable-blend.c
      	* app/core/gimppalette-import.c
      	* app/paint/gimppaintoptions.c
      	* app/widgets/gimpgradienteditor.c
      	* app/widgets/gimpgradientselect.c
      	* app/widgets/gimpviewrenderergradient.c: changed accordingly.
      
      	* app/pdb/gradient_cmds.c
      	* app/pdb/gradients_cmds.c: regenerated.
      8de1e94b
  18. 24 Feb, 2005 2 commits
    • Sven Neumann's avatar
      preselect the image just as in file_open_from_image_cmd_callback(). · 9c1c0081
      Sven Neumann authored
      2005-02-24  Sven Neumann  <sven@gimp.org>
      
      	* app/actions/file-commands.c (file_open_as_layer_cmd_callback):
      	preselect the image just as in file_open_from_image_cmd_callback().
      9c1c0081
    • Michael Natterer's avatar
      Allow to resize layers with the image. Fixes bug #87789. · 03182eba
      Michael Natterer authored
      2005-02-24  Michael Natterer  <mitch@gimp.org>
      
      	Allow to resize layers with the image. Fixes bug #87789.
      
      	* app/core/core-enums.[ch]: added enum GimpImageResizeLayers which
      	can be one of { NONE, MATCHING, ALL }.
      
      	* app/core/gimpimage-resize.[ch]: added new function
      	gimp_image_resize_with_layers().
      
      	* app/dialogs/resize-dialog.[ch]: added a "Layers" frame
      	containing a "Resize Layers" combo box offering the choices above.
      	Changed GimpResizeCallback signature accordingly.
      
      	* app/actions/image-commands.c
      	* app/actions/layers-commands.c: changed accordingly.
      03182eba
  19. 21 Feb, 2005 1 commit
  20. 20 Feb, 2005 1 commit
  21. 19 Feb, 2005 1 commit
    • Hans Breuer's avatar
      TILE_WIDTH is used unconditionally so always include "tile.h" WIN32 needs · c6f63ea4
      Hans Breuer authored
      2005-02-19  Hans Breuer  <hans@breuer.org>
      
      	* app/base/pixel-processor.c : TILE_WIDTH is used unconditionally
      	so always include "tile.h"
      	* app/base/tile-swap.c : WIN32 needs <process.h> for _getpid()
      
      	* app/dialogs/user-install-dialog.c : include gimpwin32-io.h
      	* libgimpbase/gimpwin32-io.h : there are no group or other
      	flags in msvcrt, define S_IGRP etc in terms of _S_IREAD etc
      
      	* plug-ins/script-fu/script-fu.c plug-ins/script-fu/siod-wrapper.c :
      	no script-fu server on win32, make respective function calls conditional
      
      	* libgimpconfig/makefile.msc : new file
      	* **/makefile.msc app/gimpcore.def : updated, gimp builds
      	and runs once more with ms toolchain
      c6f63ea4
  22. 13 Feb, 2005 2 commits
    • Michael Natterer's avatar
      removed file_save() and renamed file_save_as() to file_save() which always · 1c7e7a16
      Michael Natterer authored
      2005-02-13  Michael Natterer  <mitch@gimp.org>
      
      	* app/file/file-save.[ch]: removed file_save() and renamed
      	file_save_as() to file_save() which always requires "uri" and
      	"file_proc" to be passed. This functions does no more file_proc by
      	extension finding and stuff.
      
      	* app/actions/file-commands.c (file_save_cmd_callback): only call
      	file_save() if the image has both uri and save_proc, fall back to
      	file_save_as_cmd_callback() otherwise.
      
      	* app/dialogs/file-save-dialog.c: completely chopped and
      	reconstructed. Added tons of checks for extension vs. save_proc
      	consistency and ask the user if she really wants to save weird
      	stuff. Added masive debugging output because I'm far from certain
      	that everything is correct.
      1c7e7a16
    • Sven Neumann's avatar
      check for gthread-2.0 unless the --disable-mp option is given. · 9511753a
      Sven Neumann authored
      2005-02-13  Sven Neumann  <sven@gimp.org>
      
      	* configure.in: check for gthread-2.0 unless the --disable-mp
      	option is given.
      
      	* app/app_procs.c (app_libs_init): call g_thread_init().
      
      	* app/base/pixel-processor.c: ported to GThread.
      
      	* app/Makefile.am
      	* app/*/Makefile.am: use @GTHREAD_CFLAGS@.
      9511753a
  23. 11 Feb, 2005 2 commits
  24. 10 Feb, 2005 1 commit
    • Sven Neumann's avatar
      app/actions/data-commands.c app/actions/edit-commands.c · 3fef8514
      Sven Neumann authored
      2005-02-10  Sven Neumann  <sven@gimp.org>
      
      	* app/actions/data-commands.c
      	* app/actions/edit-commands.c
      	* app/actions/error-console-commands.c
      	* app/actions/file-commands.c
      	* app/actions/gradient-editor-commands.c
      	* app/actions/gradients-commands.c
      	* app/actions/plug-in-commands.c
      	* app/actions/templates-commands.c
      	* app/actions/text-editor-commands.c
      	* app/actions/tool-options-commands.c
      	* app/dialogs/image-new-dialog.c
      	* app/dialogs/resize-dialog.c
      	* app/display/gimpdisplayshell-close.c
      	* app/display/gimpdisplayshell-filter-dialog.c
      	* app/display/gimpdisplayshell-scale.c
      	* app/tools/gimpimagemaptool.c
      	* app/tools/gimptexttool.c
      	* libgimp/gimpexport.c
      	* libgimpwidgets/gimpcolorbutton.c
      	* libgimpwidgets/gimpfileentry.c
      	* libgimpwidgets/gimpquerybox.c
      	* libgimpwidgets/gimpunitmenu.c: applied another patch by Patrice
      	Tremblay to make more dialogs obey the alternative button order
      	setting (bug #166678).
      3fef8514
  25. 08 Feb, 2005 2 commits
    • Michael Natterer's avatar
      app/actions/file-actions.c app/actions/image-actions.c · 3d69ff11
      Michael Natterer authored
      2005-02-08  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/file-actions.c
      	* app/actions/image-actions.c
      	* app/actions/qmask-actions.c
      	* app/actions/tools-actions.c: removed ugly accel_path hacks
      	(don't g_object_set_data(action, "gimp-accel-path", "foo")).
      
      	* app/widgets/gimpactionview.c (gimp_action_view_accel_edited):
      	simply use gtk_action_get_accel_path() instead of doing even more
      	ugly stuff than above.
      3d69ff11
    • Michael Natterer's avatar
      return the active display's shell instead of the toolbox when called from · ac01f3b8
      Michael Natterer authored
      2005-02-08  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/actions.c (action_data_get_widget): return the
      	active display's shell instead of the toolbox when called from the
      	<Image> popup. Fall back to the toolbox if there is no active
      	display. Fixes bug #166012.
      ac01f3b8
  26. 03 Feb, 2005 1 commit