1. 07 Jul, 2004 3 commits
  2. 06 Jul, 2004 11 commits
    • Sven Neumann's avatar
      adapt the arrow key velocity to the display scale factor. Please test and · 9f25f860
      Sven Neumann authored
      2004-07-07  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimpeditselectiontool.c
      	(gimp_edit_selection_tool_key_press): adapt the arrow key velocity
      	to the display scale factor. Please test and complain if you
      	dislike this behaviour.
      
      	* themes/Default/images/Makefile.am
      	* themes/Default/images/stock-color-pick-from-screen-16.png: new
      	icon drawn by Jimmac.
      
      	* libgimpwidgets/gimpstock.[ch]: register the new icon.
      
      	* libgimpwidgets/gimppickbutton.c: use it for the screen color
      	picker instead of reusing the color picker tool icon.
      9f25f860
    • William Skaggs's avatar
      Bill Skaggs <weskaggs@primate.ucdavis.edu> · 2b46a253
      William Skaggs authored
      	* plug-ins/gfig/*.[ch]:  a bunch of code clean-up and
      	debugging.  Created "classes" for the objects, and
      	attached functions to classes rather than objects.
      2b46a253
    • Sven Neumann's avatar
      Added an RGB histogram based on a patch by Tor Lillqvist. Fixes bug · ef885f76
      Sven Neumann authored
      2004-07-06  Sven Neumann  <sven@gimp.org>
      
      	Added an RGB histogram based on a patch by Tor Lillqvist. Fixes
      	bug #145401.
      
      	* app/base/base-enums.[ch]: added GIMP_HISTOGRAM_RGB, don't export
      	it to the PDB.
      
      	* app/base/gimphistogram.c: implemented histogram functions for
      	the RGB mode.
      
      	* app/base/levels.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimplevelstool.c
      	* app/widgets/gimpcolorbar.c
      	* app/widgets/gimphistogrameditor.c: handle the new enum value.
      
      	* app/widgets/gimphistogramview.c: for GIMP_HISTOGRAM_RGB mode,
      	draw a histogram that shows the RGB channels simultaneously
      ef885f76
    • Sven Neumann's avatar
      comply with C99 aliasing rules. · 5b5e8c05
      Sven Neumann authored
      2004-07-06  Sven Neumann  <sven@gimp.org>
      
      	* libgimpmodule/gimpmodule.c: comply with C99 aliasing rules.
      5b5e8c05
    • Michael Natterer's avatar
      call gtk_menu_set_monitor() only for GTK+ < 2.4.4 and added a #warning · fa668df1
      Michael Natterer authored
      2004-07-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpwidgets-utils.c (gimp_menu_position)
      	(gimp_button_menu_position): call gtk_menu_set_monitor() only
      	for GTK+ < 2.4.4 and added a #warning about it.
      fa668df1
    • Sven Neumann's avatar
      applied patch from Shlomi Fish that fixes confusion of filenames and · cc09735a
      Sven Neumann authored
      2004-07-06  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/gimpressionist: applied patch from Shlomi Fish that
      	fixes confusion of filenames and user-visible object names (bug
      	#132621). Also removed function remove_trailing_whitespace() that
      	used to duplicate functionality from GLib and updated
      	preset_create_filename().
      cc09735a
    • Michael Natterer's avatar
      queue an idle update when setting the viewable to NULL so the view gets · 3b7fc27b
      Michael Natterer authored
      2004-07-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimppreviewrenderer.c
      	(gimp_preview_renderer_set_viewable): queue an idle update when
      	setting the viewable to NULL so the view gets cleared correctly.
      
      	(gimp_preview_renderer_idle_update): call
      	gimp_preview_renderer_update() even if renderer->viewable is NULL
      	so clearing the viewable gets propagated to the GUI.
      
      	Moved clearing the viewable and removing the idle from
      	GObject::finalize() to GObject::dispose() because calling
      	set_viewable() with a NULL viewable triggers typechecking casts
      	and queuing idle functions, which is not nice in finalize().
      3b7fc27b
    • Sven Neumann's avatar
      added back $(LCMS_LIBS) that I had accidentally removed. · e05541a5
      Sven Neumann authored
      2004-07-06  Sven Neumann  <sven@gimp.org>
      
      	* modules/Makefile.am (libcdisplay_proof_la_LIBADD): added back
      	$(LCMS_LIBS) that I had accidentally removed.
      e05541a5
    • Sven Neumann's avatar
      return the proper type. · d5724ff5
      Sven Neumann authored
      2004-07-06  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpvectorstreeview.c (gimp_vectors_tree_view_drag_svg):
      	return the proper type.
      d5724ff5
    • Marco Ciampa's avatar
      Updated italian translation · 469aa2d9
      Marco Ciampa authored
      469aa2d9
    • Marco Ciampa's avatar
      Updated italian translation · 93bd4f7b
      Marco Ciampa authored
      93bd4f7b
  3. 05 Jul, 2004 18 commits
    • Michael Natterer's avatar
      connect to "editing-canceled" of the name cell renderer and restore the · 960c32e9
      Michael Natterer authored
      2004-07-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpcontainertreeview.c: connect to
      	"editing-canceled" of the name cell renderer and restore the
      	original text in the callback. Doesn't work reliably until GTK+
      	bug #145463 is fixed.
      960c32e9
    • 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
  4. 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
  5. 03 Jul, 2004 1 commit
    • 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