1. 26 May, 2003 4 commits
    • Sven Neumann's avatar
      check that the merged layer has image width and height and resize it if · 5ac6c41a
      Sven Neumann authored
      2003-05-26  Sven Neumann  <sven@gimp.org>
      
      	* libgimp/gimpexport.c (export_merge): check that the merged layer
      	has image width and height and resize it if necessary. Fixes bug
      	#113639.
      5ac6c41a
    • Michael Natterer's avatar
      added "gint ref_count" to the TileManager struct. · 707e5976
      Michael Natterer authored
      2003-05-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/base/tile-manager-private.h: added "gint ref_count" to the
      	TileManager struct.
      
      	* app/base/tile-manager.[ch]: replaced tile_manager_destroy()
      	by tile_manager_ref() and tile_manager_unref().
      
      	* app/core/gimpimage-undo-push.c: ref the tile managers stored in
      	the undo system and DON'T destroy them if no undo could be pushed.
      	Should fix the remaining crashes with undo disabled like in
      	bug #9350.
      
      	(!!!) Note that the tiles passed to gimp_image_undo_push_image()
      	and gimp_drawable_push_undo() as well as the tile managers of
      	drawables passed to gimp_image_undo_push_[layer|channel]_mod()
      	must be unref'ed by the caller now.
      
      	* app/core/gimpdrawable-transform.c (gimp_drawable_transform_paste):
      	don't take ownership of the passed tiles but ref them if needed.
      
      	(!!!) Callers must unref the passed tiles themselves now.
      
      	* app/core/gimpbuffer.c
      	* app/core/gimpdrawable-blend.c
      	* app/core/gimpdrawable-bucket-fill.c
      	* app/core/gimpdrawable-offset.c
      	* app/core/gimpdrawable.c
      	* app/core/gimpedit.c
      	* app/core/gimpimage-convert.c
      	* app/core/gimpimage-mask.c
      	* app/core/gimpimage-projection.c
      	* app/core/gimpimage.c
      	* app/core/gimpimagemap.c
      	* app/core/gimplayer-floating-sel.c
      	* app/core/gimplayer.c
      	* app/paint/gimppaintcore.c
      	* app/text/gimptextlayer.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimpiscissorstool.c
      	* app/tools/gimptransformtool-undo.c
      	* app/tools/gimptransformtool.c: changed accordingly.
      707e5976
    • Raphael Quinet's avatar
      Moved the -i flag for lex. Modified the grammar a bit in order to allow · 35872fbc
      Raphael Quinet authored
      2003-05-26  Raphael Quinet  <quinet@gamers.org>
      
      	* plug-ins/imagemap/Makefile.am: Moved the -i flag for lex.
      	* plug-ins/imagemap/imap_csim.y: Modified the grammar a bit in
      	order to allow the attribute nohref="nohref".  Fixes the last
      	part of bug #87687.
      35872fbc
    • Michael Natterer's avatar
      app/widgets/gimppaletteeditor.[ch] app/gui/palette-editor-commands.[ch] · 4c070aff
      Michael Natterer authored
      2003-05-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimppaletteeditor.[ch]
      	* app/gui/palette-editor-commands.[ch]
      	* app/gui/palette-editor-menu.c: started to clean up the palette
      	editor: added buttons for all menu items and menu items for all
      	buttons. Improved selected palette entry handling. Moved all code
      	to gimppaletteeditor.c and call it from the menu callbacks.  Lots
      	of cleanup (unfinished).
      4c070aff
  2. 25 May, 2003 9 commits
    • Pedro Gimeno's avatar
      Fix off-by-one when dragging the selection. Fixes the last pending issue · 2f31d12f
      Pedro Gimeno authored
      2003-05-26  Pedro Gimeno  <pggimeno@wanadoo.es>
      
      	* app/tools/gimpeditselectiontool.c (selection_transform_segs):
      	Fix off-by-one when dragging the selection. Fixes the last pending
      	issue of bug #17904. Use temporary variables for clamp values.
      
      	* app/display/gimpdisplayshell-selection.c
      	(selection_transform_segs): Perform the clamping that fixes
      	bug #110014 here instead of in the callers. Solves a rare case
      	that was not properly handled before.
      	(selection_render_points, selection_generate_segs): Remove the
      	clamping code from here.
      
      	* app/tools/gimpdrawtool.c (gimp_draw_tool_draw_rectangle): More
      	clampings to avoid overflow of 16-bit coordinates.
      2f31d12f
    • Maurits Rijk's avatar
      Fix typo in ChangeLog · f45b47f4
      Maurits Rijk authored
      f45b47f4
    • Maurits Rijk's avatar
    • Michael Natterer's avatar
      Use g_object_[set|get]_qdata(), not just _data() to speed up tool manager · dd9a0a4a
      Michael Natterer authored
      2003-05-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/tool_manager.[ch] (tool_manager_set,get): Use
      	g_object_[set|get]_qdata(), not just _data() to speed up tool
      	manager access.
      
      	Removed tool_manager_active_get_help_data() and
      	tool_manager_help_func().
      
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimphistogramtool.c
      	* app/tools/gimpimagemaptool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimptransformtool.c: use gimp_standard_help_func and
      	tool->tool_info->help_data instead. Don't #include "tool_manager.h".
      dd9a0a4a
    • Sven Neumann's avatar
      libgimp/libgimp-sections.txt removed set_gimp_PLUG_IN_INFO_PTR. · 846a9336
      Sven Neumann authored
      2003-05-25  Sven Neumann  <sven@gimp.org>
      
      	* libgimp/libgimp-sections.txt
      	* libgimp/tmpl/gimp.sgml: removed set_gimp_PLUG_IN_INFO_PTR.
      846a9336
    • Michael Natterer's avatar
      changed again to take no paramaters and use _gimp_standard_help_func from · ac2b6c87
      Michael Natterer authored
      2003-05-25  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimphelpui.[ch] (_gimp_help_init): changed again
      	to take no paramaters and use _gimp_standard_help_func from
      	gimpwidgets-private.
      
      	* libgimpwidgets/gimpwidgets-private.[ch]: removed the palette
      	functions from GimpWidgetVTable. Instead, pass them as
      	GimpGetColorFunc to gimp_widgets_init() and make them available as
      	_gimp_get_foreground_func and _gimp_get_background_func.
      
      	* libgimpwidgets/gimpcolorbutton.c
      	* libgimp/gimpui.c: changed accordingly.
      
      	* app/libgimp_glue.[ch]: removed the palette functions.
      
      	* app/gui/gui.c: added gui_get_foreground_func() and
      	gui_get_background_func() and pass them to gimp_widgets_init().
      ac2b6c87
    • Michael Natterer's avatar
      added a GimpHelpFunc parameter to _gimp_help_init(). Implement · 253ed709
      Michael Natterer authored
      2003-05-25  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimphelpui.[ch]: added a GimpHelpFunc parameter to
      	_gimp_help_init(). Implement gimp_standard_help_func() here and
      	use the function pointer passed to _gimp_help_init().
      
      	* libgimpwidgets/gimpwidgets-private.[ch]: removed
      	standard_help_func from GimpWidgetsVTable. Require it as paramater
      	to gimp_widgets_init() and pass it to _gimp_help_init().
      
      	* libgimpwidgets/gimpunitmenu.c: use gimp_standard_help_func
      	directly again.
      
      	* app/libgimp_glue.[ch]: removed gimp_standard_help_func().
      
      	* libgimp/Makefile.am
      	* libgimp/gimphelp.c: removed this file (containing
      	gimp_standard_help_func()).
      
      	* app/gui/gui.c: added private gimp_help_func() and pass it to
      	gimp_widgets_init().
      
      	* libgimp/gimpui.c: added private gimp_ui_help_func() and pass it
      	to gimp_widgets_init().
      253ed709
    • Michael Natterer's avatar
      forgot some hardcoded "1.3" here. · 7860f1c7
      Michael Natterer authored
      2003-05-25  Michael Natterer  <mitch@gimp.org>
      
      	* data/misc/Makefile.am: forgot some hardcoded "1.3" here.
      7860f1c7
    • Michael Natterer's avatar
      removed a left over GTK_CHECK_VERSION(2,2,0). · bbd2be1c
      Michael Natterer authored
      2003-05-25  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/common/uniteditor.c (unit_editor_dialog): removed a
      	left over GTK_CHECK_VERSION(2,2,0).
      bbd2be1c
  3. 24 May, 2003 4 commits
  4. 23 May, 2003 14 commits
    • Manish Singh's avatar
      gimp_main now takes a GimpPlugInInfo *, and PLUG_IN_INFO is now a static · f6fb0fff
      Manish Singh authored
      2003-05-23  Manish Singh  <yosh@gimp.org>
      
              * libgimp/gimp.[ch]: gimp_main now takes a GimpPlugInInfo *,
              and PLUG_IN_INFO is now a static variable set from that. This
              removes all the special casing for the Win32 and OS/2 ports around
              this. Also added a debugging hook for quit procs.
      
              * plug-ins/common/mng.c: moved MAIN() to the end so PLUG_IN_INFO is
              declared.
      
              * plug-ins/gimpressionist/gimpressionist.c: pass &PLUG_IN_INFO
              to gimp_main.
      
              * plug-ins/pygimp/gimpmodule.c: Here too. Also add a message
              function.
      f6fb0fff
    • Sven Neumann's avatar
      fixed offset of layers and vectors after rotation (bug #113611). · 7ade1c72
      Sven Neumann authored
      2003-05-24  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpimage-rotate.c (gimp_image_rotate): fixed offset of
      	layers and vectors after rotation (bug #113611).
      7ade1c72
    • Michael Natterer's avatar
      always flush the displays, not only when creating a new image. · 34fb1c22
      Michael Natterer authored
      2003-05-24  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/common/lic.c (compute_image): always flush the
      	displays, not only when creating a new image.
      34fb1c22
    • Michael Natterer's avatar
      actually connect the "Create New Image" toggle with its value. Fixes bug · 6cd7b046
      Michael Natterer authored
      2003-05-24  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/common/lic.c (create_main_dialog): actually connect
      	the "Create New Image" toggle with its value. Fixes bug #113610.
      	Cleaned up a bit.
      6cd7b046
    • Sven Neumann's avatar
      fixed a typo or two · 39bff09f
      Sven Neumann authored
      39bff09f
    • Sven Neumann's avatar
      libgimpwidgets/Makefile.am new files. Moved gimp_widgets_init() here and · 62dffea6
      Sven Neumann authored
      2003-05-23  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/Makefile.am
      	* libgimpwidgets/gimpwidgets-private.[ch]: new files. Moved
      	gimp_widgets_init() here and added a vtable parameter. The vtable
      	has entries for all the symbols that are either provided by libgimp
      	or gimp itself depending on who is using the library.
      
      	* libgimpwidgets/libgimp-glue.c: removed this file that uses to
      	provide a Win32 only hack that is now not needed any longer.
      
      	* libgimpwidgets/gimpcolorbutton.c
      	* libgimpwidgets/gimphelpui.c
      	* libgimpwidgets/gimpsizeentry.c
      	* libgimpwidgets/gimpunitmenu.c
      	* libgimpwidgets/gimpwidgets.[ch]: don't call the offending
      	functions directly, but use the vtable entries. This is ugly but
      	the ugliness is restricted to our code. There are plans to clean
      	this up further... (Fixes #113410 once more.)
      
      	* app/gui/gui.c (gui_libs_init)
      	* libgimp/gimpui.c (gimp_ui_init): initialize libgimpwidgets with
      	the proper vtable.
      62dffea6
    • Raphael Quinet's avatar
      added rules for rebuilding the source .c files from the .l (lex/flex) and · 31ad0513
      Raphael Quinet authored
      2003-05-23  Raphael Quinet  <quinet@gamers.org>
      
      	* plug-ins/imagemap/Makefile.am: added rules for rebuilding the
      	source .c files from the .l (lex/flex) and .y (yacc/bison) files.
      	Fixes a non-critical part of bug #113445.
      31ad0513
    • Michael Natterer's avatar
      Always provide interlibrary dependencies, not just on Win32. · a2f7750d
      Michael Natterer authored
      2003-05-23  Michael Natterer  <mitch@gimp.org>
      
      	* modules/Makefile.am: Always provide interlibrary
      	dependencies, not just on Win32.
      
      	* Makefile.am
      	* app/Makefile.am
      	* app/config/Makefile.am
      	* data/misc/Makefile.am
      	* docs/Makefile.am
      	* libgimp/Makefile.am
      	* libgimpbase/Makefile.am
      	* libgimpcolor/Makefile.am
      	* libgimpmath/Makefile.am
      	* libgimpmodule/Makefile.am
      	* libgimpwidgets/Makefile.am
      	* tools/Makefile.am: replaced many hardcoded "1.3" strings by
      	$(LT_RELEASE). Hopefully didn't break the Win32 build...
      a2f7750d
    • Paul Duffy's avatar
      Updated Irish Translation · b63b1ff4
      Paul Duffy authored
      2003-05-23  Paul Duffy <dubhthach@frink.nuigalway.ie>
      Updated Irish Translation
      b63b1ff4
    • Sven Neumann's avatar
      POTFILES.in updated. · 9365e847
      Sven Neumann authored
      2003-05-23  Sven Neumann  <sven@gimp.org>
      
      	* POTFILES.in
      	* de.po: updated.
      9365e847
    • Sven Neumann's avatar
      app/paint/gimppaintcore.c applied a patch from Henning Makholm · 83a2f498
      Sven Neumann authored
      2003-05-23  Sven Neumann  <sven@gimp.org>
      
      	* app/paint/gimppaintcore.c
      	* app/tools/gimppainttool.c: applied a patch from Henning Makholm
      	<henning@makholm.net> that improves drawing of narrow straight lines
      	by moving the endpoints to pixel centers. Fixes bug #84145.
      83a2f498
    • Michael Natterer's avatar
      don't call gimp_dialog_factory_add_foreign() with a NULL dialog_factory. · 0fc53e0f
      Michael Natterer authored
      2003-05-23  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/color-notebook.c (color_notebook_new_internal): don't
      	call gimp_dialog_factory_add_foreign() with a NULL dialog_factory.
      
      	* app/widgets/gimpcolorpanel.c: removed the color_notebook_active
      	boolean state and *always* call color_notebook_show() when the
      	user clicks the button. This way the notebook is automatically
      	deiconified or risen.
      0fc53e0f
    • Sven Neumann's avatar
      docs/keybindings.txt changed the default shortcut for "Zoom In" to '+'. · 3dffa4fb
      Sven Neumann authored
      2003-05-23  Sven Neumann  <sven@gimp.org>
      
      	* docs/keybindings.txt
      	* app/gui/image-menu.c (image_menu_entries): changed the default
      	shortcut for "Zoom In" to '+'. Fixes bug #56108.
      3dffa4fb
    • Michael Natterer's avatar
      implement <shift>+click on the eye icon the same way it was in 1.2 (hide · 80db2fb4
      Michael Natterer authored
      2003-05-23  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpdrawabletreeview.c
      	(gimp_drawable_tree_view_eye_clicked): implement <shift>+click on
      	the eye icon the same way it was in 1.2 (hide all other drawables
      	if any is visible, show them all otherwise). Fixes bug #113479.
      80db2fb4
  5. 22 May, 2003 4 commits
    • Michael Natterer's avatar
      app/vectors/Makefile.am new files implementing a compatibility API for · f7351b0b
      Michael Natterer authored
      2003-05-22  Michael Natterer  <mitch@gimp.org>
      
      	* app/vectors/Makefile.am
      	* app/vectors/gimpvectors-compat.[ch]: new files implementing a
      	compatibility API for converting old XCF and PDB point arrays
      	to GimpVectors and vice versa.
      
      	* app/xcf/xcf-load.c
      	* app/xcf/xcf-save.c
      	* tools/pdbgen/pdb/paths.pdb: use the new functions instead of
      	having slightly different, but equally ugly code twice.
      
      	* app/xcf/xcf-load.c: cleaned up path loading a lot. Removed the
      	path_point loading utility functions.
      
      	* app/pdb/paths_cmds.c: regenerated.
      
      	* app/Makefile.am: link vectors/libappvectors.a after
      	xcf/libappxcf.a so the compat functions (which are not needed in
      	vectors/) are found.  Also reverted an accidentially checked in
      	change to the libgimpwidgets link order.
      f7351b0b
    • Sven Neumann's avatar
      plug-ins/helpbrowser/Makefile.am plug-ins/common/mkgen.pl changed link · 5beeeeb9
      Sven Neumann authored
      2003-05-22  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/helpbrowser/Makefile.am
      	* plug-ins/common/mkgen.pl
      	* plug-ins/common/Makefile.am: changed link order as suggested in
      	bug #111351.
      5beeeeb9
    • Manish Singh's avatar
      convert filename to a uri for find_utils_find_proc. · 99b371fc
      Manish Singh authored
      2003-05-22  Manish Singh  <yosh@gimp.org>
      
              * tools/pdbgen/pdb/fileops.pdb: convert filename to a uri for
              find_utils_find_proc.
      
              * app/pdb/fileops_cmds.c: regenerated
      99b371fc
    • Raphael Quinet's avatar
      added missing lex files (imap_cern.l, imap_csim.l, imap_ncsa.l) · 437c99be
      Raphael Quinet authored
      2003-05-22  Raphael Quinet  <quinet@gamers.org>
      
      	* plug-ins/imagemap/Makefile.am (EXTRA_DIST): added missing lex
      	files (imap_cern.l, imap_csim.l, imap_ncsa.l)
      437c99be
  6. 21 May, 2003 5 commits
    • Manish Singh's avatar
      libgimp/Makefile.am Always provide interlibrary dependencies, not just on · eceff7bc
      Manish Singh authored
      2003-05-21  Manish Singh  <yosh@gimp.org>
      
              * libgimp/Makefile.am
              * libgimpwidgets/Makefile.am: Always provide interlibrary
              dependencies, not just on Win32. Fixes bug #113410.
      eceff7bc
    • Michael Natterer's avatar
      Removed the old paths and the remaining legacy stuff it needed. Fixes bug · 487f71ba
      Michael Natterer authored
      2003-05-21  Michael Natterer  <mitch@gimp.org>
      
      	Removed the old paths and the remaining legacy stuff it needed.
      	Fixes bug #104471.
      
      	* Makefile.am
      	* configure.in
      	* pixmaps/*: removed the pixmaps/ directory.
      
      	* app/ops_buttons.[ch]
      	* app/path.[ch]
      	* app/pathP.h
      	* app/path_transform.h
      	* app/gui/paths-dialog.[ch]
      	* app/tools/gimpbezierselecttool.[ch]: removed these files.
      
      	* app/Makefile.am
      	* app/gui/Makefile.am
      	* app/tools/Makefile.am: changed accordingly.
      
      	* app/core/core-types.h: removed the Path* types.
      
      	* app/core/gimpimage.[ch]
      	* app/core/gimpimage-duplicate.c: removed gimage->paths.
      
      	* app/gui/about-dialog.c: inline wilber2_xpm for now.
      
      	* app/gui/dialogs-constructors.c
      	* app/gui/dialogs-menu.c
      	* app/gui/dialogs.c
      	* app/gui/menus.c: removed the old paths dialog.
      
      	* app/gui/gui.c: removed gui_rotate_the_shield_harmonics() hack
      	which was broken anyway.
      
      	* app/tools/gimptransformtool.c: #if 0 path_transform preview stuff.
      
      	* app/tools/gimpiscissorstool.c: removed useless include.
      
      	* app/tools/tools.c: removed the bezier select tool.
      
      	* app/vectors/gimpvectors.c (gimp_vectors_real_stroke_add): use
      	g_list_append(), not g_list_prepend() so some ugly side conditions
      	of legacy path loading are honored.
      
      	* app/xcf/xcf-load.c
      	* app/xcf/xcf-save.c: load and save only GimpVectors.
      487f71ba
    • Danilo Šegan's avatar
      Added Serbian translation by Serbian team (Prevod.org). · bf4d38d7
      Danilo Šegan authored
      2003-05-21  Danilo Šegan  <dsegan@gmx.net>
      
      	* sr.po, sr@Latn.po: Added Serbian translation by Serbian team
      	(Prevod.org).
      bf4d38d7
    • Michael Natterer's avatar
      added GimpDrawable::alpha_changed() signal. · 31bf3c90
      Michael Natterer authored
      2003-05-21  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpdrawable.[ch]: added GimpDrawable::alpha_changed()
      	signal.
      
      	* app/core/gimpimage-undo-push.c
      	* app/core/gimplayer.c: emit it when alpha is removed from or
      	added to a layer.
      
      	* app/widgets/gimpcontainertreeview.[ch]: added a
      	"name_attributes" column to the list store which provides a
      	PangoAttrList for the name column.
      
      	* app/widgets/gimplayertreeview.[ch]: connect to all layers'
      	"alpha_changed" and set the BG layer's name to bold.
      
      	* app/widgets/gimpdrawabletreeview.c: removed redundant assertions.
      31bf3c90
    • Dmitry Mastrukov's avatar