1. 01 Nov, 2003 9 commits
    • Sven Neumann's avatar
      removed width and height from the API. It can be set using · fb6bd700
      Sven Neumann authored
      2003-11-01  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimphistogramview.[ch]: removed width and height
      	from the API. It can be set using gtk_widget_size_request(). Set a
      	mimimum height of 80 pixels.
      
      	* app/widgets/gimphistogrambox.c: changed accordinly. Reduced size
      	of color gradient.
      
      	* app/tools/gimpcurvestool.c: reduced gradient sizes.
      
      	* app/tools/gimplevelstool.c: allow the histogram to expand
      	vertically.
      fb6bd700
    • Sven Neumann's avatar
      if multiple histogram values fall onto the same pixel, display the maximum · b2d19217
      Sven Neumann authored
      2003-11-01  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimphistogramview.c (gimp_histogram_view_expose): if
      	multiple histogram values fall onto the same pixel, display the
      	maximum value.
      b2d19217
    • Sven Neumann's avatar
      app/app-docs.sgml app/app-sections.txt updated. · e35668eb
      Sven Neumann authored
      2003-11-01  Sven Neumann  <sven@gimp.org>
      
      	* app/app-docs.sgml
      	* app/app-sections.txt
      	* app/app.types: updated.
      e35668eb
    • Danilo Šegan's avatar
      Added more to Serbian translation. · 95de8a84
      Danilo Šegan authored
      2003-11-01  Danilo Šegan  <dsegan@gmx.net>
      
      	* po-plug-ins/sr.po, po-plug-ins/sr@Latn.po: Added more to Serbian
      	translation.
      95de8a84
    • Sven Neumann's avatar
      update the channel menu when the image mode changes or an alpha channel is · d772ef02
      Sven Neumann authored
      2003-11-01  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimphistogrameditor.c: update the channel menu when
      	the image mode changes or an alpha channel is added/removed.
      d772ef02
    • Sven Neumann's avatar
      forgot to also add a range check here. · b90be2fe
      Sven Neumann authored
      2003-11-01  Sven Neumann  <sven@gimp.org>
      
      	* app/base/gimphistogram.c (gimp_histogram_get_mean): forgot to
      	also add a range check here.
      
      	* app/widgets/gimphistogrameditor.c: update the channel menu when
      	the image mode changes or an alpha channel is added/removed.
      b90be2fe
    • Danilo Šegan's avatar
      Updated Serbian translation. · 6c5f31b9
      Danilo Šegan authored
      2003-11-01  Danilo Šegan  <dsegan@gmx.net>
      
      	* po/sr.po, po/sr@Latn.po: Updated Serbian translation.
      6c5f31b9
    • Sven Neumann's avatar
      removed app/widgets/gimphistogramtool.c; added · c6a9e3e0
      Sven Neumann authored
      2003-11-01  Sven Neumann  <sven@gimp.org>
      
      	* POTFILES.in: removed app/widgets/gimphistogramtool.c;
      	added app/widgets/gimphistogrameditor.c
      c6a9e3e0
    • Sven Neumann's avatar
      Replaced the histogram tool by a histogram dialog: · dcf50dc2
      Sven Neumann authored
      2003-11-01  Sven Neumann  <sven@gimp.org>
      
      	Replaced the histogram tool by a histogram dialog:
      
      	* themes/Default/images/Makefile.am
      	* themes/Default/images/tools/stock-tool-histogram-[16|22].png:
      	removed here ...
      
      	* themes/Default/images/stock-histogram-[16|22].png: ,,, and added
      	under these new names.
      
      	* libgimpwidgets/gimpstock.[ch]: register the icons as
      	GIMP_STOCK_HISTOGRAM and removed the histogram tool stock icons.
      
      	* app/base/gimphistogram.c: don't crash when uncalculated values
      	are requested from a GimpHistogram. Allow to reset the histogram
      	by calling gimp_histogram_calculate() with a NULL region.
      
      	* app/widgets/gimphistogrambox.[ch]: renamed the GimpHistogramView
      	struct member to "view".
      
      	* app/tools/gimpthresholdtool.c: changed accordingly.
      
      	* app/widgets/gimphistogramview.[ch] (gimp_histogram_view_events):
      	return TRUE when events were handled.
      
      	* app/tools/Makefile.am
      	* app/tools/gimp-tools.c
      	* app/tools/gimphistogramtool.[ch]: removed the histogram tool.
      
      	* app/widgets/Makefile.am
      	* app/widgets/gimphelp-ids.h
      	* app/widgets/widgets-types.h
      	* app/widgets/gimphistogrameditor.[ch]: added GimpHistogramEditor.
      	Has some rough edges still...
      
      	* app/gui/dialogs-constructors.[ch]
      	* app/gui/dialogs.c
      	* app/gui/image-menu.c: register the new dialog instead of the
      	histogram tool.
      dcf50dc2
  2. 31 Oct, 2003 8 commits
  3. 30 Oct, 2003 3 commits
    • Michael Natterer's avatar
      moved all signal emissions to their resp update() functions (e.g. · cbc503c1
      Michael Natterer authored
      2003-10-30  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimpsizeentry.c: moved all signal emissions to
      	their resp update() functions (e.g. "value_changed" is emitted
      	from gimp_size_entry_value_update() now). Should fix all bugs ;)
      	for the cost of a few extra signal emissions. We definitely
      	emitted too few signals before so it's at least less broken.
      	Removed "gboolean value_boundaries" stuff because this fix should
      	always update the reference values correctly now.
      cbc503c1
    • Michael Natterer's avatar
      made Dodge/Burn the last paint tool, so Convolve and Smudge are together. · b0fd43dd
      Michael Natterer authored
      2003-10-30  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimp-tools.c (gimp_tools_init): made Dodge/Burn the
      	last paint tool, so Convolve and Smudge are together.
      b0fd43dd
    • Sven Neumann's avatar
      added a missing GimpHistogramChannel parameter. Fixes wrong values in the · d4b49c0c
      Sven Neumann authored
      2003-10-30  Sven Neumann  <sven@gimp.org>
      
      	* app/base/gimphistogram.[ch] (gimp_histogram_get_count): added a
      	missing GimpHistogramChannel parameter. Fixes wrong values in the
      	histogram tool.
      
      	* app/base/levels.c
      	* app/base/lut-funcs.c
      	* app/pdb/color_cmds.c
      	* tools/pdbgen/pdb/color.pdb: changed accordingly.
      
      	* app/tools/gimphistogramtool.c: update the histogram statistics
      	on channel changes.
      d4b49c0c
  4. 29 Oct, 2003 7 commits
    • Sven Neumann's avatar
      increased vertical spacing. · 7937639e
      Sven Neumann authored
      2003-10-29  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/preferences-dialog.c: increased vertical spacing.
      7937639e
    • Sven Neumann's avatar
      app/display/gimpdisplayshell-callbacks.c · c590c6aa
      Sven Neumann authored
      2003-10-28  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell-layer-select.c
      	* app/widgets/gimpcontainerpopup.c
      	* app/widgets/gimphistogramview.c
      	* app/widgets/gimpnavigationpreview.c
      	* libgimpwidgets/gimpcolorselect.c
      	* libgimpwidgets/gimpoffsetarea.c
      	* libgimpwidgets/gimppickbutton.c: use multihead safe variants of
      	the unsafe functions gdk_pointer_ungrab(), gdk_keyboard_ungrab()
      	and gdk_device_get_core_pointer().
      
      	* plug-ins/libgck/gck/gck.h
      	* plug-ins/libgck/gck/gckcolor.c: made libgck multi-head safe.
      
      	* plug-ins/Lighting/lighting_ui.c
      	* plug-ins/MapObject/mapobject_preview.c
      	* plug-ins/MapObject/mapobject_ui.c: changed accordingly.
      
      	* plug-ins/common/animationplay.c
      	* plug-ins/common/curve_bend.c
      	* plug-ins/gfig/gfig.c
      	* plug-ins/imagemap/imap_preview.c: use multihead safe GDK API.
      c590c6aa
    • Jan Morén's avatar
      Updated Swedish translation. · 662218d6
      Jan Morén authored
      2003-10-29  Jan Morén  <jan.moren@lucs.lu.se>
      
               * sv.po: Updated Swedish translation.
      662218d6
    • Henrik Brix Andersen's avatar
      removed \n in line 6621. · b6187783
      Henrik Brix Andersen authored
      2003-10-29 Henrik Brix Andersen <brix@gimp.org>
      
      * it.po: removed \n in line 6621.
      b6187783
    • Marco Ciampa's avatar
      Updated italian translation. · 36b99c8c
      Marco Ciampa authored
      36b99c8c
    • Michael Natterer's avatar
      call tool_manager_oper_active_update() also on GDK_ENTER_NOTIFY, · 0df20a05
      Michael Natterer authored
      2003-10-29  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/gimpdisplayshell-callbacks.c
      	(gimp_display_shell_tool_events): call
      	tool_manager_oper_active_update() also on GDK_ENTER_NOTIFY,
      	GDK_LEAVE_NOTIFY, GDK_PROXIMITY_IN and GDK_PROXIMITY_OUT so the
      	active tool's state is updated when the current device
      	enters/leaves the canvas area.
      
      	* app/tools/gimpmovetool.[ch]: added GimpTool::oper_update() and
      	prelight the guide which will be moved there. Prelight the guide
      	only while the while the cursor is in the guide's sensitive area,
      	not until another guide is selected.
      	Feels better and fixes bug #125474.
      
      	Removed "guide_disp" member from the GimpMoveTool because
      	GipmTool::oper_update() is called reliably now and we don't need
      	to worry about guide prelighting across different displays any
      	more.
      
      	(gimp_move_tool_cursor_update): removed guide prelighting code,
      	cleaned up and simplified.
      
      	(gimp_move_tool_button_press): never activate the tool after
      	calling init_edit_selection(). Fixes more tool control warnings.
      
      	* app/display/gimpdisplay-foreach.[ch]: removed
      	gdisplays_check_valid().
      0df20a05
    • Stanislav Visnovsky's avatar
      Updated Slovak translation by Zdenko Podobny. · 96bdb5d7
      Stanislav Visnovsky authored
      2003-10-29  Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz>
      
              * sk.po: Updated Slovak translation by Zdenko Podobny.
      96bdb5d7
  5. 28 Oct, 2003 2 commits
  6. 27 Oct, 2003 6 commits
    • Sven Neumann's avatar
      app/text/Makefile.am new files that load and save text layers to/from XCF. · c0ebe2a8
      Sven Neumann authored
      2003-10-27  Sven Neumann  <sven@gimp.org>
      
      	* app/text/Makefile.am
      	* app/text/gimptextlayer-xcf.[ch]: new files that load and save
      	text layers to/from XCF.
      
      	* app/xcf/xcf-load.c
      	* app/xcf/xcf-save.c
      	* app/text/gimptextlayer.c: removed that code here and use the new
      	functions instead.
      
      	* app/text/gimptext-parasite.[ch] (gimp_text_from_parasite): added
      	a GError parameter.
      
      	* app/text/gimptextlayer.[ch]: store the name of the parasite that
      	the text layer was created from (if read from XCF). Remove the
      	parasite when the text layer is edited. If a text layer wasn't
      	touched, the original parasite is written back to the XCF file.
      
      	* app/text/gimptextlayout.c (gimp_text_layout_new): handle a NULL
      	text string.
      
      	* app/tools/gimptextoptions.c: implement GimpToolOptions::reset
      	and save the text across a reset.
      c0ebe2a8
    • Michael Natterer's avatar
      call gimp_dock_separator_realize() on all drop separators so their color · 7cf23d86
      Michael Natterer authored
      2003-10-27  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpdock.c (gimp_dock_style_set): call
      	gimp_dock_separator_realize() on all drop separators so their
      	color follows the theme change. Fixes bug #119735.
      7cf23d86
    • Michael Natterer's avatar
      scroll to the added message. · 601f98f2
      Michael Natterer authored
      2003-10-27  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimperrorconsole.c (gimp_error_console_add): scroll
      	to the added message.
      601f98f2
    • Michael Natterer's avatar
      regenerated. · d63e2d49
      Michael Natterer authored
      2003-10-27  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/tmpl/gimphelpui.sgml: regenerated.
      d63e2d49
    • Michael Natterer's avatar
      stop using the deprecated GtkTipsQuery widget for context help and · a8309a7d
      Michael Natterer authored
      2003-10-27  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimphelpui.c: stop using the deprecated
      	GtkTipsQuery widget for context help and implement the needed part
      	of its functionality using a grab on a GtkInvisible. Should stop
      	GIMP crashing with Gtk+ HEAD.
      
      	* libgimpwidgets/gimphelpui.[ch] (gimp_context_help): requires
      	a GtkWidget parameter now (finding the correct GdkScreen).
      
      	* app/gui/help-commands.c (help_context_help_cmd_callback):
      	changed accordingly.
      a8309a7d
    • Danilo Šegan's avatar
      Updated Serbian translation. · ec47275a
      Danilo Šegan authored
      2003-10-27  Danilo Šegan  <dsegan@gmx.net>
      
      	* sr.po, sr@Latn.po: Updated Serbian translation.
      ec47275a
  7. 26 Oct, 2003 5 commits
    • Michael Natterer's avatar
      resurrected the runtime check for the required Gtk+ version. Depend on · 09ae4b29
      Michael Natterer authored
      2003-10-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/gui.c (gui_libs_init): resurrected the runtime check for
      	the required Gtk+ version. Depend on Gtk+ >= 2.2.2 and abort if
      	the requirement is not met. This is mainly for catching packaging
      	errors, as we already compile-time require Gtk+ 2.2.2.
      
      	* app/widgets/gimpcontainergridview.c
      	* app/widgets/gimpcontainertreeview.c: removed #warnings and
      	workarounds for bugs in Gtk+ < 2.2.2.
      
      	* app/widgets/gimpcontainertreeview.c: replaced the #warning about
      	the pending fix for bug #115871 by a #warning plus runtime check
      	for Gtk+ >= 2.2.3. Did some general cleanups.
      09ae4b29
    • Henrik Brix Andersen's avatar
      really committed the change this time · c08a8f85
      Henrik Brix Andersen authored
      2003-10-26 Henrik Brix Andersen <brix@gimp.org>
      
      * themes/Default/images/preferences/Makefile.am: really committed
      the change this time
      c08a8f85
    • Henrik Brix Andersen's avatar
      gimp/app/widgets/gimphelp-ids.h · e047cd8b
      Henrik Brix Andersen authored
      2003-10-26 Henrik Brix Andersen <brix@gimp.org>
      
      * gimp/app/widgets/gimphelp-ids.h
      * gimp/app/gui/preferences-dialog.c:
      - moved all session related settings to a new Session Management page
      - moved Web Browser setting to Help System page
      - changed Configure Input Devices to Configure Extended Input Devices
      
      * gimp/themes/Default/images/preferences/Makefile.am
      * gimp/themes/Default/images/preferences/session.png: re-added
      session.png
      
      * gimp/app/widgets/gimpdevices.h
      * gimp/app/widgets/gimpdevices.c (gimp_devices_clear): function
      added to be consistent with the rest of the session management
      routines. This function needs to be filled in.
      
      * gimp/app/widgets/gimptemplateeditor.c
      * gimp/app/widgets/gimpgrideditor.c: fixed spacing between widgets
      e047cd8b
    • Sven Neumann's avatar
      app/text/gimptext.[ch] added back "box-unit" property; it makes sense to · 142d0725
      Sven Neumann authored
      2003-10-26  Sven Neumann  <sven@gimp.org>
      
      	* app/text/gimptext.[ch]
      	* app/text/gimptextlayout.c: added back "box-unit" property; it
      	makes sense to have an extra unit for it.
      142d0725
    • Danilo Šegan's avatar
      Add a bit more to Serbian translation. · 0f33b5c4
      Danilo Šegan authored
      2003-10-26  Danilo Šegan  <dsegan@gmx.net>
      
      	* sr.po, sr@Latn.po: Add a bit more to Serbian translation.
      0f33b5c4