1. 12 Dec, 2004 1 commit
    • Michael Natterer's avatar
      added new function copy_region_nocow() as a workaround for the fact that · 53c3ff18
      Michael Natterer authored
      2004-12-12  Michael Natterer  <mitch@gimp.org>
      
      	* app/paint-funcs/paint-funcs.[ch]: added new function
      	copy_region_nocow() as a workaround for the fact that sharing
      	tiles with the projection is heavily broken.
      
      	* app/base/tile-manager.c (tile_invalidate): added a warning when
      	entering the code path that breaks badly.
      
      	* app/core/gimp-edit.[ch]: added gimp_edit_copy_visible(), using
      	the non-COW copying function above.
      
      	* app/widgets/gimphelp-ids.h: added GIMP_HELP_COPY_VISIBLE.
      
      	* app/actions/edit-actions.c
      	* app/actions/edit-commands.[ch]: added action & callback for
      	"edit-copy-visible".
      
      	* menus/image-menu.xml.in: added "edit-copy-visible" to the image
      	menu.
      
      	* tools/pdbgen/pdb/edit.pdb: added gimp_edit_copy_visible()
      	PDB wrapper.
      
      	* app/pdb/edit_cmds.c
      	* app/pdb/internal_procs.c
      	* libgimp/gimpedit_pdb.[ch]: regenerated.
      
      	* plug-ins/script-fu/scripts/copy-visible.scm: removed all code
      	and made it a backward compat wrapper around gimp-edit-copy-visible.
      	Fixes bug #138662.
      53c3ff18
  2. 11 Dec, 2004 8 commits
    • Michael Natterer's avatar
      implement it using gimp_drawable_get_sub_preview(). Removes massive code · 4bdedaf1
      Michael Natterer authored
      2004-12-11  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpdrawable-preview.c (gimp_drawable_preview_private):
      	implement it using gimp_drawable_get_sub_preview(). Removes
      	massive code duplication introduced by yesterday's fix.
      4bdedaf1
    • Kevin Cozens's avatar
      Apply the layer mask when copying a single layer with a layer mask. Fixes · a0a7919f
      Kevin Cozens authored
      2004-12-11  Kevin Cozens  <kcozens@cvs.gimp.org>
      
      	* plug-ins/script-fu/scripts/copy-visible.scm: Apply the layer mask
      	when copying a single layer with a layer mask. Fixes bug #138662.
      
      	* plug-ins/script-fu/scripts/t-o-p-logo.scm: Removed ' character.
      a0a7919f
    • Sven Neumann's avatar
      updated. · 4fed8e29
      Sven Neumann authored
      2004-12-11  Sven Neumann  <sven@gimp.org>
      
      	* app/app-sections.txt: updated.
      4fed8e29
    • Sven Neumann's avatar
      INSTALL NEWS updates for the GIMP 2.2.0 release. · 2db00840
      Sven Neumann authored
      2004-12-11  Sven Neumann  <sven@gimp.org>
      
      	* INSTALL
      	* NEWS
      	* README: updates for the GIMP 2.2.0 release.
      2db00840
    • Sven Neumann's avatar
      got rid of a global variable. · ef3c2d48
      Sven Neumann authored
      2004-12-11  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/unsharp.c: got rid of a global variable.
      ef3c2d48
    • Sven Neumann's avatar
      more changes to restore the gimp-2.0 behaviour. · 9cd408dd
      Sven Neumann authored
      2004-12-11  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/bumpmap.c (dialog_bumpmap_callback): more changes
      	to restore the gimp-2.0 behaviour.
      9cd408dd
    • Michael Natterer's avatar
      added new function gimp_drawable_get_sub_preview() which returns a scaled · 4714802a
      Michael Natterer authored
      2004-12-11  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpdrawable-preview.[ch]: added new function
      	gimp_drawable_get_sub_preview() which returns a scaled preview of
      	a part of a drawable.
      
      	(gimp_drawable_preview_scale): made it work with srcPR.x and
      	srcPR.y being != 0.
      
      	* app/core/gimpimage-preview.c (gimp_image_get_new_preview)
      	* app/widgets/gimpviewrendererdrawable.c
      	(gimp_view_renderer_drawable_render): if the area of the drawable
      	preview is more than 4 times larger than the drawable itself (evil
      	heuristic, but seems to work fine), use above function to get a
      	sub-preview of the drawable instead of getting an insanely large
      	preview of the whole drawable just to use a small part of it.
      	Fixes bug #142074.
      
      	* app/core/gimpimage-preview.c (gimp_image_get_new_preview):
      	optimized by skipping layers which do not intersect with the
      	canvas.
      4714802a
    • Sven Neumann's avatar
      do actually change the bumpmap drawable. Fixes bug #160985, hopefully · af558db6
      Sven Neumann authored
      2004-12-11  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/bumpmap.c (dialog_bumpmap_callback): do actually
      	change the bumpmap drawable. Fixes bug #160985, hopefully without
      	reopening bug #158494.
      af558db6
  3. 10 Dec, 2004 8 commits
    • Sven Neumann's avatar
      fixed typo in comment · 207d92d3
      Sven Neumann authored
      207d92d3
    • Sven Neumann's avatar
      set version to 2.2.0. · 8b64c2a1
      Sven Neumann authored
      2004-12-11  Sven Neumann  <sven@gimp.org>
      
      	* configure.in: set version to 2.2.0.
      
      	* tools/Makefile.am
      	* tools/authorsgen/Makefile.am
      	* tools/authorsgen/authorsgen.pl
      	* tools/authorsgen/contributors: removed authorsgen, a perl script
      	that used to be used to create AUTHORS and authors.h.
      
      	* Makefile.am
      	* authors.dtd
      	* authors.xml: added a simple XML file that lists authors and
      	contributors and a DTD to validate it.
      
      	* authors.xsl: a stylesheet to generate AUTHORS from authors.xml.
      
      	* app/dialogs/Makefile.am
      	* app/dialogs/authors.xsl: a stylesheet to generate authors.h from
      	authors.xml.
      
      	* app/dialogs/authors.h: regenerated.
      
      	* app/dialogs/about-dialog.c: added a const modifier.
      8b64c2a1
    • William Skaggs's avatar
      Bill Skaggs <weskaggs@primate.ucdavis.edu> · 791dc60f
      William Skaggs authored
      	* app/widgets/gimphistogrameditor.c: make histogram editor,
      	and therefore histogram dialog, use the selection.  Should
      	resolve bug #72959.
      
      	* app/core/gimpdrawable-histogram.h: remove trailing
      	whitespace.
      791dc60f
    • Manish Singh's avatar
      app/widgets/gimpdatafactoryview.c #include <string.h> for strcmp() · e7a82297
      Manish Singh authored
      2004-12-10  Manish Singh  <yosh@gimp.org>
      
              * app/widgets/gimpdatafactoryview.c
              * app/widgets/gimpitemtreeview.c: #include <string.h> for strcmp()
      e7a82297
    • Michael Natterer's avatar
      app/widgets/gimpdatafactoryview.c · 8c95eb1a
      Michael Natterer authored
      2004-12-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpdatafactoryview.c
      	(gimp_data_factory_view_tree_name_edited)
      	* app/widgets/gimpitemtreeview.c
      	(gimp_item_tree_view_name_edited)
      	* app/widgets/gimptemplateview.c
      	(gimp_template_view_tree_name_edited): call gimp_object_set_name()
      	or gimp_item_rename() only if the item's name has actually changed
      	and restore the old text otherwise. Fixes one instance of "name is
      	not updated correctly after editing" for which I blamed GTK+ in
      	bug #145463 :-) The other instances should be fixed in GTK+ HEAD
      	and are imho unfixable with GTK+ 2.4.
      8c95eb1a
    • Michael Natterer's avatar
      clear all viewable cell renderers so they don't keep pointers to · 4ee9b210
      Michael Natterer authored
      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.
      4ee9b210
    • Amanpreet Singh Alam's avatar
      update amanrpeetaalm@yahoo.com · dc3cca1b
      Amanpreet Singh Alam authored
      dc3cca1b
    • Adam Weinberger's avatar
      Updated Canadian English translation. · 228e071b
      Adam Weinberger authored
      
      	* en_CA.po: Updated Canadian English translation.
      228e071b
  4. 09 Dec, 2004 8 commits
  5. 08 Dec, 2004 5 commits
    • William Skaggs's avatar
      Bill Skaggs <weskaggs@primate.ucdavis.edu> · 3e772fae
      William Skaggs authored
      	* 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.
      3e772fae
    • William Skaggs's avatar
      Bill Skaggs <weskaggs@primate.ucdavis.edu> · c999ad25
      William Skaggs authored
      	* app/dialogs/print-size-dialog.c (print_size_dialog_size_changed):
      	fixed kludgy use of size entry, seems to fix bug #159273.
      c999ad25
    • Øyvind Kolås's avatar
      fnord · 67725268
      Øyvind Kolås authored
      67725268
    • Michael Natterer's avatar
      renamed gimp_ui_manager_get_action() to gimp_ui_manager_find_action(). · cf4a649f
      Michael Natterer authored
      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.
      cf4a649f
    • Michael Natterer's avatar
      added new prop_widget gimp_prop_int_combo_box_new() which takes a · d90360e2
      Michael Natterer authored
      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).
      d90360e2
  6. 07 Dec, 2004 7 commits
  7. 06 Dec, 2004 3 commits
    • Sven Neumann's avatar
      removed duplicate entry for Roman. · 6584f14d
      Sven Neumann authored
      2004-12-06  Sven Neumann  <sven@gimp.org>
      
      	* tools/authorsgen/contributors: removed duplicate entry for Roman.
      
      	* AUTHORS
      	* app/dialogs/authors.h: regenerated.
      6584f14d
    • Roman Joost's avatar
      added Róman Joost to contributors · 95c2aae9
      Roman Joost authored
      
      2004-12-06  Roman Joost	<romanofski@gimp.org>
      
      	* tools/authorsgen/contributors: added Róman Joost to
      	contributors
      95c2aae9
    • Michael Natterer's avatar
      applied patch from Sven Neumann which removes code that prevents layers · 13a32c91
      Michael Natterer authored
      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.
      13a32c91