Commit Graph

17429 Commits

Author SHA1 Message Date
Michael Natterer 711c191fc6 tools/pdbgen/pdb/channel.pdb removed dim(), accessors(), get_prop() and
2006-03-15  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/channel.pdb
	* tools/pdbgen/pdb/layer.pdb: removed dim(), accessors(),
	get_prop() and set_prop() utility functions and expand everything
	to pdbgen boilerplate code. Use the real layer mask API instead of
	the crap from pdb_glue.h. Fixed some API docs.

	* app/pdb/channel_cmds.c
	* app/pdb/layer_cmds.c
	* libgimp/gimplayer_pdb.c: regenerated.

	* app/pdb/Makefile.am
	* app/pdb/pdb_glue.h: bye bye uglyness.
2006-03-15 17:42:12 +00:00
Michael Natterer 04bf6d04f4 define init values for all pdb types.
2006-03-15  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb.pl: define init values for all pdb types.

	* tools/pdbgen/app.pl: unconditionally initialize all return
	values, and no parameter.

	* tools/pdbgen/pdb/*.pdb: removed init => 1 from all arguments
	and return values.

	* app/pdb/*_cmds.c: regenerated.
2006-03-15 15:32:39 +00:00
Michael Natterer 82c8729d97 tools/pdbgen/pdb/context.pdb tools/pdbgen/pdb/convert.pdb
2006-03-15  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/context.pdb
	* tools/pdbgen/pdb/convert.pdb
	* tools/pdbgen/pdb/drawable.pdb
	* tools/pdbgen/pdb/edit.pdb
	* tools/pdbgen/pdb/fileops.pdb
	* tools/pdbgen/pdb/gimprc.pdb
	* tools/pdbgen/pdb/gradient.pdb
	* tools/pdbgen/pdb/gradients.pdb
	* tools/pdbgen/pdb/guides.pdb
	* tools/pdbgen/pdb/image.pdb
	* tools/pdbgen/pdb/layer.pdb
	* tools/pdbgen/pdb/message.pdb
	* tools/pdbgen/pdb/misc.pdb
	* tools/pdbgen/pdb/paths.pdb
	* tools/pdbgen/pdb/plug_in.pdb
	* tools/pdbgen/pdb/procedural_db.pdb
	* tools/pdbgen/pdb/selection.pdb
	* tools/pdbgen/pdb/undo.pdb
	* tools/pdbgen/pdb/unit.pdb: get rid of much more alias => 'foo'.
	Even more cleanup.

	* app/pdb/context_cmds.c
	* app/pdb/convert_cmds.c
	* app/pdb/drawable_cmds.c
	* app/pdb/edit_cmds.c
	* app/pdb/fileops_cmds.c
	* app/pdb/gradient_cmds.c
	* app/pdb/gradients_cmds.c
	* app/pdb/guides_cmds.c
	* app/pdb/image_cmds.c
	* app/pdb/layer_cmds.c
	* app/pdb/message_cmds.c
	* app/pdb/misc_cmds.c
	* app/pdb/paths_cmds.c
	* app/pdb/plug_in_cmds.c
	* app/pdb/procedural_db_cmds.c
	* app/pdb/selection_cmds.c
	* app/pdb/undo_cmds.c
	* app/pdb/unit_cmds.c
	* libgimp/gimpdrawable_pdb.[ch]
	* libgimp/gimpimage_pdb.[ch]: regenerated.
2006-03-15 15:00:01 +00:00
Michael Natterer 59771587ae tools/pdbgen/pdb/brush.pdb tools/pdbgen/pdb/brushes.pdb
2006-03-15  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/brush.pdb
	* tools/pdbgen/pdb/brushes.pdb
	* tools/pdbgen/pdb/context.pdb
	* tools/pdbgen/pdb/drawable.pdb
	* tools/pdbgen/pdb/drawable_transform.pdb
	* tools/pdbgen/pdb/gradient.pdb
	* tools/pdbgen/pdb/gradients.pdb
	* tools/pdbgen/pdb/image.pdb
	* tools/pdbgen/pdb/palette.pdb
	* tools/pdbgen/pdb/palettes.pdb
	* tools/pdbgen/pdb/paths.pdb
	* tools/pdbgen/pdb/pattern.pdb
	* tools/pdbgen/pdb/patterns.pdb
	* tools/pdbgen/pdb/procedural_db.pdb
	* tools/pdbgen/pdb/transform_tools.pdb: let pdbgen handle *only*
	variables for arguments and return values and declare all local
	variables inside the C code. Removed lots of alias => '<expression>'
	and no_declare => 1 stuff from return values, instead let pdbgen
	declare the variables and assign them manually in the C code.
	More cleanup.

	* tools/pdbgen/app.pl: removed support for proc->vars.

	* app/pdb/brush_cmds.c
	* app/pdb/brushes_cmds.c
	* app/pdb/context_cmds.c
	* app/pdb/drawable_cmds.c
	* app/pdb/drawable_transform_cmds.c
	* app/pdb/gradient_cmds.c
	* app/pdb/gradients_cmds.c
	* app/pdb/image_cmds.c
	* app/pdb/palette_cmds.c
	* app/pdb/palettes_cmds.c
	* app/pdb/paths_cmds.c
	* app/pdb/pattern_cmds.c
	* app/pdb/patterns_cmds.c
	* app/pdb/procedural_db_cmds.c
	* app/pdb/transform_tools_cmds.c
	* libgimp/gimpbrush_pdb.c
	* libgimp/gimpbrushes_pdb.c
	* libgimp/gimpgradient_pdb.c
	* libgimp/gimpgradients_pdb.c
	* libgimp/gimppalette_pdb.c
	* libgimp/gimppalettes_pdb.c
	* libgimp/gimppatterns_pdb.c: regenerated.
2006-03-15 12:49:25 +00:00
Sven Neumann ce4f646661 app/actions/channels-actions.c app/actions/edit-actions.c
2006-03-15  Sven Neumann  <sven@gimp.org>

	* app/actions/channels-actions.c
	* app/actions/edit-actions.c
	* app/actions/file-actions.c
	* app/actions/image-actions.c
	* app/actions/layers-actions.c
	* app/actions/view-actions.c: added more action blurbs.
2006-03-15 11:46:19 +00:00
Sven Neumann 1018e6f3a3 enabled tooltips on all menu items for easier review of the action blurbs.
2006-03-15  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpaction.c (gimp_action_set_proxy): enabled
	tooltips on all menu items for easier review of the action blurbs.
	This should be made configurable.
2006-03-15 00:05:55 +00:00
Sven Neumann 017a91d2bf app/actions/image-actions.c added more tooltips, please review.
2006-03-15  Sven Neumann  <sven@gimp.org>

	* app/actions/image-actions.c
	* app/actions/layers-actions.c: added more tooltips, please review.
2006-03-15 00:00:32 +00:00
Michael Natterer 2ff56f8dee remove lots of perl crack: - create almost all parameter arrays manually
2006-03-14  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/*.pdb: remove lots of perl crack:
	- create almost	all parameter arrays manually instead of
	  generating them from utility functions
	- removed lots of other utility functions
	- moved variable declarations into the enclosed code snippets
	  where possible
	- some cleanup and API doc fixes

	* tools/pdbgen/stddefs.pdb: added some perl crack:
	define utility functions for all contributors which own more than
	some functions, so they can change their names and email addresses
	at a central place.

	* app/pdb/[many].c: regenerated.

	* libgimp/gimpcolor_pdb.c
	* libgimp/gimpdrawabletransform_pdb.c
	* libgimp/gimptransformtools_pdb.c
	* libgimp/gimpvectors_pdb.c: ditto. Changed affect only API docs.
2006-03-14 21:35:50 +00:00
Žygimantas Beručka d845e06893 Updated Lithuanian translations.
2006-03-14  Žygimantas Beručka  <zygis@gnome.org>

        * po-*/lt.po: Updated Lithuanian translations.
2006-03-14 17:20:27 +00:00
Sven Neumann 39abf7072e news update 2006-03-14 16:58:07 +00:00
Michael Natterer 4d973a0805 added gimp_image_get_guide() and gimp_image_get_next_guide(), which take a
2006-03-13  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpimage-guides.[ch]: added gimp_image_get_guide() and
	gimp_image_get_next_guide(), which take a guide_ID and return the
	image's GimpGuide with that ID (the one after that for next_guide())

	* tools/pdbgen/pdb/guides.pdb: use them instead of having this
	code here.

	* app/pdb/guides_cmds.c: regenerated.
2006-03-13 19:13:08 +00:00
Sven Neumann 68ea81c382 silently return TRUE if the layer is already at the top (or the bottom
2006-03-13  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimage.c (gimp_image_raise_layer_to_top,
	gimp_image_lower_layer_to_bottom): silently return TRUE if the
	layer is already at the top (or the bottom respectively).
2006-03-13 06:17:01 +00:00
Hendrik Brandt 529468496c Updated German translation.
2006-03-12  Hendrik Brandt  <heb@gnome-de.org>

        * de.po: Updated German translation.
2006-03-12 16:30:48 +00:00
Sven Neumann 1db02d245b added a const qualifier to the GimpWireIOFunc signature.
2006-03-11  Sven Neumann  <sven@gimp.org>

	* libgimpbase/gimpwire.h: added a const qualifier to the
	GimpWireIOFunc signature.

	* libgimp/gimp.c (gimp_write)
	* app/plug-in/plug-in.c (plug_in_write): changed accordingly.
2006-03-11 17:33:36 +00:00
Francisco Javier F. Serrador 27a3e822bd Updated Spanish translation.
2006-03-10  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	* es.po: Updated Spanish translation.
2006-03-10 18:45:38 +00:00
Sven Neumann 872d9506e5 factored out some code to a utility function.
2006-03-10  Sven Neumann  <ven@gimp.org>

	* app/widgets/gimpaction.c: factored out some code to a utility
	function.

	* app/config/gimpguiconfig.[ch]
	* app/config/gimprc-blurbs.h
	* app/dialogs/preferences-dialog.c
	* app/gui/gui.c
	* app/plug-in/plug-in-run.c
	* libgimp/gimp.c
	* libgimpbase/gimpprotocol.[ch]: renamed tool_tips to tooltips in
	variables and in the gimprc.

	* app/config/gimpbaseconfig.[ch]: removed stingy_memory_use from
	the GimpBaseConfig struct.
2006-03-10 16:40:09 +00:00
Sven Neumann 49b1d06896 remove color if Shift is pressed.
2006-03-10  Sven Neumann  <sven@gimp.org>

	* modules/colorsel_water.c: remove color if Shift is pressed.
2006-03-10 13:12:15 +00:00
Sven Neumann e64dc39c48 app/actions/drawable-actions.c app/actions/image-actions.c added tooltips,
2006-03-10  Sven Neumann  <sven@gimp.org>

	* app/actions/drawable-actions.c
	* app/actions/image-actions.c
	* app/actions/layers-actions.c: added tooltips, more to come here.
2006-03-10 11:13:14 +00:00
Sven Neumann 7b2b56b2fe use the procedure blurb as tooltip.
2006-03-10  Sven Neumann  <sven@gimp.org>

	* app/actions/plug-in-actions.c (plug_in_actions_add_proc): use
	the procedure blurb as tooltip.

	* plug-ins/common/blur.c
	* plug-ins/common/gauss.c
	* plug-ins/common/mblur.c: rephrased some blurbs and marked them
	for translation.

	* app/pdb/procedural-db-query.c: formatting.
2006-03-10 10:08:35 +00:00
Michael Natterer a8cf1cfa9d connect to the menu items' "select" and "deselect" signals instead of
2006-03-10  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpuimanager.c: connect to the menu items' "select"
	and "deselect" signals instead of "enter-notify-event" and
	"leave-notify-event", so tooltips work with keynav.
2006-03-10 10:05:38 +00:00
Michael Natterer 23b99dfab6 show tooltps from the global image popup menu too.
2006-03-09  Michael Natterer  <mitch@gimp.org>

	* app/gui/gui.c: show tooltps from the global image popup menu too.
2006-03-09 16:06:32 +00:00
Michael Natterer 6a01bb2306 added "show-tooltip" and "hide-tooltip" signals. Connect to each menu
2006-03-09  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpuimanager.[ch]: added "show-tooltip" and
	"hide-tooltip" signals. Connect to each menu item's
	enter-notify-event and leave-notify-event. On enter, emit
	show-tooltip, on leave emit hide-tooltip.

	* app/display/gimpdisplayshell.c: connect to the menubar ui
	manager's show-tooltip and hide-tooltip signals and show the tip
	in the display's status bar.
2006-03-09 15:26:33 +00:00
Jakub Friedl 578de6bb49 Updated Czech translation
2006-03-09  Jakub Friedl <jfriedl@suse.cz>

  * cs.po: Updated Czech translation
2006-03-09 14:43:22 +00:00
Sven Neumann 37848a53ec create empty layers of image size instead of skipping empty layers in PSD
2006-03-09  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/psd.c: create empty layers of image size instead
	of skipping empty layers in PSD files (bug #317044).
2006-03-09 11:17:02 +00:00
Sven Neumann 28944ec183 offer the choice to Flatten or Merge Visible Layers (bug #332336).
2006-03-09  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpexport.c (gimp_export_image): offer the choice to
	Flatten or Merge Visible Layers (bug #332336).
2006-03-09 11:12:55 +00:00
Sven Neumann bf647a159e added accelerators for "close" and "quit" actions.
2006-03-09  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/animationplay.c: added accelerators for "close"
	and "quit" actions.

	* plug-ins/helpbrowser/dialog.c: added "close" to the popup menu.
2006-03-09 11:02:47 +00:00
Sven Neumann f775a9c825 return FALSE, not NULL from boolean function 2006-03-09 10:49:17 +00:00
Sven Neumann 51cd51f76e do not attempt to use a NULL function pointer.
2006-03-09  Sven Neumann  <sven@gimp.org>

	* plug-ins/imagemap/imap_main.c (button_press): do not attempt to
	use a NULL function pointer.

	* plug-ins/imagemap/imap_preview.c: added some sanity checks.
2006-03-09 10:47:53 +00:00
Sven Neumann 1c2a472f92 also add the popup menu to the standard playback window, not only to the
2006-03-09  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/animationplay.c: also add the popup menu to the
	standard playback window, not only to the detached one.
2006-03-09 09:50:03 +00:00
Sven Neumann d655228bb7 register an icon, improved tooltips, some minor cleanups.
2006-03-09  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/animationplay.c: register an icon, improved
	tooltips, some minor cleanups.
2006-03-09 08:08:13 +00:00
Josep Puigdemont i Casamajó 3b898ade04 Updated Catalan translation by Xavier Beà. 2006-03-09 00:03:22 +00:00
Josep Puigdemont i Casamajó ce81b19b99 Updated Catalan translation by Quim Perez i Noguer. 2006-03-09 00:01:14 +00:00
Josep Puigdemont i Casamajó 75444b5747 Updated Catalan translation by Quim Perez i Noguer i Xavi Conde. 2006-03-08 23:58:31 +00:00
Sven Neumann 212d9c7152 free the whole list instead of deleting it one element at a time.
2006-03-08  Sven Neumann  <sven@gimp.org>

	* app/base/siox.c (find_max_blob): free the whole list instead of
	deleting it one element at a time.
2006-03-08 11:02:18 +00:00
Sven Neumann 2a0378acb5 keep a reference on the old image until the display is connected to the
2006-03-06  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplay.c (gimp_display_reconnect): keep a
	reference on the old image until the display is connected to the
	new one. Fixes bug #333568.

	* app/display/gimpdisplay-handlers.c: fixed typo in comment.

	* app/actions/file-commands.c: cosmetics.
2006-03-06 17:35:40 +00:00
David Odin 62f7298ba0 fixed merge down (previously broken by a not that purely cosmetic change).
* app/core/gimpimage-merge.c: fixed merge down (previously broken by a
  not that purely cosmetic change). Spotted by Amar Takhar.
2006-03-05 22:02:40 +00:00
Sven Neumann d7591a750f use descriptive verbs in action buttons instead of Yes and No.
2006-03-04  Sven Neumann  <sven@gimp.org>

	* app/dialogs/file-save-dialog.c (file_save_dialog_use_extension):
	use descriptive verbs in action buttons instead of Yes and No.
2006-03-04 02:23:26 +00:00
Sven Neumann f849858810 set tooltips dynamically.
2006-03-04  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpcolordisplayeditor.c: set tooltips dynamically.
2006-03-04 00:53:47 +00:00
Sven Neumann 303fd1993a app/widgets/gimpcontrollereditor.c set tooltips dynamically.
2006-03-04  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpcontrollereditor.c
	* app/widgets/gimpcontrollerlist.c: set tooltips dynamically.
2006-03-04 00:41:15 +00:00
Sven Neumann e09c3f2da6 app/dialogs/vectors-import-dialog.c (vectors_import_dialog_new) fixed
2006-03-03  Sven Neumann  <sven@gimp.org>

	* app/dialogs/vectors-import-dialog.c (vectors_import_dialog_new)
	* app/widgets/gimpfiledialog.c (gimp_file_dialog_add_filters):
	fixed capitalization of filter names.
2006-03-03 22:46:01 +00:00
Žygimantas Beručka 76fffb6db4 Updated Lithuanian translation.
2006-03-04  Žygimantas Beručka  <zygis@gnome.org>

        * lt.po: Updated Lithuanian translation.
2006-03-03 22:43:43 +00:00
Žygimantas Beručka db5d0952cd Updated Lithuanian translation.
2006-03-03  Žygimantas Beručka  <zygis@gnome.org>

        * lt.po: Updated Lithuanian translation.
2006-03-03 22:07:31 +00:00
Žygimantas Beručka 4bb08cfedb Updated Lithuanian translation.
2006-03-03  Žygimantas Beručka  <zygis@gnome.org>

        * lt.po: Updated Lithuanian translation.
2006-03-03 20:14:02 +00:00
Sven Neumann 017278c111 app/dialogs/file-open-dialog.c app/display/gimpdisplayshell-dnd.c
2006-03-03  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/pdb/fileops.pdb:
	* app/dialogs/file-open-dialog.c
	* app/display/gimpdisplayshell-dnd.c
	* app/file/file-open.[ch]
	* app/widgets/gimplayertreeview.c: pass the selected load procedure
	to file_open_layer() or NULL if none is selected. Fixes bug #333207.

	* app/pdb/fileops_cmds.c: regenerated.
2006-03-03 19:51:20 +00:00
Manish Singh 20b4e771f0 use proper sentinel type for gtk_dialog_set_alternative_button_order.
2006-03-02  Manish Singh  <yosh@gimp.org>

        * plug-ins/jpeg/jpeg-exif.c (jpeg_query): use proper sentinel type
        for gtk_dialog_set_alternative_button_order. Fixes bug #330800.
2006-03-03 01:14:45 +00:00
Michael Natterer f420608145 made it a static function (was accidentially non-static).
2006-03-02  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpimage.c (gimp_image_real_flush): made it a static
	function (was accidentially non-static).
2006-03-02 19:35:48 +00:00
Michael Natterer b55ce9ea2d added new methods ::get_bytes() and ::flush()
2006-03-02  Michael Natterer  <mitch@gimp.org>

	* app/core/gimppickable.[ch]: added new methods ::get_bytes() and
	::flush()

	* app/core/gimpchannel.c
	* app/core/gimpdrawable.c
	* app/core/gimpimagemap.c
	* app/core/gimpprojection.c: implement ::get_bytes()

	* app/core/gimpprojection.c: implement ::flush() (immediately
	process both the idle renderer's queue and the unflushed update
	areas, to make sure that any reading from the projection will
	re-construct it).

	* app/core/gimp-edit.c
	* app/core/gimpchannel.c
	* app/core/gimpimage-contiguous-region.c
	* app/core/gimpimage-crop.c
	* app/core/gimppalette-import.c
	* app/paint/gimpclone.c
	* app/tools/gimpbycolorselecttool.c
	* app/tools/gimpiscissorstool.c
	* tools/pdbgen/pdb/image.pdb: use the pickable interface more
	consistently when reading from any drawable or the projection, and
	call gimp_pickable_flush() before doing so. Fixes bug #332933.

	* app/core/gimpimage-pick-color.c: added comment why the we don't
	call gimp_pickable_flush() here.

	* app/pdb/image_cmds.c
	* libgimp/gimpimage_pdb.c: regenerated.
2006-03-02 19:30:59 +00:00
Inaki Larranaga 342a7ee9db Updated Basque translation.
2006-03-02  Inaki Larranaga  <dooteo@euskalgnu.org>

	* eu.po: Updated Basque translation.
2006-03-02 15:00:14 +00:00
Sven Neumann 9694e5f5c8 corrected documentation for gimp_image_[lower|raise]_layer(). We do not
2006-03-02  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/pdb/image.pdb: corrected documentation for
	gimp_image_[lower|raise]_layer(). We do not any longer refuse to
	raise and lower based on a missing alpha channel.

	* app/pdb/image_cmds.c
	* libgimp/gimpimage_pdb.c: regenerated.
2006-03-02 14:38:50 +00:00
Sven Neumann 95ad3a13ab readded version check for glib-gettextize.
2006-03-02  Sven Neumann  <sven@gimp.org>

	* autogen.sh: readded version check for glib-gettextize.
2006-03-02 14:10:53 +00:00