1. 21 Nov, 2004 1 commit
    • Hans Breuer's avatar
      [new file] app/dialogs/Makefile.am : added to EXTRA_DIST · 696663a6
      Hans Breuer authored
      2004-09-21  Hans Breuer  <hans@breuer.org>
      	* app/dialogs/makefile.msc : [new file]
      	  app/dialogs/Makefile.am : added to EXTRA_DIST
      	* **/makefile.msc app/gimpcore.def : updated
      	* app/gimp.rc : let wilber be first
      	* app/widgets/gimppropwidgets.c : msvc6 can't cast uint64 either
      	* libgimpbase/gimpwin32-io.h : make up recent loss of ftruncate in GLib
      	* libgimpthumbnail/gimpthumbnail.c : <process.h> for getpid() on win32
      	* plug-ins/helpbrowser/dialog.c : include gimpwin32-io.h
      	* plug-ins/script-fu/siodwrapper.c plug-ins/script-fu/scrip-fu.c : there
      	is no script-fu-server on win32
  2. 01 Aug, 2004 1 commit
    • Hans Breuer's avatar
      build but *dont link* display-enums.obj, widget-enums.obj and · 3b303914
      Hans Breuer authored
      2004-07-31  Hans Breuer  <hans@breuer.org>
      	* app/display/makefile.msc app/widgets/makefile.msc : build
      	but *dont link* display-enums.obj, widget-enums.obj and
      	gimpdisplayoptions.obj. They must be in the dll
      	* app/makefile.msc : build gimp.exe and gimp-console.exe both
      	using the same gimp-core.dll
      	* app/gimpcore.def : new file, exports for gimp-core.dll
      	* app/Makefile.am : added to EXTRA_DIST
      	* cursors/makefile.msc : new file to create gimp-tool-cursors.h
      	* cursors/Makefile.am : added to EXTRA_DIST
      	* **/makefile.msc : updated
      	* app/main.c app/app_procs.c : moved code to close the console
      	from the former to the later. It only is to be used if The Gimp
      	is not build as console app.
      	* plug-ins/gfig/gfig.c : dont gimp_drawable_detach() the same
      	drawable twice
      	* plug-ins/gfig-dialog.c() : added a g_return_if_fail() to avoid
      	crashing on File/Import
  3. 11 Jul, 2004 1 commit
    • Hans Breuer's avatar
      updated app/actions/makefile.msc app/menus/makefile.msc : (new files) · b56eb39e
      Hans Breuer authored
      2004-07-11  Hans Breuer  <hans@breuer.org>
      	* **/makefile.msc : updated
      	  app/actions/makefile.msc app/menus/makefile.msc : (new files)
      	  app/actions/Makefile.msc app/menus/Makefile.am : added to EXTRA_DIST
      	* libgimpbase/gimputils.c libgimpwidgets/gimpmemsizeentry.c
      	  app/widgets/gimppropwidgets.c : bumped compiler version check,
      	msvc6 still can't cast from unsigned __int64 to double
      	* app/actions/debug-actions.c : only use debug_*_callback
      	and thus debug_action if ENABLE_DEBUG_MENU
      	* app/core/gimpalette-import.c : added gimpwin32-io.h
      	* plug-ins/common/convmatrix.c : s/snprintf/g_snprintf/
      	* plug-ins/common/screenshot.c : make it compile with msvc,
      	but still no win32 specific implementation ...
  4. 21 Mar, 2004 1 commit
    • Michael Natterer's avatar
      s/1.3/2.0/g · f5b03f20
      Michael Natterer authored
      2004-03-21  Michael Natterer  <mitch@gimp.org>
      	* libgimpbase/makefile.msc:
      	* libgimpmodule/makefile.msc: s/1.3/2.0/g
  5. 07 Feb, 2004 1 commit
  6. 16 Nov, 2003 1 commit
    • Hans Breuer's avatar
      still unacceptable patched to compile without FT2, see bug #113681 · b23682bf
      Hans Breuer authored
      2003-11-16  Hans Breuer  <hans@breuer.org>
      	* app/text/*.c : still unacceptable patched to compile
      	without FT2, see bug #113681
      	* **makefile.msc : updated
      	* app/config/gimpconfig-dump.c : include gimpwin32-io.h
      	* app/plug-in/plug-ins.c : don't depend on g_print handling
      	%s with NULL pointers, it doesn't anymore with glib cvs at
      	least not on win32
      	* app/widgets/gimppropwidgets.c
      	  libgimpwidgets/gimpmemsizeentry.c :
      	sorry about the mess, need to work-around a stupi not able
      	to cast from guint64 to double
      	* app/widgets/gimppropwidgets.c (gimp_prop_memsize_entry_new) :
      	avoid 'overflow in floating-point constant arithmetic' by disabling
      	an imho alays questionable g_return_val_if_fail() for _MSC_VER only
      	* libgimpmodule/gimpmodule.def : sorted
      	* libgimpwidgets/gimpfileselection.c : removed unused S_ISDIR
      	* app/gui/themes.c : filenames in rc files need to be escaped
  7. 26 Aug, 2003 1 commit
  8. 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
  9. 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
  10. 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
  11. 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
      	add #ifdef __GNUC__ to avoid breaking on non standard
      	pragma #warning
      	* app/tools/makefile.msc : add gimptoolcontrol remove
      	* 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
  12. 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
      	(gimp_directory): Replace funny chars in user name (when used as
      	part of last-resort personal gimp directory name) with
      	(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
      	* libgimpbase/makefile.msc: Do compile gimpsignal.c.
  13. 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'
      	* 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
  14. 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
      	* 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
  15. 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.
  16. 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
      	* 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
  17. 07 Feb, 2001 1 commit
  18. 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.
  19. 25 Dec, 2000 1 commit
  20. 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
      	* */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.
  21. 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.
  22. 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
      * plug-ins/libgck/gck/gckcolor.c: Include <glib.h> before
      gimpmath.h, so G_PI don't get redefined when glib.h is included
      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.
  23. 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
      * 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.
  24. 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.
  25. 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
      * plug-ins/gdyntext/font_selection.c: Don't include gdkx.h with
      GTk+ 1.3.
  26. 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
      * 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
  27. 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.
  28. 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.
  29. 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.
  30. 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
      * libgimp/color_display.h: Add G_MODULE_EXPORT declarations.
  31. 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.
  32. 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.
  33. 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.
  34. 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
  35. 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.
  36. 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.
  37. 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.
  38. 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).
  39. 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.
  40. 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.