Commit Graph

35 Commits

Author SHA1 Message Date
Michael Natterer 593043a1b6 fixed a FIXME: set the sensitivity of the color tools' menu entries again.
2001-06-14  Michael Natterer  <mitch@gimp.org>

	* app/gdisplay.c: fixed a FIXME: set the sensitivity of the
	color tools' menu entries again.

	* libgimp/gimpcolorselector.h
	* libgimp/gimpdrawable.h
	* libgimp/gimpmenu.h: removed the usage of "id" from the public
	interface because it's a reserved keyword of Objective C.

	* libgimp/gimpdrawable.c
	* libgimp/gimptile.c

	* plug-ins/[lotsa plugins].c: changed accordingly.
2001-06-14 20:07:38 +00:00
Sven Neumann 811d30548c removed COMPAT_CRUFT.
2000-08-22  Sven Neumann  <sven@gimp.org>

        * plug-ins/common/*.c: removed COMPAT_CRUFT.
2000-08-22 01:26:57 +00:00
Michael Natterer 1590cecfe1 s/gimp_plugin_help_func/gimp_standard_help_func/
2000-05-22  Michael Natterer  <mitch@gimp.org>

	* plug-ins/*: s/gimp_plugin_help_func/gimp_standard_help_func/

	Coincidentially, my script also removed empty lines from the end
	of _all_ *.c file (not only from those which contained
	gimp_plugin_help_func).
2000-05-22 17:10:28 +00:00
Michael Natterer a24cf99460 use gimp_ui_init(). Minor cleanups like below: includes, indentation,
2000-05-01  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/[r-z]*.c: use gimp_ui_init(). Minor cleanups like
	below: includes, indentation, prototypes...
2000-05-01 20:22:55 +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
Marc Lehmann 9d02cb0d45 *** empty log message *** 2000-02-13 00:11:26 +00:00
Garry R. Osgood f4124d81ff gimp/plug-ins/common/randomize.c Inadvertent use of wrong adjustment
2000-02-09  Garry R. Osgood <gosgood@idt.net>
* gimp/plug-ins/common/randomize.c
Inadvertent use of wrong adjustment
update callback failed to get proper
value of randomizing count from GUI.
[line 771, CVS-1.28] Closes #5948.
2000-02-10 00:08:27 +00:00
Michael Natterer bce26fb34a use g* types and name the parameters in the header.
2000-02-05  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimpcolorspace.[ch]: use g* types and name the
	parameters in the header.

	* plug-ins/common/CML_explorer.c
	* plug-ins/common/blur.c
	* plug-ins/common/newsprint.c
	* plug-ins/common/nova.c
	* plug-ins/common/pixelize.c
	* plug-ins/common/plasma.c
	* plug-ins/common/randomize.c
	* plug-ins/common/unsharp.c
	* plug-ins/gflare/gflare.c
	* plug-ins/sinus/sinus.c
	* plug-ins/struc/struc.c: soem more consistency stuff.
2000-02-04 22:18:50 +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
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
Marc Lehmann 734d4c42b0 *** empty log message *** 2000-01-31 02:32:30 +00:00
Sven Neumann ab6afdc206 removed compiler warnings
--Sven
2000-01-28 13:12:50 +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 fa30ba04c7 configure.in po-plug-ins/POTFILES.in plug-ins/common/Makefile.am
2000-01-25  Michael Natterer  <mitch@gimp.org>

	* configure.in
	* po-plug-ins/POTFILES.in
	* plug-ins/common/Makefile.am
	* plug-ins/common/plugin-defs.pl
	* plug-ins/megawidget/*: removed. (There were only 3 functions
	left which were used by ~5 plugins, so I moved the resp. functions
	to the plugins). More preview stuff to come...

	* app/airbrush_blob.c
	* modules/colorsel_triangle.c
	* modules/colorsel_water.c: use G_PI instead of M_PI.

	* app/procedural_db.h
	* libgimp/gimpenums.h
	* plug-ins/script-fu/script-fu-constants.c
	* tools/pdbgen/enums.pl: new PDB return value STATUS_CANCEL which
	indicates that "Cancel" was pressed in a plugin dialog. (Useful
	only for file load/save plugins).

	* app/fileops.[ch]
	* app/menus.c: changes to handle STATUS_CANCEL correctly. Did some
	code cleanup in fileops.[ch]. Pop up a warning if File->Save
	failed.

	* app/plug_in.c: return_val[0] is of type PDB_STATUS, not
	PDB_INT32.

	* libgimp/gimpmath.h: new constant G_MAXRAND which equals to
	RAND_MAX if it exists or to G_MAXINT otherwise.

	* libgimp/gimpwidgets.[ch]: new function gimp_random_seed_new()
	which creates a spinbutton and a "Time" toggle.
	Call the function which does the "set_sensitive" magic from the
	radio button callback.

	* plug-ins/[75 plugins]:

	- Return STATUS_CANCEL in all file load/save dialogs if "Cancel"
	  was pressed.
	- Standardized the file plugins' "run" functions.
	- Use G_PI and G_MAXRAND everywhere.
	- Added tons of scales and spinbuttons instead of text entries.
	- Applied uniform packing/spacings all over the place.
	- Reorganized some UIs (stuff like moving the preview to the top
	  left corner of the dialog).
	- Removed many ui helper functions and callbacks and use the stuff
	  from libgimp instead.
	- I tried not to restrict the range of possible values when I
	  replaced entries with spinbuttons/scales but may have failed,
	  though in some cases. Please test ;-)
	- #include <libgimp/gimpmath.h> where appropriate and use it's
	  constants.
	- Indentation, s/int/gint/ et.al., code cleanup.

	RFC: The plugins are definitely not useable with GIMP 1.0 any
	     more, so shouldn't we remove all the remaining compatibility
	     stuff ??? (like "#ifdef GIMP_HAVE_PARASITES")
2000-01-25 17:46:56 +00:00
Michael Natterer c5a2909aae oops, the "Add Layer Mask" dialog contained nothing after my last change.
2000-01-16  Michael Natterer  <mitch@gimp.org>

	* app/layers_dialog.c: oops, the "Add Layer Mask" dialog contained
	nothing after my last change.

	* libgimp/gimpwidgets.c: gimp_table_attach_aligned() sets the
	yalign of the widget to 0.5 instead of 1.0.

	* plug-ins/common/align_layers.c
	* plug-ins/common/apply_lens.c
	* plug-ins/common/blinds.c
	* plug-ins/common/blur.c
	* plug-ins/common/cubism.c
	* plug-ins/common/decompose.c
	* plug-ins/common/flarefx.c
	* plug-ins/common/glasstile.c
	* plug-ins/common/jigsaw.c
	* plug-ins/common/mail.c
	* plug-ins/common/nova.c
	* plug-ins/common/randomize.c
	* plug-ins/common/ripple.c
	* plug-ins/common/scatter_hsv.c
	* plug-ins/common/shift.c
	* plug-ins/common/sparkle.c
	* plug-ins/common/spread.c: even more spinbuttons and other ui
	updates.
2000-01-16 15:38:38 +00:00
Michael Natterer f10b06a3b2 configure.in plug-ins/Makefile.am removed.
2000-01-11  Michael Natterer  <mitch@gimp.org>

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

	* plug-ins/common/Makefile.am
	* plug-ins/common/plugin-defs.pl
	* plug-ins/common/blur.c
	* plug-ins/common/randomize.c: removed all calls to gpc functions.

	* plug-ins/common/edge.c: applied standard ui stuff.
2000-01-11 17:41:07 +00:00
Michael Natterer 4782168955 plug-ins/common/Makefile.am plug-ins/common/hrz.c
2000-01-08  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/Makefile.am
	* plug-ins/common/hrz.c
	* plug-ins/common/papertile.c
	* plug-ins/common/pat.c
	* plug-ins/common/pixelize.c
	* plug-ins/common/plasma.c
	* plug-ins/common/plugindetails.c
	* plug-ins/common/png.c
	* plug-ins/common/pnm.c
	* plug-ins/common/polar.c
	* plug-ins/common/ps.c
	* plug-ins/common/psp.c
	* plug-ins/common/randomize.c
	* plug-ins/common/ripple.c
	* plug-ins/common/sample_colorize.c
	* plug-ins/common/scatter_hsv.c
	* plug-ins/common/screenshot.c
	* plug-ins/common/sel_gauss.c
	* plug-ins/common/sharpen.c
	* plug-ins/common/shift.c
	* plug-ins/common/smooth_palette.c
	* plug-ins/common/snoise.c
	* plug-ins/common/sobel.c
	* plug-ins/common/sparkle.c
	* plug-ins/common/spheredesigner.c
	* plug-ins/common/spread.c
	* plug-ins/common/sunras.c: more plugins which use the dialog
	constructor. Hacked many UIs to look like the app's dialogs.
2000-01-08 15:23:28 +00:00
SHIRASAKI Yasuhiro 6ad10d4df5 plug-ins/common/plugindetails.c plug-ins/common/pnm.c
* plug-ins/common/plugindetails.c
        * plug-ins/common/pnm.c
        * plug-ins/common/polar.c
        * plug-ins/common/psd.c
        * plug-ins/common/randomize.c
        * plug-ins/common/ripple.c
        * po-plug-ins/POTFILES.in: added gettext support.

        * modules/cdisplay_gamma.c
        * po/POTFILES.in: added gettext support.

-- yasuhiro
2000-01-03 13:01:51 +00:00
Sven Neumann 979bab8ddc added dots to all menu entries of interactive plug-ins and did the usual
action area fixes on lots of them



--Sven
1999-11-23 23:49:45 +00:00
CET 1999 Olof S Kylander 48c7eb05b0 plug-ins/AlienMap/AlienMap.c plug-ins/AlienMap2/AlienMap2.c
Sat Nov 20 19:52:30 CET 1999 Olof S Kylander <olof@gimp.org>

        * plug-ins/AlienMap/AlienMap.c
        * plug-ins/AlienMap2/AlienMap2.c
        * plug-ins/FractalExplorer/FractalExplorer.c
        * plug-ins/common/CML_explorer.c
        * plug-ins/common/checkerboard.c
        * plug-ins/common/diffraction.c
        * plug-ins/common/exchange.c
        * plug-ins/common/gqbist.c
        * plug-ins/common/gradmap.c
        * plug-ins/common/grid.c
        * plug-ins/common/lic.c
        * plug-ins/common/mapcolor.c
        * plug-ins/common/newsprint.c
        * plug-ins/common/plasma.c
        * plug-ins/common/randomize.c
        * plug-ins/common/sample_colorize.c
        * plug-ins/common/scatter_hsv.c
        * plug-ins/common/snoise.c
        * plug-ins/common/warp.c
        * plug-ins/flame/flame.c
        * plug-ins/ifscompose/ifscompose.c
        * plug-ins/maze/maze.c

        Updated menu location as suggested in the proposal from me
        with comments form others. (Mitch what about fixing the sub
        menu location so submenus allways is in top of a menu. Exception
        of Repeat last, Re-show last and Filter all Layers, which should
        be in top of the Filters menu.)
1999-11-20 18:55:54 +00:00
Marc Lehmann 88e0cc3155 api change #2, fix #1 1999-10-24 20:49:09 +00:00
Marc Lehmann ec40ac728b API PATCH #2 or so 1999-10-17 00:07:55 +00:00
Tor Lillqvist 0457d6914a New file.
* plug-ins/makefile.msc: New file.

	* plug-ins/*/*.c (Well, not really all files, but many):
 	Portability fixes. Include config.h, and guard inclusion of POSIX
 	and Unix headers like <unistd.h>, <dirent.h> and
 	<sys/time.h>. Include <string.h> if functions from it are
 	used. Use g_ntohl() and g_htonl() insteead of ntohl() and htonl(),
 	thus no need to include <netinet/in.h>. Include <io.h> on Win32
 	when using open/read/write (which actually are defined as
 	_open/_read/_write by glib.h). Define S_* macros if necessary on
 	Win32. Define rint() and M_PI if necessary (these definitions
 	should be factored out somewhere, no sense repeating them in lots
 	of files). Open files in binary mode when needed.

	* plug-ins/FractalExplorer/FractalExplorer.c: Use
 	g_malloc()/g_free(). Use g_strdup_printf().

  	* plug-ins/dbbrowser/dbbrowser.c: No need to include <X11/Xlib.h>.

	* plug-ins/destripe/destripe.c: Guard use of SIGBUS.

	* plug-ins/{flame/flame,hrz/hrz,pnm/pnm}.c: No need to check for
 	NULL returns from g_malloc() and g_new() as they abort on failure.
	Use g_strdup_printf().

	* plug-ins/gz/gz.c: Win32 version of running the subprocess.

	* plug-ins/hrz/hrz.c: Win32 version. Use more generic tests for
 	non-Unix (OS/2 and Win32), for instance HAVE_MMAP.

	* plug-ins/script-fu/interp_slib.c: Win32 version of myruntime().

	* plug-ins/script-fu/interp_sliba.c: Handle \\ (escaped backslahsh).

	* plug-ins/script-fu/script-fu-console.c: Bypass on Win32.

	* plug-ins/script-fu/script-fu-scripts.c: Portability fixes. Use
 	g_strdup_printf() instead of separate malloc() and sprintf(). Use
 	g_strescape() for strings being passed to Scheme. Some Win32-only
 	stuff.
1999-05-29 01:28:24 +00:00
Manish Singh fdb4b50f58 check for inline by ourselves if it's not defined in glibconfig.h. So
* configure.in: check for inline by ourselves if it's not
defined in glibconfig.h. So inline works if glib is compiled
with a different compiler than gimp. The plug-ins that use
inline #include "config.h" now (blur, destripe, emboss,
gfli, nlfilt, ps, randomize, sinus, and zealouscrop)

* app/main.c: applied gimp-kc-980707-0; fixes command line
parsing

* plug-ins/dbbrowser/dbbrowser_utils.c: searching by name does
- <-> _ translation

* Added filter pack plugin

-Yosh
1998-07-14 06:15:10 +00:00
Manish Singh ddc557c297 Updated blur, randomize, and exchange plugins (not sure if they should go
into stable, they break PDB interfaces)

-Yosh
1998-07-02 18:06:30 +00:00
Manish Singh 64c0c5eba0 Added gimp.m4. Prolly some warning fixes in plugins too.
-Yosh
1998-06-12 06:34:22 +00:00
Manish Singh 401690a4fe updated randomize and blur plugins, split out libgpc into it's own dir
-Yosh
1998-04-30 23:42:31 +00:00
Manish Singh 84abd5d700 Have fun recompiling gimp everyone. It's the great FSF address change!
-Yosh
1998-04-13 05:44:11 +00:00
Manish Singh 2f589a4efd configure saves CFLAGS properly
all plugins should parse gtkrc now

-Yosh
1998-03-16 06:33:58 +00:00
Manish Singh beddbcd626 Initial stable/unstable split done.
-Yosh
1998-02-20 10:41:20 +00:00
Manish Singh 3b229d42c0 Quickie plugin refcount cleanups. (not done yet)
Removed Julia and Mandelbrot plugins.

-Yosh
1998-02-19 01:25:08 +00:00
Manish Singh e51e490243 Applied Sven's menu patch
-Yosh
1998-01-25 02:18:54 +00:00
Manish Singh ab52da1735 Commit the junk in my tree before I go back to school:
* ltconfig
        * ltmain.sh: downgraded to libtool 1.0f at Jay's suggestion

        * app/gimage.c: Fix for the "merge to alpha" bug from Nathan
        Summers

        * app/text_tool.c: Fix for the font spec bug from Nathan
        Summers

        * plug-ins/maze/maze.c
        * plug-ins/rotate/rotate.c: updated from registry

        * plug-ins/blur/blur.c
        * plug-ins/randomize/randomize.c
        * plug-ins/vpropagate/vpropagate.c
        * plug-ins/warp/warp.c: more portability fixes for DEC OSF1

-Yosh
1998-01-14 05:44:12 +00:00
Adrian Likins 3d86014f32 updated a few plugins (randomize, gqbist, warp, fuse,gfig)
with there latest version

	removed gflare-tar.gz from plugins dir

	removed a Makefile and libtool script from gfig dir
1997-12-08 21:37:39 +00:00
Elliot Lee 32cefec8f7 Initial revision 1997-11-24 22:05:25 +00:00