Commit Graph

28 Commits

Author SHA1 Message Date
Michael Natterer 6002aaf5a8 EEK, broken pipe on last try. 2001-08-03 19:52:08 +00:00
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 0d533abbdd tools/pdbgen/lib.pl tools/pdbgen/pdb.pl tools/pdbgen/pdb/channel.pdb
2001-01-25  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/lib.pl
	* tools/pdbgen/pdb.pl
	* tools/pdbgen/pdb/channel.pdb
	* tools/pdbgen/pdb/palette.pdb
	* tools/pdbgen/pdb/tools.pdb: changed these with the help of
	Yosh. PDB functions take GimpRGB as color type now.

	* app/plug_in.c
	* app/pdb/channel_cmds.c
	* app/pdb/internal_procs.c
	* app/pdb/palette_cmds.c
	* app/pdb/procedural_db.[ch]
	* app/pdb/tools_cmds.c
	* libgimp/gimp.[ch]
	* libgimp/gimpchannel.[ch]
	* libgimp/gimpchannel_pdb.[ch]
	* libgimp/gimppalette_pdb.[ch]
	* libgimp/gimpprotocol.[ch]
	* libgimp/gimptools_pdb.[ch]: incremented Gimp protocol version
	and changed color type from array of chars to GimpRGB.

	* libgimp/Makefile.am
	* libgimp/gimppalette.[ch]: removed these files again

	* app/libgimp_glue.[ch]
	* libgimpwidgets/gimpcolorbutton.c
	* plug-ins/Lighting/lighting_main.c
	* plug-ins/Lighting/lighting_preview.c
	* plug-ins/MapObject/mapobject_image.c
	* plug-ins/MapObject/mapobject_main.c
	* plug-ins/MapObject/mapobject_preview.c
	* plug-ins/common/apply_lens.c
	* plug-ins/common/blinds.c
	* plug-ins/common/borderaverage.c
	* plug-ins/common/checkerboard.c
	* plug-ins/common/colorify.c
	* plug-ins/common/colortoalpha.c
	* plug-ins/common/cubism.c
	* plug-ins/common/exchange.c
	* plug-ins/common/film.c
	* plug-ins/common/gif.c
	* plug-ins/common/grid.c
	* plug-ins/common/mapcolor.c
	* plug-ins/common/mblur.c
	* plug-ins/common/nova.c
	* plug-ins/common/papertile.c
	* plug-ins/common/png.c
	* plug-ins/common/polar.c
	* plug-ins/common/psd.c
	* plug-ins/common/semiflatten.c
	* plug-ins/common/sinus.c
	* plug-ins/common/sparkle.c
	* plug-ins/common/tiff.c
	* plug-ins/common/vpropagate.c
	* plug-ins/common/warp.c
	* plug-ins/common/whirlpinch.c
	* plug-ins/gap/gap_filter_iterators.c
	* plug-ins/gap/gap_mov_dialog.c
	* plug-ins/gdyntext/gdyntext.c
	* plug-ins/gfig/gfig.c
	* plug-ins/gfli/gfli.c
	* plug-ins/ifscompose/ifscompose.c
	* plug-ins/maze/handy.c
	* plug-ins/mosaic/mosaic.c
	* plug-ins/pagecurl/pagecurl.c
	* plug-ins/script-fu/script-fu-scripts.c
	* plug-ins/script-fu/script-fu.c
	* plug-ins/xjt/xjt.c: changed accordingly. A few plug-ins need
	to be looked at more closely after this change. I tried to put
	FIXME comments into those.
2001-01-25 01:20:05 +00:00
Sven Neumann 77718ca7f5 added function gimp_rgb_intensity_uchar()
2001-01-15  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpcolor.[ch]: added function gimp_rgb_intensity_uchar()

	* libgimp/gimpcolorbutton.c
	* plug-ins/common/apply_lens.c
	* plug-ins/common/blinds.c
	* plug-ins/common/borderaverage.c
	* plug-ins/common/checkerboard.c
	* plug-ins/common/cubism.c
	* plug-ins/common/gif.c
	* plug-ins/common/grid.c
	* plug-ins/common/mblur.c
	* plug-ins/common/papertile.c
	* plug-ins/common/png.c
	* plug-ins/common/polar.c
	* plug-ins/common/semiflatten.c
	* plug-ins/common/sparkle.c
	* plug-ins/common/vpropagate.c
	* plug-ins/common/warp.c
	* plug-ins/common/whirlpinch.c
	* plug-ins/gap/gap_mov_dialog.c
	* plug-ins/gdyntext/gdyntext.c
	* plug-ins/gfig/gfig.c
	* plug-ins/ifscompose/ifscompose.c
	* plug-ins/maze/handy.c
	* plug-ins/mosaic/mosaic.c
	* plug-ins/pagecurl/pagecurl.c: replaced all occurences of
	gimp_palette_[get|set]_[back|fore]ground() with the respective
	gimp_palette_[get|set]_[back|fore]ground_rgb() functions.
2001-01-15 00:06:43 +00:00
Michael Natterer b9413eb038 added -DGTK_DISABLE_COMPAT_H to CPPFLAGS.
2000-08-28  Michael Natterer  <mitch@gimp.org>

	* configure.in: added -DGTK_DISABLE_COMPAT_H to CPPFLAGS.

	* app/app_procs.c
	* app/gdisplay.c
	* app/layers_dialog.c
	* app/menus.c
	* app/tips_dialog.c
	* libgimp/gimpcolorbutton.c
	* plug-ins/FractalExplorer/Dialogs.c
	* plug-ins/FractalExplorer/FractalExplorer.c
	* plug-ins/bmp/bmpwrite.c
	* plug-ins/common/AlienMap.c
	* plug-ins/common/AlienMap2.c
	* plug-ins/common/CML_explorer.c
	* plug-ins/common/animationplay.c
	* plug-ins/common/cubism.c
	* plug-ins/common/curve_bend.c
	* plug-ins/common/deinterlace.c
	* plug-ins/common/gee.c
	* plug-ins/common/glasstile.c
	* plug-ins/common/iwarp.c
	* plug-ins/common/mail.c
	* plug-ins/common/pat.c
	* plug-ins/common/pixelize.c
	* plug-ins/common/plugindetails.c
	* plug-ins/common/png.c
	* plug-ins/common/sample_colorize.c
	* plug-ins/common/sel_gauss.c
	* plug-ins/common/sinus.c
	* plug-ins/common/sparkle.c
	* plug-ins/common/spheredesigner.c
	* plug-ins/common/tga.c
	* plug-ins/common/tileit.c
	* plug-ins/common/vpropagate.c
	* plug-ins/common/warp.c
	* plug-ins/common/waves.c
	* plug-ins/common/wmf.c
	* plug-ins/flame/flame.c
	* plug-ins/fp/fp_gtk.c
	* plug-ins/gap/gap_arr_dialog.c
	* plug-ins/gap/gap_dbbrowser_utils.c
	* plug-ins/gap/gap_mov_dialog.c
	* plug-ins/gap/gap_navigator_dialog.c
	* plug-ins/gap/gap_resi_dialog.c
	* plug-ins/gdyntext/gdyntext_ui.c
	* plug-ins/gfig/gfig.c
	* plug-ins/gimpressionist/brush.c
	* plug-ins/gimpressionist/gimpressionist.c
	* plug-ins/pagecurl/pagecurl.c
	* plug-ins/print/gimp_main_window.c
	* plug-ins/rcm/rcm_callback.c
	* plug-ins/rcm/rcm_dialog.c
	* plug-ins/script-fu/script-fu-console.c
	* plug-ins/script-fu/script-fu-scripts.c
	* plug-ins/script-fu/script-fu-server.c
	* plug-ins/sel2path/sel2path_adv_dialog.c
	* plug-ins/xjt/xjt.c: removed COMPAT_CRUFT.
2000-08-28 00:42:32 +00:00
Sven Neumann d4cdc5ccf3 plug-ins/helpbrowser/helpbrowser.c plug-ins/ifscompose/ifscompose.c
2000-08-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/helpbrowser/helpbrowser.c
	* plug-ins/ifscompose/ifscompose.c
	* plug-ins/imagemap/imap_main.c
	* plug-ins/imagemap/imap_preview.[ch]
	* plug-ins/maze/handy.c
	* plug-ins/maze/maze.c
	* plug-ins/maze/maze_face.c
	* plug-ins/mosaic/mosaic.c
	* plug-ins/pagecurl/pagecurl.c: removed COMPAT_CRUFT
2000-08-23 10:23:19 +00:00
Sven Neumann 261e3c6801 added g_strcompress from glib-1.3
2000-08-01  Sven Neumann  <sven@gimp.org>

* libgimp/gimputils.[ch]: added g_strcompress from glib-1.3

* plug-ins/gdyntext/gdyntextutil.[ch]: removed since it duplicated
gimp_strescape and the newly added gimp_strcompress.

* plug-ins/gdyntext/Makefile.am
* plug-ins/gdyntext/gdyntext.[ch]
* plug-ins/gdyntext/gdyntext_ui.c
* plug-ins/gdyntext/gdyntextcompat.c: use the new functions and
got rid of some gimp_run_procedure calls since we now have proper
wrappers in libgimp.

* plug-ins/common/autocrop.c
* plug-ins/common/gif.c
* plug-ins/common/gifload.c
* plug-ins/common/guillotine.c
* plug-ins/common/mail.c
* plug-ins/common/screenshot.c
* plug-ins/common/tile.c
* plug-ins/common/zealouscrop.c
* plug-ins/gflare/gflare.c
* plug-ins/gimpressionist/gimpressionist.c
* plug-ins/pagecurl/pagecurl.c
* plug-ins/script-fu/script-fu-scripts.c
* plug-ins/script-fu/script-fu.c: replaced gimp_run_procedure
calls with functions from libgimp that wrap the PDB calls.

Sorry, all this is untested but I will leave tomorrow and hope to
get some hacking done at Mitch's place. So I wanted that stuff to
be in CVS. There are good chances that it works...
2000-08-01 00:38:38 +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 ef751a454d gimprc.in replaced "color-cube" by "min-colors".
2000-04-30  Michael Natterer  <mitch@gimp.org>

	* gimprc.in
	* app/gimprc.[ch]: replaced "color-cube" by "min-colors".

	* app/app_procs.c: read unitrc/gimprc before displaying the splash.

	* app/colormaps.c: set min_colors and install_cmap before
	initializing GdkRGB.

	* app/gimprc.[ch]
	* app/gimpunit.c: don't call the splash's progress_update function.

	* app/plug_in.c: pass min_colors instead of color_cube to plugins.

	* app/preferences_dialog.c: widget for min_colors.

	* libgimp/gimp.[ch]: s/color_cube/min_colors/ but left
	gimp_color_cube() there for source level compatibility.

	* libgimp/gimpprotocol.[ch]: changed the GPConfig message
	accordinly and increased the gimp protocol version number because
	the change breaks binary compatibility. Also actually pass the
	use_xshm variable over the wire (was only in the GPConfig struct
	before).

	Was it the right thing to do to increase the version number??

	* libgimp/gimpui.c (gimp_ui_init): use the same code as the app
	for initializing GdkRGB. Never explicitly activate Gdk's SHM
	usage (only switch it off).

	* app/main.c
	* libgimp/gimp.c: reverted the handling of all signals except
	SIGCHLD back to plain old signal() because those signals are
	fatal anyway and sigaction() as used by gimp_signal_*() made
	debugging (stacktrace) impossible.

	* plug-ins/AlienMap/AlienMap.c
	* plug-ins/AlienMap2/AlienMap2.c
	* plug-ins/FractalExplorer/Dialogs.c
	* plug-ins/bmp/bmp.c
	* plug-ins/borderaverage/borderaverage.c
	* plug-ins/dbbrowser/dbbrowser.c
	* plug-ins/faxg3/faxg3.c
	* plug-ins/fits/fits.c
	* plug-ins/flame/flame.c
	* plug-ins/fp/fp.c
	* plug-ins/fp/fp_gtk.c
	* plug-ins/gdyntext/Makefile.am
	* plug-ins/gdyntext/gdyntext_ui.c
	* plug-ins/gfig/gfig.c
	* plug-ins/gflare/gflare.c
	* plug-ins/gfli/gfli.c
	* plug-ins/gimpressionist/gimpressionist.c
	* plug-ins/helpbrowser/helpbrowser.c
	* plug-ins/ifscompose/ifscompose.c
	* plug-ins/imagemap/Makefile.am
	* plug-ins/imagemap/imap_main.c
	* plug-ins/maze/maze_face.c
	* plug-ins/mosaic/mosaic.c
	* plug-ins/pagecurl/pagecurl.c
	* plug-ins/print/print.c
	* plug-ins/rcm/rcm_dialog.c
	* plug-ins/script-fu/script-fu-console.c
	* plug-ins/script-fu/script-fu-scripts.c
	* plug-ins/script-fu/script-fu-server.c
	* plug-ins/sel2path/Makefile.am
	* plug-ins/sel2path/sel2path.c
	* plug-ins/sgi/sgi.c
	* plug-ins/sinus/sinus.c
	* plug-ins/struc/struc.c
	* plug-ins/webbrowser/webbrowser.c
	* plug-ins/winsnap/winsnap.c
	* plug-ins/xjt/xjt.c: use gimp_ui_init().

	* plug-ins/Lighting/lighting_ui.c
	* plug-ins/MapObject/mapobject_ui.c: only switch Gdk SHM usage off,
	never on. Don't use gimp_ui_init() here because of libgck.
2000-04-30 18:17:55 +00:00
Sven Neumann 2ad8b65d9e applied (and hacked) gimp-kevint-000411-0 which should fix bug #8568
a few small changes to message strings and updates to the german translation


--Sven
2000-04-12 14:20:46 +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
Sven Neumann 76e79ec311 minor nitpick
--Sven
2000-02-17 10:03:53 +00:00
Sven Neumann 07cd86c451 use color_conversion routines out of libgimp
--Sven
2000-01-30 23:56:04 +00:00
Michael Natterer 834e31a7ec a little ui eye candy...
2000-01-27  Michael Natterer  <mitch@gimp.org>

	* plug-ins/pagecurl/pagecurl.c: a little ui eye candy...
2000-01-27 00:16:52 +00:00
Shirasaki Yasuhiro 72ae425bfc plug-ins/common/waves.c plug-ins/common/whirlpinch.c
2000-01-16  Shirasaki Yasuhiro  <yasuhiro@gnome.gr.jp>

	* plug-ins/common/waves.c
	* plug-ins/common/whirlpinch.c
	* plug-ins/common/wind.c
	* plug-ins/common/wmf.c
	* plug-ins/pagecurl/pagecurl.c
	* plug-ins/pagecurl/Makefile.am
	* po-plug-ins/POTFILES.in: added gettext support.

-- yasuhiro
2000-01-15 17:22:19 +00:00
Michael Natterer e88e3e4454 s/gtk_container_border_width/gtk_container_set_border_width/
2000-01-14  Michael Natterer  <mitch@gimp.org>

	* app/info_window.c:
	s/gtk_container_border_width/gtk_container_set_border_width/

	* plug-ins/common/engrave.c
	* plug-ins/common/noisify.c
	* plug-ins/common/oilify.c
	* plug-ins/common/polar.c
	* plug-ins/common/whirlpinch.c
	* plug-ins/ifscompose/Makefile.am
	* plug-ins/ifscompose/ifscompose.c
	* plug-ins/maze/Makefile.am
	* plug-ins/maze/maze_face.c
	* plug-ins/pagecurl/Makefile.am
	* plug-ins/pagecurl/pagecurl.c
	* plug-ins/struc/Makefile.am
	* plug-ins/struc/struc.c: more spinbuttons instead of entries,
	dialog layout, stuff...
2000-01-14 17:06:35 +00:00
Sven Neumann aa79cb37f1 worked on the dialog layout
* plug-ins/flame/flame.c: worked on the dialog layout

* plug-ins/pagecurl/pagecurl.c: register with the correct image type


--Sven
1999-12-27 14:14:53 +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
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 6ef23d984f app/appenv.h New file. Includes <math.h>. Move G_PI, RINT(), ROUND() etc
1999-09-01  Tor Lillqvist  <tml@iki.fi>

* app/appenv.h
* libgimp/gimpmath.h: New file. Includes <math.h>. Move G_PI,
RINT(), ROUND() etc from app/appenv.h here, so plug-ins can
use them, too. Remove some commented-out old stuff in appenv.h.

* libgimp/gimp.h: Include gimpmath.h.

* libgimp/gimp.c (gimp_main): Win32: Don't install signal
handlers, we can't do anything useful in the handler ourselves
anyway (it would be nice to print out a backtrace, but that seems
pretty hard to do, even if not impossible). Let Windows inform the
user about the crash. If the plug-in was compiled with MSVC, and
the user also has it, she is offered a chance to start the
debugger automatically anyway.

* app/*several*.c: Include gimpmath.h for G_PI etc. Don't include
<math.h>, as gimpmath.h includes it.

* plug-ins/*/*many*.c: Include config.h. Don't include <math.h>.
Remove all the duplicated definitions of G_PI and rint(). Use
RINT() instead of rint().

* app/app_procs.[ch]: app_exit() takes a gboolean.

* app/batch.c
* app/commands.c
* app/interface.c: Call app_exit() with FALSE or TRUE.

* app/main.c (on_error): Call gimp_fatal_error. (main): Don't
install any signal handler on Win32 here, either.

* app/errors.c (gimp_fatal_error, gimp_terminate): Win32: Format
the message and call MessageBox with it.  g_on_error_query doesn't
do anything useful on Win32, and printf'ing a message to stdout or
stderr doesn't do anything, either, in a windowing application.
1999-09-01 20:30:56 +00:00
Federico Mena Quintero 10bc5237a7 Updated gtk_toggle_button_set_state() to gtk_toggle_button_set_active() in
1999-01-15  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* Updated gtk_toggle_button_set_state() to
	gtk_toggle_button_set_active() in all the files.
1999-01-15 17:35:04 +00:00
Manish Singh c5ac15e0a9 add declaration to get interface.c to compile
* app/disp_callbacks.h: add declaration to get interface.c to compile

* autogen.sh: make sure we know about ACLOCAL_FLAGS

* I went on a compiler warning pogrom

-Yosh
1998-06-09 11:41:13 +00:00
Sven Neumann 4d12855242 Added a popup menu to the upper left corner of the image window.
Updated pagecurl plug-in.


--Sven
1998-06-09 09:20:46 +00:00
Sven Neumann cadc2734f4 applied gimp-quinet-980414-0; adds new tips applied gimp-quinet-980414-1;
* gimp_tips.txt: applied gimp-quinet-980414-0; adds new tips
        * plug-ins/pagecurl/pagecurl.c: applied gimp-quinet-980414-1;
        defines M_PI
        * app/app_procs.c: applied gimp-quinet-980414-2; adds more
        information to the startup screen
        * app/gradient.c: applied gradient-041398-seth; fixes the
        behavior that the gradient editor would become insensitive
        forever if the color selection dialog were close
        * app/regex.c
        * plugins/script-fu/regex.c: partially applied
        gimp-jbuhler-980412-0; adds braces to nested if/else


--Sven
1998-04-14 19:24:23 +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 0ed0191962 fixed up idle handler for file open (look like testgtk idle demo)
* app/app_procs.c: fixed up idle handler for file open (look like testgtk
idle demo)

* app/colomaps.c: fixup for visual test and use of gdk_color_alloc for some
fixed colors (from Owen Taylor)

* app/errors.h
* app/errors.c
* app/main.c
* libgimp/gimp.c: redid the signal handlers so we only get a debug prompt on
SIGSEGV, SIGBUS, and SIGFPE.

* applied gimp-jbuhler-980408-0 and gimp-joke-980409-0 (warning fixups)

* applied gimp-monnaux-980409-0 for configurable plugin path for multiarch
setups

-Yosh
1998-04-11 05:07:52 +00:00
Manish Singh 3a17d16dbe fixup for script-fu in batch mode from Christian Maegaard <cc@chaos.dk>
* app/batch.c: fixup for script-fu in batch mode from Christian Maegaard
<cc@chaos.dk>

* added pagecurl plug-in

-Yosh
1998-04-08 07:07:26 +00:00