Commit Graph

12965 Commits

Author SHA1 Message Date
8260cd69ce ref/unref the view around the calls to gimp_container_view_item_selected()
2004-08-03  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcontainergridview.c
	(gimp_container_grid_view_item_context): ref/unref the view around
	the calls to gimp_container_view_item_selected() and _item_context()
	because the former may destroy the view which leads to a crash
	when trying the latter. Fixes bug #148955.
2004-08-03 14:55:31 +00:00
b909c2b2ee new function which checks if undo compression is possible:
2004-08-03  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpimage-undo.[ch] (gimp_image_undo_can_compress):
	new function which checks if undo compression is possible:

	(1) is the image dirty? Fixes bug #148853.
	(2) is redo stack empty?
	(3) do both the passed undo object_type and undo_type
	    match the top undo item?

	Consistently name the GType and GimpUndoType passed to undo
	functions "object_type" and "undo_type" to avoid confusion.

	* app/actions/layers-commands.c
	* app/tools/gimpeditselectiontool.c
	* app/tools/gimptexttool.c
	* app/widgets/gimpitemtreeview.c
	* app/widgets/gimplayertreeview.c: use the new utility function
	instead of checking the above conditions manually.
2004-08-03 14:09:49 +00:00
36d5f97bd0 don't leak the brush's name if parsing the shape fails.
2004-08-03  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpbrushgenerated.c (gimp_brush_generated_load): don't
	leak the brush's name if parsing the shape fails.

	(gimp_brush_generated_dirty): shut up bogus compiler warnings
	about uninitialized variables.
2004-08-03 12:56:19 +00:00
9959cc2ead plug-ins/imagemap/imap_preview.c ported to GimpPreviewArea.
* plug-ins/imagemap/imap_preview.c
* plug-ins/imagemap/imap_preview.h: ported to GimpPreviewArea.
2004-08-03 11:35:59 +00:00
9886b1951f ported to GimpPreviewArea.
* plug-ins/ifscompose/ifscompose.c: ported to GimpPreviewArea.
2004-08-03 10:43:29 +00:00
a2fd420dbd converted to GimpPreviewArea.
* plug-ins/fp/fp.c: converted to GimpPreviewArea.
2004-08-03 00:58:10 +00:00
7f60b3eb9a plug-ins/rcm/rcm_callback.c plug-ins/rcm/rcm_dialog.c Ported to
* plug-ins/rcm/rcm_callback.c
* plug-ins/rcm/rcm_dialog.c
* plug-ins/rcm/rcm_misc.c: Ported to GimpPreviewArea.
2004-08-02 22:16:35 +00:00
7f95f04342 Fixed brush spacing for brushes with >= 2 spikes. Spotted by Joao S. O.
2004-08-02  Simon Budig  <simon@gimp.org>

	* app/widgets/gimpbrusheditor.c: Fixed brush spacing for brushes
	with >= 2 spikes. Spotted by Joao S. O. Bueno.

	Fixes bug #149099.
2004-08-02 21:34:12 +00:00
44f617d85b [commited mostly yesterday, but ChangeLog was missing]
2004-08-01  Hans Breuer  <hans@breuer.org>
	[commited mostly yesterday, but ChangeLog was missing]

	* app/display/makefile.msc app/widgets/makefile.msc : build
	but *dont link* display-enums.obj, widget-enums.obj and
	gimpdisplayoptions.obj. They must be in the dll
	* app/makefile.msc : build gimp.exe and gimp-console.exe both
	using the same gimp-core.dll
	* app/gimpcore.def : new file, exports for gimp-core.dll
	* app/Makefile.am : added to EXTRA_DIST

	* cursors/makefile.msc : new file to create gimp-tool-cursors.h
	* cursors/Makefile.am : added to EXTRA_DIST

	* **/makefile.msc : updated

	* app/main.c app/app_procs.c : moved code to close the console
	from the former to the later. It only is to be used if The Gimp
	is not build as console app.

	* plug-ins/gfig/gfig.c : dont gimp_drawable_detach() the same
	drawable twice
	* plug-ins/gfig-dialog.c() : added a g_return_if_fail() to avoid
	crashing on File/Import
2004-08-02 18:34:01 +00:00
ff27b1f157 ported to GimpPreviewArea.
* plug-ins/common/whirlpinch.c: ported to GimpPreviewArea.
2004-08-02 08:51:49 +00:00
b099e695e7 ported to GimpPreviewArea.
* plug-ins/common/video.c: ported to GimpPreviewArea.
2004-08-02 08:18:16 +00:00
0101915253 Updated italian translation 2004-08-01 23:40:44 +00:00
4977f8a7c2 ported to GimpPreviewArea. Centered the preview, too.
* plug-ins/common/unsharp.c: ported to GimpPreviewArea. Centered the
  preview, too.
2004-08-01 22:40:47 +00:00
5bb7292a68 Updated italian translation 2004-08-01 22:35:20 +00:00
e62343c737 ported to GimpPreviewArea.
* plug-ins/common/tileit.c: ported to GimpPreviewArea.
2004-08-01 21:59:13 +00:00
c5f67ae992 ported to GimpPreviewArea.
* plug-ins/common/sinus.c: ported to GimpPreviewArea.
2004-08-01 20:54:09 +00:00
3b3039148c build but *dont link* display-enums.obj, widget-enums.obj and
2004-07-31  Hans Breuer  <hans@breuer.org>

	* app/display/makefile.msc app/widgets/makefile.msc : build
	but *dont link* display-enums.obj, widget-enums.obj and
	gimpdisplayoptions.obj. They must be in the dll
	* app/makefile.msc : build gimp.exe and gimp-console.exe both
	using the same gimp-core.dll
	* app/gimpcore.def : new file, exports for gimp-core.dll
	* app/Makefile.am : added to EXTRA_DIST

	* cursors/makefile.msc : new file to create gimp-tool-cursors.h
	* cursors/Makefile.am : added to EXTRA_DIST

	* **/makefile.msc : updated

	* app/main.c app/app_procs.c : moved code to close the console
	from the former to the later. It only is to be used if The Gimp
	is not build as console app.

	* plug-ins/gfig/gfig.c : dont gimp_drawable_detach() the same
	drawable twice
	* plug-ins/gfig-dialog.c() : added a g_return_if_fail() to avoid
	crashing on File/Import
2004-08-01 20:51:12 +00:00
182c9b16e2 Really really really fix WINDRES logic.
2004-08-01  Manish Singh  <yosh@gimp.org>

        * configure.in: Really really really fix WINDRES logic.
2004-08-01 20:30:50 +00:00
b83ce07108 update install-% rule to match newer libtool commands.
2004-08-01  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/mkgen.pl: update install-% rule to match newer
        libtool commands.

        * plug-ins/common/Makefile.am: regenerated.
2004-08-01 20:13:27 +00:00
beb1608115 Really really fix WINDRES logic.
2004-08-01  Manish Singh  <yosh@gimp.org>

        * configure.in: Really really fix WINDRES logic.
2004-08-01 20:00:12 +00:00
f21c4caefb Really fix WINDRES logic.
2004-08-01  Manish Singh  <yosh@gimp.org>

        * configure.in: Really fix WINDRES logic.
2004-08-01 19:55:40 +00:00
eaa8a2a51c ported to GimpPreviewArea.
* plug-ins/common/scatter_hsv.c: ported to GimpPreviewArea.
2004-08-01 19:43:06 +00:00
b05f9f4b60 Fixed oversight that accidentially reset the number of spikes to 2.
2004-08-01  Simon Budig  <simon@gimp.org>

	* app/widgets/gimpbrusheditor.c: Fixed oversight that accidentially
	reset the number of spikes to 2.
2004-08-01 18:09:41 +00:00
1eb3009f1a Added optional spikes for the generated brushes, enabling star shaped
2004-08-01  Simon Budig  <simon@gimp.org>

	* app/core/gimpbrushgenerated.[ch]: Added optional spikes for
	the generated brushes, enabling star shaped generated brushes.

	* app/widgets/gimpbrusheditor.[ch]: GUI for this.

	* app/core/gimpbrush.c: changed accordingly.
2004-08-01 17:20:00 +00:00
65776cd25a plug-ins/common/mapcolor.c ported to GimpPreviewArea.
* plug-ins/common/mapcolor.c
* plug-ins/common/sample_colorize.c: ported to GimpPreviewArea.

* plug-ins/common/newsprint.c: ported to GimpPreviewArea, even though
  it should use some pngs instead.
2004-08-01 17:16:42 +00:00
471a565b88 modified the checks. hopefully it works on all platforms this time.
2004-08-01  Michael Schumacher <schumaml@cvs.gnome.org>

	* configure.in: modified the checks. hopefully it works on all
	platforms this time.
2004-08-01 17:11:14 +00:00
cad61e94d4 move an AM_CONDITIONAL out of an if block
2004-08-01  Michael Schumacher <schumaml@cvs.gnome.org>

	* configure.in: move an AM_CONDITIONAL out of an if block
2004-08-01 16:26:20 +00:00
d64a2194af added checks for windres. Fixes bug #148443 together will my last commit.
2004-08-01  Michael Schumacher <schumaml@cvs.gnome.org>

	* configure.in: added checks for windres. Fixes bug #148443
	together will my last commit.
2004-08-01 16:13:01 +00:00
3c1c0465ac added checks and rules to build and link the win32 icon resource if the
2004-08-01  Michael Schumacher <schumaml@cvs.gnome.org>

	* app/Makefile.am: added checks and rules to build and link the
	win32 icon resource if the resource compiler windres is found by
	configure. First part of a fix for bug #148443.
2004-08-01 15:28:32 +00:00
f460fda503 added gimp_preview_area_fill
2004-08-01  Michael Schumacher <schumaml@cvs.gnome.org>

	* libgimpwidgets/gimpwidgets.def: added gimp_preview_area_fill
2004-08-01 14:50:09 +00:00
bac5bb5d5d ported to GimpPreviewArea.
* plug-ins/flame/flame.c: ported to GimpPreviewArea.
2004-08-01 14:36:50 +00:00
c40e29399d app/core/core-enums.h Implement three different brush shapes for generated
2004-08-01  Simon Budig  <simon@gimp.org>

	* app/core/core-enums.h
	* app/core/gimpbrushgenerated.[ch]: Implement three different
	brush shapes for generated brushes.

	* app/core/gimpbrush.c: changed accordingly.
	* app/core/core-enums.c: regenerated.

	* app/widgets/gimpbrusheditor.[ch]: Add toggles for the shape.
	* themes/Default/images/stock-brush-generated-*-16.png: New stock
	icons for the brush shapes.

	* themes/Default/images/Makefile.am
	* libgimpwidgets/gimpstock.[ch]: changed accordingly

	untabified the files touched.
2004-08-01 03:06:58 +00:00
286c7c7c90 ported to GimpPreviewArea.
* plug-ins/common/iwarp.c: ported to GimpPreviewArea.
2004-07-31 23:32:31 +00:00
f5d9c8f20f ported to GimpPreviewArea.
* plug-ins/common/gqbist.c: ported to GimpPreviewArea.
2004-07-31 19:31:57 +00:00
2f15fdfbe6 ported to GimpPreviewArea.
* plug-ins/common/fractaltrace.c: ported to GimpPreviewArea.
2004-07-31 18:42:47 +00:00
c8d6a4086e ported to GimpPreviewArea.
* plug-ins/common/exchange.c: ported to GimpPreviewArea.
2004-07-31 16:06:20 +00:00
cf4fb10ed0 ported to GimpPreviewArea.
* plug-ins/common/emboss.c: ported to GimpPreviewArea.
2004-07-31 13:58:19 +00:00
f6d4e9f198 ported to GimpPreviewArea.
* plug-ins/common/diffraction.c: ported to GimpPreviewArea.
2004-07-31 13:18:31 +00:00
19134bce88 use even more GimpPreviewArea's facilities.
* plug-ins/common/despeckle.c: use even more GimpPreviewArea's
  facilities.

* plug-ins/common/destripe.c: ported to GimpPreviewArea.
2004-07-31 12:51:01 +00:00
c93287fea3 ported to GimpPreviewArea.
* plug-ins/gflare/gflare.c: ported to GimpPreviewArea.
2004-07-31 11:17:39 +00:00
f02be81071 ported to GimpPreviewArea.
* plug-ins/common/despeckle.c: ported to GimpPreviewArea.
2004-07-31 10:38:05 +00:00
5ab2ac02dd plug-ins/gimpressionist/brush.c plug-ins/gimpressionist/orientmap.c
* plug-ins/gimpressionist/brush.c
* plug-ins/gimpressionist/orientmap.c
* plug-ins/gimpressionist/paper.c
* plug-ins/gimpressionist/preview.c
* plug-ins/gimpressionist/size.c:
Converted the code from using GtkPreview to GimpPreviewArea.
2004-07-31 08:42:44 +00:00
6696cb7743 plug-ins/common/gauss.c:
Add ability to pop up a dialog if called from pdb with RUN_INTERACTIVE.
2004-07-31 04:34:33 +00:00
eef37e007d minor cleanup.
2004-07-31  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpcolorselect.c: minor cleanup.
2004-07-31 01:59:46 +00:00
f82b1d0a0b ported to GimpPreviewArea.
2004-07-31  Sven Neumann  <sven@gimp.org>

	* libgimp/gimppatternmenu.c: ported to GimpPreviewArea.

	* libgimp/gimpbrushmenu.c: some small changes for consistency.
2004-07-31 01:27:11 +00:00
96b9987210 added new function gimp_preview_area_fill().
2004-07-31  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimppreviewarea.[ch]: added new function
	gimp_preview_area_fill().

	* libgimpwidgets/test-preview-area.c: added a test for new function.

	* libgimp/gimpbrushmenu.c: ported to GimpPreviewArea.
2004-07-31 01:03:00 +00:00
3069689b48 use a GimpPreviewArea instead of a GtkPreview. Some code cleanup, too.
* plug-ins/common/depthmerge.c: use a GimpPreviewArea instead of a
  GtkPreview. Some code cleanup, too.
2004-07-30 23:33:00 +00:00
58b1f40fcf use a GtkImage and a GdkPixbuf instead of the deprecated GtkPreview
2004-07-31  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpmenu.c (gimp_menu_make_preview): use a GtkImage and
	a GdkPixbuf instead of the deprecated GtkPreview widget.
2004-07-30 23:03:45 +00:00
ceffa32114 Use a GimpPreviewArea instead of GtkPreview.
* plug-ins/common/curve_bend.c: Use a GimpPreviewArea instead of
  GtkPreview.
2004-07-30 21:29:45 +00:00
421486b4fe fixed ChangeLog entry 2004-07-30 20:59:58 +00:00