1. 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
  2. 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
  3. 12 Apr, 2004 6 commits
  4. 11 Apr, 2004 4 commits
    • Manish Singh's avatar
      When using a separate dir for images, actually prepend the dir to the img · 7ef00735
      Manish Singh authored
      2004-04-11  Manish Singh  <yosh@gimp.org>
      
              * plug-ins/pygimp/plug-ins/py-slice.py: When using a separate dir for
              images, actually prepend the dir to the img srcs in the html. Allow
              only horizontal or vertical guides in an image, do not require both.
              A bit smarter path handling. Addresses most of bug #138714.
      7ef00735
    • Hans Breuer's avatar
      build sanity.obj app/text/makefile.msc : gimptextundo.obj · 22e0f080
      Hans Breuer authored
      2004-04-11  Hans Breuer  <hans@breuer.org>
      
      	* app/makefile.msc : build sanity.obj
      	  app/text/makefile.msc : gimptextundo.obj
      	  app/widgets/makefile.msc : gimppatternfactoryview.obj
      
      	* plug-ins/common/winclipboard.c : don't call
      	gimp_image_undo_enable() when it's not switched off.
      	Otherwise the undo history would be destroyed with
      	Gimp-Core-CRITICAL **: file gimpimage.c: line 1579: assertion
      	`gimage->undo_freeze_count > 0' failed
      22e0f080
    • Sven Neumann's avatar
      fixed typo spotted by Roman Joost and did some minor updates. · ab01d0b9
      Sven Neumann authored
      2004-04-11  Sven Neumann  <sven@gimp.org>
      
      	* de.po: fixed typo spotted by Roman Joost and did some minor
      	updates.
      ab01d0b9
    • Adam Weinberger's avatar
      po/en_CA.po po-libgimp/en_CA.po · 1703f8d6
      Adam Weinberger authored
      
      	* po/en_CA.po
      	* po-libgimp/en_CA.po
      	* po-plug-ins/en_CA.po:
      
      	  Updated Canadian English translation.
      1703f8d6
  5. 10 Apr, 2004 8 commits
  6. 09 Apr, 2004 2 commits
  7. 08 Apr, 2004 2 commits
  8. 07 Apr, 2004 2 commits