1. 15 Apr, 2004 20 commits
    • Adam Weinberger's avatar
      Updated Canadian English translation. · c9f2d240
      Adam Weinberger authored
      
      	* po/en_CA.po:
      	* po-libgimp/en_CA.po:
      	* po-plug-ins/en_CA.po:
      	* po/script-fu/en_CA.po:
      	* tips/en_CA.po:
      	  Updated Canadian English translation.
      c9f2d240
    • Sven Neumann's avatar
      fixed gtk+ includes, added a warning that deprecated widgets are being · 40e85cd9
      Sven Neumann authored
      2004-04-15  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/winicon/icodialog.c: fixed gtk+ includes, added a
      	warning that deprecated widgets are being used.
      40e85cd9
    • Sven Neumann's avatar
      configure.in plug-ins/Makefile.am plug-ins/winicon/Makefile.am · 48bf8838
      Sven Neumann authored
      2004-04-15  Sven Neumann  <sven@gimp.org>
      
      	* configure.in
      	* plug-ins/Makefile.am
      	* plug-ins/winicon/Makefile.am
      	* plug-ins/winicon/icodialog.[ch]
      	* plug-ins/winicon/icoload.[ch]
      	* plug-ins/winicon/icosave.[ch]
      	* plug-ins/winicon/main.[ch]: added plug-in to load and save
      	Windows icon files. Plug-in written by Christian Kreibich, port to
      	GIMP-2.0 API by Gregor Riepl, massive code cleanup by me. Fixes
      	bug #139160.
      48bf8838
    • Michael Natterer's avatar
      use the new dynamic GtkTargetList based API for changing the widget's drag · 957190d7
      Michael Natterer authored
      2004-04-15  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpdnd.c (gimp_dnd_data_source_add)
      	(gimp_dnd_data_source_remove): use the new dynamic GtkTargetList
      	based API for changing the widget's drag source types.
      
      	* app/widgets/gimpdocumentview.c (gimp_document_view_new): simply
      	call gimp_dnd_file_source_add() instead of duplicating the whole
      	GtkTargetEntry array insanity just for adding one source type.
      957190d7
    • Michael Natterer's avatar
      plug-ins/FractalExplorer/Dialogs.c plug-ins/flame/flame.c first plug-ins · d5cf690a
      Michael Natterer authored
      2004-04-15  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/FractalExplorer/Dialogs.c
      	* plug-ins/flame/flame.c
      	* plug-ins/gfig/gfig.c: first plug-ins ported to GtkFileChooser.
      d5cf690a
    • Michael Natterer's avatar
      app/display/gimpdisplayshell-callbacks.c app/display/gimpdisplayshell.c · 25589863
      Michael Natterer authored
      2004-04-15  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell.c
      	* app/widgets/gimpcontainertreeview.c: removed runtime version
      	checks and workarounds for bugs which are fixed in GTK+ 2.4.
      
      	* app/widgets/gimpfiledialog.c
      	(gimp_file_dialog_selection_changed): added runtime check for GTK+
      	2.4.1 and work around GtkFileChooser's missing "update_preview"
      	functionality for multiple selections if the dependency is not
      	met.
      
      	* app/widgets/gimpwidgets-utils.c (gimp_menu_position)
      	(gimp_menu_button_position): call gtk_menu_set_monitor() until
      	bug #139187 is fixed.
      25589863
    • Michael Natterer's avatar
      derive it from GtkFileChooser instead of GtkFileSelection. · 2f2301c9
      Michael Natterer authored
      2004-04-15  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpfiledialog.[ch]: derive it from GtkFileChooser
      	instead of GtkFileSelection.
      
      	* app/gui/file-dialog-utils.c
      	* app/gui/file-open-dialog.c
      	* app/gui/file-save-dialog.c
      	* app/widgets/gimpthumbbox.c: changed accordingly.
      
      	* app/gui/gradients-commands.c
      	* app/gui/vectors-commands.c
      	* app/tools/gimpimagemaptool.c
      	* app/widgets/gimperrorconsole.c
      	* app/widgets/gimptexteditor.c
      	* libgimpwidgets/gimpfileentry.c: use file choosers instead of
      	file selectors.
      2f2301c9
    • Michael Natterer's avatar
      depend on glib 2.4.0, gtk+ 2.4.0, pangoft2 1.4.0 · de8c6a51
      Michael Natterer authored
      2004-04-15  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in: depend on glib 2.4.0, gtk+ 2.4.0, pangoft2 1.4.0
      
      	* app/sanity.c: changed accordingly.
      de8c6a51
    • Sven Neumann's avatar
      app/tools/gimpcropoptions.[ch] applied a patch from Jordi Gay that allows · 7849638d
      Sven Neumann authored
      2004-04-15  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimpcropoptions.[ch]
      	* app/tools/gimpcroptool.[ch]: applied a patch from Jordi Gay that
      	allows to keep the aspect ratio fixed.
      7849638d
    • Michael Natterer's avatar
      set translate_desc to "Move Layer Mask". · a30db14b
      Michael Natterer authored
      2004-04-15  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimplayermask.c (gimp_layer_mask_class_init): set
      	translate_desc to "Move Layer Mask".
      
      	* app/tools/gimpeditselectiontool.c: take the undo desc
      	from the moved item's class instead of duplicating all
      	strings here.
      a30db14b
    • Sven Neumann's avatar
      app/core/gimppalette-import.[ch] added palette import from RIFF palette · 7e84dd95
      Sven Neumann authored
      2004-04-15  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimppalette-import.[ch]
      	* app/gui/palette-import-dialog.c: added palette import from RIFF
      	palette files based on a patch from ÉRDI Gergõ (bug #129788).
      7e84dd95
    • Michael Natterer's avatar
      forgot to add context parameters to this non-generated PDB invokers. Fixes · ace84881
      Michael Natterer authored
      2004-04-15  Michael Natterer  <mitch@gimp.org>
      
      	* app/xcf/xcf.c (xcf_save_invoker) (xcf_load_invoker): forgot
      	to add context parameters to this non-generated PDB invokers.
      	Fixes XCF loading/saving.
      ace84881
    • Michael Natterer's avatar
      added "const gchar *stroke_desc" to the GimpItemClass struct and always · f41e1ff5
      Michael Natterer authored
      2004-04-15  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpitem.[ch]: added "const gchar *stroke_desc" to
      	the GimpItemClass struct and always push an undo group
      	around GimpItem::stroke().
      
      	* app/core/gimpchannel.c
      	* app/core/gimpselection.c
      	* app/vectors/gimpvectors.c: set the stroke_desc accordingly
      	and don't push undo groups.
      
      	* app/text/gimptextlayer.c (gimp_text_layer_class_init): set
      	all of GimpItemClass' undo_descs.
      
      	* app/text/gimptextlayer-transform.c: don't push undo groups here.
      f41e1ff5
    • Sven Neumann's avatar
      applied patch from Marco Munari that removes a redundant "if" (bug · 70a9a840
      Sven Neumann authored
      2004-04-15  Sven Neumann  <sven@gimp.org>
      
      	* libgimpcolor/gimpcolorspace.c (gimp_rgb_to_hsv): applied patch
      	from Marco Munari that removes a redundant "if" (bug #133540).
      70a9a840
    • Sven Neumann's avatar
      applied patch from Yeti that adds spinbuttons instead of simple text · 850f43b3
      Sven Neumann authored
      2004-04-15  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/ifscompose/ifscompose.c: applied patch from Yeti that
      	adds spinbuttons instead of simple text entries (bug #138132).
      850f43b3
    • Sven Neumann's avatar
      plug-ins/common/Makefile.am plug-ins/common/plugin-defs.pl removed the · dab0f9b6
      Sven Neumann authored
      2004-04-15  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/Makefile.am
      	* plug-ins/common/plugin-defs.pl
      	* plug-ins/common/gicon.c: removed the GIcon plug-in (addresses
      	one aspect of bug #139160).
      dab0f9b6
    • Michael Natterer's avatar
      Context cleanup continued: · 837fa429
      Michael Natterer authored
      2004-04-15  Michael Natterer  <mitch@gimp.org>
      
      	Context cleanup continued:
      
      	* app/core/gimpitem.[ch]: added context parameter to
      	GimpItem::stroke().
      
      	* app/core/gimpchannel.c (gimp_channel_stroke)
      	* app/vectors/gimpvectors.c (gimp_vectors_stroke): use it to get
      	default values from instead of gimp_get_user_context().
      
      	* app/core/gimpselection.c
      	* app/gui/stroke-dialog.c
      	* tools/pdbgen/pdb/edit.pdb
      	* tools/pdbgen/pdb/paths.pdb: changed accordingly.
      
      	* app/pdb/edit_cmds.c
      	* app/pdb/paths_cmds.c: regenerated.
      
      	* app/plug-in/plug-in.[ch]: added GimpContext member to the PlugIn
      	struct. Added context parameter to plug_in_new(),
      	plug_in_call_query() and plug_in_call_init().
      
      	* app/plug-in/plug-in-run.[ch]: added context parameters to
      	plug_in_run() and plug_in_repeat().
      
      	* app/gui/plug-in-commands.c
      	* app/gui/vectors-commands.c
      	* app/pdb/procedural_db.c
      	* app/widgets/gimphelp.c: pass a context to plug_in_run() and
      	plug_in_repeat().
      
      	* app/plug-in/plug-in-message.c (plug_in_handle_proc_run): call
      	procedures with the plug-in's context.
      
      	* app/plug-in/plug-ins.c: use a temporary context for running the
      	plug-ins' query() and init() functions. Use the same context for
      	running automatic extensions. This temporarily separates the main
      	Script-Fu extension from the user context (i.e. scripts have no
      	way of setting/getting the global FG, BG, brush etc.).
      837fa429
    • Sven Neumann's avatar
      NEWS mention that this is the development branch. · 99309dde
      Sven Neumann authored
      2004-04-15  Sven Neumann  <sven@gimp.org>
      
      	* NEWS
      	* README: mention that this is the development branch.
      99309dde
    • Sven Neumann's avatar
      header cleanup, added some const qualifiers, converted tabs to spaces. · 44fd2e0a
      Sven Neumann authored
      2004-04-15  Sven Neumann  <sven@gimp.org>
      
      	* app/paint-funcs/paint-funcs.[ch]:
      	* app/paint-funcs/paint-funcs-generic.h: header cleanup, added
      	some const qualifiers, converted tabs to spaces. Fixes bug #140115
      	for the HEAD branch.
      44fd2e0a
    • Guntupalli Karunakar's avatar
      added punjabi translation · 14a88500
      Guntupalli Karunakar authored
      14a88500
  2. 14 Apr, 2004 5 commits
    • Michael Natterer's avatar
      Get rid of the "current_context" which was in fact just a bunch of global · 18d9161e
      Michael Natterer authored
      2004-04-15  Michael Natterer  <mitch@gimp.org>
      
      	Get rid of the "current_context" which was in fact just a bunch of
      	global variables. Instead, pass the needed context all the way
      	from the GUI and the PDB to the core. This is a prerequisite for
      	macro recording and generally helps separating the various
      	subsystems from each other. Work in progress...
      
      	* app/core/gimp.[ch]: removed member "current_context" and
      	gimp_[get|set]_current_context().
      
      	* app/core/gimp-edit.[ch]
      	* app/core/gimpdrawable-blend.[ch]
      	* app/core/gimpdrawable-bucket-fill.[ch]
      	* app/core/gimpdrawable-offset.[ch]
      	* app/core/gimpdrawable-transform.[ch]
      	* app/core/gimpimage-crop.[ch]
      	* app/core/gimpimage-flip.[ch]
      	* app/core/gimpimage-merge.[ch]
      	* app/core/gimpimage-resize.[ch]
      	* app/core/gimpimage-rotate.[ch]
      	* app/core/gimpimage.[ch]
      	* app/core/gimpimagefile.[ch]
      	* app/core/gimpitem-linked.[ch]
      	* app/core/gimpitem.[ch]
      	* app/core/gimplayer.[ch]
      	* app/core/gimpselection.[ch]
      	* app/core/gimptemplate.[ch]
      	* app/file/file-open.[ch]
      	* app/file/file-save.[ch]
      	* app/pdb/procedural_db.[ch]
      	* app/text/gimptext-compat.[ch]
      	* app/text/gimptextlayer-transform.[ch]
      	* app/gui/brush-select.[ch]
      	* app/gui/font-select.[ch]
      	* app/gui/gradient-select.[ch]
      	* app/gui/palette-select.[ch]
      	* app/gui/pattern-select.[ch]: added tons of "GimpContext *context"
      	parameters and use the passed context instead of
      	gimp_get_current_context().
      
      	* app/app_procs.c
      	* app/batch.c
      	* app/core/gimpchannel.c
      	* app/core/gimpdrawable.c
      	* app/paint/gimperaser.c
      	* app/paint/gimppaintbrush.c
      	* app/plug-in/plug-in-message.c
      	* app/plug-in/plug-ins.c
      	* app/text/gimptextlayer.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpfliptool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimptransformtool.c
      	* app/vectors/gimpvectors.c
      	* app/gui/convert-dialog.c
      	* app/gui/drawable-commands.c
      	* app/gui/edit-commands.c
      	* app/gui/file-commands.c
      	* app/gui/file-new-dialog.c
      	* app/gui/file-open-dialog.c
      	* app/gui/file-save-dialog.c
      	* app/gui/image-commands.c
      	* app/gui/layers-commands.c
      	* app/gui/offset-dialog.c
      	* app/gui/select-commands.c
      	* app/gui/vectors-commands.c
      	* app/widgets/gimpdnd.c
      	* app/widgets/gimpdocumentview.c
      	* app/widgets/gimphelp.c
      	* app/widgets/gimpthumbbox.c: pass gimp_get_user_context() or
      	GIMP_CONTEXT(tool_options) or whatever is the right context
      	to the changed core functions.
      
      	* tools/pdbgen/app.pl: pass "GimpContext *context" to all
      	generated PDB invokers.
      
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/edit.pdb
      	* tools/pdbgen/pdb/font_select.pdb
      	* tools/pdbgen/pdb/gradient_select.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/layer.pdb
      	* tools/pdbgen/pdb/paint_tools.pdb
      	* tools/pdbgen/pdb/palette.pdb
      	* tools/pdbgen/pdb/palette_select.pdb
      	* tools/pdbgen/pdb/palettes.pdb
      	* tools/pdbgen/pdb/paths.pdb
      	* tools/pdbgen/pdb/pattern_select.pdb
      	* tools/pdbgen/pdb/patterns.pdb
      	* tools/pdbgen/pdb/selection.pdb
      	* tools/pdbgen/pdb/text_tool.pdb
      	* tools/pdbgen/pdb/transform_tools.pdb: pass the new context
      	parameter to the changed core functions.
      
      	* app/pdb/*_cmds.c: regenerated.
      18d9161e
    • Raphael Quinet's avatar
      New version of the script that works on a temporary copy of the image · ab5ffbb5
      Raphael Quinet authored
      2004-04-14  Raphael Quinet  <quinet@gamers.org>
      
      	* plug-ins/script-fu/scripts/copy-visible.scm: New version of the
      	script that works on a temporary copy of the image instead of
      	copying the visible layers.  Fixes bug #139989.
      ab5ffbb5
    • Sven Neumann's avatar
      fixed typo (bug #140039). · 62b8ae01
      Sven Neumann authored
      2004-04-14  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/film.c: fixed typo (bug #140039).
      62b8ae01
    • Miloslav Trmac's avatar
      Updated Czech translation. · bb14731e
      Miloslav Trmac authored
      2004-04-14  Miloslav Trmac  <mitr@volny.cz>
      
      	* cs.po: Updated Czech translation.
      bb14731e
    • Gareth Owen's avatar
      Updated British English translation · f34d3466
      Gareth Owen authored
      f34d3466
  3. 13 Apr, 2004 11 commits
    • Sven Neumann's avatar
      bumped version to 2.1.0, interface age 0, binary age 0. Changed library · 69f9c1a7
      Sven Neumann authored
      2004-04-14  Sven Neumann  <sven@gimp.org>
      
              * configure.in: bumped version to 2.1.0, interface age 0, binary
              age 0. Changed library versioning to include gimp_minor_version
              similar to how gtk+ does it.
      69f9c1a7
    • Sven Neumann's avatar
      Made 2.0.1 release. · 02eaae82
      Sven Neumann authored
      2004-04-14  Sven Neumann  <sven@gimp.org>
      
              * Made 2.0.1 release.
      02eaae82
    • Raphael Quinet's avatar
      Workaround for bug #139947: do not register the plug-in for INDEXED* modes · 492c6a4a
      Raphael Quinet authored
      2004-04-13  Raphael Quinet  <quinet@gamers.org>
      
      	* plug-ins/common/mng.c (query, run): Workaround for bug #139947:
      	do not register the plug-in for INDEXED* modes and do not declare
      	that it can handle INDEXED images in gimp_export_image().  This
      	forces a conversion to RGB instead of generating broken indexed
      	images.  The generation of correct indexed MNG files is likely to
      	require a newer release of libmng.
      	(mng_data): Set default compression level to 9 instead of 6.
      492c6a4a
    • Sven Neumann's avatar
      plug-ins/imagemap/imap_cern_parse.c plug-ins/imagemap/imap_csim_parse.c · 14c6f50a
      Sven Neumann authored
      2004-04-13  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/imagemap/imap_cern_parse.c
      	* plug-ins/imagemap/imap_csim_parse.c
      	* plug-ins/imagemap/imap_ncsa_parse.c: regenerated using GNU Bison
      	version 1.875a. Fixes bug #139894.
      14c6f50a
    • Sven Neumann's avatar
      reverted last change and go back to the solution using fork(). Hopefully · ffdf3a5b
      Sven Neumann authored
      2004-04-13  Sven Neumann  <sven@gimp.org>
      
      	* tools/gimp-remote.c: reverted last change and go back to the
      	solution using fork(). Hopefully fixes bug #139158 this time.
      ffdf3a5b
    • Sven Neumann's avatar
      added a category parameter to make this function more flexible. · 84688d18
      Sven Neumann authored
      2004-04-13  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimp-utils.[ch] (gimp_get_default_language): added a
      	category parameter to make this function more flexible.
      
      	* app/text/gimptext.c: changed accordingly.
      
      	* app/widgets/gimphelp.c (gimp_help): localize the help pages
      	according to the value of LC_MESSAGES. Fixes bug #139917.
      84688d18
    • Michael Natterer's avatar
      Moved the calls to floating_sel_relax()/rigor() from various places to two · 2e61d12e
      Michael Natterer authored
      2004-04-13  Michael Natterer  <mitch@gimp.org>
      
      	Moved the calls to floating_sel_relax()/rigor() from various
      	places to two single spots in the core where they are actually
      	needed. Fixes bug #138356 (which was caused by the projection
      	being triggered in the middle of changing the floating selection's
      	size or the size of the drawable it is attached to). This commit
      	effectively removes floating selection fiddling from the core's
      	public API.
      
      	* app/core/gimpdrawable.[ch] (gimp_drawable_has_floating_sel): new
      	function which returns TRUE if there is a floating selection
      	attached to the drawable.
      
      	* app/core/gimpdrawable.c (gimp_drawable_translate)
      	(gimp_drawable_set_tiles_full): if the drawable *has* a floating
      	selection, relax/rigor it before/after modifying the drawable.
      
      	* app/core/gimplayer.c (gimp_layer_translate)
      	(gimp_layer_set_tiles): if the layer *is* the floating selection,
      	relax/rigor it before/after modifying it.
      
      	* app/core/gimpdrawable-transform.c
      	* app/core/gimpimage-convert.c
      	* app/core/gimpimage-crop.c
      	* app/core/gimpimage-flip.c
      	* app/core/gimpimage-resize.c
      	* app/core/gimpimage-rotate.c
      	* app/core/gimpimage-scale.c
      	* app/gui/layers-commands.c
      	* app/tools/gimpeditselectiontool.c
      	* tools/pdbgen/pdb/layer.pdb: removed calls to
      	floating_sel_rigor()/relax() all over the place. Also removed
      	lots of undo groups which are obsolete now.
      
      	* app/pdb/layer_cmds.c: regenerated.
      2e61d12e
    • Sven Neumann's avatar
      convert the filename to UTF-8 before displaying it. · 44770220
      Sven Neumann authored
      2004-04-13  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/imagemap/imap_file.c (do_file_error_dialog): convert
      	the filename to UTF-8 before displaying it.
      44770220
    • Michael Natterer's avatar
      GimpItem undo group cleanup in preparation of fixing bug #138356: · 069489fb
      Michael Natterer authored
      2004-04-13  Michael Natterer  <mitch@gimp.org>
      
      	GimpItem undo group cleanup in preparation of fixing bug #138356:
      
      	* app/core/core-enums.[c]: renamed LAYER_SCALE and LAYER_RESIZE
      	undo groups to ITEM_SCALE and ITEM_RESIZE.
      
      	* app/core/gimpitem.[ch]: always push undo groups around
      	GimpItem::translate(), scale(), resize(), flip(), rotate() and
      	transform(). Added the resp. undo_desc strings to GimpItemClass.
      
      	* app/core/gimpchannel.[ch]
      	* app/core/gimpdrawable.[ch]
      	* app/core/gimplayer.c: removed all undo groups from
      	implementations of the above methods. Removed the undo_desc
      	strings which were moved to GimpItemClass.
      
      	* app/core/gimpimage-crop.c
      	* app/core/gimpselection.c
      	* app/gui/layers-commands.c
      	* app/vectors/gimpvectors.c
      	* tools/pdbgen/pdb/layer.pdb: changed accordingly.
      
      	* app/pdb/layer_cmds.c: regenerated.
      069489fb
    • Dmitry Mastrukov's avatar
    • Gareth Owen's avatar
      Updated British English translation · 783c648e
      Gareth Owen authored
      783c648e
  4. 12 Apr, 2004 4 commits