Commit Graph

22254 Commits

Author SHA1 Message Date
Michael Natterer e5579d46ce remove unused cruft.
2007-12-27  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpbrightnesscontrasttool.c: remove unused cruft.


svn path=/trunk/; revision=24440
2007-12-27 22:22:39 +00:00
Sven Neumann 1ad4d1260b enable line wrapping on the info label.
2007-12-27  Sven Neumann  <sven@gimp.org>

        * app/widgets/gimpthumbbox.c (gimp_thumb_box_new): enable line
        wrapping on the info label.


svn path=/trunk/; revision=24439
2007-12-27 15:42:20 +00:00
Michael Natterer 1e8371361e app/actions/image-commands.c app/actions/select-commands.c
2007-12-26  Michael Natterer  <mitch@gimp.org>

	* app/actions/image-commands.c
	* app/actions/select-commands.c
	* app/core/gimp-edit.c
	* app/core/gimpdrawable-stroke.c
	* app/core/gimpimage-duplicate.c
	* app/core/gimpimage-preview.c
	* app/core/gimpimage-rotate.c
	* app/core/gimpimageundo.c
	* app/core/gimpitem-preview.c
	* app/dialogs/grid-dialog.c
	* app/dialogs/layer-options-dialog.c
	* app/dialogs/offset-dialog.c
	* app/dialogs/stroke-dialog.c
	* app/display/gimpdisplayshell-scale.c
	* app/display/gimpdisplayshell-title.c
	* app/display/gimpdisplayshell.c
	* app/display/gimpstatusbar.c
	* app/paint/gimppaintoptions.c
	* app/tools/gimpmagnifytool.c
	* app/tools/gimpmeasuretool.c
	* app/tools/gimppainttool.c
	* app/tools/gimprectangletool.c
	* app/tools/gimprotatetool.c
	* app/tools/gimpscaletool.c
	* app/tools/gimptexttool.c
	* app/vectors/gimpvectors-export.c
	* app/vectors/gimpvectors-import.c
	* app/widgets/gimpcursorview.c
	* app/widgets/gimpimagepropview.c
	* app/widgets/gimptoolbox-dnd.c
	* app/widgets/gimpviewrendererdrawable.c
	* app/widgets/gimpviewrendererimage.c
	* app/xcf/xcf-load.c
	* app/xcf/xcf-save.c: use gimp_image_get/set_resolution() instead
	of accessing the GimpImage members directly.


svn path=/trunk/; revision=24436
2007-12-26 17:33:41 +00:00
Sven Neumann 44b3ae548f sprinkled with const qualifiers.
2007-12-26  Sven Neumann  <sven@gimp.org>

	* app/paint/gimpbrushcore.c: sprinkled with const qualifiers.


svn path=/trunk/; revision=24435
2007-12-26 11:45:50 +00:00
Michael Natterer 6074f7e248 app/core/gimpimage-guides.[ch] add accessors for the lists of guides and
2007-12-25  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpimage-guides.[ch]
	* app/core/gimpimage-sample-points.[ch]: add accessors for the lists
	of guides and sample points.

	* app/core/gimpimage-crop.c
	* app/core/gimpimage-duplicate.c
	* app/core/gimpimage-flip.c
	* app/core/gimpimage-resize.c
	* app/core/gimpimage-rotate.c
	* app/core/gimpimage-scale.c
	* app/core/gimpimage-snap.c
	* app/core/gimpimage.c
	* app/display/gimpdisplayshell-appearance.c
	* app/display/gimpdisplayshell-draw.c
	* app/display/gimpdisplayshell.c
	* app/widgets/gimpsamplepointeditor.c
	* app/xcf/xcf-save.c: use the new accessors.


svn path=/trunk/; revision=24434
2007-12-25 17:09:04 +00:00
Michael Natterer 0d31cf5521 : renamed "cmap" to "colormap" and "num_cols" to "n_colors".
2007-12-25  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpimage.h (struct GimpImage):: renamed "cmap" to
	"colormap" and "num_cols" to "n_colors".

	* app/core/gimpimage.c
	* app/core/gimpimage-colormap.[ch]
	* app/widgets/gimpcolormapeditor.c: changed accordingly.


svn path=/trunk/; revision=24433
2007-12-25 16:33:04 +00:00
Michael Natterer 75061fccfd app/actions/channels-commands.c app/actions/colormap-actions.c
2007-12-25  Michael Natterer  <mitch@gimp.org>

	* app/actions/channels-commands.c
	* app/actions/colormap-actions.c
	* app/actions/colormap-commands.c
	* app/actions/image-commands.c
	* app/core/gimp-edit.c
	* app/core/gimpdrawable-preview.c
	* app/core/gimpimage-colorhash.c
	* app/core/gimpimage-colormap.c
	* app/core/gimpimage-convert.c
	* app/core/gimpimage-crop.c
	* app/core/gimpimage-duplicate.c
	* app/core/gimpimage-flip.c
	* app/core/gimpimage-guides.c
	* app/core/gimpimage-merge.c
	* app/core/gimpimage-preview.c
	* app/core/gimpimage-quick-mask.c
	* app/core/gimpimage-resize.c
	* app/core/gimpimage-rotate.c
	* app/core/gimpimage-sample-points.c
	* app/core/gimpimage-scale.c
	* app/core/gimpimage-snap.c
	* app/core/gimpimage.c
	* app/core/gimpimagefile.c
	* app/core/gimpimageundo.c
	* app/core/gimpitem-preview.c
	* app/core/gimpitem.c
	* app/core/gimplayer.c
	* app/core/gimppalette-import.c
	* app/core/gimpprojection-construct.c
	* app/core/gimpprojection.c
	* app/core/gimpselection.c
	* app/core/gimpundo.c
	* app/dialogs/layer-options-dialog.c
	* app/dialogs/print-size-dialog.c
	* app/display/gimpdisplay.c
	* app/display/gimpdisplayshell-draw.c
	* app/display/gimpdisplayshell-scale.c
	* app/display/gimpdisplayshell-scroll.c
	* app/display/gimpdisplayshell-title.c
	* app/display/gimpdisplayshell-transform.c
	* app/display/gimpdisplayshell.c
	* app/display/gimpstatusbar.c
	* app/file/file-open.c
	* app/paint/gimppaintoptions.c
	* app/tools/gimpaligntool.c
	* app/tools/gimpcolortool.c
	* app/tools/gimpeditselectiontool.c
	* app/tools/gimpiscissorstool.c
	* app/tools/gimpmeasuretool.c
	* app/tools/gimpmovetool.c
	* app/tools/gimpperspectiveclonetool.c
	* app/tools/gimprectangleselecttool.c
	* app/tools/gimprectangletool.c
	* app/tools/gimprotatetool.c
	* app/vectors/gimpvectors-export.c
	* app/vectors/gimpvectors-import.c
	* app/vectors/gimpvectors.c
	* app/widgets/gimpimagepropview.c
	* app/widgets/gimpnavigationview.c
	* app/widgets/gimpselectioneditor.c
	* app/widgets/gimpviewrendererdrawable.c
	* app/widgets/gimpviewrendererimage.c
	* app/xcf/xcf-load.c
	* app/xcf/xcf-save.c
	* tools/pdbgen/pdb/guides.pdb
	* tools/pdbgen/pdb/image.pdb: use accessors for many image properties.

	* app/pdb/guides_cmds.c
	* app/pdb/image_cmds.c: regenerated.


svn path=/trunk/; revision=24432
2007-12-25 16:21:40 +00:00
Michael Natterer 9b551273ab forgot to port some debug output to GIMP_LOG().
2007-12-25  Michael Natterer  <mitch@gimp.org>

	* app/dialogs/file-save-dialog.c: forgot to port some debug output
	to GIMP_LOG().


svn path=/trunk/; revision=24431
2007-12-25 16:10:22 +00:00
Marco Ciampa 05281f0b01 Updated italian translation.
svn path=/trunk/; revision=24430
2007-12-23 21:36:15 +00:00
Michael Natterer ecb2c46dc8 app/actions/layers-commands.c app/core/gimpchannel-combine.c
2007-12-23  Michael Natterer  <mitch@gimp.org>

	* app/actions/layers-commands.c
	* app/core/gimpchannel-combine.c
	* app/core/gimpchannel-select.c
	* app/core/gimpchannel.c
	* app/core/gimpdrawable-convert.c
	* app/core/gimpdrawable.c
	* app/core/gimpdrawablemodundo.c
	* app/core/gimpfloatingselundo.c
	* app/core/gimpimage-convert.c
	* app/core/gimpimage-merge.c
	* app/core/gimpimage-resize.c
	* app/core/gimpimage.c
	* app/core/gimpitem-preview.c
	* app/core/gimpitem.c
	* app/core/gimplayer-floating-sel.c
	* app/core/gimplayer.c
	* app/core/gimplayermask.c
	* app/core/gimplayerundo.c
	* app/core/gimpmaskundo.c
	* app/core/gimppalette-import.c
	* app/core/gimpprojection-construct.c
	* app/core/gimpselection.c
	* app/dialogs/offset-dialog.c
	* app/text/gimptextlayer-xcf.c
	* app/text/gimptextlayer.c
	* app/vectors/gimpvectors-compat.c
	* app/vectors/gimpvectors.c
	* app/vectors/gimpvectorsmodundo.c
	* app/widgets/gimplayertreeview.c
	* app/widgets/gimpviewrendererdrawable.c
	* app/widgets/gimpviewrenderervectors.c: use accessors for item,
	layer, channel and mask attributes.


svn path=/trunk/; revision=24429
2007-12-23 16:58:41 +00:00
Sven Neumann 8bd8a343a6 corrected undo description.
2007-12-22  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimage-sample-points.c
	(gimp_image_add_sample_point_at_pos): corrected undo 
description.


svn path=/trunk/; revision=24427
2007-12-22 14:54:07 +00:00
Sven Neumann eb10b7370a removed duplicate entry ("Untitled").
2007-12-22  Sven Neumann  <sven@gimp.org>

	* data/palettes/Tango.gpl: removed duplicate entry ("Untitled").


svn path=/trunk/; revision=24425
2007-12-22 14:26:29 +00:00
Michael Natterer b7dace78b4 app/tools/gimpeditselectiontool.c app/tools/gimpiscissorstool.c
2007-12-21  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpeditselectiontool.c
	* app/tools/gimpiscissorstool.c
	* app/tools/gimptexttool.c
	* app/tools/gimptransformtool.c: use accessors for drawable and
	item properties.


svn path=/trunk/; revision=24424
2007-12-21 20:10:27 +00:00
Michael Natterer 1eaca542af app/xcf/xcf-save.c use accessors for colormap, parasites and more item,
2007-12-21  Michael Natterer  <mitch@gimp.org>

	* app/xcf/xcf-save.c
	* app/xcf/xcf-load.c: use accessors for colormap, parasites and
	more item, layer, channel and mask properties instead of accessing
	the object structs directly. Some minor style cleanups.


svn path=/trunk/; revision=24423
2007-12-21 16:37:01 +00:00
Sven Neumann d58e7321de added comment
svn path=/trunk/; revision=24420
2007-12-20 22:57:29 +00:00
Sven Neumann c36d3091c2 more code cleanup
svn path=/trunk/; revision=24419
2007-12-20 22:03:28 +00:00
Sven Neumann 58720a6315 more code cleanup
svn path=/trunk/; revision=24418
2007-12-20 22:00:38 +00:00
Sven Neumann 7909c0bcbd added accessor for the list of menu branches.
2007-12-20  Sven Neumann  <sven@gimp.org>

	* app/plug-in/gimppluginmanager-menu-branch.[ch]: added accessor
	for the list of menu branches.

	* app/actions/plug-in-actions.c (plug_in_actions_setup): use it.


svn path=/trunk/; revision=24417
2007-12-20 21:48:18 +00:00
Sven Neumann a151d7e640 readded some AC_SUBST() that were removed under the wrong assumption they
2007-12-20  Sven Neumann  <sven@gimp.org>

	* configure.in: readded some AC_SUBST() that were removed under
	the wrong assumption they would not be needed any longer.
	Consistently use # to mark comments in configure.in.


svn path=/trunk/; revision=24416
2007-12-20 20:15:53 +00:00
Michael Natterer 50e629af4d link against GEGL_LIBS.
2007-12-20  Michael Natterer  <mitch@gimp.org>

	* app/Makefile.am (GTKDOC_LIBS): link against GEGL_LIBS.


svn path=/trunk/; revision=24415
2007-12-20 18:27:58 +00:00
Sven Neumann 6942049f75 call gegl_exit() on shutdown.
2007-12-20  Sven Neumann  <sven@gimp.org>

	* app/app.c: call gegl_exit() on shutdown.

svn path=/trunk/; revision=24414
2007-12-20 16:29:52 +00:00
Sven Neumann c023746759 INSTALL require GEGL >= 0.0.14.
2007-12-20  Sven Neumann  <sven@gimp.org>

	* INSTALL
	* configure.in: require GEGL >= 0.0.14.

	* app/Makefile.am
	* app/app.c: initialize the GEGL library.

svn path=/trunk/; revision=24413
2007-12-20 15:49:54 +00:00
Sven Neumann 512af8080d removed debug output that was accidentally committed
svn path=/trunk/; revision=24412
2007-12-20 14:07:49 +00:00
Sven Neumann a16fd95983 minor cleanup.
2007-12-20  Sven Neumann  <sven@gimp.org>

	* app/paint/gimpink.c: minor cleanup.

svn path=/trunk/; revision=24411
2007-12-20 13:37:55 +00:00
Sven Neumann 734ee6ef9f updated last-active attribute for recent contributors.
2007-12-20  Sven Neumann  <sven@gimp.org>

	* authors.xml: updated last-active attribute for recent contributors.

svn path=/trunk/; revision=24410
2007-12-20 11:54:39 +00:00
Sven Neumann 69992efa31 forgot to commit this when I added the new PSD load plug-in
svn path=/trunk/; revision=24409
2007-12-20 11:41:10 +00:00
Sven Neumann 4e8df6af94 configure.in plug-ins/Makefile.am added new PSD load plug-in written by
2007-12-20  Sven Neumann  <sven@gimp.org>

	* configure.in
	* plug-ins/Makefile.am
	* plug-ins/psd: added new PSD load plug-in written by John Marshall.
	This plug-in adds a couple of features. See bug #448181 for details.

	* plug-ins/common/Makefile.am
	* plug-ins/common/plugin-defs.pl
	* plug-ins/common/psd-load.c: removed old psd-load plug-in.

svn path=/trunk/; revision=24408
2007-12-20 11:12:05 +00:00
Sven Neumann 318bcd396d added code for adding a shortcut to the default ICC profile location on
2007-12-20  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpprofilechooserdialog.c: added code for adding 
a
	shortcut to the default ICC profile location on Windows. Based 
on
	a patch by John Marshall (bug #503410).


svn path=/trunk/; revision=24407
2007-12-20 08:26:13 +00:00
Sven Neumann b575b82f82 fixed typo
svn path=/trunk/; revision=24406
2007-12-20 07:29:11 +00:00
Sven Neumann 4c34b6ef38 adopt to changes gimp_documents_save() API.
2007-12-20  Sven Neumann  <sven@gimp.org>

	* app/actions/documents-commands.c 
(documents_clear_cmd_callback):
	adopt to changes gimp_documents_save() API.


svn path=/trunk/; revision=24405
2007-12-20 07:26:50 +00:00
Michael Natterer 1542f99678 app/core/gimp-contexts.[ch] add GErrors to save() and load().
2007-12-19  Michael Natterer  <mitch@gimp.org>

	* app/core/gimp-contexts.[ch]
	* app/core/gimp-documents.[ch]: add GErrors to save() and load().

	* app/core/gimp.c
	* app/tools/gimp-tools.c: handle the returned errors.


svn path=/trunk/; revision=24403
2007-12-19 17:45:47 +00:00
Sven Neumann 8ce82f2415 applied patch from John Marshall that fixes handling of PSD files with
2007-12-18  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/psd-load.c: applied patch from John Marshall
	that fixes handling of PSD files with blank layer names (bug 
#504149).


svn path=/trunk/; revision=24401
2007-12-18 20:33:32 +00:00
Kevin Cozens 6e476b9b4a Added extra checks to stop bad syntax in LET*, LET, and LETREC from
2007-12-17  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/tinyscheme/scheme.c: Added extra checks to stop
	bad syntax in LET*, LET, and LETREC from causing a segmentation fault
	in Linux. See SourceForge bug #1817986.

svn path=/trunk/; revision=24400
2007-12-18 20:12:11 +00:00
William Skaggs 3decfb47af Bill Skaggs <weskaggs@primate.ucdavis.edu>
* libgimpwidgets/gimpstock.h:  fix typo that probably caused
	bug #503834.

svn path=/trunk/; revision=24398
2007-12-18 19:40:56 +00:00
Michael Natterer 91c2453174 app/xcf/xcf-load.c use the proper APIs to get/set many item, layer,
2007-12-18  Michael Natterer  <mitch@gimp.org>

	* app/xcf/xcf-load.c
	* app/xcf/xcf-save.c: use the proper APIs to get/set many item,
	layer, channel and vectors properties instead of reading/writing
	their struct members directly.


svn path=/trunk/; revision=24397
2007-12-18 19:12:43 +00:00
Sven Neumann 1449a6d202 libgimpwidgets/gimpscrolledpreview.c don't rely on the pointer position in
2007-12-18  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpscrolledpreview.c
	* libgimpwidgets/gimpcolorselect.c: don't rely on the pointer
	position in the GdkEventMotion struct, query the pointer instead.

svn path=/trunk/; revision=24396
2007-12-18 17:57:27 +00:00
Sven Neumann 45b5ffb7cf don't rely on the pointer position in the GdkEventMotion struct, query the
2007-12-18  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpgradienteditor.c: don't rely on the pointer
	position in the GdkEventMotion struct, query the pointer instead.

svn path=/trunk/; revision=24395
2007-12-18 17:51:32 +00:00
Sven Neumann 325d7d0f8f minor cleanup.
2007-12-18  Sven Neumann  <sven@gimp.org>

	* app/display/gimpnavigationeditor.c: minor cleanup.

	* app/widgets/gimpnavigationview.c
	(gimp_navigation_view_motion_notify): fixed handling of motion
	events that broke when I introduced the call to
	gdk_event_request_motions().

svn path=/trunk/; revision=24394
2007-12-18 17:43:01 +00:00
Sven Neumann c86291c4f5 app/core/gimppalette-import.c applied slightly modified patch from Nicola
2007-12-18  Sven Neumann  <sven@gimp.org>

	* app/core/gimppalette-import.c
	* app/core/gimppalette-load.[ch]: applied slightly modified patch
	from Nicola Archibald that adds import of colors from CSS files
	(bug #464480).

	* app/core/gimppalette.c (gimp_palette_find_entry): allow to call
	this function on an empty palette.

svn path=/trunk/; revision=24393
2007-12-18 17:01:19 +00:00
Sven Neumann 055086aef2 use the coordinate parameters in tile_data_pointer() instead of adjusting
2007-12-18  Sven Neumann  <sven@gimp.org>

	* app/base/tile-pyramid.c: use the coordinate parameters in
	tile_data_pointer() instead of adjusting the pointer manually.

svn path=/trunk/; revision=24392
2007-12-18 15:40:01 +00:00
Sven Neumann f63b11c3aa sprinkled with const qualifiers.
2007-12-18  Sven Neumann  <sven@gimp.org>

	* app/base/tile-pyramid.c: sprinkled with const qualifiers.

svn path=/trunk/; revision=24391
2007-12-18 15:24:52 +00:00
Sven Neumann 942c8071e4 sprinkled with const qualifiers.
2007-12-18  Sven Neumann  <sven@gimp.org>

	* app/paint-funcs/paint-funcs.c: sprinkled with const qualifiers.

svn path=/trunk/; revision=24390
2007-12-18 14:51:55 +00:00
Sven Neumann e080bb1f26 renamed tile_manager_validate() to tile_manager_validate_tile(). If no
2007-12-18  Sven Neumann  <sven@gimp.org>

	* app/base/tile-manager.[ch]: renamed tile_manager_validate() to
	tile_manager_validate_tile(). If no validate_proc is set,
	initialize the tile data to all zero when validating it. This way
	we never hand out uninitialized data and valgrind doesn't need to
	complain any longer.

	* app/base/tile.c: changed accordingly.

	* app/core/gimpselection.c: no need to set an extra validate_proc
	here as the default implementation now does the job for us.

svn path=/trunk/; revision=24389
2007-12-18 13:07:01 +00:00
Sven Neumann 43dfbd1c97 made get_tiles() a method of GimpDrawable.
2007-12-18  Sven Neumann  <sven@gimp.org>

	* app/core/gimpdrawable.[ch]: made get_tiles() a method of
	GimpDrawable.

svn path=/trunk/; revision=24388
2007-12-18 11:20:23 +00:00
Sven Neumann 53f3123847 added code for 1 and 3 bytes per pixel. Fixes bug #504115.
2007-12-18  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-render.c
	(render_image_tile_fault_nearest): added code for 1 and 3 bytes
	per pixel. Fixes bug #504115.


svn path=/trunk/; revision=24387
2007-12-18 08:46:40 +00:00
William Skaggs 50f65eb1b4 Bill Skaggs <weskaggs@primate.udavis.edu>
* plug-ins/common/edge.c: reverted to state pre-12/16.

svn path=/trunk/; revision=24386
2007-12-17 23:25:07 +00:00
Michael Natterer e277fe8f68 add app/gimp-log.o
2007-12-17  Michael Natterer  <mitch@gimp.org>

	* app/Makefile.am (GTKDOC_LIBS): add app/gimp-log.o

	* app/app.types
	* app/app-docs.sgml
	* app/app-sections.txt: updated.


svn path=/trunk/; revision=24385
2007-12-17 15:52:58 +00:00
Jakub Friedl 939708625c Updated Czech translation.
2007-12-17  Jakub Friedl  <jfriedl@suse.cz>

  * cs.po: Updated Czech translation.


svn path=/trunk/; revision=24384
2007-12-17 15:24:04 +00:00
Jakub Friedl 953bdad7fd Updated Czech translation.
2007-12-17  Jakub Friedl  <jfriedl@suse.cz>

  * cs.po: Updated Czech translation.


svn path=/trunk/; revision=24383
2007-12-17 15:12:59 +00:00
Sven Neumann eea8fcda76 minor cleanup.
2007-12-17  Sven Neumann  <sven@gimp.org>

	* app/core/gimpprojection-construct.c (project_intensity): minor
	cleanup.

svn path=/trunk/; revision=24382
2007-12-17 10:45:05 +00:00