Commit graph

23 commits

Author SHA1 Message Date
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
Adam D. Moss da5acc39e2 1999-02-22 adam, blah blah
* app/appenv.h: fixed a macro bug waiting to happen

        * plug-ins/gee/gee.c: some crappy tweaks

        * plug-ins/psd/psd.c: debugging turned off
1999-02-22 19:30:06 +00:00
GMT 1999 Adam D. Moss 516ec006bf Better guess at how PSD files store Guide position precision.
Mon Jan 18 18:56:05 GMT 1999 Adam D. Moss <adam@gimp.org>

	* plug-ins/psd/psd.c: Better guess at how PSD files store
	Guide position precision.
1999-01-18 18:58:43 +00:00
GMT 1999 Adam D. Moss 1fa91b23aa Greatly reduced memory requirements for layered image loading - we now do
Sun Jan 10 20:13:13 GMT 1999 Adam D. Moss <adam@gimp.org>

	* plug-ins/psd/psd.c:
        Greatly reduced memory requirements for layered image loading -
        we now do just-in-time channel unpacking.  Some little
        cleanups too.
1999-01-10 20:15:45 +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
Adam D. Moss dbb8cd213f Added the ability to load Guides info from PSD files.
* plug-ins/psd/psd.c: Added the ability to load
	Guides info from PSD files.

	* app/gimage_cmds.c: Don't allow careless callers
	to add Guides outside of the image boundaries.
1998-09-04 17:55:16 +00:00
Manish Singh 05d166cd4e Removed -lc from all Makefiles, since it causes weird problems on DU4
-Yosh
1998-08-31 02:08:15 +00:00
Adam D. Moss 9e4d86333a Removed an ancient kludge that was seriously confusing the layer-mode
* app/layers_dialog.c: Removed an ancient kludge that was
	seriously confusing the layer-mode menu.

	* plug-ins/psd/psd.c: Support OVERLAY_MODE where available
1998-07-31 17:54:33 +00:00
Adam D. Moss 8712a72d0f Worked around some buggy PSD savers (suspect PS4 on Mac) - ugh. + Fixed a
* plug-ins/psd/psd.c: Worked around some buggy PSD savers
	(suspect PS4 on Mac) - ugh.  + Fixed a bug when loading layer
	masks of certain dimensions.
1998-07-31 12:58:01 +00:00
Adam D. Moss 0d268dc3b1 app/gdisplay.h app/interface.c Added the ability to cancel a running
* app/gdisplay.h
        * app/interface.c
        * app/plug_in.c: Added the ability to cancel a running
        plugin when the progress-bar has been sucked into the image
        window.

        * plug-ins/psd/psd.c: Turned debugging on again, since we
        are in a development cycle...
1998-07-12 15:18:07 +00:00
Manish Singh db28c2a313 libgimp versioning stuff
-Yosh
1998-06-19 19:47:34 +00:00
Manish Singh 6ddbb705a3 more g_message changes
* more g_message changes

* CEL plugin update

* INSTALL: info on why plugins don't get built

-Yosh
1998-05-30 07:32:37 +00:00
Manish Singh 1d95a05af0 gimp_message. libgimp also overrides g_message for all plugins. Converted
* redid the error message handling. g_message now calls message_box or prints
to console depending on whether the no_interface is set or not. gimp-message
is also exported to the PDB as a wrapper to g_message, and libgimp has a new
API: gimp_message. libgimp also overrides g_message for all plugins. Converted
lots of messages in app/* to g_message. Made script-fu a little friendlier.

* updated the regex code from grep 2.2

* said goodbye to the old script-fu logo in script-fu.h

-Yosh
1998-05-28 09:03:57 +00:00
Manish Singh 725850fe82 updates from Adam
* plug-ins/psd/psd.c: updates from Adam

* plug-ins/script-fu/scripts/text-circle.scm: new version

-Yosh
1998-05-05 18:41:55 +00:00
Manish Singh bb7b1ae3d2 Updates from Adam
-Yosh
1998-04-29 10:48:02 +00:00
Manish Singh dd27ee9478 portability fix for SunOS 4
-Yosh
1998-04-28 22:09:54 +00:00
Manish Singh 9f4f94c6c5 plug-ins/animationplay/animationplay.c plug-ins/CEL/CEL.c
* plug-ins/animationplay/animationplay.c
* plug-ins/CEL/CEL.c
* plug-ins/psd/psd.c
* plug-ins/xd/xd.c: applied gimp-joke-980427-0, warning cleanups

* app/temp_buf.c: applied gimp-entity-980427-0, temp_buf swap speedups and
more robust tempfile handling

-Yosh
1998-04-28 03:50:21 +00:00
Manish Singh bf81cf4df9 psd update, no endian problems anymore
-Yosh
1998-04-26 10:12:09 +00:00
Manish Singh 644a0060f5 updated CEL plugin added psd plugin and autoconfed for byte order
updated CEL plugin
added psd plugin and autoconfed for byte order

-Yosh
1998-04-26 09:35:56 +00:00
Manish Singh beddbcd626 Initial stable/unstable split done.
-Yosh
1998-02-20 10:41:20 +00:00
Manish Singh 4a994c001a The .cvsignores should have .libs too
-Yosh
1998-01-09 09:53:59 +00:00
Elliot Lee 3d987d673d bunch of cvsignores added 1997-11-27 21:58:02 +00:00
Elliot Lee 32cefec8f7 Initial revision 1997-11-24 22:05:25 +00:00