Commit Graph

12979 Commits

Author SHA1 Message Date
c912a954f3 allocate the empty_iter using g_new0(). Fixes valgrind warnings about
2004-08-05  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimpintstore.c (gimp_int_store_add_empty):
	allocate the empty_iter using g_new0(). Fixes valgrind warnings
	about reads from uninitialized memory.
2004-08-05 12:13:02 +00:00
38b4ff0535 use GTK_STOCK_JUMP_TO for all "Set" actions (like
2004-08-05  Michael Natterer  <mitch@gimp.org>

	* app/actions/context-actions.c: use GTK_STOCK_JUMP_TO for
	all "Set" actions (like context-foreground-red-set).
2004-08-05 11:57:36 +00:00
6685ccdc22 fix my typos. 2004-08-05 11:20:36 +00:00
8db70a4c79 app/tools/gimpscaletool.c applied patch from Jordi Gay (attached to bug
2004-08-05  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpscaletool.c
	* app/tools/gimptransformtool.h: applied patch from Jordi Gay
	(attached to bug #131111) which adds an aspect ratio spinbutton to
	the scale dialog and keeps the aspect ratio intact when with or
	height are changed using the dialog. Fixes bug #132274.

	* app/tools/gimpcroptool.c
	* app/tools/gimpscaletool.c: don't set the aspect spinbuttons to
	"wrap" and decrease their climb_rate.
2004-08-05 11:12:58 +00:00
f3d3a3a6b9 app/actions/context-actions.c app/actions/context-commands.[ch] added
2004-08-05  Michael Natterer  <mitch@gimp.org>

	* app/actions/context-actions.c
	* app/actions/context-commands.[ch]
	* menus/image-menu.xml.in: added actions, callbacks and menu items
	for the brush shape and spikes.
2004-08-05 10:29:19 +00:00
8e7d7f555d updated and removed fuzzy strings
2004-08-05  Roman Joost	<romanofski@gimp.org>

	* de.po: updated and removed fuzzy strings
2004-08-04 23:29:05 +00:00
53c4d987bc changed the default colors for the first invocation to the current
2004-08-04  Simon Budig  <simon@gimp.org>

	* plug-ins/common/grid.c: changed the default colors for the
	first invocation to the current foregroud color which is more
	likely to be useful than the blue shades.
2004-08-04 18:53:04 +00:00
50c962af54 themes/Default/images/Makefile.am removed ...
2004-08-04  Sven Neumann  <sven@gimp.org>

	* themes/Default/images/Makefile.am
	* themes/Default/images/stock-brush-generated-*-16.png: removed ...

	* themes/Default/images/stock-shape-*-16.png: ... and added back
	with more generic names.

	* libgimpwidgets/gimpstock.[ch]
	* app/widgets/gimpbrusheditor.c: changed accordingly.

	* app/tools/gimpinkoptions-gui.c: use the new stock icons here as
	well.

	* app/widgets/Makefile.am
	* app/widgets/widgets-types.h
	* app/widgets/gimpblobeditor.[ch]: added a simple blob shape
	editor widget factored out of app/tools/gimpinkoptions-gui.c.
2004-08-04 18:15:41 +00:00
428c4a8d60 Enhanced the range of the hardness parameter to make more soft brushes
2004-08-04  Simon Budig  <simon@gimp.org>

	* app/core/gimpbrushgenerated.c: Enhanced the range of the hardness
	parameter to make more soft brushes possible. Please note that this
	makes existing generated brushes look more soft. But since people
	apparently rarely use more than one or two generated brushes and
	these get changed frequently I guess it should be OK.
2004-08-04 17:41:33 +00:00
fd1a0e142c Allow URI drops from apps linked against GLib < 2.4.4 to GIMP linked
2004-08-04  Michael Natterer  <mitch@gimp.org>

	Allow URI drops from apps linked against GLib < 2.4.4 to GIMP
	linked against GLib >= 2.4.5. Fixes bug #148140.

	* app/core/gimp-utils.[ch]: added gimp_check_glib_version().

	* app/widgets/gimpselectiondata.c: added runtime check for GLib
	versions that encode file:// URIs correctly (>= 2.4.5). For older
	(broken) GLibs, leave the code path as is, for newer (fixed) ones,
	perform an additional check if the dropped URI is in the (broken)
	escaped-UTF-8 format and convert it to local filename encoding.

	* app/gui/gui.c: warn the user that non-ASCII filenames can't
	be used when linked against GLib 2.4.4.
2004-08-04 17:11:39 +00:00
51b8b94ed9 changed member "ProcRecord last_plug_in" to PlugInProcDef last_plug_in".
2004-08-04  Michael Natterer  <mitch@gimp.org>

	* app/core/gimp.[ch]: changed member "ProcRecord last_plug_in" to
	PlugInProcDef last_plug_in". Added function
	gimp_set_last_plug_in() and signal Gimp::last-plug-in-changed.

	* app/actions/plug-in-commands.c
	* app/plug-in/plug-in-run.c: changed accordingly.

	* app/actions/plug-in-actions.c: factored out updating of the
	"Reshow Last" and "Rerun Last" actions to a private function.
	Connect each "plug-in" action group to Gimp::last-plug-in-changed
	and update the actions' label and sensitivity in the
	callback. Fixes bug #149139.
2004-08-04 14:00:14 +00:00
0dabeab6cb #include "core/gimpimage-undo.h"
2004-08-04  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimplayertreeview.c: #include "core/gimpimage-undo.h"
2004-08-04 10:15:49 +00:00
f9409dc88e Really really really really fix WINDRES logic.
2004-08-04  Manish Singh  <yosh@gimp.org>

        * configure.in: Really really really really fix WINDRES logic.
2004-08-04 09:00:34 +00:00
14eb27c540 ported to GimpPreviewArea. Still needs work.
* plug-ins/winicon/icodialog.c: ported to GimpPreviewArea. Still needs work.
2004-08-03 16:16:19 +00:00
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