2000-12-19 Sven Neumann <sven@gimp.org>
* plug-ins/common/gih.c: alter the pixpipe parameters and attach them
as parasite, so saving a loaded .gih file yields the same brush again
(minus the brush spacing which is not yet stored in the image).
2000-12-18 Sven Neumann <sven@gimp.org>
Jens Lautenbacher <jtl@gimp.org>
* data/brushes/Makefile.am: remove old pepper.gpb when installing new
brushes.
* data/brushes/SketchBrush-16.gih
* data/brushes/SketchBrush-32.gih
* data/brushes/SketchBrush-64.gih: converted to grayscale brush pipes.
* plug-ins/common/gih.c: commented out code that sets loaded pipe
parameters as parasite until we figure out how to do it right.
* devel-docs/gpb.txt: mention that the .gpb format is obsolete.
* devel-docs/gih.txt: updated.
2000-12-18 Sven Neumann <sven@gimp.org>
Jens Lautenbacher <jtl@gimp.org>
* plug-ins/common/gbr.c: save and load brush name into/from layer name.
* plug-ins/common/gih.c: added gih loader. The loader is able to read
the old brush pipe format too. Brush pipes will only be saved in the
new format. Fixes bugs #21806, #34167 and #34168.
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 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 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-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 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 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 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 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 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-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 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.
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 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 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 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 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 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-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.
* 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".