Commit Graph

10569 Commits

Author SHA1 Message Date
Sven Neumann fd308340d4 libgimp/gimpdrawablecombobox.c set a width request on the combo boxes.
2005-03-03  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpdrawablecombobox.c
	* libgimp/gimpimagecombobox.c: set a width request on the combo boxes.

	* plug-ins/common/bumpmap.c (SCALE_WIDTH): set a minimum width on
	the scales.
2005-03-03 00:06:28 +00:00
Manish Singh 92d6b9272d libgimp/gimp.[ch] libgimp/gimpdrawable.[ch] changed attach_new_parasite
2005-03-02  Manish Singh  <yosh@gimp.org>

        * libgimp/gimp.[ch]
        * libgimp/gimpdrawable.[ch]
        * libgimp/gimpimage.[ch]: changed attach_new_parasite variants
        to return success or failure.
2005-03-02 23:26:16 +00:00
Sven Neumann 35f692711e moved entry where it belongs 2005-03-02 21:14:06 +00:00
Sven Neumann 2b3bb7d1a0 app/dialogs/resize-dialog.c (resize_dialog_reset) don't rely on GObject
2005-03-02  Sven Neumann  <sven@gimp.org>

	* app/dialogs/resize-dialog.c (resize_dialog_reset)
	* app/dialogs/scale-dialog.c (scale_dialog_reset): don't rely on
	GObject internals about the order in which properties are being
	set. Fixes one aspect of bug #169011.
2005-03-02 21:13:02 +00:00
William Skaggs 80a6700cb0 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/tools/tools-enums.[ch]: oops, missed in previous
	commit.
2005-03-02 20:47:59 +00:00
William Skaggs c31defcbf7 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/tools/gimprectangletool.c
	* app/tools/gimprectangletool.h
	* app/tools/gimprectangleoptions.c
	* app/tools/gimprectangleoptions.h: new code for base
	class for rectangle tools.

	* app/tools/gimpnewrectselecttool.[ch]: modified to
	derive from GimpRectangleTool.

	* app/tools/Makefile.am: modified accordingly

	* app/tools/gimpselectionoptions.[ch]: remove stuff
	no longer needed by new rect select tool.

	This is work in progress.
2005-03-02 18:18:19 +00:00
William Skaggs d8457740b3 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* gimp/app/widgets/gimpgradienteditor.c: allow dnd of colors
	into preview and control areas, as described in
	bug #119470.
2005-03-02 16:18:47 +00:00
Sven Neumann 61383d1e41 mention the correct files in ChangeLog entry 2005-03-02 13:13:32 +00:00
Sven Neumann c3754839d4 app/text/gimptextlayout.[ch] allow to adjust letter-spacing.
2005-03-02  Sven Neumann  <sven@gimp.org>

	* app/text/gimptextlayout.[ch]
	* app/tools/gimptextoptions.h: allow to adjust letter-spacing.
2005-03-02 12:54:54 +00:00
Manish Singh 7b962482da use g_spawn_async_with_pipes instead of popen. Addresses bug #108659. Also
2005-03-01  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/mail.c: use g_spawn_async_with_pipes instead of
        popen. Addresses bug #108659. Also some general cleanup.

        * plug-ins/common/mblur.c: Fix some typos in comments.
2005-03-02 02:20:02 +00:00
Michael Natterer c7ca43a647 added VISIBLE and LINKED to the GimpImageResizeLayers enum.
2005-03-01  Michael Natterer  <mitch@gimp.org>

	* app/core/core-enums.[ch]: added VISIBLE and LINKED to the
	GimpImageResizeLayers enum.

	* app/core/gimpimage-resize.c (gimp_image_resize_with_layers):
	changed accordingly. Also looks nicer now.
2005-03-01 20:19:53 +00:00
Sven Neumann 1fa722aaa1 plug-ins/ifscompose/ifscompose.[ch] purely cosmetic coding style changes.
2005-03-01  Sven Neumann  <sven@gimp.org>

	* plug-ins/ifscompose/ifscompose.[ch]
	* plug-ins/ifscompose/ifscompose_utils.c: purely cosmetic coding
	style changes.
2005-03-01 15:42:44 +00:00
Kevin Cozens 3f0f5b2932 Fixed marshalling code to treat string arrays as arrays instead of lists
2005-03-01  Kevin Cozens  <kcozens@cvs.gimp.org>

	* plug-ins/script-fu/siod-wrapper.c: Fixed marshalling code to
	treat string arrays as arrays instead of lists of strings. Last
	part of the fix for bug #168290.
2005-03-01 05:50:36 +00:00
Sven Neumann 49005d9bfd removed gimp_enum_combo_box_set_visible().
2005-03-01  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpenumcombobox.[ch]: removed
	gimp_enum_combo_box_set_visible().

	* libgimpwidgets/gimpintcombobox.[ch]: added
	gimp_int_combo_box_set_sensitivity() instead.

	* app/tools/gimpcurvestool.c
	* app/tools/gimplevelstool.c
	* app/widgets/gimphistogrameditor.c: changed accordingly.

	* libgimpwidgets/gimpenumstore.h: added padding for future expansion.

	* libgimpwidgets/gimpwidgets.def: updated.
2005-02-28 23:27:12 +00:00
Sven Neumann d9e6ef3d93 major speedup for dithering code thanks to a suggestion from Jay Cox.
2005-02-28  Sven Neumann  <sven@gimp.org>

	* app/core/gimpdrawable-blend.c: major speedup for dithering code
	thanks to a suggestion from Jay Cox.
2005-02-28 21:52:41 +00:00
Sven Neumann 7684b18117 use g_get_language_names().
2005-02-28  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimphelp.c (gimp_help_get_locales): use
	g_get_language_names().

	* plug-ins/help/locales.c (locales_parse): simplified;
	g_get_language_names() already takes care of this.
2005-02-28 21:23:53 +00:00
Sven Neumann ca3560642d another build fix for compilers that don't support C99 extensions.
2005-02-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/imagemap/imap_menu.c (menu_build_mru_items): another
	build fix for compilers that don't support C99 extensions.
2005-02-27 20:39:36 +00:00
Sven Neumann de69e05da3 added an "ellipsize" construct property and changed the default behaviour
2005-02-27  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpintcombobox.c: added an "ellipsize" construct
	property and changed the default behaviour back to not doing
	ellipsation on the text.

	* libgimp/gimpimagecombobox.c
	* libgimp/gimpdrawablecombobox.c: set "ellipsize" to middle for
	drawable and image combo boxes.
2005-02-27 19:41:42 +00:00
Sven Neumann 7e6e291e0d improved readability by introducing a macro for the dithering code.
2005-02-27  Sven Neumann  <sven@gimp.org>

	* app/core/gimpdrawable-blend.c: improved readability by
	introducing a macro for the dithering code.
2005-02-27 16:14:33 +00:00
Sven Neumann 7aa3ee2217 fixed rounding errors in the non-dithered case and optimized the dithering
2005-02-27  Sven Neumann  <sven@gimp.org>

	* app/core/gimpdrawable-blend.c: fixed rounding errors in the
	non-dithered case and optimized the dithering code.
2005-02-27 15:47:33 +00:00
Sven Neumann 7f39e41254 improve the threaded performance by using a dedicated RNG per tile.
2005-02-27  Sven Neumann  <sven@gimp.org>

	* app/core/gimpdrawable-blend.c: (hopefully) improve the threaded
	performance by using a dedicated RNG per tile.
2005-02-27 15:06:40 +00:00
Sven Neumann e87c8aa085 app/core/gimpimage-convert-fsdither.h save a kilobyte of data by using
2005-02-27  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimage-convert-fsdither.h
	* app/core/gimpimage-convertc: save a kilobyte of data by using
	guchar for the range array.
2005-02-27 14:03:50 +00:00
Sven Neumann ddf1d6343f fixed Daniel's ChangeLog entry 2005-02-27 13:58:27 +00:00
Daniel Egger 0add60298a app/base/Makefile.am app/composite/*akefile.am app/config/*akefile.am
2005-02-27  Daniel Egger  <de@axiros.com>

	* app/base/Makefile.am
	* app/composite/*akefile.am
	* app/config/*akefile.am
	* app/core/*akefile.am
	* app/display/*akefile.am
	* app/file/*akefile.am
	* app/paint-funcs/*akefile.am
	* app/pdb/*akefile.am
	* app/plug-in/*akefile.am
	* app/text/*akefile.am
	* app/tools/*akefile.am
	* app/vectors/*akefile.am
	* app/xcf/*akefile.am: Commonized include paths to always look
	in the builddir also to cater for srcdir != builddir builds.
2005-02-27 13:22:01 +00:00
Sven Neumann 644a234f30 fixed my ChangeLog entry 2005-02-27 00:35:53 +00:00
Sven Neumann 8de1e94bb7 removed the "last_visited" field from GimpGradient. Instead added the new
2005-02-27  Sven Neumann  <sven@gimp.org>

	* app/core/gimpgradient.[ch]: removed the "last_visited" field
	from GimpGradient. Instead added the new function
	gimp_gradient_get_color_at_segment() that allows the caller to do
	the same optimization.

	* app/actions/gradient-editor-commands.c
	* app/core/gimpdrawable-blend.c
	* app/core/gimppalette-import.c
	* app/paint/gimppaintoptions.c
	* app/widgets/gimpgradienteditor.c
	* app/widgets/gimpgradientselect.c
	* app/widgets/gimpviewrenderergradient.c: changed accordingly.

	* app/pdb/gradient_cmds.c
	* app/pdb/gradients_cmds.c: regenerated.
2005-02-26 23:55:50 +00:00
Manish Singh 5f4cec76da revert change to read images one row at a time, it didn't really fix the
2005-02-26  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/png.c: revert change to read images one row at a
        time, it didn't really fix the bug.
2005-02-26 21:44:23 +00:00
Sven Neumann 52b88c61d2 minor code cleanup.
2005-02-26  Sven Neumann  <sven@gimp.org>

	* app/core/gimpdrawable-blend.c: minor code cleanup.
2005-02-26 18:36:12 +00:00
Sven Neumann 79788b7dad obtain a lock on the pool mutex while signalling the termination
2005-02-26  Sven Neumann  <sven@gimp.org>

	* app/base/pixel-processor.c (do_parallel_regions): obtain a lock
	on the pool mutex while signalling the termination condition.
2005-02-26 11:55:52 +00:00
William Skaggs 3fd43655f9 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/png.c: read non-interlaced files one row
	at a time instead of in 64-row chunks; fixes bug #137327.
2005-02-25 23:59:26 +00:00
Kevin Cozens 9c5ed1cbae plug-ins/script-fu/siod/siod.h Creation and manipulation of string arrays
2005-02-25  Kevin Cozens  <kcozens@cvs.gimp.org>

	* plug-ins/script-fu/siod/siod.h
	* plug-ins/script-fu/siod/sliba.c: Creation and manipulation of
	string arrays was seriously broken. Fixes bug #168290.
2005-02-25 21:36:22 +00:00
Sven Neumann 3992f138ec fixed indentation.
2005-02-25  Sven Neumann  <sven@gimp.org>

	* app/base/pixel-processor.c: fixed indentation.
2005-02-25 11:54:18 +00:00
Jay Cox 3f532376e8 > > * app/base/pixel-processor.c: fixed potential race condition on >
2005-02-24  Jay Cox  <jaycox@gimp.org>
>
>       * app/base/pixel-processor.c: fixed potential race condition on
>       processor->threads.  Changed mutex to a GMutex from a GStaticMutex
>       because it needs to me initialized anyway.  Placed g_cond_wait
>       calls inside while loops to handle g_cond_wait returning prematurely.
2005-02-24 22:58:02 +00:00
Manish Singh 33b974b4e6 Handle large file sizes, and update the downloaded size for unknown file
2005-02-24  Manish Singh  <yosh@gimp.org>

        * plug-ins/uri/uri-backend-wget.c: Handle large file sizes, and
        update the downloaded size for unknown file sizes.
2005-02-24 18:34:38 +00:00
Sven Neumann bc5addbe1e pulse the progress while downloading an unspecified amount of data.
2005-02-24  Sven Neumann  <sven@gimp.org>

	* plug-ins/uri/uri-backend-wget.c (uri_backend_load_image): pulse
	the progress while downloading an unspecified amount of data.
2005-02-24 18:31:08 +00:00
Michael Natterer be2a5944a7 Forgot credits. 2005-02-24 18:22:27 +00:00
Manish Singh 7ca5df8645 Handle HTTP 302 Redirect output from wget properly. Also give a little
2005-02-24  Manish Singh  <yosh@gimp.org>

        * plug-ins/uri/uri-backend-wget.c: Handle HTTP 302 Redirect output
        from wget properly. Also give a little more informative display for
        unspecified sizes. Fixes bug #168322.
2005-02-24 17:19:13 +00:00
Sven Neumann 9c1c0081b4 preselect the image just as in file_open_from_image_cmd_callback().
2005-02-24  Sven Neumann  <sven@gimp.org>

	* app/actions/file-commands.c (file_open_as_layer_cmd_callback):
	preselect the image just as in file_open_from_image_cmd_callback().
2005-02-24 17:18:11 +00:00
Michael Natterer 03182eba8d Allow to resize layers with the image. Fixes bug #87789.
2005-02-24  Michael Natterer  <mitch@gimp.org>

	Allow to resize layers with the image. Fixes bug #87789.

	* app/core/core-enums.[ch]: added enum GimpImageResizeLayers which
	can be one of { NONE, MATCHING, ALL }.

	* app/core/gimpimage-resize.[ch]: added new function
	gimp_image_resize_with_layers().

	* app/dialogs/resize-dialog.[ch]: added a "Layers" frame
	containing a "Resize Layers" combo box offering the choices above.
	Changed GimpResizeCallback signature accordingly.

	* app/actions/image-commands.c
	* app/actions/layers-commands.c: changed accordingly.
2005-02-24 16:39:12 +00:00
Michael Natterer 65f360d6c7 don't reset button->press_state on double clicks because GDK_2BUTTON_PRESS
2005-02-23  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimpbutton.c (gimp_button_button_press): don't
	reset button->press_state on double clicks because
	GDK_2BUTTON_PRESS always arrive immediately after
	GDK_BUTTON_PRESS, so resetting the state causes the second click
	of a double click to be always interpreted as "clicked", not
	"extended-clicked", breaking e.g. adding of multiple layers by
	shift-clicking the layers dialog's "new" button. Phew, too much
	text for a one-liner bug fix, blah... Spotted by Jimmac.
	Cleaned up this antique file a bit.
2005-02-23 23:03:00 +00:00
William Skaggs ea8c0e3bc9 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/*/Makefile.am
	* plug-ins/common/mkgen.pl: add libgimpmath deps
	needed because libgimpconfig links it.
2005-02-23 22:01:58 +00:00
Shlomi Fish a363e869ba fixed the numbers of parameters check in RUN_NONINTERACTIVE. (it was a
* plug-ins/common/displace.c: fixed the numbers of parameters check
  in RUN_NONINTERACTIVE. (it was a typo).
2005-02-23 17:40:56 +00:00
Sven Neumann b284772f77 removed redundant casts, made gimp_display_shell_compress_motion() static.
2005-02-22  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-callbacks.c: removed redundant casts,
	made gimp_display_shell_compress_motion() static.
2005-02-22 21:38:04 +00:00
Sven Neumann 28514e96cc fixed Shlomi's ChangeLog entry 2005-02-22 19:00:11 +00:00
Shlomi Fish 6c659592da add the gimp_channel_new_from_component() PDB function.
2005-02-22  Shlomi Fish  <shlomif@iglu.org.il>

	* tools/pdbgen/pdb/channel.pdb: add the
	gimp_channel_new_from_component() PDB function.

	* libgimp/gimpchannel_pdb.c
	* app/pdb/channel_cmds.c: resultant files.

	* libgimp/gimp.def: add the new function to the def file

	* devel-docs/libgimp/libgimp-sections.txt: add the new function
	to devel-docs
2005-02-22 17:58:36 +00:00
Michael Natterer 4d03c8862d app/tools/gimpmagnifytool.c (gimp_magnify_tool_init)
2005-02-22  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpmagnifytool.c (gimp_magnify_tool_init)
	* app/tools/gimpmeasuretool.c (gimp_measure_tool_init)
	* app/tools/gimpvectortool.c (gimp_vector_tool_init): set
	handles_empty_image to TRUE because all these tools work fine
	without active drawable.

	* app/display/gimpdisplayshell-callbacks.c
	(gimp_display_shell_canvas_tool_events): also look at
	handles_empty_image, not only at gimp_image_is_empty() before
	setting the BAD cursor.
2005-02-22 12:16:23 +00:00
Manish Singh 9676e99884 be smarter about finding trailing numbers that look like sizes, so we
2005-02-21  Manish Singh  <yosh@gimp.org>

        * app/text/gimpfont-utils.[ch]: be smarter about finding trailing
        numbers that look like sizes, so we don't have spurious commas.

        * app/text/gimpfontlist.c: As an optimization, figure out if
        pango needs a workaround, and if not, just call it directly.
2005-02-22 01:28:45 +00:00
Michael Natterer 39fd4b3984 put back some important code that was accidentially removed when fixing
2005-02-21  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell-callbacks.c
	(gimp_display_shell_canvas_tool_events): put back some important
	code that was accidentially removed when fixing bug #162823. Also
	moved the calls to gtk_grab_add() and gtk_grab_remove() around a
	bit.
2005-02-21 18:41:05 +00:00
Michael Natterer b83dff24d5 apply evil size_request hacks to the color/image/foo areas' wrapbox
2005-02-21  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimptoolbox.c (toolbox_area_notify): apply evil
	size_request hacks to the color/image/foo areas' wrapbox because
	its child requisition/allocation code is apparently broken. Works
	around bug #162500.
2005-02-21 18:21:50 +00:00
Sven Neumann 4339fb30aa fixed emboss on small images (bug #168022).
2005-02-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/emboss.c: fixed emboss on small images (bug #168022).
2005-02-21 16:12:27 +00:00