gimp/plug-ins/flame
Manish Singh 141b6e8a25 applied gimp-lecorfec-99041[02]-0, changes follow
* applied gimp-lecorfec-99041[02]-0, changes follow

* plug-ins/FractalExplorer/Dialogs.h (make_color_map):
replaced free with g_free to fix segfault.

* plug-ins/Lighting/lighting_preview.c (compute_preview):
allocate xpostab and ypostab only when needed (it could also be
allocated on stack with a compilation-fixed size like MapObject).
It avoids to lose some Kb on each preview :)
Also reindented (unfortunate C-c C-q) some other lines.

* plug-ins/Lighting/lighting_main.c (run):
release allocated postabs.

* plug-ins/Lighting/lighting_ui.c:
callbacks now have only one argument because gck widget use
gtk_signal_connect_object. Caused segfault for scale widget.

* plug-ins/autocrop/autocrop.c (doit):
return if image has only background (thus fixing a segfault).

* plug-ins/emboss/emboss.c (pluginCore, emboss_do_preview):
replaced malloc/free with g_malloc/g_free (unneeded, but
shouldn't everyone use glib calls ? :)

* plug-ins/flame/flame.c :
replaced a segfaulting free, and several harmless malloc/free pairs.

* plug-ins/flame/megawidget.c (mw_preview_build):
replaced harmless malloc/free pair.
Note : mwp->bits is malloc'ed but seems to be never freed.

* plug-ins/fractaltrace/fractaltrace.c (pixels_free):
replaced a bunch of segfaulting free.
(pixels_get, dialog_show): replaced gtk_signal_connect_object
with gtk_signal_connect to accomodate callbacks (caused STRANGE
dialog behaviour, coz you destroyed buttons one by one).

* plug-ins/illusion/illusion.c (dialog):
same gtk_signal_connect_object replacement for same reasons.

* plug-ins/libgck/gck/gckcolor.c :
changed all gck_rgb_to_color* functions to use a static GdkColor
instead of a malloc'ed area. Provided reentrant functions with
the old behaviour (gck_rgb_to_color*_r). Made some private functions
static, too.
gck_rgb_to_gdkcolor now use the new functions while
gck_rgb_to_gdkcolor_r is the reentrant version.
Also affected by this change: gck_gc_set_foreground and
gck_gc_set_background (no more free(color)).

* plug-ins/libgck/gck/gckcolor.h :
added the gck_rgb_to_gdkcolor_r proto.

* plug-ins/lic/lic.c (ok_button_clicked, cancel_button_clicked) :
segfault on gtk_widget_destroy, now calls gtk_main_quit.
(dialog_destroy) : segfault on window closure when called by
"destroy" event. Now called by "delete_event".

* plug-ins/megawidget/megawidget.c (mw_preview_build):
replaced harmless malloc/free pair.
Note : mwp->bits is malloc'ed but seems to be never freed.

* plug-ins/png/png.c (load_image):
replaced 2 segfaulting free.

* plug-ins/print/print-ps.c (ps_print):
replaced a segfaulting free (called many times :).

* plug-ins/sgi/sgi.c (load_image, save_image):
replaced a bunch of segfaulting free, and did some harmless
inits to avoid a few gcc warnings.

* plug-ins/wind/wind.c (render_wind):
replaced a segfaulting free.
(render_blast): replaced harmless malloc/free pair.

* plug-ins/bmp/bmpread.c (ReadImage):
yet another free()/g_free() problem fixed.

* plug-ins/exchange/exchange.c (real_exchange):
ditto.

* plug-ins/fp/fp.h: added Frames_Check_Button_In_A_Box proto.
* plug-ins/fp/fp_gtk.c: closing subdialogs via window manager
wasn't handled, thus leading to errors and crashes.
Now delete_event signals the dialog control button
to close a dialog with the good way.

* plug-ins/ifscompose/ifscompose.c (value_pair_create):
tried to set events mask on scale widget (a NO_WINDOW widget).

* plug-ins/png/png.c (save_image):
Replaced 2 free() with g_free() for g_malloc'ed memory.
Mysteriously I corrected the loading bug but not the saving one :)

-Yosh
1999-04-15 21:49:09 +00:00
..
.cvsignore The .cvsignores should have .libs too 1998-01-09 09:53:59 +00:00
Makefile.am Upgraded to libtool 1.2b 1998-09-20 23:04:33 +00:00
README Initial revision 1997-11-24 22:05:25 +00:00
cmap.c Have fun recompiling gimp everyone. It's the great FSF address change! 1998-04-13 05:44:11 +00:00
cmap.h Have fun recompiling gimp everyone. It's the great FSF address change! 1998-04-13 05:44:11 +00:00
flame.c applied gimp-lecorfec-99041[02]-0, changes follow 1999-04-15 21:49:09 +00:00
flame.h Have fun recompiling gimp everyone. It's the great FSF address change! 1998-04-13 05:44:11 +00:00
libifs.c Upgraded to libtool 1.2b 1998-09-20 23:04:33 +00:00
libifs.h Have fun recompiling gimp everyone. It's the great FSF address change! 1998-04-13 05:44:11 +00:00
megawidget.c applied gimp-lecorfec-99041[02]-0, changes follow 1999-04-15 21:49:09 +00:00
megawidget.h Initial revision 1997-11-24 22:05:25 +00:00
rect.c Upgraded to libtool 1.2b 1998-09-20 23:04:33 +00:00
rect.h Have fun recompiling gimp everyone. It's the great FSF address change! 1998-04-13 05:44:11 +00:00

README

flame - cosmic recursive fractal flames
Scott Draves <spot@cs.cmu.edu>

get source code from
http://www.cs.cmu.edu/~spot/gimp/flame.tar.gz

images, documentation, and other interfaces (a batch animation
renderer and a low-quality interactive editor) are available from
http://www.cs.cmu.edu/~spot/flame.html

-----------------------

you are encouraged to exhibit the output of this software publicly as
long as this software is credited as the source of the images.

i also encourage you to let me know what you make with it, what you
dis/like about it, and how it can be improved.

-----------------------

0.12 as of Thu Oct 9
added variation_same. made preview have same aspect ratio as final
image.  included binary in tar file.

0.11 as of Sun Sep 28
patch from Owen Taylor <owt1@cornell.edu> gtk_signal_connect_object ->
gtk_signal_connect.  hacked mw routines so i can update my previews.
removed much of mw code that i don't use.

0.10 as of Fri Sep 26
Added "eight directions" edit window.  relayedout other widgets.

0.9 as of Tue Sep 23
reconfigured to use Makefile.am.  cleaned warnings out of code.

0.8 as of Thu Sep 18
added Makefile.in.patch, made gimp integration easier.  changed
license.  added some built-in cmaps to the menu.

0.7 as of Sun Sep 14
fixed image leak (thx Marcelo Malheiros).  removed UI to black cmap
(default is now gradient).  added preview of the flame, disabled
randomize mode in favor of a randomize button.  added beginning of
edit dialog, including multi-threaded computation of previews, but
disabled for the release.

0.6 as of Thu Sep 11
added preview of cmap.  added black cmap.  added access to current
gradient, but there is an image leak.

0.5 as of Sat Sep 6
cmaps now come from image menus.  clarified license terms.

0.4 as of Thu Sep 4
added variation menu.  removed text display, added load/store buttons.
fixed alpha blend to be stable (alpha of 0 has no effect) and protect
against overflow.

0.3 as of Tue Sep 2
added alpha channel

0.2 as of Aug 24 1997
real -> double, other header file reorganization.  added new cmaps.
added gimp interface.