1. 07 Feb, 2004 1 commit
  2. 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
  3. 07 Feb, 2001 1 commit
  4. 23 Jan, 2001 1 commit
    • Michael Natterer's avatar
      Makefile.am configure.in added stuff for the new library below. · cb166972
      Michael Natterer authored
      2001-01-24  Michael Natterer  <mitch@gimp.org>
      	* Makefile.am
      	* configure.in
      	* gimptool.in: added stuff for the new library below.
      	* libgimpmath/.cvsignore
      	* libgimpmath/Makefile.am
      	* libgimpmath/gimpmath.def
      	* libgimpmath/gimpmath.h
      	* libgimpmath/gimpmathtypes.h
      	* libgimpmath/gimpmatrix.c
      	* libgimpmath/gimpmatrix.h
      	* libgimpmath/gimpvector.c
      	* libgimpmath/gimpvector.h
      	* libgimpmath/makefile.mingw.in
      	* libgimpmath/makefile.msc: new shared library. Depends on glib only.
      	* libgimp/Makefile.am
      	* libgimp/gimp.def
      	* libgimp/gimp.h: removed the math stuff.
      	* libgimp/gimpmath.h
      	* libgimp/gimpmatrix.[ch]
      	* libgimp/gimpvector.[ch]: removed.
      	* app/Makefile.am
      	* plug-ins/Lighting/Makefile.am
      	* plug-ins/MapObject/Makefile.am
      	* plug-ins/pagecurl/Makefile.am: link against libgimpmath.la
      	* app/[many files]
      	* libgimpcolor/gimpcolorspace.c
      	* libgimpcolor/gimprgb.c
      	* libgimp/gimpadaptivesupersample.c
      	* libgimp/gimpbilinear.c
      	* libgimp/gimpwidgets.c
      	* modules/colorsel_gtk.c
      	* modules/colorsel_triangle.c
      	* modules/colorsel_water.c
      	* plug-ins/libgck/gck/gckcolor.c
      	* tools/pdbgen/pdb/channel.pdb
      	* tools/pdbgen/pdb/image.pdb: include "libgimpmath/gimpmath.h",
      	removed the remaining includes of the old color stuff.
  5. 25 Dec, 2000 1 commit
  6. 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.
  7. 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.
  8. 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.
  9. 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.
  10. 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.
  11. 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.
  12. 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
  13. 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.
  14. 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.
  15. 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.
  16. 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.
  17. 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.
  18. 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.
  19. 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.
  20. 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
  21. 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.
  22. 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.
  23. 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.
  24. 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).
  25. 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.
  26. 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.
  27. 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-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
      	* plug-ins/print/print.c: Guard for SIGBUS being undefined. Open
       	output file in binary mode.
      	* po/makefile.msc: Add no.
  28. 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.
  29. 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.
  30. 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
      	* libgimp/makefile.msc: Miscellaneous updates. The gimpi library
       	is now built as a static library.
  31. 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
      	* libgimp/gimpfileselection.c: Define S_ISDIR and S_ISREG if
      	* 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.
  32. 07 Mar, 1999 2 commits