1. 16 Feb, 2004 6 commits
  2. 15 Feb, 2004 4 commits
  3. 14 Feb, 2004 4 commits
    • Michael Natterer's avatar
      updated. · 9fb67ad7
      Michael Natterer authored
      2004-02-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/app-sections.txt: updated.
      9fb67ad7
    • Michael Natterer's avatar
      Fixed lots of QuickMask brokenness by letting the image adjust its · 25b81b15
      Michael Natterer authored
      2004-02-14  Michael Natterer  <mitch@gimp.org>
      
      	Fixed lots of QuickMask brokenness by letting the image adjust
      	its qmask_state automatically:
      
      	* app/core/gimpimage-qmask.h: #define GIMP_IMAGE_QMASK_NAME "Qmask".
      	Use the define in all files below.
      
      	* app/core/gimpimage.[ch]: split gimp_image_drawable_add,_remove()
      	into separate handlers for layers and channels. Added a
      	"name_changed" handler for all channels. In the channel "add",
      	"remove" and "name_changed" handlers, check if it was a channel
      	named "Qmask" that was added, removed or renamed and call
      	gimp_image_set_qmask_state() accordingly.
      
      	* app/core/core-enums.[ch]
      	* app/core/gimpimage-undo-push.[ch]
      	* app/core/gimpundo.c: removed all Qmask undo code because the image
      	does the right thing without undo interaction now.
      
      	* app/core/gimpimage-qmask.c (gimp_image_set_qmask_state): set
      	gimage->qmask_state early so we can return early when called
      	recursively. Removed calls to gimp_image_undo_push_image_qmask().
      	Returned "removed" callback (it was utterly broken the way it was
      	implemented).
      
      	* app/display/gimpdisplayshell-callbacks.c
      	(gimp_display_shell_qmask_toggled): check if the image's
      	qmask state needs to be changed before changing it.
      
      	* app/xcf/xcf-load.c (xcf_load_channel): removed code which
      	recognized the qmask. GimpImage does this automatically now.
      
      	* app/gui/qmask-commands.c: cleanup.
      
      	* app/widgets/gimpimagedock.c (gimp_image_dock_constructor):
      	destroy the "/Select/By Color" and "/Select/Toggle QuickMask" menu
      	items.
      
      	* app/widgets/image-menu.c (image_menu_update): changed accordingly.
      25b81b15
    • Manish Singh's avatar
      Initialize dest to NULL, make it so the temp variable use for · 8672dbf3
      Manish Singh authored
      2004-02-13  Manish Singh  <yosh@gimp.org>
      
              * plug-ins/common/psd.c (load_image): Initialize dest to NULL,
              make it so the temp variable use for PANOTOOLS_FIX is only declared
              when it is enabled.
      8672dbf3
    • Manish Singh's avatar
      app/base/temp-buf.c (temp_buf_get_memsize) Add some casts to gsize for · 46aa40e2
      Manish Singh authored
      2004-02-13  Manish Singh  <yosh@gimp.org>
      
              * app/base/temp-buf.c (temp_buf_get_memsize)
              * core/gimpviewable.c (gimp_viewable_get_memsize): Add some casts
              to gsize for ints to prevent overflows.
      
              * app/base/tile-manager.c (tile_manager_get_memsize): Same as above,
              except cast to gint64.
      46aa40e2
  4. 13 Feb, 2004 5 commits
    • Simon Budig's avatar
      make a similar fix as in my last commit for snapping the guides. · ce5e592e
      Simon Budig authored
      2004-02-13  Simon Budig  <simon@gimp.org>
      
      	* app/core/gimpimage-guides.[ch]: make a similar fix as in my
      	last commit for snapping the guides.
      
      	* app/tools/gimpmovetool.c: use the fixed version.
      ce5e592e
    • Simon Budig's avatar
      make the snapping width a parameter of the snapping functions. · ae81af14
      Simon Budig authored
      2004-02-13  Simon Budig  <simon@gimp.org>
      
      	* app/core/gimpimage-snap.[ch]: make the snapping width a
      	parameter of the snapping functions.
      
      	* app/display/gimpdisplayshell.c: make sure that the snapping
      	width always is 5 pixels in the view coordinates.
      
      	Fixes bug #134285
      ae81af14
    • Michael Natterer's avatar
      removed redundant g_return_if_fail()s. · 04811da5
      Michael Natterer authored
      2004-02-13  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimp-units.c (gimp_units_init, _exit): removed
      	redundant g_return_if_fail()s.
      04811da5
    • Michael Natterer's avatar
      Fixed GimpData's default "writable" and "deletable" behaviour: · d991e64b
      Michael Natterer authored
      2004-02-13  Michael Natterer  <mitch@gimp.org>
      
      	Fixed GimpData's default "writable" and "deletable" behaviour:
      
      	* app/core/gimpdata.c (gimp_data_init): default to writable and
      	deletable == TRUE (something that has no filename was never loaded
      	from disk and can't be undeletable or read-only).
      	Fixes bug #134274.
      
      	* app/core/gimpdata.[ch]: added new function
      	gimp_data_make_internal() which frees the filename and sets the
      	data's flags accordingly.
      
      	* app/core/gimp-gradients.c (gimp_gradients_add_gradient)
      	* app/core/gimpbrush.c (gimp_brush_get_standard)
      	* app/core/gimpgradient.c (gimp_gradient_get_standard)
      	* app/core/gimppalette.c (gimp_palette_get_standard)
      	* app/core/gimppattern.c (gimp_pattern_get_standard): use the
      	new function for internal data objects.
      
      	* app/core/gimpdata.c (gimp_data_save, gimp_data_delete_from_disk)
      	* app/core/gimpdatafactory.c (gimp_data_factory_save_single):
      	bail out with g_return_if_fail() is the data is not writable
      	or deletable.
      
      	* app/widgets/gimpdataeditor.c
      	* app/widgets/gimpdatafactoryview.c: changed accordingly.
      d991e64b
    • Marco Ciampa's avatar
      Updated italian translation · 1797d6c7
      Marco Ciampa authored
      1797d6c7
  5. 12 Feb, 2004 6 commits
    • Sven Neumann's avatar
      use GDK_CAP_NOT_LAST as the cap_style for all canvas drawing. · 5f911353
      Sven Neumann authored
      2004-02-12  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpcanvas.c (gimp_canvas_gc_new): use
      	GDK_CAP_NOT_LAST as the cap_style for all canvas drawing.
      5f911353
    • Adam D. Moss's avatar
      2004-02-12 / v3.0.14 / Adam D. Moss Fix a twisted utf8-obsessive bug · c8fa27da
      Adam D. Moss authored
      
       *  2004-02-12 / v3.0.14 / Adam D. Moss
       *       Fix a twisted utf8-obsessive bug diagnosed by
       *       Piotr Krysiuk <KrysiukP@prokom.pl>
       *
       *  2004-01-06 / v3.0.13 / Adam D. Moss
       *       Disable one of the PanoTools fixes by default, since it causes
       *       regressions in some ordinary PSD file loading.
       *
       *  2004-01-06 / v3.0.12 / Adam D. Moss
       *       Try to avoid 0-sized drawables (including channels) in all
       *       circumstances under GIMP 2.
       *
       *  2004-01-01 / v3.0.11 / Daniel Rogers <dsrogers@phaseveloctiy.org>
       *       GIMP crashes on 0x0 layers, so we skip them.
      c8fa27da
    • Michael Natterer's avatar
      call gimp_image_colormap_changed() after installing the colormap. · 8091f46f
      Michael Natterer authored
      2004-02-12  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimage-convert.c (gimp_image_convert): call
      	gimp_image_colormap_changed() after installing the colormap.
      
      	* app/tools/gimphistogramoptions.h: fixed typedef of
      	GimpHistogramOptionsClass.
      8091f46f
    • Michael Natterer's avatar
      ignore double clicks so we don't grab the pointer away from the curves · cfd6fb0a
      Michael Natterer authored
      2004-02-12  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimphistogramview.c (gimp_histogram_view_button_press):
      	ignore double clicks so we don't grab the pointer away from the
      	curves dialog. Fixes bug #132356.
      
      	* app/tools/gimpcurvestool.c (curves_graph_events): ignore button
      	press and release events from all buttons except the first one.
      cfd6fb0a
    • Michael Natterer's avatar
      Make sure that non-indexed images never have a colormap. Fixes bug · 8312e82a
      Michael Natterer authored
      2004-02-12  Michael Natterer  <mitch@gimp.org>
      
      	Make sure that non-indexed images never have a colormap.
      	Fixes bug #121033.
      
      	* app/core/gimpimage-colormap.c (gimp_image_set_colormap): set
      	image->cmap to NULL when called with a NULL colormap.
      
      	* app/core/gimpimage-undo-push.c: made colormap undo/redo aware
      	of NULL colormaps.
      
      	* app/core/gimpimage-convert.c (gimp_image_convert): remove the
      	colormap using gimp_image_set_colormap() instead of freeing it
      	manually.
      
      	* app/widgets/gimpcolormapeditor.c: always check if the image
      	is INDEXED *and* has a colormap before accessing the colormap.
      
      	(need this new check because the fixed behaviour of colormap undo
      	produces undo groups which, when being popped, make the image have
      	no colormap while still being INDEXED in the small time frame
      	between the emission of "colormap_changed" and "mode_changed").
      8312e82a
    • Sven Neumann's avatar
      derive the text tool from GimpTool directly. Doesn't look like we are · ecdf62b5
      Sven Neumann authored
      2004-02-12  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimptexttool.[ch]: derive the text tool from GimpTool
      	directly. Doesn't look like we are going to use draw_tool
      	functionality for 2.0.
      ecdf62b5
  6. 11 Feb, 2004 7 commits
  7. 10 Feb, 2004 8 commits