Commit graph

12995 commits

Author SHA1 Message Date
Michael Natterer 42bc755ca7 applied (modified) patch from Ari Pollak which enables controlling the
2004-08-06  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpsheartool.[ch]: applied (modified) patch from Ari
	Pollak which enables controlling the shear direction from the
	dialog and changing the shear direction without hitting "Reset".
	Fixes bug #149467.

	Also moved all static variables to the GimpShearTool struct and
	converted tabs to spaces.
2004-08-06 13:56:34 +00:00
David Odin 91cf50aefb ported to GimpPreviewArea.
* plug-ins/common/nova.c: ported to GimpPreviewArea.
2004-08-06 13:30:49 +00:00
Sven Neumann 3efeb7982a Made 2.1.3 release.
2004-08-06  Sven Neumann  <sven@gimp.org>

        * Made 2.1.3 release.
2004-08-06 01:45:32 +00:00
David Odin e6d4d26c75 ported to GimpPreviewArea (from GimpOldPreview).
* plug-ins/common/polar.c: ported to GimpPreviewArea (from GimpOldPreview).
2004-08-06 01:28:01 +00:00
Sven Neumann e890f8ff83 include <glib-object.h>.
2004-08-06  Sven Neumann  <sven@gimp.org>

	* libgimpcolor/test-color-parser.c: include <glib-object.h>.
2004-08-06 01:04:13 +00:00
Sven Neumann 8651be295e removed unused variables.
2004-08-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/depthmerge.c:
	* plug-ins/common/despeckle.c: removed unused variables.
2004-08-06 00:59:58 +00:00
David Odin a560d35e23 ported to GimpPreviewArea (from GimpPreviewArea)
* plug-ins/common/flarefx.c: ported to GimpPreviewArea (from GimpPreviewArea)
2004-08-06 00:36:47 +00:00
Sven Neumann 46960e26d7 forgot to remove tw_sess.c here.
2004-08-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/twain/Makefile.am (EXTRA_DIST): forgot to remove
	tw_sess.c here.
2004-08-06 00:12:40 +00:00
Sven Neumann de3249da54 libgimpwidgets/libgimpwidgets-sections.txt added new stock icons.
2004-08-06  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/libgimpwidgets-sections.txt
	* libgimpwidgets/tmpl/gimpstock.sgml: added new stock icons.
2004-08-05 23:54:13 +00:00
Sven Neumann 2ed9e3428b app/app-docs.sgml app/app-sections.txt updated.
2004-08-06  Sven Neumann  <sven@gimp.org>

	* app/app-docs.sgml
	* app/app-sections.txt
	* app/app.types: updated.
2004-08-05 23:40:01 +00:00
Sven Neumann 67fa71bc1e updated 2004-08-05 22:47:56 +00:00
David Odin c3acd71590 ported to GimpPreviewArea (from GimpOldPreview)
* plug-ins/common/wind.c: ported to GimpPreviewArea (from GimpOldPreview)
2004-08-05 16:43:20 +00:00
Michael Natterer bba0394529 increased the handle size from 8 to 9 pixels (which is the same as in the
2004-08-05  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpiscissorstool.c: increased the handle size from 8
	to 9 pixels (which is the same as in the path tool) as suggested
	in bug #134250.
2004-08-05 15:44:34 +00:00
Michael Natterer 9dc8302647 make the cursor coordinates label insensitive when displaying out-of-image
2004-08-05  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpstatusbar.c: make the cursor coordinates label
	insensitive when displaying out-of-image coordinates.
2004-08-05 14:56:18 +00:00
Michael Natterer db5e7e38bd s/pseudocolor visuals/8-bit (256 colors) displays/. Fixes bug #137078.
2004-08-05  Michael Natterer  <mitch@gimp.org>

	* app/config/gimprc-blurbs.h (INSTALL_COLORMAP_BLURB):
	s/pseudocolor visuals/8-bit (256 colors) displays/.
	Fixes bug #137078.
2004-08-05 14:15:37 +00:00
Michael Natterer 60fd11d79b Enabled previewing items without selecting them in all list and grid views
2004-08-05  Michael Natterer  <mitch@gimp.org>

	Enabled previewing items without selecting them in all list and
	grid views using mouse button 2. Implicitly enables previewing of
	items in container popups and thus fixes bug #121011:

	* app/widgets/gimppreview.c (gimp_preview_button_press_event)
	* app/widgets/gimpcellrendererviewable.c
	(gimp_cell_renderer_viewable_clicked): show the preview also on
	mouse button 2 click.

	* app/widgets/gimpcontainertreeview.c
	(gimp_container_tree_view_button_press): dispatch mouse button 2
	clicks to GimpCellRendererViewable, but don't select or change
	anything in the tree_view.

	Unrelated cleanup:

	* app/widgets/gimppreview.c (gimp_preview_button_press_event):
	don't offset bevent->x,y by widget->allocation.x,y before calling
	gimp_preview_popup_show() ...

	* app/widgets/gimppreview-popup.c (gimp_preview_popup_show):
	... instead, do it here generically (check if the parent widget is
	GTK_WIDGET_NO_WINDOW()).
2004-08-05 13:43:38 +00:00
Michael Natterer 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
Michael Natterer 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
Michael Natterer 6685ccdc22 fix my typos. 2004-08-05 11:20:36 +00:00
Michael Natterer 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
Michael Natterer 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
Roman Joost 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
Simon Budig 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
Sven Neumann 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
Simon Budig 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
Michael Natterer 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
Michael Natterer 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
Michael Natterer 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
Manish Singh 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
David Odin 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
Michael Natterer 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
Michael Natterer 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
Michael Natterer 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
Shlomi Fish 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
David Odin 9886b1951f ported to GimpPreviewArea.
* plug-ins/ifscompose/ifscompose.c: ported to GimpPreviewArea.
2004-08-03 10:43:29 +00:00
David Odin a2fd420dbd converted to GimpPreviewArea.
* plug-ins/fp/fp.c: converted to GimpPreviewArea.
2004-08-03 00:58:10 +00:00
David Odin 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
Simon Budig 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
Hans Breuer 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
David Odin ff27b1f157 ported to GimpPreviewArea.
* plug-ins/common/whirlpinch.c: ported to GimpPreviewArea.
2004-08-02 08:51:49 +00:00
David Odin b099e695e7 ported to GimpPreviewArea.
* plug-ins/common/video.c: ported to GimpPreviewArea.
2004-08-02 08:18:16 +00:00
Marco Ciampa 0101915253 Updated italian translation 2004-08-01 23:40:44 +00:00
David Odin 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
Marco Ciampa 5bb7292a68 Updated italian translation 2004-08-01 22:35:20 +00:00
David Odin e62343c737 ported to GimpPreviewArea.
* plug-ins/common/tileit.c: ported to GimpPreviewArea.
2004-08-01 21:59:13 +00:00
David Odin c5f67ae992 ported to GimpPreviewArea.
* plug-ins/common/sinus.c: ported to GimpPreviewArea.
2004-08-01 20:54:09 +00:00
Hans Breuer 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
Manish Singh 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
Manish Singh 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
Manish Singh 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