Commit Graph

227 Commits

Author SHA1 Message Date
Adrian Likins 52dc0995f8 *plugins/script-fu/scripts/grid-system.scm
*plugins/script-fu/scripts/hsv-graph.scm
        *plugins/script-fu/scripts/image-structure.scm
        *plugins/script-fu/scripts/line-nova.scm
        *plugins/script-fu/scripts/text-circle.scm
        *plugins/script-fu/scripts/unsharp-mask.scm:
        *data/palettes/Named_colors:
                script and palette updates from Shuji Narazaki

-adrian
1998-04-08 23:23:30 +00:00
Manish Singh 4564203361 doh doh doh doh. ;)
-Yosh
1998-04-08 07:15:58 +00:00
Manish Singh 326949b251 Made 0.99.24 release
-Yosh
1998-04-08 07:15:34 +00:00
Manish Singh 3a17d16dbe fixup for script-fu in batch mode from Christian Maegaard <cc@chaos.dk>
* app/batch.c: fixup for script-fu in batch mode from Christian Maegaard
<cc@chaos.dk>

* added pagecurl plug-in

-Yosh
1998-04-08 07:07:26 +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
Manish Singh 3b271c3c40 added regex.[ch] to app/ and plug-ins/script-fu/ so we REALLY have proper
* added regex.[ch] to app/ and plug-ins/script-fu/ so we REALLY have proper
regex functions on all platforms

* updated gfig plugin

-Yosh
1998-04-08 05:39:41 +00:00
Manish Singh 909a3dc590 configure.in: fix for $srcdir != $builddir for data. Tightened check for
random() and add -lucb on systems that need it. Fix for xdelta.h check. Find
xemacs as well as emacs. Properly define settings for print plugin.

app/Makefile.am: ditch -DNDEBUG, since nothing uses it

flame: properly handle random() and friends

pnm: workaround for systems with old sprintfs

print, sgi: fold back in portability fixes

threshold_alpha: properly get params in non-interactive mode

bmp: updated and merged in

-Yosh
1998-04-07 03:41:22 +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 caea619064 The sensitivity of the buttons in the Layers&Channels-dialog wasn't set
correctly when deleting an image. This is fixed now.


--Sven
1998-04-04 13:52:06 +00:00
Sven Neumann 4b5f5608bb Added a "Add Alpha Channel" menu-entry to the Image-menu. To be exact, I
added it twice, once under <Image>->Layers and additionally under
<Image>->Image->Alpha

Now it is possible to work on a single-layer image without opening the
Layers-dialog for adding an alpha channel.


--Sven
1998-04-03 11:58:04 +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 6e1afab963 Always ungrab the pointer on button release. This is a quick and dirty
Thu Apr  2 04:06:50 EST 1998 Matthew Wilson <msw@gimp.org>

	* app/disp_callbacks.c: Always ungrab the pointer on button release.
	This is a quick and dirty hack to try to nuke the pointer grab
	bug.
1998-04-03 09:13:07 +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
Sven Neumann 2ce045101f The impossibility of duplicating a non-auxillary channel is now reflected
by the menu-sensitivity.


--Sven
1998-04-02 18:16:57 +00:00
Sven Neumann 98222c4e64 Updated the iwarp lug-in to the version on the registry and reapplied all
the portability fixes that were applied in between.


--Sven
1998-04-02 13:46:47 +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 dd49497a00 Added checks for print-systems to configure.in as suggested by
Michael Sweet.

Updated print and sgi plug-ins to the versions on the registry. The print
plug-ins still needs some twists to Makefile.am


--Sven
1998-04-01 21:35:23 +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 f992be951f Only destroy the current tool if you change gdisplays and the tool caches
Wed Apr 01 04:07:29 EST 1998 Matthew Wilson <msw@gimp.org>

	* app/disp_callbacks.c: Only destroy the current tool if you change
	gdisplays and the tool caches image data.

--Matt "flood the commits-list" Wilson
1998-04-01 09:04:00 +00:00
EST 1998 Matthew Wilson 4553b3c845 If the current gdisp->ID does not match the ID of the gdisp_ptr in the
Wed Apr 01 03:40:15 EST 1998 Matthew Wilson <msw@gimp.org>

	* app/disp_callbacks.c:  If the current gdisp->ID does not match
	the ID of the gdisp_ptr in the active_tool, restart it.

--Matt "I need sleep" Wilson
1998-04-01 08:44:33 +00:00
EST 1998 Matthew Wilson aee27f1715 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:03:34 +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
Adrian Likins e47ab4cd65 updated png.c so non-interactive mode works now
-adrian
1998-03-30 19:05:47 +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
Manish Singh eb2a8f6708 fixed improper use of types; sparkle actually works now
-Yosh
1998-03-29 22:32:54 +00:00
Adrian Likins 512998c79e fixed gimp-brushes-refresh. I broke it with the no-data patch.
a  s/TRUE/FALSE change. select_to_brush.scm works now.

-adrian
1998-03-29 16:55:38 +00:00
Owen Taylor 424049739e Removed duplicate saving of CFLAGS Add GTK_CFLAGS to CPPFLAGS for library
Sat Mar 28 22:42:49 1998  Owen Taylor  <owt1@cornell.edu>

	* configure.in: Removed duplicate saving of CFLAGS
	Add GTK_CFLAGS to CPPFLAGS for library tests,
	instead of to CFLAGS.
1998-03-29 03:46:42 +00:00
EST 1998 Matthew Wilson 6daf14262c Always update the drawable when converting a floating selection to a layer
Fri Mar 27 13:41:55 EST 1998 Matthew Wilson <msw@gimp.org>

	* app/floating_sel.c: Always update the drawable when converting
	a floating selection to a layer

--Matt
1998-03-27 21:21:57 +00:00
Adrian Likins 9a807cb0bb added save palette plugin
-adrian
1998-03-27 16:51:10 +00:00
Sven Neumann 8dec2758b7 Small changes to satisfy the native SGI IRIX-6.4 compiler. There are still
lots of warnings, but it seems to compile out of the box now (using GNU
make).


--Sven
1998-03-27 13:33:38 +00:00
Sven Neumann a5c103b53b Changed a C++-style comment to the traditional C-style /* ... */, to satisfy
the IRIX cc.
I'm sure I have done this change before. Adrian, did you run cvs update
before committing your changes to dbbrowser_utils.c ??


--Sven
1998-03-27 13:20:10 +00:00
Manish Singh 640d4644b7 Made 0.99.23 release.
-Yosh
1998-03-27 08:20:30 +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
Adrian Likins 380deeb2d8 Fixed up --no-data so that the various *_init() routines always get
* app/app_procs.c app/brush_select.c app/brushes.c
        app/brushes.h app/convert.c app/gradient.c app/gradient.h
        app/palette.c app/palette.h app/pattern_select.c app/patterns.c
        app/patterns.h:   Fixed up --no-data so that the various *_init()
        routines always get called, and so that when in interactive mode
        the data can be loaded by the user even when started with --no-data.
        Fixes the blend bug too...

	yeah, sven scooped me... but i think this is still a needed patch...

-adrian
1998-03-26 18:24:42 +00:00
Sven Neumann b1a30ca8a0 Gimp crashed when the Blend Tool was used with a gradient and gimp was
started with the --no-data option. This is fixed now. grad_get_color_at()
now returns a totally transparent black when no gradient is present.

Additionally the gradient editor now behaves better when the window is
resized. The resize code is still an ugly hack though.


--Sven
1998-03-26 17:55:54 +00:00
Nate Summers 66706be84b *** empty log message *** 1998-03-26 05:53:19 +00:00
Manish Singh 39a2761783 Support for parsing env vars in gimprc
-Yosh
1998-03-26 03:33:45 +00:00
Manish Singh 8b717a0ade applied gimp-quinet-980122-0 and tweaked the tests a bit, this makes the
* applied gimp-quinet-980122-0 and tweaked the tests a bit, this makes the
optional library tests in configure.

* applied gimp-jbuhler-980321-0, fixes more warnings in plug-ins

-Yosh
1998-03-26 02:08:31 +00:00
Federico Mena Quintero fbc97774c8 Removed Sopwith's "speed optimizations", as they introduced bugs (exposed
1998-03-25  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* app/asupsample.c (adaptive_supersample_area): Removed Sopwith's
	"speed optimizations", as they introduced bugs (exposed by using a
	high threshold value for supersampling).  They weren't much of a
	speed improvement, anyway (memcpy on very small regions, etc.).
	Also, assuming that all-bytes-zero is a floating-point 0 value is
	not portable.
1998-03-26 00:51:19 +00:00
EST 1998 Matthew Wilson 64d26eddbe now prints messages when starting up --no-splash
Wed Mar 25 16:22:00 EST 1998 Matthew Wilson <msw@gimp.org>

	* app/app_procs.c: now prints messages when starting up --no-splash

	* app/gimprc.c: now prints messages when starting up --no-splash

	* app/plug-in.c: does not print messages when starting up with
	splash screen
1998-03-25 21:36:59 +00:00
Manish Singh 011f2c333a refresh the open/save as dialogs upon open
* app/fileops.c: refresh the open/save as dialogs upon open

* applied gimp-quinet-980323-0, fixing more M_PI madness

* applied gimp-quinet-980323-1 which fixes redundant inline checks

* plug-ins/gfig/gfig.c: changed stipple to type unsigned char to quell warnings

-Yosh
1998-03-25 04:34:43 +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