Commit Graph

20490 Commits

Author SHA1 Message Date
Michael Natterer 8eb046f130 set "Lock Alpha" to TRUE again on floating selections.
2007-05-28  Michael Natterer  <mitch@gimp.org>

	* app/core/gimplayer-floating-sel.c (floating_sel_attach): set
	"Lock Alpha" to TRUE again on floating selections.

	(floating_sel_to_layer): instead, set it to FALSE when turning
	it into a new layer. Fixes bug #418215 and keeps #161042 closed.


svn path=/trunk/; revision=22638
2007-05-27 23:07:36 +00:00
Sven Neumann 97b41ca939 clamping at 255 is good enough.
2007-05-28  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/gauss.c: clamping at 255 is good enough.


svn path=/trunk/; revision=22637
2007-05-27 22:52:49 +00:00
Sven Neumann 2afa8ea385 clamp to [0;255]. Fixes bug #441681.
2007-05-28  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/gauss.c: clamp to [0;255]. Fixes bug #441681.


svn path=/trunk/; revision=22636
2007-05-27 22:28:52 +00:00
Sven Neumann 1ab356a707 bumped version to 2.3.18.
2007-05-27  Sven Neumann  <sven@gimp.org>

	* configure.in: bumped version to 2.3.18.


svn path=/trunk/; revision=22635
2007-05-27 15:58:09 +00:00
Sven Neumann bb5a815f24 Made 2.3.17 development release.
2007-05-27  Sven Neumann  <sven@gimp.org>

        * Made 2.3.17 development release.

svn path=/trunk/; revision=22633
2007-05-27 15:27:26 +00:00
Michael Natterer 65ef13729f new utility function which returns the neighbor of a container's active
2007-05-27  Michael Natterer  <mitch@gimp.org>

	* app/core/gimp-utils.[ch] (gimp_container_get_neighbor_of_active):
	new utility function which returns the neighbor of a container's
	active item.

	* app/widgets/gimpcontainerview-utils.[ch]
	(gimp_container_view_remove_active): remove a container view's
	active item, using above function to select its neighbor.

	* app/actions/data-commands.c
	* app/actions/buffers-commands.c
	* app/actions/documents-commands.c
	* app/actions/templates-commands.c: use above functions to select
	reasonable items when deleting from a list (instead of always
	jumping to the first item).



svn path=/trunk/; revision=22632
2007-05-27 15:13:45 +00:00
Sven Neumann e601d3e704 update the original width and height when the chain-button is changed to
2007-05-26  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpwidgets.c (gimp_coordinates_new): update 
the
	original width and height when the chain-button is changed to 
the
	active state.


svn path=/trunk/; revision=22631
2007-05-26 20:32:56 +00:00
Sven Neumann 1dd7562dcd removed unused struct member.
2007-05-26  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpsizebox.c (GimpSizeBoxPrivate): removed unused
	struct member.


svn path=/trunk/; revision=22630
2007-05-26 20:11:58 +00:00
Artur Flinta 2d0dfb588c Updated Polish translation by GNOME PL Team.
2007-05-26  Artur Flinta  <aflinta@svn.gnome.org>

	* pl.po: Updated Polish translation by GNOME PL Team.


svn path=/trunk/; revision=22629
2007-05-26 18:48:24 +00:00
Artur Flinta 02d12c1c08 Updated Polish translation by GNOME PL Team.
2007-05-26  Artur Flinta  <aflinta@svn.gnome.org>

	* pl.po: Updated Polish translation by GNOME PL Team.


svn path=/trunk/; revision=22628
2007-05-26 18:47:37 +00:00
Michael Natterer f8240964af fully initialize all bytes of "int1" and "int2" so we don't produce wrong
2007-05-26  Michael Natterer  <mitch@gimp.org>

	* libgimpcolor/gimprgb.c (gimp_param_rgb_values_cmp): fully
	initialize all bytes of "int1" and "int2" so we don't produce
	wrong color compare results (and shut up valgrind).
	Fixes bug #353696.


svn path=/trunk/; revision=22627
2007-05-26 15:41:53 +00:00
Michael Natterer d0e0e259a3 also initialize alpha of xor-color's default value to stop valgrind from
2007-05-26  Michael Natterer  <mitch@gimp.org>

	* app/config/gimpdisplayconfig.c (gimp_display_config_class_init):
	also initialize alpha of xor-color's default value to stop
	valgrind from complaining about uninitialized memory.


svn path=/trunk/; revision=22624
2007-05-26 14:38:43 +00:00
Sven Neumann 080ad1d6e1 do not only declare layer_options_dialog_free(), but do actually use it.
2007-05-26  Sven Neumann  <sven@gimp.org>

	* app/dialogs/layer-options-dialog.c: do not only declare
	layer_options_dialog_free(), but do actually use it.


svn path=/trunk/; revision=22623
2007-05-26 13:19:00 +00:00
Kevin Cozens 0ce5d22b3b plug-ins/script-fu/script-fu-text-console.c plug-ins/script-fu/script-fu.c
2007-05-25  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/script-fu-text-console.c
	* plug-ins/script-fu/script-fu.c
	* plug-ins/script-fu/scheme-wrapper.c
	* plug-ins/script-fu/scheme-wrapper.h: Applied slightly modified
	patch from Eric Lamarque that makes use of TinyScheme's interactive
	mode for the text console in Script-Fu. Fixes bug #440674.

svn path=/trunk/; revision=22622
2007-05-25 17:45:49 +00:00
Sven Neumann 9cea61d6b0 applied patch from Aurimas Juška that fixes use of the GimpZoomPreview
2007-05-25  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/lens.c: applied patch from Aurimas Juška that
	fixes use of the GimpZoomPreview widget (bug #356716).


svn path=/trunk/; revision=22621
2007-05-25 17:04:52 +00:00
Kevin Cozens 32259b03dc Missed commit of this file.
2007-05-25  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/Makefile.am: Missed commit of this file.

	* plug-ins/script-fu/scheme-wrapper.h:
	* plug-ins/script-fu/scheme-wrapper.c (ts_output_string): Updated
	to expect a 'const char *' and an int but no file pointer.

	* plug-ins/script-fu/tinyscheme/scheme.c:
	* plug-ins/script-fu/tinyscheme/scheme.h: Changes due to use of
	'const char *' for ts_output_routine.

svn path=/trunk/; revision=22620
2007-05-25 16:26:46 +00:00
Kevin Cozens c87485d1bf This is the first part of fixing bugs #438997 and #440674.
2007-05-25  Kevin Cozens  <kcozens@cvs.gnome.org>

	This is the first part of fixing bugs #438997 and #440674. 

	* plug-ins/script-fu/scheme-wrapper.c: Removed ts_output_routine
	declaration from here...

	* plug-ins/script-fu/tinyscheme/scheme.h: and added it here.

	* plug-ins/script-fu/tinyscheme/scheme.c (putchars): Updated to be
	smarter about where it's output needs to be sent.

svn path=/trunk/; revision=22619
2007-05-25 15:58:09 +00:00
Sven Neumann 89cb25ecec slightly nicer output from 'make check'
svn path=/trunk/; revision=22617
2007-05-25 12:52:05 +00:00
Sven Neumann 5a8bc70c98 app/composite/gimp-composite-mmx.c app/composite/gimp-composite-sse2.c
2007-05-25  Sven Neumann  <sven@gimp.org>

	* app/composite/gimp-composite-mmx.c
	* app/composite/gimp-composite-sse2.c
	* app/composite/gimp-composite-regression.c: minor code cleanup.

svn path=/trunk/; revision=22616
2007-05-25 12:45:32 +00:00
Sven Neumann 19e899c504 app/composite/gimp-composite-sse-test.c
2007-05-25  Sven Neumann  <sven@gimp.org>

	* app/composite/gimp-composite-sse-test.c
	* app/composite/gimp-composite-test.c
	* app/composite/gimp-composite-sse2-test.c
	* app/composite/gimp-composite-altivec-test.c
	* app/composite/gimp-composite-3dnow-test.c
	* app/composite/gimp-composite-mmx-test.c
	* app/composite/gimp-composite-vis-test.c: minor code cleanup.

svn path=/trunk/; revision=22615
2007-05-25 12:38:19 +00:00
Michael Natterer 1a5cfac5e6 app/widgets/gimpsessioninfoaux.[ch] app/widgets/gimpsessioninfobook.[ch]
2007-05-25  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpsessioninfoaux.[ch]
	* app/widgets/gimpsessioninfobook.[ch]
	* app/widgets/gimpsessioninfodock.[ch]
	* app/widgets/gimpsessioninfodockable.[ch]: renamed these...

	* app/widgets/gimpsessioninfo-aux.[ch]
	* app/widgets/gimpsessioninfo-book.[ch]
	* app/widgets/gimpsessioninfo-dock.[ch]
	* app/widgets/gimpsessioninfo-dockable.[ch]: ...to these.

	* app/widgets/Makefile.am
	* app/widgets/gimpcoloreditor.c
	* app/widgets/gimpcursorview.c
	* app/widgets/gimpdataeditor.c
	* app/widgets/gimpdocked.c
	* app/widgets/gimphistogrameditor.c
	* app/widgets/gimpmenudock.c
	* app/widgets/gimppaletteeditor.c
	* app/widgets/gimpsessioninfo.c: changed accordingly.


svn path=/trunk/; revision=22614
2007-05-25 11:42:28 +00:00
Sven Neumann 638d514d81 allocate parasites using GSlice.
2007-05-25  Sven Neumann  <sven@gimp.org>

	* libgimpbase/gimpparasite.c: allocate parasites using GSlice.

svn path=/trunk/; revision=22613
2007-05-25 11:31:18 +00:00
Sven Neumann 07240ed1f9 require pkg-config and use it to determine cflags and libs.
2007-05-25  Sven Neumann  <sven@gimp.org>

	* gimptool-2.0.in: require pkg-config and use it to determine
	cflags and libs.

	* docs/gimptool.1.in: document that pkg-config is used and
	recommend to use pkg-config directly.

svn path=/trunk/; revision=22612
2007-05-25 10:45:53 +00:00
Sven Neumann 0eb4df784b synced --libs output with the pkg-config files.
2007-05-25  Sven Neumann  <sven@gimp.org>

	* gimptool-2.0.in: synced --libs output with the pkg-config files.

svn path=/trunk/; revision=22611
2007-05-25 09:58:28 +00:00
Sven Neumann ec1161c139 plug-ins/imagemap/imap_main.c applied patch from Kevin Hurewitz that adds
2007-05-25  Sven Neumann  <sven@gimp.org>

	* plug-ins/imagemap/imap_main.c
	* plug-ins/imagemap/imap_object.[ch]: applied patch from Kevin
	Hurewitz that adds keyboard control for resizing an area (bug 
#439226).


svn path=/trunk/; revision=22609
2007-05-25 07:28:15 +00:00
Manish Singh 1c1ee4dd21 return None if we're passed an ID of -1, like the other GIMP object
2007-05-24  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-display.c (pygimp_display_new): return None
        if we're passed an ID of -1, like the other GIMP object constructors.

svn path=/trunk/; revision=22608
2007-05-25 01:28:31 +00:00
Manish Singh db08253213 remove the delete method, PyGimp objects are supposed to be deleted via
2007-05-24  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-display.c: remove the delete method, PyGimp
        objects are supposed to be deleted via gimp.delete()

svn path=/trunk/; revision=22607
2007-05-25 01:27:48 +00:00
Michael Natterer 736b651d24 app/widgets/gimpsessioninfo.[ch] app/widgets/gimpsessioninfoaux.[ch]
2007-05-24  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpsessioninfo.[ch]
	* app/widgets/gimpsessioninfoaux.[ch]
	* app/widgets/gimpsessioninfobook.[ch]
	* app/widgets/gimpsessioninfodock.c
	* app/widgets/gimpsessioninfodockable.[ch]: cleanup.


svn path=/trunk/; revision=22606
2007-05-24 20:42:56 +00:00
Sven Neumann f98b0de0d6 added an ID attribute and a delete method to the Gimp.Display object.
2007-05-24  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/pygimp-display.c: added an ID attribute and a
	delete method to the Gimp.Display object.

	* plug-ins/pygimp/gimpshelf.py (_display_id): use the ID 
attribute.

	* plug-ins/pygimp/gimpfu.py: enabled support for PF_DISPLAY.


svn path=/trunk/; revision=22605
2007-05-24 20:12:50 +00:00
Michael Natterer 2bf21338a3 removed more code and cleaned up the API.
2007-05-24  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpsessioninfo.[ch]: removed more code and cleaned
	up the API.

	* app/widgets/Makefile.am
	* app/widgets/gimpsessioninfodock.[ch]: added the removed code here.

	* app/widgets/gimpdialogfactory.c: changed accordingly.


svn path=/trunk/; revision=22604
2007-05-24 20:06:34 +00:00
Michael Natterer 616ba659f3 removed lots of code...
2007-05-24  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpsessioninfo.[ch]: removed lots of code...

	* app/widgets/Makefile.am
	* app/widgets/gimpsessioninfoaux.[ch]
	* app/widgets/gimpsessioninfobook.[ch]
	* app/widgets/gimpsessioninfodockable.[ch]: ...and added it here.
	Also allocate all structs using GSLice.

	* app/widgets/gimpcoloreditor.c
	* app/widgets/gimpcursorview.c
	* app/widgets/gimpdataeditor.c
	* app/widgets/gimpdialogfactory.c
	* app/widgets/gimpdocked.c
	* app/widgets/gimphistogrameditor.c
	* app/widgets/gimpmenudock.c
	* app/widgets/gimppaletteeditor.c: changed accordingly.


svn path=/trunk/; revision=22603
2007-05-24 19:22:06 +00:00
Sven Neumann dfc676e2f5 formatting, added const qualifiers.
2007-05-24  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/bumpmap.c: formatting, added const qualifiers.

svn path=/trunk/; revision=22602
2007-05-24 15:39:44 +00:00
Jakub Friedl 241f6d9353 Updated Czech translation.
2007-05-24  Jakub Friedl  <jfriedl@suse.cz>

  * cs.po: Updated Czech translation.


svn path=/trunk/; revision=22601
2007-05-24 14:44:07 +00:00
Sven Neumann 93e98dc456 reverted accidental commit
svn path=/trunk/; revision=22600
2007-05-24 07:00:41 +00:00
Sven Neumann b1c846d446 NEWS update
svn path=/trunk/; revision=22599
2007-05-24 06:57:20 +00:00
Sven Neumann 2381068a89 app/dialogs/channel-options-dialog.c app/dialogs/convert-dialog.c
2007-05-23  Sven Neumann  <sven@gimp.org>

	* app/dialogs/channel-options-dialog.c
	* app/dialogs/convert-dialog.c
	* app/dialogs/desaturate-dialog.c
	* app/dialogs/fade-dialog.c
	* app/dialogs/image-merge-layers-dialog.c
	* app/dialogs/image-new-dialog.c
	* app/dialogs/image-scale-dialog.c
	* app/dialogs/layer-add-mask-dialog.c
	* app/dialogs/layer-options-dialog.c
	* app/dialogs/module-dialog.c
	* app/dialogs/offset-dialog.c
	* app/dialogs/palette-import-dialog.c
	* app/dialogs/print-size-dialog.c
	* app/dialogs/resize-dialog.c
	* app/dialogs/scale-dialog.c
	* app/dialogs/template-options-dialog.c
	* app/dialogs/vectors-export-dialog.c
	* app/dialogs/vectors-import-dialog.c
	* app/dialogs/vectors-options-dialog.c: allocate structs using GSlice.


svn path=/trunk/; revision=22598
2007-05-23 20:08:27 +00:00
Sven Neumann ac2f30c485 use a GQueue to store the points.
2007-05-23  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpiscissorstool.[ch]: use a GQueue to store the points.

svn path=/trunk/; revision=22597
2007-05-23 14:56:21 +00:00
Sven Neumann 8216ba62ed plug-ins/help/gimphelpitem.c plug-ins/help/gimphelplocale.c
2007-05-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/help/gimphelpitem.c
	* plug-ins/help/gimphelplocale.c
	* plug-ins/help/help.c
	* plug-ins/help/gimphelpdomain.c: allocate structs using GSlice.

svn path=/trunk/; revision=22596
2007-05-23 13:59:51 +00:00
Sven Neumann ab71eb9f6a app/paint/gimppaintoptions.c app/tools/gimpcolorbalancetool.c
2007-05-23  Sven Neumann  <sven@gimp.org>

	* app/paint/gimppaintoptions.c
	* app/tools/gimpcolorbalancetool.c
	* app/tools/gimpcolorizetool.c
	* app/tools/gimpcurvestool.c
	* app/tools/gimpforegroundselecttool.c
	* app/tools/gimphuesaturationtool.c
	* app/tools/gimpiscissorstool.c
	* app/tools/gimplevelstool.c
	* app/tools/gimprectangleoptions.c
	* app/tools/gimprectangletool.c
	* app/tools/gimpthresholdtool.c
	* app/tools/tool_manager.c: allocate structs using GSlice.

svn path=/trunk/; revision=22595
2007-05-23 13:49:06 +00:00
Sven Neumann 30bdffb11e applied patch from Kevin Hurewitz that fixes resizing an area while being
2007-05-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/imagemap/imap_cmd_move_sash.c (sash_move): applied
	patch from Kevin Hurewitz that fixes resizing an area while being
	zoomed in (bug #439222).

svn path=/trunk/; revision=22593
2007-05-23 11:05:38 +00:00
Sven Neumann 16f34d2143 app/actions/image-commands.c allocate structs using GSlice.
2007-05-23  Sven Neumann  <sven@gimp.org>

	* app/actions/image-commands.c
	* app/actions/templates-commands.c: allocate structs using GSlice.


svn path=/trunk/; revision=22592
2007-05-23 10:42:56 +00:00
Tor Lillqvist 9ab35b10ce Use memset() instead of bzero().
2007-05-23  Tor Lillqvist  <tml@novell.com>

	* plug-ins/common/tiff-save.c (save_paths): Use memset() instead
	of bzero().


svn path=/trunk/; revision=22591
2007-05-23 10:23:37 +00:00
Sven Neumann a6d783152d app/core/gimp-user-install.c app/core/gimpgradient-load.c
2007-05-23  Sven Neumann  <sven@gimp.org>

	* app/core/gimp-user-install.c
	* app/core/gimpgradient-load.c
	* app/core/gimpsamplepoint.c
	* app/core/gimpscanconvert.c
	* app/core/gimpunit.c
	* app/display/gimpdisplayshell-filter-dialog.c
	* app/display/gimpdisplayshell-layer-select.c
	* app/display/gimpdisplayshell-scale.c
	* app/file/gimprecentitem.c
	* app/gui/splash.c: allocate structs using GSlice.

svn path=/trunk/; revision=22590
2007-05-23 10:22:09 +00:00
Sven Neumann 634ac74de4 app/display/gimpdisplayshell-selection.c allocate structs using GSlice
* app/display/gimpdisplayshell-selection.c
	* app/display/gimpstatusbar.c: allocate structs using GSlice


svn path=/trunk/; revision=22589
2007-05-23 09:04:20 +00:00
Sven Neumann c7bffbceaa app/dialogs/tips-parser.c app/display/gimpdisplayshell-autoscroll.c
2007-05-23  Sven Neumann  <sven@gimp.org>

	* app/dialogs/tips-parser.c
	* app/display/gimpdisplayshell-autoscroll.c
	* app/menus/plug-in-menus.c
	* app/plug-in/gimpenvirontable.c
	* app/plug-in/gimpinterpreterdb.c
	* app/plug-in/gimpplugindebug.c
	* app/plug-in/gimppluginshm.c
	* app/text/gimptextundo.c: allocate structs using GSlice

	* app/widgets/gimpselectiondata.c 
(gimp_selection_data_set_color):
	stack allocate tempory data.


svn path=/trunk/; revision=22588
2007-05-23 08:57:53 +00:00
Sven Neumann cd772f930a app/core/gimppalette-import.c app/core/gimppalette-load.c use GSlice for
2007-05-22  Sven Neumann  <sven@gimp.org>

	* app/core/gimppalette-import.c
	* app/core/gimppalette-load.c
	* app/core/gimppalette.c: use GSlice for palette entries and
	temporary structs.


svn path=/trunk/; revision=22587
2007-05-22 21:59:19 +00:00
Sven Neumann dc94d7b2f6 cleaning up after my last commit...
svn path=/trunk/; revision=22586
2007-05-22 21:40:24 +00:00
Sven Neumann 9ebc6ae270 allocate structs using GSlice.
2007-05-22  Sven Neumann  <sven@gimp.org>

	* app/base/siox.c: allocate structs using GSlice.

	* app/base/tile-swap.[ch]
	* app/xcf/xcf-load.c: removed dead code that used to deal with
	swapping from XCF files. Simplified swap file code quite a bit.


svn path=/trunk/; revision=22585
2007-05-22 21:32:09 +00:00
Sven Neumann f1cdb9bea1 app/core/gimparea.[ch] app/core/gimpprojection.c use GSlice to allocate
2007-05-22  Sven Neumann  <sven@gimp.org>

	* app/core/gimparea.[ch]
	* app/core/gimpprojection.c
	* app/display/gimpdisplay.c: use GSlice to allocate GimpArea and
	sanitize the API.


svn path=/trunk/; revision=22584
2007-05-22 18:52:11 +00:00
Sven Neumann 1a3abcff9b app/base/tile-manager.[ch] removed unused code.
2007-05-22  Sven Neumann  <sven@gimp.org>

	* app/base/tile-manager.[ch]
	* app/base/tile-manager-private.h: removed unused code.

	* app/base/pixel-surround.c
	* app/base/pixel-region.c: allocate structs using GSlice.

	* app/base/tile.c: allocate TileLink and TileRowHint using 
GSlice.


svn path=/trunk/; revision=22583
2007-05-22 18:29:33 +00:00