1. 11 Feb, 2003 7 commits
    • Michael Natterer's avatar
      added new virtual function duplicate() as replacement for all · 436ed648
      Michael Natterer authored
      2003-02-11  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpitem.[ch]: added new virtual function duplicate()
      	as replacement for all gimp_*_copy() functions.
      
      	* app/core/gimpchannel.[ch]
      	* app/core/gimpdrawable.[ch]
      	* app/core/gimplayer.[ch]
      	* app/core/gimplayermask.[ch]
      	* app/vectors/gimpvectors.[ch]: replaced public copy() functions
      	by duplicate() implementations.
      
      	* app/text/gimptextlayer.c: added a duplicate() implementation.
      
      	* app/widgets/gimpitemlistview.[ch]: removed the "copy_item_func"
      	and simply call gimp_item_duplicate().
      
      	* app/undo.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-mask.c
      	* app/core/gimpimage-qmask.c
      	* app/gui/channels-commands.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/layers-commands.c
      	* app/gui/vectors-commands.c
      	* app/widgets/gimptoolbox.c
      	* tools/pdbgen/pdb/channel.pdb
      	* tools/pdbgen/pdb/layer.pdb
      	* tools/pdbgen/pdb/selection.pdb: changed accordingly.
      
      	* app/pdb/channel_cmds.c
      	* app/pdb/layer_cmds.c
      	* app/pdb/selection_cmds.c: regenerated.
      436ed648
    • Sven Neumann's avatar
      plug-ins/print/gimp_color_window.c fixed some obvious problems like · b0223ce4
      Sven Neumann authored
      2003-02-11  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/print/gimp_color_window.c
      	* plug-ins/print/gimp_main_window.c: fixed some obvious problems
      	like drawing outside the expose_event handler and not returning a
      	value from event handlers. This code really is a mess :(
      b0223ce4
    • Sven Neumann's avatar
      argh, the "cell-background-gdk" property was introduced in GTK+-2.2. Added · c5477b18
      Sven Neumann authored
      2003-02-11  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/uniteditor.c: argh, the "cell-background-gdk"
      	property was introduced in GTK+-2.2. Added a run-time version check.
      c5477b18
    • Michael Natterer's avatar
      added lots of members for the complete state of the plug-ins. · af330e96
      Michael Natterer authored
      2003-02-11  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimp.h: added lots of members for the complete
      	state of the plug-ins.
      
      	* app/plug-in/plug-in-types.h: added PlugInShm typedef.
      
      	* app/plug-in/plug-in-message.c
      	* app/plug-in/plug-in-rc.[ch]
      	* app/plug-in/plug-in-run.[ch]
      	* app/plug-in/plug-in-shm.c
      	* app/plug-in/plug-in.[ch]
      	* app/plug-in/plug-ins.[ch]: removed all global & static variables
      	and pass around more "Gimp" pointers.
      
      	* app/plug-in/plug-in-debug.c: use G_N_ELEMENTS().
      
      	* app/gui/image-menu.c
      	* app/gui/plug-in-commands.c
      	* app/gui/plug-in-menus.c
      	* app/gui/toolbox-menu.c
      	* app/xcf/xcf.c
      	* tools/pdbgen/pdb/fileops.pdb
      	* tools/pdbgen/pdb/plug_in.pdb: changed accordingly.
      
      	* app/pdb/fileops_cmds.c
      	* app/pdb/plug_in_cmds.c: regenerated.
      af330e96
    • Sven Neumann's avatar
      more code cleanup. · 3768c9b3
      Sven Neumann authored
      2003-02-11  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/uniteditor.c: more code cleanup.
      3768c9b3
    • Manish Singh's avatar
      remove a couple unused vars · 6afe30b9
      Manish Singh authored
      2003-02-10  Manish Singh  <yosh@gimp.org>
      
              * app/plug-in/plug-in-debug.c: remove a couple unused vars
      
              * plug-ins/common/spheredesigner.c: G_OBJECT casts not needed
              for g_signal_connect.
      6afe30b9
    • Manish Singh's avatar
      added hooks for running plug-ins under a memory debugger. Also, removed · 96e7d31f
      Manish Singh authored
      2003-02-10  Manish Singh  <yosh@gimp.org>
      
              * app/plug-in/plug-in.[ch]: added hooks for running plug-ins under
              a memory debugger. Also, removed the args array from the PlugIn
              structure, replacing with simply a variable for the path to the
              plug-in (and one for a precalculated basename).
      
              * app/plug-in/plug-in-debug.[ch]: helper routines for the above
      
              * app/plug-in/plug-in-message.c
              * app/plug-in/plug-in-proc.c
              * app/plug-in/plug-in-progress.c: reflect new and renamed args members
      
              * app/plug-in/Makefile.am: added plug-in-debug.[ch]
      
              * app/core/core-types.h: added forward declaration for GimpPlugInDebug
      
              * app/core/gimp.[ch]: added structure member for GimpPlugInDebug
      
              * devel-docs/debug-plug-ins.txt: documented new feature
      96e7d31f
  2. 10 Feb, 2003 16 commits
  3. 09 Feb, 2003 7 commits
    • Michael Natterer's avatar
      changed GimpOrientationType from GIMP_HORIZONTAL to · 933e52ad
      Michael Natterer authored
      2003-02-09  Michael Natterer  <mitch@convergence.de>
      
      	* app/core/core-enums.[ch]: changed GimpOrientationType from
      	GIMP_HORIZONTAL to GIMP_ORIENTATION_HORIZONTAL etc.
      
      	* tools/pdbgen/pdb/guides.pdb: changed accordingly. Don't subtract
      	1 from guide->orientation because InternalOrientationType no
      	longer exists.
      
      	* tools/pdbgen/stddefs.pl: chop the whole GIMP_ORIENTATION_UNKNOWN
      	value from the enum, not just UNKNOWN.
      
      	* app/pdb/guides_cmds.c
      	* app/pdb/transform_tools_cmds.c
      	* libgimp/gimpenums.h
      	* libgimp/gimpguides_pdb.c
      	* plug-ins/script-fu/script-fu-constants.c
      	* plug-ins/pygimp/gimpenums.py
      	* tools/pdbgen/enums.pl: regenerated.
      
      	* libgimp/gimpcompat.h
      	* plug-ins/script-fu/siod-wrapper.c: added compat enums.
      
      	* plug-ins/imagemap/imap_cmd_gimp_guides.c
      	* plug-ins/xjt/xjt.c
      	* plug-ins/xjt/xpdb_calls.c
      	* plug-ins/common/gih.c
      	* plug-ins/common/guillotine.c
      	* plug-ins/common/rotate.c: changed accordingly.
      933e52ad
    • Manish Singh's avatar
      implemented plug-in debugging hooks. Also, use G_LOG_DOMAIN instead of · b8505dcc
      Manish Singh authored
      2003-02-09  Manish Singh  <yosh@gimp.org>
      
              * libgimp/gimp.c: implemented plug-in debugging hooks. Also, use
              G_LOG_DOMAIN instead of hardcoding "LibGimp" for g_log_set_handler.
      
              * devel-docs/debug-plug-ins.txt: documenyed here
      
              * devel-docs/Makefile.am: add new file
      b8505dcc
    • Abel Cheung's avatar
      Convert old traditional Chinese tips file to po file. Removed. · 726b75ea
      Abel Cheung authored
      2003-02-09  Abel Cheung  <maddog@linux.org.hk>
      
      	* Makefile.am, zh_TW.po: Convert old traditional
      	  Chinese tips file to po file.
      	* gimp_tips.zh_TW.txt: Removed.
      726b75ea
    • Michael Natterer's avatar
      simplified everything a lot by merging the public GimpContextPropType enum · eb6e907b
      Michael Natterer authored
      2003-02-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpcontext.[ch]: simplified everything a lot by
      	merging the public GimpContextPropType enum with the internal
      	anonymous object property id enum. Removed the internal copy_prop
      	functions and handle property copying in a big switch() in
      	gimp_context_copy_property(). Removed the separate signal
      	connections for each property of the parent context and do the
      	same using a single "notify" handler. Emit "notify" signals all
      	over the place.  Removed internal arrays which are no longer
      	needed due to enum merge and copy_property simplification.
      	Removed the array of signal names and use g_signal_name().
      	Removed gimp_context_unset_parent() and allow "parent" being NULL
      	in gimp_context_set_parent().
      
      	* app/tools/tool_manager.c
      	* app/widgets/gimpdevices.c: changed accordingly.
      
      	* libgimptool/gimptooltypes.h: changed GimpToolOptionsGUIFunc to
      	return a GtkWidget (the created tool options widget).
      
      	* libgimptool/gimptoolmodule.c: #include <gtk/gtk.h>
      
      	* app/tools/tool_options.[ch]: removed the "main_vbox" from the
      	GimpToolOptions struct. Changed gimp_tool_options_gui() to create
      	and return the main_vbox.
      
      	* app/tools/tool_manager.c: create the "This Tool has no Options"
      	label here if NULL was passed as "options_gui_func". Attach the
      	options widget to the tool_options object using
      	g_object_set_data().
      
      	* app/gui/tool-options-dialog.c: changed accordingly.
      
      	* app/tools/gimpairbrushtool.c
      	* app/tools/gimpblendoptions.[ch]
      	* app/tools/gimpbucketfilloptions.[ch]
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpcolorpickeroptions.[ch]
      	* app/tools/gimpconvolvetool.c
      	* app/tools/gimpcropoptions.[ch]
      	* app/tools/gimpdodgeburntool.c
      	* app/tools/gimperasertool.c
      	* app/tools/gimpflipoptions.[ch]
      	* app/tools/gimpinkoptions.[ch]
      	* app/tools/gimpmagnifyoptions.[ch]
      	* app/tools/gimpmeasureoptions.[ch]
      	* app/tools/gimpmoveoptions.[ch]
      	* app/tools/gimpselectionoptions.[ch]
      	* app/tools/gimpsmudgetool.c
      	* app/tools/gimptextoptions.[ch]
      	* app/tools/gimptransformoptions.[ch]
      	* app/tools/gimpvectoroptions.[ch]
      	* app/tools/paint_options.[ch]: return the options vbox from
      	all tool_options_gui functions.
      eb6e907b
    • Daniel Yacob's avatar
      Updating Amharic translation. · 91abc8ca
      Daniel Yacob authored
      91abc8ca
    • Sven Neumann's avatar
      updated · e5d7a62c
      Sven Neumann authored
      e5d7a62c
    • Sven Neumann's avatar
      app/text/gimptext.c app/tools/gimpbucketfilloptions.c · bb5d6875
      Sven Neumann authored
      2003-02-08  Sven Neumann  <sven@gimp.org>
      
      	* app/text/gimptext.c
      	* app/tools/gimpbucketfilloptions.c
      	* app/tools/gimpselectionoptions.c
      	* app/tools/gimptextoptions.c: use N_() instead of _() with blurbs
      	of object properties. GimpConfig wants the untranslated string as
      	well.
      
      	* app/widgets/gimpenummenu.c
      	* app/widgets/gimppropwidgets.c: added gettext() calls.
      
      	* app/config/gimpconfig-serialize.c: document the fact that
      	gimp_config_serialize_comment() only handles ASCII comments.
      bb5d6875
  4. 08 Feb, 2003 10 commits
    • Michael Natterer's avatar
      added gimp_tool_options_[de]serialize() utility functions. · 4bd30b8c
      Michael Natterer authored
      2003-02-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/tool_options.[ch]: added
      	gimp_tool_options_[de]serialize() utility functions.
      
      	* app/gui/tool-options-dialog.c: use them, cleanup.
      4bd30b8c
    • Michael Natterer's avatar
      allow G_CSET_DIGITS in identifiers so we can parse e.g. (foo-1 bar). · f6b3fb7e
      Michael Natterer authored
      2003-02-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/config/gimpscanner.c: allow G_CSET_DIGITS in identifiers so
      	we can parse e.g. (foo-1 bar).
      f6b3fb7e
    • Sven Neumann's avatar
      applied a patch from Carol Spears that changes all font names to the new · 345db31b
      Sven Neumann authored
      2003-02-08  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/script-fu/scripts/ (lots of scripts): applied a patch
      	from Carol Spears that changes all font names to the new style.
      	Fixes bug #102306.
      345db31b
    • Sven Neumann's avatar
      fixed stupid bug. · 16bc6333
      Sven Neumann authored
      2003-02-08  Sven Neumann  <sven@gimp.org>
      
      	* libgimpbase/gimputils.c (gimp_utf8_strtrim): fixed stupid bug.
      16bc6333
    • Michael Natterer's avatar
      changed include to follow selection options change. Don't use the · 23afa85b
      Michael Natterer authored
      2003-02-08  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpselectioneditor.c: changed include to follow
      	selection options change. Don't use the tool_manager to find
      	by_color_select's options.
      23afa85b
    • Michael Natterer's avatar
      app/tools/transform_options.[ch] removed... · d24dac68
      Michael Natterer authored
      2003-02-08  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/transform_options.[ch]
      	* app/tools/selection_options.[ch]: removed...
      
      	* app/tools/gimpselectionoptions.[ch]
      	* app/tools/gimptransformoptions.[ch]: ...and added here.
      
      	* app/tools/Makefile.am
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpellipseselecttool.c
      	* app/tools/gimpfreeselecttool.c
      	* app/tools/gimpfuzzyselecttool.c
      	* app/tools/gimpiscissorstool.c
      	* app/tools/gimpperspectivetool.c
      	* app/tools/gimprectselecttool.c
      	* app/tools/gimprotatetool.c
      	* app/tools/gimpscaletool.c
      	* app/tools/gimpselectiontool.c
      	* app/tools/gimpsheartool.c
      	* app/tools/gimptransformtool.c
      	* app/tools/gimpvectoroptions.h: changed accordingly.
      
      	* app/tools/gimpinkoptions.[ch]: renamed "sensitivity" to
      	"size_sensitivity". Reordered properties. Added utility
      	constructors blob_button_new() and brush_widget_new().
      
      	* app/tools/gimpinktool.c: changed accordingly.
      d24dac68
    • Manish Singh's avatar
      use True and False if available. Ditch GIMP_ prefixes since we have real · bad831ce
      Manish Singh authored
      2003-02-08  Manish Singh  <yosh@gimp.org>
      
              * tools/pdbgen/enumcode-py.pl: use True and False if available.
              Ditch GIMP_ prefixes since we have real namespaces in python.
      
              * tools/pdbgen/Makefile.am: generate python enums too
      
              * tools/pdbgen/enumcode.pl: cosmetic cleanup
      bad831ce
    • Manish Singh's avatar
      use dialog.run() for sub dialogs, since the main dialog is also doing · f8861444
      Manish Singh authored
      2003-02-08  Manish Singh  <yosh@gimp.org>
      
              * gimpui.py: use dialog.run() for sub dialogs, since the main dialog
              is also doing that. This does break consistency with the rest of
              gimp, but will do for now. I wish there was a similar API that didn't
              set the dialog modal. Fixed brush and pattern list to use the new
              PDB names. Also make the filesel really have a title of "Files"
      
              * gimpshelf.py: minor clean up, use cStringIO if available
      
              * gimpfu.py: add support for Load/Save plug-ins. Use GtkImage
              instead of deprecated GtkPixmap.
      
              * gimpenums.py: regenerated
      
              * plug-ins/Makefile.am
              * plug-ins/colorhtml.py: the return of colorhtml to 1.3
      f8861444
    • Sven Neumann's avatar
      fixed initialization of GimpPixelRegion (#105572 spotted by David Necas). · b72a6a87
      Sven Neumann authored
      2003-02-08  Sven Neumann  <sven@gimp.org>
      
      	* libgimp/gimpmiscui.c (gimp_fixme_preview_fill): fixed
      	initialization of GimpPixelRegion (#105572 spotted by David Necas).
      b72a6a87
    • Michael Natterer's avatar
      the virtual serialize_property() returning FALSE doesn't mean the · 7fe80e8d
      Michael Natterer authored
      2003-02-08  Michael Natterer  <mitch@gimp.org>
      
      	* app/config/gimpconfig-serialize.c (gimp_config_serialize_property):
      	the virtual serialize_property() returning FALSE doesn't mean the
      	serialization failed but that the function didn't handle the
      	property, so don't error but continue with the default
      	implementation. Print newlines after properties only if
      	indent_level == 0.
      
      	* app/gui/tool-options-dialog.c: added tool options saving/loading
      	as quickly hacked proof-of-concept.
      
      	* app/paint/paint-enums.[ch]: added enum GimpInkBlobType.
      
      	* app/tools/gimpinkoptions.[ch]: ported to object properties,
      	cleanup.
      
      	* app/tools/gimpinktool.c: changed accordingly.
      7fe80e8d