Commit graph

574 commits

Author SHA1 Message Date
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
Lauri Alanko 6c4fd5c2f3 file globals.h was initially added on branch GTKOB_PROJECT. 1998-04-04 19:50:58 +00:00
Lauri Alanko 8afa65c62f file globals.c was initially added on branch GTKOB_PROJECT. 1998-04-04 19:50:57 +00:00
Lauri Alanko 0443853eb7 file gimpset_pvt.h was initially added on branch GTKOB_PROJECT. 1998-04-04 19:50:54 +00:00
Lauri Alanko 720e904319 file gimpset_decl.h was initially added on branch GTKOB_PROJECT. 1998-04-04 19:50:53 +00:00
Lauri Alanko 71e00e6405 file boundary_decl.h was initially added on branch GTKOB_PROJECT. 1998-04-04 19:50:39 +00:00
Sven Neumann 366943bed8 Reflect the fact that you can't move a non-alpha layer up or down in the
menu- and button-sensitivity.


--Sven
1998-04-04 14:19:21 +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
Lauri Alanko bcc86be0cd file tile_manager_decl.h was initially added on branch GTKOB_PROJECT. 1998-04-03 17:25:12 +00:00
Lauri Alanko ab1ae12163 file tile_decl.h was initially added on branch GTKOB_PROJECT. 1998-04-03 17:25:10 +00:00
Lauri Alanko 46ace53257 file temp_buf_decl.h was initially added on branch GTKOB_PROJECT. 1998-04-03 17:25:08 +00:00
Lauri Alanko 26654465db file pixel_region_decl.h was initially added on branch GTKOB_PROJECT. 1998-04-03 17:25:05 +00:00
Lauri Alanko 843af479fa file layer_decl.h was initially added on branch GTKOB_PROJECT. 1998-04-03 17:25:03 +00:00
Lauri Alanko 95bf1e6118 file gimpobject_pvt.h was initially added on branch GTKOB_PROJECT. 1998-04-03 17:25:01 +00:00
Lauri Alanko 93584a6889 file gimpobject_decl.h was initially added on branch GTKOB_PROJECT. 1998-04-03 17:25:00 +00:00
Lauri Alanko 801b89af41 file gimpimage_pvt.h was initially added on branch GTKOB_PROJECT. 1998-04-03 17:24:58 +00:00
Lauri Alanko c7c1dd691f file gimpimage_decl.h was initially added on branch GTKOB_PROJECT. 1998-04-03 17:24:57 +00:00
Lauri Alanko 101c29c143 file drawable_decl.h was initially added on branch GTKOB_PROJECT. 1998-04-03 17:24:52 +00:00
Lauri Alanko 0ca90cd4e1 file channel_decl.h was initially added on branch GTKOB_PROJECT. 1998-04-03 17:24:50 +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
Lauri Alanko a2d5605a25 file gtkob.txt was initially added on branch GTKOB_PROJECT. 1998-04-02 19:58:40 +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 97297cb810 Added checks for print spoolers to configure.in as suggested by Michael
Sweet. The print plug-in still needs some changes to Makefile.am to make
make use of this.

Updated print and sgi plug-ins to version on the registry.


--Sven
1998-04-01 22:14:53 +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 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 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
Matt Wilson 80c68dc1e2 Oops. I missed this file... script pays attention to bg-color now 1998-03-31 01:02:48 +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
Ben Gertzfield 6537125716 Removed *.files; artifacts of build process. Updated changelog for 0.99.23. 1998-03-28 19:11:36 +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 792728eb13 heh, ooops...
add palette save plugin...

-adrian
1998-03-27 17:12:21 +00:00
Adrian Likins 9a807cb0bb added save palette plugin
-adrian
1998-03-27 16:51:10 +00:00