Commit Graph

15107 Commits

Author SHA1 Message Date
Sven Neumann b1a69cc16c translation updates don't belong here
svn path=/trunk/; revision=23544
2007-09-14 07:42:30 +00:00
Gintautas Miliauskas 8dd7fbe7a7 Updated Lithuanian translation.
2007-09-14  Gintautas Miliauskas  <gintas@akl.lt>

	* lt.po: Updated Lithuanian translation.


svn path=/trunk/; revision=23540
2007-09-13 22:47:30 +00:00
Kevin Cozens df8ba63817 Removed 'from-selection'. Reset active layer after calling
2007-09-13  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/scripts/lava.scm: Removed 'from-selection'.
	Reset active layer after calling gimp-selection-save. Modified
	version of patch from Jakub Friedl which fixes bug #476672. Don't
	add alpha if drawable already has alpha. Minor format changes.

svn path=/trunk/; revision=23534
2007-09-13 20:37:17 +00:00
Sven Neumann bf5ac91bff also commit the ChangeLog entry
svn path=/trunk/; revision=23531
2007-09-13 16:56:32 +00:00
Sven Neumann 574a6f7524 libgimpwidgets/gimpcolorprofilestore-private.h
2007-09-13  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpcolorprofilestore-private.h
	* libgimpwidgets/gimpcolorprofilestore.c
	* libgimpwidgets/gimpcolorprofilecombobox.c: only keep the eight
	most recently used profiles in the history.

svn path=/trunk/; revision=23529
2007-09-13 15:42:28 +00:00
Nils Philippsen 0691f94df6 app/file/file-save.[ch] (file_save) app/dialogs/file-save-dialog.c
* app/file/file-save.[ch] (file_save)
* app/dialogs/file-save-dialog.c (file_save_dialog_save_image)
* app/actions/file-commands.c (file_save_cmd_callback)
* app/widgets/gimpdnd-xds.c (gimp_dnd_xds_save_image): don't pass
Gimp instance to file_save() calls as it's not needed

svn path=/trunk/; revision=23528
2007-09-13 14:48:32 +00:00
Michael Natterer fedf9b92fc "Fix" ChangeLog formatting (pedantic mode).
svn path=/trunk/; revision=23527
2007-09-13 14:35:49 +00:00
Nils Philippsen 8ff9c4c84c drop own recently used files code in favour of GtkRecentManager:
* app/core/gimp-gui.c (gimp_recent_list_add_uri), app/core/gimp-gui.h,
app/gui/gui-vtable.c (gui_recent_list_add_uri): add
{gimp,gui}_recent_list_add_uri(), gui_recent_list_add_uri() dispatches to
GtkRecentManager

* app/dialogs/file-save-dialog.c (file_save_dialog_save_image),
app/actions/file-commands.c (file_save_cmd_callback),
app/widgets/gimpdnd-xds.c (gimp_dnd_xds_save_image): pass Gimp instance to
file_save() calls

* app/file/file-open.c (file_open_with_proc_and_display,
file_open_layers), app/file/file-save.c (file_save), app/file/file-save.h:
pass Gimp instance to gimp_recent_list_add_uri() calls

* app/file/gimprecentitem.c, app/file/gimprecentitem.h,
app/file/gimprecentlist.c, app/file/gimprecentlist.h: removed

* app/file/Makefile.am: drop reference to removed files

svn path=/trunk/; revision=23526
2007-09-13 14:19:30 +00:00
Michael Natterer 6a832ba3ee : remove PANGO_DISABLE_DEPRECATED only for pango >= 1.19, GIMP builds fine
2007-09-13  Michael Natterer  <mitch@gimp.org>

	* configure.in: : remove PANGO_DISABLE_DEPRECATED only for
	pango >= 1.19, GIMP builds fine against 1.18


svn path=/trunk/; revision=23525
2007-09-13 13:44:04 +00:00
Sven Neumann ca25986334 removed static variable debug_context but keep the warnings about NULL
2007-09-13  Sven Neumann  <sven@gimp.org>

	* app/core/gimpviewable.c: removed static variable debug_context
	but keep the warnings about NULL contexts.

svn path=/trunk/; revision=23524
2007-09-13 13:30:21 +00:00
Sven Neumann 6c3fe663b0 corrected Pango version number in comment.
2007-09-13  Sven Neumann  <sven@gimp.org>

	* app/text/gimpfontlist.c (gimp_font_list_add_font): corrected
	Pango version number in comment.

	* app/widgets/gimpundoeditor.c (gimp_undo_editor_set_context):
	chain up after initializing the context. Fixes a warning about
	gimp_viewable_get_new_preview() being called with a NULL context.

svn path=/trunk/; revision=23523
2007-09-13 12:42:24 +00:00
Michael Natterer ec11dbc1a1 remove FOO_DISABLE_DEPRECATED for only glib >= 2.15 and gtk+ >= 2.13, GIMP
2007-09-13  Michael Natterer  <mitch@gimp.org>

	* configure.in: remove FOO_DISABLE_DEPRECATED for only glib >= 2.15
	and gtk+ >= 2.13, GIMP builds fine against the 2.14 and 2.12 APIs
	apart from:

	* app/tools/gimpselectionoptions.c
	* libgimpwidgets/gimphelpui.c: undef GTK_DISABLE_DEPRECATED because
	GtkTooltips is deprecated in gtk+ 2.12.

	* libgimp/gimpui.c
	* plug-ins/common/pat.c: the address of an array is always
	non-NULL, no need to check for that. Fixes new gcc warnings.


svn path=/trunk/; revision=23522
2007-09-13 10:44:07 +00:00
Øyvind Kolås eb8924c0cb clone the middle row/column when walking off the source drawable during
* app/display/gimpdisplayshell-render.c: (render_image_tile_fault),
(render_image_tile_fault_one_row): clone the middle row/column when
walking off the source drawable during downscaling. Probably fixes bug
#469567.

svn path=/trunk/; revision=23521
2007-09-12 20:26:58 +00:00
Michael Natterer 71443ad04a if the parent toplevel is modal, make the unit selection dialog modal too.
2007-09-12  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimpunitmenu.c (gimp_unit_menu_create_selection):
	if the parent toplevel is modal, make the unit selection dialog
	modal too. Fixes bug #389358.


svn path=/trunk/; revision=23520
2007-09-12 19:03:04 +00:00
Sven Neumann ebbb44d063 typo
svn path=/trunk/; revision=23519
2007-09-12 18:49:18 +00:00
Sven Neumann 1954ee81fe use the offsets module TILE_WIDTH and TILE_HEIGHT instead of doing the
2007-09-12  Sven Neumann  <sven@gimp.org>

	* app/base/tile.c (tile_data_pointer): use the offsets module
	TILE_WIDTH and TILE_HEIGHT instead of doing the module operation
	in each and every caller.

	* app/base/boundary.c
	* app/base/pixel-region.c
	* app/base/tile-manager.c
	* app/core/gimpchannel.c
	* app/core/gimpdrawable-blend.c
	* app/core/gimpdrawable.c
	* app/core/gimpimage-contiguous-region.c
	* app/core/gimplayer.c
	* app/display/gimpdisplayshell-render.c
	* app/paint-funcs/paint-funcs.c
	* app/paint/gimppaintcore.c
	* app/tools/gimpiscissorstool.c: changed accordingly.


svn path=/trunk/; revision=23515
2007-09-12 18:29:11 +00:00
Sven Neumann e2cd1d4170 \2007-09-12 Sven Neumann <sven@gimp.org>
* app/core/gimp-transform-region.c (supersample_dtest): use
	G_SQRT2 instead of defining this constant again.


svn path=/trunk/; revision=23514
2007-09-12 17:28:24 +00:00
Michael Natterer c3f89cc7f0 Bring back our menus when building on OS X but not against the quartz GDK
2007-09-12  Michael Natterer  <mitch@gimp.org>

	Bring back our menus when building on OS X but not against the
	quartz GDK backend:

	* configure.in: added conditional HAVE_GDK_QUARTZ.

	* menus/Makefile.am: use it when moving the help menu around.

	* app/dialogs/preferences-dialog.c
	* app/display/gimpdisplayshell.c
	* app/gui/gtk-macmenu.c
	* app/gui/gui.c
	* app/widgets/gimptoolbox.c: use #ifdef GDK_WINDOWING_QUARTZ
	instead of #ifdef HAVE_CARBON when enabling the global menubar.


svn path=/trunk/; revision=23512
2007-09-12 16:26:04 +00:00
Sven Neumann 028d523aeb fixed reference count of the profile store.
2007-09-12  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpcolorprofilecombobox.c
	(gimp_color_profile_combo_box_new): fixed reference count of the
	profile store.

svn path=/trunk/; revision=23511
2007-09-12 16:11:39 +00:00
Øyvind Kolås eaf6052df1 do not invoke supersampling for linear, bicubic and lanczos until the
* app/core/gimp-transform-region.c: (supersample_dtest): do not invoke
supersampling for linear, bicubic and lanczos until the largest
horizontal/vertical difference between transformed pixel corners goes
above sqrt(2) (this ensures interpolation instead of supersampling is
used for rotation.)

svn path=/trunk/; revision=23509
2007-09-12 15:36:15 +00:00
Sven Neumann c39dd1a5b7 changed to use extended regular expression syntax.
2007-09-12  Sven Neumann  <sven@gimp.org>

	* app/core/gimpcontainer-filter.c
	(gimp_container_filter_by_name): changed to use extended regular
	expression syntax.

svn path=/trunk/; revision=23508
2007-09-12 11:52:52 +00:00
Sven Neumann 8c99fcc50e remember color conversion parameters (bug #475966).
2007-09-12  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/lcms.c: remember color conversion parameters
	(bug #475966).

svn path=/trunk/; revision=23507
2007-09-12 09:24:54 +00:00
Sven Neumann 37db612bca added gimp_context_list_paint_methods
svn path=/trunk/; revision=23506
2007-09-12 08:44:17 +00:00
Sven Neumann 66b409c354 fixed loading of PGM files with maxval of 1 (bug #475991).
2007-09-12  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/pnm.c (pnm_load_ascii): fixed loading of PGM
	files with maxval of 1 (bug #475991).


svn path=/trunk/; revision=23505
2007-09-12 07:15:38 +00:00
Sven Neumann 471eed6bab fixed use of black-point-compensation parameter (bug #475952).
2007-09-12  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/lcms.c: fixed use of black-point-compensation
	parameter (bug #475952).


svn path=/trunk/; revision=23504
2007-09-12 06:21:05 +00:00
Manish Singh de5184c824 don't use "major" and "minor" as variable names, they may conflict with
2007-09-11  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/psp.c: don't use "major" and "minor" as variable
        names, they may conflict with system symbols.

svn path=/trunk/; revision=23503
2007-09-11 22:48:03 +00:00
Sven Neumann 4ec78466fd formatting.
2007-09-11  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-render.c: formatting.

svn path=/trunk/; revision=23502
2007-09-11 14:45:06 +00:00
Sven Neumann ce32eed304 make the first of the added layers the active layer. Fixes bug #469752.
2007-09-11  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimage.c (gimp_image_add_layers): make the first of
	the added layers the active layer. Fixes bug #469752.

svn path=/trunk/; revision=23501
2007-09-11 14:12:51 +00:00
Sven Neumann aeadf45cfa update the preview on "value-changed", instead of "refval-changed". Fixes
2007-09-11  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/spread.c (spread_dialog): update the preview on
	"value-changed", instead of "refval-changed". Fixes bug #469360.

svn path=/trunk/; revision=23500
2007-09-11 13:24:15 +00:00
Simon Budig 318183ce1f add PDB function to determine the available paint methods.
2007-09-11  Simon Budig  <simon@gimp.org>

	* tools/pdbgen/pdb/context.pdb: add PDB function to determine
	the available paint methods.

	* app/pdb/internal_procs.c
	* app/pdb/context_cmds.c
	* libgimp/gimpcontext_pdb.[ch]: regenerated.

	Fixes bug #473513


svn path=/trunk/; revision=23499
2007-09-11 13:18:41 +00:00
Sven Neumann e65331332b don't reverse the order of URIs when opening multiple files as layers.
2007-09-11  Sven Neumann  <sven@gimp.org>

	* app/dialogs/file-open-dialog.c: don't reverse the order of URIs
	when opening multiple files as layers. Fixes one aspect of bug
	#469752.

svn path=/trunk/; revision=23498
2007-09-11 11:05:10 +00:00
Sven Neumann 563bb6fe80 allow to specify rendering intent and black point compensation. Fixes bug
2007-09-11  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/lcms.c: allow to specify rendering intent and 
	black point compensation. Fixes bug #474787.

svn path=/trunk/; revision=23497
2007-09-11 09:37:38 +00:00
Sven Neumann 5554d0b1d6 plug-ins/script-fu/scripts/burn-in-anim.scm removed newlines from
2007-09-11  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/burn-in-anim.scm
	* plug-ins/script-fu/scripts/coffee.scm: removed newlines from
	translatable strings. Fixes bug #475553.


svn path=/trunk/; revision=23496
2007-09-11 06:13:21 +00:00
Sven Neumann a38de20058 applied patch from Aurimas Juška which simplifies the code by using
2007-09-10  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/lens.c: applied patch from Aurimas Juška which
	simplifies the code by using GimpPixelFetcher and fixes handling
	of selections in the preview. Fixes the last aspect of bug #356716.

svn path=/trunk/; revision=23495
2007-09-10 16:05:40 +00:00
Sven Neumann 77b7161a32 app/core/gimp-transform-region.[ch] app/core/gimpchannel.c
2007-09-10  Sven Neumann  <sven@gimp.org>

	* app/core/gimp-transform-region.[ch]
	* app/core/gimpchannel.c
	* app/core/gimpdrawable-transform.[ch]
	* app/core/gimpdrawable.c
	* app/core/gimpimage-item-list.[ch]
	* app/core/gimpitem-linked.[ch]
	* app/core/gimpitem.[ch]
	* app/core/gimplayer.c
	* app/paint/gimpperspectiveclone.c
	* app/vectors/gimpvectors.c: removed supersample parameter from
	transform functions and perform it depending on the interpolation
	type (bug #473265).

	* app/tools/gimptransformoptions.[ch]
	* app/tools/gimptransformtool.c: removed Supersample toggle from
	the transform tool options.

	* tools/pdbgen/pdb/drawable_transform.pdb
	* tools/pdbgen/pdb/transform_tools.pdb: document that the
	supersample parameter is unused and improved documentation of the
	recursion-level parameter.

	* app/pdb/transform_tools_cmds.c
	* app/pdb/drawable_transform_cmds.c
	* libgimp/gimpdrawabletransform_pdb.c: regenerated.

svn path=/trunk/; revision=23494
2007-09-10 15:29:48 +00:00
Sven Neumann 5062ba3e30 removed unused variable.
2007-09-10  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpperspectiveclonetool.c
	(gimp_perspective_clone_tool_motion): removed unused variable.


svn path=/trunk/; revision=23493
2007-09-10 14:48:08 +00:00
Sven Neumann 0567768821 applied patch from Nils Philippsen that fixes an endianess problem (bug
2007-09-10  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/psp.c: applied patch from Nils Philippsen that
	fixes an endianess problem (bug #475464).

svn path=/trunk/; revision=23492
2007-09-10 13:37:39 +00:00
Sven Neumann c35f4644da copy the alpha channel to the destination region. Fixes bug #473998.
2007-09-10  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/lcms.c (lcms_drawable_transform): copy the alpha
	channel to the destination region. Fixes bug #473998.

svn path=/trunk/; revision=23491
2007-09-10 13:26:02 +00:00
Sven Neumann 2383a7bb75 minor update for 2.4. Removed bindings for brush radius as these keys are
2007-09-10  Sven Neumann  <sven@gimp.org>

	* etc/ps-menurc: minor update for 2.4. Removed bindings for brush
	radius as these keys are now bound by default.

svn path=/trunk/; revision=23490
2007-09-10 12:39:50 +00:00
Sven Neumann 626ca3fce0 removed unused variable.
2007-09-08  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpforegroundselecttoolundo.c: removed unused 
variable.


svn path=/trunk/; revision=23479
2007-09-08 15:31:23 +00:00
Michael Natterer 9112c91dfb applied patch from Kevin Cozens which implements RUN-WITH-LAST-VALS. On
2007-09-07  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/script-fu-scripts.c (script_fu_script_proc):
	applied patch from Kevin Cozens which implements RUN-WITH-LAST-VALS.
	On top of that, factored out script_fu_collect_standard_args()
	which collects DISPLAY,IMAGE,[DRAWABLE|LAYER|...] from the passed
	parameters according to the new calling conventions (the old code
	for INTERACTIVE was broken). Also cleaned up the function a bit.
	Fixes bug #472493.


svn path=/trunk/; revision=23474
2007-09-07 14:43:26 +00:00
Michael Natterer 15c969c862 use a temporary variable to store the return value of tile_manager_get()
2007-09-07  Michael Natterer  <mitch@gimp.org>

	* app/base/tile-manager.c (read_pixel_data_1): use a temporary
	variable to store the return value of tile_manager_get() instead
	of assigning to tm->cached_tile directly to make sure
	tm->cached_num and tm->cached_tile are always in a consistent
	state (the requested tile might be invalid and needs to be
	validated, which would call tile_manager_get() recursively, which
	in turn would clear the cached tile). Fixes bug #472770.


svn path=/trunk/; revision=23472
2007-09-07 08:35:21 +00:00
Martin Nordholts dd7fa05cdc Call gimp_rectangle_tool_rectangle_changed after 'Auto shrink selection',
2007-09-06  Martin Nordholts  <martinn@svn.gnome.org>

	* app/tools/gimprectangletool.c (gimp_rectangle_tool_auto_shrink):
	Call gimp_rectangle_tool_rectangle_changed after 'Auto shrink
	selection', and recalculate handle sizes. Fixes bug #474344.

svn path=/trunk/; revision=23471
2007-09-06 20:38:11 +00:00
Kevin Cozens c3ec9e82e9 Preserve aspect ratio of original images. Center thumbnails in space above
2007-09-06  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/scripts/contactsheet.scm: Preserve aspect ratio
	of original images. Center thumbnails in space above filename label.
	Added new sheet size of 1600x1200 pixels. Changed a dialog label.

svn path=/trunk/; revision=23470
2007-09-06 19:50:00 +00:00
Simon Budig 005badf3ac there is no need to mess with the selected channels within check_config().
2007-09-06  Simon Budig  <simon@gimp.org>

	* plug-ins/common/convmatrix.c: there is no need to mess
	with the selected channels within check_config(). Also fix
	bug with with copying its values into the chanmask
	in convolve_image()

	Fixes bug #472518


svn path=/trunk/; revision=23468
2007-09-06 10:00:21 +00:00
Simon Budig 2048979560 quick fix: raise the cell segment size as well as the number of possible
2007-09-06  Simon Budig  <simon@gimp.org>

	* plug-ins/script-fu/tinyscheme/scheme-private.h: quick fix:
	raise the cell segment size as well as the number of possible
	segments to reduce the likelihood of a failing (make-vector)

	(yes, this is a hack and no proper fix)


svn path=/trunk/; revision=23465
2007-09-05 23:18:10 +00:00
Simon Budig 2aada50eaf Fix initialization of the delta vectors. Fixes bug #473515
2007-09-04  Simon Budig  <simon@gimp.org>

	* app/vectors/gimpbezierstroke.c: Fix initialization of the
	delta vectors. Fixes bug #473515


svn path=/trunk/; revision=23464
2007-09-04 12:10:28 +00:00
Michael Natterer 5b1fa26d00 remove unbalanced "*/"
2007-09-04  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpparamspecs.c: remove unbalanced "*/"

	* app/core/gimpdrawable-transform.c
	* app/core/gimp-transform-resize.c: formatting.


svn path=/trunk/; revision=23463
2007-09-04 09:38:55 +00:00
Simon Budig 36c6ea9d3f fix NULL handling and formatting.
2007-09-04  Simon Budig  <simon@gimp.org>

	* app/core/gimpparamspecs.c: fix NULL handling and formatting.


svn path=/trunk/; revision=23456
2007-09-03 22:05:19 +00:00
Michael Natterer 18b4555e23 bump version to 2.4.0-rc3.
2007-09-03  Michael Natterer  <mitch@gimp.org>

	* configure.in: bump version to 2.4.0-rc3.


svn path=/trunk/; revision=23455
2007-09-03 16:12:43 +00:00
Michael Natterer d7da2573a1 Made 2.4.0-rc2 release.
2007-09-03  Michael Natterer  <mitch@gimp.org>

	* Made 2.4.0-rc2 release.

	* app/Makefile.am (dist-dump-gimprc): added some sed voodoo to
	make sure the num-processors in the distributed gimprc and its
	manpage don't depend on the machine that does make dist.


svn path=/trunk/; revision=23453
2007-09-03 16:03:36 +00:00
Michael Natterer c85b228e4d Applied slightly reformatted patch by Jakub Friedl and Daniel Hornung
2007-09-03  Michael Natterer  <mitch@gimp.org>

	* app/core/gimp-transform-region.c: Applied slightly reformatted
	patch by Jakub Friedl and Daniel Hornung which ROUND()s the
	floating point result values before assigning them to integers to
	avoid reducing the output space to [0..254] (thus darkening the
	image). Fixes bug #472806.


svn path=/trunk/; revision=23451
2007-09-03 14:17:53 +00:00
Michael Natterer 5622fa28ff data/tips/Makefile.am s/.intltool-merge-cachemake/.intltool-merge-cache/
2007-09-03  Michael Natterer  <mitch@gimp.org>

	* data/tips/Makefile.am
	* desktop/Makefile.am:
	s/.intltool-merge-cachemake/.intltool-merge-cache/ to fix
	distcheck, probably a "make" was entered in the wrong window.


svn path=/trunk/; revision=23450
2007-09-03 13:20:42 +00:00
Michael Natterer 7ef8613808 bump version to 2.4.0-rc2.
2007-09-02  Michael Natterer  <mitch@gimp.org>

	* configure.in: bump version to 2.4.0-rc2.


svn path=/trunk/; revision=23443
2007-09-02 19:56:41 +00:00
Martin Nordholts 1ff1f238a8 Remove the STRESS_TEST stuff, gimp_image_invalidate_without_render does
2007-09-02  Martin Nordholts  <martinn@svn.gnome.org>

	* app/display/gimpdisplayshell-draw.c
	(gimp_display_shell_draw_area): Remove the STRESS_TEST stuff,
	gimp_image_invalidate_without_render does not exist anymore
	anyway.

svn path=/trunk/; revision=23441
2007-09-02 06:12:55 +00:00
Martin Nordholts ce21737d37 New function to update default values for Fixed: Size. This function is
2007-09-02  Martin Nordholts  <martinn@svn.gnome.org>

	* app/tools/gimprectangleselecttool.c
	(gimp_rect_select_tool_update_option_defaults): New function to
	update default values for Fixed: Size. This function is called to
	update defaults values for Fixed: Size to that of the pending
	rectangle width x height if there is one, or 100x100 otherwise.

	* app/tools/gimpcroptool.c
	(gimp_crop_tool_update_option_defaults): Set Fixed: Size to the
	size of the pending crop rectangle, or 100x100 if there is none.

svn path=/trunk/; revision=23440
2007-09-02 04:39:17 +00:00
Martin Nordholts 63fbdc2600 Generalize the default Fixed: Aspect ratio option setting code so that it
2007-09-01  Martin Nordholts  <martinn@svn.gnome.org>

	* app/tools/gimpcroptool.c
	(gimp_crop_tool_update_default_fixed_ratio_options):
	Generalize the default Fixed: Aspect ratio option setting code
	so that it can later be used for Fixed: Size as well, and move
	it to

	* app/tools/gimprectangletool.[ch]
	(gimp_rectangle_tool_pending_size_set)
	(gimp_rectangle_tool_constraint_size_set): and use these two new
	functions instead.

svn path=/trunk/; revision=23435
2007-09-01 20:01:38 +00:00
Simon Budig 8d42d089ca plug-ins/script-fu/tinyscheme/scheme.[ch] make it possible for foreign
2007-08-31  Simon Budig  <simon@gimp.org>

	* plug-ins/script-fu/tinyscheme/scheme.[ch]
	* plug-ins/script-fu/tinyscheme/scheme-private.h: make it possible
	for foreign functions to return an error.

	* plug-ins/script-fu/script-fu-scripts.c
	* plug-ins/script-fu/scheme-wrapper.c: Make use of this.
	Fixes bug #472026.


svn path=/trunk/; revision=23432
2007-08-31 19:35:26 +00:00
Simon Budig 95f3ed4984 adjusted to enforced gnome-svn standards :-(
2007-08-31  Simon Budig  <simon@gimp.org>

	* MAINTAINERS: adjusted to enforced gnome-svn standards  :-(


svn path=/trunk/; revision=23431
2007-08-31 19:34:20 +00:00
Michael Natterer 8e422d85dc renamed...
2007-08-31  Michael Natterer  <mitch@gimp.org>

	* app/gui/sync-menu.[ch]: renamed...

	* app/gui/gtk-macmenu.[ch]: ...to these to match new namespace.

	* app/gui/Makefile.am
	* app/gui/gui.c: changed accordingly.


svn path=/trunk/; revision=23428
2007-08-31 14:11:44 +00:00
Michael Natterer 340e4d315f new versions with sane namespace and support for setting the application
2007-08-31  Michael Natterer  <mitch@gimp.org>

	* app/gui/sync-menu.[ch]: new versions with sane namespace and
	support for setting the application menu's "Quit", "About" and
	"Preferences" items.

	* app/gui/gui.c: changed accordingly and use the new menu items
	from the application menu.


svn path=/trunk/; revision=23427
2007-08-31 14:04:58 +00:00
Michael Natterer a55fe4cf6f if tile_manager->cached_tile is requested for writing, clear the cache
2007-08-31  Michael Natterer  <mitch@gimp.org>

	* app/base/tile-manager.c (tile_manager_get): if
	tile_manager->cached_tile is requested for writing, clear the
	cache before giving out the tile. Fixes bug #472170.


svn path=/trunk/; revision=23425
2007-08-31 10:55:09 +00:00
Øyvind Kolås aec18403a9 use nearest neighbour resampling when rendering for a 1byte per pixel
* app/display/gimpdisplayshell-render.c: (render_image_tile_fault):
use nearest neighbour resampling when rendering for a 1byte per pixel
drawable (ony happens when interacting with the SIOX tool, and then
the buffer is a indexed; not a greyscale buffer), fixes bug #472027.

svn path=/trunk/; revision=23424
2007-08-31 10:04:37 +00:00
Raphael Quinet b520112784 do not use anti-aliasing when the zoom is exactly 200%. Fixes bug #472150.
2007-08-31  Raphael Quinet  <raphael@gimp.org>

	* app/display/gimpdisplayshell-render.c (render_image_tile_fault):
	do not use anti-aliasing when the zoom is exactly 200%.  Fixes bug
	#472150.  Also miscellaneous cosmetic changes.

svn path=/trunk/; revision=23423
2007-08-31 09:36:16 +00:00
Simon Budig 8642b014ca fixed subtle cut'n'paste bug, made the code a little bit more readable.
2007-08-31  Simon Budig  <simon@gimp.org>

	* plug-ins/common/antialias.c: fixed subtle cut'n'paste bug,
	made the code a little bit more readable.


svn path=/trunk/; revision=23421
2007-08-31 01:13:33 +00:00
Karine Delvare 3cb33d8721 plug-ins/common/illusion.c plug-ins/common/polar.c applied patches from
2007-08-30  Karine Delvare  <edhel@gimp.org>

	* plug-ins/common/illusion.c
	* plug-ins/common/polar.c
	* plug-ins/common/whirlpinch.c: applied patches from Aurimas Juška
	that fixes use of the GimpZoomPreview widget in those plug-ins (see
	bug #356716), and makes illusion handle selections properly.


svn path=/trunk/; revision=23416
2007-08-30 16:44:10 +00:00
Raphael Quinet 27ab46d993 updated some entries, added contributors: Nicola Archibald, Tim Mooney,
2007-08-30  Raphael Quinet  <raphael@gimp.org>

	* authors.xml: updated some entries, added contributors: Nicola
	Archibald, Tim Mooney, Nils Philippsen and Yoshinori Yamakawa

	* AUTHORS: regenerated.

svn path=/trunk/; revision=23414
2007-08-30 16:14:03 +00:00
Michael Natterer 8f05e8a0e9 remove extraneous comma.
2007-08-30  Michael Natterer  <mitch@gimp.org>

	* libgimpbase/gimpbaseenums.h: remove extraneous comma.


svn path=/trunk/; revision=23413
2007-08-30 15:03:38 +00:00
Michael Natterer 399b6639de take over cosmetic fix from upstream.
2007-08-30  Michael Natterer  <mitch@gimp.org>

	* app/gui/sync-menu.c: take over cosmetic fix from upstream.

	* configure.in: add HAVE_CARBON as AM_CONDITIONAL

	* menus/image-menu.xml.in: add the Help menu to the image menu.

	* menus/Makefile.am
	* menus/menus.xsl: filter it away if we are not on carbon.

	* app/menus/menus.c: added the "help" action group to the image UI
	manager.


svn path=/trunk/; revision=23412
2007-08-30 15:00:50 +00:00
Simon Budig a333d6c660 plug-ins/script-fu/scheme-wrapper.c
2007-08-30  Simon Budig  <simon@gimp.org>

	* plug-ins/script-fu/scheme-wrapper.c
	* plug-ins/script-fu/tinyscheme/scheme.[ch]
	* plug-ins/script-fu/scheme-wrapper.h: Shuffeled some
	code around to have scheme.c not include scheme-wrapper.h.


svn path=/trunk/; revision=23411
2007-08-30 12:52:42 +00:00
Raphael Quinet bc2e48c978 expanded old tip and mentioned that it is possible to configure most
2007-08-30  Raphael Quinet  <raphael@gimp.org>

	* data/tips/gimp-tips.xml.in: expanded old tip and mentioned that
	it is possible to configure most window managers so that they do
	not steal the Alt key from the applications.  Fixes bug #471565.

svn path=/trunk/; revision=23410
2007-08-30 12:08:34 +00:00
Raphael Quinet e21b1dce84 applied modified patch from Nils Philippsen that adds more sanity checks
2007-08-30  Raphael Quinet  <raphael@gimp.org>

	* plug-ins/common/pcx.c: applied modified patch from Nils
	Philippsen that adds more sanity checks when loading and saving
	images.  Fixes the reopened bug #471189.

svn path=/trunk/; revision=23409
2007-08-30 11:49:52 +00:00
Michael Natterer 3736ea8284 First version of global menubar support for OSX. Work in progress.
2007-08-30  Michael Natterer  <mitch@gimp.org>

	First version of global menubar support for OSX. Work in progress.

	* app/gui/Makefile.am
	* app/gui/sync-menu.[ch]: new files containing code that takes
	a GtkMenuShell and proxies it in the OSX global menubar. Taken
	from http://developer.imendio.com/projects/gtk-macosx/menubar

	* app/gui/gui.c: put the global image popup menu to the menubar.

	* app/dialogs/preferences-dialog.c
	* app/display/gimpdisplayshell.c
	* app/widgets/gimptoolbox.c: #ifdef out all menubars in windows.

	* app/Makefile.am (AM_LDFLAGS): add $(CARBON_LDFLAGS)


svn path=/trunk/; revision=23408
2007-08-30 11:19:00 +00:00
Jakub Friedl 558bdfc4ed Randomizing hue of desaturated pixels before increasing saturation. Fixes
2007-08-30  Jakub Friedl  <jfriedl@suse.cz>

	* plug-ins/common/scatter_hsv.c: Randomizing hue of desaturated
	pixels before increasing saturation. Fixes #471476.


svn path=/trunk/; revision=23407
2007-08-30 10:09:51 +00:00
Kevin Cozens 667d6eac9b Applied the change suggested in SourceForge bug #1593861 that fixes the
2007-08-29  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/tinyscheme/scheme.c: Applied the change suggested
	in SourceForge bug #1593861 that fixes the case where integer? thinks
	non-numbers are sometimes integers.

svn path=/trunk/; revision=23402
2007-08-30 00:33:50 +00:00
Simon Budig fff229e32a Minor Changelog fix.
svn path=/trunk/; revision=23401
2007-08-30 00:27:19 +00:00
Simon Budig 0928a32a21 plug-ins/script-fu/tinyscheme/scheme.[ch] small changes to tinyscheme -
2007-08-30  Simon Budig  <simon@gimp.org>

	* plug-ins/script-fu/tinyscheme/scheme.[ch]
	* plug-ins/script-fu/tinyscheme/scheme-private.h: small changes
	to tinyscheme - mostly removing workarounds for message output.

	* plug-ins/script-fu/scheme-wrapper.[ch]: try to channel the
	output through a central function, have various output functions
	to handle the messages. Remove some hacks.

	* plug-ins/script-fu/script-fu-text-console.c
	* plug-ins/script-fu/script-fu-scripts.[ch]
	* plug-ins/script-fu/script-fu-interface.c
	* plug-ins/script-fu/script-fu.c
	* plug-ins/script-fu/script-fu-server.c
	* plug-ins/script-fu/script-fu-console.[ch]: use the new
	infrastructure. Remove more hacks.

	* plug-ins/script-fu/servertest.py: small script to test the
	communication with the script-fu-server.


svn path=/trunk/; revision=23400
2007-08-30 00:21:20 +00:00
Raphael Quinet fb5284e50d escape the text values output in the XMP packet. Based on a bug report and
2007-08-29  Raphael Quinet  <raphael@gimp.org>

	* plug-ins/metadata/xmp-encode.c (gen_property): escape the text
	values output in the XMP packet.  Based on a bug report and patch
	by John Marshall.  Fixes bug #455481.

svn path=/trunk/; revision=23398
2007-08-29 19:32:39 +00:00
Jakub Friedl f935d6bd7a Calling randomize_value with max value 359 instead of 360 to fix off by 1
2007-08-29  Jakub Friedl  <jfriedl@suse.cz>

	* plug-ins/common/scatter_hsv.c: Calling randomize_value with
	max value 359 instead of 360 to fix off by 1 error when wrapping
        around.


svn path=/trunk/; revision=23397
2007-08-29 13:35:53 +00:00
Jakub Friedl d32c7ca45f Removes the fprint function. Values are printed using g_snprintf and "%g"
2007-08-29  Jakub Friedl  <jfriedl@suse.cz>

	* plug-ins/common/convmatrix.c: Removes the fprint function.
	Values are printed using g_snprintf and "%g" which supresses
	trailing zeroes. Fixes bug #471051.


svn path=/trunk/; revision=23396
2007-08-29 12:10:56 +00:00
Raphael Quinet 59fb23cea9 plug-ins/jpeg/jpeg-save.[ch] change the behavior of the code so that "Use
2007-08-29  Raphael Quinet  <raphael@gimp.org>

	* plug-ins/jpeg/jpeg-save.[ch]
	* plug-ins/jpeg/jpeg.c: change the behavior of the code so that
	"Use quality settings from original image" does what it claims,
	even if these settings are worse than the user's defaults (note
	that the option is not automatically enabled in this case).  Also
	set the subsampling type when that box is checked.

	* plug-ins/jpeg/jpeg-settings.h: formatting.

svn path=/trunk/; revision=23395
2007-08-29 12:01:38 +00:00
Raphael Quinet 24ad8c8200 applied modified patch from Nils Philippsen that uses the glib endianness
2007-08-29  Raphael Quinet  <raphael@gimp.org>

	* plug-ins/common/pcx.c: applied modified patch from Nils
	Philippsen that uses the glib endianness conversion macros instead
	of the ones provided in the old code (broken on S390/S390x).
	Fixes bug #471189.

svn path=/trunk/; revision=23394
2007-08-29 12:01:01 +00:00
Michael Natterer c53ed0aba8 gimp-selection-* procedures operate on the image_ID, not on the selection
2007-08-29  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/lcms.c (lcms_image_apply_profile):
	gimp-selection-* procedures operate on the image_ID, not on the
	selection drawable_ID itself. Fixes bug #470589. Also remove the
	saved selection channel after reloading it.


svn path=/trunk/; revision=23393
2007-08-29 11:42:38 +00:00
Michael Natterer 22ae471cd0 install and distribute the new icons. Fixes bug #436815
2007-08-29  Michael Natterer  <mitch@gimp.org>

	* themes/Default/images/preferences/Makefile.am (PREFS_IMAGES):
	install and distribute the new icons. Fixes bug #436815


svn path=/trunk/; revision=23392
2007-08-29 09:40:28 +00:00
Jakub Steiner 890a7c5a3e g sizes. Addresses bug #436815
2007-08-28  Jakub Steiner <jimmac@ximian.com>

* themes/Default/images/preferences/folder-palettes-{16,22}*:
* themes/Default/images/preferences/folder-themes-{16,22}*:
g sizes. Addresses bug #436815

svn path=/trunk/; revision=23390
2007-08-28 21:24:09 +00:00
Michael Natterer 5a62582a77 skip files starting with '.' so we don't try to parse .DS_Store and other
2007-08-28  Michael Natterer  <mitch@gimp.org>

	* libgimpbase/gimpdatafiles.c (gimp_datafiles_read_directories):
	skip files starting with '.' so we don't try to parse .DS_Store
	and other metadata storage files. Also moved variables to local
	scopes.


svn path=/trunk/; revision=23388
2007-08-28 12:31:29 +00:00
Tor Lillqvist 48fdc9e594 Update doc comments about filename encoding on Windows. It is now always
2007-08-28  Tor Lillqvist  <tml@novell.com>

	* libgimpbase/gimpenv.c: Update doc comments about filename
	encoding on Windows. It is now always UTF-8, like in
	GLib. (#471033) Change "Win32" to "Windows" in doc comments.


svn path=/trunk/; revision=23387
2007-08-28 12:27:59 +00:00
Jakub Friedl 4f4d1bf384 CLAMP()ing the red value so that it is in the 0-255 range. Fixes bug
2007-08-28  Jakub Friedl  <jfriedl@suse.cz>

	* plug-ins/common/redeye.c: CLAMP()ing the red value
	so that it is in the 0-255 range. Fixes bug #470914.


svn path=/trunk/; revision=23386
2007-08-28 11:16:50 +00:00
Hans Breuer aface5c12a updated msvc build include <io.h> for get_osfhandle() prototype
2007-08-26  Hans Breuer  <hans@breuer.org>

	* **/makefile.msc : updated msvc build
	* app/main.c : include <io.h> for get_osfhandle()
	* plug-ins/jpeg/jpeg-settings.h : prototype
	jpeg_swap_original_settings


svn path=/trunk/; revision=23377
2007-08-26 18:59:34 +00:00
Martin Nordholts 2fea3f55ad Add a G_END_DECLS.
2007-08-26  Martin Nordholts  <martinn@svn.gnome.org>

	* libgimpwidgets/gimpcolorprofilestore.h: Add a G_END_DECLS.

svn path=/trunk/; revision=23376
2007-08-25 22:04:45 +00:00
Raphael Quinet be9681f4e1 use a label that is easier to understand. Required code changes will
2007-08-24  Raphael Quinet  <raphael@gimp.org>

	* plug-ins/jpeg/jpeg-save.c (save_dialog): use a label that is
	easier to understand.  Required code changes will follow later.

svn path=/trunk/; revision=23373
2007-08-24 20:32:39 +00:00
Raphaël Quinet c3e06d274b moved misplaced entry to the correct ChangeLog file
svn path=/trunk/; revision=23371
2007-08-24 19:30:17 +00:00
Raphael Quinet 91d99d4d63 new function that swaps the vertical and horizontal axis for the saved
2007-08-24  Raphael Quinet  <raphael@gimp.org>

	* plug-ins/jpeg/jpeg-settings.c (jpeg_swap_original_settings): new
	function that swaps the vertical and horizontal axis for the saved
	subsampling parameters and quantization tables.

	* plug-ins/jpeg/jpeg-exif.c (jpeg_exif_rotate): swap the saved
	settings when the image is rotated.  Fixes bug #466593.

	* devel-docs/release-howto.txt: added note about having admin
	access to Bugzilla and to the news section on www.gimp.org.

svn path=/trunk/; revision=23370
2007-08-24 18:38:30 +00:00
Raphael Quinet 2e7b1bd12d fixed incorrect description of gimp-selection-is-empty, reported by pk.
2007-08-24  Raphael Quinet  <raphael@gimp.org>

	* tools/pdbgen/pdb/selection.pdb: fixed incorrect description of
	gimp-selection-is-empty, reported by pk.  This function returns
	TRUE when the selection is empty, but the description stated the
	opposite.

	* app/pdb/selection_cmds.c
	* libgimp/gimpselection_pdb.c: regenerated.

svn path=/trunk/; revision=23368
2007-08-24 17:50:04 +00:00
Michael Natterer c3d79369e2 don't use SCALEX()/SCALEY() on x/y *and* width/height of the highlight
2007-08-24  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell-draw.c
	(gimp_display_shell_draw_area): don't use SCALEX()/SCALEY() on x/y
	*and* width/height of the highlight rectangle because that adds up
	the error introduced by the ceil() contained in these macros.
	Instead, scale manually and use ceil() on x/y and floor() on
	width/height. Fixes off-by-one rendering artifacts (bug #467972).


svn path=/trunk/; revision=23367
2007-08-24 16:56:13 +00:00
Michael Natterer b0cd81cde7 don't use g_slice_dup(), that's in GLib 2.14 only.
2007-08-24  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell.c: don't use g_slice_dup(), that's
	in GLib 2.14 only.


svn path=/trunk/; revision=23366
2007-08-24 16:46:34 +00:00
Øyvind Kolås 8f8c98d1cc s/compute_sample/box_filter/.
* app/display/gimpdisplayshell-render.c: s/compute_sample/box_filter/.

svn path=/trunk/; revision=23365
2007-08-24 16:13:27 +00:00
Michael Natterer 29759cd892 allocate shell->highlight with GSlice.
2007-08-24  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell.c: allocate shell->highlight with
	GSlice.


svn path=/trunk/; revision=23364
2007-08-24 16:07:44 +00:00
Øyvind Kolås 8f5819a5f6 swapped center and middle terms around (now center means horizontal
* app/display/gimpdisplayshell-render.c: swapped center and middle
terms around (now center means horizontal (betwen left and right )and
middle means vertical (between top and bottom)).

svn path=/trunk/; revision=23363
2007-08-24 16:00:48 +00:00
Øyvind Kolås a3a6253291 removed a temporary variable, simplified logic slightly.
* app/display/gimpdisplayshell-render.c: (compute_sample): removed
a temporary variable, simplified logic slightly.
(render_image_tile_fault, render_image_tile_fault_one_row): moved
sum computation out of loop.

svn path=/trunk/; revision=23362
2007-08-24 15:58:49 +00:00