Commit Graph

19683 Commits

Author SHA1 Message Date
Mukund Sivaraman 2ea9ad84ef plug-ins/common/psd.c Made fseek() and ftell() use glong for offsets
2007-02-03  Mukund Sivaraman  <muks@mukund.org>

        * plug-ins/common/psd.c
        * plug-ins/common/psd_save.c: Made fseek() and ftell() use glong    
        for offsets instead of gint32  


svn path=/trunk/; revision=21840
2007-02-03 06:57:38 +00:00
Sven Neumann 766d27da9d renamed to app/app.[ch].
2007-02-02  Sven Neumann  <sven@gimp.org>

	* app/app_procs.[ch]: renamed to app/app.[ch].

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


svn path=/trunk/; revision=21838
2007-02-02 14:27:16 +00:00
Sven Neumann 85bf9a7b16 fixed problem pointed out in bug #403580.
2007-02-02  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/mosaic.c (find_gradients): fixed problem pointed
	out in bug #403580.


svn path=/trunk/; revision=21837
2007-02-02 13:59:09 +00:00
Sven Neumann 06f2e093bc changed function signature according to changes in internal undo API.
2007-02-02  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpitemtreeview.c (gimp_item_tree_view_toggle_clicked):
	changed function signature according to changes in internal undo API.


svn path=/trunk/; revision=21836
2007-02-02 10:57:16 +00:00
Michael Natterer 3c6912c52c app/core/gimpimageundo.[ch] implement image and item parasite attach and
2007-02-02  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpimageundo.[ch]
	* app/core/gimpitempropundo.[ch]: implement image and item
	parasite attach and remove undos. They are image/item properties
	after all.

	* app/core/gimpimage-undo-push.[ch]: use them here and move the
	undo functions to the resp. image and item property sections.


svn path=/trunk/; revision=21835
2007-02-02 10:55:38 +00:00
Sven Neumann 71fc3e7b00 removed code that became obsolet by my last change
svn path=/trunk/; revision=21834
2007-02-02 09:03:02 +00:00
Sven Neumann d055b8f77a plug-ins/FractalExplorer/Dialogs.c plug-ins/Lighting/lighting_ui.c
2007-02-02  Sven Neumann  <sven@gimp.org>

	* plug-ins/FractalExplorer/Dialogs.c
	* plug-ins/Lighting/lighting_ui.c
	* plug-ins/common/CML_explorer.c
	* plug-ins/common/channel_mixer.c
	* plug-ins/common/gqbist.c
	* plug-ins/common/spheredesigner.c
	* plug-ins/flame/flame.c
	* plug-ins/gfig/gfig-dialog.c
	* plug-ins/gimpressionist/brush.c
	* plug-ins/ifscompose/ifscompose.c
	* plug-ins/imagemap/imap_file.c
	* plug-ins/metadata/interface.c
	* plug-ins/script-fu/script-fu-console.c: set
	do-overwrite-confirmation on file save dialogs and removed custom
	confirmation dialogs where present.


svn path=/trunk/; revision=21833
2007-02-02 08:57:15 +00:00
Sven Neumann aae05d4eaf app/actions/error-console-commands.c app/actions/gradients-commands.c
2007-02-02  Sven Neumann  <sven@gimp.org>

	* app/actions/error-console-commands.c
	* app/actions/gradients-commands.c
	* app/actions/text-editor-commands.c
	* app/dialogs/vectors-export-dialog.c
	* app/dialogs/vectors-import-dialog.c
	* app/tools/gimpimagemaptool.c 
(gimp_image_map_tool_settings_dialog):
	set default response and do-overwrite-confirmation on the file
	chooser dialogs. Fixes bug #403449 for all core dialogs.


svn path=/trunk/; revision=21832
2007-02-02 07:50:36 +00:00
Sven Neumann 18a07d427b ellipsize progress label.
2007-02-01  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpprogressbox.c: ellipsize progress label.

	* app/widgets/gimpprogressdialog.c: set a fixed width for progress
	dialogs.

	* libgimp/gimpprogressbar.c: ellipsize progress label.


svn path=/trunk/; revision=21831
2007-02-01 12:06:21 +00:00
Sven Neumann fb6db20b65 app/config/gimpdisplayconfig.c changed the default monitor resolution to
2007-02-01  Sven Neumann  <sven@gimp.org>

	* app/config/gimpdisplayconfig.c
	* app/widgets/gimpwidgets-utils.c (gimp_get_screen_resolution):
	changed the default monitor resolution to 96 dpi and also use that
	as a fallback value.


svn path=/trunk/; revision=21830
2007-02-01 10:44:01 +00:00
Michael Natterer 6072f873b8 require "name" being non-NULL.
2007-01-31  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpitem.c (gimp_item_parasite_detach): require "name"
	being non-NULL.

	* app/core/gimpimage-undo-push.c (undo_pop_parasite): removed dead
	code which handled parasites of the Gimp itself, don't include
	"gimp-parasites.h".

	Require "parasite" and "name" being non-NULL in all public
	parasite undo functions.


svn path=/trunk/; revision=21829
2007-01-31 22:58:06 +00:00
Michael Natterer d0df7dae38 app/core/gimpmaskundo.c implement GimpObject::get_memsize() instead of
2007-01-31  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpmaskundo.c
	* app/core/gimpitempropundo.c: implement GimpObject::get_memsize()
	instead of fiddling with undo->size.


svn path=/trunk/; revision=21828
2007-01-31 22:06:01 +00:00
Michael Natterer ff997b36c0 removed "drawable" parameter because it's always the drawable the floating
2007-01-31  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpimage-undo-push.[ch]
	(gimp_image_undo_push_fs_to_layer): removed "drawable" parameter
	because it's always the drawable the floating selection is
	attached to.

	* app/core/gimplayer-floating-sel.c (floating_sel_to_layer):
	changed accordingly.


svn path=/trunk/; revision=21827
2007-01-31 21:54:17 +00:00
Michael Natterer 89ee6f4d1a app/core/Makefile.am app/core/core-types.h new undo class for
2007-01-31  Michael Natterer  <mitch@gimp.org>

	* app/core/Makefile.am
	* app/core/core-types.h
	* app/core/gimpfloatingselundo.[ch]: new undo class for
	GIMP_UNDO_FS_RIGOR and GIMP_UNDO_FS_RELAX.

	* app/core/gimpimage-undo-push.c: use it here.

	* app/core/gimpimageundo.c
	* app/core/gimpdrawableundo.c: implement GimpObject::get_memsize()
	instead of fiddling with undo->size.


svn path=/trunk/; revision=21826
2007-01-31 21:05:43 +00:00
Michael Natterer 6c01c0db6b app/vectors/Makefile.am app/vectors/vectors-types.h new undo class for
2007-01-31  Michael Natterer  <mitch@gimp.org>

	* app/vectors/Makefile.am
	* app/vectors/vectors-types.h
	* app/vectors/gimpvectorsmodundo.[ch]: new undo class for
	GIMP_UNDO_VECTORS_MOD.

	* app/core/gimpimage-undo-push.c: use it here.

	* app/core/gimpdrawablemodundo.h: fix typo in include guard.


svn path=/trunk/; revision=21825
2007-01-31 19:56:41 +00:00
Michael Natterer 336d7761c8 app/core/Makefile.am app/core/core-types.h new undo class for
2007-01-31  Michael Natterer  <mitch@gimp.org>

	* app/core/Makefile.am
	* app/core/core-types.h
	* app/core/gimpdrawablemodundo.[ch]: new undo class for
	GIMP_UNDO_DRAWABLE_MOD.

	* app/core/gimpimage-undo-push.c: use it here.


svn path=/trunk/; revision=21824
2007-01-31 19:13:12 +00:00
Michael Natterer a7c0058c62 app/core/Makefile.am app/core/core-types.h new undo class for
2007-01-31  Michael Natterer  <mitch@gimp.org>

	* app/core/Makefile.am
	* app/core/core-types.h
	* app/core/gimplayermaskpropundo.[ch]: new undo class for
	GIMP_UNDO_LAYER_MASK_APPLY and GIMP_UNDO_LAYER_MASK_SHOW.

	* app/core/gimpimage-undo-push.c: use it here.


svn path=/trunk/; revision=21823
2007-01-31 18:50:39 +00:00
Michael Natterer d388d58494 app/core/Makefile.am app/core/core-types.h app/core/gimpchannelundo.[ch]
2007-01-31  Michael Natterer  <mitch@gimp.org>

	* app/core/Makefile.am
	* app/core/core-types.h
	* app/core/gimpchannelundo.[ch]
	* app/core/gimplayerundo.[ch]
	* app/core/gimplayermaskundo.[ch]: new undo classes implementing
	channel, layer and layer mask add and remove undos.

	* app/vectors/Makefile.am
	* app/vectors/vectors-types.h
	* app/vectors/gimpvectorsundo.[ch]: vectors add and remove undos.

	* app/core/gimpimage-undo-push.[ch]: use the new undo classes.
	Removed "position" parameter from all "add" functions because
	it's useless.

	* app/core/gimpimage.c: changed accordingly.


svn path=/trunk/; revision=21822
2007-01-31 12:33:03 +00:00
Sven Neumann 3cd8d4849c if we can't grab the pointer, use the window under the pointer instead of
2007-01-31  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/screenshot.c (select_window_x11): if we can't
	grab the pointer, use the window under the pointer instead of
	bailing out with an error message.


svn path=/trunk/; revision=21821
2007-01-31 09:47:06 +00:00
Sven Neumann 2c6668d30c fixed tooltip.
2007-01-31  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/screenshot.c (shoot_dialog): fixed tooltip.


svn path=/trunk/; revision=21820
2007-01-31 09:08:46 +00:00
Michael Natterer 9020afcf22 renamed these files...
2007-01-30  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpchannelundo.[ch]: renamed these files...

	* app/core/gimpmaskundo.[ch]: ...to these. We'll need the name
	GimpChannelUndo for something else later.

	* app/core/Makefile.am
	* app/core/core-types.h
	* app/core/gimpimage-undo-push.c: changed accordingly.


svn path=/trunk/; revision=21819
2007-01-30 22:53:18 +00:00
Michael Natterer f71d884bda app/vectors/Makefile.am app/vectors/vectors-types.h new undo class which
2007-01-30  Michael Natterer  <mitch@gimp.org>

	* app/vectors/Makefile.am
	* app/vectors/vectors-types.h
	* app/vectors/gimpvectorspropundo.[ch]: new undo class which
	implements GIMP_UNDO_VECTORS_REPOSITION.

	* app/core/gimpimage-undo-push.c: use it here.

	* app/Makefile.am: another lame linker hack to make it build with
	the new file that is not used in app/vectors/ itself.


svn path=/trunk/; revision=21818
2007-01-30 22:06:55 +00:00
Michael Natterer e5419559d4 app/core/gimpguideundo.c app/core/gimpimageundo.c
2007-01-30  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpguideundo.c
	* app/core/gimpimageundo.c
	* app/core/gimplayerpropundo.c
	* app/core/gimpsamplepointundo.c
	* app/core/gimpdrawableundo.c
	* app/core/gimpitempropundo.c
	* app/core/gimpchannelpropundo.c
	* app/core/gimpchannelundo.c
	* app/core/gimpitemundo.c: chain up last in GimpUndo::free(), use
	switch() in place of if/else when there is more than one undo type
	implemented in one file, g_assert_not_reached() in default:, some
	minor cleanups.


svn path=/trunk/; revision=21817
2007-01-30 16:53:20 +00:00
Michael Natterer 13a3975be4 add support for GIMP_UNDO_TEXT_LAYER_MODIFIED.
2007-01-30  Michael Natterer  <mitch@gimp.org>

	* app/text/gimptextundo.[ch]: add support for
	GIMP_UNDO_TEXT_LAYER_MODIFIED.

	* app/core/gimpimage-undo-push.c: use it here.


svn path=/trunk/; revision=21816
2007-01-30 15:08:59 +00:00
Michael Natterer f0d1d8643d app/core/Makefile.am app/core/core-types.h app/core/gimpguideundo.[ch] new
2007-01-30  Michael Natterer  <mitch@gimp.org>

	* app/core/Makefile.am
	* app/core/core-types.h
	* app/core/gimpguideundo.[ch]
	* app/core/gimpsamplepointundo.[ch]: new classes implementing
	guide and sample point undos.

	* app/core/gimpimage-undo-push.c: use them and remove all guide
	and sample point code.


svn path=/trunk/; revision=21815
2007-01-30 12:32:14 +00:00
Jakub Friedl a3197b0c7c updated Czech translation
2007-01-30  Jakub Friedl  <jfriedl@suse.cz>

  * cs.po: updated Czech translation


svn path=/trunk/; revision=21814
2007-01-30 11:17:56 +00:00
Jakub Friedl 6609076920 updated Czech translation
2007-01-30  Jakub Friedl  <jfriedl@suse.cz>

  * cs.po: updated Czech translation


svn path=/trunk/; revision=21813
2007-01-30 10:58:34 +00:00
Michael Natterer 11b1d24ac7 app/core/Makefile.am new files implementing new(), ref() and unref() and
2007-01-30  Michael Natterer  <mitch@gimp.org>

	* app/core/Makefile.am
	* app/core/gimpsamplepoint.[ch]: new files implementing new(),
	ref() and unref() and the new GIMP_TYPE_SAMPLE_TYPE boxed type.

	* app/core/gimpimage-sample-points.[ch]: removed ref() and unref()
	functions here.

	* app/core/gimpimage.c
	* app/core/gimpimage-crop.c
	* app/core/gimpimage-duplicate.c
	* app/core/gimpimage-flip.c
	* app/core/gimpimage-resize.c
	* app/core/gimpimage-rotate.c
	* app/core/gimpimage-scale.c
	* app/core/gimpimage-undo-push.c
	* app/display/gimpdisplayshell.c
	* app/display/gimpdisplayshell-draw.c
	* app/tools/gimpcolortool.c
	* app/widgets/gimpsamplepointeditor.c
	* app/xcf/xcf-save.c: changed accordingly.

	* app/core/gimpimage-rotate.c (gimp_image_rotate_sample_points):
	added missing call to gimp_image_undo_push_sample_point().


svn path=/trunk/; revision=21812
2007-01-30 10:34:59 +00:00
Marco Ciampa 6091e30496 Updated italian translation
svn path=/trunk/; revision=21810
2007-01-30 09:57:39 +00:00
Marco Ciampa 6ccd3f2745 Updated Esperanto translation
svn path=/trunk/; revision=21809
2007-01-30 09:23:04 +00:00
Marco Ciampa f23909471d Updated Esperanto translation
svn path=/trunk/; revision=21808
2007-01-30 09:21:48 +00:00
Marco Ciampa cfb9817e26 Updated Esperanto translation
svn path=/trunk/; revision=21807
2007-01-30 09:19:31 +00:00
Marco Ciampa 45585b12f4 Updated Esperanto translation
svn path=/trunk/; revision=21806
2007-01-30 09:16:44 +00:00
Marco Ciampa 4f52e214ec Updated Esperanto translation
svn path=/trunk/; revision=21805
2007-01-30 09:14:39 +00:00
Michael Natterer dcee3d60c3 app/core/core-enums.[ch] drop the "image" from GIMP_UNDO_IMAGE_GUIDE,
2007-01-30  Michael Natterer  <mitch@gimp.org>

	* app/core/core-enums.[ch]
	* app/core/gimpimage-undo-push.[ch]: drop the "image" from
	GIMP_UNDO_IMAGE_GUIDE, GIMP_UNDO_IMAGE_SAMPLE_POINT,
	gimp_imge_undo_push_image_guide() and
	gimp_imge_undo_push_image_sample_point()

	* app/core/gimpimage-undo.c
	* app/core/gimpimage-guides.c
	* app/core/gimpimage-scale.c
	* app/core/gimpimage-sample-points.c
	* app/core/gimpimage-rotate.c
	* app/tools/gimpmeasuretool.c: changed accordingly.


svn path=/trunk/; revision=21804
2007-01-29 23:21:41 +00:00
Ole Laursen e3886a2182 Updated Danish translation.
2007-01-29  Ole Laursen  <olau@hardworking.dk>

	* da.po: Updated Danish translation.


svn path=/trunk/; revision=21803
2007-01-29 22:48:08 +00:00
Michael Natterer c52a43101a app/core/core-enums.[ch] reordered IMAGE_GRID and IMAGE_COLORMAP to be
2007-01-29  Michael Natterer  <mitch@gimp.org>

	* app/core/core-enums.[ch]
	* app/core/gimpimage-undo-push.[ch]: reordered IMAGE_GRID and
	IMAGE_COLORMAP to be before IMAGE_GUIDE and IMAGE_SAMPLE_POINT.


svn path=/trunk/; revision=21802
2007-01-29 22:37:18 +00:00
Michael Natterer c757ac1534 add support for IMAGE_GRID and IMAGE_COLORMAP undos.
2007-01-28  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpimageundo.[ch]: add support for IMAGE_GRID and
	IMAGE_COLORMAP undos.

	* app/core/gimpimage-undo-push.c: use GimpImageUndo for grid and
	colormap undos.


svn path=/trunk/; revision=21801
2007-01-29 19:11:35 +00:00
Michael Natterer 9a7de0552d return a GimpUndo* instead of gboolean from all undo_push functions.
2007-01-29  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpimage-undo-push.[ch]: return a GimpUndo* instead
	of gboolean from all undo_push functions. Simplifies the new
	properly done functions quite a bit.


svn path=/trunk/; revision=21800
2007-01-29 18:49:06 +00:00
Michael Natterer e9b9f1bfd1 app/core/Makefile.am app/core/core-types.h new undo class which handles
2007-01-29  Michael Natterer  <mitch@gimp.org>

	* app/core/Makefile.am
	* app/core/core-types.h
	* app/core/gimpchannelpropundo.[ch]: new undo class which handles
	CHANNEL_REPOSITION and CHANNEL_COLOR.

	* app/core/gimpimage-undo-push.c: use the new undo class and
	remove the resp. code here.


svn path=/trunk/; revision=21799
2007-01-29 08:40:40 +00:00
Marco Ciampa 0eef785589 Updated italian translation
svn path=/trunk/; revision=21798
2007-01-29 00:21:56 +00:00
Marco Ciampa bb9ca66881 Updated italian translation
svn path=/trunk/; revision=21797
2007-01-29 00:15:58 +00:00
Marco Ciampa 90fcfbbccb Updated italian translation
svn path=/trunk/; revision=21796
2007-01-28 23:57:53 +00:00
Marco Ciampa e19b31eeaa Updated italian translation
svn path=/trunk/; revision=21795
2007-01-28 23:56:28 +00:00
Marco Ciampa 7102f452aa Updated italian translation
svn path=/trunk/; revision=21794
2007-01-28 23:55:47 +00:00
Marco Ciampa d1c93ffe0c Updated italian translation
svn path=/trunk/; revision=21793
2007-01-28 23:55:03 +00:00
Ole Laursen 78fb478e9f Partially updated Danish translation.
2007-01-28  Ole Laursen  <olau@hardworking.dk>

	* da.po: Partially updated Danish translation.


svn path=/trunk/; revision=21792
2007-01-28 22:47:44 +00:00
Michael Natterer 125a001976 app/core/Makefile.am app/core/core-types.h new undo class which handles
2007-01-28  Michael Natterer  <mitch@gimp.org>

	* app/core/Makefile.am
	* app/core/core-types.h
	* app/core/gimplayerpropundo.[ch]: new undo class which handles
	LAYER_REPOSITION, LAYER_MODE, LAYER_OPACITY and LAYER_LOCK_ALPHA.

	* app/core/gimpimage-undo-push.c: use the new undo class and
	remove the resp. code here.


svn path=/trunk/; revision=21791
2007-01-28 20:10:45 +00:00
Michael Natterer 60370072fd app/core/Makefile.am app/core/core-types.h new undo class which handles
2007-01-28  Michael Natterer  <mitch@gimp.org>

	* app/core/Makefile.am
	* app/core/core-types.h
	* app/core/gimpitempropundo.[ch]: new undo class which handles
	ITEM_RENAME, ITEM_DISPLACE, ITEM_VISIBILITY and ITEM_LINKED undos.

	* app/core/gimpimage-undo-push.c: use the new undo class and
	remove the resp. code here.


svn path=/trunk/; revision=21790
2007-01-28 19:00:13 +00:00
Michael Natterer 11a43d6a50 app/core/Makefile.am app/core/core-types.h new undo class which handles
2007-01-28  Michael Natterer  <mitch@gimp.org>

	* app/core/Makefile.am
	* app/core/core-types.h
	* app/core/gimpimageundo.[ch]: new undo class which handles
	GIMP_UNDO_IMAGE_TYPE, GIMP_UNDO_IMAGE_SIZE and
	GIMP_UNDO_IMAGE_RESOLUTION.

	* app/core/gimpimage-undo-push.c: use the new undo class and
	remove the resp. code here.

	* app/core/gimpimage-undo.h: changed include guards to not
	conflict with gimpimageundo.h


svn path=/trunk/; revision=21789
2007-01-28 18:21:39 +00:00