Commit Graph

10231 Commits

Author SHA1 Message Date
Sven Neumann c743f6dee9 fixed my email address 2005-01-13 09:56:55 +00:00
Sven Neumann f20c9e81a7 added mk (Macedonian).
2005-01-13  Sven Neumann  <neumann@jpk.com>

        * configure.in (ALL_LINGUAS): added mk (Macedonian).
2005-01-13 09:43:24 +00:00
Sven Neumann f430627282 app/pdb/drawable_transform_cmds.c libgimp/gimpenums.h
2005-01-11  Sven Neumann  <neumann@jpk.com>

	* app/pdb/drawable_transform_cmds.c
	* libgimp/gimpenums.h
	* plug-ins/pygimp/gimpenums.py
	* tools/pdbgen/enums.pl: regenerated after change of
	GimpInterpolationType enum.
2005-01-11 18:36:58 +00:00
Sven Neumann f3166ba9f9 app/base/base-enums.[ch] app/core/gimpdrawable-transform.c
2005-01-11  Sven Neumann  <neumann@jpk.com>

	* app/base/base-enums.[ch]
	* app/core/gimpdrawable-transform.c
	* app/core/gimpdrawable.c
	* app/paint-funcs/Makefile.am
	* app/paint-funcs/paint-funcs.[ch]
	* app/paint-funcs/scale-funcs.[ch]: applied patch by Geert Jordaens
	(after a good deal of reformatting for coding style compliance).
	This factors the scale routines into their own file and adds a
	sinc-based (Lanczos) interpolation routine (bug #162250).
2005-01-11 18:31:07 +00:00
Sven Neumann 6d728c3046 removed wrong URL from help output.
2005-01-11  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/siod/slib.c (help): removed wrong URL from
	help output.
2005-01-11 09:41:53 +00:00
Manish Singh 4f792ee092 #include <time.h> to make sure all the types are there for the alsa
2005-01-10  Manish Singh  <yosh@gimp.org>

        * modules/controller_midi.c: #include <time.h> to make sure all
        the types are there for the alsa headers. Should address bug
        #163593.
2005-01-10 21:34:11 +00:00
Sven Neumann f453be6b2f explicitely mention the encoding.
2005-01-10  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/pdb/text_tool.pdb: explicitely mention the encoding.

	* app/pdb/text_tool_cmds.c
	* libgimp/gimptexttool_pdb.c: regenerated.
2005-01-10 21:17:43 +00:00
David Odin 65c70b0f1f update the preview when a parameter change. Updating the preview is now
* plug-ins/common/sparkle.c: update the preview when a parameter
  change.  Updating the preview is now disabled by default since it can
  be very slow.
2005-01-10 21:13:50 +00:00
Sven Neumann 773345cb6d fixed out-of-bounds access in gradient selection widget. Presumably fixes
2005-01-09  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpgradientmenu.c: fixed out-of-bounds access in
	gradient selection widget. Presumably fixes bug #163427.
2005-01-09 20:15:24 +00:00
Sven Neumann fb73b3d786 changed "Key" to "Cursor".
2005-01-09  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpcontrollerkeyboard.c: changed "Key" to "Cursor".
2005-01-09 02:07:31 +00:00
David Odin 524394cd3f added a preview. This will need more testing. Shlomi Fish, can you please
* plug-ins/common/sparkle.c: added a preview. This will need more
  testing.  Shlomi Fish, can you please try to test this plug-in again?
2005-01-09 01:35:07 +00:00
Sven Neumann ae128ff635 connect to "button_press_event" and start editing immidiately instead of
2005-01-09  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpactionview.c (gimp_action_view_new): connect to
	"button_press_event" and start editing immidiately instead of
	waiting for a second click. Fixes bug #163385.
2005-01-09 01:29:30 +00:00
Sven Neumann f571ceebec if called with (ensure_visibility == TRUE), raise the toolbox. Fixes bug
2005-01-09  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpdialogfactory.c (gimp_dialog_factories_toggle):
	if called with (ensure_visibility == TRUE), raise the toolbox.
	Fixes bug #163381.
2005-01-09 00:08:42 +00:00
David Odin b7e646fc8f made the preview fast enough to be useful.
* plug-ins/common/mosaic.c: made the preview fast enough to be useful.
2005-01-08 17:17:19 +00:00
Sven Neumann c9f83a1326 really fix handling of RTL layouts (bug #162663).
2005-01-08  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpcontainertreeview.c
	(gimp_container_tree_view_find_click_cell): really fix handling of
	RTL layouts (bug #162663).
2005-01-08 16:52:44 +00:00
Sven Neumann 09bb9ebb1d fixed handling of clicks into a horizontally scrolled treeview.
2005-01-08  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpcontainertreeview.c
	(gimp_container_tree_view_button_press): fixed handling of clicks
	into a horizontally scrolled treeview.
2005-01-08 16:35:39 +00:00
Sven Neumann 32731ae0ea use a GimpMessageBox to display the informative message when scaling an
2005-01-08  Sven Neumann  <sven@gimp.org>

	* app/dialogs/scale-dialog.c: use a GimpMessageBox to display the
	informative message when scaling an indexed image.
2005-01-08 16:22:31 +00:00
Sven Neumann 9167346a5c handle RTL layouts (fixes bug #162663).
2005-01-07  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpcontainertreeview.c
	(gimp_container_tree_view_button_press): handle RTL layouts (fixes
	bug #162663).
2005-01-07 21:46:04 +00:00
Shlomi Fish 48d6f68c02 made sure the shadow is given enough space and then truncated instead of
2005-01-07  Shlomi Fish  <shlomif@iglu.org.il>

	* plug-ins/script-fu/scripts/frosty-logo.scm: made sure the shadow
	is given enough space and then truncated instead of translated to the
	center of the image, thus preventing the display of shadows with
	a completely horizontal or vertical edge.

	Fixes bug #132145.
2005-01-07 20:47:03 +00:00
Michael Natterer 2cd34bf12d moved variables to local scopes, assign the snapped coords unconditionally
2005-01-07  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpimage-snap.c: moved variables to local scopes,
	assign the snapped coords unconditionally (also if we don't snap),
	cleanup.

	(gimp_image_snap_rectangle): entirely rewritten to use local
	mindist_x, mindist_y variables instead of fiddling with lots of
	boolean variables. Implemented vectors snapping as if the required
	GimpStroke functions existed (#defined them). Simon, your turn :)
2005-01-07 19:50:01 +00:00
Michael Natterer 35776754dd app/actions/plug-in-commands.c GIMP_PROGRESS(NULL) is perfectly valid, no
2005-01-07  Michael Natterer  <mitch@gimp.org>

	* app/actions/plug-in-commands.c
	* app/actions/vectors-commands.c: GIMP_PROGRESS(NULL) is perfectly
	valid, no need to say gdisp ? GIMP_PROGRESS(gdisp) : NULL.

	* app/actions/plug-in-commands.c (plug_in_run_cmd_callback):
	remember the last plug-in if it has at least 3 args, not 2.
	Cleaned up the whole function and removed cruft.
2005-01-07 19:36:43 +00:00
Sven Neumann 829fc5a061 app/composite/gimp-composite-x86.h applied patch from Andreas Jochens that
2005-01-07  Sven Neumann  <sven@gimp.org>

	* app/composite/gimp-composite-x86.h
	* app/composite/gimp-composite-sse.c: applied patch from Andreas
	Jochens that fixes the build on amd64 with gcc-4.0 (bug #163041).
2005-01-07 12:23:44 +00:00
Sven Neumann 89e291685d fixed my email address 2005-01-07 11:47:38 +00:00
Sven Neumann a99c35c785 changed Comment field as suggested in bug #160990.
2005-01-07  Sven Neumann  <neumann@jpk.com>

	* data/misc/gimp.desktop.in.in: changed Comment field as suggested
	in bug #160990.
2005-01-07 11:46:28 +00:00
Sven Neumann 65fff0d0a5 just some minor formatting changes.
2005-01-07  Sven Neumann  <neumann@jpk.com>

	* plug-ins/common/mail.c: just some minor formatting changes.
2005-01-07 08:56:10 +00:00
Sven Neumann adabbad909 plug-ins/jpeg/Makefile.am plug-ins/jpeg/jpeg-exif.c
2005-01-07  Sven Neumann  <sven@gimp.org>

	* plug-ins/jpeg/Makefile.am
	* plug-ins/jpeg/jpeg-exif.c
	* plug-ins/jpeg/jpeg-load.c
	* plug-ins/jpeg/jpeg-save.c
	* plug-ins/jpeg/jpeg.[ch]: some code cleanup.
2005-01-06 23:21:43 +00:00
Manish Singh 59399ad10e flush the display in dispose if we're no longer in a main loop, so the
2005-01-06  Manish Singh  <yosh@gimp.org>

        * libgimpwidgets/gimpdialog.c: flush the display in dispose if we're
        no longer in a main loop, so the dialog doesn't hang around while
        possibly long running calculations are being done. Fixes bug #163084.
2005-01-06 22:19:35 +00:00
Michael Schumacher 4bc5b20edd added gimp_scrolled_preview_set_position
2005-01-06  Michael Schumacher <schumaml@cvs.gnome.org>

	* libgimpwidgets/gimpwidgets.def: added
	gimp_scrolled_preview_set_position
2005-01-06 15:29:19 +00:00
Sven Neumann 3b6eae4e27 applied patch from Shlomi Fish that fixes more regressions in Sparkle
2005-01-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/sparkle.c: applied patch from Shlomi Fish that
	fixes more regressions in Sparkle plug-in (bug #132145).
2005-01-06 15:14:26 +00:00
David Odin d9e414fd8d new function: gimp_scrolled_preview_set_position () to set the position of
* libgimpwidgets/gimpscrolledpreview.[ch]: new function:
  gimp_scrolled_preview_set_position () to set the position of the
  preview content wrt the drawable.  This function might be moved to a
  virtual function of GimpPreview in a near future.

* libgimp/gimpdrawablepreview.c: use this function, so a preview
  remembers its position from one invocation to the next.  This is done
  using the current executable name as a key for gimp_set/get_data () so
  each plug-in can have its preview on a different place.

  More informations could be saved this way: the update toggle, the checks, etc.

  Addresses bug #162286.

* libgimpwidgets/gimppreview.c: smallish cleanup.
2005-01-05 22:33:44 +00:00
William Skaggs bd895a1131 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* configure.in: add check for libexif version >= 0.6.0,
	necessary because of nasty incompatible api change.

	* plug-ins/jpeg/exif-handling.txt: removed from here...

	* devel-docs/exif-handling.txt: ...and added here

	* plug-ins/jpeg/jpeg-exif.c
	* plug-ins/jpeg/Makefile.am
	* plug-ins/jpeg/jpeg-load.c
	* plug-ins/jpeg/jpeg.c
	* plug-ins/jpeg/jpeg.h: extract info from exif on loading,
	and add info to exif on saving, addresses bug #56433,
	bug #61499, and bug #121810.
2005-01-04 17:48:13 +00:00
Sven Neumann a6ac8d2480 set the default response to Cancel in order to reduce the risk of
2005-01-04  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-close.c
	(gimp_display_shell_close_dialog): set the default response to
	Cancel in order to reduce the risk of accidentally saving an
	image (bug #162872).
2005-01-04 00:14:06 +00:00
Sven Neumann a1818adf0f prepared code for fixing bug #162663.
2005-01-04  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpcontainertreeview.c: prepared code for fixing
	bug #162663.
2005-01-03 23:47:26 +00:00
David Odin 013a7a437c invalidate the preview when a parameter change. Disabled updating the
* plug-ins/common/mosaic.c: invalidate the preview when a parameter
  change.  Disabled updating the preview by default. There is room
  optimisations, but this fixes #162710.
2005-01-03 21:39:13 +00:00
Sven Neumann 4d1396596d made the code look more similar to GtkCellRendererToggle to allow for easy
2005-01-03  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpcellrenderertoggle.c
	(gimp_cell_renderer_toggle_get_size): made the code look more
	similar to GtkCellRendererToggle to allow for easy comparison.
2005-01-03 21:26:26 +00:00
Sven Neumann c314eef7e5 do actually add the new procedure gimp_gradient_is_editable().
2005-01-03  Sven Neumann  <neumann@jpk.com>

	* tools/pdbgen/pdb/gradient.pdb: do actually add the new procedure
	gimp_gradient_is_editable().

	* app/pdb/gradient_cmds.c
	* app/pdb/internal_procs.c
	* libgimp/gimpgradient_pdb.[ch]: regenerated.

	* libgimp/gimp.def: updated.
2005-01-03 17:58:25 +00:00
Michael Natterer 4a0b9cb662 app/actions/view-actions.c app/actions/view-commands.[ch]
2005-01-03  Michael Natterer  <mitch@gimp.org>

	* app/actions/view-actions.c
	* app/actions/view-commands.[ch]
	* app/display/gimpdisplayshell-appearance.[ch]
	* menus/image-menu.xml.in: reordered actions, functions and menu
	items so the "show" and "snap" actions are grouped.
2005-01-03 16:55:24 +00:00
Michael Natterer 150bea1e80 Implemented "Snap to Canvas Edges" (fixes bug #152971) and "Snap to Active
2005-01-03  Michael Natterer  <mitch@gimp.org>

	Implemented "Snap to Canvas Edges" (fixes bug #152971) and
	"Snap to Active Path" (half way done):

	* app/core/gimpimage-snap.[ch]: added boolean snap_to_canvas and
	snap_to_vectors parameters (snap_to_vectors works fine when
	snapping to a point, but is unimplemented for snapping to a
	rectangle).

	* app/display/gimpdisplayshell.[ch] (struct GimpDisplayShell):
	added snap_to_canvas and snap_to_vectors booleans.

	* app/display/gimpdisplayshell-appearance.[ch]: added API to
	get/set them.

	* app/actions/view-actions.c
	* app/actions/view-commands.[ch]
	* app/widgets/gimphelp-ids.h: added actions, callbacks and help IDs.

	* menus/image-menu.xml.in: added them to Image->View.
2005-01-03 16:19:10 +00:00
Sven Neumann 28251be0e9 use g_free() to release memory allocated using g_malloc().
2005-01-03  Sven Neumann  <neumann@jpk.com>

	* plug-ins/ifscompose/ifscompose.c: use g_free() to release memory
	allocated using g_malloc().
2005-01-03 15:40:51 +00:00
Michael Natterer 8e1a10737b need to snap the coordinates before passing them to the active tool.
2005-01-03  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell-autoscroll.c
	(gimp_display_shell_autoscroll_timeout): need to snap the
	coordinates before passing them to the active tool.
2005-01-03 15:00:55 +00:00
Sven Neumann 919ae7f5cb removed GtkFrame from dialog and replaced a call to free() by g_free().
2005-01-03  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/fp.c: removed GtkFrame from dialog and replaced
	a call to free() by g_free().
2005-01-03 13:22:44 +00:00
Michael Natterer fcc856868f app/paint/gimpbrushcore.c app/paint/gimppaintoptions.[ch] renamed
2005-01-03  Michael Natterer  <mitch@gimp.org>

	* app/paint/gimpbrushcore.c
	* app/paint/gimppaintoptions.[ch]
	* app/tools/gimppaintoptions-gui.c: renamed "invsize" to
	"inverse-size" and reordered it to be after "size".
2005-01-03 12:08:56 +00:00
Sven Neumann 71962f47a8 another update from Eric Pierce.
2005-01-03  Sven Neumann  <sven@gimp.org>

	* etc/ps-menurc: another update from Eric Pierce.
2005-01-02 23:14:14 +00:00
Sven Neumann 4e3026c637 handle event time as guint32. That's the type we deal with here and it
2005-01-03  Sven Neumann  <sven@gimp.org>

	* app/paint/gimpink.[ch]: handle event time as guint32. That's the
	type we deal with here and it avoids a crash that occured when
	autoscrolling with the Ink tool.

	* app/display/gimpdisplayshell-autoscroll.c: cosmetics.
2005-01-02 23:09:54 +00:00
Michael Natterer aef1cf9306 app/display/Makefile.am app/display/gimpdisplayshell-autoscroll.[ch] new
2005-01-02  Michael Natterer  <mitch@gimp.org>

	* app/display/Makefile.am
	* app/display/gimpdisplayshell-autoscroll.[ch]
	* app/display/gimpdisplayshell-coords.[ch]: new files factored out
	of gimpdisplayshell-callbacks.c

	* app/display/gimpdisplayshell.h (struct GimpDisplayShell): added
	"gpointer scroll_info" needed by autoscroll.

	* app/display/gimpdisplayshell-callbacks.c: removed the stuff
	above. Also removed the static autoscroll struct because it's not
	needed any longer.
2005-01-02 20:42:31 +00:00
David Odin 9ecaa8f22c Added a preview. This still needs some work and some testing. Calculating
* plug-ins/common/mosaic.c: Added a preview.  This still needs some
  work and some testing.  Calculating the preview takes ages.
2005-01-02 20:23:13 +00:00
William Skaggs 05015d7bbf Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/jpeg/exif-handling.txt:  added summary of how Gimp should
	handle each exif field according to the specs.
2005-01-02 18:19:53 +00:00
Sven Neumann 23a3bdf31e app/widgets/gimpsizebox.c round displayed resolution instead of just
2005-01-02  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpsizebox.c
	* app/widgets/gimptemplateeditor.c: round displayed resolution
	instead of just casting to integer values. Use image size limits
	from libgimpbase/gimplimits.h instead of some arbitrary numbers.
2005-01-02 16:55:50 +00:00
Manish Singh c84a37cdc0 ytpo fix 2005-01-02 09:07:18 +00:00
Manish Singh 9a303fd101 plug-ins/pygimp/plug-ins/clothify.py Add layers to images before using
2005-01-02  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/plug-ins/clothify.py
        * plug-ins/pygimp/plug-ins/foggify.py: Add layers to images before
        using then. Fixes bug #162707.
2005-01-02 09:05:31 +00:00