Commit Graph

6986 Commits

Author SHA1 Message Date
Ole Laursen 546a8d9d71 Updated Danish translation.
2002-05-29  Ole Laursen  <olau@hardworking.dk>

	* da.po: Updated Danish translation.
2002-05-29 19:40:36 +00:00
Michael Natterer 440a599ec6 don't pass bogus [0..255] opacities to gimp_paint_core_paste_canvas() but
2002-05-29  Michael Natterer  <mitch@gimp.org>

	* app/paint/gimppencil.c: don't pass bogus [0..255] opacities to
	gimp_paint_core_paste_canvas() but use gdouble values in a
	[0.0..1.0] range. Spotted by Jakub Steiner.
2002-05-29 17:13:12 +00:00
Sven Neumann 8215391f22 set include paths in AM_ASFLAGS for automake-1.5.
2002-05-29  Sven Neumann  <sven@gimp.org>

	* app/paint-funcs/Makefile.am: set include paths in AM_ASFLAGS for
	automake-1.5.
2002-05-29 15:44:12 +00:00
Sven Neumann 2c1b31d8cb Made 1.3.6 release. 2002-05-29 11:10:37 +00:00
Ole Laursen 39db496fa6 Changed translation of redo.
2002-05-29  Ole Laursen  <olau@hardworking.dk>

	* da.po: Changed translation of redo.
2002-05-29 10:56:34 +00:00
Sven Neumann 4c55933dea renamed gimp_mem_size_entry_new() to gimp_memsize_entry_new() for
2002-05-29  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpwidgets.[ch]: renamed gimp_mem_size_entry_new()
	to gimp_memsize_entry_new() for consistency. Rewrote using bitshifts.
	Should work correctly for sizeof (gulong) > 32 now. Added new unit
	GigaBytes.

	* app/gui/preferences-dialog.c
	* app/gui/user-install-dialog.c: changed accordingly.

	* app/config/gimpconfig-types.[ch]: added new function
	gimp_memsize_set_from_string() that allows to check if the
	conversion succeeded.

	* app/config/gimpconfig-deserialize.c
	(gimp_config_deserialize_memsize): use gimp_memsize_set_from_string().
2002-05-29 09:20:56 +00:00
Sven Neumann bb32c3c267 determine the src_base_type from the passed drawable, not from the image
2002-05-28  Sven Neumann  <sven@gimp.org>

	* app/core/gimplayer.c (gimp_layer_new_from_drawable): determine
	the src_base_type from the passed drawable, not from the image it
	is attached to.

	* app/core/gimpimage-convert.c (gimp_drawable_convert_rgb)
	(gimp_drawable_convert_grayscale): added a check for the expected
	bpp of the passed tile_manager.
2002-05-28 21:32:06 +00:00
Sven Neumann d453d02362 app/base/base-config.[ch] use a gulong for the tile_cache_size.
2002-05-28  Sven Neumann  <sven@gimp.org>

	* app/base/base-config.[ch]
	* app/gui/user-install-dialog.c: use a gulong for the tile_cache_size.

	* app/base/tile-cache.c: cleanup, no changes.

	* app/config/gimpconfig-types.c (string_to_memsize): avoid overflows.
2002-05-28 20:29:27 +00:00
Michael Natterer 6707e317d1 Yes, this is a bit hackish...
2002-05-28  Michael Natterer  <mitch@gimp.org>

	Yes, this is a bit hackish...

	* app/widgets/gimppreview.[ch]: added "gboolean eat_button_events"
	to enable previews which are clickable *and* let the click through
	to their parent widget.

	* app/widgets/gimpdrawablelistitem.c
	* app/widgets/gimplayerlistitem.c: set "eat_button_events" to
	FALSE whenever we set "clickable" to TRUE so the GtkListItems get
	the click and can set the active drawable.
2002-05-28 20:04:28 +00:00
Sven Neumann 89585b4c14 app/config/test-config.c use g_error_free() so we crash if our GimpConfig
2002-05-28  Sven Neumann  <sven@gimp.org>

	* app/config/test-config.c
	* app/gui/test-commands.c: use g_error_free() so we crash if our
	GimpConfig functions return FALSE and don't set an error.

	* app/widgets/gimpdevices.c: don't warn if devicerc was not found.

	* app/gui/preferences-dialog.c: use G_MAXULONG as upper limit for
	the mem_size entries.

	* libgimpwidgets/gimpwidgets.c (gimp_mem_size_entry): use gulong
	and set the range of the spinbutton's adjustment properly.
2002-05-28 18:49:45 +00:00
Sven Neumann 17c02510ef typos 2002-05-28 17:54:18 +00:00
Sven Neumann a98306ef20 derive GIMP_TYPE_MEMSIZE from G_TYPE_ULONG. Should probably be even
2002-05-28  Sven Neumann  <sven@gimp.org>

	* app/config/gimpconfig-types.c: derive GIMP_TYPE_MEMSIZE from
	G_TYPE_ULONG. Should probably be even G_TYPE_UINT64 but we use
	strtol which can only handles unsigned long int.

	* app/config/gimpbaseconfig.[ch]
	* app/config/gimpguiconfig.[ch]: changed accordingly.

	* app/config/test-config.c: use gimp_config_serialize_value() to
	dump changed values to stdout.
2002-05-28 17:53:51 +00:00
Michael Natterer b7e3c716c4 override GObjectClass->constructor() and do the setup stuff there, not in
2002-05-28  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpcontext.c: override GObjectClass->constructor() and
	do the setup stuff there, not in gimp_context_new(). This way we
	can create properly initialized contexts with g_object_new().

	* app/widgets/gimpdeviceinfo.c: Removed the "gimp" property
	again. Added a constructor() implementation and moved stuff there
	from gimp_device_info_set_property(PROP_GIMP).

	* app/config/gimpconfig-deserialize.c: made deserialization of
	value arrays work by actually using the array any not just leaking
	it ;)

	* app/core/gimpcontainer.c: removed debugging output. Call
	config_iface->deserialize(child, ...) again instead of calling
	gimp_config_deserialize_properties() directly.

	* app/widgets/gimpdevices.c: switch to using the new stuff for
	devicerc.

	* app/widgets/gimpdeviceinfo.[ch]
	* app/widgets/gimpdevices.[ch]
	* app/gimprc.c: removed all old gimprc-style devicerc stuff.

	* app/gui/menus.c
	* app/gui/test-commands.[ch]: removed devicerc testing entries
	and callbacks.
2002-05-28 16:41:56 +00:00
Sven Neumann da3cce37a3 oops 2002-05-28 16:41:05 +00:00
Sven Neumann 6f70246207 simplified by using a function for version checks.
2002-05-28  Sven Neumann  <sven@gimp.org>

	* autogen.sh: simplified by using a function for version checks.
2002-05-28 15:43:24 +00:00
Sven Neumann 1c37e46971 updated.
2002-05-28  Sven Neumann  <sven@gimp.org>

	* NEWS: updated.

	* plug-ins/common/jpeg.c (background_jpeg_save): cast stat.st_size
	to gint to avoid compiler warning with large file support. This
	will fail for JPEG files > 2GB but I doubt this is a real problem.
2002-05-28 13:03:47 +00:00
Ole Laursen fc4cf0eab8 Updated Danish translation.
2002-05-28  Ole Laursen  <olau@hardworking.dk>

	* da.po: Updated Danish translation.
2002-05-28 10:52:30 +00:00
Sven Neumann 1fc3f7c5ad fixed dist target by commenting out plug-ins/tools/common since it's also
2002-05-28  Sven Neumann  <sven@gimp.org>

	* configure.in (AC_OUTPUT): fixed dist target by commenting out
	plug-ins/tools/common since it's also commented out in the Makefile
	in plug-ins/tools. Fixed broken check for sendmail.

	* plug-ins/common/mail.c: use the SENDMAIL define from config.h.
2002-05-28 00:59:27 +00:00
Sven Neumann b64678ebbc fixed dist target by commenting out plug-ins/tools/common since it's also
2002-05-28  Sven Neumann  <sven@gimp.org>

	* configure.in (AC_OUTPUT): fixed dist target by commenting out
	plug-ins/tools/common since it's also commented out in the Makefile
	in plug-ins/tools.
2002-05-28 00:24:33 +00:00
Sven Neumann 74a5a9ec05 cleaned up, nicer output.
2002-05-28  Sven Neumann  <sven@gimp.org>

	* autogen.sh: cleaned up, nicer output.
2002-05-27 23:13:40 +00:00
Sven Neumann 0c87d88df9 oops 2002-05-27 21:59:26 +00:00
Sven Neumann 93799415c8 fixed error code and improved error messages.
2002-05-27  Sven Neumann  <sven@gimp.org>

	* app/config/gimpconfig.c (gimp_config_serialize): fixed error code
	and improved error messages.
2002-05-27 21:50:50 +00:00
Maurits Rijk 799c772fe1 Added lost entry from mitch + description for changed libgimpwidgets/gimpwidgets.c 2002-05-27 20:28:38 +00:00
Maurits Rijk ff06323109 Enable mnemonics (#80804) 2002-05-27 17:25:30 +00:00
Michael Natterer 74195d1f3f set the spinbutton which is attached right of the label as mnemonic_widget
2002-05-27  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimpsizeentry.c (gimp_size_entry_attach_label):
	set the spinbutton which is attached right of the label as
	mnemonic_widget for the label.
2002-05-27 16:56:28 +00:00
Sven Neumann 09e7d85d68 updated.
2002-05-27  Sven Neumann  <sven@gimp.org>

	* POTFILES.in: updated.
2002-05-27 14:21:43 +00:00
Michael Natterer dbc8aeb49c added "gint nest_level" to the deserialization functions, so nested calls
2002-05-27  Michael Natterer  <mitch@gimp.org>

	* app/config/gimpconfig.[ch]: added "gint nest_level" to the
	deserialization functions, so nested calls to deserialize()
	don't error on the trailing ')'. Made the scanner config parse
	one-character identifiers and allow G_CSET_A_2_Z for all
	identifiers.
	Added gimp_config_deserialize_return() because returning the
	correct return value from a deserialize() function is not
	trivial any more with nested calls.

	* app/config/gimpconfig-deserialize.[ch]
	* app/config/gimprc.c
	* app/core/gimpdocumentlist.c
	* app/core/gimpparasitelist.c: use the new return value utility
	function and made the main parsing loops simpler.

	* app/core/gimpunits.c: made the main parsing loops consistent
	with the stuff that uses GimpConfig.

	* app/config/gimpconfig-deserialize.c
	* app/config/gimpconfig-serialize.c: call the
	(de)serialize_property() functions only if the property's class
	implements the method itself (does *not* inherit it from one of
	it's parents).

	* app/core/gimpcontainer.c: implemented deserialization of
	containers. For each child entry encountered in the input, check
	if it's already contained in the container and create it if not.
	If a "gimp" pointer is passed as user_data pass it as construct
	property to g_object_new() when creating the object.

	* app/core/gimpcontext.c: changed deserialization of brush,
	pattern etc. to honor "no_data".

	* app/widgets/gimpdeviceinfo.c: added a "gimp" construct_only
	property which overrides GimpContext's "gimp" property. Moved all
	initialisation code from gimp_device_info_new() to
	gimp_device_info_set_property(PROP_GIMP) so it is properly
	performed if the object is created by GimpContainer's
	deserialize() implementation.

	* app/widgets/gimpdevices.c: made gimp_devices_restore_test() work.
2002-05-27 14:04:21 +00:00
Sven Neumann 9ccebbd48e restructured, added lots of comments. Reenabled build of gimp-remote.
2002-05-27  Sven Neumann  <sven@gimp.org>

	* configure.in: restructured, added lots of comments. Reenabled
	build of gimp-remote.

	* app/main.c: output name and version with usage information.

	* docs/Makefile.am: install the gimp-remote-1.3 man-page.

	* tools/Makefile.am: link gimp-remote-1.3 to gimp-remote if
	enable-default-binary was choosen at configure time.

	* tools/gimp-remote.c: make it start gimp-1.3 if called with the
	--new command-line option. Still the same bad hack as in 1.2 :-(
2002-05-27 13:59:27 +00:00
Michael Natterer c8a87aae03 app/widgets/gimpchannellistview.c kindof fixed the channel dialog's
2002-05-27  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpchannellistview.c
	* app/widgets/gimpcomponentlistitem.c: kindof fixed the channel
	dialog's component items. Had to disable keyboard navigation
	because GtkList is horribly broken with GTK_SELECTION_MULTIPLE.
	Left in lots of #if 0'ed stuff because this is not the final
	solution...
2002-05-27 12:15:29 +00:00
Sven Neumann 9ba70e461f "%lld" is not a portable format string, cast to gint64 and use
2002-05-27  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimagefile.c: "%lld" is not a portable format string,
	cast to gint64 and use G_GINT64_FORMAT instead.
2002-05-27 11:45:50 +00:00
Michael Natterer d6ce8fce69 use "%lld" when printing or parsing file sizes because AC_SYS_LARGEFILE
2002-05-27  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpimagefile.c: use "%lld" when printing or parsing
	file sizes because AC_SYS_LARGEFILE makes off_t a long long.
2002-05-27 01:31:48 +00:00
Sven Neumann 159b6ca115 even better configure.in (crossing fingers...) 2002-05-27 00:15:54 +00:00
Sven Neumann 09bafc82b2 HACKING autogen.sh added AC_SYS_LARGEFILE as a first prerequisite to
2002-05-27  Sven Neumann  <sven@gimp.org>

	* HACKING
	* autogen.sh
	* configure.in: added AC_SYS_LARGEFILE as a first prerequisite to
	handle bug #74478 (cannot handle swap size of 2GB). This requires
	autoconf-2.52.

	* acconfig.h: removed since it is now obsolete.
2002-05-26 23:47:10 +00:00
Kwok-Koon Cheung 233a7ce71b Updated traditional Chinese translation 2002-05-26 20:59:30 +00:00
Sven Neumann 3db799df2f made Forward button work.
2002-05-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/helpbrowser/helpbrowser.c: made Forward button work.
2002-05-26 18:31:57 +00:00
Chyla Zbigniew f3adf378ab Updated Polish translation by GNOME PL Team <translators@gnome.pl> 2002-05-26 14:05:05 +00:00
Maurits Rijk 3c5cefc8e9 More enabling of mnemonics. 2002-05-25 18:10:04 +00:00
Maurits Rijk 8a87bde69d Fix for #82498 and adds mnemonics to dialog. 2002-05-25 13:25:39 +00:00
Sven Neumann 8637e0954c updated.
2002-05-25  Sven Neumann  <sven@gimp.org>

	* NEWS: updated.

	* plug-ins/helpbrowser/helpbrowser.c
	* plug-ins/helpbrowser/queue.[ch]: simplified user interface and
	code. Still work in progress...
2002-05-25 00:58:29 +00:00
Sven Neumann 3428ad9dfb a first start at cleaning up the Script-Fu user interface.
2002-05-24  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-scripts.c: a first start at
	cleaning up the Script-Fu user interface.
2002-05-24 19:44:37 +00:00
Chyla Zbigniew e7eac0a8ed Updated Polish translation by GNOME PL Team <translators@gnome.pl> 2002-05-24 19:00:24 +00:00
Michael Natterer 40caeab174 added deserialization of GValueArrays (untested). Added
2002-05-24  Michael Natterer  <mitch@gimp.org>

	* app/config/gimpconfig-deserialize.c: added deserialization of
	GValueArrays (untested). Added gimp_config_deserialize_value()
	which is factored out from gimp_config_deserialize_property().
2002-05-24 17:42:21 +00:00
Sven Neumann e9d0daff72 plug-ins/FractalExplorer/Dialogs.c plug-ins/common/CML_explorer.c
2002-05-24  Sven Neumann  <sven@gimp.org>

	* plug-ins/FractalExplorer/Dialogs.c
	* plug-ins/common/CML_explorer.c
	* plug-ins/common/convmatrix.c
	* plug-ins/common/curve_bend.c
	* plug-ins/common/film.c
	* plug-ins/common/iwarp.c
	* plug-ins/common/sample_colorize.c
	* plug-ins/common/spheredesigner.c
	* plug-ins/common/tileit.c
	* plug-ins/fp/fp_gtk.c
	* plug-ins/gfig/gfig.c
	* plug-ins/gimpressionist/preview.c
	* plug-ins/ifscompose/ifscompose.c
	* plug-ins/sel2path/sel2path.c: make use of stock labels.
2002-05-24 17:19:50 +00:00
Maurits Rijk 72607e094f Fixes #82849 (selection is ignored in Smooth Palette filter) 2002-05-24 14:50:08 +00:00
Sven Neumann b5d2dd0867 write newline after serializing the properties.
2002-05-24  Sven Neumann  <sven@gimp.org>

	* app/config/gimprc.c (gimp_rc_serialize): write newline after
	serializing the properties.

	* app/config/gimpconfig.c (gimp_config_string_indent): tiny
	optimization.
2002-05-24 13:52:07 +00:00
Maurits Rijk f08744ed95 Fixes #82494 and adds mnemonics 2002-05-24 13:20:28 +00:00
Michael Natterer 708059e463 fixed assertion which did not check for indent_level >= 0 but > 0.
2002-05-24  Michael Natterer  <mitch@gimp.org>

	* app/config/gimpconfig.c (gimp_config_string_indent): fixed assertion
	which did not check for indent_level >= 0 but > 0.

	* app/config/gimpconfig-serialize.c (gimp_config_serialize_value):
	serialize floats with g_ascii_formatd() to be locale independed,
	added serialization of GValueArrays.

	* app/widgets/gimpdeviceinfo.c: added properties for "mode",
	"axes" and "keys". Their set_property() implementations are
	untested.
2002-05-24 13:07:12 +00:00
Maurits Rijk 2d93944ada Fixes #82480 2002-05-24 12:59:41 +00:00
Maurits Rijk 7a9366ddc9 Fixes #82499 (small typo) and adds mnemonics. 2002-05-24 12:38:19 +00:00
Maurits Rijk df0b884452 Fixes #82499 (small typo) and adds mnemonics. 2002-05-24 12:31:01 +00:00