Commit graph

1766 commits

Author SHA1 Message Date
Sven Neumann 3cff8419db Jens Lautenbacher <jtl@gimp.org>
2000-12-18  Sven Neumann  <sven@gimp.org>
	    Jens Lautenbacher <jtl@gimp.org>

	* app/Makefile.am

	* app/gimpbrushlistP.h
	* app/gimpbrushpipeP.h
	* app/gimpobjectP.h: removed these three files

	* app/parasitelistP.h
	* app/channels_dialog.c
	* app/docindex.c
	* app/gimpdrawable.c
	* app/gimpdrawableP.h
	* app/gimpimage.c
	* app/gimpimageP.h
	* app/gimplist.[ch]
	* app/gimpobject.c
	* app/gimpobject.h
	* app/gimpsetP.h: changed according to header removal

	* app/airbrush.c
	* app/brush_select.[ch]
	* app/brushes_cmds.c
	* app/gimpbrush.[ch]
	* app/gimpbrushgenerated.[ch]
	* app/gimpbrushlist.[ch]
	* app/gimpbrushpipe.[ch]
	* app/gimpcontextpreview.c
	* app/paint_core.c
	* app/paintbrush.c
	* app/pencil.c
	* tools/pdbgen/pdb/brushes.pdb: Big Brushes Cleanup.

	The GimpBrush* object hierarchy and the file formats were broken by
	"design". This made it overly difficult to read and write pixmap
	brushes and brush pipes, leading to the situation that The GIMP was
	not able to read it's very own file formats. Since the GimpBrush
	format did support arbitrary color depths, the introduction of a
	file format for pixmap brushes was unnecessary.

	The GimpBrushPixmap object is dead. GimpBrush has an additional
	pixmap temp_buf and handles pixmap brushes transparently. The file
	format of pixmap brushes is not any longer a grayscale brush plus
	a pattern, but a simple brush with RGBA data. The old brushes can
	still be loaded, but the .gpb format is deprecated.

	GimpBrushPipe derives from GimpBrush. The fileformat is still a text
	header, followed by a number of brushes, but those brushes are stored
	in the new GimpBrush format (no pattern anymore). The pipe does not
	care about the depth of the contained GimpBrushes, so we get
	grayscale BrushPipes for free. Since the brush loader still loads the
	old format, old .gih files can also still be loaded.

	Since the brushes in the GimpBrushPipe do not any longer contain a
	pointer to the pipe object, we do only temporarily switch brushes
	in the paint_core routines. This is not very elegant, but the best
	we can do without a major redesign.

	* app/patterns.[ch]: changed the loader to work with a filedescriptor
	instead of a filehandle to make it work with the new brush loading
	code.

	* plug-ins/common/.cvsignore
	* plug-ins/common/Makefile.am
	* plug-ins/common/plugin-defs.pl
	* plug-ins/common/gih.c: new plug-in that saves GIH files in the
	new format (loader will follow soon)

	* plug-ins/common/gpb.c: removed since Pixmap Brushes are no longer
	supported as a special file format.

	* plug-ins/common/gbr.c: load and save brushes in the new brush format
	which allows RGBA brushes too.

	* plug-ins/common/pat.c: load and save grayscale patterns too
2000-12-18 15:14:08 +00:00
Michael Natterer 333bfaf5b6 Using "env" instead of "environ" caused a clash. Changed the other one to
2000-12-18  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/gee.c: Using "env" instead of "environ" caused
	a clash. Changed the other one to "environment".
2000-12-18 03:06:15 +00:00
Tor Lillqvist bda1ac7f7e Typo. Use GLib random functions.
2000-12-17  Tor Lillqvist  <tml@iki.fi>

	* config.h.win32: Typo.
	Use GLib random functions.

	* plug-ins/makefile.mingw.in (COMMON): Add gee_zoom.

	* plug-ins/common/animationplay.c: Win32-specific #include and
	#define stuff not needed any longer.

	* plug-ins/FractalExplorer/FractalExplorer.c
	* plug-ins/common/gz.c
	* plug-ins/common/hrz.c: No use trying to use G_OS_WIN32 to decide
	whether to include glib.h, as glib.h is where G_OS_WIN32 gets
	defined...

	* plug-ins/common/gee.c: Can't use "environ" as variable name,
	it's in the C library.h on various systems. Use the name "env"
	instead.
2000-12-17 20:07:15 +00:00
Michael Natterer 59be62713c plug-ins/FractalExplorer/FractalExplorer.c plug-ins/common/animationplay.c
2000-12-17  Michael Natterer  <mitch@gimp.org>

	* plug-ins/FractalExplorer/FractalExplorer.c
	* plug-ins/common/animationplay.c
	* plug-ins/common/gz.c
	* plug-ins/common/hrz.c
	* plug-ins/common/pat.c
	* plug-ins/common/pnm.c
	* plug-ins/common/ps.c. #ifdef early inclusion of <glib.h> with
	G_OS_WIN32. Avoids warnings about redefinition of MIN and MAX.
	Some #include cleanups.
2000-12-17 16:50:00 +00:00
Asbjørn Pettersen 9d4530175e use GIMP_PDB_EXECUTION_ERROR 2000-12-17 10:46:02 +00:00
Seth Burgess 9bc546c1ad Add alpha automatically on colortoalpha plug-in. 2000-12-16 17:42:43 +00:00
Adam D. Moss 9a17ffa79c cosmetics. mk2. 2000-12-15 20:31:41 +00:00
Adam D. Moss 86925d3e82 cosmetics. 2000-12-15 20:31:06 +00:00
GMT 2000 Adam D. Moss a7e69fe492 Unhide 'gee' once more... come on Sven, we have nothing worth hiding any
Fri Dec 15 19:16:31 GMT 2000  Adam D. Moss <adam@gimp.org>

	* plug-ins/common/gee.c, plug-ins/common/Makefile.am,
	plug-ins/common/plugin-defs.pl, plug-ins/common/gee_zoom.c,
	plug-ins/common/.cvsignore:
	Unhide 'gee' once more... come on Sven, we have nothing worth
	hiding any longer.  =)
2000-12-15 19:51:17 +00:00
Michael Natterer fde8a7aeaa re-added it to CVS.
2000-12-15  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/spheredesigner.c: re-added it to CVS.

	* plug-ins/common/.cvsignore
	* plug-ins/common/plugin-defs.pl: properly exclude it from the build
	and the distribution.
2000-12-15 18:08:31 +00:00
Vidar Madsen/gimpressionist ea7d01dd21 Removed from CVS, until it gets more usable.
* plug-ins/common/spheredesigner.c: Removed from CVS, until
it gets more usable.
2000-12-15 17:07:57 +00:00
Simon Budig 52415cc25e Fixed the unuseable PDB-interface
2000-12-15  Simon Budig  <simon@gimp.org>

        * plug-ins/common/convmatrix.c: Fixed the unuseable PDB-interface

        * plug-ins/script-fu/scripts/erase-rows.scm: Changed the script
        so that it actually does what it claims to do: *erase* the rows.
2000-12-15 16:55:34 +00:00
Michael Natterer bf2af1a230 added support for the GIMP_HELP_ROOT environment variable: Let it point to
2000-12-15  Michael Natterer  <mitch@gimp.org>

	* plug-ins/helpbrowser/helpbrowser.c: added support for the
	GIMP_HELP_ROOT environment variable: Let it point to some
	directory to let the help browser read it's files from there.
	Useful for viewing the autogenerated stuff in <gimp-help>/help/C/gimp/.
2000-12-15 05:38:19 +00:00
Michael Natterer 06e409e0f7 configure.in Updated Gimp-Help. See help/ChangeLog for details.
2000-12-15  Michael Natterer  <mitch@gimp.org>

	* configure.in
	* help/*: Updated Gimp-Help. See help/ChangeLog for details.

	* app/channels_dialog.c
	* app/gdisplay.c
	* app/gradient.c
	* app/layers_dialog.c
	* app/menus.c
	* app/paths_dialog.c
	* app/preferences_dialog.c
	* app/resize.c: fixed menu paths.

	* plug-ins/helpbrowser/helpbrowser.c: load a special
	"undocumented_filter.html" page if a filter was not found.
	Adapted to the new help structure.

2000-12-15  Michael Natterer  <mitch@gimp.org>

	* makedummyhelpfile.sh
	* makeindex.sh: removed.

	* images/*: added some images.

	* help/*: Updated to the latest version of the gimp-help CVS module.

	This Version instoduces a bunch of new toplevel HTML files for
	general topics, an autogenerated index, TOC, glossary,
	an "image" directory on the "C" level, peace, love, and stuff...

	Thanks to all help writers: Prof, Bex, Piers, ...
2000-12-15 03:47:24 +00:00
Vidar Madsen/gimpressionist 82093314cb Fix to avoid a warning when closing window.
* plug-ins/gimpressionist/brush.c: Fix to avoid a warning when
closing window.

* plug-ins/gimpressionist/Paper/struc.pgm
* plug-ins/gimpressionist/Paper/Makefile.am
* plug-ins/gimpressionist/Presets/ApplyCanvas
* plug-ins/gimpressionist/Presets/Makefile.am: Added a paper and
preset on request from Bex, to simulate "Apply Canvas".
2000-12-14 17:41:10 +00:00
Sven Neumann 2458bfcbba app/color_picker.c app/convert.c app/curves.c app/gimpdrawable.c
2000-12-13  Sven Neumann  <sven@gimp.org>

        * app/color_picker.c
        * app/convert.c
        * app/curves.c
        * app/gimpdrawable.c
        * app/gimpimage.c
        * app/gimpimage.h
        * app/image_map.c
        * app/info_window.c
        * app/layer.c
        * app/undo.c: couldn't resist: renamed TYPE_HAS_ALPHA() to
        GIMP_IMAGE_TYPE_HAS_ALPHA()

        * plug-ins/common/sunras.c
        * plug-ins/common/xwd.c: small cleanups
2000-12-13 18:53:35 +00:00
Vidar Madsen/gimpressionist b2b5e03d57 Small algo improvements.
* plug-ins/common/spheredesigner.c: Small algo improvements.
2000-12-13 09:52:15 +00:00
Vidar Madsen/gimpressionist b1741cad47 Nicer bumpmapping.
* plug-ins/common/spheredesigner.c: Nicer bumpmapping.
2000-12-13 01:13:36 +00:00
Kelly Martin 5a59083777 Fixed bad default JPEG quality setting in save_image -klm 12/12/00 2000-12-12 20:54:39 +00:00
Austin Donnelly 385bdd745f Fixed #7689: plug-in-autocrop shows a progress dialog when run
2000-12-12  Austin Donnelly  <austin@gimp.org>

	* plug-ins/common/autocrop.c: Fixed #7689: plug-in-autocrop shows
	    a progress dialog when run non-interactively.  In fact, I also
	    cleared up the initialisation code, and made it more robust.
2000-12-12 11:53:47 +00:00
Marc Lehmann eea480d7b0 see plug-ins/perl/Changes 2000-12-12 04:00:43 +00:00
Nick Lamb /GIMP 9a4bd0221d Continue after errors from libtiff - ie they are no longer fatal (#28799) 2000-12-12 02:39:11 +00:00
GMT 2000 Adam D. Moss ec5a515e9b v1.05: Sub-pixel jitter is now less severe and less coarse.
Mon Dec 11 20:29:55 GMT 2000  Adam D. Moss <adam@gimp.org>

	* plug-ins/common/gee.c: v1.05: Sub-pixel jitter is
	now less severe and less coarse.
2000-12-11 20:33:21 +00:00
Sven Neumann d1fa3a5569 configure.in removed obsolete checks for lpc, lpstat and friends
2000-12-11  Sven Neumann  <sven@gimp.org>

	* configure.in
	* plug-ins/print/Makefile.am: removed obsolete checks for lpc, lpstat
	and friends

	* plug-ins/perl/examples/blended2
	* plug-ins/perl/examples/translogo: register with the correct image
	types. Fixes bug #10675.
2000-12-11 19:17:31 +00:00
Sven Neumann c023ab637d plug-ins/gdyntext/font_selection.c use new GTK+ API
2000-12-11  Sven Neumann  <sven@gimp.org>

	* plug-ins/gdyntext/font_selection.c
	* plug-ins/winsnap/winsnap.c: use new GTK+ API
	s/gtk_toggle_button_set_state/gtk_toggle_button_set_active/
	s/gtk_container_border_width/gtk_container_set_border_width/
2000-12-11 18:46:32 +00:00
Sven Neumann ad42ee26ac return with an error message if called with drawables smaller than 3
2000-12-11  Sven Neumann  <sven@gimp.org>

        * plug-ins/common/convmatrix.c: return with an error message if
        called with drawables smaller than 3 pixels. Fixes bug #30870.
2000-12-11 18:09:26 +00:00
Vidar Madsen/gimpressionist 80a94a7ffd Fixed a bug appearing when using Tileable + Center of Brush coloring,
* plug-ins/gimpressionist/repaint.c: Fixed a bug appearing
when using Tileable + Center of Brush coloring, closing #14221.
2000-12-11 13:15:16 +00:00
Vidar Madsen/gimpressionist b420e211e1 Fixed a bug when using Paper Relief, closing bug #34667.
* plug-ins/gimpressionist/repaint.c: Fixed a bug when using
Paper Relief, closing bug #34667.

* plug-ins/gimpressionist/gimpressionist.c: Moved the Presets tab
to the far left.
2000-12-11 11:34:38 +00:00
Manish Singh 67b510d53d 1.1.30 stuff
-Yosh
2000-12-10 00:59:42 +00:00
Chyla Zbigniew 9dfa39106e Updated Polish translation 2000-12-09 18:47:56 +00:00
Vidar Madsen/gimpressionist b302fe37c0 Added a brush contributed by Nevit <nevilo@yahoo.com>.
* plug-ins/gimpressionist/Brushes/{Makefile.in,snow1.pgm}: Added a
brush contributed by Nevit <nevilo@yahoo.com>.
2000-12-08 12:17:43 +00:00
Sven Neumann db3fd7b11e set the background using gimp_palette_get_background() in non-interactive
2000-12-07  Sven Neumann  <sven@gimp.org>

	* plug-ins/MapObject/mapobject_image.c: set the background using
	gimp_palette_get_background() in non-interactive mode too.
2000-12-06 23:06:08 +00:00
SHIRASAKI Yasuhiro 9f0e1d4c86 updated japanese translation.
-- yasuhiro
2000-12-06 15:49:06 +00:00
Michael Natterer 6bb4458abb plug-ins/gflare/gflare.c libgimp/gimpunitmenu.c set separators of option
2000-12-03  Michael Natterer  <mitch@gimp.org>

	* plug-ins/gflare/gflare.c
	* libgimp/gimpunitmenu.c
	* libgimp/gimpwidgets.c: set separators of option menus insensitive.
	(see Sven's fix below below).

	* app/layers_dialog.c: set "Merge Down" insensitive for
	the bottom layer.
2000-12-03 18:35:58 +00:00
Sven Neumann 0d9382fb04 app/layer.c app/layers_dialog.c reviewed code in an attempt to fix the
2000-12-03  Sven Neumann  <sven@gimp.org>

	* app/layer.c
	* app/layers_dialog.c
	* plug-ins/common/jpeg.c: reviewed code in an attempt to fix the
	crash-on-jpeg-save. The only thing that I have changed (despite
	lots of indentation) is that we now connect the preview rewdraw
	using gtk_signal_connect_while_alive() which should keep gimp from
	trying to create previews of nonexistant drawables.

Updated german translation.
2000-12-03 18:15:08 +00:00
SHIRASAKI Yasuhiro bb76c11064 updated japanese translation.
-- yasuhiro
2000-12-03 13:53:13 +00:00
Sven Neumann 81a758dd81 applied patches to GAP provided by Wolfgang Hofer
--Sven
2000-12-03 13:11:34 +00:00
Michael Natterer 86b0bd74b5 plug-ins/print/README plug-ins/print/RELNOTES Updated to bugfix release
2000-12-02  Michael Natterer  <mitch@gimp.org>

	* plug-ins/print/README
	* plug-ins/print/RELNOTES
	* plug-ins/print/print-util.c: Updated to bugfix release 4.0.4
2000-12-02 17:06:50 +00:00
Michael Natterer c71be31db2 plug-ins/print/README plug-ins/print/RELNOTES Version 3.0.4
2000-11-27  Michael Natterer  <mitch@gimp.org>

	* plug-ins/print/README
	* plug-ins/print/RELNOTES
	* plug-ins/print/print-pcl.c: Version 3.0.4
2000-11-27 13:08:31 +00:00
Austin Donnelly 46b740cc74 plug-ins/ifscompose/ifscompose.c Element labels now properly preserved
2000-11-27  Austin Donnelly <austin@gimp.org>

        * plug-ins/ifscompose/ifscompose.c
        * plug-ins/ifscompose/ifscompose_storage.c: Element labels now
            properly preserved across multiple runs.  Allow run with same
            values.  This is a partial fix for Bug#9156: bug in ifscompose.
            Not all the behaviour described in that bug report could be
            reproduced.  Thanks to David Hodson <hodsond@ozemail.com.au>
            for putting the work in to sort this out and produce the patch.
2000-11-27 10:35:23 +00:00
Sven Neumann 969b4c5957 PLUG_IN_MAINTAINERS changed email address of Winston Chang
2000-11-26  Sven Neumann  <sven@gimp.org>

	* PLUG_IN_MAINTAINERS
	* plug-ins/common/unsharp.c: changed email address of Winston Chang

	* app/gdisplay_color_ui.c: applied a modified version of another
	patch sent by David Odin <David.Odin@bigfoot.com> which sets the
	sensitivity of the buttons in the dialog according to the possible
	actions.
2000-11-26 12:13:23 +00:00
Marc Lehmann 24633c17b0 see plug-ins/perl/Changes 2000-11-25 16:14:42 +00:00
SHIRASAKI Yasuhiro cfa15ec56a Updated japanese translation.
-- yasuhiro
2000-11-25 12:47:01 +00:00
Austin Donnelly d7af7c0f3e fixed buffer overrun when previewing an image with alpha that was causing
2000-11-21  Austin Donnelly  <austin@gimp.org>

	* plug-ins/common/exchange.c: fixed buffer overrun when previewing
	    an image with alpha that was causing segfaults on Linux.
	    Fixes Bug#32860.
2000-11-21 18:16:06 +00:00
Marc Lehmann 7b646b3450 see plug-ins/perl/Changes 2000-11-20 00:32:26 +00:00
Nick Lamb /GIMP 97294fc0d4 Little-endian fix for 16bit TIFF
and Use same endian-detect as other plug-ins for PCX
2000-11-19 23:54:46 +00:00
Nick Lamb /GIMP b678992aeb Fix alleged problem with small TGA images 2000-11-18 04:24:25 +00:00
Michael Natterer e284e94bfc removed.
2000-11-18  Michael Natterer  <mitch@gimp.org>

	* plug-ins/rcm/rcm_pixmaps.h: removed.

	* plug-ins/rcm/pixmaps/.cvsignore
	* plug-ins/rcm/pixmaps/rcm_360.xpm
	* plug-ins/rcm/pixmaps/rcm_a_b.xpm
	* plug-ins/rcm/pixmaps/rcm_ccw.xpm
	* plug-ins/rcm/pixmaps/rcm_cw.xpm: new files.

	* plug-ins/rcm/Makefile.am
	* plug-ins/rcm/rcm_callback.c
	* plug-ins/rcm/rcm_dialog.c: changed accordingly.

	The old method was producing warnings because not all pixmaps
	were used in all files. Also changed the XPMs a bit now that I
	could load them into the GIMP... they are still ugly, though.
2000-11-18 02:38:05 +00:00
Michael Natterer 433046c3dd plug-ins/print/Makefile.am Oops, didn't see Sven's patch when applying a
2000-11-18  Michael Natterer  <mitch@gimp.org>

	* plug-ins/print/Makefile.am
	* plug-ins/print/print.c: Oops, didn't see Sven's patch when applying
	a different one to both sourceforge branches:

	Don't define LOCALE in Makefile.am but check if the macro
	INIT_I18N_UI exists and use in that case.
2000-11-18 00:33:39 +00:00
Michael Natterer cdd0a5147d app/fileops.c Make sure that we don't try to destroy query_boxes twice or
2000-11-18  Michael Natterer  <mitch@gimp.org>

	* app/fileops.c
	* libgimp/gimpquerybox.[ch]: Make sure that we don't try to destroy
	query_boxes twice or try to disconnect not-any-more connected
	handlers.

	* app/color_notebook.c
	* app/gimpcontext.[ch]
	* app/gimphelp.[ch]
	* app/lc_dialog.[ch]
	* app/menus.h
	* app/preferences_dialog.c
	* app/tools.[ch]
	* libgimp/gimpcolorbutton.[ch]
	* libgimp/gimpdialog.[ch]
	* libgimp/gimpexport.[ch]
	* libgimp/gimpfileselection.[ch]
	* libgimp/gimphelpui.[ch]
	* libgimp/gimppatheditor.[ch]
	* libgimp/gimppixmap.[ch]
	* libgimp/gimpsizeentry.[ch]
	* libgimp/gimpui.[ch]
	* libgimp/gimpunitmenu.[ch]
	* libgimp/gimpwidgets.[ch]: in a coding attack, changed help_data
	and many other strings passed to UI functions to (const gchar *).
	As a consequence, I had to fix lots of warnings ;)

	* plug-ins/common/tga.c
	* plug-ins/imagemap/imap_main.c: fixed warnings.

	Code cleanup and indentation all over the place.
2000-11-18 00:25:42 +00:00