Commit Graph

90 Commits

Author SHA1 Message Date
Manish Singh bc539b9a3a do "-" to "_" conversion after an failed pdb lookup, just to make sure
* app/batch.c: do "-" to "_" conversion after an failed pdb lookup, just to
make sure

* app/paint_core.c: fix for some uninitialized vars

-Yosh
1998-05-26 19:06:03 +00:00
EDT 1998 Matthew Wilson cbf41509e9 fixed bezierify on offset layers
Fri May 15 03:03:00 EDT 1998  Matthew Wilson  <msw@gimp.org>

        * app/iscissors.c: fixed bezierify on offset layers

--Matt
1998-05-15 07:03:47 +00:00
EDT 1998 Matthew Wilson 74b6888036 a very sad attempt to fix some iscissors lockups/segfaults --Matt
Thu May 14 21:18:27 EDT 1998  Matthew Wilson  <msw@gimp.org>

        * app/iscissors.c: a very sad attempt to fix some iscissors
        lockups/segfaults
--Matt
1998-05-15 01:20:29 +00:00
Manish Singh 343aef675b added --install-bin options for installing already built plugins
* gimptool.in: added --install-bin options for installing already built plugins

* app/convolve.c: check for indexed images properly

* app/layer.c: fix tile refcount oversight

* app/text_tool.c: fix for unlikely memleak

* libgimp/gimpimage.c: stupid ytpo ;)

* plug-ins/gfli/gfli.c: applied gimp-wh-980507-0 to fix "chunk-type-7-bug"

-Yosh
1998-05-12 00:12:47 +00:00
Manish Singh f15158ace9 another special case fix from Nick Lamb. I said it before, and I'll say it
* plug-ins/tiff/tiff.c: another special case fix from Nick Lamb. I said it
before, and I'll say it again: TIFF sucks

* app/fuzzy_select.c: find_boundary works nicer in indexed mode

* app/paint_funcs.c: generate dissolve random number table better (thanks Owen)

* README: bring up to date

-Yosh
1998-05-02 07:44:58 +00:00
EDT 1998 Matthew Wilson 821bbbc475 Another small change to keep the segfaults away An attempt to squelch some
Thu Apr 30 03:15:51 EDT 1998 Matthew Wilson <msw@gimp.org>

        * app/curves.c: Another small change to keep the segfaults away
        * app/disp_callbacks.c: An attempt to squelch some warnings
--Matt
1998-04-30 07:16:54 +00:00
Manish Singh c7712c9cb4 don't die on corrupted fonts. Give some error messages instead.
-Yosh
1998-04-29 08:47:24 +00:00
Tim Janik 2114b5abeb enable adjustment of the scrolled window to keep the focused font visible.
Wed Apr 29 00:56:19 1998  Tim Janik  <timj@gtk.org>

        * app/text_tool.c (text_create_dialog): enable adjustment of the
                scrolled window to keep the focused font visible.
1998-04-28 23:03:26 +00:00
Matt Wilson 010dc35e8a Wee!!! No more curves crash! (Hopefully ;) Watch for this kind of stuff
in other dialog code.  Widget event handlers get called before the data that
they reference gets initialized.  Move all that init code inside the dialog
creation.

-Matt
1998-04-28 01:01:34 +00:00
Manish Singh 5e4287a181 app/procedural_db.c applied mem leak patch from Mattias Gronlund
* app/procedural_db.c
* app/text_tool.c: applied mem leak patch from Mattias Gronlund

* plug-ins/tiff/tiff.c: fix for indexed save from Dan Mitchell

-Yosh
1998-04-26 23:28:04 +00:00
Manish Singh 8137f724ef Added sharpen to stable dist
* Added sharpen to stable dist

* updated sgi and despeckle plugins

* plug-ins/xd/xd.c: works with xdelta 0.18. The use of xdelta versions prior
to this is not-supported.

* plug-in/gfig/gfig.c: spelling corrections :)

* app/fileops.c: applied gimp-gord-980420-0, fixes stale save procs in the
file dialog

* app/text_tool.c: applied gimp-egger-980420-0, text tool optimization

-Yosh
1998-04-24 02:18:52 +00:00
EDT 1998 Matthew Wilson 405af739a0 removed the tool reset when changing gdisplays stop draw_core when
Tue Apr 21 15:11:21 EDT 1998 Matthew Wilson <msw@gimp.org>

	* app/disp_callbacks.c: removed the tool reset when changing gdisplays
	* app/bezier_select.c: stop draw_core when changing gdisplays
--Matt
1998-04-21 20:07:53 +00:00
Matt Wilson aaaeed098b Tus Apr 21 01:59:12 EDT 1998 Matthew Wilson <msw@gimp.org>
* app/iscissors.c: Remove the iscissors outline by stopping the
	draw_core before bezierifying the selection.  There may be
	memory leaks here (the iscissors stuff does not appear to be freed
	on bezierify)

--Matt
1998-04-21 18:31:09 +00:00
Sven Neumann 41d17fb403 Changed the toggle_buttons in the iscissors tool options dialog to
check_buttons, since all tools use them and we should try to have a
consistent interface.


--Sven
1998-04-15 15:47:34 +00:00
Manish Singh 0ecdced2c1 partially applied gimp-monniaux-980413-0, corrects nonfunctional interface
elements

-Yosh
1998-04-14 23:17:58 +00:00
Sven Neumann c5d9a5e9b8 Changed the Ok and Cancel buttons in the histogram dialog to a simple Close,
because that's what they were actually doing.


--Sven
1998-04-13 21:59:28 +00:00
Manish Singh 84abd5d700 Have fun recompiling gimp everyone. It's the great FSF address change!
-Yosh
1998-04-13 05:44:11 +00:00
Manish Singh 6ea6e68604 more fixes... when will it all end...
* configure.in: more fixes... when will it all end...

* plug-ins/xd/xd.c: compile with >= 0.15 now

* app/transform.[ch]: applied gimp-alt-980412, fixes control point selection
for transforms

-Yosh
1998-04-12 08:27:16 +00:00
EDT 1998 Matthew Wilson 84bf7845f9 Don't destroy tool.
Wed Apr  8 01:40:45 EDT 1998 Matthew Wilson <msw@gimp.org>

	* app/by_color_select.c: Don't destroy tool.

--Matt
1998-04-08 05:50:36 +00:00
Matt Wilson e43fc9027c Sun Apr 5 17:43:50 EDT 1998 Matthew Wilson <msw@gimp.org
* app/bezier_select.c: Destroy the tool when changing displays.
	* app/command.c: initialize pointers to drawables when selecting
	tools
	* app/disp_callbacks.c: initialize pointers to drawables on first
	click of a gdisplay
	* app/gimage.c: removed extra tool destruction
	* app/tools.c: make a fallback case when starting tools so that
	you'll always have an active tool.

--Matt
1998-04-05 22:49:16 +00:00
Sven Neumann 69fc983a33 Added buttons to access the menu functions in the Layers&Channels-dialog
more directly. They are connected to the menu-item-callback-functions.


--Sven
1998-04-03 10:29:25 +00:00
EST 1998 Matthew Wilson 70d84d2eba added a change to make a note of the current drawable in the
Thu Apr  2 01:49:34 EST 1998 Matthew Wilson <msw@gimp.org>

	* app/transform_core.c: added a change to make a note of the
	current drawable in the button_release.  This prevents the tool
	from being restarted when the transform_core makes a floating
	selection.
	* app/tools.c: Initialize the current drawable to NULL if
	there is gdisp == NULL.

--Matt
1998-04-03 06:51:56 +00:00
Matt Wilson 0fee9209e3 Thu Apr 2 23:52:54 EST 1998 Matthew Wilson <msw@gimp.org
* app/gimage.c
	* app/tools.c: Made changes to restart tools properly when
	the current drawable changes.

--Matt
1998-04-03 05:01:32 +00:00
Matt Wilson f75645a26c Wed Apr 1 11:10:15 EST 1998 Matthew Wilson <msw@gimp.org
* app/brightness_contrast.c
	* app/by_color_select.c
	* app/color_balance.c
	* app/color_picker.c
	* app/curves.c
	* app/histogram_tool.c
	* app/hue_saturation.c
	* app/levels.c
	* app/posterize.c
	* app/threshold.c
	* app/transform_core.c: modified to call the cancel callback
	instead of the ok callback when freed.  modified to save the
	last used drawable so that we might be able to check later
	and restart the tool if need be.

	* app/disp_callbacks.c
	* app/gimage.c: modified tool restart/destruction code

	* app/tools.c
	* app/tools.h: added tools_initialize, made changes to
	be able save the last used drawable in the tool.

--Matt
1998-04-02 04:51:44 +00:00
Sven Neumann abdc50068d Applied gimp-simon-980331-0. Cosmetic change to the Layers&Channels-dialog.
I will hopefully finish my changes to the dialog tonight and will upload a
new version of my patch. Could you (the core developers) please make up your
mind whether to include it in 1.0 or not...

The Blend-Tool dialog now changes the repeat_mode_menu to insensitive when
the Gradient-Type is one of the Shapeburst-types.


--Sven
1998-04-01 18:48:34 +00:00
EST 1998 Matthew Wilson beb9573a9b Set tool->preserve to TRUE in tools_new_iscissors.
Tue Mar 31 03:10:12 EST 1998 Matthew Wilson <msw@gimp.org>

	* app/iscissors.c: Set tool->preserve to TRUE in tools_new_iscissors.

--Matt "forgets files when committing" Wilson
1998-03-31 08:04:22 +00:00
EST 1998 Matthew Wilson 7dcd8e85ab app/gimage.c app/tools.c Added a field in the Tools struct, preserve.
Tue Mar 31 02:21:15 EST 1998 Matthew Wilson <msw@gimp.org>

	* app/gimage.c
	* app/tools.c
	* app/tools.h: Added a field in the Tools struct, preserve.
	During gimage_dirty, if this flag is not set the tool will be
	reset.  This is good for tools that keep a copy of the image
	in cache for local manipulation like transform_core.

	* app/bezier_select.c
	* app/blend.c
	* app/brightness_contrast.c
	* app/bucket_fill.c
	* app/color_balance.c
	* app/color_picker.c
	* app/crop.c
	* app/curves.c
	* app/ellipse_select.c
	* app/free_select.c
	* app/histogram_tool.c
	* app/hue_saturation.c
	* app/levels.c
	* app/move.c
	* app/paint_core.c
	* app/posterize.c
	* app/rect_select.c
	* app/text_tool.c
	* app/transform_core.c: Set the preserve flag to the correct
	values in the new functions and wrapped calls to functions that
	dirty the gimage to prevent tool restarts.

	* app/disp_callbacks.c
	* app/menus.c: Removed Nether's tool patch.

--phew.  Matt
1998-03-31 07:23:50 +00:00
Manish Singh bd6b3ae4b9 app/brush_select.c get rid of unused variable warnings
* app/brush_select.c
* app/iscissors.c: get rid of unused variable warnings

* app/fileops.c: refresh the filesel better

* app/plug_in.c: make sure everything gets initialized to something in the
plug-in struct

-Yosh
1998-03-31 06:08:08 +00:00
Sven Neumann 83ef9d15b3 By-color-select now checks if the image it is working on still exists.
This fixes the crashes when closing an image with the by-color-select-dialog
associated to it still open and pressing "Reset" or clicking into the preview.

The checks produce some warnings like
** WARNING **: invalid class type (unknown)' in cast to impDrawable'
when failing, but I consider this less evil than a crash.

There is still a problem: Sometimes the by-color-select-dialog is closed
when the image is closed and can't be opened anymore. Anyone?


--Sven
1998-03-30 12:10:54 +00:00
EST 1998 Matthew Wilson 57c8796d53 Offset brush buffer when painting on edges of the canvas. Set window to
Fri Mar 26 03:13:15 EST 1998 Matthew Wilson <msw@gimp.org>
	* app/paint_core.c: Offset brush buffer when painting on edges
	of the canvas.
	* app/text_tool.c: Set window to auto_shrink = FALSE

-Matt
1998-03-27 08:13:45 +00:00
EST 1998 Matthew Wilson 2bdb815447 app/iscissors.c Change to select the bezier tool properly when converting
Fri Mar 26 01:30:45 EST 1998 Matthew Wilson <msw@gimp.org>
	* app/iscissors.c
	* app/bezier_select.c: Change to select the bezier tool properly
	when converting from iscissors to bezier

-Matt
1998-03-27 06:29:39 +00:00
Nate Summers 1d3eb2375d No more sigsegv lalalalalalalala 1998-03-27 00:42:56 +00:00
Nate Summers 4f901c84da fix a typo (i where a j should be)
* app/iscissors.c: fix a typo (i where a j should be)
1998-03-26 23:32:55 +00:00
Nate Summers bf0a1c431c This version works much better. outstanding bugs <VERY IMPORTANT>:
* app/iscissors.c: This version works much better.
        outstanding bugs <VERY IMPORTANT>:

        1. the edgemap does not seem to be constructed quite right
        (construct_edge_map) -- uncomment #define
        ISCISSORS_STILL_DOES_NOT_WORK and take a look at the edgemap -- it
        will be saved to the file "dump"

        2. sigsegvs if the layer offset isn't 0,0.  dunno why.

        3. convert to bezier still does not work!  Any tools experts wanna
        help me with it?  (it converts to bezier fine, it just doesn't set
        the active tool to bezier currectly.)
1998-03-26 22:37:08 +00:00
Nate Summers cdd1e67305 fixes the display artifact where the preview outline of the selected area
* app/iscissors.c: fixes the display artifact where the preview
outline of the selected area would not appear or would appear in
the wrong place or have the wrong shape
1998-03-26 19:17:42 +00:00
Nate Summers 0b9cf33499 This should hopefully fix most of the UMRs (uninitialized memory reads)
* iscissors.c: This should hopefully fix most of the UMRs
(uninitialized memory reads) found with Purify.  No noticable
change in iscissors's behavior, unfortunately.
1998-03-26 19:03:10 +00:00
Manish Singh 4119ff4245 Fix speeling error.
-Yosh
1998-03-26 05:49:30 +00:00
Nate Summers 49f2e5601c iscissors.c: fix a problem of using uninitialize variables 1998-03-26 05:42:33 +00:00
Manish Singh c26040d182 corrected test for libXmu for some systems; added test for difftime
* configure.in: corrected test for libXmu for some systems; added test for
difftime

* app/main.c: use glib ATEXIT macro

* app/text_tool.c: applied gimp-stric-980321-0 (text preview refresh)

* plug-ins/script-fu/script-fu-console.c: don't need to init gtkpreview stuff,
since we don't use them

* plug-ins/script-fu/*: many portability fixes

* plug-ins/pnm/pnm.c: sprintf portability patch

* plug-ins now #define RAND_MAX if needed

* plug-ins/sparkle/sparkle.c: applied gimp-joke-980322-1

-Yosh
1998-03-25 02:17:42 +00:00
Manish Singh 09a5fde1ce app/gimage_mask.c applied patch from Ben Jackson to fix fractional pixel
* app/gimage_mask.c
* app/paint_core.c: applied patch from Ben Jackson to fix fractional pixel
errors and reverted the old fix.

* app/paint_funcs.h: changed the #defines for ERASE_MODE and REPLACE_MODE to
correctly match layer_modes[]

-Yosh
1998-03-24 02:18:58 +00:00
Adrian Likins 1bfe515fe1 gimp-joke-980321
* app/iscissors.c, app/tips_dialog.c, app/gradient.c,
        libgimp/gimp.c, plug-ins/AlienMap/AlienMap.c,
        plug-ins/bmp/bmp.c, plug-ins/fits/fitsrw.h,
        plug-ins/fits/fitsrw.c, plug-ins/flarefx/flarefx.c,
        plug-ins/gfig/gfig.c, plug-ins/gfli/gfli.c,
        plug-ins/gicon/gicon.c, plug-ins/gqbist/gqbist.c,
        plug-ins/gtm/gtm.c, plug-ins/hot/hot.c,
        plug-ins/ifscompose/ifscompose.c,
        plug-ins/ifscompose/ifscompose_utils.c
        plug-ins/max_rgb/max_rgb.c, plug-ins/nlfilt/nlfilt.c,
        plug-ins/pat/pat.c, plug-ins/pcx/pcx.c, plug-ins/rotate/rotate.c,
        plug-ins/script-fu/script-fu-server.c, plug-ins/snoise/snoise.c,
        plug-ins/threshold_alpha/threshold_alpha.c,
        plug-ins/zealouscrop/zealouscrop.c :gimp-joke-980321

        plug-ins/CML_explorer, plug-ins/autocrop,
        plug-ins/align_layers, plug-ins/blinds,
        plug-ins/bmp, plug-ins/megawidget: gimp-joke-980322

        Applied gimp-joke-980322-0.patch and gimp-joke-980321-0.patch
        from Yasuhiro SHIRASAKI <joke@awa.tohoku.ac.jp>. Mostly
        portability for DEC osf1's cc. Lots of MAIN();'s, trailing
        commas in enums, and guchar/gchar madness.

	Gimp now sends mail, cleans vinyl records,
	removes stubborn stains, julien fries, and more!

-adrian
1998-03-22 20:44:39 +00:00
Manish Singh 23f486db2a #define M_PI_4 if not already
-Yosh
1998-03-20 03:57:42 +00:00
Manish Singh b07e146676 Applied gimp-jbuhler-980315-0
-Yosh
1998-03-19 09:10:25 +00:00
Manish Singh 7cb1950fd7 M_PI madness...
-Yosh
1998-03-18 23:40:52 +00:00
Adrian Likins 9132cbb666 appied most of gimp-hpux-980316-0.patch from ???? Mostly added static's
* blend.c brightness_contrast.c brush_select.c brushes.c
          bucket_fill.c by_color_select.c channels_dialog.c
          color_balance.c convolve.c crop.c curves.c eraser.c fileops.c
          frac.c gradient.c histogram_tool.c hue_saturation.c
          image_render.c indexed_palette.c layers_dialog.c levels.c
          move.c paintbrush.c pattern_select.c pencil.c
          perspective_tool.c posterize.c rect_select.c scale_tool.c
          threshold.c tips_dialog.c:
                 appied most of gimp-hpux-980316-0.patch
        from ???? Mostly added static's here and there
         and casting stuff.

        * app/indexed_palette.c: made dialog non-resizeable

-adrian
1998-03-18 22:35:31 +00:00
Sven Neumann 3c5699b11d Fixed an indented #define.
--Sven
1998-03-18 20:20:20 +00:00
Manish Singh 7a90885404 More iscissors fun. Corrected error in HACKING
More iscissors fun.
Corrected error in HACKING

-Yosh
1998-03-16 23:59:27 +00:00
CST 1998 Larry Ewing d5cfeb6643 Reworked the guide drawing and picking code to remove all known guide
Mon Mar 16 05:12:00 CST 1998  Larry Ewing  <lewing@gimp.org>

	* app/move.c:
	* app/gdisplay.c:
	* app/gimage.c: Reworked the guide drawing and picking code to
	remove all known guide artifacts.
1998-03-16 11:13:24 +00:00
Manish Singh 9610c8c901 new, improved, still buggy iscissors! correctly hide the file selector a
* app/iscissors.c: new, improved, still buggy iscissors!
* app/fileops.c: correctly hide the file selector
* app/transform_core.c: a better fix for the display artifacts
* added aa plugin back in

-Yosh
1998-03-15 02:46:15 +00:00
Manish Singh 374b123995 updated to use libtool 1.1
* updated to use libtool 1.1

* app/transform_core.c: fixed display artifacts for the transform tools, sorta.

* plug-ins/pcx/pcx.c: updated pcx plug-in

and some admistrivia

-Yosh
1998-03-14 23:21:07 +00:00