1. 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
  2. 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
  3. 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
  4. 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
  5. 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
  6. 20 Jun, 2005 1 commit
  7. 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
  8. 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
  9. 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
  10. 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
  11. 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
  12. 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
  13. 19 Feb, 2005 1 commit
  14. 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
  15. 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
  16. 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
  17. 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
  18. 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
  19. 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
  20. 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
  21. 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
  22. 29 Oct, 2004 1 commit
  23. 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
  24. 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
  25. 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
  26. 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
  27. 28 Aug, 2004 1 commit
  28. 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
  29. 27 Jul, 2004 1 commit
  30. 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
  31. 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
  32. 22 Jun, 2004 1 commit
    • Michael Natterer's avatar
      app/actions/view-actions.c added actions & callbacks to configure the · 9fe8e849
      Michael Natterer authored
      2004-06-22  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/view-actions.c
      	* app/actions/view-commands.[ch]: added actions & callbacks to
      	configure the canvas padding color.
      
      	* app/widgets/gimphelp-ids.h
      	* menus/image-menu.xml.in: added the actions' help IDs and menu entries.
      
      	* app/display/display-enums.h: added /*< skip >*/'ed enum value
      	GIMP_CANVAS_PADDING_MODE_RESET.
      
      	* app/display/gimpdisplayshell-appearance.c
      	* app/display/gimpdisplayshell-callbacks.[ch]
      	* app/display/gimpdisplayshell-handlers.c
      	* app/display/gimpdisplayshell.[ch]: removed the canvas padding
      	button and its popup menu (fixes bug #142996). Instead, added a
      	toggle button which allows to zoom the image when the window is
      	resized (as known from sodipodi, except it doesn't work as nice
      	yet :-) improvements to the algorithm are welcome).
      	Cleaned up the GimpDisplayShell struct a bit and renamed some
      	of its members.
      
      	* libgimpwidgets/gimpstock.[ch]
      	* themes/Default/images/Makefile.am
      	* themes/Default/images/stock-zoom-follow-window-12.png: added new
      	icon for the new display toggle button.
      9fe8e849
  33. 20 Jun, 2004 1 commit
    • Philip Lafleur's avatar
      Changed "Zoom to Fit Window" command to "Fit Image in Window" and added · c7364a64
      Philip Lafleur authored
      2004-06-20  Philip Lafleur  <plafleur@cvs.gnome.org>
      
      	* app/display/gimpdisplayshell-scale.[ch]:
      	* app/display/gimpnavigationview.[ch]:
      	* app/actions/view-actions.c:
      	* app/actions/view-commands.[ch]:
      	* app/widgets/gimphelp-ids.h:
      	* menus/image-menu.xml.in: Changed "Zoom to Fit Window" command
      	to "Fit Image in Window" and added another command, "Fit Image
      	to Window", that zooms according to the opposite dimension. Fixes
      	bug #144597.
      c7364a64
  34. 17 Jun, 2004 1 commit
    • Michael Natterer's avatar
      removed "enabled" property. Removed GIMP_CONTROLLER_PARAM_RERIALIZE from · 5f4eabdb
      Michael Natterer authored
      2004-06-17  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimpcontroller.[ch]: removed "enabled"
      	property. Removed GIMP_CONTROLLER_PARAM_RERIALIZE from the "name"
      	property because it's the hardware-determined name of this
      	controller instance.
      
      	* app/widgets/gimpcontrollerwheel.c
      	* modules/controller_linux_input.c: set the name.
      
      	* libgimpwidgets/gimpwidgets.h: #include gimpcontroller.h.
      
      	* app/widgets/gimpcontrollerinfo.[ch]: added "enabled" here
      	instead.  Don't dispatch events if the controller is
      	disabled. Made everything work (not crash) with info->mapping
      	being NULL.
      
      	* etc/controllerrc: updated again with the changed format.
      
      	* app/widgets/gimpcontrollers.[ch]: added
      	gimp_controllers_get_list() which returns the container of
      	controllers.
      
      	* app/widgets/gimphelp-ids.h
      	* app/gui/preferences-dialog.c: added controller configuration
      	(can't change anything yet, just view the current settings).
      	Resurrected the "Input Devices" page and removed the "Session"
      	page by moving its widgets to other pages. Pack the various
      	"Save now"/"Clear now" buttons vertically, not horizontally.
      	Fixes bug #139069.
      
      	* themes/Default/images/preferences/Makefile.am
      	* themes/Default/images/preferences/controllers.png
      	* themes/Default/images/preferences/theme.png: new icons for new
      	prefs pages. Someone needs to make them nice...
      5f4eabdb
  35. 09 Jun, 2004 1 commit
    • Sven Neumann's avatar
      added an API to expand/collapse the "Advanced Options" frame. · 38b78ce9
      Sven Neumann authored
      2004-06-10  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimptemplateeditor.[ch]: added an API to
      	expand/collapse the "Advanced Options" frame.
      
      	* app/gui/preferences-dialog.c
      	* app/widgets/gimphelp-ids.h: applied a patch done by William
      	Skaggs that cleans up and reorganizes the Preferences dialog
      	(bug #144060).
      38b78ce9
  36. 31 May, 2004 2 commits
    • Michael Natterer's avatar
      app/widgets/Makefile.am new toolbox area which shows the active image. · dbc49d9a
      Michael Natterer authored
      2004-05-31  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/Makefile.am
      	* app/widgets/gimptoolbox-image-area.[ch]: new toolbox area which
      	shows the active image.
      
      	* app/config/gimpguiconfig.[ch]
      	* app/config/gimprc-blurbs.h: added config options to control the
      	visibility of the toolbox' color, indicator and image areas.
      
      	* app/widgets/gimptoolbox.[ch]: added the image area and honor the
      	new config options. Put the various areas into their own wrap box.
      
      	* app/widgets/gimptoolbox-dnd.c: changed accordingly.
      
      	* app/widgets/gimphelp-ids.h: added a help ID for the image area.
      
      	* app/widgets/gimptoolbox-indicator-area.c: made the previews
      	a bit larger, cleanup.
      
      	* app/gui/preferences-dialog.c: added a "Toolbox" page as GUI for
      	the new config options.
      
      	* themes/Default/images/preferences/Makefile.am
      	* themes/Default/images/preferences/toolbox.png: a (wrong) icon
      	for the "Toolbox" prefs page. Needs to be replaced.
      dbc49d9a
    • Sven Neumann's avatar
      app/Makefile.am app/actions/file-actions.c app/actions/file-commands.[ch] · a03ad36c
      Sven Neumann authored
      2004-05-31  Sven Neumann  <sven@gimp.org>
      
      	* app/Makefile.am
      	* app/actions/file-actions.c
      	* app/actions/file-commands.[ch]
      	* app/gui/Makefile.am
      	* app/gui/file-open-location-dialog.[ch]
      	* app/widgets/gimphelp-ids.h
      	* menus/image-menu.xml.in
      	* menus/toolbox-menu.xml.in: added a rudimentary "Open Location"
      	dialog.
      a03ad36c
  37. 04 May, 2004 1 commit
    • Michael Natterer's avatar
      emit the "undo-freeze" and "undo-thaw" signals only on the first freeze · a3059675
      Michael Natterer authored
      2004-05-04  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimage.c (gimp_image_undo_freeze,thaw): emit the
      	"undo-freeze" and "undo-thaw" signals only on the first freeze and
      	last thaw, not on any of them.
      
      	* app/widgets/gimphelp-ids.h: added GIMP_HELP_EDIT_UNDO_CLEAR.
      
      	* app/widgets/gimpundoeditor.[ch]: added a "Clear Undo History"
      	button. Fixes bug #136300.
      
      	Also don't attach to the image's undo stack if the image's undo is
      	disabled and set the buttons' sensitivity accordingly. Should fix
      	all kinds of unpredictable undo history brokenness.
      a3059675
  38. 28 Jan, 2004 1 commit