Commit Graph

10144 Commits

Author SHA1 Message Date
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
David Odin ad37e4a6bc added a real dependency for gimpressionist.c on logo-pixbuf.h. 2003-10-25 16:47:03 +00:00
Sven Neumann 1a246b695c added "ms" (Malay) now that all po files are there.
2003-10-25  Sven Neumann  <sven@gimp.org>

	* configure.in (ALL_LINUGUAS): added "ms" (Malay) now that all po
	files are there.

	(PANGOFT2_REQUIRED_VERSION) depend on PangoFT2 >= 1.2.2. There are
	a couple of bug-fixes that are needed to make the text tool work.
	Actually you should use at least version 1.2.4.

	(GTK_REQUIRED_VERSION): depend on GTK+ >= 2.2.2. Earlier versions
	had bugs that we don't want to work around any longer.

	* INSTALL: document this change.

	* app/gui/gui.c (gui_post_init): removed the GTK+ version check.

	* app/text/gimptext.[ch]: added properties for letter spacing and
	kerning for compatibility with future GIMP versions implementing
	these features.
2003-10-25 15:25:17 +00:00
Helvetix Victorinox 78215a79ff Added functions to print the pixels in their various formats.
* app/composite/gimp-composite-regression.c: Added functions to
  print the pixels in their various formats.

* app/composite/gimp-composite-{mmx,sse,sse2}.c: Removed the dodge
  optimisation because it has the same problem that the divide
  optimisation has.

* app/composite/make-install.py: When generating tests, use a
  pixel field of random values.
2003-10-25 06:39:00 +00:00
Sven Neumann e00f5abda8 fixed(?) dependencies.
2003-10-25  Sven Neumann  <sven@gimp.org>

	* plug-ins/gimpressionist/Makefile.am: fixed(?) dependencies.
2003-10-24 22:38:43 +00:00
Sven Neumann 4edb27850c disable the progress bar when loading a preview for the JPEG dialog.
2003-10-25  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/jpeg.c: disable the progress bar when loading a
	preview for the JPEG dialog.
2003-10-24 22:24:33 +00:00
Sven Neumann b2d26602b7 forgot to commit the ChangeLog 2003-10-24 22:00:42 +00:00
Sven Neumann 126110cfda removed again. The XPM format is deprecated.
2003-10-24  Sven Neumann  <sven@gimp.org>

	* plug-ins/gimpressionist/logo.xpm: removed again. The XPM format
	is deprecated.

	* plug-ins/gimpressionist/Makefile.am
	* plug-ins/gimpressionist/logo.png: added the logo as PNG file and
	added Makfile rules to create an inline pixbuf as logo-pixbuf.h.

	* plug-ins/gimpressionist/gimpressionist.c: changed accordingly.
2003-10-24 21:50:25 +00:00
Maurits Rijk 4663fc88e4 Replaced gtk_tooltips_set_tip by gimp_help_set_help_data. Removed use of yet another deprecated widget. 2003-10-24 20:57:29 +00:00
Dave Neary 705c97865b Forgot to commit this generated file earlier.
2003-10-24  Dave Neary  <bolsh@gimp.org>

        * app/pdb/path_cmds.c: Forgot to commit this generated file
        earlier.
2003-10-24 20:13:48 +00:00
Sven Neumann 86c4a9b264 an attempt to improve our installation instructions.
2003-10-24  Sven Neumann  <sven@gimp.org>

	* INSTALL: an attempt to improve our installation instructions.
2003-10-24 20:08:57 +00:00
Dave Neary 36965d271f Applied a patch from Wolfgang Hofer <hof@gimp.org> to make
2003-10-24  Dave Neary  <bolsh@gimp.org>

        * tools/pdbgen/pdb/paths.pdb: Applied a patch from
        Wolfgang Hofer <hof@gimp.org> to make gimp_path_get_points
        behave the same as in 1.2.x. Closes bug #125008.
2003-10-24 15:51:16 +00:00
Jakub Steiner 1c93e408dd themes/Default/images/stock-histogram-linear-16.png touched up a tiny
2003-10-24  Jakub Steiner <jimmac@ximian.com>

* themes/Default/images/stock-histogram-linear-16.png
* themes/Default/images/stock-histogram-logarithmic-16.png:
  touched up a tiny little bit
2003-10-24 15:22:18 +00:00
Sven Neumann 437f1bbf26 updated after files have been moved.
2003-10-24  Sven Neumann  <sven@gimp.org>

	* POTFILES.in: updated after files have been moved.
2003-10-24 13:40:19 +00:00
Maurits Rijk fadfcf5f11 Replaced underscores in filenames by hyphens. 2003-10-24 13:28:46 +00:00
Sven Neumann 3dddb283fe fixed spelling of The GIMP.
2003-10-24  Sven Neumann  <sven@gimp.org>

	* app/errors.c (gimp_errors_init): fixed spelling of The GIMP.
2003-10-24 10:19:33 +00:00
Sven Neumann 5334b2a42b code cleanup.
2003-10-24  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimphistogramview.c: code cleanup.
2003-10-24 10:14:05 +00:00
Sven Neumann 73133f56f0 added app/tools/gimphistogramoptions.c.
2003-10-24  Sven Neumann  <sven@gimp.org>

	* POTFILES.in: added app/tools/gimphistogramoptions.c.
2003-10-24 08:12:31 +00:00
Sven Neumann 6c44628a4b app/tools/Makefile.am new tool options class GimpHistogramOptions, derived
2003-10-24  Sven Neumann  <sven@gimp.org>

	* app/tools/Makefile.am
	* app/tools/gimphistogramoptions.[ch]: new tool options class
	GimpHistogramOptions, derived from GimpColorOptions.

	* app/tools/gimpcoloroptions.c (gimp_color_options_gui): add
	gimp_histogram_options_gui() when called with GimpHistogramOptions.
	This a bit weird since the class hierarchy is the other way around
	but it makes things easier.

	* app/tools/gimphistogramtool.c
	* app/tools/gimplevelstool.c
	* app/tools/gimpthresholdtool.c: use GimpHistogramOptions and
	connect the histogram views to the "histogram-scale" property.
	Perhaps not perfect GUI-wise but it let's you choose the histogram
	scale and stores this setting per tool. Fixes bug #125306.

	* app/widgets/gimphistogramview.c: prefixed property names with
	"histogram-" so they match the GimpHistogramOptions property.

	* app/widgets/gimphistogrambox.c: minor cleanup.
2003-10-24 08:12:21 +00:00
Sven Neumann f299ada6e3 themes/Default/images/Makefile.am
2003-10-24  Sven Neumann  <sven@gimp.org>

	* themes/Default/images/Makefile.am
	* themes/Default/images/stock-histogram-linear-16.png
	* themes/Default/images/stock-histogram-logarithmic-16.png:
	added placeholders for new icons.

	* libgimpwidgets/gimpstock.[ch]: register the new icons.

	* app/tools/gimphistogramtool.c: made the dialog more compact by
	using a stock-box for the histogram scale.

	* app/widgets/gimphistogramview.c (gimp_histogram_view_expose):
	don't invert the histogram view if the full range is selected.

	* app/widgets/gimphistogrambox.c: moved the range widgets below
	the histogram.

	* app/config/gimpconfig-params.h: added macro
	GIMP_CONFIG_INSTALL_PROP_RESOLUTION() that installs a double
	property with the suitable range.

	* app/core/gimptemplate.c
	* app/config/gimpdisplayconfig.c: use it here.
2003-10-24 06:22:53 +00:00
Helvetix Victorinox a7476d123b Incorrectly reported the inverse of whether not the 3dNow instruction set
* app/composite/gimp-composite-3dnow.c:
  Incorrectly reported the inverse of whether not the 3dNow instruction set is
	supported by the current CPU.

* app/composite/gimp-composite-{mmx,sse}.c:
  Removed linkage of gimp_composite_divide_*.  Something is
  inexplicably broken, and this will get people working again
  while I debug.  This should close bug #125101.
2003-10-23 22:35:06 +00:00
Sven Neumann 393856aa3d made debugging output conditional and fixed some user-visible strings.
2003-10-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/sample_colorize.c: made debugging output
	conditional and fixed some user-visible strings.
2003-10-23 18:19:53 +00:00
Sven Neumann 1d370ebe1b setup size entries in the order suggested by the GimpSizeEntry
2003-10-23  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimppropwidgets.c: setup size entries in the order
	suggested by the GimpSizeEntry documentation.

	* libgimpwidgets/gimpsizeentry.c: added an internal flag so the
	size entry knows if the boundaries are set on the value or on the
	reference value.  Needed to make gimp_size_entry_update_unit() do
	the right thing.
2003-10-23 17:35:18 +00:00
Henrik Brix Andersen d91f29383f gimp/app/display/gimpdisplayoptions.c added blurbs to the remaining
2003-10-23 Henrik Brix Andersen <brix@gimp.org>

* gimp/app/display/gimpdisplayoptions.c
* gimp/app/config/gimprc-blurbs.h: added blurbs to the remaining
properties of GimpDisplayOptions and GimpDisplayOptionsFullscreen
2003-10-23 17:02:37 +00:00
Sven Neumann e2f2e1d0a5 take the boundaries from the GParamSpec instead of hardcoding them. Added
2003-10-23  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimppropwidgets.[ch] (gimp_prop_size_entry_new): take
	the boundaries from the GParamSpec instead of hardcoding them.
	Added a utility function to reduce code duplication.
2003-10-23 16:58:16 +00:00
Jakub Steiner 4c95deabea themes/Default/images/stock-tools-16.png make the outline more crisp
2003-10-23  Jakub Steiner <jimmac@ximian.com>

* themes/Default/images/stock-tools-16.png
* themes/Default/images/stock-tools-24.png: make the outline
  more crisp
2003-10-23 16:10:42 +00:00
Sven Neumann c6340492dd set a tooltip on the "Auto" button since it isn't obvious what it does.
2003-10-23  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpimagedock.c (gimp_image_dock_init): set a
	tooltip on the "Auto" button since it isn't obvious what it does.
2003-10-23 14:26:44 +00:00
Sven Neumann 03b90ade98 themes/Default/images/Makefile.am
2003-10-23  Sven Neumann  <sven@gimp.org>

	* themes/Default/images/Makefile.am
	* themes/Default/images/stock-tools-[16|24].png
	* themes/Default/images/stock-device-status-24.png
	* themes/Default/images/stock-tool-options-24.png: new icons drawn
	by Jimmac.

	* libgimpwidgets/gimpstock.[ch]: register the new icons.

	* app/gui/dialogs-constructors.c
	* app/gui/dialogs-menu.c: use the new GIMP_STOCK_TOOLS icon.

	* app/gui/image-menu.c
	* app/gui/toolbox-menu.c: add the Tools dialog entry here as well.

	* app/widgets/gimphelp-ids: s/TOOL_DIALOG/TOOLS_DIALOG/.
2003-10-23 13:04:44 +00:00
Michael Natterer 51c13ef06d avoid potential crash (access pointer *after* precondition check).
2003-10-23  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell-appearance.c
	(gimp_display_shell_set_padding): avoid potential crash (access
	pointer *after* precondition check).
2003-10-23 12:08:16 +00:00
Michael Natterer 507b19bc91 properly align the toggle button columns by packing their containers
2003-10-23  Michael Natterer  <mitch@gimp.org>

	* app/gui/preferences-dialog.c (prefs_display_options_frame_add):
	properly align the toggle button columns by packing their
	containers expanding, removed ascii art, cleanup.
2003-10-23 11:39:33 +00:00
Henrik Brix Andersen 879d2c2864 changed PROP_SHOW_ACTIVE_LAYER to PROP_SHOW_LAYER_BOUNDARY to be
2003-10-23 Henrik Brix Andersen <brix@gimp.org>

* gimp/app/display/gimpdisplayoptions.[ch]: changed
PROP_SHOW_ACTIVE_LAYER to PROP_SHOW_LAYER_BOUNDARY to be
consistent with the user interface

* gimp/app/display/gimpdisplayshell-appearance.c
* gimp/app/display/gimpdisplayshell-callbacks.c
* gimp/app/gui/preferences-dialog.c
* gimp/app/gui/image-menu.c: changed accordingly
2003-10-23 07:33:16 +00:00
Sven Neumann bf87ccec64 fixed inline documentation.
2003-10-23  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimptooldialog.c (gimp_tool_dialog_new): fixed
	inline documentation.
2003-10-23 01:03:24 +00:00
Sven Neumann 6002f50781 updated german translation.
2003-10-23  Sven Neumann  <sven@gimp.org>

	* de.po: updated german translation.
2003-10-23 00:55:27 +00:00
Sven Neumann fd14ea363d app/app.types app/app-docs.sgml updated.
2003-10-23  Sven Neumann  <sven@gimp.org>

	* app/app.types
	* app/app-docs.sgml
	* app/app-sections.txt: updated.
2003-10-23 00:43:34 +00:00
Simon Budig 1f3702a575 Changed the priority of ALT vs. CTRL. Resolves an small issue with
2003-10-22 Simon Budig  <simon@gimp.org>

        * app/tools/gimpvectortool.c: Changed the priority
        of ALT vs. CTRL. Resolves an small issue with (broken)
        window managers that grab ALT. Implements the suggestion
        from Raymond Ostertag in bug #124971.
2003-10-22 20:55:45 +00:00
Dave Neary 9db407dfa5 Bumped version number to 2.0. Closes bug #125237.
2003-10-22  Dave Neary  <bolsh@gimp.org>

	* plug-ins/gfig/gfig.c: Bumped version number to 2.0. Closes
	bug #125237.
2003-10-22 20:41:38 +00:00
Dave Neary ac6bd36f52 Add outstanding display options to preferences dialog.
2003-10-22  Dave Neary  <bolsh@gimp.org>

	* app/gui/preferences-dialog.c: Add outstanding display options to
	preferences dialog.
2003-10-22 20:32:13 +00:00
Jan Morén 0060cf2d81 Updated Swedish translation.
2003-10-22  Jan Morén  <jan.moren@lucs.lu.se>

         * sv.po: Updated Swedish translation.
2003-10-22 17:48:17 +00:00
Marco Ciampa bf0f5f7c8d Updated italian translation. 2003-10-22 16:21:17 +00:00
Sven Neumann 81aee7cd2b app/config/gimprc-blurbs.h don't set separate blurbs for the fullscreen
2003-10-22  Sven Neumann  <sven@gimp.org>

	* app/config/gimprc-blurbs.h
	* app/display/gimpdisplayoptions.h: don't set separate blurbs for
	the fullscreen options. It only means extra work for the translators
	without much (if any) value.
2003-10-22 15:26:41 +00:00
Sven Neumann e3480536f3 app/display/Makefile.am new files that implement a GimpConfig object with
2003-10-22  Sven Neumann  <sven@gimp.org>

	* app/display/Makefile.am
	* app/display/gimpdisplayoptions.[ch]: new files that implement
	a GimpConfig object with GimpDisplayShell and GimpCanvas options.
	Actually two classes, one for the normal view, a derived one with
	different default values for fullscreen mode.

	* app/display/display-enums.[ch]: renamed GimpDisplayPadding enum
	to GimpCanvasPadding.

	* app/config/config-types.h: added the GimpDisplayOptions typedef.

	* app/config/gimprc-blurbs.h
	* app/config/gimpdisplayconfig.[ch]: replaced a bunch of properties
	with two instances of GimpDisplayOptions.

	* app/display/gimpdisplayshell.[ch]: replaced the
	GimpDisplayShellAppearance struct with GimpDisplayOptions.

	* app/display/gimpdisplayshell-appearance.[ch]
	* app/display/gimpdisplayshell-callbacks.c
	* app/display/gimpdisplayshell-handlers.[ch]
	* app/gui/image-menu.c: changed accordingly.

	* app/gui/preferences-dialog.c: added a convenience function that
	creates a view on a GimpDisplayOptions object. Not all values are
	configurable here yet.

	* docs/gimprc-1.3.5.in
	* etc/gimprc: regenerated to document the gimprc format changes.
2003-10-22 14:46:05 +00:00
Sven Neumann 49fd45e277 added new function gimp_rgb_set_gdk_color().
2003-10-22  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpwidgets-utils.[ch]: added new function
	gimp_rgb_set_gdk_color().

	* app/config/gimprc.c (gimp_rc_load): unlinking the broken gimprc
	doesn't really help so don't do it. GIMP will continue to complain
	until the gimprc is fixed.
2003-10-22 14:31:44 +00:00
Sven Neumann 07b6d2103b no need to reimplement the default GimpConfigInterface implementation.
2003-10-22  Sven Neumann  <sven@gimp.org>

	* app/core/gimptemplate.c: no need to reimplement the default
	GimpConfigInterface implementation.

	* app/config/gimpcoreconfig.c: renamed notify handlers.
2003-10-22 12:37:10 +00:00
Dave Neary bac2d9fcc0 Applied a slightly modified patch from Vesa Halttunen <vesuri@jormas.com>
2003-10-21  Dave Neary  <bolsh@gimp.org>

        * app/core/gimpimage-convert.c: Applied a slightly modified
        patch from Vesa Halttunen <vesuri@jormas.com> to sort generated
        optimum palettes. Closes bug #119824.
2003-10-21 19:53:31 +00:00
Sven Neumann 3930693783 base/base.c (base_init) moved the message about possible debug messages to
2003-10-21  Sven Neumann  <sven@gimp.org>

	* base/base.c (base_init)
	* app/errors.c (gimp_errors_init): moved the message about
	possible debug messages to gimp_errors_init() so that it appears
	before any startup debug output.

	* app/app_procs.c (app_init): register a log handler for the
	GimpConfig log domain.

	* app/widgets/gimpwidgets-utils.c (gimp_message_box)
	* app/core/gimp.c (gimp_message): added an extra newline when
	sending messages to stderr. Don't output the full progname for
	messages; use a simple "GIMP" like the GUI message handler does.

	* app/gui/user-install-dialog.c: removed function copy_file()...

	* app/config/gimpconfig-utils.[ch]: ... and added it here as
	gimp_config_file_copy(). Also added utility function
	gimp_config_file_backup_on_error().

	* app/config/gimprc.c (gimp_rc_load): if the user gimprc can't be
	parsed, create a backup and if that succeeds unlink the broken one
	to cure the problem.

	* app/gui/session.c: create a backup if sessionrc can't be parsed.

	* config/gimpconfig-deserialize.c (gimp_config_deserialize_properties):
	don't set an error when token is G_TOKEN_NONE; it should already
	be set then.
2003-10-21 18:14:58 +00:00
Michael Natterer 42312ecac7 added new virtual function GimpDocked::get_title() which returns a custom
2003-10-21  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpdocked.[ch]: added new virtual function
	GimpDocked::get_title() which returns a custom title. Added signal
	"title_changed". Added public wrappers around the new stuff.

	* app/widgets/gimpdockable.c: implement GtkContainer::add() and
	::remove() and connect to the child's "title_changed" signal. Use
	the GimpDocked's title if it provides one.

	* app/widgets/gimptooloptionseditor.c: implement
	GimpDocked::get_title() and return e.g. "Paintbrush Options". Emit
	"title_changed" when the active tool changes. Simplified
	GimpDocked::get_preview()'s implementation a lot since it does not
	include a label any more.
2003-10-21 14:49:12 +00:00
Miloslav Trmac f142ca8e9b Update Czech translation 2003-10-21 14:30:18 +00:00
Sven Neumann 1758feb8f4 changed the default value for "sample_average" to TRUE (for Levels and
2003-10-21  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpcoloroptions.c: changed the default value for
	"sample_average" to TRUE (for Levels and Curves tools).

	* app/tools/gimpcolorpickeroptions.c: override the default value
	for "sample_average" and set it back to FALSE (for Color Picker).
2003-10-21 12:45:58 +00:00
Sven Neumann 55fd373096 documented gimp_tool_dialog_new().
2003-10-21  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimptooldialog.c: documented gimp_tool_dialog_new().
2003-10-21 11:31:49 +00:00
Sven Neumann 7e23d307a4 don't include the plug-in name in error messages; GIMP takes care of that
2003-10-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/align_layers.c: don't include the plug-in name
	in error messages; GIMP takes care of that for us.
2003-10-20 23:32:20 +00:00