Commit Graph

12823 Commits

Author SHA1 Message Date
Michael Natterer 3d05015a24 use #ifdef GIMP_UNSTABLE instead of looking at GIMP_MINOR_VERSION.
2004-07-26  Michael Natterer  <mitch@gimp.org>

	* app/main.c (main): use #ifdef GIMP_UNSTABLE instead of looking
	at GIMP_MINOR_VERSION.

	* app/app_procs.c: don't #include "tools/gimp-tools.h".
2004-07-26 10:44:25 +00:00
Iñaki Larrañaga 9084bc33d5 Updated Basque translation.
2004-07-26  Iñaki Larrañaga <dooteo@euskalgnu.org>

	* eu.po: Updated Basque translation.
2004-07-26 09:52:02 +00:00
Sven Neumann 23935b2bb9 plug-ins/bmp/bmp.h applied a patch by Brion Vibber that fixes extra data
2004-07-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/bmp/bmp.h
	* plug-ins/bmp/bmpread.c: applied a patch by Brion Vibber that
	fixes extra data overflow, nonstandard 16bpp field arrangement
	and unrecognized compression (bug #143682).
2004-07-26 00:44:01 +00:00
Marco Ciampa 335c510f57 Updated italian translation 2004-07-25 22:18:43 +00:00
William Skaggs 2a803755fd Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/decompose.c: clamp results of LAB decomposition
	so that out-of-gamut conversions do not overflow and get
	badly distorted.  Fixes bug #147603.  Note that it would probably
	be a good idea to do similar things for other conversion types.
2004-07-25 21:02:31 +00:00
Görkem Çetin 5658cb1a56 CVS_SILENT 2004-07-25 18:32:48 +00:00
Shlomi Fish 95cf883274 converted checks for initialization of ppm's done by checking the "col"
* plug-ins/gimpressionist/: converted checks for initialization of
ppm's done by checking the "col" buffer, to macro calls.
2004-07-25 18:12:49 +00:00
Shlomi Fish 5559b6223e fixed bug #148088: ("Gimpressioinst crashes if given malicious presets
* plug-ins/gimpressionist/: fixed bug #148088: ("Gimpressioinst crashes if
given malicious presets with out of range values, in the radio buttons
group numeric values: "placetype", "orienttype", etc. ").

This was done by adding clamps to the relevant values in the preset.
2004-07-25 14:29:27 +00:00
Raphael Quinet 3c6ed9764b Minor fixes and improvements. Suggest using a different prefix and setting
2004-07-25  Raphael Quinet  <quinet@gamers.org>

	* INSTALL: Minor fixes and improvements.  Suggest using a
	different prefix and setting PKG_CONFIG_LIBDIR if old versions of
	GTK+ libs are found and cannot be removed without breaking other
	packages.
2004-07-25 07:53:27 +00:00
Sven Neumann 36d3ac5967 fixed formatting 2004-07-24 19:54:03 +00:00
Roman Joost 1d9d709c95 Updated few msgstrs and fixed typos
2004-07-24  Roman Joost <roman@bromeco.de>

	* de.po: Updated few msgstrs and fixed typos
2004-07-24 10:25:23 +00:00
Shlomi Fish 60f4e7680b created a header "orientation.h" for the Orientation tab specific
* plug-ins/gimpressionist/: created a header "orientation.h" for the
Orientation tab specific declarations.
2004-07-23 19:34:47 +00:00
Sven Neumann c84e84339a added missing code for grayscale previews.
2004-07-23  Sven Neumann  <sven@gimp.org>

	* libgimp/gimppixbuf.c (gimp_pixbuf_from_data): added missing code
	for grayscale previews.
2004-07-23 18:01:12 +00:00
Sven Neumann 333489a6e2 fixed handling of the last gradient segment and did some code cleanup.
2004-07-23  Sven Neumann  <sven@gimp.org>

	* app/core/gimpgradient-load.c (svg_parser_end_element): fixed
	handling of the last gradient segment and did some code cleanup.
2004-07-23 14:00:38 +00:00
Sven Neumann f0da0e438c (svg_parser_end_element): don't crash on empty gradient definitions. 2004-07-23 12:55:58 +00:00
Sven Neumann df0bf0185b improved error message.
2004-07-23  Sven Neumann  <sven@gimp.org>

	* app/core/gimpgradient-load.c (gimp_gradient_load_svg): improved
	error message.
2004-07-23 12:19:21 +00:00
Sven Neumann e965603984 added more test samples.
2004-07-23  Sven Neumann  <sven@gimp.org>

	* libgimpcolor/test-color-parser.c: added more test samples.

	* libgimpcolor/gimprgb-parse.c: fixed a bug that I found with the
	new tests.

	* app/core/gimpgradient-load.c: changed SVG parser to handle
	gradients that are defined more deeply in the SVG hierarchy. Added
	a simplistic CSS style parser to deal with gradient definitions
	that use CSS to define the gradient stop properties (closes bug
	#148127).
2004-07-23 11:31:16 +00:00
Sven Neumann 21dd07518c some newlines to improve error messages.
2004-07-23  Sven Neumann  <sven@gimp.org>

	* app/core/gimpdatafactory.c: some newlines to improve error
	messages.

	* app/core/gimpgradient-load.c (gimp_gradient_load_svg): fixed
	error handling.
2004-07-23 01:08:34 +00:00
Sven Neumann 516c5bf44c libgimpcolor/Makefile.am added a simple unit test framework for the color
2004-07-23  Sven Neumann  <sven@gimp.org>

	* libgimpcolor/Makefile.am
	* libgimpcolor/test-color-parser.c: added a simple unit test
	framework for the color parser.

	* libgimpcolor/gimprgb-parse.c: fixed parsing of rgba() values.

	* libgimpmath/test-md5.c: minor cleanup.
2004-07-22 23:30:52 +00:00
Roman Joost 1b5c6356c3 removed all the fuzzyness
2004-07-23  Roman Joost	<roman@bromeco.de>

	* de.po: removed all the fuzzyness
2004-07-22 22:30:02 +00:00
Sven Neumann a28122f8db added support for the "transparent" color name.
2004-07-23  Sven Neumann  <sven@gimp.org>

	* libgimpcolor/gimprgb-parse.c (gimp_rgba_parse_css): added support
	for the "transparent" color name.
2004-07-22 22:29:54 +00:00
Sven Neumann 75565f28f3 libgimpcolor/gimprgb-parse.c improved the CSS color parser code, added new
2004-07-22  Sven Neumann  <sven@gimp.org>

	* libgimpcolor/gimprgb-parse.c
	* libgimpcolor/gimprgb.h: improved the CSS color parser code,
	added new function gimp_rgba_parse_css(), added support for HSL
	color values.
2004-07-22 22:22:59 +00:00
Sven Neumann a6f4f62608 libgimpcolor/gimprgb-parse.c use a signed integer to pass the string
2004-07-22  Sven Neumann  <sven@gimp.org>

	* libgimpcolor/gimprgb-parse.c
	* libgimpcolor/gimprgb.h: use a signed integer to pass the string
	length to the new parser functions. The API explicitely asks for
	-1 to be passed...

	* app/core/gimp.c
	* app/core/gimpgradient-load.[ch]
	* app/core/gimpgradient.h: added preliminary support for loading
	simple SVG gradients (see bug #148127).  Be careful with this new
	feature; editing the loaded gradient will cause the SVG file to be
	overwritten! Work in progress...
2004-07-22 19:07:28 +00:00
Sven Neumann a14bddae8a libgimpcolor/Makefile.am libgimpcolor/gimprgb-parse.c added more RGB
2004-07-22  Sven Neumann  <sven@gimp.org>

	* libgimpcolor/Makefile.am
	* libgimpcolor/gimprgb-parse.c
	* libgimpcolor/gimprgb.[ch]: added more RGB parsers and moved the
	code to a dedicated file.

	* libgimpcolor/gimpcolor.def: added new symbols.

	* libgimpwidgets/gimpcolorscales.c: use gimp_rgb_parse_hex().
2004-07-22 17:26:22 +00:00
Michael Natterer 982d8abfb0 app/app-docs.sgml updated after gimpgradient.c chopping.
2004-07-22  Michael Natterer  <mitch@gimp.org>

	* app/app-docs.sgml
	* app/app-sections.txt: updated after gimpgradient.c chopping.
2004-07-22 14:52:37 +00:00
Sven Neumann d3caf7a3ed app/core/Makefile.am app/core/gimpgradient-load.[ch]
2004-07-22  Sven Neumann  <sven@gimp.org>

	* app/core/Makefile.am
	* app/core/gimpgradient-load.[ch]
	* app/core/gimpgradient-save.[ch]
	* app/core/gimpgradient.[ch]: moved gradient file handling out of
	gimpgradient.c to new files.

	* app/core/gimp.c
	* app/actions/gradients-commands.c: changed accordingly.

	* libgimpcolor/gimpcolor.def: added gimp_rgb_parse_name.
2004-07-22 13:58:29 +00:00
Sven Neumann fd36a39850 fixed gtk-doc comments and updated API docs 2004-07-22 13:21:44 +00:00
Michael Natterer c79f1a43a1 image/g -> image/g3fax.
2004-07-22  Michael Natterer  <mitch@gimp.org>

	* data/misc/gimp.desktop.in.in (MimeType): image/g -> image/g3fax.
2004-07-22 12:47:03 +00:00
Sven Neumann b50ea15b26 rephrased the text for the dialog that appears if a new shortcut collides
2004-07-22  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpactionview.c: rephrased the text for the dialog
	that appears if a new shortcut collides with an existing one.

	* libgimpcolor/gimprgb.[ch]: added new function gimp_rgb_parse_name()
	which accepts RGB colors in hexadezimal notation or as SVG color
	keywords.
2004-07-22 12:42:57 +00:00
Michael Natterer 3153eced5d s/pause/resume/ in the API docs.
2004-07-22  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell.c (gimp_display_shell_resume):
	s/pause/resume/ in the API docs.
2004-07-22 12:05:36 +00:00
Michael Natterer fe9580449a correctly convert relative paths to URIs. Append the resulting URI only if
2004-07-22  Michael Natterer  <mitch@gimp.org>

	* tools/gimp-remote.c (main): correctly convert relative paths to
	URIs. Append the resulting URI only if it's not NULL.
2004-07-22 11:32:50 +00:00
Michael Natterer a5760e33fe connect to "accel-changed" of the accel_group using connect_object(), not
2004-07-22  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimptoolbox.c (toolbox_create_tools): connect to
	"accel-changed" of the accel_group using connect_object(), not
	just connect() so we don't crash when it's emitted after the
	toolbox is destroyed.
2004-07-22 11:18:52 +00:00
Sven Neumann f9c15b4724 fixed typos 2004-07-21 21:14:56 +00:00
Ray Strode c7f0f7e45f Add MimeType line to desktop file new mime sytem.
2004-07-21  Ray Strode  <rstrode@redhat.com>
	* gimp/data/misc/gimp.desktop.in.in: Add MimeType line to desktop file
	new mime sytem.
2004-07-21 19:25:12 +00:00
Sven Neumann a70d2dd8a2 declared global const variable as static. Fixes compiler warnings seen
2004-07-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/gif.c: declared global const variable as static.
	Fixes compiler warnings seen with gcc 3.4.1 (don't ask me why).
2004-07-21 17:06:18 +00:00
Michael Natterer a80977b0bc app/widgets/gimptemplateeditor.c plug-ins/common/gif.c set GTK_SHADOW_IN
2004-07-21  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimptemplateeditor.c
	* plug-ins/common/gif.c
	* plug-ins/common/jpeg.c: set GTK_SHADOW_IN on scrolled windows of
	text views. Fixes bug #148025.
2004-07-21 16:29:29 +00:00
Michael Natterer cc6288a4fb Enabled the various "Clear saved foobar now" buttons in prefs:
2004-07-21  Michael Natterer  <mitch@gimp.org>

	Enabled the various "Clear saved foobar now" buttons in prefs:

	* app/gui/session.[ch]
	* app/menus/menus.[ch]
	* app/widgets/gimpdevices.[ch]: implemented the _clear()
	functions: unlink() the rc file and set an internal flag that it
	has been deleted. Added "gboolean always_save" parameter to the
	_save() functions and don't save anything if it is FALSE and the
	internal deletion flag has been set.

	* app/gui/gui.c
	* app/widgets/gimpdevicestatus.c: changed accordingly.

	* app/gui/preferences-dialog.c: added callbacks for all "Save now"
	and "Clear now" buttons and show error messages if clearing fails.
	Inform the user that she has to restart GIMP to see the effect of
	the clearing.
2004-07-21 16:11:31 +00:00
Michael Natterer e7479951b5 app/core/gimpmarshal.list added "gboolean delete" parameter to the
2004-07-21  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpmarshal.list
	* app/widgets/gimpcellrendereraccel.[ch]: added "gboolean delete"
	parameter to the GimpCellRendererAccel::accel_edited() signal.

	* app/widgets/gimpactionview.c: distinguish between deletion of an
	accelerator and the user entering an invalid accelerator.
2004-07-21 14:09:36 +00:00
Shlomi Fish 59179c2dd9 normalized the identifiers in placement.c.
* plug-ins/gimpressionist/: normalized the identifiers in placement.c.
2004-07-21 13:48:13 +00:00
Michael Natterer 7c7879b669 changed names of actions which select brushes, patterns etc. from e.g.
2004-07-21  Michael Natterer  <mitch@gimp.org>

	* app/actions/context-actions.c: changed names of actions which
	select brushes, patterns etc. from e.g. "context-brush-first" to
	"context-brush-select-first".

	* menus/image-menu.xml.in: changed accordingly.
2004-07-21 12:53:38 +00:00
Michael Natterer b241a40b43 remember the keyboard shortcut dialog and show it only once.
2004-07-21  Michael Natterer  <mitch@gimp.org>

	* app/gui/preferences-dialog.c: remember the keyboard shortcut
	dialog and show it only once.

	* app/widgets/gimpactionview.c
	* app/widgets/gimpcellrendereraccel.c: minor cleanups.

	Seems to work pretty well now and thus fixes bug #142922.
2004-07-21 11:28:31 +00:00
Michael Natterer e656cdeb68 app/app-docs.sgml app/app-sections.txt added GimpActionView and
2004-07-21  Michael Natterer  <mitch@gimp.org>

	* app/app-docs.sgml
	* app/app-sections.txt
	* app/app.types: added GimpActionView and GimpCellRendererAccel.
2004-07-21 09:43:52 +00:00
Michael Natterer 62bf62a151 app/core/gimpmarshal.list app/widgets/Makefile.am
2004-07-21  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpmarshal.list
	* app/widgets/Makefile.am
	* app/widgets/widgets-types.h
	* app/widgets/gimpcellrendereraccel.[ch]: new cell renderer
	which displays an accelerator and allows to edit it (ripped
	out of libegg and modified).

	* app/widgets/gimpactionview.c: use the new renderer and connect
	to its "accel-edited" signal (its callback is one huge mess that
	needs to be cleaned up). Added ugly hack to work around GTK+ API
	limitation that seems to prevent implementing a shortcut editor in
	a sane way.

	* app/actions/file-actions.c
	* app/actions/image-actions.c
	* app/actions/tools-actions.c: added ugly hacks here, too.

	* app/gui/preferences-dialog.c: relaced Cancel/Ok in the shortcut
	editor by Close.
2004-07-21 00:39:46 +00:00
Sven Neumann fef6257145 added back "pa" for Punjabi now that the missing po files have been added
2004-07-20  Sven Neumann  <sven@gimp.org>

	* configure.in (ALL_LINGUAS): added back "pa" for Punjabi now that
	the missing po files have been added (tips/pa.po is still missing
	though).
2004-07-20 21:20:39 +00:00
Michael Natterer 94fc8f15a1 app/widgets/gimpactionfactory.[ch] added "label" and "stock-id" properties
2004-07-20  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpactionfactory.[ch]
	* app/widgets/gimpactiongroup.[ch]: added "label" and "stock-id"
	properties to GtkActionGroup and allow to register them in the
	GimpActionFactory.

	* app/actions/actions.c: register user visible labels and icons
	with all action groups.

	* app/widgets/Makefile.am
	* app/widgets/widgets-types.h
	* app/widgets/gimpactionview.[ch]: new widget which shows a
	treeview of action groups and their actions & shortcuts.

	* app/widgets/gimpaction.[ch]: added gimp_action_name_compare()
	utility function.

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

	* app/widgets/gimpcontrollers.[ch]: added
	gimp_controllers_get_ui_manager() which will be used for setting
	up the controller mapping dialog.

	* app/gui/preferences-dialog.c: added a "Configure Keyboard
	Shortcuts" button which pops up a GimpControllerView. Work in
	progress...
2004-07-20 18:50:20 +00:00
Michael Natterer 868bee6540 make sure that the "image-new" and "image-new-from-image" actions always
2004-07-20  Michael Natterer  <mitch@gimp.org>

	* app/actions/image-actions.c: make sure that the "image-new" and
	"image-new-from-image" actions always have the same shortcut.
2004-07-20 18:36:07 +00:00
William Skaggs 85e884cee1 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/Lighting/lighting_main.c
	* plug-ins/Lighting/lighting_main.h
	* plug-ins/Lighting/lighting_preview.c
	* plug-ins/Lighting/lighting_preview.h
	* plug-ins/Lighting/lighting_shade.c
	* plug-ins/Lighting/lighting_ui.c: completely reworked UI for
	lighting page.  Now supports up to 6 lights (more is trivial).
	Added ability to temporarily isolate selected light.  Added
	light intensity controls.  Can interactively position each light
	(does not quite work yet for directional lights).
2004-07-20 18:19:47 +00:00
Michael Natterer 8f74e672a8 added an icon to the "tools-visibility" action.
2004-07-20  Michael Natterer  <mitch@gimp.org>

	* app/actions/tools-actions.c: added an icon to the
	"tools-visibility" action.
2004-07-20 18:13:49 +00:00
Sven Neumann aab25cdc36 now that the output depends on --verbose, enable it for stable releases
2004-07-20  Sven Neumann  <sven@gimp.org>

	* app/composite/gimp-composite.c (gimp_composite_init): now that
	the output depends on --verbose, enable it for stable releases also.
2004-07-20 16:55:39 +00:00
Shlomi Fish faa6e7b70d fixed the incorrect strings for input and output of the preset's fields.
* plug-ins/gimpressionist/presets.c: fixed the incorrect strings
for input and output of the preset's fields. (a relic of an
irresponsible search-and-replace script).
* plug-ins/gimpressionist/: normalized the identifiers of
orientmap.c.
2004-07-20 16:54:22 +00:00