Commit Graph

8003 Commits

Author SHA1 Message Date
Sven Neumann 16d3f2b99c fixed usage of gtk_color_selection_set_has_opacity_control().
2003-02-02  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpcolorbutton.c (gimp_color_button_clicked):
	fixed usage of gtk_color_selection_set_has_opacity_control().
2003-02-02 01:22:01 +00:00
Sven Neumann 348ace69b7 misc stuff 2003-02-01 23:11:09 +00:00
Maurits Rijk 49e8789d59 More code clean-up in several plug-ins, mainly simplifying preview stuff. 2003-02-01 22:26:34 +00:00
Sven Neumann 47f2a7f8d9 app/config/gimpconfig.[ch] added a reset method to GimpConfigInterface.
2003-02-01  Sven Neumann  <sven@gimp.org>

	* app/config/gimpconfig.[ch]
	* app/config/gimpconfig-utils.[ch]: added a reset method to
	GimpConfigInterface. Added the new function gimp_config_reset()

	* app/text/gimptext.c: added a GimpConfigInterface to GimpText.

	* app/widgets/Makefile.am
	* app/widgets/gimptexteditor.[ch]: new files that hold the simple
	text editor dialog used by the text tool.

	* app/widgets/gimppropwidgets.[ch]: added new widget constructor
	gimp_prop_scale_entry_new().

	* app/tools/gimptexttool.[ch]: replaced old-style ToolOptions with
	a GimpText object. Connect text layers to the text tool by means
	of their GimpText objects. Still work in progress ...
2003-02-01 21:50:21 +00:00
Christophe Merlet bc288a6f29 Updated French translation. 2003-02-01 15:36:05 +00:00
Sven Neumann 31a2c4db66 handle GIMP_GRAVITY_NONE.
2003-02-01  Sven Neumann  <sven@gimp.org>

	* app/text/gimptextlayer.c (gimp_text_layer_position_layout):
	handle GIMP_GRAVITY_NONE.
2003-02-01 10:50:10 +00:00
Michael Natterer 16040ddad7 fixed a comment.
2003-02-01  Michael Natterer  <mitch@gimp.org>

	* libgimpmodule/gimpmodule.c: fixed a comment.
2003-02-01 09:56:31 +00:00
Manish Singh 3c965748ac #include <string.h>
2003-01-31  Manish Singh  <yosh@gimp.org>

        * app/text/gimptextlayer.c: #include <string.h>
2003-02-01 01:44:35 +00:00
Sven Neumann 6faa590b7c added GIMP_GRAVITY_NONE.
2003-01-31  Sven Neumann  <sven@gimp.org>

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

2003-01-31  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/Makefile.am (HTML_IMAGES)
	* libgimpwidgets/libgimpwidgets-sections.txt
	* libgimpwidgets/tmpl/gimpstock.sgml: added new icons.
2003-01-31 20:21:01 +00:00
Kwok-Koon Cheung 71d6126a8a Updated traditional Chinese translation 2003-01-31 19:04:30 +00:00
Sven Neumann 5e2c14ba8c don't use gimp_drawable_configure() to resize the text layer, it should
2003-01-31  Sven Neumann  <sven@gimp.org>

	* app/text/gimptextlayer.c: don't use gimp_drawable_configure() to
	resize the text layer, it should only ever be called once. Take
	the logical rectangle into account when calculating the layer size
	and text position.

	* app/tools/gimptexttool.[ch]: added basic text editing
	functionality. Needs more work ...

	* themes/Default/images/Makefile.am
	* themes/Default/images/stock-gravity-east-24.png
	* themes/Default/images/stock-gravity-north-24.png
	* themes/Default/images/stock-gravity-north-east-24.png
	* themes/Default/images/stock-gravity-north-west-24.png
	* themes/Default/images/stock-gravity-south-24.png
	* themes/Default/images/stock-gravity-south-east-24.png
	* themes/Default/images/stock-gravity-south-west-24.png

	* themes/Default/images/stock-gravity-west-24.png: added new icons
	for yet-to-written GimpGravityChooser(?) widget. Artwork
	shamelessly taken from Jimmac's XFree cursors.

	* libgimpwidgets/gimpstock.[ch]: added stock items for the new icons.
2003-01-31 18:57:10 +00:00
Michael Natterer 794885e297 added gimp_item_configure() and gimp_item_copy().
2003-01-31  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpitem.[ch]: added gimp_item_configure() and
	gimp_item_copy().

	* app/core/gimpdrawable.c (gimp_drawable_configure,copy): use them.

	* app/vectors/gimpvectors.[ch]: added gimp_vectors_new(),
	gimp_vectors_copy() and gimp_vectors_copy_points(). Use the new
	GimpItem functions just as GimpDrawable does. Added a
	get_memsize() implementation.

	* app/vectors/gimpstroke.[ch]: made it a GimpObject and added
	a get_memsize() implementation.

	* app/undo.c: implemented vectors undo as if the new GimpVectors
	functions above worked.

	* app/gui/dialogs-constructors.c
	* app/gui/vectors-commands.c
	* app/tools/gimpvectortool.c: use gimp_vectors_new,copy().
2003-01-31 18:08:32 +00:00
Sven Neumann 291eb383c7 added offset_x and offset_y to gimp_drawable_configure().
2003-01-31  Sven Neumann  <sven@gimp.org>

	* app/core/gimpdrawable.[ch]: added offset_x and offset_y to
	gimp_drawable_configure().

	* app/core/gimpchannel.c
	* app/core/gimplayer.c
	* app/core/gimplayermask.c: changed accordingly.

	* app/text/gimptextlayer.[ch]: update the layer when the associated
	GimpText object changes.
2003-01-31 16:37:03 +00:00
Gustavo Noronha Silva b1fed0c0a3 update by Alexandre Folle de Menezes <afmenez@terra.com.br> 2003-01-31 14:14:39 +00:00
Sven Neumann 57a23b7b54 allow NULL as context parameter in gimp_font_selection_new(). The widget
2003-01-31  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpfontselection.c: allow NULL as context parameter
	in gimp_font_selection_new(). The widget then uses a default
	PangoFT2Context.

	* app/tools/gimptexttool.c (text_tool_options_new): call
	gimp_font_selection_new() with a NULL context. The text tool now
	doesn't know about Pango any longer.

	* app/paint/Makefile.am
	* app/tools/Makefile.am (INCLUDES): removed PANGOFT2_CFLAGS.
2003-01-31 13:58:49 +00:00
Sven Neumann 8ed5a7207c added new enum GimpGravityType.
2003-01-31  Sven Neumann  <sven@gimp.org>

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

	* app/text/gimptext.[ch]
	* app/text/gimptextlayer.[ch]: added support for specifying a
	fixed layer size and how to position the text inside the layer.

	* app/text/gimptext-compat.c
	* app/tools/gimptexttool.c: changed accordingly.
2003-01-31 13:36:27 +00:00
Michael Natterer 5f57c07fa5 removed.
2003-01-31  Michael Natterer  <mitch@gimp.org>

	* app/gui/file-dialog-utils.[ch] (file_dialog_update_menus): removed.

	* app/gui/file-save-menu.[ch] (file_save_menu_update): added here.

	* app/gui/menus.c: register it as non-automatic update_func.

	* app/gui/file-save-dialog.c: changed accordingly.
2003-01-31 11:54:16 +00:00
Sven Neumann 27698a2b3f app/config/gimpconfig-params.h
2003-01-31  Sven Neumann  <sven@gimp.org>

	* app/config/gimpconfig-params.h

	* app/config/gimpcoreconfig.c: added a pixels parameter to the
	GIMP_CONFIG_INSTALL_PROP_UNIT() macro.

	* app/core/Makefile.am
	* app/core/gimpimage-text.[ch]: removed these two files.

	* app/text/Makefile.am
	* app/text/gimptext-compat.[ch]: new files with compatibility
	routines that provide the old text API (solely for PDB calls).

	* app/text/gimptext-render.[ch]: new files with text rendering
	routines (not much yet).

	* app/text/text-types.h
	* app/text/gimptextlayer.[ch]: new object derived from GimpLayer.

	* app/text/gimptext.[ch]: prepared for future improvements.

	* app/pdb/text_tool_cmds.c
	* app/tools/gimptexttool.c
	* tools/pdbgen/pdb/text_tool.pdb: changed accordingly.
2003-01-31 09:22:42 +00:00
Gustavo Noronha Silva 1305d37cde Updated Brazilian Portuguese translation by Alexandre Folle de Menezes
* Updated Brazilian Portuguese translation by
	  Alexandre Folle de Menezes <afmenez@terra.com.br>.
2003-01-31 03:34:07 +00:00
Manish Singh 90b2de503d app/undo_history.c libgimp/gimpmenu.c plug-ins/Lighting/lighting_preview.c
2003-01-30  Manish Singh  <yosh@gimp.org>

        * app/undo_history.c
        * libgimp/gimpmenu.c
        * plug-ins/Lighting/lighting_preview.c
        * plug-ins/common/animationplay.c
        * plug-ins/common/jpeg.c
        * plug-ins/common/screenshot.c
        * plug-ins/gap/gap_navigator_dialog.c
        * plug-ins/gflare/gflare.c
        * plug-ins/ifscompose/ifscompose.c
        * plug-ins/imagemap/imap_main.c
        * plug-ins/imagemap/imap_polygon.c: changed gtk_{timeout,idle} stuff
        to their glib equivalents. Minor cleanups also with support code.

        * plug-ins/dbbrowser/dbbrowser_utils.c (gimp_db_browser): use
        gtk_entry_set_activates_default()
2003-01-31 03:08:29 +00:00
Seth Burgess e717e0731c Fixed off by 1 error that was emitting Critical warnings. 2003-01-31 02:15:52 +00:00
Pablo Saratxaga 5ad96758e9 Added last vietnamese po file 2003-01-31 00:07:39 +00:00
Maurits Rijk 801c6d61b1 Mostly minor code clean-up. Fixed one memory leak. 2003-01-30 21:58:11 +00:00
Sven Neumann ff259644d0 removed GIMP_ENABLE_COMPAT_CRUFT guards. The file needs to included
2003-01-30  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpcompat.h: removed GIMP_ENABLE_COMPAT_CRUFT guards.
	The file needs to included explicitely anyway.
2003-01-30 14:15:35 +00:00
Michael Natterer a3c388149d renamed plug_in->busy to plug_in->in_temp_proc. Added a stack of
2003-01-30  Michael Natterer  <mitch@gimp.org>

	* app/plug-in/plug-in.[ch]: renamed plug_in->busy to
	plug_in->in_temp_proc. Added a stack of GMainLoops to each
	plug-in. Added the "current_return_vals" to the PlugIn
	struct. Renamed plug_in_kill() to plug_in_exit(). Removed
	the stuff added below. Cleanup.

	* app/plug-in/Makefile.am
	* app/plug-in/plug-in-message.[ch]
	* app/plug-in/plug-in-run.[ch]
	* app/plug-in/plug-in-shm.[ch]: new files taking out functionality
	from the overloaded plug-in.c. Added the code back in that implements
	temp proc return messages (inside an #ifdef) because i don't
	really get why it was removed on Sep 19 1998.

	* app/plug-in/plug-ins.c: changed accordingly.

	* app/plug-in/plug-in-def.c
	* app/plug-in/plug-in-params.c: removed inclusion of <gtk/gtk.h>.

	* app/gui/file-save-dialog.c
	* app/gui/paths-dialog.c
	* app/gui/plug-in-commands.c
	* app/gui/plug-in-menus.c
	* app/pdb/procedural_db.c
	* app/widgets/gimphelp.c: changed plug-in includes accordingly.

	* app/gui/plug-in-commands.c: don't use "the_gimp" from
	"app_procs.h" but get it from the GimpItemFactory that invoked the
	plug-in callback.
2003-01-30 11:20:12 +00:00
Nate Summers 82109cf097 GimpToolGui 2003-01-30 08:01:32 +00:00
Manish Singh 67e8b3b4a5 don't divide by zero if we get all zero resolution info when we load the
2003-01-29  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/jpeg.c (load_image): don't divide by zero if
        we get all zero resolution info when we load the jpeg.
2003-01-30 01:13:41 +00:00
Sven Neumann 60273b5b9a configure.in app/Makefile.am added new directory text.
2003-01-29  Sven Neumann  <sven@gimp.org>

	* configure.in
	* app/Makefile.am
	* app/text/Makefile.am: added new directory text.

	* app/text/text-types.h
	* app/text/gimptext.[ch]: moved GimpText object here.

	* app/core/Makefile.am
	* app/core/core-types.h
	* app/core/gimpimage-text.c
	* app/tools/gimptexttool.c: changed accordingly.
2003-01-29 22:20:09 +00:00
Michael Natterer 44278fd4d8 Fixed bug #97449:
2003-01-29  Michael Natterer  <mitch@gimp.org>

	Fixed bug #97449:

	* app/core/gimpchannel.c (gimp_channel_scale,resize)
	* app/core/gimplayer.c (gimp_layer_scale,resize)
	* app/undo.c (undo_pop_layer_mod,channel_mod): emit "size_changed"
	whenever the size has changed. Cleaned up the two undo_pop
	functions.

	* app/core/gimpimage.c (gimp_image_size_changed): emit
	"size_changed" on all layers/channels so their previews are
	updated correctly on image resize and image resize undo. Don't
	invalidate layers/channels previews here because it's the
	layers'/channels' job to invalidate themselves if needed.
2003-01-29 17:27:34 +00:00
Sven Neumann 3aa36bbb13 removed unused function gimp_prop_enum_option_menu_new_with_values() which
2003-01-29  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimppropwidgets.[ch]: removed unused function
	gimp_prop_enum_option_menu_new_with_values() which caused problems
	on some platforms (fixes bug #102514).

	* app/gui/preferences_dialog.c: removed some unused code.
2003-01-29 15:55:13 +00:00
Michael Natterer 4463cdd0ed pack the button box non-expanding, removed cruft from the ModuleBrowser
2003-01-29  Michael Natterer  <mitch@gimp.org>

	* app/gui/module-browser.c: pack the button box non-expanding,
	removed cruft from the ModuleBrowser struct.
2003-01-29 11:08:51 +00:00
Abel Cheung 17ff3b34c8 Updated traditional Chinese translation.
2003-01-29  Abel Cheung  <maddog@linux.org.hk>

	* zh_TW.po: Updated traditional Chinese translation.
2003-01-29 10:08:13 +00:00
Yuri Syrota fb4df89f59 Updated Ukrainian translation 2003-01-29 09:08:23 +00:00
Pablo Gonzalo del Campo a8179722f4 Updated Spanish translation.
2003-01-29  Pablo Gonzalo del Campo  <pablodc@bigfoot.com>

        * es.po: Updated Spanish translation.
2003-01-29 03:40:08 +00:00
Pablo Saratxaga a29f833258 updated Vietnamese file 2003-01-28 16:39:48 +00:00
Tor Lillqvist bde4579f6a Add missing entry points.
2003-01-28  Tor Lillqvist  <tml@iki.fi>

	* libgimp/gimpui.def: Add missing entry points.

	* plug-ins/common/plugin-defs.pl: Mark bz2, mail, screenshot and
	url as optional (not built on Win32). Ditto for winclipboard and
	winprint (Win32 only).

	* plug-ins/common/mkgen.pl: Use -mwindows on Win32.

	* plug-ins/common/Makefile.am
	* plug-ins/common/.cvsignore: Regenerated.

	* configure.in: Correspondingly conditionally define BZ2, MAIL,
	SCREENSHOT, URL, WINCLIPBOARD and WINPRINT, and AC_SUBST them.
	Set XJT to empty always on Win32 (uses tar, mv and bzip2, which
	aren't usually available).
2003-01-28 06:51:56 +00:00
Maurits Rijk 9984145f49 New routine in gimpmiscui and some code clean-up 2003-01-27 22:07:49 +00:00
Sven Neumann 416049f460 commented out debugging output.
2003-01-27  Sven Neumann  <sven@gimp.org>

	* app/gui/preferences-dialog.c: commented out debugging output.
2003-01-27 13:41:27 +00:00
Sven Neumann caf6d3d532 configure.in plug-ins/common/Makefile.am plug-ins/common/plugin-defs.pl
2003-01-27  Sven Neumann  <sven@gimp.org>

	* configure.in
	* plug-ins/common/Makefile.am
	* plug-ins/common/plugin-defs.pl
	* plug-ins/common/mpeg.c: removed the MPEG plug-in. It has been
	broken, unmaintained and caused nothing but trouble (#51400,
	#104522).
2003-01-27 12:49:46 +00:00
Tor Lillqvist 6f444f9987 libgimptool/gimptool.def Add some missing entry points.
2003-01-26  Tor Lillqvist  <tml@iki.fi>

	* libgimptool/gimptool.def
	* libgimpwidgets/gimpwidgets.def: Add some missing entry points.
2003-01-26 17:10:47 +00:00
Kjartan Maraas 0678d0cf12 Updated Norwegian (bokmal) translation.
2003-01-26  Kjartan Maraas  <kmaraas@gnome.org>

	* no.po: Updated Norwegian (bokmal) translation.
2003-01-26 17:06:55 +00:00
Sven Neumann 1ca73a96d5 app/core/gimpbrushpipe.c plugged some obvious memleaks related to the use
2003-01-26  Sven Neumann  <sven@gimp.org>

	* app/core/gimpbrushpipe.c
	* app/gui/about-dialog.c: plugged some obvious memleaks related to
	the use of GRand.
2003-01-26 14:27:53 +00:00
Michael Natterer a541421efe app/plug-in/plug-ins.c libgimp/libgimp-intl.h libgimpwidgets/gimpstock.c
2003-01-26  Michael Natterer  <mitch@gimp.org>

	* app/plug-in/plug-ins.c
	* libgimp/libgimp-intl.h
	* libgimpwidgets/gimpstock.c
	* plug-ins/perl/Gimp.xs
	* plug-ins/script-fu/script-fu.c
	* plug-ins/script-fu/script-fu-intl.h: replaced all remaining
	"gimp14" by GETTEXT_PACKAGE.
2003-01-26 12:24:05 +00:00
Sven Neumann 46ee0ec13b added a tooltip describing the compression level scale as suggested in
2003-01-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/png.c: added a tooltip describing the
	compression level scale as suggested in #68485.
2003-01-26 01:27:01 +00:00
Sven Neumann e6bd0db317 removed the description of the image title format string from the blurb
2003-01-26  Sven Neumann  <sven@gimp.org>

	* app/config/gimprc-blurbs.h: removed the description of the image
	title format string from the blurb ...

	* app/config/gimpconfig-dump.c: ... and added it here.  Slightly
	improved manpage formatting.

	* app/config/gimpconfig-deserialize.c: fixed a typo.

	* docs/gimprc-1.3.5.in
	* etc/gimprc: regenerated.
2003-01-26 01:20:20 +00:00
Sven Neumann 5031fd61f5 add a tooltip if a param_spec has a non-NULL blurb. Addresses bug #68485.
2003-01-25  Sven Neumann  <sven@gimp.org>

        * app/widgets/gimppropwidgets.c: add a tooltip if a param_spec has
        a non-NULL blurb. Addresses bug #68485.

        * app/config/gimpbaseconfig.c
        * app/config/gimpcoreconfig.c
        * app/config/gimpdisplayconfig.c
        * app/config/gimpguiconfig.c
        * app/config/gimprc-blurbs.h: marked some blurbs as translatable.

        * Makefile.am
        * app/config/Makefile.am: added dist-hooks so the system gimprc
        and gimprc manpage get generated when doing a release.

        * libgimpwidgets/gimpmemsizeentry.[ch]: added the spinbutton to
        the GimpMemsizeEntry struct so we can access it in order to add
        a tooltip.
2003-01-25 20:29:42 +00:00
Sven Neumann 04d29efd74 added a new enum to specify how to display histograms.
2003-01-25  Sven Neumann  <sven@gimp.org>

	* app/widgets/widgets-enums.h: added a new enum to specify how to
	display histograms.

	* app/widgets/widgets-enums.c: regenerated.

	* app/widgets/gimphistogramview.[ch]: added a scale property and
	made channel a property. Added support for linear histograms based
	on a patch from Akkana (see bug #72951).

	* app/widgets/gimphistogrambox.c: redraw the gradient when the
	histogram view notifies it that the displayed channel has changed.

	* app/tools/gimphistogramtool.c: added a menu to configure the
	histogram scale.
2003-01-25 18:58:45 +00:00
Ole Laursen 90e72e5f62 Updated Danish translation.
2003-01-25  Ole Laursen  <olau@hardworking.dk>

	* da.po: Updated Danish translation.
2003-01-25 18:09:01 +00:00
Michael Natterer 51785c1d5b app/core/gimpdocumentlist.[ch] added "Gimp" pointers so we don't need to
2003-01-24  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpdocumentlist.[ch]
	* app/core/gimpimagefile.[ch]: added "Gimp" pointers so we don't
	need to use "the_gimp" from "app_procs.h".

	* app/core/core-types.h
	* app/core/gimp.c
	* app/gui/file-open-dialog.c
	* tools/pdbgen/pdb/fileops.pdb: changed accordingly.

	* app/pdb/fileops_cmds.c: regenerated.
2003-01-24 17:38:24 +00:00
Daniel Yacob 27ce1d421b Updating Amharic translation. 2003-01-24 15:01:12 +00:00