1. 07 Sep, 2003 16 commits
  2. 06 Sep, 2003 14 commits
    • Helvetix Victorinox's avatar
      Convert "unsigned long" to guint32 in preparation for 64bit machinery. · 0b53610c
      Helvetix Victorinox authored
      * app/composite/gimp-composite-mmx.c
        app/composite/gimp-composite-sse.c
        app/composite/gimp-composite-sse2.c:
        Convert "unsigned long" to guint32 in preparation for 64bit
        machinery.
      0b53610c
    • Sven Neumann's avatar
      app/Makefile.am app/app-docs.sgml app/app-sections.txt some more updates. · 4ede9ffb
      Sven Neumann authored
      2003-09-07  Sven Neumann  <sven@gimp.org>
      
      	* app/Makefile.am
      	* app/app-docs.sgml
      	* app/app-sections.txt
      	* app/app.types: some more updates.
      4ede9ffb
    • Michael Natterer's avatar
      removed. · 6031629b
      Michael Natterer authored
      2003-09-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimppreviewrenderertextlayer.[ch]: removed.
      
      	* app/widgets/gimppreviewrendererlayer.[ch]: new renderer which
      	renders all kinds of layers and uses GIMP_STOCK_FLOATING_SELECTION
      	for floating selections.
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimppreviewrenderer-utils.c: changed accordingly.
      6031629b
    • Michael Natterer's avatar
      display the floating selection's name in italic letters. Added the bold · 7fbfdfce
      Michael Natterer authored
      2003-09-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimplayertreeview.[ch]: display the floating
      	selection's name in italic letters. Added the bold and italic
      	PangoAttrLists to the GimpLayerTreeView struct so we can unref
      	them properly.
      
      	* app/widgets/gimpdrawabletreeview.c: some cleanup while stealing
      	code.
      7fbfdfce
    • Sven Neumann's avatar
      libgimpwidgets/libgimpwidgets-sections.txt updated for new icon. · c9aadb5f
      Sven Neumann authored
      2003-09-06  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/libgimpwidgets-sections.txt
      	* libgimpwidgets/tmpl/gimpstock.sgml: updated for new icon.
      c9aadb5f
    • Sven Neumann's avatar
      themes/Default/images/Makefile.am new icon drawn by Jimmac. · 11b083d9
      Sven Neumann authored
      2003-09-06  Sven Neumann  <sven@gimp.org>
      
      	* themes/Default/images/Makefile.am
      	* themes/Default/images/stock-floating-selection-*.png: new icon
      	drawn by Jimmac.
      
      	* libgimpwidgets/gimpstock.[ch]: register the new icon.
      11b083d9
    • Michael Natterer's avatar
      To optimize duplicate and/or wrong image updates away, introduced new · 7a5f9148
      Michael Natterer authored
      2003-09-06  Michael Natterer  <mitch@gimp.org>
      
      	To optimize duplicate and/or wrong image updates away, introduced
      	new policy that a child object must never explicitly update or
      	invalidate its parent object (just like the GUI is not updated
      	explicitly by the core):
      
      	* app/core/gimpdrawable.[ch]: added new signal
      	GimpDrawable::update(). Never update or invalidate the image when
      	the drawable is updated or invalidated.
      
      	(gimp_drawable_set_visible): don't gimp_drawable_update() the
      	drawable since its pixels have not changed.
      
      	* app/core/gimpimage.[ch]: connect to the "add" and "remove"
      	signals of the layers and channels containers. Also connect to the
      	"update" and "visibility_changed" signals of all drawables in
      	these containers (optimizes away updates issued by drawables which
      	are not yet added to the image and updates of the selection
      	mask). Also, don't propagate updates to the image if the emitting
      	drawable is invisible (optimizes away updates issued by invisible
      	drawables).
      
      	(gimp_image_add_layer,channel)
      	(gimp_image_remove_layer,channel): don't update the image since
      	that's done by our "add" and "remove" handlers now.
      
      	(gimp_image_position_layer,channel): update just the image, not
      	the drawable since its pixels have not changed.
      
      	(gimp_image_real_colormap_changed)
      	(gimp_image_set_component_visible): always call
      	gimp_image_update() *and* gimp_viewable_invalidate_preview() to
      	get everything updated, since update and invalidate of images are
      	not connected.
      
      	* app/core/gimpimage-undo-push.c (undo_pop_layer,channel): don't
      	update the drawable since (a) its pixels don't change and (b) the
      	image updates itself upon adding/removing now.
      
      	(undo_pop_layer_mod): replaced gimp_image_update() by
      	gimp_drawable_update() (just for consistency with other similar
      	functions).
      
      	* app/core/gimplayer.c: connect to "update" of the layer mask and
      	issue updates on the layer if the mask update has any effect on
      	the projection.
      	(gimp_layer_create_mask): don't set the mask's offsets here since
      	they may be different when we later add the mask to the layer.
      
      	* app/core/gimplayermask.c (gimp_layer_mask_set_layer): set the
      	mask offsets here instead.
      
      	* app/core/gimpchannel.c (gimp_channel_translate): update the
      	channel even if push_undo == FALSE.
      
      	* app/paint/gimppaintcore.c (gimp_paint_core_finish)
      	* app/tools/gimpinktool.c (ink_finish): invalidate both the
      	drawable and the image preview since invalidating the drawable
      	doesn't invalidate the image any more.
      
      	* app/text/gimptextlayer.c (gimp_text_layer_render_now): also
      	update the new extents of the text layer, not only the old one.
      
      	(gimp_text_layer_render_layout): don't update the drawable since
      	gimp_drawable_fill() already updated it.
      7a5f9148
    • Sven Neumann's avatar
      app/vectors/gimpbezierstroke.c app/vectors/gimpstroke.[ch] removed · 99dba1ca
      Sven Neumann authored
      2003-09-06  Sven Neumann  <sven@gimp.org>
      
      	* app/vectors/gimpbezierstroke.c
      	* app/vectors/gimpstroke.[ch]
      	* app/vectors/gimpvectors.[ch]: removed compiler warnings, cleaned
      	up coding style issues,
      99dba1ca
    • Dave Neary's avatar
      Ooops! Sorry for the oversight. app/vectors/gimpvectors.[ch] · 1d4720e5
      Dave Neary authored
      
      
      2003-09-06  Dave Neary  <bolsh@gimp.org>
      
              Ooops! Sorry for the oversight.
              * app/vectors/gimpvectors.[ch]
              * app/vectors/gimpstroke.[ch]
              * app/vectors/gimpbezierstroke.c: Changed include order
              to conform to the coding standards in devel-docs/includes.txt
              (which should really be integrated into HACKING).
      1d4720e5
    • Jan Morén's avatar
      Updated Swedish translation. · be5e9a97
      Jan Morén authored
      2003-09-06  Jan Morén  <jan.moren@lucs.lu.se>
      
               * sv.po: Updated Swedish translation.
      be5e9a97
    • Michael Natterer's avatar
      app/display/Makefile.am app/gui/Makefile.am app/paint/Makefile.am · b28c2361
      Michael Natterer authored
      2003-09-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/Makefile.am
      	* app/gui/Makefile.am
      	* app/paint/Makefile.am
      	* app/pdb/Makefile.am
      	* app/text/Makefile.am
      	* app/tools/Makefile.am
      	* app/widgets/Makefile.am
      	* app/xcf/Makefile.am (INCLUDES): add $(LIBART_CFLAGS) here too.
      b28c2361
    • Dave Neary's avatar
      Include libart headers app/vectors/gimpvectors.[ch] · 0508bdcc
      Dave Neary authored
      
      
      2003-09-06  Dave Neary  <bolsh@gimp.org>
      
      	* app/vectors/Makefile.am: Include libart headers
      	* app/vectors/gimpvectors.[ch]
      	* app/vectors/gimpstroke.[ch]
      	* app/vectors/gimpbezierstroke.[ch]: Committing unfinished,
      	useless stub code for converting a GimpVectors object to a
      	libart vector path. Will pad this out later.
      0508bdcc
    • Michael Natterer's avatar
      made my last commit compile. Sorry. · 27ad396d
      Michael Natterer authored
      2003-09-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpdrawable.c (gimp_drawable_fill): made my last
      	commit compile. Sorry.
      27ad396d
    • Michael Natterer's avatar
      code cleanup. (gimp_drawable_fill): use the INTENSITY() of the passed · 31b754df
      Michael Natterer authored
      2003-09-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpdrawable.c: code cleanup.
      	(gimp_drawable_fill): use the INTENSITY() of the passed GimpRGB to
      	fill GIMP_GRAY drawables, not just the RED_PIX. Cleanup.
      
      	* app/core/gimpimage.c (gimp_image_transform_color):
      	added assertion for src_type != GIMP_INDEXED.
      31b754df
  3. 05 Sep, 2003 10 commits
    • Sven Neumann's avatar
      access the grid structure directly instead of using g_object_get() and · a7f00f06
      Sven Neumann authored
      2003-09-05  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpdisplayshell.c (gimp_display_shell_draw_grid):
      	access the grid structure directly instead of using g_object_get()
      	and leaking the returned values. Release the GC object instead of
      	leaking it (the GC should probably become part of the display).
      
      	* app/gui/grid-dialog.c (grid_dialog_new): removed an extraneous
      	reference count from grid_backup.
      a7f00f06
    • Michael Natterer's avatar
      removed function map_to_color() since it does not belong here and the two · aaf84a73
      Michael Natterer authored
      2003-09-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/paint-funcs/paint-funcs.[ch]: removed function map_to_color()
      	since it does not belong here and the two places using it look much
      	cleaner when doing that stuff themselves.
      
      	* app/core/gimpdrawable-preview.c: cleanup.
      	(gimp_drawable_preview_scale): do the indexed palette lookup here
      	instead of calling map_to_color().
      
      	* app/core/gimpimage.c (gimp_image_get_color): transform the
      	colors here instead of calling map_to_color().
      
      	* app/core/gimpimage.[ch] (gimp_image_get_color): reordered
      	parameters src parameters are before dest parameters.
      	Made the src color const.
      
      	(gimp_image_transform_color): reordered so src parameters are
      	*after* dest parameters (since this function operates on the dest
      	image and it makes sense to have the dest parameters
      	together). Made the src color const here, too.
      
      	* app/core/gimpdrawable-bucket-fill.c
      	* app/core/gimpdrawable.c
      	* app/core/gimpimage-contiguous-region.c
      	* app/core/gimpimage-projection.c
      	* app/core/gimpimagemap.c
      	* app/core/gimplayer.c
      	* app/core/gimppalette-import.c
      	* app/paint/gimpclone.c
      	* app/paint/gimppaintcore.c: changed accordingly.
      
      	* app/core/gimpedit.c (gimp_edit_cut,copy): simplified by
      	moving the "cropped" variable to a local scope.
      
      	* app/core/gimpimage-mask.c: calling gimp_image_update() followed
      	by gimp_viewable_imvalidate_preview(drawable) is equal to calling
      	gimp_drawable_update() directly.
      aaf84a73
    • Sven Neumann's avatar
      code cleanup. Removed the PreviewCache struct that used to wrap TempBuf · 3a3a5701
      Sven Neumann authored
      2003-09-05  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimppreviewcache.[ch]: code cleanup. Removed the
      	PreviewCache struct that used to wrap TempBuf but didn't add any
      	additional information. Actually free the cached temp_buf when
      	removing an entry from cache. Free the GSList when invalidating
      	the preview cache.
      3a3a5701
    • Hasbullah Bin Pit's avatar
      Added Translation by MIMOS Open Source Development Group <ismas@mimos.my> · 86133ac6
      Hasbullah Bin Pit authored
      2003-09-02  Hasbullah Bin Pit <sebol@ikhlas.com>
      
              * ms.po: Added Translation by
                      MIMOS Open Source Development Group <ismas@mimos.my>
      86133ac6
    • Helvetix Victorinox's avatar
      Fixed another bug in initialising the compositing context for the special · d16097c2
      Helvetix Victorinox authored
      * app/paint-funcs/paint-funcs.c (initial_sub_region): Fixed
        another bug in initialising the compositing context for the
        special case of dissolve mode.  A further attempt to fix bug
        #121438.
      
      * app/composite/gimp-composite-generic.c
        (gimp_composite_dissolve_any_any_any_generic): Fixed bug in
        calculating whether the destination has an alpha channel (or
        not).
      d16097c2
    • Sven Neumann's avatar
      unref the parasite list before assigning a copy. · 5cfcf048
      Sven Neumann authored
      2003-09-05  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpimage-merge.c (gimp_image_merge_layers): unref
      	the parasite list before assigning a copy.
      5cfcf048
    • Sven Neumann's avatar
      fixed loop boundaries, spotted by Wolfgang Hofer (bug #121521). · 15fa89ba
      Sven Neumann authored
      2003-09-05  Sven Neumann  <sven@gimp.org>
      
      	* app/base/temp-buf.c (temp_buf_new_check): fixed loop boundaries,
      	spotted by Wolfgang Hofer (bug #121521).
      15fa89ba
    • Manish Singh's avatar
      Fix a couple dates · c3bdbdad
      Manish Singh authored
      c3bdbdad
    • Sven Neumann's avatar
      make it actually compile... · b66e3ddd
      Sven Neumann authored
      b66e3ddd
    • Sven Neumann's avatar
      removed a superfluous g_strdup(); made GimpQueryStringCallback take a · f77975a9
      Sven Neumann authored
      2003-09-05  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimpquerybox.[ch] (string_query_box_ok_callback):
      	removed a superfluous g_strdup(); made GimpQueryStringCallback take
      	a const gchar* pointer.
      
      	* plug-ins/gflare/gflare.c: changed accordingly.
      f77975a9