Commit Graph

13255 Commits

Author SHA1 Message Date
Simon Budig f7e4e55d1d reordered info_dialog_hide() and crop_tool_crop_image(), which avoids the
2004-09-06  Simon Budig  <simon@gimp.org>

	* app/tools/gimpcroptool.c: reordered info_dialog_hide() and
	crop_tool_crop_image(), which avoids the repeated popping up
	of the info dialog and avoids a crash.

	Fixes bug #151712
2004-09-05 23:42:30 +00:00
Marco Ciampa 7a26b855d9 Updated italian translation 2004-09-05 23:28:26 +00:00
Marco Ciampa ae3ec2976d fix shear translation 2004-09-05 23:09:02 +00:00
Marco Ciampa 8eb7568989 small fix 2004-09-05 23:03:07 +00:00
Marco Ciampa 529ae09ffb Updated italian translation 2004-09-05 21:58:05 +00:00
David Odin d44e08aed7 use gimp_preview_invalidate() where appropriate.
* plug-ins/common/cartoon.c: use gimp_preview_invalidate() where
  appropriate.

* plug-ins/common/photocopy.c: Added a preview.
2004-09-05 21:54:34 +00:00
Sven Neumann 4bfbd2c5c3 bumped version number to 2.1.5.
2004-09-05  Sven Neumann  <sven@gimp.org>

	* configure.in: bumped version number to 2.1.5.

	* app/widgets/gimpfiledialog.c (gimp_file_dialog_set_uri): select
	the image file, not only the folder it lives in. Fixes bug #151638.
2004-09-05 20:17:53 +00:00
David Odin 7cc418aab4 Added a preview.
* plug-ins/common/cartoon.c: Added a preview.
2004-09-05 19:59:12 +00:00
Simon Budig 096e059a00 fix handling of layers with an offset. Resize the image before cropping
2004-09-05  Simon Budig  <simon@gimp.org>

	* plug-ins/common/autocrop.c: fix handling of layers with an
	offset. Resize the image before cropping when the covered area
	of a layer is partially outside the image area. Make math more
	comprehensible.
2004-09-05 15:06:53 +00:00
Sven Neumann c8f8500220 plug-ins/common/convmatrix.c plug-ins/common/smooth_palette.c renamed
2004-09-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/convmatrix.c
	* plug-ins/common/smooth_palette.c
	* plug-ins/flame/flame.c: renamed functions from doit() to
	something less silly.
2004-09-05 08:08:36 +00:00
Sven Neumann 9b34b65068 Made 2.1.4 release.
2004-09-05  Sven Neumann  <sven@gimp.org>

        * Made 2.1.4 release.
2004-09-05 01:27:37 +00:00
Sven Neumann 5a016a752f Reverted my change. It was bogus since Noisify is actually Scatter RGB. 2004-09-05 00:28:47 +00:00
Sven Neumann ea84f1ba6c libgimp/libgimp-sections.txt added gimp_image_resize_to_layers().
2004-09-05  Sven Neumann  <sven@gimp.org>

	* libgimp/libgimp-sections.txt
	* libgimp/tmpl/gimpimage.sgml: added gimp_image_resize_to_layers().
2004-09-05 00:17:28 +00:00
Simon Budig 0f46fb7fdf improved documentation for gimp_image_resize_to_layers
2004-09-05  Simon Budig  <simon@gimp.org>

	* tools/pdbgen/pdb/image.pdb: improved documentation for
	gimp_image_resize_to_layers

	* libgimp/gimp.def
	* devel-docs/libgimp/libgimp-sections.txt: added
	gimp_image_resize_to_layers

	* app/pdb/image_cmds.c
	* libgimp/gimpimage_pdb.c: regenerated
2004-09-05 00:13:22 +00:00
Sven Neumann 6fd8da2266 added libgimpwidgets/gimppreviewarea.c.
2004-09-05  Sven Neumann  <sven@gimp.org>

	* POTFILES.in: added libgimpwidgets/gimppreviewarea.c.

	* de.po: updated german translation.
2004-09-04 23:22:39 +00:00
Simon Budig cf9951a0e4 NEWS: Updated for "Fit Canvas to Layers" 2004-09-04 22:43:21 +00:00
Simon Budig fe7eb34e6e Implement function to resize the image to contain all layers completely.
2004-09-05  Simon Budig  <simon@gimp.org>

	* app/core/gimpimage-resize.[ch]: Implement function to resize
	the image to contain all layers completely. Untabified.

	* app/actions/image-actions.c
	* app/actions/image-commands.[ch]
	* app/widgets/gimphelp-ids.h
	* menus/image-menu.xml.in: Make it available in the GUI.

	* tools/pdbgen/pdb/image.pdb: Make it available in the PDB.

	* app/pdb/image_cmds.c
	* app/pdb/internal_procs.c
	* libgimp/gimpimage_pdb.[ch]: regenerated.
2004-09-04 22:08:43 +00:00
David Odin 967bac104d ported to GimpDrawablePreview.
* plug-ins/common/noisify.c: ported to GimpDrawablePreview.
2004-09-04 20:31:41 +00:00
Sven Neumann 0ef4dc1713 NEWS update, ChangeLog formatting 2004-09-04 08:53:10 +00:00
David Odin 3b3740ad85 added a note about the comment in info window and did some changes about the
plug-ins which now have a preview
2004-09-04 01:10:30 +00:00
Michael Schumacher abcf106b8e libgimp/gimp.def libgimpwidgets/gimpwidgets.def: added the check(erboard)
2004-09-04  Michael Schumacher <schumaml@cvs.gnome.org>

	* libgimp/gimp.def
	* libgimpbase/gimpbase.def: libgimpwidgets/gimpwidgets.def: added
	the check(erboard) related entries
2004-09-04 01:03:36 +00:00
Sven Neumann 35c218168e updated 2004-09-04 00:45:03 +00:00
Sven Neumann 2e1bceea1e libgimpwidgets/libgimpwidgets-sections.txt added
2004-09-04  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/libgimpwidgets-sections.txt
	* libgimpwidgets/tmpl/gimppreviewarea.sgml: added
	gimp_preview_area_menu_popup().
2004-09-04 00:12:01 +00:00
Sven Neumann 6ece077f87 pass a GdkEventButton to gimp_preview_area_menu_popup().
2004-09-04  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimppreviewarea.[ch]: pass a GdkEventButton to
	gimp_preview_area_menu_popup().

	* libgimpwidgets/gimppreview.c: implement GtkWidget::popup_menu().
2004-09-03 23:41:39 +00:00
David Odin f7a2f14211 Changed the way we attach the preview area frame to the table so very
* libgimpwidgets/gimppreview.c: Changed the way we attach the preview
  area frame to the table so very small drawables don't cause a
  malicious bug.
2004-09-03 23:32:35 +00:00
David Odin a53b847ac8 ported to GimpDrawablePreview.
* plug-ins/common/sel_gauss.c: ported to GimpDrawablePreview.
2004-09-03 23:22:31 +00:00
David Odin 4525c29f66 ported to GimpDrawablePreview.
* plug-ins/common/sharpen.c: ported to GimpDrawablePreview.
2004-09-03 22:32:37 +00:00
Sven Neumann ecca201aa9 added gimp_preview_area_menu_popup(). Not completely finished yet...
2004-09-03  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimppreviewarea.[ch]: added
	gimp_preview_area_menu_popup(). Not completely finished yet...

	* libgimpwidgets/gimppreview.c: use the new function.
2004-09-03 19:34:59 +00:00
Sven Neumann 4c91c25337 take care of setting the colormap for indexed drawables.
2004-09-03  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpdrawablepreview.c (gimp_drawable_preview_set_drawable):
	take care of setting the colormap for indexed drawables.

	* libgimpwidgets/gimppreview.c (gimp_preview_area_event): pan with
	the first mouse button only. We will need the other buttons.
2004-09-03 16:52:26 +00:00
Sven Neumann 414c19762f ported to GimpDrawablePreview.
2004-09-03  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/grid.c: ported to GimpDrawablePreview.
2004-09-03 16:37:53 +00:00
Sven Neumann dd9cc198f5 left-align the preview.
2004-09-03  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/plasma.c (plasma_dialog): left-align the preview.

	* plug-ins/common/grid.c (dialog): pack the preview as in other
	plug-in dialogs and embed it into a GtkFrame.
2004-09-03 14:41:31 +00:00
Michael Natterer 1c045ca77e removed "Configure input devices" button. Fixes bug #150177.
2004-09-03  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpdevicestatus.c: removed "Configure input
	devices" button. Fixes bug #150177.
2004-09-03 14:26:50 +00:00
Simon Budig fc8e7632bb Applied modified patch by Kevin Cozens that implements a "Comments" tab in
2004-09-03  Simon Budig  <simon@gimp.org>

	* app/gui/info-window.c: Applied modified patch by Kevin Cozens
	that implements a "Comments" tab in the image info dialog.

	Fixes bug #151719.
2004-09-03 13:38:09 +00:00
Sven Neumann a1e5a55c7d removed unused function 2004-09-03 13:07:22 +00:00
Sven Neumann 9b314d0e81 swapped light and gray checks to get a checkerboard that matches the image
2004-09-03  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimppreviewarea.c (CHECK_COLOR): swapped light
	and gray checks to get a checkerboard that matches the image window.
2004-09-03 12:57:35 +00:00
Michael Natterer 9f31a8f858 added gimp_check_size() and gimp_check_type().
2004-09-03  Michael Natterer  <mitch@gimp.org>

	* libgimp/libgimp-sections.txt: added gimp_check_size() and
	gimp_check_type().

	* libgimp/tmpl/gimp.sgml: regenerated.
2004-09-03 12:22:38 +00:00
Michael Natterer 4085b1fecf replaced the never used "gdouble gamma" with 8 reserved gint8 and stuffed
2004-09-03  Michael Natterer  <mitch@gimp.org>

	* libgimpbase/gimpprotocol.h (struct _GPConfig): replaced the
	never used "gdouble gamma" with 8 reserved gint8 and stuffed two
	gint8 behind "gint8 show_tool_tips" where they fit in in a binary
	compatible way due to 32bit aligning of the following "gint32
	min_colors". Use the latter ones for "check_size" and
	"check_type".

	* libgimpbase/gimpprotocol.c (_gp_config_read,write): changed
	accordingly to pass the new stuff over the wire.

	* app/plug-in/plug-in-run.c: ditto. Pass the transpareny values
	from GimpDisplayConfig to plug-ins.

	* libgimp/gimp.[ch] (gimp_config): remember the new config values.
	(gimp_check_size,type): new functions returning the new config values.

	* libgimp/gimpdrawablepreview.c (gimp_drawable_preview_init):
	use the new values to configure preview->area accordingly.
2004-09-03 12:19:26 +00:00
Sven Neumann 1b81142365 libgimpbase/gimpchecks.h moved check size and check color defines. It
2004-09-03  Sven Neumann  <sven@gimp.org>

	* libgimpbase/gimpchecks.h
	* libgimpbase/gimplimits.h: moved check size and check color
	defines. It makes a lot more sense to keep them in gimpchecks.h.

	* libgimpbase/gimpchecks.c (gimp_checks_get_shades): documented.

	* libgimp/gimpdrawablepreview.c (gimp_drawable_preview_draw):
	added a sanity check so we don't crash if the drawable pointer
	should ever be NULL here.
2004-09-03 11:18:56 +00:00
Sven Neumann bf441c106f actually add the new file 2004-09-03 09:47:05 +00:00
Sven Neumann 72d392f0df shut up CVS 2004-09-03 09:45:17 +00:00
Helvetix Victorinox bac9cfa083 a regression test now iterates over 8388625 pixels per pass.
* app/composite/gimp-composite-*test.c: a regression test now
	iterates over 8388625 pixels per pass.

* app/composite/gimp-composite-mmx.c
* app/composite/gimp-composite-sse.c
* app/composite/gimp-composite-sse2.c:
	Ensured that a clobbered condition code register is reflected in
	the clobbered register list for each asm() statement.
	This should FIX bug #147013.
2004-09-03 02:53:19 +00:00
Sven Neumann 4fbc8764b4 libgimpbase/Makefile.am libgimpbase/gimpchecks.[ch] added
2004-09-03  Sven Neumann  <sven@gimp.org>

	* libgimpbase/Makefile.am
	* libgimpbase/gimpchecks.[ch] added gimp_checks_get_shades().

	* app/base/temp-buf.c
	* app/display/gimpdisplayshell-render.c
	* libgimpwidgets/gimppreviewarea.c: use the new function instead
	of replicating these numbers in three different places.
2004-09-03 00:06:21 +00:00
David Odin dfa47f2736 made the code much more readable by applying the gimp's coding standard
* plug-ins/gimpressionist/*.c: made the code much more readable by
  applying the gimp's coding standard (intentation, space, etc.), and
  remove the GTK_DISABLE_DEPRECATED warnings, since these files don't use
  any deprecated stuff anymore.
2004-09-02 23:28:44 +00:00
Michael Schumacher 331d85ba29 libgimp/gimpui.def libgimpbase/gimpbase.def added the preview and progress
2004-09-02  Michael Schumacher <schumaml@cvs.gnome.org>

	* libgimp/gimpui.def
	* libgimpbase/gimpbase.def
	* libgimpwidgets/gimpwidgets.def: added the preview and progress
	related entries
2004-09-02 19:54:11 +00:00
Michael Natterer 67f7f1dbea plug-ins/common/neon.c plug-ins/common/noisify.c plug-ins/common/sobel.c
2004-09-02  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/neon.c
	* plug-ins/common/noisify.c
	* plug-ins/common/sobel.c
	* plug-ins/common/softglow.c
	* plug-ins/common/spread.c
	* plug-ins/common/unsharp.c: fixed various coding style and naming
	issues and added some missing signal connections to update the new
	previews.
2004-09-02 18:55:20 +00:00
David Odin 6d69fae5d8 don't assume the preview has always the same size, and do the memory
* plug-ins/common/despeckle.c: don't assume the preview has always the
  same size, and do the memory allocation in preview_update(). As a side
  effect, this fix a segfault :-).  Also save the preview toggle state
  between invocations.
2004-09-02 17:49:51 +00:00
Sven Neumann 3f4de431c1 light and dark check color were swapped for GIMP_CHECK_TYPE_GRAY_CHECKS.
2004-09-02  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-render.c (check_combos): light and
	dark check color were swapped for GIMP_CHECK_TYPE_GRAY_CHECKS.

	* libgimpwidgets/gimppreviewarea.[ch]: added "check-size" and
	"check-type" properties and draw the checkerboard accordingly.
2004-09-02 15:39:07 +00:00
Sven Neumann b9bd1bfa06 app/base/base-enums.[ch] moved GimpCheckSize and GimpCheckType enums to
2004-09-02  Sven Neumann  <sven@gimp.org>

	* app/base/base-enums.[ch]
	* libgimpbase/gimpbaseenums.[ch]: moved GimpCheckSize and
	GimpCheckType enums to libgimpbase. Correctly prefix the enum
	values.

	* app/base/temp-buf.c
	* app/config/gimpdisplayconfig.c
	* app/display/gimpdisplayshell-render.c
	* app/pdb/fileops_cmds.c
	* tools/pdbgen/pdb/fileops.pdb: changed accordingly.
2004-09-02 14:28:37 +00:00
Michael Natterer dc572fc9e6 plug-ins/script-fu/script-fu-interface.c (script_fu_ok) use a GString for
2004-09-02  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/script-fu-interface.c (script_fu_ok)
	* plug-ins/script-fu/script-fu-scripts.c (script_fu_script_proc):
	use a GString for assembling the commands string instead of
	g_sprintf()ing into a buffer. Removes the need for a separate loop
	over all args to determine the buffer's length and makes the
	remaining code smaller and more readable.
2004-09-02 13:04:47 +00:00
Sven Neumann acc1d9bca4 updated API docs 2004-09-02 10:25:25 +00:00