Commit Graph

11684 Commits

Author SHA1 Message Date
Michael Natterer bbc73e63bc removed the undo clearing/sanitizing code...
2004-03-22  Michael Natterer  <mitch@gimp.org>

	* app/file/file-open.c (file_open_with_proc_and_display): removed
	the undo clearing/sanitizing code...

	(file_open_image): ...and added it here so *all* newly opened
	images start with a clean and sane undo state.

	* app/gui/file-commands.c (file_revert_confirm_callback): removed
	(incomplete) undo sanitizing here too.
2004-03-22 13:46:14 +00:00
Sven Neumann 58df261e2b use putenv(); setenv() isn't available everywhere (bug #137930).
2004-03-22  Sven Neumann  <sven@gimp.org>

	* tools/gimp-remote.c: use putenv(); setenv() isn't available
	everywhere (bug #137930).
2004-03-22 13:26:40 +00:00
Michael Natterer a666668ce8 call gimp_display_shell_expose_full() so the whole canvas gets cleared
2004-03-22  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell.c (gimp_display_shell_reconnect):
	call gimp_display_shell_expose_full() so the whole canvas gets
	cleared when reverting the image.
2004-03-22 13:12:07 +00:00
Sven Neumann 864b0370eb s/libtool/intltool/ in Raphael's commit message 2004-03-22 12:37:15 +00:00
Sven Neumann 2d4005f26c clamp the pixpipe dimension to the allowed range. Fixes bug #137902.
2004-03-22  Sven Neumann  <sven@gimp.org>

	* libgimpbase/gimpparasiteio.c (gimp_pixpipe_params_parse): clamp
	the pixpipe dimension to the allowed range. Fixes bug #137902.
2004-03-22 12:33:52 +00:00
Sven Neumann db2dfce4b4 put some code back in that I removed accidentally.
2004-03-22  Sven Neumann  <sven@gimp.org>

	* app/text/gimptextlayer.c (gimp_text_layer_duplicate): put some
	code back in that I removed accidentally.
	(gimp_text_layer_render) freeze/thaw notifications to avoid that
	two "notify::modified" signals are emitted.
2004-03-22 12:05:43 +00:00
Sigurd Gartmann a24d43353a Updated Norwegian (Bokmål) translation.
2004-03-22  Sigurd Gartmann  <sigurd-translate@brogar.org>

	* no.po: Updated Norwegian (Bokmål) translation.
2004-03-22 11:00:59 +00:00
Miloslav Trmac 63ab8e3822 Update Czech translation 2004-03-22 09:22:12 +00:00
Raphael Quinet 6721b96860 Added a test for the version of intltool because some of the recent
2004-03-22  Raphael Quinet  <quinet@gamers.org>

	* autogen.sh: Added a test for the version of intltool because
	some of the recent versions are known to break the Tips file.
	This fixes bug #137502.  The message should be updated when a new
	version of libtool is released.
2004-03-22 06:47:50 +00:00
Gustavo Maciel Dias Vieira f87a2f64b3 Updated Brazilian Portuguese translation done by Joao S. O. Bueno
2004-03-21  Gustavo Maciel Dias Vieira  <gdvieira@zaz.com.br>

        * pt_BR.po: Updated Brazilian Portuguese translation done by Joao
        S. O. Bueno <gwidion@mpc.com.br>.
2004-03-22 04:24:31 +00:00
Simon Budig 0c5632a8b1 set the minimum of the "default_heigt" property range to -1, this enables
2004-03-22  Simon Budig  <simon@gimp.org>

	* app/widgets/gimpdock.c: set the minimum of the
	"default_heigt" property range to -1, this enables users
	to disable this feature via gtkrc.
2004-03-22 00:33:08 +00:00
Sven Neumann 46fff1793d added a style property "default_height" and set a window default size for
2004-03-22  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpdock.c: added a style property "default_height"
	and set a window default size for new docks. Fixes bug #137876.

	* themes/Default/gtkrc: document the default dock height.

	* themes/Small/gtkrc: set a smaller default dock height here.
2004-03-22 00:12:11 +00:00
Sven Neumann 2326e1b979 added gimp_undo_type_to_name() a similar function used to live in
2004-03-21  Sven Neumann  <sven@gimp.org>

	* app/core/gimpundo.[ch]: added gimp_undo_type_to_name() a similar
	function used to live in gimpimage-undo.[ch].

	* app/core/gimpitemundo.c (gimp_item_undo_new): allow NULL as name
	and generate it from the undo_type then.

	* app/core/gimpimage-undo.[ch]: added gimp_image_undo_push_undu(),
	new function that allows to push an undo on the image.

	* app/text/Makefile.am
	* app/text/text-types.h
	* app/text/gimptextundo.[ch]: added GimpTextUndo, derived from
	GimpItemUndo.

	* app/core/gimpimage-undo-push.c (gimp_image_undo_push_text_layer):
	use the new code and simply push a text undo here.

	* app/tools/gimptexttool.c: compress text undos by peeking at the
	undo stack. Fixes bug #137766.
2004-03-21 23:14:21 +00:00
Artur Flinta dea6e6fe2a Updated Polish translation.
2004-03-21  Artur Flinta  <aflinta@cvs.gnome.org>

	* pl.po: Updated Polish translation.
2004-03-21 21:29:22 +00:00
Alastair McKinstry f3c28e1d81 Update Irish translation 2004-03-21 21:22:09 +00:00
Duarte Loreto ddf645317f Updated Portuguese translation.
2004-03-21  Duarte Loreto <happyguy_pt@hotmail.com>

	* pt.po: Updated Portuguese translation.
2004-03-21 20:08:05 +00:00
Michael Natterer f5b03f20de s/1.3/2.0/g
2004-03-21  Michael Natterer  <mitch@gimp.org>

	* libgimpbase/makefile.msc:
	* libgimpmodule/makefile.msc: s/1.3/2.0/g
2004-03-21 19:58:04 +00:00
Ole Laursen 97b0ebe464 Updated Danish translation.
2004-03-21  Ole Laursen  <olau@hardworking.dk>

	* da.po: Updated Danish translation.
2004-03-21 19:55:31 +00:00
Michael Natterer e0d1ddb070 added run-time version check and do the workaround for bug #136636 only if
2004-03-21  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell-callbacks.c
	(gimp_display_shell_events): added run-time version
	check and do the workaround for bug #136636 only if
	the Gtk+ version is < 2.2.5.

	* m4macros/gimp-2.0.m4: require gimp >= 2.0.0
2004-03-21 15:58:48 +00:00
Sven Neumann 7988f83ef3 fixed check that suppresses unnecessary reloads of the current page.
2004-03-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/helpbrowser/dialog.c: fixed check that suppresses
	unnecessary reloads of the current page.
2004-03-21 15:43:35 +00:00
Michael Natterer baf4750f62 Things not to forget when making the final 2.0 release. 2004-03-21 13:44:50 +00:00
Sven Neumann d321c13075 corrected #define for the debug menu.
2004-03-21  Sven Neumann  <sven@gimp.org>

	* app/gui/debug-commands.h: corrected #define for the debug menu.
2004-03-21 13:39:22 +00:00
Sven Neumann 145596d9a0 a bug and two people I forgot to include for 2.0rc1 2004-03-21 12:40:46 +00:00
Michael Natterer 5c74d2d334 modify the event_box and preview styles in GtkWidget::style_set() instead
2004-03-21  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpthumbbox.c: modify the event_box and preview
	styles in GtkWidget::style_set() instead of in
	gimp_thumb_box_new() so they follow theme changes correctly and
	the labels stay visible when switching to an "inverse" theme.
2004-03-21 11:22:29 +00:00
Jan Morén a80b7e1b85 Updated Swedish translation.
2004-03-21  Jan Morén  <jan.moren@lucs.lu.se>

         * sv.po: Updated Swedish translation.
2004-03-21 09:43:39 +00:00
Sven Neumann 6972fe34df Made 2.0rc1 release.
2004-03-20  Sven Neumann  <sven@gimp.org>

        * Made 2.0rc1 release.
2004-03-20 23:41:42 +00:00
Simon Budig 62c63bf9e6 app/.cvsignore docs/.cvsignore updated to ignore 2.0 stuff :-)
2004-03-20  Simon Budig  <simon@gimp.org>

	* app/.cvsignore
	* docs/.cvsignore
	* tools/.cvsignore: updated to ignore 2.0 stuff  :-)
2004-03-20 22:24:52 +00:00
Denis Lackovic c7f824644c *** empty log message *** 2004-03-20 22:19:36 +00:00
Pedro Gimeno 9127a54dec Fixed several off-by-one problems in display:
2004-03-20  Pedro Gimeno  <pggimeno@wanadoo.es>

	Fixed several off-by-one problems in display:

	* app/display/gimpdisplayshell.h (PROJ_ROUND): New macro to apply
	to a float the same rounding method as the one used when rendering.
	(SCALEX, SCALEY): Use PROJ_ROUND instead of truncating.

	* app/display/gimpdisplayshell-transform.c
	(gimp_display_shell_transform_xy): Accept gdouble image coordinates
	even if the returned screen coordinates are integer. Use PROJ_ROUND
	instead of (gint) to apply proper rounding. Fixes bug #137566.

	* app/display/gimpdisplayshell-transform.h
	(gimp_display_shell_transform_xy): changed accordingly.

	* app/display/gimpdisplayshell-draw.c
	* app/tools/gimpdrawtool.c: make sure everywhere that PROJ_ROUND
	is used either directly or through gimp_display_shell_transform_xy,
	instead of using arbitrary rounding methods.
2004-03-20 21:59:41 +00:00
Sven Neumann f97ae7d726 set version number to 2.0.0, version string to "2.0rc1".
2004-03-20  Sven Neumann  <sven@gimp.org>

	* configure.in: set version number to 2.0.0, version string to
	"2.0rc1".

	* app/Makefile.am
	* libgimp/Makefile.am
	* libgimpbase/Makefile.am
	* libgimpcolor/Makefile.am
	* libgimpmath/Makefile.am
	* libgimpmodule/Makefile.am
	* libgimpthumb/Makefile.am
	* libgimpwidgets/Makefile.am
	* tools/Makefile.am: changed 1.3 to 2.0 all over the place.

	* README
	* NEWS: updated for the 2.0rc1 release.
2004-03-20 20:45:17 +00:00
Sven Neumann 7fdd4af69a it wasn't such a good idea to let GimpConfig take care of the text when
2004-03-20  Sven Neumann  <sven@gimp.org>

	* app/text/gimptextlayer.c: it wasn't such a good idea to let
	GimpConfig take care of the text when duplicating a text layer; it
	didn't create a copy. Do that manually again; fixes bug #137786.
2004-03-20 20:18:57 +00:00
Sven Neumann 584b3ceb9b don't take the image from tool->gdisp, this might be a NULL pointer.
2004-03-20  Sven Neumann  <sven@gimp.org>

	* app/tools/gimptexttool.c (gimp_text_tool_create_vectors): don't
	take the image from tool->gdisp, this might be a NULL pointer.

	* app/core/gimpimage-undo-push.c: removed debugging output.
2004-03-20 20:10:05 +00:00
Sven Neumann 948dc82f7d libgimp/libgimp-sections.txt removed GimpParamColor.
2004-03-20  Sven Neumann  <sven@gimp.org>

	* libgimp/libgimp-sections.txt
	* libgimp/tmpl/gimp.sgml: removed GimpParamColor.
2004-03-20 19:55:08 +00:00
jjranta cb08f98390 Updated Finnish translation by Mikko Paananen. 2004-03-20 18:54:07 +00:00
jjranta 0a45a7891e Updated Finnish translation by Mikko Paananen 2004-03-20 18:51:37 +00:00
Sven Neumann 20d03407fe avoid to set the unit property with every size change; only set it if it
2004-03-20  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimppropwidgets.c (gimp_prop_size_entry_callback):
	avoid to set the unit property with every size change; only set it
	if it actually changed.

	* app/core/gimpimage-undo-push.c (gimp_image_undo_push_text_layer):
	allow to pass a GParamSpec that identifies a single text property
	to be changed. In this case, don't store a GimpText object on the
	undo stack but only the changed value.

	* app/tools/gimptexttool.c: use the new undo feature to reduce the
	memory footprint of text undo for the common case.

	* app/text/gimptextlayer.c: changed accordingly.
2004-03-20 17:21:48 +00:00
Simon Budig 9d616282c3 Applied slightly modified patch from Sven. When the quickmask has a
2004-03-20  Simon Budig  <simon@gimp.org>

	* app/core/gimpimage-qmask.c: Applied slightly modified patch
	from Sven. When the quickmask has a floating selection, anchor
	it before loading the selection and deleting the qmask channel.

	Fixes bug #137170.
2004-03-20 16:43:29 +00:00
Simon Budig 63177de7c4 new callbacks to convert the current vector to the selection.
2004-03-20  Simon Budig  <simon@gimp.org>

	* app/gui/select-commands.[ch]: new callbacks to convert the
	current vector to the selection.

	* app/gui/image-menu.c: hook it into the menu. Default shortcut
	is Shift+V.
2004-03-20 16:14:49 +00:00
Sven Neumann c4c19933bc use the same undo group logic as in the text tool. Not really necessary
2004-03-20  Sven Neumann  <sven@gimp.org>

	* app/text/gimptextlayer.c (gimp_text_layer_set): use the same
	undo group logic as in the text tool. Not really necessary since
	this function must not be called on modified text layers, but it's
	more consistent this way.
2004-03-20 15:53:36 +00:00
Simon Budig a08efc86bd Assigned "b" as the default shortcut for the path tool ("Bezier").
2004-03-20  Simon Budig  <simon@gimp.org>

	* app/tools/gimpvectortool.c: Assigned "b" as the default shortcut
	for the path tool ("Bezier").

	Fixes bug #137753.
2004-03-20 15:28:28 +00:00
Denis Lackovic d59f90a970 *** empty log message *** 2004-03-20 15:01:37 +00:00
Sven Neumann fc3846e422 update the text editor when the text changes (for example when undoing
2004-03-20  Sven Neumann  <sven@gimp.org>

	* app/tools/gimptexttool.c: update the text editor when the text
	changes (for example when undoing text changes). Push a drawable
	undo when applying text changes to a modified text layer.
2004-03-20 13:26:02 +00:00
Simon Budig d8dcccf9df fixed a mangeled entry and described "gimp --batch -".
2004-03-20  Simon Budig  <simon@gimp.org>

	* docs/gimp.1.in: fixed a mangeled entry and described
	"gimp --batch -".
2004-03-20 12:46:32 +00:00
Sven Neumann 7e82e309b6 don't fiddle with the item size, gimp_drawable_set_tiles() does the right
2004-03-20  Sven Neumann  <sven@gimp.org>

	* app/text/gimptextlayer.c (gimp_text_layer_render): don't fiddle
	with the item size, gimp_drawable_set_tiles() does the right thing.
2004-03-20 12:38:15 +00:00
Sven Neumann 2e27c10e49 added a reference to the bug report 2004-03-20 12:02:34 +00:00
Sven Neumann 5d0dc07dd4 pack and show the "Jigsaw Style" radio buttons. Fixes bug #137737.
2004-03-20  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/jigsaw.c: pack and show the "Jigsaw Style" radio
	buttons. Fixes bug #137737.
2004-03-20 11:54:03 +00:00
Jan Morén 3396b3be62 Updated broken Swedish translation.
2004-03-20  Jan Morén  <jan.moren@lucs.lu.se>

         * sv.po: Updated broken Swedish translation.
2004-03-20 08:00:32 +00:00
Evandro Fernandes Giovanini 6c80755f94 Updated Brazilian Portuguese translation from Joao S. O. Bueno
2004-03-19  Evandro Fernandes Giovanini  <evandrofg@ig.com.br>

        * pt_BR.po: Updated Brazilian Portuguese translation
        from Joao S. O. Bueno <gwidion@mpc.com.br>.
2004-03-20 01:23:20 +00:00
Simon Budig 2b56b43d3c Ooops, forgot Chanelog Entry. 2004-03-19 23:44:01 +00:00
Simon Budig 5e47b5a0ed Make it possible to refresh the preview of an undo step.
2004-03-20  Simon Budig  <simon@gimp.org>

	* app/core/gimpundo.[ch]: Make it possible to refresh the preview
	of an undo step.

	* app/tools/gimpeditselectiontool.c
	* app/widgets/gimpitemtreeview.c
	* app/widgets/gimplayertreeview.c: refresh the preview when
	compressing undos. This ensures that the last preview in the undo
	history always reflects the current state of the image.
2004-03-19 23:42:42 +00:00