1. 21 Jan, 2004 11 commits
    • Simon Budig's avatar
      replaced the indexed palette in the default "Layers, Channels, Paths"-Dock · f1348dc2
      Simon Budig authored
      2004-01-22  Simon Budig  <simon@gimp.org>
      
      	* app/gui/dialogs-commands.c: replaced the indexed palette in
      	the default "Layers, Channels, Paths"-Dock (as created by the
      	menu in the toolbox) with the Undo History, since the indexed
      	palette is pretty useless most of the time and the new setup
      	at least matches the upper half of the dockable that comes up
      	after a new user starts the Gimp the first time.
      f1348dc2
    • Michael Natterer's avatar
      show the image menu in newly created layers, channels & paths docks. · edff0480
      Michael Natterer authored
      2004-01-21  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/dialogs-commands.c: show the image menu in newly created
      	layers, channels & paths docks.
      edff0480
    • Ole Laursen's avatar
      Updated Danish translation. · 8f2586a0
      Ole Laursen authored
      2004-01-21  Ole Laursen  <olau@hardworking.dk>
      
      	* da.po: Updated Danish translation.
      8f2586a0
    • Miloslav Trmac's avatar
      Update Czech translation · c119b281
      Miloslav Trmac authored
      c119b281
    • Michael Natterer's avatar
      added boolean return value to GimpTool::initialize(). Returning FALSE · 613e328f
      Michael Natterer authored
      2004-01-21  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimptool.[ch]: added boolean return value to
      	GimpTool::initialize(). Returning FALSE means the tool could not
      	be initialized and doesn't want to receive button events.
      	Return TRUE from the default implementation.
      
      	* app/tools/tool_manager.[ch]: added boolean return value to
      	tool_manager_initialize_active(). Don't set the tool's display or
      	drawable if initialize() returns FALSE.
      
      	* app/display/gimpdisplayshell-callbacks.c: don't send button
      	events to the tool if initialize() returns FALSE.
      
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcolorizetool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimpthresholdtool.c: return FALSE for NULL and indexed
      	drawables.
      
      	* app/tools/gimpimagemaptool.c: always return TRUE because our
      	subclasses already checked if the active drawable is OK.
      
      	* app/tools/gimptransformtool.c: return FALSE for layers with
      	masks. Fixes bug #132089. Some random cleanups.
      613e328f
    • David Odin's avatar
      correctly resize both panels of the GTK_PANED. This fixes bugs #132032. · 32bb528d
      David Odin authored
      	* plug-ins/common/plugindetails.c: correctly resize both panels of the
      	GTK_PANED. This fixes bugs #132032.
      
      	This plug-ins still needs work.
      32bb528d
    • Michael Natterer's avatar
      use RINT() instead of ROUND() to calculate the coordinates of the · bcf85df8
      Michael Natterer authored
      2004-01-21  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpdrawable-transform.c: use RINT() instead of ROUND()
      	to calculate the coordinates of the transformed tiles to avoid
      	off-by-one errors when affine-transforming, flipping and rotating
      	drawables with negative offsets.
      	Fixes the off-by-one part of bug #132089.
      bcf85df8
    • Tor Lillqvist's avatar
      Fix undefined behaviour. Fixes crash in bringing up the Preferences dialog · d9b2478c
      Tor Lillqvist authored
      2004-01-21  Tor Lillqvist  <tml@iki.fi>
      
      	* app/gui/themes.c (themes_list_themes_foreach): Fix undefined
      	behaviour. Fixes crash in bringing up the Preferences dialog when
      	compiled with Sun's compiler.
      d9b2478c
    • Michael Natterer's avatar
      call gimp_drawable_invalidate_boundary() because the drawable's size may · 7c652c0e
      Michael Natterer authored
      2004-01-21  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpdrawable-transform.c (gimp_drawable_transform_paste):
      	call gimp_drawable_invalidate_boundary() because the drawable's
      	size may have changed. Fixes bug #132077. Removed call to
      	floating_sel_invalidate() which is now redundant.
      7c652c0e
    • Michael Natterer's avatar
      renamed info_dialog_popdown() to info_dialog_hide() and · 73d258eb
      Michael Natterer authored
      2004-01-21  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/info-dialog.[ch]: renamed info_dialog_popdown() to
      	info_dialog_hide() and info_dialog_popup() to info_dialog_present().
      	Added info_dialog_show() which just shows the dialog without
      	calling gtk_window_present().
      
      	* app/gui/info-window.c
      	* app/gui/view-commands.c
      	* app/tools/gimptransformtool.c: changed accordingly.
      
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpperspectivetool.c
      	* app/tools/gimprotatetool.c
      	* app/tools/gimpscaletool.c
      	* app/tools/gimpsheartool.c: use info_dialog_show() so the dialog
      	doesn't grab the focus away from the canvas. Fixes bug #132041.
      73d258eb
    • Simon Budig's avatar
      removed the call to art_vpath_perturb, since it apparently is responsible · 6861a681
      Simon Budig authored
      2004-01-21  Simon Budig  <simon@gimp.org>
      
      	* app/core/gimpscanconvert.c: removed the call to
      	art_vpath_perturb, since it apparently is responsible for the
      	artefacts described in bug #132036. I don't really understand
      	why these artefacts were happening in the first place, because
      	in theory art_vpath_perturb should not do any harm.
      
      	Also properly close closed polygons.
      
      	Hopefully fixes #132036, please test this.
      6861a681
  2. 20 Jan, 2004 14 commits
    • Henrik Brix Andersen's avatar
      added missing plug-ins/script-fu/scripts/select-to-pattern.scm (fixes bug · b10c0ff9
      Henrik Brix Andersen authored
      2004-01-20 Henrik Brix Andersen <brix@gimp.org>
      
      * POTFILES.in: added missing
      plug-ins/script-fu/scripts/select-to-pattern.scm (fixes bug
      #132029)
      b10c0ff9
    • Sven Neumann's avatar
      added new command-line options --existing and --query. The former allows · e2b5e8ed
      Sven Neumann authored
      2004-01-20  Sven Neumann  <sven@gimp.org>
      
      	* tools/gimp-remote.c: added new command-line options --existing
      	and --query. The former allows to get the old behaviour back and
      	the latter might be useful one day.
      
      	* docs/gimp-remote-1.3.1.in: document the new options.
      e2b5e8ed
    • Michael Natterer's avatar
      added help IDs for the libgimp export and unit dialogs. · 04187503
      Michael Natterer authored
      2004-01-20  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimphelp-ids.h: added help IDs for the libgimp
      	export and unit dialogs.
      
      	* libgimp/gimpexport.c
      	* libgimpwidgets/gimpunitmenu.c: replaced html links by the new
      	help IDs.
      
      	* plug-ins/*/*.c: replaced all html help links by help IDs. A
      	plug-in's help ID is its procedure name with '_' relaced by '-'.
      
      	(e.g. file_tiff_save's help ID is file-tiff-save)
      
      	Did some random indentation and whitespace cleanup.
      04187503
    • Sven Neumann's avatar
      updated. · fa4c87d9
      Sven Neumann authored
      2004-01-20  Sven Neumann  <sven@gimp.org>
      
      	* libgimp/tmpl/gimphelp.sgml: updated.
      fa4c87d9
    • Sven Neumann's avatar
      when starting a new gimp, pass it the display gimp-remote is running on. · 4226b00b
      Sven Neumann authored
      2004-01-20  Sven Neumann  <sven@gimp.org>
      
      	* tools/gimp-remote.c: when starting a new gimp, pass it the
      	display gimp-remote is running on.
      4226b00b
    • Sven Neumann's avatar
      always open a new GIMP instance when being called without any · 575ec2e9
      Sven Neumann authored
      2004-01-20  Sven Neumann  <sven@gimp.org>
      
      	* tools/gimp-remote.c: always open a new GIMP instance when being
      	called without any filenames/URLs. This makes it behave better when
      	being used from application launchers such as the GNOME panel.
      
      	* docs/gimp-remote-1.3.1.in: document the new behaviour.
      575ec2e9
    • Ville Pätsi's avatar
      Changed library extension to actually use the correct values, and not · 00a8265a
      Ville Pätsi authored
              * gimp.spec.in: Changed library extension to actually use the correct
      	        values, and not assume .0.0.
      00a8265a
    • Michael Natterer's avatar
      changed "prog_name" parameter of gimp_help() to "help_domain". It's · ebcb621c
      Michael Natterer authored
      2004-01-20  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/help.pdb: changed "prog_name" parameter of
      	gimp_help() to "help_domain". It's useless to pass the plug-in's
      	executable name to the core because the core already knows it.
      	Instead, enabled accessing arbitrary help domains via the
      	PDB. Passing NULL as help_domain will use the domain the plug-in
      	registered, or the GIMP main help domain if it didn't register a
      	domain.
      
      	* app/pdb/help_cmds.c
      	* libgimp/gimphelp_pdb.[ch]: regenerated.
      
      	* libgimp/gimpui.c (gimp_ui_help_func): pass NULL as help_domain.
      ebcb621c
    • Sven Neumann's avatar
      made --new the default behaviour and allow gimp-remote to be called · b5bf60ac
      Sven Neumann authored
      2004-01-20  Sven Neumann  <sven@gimp.org>
      
      	* tools/gimp-remote.c: made --new the default behaviour and allow
      	gimp-remote to be called without any image filenames.
      
      	* docs/gimp-remote-1.3.1.in: changed accordingly.
      
      	* data/misc/gimp.applications
      	* data/misc/gimp.desktop.in.in: removed --new option from
      	gimp-remote calls.
      b5bf60ac
    • Michael Natterer's avatar
      plug-ins/common/mail.c use more already translated standard file error · 8096cef1
      Michael Natterer authored
      2004-01-20  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/common/mail.c
      	* plug-ins/common/mng.c: use more already translated standard file
      	error messages. Some cleanup.
      8096cef1
    • Changwoo Ryu's avatar
      Updated Korean translation by Dongsu Jang <iolo@hellocity.net>. · 2bd7a44a
      Changwoo Ryu authored
      	* ko.po: Updated Korean translation by Dongsu Jang
      	<iolo@hellocity.net>.
      2bd7a44a
    • Artur Flinta's avatar
      Updated Polish translation by GNOME PL Team. · 5717cd2f
      Artur Flinta authored
      2004-01-20  Artur Flinta  <aflinta@cvs.gnome.org>
      
      	* pl.po: Updated Polish translation by GNOME PL Team.
      5717cd2f
    • Michael Natterer's avatar
      app/gui/file-open-menu.c app/gui/file-save-menu.c app/gui/image-menu.c · cf136155
      Michael Natterer authored
      2004-01-20  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/file-open-menu.c
      	* app/gui/file-save-menu.c
      	* app/gui/image-menu.c
      	* app/gui/menus.c
      	* app/gui/plug-in-menus.c: when dynamically creating menu entries,
      	pass static_entry == FALSE to gimp_item_factory_create_item() so a
      	*copy* of the the help_id is attached to the menu item.
      	Fixes help for plug-in menu entries.
      cf136155
    • Michael Natterer's avatar
      changed member "ProcRec *current_temp_proc" to "GList *temp_proc_recs", a · e8b27df0
      Michael Natterer authored
      2004-01-20  Michael Natterer  <mitch@gimp.org>
      
      	* app/plug-in/plug-in.[ch]: changed member
      	"ProcRec *current_temp_proc" to "GList *temp_proc_recs", a stack
      	of temporary procedures, just as the "temp_main_loops" member is
      	supposed to be the stack of main loops for waiting for the
      	temp_procs' return values.
      
      	* app/plug-in/plug-in-run.c (plug_in_temp_run): changed accordingly.
      
      	* app/plug-in/plug-in-message.c
      	* app/plug-in/plug-in-run.c
      	* libgimp/gimp.c: added #define ENABLE_TEMP_RETURN 1.
      
      	Enables return values for temporary procedures. On the libgimp
      	side, this just enables the code which returns the values, on the
      	app side it enables per-plug-in stacks of proc_recs and main_loops
      	and a message handler for the GP_TEMP_PROC_RETURN message.
      	A temp_proc's caller now blocks until the proc is finished.
      	Fixes bug #50649.
      
      	Left the #ifdefs there so it can be easily disabled if things
      	break. Please play with Script-Fu and test this.
      e8b27df0
  3. 19 Jan, 2004 15 commits
    • Christophe Merlet's avatar
      Updated French translation. · 85d30877
      Christophe Merlet authored
      85d30877
    • Pedro Gimeno's avatar
      Call gimp_drawable_detach() after gimp_drawable_get() to plug a leak. · 5ad62134
      Pedro Gimeno authored
      2004-01-19  Pedro Gimeno  <pggimeno@wanadoo.es>
      
      	* plug-ins/common/ccanalyze.c (analyze): Call gimp_drawable_detach()
      	after gimp_drawable_get() to plug a leak.
      5ad62134
    • Tor Lillqvist's avatar
      Fix gccism. · c2054152
      Tor Lillqvist authored
      2004-01-19  Tor Lillqvist  <tml@iki.fi>
      
      	* app/gui/about-dialog.c (decorate_text): Fix gccism.
      c2054152
    • Pablo G. del Campo's avatar
      Updated Spanish translation. · c82cf11c
      Pablo G. del Campo authored
      2004-01-19  Pablo G. del Campo  <pablodc@bigfoot.com>
      
      	* es.po: Updated Spanish translation.
      c82cf11c
    • Sven Neumann's avatar
      shut up CVS · 12d647c6
      Sven Neumann authored
      12d647c6
    • Sven Neumann's avatar
      bumped version number to 2.0pre3 (1.3.26), binary age 2, interface age 0. · c723e826
      Sven Neumann authored
      2004-01-19  Sven Neumann  <sven@gimp.org>
      
      	* configure.in: bumped version number to 2.0pre3 (1.3.26),
      	binary age 2, interface age 0.
      
      	* libgimpbase/gimpsignal.h: removed unused definition of
      	gimp_signal_syscallrestart().
      c723e826
    • Michael Natterer's avatar
      if there is a floating selection, anchor it before adding the text layer. · 1eee624d
      Michael Natterer authored
      2004-01-19  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimptexttool.c (gimp_text_tool_create_layer): if there
      	is a floating selection, anchor it before adding the text layer.
      	Fixes bug #127451.
      
      	Also fixed some issues with undo. Addresses, but does not fix
      	bug #124969 and bug #130985.
      1eee624d
    • Michael Natterer's avatar
      plug-ins/common/bz2.c plug-ins/common/gz.c plug-ins/common/hrz.c · 7f6dd5bf
      Michael Natterer authored
      2004-01-19  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/common/bz2.c
      	* plug-ins/common/gz.c
      	* plug-ins/common/hrz.c
      	* plug-ins/common/pnm.c
      	* plug-ins/sgi/sgi.c: marked some forgotten strings for
      	translation and use translated standard file error messages (no
      	new strings introduced), some indentation and cleanup.
      7f6dd5bf
    • Michael Natterer's avatar
      plug-ins/bmp/bmpread.c plug-ins/common/gif.c plug-ins/common/jpeg.c · 4baf3612
      Michael Natterer authored
      2004-01-19  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/bmp/bmpread.c
      	* plug-ins/common/gif.c
      	* plug-ins/common/jpeg.c
      	* plug-ins/common/pcx.c
      	* plug-ins/common/pix.c
      	* plug-ins/common/pnm.c
      	* plug-ins/common/sunras.c
      	* plug-ins/common/xpm.c
      	* plug-ins/xjt/xjt.c: some more gimp_filename_to_utf8().
      4baf3612
    • Sven Neumann's avatar
      Made 2.0pre2 release. · 3a8e85d7
      Sven Neumann authored
      2004-01-19  Sven Neumann  <sven@gimp.org>
      
              * Made 2.0pre2 release.
      3a8e85d7
    • Michael Natterer's avatar
      plug-ins/FractalExplorer/Dialogs.c · fba87654
      Michael Natterer authored
      2004-01-19  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/FractalExplorer/Dialogs.c
      	* plug-ins/FractalExplorer/FractalExplorer.c
      	* plug-ins/bmp/bmpread.c
      	* plug-ins/bmp/bmpwrite.c
      	* plug-ins/common/CEL.c
      	* plug-ins/common/CML_explorer.c
      	* plug-ins/common/bz2.c
      	* plug-ins/common/channel_mixer.c
      	* plug-ins/common/curve_bend.c
      	* plug-ins/common/dicom.c
      	* plug-ins/common/gbr.c
      	* plug-ins/common/gif.c
      	* plug-ins/common/gifload.c
      	* plug-ins/common/gih.c
      	* plug-ins/common/gtm.c
      	* plug-ins/common/gz.c
      	* plug-ins/common/hrz.c
      	* plug-ins/common/jpeg.c
      	* plug-ins/common/mail.c
      	* plug-ins/common/pat.c
      	* plug-ins/common/pcx.c
      	* plug-ins/common/png.c
      	* plug-ins/common/pnm.c
      	* plug-ins/common/ps.c
      	* plug-ins/common/psd.c
      	* plug-ins/common/psd_save.c
      	* plug-ins/common/psp.c
      	* plug-ins/common/spheredesigner.c
      	* plug-ins/common/sunras.c
      	* plug-ins/common/svg.c
      	* plug-ins/common/tga.c
      	* plug-ins/common/tiff.c
      	* plug-ins/common/wmf.c
      	* plug-ins/common/xbm.c
      	* plug-ins/common/xpm.c
      	* plug-ins/common/xwd.c
      	* plug-ins/faxg3/faxg3.c
      	* plug-ins/fits/fits.c
      	* plug-ins/flame/flame.c
      	* plug-ins/gfig/gfig.c
      	* plug-ins/gflare/gflare.c
      	* plug-ins/gfli/gfli.c
      	* plug-ins/gimpressionist/ppmtool.c
      	* plug-ins/helpbrowser/domain.c
      	* plug-ins/ifscompose/ifscompose.c
      	* plug-ins/sgi/sgi.c
      	* plug-ins/xjt/xjt.c: use gimp_filename_to_utf8() for filenames
      	passed to g_message() and gimp_progress_init(). Definitely missed
      	lots of other places but it's a start...
      fba87654
    • Michael Natterer's avatar
      removed inclusion of <stdio.h> and "plug-in/plug-in-types.h". · 1f07af72
      Michael Natterer authored
      2004-01-19  Michael Natterer  <mitch@gimp.org>
      
      	* app/file/file-utils.h: removed inclusion of <stdio.h> and
      	"plug-in/plug-in-types.h".
      1f07af72
    • Sven Neumann's avatar
      include "libgimpbase/gimpbase.h" where needed; removed now unnecessary · 6d506d51
      Sven Neumann authored
      2004-01-19  Sven Neumann  <sven@gimp.org>
      
      	* app/*/*.c: include "libgimpbase/gimpbase.h" where needed; removed
      	now unnecessary inclusions of "file/file-utils.h".
      6d506d51
    • Michael Natterer's avatar
      updated. · 30b72328
      Michael Natterer authored
      2004-01-19  Michael Natterer  <mitch@gimp.org>
      
      	* app/app-sections.txt: updated.
      30b72328
    • Sven Neumann's avatar
      removed file_utils_filename_to_utf8() ... · a70698c4
      Sven Neumann authored
      2004-01-19  Sven Neumann  <sven@gimp.org>
      
      	* app/file/file-utils.[ch]: removed file_utils_filename_to_utf8() ...
      
      	* libgimpbase/gimputils.[ch]: ... and added it here as
      	gimp_filename_to_utf8(). Added some docs that promise less than
      	the current implementation holds so that we can change the
      	implementation later.
      
      	* app/*/*.c: use gimp_filename_to_utf8() where
      	file_utils_filenames_to_utf8() has been used before.
      
      	* libgimpbase/gimpbase.def: changed accordingly.
      
      	* configure.in: reset GIMP_INTERFACE_AGE.
      a70698c4