Commit Graph

688 Commits

Author SHA1 Message Date
BST 2000 Andy Thomas 84ae55cb0e plug-ins/common/noisify.c
Fri May 26 22:21:57 BST 2000 Andy Thomas <alt@gimp.org>

	* plug-ins/common/noisify.c

	Changes to the preview so it previews with alpha better..
2000-05-26 21:23:03 +00:00
BST 2000 Andy Thomas 296872b66b plug-ins/common/glasstile.c
Fri May 26 00:08:26 BST 2000 Andy Thomas <alt@gimp.org>

	* plug-ins/common/glasstile.c

	More changes to the preview so it actually does preview.
	Changed plugin so alpha channel is also tiled. This
	seems to produce better results. Any comments?

	Fixed some some boundary conditions bugs
	that caused "streaks" to appear when using some tile spaces.
2000-05-25 23:28:20 +00:00
BST 2000 Andy Thomas 159f50693a plug-ins/common/wind.c
Thu May 25 00:18:20 BST 2000 Andy Thomas <alt@gimp.org>

	* plug-ins/common/wind.c

	Ok. OK. The direction stuff works with transparent areas as well.
2000-05-24 23:20:42 +00:00
BST 2000 Andy Thomas 161846c8f8 plug-ins/common/wind.c
Wed May 24 23:53:04 BST 2000 Andy Thomas <alt@gimp.org>

	* plug-ins/common/wind.c

	The preview works now as it should (ie what you see in the preview
	is what you get when the plugin gets applied).
	Also changed so that the plugin takes note of the alpha channel
	if one exists.

	To see the changes try the plugin on an image that is mainly
	transparent....

	Note some of the other plugins that have recently had previews
        added also suffer from the problem that the preview
        is not correct if the image contains transparent areas (e.g. noisify).
2000-05-24 23:01:48 +00:00
Sven Neumann dddbf2827b the never-ending previews story...
--Sven
2000-05-24 14:35:25 +00:00
Sven Neumann 93eb30f60a I am stupid. Dropping the 4-byte alignment caused the
buffer's rowstride to become different from the
GtkPreview's one. Fixed it by using preview->rowstride
in all cases.


--Sven
2000-05-23 18:52:14 +00:00
Sven Neumann f7a9520579 applied modified version of gimp-timecop-200005-12.plasma which adds a
2000-05-23  Sven Neumann  <sven@gimp.org>

* plug-ins/common/plasma.c: applied modified version of
  gimp-timecop-200005-12.plasma which adds a preview to the
  plasma plug-in.

* plug-ins/common/wind.c: applied modified version of
  gimp-timecop-200005-14.wind which adds a preview to the
  wind plug-in.


--Sven
2000-05-23 16:04:02 +00:00
Sven Neumann ffa15c468d plug-ins/common/flarefx.c a more elegant way to update the preview when
2000-05-23  Sven Neumann  <sven@gimp.org>

* plug-ins/common/flarefx.c
* plug-ins/common/glasstile.c: a more elegant way to update
  the preview when parameters change.

* plug-ins/common/grid.c: if a selection is active, show the
  selected area in the preview.

* plug-ins/common/illusion.c: applied modified version of
  gimp-timecop-200005-7.illusion which adds a preview to the
  illusion plug-in.

* plug-ins/common/jigsaw.c: applied modified version of
  gimp-timecop-200005-8.jigsaw which adds a preview to the
  jigsaw plug-in.

* plug-ins/common/max_rgb.c: applied modified version of
  gimp-timecop-200005-9.max_rgb which adds a preview to the
  max_rgb plug-in.

* plug-ins/common/noisify.c: applied modified version of
  gimp-timecop-200005-10.noisify which adds a preview to the
  noisify plug-in.

* plug-ins/common/nova.c: applied modified version of
  gimp-timecop-200005-11.nova which adds a preview to the
  nova plug-in.
2000-05-23 13:00:40 +00:00
Sven Neumann 9667b85edf plug-ins/common/flarefx.c plug-ins/common/glasstile.c ditched the 4-byte
2000-05-23  Sven Neumann  <sven@gimp.org>

* plug-ins/common/flarefx.c
* plug-ins/common/glasstile.c
* plug-ins/common/grid.c: ditched the 4-byte alignment of the
  preview_data since it was only causing trouble. Now the previews
  work even for the ugly cases like width|height == 1.
2000-05-23 01:03:06 +00:00
Sven Neumann 49ca711775 fixed a bug in the new preview code and some other small changes
2000-05-22  Sven Neumann  <sven@gimp.org>

* plug-ins/common/flarefx.c: fixed a bug in the new
  preview code and some other small changes

* plug-ins/common/glasstile.c: applied modified version
  of gimp-timecop-200005-5.glasstile which adds a preview
  to the glasstile plug-in.

  While I was on it, I fixed a bug that caused glasstile
  to crash when invoked on a small selection.
2000-05-22 19:40:06 +00:00
Sven Neumann 95500f2d40 moved Magnify into the Transformation tools category. This is not entirely
2000-05-22  Sven Neumann  <sven@gimp.org>

* app/tools.c: moved Magnify into the Transformation tools
category. This is not entirely correct, but at least the
tools are now grouped as they appear in the toolbox.

* plug-ins/common/flarefx.c: applied modified version of
gimp-timecop-200005-4.flarefx which adds a scaled down
flarefx to tthe preview.


--Sven
2000-05-22 17:39:15 +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
Sven Neumann c86b866739 applied a heavily modified version of gimp-timecop-200005-6.grid
which adds a preview to the grid plug-in.


--Sven
2000-05-22 13:53:43 +00:00
Sven Neumann f3018bfae7 Fixed possible divide by zero spotted by Scott Heavner.
Closes bug #11731.


--Sven
2000-05-22 11:35:28 +00:00
Sven Neumann 0b4a743a25 reset progress to 0.0 when finished
--Sven
2000-05-20 09:49:13 +00:00
Tor Lillqvist 9e7a8e79d7 Byteswap return value. Thanks to Raphael Quinet for finding this.
2000-05-18  Tor Lillqvist  <tml@iki.fi>

* plug-ins/common/psp.c (read_block_header): Byteswap return
value. Thanks to Raphael Quinet for finding this.
2000-05-18 20:42:02 +00:00
Tor Lillqvist 736929626d Fix typo introduced when gimp_spin_button_new() was taken into use. Now
2000-05-14  Tor Lillqvist  <tml@iki.fi>

* plug-ins/common/gpb.c (gih_save_dialog): Fix typo introduced
when gimp_spin_button_new() was taken into use. Now you can adjust
the cell height again.
2000-05-14 19:56:04 +00:00
Nick Lamb /GIMP 64a96a8aac Few minor things for TIFF and BMP. 2000-05-12 06:53:15 +00:00
Nick Lamb /GIMP 84ec7a802e Added RGB and Gray tRNS support for Steven Grady 2000-05-09 01:46:13 +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 7ea5afb49c use gimp_ui_init(). Minor cleanups like reordering includes consistently
2000-05-01  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/[h-p]*.c: use gimp_ui_init(). Minor cleanups like
	reordering includes consistently and removing trailing commas from
	enums and param defs.
2000-05-01 17:01:18 +00:00
Manish Singh 670782568c configure.in moved from it's own directory to common
* configure.in
* plug-ins/common/borderaverage.c: moved from it's own directory to common

-Yosh
2000-04-30 21:49:20 +00:00
Michael Natterer 2ad84fff2a use gimp_ui_init(). Minor cleanups like reordering includes consistently
2000-04-30  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/[a-g]*.c: use gimp_ui_init(). Minor cleanups like
	reordering includes consistently and removing trailing commas from
	enums and param defs.
2000-04-30 21:03:44 +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
Nick Lamb /GIMP d30b81dcfa Better 0.88 -- 1.0.6 compatibility patch 2000-04-25 21:57:46 +00:00
Manish Singh 84c7ea0507 fix Nick's embarassing bug found by tigert
-Yosh
2000-04-25 10:53:51 +00:00
Nick Lamb /GIMP 07269dca52 PNG - Workaround for ABI bustage discovered in libpng 1.0.6, try not to
hurt users potentially still stuck with 0.88 or 0.89
2000-04-25 03:57:03 +00:00
Manish Singh b3496287b4 gimpsignal.[ch] needs to go into libgimp, since it is used in gimp.c
* libgimp/Makefile.am: gimpsignal.[ch] needs to go into libgimp,
since it is used in gimp.c

* libgimp/gimpsignal.c: use g_error instead of gimp_fatal_error

* plug-ins/common/png.c: typo fix for Nick's previous commit

-Yosh
2000-04-21 18:37:25 +00:00
Nick Lamb /GIMP 60abc739ea PNG Fixed for Sven and Felix, but loads partial or damaged images too.
No more warnings either.
2000-04-21 18:14:48 +00:00
Nick Lamb /GIMP f60992f5c7 Revert Sven's changes 2000-04-21 01:38:36 +00:00
Sven Neumann c148ec9040 applied patch provided by KANDA Toshihiro <candy@ops.dti.ne.jp>.
Should fix bug #7329.


--Sven
2000-04-20 19:37:39 +00:00
Sven Neumann 91b78678b0 correctly initialize the bumpmap offsets
* plug-ins/common/bumpmap.c: correctly initialize the bumpmap
  offsets

* plug-ins/common/png.c: (load_image) if the PNG cannot be loaded,
  return -1 instead of some uninitialized integer


--Sven
2000-04-20 19:00:40 +00:00
jtl 91d956d412 *** empty log message *** 2000-04-20 15:31:56 +00:00
Nick Lamb /GIMP 1a910b3bb2 TIFF plug-in LZW patent stuff (add JPEG, DEFLATE, deprecate LZW) 2000-04-20 04:38:31 +00:00
Sven Neumann 4e875998e1 i18n fix
--Sven
2000-04-19 13:24:11 +00:00
jtl 7f5fbf42ff *** empty log message *** 2000-04-15 22:40:05 +00:00
Nick Lamb /GIMP 2c76f50834 Purple isn't a good BG color, code clean-up/ compiler gagging 2000-04-14 15:21:14 +00:00
Sven Neumann 28757ba176 applied gimp-kevint-000413-0 and gimp-mattias-000414-0
--Sven
2000-04-14 08:59:52 +00:00
Nick Lamb /GIMP 092c854615 Save 1-bit, 2-bit and 4-bit PNG if appropriate 2000-04-13 04:48:56 +00:00
Sven Neumann 9a55c77635 use GIMP_HAVE_PARASITES instead of _PARASITES_H, which wasn't defined
* plug-ins/common/gif.c: use GIMP_HAVE_PARASITES instead of
_PARASITES_H, which wasn't defined anymore. Makes comment
parasites work with GIFs again.

* app/measure.c: pressing ALT anywhere outside the handles allows
to move the measure lines.


--Sven
2000-04-12 21:21:36 +00:00
Sven Neumann d45089bca0 applied a patch from Peter Kirchgessner <peter@kirchgessner.net>
--Sven
2000-04-05 10:26:08 +00:00
Nick Lamb /GIMP eaa2478390 Don't claim that PAT plug-in exports ALPHA or is suitable for RGB*, GREY*
the results are not useful if you try.
2000-04-05 03:02:00 +00:00
Sven Neumann 018da66275 tiny nit-picky changes to some plugins and a lot of changes in the
german translation. Hopefully the translation is now good enough
that it won't ihave to change much anymore, since the new
"Gimp kurz und gut" reference for 1.2 will go into print soon...


--Sven
2000-04-02 22:30:28 +00:00
Nick Lamb /GIMP fcc613c794 PNG Brown paper bag version, 1.2.1 -- that'll teach me to hurry
the testing process. This should fix it all image types.
2000-04-02 22:04:15 +00:00
jaycox 8addb7ef09 Added a missing break statement so that the compression argument in calls
* plug-ins/common/tiff.c: Added a missing break statement so that
	the compression argument in calls to file_tiff_save is honored.
2000-04-02 10:27:23 +00:00
Nick Lamb /GIMP 7468c59843 The Gimp now does as good a job of saving indexed+a PNGs as it does
of displaying them. Did I mention that INDEXED + A sucks?
2000-04-02 02:46:59 +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
BST 2000 Adam D. Moss be11b01570 Mildly more useful comments/messages concerning frame disposals.
Fri Mar 31 14:10:02 BST 2000 Adam D. Moss <adam@gimp.org>

        * plug-ins/common/gifload.c: Mildly more useful
        comments/messages concerning frame disposals.
2000-03-31 13:26:55 +00:00
Kelly Lynn Martin 3b17ab0193 integers are not doubles!
2000-03-28  Kelly Lynn Martin  <kelly@poverty.bloomington.in.us>

	* plug-ins/common/warp.c (warp_dialog): integers are not doubles!
2000-03-28 15:47:37 +00:00
SHIRASAKI Yasuhiro dec91421e2 INIT_I18N_UI() instead of INIT_I18N() for save dialog.
* plug-ins/common/xpm.c: INIT_I18N_UI() instead of INIT_I18N()
        for save dialog.

-- yasuhiro
2000-03-27 03:28:29 +00:00
Sven Neumann 73e2967251 applied patches from Simon Budig that fix bugs #2358 and #6224
--Sven
2000-03-26 10:38:20 +00:00
Stanislav Brabec 2481607268 patches from Martin Weber and Peter Kirchgessner 2000-03-25 22:19:17 +00:00
Sven Neumann 3a24f6d9b0 fixed bug 7744 and cleaned up libgimp
--Sven
2000-03-25 18:49:05 +00:00
Michael Natterer de5268781e Makefile.am added removed
2000-03-24  Michael Natterer  <mitch@gimp.org>

	* Makefile.am
	* gimp1_0_splash.ppm: added
	* gimp1_1_splash.ppm: removed

	* gimp_splash.ppm: the image formerly known as gimp1_1_splash.ppm

	* app/app_procs.c: load gimp_splash.ppm

	The idea if shearing the data_dir between Gimp versions has
	vanished, so this seems like the right thing to do (TM).

	Keep the 1.0 splash around for sentimental reasons but don't
	install it anymore.

	* plug-ins/common/autocrop.c: indentation paranoia.
2000-03-24 21:57:32 +00:00
Sven Neumann 0309fec9f1 applied gimp-kirchgessner-000320-0
--Sven
2000-03-24 16:21:35 +00:00
Seth Burgess bcd9899101 Added alpha support to Color To Alpha (allows repeated use) 2000-03-19 01:47:15 +00:00
SHIRASAKI Yasuhiro cfb02e85d7 added missing comma for gimp_register_magic_load_handler() arguments.
* plug-ins/common/mpeg.c: added missing comma for
        gimp_register_magic_load_handler() arguments.

-- yasuhiro
2000-03-11 15:00:13 +00:00
Sven Neumann 24bbdbef07 applied a bunch of patches:
Simon Budigs patch sent to the list Sun, 20 Feb 2000
gimp-kirchgessner-000217-0
gimp-cosmin-20000212
gimp-mattias-000227-0


--Sven
2000-03-10 17:27:25 +00:00
Stanislav Brabec 8c92f4b466 Typo fixes. 2000-03-09 13:12:12 +00:00
Sven Neumann 68b8ef2bbb various minor i18n fixes and a patch from Wolfgang Hofer
--Sven
2000-03-08 13:53:54 +00:00
GMT 2000 Adam D. Moss 1d0f24149b Type of written array should be unsigned, as that's the type of data we're
Wed Mar  8 12:40:53 GMT 2000  Adam D. Moss <adam@gimp.org>

        * plug-ins/common/xbm.c: Type of written array should
        be unsigned, as that's the type of data we're initializing
        it with.  Cast back to signed for passing to XCreateBitmapFromData()
        etc.
2000-03-08 12:51:00 +00:00
SHIRASAKI Yasuhiro bb694f9ce9 added missing $(MAILER) to CPPFLAGS for mail plugin.
* plug-ins/common/Makefile.am: added missing $(MAILER)
        to CPPFLAGS for mail plugin.

-- yasuhiro
2000-03-07 04:21:51 +00:00
Sven Neumann 6a94f77b56 a whole bunch of i18n
--Sven
2000-03-06 09:39:41 +00:00
Michael Natterer 21e95fdf43 Makefile.am cursors/selection_move.xbm cursors/selection_move_mask.xbm new
2000-03-04  Michael Natterer  <mitch@gimp.org>

	* Makefile.am
	* cursors/selection_move.xbm
	* cursors/selection_move_mask.xbm
	* app/cursorutil.[ch]: new cursor for moving the selection
	mask. Looks imho nicer than the ugly GDK_DIAMOND_CROSS.

	* app/move.c
	* app/rect_select.c: use the new cursor.

	* app/paint_core.c: check for the statusbar's context_id in the
	cursor_update function. Fixes gdk_criticals with the line preview
	(which doesn't need a mouse click). Minor cleanups.

	* app/tool_options.c: put the paint_pressure options in a
	GtkHWrapBox instead of a GtkHBox. Makes the size of the dialog a
	bit less locale-dependent.

	* plug-ins/common/xbm.c: use accessor functions instead of using
	the parasite's fields directly.
2000-03-05 00:06:11 +00:00
Michael Natterer 83bb5a38b8 s/"Only"/"only"/
2000-03-03  Michael Natterer  <mitch@gimp.org>

	* app/crop.c: s/"Only"/"only"/

	* app/iscissors.c: one more cursor_update fix. This time I don't
	claim that it's _really_ correct.

	* app/tool_options.c: don't add a separator after
	opacity/paint_mode if a paint pressure options box follows.

	* cursors/bad.xbm
	* cursors/bad_mask.xbm: made it FAT (no need to use thin lines
	which show as much as possible of the image below because the
	cursor indicates that no operation is possible).

	* libgimp/gimpprotocol.[ch]: s/int/gboolean/ where appopriate,
	indentation paranoia.

	_gp_*_read(): free the already allocated parts of the message if
	reading a subsequent part fails. These cleanups will probably occur
	shortly before the process crashes, but at least they make the
	search for real leaks easier.

	* plug-ins/common/uniteditor.c: some more tooltips.

	* plug-ins/common/xbm.c: store the image comment in the
	"gimp-comment" parasite and the hot spot in the new "hot-spot"
	parasite. Added ui for entering the hot spot.

	* docs/parasites.txt: documented the new "hot-spot" parasite.
2000-03-04 00:24:39 +00:00
Michael Natterer f4917054a9 this time cursor_update feedback is _really_ correct: for closed curves,
2000-03-03  Michael Natterer  <mitch@gimp.org>

	* app/iscissors.c: this time cursor_update feedback is _really_
	correct: for closed curves, show the "point" cursor if a mouse
	click will modify the curve and the "bad" cursor if a mouse click
	will do nothing. Seems it was not too hard to understand how it
	works...

	* plug-ins/common/uniteditor.c: for consistency, did a
	s/"Delete","Undelete"/"Don't Save","Save"/.
2000-03-03 13:01:49 +00:00
Michael Natterer 990a071c4b set <Image>/File/Revert... insensitive if the image has no filename.
2000-03-01  Michael Natterer  <mitch@gimp.org>

	* app/gdisplay.c: set <Image>/File/Revert... insensitive if the
	image has no filename.

	* plug-ins/common/uniteditor.c: minor fix.

2000-03-01  Michael Natterer  <mitch@gimp.org>

	* C/dialogs/layers/Makefile.am
	* C/dialogs/layers/index.html
	* C/dialogs/layers/apply_mask.html: removed.

	* C/layers/Makefile.am
	* C/layers/index.html
	* C/layers/apply_mask.html
	* C/layers/delete_mask.html: new files.
2000-02-29 23:32:39 +00:00
Sven Neumann b821a2f3e8 applied patch from author that enables checkerboard in the preview
--Sven
2000-02-29 20:35:46 +00:00
Michael Natterer 5c009bb829 same as before :-( 2000-02-29 18:47:52 +00:00
Michael Natterer 08af64d608 s/plug_in_unit_editor/extension_gimp_unit_editor/ 2000-02-29 18:44:14 +00:00
Michael Natterer 6b31ee49aa plug-ins/common/.cvsignore plug-ins/common/Makefile.am
2000-02-29  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/.cvsignore
	* plug-ins/common/Makefile.am
	* plug-ins/common/plugin-defs.pl
	* po-plug-ins/POTFILES.in
	* help/C/filters/Makefile.am
	* help/C/filters/index.html
	* plug-ins/common/uniteditor.c
	* help/C/filters/uniteditor.html: new plugin.

	After one year of announcing it, I finally hacked the GIMP unit
	editor. Have fun with lightyears, parsec, ... :-)
2000-02-29 18:25:05 +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
Sven Neumann 6d92091fef fixed bug #6613
--Sven
2000-02-26 13:56:55 +00:00
Sven Neumann 9ac098c3ce app/fileops_cmds.c don't add an already registered load|save handler twice
* app/fileops_cmds.c
 * tools/pdbgen/pdb/fileops.pdb: don't add an already registered
 load|save handler twice to the list. This fixes the problem
 that extension were listed twice if a load|save plugin changed.

 * app/plug_in.[ch]: code cleanup, indentation

 * app/xcf.[ch]: same here, include copyright headers

 * plug-ins/common/wmf.c: properly cancel the load if the user
   pressed Cancel in the dialog (fixes bug #6500)


--Sven
2000-02-24 16:11:26 +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
Sven Neumann 89177db5ed Eeek, are you crazy?
--Sven
2000-02-23 00:15:12 +00:00
Sven Neumann 1cd86e61d8 support indexed drawables and do the right thing for gray drawables
--Sven
2000-02-22 21:25:18 +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
Sven Neumann e42cece9b1 GUI updates
--Sven
2000-02-21 11:00:28 +00:00
Sven Neumann ae41c48979 no comment ... 2000-02-20 20:32:40 +00:00
Sven Neumann 6f207ff316 I am stupid
--Sven
2000-02-20 20:25:01 +00:00
Sven Neumann b78497d795 made it more robust against strange input
--Sven
2000-02-20 20:09:01 +00:00
Sven Neumann d230a0e0e9 another try to fix the grid plug-in
--Sven
2000-02-20 19:34:51 +00:00
Sven Neumann 51d9de4559 fixed bug #6330
--Sven
2000-02-19 19:36:10 +00:00
Sven Neumann c878108f4a ignore motion_events in a time-window of 100ms after the last event. Was
* app/fuzzy_select.c: ignore motion_events in a time-window of
  100ms after the last event. Was intended as a workaround for bug
  #5949, but IMO it makes the tool more responsive and easier to
  control.

* app/nav_window.c: as a workaround for bug #5955 move the
  navigation popup on screen if used to close to the screen borders.
  Moving the cursor will make the image scroll by a large amount
  eventually, but IMHO this is better than having a nonfunctional
  navigation popup.

* plug-ins/common/curve_bend.c
* plug-ins/gap/gap_decode_xanim.c: fixed typos


--Sven
2000-02-19 13:19:08 +00:00
Sven Neumann c73443105f default to rotation = 0
--Sven
2000-02-18 23:06:07 +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
Sven Neumann ad1a34721a applied patch from Wolfgang Hofer that fixes bug #6012
--Sven
2000-02-16 16:38:36 +00:00
Sven Neumann d1f9b0c606 removed warnings
--Sven
2000-02-16 02:51:30 +00:00
Sven Neumann cefe65bece applied updates from author
--Sven
2000-02-15 12:14:47 +00:00
Tor Lillqvist 970ad834d1 libgimp/gimp.def libgimp/gimpui.def libgimp/makefile.{cygwin,msc}
2000-02-15  Tor Lillqvist  <tml@iki.fi>

* libgimp/gimp.def
* libgimp/gimpui.def
* libgimp/makefile.{cygwin,msc}
* app/makefile.{cygwin,msc}
* plug-ins/makefile.{cygwin,msc}: Updates.

* app/datafiles.c (is_script): New Win32-only function, which
tests if a file's extension matches one of the extensions in the
PATHEXT environment variable (which the cmd.exe command
interpreter also uses). This is to avoid starting applications
associated with any random data file the user might have dropped
in the plug-ins folder, while still supporting plug-ins written in
scripting languages.

* app/gimpparasite.c (gimp_parasiterc_save): (Win32:) Cannot
rename to an existing file.

* plug-ins/Lighting/lighting_image.c
* plug-ins/Lighting/lighting_share.c
* plug-ins/MapObject/mapobject_preview.c
* plug-ins/MapObject/mapobject_shade.c: Use G_PI.

* plug-ins/common/gz.c: #ifdef G_OS_WIN32 was used before its
potential definition via glib.h.

* plug-ins/common/jpeg.c: Also recognize Exif files, which are
typically produced by digital cameras. The usually have a .jpg
file name extension, and would thus already match this plug-in,
but add the magic string just in case. They are loaded just fine
by libjpeg even if they don't have the JFIF signature.

* plug-ins/common/tiff.c: Set TIFF warning and error handler, so
we get to pass libtiff's messages through the normal channels.
2000-02-14 22:44:06 +00:00
Sven Neumann db784a41c5 updated the german translation
--Sven
2000-02-14 17:54:05 +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
Sven Neumann fde64e54db tupos fixes and updates to german catalogs
--Sven
2000-02-13 12:04:32 +00:00
SHIRASAKI Yasuhiro 90c48abc1e plug-ins/common/CML_explorer.c plug-ins/common/depthmerge.c
* plug-ins/common/CML_explorer.c
        * plug-ins/common/depthmerge.c
        * plug-ins/common/despeckle.c
        * plug-ins/common/destripe.c
        * plug-ins/common/edge.c
        * plug-ins/common/fractaltrace.c
        * plug-ins/common/gqbist.c: unmarked blurb and help.

-- yasuhiro
2000-02-13 09:29:59 +00:00
Marc Lehmann 9d02cb0d45 *** empty log message *** 2000-02-13 00:11:26 +00:00
Sven Neumann 7213555631 fixed bug #5624.
--Sven
2000-02-11 02:22:01 +00:00
Sven Neumann e32c1533e2 fixed bug #6011.
--Sven
2000-02-10 23:17:22 +00:00
Sven Neumann b20f154ac8 app/interface.c app/pixmaps2.h use new icons courtesy by Tigert.
* app/interface.c
 * app/pixmaps2.h
 * app/tools.c: use new icons courtesy by Tigert.

 * plug-ins/common/gauss_iir.c
 * plug-ins/common/gauss_rle.c
 * plug-ins/common/spread.c: enlarged maximum values

--Sven
2000-02-10 01:49:45 +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