Commit graph

10042 commits

Author SHA1 Message Date
Michael Natterer 4ee9b210b5 clear all viewable cell renderers so they don't keep pointers to
2004-12-10  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcontainertreeview.c
	(gimp_container_tree_view_clear_items): clear all viewable cell
	renderers so they don't keep pointers to layers/masks which don't
	exist any more. Fixes the additional problem in bug #148852 but
	not the bug itself.
2004-12-10 17:56:13 +00:00
William Skaggs 60655d8e7a Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/core/gimpbrushpipe.c (gimp_brush_pipe_select_brush):
	Don't initialize a new random number generator every time a brush
	is selected from a pipe.  Fixes bug #148205).
2004-12-09 21:34:48 +00:00
David Odin 1e77f9d4a7 marked the menu entry for translation (reported by Zigomar)
* plug-ins/common/cartoon.c: marked the menu entry for translation
  (reported by Zigomar)
2004-12-09 20:02:49 +00:00
Michael Natterer 01e94fcb19 app/dialogs/print-size-dialog.c set a focus_chain on the size_entries so
2004-12-09  Michael Natterer  <mitch@gimp.org>

	* app/dialogs/print-size-dialog.c
	* app/widgets/gimpsizebox.c: set a focus_chain on the size_entries
	so the focus order is width->height->chain->unitmenu and not
	width->chain->height->unitmenu.

	* app/widgets/gimptemplateeditor.c: changed focus_chain code to
	work like above (cosmetics).
2004-12-09 16:22:25 +00:00
Sven Neumann 9af2a5d2b1 only expose the area of the window that actually changed.
2004-12-09  Sven Neumann  <sven@gimp.org>

	* app/gui/splash.c (splash_update): only expose the area of the
	window that actually changed.

	* app/plug-in/plug-in-rc.c (plug_in_rc_write): changed the header
	and footer to be more in line with the other rc files.
2004-12-09 10:11:43 +00:00
Sven Neumann f6ec544895 fixed bugzilla reference 2004-12-09 09:03:28 +00:00
William Skaggs cc9a5670b5 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/dialogs/print-size-dialog.c (print_size_dialog_size_changed):
	Previous fix only worked if units were inches -- now seems to
	work for all units.  (Fixes #72852?)
2004-12-09 00:04:37 +00:00
William Skaggs 3e772fae0e Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/randomize.c:  Changed algorithm for Pick and
	Slur to treat all channels within a pixel in the same way;
	intended to fix bug #72852.
2004-12-08 23:16:56 +00:00
William Skaggs c999ad25d8 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/dialogs/print-size-dialog.c (print_size_dialog_size_changed):
	fixed kludgy use of size entry, seems to fix bug #159273.
2004-12-08 20:30:05 +00:00
Michael Natterer cf4a649f38 renamed gimp_ui_manager_get_action() to gimp_ui_manager_find_action().
2004-12-08  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpuimanager.[ch]: renamed
	gimp_ui_manager_get_action() to gimp_ui_manager_find_action().

	* app/widgets/gimpcolormapeditor.c
	* app/widgets/gimpitemtreeview.c
	* app/widgets/gimppaletteeditor.c
	* app/widgets/gimptoolbox.c
	* app/widgets/gimptooloptionseditor.c
	* app/display/gimpdisplayshell-close.c: changed accordingly.

	(this change is quite useless as it stands, but will help keeping
	the diff between 2.2 and 2.3 small as soon as we're branched).

	* app/widgets/gimpcolormapeditor.c
	(gimp_colormap_preview_button_press): invoke the "edit-color", not
	"new-color" action upon double click.

	(palette_editor_select_entry): update the ui manager after
	selecting the entry so the entry-specific actions become sensitive
	if there was no entry selected before.
2004-12-08 13:52:28 +00:00
Michael Natterer d90360e29f added new prop_widget gimp_prop_int_combo_box_new() which takes a
2004-12-08  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimppropwidgets.[ch]: added new prop_widget
	gimp_prop_int_combo_box_new() which takes a pre-built GimpIntStore
	and allows to create views on int properties with arbitrary sets
	of values (not just enums).

	* app/widgets/gimpcontrollereditor.c
	(gimp_controller_editor_constructor): added support for generic
	combo boxes controlled exclusively by controller properties: if an
	int property "foo" is followed by an object property "foo-values"
	and the contained object is a GimpIntStore, use that store as
	model for selecting "foo"'s values using
	gimp_prop_int_combo_box_new().

	(Allows for more flexible controller configuration, the actual use
	case in the midi controller is still work in progress).
2004-12-08 12:46:21 +00:00
Sven Neumann 6584f14d73 removed duplicate entry for Roman.
2004-12-06  Sven Neumann  <sven@gimp.org>

	* tools/authorsgen/contributors: removed duplicate entry for Roman.

	* AUTHORS
	* app/dialogs/authors.h: regenerated.
2004-12-06 15:21:00 +00:00
Roman Joost 95c2aae9ba added Róman Joost to contributors
2004-12-06  Roman Joost	<romanofski@gimp.org>

	* tools/authorsgen/contributors: added Róman Joost to
	contributors
2004-12-06 15:13:19 +00:00
Michael Natterer 13a32c91cc applied patch from Sven Neumann which removes code that prevents layers
2004-12-06  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimptransformtool.c: applied patch from Sven Neumann
	which removes code that prevents layers with mask from being
	transformed.

	* app/tools/gimptransformtool.[ch]: added "gboolean mask_empty"
	parameter to GimpTransformTool::transform(). Needed because the
	selection gets cleared by cutting from the drawable and we need
	the selection's state before that cutting.

	(gimp_transform_tool_doit): pass "mask_empty" to
	GimpTransformTool::transform():

	* app/tools/gimptransformtool.c (gimp_transform_tool_real_transform)
	* app/tools/gimpfliptool.c (gimp_flip_tool_transform): when
	transforming a layer with mask and there is no selection,
	transform the mask just as if it was a linked item.
	Fixes bug #143837 and bug #159697.
2004-12-06 14:37:00 +00:00
Sven Neumann 6f73b3e58c applied patch from Joao S. O. Bueno that fixes bug #160339.
2004-12-05  Sven Neumann  <sven@gimp.org>

	* app/core/gimp-transform-utils.c (gimp_transform_matrix_flip_free):
	applied patch from Joao S. O. Bueno that fixes bug #160339.
2004-12-05 19:59:01 +00:00
Sven Neumann 1fe2636a8b plug-ins/help/domain.c plug-ins/help/gimp-help-lookup.c if the help files
2004-12-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/help/domain.c
	* plug-ins/help/gimp-help-lookup.c
	* plug-ins/help/help.[ch]: if the help files are not installed,
	uninstall the temporary procedure and quit. Fixes bug #160258.
2004-12-05 19:50:37 +00:00
Sven Neumann 92b0e87fed applied patch from Joao S. O. Bueno that sets a lower limit for the filter
2004-12-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/lic.c: applied patch from Joao S. O. Bueno that
	sets a lower limit for the filter length (bug #160121). The patch
	also makes the plug-in work on drawables with alpha channel.
2004-12-05 18:37:44 +00:00
Sven Neumann 6cb3f105dd applied patch from Karine Proot that limits the size of the preview in the
2004-12-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/wmf.c: applied patch from Karine Proot that
	limits the size of the preview in the WMF loader (bug #133521).
2004-12-05 03:25:40 +00:00
David Odin db46d94222 plug-ins/gfig/gfig-arc.c plug-ins/gfig/gfig-arc.h
* plug-ins/gfig/gfig-arc.c
* plug-ins/gfig/gfig-arc.h
* plug-ins/gfig/gfig-bezier.c
* plug-ins/gfig/gfig-bezier.h
* plug-ins/gfig/gfig-circle.c
* plug-ins/gfig/gfig-circle.h
* plug-ins/gfig/gfig-dobject.c
* plug-ins/gfig/gfig-dobject.h
* plug-ins/gfig/gfig-ellipse.c
* plug-ins/gfig/gfig-ellipse.h
* plug-ins/gfig/gfig-line.c
* plug-ins/gfig/gfig-line.h
* plug-ins/gfig/gfig-poly.c
* plug-ins/gfig/gfig-poly.h
* plug-ins/gfig/gfig-preview.c
* plug-ins/gfig/gfig-spiral.c
* plug-ins/gfig/gfig-spiral.h
* plug-ins/gfig/gfig-star.c
* plug-ins/gfig/gfig-star.h: updating a object is now a virtual
  function.
2004-12-04 17:33:54 +00:00
Michael Natterer a708b85b8b when removing the floating selection, call
2004-12-03  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpimage-undo-push.c (undo_pop_layer): when removing
	the floating selection, call gimp_drawable_invalidate_boundary()
	*before* setting gimage->floating_sel to NULL because otherwise
	gimp_display_shell_selection_invis() won't clear the correct
	selection bounds and leave garbage on screen. Fixes bug #160247.
2004-12-03 13:39:50 +00:00
Michael Natterer c62967b8f3 don't forget to initialize the "value_variable" boolean of
2004-12-02  Michael Natterer  <mitch@gimp.org>

	* app/actions/tool-options-actions.c
	(tool_options_actions_update_presets): don't forget to initialize
	the "value_variable" boolean of GimpEnumActionEntry. Fixes myriads
	of warnings about wrong values for boolean properties.

	* app/actions/file-actions.c (file_actions_setup): same
	here. Fixes nothing but is cleaner.
2004-12-02 18:29:56 +00:00
Simon Budig a02853409e Fixed stupid typo that caused distorted vectors on scaling after resizing.
2004-12-02  Simon Budig  <simon@gimp.org>

	* app/vectors/gimpvectors.c: Fixed stupid typo that caused
	distorted vectors on scaling after resizing. Spotted by
	Joao S. O. Bueno.

	Fixes bug #157852.
2004-12-02 09:22:12 +00:00
Sven Neumann afe3d4d7b2 rephrased the warning that is shown when the intltool check fails.
2004-12-01  Sven Neumann  <sven@gimp.org>

        * autogen.sh: rephrased the warning that is shown when the
        intltool check fails.
2004-12-01 14:19:26 +00:00
Michael Natterer d8337d6f24 improved error message about missing XML files.
2004-12-01  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpuimanager.c (gimp_ui_manager_ui_get): improved
	error message about missing XML files.
2004-12-01 13:27:03 +00:00
Michael Natterer 841efd0e2e app/display/gimpdisplayshell-appearance.c app/display/gimpdisplayshell.c
2004-12-01  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell-appearance.c
	* app/display/gimpdisplayshell.c
	* app/widgets/gimpdockable.c
	* app/widgets/gimptexteditor.c
	* app/widgets/gimptoolbox.c: check if gimp_ui_manager_ui_get()
	actually returns something. Prevents crashes caused by missing
	ui manager xml files. Fixes bug #159346.
2004-12-01 00:13:48 +00:00
Michael Natterer 495963276a no need to update the ui manager here, the parent class already does it.
2004-12-01  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimptoolview.c (gimp_tool_view_select_item): no need
	to update the ui manager here, the parent class already does it.
2004-12-01 00:06:23 +00:00
David Odin 22d870646d removed some very obsolete stuff.
* plug-ins/gfig/README: removed some very obsolete stuff.

* plug-ins/gfig/gfig-arc.c
* plug-ins/gfig/gfig-arc.h
* plug-ins/gfig/gfig-bezier.c
* plug-ins/gfig/gfig-bezier.h
* plug-ins/gfig/gfig-circle.c
* plug-ins/gfig/gfig-circle.h
* plug-ins/gfig/gfig-dobject.c: small cleanups
2004-11-30 20:42:51 +00:00
Michael Natterer ee9b4b83c1 use gtk_rc_parse() instead of gtk_rc_add_default_file() to add
2004-11-30  Michael Natterer  <mitch@gimp.org>

	* app/gui/themes.c (themes_init): use gtk_rc_parse() instead of
	gtk_rc_add_default_file() to add ~/.gimp-2.2/themerc to the list
	of files parsed by GTK+ because the latter works only before
	gtk_init(). Fixes bug #155963.
2004-11-30 16:10:16 +00:00
Michael Natterer 49ae84caf0 reordered prototypes to match order of implementations.
2004-11-30  Michael Natterer  <mitch@gimp.org>

	* app/dialogs/print-size-dialog.c: reordered prototypes to match
	order of implementations.
2004-11-30 14:04:20 +00:00
Sven Neumann 4a59b0ec7a we check for the same version of freetype on all platforms, no need for an
2004-11-30  Sven Neumann  <sven@gimp.org>

	* app/sanity.c: we check for the same version of freetype on all
	platforms, no need for an ifdef here.
2004-11-30 01:47:41 +00:00
Sven Neumann c3e68d0c0d some more HIG-ification tweaks to the Export dialogs.
2004-11-30  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpexport.c: some more HIG-ification tweaks to the
	Export dialogs.
2004-11-30 01:43:54 +00:00
Michael Natterer d669e4a498 allow to set color and viewable to NULL, GimpAction handles this nicely.
2004-11-30  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpactiongroup.c
	(gimp_action_group_set_action_color)
	(gimp_action_group_set_action_color): allow to set color and
	viewable to NULL, GimpAction handles this nicely. Fixes warnings
	some foo_actions_update() functions were triggering.
2004-11-30 00:30:05 +00:00
David Odin c5d0b8dbe0 code cleanup
* plug-ins/gfig/*[ch]: code cleanup
2004-11-29 23:02:39 +00:00
Michael Natterer 28da246c2a make it work as documented (fail if the new_image already has a display).
2004-11-29  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/display.pdb: make it work as documented (fail
	if the new_image already has a display). Also fail if the
	old_image doesn't have any display (changed docs accordingly).
	On success, take over the initial reference count of the new
	image, just as the gimp_display_new() PDB wrapper does.
	Fixes bug #159051.

	* app/pdb/display_cmds.c
	* libgimp/gimpdisplay_pdb.c: regenerated.
2004-11-29 16:59:53 +00:00
Sven Neumann 28d4a760d0 when the image filename changes, forget the filename that was last used
2004-11-29  Sven Neumann  <sven@gimp.org>

	* app/file/file-save.c (file_save_as): when the image filename
	changes, forget the filename that was last used with "save-a-copy".
2004-11-29 13:50:02 +00:00
Sven Neumann 37f179aed3 change the "update" property and notify listeners (in particular
2004-11-29  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimppreview.c (gimp_preview_toggle_callback):
	change the "update" property and notify listeners (in particular
	GimpDrawablePreview) before invalidating the preview. Plug-ins
	might (needlessly) look at the property to decide whether they
	need to redraw. Fixes bug #159816.

	* plug-ins/common/unsharp.c (preview_update): no need to look at
	the value of the "Preview" toggle. GimpPreview takes care this.
2004-11-29 12:15:19 +00:00
David Odin 7d32c8fde9 issue a repaint after the "show previous", "show next" and "show all"
* plug-ins/gfig/gfig-dialog.c: issue a repaint after the
  "show previous", "show next" and "show all" callbacks.

* plug-ins/gfig/gfig-style.c: fixed some comments.
2004-11-28 23:22:24 +00:00
Sven Neumann 0746fafc09 plug-ins/imagemap/imap_preview.c undeprecated.
2004-11-29  Sven Neumann  <sven@gimp.org>

	* plug-ins/imagemap/imap_preview.c
	* plug-ins/imagemap/imap_selection.c: undeprecated.
2004-11-28 23:04:08 +00:00
David Odin 09c629018d copy the style of the object when pushing it to the undo stack, so undoing
* plug-ins/gfig/gfig-dobject.c: copy the style of the object when
  pushing it to the undo stack, so undoing works as expected.
2004-11-28 23:00:10 +00:00
David Odin c90ab3046d plug-ins/gfig/gfig-style.c create a new function to get the current style
* plug-ins/gfig/gfig-style.c
* plug-ins/gfig/gfig-style.h: create a new function to get the current
  style instead of using a global pointer for this
  (gfig_context_get_current_style ())

* plug-ins/gfig/gfig-circle.c
* plug-ins/gfig/gfig-dialog.c
* plug-ins/gfig/gfig-dobject.c
* plug-ins/gfig/gfig.h: use this function everywhere it is needed. And
  remove the current_style field from GfigContext.

  (unrelated):
* plug-ins/FractalExplorer/Dialogs.h
* plug-ins/FractalExplorer/FractalExplorer.c: small cleanups
2004-11-28 22:46:19 +00:00
Sven Neumann a2c6e2679e plug-ins/gfig/gfig-dialog.c plug-ins/gfig/gfig-style.[ch] removed unused
2004-11-28  Sven Neumann  <sven@gimp.org>

	* plug-ins/gfig/gfig-dialog.c
	* plug-ins/gfig/gfig-style.[ch]
	* plug-ins/gfig/gfig.h: removed unused stack of styles. Removed
	gimp_style from GFigContext.
2004-11-28 21:19:44 +00:00
Sven Neumann 11d9a3ee78 push a context for GFig.
2004-11-28  Sven Neumann  <sven@gimp.org>

	* plug-ins/gfig/gfig.c (run): push a context for GFig.
2004-11-28 20:52:11 +00:00
David Odin cfe5e88fc9 plug-ins/gfig/gfig-dialog.c renamed undo_water_mark to undo_level. Fixed
* plug-ins/gfig/gfig-dialog.c
* plug-ins/gfig/gfig-dialog.h
  plug-ins/gfig/gfig-dobject.c: renamed undo_water_mark to undo_level.
  Fixed the style handling when clearing the whole thing and undoing in
  some very particular cases. The undo part should certainly be redone
  to some extent.

Btw, this is the revision 1.10000 of the ChangeLog, yeah!
2004-11-28 17:55:05 +00:00
William Skaggs 78884dba56 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/gfig/gfig-style.c: make sure PaintType is saved and
	loaded with the style.
2004-11-28 17:31:53 +00:00
David Odin 21e48f61f2 correctly initializes the paint_type field of the default style.
* plug-ins/gfig/gfig-dialog.c: correctly initializes the paint_type
 field of the default style.

* plug-ins/gfig/gfig-style.c: don't print an useless error message
  where no-one can see it when loading an other with no style but use
  the default style instead.
2004-11-28 16:57:45 +00:00
Sven Neumann 8221434de3 plug-ins/gfig/gfig-dialog.[ch] moved Undo and Clear to the Edit menu.
2004-11-28  Sven Neumann  <sven@gimp.org>

	* plug-ins/gfig/gfig-dialog.[ch]
	* plug-ins/gfig/gfig-dobject.c: moved Undo and Clear to the Edit
	menu.  Added a utility function to set the sensitivity of an action
	by name. Cleaned up action callback.

	* plug-ins/gfig/gfig-style.c: minor cleanup.
2004-11-28 16:47:41 +00:00
David Odin 35c78e5055 plug-ins/gfig/gfig-arc.c plug-ins/gfig/gfig-bezier.c
* plug-ins/gfig/gfig-arc.c
* plug-ins/gfig/gfig-bezier.c
* plug-ins/gfig/gfig-circle.c
* plug-ins/gfig/gfig-dialog.c
* plug-ins/gfig/gfig-ellipse.c
* plug-ins/gfig/gfig-line.c
* plug-ins/gfig/gfig-poly.c
* plug-ins/gfig/gfig-spiral.c
* plug-ins/gfig/gfig-star.c: made the class name uppercase since it is
  used to parse a gfig file.
2004-11-28 15:44:18 +00:00
Sven Neumann 2c4c673d49 make sure that widgets in the Grid and Preferences dialogs are only
2004-11-28  Sven Neumann  <sven@gimp.org>

	* plug-ins/gfig/gfig-dialog.c: make sure that widgets in the Grid
	and Preferences dialogs are only accessed while the dialogs exist.
2004-11-28 15:18:09 +00:00
Sven Neumann 29b57ff07b made the Grid and Preferences dialogs singeltons and declared them as
2004-11-28  Sven Neumann  <sven@gimp.org>

	* plug-ins/gfig/gfig-dialog.c: made the Grid and Preferences
	dialogs singeltons and declared them as transient to the GFig
	window. Don't let them run their own main loop.
2004-11-28 14:56:31 +00:00
Sven Neumann cc2252e7ff commit forgotten ChangeLog entry 2004-11-28 10:45:36 +00:00