Commit Graph

11586 Commits

Author SHA1 Message Date
Sven Neumann f4adf361db added "tools-foreground-select" to the Selection Tools menu.
2005-07-29  Sven Neumann  <sven@gimp.org>

	* menus/image-menu.xml.in: added "tools-foreground-select" to the
	Selection Tools menu.

	* app/tools/gimpforegroundselecttool.c: resolved clashing mnemonic.
2005-07-29 20:26:29 +00:00
Sven Neumann b8fc8e6050 themes/Default/images/Makefile.am
2005-07-29  Sven Neumann  <sven@gimp.org>

	* themes/Default/images/Makefile.am
	* themes/Default/images/tools/stock-tool-foreground-select-16.png
	* themes/Default/images/tools/stock-tool-foreground-select-22.png:
	added placeholder for yet-to-be-drawn tool icon.

	* libgimpwidgets/gimpstock.[ch]: register it.

	* app/tools/gimpforegroundselecttool.c: use it.

	* app/widgets/gimpclipboard.[ch] (gimp_clipboard_get_svg): return
	a signed char pointer.

	* app/actions/edit-commands.c
	* app/tools/gimpinkoptions-gui.c: fixed signedness issues.
2005-07-29 18:04:59 +00:00
Sven Neumann a026524412 app/base/siox.[ch] pass progress_callback and progress_data to
2005-07-29  Sven Neumann  <sven@gimp.org>

	* app/base/siox.[ch]
	* app/core/gimpdrawable-foreground-extract.c: pass progress_callback
	and progress_data to siox_foreground_extract().
2005-07-29 16:09:16 +00:00
Sven Neumann 2580f0c04e added a progress parameter.
2005-07-29  Sven Neumann  <sven@gimp.org>

	* app/core/gimpdrawable-foreground-extract.[ch]: added a progress
	parameter.

	* app/tools/gimpforegroundselecttool.[ch]: changed the "select"
	method to take a GimpDisplay instead of a GimpImage.

	* tools/pdbgen/pdb/drawable.pdb
	* app/tools/gimpforegroundselecttool.c: changed accordingly.

	* app/pdb/drawable_cmds.c: regenerated.
2005-07-29 03:28:27 +00:00
Sven Neumann 5ce9b4ecd5 fixed signedness warnings.
2005-07-29  Sven Neumann  <sven@gimp.org>

	* plug-ins/jpeg/jpeg-load.c: fixed signedness warnings.
2005-07-29 02:55:18 +00:00
Sven Neumann 23666d8f19 added GimpForegroundExtractMode in preparation for other implementations
2005-07-29  Sven Neumann  <sven@gimp.org>

	* libgimpbase/gimpbaseenums.[ch]: added GimpForegroundExtractMode
	in preparation for other implementations to be added in the future.

	* libgimp/gimpenums.c.tail
	* tools/pdbgen/enums.pl: regenerated.

	* app/core/gimpdrawable-foreground-extract.[ch]
	* app/tools/gimpforegroundselecttool.c
	* tools/pdbgen/pdb/drawable.pdb: added the mode parameter.

	* app/pdb/drawable_cmds.c
	* libgimp/gimpdrawable_pdb.[ch]: regenerated.
2005-07-29 02:35:12 +00:00
Sven Neumann 26b69166c7 added casts to silent signedness warnings.
2005-07-29  Sven Neumann  <sven@gimp.org>

	* libgimpconfig/gimpconfig-utils.c (gimp_config_string_append_escaped):
	added casts to silent signedness warnings.
2005-07-29 02:22:00 +00:00
Sven Neumann 74345379e9 no antialiasing for the foreground selection tool (yet).
2005-07-29  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpselectionoptions.c (gimp_selection_options_gui): no
	antialiasing for the foreground selection tool (yet).
2005-07-29 02:07:49 +00:00
Sven Neumann a5abd45337 added gimp_scan_convert_render_value(), a variant of
2005-07-29  Sven Neumann  <sven@gimp.org>

	* app/core/gimpscanconvert.[ch]: added
	gimp_scan_convert_render_value(), a variant of
	gimp_scan_convert_render() that allows to pass the foreground value.

	* app/tools/gimpfreeselecttool.[ch]: added a virtual "select" method.

	* app/tools/Makefile.am
	* app/tools/gimp-tools.c
	* app/tools/gimpforegroundselecttool.[ch]: added a rough first
	version of foreground selection tool based on the SIOX algorithm.
	Work in progress...

	* app/widgets/gimphelp-ids.h: added help-id for the new tool.
2005-07-29 01:48:56 +00:00
Sven Neumann 81b81e3318 minor cleanup.
2005-07-29  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpfreeselecttool.c: minor cleanup.
2005-07-29 00:16:45 +00:00
Sven Neumann fde49937b3 minor cleanup.
2005-07-29  Sven Neumann  <sven@gimp.org>

	* app/base/siox.c (siox_foreground_extract): minor cleanup.
2005-07-28 23:40:00 +00:00
Sven Neumann 0728f76b35 added gimp_undo_stack_get_depth().
2005-07-29  Sven Neumann  <sven@gimp.org>

	* app/core/gimpundostack.[ch]: added gimp_undo_stack_get_depth().

	* app/widgets/gimpimagepropview.[ch]: display number and memory
	usage of undo/redo steps.

	* app/core/gimpimage-merge.c: fixed signedness issue.
2005-07-28 22:40:32 +00:00
Sven Neumann b82d4c46c7 accept an offset between pixels and mask, work only on the intersection
2005-07-28  Sven Neumann  <sven@gimp.org>

	* app/base/siox.[ch]: accept an offset between pixels and mask,
	work only on the intersection rectangle.

	* app/core/gimpdrawable-foreground-extract.c: pass the drawable
	offsets to siox_foreground_extract().
2005-07-28 20:12:16 +00:00
Sven Neumann 55f7b68c23 allow to enable some debug output.
2005-07-28  Sven Neumann  <sven@gimp.org>

	* app/base/siox.c: allow to enable some debug output.
2005-07-28 00:18:39 +00:00
Manish Singh bd5d41062d #include gimpimage-colormap.h
2005-07-27  Manish Singh  <yosh@gimp.org>

        * app/core/gimpdrawable-foreground-extract.c: #include
        gimpimage-colormap.h
2005-07-27 23:01:48 +00:00
Sven Neumann d429a944db app/core/Makefile.am moved cpercep from here ...
2005-07-28  Sven Neumann  <sven@gimp.org>

	* app/core/Makefile.am
	* app/core/cpercep.[ch]: moved cpercep from here ...

	* app/base/Makefile.am
	* app/base/cpercep.[ch]: ... to here.

	* app/base/siox.[ch]: use the cpercep routines for RGB->LAB
	conversion, gives a 20% speedup. Removed normalization which seems
	redundant. Make it work for grayscale and indexed, not only RGB.

	* app/core/gimpdrawable-foreground-extract.c
	* app/core/gimpimage-convert.c: changed accordingly.
2005-07-27 22:52:34 +00:00
Sven Neumann 5ef2b855ca change the cursor with the tool (bug #90519).
2005-07-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/ifscompose/ifscompose.c: change the cursor with the tool
	(bug #90519).
2005-07-26 13:38:48 +00:00
Sven Neumann 18943eba39 fixed signedness warnings.
2005-07-26  Sven Neumann  <sven@gimp.org>

	* tools/gimp-remote.c: fixed signedness warnings.
2005-07-26 01:21:17 +00:00
Maurits Rijk 4c28829dc5 make buffer large enough to hold all polygon data.
2005-07-25  Maurits Rijk  <m.rijk@chello.nl>

	* plug-ins/imagemap/imap_csim.y: make buffer large enough to hold
	all polygon data.

	* plug-ins/imagemap/imap_csim_parse.[ch]: regenerated. Fixes #169698
2005-07-25 20:07:14 +00:00
Michael Natterer c1c876a963 Some DND fixes / cleanup:
2005-07-25  Michael Natterer  <mitch@gimp.org>

	Some DND fixes / cleanup:

	* app/widgets/widgets-enums.h: renamed GIMP_DND_TYPE_TOOL to
	GIMP_DND_TYPE_TOOL_INFO.

	* app/widgets/gimpselectiondata.[ch]: s/tool/tool_info/g. Moved
	private functions to the end of the file. Include GIMP's PID in
	all GtkSelectionData strings which are used to pass around stuff
	by reference. For things which are referenced by name, also encode
	the object's address in the GtkSelectionData so having a brush
	called "Standard" or a named buffer called "Global Buffer" will
	work together with DND.

	* app/widgets/gimpdnd.[ch]: s/tool/tool_info/g. Renamed
	gimp_dnd_get_data_data() to gimp_dnd_get_object_data() since it's
	not limited to GimpData objects. Follow above selection data API
	changes. Cleanup.

	* libgimp/gimpbrushmenu.c
	* libgimp/gimpdrawablecombobox.c
	* libgimp/gimpfontselectbutton.c
	* libgimp/gimpgradientmenu.c
	* libgimp/gimpimagecombobox.c
	* libgimp/gimppalettemenu.c
	* libgimp/gimppatternmenu.c: follow GtkSelectionData format change
	and check the dropped things' PID against the return value of
	gimp_getpid().
2005-07-25 13:53:00 +00:00
Sven Neumann 1999d56ef9 on Win32, include <process.h> for getpid().
2005-07-25  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/pdb/misc.pdb: on Win32, include <process.h> for
	getpid().

	* app/pdb/misc_cmds.c: regenerated.
2005-07-25 12:59:53 +00:00
Michael Natterer 52329c5799 added gimp_getpid().
2005-07-25  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/misc.pdb: added gimp_getpid().

	* libgimp/gimp.def: changed accordingly.

	* app/pdb/internal_procs.c
	* app/pdb/misc_cmds.c
	* libgimp/gimpmisc_pdb.[ch]: regenerated.
2005-07-24 23:34:25 +00:00
Michael Natterer 43d691daef don't call gtk_widget_hide() on a NULL help button.
2005-07-25  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimpdialog.c (gimp_dialog_add_buttons_valist):
	don't call gtk_widget_hide() on a NULL help button.
2005-07-24 23:02:33 +00:00
Michael Natterer b7b799c041 libgimp/gimpbrushmenu.c put the previews into sunken instead of etched-in
2005-07-24  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimpbrushmenu.c
	* libgimp/gimppatternmenu.c: put the previews into sunken instead
	of etched-in frames.
2005-07-24 14:40:10 +00:00
Michael Natterer 07ff13c754 untabify, minor cleanup.
2005-07-24  Michael Natterer  <mitch@gimp.org>

	* app/core/gimppattern.c: untabify, minor cleanup.
2005-07-23 22:22:45 +00:00
Michael Natterer b886b0179b special case the global buffer so it can be dropped, not only dragged
2005-07-23  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpselectiondata.c
	(gimp_selection_data_get_buffer): special case the global buffer
	so it can be dropped, not only dragged around.
2005-07-23 19:42:20 +00:00
Michael Natterer 53ac1f4f01 added a label showing the number of selected pages. Allow to enter ranges
2005-07-23  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimppageselector.c: added a label showing the
	number of selected pages. Allow to enter ranges like "5-" or "-7"
	(treat them as if the user had entered "5-n_pages" or "1-7").
	Minor UI spacing and code cleanup.
2005-07-23 16:37:33 +00:00
Michael Schumacher 456d74d8e8 added missing gimp_page_selector_[get|set]_target
2005-07-22  Michael Schumacher  <schumaml@cvs.gnome.org>

	* libgimpwidgets/gimpwidgets.def: added missing
	gimp_page_selector_[get|set]_target
2005-07-22 16:37:30 +00:00
Michael Natterer 93e282b5b5 Forgot to commit ChangeLog. 2005-07-22 10:36:01 +00:00
Sven Neumann afc7754c9e fixed the GIMP_ZOOM_TO case for palettes with a number of colors that is
2005-07-22  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimppaletteeditor.c (gimp_palette_editor_zoom):
	fixed the GIMP_ZOOM_TO case for palettes with a number of colors
	that is not a multiple of the number of columns.
2005-07-22 08:19:05 +00:00
Sven Neumann 222d5a8935 reverted my last change here and replaced it with a better fix.
2005-07-22  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpviewrendererpalette.c
	(gimp_view_renderer_palette_render): reverted my last change here
	and replaced it with a better fix.
2005-07-22 08:09:40 +00:00
Michael Natterer 2a48c63e90 setup the dnd stuff in GimpView::set_viewable() and remove GimpView's
2005-07-22  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimppaletteview.c: setup the dnd stuff in
	GimpView::set_viewable() and remove GimpView's automatically added
	GimpPalette drag source. Fixes color dragging (bug #113237).
2005-07-21 22:36:14 +00:00
Sven Neumann 6a4b454431 added gimp_preview_get_area() for the rare case when one needs access to
2005-07-21  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimppreview.[ch]: added gimp_preview_get_area()
	for the rare case when one needs access to the GimpPreviewArea
	used in the preview.

	* libgimpwidgets/gimpwidgets.def: updated.
2005-07-21 14:02:29 +00:00
Pawan Chitrakar 6a06988737 Nepali Translation Added 2005-07-21 07:51:29 +00:00
Michael Natterer 20725453b4 don't return an execution error if the user cancelled the dialog.
2005-07-20  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/poppler.c (run): don't return an execution error
	if the user cancelled the dialog.
2005-07-20 19:39:46 +00:00
Sven Neumann 09f4e32828 fixed typo (Debian bug #310018).
2005-07-20  Sven Neumann  <sven@gimp.org>

	* app/config/gimpconfig-dump.c: fixed typo (Debian bug #310018).
2005-07-20 14:56:39 +00:00
Sven Neumann 0a29b4b509 declare variables at the start of the scope. Apply GIMP coding style to
2005-07-20  Sven Neumann  <sven@gimp.org>

	* plug-ins/gfig/gfig-grid.c: declare variables at the start of the
	scope. Apply GIMP coding style to the new polar grid code.
2005-07-20 09:40:32 +00:00
Sven Neumann 3e74368a3b return FALSE if the keypress event isn't handled because of a display
2005-07-19  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpvectortool.c (gimp_vector_tool_key_press): return
	FALSE if the keypress event isn't handled because of a display
	mismatch.
2005-07-19 21:26:12 +00:00
Sven Neumann f56ab4b823 fixed signedness warnings.
2005-07-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/mng.c (mng_save_image): fixed signedness warnings.
2005-07-19 20:52:12 +00:00
Michael Natterer 19ea2a9db4 app/widgets/Makefile.am new files keeping the render acceleration check
2005-07-19  Michael Natterer  <mitch@gimp.org>

	* app/widgets/Makefile.am
	* app/widgets/gimprender.[ch]: new files keeping the render
	acceleration check buffers.

	* app/display/gimpdisplayshell-render.[ch]: removed them here.

	* app/gui/gui.c: initialize/shutdown the new buffers.

	* app/widgets/gimpcolormapeditor.c
	* app/widgets/gimpviewrenderer.c
	* app/widgets/gimpviewrenderergradient.c
	* app/actions/view-actions.c
	* app/display/gimpdisplayshell-appearance.c
	* app/display/gimpdisplayshell-draw.c
	* app/display/gimpdisplayshell.c: use the new stuff. Removes
	lots of broken widgets -> display dependencies.
2005-07-19 20:42:14 +00:00
Michael Natterer 7e11ba99b8 renamed member "palette" to "preview", cleanup.
2005-07-19  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcolormapeditor.[ch]: renamed member "palette"
	to "preview", cleanup.
2005-07-19 19:37:07 +00:00
Sven Neumann 7e4f880849 app/actions/edit-actions.c changed the default keybinding for Edit->Clear
2005-07-19  Sven Neumann  <sven@gimp.org>

	* app/actions/edit-actions.c
	* etc/ps-menurc: changed the default keybinding for Edit->Clear
	from Ctrl-K to Delete (bug #118115).
2005-07-19 12:02:53 +00:00
Sven Neumann 1e76f341f9 try a different style for the info labels below the histogram; mainly to
2005-07-19  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimphistogrameditor.c: try a different style for the
	info labels below the histogram; mainly to avoid repositioning.
2005-07-19 09:44:46 +00:00
David Odin f0e58a1c63 don't try to free unallocated space (happened when vert or horz were 0.0)
* plug-ins/common/gauss.c: don't try to free unallocated space
  (happened when vert or horz were 0.0)
2005-07-18 18:10:55 +00:00
Sven Neumann 3dcf54db08 added libgimpwidgets/gimpresolutionentry.c.
2005-07-18  Sven Neumann  <sven@gimp.org>

	* POTFILES.in: added libgimpwidgets/gimpresolutionentry.c.

	* de.po: updated.
2005-07-18 16:58:35 +00:00
Sven Neumann 6466e3b82d need to sort the boundary here since gimp_draw_tool_draw_boundary()
2005-07-18  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpeditselectiontool.c (gimp_edit_selection_tool_start):
	need to sort the boundary here since gimp_draw_tool_draw_boundary()
	expects a sorted boundary now. Fixes bug #310432.

	* app/tools/gimppainttool.c: formatting.
2005-07-18 15:54:49 +00:00
Sven Neumann dca11f2ef4 tweaked spacing and alignments to make it look more like our other
2005-07-18  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpresolutionentry.c: tweaked spacing and
	alignments to make it look more like our other widgets.

	* plug-ins/common/poppler.c: put the resolution entry into a hbox
	so that it doesn't expand horizontally; removed unused table.
2005-07-18 10:16:45 +00:00
Sven Neumann 712ce5c8f9 plug-ins/common/nlfilt.c plug-ins/common/pat.c plug-ins/common/svg.c
2005-07-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/nlfilt.c
	* plug-ins/common/pat.c
	* plug-ins/common/svg.c
	* plug-ins/common/tiff.c
	* plug-ins/common/tile.c
	* plug-ins/common/uniteditor.c
	* plug-ins/common/wmf.c: fixed signedness warnings.
2005-07-17 20:35:32 +00:00
Sven Neumann 2c544f73bd added missing casts.
2005-07-17  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpdnd-xds.c: added missing casts.
2005-07-17 20:01:59 +00:00
Manish Singh 1612db6507 plug-ins/pygimp/gimpmodule.c revert to old behavior of parasite_find
2005-07-17  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpmodule.c
        * plug-ins/pygimp/pygimp-drawable.c: revert to old behavior of
        parasite_find functions returning None when there isn't a parasite
        found. Fixed bug #310666.
2005-07-17 19:49:01 +00:00
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