Commit Graph

131 Commits

Author SHA1 Message Date
Michael Natterer 804af727f6 app/gimpunit.c all libgimp headers are included via gimp.h or gimpui.h, so
2000-05-31  Michael Natterer  <mitch@gimp.org>

	* app/gimpunit.c
	* libgimp/*: all libgimp headers are included via gimp.h or
	gimpui.h, so include <gtk/gtk.h> there and in the *.c files.
	Various cleanups.
2000-05-30 23:38:46 +00:00
Sven Neumann 301ca8e381 use spinbuttons in the GIMP colorselector
--Sven
2000-05-27 13:53:49 +00:00
Michael Natterer 6fa33d6855 Libgimp cleanup part II (with a little help from Yosh who moved the CVS
2000-05-27  Michael Natterer  <mitch@gimp.org>

	Libgimp cleanup part II (with a little help from Yosh
	who moved the CVS files).

	* libgimp/Makefile.am
	* libgimp/gimpchannel_pdb.c
	* libgimp/gimpdisplay_pdb.c
	* libgimp/gimpdrawable_pdb.c
	* libgimp/gimpgradient_pdb.c
	* libgimp/gimphelp_pdb.c
	* libgimp/gimpimage_pdb.c
	* libgimp/gimplayer_pdb.c
	* libgimp/gimppalette_pdb.c
	* libgimp/gimpparasite_pdb.c
	* libgimp/gimpselection_pdb.c
	* libgimp/gimpunit_pdb.c: new names of all files which contain
	PDB wrappers.

	* modules/Makefile.am
	* libgimp/gimpcolordisplay.h
	* libgimp/gimpcolorselector.h
	* modules/gimpmodregister.[ch]: renamed.

	* libgimp/gimpparasiteF.h
	* libgimp/gimpparasiteP.h: removed because gimp.h had to include
	the private header anyway.

	* app/color_notebook.c
	* app/color_select.c
	* app/gdisplay_color.[ch]
	* app/gdisplay_color_ui.c
	* app/gimpbrushpipe.c
	* app/gimpdrawable.[ch]
	* app/gimpimage.c
	* app/gimpimage.h
	* app/gimpparasite.[ch]
	* app/gimprc.c
	* app/image_new.c
	* app/layer.c
	* app/parasite_cmds.c
	* app/parasitelist.[ch]
	* app/plug_in.c
	* app/procedural_db.c
	* app/undo.c
	* app/xcf.c
	* libgimp/gimp.[ch]
	* libgimp/gimpcolordisplay.h
	* libgimp/gimpparasite.[ch]
	* modules/cdisplay_gamma.c
	* modules/cdisplay_highcontrast.c
	* modules/colorsel_gtk.c
	* modules/colorsel_triangle.c
	* modules/colorsel_water.c
	* plug-ins/FractalExplorer/Dialogs.c
	* plug-ins/FractalExplorer/Events.c
	* plug-ins/Lighting/lighting_apply.c
	* plug-ins/Lighting/lighting_shade.c
	* plug-ins/MapObject/mapobject_image.c
	* plug-ins/common/gpb.c
	* plug-ins/common/psp.c
	* plug-ins/sel2path/sel2path.c
	* po-libgimp/POTFILES.in
	* tools/pdbgen/pdb.pl
	* tools/pdbgen/pdb/parasite.pdb: changed includes accordingly.
2000-05-27 01:30:21 +00:00
Sven Neumann 7a8d504bdb update the color-selector when Return is pressed in the hex-entry.
2000-05-25  Sven Neumann  <sven@gimp.org>

        * app/color_select.c: update the color-selector when Return
        is pressed in the hex-entry.
2000-05-25 07:50:44 +00:00
Michael Natterer 9c6b0b0c33 These changes enable help support for 3rd party plug-ins which install
2000-05-21  Michael Natterer  <mitch@gimp.org>

	These changes enable help support for 3rd party plug-ins which
	install their help files outside GIMP's main help dir.

	Instead of calling gimp_help(), gimp_plugin_help_func() etc.,
	all help callbacks now have to call gimp_standard_help_func()
	which has different implementations in the app and in libgimp.

	There is a new function gimp_plugin_help_register() which can
	be called during plug-in query. plug_in.c keeps a list of
	executable_name/help_path pairs. Plug-ins have to pass their
	exec. name to gimp_help() which uses the list to find the plug-in's
	help directory.

	* app/gimphelp.[ch]: gimp_help() now takes a help_path parameter.
	help_path == NULL means the standard help directory. Various
	changes to pass the help_path to the help browser.

	* app/gimprc.c: save the plug-in's help_path in the pluginrc file.

	* app/menus.c: ugly hack to enable help_paths in the "F1" callback.

	* app/plug_in.[ch]: many help_path related changes. Use g_basename()
	instead of strrchr(str,G_DIR_SEPARATOR), cosmetic cleanups.

	* app/internal_procs.c
	* app/gimphelp_cmds.c
	* tools/pdbgen/pdb/gimphelp.pdb: new procedure
	gimp_plugin_help_register(). gimp_help() takes a second parameter
	which is the executable name (not the help_path).

	* app/color_notebook.c
	* app/commands.c
	* app/lc_dialog.c
	* app/preferences_dialog.c
	* app/tools.c: call gimp_standard_help_func() instead of gimp_help().

	* libgimp/gimp.c: new function gimp_get_progname() which returns
	the full path of the plug-in's executable.

	* libgimp/gimp.h: export the new function,
	removed gimp_plugin_help_func(), gimp_help() takes the executable
	name as second parameter.

	* libgimp/gimpcompat.h: added gimp_plugin_help_func().

	* libgimp/gimphelp.c: a wrapper for gimp_plugin_help_register(),
	changed the calls to gimp_help.

	* libgimp/gimphelpui.[ch]: call gimp_standard_help_func() instead
	of gimp_help().

	* plug-ins/helpbrowser/helpbrowser.c: now called with an additional
	help_path parameter. Various changes to enable
	help_path != gimp_standard_help_path.

	Unrelated stuff:

	* app/batch.h: added missing GPL header.

	* app/gimpunit.c: had a LGPL header, merged some fprintf's into
	one call.

	* app/procedural_db.[ch]: cosmetic: g* types, s/g_malloc/g_new/,
	prototypes, indentation.

	* app/resize.c: use less packing widgets. didn't find the "offset"
	redraw bug :(
2000-05-21 17:41:02 +00:00
Sven Neumann e882c30e44 added links to Carey Bunks's "Gimp-Savvy" and "Grokking the GIMP"
2000-05-20  Sven Neumann  <sven@gimp.org>

* plug-ins/webbrowser/web-browser.scm: added links to
Carey Bunks's "Gimp-Savvy" and "Grokking the GIMP" resources.

* libgimp/gimpwidgets.[ch]: use unsigned integers for the
memsize_entry. Added gimp_uint_adjustment_update().

* gimprc.[ch]
* preferences_dialog.c: use unsigned integers for memsizes
(tile_cache_size and max_new_image_size). Allows to set those
values up to 4GB. Fixes bug #11053.
2000-05-20 18:39:02 +00:00
Michael Natterer c73b233f8a app/color_select.c app/colormaps.[ch] removed unused global variables
2000-04-26  Michael Natterer  <mitch@gimp.org>

	* app/color_select.c
	* app/colormaps.[ch]
	* app/context_manager.c: removed unused global variables
	[foreground|background]_pixel and [old|new]_color_pixel.

	Initialize the colormap and visual stuff with GdkRGB instead of
	GtkPreview functions (which are deprecated).

	* app/[62 files]: removed #include's (started with colormaps.h and
	couldn't stop). Also ordered them consistently and did some small
	unrelated cleanups.
	Removed variuos <stdlib.h> et.al. but checked the files carefully
	before doing so. If I was too radical and you get warnings on your
	platform, please flame me or just put them back :)
2000-04-27 17:27:28 +00:00
Michael Natterer 66e1b6f680 using the GimpPixmap here was a bad idea because showing/hiding the pixmap
2000-04-20  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimpfileselection.[ch]: using the GimpPixmap here was a
	bad idea because showing/hiding the pixmap widgets is no solution
	(somebody may call gtk_widget_show_all() and we suddenly see both
	pixmaps, eek).
	Reverted it to use GtkPixmap and gtk_pixmap_set().
2000-04-20 15:48:00 +00:00
Michael Natterer 0608a9920d fixed a compiler warning.
2000-04-14  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimpdialog.c: fixed a compiler warning.
2000-04-14 18:05:13 +00:00
Michael Natterer 61184c16c9 app/commands.c app/layers_dialog.c behave like a widget: removed
2000-04-06  Michael Natterer  <mitch@gimp.org>

	* app/commands.c
	* app/layers_dialog.c
	* app/resize.[ch]: behave like a widget:
	removed resize_widget_free() and call
	gtk_widget_destroy(resize->resize_shell) instead.

	* app/interface.c: s/0/FALSE/

	* app/color_area.c
	* libgimp/gimpchainbutton.c: show the correct background also for
	engine driven themes. The chainbutton's lines still don't draw
	with the pixmap theme, which is probably a bug of the theme's
	draw_polygon method.
2000-04-06 02:13:18 +00:00
Michael Natterer e44df51a6d minor cleanups.
2000-03-31  Michael Natterer  <mitch@gimp.org>

	* app/gimpdnd.[ch]: minor cleanups.

	* libgimp/gimpwidgets.c: don't set a border width for the
	radio_group's vbox if no frame around it was requested.

	* plug-ins/common/sample_colorize.c: add a separator between
	image and sample.

	* plug-ins/common/iwarp.c: use the libgimp ui functions, removed
	callbacks, a global s/gfloat/gdouble/, replaced the booleans
	toggling the transform mode with a single variable containing an
	enum value, indentation.
2000-03-31 18:10:25 +00:00
Sven Neumann 10437eae05 Install dialog now works with themes and offers
interactive monitor calibration


--Sven & Mitch
2000-03-15 16:00:24 +00:00
Sven Neumann 4d20d8296b an eye_candy for new users
--Sven & Mitch
2000-03-14 23:06:21 +00:00
Sven Neumann 864fb49354 fixed bugs #7078 and #2291
--Sven
2000-03-12 01:34:45 +00:00
Michael Natterer 5759a5fff6 immediate cursor_update feedback on modifier events.
2000-03-07  Michael Natterer  <mitch@gimp.org>

	* app/by_color_select.c: immediate cursor_update feedback on
	modifier events.

	* libgimp/gimpwidgets.c: one more s/private_tip/help_data/
2000-03-07 20:00:07 +00:00
Michael Natterer ecaea6bd07 namespace consistency: s/private_tip/help_data/
2000-03-06  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimpwidgets.[ch]:
	namespace consistency: s/private_tip/help_data/
2000-03-06 13:04:15 +00:00
Michael Natterer c56b60e815 libgimp/gimpfileselection.c behave like other dialogs (close) when
2000-02-28  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimpfileselection.c
	* libgimp/gimpunitmenu.c: behave like other dialogs (close) when
	pressing "OK" or "Cancel".

	* libgimp/stdplugins-intl.h
	* plug-ins/script-fu/script-fu-intl.h: bind the "gimp-libgimp"
	textdomain also if HAVE_LC_MESSAGES is undefined.

	* plug-ins/print/print-ps.c
	* plug-ins/print/print.c: applied a patch from Robert L Kravitz
	<rlk@alum.mit.edu> which adds a "Center" button, activates all
	text entries and corrects the rounding behaviour. And a minor fix
	for the PS driver.

	* plug-ins/dbbrowser/Makefile.am
	* plug-ins/dbbrowser/dbbrowser.h: removed.

	* plug-ins/dbbrowser/dbbrowser.c
	* plug-ins/dbbrowser/dbbrowser_utils.c
	* plug-ins/dbbrowser/dbbrowser_utils.h
	* plug-ins/common/plugindetails.c: ui and code cleanup.
	libgimp ui stuff and a proper include structure for the dbbrowser.

	* plug-ins/script-fu/script-fu-console.c: include
	"plug-ins/dbbrowser/dbbrowser_utils.h".
2000-02-28 00:45:58 +00:00
Michael Natterer cb9243e481 added documentation.
2000-02-27  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimphelpui.c: added documentation.

2000-02-27  Michael Natterer  <mitch@gimp.org>

	* libgimp/tmpl/gimphelpui.sgml: updated.
2000-02-27 12:34:13 +00:00
Michael Natterer 882c240a38 libgimp/gimphelpui.[ch] added some not-yet-complete documentation.
2000-02-26  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimphelpui.[ch]
	* libgimp/gimpdialog.c: added some not-yet-complete documentation.

2000-02-26  Michael Natterer  <mitch@gimp.org>

	* libgimp/libgimp-decl.txt
	* libgimp/libgimp-docs.sgml
	* libgimp/libgimp-sections.txt
	* libgimp/tmpl/gimp.sgml
	* libgimp/tmpl/gimpdialog.sgml
	* libgimp/tmpl/gimphelpui.sgml
	* libgimp/tmpl/gimpunit.sgml
	* libgimp/tmpl/gimpwidgets.sgml: updated.
2000-02-26 14:28:08 +00:00
Sven Neumann 2d578df303 excluded gserialize.[ch] from the build
* libgimp/Makefile.am: excluded gserialize.[ch] from the build

* libgimp/*: header cleanup


--Sven
2000-02-26 03:41:06 +00:00
Michael Natterer 27d4717c78 use a gimp_query_boolean_box().
2000-02-23  Michael Natterer  <mitch@gimp.org>

	* app/file_new_dialog.c: use a gimp_query_boolean_box().

	* libgimp/gimpenv.c
	* libgimp/gimpquerybox.c: documentation updates.

	* libgimp/gimpwidgets.[ch]: changed the widget constructors to
	return only the container widget and added access marcos for the
	sub-widgets. Added documentation for all functions.
	Made gimp_toggle_button_sensitive_update() public so this feature
	can be properly documented.

	* plug-ins/common/blur.c
	* plug-ins/common/gauss_iir.c
	* plug-ins/common/gauss_rle.c
	* plug-ins/common/plasma.c
	* plug-ins/common/randomize.c
	* plug-ins/common/snoise.c
	* plug-ins/common/spread.c
	* plug-ins/common/tile.c
	* plug-ins/gflare/gflare.c: updated according to the
	gimpwidgets.[ch] changes.

2000-02-23  Michael Natterer  <mitch@gimp.org>

	* libgimp/libgimp-decl.txt
	* libgimp/libgimp-sections.txt
	* libgimp/tmpl/gimpenv.sgml
	* libgimp/tmpl/gimppixmap.sgml
	* libgimp/tmpl/gimpwidgets.sgml: various updates and documentation
	for all gimpwidgets.[ch] functions.
2000-02-23 15:52:33 +00:00
Michael Natterer a4f6d59af0 app/color_area.[ch] pass masks for the "default" and "swap" pixmaps to the
2000-02-22  Michael Natterer  <mitch@gimp.org>

	* app/color_area.[ch]
	* app/interface.c: pass masks for the "default" and "swap" pixmaps
	to the color_area constructor and use them to create a clip mask
	in color_area_draw().

	* app/datafiles.[ch]: some harmless cleanups.

	* libgimp/gimppixmap.c: use gtk_pixmap_set_build_insensitive()
	instead of accessing the field directly.
2000-02-22 15:14:54 +00:00
Sven Neumann fb8c5c045b Set the widget's requisition so it can be properly packed before it's
realized. Fixes bug #6470


--Sven
2000-02-22 00:23:26 +00:00
Michael Natterer ed071953b2 fixed a gtk-doc comment.
2000-02-21  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimppixmap.c: fixed a gtk-doc comment.

	* libgimp/gimpenv.[ch]: new functions:

	- gimp_path_parse(): Creates a GList of strings from a searchpath
	  string and performs sanity checks.
	- gimp_path_to_str(): Creates a searchpath string from the list
	  returned by gimp_path_parse().
	- gimp_path_free(): Frees the list returned by gimp_path_parse().
	- gimp_path_get_user_writable_dir(): Returns the first dir in a
	  path where the user has write access. With this function the
	  "Save" dialogs of some plugins always show the plugin's
	  subdirectory of the user's gimp_dir instead of the read-only
	  global one.

	* app/datafiles.[ch]
	* app/gimpbrushlist.c: use the new functions and
	s/datafile_loader_t/GimpDataFileLoaderFunc/.

	* plug-ins/FractalExplorer/Dialogs.c
	* plug-ins/FractalExplorer/FractalExplorer.c
	* plug-ins/gfig/gfig.c
	* plug-ins/gflare/gflare.c
	* plug-ins/gimpressionist/gimpressionist.c: use the new functions.
2000-02-21 17:15:30 +00:00
Michael Natterer 0a5fadee17 app/perspective_tool.c app/rotate_tool.c app/scale_tool.c app/shear_tool.c
2000-02-21  Michael Natterer  <mitch@gimp.org>

	* app/perspective_tool.c
	* app/rotate_tool.c
	* app/scale_tool.c
	* app/shear_tool.c
	* plug-ins/common/gauss_iir.c
	* plug-ins/common/gauss_rle.c: fix Solaris compilation problems
	reported by Ludovic Poitou <ludovic.poitou@france.sun.com>.

	* libgimp/gimppixmap.[ch]: new function gimp_pixmap_set().

	* plug-ins/gfig/gfig.c: hacked the ui to use the libgimp widgets &
	constructors and slightly reorganized it to use fewer screen
	space (not yet perfect). Did a general namespace & code cleanup.

	* plug-ins/FractalExplorer/FractalExplorer.c: use a GimpPathEditor
	widget.
2000-02-21 11:54:33 +00:00
Michael Natterer 5d57b99903 gimp_pixmap_new(): set the widget's requisition so it can be properly
2000-02-19  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimppixmap.c: gimp_pixmap_new(): set the widget's
	requisition so it can be properly packed before it's realized.

	* libgimp/gimpwidgets.[ch]: added a "text" parameter to
	gimp_pixmap_button_new().

	* app/undo_history.c: use gimp_pixmap_buttons.

	* app/gradient.c
	* app/nav_window.c
	* app/palette.c
	* libgimp/gimppatheditor.c
	* plug-ins/Lighting/lighting_ui.c
	* plug-ins/MapObject/mapobject_ui.c: changed calls to
	gimp_pixmap_button_new().

	* plug-ins/MapObject/mapobject_main.c: INIT_I18N() was missing in
	query().

	* plug-ins/pagecurl/pagecurl.c: use GimpVector2 functions instead
	of reinventing the wheel.

	* plug-ins/helpbrowser/helpbrowser.c: use gimp_pixmap_buttons.

	* plug-ins/helpbrowser/back.xpm
	* plug-ins/helpbrowser/forward.xpm: cropped.
2000-02-19 14:25:27 +00:00
Michael Natterer 24c54a77de added (empty) documentation headers.
2000-02-18  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimpwidgets.c: added (empty) documentation headers.

2000-02-18  Michael Natterer  <mitch@gimp.org>

	* libgimp/libgimp-decl.txt
	* libgimp/tmpl/gimpmatrix.sgml
	* libgimp/tmpl/gimpvector.sgml
	* libgimp/tmpl/libgimp-unused.sgml: updates and
	cleanups.
2000-02-18 19:59:02 +00:00
Michael Natterer 7b6dffa66a libgimp/gimpchainbutton.c documentation updates.
2000-02-18  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimpchainbutton.c
	* libgimp/gimpcolorbutton.c: documentation updates.

2000-02-18  Michael Natterer  <mitch@gimp.org>

	* libgimp/Makefile.am
	* libgimp/tmpl/gimpvector.sgml
	* libgimp/tmpl/gimppixmap.sgml: new files.

	* libgimp/libgimp-decl.txt
	* libgimp/libgimp-docs.sgml
	* libgimp/libgimp-sections.txt
	* libgimp/libgimp.hierarchy
	* libgimp/libgimp.types
	* libgimp/tmpl/gimpchainbutton.sgml
	* libgimp/tmpl/gimpcolorbutton.sgml
	* libgimp/tmpl/gimpdialog.sgml
	* libgimp/tmpl/gimpfileselection.sgml
	* libgimp/tmpl/gimphelpui.sgml
	* libgimp/tmpl/gimpmath.sgml
	* libgimp/tmpl/gimpmatrix.sgml
	* libgimp/tmpl/gimpmenu.sgml
	* libgimp/tmpl/gimppatheditor.sgml
	* libgimp/tmpl/gimpsizeentry.sgml
	* libgimp/tmpl/gimpunitmenu.sgml
	* libgimp/tmpl/gimpwidgets.sgml
	* libgimp/tmpl/libgimp-unused.sgml: various minor updates. Added
	short descriptions for all libgimpui sections.
2000-02-18 16:00:19 +00:00
Sven Neumann 38a5f21ec0 removed a few warnings
--Sven
2000-02-18 15:43:22 +00:00
Michael Natterer f9f4411f53 libgimp/Makefile.am simple widget which creates a pixmap from XPM data
2000-02-18  Michael Natterer  <mitch@gimp.org>

	* libgimp/Makefile.am
	* libgimp/gimppixmap.[ch]: simple widget which creates a pixmap
	from XPM data without the need to worry about it's parent's
	"realized" state and other stuff.

	* libgimp/gimpcolorbutton.c: removed a gtk-doc comment from an
	internal function.

	* libgimp/gimpwidgets.[ch]: new function gimp_pixmap_button_new().

	* app/gimpui.h
	* libgimp/gimpui.h: include gimppixmap.h.

	* app/gradient.c
	* app/nav_window.c
	* app/palette.c
	* libgimp/gimpfileselection.[ch]
	* libgimp/gimppatheditor.c
	* libgimp/gimpquerybox.c
	* plug-ins/FractalExplorer/FractalExplorer.c: use GimpPixmaps.

	* plug-ins/Lighting/*
	* plug-ins/MapObject/*: some more cleanups: reduced # of includes,
	made private functions static, use GimpPixmaps.

	* plug-ins/libgck/Makefile.am
	* plug-ins/libgck/NEWS
	* plug-ins/libgck/README
	* plug-ins/libgck/TODO
	* plug-ins/libgck/docs/html/gck.html
	* plug-ins/libgck/docs/html/gck_application_window.html
	* plug-ins/libgck/docs/html/gck_dialog_window.html
	* plug-ins/libgck/docs/html/gckmath.html
	* plug-ins/libgck/docs/html/gckui.html
	* plug-ins/libgck/docs/html/gckvector.html: removed because they
	documented files which don't exist any more.
2000-02-18 13:59:18 +00:00
Michael Natterer 52b8b75b6b new function gimp_color_button_double_new() which uses an array of gdouble
2000-02-18  Michael Natterer  <misch@gimp.org>

	* libgimp/gimpcolorbutton.[ch]: new function
	gimp_color_button_double_new() which uses an array of gdouble
	instead uf guchar to store the color.

	* libgimp/gimpwidgets.h: added macros for easier access of the
	scale_entries widgets.

	* plug-ins/common/film.c: use the scale_entry widget accessors.

	* plug-ins/libgck/gck/Makefile.am
	* plug-ins/libgck/gck/gckcolor.h
	* plug-ins/libgck/gck/gcktypes.h
	* plug-ins/libgck/gck/gckui.[ch]: removed.

	* plug-ins/libgck/gck/gck.h
	* plug-ins/libgck/gck/gckcolor.c: left only the color functions in
	libgck.

	* plug-ins/Lighting/lighting_pixmaps.h
	* plug-ins/MapObject/mapobject_pixmaps.h: removed (include the
	pixmaps directly).

	* po-plug-ins/POTFILES.in: added mapobject_ui.c.

	* plug-ins/Lighting/lighting_image.c
	* plug-ins/Lighting/lighting_main.[ch]
	* plug-ins/Lighting/lighting_preview.c
	* plug-ins/Lighting/lighting_ui.[ch]
	* plug-ins/MapObject/mapobject_image.[ch]
	* plug-ins/MapObject/mapobject_main.[ch]
	* plug-ins/MapObject/mapobject_preview.c
	* plug-ins/MapObject/mapobject_ui.[ch]: use gtk+ and libgimp
	functions instead of gck ones, cleanups, I18N. More stuff to
	come...
2000-02-17 23:48:13 +00:00
Michael Natterer 73f722ec23 purely cosmetic.
2000-02-14  Michael Natterer  <mitch@gimp.org>

	* app/preferences_dialog.c: purely cosmetic.

	* libgimp/gimpdialog.c: purely fanatic.

	* libgimp/gimpwidgets.c: attach label, scale and spinbutton to the
	adjustment returned by gimp_scale_entry_new().

	* plug-ins/common/film.c: set reasonable climb_rate's for the
	advanced options's spinbuttons.
2000-02-14 13:23:12 +00:00
Michael Natterer 2b92a59e64 po/POTFILES.in app/Makefile.am removed.
2000-02-13  Michael Natterer  <mitch@gimp.org>

	* po/POTFILES.in
	* app/Makefile.am
	* app/buildmenu.[ch]: removed.

	* app/blend.c
	* app/brush_select.c
	* app/curves.c
	* app/histogram_tool.c
	* app/layers_dialog.c
	* app/lc_dialog.c
	* app/levels.c
	* app/paint_options.h
	* app/paintbrush.c
	* app/tool_options.c: use the libgimp option menu
	constructor. Removed paint_mode_menu_set_history().

	* app/colormap_dialog.i.c
	* app/colormap_dialog.p.h: use a popup menu as in the palette
	dialog instead of a pulldown menu.

	* app/channels_dialog.c: made color dnd to a channel widget work
	again.

	* libgimp/gimpwidgets.[ch]: new function
	gimp_option_menu_set_history() which sets the history according to
	user_data as passed to gimp_option_menu_new().
2000-02-13 22:26:41 +00:00
Michael Natterer 9f92453c56 app/gdisplay_ops.c app/gradient.c app/palette.c removed the "eek" wilber
2000-02-12  Michael Natterer  <mitschel@cs.tu-berlin.de>

	* app/gdisplay_ops.c
	* app/gradient.c
	* app/palette.c
	* plug-ins/gflare/gflare.c: removed the "eek" wilber from all
	query boxes except the "Quit the GIMP?" warning.

	* libgimp/gimpfileselection.c
	* libgimp/gimpunitmenu.c: be a bit more clever with widget signals
	(destroy, unmap) which affect the widget's sub-dialogs.

	* libgimp/gimphelpui.c: pass a GtkWindow, not a GtkWidget to
	gimp_dialog_set_icon().

	* libgimp/gimpquerybox.[ch]: added documentation.
2000-02-12 13:07:59 +00:00
Sven Neumann e01d964527 made parasites use g* types and documented gimpchainbutton
--Sven
2000-02-12 02:16:59 +00:00
Michael Natterer a90cc52db3 as all boolean query boxes are confirmations for deleting/closing
2000-02-10  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimpquerybox.[ch]: as all boolean query boxes are
	confirmations for deleting/closing something, I added the "eek"
	wilber (you can still disable the pixmap by passing FALSE to the
	constructor's "eek" parameter).

	* app/app_procs.c
	* app/gdisplay_ops.c
	* app/gradient.c
	* app/palette.c
	* plug-ins/gflare/gflare.c: pass eek==TRUE to the boolean query
	box constructor.
2000-02-10 23:47:56 +00:00
Michael Natterer 9ffed65563 removed the query boxes.
2000-02-10  Michael Natterer  <mitch@gimp.org>

	* app/gimpui.[ch]: removed the query boxes.

	* po-libgimp/POTFILES.in
	* libgimp/Makefile.am
	* libgimp/gimpui.h
	* libgimp/gimpquerybox.[ch]: new files. Added a boolean query box
	to get rid of all those handmade "yes/no" query dialogs. Changed
	the query box callback prototypes to return the entered value
	instead of a pointer to it.

	* app/commands.c
	* app/display_ops.c
	* app/gradient.c
	* app/palette.c
	* app/paths_dialog.c: correctly call the new query box functions
	and use the boolean query box instead of inventing this wheel over
	and over again.

	* app/global_edit.[ch]: same as above and cleaned up the public
	interface.
2000-02-10 21:54:12 +00:00
Michael Natterer 9cb95b1949 Makefile.am new file.
2000-02-10  Michael Natterer  <mitch@gimp.org>

	* Makefile.am
	* pixmaps/wilber.xpm: new file.

	* libgimp/gimpdialog.[ch]: uncommented some lines. Depending on
	your window manager, you'll figure out what it does without having
	to look at the sources...

	* app/app_procs.c
	* app/gradient.c
	* app/menus.c: minor changes to bring the goodie above to all
	places. Did dome cleanups.

	* app/commands.c: I18N fix.

	* app/channels_dialog.c: removed an unused declaration.
2000-02-10 00:00:54 +00:00
Michael Natterer 7d39b971d7 libgimp/gimpfileselection.[ch] document the two widgets.
2000-02-08  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimpfileselection.[ch]
	* libgimp/gimppatheditor.[ch]: document the two widgets.
2000-02-08 21:59:31 +00:00
Michael Natterer 5afe831418 libgimp/gimpfileselection.[ch] unref pixmaps here, too.
2000-02-08  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimpfileselection.[ch]
	* libgimp/gimppatheditor.[ch]: unref pixmaps here, too.
2000-02-08 20:24:07 +00:00
Michael Natterer ef17866973 app/* libgimp/* plug-ins/* did a global s/GUnit/GimpUnit/ and
2000-02-07  Michael Natterer  <mitch@gimp.org>

	* app/*
	* libgimp/*
	* plug-ins/*
	* tools/pdbgen/*: did a global s/GUnit/GimpUnit/ and
	s/GimpSizeEntryUP/GimpSizeEntryUpdatePolicy/

	* libgimp/gimpcolorspace.c: renamed the parameter names to match
	the names in the header.

	* libgimp/gimphelpui.h
	* libgimp/gimpimage.c
	* libgimp/gimpmatrix.h
	* libgimp/gimpsizeentry.[ch]
	* libgimp/gimpsizeentry.[ch]
	* libgimp/gimpunit.[ch]
	* libgimp/gimpunitmenu.[ch]
	* libgimp/gimpwidgets.[ch]: added documentation and use g* types
	all over the place (enables cross-referencing with the glib and
	gtk+ html documentation).

	* plug-ins/common/exchange.c
	* plug-ins/common/max_rgb.c: small cleanups.

	* plug-ins/common/mapcolor.c: the color buttons were attached in
	the wrong order.
2000-02-07 20:35:13 +00:00
Michael Natterer e20554fb84 gimprc.in user_install renamed the "gflares" dir to "gflare" in all places
2000-02-05  Michael Natterer  <mitch@gimp.org>

	* gimprc.in
	* user_install
	* user_install.bat: renamed the "gflares" dir to "gflare" in all
	places because this seems to be the naming convention of all the
	other plug-in dirs.

	* libgimp/gimpwidgets.[ch]:

	- gimp_random_seed_new(): return the spinbutton and the time
	  toggle as pointers.
	- gimp_scale_entry_new(): allow the spinbutton to have a larger
	  range of possible values than the scale.

	* plugins/[all calls to the above two functions]: changed the
	calls accordingly.
	Did some more ui updates in some of these plugins (Frames saying
	"Parameter Settings", spacing etc.)

	* plug-ins/gflare/Makefile.am
	* plug-ins/gflare/gflare.c: hacked it to match the plugin ui
	standards. Didn't get rid of the gradient menus.
2000-02-04 15:12:17 +00:00
Sven Neumann bbcc2ecc7b Documented gimp_color_button and cleaned up the framework.
Seems to be working now.


--Sven
2000-02-03 02:35:08 +00:00
Michael Natterer 9508a095d1 Pass the values which are treated as 0% and 100% to the constructor and
2000-02-03  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimpwidgets.[ch] gimp_coordinates_new():
	Pass the values which are treated as 0% and 100% to the
	constructor and allow the chainbutton to constrain either the
	pixel values or the aspect ratio.

	* plug-ins/common/bumpmap.c
	* plug-ins/common/sparkle.c: removed unused variables.

	* plug-ins/common/gauss_iir.c
	* plug-ins/common/gauss_rle.c
	* plug-ins/common/spread.c: updated the gimp_coordinates_new()
	calls.

	* plug-ins/common/tile.c: use gimp_coordinates instead of
	spinbuttons.
2000-02-02 17:59:44 +00:00
Michael Natterer dd20d22192 attach labels and the unit_menu with GTK_SHRINK.
2000-02-01  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimpsizeentry.[ch]: attach labels and the unit_menu with
	GTK_SHRINK.

	* libgimp/gimpwidgets.[ch]: new convenience constructor
	gimp_coordinates_new() which creates a sizeentry with two fields,
	labels and a chainbutton.

	* plug-ins/common/gauss_iir.c
	* plug-ins/common/gauss_rle.c
	* plug-ins/common/spread.c: use the coordinate constructor.

	* plug-ins/common/mblur.c: put the settings into two separate
	frames instead of using two nested frames.

	* plug-ins/common/sample_colorize.c: don't #include <math.h>

	* plug-ins/script-fu/script-fu-scripts.c: use the libgimp ui
	functions.

	* plug-ins/script-fu/script-fu.c: hm, don't remember, I guess it
	was indentation paranoia...
2000-01-31 20:47:44 +00:00
Michael Natterer 03015f85d7 merged the table attach helper functions into one function.
2000-02-01  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimpwidgets.[ch]: merged the table attach helper
	functions into one function.

	* app/*
	* plug-ins/*: changed the calls to gimp_table_attach_aligned()
	accordingly. Did minimal ui updates (spacing and stuff) in some
	files.
2000-01-31 03:13:02 +00:00
Michael Natterer 278a69918d bind the "gimp-libgimp" textdomain to get the libgimp widget translations.
2000-01-28  Michael Natterer  <mitch@gimp.org>

	* app/main.c: bind the "gimp-libgimp" textdomain to get the
	libgimp widget translations. Did some code cleanup.

	* libgimp/stdplugins-intl.h: bind "gimp-libgimp".

	* libgimp/gimpintl.h: copyright header.

	* libgimp/libgimp-intl.h: there is no dgettext_noop() function
	(typo/braino).

	* libgimp/gimpwidgets.[ch]: one more table attach helper
	function. Should probably find a general way for the two
	functions.

	* plug-ins/common/CML_explorer.c
	* plug-ins/common/align_layers.c
	* plug-ins/common/scatter_hsv.c
	* plug-ins/common/threshold_alpha.c: removed the gtkW_* wrapper
	functions. Badly hacked CML_explorer (The optionmenu creation is a
	bit more ugly than before but at least consistent with the other
	files using the libgimp optionmenu constructor).
2000-01-27 19:26:00 +00:00
Michael Natterer 929045dff9 libgimp/Makefile.am new file to be included by libgimp files only.
2000-01-28  Michael Natterer  <mitch@gimp.org>

	* libgimp/Makefile.am
	* libgimp/libgimp-intl.h: new file to be included by libgimp files
	only. Re-defines _() and gettext() as dgettext() and N_() as
	dgettext_noop().
	This way the translations of the various widgets which are used in
	both the app and plugins are searched in the correct catalog.

	* libgimp/gimpcolorbutton.c
	* libgimp/gimpexport.c
	* libgimp/gimpfileselection.c
	* libgimp/gimpunit.c
	* libgimp/gimpunitmenu.c
	* libgimp/gimpwidgets.c: #include "libgimp-intl.h"
2000-01-27 01:54:52 +00:00
Michael Natterer 38c66a651c added one more option menu constructor and made the namespace more
2000-01-28  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimpwidgets.[ch]: added one more option menu constructor
	and made the namespace more consistent, minor fixes.

	* libgimp/gimpdialog.c
	* libgimp/gimpunitmenu.c: minor fixes.

	* app/preferences_dialog.c
	* plug-ins/borderaverage/borderaverage.c
	* plug-ins/common/gif.c
	* plug-ins/common/randomize.c: changed according to the above
	namespace cleanups.
2000-01-27 01:22:27 +00:00
Michael Natterer 8098581577 block the sizeentry's signals while updating is's fields after a unit
2000-01-26  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimpsizeentry.[ch]: block the sizeentry's signals while
	updating is's fields after a unit change and emit the
	"value_changed" signal manually afterwards. This avoids multiple
	"value_changed" signals which may cause callbacks to change the
	sizeentry in the middle of a unit update.

	* plug-ins/commion/spread.c: no need to connect to the sizeentry's
	"unit_changed" signal.
2000-01-26 00:39:40 +00:00