Commit graph

10193 commits

Author SHA1 Message Date
Manish Singh 3b6318bff1 Only add FOO_DISABLE_DEPRECATED flags with GTK+ 2.2.x. Add
2003-11-01  Manish Singh  <yosh@gimp.org>

        * configure.in: Only add FOO_DISABLE_DEPRECATED flags with GTK+ 2.2.x.
        Add -DGDK_MULTIHEAD_SAFE.

        * app/config/test-config.c: use guints for strlen()

        * app/gui/gui.c
        * app/gui/info-window.c
        * app/gui/menus.c
        * app/widgets/gimpcontainerview.c
        * app/widgets/gimpcursor.c
        * app/widgets/gimpdevices.c
        * app/widgets/gimpdevicestatus.c
        * app/widgets/gimpimagedock.c
        * app/widgets/gimpitemfactory.c
        * app/widgets/gimpnavigationpreview.c
        * app/widgets/gimptoolbox.c
        * app/widgets/gimptooloptionseditor.c
        * app/widgets/gimpwidgets-utils.c
        * libgimp/gimpbrushmenu.c
        * libgimp/gimppatternmenu.c
        * libgimp/gimpui.c
        * plug-ins/FractalExplorer/Dialogs.c
        * plug-ins/FractalExplorer/FractalExplorer.c
        * plug-ins/common/screenshot.c
        * plug-ins/gimpressionist/gimpressionist.c: more GDK_MULTIHEAD_SAFE
        fixes.

        * plug-ins/common/wmf.c: #undef GDK_MULTIHEAD_SAFE.. this plug-in
        is going away anyway.

        * app/widgets/gimpcursor.h: add #warning about needing a proper
        multihead safe API.

        * app/gui/vectors-commands.c: s/clipoard/clipboard/
2003-11-01 20:06:01 +00:00
Sven Neumann 8e8c2176bf removed test-composite.
2003-11-01  Sven Neumann  <sven@gimp.org>

        * app/composite/Makefile.am (EXTRA_PROGRAMS): removed
        test-composite.
2003-11-01 19:51:22 +00:00
Sven Neumann fb6bd70031 removed width and height from the API. It can be set using
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.
2003-11-01 17:39:09 +00:00
Sven Neumann b2d192174b if multiple histogram values fall onto the same pixel, display the maximum
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.
2003-11-01 16:11:26 +00:00
Sven Neumann e35668eb73 app/app-docs.sgml app/app-sections.txt updated.
2003-11-01  Sven Neumann  <sven@gimp.org>

	* app/app-docs.sgml
	* app/app-sections.txt
	* app/app.types: updated.
2003-11-01 15:42:30 +00:00
Danilo Šegan 95de8a847b Added more to Serbian translation.
2003-11-01  Danilo Šegan  <dsegan@gmx.net>

	* po-plug-ins/sr.po, po-plug-ins/sr@Latn.po: Added more to Serbian
	translation.
2003-11-01 14:16:26 +00:00
Sven Neumann d772ef0200 update the channel menu when the image mode changes or an alpha channel is
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.
2003-11-01 13:58:06 +00:00
Sven Neumann b90be2fe66 forgot to also add a range check here.
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.
2003-11-01 13:16:02 +00:00
Danilo Šegan 6c5f31b9f8 Updated Serbian translation.
2003-11-01  Danilo Šegan  <dsegan@gmx.net>

	* po/sr.po, po/sr@Latn.po: Updated Serbian translation.
2003-11-01 13:04:27 +00:00
Sven Neumann c6a9e3e0f8 removed app/widgets/gimphistogramtool.c; added
2003-11-01  Sven Neumann  <sven@gimp.org>

	* POTFILES.in: removed app/widgets/gimphistogramtool.c;
	added app/widgets/gimphistogrameditor.c
2003-11-01 02:41:37 +00:00
Sven Neumann dcf50dc2a9 Replaced the histogram tool by a histogram dialog:
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.
2003-11-01 02:39:34 +00:00
Sven Neumann 5d43e5ba3d made multi-head safe. The whole tree compiles with GDK_MULTIHEAD_SAFE now.
2003-10-31  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/wmf.c: made multi-head safe. The whole tree
	compiles with GDK_MULTIHEAD_SAFE now.
2003-10-31 19:24:36 +00:00
Sven Neumann 93dadb8ae3 made multi-head safe. Let GTK+ parse the command-line before checking for
2003-10-31  Sven Neumann  <sven@gimp.org>

	* tools/gimp-remote.c: made multi-head safe. Let GTK+ parse the
	command-line before checking for application-specific parameters.

	* docs/gimp-remote-1.3.in: document the --display command-line option.
2003-10-31 18:36:11 +00:00
Hasbullah Bin Pit 451596b91e Updated Malay translation by MIMOS Open Source Development Group
2003-10-31  Hasbullah Bin Pit <sebol@ikhlas.com>

        * ms.po: Updated  Malay translation by
                MIMOS Open Source Development Group <syed@mimos.my>
2003-10-31 17:43:20 +00:00
Hasbullah Bin Pit b0ffa07f6f Updated Malay Translation by MIMOS Open Source Development Group
2003-10-31  Hasbullah Bin Pit <sebol@ikhlas.com>

        * ms.po: Updated Malay Translation by
                MIMOS Open Source Development Group <ismas@mimos.my>
2003-10-31 17:40:09 +00:00
Hasbullah Bin Pit 944fefb4d5 Updated Malay Translation by MIMOS Open Source Development Group
2003-10-31  Hasbullah Bin Pit <sebol@ikhlas.com>

        * ms.po: Updated Malay Translation                 by MIMOS Open Source Development Group <ismas@mimos.my>
2003-10-31 17:08:26 +00:00
Hasbullah Bin Pit 02b80e1966 Updated Malay translation by MIMOS Open Source Development Group
2003-10-31  Hasbullah Bin Pit <sebol@ikhlas.com>

        * ms.po: Updated Malay translation by
                MIMOS Open Source Development Group <ismas@mimos.my>
2003-10-31 16:59:49 +00:00
Michael Natterer e9bab397de some cleanup.
2003-10-31  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpmovetool.c: some cleanup.

	(gimp_move_tool_button_press): removed #if 0'ed experimental cruft
	and the #warning about it.
2003-10-31 11:51:47 +00:00
Michael Natterer 2edd422a35 should actually call gimp_item_flip() on the path to transform. Fixes bug
2003-10-31  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpfliptool.c (gimp_flip_tool_transform): should
	actually call gimp_item_flip() on the path to transform.
	Fixes bug #125895.

	* app/tools/gimptransformtool.c (gimp_transform_tool_notify_type):
	if the transform tool is in the CREATING state, don't skip the
	whole callback but still copy the transform type and direction
	from the options to the tool. Fixes preview of transformed paths.
2003-10-31 09:38:04 +00:00
Michael Natterer cbc503c1fb moved all signal emissions to their resp update() functions (e.g.
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.
2003-10-30 20:58:37 +00:00
Michael Natterer b0fd43dd45 made Dodge/Burn the last paint tool, so Convolve and Smudge are together.
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.
2003-10-30 17:55:03 +00:00
Sven Neumann d4b49c0c38 added a missing GimpHistogramChannel parameter. Fixes wrong values in the
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.
2003-10-30 17:48:16 +00:00
Sven Neumann 7937639ed1 increased vertical spacing.
2003-10-29  Sven Neumann  <sven@gimp.org>

	* app/gui/preferences-dialog.c: increased vertical spacing.
2003-10-29 21:55:26 +00:00
Sven Neumann c590c6aa15 app/display/gimpdisplayshell-callbacks.c
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.
2003-10-29 20:57:21 +00:00
Jan Morén 662218d686 Updated Swedish translation.
2003-10-29  Jan Morén  <jan.moren@lucs.lu.se>

         * sv.po: Updated Swedish translation.
2003-10-29 19:40:55 +00:00
Henrik Brix Andersen b6187783e9 removed \n in line 6621.
2003-10-29 Henrik Brix Andersen <brix@gimp.org>

* it.po: removed \n in line 6621.
2003-10-29 17:06:14 +00:00
Marco Ciampa 36b99c8c13 Updated italian translation. 2003-10-29 16:57:23 +00:00
Michael Natterer 0df20a05f4 call tool_manager_oper_active_update() also on GDK_ENTER_NOTIFY,
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().
2003-10-29 15:03:56 +00:00
Stanislav Visnovsky 96bdb5d7ef Updated Slovak translation by Zdenko Podobny.
2003-10-29  Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz>

        * sk.po: Updated Slovak translation by Zdenko Podobny.
2003-10-29 14:27:06 +00:00
Marco Ciampa fc07bf7b11 Updated italian translation. 2003-10-28 10:07:11 +00:00
Helvetix Victorinox b7446c0eb5 Missed ChangeLog. Thanks brix. 2003-10-28 01:58:07 +00:00
Sven Neumann c0ebe2a8a3 app/text/Makefile.am new files that load and save text layers to/from XCF.
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.
2003-10-27 21:50:41 +00:00
Michael Natterer 7cf23d8637 call gimp_dock_separator_realize() on all drop separators so their color
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.
2003-10-27 18:29:35 +00:00
Michael Natterer 601f98f2c9 scroll to the added message.
2003-10-27  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimperrorconsole.c (gimp_error_console_add): scroll
	to the added message.
2003-10-27 12:38:34 +00:00
Michael Natterer d63e2d49ae regenerated.
2003-10-27  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/tmpl/gimphelpui.sgml: regenerated.
2003-10-27 11:55:31 +00:00
Michael Natterer a8309a7d7e stop using the deprecated GtkTipsQuery widget for context help and
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.
2003-10-27 10:56:06 +00:00
Danilo Šegan ec47275afc Updated Serbian translation.
2003-10-27  Danilo Šegan  <dsegan@gmx.net>

	* sr.po, sr@Latn.po: Updated Serbian translation.
2003-10-27 00:57:42 +00:00
Michael Natterer 09ae4b29cd resurrected the runtime check for the required Gtk+ version. Depend on
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.
2003-10-26 20:25:34 +00:00
Henrik Brix Andersen c08a8f8511 really committed the change this time
2003-10-26 Henrik Brix Andersen <brix@gimp.org>

* themes/Default/images/preferences/Makefile.am: really committed
the change this time
2003-10-26 14:53:31 +00:00
Henrik Brix Andersen e047cd8b30 gimp/app/widgets/gimphelp-ids.h
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
2003-10-26 14:01:33 +00:00
Sven Neumann 142d0725ce app/text/gimptext.[ch] added back "box-unit" property; it makes sense to
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.
2003-10-26 12:07:05 +00:00
Danilo Šegan 0f33b5c413 Add a bit more to Serbian translation.
2003-10-26  Danilo Šegan  <dsegan@gmx.net>

	* sr.po, sr@Latn.po: Add a bit more to Serbian translation.
2003-10-26 04:37:46 +00:00
Danilo Šegan 355de2a504 Updated Serbian translation.
2003-10-26  Danilo Šegan  <dsegan@gmx.net>

	* sr.po, sr@Latn.po: Updated Serbian translation.
2003-10-26 04:26:43 +00:00
Sven Neumann d533104de7 handle negative float and double values similar to how this is done for
2003-10-26  Sven Neumann  <sven@gimp.org>

	* app/config/gimpconfig-deserialize.c
	(gimp_config_deserialize_fundamental): handle negative float and
	double values similar to how this is done for integers and the
	like.

	* app/config/gimpconfig-params.h: added two new param flags and
	documented all flags in the header file (for now).

	* app/config/gimpconfig-serialize.h: handle the new param flags
	GIMP_PARAM_DEFAULTS and GIMP_PARAM_IGNORE.

	* app/text/text-enums.[ch]
	* app/text/gimptext.[ch]: added some properties that we will need
	sooner or later. Mark the new properties and a lot of the existing
	ones as GIMP_PARAM_DEFAULTS so that their values are not
	serialized unless changed from the default value.

	* app/text/gimptextlayout.c
	* app/tools/gimptextoptions.c: made all length properties in
	GimpText depend on a single unit.
2003-10-26 00:03:16 +00:00
Simon Budig 332e344f94 Fixed/Added some UTF-8 encoded names. Please speak up if I did mess up
2003-10-26 Simon Budig  <simon@gimp.org>

	* tools/authorsgen/contributors: Fixed/Added some UTF-8 encoded
	names. Please speak up if I did mess up your name.

	* AUTHORS
	* app/gui/authors.h: regenerated.
2003-10-25 23:39:51 +00:00
Sven Neumann da365fdba9 app/app-docs.sgml updated.
2003-10-25  Sven Neumann  <sven@gimp.org>

	* app/app-docs.sgml
	* app/app-sections.txt: updated.

        * app/config/gimpconfig-utils.c: fixed inline docs.
2003-10-25 20:32:10 +00:00
Sven Neumann c1625d3e21 updated NEWS file 2003-10-25 20:11:21 +00:00
Sven Neumann 63f1e7ca21 corrected the source of the man-page; it's not any longer created by
2003-10-25  Sven Neumann  <sven@gimp.org>

	* app/config/gimpconfig-dump.c: corrected the source of the
	man-page; it's not any longer created by gimpconfig-dump, but by
	'gimp --dump-gimprc-manpage'.

	* docs/gimp-1.3.1.in
	* app/main.c (gimp_show_help): Reordered command-line options and
	documented the new --dump-gimprc option.
2003-10-25 20:05:41 +00:00
Sven Neumann 190a68b917 added GIMP_COLOR_PICK_MODE_NONE to the GimpColorPickMode enum.
2003-10-25  Sven Neumann  <sven@gimp.org>

	* app/tools/tools-enums.[ch]: added GIMP_COLOR_PICK_MODE_NONE to
	the GimpColorPickMode enum.

	* app/tools/gimpcolorpickeroptions.[ch]: removed "update-toolbox"
	property; the new enum value serves this role better.

	* app/tools/gimpcolorpickertool.c: handle the new enum value.

	* app/tools/gimpcolortool.c: default to GIMP_COLOR_PICK_MODE_NONE.
	Don't set a cursor modifier for this value. Fixes tool cursor for
	levels and curves tools.

	* app/tools/gimppainttool.[ch]: added a function to conveniently
	enable the color picker and set the pick mode at the same time.

	* app/tools/gimpairbrushtool.c
	* app/tools/gimppaintbrushtool.c
	* app/tools/gimppenciltool.c
	* app/tools/gimpsmudgetool.c: use the new function.

	* app/tools/gimperasertool.c: enabled color picking in the eraser
	tool but set the mode to GIMP_COLOR_PICK_MODE_BACKGROUND.
2003-10-25 19:00:49 +00:00
Sven Neumann f7db733ee2 make it a two-way connection and added a property_name parameter so it can
2003-10-25  Sven Neumann  <sven@gimp.org>

	* app/config/gimpconfig-utils.[ch] (gimp_config_connect): make it
	a two-way connection and added a property_name parameter so it
	can be used to connect only a certain property.

	* app/tools/gimptexttool.c: changed accordingly.

	* app/tools/gimphistogramoptions.c: use gimp_config_connect().
	Changed the default histogram scale to linear.
2003-10-25 17:25:34 +00:00