Removed RCS revision history. It was creating compiler warnings and we
do have CVS logs anyway. --Sven
This commit is contained in:
@ -29,326 +29,6 @@
|
||||
* save_ok_callback() - Destroy the save dialog and save the image.
|
||||
* save_dialog() - Pop up the save dialog.
|
||||
*
|
||||
* Revision History:
|
||||
*
|
||||
* $Log$
|
||||
* Revision 1.20 2000/01/25 23:06:08 mitch
|
||||
* 2000-01-25 Michael Natterer <mitch@gimp.org>
|
||||
*
|
||||
* * app/appenv.h: removed BOUNDS, MINIMUM and MAXIMUM. No need to
|
||||
* include both <glib.h> and <gtk/gtk.h>.
|
||||
*
|
||||
* * app/*
|
||||
* * tools/pdbgen/pdb/text_tool.pdb: s/BOUNDS/CLAMP/,
|
||||
* same for MIN and MAX.
|
||||
*
|
||||
* * app/preferences_dialog.c: the "Check Size" widget was connected
|
||||
* to the transparency_type variable.
|
||||
*
|
||||
* * plug-ins/common/sobel.c: removed definitions of MIN and ROUND.
|
||||
*
|
||||
* * libgimp/gimp.h: #include "gimplimits.h" and "gimpcolorspace.h".
|
||||
*
|
||||
* * plug-ins/*: don't include the two files.
|
||||
*
|
||||
* Revision 1.19 2000/01/25 17:46:54 mitch
|
||||
* 2000-01-25 Michael Natterer <mitch@gimp.org>
|
||||
*
|
||||
* * configure.in
|
||||
* * po-plug-ins/POTFILES.in
|
||||
* * plug-ins/common/Makefile.am
|
||||
* * plug-ins/common/plugin-defs.pl
|
||||
* * plug-ins/megawidget/*: removed. (There were only 3 functions
|
||||
* left which were used by ~5 plugins, so I moved the resp. functions
|
||||
* to the plugins). More preview stuff to come...
|
||||
*
|
||||
* * app/airbrush_blob.c
|
||||
* * modules/colorsel_triangle.c
|
||||
* * modules/colorsel_water.c: use G_PI instead of M_PI.
|
||||
*
|
||||
* * app/procedural_db.h
|
||||
* * libgimp/gimpenums.h
|
||||
* * plug-ins/script-fu/script-fu-constants.c
|
||||
* * tools/pdbgen/enums.pl: new PDB return value STATUS_CANCEL which
|
||||
* indicates that "Cancel" was pressed in a plugin dialog. (Useful
|
||||
* only for file load/save plugins).
|
||||
*
|
||||
* * app/fileops.[ch]
|
||||
* * app/menus.c: changes to handle STATUS_CANCEL correctly. Did some
|
||||
* code cleanup in fileops.[ch]. Pop up a warning if File->Save
|
||||
* failed.
|
||||
*
|
||||
* * app/plug_in.c: return_val[0] is of type PDB_STATUS, not
|
||||
* PDB_INT32.
|
||||
*
|
||||
* * libgimp/gimpmath.h: new constant G_MAXRAND which equals to
|
||||
* RAND_MAX if it exists or to G_MAXINT otherwise.
|
||||
*
|
||||
* * libgimp/gimpwidgets.[ch]: new function gimp_random_seed_new()
|
||||
* which creates a spinbutton and a "Time" toggle.
|
||||
* Call the function which does the "set_sensitive" magic from the
|
||||
* radio button callback.
|
||||
*
|
||||
* * plug-ins/[75 plugins]:
|
||||
*
|
||||
* - Return STATUS_CANCEL in all file load/save dialogs if "Cancel"
|
||||
* was pressed.
|
||||
* - Standardized the file plugins' "run" functions.
|
||||
* - Use G_PI and G_MAXRAND everywhere.
|
||||
* - Added tons of scales and spinbuttons instead of text entries.
|
||||
* - Applied uniform packing/spacings all over the place.
|
||||
* - Reorganized some UIs (stuff like moving the preview to the top
|
||||
* left corner of the dialog).
|
||||
* - Removed many ui helper functions and callbacks and use the stuff
|
||||
* from libgimp instead.
|
||||
* - I tried not to restrict the range of possible values when I
|
||||
* replaced entries with spinbuttons/scales but may have failed,
|
||||
* though in some cases. Please test ;-)
|
||||
* - #include <libgimp/gimpmath.h> where appropriate and use it's
|
||||
* constants.
|
||||
* - Indentation, s/int/gint/ et.al., code cleanup.
|
||||
*
|
||||
* RFC: The plugins are definitely not useable with GIMP 1.0 any
|
||||
* more, so shouldn't we remove all the remaining compatibility
|
||||
* stuff ??? (like "#ifdef GIMP_HAVE_PARASITES")
|
||||
*
|
||||
* Revision 1.18 2000/01/17 17:02:26 mitch
|
||||
* 2000-01-17 Michael Natterer <mitch@gimp.org>
|
||||
*
|
||||
* * libgimp/gimpcolorbutton.c: emit the "color_changed" signal
|
||||
* whenever the user selects "Use FG/BG Color" from the popup menu.
|
||||
*
|
||||
* * libgimp/gimpwidgets.c: gimp_table_attach_aligned(): allow the
|
||||
* function to be called with label == NULL.
|
||||
*
|
||||
* * plug-ins/AlienMap/AlienMap.c
|
||||
* * plug-ins/AlienMap2/AlienMap2.c
|
||||
* * plug-ins/common/CEL.c
|
||||
* * plug-ins/common/CML_explorer.c
|
||||
* * plug-ins/common/apply_lens.c
|
||||
* * plug-ins/common/checkerboard.c
|
||||
* * plug-ins/common/engrave.c
|
||||
* * plug-ins/common/exchange.c
|
||||
* * plug-ins/common/gauss_iir.c
|
||||
* * plug-ins/common/gauss_rle.c
|
||||
* * plug-ins/common/illusion.c
|
||||
* * plug-ins/common/max_rgb.c
|
||||
* * plug-ins/common/mblur.c
|
||||
* * plug-ins/common/oilify.c
|
||||
* * plug-ins/common/sel_gauss.c
|
||||
* * plug-ins/common/shift.c
|
||||
* * plug-ins/common/smooth_palette.c
|
||||
* * plug-ins/common/sparkle.c
|
||||
* * plug-ins/common/video.c
|
||||
* * plug-ins/common/vpropagate.c
|
||||
* * plug-ins/common/warp.c
|
||||
* * plug-ins/sgi/sgi.c: more ui updates.
|
||||
*
|
||||
* Revision 1.17 2000/01/13 15:39:25 mitch
|
||||
* 2000-01-13 Michael Natterer <mitch@gimp.org>
|
||||
*
|
||||
* * app/gimpui.[ch]
|
||||
* * app/preferences_dialog.c: removed & renamed some functions from
|
||||
* gimpui.[ch] (see below).
|
||||
*
|
||||
* * libgimp/Makefile.am
|
||||
* * libgimp/gimpwidgets.[ch]; new files. Functions moved from
|
||||
* app/gimpui.[ch]. Added a constructor for the label + hscale +
|
||||
* entry combination used in many plugins (now hscale + spinbutton).
|
||||
*
|
||||
* * libgimp/gimpui.h: include gimpwidgets.h
|
||||
*
|
||||
* * plug-ins/megawidget/megawidget.[ch]: removed all functions
|
||||
* except the preview stuff (I'm not yet sure how to implement this
|
||||
* in libgimp because the libgimp preview should be general enough to
|
||||
* replace all the other plugin previews, too).
|
||||
*
|
||||
* * plug-ins/borderaverage/Makefile.am
|
||||
* * plug-ins/borderaverage/borderaverage.c
|
||||
* * plug-ins/common/plugin-defs.pl
|
||||
* * plug-ins/common/Makefile.am
|
||||
* * plug-ins/common/aa.c
|
||||
* * plug-ins/common/align_layers.c
|
||||
* * plug-ins/common/animationplay.c
|
||||
* * plug-ins/common/apply_lens.c
|
||||
* * plug-ins/common/blinds.c
|
||||
* * plug-ins/common/bumpmap.c
|
||||
* * plug-ins/common/checkerboard.c
|
||||
* * plug-ins/common/colorify.c
|
||||
* * plug-ins/common/convmatrix.c
|
||||
* * plug-ins/common/cubism.c
|
||||
* * plug-ins/common/curve_bend.c
|
||||
* * plug-ins/common/deinterlace.c
|
||||
* * plug-ins/common/despeckle.c
|
||||
* * plug-ins/common/destripe.c
|
||||
* * plug-ins/common/displace.c
|
||||
* * plug-ins/common/edge.c
|
||||
* * plug-ins/common/emboss.c
|
||||
* * plug-ins/common/hot.c
|
||||
* * plug-ins/common/nlfilt.c
|
||||
* * plug-ins/common/pixelize.c
|
||||
* * plug-ins/common/waves.c
|
||||
* * plug-ins/sgi/sgi.c
|
||||
* * plug-ins/sinus/sinus.c: ui updates like removing megawidget,
|
||||
* using the dialog constructor, I18N fixes, indentation, ...
|
||||
*
|
||||
* Revision 1.16 2000/01/01 15:38:59 neo
|
||||
* added gettext support
|
||||
*
|
||||
*
|
||||
* --Sven
|
||||
*
|
||||
* Revision 1.15 1999/11/27 02:54:25 neo
|
||||
* * plug-ins/sgi/sgi.c: bail out nicely instead of aborting when
|
||||
* saving fails.
|
||||
*
|
||||
* --Sven
|
||||
*
|
||||
* Revision 1.14 1999/11/26 20:58:26 neo
|
||||
* more action_area beautifiction
|
||||
*
|
||||
*
|
||||
* --Sven
|
||||
*
|
||||
* Revision 1.13 1999/10/20 01:45:41 neo
|
||||
* the rest of the save plug-ins !?
|
||||
*
|
||||
*
|
||||
* --Sven
|
||||
*
|
||||
* Revision 1.12 1999/04/23 06:32:41 asbjoer
|
||||
* use MAIN macro
|
||||
*
|
||||
* Revision 1.11 1999/04/15 21:49:06 yosh
|
||||
* * 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
|
||||
*
|
||||
* Revision 1.10 1999/01/15 17:34:37 unammx
|
||||
* 1999-01-15 Federico Mena Quintero <federico@nuclecu.unam.mx>
|
||||
*
|
||||
* * Updated gtk_toggle_button_set_state() to
|
||||
* gtk_toggle_button_set_active() in all the files.
|
||||
*
|
||||
* Revision 1.9 1998/06/06 23:22:19 yosh
|
||||
* * adding Lighting plugin
|
||||
*
|
||||
* * updated despeckle, png, sgi, and sharpen
|
||||
*
|
||||
* -Yosh
|
||||
*
|
||||
* Revision 1.5 1998/05/17 16:01:33 mike
|
||||
* Removed signal handler stuff used for debugging.
|
||||
* Added gtk_rc_parse().
|
||||
* Removed extra variables.
|
||||
*
|
||||
* Revision 1.4 1998/04/23 17:40:49 mike
|
||||
* Updated to support 16-bit <unsigned> image data.
|
||||
*
|
||||
* Revision 1.3 1997/11/14 17:17:59 mike
|
||||
* Updated to dynamically allocate return params in the run() function.
|
||||
* Added warning message about advanced RLE compression not being supported
|
||||
* by SGI.
|
||||
*
|
||||
* Revision 1.2 1997/07/25 20:44:05 mike
|
||||
* Fixed image_load_sgi load error bug (causes GIMP hang/crash).
|
||||
*
|
||||
* Revision 1.1 1997/06/18 00:55:28 mike
|
||||
* Initial revision
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
|
Reference in New Issue
Block a user