Commit Graph

13739 Commits

Author SHA1 Message Date
Michael Natterer 37912655f2 For the sake of completeness, added a GUI for the hidden "Open as Layer"
2004-09-21  Michael Natterer  <mitch@gimp.org>

	For the sake of completeness, added a GUI for the hidden
	"Open as Layer" feature:

	* app/actions/file-actions.c
	* app/actions/file-commands.[ch]: added "file-open-as-layer"
	action and callback. Abuse the "gimage" field of GimpFileDialog to
	indicate layer opening (it's otherwise unused for file-open).

	* app/dialogs/file-open-dialog.c: if dialog->gimage is non-NULL,
	open the selected files as layers for that image.

	* app/widgets/gimphelp-ids.h: added GIMP_HELP_FILE_OPEN_AS_LAYER.

	* menus/image-menu.xml.in: added it to the menu.
2004-09-21 12:08:30 +00:00
Sven Neumann 12bbec374b let the dialog collapse with the expander by making it not resizable.
2004-09-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/jpeg.c (save_dialog): let the dialog collapse
	with the expander by making it not resizable.
2004-09-21 10:42:55 +00:00
Sven Neumann 03d49fc16d resolved a mnemonics collision.
2004-09-21  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-close.c
	(gimp_display_shell_close_dialog): resolved a mnemonics collision.
2004-09-21 09:48:04 +00:00
Dave Neary ddb73eb8cc Correctly set overlay, hard light and soft light modes from .psd files.
2004-09-21  Dave Neary  <bolsh@gimp.org>

	* plug-ins/common/psd.c: Correctly set overlay, hard light and
	soft light modes from .psd files. Fixes bug #153229.
2004-09-21 09:00:55 +00:00
Sven Neumann 331b1330c4 set to 90dpi as a workaround for bug #143300.
2004-09-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/svg.c (SVG_DEFAULT_RESOLUTION): set to 90dpi as
	a workaround for bug #143300.
2004-09-20 23:33:35 +00:00
Maurits Rijk c975f6c994 plug-ins/imagemap/imap_cmd_guides.c
2004-09-20  Maurits Rijk  <m.rijk@chello.nl>

	* plug-ins/imagemap/imap_cmd_guides.c
	* plug-ins/imagemap/imap_default_dialog.c
	* plug-ins/imagemap/imap_menu.c
	* plug-ins/imagemap/imap_preferences.c
	* plug-ins/imagemap/imap_tools.c: disabled functionality that doesn't
	fully work yet. #136713 now becomes an enhancement request.
2004-09-20 21:14:09 +00:00
Sven Neumann bb9c250eec added tooltips, enabled "Compensate for darkening" by default, some minor
2004-09-20  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/bumpmap.c: added tooltips, enabled "Compensate
	for darkening" by default, some minor cleanups.
2004-09-20 14:58:52 +00:00
Michael Natterer 451958d7f2 removed useless #includes.
2004-09-20  Michael Natterer  <mitch@gimp.org>

	* app/dialogs/dialogs-constructors.c: removed useless #includes.
2004-09-20 14:50:42 +00:00
Michael Natterer 49b9c1d80e app/actions/buffers-commands.c app/actions/file-commands.c
2004-09-20  Michael Natterer  <mitch@gimp.org>

	* app/actions/buffers-commands.c
	* app/actions/file-commands.c
	* app/actions/layers-commands.c
	* app/actions/plug-in-actions.c
	* app/actions/tools-actions.c: removed useless #includes, cleanup.
2004-09-20 14:43:46 +00:00
Michael Natterer c448cf9d94 added GimpMenuFactory parameter and removed inclusion on "menus/menus.h".
2004-09-20  Michael Natterer  <mitch@gimp.org>

	* app/dialogs/dialogs.[ch] (dialogs_init): added GimpMenuFactory
	parameter and removed inclusion on "menus/menus.h".

	* app/menus/menus.[ch] (menus_init): added GimpActionFactory
	parameter and removed inclusion of "actions/actions.h".

	* app/gui/gui.c (gui_restore_callback): pass the factories to the
	above functions.
2004-09-20 14:41:54 +00:00
Sven Neumann b61f161e8e bumped version number to 2.1.6.
2004-09-20  Sven Neumann  <sven@gimp.org>

	* configure.in: bumped version number to 2.1.6.
2004-09-20 13:59:41 +00:00
David Odin bc68cf107e added a preview. Not sure if it is really useful...
* plug-ins/common/deinterlace.c: added a preview. Not sure if it is
  really useful...
2004-09-20 13:36:20 +00:00
David Odin 2b41574f66 added a preview.
* plug-ins/common/shift.c: added a preview.
2004-09-20 11:47:13 +00:00
Michael Natterer bd6a0b3a67 removed "case GDK_CONFIGURE" because it's not needed and did "break"
2004-09-20  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimpcolorselect.c (gimp_color_select_xy_events):
	removed "case GDK_CONFIGURE" because it's not needed and did
	"break" instead of "return FALSE", causing random color changes
	when resizing and initially showing the widget.
2004-09-20 00:17:38 +00:00
Sven Neumann 0025a969d6 Made 2.1.5 release.
2004-09-20  Sven Neumann  <sven@gimp.org>

        * Made 2.1.5 release.
2004-09-19 23:17:02 +00:00
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