Commit Graph

11586 Commits

Author SHA1 Message Date
Nate Summers d3ca47f99a spiffy new widget that given a physical size, displays that size in an
* libgimpwidgets/gimpresolutionentry.[ch]: spiffy new widget that given
	a physical size, displays that size in an arbitrary unit, and lets
	you select a resolution via changing either the corresponding width
	and height or specifying it directly in pixels per your chosen unit.

	* libgimpwidgets/Makefile.am
	* libgimpwidgets/gimpwidgets.def
	* libgimpwidgets/gimpwidgets.h
	* libgimpwidgets/gimpwidgetstypes.h: added appropriate files, function,
	headers, and types, respectively

	* devel-docs/libgimpwidgets/libgimpwidgets.types: added
	gimp_resolution_entry_get_type.  A section still needs to be created
	for it.

	* plug-ins/common/poppler.c (run): bugfix that accidentally wasn't
	merged in previous commit.

	* plug-ins/common/poppler.c (load_dialog): replaced resolution
	spinbutton with a GimpResolutionEntry.
2005-07-17 08:30:41 +00:00
Sven Neumann b8725f4878 added comments about possible improvements.
2005-07-16  Sven Neumann  <sven@gimp.org>

	* app/base/siox.c: added comments about possible improvements.
2005-07-16 00:00:11 +00:00
Nate Summers bf865b3e41 bah evil epiphany error messages 2005-07-15 23:54:58 +00:00
Nate Summers b1d0b2c13a merged in all the changes in my current gimp-poppler tree that don't need
* plug-ins/common/poppler.c: merged in all the changes in my
	current gimp-poppler tree that don't need c++ or cause regressions.
	Insignificant code cleanups.

	* plug-ins/common/poppler.c (load_dialog): display title of pdf
	at the top of the dialog, and show the page labels in the page
	selector.  The loop for the page labels might be profitably moved
	into another thread, but I haven't actually timed how long it takes
	to be sure.
2005-07-15 23:49:21 +00:00
Nathan Summers addd96b0ce add poppler's CFLAGS, and make the comment about how
2005-07-16  Nathan Summers  <rock@gimp.org>

        * plug-ins/common/mkgen.pl: add poppler's CFLAGS, and make the
        comment about how plug-ins/common/Makefile.am is autogenerated
        more prominent

        * plug-ins/common/.cvsignore
        * plug-ins/common/Makefile.am:
2005-07-15 23:27:48 +00:00
Nate Summers bf8cae8f81 initial import into CVS. There was much rejoicing.
* plug-ins/common/poppler.c: initial import into CVS.  There was much
	rejoicing.

 	* configure.in: check for gthread-2.0 in the poppler check, because
	it is not necessarily checked for elsewhere.  Once other threaded
	plugins become available, this probably should be moved.

	Also removed the HAVE_POPPLER am conditional; it wasn't needed.

	* plug-ins/common/Makefile.am: added poppler to the build process
2005-07-15 22:57:26 +00:00
Sven Neumann e28327299a also show the number of pixels.
2005-07-16  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpimagepropview.[ch]: also show the number of pixels.
2005-07-15 22:51:48 +00:00
Sven Neumann 3b99ced260 Makefile.am added a rough implementation of the foreground extraxtion
2005-07-16  Sven Neumann  <sven@gimp.org>

	* Makefile.am
	* plug-ins/benchmark-foreground-extract.py: added a rough
	implementation of the foreground extraxtion benchmark as proposed
	in the GrabCut paper. See comments in the file for details.
2005-07-15 22:48:46 +00:00
Carol Spears cc3ac4a9ca corrected the spelling of the word tassel.
* docs/Wilber_Construction_Kit.xcf.gz:  corrected the spelling of the word
  tassel.
2005-07-15 21:46:44 +00:00
Carol Spears d788471608 added a tassle and a fez.
* docs/Wilber_Construction_Kit.xcf.gz:  added a tassle and a fez.
2005-07-15 20:51:54 +00:00
Sven Neumann 395c6dbf70 fixed implementations.
2005-07-15  Sven Neumann  <sven@gimp.org>

	* app/paint-funcs/paint-funcs.c (erode_region) (dilate_region):
	fixed implementations.
2005-07-15 19:07:38 +00:00
Sven Neumann 873dec37d7 don't crash on empty palettes.
2005-07-15  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpviewrendererpalette.c
	(gimp_view_renderer_palette_render): don't crash on empty palettes.
2005-07-15 08:30:39 +00:00
Michael Natterer 8d856ef5de app/widgets/gimphistogramview.c cleanup.
2005-07-14  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimphistogramview.c
	* app/widgets/gimpnavigationview.c: cleanup.
2005-07-14 18:51:32 +00:00
Michael Natterer d280c77f3f added "entry-clicked" and "color-dropped" signals. Completely handle color
2005-07-14  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimppaletteview.[ch]: added "entry-clicked" and
	"color-dropped" signals. Completely handle color DND. Cleanup.

	* app/core/gimpmarshal.list: marshallers for above signals.

	* app/widgets/gimppaletteeditor.[ch]: chopped and reassembled.
	Remove tons of code and use a GimpPaletteView instead of the
	deprecated GtkPreview. Addresses bug #102204.
2005-07-14 18:37:33 +00:00
Sven Neumann 2566531777 added erode_region() and dilate_region() 2005-07-14 15:40:19 +00:00
Michael Natterer c0a10c8303 app/widgets/Makefile.am app/widgets/widgets-types.h new widget which
2005-07-14  Michael Natterer  <mitch@gimp.org>

	* app/widgets/Makefile.am
	* app/widgets/widgets-types.h
	* app/widgets/gimppaletteview.[ch]: new widget which manages the
	selected palette entry itself and emits "selected", "activated"
	and "context" signals. Not used yet.

	* app/widgets/gimpviewrendererpalette.[ch]: reimplemented palette
	drawing: added optional grid drawing and APIs to configure the
	renderer. Should be ready for the palette editor now.
2005-07-14 14:41:29 +00:00
Michael Natterer e9c1b3d207 implement it the same way as gimp_palette_get_preview(). Can't be used for
2005-07-13  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpviewrendererpalette.c
	(gimp_view_renderer_palette_render): implement it the same way as
	gimp_palette_get_preview(). Can't be used for the palette editor
	yet.
2005-07-13 20:47:08 +00:00
Michael Natterer 98dc0a67b7 app/widgets/Makefile.am app/widgets/widgets-types.h new view renderer,
2005-07-13  Michael Natterer  <mitch@gimp.org>

	* app/widgets/Makefile.am
	* app/widgets/widgets-types.h
	* app/widgets/gimpviewrendererpalette.[ch]: new view renderer,
	does nothing yet except chaining up in ::render().

	* app/widgets/gimpviewrenderer-utils.c
	(gimp_view_renderer_type_by_viewable_type): use it for palettes.
2005-07-13 20:11:24 +00:00
Michael Schumacher 845fa0cbd3 plug-ins/gfig/gfig-dialog.c plug-ins/gfig/gfig-grid.c applied a patch by
2005-07-13  Michael Schumacher  <schumaml@cvs.gnome.org>

	* plug-ins/gfig/gfig-dialog.c
	* plug-ins/gfig/gfig-grid.c
	* plug-ins/gfig/gfig.h: applied a patch by Ted Shaneyfelt that
	addresses parts of bug 151092: less sectors on inner, more sectors
	on outer tracks.
2005-07-13 20:05:41 +00:00
Sven Neumann 70aa10cef7 app/base/Makefile.am renamed to siox.[ch].
2005-07-13  Sven Neumann  <sven@gimp.org>

	* app/base/Makefile.am
	* app/base/segmentator.[ch]: renamed to siox.[ch].

	* app/base/siox.[ch]: added API docs and a link to the algorithm's
	new homepage. Removed unused code.

	* app/core/gimpdrawable-foreground-extract.c: changed accordingly.
2005-07-13 19:30:25 +00:00
Michael Natterer 8938834a72 actually return the added entry, and not always the palette's last entry
2005-07-13  Michael Natterer  <mitch@gimp.org>

	* app/core/gimppalette.c (gimp_palette_add_entry): actually return
	the added entry, and not always the palette's last entry (argh!).

	* app/widgets/gimppaletteeditor.c: make sure the cursor is always
	on the newly added color. Really fixes #15060 this time.
2005-07-13 17:46:12 +00:00
Sven Neumann fbd53c511b added smooth_region(), a simple convolution filter to smooth a mask.
2005-07-13  Sven Neumann  <sven@gimp.org>

	* app/paint-funcs/paint-funcs.[ch]: added smooth_region(), a
	simple convolution filter to smooth a mask.

	* app/base/segmentator.c (smooth_mask): use the new function.
2005-07-13 17:27:37 +00:00
Michael Natterer 153748330a added new public function gimp_dockable_blink_cancel() which stops title
2005-07-13  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpdockable.[ch]: added new public function
	gimp_dockable_blink_cancel() which stops title blinking.

	* app/tools/gimpcolorpickertool.c (gimp_color_picker_tool_picked):
	cancel blinking when updating a picked color so the dockable
	doesn't flicker for each cursor movement.
2005-07-13 17:03:44 +00:00
Michael Natterer 736c547bd8 add colors after the cursor. Fixes bug #150608.
2005-07-13  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimppaletteeditor.c (gimp_palette_editor_pick_color):
	add colors after the cursor. Fixes bug #150608.
2005-07-13 16:23:54 +00:00
Michael Natterer 02abc41cdf sorted list of deprecated procedures so deprecations since 2.0 and 2.2 are
2005-07-13  Michael Natterer  <mitch@gimp.org>

	* app/pdb/procedural_db.c (procedural_db_init_procs): sorted list
	of deprecated procedures so deprecations since 2.0 and 2.2 are
	grouped together.
2005-07-13 15:52:18 +00:00
Sven Neumann a01b2d6466 formatting.
2005-07-12  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu.c: formatting.
2005-07-12 17:21:33 +00:00
Michael Natterer 893c9b9872 pass opacity and paint_mode to gimp_edit_fill_internal() instead of
2005-07-12  Michael Natterer  <mitch@gimp.org>

	* app/core/gimp-edit.c: pass opacity and paint_mode to
	gimp_edit_fill_internal() instead of figuring them in the
	function.
2005-07-12 15:11:40 +00:00
Michael Natterer c9c9640a22 removed "context" parameter from GimpItem::stroke(), it's not needed any
2005-07-12  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpitem.[ch]: removed "context" parameter from
	GimpItem::stroke(), it's not needed any longer.

	* app/core/gimpchannel.c
	* app/core/gimpselection.c
	* app/vectors/gimpvectors.c: changed accordingly.
2005-07-12 14:44:17 +00:00
Michael Natterer 470c11a8f0 swapped the opacity scale and the paint mode menu to be consistent with
2005-07-12  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimppaintoptions-gui.c (gimp_paint_options_gui):
	swapped the opacity scale and the paint mode menu to be consistent
	with the layers dialog. Also makes the paint options look more
	balanced.
2005-07-11 22:03:22 +00:00
Sven Neumann 1aae154af7 for now, implement smooth_mask() by means of gaussian_blur_region().
2005-07-11  Sven Neumann  <sven@gimp.org>

	* app/base/segmentator.c: for now, implement smooth_mask() by
	means of gaussian_blur_region().
2005-07-11 21:03:10 +00:00
Sven Neumann 5d7b80c776 minor fixes to the API docs.
2005-07-11  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimppropwidgets.c: minor fixes to the API docs.
2005-07-11 20:26:51 +00:00
Michael Natterer d64bf3564f added GimpPickable::get_opacity_at()
2005-07-11  Michael Natterer  <mitch@gimp.org>

	* app/core/gimppickable.[ch]: added GimpPickable::get_opacity_at()

	* app/core/gimpchannel.[ch]: removed gimp_channel_value() and
	implement ::get_opacity_at() instead.

	* app/core/gimplayer.[ch]: removed gimp_layer_pick_correlate()
	and implement ::get_opacity_at() instead.

	* app/core/gimpselection.c: GimpChannel::value() doesn't exist
	any more.

	* app/core/gimpprojection.c: implement ::get_opacity_at(), always
	returns OPAQUE.

	* app/core/gimpimage.c
	* app/tools/gimpbucketfilltool.c
	* app/tools/gimpclonetool.c
	* app/tools/gimpfliptool.c
	* app/tools/gimpiscissorstool.c
	* app/tools/gimpnewrectselecttool.c
	* app/tools/gimprectangletool.c
	* app/tools/gimpselectiontool.c
	* app/tools/gimptransformtool.c
	* tools/pdbgen/pdb/selection.pdb: changed accordingly.

	* app/pdb/selection_cmds.c: regenerated.
2005-07-11 19:21:52 +00:00
Michael Natterer d420a5bf58 simplify check for "inside selected region".
2005-07-11  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpclonetool.c (gimp_clone_tool_cursor_update):
	simplify check for "inside selected region".
2005-07-11 17:59:08 +00:00
Michael Natterer fea229090f added read-only properties "opacity", "mode" and "lock-alpha".
2005-07-11  Michael Natterer  <mitch@gimp.org>

	* app/core/gimplayer.c: added read-only properties "opacity",
	"mode" and "lock-alpha".
2005-07-11 16:46:28 +00:00
Sven Neumann ecb99a7296 plugged memory leaks (bug #309967). Invalidate the preview when the
2005-07-11  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/gauss.c: plugged memory leaks (bug #309967).
	Invalidate the preview when the algorithm is changed; default to
	RLE since it appears to be faster for the cases I tried.
2005-07-11 11:14:31 +00:00
Carol Spears e31653d9a1 docs/Wilber_Construction_Kit.xcf.gz
2005-07-10  Carol Spears  <carol@gimp.org>

	* docs/Wilber_Construction_Kit.xcf.gz
2005-07-11 06:04:44 +00:00
Manish Singh e68206f09f actually return a value.
2005-07-10  Manish Singh  <yosh@gimp.org>

        * libgimp/gimplayer.c (gimp_layer_set_preserve_trans): actually
        return a value.

        * plug-ins/pygimp/pygimp-drawable.c: create new lock_alpha attribute,
        and deprecate old preserve_trans attribute.

        * plug-ins/pygimp/plug-ins/shadow_bevel.py: use new lock_alpha API.
2005-07-10 22:05:11 +00:00
Michael Natterer e1be822e3d moved the lock alpha toggle to a separate "Lock:" line.
2005-07-10  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimplayertreeview.c (gimp_layer_tree_view_init):
	moved the lock alpha toggle to a separate "Lock:" line.
2005-07-10 21:24:21 +00:00
Michael Natterer 20b4769cf5 app/actions/layers-actions.c app/actions/layers-commands.[ch]
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.
2005-07-10 21:17:22 +00:00
Sven Neumann da0adc4f65 unified strings.
2005-07-10  Sven Neumann  <sven@gimp.org>

	* app/batch.c (batch_run): unified strings.
2005-07-10 18:53:45 +00:00
Hans Breuer d9ac028c50 updated dont include "gimpmessagedialog.c" to avoid redefinitions. Instead
2005-07-10  Hans Breuer  <hans@breuer.org>

	* **/makefile.msc app/gimpcore.def : updated
	* app/widgets/gimpcontrollerlist.c : dont include
	"gimpmessagedialog.c" to avoid redefinitions.
	Instead include gimpmessagebox.h and gimpmessagedialog.h

	* plug-ins/common/raw.c : include <io.h>
	* plug-ins/common/screenshot.c : make it compile. It
	still has no code to actually work on win32.
2005-07-10 16:24:57 +00:00
Sven Neumann f2382a6ef6 ported to GIMP data structures. There are still some TODOs, smooth_mask()
2005-07-10  Sven Neumann  <sven@gimp.org>

	* app/base/segmentator.[ch]: ported to GIMP data structures. There
	are still some TODOs, smooth_mask() isn't implemented yet.

	* app/core/Makefile.am
	* app/core/gimpdrawable-foreground-extract.[ch]: thin wrapper around
	the new segmentation algorithm.

	* tools/pdbgen/pdb/drawable.pdb: added a first draft of a PDB API
	for foreground extraction.

	* app/pdb/drawable_cmds.c
	* app/pdb/internal_procs.c
	* libgimp/gimpdrawable_pdb.[ch]: regenerated.
2005-07-09 22:44:26 +00:00
Michael Natterer 9b9052b866 removed if(image) checks where the image can't be NULL.
2005-07-09  Michael Natterer  <mitch@gimp.org>

	* app/core/gimplayer.c: removed if(image) checks where the image
	can't be NULL.
2005-07-09 21:47:54 +00:00
Sven Neumann 841144efbd formatting.
2005-07-09  Sven Neumann  <sven@gimp.org>

	* app/base/pixel-surround.[ch]: formatting.
2005-07-09 12:04:23 +00:00
Sven Neumann 4b29677d16 gaussian_blur_region() writes to the pixel data, need to initialize the
2005-07-09  Sven Neumann  <sven@gimp.org>

	* app/core/gimpchannel.c (gimp_channel_real_feather):
	gaussian_blur_region() writes to the pixel data, need to initialize
	the pixel region with dirty == TRUE;

	* app/paint-funcs/paint-funcs-generic.h: formatting.
2005-07-09 11:48:02 +00:00
Michael Natterer df4aa0715a added "sample-merged" property and API. Pass it to
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.
2005-07-09 11:23:15 +00:00
Michael Natterer 2a71ce5e59 if sample_merged is FALSE and drawable is NULL, just get the image's
2005-07-09  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpimage-pick-color.c (gimp_image_pick_color): if
	sample_merged is FALSE and drawable is NULL, just get the image's
	active drawable instead of bailing out.

	* app/widgets/gimpcursorview.c (gimp_cursor_view_update_cursor):
	use gimp_image_pick_color() insted of duplicating its code.
2005-07-09 11:07:36 +00:00
Sven Neumann 184895d9fb ellipsize the name label.
2005-07-09  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpviewabledialog.c: ellipsize the name label.
2005-07-08 23:57:47 +00:00
Michael Natterer d928e7699a added boolean "sample-merged" property, API and GUI. Pick from the active
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/actions/dialogs-actions.c
	* 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().
2005-07-08 23:06:35 +00:00
Michael Natterer 2f7388db6f added boolean "sample-merged" property, API and GUI. Pick from the active
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().
2005-07-08 22:54:46 +00:00
Sven Neumann 6248b954db plugged memory leaks.
2005-07-09  Sven Neumann  <sven@gimp.org>

	* app/base/segmentator.c: plugged memory leaks.
2005-07-08 22:33:18 +00:00
Sven Neumann edc6dc95e6 minor cleanup, use a GQueue instead of a custom queue implementation.
2005-07-08  Sven Neumann  <sven@gimp.org>

	* app/base/segmentator.c: minor cleanup, use a GQueue instead of a
	custom queue implementation.
2005-07-08 21:24:55 +00:00
Sven Neumann 447ee79608 minor cleanup.
2005-07-08  Sven Neumann  <sven@gimp.org>

	* app/base/segmentator.c: minor cleanup.
2005-07-08 19:42:29 +00:00
Michael Natterer 7a883afa3a pass the color index value to gimp_color_frame_set_color() so it would
2005-07-08  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcursorview.c (gimp_cursor_view_update_cursor):
	pass the color index value to gimp_color_frame_set_color() so it
	would show up in the frame if we actually picked from indexed
	things.
2005-07-08 18:53:09 +00:00
Michael Natterer ddfcad7703 initialize the parent_class pointer with NULL.
2005-07-08  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpclonetool.c: initialize the parent_class pointer
	with NULL.
2005-07-08 18:44:59 +00:00
Michael Natterer c6ca1a8419 enable remote files: set local_only to FALSE if the PDB has
2005-07-08  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpfiledialog.c (gimp_file_dialog_new): enable
	remote files: set local_only to FALSE if the PDB has
	"file_uri_load/save" procedures (yes, this is questionable).
2005-07-08 18:27:24 +00:00
Michael Natterer 48729e774c libgimpcolor/gimpbilinear.c fix some uninitialized stuff gcc 4.0 was
2005-07-08  Michael Natterer  <mitch@gimp.org>

	* libgimpcolor/gimpbilinear.c
	* libgimpwidgets/gimppreviewarea.c: fix some uninitialized stuff
	gcc 4.0 was choking about.
2005-07-08 18:18:00 +00:00
Michael Natterer a3371b1f0f added and fixed some API docs.
2005-07-08  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimppageselector.c (gimp_page_selector_class_init):
	added and fixed some API docs.
2005-07-08 18:16:20 +00:00
Sven Neumann 80dd4bff6c fixed spelling of Fractal.
2005-07-08  Sven Neumann  <sven@gimp.org>

        * plug-ins/ifscompose/ifscompose.c: fixed spelling of Fractal.
2005-07-08 16:57:38 +00:00
Michael Natterer 35cd24bea0 include gimpscrolledpreview.h
2005-07-08  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimpwidgets.h: include gimpscrolledpreview.h
2005-07-08 16:07:16 +00:00
Michael Natterer 2c6d7892fc app/actions/edit-commands.c made the "Reset all tool options" and "Clear
2005-07-08  Michael Natterer  <mitch@gimp.org>

	* app/actions/edit-commands.c
	* app/actions/tool-options-commands.c: made the "Reset all tool
	options" and "Clear undo history" dialogs modal and simplified the
	code to use gimp_dialog_run() instead of a separate callback
	function.
2005-07-08 15:27:38 +00:00
Michael Natterer 0cf2783cc4 moved all instance members to a private struct.
2005-07-08  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimppageselector.[ch]: moved all instance members
	to a private struct.
2005-07-08 13:25:57 +00:00
Michael Natterer 2813bcd8b7 fixed horizontal layout to not always use multiples of the default item
2005-07-08  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimppageselector.[ch]: fixed horizontal layout to
	not always use multiples of the default item width. Use the
	maximum thumbnail icon width instead. Also fixes keynav since it
	doesn't trigger a GTK+ bug any more.
2005-07-07 23:54:32 +00:00
Sven Neumann bc170c2e2c applied GIMP coding style, switch to glib functions for memory allocation.
2005-07-08  Sven Neumann  <sven@gimp.org>

	* app/base/segmentator.[ch]: applied GIMP coding style, switch to
	glib functions for memory allocation.
2005-07-07 23:48:58 +00:00
Sven Neumann 3b8751e5c9 app/base/Makefile.am added foreground extraction algorithm. This code is
2005-07-08  Sven Neumann  <sven@gimp.org>

	* app/base/Makefile.am
	* app/base/segmentator.[ch]: added foreground extraction
	algorithm.  This code is contributed by Gerald Friedland. Please
	see the comments in the code for links to further information.
	This is work in progress. Don't expect it to do anything yet.
2005-07-07 23:45:38 +00:00
Michael Natterer 8611bb4c4c app/actions/documents-actions.c app/actions/documents-commands.[ch]
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.
2005-07-07 21:49:35 +00:00
Sven Neumann d70117e111 app/actions/gradient-editor-commands.c app/widgets/gimpcolordialog.c
2005-07-07  Sven Neumann  <sven@gimp.org>

	* app/actions/gradient-editor-commands.c
	* app/widgets/gimpcolordialog.c
	* app/widgets/gimpdock.c
	* plug-ins/gflare/gflare.c
	* plug-ins/script-fu/script-fu-server.c: set alternative button
	order in some places that were missed earlier. Spotted by Stephan
	Binner.
2005-07-07 14:55:37 +00:00
Sven Neumann 0c9b36d8e8 app/actions/gradient-editor-commands.c app/widgets/gimpcolordialog.c
2005-07-07  Sven Neumann  <sven@gimp.org>

	* app/actions/gradient-editor-commands.c
	* app/widgets/gimpcolordialog.c
	* app/widgets/gimpdock.c
	* plug-ins/gflare/gflare.c
	* plug-ins/script-fu/script-fu-server.c: specify alternative
	button order in some places that were missed earlier (spotted by
	Stephan Binner).
2005-07-07 13:39:33 +00:00
Michael Natterer bb3cdd5397 set a search column.
2005-07-06  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpactionview.c (gimp_action_view_new): set a
	search column.
2005-07-06 21:04:37 +00:00
Sven Neumann 2f3c343219 set the count label in italic.
2005-07-06  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpbrowser.c: set the count label in italic.

	* plug-ins/dbbrowser/gimpprocbrowser.c
	* plug-ins/dbbrowser/plugin-browser.c: try to make it more obvious
	that the list is the result of a query by explicitely mentioning
	this in the summary below the list.
2005-07-06 01:51:17 +00:00
Sven Neumann c5dd18497d reverted previous change, it was bogus.
2005-07-06  Sven Neumann  <sven@gimp.org>

	* app/plug-in/plug-ins-query.c (match_strings): reverted previous
	change, it was bogus.

	* app/pdb/procedural-db-query.c: case-insensitive search for
	procedures.
2005-07-06 01:29:14 +00:00
Manish Singh 08de0b4b67 INSTALL Allow gtkhtml2, svg, and lcms features to be disabled explicitly
2005-07-05  Manish Singh  <yosh@gimp.org>

        * INSTALL
        * configure.in: Allow gtkhtml2, svg, and lcms features to be disabled
        explicitly at configure time. Based on patch from John N. Laliberte,
        fixes bug #307704.
2005-07-06 00:49:17 +00:00
Michael Natterer 419b1ef03d added a frame around the thumbnails. The code is still a bit hackish...
2005-07-06  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimppageselector.c: added a frame around the
	thumbnails. The code is still a bit hackish... Frame stretching
	is a 1:1 copy from app/widgets/gimpviewrenderer-frame.c so it
	can be easily factored out).
2005-07-05 22:46:34 +00:00
Sven Neumann 9e8ee610d4 renamed cpercep_init_conversions() to cpercep_init(); only initialize the
2005-07-05  Sven Neumann  <sven@gimp.org>

	* app/core/cpercep.[ch]: renamed cpercep_init_conversions() to
	cpercep_init(); only initialize the tables on the first call.

	* app/core/gimpimage-convert.c: changed accordingly.
2005-07-05 10:52:31 +00:00
Sven Neumann ff205ad855 removed uesless g_malloc() wrapper.
2005-07-04  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/psd_save.c: removed uesless g_malloc() wrapper.
2005-07-04 14:21:08 +00:00
Sven Neumann 6d9aa3e80f forgot to commit the ChangeLog entry with my last changes 2005-07-04 09:38:29 +00:00
David Odin 6472885f91 cleanups.
* libgimpwidgets/gimpframe.c: cleanups.
2005-07-03 13:12:47 +00:00
Nate Summers 38ea03b65e Changes in preparation for integrating gimp-poppler.
* configure.in: check for libpoppler.
        * plug-ins/common/postscript.c (query): don't register file_load_pdf
        if HAVE_POPPLER is defined
2005-07-02 20:00:23 +00:00
Michael Natterer 6ed5d64c43 some cleanup and API docs.
2005-07-02  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimppageselector.c: some cleanup and API docs.
2005-07-02 14:38:22 +00:00
Nate Summers ee4de85c50 app/batch.c app/config/gimprc-blurbs.h app/core/gimpimage-convert.c
* app/batch.c
        * app/config/gimprc-blurbs.h
        * app/core/gimpimage-convert.c
        * app/dialogs/user-install-dialog.c: grammar and other pedantic string
        changes.
2005-07-02 04:19:17 +00:00
Sven Neumann 3b4e6242c5 bumped version number to 2.3.3.
2005-07-01  Sven Neumann  <sven@gimp.org>

	* configure.in: bumped version number to 2.3.3.
2005-07-01 17:26:02 +00:00
Sven Neumann 8fbe43275d Made 2.3.2 development release.
2005-07-01  Sven Neumann  <sven@gimp.org>

        * Made 2.3.2 development release.
2005-07-01 17:22:14 +00:00
Akkana Peck 29e42050d2 app/actions/plug-in-actions.c Rename Effects menu's action to
* app/actions/plug-in-actions.c
* menus/image-menu.xml.in:
  Rename Effects menu's action to plug-in-effects-menu
  (missed during image menu reorg).
2005-07-01 17:13:03 +00:00
Sven Neumann 7aa82b5186 added po-tips.
2005-07-01  Sven Neumann  <sven@gimp.org>

	* Makefile.am (SUBDIRS): added po-tips.
2005-07-01 14:29:43 +00:00
Sven Neumann dea91bd7a4 added more API documentation.
2005-07-01  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimppageselector.c: added more API documentation.
2005-07-01 14:06:03 +00:00
Sven Neumann b9b1506adb news update 2005-07-01 12:32:25 +00:00
Sven Neumann 01e1c60485 load embedded ICC profiles and attach them as "icc-profile" parasite.
2005-07-01  Sven Neumann  <sven@gimp.org>

	* plug-ins/jpeg/jpeg-load.c: load embedded ICC profiles and attach
	them as "icc-profile" parasite.

	* plug-ins/jpeg/jpeg-save.c: look for the "icc-profile" parasite
	and embed the profile in the JPEG file if it is available.
2005-07-01 12:24:10 +00:00
Manish Singh 11def58443 Initialize restart markers check button accordingly from defaults. Fixes
2005-07-01  Manish Singh  <yosh@gimp.org>

        * plug-ins/jpeg/jpeg-save.c: Initialize restart markers check button
        accordingly from defaults. Fixes bug #309091, patch from
        David 'Bombe' Roden.
2005-07-01 07:14:19 +00:00
Michael Natterer 6400ea9d4c libgimpwidgets/gimpwidgets.def added API to set/get the label for each
2005-06-30  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimpwidgets.def
	* libgimpwidgets/gimppageselector.[ch]: added API to set/get
	the label for each page.
2005-06-30 20:16:23 +00:00
Sven Neumann 639c6c2109 plug-ins/jpeg/Makefile.am copied from lcms that reads and writes ICC
2005-06-30  Sven Neumann  <sven@gimp.org>

	* plug-ins/jpeg/Makefile.am
	* plug-ins/jpeg/jpeg-icc.[ch]: copied from lcms that reads and
	writes ICC profiles from/to JPEG files. Not yet used at all.
2005-06-30 17:45:32 +00:00
Sven Neumann 19a65560cd use the canonical form of signal names.
2005-06-29  Sven Neumann  <sven@gimp.org>

	* plug-ins/*/*.c: use the canonical form of signal names.
2005-06-30 16:03:24 +00:00
Michael Natterer cad7543c5e added enum GimpPageSelectorTarget which can be one of { LAYERS, IMAGES }
2005-06-28  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimpwidgetsenums.[ch]: added enum
	GimpPageSelectorTarget which can be one of { LAYERS, IMAGES }
	(suggestions for a better name welcome).

	* libgimpwidgets/gimppageselector.[ch]: added "target" property
	and a combo box to select a target. Removed GimpFrame around inner
	widgets again. Set a minimum width on the items so the "Page xxx"
	text doesn't wrap for pages smaller than 1000.
2005-06-28 08:07:50 +00:00
Michael Schumacher 0dbc038c2b fixed a typo: thmbnail -> thumbnail
2005-06-27  Michael Schumacher  <schumaml@cvs.gnome.org>

	* libgimpwidgets/gimppageselector.c: fixed a typo:
	thmbnail -> thumbnail
2005-06-27 20:05:18 +00:00
Michael Natterer 43166203b5 libgimpwidgets/gimpwidgets.def made range API public.
2005-06-27  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimpwidgets.def
	* libgimpwidgets/gimppageselector.[ch]: made range API public.
2005-06-27 17:47:44 +00:00
Michael Natterer 9a3f16795d added "Select All/None" buttons and a "Select Range" entry which allows
2005-06-27  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimppageselector.[ch]: added "Select All/None"
	buttons and a "Select Range" entry which allows entering of page
	ranges manually (e.g. "1,6,8,10-16").
2005-06-27 17:12:43 +00:00
Sven Neumann d9c4bdc4aa app/tools/gimpcurvestool.c app/tools/gimplevelstool.c added missing casts.
2005-06-27  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpcurvestool.c
	* app/tools/gimplevelstool.c
	* app/widgets/gimpwidgets-constructors.c: added missing casts.
2005-06-27 15:28:44 +00:00
Michael Natterer 2cc92b001f libgimpwidgets/Makefile.am libgimpwidgets/gimpwidgets.def
2005-06-27  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/Makefile.am
	* libgimpwidgets/gimpwidgets.def
	* libgimpwidgets/gimpwidgets.h
	* libgimpwidgets/gimpwidgetstypes.h
	* libgimpwidgets/gimppageselector.[ch]: new widget, GimpPageSelector
	which will be used to select which pages to open from multi-page
	documents (e.g. PS, PDF, TIFF). Work in progress!
2005-06-27 14:14:25 +00:00
Sven Neumann b23b035062 added new constructor gimp_enum_combo_box_new_with_model(). Also override
2005-06-27  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpenumcombobox.[ch]: added new constructor
	gimp_enum_combo_box_new_with_model(). Also override the "model"
	property to make it clear that GimpEnumComboBox expects to be
	used with GimpEnumStore.

	* libgimpwidgets/gimpwidgets.def: updated.

	* app/tools/gimpcurvestool.c
	* app/tools/gimplevelstool.c
	* app/widgets/gimpwidgets-constructors.c: use the new constructor.

	* libgimpwidgets/gimpenumlabel.h
	* libgimpwidgets/gimpenumstore.h
	* libgimpwidgets/gimpintcombobox.h
	* libgimpwidgets/gimpintstore.h: use "parent_class", not
	"parent_instance" when including the parent struct.
2005-06-27 13:41:11 +00:00
Sven Neumann 1f5bbe4d92 fixed memory profile debug action.
2005-06-27  Sven Neumann  <sven@gimp.org>

	* app/actions/debug-commands.c: fixed memory profile debug action.
2005-06-27 09:56:25 +00:00
Sven Neumann 43bdd4144a gracefully handle a NULL config until we have fixed creation of color
2005-06-27  Sven Neumann  <sven@gimp.org>

	* modules/cdisplay_lcms.c (cdisplay_lcms_configure): gracefully
	handle a NULL config until we have fixed creation of color display
	modules so that they always have a reference to GimpColorConfig.
2005-06-27 09:44:32 +00:00
Sven Neumann 7215e14c34 dialog layout tweaks.
2005-06-27  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpcolordisplayeditor.c: dialog layout tweaks.
2005-06-27 09:35:41 +00:00
Manish Singh ea47f2d53b actually define pygimpdir in terms of pygimpbase.
2005-06-26  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/Makefile.am: actually define pygimpdir in terms
        of pygimpbase.
2005-06-27 00:19:08 +00:00
Sven Neumann 7cf8a3734e menus/Makefile.am menus/menus.xsl readded the Debug menu but changed the
2005-06-27  Sven Neumann  <sven@gimp.org>

	* menus/Makefile.am
	* menus/menus.xsl
	* menus/toolbox-menu.xml.in: readded the Debug menu but changed
	the XSLT and the build rules so that it is only included in the
	development versions.
2005-06-26 23:47:13 +00:00
Manish Singh 02edf14eec feed environment values through gimp_config_path_expand, so ${gimp..}
2005-06-26  Manish Singh  <yosh@gimp.org>

        * app/core/gimpenvirontable.c: feed environment values through
        gimp_config_path_expand, so ${gimp..} variables can be used.

        * plug-ins/pygimp/Makefile.am: define PYTHONPATH in terms of
        ${gimp_plug_in_dir}. Use ; as a path separator on windows.

        With this final changes, pygimp should work out of the box on
        Win32 now. Thanks to Michael Schumacher and lode leroy for
        figuring out the high level details and testing.
2005-06-26 23:20:21 +00:00
Sven Neumann f27621b617 don't dump properties that have the GIMP_CONFIG_PARAM_IGNORE flag set.
2005-06-27  Sven Neumann  <sven@gimp.org>

	* app/config/gimpconfig-dump.c (dump_gimprc_manpage): don't dump
	properties that have the GIMP_CONFIG_PARAM_IGNORE flag set.
2005-06-26 22:07:41 +00:00
Sven Neumann a6ebb61ca4 added gimp_get_color_configuration.
2005-06-26  Sven Neumann  <sven@gimp.org>

	* libgimp/gimp.def: added gimp_get_color_configuration.
2005-06-26 21:49:29 +00:00
Karine Delvare e53abb2a00 Add an apply button and remove the frame around the scrolled window.
2005-06-25  Karine Delvare  <kdelvare@nerim.net>

        * plug-ins/FractalExplorer/FractalExplorer.c: Add an apply button
        and remove the frame around the scrolled window.
2005-06-26 21:16:21 +00:00
Manish Singh bded28416b cast to GIMP_CONFIG() for gimp_config_deserialize_string().
2005-06-26  Manish Singh  <yosh@gimp.org>

        * libgimp/gimpgimprc.c (gimp_get_color_configuration): cast to
        GIMP_CONFIG() for gimp_config_deserialize_string().
2005-06-26 21:11:39 +00:00
Sven Neumann 87b8e092b5 data/tips/Makefile.am let the transformation work on the multi-language
2005-06-26  Sven Neumann  <sven@gimp.org>

	* data/tips/Makefile.am
	* data/tips/fortunes.xsl: let the transformation work on the
	multi-language XML file and pass a language parameter to it.
2005-06-26 20:34:29 +00:00
Sven Neumann 531430c6de use dgettext() instead of gettext() and try to obtain the translation
2005-06-26  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimppropwidgets.c: use dgettext() instead of
	gettext() and try to obtain the translation domain from the type.
	Fixes i18n of tooltips on property widgets (bug #307756).

	* libgimpconfig/gimpcolorconfig.c: set a translation domain.
2005-06-26 18:09:12 +00:00
Sven Neumann 1197ce728d added tooltips with more information on the used profiles.
2005-06-26  Sven Neumann  <sven@gimp.org>

	* modules/cdisplay_lcms.c: added tooltips with more information on
	the used profiles.
2005-06-26 17:46:57 +00:00
Tor Lillqvist 8cf79496a2 Store the GimpBrushCore::brush_bound_segs as sorted (the result of
2005-06-26  Tor Lillqvist  <tml@novell.com>

	* app/tools/gimppainttool.c (gimp_paint_tool_draw): Store the
	GimpBrushCore::brush_bound_segs as sorted (the result of
	sort_boundary), as the only place where it is used
	(gimp_draw_tool_draw_boundary()) would sort it each time it is
	called anyway.

	* app/tools/gimpdrawtool.c (gimp_draw_tool_draw_boundary):
	Correspondingly we now don't have to sort the boundary here.
2005-06-26 16:51:13 +00:00
Sven Neumann b10218ce5a allow to access (read-only) the current color management configuration
2005-06-26  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/pdb/gimprc.pdb: allow to access (read-only) the
	current color management configuration through the PDB.

	* libgimp/gimpgimprc_pdb.[ch]
	* app/pdb/gimprc_cmds.c
	* app/pdb/internal_procs.c: regenerated.

	* libgimp/Makefile.am
	* libgimp/gimp.h
	* libgimp/gimpgimprc.[ch]: wrap the new PDB function to make it
	easier to use from plug-ins. This change adds a dependency on
	libgimpconfig to libgimp.

	* gimp.pc.in: changed accordingly.

	* plug-ins/FractalExplorer/Dialogs.c
	* plug-ins/gfig/gfig-dialog.c
	* plug-ins/gflare/gflare.c: no need to include gimpconfig.h
	explicitely any longer.

	* libgimp/gimpfontselectbutton.c: fixed gtk-doc comments.
2005-06-26 12:53:31 +00:00
Sven Neumann 017af36f1e also use bold, right-aligned labels here.
2005-06-26  Sven Neumann  <sven@gimp.org>

	* modules/cdisplay_lcms.c: also use bold, right-aligned labels here.
2005-06-26 11:25:54 +00:00
Manish Singh 31dfc85fe9 eat CRs too, since they might be there on Win32 systems.
2005-06-25  Manish Singh  <yosh@gimp.org>

        * app/core/gimpinterpreterdb.c: eat CRs too, since they might be
        there on Win32 systems.
2005-06-25 23:34:25 +00:00
Manish Singh 992bdbe8c5 introduce a notion of runtime path to the python interpreter, for the
2005-06-25  Manish Singh  <yosh@gimp.org>

        * configure.in: introduce a notion of runtime path to the python
        interpreter, for the pygimp.interp file.

        * plug-ins/pygimp/Makefile.am: use it here.
2005-06-25 23:27:21 +00:00
Manish Singh bbcc7ea950 attempt to work around weird escaping behavior in the windows shell when
2005-06-25  Manish Singh  <yosh@gimp.org>

        * configure.in: attempt to work around weird escaping behavior
        in the windows shell when converting backslashes to forward
        slashes.
2005-06-25 21:09:01 +00:00
Manish Singh 4505191405 convert backslashes to forward slashes for python stuff on Win32.
2005-06-25  Manish Singh  <yosh@gimp.org>

        * configure.in: convert backslashes to forward slashes for python
        stuff on Win32.
2005-06-25 20:08:45 +00:00
Sven Neumann 259e1d13f3 use bold and right-aligned labels for the label titles.
2005-06-25  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpimagepropview.c: use bold and right-aligned
	labels for the label titles.
2005-06-25 18:24:00 +00:00
Michael Natterer 9bf9eecf42 added all-local target which rebuilds AUTHORS.
2005-06-25  Michael Natterer  <mitch@gimp.org>

	* Makefile.am: added all-local target which rebuilds AUTHORS.
2005-06-25 17:25:13 +00:00
Karine Delvare 14aa99a583 AUTHORS regenerated.
2005-06-25  Karine Delvare  <kdelvare@nerim.net>

	* AUTHORS
	* app/dialogs/authors.h: regenerated.
2005-06-25 17:20:56 +00:00
Sven Neumann feadca6859 use gimp_enum_get_value() to avoid string duplication.
2005-06-25  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpimagepropview.c (gimp_image_prop_view_update):
	use gimp_enum_get_value() to avoid string duplication.
2005-06-25 17:01:50 +00:00
Karine Delvare 30564babb6 added Akkana Peck to contributors and updated my last name.
2005-06-25  Karine Delvare  <kdelvare@nerim.net>

	* authors.xml: added Akkana Peck to contributors and updated my
	last name.

	* po/fr.po: fixed typo.
2005-06-25 16:50:48 +00:00
Karine Delvare ffca57f527 activate fractal on double-click rather than select.
2005-06-25  Karine Delvare  <kdelvare@cvs.gimp.org>

        * plug-ins/FractalExplorer/FractalExplorer.c: activate fractal on
        double-click rather than select.
2005-06-25 16:22:08 +00:00
Kevin Cozens fd6ff177ea First step in changing the UI to match the layout suggested in bug #82591.
2005-06-25  Kevin Cozens  <kcozens@cvs.gimp.org>

	* plug-ins/maze/maze_face.c: First step in changing the UI to match
	the layout suggested in bug #82591.
2005-06-25 15:33:25 +00:00
Sven Neumann b40453748b shortened bold labels.
2005-06-25  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpcolordisplayeditor.c: shortened bold labels.
2005-06-25 01:05:22 +00:00
Manish Singh 4d716c32b3 drop the module suffix from the filename of the dynamic libraries.
2005-06-24  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/Makefile.am: drop the module suffix from the
        filename of the dynamic libraries.
2005-06-25 00:44:40 +00:00
Sven Neumann 263cdb558e app/dialogs/preferences-dialog.c use italic text for info labels.
2005-06-25  Sven Neumann  <sven@gimp.org>

	* app/dialogs/preferences-dialog.c
	* modules/cdisplay_lcms.c: use italic text for info labels.
2005-06-25 00:30:20 +00:00
Sven Neumann c002db7b22 use a GtkVPaned.
2005-06-25  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpcolordisplayeditor.c: use a GtkVPaned.
2005-06-25 00:11:59 +00:00
Sven Neumann bc53cbb1d4 show the names of the color profiles that are used.
2005-06-25  Sven Neumann  <sven@gimp.org>

	* modules/cdisplay_lcms.c (cdisplay_lcms_configure): show the names
	of the color profiles that are used.
2005-06-24 23:49:19 +00:00
Tor Lillqvist de642dd10f Add new GimpCanvasStyle value, GIMP_CANVAS_STYLE_XOR_DOTTED.
2005-06-24  Tor Lillqvist  <tml@novell.com>

	* app/display/gimpcanvas.h: Add new GimpCanvasStyle value,
	GIMP_CANVAS_STYLE_XOR_DOTTED.

	* app/display/gimpcanvas.c (gimp_canvas_gc_new): Implement it like
	GIMP_CANVAS_STYLE_XOR_DASHED, except that we set the dash pattern
	to a single-pixel on-off one.

	* app/tools/gimpdrawtool.c (gimp_draw_tool_draw_boundary): Sort
	the boundary so that we can draw each connected group of segments
	using gimp_canvas_draw_lines(). (Even if we would still use
	gimp_canvas_draw_segments(), the boundary would have to be sorted
	so that the XOR drawing and GDK_CAP_NOT_LAST cooperate properly.)

	Use GIMP_CANVAS_STYLE_XOR_DOTTED so the outline doesn't look too
	heavy.

	Remove the dubious code snippet that offset some segments by one
	pixel. It didn't do what the comment claimed, and why one would
	need to do what the comment said, or what it actually did, is
	unclear.

	Now brush outlines shouldn't have gaps any longer. (#308710)
2005-06-24 23:28:38 +00:00
Manish Singh 6d5096312e define PYLINK_LIBS on Win32, since DLLs need to have all their symbols
2005-06-24  Manish Singh  <yosh@gimp.org>

        * configure.in: define PYLINK_LIBS on Win32, since DLLs need to have
        all their symbols fully resolved at link time.

        * plug-ins/pygimp/Makefile.am: link python modules with PYLINK_LIBS.
2005-06-24 23:13:49 +00:00
Sven Neumann df7a0937df relabel the profile used for softproofing to "Print simulation profile".
2005-06-25  Sven Neumann  <sven@gimp.org>

	* app/dialogs/preferences-dialog.c: relabel the profile used for
	softproofing to "Print simulation profile".

	* libgimpconfig/gimpcolorconfig.c: improved blurb.

	* modules/cdisplay_lcms.c (cdisplay_lcms_configure): show filenames
	of profiles; will be replaced by real profile information.
2005-06-24 23:06:07 +00:00
Sven Neumann 57f97f737b libgimpwidgets/Makefile.am libgimpwidgets/gimpwidgets.h
2005-06-25  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/Makefile.am
	* libgimpwidgets/gimpwidgets.h
	* libgimpwidgets/gimpwidgetstypes.h
	* libgimpwidgets/gimpenumlabel.[ch]: added new widget GimpEnumLabel.

	* libgimpwidgets/gimppropwidgets.[ch]: added
	gimp_prop_enum_label_new().

	* libgimpwidgets/gimpwidgets.def: updated.

	* modules/cdisplay_lcms.c (cdisplay_lcms_configure): started to
	add a view on the current color managment configuration.
2005-06-24 22:46:42 +00:00
Manish Singh dfad53efe4 build all libraries with no-undefined. Ignore doc stuff for now, since
2005-06-24  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/Makefile.am: build all libraries with no-undefined.
        Ignore doc stuff for now, since it's ancient and needs to be massively
        revised.

        * configure.in: don't generate plug-ins/pygimp/doc/Makefile
2005-06-24 21:46:12 +00:00
Manish Singh cbee4c51de split out into separate files...
2005-06-24  Manish Singh  <yosh@gimp.org>

        * acinclude.m4: split out into separate files...

        * m4macros/alsa.m4
        * m4macros/gimpprint.m4
        * m4macros/gtk-doc.m4
        * m4macros/pythondev.m4: ... and put them here.

        * m4macros/Makefile.am: dist the above files.
2005-06-24 21:17:57 +00:00
Kevin Cozens d604a8c2d5 Incorporated changes made by Daniel P. Stasinski in his text-circle3.scm
2005-06-24  Kevin Cozens  <kcozens@cvs.gimp.org>

	* plug-ins/script-fu/scripts/text-circle.scm: Incorporated changes
	made by Daniel P. Stasinski in his text-circle3.scm script. Letters
	are now placed properly for both positive and negative fill angles.
	Last(?) fix for bug #144588.
2005-06-24 20:49:43 +00:00
Sven Neumann a9e7b76a0d added a mnemonic.
2005-06-24  Sven Neumann  <sven@gimp.org>

	* app/dialogs/preferences-dialog.c: added a mnemonic.

	* libgimpwidgets/gimppropwidgets.c
	(gimp_prop_file_chooser_button_new): embed the button in an
	event-box if the param_spec provides a blurb to be used as a
	tooltip.

	* libgimpconfig/gimpcolorconfig.c: improved blurbs.
2005-06-24 20:29:24 +00:00
Kevin Cozens 9e0f32e606 Updated to fix problems related to change in handling of string arrays
2005-06-23  Kevin Cozens  <kcozens@cvs.gimp.org>

	* plug-ins/script-fu/scripts/font-map.scm: Updated to fix problems
	related to change in handling of string arrays (see bug #168290).
	Fixes bug #308681.
2005-06-24 19:41:58 +00:00
Manish Singh 60aa23a658 add gimp_rgba_parse_css
2005-06-24  Manish Singh  <yosh@gimp.org>

        * libgimpcolor/gimpcolor.def: add gimp_rgba_parse_css
2005-06-24 18:27:37 +00:00
Sven Neumann 69b76fbcc0 app/actions/image-actions.c app/actions/layers-actions.c use
2005-06-24  Sven Neumann  <sven@gimp.org>

	* app/actions/image-actions.c
	* app/actions/layers-actions.c
	* app/dialogs/image-properties-dialog.c: use GTK_STOCK_PROPERTIES
	as stock icon for property menu items and dialogs.
2005-06-24 18:25:22 +00:00
Sven Neumann f1d89048d1 removed an incomplete and unused function.
2005-06-24  Sven Neumann  <sven@gimp.org>

	* app/core/gimppdbprogress.[ch]: removed an incomplete and unused
	function.
2005-06-24 16:46:00 +00:00
Sven Neumann dd44b9b9ef if we end up without any return values, assume an execution error instead
2005-06-24  Sven Neumann  <sven@gimp.org>

	* app/pdb/procedural_db.c (procedural_db_execute): if we end up
	without any return values, assume an execution error instead of
	crashing (bug #308904).
2005-06-24 15:00:34 +00:00
Sven Neumann fe0718ef58 increased maximum property size, added debug output.
2005-06-24  Sven Neumann  <sven@gimp.org>

	* modules/cdisplay_lcms.c (cdisplay_lcms_get_display_profile):
	increased maximum property size, added debug output.
2005-06-24 13:41:07 +00:00
Sven Neumann eeebd95e41 implement the configure method and tell the user where this module can be
2005-06-24  Sven Neumann  <sven@gimp.org>

	* modules/cdisplay_lcms.c: implement the configure method and tell
	the user where this module can be configured.
2005-06-24 11:46:13 +00:00
Sven Neumann 88de3824f8 some code cleanup, no real changes.
2005-06-24  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/png.c: some code cleanup, no real changes.
2005-06-24 11:31:49 +00:00
Sven Neumann 87e8c925bc added a check button to control the "display-profile-from-gdk" option.
2005-06-24  Sven Neumann  <sven@gimp.org>

	* app/dialogs/preferences-dialog.c: added a check button to control
	the "display-profile-from-gdk" option.

	* modules/cdisplay_lcms.c (cdisplay_lcms_get_display_profile):
	fixed use of gdk_property_get(). Return NULL if no display profile
	can be obtained.
2005-06-24 09:41:16 +00:00
Sven Neumann 3490c49252 Added basic support for the proposed ICC Profiles In X Specification
2005-06-24  Sven Neumann  <sven@gimp.org>

	Added basic support for the proposed ICC Profiles In X Specification
	(http://burtonini.com/temp/xicc-specification-0.1.html).

	* libgimpconfig/gimpcolorconfig.[ch]: added a configuration option
	"display-profile-from-gdk", default to TRUE.

	* modules/cdisplay_lcms.c: try to retrieve the display color
	profile from the "_ICC_PROFILE" profile on the default screen's
	root window.
2005-06-24 01:38:53 +00:00
Akkana Peck 745e71195c Image window Filters menu reorganization, as discussed in bug 116145 2005-06-24 00:43:39 +00:00
Sven Neumann 3e45f85f7f removed conflict markers 2005-06-23 23:42:59 +00:00
Sven Neumann f0db3b21fa call plug_in_actions_update() to update the sensitivity of the last used
2005-06-23  Sven Neumann  <sven@gimp.org>

	* app/actions/plug-in-actions.c (plug_in_actions_last_changed): call
	plug_in_actions_update() to update the sensitivity of the last used
	plug-in entries.
2005-06-23 19:13:23 +00:00
Sven Neumann 8911164564 no need to create a new list store; gimp_int_combo_box_init() already did
2005-06-23  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpintcombobox.c (gimp_int_combo_box_new_valist)
	(gimp_int_combo_box_new_array): no need to create a new list store;
	gimp_int_combo_box_init() already did that for us.
2005-06-23 18:02:21 +00:00
Sven Neumann a0329dd153 draw the intersection on top of the grid. Fixes bug #308754.
2005-06-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/grid.c: draw the intersection on top of the grid.
	Fixes bug #308754.
2005-06-23 17:13:57 +00:00
Sven Neumann 00f94b6554 shift whole rows/columns, instead of tiles. Fixes bug #308748.
2005-06-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/shift.c: shift whole rows/columns, instead of
	tiles. Fixes bug #308748.
2005-06-23 16:58:16 +00:00
Sven Neumann 4fde913221 removed redundant labels.
2005-06-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-console.c: removed redundant labels.
2005-06-23 16:06:53 +00:00
Michael Natterer 938f24fd58 added the widget living in the right_vbox to the GimpBrowser struct
2005-06-23  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimpbrowser.[ch]: added the widget living in the
	right_vbox to the GimpBrowser struct instead of attaching it to
	the browser.
2005-06-23 11:28:15 +00:00
Sven Neumann 3571a5802e applied a patch from Karine Delvare that removes an obsolete frame.
2005-06-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/FractalExplorer/FractalExplorer.c: applied a patch from
	Karine Delvare that removes an obsolete frame.

	* plug-ins/FractalExplorer/Makefile.am
	* plug-ins/FractalExplorer/logo.h: removed logo now that the About
	dialog is gone.
2005-06-22 21:19:10 +00:00
Michael Natterer ff7343eee0 libgimpconfig/gimpconfig-deserialize.h libgimpconfig/gimpconfig-error.h
2005-06-22  Michael Natterer  <mitch@gimp.org>

	* libgimpconfig/gimpconfig-deserialize.h
	* libgimpconfig/gimpconfig-error.h
	* libgimpconfig/gimpconfig-iface.h
	* libgimpconfig/gimpconfig-params.h
	* libgimpconfig/gimpconfig-path.h
	* libgimpconfig/gimpconfig-serialize.h
	* libgimpconfig/gimpconfig-utils.h: added G_BEGIN_DECLS/G_END_DECLS.
2005-06-22 20:37:11 +00:00
Sven Neumann 564f5e6050 added Edit->Preferences since that seems to be the standard location
2005-06-22  Sven Neumann  <sven@gimp.org>

	* menus/image-menu.xml.in: added Edit->Preferences since that
	seems to be the standard location nowadays (bug #157613).
2005-06-22 13:24:22 +00:00
Sven Neumann fc1bb9ee41 unified spelling of "Re-Show".
2005-06-22  Sven Neumann  <sven@gimp.org>

	* app/actions/plug-in-actions.c: unified spelling of "Re-Show".

	* plug-ins/foggify.py: fixed capitalization of menu label.
2005-06-22 12:16:04 +00:00
Sven Neumann 903816ca53 switch to a more compact dialog layout.
2005-06-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/mblur.c: switch to a more compact dialog layout.
2005-06-22 11:47:55 +00:00
William Skaggs e37feb8ce7 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/mblur.c: add option of blurring inward
	or outward for zoom, should fix bug #142968.
2005-06-21 23:49:51 +00:00
Sven Neumann cc77129499 plug-ins/FractalExplorer/Dialogs.c merged in a patch from Karine Delvare
2005-06-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/FractalExplorer/Dialogs.c
	* plug-ins/FractalExplorer/FractalExplorer.[ch]: merged in a patch
	from Karine Delvare with further UI improvements (see bug #140202).
2005-06-21 23:08:43 +00:00
William Skaggs e8079d1594 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/newsprint.c: remove "optimization" that interacts
	badly with preview; fixes bug #161573.
2005-06-21 22:08:42 +00:00
William Skaggs 9018476c27 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/retinex.c:  initialize memory before using.
	Fixes bug #157915.
2005-06-21 18:07:01 +00:00
William Skaggs 5a62e7024c Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/core/gimplayer-floating-sel.c: set "Keep Transparency"
	FALSE when creating floating sel; see bug #161042.
2005-06-21 16:56:28 +00:00
Sven Neumann 71313ae2a5 minor changes, mainly to the Rescan dialog.
2005-06-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/FractalExplorer/Dialogs.c: minor changes, mainly to the
	Rescan dialog.
2005-06-21 09:25:45 +00:00
Sven Neumann 0c4144c10e applied a patch from Karine Delvare that ports the list to GtkTreeView and
2005-06-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/FractalExplorer/FractalExplorer.c: applied a patch from
	Karine Delvare that ports the list to GtkTreeView and replaces the
	XPM icons with stock icons. Fixes bug #140202.

	* plug-ins/FractalExplorer/Makefile.am
	* plug-ins/FractalExplorer/pix_data.h: removed this file.
2005-06-20 22:34:11 +00:00
Sven Neumann 0422923deb added a second text to the confirmation dialog; changed the primary text.
2005-06-21  Sven Neumann  <sven@gimp.org>

	* app/actions/documents-commands.c: added a second text to the
	confirmation dialog; changed the primary text.
2005-06-20 22:15:41 +00:00
Sven Neumann afddacb1bc added missing id to fix the build.
2005-06-21  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimphelp-ids.h: added missing id to fix the build.
2005-06-20 22:00:57 +00:00
William Skaggs 95f5cc8654 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/laplace.c: don't normalize the
	result.  Fixes bug #306874?
2005-06-20 21:04:32 +00:00
Michael Natterer 213deb5bf1 Oops... 2005-06-20 19:38:07 +00:00
Michael Natterer 66b7fe24ba app/actions/documents-actions.c app/actions/documents-commands.[ch]
2005-06-20  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 "Clear document history" action,
	button, menu item and confirm dialog (bug #140001).
2005-06-20 19:28:49 +00:00
William Skaggs bbb8d250d0 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/noisify.c: rename as "plug-in-rgb-noise"
	with menu entry "RGB Noise".  Leave "plug-in-noisify" for
	backward compatibility.

	* plug-ins/common/scatter_hsv.c: rename as "plug-in-hsv-noise"
	with menu entry "HSV Noise".  Leave "plug-in-scatter-hsv" for
	backward compatibility.
2005-06-20 16:09:40 +00:00
Sven Neumann f368185498 set the gravity of the image window to CENTER. Gives much better behaviour
2005-06-20  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell.c (gimp_display_shell_new): set the
	gravity of the image window to CENTER. Gives much better behaviour
	for "resize-windows-on-zoom".
2005-06-20 10:34:50 +00:00
Sven Neumann 5a7f136a9c simplified, use the eek wilber icon if the file doesn't exist.
2005-06-18  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimagefile.c (gimp_imagefile_get_new_pixbuf):
	simplified, use the eek wilber icon if the file doesn't exist.
2005-06-18 14:16:26 +00:00
Sven Neumann 741382dd09 plug-ins/common/gee.c string fixes (bug #308134).
2005-06-18  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/gee.c
	* plug-ins/common/gee_zoom.c: string fixes (bug #308134).
2005-06-17 23:17:32 +00:00
Sven Neumann afaa010bb6 pass GimpImageBaseType to extract_from_region() instead of some anonymous
2005-06-17  Sven Neumann  <sven@gimp.org>

	* app/paint-funcs/paint-funcs.[ch]: pass GimpImageBaseType to
	extract_from_region() instead of some anonymous integer. Added
	some const qualifiers.
2005-06-17 16:26:06 +00:00
Sven Neumann 5dcbaeb284 fixed long-standing bug in the calculation of the depth of the
2005-06-17  Sven Neumann  <sven@gimp.org>

	* app/core/gimpselection.c (gimp_selection_extract): fixed
	long-standing bug in the calculation of the depth of the
	tile-manager created when copying from an indexed drawable.
2005-06-17 16:18:23 +00:00
Sven Neumann 83ca915fd0 removed menu registration (bug #307535).
2005-06-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/unsharp-mask.scm: removed menu
	registration (bug #307535).
2005-06-17 11:03:10 +00:00
Sven Neumann 3972af91ce plug-ins/common/gee.c don't register any menu entries (see bug #307998).
2005-06-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/gee.c
	* plug-ins/common/gee_zoom.c: don't register any menu entries
	(see bug #307998).

	* app/actions/plug-in-actions.c
	* menus/image-menu.xml.in: removed Toys submenu.
2005-06-17 09:35:30 +00:00
Sven Neumann 5c17ad2402 menus/image-menu.xml.in plug-ins/Lighting/lighting_main.c
2005-06-17  Sven Neumann  <sven@gimp.org>

	* menus/image-menu.xml.in
	* plug-ins/Lighting/lighting_main.c
	* plug-ins/common/apply_lens.c
	* plug-ins/common/flarefx.c
	* plug-ins/common/glasstile.c
	* plug-ins/common/nova.c
	* plug-ins/common/sparkle.c
	* plug-ins/gflare/gflare.c
	* plug-ins/pygimp/plug-ins/clothify.py
	* plug-ins/pygimp/plug-ins/foggify.py
	* plug-ins/pygimp/plug-ins/shadow_bevel.py
	* plug-ins/pygimp/plug-ins/whirlpinch.py
	* plug-ins/script-fu/script-fu.c
	* plug-ins/script-fu/scripts/*.scm: applied menu reorganization
	patch done by Akkana Peck (bug #116145).

	* plug-ins/common/film.c: renamed filter to "Filmstrip".
2005-06-16 23:45:32 +00:00
Sven Neumann 077bba00bc expand the GIMP acronym.
2005-06-16  Sven Neumann  <sven@gimp.org>

	* desktop/gimp.applications.in: expand the GIMP acronym.

	* desktop/gimp.keys.in: removed some cruft.
2005-06-16 15:47:15 +00:00
Sven Neumann 0e3631ec33 INSTALL configure.in allow to skip installation of desktop files by
2005-06-16  Sven Neumann  <sven@gimp.org>

	* INSTALL
	* configure.in
	* desktop/Makefile.am: allow to skip installation of desktop files
	by passing --without-desktop-dir.
2005-06-16 15:31:30 +00:00
Sven Neumann 925a163597 Redid the framework that deals with installing desktop files. Fixes bug
2005-06-16  Sven Neumann  <sven@gimp.org>

	Redid the framework that deals with installing desktop files.
	Fixes bug #307705:

	* data/misc/*: removed.

	* desktop/*: readded the desktop files in a new directory.

	* Makefile.am
	* configure.in
	* data/Makefile.am: changed accordingly.
2005-06-16 14:50:43 +00:00
Michael Natterer 31f4020892 revert accidential commit.
2005-06-16  Michael Natterer  <mitch@gimp.org>

	* tools/pdb/pdbgen/edit.pdb: revert accidential commit.
2005-06-16 00:38:21 +00:00
Sven Neumann a27ba426a8 exit from main loop if g_file_get_contents() fails.
2005-06-16  Sven Neumann  <sven@gimp.org>

	* tools/test-clipboard.c (test_clipboard_copy_callback): exit from
	main loop if g_file_get_contents() fails.
2005-06-15 22:59:45 +00:00
Sven Neumann 03c941a9dc capitalization.
2005-06-16  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-close.c: capitalization.
2005-06-15 22:14:47 +00:00
Sven Neumann 2665b357da app/actions/file-actions.c app/actions/plug-in-actions.c removed ellipsis
2005-06-15  Sven Neumann  <sven@gimp.org>

	* app/actions/file-actions.c
	* app/actions/plug-in-actions.c
	* app/actions/tool-options-actions.c: removed ellipsis from commands
	that only present a confirmation dialog.

	* app/actions/file-actions.c
	* app/tools/gimpcolorbalancetool.c
	* app/tools/gimplevelstool.c
	* app/widgets/gimpgrideditor.c: capitalization.
2005-06-15 21:38:00 +00:00
Sven Neumann 57a90113ac capitalization.
2005-06-15  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpgrideditor.c: capitalization.
2005-06-15 21:11:03 +00:00
Sven Neumann 31a2024fd2 fix capitalization on the Color Management page.
2005-06-15  Sven Neumann  <sven@gimp.org>

	* app/dialogs/preferences-dialog.c: fix capitalization on the
	Color Management page.
2005-06-15 19:55:26 +00:00
Sven Neumann 7123168f22 there's no need to keep a reference to the anchor button.
2005-06-15  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimplayertreeview.[ch]: there's no need to keep a
	reference to the anchor button.
2005-06-15 14:52:01 +00:00
Sven Neumann e3800a406e don't display a preview and don't attempt to create one if the image file
2005-06-15  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimagefile.c (gimp_imagefile_load_thumb):
	* app/widgets/gimpthumbbox.c (gimp_thumb_box_auto_thumbnail):
	don't display a preview and don't attempt to create one if the
	image file does not exist any longer (bug #307672).
2005-06-15 10:57:33 +00:00
Sven Neumann 96d2deee85 set the "Detach Tab" action insensitive if the dockable is alone in its
2005-06-15  Sven Neumann  <sven@gimp.org>

	* app/actions/dockable-actions.c (dockable_actions_update): set the
	"Detach Tab" action insensitive if the dockable is alone in its dock.
2005-06-15 10:19:48 +00:00
Sven Neumann a23a805c65 changed window title as suggested in bug #307701.
2005-06-15  Sven Neumann  <sven@gimp.org>

	* app/dialogs/preferences-dialog.c (prefs_input_devices_dialog):
	changed window title as suggested in bug #307701.
2005-06-15 10:10:25 +00:00
Michael Natterer 9cec74e9a1 deprecated. Changed implementation to simply call
2005-06-15  Michael Natterer  <mitch@gimp.org>

	* libgimpmodule/gimpmodule.[ch] (gimp_module_register_enum):
	deprecated. Changed implementation to simply call
	g_type_module_register_enum().

	* modules/cdisplay_colorblind.c
	* modules/cdisplay_proof.c: use g_type_module_register_enum() instead.
2005-06-15 09:26:01 +00:00
Sven Neumann fa593afdbf allow to raise a layer w/o an alpha channel.
2005-06-14  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimage.c (gimp_image_raise_layer)
	(gimp_image_raise_layer_to_top): allow to raise a layer w/o an
	alpha channel.
2005-06-14 20:54:03 +00:00
Sven Neumann 9ed8b8099d allow to raise a layer w/o an alpha channel.
2005-06-14  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimage.c (gimp_image_raise_layer): allow to raise a
	layer w/o an alpha channel.
2005-06-14 20:51:08 +00:00
Sven Neumann 511b54785e renamed internal keys.
2005-06-14  Sven Neumann  <sven@gimp.org>

	* app/core/gimp-gradients.c: renamed internal keys.
2005-06-14 20:40:05 +00:00
Sven Neumann c85e56291a some dialog changes, hopefully to the better.
2005-06-14  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/screenshot.c: some dialog changes, hopefully to
	the better.
2005-06-14 18:12:11 +00:00
Michael Natterer 4cded149d9 copy the alpha channel from the correct source.
2005-06-13  Michael Natterer  <mitch@gimp.org>

	* app/core/gimplayer.c (gimp_layer_transform_color): copy the
	alpha channel from the correct source.
2005-06-13 11:52:00 +00:00
Sven Neumann 697142c2f2 added missing brackets in macros.
2005-06-13  Sven Neumann  <sven@gimp.org>

	* app/core/gimp-transform-resize.c: added missing brackets in macros.
2005-06-12 22:20:47 +00:00
Manish Singh 930e08d8e8 if any of the pygimp dependencies aren't fulfilled, display a more
2005-06-11  Manish Singh  <yosh@gimp.org>

        * configure.in: if any of the pygimp dependencies aren't fulfilled,
        display a more informative message.

        * autogen.sh: depend on automake 1.8, so AM_PATH_PYTHON has a user
        defined failure mode. Also prefer automake 1.9.
2005-06-11 21:10:43 +00:00
Sven Neumann cb940554c8 connect to "selection-changed" instead of "file-activated". Fixes bug
2005-06-11  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimppropwidgets.c: connect to "selection-changed"
	instead of "file-activated". Fixes bug #307146.
2005-06-11 14:29:57 +00:00
Michael Natterer 699ad10f79 Allow to use the selected font in the text editor (bug #170299):
2005-06-11  Michael Natterer  <mitch@gimp.org>

	Allow to use the selected font in the text editor (bug #170299):

	* app/widgets/gimptexteditor.[ch]: added a "Use selected font"
	toggle and an API to set/get the selected font name.

	* app/tools/gimptextoptions.c: update the editor's font when the
	text option's font changes. Renamed text editor callbacks to
	gimp_text_options_editor_foo().
2005-06-11 14:18:51 +00:00
Michael Natterer b7b5e156cc don't try to generate tips/Makefile.
2005-06-10  Michael Natterer  <mitch@gimp.org>

	* configure.in: don't try to generate tips/Makefile.
2005-06-10 17:11:22 +00:00
Sven Neumann 1c4122c5d0 Switch to a more standard way of treating the translations for the startup
2005-06-10  Sven Neumann  <sven@gimp.org>

	Switch to a more standard way of treating the translations for the
	startup tips (bug #171846):

	* Makefile.am
	* configure.in: removed tips directory; added data/tips and po-tips
	directories instead.

	* data/Makefile.am
	* data/AUTHORS
	* data/ChangeLog
	* data/README: removed these three outdated files.

	* data/tips: gimp.tips.xml and related files live here now.

	* po-tips: translations of the tips are found here now.

	* README.i18n: changed accordingly.
2005-06-10 16:38:36 +00:00
Michael Natterer ef4b245610 Fix bug #134304, as far as it's fixable:
2005-06-10  Michael Natterer  <mitch@gimp.org>

	Fix bug #134304, as far as it's fixable:

	* app/core/gimp-edit.c (gimp_edit_paste_as_new): handle pasting
	buffers without alpha. Also don't uselessly convert all buffers
	to RGB but create an image in the buffer's color space.

	(gimp_edit_extract): call gimp_selection_extract() with
	add_alpha = FALSE.

	* app/core/gimpselection.c (gimp_selection_extract): set add_alpha
	to TRUE if there is a selection, because the selection could have
	any shape.
2005-06-10 14:45:11 +00:00
Sven Neumann 529add3c72 bumped version number to 2.3.2.
2005-06-09  Sven Neumann  <sven@gimp.org>

	* configure.in:  bumped version number to 2.3.2.
2005-06-09 17:29:46 +00:00
Sven Neumann 2c9be3e4a5 Made 2.3.1 development release.
2005-06-09  Sven Neumann  <sven@gimp.org>

        * Made 2.3.1 development release.
2005-06-09 17:13:20 +00:00
Sven Neumann 61be6a5369 minor code cleanup.
2005-06-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/laplace.c: minor code cleanup.
2005-06-08 15:19:01 +00:00
Sven Neumann daceeacd93 removed blurbs for unused preferences.
2005-06-08  Sven Neumann  <sven@gimp.org>

	* app/config/gimprc-blurbs.h: removed blurbs for unused preferences.

	* app/config/gimpbaseconfig.c
	* app/config/gimpcoreconfig.c: changed accordingly.
2005-06-08 11:31:44 +00:00
Sven Neumann c1363db8c0 Removed "stingy-memory-use" all over the place. This feature was really
2005-06-08  Sven Neumann  <sven@gimp.org>

	Removed "stingy-memory-use" all over the place. This feature was
	really not that useful anymore. The GUI for the preference option
	was already removed for GIMP 2.2.  Fixes bug #306617.

	* app/config/gimpbaseconfig.[ch]: set IGNORE flag on
	"stingy-memory-use".

	* app/config/gimpcoreconfig.h: added a comment that the
	font_path_writable variable is unused.

	* app/base/temp-buf.[ch]: removed code that used to deal with
	swapping temp-bufs to disk.

	* app/base/base.c: made base_config a static variable.

	* app/core/gimpdata.[ch]
	* app/core/gimpdatafactory.[ch]: removed stingy_memory_use
	parameter from data construction methods.

	* app/core/gimp-gradients.c
	* app/core/gimpbrush-load.[ch]
	* app/core/gimpbrush.[ch]
	* app/core/gimpbrushgenerated.[ch]
	* app/core/gimpbrushpipe.[ch]
	* app/core/gimpcontext.c
	* app/core/gimpgradient-load.[ch]
	* app/core/gimpgradient.[ch]
	* app/core/gimppalette-import.c
	* app/core/gimppalette.[ch]
	* app/core/gimppattern.[ch]: changed accordingly.
2005-06-08 11:27:31 +00:00
William Skaggs 78e6016aaa Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/tools/gimpaligntool.[ch]: improve layout of controls.  Add
	radio buttons allowing selection of reference layer without
	using Ctrl modifier.  Handle removal of target or reference
	layers from image more correctly.  More to come.
2005-06-07 20:12:23 +00:00
Sven Neumann df623bf246 plug-ins/bmp/bmp.c plug-ins/bmp/bmpread.c applied a (slightly modified)
2005-06-07  Sven Neumann  <sven@gimp.org>

	* plug-ins/bmp/bmp.c
	* plug-ins/bmp/bmpread.c
	* plug-ins/bmp/bmpwrite.c: applied a (slightly modified) patch
	contributed by Brandon that adds support for reading and writing
	RGBA BMP files (bug #306339).
2005-06-07 16:55:21 +00:00
Manish Singh 3e7aaa368c detect SSE3.
2005-06-07  Manish Singh  <yosh@gimp.org>

        * app/base/cpu-accel.[ch]: detect SSE3.
2005-06-07 07:10:22 +00:00
Manish Singh 92643ca2f5 cast the result of gtk_bin_get_child ().
2005-06-07  Manish Singh  <yosh@gimp.org>

        * app/actions/dockable-actions.c (dockable_actions_update): cast
        the result of gtk_bin_get_child ().
2005-06-07 07:04:25 +00:00
Michael Natterer a648c35b82 use 'B' instead of 'S' as mnemonic for "Show Button Bar".
2005-06-06  Michael Natterer  <mitch@gimp.org>

	* app/actions/dockable-actions.c (dockable_toggle_actions): use
	'B' instead of 'S' as mnemonic for "Show Button Bar".
2005-06-06 20:07:40 +00:00
Maurits Rijk f9dc08a441 plug-ins/imagemap/imap_grid.[ch] plug-ins/imagemap/imap_main.c
2005-06-06  Maurits Rijk  <m.rijk@chello.nl>

	* plug-ins/imagemap/imap_grid.[ch]
	* plug-ins/imagemap/imap_main.c
	* plug-ins/imagemap/imap_menu.[ch]
	* plug-ins/imagemap/imap_menu_funcs.[ch]
	* plug-ins/imagemap/imap_object_popup.[ch]
	* plug-ins/imagemap/imap_polygon.[ch]: more conversion to action based
	menus. Almost done.
2005-06-06 19:53:44 +00:00
Sven Neumann b29fc29b2e only create the temporary file if there is a parasite to load.
2005-06-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/gfig/gfig.c (gfig_load_from_parasite): only create the
	temporary file if there is a parasite to load.
2005-06-06 15:43:57 +00:00
Sven Neumann 365f79262b removed unused variable.
2005-06-06  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpcellrendererdashes.c: removed unused variable.
2005-06-06 09:40:07 +00:00
Tor Lillqvist 52fb3812c7 Add gimp_font_select_button_*.
2005-06-06  Tor Lillqvist  <tml@novell.com>

	* libgimp/gimpui.def: Add gimp_font_select_button_*.
2005-06-06 06:56:58 +00:00
Manish Singh 62749bb931 plug-ins/pygimp/gimpfu.py plug-ins/pygimp/gimpenums.py use old pygtk enum
2005-06-05  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpfu.py
        * plug-ins/pygimp/gimpenums.py
        * plug-ins/pygimp/gimpenumsmodule.c: use old pygtk enum API so we
        still work with older pygtk versions.
2005-06-05 19:28:46 +00:00
William Skaggs 052d95c906 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/screenshot.c: make " no decorations" option
	work; problem pointed out by Jean-Luc Coulon on dev list.
2005-06-05 15:50:20 +00:00
Sven Neumann 157fd5bbca if the area is larger than the brush, center the brush.
2005-06-05  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpviewrendererbrush.c
	(gimp_view_renderer_brush_render_timeout): if the area is larger
	than the brush, center the brush.
2005-06-05 00:03:24 +00:00
Sven Neumann e09ee5e501 app/widgets/gimpcoloreditor.c app/widgets/gimpcursorview.c
2005-06-05  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpcoloreditor.c
	* app/widgets/gimpcursorview.c
	* app/widgets/gimpdataeditor.c
	* app/widgets/gimpeditor.c
	* app/widgets/gimphistogrameditor.c
	* app/widgets/gimppaletteeditor.c: peek at the default interface to
	get the parent interface. Unconditionally chain up in get_aux_info()
	and set_aux_info() methods.
2005-06-04 22:49:53 +00:00
Manish Singh 7475212d5c reorder to get the marshal files built first.
2005-06-04  Manish Singh  <yosh@gimp.org>

        * libgimp/Makefile.am: reorder to get the marshal files built first.
2005-06-04 22:41:15 +00:00
Manish Singh 7a63a7980f new formal widget based on gimpfontmenu.[ch].
2005-06-04  Manish Singh  <yosh@gimp.org>

        * libgimp/gimpfontselectbutton.[ch]: new formal widget based on
        gimpfontmenu.[ch].

        * libgimp/gimpuimarshal.list: needed for new signal in above.

        * libgimp/gimpfontmenu.[ch]: deprecate, and thinly wrap around
        new GimpFontSelectButton for compatibility.

        * libgimp/gimpuitypes.h: add GimpFontSelectButton, as well
        as types for the future SelectButtons.

        * libgimp/gimpui.h
        * libgimp/Makefile.am: hook in the new widget.

        * plug-ins/common/film.c
        * plug-ins/script-fu/script-fu-interface.c: use new API.
2005-06-04 22:36:05 +00:00
Sven Neumann f173198669 app/widgets/gimpdocked.[ch] moved button-bar API to the GimpDocked
2005-06-05  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpdocked.[ch]
	* app/widgets/gimpeditor.[ch]: moved button-bar API to the
	GimpDocked interface.

	* app/widgets/gimpcontainereditor.c: implement the new interface
	methods and proxy them to the embedded docked.

	* app/actions/dockable-actions.c
	* app/actions/dockable-commands.c: changed accordingly.
2005-06-04 22:32:31 +00:00
Manish Singh 95a573431a libgimp/gimpimagecombobox.h fix the type macros so they work.
2005-06-04  Manish Singh  <yosh@gimp.org>

        * libgimp/gimpimagecombobox.h
        * libgimp/gimpdrawablecombobox.h: fix the type macros so they work.
2005-06-04 22:11:56 +00:00
Sven Neumann 2832700c04 don't include gimpeditor.h.
2005-06-04  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpcontainerview.h: don't include gimpeditor.h.

	* app/widgets/gimpbufferview.c
	* app/widgets/gimpdocumentview.c
	* app/widgets/gimpfontview.c
	* app/widgets/gimpimageview.c: include it here instead.
2005-06-04 21:20:31 +00:00
Sven Neumann 5412fac02b app/actions/dockable-actions.c app/actions/dockable-commands.[ch]
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.
2005-06-04 21:00:48 +00:00
Manish Singh 7ce0c7a90c define _O_BINARY ourselves if it's not defined by any headers, and use
2005-06-04  Manish Singh  <yosh@gimp.org>

        * plug-ins/helpbrowser/dialog.c: define _O_BINARY ourselves if
        it's not defined by any headers, and use that instead of #ifdefed
        calls to g_open.
2005-06-04 19:25:44 +00:00
Sven Neumann 1d59a0c818 validate the iter after appending to the text buffer.
2005-06-04  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpwidgets-utils.c (gimp_text_buffer_load):
	validate the iter after appending to the text buffer.
2005-06-04 17:38:27 +00:00
Sven Neumann 498171fe1e fix calculation of zoom offsets in the case that dot-for-dot mode is not
2005-06-04  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpmagnifytool.c (gimp_magnify_tool_button_release):
	fix calculation of zoom offsets in the case that dot-for-dot mode
	is not enabled (bug #306476).
2005-06-04 14:57:06 +00:00
Sven Neumann 8404a9e4e3 use the viewable's description in the drag icon. Use a larger preview.
2005-06-04  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpdnd.c (gimp_dnd_get_viewable_icon): use the
	viewable's description in the drag icon. Use a larger preview.

	* app/widgets/gimpdockbook.c: tweak spacing and border-width of
	the tab widget if it is being used as drag icon.
2005-06-04 12:54:24 +00:00
Sven Neumann 80d4e4f5b0 invalidate the buffer when the widget's sensitivity changes. Draw a
2005-06-04  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpcolorarea.[ch]: invalidate the buffer when
	the widget's sensitivity changes. Draw a stipple pattern on the
	insensitive color area.

	* libgimpwidgets/gimpcellrenderercolor.c: follow internal API change.

	* libgimpwidgets/gimpcolorbutton.c: pass GDK_BUTTON1_MASK as
	drag-mask. Doesn't work for whatever reason but it didn't work
	with GDK_BUTTON2_MASK either.
2005-06-04 12:02:36 +00:00
Michael Schumacher 525de1b084 use GetDesktopWindow() and SW_SHOW as suggested in bug #171200. Applied to
2005-06-04  Michael Schumacher  <schumaml@cvs.gnome.org>

	* plug-ins/common/webbrowser.c: use GetDesktopWindow() and SW_SHOW
	as suggested in bug #171200. Applied to both branches.
2005-06-04 11:50:32 +00:00
Michael Schumacher 578fef6886 added #ifdef G_OS_WIN32 because O_BINARY isn't available on other
2005-06-04  Michael Schumacher  <schumaml@cvs.gnome.org>

	* plug-ins/helpbrowser/dialog.c: added #ifdef G_OS_WIN32 because
	O_BINARY isn't available on other platforms
2005-06-04 11:41:53 +00:00
Sven Neumann be3a1dcc08 reduced the number of characters to show before ellipsizing the label.
2005-06-04  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpdnd.c (gimp_dnd_get_viewable_icon): reduced the
	number of characters to show before ellipsizing the label.

	* libgimpwidgets/gimpcolorarea.c: added a "draw-border" property.

	* app/widgets/gimpcolorframe.c: draw a border around the color area.
2005-06-04 10:12:03 +00:00
Michael Schumacher 4da086d48c added a O_BINARY to make sure that images are loaded correctly
2005-06-03  Michael Schumacher  <schumaml@cvs.gnome.org>

	* plug-ins/helpbrowser/dialog.c: added a O_BINARY to make sure
	that images are loaded correctly
2005-06-04 08:46:48 +00:00
Manish Singh 703125db20 create the layer combo with the right type.
2005-06-03  Manish Singh  <yosh@gimp.org>

        * libgimp/gimpdrawablecombobox.c: create the layer combo with the
        right type.
2005-06-04 01:44:52 +00:00
Manish Singh f346159e6a tools/pdbgen/Makefile.am removed, unneeded now.
2005-06-03  Manish Singh  <yosh@gimp.org>

        * tools/pdbgen/Makefile.am
        * tools/pdbgen/enumcode-py.pl: removed, unneeded now.
2005-06-04 01:10:58 +00:00
Sven Neumann b9186b8378 added property for "mode", fixed some implementation issues.
2005-06-04  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpcolorframe.[ch]: added property for "mode",
	fixed some implementation issues.

	* app/widgets/gimpsamplepointeditor.c: create the color frames
	using g_object_new().
2005-06-04 00:56:00 +00:00
Manish Singh e8c7a7a497 plug-ins/pygimp/pygimp-api.h export our API to other modules in a saner
2005-06-03  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-api.h
        * plug-ins/pygimp/gimpmodule.c: export our API to other modules
        in a saner fashion. Also add checks_get_shades method.

        * plug-ins/pygimp/procbrowser.c: Use new export API.

        * plug-ins/pygimp/pygimp-drawable.c (drw_mask_intersect):
        use Py_BuildValue to build the tuple.

        * plug-ins/pygimp/pygimp-image.c (img_repr): capitalization fix.

        * plug-ins/pygimp/pygimp-rgb.c
        * plug-ins/pygimp/pygimpcolor.h
        * plug-ins/pygimp/gimpcolormodule.c: beginnings of a wrapper to
        libgimpcolor.

        * plug-ins/pygimp/gimpfu.py
        * plug-ins/pygimp/gimpenums.py
        * plug-ins/pygimp/gimpenumsmodule.c: use gimp enum API to find out
        our enums.

        * plug-ins/pygimp/Makefile.am: hook in all of the above.
2005-06-04 00:17:06 +00:00
Manish Singh 5c160d196c build pygimp by default.
2005-06-03  Manish Singh  <yosh@gimp.org>

        * configure.in: build pygimp by default.
2005-06-03 23:58:49 +00:00
William Skaggs 48845d0a05 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/widgets/gimpcolorframe.[ch]: add "has-color-area" property,
	FALSE by default.

	* app/widgets/gimpsamplepointeditor.c: explicitly add a color
	area to the color frames.
2005-06-03 23:57:02 +00:00
Sven Neumann 33131e6a82 show the viewable's name in the drag icon.
2005-06-04  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpdnd.c (gimp_dnd_get_viewable_icon): show the
	viewable's name in the drag icon.
2005-06-03 23:55:05 +00:00
Michael Natterer 5dd7b6443b bail out early if the view has no container (instead of crashing).
2005-06-04  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcontainertreeview-dnd.c
	(gimp_container_tree_view_drop_status): bail out early if the view
	has no container (instead of crashing).
2005-06-03 23:53:48 +00:00
Manish Singh 24b3e080f6 whitespace fix.
2005-06-03  Manish Singh  <yosh@gimp.org>

        * libgimpcolor/gimprgb.h: whitespace fix.

        * libgimpwidgets/gimpchainbutton.h
        * libgimpwidgets/gimpwidgetsenums.[ch]: move GimpChainPosition
        to a registered enum, and register GimpSizeEntryUpdatePolicy as
        as well.

        * libgimp/gimpuitypes.h
        * libgimp/gimpdrawablecombobox.[ch]: turn these into GObjects
        with their own types.

        * libgimp/gimpimagecombobox.c: use G_DEFINE_TYPE.
2005-06-03 23:38:45 +00:00
Manish Singh b77ca997a7 make _gimp_enums_init public, so language bindings can do early enum
2005-06-03  Manish Singh  <yosh@gimp.org>

        * tools/pdbgen/enumcode.pl: make _gimp_enums_init public, so
        language bindings can do early enum registration if needed.

        * libgimp/gimpenums.h
        * libgimp/gimpenums.c.tail: regenerated

        * gimp.c: call gimp_enums_init instead of _gimp_enums_init.

        * gimp.def: add newly exported function.
2005-06-03 23:25:44 +00:00
Manish Singh 93490ae76b require python 2.2.1, so True and False are always there. Check for pygtk
2005-06-03  Manish Singh  <yosh@gimp.org>

        * configure.in: require python 2.2.1, so True and False are always
        there. Check for pygtk codegen stuff, we'll be using that in the
        future.

        * plug-ins/pygimp/plug-ins/*.py: Use True and False instead of
        TRUE and FALSE.
2005-06-03 23:15:23 +00:00
William Skaggs cfed1f28ea Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/core/gimpitem-align.c
	* app/core/gimpitem-align.h (gimp_item_align): remove push_undo
	arg, useless as pointed out by mitch.

	* app/tools/gimpaligntool.c: changed correspondingly.
2005-06-03 22:46:58 +00:00
Michael Natterer 39a8c9685a added API to show a number in front of the color area.
2005-06-04  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcolorframe.[ch]: added API to show a number in
	front of the color area.

	* app/widgets/gimpsamplepointeditor.c: use the new API to put the
	sample points' numbers there.
2005-06-03 22:34:28 +00:00
William Skaggs 643e2257f5 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/core/gimpitem-align.[ch]: newly created to
	hold code for gimp_item_align().

	* app/core/Makefile.am: add new files

	* app/core/gimpitem.[ch]: remove code from here.

	* app/tools/gimpaligntool.c: fix includes and remove
	unneeded includes.
2005-06-03 21:52:39 +00:00
Michael Natterer 635795cc50 pack the color area and the labels into different vboxes to make the
2005-06-03  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcolorframe.c (gimp_color_frame_init): pack the
	color area and the labels into different vboxes to make the widget
	compact again.
2005-06-03 21:36:29 +00:00
William Skaggs 7250297297 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* gimp/app/tools/Makefile.am
	* gimp/app/tools/gimp-tools.c
	* gimp/app/tools/gimpalignoptions.c
	* gimp/app/tools/gimpalignoptions.h
	* gimp/app/tools/gimpaligntool.c
	* gimp/app/tools/gimpaligntool.h: Add new tool for
	aligning layers etc, as described in bug #147437.

	* gimp/app/core/gimpitem.c
	* gimp/app/core/gimpitem.h (gimp_item_align): add
	function required by new tool.

	* gimp/app/core/core-enums.c
	* gimp/app/core/core-enums.h: add enum for alignment
	types.

	* gimp/themes/Default/images/stock-hcenter-24.png
	* gimp/themes/Default/images/stock-vcenter-24.png
	* gimp/libgimpwidgets/gimpstock.c
	* gimp/libgimpwidgets/gimpstock.h
	* gimp/themes/Default/images/Makefile.am
	* gimp/themes/Default/images/makefile.msc: add two
	stock symbols, modeled on the gravity symbols.
2005-06-03 17:05:01 +00:00
William Skaggs b91651fe8f Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/tools/gimprectangletool.c (gimp_rectangle_tool_motion):
	Don't change function before creating new rectangle;
	cause of problem identified by Karine Delvare.
2005-06-02 22:48:43 +00:00
William Skaggs c635b2be13 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/screenshot.c: trap errors when running
	XGrabKey, to prevent bail-out on BadAccess error as
	reported by Jean-Luc Coulon on developers list; solution
	suggested by Simon Budig.
2005-06-02 18:03:50 +00:00
Raphael Quinet 8114272551 New splash. A twist on the original PixelPusher concept by jimmac.
2005-06-02  Raphael Quinet  <raphael@gimp.org>

	* data/images/gimp-splash.png: New splash.  A twist on the
	original PixelPusher concept by jimmac.
2005-06-02 13:06:16 +00:00
William Skaggs b2465d29f7 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/widgets/gimpcolorframe.[ch]: add a color area, to make
	sample points dialog show a swatch of color for each point.
2005-06-01 20:10:39 +00:00
Simon Budig 41b549a7b0 cosmetic change: Make the stroke IDs start from 1.
2005-06-01  Simon Budig  <simon@gimp.org>

	* app/vectors/gimpvectors.c: cosmetic change: Make the stroke IDs
	start from 1.

	* tools/pdbgen/pdb/vectors.pdb: Two more wrappers:
	vectors_stroke_remove and vectors_stroke_interpolate. Undo still
	unsolved.

	* app/pdb/internal_procs.c
	* app/pdb/vectors_cmds.c
	* libgimp/gimpvectors_pdb.[ch]: regenerated.
2005-06-01 16:20:46 +00:00
William Skaggs 5a5651ec58 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/tools/gimpbrightnesscontrasttool.[ch]: Allow tool to be
	operating by clicking and dragging inside the image, as
	described in bug #165330.
2005-05-31 19:33:14 +00:00
Maurits Rijk 2bc4ca796d plug-ins/common/CEL.c plug-ins/common/gbr.c plug-ins/common/gee.c
2005-05-31  Maurits Rijk  <m.rijk@chello.nl>

	* plug-ins/common/CEL.c
	* plug-ins/common/gbr.c
	* plug-ins/common/gee.c
	* plug-ins/common/hot.c
	* plug-ins/common/pat.c
	* plug-ins/common/pcx.c
	* plug-ins/common/spheredesigner.c
	* plug-ins/common/tiler.c
	* plug-ins/common/zealouscrop.c: GPL license added for plug-ins
	without any license. If any of the authors objects we will
	probably have to remove the plug-in.
2005-05-31 19:10:46 +00:00
Maurits Rijk bde8c0d4c2 Forgotten during previous commit. 2005-05-31 18:18:15 +00:00
Maurits Rijk 2fc3ba5e7a plug memory leak. Fixes #305995.
2005-05-31  Maurits Rijk  <m.rijk@chello.nl>

	* plug-ins/imagemap/imap_selection.c: plug memory leak. Fixes #305995.
2005-05-31 18:05:10 +00:00
Sven Neumann 315061ca00 use XGrabKey() to grab the Escape key instead of doing a full keyboard
2005-05-31  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/screenshot.c (select_window_x11): use XGrabKey()
	to grab the Escape key instead of doing a full keyboard grab.
2005-05-31 15:35:51 +00:00
Sven Neumann 07d6c60432 added missing cast.
2005-05-31  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpaction.c (gimp_action_set_proxy): added missing
	cast.
2005-05-31 14:51:13 +00:00
Sven Neumann 5f52d2d515 code cleanup.
2005-05-31  Sven Neumann  <sven@gimp.org>

	* app/core/gimpprojection-construct.c: code cleanup.
2005-05-31 14:49:01 +00:00
Michael Natterer 228762e1f2 enable ellipsation on the progressbar. Fixes initial display width
2005-05-31  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpstatusbar.c (gimp_statusbar_init): enable
	ellipsation on the progressbar. Fixes initial display width
	calculation for long statusbar strings.
2005-05-31 13:59:48 +00:00
Michael Natterer 82d1b13b5c re-enabled tooltips on the "Open Recent" menu items, using an evil but
2005-05-31  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpaction.c (gimp_action_set_proxy): re-enabled
	tooltips on the "Open Recent" menu items, using an evil but
	documented heuristic.
2005-05-31 13:56:46 +00:00
Sven Neumann 2840d26518 don't leak the return value of gtk_container_get_children (bug #305994,
2005-05-31  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpenumwidgets.c
	(gimp_enum_stock_box_set_child_padding): don't leak the return
	value of gtk_container_get_children (bug #305994, spotted by Ted
	Kremenek).

	* app/config/gimprc-serialize.c (gimp_rc_serialize_properties_diff):
	don't leak the GList in the unlikely case of an error (bug #305992,
	spotted by Ted Kremenek).
2005-05-31 10:47:09 +00:00
Sven Neumann d9b5c44c3c applied patch from Joao S. O. Bueno Calligaris that adds support for
2005-05-31  Sven Neumann  <sven@gimp.org>

	* app/core/gimppalette-import.c: applied patch from Joao
	S. O. Bueno Calligaris that adds support for loading PSP color
	palette files (bug #305956).
2005-05-31 10:34:36 +00:00
Sven Neumann 50c61cc2e6 capitalization and mnemonics.
2005-05-30  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/screenshot.c: capitalization and mnemonics.
2005-05-30 09:10:29 +00:00
Sven Neumann 101c5a2dc9 pass GIMP_COLOR_AREA_CHECKS_SMALL instead of TRUE for the type of the
2005-05-29  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpdnd.c (gimp_dnd_get_color_icon): pass
	GIMP_COLOR_AREA_CHECKS_SMALL instead of TRUE for the type of the
	GimpColorArea.

	* app/widgets/gimpcoloreditor.c: added a "context" property.

	* libgimpwidgets/gimpcolorarea.c (gimp_color_area_set_color):
	always use gimp_rgba_distance(), regardless of the area's type.
2005-05-29 13:48:03 +00:00
Manish Singh e495900309 plug-ins/pygimp/gimpmodule.c use DL_EXPORT for the init functions, maybe
2005-05-28  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpmodule.c
        * plug-ins/pygimp/procbrowser.c: use DL_EXPORT for the init functions,
        maybe this will help Win32 builds. Also some minor cleanups.
2005-05-28 23:56:07 +00:00
Manish Singh 2ce8e34c0a libgimp/gimpuitypes.h turn this into a GObject with its own type.
2005-05-28  Manish Singh  <yosh@gimp.org>

        * libgimp/gimpuitypes.h
        * libgimp/gimpimagecombobox.[ch]: turn this into a GObject with its
        own type.
2005-05-28 23:08:07 +00:00
Maurits Rijk 3ee2a3a0aa use gtk_about_dialog instead of home-brewn stuff.
2005-05-28  Maurits Rijk  <m.rijk@chello.nl>

	* plug-ins/imagemap/imap_about.c: use gtk_about_dialog instead of
	home-brewn stuff.

	* plug-ins/imagemap/imap_main.c
	* plug-ins/imagemap/imap_menu.c: minor clean-up.
2005-05-28 18:13:18 +00:00
Manish Singh 4b10d69d66 We're going back... TO THE FUTURE 2005-05-28 08:21:37 +00:00
Sven Neumann 93eab43eef Use the canonical form for signal names.
2005-05-27  Sven Neumann  <sven@gimp.org>

	* (lots of files): Use the canonical form for signal names.
2005-05-27 16:51:39 +00:00
Sven Neumann 3ca90a182e Use the canonical form for signal names in lots of places (but by far not
2005-05-27  Sven Neumann  <sven@gimp.org>

	* (lots of files): Use the canonical form for signal names in lots
	of places (but by far not all).
2005-05-27 13:05:26 +00:00
Sven Neumann 9a5cd29c69 connect to "name-changed" of the active drawable and change the name
2005-05-27  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimphistogrameditor.[ch]: connect to "name-changed"
	of the active drawable and change the name displayed in the editor.
2005-05-27 11:48:50 +00:00
Sven Neumann 684591f81c added a name label (with properties to show/hide and to set it).
2005-05-27  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpeditor.[ch]: added a name label (with properties
	to show/hide and to set it).

	* app/widgets/gimpcontainergridview.[ch]
	* app/widgets/gimphistogrameditor.[ch]: removed the label here and
	use the functionality now provided by GimpEditor instead.

	* app/widgets/gimpcontainerpopup.c: changed accordingly.
2005-05-27 11:40:06 +00:00
Sven Neumann 337947de29 reverted previous change for now.
2005-05-27  Sven Neumann  <sven@gimp.org>

	* app/core/gimpdata.c: reverted previous change for now.
2005-05-27 10:56:33 +00:00
Sven Neumann f0224fe104 mark properties as serializable.
2005-05-27  Sven Neumann  <sven@gimp.org>

	* app/core/gimpdata.c: mark properties as serializable.
2005-05-27 10:49:54 +00:00
Sven Neumann 5d40187247 plug-ins/helpbrowser/dialog.c store the scroll offset in the history and
2005-05-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/helpbrowser/dialog.c
	* plug-ins/helpbrowser/queue.[ch]: store the scroll offset in the
	history and set it when using the Back and Forward actions. Fixes
	bug #165022.
2005-05-26 17:13:59 +00:00
Sven Neumann 8eeb831d5f destroy the regions allocated here.
2005-05-26  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell.c (gimp_display_shell_set_highlight):
	destroy the regions allocated here.
2005-05-26 13:43:35 +00:00
Sven Neumann cbd446ee56 fixed capitalization, removed trailing whitespace.
2005-05-26  Sven Neumann  <sven@gimp.org>

	* app/dialogs/channel-options-dialog.c: fixed capitalization,
	removed trailing whitespace.

	* app/actions/channels-commands.c (channels_new_channel_response):
	also set the channel color if creating the channel by duplicating
	the selection.

	* app/actions/channels-commands.c
	* app/actions/qmask-commands.c: added mnemonics.
2005-05-26 10:01:04 +00:00
Nate Summers 15a629c640 changes to the log are fun 2005-05-26 04:18:55 +00:00
Sven Neumann bbc1c947ad added more properties.
2005-05-26  Sven Neumann  <sven@gimp.org>

	* app/core/gimpdata.c: added more properties.
2005-05-25 23:47:42 +00:00
Sven Neumann 59cb5d75ba added MIME type as a construct property to GimpData.
2005-05-26  Sven Neumann  <sven@gimp.org>

	* app/core/gimpdata.[ch]: added MIME type as a construct property
	to GimpData.

	* app/core/gimpbrush-load.c
	* app/core/gimpbrushgenerated.c
	* app/core/gimpbrushpipe.c
	* app/core/gimpgradient-load.c
	* app/core/gimppalette.c
	* app/core/gimppattern.c: set the MIME type when loading a data
	object from file. MIME types needs review and GimpPalette isn't
	quite done yet...

	* app/core/gimpdashpattern.c: cosmetics.
2005-05-25 23:25:45 +00:00
Nathan Summers 79f57d5b5f made the G_FILENAME_ENCODING not or incorrectly set error message more
2005-05-25  Nathan Summers  <rock@gimp.org>

        * app/sanity.c (sanity_check_filename_encoding): made the
        G_FILENAME_ENCODING not or incorrectly set error message more
        idiomatic.
2005-05-25 23:21:06 +00:00
Sven Neumann c863ad0fc2 correctly handle very small target sizes.
2005-05-25  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpoffsetarea.c (gimp_offset_area_expose_event):
	correctly handle very small target sizes.
2005-05-25 11:49:54 +00:00
Sven Neumann e0b3fdfc3c fixed gtk-doc comments.
2005-05-25  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpclipboard.[ch]: fixed gtk-doc comments.
2005-05-25 11:23:06 +00:00
Michael Natterer 7abaab62e0 added virtual function GimpViewable::get_size() and public API
2005-05-25  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpviewable.[ch]: added virtual function
	GimpViewable::get_size() and public API gimp_viewable_get_size()
	which return width and height and a boolean indicating if the
	viewable has a size at all.
	Added default implementation of GimpViewable::get_popup_size()
	using the new get_size() API.

	* app/core/gimpbrush.c
	* app/core/gimpbuffer.c
	* app/core/gimpdrawable.c
	* app/core/gimpimage.c
	* app/core/gimppattern.c: implement GimpViewable::get_size().

	* app/core/gimpbrush.c
	* app/core/gimppattern.c: removed GimpViewable::get_popup_size()
	implementations, the default one is good enough.

	* app/core/gimpbrushpipe.c (gimp_brush_pipe_get_popup_size):
	redirect to gimp_viewable_get_size() instead of duplicating its
	return values.

	* app/widgets/gimpcontainertreeview.c
	* app/widgets/gimpview.c: allow pixbuf dragging out of any
	viewable that has a size.

	* app/widgets/gimpdrawabletreeview.c: removed pixbuf dragging code
	here.

	* app/widgets/gimpdnd.c: set gimp busy around encoding/decoding
	pixbufs into/from GtkSelectionData, because it can be a time
	consuming operation.
2005-05-25 10:05:17 +00:00
Michael Natterer 4bbeec9640 fixed type of the dropped layer.
2005-05-25  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimptoolbox-dnd.c (gimp_toolbox_drop_pixbuf): fixed
	type of the dropped layer.
2005-05-25 09:54:05 +00:00
Sven Neumann 8f141bcb08 ellipsize the dockable title if it is too wide.
2005-05-25  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpdockable.c: ellipsize the dockable title if it
	is too wide.

	* app/widgets/gimpstrokeeditor.c: added mnemonic for the presets
	combo.
2005-05-25 09:45:06 +00:00
Michael Natterer a398aba3d2 implemented dropping of pixbufs. Bail out early from all callbacks if
2005-05-25  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimptoolbox-dnd.c: implemented dropping of pixbufs.
	Bail out early from all callbacks if gimp->busy is TRUE.
2005-05-24 22:22:24 +00:00
Michael Natterer baee43b51a added --store option which tries to store a file in the clipboard manager,
2005-05-25  Michael Natterer  <mitch@gimp.org>

	* tools/test-clipboard.c: added --store option which tries to
	store a file in the clipboard manager, improved error reporting.
2005-05-24 22:06:52 +00:00
Sven Neumann 014f22c4c7 only set a horizontal size request on the vertical color bar.
2005-05-24  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpcolorselect.c: only set a horizontal size
	request on the vertical color bar.
2005-05-24 10:48:47 +00:00