Commit graph

19294 commits

Author SHA1 Message Date
Simon Budig 8660ecf2ae fix warning about uninitialized variable
2006-11-24  Simon Budig  <simon@gimp.org>

	* plug-ins/common/tiff.c: fix warning about uninitialized variable
2006-11-23 23:03:55 +00:00
Sven Neumann e1d427b160 reordered to make the test link again.
2006-11-23  Sven Neumann  <sven@gimp.org>

	* app/config/Makefile.am (test_config_LDADD): reordered to make
	the test link again.
2006-11-23 22:38:58 +00:00
Simon Budig 1a95e589c3 tools/pdbgen/pdb/paths.pdb minor documentation fixes, following the
2006-11-23  Simon Budig  <simon@gimp.org>

	* tools/pdbgen/pdb/paths.pdb
	* tools/pdbgen/pdb/vectors.pdb: minor documentation fixes,
	following the renaming.

	* app/pdb/paths_cmds.c
	* app/pdb/vectors_cmds.c
	* libgimp/gimppaths_pdb.c
	* libgimp/gimpvectors_pdb.c: regenerated.
2006-11-23 22:26:58 +00:00
Simon Budig 29de173de8 follow the function renaming as well. Why didn't this complain when I
2006-11-23  Simon Budig  <simon@gimp.org>

	* plug-ins/pygimp/gimpmodule.c: follow the function renaming
	as well. Why didn't this complain when I compiled earlier?
2006-11-23 22:11:46 +00:00
Sven Neumann a4423dc1ba plug-ins/script-fu/ftx/Makefile.am plug-ins/script-fu/re/Makefile.am
2006-11-23  Sven Neumann  <sven@gimp.org>

        * plug-ins/script-fu/ftx/Makefile.am
        * plug-ins/script-fu/re/Makefile.am
        * plug-ins/script-fu/tinyscheme/Makefile.am: cleaned up Makefiles.
        Fixed for srcdir != builddir.
2006-11-23 21:55:35 +00:00
Simon Budig d87e5738b6 renamed gimp_vectors_new_from_* to gimp_vectors_import_from_*, as
2006-11-23  Simon Budig  <simon@gimp.org>

	* tools/pdbgen/pdb/vectors.pdb: renamed gimp_vectors_new_from_*
	to gimp_vectors_import_from_*, as discussed in bug #378394.

	* plug-ins/common/svg.c
	* libgimp/gimp.def: changed accordingly.

	* libgimp/gimpvectors_pdb.[ch]
	* app/pdb/vectors_cmds.c: regenerated.
2006-11-23 21:45:54 +00:00
Sven Neumann fa3ed4dbf5 more updates for 2.3.13 2006-11-23 21:21:01 +00:00
Simon Budig dce782a6b8 plug-ins/script-fu/tinyscheme/scheme-private.h Changed tinyscheme to
2006-11-23  Simon Budig  <simon@gimp.org>

	* plug-ins/script-fu/tinyscheme/scheme-private.h
	* plug-ins/script-fu/tinyscheme/scheme.[ch]: Changed tinyscheme
	to provide a safe spot to protect intermediate values from the
	garbage collector. Fixes some really ugly problems with arrays.

	Most likely not the best solution, we need to discuss this with
	the tinyscheme maintainers.

	* plug-ins/script-fu/scheme-wrapper.c: changed accordingly, plus
	reordering some stuff to protect it from the eager GC.
2006-11-23 21:14:01 +00:00
Sven Neumann 804b7953a4 added xbm/cursor-mouse-mask.xbm.
2006-11-23  Sven Neumann  <sven@gimp.org>

	* cursors/Makefile.am (EXTRA_DIST): added
xbm/cursor-mouse-mask.xbm.
2006-11-23 21:12:09 +00:00
Michael Natterer 35a5a46a4a plug-ins/help/gimphelpitem.[ch] added some EEKy members to the structs
2006-11-23  Michael Natterer  <mitch@gimp.org>

	* plug-ins/help/gimphelpitem.[ch]
	* plug-ins/help/gimphelplocale.[ch]: added some EEKy members to
	the structs where the browser can store its state.

	* plug-ins/helpbrowser/Makefile.am
	* plug-ins/helpbrowser/helpbrowser.c: link against libgimphelp.a
	and implement all the help ID mapping ourselves.

	* plug-ins/helpbrowser/dialog.[ch]: added a tree view with the
	help IDs of the current help domain. Double click to jump to an
	item. Very early-stage code and very unusable, please try anyway.

	* app/widgets/gimphelp.c: if the help browser is available, call
	it directly, not via the help plug-in.
2006-11-23 21:04:41 +00:00
Sven Neumann 55134ae83d removed help.h.
2006-11-23  Sven Neumann  <sven@gimp.org>

        * plug-ins/help/Makefile.am (libgimphelp_a_SOURCES): removed help.h.
2006-11-23 20:53:35 +00:00
Sven Neumann cec20d6fc0 removed po-*/update.sh.
* Makefile.am (EXTRA_DIST): removed po-*/update.sh.
2006-11-23 20:46:37 +00:00
Sven Neumann b9fe45e37e updated POTFILES.in 2006-11-23 20:44:32 +00:00
Michael Natterer aa5a8a92ad remove useless newlines from debugging output.
2006-11-23  Michael Natterer  <mitch@gimp.org>

	* app/plug-in/gimpplugin-cleanup.c: remove useless newlines from
	debugging output.
2006-11-23 20:38:17 +00:00
Michael Natterer 0f64c7e009 link libgimphelp as not installed .a
2006-11-23  Michael Natterer  <mitch@gimp.org>

	* plug-ins/help/Makefile.am: link libgimphelp as not installed .a

	* plug-ins/help/gimphelpdomain.[ch] (gimp_help_domain_map): return
	the GimpHelpLocate the ID was found in.

	* plug-ins/help/gimp-help-lookup.c
	* plug-ins/help/help.c: changed accordingly.

	* plug-ins/help/gimphelp.h: disable debug output.
2006-11-23 20:36:17 +00:00
Simon Budig 5fb22c8688 Change the color for XOR drawing. This guarantees that there is always a
2006-11-23  Simon Budig  <simon@gimp.org>

	* app/display/gimpcanvas.c: Change the color for XOR drawing. This
	guarantees that there is always a contrast between the original
	image pixels and the stuff drawn on top of it.
2006-11-23 20:25:17 +00:00
Michael Natterer bc502b0a65 new splash. Image taken by Kristian Rietveld; Retouching by Simon Budig
2006-11-23  Michael Natterer  <mitch@gimp.org>

	* data/images/gimp-splash.png: new splash. Image taken by Kristian
	Rietveld; Retouching by Simon Budig and myself.
2006-11-23 19:24:57 +00:00
Michael Natterer b831c0c32d made validation error messages more human-readable and prepared the code
2006-11-23  Michael Natterer  <mitch@gimp.org>

	* app/pdb/gimpprocedure.c (gimp_procedure_validate_args): made
	validation error messages more human-readable and prepared the
	code for validating return values.
2006-11-23 12:42:58 +00:00
Sven Neumann 96d3d99bc5 updated for 2.3.13 2006-11-23 11:56:24 +00:00
Jakub Friedl 7cab384b80 Updated Czech translation.
2006-11-23  Jakub Friedl  <jfriedl@suse.cz>

  * cs.po: Updated Czech translation.
2006-11-23 10:41:39 +00:00
Sven Neumann f95a118603 special case invalid drawable and image IDs and try to give a somewhat
2006-11-23  Sven Neumann  <sven@gimp.org>

	* app/pdb/gimpprocedure.c (gimp_procedure_validate_args): special
	case invalid drawable and image IDs and try to give a somewhat
	more helpful error message (addresses bug #378334).
2006-11-23 09:17:07 +00:00
Sven Neumann a05eda5af7 added new symbols.
2006-11-23  Sven Neumann  <sven@gimp.org>

	* libgimp/libgimp-sections.txt: added new symbols.

	* libgimp/tmpl/gimpimage.sgml: regenerated

	* libgimp/libgimp-docs.sgml
	* libgimpbase/libgimpbase-docs.sgml
	* libgimpcolor/libgimpcolor-docs.sgml
	* libgimpconfig/libgimpconfig-docs.sgml
	* libgimpmath/libgimpmath-docs.sgml
	* libgimpmodule/libgimpmodule-docs.sgml
	* libgimpthumb/libgimpthumb-docs.sgml
	* libgimpwidgets/libgimpwidgets-docs.sgml: added id attributes
for
	the index pages.
2006-11-23 07:26:41 +00:00
Sven Neumann be67311b0b marked the new functions as new in 2.4.
2006-11-23  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/pdb/image.pdb: marked the new functions as new in
2.4.

	* app/pdb/image_cmds.c
	* libgimp/gimpimage_pdb.c: regenerated.
2006-11-23 06:41:08 +00:00
Simon Budig 7968dcdc56 Cosmetic reordering - Simon 2006-11-22 22:54:53 +00:00
Simon Budig ff68bde625 Added functions to easily determine the position of a
2006-11-22  Simon Budig  <simon@gimp.org>

	* tools/pdbgen/pdb/image.pdb: Added functions to easily determine
	the position of a layer/channel/vectors object in its respective
	stack.

	* libgimp/gimp.def: added new symbols

	* app/pdb/image_cmds.c
	* app/pdb/internal_procs.c
	* libgimp/gimpimage_pdb.[ch]: regenerated.
2006-11-22 22:36:24 +00:00
Simon Budig d27db948d7 Enable scrolling while dragging the nodes of a path. Fix warning when
2006-11-22  Simon Budig  <simon@gimp.org>

	* app/tools/gimpvectortool.c: Enable scrolling while dragging
	the nodes of a path. Fix warning when deleting the last node
	of a stroke.
2006-11-22 20:50:39 +00:00
Michael Natterer a10d6099cb add support for G_TYPE_INT properties.
2006-11-22  Michael Natterer  <mitch@gimp.org>

	* app/actions/actions.c (action_select_property): add support for
	G_TYPE_INT properties.

	* app/actions/tools-actions.c
	* app/actions/tools-commands.[ch]: add actions and callback which
	affect the foreground select tool's stroke-width property.

	* app/tools/gimpforegroundselecttool.c: map tool-action-value-2
	(tool tip size) to the new action.

	* app/tools/gimppaintoptions-gui.c: fixed visibility of the brush
	scale slider.
2006-11-22 20:38:36 +00:00
Michael Natterer 3b903bae0c applied modified patch from Adrian Likins which adds a GRand to the
2006-11-22  Michael Natterer  <mitch@gimp.org>

	* app/paint/gimpbrushcore.[ch]: applied modified patch from Adrian
	Likins which adds a GRand to the GimpBrushCore struct and uses it
	instead of using g_random_foo() functions. Fixes bug #377981.
2006-11-22 20:22:32 +00:00
Sven Neumann aa09e29272 don't raise and focus the error console for not so severe error messages.
2006-11-22  Sven Neumann  <sven@gimp.org>

	* app/gui/gui-message.c (gui_message_error_console): don't raise
	and focus the error console for not so severe error messages. Fixes
	bug #322210 and bug #373254.

	* app/widgets/gimperrorconsole.c (gimp_error_console_init): reduced
	font sizes in error console.
2006-11-22 16:33:31 +00:00
Simon Budig d3543f1b06 load the channels in the proper order. fixes bug #378003. Thanks to Chris
2006-11-22  Simon Budig  <simon@gimp.org>

	* app/xcf/xcf-load.c: load the channels in the proper order.
	fixes bug #378003. Thanks to Chris Mohler for spotting this.
2006-11-22 10:19:53 +00:00
Sven Neumann 3d17cc6123 oops 2006-11-22 09:24:33 +00:00
Sven Neumann 886e2f0139 code cleanup, seems to fix bug #376668.
2006-11-22  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpchainbutton.c: code cleanup, seems to fix
bug
	#376668.
2006-11-22 08:05:13 +00:00
Nickolay V. Shmyrev 2e54bc77e0 Updated Russian translation.
2006-11-22  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>

	* ru.po: Updated Russian translation.
2006-11-22 01:27:07 +00:00
Nickolay V. Shmyrev fffdad5689 Updated to reflect new filenames due to the fix of the bug #345251.
2006-11-22  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>

	* POTFILES.in: Updated to reflect new filenames
	due to the fix of the bug #345251.
2006-11-22 00:53:03 +00:00
Michael Natterer 7d30e91cf5 the pixmap's size is width * height * bpp, not just width * height.
2006-11-21  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/brush.pdb (brush_get_pixels): the pixmap's size
	is width * height * bpp, not just width * height.

	* app/pdb/brush_cmds.c: regenerated.
2006-11-21 22:43:41 +00:00
Simon Budig e48c677fec fixed typo spotted by John Marshall (bug #377811). Thanks for spotting
2006-11-21  Simon Budig  <simon@gimp.org>

	* plug-ins/metadata/metadata.h: fixed typo spotted by John Marshall
	(bug #377811). Thanks for spotting this.
2006-11-21 16:49:48 +00:00
Sven Neumann 226b2e6333 check argument types before assigning them. Allows to use a batch
2006-11-21  Sven Neumann  <sven@gimp.org>

	* app/batch.c (batch_run_cmd): check argument types before
	assigning them. Allows to use a batch processor processor without
	a run-mode parameter.
2006-11-21 14:26:03 +00:00
Michael Natterer dc388813cb plug-ins/help/domain.[ch] removed these files...
2006-11-20  Michael Natterer  <mitch@gimp.org>

	* plug-ins/help/domain.[ch]
	* plug-ins/help/help.h: removed these files...

	* plug-ins/help/gimphelptypes.h
	* plug-ins/help/gimphelp.[ch]
	* plug-ins/help/gimphelpdomain.[ch]
	* plug-ins/help/gimphelpitem.[ch]
	* plug-ins/help/gimphelplocale.[ch]: ...completely chopped them
	and added a new private utility library. Soon to be used by the
	helpbrowser too.

	* plug-ins/help/Makefile.am
	* plug-ins/help/gimp-help-lookup.c
	* plug-ins/help/help.c: changed accordingly.
2006-11-20 21:46:21 +00:00
Simon Budig 73b1863a28 app/vectors/gimpstroke.[ch] tools/pdbgen/pdb/vectors.pdb Applied patch
2006-11-20  Simon Budig  <simon@gimp.org>

	* app/vectors/gimpstroke.[ch]
	* tools/pdbgen/pdb/vectors.pdb
	* plug-ins/pygimp/pygimp-vectors.c: Applied patch from
	Joao S. O. Bueno Calligaris that adds some missing transformations
	to the PDB-API for strokes. Fixes bug #129598.

	* app/pdb/internal_procs.c
	* app/pdb/vectors_cmds.c
	* libgimp/gimpvectors_pdb.[ch]: regenerated.
2006-11-20 15:34:30 +00:00
Kevin Cozens f50adb011a Set return_val before destroying values[] as it may still be needed.
2006-11-18  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/scheme-wrapper.c (marshall_proc_db_call): Set
	return_val before destroying values[] as it may still be needed.
2006-11-18 22:30:23 +00:00
Michael Natterer cb690334cd remove example about adding a help keybinding (bug #375952).
2006-11-18  Michael Natterer  <mitch@gimp.org>

	* etc/gtkrc: remove example about adding a help keybinding
	(bug #375952).
2006-11-18 20:02:10 +00:00
Djihed Afifi fe55a9bdb9 Updated Arabic Translation. 2006-11-18 19:55:08 +00:00
Michael Natterer 170901c5eb applied patch from Jernej Simoncic which enables environment variables and
2006-11-18  Michael Natterer  <mitch@gimp.org>

	* app/plug-in/plug-in-rc.c (plug_in_def_deserialize): applied
	patch from Jernej Simoncic which enables environment variables and
	${gimp_foo} variables in plug-in filename and converts them to
	filesystem encoding. Fixes bug #375349.

	(plug_in_rc_write): write UTF-8 filenames to pluginrc.
2006-11-18 16:19:47 +00:00
Simon Budig 0b33ffc674 Properly handle PDB_LAYERs and PDB_CHANNELs when passed by the menus in
2006-11-18  Simon Budig  <simon@gimp.org>

	* plug-ins/script-fu/script-fu-scripts.c: Properly handle PDB_LAYERs
	and PDB_CHANNELs when passed by the menus in the resp. dialogs
2006-11-18 01:59:14 +00:00
Michael Natterer 02de3076c9 Got rid of the word "editor" were it was good for nothing but exposing an
2006-11-17  Michael Natterer  <mitch@gimp.org>

	Got rid of the word "editor" were it was good for nothing but
	exposing an implementation detail in public API and installed
	files.  Fixes bug #345251:

	* app/actions/colormap-editor-actions.[ch]
	* app/actions/colormap-editor-commands.[ch]
	* app/actions/sample-point-editor-actions.[ch]
	* app/actions/sample-point-editor-commands.[ch]
	* menus/colormap-editor-menu.xml
	* menus/sample-point-editor-menu.xml
	* menus/selection-editor-menu.xml
	* menus/undo-editor-menu.xml: removed.

	* app/actions/colormap-actions.[ch]
	* app/actions/colormap-commands.[ch]
	* app/actions/sample-points-actions.[ch]
	* app/actions/sample-points-commands.[ch]
	* menus/colormap-menu.xml
	* menus/sample-points-menu.xml
	* menus/selection-menu.xml
	* menus/undo-menu.xml: added.

	* app/actions/Makefile.am
	* menus/Makefile.am
	* app/actions/actions.c
	* app/menus/menus.c
	* app/menus/plug-in-menus.c
	* app/plug-in/gimppluginprocedure.c
	* app/widgets/gimpcolormapeditor.c
	* app/widgets/gimpsamplepointeditor.c
	* app/widgets/gimpselectioneditor.c
	* app/widgets/gimpundoeditor.c
	* plug-ins/common/colormap-remap.c: changed accordingly.
2006-11-17 22:07:07 +00:00
Michael Natterer 4ce3fda9e7 don't pass GRAY images to plug_in_icc_profile_apply_rgb().
2006-11-17  Michael Natterer  <mitch@gimp.org>

	* app/file/file-open.c (file_open_profile_apply_rgb): don't pass
	GRAY images to plug_in_icc_profile_apply_rgb().
2006-11-17 20:04:13 +00:00
Simon Budig bacc2e29cf Fix the registration to properly test for the parameter types.
2006-11-17  Simon Budig  <simon@gimp.org>

	* app/plug-in/gimppluginprocedure.c: Fix the registration to
	properly test for the parameter types.
2006-11-17 18:35:44 +00:00
Simon Budig a8411dc754 Hack up gimp_value_set_item() to do the correct thing for subtypes of
2006-11-17  Simon Budig  <simon@gimp.org>

	* app/core/gimpparamspecs.c: Hack up gimp_value_set_item() to do
	the correct thing for subtypes of GimpItems.

	* app/actions/plug-in-commands.c: Don't rely on the GimpValues for
	type checking, pass the param specs to the _collect functions and
	use them for typechecking.
2006-11-17 16:56:37 +00:00
Michael Natterer c8cb6bfcf4 app/actions/tools-actions.c added actions and callbacks for the new paint
2006-11-17  Michael Natterer  <mitch@gimp.org>

	* app/actions/tools-actions.c
	* app/actions/tools-commands.[ch]: added actions and callbacks for
	the new paint options brush scale property. Assigned new
	shortcuts: '<' and '>' are now changing tool-value-1 and '[' and
	']' are changing tool-value-2

	* app/actions/context-actions.c: removed the shortcuts from the
	brush size actions.

	* app/tools/gimpbrushtool.c
	* app/tools/gimpcolortool.c: set tool-value-2 to brush-scale and
	to color-average-radius, so '[' and ']' always affect the size of
	the tip of the active tool. tool-value-1 is connected to
	context-opacity so that is changeable using '<' and '>' now.
2006-11-17 13:06:00 +00:00
Sven Neumann 7eee48b1de override the wrapper for gimp_int_combo_box_get_active() and let it return
2006-11-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpui.override: override the wrapper for
	gimp_int_combo_box_get_active() and let it return the selected
	integer instead of the index in the combo (bug #376102).
2006-11-17 12:02:22 +00:00