Commit Graph

13374 Commits

Author SHA1 Message Date
Michael Natterer 95e41707ff More news. 2004-09-19 22:55:59 +00:00
Michael Natterer 4d2bb1bcce removed same linker hacks as in app/Makefile.am.
2004-09-20  Michael Natterer  <mitch@gimp.org>

	* app/Makefile.am (GTKDOC_LIBS): removed same linker hacks
	as in app/Makefile.am.
2004-09-19 22:51:16 +00:00
Michael Natterer 02934c275d removed all -u hacks.
2004-09-20  Michael Natterer  <mitch@gimp.org>

	* app/Makefile.am (gimp_2_1_LDFLAGS): removed all -u hacks.

	(gimp_2_1_LDADD)
	(gimp_console_2_1_LDADD): reordered .a files correctly. The core
	seems to be cleaned up enough to have proper dependencies now.
2004-09-19 22:48:18 +00:00
Michael Natterer b9800e449f app/actions/channels-commands.c removed massive code duplication by
2004-09-20  Michael Natterer  <mitch@gimp.org>

	* app/actions/channels-commands.c
	* app/actions/vectors-commands.c: removed massive code duplication
	by factoring out the code that creates the "New Channel/Path" and
	"Edit Channel/Path Attributes" dialogs out to utility functions.
	GUI spacing and Code cleanup.

	* app/actions/layers-commands.c: minor GUI spacing and code
	cleanup.
2004-09-19 22:26:41 +00:00
Sven Neumann 811ca2dc1e count valid tiles, not dirty ones.
2004-09-19  Sven Neumann  <sven@gimp.org>

	* app/base/tile-manager.c (tile_manager_get_memsize): count valid
	tiles, not dirty ones.
2004-09-19 21:54:26 +00:00
Sven Neumann a6150e02ca some tweaks to the dialog layout.
2004-09-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/bumpmap.c: some tweaks to the dialog layout.
2004-09-19 21:49:58 +00:00
Michael Natterer 1f1050d086 is a GtkRadioAction callback but behaved like a GtkToggleAction callback.
2004-09-19  Michael Natterer  <mitch@gimp.org>

	* app/actions/qmask-commands.c (qmask_invert_cmd_callback): is a
	GtkRadioAction callback but behaved like a GtkToggleAction
	callback. Fixes bug #152948.
2004-09-19 21:43:43 +00:00
Sven Neumann 9f79a8fc1f updated NEWS 2004-09-19 20:56:23 +00:00
David Odin 790d91a684 use a GimpDrawablePreview instead of a very complicated homemade preview.
* plug-ins/common/bumpmap.c: use a GimpDrawablePreview instead of a
  very complicated homemade preview.  Many small changes in the code
  too, and some cleanups. I hope I didn't break anything.
2004-09-19 20:53:34 +00:00
William Skaggs b8265901d8 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/tools/gimppaintoptions-gui.c: clean up ugliness introduced
	by my previous commit -- no functional change.
2004-09-19 19:50:09 +00:00
Sven Neumann 23690346af Improved undo memory calculation for paint operations (bug #153035):
2004-09-19  Sven Neumann  <sven@gimp.org>

	Improved undo memory calculation for paint operations (bug #153035):

	* app/base/tile-manager.[ch] (tile_manager_get_memsize): added a
	"gboolean sparse" parameter to get more accurate results for
	sparse tile-managers.

	* app/core/gimpbuffer.c
	* app/core/gimpdrawable.c
	* app/core/gimpimage-undo-push.c
	* app/core/gimpimage.c
	* app/core/gimplayer.c
	* app/core/gimpprojection.c: changed accordingly.
2004-09-19 19:47:26 +00:00
Sven Neumann d3473974ac added authors.h.
2004-09-19  Sven Neumann  <sven@gimp.org>

	* app/dialogs/Makefile.am (libappdialogs_a_SOURCES): added authors.h.
2004-09-19 19:27:32 +00:00
William Skaggs 4b8a00274c Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/tools/gimppaintoptions-gui.c: rearrange tool options as
	described in bug #153014.
2004-09-19 19:15:03 +00:00
Sven Neumann 69c5ce557d fixed handling of too many error messages.
2004-09-19  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimperrordialog.c (gimp_error_dialog_add): fixed
	handling of too many error messages.
2004-09-19 17:10:53 +00:00
Sven Neumann c3ef897b10 Try to make floating selections more obvious:
2004-09-19  Sven Neumann  <sven@gimp.org>

	Try to make floating selections more obvious:

	* app/widgets/gimplayertreeview.c
	(gimp_layer_tree_view_floating_selection_changed): always display
	"Floating Selection" as the name for a floating selection.

	* app/core/gimpselection.c (gimp_selection_float): call the new
	layer "Selection" instead of "Floating Selection". This is what
	will be displayed if the FS is turned into a layer.

	* app/actions/layers-commands.c (layers_edit_layer_query): don't
	special case floating selections here.

	* app/core/gimplayer-floating-sel.c: cosmetics.
2004-09-19 16:56:03 +00:00
Sven Neumann 8e8fa93c25 applied a patch by Peter Kirchgessner that solves a problem with the
2004-09-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/postscript.c (ps_open): applied a patch by Peter
	Kirchgessner that solves a problem with the recognition of the
	bounding box. Fixes bug #152829.
2004-09-19 10:54:48 +00:00
Sven Neumann 6bf8cf5def fixed gtk-doc comment.
2004-09-19  Sven Neumann  <sven@gimp.org>

	* libgimpcolor/gimprgb-parse.c (gimp_rgb_parse_hex): fixed gtk-doc
	comment.
2004-09-18 22:57:23 +00:00
Simon Budig eaf1b6801d Removed check for len % 3 == 0, so that the entry accepts hex colors
2004-09-18  Simon Budig  <simon@gimp.org>

	* libgimpwidgets/gimpcolorhexentry.c: Removed check for len % 3 == 0,
	so that the entry accepts hex colors starting with "#" again.
	Untabbified.
2004-09-18 19:37:01 +00:00
Sven Neumann adf71de005 synced with toplevel app/Makefile.am
2004-09-18  Sven Neumann  <sven@gimp.org>

	* app/Makefile.am (unused_symbols): synced with toplevel
	app/Makefile.am

	* app/app-docs.sgml
	* app/app-sections.txt: updated.
2004-09-18 11:58:13 +00:00
Manish Singh 5b705ffdfb remove LDFLAGS references to now private file_open_dialog_show,
2004-09-18  Manish Singh  <yosh@gimp.org>

        * app/Makefile.am: remove LDFLAGS references to now private
        file_open_dialog_show, file_open_location_dialog_show, and
        file_save_dialog_show.
2004-09-18 08:21:20 +00:00
Sven Neumann cace0a19a0 app/actions/qmask-commands.c just some cleanup.
2004-09-18  Sven Neumann  <sven@gimp.org>

	* app/actions/qmask-commands.c
	* libgimpcolor/gimprgb.c (gimp_rgba_distance): just some cleanup.

	* app/core/gimpimage-qmask.c (gimp_image_set_qmask_color): always
	set gimage->qmask_color regardless of the qmask state.

	* libgimpwidgets/gimpcolorbutton.c (gimp_color_button_new): set
	the type before setting the color.
2004-09-17 22:16:21 +00:00
Michael Natterer c9cac47fbe use gimp_component_editor_get_iter() instead of duplicating its code.
2004-09-17  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcomponenteditor.c
	(gimp_component_editor_renderer_update): use
	gimp_component_editor_get_iter() instead of duplicating its code.
2004-09-17 11:20:30 +00:00
Simon Budig 430c5f8170 Added a slider for the brush spacing to the brush editor. Should make it
2004-09-17  Simon Budig  <simon@gimp.org>

	* app/widgets/gimpbrusheditor.[ch]: Added a slider for the
	brush spacing to the brush editor. Should make it more obvious
	how to change it.
2004-09-17 10:31:34 +00:00
Sven Neumann 477b44360f based on a patch from Joao S. O. Bueno: Ensure that the pasted layer is
2004-09-17  Sven Neumann  <sven@gimp.org>

	* app/core/gimp-edit.c (gimp_edit_paste): based on a patch from
	Joao S. O. Bueno: Ensure that the pasted layer is always within
	the image, if it fits and aligned at top left if it doesn't.
	Fixes bug #142944.
2004-09-17 09:14:02 +00:00
Sven Neumann d051ce4e1a updated.
2004-09-16  Sven Neumann  <sven@gimp.org>

	* INSTALL: updated.
2004-09-16 15:33:58 +00:00
Sven Neumann 6b543611c0 applied a patch by Joao S. O. Bueno that fixes bug #152820.
2004-09-16  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpwidgets.c (gimp_scale_entry_set_logarithmic):
	applied a patch by Joao S. O. Bueno that fixes bug #152820.
2004-09-16 15:20:06 +00:00
Dave Neary 2ade3b8a6e patch from Kevin Cozens which reinstates corona. Fixes bug #142282.
2004-09-16  Dave Neary  <bolsh@gimp.org>

	* plug-ins/script-fu/scripts/burn-in-anim.scm: patch from Kevin
	Cozens which reinstates corona. Fixes bug #142282.
2004-09-16 14:55:30 +00:00
Michael Natterer 357dc2d777 depend on GLib >= 2.4.5 and GTK+ >= 2.4.4.
2004-09-16  Michael Natterer  <mitch@gimp.org>

	* configure.in: depend on GLib >= 2.4.5 and GTK+ >= 2.4.4.

	* app/gui/gui.c: changed accordingly.

	* app/sanity.c: ditto. Added check for GLib and put each check
	into its own utility function. Enabled #if 0'ed check for
	FreeType >= 6.2.7.

	* app/widgets/gimpactiongroup.c
	* app/widgets/gimpcursor.c
	* app/widgets/gimpselectiondata.c
	* app/widgets/gimpuimanager.c
	* app/widgets/gimpwidgets-utils.c: removed workarounds for library
	versions we refuse to start with.
2004-09-16 14:31:39 +00:00
Michael Natterer f338d93835 reverse order of DND dests so "text/uri-list" is preferred again after my
2004-09-16  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpdnd.c (gimp_dnd_uri_list_dest_add): reverse
	order of DND dests so "text/uri-list" is preferred again after my
	DND change of 2004-06-29. Fixes dropping of multiple files.
2004-09-16 14:28:10 +00:00
Michael Natterer 0514ee4ba2 set the viewable renderer's "renderer" property to NULL when clearing the
2004-09-16  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcomponenteditor.[ch]: set the viewable
	renderer's "renderer" property to NULL when clearing the
	view to work around bug #149906.
2004-09-16 14:00:02 +00:00
Sven Neumann 29b455c901 replaced a bitshift with a binary and. Should be unnoticeably faster ;)
2004-09-16  Sven Neumann  <sven@gimp.org>

	* app/core/gimpscanconvert.c (VALUE_TO_PIXEL): replaced a bitshift
	with a binary and. Should be unnoticeably faster ;)
2004-09-16 11:31:30 +00:00
Michael Natterer fc01210b78 removed #if 0'ed code, took assignments out of if()-conditions, minor
2004-09-16  Michael Natterer  <mitch@gimp.org>

	* app/pdb/procedural_db.c: removed #if 0'ed code, took assignments
	out of if()-conditions, minor cleanup.
2004-09-16 10:32:30 +00:00
Simon Budig 34d51a6382 Implemented an own rendering callback for libart and use it instead of
2004-09-16  Simon Budig  <simon@gimp.org>

	* app/core/gimpscanconvert.c: Implemented an own rendering
	callback for libart and use it instead of art_gray_svp_aa().
	This now handles non-antialiased scan conversions itself. It
	also basically shows the way to implement a LUT for the
	scan conversion.
2004-09-16 00:46:02 +00:00
Sven Neumann 918070d77a removed code that isn't needed any longer now that the dialog is a
2004-09-16  Sven Neumann  <sven@gimp.org>

	* app/dialogs/quit-dialog.c: removed code that isn't needed any
	longer now that the dialog is a singleton.
2004-09-15 23:38:05 +00:00
Sven Neumann 4df47bde0c news flash 2004-09-15 22:49:14 +00:00
David Odin a971903384 fix the preview for the zoom blur mode.
* plug-ins/common/mblur.c: fix the preview for the zoom blur mode.
2004-09-15 21:08:58 +00:00
Sven Neumann 5f1373436c fixed code that handles drawing outside of the preview area.
2004-09-15  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimppreviewarea.c
	(gimp_preview_area_[draw|blend|mask]): fixed code that handles
	drawing outside of the preview area.

	* plug-ins/common/unsharp.c (preview_update): draw the preview
	directly from the pixel region.
2004-09-15 20:51:00 +00:00
Manish Singh 6582e0ad49 use guint16 instead of __u16. Should fix bug #152746.
2004-09-15  Manish Singh  <yosh@gimp.org>

        * modules/controller_linux_input.c: use guint16 instead of __u16.
        Should fix bug #152746.
2004-09-15 20:25:41 +00:00
Sven Neumann bfa352bae0 libgimp/gimpdrawablepreview.[ch] renamed gimp_drawable_preview_draw() to
2004-09-15  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpdrawablepreview.[ch]
	* libgimp/gimpui.def: renamed gimp_drawable_preview_draw() to
	gimp_drawable_preview_draw_buffer() and added a rowstride
	parameter. Added new functions gimp_drawable_preview_get_drawable()
	and gimp_drawable_preview_draw_region().

	* plug-ins/common/mblur.c: added a preview that uses the
	shadow tiles as the preview buffer and draws using the new
	gimp_drawable_preview_draw_region() API.

	* plug-ins/common/photocopy.c
	* plug-ins/common/softglow.c: use gimp_drawable_preview_draw_region().

	* plug-ins/common/cartoon.c
	* plug-ins/common/despeckle.c
	* plug-ins/common/edge.c
	* plug-ins/common/gauss.c
	* plug-ins/common/grid.c
	* plug-ins/common/neon.c
	* plug-ins/common/noisify.c
	* plug-ins/common/sel_gauss.c
	* plug-ins/common/sharpen.c
	* plug-ins/common/sobel.c
	* plug-ins/common/spread.c
	* plug-ins/common/struc.c
	* plug-ins/common/unsharp.c
	* plug-ins/common/wind.c: use gimp_drawable_preview_draw_buffer().
2004-09-15 19:56:01 +00:00
Michael Natterer 186b590844 added help IDs for the drawable- and vectors-visible and -liked actions as
2004-09-15  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimphelp-ids.h: added help IDs for the drawable- and
	vectors-visible and -liked actions as well as for the layer mask
	property action.

	* app/actions/drawable-actions.c
	* app/actions/vectors-actions.c: use them.

	* app/actions/layers-actions.c
	* app/actions/layers-commands.[ch]: ditto. Use
	GIMP_STOCK_TRANSPARENCY for all layer opacity actions. Replaced
	"paint_mode" by "mode" in all action and function/variable names
	because this is the layer mode, not a paint mode.

	* app/actions/channels-commands.c
	* app/actions/layers-commands.c
	* app/actions/vectors-commands.c: set the "activates-default"
	property on the name entry in all "New Foo" and "Edit Foo
	Attributes" dialogs except in the "New Layer" dialog.
	Addresses bug #148026.

	* menus/image-menu.xml.in: added a (commented out) layer
	properties menu containing all the new actions.
2004-09-15 15:06:08 +00:00
Michael Natterer 6a723efc4b app/actions/layers-actions.c added actions and callbacks
2004-09-15  Michael Natterer  <mitch@gimp.org>

	* app/actions/layers-actions.c
	* app/actions/layers-commands.[ch]: added actions and callbacks
	"layers-preserve-transparency" and
	"layers-paint-mode-first,last,previous,next". Update the "active"
	state of the recently added layer mask property actions in
	layers_actions_update().

	* app/actions/drawable-actions.c
	* app/actions/drawable-commands.[ch]: added actions and callbacks
	for "drawable-visible" and "drawable-linked". Fixes bug #152597.

	* app/actions/vectors-actions.c
	* app/actions/vectors-commands.[ch]: same here ("vectors-visible"
	and "vectors-linked").

	* app/widgets/gimplayertreeview.c
	(gimp_layer_tree_view_preserve_button_toggled): flush the image
	so the new actions are updated. Compress preserve_trans undos.

	* menus/image-menu.xml.in: added the layer mask property actions
	to the Layers/Mask submenu.

	* menus/layers-menu.xml: reordered the mask property actions
	to have the same order as in the image menu.
2004-09-15 13:24:45 +00:00
Sven Neumann b5f8fa24d8 improved the fix for bug #152662 and removed trailing whitespace.
2004-09-15  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpcontainertreeview.c
	(gimp_container_tree_view_menu_position): improved the fix for bug
	#152662 and removed trailing whitespace.
2004-09-15 09:34:02 +00:00
Nathan Summers 8c4062f2b2 clamp the popup menu's Y position to the visible area of the GtkTreeView.
2004-09-15  Nathan Summers  <rock@gimp.org>

        * app/widgets/gimpcontainertreeview.c
        (gimp_container_tree_view_menu_position): clamp the popup menu's Y
        position to the visible area of the GtkTreeView.  Fixes #152662.
2004-09-15 05:55:56 +00:00
Michael Natterer e8dd3c3b8d set the "activates-default" property on the entries in all query boxes so
2004-09-14  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimpquerybox.c: set the "activates-default"
	property on the entries in all query boxes so hitting "return"
	confirms them. Addresses bug #148026.
2004-09-14 12:37:03 +00:00
Michael Natterer d62a3f0487 simplified the code which deals with the global_buffer's preview. The new
2004-09-14  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpbufferview.c: simplified the code which deals
	with the global_buffer's preview. The new buffer view renderer
	does the aspect ratio magic all by itself now.

	* app/actions/image-commands.h: removed trailing whitespace.
2004-09-14 12:19:16 +00:00
Michael Natterer c450ca1858 app/widgets/Makefile.am app/widgets/widgets-types.h added a view renderer
2004-09-14  Michael Natterer  <mitch@gimp.org>

	* app/widgets/Makefile.am
	* app/widgets/widgets-types.h
	* app/widgets/gimpviewrendererbuffer.[ch]: added a view renderer
	which knows how to preserve a GimpBuffer's aspect ratio if the
	view's aspect ratio is different.

	* app/widgets/gimpviewrenderer-utils.c
	(gimp_view_renderer_type_from_viewable_type): use it for viewables
	of type GimpBuffer. Fixes bug #152531
2004-09-14 12:06:28 +00:00
Sven Neumann 6d02719401 plug-ins/common/flarefx.c embed the preview into a sunken frame and put it
2004-09-14  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/flarefx.c
	* plug-ins/common/nova.c: embed the preview into a sunken frame
	and put it into the upper left corner of the dialog.
2004-09-14 11:43:02 +00:00
Michael Natterer 98b70b511c app/Makefile.am app/app-docs.sgml app/app-sections.txt updated for the
2004-09-14  Michael Natterer  <mitch@gimp.org>

	* app/Makefile.am
	* app/app-docs.sgml
	* app/app-sections.txt
	* app/app.types: updated for the remaining Preview -> View changes
	and the new app/dialogs/ module.
2004-09-14 11:41:36 +00:00
Sven Neumann d6c4830027 app/dialogs/dialogs-constructors.[ch] app/dialogs/dialogs.c let the dialog
2004-09-14  Sven Neumann  <sven@gimp.org>

	* app/dialogs/dialogs-constructors.[ch]
	* app/dialogs/dialogs.c
	* app/gui/gui.c: let the dialog factory handle the quit dialog
	as singleton. Fixes bug #151914.

	* app/dialogs/quit-dialog.c: added a warning here. We need a
	container of dirty images for the above change to work correctly.
2004-09-13 23:09:10 +00:00
Sven Neumann e2d8f7e48d make the "Save EXIF data" toggle insensitive when no EXIF data is present
2004-09-13  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/jpeg.c (save_dialog): make the "Save EXIF data"
	toggle insensitive when no EXIF data is present (bug #140042).

	* app/display/gimpdisplayshell-close.c: as suggested by the HIG,
	ask the user to save the image when the last display is being
	closed. Addresses some issues raised in bug #106726.
2004-09-13 21:58:27 +00:00