Commit Graph

12451 Commits

Author SHA1 Message Date
Michael Natterer d0f9de48d0 changed create_cursor_foo() utility functions to get_cursor_foo() and use
2004-06-04  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcursor.c: changed create_cursor_foo() utility
	functions to get_cursor_foo() and use them as accessors instead of
	using cursor->member. Use gdk_pixbuf_copy() instead of compositing
	the initial image onto an empty pixbuf.
2004-06-04 19:03:49 +00:00
Sven Neumann aadd9e03aa set the focus on the text area.
2004-06-04  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimptexteditor.c (gimp_text_editor_new): set the
	focus on the text area.
2004-06-04 18:17:50 +00:00
Sven Neumann de1ed0a379 allow to move a text layer using the cursor keys.
2004-06-04  Sven Neumann  <sven@gimp.org>

	* app/tools/gimptexttool.c (gimp_text_tool_class_init): allow to
	move a text layer using the cursor keys.
2004-06-04 17:51:32 +00:00
Michael Natterer 8c2fbfc2f6 removed...
2004-06-04  Michael Natterer  <mitch@gimp.org>

	* cursors/*.xbm: removed...

	* cursors/xbm/*.xbm: ...and added here instead. Renamed them
	all to match the PNG file names.

	* cursors/Makefile.am: changed accordingly.

	* app/widget/gimpcursor.c: ditto. Merged the two cursor creating
	functions again because they duplicated too much code.
2004-06-04 12:10:13 +00:00
Sven Neumann d714307f9a populate the tree with collation keys and use strcmp() instead of
2004-06-04  Sven Neumann  <sven@gimp.org>

	* app/menus/plug-in-menus.c (plug_in_menus_setup): populate the
	tree with collation keys and use strcmp() instead of
	g_utf8_collate() as the tree's sort function.
2004-06-04 11:47:15 +00:00
Sven Neumann 0b982011ac applied a patch by Philip Lafleur that changes the default to FALSE. Fixes
2004-06-04  Sven Neumann  <sven@gimp.org>

	* app/paint/gimppaintoptions.c (DEFAULT_PRESSURE_PRESSURE):
	applied a patch by Philip Lafleur that changes the default to
	FALSE. Fixes bug #143626.
2004-06-04 09:47:06 +00:00
Michael Natterer aec32205c8 use gtk_widget_size_request() instead of _get_child_requisition() because
2004-06-03  Michael Natterer  <mitch@gimpmp.org>

	* app/widgets/gimptoolbox.c (gimp_toolbox_size_allocate): use
	gtk_widget_size_request() instead of _get_child_requisition()
	because we need to know the size of the toolbox' areas
	even if they are invisible. Fixes SIGFPE spotted by Jimmac.
2004-06-03 16:36:52 +00:00
Michael Natterer a2955426b2 some cleanup. Make the tool_cursor and cursor_modifier components slightly
2004-06-03  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcursor.c: some cleanup. Make the tool_cursor
	and cursor_modifier components slightly transparent.

	* cursors/cursor-mouse.png: was the wrong image.
2004-06-03 14:03:54 +00:00
Michael Natterer 5c46556dd3 cursors/Makefile.am added PNG version of all cursors.
2004-06-03  Michael Natterer  <mitch@gimp.org>

	* cursors/Makefile.am
	* cursors/*.png: added PNG version of all cursors.

	* cursors/gimp-tool-cursors.xcf: reordered and renamed all layers
	to match the new PNG filenames.

	* app/widgets/gimpcursor.[ch]: create cursors with alpha and color
	if the GdkDisplay supports it. Fall back to the old stuff
	otherwise.
2004-06-03 12:36:02 +00:00
Sven Neumann 506c4c7101 if a Title is set, use that as the pattern name.
2004-06-03  Sven Neumann  <sven@gimp.org>

	* app/core/gimppattern.c (gimp_pattern_load_pixbuf): if a Title is
	set, use that as the pattern name.
2004-06-03 12:01:17 +00:00
Sven Neumann 532d42d012 removed commented-out message.
2004-06-03  Sven Neumann  <sven@gimp.org>

	* app/core/gimpdatafactory.c (gimp_data_factory_load_data):
	removed commented-out message.

	* app/core/gimppattern.[ch]: fixed handling of errors and PNG
	comments in new pattern loader. Renamed functions for consistency
	with other data loaders.

	* app/core/gimp.c: changed accordingly.
2004-06-03 11:34:51 +00:00
Dave Neary d088fd3fe1 Add support for GdkPixbuf patterns, so now all of png, jpex, pnm, xbm,
2004-06-03  Dave Neary  <bolsh@gimp.org>

        * app/core/gimp.c:
        * app/core/gimpdatafactory.c:
        * app/core/gimppattern.[ch]: Add support for GdkPixbuf patterns,
        so now all of png, jpex, pnm, xbm, bmp, gif, ico, pcx, ras, tga,
        xpm and tiff can be used for patterns.
2004-06-03 11:03:53 +00:00
Michael Natterer 421b2a0d0e added alternative actions "vectors-selection-from-vectors" and
2004-06-03  Michael Natterer  <mitch@gimp.org>

	* app/actions/vectors-actions.c: added alternative actions
	"vectors-selection-from-vectors" and
	"vectors-selection-to-vectors-short" with different labels suited
	for the "Select" menu.

	* app/actions/select-actions.c: removed "select-from-vectors"
	and "select-to-vectors" (to vectors was crashing anyway).

	* app/actions/select-commands.[ch]: removed
	select_from_vectors_cmd_callback(). Fixes code dupliction.

	* menus/image-menu.xml.in
	* menus/selection-editor-menu.xml: changed accordingly.
2004-06-03 09:47:05 +00:00
Marco Ciampa 28fb8280d0 Updated italian translation 2004-06-03 06:50:52 +00:00
Michael Natterer 1d31d62c30 use the newly added GimpGradient API to set the segment's handles instead
2004-06-03  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpgradienteditor.c (control_motion): use the newly
	added GimpGradient API to set the segment's handles instead of
	setting the values directly. Dirties the gradient correctly and
	makes the preview update instantly again. Fixes bug #143605.
2004-06-02 22:50:15 +00:00
Sven Neumann 7bfee0413d check for NULL pointer before passing it to g_utf8_normalize(). Just a
2004-06-03  Sven Neumann  <sven@gimp.org>

	* app/gui/file-open-location-dialog.c
	(file_open_location_completion): check for NULL pointer before
	passing it to g_utf8_normalize(). Just a workaround for a problem
	in GimpContainerView.
2004-06-02 22:08:34 +00:00
Sven Neumann 28eaad7d65 more updates.
2004-06-02  Sven Neumann  <sven@gimp.org>

	* INSTALL: more updates.
2004-06-02 21:29:13 +00:00
Sven Neumann f3c3bc22c3 Made 2.1.0 development release.
2004-06-02  Sven Neumann  <sven@gimp.org>

	* Made 2.1.0 development release.
2004-06-02 18:57:57 +00:00
Michael Natterer bb69c0e22e follow function renaming.
2004-06-02  Michael Natterer  <mitch@gimp.org>

	* libgimp/libgimp-sections.txt: follow function renaming.

	* libgimp/tmpl/gimpgradientedit.sgml: regenerated.
2004-06-02 18:02:20 +00:00
Sven Neumann 62b59db976 app/display/gimpdisplayshell-scale.c app/gui/info-window.c
2004-06-02  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-scale.c
	* app/gui/info-window.c
	* app/gui/preferences-dialog.c
	* app/gui/resize-dialog.c
	* app/tools/gimpcolorbalancetool.c
	* app/tools/gimpcurvestool.c
	* app/tools/gimphuesaturationtool.c
	* app/tools/gimplevelstool.c
	* app/tools/gimpthresholdtool.c
	* app/widgets/gimpdockable.c
	* app/widgets/gimpfiledialog.c
	* app/widgets/gimpgradienteditor.c
	* app/widgets/gimphistogrambox.c
	* app/widgets/gimplayertreeview.c
	* app/widgets/gimpstrokeeditor.c: tweaked some spacings for
	consistency and better HIG compliance.
2004-06-02 17:56:02 +00:00
Michael Natterer 6d91f4c968 set_blending_function() and set_coloring_type() work on segment ranges,
2004-06-02  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/gradient_edit.pdb: set_blending_function() and
	set_coloring_type() work on segment ranges, renamed them
	accordingly. Spotted by Shlomi Fish.

	* app/pdb/gradient_edit_cmds.c
	* libgimp/gimpgradientedit_pdb.[ch]: regenerated.
2004-06-02 17:45:56 +00:00
Michael Natterer f4a9e55464 added gimptoolbox-dnd.c and gimptoolbox-image-area.c
2004-06-02  Michael Natterer  <mitch@gimp.org>

	* POTFILES.in: added gimptoolbox-dnd.c and gimptoolbox-image-area.c
2004-06-02 17:36:13 +00:00
Michael Natterer 61116ebb05 removed utility funtion gimp_dnd_open_files().
2004-06-02  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpdnd.[ch]: removed utility funtion
	gimp_dnd_open_files().

	* app/widgets/gimptoolbox-dnd.c: added gimp_toolbox_drop_files()
	instead.

	* app/display/gimpdisplayshell-dnd.c (gimp_display_shell_drop_files):
	show the error message if opening a dropped file fails.
2004-06-02 17:35:55 +00:00
Sven Neumann f2f3c448c2 plugged a memory leak.
2004-06-02  Sven Neumann  <sven@gimp.org>

	* libgimpthumb/gimpthumbnail.c: plugged a memory leak.
2004-06-02 17:13:26 +00:00
Michael Natterer b6beebcc00 removed enum GimpDndType...
2004-06-02  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpdnd.h: removed enum GimpDndType...

	* app/widgets/widgets-enums.h: ...and added it here.

	* app/widgets/gimpdnd.c: added more g_return_if_fail(). Allow
	all gimp_dnd_foo_dest_add() functions to be called without
	callback (just add the target if callback is NULL).

	(gimp_dnd_open_files): removed the checks for validity of the
	passed filenames/uris...

	(gimp_dnd_set_file_data): ...and added it here so all callbacks
	get an already sanitized list of strings.
2004-06-02 16:56:00 +00:00
Sven Neumann d29a222fe6 app/actions/Makefile.am (EXTRA_DIST) removed makefile.msc until they have
2004-06-02  Sven Neumann  <sven@gimp.org>

	* app/actions/Makefile.am (EXTRA_DIST)
	* app/menus/Makefile.am (EXTRA_DIST): removed makefile.msc until
	they have been added.
2004-06-02 14:00:39 +00:00
Sven Neumann 35bad8319d create the hash table when inserting items; removes redundant
2004-06-02  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpcontainerview.c: create the hash table when
	inserting items; removes redundant create/destroy cycles and plugs
	a memory leak.
2004-06-02 12:49:16 +00:00
Sven Neumann efd6c6b56c added more contributors 2004-06-02 11:11:29 +00:00
Sven Neumann 5085518763 updated for gimp-2.1. Suggest to use gimp-print version 4.2.7-pre1 in case
2004-06-02  Sven Neumann  <sven@gimp.org>

	* INSTALL: updated for gimp-2.1. Suggest to use gimp-print
	version 4.2.7-pre1 in case of problems (see bug #138273).
2004-06-02 11:09:31 +00:00
Sven Neumann 394035cc36 more NEWS update 2004-06-02 10:39:16 +00:00
Michael Natterer 4e9c58a589 copy the merged layer, not the first one. Preserve the type of the layer
2004-06-02  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell-dnd.c
	(gimp_display_shell_drop_files): copy the merged layer, not the
	first one. Preserve the type of the layer to make e.g. dropping an
	XCF with a single text layer work.
2004-06-01 23:49:50 +00:00
Michael Natterer 631b5b4d95 more news & cleanup. 2004-06-01 23:44:10 +00:00
Sven Neumann 86d153f869 NEWS updated.
2004-06-02  Sven Neumann  <sven@gimp.org>

	* NEWS
	* README: updated.
2004-06-01 23:25:53 +00:00
Michael Natterer ff2f6eb09f accept file/uri drops.
2004-06-02  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell.c (gimp_display_shell_init): accept
	file/uri drops.

	* app/display/gimpdisplayshell-dnd.[ch]
	(gimp_display_shell_drop_files): open any kind of image and turn
	it into a single layer which is added to the image (suggested by
	Antenne Springborn).
2004-06-01 23:14:28 +00:00
Sven Neumann 133a7098df tools/pdbgen/pdb/gradient_edit.pdb mark new API as new using $since.
2004-06-02  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/pdb/gradient_edit.pdb
	* tools/pdbgen/pdb/gradients.pdb: mark new API as new using $since.

	* libgimp/gimpgradientedit_pdb.c
	* libgimp/gimpgradients_pdb.c: regenerated.
2004-06-01 22:50:37 +00:00
Sven Neumann 6fe6a0e8c6 libgimp/libgimp-docs.sgml added section for the new gradient editing API.
2004-06-02  Sven Neumann  <sven@gimp.org>

	* libgimp/libgimp-docs.sgml
	* libgimp/tmpl/gimpgradientedit.sgml: added section for the new
	gradient editing API.

	* libgimp/libgimp-sections.txt
	* libgimp/tmpl/gimpenums.sgml
	* libgimp/tmpl/gimpgradients.sgml
	* libgimp/tmpl/gimpplugin.sgml: updated.
2004-06-01 22:35:39 +00:00
Michael Natterer 1799caae84 forgot two more s/int32/enum/.
2004-06-02  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/gradient_edit.pdb: forgot two more s/int32/enum/.

	* app/pdb/gradient_edit_cmds.c
	* libgimp/gimpgradientedit_pdb.[ch]: regenerated.
2004-06-01 22:16:54 +00:00
Michael Natterer 739a37e633 forgot bug number. 2004-06-01 22:08:19 +00:00
Sven Neumann c509204b7d tools/pdbgen/pdb/image.pdb app/pdb/image_cmds.c reverted changes I did to
2004-06-01  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/pdb/image.pdb
	* app/pdb/image_cmds.c
	* app/core/gimpimage.[ch]: reverted changes I did to the image
	unit earlier. As in 2.0, it will continue to not accept pixels.
	This makes the PDB API and the XCF format compatible again and
	fixes bug #142961 (and to some extent bug #137704).

	* app/core/Makefile.am
	* app/core/gimpimage-unit.[ch]: removed these files. The
	convenience accessors defined here aren't commonly used any
	longer.

	* app/display/gimpdisplay.[ch]
	* app/display/gimpdisplayshell.[ch]: added a unit parameter to
	gimp_display_new(). Made "unit" and "scale" properties of
	GimpDisplayShell.

	* app/actions/image-commands.c
	* app/actions/images-commands.c
	* app/actions/layers-commands.c
	* app/actions/select-commands.c
	* app/actions/view-commands.c
	* app/core/gimp-edit.c
	* app/core/gimp.[ch]
	* app/core/gimptemplate.c
	* app/display/gimpdisplayshell-handlers.c
	* app/display/gimpdisplayshell-scale.c
	* app/display/gimpdisplayshell-title.c
	* app/display/gimpstatusbar.c
	* app/file/file-open.c
	* app/gui/gui-vtable.c
	* app/gui/info-window.c
	* app/gui/offset-dialog.c
	* app/gui/resize-dialog.[ch]
	* app/pdb/display_cmds.c
	* app/tools/gimpcroptool.c
	* app/tools/gimpmeasuretool.c
	* app/tools/gimppainttool.c
	* app/tools/gimprectselecttool.c
	* app/tools/gimprotatetool.c
	* app/tools/gimpscaletool.c
	* app/vectors/gimpvectors-export.c
	* app/widgets/gimptoolbox-dnd.c
	* tools/pdbgen/pdb/display.pdb: changed accordingly. Use the
	display unit where the image unit was used before.
2004-06-01 22:04:20 +00:00
Michael Natterer 20b1612966 use enums instead of integers, cleanup.
2004-06-01  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/gradient_edit.pdb: use enums instead of
	integers, cleanup.

	* app/pdb/gradient_edit_cmds.c
	* libgimp/gimpgradientedit_pdb.[ch]: regenerated.
2004-06-01 21:58:08 +00:00
Michael Natterer 149888b5d4 added new function gimp_data_factory_data_delete().
2004-06-01  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpdatafactory.[ch]: added new function
	gimp_data_factory_data_delete().

	* app/actions/data-commands.c (data_delete_callback): use it.

	* tools/pdbgen/pdb/gradients.pdb: applied (slightly modified)
	patch from Shlomi Fish which adds PDB wrappers to create, delete,
	duplicate and rename gradients.

	* app/pdb/gradients_cmds.c
	* app/pdb/internal_procs.c
	* libgimp/gimpgradients_pdb.[ch]: regenerated.
2004-06-01 21:37:36 +00:00
Michael Natterer c399ae1fe9 renamed the values of the GimpGradientSegment* enums from GIMP_GRAD_* to
2004-06-01  Michael Natterer  <mitch@gimp.org>

	* app/core/core-enums.h: renamed the values of the
	GimpGradientSegment* enums from GIMP_GRAD_* to
	GIMP_GRADIENT_SEGMENT_* because they are exported now.

	* app/core/gimp-gradients.c
	* app/core/gimpgradient.c
	* app/actions/gradient-editor-actions.c: changed accordingly.

	* libgimp/gimpenums.h
	* plug-ins/pygimp/gimpenums.py
	* plug-ins/script-fu/script-fu-constants.c
	* tools/pdbgen/enums.pl: regenerated.
2004-06-01 18:49:50 +00:00
Sven Neumann 88da8b10cc don't call gtk_entry_set_text() with a NULL text.
2004-06-01  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/tiff.c: don't call gtk_entry_set_text() with a
	NULL text.
2004-06-01 17:15:56 +00:00
Michael Natterer 572577b262 app/widgets/gimpcontainertreeview-dnd.c some cleanup in the tree view DND
2004-06-01  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcontainertreeview-dnd.c
	* app/widgets/gimpitemtreeview.c: some cleanup in the tree view
	DND code.
2004-06-01 15:14:45 +00:00
Michael Natterer f826916828 added a horrible hack that sets the paned's position after the first
2004-06-01  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpsessioninfo.c (gimp_session_info_restore): added
	a horrible hack that sets the paned's position after the first
	"size-allocate" after "map". Makes position remembering work for
	the toolbox and fixes bug #142697.

	* app/widgets/gimpdockable.[ch]: added new function
	gimp_dockable_set_tab_style()

	* app/actions/dockable-commands.c (dockable_tab_style_cmd_callback)
	* app/widgets/gimpsessioninfo.c (gimp_session_info_restore):
	use gimp_dockable_set_tab_style().
2004-06-01 12:31:44 +00:00
Michael Natterer d2df109399 removed unused variable.
2004-06-01  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimptoolbox.c (toolbox_area_notify): removed
	unused variable.
2004-06-01 12:25:48 +00:00
Funda Wang 98e65795d0 Updated Simplified Chinese translation 2004-06-01 12:08:10 +00:00
Marco Ciampa a753cc924f Updated italian translation 2004-06-01 11:21:27 +00:00
Sven Neumann 165aaf5f31 register as "Autocrop Image" and "Autocrop Layer".
2004-06-01  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/autocrop.c (query): register as "Autocrop Image"
	and "Autocrop Layer".
2004-06-01 10:45:15 +00:00
Marco Ciampa 5cb9aed0e5 Updated italian translation 2004-06-01 09:46:23 +00:00