1. 29 May, 1999 2 commits
    • Tor Lillqvist's avatar
      New file. · 0457d691
      Tor Lillqvist authored
      	* plug-ins/makefile.msc: New file.
      
      	* plug-ins/*/*.c (Well, not really all files, but many):
       	Portability fixes. Include config.h, and guard inclusion of POSIX
       	and Unix headers like <unistd.h>, <dirent.h> and
       	<sys/time.h>. Include <string.h> if functions from it are
       	used. Use g_ntohl() and g_htonl() insteead of ntohl() and htonl(),
       	thus no need to include <netinet/in.h>. Include <io.h> on Win32
       	when using open/read/write (which actually are defined as
       	_open/_read/_write by glib.h). Define S_* macros if necessary on
       	Win32. Define rint() and M_PI if necessary (these definitions
       	should be factored out somewhere, no sense repeating them in lots
       	of files). Open files in binary mode when needed.
      
      	* plug-ins/FractalExplorer/FractalExplorer.c: Use
       	g_malloc()/g_free(). Use g_strdup_printf().
      
        	* plug-ins/dbbrowser/dbbrowser.c: No need to include <X11/Xlib.h>.
      
      	* plug-ins/destripe/destripe.c: Guard use of SIGBUS.
      
      	* plug-ins/{flame/flame,hrz/hrz,pnm/pnm}.c: No need to check for
       	NULL returns from g_malloc() and g_new() as they abort on failure.
      	Use g_strdup_printf().
      
      	* plug-ins/gz/gz.c: Win32 version of running the subprocess.
      
      	* plug-ins/hrz/hrz.c: Win32 version. Use more generic tests for
       	non-Unix (OS/2 and Win32), for instance HAVE_MMAP.
      
      	* plug-ins/script-fu/interp_slib.c: Win32 version of myruntime().
      
      	* plug-ins/script-fu/interp_sliba.c: Handle \\ (escaped backslahsh).
      
      	* plug-ins/script-fu/script-fu-console.c: Bypass on Win32.
      
      	* plug-ins/script-fu/script-fu-scripts.c: Portability fixes. Use
       	g_strdup_printf() instead of separate malloc() and sprintf(). Use
       	g_strescape() for strings being passed to Scheme. Some Win32-only
       	stuff.
      0457d691
    • Tuomas Kuosmanen's avatar
      e2a29e47
  2. 28 May, 1999 3 commits
    • 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
    • Tor Lillqvist's avatar
      Check for mmap. · 4e886ad4
      Tor Lillqvist authored
      	* configure.in: Check for mmap.
      
      	* app/makefile.msc: Depend on gimpi.lib.
      
      	* app/app_procs.c (app_init): Fix gccism: Allocate filenames (an
       	array with non-constant size) dynamically.
      
      	* app/{datafiles,fileops,general,install,module_db,temp_buf}.c:
       	Include glib.h before standard headers, because of certain obscure
       	details related to compiling with gcc on Win32.
      
      	(If you really want to know: glib.h defines he names of POSIXish
      	(but non-ANSI) functions as prefixed with underscore, because
       	that's how they are named in the msvcrt runtime C library we want
       	to use. However, defining stat as _stat causes some problems if
       	done after including the mingw32 <sys/stat.h>. So, it's easiest to
       	include <glib.h> early.)
      
      	* app/main.c: Use _stdcall and __argc, __argv with MSC, but
       	__attribute__((stdcall)) and _argc, _argv with gcc. Don't print
       	the "Passed serialization test" message on Win32. (It would open
       	up an otherwise unnecessary console window.)
      
      	* app/paint_funcs.c (gaussian_blur_region): Don't use variable sum
       	until initialized.
      
      	* app/{bezier_select,paths_dialog}.c: Include config.h and define
       	rint() if necessary.
      
      	* app/plug_in.c: Use _spawnv, not spawnv, on Win32 and OS/2.
      4e886ad4
    • jaycox's avatar
      applied fix for the channel_bounds bug from Didier Gautheron · 3893b295
      jaycox authored
      
      	* app/channel.c: applied fix for the channel_bounds bug from
      	Didier Gautheron <dgautheron@magic.fr>. (slightly modified)
      3893b295
  3. 27 May, 1999 5 commits
  4. 26 May, 1999 2 commits
    • BST 1999 Andy Thomas's avatar
      app/bezier_select.c app/bezier_selectP.h app/paths_dialog.c · 8fb9f794
      BST 1999 Andy Thomas authored
      Wed May 26 21:14:15 BST 1999 Andy Thomas <alt@gimp.org>
      
      	* app/bezier_select.c
      	* app/bezier_selectP.h
      	* app/paths_dialog.c
      	* app/rotate_tool.c
      	* app/scale_tool.c
      	* app/transform_core.c
      	* app/transform_core.h
      	* app/transform_tool.c
      	* app/transform_tool.h
      
      	Add option to show currently selected path to be displayed
      	during the transform tool operations. (Note if > 1 path locked
      	only the last selected path will be shown).
      
      	Reduced flashing of control points during update drawing of paths.
      
      	Fixed problem in transform tool rotate/scale when changing
      	layer (used to get many gdk assert failures about "gc != NULL")
      8fb9f794
    • Marc Lehmann's avatar
      see plug-ins/perl/Changes · 65e5597a
      Marc Lehmann authored
      65e5597a
  5. 25 May, 1999 1 commit
  6. 24 May, 1999 1 commit
  7. 23 May, 1999 5 commits
  8. 22 May, 1999 2 commits
    • Michael Natterer's avatar
      app/[all files with resolution info] libgimp/gimp.h libgimp/gimpimage.c · dcfb450b
      Michael Natterer authored
      1999-05-22  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
      	* app/[all files with resolution info]
      	* libgimp/gimp.h
      	* libgimp/gimpimage.c
      	* libgimp/gimpsizeentry.[ch]
      	* libgimp/gimpunit.[ch]
      	* plug-ins/newsprint/newsprint.c
      	* plug-ins/pgn/png.c
      	* plug-ins/tiff/tiff.c: double instead of float for all resolution
      	and unit-factor variables.
      
      	* app/commands.c
      	* app/crop.c
      	* app/interface.c
      	* app/layers_dialog.c
      	* app/move_tool.c
      	* app/resize.c
      	* app/rotate_tool.c
      	* app/scale_tool.c: pass the image's unit *and* gdisp->dot_for_dot
      	to all functions which create sizeentries. Never create a
      	sizeentry with UNIT_PIXEL but with the image's unit and set it's
      	unit to UNIT_PIXEL after creation if dot_for_dot is on.
      	This way the image's unit can always be picked from the menu
      	without selecting "More...".
      
      	* app/interface.c: made the query_*_box() functions use the
      	ActionArea.
      
      	* plug-ins/gimpunitmenu.c: GTK_WIN_POS_MOUSE for the unit
      	selection dialog.
      dcfb450b
    • Seth Burgess's avatar
      Added improved querying for gimprc. Can now return just about anything as · c79272ac
      Seth Burgess authored
      a string, with only a few exceptions.
      
      	ChangeLog app/gimprc.c app/gimprc.h app/gimprc_cmds.c
      c79272ac
  9. 21 May, 1999 1 commit
  10. 20 May, 1999 5 commits
  11. 19 May, 1999 6 commits
  12. 18 May, 1999 7 commits
    • Sven Neumann's avatar
      6c8be248
    • Marc Lehmann's avatar
      *** empty log message *** · cfce0c2b
      Marc Lehmann authored
      cfce0c2b
    • Marc Lehmann's avatar
      see plug-ins/perl/Changes · 711e1c22
      Marc Lehmann authored
      711e1c22
    • Sven Neumann's avatar
      Dialog layout change. · 05b59059
      Sven Neumann authored
      
      --Sven
      05b59059
    • Asbjørn Pettersen's avatar
      os2 parches spawnl() · 3c12b89a
      Asbjørn Pettersen authored
      3c12b89a
    • Michael Natterer's avatar
      store resolution values as doubles, not floats. · e494bbd5
      Michael Natterer authored
      1999-05-18  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
      	* app/app_procs.c (and many of the files below): store resolution
      	values as doubles, not floats.
      
      	* app/brush_select.c
      	* app/pattern_select.c: hide the "refresh" button in client
      	dialogs. Don't know if this is desired but it fixes a SEGV.
      
      	* app/file_new_dialog.c: New ui using code/ideas from Austin,
      	Marco and Nick. The "size" frame is still a bit bloated but I
      	didn't want to reduce it's functionality right now. It's closer to
      	the result of the last discussion but not perfect yet...
      	Added a dialog to confirm image sizes larger than the new
      	max_new_image_size value.
      	The new "reset" button uses the values from gimprc.
      	Removed some #include's, added the copyright header.
      
      	* app/gimprc.[ch]: new rc variable max_new_image_size.
      
      	* app/preferences_dialog.c: added the "max image size"
      	option. Generalized the mem size unit code.
      
      	* app/resize.c: an additional box lets the offset widget always
      	shrink correctly.
      
      	* app/text_tool.c: fixed a minor memory leak.
      
      	* libgimp/Makefile.am: add all widgets to libgimpui.*
      
      	* libgimp/gimpfileselection.c: cosmetic changes.
      
      	* libgimp/gimplimits.h: a maximum image size which should satisfy
      	everybody ;)
      
      	* libgimp/gimpsizeentry.c: allow the creation of sizeentries
      	without fields. This (finally) enables arbitrary layout of the
      	spinbuttons.
      
      	* plug-ins/script-fu/script-fu-scripts.c: use the fileselection
      	widget for script parameter SF_FILENAME.
      e494bbd5
    • BST 1999  Austin Donnelly's avatar
      run cleanup code on shutdown in many more cases. The should fix Marc's · 1c7dcda6
      BST 1999 Austin Donnelly authored
      Tue May 18 01:14:55 BST 1999  Austin Donnelly  <austin@gimp.org>
      
      	* app/app_procs.c: run cleanup code on shutdown in many more
      	    cases.  The should fix Marc's problem of not getting module
      	    unload functions called at quit time.
      
      	* app/gimprc.c: internal "module-load-inhibit" variable, listing
      	    modules to ignore at start of day.
      	* app/module_db.c: new rc file: modulerc.  Keep track of which
      	    modules we've got inhibited.  Add button to module browser to
      	    edit the settings.  Save new version on gimp exit.
      1c7dcda6