1. 25 Nov, 2002 2 commits
  2. 16 May, 2002 1 commit
    • Michael Natterer's avatar
      libgimpbase/gimpprotocol.[ch] pass "gpointer user_data" to all functions, · dba356d8
      Michael Natterer authored
      2002-05-16  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpbase/gimpprotocol.[ch]
      	* libgimpbase/gimpwire.[ch]: pass "gpointer user_data" to all
      	functions, which in gets turn passed to the registered reader,
      	writer, and flusher funcs.
      
      	* libgimp/gimp.c
      	* libgimp/gimptile.c: pass NULL as user_data. We have only one
      	pipe on the plug-in side.
      
      	* app/plug-in/plug-in.c: pass the PlugIn as user_data. As a
      	consequence, got rid of more global variables. The global
      	"current_plug_in" and the plug_in_push()/pop() madness are still
      	there. Will reeplace them by some less ugly hack later...
      
      2002-05-16  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpbase/tmpl/gimpprotocol.sgml
      	* libgimpbase/tmpl/gimpwire.sgml: regenerated after API change.
      dba356d8
  3. 30 Aug, 2001 1 commit
    • Michael Natterer's avatar
      app/plug_in.c libgimpbase/gimpwire.c removed GIOChannel · 51f99c32
      Michael Natterer authored
      2001-08-30  Michael Natterer  <mitch@gimp.org>
      
      	* app/plug_in.c
      	* libgimpbase/gimpwire.c
      	* libgimp/gimp.c: removed GIOChannel "channel->funcs->io_foo()"
      	hacks and use plain g_io_channel_[read|write]_chars(). An
      	additional g_io_channel_set_buffered (channel, FALSE); is needed
      	to make the channels work in binary mode. Fixed misc other stuff
      	in the GIOChannel code.
      
      	* app/tools/gimpdrawtool.c
      	* app/tools/gimpmovetool.c
      	* app/tools/gimptransformtool.c
      	* app/widgets/gimpdialogfactory.c
      	* libgimpwidgets/gimpcolorarea.c
      	* libgimp/gimpui.c: replaced some deprecated GDK functions.
      
      	* app/gui/palette-editor.c: block the color_name entry's "changed"
      	signal while setting it. Fixes invalid UTF-8 warnings.
      51f99c32
  4. 29 Aug, 2001 1 commit
    • Michael Natterer's avatar
      added -DG_DISABLE_DEPRECATED and -DGDK_DISABLE_COMPAT_H. · 98410c35
      Michael Natterer authored
      2001-08-29  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in: added -DG_DISABLE_DEPRECATED and
      	-DGDK_DISABLE_COMPAT_H.
      
      	* app/batch.c
      	* app/file-utils.c
      	* app/gdisplay.c
      	* app/gdisplay_ops.c
      	* app/gimprc.[ch]
      	* app/module_db.c
      	* app/nav_window.c
      	* app/undo_history.c
      	* app/core/gimpgradient.c
      	* app/core/gimpimagefile.c
      	* app/core/gimppalette.c
      	* app/gui/color-notebook.c
      	* app/gui/convert-dialog.c
      	* app/gui/error-console-dialog.c
      	* app/gui/file-commands.c
      	* app/gui/file-open-dialog.c
      	* app/gui/file-save-dialog.c
      	* app/gui/gradient-editor.c
      	* app/gui/info-window.c
      	* app/gui/menus.c
      	* app/gui/palette-import-dialog.c
      	* app/tools/gimpbycolorselecttool.c
      	* app/widgets/gimpcontainerview-utils.c
      	* app/widgets/gimpdatafactoryview.c
      	* libgimp/gimpmenu.c
      	* plug-ins/common/bz2.c
      	* plug-ins/common/compose.c
      	* plug-ins/common/csource.c
      	* plug-ins/common/decompose.c
      	* plug-ins/common/gz.c
      	* plug-ins/common/uniteditor.c
      	* plug-ins/common/wmf.c
      	* plug-ins/common/xbm.c
      	* plug-ins/rcm/rcm_dialog.c
      	* plug-ins/script-fu/interp_slib.c
      	* plug-ins/script-fu/script-fu-console.c
      	* plug-ins/script-fu/script-fu-scripts.c
      	* tools/pdbgen/pdb/fileops.pdb
      	* tools/pdbgen/pdb/gimprc.pdb
      	* app/pdb/fileops_cmds.c
      	* app/pdb/gimprc_cmds.c: removed deprecated stuff like
      	g_basename(), g_dirname(), g_strup() and friends. Added some
      	"const gchar *" declarations while I was on it. Added some
      	G_N_ELEMENTS() macros instead of declaring a useless variable
      	for the number of items.
      
      	* app/widgets/gtkhwrapbox.[ch]
      	* app/widgets/gtkvwrapbox.[ch]
      	* app/widgets/gtkwrapbox.[ch]: replaced with the latest versions
      	from GLE, ported by the master himself.
      
      	* app/gui/toolbox.c: changed accordingly.
      
      	* app/plug_in.c
      	* libgimp/gimp.c
      	* libgimpbase/gimpwire.[ch]: use evil hacks to get binary mode
      	from the new GIOChannel implementation (upstream bugreport already
      	posted).
      98410c35
  5. 15 Jul, 2001 1 commit
    • Michael Natterer's avatar
      remove the usage of printf()/scanf() when sending doubles over the wire. · dcaeb08a
      Michael Natterer authored
      2001-07-15  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpbase/gimpwire.c: remove the usage of printf()/scanf()
      	when sending doubles over the wire. Instead, rely on the memory
      	layout of gdouble being IEEE compliant and transmit 8 bytes in
      	network byte order.
      
      	* libgimpbase/gimpprotocol.h: increase GP_VERSION because this
      	makes the wire protocol binary incompatible.
      
      	* app/main.c
      	* libgimp/gimp.c: removed the setlocate(LC_NUMERIC,"C") workaround.
      dcaeb08a
  6. 30 May, 2000 1 commit
  7. 14 May, 2000 1 commit
    • Michael Natterer's avatar
      After a weekend of extensive mail exchange with the signal crew, we · 3fc6d56d
      Michael Natterer authored
      2000-05-14  Michael Natterer  <mitch@gimp.org>
      
      	After a weekend of extensive mail exchange with the signal crew,
      	we finally found that #2742 is not a Gimp bug but a real OSF/1
      	bug. OSF/1 does _not_ reliably restart read() and write() calls
      	on certain slow devices (pipes).
      
      	* libgimp/gimpwire.[ch]: guard all read/write calls on the wire
      	with loops checking for EINTR. This has to be done "manually"
      	as glib's GIOChannels return G_IO_ERROR_UNKNOWN on the occurence
      	of EINTR (which is a bug, too).
      	s/int/gboolean and minor cleanups while I was on it (not changing
      	any logic).
      
      	This fix depends on the current (broken) state of the GIOChannel
      	implementation and is scheduled for removal as soon as glib
      	behaves nicely here.
      
      	Left SA_RESTART there for the moment in app/main.c. See it as
      	defensive programming or just my fear to change two #2742-related
      	places at the same time. We might choose to remove SA_RESTART
      	later. Many thanks again to Austin, Garry and Tim.
      3fc6d56d
  8. 10 May, 2000 1 commit
    • Michael Natterer's avatar
      Another try to get the signal/dead child recovery stuff right. · 86e4b1ef
      Michael Natterer authored
      2000-05-10  Michael Natterer  <mitch@gimp.org>
      
      	Another try to get the signal/dead child recovery stuff right.
      
      	Could the brave signal crew (TM) (Austin, Garry, Raphael, Tim)
      	please do bad tests to the new code? I removed all strange
      	constants (SA_NODEFER etc.) and used only glib and POSIX stuff.
      
      	* app/main.c
      	* libgimp/gimp.c:
      	- Call gimp_signal_private() with no flags to enforce a proper
      	  sigaction() behaviour (block signals while handler is active).
      	- Removed the reentrancy guards from the handlers.
      	- Renamed the handlers.
      	- Ignore SIGPIPE in the app and in plugins.
      	- Re-introduced the SIGCHLD handler because it should work
      	  now. Also added a SIGCHLD handler to libgimp/gimp.c.
      
      	* app/errors.c
      	* libgimp/gimp.c: in the signal handler, unblock all signals
      	with sigprocmask() before calling g_on_error_query() because
      	gdb otherwise inherits the blocked signals and does nothing.
      	Wrapped the statements with "if (TRUE) { }" blocks so it's
      	easy to make the stack trace a command line option.
      
      	* app/plug_in.c
      	* libgimp/gimp.c: listen for G_IO_ERR and G_IO_HUP on the read
      	channels. In the app, pop up an error message and clean up the
      	plugin. In plugins, clean up and exit.
      
      	* libgimp/gimpwire.c: removed the "plug-in chrashed?" message
      	and print the program's name with all error messages.
      
      	* plug-ins/helpbrowser/helpbrowser.c: typo.
      86e4b1ef
  9. 06 Dec, 1999 1 commit
  10. 17 Nov, 1999 1 commit
  11. 04 Oct, 1999 1 commit
    • Manish Singh's avatar
      use G_OS_WIN32 and G_HAVE_CYGWIN #defines · d0519fd3
      Manish Singh authored
      * app/app_procs.c
      * app/gdisplay_color.[ch]
      * app/gdisplay_color_ui.c: make the ui usable
      
      * app/gdisplay.c: enable cdisplay support
      
      * modules/Makefile.am
      * modules/cdisplay_gamma.c: moved gamma functionality to separate
      
      -Yosh
      d0519fd3
  12. 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
  13. 07 Mar, 1999 1 commit
  14. 23 Nov, 1998 1 commit
    • Manish Singh's avatar
      require GTK+ 1.1.5 · 25f3cc8d
      Manish Singh authored
      * configure.in: require GTK+ 1.1.5
      
      * app/bezier_select.c
      * app/channels_dialog.c
      * app/global_edit.c
      * app/layers_dialog.c
      * plug-ins/film/film.c
      * plug-ins/gfig/gfig.c
      * plug-ins/xd/xd.c
      * plug-ins/libgck/gck/gcklistbox.c: fixes for new scrolled window viewport
      behavior
      
      * libgimp/gimpwire.c
      * app/xcf.c: use g_htonl and friends
      
      * app/main.c: ditch some unused variables
      
      * app/Makefile.am: removed unused pixmap references
      
      -Yosh
      25f3cc8d
  15. 13 Apr, 1998 1 commit
  16. 15 Mar, 1998 1 commit
  17. 01 Mar, 1998 1 commit
    • Manish Singh's avatar
      From the Changelog: · 2afd3ffb
      Manish Singh authored
              * Makefile.am: don't do docs generation by default
      
              * configure.in: -lXt for webbrowser plugin
      
              * libgimp/gimp.c
              * libgimp/gimpprotocol.c
              * libgimp/gimptile.c
              * libgimp/gimpwire.c
              * app/plug_in.c: applied memory leak patch from Mattias Gronlund
      
              * app/eraser.c
              * app/eraser.h
              * app/internal_procs.c
              * app/paintbrush.c
              * app/paintbrush.h: incremental modes for eraser and paintbrush,
              as well as a "hard eraser"
      
              * plug-ins/ifscompose/ifscompose.c: pixmap visual fixups
      
      -Yosh
      2afd3ffb
  18. 25 Jan, 1998 1 commit
  19. 24 Nov, 1997 1 commit