1. 20 Feb, 2003 8 commits
    • Sven Neumann's avatar
      app/widgets/gimpfontselection-dialog.c connect the dialog to the font · 0f59cb40
      Sven Neumann authored
      2003-02-20  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpfontselection-dialog.c
      	* app/widgets/gimpfontselection.c: connect the dialog to the font
      	selection widget and block the signal handler when the font is
      	changed from the dialog. Fixes weird behaviour noted by Jimmac.
      0f59cb40
    • Sven Neumann's avatar
      always start with an empty text. · e1050770
      Sven Neumann authored
      2003-02-20  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimptexttool.c: always start with an empty text.
      e1050770
    • Sven Neumann's avatar
      trim the string only if necessary. · df09eb68
      Sven Neumann authored
      2003-02-20  Sven Neumann  <sven@gimp.org>
      
      	* libgimpbase/gimputils.c (gimp_utf8_strtrim): trim the string
      	only if necessary.
      
      	* app/text/gimptext.c: changed the default text to NULL.
      
      	* app/widgets/gimptexteditor.[ch]: replaced Cancel and OK buttons
      	with a single Close button and removed the callback.
      
      	* app/widgets/gimppropwidgets.c: gtk_text_buffer_set_text()
      	doesn't like NULL pointers, pass it an empty string instead.
      
      	* app/tools/gimptexttool.c: create a new text layer as soon as the
      	user starts editing.
      df09eb68
    • Michael Natterer's avatar
      app/widgets/Makefile.am app/widgets/widgets-types.h new GimpEditor · 94bdcbcc
      Michael Natterer authored
      2003-02-20  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpimageeditor.[ch]: new GimpEditor subclass adding
      	a GimpImage pointer and a virtual set_image() function.
      
      	* app/widgets/gimpcolormapeditor.[ch]
      	* app/widgets/gimpselectioneditor.[ch]
      	* app/widgets/gimpundoeditor.[ch]: derive them from GimpImageEditor.
      	Removed the public set_image() functions.
      
      	* app/gui/colormap-editor-commands.c
      	* app/gui/colormap-editor-menu.c: changed accordingly.
      
      	* app/gui/dialogs-constructors.c: removed lots of code duplication
      	and use the uniform GimpImageEditor API. Misc cleanups.
      94bdcbcc
    • Sven Neumann's avatar
      documented. · bca2ddaa
      Sven Neumann authored
      2003-02-20  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimpwidgetsmarshal.list: documented.
      bca2ddaa
    • Sven Neumann's avatar
      reduced to the set of marshallers we actually use. · 6a9e205b
      Sven Neumann authored
      2003-02-20  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpmarshal.list: reduced to the set of marshallers we
      	actually use.
      6a9e205b
    • Michael Natterer's avatar
      Reimplemented the undo history: · c8b4394d
      Michael Natterer authored
      2003-02-20  Michael Natterer  <mitch@gimp.org>
      
      	Reimplemented the undo history:
      
      	* app/Makefile.am
      	* app/undo_history.[ch]: removed.
      
      	Changes/cleanups to the undo system to enable/simplify the new
      	undo history implementation:
      
      	* app/core/core-types.h: removed enum undo_event_t. Removed the
      	GimpImage parameter from GimpUndoPopFunc and GimpUndoFreeFunc
      	because GimpUndo has a GimpImage pointer now (see below).
      
      	* app/core/core-enums.[ch]: added enum GimpUndoEvent. Added an
      	enum value for REDO_EXPIRED.
      
      	* app/core/gimpimage.[ch]: added a GimpUndo pointer to the
      	"undo_event" signal which needs to be passed for all events except
      	UNDO_FREE.
      
      	* app/display/gimpdisplayshell-handlers.c: changed accordingly.
      
      	* app/core/gimpundo.[ch]: added a GimpImage pointer to the
      	GimpUndo struct. Removed GimpImage parameters all over the
      	place. Added preview stuff. The preview creation needs to be
      	triggered explicitly using gimp_undo_create_preview() because the
      	GimpUndo can't know when it's possible to create the preview.
      
      	* app/core/gimpimage-undo-push.c
      	* app/paint/gimppaintcore-undo.c
      	* app/tools/gimptransformtool-undo.c: changed accordingly, cleanup.
      
      	* app/core/gimpundostack.[ch]: ditto. Return the freed undo from
      	gimp_undo_stack_free_bottom(). Removed unused container signal
      	handlers.
      
      	* app/core/gimpimage-undo.c: free the redo stack the same way old
      	undos are freed (from bottom up). Emit "undo_event" with event ==
      	REDO_EXPIRED for each removed redo.
      
      	* app/core/gimpmarshal.list: added new marshallers.
      
      	New undo history implementation:
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpundoeditor.[ch]
      	* app/widgets/gimpundopreview.[ch]: new widgets for the undo
      	step previews and the history itself.
      
      	* app/widgets/gimppreview-utils.c: added GimpUndoPreview to the
      	list of possible preview types.
      
      	* app/gui/dialogs-constructors.[ch]
      	* app/gui/dialogs-menu.c
      	* app/gui/dialogs.c
      	* app/gui/image-menu.c
      	* app/gui/toolbox-menu.c: removed the old and added the new undo
      	history to the dialog factory and the various dialog menus.
      
      	* app/widgets/gimpdnd.[ch]: don't warn if a GType has no
      	corresponding DND type. Instead, return FALSE from the function
      	that failed.
      
      	* app/widgets/gimppreview.c: check the return value of gimpdnd
      	functions.  Not only add drag sources but also remove them when no
      	longer needed.
      
      	* app/widgets/gimpselectioneditor.h: removed unneeded inclusion of
      	"gui/gui-types.h".
      c8b4394d
    • Evandro Fernandes Giovanini's avatar
      Updated Brazilian Portuguese translation from Alexandre Folle de Menezes · a20fc0fb
      Evandro Fernandes Giovanini authored
      2003-02-20  Evandro Fernandes Giovanini <evandrofg@ig.com.br>
      
              * pt_BR.po: Updated Brazilian Portuguese translation from
              Alexandre Folle de Menezes <afmenez@terra.com.br>.
      a20fc0fb
  2. 19 Feb, 2003 8 commits
  3. 18 Feb, 2003 11 commits
    • Manish Singh's avatar
      #include <sys/types.h> for ipc/shm headers. (Bug #106461) · 3b486eb0
      Manish Singh authored
      2003-02-18  Manish Singh  <yosh@gimp.org>
      
              * app/plug-in/plug-in-shm.c: #include <sys/types.h> for ipc/shm
              headers. (Bug #106461)
      
              * app/plug-in/plug-in.c: remove unneeded includes of ipc/shm headers.
      3b486eb0
    • Pablo Gonzalo del Campo's avatar
      Updated Spanish translation. · 45e801ef
      Pablo Gonzalo del Campo authored
      2003-02-18  Pablo Gonzalo del Campo <pablodc@bigfoot.com>
      
      	* es.po: Updated Spanish translation.
      45e801ef
    • Sven Neumann's avatar
      Applied patches from David Necas <yeti@physics.muni.cz> that fix incorrect · ee835025
      Sven Neumann authored
      2003-02-18  Sven Neumann  <sven@gimp.org>
      
      	Applied patches from David Necas <yeti@physics.muni.cz> that fix
      	incorrect RGBA resampling in a number of plug-ins:
      
      	* libgimpcolor/gimpbilinear.c (gimp_bilinear_rgba): fixes RGBA
      	resampling in Map Object and Lighting Effects plug-ins (#72876 and
      	#105496).
      
      	* plug-ins/common/curve_bend.c: fixes bug #72863.
      	* plug-ins/common/deinterlace.c: fixes bug #72856.
      	* plug-ins/common/gauss_iir.c: fixes bug #72848.
      	* plug-ins/common/gauss_rle.c: fixes bug #72849.
      	* plug-ins/common/iwarp.c: fixes bug #72865 (except preview, see
      	comment).
      	* plug-ins/common/mblur.c: fixes bug #72850.
      	* plug-ins/common/pixelize.c: fixes bug #72851.
      	* plug-ins/common/polar.c: fixes bug #72866.
      	* plug-ins/common/ripple.c: fixes bug #72868.
      ee835025
    • Michael Natterer's avatar
      added gimp_prop_preview_new(). · 89297805
      Michael Natterer authored
      2003-02-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimppropwidgets.[ch]: added gimp_prop_preview_new().
      
      	* app/tools/gimpblendoptions.c
      	* app/tools/paint_options.c: use it.
      89297805
    • Sven Neumann's avatar
      tools/pdbgen/pdb/procedural_db.pdb use regfree() to free the regex pattern · a72799c5
      Sven Neumann authored
      2003-02-18  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/pdb/procedural_db.pdb
      	* app/pdb/procedural_db_cmds.c: use regfree() to free the regex
      	pattern buffer.
      
      	* app/widgets/gimpdnd.c (gimp_dnd_data_dest_add): unref the
      	GtkTargetList after adding it to the widget.
      
      	* app/core/gimpimage.c (gimp_image_get_new_preview): initialize
      	all fields of the mask pixel_region.
      
      	* app/core/gimpviewable.c (gimp_viewable_get_new_preview_pixbuf):
      	pass a destroy notifier to gdk_pixbuf_new_from_data() so that the
      	pixel data is freed with the pixbuf.
      
      	* libgimptool/gimptool.c (gimp_tool_class_init): register a
      	finalizer that unrefs the GimpToolControl object.
      
      	* app/widgets/gimpenummenu.c (gimp_enum_stock_box_new_with_range):
      	free the generated stock_id.
      a72799c5
    • Sven Neumann's avatar
      flattened the splash image. · c2c23eba
      Sven Neumann authored
      2003-02-18  Sven Neumann  <sven@gimp.org>
      
      	* data/images/gimp_splash.png: flattened the splash image.
      c2c23eba
    • Michael Natterer's avatar
      added plug_ins_proc_def_find() which takes a ProcRecord and returns the · 4a811807
      Michael Natterer authored
      2003-02-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/plug-in/plug-ins.[ch]: added plug_ins_proc_def_find() which
      	takes a ProcRecord and returns the corresponding PlugInProcDef.
      
      	* app/plug-in/plug-in.[ch]: added a ProcRecord pointer to the
      	PlugIn struct so we know which procedure the plug-in is
      	executing. Replaced "gboolean in_temp_proc" by
      	"ProcRecord *current_temp_proc". Added plug_in_get_undo_desc()
      	which uses the new ProcRecord members and plug_ins_proc_def_find()
      	to return a human readable string.
      
      	* app/plug-in/plug-in-run.c: pass the ProcRecord to plug_in_new().
      	Set plug_in->current_temp_proc while executing a temp_proc.
      	(The latter won't work since we don't run temp_procs recursively
      	at the moment).
      
      	* app/gui/plug-in-menus.c: translate the plug-in's menu_path
      	before chopping it for the "Repeat" and "Reshow" menu items.
      
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/undo.pdb: use plug_in_get_undo_desc() when
      	pushing plug-in undos.
      
      	* app/pdb/drawable_cmds.c
      	* app/pdb/undo_cmds.c: regenerated.
      4a811807
    • jaycox's avatar
      *** empty log message *** · 5ed30430
      jaycox authored
      5ed30430
    • Manish Singh's avatar
      add enumcode-py.pl to EXTRA_DIST · 92f2931a
      Manish Singh authored
      2003-02-18  Manish Singh  <yosh@gimp.org>
      
              * tools/pdbgen/Makefile.am: add enumcode-py.pl to EXTRA_DIST
      92f2931a
    • Sven Neumann's avatar
      Made 1.3.12 release. · 5e12fbfa
      Sven Neumann authored
      2003-02-18  Sven Neumann  <sven@gimp.org>
      
              * Made 1.3.12 release.
      5e12fbfa
    • Sven Neumann's avatar
      fixed typo. · 0a353cb3
      Sven Neumann authored
      2003-02-18  Sven Neumann  <sven@gimp.org>
      
              * plug-ins/script-fu/scripts/ripply-anim.scm: fixed typo.
      0a353cb3
  4. 17 Feb, 2003 7 commits
    • Pablo Gonzalo del Campo's avatar
      Updated Spanish translation. · 4e0f1fd2
      Pablo Gonzalo del Campo authored
      2003-02-17  Pablo Gonzalo del Campo <pablodc@bigfoot.com>
      
      	* es.po: Updated Spanish translation.
      4e0f1fd2
    • Michael Natterer's avatar
      updated. · 76024e2e
      Michael Natterer authored
      2003-02-17  Michael Natterer  <mitch@gimp.org>
      
      	* de.po: updated.
      76024e2e
    • Michael Natterer's avatar
      added "undo_desc" parameters. · fefaa309
      Michael Natterer authored
      2003-02-17  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimage.[ch] (gimp_image_position_*): added
      	"undo_desc" parameters.
      
      	* app/core/gimpimage-undo-push.c: changed accordingly.
      
      	* app/widgets/gimpitemlistview.[ch]: moved the item stack
      	manipulation function pointers from the instance to the class
      	struct. Added lots of descriptive strings to be used by tooltips
      	and undo steps.
      
      	* app/widgets/gimpchannellistview.c
      	* app/widgets/gimpitemlistitem.c
      	* app/widgets/gimplayerlistview.[ch]
      	* app/widgets/gimpvectorslistview.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/layers-commands.[ch]
      	* app/gui/vectors-commands.c: changed accordingly. Cleanup.
      fefaa309
    • Michael Natterer's avatar
      calculate the size of the handle (the small triangles) from the scale's · 2212a2fc
      Michael Natterer authored
      2003-02-17  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimpcolorscale.c (gimp_color_scale_size_allocate):
      	calculate the size of the handle (the small triangles) from the
      	scale's requisition, not from its allocation. Spotted by drc.
      2212a2fc
    • Michael Natterer's avatar
      s/"Add Mask to Layer"/"Add Layer Mask"/ to match an already existing · 10c41756
      Michael Natterer authored
      2003-02-17  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimplayer.c: s/"Add Mask to Layer"/"Add Layer Mask"/
      	to match an already existing string,
      10c41756
    • Michael Natterer's avatar
      pass more detailed undo_desc strings instead of always "Fill". · 0da22124
      Michael Natterer authored
      2003-02-17  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpedit.c (gimp_edit_fill): pass more detailed
      	undo_desc strings instead of always "Fill".
      
      	* app/core/gimpimage-mask-select.c: changed undo_desc strings
      	to match the already existing blurbs of the selection tools.
      0da22124
    • Michael Natterer's avatar
      added "const gchar *undo_desc" to gimp_image_merge_layers() so the undo · 858398d6
      Michael Natterer authored
      2003-02-17  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimage-merge.[ch]: added "const gchar *undo_desc" to
      	gimp_image_merge_layers() so the undo steps say "Merge Down",
      	"Flatten Image" etc. instead of always "Merge Layers".
      858398d6
  5. 15 Feb, 2003 1 commit
  6. 14 Feb, 2003 5 commits
    • Michael Natterer's avatar
      Fixed most of the bugs the Script-Fu logo scripts triggered: · a4a22458
      Michael Natterer authored
      2003-02-14  Michael Natterer  <mitch@gimp.org>
      
      	Fixed most of the bugs the Script-Fu logo scripts triggered:
      
      	* app/core/gimpdrawable-bucket-fill.[ch]
      	(gimp_drawable_bucket_fill): added "gboolean do_seed_fill"
      	parameter instead of assuming TRUE.
      	(gimp_drawable_bucket_fill_full): moved "color" and "pattern"
      	parameters to the end.
      
      	* app/tools/gimpbucketfilltool.c
      	* app/display/gimpdisplayshell-dnd.c
      	* app/widgets/gimpdrawablelistview.c: changed accordingly.
      
      	* tools/pdbgen/pdb/misc_tools.pdb: only pass TRUE if the selection
      	is empty. Restores old PDB behaviour.
      
      	* app/core/gimpimage-undo.c (gimp_image_undo_group_end): return
      	early if gimage->undo_on is FALSE. Fixes bogus criticals.
      
      	* app/core/gimpimage.c (gimp_image_add_[layer|channel|vectors]):
      	clamp the passed position to sane values before calling
      	gimp_container_insert() (Scripts adding layers at wrong indices
      	are broken but should not crash the core).
      
      	* tools/pdbgen/pdb/paint_tools.pdb: need to copy the relevant
      	paint parameters from the current context now that the paint
      	options are contexts themselves.
      
      	* tools/pdbgen/pdb/palette.pdb: removed useless includes.
      
      	(Mostly) fixed text PDB functions:
      
      	* app/text/gimptext-compat.[ch] (text_render): don't set
      	text->font_size = -1 but get the size from the PangoFontDescrition.
      	(text_get_extents): return the logical_rect, not the ink_rect
      	because the size of the created text layer will be the logical_rect.
      
      	* tools/pdbgen/pdb/text_tool.pdb: removed text_fontname_create()
      	utility function and the usage of pass_through and implement all
      	invokers in-place, using the correct parameters.
      
      	* plug-ins/script-fu/siod-wrapper.c: fixed BG-IMAGE-FILL compat
      	define so we can BG fill again. Cleaned up color handling code.
      
      	* plug-ins/script-fu/scripts/coolmetal-logo.scm
      	* plug-ins/script-fu/scripts/glossy.scm
      	* plug-ins/script-fu/scripts/land.scm
      	* plug-ins/script-fu/scripts/lava.scm
      	* plug-ins/script-fu/scripts/test-sphere.scm: use new gradient names.
      
      	* app/pdb/misc_tools_cmds.c
      	* app/pdb/paint_tools_cmds.c
      	* app/pdb/palette_cmds.c
      	* app/pdb/text_tool_cmds.c: regenerated.
      a4a22458
    • Pablo Gonzalo del Campo's avatar
      Updated Spanish translation. · 59fc2ead
      Pablo Gonzalo del Campo authored
      2003-02-14  Pablo Gonzalo del Campo <pablodc@bigfoot.com>
      
      	* es.po: Updated Spanish translation.
      59fc2ead
    • Sven Neumann's avatar
      updated. · 84006fb8
      Sven Neumann authored
      2003-02-14  Sven Neumann  <sven@gimp.org>
      
      	* POTFILES.in: updated.
      84006fb8
    • Michael Natterer's avatar
      Moved the undo step implementations to the core and pass around lots of · 7a6a8d9d
      Michael Natterer authored
      2003-02-14  Michael Natterer  <mitch@gimp.org>
      
      	Moved the undo step implementations to the core and pass around
      	lots of "const gchar *undo_desc". Fixes bug #104367.
      
      	* app/Makefile.am
      	* app/undo.[ch]: removed...
      
      	* app/core/Makefile.am
      	* app/core/gimpimage-undo-push.[ch]: ...and added here.
      
      	* app/paint/Makefile.am
      	* app/tools/Makefile.am
      	* app/paint/gimppaintcore-undo.[ch]
      	* app/tools/gimptransformtool-undo.[ch]: new files for the
      	paint and transform undos.
      
      	* app/core/gimppaintinfo.[ch]: added a blurb.
      
      	* app/paint/gimpairbrush.c
      	* app/paint/gimpclone.c
      	* app/paint/gimpconvolve.c
      	* app/paint/gimpdodgeburn.c
      	* app/paint/gimperaser.c
      	* app/paint/gimppaintbrush.c
      	* app/paint/gimppaintcore.c
      	* app/paint/gimppencil.c
      	* app/paint/gimpsmudge.c
      	* app/paint/paint-types.h
      	* app/paint/paint.c: pass the blurb when registering the core.
      
      	* app/core/gimpdrawable.[ch]
      	* app/core/gimpimage.[ch]
      	* app/core/gimpimage-mask-select.[ch]
      	* app/core/gimpimage-mask.[ch]
      	* app/core/gimpimagemap.[ch]
      	* app/core/gimplayer-floating-sel.[ch]: added "undo_desc" parameters
      	to all undo pushing helper functions.
      
      	* app/undo_history.c
      	* app/core/gimpchannel.c
      	* app/core/gimpdrawable-blend.c
      	* app/core/gimpdrawable-bucket-fill.c
      	* app/core/gimpdrawable-desaturate.c
      	* app/core/gimpdrawable-equalize.c
      	* app/core/gimpdrawable-invert.c
      	* app/core/gimpdrawable-offset.c
      	* app/core/gimpdrawable-transform.c
      	* app/core/gimpedit.c
      	* app/core/gimpimage-convert.c
      	* app/core/gimpimage-crop.c
      	* app/core/gimpimage-guides.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage-qmask.c
      	* app/core/gimpimage-resize.c
      	* app/core/gimpimage-scale.c
      	* app/core/gimpimage-undo.c
      	* app/core/gimpitem.c
      	* app/core/gimplayer.c
      	* app/core/gimplayermask.c
      	* app/display/gimpdisplayshell-dnd.c
      	* app/file/file-open.c
      	* app/file/file-save.c
      	* app/gui/channels-commands.c
      	* app/gui/file-commands.c
      	* app/gui/file-open-dialog.c
      	* app/gui/image-commands.c
      	* app/gui/layers-commands.c
      	* app/gui/paths-dialog.c
      	* app/gui/select-commands.c
      	* app/gui/vectors-commands.c
      	* app/text/gimptext-compat.c
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpfreeselecttool.c
      	* app/tools/gimpfuzzyselecttool.c
      	* app/tools/gimpimagemaptool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimpiscissorstool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimpmovetool.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimprectselecttool.c
      	* app/tools/gimptexttool.c
      	* app/tools/gimptransformtool.c
      	* app/widgets/gimpchannellistview.c
      	* app/widgets/gimpdrawablelistview.c
      	* app/widgets/gimpselectioneditor.c
      	* tools/pdbgen/pdb/color.pdb
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/guides.pdb
      	* tools/pdbgen/pdb/layer.pdb
      	* tools/pdbgen/pdb/selection.pdb
      	* tools/pdbgen/pdb/selection_tools.pdb: changed accordingly: pass
      	"undo_desc" strings, changed includes or simply removed inclusion
      	of "undo.h". Some random cleanups.
      
      	* tools/pdbgen/pdb/guides.pdb: cleaned up a lot. Fixed
      	gimp_image_find_next_guide() to not return guides with
      	position < 0 (and made it shorter and readable).
      
      	* app/pdb/color_cmds.c
      	* app/pdb/drawable_cmds.c
      	* app/pdb/guides_cmds.c
      	* app/pdb/layer_cmds.c
      	* app/pdb/selection_cmds.c
      	* app/pdb/selection_tools_cmds.c: regenerated.
      7a6a8d9d
    • Sven Neumann's avatar
      return the duplicate, not the original mask. Fixes bug #106010. · ebd0d76c
      Sven Neumann authored
      2003-02-14  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimplayermask.c (gimp_layer_mask_duplicate): return the
      	duplicate, not the original mask. Fixes bug #106010.
      ebd0d76c