Commit Graph

12900 Commits

Author SHA1 Message Date
Sven Neumann 5a1c761f86 added a Reset button and prepared for colormap sorting.
2006-06-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/colormap-remap.c: added a Reset button and
	prepared for colormap sorting.
2006-06-21 13:25:19 +00:00
Roman Joost 40d50691b0 AUTHORS sorted previously added names alphabetically
2006-06-21  Roman Joost  <romanofski@gimp.org>

	* AUTHORS
	* authors.xml: sorted previously added names alphabetically
2006-06-21 12:39:11 +00:00
Sven Neumann 2600de6060 return a const pointer. (gimp_message_func): removed wrong cast.
2006-06-21  Sven Neumann  <sven@gimp.org>

	* libgimp/gimp.[ch] (gimp_shm_addr): return a const pointer.
	(gimp_message_func): removed wrong cast.
2006-06-21 11:00:51 +00:00
Sven Neumann e0b64b3441 minor code cleanup.
2006-06-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/warp.c: minor code cleanup.
2006-06-21 10:22:14 +00:00
Roman Joost bd3007acd5 AUTHORS added active docwriters from the GIMP manual
2006-06-21  Roman Joost  <romanofski@gimp.org>

	* AUTHORS
	* authors.xml: added active docwriters from the GIMP manual
2006-06-21 08:50:26 +00:00
Sven Neumann 27fb95dafd INSTALL configure.in plug-ins/Makefile.am added build infrastructure for
2006-06-20  Sven Neumann  <sven@gimp.org>

	* INSTALL
	* configure.in
	* plug-ins/Makefile.am
	* plug-ins/print/Makefile.am: added build infrastructure for new
	print plug-in.
2006-06-20 19:39:25 +00:00
Sven Neumann aa7fa5a2d5 INSTALL configure.in plug-ins/common/plugin-defs.pl
2006-06-20  Sven Neumann  <sven@gimp.org>

	* INSTALL
	* configure.in
	* plug-ins/common/plugin-defs.pl
	* plug-ins/common/Makefile.am
	* plug-ins/common/gnomeprint.c
	* plug-ins/common/winprint.c: removed gnomeprint and winprint
	plug-ins. We will have a plug-in based on GtkPrint for GIMP 2.4.
2006-06-20 19:12:20 +00:00
Sven Neumann 972511dba8 INSTALL configure.in plug-ins/Makefile.am removed the gimp-print plug-in.
2006-06-20  Sven Neumann  <sven@gimp.org>

	* INSTALL
	* configure.in
	* plug-ins/Makefile.am
	* plug-ins/print: removed the gimp-print plug-in. gutenprint
comes
	with a GIMP plug-in, so there is no point in supporting this any
	longer.
2006-06-20 18:57:38 +00:00
Jakub Steiner b520a3eece wilber changes 2006-06-20 18:44:33 +00:00
Sven Neumann 2822a2ea56 only use the "artist" role for the newly added contributors.
2006-06-20  Sven Neumann  <sven@gimp.org>

	* authors.xml: only use the "artist" role for the newly added
	contributors.
2006-06-20 18:40:54 +00:00
Michael Natterer 03c929240d don't try to set "." as current_folder_uri.
2006-06-20  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpfiledialog.c (gimp_file_dialog_set_image): don't
	try to set "." as current_folder_uri.
2006-06-20 18:35:00 +00:00
Sven Neumann 42e6b515c6 use GIMP_STOCK_INFO for the tips dialog.
2006-06-20  Sven Neumann  <sven@gimp.org>

	* app/dialogs/tips-dialog.c: use GIMP_STOCK_INFO for the tips
dialog.

	* data/images/Makefile.am: do not install unused wilber icons.
2006-06-20 18:28:06 +00:00
Jakub Steiner d537872b3e wilber had one round ear. 2006-06-20 17:31:55 +00:00
Jakub Steiner 0668a776af add artists 2006-06-20 17:30:44 +00:00
Sven Neumann e41a00dc93 install icons at 22x22 pixel size.
2006-06-20  Sven Neumann  <sven@gimp.org>

	* themes/Default/images/preferences/Makefile.am: install icons at
	22x22 pixel size.

	* app/dialogs/preferences-dialog.c (prefs_notebook_append_page):
	try to load icons at 22x22 instead of scaling down the large one.
2006-06-20 14:42:08 +00:00
Sven Neumann c09f65607a themes/Default/Makefile.am removed imagerc, it was outdated anyway.
2006-06-20  Sven Neumann  <sven@gimp.org>

	* themes/Default/Makefile.am
	* themes/Default/imagerc: removed imagerc, it was outdated anyway.

	* themes/Default/images/Makefile.am: don't install the icons that
	are compiled in.
2006-06-20 14:18:49 +00:00
Jakub Steiner a6c3a60dde forgot xcfs 2006-06-20 13:52:27 +00:00
Jakub Steiner a70c566aba add attribution 2006-06-20 13:26:52 +00:00
Jakub Steiner eaadf7c9ab apply Tango style on the default iconset.
2006-06-20  Jakub Steiner <jimmac@ximian.com>

* themes/Default/*: apply Tango style on the default iconset.
2006-06-20 13:18:58 +00:00
Sven Neumann d2b2d8c779 plug-ins/common/Makefile.am plug-ins/common/plugin-defs.pl
2006-06-20  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/Makefile.am
	* plug-ins/common/plugin-defs.pl

	* plug-ins/common/desktop-link.c: new load plug-in that parses a
	.desktop file and if it is a link, asks GIMP to open the file the
	link points to (bug #326956).
2006-06-20 12:40:51 +00:00
Sven Neumann 85edddc83f only unref the logo pixmap if it is not NULL; loading it may fail.
2006-06-20  Sven Neumann  <sven@gimp.org>

	* app/dialogs/about-dialog.c (about_dialog_create): only unref the
	logo pixmap if it is not NULL; loading it may fail.
2006-06-20 09:14:26 +00:00
Sven Neumann 7caa909385 added TRANSFORM_HANDLE_NONE (will get rid of TRANSFORM_CREATING later).
2006-06-20  Sven Neumann  <sven@gimp.org>

	* app/tools/tools-enums.h: added TRANSFORM_HANDLE_NONE (will
	get rid of TRANSFORM_CREATING later).

	* app/tools/gimptransformtool.[ch]: added member "use_handles" and
	default to FALSE for all "use_foo" variables.  Only deal with the
	handles the specific transform tool asks for.  Set cursors
	according to the active handle.

	* app/tools/gimpfliptool.c
	* app/tools/gimpperspectivetool.c
	* app/tools/gimprotatetool.c
	* app/tools/gimpscaletool.c
	* app/tools/gimpsheartool.c: changed accordingly.
2006-06-20 08:22:39 +00:00
Sven Neumann 7e82d1623d app/actions/error-console-commands.c app/display/gimpdisplayshell-draw.c
2006-06-19  Sven Neumann  <sven@gimp.org>

	* app/actions/error-console-commands.c
	* app/display/gimpdisplayshell-draw.c
	* app/display/gimpdisplayshell-scale.c
	* app/tools/gimpmeasuretool.c
	* app/tools/gimptexttool.c
	* app/widgets/gimpcellrendereraccel.c
	* app/widgets/gimpviewabledialog.c
	* app/widgets/gimpviewrenderer.c: changed casts in calls to
	g_object_add_weak_pointer() to silence compiler warnings.
2006-06-19 17:50:40 +00:00
Sven Neumann 8cd63d9354 changed to "firefox", most distributions seem to have renamed the binary.
2006-06-19  Sven Neumann  <sven@gimp.org>

	* app/config/gimpguiconfig.c (DEFAULT_WEB_BROWSER): changed to
	"firefox", most distributions seem to have renamed the binary.
2006-06-19 14:27:11 +00:00
Sven Neumann 0268c69940 replaced with the application logo (bug #343948).
2006-06-19  Sven Neumann  <sven@gimp.org>

	* data/images/gimp-logo.png: replaced with the application logo
	(bug #343948).

	* data/images/gimp2_2_logo.png: the old logo, as a reference.

	* app/dialogs/about-dialog.c: let GtkAboutDialog deal with the logo.
	Moved the text animation below the copyright notice and draw it on
	the window background.
2006-06-19 13:24:44 +00:00
Sven Neumann 5f7e1ac363 cleanup.
2006-06-19  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpscaletool.c (gimp_scale_tool_motion): cleanup.

	* app/tools/gimptransformtool.c
(gimp_transform_tool_cursor_update):
	simplified; removed checks that didn't change the cursor anyway.
2006-06-19 08:15:50 +00:00
Michael Natterer ff1d2973ac added virtual functions GimpTool::has_display(), which returns whether any
2006-06-18  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimptool.[ch]: added virtual functions
	GimpTool::has_display(), which returns whether any tool subclass
	keeps a pointer to the passed display; and GimpTool::has_image()
	which returns a display based on a passed image, or NULL if no
	display matches. Added default implementation of
	GimpTool::control() which sets tool->display to NULL on HALT.

	* app/tools/gimpclonetool.c
	* app/tools/gimpdrawtool.c: implement both functions.

	* app/tools/gimpclonetool.c: removed weak pointer hacks that are
	no longer needed now (and were incomplete anyway).

	* app/tools/tool_manager.c (tool_manager_select_tool)
	(tool_manager_control_active)
	(tool_manager_image_clean_dirty): use the new functions instead of
	peeking around in tool subclasses (and forgetting tools that may
	have display pointers, like the clone tool)

	* app/display/gimpdisplay.c (gimp_display_delete): removed
	fiddling with tool internals here too, control(HALT) on the tool
	is now sufficient to remove any reference to the closed display.
2006-06-18 19:58:49 +00:00
Sven Neumann df7310625a renamed TransformAction enum values to something more descriptive.
2006-06-18  Sven Neumann  <sven@gimp.org>

	* app/tools/tools-enums.h: renamed TransformAction enum values
to
	something more descriptive.

	* app/tools/gimpperspectivetool.c
	* app/tools/gimpscaletool.c
	* app/tools/gimpsheartool.c
	* app/tools/gimptransformtool.c: changed accordingly.
2006-06-18 17:44:06 +00:00
Michael Natterer b11878174d apply the delay before selecting, not before grabbing, so the user has
2006-06-18  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/screenshot.c: apply the delay before selecting,
	not before grabbing, so the user has time to rearrange things.
	Fixes bug #345214.
2006-06-18 09:44:43 +00:00
Michael Natterer d8285d0dd9 plug-ins/common/animationplay.c plug-ins/common/colormap-remap.c
2006-06-17  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/animationplay.c
	* plug-ins/common/colormap-remap.c
	* plug-ins/common/gbr.c
	* plug-ins/common/gih.c
	* plug-ins/common/gnomeprint.c
	* plug-ins/common/mail.c
	* plug-ins/common/pat.c
	* plug-ins/common/plugin-browser.c
	* plug-ins/common/plugin-defs.pl
	* plug-ins/common/screenshot.c
	* plug-ins/common/uniteditor.c
	* plug-ins/metadata/metadata.c
	* plug-ins/print/print.c
	* plug-ins/uri/uri.c: cast stock-ids passed to
	gimp_plugin_icon_register() to (const guint8 *).
2006-06-17 12:21:47 +00:00
Michael Natterer e11a581110 more cleanup by Mukund, cleaned up again by myself.
2006-06-17  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/vinvert.c (run): more cleanup by Mukund, cleaned
	up again by myself.
2006-06-17 11:58:10 +00:00
Michael Natterer 6f90261568 put the event box' event window above its children because now that it is
2006-06-17  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpdockbook.c (gimp_dockbook_get_tab_widget): put
	the event box' event window above its children because now that it
	is input-only, it won't receive events that are not in its
	childrens' event mask if the event window is below.
	Fixes bug #345137.
2006-06-17 09:36:18 +00:00
Michael Natterer c24c1fe064 always call gtk_file_chooser_set_current_folder_uri() and
2006-06-16  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpfiledialog.c (gimp_file_dialog_set_image):
	always call gtk_file_chooser_set_current_folder_uri() and
	gtk_file_chooser_set_current_name() instead of
	gtk_file_chooser_set_uri(), since the latter only works if the
	file exists and its return value is bogus. Fixes bug #343284.
2006-06-17 09:32:30 +00:00
Sven Neumann cba830e75b fixed casts to silence compiler warnings.
2006-06-17  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpview.c: fixed casts to silence compiler
warnings.
2006-06-17 08:51:47 +00:00
Michael Natterer 091c572e7e moved variables to local scopes.
2006-06-16  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpimage-convert.c (gimp_image_convert): moved
	variables to local scopes.
2006-06-16 20:03:48 +00:00
Michael Natterer 5e3b4891d3 increased the max length for the identifier prefix from 24 to 64 chars. I
2006-06-16  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/xbm.c: increased the max length for the
	identifier prefix from 24 to 64 chars. I have no idea if this
	violates any spec or produces identifiers too long for stone age C
	standards, but 24 did truncate the identifiers in the newly added
	edge and corner cursors.
2006-06-16 17:38:01 +00:00
Michael Natterer 88dedcc424 Allow plug-ins to register in <Layers>, <Channels>, <Vectors> and
2006-06-16  Michael Natterer  <mitch@gimp.org>

	Allow plug-ins to register in <Layers>, <Channels>, <Vectors> and
	<ColormapEditor>:

	* app/pdb/gimppluginprocedure.c
	(gimp_plug_in_procedure_add_menu_path): added the argument type
	checks for the new locations. Factored out duplicated code.

	* app/menus/menus.c (menus_init): add the "plug-in" action
	group to the resp. UI managers.

	* app/menus/plug-in-menus.c (plug_in_menus_menu_path_added):
	support them here too.

	* app/widgets/gimpimageeditor.[ch]
	* app/widgets/gimpitemtreeview.[ch]: added get_image() functions.

	* app/actions/plug-in-commands.c: added new utility functions
	which collect plug-in arguments from GimpImageEditor and
	GimpItemTreeView widgets.

	* menus/channels-menu.xml
	* menus/colormap-editor-menu.xml
	* menus/layers-menu.xml
	* menus/vectors-menu.xml: added separators.

	* menus/image-menu.xml.in: added a "Colormap" placeholder in
	Colors/Map

	* plug-ins/common/colormap-remap.c (query): register a menu
	entry in <ColormapEditor> and moved the existing one to the
	"Colormap" placeholder. Also register an icon to make this
	menu item clearly distinct from the others in that menu.

	Unrelated:

	* plug-ins/common/colormap-remap.c (run): cleaned up quite a
	bit. Fixed last-vals code and simplified map handling.

	(remap_swap): removed, folded into run().

	(remap_dialog): use the passed map to initialize the dialog so it
	starts with the last-vals. Tweaked layout to have 16 columns
	and simplified cell renderer creation.
2006-06-16 17:02:14 +00:00
Manish Singh f548b65329 app/errors.c app/main.c app/file/gimprecentlist.c libgimpbase/gimpsignal.c
2006-06-16  Manish Singh  <yosh@gimp.org>

        * app/errors.c
        * app/main.c
        * app/file/gimprecentlist.c
        * libgimpbase/gimpsignal.c
        * libgimp/gimp.c
        * modules/controller_midi.c
        * plug-ins/common/gqbist.c: use _GNU_SOURCE instead of the other
        _FOO_SOURCE variables to support -ansi -pedantic on glibc systems,
        since anything else breaks compilation of otherwise working code.
        Fixes bug #344203.
2006-06-16 16:21:35 +00:00
Sven Neumann 0d5e9ed447 themes/Default/images/Makefile.am
2006-06-16  Sven Neumann  <neumann@jpk.com>

	* themes/Default/images/Makefile.am
	* themes/Default/images/stock-colormap-*.png
	* themes/Default/images/stock-indexed-palette-*.png: renamed
	stock-indexed-palette to stock-colormap.

	* libgimpwidgets/gimpstock.[ch]: deprecated
	GIMP_STOCK_INDEXED_PALETTE in favor of GIMP_STOCK_COLORMAP.

	* app/actions/actions.c
	* app/actions/colormap-editor-actions.c
	* app/actions/colormap-editor-commands.c
	* app/actions/context-actions.c
	* app/actions/dialogs-actions.c
	* app/dialogs/dialogs.c: use the new stock-id.
2006-06-16 15:06:57 +00:00
Sven Neumann bee8fb744c when cutting away ellipsis, also look for U+2026 HORIZONTAL ELLIPSIS.
2006-06-16  Sven Neumann  <neumann@jpk.com>

	* app/pdb/gimppluginprocedure.c (gimp_plug_in_procedure_get_label):
	* plug-ins/script-fu/script-fu-interface.c (script_fu_interface):
	when cutting away ellipsis, also look for U+2026 HORIZONTAL ELLIPSIS.
2006-06-16 12:25:02 +00:00
Sven Neumann 8acfbbc24c improved error message.
2006-06-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/psd_save.c: improved error message.
2006-06-16 11:35:24 +00:00
Sven Neumann a5d9a516b2 removed; it's barely useful nowadays.
2006-06-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/convert-script: removed; it's barely useful
	nowadays.
2006-06-16 10:52:49 +00:00
Sven Neumann 6b6640ba20 removed the About dialog. That information is available from the Procedure
2006-06-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-interface.c: removed the About
	dialog.  That information is available from the Procedure Browser
	and scripts should look and feel as much like plug-ins as
	possible.
2006-06-16 10:42:06 +00:00
Sven Neumann 0439dbd2b9 renamed member "help" to "blurb" since that's what it is being used for
2006-06-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-types.h (struct SFScript): renamed
	member "help" to "blurb" since that's what it is being used for
	when the script procedure is registered.

	* plug-ins/script-fu/script-fu-interface.c
	* plug-ins/script-fu/script-fu-scripts.c: changed accordingly.
2006-06-16 10:19:24 +00:00
Sven Neumann e3a54e111b use a canonical name for the automatically added run-mode parameter.
2006-06-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-scripts.c (script_fu_add_script):
	use a canonical name for the automatically added run-mode parameter.
	Untabbified.
2006-06-16 09:55:13 +00:00
Sven Neumann 40a519e135 for debugging purposes, set the children type as the name of the list.
2006-06-16  Sven Neumann  <sven@gimp.org>

	* app/core/gimplist.c (gimp_list_new, gimp_list_new_weak): for
	debugging purposes, set the children type as the name of the list.
2006-06-16 09:42:13 +00:00
Sven Neumann 86d022aee4 no need to be extra concise here.
2006-06-16  Sven Neumann  <sven@gimp.org>

	* app/actions/debug-actions.c: no need to be extra concise here.
2006-06-16 09:24:43 +00:00
Sven Neumann 599aed94be always call gimp_image_flush() so that the image mode radio buttons
2006-06-16  Sven Neumann  <sven@gimp.org>

	* app/actions/image-commands.c (image_convert_cmd_callback):
	always call gimp_image_flush() so that the image mode radio
	buttons reflect the image state.  Attach the indexed conversion
	dialog to the shell to avoid multiple instances.
2006-06-16 09:16:49 +00:00
Sven Neumann 61a01e546c marked blurb for translation.
2006-06-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/mapcolor.c (query): marked blurb for translation.
2006-06-16 08:51:48 +00:00
Sven Neumann 738f2a6b9d renamed to "Rearrange Colormap".
2006-06-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/colormap-remap.c: renamed to "Rearrange
Colormap".
2006-06-15 22:49:36 +00:00
Sven Neumann 9c01baa123 plug-ins/rcm/rcm.c renamed to "Rotate Colors"; it doesn't actually work on
2006-06-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/rcm/rcm.c
	* plug-ins/rcm/rcm_dialog.c: renamed to "Rotate Colors"; it
	doesn't actually work on indexed images at all.
2006-06-15 22:19:28 +00:00
Sven Neumann 01e3e4d989 plug-ins/common/Makefile.am plug-ins/common/plugin-defs.pl
2006-06-15  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/Makefile.am
	* plug-ins/common/plugin-defs.pl

	* plug-ins/common/colormap-remap.c: added new plug-in for
colormap
	manipulation written by Mukund Sivaraman.
2006-06-15 22:07:39 +00:00
Sven Neumann cea9b32956 remove duplicate colors for all palette types (except for MAKE_PALETTE
2006-06-15  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimage-convert.c (gimp_image_convert): remove
	duplicate colors for all palette types (except for MAKE_PALETTE
	since there shouldn't be any unused colors then).  That's what
	the PDB documentation claims the function would be doing.

	* app/dialogs/convert-dialog.c: allow use of the "Remove unused
	colors" toggle for all but the optimized palette.
2006-06-15 21:15:07 +00:00
Sven Neumann 2772ef8d8b improved code to set the image mode radio actions; set their sensitivity
2006-06-15  Sven Neumann  <sven@gimp.org>

	* app/actions/image-actions.c (image_actions_update): improved
	code to set the image mode radio actions; set their sensitivity
	also.

	* app/actions/image-commands.c
(image_configure_grid_cmd_callback):
	fixed cast to silence compiler warning.
2006-06-15 19:37:15 +00:00
Michael Natterer 1a635e06a0 set the event box' window invisible so we get the right background with
2006-06-15  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpdockbook.c (gimp_dockbook_get_tab_widget): set
	the event box' window invisible so we get the right background
	with all themes.
2006-06-15 10:44:24 +00:00
William Skaggs 27be3ce242 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/tools/gimprectangleselecttool.c: Fix sporadic crash
	resulting from previous change.
2006-06-14 20:19:49 +00:00
William Skaggs a26b124251 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/tools/gimprectangleselecttool.c: As suggested by Joao,
	halt tool on changes to selection or image size.
2006-06-14 16:25:19 +00:00
Michael Natterer f9938561d1 another patch from Mukund that cleans up i18n initialization.
2006-06-14  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/vinvert.c: another patch from Mukund that cleans
	up i18n initialization.
2006-06-14 16:03:09 +00:00
William Skaggs c1d109da12 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/tools/gimpbycolorselect.c: fix crash when changing
	threshold with no display active.
2006-06-14 15:19:32 +00:00
Sven Neumann ab22402033 use radio items for the Image mode as suggested in bug #344871.
2006-06-14  Sven Neumann  <sven@gimp.org>

	* app/actions/image-actions.c: use radio items for the Image mode
	as suggested in bug #344871.

	* app/actions/image-commands.[ch] (image_convert_cmd_callback):
	changed accordingly.
2006-06-14 14:36:34 +00:00
Michael Natterer e4e581ccc9 in help texts, refer to other procedures using_c_syntax(). This way
2006-06-14  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/[many].pdb: in help texts, refer to other
	procedures using_c_syntax(). This way gtk-doc can cross-reference
	them correctly in libgimp, and app.pl will transform them
	'to-canonical-names' for PDB registering.

	* app/pdb/[many]_cmds.c
	* libgimp/[many]_pdb.c: regenerated.
2006-06-14 08:32:08 +00:00
William Skaggs b01efbffdc Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/tools/gimpbycolorselect.[ch]: allow modifying threshold
	without having to re-click on image each time.  Fixes
	bug #126748.
2006-06-13 23:47:20 +00:00
Tor Lillqvist 4af35085a3 Free the string vector returned by g_listenv().
2006-06-13  Tor Lillqvist  <tml@novell.com>

	* app/plug-in/gimpenvirontable.c (gimp_environ_table_populate):
	Free the string vector returned by g_listenv().

	* libgimpwidgets/gimpwidgets.def: Remove deprecated
	gimp_prop_file_entry_new.
2006-06-13 18:06:07 +00:00
William Skaggs 168644db29 Fix typo in ChangeLog entry. 2006-06-13 14:37:19 +00:00
William Skaggs 48422d0b9f Bill Skaggs <weskaggs@primate.ucdavis.edu>
* menus/image-menu.xml.in: remove strong/weak undo from menu;
	still available using Shift-Ctrl-[ZY].  See bug #144584.
2006-06-13 14:32:01 +00:00
Michael Natterer 3ea06fce8d applied patch from Mukund Sivaraman which speeds up the plug-in
2006-06-13  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/vinvert.c: applied patch from Mukund Sivaraman
	which speeds up the plug-in significantly by using an optimized
	RGB <-> HSV conversion and proper region iterating. Did some more
	cleanups.
2006-06-13 13:32:18 +00:00
Sven Neumann 91aa93cfd7 plug-ins/FractalExplorer/Dialogs.c doubled the size of the preview and
2006-06-13  Sven Neumann  <sven@gimp.org>

	* plug-ins/FractalExplorer/Dialogs.c
	* plug-ins/FractalExplorer/FractalExplorer.h: doubled the size of
	the preview and adapted the dialog layout to the larger preview.
2006-06-13 13:25:57 +00:00
William Skaggs 701b7b31d7 Bill Skaggs <weskaggs@primate.ucdavis.edu>
Finally implemented the suggestion in bug #144854, of
	"strong" undo/redo commands that continue undoing so long
	as they only encounter visibility changes.

	* app/actions/edit-actions.c
	* app/actions/edit-commands.c
	* app/actions/edit-commands.h: added "strong undo"
	and "strong redo" commands/actions.

	* app/core/gimpimage-undo.[ch]: added functions
	gimp_image_strong_undo() and gimp_image_strong_redo().

	* app/core/gimpundo.[ch]: added utility function
	gimp_undo_is_weak().

	* app/widgets/gimphelp-ids.h:added id's.

	* menus/image-menu.xml.in: added to edit menu,
	bound to C-S-z and C-S-y.

	This will no doubt need tweaking, but I will consider it
	to fix bug #144854.
2006-06-13 02:03:44 +00:00
William Skaggs cd9811b321 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/gnomeprint.c: try not to distort
	image when printing.  Fixes bug #344547 but this
	plug-in needs a lot more work to be useful.
2006-06-12 23:45:43 +00:00
William Skaggs 354d247c67 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/tools/gimprectangleselecttool.c: don't autoshrink when
	there is no display; fixes crash reported by Carol.
2006-06-12 22:17:52 +00:00
William Skaggs 131aad120c Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/tools/gimprectangleselecttool.c
	* app/tools/gimprectangletool.c: fix three issues identified by
	jimmac: (1) when shift or ctrl are pressed, should start a new
	rect regardless of pointer loc; (2) zoom was incorrectly affecting
	width of sensitive areas; (3) must emit "rectangle-changed" after
	keyboard-driven rectangle movement.
2006-06-12 21:15:22 +00:00
Sven Neumann 612705daa5 plug-ins/FractalExplorer/Dialogs.c applied patch from Joao S. O. Bueno
2006-06-12  Sven Neumann  <sven@gimp.org>

	* plug-ins/FractalExplorer/Dialogs.c
	* plug-ins/FractalExplorer/FractalExplorer.[ch]: applied patch from
	Joao S. O. Bueno Calligaris that makes the plug-in work on grayscale
	images and makes it override the alpha channel (bug #340771).
2006-06-12 17:00:02 +00:00
Tor Lillqvist 2e0f2b8dfc Use g_listenv() and g_getenv() instead of looking at environ directly.
2006-06-12  Tor Lillqvist  <tml@novell.com>

	* app/plug-in/gimpenvirontable.c (gimp_environ_table_populate):
	Use g_listenv() and g_getenv() instead of looking at environ
	directly. Fixes breakage on Win32 when any (!) environment
	variable has a non-ASCII value, as environ is in system codepage,
	while we want UTF-8.
2006-06-12 16:54:51 +00:00
Sven Neumann 373a3cd27e cleanup, use gimp_drawable_mask_intersect(), reduced number of progress
2006-06-12  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/redeye.c (remove_redeye): cleanup, use
	gimp_drawable_mask_intersect(), reduced number of progress updates.
2006-06-12 13:24:35 +00:00
Sven Neumann 754f7da4d9 cleanup, use gimp_drawable_mask_intersect(), reduced number of progress
2006-06-12  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/snoise.c (solid_noise): cleanup, use
	gimp_drawable_mask_intersect(), reduced number of progress updates.
2006-06-12 13:17:21 +00:00
Sven Neumann 1868877552 documentation.
2006-06-12  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpzoompreview.c (gimp_zoom_preview_get_source):
	documentation.

	* plug-ins/common/channel_mixer.c: minor cleanup and loop unrolling.
	Introduced an inline function to avoid code duplication.
2006-06-12 13:00:54 +00:00
Sven Neumann 67531dd6b6 removed check for success again; it is being checked in the for() loop
2006-06-12  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/siod-wrapper.c (marshall_proc_db_call):
	removed check for success again; it is being checked in the for()
	loop already.
2006-06-12 10:25:29 +00:00
William Skaggs a442179713 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/tools/gimpellipseselecttool.c (gimp_ellipse_select_tool_draw):
	Call gimp_rectangle_tool_draw.
2006-06-12 00:36:56 +00:00
William Skaggs 77c4b0541e Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/tools/gimprectangleselecttool.c: handle situations
	where the user "flips" the rectangle while modifying it.
	This solution is not perfect, but better than before.

	* app/tools/gimprectangletool.c: remove unneeded variable.
2006-06-11 23:59:33 +00:00
William Skaggs 990e475d77 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/tools/gimprectangleselecttool.c
	* app/tools/gimprectangletool.c: make auto-shrink work.  Does
	the wrong thing for ellipse-select, though.
2006-06-11 18:52:42 +00:00
William Skaggs ca059c11d6 Bill Skaggs <weskaggs@primate.ucdavis.edu>
Following up on previous commit, with assist from yosh.

	* app/tools/gimpnewrectselectoptions.[ch]
	* app/tools/gimpnewrectselecttool.[ch]: removed

	* app/tools/gimprectangleselectoptions.[ch]: magic-moved
	from gimpnewrectselectoptions.[ch]

	* app/tools/gimprectangleselecttool.[ch]: magic-moved
	from gimpnewrectselecttool.[ch]

	* app/tools/Makefile.am
	* app/tools/gimp-tools.c
	* app/tools/gimpellipseselecttool.c
	* app/tools/gimpellipseselecttool.h
	* app/tools/gimpselectionoptions.c: change file names to
	refer to moved files.
2006-06-10 21:34:12 +00:00
William Skaggs 36ee184375 Bill Skaggs <weskaggs@primate.ucdavis.edu>
Here is the big change-over, finally.

	* app/tools/gimprectselecttool.[ch]: removed.

	* app/tools/Makefile.am
	* app/tools/gimp-tools.c
	* app/tools/gimpellipseselecttool.c
	* app/tools/gimpellipseselecttool.h
	* app/tools/gimpnewrectselectoptions.c
	* app/tools/gimpnewrectselectoptions.h
	* app/tools/gimpnewrectselecttool.c
	* app/tools/gimpnewrectselecttool.h
	* app/tools/gimpselectionoptions.c
	* app/widgets/gimptoolbox.c
	* menus/image-menu.xml.in: get rid of the "new" in everything
	referring to the new rect select tool, except filenames.  This
	will wait for yosh to perform cvs-magic-foo.

	* app/tools/gimprectangleoptions.[ch]
	* app/tools/gimprectangletool.[ch]: fix a couple of minor
	problems that popped up during testing.
2006-06-10 18:24:58 +00:00
Michael Natterer 10c8c709d3 simply use gimp_button_new() instead of g_object_new(). Don't set the
2006-06-10  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpeditor.c (gimp_editor_add_action_button): simply
	use gimp_button_new() instead of g_object_new(). Don't set the
	"use-stock" property and reordered some code. Keeps GtkButton from
	thinking that is has constructed the button's child itself and
	thus makes the function more rubust against changes in GtkButton.
2006-06-10 17:48:33 +00:00
William Skaggs 4742424b78 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/tools/gimpcroptool.c
	* app/tools/gimpellipseselecttool.c
	* app/tools/gimprectangletool.[ch]: code cleanups

	* app/tools/gimpnewrectselecttool.[ch]: try to do what
	the user intuitively expects when deciding which selection
	operation to perform.  When modifying an existing rectangle,
	always use the operation with which it was created.
2006-06-10 16:49:07 +00:00
Kevin Cozens e2d373d817 Additional simplifications for return values by using the same code for
2006-06-10  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/siod-wrapper.c (marshall_proc_db_call):
	Additional simplifications for return values by using the same
	code for all INT32 PDB types. Wrong member name was being used
	for INT16 and INT8 return types. Added back if statement that
	was removed but is needed.
2006-06-10 04:03:55 +00:00
William Skaggs c4ffc27293 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/tools/gimpcropoptions.c: clean up code.

	* app/tools/gimpnewrectselecttool.c: really remove some
	commented-out code.

	* app/tools/gimprectangleoptions.[ch]: add "aspect-square"
	and "controls-expanded" properties.  Show "Make square" and
	"Expand from center" in options so that we don't need modifier
	keys to do this.  Place numerical entries inside an expander
	and hide them by default.
2006-06-10 01:39:10 +00:00
William Skaggs e732c769c9 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/core/core-enums.[ch]: add GimpAlignReferenceType enum

	* app/core/gimpimage-arrange.c: support using a channel as
	reference for alignment.

	* app/tools/gimpaligntool.[ch]: support aligning with a list item,
	image, selection, active layer, active channel, or active path.
	Now similar in form and function to Inkscape Align/Distribute
	dialog.
2006-06-09 21:52:45 +00:00
Sven Neumann 99f979e118 deprecate the GimpFileEntry widget, use GtkFileChooserButton instead.
2006-06-09  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpfileentry.[ch]: deprecate the GimpFileEntry
	widget, use GtkFileChooserButton instead.

	* libgimpwidgets/gimppatheditor.c: undef GIMP_DISABLE_DEPRECATED
	as long as we are still using GimpFileEntry here.

	* libgimpwidgets/gimppropwidgets.[ch]: removed
	gimp_prop_file_entry_new(); use gimp_prop_file_chooser_button_new()
	instead.
2006-06-09 07:12:33 +00:00
Sven Neumann 303150eee5 formatting.
2006-06-09  Sven Neumann  <sven@gimp.org>

	* app/batch.c (batch_run_cmd): formatting.
2006-06-09 06:47:03 +00:00
William Skaggs c61eddd5c6 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/png.c
	* po/Makefile.in.in: revert changes inintentionally included
	in previous commit.
2006-06-08 22:24:43 +00:00
William Skaggs 9dbc0ee193 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/core/core-enums.[ch]: add GIMP_ARRANGE_FOO values
	to GimpAlignmentType, and change CENTER to HCENTER,
	MIDDLE to VCENTER.

	* app/core/gimpimage-arrange.c: extensively rewritten
	to handle arrangement of objects, and to do the
	required sorting of lists by offset.

	* app/tools/gimpaligntool.[ch]: added ability to arrange
	groups of layers etc with constant spacing.  Also try
	to change things so that the tool aligns with the
	object that users expect intuitively.
2006-06-08 22:15:45 +00:00
Simon Budig 16cda2d4cd fix the EXPAND macro to make picky compilers happy. Fixes bug #344326,
2006-06-08  Simon Budig  <simon@gimp.org>

	* plug-ins/common/sel_gauss.c: fix the EXPAND macro to make
	picky compilers happy. Fixes bug #344326, spotted by
	Eric Lamarque.
2006-06-08 21:07:04 +00:00
Sven Neumann 1ef506b77c simplified quite a bit by using the same code for all INT32 PDB types.
2006-06-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/siod-wrapper.c (marshall_proc_db_call):
	simplified quite a bit by using the same code for all INT32 PDB
	types.
2006-06-08 15:14:16 +00:00
Sven Neumann 07e246c6ba in case of an error, output the SIOD error message to stderr.
2006-06-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-console.c (script_fu_eval_run):
	in case of an error, output the SIOD error message to stderr.

	* plug-ins/script-fu/siod-wrapper.c: minor cleanup.
2006-06-08 14:45:56 +00:00
Sven Neumann 0e42a8161f plug-ins/script-fu/script-fu-scripts.c allow CSS color keywords to be used
2006-06-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-scripts.c
	* plug-ins/script-fu/siod-wrapper.c: allow CSS color keywords to
	be used in place of the '(r g b) color notation.

	* plug-ins/script-fu/scripts/test-sphere.scm: documented this new
	feature.

	* plug-ins/script-fu/scripts/*.scm: replaced some colors with
	color names.
2006-06-08 14:09:44 +00:00
Sven Neumann d42a30e0ec do not use gtk_menu_attach_to_widget() but gtk_menu_set_screen(). Menus
2006-06-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/animationplay.c (menu_popup): do not use
	gtk_menu_attach_to_widget() but gtk_menu_set_screen(). Menus don't
	like to be attached multiple times.
2006-06-08 12:51:16 +00:00
William Skaggs 40db64f48c Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/core/gimpimage-arrange.[ch]: added, utility function for
	aligning and arranging things in an image.

	* app/core/gimpitem-align.[ch}: removed, no longer needed.

	* app/core/gimpimage-item-list.[ch] (gimp_image_item_list_align):
	removed this function, no longer used.

	* app/core/Makefile.am: changes described above.

	* app/core/gimpguide.c: remove bit of cruft left accidentally.

	* app/tools/gimpalignoptions.[ch]: remove "alignment type"
	option, not needed at this point.

	* app/tools/gimpaligntool.[ch]: numerous changes, most
	importantly ability to align guides, and use them for
	alignment.  More work coming on this tool.
2006-06-07 21:29:54 +00:00
William Skaggs 4a60cf418b Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/core/gimpguide.[ch]: add "removed" signal and associated
	paraphernalia.

	* app/core/gimpimage-guides.c (gimp_image_remove_guide): call
	gimp_guide_removed() to cause signal emission.
2006-06-07 20:13:51 +00:00
Sven Neumann 8ad41a0f1a removed extra semicolon to fix build on Solaris (bug #344203).
2006-06-07  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpnewrectselecttool.c: removed extra semicolon to
	fix build on Solaris (bug #344203).
2006-06-07 20:07:54 +00:00
William Skaggs 323f3cb921 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/display/gimpdisplayshell.c (gimp_display_shell_expose_guide):
	fix typo, s/get_position/get_orientation/.
2006-06-07 19:51:33 +00:00