1. 19 Feb, 2004 4 commits
  2. 18 Feb, 2004 9 commits
    • Sven Neumann's avatar
      applied patch from Dave Neary that removes gray point pickers for · 5f147b8e
      Sven Neumann authored
      2004-02-19  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimplevelstool.c (gimp_levels_tool_dialog): applied
      	patch from Dave Neary that removes gray point pickers for
      	individual channels (bug #125303). Let the levels widgets expand
      	with the dialog.
      5f147b8e
    • Simon Budig's avatar
      app/config/gimpguiconfig.[ch] Added new GUI option: snapping distance · 097801d7
      Simon Budig authored
      2004-02-18  Simon Budig  <simon@gimp.org>
      
      	* app/config/gimpguiconfig.[ch]
      	* app/config/gimprc-blurbs.h: Added new GUI option: snapping distance
      
      	* app/gui/preferences-dialog.c: add a preferences widget
      
      	* app/tools/gimpmovetool.c
      	* app/display/gimpdisplayshell.c: use it for snapping.
      097801d7
    • Sven Neumann's avatar
      tile-cache.c tile-private.h removed trailing whitespace, added some · fb121329
      Sven Neumann authored
      2004-02-18  Sven Neumann  <sven@gimp.org>
      
              * tile-cache.c
              * tile-private.h
              * tile.[ch]: removed trailing whitespace, added some newlines,
              let tile_is_valid() return a gboolean instead of a gint.
      
              * app/core/gimpimage-projection.c
              * app/core/gimpimage-undo-push.c
              * app/paint/gimppaintcore.c
              * app/tools/gimpinktool.c: use the return value from tile_is_valid()
              as a boolean.
      fb121329
    • Sven Neumann's avatar
      tile-cache.c tile-private.h removed trailing whitespace, added some · c94f85b3
      Sven Neumann authored
      2004-02-18  Sven Neumann  <sven@gimp.org>
      
      	* tile-cache.c
      	* tile-private.h
      	* tile.[ch]: removed trailing whitespace, added some newlines,
      	let tile_is_valid() return a gboolean instead of a gint.
      
      	* app/core/gimpimage-projection.c
      	* app/core/gimpimage-undo-push.c
      	* app/paint/gimppaintcore.c
      	* app/tools/gimpinktool.c: use the return value from tile_is_valid()
      	as a boolean.
      c94f85b3
    • Simon Budig's avatar
      app/display/gimpdisplayshell.c Adjusted snapping distance to 8 pixels, · 40ac20ff
      Simon Budig authored
      2004-02-18  Simon Budig  <simon@gimp.org>
      
      	* app/display/gimpdisplayshell.c
      	* app/tools/gimpmovetool.c: Adjusted snapping distance
      	to 8 pixels, probably should be a preferences option.
      
      	* app/tools/gimppainttool.c: Do not center the start and end
      	of a straight line to the center of an image-pixel unless
      	the brush mode is GIMP_BRUSH_HARD. Fixes bug #134410.
      40ac20ff
    • Sven Neumann's avatar
      fixed log entry · 3441b02f
      Sven Neumann authored
      3441b02f
    • Sven Neumann's avatar
      exchanged TILEROWHINT_UNKNOWN and TILEROWHINT_BROKEN so that · 98878725
      Sven Neumann authored
      2004-02-18  Sven Neumann  <sven@gimp.org>
      
      	* app/base/tile.h: exchanged TILEROWHINT_UNKNOWN and
      	TILEROWHINT_BROKEN so that TILEROWHINT_UNKNOWN becomes 0. This
      	allows to use calloc() to allocate and initialize the rowhint
      	array.
      
      	* app/base/tile.c (tile_sanitize_rowhints): reimplemented with by
      	a call to g_new0().
      
      	* app/base/tile-manager.c (tile_manager_get): use g_memdup() to
      	duplicate the rowhints when creating a tile copy.
      98878725
    • Michael Natterer's avatar
      Some code review: · 4d24bdbf
      Michael Natterer authored
      2004-02-18  Michael Natterer  <mitch@gimp.org>
      
      	Some code review:
      
      	* app/config/gimpconfig-deserialize.c
      	* app/config/gimpconfig-serialize.c: removed obsolete code which
      	made sure serialize_property()/deserialize_property() are only
      	called for properties of the correct class. We do it the right way
      	for quite a while now and clear the inherited function pointers in
      	gimp_config_iface_base_init().
      
      	* app/config/gimprc.c (gimp_rc_dispose): don't forget to chain up.
      
      	* app/base/gimplut.c
      	* app/base/lut-funcs.c
      	* app/config/gimpconfig-deserialize.c
      	* app/config/gimpconfig-serialize.c
      	* app/config/gimpconfig-types.c
      	* app/config/gimprc.c
      	* app/core/gimp-modules.c
      	* app/core/gimpbrush.c
      	* app/core/gimpcontainer.c
      	* app/core/gimpdocumentlist.c
      	* app/core/gimpitem.c
      	* app/gui/about-dialog.c
      	* app/gui/color-notebook.c
      	* app/gui/gui.c
      	* app/gui/tips-dialog.c
      	* app/paint/gimppaintcore.c
      	* app/paint-funcs/paint-funcs.c
      	* app/widgets/gimpcolorpanel.c
      	* app/widgets/gimpcontainergridview.c
      	* app/widgets/gimpcontainermenuimpl.c
      	* app/widgets/gimpselectioneditor.c: removed I/O includes from
      	files which don't use lowlevel APIs any more. Also removes
      	a whole bunch of G_OS_WIN32 special casing. Removed trailing
      	whitespace. Misc tiny cleanups.
      4d24bdbf
    • Michael Natterer's avatar
      disconnect from the correct config objects. Fixes bug #134694. · 361369bc
      Michael Natterer authored
      2004-02-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/gimpdisplayshell-handlers.c
      	(gimp_display_shell_disconnect): disconnect from the correct
      	config objects. Fixes bug #134694.
      361369bc
  3. 17 Feb, 2004 6 commits
    • Sven Neumann's avatar
      cannot gtk_widget_destroy() a floating widget, sink it instead. · 27365f4d
      Sven Neumann authored
      2004-02-17  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpeditor.c (gimp_editor_add_stock_box): cannot
      	gtk_widget_destroy() a floating widget, sink it instead.
      
      	* libgimpwidgets/gimppatheditor.c (gimp_path_editor_set_path):
      	plugged a small memleak.
      27365f4d
    • Pedro Gimeno's avatar
      Corrected the pairing of gimp_drawable_get/gimp_drawable_detach and other · 6193db87
      Pedro Gimeno authored
      2004-02-17  Pedro Gimeno  <pggimeno@wanadoo.es>
      
      	* plug-ins/pagecurl/pagecurl.c: Corrected the pairing of
      	gimp_drawable_get/gimp_drawable_detach and other cleanups.
      	(do_curl_effect): Fixed a bug spotted by Simon Budig: uninitialized
      	data could be exposed when applying the effect to non-rectangular
      	selections.
      6193db87
    • Michael Natterer's avatar
      argh, take the resolution into account if "dot_for_dot" is FALSE, not · cd15249f
      Michael Natterer authored
      2004-02-17  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpviewable.c (gimp_viewable_calc_preview_size): argh,
      	take the resolution into account if "dot_for_dot" is FALSE, not
      	TRUE.
      cd15249f
    • Sven Neumann's avatar
      exclude the size of the undo stacks so that the memory size is comparable · 9d1bf805
      Sven Neumann authored
      2004-02-17  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpimage-scale.c (gimp_image_scale_check): exclude the
      	size of the undo stacks so that the memory size is comparable with
      	the value displayed in the "New Image" dialog. Fixes bug #134512.
      9d1bf805
    • Sven Neumann's avatar
      changed wm_name to app_name in the GimpConfig struct; increased · 3fb6adbc
      Sven Neumann authored
      2004-02-17  Sven Neumann  <sven@gimp.org>
      
      	* libgimpbase/gimpprotocol.[ch]: changed wm_name to app_name in
      	the GimpConfig struct; increased GIMP_PROTOCOL_VERSION.
      
      	* app/plug-in/plug-in-run.c (plug_in_run): pass the return value
      	of g_get_application_name() to the plug-ins.
      
      	* libgimp/gimp.[ch]: removed function gimp_wm_name(). Set the
      	plug-in's application name if an app_name is passed in the config
      	message.
      
      	* libgimp/gimpui.c: removed usage of gimp_wm_name(); it was wrong
      	to do it this way and caused all plug-ins claim to be the gimp-1.3
      	executable in their error messages.
      
      	* libgimp/gimp.def: removed symbol gimp_wm_name.
      
      	* configure.in: reset gimp_binary_age and gimp_interface_age.
      
      	* app/core/gimpimage.c (gimp_image_name_changed): removed unused
      	variable.
      3fb6adbc
    • Michael Natterer's avatar
      Make sure each GimpItem emits "removed" when it is removed from the image · d9289192
      Michael Natterer authored
      2004-02-17  Michael Natterer  <mitch@gimp.org>
      
      	Make sure each GimpItem emits "removed" when it is removed from
      	the image so dialogs have a chance to close themselves:
      
      	* app/core/gimplayer.c (gimp_layer_apply_mask): emit "removed"
      	from the mask.
      
      	(gimp_layer_removed): new function which emits "removed" from
      	the layer's mask when the layer gets removed from the image.
      
      	* app/core/gimpimage.c (gimp_image_dispose): emit "removed"
      	from all layers, channels and vectors.
      
      	* app/gui/layers-commands.c (layers_scale_layer_query)
      	(layers_resize_layer_query): removed recently added connections to
      	"removed" because GimpViewableDialog does this automatically.
      d9289192
  4. 16 Feb, 2004 11 commits
  5. 15 Feb, 2004 4 commits
  6. 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
  7. 13 Feb, 2004 2 commits