1. 19 Feb, 2004 13 commits
    • Sven Neumann's avatar
      fixed inline docs updated application docs · 6b8d6ca4
      Sven Neumann authored
      6b8d6ca4
    • Sven Neumann's avatar
      app/widgets/Makefile.am app/widgets/widgets-types.h added new widget · 924acb2b
      Sven Neumann authored
      2004-02-19  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpcolorbar.[ch]: added new widget GimpColorBar.
      
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimplevelstool.c
      	* app/widgets/gimphistogrambox.[ch]: use GimpColorBar widgets.
      
      	* app/widgets/gimpcolorframe.[ch]: fixed typos.
      924acb2b
    • Michael Natterer's avatar
      libgimpwidgets/libgimpwidgets-sections.txt · c2b4867b
      Michael Natterer authored
      2004-02-19  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/libgimpwidgets-sections.txt
      	* libgimpwidgets/tmpl/gimpstock.sgml
      	* libgimpwidgets/tmpl/gimpwidgets.sgml: updated.
      c2b4867b
    • Michael Natterer's avatar
      themes/Default/images/Makefile.am · 799ea1f1
      Michael Natterer authored
      2004-02-19  Michael Natterer  <mitch@gimp.org>
      
      	* themes/Default/images/Makefile.am
      	* themes/Default/images/stock-display-filter-16.png
      	* themes/Default/images/stock-display-filter-24.png
      	* libgimpwidgets/gimpstock.[ch]: added Jimmac's glasses.
      
      	* app/display/gimpdisplayshell-filter-dialog.c
      	* app/gui/image-menu.c: and use them.
      799ea1f1
    • Michael Natterer's avatar
      removed static variables, don't use GIMP_CONFIG_INSTALL_PROP_FOO() for · c33e0e8b
      Michael Natterer authored
      2004-02-19  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpdasheditor.[ch]: removed static variables, don't
      	use GIMP_CONFIG_INSTALL_PROP_FOO() for non-config classes,
      	trailing whitespace, cleanup.
      c33e0e8b
    • Simon Budig's avatar
      fixed gimp_dialog_new invocation. Also fixed a blatant error in the · b6005053
      Simon Budig authored
      2004-02-19  Simon Budig  <simon@gimp.org>
      
      	* plug-ins/common/lic.c: fixed gimp_dialog_new invocation.
      	Also fixed a blatant error in the algorithm (GimpRGB has a
      	range from 0..1 for each component...) and now the plugin
      	actually does something useful.
      b6005053
    • Sven Neumann's avatar
      follow some of the levels tool dialog changes for consistency. · 7b7b978e
      Sven Neumann authored
      2004-02-19  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimpcurvestool.c (gimp_curves_tool_dialog): follow
      	some of the levels tool dialog changes for consistency.
      7b7b978e
    • Michael Natterer's avatar
      new function which returns the image's QMask. · bb7a9d9b
      Michael Natterer authored
      2004-02-19  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimage-qmask.c (gimp_image_get_qmask): new function
      	which returns the image's QMask.
      
      	* app/core/gimpimage.c (gimp_image_channel_name_changed)
      	* app/gui/qmask-commands.c (qmask_query_response): use it.
      bb7a9d9b
    • Michael Natterer's avatar
      added new signal "buffer_changed" and new function · 513f5eac
      Michael Natterer authored
      2004-02-19  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimp.[ch]: added new signal "buffer_changed" and new
      	function gimp_set_global_buffer() which emits it when the global
      	buffer changes.
      
      	* app/core/gimp-edit.c (gimp_edit_extract): use it instead
      	of fiddling with gimp->global_buffer manually.
      
      	* app/gui/image-menu.c: connect to "buffer_changed" and set the
      	"Paste" menu entries sensitive. Fixes bug #134752.
      
      	(image_menu_update): changed accordingly. Also changed a lot of
      	buggy SET_SENSITIVE() lines which made menu items which work fine
      	on any drawable insensitive when there were no layers (instead
      	of no drawable).
      
      	* app/gui/edit-commands.c: added new macro return_if_new_drawable()
      	and use it instead of return_if_no_image() so we don't run
      	into assertions if there is no active drawable.
      
      	(cut,copy_named_buffer_callback): unfortunately had to introduce
      	two new translated messages about not being able to cut/copy when
      	there is no active drawable.
      513f5eac
    • Michael Natterer's avatar
      app/config/gimpconfig-serialize.c (gimp_config_serialize_property) · fc38ede3
      Michael Natterer authored
      2004-02-19  Michael Natterer  <mitch@gimp.org>
      
      	* app/config/gimpconfig-serialize.c
      	(gimp_config_serialize_property)
      	* app/config/gimpconfig-deserialize.c
      	(gimp_config_deserialize_property): Reverted my last "cleanup" and
      	put the "obsolete" check for the exact owner class of the property
      	back. It appears that if a subclass does *not* implement
      	GimpConfigInterface *itself*, it still inherits
      	serialize_property()/deserialize_property().
      fc38ede3
    • Marco Ciampa's avatar
      Updated italian translation · 2ad501a8
      Marco Ciampa authored
      2ad501a8
    • Sven Neumann's avatar
      more dialog tweaking, fixed positioning of slider triangles. · 200cca7f
      Sven Neumann authored
      2004-02-19  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimplevelstool.c: more dialog tweaking, fixed
      	positioning of slider triangles.
      200cca7f
    • Sven Neumann's avatar
  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 1 commit