Commit Graph

24700 Commits

Author SHA1 Message Date
EDT 1998 Matthew Wilson e0fcfc8cc1 check to be sure that the gimage still exists when editing a channel -
Sat May  2 15:20:54 EDT 1998  Matthew Wilson  <msw@gimp.org>

	* app/channels_dialog.c: check to be sure that the gimage still
	exists when editing a channel - fixes bug report from Sven
--Matt
1998-05-02 19:43:20 +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 96b1e436b9 handle double click on our own since channels_dialog_flush nukes the
Fri May  1 23:09:33 EDT 1998  Matthew Wilson  <msw@gimp.org>

	* app/channels_dialog.c: handle double click on our own since
	channels_dialog_flush nukes the widgets and we never get
	2BUTTON events
--Matt
1998-05-02 03:10:58 +00:00
Tim Janik 9a1914e355 keep the channel list uptodate on position changes. unref list items on
Fri May  1 13:22:21 1998  Tim Janik  <timj@gtk.org>

        * app/channels_dialog.c: keep the channel list uptodate
        on position changes. unref list items on destruction.

        the app/channels_dialog.c app/layers_dialog.c code for dealing
        with GtkList is a MESS, it needs to be completely reworked
        somewhen. this is *no* fun: the selection is changed so update
        the list (causing the selection to change again: the selection
        is changed so update the list (causing the selection to change
        again: the selection is changed so update the list (.... oops,
        sorry got caught in a recursive loop there ;) ))).
1998-05-01 13:18:28 +00:00
Manish Singh 0e0976de94 fix for off-by-one error in channel position from Andy Thomas
-Yosh
1998-04-30 23:56:07 +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
Matt Wilson c8888faf19 app/channels_dialog.c Modified event handlers to bring up the popup menu
* app/channels_dialog.c
	* app/layers_dialog.c: Modified event handlers to bring up the
	popup menu anywhere on layer/channel widget
--Matt
1998-04-30 06:09:55 +00:00
Manish Singh e9b670ef7a splash screen honors gtkrc
-Yosh
1998-04-30 05:30:28 +00:00
Manish Singh c731ecb150 reverted gimp-joke-980427-0 changes, they broke things
-Yosh
1998-04-29 23:53:00 +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
Manish Singh b3801f421b enable adjustment of the gradient list box for scrolling
-Yosh
1998-04-29 06:19:40 +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
Manish Singh 9f4f94c6c5 plug-ins/animationplay/animationplay.c plug-ins/CEL/CEL.c
* plug-ins/animationplay/animationplay.c
* plug-ins/CEL/CEL.c
* plug-ins/psd/psd.c
* plug-ins/xd/xd.c: applied gimp-joke-980427-0, warning cleanups

* app/temp_buf.c: applied gimp-entity-980427-0, temp_buf swap speedups and
more robust tempfile handling

-Yosh
1998-04-28 03:50:21 +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
Tim Janik 333356ec28 adjust the scrolled window to always show the currently focused channel
Tue Apr 28 00:16:31 1998  Tim Janik  <timj@gtk.org>

        * app/channels_dialog.c (channels_dialog_create): adjust the scrolled
                window to always show the currently focused channel item.

                        * app/layers_dialog.c (layers_dialog_create): adjust the scrolled
                                window to always show the currently focused layer item.
1998-04-27 22:26:24 +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 f6839d817a set srcPR2.[xy] to srcPR1.[xy] in gimage_construct_composite_preview
Thu Apr 23 21:27:23 EDT 1998 Matthew Wilson <msw@gimp.org>

        * app/gimage.c: set srcPR2.[xy] to srcPR1.[xy] in
        gimage_construct_composite_preview (fixes hangs in preview creation)
--Matt
1998-04-24 01:36:32 +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
Manish Singh b9212d84e7 Added --debug-handlers to get debiugging options on all signals
updated animoptimize plugin

-Yosh
1998-04-21 01:19:30 +00:00
Manish Singh 00d6521dd1 Weird event order for key_press blocking correctly handled.
-Yosh
1998-04-20 07:03:04 +00:00
Sven Neumann f73afe16f1 Truncate labels in the splash screen if they are too long to be displayed
without resizing the window; this should fix the problems with 100dpi fonts.


--Sven
1998-04-19 12:19:24 +00:00
Manish Singh 41aa51ff31 don't dereference a NULL pointer when a gimprc variable is used before it's
defined. Exit gracefully

-Yosh
1998-04-19 05:23:22 +00:00
EDT 1998 Matthew Wilson 13dd65aef0 restart current tool when changing gdisplays
Wed Apr 15 13:18:47 EDT 1998 Matthew Wilson <msw@gimp.org>

	* app/disp_callbacks.c: restart current tool when changing
	gdisplays

--Matt
1998-04-15 17:21:18 +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 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
Manish Singh 0ecdced2c1 partially applied gimp-monniaux-980413-0, corrects nonfunctional interface
elements

-Yosh
1998-04-14 23:17:58 +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
Manish Singh b2f00c5412 handle delete_event for color selector properly
* gradient.c: handle delete_event for color selector properly

* plug-ins/webbrowser/web-browser.scm: updated link to the bugs page

-Yosh
1998-04-14 20:45:53 +00:00
Sven Neumann 0c503ae7fd Backed gradient-041398-seth-diff back out since it totally broke the
gradient editor. Seeing two simple lines like this breaking everything
makes me fear...


--Sven
1998-04-14 19:47:23 +00:00
Sven Neumann cadc2734f4 applied gimp-quinet-980414-0; adds new tips applied gimp-quinet-980414-1;
* gimp_tips.txt: applied gimp-quinet-980414-0; adds new tips
        * plug-ins/pagecurl/pagecurl.c: applied gimp-quinet-980414-1;
        defines M_PI
        * app/app_procs.c: applied gimp-quinet-980414-2; adds more
        information to the startup screen
        * app/gradient.c: applied gradient-041398-seth; fixes the
        behavior that the gradient editor would become insensitive
        forever if the color selection dialog were close
        * app/regex.c
        * plugins/script-fu/regex.c: partially applied
        gimp-jbuhler-980412-0; adds braces to nested if/else


--Sven
1998-04-14 19:24:23 +00:00
Sven Neumann 588f7cdfe6 Named cut and copy are now performed after the user is asked for a name,
so cancelling the dialog should work correctly. There might be a problem,
because now named_edit_cut() and named_edit_copy() always return TRUE.
Before they returned FALSE when there was nothing to copy (tiles==NULL).
However I had no problems at all when testing my code....


--Sven
1998-04-14 08:19:17 +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
EDT 1998 Matthew Wilson eeb017e163 Fixed prefs to save stingy memory
Mon Apr 13 13:09:32 EDT 1998 Matthew Wilson <msw@gimp.org>

	* app/commands.c: Fixed prefs to save stingy memory

--Matt
1998-04-13 17:12:25 +00:00
Sven Neumann 5574104b88 Conevrting an empty image from grayscale to indexed caused a division by
zero. Fixed this the way it was already handled for empty RGB images.


--Sven
1998-04-13 14:26:46 +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
Sven Neumann 81916ded64 More tips and nicer line wrap.
The last character of the tips (the final dot) was cut off. Fixed this.


--Sven
1998-04-13 11:05:41 +00:00
Manish Singh 475b0a56e0 fix a tiny bug in the xcf loader that would have caused gimp to crash on a
* app/xcf.c: fix a tiny bug in the xcf loader that would have caused gimp to
crash on a corrupt xcf file

-Yosh
1998-04-13 09:17:27 +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
EDT 1998 Matthew Wilson 13b2894496 Duh. We have a message_box. Why not use it for the prefs code.
Mon Apr 13 00:41:50 EDT 1998 Matthew Wilson <msw@gimp.org>

	* app/command.c: Duh. We have a message_box.  Why not use it for
	the prefs code.

--Matt "reinvent the wheel" Wilson
1998-04-13 04:44:43 +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
Sven Neumann e51a86b85d Fixed a typo in the palette-dialog.
Removed the systemwide palettes directory from the palettes searchpath.
I still think we should overwork the gradients and palettes functions to
distinct between files that can be changed and those that are not writeable.
Probably for 1.1 ??


--Sven
1998-04-12 13:54:23 +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 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
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
Manish Singh 0ed0191962 fixed up idle handler for file open (look like testgtk idle demo)
* app/app_procs.c: fixed up idle handler for file open (look like testgtk
idle demo)

* app/colomaps.c: fixup for visual test and use of gdk_color_alloc for some
fixed colors (from Owen Taylor)

* app/errors.h
* app/errors.c
* app/main.c
* libgimp/gimp.c: redid the signal handlers so we only get a debug prompt on
SIGSEGV, SIGBUS, and SIGFPE.

* applied gimp-jbuhler-980408-0 and gimp-joke-980409-0 (warning fixups)

* applied gimp-monnaux-980409-0 for configurable plugin path for multiarch
setups

-Yosh
1998-04-11 05:07:52 +00:00
Sven Neumann 34582db809 Cosmetic change to the gradient editor. Put the frame for the preview and
controls into the hbox instead of putting the hbox into the frame.


--Sven
1998-04-10 11:07:48 +00:00
EDT 1998 Matthew Wilson b1ec1c16b5 Fixed (hopefully) the preferences code. Added a warning to restart GIMP
Fri Apr 10 00:17:23 EDT 1998 Matthew Wilson <msw@gimp.org>

	* app/commands.c: Fixed (hopefully) the preferences code.  Added
	a warning to restart GIMP for those changes that require restarts.

--Matt
1998-04-10 04:19:25 +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
EST 1998 Matthew Wilson f0d40533af Added a little wrapper when loading files from command line that loads the
Thu Apr  9 02:53:14 EST 1998 Matthew Wilson <msw@gimp.org>

	* app/app_procs.c: Added a little wrapper when loading files from
	command line that loads the files after gtk_main starts.  This
	fixes the segfault from the tips dialog when you load images on
	the command line.  Cudos to Owen for the fix.

--Matt "owen scares me with his GTK+ knowledge" Wilson
1998-04-09 06:57:35 +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
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 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
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
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 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 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
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
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
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
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 39a2761783 Support for parsing env vars in gimprc
-Yosh
1998-03-26 03:33:45 +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
Manish Singh 59b0f6e534 Fix to convert.c from Adam for fencepost error.
-Yosh
1998-03-24 12:33:54 +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 0e7f4859c8 fix from matt wilson to check for the "save image with no layers bug"
-adrian
1998-03-22 23:52:03 +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
Sven Neumann 5ec602da8a Small changes to reflect the fact that a gfig directory is created in
the users gimp-directory.


--Sven
1998-03-21 15:30:38 +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 947490dd2e fixed some brokenness in palette refreshing..ie, you dont have to restart
gimp to use new palettes now...

-adrian
1998-03-20 22:19:45 +00:00
Manish Singh 2ce11b7597 gdisplay expose in undo
made 0.99.22 release

-Yosh
1998-03-20 05:39:07 +00:00
CST 1998 Larry Ewing eff6ee8b64 fixed out of bounds reference in pallete_create. The dialogs are a mess.
Thu Mar 19 22:05:56 CST 1998  Larry Ewing  <lewing@gimp.org>

	* app/palette.c: fixed out of bounds reference in pallete_create.
	The dialogs are a mess.
1998-03-20 04:06:13 +00:00
Manish Singh 23f486db2a #define M_PI_4 if not already
-Yosh
1998-03-20 03:57:42 +00:00
Adrian Likins ba4557617b app/brushes.c: pathc from Andy Thomas to improve brsh loading via pdb
app/drawable.c: patch from gimp-hpux i missed yesterday...

-adrian
1998-03-19 19:40:33 +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
Sven Neumann bea814962f Split the "Brought to you by S&P" line in two to avoid problems with
100dpi fonts.


--Sven
1998-03-18 18:19:32 +00:00
Sven Neumann f5395e48b1 Fixed a problem in the gradient editor that made the gimp crash, when started
with the no-data option and no gradients are load.


--Sven
1998-03-17 23:16:40 +00:00
CST 1998 Larry Ewing 77ddb24fa4 added gimage_ID to the dialog struct to check if the gimage was still
Mon Mar 16 21:52:46 CST 1998  Larry Ewing  <lewing@gimp.org>

	* app/convert.c (indexed_ok_callback): added gimage_ID to the
	dialog struct to check if the gimage was still around.

	* app/commands.c: fixed border/grow/shrink to check for valid
	gimage.  (Once again object if you don't like this method).
1998-03-17 03:53:53 +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 723ea64bb4 changed select_feather_cmd_callback to pass the gimage->ID rather than the
Mon Mar 16 17:05:54 CST 1998  Larry Ewing  <lewing@gimp.org>

	* app/commands.c: changed select_feather_cmd_callback to pass the
	gimage->ID rather than the gimage to prevent a fatal error.  If
	you have objections to this speak now.
1998-03-16 23:16:51 +00:00
EST 1998 Adrian Likins d728bead19 Changed MAIN(); to MAIN()
Mon Mar 16 17:50:56 EST 1998 Adrian Likins <adrian@gimp.org>

        * plugins/illusion/illusion.c:
        * plugins/papertile/papertile.c:
        * plugins/fractaltrace/fractaltrace.c:
        * plugins/flame/flame.c: Changed MAIN(); to MAIN()

        *gimprc_user: added a commented out (install-colormap)
        option

        *app/install.c: comsetic update to show info about .gimp/scripts

        *plugins/sparkle/sparckle.c:
        *plugins/despeckle/despeckle.c: made a local MIN/MAX instead
        of redefing the normal one (causes problems on some compilers)

-adrian
1998-03-16 23:02: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
Lauri Alanko 7ad9fec9b9 Fixed the tool options disappearing at undo.
Fixed the tool options disappearing at undo.
1998-03-16 10:22:53 +00:00
CST 1998 Larry Ewing 1e61a438fd added back in the "extra" update I removed earlier. :)
Mon Mar 16 00:28:16 CST 1998  Larry Ewing  <lewing@gimp.org>

	* app/undo.c: added back in the "extra" update I removed earlier. :)
1998-03-16 06:29:30 +00:00
CST 1998 Francisco Bustamante f8e540891e fileops.c Added info to the file save dialog
Sun Mar 15 22:50:44 CST 1998   Francisco Bustamante <pancho@nuclecu.unam.mx>

    * fileops.c   Added info to the file save dialog
1998-03-16 04:49:46 +00:00
CST 1998 Larry Ewing cdf6fc5ac1 removed what seemed to be an extra call to drawable_update on the layer,
Sun Mar 15 20:39:12 CST 1998  Larry Ewing  <lewing@gimp.org>

	* app/undo.c (undo_pop_layer_displace): removed what seemed to be
	an extra call to drawable_update on the layer, and added a call to
	update the layer->mask.
1998-03-16 02:41:19 +00:00
CST 1998 Larry Ewing 6ca0d72462 fixed file Save As cancel callback to use gtk_signal_connect_object.
Sun Mar 15 14:50:21 CST 1998  Larry Ewing  <lewing@gimp.org>

	* app/fileops.c (file_save_as_callback): fixed file Save As
	cancel callback to use gtk_signal_connect_object.
1998-03-15 20:52:24 +00:00
CST 1998 Larry Ewing 8497cf6f1a pass layer_ID instead of layer_widget to rename funtion to prevent
Sun Mar 15 02:06:18 CST 1998  Larry Ewing  <lewing@gimp.org>

	* app/layers_dialog.c: pass layer_ID instead of layer_widget to
	rename funtion to prevent dereferencing freed mem. Fixes layer
	rename bug.
1998-03-15 08:15:10 +00:00
Tim Janik baf7936f54 check whether the removed layer is floating_sel *and* check whether it is
* app/gimage.c (gimage_remove_layer): check whether the removed layer
        is floating_sel *and* check whether it is active_layer.
1998-03-15 07:04:54 +00:00
Tim Janik 81432a0543 also destroy the main dialog if the "Cancel" button is clicked.
Sun Mar 15 06:15:37 1998  Tim Janik  <timj@gimp.org>

        * plug-ins/exchange/exchange.c (doDialog): also destroy the main dialog
                if the "Cancel" button is clicked.

                        * plug-ins/flame/flame.c: use gtk_quit_add_destroy instead of
                                gtk_quit_add (,gtk_widget_destroy,), i should have really known
                                        better since i wrote gtk_quit_add_destroy() exclusively for the gimp ;)
                                                * app/tips_dialog.c (tips_dialog_create): likewise.
                                                        * app/indexed_palette.c (indexed_palette_create): likewise.
                                                                * app/fileops.c (file_open_callback): likewise.
                                                                        * app/fileops.c (file_save_as_callback): likewise.

                                                                        Sun Mar 15 03:54:58 1998  Tim Janik  <timj@gimp.org>

                                                                                * plug-ins/AlienMap/AlienMap.c: show/hide about dialog, don't affect
                                                                                        the main dialog.
1998-03-15 05:41:01 +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
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
Adrian Likins 568c015b53 "vlaid debuggin options" no longer valid so i removed references to them
-adrian
1998-03-15 01:58:47 +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
Sven Neumann c934cc8cce applied gimp-ovchinnikov-970312-0.patch which initializes locale
--Sven
1998-03-14 17:54:08 +00:00
Sven Neumann b3d28f6fdb Applied gimp-edas-980305-0.patch (after a small fix).
Now registry and encoding can be choosen in the text tool and
two new pdb-functions are available to access this functionality.

Changed i26-gunya2.scm to make it follow the naming-convention.


--Sven
1998-03-14 16:24:56 +00:00
Manish Singh 0ff861347f use gtk-config now. Note this in the HACKING file.
quell another gtk warning.

-Yosh
1998-03-14 05:15:01 +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
Elliot Lee 110c62ad99 Put "www.gimp.org" label in the about box - just a peeve of mine to always include info on where to get a program... :) 1998-03-13 19:41:03 +00:00
Tim Janik e227edb040 proper destruct at the end of gtk_main(). (layer_widget_delete):
Fri Mar 13 12:53:22 1998  Tim Janik  <timj@gimp.org>


        * app/layers_dialog.c: proper destruct at the end of gtk_main().
        (layer_widget_delete): unreference the layer widget's list item.
        (layers_dialog_free): instead of destroying the menu, sink it since
        it is still floating because we didn't attach it to some other widget.
        (layers_dialog_free): sink the preview, destroy doesn't work since it's
        still floating. wonder what the preview is created for if it is never
        used?.

        * app/channels_dialog.c (channel_widget_delete): unreference the channel
        widget's list item.
        * app/channels_dialog.c (channels_dialog_free): sink the menu.
        * app/channels_dialog.c (channels_dialog_free): sink the preview.

        * app/indexed_palette.c (indexed_palette_create): update the image list
        even on initial creation. fixed the option menu warning.

        * plug-ins/script-fu/script-fu-console.c (script_fu_browse_callback):
        properly destroy the browser when gtk_main() quits.

        * plug-ins/dbbrowser/dbbrowser_utils.c (gimp_db_browser): pass a widget
        pointer back to our caller, for enabling proper destruction.

        * plug-ins/script-fu/script-fu-console.c (script_fu_console_interface):
        only destroy the dialog on exit if it is still existing.
1998-03-13 17:46:40 +00:00
scott 4045689446 Er, fix it right this time. :) --sg
Er, fix it right this time. :) --sg
1998-03-13 15:36:53 +00:00
scott 891d2a6ad2 fixed buffer overrun in convert.c correctly; the previous "fix" forced
fixed buffer overrun in convert.c correctly; the previous "fix" forced
quantization when it wasn't necessary in some cases (and made Adam
very mad). --sg
1998-03-13 15:30:07 +00:00
Manish Singh 0a3e54e10a Doh.. good to increase buffer length too... grep lied to me.
-Yosh
1998-03-13 08:57:18 +00:00
Manish Singh 591abe973e Added display of hex triplets for HTML people
-Yosh
1998-03-13 08:53:33 +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
scott 370c5fc2f9 Fixed a desynch bug when undoing "add alpha layer". --sg
Fixed a desynch bug when undoing "add alpha layer".
--sg
1998-03-13 02:27:09 +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
Manish Singh 1fe238af74 More fixes for .20
-Yosh
1998-03-12 06:43:44 +00:00
Manish Singh 154bc6ca0d iscissors update changes for .20 release
iscissors update
changes for .20 release

-Yosh
1998-03-12 05:43:35 +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 f6daf6f769 fileops doesn't need to hide the help button, since it no longer exists.
-Yosh
1998-03-11 10:52:54 +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
Larry Ewing bd8f7a1a9a app/undo.c app/gimage.h added a simple ref count to the guides so that
1998-03-11  Larry Ewing  <lewing@discord.isc.tamu.edu>

	* app/undo.c
	* app/gimage.h
	* app/gimage.c: added a simple ref count to the guides so that
	undo does not free the too early...
1998-03-11 06:38:32 +00:00
Manish Singh 16aacc47a8 Drawable scrollbars shouldn't autofocus for keyboard ops.
-Yosh
1998-03-11 05:38:45 +00:00
Manish Singh 1406c936c4 Ok, hope this colormap thing works this time.
-Yosh
1998-03-11 03:42:25 +00:00
Manish Singh faf00e7ed2 install-colormap and splash screen goodness
-Yosh
1998-03-11 01:11:07 +00:00
Manish Singh 13d0beecb4 Bye naughty flip tool bug and other transform problems. You add alpha
correctly now.

-Yosh
1998-03-10 08:44:59 +00:00
Manish Singh b0787f405f fix for (install-colormap) and splash screen using gtk_preview_reset()
* app/app_procs.c: fix for (install-colormap) and splash screen
        using gtk_preview_reset()

        * configure.in: on some platforms libXmu doesn't require libSM and
        libICE. configure should know this now.

        * app/gradient.c: corrected WM_CLASS typo

        * plug-ins/gfli/gfli.c: fix for load handler magic

        * plug-ins/gtm/gtm.c: don't use naughty gccisms.

        * plug-ins/gqbist
        * plug-ins/maze: updated from registry

-Yosh
1998-03-09 01:45:26 +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
Sven Neumann a19b750c45 Implemented gimp_palette_set_default_colors and
gimp_palette_swap_colors as pdb-calls and bound menu-entries and
keybindings to them.
(gimp-sven-980216-0.patch)

--Sven
1998-03-01 19:38:25 +00:00
Manish Singh 0fc01db1ed Fixed a stoopid speeling erorr.
-Yosh
1998-03-01 06:06:19 +00:00
Manish Singh 2afd3ffb75 From the Changelog:
* Makefile.am: don't do docs generation by default

        * configure.in: -lXt for webbrowser plugin

        * libgimp/gimp.c
        * libgimp/gimpprotocol.c
        * libgimp/gimptile.c
        * libgimp/gimpwire.c
        * app/plug_in.c: applied memory leak patch from Mattias Gronlund

        * app/eraser.c
        * app/eraser.h
        * app/internal_procs.c
        * app/paintbrush.c
        * app/paintbrush.h: incremental modes for eraser and paintbrush,
        as well as a "hard eraser"

        * plug-ins/ifscompose/ifscompose.c: pixmap visual fixups

-Yosh
1998-03-01 01:18:45 +00:00
scott 65c81c94ea Duplicate wasn't copying channels correctly. Fixed. --sg
Duplicate wasn't copying channels correctly.  Fixed.
--sg
1998-02-28 05:19:42 +00:00
Sven Neumann 1bc5055b12 Use a correct gc in (about_dialog_logo_load) the way quartic showed
it in splash_logo_load.

--Sven
1998-02-27 22:09:01 +00:00
Elliot Lee 2ca0fa31c8 some changes, I forget what 1998-02-27 16:55:59 +00:00
Manish Singh ac5571fd9d colormaps should be inited before we do gtk stuff
-Yosh
1998-02-27 07:02:59 +00:00
Federico Mena Quintero 21533410b8 Push/pop correct visuals for drawing area creation. (splash_logo_load):
1998-02-26  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* app/app_procs.c (make_initialization_status_window): Push/pop
	correct visuals for drawing area creation.
	(splash_logo_load): Use a correct gc.
1998-02-26 23:27:12 +00:00
Manish Singh 2a4eeffc80 Better autoconfing for Xmu.
Added HACKING and autogen.sh files

-Yosh
1998-02-26 11:55:07 +00:00
Manish Singh e88b34cc19 configure detects gtk 0.99.4 or higher
completed plugin split

-Yosh
1998-02-24 12:16:39 +00:00
CST 1998 Francisco Bustamante e9638742b2 Shrinking no longer allowed to avoid SIGSEGV
Sun Feb 22 22:32:56 CST 1998  Francisco Bustamante <pancho@nuclecu.unam.mx>

	* pattern_select.c (pattern_select_new): Shrinking no longer
	allowed to avoid SIGSEGV
1998-02-23 04:24:55 +00:00
CST 1998 Francisco Bustamante 074c967274 Changed call to gtk_window_set_policy to avoid shrinking of the dialog as
Sun Feb 22 22:07:10 CST 1998  Francisco Bustamante <pancho@nuclecu.unam.mx>

	* brush_select.c (brush_select_new): Changed call to gtk_window_set_policy
	  to avoid shrinking of the dialog as it caused a SIGSEGV when shrinked to
	  a very small size.
1998-02-23 04:05:12 +00:00
Manish Singh ae7184b6fa Use our own sort function, because the glib sort doesn't work for us
anymore.

-Yosh
1998-02-22 10:45:12 +00:00
Tim Janik 118a5668dd gtk_tooltips_set_tips -> gtk_tooltips_set_tip conversion
-timj
1998-02-21 03:42:10 +00:00
Sven Neumann 43da2d720f fixed refcounting for the splash-image
--Sven
1998-02-18 17:04:12 +00:00
Sven Neumann d1d77d301a hide the help buttons since we have no help (yet)
* app/fileops.c: hide the help buttons since we have no
        help (yet)
1998-02-17 20:29:32 +00:00
Sven Neumann 8f57aaed00 added the splash-screen image drawn by Jens Lauterbacher to the
* gimp_splash.ppm: added the splash-screen image drawn
        by Jens Lauterbacher to the distribution

        * app/appenv.h
        * app/app_procs.c
        * app/main.c: added the splash-image to the startup-window;
        new command-line options: --no-splash, --no-splash-image

        * ps_menurc: changed to reflect changes to the
        menu-structure
1998-02-17 20:14:29 +00:00
scott 916d858e49 Yet another refcounting fix.
--sg
1998-02-15 00:51:17 +00:00
Manish Singh 33944dab1c iscissors for public consumption
-Yosh
1998-02-14 23:35:56 +00:00
scott b23afad472 Proper refcounting for layer masks. Well, ok, almost proper. :)
--sg
1998-02-14 19:19:16 +00:00
scott ff6cbbb8e6 More refcounting stuff. I think canvas refcounting is correct now.
--sg
1998-02-14 15:30:31 +00:00
scott 411e605ebd More refcounting stuff.
--sg
1998-02-14 00:44:47 +00:00
Manish Singh ac30648449 fixes for the g_string -> g_str change in glib
updated gfig

-Yosh
1998-02-13 10:36:15 +00:00
Manish Singh d6a289869a Another iscissors update... beat on it some everyone
Made gtkmultioptionmenu more analogous to the current gtk optionmenu.

-Yosh
1998-02-08 00:43:39 +00:00
scott 024a32cf6f Added glib.h to gimprc.c so it'll compile.
(Please don't commit changes you haven't verified compile.)

--sg
1998-02-06 04:12:52 +00:00
Tim Janik 6ca43f4f81 now gimp quits correctly again!
-timj
1998-02-05 05:41:05 +00:00
Tim Janik 8fd700c869 added some variable initializations.
segfaults appear less spurious now.
-timj
1998-02-05 03:52:22 +00:00
scott 731f5219a3 More refcounting. --sg
More refcounting.
--sg
1998-02-05 00:07:31 +00:00
Manish Singh 0a3253096d In the middle of all this gtk hoopla, iscissors sorta, kinda, almost works
now.

-Yosh
1998-02-04 04:43:33 +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 32a8be45e4 More stuff for gtk refcounting stuff.
--sg
1998-02-03 22:56:55 +00:00
scott fd75df2a47 Changes to deal with new GTK refcounting regime.
--sg
1998-02-03 22:54:35 +00:00
scott 6eee5bd482 Fixed for new GTK refcounting nonsense. (Let's hope they're done
breaking the Gimp...)
1998-02-03 00:39:06 +00:00
Adrian Likins bae5bae79d *plug-ins/ edge.c added a check so it woudlnt segfault when passed a
*plug-ins/ edge.c
                added a check so it woudlnt segfault when
        passed a non-existend drawable

        threshold_alpha  added a non-interactive mode

        *app/brightness_contrast.c
         app/color_balance.c
         app/colormaps.c
         app/curves.c
         app/hue_saturation.c
         app/posterize.c
         app/threshold.c

                -added a check so it wouldnt except
         a indexed drawable. This was previosly possible via the pdb.

-adrian
1998-02-01 01:58:47 +00:00
Manish Singh 88bcda0a20 xpm uses g_strcasecmp now
-Yosh
1998-01-31 09:13:49 +00:00
Federico Mena fe69e5ceb1 Applied patch from Wolfgang Hofer <hof@ws6310.gud.siemens.at> to let the
Fri Jan 30 13:47:57 1998  Federico Mena  <federico@bananoid.nuclecu.unam.mx>

	* app/gradient.c: Applied patch from Wolfgang Hofer
	<hof@ws6310.gud.siemens.at> to let the user load the segment
	endpoint color from the current foreground color.  It also makes
	the preview un-resizable, which is not a complete fix for the
	preview resizing bug.
1998-01-31 01:49:25 +00:00
Manish Singh 4e2056a419 Fixed really silly error during the GSList change in xcf.c
Current (still nonfunctional) iscissors code

-Yosh
1998-01-30 01:24:32 +00:00
Manish Singh 7e4a76203a updated refract and warp plugins changed the INSTALL file to reflect the
* updated refract and warp plugins
* changed the INSTALL file to reflect the fact that gtk is a separate package
* app/text_tool.c: small patch for indexed images and antialiased toggle

-Yosh
1998-01-29 09:09:30 +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
scott a3c4954710 Added safety code for add channel so you can't add a channel twice or
to the wrong image.  (Same thing as I did for layers a few months
ago.)
--sg
1998-01-28 18:20:32 +00:00
Raph Levien 9c15ca2b09 I put a hack into gimage_mask_stroke to work around roundoff errors in
paint_core_subsample_mask, addressing Ben Jackson's Stroked pixel bug.
1998-01-28 06:34:28 +00:00
Manish Singh 626883c2e1 50 is ok for marching ants speed too. :)
-Yosh
1998-01-27 23:54:41 +00:00
Raph Levien b56f9f515f Fixed bug causing incorrect image display when all channels are turned
off.
1998-01-27 18:26:33 +00:00
Manish Singh b798753917 Fixed off by one error in xcf rle saving. Only shows up on some non-Linux
systems.

-Yosh
1998-01-27 08:23:48 +00:00
Manish Singh 3dab9dcc86 More changes for .18. Please see ChangeLog
-Yosh
1998-01-26 03:14:09 +00:00
scott ae49a36f46 Fixed merge bug. --sg
Fixed merge bug.
--sg
1998-01-26 02:33:05 +00:00
scott d2c6ecd2d9 Fixed the bug in duplicate I introduced because I can't tell gimage_ID
from ID. :)
--sg
1998-01-25 22:19:01 +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
Manish Singh 2ce0e15023 Misc changes for .18
* app/indexed_palette.c: fix for wrong color selected in indexed
        palette dialog

        * app/xcf.c: don't crash on bad input (0 byte files)

        * app/plug_in.h
        * app/plug_in.c: fixes Gimp's most obscure bug. Failed plugin
        queries are handle correctly now

        * app/commands.c: added marching ants speed to preferences

        * plug-ins/tiff/tiff.c: correction for inversion for MINISWHITE
        images without alpha

        * plug-ins/pcx/pcx.c: updated to new version

        * app/paint_funcs.h: changed OPAQUE and TRANSPARENT to
        OPAQUE_OPACITY and TRANSPARENT_OPACITY to avoid possible
        conflicts. All affects .c files changed.

-Yosh
1998-01-25 01:24:46 +00:00
scott c3a7b2fed9 Changed resize policy of the init status window so it doesn't
constantly resize itself.
--sg
1998-01-24 20:18:36 +00:00
Manish Singh 6697f79b7f Fixed up to use the gtk SetArg/GetArg stuff
-Yosh
1998-01-22 08:00:37 +00:00
scott c267c55bbe Rewrite to make drawables (layers, channels, layer masks) into GtkObjects.
--sg
1998-01-22 07:02:57 +00:00
Larry Ewing c263b2ff36 added linked.c back into Makfile.am to finish the revert
Wed Jan 21 17:41:58 1998  Larry Ewing  <lewing@isc.tamu.edu>

	* added linked.c back into Makfile.am to finish the revert
1998-01-21 23:43:41 +00:00
Elliot Lee 0479e5dbac revert mistaken gimage patch 1998-01-21 21:38:26 +00:00
Elliot Lee 264c895b7d Sort of revert linked.h changes, seeing as it does not work well :( 1998-01-21 21:36:47 +00:00
Elliot Lee 03752a9264 misc minor performance improvements 1998-01-20 04:51:56 +00:00
Elliot Lee 401e04f469 Nobody said anything, so I'm committing these initstatus changes 1998-01-20 00:12:21 +00:00
Manish Singh ab52da1735 Commit the junk in my tree before I go back to school:
* ltconfig
        * ltmain.sh: downgraded to libtool 1.0f at Jay's suggestion

        * app/gimage.c: Fix for the "merge to alpha" bug from Nathan
        Summers

        * app/text_tool.c: Fix for the font spec bug from Nathan
        Summers

        * plug-ins/maze/maze.c
        * plug-ins/rotate/rotate.c: updated from registry

        * plug-ins/blur/blur.c
        * plug-ins/randomize/randomize.c
        * plug-ins/vpropagate/vpropagate.c
        * plug-ins/warp/warp.c: more portability fixes for DEC OSF1

-Yosh
1998-01-14 05:44:12 +00:00
Manish Singh c871eb39a9 From ChangeLog:
* INSTALL: updated to properly reflect installation procedure

        * app/text_tool.c: Fixed bad string in tool description

        * libgimp/gimppixelrgn.c: tiles aren't marked dirty in
        gimp_pixel_rgn_get_pixel

        * plug-ins/edge/edge.c
        * plug-ins/edge/emboss.c
        * plug-ins/edge/laplace.c
        * plug-ins/edge/sobel.c: DEC OSF1 cannont handle reference to
        array element with a negative arugment with an unsigned int
        (gimp-joke-980108-0)

        * plug-ins/sinus/sinus_logo.h: got rid of really long string

        * plug-ins/refract/Makefile.am
        * plug-ins/refract/refmain.c: fixed megawidget reference

        * plug-ins/xpm/xpm.c: made our own case-insenstive strcmp
        for checking for transperancy

-Yosh
1998-01-09 09:26:28 +00:00
Manish Singh 0b8bdb4dd7 configure really checks for gtk >= 0.99.1 this time
minor fix to the gbr plugin for proper save types
make the install dialog fit nice in 640x480

-Yosh
1998-01-06 22:09:30 +00:00
Manish Singh 3d3d8eac4a fix for indexed images
* app/by_color_select.c: fix for indexed images

        * plug-ins/script-fu/scripts/i26-gunya2.scm: proper registration

        * plug-ins/xpm.c: fix for transparent images

        * Updated to libtool 1.0h

        * libgimp/Makefile.am: removed spurious -rpath

-Yosh
1998-01-06 03:44:53 +00:00
Manish Singh 1e24291db2 Check for div-by-zero in by_color_select.c when threshold is 0
The text tool handles the no fonts case better
Minor bug in tile saving squashed
updated png plugin
added flarefx plugin

-Yosh
1998-01-05 09:30:23 +00:00
Manish Singh a4e97e61f9 Lots o' changes for 0.99.17. See ChangeLog for details.
-Yosh
1998-01-04 00:43:51 +00:00
Eric L. Hernes 0f1c6e81be back out the previous botch
-Eric
1997-12-23 17:10:46 +00:00
scott 12e7bc16c1 Freeing arguments to putenv afterwards is naughty. Fixed. Plug-ins
work now.
--sg
1997-12-18 16:08:33 +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
People doing a 16 bpc version of gimp 92f0e489b6 fix memory leak 1997-12-18 04:19:11 +00:00
scott 75baaf34fe Closed a memory leak in convert.c.
--sg
1997-12-18 02:34:43 +00:00
Manish Singh ac6739cd7c Plugins now get DISPLAY properly set in the env
pcx save fix from Nicholas Lamb
put aclocal.m4 into .cvsignore

-Yosh
1997-12-17 23:28:44 +00:00
Manish Singh a9d80407d6 Fixed the problem when indexed conversion crashes when there are no
palettes

-Yosh
1997-12-17 00:48:55 +00:00
scott e8736da4aa Applied Shuji's xcf load fclose patch. Appears to work.
--sg
1997-12-16 17:26:00 +00:00
People doing a 16 bpc version of gimp e8f7ed532c fix problem where menus_activate_callback() causes tool options dialog to
appear empty by destroying the active tool.
  rayl@netrover.com
1997-12-15 03:18:13 +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
People doing a 16 bpc version of gimp a07e23927d fixed div-by-zero when using custom gradients with offset 100
rayl@netrover.com
1997-12-15 00:21:15 +00:00
Manish Singh 1d11e145a3 proper PDB support for indexed conversion
dithering to custom palettes

-Yosh
1997-12-14 11:36:53 +00:00
Raph Levien 123778f381 A simple patch to make the file sel dialog not always select the first
file in the directory.
1997-12-14 07:54:37 +00:00
Manish Singh da34538894 Added tooltips preferences support
update mkbrush.scm

-Yosh
1997-12-14 07:32:54 +00:00
Manish Singh fc46ada567 app tree cruft
-Yosh
1997-12-12 08:26:43 +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
Raph Levien eddfadd79d I forgot to include <errno.h> in my last patch (for preferences). Sorry! 1997-12-09 22:28:30 +00:00
Raph Levien dd8d523480 Various patches to fix the preferences dialog, both for stability and
for more complete functionality.

I actually posted this patch Nov 4, 1997, but it seemed to get lost in
the CVS confusion, so here it is again. The original patch applied
cleanly, so it should be ok.
1997-12-09 22:09:10 +00:00
Manish Singh 9109dbafd8 Added Nathan Summers and Seth Burgess to the about dialog
Updared CML_explorer plugin
1997-12-09 05:54:04 +00:00
Eric L. Hernes f447cb8efe make the airbrush behave like paintbrush when called non-interactively...
just try to draw a box non-interactively with the airbrush before
this patch...

Eric.
1997-12-09 01:39:08 +00:00
Eric L. Hernes cb728a1890 add <sys/types.h> 1997-12-08 22:39:59 +00:00
Adrian Likins e2092a1ffa updated iwarp to latest verison
added a few names to the about dialog
      applied sven's patch for 32-bit color on gck
      fixed an outdated tip in gimp_tip.txt
1997-12-08 16:50:54 +00:00
Manish Singh 2d442d4842 Added Nathan Summers fix for the about dialog (and put my name in the
credits :) )
Added Michael Natterer's escaped menu accelerator fix
Added Andy Thomas's active_tool NULL check for undo
1997-12-08 10:36:19 +00:00
Manish Singh 4af44db24a Fixed up wilber.h 1997-12-08 06:58:05 +00:00
Manish Singh 7d148f0288 Added Sven's patch for the scale and resize dialogs
Added Raph's patch for the transperancy blur problem
1997-12-08 01:13:10 +00:00
Adrian Likins 5c4442bb14 added a check in channels_dialog.c to mirror the one in layers_dialog.c
made wilber swap sides so the perspective is better.

    added the new wilber from Tigert
1997-12-08 00:24:32 +00:00
Adrian Likins d1b0f22db8 fixed "aspect-ratio" bug, and a workaround for the palette dialog rezing
weirdness
1997-12-06 21:53:02 +00:00
Elliot Lee 3d987d673d bunch of cvsignores added 1997-11-27 21:58:02 +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
Sven Neumann 67facde935 made gimp_help accessible through the PDB
--Sven
1997-01-03 10:28:33 +00:00