Commit Graph

16922 Commits

Author SHA1 Message Date
Kevin Cozens 9fa8b10a1f Removed extraneous - in register block left when script was renamed.
2005-08-28  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/scripts/chrome-it.scm: Removed extraneous -
	in register block left when script was renamed.

	* plug-ins/script-fu/scripts/text-circle.scm: Fixed minor errors
	in comments.
2005-09-28 16:23:18 +00:00
Tor Lillqvist a8967ba394 Fix typo.
2005-09-28  Tor Lillqvist  <tml@novell.com>

	* libgimp/gimp.def: Fix typo.
2005-09-28 14:40:37 +00:00
Sven Neumann 11b15cf106 use a single random number generator for the lifetime of the plug-in.
2005-09-28  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/gqbist.c: use a single random number generator
	for the lifetime of the plug-in. Fixes bug #317355.
2005-09-28 14:29:48 +00:00
Sven Neumann 81fd5e2894 docs/Makefile.am docs/keybindings.txt docs/quick_reference.ps removed
2005-09-28  Sven Neumann  <sven@gimp.org>

	* docs/Makefile.am
	* docs/keybindings.txt
	* docs/quick_reference.ps
	* docs/quick_reference.tar.gz: removed outdated documentation that
	is now being maintained in the user manual (bug #316423).
2005-09-28 14:12:54 +00:00
Sven Neumann 20db799250 draw the rectangle according to the scrollbar adjustments.
2005-09-28  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpscrolledpreview.c
	(gimp_scrolled_preview_nav_popup_expose): draw the rectangle
	according to the scrollbar adjustments.
2005-09-28 12:53:28 +00:00
Sven Neumann f71b4e6aa1 must not set the adjustment value directly. Instead make sure that the
2005-09-28  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpscrolledpreview.[ch]
	(gimp_scrolled_preview_set_position): must not set the adjustment
	value directly. Instead make sure that the scrollbar adjustments
	are uptodate and use gtk_adjustment_set_value().
2005-09-28 12:39:30 +00:00
Sven Neumann 2aa114fca1 ooops 2005-09-28 11:05:13 +00:00
Sven Neumann 3670d4c3ae renamed newly added function to gimp_preview_get_controls(). Increased row
2005-09-28  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimppreview.[ch]: renamed newly added function to
	gimp_preview_get_controls(). Increased row padding for controls.

	* libgimpwidgets/gimpwidgets.def
	* libgimp/gimpzoompreview.c: changed accordingly.

	* libgimpbase/gimputils.c (gimp_enum_get_value): ref the enum
	class instead of only peeking at it.

	* libgimpwidgets/gimpzoommodel.c (gimp_zoom_button_new): set a
	tooltip on zoom buttons that only show an icon.
2005-09-28 11:02:02 +00:00
Vincent van Adrighem fa7f068dd6 Translation updated by Tino Meinen.
2005-09-28  Vincent van Adrighem  <adrighem@gnome.org>

	* nl.po: Translation updated by Tino Meinen.
2005-09-28 10:04:57 +00:00
Sven Neumann 9ab6ffa950 added a hbox to the table and the "Update Preview" checkbutton there.
2005-09-28  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimppreview.[ch]: added a hbox to the table and
	the "Update Preview" checkbutton there. Added a function to access
	this control box. Increased default size to 200.

	* libgimpwidgets/gimpscrolledpreview.[ch]: added function
	gimp_scrolled_preview_set_policy() to control when the scrollbars
	should be shown.

	* libgimpwidgets/gimpwidgets.def: updated.

	* libgimp/gimpzoompreview.c: pack the zoom buttons into the
	preview's control box. Commented out the label, it shows a bogus
	zoom factor. Set scrollbar policy to ALWAYS to avoid resizing.
2005-09-28 02:46:06 +00:00
Sven Neumann 4bb311bbd7 do not calculate the histogram if the histogram dock is invisible.
2005-09-28  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimphistogrameditor.[ch]: do not calculate the
	histogram if the histogram dock is invisible.
2005-09-28 00:31:46 +00:00
Sven Neumann f478549bf1 replaced binary operations with a naive but faster implementation using a
2005-09-28  Sven Neumann  <sven@gimp.org>

	* app/paint-funcs/paint-funcs-generic.h (swap_pixels): replaced
	binary operations with a naive but faster implementation using a
	local variable.

	* app/composite/gimp-composite-generic.c
	(gimp_composite_swap_any_any_any_generic): same change here.
2005-09-27 23:10:26 +00:00
Sven Neumann 8c9e9140c0 replaced the binary XOR operations with a naive but faster implementation
2005-09-28  Sven Neumann  <sven@gimp.org>

	* app/paint-funcs/paint-funcs-generic.h (swap_pixels): replaced
	the binary XOR operations with a naive but faster implementation
	using a local variable.
2005-09-27 22:27:26 +00:00
Sven Neumann 4664409370 minor code cleanups by Tobias Lenz.
2005-09-27  Sven Neumann  <sven@gimp.org>

	* app/base/siox.c: minor code cleanups by Tobias Lenz.
2005-09-27 21:30:42 +00:00
Sven Neumann 66217ce840 document how to construct an empty GimpIntComboBox using g_object_new().
2005-09-27  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpintcombobox.c: document how to construct an
	empty GimpIntComboBox using g_object_new().

	* plug-ins/common/aa.c
	* plug-ins/common/channel_mixer.c
	* plug-ins/common/compose.c
	* plug-ins/common/decompose.c
	* plug-ins/common/newsprint.c
	* plug-ins/common/spheredesigner.c
	* plug-ins/gflare/gflare.c
	* plug-ins/pagecurl/pagecurl.c: use g_object_new() to construct an
	empty GimpIntComboBox. The old way of doing it caused warnings.
2005-09-27 20:51:29 +00:00
Hendrik Brandt ebadf0ccd2 Updated German translation.
2005-09-27  Hendrik Brandt  <heb@gnome-de.org>

        * de.po: Updated German translation.
2005-09-27 20:42:47 +00:00
Sven Neumann c623bf512b undeprecated.
2005-09-27  Sven Neumann  <sven@gimp.org>

	* gimpmodule.c (pygimp_progress_install): undeprecated.
2005-09-27 19:56:53 +00:00
Michael Natterer 2e90d5f003 removed one '../' from xml:base. Fixes inlinegraphics of stock images.
2005-09-27  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/tmpl/gimpstock.sgml: removed one '../' from
	xml:base. Fixes inlinegraphics of stock images.
2005-09-27 19:27:42 +00:00
Michael Natterer 9412ca8e23 app/actions/data-commands.c app/actions/file-commands.c
2005-09-27  Michael Natterer  <mitch@gimp.org>

	* app/actions/data-commands.c
	* app/actions/file-commands.c
	* app/actions/templates-commands.c
	* app/dialogs/image-scale-dialog.c
	* app/dialogs/resize-dialog.c
	* app/dialogs/vectors-options-dialog.c
	* app/tools/gimptexttool.c
	* libgimpwidgets/gimpcolorbutton.c
	* plug-ins/Lighting/lighting_ui.c
	* plug-ins/common/AlienMap2.c
	* plug-ins/common/aa.c
	* plug-ins/gimpressionist/orientmap.c
	* plug-ins/script-fu/script-fu-interface.c
	* plug-ins/xjt/xjt.c: fixed indentation in calls to
	gtk_dialog_set_alternative_button_order().
2005-09-27 18:51:44 +00:00
Michael Natterer 4503b4a217 added gimp-buffers-get-list, should probably get its own PDB group.
2005-09-27  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/buffer.pdb: added gimp-buffers-get-list,
	should probably get its own PDB group.

	* libgimp/gimp.def: changed accordingly.

	* app/pdb/buffer_cmds.c
	* app/pdb/internal_procs.c
	* libgimp/gimpbuffer_pdb.[ch]: regenerated.
2005-09-27 18:29:27 +00:00
Sven Neumann 489aebab5e app/core/gimp-gui.h app/core/gimp-utils.h app/core/gimpimage-undo.h
2005-09-27  Sven Neumann  <sven@gimp.org>

	* app/core/gimp-gui.h
	* app/core/gimp-utils.h
	* app/core/gimpimage-undo.h
	* app/text/gimptextlayer.h
	* app/widgets/gimpeditor.h
	* app/widgets/gimpmenufactory.h
	* app/widgets/gimpmessagedialog.h
	* app/widgets/gimpsessioninfo.h
	* app/widgets/gimptooldialog.h
	* app/widgets/gimpviewabledialog.h: use G_GNUC_NULL_TERMINATED
	where appropriate.
2005-09-27 17:31:32 +00:00
Sven Neumann aa94434f52 libgimp/gimpprocbrowserdialog.h libgimpwidgets/gimpbrowser.h
2005-09-27  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpprocbrowserdialog.h
	* libgimpwidgets/gimpbrowser.h
	* libgimpwidgets/gimpdialog.h
	* libgimpwidgets/gimpintcombobox.h
	* libgimpwidgets/gimpoldwidgets.h
	* libgimpwidgets/gimpwidgets.h: use G_GNUC_NULL_TERMINATED where
	appropriate.

	* libgimp/gimpprocbrowserdialog.c
	* libgimpwidgets/gimpbrowser.c: added missing API docs.
2005-09-27 17:11:01 +00:00
Sven Neumann 7863fe6436 let gimp_proc_browser_dialog_new() take standard dialog parameters,
2005-09-27  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpprocbrowserdialog.[ch]: let
	gimp_proc_browser_dialog_new() take standard dialog parameters,
	similar to gimp_dialog_new().

	* plug-ins/common/procedure-browser.c
	* plug-ins/pygimp/procbrowser.c
	* plug-ins/script-fu/script-fu-console.c: changed accordingly.
2005-09-27 16:35:48 +00:00
Sven Neumann 63b5c472c4 use GTK_STOCK_ABOUT for the About button (bug #317339).
2005-09-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-interface.c (script_fu_interface):
	use GTK_STOCK_ABOUT for the About button (bug #317339).
2005-09-27 15:29:37 +00:00
Sven Neumann a2084107f3 libgimp/libgimp-docs.sgml libgimp/libgimp-sections.txt
2005-09-27  Sven Neumann  <sven@gimp.org>

	* libgimp/libgimp-docs.sgml
	* libgimp/libgimp-sections.txt
	* libgimp/libgimp.types
	* libgimp/tmpl/gimpbuffer.sgml
	* libgimp/tmpl/gimpedit.sgml
	* libgimp/tmpl/gimpzoompreview.sgml
	* libgimp/libgimp-docs.sgml: added new buffer API and GimpZoomPreview.
2005-09-27 15:02:04 +00:00
Michael Natterer 73c9799f18 Forgot to mention fixed bug. 2005-09-27 09:16:10 +00:00
Michael Natterer 30f1e8efc1 added gimp_buffer_get_bytes() and gimp_buffer_get_image_type().
2005-09-27  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpbuffer.[ch]: added gimp_buffer_get_bytes()
	and gimp_buffer_get_image_type().

	* tools/pdbgen/pdb/edit.pdb: removed edit_named_rename() and
	edit_named_delete().

	* tools/pdbgen/Makefile.am
	* tools/pdbgen/groups.pl
	* tools/pdbgen/pdb/buffer.pdb: new PDB group featuring
	buffer_rename(), delete(), get_width(), get_height(), get_bytes(),
	get_image_type().

	* app/pdb/Makefile.am
	* libgimp/Makefile.am
	* libgimp/gimp.def: changed accordingly.

	* app/pdb/buffer_cmds.c
	* app/pdb/edit_cmds.c
	* app/pdb/internal_procs.c
	* libgimp/gimp_pdb.h
	* libgimp/gimpbuffer_pdb.[ch]
	* libgimp/gimpedit_pdb.[ch]: (re)generated.
2005-09-27 09:05:55 +00:00
David Odin 5e2033cb75 zooming out more is zooming out three times, not zooming in. Fixes bug
* libgimpwidgets/gimpzoommodel.c: zooming out more is zooming out
  three times, not zooming in. Fixes bug #155446.
2005-09-27 06:53:19 +00:00
Marcel Telka 161c91c659 Updated Slovak translation.
2005-09-26  Marcel Telka  <marcel@telka.sk>

	* sk.po: Updated Slovak translation.
2005-09-26 20:52:17 +00:00
Sven Neumann 06a27d219a applied patch from Robert Ögren that works around problem creating guides
2005-09-26  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell.c (gimp_display_shell_new): applied
	patch from Robert Ögren that works around problem creating guides
	with a tablet on Windows by enabling extension events for the
	rulers.  Fixes the first problem described in bug #168516.

	* configure.in: bumped version to 2.3.5.
2005-09-26 20:51:55 +00:00
Sven Neumann 0507d779b2 Made 2.3.4 development release.
2005-09-26  Sven Neumann  <sven@gimp.org>

        * Made 2.3.4 development release.
2005-09-26 16:21:03 +00:00
Michael Natterer 6a4bf02935 Allow to disable the color picker info dialog. Fixes bug #315011:
2005-09-26  Michael Natterer  <mitch@gimp.org>

	Allow to disable the color picker info dialog. Fixes bug #315011:

	* app/tools/tools-enums.[ch] (enum GimpColorPickerMode): added
	value GIMP_COLOR_PICK_MODE_PALETTE.

	* app/tools/gimpcolorpickeroptions.[ch]: deprecated property
	"add-to-palette" and added property "use-info-window". Changed
	tool options GUI accordingly.

	* app/tools/gimpcolorpickertool.c
	(gimp_color_picker_tool_modifier_key): made <shift> toggle
	the use-info-window property.

	(gimp_color_picker_tool_picked): moved palette picking code
	into the pick_mode switch() statement.

	* app/tools/gimpcolortool.c (gimp_color_tool_cursor_update):
	show a "plus" cursor when adding to the palette.
2005-09-26 16:01:13 +00:00
Michael Natterer 6a29e1010c set "activates-default" on all entries.
2005-09-26  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/script-fu-interface.c (script_fu_interface):
	set "activates-default" on all entries.
2005-09-26 12:26:21 +00:00
Sven Neumann cae33841df removed some frames from the Script-Fu dialogs.
2005-09-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-interface.c: removed some frames
	from the Script-Fu dialogs.
2005-09-26 11:30:10 +00:00
Michael Natterer ee50900279 resurrected.
2005-09-26  Michael Natterer  <mitch@gimp.org>

	* app/actions/debug-commands.c (debug_dump_menus_cmd_callback)
	(debug_dump_menus_recurse_menu): resurrected.
2005-09-26 11:06:15 +00:00
Michael Natterer 48cdc65327 Allow plug-ins to register menu entries in the <Brushes>, <Gradients>,
2005-09-26  Michael Natterer  <mitch@gimp.org>

	Allow plug-ins to register menu entries in the <Brushes>,
	<Gradients>, <Palettes>, <Patterns> and <Fonts> menus:

	* app/actions/actions.c (action_data_get_gimp): return a Gimp
	also if "data" is a GimpContainerView or GimpContainerEditor.

	* app/gui/gui-vtable.c (gui_menus_add_proc)
	* app/plug-in/plug-in-params.c (plug_in_proc_args_check): support
	the new plug-in menu locations.

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

	* menus/brushes-menu.xml
	* menus/buffers-menu.xml
	* menus/fonts-menu.xml
	* menus/gradients-menu.xml
	* menus/palettes-menu.xml
	* menus/patterns-menu.xml: added separators at the end of the menus.

	* plug-ins/script-fu/scripts/font-map.scm: -> <Fonts>
	* plug-ins/script-fu/scripts/gradient-example.scm: -> <Gradients>
	* plug-ins/script-fu/scripts/mkbrush.scm: -> <Brushes>

	* plug-ins/script-fu/script-fu.c (script_fu_extension_init): don't
	register the "Make Brush" menu branch.
2005-09-26 10:36:07 +00:00
Sven Neumann 8ced99bb2e thou shall save before you commit 2005-09-26 10:02:06 +00:00
Sven Neumann 859c8ae3cb tools/gimp-remote.c use G_OPTION_FLAG_NO_ARG where needed.
2005-09-26  Sven Neumann  <sven@gimp.org>

	* tools/gimp-remote.c
	* tools/test-clipboard.c: use G_OPTION_FLAG_NO_ARG where needed.
2005-09-26 10:01:22 +00:00
Ankitkumar Rameshchandra Patel 40a9621dd2 Updated Gujarati Translations 2005-09-26 04:28:23 +00:00
Michael Natterer 2d0bf7d951 plug-ins/script-fu/scripts/paste-as-brush.scm cleanup.
2005-09-26  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/scripts/paste-as-brush.scm
	* plug-ins/script-fu/scripts/paste-as-pattern.scm: cleanup.
2005-09-26 01:02:47 +00:00
Michael Natterer f98122204e renamed action back to "Paste as New" and added a second action with the
2005-09-26  Michael Natterer  <mitch@gimp.org>

	* app/actions/edit-actions.c: renamed action back to "Paste as
	New" and added a second action with the "New Image" label. The
	original label is needed for <Toolbox>/File/Acquire.

	* menus/image-menu.xml.in: changed accordingly.
2005-09-26 00:36:18 +00:00
Michael Natterer 0c2d06f738 drop the restriction that plug-ins registered in <Image> must have
2005-09-26  Michael Natterer  <mitch@gimp.org>

	* app/plug-in/plug-in-params.c (plug_in_proc_args_check): drop the
	restriction that plug-ins registered in <Image> must have
	RUN-MODE, IMAGE, DRAWABLE parameters because everything but
	RUN-MODE is actually treated as optional be the rest of the code.

	* plug-ins/script-fu/scripts/paste-as-brush.scm
	* plug-ins/script-fu/scripts/paste-as-pattern.scm: removed IMAGE
	and DRAWABLE parameters.

	* plug-ins/common/screenshot.c
	* plug-ins/twain/twain.c
	* plug-ins/winsnap/winsnap.c: register menu entries in
	<Image>/File/Acquire
2005-09-26 00:25:49 +00:00
Sven Neumann 2e42c8ea83 minor dialog tweak.
2005-09-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/gqbist.c: minor dialog tweak.
2005-09-26 00:06:45 +00:00
Sven Neumann 4839271341 app/core/gimpdata.c app/file/file-save.c use g_access() from gstdio.h.
2005-09-26  Sven Neumann  <sven@gimp.org>

	* app/core/gimpdata.c
	* app/file/file-save.c
	* app/file/file-open.c: use g_access() from gstdio.h.

	* app/config/gimpconfig-file.c (gimp_config_file_copy)
	* libgimpthumb/gimpthumbnail.c: use g_chmod() from gstdio.h.

	* app/file/gimprecentlist.c
	* libgimpconfig/gimpconfigwriter.c: use g_creat() from gstdio.h.
2005-09-25 23:22:05 +00:00
Michael Natterer a0a13c8751 added Colors/Modify placeholder.
2005-09-26  Michael Natterer  <mitch@gimp.org>

	* menus/image-menu.xml.in: added Colors/Modify placeholder.

	* plug-ins/common/vinvert.c: moved to Colors/Modify/Invert.
2005-09-25 23:10:28 +00:00
Sven Neumann cef547b0d5 INSTALL bumped the required version of glib to 2.8.
2005-09-26  Sven Neumann  <sven@gimp.org>

	* INSTALL
	* configure.in: bumped the required version of glib to 2.8.

	* app/main.c: use G_OPTION_ARG_NONE flag with callback options
	that take no argument. Fixes command-line options needed for 'make
	dist', such as '--dump-gimprc'
2005-09-25 23:04:25 +00:00
Michael Natterer 49a0a7a1eb plug-ins/script-fu/scripts/carve-it.scm renamed to "Stencil Carve" and
2005-09-26  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/scripts/carve-it.scm
	* plug-ins/script-fu/scripts/chrome-it.scm: renamed to "Stencil Carve"
	and "Stencil Chrome" and moved to Filters/Decor.

	* plug-ins/script-fu/script-fu.c: don't register menu branches
	"Filters/Selection" and "Filters/Decor/Stencil Ops".
2005-09-25 23:02:06 +00:00
Carol Spears 83fcea4301 plug-ins/common/max_rgb.c moved menu entry from Colors to Colors/Modify.
2005-09-25  Carol Spears  <carol@gimp.org>
	* plug-ins/common/max_rgb.c moved menu entry from Colors to Colors/Modify.
	* plug-ins/common/borderaverage.c moved menu entry from Colors to Colors/Info and added some vital information to the registration information.
	* plug-ins/common/channel_mixer.c moved menu entry from Colors to Colors/Modify.
	* plug-ins/common/colorify.c moved menu entry from Colors to Colors/Modify.
	* plug-ins/common/fp.c moved menu entry from Colors to Colors/Modify.
	* plug-ins/common/retinex.c moved menu entry from Colors to Colors/Modify.
2005-09-25 22:39:30 +00:00
Michael Natterer 569ccab84d renamed to "Fade to Layer Mask..." and moved to the Select menu.
2005-09-26  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/scripts/fade-outline.scm: renamed to
	"Fade to Layer Mask..." and moved to the Select menu.
2005-09-25 22:19:33 +00:00
Sven Neumann 9534e52a17 NEWS update 2005-09-25 22:12:04 +00:00