1. 04 Mar, 2003 7 commits
  2. 03 Mar, 2003 9 commits
    • Michael Natterer's avatar
      app/paint/gimppaintcore-stroke.c s/paint_options != · c860d805
      Michael Natterer authored
      2003-03-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/paint/gimppaintcore-stroke.c
      	* app/paint/gimppaintcore.c:
      	s/paint_options != NULL/GIMP_IS_PAINT_OPTIONS (paint_options)/g
      c860d805
    • Hans Breuer's avatar
      app/text/makefile.msc (new file) */makefile.msc */*/makefile.msc : updated · 594bccd5
      Hans Breuer authored
      2003-03-03  Hans Breuer  <hans@breuer.org>
      
      	* app/text/makefile.msc (new file)
      	  */makefile.msc */*/makefile.msc : updated
      
      	* app/core/gimpdata.c : define access() constants
      	for G_OS_WIN32 case
      
      	* app/text/gimptext.c : <stdlib.h> for getenv()
      
      	* libgimp/gimp.def libgimp/gimpui.def : updated externals
      
      	* libgimpwidgets/libgimp-glue.c : make dynamic_resolve
      	actually work again for 'my' DLL naming convention
      
      	* plug-ins/gap/gap_pdb_calls.c : reflect renaming
      	of GIMP_VERTICAL to GIMP_ORIENTATION_VERTICAL
      594bccd5
    • Michael Natterer's avatar
      made the default buffer and stock rendering functions public so derived · 6bfa4f54
      Michael Natterer authored
      2003-03-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimppreviewrenderer.[ch]: made the default buffer
      	and stock rendering functions public so derived renderers
      	can use them. Renamed gimp_preview_renderer_render_preview()
      	to gimp_preview_renderer_render_buffer().
      
      	* app/widgets/gimppreviewrendererbrush.c
      	* app/widgets/gimppreviewrendererdrawable.c
      	* app/widgets/gimppreviewrendererimage.c: changed accordingly.
      
      	* app/widgets/gimppreviewrenderertextlayer.[ch]: new renderer
      	for text layers which always renders the stock icon.
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimppreviewrenderer-utils.c: changed accordingly.
      6bfa4f54
    • Pablo Gonzalo del Campo's avatar
      Updated Spanish translation. · 3fab2a94
      Pablo Gonzalo del Campo authored
      2003-03-03  Pablo Gonzalo del Campo  <pablodc@bigfoot.com>
      
      	* es.po: Updated Spanish translation.
      3fab2a94
    • Pablo Gonzalo del Campo's avatar
      Updated Spanish translation. · 7c8f5769
      Pablo Gonzalo del Campo authored
      2003-03-03  Pablo Gonzalo del Campo <pablodc@bigfoot.com>
      
      	* es.po: Updated Spanish translation.
      7c8f5769
    • Sven Neumann's avatar
      fixed a typo in the kernel for sobel vertical edge detection spotted by · eab662ff
      Sven Neumann authored
      2003-03-03  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/edge.c (edge): fixed a typo in the kernel for
      	sobel vertical edge detection spotted by Sunil Mohan Adapa (bug
      	#107441).
      eab662ff
    • Michael Natterer's avatar
      removed the constructors with a GimpViewable parameter and always create · b31fd4b9
      Michael Natterer authored
      2003-03-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimppreviewrenderer.[ch]: removed the constructors
      	with a GimpViewable parameter and always create renderers from
      	viewable types only. Made gimp_preview_renderer_update() emit only
      	the "update" signal and added the new function
      	gimp_preview_renderer_invalidate() which does what the old
      	_update() did (invalidating and adding an idle function which
      	emits "update"). Added gimp_preview_renderer_remove_idle() so
      	renderer updating can be fully controlled using public functions.
      
      	* app/widgets/gimppreviewrendererbrush.[ch]: no need to remember
      	the widget for the brushpipe animation, simply call
      	gimp_preview_renderer_update() in the animation timeout.
      
      	* app/widgets/gimppreview.[ch]
      	* app/widgets/gimpcontainertreeview.c: changed accordingly. Call
      	gimp_preview_renderer_remove_idle() after setting the initial
      	viewable because we will be updated anyway by the first expose.
      
      	* app/widgets/gimppreview.[ch]: Added a size_request()
      	implementation. Removed gimp_preview_update(). Added new
      	constructor gimp_preview_new_full_by_types() to make the
      	constructor API symmetric. Removed code duplication by calling the
      	_by_types() constructors from the ones taking GimpViewable
      	parameters.
      
      	* app/gui/palette-import-dialog.c
      	* app/widgets/gimppropwidgets.c
      	* app/widgets/gimpselectioneditor.c: changed accordingly.
      b31fd4b9
    • Michael Natterer's avatar
      don't try to convert a grayscale layer to grayscale. Fixes bug #107422. · 5b656067
      Michael Natterer authored
      2003-03-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimplayer.c (gimp_layer_create_mask): don't try to
      	convert a grayscale layer to grayscale. Fixes bug #107422.
      5b656067
    • Tomas Ogren's avatar
      Wrongly translated menu · 24c407cf
      Tomas Ogren authored
      2003-03-03  Tomas Ogren <stric@ing.umu.se>
      
      * sv.po: Wrongly translated menu
      24c407cf
  3. 02 Mar, 2003 6 commits
  4. 01 Mar, 2003 5 commits
    • Yuri Syrota's avatar
      Added Ukrainian translation file · 316b08fb
      Yuri Syrota authored
      316b08fb
    • Yuri Syrota's avatar
      Updated Ukrainian translation · 55a2224c
      Yuri Syrota authored
      55a2224c
    • Michael Natterer's avatar
      added "gint bytes" to the GimpPreviewRenderer struct and pass it to · 251f6b04
      Michael Natterer authored
      2003-03-01  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimppreviewrenderer.[ch]: added "gint bytes" to the
      	GimpPreviewRenderer struct and pass it to
      	gimp_preview_render_to_buffer().
      
      	* app/widgets/gimppreviewrendererbrush.[ch]: render the indicators
      	to the renderer's buffer, not to the TempBuf so they always appear
      	in the corner again.
      
      	Misc cleanups:
      
      	* app/core/gimpbuffer.c (gimp_buffer_get_new_preview)
      	* app/core/gimppattern.c (gimp_pattern_get_new_preview): no need
      	to center the TempBuf if smaller than requested because
      	GimpPreviewRenderer::render()'s default implementation adjusts the
      	offsets itself.
      
      	* app/widgets/gimppreview.c (gimp_preview_set_viewable): no need
      	to update ourselves after we changed the renderer because the
      	renderer's signal will update us.
      
      	* app/widgets/gimppreviewrenderer.c (gimp_preview_renderer_draw):
      	replaced my stupid buf_rect calculation overkill by something
      	simple that does the same.
      251f6b04
    • Michael Natterer's avatar
      don't scale the preview up if the buffer is too small. · 48bf4fb7
      Michael Natterer authored
      2003-03-01  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpbuffer.c: don't scale the preview up if the
      	buffer is too small.
      
      	* app/core/gimppattern.c: don't add a white border around the
      	preview if the pattern is too small.
      
      	* app/widgets/gimppreviewrenderer.[ch]: new object. A buffer
      	that updates itself on GimpViewable changes and can render
      	itself to any widget. Basically GimpPreview reduced to the
      	render and draw code.
      
      	* app/widgets/gimppreview.[ch]: removed all rendering and drawing
      	code and keep a GimpPreviewRenderer instance. Connect to its
      	"update" signal for queuing draws on the preview.
      
      	* app/widgets/gimpcellrendererviewable.[ch]
      	* app/widgets/gimpcontainertreeview.c: same here: removed
      	rendering and drawing code and keep GimpPreviewRenderers in the
      	list store.  Delays preview creation for GtkTreeViews until the
      	buffer is really needed for drawing and adds idle preview updating
      	on viewable changes.
      
      	* app/widgets/gimppreview-utils.[ch]
      	* app/widgets/gimpbrushpreview.[ch]
      	* app/widgets/gimpbufferpreview.[ch]
      	* app/widgets/gimpdrawablepreview.[ch]
      	* app/widgets/gimpimagepreview.[ch]: removed...
      
      	* app/widgets/gimppreviewrenderer-utils.[ch]
      	* app/widgets/gimppreviewrendererbrush.[ch]
      	* app/widgets/gimppreviewrendererdrawable.[ch]
      	* app/widgets/gimppreviewrendererimage.[ch]: ...and converted to
      	GimpPreviewRenderer subclasses.
      
      	* app/display/gimpnavigationview.c
      	* app/gui/palette-import-dialog.c
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-enums.h
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpchannellistview.c
      	* app/widgets/gimpcomponentlistitem.c
      	* app/widgets/gimpcontainergridview.c
      	* app/widgets/gimpcontainermenuimpl.c
      	* app/widgets/gimplayerlistitem.c
      	* app/widgets/gimplistitem.c
      	* app/widgets/gimpnavigationpreview.[ch]
      	* app/widgets/gimpselectioneditor.c
      	* app/widgets/gimpvectorslistview.c: changed accordingly.
      48bf4fb7
    • Michael Natterer's avatar
      removed useless includes. · 9525f64c
      Michael Natterer authored
      2003-03-01  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimpblendtool.c: removed useless includes.
      9525f64c
  5. 28 Feb, 2003 7 commits
    • Sven Neumann's avatar
      oops. · d1c1a597
      Sven Neumann authored
      2003-02-28  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpcontext.c (gimp_context_class_init): oops.
      d1c1a597
    • Sven Neumann's avatar
      app/config/gimpconfig-deserialize.c transparently serialize and · f0509872
      Sven Neumann authored
      2003-02-28  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpconfig-deserialize.c
      	* app/config/gimpconfig-serialize.[ch]: transparently serialize
      	and deserialize object properties that implement the
      	GimpConfigInterface.
      
      	* app/config/gimpconfig-utils.c (gimp_config_reset_properties):
      	call reset recursively if properties are itself objects that
      	implement the GimpConfigInterface.
      
      	* app/config/gimpconfig-dump.c: adapt to API changes.
      
      	* app/config/gimpconfig-params.h: made object properties installed
      	using GIMP_CONFIG_INSTALL_PROP_OBJECT() be not writable by default.
      
      	* app/core/gimpcontext.c (gimp_context_class_init): made objects
      	properties explicitely writeable.
      
      	* app/tools/gimptextoptions.c: made the GimpText object a property
      	of GimpTextOptions and removed lots of special handling which is
      	now transparently done by GimpConfigInterface.
      f0509872
    • Sven Neumann's avatar
      renamed gimp_config_serialize_changed_properties() to · 25c715c1
      Sven Neumann authored
      2003-02-28  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpconfig-serialize.[ch]: renamed
      	gimp_config_serialize_changed_properties() to
      	gimp_config_serialize_properties_diff() and added a new function
      	gimp_config_serialize_changed_properties() that saves only
      	properties that have been changed from their default values.
      
      	* app/config/gimprc.c: follow the function name change.
      
      	* app/core/gimpcontext.c: override GimpConfigInterface::serialize
      	with gimp_config_serialize_changed_properties() so we store only
      	tool_options that have been changed from their default values.
      25c715c1
    • Sven Neumann's avatar
      simplified by using gimp_config_serialize_property() instead of doing it · 9519de07
      Sven Neumann authored
      2003-02-28  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpconfig-serialize.c
      	(gimp_config_serialize_changed_properties): simplified by using
      	gimp_config_serialize_property() instead of doing it all by hand.
      9519de07
    • Raphaël Quinet's avatar
      Oops! I mentioned Makefile.am in my last ChangeLog entry, but I · 2442f2f1
      Raphaël Quinet authored
      forgot to commit the file together with the other ones.
      2442f2f1
    • Manish Singh's avatar
      make clean shouldn't clean disted files · e7809f04
      Manish Singh authored
      2003-02-27  Manish Singh  <yosh@gimp.org>
      
              * plug-ins/pygimp/doc/Makefile.am: make clean shouldn't clean disted
              files
      e7809f04
    • Manish Singh's avatar
      app/tools/gimpbucketfilltool.c app/tools/gimpconvolvetool.c · 5bc3a7a3
      Manish Singh authored
      2003-02-27  Manish Singh  <yosh@gimp.org>
      
              * app/tools/gimpbucketfilltool.c
              * app/tools/gimpconvolvetool.c
              * app/tools/gimpcroptool.c
              * app/tools/gimpdodgeburntool.c
              * app/tools/gimperasertool.c
              * app/tools/gimpfliptool.c
              * app/tools/gimpfuzzyselecttool.c
              * app/tools/gimpinkoptions.c
              * app/tools/gimpmagnifytool.c
              * app/tools/gimpmovetool.c
              * app/tools/gimprectselecttool.c
              * app/tools/gimpselectiontool.c
              * app/tools/gimptexttool.c
              * app/tools/gimptransformtool.c
              * app/widgets/gimpcellrendererviewable.c
              * app/widgets/gimpcontainertreeview.c: remove unecessary G_OBJECT()
              from g_object_set calls.
      
              * plug-ins/common/bumpmap.c: use g_signal_handlers_(un)block_by_func
              instead of gtk_signal_handler_(un)block_by_data.
      5bc3a7a3
  6. 27 Feb, 2003 5 commits
    • Sven Neumann's avatar
      fixed gimp_rgb_intensity_uchar() which used to return 0 or 1 instead of 0 · 62052c0c
      Sven Neumann authored
      2003-02-27  Sven Neumann  <sven@gimp.org>
      
      	* libgimpcolor/gimprgb.c: fixed gimp_rgb_intensity_uchar() which
      	used to return 0 or 1 instead of 0 to 255. Fixes bug #107202.
      62052c0c
    • Pablo Gonzalo del Campo's avatar
      Updated Spanish translation. · 8894a05d
      Pablo Gonzalo del Campo authored
      2003-02-27  Pablo Gonzalo del Campo <pablodc@bigfoot.com>
      
      	* es.po: Updated Spanish translation.
      8894a05d
    • Sven Neumann's avatar
      fixed typo which caused layer mask undo to fail. · 06b3e147
      Sven Neumann authored
      2003-02-27  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpimage-undo-push.c (undo_push_layer_mask): fixed
      	typo which caused layer mask undo to fail.
      06b3e147
    • Raphael Quinet's avatar
      plug-ins/script-fu/scripts/Makefile.am · 4f689073
      Raphael Quinet authored
      2003-02-27  Raphael Quinet  <quinet@gamers.org>
      
      	* plug-ins/script-fu/scripts/Makefile.am
      	* plug-ins/script-fu/scripts/3d-outline.scm
      	* plug-ins/script-fu/scripts/alien-glow-logo.scm
      	* plug-ins/script-fu/scripts/alien-neon-logo.scm
      	* plug-ins/script-fu/scripts/basic1-logo.scm
      	* plug-ins/script-fu/scripts/basic2-logo.scm
      	* plug-ins/script-fu/scripts/blended-logo.scm
      	* plug-ins/script-fu/scripts/bovinated-logo.scm
      	* plug-ins/script-fu/scripts/chalk.scm
      	* plug-ins/script-fu/scripts/chip-away.scm
      	* plug-ins/script-fu/scripts/chrome-logo.scm
      	* plug-ins/script-fu/scripts/comic-logo.scm
      	* plug-ins/script-fu/scripts/coolmetal-logo.scm
      	* plug-ins/script-fu/scripts/frosty-logo.scm
      	* plug-ins/script-fu/scripts/glossy.scm
      	* plug-ins/script-fu/scripts/glowing-logo.scm
      	* plug-ins/script-fu/scripts/gradient-bevel-logo.scm
      	* plug-ins/script-fu/scripts/neon-logo.scm
      	* plug-ins/script-fu/scripts/script-fu-util.scm
      	* plug-ins/script-fu/scripts/starburst-logo.scm
      	* plug-ins/script-fu/scripts/starscape-logo.scm
      	* plug-ins/script-fu/scripts/t-o-p-logo.scm
      	* plug-ins/script-fu/scripts/textured-logo.scm: applied a slightly
      	modified version of the patch provided by Chauk-Mean PROUM to fix
      	the behavior of some alpha-to-logo scripts when the layer has a
      	non-zero offset or if a selection exists.  Fixes bug #73891.
      4f689073
    • Michael Natterer's avatar
      added virtual function get_popup_size() which returns a boolean indicating · 0614aa53
      Michael Natterer authored
      2003-02-27  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpviewable.[ch]: added virtual function
      	get_popup_size() which returns a boolean indicating if a popup is
      	needed and its size.
      
      	* app/core/gimpbrush.c
      	* app/core/gimpbrushpipe.c
      	* app/core/gimpbuffer.c
      	* app/core/gimpdrawable-preview.[ch]
      	* app/core/gimpdrawable.c
      	* app/core/gimpgradient.c
      	* app/core/gimpimage.c
      	* app/core/gimppalette.c
      	* app/core/gimppattern.c
      	* app/core/gimpundo.c: implement it.
      
      	* app/widgets/gimppreview.[ch]: removed virtual functions
      	needs_popup() and create_popup(). Removed the code which creates
      	the popup and the popup members of the GimpPreview struct.
      
      	* app/widgets/gimppreview-popup.[ch]: new files providing the
      	utility function gimp_preview_popup_show() which can show popups
      	from any widget, not just from a GimpPreview. Checks if a popup is
      	needed using gimp_viewable_get_popup_size().
      
      	* app/widgets/gimpcellrendererviewable.c: show popups here too.
      
      	* app/widgets/gimpbrushpreview.c
      	* app/widgets/gimpbufferpreview.c
      	* app/widgets/gimpdrawablepreview.c
      	* app/widgets/gimpimagepreview.c: removed needs_popup() and
      	create_popup() implementations.
      
      	* app/widgets/gimpnavigationpreview.c: removed empty render()
      	implementation.
      
      	* app/widgets/gimpundoeditor.c: use a tree instead of a list view.
      
      	* app/widgets/gimpgradientpreview.[ch]
      	* app/widgets/gimppalettepreview.[ch]
      	* app/widgets/gimppatternpreview.[ch]: removed because they only
      	implemented the removed popup functions.
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpmenuitem.c
      	* app/widgets/gimppreview-utils.c: changed accordingly
      0614aa53
  7. 26 Feb, 2003 1 commit
    • Sven Neumann's avatar
      don't insert an extra line-break after a serialized property. · b3e58673
      Sven Neumann authored
      2003-02-26  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpconfig-serialize.c (gimp_config_serialize_properties):
      	don't insert an extra line-break after a serialized property.
      
      	* app/config/gimpconfig-serialize.c
      	* app/config/gimpconfig-dump.c
      	* app/gui/tips-parser.c: use g_string_truncate (str, 0) instead of
      	assigning an empty string.
      
      	* app/tools/gimptextoptions.c: override the serialize and
      	deserialize methods of the GimpConfig interface and save/restore
      	the associated GimpText object instead of GimpTextOptions.
      
      	* app/tools/tool_options.c (gimp_tool_options_build_filename):
      	don't append ".default" if no extension is given.
      b3e58673