Commit Graph

149 Commits

Author SHA1 Message Date
Manish Singh 177fdcf947 disable keyboard accelerators during mouse image operations, so nothing
funky happens in the middle of a motion (like converting image types or
running a plugin)

-Yosh
1998-04-15 09:15:40 +00:00
EDT 1998 Matthew Wilson 7b1e7e9dfe made a change to gdisplays_update_area to update _all_ gdisplays that
Wed Apr 15 01:58:12 EDT 1998 Matthew Wilson <msw@gimp.org>

	* app/gdisplay.c: made a change to gdisplays_update_area to
	update _all_ gdisplays that point at the gimage ID.  This
	(should) fix the paint on the second layer of a second view bug.

--Matt
1998-04-15 06:01:25 +00:00
EDT 1998 Matthew Wilson d49b7e4111 Set active_tool->drawable to NULL when destroying the gdisplay that the
Tue Apr 14 18:01:50 EDT 1998 Matthew Wilson <msw@gimp.org>

	* app/gdisplay.c: Set active_tool->drawable to NULL when destroying
	the gdisplay that the active tool points to.
	* app/giamge.c: Fixed spacing...

--Matt
1998-04-14 22:05:08 +00:00
Sven Neumann e70e0388eb You can't paste into an empty image. Now the menu reflects this fact by
setting the paste functions insensitive.

When pasting from the named buffer, a call to gdisplays_flush() was missing.
I originally intended to fix the bug that canceling the cut-named-function
doesn't work. But it appears that there's no way to check if the
Cancel-button was hit in the query_string_box?!


--Sven
1998-04-13 13:46:58 +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
EDP 1998 Matthew Wilson 56772cb2cf Set the current tool's gdisplay pointer to NULL when destroying a gdisplay
Mon Apr 13 00:27:45 EDP 1998 Matthew Wilson <msw@gimp.org>

	* app/gdisplay.c: Set the current tool's gdisplay pointer to NULL
	when destroying a gdisplay

	* app/interface.c: Use "clicked" as the signal to handle for menu
	based tools.  This lets us pop by_color_select back up.

--Matt
1998-04-13 04:32:39 +00:00
Manish Singh b520a3b9f0 I guess it didn't end... an attempt to try to recognize all types of tiff
* configure.in: I guess it didn't end... an attempt to try to recognize all
types of tiff configs

* app/gdisplay_ops.c: resize on zoom fix for naught window positioning from
Kevin Cozens <kcozens@interlog.com>

* app/errors.c: gdk_exit needs to be prototyped

-Yosh
1998-04-12 09:37:19 +00:00
Manish Singh cca539e440 reverted cosmetic fix below, broke zoomed updates
* app/gdisplay.c: reverted cosmetic fix below, broke zoomed updates

* configure.in: changes to xdelta and jpeg checks

* updated bmp plugin

* portability patch for polar

* minor bugfix to vpropagate

* fix for memory problem in xwd

-Yosh
1998-04-11 22:07:00 +00:00
scott 46876a53f6 Fixes Snorfle's cosmetic bug regarding overhanging layers.
Fixes Snorfle's cosmetic bug regarding overhanging layers.
1998-04-09 14:34:33 +00:00
Manish Singh 7ddc05e8ea redid libjpeg check to make sure old versions aren't used. Also #undef
* configure.in: redid libjpeg check to make sure old versions aren't used.
Also #undef PACKAGE and VERSION since some jconfig.h's define it

* updated included regex.[ch] to the one in GNU grep

* plug-ins/script-fu/interp_regex.c: we don't need to kludge around OSF1
anymore, since we use our own regex stuff

-Yosh
1998-04-09 05:05:05 +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 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 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
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
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
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 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
Sven Neumann e5ab9ffece Removed auto-save from preferences and marked it as not yet implemented
in gimprc. The code is still there for later reuse.

Changed the WMCLASS on the image close confirmation dialog to 'really_close'.


--Sven
1998-03-21 14:54:37 +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
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
Tim Janik 83d3ce6535 handle WM delete of toolbox correctly. (gdisplay_delete): don't close
* app/interface.c (toolbox_delete): handle WM delete of toolbox
        correctly.
        (gdisplay_delete): don't close image window without confirmation.
-timj
1998-03-15 03:15:35 +00:00
Larry Ewing 4d4e7ccd7b Mar 13 16:54:12 CST 1998 Larry Ewing <lewing@gimp.org>
* app/image_render.c:  added some g_return_if_fails to the render
	funcs until I can come up with a better fix.
1998-03-13 22:56:39 +00:00
Manish Singh 382eb47914 Fix for select by color on multilayer indexed images. Turned it back on for
indexed images.
Quelled warnings about uninited vars in disp_callbacks.
Updated COPYING files with latest FSF address.

-Yosh
1998-03-13 03:35:33 +00:00
Tim Janik 2b52f8a864 fixed a lot of the destroy handlers and delete_event handlers, still
not everything perfect, though.
-timj
1998-03-12 22:01:43 +00:00
Adrian Likins e38f94557c *docs/gimp.1: added gimp man page
*docs/gimp.1: added gimp man page

        *app/gdisplay.c: disables by-color-select for indexed images

        *plugins/webbrowse/web-browser.scm: updated some urls

-adrian
1998-03-12 00:57:27 +00:00
CST 1998 Larry Ewing f37f8167f2 added checks to recreate the active tool if need be.
Wed Mar 11 18:03:38 CST 1998 Larry Ewing  <lewing@gimp.org>

	* app/disp_callbacks.c: added checks to recreate the active tool
	if need be.
1998-03-12 00:09:22 +00:00
Manish Singh 89ec6691ee fixed memory overrun error
* app/convert.c: fixed memory overrun error

* app/gdisplay.c
* app/menus.c: reapplied the tools patch from Nether, looks
like it doesn't trip up anymore. Added some sanity checks
anyway

* app/disp_callbacks.c
* app/transform_core.c: plugged some harmless build warnings

-Yosh
1998-03-11 08:58:42 +00:00
Manish Singh 16aacc47a8 Drawable scrollbars shouldn't autofocus for keyboard ops.
-Yosh
1998-03-11 05:38:45 +00:00
Larry Ewing 849fa641e7 Fixed a long standing bug in the scale factor computation so that the
Tue Mar  3 01:02:30 1998  Larry Ewing  <lewing@discord.isc.tamu.edu>

	* app/scale.c: Fixed a long standing bug in the scale factor
	computation so that the scale labels all agree.
1998-03-03 07:09:05 +00:00
Manish Singh 7bf752c87b Cleanups for 0.99.19 release
-Yosh
1998-03-02 02:47:35 +00:00
Tim Janik 118a5668dd gtk_tooltips_set_tips -> gtk_tooltips_set_tip conversion
-timj
1998-02-21 03:42:10 +00:00
scott 916d858e49 Yet another refcounting fix.
--sg
1998-02-15 00:51:17 +00:00
scott ff6cbbb8e6 More refcounting stuff. I think canvas refcounting is correct now.
--sg
1998-02-14 15:30:31 +00:00
scott 731f5219a3 More refcounting. --sg
More refcounting.
--sg
1998-02-05 00:07:31 +00:00
scott 60cd2ad1d3 Removed called to gtk_widget_destroy after gtk_widget_sink in toolbox_free.
(Don't ask me why.)
--sg
1998-02-03 23:47:15 +00:00
scott fd75df2a47 Changes to deal with new GTK refcounting regime.
--sg
1998-02-03 22:54:35 +00:00
Manish Singh 89b600d2bc removed all usage of linked.[ch] and switched to GSLists
-Yosh
1998-01-29 08:03:27 +00:00
Adrian Likins 8cd58f4bae Fixed carve-it.scm and circuit.scm (circuit broke due to a plugin update,
* Fixed carve-it.scm and circuit.scm (circuit broke due
         to a plugin update, carve-it broke due to theadd-layer stuff)

        * Added a close button to the color picker info window

        * changed index_palette.c a bit...now if you click with
        MB11, it changes the current active color, clicking with MB3
        opens the color in the color selector for editing

        * Made some of the <Image>/Color/* menus sensitive to the image
        type (gdisplay.c)

-adrian


CVS:
1998-01-29 03:13:44 +00:00
Adrian Likins c62f70ab13 added a call to gtk_window_set_wmclass to most of the gimp
dialogs

-adrian
1998-01-25 22:13:00 +00:00
Manish Singh e51e490243 Applied Sven's menu patch
-Yosh
1998-01-25 02:18:54 +00:00
scott c267c55bbe Rewrite to make drawables (layers, channels, layer masks) into GtkObjects.
--sg
1998-01-22 07:02:57 +00:00
Shawn Amundson 81eb53df7b Changes from Owen Taylor which allow GIMP to compile with
new GTK changes.  ChangeLog is more specific.

-Shawn
1997-12-18 06:30:11 +00:00
Manish Singh 0c1112c2ea Backed out of the tools patch, cause problems with rmb script-fu
-Yosh
1997-12-15 00:49:42 +00:00
Manish Singh da34538894 Added tooltips preferences support
update mkbrush.scm

-Yosh
1997-12-14 07:32:54 +00:00
Manish Singh d75b2337f2 Added fractaltrace plugin
Fixed about dialog problems (seems to work now)
Added gimprc option for enabling/disabling tooltips
1997-12-11 00:57:08 +00:00
Manish Singh 31bceb1daf Added .cvsignores for the colorify, illusion, glasstile, and papertile
Added Nether's tools patch
Clarified the units in the preference tile cache size field (it's in bytes,
NOT KBs)
1997-12-09 23:22:24 +00:00
Gnome CVS User 05c73c4146 Several fixes, most notably a bug in undo when drawing outside an image,
and the "out of paint bug".
1997-11-26 19:30:17 +00:00
Elliot Lee 32cefec8f7 Initial revision 1997-11-24 22:05:25 +00:00