1. 13 May, 2006 1 commit
    • Michael Natterer's avatar
      Added some new text layer actions and menu items (bug #316299). · 875af9c5
      Michael Natterer authored
      2006-05-13  Michael Natterer  <mitch@gimp.org>
      
      	Added some new text layer actions and menu items (bug #316299).
      
      	* app/actions/layers-actions.c: added actions for "Text to Path",
      	"Text along Path" and "Text to Selection" (use the alpha to
      	selection callback for text to selection)
      
      	* app/actions/layers-commands.[ch]: added
      	layers_text_to_vectors_cmd_callback() and
      	layers_text_along_vectors_cmd_callback().
      
      	* app/widgets/gimphelp-ids.h: help IDs for the new actions.
      
      	* menus/image-menu.xml.in
      	* menus/layers-menu.xml: added them to the layers menus in the
      	image window and the layers dialog.
      875af9c5
  2. 12 Jan, 2006 1 commit
    • Sven Neumann's avatar
      app/actions/actions.c app/actions/cursor-info-actions.c · 004a78e2
      Sven Neumann authored
      2006-01-12  Sven Neumann  <sven@gimp.org>
      
      	* app/actions/actions.c
      	* app/actions/cursor-info-actions.c
      	* app/actions/dialogs-actions.c
      	* app/config/gimprc-blurbs.h
      	* app/dialogs/dialogs.c
      	* app/dialogs/preferences-dialog.c
      	* app/widgets/gimphelp-ids.h: use the term Pointer instead of
      	Cursor when refering to the mouse pointer (bug #326700).
      004a78e2
  3. 31 Oct, 2005 1 commit
    • 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
  4. 25 Oct, 2005 1 commit
    • 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
  5. 30 Sep, 2005 1 commit
  6. 24 Sep, 2005 1 commit
    • Michael Natterer's avatar
      Applied (slightly modified) patch from Sylvain Foret which adds "Close · 71cf9ee2
      Michael Natterer authored
      2005-09-24  Michael Natterer  <mitch@gimp.org>
      
      	Applied (slightly modified) patch from Sylvain Foret which adds
      	"Close All" menu entries and dialog. Fixes bug #163532.
      
      	* app/actions/file-actions.c
      	* app/actions/file-commands.[ch]: added "file-close-all" action
      	and callback.
      
      	* app/dialogs/dialogs-constructors.[ch]
      	* app/dialogs/dialogs.c
      	* app/dialogs/quit-dialog.[ch]: added close all dialog which is a
      	modified quit dialog.
      
      	* app/widgets/gimphelp-ids.h: added help ID.
      
      	* menus/image-menu.xml.in
      	* menus/toolbox-menu.xml.in: add close all next to quit.
      71cf9ee2
  7. 19 Sep, 2005 1 commit
    • Michael Natterer's avatar
      Did a global s/qmask/quick-mask/: · 1adf3d71
      Michael Natterer authored
      2005-09-19  Michael Natterer  <mitch@gimp.org>
      
      	Did a global s/qmask/quick-mask/:
      
      	* app/actions/qmask-actions.[ch]
      	* app/actions/qmask-commands.[ch]
      	* app/core/gimpimage-qmask.[ch]
      	* menus/qmask-menu.xml
      	* themes/Default/images/stock-qmask-off-16.png
      	* themes/Default/images/stock-qmask-on-16.png: removed.
      
      	* app/actions/quick-mask-actions.[ch]
      	* app/actions/quick-mask-commands.[ch]
      	* app/core/gimpimage-quick-mask.[ch]
      	* menus/quick-mask-menu.xml
      	* themes/Default/images/stock-quick-mask-off-16.png
      	* themes/Default/images/stock-quick-mask-on-16.png: added.
      
      	* app/actions/Makefile.am
      	* app/actions/actions.c
      	* app/core/Makefile.am
      	* app/core/core-enums.[ch]
      	* app/core/gimpchannel.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-undo.c
      	* app/core/gimpimage.[ch]
      	* app/core/gimpundo.[ch]
      	* app/display/gimpdisplayshell-appearance.c
      	* app/display/gimpdisplayshell-callbacks.[ch]
      	* app/display/gimpdisplayshell-handlers.c
      	* app/display/gimpdisplayshell.[ch]
      	* app/menus/menus.c
      	* app/widgets/gimphelp-ids.h
      	* libgimpwidgets/gimpstock.[ch]
      	* menus/Makefile.am
      	* menus/image-menu.xml.in
      	* themes/Default/images/Makefile.am: changed accordingly.
      1adf3d71
  8. 07 Aug, 2005 1 commit
    • Michael Natterer's avatar
      new function. · 4c6d9ddd
      Michael Natterer authored
      2005-08-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimplayer.[ch] (gimp_layer_flatten): new function.
      
      	* app/actions/layers-actions.c
      	* app/actions/layers-commands.[ch]
      	* app/widgets/gimphelp-ids.h
      	* menus/image-menu.xml.in
      	* menus/layers-menu.xml: added "Remove Alpha Channel" action,
      	action callback, help ID and menu items. Fixes bug #309762.
      4c6d9ddd
  9. 29 Jul, 2005 1 commit
    • Sven Neumann's avatar
      added gimp_scan_convert_render_value(), a variant of · a5abd453
      Sven Neumann authored
      2005-07-29  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpscanconvert.[ch]: added
      	gimp_scan_convert_render_value(), a variant of
      	gimp_scan_convert_render() that allows to pass the foreground value.
      
      	* app/tools/gimpfreeselecttool.[ch]: added a virtual "select" method.
      
      	* app/tools/Makefile.am
      	* app/tools/gimp-tools.c
      	* app/tools/gimpforegroundselecttool.[ch]: added a rough first
      	version of foreground selection tool based on the SIOX algorithm.
      	Work in progress...
      
      	* app/widgets/gimphelp-ids.h: added help-id for the new tool.
      a5abd453
  10. 10 Jul, 2005 1 commit
    • Michael Natterer's avatar
      app/actions/layers-actions.c app/actions/layers-commands.[ch] · 20b4769c
      Michael Natterer authored
      2005-07-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/layers-actions.c
      	* app/actions/layers-commands.[ch]
      	* app/core/core-enums.[ch]
      	* app/core/gimpimage-undo-push.[ch]
      	* app/core/gimplayer-floating-sel.c
      	* app/core/gimplayer.[ch]
      	* app/text/gimptextlayer-xcf.c
      	* app/widgets/gimphelp-ids.h
      	* app/widgets/gimplayertreeview.[ch]
      	* app/xcf/xcf-load.c
      	* app/xcf/xcf-private.h
      	* app/xcf/xcf-save.c
      	* tools/pdbgen/pdb/layer.pdb
      	* menus/image-menu.xml.in
      	* libgimp/gimp.def: did a global s/preserve_trans/lock_alpha/ in
      	preparation for more layer locking flags.
      
      	* app/pdb/procedural_db.c
      	* libgimp/gimplayer.[ch]: added compat stuff for preserve_trans.
      
      	* app/pdb/layer_cmds.c
      	* libgimp/gimplayer_pdb.[ch]: regenerated.
      
      	* plug-ins/common/colortoalpha.c
      	* plug-ins/common/iwarp.c
      	* plug-ins/common/psd.c
      	* plug-ins/common/psd_save.c
      	* plug-ins/common/psp.c
      	* plug-ins/common/rotate.c
      	* plug-ins/common/threshold_alpha.c
      	* plug-ins/common/vpropagate.c
      	* plug-ins/script-fu/scripts/3d-outline.scm
      	* plug-ins/script-fu/scripts/alien-glow-bar.scm
      	* plug-ins/script-fu/scripts/alien-glow-bullet.scm
      	* plug-ins/script-fu/scripts/alien-glow-logo.scm
      	* plug-ins/script-fu/scripts/basic1-logo.scm
      	* plug-ins/script-fu/scripts/basic2-logo.scm
      	* plug-ins/script-fu/scripts/beveled-pattern-button.scm
      	* plug-ins/script-fu/scripts/blend-anim.scm
      	* plug-ins/script-fu/scripts/blended-logo.scm
      	* plug-ins/script-fu/scripts/bovinated-logo.scm
      	* plug-ins/script-fu/scripts/burn-in-anim.scm
      	* plug-ins/script-fu/scripts/carved-logo.scm
      	* plug-ins/script-fu/scripts/chalk.scm
      	* plug-ins/script-fu/scripts/chip-away.scm
      	* plug-ins/script-fu/scripts/comic-logo.scm
      	* plug-ins/script-fu/scripts/coolmetal-logo.scm
      	* plug-ins/script-fu/scripts/crystal-logo.scm
      	* plug-ins/script-fu/scripts/drop-shadow.scm
      	* plug-ins/script-fu/scripts/gimp-headers.scm
      	* plug-ins/script-fu/scripts/gimp-labels.scm
      	* plug-ins/script-fu/scripts/glowing-logo.scm
      	* plug-ins/script-fu/scripts/gradient-bevel-logo.scm
      	* plug-ins/script-fu/scripts/image-structure.scm
      	* plug-ins/script-fu/scripts/neon-logo.scm
      	* plug-ins/script-fu/scripts/perspective-shadow.scm
      	* plug-ins/script-fu/scripts/starburst-logo.scm
      	* plug-ins/script-fu/scripts/starscape-logo.scm
      	* plug-ins/script-fu/scripts/textured-logo.scm
      	* plug-ins/script-fu/scripts/title-header.scm
      	* plug-ins/script-fu/scripts/waves-anim.scm
      	* plug-ins/xjt/xjt.c: changed accordingly.
      20b4769c
  11. 09 Jul, 2005 1 commit
    • Michael Natterer's avatar
      added "sample-merged" property and API. Pass it to · df4aa071
      Michael Natterer authored
      2005-07-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpsamplepointeditor.[ch]: added "sample-merged"
      	property and API. Pass it to gimp_image_pick_color().
      
      	* app/actions/Makefile.am
      	* app/actions/actions.c
      	* app/actions/sample-point-editor-actions.[ch]
      	* app/actions/sample-point-editor-commands.[ch]: actions and
      	callbacks for the sample point editor's menu.
      
      	* app/widgets/gimphelp-ids.h: its help IDs.
      
      	* app/menus/menus.c
      	* menus/Makefile.am
      	* menus/sample-point-editor-menu.xml: the sample point editor menu.
      df4aa071
  12. 08 Jul, 2005 1 commit
    • Michael Natterer's avatar
      added boolean "sample-merged" property, API and GUI. Pick from the active · 2f7388db
      Michael Natterer authored
      2005-07-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpcursorview.[ch]: added boolean "sample-merged"
      	property, API and GUI. Pick from the active drawable if it's
      	FALSE.
      
      	* app/actions/Makefile.am
      	* app/actions/actions.c
      	* app/actions/cursor-info-actions.[ch]
      	* app/actions/cursor-info-commands.[ch]: new files with actions
      	and callbacks for the cursor info dialog's menu.
      
      	* app/widgets/gimphelp-ids.h: help IDs for above actions.
      
      	* app/dialogs/dialogs.c: follow help ID change.
      
      	* app/menus/menus.c
      	* menus/Makefile.am
      	* menus/cursor-info-menu.xml: add the cursor-info menu.
      
      	* app/dialogs/dialogs-constructors.c: pass the menu factory to
      	gimp_cursor_view_new().
      2f7388db
  13. 07 Jul, 2005 1 commit
    • Michael Natterer's avatar
      app/actions/documents-actions.c app/actions/documents-commands.[ch] · 8611bb4c
      Michael Natterer authored
      2005-07-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/documents-actions.c
      	* app/actions/documents-commands.[ch]
      	* app/widgets/gimphelp-ids.h
      	* menus/documents-menu.xml: added "Copy Image Location" to the
      	document history popup menu which copies the image's URI to
      	clipbpard and primary.
      8611bb4c
  14. 20 Jun, 2005 1 commit
  15. 04 Jun, 2005 1 commit
    • Sven Neumann's avatar
      app/actions/dockable-actions.c app/actions/dockable-commands.[ch] · 5412fac0
      Sven Neumann authored
      2005-06-04  Sven Neumann  <sven@gimp.org>
      
      	* app/actions/dockable-actions.c
      	* app/actions/dockable-commands.[ch]
      	* app/widgets/gimpeditor.[ch]
      	* app/widgets/gimphelp-ids.h
      	* menus/dockable-menu.xml.in: allow to show/hide the button-bar in
      	GimpEditor. Should be merged into the GimpDocked interface.
      5412fac0
  16. 04 Apr, 2005 1 commit
    • 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
  17. 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
  18. 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
  19. 04 Mar, 2005 1 commit
    • 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
  20. 21 Feb, 2005 1 commit
    • Manish Singh's avatar
      Support for custom plug-in interpreters, independent of OS support. · 9706fce0
      Manish Singh authored
      2005-02-20  Manish Singh  <yosh@gimp.org>
      
              Support for custom plug-in interpreters, independent of OS support.
      
              * app/core/Makefile.am
              * app/core/core-types.h
              * app/core/gimpinterpreterdb.[ch]: implemented GimpInterpreterDB,
              which handles registering and resolving custom plug-in interpreters.
      
              * app/core/gimp.[ch]: keep a GimpInterpreterDB around.
      
              * app/config/gimpcoreconfig.[ch]
              * app/config/gimprc-blurbs.h
              * app/dialogs/preferences-dialog.c
              * app/dialogs/user-install-dialog.c
              * app/widgets/gimphelp-ids.h: interpreter-path config stuff.
      
              * app/plug-in/plug-in.c: use registered interpreters when running
              plug-ins.
      
              * themes/Default/images/preferences/Makefile.am
              * themes/Default/images/preferences/folders-interp.png: just copied
              folders-plug-ins.png here, need a better one.
      
              * data/interpreters/Makefile.am: creates system interpreter directory.
      
              * data/interpreters/default.interp: sample interpreter file info.
      
              * data/Makefile.am
              * configure.in: add data/interpreters directory.
      
              * plug-ins/pygimp/Makefile.am: install pygimp.interp, which configures
              the python interpreter to point to the python we were built with. Also
              register the .py extension.
      
              * etc/gimprc
              * docs/gimprc.5.in: regenerated
      9706fce0
  21. 19 Feb, 2005 1 commit
  22. 08 Feb, 2005 1 commit
    • Sven Neumann's avatar
      gimp-mkenums doesn't seem to like newlines in enum definitions. · 4fc86a04
      Sven Neumann authored
      2005-02-08  Sven Neumann  <sven@gimp.org>
      
      	* libgimpconfig/gimpcolorconfig-enums.[ch]: gimp-mkenums doesn't
      	seem to like newlines in enum definitions.
      
      	* libgimpconfig/gimpcolorconfig.[ch]: removed the "profile-path"
      	property for now. It doesn't work too well with GimpFileEntry.
      	We can add it back later if it turns out that we really need it.
      
      	* app/dialogs/preferences-dialog.c
      	* app/widgets/gimphelp-ids.h: added a color management page to the
      	preferences dialog.
      4fc86a04
  23. 26 Jan, 2005 1 commit
    • Michael Natterer's avatar
      app/actions/dockable-actions.c removed dock-related actions · 1ba788fd
      Michael Natterer authored
      2005-01-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/dockable-actions.c
      	* app/actions/dockable-commands.[ch]: removed dock-related
      	actions (show-image-menu, auto-follow-active and move-to-screen).
      
      	* app/actions/dock-actions.c
      	* app/actions/dock-commands.[ch]: and added them here.
      
      	* app/menus/menus.c: add the "dock" action group to the
      	"<Dockable>" UI Manager.
      
      	* app/widgets/gimphelp-ids.h: reordered to match the new grouping.
      
      	* menus/dockable-menu.xml.in: changed accordingly.
      1ba788fd
  24. 23 Jan, 2005 1 commit
    • Michael Natterer's avatar
      Enabled closing docks with Ctrl-W: · 8d3c38c9
      Michael Natterer authored
      2005-01-24  Michael Natterer  <mitch@gimp.org>
      
      	Enabled closing docks with Ctrl-W:
      
      	* app/actions/Makefile.am
      	* app/actions/dock-actions.[ch]
      	* app/actions/dock-commands.[ch]: added new action group which
      	holds a single action, "dock-close".
      
      	* app/actions/actions.c: register the "dock" group.
      
      	* app/menus/menus.c: add it to the "<Dock>" UI manager.
      
      	* app/widgets/gimphelp-ids.h: added GIMP_HELP_DOCK_CLOSE.
      8d3c38c9
  25. 13 Jan, 2005 1 commit
    • Michael Natterer's avatar
      Allow to easily open brushes and patterns as images. Fixes bug #163059. · 0f4e2168
      Michael Natterer authored
      2005-01-13  Michael Natterer  <mitch@gimp.org>
      
      	Allow to easily open brushes and patterns as images.
      	Fixes bug #163059.
      
      	* app/actions/brushes-actions.c
      	* app/actions/patterns-actions.c: added "brushes-open-as-image"
      	and "patterns-open-as-image" actions.
      
      	* app/actions/data-commands.[ch]: added
      	data_open_as_image_cmd_callback() which tries to load
      	data->filename as image.
      
      	* app/widgets/gimphelp-ids.h: added help IDs for the new actions.
      
      	* app/widgets/gimpdatafactoryview.c: added buttons.
      
      	* menus/brushes-menu.xml
      	* menus/patterns-menu.xml: added them to the menus.
      0f4e2168
  26. 03 Jan, 2005 1 commit
    • Michael Natterer's avatar
      Implemented "Snap to Canvas Edges" (fixes bug #152971) and "Snap to Active · 150bea1e
      Michael Natterer authored
      2005-01-03  Michael Natterer  <mitch@gimp.org>
      
      	Implemented "Snap to Canvas Edges" (fixes bug #152971) and
      	"Snap to Active Path" (half way done):
      
      	* app/core/gimpimage-snap.[ch]: added boolean snap_to_canvas and
      	snap_to_vectors parameters (snap_to_vectors works fine when
      	snapping to a point, but is unimplemented for snapping to a
      	rectangle).
      
      	* app/display/gimpdisplayshell.[ch] (struct GimpDisplayShell):
      	added snap_to_canvas and snap_to_vectors booleans.
      
      	* app/display/gimpdisplayshell-appearance.[ch]: added API to
      	get/set them.
      
      	* app/actions/view-actions.c
      	* app/actions/view-commands.[ch]
      	* app/widgets/gimphelp-ids.h: added actions, callbacks and help IDs.
      
      	* menus/image-menu.xml.in: added them to Image->View.
      150bea1e
  27. 12 Dec, 2004 1 commit
    • Michael Natterer's avatar
      added new function copy_region_nocow() as a workaround for the fact that · 53c3ff18
      Michael Natterer authored
      2004-12-12  Michael Natterer  <mitch@gimp.org>
      
      	* app/paint-funcs/paint-funcs.[ch]: added new function
      	copy_region_nocow() as a workaround for the fact that sharing
      	tiles with the projection is heavily broken.
      
      	* app/base/tile-manager.c (tile_invalidate): added a warning when
      	entering the code path that breaks badly.
      
      	* app/core/gimp-edit.[ch]: added gimp_edit_copy_visible(), using
      	the non-COW copying function above.
      
      	* app/widgets/gimphelp-ids.h: added GIMP_HELP_COPY_VISIBLE.
      
      	* app/actions/edit-actions.c
      	* app/actions/edit-commands.[ch]: added action & callback for
      	"edit-copy-visible".
      
      	* menus/image-menu.xml.in: added "edit-copy-visible" to the image
      	menu.
      
      	* tools/pdbgen/pdb/edit.pdb: added gimp_edit_copy_visible()
      	PDB wrapper.
      
      	* app/pdb/edit_cmds.c
      	* app/pdb/internal_procs.c
      	* libgimp/gimpedit_pdb.[ch]: regenerated.
      
      	* plug-ins/script-fu/scripts/copy-visible.scm: removed all code
      	and made it a backward compat wrapper around gimp-edit-copy-visible.
      	Fixes bug #138662.
      53c3ff18
  28. 24 Nov, 2004 1 commit
    • Michael Natterer's avatar
      guarded the whole header with GIMP_ENABLE_CONTROLLER_UNDER_CONSTRUCTION · 6d63d500
      Michael Natterer authored
      2004-11-24  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimpcontroller.[ch]: guarded the whole header
      	with GIMP_ENABLE_CONTROLLER_UNDER_CONSTRUCTION because it's no
      	fixed API yet. Added a "state" property bacause "name" was abused
      	as the controller's state. Added "help_domain" to the controller
      	class.
      
      	* libgimpwidgets/gimpwidgets.h: don't include gimpcontroller.h
      
      	* modules/controller_linux_input.c
      	* modules/controller_midi.c: set the "name" property to the name
      	retrieved from the device, or to a default string if no name is
      	available. Store the status in the "state" property. Added and
      	changed some strings, but it's better to have the controller
      	strings untranslated than to have no tooltips at all or misleading
      	labels.
      
      	* app/widgets/gimpcontrollerkeyboard.c
      	* app/widgets/gimpcontrollerwheel.c: set default strings for both.
      
      	* app/widgets/gimpcontrollereditor.c: added a GUI for the "state"
      	property.
      
      	* app/widgets/gimpcontrollerkeyboard.h
      	* app/widgets/gimpcontrollerwheel.h
      	* app/widgets/gimpcontrollerinfo.c
      	* app/widgets/gimpcontrollers.c: #define
      	GIMP_ENABLE_CONTROLLER_UNDER_CONSTRUCTION (just as in all files
      	above).
      
      	* app/widgets/gimphelp-ids.h: added the IDs of all controller
      	modules and also of all other modules. The defines are not
      	actually used, but this file is the canonical place to collect all
      	the core's help IDs.
      6d63d500
  29. 13 Nov, 2004 1 commit
    • Sven Neumann's avatar
      app/dialogs/Makefile.am new files for the Print Size dialog that is still · 9ac6ecef
      Sven Neumann authored
      2004-11-13  Sven Neumann  <sven@gimp.org>
      
      	* app/dialogs/Makefile.am
      	* app/dialogs/print-size-dialog.[ch]: new files for the Print Size
      	dialog that is still missing. Still work in progress...
      
      	* app/actions/image-actions.c
      	* app/actions/image-commands.[ch]
      	* app/widgets/gimphelp-ids.h
      	* menus/image-menu.xml.in: integrate the new dialog.
      9ac6ecef
  30. 29 Oct, 2004 1 commit
  31. 04 Oct, 2004 1 commit
    • Sven Neumann's avatar
      app/config/gimpguiconfig.[ch] added gimprc option "show-help-button". · 62b5c77c
      Sven Neumann authored
      2004-10-04  Sven Neumann  <sven@gimp.org>
      
              * app/config/gimpguiconfig.[ch]
              * app/config/gimprc-blurbs.h: added gimprc option "show-help-button".
      
              * app/dialogs/preferences-dialog.c: added a GUI for it.
      
              * app/dialogs/file-save-dialog.c
              * app/dialogs/image-new-dialog.c
              * app/dialogs/quit-dialog.c
              * app/display/gimpdisplayshell-close.c
              * app/widgets/gimphelp-ids.h: don't set help-ids on confirmation
              dialogs.
      
              * libgimpbase/gimpprotocol.[ch]
              * libgimp/gimp.[ch]: added boolean "show_help_button" to the
              config message.
      
              * app/plug-in/plug-in-run.c: pass the new preference to the plug-in.
      
              * libgimpwidgets/gimpdialog.[ch]: added new function that allows to
              set whether new dialogs should get a help button added.
      
              * app/gui/gui.c
              * libgimp/gimpui.c: call gimp_dialogs_show_help_button() according
              to the gimprc settings.
      62b5c77c
  32. 21 Sep, 2004 1 commit
    • Michael Natterer's avatar
      For the sake of completeness, added a GUI for the hidden "Open as Layer" · 37912655
      Michael Natterer authored
      2004-09-21  Michael Natterer  <mitch@gimp.org>
      
      	For the sake of completeness, added a GUI for the hidden
      	"Open as Layer" feature:
      
      	* app/actions/file-actions.c
      	* app/actions/file-commands.[ch]: added "file-open-as-layer"
      	action and callback. Abuse the "gimage" field of GimpFileDialog to
      	indicate layer opening (it's otherwise unused for file-open).
      
      	* app/dialogs/file-open-dialog.c: if dialog->gimage is non-NULL,
      	open the selected files as layers for that image.
      
      	* app/widgets/gimphelp-ids.h: added GIMP_HELP_FILE_OPEN_AS_LAYER.
      
      	* menus/image-menu.xml.in: added it to the menu.
      37912655
  33. 15 Sep, 2004 1 commit
    • Michael Natterer's avatar
      added help IDs for the drawable- and vectors-visible and -liked actions as · 186b5908
      Michael Natterer authored
      2004-09-15  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimphelp-ids.h: added help IDs for the drawable- and
      	vectors-visible and -liked actions as well as for the layer mask
      	property action.
      
      	* app/actions/drawable-actions.c
      	* app/actions/vectors-actions.c: use them.
      
      	* app/actions/layers-actions.c
      	* app/actions/layers-commands.[ch]: ditto. Use
      	GIMP_STOCK_TRANSPARENCY for all layer opacity actions. Replaced
      	"paint_mode" by "mode" in all action and function/variable names
      	because this is the layer mode, not a paint mode.
      
      	* app/actions/channels-commands.c
      	* app/actions/layers-commands.c
      	* app/actions/vectors-commands.c: set the "activates-default"
      	property on the name entry in all "New Foo" and "Edit Foo
      	Attributes" dialogs except in the "New Layer" dialog.
      	Addresses bug #148026.
      
      	* menus/image-menu.xml.in: added a (commented out) layer
      	properties menu containing all the new actions.
      186b5908
  34. 04 Sep, 2004 1 commit
    • Simon Budig's avatar
      Implement function to resize the image to contain all layers completely. · fe7eb34e
      Simon Budig authored
      2004-09-05  Simon Budig  <simon@gimp.org>
      
      	* app/core/gimpimage-resize.[ch]: Implement function to resize
      	the image to contain all layers completely. Untabified.
      
      	* app/actions/image-actions.c
      	* app/actions/image-commands.[ch]
      	* app/widgets/gimphelp-ids.h
      	* menus/image-menu.xml.in: Make it available in the GUI.
      
      	* tools/pdbgen/pdb/image.pdb: Make it available in the PDB.
      
      	* app/pdb/image_cmds.c
      	* app/pdb/internal_procs.c
      	* libgimp/gimpimage_pdb.[ch]: regenerated.
      fe7eb34e
  35. 28 Aug, 2004 1 commit
  36. 18 Aug, 2004 1 commit
    • Sven Neumann's avatar
      define GIMP_HELP_DOCK_SEPARATOR. · 2d5ee448
      Sven Neumann authored
      2004-08-18  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimphelp-ids.h: define GIMP_HELP_DOCK_SEPARATOR.
      
      	* app/widgets/gimpdock.c
      	* app/widgets/gimpdockable.c: help-ids are never used directly,
      	use the defines from app/widgets/gimphelp-ids.h instead.
      2d5ee448
  37. 27 Jul, 2004 1 commit
  38. 26 Jul, 2004 1 commit
    • Michael Natterer's avatar
      new function which clears the whole list of data set by plug-ins. · a2b85a62
      Michael Natterer authored
      2004-07-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/pdb/procedural_db.[ch] (procedural_db_free_data): new
      	function which clears the whole list of data set by plug-ins.
      
      	(procedural_db_free): use it.
      
      	* app/actions/plug-in-actions.c
      	* app/actions/plug-in-commands.[ch]: added action, callback and
      	confirmation dialog for "Reset all filters to default values".
      	Somehow addresses bug #81015.
      
      	* app/widgets/gimphelp-ids.h: added a help ID for the new action.
      
      	* menus/image-menu.xml.in: added it to the "Filters" submenu.
      a2b85a62
  39. 17 Jul, 2004 2 commits
    • Michael Natterer's avatar
      added the removed help IDs back. · 09c6ee73
      Michael Natterer authored
      2004-07-17  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimphelp-ids.h: added the removed help IDs back.
      
      	* app/widgets/gimpfileprocview.[ch]: cache all file_procs' help
      	IDs and added gimp_file_proc_view_get_help_id() which returns the
      	selected item's help ID.
      
      	* app/widgets/gimpfiledialog.c: added a custom help func which
      	shows the help for the selected file_proc if the proc_view has the
      	focus.
      09c6ee73
    • Sven Neumann's avatar
      use GIMP_STOCK_WEB for "file-open-location". · d95059db
      Sven Neumann authored
      2004-07-17  Sven Neumann  <sven@gimp.org>
      
      	* app/actions/file-actions.c (file_actions): use GIMP_STOCK_WEB
      	for "file-open-location".
      
      	* app/widgets/gimpfiledialog.c: create the scrolled window with
      	shadow_type GTK_SHADOW_IN.
      
      	* app/widgets/gimpfileprocview.c (gimp_file_proc_view_new): skip
      	procedures that register a prefix (the URL loader).
      
      	* app/widgets/gimphelp-ids.h: removed help IDs that used to be
      	used from the file-open and file-save menus.
      
      	* plug-ins/common/xwd.c (query): "X window dump" seems to be more
      	appropriate than "X window image".
      d95059db