1. 05 Jul, 2004 17 commits
    • Sven Neumann's avatar
      fixed a compiler warning. · 51aa9957
      Sven Neumann authored
      2004-07-05  Sven Neumann  <sven@gimp.org>
      
      	* app/plug-in/plug-in-rc.c (plug_in_icon_deserialize): fixed a
      	compiler warning.
      
      	* plug-ins/common/dog.c: removed some redundant casts and other
      	trivial cleanups.
      51aa9957
    • Michael Natterer's avatar
      removed #define GIMP_CONTROLLER_PARAM_SERIALIZE. · cade89ab
      Michael Natterer authored
      2004-07-06  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimpcontroller.h: removed #define
      	GIMP_CONTROLLER_PARAM_SERIALIZE.
      
      	* libgimpmodule/gimpmoduletypes.h: added
      	GIMP_MODULE_PARAM_SERIALIZE instead.
      
      	* modules/controller_linux_input.c
      	* modules/controller_midi.c: changed accordingly.
      
      	* modules/cdisplay_colorblind.c
      	* modules/cdisplay_gamma.c
      	* modules/cdisplay_highcontrast.c
      	* modules/cdisplay_proof.c: made the new properties serializable.
      cade89ab
    • Michael Natterer's avatar
      don't scan app/paint-funcs/paint-funcs-types.h for enums. · ddd4e1c7
      Michael Natterer authored
      2004-07-05  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/Makefile.am (enum_headers): don't scan
      	app/paint-funcs/paint-funcs-types.h for enums.
      
      	* app/paint-funcs/paint-funcs-types.h: removed /*< pdb-skip >*/
      
      	* app/core/core-types.h: reordered opaque typedefs to somehow
      	match the categories in the comments.
      ddd4e1c7
    • Michael Natterer's avatar
      removed enum SizeType. · d2292ffe
      Michael Natterer authored
      2004-07-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/core-types.h: removed enum SizeType.
      
      	* app/text/text-enums.h: added it as enum GimpSizeType and added
      	comment that it's for backward compatibility only.
      
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/pdb/text_tool.pdb: changed accordingly.
      
      	* libgimp/gimpenums.h
      	* plug-ins/pygimp/gimpenums.py
      	* plug-ins/script-fu/script-fu-constants.c
      	* tools/pdbgen/enums.pl: regenerated (pdbgen insisted on
      	reordering the enums).
      d2292ffe
    • Sven Neumann's avatar
      oops, gimpenums.xml used to be there already, don't include it twice. · b53bb1eb
      Sven Neumann authored
      2004-07-05  Sven Neumann  <sven@gimp.org>
      
      	* libgimp/libgimp-docs.sgml: oops, gimpenums.xml used to be there
      	already, don't include it twice. Added missing gimppalettes.xml.
      b53bb1eb
    • Michael Natterer's avatar
      #define MIN and MAX values for GimpCoords.pressure, .tilt and .wheel. · a31bbed6
      Michael Natterer authored
      2004-07-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/core-types.h: #define MIN and MAX values for
      	GimpCoords.pressure, .tilt and .wheel.
      
      	* app/display/gimpdisplayshell-callbacks.c
      	(gimp_display_shell_get_event_coords)
      	(gimp_display_shell_get_device_coords): use the #defines instead
      	of hardcoded magic values when CLAMP()ing event or device values.
      a31bbed6
    • Sven Neumann's avatar
      include gimpenums.xml and gimppaths.xml. · cdfc750a
      Sven Neumann authored
      2004-07-05  Sven Neumann  <sven@gimp.org>
      
      	* libgimp/libgimp-docs.sgml: include gimpenums.xml and gimppaths.xml.
      cdfc750a
    • Sven Neumann's avatar
      link all modules with libgimpmodule. · ee163c04
      Sven Neumann authored
      2004-07-05  Sven Neumann  <sven@gimp.org>
      
      	* modules/Makefile.am: link all modules with libgimpmodule.
      ee163c04
    • William Skaggs's avatar
      Bill Skaggs <weskaggs@primate.ucdavis.edu> · cf0b5981
      William Skaggs authored
      	* plug-ins/common/dog.c: improved defaults.  use gimp_invert()
      	instead of rolling own.  Use nasty hack to get previews to
      	work with grayscale images.  Accept grayscale images.
      cf0b5981
    • Sven Neumann's avatar
      Removed the basename parameter and use the object name instead. Convert it · 6d25d845
      Sven Neumann authored
      2004-07-05  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpdata.[ch] (gimp_data_create_filename): Removed the
      	basename parameter and use the object name instead. Convert it to
      	the filesystem encoding.
      
      	* app/core/gimpdatafactory.c: changed accordingly.
      6d25d845
    • Sven Neumann's avatar
      applied patch from Shlomi Fish that fixes a number of bugs in the · afe4ff82
      Sven Neumann authored
      2004-07-05  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/gimpressionist: applied patch from Shlomi Fish that
      	fixes a number of bugs in the gimpressionst plug-in (bug #145309).
      
      	Also added some const qualifiers, cleaned up includes and removed
      	degtorad() and radtodeg() functions that used to duplicate
      	functionality from libgimpmath.
      afe4ff82
    • Michael Natterer's avatar
      removed unused local variables. · 49a46c76
      Michael Natterer authored
      2004-07-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimptemplateview.c
      	(gimp_template_view_tree_name_edited): removed unused local variables.
      49a46c76
    • Sven Neumann's avatar
      don't g_free() a GdkPixbuf, it's an object. Removed trailing whitespace. · e3d54897
      Sven Neumann authored
      2004-07-05  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/gfig/gfig-dialog.c: don't g_free() a GdkPixbuf, it's an
      	object. Removed trailing whitespace.
      
      	* plug-ins/gfig/gfig-preview.c (draw_background): fixed declaration.
      e3d54897
    • Michael Natterer's avatar
      return TRUE if initialization was successful. Makes the tool->drawable · 5ce611e0
      Michael Natterer authored
      2004-07-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimpcolorizetool.c (gimp_colorize_tool_initialize):
      	return TRUE if initialization was successful. Makes the
      	tool->drawable pointer being set correctly by the calling code and
      	fixes bugs where colorize was leaving the drawable in a modified
      	but non-undoable state when cancelling or changing images.
      5ce611e0
    • Sven Neumann's avatar
      use object properties for the configurable values. · e119a2eb
      Sven Neumann authored
      2004-07-05  Sven Neumann  <sven@gimp.org>
      
      	* modules/cdisplay_proof.c: use object properties for the
      	configurable values.
      e119a2eb
    • Michael Natterer's avatar
      added signal "color-changed" and emit it in gimp_channel_set_color() and · d476ee65
      Michael Natterer authored
      2004-07-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpchannel.[ch]: added signal "color-changed" and emit
      	it in gimp_channel_set_color() and gimp_channel_set_opacity().
      
      	* app/core/gimpimage-qmask.[ch]: added new functions
      	gimp_image_set,get_qmask_color().
      
      	* app/core/gimpimage.[ch]: install a "color-changed" handler on
      	gimage->channels and update gimage->qmask_color when the qmask's
      	color changes. Fixes bug #145361.
      
      	* app/actions/qmask-commands.c: use the new qmask color API.
      d476ee65
    • Amanpreet Singh Alam's avatar
  2. 04 Jul, 2004 7 commits
    • Simon Budig's avatar
      app/actions/dialogs-commands.c app/display/gimpdisplayshell-dnd.c · e7af53b0
      Simon Budig authored
      2004-07-04  Simon Budig  <simon@gimp.org>
      
      	* app/actions/dialogs-commands.c
      	* app/display/gimpdisplayshell-dnd.c
      	* app/gui/preferences-dialog.c
      	* app/tools/gimppainttool.c
      	* app/widgets/gimpdeviceinfo.c
      	* app/widgets/gimpitemtreeview.c
      	* plug-ins/imagemap/imap_selection.c
      	* tools/pdbgen/pdb/gradients.pdb: Small changes to make GIMP
      	CVS compile with gcc 2.95 again. Mostly double semicolons and
      	variable declarations after other stuff. Spotted by Martin
      	Renold.
      
      	* app/pdb/gradients_cmds.c: regenerated.
      
      	(there is one issue left, see his patch at
      	http://old.homeip.net/martin/gcc-2.95.diff, I did not
      	copy the #define va_copy __va_copy, since I don't know
      	what happens here.)
      e7af53b0
    • William Skaggs's avatar
      Bill Skaggs <weskaggs@primate.ucdavis.edu> · 0fd3c264
      William Skaggs authored
      	* plug-ins/gfig/gfig-dialog.[ch]:
      	* plug-ins/gfig/gfig-style.[ch]:
      	* plug-ins/gfig/notes.txt:       New files.
      	* plug-ins/gfig/*.[ch]:  Complete reworking of the gfig plug-in.
      	See 'notes.txt' for a summary of what has changed, and how to use
      	it now.  Plenty of bugs have been  introduced, which will take a
      	while to straighten out.
      0fd3c264
    • Tor Lillqvist's avatar
      Drop a couple of unused variables. · ffa1d155
      Tor Lillqvist authored
      2004-07-04  Tor Lillqvist  <tml@iki.fi>
      
      	* app/core/gimpdrawable-equalize.c (gimp_drawable_equalize): Drop
      	a couple of unused variables.
      
      	* libgimpmodule/gimpmodule.def: Add gimp_module_register_enum.
      ffa1d155
    • Sven Neumann's avatar
      added gimp_module_register_enum(), a function to register an enum type for · b08e39d6
      Sven Neumann authored
      2004-07-04  Sven Neumann  <sven@gimp.org>
      
      	* libgimpmodule/gimpmodule.[ch]: added gimp_module_register_enum(),
      	a function to register an enum type for a GTypeModule.
      
      	* modules/cdisplay_colorblind.c: use an object property for the
      	color deficiency enum.
      b08e39d6
    • Roman Joost's avatar
      updated german translation, fixed typos and misstranslated strings spotted · 87602551
      Roman Joost authored
      
      2004-07-01  Roman Joost <roman@bromeco.de>
      
              * de.po: updated german translation, fixed typos and misstranslated
                strings spotted by Michael Schumacher
      87602551
    • Sven Neumann's avatar
      don't attempt to store a pointer to the last used filename in the plug-in · 690c919c
      Sven Neumann authored
      2004-07-04  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/channel_mixer.c: don't attempt to store a
      	pointer to the last used filename in the plug-in parameter
      	struct. Fixes bug #145380.
      690c919c
    • Sven Neumann's avatar
      modules/cdisplay_gamma.c added object properties for configurable values. · 21fea37d
      Sven Neumann authored
      2004-07-04  Sven Neumann  <sven@gimp.org>
      
      	* modules/cdisplay_gamma.c
      	* modules/cdisplay_highcontrast.c: added object properties for
      	configurable values.
      
      	* app/widgets/gimpcolordisplayeditor.c
      	* libgimpwidgets/gimpcolordisplaystack.c
      	* modules/cdisplay_colorblind.c
      	* modules/cdisplay_proof.c: cosmetic changes.
      21fea37d
  3. 03 Jul, 2004 4 commits
    • Michael Natterer's avatar
      added context->serialize_props mask which enables specifying exactly which · 23f6a194
      Michael Natterer authored
      2004-07-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpcontext.[ch]: added context->serialize_props mask
      	which enables specifying exactly which properties will be
      	serialized. Also fixes a bug that prevented undefined properties
      	from being serialized, breaking tool_options and device status
      	serialization.
      
      	* app/core/gimptoolinfo.c (gimp_tool_info_new): make only the
      	properties in the tool_info->context_props mask serializable, also
      	configure/initialize tool_info->tool_options.
      
      	* app/tools/gimp-tools.c (gimp_tools_register): removed
      	tool_options initialization that is now done in
      	gimp_tool_info_new().
      
      	* app/widgets/gimpdeviceinfo.c: make only the properties in
      	GIMP_DEVICE_INFO_CONTEXT_MASK serializable.
      
      	* app/widgets/gimpdevicestatus.c: add the device table to its
      	parent container again. Fixes "missing" devices.
      
      	* app/core/gimptooloptions.c
      	* app/widgets/gimpdevices.c: cleanup / code review.
      23f6a194
    • Michael Natterer's avatar
      if the color tool is enabled, skip cursor hiding entirely. · 04ed4a8a
      Michael Natterer authored
      2004-07-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimppainttool.c (gimp_paint_tool_cursor_update): if
      	the color tool is enabled, skip cursor hiding entirely.
      04ed4a8a
    • Sven Neumann's avatar
      removed #ifdef'ed code that isn't any longer needed. · 87ee13fa
      Sven Neumann authored
      2004-07-03  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/dog.c (dog): removed #ifdef'ed code that isn't
      	any longer needed.
      87ee13fa
    • Philip Lafleur's avatar
      Added bug number to my ChangeLog entry. · 25fa4944
      Philip Lafleur authored
      2004-07-02  Philip Lafleur  <plafleur@cvs.gnome.org>
      
        * ChangeLog: Added bug number to my ChangeLog entry.
      25fa4944
  4. 02 Jul, 2004 4 commits
    • Philip Lafleur's avatar
      Replaced "Preview" checkbutton with a combobox with options "Outline", · 1d625ed2
      Philip Lafleur authored
      2004-07-02  Philip Lafleur  <plafleur@cvs.gnome.org>
      
      	* app/tools/gimptransformoptions.[ch]:
      	* app/tools/gimptransformtool.c:
      	* app/tools/tools-enums.[ch]: Replaced "Preview" checkbutton with
      	a combobox with options "Outline", "Grid", "Image", and
      	"Image + Grid".
      1d625ed2
    • Sven Neumann's avatar
      don't let the Paste menu items sensitivity depend on the availability of · 1c9e4b57
      Sven Neumann authored
      2004-07-02  Sven Neumann  <sven@gimp.org>
      
      	* app/actions/edit-actions.c: don't let the Paste menu items
      	sensitivity depend on the availability of clipboard data because
      	we aren't notified when the GDK clipboard changes.
      1c9e4b57
    • Sven Neumann's avatar
      app/gui/Makefile.am new files implementing a clipboard for image data · 6423529b
      Sven Neumann authored
      2004-07-02  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/Makefile.am
      	* app/gui/clipboard.[ch]: new files implementing a clipboard for
      	image data based on GDK_SELECTION_CLIPBOARD (bug #133247).
      
      	* app/actions/edit-actions.c
      	* app/actions/edit-commands.c: use the new clipboard API.
      
      	* app/gui/gui.c: initialize and shutdown the clipboard.
      
      	* app/core/gimpbuffer.c: cosmetics.
      
      	* app/actions/actions.c
      	* app/menus/menus.c: added sanity checks to exit functions.
      
      	* app/display/gimpdisplayshell-dnd.[ch]: let
      	gimp_display_shell_drop_svg() take a guchar * buffer.
      
      	* app/widgets/gimpselectiondata.c (gimp_selection_data_get_pixbuf):
      	fixed the implementation.
      6423529b
    • Michael Natterer's avatar
      plug-ins/gimpressionist/Makefile.am applied patch from Shlomi Fish that · 9d19bf2a
      Michael Natterer authored
      2004-07-02  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/gimpressionist/Makefile.am
      	* plug-ins/gimpressionist/*.[ch]: applied patch from Shlomi Fish
      	that massively cleans up gimppressionist (touching all files and
      	addding some new ones) and adds a simple PDB interface for
      	selecting one of the previously created presets.
      	Fixes bugs #145191, #144913 and #144922.
      9d19bf2a
  5. 01 Jul, 2004 8 commits