1. 08 Jul, 2004 10 commits
  2. 07 Jul, 2004 10 commits
    • Sven Neumann's avatar
      sort the list of pixbuf formats so that PNG is the preferred format and · 73b1182c
      Sven Neumann authored
      2004-07-07  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpclipboard.c: sort the list of pixbuf formats so
      	that PNG is the preferred format and GIF and JPEG come last.
      73b1182c
    • William Skaggs's avatar
      Bill Skaggs <weskaggs@primate.ucdavis.edu> · f8869bd1
      William Skaggs authored
      	* plug-ins/gfig/*.[ch]: Use single centralized functions to
      	create, load, and save objects, instead of separate functions
      	for each type of object. A few other miscellaneous fixes.
      f8869bd1
    • Michael Natterer's avatar
      changed to allow pasting any GdkPixbuf supported format (makes pasting · 94163a8b
      Michael Natterer authored
      2004-07-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpclipboard.[ch]: changed to allow pasting any
      	GdkPixbuf supported format (makes pasting from OpenOffice
      	work). Cleaned up a bit to perpare pasting of SVG data.
      94163a8b
    • Sven Neumann's avatar
      add an alpha channel if the src tile-manager doesn't have one. Warn on · b8897d2b
      Sven Neumann authored
      2004-07-07  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimplayer.c (gimp_layer_new_from_tiles): add an alpha
      	channel if the src tile-manager doesn't have one. Warn on
      	unsupported type conversions instead of silently doing the wrong
      	thing. Fixes bug #145482.
      
      	* app/core/gimpbuffer.c: cosmetics.
      b8897d2b
    • Michael Natterer's avatar
      app/gui/Makefile.am removed... · 8fc8cb48
      Michael Natterer authored
      2004-07-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/Makefile.am
      	* app/gui/clipboard.[ch]: removed...
      
      	* app/widgets/Makefile.am
      	* app/widgets/gimpclipboard.[ch]: ...and added here.
      
      	* app/actions/edit-commands.c
      	* app/gui/gui.c: changed accordingly.
      8fc8cb48
    • Michael Natterer's avatar
      Made the undo system robust against the currently pushed undo being too · 525a98f8
      Michael Natterer authored
      2004-07-07  Michael Natterer  <mitch@gimp.org>
      
      	Made the undo system robust against the currently pushed undo
      	being too large according to prefs settings. Fixes bug #145379.
      
      	* app/core/gimpimage-undo.[ch] (gimp_image_undo_push_undo)
      	(gimp_image_undo_group_end): emit "undo-event" *before* calling
      	gimp_image_undo_free_space() so the undo history doesn't try to
      	remove an item that has never been added.
      
      	(gimp_image_undo_push_undo): added boolean return value indicating
      	if the undo could be pushed (FALSE means the undo was to large
      	and was discarded right away).
      
      	(gimp_image_undo_push_item): return NULL if the above returned
      	FALSE.
      
      	* app/core/gimpimage-undo-push.c (gimp_image_undo_push_text_layer):
      	changed accordingly.
      525a98f8
    • Manish Singh's avatar
      Don't try to load EXIF data if any warnings happened, cause that likely · 59736893
      Manish Singh authored
      2004-07-07  Manish Singh  <yosh@gimp.org>
      
              * plug-ins/common/jpeg.c: Don't try to load EXIF data if any warnings
              happened, cause that likely means corruption and libexif doesn't
              handle that very happily. Addresses bug #145212. Perhaps the error and
              warning messages should be propagated to the user in the GUI somehow,
              currently they are not.
      59736893
    • Michael Natterer's avatar
      added "..." to "Clear undo history" because it has a confirmation dialog. · c5640071
      Michael Natterer authored
      2004-07-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/edit-actions.c (edit_actions): added "..." to "Clear
      	undo history" because it has a confirmation dialog.
      
      	* app/actions/edit-commands.c: cleanup: moved static functions to
      	the end of the file and prototyped them.
      c5640071
    • Sven Neumann's avatar
      fixed a drawing bug I introduced earlier today. · 2d412472
      Sven Neumann authored
      2004-07-07  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimphistogramview.c (gimp_histogram_view_expose):
      	fixed a drawing bug I introduced earlier today.
      2d412472
    • Michael Natterer's avatar
      app/actions/view-actions.c added actions and callbacks for scrolling the · 2086cf17
      Michael Natterer authored
      2004-07-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/view-actions.c
      	* app/actions/view-commands.[ch]: added actions and callbacks for
      	scrolling the view. Not used in menus but useful for controllers.
      2086cf17
  3. 06 Jul, 2004 9 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
  4. 05 Jul, 2004 11 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
    • 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
      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