Commit Graph

22 Commits

Author SHA1 Message Date
Michael Natterer 81269b1fa3 plug-ins/flame/Makefile.am removed
2000-04-01  Michael Natterer  <mitch@gimp.org>

	* plug-ins/flame/Makefile.am
	* plug-ins/flame/megawidget.[ch]: removed

	* plug-ins/flame/flame.c: general ui cleanup, added some sanity
	checks when opening a flame file, indentation.
2000-04-01 15:48:48 +00:00
Marc Lehmann 734d4c42b0 *** empty log message *** 2000-01-31 02:32:30 +00:00
Sven Neumann 1c2b0228ca The way is now free for a new millenium without sprintf being used together with
gettext.


--Sven
1999-12-30 18:54:17 +00:00
Sven Neumann aa79cb37f1 worked on the dialog layout
* plug-ins/flame/flame.c: worked on the dialog layout

* plug-ins/pagecurl/pagecurl.c: register with the correct image type


--Sven
1999-12-27 14:14:53 +00:00
SHIRASAKI Yasuhiro 23f7ad6bd2 Remove fpsetmask() 1999-12-13 10:52:22 +00:00
Shirasaki Yasuhiro 4abc096ea9 Added missing app/path_tool.c.
1999-12-13  Shirasaki Yasuhiro  <yasuhiro@gnome.gr.jp>

	* po/POTFILES.in: Added missing app/path_tool.c.

	* plug-ins/common/displace.c
	* plug-ins/flame/flame.c
	* plug-ins/flame/Makefile.am
	* plug-ins/common/spheredesigner.c
	* po-plug-ins/POTFILES.in: Added gettext support.

	* plug-ins/Lighting/lighting_main.c
	* plug-ins/Lighting/lighting_ui.c: More _() tagging.

	* plug-ins/common/sample_colorize.c: Added missing INIT_I18N*().

-- yasuhiro
1999-12-13 10:38:21 +00:00
Sven Neumann 979bab8ddc added dots to all menu entries of interactive plug-ins and did the usual
action area fixes on lots of them



--Sven
1999-11-23 23:49:45 +00:00
CET 1999 Olof S Kylander 48c7eb05b0 plug-ins/AlienMap/AlienMap.c plug-ins/AlienMap2/AlienMap2.c
Sat Nov 20 19:52:30 CET 1999 Olof S Kylander <olof@gimp.org>

        * plug-ins/AlienMap/AlienMap.c
        * plug-ins/AlienMap2/AlienMap2.c
        * plug-ins/FractalExplorer/FractalExplorer.c
        * plug-ins/common/CML_explorer.c
        * plug-ins/common/checkerboard.c
        * plug-ins/common/diffraction.c
        * plug-ins/common/exchange.c
        * plug-ins/common/gqbist.c
        * plug-ins/common/gradmap.c
        * plug-ins/common/grid.c
        * plug-ins/common/lic.c
        * plug-ins/common/mapcolor.c
        * plug-ins/common/newsprint.c
        * plug-ins/common/plasma.c
        * plug-ins/common/randomize.c
        * plug-ins/common/sample_colorize.c
        * plug-ins/common/scatter_hsv.c
        * plug-ins/common/snoise.c
        * plug-ins/common/warp.c
        * plug-ins/flame/flame.c
        * plug-ins/ifscompose/ifscompose.c
        * plug-ins/maze/maze.c

        Updated menu location as suggested in the proposal from me
        with comments form others. (Mitch what about fixing the sub
        menu location so submenus allways is in top of a menu. Exception
        of Repeat last, Re-show last and Filter all Layers, which should
        be in top of the Filters menu.)
1999-11-20 18:55:54 +00:00
Sven Neumann 9c7a13b6cd include all header files that belong to libgimpui
* libgimp/gimpui.h: include all header files that belong to
        libgimpui

        * plug-ins/common/compose.c
        * plug-ins/common/grid.c
        * plug-ins/common/tiff.c
        * plug-ins/flame/flame.c
        * plug-ins/flame/libifs.c
        * plug-ins/gdyntext/charmap.c
        * plug-ins/gdyntext/charmap_window.c
        * plug-ins/gdyntext/font_selection.c
        * plug-ins/gdyntext/message_window.c
        * plug-ins/imagemap/imap_preferences.c
        * plug-ins/script-fu/script-fu-scripts.c
        * plug-ins/sel2path/math.c: out of libgimp only include gimp.h,
        gimpui.h and stdplugins-intl.h

--Sven
1999-11-14 21:56:01 +00:00
Marc Lehmann 88e0cc3155 api change #2, fix #1 1999-10-24 20:49:09 +00:00
Marc Lehmann ec40ac728b API PATCH #2 or so 1999-10-17 00:07:55 +00:00
Tor Lillqvist 0457d6914a New file.
* plug-ins/makefile.msc: New file.

	* plug-ins/*/*.c (Well, not really all files, but many):
 	Portability fixes. Include config.h, and guard inclusion of POSIX
 	and Unix headers like <unistd.h>, <dirent.h> and
 	<sys/time.h>. Include <string.h> if functions from it are
 	used. Use g_ntohl() and g_htonl() insteead of ntohl() and htonl(),
 	thus no need to include <netinet/in.h>. Include <io.h> on Win32
 	when using open/read/write (which actually are defined as
 	_open/_read/_write by glib.h). Define S_* macros if necessary on
 	Win32. Define rint() and M_PI if necessary (these definitions
 	should be factored out somewhere, no sense repeating them in lots
 	of files). Open files in binary mode when needed.

	* plug-ins/FractalExplorer/FractalExplorer.c: Use
 	g_malloc()/g_free(). Use g_strdup_printf().

  	* plug-ins/dbbrowser/dbbrowser.c: No need to include <X11/Xlib.h>.

	* plug-ins/destripe/destripe.c: Guard use of SIGBUS.

	* plug-ins/{flame/flame,hrz/hrz,pnm/pnm}.c: No need to check for
 	NULL returns from g_malloc() and g_new() as they abort on failure.
	Use g_strdup_printf().

	* plug-ins/gz/gz.c: Win32 version of running the subprocess.

	* plug-ins/hrz/hrz.c: Win32 version. Use more generic tests for
 	non-Unix (OS/2 and Win32), for instance HAVE_MMAP.

	* plug-ins/script-fu/interp_slib.c: Win32 version of myruntime().

	* plug-ins/script-fu/interp_sliba.c: Handle \\ (escaped backslahsh).

	* plug-ins/script-fu/script-fu-console.c: Bypass on Win32.

	* plug-ins/script-fu/script-fu-scripts.c: Portability fixes. Use
 	g_strdup_printf() instead of separate malloc() and sprintf(). Use
 	g_strescape() for strings being passed to Scheme. Some Win32-only
 	stuff.
1999-05-29 01:28:24 +00:00
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
Manish Singh ab0f6afcfa Upgraded to libtool 1.2b
* Upgraded to libtool 1.2b

* Reversioned libgimp to use gtk-style without a funky soname

* configure.in: craft GLIB_CFLAGS and GLIB_LIBS

* Makefile.am (pretty much all of em): changed to use new library
naming scheme. Only link libgimpui and libgtk et al to the plugins
that actually need them.

* app/gimage_cmds.c: corrected typo that resulted in corrupt PDB
record

* libgimp/gimp.h
* libgimp/gimpwire.h
* libgimp/gimpmenu.[ch]: clean up the callback code

* Removed unecessary inclusion of gtk headers for plugins that
don't use em

* plug-ins/zealouscrop/zealouscrop.c: use gint8 instead of gboolean,
save some mem

* plugged some warnings in animationplay, flame, fp, gee, gfig

* gimptool.in: changes for library reversioning, added --nogimpui
option for not linking in libgimpui

* configure.in: added finnish translation

-Yosh
1998-09-20 23:04:33 +00:00
Manish Singh 476a602b1e don't use app private includes
-Yosh
1998-06-30 19:14:12 +00:00
Manish Singh 83e02a396f minor unused variable warning cleanup
* app/interface.c: minor unused variable warning cleanup

* plug-ins/bumpmap/bumpmap.c: another warning cleanup

* plug-ins/flame/flame.c: time(NULL) instead of time(0)

* plug-ins/gpc/Makefile.am
* plug-ins/megawidget/Makefile.am: install in $libdir instead of
$gimpplugindir since they *are* libs. Some archs try to exec them, and it
barfs

-Yosh
1998-06-28 06:33:38 +00:00
Manish Singh 84abd5d700 Have fun recompiling gimp everyone. It's the great FSF address change!
-Yosh
1998-04-13 05:44:11 +00:00
Manish Singh 909a3dc590 configure.in: fix for $srcdir != $builddir for data. Tightened check for
random() and add -lucb on systems that need it. Fix for xdelta.h check. Find
xemacs as well as emacs. Properly define settings for print plugin.

app/Makefile.am: ditch -DNDEBUG, since nothing uses it

flame: properly handle random() and friends

pnm: workaround for systems with old sprintfs

print, sgi: fold back in portability fixes

threshold_alpha: properly get params in non-interactive mode

bmp: updated and merged in

-Yosh
1998-04-07 03:41:22 +00:00
EST 1998 Adrian Likins d728bead19 Changed MAIN(); to MAIN()
Mon Mar 16 17:50:56 EST 1998 Adrian Likins <adrian@gimp.org>

        * plugins/illusion/illusion.c:
        * plugins/papertile/papertile.c:
        * plugins/fractaltrace/fractaltrace.c:
        * plugins/flame/flame.c: Changed MAIN(); to MAIN()

        *gimprc_user: added a commented out (install-colormap)
        option

        *app/install.c: comsetic update to show info about .gimp/scripts

        *plugins/sparkle/sparckle.c:
        *plugins/despeckle/despeckle.c: made a local MIN/MAX instead
        of redefing the normal one (causes problems on some compilers)

-adrian
1998-03-16 23:02:31 +00:00
Tim Janik 81432a0543 also destroy the main dialog if the "Cancel" button is clicked.
Sun Mar 15 06:15:37 1998  Tim Janik  <timj@gimp.org>

        * plug-ins/exchange/exchange.c (doDialog): also destroy the main dialog
                if the "Cancel" button is clicked.

                        * plug-ins/flame/flame.c: use gtk_quit_add_destroy instead of
                                gtk_quit_add (,gtk_widget_destroy,), i should have really known
                                        better since i wrote gtk_quit_add_destroy() exclusively for the gimp ;)
                                                * app/tips_dialog.c (tips_dialog_create): likewise.
                                                        * app/indexed_palette.c (indexed_palette_create): likewise.
                                                                * app/fileops.c (file_open_callback): likewise.
                                                                        * app/fileops.c (file_save_as_callback): likewise.

                                                                        Sun Mar 15 03:54:58 1998  Tim Janik  <timj@gimp.org>

                                                                                * plug-ins/AlienMap/AlienMap.c: show/hide about dialog, don't affect
                                                                                        the main dialog.
1998-03-15 05:41:01 +00:00
Tim Janik a92e96fe1a hide the dialog on delete. (make_file_dlg): hide the dialog on delete.
Sun Mar 15 03:54:58 1998  Tim Janik  <timj@gimp.org>

        * plug-ins/flame/flame.c (edit_callback): hide the dialog on delete.
                (make_file_dlg): hide the dialog on delete.

                        * plug-ins/ifscompose/ifscompose.c (ifs_options_dialog): hide the dialog
                                on delete.

                                        * app/interface.c (toolbox_delete): handle WM delete of toolbox
                                                correctly.
                                                        (gdisplay_delete): don't close image window without confirmation.
1998-03-15 04:48:18 +00:00
Elliot Lee 32cefec8f7 Initial revision 1997-11-24 22:05:25 +00:00