Commit Graph

2856 Commits

Author SHA1 Message Date
Michael Natterer f72b8b1e39 new function which does the same as gtk_dialog_run() except it does not
2003-11-11  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimpdialog.[ch] (gimp_dialog_run): new function
	which does the same as gtk_dialog_run() except it does not make
	the dialog modal.

	* app/gui/resolution-calibrate-dialog.c
	* libgimp/gimpexport.c
	* plug-ins/*/*.c: use gimp_dialog_run() instead of gtk_dialog_run().

	* plug-ins/common/grid.c: set update_continuous to TRUE for
	the GimpColorButtons so this feature gets some testing.
2003-11-11 18:11:56 +00:00
Michael Natterer 7110a5bd4c removed doubly pasted code. Changed error/progress messages to use the
2003-11-11  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/dicom.c: removed doubly pasted code. Changed
	error/progress messages to use the "standard" string many plug-ins
	use. Added error message if opening for wriring fails. Minor
	cleanups.
2003-11-11 12:31:48 +00:00
Sven Neumann d08c259feb plug-ins/common/Makefile.am plug-ins/common/mkgen.pl
2003-11-11  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/Makefile.am
	* plug-ins/common/mkgen.pl
	* plug-ins/common/plugin-defs.pl
	* plug-ins/common/dicom.c: added DICOM file plug-in written by
	Dov Grobgeld.
2003-11-11 10:21:58 +00:00
Michael Natterer dfa405eff3 plug-ins/FractalExplorer/Dialogs.c plug-ins/common/CML_explorer.c
2003-11-09  Michael Natterer  <mitch@gimp.org>

	* plug-ins/FractalExplorer/Dialogs.c
	* plug-ins/common/CML_explorer.c
	* plug-ins/common/curve_bend.c
	* plug-ins/common/gqbist.c
	* plug-ins/common/spheredesigner.c
	* plug-ins/flame/flame.c
	* plug-ins/gfig/gfig.c
	* plug-ins/gimpressionist/brush.c
	* plug-ins/ifscompose/ifscompose.c
	* plug-ins/imagemap/imap_browse.c: more file selections on the
	right screen.
2003-11-09 22:44:45 +00:00
Sven Neumann d86e5895a9 app/core/gimpbrush.c (gimp_brush_load_brush) use proper conversion from
2003-11-09  Sven Neumann  <sven@gimp.org>

	* app/core/gimpbrush.c (gimp_brush_load_brush)
	* plug-ins/common/gbr.c (load_image): use proper conversion from
	16bit float to 8bit integer.
2003-11-09 20:52:01 +00:00
Sven Neumann 843f380772 removed redundant calls to gimp_get_data().
2003-11-09  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/svg.c: removed redundant calls to gimp_get_data().

	* plug-ins/common/wmf.c: fixed parameter handling and limits and
	initial value of the logarithmic scale entry.
2003-11-09 15:04:54 +00:00
Michael Natterer b5b9972620 use a scale_entry instead of adding a GtkHScale manually.
2003-11-09  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/wmf.c (load_dialog): use a scale_entry instead
	of adding a GtkHScale manually.
2003-11-09 10:50:36 +00:00
Sven Neumann a5cb6838b5 check for libwmf >= 0.2.8 and build the WMF plug-in conditionally.
2003-11-09  Sven Neumann  <sven@gimp.org>

	* configure.in: check for libwmf >= 0.2.8 and build the WMF
	plug-in conditionally.

	* plug-ins/common/Makefile.am
	* plug-ins/common/mkgen.pl
	* plug-ins/common/plugin-defs.pl
	* plug-ins/common/wmf.c: replaced the WMF plug-in with a plug-in
	using libwmf written by Dom Lachowicz and Francis James
	Franklin. Converted the plug-in to to new GimpDialog API and GIMP
	coding style. Fixes bug #108653.
2003-11-09 00:53:49 +00:00
Michael Natterer b62f8e9a75 To be multihead safe, each new window or menu needs to be associated with
2003-11-08  Michael Natterer  <mitch@gimp.org>

	To be multihead safe, each new window or menu needs to be
	associated with a GdkScreen or it will pop up on the default
	screen.

	* libgimpwidgets/gimpquerybox.[ch]
	* app/display/gimpdisplayshell-layer-select.[ch]
	* app/widgets/widgets-types.h
	* app/widgets/gimpitemfactory.[ch]
	* app/widgets/gimpitemtreeview.[ch]
	* app/widgets/gimptemplateview.[ch]
	* app/widgets/gimptooldialog.[ch]
	* app/widgets/gimpviewabledialog.[ch]
	* app/gui/channels-commands.[ch]
	* app/gui/color-notebook.[ch]
	* app/gui/convert-dialog.[ch]
	* app/gui/edit-commands.[ch]
	* app/gui/grid-dialog.[ch]
	* app/gui/image-commands.[ch]
	* app/gui/info-dialog.[ch]
	* app/gui/layers-commands.[ch]
	* app/gui/offset-dialog.[ch]
	* app/gui/resize-dialog.[ch]
	* app/gui/stroke-dialog.[ch]
	* app/gui/templates-commands.[ch]
	* app/gui/vectors-commands.[ch]: added "GtkWidget *parent"
	paramaters to all functions which create menus, popups or windows
	and pass "parent" to gimp_dialog_new() or one of the various
	wrappers around it. As a side effect, this fixes bug #61092.

	* app/widgets/gimpdialogfactory.[ch]: added "GdkScreen *screen"
	instead of "parent" here since there are no possible parent
	windows on startup.

	* app/display/gimpdisplayshell-callbacks.c
	(gimp_display_shell_origin_button_press): added a quick hack to
	send a display to another screen: click the origin button with the
	middle mouse button.

	* app/display/gimpdisplayshell.c
	(gimp_display_shell_screen_changed): don't chain up
	undonditionally (don't crash).

	* libgimpwidgets/gimpdialog.c (gimp_dialog_new_valist): set the
	dialog's screen from a non-GtkWidget parent widget. The rest of
	non-window parent widget handling is still unimplemented.

	* libgimpwidgets/gimpcolorbutton.c
	* app/widgets/gimpcolormapeditor.c
	* app/widgets/gimpcolorpanel.c
	* app/widgets/gimpcomponenteditor.c
	* app/widgets/gimpcontainereditor.c
	* app/widgets/gimpcontainergridview.c
	* app/widgets/gimpcontainerpopup.c
	* app/widgets/gimpcontainertreeview.c
	* app/widgets/gimpdatafactoryview.c
	* app/widgets/gimpdevicestatus.c
	* app/widgets/gimpdockable.c
	* app/widgets/gimpdrawabletreeview.c
	* app/widgets/gimperrorconsole.c
	* app/widgets/gimpgradienteditor.c
	* app/widgets/gimphelp.c
	* app/widgets/gimppaletteeditor.c
	* app/widgets/gimppreview-popup.c
	* app/widgets/gimpselectioneditor.c
	* app/widgets/gimpsessioninfo.c
	* app/widgets/gimptoolbox-color-area.c
	* app/widgets/gimptoolbox-indicator-area.c
	* app/widgets/gimptoolbox.c
	* app/widgets/gimptooloptionseditor.c
	* app/widgets/gimpvectorstreeview.c
	* app/widgets/gimpwidgets-utils.c
	* app/display/gimpdisplayshell-scale.c
	* app/display/gimpnavigationview.c
	* app/gui/module-browser.c
	* app/gui/dialogs-commands.c
	* app/gui/dialogs-constructors.c
	* app/gui/drawable-commands.c
	* app/gui/file-commands.c
	* app/gui/file-new-dialog.c
	* app/gui/file-save-dialog.c
	* app/gui/gradient-editor-commands.c
	* app/gui/gui-vtable.c
	* app/gui/gui.c
	* app/gui/info-window.c
	* app/gui/palette-import-dialog.c
	* app/gui/palettes-commands.c
	* app/gui/qmask-commands.c
	* app/gui/select-commands.c
	* app/gui/tool-options-commands.c
	* app/gui/view-commands.c
	* app/tools/gimpcolorpickertool.c
	* app/tools/gimpcroptool.c
	* app/tools/gimpimagemaptool.c
	* app/tools/gimpmeasuretool.c
	* app/tools/gimptransformtool.c
	* plug-ins/FractalExplorer/FractalExplorer.c
	* plug-ins/gfig/gfig.c
	* plug-ins/gflare/gflare.c: changed accordingly. Changed all
	menu_position funcs to place the menu on the right screen.
2003-11-08 15:32:38 +00:00
Michael Natterer efd9a3e14a added "wm_name", "wm_class", "display_name" and "monitor_number" to the
2003-11-07  Michael Natterer  <mitch@gimp.org>

	* libgimpbase/gimpprotocol.[ch]: added "wm_name", "wm_class",
	"display_name" and "monitor_number" to the GPConfig message.
	Increased protocol version number.

	* libgimp/gimp.[ch] (gimp_config): read them from the GPConfig
	message and remember them.
	Added public accessors for the new config values.

	* libgimp/gimpui.c (gimp_ui_init): pass wm_name and wm_class to
	gtk_init() and export the display/screen to use to the
	environment.

	* app/core/gimp.[ch]: added vtable entries to get the values
	from the GUI.

	* app/gui/gui-vtable.c: implement the vtable entries.

	* app/plug-in/plug-in-run.c: fill in the GPConfig values using
	the new Gimp vtable functions.

	* app/display/gimpdisplayshell-layer-select.c
	* app/display/gimpdisplayshell.c
	* app/gui/about-dialog.c
	* app/gui/channels-commands.c
	* app/gui/color-notebook.c
	* app/gui/convert-dialog.c
	* app/gui/file-dialog-utils.[ch]
	* app/gui/file-new-dialog.c
	* app/gui/file-open-dialog.c
	* app/gui/file-save-dialog.c
	* app/gui/gradient-editor-commands.c
	* app/gui/gradients-commands.c
	* app/gui/grid-dialog.c
	* app/gui/image-commands.c
	* app/gui/info-dialog.[ch]
	* app/gui/info-window.c
	* app/gui/layers-commands.c
	* app/gui/module-browser.c
	* app/gui/offset-dialog.c
	* app/gui/palette-import-dialog.c
	* app/gui/qmask-commands.c
	* app/gui/resize-dialog.c
	* app/gui/splash.c
	* app/gui/stroke-dialog.c
	* app/gui/templates-commands.c
	* app/gui/tips-dialog.c
	* app/gui/vectors-commands.c
	* app/tools/gimpcurvestool.c
	* app/tools/gimplevelstool.c
	* app/widgets/gimpdock.c
	* app/widgets/gimperrorconsole.c
	* app/widgets/gimptexteditor.c
	* app/widgets/gimptoolbox.c
	* app/widgets/gimpviewabledialog.[ch]
	* libgimpwidgets/gimpfileselection.c
	* libgimpwidgets/gimpquerybox.c
	* libgimpwidgets/gimpunitmenu.c
	* plug-ins/helpbrowser/dialog.c
	* plug-ins/ifscompose/ifscompose.c: replaced all calls to
	gtk_window_set_wmclass() by gtk_window_set_role() and all
	"const gchar *wmclass_name" parameters by "const gchar *role".
	Cleaned up the window role strings.
2003-11-07 17:29:02 +00:00
Michael Natterer 66c5dd8772 removed our own action_area API and use GtkDialog's one. Create all
2003-11-06  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimpdialog.[ch]: removed our own action_area API
	and use GtkDialog's one. Create all dialogs without separator.
	Changed almost everything else too. Fixes bug #125143.

	* libgimpwidgets/gimpquerybox.c
	* libgimpwidgets/gimpunitmenu.c: changed accordingly.

	* libgimp/gimpexport.[ch]: ditto. Renamed enum GimpExportReturnType
	to GimpExportReturn.

	* libgimp/gimpcompat.h: added a #define for the old name.

	* themes/Default/gtkrc: increased action_area border to 6 pixels.

	* app/display/gimpdisplayshell-filter-dialog.c
	* app/display/gimpdisplayshell-scale.c
	* app/display/gimpprogress.c
	* app/gui/brush-select.c
	* app/gui/channels-commands.c
	* app/gui/color-notebook.c
	* app/gui/convert-dialog.c
	* app/gui/file-new-dialog.c
	* app/gui/font-select.c
	* app/gui/gradient-editor-commands.c
	* app/gui/gradient-select.c
	* app/gui/grid-dialog.c
	* app/gui/image-commands.c
	* app/gui/info-window.c
	* app/gui/layers-commands.c
	* app/gui/module-browser.c
	* app/gui/offset-dialog.c
	* app/gui/palette-import-dialog.c
	* app/gui/palette-select.c
	* app/gui/pattern-select.c
	* app/gui/preferences-dialog.c
	* app/gui/qmask-commands.c
	* app/gui/resize-dialog.c
	* app/gui/resolution-calibrate-dialog.c
	* app/gui/stroke-dialog.c
	* app/gui/templates-commands.c
	* app/gui/user-install-dialog.c
	* app/gui/vectors-commands.c
	* app/tools/gimpcolorpickertool.c
	* app/tools/gimpcroptool.c
	* app/tools/gimpimagemaptool.c
	* app/tools/gimpmeasuretool.c
	* app/tools/gimptransformtool.c
	* app/widgets/gimptexteditor.c
	* app/widgets/gimptooldialog.[ch]
	* app/widgets/gimpviewabledialog.[ch]
	* app/widgets/gimpwidgets-utils.c: changed accordingly and increased
	the dialogs' outer borders to 6 pixels all over the place.

	* plug-ins/*/*.c: changed accordingly. The plug-ins may be
	arbitrarily broken, I tested none of them.
2003-11-06 15:27:05 +00:00
Sven Neumann 38a22735d7 app/core/gimpbrush.c added support for loading cinepaint brushes (GIMP
2003-11-05  Sven Neumann  <sven@gimp.org>

	* app/core/gimpbrush.c
	* plug-ins/common/gbr.c: added support for loading cinepaint
	brushes (GIMP brush version 3).
2003-11-05 23:55:44 +00:00
Sven Neumann 120b7c70fa added support for loading cinepaint brushes (GIMP brush version 3).
2003-11-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/gbr.c: added support for loading cinepaint
	brushes (GIMP brush version 3).
2003-11-05 22:39:36 +00:00
Sven Neumann dcda4d8fb3 rewrote clipping code using gdk_rectangle_intersect().
2003-11-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/screenshot.c: rewrote clipping code using
	gdk_rectangle_intersect().
2003-11-05 18:06:25 +00:00
Sven Neumann 1c35fcf208 handle gamma settings in PNG files using the "gamma" parasite (see bug
2003-11-02  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/png.c: handle gamma settings in PNG files using
	the "gamma" parasite (see bug #120031).
2003-11-02 16:52:26 +00:00
Manish Singh d4a79e90b4 don't try to define inline, glib does it for us.
2003-11-01  Manish Singh  <yosh@gimp.org>

        * plug-ins/print/print_gimp.h: don't try to define inline, glib
        does it for us.

        * app/widgets/gimpgrideditor.c
        * app/widgets/gimpstrokeeditor.c: remove unnecessary GTK_WIDGET casts.
2003-11-01 20:21:26 +00:00
Manish Singh 3b6318bff1 Only add FOO_DISABLE_DEPRECATED flags with GTK+ 2.2.x. Add
2003-11-01  Manish Singh  <yosh@gimp.org>

        * configure.in: Only add FOO_DISABLE_DEPRECATED flags with GTK+ 2.2.x.
        Add -DGDK_MULTIHEAD_SAFE.

        * app/config/test-config.c: use guints for strlen()

        * app/gui/gui.c
        * app/gui/info-window.c
        * app/gui/menus.c
        * app/widgets/gimpcontainerview.c
        * app/widgets/gimpcursor.c
        * app/widgets/gimpdevices.c
        * app/widgets/gimpdevicestatus.c
        * app/widgets/gimpimagedock.c
        * app/widgets/gimpitemfactory.c
        * app/widgets/gimpnavigationpreview.c
        * app/widgets/gimptoolbox.c
        * app/widgets/gimptooloptionseditor.c
        * app/widgets/gimpwidgets-utils.c
        * libgimp/gimpbrushmenu.c
        * libgimp/gimppatternmenu.c
        * libgimp/gimpui.c
        * plug-ins/FractalExplorer/Dialogs.c
        * plug-ins/FractalExplorer/FractalExplorer.c
        * plug-ins/common/screenshot.c
        * plug-ins/gimpressionist/gimpressionist.c: more GDK_MULTIHEAD_SAFE
        fixes.

        * plug-ins/common/wmf.c: #undef GDK_MULTIHEAD_SAFE.. this plug-in
        is going away anyway.

        * app/widgets/gimpcursor.h: add #warning about needing a proper
        multihead safe API.

        * app/gui/vectors-commands.c: s/clipoard/clipboard/
2003-11-01 20:06:01 +00:00
Sven Neumann 5d43e5ba3d made multi-head safe. The whole tree compiles with GDK_MULTIHEAD_SAFE now.
2003-10-31  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/wmf.c: made multi-head safe. The whole tree
	compiles with GDK_MULTIHEAD_SAFE now.
2003-10-31 19:24:36 +00:00
Sven Neumann c590c6aa15 app/display/gimpdisplayshell-callbacks.c
2003-10-28  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-callbacks.c
	* app/display/gimpdisplayshell-layer-select.c
	* app/widgets/gimpcontainerpopup.c
	* app/widgets/gimphistogramview.c
	* app/widgets/gimpnavigationpreview.c
	* libgimpwidgets/gimpcolorselect.c
	* libgimpwidgets/gimpoffsetarea.c
	* libgimpwidgets/gimppickbutton.c: use multihead safe variants of
	the unsafe functions gdk_pointer_ungrab(), gdk_keyboard_ungrab()
	and gdk_device_get_core_pointer().

	* plug-ins/libgck/gck/gck.h
	* plug-ins/libgck/gck/gckcolor.c: made libgck multi-head safe.

	* plug-ins/Lighting/lighting_ui.c
	* plug-ins/MapObject/mapobject_preview.c
	* plug-ins/MapObject/mapobject_ui.c: changed accordingly.

	* plug-ins/common/animationplay.c
	* plug-ins/common/curve_bend.c
	* plug-ins/gfig/gfig.c
	* plug-ins/imagemap/imap_preview.c: use multihead safe GDK API.
2003-10-29 20:57:21 +00:00
David Odin ad37e4a6bc added a real dependency for gimpressionist.c on logo-pixbuf.h. 2003-10-25 16:47:03 +00:00
Sven Neumann e00f5abda8 fixed(?) dependencies.
2003-10-25  Sven Neumann  <sven@gimp.org>

	* plug-ins/gimpressionist/Makefile.am: fixed(?) dependencies.
2003-10-24 22:38:43 +00:00
Sven Neumann 4edb27850c disable the progress bar when loading a preview for the JPEG dialog.
2003-10-25  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/jpeg.c: disable the progress bar when loading a
	preview for the JPEG dialog.
2003-10-24 22:24:33 +00:00
Sven Neumann 126110cfda removed again. The XPM format is deprecated.
2003-10-24  Sven Neumann  <sven@gimp.org>

	* plug-ins/gimpressionist/logo.xpm: removed again. The XPM format
	is deprecated.

	* plug-ins/gimpressionist/Makefile.am
	* plug-ins/gimpressionist/logo.png: added the logo as PNG file and
	added Makfile rules to create an inline pixbuf as logo-pixbuf.h.

	* plug-ins/gimpressionist/gimpressionist.c: changed accordingly.
2003-10-24 21:50:25 +00:00
Maurits Rijk 4663fc88e4 Replaced gtk_tooltips_set_tip by gimp_help_set_help_data. Removed use of yet another deprecated widget. 2003-10-24 20:57:29 +00:00
Maurits Rijk fadfcf5f11 Replaced underscores in filenames by hyphens. 2003-10-24 13:28:46 +00:00
Sven Neumann 393856aa3d made debugging output conditional and fixed some user-visible strings.
2003-10-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/sample_colorize.c: made debugging output
	conditional and fixed some user-visible strings.
2003-10-23 18:19:53 +00:00
Dave Neary 9db407dfa5 Bumped version number to 2.0. Closes bug #125237.
2003-10-22  Dave Neary  <bolsh@gimp.org>

	* plug-ins/gfig/gfig.c: Bumped version number to 2.0. Closes
	bug #125237.
2003-10-22 20:41:38 +00:00
Sven Neumann 7e23d307a4 don't include the plug-in name in error messages; GIMP takes care of that
2003-10-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/align_layers.c: don't include the plug-in name
	in error messages; GIMP takes care of that for us.
2003-10-20 23:32:20 +00:00
Maurits Rijk 6461262d65 More code clean-up for the gfig plug-in. 2003-10-19 21:03:21 +00:00
Maurits Rijk 416d2e2fdc Fix for #124158. (always show both the Paint
and Select Tab). Also first attempt to split this hug file into
smaller pieces to make this plug-in a bit more manageable.
2003-10-19 09:44:46 +00:00
Dave Neary 8c26afbb1f a
2003-10-18  Dave Neary  <bolsh@gimp.org>

        * plug-ins/common/despeckle.c
        * plug-ins/common/gqbist.c
        * plug-ins/imagemap/imap_main.c
        * plug-ins/maze/maze.c
        * plug-ins/maze/maze.h
        * plug-ins/maze/maze_face.c
        * plug-ins/script-fu/scripts/burn-in-anim.scm
        * plug-ins/script-fu/scripts/spyrogimp.scm: Made several strings
        translateable, and removed version numbers from window titles and
        plug-in names, following suggestions from Raymond Ostertag.
        This closes bug #124600.
2003-10-18 20:33:31 +00:00
Sven Neumann 9f25946446 reverted most of Maurits changes (not the bug-fix though). The tentative
2003-10-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/gfig/gfig.c: reverted most of Maurits changes (not the
	bug-fix though). The tentative feature freeze we are in also
	implies a string freeze.  It's too late for such massive string
	changes.
2003-10-17 12:17:42 +00:00
Maurits Rijk 072f57ee6a commented out code for Lock Grid (which wasn't implemented). Fixes
* plug-ins/gfig/gfig.c: commented out code for Lock Grid (which wasn't
  implemented). Fixes #124157.
2003-10-17 11:46:15 +00:00
Sven Neumann 2215341d98 check the return value of XpmReadFileToXpmImage(). Fixes bug #124766.
2003-10-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/xpm.c (load_image): check the return value of
	XpmReadFileToXpmImage(). Fixes bug #124766.
2003-10-16 13:14:57 +00:00
Sven Neumann 6f1589005a replaced lots of old school constants with their new names.
2003-10-16  Sven Neumann  <sven@gimp.org>

	* plug/ins/script-fu/scripts/*.scm: replaced lots of old school
	constants with their new names.
2003-10-16 12:47:33 +00:00
Sven Neumann 16417771ba mark string as translatable (bug #124600).
2003-10-15  Sven Neumann  <sven@gimp.org>

	* plug-ins/Lighting/lighting_ui.c: mark string as translatable
	(bug #124600).
2003-10-15 00:43:51 +00:00
Sven Neumann b687abd515 clamp x and y sizes to sane values. Fixes bug #124389.
2003-10-13  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/snoise.c: clamp x and y sizes to sane values.
	Fixes bug #124389.
2003-10-13 11:25:05 +00:00
Sven Neumann be516d3908 Fixed the script (bug #124441).
2003-10-13  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/comic-logo.scm
	(script-fu-comic-logo-alpha): Fixed the script (bug #124441).
2003-10-13 11:11:11 +00:00
Seth Burgess b057bf66d5 fix for bug #72053 2003-10-12 19:55:43 +00:00
Pedro Gimeno b6a2c0767c Set the default aspect ratio of the toolbox wrap box to 5:6.
2003-10-10  Pedro Gimeno  <pggimeno@wanadoo.es>

	* app/widgets/gimptoolbox.c (gimp_toolbox_init): Set the default
	aspect ratio of the toolbox wrap box to 5:6.
	(gimp_toolbox_set_geometry): Don't enforce min_height in the
	toolbox window. Fixes bug #116937 and works around bug #113228.

	* plug-ins/common/png.c (save_image): Round the values passed to
	png_set_pHYs so that they don't decrease on every save.
2003-10-12 18:26:47 +00:00
Sven Neumann 0b2b9e196c allow to use mnemonics in SF-TOGGLE.
2003-10-12  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-scripts.c (script_fu_interface):
	allow to use mnemonics in SF-TOGGLE.

	* plug-ins/script-fu/scripts/font-map.scm: allow to choose the color
	scheme to use for the font map; added mnemonics.
2003-10-12 14:43:49 +00:00
Sven Neumann c87b6cb423 repaired this script (bug #124207).
2003-10-10  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/burn-in-anim.scm: repaired this script
	(bug #124207).
2003-10-10 14:46:04 +00:00
Sven Neumann ac83f97ee8 fixed a typo in the patch for bug #123201 that accidentally already
2003-10-10  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/png.c (load_image): fixed a typo in the patch
	for bug #123201 that accidentally already commited earlier.
2003-10-10 14:26:34 +00:00
Tor Lillqvist 0cda2cd33f New file, shell script used to build zipfiles for distribution of Windows
2003-10-09  Tor Lillqvist  <tml@iki.fi>

	* gimp-zip.in: New file, shell script used to build zipfiles for
	distribution of Windows runtime and developer packages.

	* Makefile.am
	* configure.in: Add it, expand it.

	* libgimp*/Makefile.am: On Windows, install and uninstall the .def
	files.

	* app/config/gimpguiconfig.c: On Windows, don't use the internal
	help browser by default, as it isn't there. Don't use a fixed
	guess for Internet Explorer's path on Windows. We don't even need
	to know the path to the web browser, we can use ShellExecute() in
	the webbrowser plug-in.

	* plug-ins/common/webbrowser.c: Use ShellExecute() on Windows.

	* po*/makefile.cygwin: Remove, unmaintained.
2003-10-09 21:33:27 +00:00
Manish Singh 6ac39445b9 fix SF_ADJUSTMENT handling when crafting the string to call, since it now
2003-10-08  Manish Singh  <yosh@gimp.org>

        * plug-ins/script-fu/script-fu-scripts.c: fix SF_ADJUSTMENT handling
        when crafting the string to call, since it now gets a GIMP_PDB_FLOAT.
        (This bug has been there since 1.3.4...)
2003-10-09 03:53:54 +00:00
Manish Singh 2c795c3da8 fix handling and docs of offs, phys, and time parameters.
2003-10-08  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/png.c: fix handling and docs of offs, phys, and time
        parameters.
2003-10-08 18:18:10 +00:00
Sven Neumann 7ff0b3b80d bumped version number to 1.3.22.
2003-10-07  Sven Neumann  <sven@gimp.org>

	* configure.in: bumped version number to 1.3.22.

	Moved images used from scripts as suggested by Carol:

	* plug-ins/script-fu/scripts/Makefile.am
	* plug-ins/script-fu/scripts/*.jpg: removed images from scripts
	directory...

	* configure.in
	* plug-ins/script-fu/scripts/images/Makefile.am
	* plug-ins/script-fu/scripts/images/*.jpg: ... and added them here.

	* plug-ins/script-fu/scripts/carved-logo.scm
	* plug-ins/script-fu/scripts/chrome-it.scm
	* plug-ins/script-fu/scripts/crystal-logo.scm
	* plug-ins/script-fu/scripts/sota-chrome-logo.scm
	* plug-ins/script-fu/scripts/test-sphere.scm: changed accordingly.
2003-10-06 22:08:01 +00:00
Manish Singh f64ad067d7 app/gui/image-menu.c app/gui/layers-menu.c "Imagesize" isn't a real word.
2003-10-06  Manish Singh  <yosh@gimp.org>

        * app/gui/image-menu.c
        * app/gui/layers-menu.c
        * etc/ps-menurc: "Imagesize" isn't a real word. Fix to "Image Size".

        * app/paint/gimppaintcore.c: add declaration for rotate_pointers which
        was inadvertently took out.

        * tools/pdbgen/pdb/layer.pdb: add gimp_layer_resize_to_image_size.
        Fix failure reporting logic for gimp_layer_delete.

        * app/pdb/internal_procs.c
        * app/pdb/layer_cmds.c
        * libgimp/gimplayer_pdb.[ch]: regenerated.

        * plug-ins/common/tiff.c: always compare used unsigned chars for 7bit
        ASCII check.
2003-10-06 21:22:09 +00:00
Sven Neumann 9cbbaed85c applied a patch from Morten Eriksen that fixes loading of monochrome
2003-10-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/psd.c (load_image): applied a patch from Morten
	Eriksen that fixes loading of monochrome images.
2003-10-05 12:13:51 +00:00
Sven Neumann edc370646a unset the image filename.
2003-10-02  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/carved-logo.scm: unset the image
	filename.
2003-10-02 11:59:54 +00:00
Sven Neumann 7aa4179956 configure.in plug-ins/Makefile.am removed mosaic plug-in here...
2003-10-02  Sven Neumann  <sven@gimp.org>

	* configure.in
	* plug-ins/Makefile.am
	* plug-ins/mosaic/*: removed mosaic plug-in here...

	* plug-ins/common/Makefile.am
	* plug-ins/common/mosaic.c
	* plug-ins/common/plugin-defs.pl: ...and added it in plug-ins/common.
2003-10-01 23:27:49 +00:00
Sven Neumann f8ef900a15 plug-ins/common/plugindetails.c plug-ins/common/unsharp.c
2003-10-02  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/plugindetails.c
	* plug-ins/common/unsharp.c
	* plug-ins/script-fu/script-fu.c
	* plug-ins/script-fu/scripts/swirly-pattern.scm: tweaked menu items.
2003-10-01 22:52:27 +00:00
Maurits Rijk 3a86448563 splitting the dialogs and the events didn't make sense. Code merged with
2003-10-01  Maurits Rijk  <lpeek.mrijk@consunet.nl>

	* plug-ins/FractalExplorer/Events.[ch]: splitting the dialogs and the
	events didn't make sense. Code merged with Dialogs.[ch] and files
	removed.

	* plug-ins/FractalExplorer/Dialogs.[ch]
	* plug-ins/FractalExplorer/FractalExplorer.[ch]: major code clean-up.
	Still lots of work to do (remove several deprecated widgets, etc.)
2003-10-01 21:47:49 +00:00
Sven Neumann 038a20e089 app/gui/brushes-menu.c app/gui/channels-menu.c
2003-10-01  Sven Neumann  <sven@gimp.org>

	* app/gui/brushes-menu.c
	* app/gui/channels-menu.c
	* app/gui/colormap-editor-menu.c
	* app/gui/dialogs-menu.c
	* app/gui/documents-menu.c
	* app/gui/image-menu.c
	* app/gui/palettes-menu.c
	* app/gui/templates-menu.c
	* app/gui/toolbox-menu.c
	* app/gui/vectors-menu.c
	* plug-ins/common/uniteditor.c
	* plug-ins/dbbrowser/dbbrowser.c: followed the HIG advisory on
	labelling menus with a trailing ellipsis and removed some.
2003-10-01 20:46:48 +00:00
Sven Neumann 7675b4ba33 added missing code snippets to make it compile on PPC.
2003-10-01  Sven Neumann  <sven@gimp.org>

	* app/composite/gimp-composite-altivec.c: added missing code
	snippets to make it compile on PPC.

	* plug-ins/common/destripe.c: avoid division by zero (bug #123592).
	Also made the plug-in remember the state of the history toggle and
	other cleanup. The filter result still looks wrong though...
2003-10-01 11:10:56 +00:00
Sven Neumann 2f855afa6a added an API to allow for sub-pixel sizes in spinbuttons connected to a
2003-10-01  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpunitmenu.[ch]:
	* libgimpwidgets/gimpwidgets.c: added an API to allow for
	sub-pixel sizes in spinbuttons connected to a GimpUnitMenu.
	Make GimpUnitMenu emit "unit-changed" when the unit is changed
	programmatically.

	* libgimpwidgets/gimpsizeentry.[ch}: added a similar API here.
	Make GimpSizeEntry emit "unit-changed" when the unit is changed
	programmatically. The other signals will need similar changes.

	* plug-ins/common/gauss_rle.c
	* plug-ins/common/gauss_iir.c
	* app/widgets/gimpstrokeeditor.c: use the new API.
2003-09-30 23:19:48 +00:00
Simon Budig 7cc6ed6dd5 Fabian Franz <debian@fabian-franz.de>
2003-09-28  Simon Budig  <simon@gimp.org>
            Fabian Franz  <debian@fabian-franz.de>

	Ok, this time for real...   :-)

	* plug-ins/common/animoptimize.c
	* plug-ins/common/screenshot.c
	* plug-ins/common/smooth_palette.c
	* plug-ins/common/tile.c: Fixed Undo issues. Plugins creating
	new images should create an empty undo history. Sprinkeling
	gimp_image_enable_undo() at the end of the plugins operations
	does the trick. It makes sense to do this *before* you add
	a display to the image, otherwise the UI gets out of sync.
2003-09-28 05:35:33 +00:00
David Odin 5141181e73 small gui fixes in the select printer dialog. 2003-09-25 18:05:53 +00:00
Sven Neumann b2ad956b0f optionally scale the imported SVG to fit the image.
2003-09-25  Sven Neumann  <sven@gimp.org>

	* app/vectors/gimpvectors-import.[ch]: optionally scale the
	imported SVG to fit the image.

	* app/gui/vectors-commands.c: changed accordingly.

	* tools/pdbgen/pdb/paths.pdb: export the new scale parameter to
	the PDB.

	* app/pdb/paths_cmds.c
	* libgimp/gimppaths_pdb.[ch]: regenerated.

	* plug-ins/common/svg.c: scale the imported vectors to image size.
	This makes them always fit :)
2003-09-25 00:39:46 +00:00
Maurits Rijk dc441cc925 Fix for #72874 (Incorrect RGBA resampling in Illusion plug-in) 2003-09-24 22:01:53 +00:00
Maurits Rijk 88e21ce291 Code clean-up, indentation, fixes for #72874 (Incorrect RGBA resample in Illusion plug-in) and #122379 (relocate sinus plug-in). 2003-09-24 20:17:43 +00:00
Dave Neary d67f3d705e Set default value for toggle, and only have it span one table cell.
2003-09-24  Dave Neary  <bolsh@gimp.org>

        * plug-ins/common/jpeg.c: Set default value for toggle, and
        only have it span one table cell.
2003-09-24 17:07:54 +00:00
Sven Neumann 008769d5ac app/gui/resize-dialog.c app/widgets/gimptemplateeditor.c use horizontal
2003-09-23  Sven Neumann  <sven@gimp.org>

	* app/gui/resize-dialog.c
	* app/widgets/gimptemplateeditor.c
	* plug-ins/common/svg.c: use horizontal boxes instead of alignments.
	Fixes dialog layout for RTL rendering.

	* plug-ins/common/png.c (save_dialog): only set the comment toggle
	active if there's a comment to save.
2003-09-23 21:51:08 +00:00
Dave Neary 5e1b112725 Fixed minor mistake in last commit.
2003-09-23  Dave Neary  <bolsh@gimp.org>

        * plug-ins/common/jpeg.c: Fixed minor mistake in last commit.
2003-09-23 20:57:30 +00:00
Dave Neary b3140f4d57 Allow discarding of exif data if HAVE_EXIF is enabled, and the user
2003-09-23  Dave Neary  <bolsh@gimp.org>

	* plug-ins/common/jpeg.c: Allow discarding of exif data if
	HAVE_EXIF is enabled, and the user doesn't want to keep it.
	Closes bug #118384.
2003-09-23 20:51:05 +00:00
Sven Neumann 3f70732ef0 show the pixel size specified by the SVG file and inform the user if it
2003-09-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/svg.c: show the pixel size specified by the SVG
	file and inform the user if it failed to provide one.
2003-09-23 10:23:33 +00:00
Sven Neumann f56486c598 removed redundant calculations.
2003-09-23  Sven Neumann  <sven@gimp.org>

	* app/gui/resize-dialog.c (ratio_callback): removed redundant
	calculations.

	* plug-ins/common/svg.c: use a default size to handle the case
	when librsvg cannot determine the SVG size.
2003-09-23 00:45:18 +00:00
Sven Neumann 57949a8981 added ratio entries and a chain button so you can scale the SVG file while
2003-09-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/svg.c: added ratio entries and a chain button so
	you can scale the SVG file while keeping the aspect ratio intact.
	Query the SVG pixel size on resolution changes.
2003-09-22 23:46:16 +00:00
Henrik Brix Andersen 6a27a3f5f9 removed the old netscape-dependent web browser plug-in
2003-09-22  Henrik Brix Andersen <brix@gimp.org>

* plug-ins/webbrowser/.cvsignore: removed the old netscape-dependent
web browser plug-in
2003-09-22 20:15:40 +00:00
Henrik Brix Andersen 9b3bc08eb6 Replaced the netscape-dependent web browser plug-in with a user
2003-09-22 Henrik Brix Andersen <brix@gimp.org>

Replaced the netscape-dependent web browser plug-in with a user
configureable plug-in. This fixes bug #119120:

* app/config/gimpguiconfig.[ch]: added gchar *web_browser member

* app/config/gimprc-blurbs.h: added web browser blurb

* etc/gimprc
* docs/gimprc-1.3.5.in: regenerated using gimpconfig-dump

* app/gui/preferences-dialog.c (prefs_dialog_new): added UI for
specifying external web browser

* configure.in
* plug-ins/Makefile.am
* plug-ins/webbrowser/Makefile.am
* plug-ins/webbrowser/README
* plug-ins/webbrowser/web-browser.scm
* plug-ins/webbrowser/webbrowser.c : removed the old netscape-dependent
web browser plug-in

* po-plug-ins/POTFILES.in
* plug-ins/common/plugin-defs.pl
* plug-ins/common/webbrowser.c: added a new web browser plug-in

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

* app/widgets/gimphelp.c
* app/widgets/widget-enums.[ch]
* plug-ins/helpbrowser/dialog.c
* plug-ins/maze/maze_face.c: changed accordingly + whitespace
clean-up

* po-script-fu/POTFILES.in
* plug-ins/script-fu/scripts/Makefile.am
* plug-ins/script-fu/scripts/web-browser.scm: use the new web
browser plug-in to add menu entries to <Toolbox>/Help/
2003-09-22 20:04:39 +00:00
Sven Neumann 7440dfd8fc added a hack to work around the insufficiency of the librsvg API. Still
2003-09-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/svg.c: added a hack to work around the
	insufficiency of the librsvg API. Still unfinished ...
2003-09-22 13:00:17 +00:00
Sven Neumann 47bd472e77 added a preliminary PDB API for vectors import. Will change when the new
2003-09-21  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/pdb/paths.pdb: added a preliminary PDB API for
	vectors import. Will change when the new vectors PDB API gets
	added.

	* app/pdb/internal_procs.c
	* app/pdb/paths_cmds.c
	* libgimp/gimppaths_pdb.[ch]: regenerated.

	* plug-ins/common/svg.c: allow to import paths when rendering a
	SVG file.
2003-09-21 17:29:12 +00:00
Sven Neumann 75cf42f85c added a resolution entry and implemented PDB parameter parsing.
2003-09-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/svg.c: added a resolution entry and implemented
	PDB parameter parsing.
2003-09-21 15:24:36 +00:00
Sven Neumann a6b9aad7d4 added framework for size negotiation. Not really useful yet but compiles
2003-09-20  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/svg.c: added framework for size negotiation. Not
	really useful yet but compiles and sortof works even.
2003-09-20 00:49:39 +00:00
Sven Neumann 2ff5fc7b72 do not rely on librsvg setting GError on failure, it doesn't :(
2003-09-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/svg.c (load_image): do not rely on librsvg
	setting GError on failure, it doesn't :(
2003-09-19 16:13:33 +00:00
Sven Neumann 5daa59df15 rewritten pixel transfer from pixbuf to drawable; doesn't need a tile
2003-09-18  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/screenshot.c (create_image): rewritten pixel
	transfer from pixbuf to drawable; doesn't need a tile cache any
	longer.

	* plug-ins/common/svg.c: same change here together with a bunch of
	other changes in preparation for viewport negotiation.
2003-09-18 13:47:23 +00:00
Sven Neumann 81fba62c35 added a check for librsvg-2.0.
2003-09-18  Sven Neumann  <sven@gimp.org>

	* configure.in: added a check for librsvg-2.0.

	* plug-ins/common/mkgen.pl
	* plug-ins/common/svg.c: added SVG import plug-in. This plug-in
	was written by Dom Lachowicz and used to live in the librsvg source
	tree (bug #103039).

	* plug-ins/common/Makefile.am
	* plug-ins/common/plugin-defs.pl: regenerated.
2003-09-18 01:42:04 +00:00
Sven Neumann f2da45b6da some code cleanup.
2003-09-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/sparkle.c: some code cleanup.
2003-09-17 12:53:52 +00:00
Seth Burgess d9996103cc Fixes bug 50911. Details there.
files: plug-ins/common/sparkle.c
2003-09-17 05:21:08 +00:00
Maurits Rijk 318e76b790 Extracted a few reusable routines from several plug-ins and introduced them. The imagemap plug-in now uses the stock Gimp grid icon. 2003-09-13 18:07:44 +00:00
Sven Neumann 7e795349c1 plug-ins/common/compose.c merged in enhancements done by Alexey Dyachenko:
2003-09-11  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/compose.c
	* plug-ins/common/decompose.c: merged in enhancements done by
	Alexey Dyachenko: support for LAB colorspace and an option to
	decompose into layers instead of multiple images.
2003-09-11 15:39:07 +00:00
Sven Neumann 5f3bbc768d removed lots of redundant casts.
2003-09-11  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/screenshot.c: removed lots of redundant casts.
2003-09-09 14:32:39 +00:00
Sven Neumann 4189010d9e need to detach from the drawable or the tile cache won't be flushed (bug
2003-09-09  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/screenshot.c (create_image): need to detach from
	the drawable or the tile cache won't be flushed (bug #121788).
2003-09-09 14:32:39 +00:00
Sven Neumann 56438a7b9b app/display/gimpdisplayshell-callbacks.c app/display/gimpdisplayshell.c
2003-09-09  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-callbacks.c
	* app/display/gimpdisplayshell.c
	* app/display/gimpnavigationview.c
	* app/gui/resolution-calibrate-dialog.c
	* app/widgets/gimpcontainerpopup.c
	* app/widgets/gimpdialogfactory.c
	* app/widgets/gimpeditor.c
	* app/widgets/gimppreview-popup.c
	* app/widgets/gimpwidgets-utils.c: get the size from the current
	screen, not always from the default one.

	* plug-ins/common/wmf.c: ask GIMP for the monitor resolution instead
	of taking the value from GDK.
2003-09-09 11:35:27 +00:00
Adam D. Moss 966eaf93aa Disable the (pdb interfaces to the) semi-broken background/foreground
* plug-ins/common/animoptimize.c: Disable the (pdb interfaces
        to the) semi-broken background/foreground stuff unless
        EXPERIMENTAL_BACKDROP_CODE is defined.
2003-09-08 13:51:09 +00:00
Sven Neumann 9981bdc874 app/core/gimpdrawable-preview.c got rid of compiler warnings.
2003-09-07  Sven Neumann  <sven@gimp.org>

	* app/core/gimpdrawable-preview.c
	* plug-ins/fp/fp_gtk.c: got rid of compiler warnings.
2003-09-07 21:07:29 +00:00
Sven Neumann a4e56d98c3 set the tile cache size to speed up pixel transfers.
2003-09-07  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/aa.c: set the tile cache size to speed up pixel
	transfers.
2003-09-07 15:08:42 +00:00
Sven Neumann 55d9497d12 boost performance by setting a reasonable tile cache size.
2003-09-07  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/screenshot.c (create_image): boost performance
	by setting a reasonable tile cache size.
2003-09-07 13:47:41 +00:00
Sven Neumann f77975a970 removed a superfluous g_strdup(); made GimpQueryStringCallback take a
2003-09-05  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpquerybox.[ch] (string_query_box_ok_callback):
	removed a superfluous g_strdup(); made GimpQueryStringCallback take
	a const gchar* pointer.

	* plug-ins/gflare/gflare.c: changed accordingly.
2003-09-05 01:54:15 +00:00
Sven Neumann 7dc961ad50 don't fiddle with the spin-buttons, the defaults are fine. Removed
2003-09-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-scripts.c (script_fu_interface):
	don't fiddle with the spin-buttons, the defaults are fine.
	Removed trailing whitespace.
2003-09-04 23:12:32 +00:00
Sven Neumann 5ada4dfab8 Render the specified text by default, added optional font labels.
2003-09-04  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/font-map.scm (script-fu-font-map):
	Render the specified text by default, added optional font labels.
2003-09-04 21:28:48 +00:00
Sven Neumann 501f84b11f Keep text layers instead of merging them down. Allow to specify a text to
2003-09-04  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/font-map.scm (script-fu-font-map):
	Keep text layers instead of merging them down. Allow to specify a
	text to render in place of the font names.
2003-09-04 19:44:26 +00:00
Sven Neumann 85adefe7ba app/core/Makefile.am app/core/core-types.h added filter functionality for
2003-09-04  Sven Neumann  <sven@gimp.org>

	* app/core/Makefile.am
	* app/core/core-types.h
	* app/core/gimpcontainer-filter.[ch]: added filter functionality
	for GimpContainers.

	* tools/pdbgen/pdb/brushes.pdb
	* tools/pdbgen/pdb/fonts.pdb
	* tools/pdbgen/pdb/gradients.pdb
	* tools/pdbgen/pdb/palettes.pdb
	* tools/pdbgen/pdb/patterns.pdb: made the gimp_foo_get_list()
	PDB function somewhat useful by adding a filter parameter that
	allows to specify a regular expression to be used on the list.

	* app/pdb/Makefile.am: had to uglify the ugly hack even more :(

	* app/pdb/brushes_cmds.c
	* app/pdb/fonts_cmds.c
	* app/pdb/gradients_cmds.c
	* app/pdb/palettes_cmds.c
	* app/pdb/patterns_cmds.c
	* libgimp/gimpbrushes_pdb.[ch]
	* libgimp/gimpfonts_pdb.[ch]
	* libgimp/gimpgradients_pdb.[ch]
	* libgimp/gimppalettes_pdb.[ch]
	* libgimp/gimppatterns_pdb.[ch]: regenerated.

	* plug-ins/gflare/gflare.c
	* plug-ins/pygimp/gimpmodule.c: changed accordingly.

	* plug-ins/script-fu/scripts/font-map.scm: replaced the font list
	parameter with a more useful regexp filter on the available fonts.
2003-09-04 17:04:36 +00:00
Sven Neumann c52a96e06c ported from gimp-text to gimp-text-fontname API.
2003-09-04  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/font-map.scm: ported from gimp-text
	to gimp-text-fontname API.
2003-09-04 13:00:18 +00:00
Pedro Gimeno 48b06a23ee use Alpha channel and selection channel info when available to build the
2003-09-03  Pedro Gimeno  <pggimeno@wanadoo.es>

	* ccanalyze.c (analyze): use Alpha channel and selection
	channel info when available to build the histogram and to
	include/exclude colors in the color count. Fixes bug #121097
	and handling of INDEXEDA images which was broken.
	(histogram, insertcolor, fillPreview): updated to use
	gdoubles where appropriate.
2003-09-03 19:22:49 +00:00
Pedro Gimeno 41edbeb907 Changed from CR/LF style to LF style in preparation for the next batch of
2003-09-03  Pedro Gimeno  <pggimeno@wanadoo.es>

	* ccanalyze.c: Changed from CR/LF style to LF style in preparation
	for the next batch of changes.
2003-09-03 17:52:26 +00:00
Sven Neumann 4a3740e8ed devel-docs/gbr.txt applied a patch from Guillermo S. Romero that fixes
2003-09-03  Sven Neumann  <sven@gimp.org>

	* devel-docs/gbr.txt
	* plug-ins/common/gbr.c: applied a patch from Guillermo S. Romero
	that fixes loading of v1 brushes and documents the difference
	to version 2 of the brush file format (bug #121304).
2003-09-03 16:59:22 +00:00
Sven Neumann 286e561755 another minor cleanup, not worth being mentioned 2003-09-03 12:48:51 +00:00
Sven Neumann cce9227177 don't include the plug-in name in messages; GIMP takes care of this for
2003-09-03  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/screenshot.c: don't include the plug-in name in
	messages; GIMP takes care of this for us.
2003-09-03 12:44:10 +00:00
Sven Neumann 443a5f3fd2 made pullout a percentage instead of a maximal value. (gimp_rgb_to_cmyk):
2003-09-03  Sven Neumann  <sven@gimp.org>

	* libgimpcolor/gimpcolorspace.[ch] (gimp_rgb_to_cmyk_int): made
	pullout a percentage instead of a maximal value.
	(gimp_rgb_to_cmyk): added a pullout parameter here as well.

	* app/gui/info-window.c
	* plug-ins/common/newsprint.c: changed accordingly.

	* modules/colorsel_cmyk.c: allow to specify the amount of black
	pulled out when converting to CMYK.
2003-09-02 22:52:25 +00:00
Sven Neumann 84fd11ad0a allow to specify the amount of black pullout. Documented the function.
2003-09-02  Sven Neumann  <sven@gimp.org>

	* libgimpcolor/gimpcolorspace.c (gimp_rgb_to_cmyk_int): allow to
	specify the amount of black pullout. Documented the function.

	* plug-ins/common/newsprint.c: use the RGB to CMYK routine from
	libgimpcolor.
2003-09-02 18:35:35 +00:00
Michael Natterer c0bfbe014d fixed help domain parsing. Reported by Roman Joost on #gimp.
2003-09-01  Michael Natterer  <mitch@gimp.org>

	* plug-ins/helpbrowser/domain.c: fixed help domain parsing.
	Reported by Roman Joost on #gimp.
2003-09-01 21:50:54 +00:00
Michael Natterer 2004c05d15 fixed check for the number of arguments (don't always fail). Fixes bug
2003-09-01  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/edge.c (run): fixed check for the number of
	arguments (don't always fail). Fixes bug #121176.
2003-09-01 14:40:23 +00:00
Tor Lillqvist cd31cdd7eb Update.
2003-09-01  Tor Lillqvist  <tml@iki.fi>

	* README.win32: Update.

	* app/composite/gimp-composite-mmx.c: For some reason the gcc&gas
	combination used on Win32 wants identifiers prefixed with
	underscores in the asm sequences.

	* plug-ins/common/ps.c (ps_open): [Win32] Don't write the gs
	executable name into the indirect command line file. Do write the
	quoted form of the filename to it.
	(my_shell_quote): New funcion. Use instead of g_shell_quote() on
	Windows, as g_shell_quote() always uses single quotes, which don't
	mean anything to the Windows shell (or C runtime startup
	code). (This might be argued to be a bug in GLib, maybe
	g_shell_quote should behave differently accoring to platform.)

	* etc/gimprc.win32: Remove, generate with gimpconfig-dump.

	* */makefile.mingw.in: Remove, unmaintained.
2003-09-01 00:13:08 +00:00
Sven Neumann dad6fedb10 make it behave more like the gzip plug-in and attempt to load and save
2003-08-31  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/bz2.c: make it behave more like the gzip plug-in
	and attempt to load and save files even if there's no sensible
	extension.

	* plug-ins/common/gz.c: minor string change for consistency.
2003-08-31 20:43:03 +00:00
Sven Neumann b5c177e5b6 applied an old patch from Carl Adams that was updated for 1.3 by Tino
2003-08-31  Sven Neumann  <sven@gimp.org>

	* plug-ins/gfig/gfig.c: applied an old patch from Carl Adams that
	was updated for 1.3 by Tino Schwarze. The patch fixes the isometric
	grid so that its mathematical properties can be exploited.
2003-08-31 19:21:41 +00:00
Sven Neumann 224da181e3 applied a patch from Raphael Quinet that adds '-n' to the gzip
2003-08-31  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/gz.c: applied a patch from Raphael Quinet that
	adds '-n' to the gzip command-line (bug #72791). Did some minor
	code cleanup and fixed a problem introduced by the latest change
	that caused a crash when loading remote gzipped files.
2003-08-31 19:10:32 +00:00
Manish Singh 4f305ef565 g_io_channel_read_chars takes a gsize.
2003-08-31  Manish Singh  <yosh@gimp.org>

        * plug-ins/helpbrowser/dialog.c (io_handler): g_io_channel_read_chars
        takes a gsize.
2003-08-31 18:43:48 +00:00
Sven Neumann 16235e4ee8 Use GDK_WINDOWING_WIN32 in the #endif comment as well. 2003-08-31 17:39:15 +00:00
Sven Neumann d78eb4c6aa applied a modified version of a patch from Andy Wallis that is supposed to
2003-08-31  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/psd.c: applied a modified version of a patch
	from Andy Wallis that is supposed to fix bug #68538.
2003-08-31 17:37:36 +00:00
Manish Singh 8caca0bf68 added a prominent comment for translators to make sure they have all 4 po
2003-08-31  Manish Singh  <yosh@gimp.org>

        * configure.in: added a prominent comment for translators to make
        sure they have all 4 po files before adding to ALL_LINGUAS.

        * app/gui/plug-in-menus.c: remove redudant #include of gimpenv.h

        * tools/pdbgen/pdb/plug_in.pdb: gimp_strip_uline menu_path before
        passing it up.

        * app/pdb/plug_in_cmds.c: regenerated.

        * plug-ins/common/mng.c
        * plug-ins/common/psd_save.c
        * plug-ins/common/psp.c: use G_N_ELEMENTS

        * plug-ins/common/screenshot.c: use GDK_WINDOWING_* for #includes
        too. GDK cursor enums are ok to pass to XCreateFontCursor.

        * plug-ins/dbbrowser/dbbrowser_utils.c: minor cleanups, also use
        gtk_cell_renderer_text_set_fixed_height_from_font as an optimization.

        * plug-ins/libgck/gck/gckcolor.c: #undef GDK_DISABLE_DEPRECATED and
        add warning.

        * plug-ins/pygimp/gimpfu.py: remove some redundant import gtk's
2003-08-31 17:23:01 +00:00
Pedro Gimeno f372af09f0 Fix bug preventing the plug-in from working properly with rectangular
2003-08-31  Pedro Gimeno  <pggimeno@wanadoo.es>

	* plug-ins/common/ccanalyze.c (analyze): Fix bug preventing the
	plug-in from working properly with rectangular selections. It
	still doesn't work properly with arbitrarily-shaped selections.
2003-08-31 09:49:30 +00:00
Michael Natterer bd5bbf7a37 Removed libgck from the public libgimp API:
2003-08-31  Michael Natterer  <mitch@gimp.org>

	Removed libgck from the public libgimp API:

	* plug-ins/libgck/gck/Makefile.am: don't build and install a
	shared library and any header files. Instead, build a
	noinst_LIBRARY.

	* plug-ins/Lighting/Makefile.am
	* plug-ins/MapObject/Makefile.am: link against the uninstalled
	libgck.a convenience lib.
2003-08-30 22:37:31 +00:00
Manish Singh 56ff6be308 cleanups. sizeof() isn't valid in preprocessor land. Use GDK_WINDOWING_*
2003-08-28  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/screenshot.c: cleanups. sizeof() isn't valid
        in preprocessor land. Use GDK_WINDOWING_* instead of G_OS_WIN32.
        XFreeCursor when we're done with it.
2003-08-28 23:38:32 +00:00
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
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
Maurits Rijk e4e1f51cdb Major clean-up of xjt. 2003-08-28 19:46:39 +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
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
Maurits Rijk 89fd6901eb Fix for #119937 and #119938 plus lots of code cleanup. 2003-08-27 05:44:57 +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
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 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 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 3d124a9da0 added "Select->To Path" menu entry, using the right stock_id and help_id.
2003-08-25  Michael Natterer  <mitch@gimp.org>

	* app/gui/image-menu.c: added "Select->To Path" menu entry, using
	the right stock_id and help_id.

	* plug-ins/sel2path/sel2path.c: don't install a menu_path.
2003-08-25 14:02:30 +00:00
Seth Burgess cf8e0558ab Fix rcm a bit better, using gdk_window_process_updates() to do xor drawing. 2003-08-24 20:21:47 +00:00
Seth Burgess 796e514ed8 bug 118177: do redraws instead of attempting erase. 2003-08-24 16:23:37 +00:00
Michael Natterer ba70ce9a10 changed GimpHelpFunc typedef: - renamed "const gchar *help_data" to "const
2003-08-23  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimpwidgetstypes.h: changed GimpHelpFunc typedef:
	- renamed "const gchar *help_data" to "const gchar *help_id".
	- added "gpointer help_data".

	* libgimpwidgets/gimphelpui.[ch]: added "gpointer help_data" to
	gimp_help_connect(). Removed all fiddling with html links and
	treat all help IDs as opaque identifiers.

	* app/core/gimptoolinfo.[ch]: changed "help_data" member to
	"help_id".

	* app/widgets/gimpitemfactory.[ch]: removed the "help_path"
	parameter from gimp_item_factory_new() since we don't fiddle with
	html file paths any more. Simplifies menu item help a lot.
	Renamed "help_data" member of struct GimpItemFactoryEntry to
	"help_id".

	* app/gui/plug-in-menus.c: changed accordingly. 3rd party
	plug-ins' menu item help IDs are now encoded as
	"help_path:help_id".

	* app/gui/file-open-menu.c
	* app/gui/file-save-menu.c: when constructing the <Load> and
	<Save> menus, take the resp. procedures' locale_domain and
	help_path into account. Fixes translation of 3rd party menu items.
	Also do the right thing for load/save procs which are implemented
	as temporary procedures (they are impossible to implement
	currently but it's nice to do the right thing anyway...).

	* app/widgets/gimphelp-ids.h: added GIMP_HELP_MAIN identifier.

	* libgimpwidgets/gimpdialog.[ch]
	* libgimpwidgets/gimpwidgets.[ch]
	* libgimp/gimpui.c
	* app/display/gimpdisplayshell.c
	* app/gui/gui.c
	* app/gui/about-dialog.c
	* app/gui/color-notebook.c
	* app/gui/dialogs-constructors.c
	* app/gui/file-dialog-utils.[ch]
	* app/gui/gradients-commands.c
	* app/gui/help-commands.c
	* app/gui/image-menu.c
	* app/gui/menus.c
	* app/gui/preferences-dialog.c
	* app/gui/tips-dialog.c
	* app/tools/gimpcolorpickertool.c
	* app/tools/gimpcroptool.c
	* app/tools/gimpcurvestool.c
	* app/tools/gimphistogramtool.c
	* app/tools/gimpimagemaptool.c
	* app/tools/gimplevelstool.c
	* app/tools/gimpmeasuretool.c
	* app/tools/gimptransformtool.c
	* app/widgets/gimperrorconsole.c
	* app/widgets/gimphelp.[ch]
	* app/widgets/gimpmenufactory.[ch]
	* app/widgets/gimptexteditor.c
	* app/widgets/gimptoolbox.c
	* app/widgets/gimpviewabledialog.[ch]
	* plug-ins/common/CEL.c
	* plug-ins/common/CML_explorer.c
	* plug-ins/common/gee.c
	* plug-ins/common/gee_zoom.c
	* plug-ins/common/gqbist.c
	* plug-ins/common/spheredesigner.c
	* plug-ins/flame/flame.c
	* plug-ins/fp/fp_gtk.c
	* plug-ins/helpbrowser/helpbrowser.c
	* plug-ins/ifscompose/ifscompose.c
	* plug-ins/imagemap/imap_main.c: changed accordingly. Removed
	trailing whitespace all over the place.
2003-08-23 19:35:05 +00:00
Manish Singh a28b83ae11 updated for new gradient sample API, "reverse" is an optional parameter
2003-08-18  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpmodule.c: updated for new gradient sample API,
        "reverse" is an optional parameter which defaults to FALSE.
2003-08-18 22:29:13 +00:00
Michael Natterer cd9f65cb87 Finished the addition of "gboolean reverse" to the gradient API:
2003-08-18  Michael Natterer  <mitch@gimp.org>

	Finished the addition of "gboolean reverse" to the gradient API:

	* tools/pdbgen/pdb/gradients.pdb: added "reverse" params to
	gimp_gradients_sample_uniform(), sample_custom() and
	get_gradient_data().

	* app/pdb/gradients_cmds.c
	* libgimp/gimpgradients_pdb.[ch]: regenerated.

	* libgimp/gimpgradientmenu.c: changed accordingly.

	Made everything compile with the new API:

	* plug-ins/FractalExplorer/Dialogs.c
	* plug-ins/FractalExplorer/FractalExplorer.[ch]: got lost in
	"reverse" adding, whitespace removal and general code cleanup.
	I better commit this now before continuing, even though "reverse"
	adding is not finished.

	* plug-ins/common/sample_colorize.c: removed own gradient
	reversing code, use "reverse" instead.

	* plug-ins/common/gradmap.c
	* plug-ins/flame/flame.c
	* plug-ins/gflare/gflare.c
	* plug-ins/pagecurl/pagecurl.c: simply pass reverse == FALSE and
	added #warnings that more work needs to be done. Some whitespace
	removal and minor cleanup.
2003-08-18 12:17:21 +00:00
Sven Neumann 5e8014b17c this time fix bug #120083 without breaking the fix for #119440.
2003-08-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/iwarp.c (iwarp_frame): this time fix bug #120083
	without breaking the fix for #119440.
2003-08-17 20:22:05 +00:00
Sven Neumann 5b5a2b866c fixed handling of drawables without alpha channel (bug #120083).
2003-08-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/iwarp.c (iwarp_frame): fixed handling of
	drawables without alpha channel (bug #120083).
2003-08-17 19:43:04 +00:00
Sven Neumann 6ece9f684f applied a patch from S. Mukund that fixes handling of transparent
2003-08-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/mng.c: applied a patch from S. Mukund that fixes
	handling of transparent background (bug #117148).
2003-08-17 14:15:49 +00:00
Sven Neumann 23408af111 warn the user if loading or saving fails (bug #119940).
2003-08-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/curve_bend.c: warn the user if loading or saving
	fails (bug #119940).
2003-08-16 23:26:17 +00:00
Sven Neumann 5fcf97e8ec fixed bug that was introduced during code cleanup (spotted by yourst, bug
2003-08-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/tiff.c (read_16bit): fixed bug that was
	introduced during code cleanup (spotted by yourst, bug #120038).
2003-08-16 22:17:04 +00:00
Maurits Rijk ab566982ef Fix for #119963 (crash in Sphere designer plug-in) plus minor code cleanup. 2003-08-16 18:22:08 +00:00
Michael Natterer 6b85b99952 convert the stuff returned by strftime() to UTF-8 before displaying it.
2003-08-14  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/plugindetails.c (get_plugin_info): convert the
	stuff returned by strftime() to UTF-8 before displaying it. Fixes
	bug #119316.
2003-08-13 23:50:27 +00:00
Manish Singh 690db96f73 slight include file ordering tweak
2003-08-13  Manish Singh  <yosh@gimp.org>

        * pygimp/Makefile.am: slight include file ordering tweak

        * plug-ins/pygimp/plug-ins/colorhtml.py: add a sanity check

        * plug-ins/pygimp/plug-ins/sphere.py
        * plug-ins/pygimp/plug-ins/whirlpinch.py: minor cleanups for
        Python 2.3

        * plug-ins/webbrowser/web-browser.scm: change script to reflect
        new pdb name of the web-browser.
2003-08-13 19:34:55 +00:00
Adam D. Moss 668ca1e4a3 revert one of Sven's -pedantic changes from July which caused GIF-loading
* plug-ins/common/gifload.c: revert one of Sven's -pedantic
	changes from July which caused GIF-loading bogosity.
2003-08-12 13:13:14 +00:00
Henrik Brix Andersen f36a63f68c removed function gimp_menu_path_strip_uline() ...
2003-08-09 Henrik Brix Andersen <brix@gimp.org>

* gimp/app/widgets/gimpwidgets-utils.[ch]: removed function
gimp_menu_path_strip_uline() ...

* gimp/libgimpbase/gimputils.[ch]: ... and added it here under the
name gimp_strip_uline()

* gimp/devel-docs/libgimpbase/libgimpbase-sections.txt: added
gimp_strip_uline to gimputils section

* gimp/app/plug-in/plug-in.c
* gimp/app/widgets/gimpitemfactory.c
* gimp/app/widgets/gimptoolbox.
* gimp/app/gui/plug-in-menus.c: changed accordingly

* gimp/plug-ins/script-fu/script-fu-scripts.c
(script_fu_interface): use gimp_strip_uline() to strip mnemonics
from script-fu menu paths

* gimp/app/gui/vectors-menu.c
* gimp/app/gui/templates-menu.c
* gimp/app/gui/qmask-menu.c
* gimp/app/gui/palettes-menu.c
* gimp/app/gui/palette-editor-menu.c
* gimp/app/gui/images-menu.c
* gimp/app/gui/gradients-menu.c
* gimp/app/gui/gradient-editor-menu.c
* gimp/app/gui/documents-menu.c
* gimp/app/gui/dialogs-menu.c
* gimp/app/gui/colormap-editor-menu.c
* gimp/app/gui/channels-menu.c
* gimp/app/gui/buffers-menu.c
* gimp/app/gui/brushes-menu.c
* gimp/app/gui/layers-menu.c
* gimp/plug-ins/pygimp/plug-ins/clothify.py
* gimp/plug-ins/pygimp/plug-ins/shadow_bevel.py
* gimp/plug-ins/pygimp/plug-ins/whirlpinch.py
* gimp/plug-ins/pygimp/plug-ins/foggify.py
* gimp/plug-ins/script-fu/scripts/*.scm
* gimp/plug-ins/script-fu/script-fu.c: added mnemonics fixing more
of bug #106991

* gimp/app/gui/error-console-menu.c (error_console_menu_update):
updated menu item names, added mnemonics

* gimp/plug-ins/common/animoptimize.c *
gimp/plug-ins/common/animationplay.c: don't prepend every menu
entry with "Animation"
2003-08-11 17:14:32 +00:00
Maurits Rijk d814209e56 Committing this for Maurits, since he seems to have forgotten to.
Committing this for Maurits, since he seems to have forgotten to.

2003-08-09  Maurits Rijk  <lpeek.mrijk@consunet.nl>

         * plug-ins/common/iwarp.c (iwarp): added undo group to fix #119438.
2003-08-10 12:09:46 +00:00
Dave Neary 74492a8852 Fixed bug #119440 with Raphael Quinet. The bug was caused by missing a
2003-08-09  Dave Neary  <bolsh@gimp.org>

	* plug-ins/common/iwarp.c: Fixed bug #119440 with Raphael Quinet.
	The bug was caused by missing a channel in the dest drawable when
	the original drawable didn't have an alpha channel.
2003-08-08 23:02:28 +00:00
David Neary 6baf9b6d18 Fix for #83970 2003-08-08 20:16:29 +00:00
Maurits Rijk 9d492e6e2a Fix for #119192 plus adding mnemonics and minor code cleanup. 2003-08-06 15:12:58 +00:00
Raphael Quinet f59c0c2770 increase the default quality setting from 0.75 to 0.85, as requested in
2003-08-05  Raphael Quinet  <quinet@gamers.org>

	* plug-ins/common/jpeg.c (DEFAULT_QUALITY): increase the default
	quality setting from 0.75 to 0.85, as requested in bug #61088 and
	in bug #63610.  This seems to be a more reasonable default for
	most users.  The correct way to solve this problem would be to
	implement the persistent preferences as described in bug #63610,
	but this quick fix should take care of the most annoying problem.
2003-08-05 07:43:25 +00:00
Henrik Brix Andersen 57477e471a plug-ins/common/align_layers.c app/gui/image-menu.c plug-ins/fp/fp.c
2003-08-05 Henrik Brix Andersen <brix@gimp.org>

* plug-ins/common/align_layers.c
* app/gui/image-menu.c
* plug-ins/fp/fp.c
* plug-ins/common/compose.c
* plug-ins/common/ccanalyze.c: added even more mnemonics to fix more of
#106991. Many more to follow...
2003-08-04 22:24:41 +00:00
Henrik Brix Andersen 449f0eeedd plug-ins/common/align_layers.c app/gui/image-menu.c plug-ins/fp/fp.c
2003-08-05 Henrik Brix Andersen <brix@gimp.org>

* plug-ins/common/align_layers.c
* app/gui/image-menu.c
* plug-ins/fp/fp.c
* plug-ins/common/compose.c
* plug-ins/common/ccanalyze.c: added even more mnemonics to fix more of
#106991. Many more to follow...
2003-08-04 22:05:58 +00:00
Henrik Brix Andersen 33e315dd70 plug-ins/pygimp/plug-ins/sphere.py plug-ins/pygimp/plug-ins/pdbbrowse.py
2003-08-04 Henrik Brix Andersen <brix@gimp.org>

* plug-ins/pygimp/plug-ins/sphere.py
* plug-ins/pygimp/plug-ins/pdbbrowse.py
* plug-ins/pygimp/plug-ins/gimpcons.py
* plug-ins/maze/maze.c
* plug-ins/ifscompose/ifscompose.c
* plug-ins/gfig/gfig.c
* plug-ins/FractalExplorer/FractalExplorer.c
* plug-ins/flame/flame.c
* plug-ins/dbbrowser/dbbrowser.c
* plug-ins/common/CML_explorer.c
* app/gui/image-menu.c: added even more mnemonics to fix more of
bug #106991. Still more to follow...
2003-08-04 18:33:25 +00:00
Sven Neumann a7b6bb7654 Sprinkled the code with const qualifiers. Fixed transfer of pixel data
2003-09-11  Sven Neumann  <sven@gimp.org>

	* gimp-plugin/svg.c: Sprinkled the code with const qualifiers.
	Fixed transfer of pixel data from pixbuf to pixel region. The
	old code was wrong for pixbufs with rowstride != width * bpp.
2003-08-02 13:45:47 +00:00
Dom Lachowicz 3fb7004be4 fix building with gimp 1.3.17 2003-08-02 13:45:47 +00:00
Henrik Brix Andersen 2002b583c2 plug-ins/rcm/rcm.c plug-ins/print/print.c plug-ins/pagecurl/pagecurl.c
2003-08-01 Henrik Brix Andersen <brix@gimp.org>

* plug-ins/rcm/rcm.c
* plug-ins/print/print.c
* plug-ins/pagecurl/pagecurl.c
* plug-ins/mosaic/mosaic.c
* plug-ins/MapObject/mapobject_main.c
* plug-ins/Lighting/lighting_main.c
* plug-ins/imagemap/imap_main.c
* plug-ins/gimpressionist/gimp.c
* plug-ins/gflare/gflare.c
* plug-ins/common/mapcolor.c
* app/gui/toolbox-menu.c: added more mnemonics to fix bug
#106991. More will follow soon...
2003-08-01 18:00:20 +00:00
Manish Singh e53a776325 plug-ins/common/Makefile.am plug-ins/common/plugin-defs.pl new plug-in,
2003-07-30  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/Makefile.am
        * plug-ins/common/plugin-defs.pl
        * plug-ins/common/ccanalyze.c: new plug-in, Colorcube Analysis
        (counts colors in an image, an often requested feature)
2003-07-31 01:12:00 +00:00
Dave Neary 0756a06d46 plug-ins/common/edge.c: Trivial clean-up.
2003-07-30  Dave Neary  <bolsh@gimp.org>

        plug-ins/common/edge.c: Trivial clean-up.
2003-07-30 06:42:05 +00:00
Dave Neary f716f07e2f Added several new edge detection algorithms. There are more complicated
2003-07-29  Dave Neary  <bolsh@gimp.org>

        * plug-ins/common/edge.c: Added several new edge detection
        algorithms. There are more complicated ways these could be
        done (using the rotations of the kernels in the plug-in) but
        this is a nice mix between speed and complexity. The
        algorithms, heavily modified, come from iccii's thin_line
        plug-in.
2003-07-29 20:55:37 +00:00
Adam D. Moss 5d0845bcf7 Trivial -- tabs-to-spaces.
* plug-ins/common/gif.c: Trivial -- tabs-to-spaces.
2003-07-29 10:30:55 +00:00
Dave Neary ebc79a6559 Include a patch by Cameron Gergory <cameron@bloke.com> which allows a
2003-07-29  Dave Neary  <bolsh@gimp.org>

        * plug-ins/common/gif.c: Include a patch by Cameron Gergory
        <cameron@bloke.com> which allows a compile-time choice of the
        comression algorithm to be used in the gif plug-in.

        * configure.in: Added --with-gif-compress flag to allow
        specification of compression algorithm via configure.
2003-07-29 06:52:41 +00:00
Tor Lillqvist 9b117a6de7 Use -mwindows on Win32.
2003-07-27  Tor Lillqvist  <tml@iki.fi>

	* plug-ins/*/Makefile.am: Use -mwindows on Win32.
2003-07-27 22:43:11 +00:00
Tor Lillqvist f62a884ea1 Merge from stable: On Win32 (with no X11), don't include <X11/Xlib.h>. (Do
2003-07-27  Tor Lillqvist  <tml@iki.fi>

	* plug-ins/common/xpm.c: Merge from stable: On Win32 (with no
	X11), don't include <X11/Xlib.h>. (Do include <X11/xpm.h>, though,
	as such a file is provided by the libXpm-noX package.)
	(parse_colors): If XPM_NO_X (Win32), use GDK to parse color names.
2003-07-27 09:46:38 +00:00
Tor Lillqvist e7b1738f71 Use -no-undefined on Windows.
2003-07-26  Tor Lillqvist  <tml@iki.fi>

	* plug-ins/libgck/gck/Makefile.am: Use -no-undefined on Windows.
2003-07-26 18:41:51 +00:00
Hans Breuer b70d6c3317 renamed GimpOrientationType with Compat postfix to avoid name clashing
2003-07-26  Hans Breuer  <hans@breuer.org>

	* libgimp/gimpcompat.h : renamed GimpOrientationType
	with Compat postfix to avoid name clashing when using
	this header together with libgimp/gimpenums.h

	* app/composite/makefile.msc : (new file)
	  **/makefile.msc : updated

	* libgimp/gimp.c : use static defined _tile<widht|height>
	in this file instead of function call

	* libgimp/gimp.def libgimp/libgimpui.def : moved from former
	to latter : gimp_<brush|font|gradient|pattern>_select_<new|destroy>
	added to former gimp_<brushes|gradients|patterns>_popup

	* app/paint/gimppaintcore.h : removed double semicolon
	which gave msvc error C2059: syntax error : ';'

	* libgimpbase/gimpwin32-io.h : (new file) compatibilty defines
	which were spread over multiple files to make up mostly for
	missing unistd.h

	* app/base/tile-swap.c app/core/gimpimagefile.c
	  libgimpbase/gimpdatafiles.c
	  plug-ins/FractalExplorer/FractalExplorer.c : use new header

	* plug-ins/gflare/gflare.c
	  plug-ins/flame/flame.c
	  plug-ins/FractalExplorer/Dialogs.c :
	removed #ifdef G_OS_WIN32 special casing, not needed anymore
	due to g_file_test() usage

	* app/text/*.* : changes required for build with PangoWin32,
	but not commited ...
2003-07-26 17:37:32 +00:00
Manish Singh 4c3671b29f slight fix for arg handling, shouldn't have any functional difference.
2003-07-25  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpfu.py: slight fix for arg handling, shouldn't
        have any functional difference. This code should be redone at some
        point.

        * plug-ins/pygimp/gimpmodule.c
        * plug-ins/pygimp/pygimp.h
        * plug-ins/pygimp/pygimp-pdb.c: constify

        * plug-ins/pygimp/plug-ins/sphere.py: use new blend pdb interface
2003-07-25 23:46:40 +00:00
Maurits Rijk 198e74fb15 Fix for #118081 (right alignment of Help menu) and removed deprecated gtk widgets from polar plug-in. 2003-07-24 19:55:37 +00:00
Michael Natterer b10a8b4fec added image, layer, channel and drawable menus for testing.
2003-07-24  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/scripts/test-sphere.scm: added image, layer,
	channel and drawable menus for testing.
2003-07-24 13:11:53 +00:00
Sven Neumann 5a5abb979b moved variable declarations inside the #ifdef branch where they are used.
2003-07-24  Sven Neumann  <sven@gimp.org>

	* plug-ins/imagemap/imap_selection.c (selection_update): moved
	variable declarations inside the #ifdef branch where they are used.
2003-07-24 11:38:42 +00:00
Sven Neumann 34007f34b5 commented out unused function update_sizemap_dialog().
2003-07-24  Sven Neumann  <sven@gimp.org>

	* plug-ins/gimpressionist/sizemap.c: commented out unused function
	update_sizemap_dialog().
2003-07-24 11:35:41 +00:00
Michael Natterer 075195d16b added "gboolean reverse" to gimp_gradient_get_color_at() so all gradients
2003-07-22  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpgradient.[ch]: added "gboolean reverse" to
	gimp_gradient_get_color_at() so all gradients can be used
	reversed.

	* app/core/gimpdrawable-blend.[ch] (gimp_drawable_blend)
	* app/core/gimppalette-import.[ch] (gimp_palette_import_from_gradient):
	added "gboolean reverse".

	* app/paint/paint-enums.[ch]: removed enum GimpGradientRepeatMode
	since it is identical to GimpRepeatMode, except for the now
	obsolete ONCE_BACKWARD value.

	* app/paint/gimppaintcore.[ch]: removed
	gimp_paint_core_get_color_from_gradient()...

	* app/paint/gimppaintoptions.[ch]: ...and added
	gimp_paint_options_get_gradient_color(), which is much more
	general. Added a "reverse" property to GimpGradientOptions and
	changed the type of the "repeat" property to GimpRepeatMode.

	* app/paint/gimppaintbrush.c: use
	gimp_paint_options_get_gradient_color().

	* app/tools/gimpblendoptions.[ch]: removed the "repeat" property
	since it is in the parent class now.

	* app/gui/gradient-select.c
	* app/gui/palette-import-dialog.c
	* app/widgets/gimpgradienteditor.c
	* app/tools/gimpblendtool.c
	* tools/pdbgen/pdb/gradients.pdb
	* tools/pdbgen/pdb/misc_tools.pdb: changed accordingly.

	* app/tools/gimppaintoptions-gui.c: added a "Reverse" toggle right
	of the gradient preview.

	* app/widgets/gimppreviewrenderergradient.[ch]: added "gboolean
	reverse" member and gimp_preview_renderer_gradient_set_reverse()
	API.

	* tools/pdbgen/pdb/paint_tools.pdb: fixed the paintbrush invoker
	to set GimpPaintOption's "use-fade" and "use-gradient" properties
	correctly.

	* app/pdb/gradients_cmds.c
	* app/pdb/misc_tools_cmds.c
	* app/pdb/paint_tools_cmds.c
	* libgimp/gimpenums.h
	* libgimp/gimpmisctools_pdb.[ch]
	* plug-ins/pygimp/gimpenums.py
	* plug-ins/script-fu/script-fu-constants.c
	* tools/pdbgen/enums.pl: regenerated.

	* libgimp/gimpcompat.h
	* plug-ins/script-fu/siod-wrapper.c: removed GimpGradientPaintMode
	here too since it was only exported accidentially (it's not used
	by any external API).

	* plug-ins/script-fu/scripts/3dTruchet.scm
	* plug-ins/script-fu/scripts/alien-glow-arrow.scm
	* plug-ins/script-fu/scripts/alien-glow-bar.scm
	* plug-ins/script-fu/scripts/alien-glow-bullet.scm
	* plug-ins/script-fu/scripts/alien-glow-button.scm
	* plug-ins/script-fu/scripts/alien-glow-logo.scm
	* plug-ins/script-fu/scripts/basic1-logo.scm
	* plug-ins/script-fu/scripts/basic2-logo.scm
	* plug-ins/script-fu/scripts/beveled-button.scm
	* plug-ins/script-fu/scripts/blended-logo.scm
	* plug-ins/script-fu/scripts/burn-in-anim.scm
	* plug-ins/script-fu/scripts/coffee.scm
	* plug-ins/script-fu/scripts/comic-logo.scm
	* plug-ins/script-fu/scripts/coolmetal-logo.scm
	* plug-ins/script-fu/scripts/glossy.scm
	* plug-ins/script-fu/scripts/gradient-bevel-logo.scm
	* plug-ins/script-fu/scripts/gradient-example.scm
	* plug-ins/script-fu/scripts/pupi-button.scm
	* plug-ins/script-fu/scripts/rendermap.scm
	* plug-ins/script-fu/scripts/sphere.scm
	* plug-ins/script-fu/scripts/starscape-logo.scm
	* plug-ins/script-fu/scripts/test-sphere.scm
	* plug-ins/script-fu/scripts/textured-logo.scm
	* plug-ins/script-fu/scripts/title-header.scm
	* plug-ins/script-fu/scripts/weave.scm: pass "reverse" to
	gimp_blend(). Pass FALSE in most cases and added script
	parameters were it makes sense.
2003-07-22 14:24:11 +00:00
Sven Neumann 75306ec3af app/core/gimpdrawable-blend.[ch] app/tools/gimpblendoptions.[ch]
2003-07-21  Sven Neumann  <sven@gimp.org>

	* app/core/gimpdrawable-blend.[ch]
	* app/tools/gimpblendoptions.[ch]
	* app/tools/gimpblendtool.c
	* tools/pdbgen/pdb/misc_tools.pdb
	* plug-ins/script-fu/scripts/: applied a slightly modified patch
	from Alastair M. Robinson that adds dithering to the blend tool
	(bug #97777).

	* app/pdb/misc_tools_cmds.c
	* libgimp/gimpmisctools_pdb.[ch]: regenerated.
2003-07-21 01:13:35 +00:00
Sven Neumann 56b05f9546 fixed confusion of GimpImageType and GimpImageBaseType enums that broke
2003-07-20  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/psd_save.c: fixed confusion of GimpImageType and
	GimpImageBaseType enums that broke the plug-in for non-RGB images.
2003-07-20 20:46:05 +00:00
Sven Neumann 8be50cd148 applied patch from Alastair M. Robinson that fixes the name of the default
2003-07-20  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/rendermap.scm: applied patch from
	Alastair M. Robinson that fixes the name of the default gradient
	(bug #117851).
2003-07-20 10:25:20 +00:00
Jakub Steiner 517cd3651e added mnemonics for plugins
2003-07-17  Jakub Steiner <jimmac@ximian.com>

* plug-ins/common/*.c: added mnemonics for plugins
2003-07-17 15:47:18 +00:00
Sven Neumann b64dfbee05 use the new CMYK->RGB conversion routine to handle CMYK in PSD files.
2003-07-15  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/psd.c: use the new CMYK->RGB conversion routine to
	handle CMYK in PSD files.
2003-07-15 14:36:57 +00:00
Sven Neumann 28bbeb4d76 applied GIMP coding style. UTF8-validate the image description before
2003-07-15  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/tiff.c: applied GIMP coding style. UTF8-validate
	the image description before accepting it as a comment. Check for
	ASCII-only comment before saving it as an image description.
2003-07-15 12:35:39 +00:00
Manish Singh 4b266f3240 don't do anything if run standalone and given a -gimp command line option.
2003-07-09  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/plug-ins/gtkcons.py: don't do anything if run
        standalone and given a -gimp command line option. (Sanity against
        #117074)
2003-07-09 21:19:16 +00:00
Sven Neumann 6b99ae0405 applied a patch from S. Mukund that fixes a problem with newer versions of
2003-07-07  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/mng.c: applied a patch from S. Mukund that fixes
	a problem with newer versions of libmng (bug #115544).
2003-07-07 13:49:45 +00:00
Sven Neumann 8021dc31b0 removed from CVS.
2003-07-04  Sven Neumann  <sven@gimp.org>

	* plug-ins/gdyntext/*: removed from CVS.
2003-07-04 10:39:09 +00:00
Sven Neumann aa28c532ab refuse to write comments that contain non-ASCII characters.
2003-07-03  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/gif.c (save_image): refuse to write comments that
	contain non-ASCII characters.
2003-07-03 17:45:12 +00:00
Sven Neumann c7f573cc55 added a toggle that allows to disable saving of the image comment.
2003-07-03  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/png.c: added a toggle that allows to disable
	saving of the image comment.
2003-07-03 15:13:29 +00:00
Sven Neumann 2a35ff7f1d plug-ins/common/blur.c plug-ins/common/gifload.c plug-ins/common/gih.c
2003-07-03  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/blur.c
	* plug-ins/common/gifload.c
	* plug-ins/common/gih.c
	* plug-ins/common/gqbist.c
	* plug-ins/common/jpeg.c
	* plug-ins/common/mapcolor.c
	* plug-ins/common/pcx.c
	* plug-ins/common/png.c
	* plug-ins/common/ps.c
	* plug-ins/common/psd.c
	* plug-ins/common/psp.c
	* plug-ins/common/randomize.c
	* plug-ins/common/sinus.c
	* plug-ins/common/snoise.c
	* plug-ins/common/tga.c
	* plug-ins/common/wmf.c
	* plug-ins/common/xbm.c
	* plug-ins/fp/fp.h
	* plug-ins/fp/fp_gdk.c
	* plug-ins/fp/fp_gtk.c
	* plug-ins/gfig/gfig.c
	* plug-ins/gflare/gflare.c
	* plug-ins/gimpressionist/brush.c
	* plug-ins/gimpressionist/paper.c
	* plug-ins/gimpressionist/ppmtool.c
	* plug-ins/gimpressionist/preview.c
	* plug-ins/ifscompose/ifscompose_utils.c
	* plug-ins/script-fu/script-fu-server.c
	* plug-ins/xjt/xjt.c: fixed some minor code issues found compiling
	with -pedantic.
2003-07-03 13:26:06 +00:00
Manish Singh 122c006564 fix spelling of "quality" in comment
2003-07-03  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/jpeg.c: fix spelling of "quality" in comment

        * tools/pdbgen/*.pl: update copyright strings to 2003

        * libgimp/gimpenums.h
        * libgimp/*_pdb.[ch]
        * app/pdb/*_cmds.[ch]
        * app/pdb/internal_procs.[ch]
        * plug-ins/pygimp/gimpenums.py
        * plug-ins/script-fu/script-fu-constants.c: regenerated
2003-07-03 00:47:26 +00:00
Sven Neumann 532975823f g_utf8_validate the iTXt chunk, just to be sure 2003-07-03 00:37:41 +00:00
Sven Neumann 5f63d557f1 added support for reading and writing comments. Handles tTXt (ISO-8859-1)
2003-07-03  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/png.c: added support for reading and writing
	comments. Handles tTXt (ISO-8859-1) and, if your libpng supports
	it, iTXt (UTF-8) chunks.
2003-07-03 00:30:33 +00:00
Michael Natterer 74710fccf4 changed GimpDatafileLoaderFunc to take a separate "gpointer user_data"
2003-07-02  Michael Natterer  <mitch@gimp.org>

	* libgimpbase/gimpbasetypes.h: changed GimpDatafileLoaderFunc to
	take a separate "gpointer user_data" parameter (passing user_data
	in a struct was a quite nonstandard API design). Made the
	GimpDatafileData pointer const.

	* libgimpbase/gimpdatafiles.[ch]: removed user_data from the
	GimpDatafileData struct and added "const gchar *basename" so we
	don't need to g_path_get_basename() in many callbacks.

	* libgimp/gimpmiscui.[ch]: changed gimp_plug_in_parse_path() to
	gimp_plug_in_get_path() and return the unparsed path.

	* app/core/gimpdatafactory.c
	* app/core/gimpenvirontable.c
	* app/gui/gui.c
	* app/plug-in/plug-ins.c
	* libgimpmodule/gimpmoduledb.c
	* plug-ins/script-fu/script-fu-scripts.c: changed accordingly.

	* plug-ins/FractalExplorer/Dialogs.c
	* plug-ins/FractalExplorer/FractalExplorer.[ch]
	* plug-ins/FractalExplorer/Globals.c
	* plug-ins/gfig/gfig.c
	* plug-ins/gflare/gflare.c: use gimp_datafiles_read_directories()
	instead of fiddling with g_dir_open() manually. Random cleanups.
2003-07-02 17:11:00 +00:00
Sven Neumann 5143aa7c4b sprinkled some more const qualifiers 2003-07-02 15:23:47 +00:00
Sven Neumann 11c8c14333 last bunch of plug-ins adapted to libgimp changes.
2003-07-02  Sven Neumann  <sven@gimp.org>

	* plug-ins: last bunch of plug-ins adapted to libgimp changes.
2003-07-02 13:00:16 +00:00
Sven Neumann b338b7718f more plug-ins adapted to libgimp changes. Includes fix for #12582.
2003-07-02  Sven Neumann  <sven@gimp.org>

	* plug-ins: more plug-ins adapted to libgimp changes.
	Includes fix for #12582.
2003-07-02 12:03:08 +00:00
Sven Neumann adbec9c49d more plug-ins adapted to libgimp changes.
2003-07-02  Sven Neumann  <sven@gimp.org>

	* plug-ins: more plug-ins adapted to libgimp changes.
2003-07-02 11:07:41 +00:00
Sven Neumann 1016c682c8 more plug-ins adapted to libgimp changes.
2003-07-02  Sven Neumann  <sven@gimp.org>

	* plug-ins: more plug-ins adapted to libgimp changes.
2003-07-02 00:15:09 +00:00
Sven Neumann 1240214a0a more plug-ins adapted to libgimp changes.
2003-07-02  Sven Neumann  <sven@gimp.org>

	* plug-ins: more plug-ins adapted to libgimp changes.
2003-07-01 23:21:36 +00:00
Sven Neumann 3018ec35ad first set of plug-ins adapted to the constified libgimp API.
2003-07-01  Sven Neumann  <sven@gimp.org>

	* plug-ins/common: first set of plug-ins adapted to the constified
	libgimp API.
2003-07-01 18:54:28 +00:00
Sven Neumann a6264ada31 fixed the non-alpha case (bug #116470).
2003-07-01  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/ripple.c (average_four_pixels): fixed the
	non-alpha case (bug #116470).
2003-07-01 16:53:33 +00:00
Sven Neumann a8f6d6de9b plug-ins/ifscompose/ifscompose.[ch] use Pango to draw text.
2003-07-01  Sven Neumann  <sven@gimp.org>

	* plug-ins/ifscompose/ifscompose.[ch]
	* plug-ins/ifscompose/ifscompose_utils.c: use Pango to draw text.

	* plug-ins/ifscompose/ifscompose_storage.c: minor code cleanup.
2003-07-01 16:07:13 +00:00
Michael Natterer 92297ab605 removed all brush, font, gradient and pattern related code.
2003-07-01  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimpmenu.[ch]: removed all brush, font, gradient
	and pattern related code.

	* libgimp/gimpbrushselect.[ch]
	* libgimp/gimpfontselect.[ch]
	* libgimp/gimpgradientselect.[ch]
	* libgimp/gimppatternselect.[ch]: new files containing the
	wrappers around their resp. _pdb.[ch] files. Changed function
	names to gimp_*_select_new(). Added gimp_*_select_destroy()
	functions so we're not forced to leak all wrappers. Cleanup.

	* libgimp/gimpbrushmenu.h
	* libgimp/gimpfontmenu.h
	* libgimp/gimpgradientmenu.h
	* libgimp/gimppatternmenu.h: new files. Changed function names
	here too.

	* libgimp/gimpbrushmenu.c
	* libgimp/gimpfontmenu.c
	* libgimp/gimpgradientmenu.c
	* libgimp/gimppatternmenu.c: changed accordingly. Free the
	foo_select wrappers when they are no longer needed (generally,
	free everthing instead of leaking everything). Lots of cleanup.

	* libgimp/Makefile.am
	* libgimp/gimp.def
	* libgimp/gimpui.def: changed accordingly.

	* libgimp/gimp.h
	* libgimp/gimpui.h: include the new headers.

	* libgimp/gimpcompat.h: added the old function names here.

	* plug-ins/FractalExplorer/Dialogs.c
	* plug-ins/common/film.c
	* plug-ins/gfig/gfig.c
	* plug-ins/script-fu/script-fu-scripts.c: changed accordingly.

2003-07-01  Michael Natterer  <mitch@gimp.org>

	* libgimp/libgimp-docs.sgml
	* libgimp/libgimp-sections.txt: follow libgimp cleanup, moved the
	brush, font, gradient and pattern selection stuff to their own
	sections.

	* libgimp/tmpl/gimpfonts.sgml: removed.

	* libgimp/tmpl/gimpbrushmenu.sgml
	* libgimp/tmpl/gimpbrushselect.sgml
	* libgimp/tmpl/gimpfontmenu.sgml
	* libgimp/tmpl/gimpfontselect.sgml
	* libgimp/tmpl/gimpgradientmenu.sgml
	* libgimp/tmpl/gimpgradientselect.sgml
	* libgimp/tmpl/gimppatternmenu.sgml
	* libgimp/tmpl/gimppatternselect.sgml: new files.

	* libgimp/tmpl/gimpbrushes.sgml
	* libgimp/tmpl/gimpgradients.sgml
	* libgimp/tmpl/gimpmenu.sgml
	* libgimp/tmpl/gimppatterns.sgml: regenerated.
2003-07-01 15:06:06 +00:00
Dave Neary 46ca5a780b Save patterns with alpha channels, and remove warning while loading
2003-06-28  Dave Neary  <bolsh@gimp.org>

        * plug-ins/common/pat.c: Save patterns with alpha
        channels, and remove warning while loading patterns
        with an alpha channel.

        * app/core/gimppattern.c
        * app/core/gimpdrawable-bucket-fill.c
        * app/paint/gimpclone.c: Make cloning from a pattern
        source, and bucket filling with a pattern, work when
        there's an alpha channel present in the pattern.

        I'm not particularly happy with this, because the only
        way to tell whether there's an alpha channel or not is
        by the number of bytes in the TempBuf the clone and
        bucketfill routines get passed, which is rather
        restrictive. It would be nice if a TempBuf had a
        _has_alpha () method.
2003-06-28 12:36:52 +00:00
Manish Singh c1e165d32d Missing self. reference. Fixes #115714.
2003-06-26  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpui.py: Missing self. reference. Fixes #115714.

        * plug-ins/pygimp/gimpui.py: Move item.show() in Selector so that all
        items are shown. Fixes bug #115715. Thanks to Dave Corrie for catching
        both these.

        * plug-ins/pygimp/gimpfu.py: Always register as type PLUGIN, to
        reflect the recent changes in semantics.

        * plug-ins/pygimp/plug-ins/gimpcons.py
        * plug-ins/pygimp/plug-ins/pdbbrowse.py: s/extension/plug_in/ to
        reflect above, for consistency.

        * plug-ins/pygimp/gimpfu.py: Add a fail method which uses
        gimp.message and then raises an error.

        * plug-ins/pygimp/gimpmodule.c: remove declarations for
        gimp_extension_ack and gimp_extension_process, they are in gimp.h.

        * plug-ins/pygimp/gimpfu.py
        * plug-ins/pygimp/gimpui.py
        * plug-ins/pygimp/plug-ins/gimpcons.py
        * plug-ins/pygimp/plug-ins/pdbbrowse.py: Added pygtk.require('2.0').
        Fixes bug #115545.
2003-06-28 00:06:58 +00:00
Sven Neumann 4e4b91eda1 attempt to convert text from locale encoding.
2003-06-25  Sven Neumann  <sven@gimp.org>

	* app/text/gimptext-parasite.c (gimp_text_from_gdyntext_parasite):
	attempt to convert text from locale encoding.

	* app/vectors/gimpvectors-compat.c (gimp_vectors_compat_new):
	allow paths with zero points (bug # 115955).

	* plug-ins/script-fu/script-fu-server.c: if a connection to a
	client is lost, invalidate file descriptors in the command queue.
	Plugged a couple of memleaks.
2003-06-25 21:18:45 +00:00
Sven Neumann 82bb65c3cb Allow negative margin values. 2003-06-24 11:51:51 +00:00
Sven Neumann 7ecebde9a0 plug-ins/script-fu/scripts/Makefile.am
2003-06-24  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/Makefile.am
	* plug-ins/script-fu/scripts/spyrogimp.scm
	* plug-ins/script-fu/scripts/trochoid.scm: replaced Trochoid
	script with the more advanced Spyrogimp (bug #115290).

	* plug-ins/script-fu/scripts/grid-system.scm: renamed menu entry.
2003-06-24 11:08:39 +00:00
Sven Neumann bd9231c940 update the preview when the intersection color changes.
2003-06-24  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/grid.c (dialog): update the preview when the
	intersection color changes.
2003-06-23 23:18:32 +00:00
Sven Neumann 742d55466f simplified exif check by using PKG_CHECK_MODULES().
2003-06-23  Sven Neumann  <sven@gimp.org>

	* configure.in: simplified exif check by using PKG_CHECK_MODULES().

	* plug-ins/common/mkgen.pl: allow for multiple library dependencies.

	* plug-ins/common/plugin-defs.pl: added exif dependency to the
	jpeg plug-in.

	* plug-ins/common/Makefile.am: regenerated.
2003-06-23 08:26:25 +00:00
Dave Neary 1abfa8da27 configure.in plug-ins/common/Makefile.am Add support for the keeping of
2003-06-22  Dave Neary  <bolsh@gimp.org>

	* configure.in
	* plug-ins/common/Makefile.am
	* plug-ins/common/jpeg.c: Add support for the keeping of EXIF
	information in jpeg files. This is step 1 in the overall plan to
	an all-singing, all-dancing metadata editor. Next step is to do
	the same thing for TIFFs, then to do both properly as a number of
	parasites rather than one big one, and then to allow a generic
	metadata editor, as well as (possibly) adding a nice way to
	manipulate exif data in the jpeg plug-in while saving.

	This is a modified patch of one posted to the devel list by Lutz
	Muller in February 2002, and subsequently added to bug #56443.
	Sorry it took so long Lutz.
2003-06-22 20:41:22 +00:00