1. 13 Jan, 2000 1 commit
  2. 05 Jan, 2000 1 commit
  3. 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.
  4. 02 Jan, 2000 1 commit
    • Sven Neumann's avatar
      Redid my latest change here, since it didn't solve the problem. Now, · 3ebaf638
      Sven Neumann authored
      * app/plug_in.c: Redid my latest change here, since it didn't solve
        the problem. Now, registering with image_types == NULL means the same
        as what "" used to mean: No image is required and the menu entry will
        always be sensitive.
      The rest are fixes to my last commit.
  5. 01 Jan, 2000 1 commit
  6. 14 Dec, 1999 1 commit
  7. 25 Nov, 1999 1 commit
    • Michael Natterer's avatar
      Removed the definitions of the tearoff menu items and build them on the · 720518b3
      Michael Natterer authored
      1999-11-25  Michael Natterer  <mitch@gimp.org>
      	* app/menus.c: Removed the definitions of the tearoff menu items
      	and build them on the fly. Added N_()-marked submenus instead so
      	they get properly translated. Removed N_() from all separators.
      	Hacked menu_translate(): Don't try to translate separators,
      	tearoffs and the /File/MRUxx entries. Avoid multiple lookups in
      	the "gimp-std-plugins" domain. Translating plug-in menu entries is
      	still broken.
      	Defined all filter categories for proper translation and a first
      	try to order them and to add separators (please comment...).
      	New Category /Filters/Web.
      	(Did 'make update-po' in the po* directories and updated the
      	german translations.)
      	* app/about_dialog.c
      	* app/brush_select.c
      	* app/drawable.c
      	* app/errors.c
      	* app/free_select.c
      	* app/gradient.c
      	* app/info_dialog.c
      	* app/plug_in.c
      	* app/tool_options.c: minor i18n updates like removing _() from
      	some error messages.
      	* app/context_manager.c: a private context for the Xinput Airbrush.
      	* plug-ins/common/video.c: Register under /Filters/Distorts
      	* plug-ins/imagemap/imap_main.c: Register under /Filters/Web
      	(Marc, what about putting "prepare for gif" and "webify" there?)
      	* plug-ins/perl/po/de.po: s/Xtn/Xtns/g
  8. 23 Nov, 1999 1 commit
    • Michael Natterer's avatar
      app/app_procs.c app/channels_dialog.c app/fileops.c app/gdisplay.c · b6a3dd5a
      Michael Natterer authored
      1999-11-23  Michael Natterer  <mitch@gimp.org>
      	* app/app_procs.c
      	* app/channels_dialog.c
      	* app/fileops.c
      	* app/gdisplay.c
      	* app/gdisplay_ops.c
      	* app/layers_dialog.c
      	* app/menus.[ch]
      	* app/paths_dialog.c
      	* app/plug_in.c: removed
      	menus_set_[sensitive|state]_glue(). Removed the N_()'s from all
      	menu paths which are not eventually passed to
      	* app/tool_options.c: minor updates.
      	* app/file_new_dialog.c: reordered the action_area buttons.
  9. 21 Nov, 1999 1 commit
  10. 28 Oct, 1999 1 commit
  11. 19 Oct, 1999 2 commits
  12. 06 Oct, 1999 1 commit
  13. 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
  14. 03 Oct, 1999 1 commit
    • Michael Natterer's avatar
      app/fileops.c app/menus.[ch] app/menus.h show a help page for all menu · 3ed87f4a
      Michael Natterer authored
      1999-10-03  Michael Natterer  <mitch@gimp.org>
      	* app/fileops.c
      	* app/menus.[ch]
      	* app/menus.h
      	* app/plug_in.c: show a help page for all menu entries registered
      	by plugins.
      	Changed menus_create() to menus_create_item_from_full_path() which
      	takes a single GimpItemFactoryEntry instead of an array as
  15. 26 Sep, 1999 1 commit
  16. 23 Sep, 1999 1 commit
  17. 28 Aug, 1999 1 commit
    • Tor Lillqvist's avatar
      Put in a workaround for the problem with plug-ins on NT and W2K, where · 3e2ef668
      Tor Lillqvist authored
      1999-08-28  Tor Lillqvist  <tml@iki.fi>
      * libgimp/gimp.c (gimp_main): Put in a workaround for the problem
      with plug-ins on NT and W2K, where installing the GIMP under a
      directory path with spaces (\Program Files\GIMP) would cause the
      plug-ins to malfunction. Turns out the argv gets set up by the C
      runtime incorrectly in such a case, the path name of the
      executable is split at the spaces. The workaround is to splice
      argv[0] together from the pieces again, shifting the rest of argv
      * app/plug_in.c (plug_in_open): Correct (harmless) typo in the
      Win32 code.
      * plug-ins/common/winclipboard.c: Put the pasting of a new image
      under File/Acquire.
  18. 18 Aug, 1999 1 commit
    • Tor Lillqvist's avatar
      Actually use the enum types GimpImageType, GimpImageBaseType, · f6858e21
      Tor Lillqvist authored
      	* app/*.[ch]: Actually use the enum types GimpImageType,
      	GimpImageBaseType, LayerModeEffects, PaintApplicationMode,
      	BrushApplicationMode, GimpFillType and ConvertPaletteType, instead
      	of just int or gint. Hopefully I catched most of the places
      	where these should be used.
      	Add an enum ConvolutionType, suffix the too general constants
      	instead of NORMAL in some places (this was what was intended). Fix
      	some minor gccisms.
      	* app/apptypes.h: New file. This file contains the above
      	enumeration types, and some opaque struct typedefs. It was
      	necessary to collect these in one header that doesn't include
      	other headers, because when we started using the above mentioned
      	types in the headers, all hell broke loose because of the
      	spaghetti-like cross-inclusion mess between headers.
      	(An example: Header A includes header B, which includes header C
      	which includes A. B uses a type defined in A. This is not defined,
      	because A hasn't defined it yet at the point where it includes B,
      	and A included from B of course is skipped as we already are
      	reading A.)
  19. 28 Jun, 1999 1 commit
    • Sven Neumann's avatar
      Michael Natterer <mitschel@cs.tu-berlin.de> · df108807
      Sven Neumann authored
      1999-06-28  Sven Neumann  <sven@gimp.org>
      	    Michael Natterer  <mitschel@cs.tu-berlin.de>
      	* app/plug_in.c: return a PDB_EXECUTION_ERROR if a procedure
      	requested by a plugin doesn't exist.
      	* plug-ins/helpbrowser/*: The GIMP Help Browser!
      	Not yet built by default. You need GtkXmHTML to make it work.
      	There is a Makefile.classic for testing it.
      	* Makefile.am
      	* configure.in
      	* help/*: some sample help files. Subdirs are possible, too.
  20. 27 Jun, 1999 1 commit
  21. 21 Jun, 1999 2 commits
    • Michael Natterer's avatar
      namespace cleanups. · f1b5e1ae
      Michael Natterer authored
      1999-06-21  Michael Natterer  <mitschel@cs.tu-berlin.de>
      	* app/context_manager.c: namespace cleanups.
      	* app/commands.[ch]
      	* app/menus.c: moved the "Toggle Selection" menu entry to "View",
      	sprinkled some separators and made the layers/channels/paths popup
      	menus consistent with Tigert's last ops buttons change.
      	* app/fileops.c
      	* app/plug_in.c: check for gdisplay_active() returning NULL in
      	some more places.
      	* app/[all tool related files]:
      	- Turned the ToolAction and ToolState #define's into typedef'ed
      	  enums, so the compiler can do some more sanity checking.
      	- Removed one more unused global variable "active_tool_layer".
      	- Removed some #include's from tools.c.
      	- Standardized the individual tools' structure names.
      	- Moved showing/hiding the tool options to separate functions.
      	- Stuff...
      	* app/commands.c
      	* app/disp_callbacks.c
      	* app/gdisplay.c
      	* app/tools.c: fixed the segfaults which happened when the image
      	of one of the tools which have dialogs (levels/posterize/...) was
      	deleted. My approach was to do stricter sanity checking and to set
      	some gdisplay pointers correctly where appropriate, so I can't
      	tell exactly where the bug was.
      	The curves tool now(??) updates on every _second_ display change
      	only, which is really obscure.
      	Finding/changing the display to operate on should definitely be
      	done by connecting to the user context's "display_changed"
      	* app/gimpset.c: emit the "remove" signal _after_ removing the
      	pointer from the set. If this was not a bug but a feature, please
      	let me know, we'll need two signals then.
    • Manish Singh's avatar
      cosmetic change · b8bb67bd
      Manish Singh authored
      * app/Makefile.am: cosmetic change
      * app/plug_in.c: reordered #includes to prevent MAX/MIN conflict
      * app/menus.c: removed the weird translation code in favor of
      the item factory translation function. This may have broken some
      .po files.. we'll see. Also, added some more tearoffs and made
      tearoffs appear automagically when plugins register menu entries.
      * libgimp/gimpimage.c
      * libgimp/gimpenums.h: redid the GOrientation enum to match the
      app. Removed special casing in the handler.
      * plug-ins/guillotine/guillotine.c: small clean up
  22. 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.
  23. 06 Jun, 1999 1 commit
    • Tomas Ogren's avatar
      locale-wrapper for menus_set_sensitive (..._locale) and menus_set_state · d085c151
      Tomas Ogren authored
      1999-06-06  Tomas Ogren  <stric@ing.umu.se>
      * app/menus.[ch]: locale-wrapper for menus_set_sensitive (..._locale)
        and menus_set_state (..._locale) which splits the menu-entry
        "<Foo>/Bar/Baz" into "<Foo>" and "/Bar/Baz" to remove double
      * app/app_procs.c, app/channels_dialog.c, app/fileops.c, app/gdisplay.c
      * app/gdisplay_ops.c, app/layers_dialog.c, app/paths_dialog.c
      * app/plug_in.c:
        Use the _locale version from above
  24. 05 Jun, 1999 1 commit
  25. 28 May, 1999 1 commit
    • 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.
  26. 06 May, 1999 1 commit
  27. 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.
  28. 03 May, 1999 1 commit
    • Manish Singh's avatar
      tools/pdbgen/plug_in.pdb new files · 030009d7
      Manish Singh authored
      * tools/pdbgen/plug_in.pdb
      * tools/pdbgen/interface.pdb: new files
      * tools/pdbgen/app.pl: add no_id_lookup option
      * tools/pdbgen/Makefile.am: added new pdb files, plug_in.h
      * tools/pdbgen/enums.pl: plug_in.h enums
      * app/plug_in.[ch]: removed PDB stuff, exported current_plug_in,
      proc_defs, and plug_in_progress_{init,update}
      * app/interface_cmds.c
      * app/plug_in_cmds.c
      * app/internal_procs.c: pdbgenned files
      * app/Makefile.am: new files: interface_cmds.c, plug_in_cmds.c
  29. 24 Apr, 1999 1 commit
  30. 23 Apr, 1999 1 commit
    • jaycox's avatar
      removed some nonfunctional code. · d996031a
      jaycox authored
      	* app/edit_selection.c: removed some nonfunctional code.
      	* app/paint_core.c: remove the alt toggles perfectmouse behaviour.
      	* app/paintbrush.c: when ctl (or alt) is held set the fg (or bg) color.
      	* app/gimpparasite.[ch]: made char *name parameters const.
      	* app/parasitelist.c: removed unused static variable.
      	* app/gimpdrawable.c, app/gimpimage.c, app/undo.[ch]: added
       	support for undoing parasite changes.
      	* libgimp/gimp.h, libgimp/gimpimage.c: added
       	gimp_undo_push_group_start and gimp_undo_push_group_end
      	* libgimp/parasite.[ch]: added undoable flag.
      	* plug-ins/gdyntext/font_selection.c: fixed c++ style comment.
      	* plug-ins/gdyntext/gdyntext.c: use the new undoable parasites.
      	* plug-ins/rcm/rcm_misc.c: arctg can't be inline because it is
       	used in other .c files
      	* plug-ins/waterselect/waterselect.c,
      	* plug-ins/rotators/rotators.c, app/tips_dialog.c, app/plug_in.c:
       	fixed some warnings
  31. 08 Mar, 1999 1 commit
  32. 07 Mar, 1999 2 commits
  33. 23 Feb, 1999 1 commit
    • GMT 1999 Adam D. Moss's avatar
      Moved the RunModeType enum into the header so we can use it elsewhere · e51f6f66
      GMT 1999 Adam D. Moss authored
      Tue Feb 23 00:05:39 GMT 1999 Adam D. Moss <adam@gimp.org>
      	* app/plug_in.c
      	app/plug_in.h: Moved the RunModeType enum
      	into the header so we can use it elsewhere (e.g. fileops)
      	* plug-ins/gif/gif.c
      	plug-ins/jpeg/jpeg.c: Don't show progress-bars if we're
      	running noninteractively.  This makes thumbnail updating
      	look more pleasant.  Try to do the same for all file plugins
      	(and others)!
      	* app/fileops.c: Reworked the thumbnail display again, fixed
      	some buglets, file_open_image() is RunMode aware, added some
      	tweaks, rhubarb rhubarb, merged in some 'cosmetic' tweaks
      	from Marco.
  34. 14 Feb, 1999 1 commit
    • GMT 1999  Austin Donnelly's avatar
      New manpage plus bumper fun pack of bugfixes. · 54fe3402
      GMT 1999 Austin Donnelly authored
      Sun Feb 14 01:27:29 GMT 1999  Austin Donnelly  <austin@gimp.org>
      	New manpage plus bumper fun pack of bugfixes.
      	* gimprc.5.in: NEW FILE: beginnings of some docs on gimprc file
      	* configure.in: generate gimprc.5 from gimprc.5.in
      	* Makefile.am: install gimprc.5
      	* .cvsignore: ignore gimprc.5, it's auto generated.
      	* gimp.1: fix a few paths and URLs.  Mention the modules/
      	     directory in user's gimpdir.
      	* app/commands.c: cancel resize or scale dialogs when image
       	     they're for is destroyed, rather than segfaulting when Ok is
       	     clicked.  Thanks to Peter Teichman <peter@zeno.dorm.duke.edu>
       	     for pointing this one out.  Layer resize/scale still suffers
       	     from same problem, but Adam's working on L&C at the moment.
      	* app/gdisplay.c: off-by one error on bounds check in making image
      	* app/module_db.c: some would consider it foolish returning to
       	     code you've just unloaded.  So don't do that.
      	* app/plug_in.c: when superceeding a PDB function with a newer one
      	     of the same name, remove pointers to the old one from the
      	     plugins that originally registered them.  Fixes Nick Lamb's
      	     pluginrc file corruption thing, and catches the (common?)
      	     error of copying a plugin to a different name but failing to
      	     change what it registers.  Also, if registering a file
      	     loader/saver, make sure it has set an extension, prefix, or
      	     magic number it's interested in - that way code that relies
      	     on checking this doesn't get confused.
  35. 31 Jan, 1999 2 commits
    • GMT 1999 Andy Thomas's avatar
      Changed:- · f1827884
      GMT 1999 Andy Thomas authored
      Sun Jan 31 17:13:46 GMT 1999 Andy Thomas <alt@picnic.demon.co.uk>
      	* app/plug_in.c
      	A mysterious semi-colon crept in....
    • GMT 1999 Andy Thomas's avatar
      Changed:- · 3eaf6e9a
      GMT 1999 Andy Thomas authored
      Sat Jan 30 23:51:04 GMT 1999 Andy Thomas <alt@picnic.demon.co.uk>
      	* app/dialog_handler.c
      	* app/dialog_handler.h
      	* app/gimage.c
      	* app/gimprc.c
      	* app/plug_in.c
      	* app/plug_in.h
      	Fixed problem with TAB key hiding all dialogs. With some WM
      	you could hide all the windows with TAB then close the last image
      	down... opps how do you get back to the main dialog. Main
      	dialog is now poped up when last image is closed and we had
      	used TAB key to hide it.
      	New PDB functions to query plugin info. Plugin to follow...
  36. 19 Jan, 1999 1 commit
    • Austin Donnelly's avatar
      iMon Jan 18 23:36:57 1999 Austin Donnelly <austin@gimp.org> · 43639fa0
      Austin Donnelly authored
      	* app/menus.c: include module browser, plus re-instate the 'swap
      	     colors' and other options that got killed by mistake.  Clean
      	     up the odd extra separator too.
      	* app/color_notebook.c: hide newly created colour selectors so we
      	     know the GIMP one will be the default page.
      	* app/module_db.[ch]: NEW FILEs: module database / browser.
      	* app/Makefile.am: add module_db.[ch] stuff
      	* app/app_procs.c: initialise the module_db
      	* app/commands.[ch]: callback to create a module browser.
      	* app/plug_in.c: move module loading out to module_db.c
      	* libgimp/gimpmodule.h: API change: module_init() should return
      	     additonal info (author, purpose, date, etc.)   Also optional
      	     module_unload() function.
      	* modules/colorsel_gtk.c: add module info, plus an unload function
      	* modules/Makefile.am: build triangle colour selector module
      	* modules/colorsel_triangle.c: NEW FILE: colour selector from
      	     Simon Budig <Simon.Budig@unix-ag.org>.
      	* MAINTAINERS: changed my email address