Commit Graph

16958 Commits

Author SHA1 Message Date
David Odin 95f8702dbe call gtk_adjustment_value_changed in addition to gtk_adjustment_changed,
* libgimp/gimpzoompreview.c: call gtk_adjustment_value_changed in
  addition to gtk_adjustment_changed, so the offsets are correctly
  updated.
2005-10-01 12:01:27 +00:00
Manish Singh 678de416f4 use canonical name for run-mode.
2005-09-30  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-pdb.c (pf_call): use canonical name for
        run-mode.

        * plug-ins/pygimp/plug-ins/clothify.py
        * plug-ins/pygimp/plug-ins/foggify.py: revert the below, since
        we eat the run-mode parameter again.
2005-10-01 06:30:03 +00:00
Carol Spears 958d6837ea plug-ins/pygimp/plug-ins/clothify.py Added run_mode parameter.
* plug-ins/pygimp/plug-ins/clothify.py
* plug-ins/pygimp/plug-ins/foggify.py: Added run_mode parameter.
2005-10-01 04:55:28 +00:00
Simon Budig 3c2e94a2fb Added small utility function for the manhattan metric.
2005-10-01  Simon Budig  <simon@gimp.org>

	* app/core/gimpcoords.[ch]: Added small utility function for the
	manhattan metric.

	* app/vectors/gimpstroke.[ch]: virtualized stubs provided by mitch

	* app/vectors/gimpbezierstroke.c: Reworked some internal functions
	to make it easier to access the parameters for the coordinates of an
	stroke interpolation. Simplified the straight line test. Added an
	implementation of the _nearest_tangent_get () function that does
	not yet seem to work properly. Not sure where the problem is.
2005-10-01 00:49:44 +00:00
Adam Weinberger e935273a19 Updated Canadian English translation.
2005-09-30  Adam Weinberger  <adamw@gnome.org>

	* en_CA.po: Updated Canadian English translation.
2005-09-30 20:12:22 +00:00
Michael Natterer e7e2296fe5 app/actions/image-commands.c app/actions/layers-commands.c
2005-09-30  Michael Natterer  <mitch@gimp.org>

	* app/actions/image-commands.c
	* app/actions/layers-commands.c
	* app/actions/view-actions.c
	* app/core/gimpdrawable-foreground-extract.c
	* app/core/gimpimagefile.c
	* app/core/gimpprogress.c
	* app/dialogs/convert-dialog.c
	* app/tools/gimpblendtool.c
	* app/tools/gimpperspectivetool.c
	* app/tools/gimprotatetool.c
	* app/tools/gimpscaletool.c
	* app/tools/gimpsheartool.c
	* app/tools/gimptransformtool.c
	* app/widgets/gimpthumbbox.c
	* tools/pdbgen/pdb/drawable_transform.pdb
	* tools/pdbgen/pdb/edit.pdb
	* tools/pdbgen/pdb/transform_tools.pdb: removed '...' from
	progress messages. Removed spaces between the text and the '...'
	in some other places.

	* app/pdb/drawable_transform_cmds.c
	* app/pdb/edit_cmds.c
	* app/pdb/transform_tools_cmds.c: regenerated.
2005-09-30 17:50:50 +00:00
Michael Natterer 3ddaa79b8c a-r-g-h!!! 2005-09-30 17:22:58 +00:00
Carol Spears 9010e5dadd removed code that limited plug-in registration.
* plug-ins/pygimp/gimpfu.py: removed code that limited plug-in registration.
2005-09-30 17:10:08 +00:00
Michael Natterer e74278f524 oops... 2005-09-30 17:08:51 +00:00
Michael Natterer 8db6b9cfa0 added stubs of two new snapping functions.
2005-09-30  Michael Natterer  <mitch@gimp.org>

	* app/vectors/gimpstroke.[ch]: added stubs of two new snapping
	functions.

	* app/core/gimpimage-snap.c: removed their #defines here.
2005-09-30 17:07:49 +00:00
Sven Neumann f6b370952c app/core/core-enums.[ch] moved GimpGridStyle enum to libgimpbase.
2005-09-30  Sven Neumann  <sven@gimp.org>

	* app/core/core-enums.[ch]
	* libgimpbase/gimpbaseenums.[ch]: moved GimpGridStyle enum to
	libgimpbase.

	* app/core/gimpimage-grid.h: indentation.

	* app/pdb/Makefile.am
	* libgimp/Makefile.am
	* tools/pdbgen/Makefile.am
	* tools/pdbgen/pdb/grid.pdb: applied slightly modified patch by
	Sylvain FORET that adds a PDB API for the image grid.

	* app/pdb/grid_cmds.c
	* app/pdb/internal_procs.c
	* libgimp/gimp_pdb.h
	* libgimp/gimpenums.c.tail
	* libgimp/gimpgrid_pdb.[ch]
	* tools/pdbgen/enums.pl
	* tools/pdbgen/groups.pl: (re)generated.

	* libgimp/gimp.def
	* libgimpbase/gimpbase.def: updated.
2005-09-30 16:35:04 +00:00
Sven Neumann 2931a99023 libgimp/libgimp-sections.txt libgimp/tmpl/gimpbuffer.sgml updated.
2005-09-30  Sven Neumann  <sven@gimp.org>

	* libgimp/libgimp-sections.txt
	* libgimp/tmpl/gimpbuffer.sgml
	* libgimp/tmpl/gimpprogress.sgml: updated.
2005-09-30 12:35:28 +00:00
Sven Neumann 05c2278fca handle RGB drawables and implicitely add the alpha channel.
2005-09-30  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/gbr.c (save_image): handle RGB drawables and
	implicitely add the alpha channel.
2005-09-30 10:01:14 +00:00
Michael Natterer 9bab9caf4e use GIMP_STOCK_CHAR_PICKER for the keyboard shortcuts dialog. Not quite
2005-09-30  Michael Natterer  <mitch@gimp.org>

	* app/actions/dialogs-actions.c (dialogs_toplevel_actions): use
	GIMP_STOCK_CHAR_PICKER for the keyboard shortcuts dialog. Not
	quite right but at least greppable when we have a proper icon.
2005-09-30 08:27:57 +00:00
Michael Natterer 50eb1684ad removed forgotten foreign registration of
2005-09-30  Michael Natterer  <mitch@gimp.org>

	* app/dialogs/dialog.c: removed forgotten foreign registration of
	"gimp-keyboard-shortcuts-dialog".
2005-09-30 08:20:28 +00:00
Michael Natterer 3f5050323f removed '...' from progress messages. They are redundant because we are
2005-09-30  Michael Natterer  <mitch@gimp.org>

	* plug-ins/*/*.c: removed '...' from progress messages. They are
	redundant because we are already in a progress. Ported some more
	g_strdup_printf()/gimp_progress_init() to
	gimp_progress_init_printf(). Core will follow...
2005-09-30 08:16:10 +00:00
Manish Singh 8ef2823a06 Finish porting to new progress API (and make it build).
2005-09-29  Manish Singh  <yosh@gimp.org>

        * plug-ins/uri/uri-backend-wget.c: Finish porting to new progress
        API (and make it build).

        * plug-ins/uri/uri-backend-gnomevfs.c: Convert a g_strdup_printf
        gimp_progress_set_text pair to gimp_progress_set_text_printf.
2005-09-30 03:21:32 +00:00
Sven Neumann f3bfb29a03 app/actions/dialogs-actions.c app/dialogs/dialogs-constructors.[ch]
2005-09-30  Sven Neumann  <sven@gimp.org>

	* app/actions/dialogs-actions.c
	* app/dialogs/dialogs-constructors.[ch]
	* app/dialogs/dialogs.c
	* app/dialogs/keyboard-shortcuts-dialog.[ch]: register the keyboard
	shortcut dialog with the dialog factory as singleton toplevel dialog.

	* app/dialogs/preferences-dialog.c: changed accordingly.

	* menus/image-menu.xml.in: added a "Keyboard Shortcuts" entry to
	the Edit menu.
2005-09-30 00:40:45 +00:00
Sven Neumann b762bed46c actually add the new files
* app/dialogs/keyboard-shortcuts-dialog.[ch]: actually add the new files
2005-09-30 00:07:58 +00:00
Sven Neumann 14d7fb7fe4 app/dialogs/Makefile.am app/dialogs/keyboard-shortcuts-dialog.[ch]
2005-09-30  Sven Neumann  <sven@gimp.org>

	* app/dialogs/Makefile.am
	* app/dialogs/keyboard-shortcuts-dialog.[ch]
	* app/dialogs/preferences-dialog.c
	* app/widgets/gimphelp-ids.h: moved Keyboard Shortcuts dialog into
	it's own file.
2005-09-30 00:07:21 +00:00
Akkana Peck b60d723bc9 Autocrop was cropping too much. 2005-09-29 23:17:45 +00:00
Akkana Peck aa24ce9c40 Autocrop was cropping too much, eliminating the first non-background
row/column on each edge.
2005-09-29 23:15:41 +00:00
Sven Neumann 622c3d04f8 clarified ChangeLog entry a bit 2005-09-29 22:29:46 +00:00
Sven Neumann c995db3ce0 app/base/tile-cache.c app/base/tile-manager.c app/base/tile-private.h
2005-09-29  Sven Neumann  <sven@gimp.org>

	* app/base/tile-cache.c
	* app/base/tile-manager.c
	* app/base/tile-private.h
	* app/base/tile-swap.c
	* app/base/tile.c: keep the data size of a tile in the Tile struct
	instead of recalculating it over and over again. Adds an overhead
	of 4 bytes per tile but speeds up the tile cache significantly.
2005-09-29 22:24:57 +00:00
Sven Neumann b3a7108d07 optimizations by Tobias Lenz.
2005-09-29  Sven Neumann  <sven@gimp.org>

	* app/base/siox.c: optimizations by Tobias Lenz.
2005-09-29 19:29:44 +00:00
Michael Natterer e3da6be9b5 removed the "wrap" from gimp_progress_set_text() so it shows up as libgimp
2005-09-29  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/progress.pdb: removed the "wrap" from
	gimp_progress_set_text() so it shows up as libgimp function again.

	* libgimp/gimpprogress_pdb.[ch]: regenerated.

	* libgimp/gimpprogress.[ch]: changed the old
	gimp_progress_set_text() to gimp_progress_set_text_printf() and
	added gimp_progress_init_printf(). (did this because the method of
	calling init(NULL) followed by set_text("foo") caused popup
	progress windows to be resized after they were shown).

	* libgimp/gimp.def: changed accordingly.

	* plug-ins/*/*.c: use gimp_progress_init_printf() instead of
	init(NULL) plus set_text(foo) and changed users of set_text() to
	use set_text_printf().
2005-09-29 18:34:08 +00:00
Sven Neumann eb4545886f removed the frame around the progress bar.
2005-09-29  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-interface.c: removed the frame
	around the progress bar.
2005-09-29 18:22:18 +00:00
Akkana Peck 7c3a0c7bbf plug-ins/common/zealouscrop.c Update every 20 steps, instead of 19 out of
* plug-ins/common/zealouscrop.c
	Update every 20 steps, instead of 19 out of every 20.
2005-09-29 16:10:59 +00:00
Sven Neumann 0fd272761f don't set the procedure browser transient to the script-fu console.
2005-09-29  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-console.c
	(script_fu_browse_callback): don't set the procedure browser
	transient to the script-fu console.
2005-09-29 10:59:08 +00:00
Adam Weinberger 9012169cc3 Updated Canadian English translation.
2005-09-28  Adam Weinberger  <adamw@gnome.org>

	* en_CA.po: Updated Canadian English translation.
2005-09-29 01:43:20 +00:00
Marcel Telka a27c31282d Updated Slovak translation.
2005-09-28  Marcel Telka  <marcel@telka.sk>

	* sk.po: Updated Slovak translation.
2005-09-28 23:09:56 +00:00
Vincent van Adrighem 875d489c1e Translation updated by Tino Meinen.
2005-09-28  Vincent van Adrighem  <adrighem@gnome.org>

	* nl.po: Translation updated by Tino Meinen.
2005-09-28 21:38:05 +00:00
Michael Natterer 14b9312a72 app/widgets/gimpprogressbox.c made progress bars HIG compliant (with
2005-09-28  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpprogressbox.c
	* plug-ins/script-fu/script-fu-interface.c: made progress bars HIG
	compliant (with italic label below).

	* app/widgets/gimpfiledialog.[ch]: use a GimpProgressBox intead of
	implementing the progress bar again.
2005-09-28 21:20:05 +00:00
Michael Natterer d9a139ad36 fixed action parameter to match both the palette list and grid. Fixes bug
2005-09-28  Michael Natterer  <mitch@gimp.org>

	* app/actions/dialogs-actions.c (dialogs_dockable_actions): fixed
	action parameter to match both the palette list and grid.
	Fixes bug #317435.
2005-09-28 21:14:02 +00:00
Sven Neumann 19656be202 mmap the config file using GMappedFile. Let's see how well this works...
2005-09-28  Sven Neumann  <sven@gimp.org>

	* libgimpconfig/gimpscanner.c (gimp_scanner_new_file): mmap the
	config file using GMappedFile. Let's see how well this works...
2005-09-28 18:48:42 +00:00
Sven Neumann fdc8ed7f57 libgimpwidgets/libgimpwidgets-sections.txt
2005-09-28  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/libgimpwidgets-sections.txt
	* libgimpwidgets/tmpl/gimppreview.sgml
	* libgimpwidgets/tmpl/gimpscrolledpreview.sgml
	* libgimpwidgets/tmpl/gimpstock.sgml: updated.
2005-09-28 18:04:33 +00:00
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