Commit graph

4925 commits

Author SHA1 Message Date
Daniel Egger d8dfc2128a Second attempt by David Neary to fix bug. 2000-12-18 19:18:44 +00:00
jtl 1153f4ff79 fixed for new gbr 2000-12-18 19:11:14 +00:00
jtl a5b0575f13 brush script fixed 2000-12-18 18:38:00 +00:00
Daniel Egger fcc29b05dc Added bugfix from David Neary to fix #9156. 2000-12-18 18:01:12 +00:00
Sven Neumann f4279e0215 Jens Lautenbacher <jtl@gimp.org>
2000-12-18  Sven Neumann  <sven@gimp.org>
	    Jens Lautenbacher <jtl@gimp.org>

	* data/brushes/Makefile.am
	* data/brushes/pepper.gpb: removed
	* data/brushes/pepper.gbr: added (a nicer version of) the Pepper
	brush in the .gbr format that does support pixmap brushes now.

	* plug-ins/common/gbr.c: added support for loading obsoleted
	Gimp Pixmap Brushes format (.gpb).
2000-12-18 17:10:45 +00:00
Valek Frob 1c08fe3d37 Updated russian translation. 2000-12-18 16:39:35 +00:00
Sven Neumann 7463a2a3cd gpb plug-in is gone, new gih plug-in added
--Sven
2000-12-18 16:06:35 +00:00
Michael Natterer 36c685884d removed gpb.c, added gih.c
2000-12-18  Michael Natterer  <mitch@gimp.org>

	* po-plug-ins/POTFILES.in: removed gpb.c, added gih.c
2000-12-18 15:59:41 +00:00
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
Michael Natterer 3b88977675 Almost all files again. Pre 1.2 Version 3
2000-12-17  Michael Natterer  <mitch@gimp.org>

	* Almost all files again. Pre 1.2 Version 3
2000-12-17 20:32:39 +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 1d81bcaa15 updated all files again. Lotsa fixes: keyboard shortcuts, icons, links,
2000-12-17  Michael Natterer  <mitch@gimp.org>

	* C/*: updated all files again. Lotsa fixes: keyboard shortcuts,
	icons, links, ...
2000-12-17 17:17:18 +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
Michael Natterer 99e8d420aa don't warn about a non-existant "Script-Fu" menu. (the user should have
2000-12-17  Michael Natterer  <mitch@gimp.org>

	* app/menus.c: don't warn about a non-existant "Script-Fu" menu.
	(the user should have the choice of just removing the script-fu
	plug-in without any side-effects).
2000-12-17 16:05:41 +00:00
Michael Natterer 323216b785 More cleanup, sync'ed Makefile.am again.
2000-12-17  Michael Natterer  <mitch@gimp.org>

	* images/*: More cleanup, sync'ed Makefile.am again.
2000-12-17 15:42:18 +00:00
Michael Natterer d535c658c3 flattened all PNGs against a white background (because transparent PNG
2000-12-17  Michael Natterer  <mitch@gimp.org>

	* images/*: flattened all PNGs against a white background (because
	transparent PNG viewing is broken in GtkXmHTML) and crop all GIFs
	(because they were too large).
2000-12-17 15:18:34 +00:00
Michael Natterer 9035daf3c3 images/Makefile.am images/anchor_layer_icon.png
2000-12-17  Michael Natterer  <mitch@gimp.org>

	* images/Makefile.am
	* images/anchor_layer_icon.png
	* images/lower_layer_icon.png
	* images/raise_layer_icon.png: removed.

	* images/anchor_icon.png
	* images/lower_icon.png
	* images/raise_icon.png: added.

	This breaks the links to these files temporarily until I checkin
	the HTML files later today.
2000-12-17 11:54:32 +00:00
Asbjørn Pettersen 9d4530175e use GIMP_PDB_EXECUTION_ERROR 2000-12-17 10:46:02 +00:00
Adam D. Moss b9de2ab687 typo fix. 2000-12-17 09:58:43 +00:00
Sven Neumann 83c00d760e Ooops, got the name wrong when adding the WCK. 2000-12-17 02:36:20 +00:00
Sven Neumann 18670539c6 ooops, didn't ment to commit this version, reverted my change
--Sven
2000-12-17 01:18:27 +00:00
Sven Neumann 6639e17c0d preview the curve settings in the image window when initializing the tool.
2000-12-17  Sven Neumann  <sven@gimp.org>

	* app/curves.c: preview the curve settings in the image window when
	initializing the tool. This way the new curves behaviour (init with
	last settings) is visible.

	* app/user_install.c: check that strings are non-NULL before passing
	them to strcmp.

	* libgimp/gimpfileselection: do not try to pass a NULL text to
	gtk_entry_set_text, use an empty string instead.
2000-12-17 00:28:32 +00:00
Seth Burgess 0c6ba7b0fa TODO updates to current state 2000-12-16 23:04:23 +00:00
Sven Neumann 7d0ca8d0fe app/gimppreviewcache.h app/channel.c put the preview cache priming code
2000-12-16  Sven Neumann  <sven@gimp.org>

	* app/gimppreviewcache.h
	* app/channel.c
	* app/layer.c: put the preview cache priming code back into place,
	but disabled it for small images to avoid unnecessary upscaling.
2000-12-16 22:02:10 +00:00
Sven Neumann dfa2bed505 Last-minute cleanup:
2000-12-16  Sven Neumann  <sven@gimp.org>

	Last-minute cleanup:

	* app/gimpdrawableF.h
	* app/gimphistogramF.h
	* app/gimpimageF.h
	* app/gimplistF.h
	* app/gimplutF.h
	* app/gimpobjectF.h
	* app/gimpsetF.h
	* app/layerF.h
	* app/parasitelistF.h: removed these files

	* app/Makefile.am
	* tools/pdbgen/Makefile.am: changed accordingly

	* app/[almost every file]: include cleanup
2000-12-16 21:37:03 +00:00
Seth Burgess 9bc546c1ad Add alpha automatically on colortoalpha plug-in. 2000-12-16 17:42:43 +00:00
Sven Neumann f9ea721238 Jens Lautenbacher <jtl@gimp.org>
2000-12-16  Sven Neumann  <sven@gimp.org>
	    Jens Lautenbacher <jtl@gimp.org>

	* Makefile.am
	* docs/Wilber_Construction_Kit.xcf.gz: added an example XCF file
2000-12-16 17:00:28 +00:00
Sven Neumann 7d0c67b400 fixed a warning since gee is no longer hidden, I put the old code back in
2000-12-16  Sven Neumann  <sven@gimp.org>

	* app/fileops.c: fixed a warning
	* app/menus.c: since gee is no longer hidden, I put the old code
	back in that keeps its entry at the bottom of the menu.
2000-12-15 23:28:15 +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
Adam D. Moss ede5099325 fsck me, cvs is being crap today. 2000-12-15 19:50:22 +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
Sven Neumann e29df7e285 added new function gimp_preview_scale().
2000-12-15  Sven Neumann  <sven@gimp.org>

	* app/gimppreviewcache.[ch]: added new function gimp_preview_scale().

	* app/channel.c
	* app/channels_dialog.c
	* app/gimpimage.c
	* app/layer.c
	* app/layers_dialog.c
	* app/lc_dialog.c
	* app/nav_window.c: unified preview drawing code. Previews are never
	generated larger than the canvas size. Image and channel previews are
	scaled up to the desired size, so does the navigation window. The
	layer previews are not yet scaled up again since we can not use
	gimp_preview_scale here. I have removed the preview_cache priming
	code since we don't need it any longer and it caused bad results.
2000-12-15 15:54:17 +00:00
Kjartan Maraas 754883b71e Updated Norwegian translation.
2000-12-15  Kjartan Maraas  <kmaraas@gnome.org>

	* no.po: Updated Norwegian translation.
2000-12-15 14:34:05 +00:00
Valek Frob 0c693932c0 Updated russian translation. 2000-12-15 09:20:57 +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 44f59d5f26 Oops... 2000-12-15 03:48:54 +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
Sven Neumann b44620a31b missed a place that needed the same fix for bug #31098.
2000-12-14  Sven Neumann  <sven@gimp.org>

	* app/nav_window.c: missed a place that needed the same fix for
	bug #31098.
2000-12-14 22:29:49 +00:00
Sven Neumann 909d0ffa2e call lc_dialog_update_image_list() when resizing the image so the image
2000-12-14  Sven Neumann  <sven@gimp.org>

	* app/commands.c (image_resize_callback):
	call lc_dialog_update_image_list() when resizing the image so the
	image preview is updated in the l&c dialog.
2000-12-14 19:59:13 +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 550aa9b482 app/layers_dialog.c app/lc_dialog.c another try on bug #31098. This time
2000-12-14  Sven Neumann  <sven@gimp.org>

	* app/layers_dialog.c
	* app/lc_dialog.c
	* app/nav_window.c: another try on bug #31098. This time limited the
	preview scale ratio in the calling functions. Please test!

	* app/gimpimage.c: small cleanup
2000-12-14 17:28:38 +00:00
Sven Neumann 6130edbf40 modified debug function to help to find missing help files 2000-12-14 14:55:00 +00:00
Kenneth Christiansen 501529f081 Translations from keld
achtung/po/da.po balsa/po/da.po bonobo/po/da.po
bug-buddy/po/da.po control-center-HEAD/po/da.po ee/po/da.po
evolution/po/da.po galeon/po/da.po gconf/po/da.po
gdm2/po/da.po gernel/po/da.po gfloppy/po/da.po gimp/po/da.po
gimp/po-plug-ins/da.po glade/po/da.po gnome-chess/po/da.po
gnome-core/po/da.po gnome-db/po/da.po gnome-games/po/da.po
gnome-iconedit/po/da.po gnome-libs-HEAD/po/da.po
gnome-libs/po/da.po gnome-lokkit/po/da.po gnome-pilot/po/da.po
gnome-utils/po/da.po gnome-vfs/po/da.po gnopo/po/da.po
gnorpm/po/da.po gnumeric/po/da.po gtk+/po/da.po
guppi3/po/da.po helix-setup-tools/po/da.po libgtop/po/da.po
magicdev/po/da.po mc/po/da.po memprof/po/da.po pan/po/da.po
rp3/po/da.po xpdf/po/da.po
2000-12-14 14:52:03 +00:00
Sven Neumann 471713e3a7 app/gimpimage.c app/layer.c app/layers_dialog.c cleaned up these files
2000-12-14  Sven Neumann  <sven@gimp.org>

	* app/gimpimage.c
	* app/layer.c
	* app/layers_dialog.c
	* app/nav_window.c: cleaned up these files while trying to find a
	fix for #31098. No real changes, the bug is still present :-(
2000-12-14 13:52:16 +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