Commit Graph

11049 Commits

Author SHA1 Message Date
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
Sven Neumann 0d6c07eac6 plugged a small memleak.
2005-05-24  Sven Neumann  <sven@gimp.org>

	* libgimpconfig/gimpcolorconfig.c (gimp_color_config_set_property):
	plugged a small memleak.
2005-05-23 22:12:47 +00:00
Sven Neumann feb4a5b0d8 plug-ins/gfig/gfig-dialog.c initialize GimpRGB and GFigContext structs
2005-05-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/gfig/gfig-dialog.c
	* plug-ins/gfig/gfig.c: initialize GimpRGB and GFigContext structs
	before using them.
2005-05-23 20:11:09 +00:00
Sven Neumann b6d0c2d3a2 also grab the keyboard and allow to cancel the operation using the Escape
2005-05-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/screenshot.c (select_window_x11): also grab the
	keyboard and allow to cancel the operation using the Escape key.
2005-05-23 10:47:32 +00:00
Sven Neumann b08d42c66d always apply the selected delay.
2005-05-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/screenshot.c: always apply the selected delay.
2005-05-23 09:53:18 +00:00
Sven Neumann ed19b5aabe we don't actually need to keep a pointer to the dashes array.
2005-05-23  Sven Neumann  <neumann@jpk.com>

	* app/widgets/gimpcellrendererdashes.[ch]: we don't actually need to
	keep a pointer to the dashes array.
	(gimp_cell_renderer_dashes_render): respect horizontal padding.

	* app/widgets/gimpstrokeeditor.c: added 2 pixels horizontal
	padding for the dashes cell-renderer.
2005-05-23 09:37:05 +00:00
Michael Schumacher 446dd757db added the missing -mwindows for OS_WIN32
2005-05-23  Michael Schumacher  <schumaml@cvs.gnome.org>

	* plug-ins/helpbrowser/Makefile.am: added the missing -mwindows
	for OS_WIN32
2005-05-22 23:46:37 +00:00
Tor Lillqvist 2e69860531 Don't crash if gimp.exe isn't found in PATH either.
2005-05-23  Tor Lillqvist  <tml@novell.com>

	* gimptool-win32.c.in (get_prefix): Don't crash if gimp.exe isn't
	found in PATH either.
2005-05-22 22:59:47 +00:00
Michael Natterer 5fc8730806 changed gimpwidgetsenums.c rule to include the bits for "desc" and "help"
2005-05-22  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/Makefile.am: changed gimpwidgetsenums.c rule to
	include the bits for "desc" and "help" support.

	* libgimpwidgets/gimpwidgetsenums.h: added "desc" and "help"
	strings for the GimpColorSelectorChannel enum.

	* libgimpwidgets/gimpwidgetsenums.c: added to CVS because it
	contains translatable strings now.

	* libgimpwidgets/gimpwidgets.def: changed accordingly.

	* libgimpwidgets/gimpcolorscales.c
	* libgimpwidgets/gimpcolorselect.c: removed duplicated arrays of
	strings here and get them from the type system.
2005-05-22 21:00:20 +00:00
Michael Natterer bcc88a5281 changed gimpwidgetsenums.c rule to include the bits for "desc" and "help"
2005-05-22  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/Makefile.am: changed gimpwidgetsenums.c rule to
	include the bits for "desc" and "help" support.

	* libgimpwidgets/gimpwidgetsenums.h: added "desc" and "help"
	strings for the GimpColorSelectorChannel enum.

	* libgimpwidgets/gimpwidgetsenums.c: added to CVS because it
	contains translatable strings now.

	* libgimpwidgets/gimpcolorscales.c
	* libgimpwidgets/gimpcolorselect.c: removed duplicated arrays of
	strings here and get them from the type system.
2005-05-22 20:57:23 +00:00
Sven Neumann d21f31d065 use quotewords() from Text::ParseWords to split the trigraph. This
2005-05-22  Sven Neumann  <sven@gimp.org>

	* tools/gimp-mkenums (parse_trigraph): use quotewords() from
	Text::ParseWords to split the trigraph. This function correctly
	deals with commas inside quotes.

	* app/core/core-enums.[ch]: tweaked descriptions in the
	GimpDashPreset enum.
2005-05-22 13:12:14 +00:00
Sven Neumann 7358758f68 minor cleanup.
2005-05-22  Sven Neumann  <sven@gimp.org>

	* app/core/gimpdashpattern.c: minor cleanup.

	* app/widgets/gimpcellrendererdashes.c: don't draw a background,
	draw the dash pattern twice, use the correct widget state.
2005-05-22 12:20:25 +00:00
Manish Singh 2247561883 don't do pointer arithmetic with void *. Fixes bug #305005.
2005-05-21  Manish Singh  <yosh@gimp.org>

        * plug-ins/metadata/metadata.c (run): don't do pointer arithmetic
        with void *. Fixes bug #305005.
2005-05-22 05:40:04 +00:00
Michael Natterer 3ebe38bb33 added --selection-type option which allows operating on any of PRIMARY,
2005-05-22  Michael Natterer  <mitch@gimp.org>

	* tools/test-clipboard.c: added --selection-type option which
	allows operating on any of PRIMARY, SECONDARY and CLIPBOARD.
2005-05-22 02:33:13 +00:00
Sven Neumann a8318e18c5 added utility functions to copy and to free a dash pattern.
2005-05-21  Sven Neumann  <sven@gimp.org>

	* app/core/gimpdashpattern.[ch]: added utility functions to copy
	and to free a dash pattern.

	* app/widgets/Makefile.am
	* app/widgets/widgets-types.h
	* app/widgets/gimpcellrendererdashes.[ch]: added a simple cell
	renderer to visualize a dash pattern.

	* app/widgets/gimpstrokeeditor.c: show previews of the dash
	presets in the combo-box.
2005-05-21 20:24:42 +00:00
Michael Natterer b6ad77a1bd NULL terminate the options array.
2005-05-21  Michael Natterer  <mitch@gimp.org>

	* tools/test-clipboard.c (main): NULL terminate the options array.
2005-05-21 20:23:13 +00:00
Sven Neumann 8386ca04a1 Allow to paste a new image using Ctrl-V (bug 169477):
2005-05-21  Sven Neumann  <sven@gimp.org>

	Allow to paste a new image using Ctrl-V (bug 169477):

	* menus/toolbox-menu.xml.in: added an accelerator for "edit-paste".

	* app/actions/edit-actions.c: keep "edit-paste" always enabled,
	even if no image is present.

	* app/actions/edit-commands.c (edit_paste_cmd_callback): forward
	to "edit-paste-as-new" if we are being called from the toolbox.
2005-05-21 14:25:06 +00:00
Sven Neumann 5dd652faba improved reporting of errors while parsing the menu definitions.
2005-05-21  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpuimanager.c: improved reporting of errors
	while parsing the menu definitions.
2005-05-21 14:13:33 +00:00
Sven Neumann e89dc8e224 changed default dithering to GIMP_NO_DITHER (bug #303063).
2005-05-21  Sven Neumann  <sven@gimp.org>

	* app/dialogs/convert-dialog.c:
	* libgimp/gimpexport.c (export_convert_indexed): changed default
	dithering to GIMP_NO_DITHER (bug #303063).
2005-05-21 00:38:19 +00:00
Sven Neumann 04d9d5bd43 libgimpwidgets/gimpcolorarea.c more object properties.
2005-05-20  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpcolorarea.c
	* libgimpwidgets/gimpcolorbutton.c: more object properties.
2005-05-20 20:42:39 +00:00
Sven Neumann 6bd6a44442 libgimpwidgets/Makefile.am libgimpwidgets/gimpwidgetsenums.h moved enums
2005-05-20  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/Makefile.am
	* libgimpwidgets/gimpwidgetsenums.h
	* libgimpwidgets/gimpwidgetstypes.h: moved enums to a new file and
	register the GimpColorAreaType enum with the type system.

	* libgimpwidgets/gimpwidgets.def: updated.

	* libgimpwidgets/gimpcolorarea.c: added an object property.
2005-05-20 18:34:00 +00:00
Sven Neumann 1e4a9b7499 started to add object properties.
2005-05-20  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpcolorbutton.c: started to add object properties.
2005-05-20 18:07:20 +00:00
Manish Singh d1d6d48577 Fix ytpo in wget command line so it actually works.
2005-05-20  Manish Singh  <yosh@gimp.org>

        * plug-ins/uri/uri-backend-wget.c (uri_backend_load_image): Fix ytpo
        in wget command line so it actually works.
2005-05-20 17:06:26 +00:00
Michael Natterer 05b0266911 don't include "libgimpbase/gimpbase.h"
2005-05-20  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpdashpattern.c: don't include "libgimpbase/gimpbase.h"
2005-05-20 15:30:57 +00:00
Sven Neumann 3de9e50f67 made the color selection dialog transient to the window that contains the
2005-05-20  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpcolorbutton.c (gimp_color_button_clicked):
	made the color selection dialog transient to the window that
	contains the color button.
2005-05-20 12:56:05 +00:00
Sven Neumann 282da81e53 moved the color picker button out of the row of notebook switching buttons
2005-05-20  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpcoloreditor.c: moved the color picker button out
	of the row of notebook switching buttons next to the hex entry.
2005-05-20 10:54:44 +00:00
Sven Neumann 3d6478c8b5 put the hex entry above the color history again.
2005-05-20  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpcolorselection.c: put the hex entry above the
	color history again.

	* libgimpwidgets/gimpcolorscales.c: do not allocate row spacing
	for the alpha row if it isn't visible.
2005-05-20 10:43:38 +00:00
Manish Singh 65b2cdba10 don't do pointer arithmetic with void *. Fixes bug #304701.
2005-05-19  Manish Singh  <yosh@gimp.org>

        * plug-ins/jpeg/jpeg-save.c (save_image): don't do pointer arithmetic
        with void *. Fixes bug #304701.
2005-05-20 00:08:50 +00:00
Manish Singh 88ffd5e84a Add casts to G_OBJECT() for gimp_config_diff().
2005-05-19  Manish Singh  <yosh@gimp.org>

        * app/config/test-config.c: Add casts to G_OBJECT() for
        gimp_config_diff().
2005-05-19 23:43:08 +00:00
Sven Neumann 38f5546f5b removed the hex entry from the GimpColorScales widget.
2005-05-19  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpcolorscales.c: removed the hex entry from the
	GimpColorScales widget.

	* libgimpwidgets/gimpcolorselection.c: added it here instead.

	* app/widgets/gimpcoloreditor.[ch]: and here, next to the FG/BG
	editor.
2005-05-19 17:08:03 +00:00
Sven Neumann 9b29707961 renamed property "miter" to "miter-limit" and added a description to be
2005-05-19  Sven Neumann  <sven@gimp.org>

	* app/core/gimpstrokeoptions.[ch]: renamed property "miter" to
	"miter-limit" and added a description to be used as a tooltip in
	the stroke editor.

	* app/core/gimpdrawable-stroke.c
	* app/widgets/gimpstrokeeditor.c: changed accordingly.
2005-05-19 15:17:30 +00:00
Sven Neumann 7902e11bee app/core/gimpstrokeoptions.[ch] app/widgets/gimpdasheditor.c small change
2005-05-19  Sven Neumann  <sven@gimp.org>

	* app/core/gimpstrokeoptions.[ch]
	* app/widgets/gimpdasheditor.c
	* app/widgets/gimpstrokeeditor.c: small change to the internal API
	to reduce code and conversion between GArray and GValueArray.
2005-05-19 11:08:50 +00:00
Sven Neumann 9bb255a3cf app/core/gimpdashpattern.[ch] moved more code out of GimpDashEditor to
2005-05-19  Sven Neumann  <sven@gimp.org>

	* app/core/gimpdashpattern.[ch]
	* app/widgets/gimpdasheditor.c: moved more code out of
	GimpDashEditor to gimpdashpattern.c. Fixed bug in last commit.
2005-05-19 00:40:48 +00:00
Sven Neumann c7ba1dfc71 app/core/gimpdashpattern.[ch] moved code out of GimpDashEditor to
2005-05-19  Sven Neumann  <sven@gimp.org>

	* app/core/gimpdashpattern.[ch]
	* app/widgets/gimpdasheditor.c: moved code out of GimpDashEditor
	to gimpdashpattern.c.
2005-05-18 23:59:35 +00:00
Michael Natterer 73e3f6f13b plug-ins/dbbrowser/Makefile.am removed again...
2005-05-19  Michael Natterer  <mitch@gimp.org>

	* plug-ins/dbbrowser/Makefile.am
	* plug-ins/dbbrowser/gimpbrowser.[ch]: removed again...

	* libgimpwidgets/Makefile.am
	* libgimpwidgets/gimpwidgetstypes.h
	* libgimpwidgets/gimpwidgets.h
	* libgimpwidgets/gimpwidgetsmarshal.list
	* libgimpwidgets/gimpwidgets.def
	* libgimpwidgets/gimpbrowser.[ch]: ...and added here.

	* plug-ins/dbbrowser/gimpprocbrowser.c
	* plug-ins/dbbrowser/plugin-browser.c: changed accordingly.

	* plug-ins/dbbrowser/gimpprocbrowser.c: fixed searching by help.
2005-05-18 23:48:47 +00:00
Sven Neumann 9aa2efcb32 use code from gimpdashpattern.c instead of duplicating it.
2005-05-19  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpdasheditor.c: use code from gimpdashpattern.c
	instead of duplicating it.
2005-05-18 23:44:04 +00:00
Sven Neumann 533481d220 app/core/gimpdashpattern.[ch] moved more code to the new files.
2005-05-19  Sven Neumann  <sven@gimp.org>

	* app/core/gimpdashpattern.[ch]
	* app/core/gimpstrokeoptions.c: moved more code to the new files.
2005-05-18 23:26:53 +00:00
Sven Neumann 146e4eee58 app/core/Makefile.am new files with coode split out of
2005-05-19  Sven Neumann  <sven@gimp.org>

	* app/core/Makefile.am
	* app/core/gimpdashpattern.[ch]: new files with coode split out of
	gimpstrokeoptions.c.

	* app/core/gimpstrokeoptions.c: use gimp_dash_pattern_from_preset().
2005-05-18 22:50:54 +00:00