Commit Graph

1450 Commits

Author SHA1 Message Date
Nick Lamb /GIMP cb1e0ba121 Fix #3179 (Revert uses wrong filename) 1999-10-30 09:15:18 +00:00
Michael Natterer 4a3a57f8ce app/brush_select.c app/gradient_select.c call the PDB callback from the
1999-10-29  Michael Natterer  <mitch@gimp.org>

	* app/brush_select.c
	* app/gradient_select.c
	* app/pattern_select.c: call the PDB callback from the context
	callback because it gets called on every change.

	* app/interface.c: the tool buttons had the wrong private tooltips
	attached.

	* app/gimphelp.c: call the help browser with plug_in_run() instead
	of procedural_db_execute() to make it really ansynchronous.
	Added a GtkTipsQuery tooltips inspector which gets invoked by
	<Shift>+F1. Did some illegal juggling with the tips_query's
	"parent" pointer which may cause problems, so I made the stuff
	disable-able with #ifdef's.
	Is there a proper way to create a tips_query widget without having
	to show it somewhere??
1999-10-29 14:15:55 +00:00
BST 1999 Andy Thomas e5528e6cd8 app/gimpimage.c
Thu Oct 28 23:22:34 BST 1999 Andy Thomas <alt@gimp.org>

	* app/gimpimage.c

	Fixed memory leak with image is deleted.

	* plug-ins/common/jpeg.c

	Fixed the way the plugin added layers. Preview stuff does not now
	get corrupted.
1999-10-28 22:47:56 +00:00
Michael Natterer 79e27e984a More context & dnd stuff... 1999-10-28 15:05:49 +00:00
Asbjørn Pettersen d518393284 add <time.h> for time_t 1999-10-28 09:48:14 +00:00
Sven Neumann 5749bc2143 remember the drawable we were working on instead of relying to
* app/transform_core.c: remember the drawable we were working on
    instead of relying to gimp_active_drawable ().
    This should fix bug #2381.

--Sven
1999-10-27 22:59:29 +00:00
Sven Neumann 48e3c7a412 app/drawable_cmds.c The PDB procedures
* app/drawable_cmds.c
   * tools/pdbgen/pdb/drawable.pdb: The PDB procedures
     gimp_drawable_is_[layer|channel|channel_mask] were not renamed,
     but changed all over the place. This made the rotate plug-ins
     fail.

   * app/procedural_db.c: Spit out a warning if a procedure wasn't
     found in the PDB. Actually free the hash_table entries on
     procedural_db_free().

--Sven
1999-10-27 20:45:57 +00:00
Marc Lehmann b2773c790e pdb renames 1999-10-27 20:23:04 +00:00
BST 1999 Andy Thomas dcf082b6cc app/lc_dialog.c app/selection.c app/color_area.c app/paths_dialog.c
Wed Oct 27 20:51:10 BST 1999 Andy Thomas <alt@gimp.org>

	* app/lc_dialog.c
	* app/selection.c
	* app/color_area.c
	* app/paths_dialog.c
	* tools/pdbgen/pdb/gimage.pdb
	* app/gimage_cmds.c

	General memory leak cleanups.
1999-10-27 20:09:46 +00:00
Manish Singh 664b4ed687 add "(GIMP)" to the menu entry for XCF, in an attempt to make it clear
* app/xcf.c: add "(GIMP)" to the menu entry for XCF, in an attempt
to make it clear that it is the native file format.

* app/gimpcontext.c: correct doubled arg name on arg type addition,
which was messing up the internal gtkarg hashtable

-Yosh
1999-10-27 02:01:27 +00:00
Sven Neumann e547526eba shrinked most icons to their minimum size
--Sven
1999-10-27 00:09:39 +00:00
Michael Natterer a74d52fbbf Use the context almost everywhere. 1999-10-26 18:27:27 +00:00
Manish Singh f697f6cfab don't free the old filename pointer till we're all done, since we might be
* app/gimpimage.c: don't free the old filename pointer till we're
all done, since we might be passed our own filename as a param
and reference it after freeing. The code didn't heed it's own
warning ;) (TigerT, this should fix that filename corruption bug)

-Yosh
1999-10-25 23:51:56 +00:00
Tor Lillqvist 0274d8526d Uncomment the inclusion of gdkcursor.h that should happen only with GTk+
1999-10-25  Tor Lillqvist  <tml@iki.fi>

* app/cursorutil.h: Uncomment the inclusion of gdkcursor.h that
should happen only with GTk+ 1.3, anyway? Why was it commented
out?

* app/tile_swap.c: Close before unlinking on Win32, too.

* libgimp/gimp.def: Updates, sorted.

* plug-ins/makefile.{cygwin,msc}: Add the gap and imagemap
plug-ins. Remove palette plug-in (what happened to it?).

Portability fixes from Hans Breuer:

* plug-ins/FractalExplorer/Dialogs.c
* plug-ins/gap/*.c:
* plug-ins/gimpressionist/gimpressionist.c:
* plug-ins/common/spheredesigner.c: Ifdefify system-dependent includes.

* plug-ins/common/psp.c: Remove an unused variable.

* plug-ins/imagemap/{imap_csim.y,imap_csim_parse.c}: Use
<string.h>, not <strings.h>.

* plug-ins/imagemap/imap_rectangle.c (rectangle_near_sash): Use
the & operator for function names to return pointers to them.

* plug-ins/winsnap/winsnap.c (sendBMPToGimp):
gimp_drawable_flush() should be called before resizing the layer
and image. Now the snapshot of a window is returned the correct
size, it's not padded in width to a multiple of four pixels.
1999-10-25 19:20:41 +00:00
Marc Lehmann 88e0cc3155 api change #2, fix #1 1999-10-24 20:49:09 +00:00
Sven Neumann eb26d8e07e autoscroll in the layers dialog, a few cosmetic changes
and a german plug-in po-file


--Sven
1999-10-24 20:16:48 +00:00
Sven Neumann 2df06061bd get rid of remaining (invisible) layers after merging visible layers
* libgimp/gimpexport.c: get rid of remaining (invisible) layers
        after merging visible layers

        * app/channel_ops.[ch]: applied a patch from Garry R. Osgood that
	seems to fix bugs #2261 and #2382 (crashes when using offset).
        A few more changes made the dialog actually work...

        * app/ops_buttons.c: plugged a memleak I introduced yesterday

--Sven
1999-10-24 13:26:30 +00:00
Sven Neumann 7a432a7734 first effort in making the L&C dialog nicer.
--Sven
1999-10-23 20:30:59 +00:00
Manish Singh 93cc6e9691 db_lookup seems to be used pretty often as a sanity check, giving lots of
* app/procedural_db.c: db_lookup seems to be used pretty often as a
sanity check, giving lots of spurious messages. Move the check to
db_execute

-Yosh
1999-10-23 01:30:52 +00:00
BST 1999 Andy Thomas 8ffd721992 app/procedural_db.c
Sat Oct 23 00:02:53 BST 1999 Andy Thomas <alt@gimp.org>

	* app/procedural_db.c

	Error message output to error console if you atemp to call
	a PDB function that does not exists. Useful ito check if scripts/
	plugins fail for unknown reasons,
1999-10-22 23:10:15 +00:00
Manish Singh 7db44664a6 sync the names with the last API patch
-Yosh
1999-10-22 22:57:03 +00:00
BST 1999 Andy Thomas 85bbd68cf9 app/text_tool.c
Fri Oct 22 20:39:13 BST 1999 Andy Thomas <alt@gimp.org>

	* app/text_tool.c

	Fixed the problem where the border values was been ignored.
1999-10-22 19:45:05 +00:00
Sven Neumann c3a1787087 handle CAN_HANDLE_LAYERS_AS_ANIMATIONS correctly
* libgimp/gimpexport.c: handle CAN_HANDLE_LAYERS_AS_ANIMATIONS
  correctly

* app/scan_convert.c: trivial optimizations

* app/nav_window.c: applied the patch from Shuji Narazaki that makes
  the navigation window work with tablets. Fixed some rounding errors
  and stopped the flicker.


--Sven
1999-10-21 19:35:35 +00:00
BST 1999 Andy Thomas 5e79064513 app/nav_window.c
Wed Oct 20 23:08:31 BST 1999 Andy Thomas <alt@gimp.org>

	* app/nav_window.c

	Now works correctly with non-square pixels. (dot-for-dot off
	and xres != yres).
1999-10-20 22:15:13 +00:00
BST 1999 Andy Thomas 35539062e6 app/layer.c
Tue Oct 19 21:50:52 BST 1999 Andy Thomas <alt@gimp.org>

	* app/layer.c

	Fixed rounding error in preview generating code that
	produced dithering where no dithering should have been!
1999-10-19 20:56:51 +00:00
Michael Natterer b74d256981 changed the "parent context" implementation:
1999-10-19  Michael Natterer  <mitch@gimp.org>

	* gimpcontext.[ch]: changed the "parent context" implementation:

	- Automatically connect/disconnect the "*_changed" signals when
	  changing the parent and when setting the "defined" flag of the
	  attributes.
	- Store the former *_defined booleans in a single guint32.
	- Added generic functions to set the "defined" flags of the
	  attributes and to copy attributes between contexts.

	The contexts now correctly handle disappearing images and
	displays, so we don't have to explicitly reset them any more.

	* context_manager.[ch]: adopted to the changed context
	implementation, connect to the user context's "tool_changed"
	signal to switch the per-tool contexts, don't connect to the
	"removed" signal of the image context.

	* brush_select.c
	* tool_options.c: use LayerModeEffects instead of int when calling
	gimp_context_set_paint_mode().

	* gdisplay.c: no need to reset the active display when deleting it
	because the context connects to the "destroy" signal of the shell
	now.

	* menus.c: a shortcut for the navigation window. Moved
	<Image>/Image/Colors/Desaturate before the separator.

	* tools.c: tools_select(): set the active tool of the user context
	instead of calling a special context manager function.
1999-10-19 15:52:32 +00:00
Nick Lamb /GIMP 500f5ae2cb Really fixed #2152 this time. Yosh asked me to rename *_OK as PLUG_IN_*
so that's also changed this time.
1999-10-19 04:58:17 +00:00
Nick Lamb /GIMP 7590b2da36 Fixed #2169 and as a side-effect discovered that RGB_IMAGE means
something quite different for app vs plug-ins. The one in app is
now called RGB_IMAGE_OK to differentiate them.
1999-10-19 04:24:21 +00:00
BST 1999 Andy Thomas 6e28558948 app/bezier_select.c app/edit_selection.c app/flip_tool.c app/gimage_mask.c
Mon Oct 18 21:24:47 BST 1999 Andy Thomas <alt@gimp.org>

	* app/bezier_select.c
	* app/edit_selection.c
	* app/flip_tool.c
	* app/gimage_mask.c
	* app/paths_dialog.c
	* app/paths_dialogP.h
	* app/undo.c
	* app/tools.h
	* app/tools.c

	1) Fixed some problems with the paths tool. Now the tool suboption
	"new point" is selected automatically when appropriate. Eg if you
	have the "add point" suboption selected and click  on a point
	not on the curve the "new point" option will become selected and the
	new point will be added.

	2) The "new point" option is defaulted to on when a new image is created	or a new image is selected from the image menu.

	3) Move and flip tool now effect the path if it is locked.

	4) Edit stroke now uses the currently selected tool as it should do
	when stroking.
1999-10-18 20:55:25 +00:00
Tomas Ogren f922d155fa plug-ins/common/compose.c plug-ins/gimpressionist/gimpressionist.c
1999-10-17  Tomas Ogren  <stric@ing.umu.se>

* plug-ins/common/compose.c
* plug-ins/gimpressionist/gimpressionist.c
* plug-ins/gimpressionist/preview.c
* plug-ins/gimpressionist/presets.c
* plug-ins/gimpressionist/repaint.c: i18n de-lamerism
Using _(" OK ") etc gives the translators much extra work...

* app/about_dialog.c: Fix my name

* app/menus.c: Change order of resize and scale in L&C&P to match the
normal image menu

* po/sv.po: Update
* po-plug-ins/sv.po: Update
1999-10-17 21:07:28 +00:00
BST 1999 Austin Donnelly cf6260af60 long overdue fix for problem with overrunning buffers in a couple of
Sun Oct 17 21:28:58 BST 1999  Austin Donnelly  <austin@gimp.org>

	* app/iscissors.c: long overdue fix for problem with overrunning
	    buffers in a couple of places.  Should now work with image
	    that are not an exact multiple of the tile size, and cope with
	    moving and adding control point before the curve is closed.
	    This may well fix a number of the bugs people have reported
	    on iscissors.  As of now, I know of no bugs in iscissors - if
	    you find one, I'm interested.
1999-10-17 20:28:56 +00:00
Asbjørn Pettersen 0c1b22fb0d add cstr_TokenType() 1999-10-17 16:13:30 +00:00
Michael Natterer 33b2d27e16 new GimpSignalType gimp_sigtype_int_int_int.
1999-10-17  Michael Natterer  <mitch@gimp.org>

	* app/gimpsignal.[ch]: new GimpSignalType gimp_sigtype_int_int_int.

	* app/gimpcontext.[ch]: set/get colors as separate r/g/b values
	instead of a guchar[3] array.
	The "[foreground|background]_changed" signal handlers must have
	the following signature now:
	color_changed_callback (GimpContext *, gint, gint, gint, gpointer).
1999-10-17 13:48:19 +00:00
Michael Natterer f650984006 added the possibility to store the current tool, FG/BG color, brush,
1999-10-17  Michael Natterer  <mitch@gimp.org>

	* app/gimpcontext.[ch]: added the possibility to store the current
	tool, FG/BG color, brush, pattern and gradient, but don't use
	these attributes yet.

	Before replacing the get/set color/brush/... functions with
	context functions, I'll have to change the "parent context"
	implementation to something where the children catch the parent's
	color/brush/..._changed signals.
	Finally, updating the indicator_area, device_status, tool_options
	etc. will be done by connecting to their own context's "*_changed"
	signals, which will be much cleaner than calling the update
	functions from various places.

	(I think this is a "consistency fix", please let me know if you
	consider it a new feature).
1999-10-17 12:28:38 +00:00
Marc Lehmann ec40ac728b API PATCH #2 or so 1999-10-17 00:07:55 +00:00
Michael Natterer fbf9e32ec5 preview_size_to_str() uses the new set of preview sizes now.
1999-10-16  Michael Natterer  <mitch@gimp.org>

	* app/gimprc.c: preview_size_to_str() uses the new set of preview
	sizes now.
1999-10-16 13:33:42 +00:00
Michael Natterer f3df254713 made the "Dialogs" sub-menus of <Toolbox>/File and <Image> consistent.
1999-10-16  Michael Natterer  <mitschel@cs.tu-berlin.de>

	* app/menus.c: made the "Dialogs" sub-menus of <Toolbox>/File and
	<Image> consistent.

	* app/nav_window.c: wheelmouse support as in the gdisplay shell.
1999-10-16 13:07:15 +00:00
Michael Natterer cd39d59e6d fixed a SEGV: The "refresh" callback should call select_pattern(), not
1999-10-16  Michael Natterer  <mitch@gimp.org>

	* app/pattern_select.c: fixed a SEGV: The "refresh" callback
	should call select_pattern(), not pattern_select_select().
1999-10-16 11:40:39 +00:00
Michael Natterer fe9db44dda applied gimp-gosgood-991011-0.patch, so double-clicking on the channel
1999-10-16  Michael Natterer  <mitch@gimp.org>

	* app/channels_dialog.c: applied gimp-gosgood-991011-0.patch, so
	double-clicking on the channel widget pops up the attributes
	dialog again. Thanks for the very detailled documentation of the
	bug (which I tried to fix at totally different places before ;-)
1999-10-16 09:50:55 +00:00
Nick Lamb /GIMP 96961a7bb4 Recalculate size of ctree in the preferences dialog after adding all
the categories. This is the real fix for #2508.
1999-10-14 04:03:46 +00:00
Sven Neumann fce4ad6327 a whole lotta guide fixes
--Sven
1999-10-13 23:07:45 +00:00
BST 1999 Andy Thomas 08529ff5e7 app/crop.c app/sca_convert.c
Wed Oct 13 21:37:51 BST 1999 Andy Thomas <alt@gimp.org>

	* app/crop.c
	* app/sca_convert.c

	Fixes to memory problems (use of freed memory references) found
	by running with dmalloc.

	* app/paths_dialog.c

	Locking of multiple paths are now displayed correctly in the
	transform tool.
1999-10-13 20:53:30 +00:00
Manish Singh 77199c578c [both these are from patches by SHIRASAKI Yasuhiro]
* app/menus.c: tearoff i18n patch

* plug-ins/AlienMap/AlienMap.c
* plug-ins/AlienMap/Makefile.am
* plug-ins/AlienMap2/AlienMap.c
* plug-ins/AlienMap2/Makefile.am: misc i18n fixes

-Yosh
1999-10-12 06:53:01 +00:00
Nick Lamb /GIMP 12de92ed6e There are scrollable widgets in this dialog
=> GUI 101 - it should be resizable (grow only)
1999-10-11 01:47:58 +00:00
Sven Neumann fc4e6346df dnd improvements
--Sven
1999-10-09 20:33:53 +00:00
Adrian Likins 5112a25488 ooops 1999-10-09 19:17:55 +00:00
Sven Neumann c46a4cafa1 finer granulated preview_size
--Sven
1999-10-09 13:37:34 +00:00
Manish Singh 67c733b70c applied gimp-kirchgessner-991009-0, allow image ids == 0 and i18n
* plug-ins/common/film.c: applied gimp-kirchgessner-991009-0, allow
image ids == 0 and i18n

* app/gimp.gh
* app/colormap_dialog.gc: sync with changes

-Yosh
1999-10-09 01:44:31 +00:00
Sven Neumann e65d40975a use preview_size in undo_history
--Sven
1999-10-09 01:03:11 +00:00
Sven Neumann 692887db20 more export fiddling and a small change to the undo_history
--Sven
1999-10-09 00:11:50 +00:00
Sven Neumann bac4d13db2 fixed scrolling to currently selected row and added preview images.
* app/undo_history.c: fixed scrolling to currently selected row
  and added preview images.


--Sven
1999-10-08 16:53:08 +00:00
Sven Neumann 38a67ce230 a patch to the path tool from Simon Budig
and some cleanup in plug-ins/common/vpropagate.c


--Sven
1999-10-08 10:22:39 +00:00
Manish Singh 8873e7553a 1.1.10 stuff
-Yosh
1999-10-06 23:48:01 +00:00
Simon Budig c8578fc4b4 app/path_tool.h app/path_tool.c app/path_toolP.h app/path_curves.h
1999-10-3  Simon Budig  <Simon.Budig@unix-ag.org>

        * app/path_tool.h
        * app/path_tool.c
        * app/path_toolP.h
        * app/path_curves.h
        * app/path_curves.c
        * app/path_bezier.h
        * app/path_bezer.c

        Minor cleanup in the Api (adding init/cleanup functions for the
        curve-type-specific data, extending the on_handler function to
        return a handler ID, so the tool-core can tell path_curve_drag_handle
        which handle gets dragged around)

        Indentation madness - This must be some kind of infective: Too long
        together with Sven and Mitch :-)
1999-10-06 23:24:22 +00:00
BST 1999 Andy Thomas 14151c8ad0 app/palette.c
Wed Oct  6 23:29:53 BST 1999 Andy Thomas <alt@gimp.org>

	* app/palette.c

	Another attemp at fixing the palette dialog.
	The number of columns are now fixed at sixteen (which
	means the nicely layed out palettes will be OK).
	Expanding the dialog causes the width of the cells to change
	where as the +/- buttons cause the height of the cells to change.
1999-10-06 22:36:09 +00:00
Manish Singh 1799b91e75 s/G_HAVE_CYGWIN/G_WITH_CYGWIN/
-Yosh
1999-10-06 21:27:18 +00:00
Tor Lillqvist 61e9a437db Fix the file_gih_save RUN_WITH_LAST_VALS case, initialise pixpipe
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
directory.
1999-10-06 06:36:46 +00:00
EDT 1999 Austin Donnelly a273905c75 all-singing, all-dancing iscissors. Now scan converts so you can actually
Tue Oct  5 14:02:07 EDT 1999  Austin Donnelly  <austin@gimp.org>

	* app/iscissors.c: all-singing, all-dancing iscissors.  Now
	    scan converts so you can actually select stuff.  Doesn't leak
	    tiles either.  Still have a problem with occasional segfault
	    and CRITICAL assertion failing on addition of anchor when
	    curve not closed.
	* app/scan_convert.c: add connecting list between blocks of points
	    so we actually have a closed polygon.
	* app/tool_options.c: iscissors has just the standard feather and
	    antialias options now.
1999-10-05 18:05:34 +00:00
Manish Singh a3ef836860 libgimp/color_display.h add bpl param for convert func
* libgimp/color_display.h
* app/gdisplay.c: add bpl param for convert func

* gdisplay_color.c: guard against head and tail cases in reorders

* app/gdisplay_color_ui.c: expose_full on all actions, so there is
immediate feedback. Check for no selection and do nothing on actions

* app/path_tool.c: #warning is not portable; change to /* XXX: */

* modules/cdisplay_gamma.c: make it so it actually works properly

-Yosh
1999-10-05 02:16:59 +00:00
Manish Singh d0519fd33d use G_OS_WIN32 and G_HAVE_CYGWIN #defines
* 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
1999-10-04 19:26:07 +00:00
Michael Natterer a70b308815 made it a bit bigger and sprinkled some pixmaps.
1999-10-04  Michael Natterer  <mitch@gimp.org>

	* app/undo_history.c: made it a bit bigger and sprinkled some
	pixmaps.
1999-10-04 16:58:21 +00:00
Asbjørn Pettersen ab824abe69 Display ParseFunc table 1999-10-04 15:49:10 +00:00
Kelly Martin 8fd0791d89 don't update a tile's swap file position until the tile's actually been
* app/tile_swap.c (tile_swap_default_out): don't update a tile's swap
  file position until the tile's actually been successfully written
  out

* app/tile_cache.c (tile_cache_zorch_next): add test to make sure tile
  was successfully swapped out before dropping it from the cache

--klm
1999-10-04 15:31:14 +00:00
Asbjørn Pettersen 11e3f61b27 add ../gimpui.o,,, 1999-10-04 14:25:05 +00:00
Michael Natterer c57717bce1 one more help system update. 1999-10-04 10:02:46 +00:00
Michael Natterer 5a01821b1f EEEEEEEEEEK!!! 1999-10-04 08:40:33 +00:00
Manish Singh c4702f3d47 add scan_convert.[ch]
-Yosh
1999-10-04 06:48:24 +00:00
EDT 1999 Austin Donnelly 48c54f0f5a NEW FILES: app/scan_convert.c common code from free_select.c and
Mon Oct  4 01:46:46 EDT 1999  Austin Donnelly  <austin@gimp.org>

	NEW FILES:
	* app/scan_convert.c
	* app/scan_convert.h: common code from free_select.c and
	    bezier_select.c

	MODIFIED FILES:
	* app/disp_callbacks.c: Fix for bug #2517 - dragging colour swatch
	    to image with no layers causes segfault.  Something is
	    repainting empty images as white rather than chequerboard as
	    well, which still needs fixing.

	* app/free_select.c: move code out to scan_convert.c
	* app/free_select.h: use ScanConvertPoint not FreeSelectPoint
	* tools/pdbgen/pdb/tools.pdb: ScanConvertPoint again
	* app/tools_cmds.c: generated version of above.
1999-10-04 05:51:40 +00:00
Olof S Kylander 31d282ff25 app/color_cmds.c
1999-10-04 Olof S Kylander <olof@gimp.org>

        * app/color_cmds.c

        removed the bug fix for 2306 and 2208
        It is autogen code so ...
1999-10-04 02:17:56 +00:00
Sven Neumann 09cab0b18b This was an easy one.
--Sven
1999-10-04 02:00:33 +00:00
Olof S Kylander 69b11b7343 app/color_cmds.c
1999-10-04 Olof S Kylander <olof@gimp.org>

        * app/color_cmds.c

        fixed bug report 2306 and 2208
1999-10-04 01:49:07 +00:00
Sven Neumann cdc3f6e779 more export stuff
--Sven
1999-10-03 23:48:33 +00:00
Olof S Kylander 29d5575655 app/airbrush_blob.c * app/xinput_airbrush.c A bit better airbrush. It is
1999-10-03 Olof S Kylander <olof@frozenriver.com>
        * app/airbrush_blob.c         * app/xinput_airbrush.c
        A bit better airbrush. It is still ugly but it now
        looks like airbrush. This is a tool for Wacom
        tables it is no use to use it with a mouse.
1999-10-03 21:21:01 +00:00
Sven Neumann 2212b94fff Some updates for the Path-Tool.
Bye,
        Simon  (using Svens account)
1999-10-03 19:13:54 +00:00
Sven Neumann 6a19448d82 Undestructive File Export(TM)
--Sven

CVS ----------------------------------------------------------------------
1999-10-03 18:54:54 +00:00
Michael Natterer 3ed87f4aa4 app/fileops.c app/menus.[ch] app/menus.h show a help page for all menu
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
	parameter.
1999-10-03 16:54:17 +00:00
Michael Natterer a11f33345d The GIMP Help System part II: press "F1" while browsing a menu to show the
1999-10-03  Michael Natterer  <mitch@gimp.org>

	The GIMP Help System part II: press "F1" while browsing a menu
	to show the help page for the menu entry you're currently over
	with the mouse.

	* app/color_notebook.c: all color selectors have to register with
	a help page now.

	* app/color_select.[ch]: register with a help string. Removed
	the dialog part of the files because it's use was deprecated
	anyway (use color notebooks instead).

	* app/colormap_dialog.i.c
	* app/colormap_dialog.p.h
	* app/palette.c
	* app/palette_select.c: use a color notebook instead of a color
	selector.

	* app/gimphelp.c
	* app/gimpui.c: minor changes.

	* app/gimprc.c: "use help" defaults to TRUE now.

	* app/lc_dialog.c
	* app/lc_dialogP.h: a special help function which shows the help
	for the currently selected notebook page.

	* app/menus.c: some weird code which catches "key_press_event"
	in all menu shells and pops up the corresp. help page for the
	selected item. Embedded the GtkItemFactoryEntry in a new
	GimpItemFactoryEntry to allow a help path to be stored.
	Will be partially exported and moved to gimphelp.[ch] later to
	catch key_press for plug-in menu items (don't try this now ;-)

	* app/app_procs.c
	* app/brush_edit.c
	* app/brush_select.c
	* app/channel_ops.c
	* app/channels_dialog.c
	* app/commands.c
	* app/convert.c
	* app/devices.c
	* app/file_new_dialog.c
	* app/fileops.c
	* app/gdisplay.c
	* app/gdisplay_color.c
	* app/gdisplay_color_ui.c
	* app/gdisplay_ops.c
	* app/global_edit.c
	* app/gradient.c
	* app/gradient_select.c
	* app/interface.c
	* app/layers_dialog.c
	* app/module_db.c
	* app/paths_dialog.c
	* app/pattern_select.c
	* app/preferences_dialog.c
	* app/qmask.c
	* app/resize.c
	* app/undo_history.c: changed all dialog constructors to point
	to the right place in the new help file structure.

	* configure.in
	* help/*: the basic new help file structure.

	* modules/colorsel_gtk.c
	* modules/colorsel_triangle.c
	* modules/colorsel_water.c: register a help page.

	* plug-ins/helpbrowser/helpbrowser.c: load the help files
	according to the new help file structure.
1999-10-03 13:50:19 +00:00
Tor Lillqvist d28bd8b689 Change the GDK_WINDOWING_* stuff to be buildable with current CVS gtk+
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.
1999-10-03 00:43:05 +00:00
EDT 1999 Austin Donnelly 97140d8f15 Factored out common code from gimp_image_{raise,lower}_layer and
Fri Oct  1 19:05:04 EDT 1999  Austin Donnelly  <austin@gimp.org>

	* app/gimpimage.c: Factored out common code from
	    gimp_image_{raise,lower}_layer and
	    gimp_image_{raise_layer_to_top,lower_layer_to_bottom}.  They
	    now call gimp_image_position_layer() to do the real work.
	* app/gimpimage.h: gimp_image_position_layer() takes extra arg to
	    tell whether an undo should be pushed.
	* app/layers_dialog.c: reposition layer with undo.
	* app/undo.c: new undo type for layer reposition.  Layer rename
	    shouldn't dirty and clean the image twice!
	* app/undo.h: prototype for undo_push_layer_reposition().
	* app/undo_types.h: LAYER_REPOSITION_UNDO type.
1999-10-01 23:13:13 +00:00
Austin Donnelly 4b4d3934db don't want sub-undo type undo_push_channel() takes ADD or REMOVE type
Fri Oct  1 15:18:34 1999  Austin Donnelly  <and1000@research.att.com>

	* app/channel.h: don't want sub-undo type
	* app/gimpimage.c: undo_push_channel() takes ADD or REMOVE type
	* app/undo.c: undo_push_channel() takes type.  More specific
	    CHANNEL_{ADD,REMOVE}_UNDO types.
	* app/undo.h: undo_push_channel() prototype.
	* app/undo_types.h: More specific CHANNEL_{ADD,REMOVE}_UNDO types.
1999-10-01 19:26:56 +00:00
Austin Donnelly 11409e97fb comment typo fix, plus add %D* to default image-title-format string, so
Fri Oct  1 12:46:12 1999  Austin Donnelly  <austin@gimp.org>

	* gimprc.in: comment typo fix, plus add %D* to default
	    image-title-format string, so people get a '*' in the titlebar
	    if their image is dirty.
	* app/fileops.c: initialise filename before using it.
	* app/gdisplay.c: empty parameter list () is K&R - should be
	    stronger (void) in ANSI C.
	* app/gimpdrawable.c: gimp_drawable_{dirty,clean} functions
	    removed - no one uses them anyway.  Parasite undo type is
	    proper parasite undo type, not MISC_UNDO.
	* app/gimpdrawableP.h: drawable dirty bit removed.
	* app/gimpimage.c: don't change the resolution if there's no
	    difference from the old one.  Call gdisplay_shrink_wrap() to
	    re-calculate scale factors and refresh the display on
	    resolution change.  Layer undo doesn't have sub-types
	    anymore, uses main UndoType instead.
	* app/layer.h: Remove LayerUndoType
	* app/qmask.c: fix qmask undo so it actually works.
	* app/undo.h: new types for undo_push_layer{,_mask} and
	    undo_push_qmask.
	* app/undo.c: change way group boundaries are represented:
	    each Undo has a group_boundary boolean set to TRUE if this is
	    the start or the end of a group, and the type of the Undo is
	    the group's type.  Within a group, each Undo keeps its own
	    type.  This allows pop funcs and free funcs to do
	    type-specific things (eg needed by layer and channel stuff).
	    Don't maintain per-drawable dirty flags anymore.   Floating
	    sel to layer and layer rename now uses meaningful undo types.
	* app/undo_types.h: more specific undo types:
	    LAYER_{ADD,REMOVE}_UNDO, LAYER_MASK_{ADD,REMOVE}_UNDO,
	    LAYER_RENAME_UNDO, and PARASITE_{ATTACH,DETACH}_UNDO.
	* app/undo_history.c: oops - undo stack was being placed into gtk
	    list in wrong order.
	* app/edit_selection.c: push more descriptive LAYER_DISPLACE_UNDO
	    rather than MISC_UNDO.
	* app/layers_dialog.c: better tagging of undo types
1999-10-01 18:43:24 +00:00
Asbjørn Pettersen cdf43f81f5 add parameter options 1999-10-01 15:16:15 +00:00
BST 1999 Andy Thomas ff8579eae4 app/paintbrush.c
Thu Sep 30 23:06:47 BST 1999 Andy Thomas <alt@gimp.org>

	* app/paintbrush.c

	Fixed problem with stroking with the paintbrush tool.
	Stroking paths with fade/gradients now works again.
1999-09-30 22:12:58 +00:00
Michael Natterer 064ed1754c "F1" for the indexed palette dialog.
1999-09-30  Michael Natterer  <mitch@gimp.org>

	* app/colormap_dialog.i.c: "F1" for the indexed palette dialog.
1999-09-30 11:20:08 +00:00
Michael Natterer 6afe31ff6a made the indentation consistent.
1999-09-30  Michael Natterer  <mitch@gimp.org>

	* app/gradient.c: made the indentation consistent.
1999-09-30 10:50:36 +00:00
Adam D. Moss 762a4cb35b very minor fix 1999-09-29 21:49:27 +00:00
BST 1999 Andy Thomas 2f392e82b4 app/colourmap_dialog.i.c app/gdisplay_ops.c app/palette.c
Wed Sep 29 21:56:52 BST 1999 Andy Thomas <alt@gimp.org>

	* app/colourmap_dialog.i.c
	* app/gdisplay_ops.c
	* app/palette.c

	1) Index palette dialog now registered so it gets hidden/shown when
	the "TAB key" is pressed in the canvas window.

	2) When the index palette is modified the changes are now shown
	immediately in all views.

	3) DND now works in the index palette.

	4) OK button when modifying a colour in the index palette
	dismisses the dialog correctly.

	5) DND in the colour palette viewer does not crash when no colours
	are selected.

	6) Corrected a problem with "New View". If your canvas is zoomed in
	and the image is offset in the display and a new view is requested
	the Canvas in the new view is corrupted. This bug is also in
	gimp 1.0.x
1999-09-29 21:18:23 +00:00
Sven Neumann c3a5070e5c undo for resolution and unit changes
--Sven
1999-09-29 16:44:52 +00:00
Asbjørn Pettersen c4606f7930 add parse_absolute_gimprc_file() 1999-09-28 15:02:04 +00:00
Asbjørn Pettersen 207bdfb851 skip parse_absolute_gimprc_file() 1999-09-28 15:00:43 +00:00
Asbjørn Pettersen 727142eb19 add o files 1999-09-28 14:59:54 +00:00
Manish Singh 0f9e2dcabd Ack. Stupid debug line.
-Yosh
1999-09-28 00:31:39 +00:00
Manish Singh dbc143a61e revert that last set_locale change, it was bogus
* app/main.c: revert that last set_locale change, it was bogus

* app/gdisplay.c: don't update menu sensitivities when flushing
immediately, so that painting isn't slowed by it

-Yosh
1999-09-27 22:12:44 +00:00
Michael Natterer 002aa905db app/Makefile.am app/gimphelp.[ch] new files
1999-09-27  Michael Natterer  <mitch@gimp.org>

	* app/Makefile.am
	* app/gimphelp.[ch]
	* app/gimpui.[ch]: new files

	* app/interface.[ch]
	* app/preferences_dialog.[ch]

	The GIMP Help System part 1: Press "F1" in any dialog to pop up
	the help page for this dialog.

	Moved the widget constructors from preferences_dialog.[ch] and the
	query boxes from interface.[ch] to gimpui.[ch].

	The dialog constructors take a help_func and a help_data
	parameter and install the "F1" accelerator which emits the new
	"help" signal.

	The "help" signal callback calls help_func(help_data) which finally
	has to call gimp_help() which in turn invokes the help browser.

	Still have to find a proper way to (1) prevent "F1" being assigned
	to some menu item and (2) to catch "F1" while browsing the menu
	trees in order to pop up the help for the selected item.

	* app/menus.c: a <Toolbox>/File/Help... menu item.
	* app/commands.[ch]: a command callback for the "Help..." menu item.

	* app/gimprc.[ch]: new boolean gimprc variable "use_help".

	* app/info_dialog.[ch]: pass a help function and data to the info
	dialog constructor.

	* app/tools.[ch]: store the tools help page names in the tool info
	structure. Export a special tools_help_func() which shows the help
	page for the active tool.

	* app/[all files calling a dialog constructor]: pass the dialog's
	help page to the constructor.

	Most dialogs are now created by gimp_dialog_new() which also sets
	up the action_area and the WM delete event callback, so I removed
	the resp. code from these files.

	Fixed some minor bugs and did some other stuff but didn't change
	any logic except dialog creation.

	* plug-ins/helpbrowser/helpbrowser.c: don't try to call a running
	help browser and don't install any menu path (all done in
	app/gimphelp.[ch] now).
1999-09-27 17:58:10 +00:00
Asbjørn Pettersen 46a53f0a7d add parse_add_directory_tokens() 1999-09-27 15:23:58 +00:00
Sven Neumann 1f103341c0 brush pipe animation in the brushes dialog too
--Sven
1999-09-26 21:16:37 +00:00
Sven Neumann 4695e3ae51 s/widget_draw/widget_queue_draw/
--Sven & Jtl
1999-09-26 11:35:01 +00:00
BST 1999 Adam D. Moss 62695195ae Fix bizarre typo and clean up a switch.
Sun Sep 26 10:56:26 BST 1999 Adam D. Moss <adam@gimp.org>

	* app/plug-in.c: Fix bizarre typo and clean up a switch.
1999-09-26 09:57:32 +00:00
Manish Singh 0fac8034eb version number bump
* configure.in: version number bump

* app/unittest/Makefile.am: commented out unused var targets to
quell warnings

* libgimp/stdplugins-intl.h: fix include guard

* plug-ins/common/animoptimize.c
* plug-ins/common/lic.c
* plug-ins/common/warp.c
* plug-ins/gap/Makefile.am
* plug-ins/gap/gap_arr_dialog.c
* plug-ins/gap/gap_dbbrowser_utils.c
* plug-ins/gap/gap_filter_foreach.c
* plug-ins/gap/gap_filter_main.c
* plug-ins/gap/gap_lib.c
* plug-ins/gap/gap_main.c
* plug-ins/gap/gap_mod_layer.c
* plug-ins/gap/gap_mov_dialog.c
* plug-ins/gap/gap_mov_exec.c
* plug-ins/gap/gap_mpege.c
* plug-ins/gap/gap_range_ops.c
* plug-ins/gap/gap_resi_dialog.c
* plug-ins/gap/gap_split.c
* plug-ins/gap/resize.c
* plug-ins/gimpressionist/Makefile.am
* plug-ins/gimpressionist/brush.c
* plug-ins/gimpressionist/color.c
* plug-ins/gimpressionist/general.c
* plug-ins/gimpressionist/gimp.c
* plug-ins/gimpressionist/gimpressionist.c
* plug-ins/gimpressionist/orientation.c
* plug-ins/gimpressionist/orientmap.c
* plug-ins/gimpressionist/paper.c
* plug-ins/gimpressionist/placement.c
* plug-ins/gimpressionist/ppmtool.c
* plug-ins/gimpressionist/presets.c
* plug-ins/gimpressionist/preview.c
* plug-ins/gimpressionist/repaint.c
* plug-ins/gimpressionist/size.c
* plug-ins/gimpressionist/sizemap.c
* plug-ins/mosaic/Makefile.am
* plug-ins/mosaic/mosaic.c
* plug-ins/struc/Makefile.am
* plug-ins/struc/struc.c: applied gimp-yasuhiro-990917-0, plugin i18n patch

-Yosh
1999-09-26 05:16:19 +00:00
Sven Neumann cd45f5d062 applied patches
--Sven
1999-09-26 04:53:59 +00:00
Sven Neumann ae743e3f17 Cleanups...
Shame on the one who decided it would be good idea to load pixmap brushes
as pipes, it destroys the whole purpose of the GIMP_IS_BRUSH_PIPE macro!!


--Sven & Jtl
1999-09-26 03:39:59 +00:00
Sven Neumann eba56bd1c3 animate brush_pipes in the popup; the brush_selector will have to follow
this example later....


--Sven & Jtl
1999-09-26 02:25:33 +00:00
Sven Neumann 933a5abd54 bug-fixing....
--Sven
1999-09-25 21:45:26 +00:00
Sven Neumann 31331996fa fun with gradient_length and fade_out
--Sven & Jtl
1999-09-25 19:49:58 +00:00
Asbjørn Pettersen 03cc050dce gimprc unit test prog 1999-09-25 17:19:32 +00:00
Manish Singh d02f3bce77 moved the gtk_set_locale call to after it's been inited
* app/main.c: moved the gtk_set_locale call to after it's
been inited

* app/paint_core.h: set skip for ToolFlags

* app/procedural_db.h: don't skip PDB_TEMPORARY in PDBProcType

* libgimp/Makefile.am: don't install stdplugins-intl.h, that's
only for disted plugins

* libgimp/gimpenums.h: is now autogenned

* libgimp/gimpfeatures.h.in: #define for new enums

* libgimp/gimpintl.h: #include <locale.h>

* libgimp/stdplugins-intl.h: add include guards

* plug-ins/AlienMap2/Makefile.am: add INTLLIBS

* plug-ins/gflare/Makefile.am: removed unused libgimpui

* plug-ins/script-fu/script-fu-console.c
* plug-ins/script-fu/script-fu-scripts.c
* plug-ins/script-fu/script-fu-server.c: use stdplugins-intl.h

* plug-ins/sel2path/Makefile.am: removed unused libgck.la

* tools/pdbgen/Makefile.am: removed script-fu.pl, added enumcode.pl

* tools/pdbgen/lib.pl
* tools/pdbgen/enumcode.pl: enumcode.pl now autogenned gimpenums.h
as well as the script-fu stuff

-Yosh
1999-09-25 01:59:43 +00:00
Sven Neumann 5f6d9e9ac5 reenabled the line preview for the eraser tool
--Sven
1999-09-24 23:23:23 +00:00
BST 1999 Andy Thomas 8218e200c7 app/paths_dialog.c
Fri Sep 24 23:54:26 BST 1999 Andy Thomas <alt@gimp.org>

	* app/paths_dialog.c

	Applied patch from Garry R. Osgood. Fixes bug #2253.
	Thansk for the patch!
1999-09-24 23:01:10 +00:00
BST 1999 Andy Thomas ba5b191bae app/fileops.c
Fri Sep 24 22:22:43 BST 1999 Andy Thomas <alt@gimp.org>

	* app/fileops.c

	Fix for the preview/thumbnail interactions causing
	corruptions.
1999-09-24 21:39:06 +00:00
Sven Neumann fc44a95b00 gimprc updates
--Sven
1999-09-24 18:28:35 +00:00
Manish Singh 7d62a34eb4 app/channel.h app/gimpimage.h app/gimpimageP.h app/layer.h app/undo.[ch]
* app/channel.h
* app/gimpimage.h
* app/gimpimageP.h
* app/layer.h
* app/undo.[ch]
* app/undo_types.h: use proper naming convention for undo enums,
and hide them from the pdbgen stuff

* app/procedural_db.h: don't skip PDB_END

* app/undo_history.c: remove gccism from undo_history_append_special

* libgimp/gimpintl.h: INIT_LOCALE should be defined in all cases

* plug-ins/script-fu/Makefile.am: add script-fu-constants.[ch]

* plug-ins/script-fu/script-fu.c: use init_generated_constants

* plug-ins/script-fu/siod.h: #include <stdio.h> for FILE *

* tools/pdbgen/script-fu.pl: new file

* tools/pdbgen/Makefile.am: add rule for constant script-fu gen

* tools/pdbgen/enumgen.pl: add enum skip feature

* tools/pdbgen/lib.pl: use nicks for gimpenums.h

* tools/pdbgen/pdb/procedural_db.pdb: ignore PDB_END

-Yosh
1999-09-23 23:42:38 +00:00
Zach Beane 6f022ac3bc Check the prefs for trust_dirty_flag; if we don't trust it, save no
matter what.
1999-09-23 20:34:30 +00:00
Zach Beane 51d6de9b6b Added trust_dirty_flag preference option. 1999-09-23 20:21:15 +00:00
Sven Neumann ba211f07f2 i18n patch from Daniel Egger
--Sven
1999-09-23 11:49:16 +00:00
Asbjørn Pettersen 9e908f7e11 skip CVS warning 1999-09-22 15:47:53 +00:00
Asbjørn Pettersen e4a418edba what to do 1999-09-22 15:47:33 +00:00
Asbjørn Pettersen 94cef2f47c os2 patches 1999-09-22 15:47:19 +00:00
Zach Beane ca29a71c71 Reverted the patch I applied to fix the SOTA-Chrome bug. Yosh says he
will add a new GUINT8ARRAY type to the PDB to fix this the right way.
1999-09-21 18:53:32 +00:00
Asbjørn Pettersen ed8eeb6d36 add plugdir program 1999-09-21 11:04:37 +00:00
Asbjørn Pettersen 18c835892d add gimp_system_rc_file() 1999-09-21 11:03:13 +00:00
Sven Neumann 8c404ed3e6 do the box thing!
--Sven
1999-09-21 09:11:42 +00:00
Sven Neumann 9ee9939102 made the creation of guides undoable
--Sven
1999-09-20 21:08:53 +00:00
EDT 1999 Austin Donnelly bf8db4adc8 Honest, guv, it's not a feature - it's a tightly integrated package of
Mon Sep 20 12:51:30 EDT 1999  Austin Donnelly  <austin@gimp.org>

	Honest, guv, it's not a feature - it's a tightly integrated
	package of undo system cleanups and fixes.

	NEW FILES:
	* app/undo_history.c: window showing recent undo (and redo) steps
	    available.
	* app/undo_types.h: broken out of undo.h to fix circular includes.

	MODIFIED FILES:
	* app/Makefile.am: compile undo_history.c
	* app/channel.h: use enum for channel undo type, not just magic
	    numbers.
	* app/layer.h: same for layer undos.
	* app/commands.c: edit_show_undo_history_cmd_callback() function to
	    pull up undo history window.
	* app/commands.h: prototype for above.
	* app/gdisplay.c: make undo / redo menu items sensitive according
	    to whether they would do anything.  Would be easy to change
	    the text to say what would be undone/redone, but I don't know
	    the GTK.
	* app/gimpimage.c: new signal emitted by gimage:
	    UNDO_EVENT. gimp_image_undo_event() function to emit it.
	* app/gimpimage.h: prototype for above.
	* app/gimpimageP.h: pushing_undo_group member is now an undo_type,
	    not an int.  Keep undo history widget here too (if created).
	* app/menus.c: add "Edit/Undo history..." to image menu.
	* app/undo.c: new types: enums undo_type and undo_state rather than
	    ints and magic numbers.  All undo_pop_* and undo_free_*
	    functions made static.  New static function
	    undo_type_to_name().  Issue undo event signals on various
	    important events (eg undo pushed, undo popped etc).
	    undo_push() now takes a "dirties_image" arg to say whether
	    image should be dirtied.  Layer moves now dirty the image.  A
	    couple of g_return_if_fails () on undo_pop and undo_redo to
	    assert we're not in the middle of an undo group.
	    undo_get_{undo,redo}_name() to peek at names of top items on
	    undo and redo stacks resp.   undo_map_over_{undo,redo}_stack()
	    to run a function for each item or group on stack.  Layer and
	    channel undos use symbolic names rather than 0 or 1.  Array
	    mapping undo types to names.
	* app/undo.h: split out undo types to undo_types.h.  Prototypes
	    for functions described above.  undo_event_t enum.
	    undo_history_new() prototype lives here too.

	Random other fixes:
	* app/gimpdrawable.c
	* app/image_render.c: default labels in switches to keep egcs happy.

	* app/nav_window.c: some fixes to (sort of) cope with image res !=
	    screen res.  Still needs work to handle non-square pixels
	    properly.

	* app/paths_dialog.c: bad idea to call gimp_image_dirty()
	    directly.  Even though it's currently commented out.
1999-09-20 17:15:20 +00:00
Asbjørn Pettersen dae8fd9d6d first unit test programs 1999-09-20 16:33:43 +00:00
Zach Beane cae6615147 Applied patch from _tom_@sf.airnet.ne.jp in bug #2208, this fixes #2208
* app/color_cmds.c: Applied patch from _tom_@sf.airnet.ne.jp in
        bug #2208, this fixes #2208 and #2157.
1999-09-16 16:37:38 +00:00
Manish Singh fa39134a36 use a temp var for xoring pointers
-Yosh
1999-09-15 18:12:14 +00:00
Sven Neumann e56ff58b04 applied a patch from Simon.
--Sven
1999-09-15 10:54:25 +00:00
Tor Lillqvist e422b59e59 Include config.h, guard inclusion of <unistd.h>.
1999-09-14  Tor Lillqvist  <tml@iki.fi>

* app/brush_select.c: Include config.h, guard inclusion of
<unistd.h>.

* app/gimpcontextpreview.c: Include config.h, <string.h> and
appenv.h.

* app/xinput_airbrush.c: Include config.h, <stdio.h>, appenv.h and
libgimp/gimpmath.h. Use G_PI.

* app/makefile.{cygwin,msc}: Updates.

* plug-ins/makefile.{cygwin,msc}: Add the unofficial sel_gauss
plug-in. Add new object files for FractalExplorer and
gimpressionist.

* plug-ins/common/iwarp.c (iwarp_deform): Combine two loops over
the same xi, yi area into one. Remove the then actually unused
deform_area_vectors array. Only one element of the array was used
for each x,yi loop.

* plug-ins/common/sparkle.c: Don't include <math.h>,
libgimp/gimpmath.h includes it. Use G_PI.
1999-09-14 21:20:04 +00:00
Manish Singh d86bcdf9a4 use break; instead of compiler barfing goto and label: } construct
* app/convert.c: use break; instead of compiler barfing goto and
label: } construct

-Yosh
1999-09-14 20:02:23 +00:00
Manish Singh 049877f03f plug-ins/sel2path/global.h plug-ins/sel2path/math.c s/acosd/my_acosd/
* plug-ins/sel2path/global.h
* plug-ins/sel2path/math.c
* plug-ins/sel2path/vector.c: s/acosd/my_acosd/ since some platforms
seem to have this function in the native libm

* plug-ins/script-fu/scripts/xach-effect.scm: remove stale debugging
line

* app/guides_cmds.c
* app/tools_cmds.c: changes from below

-Yosh
1999-09-14 19:44:51 +00:00
Manish Singh c36d8e2b3b -export-symbols only works with -export-dynamic, so add it.
* app/Makefile.am: -export-symbols only works with -export-dynamic, so add it.

* plug-ins/gimpressionist/preview.c: dictch naughty // comment

-Yosh
1999-09-13 22:31:07 +00:00
Sven Neumann 5a8eb56643 bug-fixing...
--Sven
1999-09-13 11:03:37 +00:00
Manish Singh 3ce38aa009 another XachPatch (TM) to fix revert and urls
-Yosh
1999-09-11 23:45:57 +00:00
BST 1999 Andy Thomas d045b9667a app/nav_window.c app/floating_sel.c
Sat Sep 11 22:45:12 BST 1999 Andy Thomas <alt@gimp.org>

	* app/nav_window.c
	* app/floating_sel.c

	Hopefully fix for nav_popup when using tablets.
	Also applied the patch supplied by Garry R. Osgood. Thanks.
1999-09-11 21:51:08 +00:00
Manish Singh 1d68203653 add cursors/badmsk and pixmaps/navbutton.xpm
* Makefile.am: add cursors/badmsk and pixmaps/navbutton.xpm

* app/Makefile.am: add apptypes.h, gimpbrushpipeP.h, and
colormap_dialog.i.c

* libgimp/parasiteio.c: #include <stdlib.h>

* plug-ins/imagemap/Makefile.am: add *.h

-Yosh
1999-09-11 19:33:33 +00:00
Kelly Martin 9cd019f139 Applied a patch offered by Zach Beane to close bug #2145. 1999-09-11 17:26:05 +00:00
BST 1999 Andy Thomas d866698eb3 app/palette.c
Sat Sep 11 17:46:37 BST 1999 Andy Thomas <alt@gimp.org>

	* app/palette.c

	When resizing the dialog it now fills with colours (as expected).
1999-09-11 16:55:40 +00:00
EDT 1999 Adrian Likins 2ed3a56155 Make gradient brushes work again.
Fri Sep 10 00:18:17 EDT 1999 Adrian Likins <adrian@gimp.org>

        * app/paintbrush.c:  Make gradient brushes work again.
1999-09-10 04:21:00 +00:00
Tomas Ogren d8498e3087 Add the path_tool* here, makes gimp compile
1999-09-09  Tomas Ogren  <stric@ing.umu.se>

        * app/Makefile.am: Add the path_tool* here, makes gimp compile
1999-09-09 19:58:41 +00:00
Sven Neumann 831b75e301 Correct scaling of brush pipes and pixmap brushes.
--Sven
1999-09-09 19:11:38 +00:00
Sven Neumann d21d00be23 Yet another new tool...
--Sven
1999-09-09 17:21:06 +00:00
Manish Singh 322627964d (from gimp-narazaki-990909-0)
* app/layers_dialog.c: check for layer validity in
layer_widget_preview_events

* app/lc_dialog.c: remove GIMP_IMAGE() cast from the
menu_preview_update callback like the comment says to

(from gimp-yasuhiro-990907-0)

* app/menus.c
* plug-ins/common/autocrop.c
* plug-ins/common/c_astretch.c
* plug-ins/common/color_enhance.c
* plug-ins/common/guillotine.c
* plug-ins/common/normalize.c
* plug-ins/common/rotate.c
* plug-ins/common/rotators.c
* plug-ins/common/spheredesigner.c
* plug-ins/common/threshold_alpha.c
* plug-ins/common/zealouscrop.c: i18n markings

-Yosh
1999-09-09 07:09:33 +00:00
Sven Neumann 181c66985a Sorry for breaking the freeze, but I had these almost ready for weeks now...
--Sven
1999-09-09 01:47:54 +00:00
Sven Neumann 1f90bbd251 Correct the bug in gimage_mask_border_callback () that was reported on the
list yesterday.


--Sven
1999-09-07 10:58:20 +00:00
Olof S Kylander/GIMP 44d41b19b5 Okay I have committed the ugly airbrush now 1999-09-07 01:33:44 +00:00
Olof S Kylander/GIMP f58c6dcc55 Okay I have committed the ugly airbrush now. 1999-09-07 01:24:50 +00:00
Sven Neumann 846d480ca3 igittigittigitt
--Sven
1999-09-07 00:14:49 +00:00
Sven Neumann a07532d955 return FALSE in event_handlers so you use the preview_widget in a button
--Sven
1999-09-07 00:07:05 +00:00
Sven Neumann 6ca8158aeb More nerds and a fairer shuffle algorithm.
--Sven
1999-09-06 18:59:45 +00:00
Olof S Kylander/GIMP 7110c063e1 Fixed a cut&paste error it the radius check code
Fixed a cut&paste error it the radius check code
1999-09-06 01:15:44 +00:00
Tomas Ogren c9c420f1cf app/disp_callbacks.c app/gdisplay_color.c app/image_new.c i18n fixes.
1999-09-06  Tomas Ogren  <stric@ing.umu.se>

* app/disp_callbacks.c app/gdisplay_color.c app/image_new.c
* app/info_dialog.c app/nav_window.c app/qmask.c app/undo.c:
i18n fixes.
1999-09-06 00:07:03 +00:00
Sven Neumann 34b6cabd7a more dnd
--Sven
1999-09-05 12:45:17 +00:00
Sven Neumann 7272a2142c made dnd work for brushes and patterns.
--Sven
1999-09-05 10:45:07 +00:00
BST 1999 Andy Thomas 56f506a780 app/gdisplay.c app/gdisplay.h app/gimprc.h app/gimprc.c app/nav_window.c
Sat Sep  4 23:21:10 BST 1999 Andy Thomas <alt@gimp.org>

	* app/gdisplay.c
	* app/gdisplay.h
	* app/gimprc.h
	* app/gimprc.c
	* app/nav_window.c
	* app/nav_window.h
	* app/preferences_dialog.c

	The nav preview size can now be configured. The size applies
	to both the "popup" and dialog window.
1999-09-04 22:27:20 +00:00
Olof S Kylander/GIMP f09e4fa19d Fix of very stupid mis of ending */
Fix of very stupid mis of ending */
1999-09-04 18:37:42 +00:00
Olof S Kylander/GIMP ce5ae4edf2 fix of ifdef in paint_core.c
fix of ifdef in paint_core.c
1999-09-04 17:56:22 +00:00
Sven Neumann 3c01cfd5c0 more dnd
--Sven
1999-09-04 14:56:50 +00:00
Olof S Kylander/GIMP 0f1da4281d Added support for Gtk+ xinput-wheel if we have applied the patch enabling
Added support for Gtk+ xinput-wheel if we have applied the patch enabling it
in Gtk+.
1999-09-04 14:42:43 +00:00
Manish Singh adfadca186 gle sync
-Yosh
1999-09-04 06:29:10 +00:00
Sven Neumann fb8c1d4db4 color dnd
--Sven
1999-09-04 03:36:54 +00:00
Tomas Ogren be4bec7e04 setlocale (LC_NUMERIC, "C") after gtk_init because gtk_init zaps previous
1999-09-04  Tomas Ogren  <stric@ing.umu.se>

* app/main.c: setlocale (LC_NUMERIC, "C")  after gtk_init because
gtk_init zaps previous settings
1999-09-04 01:43:50 +00:00
BST 1999 Andy Thomas eff3e1b8ce app/curves.c app/curves.h
Fri Sep  3 22:52:26 BST 1999 Andy Thomas <alt@gimp.org>

	* app/curves.c
	* app/curves.h

	Added indicators (x,y of mouse & x for the line) to the curves
	dialog.
1999-09-03 21:58:41 +00:00
Manish Singh c6a9919e39 new vwrapbox stuff
* app/gtkvwrapbox.[ch]: new vwrapbox stuff

* app/Makefile.am: added new files

* app/interface.c: place the indicator areas in a vwrapbox. Still
kinda screwy tho.

-Yosh
1999-09-03 00:15:11 +00:00
Sven Neumann 98d58ec1ef forgot the initialize pixmap_buf when the brush is not scaled
--Sven
1999-09-02 21:00:41 +00:00
Tor Lillqvist 5e0093547e Accept what g_strescape throws at us (specifically, octal sequences that
1999-09-02  Tor Lillqvist  <tml@iki.fi>

* plug-ins/script-fu/interp_sliba.c (lreadstring): Accept what
g_strescape throws at us (specifically, octal sequences that start
with any octal digit, and are at most three octal digits long).

* app/makefile.{cygwin,msc}: Update.
1999-09-02 20:54:07 +00:00
Manish Singh 52b5222052 app/gtkhwrapbox.[ch] sync from gle
* app/gtkhwrapbox.[ch]
* app/gtkwrapbox.[ch]: sync from gle

* app/inteface.c: set allow_shrink on the toolbox window, use
gtk_hwrap_box_new

* app/blend.c: use shift to constrain to 45 deg: XachCode (tm)

-Yosh
1999-09-02 18:56:39 +00:00
Sven Neumann 42b6faccc0 I decided not to try to rewrite the brush_select dialog to make use of
the new preview widgets. This means code_duplication, but I don't want to
spend the whole weekend on this...


--Sven
1999-09-02 17:27:28 +00:00
Sven Neumann c73db058f3 closed the bug Xach reported on the list and made the previews correctly
update itself if brush/gradient changes.


--Sven
1999-09-02 14:46:58 +00:00
jaycox 2b5130f08a free the brush dialog before freeing the brushes.
* app/app_procs.c: free the brush dialog before freeing the brushes.

	* app/blend.c, app/bucket_fill.c: don't include brush_select.h

	* app/brush_select.[ch]: add the ability to delete generated brushes.

	* app/gimpbrushgenerated.c: save the brush parameters on seperate lines.

	* app/gimpbrushlist.c: make sure we don't overwrite other brush
	files when saving newly created brushes.
1999-09-02 09:20:48 +00:00
Manish Singh 9fb081a7e6 add gimpmath.h
* libgimp/Makefile.am: add gimpmath.h

* app/gtkwrapbox.[ch]
* app/gtkhwrapbox.[ch]: wrapbox widget from gle

* app/Makefile.am: added those files

* app/interface.c: use an hwrapbox for the toolbar. Still not perfect
yet, working on it.

* app/gimpdrawable.c
* app/about_dialog.c
* app/airbrush.c
* app/blend.c: some minor code cleanup

-Yosh
1999-09-02 01:41:18 +00:00
Tor Lillqvist 388199215e Make also the non-gui paintbrush (called when stroking a path) handle
1999-09-02  Tor Lillqvist  <tml@iki.fi>

* app/paintbrush.c (paintbrush_non_gui_default,
paintbrush_non_gui): Make also the non-gui paintbrush (called when
stroking a path) handle changing brushes, i.e. pixmap brush pipes.
1999-09-02 00:17:25 +00:00
Tor Lillqvist 5475ff08a9 New files. Types and functions related to "standard" parasite types. Used
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.
1999-09-02 00:01:41 +00:00
BST 1999 Andy Thomas f380edd704 app/gdisplay.c app/gdisplay.h app/interface.c app/nav_window.c
Wed Sep  1 23:18:21 BST 1999 Andy Thomas <alt@gimp.org>

	* app/gdisplay.c
	* app/gdisplay.h
	* app/interface.c
	* app/nav_window.c
	* app/nav_window.h
	* pixmap/navbutton.xpm (new)

	New popup navigation window. press the icon that appears in
	the bottom right-hand corner of the image display. A navigation
	window will appear that will allow you to scroll around the image if
	the area shown is smaller than the overall image size. Thanks to tml
        for the idea.
1999-09-01 22:39:44 +00:00
BST 1999 Adam D. Moss f4f0932dfd app/gradient.c app/color_transfer.c app/free_select.c app/lut_funcs.c
Wed Sep  1 22:28:09 BST 1999 Adam D. Moss <adam@gimp.org>

	* app/gradient.c
	* app/color_transfer.c
	* app/free_select.c
	* app/lut_funcs.c
	* app/blob.c: s/#include <math.h>/#include "libgimp/gimpmath.h"/
1999-09-01 21:31:55 +00:00
Adam D. Moss a437ece36f ed Sep 1 21:27:27 BST 1999 Adam D. Moss <adam@gimp.org>
* app/convert.c app/convert.h:
        Optional low-bleed FS dithering

        * app/fsdither.h: Tables are const

        * app/convert_cmds.c app/internal_procs.c tools/pdbgen/enums.pl
        tools/pdbgen/pdb/convert.pdb:
        Clean up 'convert' PDB interface cruft.
1999-09-01 20:41:10 +00:00
Tor Lillqvist 6ef23d984f app/appenv.h New file. Includes <math.h>. Move G_PI, RINT(), ROUND() etc
1999-09-01  Tor Lillqvist  <tml@iki.fi>

* app/appenv.h
* libgimp/gimpmath.h: New file. Includes <math.h>. Move G_PI,
RINT(), ROUND() etc from app/appenv.h here, so plug-ins can
use them, too. Remove some commented-out old stuff in appenv.h.

* libgimp/gimp.h: Include gimpmath.h.

* libgimp/gimp.c (gimp_main): Win32: Don't install signal
handlers, we can't do anything useful in the handler ourselves
anyway (it would be nice to print out a backtrace, but that seems
pretty hard to do, even if not impossible). Let Windows inform the
user about the crash. If the plug-in was compiled with MSVC, and
the user also has it, she is offered a chance to start the
debugger automatically anyway.

* app/*several*.c: Include gimpmath.h for G_PI etc. Don't include
<math.h>, as gimpmath.h includes it.

* plug-ins/*/*many*.c: Include config.h. Don't include <math.h>.
Remove all the duplicated definitions of G_PI and rint(). Use
RINT() instead of rint().

* app/app_procs.[ch]: app_exit() takes a gboolean.

* app/batch.c
* app/commands.c
* app/interface.c: Call app_exit() with FALSE or TRUE.

* app/main.c (on_error): Call gimp_fatal_error. (main): Don't
install any signal handler on Win32 here, either.

* app/errors.c (gimp_fatal_error, gimp_terminate): Win32: Format
the message and call MessageBox with it.  g_on_error_query doesn't
do anything useful on Win32, and printf'ing a message to stdout or
stderr doesn't do anything, either, in a windowing application.
1999-09-01 20:30:56 +00:00
Sven Neumann 28449546ae finally found that bug that annoyed me to death at the camp
--Sven
1999-09-01 20:16:18 +00:00
Sven Neumann 1cf2e5c12b tools/pdbgen/pdb/fileops.pdb applied the patch from Wolfgang Hofer that
* tools/pdbgen/pdb/fileops.pdb
        * app/fileops_cmds.c: applied the patch from Wolfgang Hofer that
        should fix the problems saving jpeg with GAP.

        * app/paint_core.[ch]: preview length of brush-stroke in statusbar
        when drawing a line using <Shift>. Do we need the angle here too??


--Sven
1999-09-01 18:46:25 +00:00
Sven Neumann cfc62108b0 added gradient preview to the toolbox.
--Sven
1999-09-01 11:29:39 +00:00
Manish Singh 6320f26fb9 no leading underscore for S_IFOO constants
-Yosh
1999-09-01 06:15:59 +00:00
EDT 1999 Adrian Likins 5e64804c4b app/gimpbrushpip.[ch] app/airbrush.c app/pencil.c fix pencil tool for use
Wed Sep  1 00:56:37 EDT 1999 Adrian Likins <adrian@gimp.org>

        * app/gimpbrushpip.[ch]
        * app/airbrush.c
        * app/pencil.c
        * app/paintbrush.c: fix pencil tool for use with
           pixmaps again
1999-09-01 06:02:08 +00:00
Tor Lillqvist 6a71208875 Use _O_TEMPORARY. Removed #ifdef, instead define the Win32-only _O_BINARY
1999-09-01  Tor Lillqvist  <tml@iki.fi>

* app/tile_swap.c (tile_swap_open): Use _O_TEMPORARY. Removed
#ifdef, instead define the Win32-only _O_BINARY and _O_TEMPORARY
as zero if not defined.

* plug-ins/common/spheredesigner.c: Include config.h (#if
HAVE_CONFIG_H). RAND_FUNC and SRAND_FUNC are defined in that.
1999-09-01 04:27:30 +00:00
Sven Neumann 9f84f50d1c merged brush_preview and pattern_preview into one more generic widget
--Sven
1999-09-01 00:12:33 +00:00
BST 1999 Adam D. Moss d6329d9417 app/convert.[ch] app/convert_cmds.c app/internal_procs.c
Tue Aug 31 22:25:38 BST 1999 Adam D. Moss <adam@gimp.org>

	* app/convert.[ch]
	* app/convert_cmds.c
	* app/internal_procs.c
	* tools/pdbgen/enums.pl
	* tools/pdbgen/pdb/convert.pdb: Added convert_indexed2
	procedure to expose new RGB/GREY->Indexed functionality.
1999-08-31 21:26:34 +00:00
Manish Singh 35abfd517f Files I should have commited yesterday
-Yosh
1999-08-31 17:53:26 +00:00
Tor Lillqvist c056ca170a Add gdisplay_color_ui.[ch].
* app/makefile.{cygwin,msc}: Add gdisplay_color_ui.[ch].
1999-08-31 17:03:34 +00:00
Sven Neumann f7e80423af sanity check in popup_open()
--Sven
1999-08-31 09:19:13 +00:00
EDT 1999 Adrian Likins 99f35577ea add a "Use Pressure" check button to the options so that pressure
Tue Aug 31 01:13:13 EDT 1999 Adrian Likins <alikins@redhat.com>

        * app/pencil.c: add a "Use Pressure" check button to the options
        so that pressure sensitivy can be disabled. Suggested by
        Tuomas Kuosmanen  <tigert@gimp.org>.
1999-08-31 06:13:30 +00:00
Manish Singh e3004838f4 unlame
-Yosh
1999-08-31 03:43:02 +00:00
Manish Singh 3e06b10be5 actually add files
-Yosh
1999-08-31 03:41:55 +00:00
Manish Singh 32772963f1 app/apptypes.h removed trailing enum commas
* app/apptypes.h
* app/pathsP.h: removed trailing enum commas

* app/gdisplay_color.[ch]: added a foreach function to iterate
over the display filter names

* app/gdisplay_color_ui.[ch]: display filter ui stuff (doesn't do
much yet ;)

* app/commands.[ch]
* app/menus.c: hooked the above into the menu system

* app/Makefile.am: added new files

* plug-ins/gimpressionist/preview.c: removed bogus // comment

-Yosh
1999-08-31 02:00:34 +00:00
Tor Lillqvist 26b70edddf Add a new method, gboolean want_null_motion(), that tells if the brush
1999-08-30  Tor Lillqvist  <tml@iki.fi>

* app/gimpbrush.h (GimpBrushClass): Add a new method, gboolean
want_null_motion(), that tells if the brush wants to be painted
when we don't know the direction yet. This is needed (so far) by
brush pipes that select the brush based on direction.

* app/gimpbrush.c: Implement above method returning always TRUE.

* app/gimpbrushpipe.c: Here, implement it returning FALSE or TRUE
on whether the brush pipe has any angular (direction) dependent
dimension or not.

* app/paint_core.c (paint_core_button_press): Call the method
if current point == last point.
1999-08-30 21:24:13 +00:00
Tor Lillqvist c2ef7d787a Save the name on a line of its own as it can contain spaces. Print spaces
1999-08-30  Tor Lillqvist  <tml@iki.fi>

* app/gimpbrushgenerated.c (gimp_brush_generated_save): Save the
name on a line of its own as it can contain spaces. Print spaces
between the floating-point values. (gimp_brush_generated_load)
Corrspondingly, read the name from a line of its own.

* app/gimpbrushlist.c (brushes_free): Portability fixes. Use
g_strconcat. Free allocated strings.
1999-08-30 20:42:34 +00:00
MEST 1999 Sven Neumann 04cfec7586 use the new [gimp|pattern]_preview_widgets.
Mon Aug 30 22:15:29 MEST 1999  Sven Neumann <sven@gimp.org>

        * app/devices.c: use the new [gimp|pattern]_preview_widgets.

        * plug-ins/xjt/xjt.c: correct a gccism


--Sven
1999-08-30 20:14:49 +00:00
jaycox 859481e573 Allow the user to change a brush's name.
* app/brush_edit.[ch]: Allow the user to change a brush's name.

	* app/gimpbrushlist.[ch] * app/gimprc.[ch]: ported Calvin
	Williamson's brush saving code from the hollywood branch.

	* app/preferences_dialog.c:  add the brush_vbr_path

	* data/brushes/round1.vbr: removed.  You should remove this file
	from your system if you have installed previous versions.
1999-08-30 10:51:01 +00:00
BST 1999 Adam D. Moss d0127d1809 *->I: Deterministic colour dithering to arbitrary palettes. Ideal for
Sun Aug 29 17:54:58 BST 1999 Adam D. Moss <adam@gimp.org>

	* app/convert.c: *->I: Deterministic colour dithering
	to arbitrary palettes.  Ideal for animations that are
	going to be delta-optimized or simply don't want to look
	'busy' in static areas.  Also a bunch of bugfixes and tweaks.
	No PDB interface to the new features yet, although a
	convert_image2() is ready and waiting.
1999-08-29 16:54:39 +00:00
BST 1999 Adam D. Moss b2ffe7e026 app/convert.h *->I: Deterministic alpha dithering over layers, reduced
Sun Aug 29 00:40:20 BST 1999 Adam D. Moss <adam@gimp.org>

        * app/convert.h
        * app/convert.c: *->I: Deterministic alpha dithering over layers,
        reduced bleeding of transparent values into opaque values, added
        optional stage to remove duplicate or unused colour entries from final
        colourmap.
1999-08-28 23:40:35 +00:00
Manish Singh 895b0e520c added framework for having multiple simultaneous displays
-Yosh
1999-08-28 22:40:37 +00:00
Manish Singh 287fd04b10 don't check name for NULL and fail
-Yosh
1999-08-28 17:55:47 +00:00
Tor Lillqvist 3e2ef66809 Put in a workaround for the problem with plug-ins on NT and W2K, where
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
down.

* 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.
1999-08-28 17:00:33 +00:00