1. 04 Feb, 2004 7 commits
  2. 03 Feb, 2004 11 commits
    • Alastair McKinstry's avatar
      Updated Irish translation · d885d717
      Alastair McKinstry authored
      d885d717
    • Manish Singh's avatar
      Allow generated files with versions. · 5eee86af
      Manish Singh authored
      2004-02-03  Manish Singh  <yosh@gimp.org>
      
              * configure.in: Allow generated files with versions.
      
              * gimp-2.0.pc.in
              * gimpthumb-2.0.pc.in
              * gimpui-2.0.pc.in
              * docs/gimp-1.3.1.in
              * docs/gimp-remote-1.3.1.in
              * docs/gimprc-1.3.5.in
              * docs/gimptool-2.0.1.in: renamed to unversioned files.
      
              I left gimptool-2.0.in alone since I didn't want to screw with
              other branches history. It'll be obsolete post-2.0 anyway.
      5eee86af
    • Manish Singh's avatar
      remove unused variable randomize. · b720fb2a
      Manish Singh authored
      2004-02-03  Manish Singh  <yosh@gimp.org>
      
              * plug-ins/maze/maze_face.c (maze_dialog): remove unused variable
              randomize.
      b720fb2a
    • Manish Singh's avatar
      use GIMP_API_VERSION. · c783a291
      Manish Singh authored
      2004-02-03  Manish Singh  <yosh@gimp.org>
      
              * gimptool-2.0.in: use GIMP_API_VERSION.
      c783a291
    • Miloslav Trmac's avatar
      Update Czech translation · 067c1e29
      Miloslav Trmac authored
      067c1e29
    • Sven Neumann's avatar
      improved dialog layout. · 0deb5ccf
      Sven Neumann authored
      2004-02-03  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpdisplayshell-scale.c
      	(gimp_display_shell_scale_dialog): improved dialog layout.
      0deb5ccf
    • Sven Neumann's avatar
      don't mark weird format strings as translatable. · 7d4ed423
      Sven Neumann authored
      2004-02-03  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/image-menu.c (image_menu_set_zoom): don't mark weird
      	format strings as translatable.
      
      	* data/misc/gimp.desktop.in.in (_Name): use "The GIMP" without an
      	"(unstable)" suffix. Should give translators the chance to update
      	their translations before the final 2.0 release.
      
      	* configure.in: removed now unused GIMP_VISIBLE_NAME variable.
      7d4ed423
    • Michael Natterer's avatar
      use g_clear_error() instead of g_error_free() and re-use the same GError · 9af8d8c5
      Michael Natterer authored
      2004-02-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/plug-in/plug-ins.c (plug_ins_init): use g_clear_error()
      	instead of g_error_free() and re-use the same GError location for
      	pluginrc parsing and writing.
      
      	(plug_ins_proc_def_insert): when overriding a PlugInProcDef, don't
      	take over the menu_path and menu_accel of the overridden proc
      	because (a) it's just plain wrong and (b) we don't need to
      	preserve the proc_defs' order any more (see below).
      9af8d8c5
    • Michael Natterer's avatar
      added new function plug_in_proc_def_compare_menu_path() which is a · b1472344
      Michael Natterer authored
      2004-02-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/plug-in/plug-in-proc.[ch]: added new function
      	plug_in_proc_def_compare_menu_path() which is a GCompareDataFunc.
      	(uses g_utf8_collate() on the translated menu paths).
      
      	* app/plug-in/plug-ins.c (plug_ins_init): sort gimp->load_procs
      	and gimp->save_procs using the new compare function above.
      	Fixes bug #133180.
      
      	(plug_ins_locale_domain)
      	(plug_ins_help_domain): don't g_return_if_fail() on a NULL
      	prog_name but return the default locale and help domains
      	of the GIMP itself.
      
      	(plug_ins_proc_def_insert): removed obsolete and broken (not
      	locale and UTF-8 aware) code which tried to insert new plug-in
      	menu entries in alphabetical order (was unused except for load
      	and save procs).
      
      	Unrelated:
      
      	* app/plug-in/plug-in-proc.[ch]: added const qualifiers.
      
      	* app/file/file-open.c
      	* app/file/file-save.c
      	* tools/pdbgen/pdb/fileops.pdb: changed accordingly (constify
      	local variables).
      
      	* app/pdb/fileops_cmds.c: regenerated.
      b1472344
    • Michael Natterer's avatar
      applied patch from Kevin Cozens <kcozens@interlog.com> which removes the · 0e993d17
      Michael Natterer authored
      2004-02-03  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/script-fu/scripts/*.scm: applied patch from Kevin
      	Cozens <kcozens@interlog.com> which removes the use of deprecated
      	constants in all scripts. Fixes bug #133270.
      0e993d17
    • Michael Natterer's avatar
      call gimp_uninstall_temp_proc() with script->pdb_name, not · f77ff9d4
      Michael Natterer authored
      2004-02-03  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/script-fu/script-fu-scripts.c (script_fu_free_script):
      	call gimp_uninstall_temp_proc() with script->pdb_name, not
      	script->script_name. Fixes bug #133280.
      f77ff9d4
  3. 02 Feb, 2004 7 commits
  4. 01 Feb, 2004 8 commits
    • Michael Natterer's avatar
      when calculating the length of the expanded path, add the length of the · 28f95f9c
      Michael Natterer authored
      2004-02-01  Michael Natterer  <mitch@gimp.org>
      
      	* app/config/gimpconfig-path.c (gimp_config_path_expand_only):
      	when calculating the length of the expanded path, add the length
      	of the UTF-8 converted substitution, not its length in filesystem
      	encoding. Finally enables GIMP2_DIRECTORY containing non-ascii
      	chars (at least on linux). Should fix bug #130118.
      28f95f9c
    • Michael Natterer's avatar
      Disallow to rename the layer mask. Instead, always name the mask "<layer · 82276ada
      Michael Natterer authored
      2004-02-01  Michael Natterer  <mitch@gimp.org>
      
      	Disallow to rename the layer mask. Instead, always name the mask
      	"<layer name> mask". Fixes bug #133112 along with some other
      	unreported ones.
      
      	* app/core/gimpitem.[ch]: added a boolean return value indicating
      	success to GimpItem::rename().
      
      	(gimp_item_real_rename): push an undo step only if the item is
      	attached.
      
      	* app/core/gimplayer.c (gimp_layer_rename): refuse renaming if
      	the layer is a floating selection floated from a channel
      	(renaming a layer's floating selection makes a new layer out
      	of the floating selection).
      
      	(gimp_layer_duplicate): use gimp_layer_add_mask() to attach the
      	mask's duplicate. Fixes mask refcount brokenness for duplicated
      	layer masks.
      
      	(gimp_layer_name_changed): new function. Automatically renames the
      	layer mask when the layer's name changes.
      
      	* app/core/gimplayermask.c (gimp_layer_mask_rename): new function
      	which refuses renaming.
      
      	(gimp_layer_mask_name_changed): skip the unique name voodoo
      	GimpItem does by not chaining up.
      
      	(gimp_layer_mask_set_layer): change the mask's name whenever it is
      	attached to a layer.
      
      	* app/text/gimptextlayer.c (gimp_text_layer_rename): fiddle with
      	text_layer->auto_rename only if renaming was successful.
      
      	* app/widgets/gimpitemtreeview.c (gimp_item_tree_view_name_edited):
      	restore the old name if renaming failed.
      
      	* tools/pdbgen/pdb/drawable.pdb (set_name): return an execution
      	error if renaming failed.
      
      	* app/pdb/drawable_cmds.c: regenerated.
      82276ada
    • Michael Natterer's avatar
      no need to set the layer mask's offsets, gimp_layer_add_mask() does this · dc2e81ca
      Michael Natterer authored
      2004-02-01  Michael Natterer  <mitch@gimp.org>
      
      	* app/xcf/xcf-load.c (xcf_load_layer): no need to set the layer
      	mask's offsets, gimp_layer_add_mask() does this for us. Simplified
      	mask property assignments.
      dc2e81ca
    • Michael Natterer's avatar
      Reworked random seed handling once more: · 61ac7167
      Michael Natterer authored
      2004-02-01  Michael Natterer  <mitch@gimp.org>
      
      	Reworked random seed handling once more:
      
      	* libgimpwidgets/gimpwidgets.c (gimp_random_seed_new): make sure
      	the displayed random seed value is always the one which will be
      	used, whether "Randomize" is checked or not.
      
      	* plug-ins/common/blur.c
      	* plug-ins/common/plasma.c
      	* plug-ins/common/randomize.c
      	* plug-ins/common/sinus.c
      	* plug-ins/common/snoise.c
      	* plug-ins/maze/algorithms.c
      	* plug-ins/maze/maze.c: if running interactively, always take
      	the seed value produced by the gimp_random_seed widget and don't
      	touch it because the widgets honors the "randomize" toggle
      	correctly now.
      
      	For noninteractive and last_vals runs, look at the "randomize"
      	boolean and generate a seed if it is TRUE.
      
      	Initialize the random number generators from the seed determined
      	by either of the above ways and don't fiddle with it in the inner
      	algorithms itself.
      
      	* plug-ins/gflare/gflare.c (plugin_run): initialize the GRand
      	from the seed unconditionally.
      
      	(ed_make_page_sflare): no need to get the entry from the random
      	seed widget to get its adjustment. Instead get the adjustment
      	directly.
      
      	(The random handling code of gflare looks somewhat broken, but
      	that applies to the whole plug-in).
      61ac7167
    • David Neary's avatar
      Updated NEWS. · d7d5a451
      David Neary authored
      
      
      Updated NEWS.
      d7d5a451
    • Michael Natterer's avatar
      when removing a duplicate PDB procedure, also remove it from · 7ca4682c
      Michael Natterer authored
      2004-02-01  Michael Natterer  <mitch@gimp.org>
      
      	* app/plug-in/plug-ins.c (plug_ins_init): when removing a
      	duplicate PDB procedure, also remove it from gimp->load_procs and
      	gimp->save_procs.  Fixes bug #133099.
      
      	Some general cleanup like moving variables to local scopes.
      7ca4682c
    • Manish Singh's avatar
      use G_VA_COPY for copying va_lists. · 5f87334f
      Manish Singh authored
      2004-01-31  Manish Singh  <yosh@gimp.org>
      
              * plug-ins/common/tiff.c (tiff_warning): use G_VA_COPY for copying
              va_lists.
      5f87334f
    • Simon Budig's avatar
      initialize variable to avoid stupid compiler warning. · 1ab2c64a
      Simon Budig authored
      2004-02-01  Simon Budig  <simon@gimp.org>
      
      	* app/display/gimpdisplayshell-scale.c: initialize variable
      	to avoid stupid compiler warning.
      1ab2c64a
  5. 31 Jan, 2004 7 commits
    • Dave Neary's avatar
      libgimpwidgets/gimpwidgets.c Modify random seed widget to allow the user · 95ed7031
      Dave Neary authored
      
      
      2004-02-01  Dave Neary  <bolsh@gimp.org>
      
              * libgimpwidgets/gimpwidgets.c
              * libgimpwidgets/gimpwidgets.h: Modify random seed widget to
              allow the user to specify that a seed should be chosen
              randomly for them (useful to allow re-running random plug-ins
              several times to get several different results).
      
              * plug-ins/common/blur.c
              * plug-ins/common/plasma.c
              * plug-ins/common/randomize.c
              * plug-ins/common/sinus.c
              * plug-ins/common/snoise.c
              * plug-ins/gflare/gflare.c
              * plug-ins/maze/algorithms.c
              * plug-ins/maze/maze.c
              * plug-ins/maze/maze.h
              * plug-ins/maze/maze_face.c: Changed appropriately.
      
              This fixes bug #129529.
      95ed7031
    • Ole Laursen's avatar
      Updated Danish translation. · 736fd660
      Ole Laursen authored
      2004-02-01  Ole Laursen  <olau@hardworking.dk>
      
      	* da.po: Updated Danish translation.
      736fd660
    • Raphaël Quinet's avatar
      Do not display the warning message about unknown tags for unregistered · 576226c2
      Raphaël Quinet authored
      2004-01-31  Raphaël Quinet  <quinet@gamers.org>
      
      	* plug-ins/common/tiff.c (tiff_warning, tiff_error): Do not
      	display the warning message about unknown tags for unregistered
      	private tags (>= 32768).  Fixes bug #131975.  Do not display the
      	error message about random access not supported for images using
      	JPEG compression.  Fixes bug #132297.  It would be better to allow
      	the user to customize which messages should be displayed or not,
      	but this can be done in a future release.
      576226c2
    • Michael Natterer's avatar
      Use the global <Image> accel_group in all docks except the toolbox (the · 3781c7fb
      Michael Natterer authored
      2004-01-31  Michael Natterer  <mitch@gimp.org>
      
      	Use the global <Image> accel_group in all docks except the
      	toolbox (the latter needs GTK+ 2.4's new menu features).
      	Addresses bug #119878:
      
      	* app/gui/buffers-commands.c
      	* app/gui/channels-commands.c
      	* app/gui/data-commands.c
      	* app/gui/documents-commands.c
      	* app/gui/drawable-commands.c
      	* app/gui/edit-commands.c
      	* app/gui/file-commands.c
      	* app/gui/gradients-commands.c
      	* app/gui/image-commands.c
      	* app/gui/layers-commands.c
      	* app/gui/plug-in-commands.c
      	* app/gui/select-commands.c
      	* app/gui/tool-options-commands.c
      	* app/gui/tools-commands.c
      	* app/gui/vectors-commands.c
      	* app/gui/view-commands.c: changed the various return_if_no_foo()
      	macros to also accept a GimpDock as user_data.
      
      	* app/gui/image-menu.c (image_menu_update): don't update the
      	display related menu items if they don't exist (see below).
      
      	* app/gui/gui.c (gui_display_changed): simplified.
      
      	* app/widgets/gimpimagedock.[ch]: create an "<Image>" item_factory
      	and attach its accel_group to the dock. Destroy all display
      	related menu items. Destroy the layer stack navigation items
      	because their default shortcuts interfere with tree and grid view
      	keybindings. Connect to "image_changed" of the dock's private
      	context and to "flush" of the image container to update the
      	item_factory's state.
      3781c7fb
    • Michael Natterer's avatar
      added some g_return_if_fail(). · 12f28a49
      Michael Natterer authored
      2004-01-31  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/dialogs.c: added some g_return_if_fail().
      12f28a49
    • Michael Natterer's avatar
      g_assert() that we got the essential construct properties. · 936b98a6
      Michael Natterer authored
      2004-01-31  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpdock.c (gimp_dock_constructor): g_assert() that
      	we got the essential construct properties.
      936b98a6
    • Michael Natterer's avatar
      use gboolean instead of gint for "alpha_dither" and "remove_dups" in all · 6f1680ab
      Michael Natterer authored
      2004-01-31  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimage-convert.[ch]: use gboolean instead of gint
      	for "alpha_dither" and "remove_dups" in all public and private
      	functions. Properly prototyped private functions. Minor cleanup.
      
      	* app/gui/convert-dialog.c: pass FALSE instead of 0.
      
      	* tools/pdbgen/pdb/convert.pdb: ditto. Also cleaned up a bit: use
      	generated checks and documentation for enums, removed duplicate
      	check for enum range (spotted by Kevin Cozens).
      
      	* app/pdb/convert_cmds.c
      	* libgimp/gimpconvert_pdb.c: regenerated.
      6f1680ab