Commit graph

9373 commits

Author SHA1 Message Date
Manish Singh f9c41aa864 app/core/gimpbrush.c app/core/gimpbrushgenerated.c
2003-08-28  Manish Singh  <yosh@gimp.org>

        * app/core/gimpbrush.c
        * app/core/gimpbrushgenerated.c
        * app/core/gimpbrushpipe.c
        * app/core/gimpbuffer.c
        * app/core/gimpimage-snap.c
        * app/core/gimppattern.c
        * app/core/gimpundostack.c
        * app/display/gimpdisplayshell.c
        * app/gui/grid-dialog.c
        * plug-ins/common/CML_explorer.c: cleanup, remove unnecessary casts.
2003-08-28 23:33:15 +00:00
Sven Neumann d332a4703c bumped version number to 1.3.20.
2003-08-28  Sven Neumann  <sven@gimp.org>

	* configure.in: bumped version number to 1.3.20.
2003-08-28 20:56:59 +00:00
Dave Neary dbdbeb530c Updated the NEWS file.
2003-08-28  Dave Neary <bolsh@gimp.org>

        * NEWS: Updated the NEWS file.
2003-08-28 20:39:58 +00:00
Sven Neumann 8a0a75ee95 removed, it's a generated file.
2003-08-28  Sven Neumann  <sven@gimp.org>

	* app/app.interfaces: removed, it's a generated file.
2003-08-28 20:32:19 +00:00
Henrik Brix Andersen f33c7af756 rewrote a large part of the screenshot plug-in. The plug-in now no longer
2003-08-28 Henrik Brix Andersen <brix@gimp.org>

* plug-ins/common/screenshot.c: rewrote a large part of the
screenshot plug-in. The plug-in now no longer depends on the xwd
utility, but uses Xlib/GDK functionality to obtain the screen shot.

The window to shoot is now selected prior to the time out. This
fixes bug #103852.

The ability to obtain a screen shot of a window without
decorations has had to go since this can not be done using plain
Xlib/GDK (one would have to depend on libXmu to do this).

The source is prepared for G_OS_WIN32 but the win32 specific code
is yet to be written.

* tools/pdbgen/pdb/plug_in.pdb (gimp_progress_update): improved the
inline documentation

* app/pdb/plug_in_cmds.c
* libgimp/gimpplugin_pdb.c: regenerated
2003-08-28 20:23:09 +00:00
Sven Neumann edf64d16a2 free the colormap and set colormap size to 0 after converting from
2003-08-28  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimage-convert.c (gimp_image_convert): free the
	colormap and set colormap size to 0 after converting from indexed.
	Should make gimp_image_get_cmap() behave as advertized again.

	* tools/pdbgen/pdb/image.pdb: use gimp_image_get_colormap_size()
	instead of accessing gimage->num_cols directly.

	* app/pdb/image_cmds.c: regenerated.
2003-08-28 20:01:30 +00:00
Maurits Rijk e4e1f51cdb Major clean-up of xjt. 2003-08-28 19:46:39 +00:00
Michael Natterer 28920aa76e libgimp/tmpl/gimphelp.sgml regenerated.
2003-08-28  Michael Natterer  <mitch@gimp.org>

	* libgimp/tmpl/gimphelp.sgml
	* libgimp/tmpl/gimpplugin.sgml: regenerated.
2003-08-28 19:15:16 +00:00
Michael Natterer 1f2c75e507 Completed the new help infrastructure. Needs some polishing but basically
2003-08-28  Michael Natterer  <mitch@gimp.org>

	Completed the new help infrastructure. Needs some polishing but
	basically works as proposed:

	* tools/pdbgen/pdb/plug_in.pdb: changed gimp_plugin_help_register()
	to take a "domain_name" (which is the XML namespace) and a
	"domain_uri" (which is the root of the plug-in's help pages).

	* tools/pdbgen/pdb/help.pdb: changed gimp_help() to take help_id
	instead of a non-UTF-8 help_path.

	* app/plug-in/plug-in-def.[ch]
	* app/plug-in/plug-in-proc.[ch]
	* app/plug-in/plug-in-rc.c
	* app/plug-in/plug-ins.[ch]: remember the plug-ins' help_domain
	and help_uri instead of just help_path. Changed all plug-in APIs
	to reflect this change.

	* app/widgets/gimphelp.[ch]: on helpbrowser startup, pass it the
	whole list of help domains. The actual help request is now made
	using the browser's temporary procedure.

	* app/core/gimp.h
	* app/gui/file-open-menu.c
	* app/gui/file-save-menu.c
	* app/gui/plug-in-menus.[ch]
	* app/widgets/gimpitemfactory.c: changed accordingly.

	* app/pdb/help_cmds.c
	* app/pdb/plug_in_cmds.c
	* libgimp/gimphelp_pdb.[ch]
	* libgimp/gimpplugin_pdb.[ch]: regenerated.

	Changed the help broser to load the pages according to the
	new system:

	- moved the browser window stuff to dialog.[ch]
	- moved help domain handling to domain.[ch]
	- added gimp-help.xml parsing to domain.c
	- tons of cleanup

	* plug-ins/helpbrowser/Makefile.am
	* plug-ins/helpbrowser/dialog.[ch]
	* plug-ins/helpbrowser/domain.[ch]: new files.
	* plug-ins/helpbrowser/helpbrowser.c: chopped.
2003-08-28 18:49:11 +00:00
Pablo Gonzalo del Campo 4d70bc73de Updated Spanish translation.
2003-08-28  Pablo Gonzalo del Campo  <pablodc@bigfoot.com>

        * es.po: Updated Spanish translation.
2003-08-28 18:11:40 +00:00
Simon Budig f4b390a4f4 app/core/gimpimage-mask-select.c Fixed two crashes when a path with a
2003-08-28  Simon Budig  <simon@gimp.org>

	* app/core/gimpimage-mask-select.c
	* app/vectors/gimpbezierstroke.c: Fixed two crashes when a path
	with a single node in a stroke got converted to a selection or got
	stroked.
2003-08-28 16:53:09 +00:00
Sven Neumann 6bcd478dd4 keep the context colors always opaque. Fixes bug #120912.
2003-08-28  Sven Neumann  <sven@gimp.org>

	* app/core/gimpcontext.c (gimp_context_real_set_foreground)
	(gimp_context_real_set_background): keep the context colors always
	opaque. Fixes bug #120912.
2003-08-28 16:39:43 +00:00
Sven Neumann 08e8072f22 removed a historical enum constraint that caused bug #120915.
2003-08-28  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/pdb/image.pdb: removed a historical enum constraint
	that caused bug #120915.

	* app/pdb/image_cmds.c: regenerated.
2003-08-28 16:14:07 +00:00
Changwoo Ryu 299104c3df Updated Korean translation by Dongsu Jang <iolo@hellocity.net>.
* ko.po: Updated Korean translation by
	Dongsu Jang <iolo@hellocity.net>.
2003-08-28 14:18:01 +00:00
Simon Budig d3879afcb9 libappte2003-08-28 Simon Budig <simon@gimp.org>
* app/tools/gimptransformtool.c: Modified the test when to paint
	the grid or not. It now checks for convexity of the bounding
	polygon.
2003-08-28 13:02:50 +00:00
Ville Pätsi 0a68b78274 Fixed last changelog entry syntax 2003-08-28 12:29:21 +00:00
Ville Pätsi 21441b24bd Added gimp.spec to Makefile.am 2003-08-28 10:20:47 +00:00
Michael Natterer d3476d38f0 update the button states if the layer which changed alpha was the active
2003-08-27  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimplayertreeview.c
	(gimp_layer_tree_view_alpha_changed): update the button states if
	the layer which changed alpha was the active one.
	Fixes bug #120864.
2003-08-27 19:50:08 +00:00
Michael Natterer c4dfccd8db Enabled type-preserving DND of all kinds of items between different
2003-08-27  Michael Natterer  <mitch@gimp.org>

	Enabled type-preserving DND of all kinds of items between
	different images. Fixes bug #119983.

	* app/core/gimpitem.[ch]: added new virtual function
	GimpItem::convert() which duplicates an item for another image.

	* app/core/gimplayer.[ch]: removed gimp_layer_new_from_drawable()
	and made it a GimpItem::convert() implementation.

	* app/vectors/gimpvectors.[ch]: removed gimp_vectors_convert() and
	made it a GimpItem::convert() implementation.

	* app/widgets/gimpitemtreeview.[ch]: removed GimpConvertItemFunc
	typedef and function pointer in GimpItemTreeViewClass since
	we can simply call gimp_item_convert() now.

	* app/widgets/gimplayertreeview.c
	* app/widgets/gimpvectorstreeview.c
	* app/display/gimpdisplayshell-dnd.c
	* tools/pdbgen/pdb/layer.pdb: changed accordingly.

	* app/pdb/layer_cmds.c: regenerated.
2003-08-27 17:21:49 +00:00
Ole Laursen 1f9b302665 Updated Danish translation.
2003-08-27  Ole Laursen  <olau@hardworking.dk>

	* da.po: Updated Danish translation.
2003-08-27 15:24:13 +00:00
Sven Neumann b1bccea6c0 removed debugging output.
2003-08-27  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpitemfactory.c (gimp_item_factory_translate_func):
	removed debugging output.
2003-08-27 14:55:42 +00:00
Sven Neumann 8377aa0fd5 Made 1.3.19 release. 2003-08-27 11:05:24 +00:00
Sven Neumann 76d5d377b8 made the PDB interface backwards compatible by allowing the last parameter
2003-08-27  Sven Neumann  <sven@gimp.org>

        * plug-ins/common/edge.c (run): made the PDB interface backwards
        compatible by allowing the last parameter to be omitted.
2003-08-27 09:37:19 +00:00
Dave Neary 012b75efc0 Update NEWS file, split path tool improvements into user-visible chunks.
2003-08-27  Dave Neary  <bolsh@gimp.org>

        * NEWS: Update NEWS file, split path tool improvements into
        user-visible chunks.
2003-08-27 08:13:11 +00:00
Maurits Rijk 89fd6901eb Fix for #119937 and #119938 plus lots of code cleanup. 2003-08-27 05:44:57 +00:00
Dmitry Mastrukov 22c5a50b3d ru.po: Update Russian translation from Russian team <gnome-cyr@gnome.org>. 2003-08-27 04:33:08 +00:00
Michael Natterer a7b2c160b4 Cleaned up my "To Selection" cleanup:
2003-08-27  Michael Natterer  <mitch@gimp.org>

	Cleaned up my "To Selection" cleanup:

	* app/gui/channels-commands.[ch]
	* app/gui/layers-commands.[ch]
	* app/gui/vectors-commands.[ch]: removed the separate
	cmd_callbacks for REPLACE,ADD,SUBTRACT,INTERSECT and pass the
	operation as "guint action" to the callback.

	* app/gui/channels-menu.c
	* app/gui/image-menu.c
	* app/gui/layers-menu.c
	* app/gui/vectors-menu.c: changed accordingly.
2003-08-27 00:52:00 +00:00
Simon Budig 08bd7a19b9 app/vectors/gimpstroke.[ch] Implemented function to connect two strokes.
2003-08-27  Simon Budig  <simon@gimp.org>

	* app/vectors/gimpstroke.[ch]
	* app/vectors/gimpbezierstroke.c: Implemented function to
	connect two strokes.

	* app/tools/gimpvectortool.[ch]: Use it. Right now you have
	to click on one endpoint, and then SHIFT+CTRL+ALT-Click on
	the other endpoint.

	Suggestions on how to solve that more sanely are welcome...
2003-08-27 00:31:20 +00:00
Michael Natterer 1ce3055058 added missing g_rand_free().
2003-08-27  Michael Natterer  <mitch@gimp.org>

	* app/composite/gimp-composite-generic.c
	(gimp_composite_generic_init): added missing g_rand_free().

	* app/widgets/gimpitemfactory.[ch]: fixed all leaks in
	gimp_item_factory_translate_func(). Added
	item_factory->translation_trash for the pathological cases. Free
	the trash after each call to gtk_item_factory_create_item().
2003-08-27 00:02:04 +00:00
Sven Neumann 0eff267590 applied patch from Guillermo S. Romero that moves the newly added PDB
2003-08-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/edge.c: applied patch from Guillermo S. Romero
	that moves the newly added PDB parameter to the end and documents
	the former default value.

	* plug-ins/script-fu/scripts/3d-outline.scm
	* plug-ins/script-fu/scripts/circuit.scm
	* plug-ins/script-fu/scripts/lava.scm
	* plug-ins/script-fu/scripts/predator.scm: changed accordingly by
	Guillermo S. Romero.
2003-08-26 23:43:48 +00:00
Sven Neumann 50e63f0caa libgimpbase/Makefile.am (EXTRA_DIST) removed gimpversion.h.in.
2003-08-27  Sven Neumann  <sven@gimp.org>

	* libgimpbase/Makefile.am (EXTRA_DIST)
	* libgimpbase/makefile.msc (EXTRA_DIST): removed gimpversion.h.in.

	* app/composite/Makefile.am (libappcomposite_a_built_sources):
	removed gimp-composite-*-installer.h.
2003-08-26 22:56:30 +00:00
Michael Natterer 576057b1a7 added some toolbox and dock related help IDs.
2003-08-26  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimphelp-ids.h: added some toolbox and dock related
	help IDs.

	* app/gui/dialogs-menu.c
	* app/widgets/gimpimagedock.c
	* app/widgets/gimptoolbox.c: use them.
2003-08-26 22:00:42 +00:00
Pablo Gonzalo del Campo 2586318553 Updated Spanish translation by Francisco Javier F. Serrador
2003-08-26  Pablo Gonzalo del Campo  <pablodc@bigfoot.com>

        * es.po: Updated Spanish translation by
                 Francisco Javier F. Serrador <serrador@arrakis.es>.
2003-08-26 21:57:24 +00:00
Michael Natterer e97cf2b675 some cleanup and fixes before porting to the new help ID based system.
2003-08-26  Michael Natterer  <mitch@gimp.org>

	* app/helpbrowser/helpbrowser.c: some cleanup and fixes before
	porting to the new help ID based system. Definitely broken at the
	moment.
2003-08-26 21:24:25 +00:00
Sven Neumann 6fa1bc22c4 ooops, should have gone with the last commit 2003-08-26 19:46:34 +00:00
Sven Neumann ee6dad2eb5 use GIMP_GRADIENT as prefix for the GimpGradientType enum.
2003-08-26  Sven Neumann  <sven@gimp.org>

	* app/core/core-enums.h: use GIMP_GRADIENT as prefix for the
	GimpGradientType enum.

	* app/core/core-enums.c
	* app/pdb/misc_tools_cmds.c
	* libgimp/gimpenums.h
	* plug-ins/pygimp/gimpenums.py
	* plug-ins/script-fu/script-fu-constants.c
	* tools/pdbgen/enums.pl: regenerated.

	* app/core/gimpdrawable-blend.c
	* app/tools/gimpblendoptions.c
	* plug-ins/pygimp/plug-ins/sphere.py
	* plug-ins/script-fu/scripts: changed accordingly.

	* libgimp/gimpcompat.h
	* plug-ins/script-fu/siod-wrapper.c: added compatibility defines
	for the old enum values.
2003-08-26 18:12:42 +00:00
Michael Natterer 17d1fb17f2 it's GIMP_INTERPOLATION_LINEAR, not just GIMP_LINEAR, argh. Fixes part 1
2003-08-26  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimptransformoptions.c
	(gimp_transform_options_class_init): it's GIMP_INTERPOLATION_LINEAR,
	not just GIMP_LINEAR, argh. Fixes part 1 of bug #120424.
2003-08-26 17:33:25 +00:00
Michael Natterer 190710aef8 we can't rely on "eek.png" from the help system being installed. Use
2003-08-26  Michael Natterer  <mitch@gimp.org>

	* plug-ins/helpbrowser/helpbrowser.c (open_browser_dialog): we
	can't rely on "eek.png" from the help system being installed.
	Use "stock-wilber-eek-64.png" from the default theme instead
	because it is always available.
2003-08-26 16:28:21 +00:00
Michael Natterer 86662cd66b Bye bye, "crappy/foo.html":
2003-08-26  Michael Natterer  <mitch@gimp.org>

	Bye bye, "crappy/foo.html":

	* app/widgets/gimphelp-ids.h: replaced "crappy/foo.html" by
	"gimp-proper-identifier".

	* app/plug-in/plug-in-proc.[ch] (plug_in_proc_def_get_help_id):
	added "const gchar *help_path" parameter and return a help ID
	ready for attaching to a menu item.

	The help ID is no longer constructed from the plug-in's executable
	name but from the *procedure* name with '_' replaced by '-'. This
	means we can now have help for each script-fu script and for each
	of a plug-in's individual procedures.

	* app/gui/plug-in-menus.c: removed even more duplicated wrong code
	since plug_in_proc_def_get_help_id() is implemented correctly now.

	* app/gui/file-open-menu.c
	* app/gui/file-save-menu.c: ditto. Reorder the "XCF" menu item
	before the separator and added GIMP_STOCK_WILBER.

	* app/gui/file-dialog-utils.c: added a mnemonic to the
	"Determine File Type:" label.
2003-08-26 15:12:47 +00:00
Simon Budig 47571782a7 Intruduce casting macro GIMP_ANCHOR.
2003-08-26  Simon Budig  <simon@gimp.org>

	* app/vectors/gimpanchor.h: Intruduce casting macro GIMP_ANCHOR.

	* app/tools/gimpvectortool.c
	* app/vectors/gimpstroke.c
	* app/vectors/gimpbezierstroke.c
	* app/vectors/gimpvectors-compat.c: Use it for code readibility.
2003-08-26 14:29:10 +00:00
Michael Natterer 3b30a0b80a added gimp_dockbook_help_func() which shows the help for the active page.
2003-08-26  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpdockbook.c: added gimp_dockbook_help_func()
	which shows the help for the active page.

	(gimp_dockbook_tab_button_press): grab the focus when a notebook
	tab is clicked. Still not perfect since GtkNotebook does it
	slightly different, but feels much better than before.
2003-08-26 10:07:01 +00:00
Michael Natterer d90ee12388 app/gui/info-window.c app/widgets/gimpfontselection.c replaced the last
2003-08-26  Michael Natterer  <mitch@gimp.org>

	* app/gui/info-window.c
	* app/widgets/gimpfontselection.c
	* app/widgets/gimpfontselection-dialog.c: replaced the last
	hardcoded html links by help IDs. Removed trailing whitespace.
2003-08-26 09:57:28 +00:00
Simon Budig 4571b6b5bd Minor code cleanup that automagically makes SHIFT while curve-dragging
2003-08-26  Simon Budig  <simon@gimp.org>

	* app/vectors/gimpbezierstroke.c: Minor code cleanup that
	automagically makes SHIFT while curve-dragging work...
2003-08-26 08:59:30 +00:00
Michael Natterer f5f67efae5 use GIMP_HELP_IMAGE_GRID.
2003-08-26  Michael Natterer  <mitch@gimp.org>

	* app/gui/grid-dialog.c: use GIMP_HELP_IMAGE_GRID.

	* app/gui/image-menu.c: fixed some help ID copy & paste bugs.

	* app/widgets/gimpdockable.c: forgot to actually set the help ID
	with gimp_help_set_help_data().
2003-08-26 01:30:05 +00:00
Simon Budig 009766a881 app/vectors/gimpstroke.[ch] Implemented direct moving of the curve. Whee!
2003-08-26  Simon Budig  <simon@gimp.org>

	* app/vectors/gimpstroke.[ch]
	* app/vectors/gimpbezierstroke.c: Implemented direct moving of the
	curve. Whee!  :-)

	* app/tools/gimpvectortool.[ch]: Use it.
2003-08-26 00:27:03 +00:00
Michael Natterer dc95e16b79 added enum GimpContainerPolicy.
2003-08-25  Michael Natterer  <mitch@gimp.org>

	* app/core/core-enums.[ch]: added enum GimpContainerPolicy.

	* app/core/gimpcontainer.[ch]: removed it here.  Added new virtual
	function GimpContainer::clear() which removes all items. Cleanup.

	* app/core/gimplist.c: implement GimpContainer::clear(). Cleanup.
2003-08-25 21:25:13 +00:00
Ole Laursen 9209b3f728 Updated Danish translation.
2003-08-25  Ole Laursen  <olau@hardworking.dk>

	* da.po: Updated Danish translation.
2003-08-25 19:38:45 +00:00
Michael Natterer 829449a86e app/widgets/gimpitemfactory.[ch] added a help_id to GimpItemFactory. It's
2003-08-25  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpitemfactory.[ch]
	* app/widgets/gimpmenufactory.[ch]: added a help_id to
	GimpItemFactory.  It's basically the code I removed some days ago,
	but this time it's used as default help_id for the factory (e.g.
	if F1 is pressed over a separator), and not to construct html
	links.

	* app/widgets/gimphelp-ids.h: added some missing help IDs.

	* app/gui/menus.c: register a help IDs with each item factory.

	* app/display/gimpdisplayshell.c
	* app/gui/dialogs-menu.c: some more forgotten help IDs.
2003-08-25 17:57:21 +00:00
Michael Natterer 2d5fe07a4e app/widgets/gimphelp-ids.h app/widgets/gimppaletteeditor.c help IDs for
2003-08-25  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimphelp-ids.h
	* app/widgets/gimppaletteeditor.c
	* app/gui/palette-editor-menu.c: help IDs for the palette editor.

	* app/gui/toolbox-menu.c: forgot some dialog help IDs.
2003-08-25 17:11:03 +00:00
Michael Natterer dec69db166 removed the "locale_domain" and "help_path" parameters since the function
2003-08-25  Michael Natterer  <mitch@gimp.org>

	* app/plug-in/plug-ins.[ch] (plug_ins_temp_proc_def_add): removed
	the "locale_domain" and "help_path" parameters since the function
	can figure them by itself.

	* app/plug-in/plug-in-message.c (plug_in_handle_proc_install):
	changed accordingly.

	* app/plug-in/plug-in-proc.[ch] (plug_in_proc_def_get_help_id):
	new function which will soon be implemented correctly :-)

	* app/gui/file-open-menu.c (file_open_menu_setup)
	* app/gui/file-save-menu.c (file_save_menu_setup)
	* app/gui/plug-in-menus.c (plug_in_menus_create_entry): use it
	here instead of duplicating broken code.
2003-08-25 16:28:46 +00:00