Commit graph

20018 commits

Author SHA1 Message Date
Pema Geyleg 3df8641848 Updated dzongkha translation
svn path=/trunk/; revision=22185
2007-03-28 04:31:30 +00:00
Pema Geyleg 544e70d619 updated dzongkha translation
svn path=/trunk/; revision=22184
2007-03-28 04:27:22 +00:00
Joao S. O. Bueno Calligaris e378ca0f46 clarified documentation for add_mask procedure; fixed typo in
2007-03-28 Joao S. O. Bueno Calligaris <gwidion@mpc.com.br>

        * tools/pdbgen/pdb/layer.pdb: clarified documentation for
        add_mask procedure; fixed typo in documentation for create_mask.

svn path=/trunk/; revision=22183
2007-03-28 03:00:30 +00:00
Sven Neumann fe0b95b6bc app/widgets/gimpdbusservice.[ch] added a boolean return value to the D-Bus
2007-03-27  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpdbusservice.[ch]
	* app/widgets/dbus-service.xml: added a boolean return value to
	the D-Bus Open method.


svn path=/trunk/; revision=22182
2007-03-27 20:12:44 +00:00
Sven Neumann 518b13d17b changed file_open_from_command_line() to deal with a single filename only.
2007-03-27  Sven Neumann  <sven@gimp.org>

	* app/file/file-open.[ch]: changed file_open_from_command_line()
	to deal with a single filename only.

	* app/widgets/gimpdbusservice.[ch]
	* app/widgets/dbus-service.xml: changed the D-Bus Open method to
	take only a single filename.

	* app/app.c
	* app/main.c: changed accordingly.


svn path=/trunk/; revision=22181
2007-03-27 19:40:31 +00:00
Gabor Kelemen 3ab0abce3c Translation updated by Árpád Bíró.
2007-03-27  Gabor Kelemen  <kelemeng@gnome.hu>

	* hu.po: Translation updated by Árpád Bíró.


svn path=/trunk/; revision=22179
2007-03-27 12:14:28 +00:00
Gabor Kelemen 6e679408b9 Translation updated by Árpád Bíró.
2007-03-27  Gabor Kelemen  <kelemeng@gnome.hu>

	* hu.po: Translation updated by Árpád Bíró.


svn path=/trunk/; revision=22178
2007-03-27 12:06:52 +00:00
Gabor Kelemen d70e3feab1 Translation updated by Árpád Bíró.
2007-03-27  Gabor Kelemen  <kelemeng@gnome.hu>

	* hu.po: Translation updated by Árpád Bíró.


svn path=/trunk/; revision=22177
2007-03-27 12:03:00 +00:00
Gabor Kelemen fde4190013 Translation updated by Árpád Bíró.
2007-03-27  Gabor Kelemen  <kelemeng@gnome.hu>

	* hu.po: Translation updated by Árpád Bíró.


svn path=/trunk/; revision=22176
2007-03-27 11:48:42 +00:00
Michael Schumacher 9057a3dfa4 Check if the files to be read or written and the temporary files have been
2007-03-26  Michael Schumacher  <schumaml@cvs.gnome.org>

	* plug-ins/common/compressor.c (save_image, load_image): 
	Check if the files to be read or written and the temporary files
	have been opened. Otherwise, bail out safely instead of causing a
	crash. Fixes bug #422444.

svn path=/trunk/; revision=22175
2007-03-26 22:43:46 +00:00
Sven Neumann aa3eff52bd oops, fixed the onject path
svn path=/trunk/; revision=22172
2007-03-26 21:23:34 +00:00
Sven Neumann b2c2d9902a app/widgets/dbus-service.xml be more specific in the D-Bus service and
2007-03-26  Sven Neumann  <sven@gimp.org>

	* app/widgets/dbus-service.xml
	* app/widgets/gimpdbusservice.h: be more specific in the D-Bus
	service and interface name.


svn path=/trunk/; revision=22171
2007-03-26 21:19:30 +00:00
Priit Laes ce63667730 Translation updated..
2007-03-25  Priit Laes  <plaes@cvs.gnome.org>

	* et.po: Translation updated..


svn path=/trunk/; revision=22170
2007-03-25 14:01:14 +00:00
Marco Ciampa 3debe2aa97 Updated italian translation
svn path=/trunk/; revision=22169
2007-03-25 13:30:11 +00:00
Marco Ciampa 29900d5859 Updated italian translation
svn path=/trunk/; revision=22168
2007-03-25 13:27:36 +00:00
Marco Ciampa 6d4c3a2fd0 Updated italian translation
svn path=/trunk/; revision=22167
2007-03-25 13:13:06 +00:00
Gabor Kelemen 266cef6c9f Translation updated.
2007-03-25  Gabor Kelemen  <kelemeng@gnome.hu>

	* hu.po: Translation updated.


svn path=/trunk/; revision=22166
2007-03-25 00:09:11 +00:00
Stéphane Raimbault f6b5754e4b Updated French translation by Laurent Monin, Claude Paroz and Stéphane
2007-03-24  Stéphane Raimbault  <stephane.raimbault@gmail.com>

	* fr.po: Updated French translation by Laurent Monin, Claude Paroz
	and Stéphane Raimbault.

svn path=/trunk/; revision=22165
2007-03-24 13:16:53 +00:00
Sven Neumann 9ae026c39e Make XOR color configurable (bug #421466):
2007-03-23  Sven Neumann  <sven@gimp.org>

	Make XOR color configurable (bug #421466):

	* app/config/gimprc-blurbs.h
	* app/config/gimpdisplayconfig.[ch]: added gimprc option for the
	XOR color.

	* app/display/gimpcanvas.[ch]: keep a reference to the Gimp object
	and take the XOR color from GimpDisplayConfig.

	* app/display/gimpdisplayshell.c: pass gimp to gimp_canvas_new().

svn path=/trunk/; revision=22164
2007-03-23 09:25:28 +00:00
Sven Neumann ce489b17ae allow adding a mask to a layer without alpha channel (bug #316207).
2007-03-22  Sven Neumann  <sven@gimp.org>

	* app/core/gimplayer.c (gimp_layer_add_mask): allow adding a mask
	to a layer without alpha channel (bug #316207).

svn path=/trunk/; revision=22163
2007-03-22 17:58:42 +00:00
Stéphane Raimbault 83d885b194 Updated French translation by Laurent Monin, Claude Paroz and Stéphane
2007-03-21  Stéphane Raimbault  <stephane.raimbault@gmail.com>

	* po-script-fu/fr.po, po-plug-ins/fr.po, po-python/fr.po:
	  Updated French translation by Laurent Monin, Claude Paroz
	  and Stéphane Raimbault.

svn path=/trunk/; revision=22161
2007-03-21 22:53:08 +00:00
Sven Neumann 91975723d0 fixed incorrect PDB documentation.
2007-03-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/svg.c: fixed incorrect PDB documentation.


svn path=/trunk/; revision=22160
2007-03-21 18:04:46 +00:00
Martin Nordholts 84722e28dd Added comment to explain why the svg file provided resolution is not
2007-03-21  Martin Nordholts  <martin@svn.gnome.org>

	* plug-ins/common/svg.c (run): Added comment to explain why the
	svg file provided resolution is not clamped against
	GIMP_MIN/MAX_RESOLUTION.


svn path=/trunk/; revision=22159
2007-03-21 17:50:13 +00:00
Sven Neumann 09c39298e4 don't call gimp_zoom_model_zoom() before assigning shell->display. Fixes
2007-03-21  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell.c (gimp_display_shell_new): don't
	call gimp_zoom_model_zoom() before assigning shell->display. Fixes
	bug #421044.


svn path=/trunk/; revision=22158
2007-03-21 16:34:10 +00:00
Sven Neumann e9b050d244 fixed typo spotted by Bill Skaggs.
2007-03-21  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpblendtool.c (gimp_blend_tool_button_release): fixed
	typo spotted by Bill Skaggs.

svn path=/trunk/; revision=22157
2007-03-21 16:06:11 +00:00
Sven Neumann 40f2a1d670 be more robust to avoid crashes like bug #420595.
2007-03-21  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-preview.c
	(gimp_display_shell_trace_tri_edge): be more robust to avoid
	crashes like bug #420595.

svn path=/trunk/; revision=22155
2007-03-21 11:58:29 +00:00
Sven Neumann 08d736af73 rephrased new documentation.
2007-03-19  Sven Neumann  <sven@gimp.org>

	* libgimp/gimp.c (gimp_install_procedure): rephrased new
	documentation.


svn path=/trunk/; revision=22154
2007-03-21 11:57:31 +00:00
Michael Natterer 1c233b6fb6 disallow passing a NULL image.
2007-03-20  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcursorview.[ch] (gimp_color_frame_update_cursor):
	disallow passing a NULL image.

	(gimp_color_frame_clear_cursor): new function that clears the
	cursor view.

	* app/widgets/gimpcolorframe.c (gimp_color_frame_update): if
	color_frame->sample_valid is FALSE, don't do any color
	transformations and don't construct any string because none
	of them is going to be used (all labels will show "n/a").

	* app/display/gimpstatusbar.[ch]: renamed set_cursor() API
	to update_cursor().

	* app/display/gimpdisplayshell-cursor.c
	(gimp_display_shell_update_cursor): move variables to local
	scopes. Follow GimpStatusbar API change. Cleanup.

	(gimp_display_shell_clear_cursor): ditto. Follow GimpColorFrame
	API change.


svn path=/trunk/; revision=22153
2007-03-20 19:03:34 +00:00
Michael Natterer 5ba99bdacd app/actions/plug-in-actions.c GimpPlugInProcedure has a boolean member
2007-03-19  Michael Natterer  <mitch@gimp.org>

	* app/actions/plug-in-actions.c
	* app/menus/plug-in-menus.c: GimpPlugInProcedure has a boolean
	member "file_proc" now, use it instead of checking prefixes,
	extensions and magics manually.

	* app/plug-in/gimppluginprocedure.c
	(gimp_plug_in_procedure_set_mime_type)
	(gimp_plug_in_procedure_set_thumb_loader): set
	plug_in_proc->file_proc to TRUE here too.

	* plug-ins/common/pnm.c: register "image/x-portable-anymap" as
	mime-type and "pnm" as extension for file-pnm-save so it's
	recognized as file procedure.


svn path=/trunk/; revision=22152
2007-03-20 10:41:35 +00:00
Josep Puigdemont i Casamajó 250551b9e0 Updated Catalan translation by Joaquim Perez.
svn path=/trunk/; revision=22151
2007-03-20 07:26:02 +00:00
Claudio Saavedra 2381c30a60 Updated Spanish translation by Francisco Vila.
2007-03-19  Claudio Saavedra  <csaavedra@alumnos.utalca.cl>

        * es.po: Updated Spanish translation by Francisco Vila.


svn path=/trunk/; revision=22150
2007-03-19 22:29:22 +00:00
Claudio Saavedra ab55fcbd70 Updated Spanish translation by Francisco Vila.
2007-03-19  Claudio Saavedra  <csaavedra@alumnos.utalca.cl>

        * es.po: Updated Spanish translation by Francisco Vila.


svn path=/trunk/; revision=22149
2007-03-19 21:45:07 +00:00
Sven Neumann a68807e56a rephrased new documentation.
2007-03-19  Sven Neumann  <sven@gimp.org>

	* libgimp/gimp.c (gimp_install_procedure): rephrased new
	documentation.


svn path=/trunk/; revision=22148
2007-03-19 17:00:00 +00:00
Michael Natterer e82a31ad91 Make sure we create actions for all plug-in procedures which have a
2007-03-19  Michael Natterer  <mitch@gimp.org>

	Make sure we create actions for all plug-in procedures which have
	a menu_label, so it's possible to assign shortcuts to them.
	Fixes bug #371300.

	* app/actions/plug-in-actions.c (plug_in_actions_setup): removed
	duplicate code and simply call plug_in_actions_register_procedure()
	on all actions, it already does all needed checks and signal
	connections by itself.

	(plug_in_actions_update)
	(plug_in_actions_register_procedure)
	(plug_in_actions_unregister_procedure): unified checks for whether
	a plug-in procedure needs an action or not: it needs either a
	menu_label or menu_paths and must not have extensions, prefixes or
	magics.

	* libgimp/gimp.c (gimp_install_procedure): document that it's
	possible to install shortcut-only procedures by registering a
	menu_label but no menu_paths.


svn path=/trunk/; revision=22147
2007-03-19 14:41:23 +00:00
Sven Neumann 27192c4a6f changed labels for GimpTransformDirection to make the corrective transform
2007-03-19  Sven Neumann  <sven@gimp.org>

	* libgimpbase/gimpbaseenums.[ch]: changed labels for
	GimpTransformDirection to make the corrective transform feature
	more obvious.


svn path=/trunk/; revision=22146
2007-03-19 08:06:51 +00:00
Roberto Majadas e3ce2a8716 Updated spanish translations
svn path=/trunk/; revision=22145
2007-03-19 00:57:00 +00:00
Michael Natterer c0011477fb cosmetic cleanup.
2007-03-18  Michael Natterer  <mitch@gimp.org>

	* app/paint/gimpbrushcore.c: cosmetic cleanup.


svn path=/trunk/; revision=22144
2007-03-18 20:47:12 +00:00
Michael Natterer aa21da9799 remove parameter "gdouble scale" and use core->scale.
2007-03-18  Michael Natterer  <mitch@gimp.org>

	* app/paint/gimpbrushcore.c
	(gimp_brush_core_scale_mask)
	(gimp_brush_core_scale_pixmap)
	(gimp_brush_core_get_brush_mask): remove parameter
	"gdouble scale" and use core->scale.

	(gimp_brush_core_paste_canvas)
	(gimp_brush_core_replace_canvas)
	(gimp_brush_core_get_brush_mask)
	(gimp_brush_core_color_area_with_pixmap): don't pass core->scale.
	As below, passing anything else makes no sense.

	(gimp_brush_core_interpolate): cleanup.


svn path=/trunk/; revision=22143
2007-03-18 20:13:55 +00:00
Michael Natterer e968a7ff4f removed parameters "GimpImage *dest" (because it's always the passed
2007-03-18  Michael Natterer  <mitch@gimp.org>

	* app/paint/gimpbrushcore.[ch]
	(gimp_brush_core_color_area_with_pixmap): removed parameters
	"GimpImage *dest" (because it's always the passed drawable's
	image) and "gdouble scale" (because passing anything but
	brush_core->scale makes no sense whatsoever).

	* app/paint/gimppaintbrush.c (_gimp_paintbrush_motion): changed
	accordingly.


svn path=/trunk/; revision=22142
2007-03-18 19:58:57 +00:00
Michael Natterer 83981ef404 simplified brush scale calculation by making sure that brush_core->scale
2007-03-18  Michael Natterer  <mitch@gimp.org>

	* app/paint/gimpbrushcore.c: simplified brush scale calculation by
	making sure that brush_core->scale always contains a value that's
	suited as input for gimp_brush_scale_mask/pixmap() (bug #419290).

	(gimp_brush_core_calc_brush_size): removed this function. All
	places can now call gimp_brush_scale_size() directly with
	core->scale as parameter.

	(gimp_brush_core_calc_brush_scale): new function which returns
	a linear scale factor which contains both the area-based pressure
	scale factor and the linear paint options scale factor.

	(gimp_brush_core_start)
	(gimp_brush_core_get_paint_area): use the new function instead
	of doing these calculations manually.

	(gimp_brush_core_interpolate): remove call to
	gimp_brush_core_scale_brush_size() and use core->scale directly.

	(gimp_brush_core_get_paint_area)
	(gimp_brush_core_scale_mask)
	(gimp_brush_core_scale_pixmap): use gimp_brush_scale_size()
	instead of the removed gimp_brush_core_scale_brush_size().

	(gimp_brush_core_create_bound_segs): use only
	paint_options->brush_scale here since the canvas brush preview
	always has to asume full pressure.

	* app/core/gimpbrush.c (gimp_brush_scale_size): special case
	scale == 1.0 and return the mask's width/height without calling
	the virtual function.


svn path=/trunk/; revision=22141
2007-03-18 19:48:36 +00:00
Michael Natterer 6515dc60b4 jikes, the offset is to be interpreted as offset from the start of the
2007-03-18  Michael Natterer  <mitch@gimp.org>

	* app/file/file-utils.c (file_check_single_magic): jikes, the
	offset is to be interpreted as offset from the start of the file
	for offset >= 0, not offset > 0.


svn path=/trunk/; revision=22140
2007-03-18 17:08:08 +00:00
Stéphane Raimbault aec3c1ab3b Updated French translation by Laurent Monin.
2007-03-17  Stéphane Raimbault  <stephane.raimbault@gmail.com>

	* fr.po: Updated French translation by Laurent Monin.

svn path=/trunk/; revision=22139
2007-03-17 19:53:18 +00:00
Michael Natterer 0845a11c55 alow negative offsets in magics and interpret them as relative to the end
2007-03-17  Michael Natterer  <mitch@gimp.org>

	* app/file/file-utils.c (file_check_single_magic): alow negative
	offsets in magics and interpret them as relative to the end of the
	file.

	(file_utils_find_proc)
	(file_check_magic_list): some cleanup.

	* plug-ins/common/tga.c (query): register the magic string
	"TRUEVISION-XFILE.\0" 18 bytes before the end of the file.
	This way, "new style" TGA files are detected regardless of
	their filename. "old style" TGA files still need the right
	extension to be treated as TGA. Added "vda", "icb" and "vst"
	to the list of extensions. Fixes bug #133798.


svn path=/trunk/; revision=22138
2007-03-17 19:44:55 +00:00
Michael Natterer 24a8095025 Make the height of the previews in data editors configurable. Fixes bug
2007-03-17  Michael Natterer  <mitch@gimp.org>

	Make the height of the previews in data editors configurable.
	Fixes bug #337757.

	* app/widgets/gimpdataeditor.[ch]: add member "view" which needs
	to be set by subclasses. Add style property "minimal-height" which
	defaults to 96. Add style_set() implementation which sets
	editor->view's height to the configured value.

	* app/widgets/gimpbrusheditor.[ch]
	* app/widgets/gimpgradienteditor.[ch]
	* app/widgets/gimppaletteeditor.[ch]: use data_editor->view for
	storing the view widget and removed own view members. Remove
	separate #defines for the view's default width and height, it's
	width follows the dialog anyway.

	* themes/Default/gtkrc: document the default value of 96.

	* themes/Small/gtkrc: set it to 64.


svn path=/trunk/; revision=22137
2007-03-17 18:20:19 +00:00
Kevin Cozens 16251836ac Fixed syntax error in string-trim-left function (spotted by Saul Goode).
2007-03-17  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/scripts/script-fu-compat.init: Fixed syntax
	error in string-trim-left function (spotted by Saul Goode). Added
	compatability routine for 'verbose'.

svn path=/trunk/; revision=22136
2007-03-17 16:32:17 +00:00
Michael Natterer 68b4585959 register the tool with GIMP_PAINT_OPTIONS_CONTEXT_MASK and
2007-03-17  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpvectortool.c (gimp_vector_tool_register):
	register the tool with GIMP_PAINT_OPTIONS_CONTEXT_MASK and
	GIMP_CONTEXT_GRADIENT_MASK so its tool options are suited
	as parameter object for stroking (the stroke button in the
	tool options was using default values before).


svn path=/trunk/; revision=22135
2007-03-17 15:24:17 +00:00
Michael Natterer cefff5f07f don't just g_free() the GValueArray after we memcpy()-stole its values
2007-03-16  Michael Natterer  <mitch@gimp.org>

	* app/plug-in/gimppluginprocframe.c
	(gimp_plug_in_proc_frame_get_return_vals): don't just g_free() the
	GValueArray after we memcpy()-stole its values because this both
	leaks the contained array of GValues and crashes with glib trunk
	where GValueArray is slice-allocated. Instead, free the array of
	GValues manually, set it to NULL and use g_value_array_free().


svn path=/trunk/; revision=22134
2007-03-16 14:24:02 +00:00
Michael Natterer 11f0125257 remove N_() from calls to gimp_plugin_menu_register().
2007-03-16  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/script-fu.c: remove N_() from calls to
	gimp_plugin_menu_register().


svn path=/trunk/; revision=22133
2007-03-16 13:21:42 +00:00
Michael Natterer 1a9cfa406e update the progress to avoid looking like the script hangs. Fixes bug
2007-03-16  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/scripts/spyrogimp.scm: update the progress
	to avoid looking like the script hangs. Fixes bug #356677.

	* plug-ins/script-fu/script-fu-interface.c
	(script_fu_interface_report_cc): if the command starts with
	"gimp-progress-", the script is obviously showing a progress bar
	for itself, so clear the text instead of showing an endless number
	of "gimp-progress-update" messages. Also fixed manual main loop
	iteration.


svn path=/trunk/; revision=22132
2007-03-16 00:26:34 +00:00
Michael Natterer dd4042df85 Fix stuck progress bars (bug #393832):
2007-03-16  Michael Natterer  <mitch@gimp.org>

	Fix stuck progress bars (bug #393832):

	* app/plug-in/gimpplugin-progress.[ch] (gimp_plug_in_progress_end):
	added PlugInProcFrame parameter instead of blindly using the topmost
	in the procedure stack...

	* app/plug-in/gimppluginprocframe.c
	(gimp_plug_in_proc_frame_dispose): ...because we call it from here,
	when the proc_frame is already removed from the procedure stack.

	Unrelated:

	* plug-ins/script-fu/scripts/difference-clouds.scm: use
	RUN-INTERACTVE instead of 0, added (gimp-displays-flush)

	* plug-ins/common/snoise.c (solid_noide): update the progress to
	1.0 after rendering.


svn path=/trunk/; revision=22131
2007-03-15 23:39:32 +00:00