1. 24 May, 2003 1 commit
    • Hans Breuer's avatar
      updated win32 (msvc) build · 89bfbdf6
      Hans Breuer authored
      2003-05-24  Hans Breuer  <hans@breuer.org>
      
      	* **/makefile.msc **/*.def : updated win32 (msvc) build
      
      	* plug-ins/twain/twain.c plug-ins/winsnap/winsnap.c :
      	add the extra parameter to gimp_main() calls
      89bfbdf6
  2. 03 Mar, 2003 1 commit
    • Hans Breuer's avatar
      app/text/makefile.msc (new file) */makefile.msc */*/makefile.msc : updated · 594bccd5
      Hans Breuer authored
      2003-03-03  Hans Breuer  <hans@breuer.org>
      
      	* app/text/makefile.msc (new file)
      	  */makefile.msc */*/makefile.msc : updated
      
      	* app/core/gimpdata.c : define access() constants
      	for G_OS_WIN32 case
      
      	* app/text/gimptext.c : <stdlib.h> for getenv()
      
      	* libgimp/gimp.def libgimp/gimpui.def : updated externals
      
      	* libgimpwidgets/libgimp-glue.c : make dynamic_resolve
      	actually work again for 'my' DLL naming convention
      
      	* plug-ins/gap/gap_pdb_calls.c : reflect renaming
      	of GIMP_VERTICAL to GIMP_ORIENTATION_VERTICAL
      594bccd5
  3. 01 Dec, 2002 1 commit
    • Hans Breuer's avatar
      updated · 7c7ff46c
      Hans Breuer authored
      2002-11-30  Hans Breuer  <hans@breuer.org>
      
      	* */makefile.msc */*/makefile.msc : updated
      
      	* themes/Default/images/makefile.msc : new file
      	* themes/Default/makefile.msc : removed
      
      	* libgimpwidgets/gimpwidgets.def : updated
      
      	* app/core/core-types.h : renamed PIXELS and POINTS
      	to SIZE_* to avoid clashes with system headers
      	* app/pdb/text_tool_cmds.c : updated ...
      	* tools/pdbgen/enums.py : ... by renaming here too.
      
      	* app/widgets/gimphistogrambox.c : <string.h> for memcpy()
      	* app/widgets/gimppropwidgets.c : <string.h> for strlen()
      
      	* app/config/gimpconfig.c : on win32 rename always fails
      	if the destination file exists. Delete it first.
      
      	* libgimp/gimp.def : removed all '_'-prefixed exports
      	* plug-ins/common/iwarp.c : replace _gimp_layer_copy()
      	with gimp_layer_copy(), gimp_layer_add_alpha()
      
      	* libgimp/gimpmisc.c : ported gimp_timer funcs to use
      	g_timer to be more portable
      
      	* libgimpbase/gimpdatafiles.c : there are no symlinks on
      	win32, inverted to #ifndef G_OS_WIN32 as it was meant.
      
      	* libgimpbase/gimpbase.def libgimpmodule/gimpmodule.def
      	  libgimpwidgets/gimpwidgets.def : updated externals
      
      	* plug-ins/common/randomize.c plug-ins/common/sinus.c :
      	don't initialize more than the defined struct size
      
      	* plug-ins/common/warp.c : removed unneeded unistd.h and
      	signal.h include
      
      	* regexrepl/regexrepl.def : (new file) needed to build
      	as DLL
      7c7ff46c
  4. 10 May, 2002 1 commit
    • Hans Breuer's avatar
      add appconfig.lib. Statically link libgimptool/gimptool.lib. · 8522a847
      Hans Breuer authored
      2001-05-11  Hans Breuer  <hans@breuer.org>
      
      	* app/makefile.msc : add appconfig.lib. Statically
      	link libgimptool/gimptool.lib.
      
      	* app/main.c : use gimp_locale_directory()
      
      	* app/config/gimpconfig-utils.c : <string.h>
      
      	* app/config/makefile.msc : add gimpscanner
      
      	* app/core/gimpimagefile.c : some G_OS_WIN32 mess to get
      	mkdir() and chmod()
      
      	* app/display/gimpdisplayshell.c
      	  app/plug-in/plug-in-progrss.c
      	  app/tool/gimpcolorpickertool.c
      	  app/tool/gimpcroptool.c
      	  app/tool/gimpmeasuretool.c
      	  app/tool/gimpperspectivetool.c
      	  app/tool/gimprotatetool.c
      	  app/tool/gimpscaletool.c
      	  app/tool/gimpsheartool.c
      	  app/tool/gimptransformtool.c
      	  app/widgets/gimpcolormapeditor.c
      	  app/widgets/gimpcolorpanel.c
      	  app/widgets/gimptoolbox-color-area.c
      	add #ifdef __GNUC__ to avoid breaking on non standard
      	pragma #warning
      
      	* app/tools/makefile.msc : add gimptoolcontrol remove
      	tools-enum
      
      	* app/tools/tool_manager.c : need to include
      	libgimptool/gimptoolcontrol.h after core includes
      	otherwise we would compile without prototypes or
      	break miserably
      
      	* app/gui/plug-in-menus.c : replace LOCALEDIR with
      	gimp_locale_directory ()
      
      	* app/gui/preferences-dialog.c (prefs_notebook_append_page) :
      	only try to gdk_pixbuf_new_from_file() with a valid filename.
      	It should simply return NULL otherwise, but fails if the
      	filename is an empty string.
      
      	* app/paint-funcs/makefile.msc : add -FImsvc_recommended_pragmas.h
      
      	* app/widgets/gimpcolormapeditor.c : the 'row'
      	allocated needs to be 'xn * cellsize * 2' (to avoid
      	accessing unowned memory) not only width, which has
      	become allocation.width by someone commenting out
      	the correct size calculation
      
      	* app/widgets/gimpdialogfactory.c : varargs to macros
      	are GCCism or at least non standard. #define DEBUG
      	to g_print or nothing - without arguments - does fix
      	it somewhat dirty as the compiler needs to tolerate
      	the '(blah, foo, bar);' statement than
      
      	* app/widgets/makefile.msc : updated
      
      	* app/xcf/makefile.msc : add -FImsvc_recommended_pragmas.h
      
      	* etc/gimprc.win32 : use ';' to separate theme-path
      
      	* libgimpbase/gimpenv.c : #include <stdio.h>
      	for sprintf()
      
      	* app/widgets/gimpdnd.c (gimp_dnd_set_file_data) :
      	the passed in vals chunk is not always null-terminated
      	(at least not on win32). Use the length parameter too
      	to avoid reading junk filenames.
      
      	* libgimp/gimp.def : export gimp_image_get_name()
      
      	* libgimpbase/gimpbase.def : export gimp_locale_directory()
      	* libgimpbase/gimpenv.[ch] : added gimp_locale_directory ()
      
      	* libgimpbase/makefile.msc : define DATADIR and SYSCONFDIR
      	to empty string to let gimp find its files in the common
      	place (win32: relative to the top level gimp dir)
      
      	* plug-ins/common/pixelize.c : <string.h>
      
      	* plug-ins/flame/cmap.c : #include <glib.h> for g_random_int()
      
      	* plug-ins/makefile.msc : -FImsvc_recommended_pragams.h
      	and a little hack to give imagemap the prototypes it
      	desires without changing the lexed source
      
      	* themes/Default/images/makefile.msc : now added (see below)
      
      	* themes/Default/images/stock-button-reset.png : made it binary
      8522a847
  5. 29 Mar, 2002 1 commit
    • Tor Lillqvist's avatar
      Additions for Win32: Use -no-undefined. Use the gimpbase.def file. Produce · 6e256883
      Tor Lillqvist authored
      2002-03-30  Tor Lillqvist  <tml@iki.fi>
      
      	* libgimpbase/Makefile.am: Additions for Win32: Use
      	-no-undefined. Use the gimpbase.def file. Produce MS style import
      	library if possible. Install (and uninstall) import
      	libraries. Pass definition of PREFIX in CPPFLAGS.
      
      	* libgimpbase/gimpbase.def: Do export gimp_signal_private.
      
      	* libgimpbase/gimpenv.c: Similar Win32 working as in the gimp-1-2
      	branch:
      	(gimp_directory): Replace funny chars in user name (when used as
      	part of last-resort personal gimp directory name) with
      	underscores.
      	(gimp_toplevel_directory): New (Win32-only) function. Deduces the
      	installation prefix at run-time.
      	(gimp_path_runtime_fix): New function. On Win32, replace the
      	string with one where the compile-time prefix has been replaced
      	with the run-time one.
      	(gimp_path_parse, gimp_env_get_dir): Call it.
      
      	* libgimpbase/gimpsignal.c: Trim (lots of) trailing spaces in
      	copyright notice.
      	(gimp_signal_private): Bypass on Win32, return NULL. Or should we
      	call g_error(), thus requiring that calls of this are enclosed with
      	#ifdef G_OS_UNIX?
      
      	* libgimpbase/makefile.mingw.in: Add comment that it is seriously
      	out-of-date.
      
      	* libgimpbase/makefile.msc: Do compile gimpsignal.c.
      6e256883
  6. 17 Feb, 2002 1 commit
    • Hans Breuer's avatar
      from now on use make.msc from $(TOP)/glib/build/win32; all occurences of · 6cb914db
      Hans Breuer authored
      2001-02-17  Hans Breuer  <hans@breuer.org>
      
      	* */*/makefile.msc */makefile.msc : from now on use
      	make.msc from $(TOP)/glib/build/win32; all occurences
      	of DIRENT removed and general update
      
      	* app/config/makefile.msc app/paint/makefile.msc
      	  app/plug-in/makefile.msc themes/Default/makefile.msc :
      	new files
      
      	* app/base/base.c : ported to GDir usage
      
      	* app/config/gimpconfig-serialize.c :
      	  app/config/gimpconfig-deserialize.c : HAVE_UNISTD_H
      	* app/config/gimpconfig.c :
      	  app/config/gimprc.c : HAVE_UNISTD_H, use <io.h> for
      	open() prototype and merged pmode parameter
      	(_S_IREAD | _S_IWRITE)
      
      	* app/core/cpercep.c : msvc doesn't have cbrt(), provide
      	it via pow(). Also include <glib.h> for painless 'inline'
      	definition.
      
      	* app/core/gimpdatafiles.c : ported to GDir usage
      
      	* app/core/gimpimage-convert.c : work around a msvc compiler
      	limitation (can't convert from uint64 to double)
      
      	* app/file/file-open.c app/file/file-save.c :
      	access() -> _access() for G_OS_WIN32
      
      	* app/plug-in/plug-in.c : HAVE_UNISTD_H and <io.h>
      
      	* libgimpbase/gimpbase.def : updated externals
      
      	* libgimpbase/gimpenv.c : define WIN32_LEAN_AND_MEAN to
      	avoid clashes with incompatible DATADIR definitions
      
      	* libgimpcolor/gimpcolor.def : updated externals
      
      	* lingimpmath/gimpmath.def : updated externals
      
      	* libgimpwidgets/gimpwidgets.def : updated externals
      
      	* libgimpwidgets/libgimp-glue.c : adapt to const changes
      	of some prototypes
      
      	* plug-ins/makefile.msc : disabled gdyntext
      
      	* plug-ins/gap/iter_ALT/*/*.inc : GimpRunModeType -> GimpRunMode
      
      	* plug-ins/FractalExplorer/FractalExplorer.c :
      	* plug-ins/gap/gap_lib.c :
      	* plug-ins/gfig/gfig.c :
      	* plug-ins/gflare/gflare.c :
      	* plug-ins/gimpressionist/gimpressionist.c :
      	replaced DIRENT usage with GDir
      
      	* plug-ins/script-fu/script-fu-scripts.c : #include <windows.h>
      	to get the Sleep() prototype
      6cb914db
  7. 25 May, 2001 1 commit
    • Hans Breuer's avatar
      almost completely autogenerated all new makefiles (it simply was too much · 0aa29843
      Hans Breuer authored
      2001-05-25  Hans Breuer  <hans@breuer.org>
      
      	* app/*/makefile.msc : almost completely autogenerated
      	all new makefiles (it simply was too much work to do
      	this manually)
      
      	* app/core/makefile.msc :
      	* app/gui/makefile.msc :
      	* app/paint-funcs/makefile.msc : new files
      
      	* app/base/base.c : include <io.h> for unlink
      
      	* libgimp*/makefile.msc :
      	* libgimp*/*.def : adapted or regenerated
      
      	* libgimp/gimpcolorselctor.h : include gmodule.h to avoid
      	different declarations in different context.
      
      	* libgimp/proceduraldb.c : string.h for memcmp
      
      	* libgimpwidgets/libgimp-glue.c : include gimpbasetypes.h before
      	gimpunits.h
      
      	* plug-ins/common/animoptimize.c : added nops after
      	labels. At least the msvc compiler doesn't compile it otherwise
      
      	* plug-ins/twain/twain.c : added main() to allow to build
      	as console app
      0aa29843
  8. 21 May, 2001 1 commit
    • Michael Natterer's avatar
      removed removed symbols :) · 3dcd74bd
      Michael Natterer authored
      2001-05-21  Michael Natterer  <mitch@gimp.org>
      
      	* libgimp/gimp.def: removed removed symbols :)
      
      	* libgimpbase/gimpbase.def
      	* libgimpbase/makefile.mingw.in
      	* libgimpbase/makefile.msc: added because they are in EXTRA_DIST.
      	Will definitely not work before a friendly visit by Tor or Hans.
      3dcd74bd
  9. 16 Mar, 2001 1 commit
    • Hans Breuer's avatar
      app/makefile.msc adapted to current state of file renaming/restructuring. · 787ffe3e
      Hans Breuer authored
      2001-03-16  Hans Breuer  <hans@breuer.org>
      
      	* app/makefile.msc
      	* app/tools/makefile.msc : adapted to current state of file
      	renaming/restructuring. Probably will break again soon ...
      
      	* app/context_manager.c : needs register_tools () prototype
      
      	* app/gimplist.c
      	* app/gimppalette-import.c : #include <string.h> for memcpy, strcmp
      	and friends
      
      	* app/pdb/fileops_cmds.c : #include <process.h>	/* for _getpid() */
      	(Yes I know that this is not the right place to change it, but hacking
      	pdbgen.pl to get platform specific headers is out of my scope)
      
      	* app/test_commands.c : explicit casts to (GimpSetDrawableFunc) make
      	it compile even with strict checks turned on.
      
      	* app/undo.c (undo_pop_paint) : return a value even if the function
      	does nothing at the moment (makes it compile)
      
      	* libgimp/gimp.def : updated
      
      	* libgimp/gimpcolorselector.h : include <gmodule.h> to make
      	gimp_color_selector_(un)register prototypes conform to their
      	implementation
      
      	* libgimp/gimpfeatures.h : reflect 1.3 version
      
      	* libgimpmath/gimpmatrix.c
      	* libgimpwidgets/gimpdialog.c : more <string.h> inclusion
      
      	* libgimp/makefile.msc : moved gimpadativesupersample.c to
      	libgimpcolor, which makes it reusable from the core, too.
      
      	* libgimp/gimp.def : updated
      
      	* libgimp/gimpproceduraledb.c : #include <string.h>
      
      	* libgimpcolor/gimpcolor.def
      	* libgimpcolor/makefile.msc : added gimpadaptivesupersample
      
      	* libgimpmath/gimpmatrix.c : #include <string.h> for memcmp
      	* libgimpwidgets/gimpdialog.c - " - for strcmp
      787ffe3e
  10. 07 Feb, 2001 1 commit
  11. 23 Jan, 2001 1 commit
    • Michael Natterer's avatar
      Makefile.am configure.in added stuff for the new library below. · e803bedd
      Michael Natterer authored
      2001-01-23  Michael Natterer  <mitch@gimp.org>
      
      	* Makefile.am
      	* configure.in
      	* gimptool.in: added stuff for the new library below.
      
      	* libgimpcolor/.cvsignore
      	* libgimpcolor/Makefile.am
      	* libgimpcolor/gimpcolor.h
      	* libgimpcolor/gimpcolorspace.c
      	* libgimpcolor/gimpcolorspace.h
      	* libgimpcolor/gimpcolortypes.h
      	* libgimpcolor/gimphsv.c
      	* libgimpcolor/gimphsv.h
      	* libgimpcolor/gimprgb.c
      	* libgimpcolor/gimprgb.h: new shared library which both the app
      	and plug-ins link against. The library depends only on glib.
      
      	* libgimpcolor/gimpcolor.def
      	* libgimpcolor/makefile.mingw.in
      	* libgimpcolor/makefile.msc: added Win32 build files which
      	definitely don't work.
      
      	* libgimp/Makefile.am
      	* libgimp/gimpcolor.[ch]
      	* libgimp/gimpcolorspace.[ch]: removed.
      
      	* libgimp/gimp.h
      	* libgimp/gimpadaptivesupersample.c
      	* libgimp/gimpbilinear.c
      	* libgimp/gimppalette.c
      	* libgimp/gimptypes.h: include the stuff from libgimpcolor.
      
      	Plug-Ins don't need to include <libgimpcolor/gimpcolor.h>
      	explicitely. LibGimp depends on libgimpcolor and thus also includes
      	it's headers.
      
      	* libgimp/gimp.def
      	* libgimp/makefile.mingw.in: fiddled around with Win32 stuff...
      
      	* app/Makefile.am: link against libgimpcolor.la
      
      	* app/apptypes.h: include "libgimpcolor/gimpcolortypes.h"
      
      	* app/asupsample.c
      	* app/channels_dialog.c
      	* app/colormap_dialog.c
      	* app/commands.c
      	* app/convert.c
      	* app/devices.c
      	* app/disp_callbacks.c
      	* app/drawable.c
      	* app/gimpcontext.c
      	* app/gimpdnd.c
      	* app/gimpimage.c
      	* app/gimppalette.c
      	* app/gimprc.c
      	* app/gradient.c
      	* app/libgimp_glue.c
      	* app/palette.c
      	* app/palette_import.c
      	* app/qmask.c
      	* app/xcf.c
      	* app/tools/paint_core.c
      	* app/tools/paintbrush.c
      	* app/tools/pencil.c: include "libgimpcolor/gimpcolor.h" before all
      	gimp includes because it's a standalone library.
      
      	* plug-ins/FractalExplorer/Makefile.am
      	* plug-ins/Lighting/Makefile.am
      	* plug-ins/MapObject/Makefile.am
      	* plug-ins/bmp/Makefile.am
      	* plug-ins/common/Makefile.am
      	* plug-ins/common/mkgen.pl
      	* plug-ins/dbbrowser/Makefile.am
      	* plug-ins/faxg3/Makefile.am
      	* plug-ins/fits/Makefile.am
      	* plug-ins/flame/Makefile.am
      	* plug-ins/fp/Makefile.am
      	* plug-ins/gap/Makefile.am
      	* plug-ins/gdyntext/Makefile.am
      	* plug-ins/gfig/Makefile.am
      	* plug-ins/gflare/Makefile.am
      	* plug-ins/gfli/Makefile.am
      	* plug-ins/gimpressionist/Makefile.am
      	* plug-ins/helpbrowser/Makefile.am
      	* plug-ins/ifscompose/Makefile.am
      	* plug-ins/imagemap/Makefile.am
      	* plug-ins/maze/Makefile.am
      	* plug-ins/mosaic/Makefile.am
      	* plug-ins/pagecurl/Makefile.am
      	* plug-ins/print/Makefile.am
      	* plug-ins/rcm/Makefile.am
      	* plug-ins/script-fu/Makefile.am
      	* plug-ins/sel2path/Makefile.am
      	* plug-ins/sgi/Makefile.am
      	* plug-ins/webbrowser/Makefile.am
      	* plug-ins/xjt/Makefile.am: add libgimpcolor.la to LDADD.
      
      	* INSTALL: don't recommend to --disable-shared for development.
      
      	* TODO.xml: increased some percentages, added plug-in help stuff.
      e803bedd
  12. 25 Dec, 2000 1 commit
  13. 24 Aug, 2000 1 commit
    • Tor Lillqvist's avatar
      Update, tell people the MSVC makefiles are not up-to-date. · 565ca6b1
      Tor Lillqvist authored
      2000-08-24  Tor Lillqvist  <tml@iki.fi>
      
      	* README.win32: Update, tell people the MSVC makefiles are not
      	up-to-date.
      
      	* */makefile.msc: Add warning about being outdated.
      
      	* */makefile.cygwin: Remove.
      
      	* */makefile.mingw.in: New files replacing the makefile.cygwin files.
      
      	* */Makefile.am: Change correspondingly.
      
      	* configure.in: Generate corresponding makefile.mingw files.
      
      	* app/about_dialog.c: Include <gdk/gdkconfig.h> for
      	GDK_USE_UTF8_MBS. Add UTF-8 version of a string.
      
      	* libgimp/gimp.c: Remove horrible Win32 hack, not needed any longer.
      
      	* plug-ins/common/jpeg.c: Use g_message, not g_warning.
      
      	* plug-ins/common/winclipboard.c
      	* plug-ins/common/winprint.c: Remove COMPAT_CRUFT.
      
      	* plug-ins/Lighting/lighing_apply.c: Fix for non-interactive mode
      	bug, supplied by Piet van Oostrum.
      
      	* tips/makefile.mingw: New file.
      
      	* tips/Makefile.am: Add it.
      565ca6b1
  14. 30 Jul, 2000 1 commit
    • Tor Lillqvist's avatar
      Change Win32 implementation to be a bit simpler. Use minigzip (from zlib) · 8f3df4ef
      Tor Lillqvist authored
      2000-07-31  Tor Lillqvist  <tml@iki.fi>
      
      	* plug-ins/common/gz.c (load_image,save_image): Change Win32
      	implementation to be a bit simpler. Use minigzip (from zlib)
      	instead of the full gzip. Intend to include minigzip with the
      	(binary) distribution.
      
      	* libgimp/makefile.{cygwin,msc}
      	* app/makefile.{cygwin,msc}: Add G_LOG_DOMAIN.
      
      	* app/gimpbrushhose.{c,h}: Really remove these files, as
      	Adrian tried on August 23.
      
      	* plug-ins/script-fu/script-fu.c: Enable the script-fu console on
      	Win32, too.
      
      	* plug-ins/script-fu/script-fu-console.c: Now with new GLib
      	GIOChannel implementaion, compile for Win32, too. Use
      	g_io_add_watch instead of gdk_input_add (on Unix, too). The
      	callback for g_io_add_watch is passed a GIOChannel, while the
      	callback for gdk_input_add is passed a file descriptor. On Win32
      	(and possibly other non-Unices) we want GIOChannels, as we must
      	use g_io_channel_read to read from file descriptors being
      	watched. Works as previously on Unix this way, too.
      8f3df4ef
  15. 06 Jun, 2000 1 commit
    • Tor Lillqvist's avatar
      Test for help_path being non-NULL was wrong way. · 0285191f
      Tor Lillqvist authored
      2000-06-07  Tor Lillqvist  <tml@iki.fi>
      
      * app/gimphelp.c (gimp_help_netscape): Test for help_path being
      non-NULL was wrong way.
      
      * app/preferences_dialog.c (file_pref_cmd_callback): Change
      "From X Server" to "From windowing system".
      
      * app/makefile.cygwin: Update according to file name changes.
      
      * libgimp/gimp.def
      * libgimp/gimpui.def
      * libgimp/makefile.{cygwin,msc}: Update for Mitch's and Sven's
      changes.
      
      * plug-ins/libgck/gck/gckcolor.c: Include <glib.h> before
      gimpmath.h, so G_PI don't get redefined when glib.h is included
      later.
      
      From Hans Breuer, portability fixes for MSVC compilation:
      
      * app/dialog_handler.h: Bypass decalration of exported functions
      which are marked with G_MODULE_EXPORT in dialog_handler.c when
      compiling that file. Otherwise some compilers will get confused.
      
      * app/dialog_handler.c: Define a test macro for above bypass.
      
      * plug-ins/MapObject/mapobject_apply.c
      * plug-ins/MapObject/mapobject_image.c
      * plug-ins/MapObject/mapobject_shade.c: Include <string.h>.
      
      * plug-ins/flame/flame.c: Define S_ISREG if needed.
      
      * plug-ins/makefile.{cygwin,msc}: Updates.
      
      * plug-ins/sel2path/global.h: Include <stdlib.h>.
      
      * plug-ins/winsnap/winsnap.c: Include libgimp/gimpui.h.
      0285191f
  16. 28 May, 2000 1 commit
    • Tor Lillqvist's avatar
      Update to match Unix version. · 2090f176
      Tor Lillqvist authored
      2000-05-29  Tor Lillqvist  <tml@iki.fi>
      
      * gimprc.win32: Update to match Unix version.
      
      * app/gimp.sym: Add dialog_{,un}register.
      
      * app/dialog_handler.c: Include <gmodule.h>, mark above functions
      with G_MODULE_EXPORT.
      
      * app/makefile.{msc,cygwin}: Update to match current GLib 1.3.
      
      * libgimp/gimp.def
      * libgimp/gimpui.def: Update according to function name changes etc.
      
      * libgimp/makefile.{msc,cygwin}: Update for changed file
      names.
      
      * libgimp/makefile.cygwin
      * modules/makefile.cygwin: Simplify, use the
      ../build/win32/make.mingw file.
      
      * plug-ins/common/gz.c (save_image): Somewhat more informative
      error message on Win32 when gzip.exe isn't found (most probable
      cause of error).
      
      * tips/gimp_tips.txt: Clarify location of personal GIMP directory
      on Unix and Windows.
      2090f176
  17. 04 May, 2000 1 commit
    • Tor Lillqvist's avatar
      Replace "color-cube" by "min-colors". · 9be1a769
      Tor Lillqvist authored
      2000-05-04  Tor Lillqvist  <tml@iki.fi>
      
      * gimprc.win32: Replace "color-cube" by "min-colors".
      
      * */makefile.{cygwin,msc}: Updates. Install to /install/gimp.
      
      * libgimp/gimp.def: Add gimp_min_colors.
      
      * modules/cdisplay_highcontrast.c: Include gimpmath.h instead of
      math.h. Use G_PI instead of M_PI.
      9be1a769
  18. 23 Apr, 2000 1 commit
    • Tor Lillqvist's avatar
      Add gimp_ui_init. · 2041747f
      Tor Lillqvist authored
      2000-04-23  Tor Lillqvist  <tml@iki.fi>
      
      * libgimp/gimpui.def: Add gimp_ui_init.
      
      * libgimp/makefile.{cygwin,msc} (gimpui_OBJECTS): Add gimpui.
      
      * app/makefile.{cygwin,msc}
      * plug-ins/makefile.{cygwin,msc}: New installation directory.
      
      * app/datafiles.c (is_script): Must not g_free() value returned by
      g_getenv().
      
      * plug-ins/gdyntext/font_selection.c: Don't include gdkx.h with
      GTk+ 1.3.
      2041747f
  19. 10 Apr, 2000 1 commit
    • Tor Lillqvist's avatar
      Correct the info about Win32 mailing lists. · 70b1e8da
      Tor Lillqvist authored
      2000-04-10  Tor Lillqvist  <tml@iki.fi>
      
      * README: Correct the info about Win32 mailing lists.
      
      * gimprc.win32: Add perfect-mouse setting.
      
      * libgimp/gimp.h
      * app/main.c: Guard against redefinition of _stdcall.
      
      * libgimp/gimpmath.h: Define macros ISNAN and ISINF. On Win32 use
      _isnan() and _fpclass() from <float.h>, on other platforms use
      isnan() and isinf(). We really should test for isnan and isinf in the
      configure script.
      
      * tools/pdbgen/pdb/gimage.pdb
      * app/gimage_cmds.c: Include gimpmath.h, use above macros instead
      of using the nonportable isnan and isinf.
      
      * app/gdisplay_ops.c: Do use the old gtk_widget_hide/show hack on
      Win32.
      
      * libgimp/makefile.cygwin
      * libgimp/makefile.msc
      * app/makefile.cygwin
      * app/makefile.msc
      * plug-ins/makefile.cygwin
      * plug-ins/makefile.msc: Updates.
      
      * plug-ins/gfig/gfig.c (plug_in_parse_gfig_path): Simplify warning
      message on Win32.  We could use G_DIR_SEPARATOR in the sample
      gimprc line, but then we would have to call g_strescape to quote
      it, argh. Win32 users use prebuilt versions with a correct gimprc
      file anyway.
      
      (create_file_selection): Use g_get_tmp_dir().
      
      (gfig_update_stat_labels): Guard against possibly NULL value from
      g_get_home_dir().
      70b1e8da
  20. 23 Feb, 2000 1 commit
    • Tor Lillqvist's avatar
      Include <stdlib.h> for __argc and__argv. · ebf05daf
      Tor Lillqvist authored
      2000-02-24  Tor Lillqvist  <tml@iki.fi>
      
      * libgimp/gimp.h (Win32): Include <stdlib.h> for __argc and__argv.
      
      * libgimp/{gimp,gimpui}.def: Add new entry points.
      
      * libgimp/gimpenv.c (Win32): Make compileable, with no geteuid etc.
      
      * app/makefile.{cygwin,msc}
      * libgimp/makefile.{cygwin,msc}: Update object file list.
      ebf05daf
  21. 14 Feb, 2000 1 commit
    • Tor Lillqvist's avatar
      libgimp/gimp.def libgimp/gimpui.def libgimp/makefile.{cygwin,msc} · 970ad834
      Tor Lillqvist authored
      2000-02-15  Tor Lillqvist  <tml@iki.fi>
      
      * libgimp/gimp.def
      * libgimp/gimpui.def
      * libgimp/makefile.{cygwin,msc}
      * app/makefile.{cygwin,msc}
      * plug-ins/makefile.{cygwin,msc}: Updates.
      
      * app/datafiles.c (is_script): New Win32-only function, which
      tests if a file's extension matches one of the extensions in the
      PATHEXT environment variable (which the cmd.exe command
      interpreter also uses). This is to avoid starting applications
      associated with any random data file the user might have dropped
      in the plug-ins folder, while still supporting plug-ins written in
      scripting languages.
      
      * app/gimpparasite.c (gimp_parasiterc_save): (Win32:) Cannot
      rename to an existing file.
      
      * plug-ins/Lighting/lighting_image.c
      * plug-ins/Lighting/lighting_share.c
      * plug-ins/MapObject/mapobject_preview.c
      * plug-ins/MapObject/mapobject_shade.c: Use G_PI.
      
      * plug-ins/common/gz.c: #ifdef G_OS_WIN32 was used before its
      potential definition via glib.h.
      
      * plug-ins/common/jpeg.c: Also recognize Exif files, which are
      typically produced by digital cameras. The usually have a .jpg
      file name extension, and would thus already match this plug-in,
      but add the magic string just in case. They are loaded just fine
      by libjpeg even if they don't have the JFIF signature.
      
      * plug-ins/common/tiff.c: Set TIFF warning and error handler, so
      we get to pass libtiff's messages through the normal channels.
      970ad834
  22. 18 Jan, 2000 1 commit
    • Tor Lillqvist's avatar
      Some clarifications. · 31ee9515
      Tor Lillqvist authored
      2000-01-18  Tor Lillqvist  <tml@iki.fi>
      
      * README.win32: Some clarifications.
      
      * PLUGIN_MAINTAINERS: I maintain psp.
      
      * libgimp/gimp.def
      * libgimp/gimpui.def
      * libgimp/makefile.cygwin
      * libgimp/makefile.msc
      * plug-ins/makefile.cygwin
      * plug-ins/makefile.msc: Updates.
      
      * plug-ins/twain/twain.c
      * plug-ins/winsnap/winsnap.c
      * po-plug-ins/POTFILES.in: i18n.
      31ee9515
  23. 04 Jan, 2000 1 commit
    • Tor Lillqvist's avatar
      Add gimpcolorspace object. · a075daa2
      Tor Lillqvist authored
      2000-01-04  Tor Lillqvist  <tml@iki.fi>
      
      * libgimp/makefile.{cygwin.msc}: Add gimpcolorspace object.
      
      * libgimp/gimp.def: Add functions from it.
      
      Fixes from Hans Breuer:
      
      * app/datafiles.c: redefine the executable flag for Win32
      to _S_IREAD, to get _all_ files from the plug-in dirs as
      executables (including scripts)
      
      * app/main.c: Win32-specific changes to allow building Gimp as a
      console application, with all its benefits (like inheriting the
      console), but hide it if the user doesn't want it. Also, if stdout
      goes to a console, give the user a chance to read the help or
      version messages. (tml: I am not convinced that it is better to
      build gimp as a console application, but let's try it this way for
      a while.)
      
      * app/makefile.{cygwin,msc}: Build as console application, and
      link with shell32 library.
      
      * app/paint_core.c (paint_core_motion): Pass the value of a call
      to the function gimage_active_drawable() to the paint_func,
      instead of just passing the address of gimage_active_drawable...
      
      (tml: This code is only called when the TOOL_TRACES_ON_WINDOW flag
      is on, and only the clone tool sets that, and the clone tool's
      paint_func doesn't use the drawable argument, so this hasn't
      caused any trouble.)
      
      * app/plug_in.c: On Win32, to support scripts, use new function
      xspawn() instead of _spawnv. Add some more code to properly kill
      plug-ins.
      
      * libgimp/color_display.h: Add G_MODULE_EXPORT declarations.
      a075daa2
  24. 02 Jan, 2000 1 commit
    • Tor Lillqvist's avatar
      Some clarifications. · b48c5347
      Tor Lillqvist authored
      2000-01-02  Tor Lillqvist  <tml@iki.fi>
      
      * README.win32: Some clarifications.
      
      * app/makefile.{cygwin,msc}
      * libgimp/makefile.{cygwin,msc}
      * plug-ins/makefile.{cygwin,msc}: Changes corresponding to the GTk+
      source reorg. Add new files.
      
      * app/text_tool.c: Remove now unnecessary workaround for Win32
      POINTS identifier clash.
      b48c5347
  25. 14 Nov, 1999 1 commit
    • Tor Lillqvist's avatar
      Include config.h for ENABLE_NLS. · fa354890
      Tor Lillqvist authored
      1999-11-14  Tor Lillqvist  <tml@iki.fi>
      
      * libgimp/gimpexport.c: Include config.h for ENABLE_NLS.
      
      * libgimp/makefile.{cygwin,msc}: Add gimpselection.
      
      * libgimp/gimp.def: Add its entry points.
      
      * plug-ins/makefile.{cygwin,msc}: Remove rotators.
      fa354890
  26. 09 Nov, 1999 1 commit
    • Tor Lillqvist's avatar
      Must call gimp_set_remove_handler() to remove the browser_info_update · 5c614c42
      Tor Lillqvist authored
      1999-11-09  Tor Lillqvist  <tml@iki.fi>
      
      * app/module_db.c (browser_destroy_callback): Must call
      gimp_set_remove_handler() to remove the browser_info_update
      handler from the GimpSet 'modules'.
      
      Otherwise if we bring up the module browser, then close it, this
      will call browser_destroy_callback(), which will free the
      'browser_st' struct. Later when we exit the GIMP, the modules will
      be unloaded, which will cause browser_info_update() to be called,
      and passed the pointer to the already freed 'browser_st'. Whoopee.
      Thanks to Electric Fence for pointing this out.
      
      * app/makefile.{cygwin,msc}: Remove actionarea.
      
      * libgimp/gimp.h: Change declaration of nonexistent function
      gimp_layer_attach_new_parasite() to declaration of
      gimp_drawable_attach_new_parasite(), which was missing.
      
      * libgimp/gimpui.def
      * libgimp/makefile.{cygwin,msc}: Add gimpcolorbutton.
      
      * plug-ins/makefile.{cygwin,msc}: Add gap_filter and gap_plugins.
      
      * plug-ins/common/gz.c: Fix renamed variable in Win32 part.
      
      * plug-ins/gap/gap_lib.c: Use G_DIR_SEPARATOR_S.
      
      * plug-ins/gdyntext/font_selection.c: When compiling with current
      CVS GTk+ (i.e., on Win32 most likely) use the gdk_font_list_*
      functions instead of Xlib's XListFonts() and XFreeFontNames().
      
      * plug-ins/gdyntext/gdyntext.c: Use G_PI.
      
      * plug-ins/gdyntext/gdyntext_ui.c: Guard inclusion of
      unistd.h. Don't unnecessarily include gdkx.h and Xlib.h
      
      * plug-ins/winsnap/winsnap.c: Fix rectangle orientation.
      5c614c42
  27. 06 Oct, 1999 1 commit
    • Tor Lillqvist's avatar
      Fix the file_gih_save RUN_WITH_LAST_VALS case, initialise pixpipe · 61e9a437
      Tor Lillqvist authored
      1999-10-06  Tor Lillqvist  <tml@iki.fi>
      
      * plug-ins/common/gpb.c: Fix the file_gih_save RUN_WITH_LAST_VALS
      case, initialise pixpipe parameters from the parasite (Hi, Adrian!).
      
      * plug-ins/script-fu/interp_slib.c: Fix preprocessor syntax error.
      
      * app/makefile.{cygwin,msc} libgimp/makefile.{cygwin,msc}: Add new
      object files.
      
      * libgimp/gimp.def libgimp/gimpui.def: Add new entry points.
      
      * modules/makefile.{cygwin,msc}: Add -I path to the common gdk
      directory.
      61e9a437
  28. 03 Oct, 1999 1 commit
    • Tor Lillqvist's avatar
      Change the GDK_WINDOWING_* stuff to be buildable with current CVS gtk+ · d28bd8b6
      Tor Lillqvist authored
      1999-10-03  Tor Lillqvist  <tml@iki.fi>
      
      * app/cursorutil.h app/session.c app/text_tool.c: Change the
      GDK_WINDOWING_* stuff to be buildable with current CVS gtk+ (not
      recommended for X11, but necessary for Win32).
      
      * libgimp/gimp.c: Undef RGB from <windows.h> on Win32.
      
      * app/makefile.{cygwin,msc} libgimp/makefile.{cygwin,msc} *
      plug-ins/makefile.{cygwin,msc}: Add new files. Small changes for
      current gtk+.
      
      * plug-ins/common/animationplay.c: Win32 kludges.
      d28bd8b6
  29. 02 Sep, 1999 1 commit
    • Tor Lillqvist's avatar
      New files. Types and functions related to "standard" parasite types. Used · 5475ff08
      Tor Lillqvist authored
      1999-09-02  Tor Lillqvist  <tml@iki.fi>
      
      * libgimp/parasiteio.[ch]: New files. Types and functions related
      to "standard" parasite types. Used for the
      gimp-brush-pipe-parameters parasite that the gpb and psp plug-ins
      handle, and the value of which is stored in gih files, from
      which gimpbrushpipe.c parses it.
      
      * libgimp/{Makefile.am,makefile.{cygwin,msc}}: Add new files.
      
      * libgimp/gimp.def: Add its entry points.
      
      * libgimp/gimp.h: Fix cosmetic argument name error.
      
      * app/gimpbrushpipe.c: Remove code that previously
      was copied here, use functions from parasiteio.c.
      
      * plug-ins/common/gpb.c: Ditto. Add brush cell width and height
      fields to the gih save dialog. Add cleverness to update rows and
      columns as cell size is changes. (Still too easy for the user to
      get confused, though.) Display corresponding guide grid on the
      image. Unfortunately updating the guidelines doesn't seem to work.
      
      * plug-ins/common/psp.c: Use functions from parasiteio.c.
      5475ff08
  30. 26 Aug, 1999 1 commit
    • Tor Lillqvist's avatar
      Overhaul of pixmap brushes and pipes: No separate pixmap pipe · 868bdfff
      Tor Lillqvist authored
      brush tool any longer. The paintbrush, airbrush and pencil
      tools, which already knew how to handle the single-pixmap
      brushes now also handle the pipes as well.
      
      * app/pixmapbrush.{h,c}
      * app/gimpbrushpixmap.{h,c}: Removed these files.
      
      * app/Makefile.am
      * app/makefile.{cygwin,msc}: Remove from here, too.
      
      * app/gimpbrushpipe.{h,c}: Total overhaul.
      
      * app/paint_core.h
      * app/apptypes.h: Some more types moved to apptypes.h
      
      * app/context_manager.c
      * app/tool_options.c
      * app/tools.c
      * app/toolsF.h: Remove PIXMAPBRUSH tool.
      
      * app/gimpbrush.h: New method: select_brush. Used to change the
      brush in paint_core, for pipe brushes.
      
      * app/gimpbrush.c: Add gimp_brush_select_brush, which is dummy for
      the normal brushes (returns the same brush).
      
      * app/paint_core.c: Call the brush's select_brush method to get a
      potential new brush before calling the paint_func.
      
      * app/gimpbrushlist.c: Various changes related to the pixmap and
      pipe overhaul.
      
      * app/airbrush.c
      * app/pencil.c: Reorder code a bit in the tool motion function to
      avoid executing unnecessary code in the case of a pixmap brush.
      
      Other changes in the same commit:
      
      * app/install.c: Make quote_spaces extern.
      
      * app/appenv.h: Declare it.
      
      * libgimp/gimpui.def: Add missing entry points.
      
      * libgimp/makefile.{cygwin,msc}: Add missing objects to gimpui.
      868bdfff
  31. 16 Aug, 1999 1 commit
    • Tor Lillqvist's avatar
      Add G_SQRT2. · b5d790e6
      Tor Lillqvist authored
      	* app/appenv.h: Add G_SQRT2.
      
      	* app/iscissors.c: Use it.
      
      	* app/makefile.{cygwin,msc}: Add new files.
      
      	* */makefile.{cygwin,msc}: Use libintl extracted from glibc from a
      	separate directory, not from gettext, because of licensing issues
      	(we want to use the LGPL version in GTk+, so use it here, too).
      b5d790e6
  32. 21 Jul, 1999 1 commit
    • Tor Lillqvist's avatar
      Update gcc instructions. Remove warning about gettext being GPL, as the · 0aeb6370
      Tor Lillqvist authored
      	* README.win32: Update gcc instructions. Remove warning about
       	gettext being GPL, as the GIMP is GPL, too, of course, and it
       	thus doesn't matter.
      
      	* user_install.bat: Rename the template user gtkrc to gtkrc_user,
       	to reduce user confusion.
      
      	* app/main.c: Small change for gcc on Win32 compilation.
      
      	* */makefile.cygwin
      	* app/module_db.c: With newest gcc-2.95 -fnative-struct on Win32,
       	no need to have differently named DLLs (including modules) for
       	(built by) gcc and MSVC.
      
      	* app/module_db.c: Use g_strdup_printf() instead of
       	strlen(), g_malloc() and g_snprintf()
      
      	* libgimp/Makefile.am: No need to distribute gimpfeatures.h.win32,
       	the suitable gimpfeatures.h is built when making the dist.
      
      	* libgimp/gimpfeatures.h.win32: Removed.
      
      	* libgimp/makefile.cygwin
      	* libgimp/makefile.msc: Remove gimpfeatures.h.win32.
      
      	* libgimp/gimp.h: Win32 startup code changed a bit.
      
      	* plug-ins/makefile.cygwin
      	* plug-ins/makefile.msc: Add the winsnap unofficial plug-in.
      
      	* plug-ins/common/animationplay.c
      	* plug-ins/common/gz.c: (Win32) Hack aroung WinMain getting
      	clashing declarations because these guys include gdkx.h (which
      	includes windows.h), and gimp.h also declares WinMain on its own.
      0aeb6370
  33. 03 Jul, 1999 1 commit
    • Tor Lillqvist's avatar
      Advice about gcc. · 2815f523
      Tor Lillqvist authored
      	* README.win32: Advice about gcc.
      
      	* libgimp/gimp.{c,h,def}: New way to get address of PLUG_IN_INFO
       	to the gimp dll, similar as used by the EMX port. Much cleaner.
      	Works well with gcc also now.
      
      	* app/gimprc.c: Remove gratuituous printf.
      
      	* app/makefile.msc: Update with new files.
      
      	* plug-ins/makefile.msc: Small updates.
      
      	* plug-ins/makefile.cygwin: New file.
      
      	* plug-ins/gfig/gfig.c
      	* plug-ins/script-fu/script-fu-scripts.c: Include <glib.h> early.
      2815f523
  34. 28 Jun, 1999 1 commit
    • Tor Lillqvist's avatar
      Use the DEBUG nmake variable to determine whether to build for debugging · ef9bef7d
      Tor Lillqvist authored
      	* */makefile.msc: Use the DEBUG nmake variable to determine
      	whether to build for debugging or not.
      
      	* libgimp/gimp.def: Add some missing entry points.
      
      	* plug-ins/makefile.msc: Redo as to Yosh's reorg of the
       	sources. Add some plug-ins missing earlier. (For instance print,
       	which only prints to files on Win32. We still need a real Win32
       	print plug-in. Much code probably could be lifted from the bmp
       	plug-in.)
      
      	* plug-ins/MapObject/arcball.c: Change Qt_ToMatrix() to void,
       	instead of returning the address of its parameter (dubious
       	practise), as its value is never used anyway.
      
      	For the following changes, thanks to Hans Breuer:
      
      	* plug-ins/FractalExplorer/Dialogs.h: Check for feof, not to get
      	into an endless loop on malformed files.
      
      	* plug-ins/common/header.c: Support indexed images.
      
      	* plug-ins/common/sunras.c
      	* plug-ins/common/xwd.c
      	* plug-ins/print/print.h
      	* plug-ins/sgi/sgi.h: Include config.h, guard inclusion of
       	unistd.h.
      
      	* plug-ins/print/print.c: Guard for SIGBUS being undefined. Open
       	output file in binary mode.
      
      	* po/makefile.msc: Add no.
      ef9bef7d
  35. 21 Jun, 1999 1 commit
    • Tor Lillqvist's avatar
      Update version. · 12938f1b
      Tor Lillqvist authored
      	* libgimp/gimpfeatures.h.win32: Update version.
      
      	* app/file_new_dialog.c: Include gimpcontext.h.
      
      	* app/gdisplay.c: Don't pass a pointer as an int parameter,
      	pass the result of an inequality comparison to zero.
      
      	* app/makefile.msc: Add new files.
      
      	* plug-ins/makefile.msc: Build the ps plug-in, too.
      
      	* plug-ins/ps/ps.c: Add code to use a "real" output file, not a
       	pipe (needed with Win32 port of ghostscript).
      
      	Use g_strdup_printf() instead of separate g_malloc() and sprintf()
       	calls. No need to check failure of g_malloc(), it aborts on
       	failure. Open files in binary mode.
      
      	(Win32:) Use indirect command line file to guard for too long
       	command line. (Not sure if this is really needed.) Use the
       	gswin32c program.
      12938f1b
  36. 14 Jun, 1999 1 commit
    • Tor Lillqvist's avatar
      Mention using GNU gettext. · 776cd54c
      Tor Lillqvist authored
      	* README.win32: Mention using GNU gettext.
      
      	* config.h.win32: Enable NLS stuff. Remove the X11 & Unix vs. Win32
      	feature test macros, we use those from glibconfig.h and gdkconfig.h.
      
      	* app/makefile.msc: Use gettext. New object files.
      
      	* app/batch.c: No need to include <io.h> on Win32.
      
      	* app/errorconsole.c
      	* app/plug_in.c
      	* app/tile_swap.c: Include <glib.h> early to get Win32 feature
      	test macros from <glibconfig.h>.
      
      	* app/gimpset.c: Remove unnecessary (?) warning.
      
      	* app/main.c
      	* libgimp/stdplugins-intl.h: If no LOCALEDIR defined
      	(as on Win32), use the "locale" subdir in gimp_data_directory().
      
      	* app/palette.c: Open palette file in text mode.
      
      	* app/session.c
      	* app/text_tool.c: Use GDK's GDK_WINDOWING feature test macro
      	if available, not WINDOWS_DISPLAY.
      
      	* libgimp/gimpfeatures.h.win32: Correct GIMP_VERSION.
      
      	* libgimp/makefile.msc: Use gettext.
      
      	* plug-ins/makefile.msc: Use gettext. Add some missing
       	plug-ins. Advice how to build "unofficial" plug-ins.
      
      	* plug-ins/FractalExplorer/FractalExplorer.c
      	* plug-ins/faxg3/faxg3.c
      	* plug-ins/gbr/gbr.c
      	* plug-ins/gz/gz.c: Include <glib.h> early.
      
      	* plug-ins/tga/tga.c: Include config.h, use HAVE_UNISTD_H.
      776cd54c
  37. 28 May, 1999 1 commit
    • Tor Lillqvist's avatar
      No need for <io.h> on Win32. · b6021023
      Tor Lillqvist authored
      	* libgimp/gimp.c: No need for <io.h> on Win32.
      
      	* libgimp/{gimp,gimpui}.def: Add two entry points.
      
      	* libgimp/gimp.h: Can't use __declspec(dllexport) for PLUG_IN_INFO
      	when compiling with gcc on Win32. Also handle __argc, __argv and
      	_stdcall differently with gcc on Win32
      
      	* libgimp/gimpenv.c: Include <string.h>.
      
      	* libgimp/gimpfeatures.h.in: Remove lots of extraneous trailing blanks.
      
      	* libgimp/gimpfileselection.c: Include <glib.h> early, see above.
      
      	* libgimp/{gimpwire,parasite}.c: Test for NATIVE_WIN32, not
      	_MSC_VER.
      
      	* libgimp/makefile.msc: Miscellaneous updates. The gimpi library
       	is now built as a static library.
      b6021023
  38. 04 May, 1999 1 commit
    • Tor Lillqvist's avatar
      Win32 portability changes: · 1dea4958
      Tor Lillqvist authored
      	* config.h.win32, README.win32: Small changes.
      
      	* tools/pdbgen/pdb/*.pdb: Include <string.h>.
      
      	* app/*_cmds.c: Autogenerated files reflect above changes.
      
      	* libgimp/makefile.msc app/makefile.msc: Various updates,
       	including new object files. Gtk+ directory now should be called
       	gtk+ (not gtk-plus). Use win32-specific gdk subdir. Glib directory
       	now should be called just glib.
      
      	* libgimp/gimp.def: Updates.
      
      	* libgimp/gimpfeatures.h.win32: Made current with
       	gimpfeatures.h.in.
      
      	* libgimp/gimpfileselection.c: Define S_ISDIR and S_ISREG if
       	necessary.
      
      	* tools/pdbgen/pdb/fileops.pdb: Must have a
       	statement (even an empty one) after a label.
      
      	* app/fileops_cmds.c: Autogenerated file reflects above changes.
      
      	* app/crop.c: Include <string.h>.
      
      	* app/{app_procs,batch,fileops,datafiles,errorconsole,general,
       	plug_in,temp_buf,tile_swap}.c: Test NATIVE_WIN32, not
       	_MSC_VER. (NATIVE_WIN32 means we are using the Microsoft C
       	runtime, even if we might be compiling with gcc.)
      
      	* app/fileops.c: Don't include <process.h> here.
      
      	* app/fileops.h: Do include <process.h> here.
      
      	* app/gimpparasite.c: Include config.h, guard inclusion of
       	<unistd.h>. (Is the inclusion of unistd.h in source files all over
       	the place really necessary?)
      
      	* app/ink.c: MSC doesn't handle conversion from unsigned __int64
       	to double, so cast to signed.
      
      	* app/lut_funcs.c: Include config.h, and define rint() if necessary.
      
      	* app/pixel_processor.c: Include config.h without "..", like in
       	all the other places. Include <string.h>
      
      	* app/text_tool.c: Guard the "POINTS" identifier that clashes with
       	<windows.h>, sigh.
      1dea4958
  39. 07 Mar, 1999 2 commits